Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/web-log-retention/vendor-c0d76f48.ca46420dda60f1b5.js
"use strict";(self.webpackChunkweb_log_retention=self.webpackChunkweb_log_retention||[]).push([[128],{7343:(wt,oe,H)=>{H.d(oe,{o:()=>s});var s=function(k){return k[k.GET=0]="GET",k[k.HEAD=1]="HEAD",k[k.POST=2]="POST",k[k.PUT=3]="PUT",k[k.DELETE=4]="DELETE",k[k.CONNECT=5]="CONNECT",k[k.OPTIONS=6]="OPTIONS",k[k.TRACE=7]="TRACE",k[k.PATCH=8]="PATCH",k}(s||{})},6884:(wt,oe,H)=>{H.d(oe,{uM:()=>We,CY:()=>Fe});var s=H(9261),k=H.n(s),K=H(5972),X=H.n(K),J=H(3705),Z=H.n(J),Y=H(9336),W=H.n(Y),re=H(8124),te=H.n(re),se=H(9812),Me=H.n(se),Te=H(9970),De=H.n(Te);function be(nt){if(k()(nt)||X()(nt)||Z()(nt)||W()(nt)||te()(nt))return!0;if(!De()(nt)&&!Me()(nt))return!1;for(const Ut in nt)if(!be(nt[Ut]))return!1;return!0}class Fe{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Ut,jt,et){if(!Ut)throw new Error("Name must have a non-empty value");return`${Ut}=${encodeURIComponent(jt.toString())}`+(et?"":this.recordSeparator)}}class We{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Ut,jt,et){if(!Ut)throw new Error("Name must have a non-empty value");if(!be(jt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Ut)+":"+JSON.stringify(jt)+(et?"":this.recordSeparator)}}},8391:(wt,oe,H)=>{H.d(oe,{d:()=>k,t:()=>s});var s=function(K){return K[K.Contains=0]="Contains",K[K.Begins=1]="Begins",K[K.Ends=2]="Ends",K[K.Matches=3]="Matches",K[K.Equal=4]="Equal",K[K.NotEqual=5]="NotEqual",K[K.LessThan=6]="LessThan",K[K.LessThanUnlimited=7]="LessThanUnlimited",K[K.GreaterThan=8]="GreaterThan",K[K.GreaterThanUnlimited=9]="GreaterThanUnlimited",K[K.Defined=10]="Defined",K[K.Undefined=11]="Undefined",K}(s||{});class k{constructor(X,J,Z){if(!X)throw new Error("You must define a non-empty column name.");this.column=X,this.operator=J,this.value=Z}}},6153:(wt,oe,H)=>{H.d(oe,{FU:()=>K,UE:()=>s,r3:()=>k});var s=function(X){return X[X.Ascending=0]="Ascending",X[X.Descending=1]="Descending",X}(s||{}),k=function(X){return X[X.Lexicographic=0]="Lexicographic",X[X.Ipv4=1]="Ipv4",X[X.Numeric=2]="Numeric",X[X.NumericZeroAsMax=3]="NumericZeroAsMax",X}(k||{});class K{constructor(J,Z=s.Ascending,Y=k.Lexicographic){if(!J)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=J,this.direction=Z,this.type=Y}}},2312:(wt,oe,H)=>{H.d(oe,{m:()=>bt,R:()=>Vt});var s=H(193),k=H.n(s);function K(Le){return Le?"1":"0"}var Z=H(6153),Y=H(8391);class W{constructor(q,fe){if(!q)throw new Error("You must provide a name when creating a name/value argument");this.name=q,this.value=fe}}const se=Number.POSITIVE_INFINITY;class Me{constructor(q=1,fe=20){if(q<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(fe<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=q,this.pageSize=fe}all(){return this.pageSize===se}}class Te{constructor(q=[]){this.headers=q}push(q){this.headers.push(q)}forEach(q,fe){this.headers.forEach(q,fe)}toArray(){const q=[];return this.headers.forEach(fe=>q.push({name:fe.name,value:fe.value})),q}toObject(){return this.headers.reduce((q,fe)=>(q[fe.name]=fe.value,q),{})}}class De{constructor(q){this._header=q}get name(){return this._header.name}get value(){return this._header.value}}class be extends Error{constructor(q){super(q),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,be.prototype)}}class Ue extends Error{constructor(q){super(q),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Ue.prototype)}}class Fe extends De{constructor(q,fe){if(!q)throw new be("You must pass a valid token to the constructor.");if(!fe&&!/^.+[:]/.test(q))throw new be("You must pass a cPanel username associated with the cPanel API token.");if(!fe&&!/[:].+$/.test(q))throw new be("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${fe?fe+":":""}${q}`})}}Error,Error;class jt{get usePager(){return this._usePager}constructor(q){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new Me,this.headers=new Te,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,q&&(this.method=q.method,q.namespace&&(this.namespace=q.namespace),q.arguments&&q.arguments.forEach(fe=>{this.addArgument(fe)}),q.sorts&&q.sorts.forEach(fe=>{this.addSort(fe)}),q.filters&&q.filters.forEach(fe=>{this.addFilter(fe)}),q.columns&&q.columns.forEach(fe=>this.addColumn(fe)),q.pager&&this.paginate(q.pager),this.config=q.config?q.config:this.defaultConfig,q.headers&&q.headers.forEach(fe=>{this.addHeader(fe)}))}addArgument(q){return this.arguments.push(q instanceof W?q:new W(q.name,q.value)),this}addSort(q){return this.sorts.push(q instanceof Z.FU?q:new Z.FU(q.column,q.direction,q.type)),this}addFilter(q){return this.filters.push(q instanceof Y.d?q:new Y.d(q.column,q.operator,q.value)),this}addColumn(q){return this.columns.push(q),this}addHeader(q){return this.headers.push(q instanceof De?q:new De(q)),this}paginate(q){return this.pager=q instanceof Me?q:new Me(q.page,q.pageSize||20),this._usePager=!0,this}}var et=H(7343);const Jt=new class Et{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[et.o.GET,et.o.DELETE,et.o.HEAD].forEach(q=>{const fe=et.o[q].toString();this.map[fe]={verb:fe,dataInBody:!1}}),[et.o.POST,et.o.PUT,et.o.PATCH].forEach(q=>{const fe=et.o[q].toString();this.map[fe]={verb:fe,dataInBody:!0}})}getRule(q){const fe="string"==typeof q?q:et.o[q].toString();let Re=this.map[fe];return Re||(Re=this.map.DEFAULT),Re}};var pt=H(6884),Mt=H(2354),gt=H.n(Mt),Vt=function(Le){return Le.JsonApi="json-api",Le.XmlApi="xml-api",Le}(Vt||{});class bt extends jt{addHeader(q){if(q instanceof Fe)throw new Ue("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(q),this}_build(q,fe){let Re="";return q.forEach((Ge,Kt,Xt)=>{Re+=fe.encode(Ge.name,Ge.value,Kt===Xt.length-1)}),fe.separatorStart+Re+fe.separatorEnd}_make_whm_api_fieldspec_from_number(q){return gt()("",Math.floor(q/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(q%26)}_generateArguments(q){q.push({name:"api.version",value:1}),this.arguments.forEach(Re=>q.push(Re))}_generateSorts(q){this.sorts.forEach((fe,Re)=>{0===Re&&q.push({name:"api.sort.enable",value:K(!0)});const Ge=`api.sort.${this._make_whm_api_fieldspec_from_number(Re)}`;q.push({name:`${Ge}.field`,value:fe.column}),q.push({name:`${Ge}.reverse`,value:K(fe.direction!==Z.UE.Ascending)}),q.push({name:`${Ge}.method`,value:k()(Z.r3[fe.type])})})}_lookupFilterOperator(q){switch(q){case Y.t.GreaterThanUnlimited:return"gt_handle_unlimited";case Y.t.GreaterThan:return"gt";case Y.t.LessThanUnlimited:return"lt_handle_unlimited";case Y.t.LessThan:return"lt";case Y.t.Equal:return"eq";case Y.t.Begins:return"begins";case Y.t.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${Y.t[q]} for WHM API 1`)}}_generateFilters(q){this.filters.forEach((fe,Re)=>{0===Re&&(q.push({name:"api.filter.enable",value:K(!0)}),q.push({name:"api.filter.verbose",value:K(!0)}));const Ge=`api.filter.${this._make_whm_api_fieldspec_from_number(Re)}`;q.push({name:`${Ge}.field`,value:fe.column}),q.push({name:`${Ge}.type`,value:this._lookupFilterOperator(fe.operator)}),q.push({name:`${Ge}.arg0`,value:fe.value})})}_translatePageToStart(q){return(q.page-1)*q.pageSize+1}_generatePagination(q){if(!this.usePager)return;const fe=this.pager.all();q.push({name:"api.chunk.enable",value:K(!0)}),q.push({name:"api.chunk.verbose",value:K(!0)}),q.push({name:"api.chunk.start",value:fe?-1:this._translatePageToStart(this.pager)}),fe||q.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(q,fe){if(super(fe),this.apiType=Vt.JsonApi,q!=Vt.JsonApi&&q!=Vt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=q,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(q){q||(q={verb:et.o.POST,encoder:this.config.json?new pt.uM:new pt.CY}),q.encoder||(q.encoder=this.config.json?new pt.uM:new pt.CY);const fe=Jt.getRule(q.verb),Re={headers:new Te([{name:"Content-Type",value:q.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Ge=[];this._generateArguments(Ge),this._generateSorts(Ge),this._generateFilters(Ge),this._generatePagination(Ge);const Kt=this._build(Ge,q.encoder);return fe.dataInBody?Re.body=Kt:Re.url+=q.verb===et.o.GET?`?${Kt}`:Kt,this.headers.forEach(Xt=>{Re.headers.push({name:Xt.name,value:Xt.value})}),Re}}},6381:(wt,oe,H)=>{oe.h=void 0;const k=H(2623);Object.defineProperty(oe,"h",{enumerable:!0,get:function(){return k.Locale}})},7268:(wt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.CLDR=void 0,oe.CLDR=class H{constructor(k){this.rawData=k,this.validateCLDR(this.rawData)}validateCLDR(k){if(!k)throw new Error("CLDR data cannot be null");if(!k.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(k,"functions")||Object.prototype.hasOwnProperty.call(k,"get_plural_form")||"function"!=typeof k.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(k,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(k,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(k.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(k.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(k.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(k.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(k,...K){return(0,this.rawData.functions.get_plural_form)(k,...K)}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:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.Locale=void 0;const s=H(7367),k=H(5736),K=H(8994),X=H(3365),J=H(7268);oe.Locale=class Z{constructor(W,re={}){this.lexicon=re,this._cldr=new J.CLDR(W)}maketext(W,...re){return(0,s.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:W,args:re})}localDatetime(W,re){return this._datetimeWrapper(k.local_datetime,W,re)}datetime(W,re){return this._datetimeWrapper(k.datetime,W,re)}_datetimeWrapper(W,re,te){return W({cldr:this._cldr,args:[re,te]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(W,re){return this._formatNumber(K.numf,W,re)}format_bytes(W,re){return this._formatNumber(K.format_bytes,W,re)}_formatNumber(W,...re){return this._callCLDRFunc(W,re)}list_and(...W){return this._callCLDRFunc(X.list_and,W)}list_and_quoted(...W){return this._callCLDRFunc(X.list_and_quoted,W)}list_or(...W){return this._callCLDRFunc(X.list_or,W)}list_or_quoted(...W){return this._callCLDRFunc(X.list_or_quoted,W)}_callCLDRFunc(W,re){return W({cldr:this._cldr,args:re})}}},6049:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.asis=void 0;const s=H(2500);oe.asis=function k({args:[K,...X]}){if(!K||X.length>0||"string"!=typeof K)throw new Error("asis function accepts one non translatable string.");return(K=K.replace(/chr\((\d+)\)/g,function(J,Z){return s.functions.chr(Number(Z))})).replace(/amp\(\)/g,function(){return s.functions.amp()})}},6073:(wt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.boolean=void 0,oe.boolean=function H({args:[s,k,K,X]}){if(null==k||0===k.length||null==K||0===K.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof s<"u"&&s?k:X&&null==s?X:K)}},5496:(wt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.comment=void 0,oe.comment=function H({args:[s]}){return""}},5736:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.local_datetime=oe.datetime=oe.dateToLocalDayNum=void 0;const s=H(7268),k=function(te){const se=te.getUTCDay()-1;return se<0?6:se},K=[7,1,2,3,4,5,6];function X(te,se){return(K[te.getUTCDay()]+7-se)%7+1}oe.dateToLocalDayNum=X;const J=function(te,se,Me){let Te="",De=0;return se=se||0,Me=String(void 0===Me?" ":Me),De=se-String(te).length,De>0&&(Te=[...Array(De)].map(String.prototype.valueOf,Me).join("")),Te+te};function Z({cldr:te,args:[se=new Date,Me],tzString:Te="UTC"}){if("number"==typeof se&&/^-?\d+$/.test(se.toString())&&(se=new Date(1e3*se)),!(se instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(te instanceof s.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const De=te.getDateTimeInfo();return"string"==typeof Me&&/^(?:date|time|datetime|special)_format_/.test(Me)&&(Me=De[Me]),Me||(Me=De.date_format_long),Me.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(be,Ue,Fe){return Ue?function Y(te){return te.substr(1,te.length-2)}(Ue):function W(te,se,Me,Te){switch(Me){case"yy":return Math.abs(te.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(te.getUTCFullYear()));case"MMMMM":return se.month_format_narrow[te.getUTCMonth()];case"LLLLL":return se.month_stand_alone_narrow[te.getUTCMonth()];case"MMMM":return se.month_format_wide[te.getUTCMonth()];case"LLLL":return se.month_stand_alone_wide[te.getUTCMonth()];case"MMM":return se.month_format_abbreviated[te.getUTCMonth()];case"LLL":return se.month_stand_alone_abbreviated[te.getUTCMonth()];case"MM":case"LL":return J((te.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(te.getUTCMonth()+1);case"EEEE":return se.day_format_wide[k(te)];case"EEE":case"EE":case"E":return se.day_format_abbreviated[k(te)];case"EEEEE":return se.day_format_narrow[k(te)];case"cccc":return se.day_stand_alone_wide[k(te)];case"ccc":return se.day_stand_alone_abbreviated[k(te)];case"cc":case"c":return String(X(te,Number(se.first_day_of_week)));case"ccccc":return se.day_stand_alone_narrow[k(te)];case"dd":return J(te.getUTCDate().toString(),2,"0");case"d":return String(te.getUTCDate());case"h":case"hh":{let De=te.getUTCHours();De>12&&(De-=12),0===De&&(De=12);const be="hh"===Me?J(De.toString(),2,"0"):De;return String(be)}case"H":return String(te.getUTCHours());case"HH":return J(te.getUTCHours().toString(),2,"0");case"m":return String(te.getUTCMinutes());case"mm":return J(te.getUTCMinutes().toString(),2,"0");case"s":return String(te.getUTCSeconds());case"ss":return J(te.getUTCSeconds().toString(),2,"0");case"a":return te.getUTCHours()<12?se.am_pm_abbreviated[0]:se.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Te;case"G":case"GG":case"GGG":return se.era_abbreviated[te.getUTCFullYear()<0?0:1];case"GGGGG":return se.era_narrow[te.getUTCFullYear()<0?0:1];case"GGGG":return se.era_wide[te.getUTCFullYear()<0?0:1]}return Me}(se,De,Fe,Te)})}oe.datetime=Z,oe.local_datetime=function re({cldr:te,args:[se=new Date,Me]}){if("number"==typeof se&&/^-?\d+$/.test(se.toString())&&(se=new Date(1e3*se)),!(se instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(te instanceof s.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Te=se.getTimezoneOffset();(se=new Date(se)).setMinutes(se.getMinutes()-Te);const De=Te>0?"-":"+",be=Math.floor(Math.abs(Te)/60),Ue=Math.abs(Te%60);return Z({cldr:te,args:[se,Me],tzString:"GMT"+De+J(be.toString(),2,"0")+J(Ue.toString(),2,"0")})}},6397:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.functions=void 0;const s=H(6049),k=H(2500),K=H(5496),X=H(6073),J=H(8994),Z=H(5736),Y=H(3365);oe.functions={asis:s.asis,output:k.output,comment:K.comment,boolean:X.boolean,numf:J.numf,numerate:J.numerate,quant:J.quant,format_bytes:J.format_bytes,datetime:Z.datetime,local_datetime:Z.local_datetime,list_and:Y.list_and,list_or:Y.list_or,list_or_quoted:Y.list_or_quoted,list_and_quoted:Y.list_and_quoted}},3365:(wt,oe)=>{function s(Y,W,...re){let te=re.slice();switch(1===te.length&&Array.isArray(te[0])&&(te=te[0].slice()),(typeof te>"u"||0===te.length)&&(te=[""]),te=te.map(se=>function H(Y,W){const re=Y.getDelimiters();return re&&Object.prototype.hasOwnProperty.call(re,"quotation_start")&&Object.prototype.hasOwnProperty.call(re,"quotation_end")?re.quotation_start+W+re.quotation_end:W}(Y,se)),W){case"list_and":return J({cldr:Y,args:te});case"list_or":return Z({cldr:Y,args:te});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function X(Y,W,...re){let te=re.slice();1===te.length&&Array.isArray(te[0])&&(te=te[0].slice());const se=te.length;let Me,Te,De,be;try{Me=Y.getFormats()[W]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Ue=function(Fe,We){switch(We){case"0":return De;case"1":return te[be++]}};switch(se){case 0:return"";case 1:return String(te[0]);default:if(De=2===se?Me[2]:Me.start,De=De.replace(/\{([01])\}/g,function(Fe,We){return te[We]}),2===se)return De;for(be=2;be<se;)Te=Me[be===se-1?"end":"middle"],De=Te.replace(/\{([01])\}/g,Ue);return De}}function J({cldr:Y,args:[...W]}){return X(Y,"list",...W)}function Z({cldr:Y,args:[...W]}){return X(Y,"list_or",...W)}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 k({cldr:Y,args:[...W]}){return s(Y,"list_and",...W)},oe.list_or_quoted=function K({cldr:Y,args:[...W]}){return s(Y,"list_or",...W)},oe.list_and=J,oe.list_or=Z},2500:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.functions=oe.output=void 0;const s=H(9546),k=H(2353);oe.output=function K({args:[X,...J]}){if(J&&"string"==typeof J[0]&&(J[0]=J[0].replace(/chr\((\d+)\)/g,function(Z,Y){return oe.functions.chr(Number(Y))}),J[0]=J[0].replace(/amp\(\)/g,function(){return oe.functions.amp()})),"function"==typeof oe.functions[X])return oe.functions[X](...J);throw new Error(`Locale output function '${X}' is not implemented.`)},oe.functions={amp:()=>(0,s.htmlEscape)("&"),apos:()=>(0,s.htmlEscape)("'"),quot:()=>(0,s.htmlEscape)('"'),underline:X=>`<u>${X}</u>`,strong:X=>`<strong>${X}</strong>`,em:X=>`<em>${X}</em>`,abbr:(X,J)=>`<abbr title="${J}">${X}</abbr>`,acronym:(X,J)=>`<abbr title="${J}" class="initialism">${X}</abbr>`,class:(X,...J)=>`<span class="${J.join(" ")}">${X}</span>`,chr(X){if("string"==typeof X&&(X=Number(X)),"number"!=typeof X||isNaN(X))throw new Error("chr needs a number as argument");return(0,s.htmlEscape)(String.fromCharCode(X))},url(X,...J){let Z,Y;if("object"==typeof J[J.length-1])if(Z=J[J.length-1],2===J.length){if(Z.html)throw new Error("Cannot provide both text and configuration with html attribute");Y=J[0]}else Z&&Z.html?(Y=Z.html,delete Z.html):Y=X;else J.length%2==0?(Z=(0,k.listToObject)(...J),Z&&"html"in Z&&""!==Z.html?(Y=Z.html,delete Z.html):Y=X):(Y=J.shift(),Z=(0,k.listToObject)(...J));"_type"in Z&&"offsite"===Z._type&&(Z.class="offsite",Z.target="_blank",delete Z._type);let W=`<a href="${X}"`;if("object"==typeof Z)for(const re in Z)Object.prototype.hasOwnProperty.call(Z,re)&&(W+=` ${re}="${Z[re]}"`);return W+=`>${Y}</a>`,W}}},8994:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.format_bytes=oe.numf=oe.quant=oe.numerate=void 0;const s=H(7268);function K({cldr:Y,args:[W,...re]}){if(!(Y instanceof s.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let te,se=3;W instanceof Array?(se=W[1],te=W[0]):te=W;const Me=Y.getPluralForm(te,...re),Te=Me[0]?Me[0]:re[re.length-1];if(Me&&Me.length>=2&&Me[1])return Te;const be=J({cldr:Y,args:[te,se]});return-1!==Te.indexOf("%s")?Te.replace(/%s/g,be):Y.isRtl()?Te+" "+be:be+" "+Te}function J({cldr:Y,args:[W,re=6]}){if(!(Y instanceof s.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(W.toString()))return String(W);const{decimalFormat:te,decimalGroup:se,decimalDecimal:Me}=function X(Y){const W={},re=Y.getFormats();return Object.prototype.hasOwnProperty.call(re,"decimal")&&(W.decimalFormat=re.decimal),Object.prototype.hasOwnProperty.call(re,"_decimal_format_group")&&(W.decimalGroup=re._decimal_format_group),Object.prototype.hasOwnProperty.call(re,"_decimal_format_decimal")&&(W.decimalDecimal=re._decimal_format_decimal),W}(Y);if(!te||!se||!Me)throw new Error("CLDR Data is missing information related to formatting decimals.");const Te=W<0;W=Math.abs(W);let be,Ue,De=Math.floor(W);/(?!')\.(?!')/.test(W.toString())&&(be=String(W).replace(/^[^.]+/,"0"),be=Number(be).toFixed(re),/^1/.test(be)?(De++,W=De,be=void 0):be=be.replace(/^.*\./,"").replace(/0+$/,"")),Ue=/(?!');(?!')/.test(te)?te.split(/(?!');(?!')/)[Te?1:0]:(Te?"-":"")+te;const nt=Ue.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Ut;1===nt.length?Ut="":(nt.pop(),Ut=se);const jt=String(De).split("").reverse(),et=[];let Et;const Jt=function(Mt){switch(Mt){case"#":return jt.shift()||"";case"0":return jt.shift()||"0"}};for(;jt.length;){nt.length&&(Et=nt.shift());const Mt=Et.replace(/(?!')[0#]|[0#](?!')/g,Jt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");et.push(Mt)}const pt=et.join(Ut).split("").reverse().join("")+(be?Me+be:"");return Ue.replace(/[0#].*[0#]/,pt)}oe.numerate=function k({cldr:Y,args:[W,...re]}){if(!(Y instanceof s.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const te=Y.getPluralForm(W,...re);return te?te[0]:re[re.length-1]},oe.quant=K,oe.numf=J,oe.format_bytes=function Z({cldr:Y,args:[W,re=2]}){if(!(Y instanceof s.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const te=["KB","MB","GB","TB","PB","EB","ZB","YB"],Me=W&&Math.min(Math.floor(Math.log(W)/Math.log(1024)),te.length);return Me?J({cldr:Y,args:[W/Math.pow(1024,Me),re]})+"\xa0"+te[Me-1]:K({cldr:Y,args:[W,"%s\xa0byte","%s\xa0bytes"]})}},7367:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.maketext=oe.functions=oe.config=void 0;const s=H(6397);function J(Z,Y){const W=[];let re=!1,te=!1;return Z.forEach(se=>{if("_"===se.charAt(0))if("_*"===se){if(te)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";W.push(...Y),re=!0}else{const Me=se.match(oe.config.underscoreDigitRe);if(Me){if(re)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Te,De]=Me,be=Number(De)-1;if(!(be in Y))throw`The "${Te}" substitution argument was not passed to the maketext function.`;W.push(Y[be]),te=!0}}else W.push(se)}),W}oe.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},oe.functions={...s.functions},oe.maketext=function K({cldr:Z,lexicon:Y,template:W,args:re}){if("string"!=typeof W)throw"You must pass a string template to the maketext function.";if(-1===(W=Y&&Y[W]||W).indexOf("["))return W;const te=W.match(oe.config.bracketRe)||[],se=[];let Me=!1,Te="";if(te.forEach(De=>{if("["===De){if(Me)throw Error(`Invalid maketext string: ${W} \nThe string contains nested brackets.`);Me=!0}else if("]"===De){if(!Me)throw Error(`Invalid maketext string: ${W} \nThe string contains an unmatched closing bracket character (]).`);if(!Te)throw Error(`Invalid maketext string: ${W} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let be;Me=!1;try{be=function X(Z,Y,W){let re=Y.split(",");if(re=re.map(Me=>Me.replace(oe.config.fauxCommaRe,",")),1===re.length){if(!oe.config.underscoreDigitRe.test(re[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Me]=J(re,W);return String(Me)}const te=re.shift();if(!te||"function"!=typeof oe.functions[te])throw`Invalid function "${te}" in maketext string.`;const se=J(re,W);return oe.functions[te]({cldr:Z,args:se})}(Z,Te,re)}catch(Ue){throw Error(`Invalid maketext string: ${W} \n${Ue}`)}Te="",se.push(be)}else if("~"===De.charAt(0)){const be=De.charAt(1)||"~";Me?Te+=","===be?oe.config.fauxComma:be:oe.config.tildeChars.has(be)?se.push(be):se.push(De)}else Me?Te+=De:se.push(De)}),Me)throw Error(`Invalid maketext string: ${W} \nThe string contains an unmatched opening bracket character ([).`);return se.join("")}},9546:(wt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.htmlEscape=oe.entityMap=void 0,oe.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},oe.htmlEscape=function H(s){return String(s).replace(/[&<>"'\/]/g,k=>oe.entityMap[k])}},2353:(wt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.listToObject=void 0,oe.listToObject=function k(...K){let X={};return function H(K){if(K.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let J=0,Z=K.length;J<Z;J+=2){const Y=K[J];if("string"!=typeof Y||""===Y)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(K)&&(X=function s(K){const X=K.length,J={};let Y,W,Z=0;for(;Z<X;)Y=K[Z],W=K[++Z],J[Y]=W,Z++;return J}(K)),X}},7773:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.commonValidators=void 0;const s=H(5839);oe.commonValidators=new class k extends s.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(X){const J=X||this.locale.maketext("This field is required.");return Z=>{let Y={},W=Z.value;return W&&(W=W.toString()),W&&W.length?null:(Y=this.addError(Y,"required",J),Y)}}requiredTrue(X){const J=X||this.locale.maketext("This control's value should be true.");return Z=>{let Y={};return!0!==Z.value?(Y=this.addError(Y,"requiredTrue",J),Y):null}}startsWithLetter(X){return J=>{let Z={};return J.value&&!this.STARTS_WITH_LETTER.test(J.value)?(Z=this.addError(Z,"doesNotStartWithLetter",X),Z):null}}containsSpaces(X){return J=>{let Z={};return J.value&&!this.CONTAINS_SPACES.test(J.value)?(Z=this.addError(Z,"containsSpace",X),Z):null}}minLength(X,J){return Z=>{let Y={};return Z.value&&Z.value.length<J?(Y=this.addError(Y,"minLength",X),Y):null}}maxLength(X,J){return Z=>{let Y={};return Z.value&&Z.value.length>J?(Y=this.addError(Y,"maxLength",X),Y):null}}min(X,J){return Z=>{let Y={};return Z.value&&Z.value<J?(Y=this.addError(Y,"min",X),Y):null}}max(X,J){return Z=>{let Y={};return Z.value&&Z.value>J?(Y=this.addError(Y,"max",X),Y):null}}}},4304:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.cPUserNoteValidators=void 0;const s=H(5839),k=H(2185),X=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;oe.cPUserNoteValidators=new class J extends s.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(Y=250,W=""){return re=>{let te=k.stringValidators.validUnicode()(re);if(!te){const se=this.locale.maketext("This note is too long.");te=k.stringValidators.maxCharacterLength(se)(Y,re)}if(!te){const se=re.match(X);if(se){te={};const Me=se.index,Te=se[0].codePointAt(0);this.addError(te,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",Te,1+Me))}}return te}}}},3046:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.cpanelUsernameValidators=void 0;const s=H(5839);oe.cpanelUsernameValidators=new class k extends s.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(X){const J=X||this.locale.maketext("This is not a valid username.");return Z=>{let Y={};return Z.value&&!this.VALID_USERNAME.test(Z.value)?(Y=this.addError(Y,"invalidUsername",J),Y):null}}}},3481:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.databaseValidators=void 0;const s=H(5839),k=H(3322);oe.databaseValidators=new class K extends s.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName(J,Z,Y){return W=>J===k.DatabaseType.MySQL?(this._dbPrefix=Z||"",this.validateMySQLDatabaseName(W.value,Y||"")):null}validateMySQLDatabaseName(J,Z){const Y=this._performMySqlDatabaseNameValidation(J,Z);let W={};return Y?(W=this.addError(W,"databaseName",Y),W):null}_performMySqlDatabaseNameValidation(J,Z){let Y=null;return Y=this._verifyNameLengthLimit(J),null!==Y||(Y=this._verifyDatabaseNameIgnoreLength(J),null!==Y)||(Y=this._verifyDatabaseName(J,Z)),Y}_verifyNameLengthLimit(J){let Z=null,Y=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(Y-=this._dbPrefix.length+1);const W=unescape(encodeURIComponent(J)).length-Y;return W>0&&(Z={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",W,Y)}),Z}_verifyDatabaseNameIgnoreLength(J){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(J)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(J)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName(J,Z){if(null!==J&&J.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const Y=this._verifySpecialWildcardsInDatabaseNames(J);return null!==Y?Y:Z&&this._convertVersionStringToNumber(Z)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(J)?{message:this.locale.maketext("This system\u2019s [asis,MySQL] version ([_1]) prohibits the character \u201c[_2]\u201d in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",Z,".")}:null}_convertVersionStringToNumber(J){return J.match(/mariadb/i)&&(J=J.replace(/^[^-]+-/,"")),parseInt(J.replace(/-.*/,"").split(/\./).map(function(Z){return Z.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(J){if(null===J)return null;const Z=J.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let Y=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(Y-=this._dbPrefix.length+1);const W=Z-Y;return W>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],Y,Z,W)}:null}}},9044:function(wt,oe,H){var s=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(oe,"__esModule",{value:!0}),oe.domainValidators=void 0;const k=H(2706),K=s(H(9660)),X=s(H(9488)),J=H(5839);oe.domainValidators=new class Z extends J.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(W){const re=[],te=K.default.ucs2.decode(W);for(let se=0;se<te.length;se++)te[se]>this.UNICODE_ASCII_CUTOFF&&re.push(K.default.ucs2.encode([te[se]]));return(0,X.default)(re)}_validateLabelBasics(){return W=>{let re={};if(W.value&&0!==W.value.length){if(W.value.length>this.MAX_LABEL_BYTES)re=this.addError(re,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===W.value[0])re=this.addError(re,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===W.value[W.value.length-1])re=this.addError(re,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(K.default.toASCII(W.value).length>this.MAX_LABEL_BYTES){const te=this._getNonASCII(W.value);re=this.addError(re,"length",this.locale.maketext("The label\u2019s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,te[0]))}}else re=this.addError(re,"length",this.locale.maketext("A label must not be empty."));return re}}validDomainLength(){return W=>{let re={};if(W.value.length>this.MAX_DOMAIN_BYTES)return re=this.addError(re,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),re;if(K.default.toASCII(W.value).length>this.MAX_DOMAIN_BYTES){const se=this._getNonASCII(W.value);return re=this.addError(re,"length",this.locale.maketext("The domain name\u2019s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,se[0])),re}return null}}validateLabel(){return W=>(0,k.runValidationGroup)(W,[this._validateLabelBasics(),re=>{let te={};return this.NONINITIAL_LABEL_REGEX.test(re.value)||(te=this.addError(te,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),te}])}validateTLD(){return W=>{let re={};return!this.VALID_TLD_REGEX.test(W.value)&&!this.VALID_IDN_TLD_REGEX.test(W.value)&&(re=this.addError(re,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),re}}fqdn(){return W=>{const re=W.value.split("."),te=re[re.length-1],se=re[0],Me=W.value,Te=[()=>{let De={};const be=this.IPv4_REGEX.test(Me),Ue=this.IPv6_REGEX.test(Me);return be||Ue?De=this.addError(De,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):re.length<2?De=this.addError(De,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:se}),this.validateTLD().bind(this,{value:"."+te})];return re.forEach(De=>{Te.push(this.validateLabel().bind(this,{value:De}))}),(0,k.runValidationGroup)(W,Te)}}fqdnOrIP(){return W=>{const re=(0,k.runValidationGroup)(W,[this.anyIP()]),te=W.value.split("."),se=te[te.length-1],Me=te[0],Te=[be=>{let Ue={};return te.length<2&&(Ue=this.addError(Ue,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Ue},this.validDomainLength(),this.validateLabel().bind(this,{value:Me}),this.validateTLD().bind(this,{value:"."+se})];te.forEach(be=>{Te.push(this.validateLabel().bind(this,{value:be}))});const De=(0,k.runValidationGroup)(W,Te);return re&&De?{...re,...De}:null}}ipv4(){return W=>{let re={};return W.value&&!this.IPv4_REGEX.test(W.value)?(re=this.addError(re,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),re):null}}ipv6(){return W=>{let re={};return W.value&&!this.IPv6_REGEX.test(W.value)?(re=this.addError(re,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),re):null}}anyIP(){return W=>{let re={};return!W.value||this.IPv4_REGEX.test(W.value)||this.IPv6_REGEX.test(W.value)?null:(re=this.addError(re,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),re)}}}},9978:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.emailValidators=void 0;const s=H(5839);oe.emailValidators=new class k extends s.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(X){const J=X||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return Z=>{let Y={};return Z.value&&!this.VALID_EMAIL.test(Z.value)?(Y=this.addError(Y,"invalidEmail",J),Y):null}}}},7324:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.equalityValidators=void 0;const s=H(5839);oe.equalityValidators=new class k extends s.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(X,J,Z){return Y=>{const W=Y.get(J).value;let te={};return W===Y.get(Z).value&&""!==W?(te=this.addError(te,"equalFields",X),te):null}}}},7410:(wt,oe,H)=>{H(7773),H(9044),H(5839),H(3481),H(3322),H(3046),H(9978),H(7324),H(4304),H(2185)},5839:(wt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.BaseValidator=void 0;let H,s=!0;oe.BaseValidator=class K{constructor(){this.prefix="",H={maketext:J=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(J){H=J}get locale(){return H}_buildKey(J){return s?`cpanel.${this.prefix}.${J}`:J}static disablePrefixing(){s=!1}static enablePrefixing(){s=!0}addError(J={},Z,Y){return"string"==typeof Y&&(Y={message:Y}),J[this._buildKey(Z)]=Y,J}}},3322:(wt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.DatabaseType=void 0;var H=function(s){return s.MySQL="MySQL",s.PostgreSQL="PostgreSQL",s}(H||(oe.DatabaseType=H={}))},7945:(wt,oe)=>{function K(J){return"0x"+J.toString(16)}Object.defineProperty(oe,"__esModule",{value:!0}),oe.characterLength=void 0,oe.characterLength=function X(J,Z){let Y=0;for(let W=0;W<J.length;W++){Y++;const re=J.charCodeAt(W);if(55296==(64512&re)){if(W++,W===J.length)throw new Error(Z.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",K(re)));const te=J.charCodeAt(W);if(56320!=(64512&te))throw new Error(Z.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[re,te].map(K),W))}}return Y}},2706:function(wt,oe,H){var s=this&&this.__importDefault||function(X){return X&&X.__esModule?X:{default:X}};Object.defineProperty(oe,"__esModule",{value:!0}),oe.runValidationGroup=void 0;const k=s(H(1281));oe.runValidationGroup=function K(X,J){const Z={};return J.forEach(Y=>{(0,k.default)(Z,Y(X))}),Object.keys(Z).length?Z:null}},2185:(wt,oe,H)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.stringValidators=void 0;const s=H(5839),k=H(7945);oe.stringValidators=new class X extends s.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return Z=>{try{(0,k.characterLength)(Z,this.locale)}catch(Y){const W={};return Y instanceof Error&&this.addError(W,"unicode",Y.message),W}return null}}maxCharacterLength(Z){return(Y,W)=>{if((0,k.characterLength)(W,this.locale)>Y){const te={};return this.addError(te,"length",Z),te}return null}}maxUTF8Length(Z){return(Y,W)=>{if(function K(J){return unescape(encodeURIComponent(J)).length}(W)>Y){const re={};return this.addError(re,"length",Z),re}return null}}}},177:(wt,oe,H)=>{H.d(oe,{AJ:()=>To,MD:()=>Or,N0:()=>Ea,QT:()=>K,Sm:()=>Ue,Sq:()=>$,T3:()=>$e,UE:()=>xo,VF:()=>J,Vy:()=>ms,Xr:()=>qo,YU:()=>to,ZD:()=>X,_b:()=>eo,aZ:()=>We,bT:()=>ye,fw:()=>Fe,hb:()=>De,hj:()=>re,kB:()=>be,qQ:()=>Y});var s=H(3953);let k=null;function K(){return k}function X(f){k??=f}class J{}const Y=new s.nKC("");let W=(()=>{class f{historyGo(v){throw new Error("")}static#e=this.\u0275fac=function(E){return new(E||f)};static#t=this.\u0275prov=s.jDH({token:f,factory:()=>(0,s.WQX)(te),providedIn:"platform"})}return f})();const re=new s.nKC("");let te=(()=>{class f extends W{constructor(){super(),this._doc=(0,s.WQX)(Y),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return K().getBaseHref(this._doc)}onPopState(v){const E=K().getGlobalEventTarget(this._doc,"window");return E.addEventListener("popstate",v,!1),()=>E.removeEventListener("popstate",v)}onHashChange(v){const E=K().getGlobalEventTarget(this._doc,"window");return E.addEventListener("hashchange",v,!1),()=>E.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,E,F){this._history.pushState(v,E,F)}replaceState(v,E,F){this._history.replaceState(v,E,F)}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}static#e=this.\u0275fac=function(E){return new(E||f)};static#t=this.\u0275prov=s.jDH({token:f,factory:()=>new f,providedIn:"platform"})}return f})();function se(f,S){if(0==f.length)return S;if(0==S.length)return f;let v=0;return f.endsWith("/")&&v++,S.startsWith("/")&&v++,2==v?f+S.substring(1):1==v?f+S:f+"/"+S}function Me(f){const S=f.match(/#|\?|$/),v=S&&S.index||f.length;return f.slice(0,v-("/"===f[v-1]?1:0))+f.slice(v)}function Te(f){return f&&"?"!==f[0]?"?"+f:f}let De=(()=>{class f{historyGo(v){throw new Error("")}static#e=this.\u0275fac=function(E){return new(E||f)};static#t=this.\u0275prov=s.jDH({token:f,factory:()=>(0,s.WQX)(Ue),providedIn:"root"})}return f})();const be=new s.nKC("");let Ue=(()=>{class f extends De{constructor(v,E){super(),this._platformLocation=v,this._removeListenerFns=[],this._baseHref=E??this._platformLocation.getBaseHrefFromDOM()??(0,s.WQX)(Y).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 se(this._baseHref,v)}path(v=!1){const E=this._platformLocation.pathname+Te(this._platformLocation.search),F=this._platformLocation.hash;return F&&v?`${E}${F}`:E}pushState(v,E,F,le){const we=this.prepareExternalUrl(F+Te(le));this._platformLocation.pushState(v,E,we)}replaceState(v,E,F,le){const we=this.prepareExternalUrl(F+Te(le));this._platformLocation.replaceState(v,E,we)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.\u0275fac=function(E){return new(E||f)(s.KVO(W),s.KVO(be,8))};static#t=this.\u0275prov=s.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),Fe=(()=>{class f extends De{constructor(v,E){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=E&&(this._baseHref=E)}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 E=this._platformLocation.hash??"#";return E.length>0?E.substring(1):E}prepareExternalUrl(v){const E=se(this._baseHref,v);return E.length>0?"#"+E:E}pushState(v,E,F,le){let we=this.prepareExternalUrl(F+Te(le));0==we.length&&(we=this._platformLocation.pathname),this._platformLocation.pushState(v,E,we)}replaceState(v,E,F,le){let we=this.prepareExternalUrl(F+Te(le));0==we.length&&(we=this._platformLocation.pathname),this._platformLocation.replaceState(v,E,we)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.\u0275fac=function(E){return new(E||f)(s.KVO(W),s.KVO(be,8))};static#t=this.\u0275prov=s.jDH({token:f,factory:f.\u0275fac})}return f})(),We=(()=>{class f{constructor(v){this._subject=new s.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=v;const E=this._locationStrategy.getBaseHref();this._basePath=function et(f){if(new RegExp("^(https?:)?//").test(f)){const[,v]=f.split(/\/\/[^\/]+/);return v}return f}(Me(jt(E))),this._locationStrategy.onPopState(F=>{this._subject.emit({url:this.path(!0),pop:!0,state:F.state,type:F.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(v=!1){return this.normalize(this._locationStrategy.path(v))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(v,E=""){return this.path()==this.normalize(v+Te(E))}normalize(v){return f.stripTrailingSlash(function Ut(f,S){if(!f||!S.startsWith(f))return S;const v=S.substring(f.length);return""===v||["/",";","?","#"].includes(v[0])?v:S}(this._basePath,jt(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._locationStrategy.prepareExternalUrl(v)}go(v,E="",F=null){this._locationStrategy.pushState(F,"",v,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Te(E)),F)}replaceState(v,E="",F=null){this._locationStrategy.replaceState(F,"",v,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Te(E)),F)}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(E=>{this._notifyUrlChangeListeners(E.url,E.state)}),()=>{const E=this._urlChangeListeners.indexOf(v);this._urlChangeListeners.splice(E,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(v="",E){this._urlChangeListeners.forEach(F=>F(v,E))}subscribe(v,E,F){return this._subject.subscribe({next:v,error:E,complete:F})}static#e=this.normalizeQueryParams=Te;static#t=this.joinWithSlash=se;static#n=this.stripTrailingSlash=Me;static#i=this.\u0275fac=function(E){return new(E||f)(s.KVO(De))};static#o=this.\u0275prov=s.jDH({token:f,factory:()=>function nt(){return new We((0,s.KVO)(De))}(),providedIn:"root"})}return f})();function jt(f){return f.replace(/\/index.html$/,"")}function eo(f,S){S=encodeURIComponent(S);for(const v of f.split(";")){const E=v.indexOf("="),[F,le]=-1==E?[v,""]:[v.slice(0,E),v.slice(E+1)];if(F.trim()===S)return decodeURIComponent(le)}return null}const lt=/\s+/,sn=[];let to=(()=>{class f{constructor(v,E){this._ngEl=v,this._renderer=E,this.initialClasses=sn,this.stateMap=new Map}set klass(v){this.initialClasses=null!=v?v.trim().split(lt):sn}set ngClass(v){this.rawClass="string"==typeof v?v.trim().split(lt):v}ngDoCheck(){for(const E of this.initialClasses)this._updateState(E,!0);const v=this.rawClass;if(Array.isArray(v)||v instanceof Set)for(const E of v)this._updateState(E,!0);else if(null!=v)for(const E of Object.keys(v))this._updateState(E,!!v[E]);this._applyStateDiff()}_updateState(v,E){const F=this.stateMap.get(v);void 0!==F?(F.enabled!==E&&(F.changed=!0,F.enabled=E),F.touched=!0):this.stateMap.set(v,{enabled:E,changed:!0,touched:!0})}_applyStateDiff(){for(const v of this.stateMap){const E=v[0],F=v[1];F.changed?(this._toggleClass(E,F.enabled),F.changed=!1):F.touched||(F.enabled&&this._toggleClass(E,!1),this.stateMap.delete(E)),F.touched=!1}}_toggleClass(v,E){(v=v.trim()).length>0&&v.split(lt).forEach(F=>{E?this._renderer.addClass(this._ngEl.nativeElement,F):this._renderer.removeClass(this._ngEl.nativeElement,F)})}static#e=this.\u0275fac=function(E){return new(E||f)(s.rXU(s.aKT),s.rXU(s.sFG))};static#t=this.\u0275dir=s.FsC({type:f,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return f})();class I{constructor(S,v,E,F){this.$implicit=S,this.ngForOf=v,this.index=E,this.count=F}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 $=(()=>{class f{set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}constructor(v,E,F){this._viewContainer=v,this._template=E,this._differs=F,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 E=this._viewContainer;v.forEachOperation((F,le,we)=>{if(null==F.previousIndex)E.createEmbeddedView(this._template,new I(F.item,this._ngForOf,-1,-1),null===we?void 0:we);else if(null==we)E.remove(null===le?void 0:le);else if(null!==le){const Be=E.get(le);E.move(Be,we),U(Be,F)}});for(let F=0,le=E.length;F<le;F++){const Be=E.get(F).context;Be.index=F,Be.count=le,Be.ngForOf=this._ngForOf}v.forEachIdentityChange(F=>{U(E.get(F.currentIndex),F)})}static ngTemplateContextGuard(v,E){return!0}static#e=this.\u0275fac=function(E){return new(E||f)(s.rXU(s.c1b),s.rXU(s.C4Q),s.rXU(s._q3))};static#t=this.\u0275dir=s.FsC({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return f})();function U(f,S){f.context.$implicit=S.item}let ye=(()=>{class f{constructor(v,E){this._viewContainer=v,this._context=new Se,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=E}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Oe("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Oe("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,E){return!0}static#e=this.\u0275fac=function(E){return new(E||f)(s.rXU(s.c1b),s.rXU(s.C4Q))};static#t=this.\u0275dir=s.FsC({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return f})();class Se{constructor(){this.$implicit=null,this.ngIf=null}}function Oe(f,S){if(S&&!S.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,s.Tbb)(S)}'.`)}let $e=(()=>{class f{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(v){if(this._shouldRecreateView(v)){const E=this._viewContainerRef;if(this._viewRef&&E.remove(E.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const F=this._createContextForwardProxy();this._viewRef=E.createEmbeddedView(this.ngTemplateOutlet,F,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(v){return!!v.ngTemplateOutlet||!!v.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(v,E,F)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,E,F),get:(v,E,F)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,E,F)}})}static#e=this.\u0275fac=function(E){return new(E||f)(s.rXU(s.c1b))};static#t=this.\u0275dir=s.FsC({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.OA$]})}return f})(),Or=(()=>{class f{static#e=this.\u0275fac=function(E){return new(E||f)};static#t=this.\u0275mod=s.$C({type:f});static#n=this.\u0275inj=s.G2t({})}return f})();const To="browser",Pr="server";function xo(f){return f===To}function ms(f){return f===Pr}let qo=(()=>{class f{static#e=this.\u0275prov=(0,s.jDH)({token:f,providedIn:"root",factory:()=>xo((0,s.WQX)(s.Agw))?new qr((0,s.WQX)(Y),window):new Ko})}return f})();class qr{constructor(S,v){this.document=S,this.window=v,this.offset=()=>[0,0]}setOffset(S){this.offset=Array.isArray(S)?()=>S:S}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(S){this.window.scrollTo(S[0],S[1])}scrollToAnchor(S){const v=function Kr(f,S){const v=f.getElementById(S)||f.getElementsByName(S)[0];if(v)return v;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const E=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let F=E.currentNode;for(;F;){const le=F.shadowRoot;if(le){const we=le.getElementById(S)||le.querySelector(`[name="${S}"]`);if(we)return we}F=E.nextNode()}}return null}(this.document,S);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(S){this.window.history.scrollRestoration=S}scrollToElement(S){const v=S.getBoundingClientRect(),E=v.left+this.window.pageXOffset,F=v.top+this.window.pageYOffset,le=this.offset();this.window.scrollTo(E-le[0],F-le[1])}}class Ko{setOffset(S){}getScrollPosition(){return[0,0]}scrollToPosition(S){}scrollToAnchor(S){}setHistoryScrollRestoration(S){}}class Ea{}},1562:(wt,oe,H)=>{function s(I,$,U,ce,ye,Se,Oe){try{var Qe=I[Se](Oe),je=Qe.value}catch(Ft){return void U(Ft)}Qe.done?$(je):Promise.resolve(je).then(ce,ye)}function k(I){return function(){var $=this,U=arguments;return new Promise(function(ce,ye){var Se=I.apply($,U);function Oe(je){s(Se,ce,ye,Oe,Qe,"next",je)}function Qe(je){s(Se,ce,ye,Oe,Qe,"throw",je)}Oe(void 0)})}}H.d(oe,{Qq:()=>$t,q1:()=>mo,Lr:()=>be,$R:()=>Ve,Sx:()=>Pt});var K=H(3953),X=H(7673),J=H(1985),Z=H(6648),Y=H(274),W=H(5964),re=H(6354),te=H(980),se=H(5558),Me=H(177);class Te{}class De{}class be{constructor($){this.normalizedNames=new Map,this.lazyUpdate=null,$?"string"==typeof $?this.lazyInit=()=>{this.headers=new Map,$.split("\n").forEach(U=>{const ce=U.indexOf(":");if(ce>0){const ye=U.slice(0,ce),Se=ye.toLowerCase(),Oe=U.slice(ce+1).trim();this.maybeSetNormalizedName(ye,Se),this.headers.has(Se)?this.headers.get(Se).push(Oe):this.headers.set(Se,[Oe])}})}:typeof Headers<"u"&&$ instanceof Headers?(this.headers=new Map,$.forEach((U,ce)=>{this.setHeaderEntries(ce,U)})):this.lazyInit=()=>{this.headers=new Map,Object.entries($).forEach(([U,ce])=>{this.setHeaderEntries(U,ce)})}:this.headers=new Map}has($){return this.init(),this.headers.has($.toLowerCase())}get($){this.init();const U=this.headers.get($.toLowerCase());return U&&U.length>0?U[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll($){return this.init(),this.headers.get($.toLowerCase())||null}append($,U){return this.clone({name:$,value:U,op:"a"})}set($,U){return this.clone({name:$,value:U,op:"s"})}delete($,U){return this.clone({name:$,value:U,op:"d"})}maybeSetNormalizedName($,U){this.normalizedNames.has(U)||this.normalizedNames.set(U,$)}init(){this.lazyInit&&(this.lazyInit instanceof be?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach($=>this.applyUpdate($)),this.lazyUpdate=null))}copyFrom($){$.init(),Array.from($.headers.keys()).forEach(U=>{this.headers.set(U,$.headers.get(U)),this.normalizedNames.set(U,$.normalizedNames.get(U))})}clone($){const U=new be;return U.lazyInit=this.lazyInit&&this.lazyInit instanceof be?this.lazyInit:this,U.lazyUpdate=(this.lazyUpdate||[]).concat([$]),U}applyUpdate($){const U=$.name.toLowerCase();switch($.op){case"a":case"s":let ce=$.value;if("string"==typeof ce&&(ce=[ce]),0===ce.length)return;this.maybeSetNormalizedName($.name,U);const ye=("a"===$.op?this.headers.get(U):void 0)||[];ye.push(...ce),this.headers.set(U,ye);break;case"d":const Se=$.value;if(Se){let Oe=this.headers.get(U);if(!Oe)return;Oe=Oe.filter(Qe=>-1===Se.indexOf(Qe)),0===Oe.length?(this.headers.delete(U),this.normalizedNames.delete(U)):this.headers.set(U,Oe)}else this.headers.delete(U),this.normalizedNames.delete(U)}}setHeaderEntries($,U){const ce=(Array.isArray(U)?U:[U]).map(Se=>Se.toString()),ye=$.toLowerCase();this.headers.set(ye,ce),this.maybeSetNormalizedName($,ye)}forEach($){this.init(),Array.from(this.normalizedNames.keys()).forEach(U=>$(this.normalizedNames.get(U),this.headers.get(U)))}}class Fe{encodeKey($){return jt($)}encodeValue($){return jt($)}decodeKey($){return decodeURIComponent($)}decodeValue($){return decodeURIComponent($)}}const nt=/%(\d[a-f0-9])/gi,Ut={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function jt(I){return encodeURIComponent(I).replace(nt,($,U)=>Ut[U]??$)}function et(I){return`${I}`}class Et{constructor($={}){if(this.updates=null,this.cloneFrom=null,this.encoder=$.encoder||new Fe,$.fromString){if($.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function We(I,$){const U=new Map;return I.length>0&&I.replace(/^\?/,"").split("&").forEach(ye=>{const Se=ye.indexOf("="),[Oe,Qe]=-1==Se?[$.decodeKey(ye),""]:[$.decodeKey(ye.slice(0,Se)),$.decodeValue(ye.slice(Se+1))],je=U.get(Oe)||[];je.push(Qe),U.set(Oe,je)}),U}($.fromString,this.encoder)}else $.fromObject?(this.map=new Map,Object.keys($.fromObject).forEach(U=>{const ce=$.fromObject[U],ye=Array.isArray(ce)?ce.map(et):[et(ce)];this.map.set(U,ye)})):this.map=null}has($){return this.init(),this.map.has($)}get($){this.init();const U=this.map.get($);return U?U[0]:null}getAll($){return this.init(),this.map.get($)||null}keys(){return this.init(),Array.from(this.map.keys())}append($,U){return this.clone({param:$,value:U,op:"a"})}appendAll($){const U=[];return Object.keys($).forEach(ce=>{const ye=$[ce];Array.isArray(ye)?ye.forEach(Se=>{U.push({param:ce,value:Se,op:"a"})}):U.push({param:ce,value:ye,op:"a"})}),this.clone(U)}set($,U){return this.clone({param:$,value:U,op:"s"})}delete($,U){return this.clone({param:$,value:U,op:"d"})}toString(){return this.init(),this.keys().map($=>{const U=this.encoder.encodeKey($);return this.map.get($).map(ce=>U+"="+this.encoder.encodeValue(ce)).join("&")}).filter($=>""!==$).join("&")}clone($){const U=new Et({encoder:this.encoder});return U.cloneFrom=this.cloneFrom||this,U.updates=(this.updates||[]).concat($),U}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach($=>this.map.set($,this.cloneFrom.map.get($))),this.updates.forEach($=>{switch($.op){case"a":case"s":const U=("a"===$.op?this.map.get($.param):void 0)||[];U.push(et($.value)),this.map.set($.param,U);break;case"d":if(void 0===$.value){this.map.delete($.param);break}{let ce=this.map.get($.param)||[];const ye=ce.indexOf(et($.value));-1!==ye&&ce.splice(ye,1),ce.length>0?this.map.set($.param,ce):this.map.delete($.param)}}}),this.cloneFrom=this.updates=null)}}class pt{constructor(){this.map=new Map}set($,U){return this.map.set($,U),this}get($){return this.map.has($)||this.map.set($,$.defaultValue()),this.map.get($)}delete($){return this.map.delete($),this}has($){return this.map.has($)}keys(){return this.map.keys()}}function gt(I){return typeof ArrayBuffer<"u"&&I instanceof ArrayBuffer}function Vt(I){return typeof Blob<"u"&&I instanceof Blob}function bt(I){return typeof FormData<"u"&&I instanceof FormData}class q{constructor($,U,ce,ye){let Se;if(this.url=U,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=$.toUpperCase(),function Mt(I){switch(I){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ye?(this.body=void 0!==ce?ce:null,Se=ye):Se=ce,Se&&(this.reportProgress=!!Se.reportProgress,this.withCredentials=!!Se.withCredentials,Se.responseType&&(this.responseType=Se.responseType),Se.headers&&(this.headers=Se.headers),Se.context&&(this.context=Se.context),Se.params&&(this.params=Se.params),this.transferCache=Se.transferCache),this.headers??=new be,this.context??=new pt,this.params){const Oe=this.params.toString();if(0===Oe.length)this.urlWithParams=U;else{const Qe=U.indexOf("?");this.urlWithParams=U+(-1===Qe?"?":Qe<U.length-1?"&":"")+Oe}}else this.params=new Et,this.urlWithParams=U}serializeBody(){return null===this.body?null:"string"==typeof this.body||gt(this.body)||Vt(this.body)||bt(this.body)||function Le(I){return typeof URLSearchParams<"u"&&I instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Et?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||bt(this.body)?null:Vt(this.body)?this.body.type||null:gt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Et?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone($={}){const U=$.method||this.method,ce=$.url||this.url,ye=$.responseType||this.responseType,Se=$.transferCache??this.transferCache,Oe=void 0!==$.body?$.body:this.body,Qe=$.withCredentials??this.withCredentials,je=$.reportProgress??this.reportProgress;let Ft=$.headers||this.headers,Ht=$.params||this.params;const A=$.context??this.context;return void 0!==$.setHeaders&&(Ft=Object.keys($.setHeaders).reduce((ve,T)=>ve.set(T,$.setHeaders[T]),Ft)),$.setParams&&(Ht=Object.keys($.setParams).reduce((ve,T)=>ve.set(T,$.setParams[T]),Ht)),new q(U,ce,Oe,{params:Ht,headers:Ft,context:A,reportProgress:je,responseType:ye,withCredentials:Qe,transferCache:Se})}}var fe=function(I){return I[I.Sent=0]="Sent",I[I.UploadProgress=1]="UploadProgress",I[I.ResponseHeader=2]="ResponseHeader",I[I.DownloadProgress=3]="DownloadProgress",I[I.Response=4]="Response",I[I.User=5]="User",I}(fe||{});class Re{constructor($,U=200,ce="OK"){this.headers=$.headers||new be,this.status=void 0!==$.status?$.status:U,this.statusText=$.statusText||ce,this.url=$.url||null,this.ok=this.status>=200&&this.status<300}}class Ge extends Re{constructor($={}){super($),this.type=fe.ResponseHeader}clone($={}){return new Ge({headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class Kt extends Re{constructor($={}){super($),this.type=fe.Response,this.body=void 0!==$.body?$.body:null}clone($={}){return new Kt({body:void 0!==$.body?$.body:this.body,headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class Xt extends Re{constructor($){super($,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${$.url||"(unknown url)"}`:`Http failure response for ${$.url||"(unknown url)"}: ${$.status} ${$.statusText}`,this.error=$.error||null}}function tn(I,$){return{body:$,headers:I.headers,context:I.context,observe:I.observe,params:I.params,reportProgress:I.reportProgress,responseType:I.responseType,withCredentials:I.withCredentials,transferCache:I.transferCache}}let $t=(()=>{class I{constructor(U){this.handler=U}request(U,ce,ye={}){let Se;if(U instanceof q)Se=U;else{let je,Ft;je=ye.headers instanceof be?ye.headers:new be(ye.headers),ye.params&&(Ft=ye.params instanceof Et?ye.params:new Et({fromObject:ye.params})),Se=new q(U,ce,void 0!==ye.body?ye.body:null,{headers:je,context:ye.context,params:Ft,reportProgress:ye.reportProgress,responseType:ye.responseType||"json",withCredentials:ye.withCredentials,transferCache:ye.transferCache})}const Oe=(0,X.of)(Se).pipe((0,Y.H)(je=>this.handler.handle(je)));if(U instanceof q||"events"===ye.observe)return Oe;const Qe=Oe.pipe((0,W.p)(je=>je instanceof Kt));switch(ye.observe||"body"){case"body":switch(Se.responseType){case"arraybuffer":return Qe.pipe((0,re.T)(je=>{if(null!==je.body&&!(je.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return je.body}));case"blob":return Qe.pipe((0,re.T)(je=>{if(null!==je.body&&!(je.body instanceof Blob))throw new Error("Response is not a Blob.");return je.body}));case"text":return Qe.pipe((0,re.T)(je=>{if(null!==je.body&&"string"!=typeof je.body)throw new Error("Response is not a string.");return je.body}));default:return Qe.pipe((0,re.T)(je=>je.body))}case"response":return Qe;default:throw new Error(`Unreachable: unhandled observe type ${ye.observe}}`)}}delete(U,ce={}){return this.request("DELETE",U,ce)}get(U,ce={}){return this.request("GET",U,ce)}head(U,ce={}){return this.request("HEAD",U,ce)}jsonp(U,ce){return this.request("JSONP",U,{params:(new Et).append(ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(U,ce={}){return this.request("OPTIONS",U,ce)}patch(U,ce,ye={}){return this.request("PATCH",U,tn(ye,ce))}post(U,ce,ye={}){return this.request("POST",U,tn(ye,ce))}put(U,ce,ye={}){return this.request("PUT",U,tn(ye,ce))}static#e=this.\u0275fac=function(ce){return new(ce||I)(K.KVO(Te))};static#t=this.\u0275prov=K.jDH({token:I,factory:I.\u0275fac})}return I})();const Ji=/^\)\]\}',?\n/;function qn(I){if(I.url)return I.url;const $="X-Request-URL".toLocaleLowerCase();return I.headers.get($)}let Kn=(()=>{class I{constructor(){this.fetchImpl=(0,K.WQX)(oi,{optional:!0})?.fetch??((...U)=>globalThis.fetch(...U)),this.ngZone=(0,K.WQX)(K.SKi)}handle(U){return new J.c(ce=>{const ye=new AbortController;return this.doRequest(U,ye.signal,ce).then(Rn,Se=>ce.error(new Xt({error:Se}))),()=>ye.abort()})}doRequest(U,ce,ye){var Se=this;return k(function*(){const Oe=Se.createRequestInit(U);let Qe;try{const ee=Se.ngZone.runOutsideAngular(()=>Se.fetchImpl(U.urlWithParams,{signal:ce,...Oe}));(function go(I){I.then(Rn,Rn)})(ee),ye.next({type:fe.Sent}),Qe=yield ee}catch(ee){return void ye.error(new Xt({error:ee,status:ee.status??0,statusText:ee.statusText,url:U.urlWithParams,headers:ee.headers}))}const je=new be(Qe.headers),Ft=Qe.statusText,Ht=qn(Qe)??U.urlWithParams;let A=Qe.status,ve=null;if(U.reportProgress&&ye.next(new Ge({headers:je,status:A,statusText:Ft,url:Ht})),Qe.body){const ee=Qe.headers.get("content-length"),ge=[],$e=Qe.body.getReader();let qt,on,ct=0;const Di=typeof Zone<"u"&&Zone.current;yield Se.ngZone.runOutsideAngular(k(function*(){for(;;){const{done:no,value:zo}=yield $e.read();if(no)break;if(ge.push(zo),ct+=zo.length,U.reportProgress){on="text"===U.responseType?(on??"")+(qt??=new TextDecoder).decode(zo,{stream:!0}):void 0;const or=()=>ye.next({type:fe.DownloadProgress,total:ee?+ee:void 0,loaded:ct,partialText:on});Di?Di.run(or):or()}}}));const Mr=Se.concatChunks(ge,ct);try{const no=Qe.headers.get("Content-Type")??"";ve=Se.parseBody(U,Mr,no)}catch(no){return void ye.error(new Xt({error:no,headers:new be(Qe.headers),status:Qe.status,statusText:Qe.statusText,url:qn(Qe)??U.urlWithParams}))}}0===A&&(A=ve?200:0),A>=200&&A<300?(ye.next(new Kt({body:ve,headers:je,status:A,statusText:Ft,url:Ht})),ye.complete()):ye.error(new Xt({error:ve,headers:je,status:A,statusText:Ft,url:Ht}))})()}parseBody(U,ce,ye){switch(U.responseType){case"json":const Se=(new TextDecoder).decode(ce).replace(Ji,"");return""===Se?null:JSON.parse(Se);case"text":return(new TextDecoder).decode(ce);case"blob":return new Blob([ce],{type:ye});case"arraybuffer":return ce.buffer}}createRequestInit(U){const ce={},ye=U.withCredentials?"include":void 0;if(U.headers.forEach((Se,Oe)=>ce[Se]=Oe.join(",")),U.headers.has("Accept")||(ce.Accept="application/json, text/plain, */*"),!U.headers.has("Content-Type")){const Se=U.detectContentTypeHeader();null!==Se&&(ce["Content-Type"]=Se)}return{body:U.serializeBody(),method:U.method,headers:ce,credentials:ye}}concatChunks(U,ce){const ye=new Uint8Array(ce);let Se=0;for(const Oe of U)ye.set(Oe,Se),Se+=Oe.length;return ye}static#e=this.\u0275fac=function(ce){return new(ce||I)};static#t=this.\u0275prov=K.jDH({token:I,factory:I.\u0275fac})}return I})();class oi{}function Rn(){}function nn(I,$){return $(I)}function _n(I,$){return(U,ce)=>$.intercept(U,{handle:ye=>I(ye,ce)})}const En=new K.nKC(""),vi=new K.nKC(""),Xn=new K.nKC(""),xi=new K.nKC("",{providedIn:"root",factory:()=>!0});function ri(){let I=null;return($,U)=>{null===I&&(I=((0,K.WQX)(En,{optional:!0})??[]).reduceRight(_n,nn));const ce=(0,K.WQX)(K.TgB);if((0,K.WQX)(xi)){const Se=ce.add();return I($,U).pipe((0,te.j)(()=>ce.remove(Se)))}return I($,U)}}let si=(()=>{class I extends Te{constructor(U,ce){super(),this.backend=U,this.injector=ce,this.chain=null,this.pendingTasks=(0,K.WQX)(K.TgB),this.contributeToStability=(0,K.WQX)(xi)}handle(U){if(null===this.chain){const ce=Array.from(new Set([...this.injector.get(vi),...this.injector.get(Xn,[])]));this.chain=ce.reduceRight((ye,Se)=>function Hi(I,$,U){return(ce,ye)=>(0,K.N4e)(U,()=>$(ce,Se=>I(Se,ye)))}(ye,Se,this.injector),nn)}if(this.contributeToStability){const ce=this.pendingTasks.add();return this.chain(U,ye=>this.backend.handle(ye)).pipe((0,te.j)(()=>this.pendingTasks.remove(ce)))}return this.chain(U,ce=>this.backend.handle(ce))}static#e=this.\u0275fac=function(ce){return new(ce||I)(K.KVO(De),K.KVO(K.uvJ))};static#t=this.\u0275prov=K.jDH({token:I,factory:I.\u0275fac})}return I})();const Ct=/^\)\]\}',?\n/;let Ii=(()=>{class I{constructor(U){this.xhrFactory=U}handle(U){if("JSONP"===U.method)throw new K.wOt(-2800,!1);const ce=this.xhrFactory;return(ce.\u0275loadImpl?(0,Z.H)(ce.\u0275loadImpl()):(0,X.of)(null)).pipe((0,se.n)(()=>new J.c(Se=>{const Oe=ce.build();if(Oe.open(U.method,U.urlWithParams),U.withCredentials&&(Oe.withCredentials=!0),U.headers.forEach((ge,$e)=>Oe.setRequestHeader(ge,$e.join(","))),U.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!U.headers.has("Content-Type")){const ge=U.detectContentTypeHeader();null!==ge&&Oe.setRequestHeader("Content-Type",ge)}if(U.responseType){const ge=U.responseType.toLowerCase();Oe.responseType="json"!==ge?ge:"text"}const Qe=U.serializeBody();let je=null;const Ft=()=>{if(null!==je)return je;const ge=Oe.statusText||"OK",$e=new be(Oe.getAllResponseHeaders()),ct=function Rt(I){return"responseURL"in I&&I.responseURL?I.responseURL:/^X-Request-URL:/m.test(I.getAllResponseHeaders())?I.getResponseHeader("X-Request-URL"):null}(Oe)||U.url;return je=new Ge({headers:$e,status:Oe.status,statusText:ge,url:ct}),je},Ht=()=>{let{headers:ge,status:$e,statusText:ct,url:qt}=Ft(),on=null;204!==$e&&(on=typeof Oe.response>"u"?Oe.responseText:Oe.response),0===$e&&($e=on?200:0);let Di=$e>=200&&$e<300;if("json"===U.responseType&&"string"==typeof on){const Mr=on;on=on.replace(Ct,"");try{on=""!==on?JSON.parse(on):null}catch(no){on=Mr,Di&&(Di=!1,on={error:no,text:on})}}Di?(Se.next(new Kt({body:on,headers:ge,status:$e,statusText:ct,url:qt||void 0})),Se.complete()):Se.error(new Xt({error:on,headers:ge,status:$e,statusText:ct,url:qt||void 0}))},A=ge=>{const{url:$e}=Ft(),ct=new Xt({error:ge,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:$e||void 0});Se.error(ct)};let ve=!1;const T=ge=>{ve||(Se.next(Ft()),ve=!0);let $e={type:fe.DownloadProgress,loaded:ge.loaded};ge.lengthComputable&&($e.total=ge.total),"text"===U.responseType&&Oe.responseText&&($e.partialText=Oe.responseText),Se.next($e)},ee=ge=>{let $e={type:fe.UploadProgress,loaded:ge.loaded};ge.lengthComputable&&($e.total=ge.total),Se.next($e)};return Oe.addEventListener("load",Ht),Oe.addEventListener("error",A),Oe.addEventListener("timeout",A),Oe.addEventListener("abort",A),U.reportProgress&&(Oe.addEventListener("progress",T),null!==Qe&&Oe.upload&&Oe.upload.addEventListener("progress",ee)),Oe.send(Qe),Se.next({type:fe.Sent}),()=>{Oe.removeEventListener("error",A),Oe.removeEventListener("abort",A),Oe.removeEventListener("load",Ht),Oe.removeEventListener("timeout",A),U.reportProgress&&(Oe.removeEventListener("progress",T),null!==Qe&&Oe.upload&&Oe.upload.removeEventListener("progress",ee)),Oe.readyState!==Oe.DONE&&Oe.abort()}})))}static#e=this.\u0275fac=function(ce){return new(ce||I)(K.KVO(Me.N0))};static#t=this.\u0275prov=K.jDH({token:I,factory:I.\u0275fac})}return I})();const Qn=new K.nKC(""),yi=new K.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),vn=new K.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Zn{}let de=(()=>{class I{constructor(U,ce,ye){this.doc=U,this.platform=ce,this.cookieName=ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const U=this.doc.cookie||"";return U!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Me._b)(U,this.cookieName),this.lastCookieString=U),this.lastToken}static#e=this.\u0275fac=function(ce){return new(ce||I)(K.KVO(Me.qQ),K.KVO(K.Agw),K.KVO(yi))};static#t=this.\u0275prov=K.jDH({token:I,factory:I.\u0275fac})}return I})();function ae(I,$){const U=I.url.toLowerCase();if(!(0,K.WQX)(Qn)||"GET"===I.method||"HEAD"===I.method||U.startsWith("http://")||U.startsWith("https://"))return $(I);const ce=(0,K.WQX)(Zn).getToken(),ye=(0,K.WQX)(vn);return null!=ce&&!I.headers.has(ye)&&(I=I.clone({headers:I.headers.set(ye,ce)})),$(I)}var Q=function(I){return I[I.Interceptors=0]="Interceptors",I[I.LegacyInterceptors=1]="LegacyInterceptors",I[I.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",I[I.NoXsrfProtection=3]="NoXsrfProtection",I[I.JsonpSupport=4]="JsonpSupport",I[I.RequestsMadeViaParent=5]="RequestsMadeViaParent",I[I.Fetch=6]="Fetch",I}(Q||{});function Ve(...I){const $=[$t,Ii,si,{provide:Te,useExisting:si},{provide:De,useFactory:()=>(0,K.WQX)(Kn,{optional:!0})??(0,K.WQX)(Ii)},{provide:vi,useValue:ae,multi:!0},{provide:Qn,useValue:!0},{provide:Zn,useClass:de}];for(const U of I)$.push(...U.\u0275providers);return(0,K.EmA)($)}const yt=new K.nKC("");function Pt(){return function me(I,$){return{\u0275kind:I,\u0275providers:$}}(Q.LegacyInterceptors,[{provide:yt,useFactory:ri},{provide:vi,useExisting:yt,multi:!0}])}let mo=(()=>{class I{static#e=this.\u0275fac=function(ce){return new(ce||I)};static#t=this.\u0275mod=K.$C({type:I});static#n=this.\u0275inj=K.G2t({providers:[Ve(Pt())]})}return I})()},3953:(wt,oe,H)=>{function s(e,t){return Object.is(e,t)}H.d(oe,{bc$:()=>mD,iLQ:()=>Id,sZ2:()=>Eu,hnV:()=>ww,Hbi:()=>zI,o8S:()=>zr,BIS:()=>_D,gRc:()=>Lw,Ql9:()=>fI,Ocv:()=>yI,abz:()=>ja,Z63:()=>p,aKT:()=>Wl,uvJ:()=>Jo,zcH:()=>fs,bkB:()=>Br,$GK:()=>Dt,nKC:()=>it,zZn:()=>$i,_q3:()=>rg,MKu:()=>sg,xe9:()=>Yp,Co$:()=>wv,Vns:()=>va,SKi:()=>In,Xx1:()=>Pi,Agw:()=>Su,PLl:()=>qm,sFG:()=>aO,_9s:()=>Vf,czy:()=>Bu,kdw:()=>Ki,C4Q:()=>uc,NYb:()=>sI,giA:()=>vw,RxE:()=>dw,c1b:()=>id,gXe:()=>j,mal:()=>dd,Af3:()=>tu,tdH:()=>c1,L39:()=>wR,EWP:()=>bR,Ol2:()=>ep,w6W:()=>YO,oH4:()=>Nw,QZP:()=>CM,Rfq:()=>Zo,WQX:()=>Ee,naY:()=>TI,QuC:()=>Fs,EmA:()=>Al,fpN:()=>HI,HJs:()=>TR,N4e:()=>IM,vPA:()=>iv,O8t:()=>DR,H3F:()=>hw,zAP:()=>lM,H8p:()=>qd,KH2:()=>wl,TgB:()=>da,wOt:()=>Ne,WHO:()=>_w,e01:()=>Cw,H5H:()=>Op,Zy3:()=>Ai,mq5:()=>Py,JZv:()=>pn,LfX:()=>Ol,plB:()=>Us,jNT:()=>Kp,zjR:()=>yw,TL$:()=>pD,Tbb:()=>bn,Vt3:()=>Zf,GFd:()=>yv,OA$:()=>nh,Jv_:()=>V0,aNF:()=>B0,R7$:()=>z_,BMQ:()=>fp,HbH:()=>dy,ZvI:()=>Cy,AVh:()=>yp,vxM:()=>My,wni:()=>d0,VBU:()=>Fo,FsC:()=>Qc,jDH:()=>Qt,G2t:()=>Ro,$C:()=>lo,EJ8:()=>na,rXU:()=>Qa,nrm:()=>Ep,eu8:()=>Sp,bVm:()=>yd,qex:()=>vd,k0s:()=>Cd,j41:()=>_d,RV6:()=>Ey,xGo:()=>dm,KVO:()=>ut,kS0:()=>vu,QTQ:()=>W_,bIt:()=>xp,lsd:()=>p0,qSk:()=>Qg,XpG:()=>Jy,SdG:()=>t0,NAR:()=>e0,Y8G:()=>_p,FS9:()=>Rp,Mz_:()=>Ed,eq3:()=>$0,sMw:()=>H0,mGM:()=>f0,sdS:()=>g0,Njj:()=>Lg,eBV:()=>Fg,npT:()=>__,n$t:()=>y_,xc7:()=>vp,DNE:()=>np,C5r:()=>X0,EFF:()=>E0,JRh:()=>Ap,SpI:()=>Sd,Lme:()=>kp,DH7:()=>A0,mxI:()=>Lp,R50:()=>Fp,GBs:()=>h0});let k=null,K=!1,X=1;const J=Symbol("SIGNAL");function Z(e){const t=k;return k=e,t}function Y(){return k}const te={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 se(e){if(K)throw new Error("");if(null===k)return;k.consumerOnSignalRead(e);const t=k.nextProducerIndex++;Jt(k),t<k.producerNode.length&&k.producerNode[t]!==e&&Et(k)&&et(k.producerNode[t],k.producerIndexOfThis[t]),k.producerNode[t]!==e&&(k.producerNode[t]=e,k.producerIndexOfThis[t]=Et(k)?jt(e,k,t):0),k.producerLastReadVersion[t]=e.version}function Te(e){if((!Et(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==X)){if(!e.producerMustRecompute(e)&&!nt(e))return e.dirty=!1,void(e.lastCleanEpoch=X);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=X}}function De(e){if(void 0===e.liveConsumerNode)return;const t=K;K=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ue(n)}finally{K=t}}function be(){return!1!==k?.consumerAllowSignalWrites}function Ue(e){e.dirty=!0,De(e),e.consumerMarkedDirty?.(e)}function Fe(e){return e&&(e.nextProducerIndex=0),Z(e)}function We(e,t){if(Z(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Et(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)et(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function nt(e){Jt(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Te(n),i!==n.version))return!0}return!1}function Ut(e){if(Jt(e),Et(e))for(let t=0;t<e.producerNode.length;t++)et(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 jt(e,t,n){if(pt(e),0===e.liveConsumerNode.length&&Mt(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=jt(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function et(e,t){if(pt(e),1===e.liveConsumerNode.length&&Mt(e))for(let i=0;i<e.producerNode.length;i++)et(e.producerNode[i],e.producerIndexOfThis[i]);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 i=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Jt(o),o.producerIndexOfThis[i]=t}}function Et(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Jt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function pt(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Mt(e){return void 0!==e.producerNode}const Vt=Symbol("UNSET"),bt=Symbol("COMPUTING"),Le=Symbol("ERRORED"),q={...te,value:Vt,dirty:!0,error:null,equal:s,producerMustRecompute:e=>e.value===Vt||e.value===bt,producerRecomputeValue(e){if(e.value===bt)throw new Error("Detected cycle in computations.");const t=e.value;e.value=bt;const n=Fe(e);let i;try{i=e.computation()}catch(o){i=Le,e.error=o}finally{We(e,n)}t!==Vt&&t!==Le&&i!==Le&&e.equal(t,i)?e.value=t:(e.value=i,e.version++)}};let Re=function fe(){throw new Error};function Ge(){Re()}let Xt=null;function tn(e,t){be()||Ge(),e.equal(e.value,t)||(e.value=t,function qn(e){e.version++,function Me(){X++}(),De(e),Xt?.()}(e))}const Fn={...te,equal:s,value:void 0};const oi=()=>{},Rn={...te,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:oi};var nn=H(4412),_n=H(1413),Hi=H(8359),En=H(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 cr="https://g.co/ng/security#xss";class Ne extends Error{constructor(t,n){super(Ai(t,n)),this.code=t}}function Ai(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Wi(e){return{toString:e}.toString()}const di="__parameters__";function Oi(e,t,n){return Wi(()=>{const i=function ki(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...r){if(this instanceof o)return i.apply(this,r),this;const a=new o(...r);return c.annotation=a,c;function c(h,y,b){const N=h.hasOwnProperty(di)?h[di]:Object.defineProperty(h,di,{value:[]})[di];for(;N.length<=b;)N.push(null);return(N[b]=N[b]||[]).push(a),h}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const pn=globalThis;function Nt(e){for(let t in e)if(e[t]===Nt)return t;throw Error("Could not find renamed property on target object.")}function _s(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function bn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(bn).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 Jr(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const es=Nt({__forward_ref__:Nt});function Zo(e){return e.__forward_ref__=Zo,e.toString=function(){return bn(this())},e}function Ye(e){return so(e)?e():e}function so(e){return"function"==typeof e&&e.hasOwnProperty(es)&&e.__forward_ref__===Zo}function Qt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ro(e){return{providers:e.providers||[],imports:e.imports||[]}}function ts(e){return bs(e,dr)||bs(e,_o)}function Ol(e){return null!==ts(e)}function bs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Es(e){return e&&(e.hasOwnProperty(Qs)||e.hasOwnProperty(Ss))?e[Qs]:null}const dr=Nt({\u0275prov:Nt}),Qs=Nt({\u0275inj:Nt}),_o=Nt({ngInjectableDef:Nt}),Ss=Nt({ngInjectorDef:Nt});class it{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Qt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Zs(e){return e&&!!e.\u0275providers}const xr=Nt({\u0275cmp:Nt}),Ts=Nt({\u0275dir:Nt}),Ir=Nt({\u0275pipe:Nt}),Ys=Nt({\u0275mod:Nt}),Co=Nt({\u0275fac:Nt}),vo=Nt({__NG_ELEMENT_ID__:Nt}),xs=Nt({__NG_ENV_ID__:Nt});function ot(e){return"string"==typeof e?e:null==e?"":String(e)}function Js(e,t){throw new Ne(-201,!1)}var Dt=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}(Dt||{});let Is;function hr(){return Is}function cn(e){const t=Is;return Is=e,t}function fr(e,t,n){const i=ts(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Dt.Optional?null:void 0!==t?t:void Js()}const ss={},ea="__NG_DI_FLAG__",f="ngTempTokenPath",v=/\n/gm,F="__source";let le;function Be(e){const t=le;return le=e,t}function xt(e,t=Dt.Default){if(void 0===le)throw new Ne(-203,!1);return null===le?fr(e,void 0,t):le.get(e,t&Dt.Optional?null:void 0,t)}function ut(e,t=Dt.Default){return(hr()||xt)(Ye(e),t)}function Ee(e,t=Dt.Default){return ut(e,rn(t))}function rn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zt(e){const t=[];for(let n=0;n<e.length;n++){const i=Ye(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Ne(900,!1);let o,r=Dt.Default;for(let a=0;a<i.length;a++){const c=i[a],h=No(c);"number"==typeof h?-1===h?o=c.token:r|=h:o=c}t.push(ut(o,r))}else t.push(ut(i))}return t}function un(e,t){return e[ea]=t,e.prototype[ea]=t,e}function No(e){return e[ea]}const Pi=un(Oi("Optional"),8),Ki=un(Oi("SkipSelf"),4);function pr(e,t){return e.hasOwnProperty(Co)?e[Co]:null}function as(e,t){e.forEach(n=>Array.isArray(n)?as(n,t):t(n))}function ta(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ns(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xi(e,t,n){let i=As(e,t);return i>=0?e[1|i]=n:(i=~i,function qc(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Rl(e,t){const n=As(e,t);if(n>=0)return e[1|n]}function As(e,t){return function Nl(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const r=i+(o-i>>1),a=e[r<<n];if(t===a)return r<<n;a>t?o=r:i=r+1}return~(o<<n)}(e,t,1)}const ko={},Gt=[],p=new it(""),R=new it("",-1),l=new it("");class g{get(t,n=ss){if(n===ss){const i=new Error(`NullInjectorError: No provider for ${bn(t)}!`);throw i.name="NullInjectorError",i}return n}}var O=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(O||{}),j=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(j||{}),he=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(he||{});function He(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=t.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}n=o+1}}function Xe(e,t,n){let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const r=n[i++],a=n[i++],c=n[i++];e.setAttribute(t,a,c,r)}else{const r=o,a=n[++i];Lt(r)?e.setProperty(t,r,a):e.setAttribute(t,r,a),i++}}return i}function At(e){return 3===e||4===e||6===e}function Lt(e){return 64===e.charCodeAt(0)}function Dn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||yo(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function yo(e,t,n,i,o){let r=0,a=e.length;if(-1===t)a=-1;else for(;r<e.length;){const c=e[r++];if("number"==typeof c){if(c===t){a=-1;break}if(c>t){a=r-1;break}}}for(;r<e.length;){const c=e[r];if("number"==typeof c)break;if(c===n){if(null===i)return void(null!==o&&(e[r+1]=o));if(i===e[r+1])return void(e[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==a&&(e.splice(a,0,t),r=a+1),e.splice(r++,0,n),null!==i&&e.splice(r++,0,i),null!==o&&e.splice(r++,0,o)}const gr="ng-template";function Xc(e,t,n,i){let o=0;if(i){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==He(t[o+1].toLowerCase(),n,0))return!0}else if(Rr(e))return!1;if(o=t.indexOf(1,o),o>-1){let r;for(;++o<t.length&&"string"==typeof(r=t[o]);)if(r.toLowerCase()===n)return!0}return!1}function Rr(e){return 4===e.type&&e.value!==gr}function u(e,t,n){return t===(4!==e.type||n?e.value:gr)}function m(e,t,n){let i=4;const o=e.attrs,r=null!==o?function L(e){for(let t=0;t<e.length;t++)if(At(e[t]))return t;return e.length}(o):0;let a=!1;for(let c=0;c<t.length;c++){const h=t[c];if("number"!=typeof h){if(!a)if(4&i){if(i=2|1&i,""!==h&&!u(e,h,n)||""===h&&1===t.length){if(d(i))return!1;a=!0}}else if(8&i){if(null===o||!Xc(e,o,h,n)){if(d(i))return!1;a=!0}}else{const y=t[++c],b=_(h,o,Rr(e),n);if(-1===b){if(d(i))return!1;a=!0;continue}if(""!==y){let N;if(N=b>r?"":o[b+1].toLowerCase(),2&i&&y!==N){if(d(i))return!1;a=!0}}}}else{if(!a&&!d(i)&&!d(h))return!1;if(a&&d(h))continue;a=!1,i=h|1&i}}return d(i)||a}function d(e){return!(1&e)}function _(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let r=!1;for(;o<t.length;){const a=t[o];if(a===e)return o;if(3===a||6===a)r=!0;else{if(1===a||2===a){let c=t[++o];for(;"string"==typeof c;)c=t[++o];continue}if(4===a)break;if(0===a){o+=4;continue}}o+=r?1:2}return-1}return function ue(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function D(e,t,n=!1){for(let i=0;i<t.length;i++)if(m(e,t[i],n))return!0;return!1}function ie(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function ke(e,t){return e?":not("+t.trim()+")":t}function rt(e){let t=e[0],n=1,i=2,o="",r=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&i){const c=e[++n];o+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else 8&i?o+="."+a:4&i&&(o+=" "+a);else""!==o&&!d(a)&&(t+=ke(r,o),o=""),i=a,r=r||!d(i);n++}return""!==o&&(t+=ke(r,o)),t}function Fo(e){return Wi(()=>{const t=dg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===O.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||j.Emulated,styles:e.styles||Gt,_:null,schemas:e.schemas||null,tView:null,id:""};hg(n);const i=e.dependencies;return n.directiveDefs=Zc(i,!1),n.pipeDefs=Zc(i,!0),n.id=function wM(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Vi(e){return It(e)||fi(e)}function Nr(e){return null!==e}function lo(e){return Wi(()=>({type:e.type,bootstrap:e.bootstrap||Gt,declarations:e.declarations||Gt,imports:e.imports||Gt,exports:e.exports||Gt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ks(e,t){if(null==e)return ko;const n={};for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];let r,a,c=he.None;Array.isArray(o)?(c=o[0],r=o[1],a=o[2]??r):(r=o,a=o),t?(n[r]=c!==he.None?[i,c]:i,t[r]=a):n[r]=i}return n}function Qc(e){return Wi(()=>{const t=dg(e);return hg(t),t})}function na(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 It(e){return e[xr]||null}function fi(e){return e[Ts]||null}function Bi(e){return e[Ir]||null}function Fs(e){const t=It(e)||fi(e)||Bi(e);return null!==t&&t.standalone}function Qi(e,t){const n=e[Ys]||null;if(!n&&!0===t)throw new Error(`Type ${bn(e)} does not have '\u0275mod' property.`);return n}function dg(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||ko,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Gt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ks(e.inputs,t),outputs:ks(e.outputs),debugInfo:null}}function hg(e){e.features?.forEach(t=>t(e))}function Zc(e,t){if(!e)return null;const n=t?Bi:Vi;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(Nr)}function Al(e){return{\u0275providers:e}}function MM(...e){return{\u0275providers:zd(0,e),\u0275fromNgModule:!0}}function zd(e,...t){const n=[],i=new Set;let o;const r=a=>{n.push(a)};return as(t,a=>{const c=a;Yc(c,r,[],i)&&(o||=[],o.push(c))}),void 0!==o&&fg(o,r),n}function fg(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:o}=e[n];Gd(o,r=>{t(r,i)})}}function Yc(e,t,n,i){if(!(e=Ye(e)))return!1;let o=null,r=Es(e);const a=!r&&It(e);if(r||a){if(a&&!a.standalone)return!1;o=e}else{const h=e.ngModule;if(r=Es(h),!r)return!1;o=h}const c=i.has(o);if(a){if(c)return!1;if(i.add(o),a.dependencies){const h="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const y of h)Yc(y,t,n,i)}}else{if(!r)return!1;{if(null!=r.imports&&!c){let y;i.add(o);try{as(r.imports,b=>{Yc(b,t,n,i)&&(y||=[],y.push(b))})}finally{}void 0!==y&&fg(y,t)}if(!c){const y=pr(o)||(()=>new o);t({provide:o,useFactory:y,deps:Gt},o),t({provide:l,useValue:o,multi:!0},o),t({provide:p,useValue:()=>ut(o),multi:!0},o)}const h=r.providers;if(null!=h&&!c){const y=e;Gd(h,b=>{t(b,y)})}}}return o!==e&&void 0!==e.providers}function Gd(e,t){for(let n of e)Zs(n)&&(n=n.\u0275providers),Array.isArray(n)?Gd(n,t):t(n)}const bM=Nt({provide:String,useValue:Nt});function Wd(e){return null!==e&&"object"==typeof e&&bM in e}function ia(e){return"function"==typeof e}const qd=new it(""),Jc={},EM={};let Kd;function eu(){return void 0===Kd&&(Kd=new g),Kd}class Jo{}class xa extends Jo{get destroyed(){return this._destroyed}constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Qd(t,a=>this.processProvider(a)),this.records.set(R,Ia(void 0,this)),o.has("environment")&&this.records.set(Jo,Ia(void 0,this));const r=this.records.get(qd);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(l,Gt,Dt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=Z(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Be(this),i=cn(void 0);try{return t()}finally{Be(n),cn(i)}}get(t,n=ss,i=Dt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(xs))return t[xs](this);i=rn(i);const r=Be(this),a=cn(void 0);try{if(!(i&Dt.SkipSelf)){let h=this.records.get(t);if(void 0===h){const y=function xM(e){return"function"==typeof e||"object"==typeof e&&e instanceof it}(t)&&ts(t);h=y&&this.injectableDefInScope(y)?Ia(Xd(t),Jc):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(i&Dt.Self?eu():this.parent).get(t,n=i&Dt.Optional&&n===ss?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[f]=c[f]||[]).unshift(bn(t)),r)throw c;return function ao(e,t,n,i){const o=e[f];throw t[F]&&o.unshift(t[F]),e.message=function Yo(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=bn(t);if(Array.isArray(t))o=t.map(bn).join(" -> ");else if("object"==typeof t){let r=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];r.push(a+":"+("string"==typeof c?JSON.stringify(c):bn(c)))}o=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(v,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[f]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{cn(a),Be(r)}}resolveInjectorInitializers(){const t=Z(null),n=Be(this),i=cn(void 0);try{const r=this.get(p,Gt,Dt.Self);for(const a of r)a()}finally{Be(n),cn(i),Z(t)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(bn(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ne(205,!1)}processProvider(t){let n=ia(t=Ye(t))?t:Ye(t&&t.provide);const i=function OM(e){return Wd(e)?Ia(void 0,e.useValue):Ia(mg(e),Jc)}(t);if(!ia(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Ia(void 0,Jc,!0),o.factory=()=>zt(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){const i=Z(null);try{return n.value===Jc&&(n.value=EM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function TM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Z(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Ye(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 Xd(e){const t=ts(e),n=null!==t?t.factory:pr(e);if(null!==n)return n;if(e instanceof it)throw new Ne(204,!1);if(e instanceof Function)return function SM(e){if(e.length>0)throw new Ne(204,!1);const n=function Ds(e){return e&&(e[dr]||e[_o])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ne(204,!1)}function mg(e,t,n){let i;if(ia(e)){const o=Ye(e);return pr(o)||Xd(o)}if(Wd(e))i=()=>Ye(e.useValue);else if(function gg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...zt(e.deps||[]));else if(function pg(e){return!(!e||!e.useExisting)}(e))i=()=>ut(Ye(e.useExisting));else{const o=Ye(e&&(e.useClass||e.provide));if(!function PM(e){return!!e.deps}(e))return pr(o)||Xd(o);i=()=>new o(...zt(e.deps))}return i}function Ia(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qd(e,t){for(const n of e)Array.isArray(n)?Qd(n,t):n&&Zs(n)?Qd(n.\u0275providers,t):t(n)}function IM(e,t){e instanceof xa&&e.assertNotDestroyed();const i=Be(e),o=cn(void 0);try{return t()}finally{Be(i),cn(o)}}function _g(){return void 0!==hr()||null!=function we(){return le}()}function tu(e){if(!_g())throw new Ne(-203,!1)}const Tn=0,xe=1,tt=2,ni=3,mr=4,Ui=5,co=6,Na=7,gn=8,ii=9,Ar=10,st=11,Fl=12,vg=13,Aa=14,xn=15,oa=16,ka=17,cs=18,Fa=19,yg=20,Ls=21,iu=22,er=23,Ke=25,Yd=1,kr=7,La=9,$n=10;var ru=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ru||{});function gi(e){return Array.isArray(e)&&"object"==typeof e[Yd]}function Zi(e){return Array.isArray(e)&&!0===e[Yd]}function Jd(e){return!!(4&e.flags)}function ra(e){return e.componentOffset>-1}function su(e){return!(1&~e.flags)}function _r(e){return!!e.template}function Vl(e){return!!(512&e[tt])}class HM{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Eg(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function nh(){return Sg}function Sg(e){return e.type.prototype.ngOnChanges&&(e.setInput=GM),zM}function zM(){const e=Pg(this),t=e?.current;if(t){const n=e.previous;if(n===ko)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function GM(e,t,n,i,o){const r=this.declaredInputs[i],a=Pg(e)||function WM(e,t){return e[Og]=t}(e,{previous:ko,current:null}),c=a.current||(a.current={}),h=a.previous,y=h[r];c[r]=new HM(y&&y.currentValue,n,h===ko),Eg(e,t,o,n)}nh.ngInherit=!0;const Og="__ngSimpleChanges__";function Pg(e){return e[Og]||null}const Fr=function(e,t,n){},Tg="svg";function Yt(e){for(;Array.isArray(e);)e=e[Tn];return e}function Bl(e,t){return Yt(t[e])}function uo(e,t){return Yt(t[e.index])}function Ul(e,t){return e.data[t]}function Lo(e,t){const n=t[e];return gi(n)?n:n[Tn]}function rh(e){return!(128&~e[tt])}function tr(e,t){return null==t?null:e[t]}function Ig(e){e[ka]=0}function Rg(e){1024&e[tt]||(e[tt]|=1024,rh(e)&&lu(e))}function au(e){return!!(9216&e[tt]||e[er]?.dirty)}function sh(e){e[Ar].changeDetectionScheduler?.notify(8),64&e[tt]&&(e[tt]|=1024),au(e)&&lu(e)}function lu(e){e[Ar].changeDetectionScheduler?.notify(0);let t=us(e);for(;null!==t&&!(8192&t[tt])&&(t[tt]|=8192,rh(t));)t=us(t)}function cu(e,t){if(!(256&~e[tt]))throw new Ne(911,!1);null===e[Ls]&&(e[Ls]=[]),e[Ls].push(t)}function us(e){const t=e[ni];return Zi(t)?t[ni]:t}const at={lFrame:qg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ag=!1;function kg(){return at.bindingsEnabled}function aa(){return null!==at.skipHydrationRootTNode}function pe(){return at.lFrame.lView}function Ot(){return at.lFrame.tView}function Fg(e){return at.lFrame.contextLView=e,e[gn]}function Lg(e){return at.lFrame.contextLView=null,e}function an(){let e=Vg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vg(){return at.lFrame.currentTNode}function Cr(e,t){const n=at.lFrame;n.currentTNode=e,n.isParent=t}function ch(){return at.lFrame.isParent}function uh(){at.lFrame.isParent=!1}function jg(){return Ag}function $g(e){Ag=e}function ho(){const e=at.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vr(){return at.lFrame.bindingIndex++}function hs(e){const t=at.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function sb(e,t){const n=at.lFrame;n.bindingIndex=n.bindingRootIndex=e,dh(t)}function dh(e){at.lFrame.currentDirectiveIndex=e}function fh(){return at.lFrame.currentQueryIndex}function du(e){at.lFrame.currentQueryIndex=e}function lb(e){const t=e[xe];return 2===t.type?t.declTNode:1===t.type?e[Ui]:null}function Gg(e,t,n){if(n&Dt.SkipSelf){let o=t,r=e;for(;!(o=o.parent,null!==o||n&Dt.Host||(o=lb(r),null===o||(r=r[Aa],10&o.type))););if(null===o)return!1;t=o,e=r}const i=at.lFrame=Wg();return i.currentTNode=t,i.lView=e,!0}function ph(e){const t=Wg(),n=e[xe];at.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Wg(){const e=at.lFrame,t=null===e?null:e.child;return null===t?qg(e):t}function qg(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 Kg(){const e=at.lFrame;return at.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Xg=Kg;function gh(){const e=Kg();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 ji(){return at.lFrame.selectedIndex}function la(e){at.lFrame.selectedIndex=e}function mn(){const e=at.lFrame;return Ul(e.tView,e.selectedIndex)}function Qg(){at.lFrame.currentNamespace=Tg}let Yg=!0;function $l(){return Yg}function Lr(e){Yg=e}function hu(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const r=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:h,ngAfterViewChecked:y,ngOnDestroy:b}=r;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),h&&(e.viewHooks??=[]).push(-n,h),y&&((e.viewHooks??=[]).push(n,y),(e.viewCheckHooks??=[]).push(n,y)),null!=b&&(e.destroyHooks??=[]).push(n,b)}}function fu(e,t,n){Jg(e,t,3,n)}function pu(e,t,n,i){(3&e[tt])===n&&Jg(e,t,n,i)}function mh(e,t){let n=e[tt];(3&n)===t&&(n&=16383,n+=1,e[tt]=n)}function Jg(e,t,n,i){const r=i??-1,a=t.length-1;let c=0;for(let h=void 0!==i?65535&e[ka]:0;h<a;h++)if("number"==typeof t[h+1]){if(c=t[h],null!=i&&c>=i)break}else t[h]<0&&(e[ka]+=65536),(c<r||-1==r)&&(pb(e,n,t,h),e[ka]=(4294901760&e[ka])+h+2),h++}function em(e,t){Fr(4,e,t);const n=Z(null);try{t.call(e)}finally{Z(n),Fr(5,e,t)}}function pb(e,t,n,i){const o=n[i]<0,r=n[i+1],c=e[o?-n[i]:n[i]];o?e[tt]>>14<e[ka]>>16&&(3&e[tt])===t&&(e[tt]+=16384,em(c,r)):em(c,r)}const Va=-1;class Hl{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}const Ch={};class ca{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=rn(i);const o=this.injector.get(t,Ch,i);return o!==Ch||n===Ch?o:this.parentInjector.get(t,n,i)}}function vh(e){return e!==Va}function zl(e){return 32767&e}function Gl(e,t){let n=function vb(e){return e>>16}(e),i=t;for(;n>0;)i=i[Aa],n--;return i}let yh=!0;function gu(e){const t=yh;return yh=e,t}const nm=255,im=5;let wb=0;const Vr={};function mu(e,t){const n=om(e,t);if(-1!==n)return n;const i=t[xe];i.firstCreatePass&&(e.injectorIndex=t.length,wh(i.data,e),wh(t,null),wh(i.blueprint,null));const o=_u(e,t),r=e.injectorIndex;if(vh(o)){const a=zl(o),c=Gl(o,t),h=c[xe].data;for(let y=0;y<8;y++)t[r+y]=c[a+y]|h[a+y]}return t[r+8]=o,r}function wh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function om(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _u(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=hm(o),null===i)return Va;if(n++,o=o[Aa],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Va}function Mh(e,t,n){!function Mb(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(vo)&&(i=n[vo]),null==i&&(i=n[vo]=wb++);const o=i&nm;t.data[e+(o>>im)]|=1<<o}(e,t,n)}function rm(e,t,n){if(n&Dt.Optional||void 0!==e)return e;Js()}function sm(e,t,n,i){if(n&Dt.Optional&&void 0===i&&(i=null),!(n&(Dt.Self|Dt.Host))){const o=e[ii],r=cn(void 0);try{return o?o.get(t,i,n&Dt.Optional):fr(t,i,n&Dt.Optional)}finally{cn(r)}}return rm(i,0,n)}function am(e,t,n,i=Dt.Default,o){if(null!==e){if(2048&t[tt]&&!(i&Dt.Self)){const a=function Ob(e,t,n,i,o){let r=e,a=t;for(;null!==r&&null!==a&&2048&a[tt]&&!(512&a[tt]);){const c=lm(r,a,n,i|Dt.Self,Vr);if(c!==Vr)return c;let h=r.parent;if(!h){const y=a[yg];if(y){const b=y.get(n,Vr,i);if(b!==Vr)return b}h=hm(a),a=a[Aa]}r=h}return o}(e,t,n,i,Vr);if(a!==Vr)return a}const r=lm(e,t,n,i,Vr);if(r!==Vr)return r}return sm(t,n,i,o)}function lm(e,t,n,i,o){const r=function Eb(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(vo)?e[vo]:void 0;return"number"==typeof t?t>=0?t&nm:Sb:t}(n);if("function"==typeof r){if(!Gg(t,e,i))return i&Dt.Host?rm(o,0,i):sm(t,n,i,o);try{let a;if(a=r(i),null!=a||i&Dt.Optional)return a;Js()}finally{Xg()}}else if("number"==typeof r){let a=null,c=om(e,t),h=Va,y=i&Dt.Host?t[xn][Ui]:null;for((-1===c||i&Dt.SkipSelf)&&(h=-1===c?_u(e,t):t[c+8],h!==Va&&um(i,!1)?(a=t[xe],c=zl(h),t=Gl(h,t)):c=-1);-1!==c;){const b=t[xe];if(cm(r,c,b.data)){const N=Db(c,t,n,a,i,y);if(N!==Vr)return N}h=t[c+8],h!==Va&&um(i,t[xe].data[c+8]===y)&&cm(r,c,t)?(a=b,c=zl(h),t=Gl(h,t)):c=-1}}return o}function Db(e,t,n,i,o,r){const a=t[xe],c=a.data[e+8],b=Cu(c,a,n,null==i?ra(c)&&yh:i!=a&&!!(3&c.type),o&Dt.Host&&r===c);return null!==b?ua(t,a,b,c):Vr}function Cu(e,t,n,i,o){const r=e.providerIndexes,a=t.data,c=1048575&r,h=e.directiveStart,b=r>>20,B=o?c+b:e.directiveEnd;for(let G=i?c:c+b;G<B;G++){const ne=a[G];if(G<h&&n===ne||G>=h&&ne.type===n)return G}if(o){const G=a[h];if(G&&_r(G)&&G.type===n)return h}return null}function ua(e,t,n,i){let o=e[n];const r=t.data;if(function gb(e){return e instanceof Hl}(o)){const a=o;a.resolving&&function Il(e,t){throw t&&t.join(" > "),new Ne(-200,e)}(function St(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ot(e)}(r[n]));const c=gu(a.canSeeViewProviders);a.resolving=!0;const y=a.injectImpl?cn(a.injectImpl):null;Gg(e,i,Dt.Default);try{o=e[n]=a.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&function fb(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){const a=Sg(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}o&&(n.preOrderHooks??=[]).push(0-e,o),r&&((n.preOrderHooks??=[]).push(e,r),(n.preOrderCheckHooks??=[]).push(e,r))}(n,r[n],t)}finally{null!==y&&cn(y),gu(c),a.resolving=!1,Xg()}}return o}function cm(e,t,n){return!!(n[t+(e>>im)]&1<<e)}function um(e,t){return!(e&Dt.Self||e&Dt.Host&&t)}class mi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return am(this._tNode,this._lView,t,rn(i),n)}}function Sb(){return new mi(an(),pe())}function dm(e){return Wi(()=>{const t=e.prototype.constructor,n=t[Co]||bh(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[Co]||bh(o);if(r&&r!==n)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function bh(e){return so(e)?()=>{const t=bh(Ye(e));return t&&t()}:pr(e)}function hm(e){const t=e[xe],n=t.type;return 2===n?t.declTNode:1===n?e[Ui]:null}function vu(e){return function bb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const r=n[o];if(At(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(r===t)return n[o+1];o+=2}}}return null}(an(),e)}function _m(e,t=null,n=null,i){const o=Cm(e,t,n,i);return o.resolveInjectorInitializers(),o}function Cm(e,t=null,n=null,i,o=new Set){const r=[n||Gt,MM(e)];return i=i||("object"==typeof e?void 0:bn(e)),new xa(r,t||eu(),i||null,o)}class $i{static#e=this.THROW_IF_NOT_FOUND=ss;static#t=this.NULL=new g;static create(t,n){if(Array.isArray(t))return _m({name:""},n,t,"");{const i=t.name??"";return _m({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=Qt({token:$i,providedIn:"any",factory:()=>ut(R)});static#i=this.__NG_ELEMENT_ID__=-1}new it("").__NG_ELEMENT_ID__=e=>{const t=an();if(null===t)throw new Ne(204,!1);if(2&t.type)return t.value;if(e&Dt.Optional)return null;throw new Ne(204,!1)};function Eh(e){return e.ngOriginalError}const ym=!0;let ja=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Lb;static#t=this.__NG_ENV_ID__=n=>n}return e})();class Fb extends ja{constructor(t){super(),this._lView=t}onDestroy(t){return cu(this._lView,t),()=>function ah(e,t){if(null===e[Ls])return;const n=e[Ls].indexOf(t);-1!==n&&e[Ls].splice(n,1)}(this._lView,t)}}function Lb(){return new Fb(pe())}let da=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new nn.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=Qt({token:e,providedIn:"root",factory:()=>new e})}return e})();const Br=class Vb extends _n.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,_g()&&(this.destroyRef=Ee(ja,{optional:!0})??void 0,this.pendingTasks=Ee(da,{optional:!0})??void 0)}emit(t){const n=Z(null);try{super.next(t)}finally{Z(n)}}subscribe(t,n,i){let o=t,r=n||(()=>null),a=i;if(t&&"object"==typeof t){const h=t;o=h.next?.bind(h),r=h.error?.bind(h),a=h.complete?.bind(h)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),a&&(a=this.wrapInTimeout(a)));const c=super.subscribe({next:o,error:r,complete:a});return t instanceof Hi.yU&&t.add(c),c}wrapInTimeout(t){return n=>{const i=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==i&&this.pendingTasks?.remove(i)})}}};function wu(...e){}function wm(e){let t,n;function i(){e=wu;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Mm(e){return queueMicrotask(()=>e()),()=>{e=wu}}const Sh="isAngularZone",Mu=Sh+"_ID";let Bb=0;class In{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Br(!1),this.onMicrotaskEmpty=new Br(!1),this.onStable=new Br(!1),this.onError=new Br(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=ym}=t;if(typeof Zone>"u")throw new Ne(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&i,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=r,function $b(e){const t=()=>{!function jb(e){function t(){wm(()=>{e.callbackScheduled=!1,Ph(e),e.isCheckStableRunning=!0,Oh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ph(e))}(e)},n=Bb++;e._inner=e._inner.fork({name:"angular",properties:{[Sh]:!0,[Mu]:n,[Mu+n]:!0},onInvokeTask:(i,o,r,a,c,h)=>{if(function Hb(e){return Em(e,"__ignore_ng_zone__")}(h))return i.invokeTask(r,a,c,h);try{return bm(e),i.invokeTask(r,a,c,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Dm(e)}},onInvoke:(i,o,r,a,c,h,y)=>{try{return bm(e),i.invoke(r,a,c,h,y)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function zb(e){return Em(e,"__scheduler_tick__")}(h)&&t(),Dm(e)}},onHasTask:(i,o,r,a)=>{i.hasTask(r,a),o===r&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Ph(e),Oh(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,o,r,a)=>(i.handleError(r,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Sh)}static assertInAngularZone(){if(!In.isInAngularZone())throw new Ne(909,!1)}static assertNotInAngularZone(){if(In.isInAngularZone())throw new Ne(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+o,t,Ub,wu,wu);try{return r.runTask(a,n,i)}finally{r.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Ub={};function Oh(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 Ph(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function bm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dm(e){e._nesting--,Oh(e)}class Th{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Br,this.onMicrotaskEmpty=new Br,this.onStable=new Br,this.onError=new Br}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}function Em(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class fs{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Eh(t);for(;n&&Eh(n);)n=Eh(n);return n||null}}const Wb=new it("",{providedIn:"root",factory:()=>{const e=Ee(In),t=Ee(fs);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function qb(){return $a(an(),pe())}function $a(e,t){return new Wl(uo(e,t))}let Wl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=qb}return e})();function Om(e){return e instanceof Wl?e.nativeElement:e}function Kb(){return this._results[Symbol.iterator]()}class xh{static#e=Symbol.iterator;get changes(){return this._changes??=new Br}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=xh.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Kb)}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 i=function Li(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Wc(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],r=t[i];if(n&&(o=n(o),r=n(r)),r!==o)return!1}return!0}(this._results,i,n))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[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 Kl(e){return!(128&~e.flags)}const Rh=new Map;let Qb=0;function Nh(e){Rh.delete(e[Fa])}const bu="__ngContext__";function Yi(e,t){gi(t)?(e[bu]=t[Fa],function Yb(e){Rh.set(e[Fa],e)}(t)):e[bu]=t}function Lm(e){return Bm(e[Fl])}function Vm(e){return Bm(e[mr])}function Bm(e){for(;null!==e&&!Zi(e);)e=e[mr];return e}let kh;function pD(e){kh=e}function Vs(){if(void 0!==kh)return kh;if(typeof document<"u")return document;throw new Ne(210,!1)}const Eu=new it("",{providedIn:"root",factory:()=>gD}),gD="ng",qm=new it(""),Su=new it("",{providedIn:"platform",factory:()=>"unknown"}),mD=new it(""),_D=new it("",{providedIn:"root",factory:()=>Vs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Km=()=>null;function $h(e,t,n=!1){return Km(e,t,n)}const n_=new it("",{providedIn:"root",factory:()=>!1});let Au,ku;function Wa(e){return function qh(){if(void 0===Au&&(Au=null,pn.trustedTypes))try{Au=pn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Au}()?.createHTML(e)||e}function Kh(){if(void 0===ku&&(ku=null,pn.trustedTypes))try{ku=pn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ku}function r_(e){return Kh()?.createHTML(e)||e}function a_(e){return Kh()?.createScriptURL(e)||e}class l_{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cr})`}}function Bs(e){return e instanceof l_?e.changingThisBreaksApplicationSecurity:e}function tc(e,t){const n=function FD(e){return e instanceof l_&&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 ${cr})`)}return n===t}class LD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Wa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class VD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wa(t),n}}const UD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xh(e){return(e=String(e)).match(UD)?e:"unsafe:"+e}function ps(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function nc(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const u_=ps("area,br,col,hr,img,wbr"),d_=ps("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),h_=ps("rp,rt"),Qh=nc(u_,nc(d_,ps("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),nc(h_,ps("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),nc(h_,d_)),Zh=ps("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),f_=nc(Zh,ps("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"),ps("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")),jD=ps("script,style,template");class $D{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)o.push(n),n=GD(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=zD(n);if(r){n=r;break}n=o.pop()}return this.buf.join("")}startElement(t){const n=p_(t).toLowerCase();if(!Qh.hasOwnProperty(n))return this.sanitizedSomething=!0,!jD.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const r=i.item(o),a=r.name,c=a.toLowerCase();if(!f_.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let h=r.value;Zh[c]&&(h=Xh(h)),this.buf.push(" ",a,'="',m_(h),'"')}return this.buf.push(">"),!0}endElement(t){const n=p_(t).toLowerCase();Qh.hasOwnProperty(n)&&!u_.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(m_(t))}}function zD(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw g_(t);return t}function GD(e){const t=e.firstChild;if(t&&function HD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw g_(t);return t}function p_(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function g_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const WD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qD=/([^\#-~ |!])/g;function m_(e){return e.replace(/&/g,"&").replace(WD,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Fu;function Yh(e){return"content"in e&&function XD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var qa=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}(qa||{});function __(e){const t=ic();return t?r_(t.sanitize(qa.HTML,e)||""):tc(e,"HTML")?r_(Bs(e)):function KD(e,t){let n=null;try{Fu=Fu||function c_(e){const t=new VD(e);return function BD(){try{return!!(new window.DOMParser).parseFromString(Wa(""),"text/html")}catch{return!1}}()?new LD(t):t}(e);let i=t?String(t):"";n=Fu.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=n.innerHTML,n=Fu.getInertBodyElement(i)}while(i!==r);return Wa((new $D).sanitizeChildren(Yh(n)||n))}finally{if(n){const i=Yh(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}(Vs(),ot(e))}function C_(e){const t=ic();return t?t.sanitize(qa.URL,e)||"":tc(e,"URL")?Bs(e):Xh(ot(e))}function v_(e){const t=ic();if(t)return a_(t.sanitize(qa.RESOURCE_URL,e)||"");if(tc(e,"ResourceURL"))return a_(Bs(e));throw new Ne(904,!1)}function y_(e,t,n){return function eE(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?v_:C_}(t,n)(e)}function ic(){const e=pe();return e&&e[Ar].sanitizer}const tE=/^>|^->|<!--|-->|--!>|<!-$/g,nE=/(<|>)/g,iE="\u200b$1\u200b";function Vo(e){return e instanceof Function?e():e}var Bu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Bu||{});let tf;function nf(e,t){return tf(e,t)}function Xa(e,t,n,i,o){if(null!=i){let r,a=!1;Zi(i)?r=i:gi(i)&&(a=!0,i=i[Tn]);const c=Yt(i);0===e&&null!==n?null==o?N_(t,n,c):fa(t,n,c,o||null,!0):1===e&&null!==n?fa(t,n,c,o||null,!0):2===e?function rc(e,t,n){e.removeChild(null,t,n)}(t,c,a):3===e&&t.destroyNode(c),null!=r&&function bE(e,t,n,i,o){const r=n[kr];r!==Yt(n)&&Xa(t,e,i,r,o);for(let c=$n;c<n.length;c++){const h=n[c];Hu(h[xe],h,e,t,i,r)}}(t,e,r,n,o)}}function sf(e,t){return e.createComment(function w_(e){return e.replace(tE,t=>t.replace(nE,iE))}(t))}function Uu(e,t,n){return e.createElement(t,n)}function x_(e,t){t[Ar].changeDetectionScheduler?.notify(9),Hu(e,t,t[st],2,null,null)}function I_(e,t){const n=e[La],i=t[ni];(gi(i)||t[xn]!==i[ni][xn])&&(e[tt]|=ru.HasTransplantedViews),null===n?e[La]=[t]:n.push(t)}function af(e,t){const n=e[La],i=n.indexOf(t);n.splice(i,1)}function oc(e,t){if(e.length<=$n)return;const n=$n+t,i=e[n];if(i){const o=i[oa];null!==o&&o!==e&&af(o,i),t>0&&(e[n-1][mr]=i[mr]);const r=Ns(e,$n+t);!function gE(e,t){x_(e,t),t[Tn]=null,t[Ui]=null}(i[xe],i);const a=r[cs];null!==a&&a.detachView(r[xe]),i[ni]=null,i[mr]=null,i[tt]&=-129}return i}function ju(e,t){if(!(256&t[tt])){const n=t[st];n.destroyNode&&Hu(e,t,n,3,null,null),function _E(e){let t=e[Fl];if(!t)return lf(e[xe],e);for(;t;){let n=null;if(gi(t))n=t[Fl];else{const i=t[$n];i&&(n=i)}if(!n){for(;t&&!t[mr]&&t!==e;)gi(t)&&lf(t[xe],t),t=t[ni];null===t&&(t=e),gi(t)&&lf(t[xe],t),n=t&&t[mr]}t=n}}(t)}}function lf(e,t){if(256&t[tt])return;const n=Z(null);try{t[tt]&=-129,t[tt]|=256,t[er]&&Ut(t[er]),function yE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof Hl)){const r=n[i+1];if(Array.isArray(r))for(let a=0;a<r.length;a+=2){const c=o[r[a]],h=r[a+1];Fr(4,c,h);try{h.call(c)}finally{Fr(5,c,h)}}else{Fr(4,o,r);try{r.call(o)}finally{Fr(5,o,r)}}}}}(e,t),function vE(e,t){const n=e.cleanup,i=t[Na];if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const a=n[r+3];a>=0?i[a]():i[-a].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);null!==i&&(t[Na]=null);const o=t[Ls];if(null!==o){t[Ls]=null;for(let r=0;r<o.length;r++)(0,o[r])()}}(e,t),1===t[xe].type&&t[st].destroy();const i=t[oa];if(null!==i&&Zi(t[ni])){i!==t[ni]&&af(i,t);const o=t[cs];null!==o&&o.detachView(e)}Nh(t)}finally{Z(n)}}function cf(e,t,n){return function R_(e,t,n){let i=t;for(;null!==i&&168&i.type;)i=(t=i).parent;if(null===i)return n[Tn];{const{componentOffset:o}=i;if(o>-1){const{encapsulation:r}=e.data[i.directiveStart+o];if(r===j.None||r===j.Emulated)return null}return uo(i,n)}}(e,t.parent,n)}function fa(e,t,n,i,o){e.insertBefore(t,n,i,o)}function N_(e,t,n){e.appendChild(t,n)}function A_(e,t,n,i,o){null!==i?fa(e,t,n,i,o):N_(e,t,n)}function uf(e,t){return e.parentNode(t)}function k_(e,t,n){return L_(e,t,n)}let df,L_=function F_(e,t,n){return 40&e.type?uo(e,n):null};function $u(e,t,n,i){const o=cf(e,i,t),r=t[st],c=k_(i.parent||t[Ui],i,t);if(null!=o)if(Array.isArray(n))for(let h=0;h<n.length;h++)A_(r,o,n[h],c,!1);else A_(r,o,n,c,!1);void 0!==df&&df(r,i,t,n,o)}function pa(e,t){if(null!==t){const n=t.type;if(3&n)return uo(t,e);if(4&n)return hf(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return pa(e,i);{const o=e[t.index];return Zi(o)?hf(-1,o):Yt(o)}}if(128&n)return pa(e,t.next);if(32&n)return nf(t,e)()||Yt(e[t.index]);{const i=B_(e,t);return null!==i?Array.isArray(i)?i[0]:pa(us(e[xn]),i):pa(e,t.next)}}return null}function B_(e,t){return null!==t?e[xn][Ui].projection[t.projection]:null}function hf(e,t){const n=$n+e+1;if(n<t.length){const i=t[n],o=i[xe].firstChild;if(null!==o)return pa(i,o)}return t[kr]}function ff(e,t,n,i,o,r,a){for(;null!=n;){if(128===n.type){n=n.next;continue}const c=i[n.index],h=n.type;if(a&&0===t&&(c&&Yi(Yt(c),i),n.flags|=2),32&~n.flags)if(8&h)ff(e,t,n.child,i,o,r,!1),Xa(t,e,o,c,r);else if(32&h){const y=nf(n,i);let b;for(;b=y();)Xa(t,e,o,b,r);Xa(t,e,o,c,r)}else 16&h?j_(e,t,i,n,o,r):Xa(t,e,o,c,r);n=a?n.projectionNext:n.next}}function Hu(e,t,n,i,o,r){ff(n,i,e.firstChild,t,o,r,!1)}function j_(e,t,n,i,o,r){const a=n[xn],h=a[Ui].projection[i.projection];if(Array.isArray(h))for(let y=0;y<h.length;y++)Xa(t,e,o,h[y],r);else{let y=h;const b=a[ni];Kl(i)&&(y.flags|=128),ff(e,t,y,b,o,r,!0)}}function $_(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function H_(e,t,n){const{mergedAttrs:i,classes:o,styles:r}=n;null!==i&&Xe(e,t,i),null!==o&&$_(e,t,o),null!==r&&function EE(e,t,n){e.setAttribute(t,"style",n)}(e,t,r)}const vt={};function z_(e=1){G_(Ot(),pe(),ji()+e,!1)}function G_(e,t,n,i){if(!i)if(3&~t[tt]){const r=e.preOrderHooks;null!==r&&pu(t,r,0,n)}else{const r=e.preOrderCheckHooks;null!==r&&fu(t,r,n)}la(n)}function Qa(e,t=Dt.Default){const n=pe();return null===n?ut(e,t):am(an(),n,Ye(e),t)}function W_(){throw new Error("invalid")}function q_(e,t,n,i,o,r){const a=Z(null);try{let c=null;o&he.SignalBased&&(c=t[i][J]),null!==c&&void 0!==c.transformFn&&(r=c.transformFn(r)),o&he.HasDecoratorInputTransform&&(r=e.inputTransforms[i].call(t,r)),null!==e.setInput?e.setInput(t,c,r,n,i):Eg(t,c,i,r)}finally{Z(a)}}function zu(e,t,n,i,o,r,a,c,h,y,b){const N=t.blueprint.slice();return N[Tn]=o,N[tt]=204|i,(null!==y||e&&2048&e[tt])&&(N[tt]|=2048),Ig(N),N[ni]=N[Aa]=e,N[gn]=n,N[Ar]=a||e&&e[Ar],N[st]=c||e&&e[st],N[ii]=h||e&&e[ii]||null,N[Ui]=r,N[Fa]=function Zb(){return Qb++}(),N[co]=b,N[yg]=y,N[xn]=2==t.type?e[xn]:N,N}function ga(e,t,n,i,o){let r=e.data[t];if(null===r)r=function pf(e,t,n,i,o){const r=Vg(),a=ch(),h=e.data[t]=function NE(e,t,n,i,o,r){let a=t?t.injectorIndex:-1,c=0;return aa()&&(c|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:o,attrs:r,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,a?r:r&&r.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=h),null!==r&&(a?null==r.child&&null!==h.parent&&(r.child=h):null===r.next&&(r.next=h,h.prev=r)),h}(e,t,n,i,o),function rb(){return at.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=n,r.value=i,r.attrs=o;const a=function jl(){const e=at.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();r.injectorIndex=null===a?-1:a.injectorIndex}return Cr(r,!0),r}function sc(e,t,n,i){if(0===n)return-1;const o=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function K_(e,t,n,i,o){const r=ji(),a=2&i;try{la(-1),a&&t.length>Ke&&G_(e,t,Ke,!1),Fr(a?2:0,o),n(i,o)}finally{la(r),Fr(a?3:1,o)}}function gf(e,t,n){if(Jd(t)){const i=Z(null);try{const r=t.directiveEnd;for(let a=t.directiveStart;a<r;a++){const c=e.data[a];c.contentQueries&&c.contentQueries(1,n[a],a)}}finally{Z(i)}}}function mf(e,t,n){kg()&&(function UE(e,t,n,i){const o=n.directiveStart,r=n.directiveEnd;ra(n)&&function qE(e,t,n){const i=uo(t,e),o=X_(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const c=Gu(e,zu(e,o,null,a,i,t,null,e[Ar].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=c}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||mu(n,t),Yi(i,t);const a=n.initialInputs;for(let c=o;c<r;c++){const h=e.data[c],y=ua(t,e,c,n);Yi(y,t),null!==a&&KE(0,c-o,y,h,0,a),_r(h)&&(Lo(n.index,t)[gn]=ua(t,e,c,n))}}(e,t,n,uo(n,t)),!(64&~n.flags)&&eC(e,t,n))}function _f(e,t,n=uo){const i=t.localNames;if(null!==i){let o=t.index+1;for(let r=0;r<i.length;r+=2){const a=i[r+1],c=-1===a?n(t,e):e[a];e[o++]=c}}}function X_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Cf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Cf(e,t,n,i,o,r,a,c,h,y,b){const N=Ke+i,B=N+o,G=function OE(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:vt);return n}(N,B),ne="function"==typeof y?y():y;return G[xe]={type:e,blueprint:G,template:n,queries:null,viewQuery:c,declTNode:t,data:G.slice().fill(null,N),bindingStartIndex:N,expandoStartIndex:B,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 r?r():r,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:h,consts:ne,incompleteFirstPass:!1,ssrId:b}}let Q_=()=>null;function Z_(e,t,n,i,o){for(let r in t){if(!t.hasOwnProperty(r))continue;const a=t[r];if(void 0===a)continue;i??={};let c,h=he.None;Array.isArray(a)?(c=a[0],h=a[1]):c=a;let y=r;if(null!==o){if(!o.hasOwnProperty(r))continue;y=o[r]}0===e?Y_(i,n,y,c,h):Y_(i,n,y,c)}return i}function Y_(e,t,n,i,o){let r;e.hasOwnProperty(n)?(r=e[n]).push(t,i):r=e[n]=[t,i],void 0!==o&&r.push(o)}function Mo(e,t,n,i,o,r,a,c){const h=uo(t,n);let b,y=t.inputs;!c&&null!=y&&(b=y[i])?(bf(e,n,b,i,o),ra(t)&&function FE(e,t){const n=Lo(t,e);16&n[tt]||(n[tt]|=64)}(n,t.index)):3&t.type&&(i=function kE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=a?a(o,t.value||"",i):o,r.setProperty(h,i,o))}function vf(e,t,n,i){if(kg()){const o=null===i?null:{"":-1},r=function $E(e,t){const n=e.directiveRegistry;let i=null,o=null;if(n)for(let r=0;r<n.length;r++){const a=n[r];if(D(t,a.selectors,!1))if(i||(i=[]),_r(a))if(null!==a.findHostDirectiveDefs){const c=[];o=o||new Map,a.findHostDirectiveDefs(a,c,o),i.unshift(...c,a),yf(e,t,c.length)}else i.unshift(a),yf(e,t,0);else o=o||new Map,a.findHostDirectiveDefs?.(a,i,o),i.push(a)}return null===i?null:[i,o]}(e,n);let a,c;null===r?a=c=null:[a,c]=r,null!==a&&J_(e,t,n,a,o,c),o&&function HE(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const r=n[t[o+1]];if(null==r)throw new Ne(-301,!1);i.push(t[o],r)}}}(n,i,o)}n.mergedAttrs=Dn(n.mergedAttrs,n.attrs)}function J_(e,t,n,i,o,r){for(let y=0;y<i.length;y++)Mh(mu(n,t),e,i[y].type);!function GE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let y=0;y<i.length;y++){const b=i[y];b.providersResolver&&b.providersResolver(b)}let a=!1,c=!1,h=sc(e,t,i.length,null);for(let y=0;y<i.length;y++){const b=i[y];n.mergedAttrs=Dn(n.mergedAttrs,b.hostAttrs),WE(e,n,t,h,b),zE(h,b,o),null!==b.contentQueries&&(n.flags|=4),(null!==b.hostBindings||null!==b.hostAttrs||0!==b.hostVars)&&(n.flags|=64);const N=b.type.prototype;!a&&(N.ngOnChanges||N.ngOnInit||N.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!c&&(N.ngOnChanges||N.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),c=!0),h++}!function AE(e,t,n){const o=t.directiveEnd,r=e.data,a=t.attrs,c=[];let h=null,y=null;for(let b=t.directiveStart;b<o;b++){const N=r[b],B=n?n.get(N):null,ne=B?B.outputs:null;h=Z_(0,N.inputs,b,h,B?B.inputs:null),y=Z_(1,N.outputs,b,y,ne);const _e=null===h||null===a||Rr(t)?null:XE(h,b,a);c.push(_e)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=8),h.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=c,t.inputs=h,t.outputs=y}(e,n,r)}function eC(e,t,n){const i=n.directiveStart,o=n.directiveEnd,r=n.index,a=function ab(){return at.lFrame.currentDirectiveIndex}();try{la(r);for(let c=i;c<o;c++){const h=e.data[c],y=t[c];dh(c),(null!==h.hostBindings||0!==h.hostVars||null!==h.hostAttrs)&&jE(h,y)}}finally{la(-1),dh(a)}}function jE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function yf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zE(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;_r(t)&&(n[""]=e)}}function WE(e,t,n,i,o){e.data[i]=o;const r=o.factory||(o.factory=pr(o.type)),a=new Hl(r,_r(o),Qa);e.blueprint[i]=a,n[i]=a,function VE(e,t,n,i,o){const r=o.hostBindings;if(r){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const c=~t.index;(function BE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=c&&a.push(c),a.push(n,i,r)}}(e,t,i,sc(e,n,o.hostVars,vt),o)}function Ur(e,t,n,i,o,r){const a=uo(e,t);!function wf(e,t,n,i,o,r,a){if(null==r)e.removeAttribute(t,o,n);else{const c=null==a?ot(r):a(r,i||"",o);e.setAttribute(t,o,c,n)}}(t[st],a,r,e.value,n,i,o)}function KE(e,t,n,i,o,r){const a=r[t];if(null!==a)for(let c=0;c<a.length;)q_(i,n,a[c++],a[c++],a[c++],a[c++])}function XE(e,t,n){let i=null,o=0;for(;o<n.length;){const r=n[o];if(0!==r)if(5!==r){if("number"==typeof r)break;if(e.hasOwnProperty(r)){null===i&&(i=[]);const a=e[r];for(let c=0;c<a.length;c+=3)if(a[c]===t){i.push(r,a[c+1],a[c+2],n[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function tC(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function nC(e,t){const n=e.contentQueries;if(null!==n){const i=Z(null);try{for(let o=0;o<n.length;o+=2){const a=n[o+1];if(-1!==a){const c=e.data[a];du(n[o]),c.contentQueries(2,t[a],a)}}}finally{Z(i)}}}function Gu(e,t){return e[Fl]?e[vg][mr]=t:e[Fl]=t,e[vg]=t,t}function Mf(e,t,n){du(0);const i=Z(null);try{t(e,n)}finally{Z(i)}}function iC(e){return e[Na]??=[]}function oC(e){return e.cleanup??=[]}function Wu(e,t){const n=e[ii],i=n?n.get(fs,null):null;i&&i.handleError(t)}function bf(e,t,n,i,o){for(let r=0;r<n.length;){const a=n[r++],c=n[r++],h=n[r++];q_(e.data[a],t[a],i,c,h,o)}}function gs(e,t,n){const i=Bl(t,e);!function T_(e,t,n){e.setValue(t,n)}(e[st],i,n)}function QE(e,t){const n=Lo(t,e),i=n[xe];!function ZE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const o=n[Tn];null!==o&&null===n[co]&&(n[co]=$h(o,n[ii])),Df(i,n,n[gn])}function Df(e,t,n){ph(t);try{const i=e.viewQuery;null!==i&&Mf(1,i,n);const o=e.template;null!==o&&K_(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[cs]?.finishViewCreation(e),e.staticContentQueries&&nC(e,t),e.staticViewQueries&&Mf(2,e.viewQuery,n);const r=e.components;null!==r&&function YE(e,t){for(let n=0;n<t.length;n++)QE(e,t[n])}(t,r)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[tt]&=-5,gh()}}function Za(e,t,n,i){const o=Z(null);try{const r=t.tView,h=zu(e,r,n,4096&e[tt]?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);h[oa]=e[t.index];const b=e[cs];return null!==b&&(h[cs]=b.createEmbeddedView(r)),Df(r,h,n),h}finally{Z(o)}}function ma(e,t){return!t||null===t.firstChild||Kl(e)}function Ya(e,t,n,i=!0){const o=t[xe];if(function CE(e,t,n,i){const o=$n+i,r=n.length;i>0&&(n[o-1][mr]=t),i<r-$n?(t[mr]=n[o],ta(n,$n+i,t)):(n.push(t),t[mr]=null),t[ni]=n;const a=t[oa];null!==a&&n!==a&&I_(a,t);const c=t[cs];null!==c&&c.insertView(e),sh(t),t[tt]|=128}(o,t,e,n),i){const a=hf(n,e),c=t[st],h=uf(c,e[kr]);null!==h&&function mE(e,t,n,i,o,r){i[Tn]=o,i[Ui]=t,Hu(e,i,n,1,o,r)}(o,e[Ui],c,t,h,a)}const r=t[co];null!==r&&null!==r.firstChild&&(r.firstChild=null)}function ac(e,t,n,i,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const r=t[n.index];null!==r&&i.push(Yt(r)),Zi(r)&&aC(r,i);const a=n.type;if(8&a)ac(e,t,n.child,i);else if(32&a){const c=nf(n,t);let h;for(;h=c();)i.push(h)}else if(16&a){const c=B_(t,n);if(Array.isArray(c))i.push(...c);else{const h=us(t[xn]);ac(h[xe],h,c,i,!0)}}n=o?n.projectionNext:n.next}return i}function aC(e,t){for(let n=$n;n<e.length;n++){const i=e[n],o=i[xe].firstChild;null!==o&&ac(i[xe],i,o,t)}e[kr]!==e[Tn]&&t.push(e[kr])}let lC=[];const nS={...te,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{lu(e.lView)},consumerOnSignalRead(){this.lView[er]=this}},oS={...te,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=us(e.lView);for(;t&&!cC(t[xe]);)t=us(t);t&&Rg(t)},consumerOnSignalRead(){this.lView[er]=this}};function cC(e){return 2!==e.type}const rS=100;function qu(e,t=!0,n=0){const i=e[Ar],o=i.rendererFactory;o.begin?.();try{!function sS(e,t){const n=jg();try{$g(!0),Sf(e,t);let i=0;for(;au(e);){if(i===rS)throw new Ne(103,!1);i++,Sf(e,1)}}finally{$g(n)}}(e,n)}catch(a){throw t&&Wu(e,a),a}finally{o.end?.(),i.inlineEffectRunner?.flush()}}function aS(e,t,n,i){const o=t[tt];if(!(256&~o))return;t[Ar].inlineEffectRunner?.flush(),ph(t);let c=!0,h=null,y=null;cC(e)?(y=function JE(e){return e[er]??function eS(e){const t=lC.pop()??Object.create(nS);return t.lView=e,t}(e)}(t),h=Fe(y)):null===Y()?(c=!1,y=function iS(e){const t=e[er]??Object.create(oS);return t.lView=e,t}(t),h=Fe(y)):t[er]&&(Ut(t[er]),t[er]=null);try{Ig(t),function Hg(e){return at.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&K_(e,t,n,2,i);const b=!(3&~o);if(b){const G=e.preOrderCheckHooks;null!==G&&fu(t,G,null)}else{const G=e.preOrderHooks;null!==G&&pu(t,G,0,null),mh(t,0)}if(function lS(e){for(let t=Lm(e);null!==t;t=Vm(t)){if(!(t[tt]&ru.HasTransplantedViews))continue;const n=t[La];for(let i=0;i<n.length;i++)Rg(n[i])}}(t),dC(t,0),null!==e.contentQueries&&nC(e,t),b){const G=e.contentCheckHooks;null!==G&&fu(t,G)}else{const G=e.contentHooks;null!==G&&pu(t,G,1),mh(t,1)}!function SE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)la(~o);else{const r=o,a=n[++i],c=n[++i];sb(a,r),c(2,t[r])}}}finally{la(-1)}}(e,t);const N=e.components;null!==N&&fC(t,N,0);const B=e.viewQuery;if(null!==B&&Mf(2,B,i),b){const G=e.viewCheckHooks;null!==G&&fu(t,G)}else{const G=e.viewHooks;null!==G&&pu(t,G,2),mh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[iu]){for(const G of t[iu])G();t[iu]=null}t[tt]&=-73}catch(b){throw lu(t),b}finally{null!==y&&(We(y,h),c&&function tS(e){e.lView[er]!==e&&(e.lView=null,lC.push(e))}(y)),gh()}}function dC(e,t){for(let n=Lm(e);null!==n;n=Vm(n))for(let i=$n;i<n.length;i++)hC(n[i],t)}function cS(e,t,n){hC(Lo(t,e),n)}function hC(e,t){rh(e)&&Sf(e,t)}function Sf(e,t){const i=e[xe],o=e[tt],r=e[er];let a=!!(0===t&&16&o);if(a||=!!(64&o&&0===t),a||=!!(1024&o),a||=!(!r?.dirty||!nt(r)),a||=!1,r&&(r.dirty=!1),e[tt]&=-9217,a)aS(i,e,i.template,e[gn]);else if(8192&o){dC(e,1);const c=i.components;null!==c&&fC(e,c,1)}}function fC(e,t,n){for(let i=0;i<t.length;i++)cS(e,t[i],n)}function lc(e,t){const n=jg()?64:1088;for(e[Ar].changeDetectionScheduler?.notify(t);e;){e[tt]|=n;const i=us(e);if(Vl(e)&&!i)return e;e=i}return null}class cc{get rootNodes(){const t=this._lView,n=t[xe];return ac(n,t,n.firstChild,[])}constructor(t,n,i=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[gn]}set context(t){this._lView[gn]=t}get destroyed(){return!(256&~this._lView[tt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[ni];if(Zi(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(oc(t,i),Ns(n,i))}this._attachedToViewContainer=!1}ju(this._lView[xe],this._lView)}onDestroy(t){cu(this._lView,t)}markForCheck(){lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[tt]&=-129}reattach(){sh(this._lView),this._lView[tt]|=128}detectChanges(){this._lView[tt]|=1024,qu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ne(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Vl(this._lView),n=this._lView[oa];null!==n&&!t&&af(n,this._lView),x_(this._lView[xe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ne(902,!1);this._appRef=t;const n=Vl(this._lView),i=this._lView[oa];null!==i&&!n&&I_(i,this._lView),sh(this._lView)}}let uc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hS}return e})();const uS=uc,dS=class extends uS{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const o=Za(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new cc(o)}};function hS(){return Ku(an(),pe())}function Ku(e,t){return 4&e.type?new dS(t,e,$a(e,t)):null}let AC=()=>null;function Ca(e,t){return AC(e,t)}class el{}const Cc=new it("",{providedIn:"root",factory:()=>!1}),kC=new it(""),Lf=new it("");class oO{}class FC{}class sO{resolveComponentFactory(t){throw function rO(e){const t=Error(`No component factory found for ${bn(e)}.`);return t.ngComponent=e,t}(t)}}class ed{static#e=this.NULL=new sO}class Vf{}let aO=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function lO(){const e=pe(),n=Lo(an().index,e);return(gi(n)?n:e)[st]}()}return e})(),cO=(()=>{class e{static#e=this.\u0275prov=Qt({token:e,providedIn:"root",factory:()=>null})}return e})();function Us(e){return!!Qi(e)}function nd(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,r=0;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?r=c:1==r?o=Jr(o,c):2==r&&(i=Jr(i,c+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}class UC extends ed{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=It(t);return new wc(n,this.ngModule)}}function jC(e,t){const n=[];for(const i in e){if(!e.hasOwnProperty(i))continue;const o=e[i];if(void 0===o)continue;const r=Array.isArray(o),a=r?o[0]:o;n.push(t?{propName:a,templateName:i,isSignal:!!((r?o[1]:he.None)&he.SignalBased)}:{propName:a,templateName:i})}return n}class wc extends FC{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=jC(t.inputs,!0);if(null!==n)for(const o of i)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return i}get outputs(){return jC(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ht(e){return e.map(rt).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,o){const r=Z(null);try{let a=(o=o||this.ngModule)instanceof Jo?o:o?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const c=a?new ca(t,a):t,h=c.get(Vf,null);if(null===h)throw new Ne(407,!1);const N={rendererFactory:h,sanitizer:c.get(cO,null),inlineEffectRunner:null,changeDetectionScheduler:c.get(el,null)},B=h.createRenderer(null,this.componentDef),G=this.componentDef.selectors[0][0]||"div",ne=i?function PE(e,t,n,i){const r=i.get(n_,!1)||n===j.ShadowDom,a=e.selectRootElement(t,r);return function TE(e){Q_(e)}(a),a}(B,i,this.componentDef.encapsulation,c):Uu(B,G,function hO(e){const t=e.toLowerCase();return"svg"===t?Tg:"math"===t?"math":null}(G));let _e=512;this.componentDef.signals?_e|=4096:this.componentDef.onPush||(_e|=16);let Ie=null;null!==ne&&(Ie=$h(ne,c,!0));const Ae=Cf(0,null,null,1,0,null,null,null,null,null,null),Ce=zu(null,Ae,null,_e,null,null,N,B,c,null,Ie);ph(Ce);let ft,Bt,dn=null;try{const Wn=this.componentDef;let Do,Dl=null;Wn.findHostDirectiveDefs?(Do=[],Dl=new Map,Wn.findHostDirectiveDefs(Wn,Do,Dl),Do.push(Wn)):Do=[Wn];const vM=function pO(e,t){const n=e[xe],i=Ke;return e[i]=t,ga(n,i,2,"#host",null)}(Ce,ne);dn=function gO(e,t,n,i,o,r,a){const c=o[xe];!function mO(e,t,n,i){for(const o of e)t.mergedAttrs=Dn(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(nd(t,t.mergedAttrs,!0),null!==n&&H_(i,n,t))}(i,e,t,a);let h=null;null!==t&&(h=$h(t,o[ii]));const y=r.rendererFactory.createRenderer(t,n);let b=16;n.signals?b=4096:n.onPush&&(b=64);const N=zu(o,X_(n),null,b,o[e.index],e,r,y,null,null,h);return c.firstCreatePass&&yf(c,e,i.length-1),Gu(o,N),o[e.index]=N}(vM,ne,Wn,Do,Ce,N,B),Bt=Ul(Ae,Ke),ne&&function CO(e,t,n,i){if(i)Xe(e,n,["ng-version","18.2.5"]);else{const{attrs:o,classes:r}=function hn(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let r=e[i];if("string"==typeof r)2===o?""!==r&&t.push(r,e[++i]):8===o&&n.push(r);else{if(!d(o))break;o=r}i++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Xe(e,n,o),r&&r.length>0&&$_(e,n,r.join(" "))}}(B,Wn,ne,i),void 0!==n&&function vO(e,t,n){const i=e.projection=[];for(let o=0;o<t.length;o++){const r=n[o];i.push(null!=r?Array.from(r):null)}}(Bt,this.ngContentSelectors,n),ft=function _O(e,t,n,i,o,r){const a=an(),c=o[xe],h=uo(a,o);J_(c,o,a,n,null,i);for(let b=0;b<n.length;b++)Yi(ua(o,c,a.directiveStart+b,a),o);eC(c,o,a),h&&Yi(h,o);const y=ua(o,c,a.directiveStart+a.componentOffset,a);if(e[gn]=o[gn]=y,null!==r)for(const b of r)b(y,t);return gf(c,a,o),y}(dn,Wn,Do,Dl,Ce,[yO]),Df(Ae,Ce,null)}catch(Wn){throw null!==dn&&Nh(dn),Nh(Ce),Wn}finally{gh()}return new fO(this.componentType,ft,$a(Bt,Ce),Ce,Bt)}finally{Z(r)}}}class fO extends oO{constructor(t,n,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new cc(o,void 0,!1),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const r=this._rootLView;bf(r[xe],r,o,t,n),this.previousInputValues.set(t,n),lc(Lo(this._tNode.index,r),1)}}get injector(){return new mi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function yO(){const e=an();hu(pe()[xe],e)}let id=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wO}return e})();function wO(){return zC(an(),pe())}const MO=id,$C=class extends MO{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return $a(this._hostTNode,this._hostLView)}get injector(){return new mi(this._hostTNode,this._hostLView)}get parentInjector(){const t=_u(this._hostTNode,this._hostLView);if(vh(t)){const n=Gl(t,this._hostLView),i=zl(t);return new mi(n[xe].data[i+8],n)}return new mi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=HC(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-$n}createEmbeddedView(t,n,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const a=Ca(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},r,a);return this.insertImpl(c,o,ma(this._hostTNode,a)),c}createComponent(t,n,i,o,r){const a=t&&!function kl(e){return"function"==typeof e}(t);let c;if(a)c=n;else{const ne=n||{};c=ne.index,i=ne.injector,o=ne.projectableNodes,r=ne.environmentInjector||ne.ngModuleRef}const h=a?t:new wc(It(t)),y=i||this.parentInjector;if(!r&&null==h.ngModule){const _e=(a?y:this.parentInjector).get(Jo,null);_e&&(r=_e)}const b=It(h.componentType??{}),N=Ca(this._lContainer,b?.id??null),G=h.create(y,o,N?.firstChild??null,r);return this.insertImpl(G.hostView,c,ma(this._hostTNode,N)),G}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const o=t._lView;if(function QM(e){return Zi(e[ni])}(o)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const h=o[ni],y=new $C(h,h[Ui],h[ni]);y.detach(y.indexOf(t))}}const r=this._adjustIndex(n),a=this._lContainer;return Ya(a,o,r,i),t.attachToViewContainerRef(),ta(jf(a),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=HC(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=oc(this._lContainer,n);i&&(Ns(jf(this._lContainer),n),ju(i[xe],i))}detach(t){const n=this._adjustIndex(t,-1),i=oc(this._lContainer,n);return i&&null!=Ns(jf(this._lContainer),n)?new cc(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function HC(e){return e[8]}function jf(e){return e[8]||(e[8]=[])}function zC(e,t){let n;const i=t[e.index];return Zi(i)?n=i:(n=tC(i,t,null,e),t[e.index]=n,Gu(t,n)),GC(n,t,e,i),new $C(n,e,t)}let GC=function qC(e,t,n,i){if(e[kr])return;let o;o=8&n.type?Yt(i):function bO(e,t){const n=e[st],i=n.createComment(""),o=uo(t,e);return fa(n,uf(n,o),i,function wE(e,t){return e.nextSibling(t)}(n,o),!1),i}(t,n),e[kr]=o},$f=()=>!1;class Hf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Hf(this.queryList)}setDirty(){this.queryList.setDirty()}}class zf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let r=0;r<i;r++){const a=n.getByIndex(r);o.push(this.queries[a.indexInDeclarationView].clone())}return new zf(o)}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!==Xf(t,n).matches&&this.queries[n].setDirty()}}class KC{constructor(t,n,i=null){this.flags=n,this.read=i,this.predicate="string"==typeof t?function IO(e){return e.split(",").map(t=>t.trim())}(t):t}}class Gf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const o=null!==n?n.length:0,r=this.getByIndex(i).embeddedTView(t,o);r&&(r.indexInDeclarationView=i,null!==n?n.push(r):n=[r])}return null!==n?new Gf(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Wf{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 Wf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(t,n,OO(n,r)),this.matchTNodeWithReadOption(t,n,Cu(n,t,r,!1,!1))}else i===uc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Cu(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Wl||o===id||o===uc&&4&n.type)this.addMatch(n.index,-2);else{const r=Cu(n,t,o,!1,!1);null!==r&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function OO(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function TO(e,t,n,i){return-1===n?function PO(e,t){return 11&e.type?$a(e,t):4&e.type?Ku(e,t):null}(t,e):-2===n?function xO(e,t,n){return n===Wl?$a(t,e):n===uc?Ku(t,e):n===id?zC(t,e):void 0}(e,t,i):ua(e,e[xe],n,t)}function XC(e,t,n,i){const o=t[cs].queries[i];if(null===o.matches){const r=e.data,a=n.matches,c=[];for(let h=0;null!==a&&h<a.length;h+=2){const y=a[h];c.push(y<0?null:TO(t,r[y],a[h+1],n.metadata.read))}o.matches=c}return o.matches}function qf(e,t,n,i){const o=e.queries.getByIndex(n),r=o.matches;if(null!==r){const a=XC(e,t,o,n);for(let c=0;c<r.length;c+=2){const h=r[c];if(h>0)i.push(a[c/2]);else{const y=r[c+1],b=t[-h];for(let N=$n;N<b.length;N++){const B=b[N];B[oa]===B[ni]&&qf(B[xe],B,y,i)}if(null!==b[La]){const N=b[La];for(let B=0;B<N.length;B++){const G=N[B];qf(G[xe],G,y,i)}}}}}return i}function QC(e,t,n){const i=new xh(!(4&~n));return function RE(e,t,n,i){const o=iC(t);o.push(n),e.firstCreatePass&&oC(e).push(i,o.length-1)}(e,t,i,i.destroy),(t[cs]??=new zf).queries.push(new Hf(i))-1}function JC(e,t,n){null===e.queries&&(e.queries=new Gf),e.queries.track(new Wf(t,n))}function Xf(e,t){return e.queries.getByIndex(t)}function ev(e,t){const n=e[xe],i=Xf(n,t);return i.crossesNgTemplate?qf(n,e,t,[]):XC(n,e,i,t)}const tv=new Set;function fo(e){tv.has(e)||(tv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function iv(e,t){fo("NgSignals");const n=function Ze(e){const t=Object.create(Fn);t.value=e;const n=()=>(se(t),t.value);return n[J]=t,n}(e),i=n[J];return t?.equal&&(i.equal=t.equal),n.set=o=>tn(i,o),n.update=o=>function $t(e,t){be()||Ge(),tn(e,t(e.value))}(i,o),n.asReadonly=ov.bind(n),n}function ov(){const e=this[J];if(void 0===e.readonlyFn){const t=()=>this();t[J]=e,e.readonlyFn=t}return e.readonlyFn}function rv(e){return function nv(e){return"function"==typeof e&&void 0!==e[J]}(e)&&"function"==typeof e.set}function Zf(e){let t=function mv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(_r(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ne(903,!1);o=t.\u0275dir}if(o){if(n){i.push(o);const a=e;a.inputs=rd(e.inputs),a.inputTransforms=rd(e.inputTransforms),a.declaredInputs=rd(e.declaredInputs),a.outputs=rd(e.outputs);const c=o.hostBindings;c&&WO(e,c);const h=o.viewQuery,y=o.contentQueries;if(h&&zO(e,h),y&&GO(e,y),$O(e,o),_s(e.outputs,o.outputs),_r(o)&&o.data.animation){const b=e.data;b.animation=(b.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let a=0;a<r.length;a++){const c=r[a];c&&c.ngInherit&&c(e),c===Zf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function HO(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Dn(o.hostAttrs,n=Dn(n,o.hostAttrs))}}(i)}function $O(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const i=t.inputs[n];if(void 0!==i&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(i)?i[0]:i;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function rd(e){return e===ko?{}:e===Gt?[]:e}function zO(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function GO(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,r)=>{t(i,o,r),n(i,o,r)}:t}function WO(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}function yv(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];Array.isArray(o)&&o[3]&&(n[i]=o[3])}e.inputTransforms=n}class va{}class wv{}function YO(e,t){return new Yf(e,t??null,[])}class Yf extends va{constructor(t,n,i,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new UC(this);const r=Qi(t);this._bootstrapComponents=Vo(r.bootstrap),this._r3Injector=Cm(t,n,[{provide:va,useValue:this},{provide:ed,useValue:this.componentFactoryResolver},...i],bn(t),new Set(["environment"])),o&&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 Jf extends wv{constructor(t){super(),this.moduleType=t}create(t){return new Yf(this.moduleType,t,[])}}class Mv extends va{constructor(t){super(),this.componentFactoryResolver=new UC(this),this.instance=null;const n=new xa([...t.providers,{provide:va,useValue:this},{provide:ed,useValue:this.componentFactoryResolver}],t.parent||eu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ep(e,t,n=null){return new Mv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function sd(e){return!!tp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function tp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function jr(e,t,n){return e[t]=n}function Hn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ya(e,t,n,i){const o=Hn(e,t,n);return Hn(e,t+1,i)||o}function Dc(e,t,n,i,o,r,a,c,h,y){const b=n+Ke,N=t.firstCreatePass?function r1(e,t,n,i,o,r,a,c,h){const y=t.consts,b=ga(t,e,4,a||null,c||null);vf(t,n,b,tr(y,h)),hu(t,b);const N=b.tView=Cf(2,b,i,o,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,y,null);return null!==t.queries&&(t.queries.template(t,b),N.queries=t.queries.embeddedTView(b)),b}(b,t,e,i,o,r,a,c,h):t.data[b];Cr(N,!1);const B=bv(t,e,N,n);$l()&&$u(t,e,B,N),Yi(B,e);const G=tC(B,e,B,N);return e[b]=G,Gu(e,G),function WC(e,t,n){return $f(e,t,n)}(G,N,e),su(N)&&mf(t,e,N),null!=h&&_f(e,N,y),N}function np(e,t,n,i,o,r,a,c){const h=pe(),y=Ot();return Dc(h,y,e,t,n,i,o,tr(y.consts,r),a,c),np}let bv=function Dv(e,t,n,i){return Lr(!0),t[st].createComment("")};function c1(e,t){if(null!==Y())throw new Ne(-602,!1)}var ol=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ol||{});let xv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=Qt({token:e,providedIn:"root",factory:()=>new e})}return e})();class Oc{constructor(){this.ngZone=Ee(In),this.scheduler=Ee(el),this.errorHandler=Ee(fs,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[ol.EarlyRead,ol.Write,ol.MixedReadWrite,ol.Read];execute(){this.executing=!0;for(const t of Oc.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(i){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static#t=this.\u0275prov=Qt({token:Oc,providedIn:"root",factory:()=>new Oc})}class u1{constructor(t,n,i,o){this.impl=t,this.hooks=n,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function dd(e,t){!t?.injector&&tu();const n=t?.injector??Ee($i);return function Bo(e){return"browser"===(e??Ee($i)).get(Su)}(n)?(fo("NgAfterNextRender"),function Iv(e,t,n,i){const o=t.get(xv);o.impl??=t.get(Oc);const a=new u1(o.impl,function h1(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??ol.MixedReadWrite),i,t.get(ja));return o.impl.register(a),a}(e,n,t,!0)):Rv}const Rv={destroy(){}};function fp(e,t,n,i){const o=pe();return Hn(o,vr(),t)&&(Ot(),Ur(mn(),o,e,t,n,i)),fp}function dl(e,t,n,i){return Hn(e,vr(),n)?t+ot(n)+i:vt}function hl(e,t,n,i,o,r){const c=ya(e,function ds(){return at.lFrame.bindingIndex}(),n,o);return hs(2),c?t+ot(n)+i+ot(o)+r:vt}function pd(e,t){return e<<17|t<<2}function Hs(e){return e>>17&32767}function pp(e){return 2|e}function Ma(e){return(131068&e)>>2}function gp(e,t){return-131069&e|t<<2}function mp(e){return 1|e}function oy(e,t,n,i){const o=e[n+1],r=null===t;let a=i?Hs(o):Ma(o),c=!1;for(;0!==a&&(!1===c||r);){const y=e[a+1];K1(e[a],t)&&(c=!0,e[a+1]=i?mp(y):pp(y)),a=i?Hs(y):Ma(y)}c&&(e[n+1]=i?pp(o):mp(o))}function K1(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&As(e,t)>=0}const _i={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ry(e){return e.substring(_i.key,_i.keyEnd)}function sy(e,t){const n=_i.textEnd;return n===t?-1:(t=_i.keyEnd=function Y1(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,_i.key=t,n),vl(e,t,n))}function vl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function _p(e,t,n){const i=pe();return Hn(i,vr(),t)&&Mo(Ot(),mn(),i,e,t,i[st],n,!1),_p}function Cp(e,t,n,i,o){const a=o?"class":"style";bf(e,n,t.inputs[a],a,i)}function vp(e,t,n){return yr(e,t,n,!1),vp}function yp(e,t){return yr(e,t,null,!0),yp}function dy(e){wr(aP,Hr,e,!0)}function Hr(e,t){for(let n=function Q1(e){return function ly(e){_i.key=0,_i.keyEnd=0,_i.value=0,_i.valueEnd=0,_i.textEnd=e.length}(e),sy(e,vl(e,0,_i.textEnd))}(t);n>=0;n=sy(t,n))Xi(e,ry(t),!0)}function yr(e,t,n,i){const o=pe(),r=Ot(),a=hs(2);r.firstUpdatePass&&fy(r,e,a,i),t!==vt&&Hn(o,a,t)&&gy(r,r.data[ji()],o,o[st],e,o[a+1]=function cP(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=bn(Bs(e)))),e}(t,n),i,a)}function wr(e,t,n,i){const o=Ot(),r=hs(2);o.firstUpdatePass&&fy(o,null,r,i);const a=pe();if(n!==vt&&Hn(a,r,n)){const c=o.data[ji()];if(_y(c,i)&&!hy(o,r)){let h=i?c.classesWithoutHost:c.stylesWithoutHost;null!==h&&(n=Jr(h,n||"")),Cp(o,c,a,n,i)}else!function lP(e,t,n,i,o,r,a,c){o===vt&&(o=Gt);let h=0,y=0,b=0<o.length?o[0]:null,N=0<r.length?r[0]:null;for(;null!==b||null!==N;){const B=h<o.length?o[h+1]:void 0,G=y<r.length?r[y+1]:void 0;let _e,ne=null;b===N?(h+=2,y+=2,B!==G&&(ne=N,_e=G)):null===N||null!==b&&b<N?(h+=2,ne=b):(y+=2,ne=N,_e=G),null!==ne&&gy(e,t,n,i,ne,_e,a,c),b=h<o.length?o[h]:null,N=y<r.length?r[y]:null}}(o,c,a,a[st],a[r+1],a[r+1]=function sP(e,t,n){if(null==n||""===n)return Gt;const i=[],o=Bs(n);if(Array.isArray(o))for(let r=0;r<o.length;r++)e(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&e(i,r,o[r]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,r)}}function hy(e,t){return t>=e.expandoStartIndex}function fy(e,t,n,i){const o=e.data;if(null===o[n+1]){const r=o[ji()],a=hy(e,n);_y(r,i)&&null===t&&!a&&(t=!1),t=function nP(e,t,n,i){const o=function hh(e){const t=at.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let r=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=Tc(n=wp(null,e,t,n,i),t.attrs,i),r=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==o)if(n=wp(o,e,t,n,i),null===r){let h=function iP(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Ma(i))return e[Hs(i)]}(e,t,i);void 0!==h&&Array.isArray(h)&&(h=wp(null,e,t,h[1],i),h=Tc(h,t.attrs,i),function oP(e,t,n,i){e[Hs(n?t.classBindings:t.styleBindings)]=i}(e,t,i,h))}else r=function rP(e,t,n){let i;const o=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<o;r++)i=Tc(i,e[r].hostAttrs,n);return Tc(i,t.attrs,n)}(e,t,i)}return void 0!==r&&(i?t.residualClasses=r:t.residualStyles=r),n}(o,r,t,i),function W1(e,t,n,i,o,r){let a=r?t.classBindings:t.styleBindings,c=Hs(a),h=Ma(a);e[i]=n;let b,y=!1;if(Array.isArray(n)?(b=n[1],(null===b||As(n,b)>0)&&(y=!0)):b=n,o)if(0!==h){const B=Hs(e[c+1]);e[i+1]=pd(B,c),0!==B&&(e[B+1]=gp(e[B+1],i)),e[c+1]=function z1(e,t){return 131071&e|t<<17}(e[c+1],i)}else e[i+1]=pd(c,0),0!==c&&(e[c+1]=gp(e[c+1],i)),c=i;else e[i+1]=pd(h,0),0===c?c=i:e[h+1]=gp(e[h+1],i),h=i;y&&(e[i+1]=pp(e[i+1])),oy(e,b,i,!0),oy(e,b,i,!1),function q1(e,t,n,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&As(r,t)>=0&&(n[i+1]=mp(n[i+1]))}(t,b,e,i,r),a=pd(c,h),r?t.classBindings=a:t.styleBindings=a}(o,r,t,n,a,i)}}function wp(e,t,n,i,o){let r=null;const a=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c<a&&(r=t[c],i=Tc(i,r.hostAttrs,o),r!==e);)c++;return null!==e&&(n.directiveStylingLast=c),i}function Tc(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let r=0;r<t.length;r++){const a=t[r];"number"==typeof a?o=a:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Xi(e,a,!!n||t[++r]))}return void 0===e?null:e}function aP(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&Xi(e,i,n)}function gy(e,t,n,i,o,r,a,c){if(!(3&t.type))return;const h=e.data,y=h[c+1],b=function G1(e){return!(1&~e)}(y)?my(h,t,n,o,Ma(y),a):void 0;gd(b)||(gd(r)||function H1(e){return!(2&~e)}(y)&&(r=my(h,null,n,o,c,a)),function DE(e,t,n,i,o){if(t)o?e.addClass(n,i):e.removeClass(n,i);else{let r=-1===i.indexOf("-")?void 0:Bu.DashCase;null==o?e.removeStyle(n,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Bu.Important),e.setStyle(n,i,o,r))}}(i,a,Bl(ji(),n),o,r))}function my(e,t,n,i,o,r){const a=null===t;let c;for(;o>0;){const h=e[o],y=Array.isArray(h),b=y?h[1]:h,N=null===b;let B=n[o+1];B===vt&&(B=N?Gt:void 0);let G=N?Rl(B,i):b===i?B:void 0;if(y&&!gd(G)&&(G=Rl(h,i)),gd(G)&&(c=G,a))return c;const ne=e[o+1];o=a?Hs(ne):Ma(ne)}if(null!==t){let h=r?t.residualClasses:t.residualStyles;null!=h&&(c=Rl(h,i))}return c}function gd(e){return void 0!==e}function _y(e,t){return!!(e.flags&(t?8:16))}function Cy(e,t,n){wr(Xi,Hr,dl(pe(),e,t,n),!0)}function My(e,t){fo("NgControlFlow");const n=pe(),i=vr(),o=n[i]!==vt?n[i]:-1,r=-1!==o?md(n,Ke+o):void 0;if(Hn(n,i,e)){const c=Z(null);try{if(void 0!==r&&function Ef(e,t){const n=oc(e,t);return void 0!==n&&ju(n[xe],n),n}(r,0),-1!==e){const h=Ke+e,y=md(n,h),b=function Dp(e,t){return Ul(e,t)}(n[xe],h),N=Ca(y,b.tView.ssrId);Ya(y,Za(n,b,t,{dehydratedView:N}),0,ma(b,N))}}finally{Z(c)}}else if(void 0!==r){const c=function sC(e,t){const n=$n+t;if(n<e.length)return e[n]}(r,0);void 0!==c&&(c[gn]=t)}}function md(e,t){return e[t]}function _d(e,t,n,i){const o=pe(),r=Ot(),a=Ke+e,c=o[st],h=r.firstCreatePass?function xP(e,t,n,i,o,r){const a=t.consts,h=ga(t,e,2,i,tr(a,o));return vf(t,n,h,tr(a,r)),null!==h.attrs&&nd(h,h.attrs,!1),null!==h.mergedAttrs&&nd(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(a,r,o,t,n,i):r.data[a],y=by(r,o,h,c,t,e);o[a]=y;const b=su(h);return Cr(h,!0),H_(c,y,h),!function nl(e){return!(32&~e.flags)}(h)&&$l()&&$u(r,o,y,h),0===function ZM(){return at.lFrame.elementDepthCount}()&&Yi(y,o),function YM(){at.lFrame.elementDepthCount++}(),b&&(mf(r,o,h),gf(r,h,o)),null!==i&&_f(o,h),_d}function Cd(){let e=an();ch()?uh():(e=e.parent,Cr(e,!1));const t=e;(function eb(e){return at.skipHydrationRootTNode===e})(t)&&function ob(){at.skipHydrationRootTNode=null}(),function JM(){at.lFrame.elementDepthCount--}();const n=Ot();return n.firstCreatePass&&(hu(n,e),Jd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _b(e){return!!(8&e.flags)}(t)&&Cp(n,t,pe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cb(e){return!!(16&e.flags)}(t)&&Cp(n,t,pe(),t.stylesWithoutHost,!1),Cd}function Ep(e,t,n,i){return _d(e,t,n,i),Cd(),Ep}let by=(e,t,n,i,o,r)=>(Lr(!0),Uu(i,o,function Zg(){return at.lFrame.currentNamespace}()));function vd(e,t,n){const i=pe(),o=Ot(),r=e+Ke,a=o.firstCreatePass?function NP(e,t,n,i,o){const r=t.consts,a=tr(r,i),c=ga(t,e,8,"ng-container",a);return null!==a&&nd(c,a,!0),vf(t,n,c,tr(r,o)),null!==t.queries&&t.queries.elementStart(t,c),c}(r,o,i,t,n):o.data[r];Cr(a,!0);const c=Dy(o,i,a,e);return i[r]=c,$l()&&$u(o,i,c,a),Yi(c,i),su(a)&&(mf(o,i,a),gf(o,a,i)),null!=n&&_f(i,a),vd}function yd(){let e=an();const t=Ot();return ch()?uh():(e=e.parent,Cr(e,!1)),t.firstCreatePass&&(hu(t,e),Jd(e)&&t.queries.elementEnd(e)),yd}function Sp(e,t,n){return vd(e,t,n),yd(),Sp}let Dy=(e,t,n,i)=>(Lr(!0),sf(t[st],""));function Ey(){return pe()}const ba=void 0;var LP=["en",[["a","p"],["AM","PM"],ba],[["AM","PM"],ba,ba],[["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"]],ba,[["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"]],ba,[["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}",ba,"{1} 'at' {0}",ba],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FP(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let yl={};function Op(e){const t=function VP(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ty(t);if(n)return n;const i=t.split("-")[0];if(n=Ty(i),n)return n;if("en"===i)return LP;throw new Ne(701,!1)}function Py(e){return Op(e)[wl.PluralCase]}function Ty(e){return e in yl||(yl[e]=pn.ng&&pn.ng.common&&pn.ng.common.locales&&pn.ng.common.locales[e]),yl[e]}var wl=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}(wl||{});const wd="en-US";let xy=wd,Ky=(e,t,n)=>{};function xp(e,t,n,i){const o=pe(),r=Ot(),a=an();return Ip(r,o,o[st],a,e,t,i),xp}function Ip(e,t,n,i,o,r,a){const c=su(i),y=e.firstCreatePass&&oC(e),b=t[gn],N=iC(t);let B=!0;if(3&i.type||a){const _e=uo(i,t),Ie=a?a(_e):_e,Ae=N.length,Ce=a?Bt=>a(Yt(Bt[i.index])):i.index;let ft=null;if(!a&&c&&(ft=function ST(e,t,n,i){const o=e.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const a=o[r];if(a===n&&o[r+1]===i){const c=t[Na],h=o[r+2];return c.length>h?c[h]:null}"string"==typeof a&&(r+=2)}return null}(e,t,o,i.index)),null!==ft)(ft.__ngLastListenerFn__||ft).__ngNextListenerFn__=r,ft.__ngLastListenerFn__=r,B=!1;else{r=Yy(i,t,b,r),Ky(_e,o,r);const Bt=n.listen(Ie,o,r);N.push(r,Bt),y&&y.push(o,Ce,Ae,Ae+1)}}else r=Yy(i,t,b,r);const G=i.outputs;let ne;if(B&&null!==G&&(ne=G[o])){const _e=ne.length;if(_e)for(let Ie=0;Ie<_e;Ie+=2){const dn=t[ne[Ie]][ne[Ie+1]].subscribe(r),Wn=N.length;N.push(r,dn),y&&y.push(o,i.index,Wn,-(Wn+1))}}}function Zy(e,t,n,i){const o=Z(null);try{return Fr(6,t,n),!1!==n(i)}catch(r){return Wu(e,r),!1}finally{Fr(7,t,n),Z(o)}}function Yy(e,t,n,i){return function o(r){if(r===Function)return i;lc(e.componentOffset>-1?Lo(e.index,t):t,5);let c=Zy(t,n,i,r),h=o.__ngNextListenerFn__;for(;h;)c=Zy(t,n,h,r)&&c,h=h.__ngNextListenerFn__;return c}}function Jy(e=1){return function cb(e){return(at.lFrame.contextLView=function Ng(e,t){for(;e>0;)t=t[Aa],e--;return t}(e,at.lFrame.contextLView))[gn]}(e)}function OT(e,t){let n=null;const i=function x(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const r=t[o];if("*"!==r){if(null===i?D(e,r,!0):ie(i,r))return o}else n=o}return n}function e0(e){const t=pe()[xn][Ui];if(!t.projection){const i=t.projection=function ls(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(e?e.length:1,null),o=i.slice();let r=t.child;for(;null!==r;){if(128!==r.type){const a=e?OT(r,e):0;null!==a&&(o[a]?o[a].projectionNext=r:i[a]=r,o[a]=r)}r=r.next}}}function t0(e,t=0,n,i,o,r){const a=pe(),c=Ot(),h=i?e+1:null;null!==h&&Dc(a,c,h,i,o,r,null,n);const y=ga(c,Ke+e,16,null,n||null);null===y.projection&&(y.projection=t),uh();const N=!a[co]||aa();null===a[xn][Ui].projection[y.projection]&&null!==h?function PT(e,t,n){const i=Ke+n,o=t.data[i],r=e[i],a=Ca(r,o.tView.ssrId);Ya(r,Za(e,o,void 0,{dehydratedView:a}),0,ma(o,a))}(a,c,h):N&&32&~y.flags&&function ME(e,t,n){j_(t[st],0,t,n,cf(e,n,t),k_(n.parent||t[Ui],n,t))}(c,a,y)}function Rp(e,t,n){return Ed(e,"",t,"",n),Rp}function Ed(e,t,n,i,o){const r=pe(),a=dl(r,t,n,i);return a!==vt&&Mo(Ot(),mn(),r,e,a,r[st],o,!1),Ed}function d0(e,t,n,i){!function YC(e,t,n,i){const o=Ot();if(o.firstCreatePass){const r=an();JC(o,new KC(t,n,i),r.index),function RO(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),!(2&~n)&&(o.staticContentQueries=!0)}return QC(o,pe(),n)}(e,t,n,i)}function h0(e,t,n){!function ZC(e,t,n){const i=Ot();return i.firstCreatePass&&(JC(i,new KC(e,t,n),-1),!(2&~t)&&(i.staticViewQueries=!0)),QC(i,pe(),t)}(e,t,n)}function f0(e){const t=pe(),n=Ot(),i=fh();du(i+1);const o=Xf(n,i);if(e.dirty&&function XM(e){return!(4&~e[tt])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const r=ev(t,i);e.reset(r,Om),e.notifyOnChanges()}return!0}return!1}function p0(){return function Kf(e,t){return e[cs].queries[t].queryList}(pe(),fh())}function g0(e){return function sa(e,t){return e[t]}(function Bg(){return at.lFrame.contextLView}(),Ke+e)}function E0(e,t=""){const n=pe(),i=Ot(),o=e+Ke,r=i.firstCreatePass?ga(i,o,1,t,null):i.data[o],a=S0(i,n,r,t,e);n[o]=a,$l()&&$u(i,n,a,r),Cr(r,!1)}let S0=(e,t,n,i,o)=>(Lr(!0),function rf(e,t){return e.createText(t)}(t[st],i));function Ap(e){return Sd("",e,""),Ap}function Sd(e,t,n){const i=pe(),o=dl(i,e,t,n);return o!==vt&&gs(i,ji(),o),Sd}function kp(e,t,n,i,o){const r=pe(),a=hl(r,e,t,n,i,o);return a!==vt&&gs(r,ji(),a),kp}function Fp(e,t,n){rv(t)&&(t=t());const i=pe();return Hn(i,vr(),t)&&Mo(Ot(),mn(),i,e,t,i[st],n,!1),Fp}function A0(e,t){const n=rv(e);return n&&e.set(t),n}function Lp(e,t){const n=pe(),i=Ot(),o=an();return Ip(i,n,n[st],o,e,t),Lp}function Vp(e,t,n,i,o){if(e=Ye(e),Array.isArray(e))for(let r=0;r<e.length;r++)Vp(e[r],t,n,i,o);else{const r=Ot(),a=pe(),c=an();let h=ia(e)?e:Ye(e.provide);const y=mg(e),b=1048575&c.providerIndexes,N=c.directiveStart,B=c.providerIndexes>>20;if(ia(e)||!e.multi){const G=new Hl(y,o,Qa),ne=Up(h,t,o?b:b+B,N);-1===ne?(Mh(mu(c,a),r,h),Bp(r,e,t.length),t.push(h),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(G),a.push(G)):(n[ne]=G,a[ne]=G)}else{const G=Up(h,t,b+B,N),ne=Up(h,t,b,b+B),Ie=ne>=0&&n[ne];if(o&&!Ie||!o&&!(G>=0&&n[G])){Mh(mu(c,a),r,h);const Ae=function KT(e,t,n,i,o){const r=new Hl(e,n,Qa);return r.multi=[],r.index=t,r.componentProviders=0,L0(r,o,i&&!n),r}(o?qT:WT,n.length,o,i,y);!o&&Ie&&(n[ne].providerFactory=Ae),Bp(r,e,t.length,0),t.push(h),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(Ae),a.push(Ae)}else Bp(r,e,G>-1?G:ne,L0(n[o?ne:G],y,!o&&i));!o&&i&&Ie&&n[ne].componentProviders++}}}function Bp(e,t,n,i){const o=ia(t),r=function DM(e){return!!e.useClass}(t);if(o||r){const h=(r?Ye(t.useClass):t).prototype.ngOnDestroy;if(h){const y=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const b=y.indexOf(n);-1===b?y.push(n,[i,h]):y[b+1].push(i,h)}else y.push(n,h)}}}function L0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Up(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function WT(e,t,n,i){return jp(this.multi,[])}function qT(e,t,n,i){const o=this.multi;let r;if(this.providerFactory){const a=this.providerFactory.componentProviders,c=ua(n,n[xe],this.providerFactory.index,i);r=c.slice(0,a),jp(o,r);for(let h=a;h<c.length;h++)r.push(c[h])}else r=[],jp(o,r);return r}function jp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function V0(e,t=[]){return n=>{n.providersResolver=(i,o)=>function GT(e,t,n){const i=Ot();if(i.firstCreatePass){const o=_r(e);Vp(n,i.data,i.blueprint,o,!0),Vp(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}let XT=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=zd(0,n.type),o=i.length>0?ep([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Qt({token:e,providedIn:"environment",factory:()=>new e(ut(Jo))})}return e})();function B0(e){fo("NgStandalone"),e.getStandaloneInjector=t=>t.get(XT).getOrCreateStandaloneInjector(e)}function $0(e,t,n,i){return function z0(e,t,n,i,o,r){const a=t+n;return Hn(e,a,o)?jr(e,a+1,r?i.call(r,o):i(o)):kc(e,a+1)}(pe(),ho(),e,t,n,i)}function H0(e,t,n,i,o,r){return function W0(e,t,n,i,o,r,a,c){const h=t+n;return function ad(e,t,n,i,o){const r=ya(e,t,n,i);return Hn(e,t+2,o)||r}(e,h,o,r,a)?jr(e,h+3,c?i.call(c,o,r,a):i(o,r,a)):kc(e,h+3)}(pe(),ho(),e,t,n,i,o,r)}function kc(e,t){const n=e[t];return n===vt?void 0:n}function X0(e,t){return Ku(e,t)}class dw{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let hw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const _w=new it(""),Cw=new it("");let qp,sI=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,qp||(function aI(e){qp=e}(o),o.addToWindow(i)),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:()=>{In.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(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==r),n()},i)),this._callbacks.push({doneCb:n,timeoutId:r,updateCb:o})}whenStable(n,i,o){if(o&&!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,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(ut(In),ut(vw),ut(Cw))};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac})}return e})(),vw=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return qp?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Kp(e){return!!e&&"function"==typeof e.then}function yw(e){return!!e&&"function"==typeof e.subscribe}const ww=new it("");let Mw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=Ee(ww,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const r=o();if(Kp(r))n.push(r);else if(yw(r)){const a=new Promise((c,h)=>{r.subscribe({complete:c,error:h})});n.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Id=new it("");function Dw(e,t){return Array.isArray(t)?t.reduce(Dw,e):{...e,...t}}let zr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ee(Wb),this.afterRenderManager=Ee(xv),this.zonelessEnabled=Ee(Cc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new _n.B,this.afterTick=new _n.B,this.componentTypes=[],this.components=[],this.isStable=Ee(da).hasPendingTasks.pipe((0,En.T)(n=>!n)),this._injector=Ee(Jo)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof FC;if(!this._injector.get(Mw).done)throw!o&&Fs(n),new Ne(405,!1);let a;a=o?n:this._injector.get(ed).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const c=function lI(e){return e.isBoundToModule}(a)?void 0:this._injector.get(va),y=a.create($i.NULL,[],i||a.selector,c),b=y.location.nativeElement,N=y.injector.get(_w,null);return N?.registerApplication(b),y.onDestroy(()=>{this.detachView(y.hostView),Rd(this.components,y),N?.unregisterApplication(b)}),this._loadComponent(y),y}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Ne(101,!1);const n=Z(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Z(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Vf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)dI(o,r,i,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})=>au(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Rd(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Id,[]);[...this._bootstrapListeners,...i].forEach(o=>o(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),()=>Rd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ne(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function dI(e,t,n,i){(n||au(e))&&qu(e,t,n&&!i?0:1)}class hI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let fI=(()=>{class e{compileModuleSync(n){return new Jf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),r=Vo(Qi(n).declarations).reduce((a,c)=>{const h=It(c);return h&&a.push(new wc(h)),a},[]);return new hI(i,r)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mI=(()=>{class e{constructor(){this.zone=Ee(In),this.changeDetectionScheduler=Ee(el),this.applicationRef=Ee(zr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Xp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new In({...Qp(),scheduleInRootZone:n}),[{provide:In,useFactory:e},{provide:p,multi:!0,useFactory:()=>{const i=Ee(mI,{optional:!0});return()=>i.initialize()}},{provide:p,multi:!0,useFactory:()=>{const i=Ee(CI);return()=>{i.initialize()}}},!0===t?{provide:kC,useValue:!0}:[],{provide:Lf,useValue:n??ym}]}function Qp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let CI=(()=>{class e{constructor(){this.subscription=new Hi.yU,this.initialized=!1,this.zone=Ee(In),this.pendingTasks=Ee(da)}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(()=>{In.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{In.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Bc=(()=>{class e{constructor(){this.appRef=Ee(zr),this.taskService=Ee(da),this.ngZone=Ee(In),this.zonelessEnabled=Ee(Cc),this.disableScheduling=Ee(kC,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Hi.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Mu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Ee(Lf,{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 Th||!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 i=this.useMicrotaskScheduler?Mm:wm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Mu+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(i){throw this.taskService.remove(n),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Yp=new it("",{providedIn:"root",factory:()=>Ee(Yp,Dt.Optional|Dt.SkipSelf)||function vI(){return typeof $localize<"u"&&$localize.locale||wd}()}),yI=new it("",{providedIn:"root",factory:()=>"USD"}),Jp=new it("");function Ad(e){return!!e.platformInjector}let Iw=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const o=i?.scheduleInRootZone,a=i?.ignoreChangesOutsideZone,c=[Xp({ngZoneFactory:()=>function Gb(e="zone.js",t){return"noop"===e?new Th:"zone.js"===e?new In(t):e}(i?.ngZone,{...Qp({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:o}),ignoreChangesOutsideZone:a}),{provide:el,useExisting:Bc}],h=function JO(e,t,n){return new Yf(e,t,n,!1)}(n.moduleType,this.injector,c);return function xw(e){const t=Ad(e)?e.r3Injector:e.moduleRef.injector,n=t.get(In);return n.run(()=>{Ad(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=t.get(fs,null);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r=>{i.handleError(r)}})}),Ad(e)){const r=()=>t.destroy(),a=e.platformInjector.get(Jp);a.add(r),t.onDestroy(()=>{o.unsubscribe(),a.delete(r)})}else e.moduleRef.onDestroy(()=>{Rd(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return function uI(e,t,n){try{const i=n();return Kp(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(i,n,()=>{const r=t.get(Mw);return r.runInitializers(),r.donePromise.then(()=>{if(function $P(e){"string"==typeof e&&(xy=e.toLowerCase().replace(/_/g,"-"))}(t.get(Yp,wd)||wd),Ad(e)){const c=t.get(zr);return void 0!==e.rootComponent&&c.bootstrap(e.rootComponent),c}return function EI(e,t){const n=e.injector.get(zr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new Ne(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:h,allPlatformModules:this._modules})}bootstrapModule(n,i=[]){const o=Dw({},i);return function gI(e,t,n){const i=new Jf(n);return Promise.resolve(i)}(0,0,n).then(r=>this.bootstrapModuleFactory(r,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ne(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Jp,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(ut($i))};static#t=this.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),zs=null;const Rw=new it("");function Nw(e,t,n=[]){const i=`Platform: ${t}`,o=new it(i);return(r=[])=>{let a=eg();if(!a||a.injector.get(Rw,!1)){const c=[...n,...r,{provide:o,useValue:!0}];e?e(c):function SI(e){if(zs&&!zs.get(Rw,!1))throw new Ne(400,!1);(function bw(){!function Kt(e){Re=e}(()=>{throw new Ne(600,!1)})})(),zs=e;const t=e.get(Iw);(function kw(e){e.get(qm,null)?.forEach(n=>n())})(e)}(function Aw(e=[],t){return $i.create({name:t,providers:[{provide:qd,useValue:"platform"},{provide:Jp,useValue:new Set([()=>zs=null])},...e]})}(c,i))}return function OI(){const t=eg();if(!t)throw new Ne(401,!1);return t}()}}function eg(){return zs?.get(Iw)??null}function TI(){return!1}let Lw=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=xI}return e})();function xI(e){return function II(e,t,n){if(ra(e)&&!n){const i=Lo(e.index,t);return new cc(i,i)}return 175&e.type?new cc(t[xn],t):null}(an(),pe(),!(16&~e))}class jw{constructor(){}supports(t){return sd(t)}create(t){return new FI(t)}}const kI=(e,t)=>t;class FI{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||kI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,r=null;for(;n||i;){const a=!i||n&&n.currentIndex<Hw(i,o,r)?n:i,c=Hw(a,o,r),h=a.currentIndex;if(a===i)o--,i=i._nextRemoved;else if(n=n._next,null==a.previousIndex)o++;else{r||(r=[]);const y=c-o,b=h-o;if(y!=b){for(let B=0;B<y;B++){const G=B<r.length?r[B]:r[B]=0,ne=G+B;b<=ne&&ne<y&&(r[B]=G+1)}r[a.previousIndex]=b-y}}c!==h&&t(a,c,h)}}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=[]),!sd(t))throw new Ne(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,r,a,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)r=t[c],a=this._trackByFn(c,r),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,r,a,c)),Object.is(n.item,r)||this._addIdentityChange(n,r)):(n=this._mismatch(n,r,a,c),i=!0),n=n._next}else o=0,function n1(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,c=>{a=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,c,a,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,a,o),i=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,o){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,r,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,r,o)):t=this._addAfter(new LI(n,i),r,o),t}_verifyReinsertion(t,n,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,r=t._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new $w),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new $w),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 LI{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 VI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class $w{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new VI,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Hw(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class zw{constructor(){}supports(t){return t instanceof Map||tp(t)}create(){return new BI}}class BI{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||tp(t)))throw new Ne(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const r=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const r=o._prev,a=o._next;return r&&(r._next=a),a&&(a._prev=r),o._next=null,o._prev=null,o}const i=new UI(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class UI{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 Gw(){return new rg([new jw])}let rg=(()=>{class e{static#e=this.\u0275prov=Qt({token:e,providedIn:"root",factory:Gw});constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Gw()),deps:[[e,new Ki,new Pi]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new Ne(901,!1)}}return e})();function Ww(){return new sg([new zw])}let sg=(()=>{class e{static#e=this.\u0275prov=Qt({token:e,providedIn:"root",factory:Ww});constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Ww()),deps:[[e,new Ki,new Pi]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new Ne(901,!1)}}return e})();const HI=Nw(null,"core",[]);let zI=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(ut(zr))};static#t=this.\u0275mod=lo({type:e});static#n=this.\u0275inj=Ro({})}return e})();const lM=new it("");function wR(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function bR(e,t){fo("NgSignals");const n=function gt(e){const t=Object.create(q);t.computation=e;const n=()=>{if(Te(t),se(t),t.value===Le)throw t.error;return t.value};return n[J]=t,n}(e);return t?.equal&&(n[J].equal=t.equal),n}function DR(e){const t=Z(null);try{return e()}finally{Z(t)}}const ER=new it("",{providedIn:"root",factory:()=>Ee(SR)});let SR=(()=>{class e{static#e=this.\u0275prov=Qt({token:e,providedIn:"root",factory:()=>new OR})}return e})();class OR{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Ee(da),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const i=this.queues.get(n);i.has(t)||(this.queuedEffectCount++,i.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class PR{constructor(t,n,i,o,r,a){this.scheduler=t,this.effectFn=n,this.creationZone=i,this.injector=r,this.watcher=function Kn(e,t,n){const i=Object.create(Rn);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const o=h=>{i.cleanupFn=h};return i.ref={notify:()=>Ue(i),run:()=>{if(null===i.fn)return;if(function W(){return K}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!nt(i))return;i.hasRun=!0;const h=Fe(i);try{i.cleanupFn(),i.cleanupFn=oi,i.fn(o)}finally{We(i,h)}},cleanup:()=>i.cleanupFn(),destroy:()=>function a(h){(function r(h){return null===h.fn&&null===h.schedule})(h)||(Ut(h),h.cleanupFn(),h.fn=null,h.schedule=null,h.cleanupFn=oi)}(i),[J]:i},i.ref}(c=>this.runEffect(c),()=>this.schedule(),a),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(fs,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function CM(e,t){fo("NgSignals"),!t?.injector&&tu();const n=t?.injector??Ee($i),i=!0!==t?.manualCleanup?n.get(ja):null,o=new PR(n.get(ER),e,typeof Zone>"u"?null:Zone.current,i,n,t?.allowSignalWrites??!1),r=n.get(Lw,null,{optional:!0});return r&&8&r._lView[tt]?(r._lView[iu]??=[]).push(o.watcher.notify):o.watcher.notify(),o}function TR(e){const t=It(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}}}},9079:(wt,oe,H)=>{H.d(oe,{br:()=>Y,ot:()=>W});var s=H(3953),k=H(2771);function Y(te,se){!se?.injector&&(0,s.Af3)(Y);const Me=se?.injector??(0,s.WQX)(s.zZn),Te=new k.m(1),De=(0,s.QZP)(()=>{let be;try{be=te()}catch(Ue){return void(0,s.O8t)(()=>Te.error(Ue))}(0,s.O8t)(()=>Te.next(be))},{injector:Me,manualCleanup:!0});return Me.get(s.abz).onDestroy(()=>{De.destroy(),Te.complete()}),Te.asObservable()}function W(te,se){const Me=!se?.manualCleanup;Me&&!se?.injector&&(0,s.Af3)(W);const Te=Me?se?.injector?.get(s.abz)??(0,s.WQX)(s.abz):null,De=function re(te=Object.is){return(se,Me)=>1===se.kind&&1===Me.kind&&te(se.value,Me.value)}(se?.equal);let be;be=(0,s.vPA)(se?.requireSync?{kind:0}:{kind:1,value:se?.initialValue},{equal:De});const Ue=te.subscribe({next:Fe=>be.set({kind:1,value:Fe}),error:Fe=>{if(se?.rejectErrors)throw Fe;be.set({kind:2,error:Fe})}});if(se?.requireSync&&0===be().kind)throw new s.wOt(601,!1);return Te?.onDestroy(Ue.unsubscribe.bind(Ue)),(0,s.EWP)(()=>{const Fe=be();switch(Fe.kind){case 1:return Fe.value;case 2:throw Fe.error;case 0:throw new s.wOt(601,!1)}},{equal:se?.equal})}},9417:(wt,oe,H)=>{H.d(oe,{BC:()=>Xn,YN:()=>Fi,me:()=>be,vS:()=>Dr,wz:()=>Wo,xH:()=>qo,y7:()=>cr});var s=H(3953),k=H(177),K=H(6648),X=H(7468),J=H(1413),Z=H(6354);let Y=(()=>{class w{constructor(C,P){this._renderer=C,this._elementRef=P,this.onChange=z=>{},this.onTouched=()=>{}}setProperty(C,P){this._renderer.setProperty(this._elementRef.nativeElement,C,P)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}static#e=this.\u0275fac=function(P){return new(P||w)(s.rXU(s.sFG),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:w})}return w})(),W=(()=>{class w extends Y{static#e=this.\u0275fac=(()=>{let C;return function(z){return(C||(C=s.xGo(w)))(z||w)}})();static#t=this.\u0275dir=s.FsC({type:w,features:[s.Vt3]})}return w})();const re=new s.nKC(""),Me={provide:re,useExisting:(0,s.Rfq)(()=>be),multi:!0},De=new s.nKC("");let be=(()=>{class w extends Y{constructor(C,P,z){super(C,P),this._compositionMode=z,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Te(){const w=(0,k.QT)()?(0,k.QT)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}static#e=this.\u0275fac=function(P){return new(P||w)(s.rXU(s.sFG),s.rXU(s.aKT),s.rXU(De,8))};static#t=this.\u0275dir=s.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(P,z){1&P&&s.bIt("input",function(dt){return z._handleInput(dt.target.value)})("blur",function(){return z.onTouched()})("compositionstart",function(){return z._compositionStart()})("compositionend",function(dt){return z._compositionEnd(dt.target.value)})},features:[s.Jv_([Me]),s.Vt3]})}return w})();const We=new s.nKC(""),nt=new s.nKC("");function q(w){return null!=w}function fe(w){return(0,s.jNT)(w)?(0,K.H)(w):w}function Re(w){let M={};return w.forEach(C=>{M=null!=C?{...M,...C}:M}),0===Object.keys(M).length?null:M}function Ge(w,M){return M.map(C=>C(w))}function Xt(w){return w.map(M=>function Kt(w){return!w.validate}(M)?M:C=>M.validate(C))}function kn(w){return null!=w?function Ze(w){if(!w)return null;const M=w.filter(q);return 0==M.length?null:function(C){return Re(Ge(C,M))}}(Xt(w)):null}function tn(w){return null!=w?function Ln(w){if(!w)return null;const M=w.filter(q);return 0==M.length?null:function(C){const P=Ge(C,M).map(fe);return(0,X.p)(P).pipe((0,Z.T)(Re))}}(Xt(w)):null}function $t(w,M){return null===w?[M]:Array.isArray(w)?[...w,M]:[w,M]}function qn(w){return w?Array.isArray(w)?w:[w]:[]}function Kn(w,M){return Array.isArray(w)?w.includes(M):w===M}function oi(w,M){const C=qn(M);return qn(w).forEach(z=>{Kn(C,z)||C.push(z)}),C}function Rn(w,M){return qn(M).filter(C=>!Kn(w,C))}class go{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(M){this._rawValidators=M||[],this._composedValidatorFn=kn(this._rawValidators)}_setAsyncValidators(M){this._rawAsyncValidators=M||[],this._composedAsyncValidatorFn=tn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(M){this._onDestroyCallbacks.push(M)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(M=>M()),this._onDestroyCallbacks=[]}reset(M=void 0){this.control&&this.control.reset(M)}hasError(M,C){return!!this.control&&this.control.hasError(M,C)}getError(M,C){return this.control?this.control.getError(M,C):null}}class nn extends go{get formDirective(){return null}get path(){return null}}class _n extends go{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Hi{constructor(M){this._cd=M}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 Xn=(()=>{class w extends Hi{constructor(C){super(C)}static#e=this.\u0275fac=function(P){return new(P||w)(s.rXU(_n,2))};static#t=this.\u0275dir=s.FsC({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(P,z){2&P&&s.AVh("ng-untouched",z.isUntouched)("ng-touched",z.isTouched)("ng-pristine",z.isPristine)("ng-dirty",z.isDirty)("ng-valid",z.isValid)("ng-invalid",z.isInvalid)("ng-pending",z.isPending)},features:[s.Vt3]})}return w})();const Qn="VALID",Un="INVALID",yi="PENDING",wi="DISABLED";class vn{}class Zn extends vn{constructor(M,C){super(),this.value=M,this.source=C}}class de extends vn{constructor(M,C){super(),this.pristine=M,this.source=C}}class ae extends vn{constructor(M,C){super(),this.touched=M,this.source=C}}class V extends vn{constructor(M,C){super(),this.status=M,this.source=C}}function Tt(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}class zi{constructor(M,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,s.EWP)(()=>this.statusReactive()),this.statusReactive=(0,s.vPA)(void 0),this._pristine=(0,s.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,s.vPA)(!0),this._touched=(0,s.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,s.vPA)(!1),this._events=new J.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(M),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(M){this._rawValidators=this._composedValidatorFn=M}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(M){this._rawAsyncValidators=this._composedAsyncValidatorFn=M}get parent(){return this._parent}get status(){return(0,s.O8t)(this.statusReactive)}set status(M){(0,s.O8t)(()=>this.statusReactive.set(M))}get valid(){return this.status===Qn}get invalid(){return this.status===Un}get pending(){return this.status==yi}get disabled(){return this.status===wi}get enabled(){return this.status!==wi}get pristine(){return(0,s.O8t)(this.pristineReactive)}set pristine(M){(0,s.O8t)(()=>this.pristineReactive.set(M))}get dirty(){return!this.pristine}get touched(){return(0,s.O8t)(this.touchedReactive)}set touched(M){(0,s.O8t)(()=>this.touchedReactive.set(M))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(M){this._assignValidators(M)}setAsyncValidators(M){this._assignAsyncValidators(M)}addValidators(M){this.setValidators(oi(M,this._rawValidators))}addAsyncValidators(M){this.setAsyncValidators(oi(M,this._rawAsyncValidators))}removeValidators(M){this.setValidators(Rn(M,this._rawValidators))}removeAsyncValidators(M){this.setAsyncValidators(Rn(M,this._rawAsyncValidators))}hasValidator(M){return Kn(this._rawValidators,M)}hasAsyncValidator(M){return Kn(this._rawAsyncValidators,M)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(M={}){const C=!1===this.touched;this.touched=!0;const P=M.sourceControl??this;this._parent&&!M.onlySelf&&this._parent.markAsTouched({...M,sourceControl:P}),C&&!1!==M.emitEvent&&this._events.next(new ae(!0,P))}markAllAsTouched(M={}){this.markAsTouched({onlySelf:!0,emitEvent:M.emitEvent,sourceControl:this}),this._forEachChild(C=>C.markAllAsTouched(M))}markAsUntouched(M={}){const C=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const P=M.sourceControl??this;this._forEachChild(z=>{z.markAsUntouched({onlySelf:!0,emitEvent:M.emitEvent,sourceControl:P})}),this._parent&&!M.onlySelf&&this._parent._updateTouched(M,P),C&&!1!==M.emitEvent&&this._events.next(new ae(!1,P))}markAsDirty(M={}){const C=!0===this.pristine;this.pristine=!1;const P=M.sourceControl??this;this._parent&&!M.onlySelf&&this._parent.markAsDirty({...M,sourceControl:P}),C&&!1!==M.emitEvent&&this._events.next(new de(!1,P))}markAsPristine(M={}){const C=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const P=M.sourceControl??this;this._forEachChild(z=>{z.markAsPristine({onlySelf:!0,emitEvent:M.emitEvent})}),this._parent&&!M.onlySelf&&this._parent._updatePristine(M,P),C&&!1!==M.emitEvent&&this._events.next(new de(!0,P))}markAsPending(M={}){this.status=yi;const C=M.sourceControl??this;!1!==M.emitEvent&&(this._events.next(new V(this.status,C)),this.statusChanges.emit(this.status)),this._parent&&!M.onlySelf&&this._parent.markAsPending({...M,sourceControl:C})}disable(M={}){const C=this._parentMarkedDirty(M.onlySelf);this.status=wi,this.errors=null,this._forEachChild(z=>{z.disable({...M,onlySelf:!0})}),this._updateValue();const P=M.sourceControl??this;!1!==M.emitEvent&&(this._events.next(new Zn(this.value,P)),this._events.next(new V(this.status,P)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...M,skipPristineCheck:C},this),this._onDisabledChange.forEach(z=>z(!0))}enable(M={}){const C=this._parentMarkedDirty(M.onlySelf);this.status=Qn,this._forEachChild(P=>{P.enable({...M,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent}),this._updateAncestors({...M,skipPristineCheck:C},this),this._onDisabledChange.forEach(P=>P(!1))}_updateAncestors(M,C){this._parent&&!M.onlySelf&&(this._parent.updateValueAndValidity(M),M.skipPristineCheck||this._parent._updatePristine({},C),this._parent._updateTouched({},C))}setParent(M){this._parent=M}getRawValue(){return this.value}updateValueAndValidity(M={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const P=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Qn||this.status===yi)&&this._runAsyncValidator(P,M.emitEvent)}const C=M.sourceControl??this;!1!==M.emitEvent&&(this._events.next(new Zn(this.value,C)),this._events.next(new V(this.status,C)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!M.onlySelf&&this._parent.updateValueAndValidity({...M,sourceControl:C})}_updateTreeValidity(M={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(M)),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?wi:Qn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(M,C){if(this.asyncValidator){this.status=yi,this._hasOwnPendingAsyncValidator={emitEvent:!1!==C};const P=fe(this.asyncValidator(this));this._asyncValidationSubscription=P.subscribe(z=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(z,{emitEvent:C,shouldHaveEmitted:M})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const M=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,M}return!1}setErrors(M,C={}){this.errors=M,this._updateControlsErrors(!1!==C.emitEvent,this,C.shouldHaveEmitted)}get(M){let C=M;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((P,z)=>P&&P._find(z),this)}getError(M,C){const P=C?this.get(C):this;return P&&P.errors?P.errors[M]:null}hasError(M,C){return!!this.getError(M,C)}get root(){let M=this;for(;M._parent;)M=M._parent;return M}_updateControlsErrors(M,C,P){this.status=this._calculateStatus(),M&&this.statusChanges.emit(this.status),(M||P)&&this._events.next(new V(this.status,C)),this._parent&&this._parent._updateControlsErrors(M,C,P)}_initObservables(){this.valueChanges=new s.bkB,this.statusChanges=new s.bkB}_calculateStatus(){return this._allControlsDisabled()?wi:this.errors?Un:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yi)?yi:this._anyControlsHaveStatus(Un)?Un:Qn}_anyControlsHaveStatus(M){return this._anyControls(C=>C.status===M)}_anyControlsDirty(){return this._anyControls(M=>M.dirty)}_anyControlsTouched(){return this._anyControls(M=>M.touched)}_updatePristine(M,C){const P=!this._anyControlsDirty(),z=this.pristine!==P;this.pristine=P,this._parent&&!M.onlySelf&&this._parent._updatePristine(M,C),z&&this._events.next(new de(this.pristine,C))}_updateTouched(M={},C){this.touched=this._anyControlsTouched(),this._events.next(new ae(this.touched,C)),this._parent&&!M.onlySelf&&this._parent._updateTouched(M,C)}_registerOnCollectionChange(M){this._onCollectionChange=M}_setUpdateStrategy(M){Tt(M)&&null!=M.updateOn&&(this._updateOn=M.updateOn)}_parentMarkedDirty(M){return!M&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(M){return null}_assignValidators(M){this._rawValidators=Array.isArray(M)?M.slice():M,this._composedValidatorFn=function Je(w){return Array.isArray(w)?kn(w):w||null}(this._rawValidators)}_assignAsyncValidators(M){this._rawAsyncValidators=Array.isArray(M)?M.slice():M,this._composedAsyncValidatorFn=function Pt(w){return Array.isArray(w)?tn(w):w||null}(this._rawAsyncValidators)}}const Sn=new s.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Yn}),Yn="always";function Jn(w,M,C=Yn){(function ci(w,M){const C=function Ji(w){return w._rawValidators}(w);null!==M.validator?w.setValidators($t(C,M.validator)):"function"==typeof C&&w.setValidators([C]);const P=function Fn(w){return w._rawAsyncValidators}(w);null!==M.asyncValidator?w.setAsyncValidators($t(P,M.asyncValidator)):"function"==typeof P&&w.setAsyncValidators([P]);const z=()=>w.updateValueAndValidity();On(M._rawValidators,z),On(M._rawAsyncValidators,z)})(w,M),M.valueAccessor.writeValue(w.value),(w.disabled||"always"===C)&&M.valueAccessor.setDisabledState?.(w.disabled),function ir(w,M){M.valueAccessor.registerOnChange(C=>{w._pendingValue=C,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&eo(w,M)})}(w,M),function lt(w,M){const C=(P,z)=>{M.valueAccessor.writeValue(P),z&&M.viewToModelUpdate(P)};w.registerOnChange(C),M._registerOnDestroy(()=>{w._unregisterOnChange(C)})}(w,M),function Ho(w,M){M.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&eo(w,M),"submit"!==w.updateOn&&w.markAsTouched()})}(w,M),function Ni(w,M){if(M.valueAccessor.setDisabledState){const C=P=>{M.valueAccessor.setDisabledState(P)};w.registerOnDisabledChange(C),M._registerOnDestroy(()=>{w._unregisterOnDisabledChange(C)})}}(w,M)}function On(w,M){w.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(M)})}function eo(w,M){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),M.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function ve(w,M){const C=w.indexOf(M);C>-1&&w.splice(C,1)}function T(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}Promise.resolve();const ee=class extends zi{constructor(M=null,C,P){super(function Ve(w){return(Tt(w)?w.validators:w)||null}(C),function yt(w,M){return(Tt(M)?M.asyncValidators:w)||null}(P,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(M),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Tt(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=T(M)?M.value:M)}setValue(M,C={}){this.value=this._pendingValue=M,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(P=>P(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(M,C={}){this.setValue(M,C)}reset(M=this.defaultValue,C={}){this._applyFormState(M),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(M){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(M){this._onChange.push(M)}_unregisterOnChange(M){ve(this._onChange,M)}registerOnDisabledChange(M){this._onDisabledChange.push(M)}_unregisterOnDisabledChange(M){ve(this._onDisabledChange,M)}_forEachChild(M){}_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(M){T(M)?(this.value=this._pendingValue=M.value,M.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=M}},or={provide:_n,useExisting:(0,s.Rfq)(()=>Dr)},br=Promise.resolve();let Dr=(()=>{class w extends _n{constructor(C,P,z,qe,dt,en){super(),this._changeDetectorRef=dt,this.callSetDisabledState=en,this.control=new ee,this._registered=!1,this.name="",this.update=new s.bkB,this._parent=C,this._setValidators(P),this._setAsyncValidators(z),this.valueAccessor=function Oe(w,M){if(!M)return null;let C,P,z;return Array.isArray(M),M.forEach(qe=>{qe.constructor===be?C=qe:function ye(w){return Object.getPrototypeOf(w.constructor)===W}(qe)?P=qe:z=qe}),z||P||C||null}(0,qe)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const P=C.name.previousValue;this.formDirective.removeControl({name:P,path:this._getPath(P)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),function ce(w,M){if(!w.hasOwnProperty("model"))return!1;const C=w.model;return!!C.isFirstChange()||!Object.is(M,C.currentValue)}(C,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(C){this.viewModel=C,this.update.emit(C)}_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(){Jn(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(C){br.then(()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(C){const P=C.isDisabled.currentValue,z=0!==P&&(0,s.L39)(P);br.then(()=>{z&&!this.control.disabled?this.control.disable():!z&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(C){return this._parent?function Mn(w,M){return[...M.path,w]}(C,this._parent):[C]}static#e=this.\u0275fac=function(P){return new(P||w)(s.rXU(nn,9),s.rXU(We,10),s.rXU(nt,10),s.rXU(re,10),s.rXU(s.gRc,8),s.rXU(Sn,8))};static#t=this.\u0275dir=s.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:[s.Jv_([or]),s.Vt3,s.OA$]})}return w})();const Pr={provide:re,useExisting:(0,s.Rfq)(()=>Wo),multi:!0};function xo(w,M){return null==w?`${M}`:(M&&"object"==typeof M&&(M="Object"),`${w}: ${M}`.slice(0,50))}let Wo=(()=>{class w extends W{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(C){this._compareWith=C}writeValue(C){this.value=C;const z=xo(this._getOptionId(C),C);this.setProperty("value",z)}registerOnChange(C){this.onChange=P=>{this.value=this._getOptionValue(P),C(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(C){for(const P of this._optionMap.keys())if(this._compareWith(this._optionMap.get(P),C))return P;return null}_getOptionValue(C){const P=function ms(w){return w.split(":")[0]}(C);return this._optionMap.has(P)?this._optionMap.get(P):C}static#e=this.\u0275fac=(()=>{let C;return function(z){return(C||(C=s.xGo(w)))(z||w)}})();static#t=this.\u0275dir=s.FsC({type:w,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(P,z){1&P&&s.bIt("change",function(dt){return z.onChange(dt.target.value)})("blur",function(){return z.onTouched()})},inputs:{compareWith:"compareWith"},features:[s.Jv_([Pr]),s.Vt3]})}return w})(),qo=(()=>{class w{constructor(C,P,z){this._element=C,this._renderer=P,this._select=z,this._select&&(this.id=this._select._registerOption())}set ngValue(C){null!=this._select&&(this._select._optionMap.set(this.id,C),this._setElementValue(xo(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._setElementValue(C),this._select&&this._select.writeValue(this._select.value)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(P){return new(P||w)(s.rXU(s.aKT),s.rXU(s.sFG),s.rXU(Wo,9))};static#t=this.\u0275dir=s.FsC({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return w})();const qr={provide:re,useExisting:(0,s.Rfq)(()=>Io),multi:!0};function Kr(w,M){return null==w?`${M}`:("string"==typeof M&&(M=`'${M}'`),M&&"object"==typeof M&&(M="Object"),`${w}: ${M}`.slice(0,50))}let Io=(()=>{class w extends W{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(C){this._compareWith=C}writeValue(C){let P;if(this.value=C,Array.isArray(C)){const z=C.map(qe=>this._getOptionId(qe));P=(qe,dt)=>{qe._setSelected(z.indexOf(dt.toString())>-1)}}else P=(z,qe)=>{z._setSelected(!1)};this._optionMap.forEach(P)}registerOnChange(C){this.onChange=P=>{const z=[],qe=P.selectedOptions;if(void 0!==qe){const dt=qe;for(let en=0;en<dt.length;en++){const ys=this._getOptionValue(dt[en].value);z.push(ys)}}else{const dt=P.options;for(let en=0;en<dt.length;en++){const ze=dt[en];if(ze.selected){const ys=this._getOptionValue(ze.value);z.push(ys)}}}this.value=z,C(z)}}_registerOption(C){const P=(this._idCounter++).toString();return this._optionMap.set(P,C),P}_getOptionId(C){for(const P of this._optionMap.keys())if(this._compareWith(this._optionMap.get(P)._value,C))return P;return null}_getOptionValue(C){const P=function Ko(w){return w.split(":")[0]}(C);return this._optionMap.has(P)?this._optionMap.get(P)._value:C}static#e=this.\u0275fac=(()=>{let C;return function(z){return(C||(C=s.xGo(w)))(z||w)}})();static#t=this.\u0275dir=s.FsC({type:w,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(P,z){1&P&&s.bIt("change",function(dt){return z.onChange(dt.target)})("blur",function(){return z.onTouched()})},inputs:{compareWith:"compareWith"},features:[s.Jv_([qr]),s.Vt3]})}return w})(),cr=(()=>{class w{constructor(C,P,z){this._element=C,this._renderer=P,this._select=z,this._select&&(this.id=this._select._registerOption(this))}set ngValue(C){null!=this._select&&(this._value=C,this._setElementValue(Kr(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._select?(this._value=C,this._setElementValue(Kr(this.id,C)),this._select.writeValue(this._select.value)):this._setElementValue(C)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}_setSelected(C){this._renderer.setProperty(this._element.nativeElement,"selected",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(P){return new(P||w)(s.rXU(s.aKT),s.rXU(s.sFG),s.rXU(Io,9))};static#t=this.\u0275dir=s.FsC({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return w})(),Cs=(()=>{class w{static#e=this.\u0275fac=function(P){return new(P||w)};static#t=this.\u0275mod=s.$C({type:w});static#n=this.\u0275inj=s.G2t({})}return w})(),Fi=(()=>{class w{static withConfig(C){return{ngModule:w,providers:[{provide:Sn,useValue:C.callSetDisabledState??Yn}]}}static#e=this.\u0275fac=function(P){return new(P||w)};static#t=this.\u0275mod=s.$C({type:w});static#n=this.\u0275inj=s.G2t({imports:[Cs]})}return w})()},9650:(wt,oe,H)=>{H.d(oe,{wb:()=>se});var s=H(3953),k=H(345),K=H(8008),X=H(177);const W=[{provide:K.Yp,useFactory:function Z(){return new K.zT}},{provide:K.O6,useClass:(()=>{class be extends K.O6{constructor(Fe,We,nt){super(Fe,We,nt)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(We){return new(We||be)(s.KVO(X.qQ),s.KVO(K.Xw),s.KVO(K.Yp))};static#t=this.\u0275prov=s.jDH({token:be,factory:be.\u0275fac})}return be})()},{provide:s._9s,useFactory:function Y(be,Ue,Fe){return new K.R6(be,Ue,Fe)},deps:[k.B7,K.O6,s.SKi]}],re=[{provide:K.Xw,useFactory:()=>new K.LS},{provide:s.bc$,useValue:"BrowserAnimations"},...W],te=[{provide:K.Xw,useClass:K.Pw},{provide:s.bc$,useValue:"NoopAnimations"},...W];let se=(()=>{class be{static withConfig(Fe){return{ngModule:be,providers:Fe.disableAnimations?te:re}}static#e=this.\u0275fac=function(We){return new(We||be)};static#t=this.\u0275mod=s.$C({type:be});static#n=this.\u0275inj=s.G2t({providers:re,imports:[k.Bb]})}return be})()},345:(wt,oe,H)=>{H.d(oe,{B7:()=>pt,Bb:()=>Hi,hE:()=>Xn,sG:()=>Rn});var s=H(177),k=H(3953);class K extends s.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class X extends K{static makeCurrent(){(0,s.ZD)(new X)}onAndCancel(ae,V,Q){return ae.addEventListener(V,Q),()=>{ae.removeEventListener(V,Q)}}dispatchEvent(ae,V){ae.dispatchEvent(V)}remove(ae){ae.remove()}createElement(ae,V){return(V=V||this.getDefaultDocument()).createElement(ae)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ae){return ae.nodeType===Node.ELEMENT_NODE}isShadowRoot(ae){return ae instanceof DocumentFragment}getGlobalEventTarget(ae,V){return"window"===V?window:"document"===V?ae:"body"===V?ae.body:null}getBaseHref(ae){const V=function Z(){return J=J||document.querySelector("base"),J?J.getAttribute("href"):null}();return null==V?null:function Y(de){return new URL(de,document.baseURI).pathname}(V)}resetBaseElement(){J=null}getUserAgent(){return window.navigator.userAgent}getCookie(ae){return(0,s._b)(document.cookie,ae)}}let J=null,re=(()=>{class de{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Q){return new(Q||de)};static#t=this.\u0275prov=k.jDH({token:de,factory:de.\u0275fac})}return de})();const te=new k.nKC("");let se=(()=>{class de{constructor(V,Q){this._zone=Q,this._eventNameToPlugin=new Map,V.forEach(me=>{me.manager=this}),this._plugins=V.slice().reverse()}addEventListener(V,Q,me){return this._findPluginFor(Q).addEventListener(V,Q,me)}getZone(){return this._zone}_findPluginFor(V){let Q=this._eventNameToPlugin.get(V);if(Q)return Q;if(Q=this._plugins.find(Ve=>Ve.supports(V)),!Q)throw new k.wOt(5101,!1);return this._eventNameToPlugin.set(V,Q),Q}static#e=this.\u0275fac=function(Q){return new(Q||de)(k.KVO(te),k.KVO(k.SKi))};static#t=this.\u0275prov=k.jDH({token:de,factory:de.\u0275fac})}return de})();class Me{constructor(ae){this._doc=ae}}const Te="ng-app-id";let De=(()=>{class de{constructor(V,Q,me,Ve={}){this.doc=V,this.appId=Q,this.nonce=me,this.platformId=Ve,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,s.Vy)(Ve),this.resetHostNodes()}addStyles(V){for(const Q of V)1===this.changeUsageCount(Q,1)&&this.onStyleAdded(Q)}removeStyles(V){for(const Q of V)this.changeUsageCount(Q,-1)<=0&&this.onStyleRemoved(Q)}ngOnDestroy(){const V=this.styleNodesInDOM;V&&(V.forEach(Q=>Q.remove()),V.clear());for(const Q of this.getAllStyles())this.onStyleRemoved(Q);this.resetHostNodes()}addHost(V){this.hostNodes.add(V);for(const Q of this.getAllStyles())this.addStyleToHost(V,Q)}removeHost(V){this.hostNodes.delete(V)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(V){for(const Q of this.hostNodes)this.addStyleToHost(Q,V)}onStyleRemoved(V){const Q=this.styleRef;Q.get(V)?.elements?.forEach(me=>me.remove()),Q.delete(V)}collectServerRenderedStyles(){const V=this.doc.head?.querySelectorAll(`style[${Te}="${this.appId}"]`);if(V?.length){const Q=new Map;return V.forEach(me=>{null!=me.textContent&&Q.set(me.textContent,me)}),Q}return null}changeUsageCount(V,Q){const me=this.styleRef;if(me.has(V)){const Ve=me.get(V);return Ve.usage+=Q,Ve.usage}return me.set(V,{usage:Q,elements:[]}),Q}getStyleElement(V,Q){const me=this.styleNodesInDOM,Ve=me?.get(Q);if(Ve?.parentNode===V)return me.delete(Q),Ve.removeAttribute(Te),Ve;{const Je=this.doc.createElement("style");return this.nonce&&Je.setAttribute("nonce",this.nonce),Je.textContent=Q,this.platformIsServer&&Je.setAttribute(Te,this.appId),V.appendChild(Je),Je}}addStyleToHost(V,Q){const me=this.getStyleElement(V,Q),Ve=this.styleRef,Je=Ve.get(Q)?.elements;Je?Je.push(me):Ve.set(Q,{elements:[me],usage:1})}resetHostNodes(){const V=this.hostNodes;V.clear(),V.add(this.doc.head)}static#e=this.\u0275fac=function(Q){return new(Q||de)(k.KVO(s.qQ),k.KVO(k.sZ2),k.KVO(k.BIS,8),k.KVO(k.Agw))};static#t=this.\u0275prov=k.jDH({token:de,factory:de.\u0275fac})}return de})();const be={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ue=/%COMP%/g,jt=new k.nKC("",{providedIn:"root",factory:()=>!0});function Jt(de,ae){return ae.map(V=>V.replace(Ue,de))}let pt=(()=>{class de{constructor(V,Q,me,Ve,Je,yt,Pt,Tt=null){this.eventManager=V,this.sharedStylesHost=Q,this.appId=me,this.removeStylesOnCompDestroy=Ve,this.doc=Je,this.platformId=yt,this.ngZone=Pt,this.nonce=Tt,this.rendererByCompId=new Map,this.platformIsServer=(0,s.Vy)(yt),this.defaultRenderer=new Mt(V,Je,Pt,this.platformIsServer)}createRenderer(V,Q){if(!V||!Q)return this.defaultRenderer;this.platformIsServer&&Q.encapsulation===k.gXe.ShadowDom&&(Q={...Q,encapsulation:k.gXe.Emulated});const me=this.getOrCreateRenderer(V,Q);return me instanceof fe?me.applyToHost(V):me instanceof q&&me.applyStyles(),me}getOrCreateRenderer(V,Q){const me=this.rendererByCompId;let Ve=me.get(Q.id);if(!Ve){const Je=this.doc,yt=this.ngZone,Pt=this.eventManager,Tt=this.sharedStylesHost,yn=this.removeStylesOnCompDestroy,wn=this.platformIsServer;switch(Q.encapsulation){case k.gXe.Emulated:Ve=new fe(Pt,Tt,Q,this.appId,yn,Je,yt,wn);break;case k.gXe.ShadowDom:return new Le(Pt,Tt,V,Q,Je,yt,this.nonce,wn);default:Ve=new q(Pt,Tt,Q,yn,Je,yt,wn)}me.set(Q.id,Ve)}return Ve}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Q){return new(Q||de)(k.KVO(se),k.KVO(De),k.KVO(k.sZ2),k.KVO(jt),k.KVO(s.qQ),k.KVO(k.Agw),k.KVO(k.SKi),k.KVO(k.BIS))};static#t=this.\u0275prov=k.jDH({token:de,factory:de.\u0275fac})}return de})();class Mt{constructor(ae,V,Q,me){this.eventManager=ae,this.doc=V,this.ngZone=Q,this.platformIsServer=me,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ae,V){return V?this.doc.createElementNS(be[V]||V,ae):this.doc.createElement(ae)}createComment(ae){return this.doc.createComment(ae)}createText(ae){return this.doc.createTextNode(ae)}appendChild(ae,V){(bt(ae)?ae.content:ae).appendChild(V)}insertBefore(ae,V,Q){ae&&(bt(ae)?ae.content:ae).insertBefore(V,Q)}removeChild(ae,V){V.remove()}selectRootElement(ae,V){let Q="string"==typeof ae?this.doc.querySelector(ae):ae;if(!Q)throw new k.wOt(-5104,!1);return V||(Q.textContent=""),Q}parentNode(ae){return ae.parentNode}nextSibling(ae){return ae.nextSibling}setAttribute(ae,V,Q,me){if(me){V=me+":"+V;const Ve=be[me];Ve?ae.setAttributeNS(Ve,V,Q):ae.setAttribute(V,Q)}else ae.setAttribute(V,Q)}removeAttribute(ae,V,Q){if(Q){const me=be[Q];me?ae.removeAttributeNS(me,V):ae.removeAttribute(`${Q}:${V}`)}else ae.removeAttribute(V)}addClass(ae,V){ae.classList.add(V)}removeClass(ae,V){ae.classList.remove(V)}setStyle(ae,V,Q,me){me&(k.czy.DashCase|k.czy.Important)?ae.style.setProperty(V,Q,me&k.czy.Important?"important":""):ae.style[V]=Q}removeStyle(ae,V,Q){Q&k.czy.DashCase?ae.style.removeProperty(V):ae.style[V]=""}setProperty(ae,V,Q){null!=ae&&(ae[V]=Q)}setValue(ae,V){ae.nodeValue=V}listen(ae,V,Q){if("string"==typeof ae&&!(ae=(0,s.QT)().getGlobalEventTarget(this.doc,ae)))throw new Error(`Unsupported event target ${ae} for event ${V}`);return this.eventManager.addEventListener(ae,V,this.decoratePreventDefault(Q))}decoratePreventDefault(ae){return V=>{if("__ngUnwrap__"===V)return ae;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ae(V)):ae(V))&&V.preventDefault()}}}function bt(de){return"TEMPLATE"===de.tagName&&void 0!==de.content}class Le extends Mt{constructor(ae,V,Q,me,Ve,Je,yt,Pt){super(ae,Ve,Je,Pt),this.sharedStylesHost=V,this.hostEl=Q,this.shadowRoot=Q.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tt=Jt(me.id,me.styles);for(const yn of Tt){const wn=document.createElement("style");yt&&wn.setAttribute("nonce",yt),wn.textContent=yn,this.shadowRoot.appendChild(wn)}}nodeOrShadowRoot(ae){return ae===this.hostEl?this.shadowRoot:ae}appendChild(ae,V){return super.appendChild(this.nodeOrShadowRoot(ae),V)}insertBefore(ae,V,Q){return super.insertBefore(this.nodeOrShadowRoot(ae),V,Q)}removeChild(ae,V){return super.removeChild(null,V)}parentNode(ae){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ae)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class q extends Mt{constructor(ae,V,Q,me,Ve,Je,yt,Pt){super(ae,Ve,Je,yt),this.sharedStylesHost=V,this.removeStylesOnCompDestroy=me,this.styles=Pt?Jt(Pt,Q.styles):Q.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class fe extends q{constructor(ae,V,Q,me,Ve,Je,yt,Pt){const Tt=me+"-"+Q.id;super(ae,V,Q,Ve,Je,yt,Pt,Tt),this.contentAttr=function et(de){return"_ngcontent-%COMP%".replace(Ue,de)}(Tt),this.hostAttr=function Et(de){return"_nghost-%COMP%".replace(Ue,de)}(Tt)}applyToHost(ae){this.applyStyles(),this.setAttribute(ae,this.hostAttr,"")}createElement(ae,V){const Q=super.createElement(ae,V);return super.setAttribute(Q,this.contentAttr,""),Q}}let Re=(()=>{class de extends Me{constructor(V){super(V)}supports(V){return!0}addEventListener(V,Q,me){return V.addEventListener(Q,me,!1),()=>this.removeEventListener(V,Q,me)}removeEventListener(V,Q,me){return V.removeEventListener(Q,me)}static#e=this.\u0275fac=function(Q){return new(Q||de)(k.KVO(s.qQ))};static#t=this.\u0275prov=k.jDH({token:de,factory:de.\u0275fac})}return de})(),Ge=(()=>{class de extends Me{constructor(V){super(V),this.delegate=(0,k.WQX)(k.zAP,{optional:!0})}supports(V){return!!this.delegate&&this.delegate.supports(V)}addEventListener(V,Q,me){return this.delegate.addEventListener(V,Q,me)}removeEventListener(V,Q,me){return this.delegate.removeEventListener(V,Q,me)}static#e=this.\u0275fac=function(Q){return new(Q||de)(k.KVO(s.qQ))};static#t=this.\u0275prov=k.jDH({token:de,factory:de.\u0275fac})}return de})();const Kt=["alt","control","meta","shift"],Xt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ze={alt:de=>de.altKey,control:de=>de.ctrlKey,meta:de=>de.metaKey,shift:de=>de.shiftKey};let kn=(()=>{class de extends Me{constructor(V){super(V)}supports(V){return null!=de.parseEventName(V)}addEventListener(V,Q,me){const Ve=de.parseEventName(Q),Je=de.eventCallback(Ve.fullKey,me,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.QT)().onAndCancel(V,Ve.domEventName,Je))}static parseEventName(V){const Q=V.toLowerCase().split("."),me=Q.shift();if(0===Q.length||"keydown"!==me&&"keyup"!==me)return null;const Ve=de._normalizeKey(Q.pop());let Je="",yt=Q.indexOf("code");if(yt>-1&&(Q.splice(yt,1),Je="code."),Kt.forEach(Tt=>{const yn=Q.indexOf(Tt);yn>-1&&(Q.splice(yn,1),Je+=Tt+".")}),Je+=Ve,0!=Q.length||0===Ve.length)return null;const Pt={};return Pt.domEventName=me,Pt.fullKey=Je,Pt}static matchEventFullKeyCode(V,Q){let me=Xt[V.key]||V.key,Ve="";return Q.indexOf("code.")>-1&&(me=V.code,Ve="code."),!(null==me||!me)&&(me=me.toLowerCase()," "===me?me="space":"."===me&&(me="dot"),Kt.forEach(Je=>{Je!==me&&(0,Ze[Je])(V)&&(Ve+=Je+".")}),Ve+=me,Ve===Q)}static eventCallback(V,Q,me){return Ve=>{de.matchEventFullKeyCode(Ve,V)&&me.runGuarded(()=>Q(Ve))}}static _normalizeKey(V){return"esc"===V?"escape":V}static#e=this.\u0275fac=function(Q){return new(Q||de)(k.KVO(s.qQ))};static#t=this.\u0275prov=k.jDH({token:de,factory:de.\u0275fac})}return de})();const Rn=(0,k.oH4)(k.fpN,"browser",[{provide:k.Agw,useValue:s.AJ},{provide:k.PLl,useValue:function Fn(){X.makeCurrent()},multi:!0},{provide:s.qQ,useFactory:function Kn(){return(0,k.TL$)(document),document},deps:[]}]),go=new k.nKC(""),nn=[{provide:k.e01,useClass:class W{addToWindow(ae){k.JZv.getAngularTestability=(Q,me=!0)=>{const Ve=ae.findTestabilityInTree(Q,me);if(null==Ve)throw new k.wOt(5103,!1);return Ve},k.JZv.getAllAngularTestabilities=()=>ae.getAllTestabilities(),k.JZv.getAllAngularRootElements=()=>ae.getAllRootElements(),k.JZv.frameworkStabilizers||(k.JZv.frameworkStabilizers=[]),k.JZv.frameworkStabilizers.push(Q=>{const me=k.JZv.getAllAngularTestabilities();let Ve=me.length;const Je=function(){Ve--,0==Ve&&Q()};me.forEach(yt=>{yt.whenStable(Je)})})}findTestabilityInTree(ae,V,Q){return null==V?null:ae.getTestability(V)??(Q?(0,s.QT)().isShadowRoot(V)?this.findTestabilityInTree(ae,V.host,!0):this.findTestabilityInTree(ae,V.parentElement,!0):null)}},deps:[]},{provide:k.WHO,useClass:k.NYb,deps:[k.SKi,k.giA,k.e01]},{provide:k.NYb,useClass:k.NYb,deps:[k.SKi,k.giA,k.e01]}],_n=[{provide:k.H8p,useValue:"root"},{provide:k.zcH,useFactory:function qn(){return new k.zcH},deps:[]},{provide:te,useClass:Re,multi:!0,deps:[s.qQ,k.SKi,k.Agw]},{provide:te,useClass:kn,multi:!0,deps:[s.qQ]},{provide:te,useClass:Ge,multi:!0},pt,De,se,{provide:k._9s,useExisting:pt},{provide:s.N0,useClass:re,deps:[]},[]];let Hi=(()=>{class de{constructor(V){}static withServerTransition(V){return{ngModule:de,providers:[{provide:k.sZ2,useValue:V.appId}]}}static#e=this.\u0275fac=function(Q){return new(Q||de)(k.KVO(go,12))};static#t=this.\u0275mod=k.$C({type:de});static#n=this.\u0275inj=k.G2t({providers:[..._n,...nn],imports:[s.MD,k.Hbi]})}return de})(),Xn=(()=>{class de{constructor(V){this._doc=V}getTitle(){return this._doc.title}setTitle(V){this._doc.title=V||""}static#e=this.\u0275fac=function(Q){return new(Q||de)(k.KVO(s.qQ))};static#t=this.\u0275prov=k.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})()},7901:(wt,oe,H)=>{H.d(oe,{iI:()=>l});var s=H(3953),k=H(4402),K=H(6648),X=H(7673),J=H(4412),Z=H(4572),Y=H(9350),W=H(8793),re=H(9030),te=H(1203),se=H(8810),Me=H(983),Te=H(17),De=H(1413),be=H(8359),Ue=H(177),Fe=H(6354),We=H(5558),nt=H(6697),Ut=H(9172),jt=H(5964),et=H(1397),Et=H(1594),Jt=H(274),pt=H(8141),Mt=H(9437),gt=H(2816),Vt=H(9901),bt=H(7018),Le=H(5109),q=H(3703),fe=H(980),Re=H(9898),Ge=H(6977),Kt=H(6365),Xt=H(345);const Ze="primary",kn=Symbol("RouteTitle");class Ln{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d[0]:d}return null}getAll(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function tn(u){return new Ln(u)}function $t(u,m,d){const _=d.path.split("/");if(_.length>u.length||"full"===d.pathMatch&&(m.hasChildren()||_.length<u.length))return null;const D={};for(let x=0;x<_.length;x++){const L=_[x],ue=u[x];if(":"===L[0])D[L.substring(1)]=ue;else if(L!==ue.path)return null}return{consumed:u.slice(0,_.length),posParams:D}}function Fn(u,m){const d=u?qn(u):void 0,_=m?qn(m):void 0;if(!d||!_||d.length!=_.length)return!1;let D;for(let x=0;x<d.length;x++)if(D=d[x],!Kn(u[D],m[D]))return!1;return!0}function qn(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}function Kn(u,m){if(Array.isArray(u)&&Array.isArray(m)){if(u.length!==m.length)return!1;const d=[...u].sort(),_=[...m].sort();return d.every((D,x)=>_[x]===D)}return u===m}function oi(u){return u.length>0?u[u.length-1]:null}function Rn(u){return(0,k.A)(u)?u:(0,s.jNT)(u)?(0,K.H)(Promise.resolve(u)):(0,X.of)(u)}const go={exact:function En(u,m,d){if(!_t(u.segments,m.segments)||!ri(u.segments,m.segments,d)||u.numberOfChildren!==m.numberOfChildren)return!1;for(const _ in m.children)if(!u.children[_]||!En(u.children[_],m.children[_],d))return!1;return!0},subset:Xn},nn={exact:function Hi(u,m){return Fn(u,m)},subset:function vi(u,m){return Object.keys(m).length<=Object.keys(u).length&&Object.keys(m).every(d=>Kn(u[d],m[d]))},ignored:()=>!0};function _n(u,m,d){return go[d.paths](u.root,m.root,d.matrixParams)&&nn[d.queryParams](u.queryParams,m.queryParams)&&!("exact"===d.fragment&&u.fragment!==m.fragment)}function Xn(u,m,d){return xi(u,m,m.segments,d)}function xi(u,m,d,_){if(u.segments.length>d.length){const D=u.segments.slice(0,d.length);return!(!_t(D,d)||m.hasChildren()||!ri(D,d,_))}if(u.segments.length===d.length){if(!_t(u.segments,d)||!ri(u.segments,d,_))return!1;for(const D in m.children)if(!u.children[D]||!Xn(u.children[D],m.children[D],_))return!1;return!0}{const D=d.slice(0,u.segments.length),x=d.slice(u.segments.length);return!!(_t(u.segments,D)&&ri(u.segments,D,_)&&u.children[Ze])&&xi(u.children[Ze],m,x,_)}}function ri(u,m,d){return m.every((_,D)=>nn[d](u[D].parameters,_.parameters))}class Nn{constructor(m=new mt([],{}),d={},_=null){this.root=m,this.queryParams=d,this.fragment=_}get queryParamMap(){return this._queryParamMap??=tn(this.queryParams),this._queryParamMap}toString(){return fn.serialize(this)}}class mt{constructor(m,d){this.segments=m,this.children=d,this.parent=null,Object.values(d).forEach(_=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vn(this)}}class si{constructor(m,d){this.path=m,this.parameters=d}get parameterMap(){return this._parameterMap??=tn(this.parameters),this._parameterMap}toString(){return Qn(this)}}function _t(u,m){return u.length===m.length&&u.every((d,_)=>d.path===m[_].path)}let An=(()=>{class u{static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:()=>new kt,providedIn:"root"})}return u})();class kt{parse(m){const d=new Ve(m);return new Nn(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(m){const d=`/${Cn(m.root,!0)}`,_=function yi(u){const m=Object.entries(u).map(([d,_])=>Array.isArray(_)?_.map(D=>`${Wt(d)}=${Wt(D)}`).join("&"):`${Wt(d)}=${Wt(_)}`).filter(d=>d);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${d}${_}${"string"==typeof m.fragment?`#${function jo(u){return encodeURI(u)}(m.fragment)}`:""}`}}const fn=new kt;function Vn(u){return u.segments.map(m=>Qn(m)).join("/")}function Cn(u,m){if(!u.hasChildren())return Vn(u);if(m){const d=u.children[Ze]?Cn(u.children[Ze],!1):"",_=[];return Object.entries(u.children).forEach(([D,x])=>{D!==Ze&&_.push(`${D}:${Cn(x,!1)}`)}),_.length>0?`${d}(${_.join("//")})`:d}{const d=function Pe(u,m){let d=[];return Object.entries(u.children).forEach(([_,D])=>{_===Ze&&(d=d.concat(m(D,_)))}),Object.entries(u.children).forEach(([_,D])=>{_!==Ze&&(d=d.concat(m(D,_)))}),d}(u,(_,D)=>D===Ze?[Cn(u.children[Ze],!1)]:[`${D}:${Cn(_,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[Ze]?`${Vn(u)}/${d[0]}`:`${Vn(u)}/(${d.join("//")})`}}function Bn(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wt(u){return Bn(u).replace(/%3B/gi,";")}function Ct(u){return Bn(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rt(u){return decodeURIComponent(u)}function Ii(u){return Rt(u.replace(/\+/g,"%20"))}function Qn(u){return`${Ct(u.path)}${function Un(u){return Object.entries(u).map(([m,d])=>`;${Ct(m)}=${Ct(d)}`).join("")}(u.parameters)}`}const wi=/^[^\/()?;#]+/;function vn(u){const m=u.match(wi);return m?m[0]:""}const Zn=/^[^\/()?;=#]+/,ae=/^[^=?&#]+/,Q=/^[^&#]+/;class Ve{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mt([],{}):new mt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(m.length>0||Object.keys(d).length>0)&&(_[Ze]=new mt(m,d)),_}parseSegment(){const m=vn(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new s.wOt(4009,!1);return this.capture(m),new si(Rt(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const d=function de(u){const m=u.match(Zn);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let _="";if(this.consumeOptional("=")){const D=vn(this.remaining);D&&(_=D,this.capture(_))}m[Rt(d)]=Rt(_)}parseQueryParam(m){const d=function V(u){const m=u.match(ae);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let _="";if(this.consumeOptional("=")){const L=function me(u){const m=u.match(Q);return m?m[0]:""}(this.remaining);L&&(_=L,this.capture(_))}const D=Ii(d),x=Ii(_);if(m.hasOwnProperty(D)){let L=m[D];Array.isArray(L)||(L=[L],m[D]=L),L.push(x)}else m[D]=x}parseParens(m){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=vn(this.remaining),D=this.remaining[_.length];if("/"!==D&&")"!==D&&";"!==D)throw new s.wOt(4010,!1);let x;_.indexOf(":")>-1?(x=_.slice(0,_.indexOf(":")),this.capture(x),this.capture(":")):m&&(x=Ze);const L=this.parseChildren();d[x]=1===Object.keys(L).length?L[Ze]:new mt([],L),this.consumeOptional("//")}return d}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new s.wOt(4011,!1)}}function Je(u){return u.segments.length>0?new mt([],{[Ze]:u}):u}function yt(u){const m={};for(const[_,D]of Object.entries(u.children)){const x=yt(D);if(_===Ze&&0===x.segments.length&&x.hasChildren())for(const[L,ue]of Object.entries(x.children))m[L]=ue;else(x.segments.length>0||x.hasChildren())&&(m[_]=x)}return function Pt(u){if(1===u.numberOfChildren&&u.children[Ze]){const m=u.children[Ze];return new mt(u.segments.concat(m.segments),m.children)}return u}(new mt(u.segments,m))}function Tt(u){return u instanceof Nn}function wn(u){let m;const D=Je(function d(x){const L={};for(const ie of x.children){const ke=d(ie);L[ie.outlet]=ke}const ue=new mt(x.url,L);return x===u&&(m=ue),ue}(u.root));return m??D}function zi(u,m,d,_){let D=u;for(;D.parent;)D=D.parent;if(0===m.length)return mo(D,D,D,d,_);const x=function ln(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new li(!0,0,u);let m=0,d=!1;const _=u.reduce((D,x,L)=>{if("object"==typeof x&&null!=x){if(x.outlets){const ue={};return Object.entries(x.outlets).forEach(([ie,ke])=>{ue[ie]="string"==typeof ke?ke.split("/"):ke}),[...D,{outlets:ue}]}if(x.segmentPath)return[...D,x.segmentPath]}return"string"!=typeof x?[...D,x]:0===L?(x.split("/").forEach((ue,ie)=>{0==ie&&"."===ue||(0==ie&&""===ue?d=!0:".."===ue?m++:""!=ue&&D.push(ue))}),D):[...D,x]},[]);return new li(d,m,_)}(m);if(x.toRoot())return mo(D,D,new mt([],{}),d,_);const L=function Yn(u,m,d){if(u.isAbsolute)return new Sn(m,!0,0);if(!d)return new Sn(m,!1,NaN);if(null===d.parent)return new Sn(d,!0,0);const _=Mi(u.commands[0])?0:1;return function Mn(u,m,d){let _=u,D=m,x=d;for(;x>D;){if(x-=D,_=_.parent,!_)throw new s.wOt(4005,!1);D=_.segments.length}return new Sn(_,!1,D-x)}(d,d.segments.length-1+_,u.numberOfDoubleDots)}(x,D,u),ue=L.processChildren?On(L.segmentGroup,L.index,x.commands):bi(L.segmentGroup,L.index,x.commands);return mo(D,L.segmentGroup,ue,d,_)}function Mi(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Ri(u){return"object"==typeof u&&null!=u&&u.outlets}function mo(u,m,d,_,D){let L,x={};_&&Object.entries(_).forEach(([ie,ke])=>{x[ie]=Array.isArray(ke)?ke.map(rt=>`${rt}`):`${ke}`}),L=u===m?d:$o(u,m,d);const ue=Je(yt(L));return new Nn(ue,x,D)}function $o(u,m,d){const _={};return Object.entries(u.children).forEach(([D,x])=>{_[D]=x===m?d:$o(x,m,d)}),new mt(u.segments,_)}class li{constructor(m,d,_){if(this.isAbsolute=m,this.numberOfDoubleDots=d,this.commands=_,m&&_.length>0&&Mi(_[0]))throw new s.wOt(4003,!1);const D=_.find(Ri);if(D&&D!==oi(_))throw new s.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Sn{constructor(m,d,_){this.segmentGroup=m,this.processChildren=d,this.index=_}}function bi(u,m,d){if(u??=new mt([],{}),0===u.segments.length&&u.hasChildren())return On(u,m,d);const _=function Ni(u,m,d){let _=0,D=m;const x={match:!1,pathIndex:0,commandIndex:0};for(;D<u.segments.length;){if(_>=d.length)return x;const L=u.segments[D],ue=d[_];if(Ri(ue))break;const ie=`${ue}`,ke=_<d.length-1?d[_+1]:null;if(D>0&&void 0===ie)break;if(ie&&ke&&"object"==typeof ke&&void 0===ke.outlets){if(!Ho(ie,ke,L))return x;_+=2}else{if(!Ho(ie,{},L))return x;_++}D++}return{match:!0,pathIndex:D,commandIndex:_}}(u,m,d),D=d.slice(_.commandIndex);if(_.match&&_.pathIndex<u.segments.length){const x=new mt(u.segments.slice(0,_.pathIndex),{});return x.children[Ze]=new mt(u.segments.slice(_.pathIndex),u.children),On(x,0,D)}return _.match&&0===D.length?new mt(u.segments,{}):_.match&&!u.hasChildren()?ci(u,m,d):_.match?On(u,0,D):ci(u,m,d)}function On(u,m,d){if(0===d.length)return new mt(u.segments,{});{const _=function Jn(u){return Ri(u[0])?u[0].outlets:{[Ze]:u}}(d),D={};if(Object.keys(_).some(x=>x!==Ze)&&u.children[Ze]&&1===u.numberOfChildren&&0===u.children[Ze].segments.length){const x=On(u.children[Ze],m,d);return new mt(u.segments,x.children)}return Object.entries(_).forEach(([x,L])=>{"string"==typeof L&&(L=[L]),null!==L&&(D[x]=bi(u.children[x],m,L))}),Object.entries(u.children).forEach(([x,L])=>{void 0===_[x]&&(D[x]=L)}),new mt(u.segments,D)}}function ci(u,m,d){const _=u.segments.slice(0,m);let D=0;for(;D<d.length;){const x=d[D];if(Ri(x)){const ie=Gi(x.outlets);return new mt(_,ie)}if(0===D&&Mi(d[0])){_.push(new si(u.segments[m].path,ir(d[0]))),D++;continue}const L=Ri(x)?x.outlets[Ze]:`${x}`,ue=D<d.length-1?d[D+1]:null;L&&ue&&Mi(ue)?(_.push(new si(L,ir(ue))),D+=2):(_.push(new si(L,{})),D++)}return new mt(_,{})}function Gi(u){const m={};return Object.entries(u).forEach(([d,_])=>{"string"==typeof _&&(_=[_]),null!==_&&(m[d]=ci(new mt([],{}),0,_))}),m}function ir(u){const m={};return Object.entries(u).forEach(([d,_])=>m[d]=`${_}`),m}function Ho(u,m,d){return u==d.path&&Fn(m,d.parameters)}const eo="imperative";var lt=function(u){return u[u.NavigationStart=0]="NavigationStart",u[u.NavigationEnd=1]="NavigationEnd",u[u.NavigationCancel=2]="NavigationCancel",u[u.NavigationError=3]="NavigationError",u[u.RoutesRecognized=4]="RoutesRecognized",u[u.ResolveStart=5]="ResolveStart",u[u.ResolveEnd=6]="ResolveEnd",u[u.GuardsCheckStart=7]="GuardsCheckStart",u[u.GuardsCheckEnd=8]="GuardsCheckEnd",u[u.RouteConfigLoadStart=9]="RouteConfigLoadStart",u[u.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",u[u.ChildActivationStart=11]="ChildActivationStart",u[u.ChildActivationEnd=12]="ChildActivationEnd",u[u.ActivationStart=13]="ActivationStart",u[u.ActivationEnd=14]="ActivationEnd",u[u.Scroll=15]="Scroll",u[u.NavigationSkipped=16]="NavigationSkipped",u}(lt||{});class sn{constructor(m,d){this.id=m,this.url=d}}class to extends sn{constructor(m,d,_="imperative",D=null){super(m,d),this.type=lt.NavigationStart,this.navigationTrigger=_,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class jn extends sn{constructor(m,d,_){super(m,d),this.urlAfterRedirects=_,this.type=lt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Pn=function(u){return u[u.Redirect=0]="Redirect",u[u.SupersededByNewNavigation=1]="SupersededByNewNavigation",u[u.NoDataFromResolver=2]="NoDataFromResolver",u[u.GuardRejected=3]="GuardRejected",u}(Pn||{}),I=function(u){return u[u.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",u[u.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",u}(I||{});class $ extends sn{constructor(m,d,_,D){super(m,d),this.reason=_,this.code=D,this.type=lt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class U extends sn{constructor(m,d,_,D){super(m,d),this.reason=_,this.code=D,this.type=lt.NavigationSkipped}}class ce extends sn{constructor(m,d,_,D){super(m,d),this.error=_,this.target=D,this.type=lt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ye extends sn{constructor(m,d,_,D){super(m,d),this.urlAfterRedirects=_,this.state=D,this.type=lt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Se extends sn{constructor(m,d,_,D){super(m,d),this.urlAfterRedirects=_,this.state=D,this.type=lt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Oe extends sn{constructor(m,d,_,D,x){super(m,d),this.urlAfterRedirects=_,this.state=D,this.shouldActivate=x,this.type=lt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qe extends sn{constructor(m,d,_,D){super(m,d),this.urlAfterRedirects=_,this.state=D,this.type=lt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class je extends sn{constructor(m,d,_,D){super(m,d),this.urlAfterRedirects=_,this.state=D,this.type=lt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ft{constructor(m){this.route=m,this.type=lt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ht{constructor(m){this.route=m,this.type=lt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class A{constructor(m){this.snapshot=m,this.type=lt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ve{constructor(m){this.snapshot=m,this.type=lt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class T{constructor(m){this.snapshot=m,this.type=lt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ee{constructor(m){this.snapshot=m,this.type=lt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ge{constructor(m,d,_){this.routerEvent=m,this.position=d,this.anchor=_,this.type=lt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class $e{}class ct{constructor(m,d){this.url=m,this.navigationBehaviorOptions=d}}function Ei(u){return u.outlet||Ze}function Eo(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let m=u.parent;m;m=m.parent){const d=m.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class Ws{get injector(){return Eo(this.route?.snapshot)??this.rootInjector}set injector(m){}constructor(m){this.rootInjector=m,this.outlet=null,this.route=null,this.children=new rr(this.rootInjector),this.attachRef=null}}let rr=(()=>{class u{constructor(d){this.rootInjector=d,this.contexts=new Map}onChildOutletCreated(d,_){const D=this.getOrCreateContext(d);D.outlet=_,this.contexts.set(d,D)}onChildOutletDestroyed(d){const _=this.getContext(d);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let _=this.getContext(d);return _||(_=new Ws(this.rootInjector),this.contexts.set(d,_)),_}getContext(d){return this.contexts.get(d)||null}static#e=this.\u0275fac=function(_){return new(_||u)(s.KVO(s.uvJ))};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class sr{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const d=this.pathFromRoot(m);return d.length>1?d[d.length-2]:null}children(m){const d=Er(m,this._root);return d?d.children.map(_=>_.value):[]}firstChild(m){const d=Er(m,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(m){const d=ar(m,this._root);return d.length<2?[]:d[d.length-2].children.map(D=>D.value).filter(D=>D!==m)}pathFromRoot(m){return ar(m,this._root).map(d=>d.value)}}function Er(u,m){if(u===m.value)return m;for(const d of m.children){const _=Er(u,d);if(_)return _}return null}function ar(u,m){if(u===m.value)return[m];for(const d of m.children){const _=ar(u,d);if(_.length)return _.unshift(m),_}return[]}class Si{constructor(m,d){this.value=m,this.children=d}toString(){return`TreeNode(${this.value})`}}function So(u){const m={};return u&&u.children.forEach(d=>m[d.value.outlet]=d),m}class lr extends sr{constructor(m,d){super(m),this.snapshot=d,Po(this,m)}toString(){return this.snapshot.toString()}}function Wr(u){const m=function Sr(u){const x=new Oo([],{},{},"",{},Ze,u,null,{});return new Go("",new Si(x,[]))}(u),d=new J.t([new si("",{})]),_=new J.t({}),D=new J.t({}),x=new J.t({}),L=new J.t(""),ue=new ei(d,_,x,L,D,Ze,u,m.root);return ue.snapshot=m.root,new lr(new Si(ue,[]),m)}class ei{constructor(m,d,_,D,x,L,ue,ie){this.urlSubject=m,this.paramsSubject=d,this.queryParamsSubject=_,this.fragmentSubject=D,this.dataSubject=x,this.outlet=L,this.component=ue,this._futureSnapshot=ie,this.title=this.dataSubject?.pipe((0,Fe.T)(ke=>ke[kn]))??(0,X.of)(void 0),this.url=m,this.params=d,this.queryParams=_,this.fragment=D,this.data=x}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,Fe.T)(m=>tn(m))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Fe.T)(m=>tn(m))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function io(u,m,d="emptyOnly"){let _;const{routeConfig:D}=u;return _=null===m||"always"!==d&&""!==D?.path&&(m.component||m.routeConfig?.loadComponent)?{params:{...u.params},data:{...u.data},resolve:{...u.data,...u._resolvedData??{}}}:{params:{...m.params,...u.params},data:{...m.data,...u.data},resolve:{...u.data,...m.data,...D?.data,...u._resolvedData}},D&&xo(D)&&(_.resolve[kn]=D.title),_}class Oo{get title(){return this.data?.[kn]}constructor(m,d,_,D,x,L,ue,ie,ke){this.url=m,this.params=d,this.queryParams=_,this.fragment=D,this.data=x,this.outlet=L,this.component=ue,this.routeConfig=ie,this._resolve=ke}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??=tn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=tn(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Go extends sr{constructor(m,d){super(d),this.url=m,Po(this,d)}toString(){return Or(this._root)}}function Po(u,m){m.value._routerState=u,m.children.forEach(d=>Po(u,d))}function Or(u){const m=u.children.length>0?` { ${u.children.map(Or).join(", ")} } `:"";return`${u.value}${m}`}function To(u){if(u.snapshot){const m=u.snapshot,d=u._futureSnapshot;u.snapshot=d,Fn(m.queryParams,d.queryParams)||u.queryParamsSubject.next(d.queryParams),m.fragment!==d.fragment&&u.fragmentSubject.next(d.fragment),Fn(m.params,d.params)||u.paramsSubject.next(d.params),function Ji(u,m){if(u.length!==m.length)return!1;for(let d=0;d<u.length;++d)if(!Fn(u[d],m[d]))return!1;return!0}(m.url,d.url)||u.urlSubject.next(d.url),Fn(m.data,d.data)||u.dataSubject.next(d.data)}else u.snapshot=u._futureSnapshot,u.dataSubject.next(u._futureSnapshot.data)}function Pr(u,m){const d=Fn(u.params,m.params)&&function ai(u,m){return _t(u,m)&&u.every((d,_)=>Fn(d.parameters,m[_].parameters))}(u.url,m.url);return d&&!(!u.parent!=!m.parent)&&(!u.parent||Pr(u.parent,m.parent))}function xo(u){return"string"==typeof u.title||null===u.title}let ms=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ze,this.activateEvents=new s.bkB,this.deactivateEvents=new s.bkB,this.attachEvents=new s.bkB,this.detachEvents=new s.bkB,this.parentContexts=(0,s.WQX)(rr),this.location=(0,s.WQX)(s.c1b),this.changeDetector=(0,s.WQX)(s.gRc),this.inputBinder=(0,s.WQX)(qo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(d){if(d.name){const{firstChange:_,previousValue:D}=d.name;if(_)return;this.isTrackedInParentContexts(D)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(D)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(d){return this.parentContexts.getContext(d)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);d?.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.wOt(4012,!1);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,_){this.activated=d,this._activatedRoute=_,this.location.insert(d.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,_){if(this.isActivated)throw new s.wOt(4013,!1);this._activatedRoute=d;const D=this.location,L=d.snapshot.component,ue=this.parentContexts.getOrCreateContext(this.name).children,ie=new Wo(d,ue,D.injector);this.activated=D.createComponent(L,{index:D.length,injector:ie,environmentInjector:_}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275dir=s.FsC({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.OA$]})}return u})();class Wo{__ngOutletInjector(m){return new Wo(this.route,this.childContexts,m)}constructor(m,d,_){this.route=m,this.childContexts=d,this.parent=_}get(m,d){return m===ei?this.route:m===rr?this.childContexts:this.parent.get(m,d)}}const qo=new s.nKC("");let qr=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(d){this.unsubscribeFromRouteData(d),this.subscribeToRouteData(d)}unsubscribeFromRouteData(d){this.outletDataSubscriptions.get(d)?.unsubscribe(),this.outletDataSubscriptions.delete(d)}subscribeToRouteData(d){const{activatedRoute:_}=d,D=(0,Z.z)([_.queryParams,_.params,_.data]).pipe((0,We.n)(([x,L,ue],ie)=>(ue={...x,...L,...ue},0===ie?(0,X.of)(ue):Promise.resolve(ue)))).subscribe(x=>{if(!d.isActivated||!d.activatedComponentRef||d.activatedRoute!==_||null===_.component)return void this.unsubscribeFromRouteData(d);const L=(0,s.HJs)(_.component);if(L)for(const{templateName:ue}of L.inputs)d.activatedComponentRef.setInput(ue,x[ue]);else this.unsubscribeFromRouteData(d)});this.outletDataSubscriptions.set(d,D)}static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac})}return u})();function Ko(u,m,d){if(d&&u.shouldReuseRoute(m.value,d.value.snapshot)){const _=d.value;_._futureSnapshot=m.value;const D=function Ea(u,m,d){return m.children.map(_=>{for(const D of d.children)if(u.shouldReuseRoute(_.value,D.value.snapshot))return Ko(u,_,D);return Ko(u,_)})}(u,m,d);return new Si(_,D)}{if(u.shouldAttach(m.value)){const x=u.retrieve(m.value);if(null!==x){const L=x.route;return L.value._futureSnapshot=m.value,L.children=m.children.map(ue=>Ko(u,ue)),L}}const _=function Io(u){return new ei(new J.t(u.url),new J.t(u.params),new J.t(u.queryParams),new J.t(u.fragment),new J.t(u.data),u.outlet,u.component,u)}(m.value),D=m.children.map(x=>Ko(u,x));return new Si(_,D)}}class cr{constructor(m,d){this.redirectTo=m,this.navigationBehaviorOptions=d}}const Ne="ngNavigationCancelingError";function Ai(u,m){const{redirectTo:d,navigationBehaviorOptions:_}=Tt(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,D=ui(!1,Pn.Redirect);return D.url=d,D.navigationBehaviorOptions=_,D}function ui(u,m){const d=new Error(`NavigationCancelingError: ${u||""}`);return d[Ne]=!0,d.cancellationCode=m,d}function Qr(u){return!!u&&u[Ne]}class Wi{constructor(m,d,_,D,x){this.routeReuseStrategy=m,this.futureState=d,this.currState=_,this.forwardEvent=D,this.inputBindingEnabled=x}activate(m){const d=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,_,m),To(this.futureState.root),this.activateChildRoutes(d,_,m)}deactivateChildRoutes(m,d,_){const D=So(d);m.children.forEach(x=>{const L=x.value.outlet;this.deactivateRoutes(x,D[L],_),delete D[L]}),Object.values(D).forEach(x=>{this.deactivateRouteAndItsChildren(x,_)})}deactivateRoutes(m,d,_){const D=m.value,x=d?d.value:null;if(D===x)if(D.component){const L=_.getContext(D.outlet);L&&this.deactivateChildRoutes(m,d,L.children)}else this.deactivateChildRoutes(m,d,_);else x&&this.deactivateRouteAndItsChildren(d,_)}deactivateRouteAndItsChildren(m,d){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,d):this.deactivateRouteAndOutlet(m,d)}detachAndStoreRouteSubtree(m,d){const _=d.getContext(m.value.outlet),D=_&&m.value.component?_.children:d,x=So(m);for(const L of Object.values(x))this.deactivateRouteAndItsChildren(L,D);if(_&&_.outlet){const L=_.outlet.detach(),ue=_.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:L,route:m,contexts:ue})}}deactivateRouteAndOutlet(m,d){const _=d.getContext(m.value.outlet),D=_&&m.value.component?_.children:d,x=So(m);for(const L of Object.values(x))this.deactivateRouteAndItsChildren(L,D);_&&(_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated()),_.attachRef=null,_.route=null)}activateChildRoutes(m,d,_){const D=So(d);m.children.forEach(x=>{this.activateRoutes(x,D[x.value.outlet],_),this.forwardEvent(new ee(x.value.snapshot))}),m.children.length&&this.forwardEvent(new ve(m.value.snapshot))}activateRoutes(m,d,_){const D=m.value,x=d?d.value:null;if(To(D),D===x)if(D.component){const L=_.getOrCreateContext(D.outlet);this.activateChildRoutes(m,d,L.children)}else this.activateChildRoutes(m,d,_);else if(D.component){const L=_.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const ue=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),L.children.onOutletReAttached(ue.contexts),L.attachRef=ue.componentRef,L.route=ue.route.value,L.outlet&&L.outlet.attach(ue.componentRef,ue.route.value),To(ue.route.value),this.activateChildRoutes(m,null,L.children)}else L.attachRef=null,L.route=D,L.outlet&&L.outlet.activateWith(D,L.injector),this.activateChildRoutes(m,null,L.children)}else this.activateChildRoutes(m,null,_)}}class oo{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class di{constructor(m,d){this.component=m,this.route=d}}function ro(u,m,d){const _=u._root;return Oi(_,m?m._root:null,d,[_.value])}function ki(u,m){const d=Symbol(),_=m.get(u,d);return _===d?"function"!=typeof u||(0,s.LfX)(u)?m.get(u):u:_}function Oi(u,m,d,_,D={canDeactivateChecks:[],canActivateChecks:[]}){const x=So(m);return u.children.forEach(L=>{(function Yr(u,m,d,_,D={canDeactivateChecks:[],canActivateChecks:[]}){const x=u.value,L=m?m.value:null,ue=d?d.getContext(u.value.outlet):null;if(L&&x.routeConfig===L.routeConfig){const ie=function pn(u,m,d){if("function"==typeof d)return d(u,m);switch(d){case"pathParamsChange":return!_t(u.url,m.url);case"pathParamsOrQueryParamsChange":return!_t(u.url,m.url)||!Fn(u.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pr(u,m)||!Fn(u.queryParams,m.queryParams);default:return!Pr(u,m)}}(L,x,x.routeConfig.runGuardsAndResolvers);ie?D.canActivateChecks.push(new oo(_)):(x.data=L.data,x._resolvedData=L._resolvedData),Oi(u,m,x.component?ue?ue.children:null:d,_,D),ie&&ue&&ue.outlet&&ue.outlet.isActivated&&D.canDeactivateChecks.push(new di(ue.outlet.component,L))}else L&&Xo(m,ue,D),D.canActivateChecks.push(new oo(_)),Oi(u,null,x.component?ue?ue.children:null:d,_,D)})(L,x[L.value.outlet],d,_.concat([L.value]),D),delete x[L.value.outlet]}),Object.entries(x).forEach(([L,ue])=>Xo(ue,d.getContext(L),D)),D}function Xo(u,m,d){const _=So(u),D=u.value;Object.entries(_).forEach(([x,L])=>{Xo(L,D.component?m?m.children.getContext(x):null:m,d)}),d.canDeactivateChecks.push(new di(D.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,D))}function Qo(u){return"function"==typeof u}function Zo(u){return u instanceof Y.G||"EmptyError"===u?.name}const Ye=Symbol("INITIAL_VALUE");function so(){return(0,We.n)(u=>(0,Z.z)(u.map(m=>m.pipe((0,nt.s)(1),(0,Ut.Z)(Ye)))).pipe((0,Fe.T)(m=>{for(const d of m)if(!0!==d){if(d===Ye)return Ye;if(!1===d||ti(d))return d}return!0}),(0,jt.p)(m=>m!==Ye),(0,nt.s)(1)))}function ti(u){return Tt(u)||u instanceof cr}function z(u){return(0,te.F)((0,pt.M)(m=>{if("boolean"!=typeof m)throw Ai(0,m)}),(0,Fe.T)(m=>!0===m))}class dt{constructor(m){this.segmentGroup=m||null}}class en extends Error{constructor(m){super(),this.urlTree=m}}function ze(u){return(0,se.$)(new dt(u))}class Xs{constructor(m,d){this.urlSerializer=m,this.urlTree=d}lineralizeSegments(m,d){let _=[],D=d.root;for(;;){if(_=_.concat(D.segments),0===D.numberOfChildren)return(0,X.of)(_);if(D.numberOfChildren>1||!D.children[Ze])return(0,se.$)(new s.wOt(4e3,!1));D=D.children[Ze]}}applyRedirectCommands(m,d,_,D,x){if("string"!=typeof d){const ue=d,{queryParams:ie,fragment:ke,routeConfig:rt,url:ht,outlet:hn,params:Fo,data:Vi,title:Nr}=D,lo=(0,s.N4e)(x,()=>ue({params:Fo,data:Vi,queryParams:ie,fragment:ke,routeConfig:rt,url:ht,outlet:hn,title:Nr}));if(lo instanceof Nn)throw new en(lo);d=lo}const L=this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),m,_);if("/"===d[0])throw new en(L);return L}applyRedirectCreateUrlTree(m,d,_,D){const x=this.createSegmentGroup(m,d.root,_,D);return new Nn(x,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(m,d){const _={};return Object.entries(m).forEach(([D,x])=>{if("string"==typeof x&&":"===x[0]){const ue=x.substring(1);_[D]=d[ue]}else _[D]=x}),_}createSegmentGroup(m,d,_,D){const x=this.createSegments(m,d.segments,_,D);let L={};return Object.entries(d.children).forEach(([ue,ie])=>{L[ue]=this.createSegmentGroup(m,ie,_,D)}),new mt(x,L)}createSegments(m,d,_,D){return d.map(x=>":"===x.path[0]?this.findPosParam(m,x,D):this.findOrReturn(x,_))}findPosParam(m,d,_){const D=_[d.path.substring(1)];if(!D)throw new s.wOt(4001,!1);return D}findOrReturn(m,d){let _=0;for(const D of d){if(D.path===m.path)return d.splice(_),D;_++}return m}}const ws={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Qt(u,m,d,_,D){const x=Ms(u,m,d);return x.matched?(_=function on(u,m){return u.providers&&!u._injector&&(u._injector=(0,s.Ol2)(u.providers,m,`Route: ${u.path}`)),u._injector??m}(m,_),function qe(u,m,d,_){const D=m.canMatch;if(!D||0===D.length)return(0,X.of)(!0);const x=D.map(L=>{const ue=ki(L,u);return Rn(function es(u){return u&&Qo(u.canMatch)}(ue)?ue.canMatch(m,d):(0,s.N4e)(u,()=>ue(m,d)))});return(0,X.of)(x).pipe(so(),z())}(_,m,d).pipe((0,Fe.T)(L=>!0===L?x:{...ws}))):(0,X.of)(x)}function Ms(u,m,d){if("**"===m.path)return function Ro(u){return{matched:!0,parameters:u.length>0?oi(u).parameters:{},consumedSegments:u,remainingSegments:[],positionalParamSegments:{}}}(d);if(""===m.path)return"full"===m.pathMatch&&(u.hasChildren()||d.length>0)?{...ws}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const D=(m.matcher||$t)(d,u,m);if(!D)return{...ws};const x={};Object.entries(D.posParams??{}).forEach(([ue,ie])=>{x[ue]=ie.path});const L=D.consumed.length>0?{...x,...D.consumed[D.consumed.length-1].parameters}:x;return{matched:!0,consumedSegments:D.consumed,remainingSegments:d.slice(D.consumed.length),parameters:L,positionalParamSegments:D.posParams??{}}}function ts(u,m,d,_){return d.length>0&&function Ds(u,m,d){return d.some(_=>dr(u,m,_)&&Ei(_)!==Ze)}(u,d,_)?{segmentGroup:new mt(m,bs(_,new mt(d,u.children))),slicedSegments:[]}:0===d.length&&function Es(u,m,d){return d.some(_=>dr(u,m,_))}(u,d,_)?{segmentGroup:new mt(u.segments,Ol(u,d,_,u.children)),slicedSegments:d}:{segmentGroup:new mt(u.segments,u.children),slicedSegments:d}}function Ol(u,m,d,_){const D={};for(const x of d)if(dr(u,m,x)&&!_[Ei(x)]){const L=new mt([],{});D[Ei(x)]=L}return{..._,...D}}function bs(u,m){const d={};d[Ze]=m;for(const _ of u)if(""===_.path&&Ei(_)!==Ze){const D=new mt([],{});d[Ei(_)]=D}return d}function dr(u,m,d){return(!(u.hasChildren()||m.length>0)||"full"!==d.pathMatch)&&""===d.path}class _o{}class Os{constructor(m,d,_,D,x,L,ue){this.injector=m,this.configLoader=d,this.rootComponentType=_,this.config=D,this.urlTree=x,this.paramsInheritanceStrategy=L,this.urlSerializer=ue,this.applyRedirects=new Xs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(m){return new s.wOt(4002,`'${m.segmentGroup}'`)}recognize(){const m=ts(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(m).pipe((0,Fe.T)(({children:d,rootSnapshot:_})=>{const D=new Si(_,d),x=new Go("",D),L=function yn(u,m,d=null,_=null){return zi(wn(u),m,d,_)}(_,[],this.urlTree.queryParams,this.urlTree.fragment);return L.queryParams=this.urlTree.queryParams,x.url=this.urlSerializer.serialize(L),{state:x,tree:L}}))}match(m){const d=new Oo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ze,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,m,Ze,d).pipe((0,Fe.T)(_=>({children:_,rootSnapshot:d})),(0,Mt.W)(_=>{if(_ instanceof en)return this.urlTree=_.urlTree,this.match(_.urlTree.root);throw _ instanceof dt?this.noMatchError(_):_}))}processSegmentGroup(m,d,_,D,x){return 0===_.segments.length&&_.hasChildren()?this.processChildren(m,d,_,x):this.processSegment(m,d,_,_.segments,D,!0,x).pipe((0,Fe.T)(L=>L instanceof Si?[L]:[]))}processChildren(m,d,_,D){const x=[];for(const L of Object.keys(_.children))"primary"===L?x.unshift(L):x.push(L);return(0,K.H)(x).pipe((0,Jt.H)(L=>{const ue=_.children[L],ie=function Gr(u,m){const d=u.filter(_=>Ei(_)===m);return d.push(...u.filter(_=>Ei(_)!==m)),d}(d,L);return this.processSegmentGroup(m,ie,ue,L,D)}),(0,gt.S)((L,ue)=>(L.push(...ue),L)),(0,Vt.U)(null),(0,bt.H)(),(0,et.Z)(L=>{if(null===L)return ze(_);const ue=is(L);return function ns(u){u.sort((m,d)=>m.value.outlet===Ze?-1:d.value.outlet===Ze?1:m.value.outlet.localeCompare(d.value.outlet))}(ue),(0,X.of)(ue)}))}processSegment(m,d,_,D,x,L,ue){return(0,K.H)(d).pipe((0,Jt.H)(ie=>this.processSegmentAgainstRoute(ie._injector??m,d,ie,_,D,x,L,ue).pipe((0,Mt.W)(ke=>{if(ke instanceof dt)return(0,X.of)(null);throw ke}))),(0,Et.$)(ie=>!!ie),(0,Mt.W)(ie=>{if(Zo(ie))return function Qs(u,m,d){return 0===m.length&&!u.children[d]}(_,D,x)?(0,X.of)(new _o):ze(_);throw ie}))}processSegmentAgainstRoute(m,d,_,D,x,L,ue,ie){return Ei(_)===L||L!==Ze&&dr(D,x,_)?void 0===_.redirectTo?this.matchSegmentAgainstRoute(m,D,_,x,L,ie):this.allowRedirects&&ue?this.expandSegmentAgainstRouteUsingRedirect(m,D,d,_,x,L,ie):ze(D):ze(D)}expandSegmentAgainstRouteUsingRedirect(m,d,_,D,x,L,ue){const{matched:ie,parameters:ke,consumedSegments:rt,positionalParamSegments:ht,remainingSegments:hn}=Ms(d,D,x);if(!ie)return ze(d);"string"==typeof D.redirectTo&&"/"===D.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Fo=new Oo(x,ke,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ps(D),Ei(D),D.component??D._loadedComponent??null,D,Pl(D)),Vi=io(Fo,ue,this.paramsInheritanceStrategy);Fo.params=Object.freeze(Vi.params),Fo.data=Object.freeze(Vi.data);const Nr=this.applyRedirects.applyRedirectCommands(rt,D.redirectTo,ht,Fo,m);return this.applyRedirects.lineralizeSegments(D,Nr).pipe((0,et.Z)(lo=>this.processSegment(m,_,d,lo.concat(hn),L,!1,ue)))}matchSegmentAgainstRoute(m,d,_,D,x,L){const ue=Qt(d,_,D,m);return"**"===_.path&&(d.children={}),ue.pipe((0,We.n)(ie=>ie.matched?this.getChildConfig(m=_._injector??m,_,D).pipe((0,We.n)(({routes:ke})=>{const rt=_._loadedInjector??m,{parameters:ht,consumedSegments:hn,remainingSegments:Fo}=ie,Vi=new Oo(hn,ht,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ps(_),Ei(_),_.component??_._loadedComponent??null,_,Pl(_)),Nr=io(Vi,L,this.paramsInheritanceStrategy);Vi.params=Object.freeze(Nr.params),Vi.data=Object.freeze(Nr.data);const{segmentGroup:lo,slicedSegments:ks}=ts(d,hn,Fo,ke);if(0===ks.length&&lo.hasChildren())return this.processChildren(rt,ke,lo,Vi).pipe((0,Fe.T)(na=>new Si(Vi,na)));if(0===ke.length&&0===ks.length)return(0,X.of)(new Si(Vi,[]));const Qc=Ei(_)===x;return this.processSegment(rt,ke,lo,ks,Qc?Ze:x,!0,Vi).pipe((0,Fe.T)(na=>new Si(Vi,na instanceof Si?[na]:[])))})):ze(d)))}getChildConfig(m,d,_){return d.children?(0,X.of)({routes:d.children,injector:m}):d.loadChildren?void 0!==d._loadedRoutes?(0,X.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function P(u,m,d,_){const D=m.canLoad;if(void 0===D||0===D.length)return(0,X.of)(!0);const x=D.map(L=>{const ue=ki(L,u);return Rn(function _s(u){return u&&Qo(u.canLoad)}(ue)?ue.canLoad(m,d):(0,s.N4e)(u,()=>ue(m,d)))});return(0,X.of)(x).pipe(so(),z())}(m,d,_).pipe((0,et.Z)(D=>D?this.configLoader.loadChildren(m,d).pipe((0,pt.M)(x=>{d._loadedRoutes=x.routes,d._loadedInjector=x.injector})):function Sl(){return(0,se.$)(ui(!1,Pn.GuardRejected))}())):(0,X.of)({routes:[],injector:m})}}function hi(u){const m=u.value.routeConfig;return m&&""===m.path}function is(u){const m=[],d=new Set;for(const _ of u){if(!hi(_)){m.push(_);continue}const D=m.find(x=>_.value.routeConfig===x.value.routeConfig);void 0!==D?(D.children.push(..._.children),d.add(D)):m.push(_)}for(const _ of d){const D=is(_.children);m.push(new Si(_.value,D))}return m.filter(_=>!d.has(_))}function Ps(u){return u.data||{}}function Pl(u){return u.resolve||{}}function Tl(u){const m=u.children.map(d=>Tl(d)).flat();return[u,...m]}function Ir(u){return(0,We.n)(m=>{const d=u(m);return d?(0,K.H)(d).pipe((0,Fe.T)(()=>m)):(0,X.of)(m)})}let Ys=(()=>{class u{buildTitle(d){let _,D=d.root;for(;void 0!==D;)_=this.getResolvedTitleForRoute(D)??_,D=D.children.find(x=>x.outlet===Ze);return _}getResolvedTitleForRoute(d){return d.data[kn]}static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:()=>(0,s.WQX)(Co),providedIn:"root"})}return u})(),Co=(()=>{class u extends Ys{constructor(d){super(),this.title=d}updateTitle(d){const _=this.buildTitle(d);void 0!==_&&this.title.setTitle(_)}static#e=this.\u0275fac=function(_){return new(_||u)(s.KVO(Xt.hE))};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const vo=new s.nKC("",{providedIn:"root",factory:()=>({})});let xs=(()=>{class u{static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275cmp=s.VBU({type:u,selectors:[["ng-component"]],standalone:!0,features:[s.aNF],decls:1,vars:0,template:function(_,D){1&_&&s.nrm(0,"router-outlet")},dependencies:[ms],encapsulation:2})}return u})();function ot(u){const m=u.children&&u.children.map(ot),d=m?{...u,children:m}:{...u};return!d.component&&!d.loadComponent&&(m||d.loadChildren)&&d.outlet&&d.outlet!==Ze&&(d.component=xs),d}const St=new s.nKC("");let Oa=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.WQX)(s.Ql9)}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,X.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const _=Rn(d.loadComponent()).pipe((0,Fe.T)(Pa),(0,pt.M)(x=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=x}),(0,fe.j)(()=>{this.componentLoaders.delete(d)})),D=new Te.G(_,()=>new De.B).pipe((0,Re.B)());return this.componentLoaders.set(d,D),D}loadChildren(d,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,X.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const x=function xl(u,m,d,_){return Rn(u.loadChildren()).pipe((0,Fe.T)(Pa),(0,et.Z)(D=>D instanceof s.Co$||Array.isArray(D)?(0,X.of)(D):(0,K.H)(m.compileModuleAsync(D))),(0,Fe.T)(D=>{_&&_(u);let x,L,ue=!1;return Array.isArray(D)?(L=D,!0):(x=D.create(d).injector,L=x.get(St,[],{optional:!0,self:!0}).flat()),{routes:L.map(ot),injector:x}}))}(_,this.compiler,d,this.onLoadEndListener).pipe((0,fe.j)(()=>{this.childrenLoaders.delete(_)})),L=new Te.G(x,()=>new De.B).pipe((0,Re.B)());return this.childrenLoaders.set(_,L),L}static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Pa(u){return function Il(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let os=(()=>{class u{static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:()=>(0,s.WQX)(Js),providedIn:"root"})}return u})(),Js=(()=>{class u{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,_){return d}static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Dt=new s.nKC(""),Is=new s.nKC("");function hr(u,m,d){const _=u.get(Is),D=u.get(Ue.qQ);return u.get(s.SKi).runOutsideAngular(()=>{if(!D.startViewTransition||_.skipNextTransition)return _.skipNextTransition=!1,new Promise(ke=>setTimeout(ke));let x;const L=new Promise(ke=>{x=ke}),ue=D.startViewTransition(()=>(x(),function cn(u){return new Promise(m=>{(0,s.mal)({read:()=>setTimeout(m)},{injector:u})})}(u))),{onViewTransitionCreated:ie}=_;return ie&&(0,s.N4e)(u,()=>ie({transition:ue,from:m,to:d})),L})}const fr=new s.nKC("");let Rs=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new De.B,this.transitionAbortSubject=new De.B,this.configLoader=(0,s.WQX)(Oa),this.environmentInjector=(0,s.WQX)(s.uvJ),this.urlSerializer=(0,s.WQX)(An),this.rootContexts=(0,s.WQX)(rr),this.location=(0,s.WQX)(Ue.aZ),this.inputBindingEnabled=null!==(0,s.WQX)(qo,{optional:!0}),this.titleStrategy=(0,s.WQX)(Ys),this.options=(0,s.WQX)(vo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,s.WQX)(os),this.createViewTransition=(0,s.WQX)(Dt,{optional:!0}),this.navigationErrorHandler=(0,s.WQX)(fr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,X.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=D=>this.events.next(new Ht(D)),this.configLoader.onLoadStartListener=D=>this.events.next(new Ft(D))}complete(){this.transitions?.complete()}handleNavigationRequest(d){const _=++this.navigationId;this.transitions?.next({...this.transitions.value,...d,id:_})}setupNavigations(d,_,D){return this.transitions=new J.t({id:0,currentUrlTree:_,currentRawUrl:_,extractedUrl:this.urlHandlingStrategy.extract(_),urlAfterRedirects:this.urlHandlingStrategy.extract(_),rawUrl:_,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:eo,restoredState:null,currentSnapshot:D.snapshot,targetSnapshot:null,currentRouterState:D,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,jt.p)(x=>0!==x.id),(0,Fe.T)(x=>({...x,extractedUrl:this.urlHandlingStrategy.extract(x.rawUrl)})),(0,We.n)(x=>{let L=!1,ue=!1;return(0,X.of)(x).pipe((0,We.n)(ie=>{if(this.navigationId>x.id)return this.cancelNavigationTransition(x,"",Pn.SupersededByNewNavigation),Me.w;this.currentTransition=x,this.currentNavigation={id:ie.id,initialUrl:ie.rawUrl,extractedUrl:ie.extractedUrl,targetBrowserUrl:"string"==typeof ie.extras.browserUrl?this.urlSerializer.parse(ie.extras.browserUrl):ie.extras.browserUrl,trigger:ie.source,extras:ie.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const ke=!d.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ke&&"reload"!==(ie.extras.onSameUrlNavigation??d.onSameUrlNavigation)){const ht="";return this.events.next(new U(ie.id,this.urlSerializer.serialize(ie.rawUrl),ht,I.IgnoredSameUrlNavigation)),ie.resolve(!1),Me.w}if(this.urlHandlingStrategy.shouldProcessUrl(ie.rawUrl))return(0,X.of)(ie).pipe((0,We.n)(ht=>{const hn=this.transitions?.getValue();return this.events.next(new to(ht.id,this.urlSerializer.serialize(ht.extractedUrl),ht.source,ht.restoredState)),hn!==this.transitions?.getValue()?Me.w:Promise.resolve(ht)}),function zc(u,m,d,_,D,x){return(0,et.Z)(L=>function Ss(u,m,d,_,D,x,L="emptyOnly"){return new Os(u,m,d,_,D,L,x).recognize()}(u,m,d,_,L.extractedUrl,D,x).pipe((0,Fe.T)(({state:ue,tree:ie})=>({...L,targetSnapshot:ue,urlAfterRedirects:ie}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,d.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,pt.M)(ht=>{x.targetSnapshot=ht.targetSnapshot,x.urlAfterRedirects=ht.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ht.urlAfterRedirects};const hn=new ye(ht.id,this.urlSerializer.serialize(ht.extractedUrl),this.urlSerializer.serialize(ht.urlAfterRedirects),ht.targetSnapshot);this.events.next(hn)}));if(ke&&this.urlHandlingStrategy.shouldProcessUrl(ie.currentRawUrl)){const{id:ht,extractedUrl:hn,source:Fo,restoredState:Vi,extras:Nr}=ie,lo=new to(ht,this.urlSerializer.serialize(hn),Fo,Vi);this.events.next(lo);const ks=Wr(this.rootComponentType).snapshot;return this.currentTransition=x={...ie,targetSnapshot:ks,urlAfterRedirects:hn,extras:{...Nr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=hn,(0,X.of)(x)}{const ht="";return this.events.next(new U(ie.id,this.urlSerializer.serialize(ie.extractedUrl),ht,I.IgnoredByUrlHandlingStrategy)),ie.resolve(!1),Me.w}}),(0,pt.M)(ie=>{const ke=new Se(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects),ie.targetSnapshot);this.events.next(ke)}),(0,Fe.T)(ie=>(this.currentTransition=x={...ie,guards:ro(ie.targetSnapshot,ie.currentSnapshot,this.rootContexts)},x)),function qs(u,m){return(0,et.Z)(d=>{const{targetSnapshot:_,currentSnapshot:D,guards:{canActivateChecks:x,canDeactivateChecks:L}}=d;return 0===L.length&&0===x.length?(0,X.of)({...d,guardsResult:!0}):function vs(u,m,d,_){return(0,K.H)(u).pipe((0,et.Z)(D=>function C(u,m,d,_,D){const x=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!x||0===x.length)return(0,X.of)(!0);const L=x.map(ue=>{const ie=Eo(m)??D,ke=ki(ue,ie);return Rn(function Cs(u){return u&&Qo(u.canDeactivate)}(ke)?ke.canDeactivate(u,m,d,_):(0,s.N4e)(ie,()=>ke(u,m,d,_))).pipe((0,Et.$)())});return(0,X.of)(L).pipe(so())}(D.component,D.route,d,m,_)),(0,Et.$)(D=>!0!==D,!0))}(L,_,D,u).pipe((0,et.Z)(ue=>ue&&function Nt(u){return"boolean"==typeof u}(ue)?function Sa(u,m,d,_){return(0,K.H)(m).pipe((0,Jt.H)(D=>(0,W.x)(function Ks(u,m){return null!==u&&m&&m(new A(u)),(0,X.of)(!0)}(D.route.parent,_),function Fi(u,m){return null!==u&&m&&m(new T(u)),(0,X.of)(!0)}(D.route,_),function M(u,m,d){const _=m[m.length-1],x=m.slice(0,m.length-1).reverse().map(L=>function Zr(u){const m=u.routeConfig?u.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:u,guards:m}:null}(L)).filter(L=>null!==L).map(L=>(0,re.v)(()=>{const ue=L.guards.map(ie=>{const ke=Eo(L.node)??d,rt=ki(ie,ke);return Rn(function Jr(u){return u&&Qo(u.canActivateChild)}(rt)?rt.canActivateChild(_,u):(0,s.N4e)(ke,()=>rt(_,u))).pipe((0,Et.$)())});return(0,X.of)(ue).pipe(so())}));return(0,X.of)(x).pipe(so())}(u,D.path,d),function w(u,m,d){const _=m.routeConfig?m.routeConfig.canActivate:null;if(!_||0===_.length)return(0,X.of)(!0);const D=_.map(x=>(0,re.v)(()=>{const L=Eo(m)??d,ue=ki(x,L);return Rn(function bn(u){return u&&Qo(u.canActivate)}(ue)?ue.canActivate(m,u):(0,s.N4e)(L,()=>ue(m,u))).pipe((0,Et.$)())}));return(0,X.of)(D).pipe(so())}(u,D.route,d))),(0,Et.$)(D=>!0!==D,!0))}(_,x,u,m):(0,X.of)(ue)),(0,Fe.T)(ue=>({...d,guardsResult:ue})))})}(this.environmentInjector,ie=>this.events.next(ie)),(0,pt.M)(ie=>{if(x.guardsResult=ie.guardsResult,ie.guardsResult&&"boolean"!=typeof ie.guardsResult)throw Ai(0,ie.guardsResult);const ke=new Oe(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects),ie.targetSnapshot,!!ie.guardsResult);this.events.next(ke)}),(0,jt.p)(ie=>!!ie.guardsResult||(this.cancelNavigationTransition(ie,"",Pn.GuardRejected),!1)),Ir(ie=>{if(ie.guards.canActivateChecks.length)return(0,X.of)(ie).pipe((0,pt.M)(ke=>{const rt=new Qe(ke.id,this.urlSerializer.serialize(ke.extractedUrl),this.urlSerializer.serialize(ke.urlAfterRedirects),ke.targetSnapshot);this.events.next(rt)}),(0,We.n)(ke=>{let rt=!1;return(0,X.of)(ke).pipe(function Gc(u,m){return(0,et.Z)(d=>{const{targetSnapshot:_,guards:{canActivateChecks:D}}=d;if(!D.length)return(0,X.of)(d);const x=new Set(D.map(ie=>ie.route)),L=new Set;for(const ie of x)if(!L.has(ie))for(const ke of Tl(ie))L.add(ke);let ue=0;return(0,K.H)(L).pipe((0,Jt.H)(ie=>x.has(ie)?function Zs(u,m,d,_){const D=u.routeConfig,x=u._resolve;return void 0!==D?.title&&!xo(D)&&(x[kn]=D.title),function xr(u,m,d,_){const D=qn(u);if(0===D.length)return(0,X.of)({});const x={};return(0,K.H)(D).pipe((0,et.Z)(L=>function Ts(u,m,d,_){const D=Eo(m)??_,x=ki(u,D);return Rn(x.resolve?x.resolve(m,d):(0,s.N4e)(D,()=>x(m,d)))}(u[L],m,d,_).pipe((0,Et.$)(),(0,pt.M)(ue=>{if(ue instanceof cr)throw Ai(new kt,ue);x[L]=ue}))),(0,Le.o)(1),(0,q.u)(x),(0,Mt.W)(L=>Zo(L)?Me.w:(0,se.$)(L)))}(x,u,m,_).pipe((0,Fe.T)(L=>(u._resolvedData=L,u.data=io(u,u.parent,d).resolve,null)))}(ie,_,u,m):(ie.data=io(ie,ie.parent,u).resolve,(0,X.of)(void 0))),(0,pt.M)(()=>ue++),(0,Le.o)(1),(0,et.Z)(ie=>ue===L.size?(0,X.of)(d):Me.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,pt.M)({next:()=>rt=!0,complete:()=>{rt||this.cancelNavigationTransition(ke,"",Pn.NoDataFromResolver)}}))}),(0,pt.M)(ke=>{const rt=new je(ke.id,this.urlSerializer.serialize(ke.extractedUrl),this.urlSerializer.serialize(ke.urlAfterRedirects),ke.targetSnapshot);this.events.next(rt)}))}),Ir(ie=>{const ke=rt=>{const ht=[];rt.routeConfig?.loadComponent&&!rt.routeConfig._loadedComponent&&ht.push(this.configLoader.loadComponent(rt.routeConfig).pipe((0,pt.M)(hn=>{rt.component=hn}),(0,Fe.T)(()=>{})));for(const hn of rt.children)ht.push(...ke(hn));return ht};return(0,Z.z)(ke(ie.targetSnapshot.root)).pipe((0,Vt.U)(null),(0,nt.s)(1))}),Ir(()=>this.afterPreactivation()),(0,We.n)(()=>{const{currentSnapshot:ie,targetSnapshot:ke}=x,rt=this.createViewTransition?.(this.environmentInjector,ie.root,ke.root);return rt?(0,K.H)(rt).pipe((0,Fe.T)(()=>x)):(0,X.of)(x)}),(0,Fe.T)(ie=>{const ke=function Kr(u,m,d){const _=Ko(u,m._root,d?d._root:void 0);return new lr(_,m)}(d.routeReuseStrategy,ie.targetSnapshot,ie.currentRouterState);return this.currentTransition=x={...ie,targetRouterState:ke},this.currentNavigation.targetRouterState=ke,x}),(0,pt.M)(()=>{this.events.next(new $e)}),((u,m,d,_)=>(0,Fe.T)(D=>(new Wi(m,D.targetRouterState,D.currentRouterState,d,_).activate(u),D)))(this.rootContexts,d.routeReuseStrategy,ie=>this.events.next(ie),this.inputBindingEnabled),(0,nt.s)(1),(0,pt.M)({next:ie=>{L=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new jn(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects))),this.titleStrategy?.updateTitle(ie.targetRouterState.snapshot),ie.resolve(!0)},complete:()=>{L=!0}}),(0,Ge.Q)(this.transitionAbortSubject.pipe((0,pt.M)(ie=>{throw ie}))),(0,fe.j)(()=>{!L&&!ue&&this.cancelNavigationTransition(x,"",Pn.SupersededByNewNavigation),this.currentTransition?.id===x.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Mt.W)(ie=>{if(ue=!0,Qr(ie))this.events.next(new $(x.id,this.urlSerializer.serialize(x.extractedUrl),ie.message,ie.cancellationCode)),function Xr(u){return Qr(u)&&Tt(u.url)}(ie)?this.events.next(new ct(ie.url,ie.navigationBehaviorOptions)):x.resolve(!1);else{const ke=new ce(x.id,this.urlSerializer.serialize(x.extractedUrl),ie,x.targetSnapshot??void 0);try{const rt=(0,s.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(ke));if(rt instanceof cr){const{message:ht,cancellationCode:hn}=Ai(0,rt);this.events.next(new $(x.id,this.urlSerializer.serialize(x.extractedUrl),ht,hn)),this.events.next(new ct(rt.redirectTo,rt.navigationBehaviorOptions))}else{this.events.next(ke);const ht=d.errorHandler(ie);x.resolve(!!ht)}}catch(rt){this.options.resolveNavigationPromiseOnError?x.resolve(!1):x.reject(rt)}}return Me.w}))}))}cancelNavigationTransition(d,_,D){const x=new $(d.id,this.urlSerializer.serialize(d.extractedUrl),_,D);this.events.next(x),d.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const d=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),_=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return d.toString()!==_?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function rs(u){return u!==eo}let ss=(()=>{class u{static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:()=>(0,s.WQX)(f),providedIn:"root"})}return u})();class ea{shouldDetach(m){return!1}store(m,d){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,d){return m.routeConfig===d.routeConfig}}let f=(()=>{class u extends ea{static#e=this.\u0275fac=(()=>{let d;return function(D){return(d||(d=s.xGo(u)))(D||u)}})();static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),S=(()=>{class u{static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:()=>(0,s.WQX)(v),providedIn:"root"})}return u})(),v=(()=>{class u extends S{constructor(){super(...arguments),this.location=(0,s.WQX)(Ue.aZ),this.urlSerializer=(0,s.WQX)(An),this.options=(0,s.WQX)(vo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,s.WQX)(os),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Nn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Wr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(d){return this.location.subscribe(_=>{"popstate"===_.type&&d(_.url,_.state)})}handleRouterEvent(d,_){if(d instanceof to)this.stateMemento=this.createStateMemento();else if(d instanceof U)this.rawUrlTree=_.initialUrl;else if(d instanceof ye){if("eager"===this.urlUpdateStrategy&&!_.extras.skipLocationChange){const D=this.urlHandlingStrategy.merge(_.finalUrl,_.initialUrl);this.setBrowserUrl(_.targetBrowserUrl??D,_)}}else d instanceof $e?(this.currentUrlTree=_.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(_.finalUrl,_.initialUrl),this.routerState=_.targetRouterState,"deferred"===this.urlUpdateStrategy&&!_.extras.skipLocationChange&&this.setBrowserUrl(_.targetBrowserUrl??this.rawUrlTree,_)):d instanceof $&&(d.code===Pn.GuardRejected||d.code===Pn.NoDataFromResolver)?this.restoreHistory(_):d instanceof ce?this.restoreHistory(_,!0):d instanceof jn&&(this.lastSuccessfulId=d.id,this.currentPageId=this.browserPageId)}setBrowserUrl(d,_){const D=d instanceof Nn?this.urlSerializer.serialize(d):d;if(this.location.isCurrentPathEqualTo(D)||_.extras.replaceUrl){const L={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId)};this.location.replaceState(D,"",L)}else{const x={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId+1)};this.location.go(D,"",x)}}restoreHistory(d,_=!1){if("computed"===this.canceledNavigationResolution){const x=this.currentPageId-this.browserPageId;0!==x?this.location.historyGo(x):this.currentUrlTree===d.finalUrl&&0===x&&(this.resetState(d),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,_){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:_}:{navigationId:d}}static#e=this.\u0275fac=(()=>{let d;return function(D){return(d||(d=s.xGo(u)))(D||u)}})();static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var E=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(E||{});function F(u,m){u.events.pipe((0,jt.p)(d=>d instanceof jn||d instanceof $||d instanceof ce||d instanceof U),(0,Fe.T)(d=>d instanceof jn||d instanceof U?E.COMPLETE:d instanceof $&&(d.code===Pn.Redirect||d.code===Pn.SupersededByNewNavigation)?E.REDIRECTING:E.FAILED),(0,jt.p)(d=>d!==E.REDIRECTING),(0,nt.s)(1)).subscribe(()=>{m()})}function le(u){throw u}const we={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Be={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xt=(()=>{class u{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,s.WQX)(s.H3F),this.stateManager=(0,s.WQX)(S),this.options=(0,s.WQX)(vo,{optional:!0})||{},this.pendingTasks=(0,s.WQX)(s.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,s.WQX)(Rs),this.urlSerializer=(0,s.WQX)(An),this.location=(0,s.WQX)(Ue.aZ),this.urlHandlingStrategy=(0,s.WQX)(os),this._events=new De.B,this.errorHandler=this.options.errorHandler||le,this.navigated=!1,this.routeReuseStrategy=(0,s.WQX)(ss),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,s.WQX)(St,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,s.WQX)(qo,{optional:!0}),this.eventsSubscription=new be.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:d=>{this.console.warn(d)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const d=this.navigationTransitions.events.subscribe(_=>{try{const D=this.navigationTransitions.currentTransition,x=this.navigationTransitions.currentNavigation;if(null!==D&&null!==x)if(this.stateManager.handleRouterEvent(_,x),_ instanceof $&&_.code!==Pn.Redirect&&_.code!==Pn.SupersededByNewNavigation)this.navigated=!0;else if(_ instanceof jn)this.navigated=!0;else if(_ instanceof ct){const L=_.navigationBehaviorOptions,ue=this.urlHandlingStrategy.merge(_.url,D.currentRawUrl),ie={browserUrl:D.extras.browserUrl,info:D.extras.info,skipLocationChange:D.extras.skipLocationChange,replaceUrl:D.extras.replaceUrl||"eager"===this.urlUpdateStrategy||rs(D.source),...L};this.scheduleNavigation(ue,eo,null,ie,{resolve:D.resolve,reject:D.reject,promise:D.promise})}(function Zt(u){return!(u instanceof $e||u instanceof ct)})(_)&&this._events.next(_)}catch(D){this.navigationTransitions.transitionAbortSubject.next(D)}});this.eventsSubscription.add(d)}resetRootComponentType(d){this.routerState.root.component=d,this.navigationTransitions.rootComponentType=d}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),eo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((d,_)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(d,"popstate",_)},0)})}navigateToSyncWithBrowser(d,_,D){const x={replaceUrl:!0},L=D?.navigationId?D:null;if(D){const ie={...D};delete ie.navigationId,delete ie.\u0275routerPageId,0!==Object.keys(ie).length&&(x.state=ie)}const ue=this.parseUrl(d);this.scheduleNavigation(ue,_,L,x)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(d){this.config=d.map(ot),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(d,_={}){const{relativeTo:D,queryParams:x,fragment:L,queryParamsHandling:ue,preserveFragment:ie}=_,ke=ie?this.currentUrlTree.fragment:L;let ht,rt=null;switch(ue??this.options.defaultQueryParamsHandling){case"merge":rt={...this.currentUrlTree.queryParams,...x};break;case"preserve":rt=this.currentUrlTree.queryParams;break;default:rt=x||null}null!==rt&&(rt=this.removeEmptyProps(rt));try{ht=wn(D?D.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof d[0]||"/"!==d[0][0])&&(d=[]),ht=this.currentUrlTree.root}return zi(ht,d,rt,ke??null)}navigateByUrl(d,_={skipLocationChange:!1}){const D=Tt(d)?d:this.parseUrl(d),x=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(x,eo,null,_)}navigate(d,_={skipLocationChange:!1}){return function ut(u){for(let m=0;m<u.length;m++)if(null==u[m])throw new s.wOt(4008,!1)}(d),this.navigateByUrl(this.createUrlTree(d,_),_)}serializeUrl(d){return this.urlSerializer.serialize(d)}parseUrl(d){try{return this.urlSerializer.parse(d)}catch{return this.urlSerializer.parse("/")}}isActive(d,_){let D;if(D=!0===_?{...we}:!1===_?{...Be}:_,Tt(d))return _n(this.currentUrlTree,d,D);const x=this.parseUrl(d);return _n(this.currentUrlTree,x,D)}removeEmptyProps(d){return Object.entries(d).reduce((_,[D,x])=>(null!=x&&(_[D]=x),_),{})}scheduleNavigation(d,_,D,x,L){if(this.disposed)return Promise.resolve(!1);let ue,ie,ke;L?(ue=L.resolve,ie=L.reject,ke=L.promise):ke=new Promise((ht,hn)=>{ue=ht,ie=hn});const rt=this.pendingTasks.add();return F(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(rt))}),this.navigationTransitions.handleNavigationRequest({source:_,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:x,resolve:ue,reject:ie,promise:ke,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ke.catch(ht=>Promise.reject(ht))}static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class un{}let Yo=(()=>{class u{constructor(d,_,D,x,L){this.router=d,this.injector=D,this.preloadingStrategy=x,this.loader=L}setUpPreloading(){this.subscription=this.router.events.pipe((0,jt.p)(d=>d instanceof jn),(0,Jt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,_){const D=[];for(const x of _){x.providers&&!x._injector&&(x._injector=(0,s.Ol2)(x.providers,d,`Route: ${x.path}`));const L=x._injector??d,ue=x._loadedInjector??L;(x.loadChildren&&!x._loadedRoutes&&void 0===x.canLoad||x.loadComponent&&!x._loadedComponent)&&D.push(this.preloadConfig(L,x)),(x.children||x._loadedRoutes)&&D.push(this.processRoutes(ue,x.children??x._loadedRoutes))}return(0,K.H)(D).pipe((0,Kt.U)())}preloadConfig(d,_){return this.preloadingStrategy.preload(_,()=>{let D;D=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(d,_):(0,X.of)(null);const x=D.pipe((0,et.Z)(L=>null===L?(0,X.of)(void 0):(_._loadedRoutes=L.routes,_._loadedInjector=L.injector,this.processRoutes(L.injector??d,L.routes))));if(_.loadComponent&&!_._loadedComponent){const L=this.loader.loadComponent(_);return(0,K.H)([x,L]).pipe((0,Kt.U)())}return x})}static#e=this.\u0275fac=function(_){return new(_||u)(s.KVO(xt),s.KVO(s.Ql9),s.KVO(s.uvJ),s.KVO(un),s.KVO(Oa))};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const qi=new s.nKC("");let Pi=(()=>{class u{constructor(d,_,D,x,L={}){this.urlSerializer=d,this.transitions=_,this.viewportScroller=D,this.zone=x,this.options=L,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},L.scrollPositionRestoration||="disabled",L.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(d=>{d instanceof to?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof jn?(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment)):d instanceof U&&d.code===I.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof ge&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,_){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ge(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){s.QTQ()};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac})}return u})();function Ti(u,m){return{\u0275kind:u,\u0275providers:m}}function ta(){const u=(0,s.WQX)(s.zZn);return m=>{const d=u.get(s.o8S);if(m!==d.components[0])return;const _=u.get(xt),D=u.get(Ns);1===u.get(ls)&&_.initialNavigation(),u.get(Kc,null,s.$GK.Optional)?.setUpPreloading(),u.get(qi,null,s.$GK.Optional)?.init(),_.resetRootComponentType(d.componentTypes[0]),D.closed||(D.next(),D.complete(),D.unsubscribe())}}const Ns=new s.nKC("",{factory:()=>new De.B}),ls=new s.nKC("",{providedIn:"root",factory:()=>1}),Kc=new s.nKC("");function Xi(u){return Ti(0,[{provide:Kc,useExisting:Yo},{provide:un,useExisting:u}])}function ko(u){return Ti(9,[{provide:Dt,useValue:hr},{provide:Is,useValue:{skipNextTransition:!!u?.skipInitialTransition,...u}}])}const p=new s.nKC("ROUTER_FORROOT_GUARD"),R=[Ue.aZ,{provide:An,useClass:kt},xt,rr,{provide:ei,useFactory:function Ki(u){return u.routerState.root},deps:[xt]},Oa,[]];let l=(()=>{class u{constructor(d){}static forRoot(d,_){return{ngModule:u,providers:[R,[],{provide:St,multi:!0,useValue:d},{provide:p,useFactory:he,deps:[[xt,new s.Xx1,new s.kdw]]},{provide:vo,useValue:_||{}},_?.useHash?{provide:Ue.hb,useClass:Ue.fw}:{provide:Ue.hb,useClass:Ue.Sm},{provide:qi,useFactory:()=>{const u=(0,s.WQX)(Ue.Xr),m=(0,s.WQX)(s.SKi),d=(0,s.WQX)(vo),_=(0,s.WQX)(Rs),D=(0,s.WQX)(An);return d.scrollOffset&&u.setOffset(d.scrollOffset),new Pi(D,_,u,m,d)}},_?.preloadingStrategy?Xi(_.preloadingStrategy).\u0275providers:[],_?.initialNavigation?He(_):[],_?.bindToComponentInputs?Ti(8,[qr,{provide:qo,useExisting:qr}]).\u0275providers:[],_?.enableViewTransitions?ko().\u0275providers:[],[{provide:Xe,useFactory:ta},{provide:s.iLQ,multi:!0,useExisting:Xe}]]}}static forChild(d){return{ngModule:u,providers:[{provide:St,multi:!0,useValue:d}]}}static#e=this.\u0275fac=function(_){return new(_||u)(s.KVO(p,8))};static#t=this.\u0275mod=s.$C({type:u});static#n=this.\u0275inj=s.G2t({})}return u})();function he(u){return"guarded"}function He(u){return["disabled"===u.initialNavigation?Ti(3,[{provide:s.hnV,multi:!0,useFactory:()=>{const m=(0,s.WQX)(xt);return()=>{m.setUpLocationChangeListener()}}},{provide:ls,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Ti(2,[{provide:ls,useValue:0},{provide:s.hnV,multi:!0,deps:[s.zZn],useFactory:m=>{const d=m.get(Ue.hj,Promise.resolve());return()=>d.then(()=>new Promise(_=>{const D=m.get(xt),x=m.get(Ns);F(D,()=>{_(!0)}),m.get(Rs).afterPreactivation=()=>(_(!0),x.closed?(0,X.of)(void 0):x),D.initialNavigation()}))}}]).\u0275providers:[]]}const Xe=new s.nKC("")},4355:(wt,oe,H)=>{H.d(oe,{fg:()=>Et,gB:()=>bt});var s=H(3953),k=H(1562),K=H(6354),X=H(7343),J=H(6884);const te={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 se{constructor(q){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=q.protocol;let fe=q.port;fe||(function Z(Le){return/^https:$/i.test(Le)}(this.protocol)?fe="443":function Y(Le){return/^http:$/i.test(Le)}(this.protocol)&&(fe="80")),this.domain=q.hostname,this.port=parseInt(fe,10),this.path=q.pathname;const Re=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?te[2087]:/^cpanel\./.test(this.domain)?te[2083]:/^webmail\./.test(this.domain)?te[2095]:te[fe.toString()]||te[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 Kt=this.path.split("/");this.theme=Kt[3]}this.themePath="";let Ge=this.securityToken+"/";this.isUnprotected?Ge="/":this.isCpanel?Ge+="frontend/"+this.theme+"/":this.isWebmail?Ge+="webmail/"+this.theme+"/":this.isOther&&(Ge="/"),this.themePath=Ge,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 W(Le){return Le&&Le.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(q){return this.themePath+q}buildFullPath(q){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(q)}buildTokenPath(q){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+q}}class Me{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 Te=H(9261),De=H.n(Te),be=H(5972),Ue=H.n(be),Fe=function(Le){return Le[Le.Error=0]="Error",Le[Le.Warning=1]="Warning",Le[Le.Information=2]="Information",Le[Le.Unknown=3]="Unknown",Le}(Fe||{});const We={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Ut{constructor(q,fe){if(this.status=0,this.messages=[],this.meta=function nt(Le){return JSON.parse(JSON.stringify(Le))}(We),this.options={keepUnprocessedResponse:!1},De()(q)||Ue()(q))throw new Error("The response was unexpectedly undefined or null");fe&&(this.options=fe),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(q)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(q){return this.messages.filter(fe=>fe.type===q)}get errors(){return this._getMessages(Fe.Error)}get warnings(){return this._getMessages(Fe.Warning)}get infoMessages(){return this._getMessages(Fe.Information)}_hasMessages(q){return this.messages.filter(fe=>fe.type===q).length>0}get hasErrors(){return this._hasMessages(Fe.Error)}get hasWarnings(){return this._hasMessages(Fe.Warning)}get hasInfoMessages(){return this._hasMessages(Fe.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class jt{constructor(q){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={},q.chunk&&(this.isPaged=!0,this.record=parseInt(q.chunk.start,10)||0,this.page=parseInt(q.chunk.current,10)||0,this.pageSize=parseInt(q.chunk.size,10)||0,this.totalPages=parseInt(q.chunk.chunks,10)||0,this.totalRecords=parseInt(q.chunk.records,10)||0),q.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(q.filter.filtered,10)||0);const fe=new Set(["paginate","filter"]);Object.keys(q).filter(Re=>!fe.has(Re)).forEach(Re=>{this.properties[Re]=q[Re]})}}class et extends Ut{_parseStatus(q){if(this.status=0,typeof q.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(q.result,10)}_parseMessages(q){if(!q.result){const fe=[q.reason];fe&&fe.length&&fe.forEach(Re=>{this.messages.push({type:Fe.Error,message:Re})})}}_reduce_list_data(q){if("object"==typeof q&&!(q instanceof Array)){const fe=Object.keys(q);if(1===fe.length){const Re=q[fe[0]];Re?Re instanceof Array&&(q=Re):q=[]}}return q}constructor(q,fe){if(super(q,fe),!q)throw new Error("Response object should be defined.");q.metadata&&(this._parseStatus(q.metadata),this._parseMessages(q.metadata),this.meta=new jt(q.metadata)),this.data=this._reduce_list_data(q.data)}}let Et=(()=>{class Le{static#e=this.\u0275fac=function(Re){return new(Re||Le)};static#t=this.\u0275mod=s.$C({type:Le});static#n=this.\u0275inj=s.G2t({providers:[(0,k.$R)((0,k.Sx)())]})}return Le})(),bt=(()=>{class Le{constructor(fe){this.http=fe}get(fe){const Re=fe.generate({verb:X.o.GET,encoder:new J.CY}),Ge=this.packageUrl(Re);return this.http.get(Ge,{headers:this.packageHeaders(Re)}).pipe((0,K.T)(this.packageResponseHandler(Ge)))}post(fe){const Re=fe.generate(),Ge=this.packageUrl(Re);return this.http.post(Ge,Re.body,{headers:this.packageHeaders(Re)}).pipe((0,K.T)(this.packageResponseHandler(Ge)))}packageHeaders(fe){const Re={};return fe.headers.forEach(Ge=>{Re[Ge.name]=Ge.value}),new k.Lr(Re)}packageUrl(fe){return new se(new Me).buildTokenPath(fe.url)}packageResponseHandler(fe){return Re=>{const Ge=new et(Re);return Ge.meta.properties.url=fe,Ge}}static#e=this.\u0275fac=function(Re){return new(Re||Le)(s.KVO(k.Qq))};static#t=this.\u0275prov=s.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})()},8658:(wt,oe,H)=>{H.d(oe,{B:()=>J});var s=H(3953),k=H(6381);const K=new s.nKC("window"),X=Z=>new k.h(Z.CLDR,Z.LEXICON);let J=(()=>{class Z{static#e=this.\u0275fac=function(re){return new(re||Z)};static#t=this.\u0275mod=s.$C({type:Z});static#n=this.\u0275inj=s.G2t({providers:[{provide:K,useValue:window},{provide:k.h,useFactory:X,deps:[K]}]})}return Z})()},3373:(wt,oe,H)=>{H.d(oe,{Qp:()=>fr,tm:()=>Rs,w:()=>hr,Ak:()=>cn,VP:()=>Wc,h5:()=>Li,IP:()=>as,Or:()=>qi,kj:()=>Ao,bG:()=>Ti});var s=H(3953),k=H(177),K=H(4412),X=H(9417),J=H(6381),Z=H(8658),Y=H(6153),W=H(9969),re=H(17),te=H(4402),se=H(7673),Me=H(1413);class Te{}function De(p){return p&&"function"==typeof p.connect&&!(p instanceof re.G)}var Ue=function(p){return p[p.REPLACED=0]="REPLACED",p[p.INSERTED=1]="INSERTED",p[p.MOVED=2]="MOVED",p[p.REMOVED=3]="REMOVED",p}(Ue||{});const Fe=new s.nKC("_ViewRepeater");class We{applyChanges(R,l,g,O,j){R.forEachOperation((he,He,Xe)=>{let At,Lt;if(null==he.previousIndex){const Dn=g(he,He,Xe);At=l.createEmbeddedView(Dn.templateRef,Dn.context,Dn.index),Lt=Ue.INSERTED}else null==Xe?(l.remove(He),Lt=Ue.REMOVED):(At=l.get(He),l.move(At,Xe),Lt=Ue.MOVED);j&&j({context:At?.context,operation:Lt,record:he})})}detach(){}}class Ut{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(R=!1,l,g=!0,O){this._multiple=R,this._emitChanges=g,this.compareWith=O,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Me.B,l&&l.length&&(R?l.forEach(j=>this._markSelected(j)):this._markSelected(l[0]),this._selectedToEmit.length=0)}select(...R){this._verifyValueAssignment(R),R.forEach(g=>this._markSelected(g));const l=this._hasQueuedChanges();return this._emitChangeEvent(),l}deselect(...R){this._verifyValueAssignment(R),R.forEach(g=>this._unmarkSelected(g));const l=this._hasQueuedChanges();return this._emitChangeEvent(),l}setSelection(...R){this._verifyValueAssignment(R);const l=this.selected,g=new Set(R);R.forEach(j=>this._markSelected(j)),l.filter(j=>!g.has(this._getConcreteValue(j,g))).forEach(j=>this._unmarkSelected(j));const O=this._hasQueuedChanges();return this._emitChangeEvent(),O}toggle(R){return this.isSelected(R)?this.deselect(R):this.select(R)}clear(R=!0){this._unmarkAll();const l=this._hasQueuedChanges();return R&&this._emitChangeEvent(),l}isSelected(R){return this._selection.has(this._getConcreteValue(R))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(R){this._multiple&&this.selected&&this._selected.sort(R)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(R){R=this._getConcreteValue(R),this.isSelected(R)||(this._multiple||this._unmarkAll(),this.isSelected(R)||this._selection.add(R),this._emitChanges&&this._selectedToEmit.push(R))}_unmarkSelected(R){R=this._getConcreteValue(R),this.isSelected(R)&&(this._selection.delete(R),this._emitChanges&&this._deselectedToEmit.push(R))}_unmarkAll(){this.isEmpty()||this._selection.forEach(R=>this._unmarkSelected(R))}_verifyValueAssignment(R){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(R,l){if(this.compareWith){l=l??this._selection;for(let g of l)if(this.compareWith(R,g))return g;return R}return R}}const Et=new s.nKC("cdk-dir-doc",{providedIn:"root",factory:function Jt(){return(0,s.WQX)(k.qQ)}}),pt=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Le,gt=(()=>{class p{constructor(l){this.value="ltr",this.change=new s.bkB,l&&(this.value=function Mt(p){const R=p?.toLowerCase()||"";return"auto"===R&&typeof navigator<"u"&&navigator?.language?pt.test(navigator.language)?"rtl":"ltr":"rtl"===R?"rtl":"ltr"}((l.body?l.body.dir:null)||(l.documentElement?l.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(g){return new(g||p)(s.KVO(Et,8))};static#t=this.\u0275prov=s.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),bt=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275mod=s.$C({type:p});static#n=this.\u0275inj=s.G2t({})}return p})();try{Le=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Le=!1}let q=(()=>{class p{constructor(l){this._platformId=l,this.isBrowser=this._platformId?(0,k.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Le)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(g){return new(g||p)(s.KVO(s.Agw))};static#t=this.\u0275prov=s.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();H(536),H(5007);var En=H(5466);let An=(()=>{class p{constructor(l,g,O){this._platform=l,this._change=new Me.B,this._changeListener=j=>{this._change.next(j)},this._document=O,g.runOutsideAngular(()=>{if(l.isBrowser){const j=this._getWindow();j.addEventListener("resize",this._changeListener),j.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const l=this._getWindow();l.removeEventListener("resize",this._changeListener),l.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const l={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),l}getViewportRect(){const l=this.getViewportScrollPosition(),{width:g,height:O}=this.getViewportSize();return{top:l.top,left:l.left,bottom:l.top+O,right:l.left+g,height:O,width:g}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const l=this._document,g=this._getWindow(),O=l.documentElement,j=O.getBoundingClientRect();return{top:-j.top||l.body.scrollTop||g.scrollY||O.scrollTop||0,left:-j.left||l.body.scrollLeft||g.scrollX||O.scrollLeft||0}}change(l=20){return l>0?this._change.pipe((0,En.Z)(l)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const l=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:l.innerWidth,height:l.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(g){return new(g||p)(s.KVO(q),s.KVO(s.SKi),s.KVO(k.qQ,8))};static#t=this.\u0275prov=s.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),Ii=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275mod=s.$C({type:p});static#n=this.\u0275inj=s.G2t({})}return p})(),Qn=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275mod=s.$C({type:p});static#n=this.\u0275inj=s.G2t({imports:[bt,Ii,bt,Ii]})}return p})();var Un=H(6977);const yi=[[["caption"]],[["colgroup"],["col"]],"*"],wi=["caption","colgroup, col","*"];function vn(p,R){1&p&&s.SdG(0,2)}function Zn(p,R){1&p&&(s.j41(0,"thead",0),s.eu8(1,1),s.k0s(),s.j41(2,"tbody",0),s.eu8(3,2)(4,3),s.k0s(),s.j41(5,"tfoot",0),s.eu8(6,4),s.k0s())}function de(p,R){1&p&&s.eu8(0,1)(1,2)(2,3)(3,4)}const Q=new s.nKC("CDK_TABLE");let Ve=(()=>{class p{constructor(l){this.template=l}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.C4Q))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","cdkCellDef",""]],standalone:!0})}return p})(),Je=(()=>{class p{constructor(l){this.template=l}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.C4Q))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return p})(),yt=(()=>{class p{constructor(l){this.template=l}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.C4Q))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return p})(),Pt=(()=>{class p{get name(){return this._name}set name(l){this._setNameInput(l)}get sticky(){return this._sticky}set sticky(l){l!==this._sticky&&(this._sticky=l,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(l){l!==this._stickyEnd&&(this._stickyEnd=l,this._hasStickyChanged=!0)}constructor(l){this._table=l,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const l=this._hasStickyChanged;return this.resetStickyChanged(),l}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(l){l&&(this._name=l,this.cssClassFriendlyName=l.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(Q,8))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","cdkColumnDef",""]],contentQueries:function(g,O,j){if(1&g&&(s.wni(j,Ve,5),s.wni(j,Je,5),s.wni(j,yt,5)),2&g){let he;s.mGM(he=s.lsd())&&(O.cell=he.first),s.mGM(he=s.lsd())&&(O.headerCell=he.first),s.mGM(he=s.lsd())&&(O.footerCell=he.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",s.L39],stickyEnd:[2,"stickyEnd","stickyEnd",s.L39]},standalone:!0,features:[s.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:p}]),s.GFd]})}return p})();class Tt{constructor(R,l){l.nativeElement.classList.add(...R._columnCssClassName)}}let yn=(()=>{class p extends Tt{constructor(l,g){super(l,g)}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(Pt),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[s.Vt3]})}return p})(),zi=(()=>{class p extends Tt{constructor(l,g){super(l,g);const O=l._table?._getCellRole();O&&g.nativeElement.setAttribute("role",O)}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(Pt),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[s.Vt3]})}return p})();class Mi{constructor(){this.tasks=[],this.endTasks=[]}}const Ri=new s.nKC("_COALESCED_STYLE_SCHEDULER");let mo=(()=>{class p{constructor(l){this._currentSchedule=null,this._ngZone=(0,s.WQX)(s.SKi)}schedule(l){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(l)}scheduleEnd(l){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(l)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Mi,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const l=this._currentSchedule;this._currentSchedule=new Mi;for(const g of l.tasks)g();for(const g of l.endTasks)g()}this._currentSchedule=null})))}static#e=this.\u0275fac=function(g){return new(g||p)(s.KVO(s.SKi))};static#t=this.\u0275prov=s.jDH({token:p,factory:p.\u0275fac})}return p})(),li=(()=>{class p{constructor(l,g){this.template=l,this._differs=g}ngOnChanges(l){if(!this._columnsDiffer){const g=l.columns&&l.columns.currentValue||[];this._columnsDiffer=this._differs.find(g).create(),this._columnsDiffer.diff(g)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(l){return this instanceof ln?l.headerCell.template:this instanceof Sn?l.footerCell.template:l.cell.template}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.C4Q),s.rXU(s._q3))};static#t=this.\u0275dir=s.FsC({type:p,features:[s.OA$]})}return p})(),ln=(()=>{class p extends li{get sticky(){return this._sticky}set sticky(l){l!==this._sticky&&(this._sticky=l,this._hasStickyChanged=!0)}constructor(l,g,O){super(l,g),this._table=O,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(l){super.ngOnChanges(l)}hasStickyChanged(){const l=this._hasStickyChanged;return this.resetStickyChanged(),l}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.C4Q),s.rXU(s._q3),s.rXU(Q,8))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",s.L39]},standalone:!0,features:[s.GFd,s.Vt3,s.OA$]})}return p})(),Sn=(()=>{class p extends li{get sticky(){return this._sticky}set sticky(l){l!==this._sticky&&(this._sticky=l,this._hasStickyChanged=!0)}constructor(l,g,O){super(l,g),this._table=O,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(l){super.ngOnChanges(l)}hasStickyChanged(){const l=this._hasStickyChanged;return this.resetStickyChanged(),l}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.C4Q),s.rXU(s._q3),s.rXU(Q,8))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",s.L39]},standalone:!0,features:[s.GFd,s.Vt3,s.OA$]})}return p})(),Yn=(()=>{class p extends li{constructor(l,g,O){super(l,g),this._table=O}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.C4Q),s.rXU(s._q3),s.rXU(Q,8))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[s.Vt3]})}return p})(),Mn=(()=>{class p{static#e=this.mostRecentCellOutlet=null;constructor(l){this._viewContainer=l,p.mostRecentCellOutlet=this}ngOnDestroy(){p.mostRecentCellOutlet===this&&(p.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.c1b))};static#n=this.\u0275dir=s.FsC({type:p,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return p})(),Jn=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275cmp=s.VBU({type:p,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[s.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(g,O){1&g&&s.eu8(0,0)},dependencies:[Mn],encapsulation:2})}return p})(),On=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275cmp=s.VBU({type:p,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[s.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(g,O){1&g&&s.eu8(0,0)},dependencies:[Mn],encapsulation:2})}return p})(),Ni=(()=>{class p{constructor(l){this.templateRef=l,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.C4Q))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return p})();const ci=["top","bottom","left","right"];class Gi{constructor(R,l,g,O,j=!0,he=!0,He){this._isNativeHtmlTable=R,this._stickCellCss=l,this.direction=g,this._coalescedStyleScheduler=O,this._isBrowser=j,this._needsPositionStickyOnElement=he,this._positionListener=He,this._cachedCellWidths=[],this._borderCellCss={top:`${l}-border-elem-top`,bottom:`${l}-border-elem-bottom`,left:`${l}-border-elem-left`,right:`${l}-border-elem-right`}}clearStickyPositioning(R,l){const g=[];for(const O of R)if(O.nodeType===O.ELEMENT_NODE){g.push(O);for(let j=0;j<O.children.length;j++)g.push(O.children[j])}this._coalescedStyleScheduler.schedule(()=>{for(const O of g)this._removeStickyStyle(O,l)})}updateStickyColumns(R,l,g,O=!0){R.length&&this._isBrowser&&(l.some(j=>j)||g.some(j=>j))?this._coalescedStyleScheduler.schedule(()=>{const j=R[0],he=j.children.length,He=this._getCellWidths(j,O),Xe=this._getStickyStartColumnPositions(He,l),At=this._getStickyEndColumnPositions(He,g),Lt=l.lastIndexOf(!0),Dn=g.indexOf(!0),yo="rtl"===this.direction,gr=yo?"right":"left",Xc=yo?"left":"right";for(const Rr of R)for(let u=0;u<he;u++){const m=Rr.children[u];l[u]&&this._addStickyStyle(m,gr,Xe[u],u===Lt),g[u]&&this._addStickyStyle(m,Xc,At[u],u===Dn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Lt?[]:He.slice(0,Lt+1).map((Rr,u)=>l[u]?Rr:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Dn?[]:He.slice(Dn).map((Rr,u)=>g[u+Dn]?Rr:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(R,l,g){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const O="bottom"===g?R.slice().reverse():R,j="bottom"===g?l.slice().reverse():l,he=[],He=[],Xe=[];for(let Lt=0,Dn=0;Lt<O.length;Lt++){if(!j[Lt])continue;he[Lt]=Dn;const yo=O[Lt];Xe[Lt]=this._isNativeHtmlTable?Array.from(yo.children):[yo];const gr=yo.getBoundingClientRect().height;Dn+=gr,He[Lt]=gr}const At=j.lastIndexOf(!0);for(let Lt=0;Lt<O.length;Lt++){if(!j[Lt])continue;const Dn=he[Lt],yo=Lt===At;for(const gr of Xe[Lt])this._addStickyStyle(gr,g,Dn,yo)}"top"===g?this._positionListener?.stickyHeaderRowsUpdated({sizes:He,offsets:he,elements:Xe}):this._positionListener?.stickyFooterRowsUpdated({sizes:He,offsets:he,elements:Xe})})}updateStickyFooterContainer(R,l){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{const g=R.querySelector("tfoot");g&&(l.some(O=>!O)?this._removeStickyStyle(g,["bottom"]):this._addStickyStyle(g,"bottom",0,!1))})}_removeStickyStyle(R,l){for(const O of l)R.style[O]="",R.classList.remove(this._borderCellCss[O]);ci.some(O=>-1===l.indexOf(O)&&R.style[O])?R.style.zIndex=this._getCalculatedZIndex(R):(R.style.zIndex="",this._needsPositionStickyOnElement&&(R.style.position=""),R.classList.remove(this._stickCellCss))}_addStickyStyle(R,l,g,O){R.classList.add(this._stickCellCss),O&&R.classList.add(this._borderCellCss[l]),R.style[l]=`${g}px`,R.style.zIndex=this._getCalculatedZIndex(R),this._needsPositionStickyOnElement&&(R.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(R){const l={top:100,bottom:10,left:1,right:1};let g=0;for(const O of ci)R.style[O]&&(g+=l[O]);return g?`${g}`:""}_getCellWidths(R,l=!0){if(!l&&this._cachedCellWidths.length)return this._cachedCellWidths;const g=[],O=R.children;for(let j=0;j<O.length;j++)g.push(O[j].getBoundingClientRect().width);return this._cachedCellWidths=g,g}_getStickyStartColumnPositions(R,l){const g=[];let O=0;for(let j=0;j<R.length;j++)l[j]&&(g[j]=O,O+=R[j]);return g}_getStickyEndColumnPositions(R,l){const g=[];let O=0;for(let j=R.length;j>0;j--)l[j]&&(g[j]=O,O+=R[j]);return g}}const I=new s.nKC("CDK_SPL");let U=(()=>{class p{constructor(l,g){this.viewContainer=l,this.elementRef=g;const O=(0,s.WQX)(Q);O._rowOutlet=this,O._outletAssigned()}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.c1b),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","rowOutlet",""]],standalone:!0})}return p})(),ce=(()=>{class p{constructor(l,g){this.viewContainer=l,this.elementRef=g;const O=(0,s.WQX)(Q);O._headerRowOutlet=this,O._outletAssigned()}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.c1b),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","headerRowOutlet",""]],standalone:!0})}return p})(),ye=(()=>{class p{constructor(l,g){this.viewContainer=l,this.elementRef=g;const O=(0,s.WQX)(Q);O._footerRowOutlet=this,O._outletAssigned()}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.c1b),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","footerRowOutlet",""]],standalone:!0})}return p})(),Se=(()=>{class p{constructor(l,g){this.viewContainer=l,this.elementRef=g;const O=(0,s.WQX)(Q);O._noDataRowOutlet=this,O._outletAssigned()}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.c1b),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return p})(),je=(()=>{class p{_getCellRole(){if(void 0===this._cellRoleInternal){const l=this._elementRef.nativeElement.getAttribute("role"),g="grid"===l||"treegrid"===l?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===g?null:g}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(l){this._trackByFn=l}get dataSource(){return this._dataSource}set dataSource(l){this._dataSource!==l&&this._switchDataSource(l)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(l){this._multiTemplateDataRows=l,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(l){this._fixedLayout=l,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(l,g,O,j,he,He,Xe,At,Lt,Dn,yo,gr){this._differs=l,this._changeDetectorRef=g,this._elementRef=O,this._dir=he,this._platform=Xe,this._viewRepeater=At,this._coalescedStyleScheduler=Lt,this._viewportRuler=Dn,this._stickyPositioningListener=yo,this._onDestroy=new Me.B,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new s.bkB,this.viewChange=new K.t({start:0,end:Number.MAX_VALUE}),this._injector=(0,s.WQX)(s.zZn),j||O.nativeElement.setAttribute("role","table"),this._document=He,this._isServer=!Xe.isBrowser,this._isNativeHtmlTable="TABLE"===O.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((l,g)=>this.trackBy?this.trackBy(g.dataIndex,g.data):g),this._viewportRuler.change().pipe((0,Un.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(l=>{l?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),De(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const l=this._dataDiffer.diff(this._renderRows);if(!l)return this._updateNoDataRow(),void this.contentChanged.next();const g=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(l,g,(O,j,he)=>this._getEmbeddedViewArgs(O.item,he),O=>O.item.data,O=>{O.operation===Ue.INSERTED&&O.context&&this._renderCellTemplateForItem(O.record.item.rowDef,O.context)}),this._updateRowIndexContext(),l.forEachIdentityChange(O=>{g.get(O.currentIndex).context.$implicit=O.item.data}),this._updateNoDataRow(),(0,s.mal)(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(l){this._customColumnDefs.add(l)}removeColumnDef(l){this._customColumnDefs.delete(l)}addRowDef(l){this._customRowDefs.add(l)}removeRowDef(l){this._customRowDefs.delete(l)}addHeaderRowDef(l){this._customHeaderRowDefs.add(l),this._headerRowDefChanged=!0}removeHeaderRowDef(l){this._customHeaderRowDefs.delete(l),this._headerRowDefChanged=!0}addFooterRowDef(l){this._customFooterRowDefs.add(l),this._footerRowDefChanged=!0}removeFooterRowDef(l){this._customFooterRowDefs.delete(l),this._footerRowDefChanged=!0}setNoDataRow(l){this._customNoDataRow=l}updateStickyHeaderRowStyles(){const l=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const O=Ht(this._headerRowOutlet,"thead");O&&(O.style.display=l.length?"":"none")}const g=this._headerRowDefs.map(O=>O.sticky);this._stickyStyler.clearStickyPositioning(l,["top"]),this._stickyStyler.stickRows(l,g,"top"),this._headerRowDefs.forEach(O=>O.resetStickyChanged())}updateStickyFooterRowStyles(){const l=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const O=Ht(this._footerRowOutlet,"tfoot");O&&(O.style.display=l.length?"":"none")}const g=this._footerRowDefs.map(O=>O.sticky);this._stickyStyler.clearStickyPositioning(l,["bottom"]),this._stickyStyler.stickRows(l,g,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,g),this._footerRowDefs.forEach(O=>O.resetStickyChanged())}updateStickyColumnStyles(){const l=this._getRenderedRows(this._headerRowOutlet),g=this._getRenderedRows(this._rowOutlet),O=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...l,...g,...O],["left","right"]),this._stickyColumnStylesNeedReset=!1),l.forEach((j,he)=>{this._addStickyColumnStyles([j],this._headerRowDefs[he])}),this._rowDefs.forEach(j=>{const he=[];for(let He=0;He<g.length;He++)this._renderRows[He].rowDef===j&&he.push(g[He]);this._addStickyColumnStyles(he,j)}),O.forEach((j,he)=>{this._addStickyColumnStyles([j],this._footerRowDefs[he])}),Array.from(this._columnDefsByName.values()).forEach(j=>j.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const g=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||g,this._forceRecalculateCellWidths=g,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const l=[],g=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let O=0;O<this._data.length;O++){let j=this._data[O];const he=this._getRenderRowsForData(j,O,g.get(j));this._cachedRenderRowsMap.has(j)||this._cachedRenderRowsMap.set(j,new WeakMap);for(let He=0;He<he.length;He++){let Xe=he[He];const At=this._cachedRenderRowsMap.get(Xe.data);At.has(Xe.rowDef)?At.get(Xe.rowDef).push(Xe):At.set(Xe.rowDef,[Xe]),l.push(Xe)}}return l}_getRenderRowsForData(l,g,O){return this._getRowDefs(l,g).map(he=>{const He=O&&O.has(he)?O.get(he):[];if(He.length){const Xe=He.shift();return Xe.dataIndex=g,Xe}return{data:l,rowDef:he,dataIndex:g}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ft(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(g=>{this._columnDefsByName.has(g.name),this._columnDefsByName.set(g.name,g)})}_cacheRowDefs(){this._headerRowDefs=Ft(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ft(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ft(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const l=this._rowDefs.filter(g=>!g.when);this._defaultRowDef=l[0]}_renderUpdatedColumns(){const l=(he,He)=>he||!!He.getColumnsDiff(),g=this._rowDefs.reduce(l,!1);g&&this._forceRenderDataRows();const O=this._headerRowDefs.reduce(l,!1);O&&this._forceRenderHeaderRows();const j=this._footerRowDefs.reduce(l,!1);return j&&this._forceRenderFooterRows(),g||O||j}_switchDataSource(l){this._data=[],De(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),l||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=l}_observeRenderChanges(){if(!this.dataSource)return;let l;De(this.dataSource)?l=this.dataSource.connect(this):(0,te.A)(this.dataSource)?l=this.dataSource:Array.isArray(this.dataSource)&&(l=(0,se.of)(this.dataSource)),this._renderChangeSubscription=l.pipe((0,Un.Q)(this._onDestroy)).subscribe(g=>{this._data=g||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((l,g)=>this._renderRow(this._headerRowOutlet,l,g)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((l,g)=>this._renderRow(this._footerRowOutlet,l,g)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(l,g){const O=Array.from(g.columns||[]).map(He=>this._columnDefsByName.get(He)),j=O.map(He=>He.sticky),he=O.map(He=>He.stickyEnd);this._stickyStyler.updateStickyColumns(l,j,he,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(l){const g=[];for(let O=0;O<l.viewContainer.length;O++){const j=l.viewContainer.get(O);g.push(j.rootNodes[0])}return g}_getRowDefs(l,g){if(1==this._rowDefs.length)return[this._rowDefs[0]];let O=[];if(this.multiTemplateDataRows)O=this._rowDefs.filter(j=>!j.when||j.when(g,l));else{let j=this._rowDefs.find(he=>he.when&&he.when(g,l))||this._defaultRowDef;j&&O.push(j)}return O}_getEmbeddedViewArgs(l,g){return{templateRef:l.rowDef.template,context:{$implicit:l.data},index:g}}_renderRow(l,g,O,j={}){const he=l.viewContainer.createEmbeddedView(g.template,j,O);return this._renderCellTemplateForItem(g,j),he}_renderCellTemplateForItem(l,g){for(let O of this._getCellTemplates(l))Mn.mostRecentCellOutlet&&Mn.mostRecentCellOutlet._viewContainer.createEmbeddedView(O,g);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const l=this._rowOutlet.viewContainer;for(let g=0,O=l.length;g<O;g++){const he=l.get(g).context;he.count=O,he.first=0===g,he.last=g===O-1,he.even=g%2==0,he.odd=!he.even,this.multiTemplateDataRows?(he.dataIndex=this._renderRows[g].dataIndex,he.renderIndex=g):he.index=this._renderRows[g].dataIndex}}_getCellTemplates(l){return l&&l.columns?Array.from(l.columns,g=>{const O=this._columnDefsByName.get(g);return l.extractCellTemplate(O)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const l=(g,O)=>g||O.hasStickyChanged();this._headerRowDefs.reduce(l,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(l,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(l,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Gi(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,se.of)()).pipe((0,Un.Q)(this._onDestroy)).subscribe(g=>{this._stickyStyler.direction=g,this.updateStickyColumnStyles()})}_getOwnDefs(l){return l.filter(g=>!g._table||g._table===this)}_updateNoDataRow(){const l=this._customNoDataRow||this._noDataRow;if(!l)return;const g=0===this._rowOutlet.viewContainer.length;if(g===this._isShowingNoDataRow)return;const O=this._noDataRowOutlet.viewContainer;if(g){const j=O.createEmbeddedView(l.templateRef),he=j.rootNodes[0];1===j.rootNodes.length&&he?.nodeType===this._document.ELEMENT_NODE&&(he.setAttribute("role","row"),he.classList.add(l._contentClassName))}else O.clear();this._isShowingNoDataRow=g,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s._q3),s.rXU(s.gRc),s.rXU(s.aKT),s.kS0("role"),s.rXU(gt,8),s.rXU(k.qQ),s.rXU(q),s.rXU(Fe),s.rXU(Ri),s.rXU(An),s.rXU(I,12),s.rXU(s.SKi,8))};static#t=this.\u0275cmp=s.VBU({type:p,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(g,O,j){if(1&g&&(s.wni(j,Ni,5),s.wni(j,Pt,5),s.wni(j,Yn,5),s.wni(j,ln,5),s.wni(j,Sn,5)),2&g){let he;s.mGM(he=s.lsd())&&(O._noDataRow=he.first),s.mGM(he=s.lsd())&&(O._contentColumnDefs=he),s.mGM(he=s.lsd())&&(O._contentRowDefs=he),s.mGM(he=s.lsd())&&(O._contentHeaderRowDefs=he),s.mGM(he=s.lsd())&&(O._contentFooterRowDefs=he)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(g,O){2&g&&s.AVh("cdk-table-fixed-layout",O.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",s.L39],fixedLayout:[2,"fixedLayout","fixedLayout",s.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[s.Jv_([{provide:Q,useExisting:p},{provide:Fe,useClass:We},{provide:Ri,useClass:mo},{provide:I,useValue:null}]),s.GFd,s.aNF],ngContentSelectors:wi,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(g,O){1&g&&(s.NAR(yi),s.SdG(0),s.SdG(1,1),s.DNE(2,vn,1,0)(3,Zn,7,0)(4,de,4,0)),2&g&&(s.R7$(2),s.vxM(O._isServer?2:-1),s.R7$(),s.vxM(O._isNativeHtmlTable?3:4))},dependencies:[ce,U,Se,ye],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return p})();function Ft(p,R){return p.concat(Array.from(R))}function Ht(p,R){const l=R.toUpperCase();let g=p.viewContainer.element.nativeElement;for(;g;){const O=1===g.nodeType?g.nodeName:null;if(O===l)return g;if("TABLE"===O)break;g=g.parentNode}return null}let T=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275mod=s.$C({type:p});static#n=this.\u0275inj=s.G2t({imports:[Qn]})}return p})();var ge=H(5992);H(7410),H(7376);const qt=["*"];function sr(p,R){if(1&p&&(s.j41(0,"span",3),s.nrm(1,"span",4),s.j41(2,"span",5),s.EFF(3),s.k0s()()),2&p){const l=s.XpG();s.Mz_("id","",l.id,"-spinner"),s.R7$(),s.HbH(l.spinnerCssClass),s.R7$(2),s.JRh(l.locale.maketext("Loading \u2026"))}}function Er(p,R){1&p&&s.SdG(0,0,["*ngIf","!showSpinner"])}const Wi=[[["","multiactions",""]],[["","empty-table-svg",""]],[["","empty-table-message",""]],[["","empty-search-results-message",""]],[["","empty-table-message",""]],[["","empty-search-results-message",""]]],oo=["[multiactions]","[empty-table-svg]","[empty-table-message]","[empty-search-results-message]","[empty-table-message]","[empty-search-results-message]"],di=(p,R,l)=>({"table-bulk-actionable":p,"table-actionable":R,"table-expandable":l}),ro=p=>({$implicit:p});function Zr(p,R){if(1&p&&(s.qex(0),s.j41(1,"div",20)(2,"div",21),s.EFF(3),s.k0s(),s.j41(4,"div",22),s.SdG(5),s.k0s()(),s.bVm()),2&p){const l=s.XpG();s.R7$(3),s.Lme(" ",null==l.selection||null==l.selection.selected?null:l.selection.selected.length," ",l.locale.maketext("items selected")," ")}}function ki(p,R){if(1&p){const l=s.RV6();s.j41(0,"th",23)(1,"input",24),s.bIt("change",function(O){s.eBV(l);const j=s.XpG();return O&&j.toggleAllRows(),s.Njj(j.onSelectionChange())}),s.k0s()()}if(2&p){const l=s.XpG();s.R7$(),s.Y8G("indeterminate",l.selection.hasValue()&&!l.isAllSelected())("checked",l.selection.hasValue()&&l.isAllSelected()),s.BMQ("aria-label",l.checkboxLabel())}}function Oi(p,R){if(1&p){const l=s.RV6();s.j41(0,"td",25)(1,"input",26),s.bIt("click",function(O){return s.eBV(l),s.Njj(O.stopPropagation())})("change",function(O){const j=s.eBV(l).$implicit,he=s.XpG();return O&&he.selection.toggle(j),s.Njj(he.onSelectionChange())}),s.k0s()()}if(2&p){const l=R.$implicit,g=s.XpG();s.R7$(),s.Y8G("checked",g.selection.isSelected(l)),s.BMQ("aria-label",g.checkboxLabel(l))}}function Yr(p,R){if(1&p&&(s.j41(0,"th",27)(1,"span",28),s.EFF(2),s.k0s()()),2&p){const l=s.XpG();s.R7$(2),s.JRh(l.locale.maketext("Expand/Collapse"))}}function pn(p,R){if(1&p){const l=s.RV6();s.j41(0,"td",29),s.bIt("click",function(O){const j=s.eBV(l).$implicit;return s.XpG().expandedRows.toggle(j),s.Njj(O.stopPropagation())}),s.k0s()}if(2&p){const l=R.$implicit,g=s.XpG();s.BMQ("aria-expanded",g.expandedRows.isSelected(l))}}function Xo(p,R){1&p&&(s.qex(0),s.j41(1,"p")(2,"strong"),s.EFF(3,"Attention Developer"),s.k0s()(),s.j41(4,"p"),s.EFF(5," This table has no defined template for expandable rows. "),s.k0s(),s.j41(6,"p"),s.EFF(7," Either define the row template or set expandableRows to false. "),s.k0s(),s.bVm())}function Qo(p,R){}function Nt(p,R){if(1&p&&s.DNE(0,Qo,0,0,"ng-template",32),2&p){const l=s.XpG().$implicit,g=s.XpG();s.Y8G("ngTemplateOutlet",g.expandContentTemplate)("ngTemplateOutletContext",s.eq3(2,ro,l))}}function _s(p,R){if(1&p&&(s.j41(0,"td",30)(1,"div"),s.DNE(2,Xo,8,0,"ng-container",31)(3,Nt,1,4,"ng-template",null,0,s.C5r),s.k0s()()),2&p){const l=s.sdS(4),g=s.XpG();s.BMQ("colspan",g.displayedColumns.length),s.R7$(2),s.Y8G("ngIf",!g.expandContentTemplate)("ngIfElse",l)}}function bn(p,R){if(1&p&&s.nrm(0,"td",33),2&p){const l=s.XpG();s.BMQ("colspan",l.alignExpandedRowCol)}}function Jr(p,R){if(1&p){const l=s.RV6();s.j41(0,"th",37),s.bIt("click",function(){s.eBV(l);const O=s.XpG().$implicit,j=s.XpG();return s.Njj(j.changeSort(O))}),s.j41(1,"span",38),s.EFF(2),s.k0s()()}if(2&p){let l;const g=s.XpG().$implicit,O=s.XpG();s.AVh("table-col-sortable",g.options.isSortable)("table-col-sorted-desc",O.showSortDesc(g))("table-col-sorted-asc",O.showSortAsc(g))("d-none",!g.options.isResponsive)("d-sm-table-cell",!g.options.isResponsive),s.R7$(2),s.SpI("",null!==(l=g.options.displayValue)&&void 0!==l?l:g.value," ")}}function Cs(p,R){if(1&p&&(s.qex(0),s.EFF(1),s.bVm()),2&p){const l=s.XpG().$implicit,g=s.XpG().$implicit;s.R7$(),s.SpI(" ",l[g.value]," ")}}function es(p,R){}function Zo(p,R){if(1&p&&s.DNE(0,es,0,0,"ng-template",32),2&p){const l=s.XpG().$implicit,g=s.XpG().$implicit;s.Y8G("ngTemplateOutlet",g.options.customCellTemplate)("ngTemplateOutletContext",s.eq3(2,ro,l[g.value]))}}function Ye(p,R){if(1&p&&(s.j41(0,"td",33),s.DNE(1,Cs,2,1,"ng-container",31)(2,Zo,1,4,"ng-template",null,1,s.C5r),s.k0s()),2&p){const l=s.sdS(3),g=s.XpG().$implicit;s.AVh("d-none",!g.options.isResponsive)("d-sm-table-cell",!g.options.isResponsive),s.R7$(),s.Y8G("ngIf",!g.options.customCellTemplate)("ngIfElse",l)}}function so(p,R){if(1&p&&(s.qex(0)(1,34),s.DNE(2,Jr,3,11,"th",35)(3,Ye,4,6,"td",36),s.bVm()()),2&p){const l=R.$implicit;s.R7$(),s.FS9("cdkColumnDef",l.value)}}function ti(p,R){1&p&&s.nrm(0,"tr",39)}function qs(p,R){if(1&p&&s.nrm(0,"tr",40),2&p){const l=R.$implicit,g=s.XpG();s.AVh("selected",g.selection.isSelected(l))("table-row-expandable",g.hasExpandContent)}}function vs(p,R){if(1&p&&s.nrm(0,"tr",42),2&p){const l=R.$implicit,g=s.XpG(2);s.AVh("selected",g.selection.isSelected(l))("is-expanded",g.expandedRows.isSelected(l)),s.Y8G("@expandCollapse",g.expandedRows.isSelected(l)?"expanded":"collapsed")}}function Sa(p,R){if(1&p&&(s.qex(0),s.DNE(1,vs,1,5,"tr",41),s.bVm()),2&p){const l=s.XpG();s.R7$(),s.Y8G("cdkRowDefColumns",l.expandedRowdisplayedColumns)}}function Fi(p,R){1&p&&(s.qex(0),s.j41(1,"div",45),s.nrm(2,"cp-empty-table-svg"),s.k0s(),s.bVm())}function Ks(p,R){1&p&&(s.j41(0,"div",48,3),s.SdG(2,2),s.k0s())}function w(p,R){1&p&&(s.j41(0,"div",48,3),s.SdG(2,3),s.k0s())}function M(p,R){1&p&&(s.j41(0,"div",49,3),s.SdG(2,4),s.k0s())}function C(p,R){1&p&&(s.j41(0,"div",48,3),s.SdG(2,5),s.k0s())}function P(p,R){if(1&p&&(s.qex(0),s.j41(1,"div",48),s.EFF(2),s.k0s(),s.bVm()),2&p){const l=s.XpG(3);s.R7$(2),s.SpI(" ",l.localizedEmptyRowMessage," ")}}function z(p,R){if(1&p&&(s.j41(0,"tr")(1,"td")(2,"div",44),s.eu8(3),s.j41(4,"div",45,2),s.SdG(6,1),s.k0s(),s.DNE(7,Fi,3,0,"ng-container",5),s.qex(8),s.DNE(9,Ks,3,0,"div",46)(10,w,3,0,"div",46),s.bVm(),s.qex(11),s.DNE(12,M,3,0,"div",47)(13,C,3,0,"div",46),s.bVm(),s.DNE(14,P,3,1,"ng-container",5),s.k0s()()()),2&p){const l=s.sdS(5),g=s.XpG(2);s.R7$(),s.BMQ("colspan",g.displayedColumns.length),s.R7$(6),s.Y8G("ngIf",0===l.childNodes.length),s.R7$(2),s.Y8G("ngIf",!g.searchString),s.R7$(),s.Y8G("ngIf",!!g.searchString),s.R7$(2),s.Y8G("ngIf",!g.searchString),s.R7$(),s.Y8G("ngIf",!!g.searchString),s.R7$(),s.Y8G("ngIf",0===(null==g.emptyMessageRef||null==g.emptyMessageRef.childNodes?null:g.emptyMessageRef.childNodes.length))}}function qe(p,R){1&p&&s.DNE(0,z,15,7,"ng-template",43)}const dt=[[["","search-component",""]],[["","add-button",""]],[["","table-component",""]],[["","paginator-component",""]]],en=["[search-component]","[add-button]","[table-component]","[paginator-component]"];function ze(p,R){if(1&p&&(s.j41(0,"option",13),s.EFF(1),s.k0s()),2&p){const l=R.$implicit;s.Y8G("value",l),s.R7$(),s.SpI(" ",l," ")}}function ys(p,R){if(1&p){const l=s.RV6();s.qex(0),s.j41(1,"div",11)(2,"label",12),s.EFF(3),s.k0s(),s.j41(4,"select",5),s.mxI("ngModelChange",function(O){s.eBV(l);const j=s.XpG(2);return s.DH7(j.currentPageSize,O)||(j.currentPageSize=O),s.Njj(O)}),s.bIt("ngModelChange",function(){s.eBV(l);const O=s.XpG(2);return s.Njj(O.onPageSizeChange())}),s.DNE(5,ze,2,2,"option",6),s.k0s()(),s.bVm()}if(2&p){const l=s.XpG(2);s.R7$(2),s.Y8G("for",l.itemsPerPageSelectId),s.R7$(),s.SpI(" ",l.pageSizeLabel," "),s.R7$(),s.Mz_("id","",l.id,"_pageSize"),s.R50("ngModel",l.currentPageSize),s.BMQ("disabled",l.pageInputDisabled),s.R7$(),s.Y8G("ngForOf",l.pageSizeOptions)}}function El(p,R){if(1&p&&(s.j41(0,"option",13),s.EFF(1),s.k0s()),2&p){const l=R.$implicit;s.Y8G("value",l),s.R7$(),s.SpI(" ",l," ")}}function Sl(p,R){if(1&p){const l=s.RV6();s.j41(0,"div",1),s.DNE(1,ys,6,7,"ng-container",2),s.j41(2,"div",3),s.EFF(3),s.k0s(),s.j41(4,"div",4)(5,"select",5),s.mxI("ngModelChange",function(O){s.eBV(l);const j=s.XpG();return s.DH7(j.currentPage,O)||(j.currentPage=O),s.Njj(O)}),s.bIt("ngModelChange",function(){s.eBV(l);const O=s.XpG();return s.Njj(O.onPaginationChange())}),s.DNE(6,El,2,2,"option",6),s.k0s(),s.j41(7,"span"),s.EFF(8),s.k0s()(),s.j41(9,"button",7),s.bIt("click",function(){s.eBV(l);const O=s.XpG();return s.Njj(O.setCurrentPageToPrevious())}),s.nrm(10,"i",8),s.k0s(),s.j41(11,"button",9),s.bIt("click",function(){s.eBV(l);const O=s.XpG();return s.Njj(O.setCurrentPageToNext())}),s.nrm(12,"i",10),s.k0s()()}if(2&p){const l=s.XpG();s.FS9("id",l.id),s.R7$(),s.Y8G("ngIf",l.showPageSize),s.R7$(2),s.JRh(l.paginationItemsText),s.R7$(2),s.Mz_("id","",l.id,"_pagination"),s.R50("ngModel",l.currentPage),s.R7$(),s.Y8G("ngForOf",l.pageOptions),s.R7$(2),s.SpI(" ",l.ofLastPagesText," "),s.R7$(),s.BMQ("disabled",l.previousPageDisabled),s.R7$(2),s.Y8G("disabled",l.nextPageDisabled)}}class _o{static#e=this.truncateText=!0;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:_o.defaultAutoClosePeriod,list:[]};constructor(R,l,g=_o.defaultOptions){this._message=R,this._type=l;const O=g.id?g.id:Math.random().toString(36).substr(2,9);this._id=O,this._closable=null==g.isCloseable||g.isCloseable,this._autoClosePeriod=g.autoClosePeriod,this._list=g.list,this._truncateText=null!==g.truncateText?g.truncateText:_o.truncateText,this._ts=null==g.createdOn?Date.now():g.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 truncateText(){return this._truncateText}static makeNotification(R){const{message:l,type:g,...O}=R;return new _o(l,g,O)}}let os=(()=>{class p{constructor(l,g=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(g),this.selectorName=l.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(l=>{if(!this[l])throw new Error(`"${l}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}static#e=this.\u0275fac=function(g){s.QTQ()};static#t=this.\u0275dir=s.FsC({type:p,inputs:{id:"id"}})}return p})();var hr=function(p){return p.loading="loading",p.disabled="disabled",p.enabled="enabled",p}(hr||{}),cn=function(p){return p.primary="primary",p.secondary="secondary",p.accentPrimary="accent-primary",p.accentSecondary="accent-secondary",p.dangerPrimary="danger-primary",p.dangerSecondary="danger-secondary",p.link="link",p.iconLink="icon-link",p}(cn||{});let fr=(()=>{class p extends os{constructor(l,g){super(g),this.locale=l,this.elementRef=g,this.btnClick=new s.bkB,this.type="button",this.cssClass="",this.spinnerCssClass="spinner-border spinner-border-sm",this.isDisabled=!1,this.showSpinner=!1,this.btnVariantClass="",this.btnVariantClass||(this.btnVariantClass="btn btn-primary")}set buttonState(l){switch(l){case hr.enabled:this.setToEnabled();break;case hr.loading:this.setToLoading();break;case hr.disabled:this.setToDisable()}}set buttonVariant(l){this.setButtonVariant(l)}onClick(l){l.stopPropagation(),this.btnClick.emit()}setButtonVariant(l){switch(this.btnVariantClass="",l){case cn.primary:this.btnVariantClass="btn btn-primary";break;case cn.secondary:this.btnVariantClass="btn btn-outline-primary";break;case cn.accentPrimary:this.btnVariantClass="btn btn-accent";break;case cn.accentSecondary:this.btnVariantClass="btn btn-outline-accent";break;case cn.dangerPrimary:this.btnVariantClass="btn btn-danger";break;case cn.dangerSecondary:this.btnVariantClass="btn btn-outline-danger";break;case cn.link:this.btnVariantClass="btn btn-link";break;case cn.iconLink:this.btnVariantClass="btn icon-btn-link";break;default:this.btnVariantClass="btn btn-primary"}}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0,this.showSpinner=!1}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(J.h),s.rXU(s.aKT))};static#t=this.\u0275cmp=s.VBU({type:p,selectors:[["cp-button"]],inputs:{type:"type",cssClass:"cssClass",spinnerCssClass:"spinnerCssClass",buttonState:"buttonState",buttonVariant:"buttonVariant"},outputs:{btnClick:"btnClick"},features:[s.Vt3],ngContentSelectors:qt,decls:3,vars:10,consts:[[3,"click","id","type","ngClass","disabled"],["data-spinner","spinner",3,"id",4,"ngIf"],[4,"ngIf"],["data-spinner","spinner",3,"id"],["role","status","aria-hidden","true"],[1,"visually-hidden"]],template:function(g,O){1&g&&(s.NAR(),s.j41(0,"button",0),s.bIt("click",function(he){return O.onClick(he)}),s.DNE(1,sr,4,6,"span",1)(2,Er,1,0,"ng-content",2),s.k0s()),2&g&&(s.HbH(O.cssClass),s.Mz_("id","",O.id,"-button"),s.FS9("type",O.type),s.Y8G("ngClass",O.btnVariantClass)("disabled",O.isDisabled),s.R7$(),s.Y8G("ngIf",O.showSpinner),s.R7$(),s.Y8G("ngIf",!O.showSpinner))},dependencies:[k.YU,k.bT]})}return p})(),Rs=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275mod=s.$C({type:p});static#n=this.\u0275inj=s.G2t({imports:[k.MD]})}return p})(),No=(()=>{class p{constructor(){this.sorts=[]}getTableSortData(){return{sorts:this.sorts}}getSortColumn(){return this.sorts[0]?.column}getSortDirection(){return this.sorts[0]?.direction}sortedInAscendingOrder(){return this.sorts[0]?.direction===Y.UE.Ascending}changeSort(l){const g=this.sorts?.find(O=>O.column===l);g&&(g.direction=this.changeSortDirection(g.direction)),this.setSort(l,g?.direction||Y.UE.Ascending)}setSort(l,g){this.sorts=[new Y.FU(l,g)]}changeSortDirection(l){return l===Y.UE.Ascending?Y.UE.Descending:Y.UE.Ascending}matchSelectedRows(l,g,O,j="id"){const he=[];for(const He of l.values()){const Xe=He[j];g.find(Lt=>Lt[j]===Xe)||he.push(He)}if(l.clear(),he.length>0)for(const He of he)l.set(He[j],He);for(const He of O)l.set(He[j],He);return l}inPageSelectedRows(l,g,O="id"){const j=[];for(const he of Array.from(l.values())){const He=he[O],Xe=g.find(At=>At[O]===He);Xe&&j.push(Xe)}return j}static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275prov=s.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),ao=(()=>{class p{constructor(l,g,O){this.el=l,this.renderer=g,this.locale=O,this.loadingText=this.locale.maketext("Loading \u2026"),this.overlay=this.renderer.createElement("div"),this.spinner=this.renderer.createElement("div"),this.renderer.addClass(this.el.nativeElement,"loading-host-container"),this.renderer.addClass(this.overlay,"loading-overlay"),this.spinner.innerHTML=`\n <div class="overlay-content d-flex justify-content-center text-primary">\n <div class="spinner-border" role="status">\n <span class="visually-hidden">${this.loadingText}</span>\n </div>\n </div>\n `,this.renderer.appendChild(this.overlay,this.spinner),this.renderer.setStyle(this.el.nativeElement,"position","relative")}ngOnChanges(){this.isLoading?(this.renderer.appendChild(this.el.nativeElement,this.overlay),this.renderer.setAttribute(this.el.nativeElement,"aria-busy","true"),this.disableTabbing()):(this.el.nativeElement.contains(this.overlay)&&this.renderer.removeChild(this.el.nativeElement,this.overlay),this.renderer.removeAttribute(this.el.nativeElement,"aria-busy"),this.enableTabbing())}disableTabbing(){this.focusableElements=this.el.nativeElement.querySelectorAll("a, button, input, textarea, select, details, [tabindex]"),this.focusableElements?.forEach(l=>{this.renderer.setAttribute(l,"data-tabindex",l.tabIndex.toString()),this.renderer.setAttribute(l,"tabindex","-1")})}enableTabbing(){this.focusableElements?.forEach(l=>{const g=l.getAttribute("data-tabindex");null!==g?(this.renderer.setAttribute(l,"tabindex",g),this.renderer.removeAttribute(l,"data-tabindex")):this.renderer.removeAttribute(l,"tabindex")})}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.aKT),s.rXU(s.sFG),s.rXU(J.h))};static#t=this.\u0275dir=s.FsC({type:p,selectors:[["","cpLoading",""]],inputs:{isLoading:[0,"cpLoading","isLoading"],loadingText:"loadingText"},features:[s.OA$]})}return p})(),Yo=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275cmp=s.VBU({type:p,selectors:[["cp-empty-table-svg"]],decls:19,vars:0,consts:[["width","371","height","357","viewBox","0 0 371 357","fill","none","xmlns","http://www.w3.org/2000/svg",1,"empty-table-svg"],["d","M204.885 128.097H125.143C123.398 128.102 121.674 127.709 120.103 126.948C118.532 126.187 117.155 125.077 116.078 123.704C114.981 122.317 114.214 120.699 113.837 118.971C113.46 117.244 113.482 115.453 113.901 113.736C121.251 82.9527 121.25 50.8719 113.901 20.0888C113.482 18.3713 113.46 16.5808 113.837 14.8536C114.214 13.1264 114.981 11.508 116.077 10.1215C117.155 8.74796 118.532 7.63827 120.103 6.87692C121.674 6.11557 123.398 5.72262 125.143 5.72799H204.885C207.638 5.7359 210.299 6.72083 212.394 8.50735C214.489 10.2939 215.881 12.766 216.324 15.4834C221.572 49.5687 221.572 84.2565 216.324 118.342C215.881 121.059 214.489 123.531 212.394 125.318C210.299 127.104 207.638 128.089 204.885 128.097Z","fill","#99B1DB"],["d","M125.143 11.728C124.305 11.7252 123.477 11.9136 122.722 12.279C121.968 12.6443 121.307 13.177 120.789 13.8364C120.256 14.512 119.884 15.3003 119.701 16.1414C119.519 16.9824 119.53 17.854 119.735 18.6899C127.304 50.3928 127.305 83.4323 119.736 115.135C119.53 115.971 119.519 116.842 119.701 117.683C119.884 118.524 120.256 119.312 120.789 119.988C121.306 120.647 121.968 121.181 122.722 121.546C123.477 121.911 124.305 122.1 125.143 122.097H204.885C206.207 122.098 207.486 121.629 208.495 120.774C209.504 119.919 210.177 118.734 210.394 117.43C215.548 83.949 215.548 49.8761 210.394 16.395C210.177 15.0907 209.504 13.9057 208.495 13.0511C207.486 12.1964 206.207 11.7275 204.885 11.728L125.143 11.728Z","fill","white"],["d","M187.483 59.2045H145.638C144.048 59.2028 142.523 58.5701 141.398 57.4453C140.273 56.3205 139.64 54.7954 139.639 53.2047V50.8601C139.64 49.2694 140.273 47.7443 141.398 46.6195C142.523 45.4947 144.048 44.8621 145.638 44.8604H187.483C189.074 44.8621 190.599 45.4947 191.724 46.6195C192.849 47.7443 193.481 49.2694 193.483 50.8601V53.2047C193.481 54.7954 192.849 56.3205 191.724 57.4453C190.599 58.5701 189.074 59.2028 187.483 59.2045Z","fill","#99B1DB"],["d","M187.483 88.8305H145.638C144.048 88.8287 142.523 88.1961 141.398 87.0713C140.273 85.9465 139.64 84.4214 139.639 82.8307V80.4861C139.64 78.8954 140.273 77.3703 141.398 76.2455C142.523 75.1207 144.048 74.4881 145.638 74.4863H187.483C189.074 74.4881 190.599 75.1207 191.724 76.2455C192.849 77.3703 193.481 78.8954 193.483 80.4861V82.8307C193.481 84.4214 192.849 85.9465 191.724 87.0713C190.599 88.1961 189.074 88.8287 187.483 88.8305Z","fill","#99B1DB"],["d","M354.885 204.097H275.143C273.398 204.102 271.674 203.709 270.103 202.948C268.532 202.187 267.155 201.077 266.078 199.704C264.981 198.317 264.214 196.699 263.837 194.971C263.46 193.244 263.482 191.453 263.901 189.736C271.251 158.953 271.25 126.872 263.901 96.0888C263.482 94.3713 263.46 92.5808 263.837 90.8536C264.214 89.1264 264.981 87.508 266.077 86.1215C267.155 84.7479 268.532 83.6382 270.103 82.8769C271.674 82.1155 273.398 81.7226 275.143 81.728H354.885C357.638 81.7359 360.299 82.7208 362.394 84.5073C364.489 86.2938 365.881 88.7659 366.324 91.4833C371.572 125.569 371.572 160.256 366.324 194.342C365.881 197.059 364.489 199.531 362.394 201.318C360.299 203.104 357.638 204.089 354.885 204.097Z","fill","#99B1DB"],["d","M275.143 87.728C274.305 87.7252 273.477 87.9136 272.722 88.279C271.968 88.6443 271.307 89.177 270.789 89.8364C270.256 90.512 269.884 91.3003 269.701 92.1414C269.519 92.9824 269.53 93.854 269.735 94.6899C277.304 126.393 277.305 159.432 269.736 191.135C269.53 191.971 269.519 192.842 269.701 193.683C269.884 194.524 270.256 195.312 270.789 195.988C271.306 196.647 271.968 197.181 272.722 197.546C273.477 197.911 274.305 198.1 275.143 198.097H354.885C356.207 198.098 357.486 197.629 358.495 196.774C359.504 195.919 360.177 194.734 360.394 193.43C365.548 159.949 365.548 125.876 360.394 92.395C360.177 91.0907 359.504 89.9057 358.495 89.0511C357.486 88.1964 356.207 87.7275 354.885 87.728L275.143 87.728Z","fill","white"],["d","M195.885 290.597H116.143C114.322 290.603 112.523 290.193 110.884 289.398C109.245 288.604 107.809 287.446 106.685 286.013C105.541 284.567 104.742 282.88 104.349 281.079C103.955 279.277 103.978 277.41 104.415 275.619C111.746 244.913 111.746 212.912 104.415 182.206C103.978 180.415 103.955 178.547 104.348 176.746C104.742 174.945 105.541 173.258 106.685 171.812C107.809 170.379 109.245 169.221 110.884 168.427C112.523 167.633 114.322 167.223 116.143 167.228H195.885C198.757 167.237 201.533 168.264 203.719 170.129C205.904 171.993 207.357 174.572 207.818 177.407C213.074 211.543 213.074 246.282 207.818 280.418C207.357 283.253 205.904 285.832 203.719 287.697C201.533 289.561 198.757 290.589 195.885 290.597Z","fill","#99B1DB"],["d","M339.483 135.579H297.638C296.048 135.577 294.523 134.944 293.398 133.819C292.273 132.695 291.64 131.169 291.639 129.579V127.234C291.64 125.643 292.273 124.118 293.398 122.994C294.523 121.869 296.048 121.236 297.638 121.234H339.483C341.074 121.236 342.599 121.869 343.724 122.994C344.849 124.118 345.481 125.643 345.483 127.234V129.579C345.481 131.17 344.849 132.695 343.724 133.819C342.599 134.944 341.074 135.577 339.483 135.579Z","fill","#99B1DB"],["d","M339.483 165.204H297.638C296.048 165.203 294.523 164.57 293.398 163.445C292.273 162.32 291.64 160.795 291.639 159.205V156.86C291.64 155.269 292.273 153.744 293.398 152.62C294.523 151.495 296.048 150.862 297.638 150.86H339.483C341.074 150.862 342.599 151.495 343.724 152.62C344.849 153.744 345.481 155.269 345.483 156.86V159.205C345.481 160.795 344.849 162.32 343.724 163.445C342.599 164.57 341.074 165.203 339.483 165.204Z","fill","#99B1DB"],["d","M160.237 252.5C172.94 252.5 183.237 242.203 183.237 229.5C183.237 216.797 172.94 206.5 160.237 206.5C147.534 206.5 137.237 216.797 137.237 229.5C137.237 242.203 147.534 252.5 160.237 252.5Z","fill","white"],["d","M171.237 226.5H163.237V218.5C163.237 217.704 162.921 216.941 162.358 216.379C161.796 215.816 161.033 215.5 160.237 215.5C159.441 215.5 158.678 215.816 158.116 216.379C157.553 216.941 157.237 217.704 157.237 218.5V226.5H149.237C148.441 226.5 147.678 226.816 147.116 227.379C146.553 227.941 146.237 228.704 146.237 229.5C146.237 230.296 146.553 231.059 147.116 231.621C147.678 232.184 148.441 232.5 149.237 232.5H157.237V240.5C157.237 241.296 157.553 242.059 158.116 242.621C158.678 243.184 159.441 243.5 160.237 243.5C161.033 243.5 161.796 243.184 162.358 242.621C162.921 242.059 163.237 241.296 163.237 240.5V232.5H171.237C172.033 232.5 172.796 232.184 173.358 231.621C173.921 231.059 174.237 230.296 174.237 229.5C174.237 228.704 173.921 227.941 173.358 227.379C172.796 226.816 172.033 226.5 171.237 226.5Z","fill","#99B1DB"],["d","M185.237 17H143.237C142.044 16.9987 140.9 16.5241 140.057 15.6805C139.213 14.8369 138.738 13.6931 138.737 12.5V4.5C138.738 3.30694 139.213 2.16313 140.057 1.3195C140.9 0.475881 142.044 0.00134456 143.237 0H185.237C186.43 0.00134456 187.574 0.475881 188.418 1.3195C189.261 2.16313 189.736 3.30694 189.737 4.5V12.5C189.736 13.6931 189.261 14.8369 188.418 15.6805C187.574 16.5241 186.43 16.9987 185.237 17Z","fill","#99B1DB"],["d","M337.237 94H295.237C294.044 93.9987 292.9 93.5241 292.057 92.6805C291.213 91.8369 290.738 90.6931 290.737 89.5V81.5C290.738 80.3069 291.213 79.1631 292.057 78.3195C292.9 77.4759 294.044 77.0013 295.237 77H337.237C338.43 77.0013 339.574 77.4759 340.418 78.3195C341.261 79.1631 341.736 80.3069 341.737 81.5V89.5C341.736 90.6931 341.261 91.8369 340.418 92.6805C339.574 93.5241 338.43 93.9987 337.237 94Z","fill","#99B1DB"],["d","M81.5033 355.982L7.86494 325.387C6.2508 324.722 4.80959 323.698 3.65098 322.392C2.49237 321.086 1.64688 319.533 1.17884 317.851C0.697663 316.15 0.611012 314.361 0.925454 312.622C1.2399 310.882 1.94715 309.237 2.99339 307.811C21.5912 282.204 33.9 252.578 38.9238 221.331C39.1958 219.585 39.8627 217.923 40.8738 216.473C41.8848 215.022 43.2133 213.822 44.7582 212.962C46.2803 212.107 47.9774 211.611 49.7203 211.51C51.4631 211.41 53.2059 211.709 54.816 212.383L128.454 242.979C130.994 244.043 133.073 245.973 134.322 248.427C135.571 250.88 135.909 253.697 135.275 256.377C127.043 289.867 113.734 321.9 95.8098 351.363C94.3586 353.702 92.124 355.451 89.504 356.297C86.884 357.143 84.0488 357.032 81.5033 355.982Z","fill","#99B1DB"],["d","M52.5139 217.924C51.7408 217.6 50.9039 217.456 50.0669 217.504C49.2299 217.552 48.4148 217.79 47.6837 218.2C46.9321 218.62 46.2861 219.205 45.7948 219.912C45.3035 220.618 44.9799 221.428 44.8484 222.278C39.6745 254.459 26.9979 284.97 7.84433 311.342C7.33427 312.035 6.98904 312.835 6.8349 313.682C6.68077 314.529 6.72179 315.399 6.95487 316.227C7.17976 317.035 7.58624 317.781 8.14282 318.408C8.69941 319.035 9.39169 319.527 10.167 319.846L83.8054 350.442C85.0262 350.949 86.3876 351.007 87.6471 350.605C88.9067 350.203 89.9825 349.367 90.6832 348.246C108.29 319.305 121.363 287.84 129.449 254.943C129.749 253.655 129.582 252.303 128.979 251.127C128.375 249.95 127.373 249.027 126.152 248.52L52.5139 217.924Z","fill","white"],["d","M92.7233 287.031L54.0809 270.976C52.6126 270.364 51.4471 269.195 50.8399 267.725C50.2328 266.254 50.2336 264.603 50.8424 263.134L51.742 260.968C52.3539 259.5 53.5233 258.335 54.9935 257.727C56.4638 257.12 58.1149 257.121 59.5846 257.73L98.2269 273.785C99.6952 274.397 100.861 275.566 101.468 277.037C102.075 278.507 102.074 280.158 101.465 281.628L100.566 283.793C99.9539 285.261 98.7846 286.427 97.3143 287.034C95.844 287.641 94.193 287.64 92.7233 287.031Z","fill","#99B1DB"],["d","M81.3562 314.39L42.7137 298.335C41.2454 297.723 40.0799 296.553 39.4727 295.083C38.8656 293.613 38.8665 291.962 39.4752 290.492L40.3748 288.327C40.9867 286.859 42.1561 285.693 43.6264 285.086C45.0967 284.479 46.7478 284.48 48.2174 285.088L86.8598 301.144C88.3281 301.756 89.4937 302.925 90.1008 304.395C90.7079 305.865 90.7071 307.517 90.0984 308.986L89.1988 311.151C88.5868 312.62 87.4175 313.785 85.9472 314.392C84.4769 315 82.8258 314.999 81.3562 314.39Z","fill","#99B1DB"],["d","M107.207 247.582C106.629 247.582 106.056 247.469 105.52 247.251L66.582 231.509C65.4765 231.06 64.594 230.192 64.1281 229.093C63.6621 227.995 63.6509 226.757 64.0967 225.65L67.0955 218.233C67.5429 217.127 68.4115 216.244 69.5102 215.778C70.6089 215.312 71.8477 215.301 72.9541 215.749L111.892 231.491C112.998 231.94 113.88 232.808 114.346 233.906C114.812 235.005 114.823 236.243 114.377 237.35L111.379 244.767C111.042 245.597 110.465 246.309 109.722 246.81C108.979 247.312 108.104 247.58 107.207 247.582Z","fill","#99B1DB"]],template:function(g,O){1&g&&(s.qSk(),s.j41(0,"svg",0),s.nrm(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18),s.k0s())}})}return p})(),qi=(()=>{class p{constructor(l,g){this.locale=l,this.tableUtils=g,this.dataList=[],this.dataColumns=[],this.hasBulkActions=!1,this.hasExpandContent=!1,this.alignExpandedRowCol=0,this.selectedRowsOnPage=[],this.isLoading=!1,this.loadingText=this.locale.maketext("Loading \u2026"),this.sortChanged=new s.bkB,this.selectionChange=new s.bkB,this.displayedColumns=[],this.hasActions=!1,this.selection=new Ut(!0,[]),this.expandedRows=new Ut(!0,[]),this.localizedEmptyRowMessage=this.locale.maketext("You have not created any records."),this.expandedRowdisplayedColumns=["expandedDetailAlignment","expandedDetail"]}isAllSelected(){const l=this.selection?.selected?.length,g=this.dataSource$?.data?.value?.length;return l===g}toggleAllRows(){this.isAllSelected()?this.selection.clear():this.selection.select(...this.dataSource$.data.value)}checkboxLabel(l){const g=this.locale.maketext("select"),O=this.locale.maketext("deselect");return l?`${this.selection.isSelected(l)?O:g} ${this.locale.maketext("row")}`:`${this.isAllSelected()?O:g} ${this.locale.maketext("all")}`}changeSort(l){l.options.isSortable&&(this.tableUtils.changeSort(l.value),this.sortChanged.emit(this.tableUtils.getTableSortData()),this.setSortMetaData())}ngOnInit(){this.dataSource$=new Pi(this.dataList),this.refreshDisplayedColumns(),this.setSortMetaData(),this.expandedRowdisplayedColumns=this.alignExpandedRowCol?["expandedDetailAlignment","expandedDetail"]:["expandedDetail"]}setSortMetaData(){const l=this.tableUtils.getTableSortData();l.sorts.length>0&&(this.isSorted=!!l.sorts[0],this.isSortAscending=this.tableUtils.sortedInAscendingOrder(),this.isSortDescending=!(!this.isSorted||this.isSortAscending),this.currentSortColumn=l.sorts[0].column)}showSortAsc(l){return this.isSortAscending&&l.value===this.currentSortColumn}showSortDesc(l){return this.isSortDescending&&l.value===this.currentSortColumn}ngOnChanges(l){(l.dataColumns||l.hasBulkActions||l.hasExpandContent)&&this.refreshDisplayedColumns(),l.dataList&&!l.dataList.firstChange&&l.dataList.currentValue&&(this.dataSource$=new Pi(l.dataList.currentValue)),l.selectedRowsOnPage&&!l.selectedRowsOnPage.firstChange&&(this.selection.clear(),l.selectedRowsOnPage?.currentValue?.length>0&&this.selection.select(...l.selectedRowsOnPage.currentValue))}onSelectionChange(){this.selectionChange.emit(this.selection?.selected)}clearSelection(){this.selection.clear(),this.onSelectionChange()}deselect(l){this.selection.isSelected(l)&&(this.selection.deselect(l),this.onSelectionChange())}refreshDisplayedColumns(){const l=this.dataColumns.map(g=>g.value);this.hasExpandContent&&l.unshift("expandRowCol"),this.hasBulkActions&&l.unshift("bulkActionCol"),this.displayedColumns=l,this.hasActions=this.displayedColumns.includes("actions")}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(J.h),s.rXU(No))};static#t=this.\u0275cmp=s.VBU({type:p,selectors:[["cp-table"]],inputs:{dataList:"dataList",dataColumns:"dataColumns",hasBulkActions:"hasBulkActions",hasExpandContent:"hasExpandContent",expandContentTemplate:"expandContentTemplate",searchString:"searchString",alignExpandedRowCol:"alignExpandedRowCol",selectedRowsOnPage:"selectedRowsOnPage",isLoading:"isLoading",loadingText:"loadingText"},outputs:{sortChanged:"sortChanged",selectionChange:"selectionChange"},features:[s.OA$],ngContentSelectors:oo,decls:18,vars:14,consts:[["expandedCell",""],["customCellTemplate",""],["emptySvgRef",""],["emptyMessageRef",""],[3,"cpLoading","loadingText"],[4,"ngIf"],["cdk-table","","multiTemplateDataRows","",1,"table","align-middle","mb-0",3,"ngClass","dataSource"],["cdkColumnDef","bulkActionCol"],["cdk-header-cell","","class","d-none d-sm-table-cell",4,"cdkHeaderCellDef"],["cdk-cell","","class","d-none d-sm-table-cell",4,"cdkCellDef"],["cdkColumnDef","expandRowCol"],["cdk-header-cell","",4,"cdkHeaderCellDef"],["cdk-cell","","class","table-cell-expand",3,"click",4,"cdkCellDef"],["cdkColumnDef","expandedDetail"],["cdk-cell","","class","border-top-0",4,"cdkCellDef"],["cdkColumnDef","expandedDetailAlignment"],["cdk-cell","",4,"cdkCellDef"],[4,"ngFor","ngForOf"],["cdk-header-row","",4,"cdkHeaderRowDef"],["cdk-row","",3,"selected","table-row-expandable",4,"cdkRowDef","cdkRowDefColumns"],[1,"table-controls","table-bulk-action-controls","d-none","d-sm-flex"],[1,"bulk-description"],[1,"bulk-actions"],["cdk-header-cell","",1,"d-none","d-sm-table-cell"],["type","checkbox",1,"form-check-input",3,"change","indeterminate","checked"],["cdk-cell","",1,"d-none","d-sm-table-cell"],["type","checkbox",1,"form-check-input",3,"click","change","checked"],["cdk-header-cell",""],[1,"visually-hidden"],["cdk-cell","",1,"table-cell-expand",3,"click"],["cdk-cell","",1,"border-top-0"],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["cdk-cell",""],[3,"cdkColumnDef"],["cdk-header-cell","",3,"table-col-sortable","table-col-sorted-desc","table-col-sorted-asc","d-none","d-sm-table-cell","click",4,"cdkHeaderCellDef"],["cdk-cell","",3,"d-none","d-sm-table-cell",4,"cdkCellDef"],["cdk-header-cell","",3,"click"],[1,"header-cell-text"],["cdk-header-row",""],["cdk-row",""],["cdk-row","","class","example-detail-row expand-content",3,"selected","is-expanded",4,"cdkRowDef","cdkRowDefColumns"],["cdk-row","",1,"example-detail-row","expand-content"],["cdkNoDataRow",""],[1,"flex-container"],[1,"empty-table-svg"],["class","my-4 text-center",4,"ngIf"],["class","my-4",4,"ngIf"],[1,"my-4","text-center"],[1,"my-4"]],template:function(g,O){1&g&&(s.NAR(Wi),s.j41(0,"div",4),s.DNE(1,Zr,6,2,"ng-container",5),s.j41(2,"table",6),s.qex(3,7),s.DNE(4,ki,2,3,"th",8)(5,Oi,2,2,"td",9),s.bVm(),s.qex(6,10),s.DNE(7,Yr,3,1,"th",11)(8,pn,1,1,"td",12),s.bVm(),s.qex(9,13),s.DNE(10,_s,5,3,"td",14),s.bVm(),s.qex(11,15),s.DNE(12,bn,1,1,"td",16),s.bVm(),s.DNE(13,so,4,1,"ng-container",17)(14,ti,1,0,"tr",18)(15,qs,1,4,"tr",19)(16,Sa,2,1,"ng-container",5)(17,qe,1,0,null,5),s.k0s()()),2&g&&(s.Y8G("cpLoading",O.isLoading)("loadingText",O.loadingText),s.R7$(),s.Y8G("ngIf",(null==O.selection||null==O.selection.selected?null:O.selection.selected.length)>0),s.R7$(),s.Y8G("ngClass",s.sMw(10,di,O.hasBulkActions,O.hasActions,O.hasExpandContent))("dataSource",O.dataSource$),s.R7$(11),s.Y8G("ngForOf",O.dataColumns),s.R7$(),s.Y8G("cdkHeaderRowDef",O.displayedColumns),s.R7$(),s.Y8G("cdkRowDefColumns",O.displayedColumns),s.R7$(),s.Y8G("ngIf",O.hasExpandContent),s.R7$(),s.Y8G("ngIf",!O.isLoading))},dependencies:[k.YU,k.Sq,k.bT,k.T3,je,Yn,Ve,Je,Pt,zi,On,yn,Jn,ln,Ni,ao,Yo],data:{animation:[(0,W.hZ)("expandCollapse",[(0,W.wk)("expanded",(0,W.iF)({height:"*",display:"table-row",opacity:1})),(0,W.wk)("collapsed",(0,W.iF)({height:"0px",display:"none",opacity:0})),(0,W.kY)("expanded <=> collapsed",[(0,W.i0)("300ms ease-in-out")])])]},changeDetection:0})}return p})();class Pi extends Te{constructor(R){super(),this.data=new K.t(R)}connect(){return this.data}disconnect(){this.data?.complete()}}let Ao=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275cmp=s.VBU({type:p,selectors:[["cp-table-layout"]],ngContentSelectors:en,decls:8,vars:0,consts:[[1,"flex-container","mb-5","gap-2","d-grid-md","d-md-flex","flex-direction-md-col","btn-col-reverse-class"],[1,"col-xs-12","col-sm-12","col-md-5","col-lg-5"],[1,"col-xs-12","col-sm-12","col-md-5","col-lg-5","btn-flex-container"]],template:function(g,O){1&g&&(s.NAR(dt),s.j41(0,"div",0)(1,"div",1),s.SdG(2),s.k0s(),s.j41(3,"div",2),s.SdG(4,1),s.k0s()(),s.SdG(5,2),s.j41(6,"div"),s.SdG(7,3),s.k0s())},styles:["@media (max-width: 767.98px){.btn-col-reverse-class[_ngcontent-%COMP%]{flex-direction:column-reverse!important}}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.btn-flex-container[_ngcontent-%COMP%]{flex-basis:max-content;align-content:center}"]})}return p})(),Ki=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275mod=s.$C({type:p});static#n=this.\u0275inj=s.G2t({imports:[k.MD,Z.B]})}return p})(),Ti=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275mod=s.$C({type:p});static#n=this.\u0275inj=s.G2t({imports:[k.MD,T,ge.G.forRoot(),Ki]})}return p})();const pr={displayValue:null,isSortable:!1,isCollapsed:!1,customCellTemplate:null};class Wc{constructor(R,l){this.value=R,this.options={...pr,...l}}printOptions(){console.table(this.options)}}let Li=(()=>{class p extends os{constructor(l,g){super(l),this.locale=g,this.showPageSize=!0,this.pageSizeOptions=[20,50,100,500],this.totalItems=0,this.paginationDisabled=!1,this.currentPage=1,this.paginatorChange=new s.bkB,this.pageOptions=[],this.previousPageDisabled=!0,this.nextPageDisabled=!0,this.pageOptions=[],this.pageSizeLabel=this.locale.maketext("Items per page:")}ngOnInit(){this.pageOptions=this.getpageOptions(),!this.currentPageSize&&!this.pageSizeOptions.indexOf(this.currentPageSize)&&(this.currentPageSize=this.pageSizeOptions[0]),this.calculatePagination()}ngOnChanges(l){(l.currentPageSize||l.totalItems)&&(this.pageOptions=this.getpageOptions()),this.calculatePagination()}getpageOptions(){if(this.totalItems>0&&this.currentPageSize>0){const l=Math.max(1,Math.ceil(this.totalItems/this.currentPageSize));return Array.from({length:l},(g,O)=>O+1)}return[]}onPageSizeChange(){this.paginatorChange.emit({currentPage:1,pageSize:this.currentPageSize})}onPaginationChange(){this.paginatorChange.emit({currentPage:this.currentPage,pageSize:this.currentPageSize})}getpaginationItemsText(){const g=1*this.currentPageSize,j=(1*this.currentPage-1)*g+1,he=Math.min(j+g-1,1*this.totalItems);return this.locale.maketext(this.totalItems>1?"[numf,_1] - [numf,_2] of [numf,_3] items":"[numf,_1] - [numf,_2] of [numf,_3] item",j,he,this.totalItems)}getOfLastPageText(){return this.locale.maketext(this.lastPage<=1?"of [numf,_1] page":"of [numf,_1] pages",this.lastPage)}getlastPage(){return Math.max(1,Math.ceil(this.totalItems/this.currentPageSize))}getpreviousPage(){return Math.max(1,this.currentPage-1)}getnextPage(){return Math.min(this.lastPage,1*this.currentPage+1)}setCurrentPageToPrevious(){this.currentPage=this.previousPage,this.onPaginationChange()}setCurrentPageToNext(){this.currentPage=this.nextPage,this.onPaginationChange()}calculatePagination(){this.totalItems>0?(this.currentPageSize>=this.totalItems&&1!==this.currentPage&&(this.currentPage=1),this.lastPage=this.getlastPage(),this.previousPage=this.getpreviousPage(),this.nextPage=this.getnextPage(),this.ofLastPagesText=this.getOfLastPageText(),this.previousPageDisabled=!!(this.currentPage<=1||this.paginationDisabled)||null,this.nextPageDisabled=!!(this.currentPage>=this.lastPage||this.paginationDisabled)||null,this.paginationItemsText=this.getpaginationItemsText()):(this.currentPage=1,this.lastPage=1,this.previousPage=1,this.nextPage=1,this.ofLastPagesText=this.locale.maketext("of [numf,_1] page",this.lastPage),this.previousPageDisabled=!0,this.nextPageDisabled=!0,this.paginationItemsText=this.locale.maketext("[numf,_1] - [numf,_2] of [numf,_3] item",0,0,0))}static#e=this.\u0275fac=function(g){return new(g||p)(s.rXU(s.aKT),s.rXU(J.h))};static#t=this.\u0275cmp=s.VBU({type:p,selectors:[["cp-paginator"]],inputs:{showPageSize:"showPageSize",pageSizeOptions:"pageSizeOptions",currentPageSize:"currentPageSize",totalItems:"totalItems",paginationDisabled:"paginationDisabled",currentPage:"currentPage"},outputs:{paginatorChange:"paginatorChange"},features:[s.Vt3,s.OA$],decls:1,vars:1,consts:[["class","page-controls",3,"id",4,"ngIf"],[1,"page-controls",3,"id"],[4,"ngIf"],[1,"page-items"],[1,"page-selector","d-none","d-sm-flex"],[1,"form-select","form-select-sm",3,"ngModelChange","id","ngModel"],[3,"value",4,"ngFor","ngForOf"],["tabindex","0",1,"btn","page-back",3,"click"],[1,"ri-arrow-left-s-line"],["tabindex","0",1,"btn","page-forward",3,"click","disabled"],[1,"ri-arrow-right-s-line"],[1,"page-size-selector","d-none","d-sm-flex"],[1,"",3,"for"],[3,"value"]],template:function(g,O){1&g&&s.DNE(0,Sl,13,10,"div",0),2&g&&s.Y8G("ngIf",O.totalItems>0)},dependencies:[k.Sq,k.bT,X.xH,X.y7,X.wz,X.BC,X.vS]})}return p})(),as=(()=>{class p{static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275mod=s.$C({type:p});static#n=this.\u0275inj=s.G2t({imports:[k.MD,X.YN,Z.B]})}return p})()},9490:(wt,oe,H)=>{H.d(oe,{Ab:()=>Jn,Sy:()=>On,sb:()=>bi,tq:()=>Ni,uE:()=>Vn});var s=H(3953),k=H(177),K=H(1413),X=H(5964),J=H(6977),Z=H(152),Y=H(3294),W=H(9417),re=H(8658),te=H(6381),se=H(9969),Me=H(9650);function fe(A,ve){if(1&A){const T=s.RV6();s.j41(0,"button",9),s.bIt("click",function(){s.eBV(T);const ge=s.XpG(2);return s.Njj(ge.fireClose())}),s.j41(1,"span"),s.EFF(2,"\xd7"),s.k0s()()}if(2&A){const T=s.XpG(2);s.Y8G("id",T.closeButtonID)("title",T.closeLabel),s.BMQ("aria-label",T.closeLabel),s.R7$(),s.BMQ("aria-hidden",!0)}}function Re(A,ve){if(1&A){const T=s.RV6();s.j41(0,"button",10),s.bIt("click",function(){s.eBV(T);const ge=s.XpG(2);return s.Njj(ge.fireToggleMore())}),s.EFF(1),s.k0s()}if(2&A){const T=s.XpG(2);s.Y8G("id",T.moreButtonID),s.R7$(),s.SpI(" ",T.moreLabel," ")}}function Ge(A,ve){if(1&A&&(s.j41(0,"strong",11),s.EFF(1),s.k0s()),2&A){const T=s.XpG(2);s.R7$(),s.JRh(T.label)}}function Kt(A,ve){if(1&A&&(s.j41(0,"span",12),s.EFF(1),s.k0s()),2&A){const T=s.XpG(2);s.Y8G("id",T.textMessageID),s.R7$(),s.SpI(" ",T.message," ")}}function Xt(A,ve){if(1&A&&(s.j41(0,"li")(1,"span",12),s.EFF(2),s.k0s()()),2&A){const T=ve.$implicit,ee=ve.index,ge=s.XpG(3);s.R7$(),s.FS9("id",ge.textListID+"_"+ee),s.R7$(),s.SpI(" ",T," ")}}function Ze(A,ve){if(1&A&&(s.j41(0,"ul",13),s.DNE(1,Xt,3,2,"li",14),s.k0s()),2&A){const T=s.XpG(2);s.R7$(),s.Y8G("ngForOf",T.alert.list)}}function kn(A,ve){if(1&A&&(s.j41(0,"div",1),s.DNE(1,fe,3,4,"button",2)(2,Re,2,2,"button",3),s.nrm(3,"span"),s.j41(4,"div",4),s.DNE(5,Ge,2,1,"strong",5),s.j41(6,"span",6),s.DNE(7,Kt,2,2,"span",7),s.k0s(),s.DNE(8,Ze,2,1,"ul",8),s.k0s()()),2&A){const T=s.XpG();s.ZvI("alert alert-",T.type," ng-hide"),s.Y8G("@openClose",T.animationClass),s.R7$(),s.Y8G("ngIf",T.showCloseButton),s.R7$(),s.Y8G("ngIf",T.showMoreButton),s.R7$(),s.HbH(T.icon),s.BMQ("aria-hidden",!0),s.R7$(2),s.Y8G("ngIf",T.hasLabel),s.R7$(2),s.Y8G("ngIf",T.message),s.R7$(),s.Y8G("ngIf",T.alert&&T.alert.list&&T.alert.list.length)}}function Ln(A,ve){if(1&A){const T=s.RV6();s.j41(0,"div",6)(1,"cp-alert",7),s.bIt("close",function(){const ge=s.eBV(T).$implicit,$e=s.XpG();return s.Njj($e.alertClosed(ge))}),s.k0s()()}if(2&A){const T=ve.$implicit;s.R7$(),s.Y8G("alert",T)}}function tn(A,ve){if(1&A&&s.nrm(0,"div",8),2&A){const T=s.XpG();s.Y8G("ngClass",T.positionClasses)}}const $t=["searchInput"];function Ji(A,ve){if(1&A&&(s.j41(0,"span",6),s.EFF(1),s.k0s()),2&A){const T=s.XpG();s.R7$(),s.JRh(T.clearIconLabel)}}class An{static#e=this.defaultShowMore=!1;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:An.defaultAutoClosePeriod,list:[]};constructor(ve,T,ee=An.defaultOptions){this._message=ve,this._type=T;const ge=ee.id?ee.id:Math.random().toString(36).substr(2,9);this._id=ge,this._closable=null==ee.isCloseable||ee.isCloseable,this._autoClosePeriod=ee.autoClosePeriod,this._list=ee.list,this._showMore=ee.showMore||An.defaultShowMore,this._ts=null==ee.createdOn?Date.now():ee.createdOn}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(ve){const{message:T,type:ee,...ge}=ve;return new An(T,ee,ge)}}var kt=function(A){return A[A.error=0]="error",A[A.success=1]="success",A[A.warning=2]="warning",A[A.information=3]="information",A}(kt||{}),fn=function(A){return A.add="add",A.remove="remove",A.clear="clear",A}(fn||{});let Vn=(()=>{class A{static#e=this.defaultGroup="__DEFAULT__";static#t=this.defaultSuccessOptions={autoClosePeriod:1e4};constructor(){this._alertEventsSource=new K.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(T,ee=A.defaultGroup){this._alerts[ee]||(this._alerts[ee]=[]);const ge=T instanceof An?T:An.makeAlert(T);if(this.list(ee).push(ge),this._alertEventsSource.next({type:fn.add,group:ee,alert:ge}),(0,s.naY)())switch(ge.type){case kt.error:console.error(ge.message,ge);break;case kt.warning:console.warn(ge.message,ge);break;default:console.log(ge.message,ge)}return ge}success(T,ee=A.defaultGroup){return this.add(new An(T,kt.success,A.defaultSuccessOptions),ee)}error(T,ee=A.defaultGroup){return this.add({message:T,type:kt.error},ee)}info(T,ee=A.defaultGroup){return this.add({message:T,type:kt.information},ee)}warn(T,ee=A.defaultGroup){return this.add({message:T,type:kt.warning},ee)}removeById(T,ee=A.defaultGroup){const ge=this.list(ee),$e=ge.findIndex(ct=>ct.id===T,0);if(-1!==$e){const ct=ge[$e];ge.splice($e,1),this._alertEventsSource.next({type:fn.remove,group:ee,alert:ct})}}clear(T=A.defaultGroup){this._alerts[T]=[],this._alertEventsSource.next({type:fn.clear,group:T})}list(T=A.defaultGroup){return null==this._alerts[T]&&(this._alerts[T]=[]),this._alerts[T]}static#n=this.\u0275fac=function(ee){return new(ee||A)};static#i=this.\u0275prov=s.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})();var Bn=function(A){return A.inline="inline",A.topLeft="top-left",A.topMiddle="top-middle",A.topRight="top-right",A.bottomLeft="bottom-left",A.bottomMiddle="bottom-middle",A.bottomRight="bottom-right",A.middleLeft="middle-left",A.middleMiddle="middle-middle",A.middleRight="middle-right",A}(Bn||{});const jo=Bn.topRight,Ct=Bn.topLeft;var ln=function(A){return A.new="new",A.closed="closed",A.open="open",A}(ln||{});let Sn=(()=>{class A{constructor(T){this.locale=T,this.close=new s.bkB,this.toggleMore=new s.bkB,this.animationClass=ln.new}get icon(){switch(this.alert.type){case kt.error:return"type-icon fas fa-times-circle";case kt.warning:return"type-icon fas fa-exclamation-triangle";case kt.information:return"type-icon fas fa-info-circle";case kt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case kt.error:return"danger";case kt.warning:return"warning";case kt.information:return"info";case kt.success:return"success"}}get hasLabel(){const T=this.label;return null!==T&&""!==T}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case kt.success:this.label=this.locale.maketext("Success:");break;case kt.error:this.label=this.locale.maketext("Error:");break;case kt.information:this.label=this.locale.maketext("Information:");break;case kt.warning:this.label=this.locale.maketext("Warning:")}this.moreLabel||(this.moreLabel=this.locale.maketext("More")),this.closeLabel||(this.closeLabel=this.locale.maketext("Close")),setTimeout(()=>{this.animationClass=ln.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=ln.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(...T){return T.join("_")}static#e=this.\u0275fac=function(ee){return new(ee||A)(s.rXU(te.h))};static#t=this.\u0275cmp=s.VBU({type:A,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(ee,ge){1&ee&&s.DNE(0,kn,9,13,"div",0),2&ee&&s.Y8G("ngIf",!ge.isClosed)},dependencies:[k.Sq,k.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,se.hZ)("openClose",[(0,se.wk)(ln.new,(0,se.iF)({opacity:0})),(0,se.wk)(ln.open,(0,se.iF)({opacity:1})),(0,se.wk)(ln.closed,(0,se.iF)({opacity:0,transform:"translateX(25%)"})),(0,se.kY)(`${ln.open} => ${ln.closed}`,[(0,se.i0)("0.25s")]),(0,se.kY)(`${ln.new} => ${ln.open}`,[(0,se.i0)("0.25s")]),(0,se.kY)(`${ln.closed} => ${ln.open}`,[(0,se.i0)("0.25s")])])]}})}return A})(),Yn=(()=>{class A{static#e=this.\u0275fac=function(ee){return new(ee||A)};static#t=this.\u0275mod=s.$C({type:A});static#n=this.\u0275inj=s.G2t({imports:[k.MD,Me.wb,re.B]})}return A})(),Mn=(()=>{class A{constructor(T){this.locale=T}get position(){return this.locale.isLtr?jo:Ct}static#e=this.\u0275fac=function(ee){return new(ee||A)(s.KVO(te.h))};static#t=this.\u0275prov=s.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})(),Jn=(()=>{class A{static#e=this.positionPrefix="position-";constructor(T,ee){this._alertService=T,this._positionService=ee,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?A.positionPrefix+Bn.inline.toString():A.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(T){this._position=((A,ve=Bn.topRight)=>{if(A){const T=(A=>{const ve=Object.keys(Bn),ee=Object.values(Bn).indexOf(A);return-1!==ee?ve[ee]:(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)})(A);if(T)return Bn[T]}return ve})(T)}alertClosed(T){this._alertService.removeById(T.id,this.group)}ngOnInit(){this.group||(this.group=Vn.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(ee=>this._addAlert(ee)),this._groupEvents=this._alertService.alertEvents.pipe((0,X.p)(ee=>ee.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(T){return this.alerts.findIndex(ee=>ee.id===T)}_addAlert(T){return this.alerts.push(T),this.alerts}_removeAlert(T){const ee=this._findAlertIndexById(T.id);return ee>-1&&(this.alerts.splice(ee,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(T){switch(T.type){case fn.add:this._addAlert(T.alert);break;case fn.clear:this._clearAlerts();break;case fn.remove:this._removeAlert(T.alert)}}static#t=this.\u0275fac=function(ee){return new(ee||A)(s.rXU(Vn),s.rXU(Mn))};static#n=this.\u0275cmp=s.VBU({type:A,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(ee,ge){1&ee&&(s.j41(0,"div")(1,"div",2,0)(3,"div",3,1),s.DNE(5,Ln,2,1,"div",4),s.k0s()(),s.DNE(6,tn,1,1,"div",5),s.k0s()),2&ee&&(s.R7$(),s.Y8G("ngClass",ge.positionClasses),s.R7$(4),s.Y8G("ngForOf",ge.alerts),s.R7$(),s.Y8G("ngIf",ge.hasAlerts))},dependencies:[k.YU,k.Sq,k.bT,Sn],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 A})(),bi=(()=>{class A{static#e=this.\u0275fac=function(ee){return new(ee||A)};static#t=this.\u0275mod=s.$C({type:A});static#n=this.\u0275inj=s.G2t({imports:[k.MD,Yn]})}return A})(),On=(()=>{class A{constructor(T){this.locale=T,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new s.bkB,this._searchSubject=new K.B,this._unsubscribe=new K.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(T){this._value=T,this._searchSubject.next(T)}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,J.Q)(this._unsubscribe),(0,Z.B)(this.debounce),(0,Y.F)()).subscribe(T=>{this.valueChange.emit(T)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static#e=this.\u0275fac=function(ee){return new(ee||A)(s.rXU(te.h))};static#t=this.\u0275cmp=s.VBU({type:A,selectors:[["cp-search"]],viewQuery:function(ee,ge){if(1&ee&&s.GBs($t,5),2&ee){let $e;s.mGM($e=s.lsd())&&(ge.searchInput=$e.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(ee,ge){if(1&ee){const $e=s.RV6();s.j41(0,"div",1)(1,"input",2,0),s.mxI("ngModelChange",function(qt){return s.eBV($e),s.DH7(ge.value,qt)||(ge.value=qt),s.Njj(qt)}),s.bIt("keyup.esc",function(){return s.eBV($e),s.Njj(ge.clearValue())}),s.k0s(),s.j41(3,"span",3),s.bIt("click",function(){return s.eBV($e),s.Njj(ge.clearValue())}),s.nrm(4,"span",4),s.DNE(5,Ji,2,1,"span",5),s.k0s()()}2&ee&&(s.R7$(),s.Mz_("id","",ge.id,"-search-input"),s.R50("ngModel",ge.value),s.Y8G("disabled",ge.disabled)("placeholder",ge.placeholder)("title",ge.label),s.BMQ("aria-label",ge.label)("list",ge.list),s.R7$(2),s.Mz_("id","",ge.id,"-search-input-addon"),s.R7$(),s.Mz_("id","",ge.id,"-search-input-icon"),s.Y8G("ngClass",(null==ge.value?null:ge.value.length)>0?"fas fa-times":"fas fa-search"),s.R7$(),s.Y8G("ngIf",(null==ge.value?null:ge.value.length)>0))},dependencies:[k.YU,k.bT,W.me,W.BC,W.vS],changeDetection:0})}return A})(),Ni=(()=>{class A{static#e=this.\u0275fac=function(ee){return new(ee||A)};static#t=this.\u0275mod=s.$C({type:A});static#n=this.\u0275inj=s.G2t({imports:[k.MD,W.YN,re.B]})}return A})()}}]);
Back to Directory
File Manager