Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/nginx-manager/vendor-c0d76f48.js
(self.webpackChunknginx_manager=self.webpackChunknginx_manager||[]).push([[128],{7343:(le,G,N)=>{"use strict";N.d(G,{o:()=>d});var d=function(O){return O[O.GET=0]="GET",O[O.HEAD=1]="HEAD",O[O.POST=2]="POST",O[O.PUT=3]="PUT",O[O.DELETE=4]="DELETE",O[O.CONNECT=5]="CONNECT",O[O.OPTIONS=6]="OPTIONS",O[O.TRACE=7]="TRACE",O[O.PATCH=8]="PATCH",O}(d||{})},6802:(le,G,N)=>{"use strict";N.d(G,{e:()=>O}),N(2584);class O{constructor(H,K){if(!H)throw new Error("You must provide a name when creating a name/value argument");this.name=H,this.value=K}}},6884:(le,G,N)=>{"use strict";N.d(G,{uM:()=>Ue,CY:()=>Ae});var d=N(3971),O=N.n(d),F=N(6062),U=N.n(F),H=N(227),K=N.n(H),ie=N(7642),J=N.n(ie),oe=N(9706),q=N.n(oe),z=N(1622),_e=N.n(z),Ie=N(4968),Se=N.n(Ie);function Pe(Qe){if(O()(Qe)||U()(Qe)||K()(Qe)||J()(Qe)||q()(Qe))return!0;if(!Se()(Qe)&&!_e()(Qe))return!1;for(const mt in Qe)if(!Pe(Qe[mt]))return!1;return!0}class Ae{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(mt,wt,at){if(!mt)throw new Error("Name must have a non-empty value");return`${mt}=${encodeURIComponent(wt.toString())}`+(at?"":this.recordSeparator)}}class Ue{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(mt,wt,at){if(!mt)throw new Error("Name must have a non-empty value");if(!Pe(wt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(mt)+":"+JSON.stringify(wt)+(at?"":this.recordSeparator)}}},8391:(le,G,N)=>{"use strict";N.d(G,{d:()=>O,t:()=>d});var d=function(F){return F[F.Contains=0]="Contains",F[F.Begins=1]="Begins",F[F.Ends=2]="Ends",F[F.Matches=3]="Matches",F[F.Equal=4]="Equal",F[F.NotEqual=5]="NotEqual",F[F.LessThan=6]="LessThan",F[F.LessThanUnlimited=7]="LessThanUnlimited",F[F.GreaterThan=8]="GreaterThan",F[F.GreaterThanUnlimited=9]="GreaterThanUnlimited",F[F.Defined=10]="Defined",F[F.Undefined=11]="Undefined",F}(d||{});class O{constructor(U,H,K){if(!U)throw new Error("You must define a non-empty column name.");this.column=U,this.operator=H,this.value=K}}},686:(le,G,N)=>{"use strict";N.d(G,{is:()=>F});const O=Number.POSITIVE_INFINITY;class F{constructor(H=1,K=20){if(H<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(K<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=H,this.pageSize=K}all(){return this.pageSize===O}}},2584:(le,G,N)=>{"use strict";function d(U){return U?"1":"0"}N.d(G,{x:()=>d})},6153:(le,G,N)=>{"use strict";N.d(G,{FU:()=>F,UE:()=>d,r3:()=>O});var d=function(U){return U[U.Ascending=0]="Ascending",U[U.Descending=1]="Descending",U}(d||{}),O=function(U){return U[U.Lexicographic=0]="Lexicographic",U[U.Ipv4=1]="Ipv4",U[U.Numeric=2]="Numeric",U[U.NumericZeroAsMax=3]="NumericZeroAsMax",U}(O||{});class F{constructor(H,K=d.Ascending,ie=O.Lexicographic){if(!H)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=H,this.direction=K,this.type=ie}}},9323:(le,G,N)=>{"use strict";N.d(G,{m:()=>Ft,R:()=>lt});var d=N(4667),O=N.n(d),F=N(2584),U=N(6153),H=N(8391),K=N(6802),ie=N(686);class J{constructor(Z=[]){this.headers=Z}push(Z){this.headers.push(Z)}forEach(Z,ye){this.headers.forEach(Z,ye)}toArray(){const Z=[];return this.headers.forEach(ye=>Z.push({name:ye.name,value:ye.value})),Z}toObject(){return this.headers.reduce((Z,ye)=>(Z[ye.name]=ye.value,Z),{})}}class oe{constructor(Z){this._header=Z}get name(){return this._header.name}get value(){return this._header.value}}class q extends Error{constructor(Z){super(Z),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,q.prototype)}}class z extends Error{constructor(Z){super(Z),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,z.prototype)}}class _e extends oe{constructor(Z,ye){if(!Z)throw new q("You must pass a valid token to the constructor.");if(!ye&&!/^.+[:]/.test(Z))throw new q("You must pass a cPanel username associated with the cPanel API token.");if(!ye&&!/[:].+$/.test(Z))throw new q("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${ye?ye+":":""}${Z}`})}}Error,Error;class Be{get usePager(){return this._usePager}constructor(Z){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ie.is,this.headers=new J,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,Z&&(this.method=Z.method,Z.namespace&&(this.namespace=Z.namespace),Z.arguments&&Z.arguments.forEach(ye=>{this.addArgument(ye)}),Z.sorts&&Z.sorts.forEach(ye=>{this.addSort(ye)}),Z.filters&&Z.filters.forEach(ye=>{this.addFilter(ye)}),Z.columns&&Z.columns.forEach(ye=>this.addColumn(ye)),Z.pager&&this.paginate(Z.pager),this.config=Z.config?Z.config:this.defaultConfig,Z.headers&&Z.headers.forEach(ye=>{this.addHeader(ye)}))}addArgument(Z){return this.arguments.push(Z instanceof K.e?Z:new K.e(Z.name,Z.value)),this}addSort(Z){return this.sorts.push(Z instanceof U.FU?Z:new U.FU(Z.column,Z.direction,Z.type)),this}addFilter(Z){return this.filters.push(Z instanceof H.d?Z:new H.d(Z.column,Z.operator,Z.value)),this}addColumn(Z){return this.columns.push(Z),this}addHeader(Z){return this.headers.push(Z instanceof oe?Z:new oe(Z)),this}paginate(Z){return this.pager=Z instanceof ie.is?Z:new ie.is(Z.page,Z.pageSize||20),this._usePager=!0,this}}var Ae=N(7343);const Qe=new class Ue{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ae.o.GET,Ae.o.DELETE,Ae.o.HEAD].forEach(Z=>{const ye=Ae.o[Z].toString();this.map[ye]={verb:ye,dataInBody:!1}}),[Ae.o.POST,Ae.o.PUT,Ae.o.PATCH].forEach(Z=>{const ye=Ae.o[Z].toString();this.map[ye]={verb:ye,dataInBody:!0}})}getRule(Z){const ye="string"==typeof Z?Z:Ae.o[Z].toString();let Ze=this.map[ye];return Ze||(Ze=this.map.DEFAULT),Ze}};var mt=N(6884),wt=N(6860),at=N.n(wt),lt=function(We){return We.JsonApi="json-api",We.XmlApi="xml-api",We}(lt||{});class Ft extends Be{addHeader(Z){if(Z instanceof _e)throw new z("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(Z),this}_build(Z,ye){let Ze="";return Z.forEach((se,Y,ce)=>{Ze+=ye.encode(se.name,se.value,Y===ce.length-1)}),ye.separatorStart+Ze+ye.separatorEnd}_make_whm_api_fieldspec_from_number(Z){return at()("",Math.floor(Z/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(Z%26)}_generateArguments(Z){Z.push({name:"api.version",value:1}),this.arguments.forEach(Ze=>Z.push(Ze))}_generateSorts(Z){this.sorts.forEach((ye,Ze)=>{0===Ze&&Z.push({name:"api.sort.enable",value:F.x(!0)});const se=`api.sort.${this._make_whm_api_fieldspec_from_number(Ze)}`;Z.push({name:`${se}.field`,value:ye.column}),Z.push({name:`${se}.reverse`,value:F.x(ye.direction!==U.UE.Ascending)}),Z.push({name:`${se}.method`,value:O()(U.r3[ye.type])})})}_lookupFilterOperator(Z){switch(Z){case H.t.GreaterThanUnlimited:return"gt_handle_unlimited";case H.t.GreaterThan:return"gt";case H.t.LessThanUnlimited:return"lt_handle_unlimited";case H.t.LessThan:return"lt";case H.t.Equal:return"eq";case H.t.Begins:return"begins";case H.t.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${H.t[Z]} for WHM API 1`)}}_generateFilters(Z){this.filters.forEach((ye,Ze)=>{0===Ze&&(Z.push({name:"api.filter.enable",value:F.x(!0)}),Z.push({name:"api.filter.verbose",value:F.x(!0)}));const se=`api.filter.${this._make_whm_api_fieldspec_from_number(Ze)}`;Z.push({name:`${se}.field`,value:ye.column}),Z.push({name:`${se}.type`,value:this._lookupFilterOperator(ye.operator)}),Z.push({name:`${se}.arg0`,value:ye.value})})}_translatePageToStart(Z){return(Z.page-1)*Z.pageSize+1}_generatePagination(Z){if(!this.usePager)return;const ye=this.pager.all();Z.push({name:"api.chunk.enable",value:F.x(!0)}),Z.push({name:"api.chunk.verbose",value:F.x(!0)}),Z.push({name:"api.chunk.start",value:ye?-1:this._translatePageToStart(this.pager)}),ye||Z.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(Z,ye){if(super(ye),this.apiType=lt.JsonApi,Z!=lt.JsonApi&&Z!=lt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=Z,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(Z){Z||(Z={verb:Ae.o.POST,encoder:this.config.json?new mt.uM:new mt.CY}),Z.encoder||(Z.encoder=this.config.json?new mt.uM:new mt.CY);const ye=Qe.getRule(Z.verb),Ze={headers:new J([{name:"Content-Type",value:Z.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},se=[];this._generateArguments(se),this._generateSorts(se),this._generateFilters(se),this._generatePagination(se);const Y=this._build(se,Z.encoder);return ye.dataInBody?Ze.body=Y:Ze.url+=Z.verb===Ae.o.GET?`?${Y}`:Y,this.headers.forEach(ce=>{Ze.headers.push({name:ce.name,value:ce.value})}),Ze}}},914:(le,G,N)=>{var d=N(2286);le.exports=d.Symbol},9655:le=>{le.exports=function G(N,d){for(var O=-1,F=null==N?0:N.length,U=Array(F);++O<F;)U[O]=d(N[O],O,N);return U}},8859:le=>{le.exports=function G(N,d,O,F){var U=-1,H=null==N?0:N.length;for(F&&H&&(O=N[++U]);++U<H;)O=d(O,N[U],U,N);return O}},8058:(le,G,N)=>{var O=N(6010)("length");le.exports=O},5077:le=>{le.exports=function G(N){return N.split("")}},8906:le=>{var G=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;le.exports=function N(d){return d.match(G)||[]}},2307:(le,G,N)=>{var d=N(914),O=N(6710),F=N(3533),K=d?d.toStringTag:void 0;le.exports=function ie(J){return null==J?void 0===J?"[object Undefined]":"[object Null]":K&&K in Object(J)?O(J):F(J)}},6010:le=>{le.exports=function G(N){return function(d){return d?.[N]}}},8571:le=>{le.exports=function G(N){return function(d){return N?.[d]}}},7364:le=>{var N=Math.floor;le.exports=function d(O,F){var U="";if(!O||F<1||F>9007199254740991)return U;do{F%2&&(U+=O),(F=N(F/2))&&(O+=O)}while(F);return U}},3597:le=>{le.exports=function G(N,d,O){var F=-1,U=N.length;d<0&&(d=-d>U?0:U+d),(O=O>U?U:O)<0&&(O+=U),U=d>O?0:O-d>>>0,d>>>=0;for(var H=Array(U);++F<U;)H[F]=N[F+d];return H}},5299:(le,G,N)=>{var d=N(914),O=N(9655),F=N(1622),U=N(3443),H=1/0,K=d?d.prototype:void 0,ie=K?K.toString:void 0;le.exports=function J(oe){if("string"==typeof oe)return oe;if(F(oe))return O(oe,J)+"";if(U(oe))return ie?ie.call(oe):"";var q=oe+"";return"0"==q&&1/oe==-H?"-0":q}},8851:(le,G,N)=>{var d=N(5649),O=/^\s+/;le.exports=function F(U){return U&&U.slice(0,d(U)+1).replace(O,"")}},643:(le,G,N)=>{var d=N(3597);le.exports=function O(F,U,H){var K=F.length;return H=void 0===H?K:H,!U&&H>=K?F:d(F,U,H)}},9064:(le,G,N)=>{var d=N(8859),O=N(2473),F=N(2922),H=RegExp("['\u2019]","g");le.exports=function K(ie){return function(J){return d(F(O(J).replace(H,"")),ie,"")}}},2297:(le,G,N)=>{var d=N(7364),O=N(5299),F=N(643),U=N(7817),H=N(706),K=N(7917),ie=Math.ceil;le.exports=function J(oe,q){var z=(q=void 0===q?" ":O(q)).length;if(z<2)return z?d(q,oe):q;var _e=d(q,ie(oe/H(q)));return U(q)?F(K(_e),0,oe).join(""):_e.slice(0,oe)}},1392:(le,G,N)=>{var F=N(8571)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});le.exports=F},7111:le=>{var G="object"==typeof global&&global&&global.Object===Object&&global;le.exports=G},4352:(le,G,N)=>{var O=N(9478)(Object.getPrototypeOf,Object);le.exports=O},6710:(le,G,N)=>{var d=N(914),O=Object.prototype,F=O.hasOwnProperty,U=O.toString,H=d?d.toStringTag:void 0;le.exports=function K(ie){var J=F.call(ie,H),oe=ie[H];try{ie[H]=void 0;var q=!0}catch{}var z=U.call(ie);return q&&(J?ie[H]=oe:delete ie[H]),z}},7817:le=>{var K=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");le.exports=function ie(J){return K.test(J)}},725:le=>{var G=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;le.exports=function N(d){return G.test(d)}},3533:le=>{var N=Object.prototype.toString;le.exports=function d(O){return N.call(O)}},9478:le=>{le.exports=function G(N,d){return function(O){return N(d(O))}}},2286:(le,G,N)=>{var d=N(7111),O="object"==typeof self&&self&&self.Object===Object&&self,F=d||O||Function("return this")();le.exports=F},706:(le,G,N)=>{var d=N(8058),O=N(7817),F=N(7954);le.exports=function U(H){return O(H)?F(H):d(H)}},7917:(le,G,N)=>{var d=N(5077),O=N(7817),F=N(1773);le.exports=function U(H){return O(H)?F(H):d(H)}},5649:le=>{var G=/\s/;le.exports=function N(d){for(var O=d.length;O--&&G.test(d.charAt(O)););return O}},7954:le=>{var G="\\ud800-\\udfff",H="["+G+"]",K="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ie="\\ud83c[\\udffb-\\udfff]",oe="[^"+G+"]",q="(?:\\ud83c[\\udde6-\\uddff]){2}",z="[\\ud800-\\udbff][\\udc00-\\udfff]",Ie="(?:"+K+"|"+ie+")?",Se="[\\ufe0e\\ufe0f]?",Be=Se+Ie+"(?:\\u200d(?:"+[oe,q,z].join("|")+")"+Se+Ie+")*",Ae="(?:"+[oe+K+"?",K,q,z,H].join("|")+")",Ue=RegExp(ie+"(?="+ie+")|"+Ae+Be,"g");le.exports=function Qe(mt){for(var wt=Ue.lastIndex=0;Ue.test(mt);)++wt;return wt}},1773:le=>{var G="\\ud800-\\udfff",H="["+G+"]",K="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ie="\\ud83c[\\udffb-\\udfff]",oe="[^"+G+"]",q="(?:\\ud83c[\\udde6-\\uddff]){2}",z="[\\ud800-\\udbff][\\udc00-\\udfff]",Ie="(?:"+K+"|"+ie+")?",Se="[\\ufe0e\\ufe0f]?",Be=Se+Ie+"(?:\\u200d(?:"+[oe,q,z].join("|")+")"+Se+Ie+")*",Ae="(?:"+[oe+K+"?",K,q,z,H].join("|")+")",Ue=RegExp(ie+"(?="+ie+")|"+Ae+Be,"g");le.exports=function Qe(mt){return mt.match(Ue)||[]}},6546:le=>{var G="\\ud800-\\udfff",U="\\u2700-\\u27bf",H="a-z\\xdf-\\xf6\\xf8-\\xff",q="A-Z\\xc0-\\xd6\\xd8-\\xde",_e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Se="["+_e+"]",Be="\\d+",Ae="["+U+"]",Ue="["+H+"]",Qe="[^"+G+_e+Be+U+H+q+"]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ft="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+q+"]",ye="(?:"+Ue+"|"+Qe+")",Ze="(?:"+We+"|"+Qe+")",se="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Y="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ce="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",me="[\\ufe0e\\ufe0f]?",pn=me+ce+"(?:\\u200d(?:"+["[^"+G+"]",lt,Ft].join("|")+")"+me+ce+")*",Xe="(?:"+[Ae,lt,Ft].join("|")+")"+pn,Rn=RegExp([We+"?"+Ue+"+"+se+"(?="+[Se,We,"$"].join("|")+")",Ze+"+"+Y+"(?="+[Se,We+ye,"$"].join("|")+")",We+"?"+ye+"+"+se,We+"+"+Y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Be,Xe].join("|"),"g");le.exports=function Nr(un){return un.match(Rn)||[]}},2473:(le,G,N)=>{var d=N(1392),O=N(1339),F=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,oe=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");le.exports=function q(z){return(z=O(z))&&z.replace(F,d).replace(oe,"")}},1622:le=>{le.exports=Array.isArray},227:(le,G,N)=>{var d=N(2307),O=N(7571);le.exports=function U(H){return!0===H||!1===H||O(H)&&"[object Boolean]"==d(H)}},6062:le=>{le.exports=function G(N){return null===N}},7642:(le,G,N)=>{var d=N(2307),O=N(7571);le.exports=function U(H){return"number"==typeof H||O(H)&&"[object Number]"==d(H)}},9052:le=>{le.exports=function G(N){var d=typeof N;return null!=N&&("object"==d||"function"==d)}},7571:le=>{le.exports=function G(N){return null!=N&&"object"==typeof N}},4968:(le,G,N)=>{var d=N(2307),O=N(4352),F=N(7571),ie=Function.prototype.toString,J=Object.prototype.hasOwnProperty,oe=ie.call(Object);le.exports=function q(z){if(!F(z)||"[object Object]"!=d(z))return!1;var _e=O(z);if(null===_e)return!0;var Ie=J.call(_e,"constructor")&&_e.constructor;return"function"==typeof Ie&&Ie instanceof Ie&&ie.call(Ie)==oe}},9706:(le,G,N)=>{var d=N(2307),O=N(1622),F=N(7571);le.exports=function H(K){return"string"==typeof K||!O(K)&&F(K)&&"[object String]"==d(K)}},3443:(le,G,N)=>{var d=N(2307),O=N(7571);le.exports=function U(H){return"symbol"==typeof H||O(H)&&"[object Symbol]"==d(H)}},3971:le=>{le.exports=function G(N){return void 0===N}},6860:(le,G,N)=>{var d=N(2297),O=N(706),F=N(6394),U=N(1339);le.exports=function H(K,ie,J){K=U(K);var oe=(ie=F(ie))?O(K):0;return ie&&oe<ie?d(ie-oe,J)+K:K}},4667:(le,G,N)=>{var O=N(9064)(function(F,U,H){return F+(H?"_":"")+U.toLowerCase()});le.exports=O},4661:(le,G,N)=>{var d=N(2419),O=1/0;le.exports=function U(H){return H?(H=d(H))===O||H===-O?17976931348623157e292*(H<0?-1:1):H==H?H:0:0===H?H:0}},6394:(le,G,N)=>{var d=N(4661);le.exports=function O(F){var U=d(F),H=U%1;return U==U?H?U-H:U:0}},2419:(le,G,N)=>{var d=N(8851),O=N(9052),F=N(3443),H=/^[-+]0x[0-9a-f]+$/i,K=/^0b[01]+$/i,ie=/^0o[0-7]+$/i,J=parseInt;le.exports=function oe(q){if("number"==typeof q)return q;if(F(q))return NaN;if(O(q)){var z="function"==typeof q.valueOf?q.valueOf():q;q=O(z)?z+"":z}if("string"!=typeof q)return 0===q?q:+q;q=d(q);var _e=K.test(q);return _e||ie.test(q)?J(q.slice(2),_e?2:8):H.test(q)?NaN:+q}},1339:(le,G,N)=>{var d=N(5299);le.exports=function O(F){return null==F?"":d(F)}},2922:(le,G,N)=>{var d=N(8906),O=N(725),F=N(1339),U=N(6546);le.exports=function H(K,ie,J){return K=F(K),void 0===(ie=J?void 0:ie)?O(K)?U(K):d(K):K.match(ie)||[]}},6381:(le,G,N)=>{"use strict";G.h=void 0;const O=N(2623);Object.defineProperty(G,"h",{enumerable:!0,get:function(){return O.Locale}})},7268:(le,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.CLDR=void 0,G.CLDR=class N{constructor(O){this.rawData=O,this.validateCLDR(this.rawData)}validateCLDR(O){if(!O)throw new Error("CLDR data cannot be null");if(!O.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(O,"functions")||Object.prototype.hasOwnProperty.call(O,"get_plural_form")||"function"!=typeof O.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(O,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(O,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(O.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(O,...F){return(0,this.rawData.functions.get_plural_form)(O,...F)}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:(le,G,N)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.Locale=void 0;const d=N(7367),O=N(5736),F=N(8994),U=N(3365),H=N(7268);G.Locale=class K{constructor(J,oe={}){this.lexicon=oe,this._cldr=new H.CLDR(J)}maketext(J,...oe){return(0,d.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:J,args:oe})}localDatetime(J,oe){return this._datetimeWrapper(O.local_datetime,J,oe)}datetime(J,oe){return this._datetimeWrapper(O.datetime,J,oe)}_datetimeWrapper(J,oe,q){return J({cldr:this._cldr,args:[oe,q]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(J,oe){return this._formatNumber(F.numf,J,oe)}format_bytes(J,oe){return this._formatNumber(F.format_bytes,J,oe)}_formatNumber(J,...oe){return this._callCLDRFunc(J,oe)}list_and(...J){return this._callCLDRFunc(U.list_and,J)}list_and_quoted(...J){return this._callCLDRFunc(U.list_and_quoted,J)}list_or(...J){return this._callCLDRFunc(U.list_or,J)}list_or_quoted(...J){return this._callCLDRFunc(U.list_or_quoted,J)}_callCLDRFunc(J,oe){return J({cldr:this._cldr,args:oe})}}},6049:(le,G,N)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.asis=void 0;const d=N(2500);G.asis=function O({args:[F,...U]}){if(!F||U.length>0||"string"!=typeof F)throw new Error("asis function accepts one non translatable string.");return(F=F.replace(/chr\((\d+)\)/g,function(H,K){return d.functions.chr(Number(K))})).replace(/amp\(\)/g,function(){return d.functions.amp()})}},6073:(le,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.boolean=void 0,G.boolean=function N({args:[d,O,F,U]}){if(null==O||0===O.length||null==F||0===F.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof d<"u"&&d?O:U&&null==d?U:F)}},5496:(le,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.comment=void 0,G.comment=function N({args:[d]}){return""}},5736:(le,G,N)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.local_datetime=G.datetime=G.dateToLocalDayNum=void 0;const d=N(7268),O=function(q){const z=q.getUTCDay()-1;return z<0?6:z},F=[7,1,2,3,4,5,6];function U(q,z){return(F[q.getUTCDay()]+7-z)%7+1}G.dateToLocalDayNum=U;const H=function(q,z,_e){let Ie="",Se=0;return z=z||0,_e=String(void 0===_e?" ":_e),Se=z-String(q).length,Se>0&&(Ie=[...Array(Se)].map(String.prototype.valueOf,_e).join("")),Ie+q};function K({cldr:q,args:[z=new Date,_e],tzString:Ie="UTC"}){if("number"==typeof z&&/^-?\d+$/.test(z.toString())&&(z=new Date(1e3*z)),!(z instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(q instanceof d.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Se=q.getDateTimeInfo();return"string"==typeof _e&&/^(?:date|time|datetime|special)_format_/.test(_e)&&(_e=Se[_e]),_e||(_e=Se.date_format_long),_e.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(Pe,Be,Ae){return Be?function ie(q){return q.substr(1,q.length-2)}(Be):function J(q,z,_e,Ie){switch(_e){case"yy":return Math.abs(q.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(q.getUTCFullYear()));case"MMMMM":return z.month_format_narrow[q.getUTCMonth()];case"LLLLL":return z.month_stand_alone_narrow[q.getUTCMonth()];case"MMMM":return z.month_format_wide[q.getUTCMonth()];case"LLLL":return z.month_stand_alone_wide[q.getUTCMonth()];case"MMM":return z.month_format_abbreviated[q.getUTCMonth()];case"LLL":return z.month_stand_alone_abbreviated[q.getUTCMonth()];case"MM":case"LL":return H((q.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(q.getUTCMonth()+1);case"EEEE":return z.day_format_wide[O(q)];case"EEE":case"EE":case"E":return z.day_format_abbreviated[O(q)];case"EEEEE":return z.day_format_narrow[O(q)];case"cccc":return z.day_stand_alone_wide[O(q)];case"ccc":return z.day_stand_alone_abbreviated[O(q)];case"cc":case"c":return String(U(q,Number(z.first_day_of_week)));case"ccccc":return z.day_stand_alone_narrow[O(q)];case"dd":return H(q.getUTCDate().toString(),2,"0");case"d":return String(q.getUTCDate());case"h":case"hh":{let Se=q.getUTCHours();Se>12&&(Se-=12),0===Se&&(Se=12);const Pe="hh"===_e?H(Se.toString(),2,"0"):Se;return String(Pe)}case"H":return String(q.getUTCHours());case"HH":return H(q.getUTCHours().toString(),2,"0");case"m":return String(q.getUTCMinutes());case"mm":return H(q.getUTCMinutes().toString(),2,"0");case"s":return String(q.getUTCSeconds());case"ss":return H(q.getUTCSeconds().toString(),2,"0");case"a":return q.getUTCHours()<12?z.am_pm_abbreviated[0]:z.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Ie;case"G":case"GG":case"GGG":return z.era_abbreviated[q.getUTCFullYear()<0?0:1];case"GGGGG":return z.era_narrow[q.getUTCFullYear()<0?0:1];case"GGGG":return z.era_wide[q.getUTCFullYear()<0?0:1]}return _e}(z,Se,Ae,Ie)})}G.datetime=K,G.local_datetime=function oe({cldr:q,args:[z=new Date,_e]}){if("number"==typeof z&&/^-?\d+$/.test(z.toString())&&(z=new Date(1e3*z)),!(z instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(q instanceof d.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ie=z.getTimezoneOffset();(z=new Date(z)).setMinutes(z.getMinutes()-Ie);const Se=Ie>0?"-":"+",Pe=Math.floor(Math.abs(Ie)/60),Be=Math.abs(Ie%60);return K({cldr:q,args:[z,_e],tzString:"GMT"+Se+H(Pe.toString(),2,"0")+H(Be.toString(),2,"0")})}},6397:(le,G,N)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.functions=void 0;const d=N(6049),O=N(2500),F=N(5496),U=N(6073),H=N(8994),K=N(5736),ie=N(3365);G.functions={asis:d.asis,output:O.output,comment:F.comment,boolean:U.boolean,numf:H.numf,numerate:H.numerate,quant:H.quant,format_bytes:H.format_bytes,datetime:K.datetime,local_datetime:K.local_datetime,list_and:ie.list_and,list_or:ie.list_or,list_or_quoted:ie.list_or_quoted,list_and_quoted:ie.list_and_quoted}},3365:(le,G)=>{"use strict";function d(ie,J,...oe){let q=oe.slice();switch(1===q.length&&Array.isArray(q[0])&&(q=q[0].slice()),(typeof q>"u"||0===q.length)&&(q=[""]),q=q.map(z=>function N(ie,J){const oe=ie.getDelimiters();return oe&&Object.prototype.hasOwnProperty.call(oe,"quotation_start")&&Object.prototype.hasOwnProperty.call(oe,"quotation_end")?oe.quotation_start+J+oe.quotation_end:J}(ie,z)),J){case"list_and":return H({cldr:ie,args:q});case"list_or":return K({cldr:ie,args:q});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function U(ie,J,...oe){let q=oe.slice();1===q.length&&Array.isArray(q[0])&&(q=q[0].slice());const z=q.length;let _e,Ie,Se,Pe;try{_e=ie.getFormats()[J]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Be=function(Ae,Ue){switch(Ue){case"0":return Se;case"1":return q[Pe++]}};switch(z){case 0:return"";case 1:return String(q[0]);default:if(Se=2===z?_e[2]:_e.start,Se=Se.replace(/\{([01])\}/g,function(Ae,Ue){return q[Ue]}),2===z)return Se;for(Pe=2;Pe<z;)Ie=_e[Pe===z-1?"end":"middle"],Se=Ie.replace(/\{([01])\}/g,Be);return Se}}function H({cldr:ie,args:[...J]}){return U(ie,"list",...J)}function K({cldr:ie,args:[...J]}){return U(ie,"list_or",...J)}Object.defineProperty(G,"__esModule",{value:!0}),G.list_or=G.list_and=G.list_or_quoted=G.list_and_quoted=void 0,G.list_and_quoted=function O({cldr:ie,args:[...J]}){return d(ie,"list_and",...J)},G.list_or_quoted=function F({cldr:ie,args:[...J]}){return d(ie,"list_or",...J)},G.list_and=H,G.list_or=K},2500:(le,G,N)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.functions=G.output=void 0;const d=N(9546),O=N(2353);G.output=function F({args:[U,...H]}){if(H&&"string"==typeof H[0]&&(H[0]=H[0].replace(/chr\((\d+)\)/g,function(K,ie){return G.functions.chr(Number(ie))}),H[0]=H[0].replace(/amp\(\)/g,function(){return G.functions.amp()})),"function"==typeof G.functions[U])return G.functions[U](...H);throw new Error(`Locale output function '${U}' is not implemented.`)},G.functions={amp:()=>(0,d.htmlEscape)("&"),apos:()=>(0,d.htmlEscape)("'"),quot:()=>(0,d.htmlEscape)('"'),underline:U=>`<u>${U}</u>`,strong:U=>`<strong>${U}</strong>`,em:U=>`<em>${U}</em>`,abbr:(U,H)=>`<abbr title="${H}">${U}</abbr>`,acronym:(U,H)=>`<abbr title="${H}" class="initialism">${U}</abbr>`,class:(U,...H)=>`<span class="${H.join(" ")}">${U}</span>`,chr(U){if("string"==typeof U&&(U=Number(U)),"number"!=typeof U||isNaN(U))throw new Error("chr needs a number as argument");return(0,d.htmlEscape)(String.fromCharCode(U))},url(U,...H){let K,ie;if("object"==typeof H[H.length-1])if(K=H[H.length-1],2===H.length){if(K.html)throw new Error("Cannot provide both text and configuration with html attribute");ie=H[0]}else K&&K.html?(ie=K.html,delete K.html):ie=U;else H.length%2==0?(K=(0,O.listToObject)(...H),K&&"html"in K&&""!==K.html?(ie=K.html,delete K.html):ie=U):(ie=H.shift(),K=(0,O.listToObject)(...H));"_type"in K&&"offsite"===K._type&&(K.class="offsite",K.target="_blank",delete K._type);let J=`<a href="${U}"`;if("object"==typeof K)for(const oe in K)Object.prototype.hasOwnProperty.call(K,oe)&&(J+=` ${oe}="${K[oe]}"`);return J+=`>${ie}</a>`,J}}},8994:(le,G,N)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.format_bytes=G.numf=G.quant=G.numerate=void 0;const d=N(7268);function F({cldr:ie,args:[J,...oe]}){if(!(ie instanceof d.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let q,z=3;J instanceof Array?(z=J[1],q=J[0]):q=J;const _e=ie.getPluralForm(q,...oe),Ie=_e[0]?_e[0]:oe[oe.length-1];if(_e&&_e.length>=2&&_e[1])return Ie;const Pe=H({cldr:ie,args:[q,z]});return-1!==Ie.indexOf("%s")?Ie.replace(/%s/g,Pe):ie.isRtl()?Ie+" "+Pe:Pe+" "+Ie}function H({cldr:ie,args:[J,oe=6]}){if(!(ie instanceof d.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(J.toString()))return String(J);const{decimalFormat:q,decimalGroup:z,decimalDecimal:_e}=function U(ie){const J={},oe=ie.getFormats();return Object.prototype.hasOwnProperty.call(oe,"decimal")&&(J.decimalFormat=oe.decimal),Object.prototype.hasOwnProperty.call(oe,"_decimal_format_group")&&(J.decimalGroup=oe._decimal_format_group),Object.prototype.hasOwnProperty.call(oe,"_decimal_format_decimal")&&(J.decimalDecimal=oe._decimal_format_decimal),J}(ie);if(!q||!z||!_e)throw new Error("CLDR Data is missing information related to formatting decimals.");const Ie=J<0;J=Math.abs(J);let Pe,Be,Se=Math.floor(J);/(?!')\.(?!')/.test(J.toString())&&(Pe=String(J).replace(/^[^.]+/,"0"),Pe=Number(Pe).toFixed(oe),/^1/.test(Pe)?(Se++,J=Se,Pe=void 0):Pe=Pe.replace(/^.*\./,"").replace(/0+$/,"")),Be=/(?!');(?!')/.test(q)?q.split(/(?!');(?!')/)[Ie?1:0]:(Ie?"-":"")+q;const Qe=Be.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let mt;1===Qe.length?mt="":(Qe.pop(),mt=z);const wt=String(Se).split("").reverse(),at=[];let lt;const Ft=function(Z){switch(Z){case"#":return wt.shift()||"";case"0":return wt.shift()||"0"}};for(;wt.length;){Qe.length&&(lt=Qe.shift());const Z=lt.replace(/(?!')[0#]|[0#](?!')/g,Ft).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");at.push(Z)}const We=at.join(mt).split("").reverse().join("")+(Pe?_e+Pe:"");return Be.replace(/[0#].*[0#]/,We)}G.numerate=function O({cldr:ie,args:[J,...oe]}){if(!(ie instanceof d.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const q=ie.getPluralForm(J,...oe);return q?q[0]:oe[oe.length-1]},G.quant=F,G.numf=H,G.format_bytes=function K({cldr:ie,args:[J,oe=2]}){if(!(ie instanceof d.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const q=["KB","MB","GB","TB","PB","EB","ZB","YB"],_e=J&&Math.min(Math.floor(Math.log(J)/Math.log(1024)),q.length);return _e?H({cldr:ie,args:[J/Math.pow(1024,_e),oe]})+"\xa0"+q[_e-1]:F({cldr:ie,args:[J,"%s\xa0byte","%s\xa0bytes"]})}},7367:(le,G,N)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.maketext=G.functions=G.config=void 0;const d=N(6397);function H(K,ie){const J=[];let oe=!1,q=!1;return K.forEach(z=>{if("_"===z.charAt(0))if("_*"===z){if(q)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";J.push(...ie),oe=!0}else{const _e=z.match(G.config.underscoreDigitRe);if(_e){if(oe)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ie,Se]=_e,Pe=Number(Se)-1;if(!(Pe in ie))throw`The "${Ie}" substitution argument was not passed to the maketext function.`;J.push(ie[Pe]),q=!0}}else J.push(z)}),J}G.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},G.functions={...d.functions},G.maketext=function F({cldr:K,lexicon:ie,template:J,args:oe}){if("string"!=typeof J)throw"You must pass a string template to the maketext function.";if(-1===(J=ie&&ie[J]||J).indexOf("["))return J;const q=J.match(G.config.bracketRe)||[],z=[];let _e=!1,Ie="";if(q.forEach(Se=>{if("["===Se){if(_e)throw Error(`Invalid maketext string: ${J} \nThe string contains nested brackets.`);_e=!0}else if("]"===Se){if(!_e)throw Error(`Invalid maketext string: ${J} \nThe string contains an unmatched closing bracket character (]).`);if(!Ie)throw Error(`Invalid maketext string: ${J} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Pe;_e=!1;try{Pe=function U(K,ie,J){let oe=ie.split(",");if(oe=oe.map(_e=>_e.replace(G.config.fauxCommaRe,",")),1===oe.length){if(!G.config.underscoreDigitRe.test(oe[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[_e]=H(oe,J);return String(_e)}const q=oe.shift();if(!q||"function"!=typeof G.functions[q])throw`Invalid function "${q}" in maketext string.`;const z=H(oe,J);return G.functions[q]({cldr:K,args:z})}(K,Ie,oe)}catch(Be){throw Error(`Invalid maketext string: ${J} \n${Be}`)}Ie="",z.push(Pe)}else if("~"===Se.charAt(0)){const Pe=Se.charAt(1)||"~";_e?Ie+=","===Pe?G.config.fauxComma:Pe:G.config.tildeChars.has(Pe)?z.push(Pe):z.push(Se)}else _e?Ie+=Se:z.push(Se)}),_e)throw Error(`Invalid maketext string: ${J} \nThe string contains an unmatched opening bracket character ([).`);return z.join("")}},9546:(le,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.htmlEscape=G.entityMap=void 0,G.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},G.htmlEscape=function N(d){return String(d).replace(/[&<>"'\/]/g,O=>G.entityMap[O])}},2353:(le,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.listToObject=void 0,G.listToObject=function O(...F){let U={};return function N(F){if(F.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let H=0,K=F.length;H<K;H+=2){const ie=F[H];if("string"!=typeof ie||""===ie)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(F)&&(U=function d(F){const U=F.length,H={};let ie,J,K=0;for(;K<U;)ie=F[K],J=F[++K],H[ie]=J,K++;return H}(F)),U}},9969:(le,G,N)=>{"use strict";N.d(G,{FX:()=>Ze,If:()=>F,K2:()=>J,S6:()=>Ue,hZ:()=>H,i0:()=>K,iF:()=>oe,kY:()=>_e,kp:()=>U,sf:()=>Z,ui:()=>ye,wk:()=>q});var d=N(177),O=N(3953),F=function(se){return se[se.State=0]="State",se[se.Transition=1]="Transition",se[se.Sequence=2]="Sequence",se[se.Group=3]="Group",se[se.Animate=4]="Animate",se[se.Keyframes=5]="Keyframes",se[se.Style=6]="Style",se[se.Trigger=7]="Trigger",se[se.Reference=8]="Reference",se[se.AnimateChild=9]="AnimateChild",se[se.AnimateRef=10]="AnimateRef",se[se.Query=11]="Query",se[se.Stagger=12]="Stagger",se}(F||{});const U="*";function H(se,Y){return{type:F.Trigger,name:se,definitions:Y,options:{}}}function K(se,Y=null){return{type:F.Animate,styles:Y,timings:se}}function J(se,Y=null){return{type:F.Sequence,steps:se,options:Y}}function oe(se){return{type:F.Style,styles:se,offset:null}}function q(se,Y,ce){return{type:F.State,name:se,styles:Y,options:ce}}function _e(se,Y,ce=null){return{type:F.Transition,expr:se,animation:Y,options:ce}}let Ue=(()=>{class se{static{this.\u0275fac=function(me){return new(me||se)}}static{this.\u0275prov=O.jDH({token:se,factory:()=>(0,O.WQX)(mt),providedIn:"root"})}}return se})();class Qe{}let mt=(()=>{class se extends Ue{constructor(ce,me){if(super(),this.animationModuleType=(0,O.WQX)(O.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=ce.createRenderer(me.body,{id:"0",encapsulation:O.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function We(se){const Y=se.\u0275type;return 0===Y||1===Y}(this._renderer))throw new O.wOt(3600,!1)}build(ce){const me=this._nextAnimationId;this._nextAnimationId++;const Re=Array.isArray(ce)?J(ce):ce;return lt(this._renderer,null,me,"register",[Re]),new wt(me,this._renderer)}static{this.\u0275fac=function(me){return new(me||se)(O.KVO(O._9s),O.KVO(d.qQ))}}static{this.\u0275prov=O.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}}return se})();class wt extends Qe{constructor(Y,ce){super(),this._id=Y,this._renderer=ce}create(Y,ce){return new at(this._id,Y,ce||{},this._renderer)}}class at{constructor(Y,ce,me,Re){this.id=Y,this.element=ce,this._renderer=Re,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",me)}_listen(Y,ce){return this._renderer.listen(this.element,`@@${this.id}:${Y}`,ce)}_command(Y,...ce){lt(this._renderer,this.element,this.id,Y,ce)}onDone(Y){this._listen("done",Y)}onStart(Y){this._listen("start",Y)}onDestroy(Y){this._listen("destroy",Y)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(Y){this._command("setPosition",Y)}getPosition(){return function Ft(se){const Y=se.\u0275type;return 0===Y?se:1===Y?se.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function lt(se,Y,ce,me,Re){se.setProperty(Y,`@@${ce}:${me}`,Re)}class Z{constructor(Y=0,ce=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Y+ce}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}onStart(Y){this._originalOnStartFns.push(Y),this._onStartFns.push(Y)}onDone(Y){this._originalOnDoneFns.push(Y),this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Y=>Y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Y){this._position=this.totalTime?Y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Y){const ce="start"==Y?this._onStartFns:this._onDoneFns;ce.forEach(me=>me()),ce.length=0}}class ye{constructor(Y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Y;let ce=0,me=0,Re=0;const et=this.players.length;0==et?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ut=>{Ut.onDone(()=>{++ce==et&&this._onFinish()}),Ut.onDestroy(()=>{++me==et&&this._onDestroy()}),Ut.onStart(()=>{++Re==et&&this._onStart()})}),this.totalTime=this.players.reduce((Ut,pn)=>Math.max(Ut,pn.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}init(){this.players.forEach(Y=>Y.init())}onStart(Y){this._onStartFns.push(Y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Y=>Y()),this._onStartFns=[])}onDone(Y){this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Y=>Y.play())}pause(){this.players.forEach(Y=>Y.pause())}restart(){this.players.forEach(Y=>Y.restart())}finish(){this._onFinish(),this.players.forEach(Y=>Y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Y=>Y.destroy()),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this.players.forEach(Y=>Y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Y){const ce=Y*this.totalTime;this.players.forEach(me=>{const Re=me.totalTime?Math.min(1,ce/me.totalTime):1;me.setPosition(Re)})}getPosition(){const Y=this.players.reduce((ce,me)=>null===ce||me.totalTime>ce.totalTime?me:ce,null);return null!=Y?Y.getPosition():0}beforeDestroy(){this.players.forEach(Y=>{Y.beforeDestroy&&Y.beforeDestroy()})}triggerCallback(Y){const ce="start"==Y?this._onStartFns:this._onDoneFns;ce.forEach(me=>me()),ce.length=0}}const Ze="!"},177:(le,G,N)=>{"use strict";N.d(G,{AJ:()=>zi,B3:()=>Tt,MD:()=>qo,N0:()=>gs,QT:()=>F,Sm:()=>Be,Sq:()=>V,T3:()=>Ot,UE:()=>Gi,VF:()=>H,Vy:()=>or,Xr:()=>ui,YU:()=>ii,ZD:()=>U,_b:()=>Tr,aZ:()=>Ue,bT:()=>fe,fw:()=>Ae,hb:()=>Se,hj:()=>oe,kB:()=>Pe,qQ:()=>ie});var d=N(3953);let O=null;function F(){return O}function U(m){O??=m}class H{}const ie=new d.nKC("");let J=(()=>{class m{historyGo(_){throw new Error("")}static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275prov=d.jDH({token:m,factory:()=>(0,d.WQX)(q),providedIn:"platform"})}}return m})();const oe=new d.nKC("");let q=(()=>{class m extends J{constructor(){super(),this._doc=(0,d.WQX)(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return F().getBaseHref(this._doc)}onPopState(_){const M=F().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",_,!1),()=>M.removeEventListener("popstate",_)}onHashChange(_){const M=F().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",_,!1),()=>M.removeEventListener("hashchange",_)}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(_){this._location.pathname=_}pushState(_,M,x){this._history.pushState(_,M,x)}replaceState(_,M,x){this._history.replaceState(_,M,x)}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275prov=d.jDH({token:m,factory:()=>new m,providedIn:"platform"})}}return m})();function z(m,b){if(0==m.length)return b;if(0==b.length)return m;let _=0;return m.endsWith("/")&&_++,b.startsWith("/")&&_++,2==_?m+b.substring(1):1==_?m+b:m+"/"+b}function _e(m){const b=m.match(/#|\?|$/),_=b&&b.index||m.length;return m.slice(0,_-("/"===m[_-1]?1:0))+m.slice(_)}function Ie(m){return m&&"?"!==m[0]?"?"+m:m}let Se=(()=>{class m{historyGo(_){throw new Error("")}static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275prov=d.jDH({token:m,factory:()=>(0,d.WQX)(Be),providedIn:"root"})}}return m})();const Pe=new d.nKC("");let Be=(()=>{class m extends Se{constructor(_,M){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,d.WQX)(ie).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return z(this._baseHref,_)}path(_=!1){const M=this._platformLocation.pathname+Ie(this._platformLocation.search),x=this._platformLocation.hash;return x&&_?`${M}${x}`:M}pushState(_,M,x,te){const pe=this.prepareExternalUrl(x+Ie(te));this._platformLocation.pushState(_,M,pe)}replaceState(_,M,x,te){const pe=this.prepareExternalUrl(x+Ie(te));this._platformLocation.replaceState(_,M,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}static{this.\u0275fac=function(M){return new(M||m)(d.KVO(J),d.KVO(Pe,8))}}static{this.\u0275prov=d.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})(),Ae=(()=>{class m extends Se{constructor(_,M){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){const M=this._platformLocation.hash??"#";return M.length>0?M.substring(1):M}prepareExternalUrl(_){const M=z(this._baseHref,_);return M.length>0?"#"+M:M}pushState(_,M,x,te){let pe=this.prepareExternalUrl(x+Ie(te));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.pushState(_,M,pe)}replaceState(_,M,x,te){let pe=this.prepareExternalUrl(x+Ie(te));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.replaceState(_,M,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}static{this.\u0275fac=function(M){return new(M||m)(d.KVO(J),d.KVO(Pe,8))}}static{this.\u0275prov=d.jDH({token:m,factory:m.\u0275fac})}}return m})(),Ue=(()=>{class m{constructor(_){this._subject=new d.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const M=this._locationStrategy.getBaseHref();this._basePath=function at(m){if(new RegExp("^(https?:)?//").test(m)){const[,_]=m.split(/\/\/[^\/]+/);return _}return m}(_e(wt(M))),this._locationStrategy.onPopState(x=>{this._subject.emit({url:this.path(!0),pop:!0,state:x.state,type:x.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,M=""){return this.path()==this.normalize(_+Ie(M))}normalize(_){return m.stripTrailingSlash(function mt(m,b){if(!m||!b.startsWith(m))return b;const _=b.substring(m.length);return""===_||["/",";","?","#"].includes(_[0])?_:b}(this._basePath,wt(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,M="",x=null){this._locationStrategy.pushState(x,"",_,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Ie(M)),x)}replaceState(_,M="",x=null){this._locationStrategy.replaceState(x,"",_,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Ie(M)),x)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription??=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)}),()=>{const M=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",M){this._urlChangeListeners.forEach(x=>x(_,M))}subscribe(_,M,x){return this._subject.subscribe({next:_,error:M,complete:x})}static{this.normalizeQueryParams=Ie}static{this.joinWithSlash=z}static{this.stripTrailingSlash=_e}static{this.\u0275fac=function(M){return new(M||m)(d.KVO(Se))}}static{this.\u0275prov=d.jDH({token:m,factory:()=>function Qe(){return new Ue((0,d.KVO)(Se))}(),providedIn:"root"})}}return m})();function wt(m){return m.replace(/\/index.html$/,"")}function Tr(m,b){b=encodeURIComponent(b);for(const _ of m.split(";")){const M=_.indexOf("="),[x,te]=-1==M?[_,""]:[_.slice(0,M),_.slice(M+1)];if(x.trim()===b)return decodeURIComponent(te)}return null}const dt=/\s+/,on=[];let ii=(()=>{class m{constructor(_,M){this._ngEl=_,this._renderer=M,this.initialClasses=on,this.stateMap=new Map}set klass(_){this.initialClasses=null!=_?_.trim().split(dt):on}set ngClass(_){this.rawClass="string"==typeof _?_.trim().split(dt):_}ngDoCheck(){for(const M of this.initialClasses)this._updateState(M,!0);const _=this.rawClass;if(Array.isArray(_)||_ instanceof Set)for(const M of _)this._updateState(M,!0);else if(null!=_)for(const M of Object.keys(_))this._updateState(M,!!_[M]);this._applyStateDiff()}_updateState(_,M){const x=this.stateMap.get(_);void 0!==x?(x.enabled!==M&&(x.changed=!0,x.enabled=M),x.touched=!0):this.stateMap.set(_,{enabled:M,changed:!0,touched:!0})}_applyStateDiff(){for(const _ of this.stateMap){const M=_[0],x=_[1];x.changed?(this._toggleClass(M,x.enabled),x.changed=!1):x.touched||(x.enabled&&this._toggleClass(M,!1),this.stateMap.delete(M)),x.touched=!1}}_toggleClass(_,M){(_=_.trim()).length>0&&_.split(dt).forEach(x=>{M?this._renderer.addClass(this._ngEl.nativeElement,x):this._renderer.removeClass(this._ngEl.nativeElement,x)})}static{this.\u0275fac=function(M){return new(M||m)(d.rXU(d.aKT),d.rXU(d.sFG))}}static{this.\u0275dir=d.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return m})();class P{constructor(b,_,M,x){this.$implicit=b,this.ngForOf=_,this.index=M,this.count=x}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 V=(()=>{class m{set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}constructor(_,M,x){this._viewContainer=_,this._template=M,this._differs=x,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const M=this._viewContainer;_.forEachOperation((x,te,pe)=>{if(null==x.previousIndex)M.createEmbeddedView(this._template,new P(x.item,this._ngForOf,-1,-1),null===pe?void 0:pe);else if(null==pe)M.remove(null===te?void 0:te);else if(null!==te){const Ne=M.get(te);M.move(Ne,pe),L(Ne,x)}});for(let x=0,te=M.length;x<te;x++){const Ne=M.get(x).context;Ne.index=x,Ne.count=te,Ne.ngForOf=this._ngForOf}_.forEachIdentityChange(x=>{L(M.get(x.currentIndex),x)})}static ngTemplateContextGuard(_,M){return!0}static{this.\u0275fac=function(M){return new(M||m)(d.rXU(d.c1b),d.rXU(d.C4Q),d.rXU(d._q3))}}static{this.\u0275dir=d.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return m})();function L(m,b){m.context.$implicit=b.item}let fe=(()=>{class m{constructor(_,M){this._viewContainer=_,this._context=new Ce,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){we("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){we("ngIfElse",_),this._elseTemplateRef=_,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(_,M){return!0}static{this.\u0275fac=function(M){return new(M||m)(d.rXU(d.c1b),d.rXU(d.C4Q))}}static{this.\u0275dir=d.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return m})();class Ce{constructor(){this.$implicit=null,this.ngIf=null}}function we(m,b){if(b&&!b.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,d.Tbb)(b)}'.`)}let Tt=(()=>{class m{constructor(_,M,x){this._ngEl=_,this._differs=M,this._renderer=x,this._ngStyle=null,this._differ=null}set ngStyle(_){this._ngStyle=_,!this._differ&&_&&(this._differ=this._differs.find(_).create())}ngDoCheck(){if(this._differ){const _=this._differ.diff(this._ngStyle);_&&this._applyChanges(_)}}_setStyle(_,M){const[x,te]=_.split("."),pe=-1===x.indexOf("-")?void 0:d.czy.DashCase;null!=M?this._renderer.setStyle(this._ngEl.nativeElement,x,te?`${M}${te}`:M,pe):this._renderer.removeStyle(this._ngEl.nativeElement,x,pe)}_applyChanges(_){_.forEachRemovedItem(M=>this._setStyle(M.key,null)),_.forEachAddedItem(M=>this._setStyle(M.key,M.currentValue)),_.forEachChangedItem(M=>this._setStyle(M.key,M.currentValue))}static{this.\u0275fac=function(M){return new(M||m)(d.rXU(d.aKT),d.rXU(d.MKu),d.rXU(d.sFG))}}static{this.\u0275dir=d.FsC({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return m})(),Ot=(()=>{class m{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(this._shouldRecreateView(_)){const M=this._viewContainerRef;if(this._viewRef&&M.remove(M.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const x=this._createContextForwardProxy();this._viewRef=M.createEmbeddedView(this.ngTemplateOutlet,x,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(_){return!!_.ngTemplateOutlet||!!_.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(_,M,x)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,M,x),get:(_,M,x)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,M,x)}})}static{this.\u0275fac=function(M){return new(M||m)(d.rXU(d.c1b))}}static{this.\u0275dir=d.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[d.OA$]})}}return m})(),qo=(()=>{class m{static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275mod=d.$C({type:m})}static{this.\u0275inj=d.G2t({})}}return m})();const zi="browser",ho="server";function Gi(m){return m===zi}function or(m){return m===ho}let ui=(()=>{class m{static{this.\u0275prov=(0,d.jDH)({token:m,providedIn:"root",factory:()=>Gi((0,d.WQX)(d.Agw))?new Po((0,d.WQX)(ie),window):new fo})}}return m})();class Po{constructor(b,_){this.document=b,this.window=_,this.offset=()=>[0,0]}setOffset(b){this.offset=Array.isArray(b)?()=>b:b}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(b){this.window.scrollTo(b[0],b[1])}scrollToAnchor(b){const _=function ps(m,b){const _=m.getElementById(b)||m.getElementsByName(b)[0];if(_)return _;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const M=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let x=M.currentNode;for(;x;){const te=x.shadowRoot;if(te){const pe=te.getElementById(b)||te.querySelector(`[name="${b}"]`);if(pe)return pe}x=M.nextNode()}}return null}(this.document,b);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(b){this.window.history.scrollRestoration=b}scrollToElement(b){const _=b.getBoundingClientRect(),M=_.left+this.window.pageXOffset,x=_.top+this.window.pageYOffset,te=this.offset();this.window.scrollTo(M-te[0],x-te[1])}}class fo{setOffset(b){}getScrollPosition(){return[0,0]}scrollToPosition(b){}scrollToAnchor(b){}setHistoryScrollRestoration(b){}}class gs{}},1562:(le,G,N)=>{"use strict";function d(P,V,L,ne,fe,Ce,we){try{var Ge=P[Ce](we),Fe=Ge.value}catch(Bt){return void L(Bt)}Ge.done?V(Fe):Promise.resolve(Fe).then(ne,fe)}function O(P){return function(){var V=this,L=arguments;return new Promise(function(ne,fe){var Ce=P.apply(V,L);function we(Fe){d(Ce,ne,fe,we,Ge,"next",Fe)}function Ge(Fe){d(Ce,ne,fe,we,Ge,"throw",Fe)}we(void 0)})}}N.d(G,{Qq:()=>dn,q1:()=>ji,Lr:()=>Pe});var F=N(3953),U=N(7673),H=N(1985),K=N(6648),ie=N(274),J=N(5964),oe=N(6354),q=N(980),z=N(5558),_e=N(177);class Ie{}class Se{}class Pe{constructor(V){this.normalizedNames=new Map,this.lazyUpdate=null,V?"string"==typeof V?this.lazyInit=()=>{this.headers=new Map,V.split("\n").forEach(L=>{const ne=L.indexOf(":");if(ne>0){const fe=L.slice(0,ne),Ce=fe.toLowerCase(),we=L.slice(ne+1).trim();this.maybeSetNormalizedName(fe,Ce),this.headers.has(Ce)?this.headers.get(Ce).push(we):this.headers.set(Ce,[we])}})}:typeof Headers<"u"&&V instanceof Headers?(this.headers=new Map,V.forEach((L,ne)=>{this.setHeaderEntries(ne,L)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(V).forEach(([L,ne])=>{this.setHeaderEntries(L,ne)})}:this.headers=new Map}has(V){return this.init(),this.headers.has(V.toLowerCase())}get(V){this.init();const L=this.headers.get(V.toLowerCase());return L&&L.length>0?L[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(V){return this.init(),this.headers.get(V.toLowerCase())||null}append(V,L){return this.clone({name:V,value:L,op:"a"})}set(V,L){return this.clone({name:V,value:L,op:"s"})}delete(V,L){return this.clone({name:V,value:L,op:"d"})}maybeSetNormalizedName(V,L){this.normalizedNames.has(L)||this.normalizedNames.set(L,V)}init(){this.lazyInit&&(this.lazyInit instanceof Pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(V=>this.applyUpdate(V)),this.lazyUpdate=null))}copyFrom(V){V.init(),Array.from(V.headers.keys()).forEach(L=>{this.headers.set(L,V.headers.get(L)),this.normalizedNames.set(L,V.normalizedNames.get(L))})}clone(V){const L=new Pe;return L.lazyInit=this.lazyInit&&this.lazyInit instanceof Pe?this.lazyInit:this,L.lazyUpdate=(this.lazyUpdate||[]).concat([V]),L}applyUpdate(V){const L=V.name.toLowerCase();switch(V.op){case"a":case"s":let ne=V.value;if("string"==typeof ne&&(ne=[ne]),0===ne.length)return;this.maybeSetNormalizedName(V.name,L);const fe=("a"===V.op?this.headers.get(L):void 0)||[];fe.push(...ne),this.headers.set(L,fe);break;case"d":const Ce=V.value;if(Ce){let we=this.headers.get(L);if(!we)return;we=we.filter(Ge=>-1===Ce.indexOf(Ge)),0===we.length?(this.headers.delete(L),this.normalizedNames.delete(L)):this.headers.set(L,we)}else this.headers.delete(L),this.normalizedNames.delete(L)}}setHeaderEntries(V,L){const ne=(Array.isArray(L)?L:[L]).map(Ce=>Ce.toString()),fe=V.toLowerCase();this.headers.set(fe,ne),this.maybeSetNormalizedName(V,fe)}forEach(V){this.init(),Array.from(this.normalizedNames.keys()).forEach(L=>V(this.normalizedNames.get(L),this.headers.get(L)))}}class Ae{encodeKey(V){return wt(V)}encodeValue(V){return wt(V)}decodeKey(V){return decodeURIComponent(V)}decodeValue(V){return decodeURIComponent(V)}}const Qe=/%(\d[a-f0-9])/gi,mt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wt(P){return encodeURIComponent(P).replace(Qe,(V,L)=>mt[L]??V)}function at(P){return`${P}`}class lt{constructor(V={}){if(this.updates=null,this.cloneFrom=null,this.encoder=V.encoder||new Ae,V.fromString){if(V.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ue(P,V){const L=new Map;return P.length>0&&P.replace(/^\?/,"").split("&").forEach(fe=>{const Ce=fe.indexOf("="),[we,Ge]=-1==Ce?[V.decodeKey(fe),""]:[V.decodeKey(fe.slice(0,Ce)),V.decodeValue(fe.slice(Ce+1))],Fe=L.get(we)||[];Fe.push(Ge),L.set(we,Fe)}),L}(V.fromString,this.encoder)}else V.fromObject?(this.map=new Map,Object.keys(V.fromObject).forEach(L=>{const ne=V.fromObject[L],fe=Array.isArray(ne)?ne.map(at):[at(ne)];this.map.set(L,fe)})):this.map=null}has(V){return this.init(),this.map.has(V)}get(V){this.init();const L=this.map.get(V);return L?L[0]:null}getAll(V){return this.init(),this.map.get(V)||null}keys(){return this.init(),Array.from(this.map.keys())}append(V,L){return this.clone({param:V,value:L,op:"a"})}appendAll(V){const L=[];return Object.keys(V).forEach(ne=>{const fe=V[ne];Array.isArray(fe)?fe.forEach(Ce=>{L.push({param:ne,value:Ce,op:"a"})}):L.push({param:ne,value:fe,op:"a"})}),this.clone(L)}set(V,L){return this.clone({param:V,value:L,op:"s"})}delete(V,L){return this.clone({param:V,value:L,op:"d"})}toString(){return this.init(),this.keys().map(V=>{const L=this.encoder.encodeKey(V);return this.map.get(V).map(ne=>L+"="+this.encoder.encodeValue(ne)).join("&")}).filter(V=>""!==V).join("&")}clone(V){const L=new lt({encoder:this.encoder});return L.cloneFrom=this.cloneFrom||this,L.updates=(this.updates||[]).concat(V),L}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(V=>this.map.set(V,this.cloneFrom.map.get(V))),this.updates.forEach(V=>{switch(V.op){case"a":case"s":const L=("a"===V.op?this.map.get(V.param):void 0)||[];L.push(at(V.value)),this.map.set(V.param,L);break;case"d":if(void 0===V.value){this.map.delete(V.param);break}{let ne=this.map.get(V.param)||[];const fe=ne.indexOf(at(V.value));-1!==fe&&ne.splice(fe,1),ne.length>0?this.map.set(V.param,ne):this.map.delete(V.param)}}}),this.cloneFrom=this.updates=null)}}class We{constructor(){this.map=new Map}set(V,L){return this.map.set(V,L),this}get(V){return this.map.has(V)||this.map.set(V,V.defaultValue()),this.map.get(V)}delete(V){return this.map.delete(V),this}has(V){return this.map.has(V)}keys(){return this.map.keys()}}function ye(P){return typeof ArrayBuffer<"u"&&P instanceof ArrayBuffer}function Ze(P){return typeof Blob<"u"&&P instanceof Blob}function se(P){return typeof FormData<"u"&&P instanceof FormData}class ce{constructor(V,L,ne,fe){let Ce;if(this.url=L,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=V.toUpperCase(),function Z(P){switch(P){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||fe?(this.body=void 0!==ne?ne:null,Ce=fe):Ce=ne,Ce&&(this.reportProgress=!!Ce.reportProgress,this.withCredentials=!!Ce.withCredentials,Ce.responseType&&(this.responseType=Ce.responseType),Ce.headers&&(this.headers=Ce.headers),Ce.context&&(this.context=Ce.context),Ce.params&&(this.params=Ce.params),this.transferCache=Ce.transferCache),this.headers??=new Pe,this.context??=new We,this.params){const we=this.params.toString();if(0===we.length)this.urlWithParams=L;else{const Ge=L.indexOf("?");this.urlWithParams=L+(-1===Ge?"?":Ge<L.length-1?"&":"")+we}}else this.params=new lt,this.urlWithParams=L}serializeBody(){return null===this.body?null:"string"==typeof this.body||ye(this.body)||Ze(this.body)||se(this.body)||function Y(P){return typeof URLSearchParams<"u"&&P instanceof URLSearchParams}(this.body)?this.body:this.body instanceof lt?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||se(this.body)?null:Ze(this.body)?this.body.type||null:ye(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof lt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(V={}){const L=V.method||this.method,ne=V.url||this.url,fe=V.responseType||this.responseType,Ce=V.transferCache??this.transferCache,we=void 0!==V.body?V.body:this.body,Ge=V.withCredentials??this.withCredentials,Fe=V.reportProgress??this.reportProgress;let Bt=V.headers||this.headers,$t=V.params||this.params;const At=V.context??this.context;return void 0!==V.setHeaders&&(Bt=Object.keys(V.setHeaders).reduce((tn,Wt)=>tn.set(Wt,V.setHeaders[Wt]),Bt)),V.setParams&&($t=Object.keys(V.setParams).reduce((tn,Wt)=>tn.set(Wt,V.setParams[Wt]),$t)),new ce(L,ne,we,{params:$t,headers:Bt,context:At,reportProgress:Fe,responseType:fe,withCredentials:Ge,transferCache:Ce})}}var me=function(P){return P[P.Sent=0]="Sent",P[P.UploadProgress=1]="UploadProgress",P[P.ResponseHeader=2]="ResponseHeader",P[P.DownloadProgress=3]="DownloadProgress",P[P.Response=4]="Response",P[P.User=5]="User",P}(me||{});class Re{constructor(V,L=200,ne="OK"){this.headers=V.headers||new Pe,this.status=void 0!==V.status?V.status:L,this.statusText=V.statusText||ne,this.url=V.url||null,this.ok=this.status>=200&&this.status<300}}class et extends Re{constructor(V={}){super(V),this.type=me.ResponseHeader}clone(V={}){return new et({headers:V.headers||this.headers,status:void 0!==V.status?V.status:this.status,statusText:V.statusText||this.statusText,url:V.url||this.url||void 0})}}class Ut extends Re{constructor(V={}){super(V),this.type=me.Response,this.body=void 0!==V.body?V.body:null}clone(V={}){return new Ut({body:void 0!==V.body?V.body:this.body,headers:V.headers||this.headers,status:void 0!==V.status?V.status:this.status,statusText:V.statusText||this.statusText,url:V.url||this.url||void 0})}}class pn extends Re{constructor(V){super(V,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${V.url||"(unknown url)"}`:`Http failure response for ${V.url||"(unknown url)"}: ${V.status} ${V.statusText}`,this.error=V.error||null}}function un(P,V){return{body:V,headers:P.headers,context:P.context,observe:P.observe,params:P.params,reportProgress:P.reportProgress,responseType:P.responseType,withCredentials:P.withCredentials,transferCache:P.transferCache}}let dn=(()=>{class P{constructor(L){this.handler=L}request(L,ne,fe={}){let Ce;if(L instanceof ce)Ce=L;else{let Fe,Bt;Fe=fe.headers instanceof Pe?fe.headers:new Pe(fe.headers),fe.params&&(Bt=fe.params instanceof lt?fe.params:new lt({fromObject:fe.params})),Ce=new ce(L,ne,void 0!==fe.body?fe.body:null,{headers:Fe,context:fe.context,params:Bt,reportProgress:fe.reportProgress,responseType:fe.responseType||"json",withCredentials:fe.withCredentials,transferCache:fe.transferCache})}const we=(0,U.of)(Ce).pipe((0,ie.H)(Fe=>this.handler.handle(Fe)));if(L instanceof ce||"events"===fe.observe)return we;const Ge=we.pipe((0,J.p)(Fe=>Fe instanceof Ut));switch(fe.observe||"body"){case"body":switch(Ce.responseType){case"arraybuffer":return Ge.pipe((0,oe.T)(Fe=>{if(null!==Fe.body&&!(Fe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Fe.body}));case"blob":return Ge.pipe((0,oe.T)(Fe=>{if(null!==Fe.body&&!(Fe.body instanceof Blob))throw new Error("Response is not a Blob.");return Fe.body}));case"text":return Ge.pipe((0,oe.T)(Fe=>{if(null!==Fe.body&&"string"!=typeof Fe.body)throw new Error("Response is not a string.");return Fe.body}));default:return Ge.pipe((0,oe.T)(Fe=>Fe.body))}case"response":return Ge;default:throw new Error(`Unreachable: unhandled observe type ${fe.observe}}`)}}delete(L,ne={}){return this.request("DELETE",L,ne)}get(L,ne={}){return this.request("GET",L,ne)}head(L,ne={}){return this.request("HEAD",L,ne)}jsonp(L,ne){return this.request("JSONP",L,{params:(new lt).append(ne,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(L,ne={}){return this.request("OPTIONS",L,ne)}patch(L,ne,fe={}){return this.request("PATCH",L,un(fe,ne))}post(L,ne,fe={}){return this.request("POST",L,un(fe,ne))}put(L,ne,fe={}){return this.request("PUT",L,un(fe,ne))}static{this.\u0275fac=function(ne){return new(ne||P)(F.KVO(Ie))}}static{this.\u0275prov=F.jDH({token:P,factory:P.\u0275fac})}}return P})();const Di=/^\)\]\}',?\n/;function xr(P){if(P.url)return P.url;const V="X-Request-URL".toLocaleLowerCase();return P.headers.get(V)}let Rr=(()=>{class P{constructor(){this.fetchImpl=(0,F.WQX)(Fr,{optional:!0})?.fetch??((...L)=>globalThis.fetch(...L)),this.ngZone=(0,F.WQX)(F.SKi)}handle(L){return new H.c(ne=>{const fe=new AbortController;return this.doRequest(L,fe.signal,ne).then(Fn,Ce=>ne.error(new pn({error:Ce}))),()=>fe.abort()})}doRequest(L,ne,fe){var Ce=this;return O(function*(){const we=Ce.createRequestInit(L);let Ge;try{const sn=Ce.ngZone.runOutsideAngular(()=>Ce.fetchImpl(L.urlWithParams,{signal:ne,...we}));(function Vi(P){P.then(Fn,Fn)})(sn),fe.next({type:me.Sent}),Ge=yield sn}catch(sn){return void fe.error(new pn({error:sn,status:sn.status??0,statusText:sn.statusText,url:L.urlWithParams,headers:sn.headers}))}const Fe=new Pe(Ge.headers),Bt=Ge.statusText,$t=xr(Ge)??L.urlWithParams;let At=Ge.status,tn=null;if(L.reportProgress&&fe.next(new et({headers:Fe,status:At,statusText:Bt,url:$t})),Ge.body){const sn=Ge.headers.get("content-length"),Tt=[],Ot=Ge.body.getReader();let Tn,Jt,En=0;const rr=typeof Zone<"u"&&Zone.current;yield Ce.ngZone.runOutsideAngular(O(function*(){for(;;){const{done:vr,value:oi}=yield Ot.read();if(vr)break;if(Tt.push(oi),En+=oi.length,L.reportProgress){Jt="text"===L.responseType?(Jt??"")+(Tn??=new TextDecoder).decode(oi,{stream:!0}):void 0;const si=()=>fe.next({type:me.DownloadProgress,total:sn?+sn:void 0,loaded:En,partialText:Jt});rr?rr.run(si):si()}}}));const So=Ce.concatChunks(Tt,En);try{const vr=Ge.headers.get("Content-Type")??"";tn=Ce.parseBody(L,So,vr)}catch(vr){return void fe.error(new pn({error:vr,headers:new Pe(Ge.headers),status:Ge.status,statusText:Ge.statusText,url:xr(Ge)??L.urlWithParams}))}}0===At&&(At=tn?200:0),At>=200&&At<300?(fe.next(new Ut({body:tn,headers:Fe,status:At,statusText:Bt,url:$t})),fe.complete()):fe.error(new pn({error:tn,headers:Fe,status:At,statusText:Bt,url:$t}))})()}parseBody(L,ne,fe){switch(L.responseType){case"json":const Ce=(new TextDecoder).decode(ne).replace(Di,"");return""===Ce?null:JSON.parse(Ce);case"text":return(new TextDecoder).decode(ne);case"blob":return new Blob([ne],{type:fe});case"arraybuffer":return ne.buffer}}createRequestInit(L){const ne={},fe=L.withCredentials?"include":void 0;if(L.headers.forEach((Ce,we)=>ne[Ce]=we.join(",")),L.headers.has("Accept")||(ne.Accept="application/json, text/plain, */*"),!L.headers.has("Content-Type")){const Ce=L.detectContentTypeHeader();null!==Ce&&(ne["Content-Type"]=Ce)}return{body:L.serializeBody(),method:L.method,headers:ne,credentials:fe}}concatChunks(L,ne){const fe=new Uint8Array(ne);let Ce=0;for(const we of L)fe.set(we,Ce),Ce+=we.length;return fe}static{this.\u0275fac=function(ne){return new(ne||P)}}static{this.\u0275prov=F.jDH({token:P,factory:P.\u0275fac})}}return P})();class Fr{}function Fn(){}function Yt(P,V){return V(P)}function Dn(P,V){return(L,ne)=>V.intercept(L,{handle:fe=>P(fe,ne)})}const Mn=new F.nKC(""),dr=new F.nKC(""),Vn=new F.nKC(""),hr=new F.nKC("",{providedIn:"root",factory:()=>!0});function Kt(){let P=null;return(V,L)=>{null===P&&(P=((0,F.WQX)(Mn,{optional:!0})??[]).reduceRight(Dn,Yt));const ne=(0,F.WQX)(F.TgB);if((0,F.WQX)(hr)){const Ce=ne.add();return P(V,L).pipe((0,q.j)(()=>ne.remove(Ce)))}return P(V,L)}}let Hn=(()=>{class P extends Ie{constructor(L,ne){super(),this.backend=L,this.injector=ne,this.chain=null,this.pendingTasks=(0,F.WQX)(F.TgB),this.contributeToStability=(0,F.WQX)(hr)}handle(L){if(null===this.chain){const ne=Array.from(new Set([...this.injector.get(dr),...this.injector.get(Vn,[])]));this.chain=ne.reduceRight((fe,Ce)=>function Ln(P,V,L){return(ne,fe)=>(0,F.N4e)(L,()=>V(ne,Ce=>P(Ce,fe)))}(fe,Ce,this.injector),Yt)}if(this.contributeToStability){const ne=this.pendingTasks.add();return this.chain(L,fe=>this.backend.handle(fe)).pipe((0,q.j)(()=>this.pendingTasks.remove(ne)))}return this.chain(L,ne=>this.backend.handle(ne))}static{this.\u0275fac=function(ne){return new(ne||P)(F.KVO(Se),F.KVO(F.uvJ))}}static{this.\u0275prov=F.jDH({token:P,factory:P.\u0275fac})}}return P})();const ft=/^\)\]\}',?\n/;let ri=(()=>{class P{constructor(L){this.xhrFactory=L}handle(L){if("JSONP"===L.method)throw new F.wOt(-2800,!1);const ne=this.xhrFactory;return(ne.\u0275loadImpl?(0,K.H)(ne.\u0275loadImpl()):(0,U.of)(null)).pipe((0,z.n)(()=>new H.c(Ce=>{const we=ne.build();if(we.open(L.method,L.urlWithParams),L.withCredentials&&(we.withCredentials=!0),L.headers.forEach((Tt,Ot)=>we.setRequestHeader(Tt,Ot.join(","))),L.headers.has("Accept")||we.setRequestHeader("Accept","application/json, text/plain, */*"),!L.headers.has("Content-Type")){const Tt=L.detectContentTypeHeader();null!==Tt&&we.setRequestHeader("Content-Type",Tt)}if(L.responseType){const Tt=L.responseType.toLowerCase();we.responseType="json"!==Tt?Tt:"text"}const Ge=L.serializeBody();let Fe=null;const Bt=()=>{if(null!==Fe)return Fe;const Tt=we.statusText||"OK",Ot=new Pe(we.getAllResponseHeaders()),En=function Pt(P){return"responseURL"in P&&P.responseURL?P.responseURL:/^X-Request-URL:/m.test(P.getAllResponseHeaders())?P.getResponseHeader("X-Request-URL"):null}(we)||L.url;return Fe=new et({headers:Ot,status:we.status,statusText:Tt,url:En}),Fe},$t=()=>{let{headers:Tt,status:Ot,statusText:En,url:Tn}=Bt(),Jt=null;204!==Ot&&(Jt=typeof we.response>"u"?we.responseText:we.response),0===Ot&&(Ot=Jt?200:0);let rr=Ot>=200&&Ot<300;if("json"===L.responseType&&"string"==typeof Jt){const So=Jt;Jt=Jt.replace(ft,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(vr){Jt=So,rr&&(rr=!1,Jt={error:vr,text:Jt})}}rr?(Ce.next(new Ut({body:Jt,headers:Tt,status:Ot,statusText:En,url:Tn||void 0})),Ce.complete()):Ce.error(new pn({error:Jt,headers:Tt,status:Ot,statusText:En,url:Tn||void 0}))},At=Tt=>{const{url:Ot}=Bt(),En=new pn({error:Tt,status:we.status||0,statusText:we.statusText||"Unknown Error",url:Ot||void 0});Ce.error(En)};let tn=!1;const Wt=Tt=>{tn||(Ce.next(Bt()),tn=!0);let Ot={type:me.DownloadProgress,loaded:Tt.loaded};Tt.lengthComputable&&(Ot.total=Tt.total),"text"===L.responseType&&we.responseText&&(Ot.partialText=we.responseText),Ce.next(Ot)},sn=Tt=>{let Ot={type:me.UploadProgress,loaded:Tt.loaded};Tt.lengthComputable&&(Ot.total=Tt.total),Ce.next(Ot)};return we.addEventListener("load",$t),we.addEventListener("error",At),we.addEventListener("timeout",At),we.addEventListener("abort",At),L.reportProgress&&(we.addEventListener("progress",Wt),null!==Ge&&we.upload&&we.upload.addEventListener("progress",sn)),we.send(Ge),Ce.next({type:me.Sent}),()=>{we.removeEventListener("error",At),we.removeEventListener("abort",At),we.removeEventListener("load",$t),we.removeEventListener("timeout",At),L.reportProgress&&(we.removeEventListener("progress",Wt),null!==Ge&&we.upload&&we.upload.removeEventListener("progress",sn)),we.readyState!==we.DONE&&we.abort()}})))}static{this.\u0275fac=function(ne){return new(ne||P)(F.KVO(_e.N0))}}static{this.\u0275prov=F.jDH({token:P,factory:P.\u0275fac})}}return P})();const Yn=new F.nKC(""),mr=new F.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),hn=new F.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Un{}let re=(()=>{class P{constructor(L,ne,fe){this.doc=L,this.platform=ne,this.cookieName=fe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const L=this.doc.cookie||"";return L!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,_e._b)(L,this.cookieName),this.lastCookieString=L),this.lastToken}static{this.\u0275fac=function(ne){return new(ne||P)(F.KVO(_e.qQ),F.KVO(F.Agw),F.KVO(mr))}}static{this.\u0275prov=F.jDH({token:P,factory:P.\u0275fac})}}return P})();function ee(P,V){const L=P.url.toLowerCase();if(!(0,F.WQX)(Yn)||"GET"===P.method||"HEAD"===P.method||L.startsWith("http://")||L.startsWith("https://"))return V(P);const ne=(0,F.WQX)(Un).getToken(),fe=(0,F.WQX)(hn);return null!=ne&&!P.headers.has(fe)&&(P=P.clone({headers:P.headers.set(fe,ne)})),V(P)}var W=function(P){return P[P.Interceptors=0]="Interceptors",P[P.LegacyInterceptors=1]="LegacyInterceptors",P[P.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",P[P.NoXsrfProtection=3]="NoXsrfProtection",P[P.JsonpSupport=4]="JsonpSupport",P[P.RequestsMadeViaParent=5]="RequestsMadeViaParent",P[P.Fetch=6]="Fetch",P}(W||{});function ue(P,V){return{\u0275kind:P,\u0275providers:V}}function xe(...P){const V=[dn,ri,Hn,{provide:Ie,useExisting:Hn},{provide:Se,useFactory:()=>(0,F.WQX)(Rr,{optional:!0})??(0,F.WQX)(ri)},{provide:dr,useValue:ee,multi:!0},{provide:Yn,useValue:!0},{provide:Un,useClass:re}];for(const L of P)V.push(...L.\u0275providers);return(0,F.EmA)(V)}const _t=new F.nKC("");let ji=(()=>{class P{static{this.\u0275fac=function(ne){return new(ne||P)}}static{this.\u0275mod=F.$C({type:P})}static{this.\u0275inj=F.G2t({providers:[xe(ue(W.LegacyInterceptors,[{provide:_t,useFactory:Kt},{provide:dr,useExisting:_t,multi:!0}]))]})}}return P})()},3953:(le,G,N)=>{"use strict";function d(e,t){return Object.is(e,t)}N.d(G,{bc$:()=>m0,iLQ:()=>qd,sZ2:()=>$u,hnV:()=>SE,Hbi:()=>HN,o8S:()=>fs,BIS:()=>y0,gRc:()=>$E,Ql9:()=>dN,OM3:()=>Hc,Ocv:()=>vN,Z63:()=>yi,aKT:()=>mc,uvJ:()=>Jr,zcH:()=>Vs,bkB:()=>ls,$GK:()=>Ct,nKC:()=>tt,zZn:()=>Gr,_q3:()=>yg,MKu:()=>vg,xe9:()=>ug,Co$:()=>S_,Vns:()=>Ra,SKi:()=>xn,Xx1:()=>Qr,Agw:()=>Hu,PLl:()=>Jm,sFG:()=>aT,_9s:()=>Zf,czy:()=>nd,kdw:()=>Xr,C4Q:()=>Rc,NYb:()=>iN,giA:()=>ME,RxE:()=>mE,c1b:()=>_d,gXe:()=>Fo,mal:()=>Td,L39:()=>Cx,EWP:()=>Ex,Ol2:()=>fp,w6W:()=>YT,oH4:()=>VE,SmG:()=>IN,Rfq:()=>mo,WQX:()=>ve,naY:()=>TN,QuC:()=>Cr,EmA:()=>As,fpN:()=>$N,HJs:()=>Ox,N4e:()=>OD,vPA:()=>l_,O8t:()=>Dx,H3F:()=>yE,zAP:()=>fD,H8p:()=>rc,KH2:()=>Vl,TgB:()=>Sa,wOt:()=>Te,WHO:()=>EE,e01:()=>DE,H5H:()=>jp,Zy3:()=>Ir,mq5:()=>NC,JZv:()=>an,LfX:()=>Ba,plB:()=>ea,jNT:()=>sg,zjR:()=>bE,TL$:()=>p0,Tbb:()=>In,Vt3:()=>up,GFd:()=>b_,OA$:()=>ph,Jv_:()=>$w,aNF:()=>Hw,R7$:()=>Qy,BMQ:()=>Sp,HbH:()=>yC,ZvI:()=>MC,AVh:()=>Np,wni:()=>pw,VBU:()=>ot,FsC:()=>On,jDH:()=>jt,G2t:()=>Xi,$C:()=>$e,EJ8:()=>vn,rXU:()=>fl,nrm:()=>Lp,eu8:()=>Vp,bVm:()=>kd,qex:()=>Fd,k0s:()=>Rd,j41:()=>xd,RV6:()=>PC,xGo:()=>ym,Mr5:()=>Up,KVO:()=>ht,kS0:()=>ku,QTQ:()=>Zy,bIt:()=>Hp,lsd:()=>yw,XpG:()=>rw,SdG:()=>ow,NAR:()=>iw,Y8G:()=>Pp,FS9:()=>Gp,Mz_:()=>Bd,eq3:()=>Ww,l_i:()=>qw,sMw:()=>Kw,mGM:()=>mw,sdS:()=>vw,Njj:()=>zg,eBV:()=>Hg,npT:()=>Dy,B4B:()=>ff,n$t:()=>by,DNE:()=>gp,C5r:()=>eE,EFF:()=>Iw,JRh:()=>qp,SpI:()=>$d,DH7:()=>Vw,mxI:()=>Qp,R50:()=>Kp,GBs:()=>gw});let O=null,F=!1,U=1;const H=Symbol("SIGNAL");function K(e){const t=O;return O=e,t}const q={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function z(e){if(F)throw new Error("");if(null===O)return;O.consumerOnSignalRead(e);const t=O.nextProducerIndex++;Ft(O),t<O.producerNode.length&&O.producerNode[t]!==e&<(O)&&at(O.producerNode[t],O.producerIndexOfThis[t]),O.producerNode[t]!==e&&(O.producerNode[t]=e,O.producerIndexOfThis[t]=lt(O)?wt(e,O,t):0),O.producerLastReadVersion[t]=e.version}function Ie(e){if((!lt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==U)){if(!e.producerMustRecompute(e)&&!Qe(e))return e.dirty=!1,void(e.lastCleanEpoch=U);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=U}}function Se(e){if(void 0===e.liveConsumerNode)return;const t=F;F=!0;try{for(const n of e.liveConsumerNode)n.dirty||Be(n)}finally{F=t}}function Pe(){return!1!==O?.consumerAllowSignalWrites}function Be(e){e.dirty=!0,Se(e),e.consumerMarkedDirty?.(e)}function Ae(e){return e&&(e.nextProducerIndex=0),K(e)}function Ue(e,t){if(K(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(lt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)at(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Qe(e){Ft(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ie(n),r!==n.version))return!0}return!1}function mt(e){if(Ft(e),lt(e))for(let t=0;t<e.producerNode.length;t++)at(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 wt(e,t,n){if(We(e),0===e.liveConsumerNode.length&&Z(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=wt(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function at(e,t){if(We(e),1===e.liveConsumerNode.length&&Z(e))for(let r=0;r<e.producerNode.length;r++)at(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Ft(i),i.producerIndexOfThis[r]=t}}function lt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ft(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function We(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Z(e){return void 0!==e.producerNode}const Ze=Symbol("UNSET"),se=Symbol("COMPUTING"),Y=Symbol("ERRORED"),ce={...q,value:Ze,dirty:!0,error:null,equal:d,producerMustRecompute:e=>e.value===Ze||e.value===se,producerRecomputeValue(e){if(e.value===se)throw new Error("Detected cycle in computations.");const t=e.value;e.value=se;const n=Ae(e);let r;try{r=e.computation()}catch(i){r=Y,e.error=i}finally{Ue(e,n)}t!==Ze&&t!==Y&&r!==Y&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let Re=function me(){throw new Error};function et(){Re()}let pn=null;function un(e,t){Pe()||et(),e.equal(e.value,t)||(e.value=t,function xr(e){e.version++,function _e(){U++}(),Se(e),pn?.()}(e))}const kn={...q,equal:d,value:void 0};var Yt=N(4412),Dn=N(1413),Ln=N(8359),Mn=N(6354);typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Ao="https://g.co/ng/security#xss";class Te extends Error{constructor(t,n){super(Ir(t,n)),this.code=t}}function Ir(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Kr(e){return{toString:e}.toString()}const sr="__parameters__";function Or(e,t,n){return Kr(()=>{const r=function Gn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const c=new i(...a);return h.annotation=c,h;function h(g,C,D){const A=g.hasOwnProperty(sr)?g[sr]:Object.defineProperty(g,sr,{value:[]})[sr];for(;A.length<=D;)A.push(null);return(A[D]=A[D]||[]).push(c),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const an=globalThis;function It(e){for(let t in e)if(e[t]===It)return t;throw Error("Could not find renamed property on target object.")}function sa(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function In(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(In).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function go(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Qo=It({__forward_ref__:It});function mo(e){return e.__forward_ref__=mo,e.toString=function(){return In(this())},e}function qe(e){return hi(e)?e():e}function hi(e){return"function"==typeof e&&e.hasOwnProperty(Qo)&&e.__forward_ref__===mo}function jt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Xi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xo(e){return _s(e,yo)||_s(e,Zo)}function Ba(e){return null!==Xo(e)}function _s(e,t){return e.hasOwnProperty(t)?e[t]:null}function Cs(e){return e&&(e.hasOwnProperty(Gs)||e.hasOwnProperty(Ws))?e[Gs]:null}const yo=It({\u0275prov:It}),Gs=It({\u0275inj:It}),Zo=It({ngInjectableDef:It}),Ws=It({ngInjectorDef:It});class tt{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=jt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ua(e){return e&&!!e.\u0275providers}const Ro=It({\u0275cmp:It}),Ms=It({\u0275dir:It}),Jo=It({\u0275pipe:It}),da=It({\u0275mod:It}),Oi=It({\u0275fac:It}),Pi=It({__NG_ELEMENT_ID__:It}),qs=It({__NG_ENV_ID__:It});function nt(e){return"string"==typeof e?e:null==e?"":String(e)}function Qs(e,t){throw new Te(-201,!1)}var Ct=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}(Ct||{});let bs;function ha(){return bs}function yn(e){const t=bs;return bs=e,t}function Xt(e,t,n){const r=Xo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ct.Optional?null:void 0!==t?t:void Qs()}const es={},fi="__NG_DI_FLAG__",m="ngTempTokenPath",_=/\n/gm,x="__source";let te;function Ne(e){const t=te;return te=e,t}function Mt(e,t=Ct.Default){if(void 0===te)throw new Te(-203,!1);return null===te?Xt(e,void 0,t):te.get(e,t&Ct.Optional?null:void 0,t)}function ht(e,t=Ct.Default){return(ha()||Mt)(qe(e),t)}function ve(e,t=Ct.Default){return ht(e,en(t))}function en(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Lt(e){const t=[];for(let n=0;n<e.length;n++){const r=qe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Te(900,!1);let i,a=Ct.Default;for(let c=0;c<r.length;c++){const h=r[c],g=Ni(h);"number"==typeof g?-1===g?i=h.token:a|=g:i=h}t.push(ht(i,a))}else t.push(ht(r))}return t}function ln(e,t){return e[fi]=t,e.prototype[fi]=t,e}function Ni(e){return e[fi]}const Qr=ln(Or("Optional"),8),Xr=ln(Or("SkipSelf"),4);function mi(e,t){return e.hasOwnProperty(Oi)?e[Oi]:null}function Ss(e,t){e.forEach(n=>Array.isArray(n)?Ss(n,t):t(n))}function Ts(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ts(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Br(e,t,n){let r=Is(e,t);return r>=0?e[1|r]=n:(r=~r,function Xl(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function za(e,t){const n=Is(e,t);if(n>=0)return e[1|n]}function Is(e,t){return function Yl(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const a=r+(i-r>>1),c=e[a<<n];if(t===c)return a<<n;c>t?i=a:r=a+1}return~(i<<n)}(e,t,1)}const Yi={},Vt=[],yi=new tt(""),Jl=new tt("",-1),ga=new tt("");class ma{get(t,n=es){if(n===es){const r=new Error(`NullInjectorError: No provider for ${In(t)}!`);throw r.name="NullInjectorError",r}return n}}var ya=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ya||{}),Fo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fo||{}),Ji=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ji||{});function va(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}function Os(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const a=n[r++],c=n[r++],h=n[r++];e.setAttribute(t,c,h,a)}else{const a=i,c=n[++r];Wa(a)?e.setProperty(t,a,c):e.setAttribute(t,a,c),r++}}return r}function Ga(e){return 3===e||4===e||6===e}function Wa(e){return 64===e.charCodeAt(0)}function Xs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ec(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ec(e,t,n,r,i){let a=0,c=e.length;if(-1===t)c=-1;else for(;a<e.length;){const h=e[a++];if("number"==typeof h){if(h===t){c=-1;break}if(h>t){c=a-1;break}}}for(;a<e.length;){const h=e[a];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==c&&(e.splice(c,0,t),a=c+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}const tc="ng-template";function oh(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==va(t[i+1].toLowerCase(),n,0))return!0}else if(nc(e))return!1;if(i=t.indexOf(1,i),i>-1){let a;for(;++i<t.length&&"string"==typeof(a=t[i]);)if(a.toLowerCase()===n)return!0}return!1}function nc(e){return 4===e.type&&e.value!==tc}function p(e,t,n){return t===(4!==e.type||n?e.value:tc)}function l(e,t,n){let r=4;const i=e.attrs,a=null!==i?function v(e){for(let t=0;t<e.length;t++)if(Ga(e[t]))return t;return e.length}(i):0;let c=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!c)if(4&r){if(r=2|1&r,""!==g&&!p(e,g,n)||""===g&&1===t.length){if(s(r))return!1;c=!0}}else if(8&r){if(null===i||!oh(e,i,g,n)){if(s(r))return!1;c=!0}}else{const C=t[++h],D=o(g,i,nc(e),n);if(-1===D){if(s(r))return!1;c=!0;continue}if(""!==C){let A;if(A=D>a?"":i[D+1].toLowerCase(),2&r&&C!==A){if(s(r))return!1;c=!0}}}}else{if(!c&&!s(r)&&!s(g))return!1;if(c&&s(g))continue;c=!1,r=g|1&r}}return s(r)||c}function s(e){return!(1&e)}function o(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let a=!1;for(;i<t.length;){const c=t[i];if(c===e)return i;if(3===c||6===c)a=!0;else{if(1===c||2===c){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===c)break;if(0===c){i+=4;continue}}i+=a?1:2}return-1}return function T(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function u(e,t,n=!1){for(let r=0;r<t.length;r++)if(l(e,t[r],n))return!0;return!1}function S(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function j(e,t){return e?":not("+t.trim()+")":t}function Q(e){let t=e[0],n=1,r=2,i="",a=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const h=e[++n];i+="["+c+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!s(c)&&(t+=j(a,i),i=""),r=c,a=a||!s(r);n++}return""!==i&&(t+=j(a,i)),t}function ot(e){return Kr(()=>{const t=$r(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ya.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fo.Emulated,styles:e.styles||Vt,_:null,schemas:e.schemas||null,tView:null,id:""};ns(n);const r=e.dependencies;return n.directiveDefs=ko(r,!1),n.pipeDefs=ko(r,!0),n.id=function Ps(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function ze(e){return Ye(e)||Nt(e)}function Ve(e){return null!==e}function $e(e){return Kr(()=>({type:e.type,bootstrap:e.bootstrap||Vt,declarations:e.declarations||Vt,imports:e.imports||Vt,exports:e.exports||Vt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function zt(e,t){if(null==e)return Yi;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let a,c,h=Ji.None;Array.isArray(i)?(h=i[0],a=i[1],c=i[2]??a):(a=i,c=i),t?(n[a]=h!==Ji.None?[r,h]:r,t[a]=c):n[a]=r}return n}function On(e){return Kr(()=>{const t=$r(e);return ns(t),t})}function vn(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 Ye(e){return e[Ro]||null}function Nt(e){return e[Ms]||null}function Pn(e){return e[Jo]||null}function Cr(e){const t=Ye(e)||Nt(e)||Pn(e);return null!==t&&t.standalone}function qt(e,t){const n=e[da]||null;if(!n&&!0===t)throw new Error(`Type ${In(e)} does not have '\u0275mod' property.`);return n}function $r(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Yi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Vt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zt(e.inputs,t),outputs:zt(e.outputs),debugInfo:null}}function ns(e){e.features?.forEach(t=>t(e))}function ko(e,t){if(!e)return null;const n=t?Pn:ze;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Ve)}function As(e){return{\u0275providers:e}}function yu(...e){return{\u0275providers:qa(0,e),\u0275fromNgModule:!0}}function qa(e,...t){const n=[],r=new Set;let i;const a=c=>{n.push(c)};return Ss(t,c=>{const h=c;Ke(h,a,[],r)&&(i||=[],i.push(h))}),void 0!==i&&Le(i,a),n}function Le(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];xt(i,a=>{t(a,r)})}}function Ke(e,t,n,r){if(!(e=qe(e)))return!1;let i=null,a=Cs(e);const c=!a&&Ye(e);if(a||c){if(c&&!c.standalone)return!1;i=e}else{const g=e.ngModule;if(a=Cs(g),!a)return!1;i=g}const h=r.has(i);if(c){if(h)return!1;if(r.add(i),c.dependencies){const g="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const C of g)Ke(C,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let C;r.add(i);try{Ss(a.imports,D=>{Ke(D,t,n,r)&&(C||=[],C.push(D))})}finally{}void 0!==C&&Le(C,t)}if(!h){const C=mi(i)||(()=>new i);t({provide:i,useFactory:C,deps:Vt},i),t({provide:ga,useValue:i,multi:!0},i),t({provide:yi,useValue:()=>ht(i),multi:!0},i)}const g=a.providers;if(null!=g&&!h){const C=e;xt(g,D=>{t(D,C)})}}}return i!==e&&void 0!==e.providers}function xt(e,t){for(let n of e)ua(n)&&(n=n.\u0275providers),Array.isArray(n)?xt(n,t):t(n)}const lr=It({provide:String,useValue:It});function xi(e){return null!==e&&"object"==typeof e&&lr in e}function Zt(e){return"function"==typeof e}const rc=new tt(""),Wn={},Ns={};let Yr;function xs(){return void 0===Yr&&(Yr=new ma),Yr}class Jr{}class Ka extends Jr{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ah(t,c=>this.processProvider(c)),this.records.set(Jl,Qa(void 0,this)),i.has("environment")&&this.records.set(Jr,Qa(void 0,this));const a=this.records.get(rc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(ga,Vt,Ct.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=K(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),K(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ne(this),r=yn(void 0);try{return t()}finally{Ne(n),yn(r)}}get(t,n=es,r=Ct.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(qs))return t[qs](this);r=en(r);const a=Ne(this),c=yn(void 0);try{if(!(r&Ct.SkipSelf)){let g=this.records.get(t);if(void 0===g){const C=function ID(e){return"function"==typeof e||"object"==typeof e&&e instanceof tt}(t)&&Xo(t);g=C&&this.injectableDefInScope(C)?Qa(sh(t),Wn):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&Ct.Self?xs():this.parent).get(t,n=r&Ct.Optional&&n===es?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[m]=h[m]||[]).unshift(In(t)),a)throw h;return function pi(e,t,n,r){const i=e[m];throw t[x]&&i.unshift(t[x]),e.message=function _o(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=In(t);if(Array.isArray(t))i=t.map(In).join(" -> ");else if("object"==typeof t){let a=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];a.push(c+":"+("string"==typeof h?JSON.stringify(h):In(h)))}i=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(_,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{yn(c),Ne(a)}}resolveInjectorInitializers(){const t=K(null),n=Ne(this),r=yn(void 0);try{const a=this.get(yi,Vt,Ct.Self);for(const c of a)c()}finally{Ne(n),yn(r),K(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(In(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Te(205,!1)}processProvider(t){let n=Zt(t=qe(t))?t:qe(t&&t.provide);const r=function bD(e){return xi(e)?Qa(void 0,e.useValue):Qa(Dg(e),Wn)}(t);if(!Zt(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Qa(void 0,Wn,!0),i.factory=()=>Lt(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=K(null);try{return n.value===Wn&&(n.value=Ns,n.value=n.factory()),"object"==typeof n.value&&n.value&&function TD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{K(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=qe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function sh(e){const t=Xo(e),n=null!==t?t.factory:mi(e);if(null!==n)return n;if(e instanceof tt)throw new Te(204,!1);if(e instanceof Function)return function MD(e){if(e.length>0)throw new Te(204,!1);const n=function zs(e){return e&&(e[yo]||e[Zo])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Te(204,!1)}function Dg(e,t,n){let r;if(Zt(e)){const i=qe(e);return mi(i)||sh(i)}if(xi(e))r=()=>qe(e.useValue);else if(function Lo(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Lt(e.deps||[]));else if(function Zr(e){return!(!e||!e.useExisting)}(e))r=()=>ht(qe(e.useExisting));else{const i=qe(e&&(e.useClass||e.provide));if(!function SD(e){return!!e.deps}(e))return mi(i)||sh(i);r=()=>new i(...Lt(e.deps))}return r}function Qa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ah(e,t){for(const n of e)Array.isArray(n)?ah(n,t):n&&ua(n)?ah(n.\u0275providers,t):t(n)}function OD(e,t){e instanceof Ka&&e.assertNotDestroyed();const r=Ne(e),i=yn(void 0);try{return t()}finally{Ne(r),yn(i)}}function Mg(){return void 0!==ha()||null!=function pe(){return te}()}const An=0,Me=1,Je=2,cr=3,Vo=4,Hr=5,vi=6,Za=7,_n=8,ur=9,rs=10,ct=11,oc=12,Sg=13,Ya=14,Nn=15,_a=16,Ja=17,Rs=18,el=19,Tg=20,Zs=21,Cu=22,Co=23,He=25,uh=1,is=7,tl=9,qn=10;var Eu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Eu||{});function Er(e){return Array.isArray(e)&&"object"==typeof e[uh]}function ei(e){return Array.isArray(e)&&!0===e[uh]}function dh(e){return!!(4&e.flags)}function Ca(e){return e.componentOffset>-1}function Du(e){return!(1&~e.flags)}function Uo(e){return!!e.template}function ac(e){return!!(512&e[Je])}class BD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ng(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function ph(){return xg}function xg(e){return e.type.prototype.ngOnChanges&&(e.setInput=HD),$D}function $D(){const e=Fg(this),t=e?.current;if(t){const n=e.previous;if(n===Yi)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function HD(e,t,n,r,i){const a=this.declaredInputs[r],c=Fg(e)||function zD(e,t){return e[Rg]=t}(e,{previous:Yi,current:null}),h=c.current||(c.current={}),g=c.previous,C=g[a];h[a]=new BD(C&&C.currentValue,n,g===Yi),Ng(e,t,i,n)}ph.ngInherit=!0;const Rg="__ngSimpleChanges__";function Fg(e){return e[Rg]||null}const os=function(e,t,n){};function Gt(e){for(;Array.isArray(e);)e=e[An];return e}function lc(e,t){return Gt(t[e])}function _i(e,t){return Gt(t[e.index])}function cc(e,t){return e.data[t]}function eo(e,t){const n=t[e];return Er(n)?n:n[An]}function yh(e){return!(128&~e[Je])}function wo(e,t){return null==t?null:e[t]}function Vg(e){e[Ja]=0}function Ug(e){1024&e[Je]||(e[Je]|=1024,yh(e)&&bu(e))}function Mu(e){return!!(9216&e[Je]||e[Co]?.dirty)}function vh(e){e[rs].changeDetectionScheduler?.notify(8),64&e[Je]&&(e[Je]|=1024),Mu(e)&&bu(e)}function bu(e){e[rs].changeDetectionScheduler?.notify(0);let t=Fs(e);for(;null!==t&&!(8192&t[Je])&&(t[Je]|=8192,yh(t));)t=Fs(t)}function Su(e,t){if(!(256&~e[Je]))throw new Te(911,!1);null===e[Zs]&&(e[Zs]=[]),e[Zs].push(t)}function Fs(e){const t=e[cr];return ei(t)?t[cr]:t}const ut={lFrame:em(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Bg=!1;function $g(){return ut.bindingsEnabled}function Ea(){return null!==ut.skipHydrationRootTNode}function ae(){return ut.lFrame.lView}function bt(){return ut.lFrame.tView}function Hg(e){return ut.lFrame.contextLView=e,e[_n]}function zg(e){return ut.lFrame.contextLView=null,e}function nn(){let e=Gg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gg(){return ut.lFrame.currentTNode}function jo(e,t){const n=ut.lFrame;n.currentTNode=e,n.isParent=t}function wh(){return ut.lFrame.isParent}function Eh(){ut.lFrame.isParent=!1}function Kg(){return Bg}function Qg(e){Bg=e}function Ci(){const e=ut.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Bo(){return ut.lFrame.bindingIndex++}function Ls(e){const t=ut.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function iM(e,t){const n=ut.lFrame;n.bindingIndex=n.bindingRootIndex=e,Dh(t)}function Dh(e){ut.lFrame.currentDirectiveIndex=e}function bh(){return ut.lFrame.currentQueryIndex}function Iu(e){ut.lFrame.currentQueryIndex=e}function sM(e){const t=e[Me];return 2===t.type?t.declTNode:1===t.type?e[Hr]:null}function Yg(e,t,n){if(n&Ct.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||n&Ct.Host||(i=sM(a),null===i||(a=a[Ya],10&i.type))););if(null===i)return!1;t=i,e=a}const r=ut.lFrame=Jg();return r.currentTNode=t,r.lView=e,!0}function Sh(e){const t=Jg(),n=e[Me];ut.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Jg(){const e=ut.lFrame,t=null===e?null:e.child;return null===t?em(e):t}function em(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function tm(){const e=ut.lFrame;return ut.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const nm=tm;function Th(){const e=tm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function zr(){return ut.lFrame.selectedIndex}function Da(e){ut.lFrame.selectedIndex=e}function Cn(){const e=ut.lFrame;return cc(e.tView,e.selectedIndex)}let im=!0;function dc(){return im}function ss(e){im=e}function Ou(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:D}=a;c&&(e.contentHooks??=[]).push(-n,c),h&&((e.contentHooks??=[]).push(n,h),(e.contentCheckHooks??=[]).push(n,h)),g&&(e.viewHooks??=[]).push(-n,g),C&&((e.viewHooks??=[]).push(n,C),(e.viewCheckHooks??=[]).push(n,C)),null!=D&&(e.destroyHooks??=[]).push(n,D)}}function Pu(e,t,n){om(e,t,3,n)}function Au(e,t,n,r){(3&e[Je])===n&&om(e,t,n,r)}function Ih(e,t){let n=e[Je];(3&n)===t&&(n&=16383,n+=1,e[Je]=n)}function om(e,t,n,r){const a=r??-1,c=t.length-1;let h=0;for(let g=void 0!==r?65535&e[Ja]:0;g<c;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[Ja]+=65536),(h<a||-1==a)&&(fM(e,n,t,g),e[Ja]=(4294901760&e[Ja])+g+2),g++}function sm(e,t){os(4,e,t);const n=K(null);try{t.call(e)}finally{K(n),os(5,e,t)}}function fM(e,t,n,r){const i=n[r]<0,a=n[r+1],h=e[i?-n[r]:n[r]];i?e[Je]>>14<e[Ja]>>16&&(3&e[Je])===t&&(e[Je]+=16384,sm(h,a)):sm(h,a)}const nl=-1;class hc{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const Ph={};class Ma{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=en(r);const i=this.injector.get(t,Ph,r);return i!==Ph||n===Ph?i:this.parentInjector.get(t,n,r)}}function Ah(e){return e!==nl}function fc(e){return 32767&e}function pc(e,t){let n=function vM(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ya],n--;return r}let Nh=!0;function Nu(e){const t=Nh;return Nh=e,t}const lm=255,cm=5;let CM=0;const as={};function xu(e,t){const n=um(e,t);if(-1!==n)return n;const r=t[Me];r.firstCreatePass&&(e.injectorIndex=t.length,xh(r.data,e),xh(t,null),xh(r.blueprint,null));const i=Ru(e,t),a=e.injectorIndex;if(Ah(i)){const c=fc(i),h=pc(i,t),g=h[Me].data;for(let C=0;C<8;C++)t[a+C]=h[c+C]|g[c+C]}return t[a+8]=i,a}function xh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function um(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ru(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=vm(i),null===r)return nl;if(n++,i=i[Ya],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return nl}function Rh(e,t,n){!function wM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Pi)&&(r=n[Pi]),null==r&&(r=n[Pi]=CM++);const i=r&lm;t.data[e+(i>>cm)]|=1<<i}(e,t,n)}function dm(e,t,n){if(n&Ct.Optional||void 0!==e)return e;Qs()}function hm(e,t,n,r){if(n&Ct.Optional&&void 0===r&&(r=null),!(n&(Ct.Self|Ct.Host))){const i=e[ur],a=yn(void 0);try{return i?i.get(t,r,n&Ct.Optional):Xt(t,r,n&Ct.Optional)}finally{yn(a)}}return dm(r,0,n)}function fm(e,t,n,r=Ct.Default,i){if(null!==e){if(2048&t[Je]&&!(r&Ct.Self)){const c=function SM(e,t,n,r,i){let a=e,c=t;for(;null!==a&&null!==c&&2048&c[Je]&&!(512&c[Je]);){const h=pm(a,c,n,r|Ct.Self,as);if(h!==as)return h;let g=a.parent;if(!g){const C=c[Tg];if(C){const D=C.get(n,as,r);if(D!==as)return D}g=vm(c),c=c[Ya]}a=g}return i}(e,t,n,r,as);if(c!==as)return c}const a=pm(e,t,n,r,as);if(a!==as)return a}return hm(t,n,r,i)}function pm(e,t,n,r,i){const a=function MM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Pi)?e[Pi]:void 0;return"number"==typeof t?t>=0?t&lm:bM:t}(n);if("function"==typeof a){if(!Yg(t,e,r))return r&Ct.Host?dm(i,0,r):hm(t,n,r,i);try{let c;if(c=a(r),null!=c||r&Ct.Optional)return c;Qs()}finally{nm()}}else if("number"==typeof a){let c=null,h=um(e,t),g=nl,C=r&Ct.Host?t[Nn][Hr]:null;for((-1===h||r&Ct.SkipSelf)&&(g=-1===h?Ru(e,t):t[h+8],g!==nl&&mm(r,!1)?(c=t[Me],h=fc(g),t=pc(g,t)):h=-1);-1!==h;){const D=t[Me];if(gm(a,h,D.data)){const A=DM(h,t,n,c,r,C);if(A!==as)return A}g=t[h+8],g!==nl&&mm(r,t[Me].data[h+8]===C)&&gm(a,h,t)?(c=D,h=fc(g),t=pc(g,t)):h=-1}}return i}function DM(e,t,n,r,i,a){const c=t[Me],h=c.data[e+8],D=Fu(h,c,n,null==r?Ca(h)&&Nh:r!=c&&!!(3&h.type),i&Ct.Host&&a===h);return null!==D?ba(t,c,D,h):as}function Fu(e,t,n,r,i){const a=e.providerIndexes,c=t.data,h=1048575&a,g=e.directiveStart,D=a>>20,k=i?h+D:e.directiveEnd;for(let $=r?h:h+D;$<k;$++){const X=c[$];if($<g&&n===X||$>=g&&X.type===n)return $}if(i){const $=c[g];if($&&Uo($)&&$.type===n)return g}return null}function ba(e,t,n,r){let i=e[n];const a=t.data;if(function pM(e){return e instanceof hc}(i)){const c=i;c.resolving&&function Kl(e,t){throw t&&t.join(" > "),new Te(-200,e)}(function Dt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():nt(e)}(a[n]));const h=Nu(c.canSeeViewProviders);c.resolving=!0;const C=c.injectImpl?yn(c.injectImpl):null;Yg(e,r,Ct.Default);try{i=e[n]=c.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function hM(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const c=xg(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==C&&yn(C),Nu(h),c.resolving=!1,nm()}}return i}function gm(e,t,n){return!!(n[t+(e>>cm)]&1<<e)}function mm(e,t){return!(e&Ct.Self||e&Ct.Host&&t)}class Dr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return fm(this._tNode,this._lView,t,en(r),n)}}function bM(){return new Dr(nn(),ae())}function ym(e){return Kr(()=>{const t=e.prototype.constructor,n=t[Oi]||Fh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[Oi]||Fh(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function Fh(e){return hi(e)?()=>{const t=Fh(qe(e));return t&&t()}:mi(e)}function vm(e){const t=e[Me],n=t.type;return 2===n?t.declTNode:1===n?e[Hr]:null}function ku(e){return function EM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const a=n[i];if(Ga(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}(nn(),e)}function Dm(e,t=null,n=null,r){const i=Mm(e,t,n,r);return i.resolveInjectorInitializers(),i}function Mm(e,t=null,n=null,r,i=new Set){const a=[n||Vt,yu(e)];return r=r||("object"==typeof e?void 0:In(e)),new Ka(a,t||xs(),r||null,i)}class Gr{static{this.THROW_IF_NOT_FOUND=es}static{this.NULL=new ma}static create(t,n){if(Array.isArray(t))return Dm({name:""},n,t,"");{const r=t.name??"";return Dm({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=jt({token:Gr,providedIn:"any",factory:()=>ht(Jl)})}static{this.__NG_ELEMENT_ID__=-1}}new tt("").__NG_ELEMENT_ID__=e=>{const t=nn();if(null===t)throw new Te(204,!1);if(2&t.type)return t.value;if(e&Ct.Optional)return null;throw new Te(204,!1)};function Lh(e){return e.ngOriginalError}const Sm=!0;let gc=(()=>{class e{static{this.__NG_ELEMENT_ID__=kM}static{this.__NG_ENV_ID__=n=>n}}return e})();class FM extends gc{constructor(t){super(),this._lView=t}onDestroy(t){return Su(this._lView,t),()=>function _h(e,t){if(null===e[Zs])return;const n=e[Zs].indexOf(t);-1!==n&&e[Zs].splice(n,1)}(this._lView,t)}}function kM(){return new FM(ae())}let Sa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Yt.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=jt({token:e,providedIn:"root",factory:()=>new e})}}return e})();const ls=class LM extends Dn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Mg()&&(this.destroyRef=ve(gc,{optional:!0})??void 0,this.pendingTasks=ve(Sa,{optional:!0})??void 0)}emit(t){const n=K(null);try{super.next(t)}finally{K(n)}}subscribe(t,n,r){let i=t,a=n||(()=>null),c=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),a=g.error?.bind(g),c=g.complete?.bind(g)}this.__isAsync&&(a=this.wrapInTimeout(a),i&&(i=this.wrapInTimeout(i)),c&&(c=this.wrapInTimeout(c)));const h=super.subscribe({next:i,error:a,complete:c});return t instanceof Ln.yU&&t.add(h),h}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Vu(...e){}function Tm(e){let t,n;function r(){e=Vu;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Im(e){return queueMicrotask(()=>e()),()=>{e=Vu}}const Vh="isAngularZone",Uu=Vh+"_ID";let VM=0;class xn{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ls(!1),this.onMicrotaskEmpty=new ls(!1),this.onStable=new ls(!1),this.onError=new ls(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:a=Sm}=t;if(typeof Zone>"u")throw new Te(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!i&&r,c.shouldCoalesceRunChangeDetection=i,c.callbackScheduled=!1,c.scheduleInRootZone=a,function BM(e){const t=()=>{!function jM(e){function t(){Tm(()=>{e.callbackScheduled=!1,jh(e),e.isCheckStableRunning=!0,Uh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),jh(e))}(e)},n=VM++;e._inner=e._inner.fork({name:"angular",properties:{[Vh]:!0,[Uu]:n,[Uu+n]:!0},onInvokeTask:(r,i,a,c,h,g)=>{if(function $M(e){return Am(e,"__ignore_ng_zone__")}(g))return r.invokeTask(a,c,h,g);try{return Om(e),r.invokeTask(a,c,h,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Pm(e)}},onInvoke:(r,i,a,c,h,g,C)=>{try{return Om(e),r.invoke(a,c,h,g,C)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function HM(e){return Am(e,"__scheduler_tick__")}(g)&&t(),Pm(e)}},onHasTask:(r,i,a,c)=>{r.hasTask(a,c),i===a&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,jh(e),Uh(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(r,i,a,c)=>(r.handleError(a,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Vh)}static assertInAngularZone(){if(!xn.isInAngularZone())throw new Te(909,!1)}static assertNotInAngularZone(){if(xn.isInAngularZone())throw new Te(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const a=this._inner,c=a.scheduleEventTask("NgZoneEvent: "+i,t,UM,Vu,Vu);try{return a.runTask(c,n,r)}finally{a.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const UM={};function Uh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function jh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Om(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pm(e){e._nesting--,Uh(e)}class Bh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ls,this.onMicrotaskEmpty=new ls,this.onStable=new ls,this.onError=new ls}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Am(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Vs{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Lh(t);for(;n&&Lh(n);)n=Lh(n);return n||null}}const GM=new tt("",{providedIn:"root",factory:()=>{const e=ve(xn),t=ve(Vs);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function WM(){return ol(nn(),ae())}function ol(e,t){return new mc(_i(e,t))}let mc=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=WM}}return e})();function xm(e){return e instanceof mc?e.nativeElement:e}function qM(){return this._results[Symbol.iterator]()}class $h{get changes(){return this._changes??=new ls}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=$h.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=qM)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function jr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function fa(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function vc(e){return!(128&~e.flags)}const zh=new Map;let QM=0;function Gh(e){zh.delete(e[el])}const ju="__ngContext__";function ti(e,t){Er(t)?(e[ju]=t[el],function ZM(e){zh.set(e[el],e)}(t)):e[ju]=t}function Hm(e){return Gm(e[oc])}function zm(e){return Gm(e[Vo])}function Gm(e){for(;null!==e&&!ei(e);)e=e[Vo];return e}let qh;function p0(e){qh=e}function Ys(){if(void 0!==qh)return qh;if(typeof document<"u")return document;throw new Te(210,!1)}const $u=new tt("",{providedIn:"root",factory:()=>g0}),g0="ng",Jm=new tt(""),Hu=new tt("",{providedIn:"platform",factory:()=>"unknown"}),m0=new tt(""),y0=new tt("",{providedIn:"root",factory:()=>Ys().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ey=()=>null;function ef(e,t,n=!1){return ey(e,t,n)}const ly=new tt("",{providedIn:"root",factory:()=>!1});let Zu,Yu;function cl(e){return function af(){if(void 0===Zu&&(Zu=null,an.trustedTypes))try{Zu=an.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zu}()?.createHTML(e)||e}function lf(){if(void 0===Yu&&(Yu=null,an.trustedTypes))try{Yu=an.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yu}function dy(e){return lf()?.createHTML(e)||e}function fy(e){return lf()?.createScriptURL(e)||e}class py{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ao})`}}function Js(e){return e instanceof py?e.changingThisBreaksApplicationSecurity:e}function bc(e,t){const n=function k0(e){return e instanceof py&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ao})`)}return n===t}class L0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(cl(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class V0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=cl(t),n}}const j0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cf(e){return(e=String(e)).match(j0)?e:"unsafe:"+e}function Us(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const my=Us("area,br,col,hr,img,wbr"),yy=Us("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vy=Us("rp,rt"),uf=Sc(my,Sc(yy,Us("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Sc(vy,Us("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Sc(vy,yy)),df=Us("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_y=Sc(df,Us("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Us("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),B0=Us("script,style,template");class $0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=G0(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=z0(n);if(a){n=a;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=Cy(t).toLowerCase();if(!uf.hasOwnProperty(n))return this.sanitizedSomething=!0,!B0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),c=a.name,h=c.toLowerCase();if(!_y.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=a.value;df[h]&&(g=cf(g)),this.buf.push(" ",c,'="',Ey(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=Cy(t).toLowerCase();uf.hasOwnProperty(n)&&!my.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ey(t))}}function z0(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw wy(t);return t}function G0(e){const t=e.firstChild;if(t&&function H0(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw wy(t);return t}function Cy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function wy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const W0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,q0=/([^\#-~ |!])/g;function Ey(e){return e.replace(/&/g,"&").replace(W0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(q0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ju;function hf(e){return"content"in e&&function Q0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ul=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ul||{});function Dy(e){const t=Tc();return t?dy(t.sanitize(ul.HTML,e)||""):bc(e,"HTML")?dy(Js(e)):function K0(e,t){let n=null;try{Ju=Ju||function gy(e){const t=new V0(e);return function U0(){try{return!!(new window.DOMParser).parseFromString(cl(""),"text/html")}catch{return!1}}()?new L0(t):t}(e);let r=t?String(t):"";n=Ju.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=Ju.getInertBodyElement(r)}while(r!==a);return cl((new $0).sanitizeChildren(hf(n)||n))}finally{if(n){const r=hf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(Ys(),nt(e))}function ff(e){const t=Tc();return t?t.sanitize(ul.URL,e)||"":bc(e,"URL")?Js(e):cf(nt(e))}function My(e){const t=Tc();if(t)return fy(t.sanitize(ul.RESOURCE_URL,e)||"");if(bc(e,"ResourceURL"))return fy(Js(e));throw new Te(904,!1)}function by(e,t,n){return function eb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?My:ff}(t,n)(e)}function Tc(){const e=ae();return e&&e[rs].sanitizer}const tb=/^>|^->|<!--|-->|--!>|<!-$/g,nb=/(<|>)/g,rb="\u200b$1\u200b";function to(e){return e instanceof Function?e():e}var nd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(nd||{});let mf;function yf(e,t){return mf(e,t)}function hl(e,t,n,r,i){if(null!=r){let a,c=!1;ei(r)?a=r:Er(r)&&(c=!0,r=r[An]);const h=Gt(r);0===e&&null!==n?null==i?Vy(t,n,h):Ia(t,n,h,i||null,!0):1===e&&null!==n?Ia(t,n,h,i||null,!0):2===e?function Oc(e,t,n){e.removeChild(null,t,n)}(t,h,c):3===e&&t.destroyNode(h),null!=a&&function Db(e,t,n,r,i){const a=n[is];a!==Gt(n)&&hl(t,e,r,a,i);for(let h=qn;h<n.length;h++){const g=n[h];sd(g[Me],g,e,t,r,a)}}(t,e,a,n,i)}}function _f(e,t){return e.createComment(function Sy(e){return e.replace(tb,t=>t.replace(nb,rb))}(t))}function rd(e,t,n){return e.createElement(t,n)}function Fy(e,t){t[rs].changeDetectionScheduler?.notify(9),sd(e,t,t[ct],2,null,null)}function ky(e,t){const n=e[tl],r=t[cr];(Er(r)||t[Nn]!==r[cr][Nn])&&(e[Je]|=Eu.HasTransplantedViews),null===n?e[tl]=[t]:n.push(t)}function Cf(e,t){const n=e[tl],r=n.indexOf(t);n.splice(r,1)}function Ic(e,t){if(e.length<=qn)return;const n=qn+t,r=e[n];if(r){const i=r[_a];null!==i&&i!==e&&Cf(i,r),t>0&&(e[n-1][Vo]=r[Vo]);const a=ts(e,qn+t);!function gb(e,t){Fy(e,t),t[An]=null,t[Hr]=null}(r[Me],r);const c=a[Rs];null!==c&&c.detachView(a[Me]),r[cr]=null,r[Vo]=null,r[Je]&=-129}return r}function id(e,t){if(!(256&t[Je])){const n=t[ct];n.destroyNode&&sd(e,t,n,3,null,null),function yb(e){let t=e[oc];if(!t)return wf(e[Me],e);for(;t;){let n=null;if(Er(t))n=t[oc];else{const r=t[qn];r&&(n=r)}if(!n){for(;t&&!t[Vo]&&t!==e;)Er(t)&&wf(t[Me],t),t=t[cr];null===t&&(t=e),Er(t)&&wf(t[Me],t),n=t&&t[Vo]}t=n}}(t)}}function wf(e,t){if(256&t[Je])return;const n=K(null);try{t[Je]&=-129,t[Je]|=256,t[Co]&&mt(t[Co]),function Cb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof hc)){const a=n[r+1];if(Array.isArray(a))for(let c=0;c<a.length;c+=2){const h=i[a[c]],g=a[c+1];os(4,h,g);try{g.call(h)}finally{os(5,h,g)}}else{os(4,i,a);try{a.call(i)}finally{os(5,i,a)}}}}}(e,t),function _b(e,t){const n=e.cleanup,r=t[Za];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const c=n[a+3];c>=0?r[c]():r[-c].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[Za]=null);const i=t[Zs];if(null!==i){t[Zs]=null;for(let a=0;a<i.length;a++)(0,i[a])()}}(e,t),1===t[Me].type&&t[ct].destroy();const r=t[_a];if(null!==r&&ei(t[cr])){r!==t[cr]&&Cf(r,t);const i=t[Rs];null!==i&&i.detachView(e)}Gh(t)}finally{K(n)}}function Ef(e,t,n){return function Ly(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[An];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:a}=e.data[r.directiveStart+i];if(a===Fo.None||a===Fo.Emulated)return null}return _i(r,n)}}(e,t.parent,n)}function Ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Vy(e,t,n){e.appendChild(t,n)}function Uy(e,t,n,r,i){null!==r?Ia(e,t,n,r,i):Vy(e,t,n)}function Df(e,t){return e.parentNode(t)}function jy(e,t,n){return $y(e,t,n)}let Mf,$y=function By(e,t,n){return 40&e.type?_i(e,n):null};function od(e,t,n,r){const i=Ef(e,r,t),a=t[ct],h=jy(r.parent||t[Hr],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Uy(a,i,n[g],h,!1);else Uy(a,i,n,h,!1);void 0!==Mf&&Mf(a,r,t,n,i)}function Oa(e,t){if(null!==t){const n=t.type;if(3&n)return _i(t,e);if(4&n)return bf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Oa(e,r);{const i=e[t.index];return ei(i)?bf(-1,i):Gt(i)}}if(128&n)return Oa(e,t.next);if(32&n)return yf(t,e)()||Gt(e[t.index]);{const r=zy(e,t);return null!==r?Array.isArray(r)?r[0]:Oa(Fs(e[Nn]),r):Oa(e,t.next)}}return null}function zy(e,t){return null!==t?e[Nn][Hr].projection[t.projection]:null}function bf(e,t){const n=qn+e+1;if(n<t.length){const r=t[n],i=r[Me].firstChild;if(null!==i)return Oa(r,i)}return t[is]}function Sf(e,t,n,r,i,a,c){for(;null!=n;){if(128===n.type){n=n.next;continue}const h=r[n.index],g=n.type;if(c&&0===t&&(h&&ti(Gt(h),r),n.flags|=2),32&~n.flags)if(8&g)Sf(e,t,n.child,r,i,a,!1),hl(t,e,i,h,a);else if(32&g){const C=yf(n,r);let D;for(;D=C();)hl(t,e,i,D,a);hl(t,e,i,h,a)}else 16&g?Wy(e,t,r,n,i,a):hl(t,e,i,h,a);n=c?n.projectionNext:n.next}}function sd(e,t,n,r,i,a){Sf(n,r,e.firstChild,t,i,a,!1)}function Wy(e,t,n,r,i,a){const c=n[Nn],g=c[Hr].projection[r.projection];if(Array.isArray(g))for(let C=0;C<g.length;C++)hl(t,e,i,g[C],a);else{let C=g;const D=c[cr];vc(r)&&(C.flags|=128),Sf(e,t,C,D,i,a,!0)}}function qy(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ky(e,t,n){const{mergedAttrs:r,classes:i,styles:a}=n;null!==r&&Os(e,t,r),null!==i&&qy(e,t,i),null!==a&&function bb(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}const vt={};function Qy(e=1){Xy(bt(),ae(),zr()+e,!1)}function Xy(e,t,n,r){if(!r)if(3&~t[Je]){const a=e.preOrderHooks;null!==a&&Au(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&Pu(t,a,n)}Da(n)}function fl(e,t=Ct.Default){const n=ae();return null===n?ht(e,t):fm(nn(),n,qe(e),t)}function Zy(){throw new Error("invalid")}function Yy(e,t,n,r,i,a){const c=K(null);try{let h=null;i&Ji.SignalBased&&(h=t[r][H]),null!==h&&void 0!==h.transformFn&&(a=h.transformFn(a)),i&Ji.HasDecoratorInputTransform&&(a=e.inputTransforms[r].call(t,a)),null!==e.setInput?e.setInput(t,h,a,n,r):Ng(t,h,r,a)}finally{K(c)}}function ad(e,t,n,r,i,a,c,h,g,C,D){const A=t.blueprint.slice();return A[An]=i,A[Je]=204|r,(null!==C||e&&2048&e[Je])&&(A[Je]|=2048),Vg(A),A[cr]=A[Ya]=e,A[_n]=n,A[rs]=c||e&&e[rs],A[ct]=h||e&&e[ct],A[ur]=g||e&&e[ur]||null,A[Hr]=a,A[el]=function XM(){return QM++}(),A[vi]=D,A[Tg]=C,A[Nn]=2==t.type?e[Nn]:A,A}function Pa(e,t,n,r,i){let a=e.data[t];if(null===a)a=function Tf(e,t,n,r,i){const a=Gg(),c=wh(),g=e.data[t]=function xb(e,t,n,r,i,a){let c=t?t.injectorIndex:-1,h=0;return Ea()&&(h|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:c,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?a:a&&a.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==a&&(c?null==a.child&&null!==g.parent&&(a.child=g):null===a.next&&(a.next=g,g.prev=a)),g}(e,t,n,r,i),function rM(){return ut.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;const c=function uc(){const e=ut.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===c?-1:c.injectorIndex}return jo(a,!0),a}function Pc(e,t,n,r){if(0===n)return-1;const i=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Jy(e,t,n,r,i){const a=zr(),c=2&r;try{Da(-1),c&&t.length>He&&Xy(e,t,He,!1),os(c?2:0,i),n(r,i)}finally{Da(a),os(c?3:1,i)}}function If(e,t,n){if(dh(t)){const r=K(null);try{const a=t.directiveEnd;for(let c=t.directiveStart;c<a;c++){const h=e.data[c];h.contentQueries&&h.contentQueries(1,n[c],c)}}finally{K(r)}}}function Of(e,t,n){$g()&&(function jb(e,t,n,r){const i=n.directiveStart,a=n.directiveEnd;Ca(n)&&function qb(e,t,n){const r=_i(t,e),i=ev(n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const h=ld(e,ad(e,i,null,c,r,t,null,e[rs].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=h}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||xu(n,t),ti(r,t);const c=n.initialInputs;for(let h=i;h<a;h++){const g=e.data[h],C=ba(t,e,h,n);ti(C,t),null!==c&&Kb(0,h-i,C,g,0,c),Uo(g)&&(eo(n.index,t)[_n]=ba(t,e,h,n))}}(e,t,n,_i(n,t)),!(64&~n.flags)&&ov(e,t,n))}function Pf(e,t,n=_i){const r=t.localNames;if(null!==r){let i=t.index+1;for(let a=0;a<r.length;a+=2){const c=r[a+1],h=-1===c?n(t,e):e[c];e[i++]=h}}}function ev(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Af(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Af(e,t,n,r,i,a,c,h,g,C,D){const A=He+r,k=A+i,$=function Tb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:vt);return n}(A,k),X="function"==typeof C?C():C;return $[Me]={type:e,blueprint:$,template:n,queries:null,viewQuery:h,declTNode:t,data:$.slice().fill(null,A),bindingStartIndex:A,expandoStartIndex:k,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:g,consts:X,incompleteFirstPass:!1,ssrId:D}}let tv=()=>null;function nv(e,t,n,r,i){for(let a in t){if(!t.hasOwnProperty(a))continue;const c=t[a];if(void 0===c)continue;r??={};let h,g=Ji.None;Array.isArray(c)?(h=c[0],g=c[1]):h=c;let C=a;if(null!==i){if(!i.hasOwnProperty(a))continue;C=i[a]}0===e?rv(r,n,C,h,g):rv(r,n,C,h)}return r}function rv(e,t,n,r,i){let a;e.hasOwnProperty(n)?(a=e[n]).push(t,r):a=e[n]=[t,r],void 0!==i&&a.push(i)}function Fi(e,t,n,r,i,a,c,h){const g=_i(t,n);let D,C=t.inputs;!h&&null!=C&&(D=C[r])?(kf(e,n,D,r,i),Ca(t)&&function kb(e,t){const n=eo(t,e);16&n[Je]||(n[Je]|=64)}(n,t.index)):3&t.type&&(r=function Fb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=c?c(i,t.value||"",r):i,a.setProperty(g,r,i))}function Nf(e,t,n,r){if($g()){const i=null===r?null:{"":-1},a=function $b(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let a=0;a<n.length;a++){const c=n[a];if(u(t,c.selectors,!1))if(r||(r=[]),Uo(c))if(null!==c.findHostDirectiveDefs){const h=[];i=i||new Map,c.findHostDirectiveDefs(c,h,i),r.unshift(...h,c),xf(e,t,h.length)}else r.unshift(c),xf(e,t,0);else i=i||new Map,c.findHostDirectiveDefs?.(c,r,i),r.push(c)}return null===r?null:[r,i]}(e,n);let c,h;null===a?c=h=null:[c,h]=a,null!==c&&iv(e,t,n,c,i,h),i&&function Hb(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=n[t[i+1]];if(null==a)throw new Te(-301,!1);r.push(t[i],a)}}}(n,r,i)}n.mergedAttrs=Xs(n.mergedAttrs,n.attrs)}function iv(e,t,n,r,i,a){for(let C=0;C<r.length;C++)Rh(xu(n,t),e,r[C].type);!function Gb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let C=0;C<r.length;C++){const D=r[C];D.providersResolver&&D.providersResolver(D)}let c=!1,h=!1,g=Pc(e,t,r.length,null);for(let C=0;C<r.length;C++){const D=r[C];n.mergedAttrs=Xs(n.mergedAttrs,D.hostAttrs),Wb(e,n,t,g,D),zb(g,D,i),null!==D.contentQueries&&(n.flags|=4),(null!==D.hostBindings||null!==D.hostAttrs||0!==D.hostVars)&&(n.flags|=64);const A=D.type.prototype;!c&&(A.ngOnChanges||A.ngOnInit||A.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!h&&(A.ngOnChanges||A.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}!function Rb(e,t,n){const i=t.directiveEnd,a=e.data,c=t.attrs,h=[];let g=null,C=null;for(let D=t.directiveStart;D<i;D++){const A=a[D],k=n?n.get(A):null,X=k?k.outputs:null;g=nv(0,A.inputs,D,g,k?k.inputs:null),C=nv(1,A.outputs,D,C,X);const de=null===g||null===c||nc(t)?null:Qb(g,D,c);h.push(de)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=h,t.inputs=g,t.outputs=C}(e,n,a)}function ov(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,c=function oM(){return ut.lFrame.currentDirectiveIndex}();try{Da(a);for(let h=r;h<i;h++){const g=e.data[h],C=t[h];Dh(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&Bb(g,C)}}finally{Da(-1),Dh(c)}}function Bb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Uo(t)&&(n[""]=e)}}function Wb(e,t,n,r,i){e.data[r]=i;const a=i.factory||(i.factory=mi(i.type)),c=new hc(a,Uo(i),fl);e.blueprint[r]=c,n[r]=c,function Vb(e,t,n,r,i){const a=i.hostBindings;if(a){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const h=~t.index;(function Ub(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=h&&c.push(h),c.push(n,r,a)}}(e,t,r,Pc(e,n,i.hostVars,vt),i)}function cs(e,t,n,r,i,a){const c=_i(e,t);!function Rf(e,t,n,r,i,a,c){if(null==a)e.removeAttribute(t,i,n);else{const h=null==c?nt(a):c(a,r||"",i);e.setAttribute(t,i,h,n)}}(t[ct],c,a,e.value,n,r,i)}function Kb(e,t,n,r,i,a){const c=a[t];if(null!==c)for(let h=0;h<c.length;)Yy(r,n,c[h++],c[h++],c[h++],c[h++])}function Qb(e,t,n){let r=null,i=0;for(;i<n.length;){const a=n[i];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===r&&(r=[]);const c=e[a];for(let h=0;h<c.length;h+=3)if(c[h]===t){r.push(a,c[h+1],c[h+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function sv(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function av(e,t){const n=e.contentQueries;if(null!==n){const r=K(null);try{for(let i=0;i<n.length;i+=2){const c=n[i+1];if(-1!==c){const h=e.data[c];Iu(n[i]),h.contentQueries(2,t[c],c)}}}finally{K(r)}}}function ld(e,t){return e[oc]?e[Sg][Vo]=t:e[oc]=t,e[Sg]=t,t}function Ff(e,t,n){Iu(0);const r=K(null);try{t(e,n)}finally{K(r)}}function lv(e){return e[Za]??=[]}function cv(e){return e.cleanup??=[]}function cd(e,t){const n=e[ur],r=n?n.get(Vs,null):null;r&&r.handleError(t)}function kf(e,t,n,r,i){for(let a=0;a<n.length;){const c=n[a++],h=n[a++],g=n[a++];Yy(e.data[c],t[c],r,h,g,i)}}function Xb(e,t){const n=eo(t,e),r=n[Me];!function Zb(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[An];null!==i&&null===n[vi]&&(n[vi]=ef(i,n[ur])),Lf(r,n,n[_n])}function Lf(e,t,n){Sh(t);try{const r=e.viewQuery;null!==r&&Ff(1,r,n);const i=e.template;null!==i&&Jy(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Rs]?.finishViewCreation(e),e.staticContentQueries&&av(e,t),e.staticViewQueries&&Ff(2,e.viewQuery,n);const a=e.components;null!==a&&function Yb(e,t){for(let n=0;n<t.length;n++)Xb(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Je]&=-5,Th()}}function pl(e,t,n,r){const i=K(null);try{const a=t.tView,g=ad(e,a,n,4096&e[Je]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[_a]=e[t.index];const D=e[Rs];return null!==D&&(g[Rs]=D.createEmbeddedView(a)),Lf(a,g,n),g}finally{K(i)}}function Aa(e,t){return!t||null===t.firstChild||vc(e)}function gl(e,t,n,r=!0){const i=t[Me];if(function vb(e,t,n,r){const i=qn+r,a=n.length;r>0&&(n[i-1][Vo]=t),r<a-qn?(t[Vo]=n[i],Ts(n,qn+r,t)):(n.push(t),t[Vo]=null),t[cr]=n;const c=t[_a];null!==c&&n!==c&&ky(c,t);const h=t[Rs];null!==h&&h.insertView(e),vh(t),t[Je]|=128}(i,t,e,n),r){const c=bf(n,e),h=t[ct],g=Df(h,e[is]);null!==g&&function mb(e,t,n,r,i,a){r[An]=i,r[Hr]=t,sd(e,r,n,1,i,a)}(i,e[Hr],h,t,g,c)}const a=t[vi];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function Ac(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const a=t[n.index];null!==a&&r.push(Gt(a)),ei(a)&&hv(a,r);const c=n.type;if(8&c)Ac(e,t,n.child,r);else if(32&c){const h=yf(n,t);let g;for(;g=h();)r.push(g)}else if(16&c){const h=zy(t,n);if(Array.isArray(h))r.push(...h);else{const g=Fs(t[Nn]);Ac(g[Me],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}function hv(e,t){for(let n=qn;n<e.length;n++){const r=e[n],i=r[Me].firstChild;null!==i&&Ac(r[Me],r,i,t)}e[is]!==e[An]&&t.push(e[is])}let fv=[];const nS={...q,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{bu(e.lView)},consumerOnSignalRead(){this.lView[Co]=this}},iS={...q,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Fs(e.lView);for(;t&&!pv(t[Me]);)t=Fs(t);t&&Ug(t)},consumerOnSignalRead(){this.lView[Co]=this}};function pv(e){return 2!==e.type}const oS=100;function ud(e,t=!0,n=0){const r=e[rs],i=r.rendererFactory;i.begin?.();try{!function sS(e,t){const n=Kg();try{Qg(!0),Uf(e,t);let r=0;for(;Mu(e);){if(r===oS)throw new Te(103,!1);r++,Uf(e,1)}}finally{Qg(n)}}(e,n)}catch(c){throw t&&cd(e,c),c}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function aS(e,t,n,r){const i=t[Je];if(!(256&~i))return;t[rs].inlineEffectRunner?.flush(),Sh(t);let h=!0,g=null,C=null;pv(e)?(C=function Jb(e){return e[Co]??function eS(e){const t=fv.pop()??Object.create(nS);return t.lView=e,t}(e)}(t),g=Ae(C)):null===function ie(){return O}()?(h=!1,C=function rS(e){const t=e[Co]??Object.create(iS);return t.lView=e,t}(t),g=Ae(C)):t[Co]&&(mt(t[Co]),t[Co]=null);try{Vg(t),function Xg(e){return ut.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Jy(e,t,n,2,r);const D=!(3&~i);if(D){const $=e.preOrderCheckHooks;null!==$&&Pu(t,$,null)}else{const $=e.preOrderHooks;null!==$&&Au(t,$,0,null),Ih(t,0)}if(function lS(e){for(let t=Hm(e);null!==t;t=zm(t)){if(!(t[Je]&Eu.HasTransplantedViews))continue;const n=t[tl];for(let r=0;r<n.length;r++)Ug(n[r])}}(t),mv(t,0),null!==e.contentQueries&&av(e,t),D){const $=e.contentCheckHooks;null!==$&&Pu(t,$)}else{const $=e.contentHooks;null!==$&&Au(t,$,1),Ih(t,1)}!function Sb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Da(~i);else{const a=i,c=n[++r],h=n[++r];iM(c,a),h(2,t[a])}}}finally{Da(-1)}}(e,t);const A=e.components;null!==A&&vv(t,A,0);const k=e.viewQuery;if(null!==k&&Ff(2,k,r),D){const $=e.viewCheckHooks;null!==$&&Pu(t,$)}else{const $=e.viewHooks;null!==$&&Au(t,$,2),Ih(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Cu]){for(const $ of t[Cu])$();t[Cu]=null}t[Je]&=-73}catch(D){throw bu(t),D}finally{null!==C&&(Ue(C,g),h&&function tS(e){e.lView[Co]!==e&&(e.lView=null,fv.push(e))}(C)),Th()}}function mv(e,t){for(let n=Hm(e);null!==n;n=zm(n))for(let r=qn;r<n.length;r++)yv(n[r],t)}function cS(e,t,n){yv(eo(t,e),n)}function yv(e,t){yh(e)&&Uf(e,t)}function Uf(e,t){const r=e[Me],i=e[Je],a=e[Co];let c=!!(0===t&&16&i);if(c||=!!(64&i&&0===t),c||=!!(1024&i),c||=!(!a?.dirty||!Qe(a)),c||=!1,a&&(a.dirty=!1),e[Je]&=-9217,c)aS(r,e,r.template,e[_n]);else if(8192&i){mv(e,1);const h=r.components;null!==h&&vv(e,h,1)}}function vv(e,t,n){for(let r=0;r<t.length;r++)cS(e,t[r],n)}function Nc(e,t){const n=Kg()?64:1088;for(e[rs].changeDetectionScheduler?.notify(t);e;){e[Je]|=n;const r=Fs(e);if(ac(e)&&!r)return e;e=r}return null}class xc{get rootNodes(){const t=this._lView,n=t[Me];return Ac(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[_n]}set context(t){this._lView[_n]=t}get destroyed(){return!(256&~this._lView[Je])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[cr];if(ei(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ic(t,r),ts(n,r))}this._attachedToViewContainer=!1}id(this._lView[Me],this._lView)}onDestroy(t){Su(this._lView,t)}markForCheck(){Nc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Je]&=-129}reattach(){vh(this._lView),this._lView[Je]|=128}detectChanges(){this._lView[Je]|=1024,ud(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Te(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ac(this._lView),n=this._lView[_a];null!==n&&!t&&Cf(n,this._lView),Fy(this._lView[Me],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Te(902,!1);this._appRef=t;const n=ac(this._lView),r=this._lView[_a];null!==r&&!n&&ky(r,this._lView),vh(this._lView)}}let Rc=(()=>{class e{static{this.__NG_ELEMENT_ID__=hS}}return e})();const uS=Rc,dS=class extends uS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=pl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new xc(i)}};function hS(){return dd(nn(),ae())}function dd(e,t){return 4&e.type?new dS(t,e,ol(e,t)):null}let Uv=()=>null;function xa(e,t){return Uv(e,t)}class yl{}const $c=new tt("",{providedIn:"root",factory:()=>!1}),jv=new tt(""),Xf=new tt("");class iT{}class Bv{}class sT{resolveComponentFactory(t){throw function oT(e){const t=Error(`No component factory found for ${In(e)}.`);return t.ngComponent=e,t}(t)}}class Hc{static{this.NULL=new sT}}class Zf{}let aT=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function lT(){const e=ae(),n=eo(nn().index,e);return(Er(n)?n:e)[ct]}()}}return e})(),cT=(()=>{class e{static{this.\u0275prov=jt({token:e,providedIn:"root",factory:()=>null})}}return e})();function ea(e){return!!qt(e)}function vd(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(let c=0;c<t.length;c++){const h=t[c];"number"==typeof h?a=h:1==a?i=go(i,h):2==a&&(r=go(r,h+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Gv extends Hc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ye(t);return new Wc(n,this.ngModule)}}function Wv(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const a=Array.isArray(i),c=a?i[0]:i;n.push(t?{propName:c,templateName:r,isSignal:!!((a?i[1]:Ji.None)&Ji.SignalBased)}:{propName:c,templateName:r})}return n}class Wc extends Bv{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Wv(t.inputs,!0);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Wv(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ge(e){return e.map(Q).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const a=K(null);try{let c=(i=i||this.ngModule)instanceof Jr?i:i?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const h=c?new Ma(t,c):t,g=h.get(Zf,null);if(null===g)throw new Te(407,!1);const A={rendererFactory:g,sanitizer:h.get(cT,null),inlineEffectRunner:null,changeDetectionScheduler:h.get(yl,null)},k=g.createRenderer(null,this.componentDef),$=this.componentDef.selectors[0][0]||"div",X=r?function Ib(e,t,n,r){const a=r.get(ly,!1)||n===Fo.ShadowDom,c=e.selectRootElement(t,a);return function Ob(e){tv(e)}(c),c}(k,r,this.componentDef.encapsulation,h):rd(k,$,function hT(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}($));let de=512;this.componentDef.signals?de|=4096:this.componentDef.onPush||(de|=16);let be=null;null!==X&&(be=ef(X,h,!0));const Oe=Af(0,null,null,1,0,null,null,null,null,null,null),he=ad(null,Oe,null,de,null,null,A,k,h,null,be);Sh(he);let gt,Rt,cn=null;try{const Zn=this.componentDef;let Li,Bl=null;Zn.findHostDirectiveDefs?(Li=[],Bl=new Map,Zn.findHostDirectiveDefs(Zn,Li,Bl),Li.push(Zn)):Li=[Zn];const DD=function pT(e,t){const n=e[Me],r=He;return e[r]=t,Pa(n,r,2,"#host",null)}(he,X);cn=function gT(e,t,n,r,i,a,c){const h=i[Me];!function mT(e,t,n,r){for(const i of e)t.mergedAttrs=Xs(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(vd(t,t.mergedAttrs,!0),null!==n&&Ky(r,n,t))}(r,e,t,c);let g=null;null!==t&&(g=ef(t,i[ur]));const C=a.rendererFactory.createRenderer(t,n);let D=16;n.signals?D=4096:n.onPush&&(D=64);const A=ad(i,ev(n),null,D,i[e.index],e,a,C,null,null,g);return h.firstCreatePass&&xf(h,e,r.length-1),ld(i,A),i[e.index]=A}(DD,X,Zn,Li,he,A,k),Rt=cc(Oe,He),X&&function vT(e,t,n,r){if(r)Os(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:a}=function Ee(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!s(i))break;i=a}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Os(e,n,i),a&&a.length>0&&qy(e,n,a.join(" "))}}(k,Zn,X,r),void 0!==n&&function _T(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const a=n[i];r.push(null!=a?Array.from(a):null)}}(Rt,this.ngContentSelectors,n),gt=function yT(e,t,n,r,i,a){const c=nn(),h=i[Me],g=_i(c,i);iv(h,i,c,n,null,r);for(let D=0;D<n.length;D++)ti(ba(i,h,c.directiveStart+D,c),i);ov(h,i,c),g&&ti(g,i);const C=ba(i,h,c.directiveStart+c.componentOffset,c);if(e[_n]=i[_n]=C,null!==a)for(const D of a)D(C,t);return If(h,c,i),C}(cn,Zn,Li,Bl,he,[CT]),Lf(Oe,he,null)}catch(Zn){throw null!==cn&&Gh(cn),Gh(he),Zn}finally{Th()}return new fT(this.componentType,gt,ol(Rt,he),he,Rt)}finally{K(a)}}}class fT extends iT{constructor(t,n,r,i,a){super(),this.location=r,this._rootLView=i,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new xc(i,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;kf(a[Me],a,i,t,n),this.previousInputValues.set(t,n),Nc(eo(this._tNode.index,a),1)}}get injector(){return new Dr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function CT(){const e=nn();Ou(ae()[Me],e)}let _d=(()=>{class e{static{this.__NG_ELEMENT_ID__=wT}}return e})();function wT(){return Qv(nn(),ae())}const ET=_d,qv=class extends ET{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ol(this._hostTNode,this._hostLView)}get injector(){return new Dr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ru(this._hostTNode,this._hostLView);if(Ah(t)){const n=pc(t,this._hostLView),r=fc(t);return new Dr(n[Me].data[r+8],n)}return new Dr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Kv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-qn}createEmbeddedView(t,n,r){let i,a;"number"==typeof r?i=r:null!=r&&(i=r.index,a=r.injector);const c=xa(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},a,c);return this.insertImpl(h,i,Aa(this._hostTNode,c)),h}createComponent(t,n,r,i,a){const c=t&&!function ic(e){return"function"==typeof e}(t);let h;if(c)h=n;else{const X=n||{};h=X.index,r=X.injector,i=X.projectableNodes,a=X.environmentInjector||X.ngModuleRef}const g=c?t:new Wc(Ye(t)),C=r||this.parentInjector;if(!a&&null==g.ngModule){const de=(c?C:this.parentInjector).get(Jr,null);de&&(a=de)}const D=Ye(g.componentType??{}),A=xa(this._lContainer,D?.id??null),$=g.create(C,i,A?.firstChild??null,a);return this.insertImpl($.hostView,h,Aa(this._hostTNode,A)),$}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function KD(e){return ei(e[cr])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const g=i[cr],C=new qv(g,g[Hr],g[cr]);C.detach(C.indexOf(t))}}const a=this._adjustIndex(n),c=this._lContainer;return gl(c,i,a,r),t.attachToViewContainerRef(),Ts(ep(c),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Kv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ic(this._lContainer,n);r&&(ts(ep(this._lContainer),n),id(r[Me],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ic(this._lContainer,n);return r&&null!=ts(ep(this._lContainer),n)?new xc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Kv(e){return e[8]}function ep(e){return e[8]||(e[8]=[])}function Qv(e,t){let n;const r=t[e.index];return ei(r)?n=r:(n=sv(r,t,null,e),t[e.index]=n,ld(t,n)),Xv(n,t,e,r),new qv(n,e,t)}let Xv=function Yv(e,t,n,r){if(e[is])return;let i;i=8&n.type?Gt(r):function DT(e,t){const n=e[ct],r=n.createComment(""),i=_i(t,e);return Ia(n,Df(n,i),r,function wb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[is]=i},tp=()=>!1;class np{constructor(t){this.queryList=t,this.matches=null}clone(){return new np(this.queryList)}setDirty(){this.queryList.setDirty()}}class rp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let a=0;a<r;a++){const c=n.getByIndex(a);i.push(this.queries[c.indexInDeclarationView].clone())}return new rp(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==lp(t,n).matches&&this.queries[n].setDirty()}}class Jv{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function AT(e){return e.split(",").map(t=>t.trim())}(t):t}}class ip{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,i);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new ip(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class op{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new op(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const a=r[i];this.matchTNodeWithReadOption(t,n,TT(n,a)),this.matchTNodeWithReadOption(t,n,Fu(n,t,a,!1,!1))}else r===Rc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===mc||i===_d||i===Rc&&4&n.type)this.addMatch(n.index,-2);else{const a=Fu(n,t,i,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function TT(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function OT(e,t,n,r){return-1===n?function IT(e,t){return 11&e.type?ol(e,t):4&e.type?dd(e,t):null}(t,e):-2===n?function PT(e,t,n){return n===mc?ol(t,e):n===Rc?dd(t,e):n===_d?Qv(t,e):void 0}(e,t,r):ba(e,e[Me],n,t)}function e_(e,t,n,r){const i=t[Rs].queries[r];if(null===i.matches){const a=e.data,c=n.matches,h=[];for(let g=0;null!==c&&g<c.length;g+=2){const C=c[g];h.push(C<0?null:OT(t,a[C],c[g+1],n.metadata.read))}i.matches=h}return i.matches}function sp(e,t,n,r){const i=e.queries.getByIndex(n),a=i.matches;if(null!==a){const c=e_(e,t,i,n);for(let h=0;h<a.length;h+=2){const g=a[h];if(g>0)r.push(c[h/2]);else{const C=a[h+1],D=t[-g];for(let A=qn;A<D.length;A++){const k=D[A];k[_a]===k[cr]&&sp(k[Me],k,C,r)}if(null!==D[tl]){const A=D[tl];for(let k=0;k<A.length;k++){const $=A[k];sp($[Me],$,C,r)}}}}}return r}function t_(e,t,n){const r=new $h(!(4&~n));return function Nb(e,t,n,r){const i=lv(t);i.push(n),e.firstCreatePass&&cv(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[Rs]??=new rp).queries.push(new np(r))-1}function i_(e,t,n){null===e.queries&&(e.queries=new ip),e.queries.track(new op(t,n))}function lp(e,t){return e.queries.getByIndex(t)}function o_(e,t){const n=e[Me],r=lp(n,t);return r.crossesNgTemplate?sp(n,e,t,[]):e_(n,e,r,t)}const s_=new Set;function wi(e){s_.has(e)||(s_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function l_(e,t){wi("NgSignals");const n=function Xe(e){const t=Object.create(kn);t.value=e;const n=()=>(z(t),t.value);return n[H]=t,n}(e),r=n[H];return t?.equal&&(r.equal=t.equal),n.set=i=>un(r,i),n.update=i=>function dn(e,t){Pe()||et(),un(e,t(e.value))}(r,i),n.asReadonly=c_.bind(n),n}function c_(){const e=this[H];if(void 0===e.readonlyFn){const t=()=>this();t[H]=e,e.readonlyFn=t}return e.readonlyFn}function u_(e){return function a_(e){return"function"==typeof e&&void 0!==e[H]}(e)&&"function"==typeof e.set}function up(e){let t=function w_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Uo(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Te(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const c=e;c.inputs=wd(e.inputs),c.inputTransforms=wd(e.inputTransforms),c.declaredInputs=wd(e.declaredInputs),c.outputs=wd(e.outputs);const h=i.hostBindings;h&&WT(e,h);const g=i.viewQuery,C=i.contentQueries;if(g&&zT(e,g),C&>(e,C),$T(e,i),sa(e.outputs,i.outputs),Uo(i)&&i.data.animation){const D=e.data;D.animation=(D.animation||[]).concat(i.data.animation)}}const a=i.features;if(a)for(let c=0;c<a.length;c++){const h=a[c];h&&h.ngInherit&&h(e),h===up&&(n=!1)}}t=Object.getPrototypeOf(t)}!function HT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Xs(i.hostAttrs,n=Xs(n,i.hostAttrs))}}(r)}function $T(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function wd(e){return e===Yi?{}:e===Vt?[]:e}function zT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function GT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,a)=>{t(r,i,a),n(r,i,a)}:t}function WT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function b_(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class Ra{}class S_{}function YT(e,t){return new dp(e,t??null,[])}class dp extends Ra{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Gv(this);const a=qt(t);this._bootstrapComponents=to(a.bootstrap),this._r3Injector=Mm(t,n,[{provide:Ra,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver},...r],In(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class hp extends S_{constructor(t){super(),this.moduleType=t}create(t){return new dp(this.moduleType,t,[])}}class T_ extends Ra{constructor(t){super(),this.componentFactoryResolver=new Gv(this),this.instance=null;const n=new Ka([...t.providers,{provide:Ra,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver}],t.parent||xs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function fp(e,t,n=null){return new T_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Ed(e){return!!pp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function us(e,t,n){return e[t]=n}function Kn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Fa(e,t,n,r){const i=Kn(e,t,n);return Kn(e,t+1,r)||i}function Qc(e,t,n,r,i,a,c,h,g,C){const D=n+He,A=t.firstCreatePass?function iI(e,t,n,r,i,a,c,h,g){const C=t.consts,D=Pa(t,e,4,c||null,h||null);Nf(t,n,D,wo(C,g)),Ou(t,D);const A=D.tView=Af(2,D,r,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,D),A.queries=t.queries.embeddedTView(D)),D}(D,t,e,r,i,a,c,h,g):t.data[D];jo(A,!1);const k=I_(t,e,A,n);dc()&&od(t,e,k,A),ti(k,e);const $=sv(k,e,k,A);return e[D]=$,ld(e,$),function Zv(e,t,n){return tp(e,t,n)}($,A,e),Du(A)&&Of(t,e,A),null!=g&&Pf(e,A,C),A}function gp(e,t,n,r,i,a,c,h){const g=ae(),C=bt();return Qc(g,C,e,t,n,r,i,wo(C.consts,a),c,h),gp}let I_=function O_(e,t,n,r){return ss(!0),t[ct].createComment("")};var wl=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(wl||{});let F_=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=jt({token:e,providedIn:"root",factory:()=>new e})}}return e})();class Yc{constructor(){this.ngZone=ve(xn),this.scheduler=ve(yl),this.errorHandler=ve(Vs,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[wl.EarlyRead,wl.Write,wl.MixedReadWrite,wl.Read]}execute(){this.executing=!0;for(const t of Yc.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=jt({token:Yc,providedIn:"root",factory:()=>new Yc})}}class lI{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function Td(e,t){!t?.injector&&function lh(e){if(!Mg())throw new Te(-203,!1)}();const n=t?.injector??ve(Gr);return function no(e){return"browser"===(e??ve(Gr)).get(Hu)}(n)?(wi("NgAfterNextRender"),function k_(e,t,n,r){const i=t.get(F_);i.impl??=t.get(Yc);const c=new lI(i.impl,function uI(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,n?.phase??wl.MixedReadWrite),r,t.get(gc));return i.impl.register(c),c}(e,n,t,!0)):L_}const L_={destroy(){}};function Sp(e,t,n,r){const i=ae();return Kn(i,Bo(),t)&&(bt(),cs(Cn(),i,e,t,n,r)),Sp}function Il(e,t,n,r){return Kn(e,Bo(),n)?t+nt(n)+r:vt}function Pd(e,t){return e<<17|t<<2}function ra(e){return e>>17&32767}function Tp(e){return 2|e}function La(e){return(131068&e)>>2}function Ip(e,t){return-131069&e|t<<2}function Op(e){return 1|e}function cC(e,t,n,r){const i=e[n+1],a=null===t;let c=r?ra(i):La(i),h=!1;for(;0!==c&&(!1===h||a);){const C=e[c+1];WI(e[c],t)&&(h=!0,e[c+1]=r?Op(C):Tp(C)),c=r?ra(C):La(C)}h&&(e[n+1]=r?Tp(i):Op(i))}function WI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Is(e,t)>=0}const Mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function uC(e){return e.substring(Mr.key,Mr.keyEnd)}function dC(e,t){const n=Mr.textEnd;return n===t?-1:(t=Mr.keyEnd=function XI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Mr.key=t,n),kl(e,t,n))}function kl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pp(e,t,n){const r=ae();return Kn(r,Bo(),t)&&Fi(bt(),Cn(),r,e,t,r[ct],n,!1),Pp}function Ap(e,t,n,r,i){const c=i?"class":"style";kf(e,n,t.inputs[c],c,r)}function Np(e,t){return function $o(e,t,n,r){const i=ae(),a=bt(),c=Ls(2);a.firstUpdatePass&&_C(a,e,c,r),t!==vt&&Kn(i,c,t)&&wC(a,a.data[zr()],i,i[ct],e,i[c+1]=function aO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=In(Js(e)))),e}(t,n),r,c)}(e,t,null,!0),Np}function yC(e){Ho(oO,hs,e,!0)}function hs(e,t){for(let n=function KI(e){return function fC(e){Mr.key=0,Mr.keyEnd=0,Mr.value=0,Mr.valueEnd=0,Mr.textEnd=e.length}(e),dC(e,kl(e,0,Mr.textEnd))}(t);n>=0;n=dC(t,n))Br(e,uC(t),!0)}function Ho(e,t,n,r){const i=bt(),a=Ls(2);i.firstUpdatePass&&_C(i,null,a,r);const c=ae();if(n!==vt&&Kn(c,a,n)){const h=i.data[zr()];if(DC(h,r)&&!vC(i,a)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=go(g,n||"")),Ap(i,h,c,n,r)}else!function sO(e,t,n,r,i,a,c,h){i===vt&&(i=Vt);let g=0,C=0,D=0<i.length?i[0]:null,A=0<a.length?a[0]:null;for(;null!==D||null!==A;){const k=g<i.length?i[g+1]:void 0,$=C<a.length?a[C+1]:void 0;let de,X=null;D===A?(g+=2,C+=2,k!==$&&(X=A,de=$)):null===A||null!==D&&D<A?(g+=2,X=D):(C+=2,X=A,de=$),null!==X&&wC(e,t,n,r,X,de,c,h),D=g<i.length?i[g]:null,A=C<a.length?a[C]:null}}(i,h,c,c[ct],c[a+1],c[a+1]=function iO(e,t,n){if(null==n||""===n)return Vt;const r=[],i=Js(n);if(Array.isArray(i))for(let a=0;a<i.length;a++)e(r,i[a],!0);else if("object"==typeof i)for(const a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,a)}}function vC(e,t){return t>=e.expandoStartIndex}function _C(e,t,n,r){const i=e.data;if(null===i[n+1]){const a=i[zr()],c=vC(e,n);DC(a,r)&&null===t&&!c&&(t=!1),t=function eO(e,t,n,r){const i=function Mh(e){const t=ut.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=eu(n=xp(null,e,t,n,r),t.attrs,r),a=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=xp(i,e,t,n,r),null===a){let g=function tO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==La(r))return e[ra(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=xp(null,e,t,g[1],r),g=eu(g,t.attrs,r),function nO(e,t,n,r){e[ra(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else a=function rO(e,t,n){let r;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++)r=eu(r,e[a].hostAttrs,n);return eu(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(i,a,t,r),function zI(e,t,n,r,i,a){let c=a?t.classBindings:t.styleBindings,h=ra(c),g=La(c);e[r]=n;let D,C=!1;if(Array.isArray(n)?(D=n[1],(null===D||Is(n,D)>0)&&(C=!0)):D=n,i)if(0!==g){const k=ra(e[h+1]);e[r+1]=Pd(k,h),0!==k&&(e[k+1]=Ip(e[k+1],r)),e[h+1]=function $I(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Pd(h,0),0!==h&&(e[h+1]=Ip(e[h+1],r)),h=r;else e[r+1]=Pd(g,0),0===h?h=r:e[g+1]=Ip(e[g+1],r),g=r;C&&(e[r+1]=Tp(e[r+1])),cC(e,D,r,!0),cC(e,D,r,!1),function GI(e,t,n,r,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Is(a,t)>=0&&(n[r+1]=Op(n[r+1]))}(t,D,e,r,a),c=Pd(h,g),a?t.classBindings=c:t.styleBindings=c}(i,a,t,n,c,r)}}function xp(e,t,n,r,i){let a=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<c&&(a=t[h],r=eu(r,a.hostAttrs,i),a!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function eu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?i=c:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Br(e,c,!!n||t[++a]))}return void 0===e?null:e}function oO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Br(e,r,n)}function wC(e,t,n,r,i,a,c,h){if(!(3&t.type))return;const g=e.data,C=g[h+1],D=function HI(e){return!(1&~e)}(C)?EC(g,t,n,i,La(C),c):void 0;Ad(D)||(Ad(a)||function BI(e){return!(2&~e)}(C)&&(a=EC(g,null,n,i,h,c)),function Mb(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:nd.DashCase;null==i?e.removeStyle(n,r,a):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),a|=nd.Important),e.setStyle(n,r,i,a))}}(r,c,lc(zr(),n),i,a))}function EC(e,t,n,r,i,a){const c=null===t;let h;for(;i>0;){const g=e[i],C=Array.isArray(g),D=C?g[1]:g,A=null===D;let k=n[i+1];k===vt&&(k=A?Vt:void 0);let $=A?za(k,r):D===r?k:void 0;if(C&&!Ad($)&&($=za(g,r)),Ad($)&&(h=$,c))return h;const X=e[i+1];i=c?ra(X):La(X)}if(null!==t){let g=a?t.residualClasses:t.residualStyles;null!=g&&(h=za(g,r))}return h}function Ad(e){return void 0!==e}function DC(e,t){return!!(e.flags&(t?8:16))}function MC(e,t,n){Ho(Br,hs,Il(ae(),e,t,n),!0)}function xd(e,t,n,r){const i=ae(),a=bt(),c=He+e,h=i[ct],g=a.firstCreatePass?function OO(e,t,n,r,i,a){const c=t.consts,g=Pa(t,e,2,r,wo(c,i));return Nf(t,n,g,wo(c,a)),null!==g.attrs&&vd(g,g.attrs,!1),null!==g.mergedAttrs&&vd(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(c,a,i,t,n,r):a.data[c],C=IC(a,i,g,h,t,e);i[c]=C;const D=Du(g);return jo(g,!0),Ky(h,C,g),!function _l(e){return!(32&~e.flags)}(g)&&dc()&&od(a,i,C,g),0===function QD(){return ut.lFrame.elementDepthCount}()&&ti(C,i),function XD(){ut.lFrame.elementDepthCount++}(),D&&(Of(a,i,g),If(a,g,i)),null!==r&&Pf(i,g),xd}function Rd(){let e=nn();wh()?Eh():(e=e.parent,jo(e,!1));const t=e;(function YD(e){return ut.skipHydrationRootTNode===e})(t)&&function nM(){ut.skipHydrationRootTNode=null}(),function ZD(){ut.lFrame.elementDepthCount--}();const n=bt();return n.firstCreatePass&&(Ou(n,e),dh(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function mM(e){return!!(8&e.flags)}(t)&&Ap(n,t,ae(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function yM(e){return!!(16&e.flags)}(t)&&Ap(n,t,ae(),t.stylesWithoutHost,!1),Rd}function Lp(e,t,n,r){return xd(e,t,n,r),Rd(),Lp}let IC=(e,t,n,r,i,a)=>(ss(!0),rd(r,i,function rm(){return ut.lFrame.currentNamespace}()));function Fd(e,t,n){const r=ae(),i=bt(),a=e+He,c=i.firstCreatePass?function NO(e,t,n,r,i){const a=t.consts,c=wo(a,r),h=Pa(t,e,8,"ng-container",c);return null!==c&&vd(h,c,!0),Nf(t,n,h,wo(a,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(a,i,r,t,n):i.data[a];jo(c,!0);const h=OC(i,r,c,e);return r[a]=h,dc()&&od(i,r,h,c),ti(h,r),Du(c)&&(Of(i,r,c),If(i,c,r)),null!=n&&Pf(r,c),Fd}function kd(){let e=nn();const t=bt();return wh()?Eh():(e=e.parent,jo(e,!1)),t.firstCreatePass&&(Ou(t,e),dh(e)&&t.queries.elementEnd(e)),kd}function Vp(e,t,n){return Fd(e,t,n),kd(),Vp}let OC=(e,t,n,r)=>(ss(!0),_f(t[ct],""));function PC(){return ae()}function Up(e,t,n){const r=ae();return Kn(r,Bo(),t)&&Fi(bt(),Cn(),r,e,t,r[ct],n,!0),Up}const Va=void 0;var kO=["en",[["a","p"],["AM","PM"],Va],[["AM","PM"],Va,Va],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Va,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Va,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Va,"{1} 'at' {0}",Va],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ll={};function jp(e){const t=function LO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xC(t);if(n)return n;const r=t.split("-")[0];if(n=xC(r),n)return n;if("en"===r)return kO;throw new Te(701,!1)}function NC(e){return jp(e)[Vl.PluralCase]}function xC(e){return e in Ll||(Ll[e]=an.ng&&an.ng.common&&an.ng.common.locales&&an.ng.common.locales[e]),Ll[e]}var Vl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Vl||{});const Ld="en-US";let RC=Ld,YC=(e,t,n)=>{};function Hp(e,t,n,r){const i=ae(),a=bt(),c=nn();return zp(a,i,i[ct],c,e,t,r),Hp}function zp(e,t,n,r,i,a,c){const h=Du(r),C=e.firstCreatePass&&cv(e),D=t[_n],A=lv(t);let k=!0;if(3&r.type||c){const de=_i(r,t),be=c?c(de):de,Oe=A.length,he=c?Rt=>c(Gt(Rt[r.index])):r.index;let gt=null;if(!c&&h&&(gt=function bP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let a=0;a<i.length-1;a+=2){const c=i[a];if(c===n&&i[a+1]===r){const h=t[Za],g=i[a+2];return h.length>g?h[g]:null}"string"==typeof c&&(a+=2)}return null}(e,t,i,r.index)),null!==gt)(gt.__ngLastListenerFn__||gt).__ngNextListenerFn__=a,gt.__ngLastListenerFn__=a,k=!1;else{a=nw(r,t,D,a),YC(de,i,a);const Rt=n.listen(be,i,a);A.push(a,Rt),C&&C.push(i,he,Oe,Oe+1)}}else a=nw(r,t,D,a);const $=r.outputs;let X;if(k&&null!==$&&(X=$[i])){const de=X.length;if(de)for(let be=0;be<de;be+=2){const cn=t[X[be]][X[be+1]].subscribe(a),Zn=A.length;A.push(a,cn),C&&C.push(i,r.index,Zn,-(Zn+1))}}}function tw(e,t,n,r){const i=K(null);try{return os(6,t,n),!1!==n(r)}catch(a){return cd(e,a),!1}finally{os(7,t,n),K(i)}}function nw(e,t,n,r){return function i(a){if(a===Function)return r;Nc(e.componentOffset>-1?eo(e.index,t):t,5);let h=tw(t,n,r,a),g=i.__ngNextListenerFn__;for(;g;)h=tw(t,n,g,a)&&h,g=g.__ngNextListenerFn__;return h}}function rw(e=1){return function aM(e){return(ut.lFrame.contextLView=function jg(e,t){for(;e>0;)t=t[Ya],e--;return t}(e,ut.lFrame.contextLView))[_n]}(e)}function SP(e,t){let n=null;const r=function f(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const a=t[i];if("*"!==a){if(null===r?u(e,a,!0):S(r,a))return i}else n=i}return n}function iw(e){const t=ae()[Nn][Hr];if(!t.projection){const r=t.projection=function $n(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let a=t.child;for(;null!==a;){if(128!==a.type){const c=e?SP(a,e):0;null!==c&&(i[c]?i[c].projectionNext=a:r[c]=a,i[c]=a)}a=a.next}}}function ow(e,t=0,n,r,i,a){const c=ae(),h=bt(),g=r?e+1:null;null!==g&&Qc(c,h,g,r,i,a,null,n);const C=Pa(h,He+e,16,null,n||null);null===C.projection&&(C.projection=t),Eh();const A=!c[vi]||Ea();null===c[Nn][Hr].projection[C.projection]&&null!==g?function TP(e,t,n){const r=He+n,i=t.data[r],a=e[r],c=xa(a,i.tView.ssrId);gl(a,pl(e,i,void 0,{dehydratedView:c}),0,Aa(i,c))}(c,h,g):A&&32&~C.flags&&function Eb(e,t,n){Wy(t[ct],0,t,n,Ef(e,n,t),jy(n.parent||t[Hr],n,t))}(h,c,C)}function Gp(e,t,n){return Bd(e,"",t,"",n),Gp}function Bd(e,t,n,r,i){const a=ae(),c=Il(a,t,n,r);return c!==vt&&Fi(bt(),Cn(),a,e,c,a[ct],i,!1),Bd}function pw(e,t,n,r){!function r_(e,t,n,r){const i=bt();if(i.firstCreatePass){const a=nn();i_(i,new Jv(t,n,r),a.index),function NT(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return t_(i,ae(),n)}(e,t,n,r)}function gw(e,t,n){!function n_(e,t,n){const r=bt();return r.firstCreatePass&&(i_(r,new Jv(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),t_(r,ae(),t)}(e,t,n)}function mw(e){const t=ae(),n=bt(),r=bh();Iu(r+1);const i=lp(n,r);if(e.dirty&&function qD(e){return!(4&~e[Je])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const a=o_(t,r);e.reset(a,xm),e.notifyOnChanges()}return!0}return!1}function yw(){return function ap(e,t){return e[Rs].queries[t].queryList}(ae(),bh())}function vw(e){return function wa(e,t){return e[t]}(function Wg(){return ut.lFrame.contextLView}(),He+e)}function Iw(e,t=""){const n=ae(),r=bt(),i=e+He,a=r.firstCreatePass?Pa(r,i,1,t,null):r.data[i],c=Ow(r,n,a,t,e);n[i]=c,dc()&&od(r,n,c,a),jo(a,!1)}let Ow=(e,t,n,r,i)=>(ss(!0),function vf(e,t){return e.createText(t)}(t[ct],r));function qp(e){return $d("",e,""),qp}function $d(e,t,n){const r=ae(),i=Il(r,e,t,n);return i!==vt&&function js(e,t,n){const r=lc(t,e);!function Ry(e,t,n){e.setValue(t,n)}(e[ct],r,n)}(r,zr(),i),$d}function Kp(e,t,n){u_(t)&&(t=t());const r=ae();return Kn(r,Bo(),t)&&Fi(bt(),Cn(),r,e,t,r[ct],n,!1),Kp}function Vw(e,t){const n=u_(e);return n&&e.set(t),n}function Qp(e,t){const n=ae(),r=bt(),i=nn();return zp(r,n,n[ct],i,e,t),Qp}function Xp(e,t,n,r,i){if(e=qe(e),Array.isArray(e))for(let a=0;a<e.length;a++)Xp(e[a],t,n,r,i);else{const a=bt(),c=ae(),h=nn();let g=Zt(e)?e:qe(e.provide);const C=Dg(e),D=1048575&h.providerIndexes,A=h.directiveStart,k=h.providerIndexes>>20;if(Zt(e)||!e.multi){const $=new hc(C,i,fl),X=Yp(g,t,i?D:D+k,A);-1===X?(Rh(xu(h,c),a,g),Zp(a,e,t.length),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push($),c.push($)):(n[X]=$,c[X]=$)}else{const $=Yp(g,t,D+k,A),X=Yp(g,t,D,D+k),be=X>=0&&n[X];if(i&&!be||!i&&!($>=0&&n[$])){Rh(xu(h,c),a,g);const Oe=function qP(e,t,n,r,i){const a=new hc(e,n,fl);return a.multi=[],a.index=t,a.componentProviders=0,Bw(a,i,r&&!n),a}(i?WP:GP,n.length,i,r,C);!i&&be&&(n[X].providerFactory=Oe),Zp(a,e,t.length,0),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(Oe),c.push(Oe)}else Zp(a,e,$>-1?$:X,Bw(n[i?X:$],C,!i&&r));!i&&r&&be&&n[X].componentProviders++}}}function Zp(e,t,n,r){const i=Zt(t),a=function vu(e){return!!e.useClass}(t);if(i||a){const g=(a?qe(t.useClass):t).prototype.ngOnDestroy;if(g){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const D=C.indexOf(n);-1===D?C.push(n,[r,g]):C[D+1].push(r,g)}else C.push(n,g)}}}function Bw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function GP(e,t,n,r){return Jp(this.multi,[])}function WP(e,t,n,r){const i=this.multi;let a;if(this.providerFactory){const c=this.providerFactory.componentProviders,h=ba(n,n[Me],this.providerFactory.index,r);a=h.slice(0,c),Jp(i,a);for(let g=c;g<h.length;g++)a.push(h[g])}else a=[],Jp(i,a);return a}function Jp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function $w(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zP(e,t,n){const r=bt();if(r.firstCreatePass){const i=Uo(e);Xp(n,r.data,r.blueprint,i,!0),Xp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let KP=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=qa(0,n.type),i=r.length>0?fp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=jt({token:e,providedIn:"environment",factory:()=>new e(ht(Jr))})}}return e})();function Hw(e){wi("NgStandalone"),e.getStandaloneInjector=t=>t.get(KP).getOrCreateStandaloneInjector(e)}function Ww(e,t,n,r){return function Qw(e,t,n,r,i,a){const c=t+n;return Kn(e,c,i)?us(e,c+1,a?r.call(a,i):r(i)):su(e,c+1)}(ae(),Ci(),e,t,n,r)}function qw(e,t,n,r,i){return function Xw(e,t,n,r,i,a,c){const h=t+n;return Fa(e,h,i,a)?us(e,h+2,c?r.call(c,i,a):r(i,a)):su(e,h+2)}(ae(),Ci(),e,t,n,r,i)}function Kw(e,t,n,r,i,a){return function Zw(e,t,n,r,i,a,c,h){const g=t+n;return function Dd(e,t,n,r,i){const a=Fa(e,t,n,r);return Kn(e,t+2,i)||a}(e,g,i,a,c)?us(e,g+3,h?r.call(h,i,a,c):r(i,a,c)):su(e,g+3)}(ae(),Ci(),e,t,n,r,i,a)}function su(e,t){const n=e[t];return n===vt?void 0:n}function eE(e,t){return dd(e,t)}class mE{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let yE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const EE=new tt(""),DE=new tt("");let og,iN=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,og||(function oN(e){og=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{xn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==a),n()},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static{this.\u0275fac=function(r){return new(r||e)(ht(xn),ht(ME),ht(DE))}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac})}}return e})(),ME=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return og?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function sg(e){return!!e&&"function"==typeof e.then}function bE(e){return!!e&&"function"==typeof e.subscribe}const SE=new tt("");let TE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ve(SE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const a=i();if(sg(a))n.push(a);else if(bE(a)){const c=new Promise((h,g)=>{a.subscribe({complete:h,error:g})});n.push(c)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const qd=new tt("");function OE(e,t){return Array.isArray(t)?t.reduce(OE,e):{...e,...t}}let fs=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ve(GM),this.afterRenderManager=ve(F_),this.zonelessEnabled=ve($c),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Dn.B,this.afterTick=new Dn.B,this.componentTypes=[],this.components=[],this.isStable=ve(Sa).hasPendingTasks.pipe((0,Mn.T)(n=>!n)),this._injector=ve(Jr)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Bv;if(!this._injector.get(TE).done)throw!i&&Cr(n),new Te(405,!1);let c;c=i?n:this._injector.get(Hc).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const h=function sN(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Ra),C=c.create(Gr.NULL,[],r||c.selector,h),D=C.location.nativeElement,A=C.injector.get(EE,null);return A?.registerApplication(D),C.onDestroy(()=>{this.detachView(C.hostView),Kd(this.components,C),A?.unregisterApplication(D)}),this._loadComponent(C),C}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Te(101,!1);const n=K(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,K(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Zf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:a}of this._views)cN(i,a,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Mu(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Kd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(qd,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Kd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Te(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Kd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function cN(e,t,n,r){(n||Mu(e))&&ud(e,t,n&&!r?0:1)}class uN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let dN=(()=>{class e{compileModuleSync(n){return new hp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=to(qt(n).declarations).reduce((c,h)=>{const g=Ye(h);return g&&c.push(new Wc(g)),c},[]);return new uN(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),pN=(()=>{class e{constructor(){this.zone=ve(xn),this.changeDetectionScheduler=ve(yl),this.applicationRef=ve(fs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ag({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new xn({...lg(),scheduleInRootZone:n}),[{provide:xn,useFactory:e},{provide:yi,multi:!0,useFactory:()=>{const r=ve(pN,{optional:!0});return()=>r.initialize()}},{provide:yi,multi:!0,useFactory:()=>{const r=ve(mN);return()=>{r.initialize()}}},!0===t?{provide:jv,useValue:!0}:[],{provide:Xf,useValue:n??Sm}]}function lg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mN=(()=>{class e{constructor(){this.subscription=new Ln.yU,this.initialized=!1,this.zone=ve(xn),this.pendingTasks=ve(Sa)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{xn.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{xn.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),uu=(()=>{class e{constructor(){this.appRef=ve(fs),this.taskService=ve(Sa),this.ngZone=ve(xn),this.zonelessEnabled=ve($c),this.disableScheduling=ve(jv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Ln.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Uu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(ve(Xf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Bh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Im:Tm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Uu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Im(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const ug=new tt("",{providedIn:"root",factory:()=>ve(ug,Ct.Optional|Ct.SkipSelf)||function yN(){return typeof $localize<"u"&&$localize.locale||Ld}()}),vN=new tt("",{providedIn:"root",factory:()=>"USD"}),dg=new tt("");function Xd(e){return!!e.platformInjector}let kE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,c=r?.ignoreChangesOutsideZone,h=[ag({ngZoneFactory:()=>function zM(e="zone.js",t){return"noop"===e?new Bh:"zone.js"===e?new xn(t):e}(r?.ngZone,{...lg({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:c}),{provide:yl,useExisting:uu}],g=function JT(e,t,n){return new dp(e,t,n,!1)}(n.moduleType,this.injector,h);return function FE(e){const t=Xd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(xn);return n.run(()=>{Xd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Vs,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:a=>{r.handleError(a)}})}),Xd(e)){const a=()=>t.destroy(),c=e.platformInjector.get(dg);c.add(a),t.onDestroy(()=>{i.unsubscribe(),c.delete(a)})}else e.moduleRef.onDestroy(()=>{Kd(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function lN(e,t,n){try{const r=n();return sg(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const a=t.get(TE);return a.runInitializers(),a.donePromise.then(()=>{if(function BO(e){"string"==typeof e&&(RC=e.toLowerCase().replace(/_/g,"-"))}(t.get(ug,Ld)||Ld),Xd(e)){const h=t.get(fs);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return function DN(e,t){const n=e.injector.get(fs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Te(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:g,allPlatformModules:this._modules})}bootstrapModule(n,r=[]){const i=OE({},r);return function fN(e,t,n){const r=new hp(n);return Promise.resolve(r)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Te(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(dg,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(ht(Gr))}}static{this.\u0275prov=jt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),ia=null;const LE=new tt("");function VE(e,t,n=[]){const r=`Platform: ${t}`,i=new tt(r);return(a=[])=>{let c=hg();if(!c||c.injector.get(LE,!1)){const h=[...n,...a,{provide:i,useValue:!0}];e?e(h):function MN(e){if(ia&&!ia.get(LE,!1))throw new Te(400,!1);(function IE(){!function Ut(e){Re=e}(()=>{throw new Te(600,!1)})})(),ia=e;const t=e.get(kE);(function jE(e){e.get(Jm,null)?.forEach(n=>n())})(e)}(function UE(e=[],t){return Gr.create({name:t,providers:[{provide:rc,useValue:"platform"},{provide:dg,useValue:new Set([()=>ia=null])},...e]})}(h,r))}return function bN(){const t=hg();if(!t)throw new Te(401,!1);return t}()}}function hg(){return ia?.get(kE)??null}function TN(){return!1}function IN(){}let $E=(()=>{class e{static{this.__NG_ELEMENT_ID__=ON}}return e})();function ON(e){return function PN(e,t,n){if(Ca(e)&&!n){const r=eo(e.index,t);return new xc(r,r)}return 175&e.type?new xc(t[Nn],t):null}(nn(),ae(),!(16&~e))}class WE{constructor(){}supports(t){return Ed(t)}create(t){return new FN(t)}}const RN=(e,t)=>t;class FN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||RN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,a=null;for(;n||r;){const c=!r||n&&n.currentIndex<KE(r,i,a)?n:r,h=KE(c,i,a),g=c.currentIndex;if(c===r)i--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)i++;else{a||(a=[]);const C=h-i,D=g-i;if(C!=D){for(let k=0;k<C;k++){const $=k<a.length?a[k]:a[k]=0,X=$+k;D<=X&&X<C&&(a[k]=$+1)}a[c.previousIndex]=D-C}}h!==g&&t(c,h,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ed(t))throw new Te(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,a,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)a=t[h],c=this._trackByFn(h,a),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,a,c,h)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,c,h),r=!0),n=n._next}else i=0,function nI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{c=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,h,c,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,i)):t=this._addAfter(new kN(n,r),a,i),t}_verifyReinsertion(t,n,r,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new qE),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new qE),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class kN{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class LN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class qE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new LN,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function KE(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class QE{constructor(){}supports(t){return t instanceof Map||pp(t)}create(){return new VN}}class VN{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||pp(t)))throw new Te(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const a=i._prev,c=i._next;return a&&(a._next=c),c&&(c._prev=a),i._next=null,i._prev=null,i}const r=new UN(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class UN{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function XE(){return new yg([new WE])}let yg=(()=>{class e{static{this.\u0275prov=jt({token:e,providedIn:"root",factory:XE})}constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||XE()),deps:[[e,new Xr,new Qr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Te(901,!1)}}return e})();function ZE(){return new vg([new QE])}let vg=(()=>{class e{static{this.\u0275prov=jt({token:e,providedIn:"root",factory:ZE})}constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ZE()),deps:[[e,new Xr,new Qr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Te(901,!1)}}return e})();const $N=VE(null,"core",[]);let HN=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(ht(fs))}}static{this.\u0275mod=$e({type:e})}static{this.\u0275inj=Xi({})}}return e})();const fD=new tt("");function Cx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Ex(e,t){wi("NgSignals");const n=function ye(e){const t=Object.create(ce);t.computation=e;const n=()=>{if(Ie(t),z(t),t.value===Y)throw t.error;return t.value};return n[H]=t,n}(e);return t?.equal&&(n[H].equal=t.equal),n}function Dx(e){const t=K(null);try{return e()}finally{K(t)}}function Ox(e){const t=Ye(e);if(!t)return null;const n=new Wc(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(le,G,N)=>{"use strict";N.d(G,{BC:()=>Vn,YN:()=>Pr,Zm:()=>z,kq:()=>oe,me:()=>Pe,vS:()=>so});var d=N(3953),O=N(177),F=N(6648),U=N(7468),H=N(1413),K=N(6354);let ie=(()=>{class w{constructor(y,I){this._renderer=y,this._elementRef=I,this.onChange=B=>{},this.onTouched=()=>{}}setProperty(y,I){this._renderer.setProperty(this._elementRef.nativeElement,y,I)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}static{this.\u0275fac=function(I){return new(I||w)(d.rXU(d.sFG),d.rXU(d.aKT))}}static{this.\u0275dir=d.FsC({type:w})}}return w})(),J=(()=>{class w extends ie{static{this.\u0275fac=(()=>{let y;return function(B){return(y||(y=d.xGo(w)))(B||w)}})()}static{this.\u0275dir=d.FsC({type:w,features:[d.Vt3]})}}return w})();const oe=new d.nKC(""),q={provide:oe,useExisting:(0,d.Rfq)(()=>z),multi:!0};let z=(()=>{class w extends J{writeValue(y){this.setProperty("checked",y)}static{this.\u0275fac=(()=>{let y;return function(B){return(y||(y=d.xGo(w)))(B||w)}})()}static{this.\u0275dir=d.FsC({type:w,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(I,B){1&I&&d.bIt("change",function(pt){return B.onChange(pt.target.checked)})("blur",function(){return B.onTouched()})},features:[d.Jv_([q]),d.Vt3]})}}return w})();const _e={provide:oe,useExisting:(0,d.Rfq)(()=>Pe),multi:!0},Se=new d.nKC("");let Pe=(()=>{class w extends ie{constructor(y,I,B){super(y,I),this._compositionMode=B,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ie(){const w=(0,O.QT)()?(0,O.QT)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}static{this.\u0275fac=function(I){return new(I||w)(d.rXU(d.sFG),d.rXU(d.aKT),d.rXU(Se,8))}}static{this.\u0275dir=d.FsC({type:w,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(I,B){1&I&&d.bIt("input",function(pt){return B._handleInput(pt.target.value)})("blur",function(){return B.onTouched()})("compositionstart",function(){return B._compositionStart()})("compositionend",function(pt){return B._compositionEnd(pt.target.value)})},features:[d.Jv_([_e]),d.Vt3]})}}return w})();const Ue=new d.nKC(""),Qe=new d.nKC("");function ce(w){return null!=w}function me(w){return(0,d.jNT)(w)?(0,F.H)(w):w}function Re(w){let E={};return w.forEach(y=>{E=null!=y?{...E,...y}:E}),0===Object.keys(E).length?null:E}function et(w,E){return E.map(y=>y(w))}function pn(w){return w.map(E=>function Ut(w){return!w.validate}(E)?E:y=>E.validate(y))}function Rn(w){return null!=w?function Xe(w){if(!w)return null;const E=w.filter(ce);return 0==E.length?null:function(y){return Re(et(y,E))}}(pn(w)):null}function un(w){return null!=w?function Nr(w){if(!w)return null;const E=w.filter(ce);return 0==E.length?null:function(y){const I=et(y,E).map(me);return(0,U.p)(I).pipe((0,K.T)(Re))}}(pn(w)):null}function dn(w,E){return null===w?[E]:Array.isArray(w)?[...w,E]:[w,E]}function xr(w){return w?Array.isArray(w)?w:[w]:[]}function Rr(w,E){return Array.isArray(w)?w.includes(E):w===E}function Fr(w,E){const y=xr(E);return xr(w).forEach(B=>{Rr(y,B)||y.push(B)}),y}function Fn(w,E){return xr(E).filter(y=>!Rr(w,y))}class Vi{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(E){this._rawValidators=E||[],this._composedValidatorFn=Rn(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=un(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E=void 0){this.control&&this.control.reset(E)}hasError(E,y){return!!this.control&&this.control.hasError(E,y)}getError(E,y){return this.control?this.control.getError(E,y):null}}class Yt extends Vi{get formDirective(){return null}get path(){return null}}class Dn extends Vi{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ln{constructor(E){this._cd=E}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Vn=(()=>{class w extends Ln{constructor(y){super(y)}static{this.\u0275fac=function(I){return new(I||w)(d.rXU(Dn,2))}}static{this.\u0275dir=d.FsC({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,B){2&I&&d.AVh("ng-untouched",B.isUntouched)("ng-touched",B.isTouched)("ng-pristine",B.isPristine)("ng-dirty",B.isDirty)("ng-valid",B.isValid)("ng-invalid",B.isInvalid)("ng-pending",B.isPending)},features:[d.Vt3]})}}return w})();const Yn="VALID",Sr="INVALID",mr="PENDING",Jn="DISABLED";class hn{}class Un extends hn{constructor(E,y){super(),this.value=E,this.source=y}}class re extends hn{constructor(E,y){super(),this.pristine=E,this.source=y}}class ee extends hn{constructor(E,y){super(),this.touched=E,this.source=y}}class R extends hn{constructor(E,y){super(),this.status=E,this.source=y}}function Et(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}class bi{constructor(E,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,d.EWP)(()=>this.statusReactive()),this.statusReactive=(0,d.vPA)(void 0),this._pristine=(0,d.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,d.vPA)(!0),this._touched=(0,d.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,d.vPA)(!1),this._events=new H.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(E),this._assignAsyncValidators(y)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get status(){return(0,d.O8t)(this.statusReactive)}set status(E){(0,d.O8t)(()=>this.statusReactive.set(E))}get valid(){return this.status===Yn}get invalid(){return this.status===Sr}get pending(){return this.status==mr}get disabled(){return this.status===Jn}get enabled(){return this.status!==Jn}get pristine(){return(0,d.O8t)(this.pristineReactive)}set pristine(E){(0,d.O8t)(()=>this.pristineReactive.set(E))}get dirty(){return!this.pristine}get touched(){return(0,d.O8t)(this.touchedReactive)}set touched(E){(0,d.O8t)(()=>this.touchedReactive.set(E))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._assignValidators(E)}setAsyncValidators(E){this._assignAsyncValidators(E)}addValidators(E){this.setValidators(Fr(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(Fr(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(Fn(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(Fn(E,this._rawAsyncValidators))}hasValidator(E){return Rr(this._rawValidators,E)}hasAsyncValidator(E){return Rr(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){const y=!1===this.touched;this.touched=!0;const I=E.sourceControl??this;this._parent&&!E.onlySelf&&this._parent.markAsTouched({...E,sourceControl:I}),y&&!1!==E.emitEvent&&this._events.next(new ee(!0,I))}markAllAsTouched(E={}){this.markAsTouched({onlySelf:!0,emitEvent:E.emitEvent,sourceControl:this}),this._forEachChild(y=>y.markAllAsTouched(E))}markAsUntouched(E={}){const y=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const I=E.sourceControl??this;this._forEachChild(B=>{B.markAsUntouched({onlySelf:!0,emitEvent:E.emitEvent,sourceControl:I})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E,I),y&&!1!==E.emitEvent&&this._events.next(new ee(!1,I))}markAsDirty(E={}){const y=!0===this.pristine;this.pristine=!1;const I=E.sourceControl??this;this._parent&&!E.onlySelf&&this._parent.markAsDirty({...E,sourceControl:I}),y&&!1!==E.emitEvent&&this._events.next(new re(!1,I))}markAsPristine(E={}){const y=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const I=E.sourceControl??this;this._forEachChild(B=>{B.markAsPristine({onlySelf:!0,emitEvent:E.emitEvent})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E,I),y&&!1!==E.emitEvent&&this._events.next(new re(!0,I))}markAsPending(E={}){this.status=mr;const y=E.sourceControl??this;!1!==E.emitEvent&&(this._events.next(new R(this.status,y)),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.markAsPending({...E,sourceControl:y})}disable(E={}){const y=this._parentMarkedDirty(E.onlySelf);this.status=Jn,this.errors=null,this._forEachChild(B=>{B.disable({...E,onlySelf:!0})}),this._updateValue();const I=E.sourceControl??this;!1!==E.emitEvent&&(this._events.next(new Un(this.value,I)),this._events.next(new R(this.status,I)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:y},this),this._onDisabledChange.forEach(B=>B(!0))}enable(E={}){const y=this._parentMarkedDirty(E.onlySelf);this.status=Yn,this._forEachChild(I=>{I.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:y},this),this._onDisabledChange.forEach(I=>I(!1))}_updateAncestors(E,y){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine({},y),this._parent._updateTouched({},y))}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const I=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yn||this.status===mr)&&this._runAsyncValidator(I,E.emitEvent)}const y=E.sourceControl??this;!1!==E.emitEvent&&(this._events.next(new Un(this.value,y)),this._events.next(new R(this.status,y)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity({...E,sourceControl:y})}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jn:Yn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E,y){if(this.asyncValidator){this.status=mr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==y};const I=me(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(B=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(B,{emitEvent:y,shouldHaveEmitted:E})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const E=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,E}return!1}setErrors(E,y={}){this.errors=E,this._updateControlsErrors(!1!==y.emitEvent,this,y.shouldHaveEmitted)}get(E){let y=E;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce((I,B)=>I&&I._find(B),this)}getError(E,y){const I=y?this.get(y):this;return I&&I.errors?I.errors[E]:null}hasError(E,y){return!!this.getError(E,y)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E,y,I){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),(E||I)&&this._events.next(new R(this.status,y)),this._parent&&this._parent._updateControlsErrors(E,y,I)}_initObservables(){this.valueChanges=new d.bkB,this.statusChanges=new d.bkB}_calculateStatus(){return this._allControlsDisabled()?Jn:this.errors?Sr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mr)?mr:this._anyControlsHaveStatus(Sr)?Sr:Yn}_anyControlsHaveStatus(E){return this._anyControls(y=>y.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E,y){const I=!this._anyControlsDirty(),B=this.pristine!==I;this.pristine=I,this._parent&&!E.onlySelf&&this._parent._updatePristine(E,y),B&&this._events.next(new re(this.pristine,y))}_updateTouched(E={},y){this.touched=this._anyControlsTouched(),this._events.next(new ee(this.touched,y)),this._parent&&!E.onlySelf&&this._parent._updateTouched(E,y)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){Et(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}_assignValidators(E){this._rawValidators=Array.isArray(E)?E.slice():E,this._composedValidatorFn=function it(w){return Array.isArray(w)?Rn(w):w||null}(this._rawValidators)}_assignAsyncValidators(E){this._rawAsyncValidators=Array.isArray(E)?E.slice():E,this._composedAsyncValidatorFn=function St(w){return Array.isArray(w)?un(w):w||null}(this._rawAsyncValidators)}}const er=new d.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>rn}),rn="always";function kr(w,E,y=rn){(function qr(w,E){const y=function Di(w){return w._rawValidators}(w);null!==E.validator?w.setValidators(dn(y,E.validator)):"function"==typeof y&&w.setValidators([y]);const I=function kn(w){return w._rawAsyncValidators}(w);null!==E.asyncValidator?w.setAsyncValidators(dn(I,E.asyncValidator)):"function"==typeof I&&w.setAsyncValidators([I]);const B=()=>w.updateValueAndValidity();nr(E._rawValidators,B),nr(E._rawAsyncValidators,B)})(w,E),E.valueAccessor.writeValue(w.value),(w.disabled||"always"===y)&&E.valueAccessor.setDisabledState?.(w.disabled),function zo(w,E){E.valueAccessor.registerOnChange(y=>{w._pendingValue=y,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&Tr(w,E)})}(w,E),function dt(w,E){const y=(I,B)=>{E.valueAccessor.writeValue(I),B&&E.viewToModelUpdate(I)};w.registerOnChange(y),E._registerOnDestroy(()=>{w._unregisterOnChange(y)})}(w,E),function bo(w,E){E.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&Tr(w,E),"submit"!==w.updateOn&&w.markAsTouched()})}(w,E),function oo(w,E){if(E.valueAccessor.setDisabledState){const y=I=>{E.valueAccessor.setDisabledState(I)};w.registerOnDisabledChange(y),E._registerOnDestroy(()=>{w._unregisterOnDisabledChange(y)})}}(w,E)}function nr(w,E){w.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(E)})}function Tr(w,E){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function tn(w,E){const y=w.indexOf(E);y>-1&&w.splice(y,1)}function Wt(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}Promise.resolve();const sn=class extends bi{constructor(E=null,y,I){super(function xe(w){return(Et(w)?w.validators:w)||null}(y),function _t(w,E){return(Et(E)?E.asyncValidators:w)||null}(I,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Et(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=Wt(E)?E.value:E)}setValue(E,y={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(I=>I(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(E,y={}){this.setValue(E,y)}reset(E=this.defaultValue,y={}){this._applyFormState(E),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){tn(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){tn(this._onDisabledChange,E)}_forEachChild(E){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(E){Wt(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},si={provide:Dn,useExisting:(0,d.Rfq)(()=>so)},To=Promise.resolve();let so=(()=>{class w extends Dn{constructor(y,I,B,je,pt,Qt){super(),this._changeDetectorRef=pt,this.callSetDisabledState=Qt,this.control=new sn,this._registered=!1,this.name="",this.update=new d.bkB,this._parent=y,this._setValidators(I),this._setAsyncValidators(B),this.valueAccessor=function we(w,E){if(!E)return null;let y,I,B;return Array.isArray(E),E.forEach(je=>{je.constructor===Pe?y=je:function fe(w){return Object.getPrototypeOf(w.constructor)===J}(je)?I=je:B=je}),B||I||y||null}(0,je)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const I=y.name.previousValue;this.formDirective.removeControl({name:I,path:this._getPath(I)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),function ne(w,E){if(!w.hasOwnProperty("model"))return!1;const y=w.model;return!!y.isFirstChange()||!Object.is(E,y.currentValue)}(y,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){kr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(y){To.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(y){const I=y.isDisabled.currentValue,B=0!==I&&(0,d.L39)(I);To.then(()=>{B&&!this.control.disabled?this.control.disable():!B&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(y){return this._parent?function tr(w,E){return[...E.path,w]}(y,this._parent):[y]}static{this.\u0275fac=function(I){return new(I||w)(d.rXU(Yt,9),d.rXU(Ue,10),d.rXU(Qe,10),d.rXU(oe,10),d.rXU(d.gRc,8),d.rXU(er,8))}}static{this.\u0275dir=d.FsC({type:w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[d.Jv_([si]),d.Vt3,d.OA$]})}}return w})(),ms=(()=>{class w{static{this.\u0275fac=function(I){return new(I||w)}}static{this.\u0275mod=d.$C({type:w})}static{this.\u0275inj=d.G2t({})}}return w})(),Pr=(()=>{class w{static withConfig(y){return{ngModule:w,providers:[{provide:er,useValue:y.callSetDisabledState??rn}]}}static{this.\u0275fac=function(I){return new(I||w)}}static{this.\u0275mod=d.$C({type:w})}static{this.\u0275inj=d.G2t({imports:[ms]})}}return w})()},345:(le,G,N)=>{"use strict";N.d(G,{B7:()=>We,Bb:()=>Ln,hE:()=>Vn,sG:()=>Fn});var d=N(177),O=N(3953);class F extends d.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class U extends F{static makeCurrent(){(0,d.ZD)(new U)}onAndCancel(ee,R,W){return ee.addEventListener(R,W),()=>{ee.removeEventListener(R,W)}}dispatchEvent(ee,R){ee.dispatchEvent(R)}remove(ee){ee.remove()}createElement(ee,R){return(R=R||this.getDefaultDocument()).createElement(ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ee){return ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(ee){return ee instanceof DocumentFragment}getGlobalEventTarget(ee,R){return"window"===R?window:"document"===R?ee:"body"===R?ee.body:null}getBaseHref(ee){const R=function K(){return H=H||document.querySelector("base"),H?H.getAttribute("href"):null}();return null==R?null:function ie(re){return new URL(re,document.baseURI).pathname}(R)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie(ee){return(0,d._b)(document.cookie,ee)}}let H=null,oe=(()=>{class re{build(){return new XMLHttpRequest}static{this.\u0275fac=function(W){return new(W||re)}}static{this.\u0275prov=O.jDH({token:re,factory:re.\u0275fac})}}return re})();const q=new O.nKC("");let z=(()=>{class re{constructor(R,W){this._zone=W,this._eventNameToPlugin=new Map,R.forEach(ue=>{ue.manager=this}),this._plugins=R.slice().reverse()}addEventListener(R,W,ue){return this._findPluginFor(W).addEventListener(R,W,ue)}getZone(){return this._zone}_findPluginFor(R){let W=this._eventNameToPlugin.get(R);if(W)return W;if(W=this._plugins.find(xe=>xe.supports(R)),!W)throw new O.wOt(5101,!1);return this._eventNameToPlugin.set(R,W),W}static{this.\u0275fac=function(W){return new(W||re)(O.KVO(q),O.KVO(O.SKi))}}static{this.\u0275prov=O.jDH({token:re,factory:re.\u0275fac})}}return re})();class _e{constructor(ee){this._doc=ee}}const Ie="ng-app-id";let Se=(()=>{class re{constructor(R,W,ue,xe={}){this.doc=R,this.appId=W,this.nonce=ue,this.platformId=xe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,d.Vy)(xe),this.resetHostNodes()}addStyles(R){for(const W of R)1===this.changeUsageCount(W,1)&&this.onStyleAdded(W)}removeStyles(R){for(const W of R)this.changeUsageCount(W,-1)<=0&&this.onStyleRemoved(W)}ngOnDestroy(){const R=this.styleNodesInDOM;R&&(R.forEach(W=>W.remove()),R.clear());for(const W of this.getAllStyles())this.onStyleRemoved(W);this.resetHostNodes()}addHost(R){this.hostNodes.add(R);for(const W of this.getAllStyles())this.addStyleToHost(R,W)}removeHost(R){this.hostNodes.delete(R)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(R){for(const W of this.hostNodes)this.addStyleToHost(W,R)}onStyleRemoved(R){const W=this.styleRef;W.get(R)?.elements?.forEach(ue=>ue.remove()),W.delete(R)}collectServerRenderedStyles(){const R=this.doc.head?.querySelectorAll(`style[${Ie}="${this.appId}"]`);if(R?.length){const W=new Map;return R.forEach(ue=>{null!=ue.textContent&&W.set(ue.textContent,ue)}),W}return null}changeUsageCount(R,W){const ue=this.styleRef;if(ue.has(R)){const xe=ue.get(R);return xe.usage+=W,xe.usage}return ue.set(R,{usage:W,elements:[]}),W}getStyleElement(R,W){const ue=this.styleNodesInDOM,xe=ue?.get(W);if(xe?.parentNode===R)return ue.delete(W),xe.removeAttribute(Ie),xe;{const it=this.doc.createElement("style");return this.nonce&&it.setAttribute("nonce",this.nonce),it.textContent=W,this.platformIsServer&&it.setAttribute(Ie,this.appId),R.appendChild(it),it}}addStyleToHost(R,W){const ue=this.getStyleElement(R,W),xe=this.styleRef,it=xe.get(W)?.elements;it?it.push(ue):xe.set(W,{elements:[ue],usage:1})}resetHostNodes(){const R=this.hostNodes;R.clear(),R.add(this.doc.head)}static{this.\u0275fac=function(W){return new(W||re)(O.KVO(d.qQ),O.KVO(O.sZ2),O.KVO(O.BIS,8),O.KVO(O.Agw))}}static{this.\u0275prov=O.jDH({token:re,factory:re.\u0275fac})}}return re})();const Pe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Be=/%COMP%/g,wt=new O.nKC("",{providedIn:"root",factory:()=>!0});function Ft(re,ee){return ee.map(R=>R.replace(Be,re))}let We=(()=>{class re{constructor(R,W,ue,xe,it,_t,St,Et=null){this.eventManager=R,this.sharedStylesHost=W,this.appId=ue,this.removeStylesOnCompDestroy=xe,this.doc=it,this.platformId=_t,this.ngZone=St,this.nonce=Et,this.rendererByCompId=new Map,this.platformIsServer=(0,d.Vy)(_t),this.defaultRenderer=new Z(R,it,St,this.platformIsServer)}createRenderer(R,W){if(!R||!W)return this.defaultRenderer;this.platformIsServer&&W.encapsulation===O.gXe.ShadowDom&&(W={...W,encapsulation:O.gXe.Emulated});const ue=this.getOrCreateRenderer(R,W);return ue instanceof me?ue.applyToHost(R):ue instanceof ce&&ue.applyStyles(),ue}getOrCreateRenderer(R,W){const ue=this.rendererByCompId;let xe=ue.get(W.id);if(!xe){const it=this.doc,_t=this.ngZone,St=this.eventManager,Et=this.sharedStylesHost,mn=this.removeStylesOnCompDestroy,Sn=this.platformIsServer;switch(W.encapsulation){case O.gXe.Emulated:xe=new me(St,Et,W,this.appId,mn,it,_t,Sn);break;case O.gXe.ShadowDom:return new Y(St,Et,R,W,it,_t,this.nonce,Sn);default:xe=new ce(St,Et,W,mn,it,_t,Sn)}ue.set(W.id,xe)}return xe}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(W){return new(W||re)(O.KVO(z),O.KVO(Se),O.KVO(O.sZ2),O.KVO(wt),O.KVO(d.qQ),O.KVO(O.Agw),O.KVO(O.SKi),O.KVO(O.BIS))}}static{this.\u0275prov=O.jDH({token:re,factory:re.\u0275fac})}}return re})();class Z{constructor(ee,R,W,ue){this.eventManager=ee,this.doc=R,this.ngZone=W,this.platformIsServer=ue,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ee,R){return R?this.doc.createElementNS(Pe[R]||R,ee):this.doc.createElement(ee)}createComment(ee){return this.doc.createComment(ee)}createText(ee){return this.doc.createTextNode(ee)}appendChild(ee,R){(se(ee)?ee.content:ee).appendChild(R)}insertBefore(ee,R,W){ee&&(se(ee)?ee.content:ee).insertBefore(R,W)}removeChild(ee,R){R.remove()}selectRootElement(ee,R){let W="string"==typeof ee?this.doc.querySelector(ee):ee;if(!W)throw new O.wOt(-5104,!1);return R||(W.textContent=""),W}parentNode(ee){return ee.parentNode}nextSibling(ee){return ee.nextSibling}setAttribute(ee,R,W,ue){if(ue){R=ue+":"+R;const xe=Pe[ue];xe?ee.setAttributeNS(xe,R,W):ee.setAttribute(R,W)}else ee.setAttribute(R,W)}removeAttribute(ee,R,W){if(W){const ue=Pe[W];ue?ee.removeAttributeNS(ue,R):ee.removeAttribute(`${W}:${R}`)}else ee.removeAttribute(R)}addClass(ee,R){ee.classList.add(R)}removeClass(ee,R){ee.classList.remove(R)}setStyle(ee,R,W,ue){ue&(O.czy.DashCase|O.czy.Important)?ee.style.setProperty(R,W,ue&O.czy.Important?"important":""):ee.style[R]=W}removeStyle(ee,R,W){W&O.czy.DashCase?ee.style.removeProperty(R):ee.style[R]=""}setProperty(ee,R,W){null!=ee&&(ee[R]=W)}setValue(ee,R){ee.nodeValue=R}listen(ee,R,W){if("string"==typeof ee&&!(ee=(0,d.QT)().getGlobalEventTarget(this.doc,ee)))throw new Error(`Unsupported event target ${ee} for event ${R}`);return this.eventManager.addEventListener(ee,R,this.decoratePreventDefault(W))}decoratePreventDefault(ee){return R=>{if("__ngUnwrap__"===R)return ee;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ee(R)):ee(R))&&R.preventDefault()}}}function se(re){return"TEMPLATE"===re.tagName&&void 0!==re.content}class Y extends Z{constructor(ee,R,W,ue,xe,it,_t,St){super(ee,xe,it,St),this.sharedStylesHost=R,this.hostEl=W,this.shadowRoot=W.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Et=Ft(ue.id,ue.styles);for(const mn of Et){const Sn=document.createElement("style");_t&&Sn.setAttribute("nonce",_t),Sn.textContent=mn,this.shadowRoot.appendChild(Sn)}}nodeOrShadowRoot(ee){return ee===this.hostEl?this.shadowRoot:ee}appendChild(ee,R){return super.appendChild(this.nodeOrShadowRoot(ee),R)}insertBefore(ee,R,W){return super.insertBefore(this.nodeOrShadowRoot(ee),R,W)}removeChild(ee,R){return super.removeChild(null,R)}parentNode(ee){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ee)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ce extends Z{constructor(ee,R,W,ue,xe,it,_t,St){super(ee,xe,it,_t),this.sharedStylesHost=R,this.removeStylesOnCompDestroy=ue,this.styles=St?Ft(St,W.styles):W.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class me extends ce{constructor(ee,R,W,ue,xe,it,_t,St){const Et=ue+"-"+W.id;super(ee,R,W,xe,it,_t,St,Et),this.contentAttr=function at(re){return"_ngcontent-%COMP%".replace(Be,re)}(Et),this.hostAttr=function lt(re){return"_nghost-%COMP%".replace(Be,re)}(Et)}applyToHost(ee){this.applyStyles(),this.setAttribute(ee,this.hostAttr,"")}createElement(ee,R){const W=super.createElement(ee,R);return super.setAttribute(W,this.contentAttr,""),W}}let Re=(()=>{class re extends _e{constructor(R){super(R)}supports(R){return!0}addEventListener(R,W,ue){return R.addEventListener(W,ue,!1),()=>this.removeEventListener(R,W,ue)}removeEventListener(R,W,ue){return R.removeEventListener(W,ue)}static{this.\u0275fac=function(W){return new(W||re)(O.KVO(d.qQ))}}static{this.\u0275prov=O.jDH({token:re,factory:re.\u0275fac})}}return re})(),et=(()=>{class re extends _e{constructor(R){super(R),this.delegate=(0,O.WQX)(O.zAP,{optional:!0})}supports(R){return!!this.delegate&&this.delegate.supports(R)}addEventListener(R,W,ue){return this.delegate.addEventListener(R,W,ue)}removeEventListener(R,W,ue){return this.delegate.removeEventListener(R,W,ue)}static{this.\u0275fac=function(W){return new(W||re)(O.KVO(d.qQ))}}static{this.\u0275prov=O.jDH({token:re,factory:re.\u0275fac})}}return re})();const Ut=["alt","control","meta","shift"],pn={"\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"},Xe={alt:re=>re.altKey,control:re=>re.ctrlKey,meta:re=>re.metaKey,shift:re=>re.shiftKey};let Rn=(()=>{class re extends _e{constructor(R){super(R)}supports(R){return null!=re.parseEventName(R)}addEventListener(R,W,ue){const xe=re.parseEventName(W),it=re.eventCallback(xe.fullKey,ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,d.QT)().onAndCancel(R,xe.domEventName,it))}static parseEventName(R){const W=R.toLowerCase().split("."),ue=W.shift();if(0===W.length||"keydown"!==ue&&"keyup"!==ue)return null;const xe=re._normalizeKey(W.pop());let it="",_t=W.indexOf("code");if(_t>-1&&(W.splice(_t,1),it="code."),Ut.forEach(Et=>{const mn=W.indexOf(Et);mn>-1&&(W.splice(mn,1),it+=Et+".")}),it+=xe,0!=W.length||0===xe.length)return null;const St={};return St.domEventName=ue,St.fullKey=it,St}static matchEventFullKeyCode(R,W){let ue=pn[R.key]||R.key,xe="";return W.indexOf("code.")>-1&&(ue=R.code,xe="code."),!(null==ue||!ue)&&(ue=ue.toLowerCase()," "===ue?ue="space":"."===ue&&(ue="dot"),Ut.forEach(it=>{it!==ue&&(0,Xe[it])(R)&&(xe+=it+".")}),xe+=ue,xe===W)}static eventCallback(R,W,ue){return xe=>{re.matchEventFullKeyCode(xe,R)&&ue.runGuarded(()=>W(xe))}}static _normalizeKey(R){return"esc"===R?"escape":R}static{this.\u0275fac=function(W){return new(W||re)(O.KVO(d.qQ))}}static{this.\u0275prov=O.jDH({token:re,factory:re.\u0275fac})}}return re})();const Fn=(0,O.oH4)(O.fpN,"browser",[{provide:O.Agw,useValue:d.AJ},{provide:O.PLl,useValue:function kn(){U.makeCurrent()},multi:!0},{provide:d.qQ,useFactory:function Rr(){return(0,O.TL$)(document),document},deps:[]}]),Vi=new O.nKC(""),Yt=[{provide:O.e01,useClass:class J{addToWindow(ee){O.JZv.getAngularTestability=(W,ue=!0)=>{const xe=ee.findTestabilityInTree(W,ue);if(null==xe)throw new O.wOt(5103,!1);return xe},O.JZv.getAllAngularTestabilities=()=>ee.getAllTestabilities(),O.JZv.getAllAngularRootElements=()=>ee.getAllRootElements(),O.JZv.frameworkStabilizers||(O.JZv.frameworkStabilizers=[]),O.JZv.frameworkStabilizers.push(W=>{const ue=O.JZv.getAllAngularTestabilities();let xe=ue.length;const it=function(){xe--,0==xe&&W()};ue.forEach(_t=>{_t.whenStable(it)})})}findTestabilityInTree(ee,R,W){return null==R?null:ee.getTestability(R)??(W?(0,d.QT)().isShadowRoot(R)?this.findTestabilityInTree(ee,R.host,!0):this.findTestabilityInTree(ee,R.parentElement,!0):null)}},deps:[]},{provide:O.WHO,useClass:O.NYb,deps:[O.SKi,O.giA,O.e01]},{provide:O.NYb,useClass:O.NYb,deps:[O.SKi,O.giA,O.e01]}],Dn=[{provide:O.H8p,useValue:"root"},{provide:O.zcH,useFactory:function xr(){return new O.zcH},deps:[]},{provide:q,useClass:Re,multi:!0,deps:[d.qQ,O.SKi,O.Agw]},{provide:q,useClass:Rn,multi:!0,deps:[d.qQ]},{provide:q,useClass:et,multi:!0},We,Se,z,{provide:O._9s,useExisting:We},{provide:d.N0,useClass:oe,deps:[]},[]];let Ln=(()=>{class re{constructor(R){}static withServerTransition(R){return{ngModule:re,providers:[{provide:O.sZ2,useValue:R.appId}]}}static{this.\u0275fac=function(W){return new(W||re)(O.KVO(Vi,12))}}static{this.\u0275mod=O.$C({type:re})}static{this.\u0275inj=O.G2t({providers:[...Dn,...Yt],imports:[d.MD,O.Hbi]})}}return re})(),Vn=(()=>{class re{constructor(R){this._doc=R}getTitle(){return this._doc.title}setTitle(R){this._doc.title=R||""}static{this.\u0275fac=function(W){return new(W||re)(O.KVO(d.qQ))}}static{this.\u0275prov=O.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}}return re})()},7901:(le,G,N)=>{"use strict";N.d(G,{Ix:()=>Mt,Wk:()=>ve,iI:()=>ga,n3:()=>or,nX:()=>jn,wF:()=>wn});var d=N(3953),O=N(4402),F=N(6648),U=N(7673),H=N(4412),K=N(4572),ie=N(9350),J=N(8793),oe=N(9030),q=N(1203),z=N(8810),_e=N(983),Ie=N(17),Se=N(1413),Pe=N(8359),Be=N(177),Ae=N(6354),Ue=N(5558),Qe=N(6697),mt=N(9172),wt=N(5964),at=N(1397),lt=N(1594),Ft=N(274),We=N(8141),Z=N(9437),ye=N(2816),Ze=N(9901),se=N(7018),Y=N(5109),ce=N(3703),me=N(980),Re=N(9898),et=N(6977),Ut=N(6365),pn=N(345);const Xe="primary",Rn=Symbol("RouteTitle");class Nr{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const s=this.params[l];return Array.isArray(s)?s[0]:s}return null}getAll(l){if(this.has(l)){const s=this.params[l];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function un(p){return new Nr(p)}function dn(p,l,s){const o=s.path.split("/");if(o.length>p.length||"full"===s.pathMatch&&(l.hasChildren()||o.length<p.length))return null;const u={};for(let f=0;f<o.length;f++){const v=o[f],T=p[f];if(":"===v[0])u[v.substring(1)]=T;else if(v!==T.path)return null}return{consumed:p.slice(0,o.length),posParams:u}}function kn(p,l){const s=p?xr(p):void 0,o=l?xr(l):void 0;if(!s||!o||s.length!=o.length)return!1;let u;for(let f=0;f<s.length;f++)if(u=s[f],!Rr(p[u],l[u]))return!1;return!0}function xr(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}function Rr(p,l){if(Array.isArray(p)&&Array.isArray(l)){if(p.length!==l.length)return!1;const s=[...p].sort(),o=[...l].sort();return s.every((u,f)=>o[f]===u)}return p===l}function Fr(p){return p.length>0?p[p.length-1]:null}function Fn(p){return(0,O.A)(p)?p:(0,d.jNT)(p)?(0,F.H)(Promise.resolve(p)):(0,U.of)(p)}const Vi={exact:function Mn(p,l,s){if(!rt(p.segments,l.segments)||!Kt(p.segments,l.segments,s)||p.numberOfChildren!==l.numberOfChildren)return!1;for(const o in l.children)if(!p.children[o]||!Mn(p.children[o],l.children[o],s))return!1;return!0},subset:Vn},Yt={exact:function Ln(p,l){return kn(p,l)},subset:function dr(p,l){return Object.keys(l).length<=Object.keys(p).length&&Object.keys(l).every(s=>Rr(p[s],l[s]))},ignored:()=>!0};function Dn(p,l,s){return Vi[s.paths](p.root,l.root,s.matrixParams)&&Yt[s.queryParams](p.queryParams,l.queryParams)&&!("exact"===s.fragment&&p.fragment!==l.fragment)}function Vn(p,l,s){return hr(p,l,l.segments,s)}function hr(p,l,s,o){if(p.segments.length>s.length){const u=p.segments.slice(0,s.length);return!(!rt(u,s)||l.hasChildren()||!Kt(u,s,o))}if(p.segments.length===s.length){if(!rt(p.segments,s)||!Kt(p.segments,s,o))return!1;for(const u in l.children)if(!p.children[u]||!Vn(p.children[u],l.children[u],o))return!1;return!0}{const u=s.slice(0,p.segments.length),f=s.slice(p.segments.length);return!!(rt(p.segments,u)&&Kt(p.segments,u,o)&&p.children[Xe])&&hr(p.children[Xe],l,f,o)}}function Kt(p,l,s){return l.every((o,u)=>Yt[s](p[u].parameters,o.parameters))}class bn{constructor(l=new yt([],{}),s={},o=null){this.root=l,this.queryParams=s,this.fragment=o}get queryParamMap(){return this._queryParamMap??=un(this.queryParams),this._queryParamMap}toString(){return pr.serialize(this)}}class yt{constructor(l,s){this.segments=l,this.children=s,this.parent=null,Object.values(s).forEach(o=>o.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gr(this)}}class Hn{constructor(l,s){this.path=l,this.parameters=s}get parameterMap(){return this._parameterMap??=un(this.parameters),this._parameterMap}toString(){return Yn(this)}}function rt(p,l){return p.length===l.length&&p.every((s,o)=>s.path===l[o].path)}let Mi=(()=>{class p{static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:()=>new ni,providedIn:"root"})}}return p})();class ni{parse(l){const s=new xe(l);return new bn(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(l){const s=`/${gn(l.root,!0)}`,o=function mr(p){const l=Object.entries(p).map(([s,o])=>Array.isArray(o)?o.map(u=>`${kt(s)}=${kt(u)}`).join("&"):`${kt(s)}=${kt(o)}`).filter(s=>s);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${s}${o}${"string"==typeof l.fragment?`#${function Ui(p){return encodeURI(p)}(l.fragment)}`:""}`}}const pr=new ni;function gr(p){return p.segments.map(l=>Yn(l)).join("/")}function gn(p,l){if(!p.hasChildren())return gr(p);if(l){const s=p.children[Xe]?gn(p.children[Xe],!1):"",o=[];return Object.entries(p.children).forEach(([u,f])=>{u!==Xe&&o.push(`${u}:${gn(f,!1)}`)}),o.length>0?`${s}(${o.join("//")})`:s}{const s=function De(p,l){let s=[];return Object.entries(p.children).forEach(([o,u])=>{o===Xe&&(s=s.concat(l(u,o)))}),Object.entries(p.children).forEach(([o,u])=>{o!==Xe&&(s=s.concat(l(u,o)))}),s}(p,(o,u)=>u===Xe?[gn(p.children[Xe],!1)]:[`${u}:${gn(o,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[Xe]?`${gr(p)}/${s[0]}`:`${gr(p)}/(${s.join("//")})`}}function io(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function kt(p){return io(p).replace(/%3B/gi,";")}function ft(p){return io(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pt(p){return decodeURIComponent(p)}function ri(p){return Pt(p.replace(/\+/g,"%20"))}function Yn(p){return`${ft(p.path)}${function Sr(p){return Object.entries(p).map(([l,s])=>`;${ft(l)}=${ft(s)}`).join("")}(p.parameters)}`}const Jn=/^[^\/()?;#]+/;function hn(p){const l=p.match(Jn);return l?l[0]:""}const Un=/^[^\/()?;=#]+/,ee=/^[^=?&#]+/,W=/^[^&#]+/;class xe{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yt([],{}):new yt([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1)),(l.length>0||Object.keys(s).length>0)&&(o[Xe]=new yt(l,s)),o}parseSegment(){const l=hn(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new d.wOt(4009,!1);return this.capture(l),new Hn(Pt(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const s=function re(p){const l=p.match(Un);return l?l[0]:""}(this.remaining);if(!s)return;this.capture(s);let o="";if(this.consumeOptional("=")){const u=hn(this.remaining);u&&(o=u,this.capture(o))}l[Pt(s)]=Pt(o)}parseQueryParam(l){const s=function R(p){const l=p.match(ee);return l?l[0]:""}(this.remaining);if(!s)return;this.capture(s);let o="";if(this.consumeOptional("=")){const v=function ue(p){const l=p.match(W);return l?l[0]:""}(this.remaining);v&&(o=v,this.capture(o))}const u=ri(s),f=ri(o);if(l.hasOwnProperty(u)){let v=l[u];Array.isArray(v)||(v=[v],l[u]=v),v.push(f)}else l[u]=f}parseParens(l){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const o=hn(this.remaining),u=this.remaining[o.length];if("/"!==u&&")"!==u&&";"!==u)throw new d.wOt(4010,!1);let f;o.indexOf(":")>-1?(f=o.slice(0,o.indexOf(":")),this.capture(f),this.capture(":")):l&&(f=Xe);const v=this.parseChildren();s[f]=1===Object.keys(v).length?v[Xe]:new yt([],v),this.consumeOptional("//")}return s}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new d.wOt(4011,!1)}}function it(p){return p.segments.length>0?new yt([],{[Xe]:p}):p}function _t(p){const l={};for(const[o,u]of Object.entries(p.children)){const f=_t(u);if(o===Xe&&0===f.segments.length&&f.hasChildren())for(const[v,T]of Object.entries(f.children))l[v]=T;else(f.segments.length>0||f.hasChildren())&&(l[o]=f)}return function St(p){if(1===p.numberOfChildren&&p.children[Xe]){const l=p.children[Xe];return new yt(p.segments.concat(l.segments),l.children)}return p}(new yt(p.segments,l))}function Et(p){return p instanceof bn}function Sn(p){let l;const u=it(function s(f){const v={};for(const S of f.children){const j=s(S);v[S.outlet]=j}const T=new yt(f.url,v);return f===p&&(l=T),T}(p.root));return l??u}function bi(p,l,s,o){let u=p;for(;u.parent;)u=u.parent;if(0===l.length)return ji(u,u,u,s,o);const f=function Mo(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new Bi(!0,0,p);let l=0,s=!1;const o=p.reduce((u,f,v)=>{if("object"==typeof f&&null!=f){if(f.outlets){const T={};return Object.entries(f.outlets).forEach(([S,j])=>{T[S]="string"==typeof j?j.split("/"):j}),[...u,{outlets:T}]}if(f.segmentPath)return[...u,f.segmentPath]}return"string"!=typeof f?[...u,f]:0===v?(f.split("/").forEach((T,S)=>{0==S&&"."===T||(0==S&&""===T?s=!0:".."===T?l++:""!=T&&u.push(T))}),u):[...u,f]},[]);return new Bi(s,l,o)}(l);if(f.toRoot())return ji(u,u,new yt([],{}),s,o);const v=function rn(p,l,s){if(p.isAbsolute)return new er(l,!0,0);if(!s)return new er(l,!1,NaN);if(null===s.parent)return new er(s,!0,0);const o=Wr(p.commands[0])?0:1;return function tr(p,l,s){let o=p,u=l,f=s;for(;f>u;){if(f-=u,o=o.parent,!o)throw new d.wOt(4005,!1);u=o.segments.length}return new er(o,!1,u-f)}(s,s.segments.length-1+o,p.numberOfDoubleDots)}(f,u,p),T=v.processChildren?nr(v.segmentGroup,v.index,f.commands):Lr(v.segmentGroup,v.index,f.commands);return ji(u,v.segmentGroup,T,s,o)}function Wr(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function yr(p){return"object"==typeof p&&null!=p&&p.outlets}function ji(p,l,s,o,u){let v,f={};o&&Object.entries(o).forEach(([S,j])=>{f[S]=Array.isArray(j)?j.map(Q=>`${Q}`):`${j}`}),v=p===l?s:Do(p,l,s);const T=it(_t(v));return new bn(T,f,u)}function Do(p,l,s){const o={};return Object.entries(p.children).forEach(([u,f])=>{o[u]=f===l?s:Do(f,l,s)}),new yt(p.segments,o)}class Bi{constructor(l,s,o){if(this.isAbsolute=l,this.numberOfDoubleDots=s,this.commands=o,l&&o.length>0&&Wr(o[0]))throw new d.wOt(4003,!1);const u=o.find(yr);if(u&&u!==Fr(o))throw new d.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class er{constructor(l,s,o){this.segmentGroup=l,this.processChildren=s,this.index=o}}function Lr(p,l,s){if(p??=new yt([],{}),0===p.segments.length&&p.hasChildren())return nr(p,l,s);const o=function oo(p,l,s){let o=0,u=l;const f={match:!1,pathIndex:0,commandIndex:0};for(;u<p.segments.length;){if(o>=s.length)return f;const v=p.segments[u],T=s[o];if(yr(T))break;const S=`${T}`,j=o<s.length-1?s[o+1]:null;if(u>0&&void 0===S)break;if(S&&j&&"object"==typeof j&&void 0===j.outlets){if(!bo(S,j,v))return f;o+=2}else{if(!bo(S,{},v))return f;o++}u++}return{match:!0,pathIndex:u,commandIndex:o}}(p,l,s),u=s.slice(o.commandIndex);if(o.match&&o.pathIndex<p.segments.length){const f=new yt(p.segments.slice(0,o.pathIndex),{});return f.children[Xe]=new yt(p.segments.slice(o.pathIndex),p.children),nr(f,0,u)}return o.match&&0===u.length?new yt(p.segments,{}):o.match&&!p.hasChildren()?qr(p,l,s):o.match?nr(p,0,u):qr(p,l,s)}function nr(p,l,s){if(0===s.length)return new yt(p.segments,{});{const o=function kr(p){return yr(p[0])?p[0].outlets:{[Xe]:p}}(s),u={};if(Object.keys(o).some(f=>f!==Xe)&&p.children[Xe]&&1===p.numberOfChildren&&0===p.children[Xe].segments.length){const f=nr(p.children[Xe],l,s);return new yt(p.segments,f.children)}return Object.entries(o).forEach(([f,v])=>{"string"==typeof v&&(v=[v]),null!==v&&(u[f]=Lr(p.children[f],l,v))}),Object.entries(p.children).forEach(([f,v])=>{void 0===o[f]&&(u[f]=v)}),new yt(p.segments,u)}}function qr(p,l,s){const o=p.segments.slice(0,l);let u=0;for(;u<s.length;){const f=s[u];if(yr(f)){const S=Si(f.outlets);return new yt(o,S)}if(0===u&&Wr(s[0])){o.push(new Hn(p.segments[l].path,zo(s[0]))),u++;continue}const v=yr(f)?f.outlets[Xe]:`${f}`,T=u<s.length-1?s[u+1]:null;v&&T&&Wr(T)?(o.push(new Hn(v,zo(T))),u+=2):(o.push(new Hn(v,{})),u++)}return new yt(o,{})}function Si(p){const l={};return Object.entries(p).forEach(([s,o])=>{"string"==typeof o&&(o=[o]),null!==o&&(l[s]=qr(new yt([],{}),0,o))}),l}function zo(p){const l={};return Object.entries(p).forEach(([s,o])=>l[s]=`${o}`),l}function bo(p,l,s){return p==s.path&&kn(l,s.parameters)}const Tr="imperative";var dt=function(p){return p[p.NavigationStart=0]="NavigationStart",p[p.NavigationEnd=1]="NavigationEnd",p[p.NavigationCancel=2]="NavigationCancel",p[p.NavigationError=3]="NavigationError",p[p.RoutesRecognized=4]="RoutesRecognized",p[p.ResolveStart=5]="ResolveStart",p[p.ResolveEnd=6]="ResolveEnd",p[p.GuardsCheckStart=7]="GuardsCheckStart",p[p.GuardsCheckEnd=8]="GuardsCheckEnd",p[p.RouteConfigLoadStart=9]="RouteConfigLoadStart",p[p.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",p[p.ChildActivationStart=11]="ChildActivationStart",p[p.ChildActivationEnd=12]="ChildActivationEnd",p[p.ActivationStart=13]="ActivationStart",p[p.ActivationEnd=14]="ActivationEnd",p[p.Scroll=15]="Scroll",p[p.NavigationSkipped=16]="NavigationSkipped",p}(dt||{});class on{constructor(l,s){this.id=l,this.url=s}}class ii extends on{constructor(l,s,o="imperative",u=null){super(l,s),this.type=dt.NavigationStart,this.navigationTrigger=o,this.restoredState=u}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wn extends on{constructor(l,s,o){super(l,s),this.urlAfterRedirects=o,this.type=dt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var fn=function(p){return p[p.Redirect=0]="Redirect",p[p.SupersededByNewNavigation=1]="SupersededByNewNavigation",p[p.NoDataFromResolver=2]="NoDataFromResolver",p[p.GuardRejected=3]="GuardRejected",p}(fn||{}),P=function(p){return p[p.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",p[p.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",p}(P||{});class V extends on{constructor(l,s,o,u){super(l,s),this.reason=o,this.code=u,this.type=dt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class L extends on{constructor(l,s,o,u){super(l,s),this.reason=o,this.code=u,this.type=dt.NavigationSkipped}}class ne extends on{constructor(l,s,o,u){super(l,s),this.error=o,this.target=u,this.type=dt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fe extends on{constructor(l,s,o,u){super(l,s),this.urlAfterRedirects=o,this.state=u,this.type=dt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ce extends on{constructor(l,s,o,u){super(l,s),this.urlAfterRedirects=o,this.state=u,this.type=dt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class we extends on{constructor(l,s,o,u,f){super(l,s),this.urlAfterRedirects=o,this.state=u,this.shouldActivate=f,this.type=dt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ge extends on{constructor(l,s,o,u){super(l,s),this.urlAfterRedirects=o,this.state=u,this.type=dt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fe extends on{constructor(l,s,o,u){super(l,s),this.urlAfterRedirects=o,this.state=u,this.type=dt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bt{constructor(l){this.route=l,this.type=dt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class $t{constructor(l){this.route=l,this.type=dt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class At{constructor(l){this.snapshot=l,this.type=dt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tn{constructor(l){this.snapshot=l,this.type=dt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wt{constructor(l){this.snapshot=l,this.type=dt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sn{constructor(l){this.snapshot=l,this.type=dt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tt{constructor(l,s,o){this.routerEvent=l,this.position=s,this.anchor=o,this.type=dt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ot{}class En{constructor(l,s){this.url=l,this.navigationBehaviorOptions=s}}function ir(p){return p.outlet||Xe}function ai(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let l=p.parent;l;l=l.parent){const s=l.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class oa{get injector(){return ai(this.route?.snapshot)??this.rootInjector}set injector(l){}constructor(l){this.rootInjector=l,this.outlet=null,this.route=null,this.children=new ao(this.rootInjector),this.attachRef=null}}let ao=(()=>{class p{constructor(s){this.rootInjector=s,this.contexts=new Map}onChildOutletCreated(s,o){const u=this.getOrCreateContext(s);u.outlet=o,this.contexts.set(s,u)}onChildOutletDestroyed(s){const o=this.getContext(s);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let o=this.getContext(s);return o||(o=new oa(this.rootInjector),this.contexts.set(s,o)),o}getContext(s){return this.contexts.get(s)||null}static{this.\u0275fac=function(o){return new(o||p)(d.KVO(d.uvJ))}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();class lo{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const s=this.pathFromRoot(l);return s.length>1?s[s.length-2]:null}children(l){const s=Go(l,this._root);return s?s.children.map(o=>o.value):[]}firstChild(l){const s=Go(l,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(l){const s=co(l,this._root);return s.length<2?[]:s[s.length-2].children.map(u=>u.value).filter(u=>u!==l)}pathFromRoot(l){return co(l,this._root).map(s=>s.value)}}function Go(p,l){if(p===l.value)return l;for(const s of l.children){const o=Go(p,s);if(o)return o}return null}function co(p,l){if(p===l.value)return[l];for(const s of l.children){const o=co(p,s);if(o.length)return o.unshift(l),o}return[]}class _r{constructor(l,s){this.value=l,this.children=s}toString(){return`TreeNode(${this.value})`}}function Ti(p){const l={};return p&&p.children.forEach(s=>l[s.value.outlet]=s),l}class $i extends lo{constructor(l,s){super(l),this.snapshot=s,Hi(this,l)}toString(){return this.snapshot.toString()}}function Wo(p){const l=function Oo(p){const f=new ci([],{},{},"",{},Xe,p,null,{});return new uo("",new _r(f,[]))}(p),s=new H.t([new Hn("",{})]),o=new H.t({}),u=new H.t({}),f=new H.t({}),v=new H.t(""),T=new jn(s,o,f,v,u,Xe,p,l.root);return T.snapshot=l.root,new $i(new _r(T,[]),l)}class jn{constructor(l,s,o,u,f,v,T,S){this.urlSubject=l,this.paramsSubject=s,this.queryParamsSubject=o,this.fragmentSubject=u,this.dataSubject=f,this.outlet=v,this.component=T,this._futureSnapshot=S,this.title=this.dataSubject?.pipe((0,Ae.T)(j=>j[Rn]))??(0,U.of)(void 0),this.url=l,this.params=s,this.queryParams=o,this.fragment=u,this.data=f}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,Ae.T)(l=>un(l))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Ae.T)(l=>un(l))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function li(p,l,s="emptyOnly"){let o;const{routeConfig:u}=p;return o=null===l||"always"!==s&&""!==u?.path&&(l.component||l.routeConfig?.loadComponent)?{params:{...p.params},data:{...p.data},resolve:{...p.data,...p._resolvedData??{}}}:{params:{...l.params,...p.params},data:{...l.data,...p.data},resolve:{...p.data,...l.data,...u?.data,...p._resolvedData}},u&&Gi(u)&&(o.resolve[Rn]=u.title),o}class ci{get title(){return this.data?.[Rn]}constructor(l,s,o,u,f,v,T,S,j){this.url=l,this.params=s,this.queryParams=o,this.fragment=u,this.data=f,this.outlet=v,this.component=T,this.routeConfig=S,this._resolve=j}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??=un(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=un(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(o=>o.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class uo extends lo{constructor(l,s){super(s),this.url=l,Hi(this,s)}toString(){return qo(this._root)}}function Hi(p,l){l.value._routerState=p,l.children.forEach(s=>Hi(p,s))}function qo(p){const l=p.children.length>0?` { ${p.children.map(qo).join(", ")} } `:"";return`${p.value}${l}`}function zi(p){if(p.snapshot){const l=p.snapshot,s=p._futureSnapshot;p.snapshot=s,kn(l.queryParams,s.queryParams)||p.queryParamsSubject.next(s.queryParams),l.fragment!==s.fragment&&p.fragmentSubject.next(s.fragment),kn(l.params,s.params)||p.paramsSubject.next(s.params),function Di(p,l){if(p.length!==l.length)return!1;for(let s=0;s<p.length;++s)if(!kn(p[s],l[s]))return!1;return!0}(l.url,s.url)||p.urlSubject.next(s.url),kn(l.data,s.data)||p.dataSubject.next(s.data)}else p.snapshot=p._futureSnapshot,p.dataSubject.next(p._futureSnapshot.data)}function ho(p,l){const s=kn(p.params,l.params)&&function fr(p,l){return rt(p,l)&&p.every((s,o)=>kn(s.parameters,l[o].parameters))}(p.url,l.url);return s&&!(!p.parent!=!l.parent)&&(!p.parent||ho(p.parent,l.parent))}function Gi(p){return"string"==typeof p.title||null===p.title}let or=(()=>{class p{constructor(){this.activated=null,this._activatedRoute=null,this.name=Xe,this.activateEvents=new d.bkB,this.deactivateEvents=new d.bkB,this.attachEvents=new d.bkB,this.detachEvents=new d.bkB,this.parentContexts=(0,d.WQX)(ao),this.location=(0,d.WQX)(d.c1b),this.changeDetector=(0,d.WQX)(d.gRc),this.inputBinder=(0,d.WQX)(ui,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(s){if(s.name){const{firstChange:o,previousValue:u}=s.name;if(o)return;this.isTrackedInParentContexts(u)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(u)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new d.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new d.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new d.wOt(4012,!1);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,o){this.activated=s,this._activatedRoute=o,this.location.insert(s.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,o){if(this.isActivated)throw new d.wOt(4013,!1);this._activatedRoute=s;const u=this.location,v=s.snapshot.component,T=this.parentContexts.getOrCreateContext(this.name).children,S=new Wi(s,T,u.injector);this.activated=u.createComponent(v,{index:u.length,injector:S,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275dir=d.FsC({type:p,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[d.OA$]})}}return p})();class Wi{__ngOutletInjector(l){return new Wi(this.route,this.childContexts,l)}constructor(l,s,o){this.route=l,this.childContexts=s,this.parent=o}get(l,s){return l===jn?this.route:l===ao?this.childContexts:this.parent.get(l,s)}}const ui=new d.nKC("");let Po=(()=>{class p{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(s){this.unsubscribeFromRouteData(s),this.subscribeToRouteData(s)}unsubscribeFromRouteData(s){this.outletDataSubscriptions.get(s)?.unsubscribe(),this.outletDataSubscriptions.delete(s)}subscribeToRouteData(s){const{activatedRoute:o}=s,u=(0,K.z)([o.queryParams,o.params,o.data]).pipe((0,Ue.n)(([f,v,T],S)=>(T={...f,...v,...T},0===S?(0,U.of)(T):Promise.resolve(T)))).subscribe(f=>{if(!s.isActivated||!s.activatedComponentRef||s.activatedRoute!==o||null===o.component)return void this.unsubscribeFromRouteData(s);const v=(0,d.HJs)(o.component);if(v)for(const{templateName:T}of v.inputs)s.activatedComponentRef.setInput(T,f[T]);else this.unsubscribeFromRouteData(s)});this.outletDataSubscriptions.set(s,u)}static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac})}}return p})();function fo(p,l,s){if(s&&p.shouldReuseRoute(l.value,s.value.snapshot)){const o=s.value;o._futureSnapshot=l.value;const u=function gs(p,l,s){return l.children.map(o=>{for(const u of s.children)if(p.shouldReuseRoute(o.value,u.value.snapshot))return fo(p,o,u);return fo(p,o)})}(p,l,s);return new _r(o,u)}{if(p.shouldAttach(l.value)){const f=p.retrieve(l.value);if(null!==f){const v=f.route;return v.value._futureSnapshot=l.value,v.children=l.children.map(T=>fo(p,T)),v}}const o=function qi(p){return new jn(new H.t(p.url),new H.t(p.params),new H.t(p.queryParams),new H.t(p.fragment),new H.t(p.data),p.outlet,p.component,p)}(l.value),u=l.children.map(f=>fo(p,f));return new _r(o,u)}}class Ao{constructor(l,s){this.redirectTo=l,this.navigationBehaviorOptions=s}}const Te="ngNavigationCancelingError";function Ir(p,l){const{redirectTo:s,navigationBehaviorOptions:o}=Et(l)?{redirectTo:l,navigationBehaviorOptions:void 0}:l,u=zn(!1,fn.Redirect);return u.url=s,u.navigationBehaviorOptions=o,u}function zn(p,l){const s=new Error(`NavigationCancelingError: ${p||""}`);return s[Te]=!0,s.cancellationCode=l,s}function xo(p){return!!p&&p[Te]}class Kr{constructor(l,s,o,u,f){this.routeReuseStrategy=l,this.futureState=s,this.currState=o,this.forwardEvent=u,this.inputBindingEnabled=f}activate(l){const s=this.futureState._root,o=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,o,l),zi(this.futureState.root),this.activateChildRoutes(s,o,l)}deactivateChildRoutes(l,s,o){const u=Ti(s);l.children.forEach(f=>{const v=f.value.outlet;this.deactivateRoutes(f,u[v],o),delete u[v]}),Object.values(u).forEach(f=>{this.deactivateRouteAndItsChildren(f,o)})}deactivateRoutes(l,s,o){const u=l.value,f=s?s.value:null;if(u===f)if(u.component){const v=o.getContext(u.outlet);v&&this.deactivateChildRoutes(l,s,v.children)}else this.deactivateChildRoutes(l,s,o);else f&&this.deactivateRouteAndItsChildren(s,o)}deactivateRouteAndItsChildren(l,s){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,s):this.deactivateRouteAndOutlet(l,s)}detachAndStoreRouteSubtree(l,s){const o=s.getContext(l.value.outlet),u=o&&l.value.component?o.children:s,f=Ti(l);for(const v of Object.values(f))this.deactivateRouteAndItsChildren(v,u);if(o&&o.outlet){const v=o.outlet.detach(),T=o.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:v,route:l,contexts:T})}}deactivateRouteAndOutlet(l,s){const o=s.getContext(l.value.outlet),u=o&&l.value.component?o.children:s,f=Ti(l);for(const v of Object.values(f))this.deactivateRouteAndItsChildren(v,u);o&&(o.outlet&&(o.outlet.deactivate(),o.children.onOutletDeactivated()),o.attachRef=null,o.route=null)}activateChildRoutes(l,s,o){const u=Ti(s);l.children.forEach(f=>{this.activateRoutes(f,u[f.value.outlet],o),this.forwardEvent(new sn(f.value.snapshot))}),l.children.length&&this.forwardEvent(new tn(l.value.snapshot))}activateRoutes(l,s,o){const u=l.value,f=s?s.value:null;if(zi(u),u===f)if(u.component){const v=o.getOrCreateContext(u.outlet);this.activateChildRoutes(l,s,v.children)}else this.activateChildRoutes(l,s,o);else if(u.component){const v=o.getOrCreateContext(u.outlet);if(this.routeReuseStrategy.shouldAttach(u.snapshot)){const T=this.routeReuseStrategy.retrieve(u.snapshot);this.routeReuseStrategy.store(u.snapshot,null),v.children.onOutletReAttached(T.contexts),v.attachRef=T.componentRef,v.route=T.route.value,v.outlet&&v.outlet.attach(T.componentRef,T.route.value),zi(T.route.value),this.activateChildRoutes(l,null,v.children)}else v.attachRef=null,v.route=u,v.outlet&&v.outlet.activateWith(u,v.injector),this.activateChildRoutes(l,null,v.children)}else this.activateChildRoutes(l,null,o)}}class di{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class sr{constructor(l,s){this.component=l,this.route=s}}function Ii(p,l,s){const o=p._root;return Or(o,l?l._root:null,s,[o.value])}function Gn(p,l){const s=Symbol(),o=l.get(p,s);return o===s?"function"!=typeof p||(0,d.LfX)(p)?l.get(p):p:o}function Or(p,l,s,o,u={canDeactivateChecks:[],canActivateChecks:[]}){const f=Ti(l);return p.children.forEach(v=>{(function Ki(p,l,s,o,u={canDeactivateChecks:[],canActivateChecks:[]}){const f=p.value,v=l?l.value:null,T=s?s.getContext(p.value.outlet):null;if(v&&f.routeConfig===v.routeConfig){const S=function an(p,l,s){if("function"==typeof s)return s(p,l);switch(s){case"pathParamsChange":return!rt(p.url,l.url);case"pathParamsOrQueryParamsChange":return!rt(p.url,l.url)||!kn(p.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ho(p,l)||!kn(p.queryParams,l.queryParams);default:return!ho(p,l)}}(v,f,f.routeConfig.runGuardsAndResolvers);S?u.canActivateChecks.push(new di(o)):(f.data=v.data,f._resolvedData=v._resolvedData),Or(p,l,f.component?T?T.children:null:s,o,u),S&&T&&T.outlet&&T.outlet.isActivated&&u.canDeactivateChecks.push(new sr(T.outlet.component,v))}else v&&po(l,T,u),u.canActivateChecks.push(new di(o)),Or(p,null,f.component?T?T.children:null:s,o,u)})(v,f[v.value.outlet],s,o.concat([v.value]),u),delete f[v.value.outlet]}),Object.entries(f).forEach(([v,T])=>po(T,s.getContext(v),u)),u}function po(p,l,s){const o=Ti(p),u=p.value;Object.entries(o).forEach(([f,v])=>{po(v,u.component?l?l.children.getContext(f):null:l,s)}),s.canDeactivateChecks.push(new sr(u.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,u))}function Qi(p){return"function"==typeof p}function mo(p){return p instanceof ie.G||"EmptyError"===p?.name}const qe=Symbol("INITIAL_VALUE");function hi(){return(0,Ue.n)(p=>(0,K.z)(p.map(l=>l.pipe((0,Qe.s)(1),(0,mt.Z)(qe)))).pipe((0,Ae.T)(l=>{for(const s of l)if(!0!==s){if(s===qe)return qe;if(!1===s||ar(s))return s}return!0}),(0,wt.p)(l=>l!==qe),(0,Qe.s)(1)))}function ar(p){return Et(p)||p instanceof Ao}function B(p){return(0,q.F)((0,We.M)(l=>{if("boolean"!=typeof l)throw Ir(0,l)}),(0,Ae.T)(l=>!0===l))}class pt{constructor(l){this.segmentGroup=l||null}}class Qt extends Error{constructor(l){super(),this.urlTree=l}}function ke(p){return(0,z.$)(new pt(p))}class ca{constructor(l,s){this.urlSerializer=l,this.urlTree=s}lineralizeSegments(l,s){let o=[],u=s.root;for(;;){if(o=o.concat(u.segments),0===u.numberOfChildren)return(0,U.of)(o);if(u.numberOfChildren>1||!u.children[Xe])return(0,z.$)(new d.wOt(4e3,!1));u=u.children[Xe]}}applyRedirectCommands(l,s,o,u,f){if("string"!=typeof s){const T=s,{queryParams:S,fragment:j,routeConfig:Q,url:ge,outlet:Ee,params:ot,data:ze,title:Ve}=u,$e=(0,d.N4e)(f,()=>T({params:ot,data:ze,queryParams:S,fragment:j,routeConfig:Q,url:ge,outlet:Ee,title:Ve}));if($e instanceof bn)throw new Qt($e);s=$e}const v=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),l,o);if("/"===s[0])throw new Qt(v);return v}applyRedirectCreateUrlTree(l,s,o,u){const f=this.createSegmentGroup(l,s.root,o,u);return new bn(f,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(l,s){const o={};return Object.entries(l).forEach(([u,f])=>{if("string"==typeof f&&":"===f[0]){const T=f.substring(1);o[u]=s[T]}else o[u]=f}),o}createSegmentGroup(l,s,o,u){const f=this.createSegments(l,s.segments,o,u);let v={};return Object.entries(s.children).forEach(([T,S])=>{v[T]=this.createSegmentGroup(l,S,o,u)}),new yt(f,v)}createSegments(l,s,o,u){return s.map(f=>":"===f.path[0]?this.findPosParam(l,f,u):this.findOrReturn(f,o))}findPosParam(l,s,o){const u=o[s.path.substring(1)];if(!u)throw new d.wOt(4001,!1);return u}findOrReturn(l,s){let o=0;for(const u of s){if(u.path===l.path)return s.splice(o),u;o++}return l}}const Hs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jt(p,l,s,o,u){const f=vs(p,l,s);return f.matched?(o=function Jt(p,l){return p.providers&&!p._injector&&(p._injector=(0,d.Ol2)(p.providers,l,`Route: ${p.path}`)),p._injector??l}(l,o),function je(p,l,s,o){const u=l.canMatch;if(!u||0===u.length)return(0,U.of)(!0);const f=u.map(v=>{const T=Gn(v,p);return Fn(function Qo(p){return p&&Qi(p.canMatch)}(T)?T.canMatch(l,s):(0,d.N4e)(p,()=>T(l,s)))});return(0,U.of)(f).pipe(hi(),B())}(o,l,s).pipe((0,Ae.T)(v=>!0===v?f:{...Hs}))):(0,U.of)(f)}function vs(p,l,s){if("**"===l.path)return function Xi(p){return{matched:!0,parameters:p.length>0?Fr(p).parameters:{},consumedSegments:p,remainingSegments:[],positionalParamSegments:{}}}(s);if(""===l.path)return"full"===l.pathMatch&&(p.hasChildren()||s.length>0)?{...Hs}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const u=(l.matcher||dn)(s,p,l);if(!u)return{...Hs};const f={};Object.entries(u.posParams??{}).forEach(([T,S])=>{f[T]=S.path});const v=u.consumed.length>0?{...f,...u.consumed[u.consumed.length-1].parameters}:f;return{matched:!0,consumedSegments:u.consumed,remainingSegments:s.slice(u.consumed.length),parameters:v,positionalParamSegments:u.posParams??{}}}function Xo(p,l,s,o){return s.length>0&&function zs(p,l,s){return s.some(o=>yo(p,l,o)&&ir(o)!==Xe)}(p,s,o)?{segmentGroup:new yt(l,_s(o,new yt(s,p.children))),slicedSegments:[]}:0===s.length&&function Cs(p,l,s){return s.some(o=>yo(p,l,o))}(p,s,o)?{segmentGroup:new yt(p.segments,Ba(p,s,o,p.children)),slicedSegments:s}:{segmentGroup:new yt(p.segments,p.children),slicedSegments:s}}function Ba(p,l,s,o){const u={};for(const f of s)if(yo(p,l,f)&&!o[ir(f)]){const v=new yt([],{});u[ir(f)]=v}return{...o,...u}}function _s(p,l){const s={};s[Xe]=l;for(const o of p)if(""===o.path&&ir(o)!==Xe){const u=new yt([],{});s[ir(o)]=u}return s}function yo(p,l,s){return(!(p.hasChildren()||l.length>0)||"full"!==s.pathMatch)&&""===s.path}class Zo{}class ws{constructor(l,s,o,u,f,v,T){this.injector=l,this.configLoader=s,this.rootComponentType=o,this.config=u,this.urlTree=f,this.paramsInheritanceStrategy=v,this.urlSerializer=T,this.applyRedirects=new ca(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(l){return new d.wOt(4002,`'${l.segmentGroup}'`)}recognize(){const l=Xo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(l).pipe((0,Ae.T)(({children:s,rootSnapshot:o})=>{const u=new _r(o,s),f=new uo("",u),v=function mn(p,l,s=null,o=null){return bi(Sn(p),l,s,o)}(o,[],this.urlTree.queryParams,this.urlTree.fragment);return v.queryParams=this.urlTree.queryParams,f.url=this.urlSerializer.serialize(v),{state:f,tree:v}}))}match(l){const s=new ci([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Xe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,l,Xe,s).pipe((0,Ae.T)(o=>({children:o,rootSnapshot:s})),(0,Z.W)(o=>{if(o instanceof Qt)return this.urlTree=o.urlTree,this.match(o.urlTree.root);throw o instanceof pt?this.noMatchError(o):o}))}processSegmentGroup(l,s,o,u,f){return 0===o.segments.length&&o.hasChildren()?this.processChildren(l,s,o,f):this.processSegment(l,s,o,o.segments,u,!0,f).pipe((0,Ae.T)(v=>v instanceof _r?[v]:[]))}processChildren(l,s,o,u){const f=[];for(const v of Object.keys(o.children))"primary"===v?f.unshift(v):f.push(v);return(0,F.H)(f).pipe((0,Ft.H)(v=>{const T=o.children[v],S=function Io(p,l){const s=p.filter(o=>ir(o)===l);return s.push(...p.filter(o=>ir(o)!==l)),s}(s,v);return this.processSegmentGroup(l,S,T,v,u)}),(0,ye.S)((v,T)=>(v.push(...T),v)),(0,Ze.U)(null),(0,se.H)(),(0,at.Z)(v=>{if(null===v)return ke(o);const T=Es(v);return function Yo(p){p.sort((l,s)=>l.value.outlet===Xe?-1:s.value.outlet===Xe?1:l.value.outlet.localeCompare(s.value.outlet))}(T),(0,U.of)(T)}))}processSegment(l,s,o,u,f,v,T){return(0,F.H)(s).pipe((0,Ft.H)(S=>this.processSegmentAgainstRoute(S._injector??l,s,S,o,u,f,v,T).pipe((0,Z.W)(j=>{if(j instanceof pt)return(0,U.of)(null);throw j}))),(0,lt.$)(S=>!!S),(0,Z.W)(S=>{if(mo(S))return function Gs(p,l,s){return 0===l.length&&!p.children[s]}(o,u,f)?(0,U.of)(new Zo):ke(o);throw S}))}processSegmentAgainstRoute(l,s,o,u,f,v,T,S){return ir(o)===v||v!==Xe&&yo(u,f,o)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(l,u,o,f,v,S):this.allowRedirects&&T?this.expandSegmentAgainstRouteUsingRedirect(l,u,s,o,f,v,S):ke(u):ke(u)}expandSegmentAgainstRouteUsingRedirect(l,s,o,u,f,v,T){const{matched:S,parameters:j,consumedSegments:Q,positionalParamSegments:ge,remainingSegments:Ee}=vs(s,u,f);if(!S)return ke(s);"string"==typeof u.redirectTo&&"/"===u.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ot=new ci(f,j,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ds(u),ir(u),u.component??u._loadedComponent??null,u,$a(u)),ze=li(ot,T,this.paramsInheritanceStrategy);ot.params=Object.freeze(ze.params),ot.data=Object.freeze(ze.data);const Ve=this.applyRedirects.applyRedirectCommands(Q,u.redirectTo,ge,ot,l);return this.applyRedirects.lineralizeSegments(u,Ve).pipe((0,at.Z)($e=>this.processSegment(l,o,s,$e.concat(Ee),v,!1,T)))}matchSegmentAgainstRoute(l,s,o,u,f,v){const T=jt(s,o,u,l);return"**"===o.path&&(s.children={}),T.pipe((0,Ue.n)(S=>S.matched?this.getChildConfig(l=o._injector??l,o,u).pipe((0,Ue.n)(({routes:j})=>{const Q=o._loadedInjector??l,{parameters:ge,consumedSegments:Ee,remainingSegments:ot}=S,ze=new ci(Ee,ge,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ds(o),ir(o),o.component??o._loadedComponent??null,o,$a(o)),Ve=li(ze,v,this.paramsInheritanceStrategy);ze.params=Object.freeze(Ve.params),ze.data=Object.freeze(Ve.data);const{segmentGroup:$e,slicedSegments:zt}=Xo(s,Ee,ot,j);if(0===zt.length&&$e.hasChildren())return this.processChildren(Q,j,$e,ze).pipe((0,Ae.T)(vn=>new _r(ze,vn)));if(0===j.length&&0===zt.length)return(0,U.of)(new _r(ze,[]));const On=ir(o)===f;return this.processSegment(Q,j,$e,zt,On?Xe:f,!0,ze).pipe((0,Ae.T)(vn=>new _r(ze,vn instanceof _r?[vn]:[])))})):ke(s)))}getChildConfig(l,s,o){return s.children?(0,U.of)({routes:s.children,injector:l}):s.loadChildren?void 0!==s._loadedRoutes?(0,U.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function I(p,l,s,o){const u=l.canLoad;if(void 0===u||0===u.length)return(0,U.of)(!0);const f=u.map(v=>{const T=Gn(v,p);return Fn(function sa(p){return p&&Qi(p.canLoad)}(T)?T.canLoad(l,s):(0,d.N4e)(p,()=>T(l,s)))});return(0,U.of)(f).pipe(hi(),B())}(l,s,o).pipe((0,at.Z)(u=>u?this.configLoader.loadChildren(l,s).pipe((0,We.M)(f=>{s._loadedRoutes=f.routes,s._loadedInjector=f.injector})):function $l(){return(0,z.$)(zn(!1,fn.GuardRejected))}())):(0,U.of)({routes:[],injector:l})}}function Zi(p){const l=p.value.routeConfig;return l&&""===l.path}function Es(p){const l=[],s=new Set;for(const o of p){if(!Zi(o)){l.push(o);continue}const u=l.find(f=>o.value.routeConfig===f.value.routeConfig);void 0!==u?(u.children.push(...o.children),s.add(u)):l.push(o)}for(const o of s){const u=Es(o.children);l.push(new _r(o.value,u))}return l.filter(o=>!s.has(o))}function Ds(p){return p.data||{}}function $a(p){return p.resolve||{}}function Wl(p){const l=p.children.map(s=>Wl(s)).flat();return[p,...l]}function Jo(p){return(0,Ue.n)(l=>{const s=p(l);return s?(0,F.H)(s).pipe((0,Ae.T)(()=>l)):(0,U.of)(l)})}let da=(()=>{class p{buildTitle(s){let o,u=s.root;for(;void 0!==u;)o=this.getResolvedTitleForRoute(u)??o,u=u.children.find(f=>f.outlet===Xe);return o}getResolvedTitleForRoute(s){return s.data[Rn]}static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:()=>(0,d.WQX)(Oi),providedIn:"root"})}}return p})(),Oi=(()=>{class p extends da{constructor(s){super(),this.title=s}updateTitle(s){const o=this.buildTitle(s);void 0!==o&&this.title.setTitle(o)}static{this.\u0275fac=function(o){return new(o||p)(d.KVO(pn.hE))}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();const Pi=new d.nKC("",{providedIn:"root",factory:()=>({})});let qs=(()=>{class p{static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275cmp=d.VBU({type:p,selectors:[["ng-component"]],standalone:!0,features:[d.aNF],decls:1,vars:0,template:function(o,u){1&o&&d.nrm(0,"router-outlet")},dependencies:[or],encapsulation:2})}}return p})();function nt(p){const l=p.children&&p.children.map(nt),s=l?{...p,children:l}:{...p};return!s.component&&!s.loadComponent&&(l||s.loadChildren)&&s.outlet&&s.outlet!==Xe&&(s.component=qs),s}const Dt=new d.nKC("");let Ha=(()=>{class p{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,d.WQX)(d.Ql9)}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,U.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const o=Fn(s.loadComponent()).pipe((0,Ae.T)(Ql),(0,We.M)(f=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=f}),(0,me.j)(()=>{this.componentLoaders.delete(s)})),u=new Ie.G(o,()=>new Se.B).pipe((0,Re.B)());return this.componentLoaders.set(s,u),u}loadChildren(s,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return(0,U.of)({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);const f=function ql(p,l,s,o){return Fn(p.loadChildren()).pipe((0,Ae.T)(Ql),(0,at.Z)(u=>u instanceof d.Co$||Array.isArray(u)?(0,U.of)(u):(0,F.H)(l.compileModuleAsync(u))),(0,Ae.T)(u=>{o&&o(p);let f,v,T=!1;return Array.isArray(u)?(v=u,!0):(f=u.create(s).injector,v=f.get(Dt,[],{optional:!0,self:!0}).flat()),{routes:v.map(nt),injector:f}}))}(o,this.compiler,s,this.onLoadEndListener).pipe((0,me.j)(()=>{this.childrenLoaders.delete(o)})),v=new Ie.G(f,()=>new Se.B).pipe((0,Re.B)());return this.childrenLoaders.set(o,v),v}static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();function Ql(p){return function Kl(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let Ks=(()=>{class p{static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:()=>(0,d.WQX)(Qs),providedIn:"root"})}}return p})(),Qs=(()=>{class p{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,o){return s}static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();const Ct=new d.nKC(""),bs=new d.nKC("");function ha(p,l,s){const o=p.get(bs),u=p.get(Be.qQ);return p.get(d.SKi).runOutsideAngular(()=>{if(!u.startViewTransition||o.skipNextTransition)return o.skipNextTransition=!1,new Promise(j=>setTimeout(j));let f;const v=new Promise(j=>{f=j}),T=u.startViewTransition(()=>(f(),function yn(p){return new Promise(l=>{(0,d.mal)({read:()=>setTimeout(l)},{injector:p})})}(p))),{onViewTransitionCreated:S}=o;return S&&(0,d.N4e)(p,()=>S({transition:T,from:l,to:s})),v})}const Xt=new d.nKC("");let Ai=(()=>{class p{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Se.B,this.transitionAbortSubject=new Se.B,this.configLoader=(0,d.WQX)(Ha),this.environmentInjector=(0,d.WQX)(d.uvJ),this.urlSerializer=(0,d.WQX)(Mi),this.rootContexts=(0,d.WQX)(ao),this.location=(0,d.WQX)(Be.aZ),this.inputBindingEnabled=null!==(0,d.WQX)(ui,{optional:!0}),this.titleStrategy=(0,d.WQX)(da),this.options=(0,d.WQX)(Pi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,d.WQX)(Ks),this.createViewTransition=(0,d.WQX)(Ct,{optional:!0}),this.navigationErrorHandler=(0,d.WQX)(Xt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,U.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=u=>this.events.next(new $t(u)),this.configLoader.onLoadStartListener=u=>this.events.next(new Bt(u))}complete(){this.transitions?.complete()}handleNavigationRequest(s){const o=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:o})}setupNavigations(s,o,u){return this.transitions=new H.t({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Tr,restoredState:null,currentSnapshot:u.snapshot,targetSnapshot:null,currentRouterState:u,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,wt.p)(f=>0!==f.id),(0,Ae.T)(f=>({...f,extractedUrl:this.urlHandlingStrategy.extract(f.rawUrl)})),(0,Ue.n)(f=>{let v=!1,T=!1;return(0,U.of)(f).pipe((0,Ue.n)(S=>{if(this.navigationId>f.id)return this.cancelNavigationTransition(f,"",fn.SupersededByNewNavigation),_e.w;this.currentTransition=f,this.currentNavigation={id:S.id,initialUrl:S.rawUrl,extractedUrl:S.extractedUrl,targetBrowserUrl:"string"==typeof S.extras.browserUrl?this.urlSerializer.parse(S.extras.browserUrl):S.extras.browserUrl,trigger:S.source,extras:S.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const j=!s.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!j&&"reload"!==(S.extras.onSameUrlNavigation??s.onSameUrlNavigation)){const ge="";return this.events.next(new L(S.id,this.urlSerializer.serialize(S.rawUrl),ge,P.IgnoredSameUrlNavigation)),S.resolve(!1),_e.w}if(this.urlHandlingStrategy.shouldProcessUrl(S.rawUrl))return(0,U.of)(S).pipe((0,Ue.n)(ge=>{const Ee=this.transitions?.getValue();return this.events.next(new ii(ge.id,this.urlSerializer.serialize(ge.extractedUrl),ge.source,ge.restoredState)),Ee!==this.transitions?.getValue()?_e.w:Promise.resolve(ge)}),function zl(p,l,s,o,u,f){return(0,at.Z)(v=>function Ws(p,l,s,o,u,f,v="emptyOnly"){return new ws(p,l,s,o,u,v,f).recognize()}(p,l,s,o,v.extractedUrl,u,f).pipe((0,Ae.T)(({state:T,tree:S})=>({...v,targetSnapshot:T,urlAfterRedirects:S}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,s.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,We.M)(ge=>{f.targetSnapshot=ge.targetSnapshot,f.urlAfterRedirects=ge.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ge.urlAfterRedirects};const Ee=new fe(ge.id,this.urlSerializer.serialize(ge.extractedUrl),this.urlSerializer.serialize(ge.urlAfterRedirects),ge.targetSnapshot);this.events.next(Ee)}));if(j&&this.urlHandlingStrategy.shouldProcessUrl(S.currentRawUrl)){const{id:ge,extractedUrl:Ee,source:ot,restoredState:ze,extras:Ve}=S,$e=new ii(ge,this.urlSerializer.serialize(Ee),ot,ze);this.events.next($e);const zt=Wo(this.rootComponentType).snapshot;return this.currentTransition=f={...S,targetSnapshot:zt,urlAfterRedirects:Ee,extras:{...Ve,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Ee,(0,U.of)(f)}{const ge="";return this.events.next(new L(S.id,this.urlSerializer.serialize(S.extractedUrl),ge,P.IgnoredByUrlHandlingStrategy)),S.resolve(!1),_e.w}}),(0,We.M)(S=>{const j=new Ce(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot);this.events.next(j)}),(0,Ae.T)(S=>(this.currentTransition=f={...S,guards:Ii(S.targetSnapshot,S.currentSnapshot,this.rootContexts)},f)),function aa(p,l){return(0,at.Z)(s=>{const{targetSnapshot:o,currentSnapshot:u,guards:{canActivateChecks:f,canDeactivateChecks:v}}=s;return 0===v.length&&0===f.length?(0,U.of)({...s,guardsResult:!0}):function $s(p,l,s,o){return(0,F.H)(p).pipe((0,at.Z)(u=>function y(p,l,s,o,u){const f=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,U.of)(!0);const v=f.map(T=>{const S=ai(l)??u,j=Gn(T,S);return Fn(function ms(p){return p&&Qi(p.canDeactivate)}(j)?j.canDeactivate(p,l,s,o):(0,d.N4e)(S,()=>j(p,l,s,o))).pipe((0,lt.$)())});return(0,U.of)(v).pipe(hi())}(u.component,u.route,s,l,o)),(0,lt.$)(u=>!0!==u,!0))}(v,o,u,p).pipe((0,at.Z)(T=>T&&function It(p){return"boolean"==typeof p}(T)?function ja(p,l,s,o){return(0,F.H)(l).pipe((0,Ft.H)(u=>(0,J.x)(function ys(p,l){return null!==p&&l&&l(new At(p)),(0,U.of)(!0)}(u.route.parent,o),function Pr(p,l){return null!==p&&l&&l(new Wt(p)),(0,U.of)(!0)}(u.route,o),function E(p,l,s){const o=l[l.length-1],f=l.slice(0,l.length-1).reverse().map(v=>function Ko(p){const l=p.routeConfig?p.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:p,guards:l}:null}(v)).filter(v=>null!==v).map(v=>(0,oe.v)(()=>{const T=v.guards.map(S=>{const j=ai(v.node)??s,Q=Gn(S,j);return Fn(function go(p){return p&&Qi(p.canActivateChild)}(Q)?Q.canActivateChild(o,p):(0,d.N4e)(j,()=>Q(o,p))).pipe((0,lt.$)())});return(0,U.of)(T).pipe(hi())}));return(0,U.of)(f).pipe(hi())}(p,u.path,s),function w(p,l,s){const o=l.routeConfig?l.routeConfig.canActivate:null;if(!o||0===o.length)return(0,U.of)(!0);const u=o.map(f=>(0,oe.v)(()=>{const v=ai(l)??s,T=Gn(f,v);return Fn(function In(p){return p&&Qi(p.canActivate)}(T)?T.canActivate(l,p):(0,d.N4e)(v,()=>T(l,p))).pipe((0,lt.$)())}));return(0,U.of)(u).pipe(hi())}(p,u.route,s))),(0,lt.$)(u=>!0!==u,!0))}(o,f,p,l):(0,U.of)(T)),(0,Ae.T)(T=>({...s,guardsResult:T})))})}(this.environmentInjector,S=>this.events.next(S)),(0,We.M)(S=>{if(f.guardsResult=S.guardsResult,S.guardsResult&&"boolean"!=typeof S.guardsResult)throw Ir(0,S.guardsResult);const j=new we(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot,!!S.guardsResult);this.events.next(j)}),(0,wt.p)(S=>!!S.guardsResult||(this.cancelNavigationTransition(S,"",fn.GuardRejected),!1)),Jo(S=>{if(S.guards.canActivateChecks.length)return(0,U.of)(S).pipe((0,We.M)(j=>{const Q=new Ge(j.id,this.urlSerializer.serialize(j.extractedUrl),this.urlSerializer.serialize(j.urlAfterRedirects),j.targetSnapshot);this.events.next(Q)}),(0,Ue.n)(j=>{let Q=!1;return(0,U.of)(j).pipe(function Gl(p,l){return(0,at.Z)(s=>{const{targetSnapshot:o,guards:{canActivateChecks:u}}=s;if(!u.length)return(0,U.of)(s);const f=new Set(u.map(S=>S.route)),v=new Set;for(const S of f)if(!v.has(S))for(const j of Wl(S))v.add(j);let T=0;return(0,F.H)(v).pipe((0,Ft.H)(S=>f.has(S)?function ua(p,l,s,o){const u=p.routeConfig,f=p._resolve;return void 0!==u?.title&&!Gi(u)&&(f[Rn]=u.title),function Ro(p,l,s,o){const u=xr(p);if(0===u.length)return(0,U.of)({});const f={};return(0,F.H)(u).pipe((0,at.Z)(v=>function Ms(p,l,s,o){const u=ai(l)??o,f=Gn(p,u);return Fn(f.resolve?f.resolve(l,s):(0,d.N4e)(u,()=>f(l,s)))}(p[v],l,s,o).pipe((0,lt.$)(),(0,We.M)(T=>{if(T instanceof Ao)throw Ir(new ni,T);f[v]=T}))),(0,Y.o)(1),(0,ce.u)(f),(0,Z.W)(v=>mo(v)?_e.w:(0,z.$)(v)))}(f,p,l,o).pipe((0,Ae.T)(v=>(p._resolvedData=v,p.data=li(p,p.parent,s).resolve,null)))}(S,o,p,l):(S.data=li(S,S.parent,p).resolve,(0,U.of)(void 0))),(0,We.M)(()=>T++),(0,Y.o)(1),(0,at.Z)(S=>T===v.size?(0,U.of)(s):_e.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,We.M)({next:()=>Q=!0,complete:()=>{Q||this.cancelNavigationTransition(j,"",fn.NoDataFromResolver)}}))}),(0,We.M)(j=>{const Q=new Fe(j.id,this.urlSerializer.serialize(j.extractedUrl),this.urlSerializer.serialize(j.urlAfterRedirects),j.targetSnapshot);this.events.next(Q)}))}),Jo(S=>{const j=Q=>{const ge=[];Q.routeConfig?.loadComponent&&!Q.routeConfig._loadedComponent&&ge.push(this.configLoader.loadComponent(Q.routeConfig).pipe((0,We.M)(Ee=>{Q.component=Ee}),(0,Ae.T)(()=>{})));for(const Ee of Q.children)ge.push(...j(Ee));return ge};return(0,K.z)(j(S.targetSnapshot.root)).pipe((0,Ze.U)(null),(0,Qe.s)(1))}),Jo(()=>this.afterPreactivation()),(0,Ue.n)(()=>{const{currentSnapshot:S,targetSnapshot:j}=f,Q=this.createViewTransition?.(this.environmentInjector,S.root,j.root);return Q?(0,F.H)(Q).pipe((0,Ae.T)(()=>f)):(0,U.of)(f)}),(0,Ae.T)(S=>{const j=function ps(p,l,s){const o=fo(p,l._root,s?s._root:void 0);return new $i(o,l)}(s.routeReuseStrategy,S.targetSnapshot,S.currentRouterState);return this.currentTransition=f={...S,targetRouterState:j},this.currentNavigation.targetRouterState=j,f}),(0,We.M)(()=>{this.events.next(new Ot)}),((p,l,s,o)=>(0,Ae.T)(u=>(new Kr(l,u.targetRouterState,u.currentRouterState,s,o).activate(p),u)))(this.rootContexts,s.routeReuseStrategy,S=>this.events.next(S),this.inputBindingEnabled),(0,Qe.s)(1),(0,We.M)({next:S=>{v=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wn(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects))),this.titleStrategy?.updateTitle(S.targetRouterState.snapshot),S.resolve(!0)},complete:()=>{v=!0}}),(0,et.Q)(this.transitionAbortSubject.pipe((0,We.M)(S=>{throw S}))),(0,me.j)(()=>{!v&&!T&&this.cancelNavigationTransition(f,"",fn.SupersededByNewNavigation),this.currentTransition?.id===f.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Z.W)(S=>{if(T=!0,xo(S))this.events.next(new V(f.id,this.urlSerializer.serialize(f.extractedUrl),S.message,S.cancellationCode)),function No(p){return xo(p)&&Et(p.url)}(S)?this.events.next(new En(S.url,S.navigationBehaviorOptions)):f.resolve(!1);else{const j=new ne(f.id,this.urlSerializer.serialize(f.extractedUrl),S,f.targetSnapshot??void 0);try{const Q=(0,d.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(j));if(Q instanceof Ao){const{message:ge,cancellationCode:Ee}=Ir(0,Q);this.events.next(new V(f.id,this.urlSerializer.serialize(f.extractedUrl),ge,Ee)),this.events.next(new En(Q.redirectTo,Q.navigationBehaviorOptions))}else{this.events.next(j);const ge=s.errorHandler(S);f.resolve(!!ge)}}catch(Q){this.options.resolveNavigationPromiseOnError?f.resolve(!1):f.reject(Q)}}return _e.w}))}))}cancelNavigationTransition(s,o,u){const f=new V(s.id,this.urlSerializer.serialize(s.extractedUrl),o,u);this.events.next(f),s.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const s=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return s.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();function vo(p){return p!==Tr}let es=(()=>{class p{static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:()=>(0,d.WQX)(m),providedIn:"root"})}}return p})();class fi{shouldDetach(l){return!1}store(l,s){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,s){return l.routeConfig===s.routeConfig}}let m=(()=>{class p extends fi{static{this.\u0275fac=(()=>{let s;return function(u){return(s||(s=d.xGo(p)))(u||p)}})()}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),b=(()=>{class p{static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:()=>(0,d.WQX)(_),providedIn:"root"})}}return p})(),_=(()=>{class p extends b{constructor(){super(...arguments),this.location=(0,d.WQX)(Be.aZ),this.urlSerializer=(0,d.WQX)(Mi),this.options=(0,d.WQX)(Pi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,d.WQX)(Ks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new bn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Wo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(s){return this.location.subscribe(o=>{"popstate"===o.type&&s(o.url,o.state)})}handleRouterEvent(s,o){if(s instanceof ii)this.stateMemento=this.createStateMemento();else if(s instanceof L)this.rawUrlTree=o.initialUrl;else if(s instanceof fe){if("eager"===this.urlUpdateStrategy&&!o.extras.skipLocationChange){const u=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??u,o)}}else s instanceof Ot?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&!o.extras.skipLocationChange&&this.setBrowserUrl(o.targetBrowserUrl??this.rawUrlTree,o)):s instanceof V&&(s.code===fn.GuardRejected||s.code===fn.NoDataFromResolver)?this.restoreHistory(o):s instanceof ne?this.restoreHistory(o,!0):s instanceof wn&&(this.lastSuccessfulId=s.id,this.currentPageId=this.browserPageId)}setBrowserUrl(s,o){const u=s instanceof bn?this.urlSerializer.serialize(s):s;if(this.location.isCurrentPathEqualTo(u)||o.extras.replaceUrl){const v={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId)};this.location.replaceState(u,"",v)}else{const f={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId+1)};this.location.go(u,"",f)}}restoreHistory(s,o=!1){if("computed"===this.canceledNavigationResolution){const f=this.currentPageId-this.browserPageId;0!==f?this.location.historyGo(f):this.currentUrlTree===s.finalUrl&&0===f&&(this.resetState(s),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(o&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,o){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:o}:{navigationId:s}}static{this.\u0275fac=(()=>{let s;return function(u){return(s||(s=d.xGo(p)))(u||p)}})()}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var M=function(p){return p[p.COMPLETE=0]="COMPLETE",p[p.FAILED=1]="FAILED",p[p.REDIRECTING=2]="REDIRECTING",p}(M||{});function x(p,l){p.events.pipe((0,wt.p)(s=>s instanceof wn||s instanceof V||s instanceof ne||s instanceof L),(0,Ae.T)(s=>s instanceof wn||s instanceof L?M.COMPLETE:s instanceof V&&(s.code===fn.Redirect||s.code===fn.SupersededByNewNavigation)?M.REDIRECTING:M.FAILED),(0,wt.p)(s=>s!==M.REDIRECTING),(0,Qe.s)(1)).subscribe(()=>{l()})}function te(p){throw p}const pe={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ne={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Mt=(()=>{class p{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,d.WQX)(d.H3F),this.stateManager=(0,d.WQX)(b),this.options=(0,d.WQX)(Pi,{optional:!0})||{},this.pendingTasks=(0,d.WQX)(d.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,d.WQX)(Ai),this.urlSerializer=(0,d.WQX)(Mi),this.location=(0,d.WQX)(Be.aZ),this.urlHandlingStrategy=(0,d.WQX)(Ks),this._events=new Se.B,this.errorHandler=this.options.errorHandler||te,this.navigated=!1,this.routeReuseStrategy=(0,d.WQX)(es),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,d.WQX)(Dt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,d.WQX)(ui,{optional:!0}),this.eventsSubscription=new Pe.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:s=>{this.console.warn(s)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const s=this.navigationTransitions.events.subscribe(o=>{try{const u=this.navigationTransitions.currentTransition,f=this.navigationTransitions.currentNavigation;if(null!==u&&null!==f)if(this.stateManager.handleRouterEvent(o,f),o instanceof V&&o.code!==fn.Redirect&&o.code!==fn.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof wn)this.navigated=!0;else if(o instanceof En){const v=o.navigationBehaviorOptions,T=this.urlHandlingStrategy.merge(o.url,u.currentRawUrl),S={browserUrl:u.extras.browserUrl,info:u.extras.info,skipLocationChange:u.extras.skipLocationChange,replaceUrl:u.extras.replaceUrl||"eager"===this.urlUpdateStrategy||vo(u.source),...v};this.scheduleNavigation(T,Tr,null,S,{resolve:u.resolve,reject:u.reject,promise:u.promise})}(function Ht(p){return!(p instanceof Ot||p instanceof En)})(o)&&this._events.next(o)}catch(u){this.navigationTransitions.transitionAbortSubject.next(u)}});this.eventsSubscription.add(s)}resetRootComponentType(s){this.routerState.root.component=s,this.navigationTransitions.rootComponentType=s}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Tr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((s,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(s,"popstate",o)},0)})}navigateToSyncWithBrowser(s,o,u){const f={replaceUrl:!0},v=u?.navigationId?u:null;if(u){const S={...u};delete S.navigationId,delete S.\u0275routerPageId,0!==Object.keys(S).length&&(f.state=S)}const T=this.parseUrl(s);this.scheduleNavigation(T,o,v,f)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(s){this.config=s.map(nt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(s,o={}){const{relativeTo:u,queryParams:f,fragment:v,queryParamsHandling:T,preserveFragment:S}=o,j=S?this.currentUrlTree.fragment:v;let ge,Q=null;switch(T??this.options.defaultQueryParamsHandling){case"merge":Q={...this.currentUrlTree.queryParams,...f};break;case"preserve":Q=this.currentUrlTree.queryParams;break;default:Q=f||null}null!==Q&&(Q=this.removeEmptyProps(Q));try{ge=Sn(u?u.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof s[0]||"/"!==s[0][0])&&(s=[]),ge=this.currentUrlTree.root}return bi(ge,s,Q,j??null)}navigateByUrl(s,o={skipLocationChange:!1}){const u=Et(s)?s:this.parseUrl(s),f=this.urlHandlingStrategy.merge(u,this.rawUrlTree);return this.scheduleNavigation(f,Tr,null,o)}navigate(s,o={skipLocationChange:!1}){return function ht(p){for(let l=0;l<p.length;l++)if(null==p[l])throw new d.wOt(4008,!1)}(s),this.navigateByUrl(this.createUrlTree(s,o),o)}serializeUrl(s){return this.urlSerializer.serialize(s)}parseUrl(s){try{return this.urlSerializer.parse(s)}catch{return this.urlSerializer.parse("/")}}isActive(s,o){let u;if(u=!0===o?{...pe}:!1===o?{...Ne}:o,Et(s))return Dn(this.currentUrlTree,s,u);const f=this.parseUrl(s);return Dn(this.currentUrlTree,f,u)}removeEmptyProps(s){return Object.entries(s).reduce((o,[u,f])=>(null!=f&&(o[u]=f),o),{})}scheduleNavigation(s,o,u,f,v){if(this.disposed)return Promise.resolve(!1);let T,S,j;v?(T=v.resolve,S=v.reject,j=v.promise):j=new Promise((ge,Ee)=>{T=ge,S=Ee});const Q=this.pendingTasks.add();return x(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Q))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:u,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:s,extras:f,resolve:T,reject:S,promise:j,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),j.catch(ge=>Promise.reject(ge))}static{this.\u0275fac=function(o){return new(o||p)}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),ve=(()=>{class p{constructor(s,o,u,f,v,T){this.router=s,this.route=o,this.tabIndexAttribute=u,this.renderer=f,this.el=v,this.locationStrategy=T,this.href=null,this.onChanges=new Se.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const S=v.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===S||"area"===S,this.isAnchorElement?this.subscription=s.events.subscribe(j=>{j instanceof wn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null==s?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Et(s)||Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0"))}onClick(s,o,u,f,v){const T=this.urlTree;return!!(null===T||this.isAnchorElement&&(0!==s||o||u||f||v||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(T,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const s=this.urlTree;this.href=null!==s&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(s)):null;const o=null===this.href?null:(0,d.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(s,o){const u=this.renderer,f=this.el.nativeElement;null!==o?u.setAttribute(f,s,o):u.removeAttribute(f,s)}get urlTree(){return null===this.routerLinkInput?null:Et(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(o){return new(o||p)(d.rXU(Mt),d.rXU(jn),d.kS0("tabindex"),d.rXU(d.sFG),d.rXU(d.aKT),d.rXU(Be.hb))}}static{this.\u0275dir=d.FsC({type:p,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,u){1&o&&d.bIt("click",function(v){return u.onClick(v.button,v.ctrlKey,v.shiftKey,v.altKey,v.metaKey)}),2&o&&d.BMQ("target",u.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",d.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",d.L39],replaceUrl:[2,"replaceUrl","replaceUrl",d.L39],routerLink:"routerLink"},standalone:!0,features:[d.GFd,d.OA$]})}}return p})();class ln{}let _o=(()=>{class p{constructor(s,o,u,f,v){this.router=s,this.injector=u,this.preloadingStrategy=f,this.loader=v}setUpPreloading(){this.subscription=this.router.events.pipe((0,wt.p)(s=>s instanceof wn),(0,Ft.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(s,o){const u=[];for(const f of o){f.providers&&!f._injector&&(f._injector=(0,d.Ol2)(f.providers,s,`Route: ${f.path}`));const v=f._injector??s,T=f._loadedInjector??v;(f.loadChildren&&!f._loadedRoutes&&void 0===f.canLoad||f.loadComponent&&!f._loadedComponent)&&u.push(this.preloadConfig(v,f)),(f.children||f._loadedRoutes)&&u.push(this.processRoutes(T,f.children??f._loadedRoutes))}return(0,F.H)(u).pipe((0,Ut.U)())}preloadConfig(s,o){return this.preloadingStrategy.preload(o,()=>{let u;u=o.loadChildren&&void 0===o.canLoad?this.loader.loadChildren(s,o):(0,U.of)(null);const f=u.pipe((0,at.Z)(v=>null===v?(0,U.of)(void 0):(o._loadedRoutes=v.routes,o._loadedInjector=v.injector,this.processRoutes(v.injector??s,v.routes))));if(o.loadComponent&&!o._loadedComponent){const v=this.loader.loadComponent(o);return(0,F.H)([f,v]).pipe((0,Ut.U)())}return f})}static{this.\u0275fac=function(o){return new(o||p)(d.KVO(Mt),d.KVO(d.Ql9),d.KVO(d.uvJ),d.KVO(ln),d.KVO(Ha))}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();const gi=new d.nKC("");let Qr=(()=>{class p{constructor(s,o,u,f,v={}){this.urlSerializer=s,this.transitions=o,this.viewportScroller=u,this.zone=f,this.options=v,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},v.scrollPositionRestoration||="disabled",v.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof ii?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof wn?(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment)):s instanceof L&&s.code===P.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof Tt&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Tt(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(o){d.QTQ()}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac})}}return p})();function Ar(p,l){return{\u0275kind:p,\u0275providers:l}}function Ts(){const p=(0,d.WQX)(d.zZn);return l=>{const s=p.get(d.o8S);if(l!==s.components[0])return;const o=p.get(Mt),u=p.get(ts);1===p.get($n)&&o.initialNavigation(),p.get(Zl,null,d.$GK.Optional)?.setUpPreloading(),p.get(gi,null,d.$GK.Optional)?.init(),o.resetRootComponentType(s.componentTypes[0]),u.closed||(u.next(),u.complete(),u.unsubscribe())}}const ts=new d.nKC("",{factory:()=>new Se.B}),$n=new d.nKC("",{providedIn:"root",factory:()=>1}),Zl=new d.nKC("");function Br(p){return Ar(0,[{provide:Zl,useExisting:_o},{provide:ln,useExisting:p}])}function Yi(p){return Ar(9,[{provide:Ct,useValue:ha},{provide:bs,useValue:{skipNextTransition:!!p?.skipInitialTransition,...p}}])}const yi=new d.nKC("ROUTER_FORROOT_GUARD"),Jl=[Be.aZ,{provide:Mi,useClass:ni},Mt,ao,{provide:jn,useFactory:function Xr(p){return p.routerState.root},deps:[Mt]},Ha,[]];let ga=(()=>{class p{constructor(s){}static forRoot(s,o){return{ngModule:p,providers:[Jl,[],{provide:Dt,multi:!0,useValue:s},{provide:yi,useFactory:Ji,deps:[[Mt,new d.Xx1,new d.kdw]]},{provide:Pi,useValue:o||{}},o?.useHash?{provide:Be.hb,useClass:Be.fw}:{provide:Be.hb,useClass:Be.Sm},{provide:gi,useFactory:()=>{const p=(0,d.WQX)(Be.Xr),l=(0,d.WQX)(d.SKi),s=(0,d.WQX)(Pi),o=(0,d.WQX)(Ai),u=(0,d.WQX)(Mi);return s.scrollOffset&&p.setOffset(s.scrollOffset),new Qr(u,o,p,l,s)}},o?.preloadingStrategy?Br(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?va(o):[],o?.bindToComponentInputs?Ar(8,[Po,{provide:ui,useExisting:Po}]).\u0275providers:[],o?.enableViewTransitions?Yi().\u0275providers:[],[{provide:Os,useFactory:Ts},{provide:d.iLQ,multi:!0,useExisting:Os}]]}}static forChild(s){return{ngModule:p,providers:[{provide:Dt,multi:!0,useValue:s}]}}static{this.\u0275fac=function(o){return new(o||p)(d.KVO(yi,8))}}static{this.\u0275mod=d.$C({type:p})}static{this.\u0275inj=d.G2t({})}}return p})();function Ji(p){return"guarded"}function va(p){return["disabled"===p.initialNavigation?Ar(3,[{provide:d.hnV,multi:!0,useFactory:()=>{const l=(0,d.WQX)(Mt);return()=>{l.setUpLocationChangeListener()}}},{provide:$n,useValue:2}]).\u0275providers:[],"enabledBlocking"===p.initialNavigation?Ar(2,[{provide:$n,useValue:0},{provide:d.hnV,multi:!0,deps:[d.zZn],useFactory:l=>{const s=l.get(Be.hj,Promise.resolve());return()=>s.then(()=>new Promise(o=>{const u=l.get(Mt),f=l.get(ts);x(u,()=>{o(!0)}),l.get(Ai).afterPreactivation=()=>(o(!0),f.closed?(0,U.of)(void 0):f),u.initialNavigation()}))}}]).\u0275providers:[]]}const Os=new d.nKC("")},4355:(le,G,N)=>{"use strict";N.d(G,{gB:()=>se});var d=N(3953),O=N(1562),F=N(6354),U=N(7343),H=N(6884);const q={80:"other",443:"other",2082:"cpanel",2083:"cpanel",2086:"whostmgr",2087:"whostmgr",2095:"webmail",2096:"webmail",9876:"unittest",9877:"unittest",9878:"unittest",9879:"unittest",frontend:"cpanel",webmail:"webmail"};class z{constructor(ce){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ce.protocol;let me=ce.port;me||(function K(Y){return/^https:$/i.test(Y)}(this.protocol)?me="443":function ie(Y){return/^http:$/i.test(Y)}(this.protocol)&&(me="80")),this.domain=ce.hostname,this.port=parseInt(me,10),this.path=ce.pathname;const Re=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?q[2087]:/^cpanel\./.test(this.domain)?q[2083]:/^webmail\./.test(this.domain)?q[2095]:q[me.toString()]||q[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 Ut=this.path.split("/");this.theme=Ut[3]}this.themePath="";let et=this.securityToken+"/";this.isUnprotected?et="/":this.isCpanel?et+="frontend/"+this.theme+"/":this.isWebmail?et+="webmail/"+this.theme+"/":this.isOther&&(et="/"),this.themePath=et,this.rootUrl=this.protocol+"//"+this.domain+":"+this.port}get isOther(){return/other/i.test(this.applicationName)}get isUnprotected(){return!this.securityToken&&-1!==this.unprotectedPaths.indexOf(function J(Y){return Y&&Y.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(ce){return this.themePath+ce}buildFullPath(ce){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ce)}buildTokenPath(ce){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ce}}class _e{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 Ie=N(3971),Se=N.n(Ie),Pe=N(6062),Be=N.n(Pe),Ae=function(Y){return Y[Y.Error=0]="Error",Y[Y.Warning=1]="Warning",Y[Y.Information=2]="Information",Y[Y.Unknown=3]="Unknown",Y}(Ae||{});const Ue={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class mt{constructor(ce,me){if(this.status=0,this.messages=[],this.meta=function Qe(Y){return JSON.parse(JSON.stringify(Y))}(Ue),this.options={keepUnprocessedResponse:!1},Se()(ce)||Be()(ce))throw new Error("The response was unexpectedly undefined or null");me&&(this.options=me),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ce)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ce){return this.messages.filter(me=>me.type===ce)}get errors(){return this._getMessages(Ae.Error)}get warnings(){return this._getMessages(Ae.Warning)}get infoMessages(){return this._getMessages(Ae.Information)}_hasMessages(ce){return this.messages.filter(me=>me.type===ce).length>0}get hasErrors(){return this._hasMessages(Ae.Error)}get hasWarnings(){return this._hasMessages(Ae.Warning)}get hasInfoMessages(){return this._hasMessages(Ae.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class wt{constructor(ce){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={},ce.chunk&&(this.isPaged=!0,this.record=parseInt(ce.chunk.start,10)||0,this.page=parseInt(ce.chunk.current,10)||0,this.pageSize=parseInt(ce.chunk.size,10)||0,this.totalPages=parseInt(ce.chunk.chunks,10)||0,this.totalRecords=parseInt(ce.chunk.records,10)||0),ce.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ce.filter.filtered,10)||0);const me=new Set(["paginate","filter"]);Object.keys(ce).filter(Re=>!me.has(Re)).forEach(Re=>{this.properties[Re]=ce[Re]})}}class at extends mt{_parseStatus(ce){if(this.status=0,typeof ce.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ce.result,10)}_parseMessages(ce){if(!ce.result){const me=[ce.reason];me&&me.length&&me.forEach(Re=>{this.messages.push({type:Ae.Error,message:Re})})}}_reduce_list_data(ce){if("object"==typeof ce&&!(ce instanceof Array)){const me=Object.keys(ce);if(1===me.length){const Re=ce[me[0]];Re?Re instanceof Array&&(ce=Re):ce=[]}}return ce}constructor(ce,me){if(super(ce,me),!ce)throw new Error("Response object should be defined.");ce.metadata&&(this._parseStatus(ce.metadata),this._parseMessages(ce.metadata),this.meta=new wt(ce.metadata)),this.data=this._reduce_list_data(ce.data)}}let se=(()=>{class Y{constructor(me){this.http=me}get(me){const Re=me.generate({verb:U.o.GET,encoder:new H.CY}),et=this.packageUrl(Re);return this.http.get(et,{headers:this.packageHeaders(Re)}).pipe((0,F.T)(this.packageResponseHandler(et)))}post(me){const Re=me.generate(),et=this.packageUrl(Re);return this.http.post(et,Re.body,{headers:this.packageHeaders(Re)}).pipe((0,F.T)(this.packageResponseHandler(et)))}packageHeaders(me){const Re={};return me.headers.forEach(et=>{Re[et.name]=et.value}),new O.Lr(Re)}packageUrl(me){return new z(new _e).buildTokenPath(me.url)}packageResponseHandler(me){return Re=>{const et=new at(Re);return et.meta.properties.url=me,et}}static{this.\u0275fac=function(Re){return new(Re||Y)(d.KVO(O.Qq))}}static{this.\u0275prov=d.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}}return Y})()},8658:(le,G,N)=>{"use strict";N.d(G,{B:()=>H});var d=N(3953),O=N(6381);const F=new d.nKC("window"),U=K=>new O.h(K.CLDR,K.LEXICON);let H=(()=>{class K{static{this.\u0275fac=function(oe){return new(oe||K)}}static{this.\u0275mod=d.$C({type:K})}static{this.\u0275inj=d.G2t({providers:[{provide:F,useValue:window},{provide:O.h,useFactory:U,deps:[F]}]})}}return K})()},389:(le,G,N)=>{"use strict";N.d(G,{C7:()=>Xr,pt:()=>Ar,kj:()=>Ur,Ab:()=>Zl,sb:()=>Br,Zi:()=>es,uE:()=>vo,GV:()=>pi,jM:()=>_o,br:()=>Wa,Qg:()=>Xs,eK:()=>ec,x6:()=>tc,Sy:()=>za,tq:()=>Is,Jr:()=>fa,pv:()=>mi,CK:()=>jr,ho:()=>Ss});var d=N(3953),O=N(177),F=N(1413),U=N(5964),H=N(6977),K=N(152),ie=N(3294),J=N(9417),oe=N(8658),q=N(6381),z=N(9969),_e=N(345);function Se(l){return new d.wOt(3e3,!1)}function Ln(l){switch(l.length){case 0:return new z.sf;case 1:return l[0];default:return new z.ui(l)}}function Mn(l,s,o=new Map,u=new Map){const f=[],v=[];let T=-1,S=null;if(s.forEach(j=>{const Q=j.get("offset"),ge=Q==T,Ee=ge&&S||new Map;j.forEach((ot,ze)=>{let Ve=ze,$e=ot;if("offset"!==ze)switch(Ve=l.normalizePropertyName(Ve,f),$e){case z.FX:$e=o.get(ze);break;case z.kp:$e=u.get(ze);break;default:$e=l.normalizeStyleValue(ze,Ve,$e,f)}Ee.set(Ve,$e)}),ge||v.push(Ee),S=Ee,T=Q}),f.length)throw function Rn(){return new d.wOt(3502,!1)}();return v}function dr(l,s,o,u){switch(s){case"start":l.onStart(()=>u(o&&Vn(o,"start",l)));break;case"done":l.onDone(()=>u(o&&Vn(o,"done",l)));break;case"destroy":l.onDestroy(()=>u(o&&Vn(o,"destroy",l)))}}function Vn(l,s,o){const v=hr(l.element,l.triggerName,l.fromState,l.toState,s||l.phaseName,o.totalTime??l.totalTime,!!o.disabled),T=l._data;return null!=T&&(v._data=T),v}function hr(l,s,o,u,f="",v=0,T){return{element:l,triggerName:s,fromState:o,toState:u,phaseName:f,totalTime:v,disabled:!!T}}function Kt(l,s,o){let u=l.get(s);return u||l.set(s,u=o),u}function bn(l){const s=l.indexOf(":");return[l.substring(1,s),l.slice(s+1)]}const yt=typeof document>"u"?null:document.documentElement;function Hn(l){const s=l.parentNode||l.host||null;return s===yt?null:s}let rt=null,De=!1;function gr(l,s){for(;s;){if(s===l)return!0;s=Hn(s)}return!1}function gn(l,s,o){if(o)return Array.from(l.querySelectorAll(s));const u=l.querySelector(s);return u?[u]:[]}let kt=(()=>{class l{validateStyleProperty(o){return function Mi(l){rt||(rt=function pr(){return typeof document<"u"?document.body:null}()||{},De=!!rt.style&&"WebkitAppearance"in rt.style);let s=!0;return rt.style&&!function fr(l){return"ebkit"==l.substring(1,6)}(l)&&(s=l in rt.style,!s&&De&&(s="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in rt.style)),s}(o)}containsElement(o,u){return gr(o,u)}getParentElement(o){return Hn(o)}query(o,u,f){return gn(o,u,f)}computeStyle(o,u,f){return f||""}animate(o,u,f,v,T,S=[],j){return new z.sf(f,v)}static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275prov=d.jDH({token:l,factory:l.\u0275fac})}}return l})();class Ui{static{this.NOOP=new kt}}class ft{}const ri=1e3,mr="ng-enter",Jn="ng-leave",hn="ng-trigger",Un=".ng-trigger",re="ng-animating",ee=".ng-animating";function R(l){if("number"==typeof l)return l;const s=l.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:W(parseFloat(s[1]),s[2])}function W(l,s){return"s"===s?l*ri:l}function ue(l,s,o){return l.hasOwnProperty("duration")?l:function xe(l,s,o){let f,v=0,T="";if("string"==typeof l){const S=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===S)return s.push(Se()),{duration:0,delay:0,easing:""};f=W(parseFloat(S[1]),S[2]);const j=S[3];null!=j&&(v=W(parseFloat(j),S[4]));const Q=S[5];Q&&(T=Q)}else f=l;if(!o){let S=!1,j=s.length;f<0&&(s.push(function Pe(){return new d.wOt(3100,!1)}()),S=!0),v<0&&(s.push(function Be(){return new d.wOt(3101,!1)}()),S=!0),S&&s.splice(j,0,Se())}return{duration:f,delay:v,easing:T}}(l,s,o)}function St(l,s,o){s.forEach((u,f)=>{const v=Do(f);o&&!o.has(f)&&o.set(f,l.style[v]),l.style[v]=u})}function Et(l,s){s.forEach((o,u)=>{const f=Do(u);l.style[f]=""})}function mn(l){return Array.isArray(l)?1==l.length?l[0]:(0,z.K2)(l):l}const bi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Wr(l){let s=[];if("string"==typeof l){let o;for(;o=bi.exec(l);)s.push(o[1]);bi.lastIndex=0}return s}function yr(l,s,o){const u=`${l}`,f=u.replace(bi,(v,T)=>{let S=s[T];return null==S&&(o.push(function Ue(){return new d.wOt(3003,!1)}()),S=""),S.toString()});return f==u?l:f}const ji=/-+([a-z0-9])/g;function Do(l){return l.replace(ji,(...s)=>s[1].toUpperCase())}function rn(l,s,o){switch(s.type){case z.If.Trigger:return l.visitTrigger(s,o);case z.If.State:return l.visitState(s,o);case z.If.Transition:return l.visitTransition(s,o);case z.If.Sequence:return l.visitSequence(s,o);case z.If.Group:return l.visitGroup(s,o);case z.If.Animate:return l.visitAnimate(s,o);case z.If.Keyframes:return l.visitKeyframes(s,o);case z.If.Style:return l.visitStyle(s,o);case z.If.Reference:return l.visitReference(s,o);case z.If.AnimateChild:return l.visitAnimateChild(s,o);case z.If.AnimateRef:return l.visitAnimateRef(s,o);case z.If.Query:return l.visitQuery(s,o);case z.If.Stagger:return l.visitStagger(s,o);default:throw function Qe(){return new d.wOt(3004,!1)}()}}function tr(l,s){return window.getComputedStyle(l)[s]}const kr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Lr extends ft{normalizePropertyName(s,o){return Do(s)}normalizeStyleValue(s,o,u,f){let v="";const T=u.toString().trim();if(kr.has(o)&&0!==u&&"0"!==u)if("number"==typeof u)v="px";else{const S=u.match(/^[+-]?[\d\.]+([a-z]*)$/);S&&0==S[1].length&&f.push(function mt(){return new d.wOt(3005,!1)}())}return T+v}}const Tr="*";const wn=new Set(["true","1"]),fn=new Set(["false","0"]);function P(l,s){const o=wn.has(l)||fn.has(l),u=wn.has(s)||fn.has(s);return(f,v)=>{let T=l==Tr||l==f,S=s==Tr||s==v;return!T&&o&&"boolean"==typeof f&&(T=f?wn.has(l):fn.has(l)),!S&&u&&"boolean"==typeof v&&(S=v?wn.has(s):fn.has(s)),T&&S}}const V=":self",L=new RegExp(`s*${V}s*,?`,"g");function ne(l,s,o,u){return new Ce(l).build(s,o,u)}class Ce{constructor(s){this._driver=s}build(s,o,u){const f=new Fe(o);return this._resetContextStyleTimingState(f),rn(this,mn(s),f)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles=new Map,s.collectedStyles.set("",new Map),s.currentTime=0}visitTrigger(s,o){let u=o.queryCount=0,f=o.depCount=0;const v=[],T=[];return"@"==s.name.charAt(0)&&o.errors.push(function wt(){return new d.wOt(3006,!1)}()),s.definitions.forEach(S=>{if(this._resetContextStyleTimingState(o),S.type==z.If.State){const j=S,Q=j.name;Q.toString().split(/\s*,\s*/).forEach(ge=>{j.name=ge,v.push(this.visitState(j,o))}),j.name=Q}else if(S.type==z.If.Transition){const j=this.visitTransition(S,o);u+=j.queryCount,f+=j.depCount,T.push(j)}else o.errors.push(function at(){return new d.wOt(3007,!1)}())}),{type:z.If.Trigger,name:s.name,states:v,transitions:T,queryCount:u,depCount:f,options:null}}visitState(s,o){const u=this.visitStyle(s.styles,o),f=s.options&&s.options.params||null;if(u.containsDynamicStyles){const v=new Set,T=f||{};u.styles.forEach(S=>{S instanceof Map&&S.forEach(j=>{Wr(j).forEach(Q=>{T.hasOwnProperty(Q)||v.add(Q)})})}),v.size&&o.errors.push(function lt(){return new d.wOt(3008,!1)}(0,v.values()))}return{type:z.If.State,name:s.name,style:u,options:f?{params:f}:null}}visitTransition(s,o){o.queryCount=0,o.depCount=0;const u=rn(this,mn(s.animation),o),f=function dt(l,s){const o=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach(u=>function on(l,s,o){if(":"==l[0]){const j=function ii(l,s){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,u)=>parseFloat(u)>parseFloat(o);case":decrement":return(o,u)=>parseFloat(u)<parseFloat(o);default:return s.push(function et(){return new d.wOt(3016,!1)}()),"* => *"}}(l,o);if("function"==typeof j)return void s.push(j);l=j}const u=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==u||u.length<4)return o.push(function Re(){return new d.wOt(3015,!1)}()),s;const f=u[1],v=u[2],T=u[3];s.push(P(f,T)),"<"==v[0]&&(f!=Tr||T!=Tr)&&s.push(P(T,f))}(u,o,s)):o.push(l),o}(s.expr,o.errors);return{type:z.If.Transition,matchers:f,animation:u,queryCount:o.queryCount,depCount:o.depCount,options:At(s.options)}}visitSequence(s,o){return{type:z.If.Sequence,steps:s.steps.map(u=>rn(this,u,o)),options:At(s.options)}}visitGroup(s,o){const u=o.currentTime;let f=0;const v=s.steps.map(T=>{o.currentTime=u;const S=rn(this,T,o);return f=Math.max(f,o.currentTime),S});return o.currentTime=f,{type:z.If.Group,steps:v,options:At(s.options)}}visitAnimate(s,o){const u=function $t(l,s){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return tn(ue(l,s).duration,0,"");const o=l;if(o.split(/\s+/).some(v=>"{"==v.charAt(0)&&"{"==v.charAt(1))){const v=tn(0,0,"");return v.dynamic=!0,v.strValue=o,v}const f=ue(o,s);return tn(f.duration,f.delay,f.easing)}(s.timings,o.errors);o.currentAnimateTimings=u;let f,v=s.styles?s.styles:(0,z.iF)({});if(v.type==z.If.Keyframes)f=this.visitKeyframes(v,o);else{let T=s.styles,S=!1;if(!T){S=!0;const Q={};u.easing&&(Q.easing=u.easing),T=(0,z.iF)(Q)}o.currentTime+=u.duration+u.delay;const j=this.visitStyle(T,o);j.isEmptyStep=S,f=j}return o.currentAnimateTimings=null,{type:z.If.Animate,timings:u,style:f,options:null}}visitStyle(s,o){const u=this._makeStyleAst(s,o);return this._validateStyleAst(u,o),u}_makeStyleAst(s,o){const u=[],f=Array.isArray(s.styles)?s.styles:[s.styles];for(let S of f)"string"==typeof S?S===z.kp?u.push(S):o.errors.push(new d.wOt(3002,!1)):u.push(new Map(Object.entries(S)));let v=!1,T=null;return u.forEach(S=>{if(S instanceof Map&&(S.has("easing")&&(T=S.get("easing"),S.delete("easing")),!v))for(let j of S.values())if(j.toString().indexOf("{{")>=0){v=!0;break}}),{type:z.If.Style,styles:u,easing:T,offset:s.offset,containsDynamicStyles:v,options:null}}_validateStyleAst(s,o){const u=o.currentAnimateTimings;let f=o.currentTime,v=o.currentTime;u&&v>0&&(v-=u.duration+u.delay),s.styles.forEach(T=>{"string"!=typeof T&&T.forEach((S,j)=>{const Q=o.collectedStyles.get(o.currentQuerySelector),ge=Q.get(j);let Ee=!0;ge&&(v!=f&&v>=ge.startTime&&f<=ge.endTime&&(o.errors.push(function Z(){return new d.wOt(3010,!1)}()),Ee=!1),v=ge.startTime),Ee&&Q.set(j,{startTime:v,endTime:f}),o.options&&function Sn(l,s,o){const u=s.params||{},f=Wr(l);f.length&&f.forEach(v=>{u.hasOwnProperty(v)||o.push(function Ae(){return new d.wOt(3001,!1)}())})}(S,o.options,o.errors)})})}visitKeyframes(s,o){const u={type:z.If.Keyframes,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(function ye(){return new d.wOt(3011,!1)}()),u;let v=0;const T=[];let S=!1,j=!1,Q=0;const ge=s.steps.map(On=>{const vn=this._makeStyleAst(On,o);let Ye=null!=vn.offset?vn.offset:function Bt(l){if("string"==typeof l)return null;let s=null;if(Array.isArray(l))l.forEach(o=>{if(o instanceof Map&&o.has("offset")){const u=o;s=parseFloat(u.get("offset")),u.delete("offset")}});else if(l instanceof Map&&l.has("offset")){const o=l;s=parseFloat(o.get("offset")),o.delete("offset")}return s}(vn.styles),Nt=0;return null!=Ye&&(v++,Nt=vn.offset=Ye),j=j||Nt<0||Nt>1,S=S||Nt<Q,Q=Nt,T.push(Nt),vn});j&&o.errors.push(function Ze(){return new d.wOt(3012,!1)}()),S&&o.errors.push(function se(){return new d.wOt(3200,!1)}());const Ee=s.steps.length;let ot=0;v>0&&v<Ee?o.errors.push(function Y(){return new d.wOt(3202,!1)}()):0==v&&(ot=1/(Ee-1));const ze=Ee-1,Ve=o.currentTime,$e=o.currentAnimateTimings,zt=$e.duration;return ge.forEach((On,vn)=>{const Ye=ot>0?vn==ze?1:ot*vn:T[vn],Nt=Ye*zt;o.currentTime=Ve+$e.delay+Nt,$e.duration=Nt,this._validateStyleAst(On,o),On.offset=Ye,u.styles.push(On)}),u}visitReference(s,o){return{type:z.If.Reference,animation:rn(this,mn(s.animation),o),options:At(s.options)}}visitAnimateChild(s,o){return o.depCount++,{type:z.If.AnimateChild,options:At(s.options)}}visitAnimateRef(s,o){return{type:z.If.AnimateRef,animation:this.visitReference(s.animation,o),options:At(s.options)}}visitQuery(s,o){const u=o.currentQuerySelector,f=s.options||{};o.queryCount++,o.currentQuery=s;const[v,T]=function we(l){const s=!!l.split(/\s*,\s*/).find(o=>o==V);return s&&(l=l.replace(L,"")),l=l.replace(/@\*/g,Un).replace(/@\w+/g,o=>Un+"-"+o.slice(1)).replace(/:animating/g,ee),[l,s]}(s.selector);o.currentQuerySelector=u.length?u+" "+v:v,Kt(o.collectedStyles,o.currentQuerySelector,new Map);const S=rn(this,mn(s.animation),o);return o.currentQuery=null,o.currentQuerySelector=u,{type:z.If.Query,selector:v,limit:f.limit||0,optional:!!f.optional,includeSelf:T,animation:S,originalSelector:s.selector,options:At(s.options)}}visitStagger(s,o){o.currentQuery||o.errors.push(function ce(){return new d.wOt(3013,!1)}());const u="full"===s.timings?{duration:0,delay:0,easing:"full"}:ue(s.timings,o.errors,!0);return{type:z.If.Stagger,animation:rn(this,mn(s.animation),o),timings:u,options:null}}}class Fe{constructor(s){this.errors=s,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function At(l){return l?(l={...l}).params&&(l.params=function Ge(l){return l?{...l}:null}(l.params)):l={},l}function tn(l,s,o){return{duration:l,delay:s,easing:o}}function Wt(l,s,o,u,f,v,T=null,S=!1){return{type:1,element:l,keyframes:s,preStyleProps:o,postStyleProps:u,duration:f,delay:v,totalTime:f+v,easing:T,subTimeline:S}}class sn{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,o){let u=this._map.get(s);u||this._map.set(s,u=[]),u.push(...o)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const En=new RegExp(":enter","g"),Jt=new RegExp(":leave","g");function rr(l,s,o,u,f,v=new Map,T=new Map,S,j,Q=[]){return(new So).buildKeyframes(l,s,o,u,f,v,T,S,j,Q)}class So{buildKeyframes(s,o,u,f,v,T,S,j,Q,ge=[]){Q=Q||new sn;const Ee=new oi(s,o,Q,f,v,ge,[]);Ee.options=j;const ot=j.delay?R(j.delay):0;Ee.currentTimeline.delayNextStep(ot),Ee.currentTimeline.setStyles([T],null,Ee.errors,j),rn(this,u,Ee);const ze=Ee.timelines.filter(Ve=>Ve.containsAnimation());if(ze.length&&S.size){let Ve;for(let $e=ze.length-1;$e>=0;$e--){const zt=ze[$e];if(zt.element===o){Ve=zt;break}}Ve&&!Ve.allowOnlyTimelineStyles()&&Ve.setStyles([S],null,Ee.errors,j)}return ze.length?ze.map(Ve=>Ve.buildKeyframes()):[Wt(o,[],[],[],0,ot,"",!1)]}visitTrigger(s,o){}visitState(s,o){}visitTransition(s,o){}visitAnimateChild(s,o){const u=o.subInstructions.get(o.element);if(u){const f=o.createSubContext(s.options),v=o.currentTimeline.currentTime,T=this._visitSubInstructions(u,f,f.options);v!=T&&o.transformIntoNewTimeline(T)}o.previousNode=s}visitAnimateRef(s,o){const u=o.createSubContext(s.options);u.transformIntoNewTimeline(),this._applyAnimationRefDelays([s.options,s.animation.options],o,u),this.visitReference(s.animation,u),o.transformIntoNewTimeline(u.currentTimeline.currentTime),o.previousNode=s}_applyAnimationRefDelays(s,o,u){for(const f of s){const v=f?.delay;if(v){const T="number"==typeof v?v:R(yr(v,f?.params??{},o.errors));u.delayNextStep(T)}}}_visitSubInstructions(s,o,u){let v=o.currentTimeline.currentTime;const T=null!=u.duration?R(u.duration):null,S=null!=u.delay?R(u.delay):null;return 0!==T&&s.forEach(j=>{const Q=o.appendInstructionToTimeline(j,T,S);v=Math.max(v,Q.duration+Q.delay)}),v}visitReference(s,o){o.updateOptions(s.options,!0),rn(this,s.animation,o),o.previousNode=s}visitSequence(s,o){const u=o.subContextCount;let f=o;const v=s.options;if(v&&(v.params||v.delay)&&(f=o.createSubContext(v),f.transformIntoNewTimeline(),null!=v.delay)){f.previousNode.type==z.If.Style&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=vr);const T=R(v.delay);f.delayNextStep(T)}s.steps.length&&(s.steps.forEach(T=>rn(this,T,f)),f.currentTimeline.applyStylesToKeyframe(),f.subContextCount>u&&f.transformIntoNewTimeline()),o.previousNode=s}visitGroup(s,o){const u=[];let f=o.currentTimeline.currentTime;const v=s.options&&s.options.delay?R(s.options.delay):0;s.steps.forEach(T=>{const S=o.createSubContext(s.options);v&&S.delayNextStep(v),rn(this,T,S),f=Math.max(f,S.currentTimeline.currentTime),u.push(S.currentTimeline)}),u.forEach(T=>o.currentTimeline.mergeTimelineCollectedStyles(T)),o.transformIntoNewTimeline(f),o.previousNode=s}_visitTiming(s,o){if(s.dynamic){const u=s.strValue;return ue(o.params?yr(u,o.params,o.errors):u,o.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,o){const u=o.currentAnimateTimings=this._visitTiming(s.timings,o),f=o.currentTimeline;u.delay&&(o.incrementTime(u.delay),f.snapshotCurrentStyles());const v=s.style;v.type==z.If.Keyframes?this.visitKeyframes(v,o):(o.incrementTime(u.duration),this.visitStyle(v,o),f.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=s}visitStyle(s,o){const u=o.currentTimeline,f=o.currentAnimateTimings;!f&&u.hasCurrentStyleProperties()&&u.forwardFrame();const v=f&&f.easing||s.easing;s.isEmptyStep?u.applyEmptyStep(v):u.setStyles(s.styles,v,o.errors,o.options),o.previousNode=s}visitKeyframes(s,o){const u=o.currentAnimateTimings,f=o.currentTimeline.duration,v=u.duration,S=o.createSubContext().currentTimeline;S.easing=u.easing,s.styles.forEach(j=>{S.forwardTime((j.offset||0)*v),S.setStyles(j.styles,j.easing,o.errors,o.options),S.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(S),o.transformIntoNewTimeline(f+v),o.previousNode=s}visitQuery(s,o){const u=o.currentTimeline.currentTime,f=s.options||{},v=f.delay?R(f.delay):0;v&&(o.previousNode.type===z.If.Style||0==u&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=vr);let T=u;const S=o.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!f.optional,o.errors);o.currentQueryTotal=S.length;let j=null;S.forEach((Q,ge)=>{o.currentQueryIndex=ge;const Ee=o.createSubContext(s.options,Q);v&&Ee.delayNextStep(v),Q===o.element&&(j=Ee.currentTimeline),rn(this,s.animation,Ee),Ee.currentTimeline.applyStylesToKeyframe(),T=Math.max(T,Ee.currentTimeline.currentTime)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(T),j&&(o.currentTimeline.mergeTimelineCollectedStyles(j),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=s}visitStagger(s,o){const u=o.parentContext,f=o.currentTimeline,v=s.timings,T=Math.abs(v.duration),S=T*(o.currentQueryTotal-1);let j=T*o.currentQueryIndex;switch(v.duration<0?"reverse":v.easing){case"reverse":j=S-j;break;case"full":j=u.currentStaggerTime}const ge=o.currentTimeline;j&&ge.delayNextStep(j);const Ee=ge.currentTime;rn(this,s.animation,o),o.previousNode=s,u.currentStaggerTime=f.currentTime-Ee+(f.startTime-u.currentTimeline.startTime)}}const vr={};class oi{constructor(s,o,u,f,v,T,S,j){this._driver=s,this.element=o,this.subInstructions=u,this._enterClassName=f,this._leaveClassName=v,this.errors=T,this.timelines=S,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=j||new si(this._driver,o,0),S.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,o){if(!s)return;const u=s;let f=this.options;null!=u.duration&&(f.duration=R(u.duration)),null!=u.delay&&(f.delay=R(u.delay));const v=u.params;if(v){let T=f.params;T||(T=this.options.params={}),Object.keys(v).forEach(S=>{(!o||!T.hasOwnProperty(S))&&(T[S]=yr(v[S],T,this.errors))})}}_copyOptions(){const s={};if(this.options){const o=this.options.params;if(o){const u=s.params={};Object.keys(o).forEach(f=>{u[f]=o[f]})}}return s}createSubContext(s=null,o,u){const f=o||this.element,v=new oi(this._driver,f,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(f,u||0));return v.previousNode=this.previousNode,v.currentAnimateTimings=this.currentAnimateTimings,v.options=this._copyOptions(),v.updateOptions(s),v.currentQueryIndex=this.currentQueryIndex,v.currentQueryTotal=this.currentQueryTotal,v.parentContext=this,this.subContextCount++,v}transformIntoNewTimeline(s){return this.previousNode=vr,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,o,u){const f={duration:o??s.duration,delay:this.currentTimeline.currentTime+(u??0)+s.delay,easing:""},v=new To(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,f,s.stretchStartingKeyframe);return this.timelines.push(v),f}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,o,u,f,v,T){let S=[];if(f&&S.push(this.element),s.length>0){s=(s=s.replace(En,"."+this._enterClassName)).replace(Jt,"."+this._leaveClassName);let Q=this._driver.query(this.element,s,1!=u);0!==u&&(Q=u<0?Q.slice(Q.length+u,Q.length):Q.slice(0,u)),S.push(...Q)}return!v&&0==S.length&&T.push(function me(){return new d.wOt(3014,!1)}()),S}}class si{constructor(s,o,u,f){this._driver=s,this.element=o,this.startTime=u,this._elementTimelineStylesLookup=f,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(s){const o=1===this._keyframes.size&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+s),o&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,o){return this.applyStylesToKeyframe(),new si(this._driver,s,o||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,o){this._localTimelineStyles.set(s,o),this._globalTimelineStyles.set(s,o),this._styleSummary.set(s,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(s){s&&this._previousKeyframe.set("easing",s);for(let[o,u]of this._globalTimelineStyles)this._backFill.set(o,u||z.kp),this._currentKeyframe.set(o,z.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,o,u,f){o&&this._previousKeyframe.set("easing",o);const v=f&&f.params||{},T=function Bs(l,s){const o=new Map;let u;return l.forEach(f=>{if("*"===f){u??=s.keys();for(let v of u)o.set(v,z.kp)}else for(let[v,T]of f)o.set(v,T)}),o}(s,this._globalTimelineStyles);for(let[S,j]of T){const Q=yr(j,v,u);this._pendingStyles.set(S,Q),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??z.kp),this._updateStyle(S,Q)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((s,o)=>{this._currentKeyframe.set(o,s)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((s,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,s)}))}snapshotCurrentStyles(){for(let[s,o]of this._localTimelineStyles)this._pendingStyles.set(s,o),this._updateStyle(s,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let o in this._currentKeyframe)s.push(o);return s}mergeTimelineCollectedStyles(s){s._styleSummary.forEach((o,u)=>{const f=this._styleSummary.get(u);(!f||o.time>f.time)&&this._updateStyle(u,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,o=new Set,u=1===this._keyframes.size&&0===this.duration;let f=[];this._keyframes.forEach((S,j)=>{const Q=new Map([...this._backFill,...S]);Q.forEach((ge,Ee)=>{ge===z.FX?s.add(Ee):ge===z.kp&&o.add(Ee)}),u||Q.set("offset",j/this.duration),f.push(Q)});const v=[...s.values()],T=[...o.values()];if(u){const S=f[0],j=new Map(S);S.set("offset",0),j.set("offset",1),f=[S,j]}return Wt(this.element,f,v,T,this.duration,this.startTime,this.easing,!1)}}class To extends si{constructor(s,o,u,f,v,T,S=!1){super(s,o,T.delay),this.keyframes=u,this.preStyleProps=f,this.postStyleProps=v,this._stretchStartingKeyframe=S,this.timings={duration:T.duration,delay:T.delay,easing:T.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:o,duration:u,easing:f}=this.timings;if(this._stretchStartingKeyframe&&o){const v=[],T=u+o,S=o/T,j=new Map(s[0]);j.set("offset",0),v.push(j);const Q=new Map(s[0]);Q.set("offset",so(S)),v.push(Q);const ge=s.length-1;for(let Ee=1;Ee<=ge;Ee++){let ot=new Map(s[Ee]);const ze=ot.get("offset");ot.set("offset",so((o+ze*u)/T)),v.push(ot)}u=T,o=0,f="",s=v}return Wt(this.element,s,this.preStyleProps,this.postStyleProps,u,o,f,!0)}}function so(l,s=3){const o=Math.pow(10,s-1);return Math.round(l*o)/o}function ir(l,s,o,u,f,v,T,S,j,Q,ge,Ee,ot){return{type:0,element:l,triggerName:s,isRemovalTransition:f,fromState:o,fromStyles:v,toState:u,toStyles:T,timelines:S,queriedElements:j,preStyleProps:Q,postStyleProps:ge,totalTime:Ee,errors:ot}}const Io={};class ai{constructor(s,o,u){this._triggerName=s,this.ast=o,this._stateStyles=u}match(s,o,u,f){return function ao(l,s,o,u,f){return l.some(v=>v(s,o,u,f))}(this.ast.matchers,s,o,u,f)}buildStyles(s,o,u){let f=this._stateStyles.get("*");return void 0!==s&&(f=this._stateStyles.get(s?.toString())||f),f?f.buildStyles(o,u):new Map}build(s,o,u,f,v,T,S,j,Q,ge){const Ee=[],ot=this.ast.options&&this.ast.options.params||Io,Ve=this.buildStyles(u,S&&S.params||Io,Ee),$e=j&&j.params||Io,zt=this.buildStyles(f,$e,Ee),On=new Set,vn=new Map,Ye=new Map,Nt="void"===f,Pn={params:lo($e,ot),delay:this.ast.options?.delay},Cr=ge?[]:rr(s,o,this.ast.animation,v,T,Ve,zt,Pn,Q,Ee);let qt=0;return Cr.forEach($r=>{qt=Math.max($r.duration+$r.delay,qt)}),Ee.length?ir(o,this._triggerName,u,f,Nt,Ve,zt,[],[],vn,Ye,qt,Ee):(Cr.forEach($r=>{const ns=$r.element,ko=Kt(vn,ns,new Set);$r.preStyleProps.forEach(Ps=>ko.add(Ps));const mu=Kt(Ye,ns,new Set);$r.postStyleProps.forEach(Ps=>mu.add(Ps)),ns!==o&&On.add(ns)}),ir(o,this._triggerName,u,f,Nt,Ve,zt,Cr,[...On.values()],vn,Ye,qt))}}function lo(l,s){const o={...s};return Object.entries(l).forEach(([u,f])=>{null!=f&&(o[u]=f)}),o}class Go{constructor(s,o,u){this.styles=s,this.defaultParams=o,this.normalizer=u}buildStyles(s,o){const u=new Map,f=lo(s,this.defaultParams);return this.styles.styles.forEach(v=>{"string"!=typeof v&&v.forEach((T,S)=>{T&&(T=yr(T,f,o));const j=this.normalizer.normalizePropertyName(S,o);T=this.normalizer.normalizeStyleValue(S,j,T,o),u.set(S,T)})}),u}}class _r{constructor(s,o,u){this.name=s,this.ast=o,this._normalizer=u,this.transitionFactories=[],this.states=new Map,o.states.forEach(f=>{this.states.set(f.name,new Go(f.style,f.options&&f.options.params||{},u))}),$i(this.states,"true","1"),$i(this.states,"false","0"),o.transitions.forEach(f=>{this.transitionFactories.push(new ai(s,f,this.states))}),this.fallbackTransition=function Ti(l,s){return new ai(l,{type:z.If.Transition,animation:{type:z.If.Sequence,steps:[],options:null},matchers:[(T,S)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,o,u,f){return this.transitionFactories.find(T=>T.match(s,o,u,f))||null}matchStyles(s,o,u){return this.fallbackTransition.buildStyles(s,o,u)}}function $i(l,s,o){l.has(s)?l.has(o)||l.set(o,l.get(s)):l.has(o)&&l.set(s,l.get(o))}const Wo=new sn;class Oo{constructor(s,o,u){this.bodyNode=s,this._driver=o,this._normalizer=u,this._animations=new Map,this._playersById=new Map,this.players=[]}register(s,o){const u=[],v=ne(this._driver,o,u,[]);if(u.length)throw function Nr(){return new d.wOt(3503,!1)}();this._animations.set(s,v)}_buildPlayer(s,o,u){const f=s.element,v=Mn(this._normalizer,s.keyframes,o,u);return this._driver.animate(f,v,s.duration,s.delay,s.easing,[],!0)}create(s,o,u={}){const f=[],v=this._animations.get(s);let T;const S=new Map;if(v?(T=rr(this._driver,o,v,mr,Jn,new Map,new Map,u,Wo,f),T.forEach(ge=>{const Ee=Kt(S,ge.element,new Map);ge.postStyleProps.forEach(ot=>Ee.set(ot,null))})):(f.push(function un(){return new d.wOt(3300,!1)}()),T=[]),f.length)throw function dn(){return new d.wOt(3504,!1)}();S.forEach((ge,Ee)=>{ge.forEach((ot,ze)=>{ge.set(ze,this._driver.computeStyle(Ee,ze,z.kp))})});const Q=Ln(T.map(ge=>{const Ee=S.get(ge.element);return this._buildPlayer(ge,new Map,Ee)}));return this._playersById.set(s,Q),Q.onDestroy(()=>this.destroy(s)),this.players.push(Q),Q}destroy(s){const o=this._getPlayer(s);o.destroy(),this._playersById.delete(s);const u=this.players.indexOf(o);u>=0&&this.players.splice(u,1)}_getPlayer(s){const o=this._playersById.get(s);if(!o)throw function Di(){return new d.wOt(3301,!1)}();return o}listen(s,o,u,f){const v=hr(o,"","","");return dr(this._getPlayer(s),u,v,f),()=>{}}command(s,o,u,f){if("register"==u)return void this.register(s,f[0]);if("create"==u)return void this.create(s,o,f[0]||{});const v=this._getPlayer(s);switch(u){case"play":v.play();break;case"pause":v.pause();break;case"reset":v.reset();break;case"restart":v.restart();break;case"finish":v.finish();break;case"init":v.init();break;case"setPosition":v.setPosition(parseFloat(f[0]));break;case"destroy":this.destroy(s)}}}const jn="ng-animate-queued",ci="ng-animate-disabled",zi=[],ho={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Gi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},or="__ng_removed";class Wi{get params(){return this.options.params}constructor(s,o=""){this.namespaceId=o;const u=s&&s.hasOwnProperty("value");if(this.value=function Ao(l){return l??null}(u?s.value:s),u){const{value:v,...T}=s;this.options=T}else this.options={};this.options.params||(this.options.params={})}absorbOptions(s){const o=s.params;if(o){const u=this.options.params;Object.keys(o).forEach(f=>{null==u[f]&&(u[f]=o[f])})}}}const ui="void",Po=new Wi(ui);class ps{constructor(s,o,u){this.id=s,this.hostElement=o,this._engine=u,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,Bn(o,this._hostClassName)}listen(s,o,u,f){if(!this._triggers.has(o))throw function kn(){return new d.wOt(3302,!1)}();if(null==u||0==u.length)throw function xr(){return new d.wOt(3303,!1)}();if(!function Ir(l){return"start"==l||"done"==l}(u))throw function Rr(){return new d.wOt(3400,!1)}();const v=Kt(this._elementListeners,s,[]),T={name:o,phase:u,callback:f};v.push(T);const S=Kt(this._engine.statesByElement,s,new Map);return S.has(o)||(Bn(s,hn),Bn(s,hn+"-"+o),S.set(o,Po)),()=>{this._engine.afterFlush(()=>{const j=v.indexOf(T);j>=0&&v.splice(j,1),this._triggers.has(o)||S.delete(o)})}}register(s,o){return!this._triggers.has(s)&&(this._triggers.set(s,o),!0)}_getTrigger(s){const o=this._triggers.get(s);if(!o)throw function Fr(){return new d.wOt(3401,!1)}();return o}trigger(s,o,u,f=!0){const v=this._getTrigger(o),T=new gs(this.id,o,s);let S=this._engine.statesByElement.get(s);S||(Bn(s,hn),Bn(s,hn+"-"+o),this._engine.statesByElement.set(s,S=new Map));let j=S.get(o);const Q=new Wi(u,this.id);if(!(u&&u.hasOwnProperty("value"))&&j&&Q.absorbOptions(j.options),S.set(o,Q),j||(j=Po),Q.value!==ui&&j.value===Q.value){if(!function Ii(l,s){const o=Object.keys(l),u=Object.keys(s);if(o.length!=u.length)return!1;for(let f=0;f<o.length;f++){const v=o[f];if(!s.hasOwnProperty(v)||l[v]!==s[v])return!1}return!0}(j.params,Q.params)){const $e=[],zt=v.matchStyles(j.value,j.params,$e),On=v.matchStyles(Q.value,Q.params,$e);$e.length?this._engine.reportError($e):this._engine.afterFlush(()=>{Et(s,zt),St(s,On)})}return}const ot=Kt(this._engine.playersByElement,s,[]);ot.forEach($e=>{$e.namespaceId==this.id&&$e.triggerName==o&&$e.queued&&$e.destroy()});let ze=v.matchTransition(j.value,Q.value,s,Q.params),Ve=!1;if(!ze){if(!f)return;ze=v.fallbackTransition,Ve=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:o,transition:ze,fromState:j,toState:Q,player:T,isFallbackTransition:Ve}),Ve||(Bn(s,jn),T.onStart(()=>{Vr(s,jn)})),T.onDone(()=>{let $e=this.players.indexOf(T);$e>=0&&this.players.splice($e,1);const zt=this._engine.playersByElement.get(s);if(zt){let On=zt.indexOf(T);On>=0&&zt.splice(On,1)}}),this.players.push(T),ot.push(T),T}deregister(s){this._triggers.delete(s),this._engine.statesByElement.forEach(o=>o.delete(s)),this._elementListeners.forEach((o,u)=>{this._elementListeners.set(u,o.filter(f=>f.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const o=this._engine.playersByElement.get(s);o&&(o.forEach(u=>u.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,o){const u=this._engine.driver.query(s,Un,!0);u.forEach(f=>{if(f[or])return;const v=this._engine.fetchNamespacesByElement(f);v.size?v.forEach(T=>T.triggerLeaveAnimation(f,o,!1,!0)):this.clearElementCache(f)}),this._engine.afterFlushAnimationsDone(()=>u.forEach(f=>this.clearElementCache(f)))}triggerLeaveAnimation(s,o,u,f){const v=this._engine.statesByElement.get(s),T=new Map;if(v){const S=[];if(v.forEach((j,Q)=>{if(T.set(Q,j.value),this._triggers.has(Q)){const ge=this.trigger(s,Q,ui,f);ge&&S.push(ge)}}),S.length)return this._engine.markElementAsRemoved(this.id,s,!0,o,T),u&&Ln(S).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const o=this._elementListeners.get(s),u=this._engine.statesByElement.get(s);if(o&&u){const f=new Set;o.forEach(v=>{const T=v.name;if(f.has(T))return;f.add(T);const j=this._triggers.get(T).fallbackTransition,Q=u.get(T)||Po,ge=new Wi(ui),Ee=new gs(this.id,T,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:T,transition:j,fromState:Q,toState:ge,player:Ee,isFallbackTransition:!0})})}}removeNode(s,o){const u=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,o),this.triggerLeaveAnimation(s,o,!0))return;let f=!1;if(u.totalAnimations){const v=u.players.length?u.playersByQueriedElement.get(s):[];if(v&&v.length)f=!0;else{let T=s;for(;T=T.parentNode;)if(u.statesByElement.get(T)){f=!0;break}}}if(this.prepareLeaveAnimationListeners(s),f)u.markElementAsRemoved(this.id,s,!1,o);else{const v=s[or];(!v||v===ho)&&(u.afterFlush(()=>this.clearElementCache(s)),u.destroyInnerAnimations(s),u._onRemovalComplete(s,o))}}insertNode(s,o){Bn(s,this._hostClassName)}drainQueuedTransitions(s){const o=[];return this._queue.forEach(u=>{const f=u.player;if(f.destroyed)return;const v=u.element,T=this._elementListeners.get(v);T&&T.forEach(S=>{if(S.name==u.triggerName){const j=hr(v,u.triggerName,u.fromState.value,u.toState.value);j._data=s,dr(u.player,S.phase,j,S.callback)}}),f.markedForDestroy?this._engine.afterFlush(()=>{f.destroy()}):o.push(u)}),this._queue=[],o.sort((u,f)=>{const v=u.transition.ast.depCount,T=f.transition.ast.depCount;return 0==v||0==T?v-T:this._engine.driver.containsElement(u.element,f.element)?1:-1})}destroy(s){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}}class fo{_onRemovalComplete(s,o){this.onRemovalComplete(s,o)}constructor(s,o,u){this.bodyNode=s,this.driver=o,this._normalizer=u,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(f,v)=>{}}get queuedPlayers(){const s=[];return this._namespaceList.forEach(o=>{o.players.forEach(u=>{u.queued&&s.push(u)})}),s}createNamespace(s,o){const u=new ps(s,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(u,o):(this.newHostElements.set(o,u),this.collectEnterElement(o)),this._namespaceLookup[s]=u}_balanceNamespaceList(s,o){const u=this._namespaceList,f=this.namespacesByHostElement;if(u.length-1>=0){let T=!1,S=this.driver.getParentElement(o);for(;S;){const j=f.get(S);if(j){const Q=u.indexOf(j);u.splice(Q+1,0,s),T=!0;break}S=this.driver.getParentElement(S)}T||u.unshift(s)}else u.push(s);return f.set(o,s),s}register(s,o){let u=this._namespaceLookup[s];return u||(u=this.createNamespace(s,o)),u}registerTrigger(s,o,u){let f=this._namespaceLookup[s];f&&f.register(o,u)&&this.totalAnimations++}destroy(s,o){s&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const u=this._fetchNamespace(s);this.namespacesByHostElement.delete(u.hostElement);const f=this._namespaceList.indexOf(u);f>=0&&this._namespaceList.splice(f,1),u.destroy(o),delete this._namespaceLookup[s]}))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const o=new Set,u=this.statesByElement.get(s);if(u)for(let f of u.values())if(f.namespaceId){const v=this._fetchNamespace(f.namespaceId);v&&o.add(v)}return o}trigger(s,o,u,f){if(Te(o)){const v=this._fetchNamespace(s);if(v)return v.trigger(o,u,f),!0}return!1}insertNode(s,o,u,f){if(!Te(o))return;const v=o[or];if(v&&v.setForRemoval){v.setForRemoval=!1,v.setForMove=!0;const T=this.collectedLeaveElements.indexOf(o);T>=0&&this.collectedLeaveElements.splice(T,1)}if(s){const T=this._fetchNamespace(s);T&&T.insertNode(o,u)}f&&this.collectEnterElement(o)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,o){o?this.disabledNodes.has(s)||(this.disabledNodes.add(s),Bn(s,ci)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),Vr(s,ci))}removeNode(s,o,u){if(Te(o)){const f=s?this._fetchNamespace(s):null;f?f.removeNode(o,u):this.markElementAsRemoved(s,o,!1,u);const v=this.namespacesByHostElement.get(o);v&&v.id!==s&&v.removeNode(o,u)}else this._onRemovalComplete(o,u)}markElementAsRemoved(s,o,u,f,v){this.collectedLeaveElements.push(o),o[or]={namespaceId:s,setForRemoval:f,hasAnimation:u,removedBeforeQueried:!1,previousTriggersValues:v}}listen(s,o,u,f,v){return Te(o)?this._fetchNamespace(s).listen(o,u,f,v):()=>{}}_buildInstruction(s,o,u,f,v){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,u,f,s.fromState.options,s.toState.options,o,v)}destroyInnerAnimations(s){let o=this.driver.query(s,Un,!0);o.forEach(u=>this.destroyActiveAnimationsForElement(u)),0!=this.playersByQueriedElement.size&&(o=this.driver.query(s,ee,!0),o.forEach(u=>this.finishActiveQueriedAnimationOnElement(u)))}destroyActiveAnimationsForElement(s){const o=this.playersByElement.get(s);o&&o.forEach(u=>{u.queued?u.markedForDestroy=!0:u.destroy()})}finishActiveQueriedAnimationOnElement(s){const o=this.playersByQueriedElement.get(s);o&&o.forEach(u=>u.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return Ln(this.players).onDone(()=>s());s()})}processLeaveNode(s){const o=s[or];if(o&&o.setForRemoval){if(s[or]=ho,o.namespaceId){this.destroyInnerAnimations(s);const u=this._fetchNamespace(o.namespaceId);u&&u.clearElementCache(s)}this._onRemovalComplete(s,o.setForRemoval)}s.classList?.contains(ci)&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach(u=>{this.markElementAsDisabled(u,!1)})}flush(s=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((u,f)=>this._balanceNamespaceList(u,f)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let u=0;u<this.collectedEnterElements.length;u++)Bn(this.collectedEnterElements[u],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const u=[];try{o=this._flushAnimations(u,s)}finally{for(let f=0;f<u.length;f++)u[f]()}}else for(let u=0;u<this.collectedLeaveElements.length;u++)this.processLeaveNode(this.collectedLeaveElements[u]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(u=>u()),this._flushFns=[],this._whenQuietFns.length){const u=this._whenQuietFns;this._whenQuietFns=[],o.length?Ln(o).onDone(()=>{u.forEach(f=>f())}):u.forEach(f=>f())}}reportError(s){throw function Fn(){return new d.wOt(3402,!1)}()}_flushAnimations(s,o){const u=new sn,f=[],v=new Map,T=[],S=new Map,j=new Map,Q=new Map,ge=new Set;this.disabledNodes.forEach(Le=>{ge.add(Le);const Ke=this.driver.query(Le,".ng-animate-queued",!0);for(let st=0;st<Ke.length;st++)ge.add(Ke[st])});const Ee=this.bodyNode,ot=Array.from(this.statesByElement.keys()),ze=xo(ot,this.collectedEnterElements),Ve=new Map;let $e=0;ze.forEach((Le,Ke)=>{const st=mr+$e++;Ve.set(Ke,st),Le.forEach(xt=>Bn(xt,st))});const zt=[],On=new Set,vn=new Set;for(let Le=0;Le<this.collectedLeaveElements.length;Le++){const Ke=this.collectedLeaveElements[Le],st=Ke[or];st&&st.setForRemoval&&(zt.push(Ke),On.add(Ke),st.hasAnimation?this.driver.query(Ke,".ng-star-inserted",!0).forEach(xt=>On.add(xt)):vn.add(Ke))}const Ye=new Map,Nt=xo(ot,Array.from(On));Nt.forEach((Le,Ke)=>{const st=Jn+$e++;Ye.set(Ke,st),Le.forEach(xt=>Bn(xt,st))}),s.push(()=>{ze.forEach((Le,Ke)=>{const st=Ve.get(Ke);Le.forEach(xt=>Vr(xt,st))}),Nt.forEach((Le,Ke)=>{const st=Ye.get(Ke);Le.forEach(xt=>Vr(xt,st))}),zt.forEach(Le=>{this.processLeaveNode(Le)})});const Pn=[],Cr=[];for(let Le=this._namespaceList.length-1;Le>=0;Le--)this._namespaceList[Le].drainQueuedTransitions(o).forEach(st=>{const xt=st.player,lr=st.element;if(Pn.push(xt),this.collectedEnterElements.length){const Wn=lr[or];if(Wn&&Wn.setForMove){if(Wn.previousTriggersValues&&Wn.previousTriggersValues.has(st.triggerName)){const Ns=Wn.previousTriggersValues.get(st.triggerName),Yr=this.statesByElement.get(st.element);if(Yr&&Yr.has(st.triggerName)){const xs=Yr.get(st.triggerName);xs.value=Ns,Yr.set(st.triggerName,xs)}}return void xt.destroy()}}const xi=!Ee||!this.driver.containsElement(Ee,lr),Zr=Ye.get(lr),Lo=Ve.get(lr),Zt=this._buildInstruction(st,u,Lo,Zr,xi);if(Zt.errors&&Zt.errors.length)return void Cr.push(Zt);if(xi)return xt.onStart(()=>Et(lr,Zt.fromStyles)),xt.onDestroy(()=>St(lr,Zt.toStyles)),void f.push(xt);if(st.isFallbackTransition)return xt.onStart(()=>Et(lr,Zt.fromStyles)),xt.onDestroy(()=>St(lr,Zt.toStyles)),void f.push(xt);const vu=[];Zt.timelines.forEach(Wn=>{Wn.stretchStartingKeyframe=!0,this.disabledNodes.has(Wn.element)||vu.push(Wn)}),Zt.timelines=vu,u.append(lr,Zt.timelines),T.push({instruction:Zt,player:xt,element:lr}),Zt.queriedElements.forEach(Wn=>Kt(S,Wn,[]).push(xt)),Zt.preStyleProps.forEach((Wn,Ns)=>{if(Wn.size){let Yr=j.get(Ns);Yr||j.set(Ns,Yr=new Set),Wn.forEach((xs,Jr)=>Yr.add(Jr))}}),Zt.postStyleProps.forEach((Wn,Ns)=>{let Yr=Q.get(Ns);Yr||Q.set(Ns,Yr=new Set),Wn.forEach((xs,Jr)=>Yr.add(Jr))})});if(Cr.length){const Le=[];Cr.forEach(Ke=>{Le.push(function Yt(){return new d.wOt(3505,!1)}())}),Pn.forEach(Ke=>Ke.destroy()),this.reportError(Le)}const qt=new Map,$r=new Map;T.forEach(Le=>{const Ke=Le.element;u.has(Ke)&&($r.set(Ke,Ke),this._beforeAnimationBuild(Le.player.namespaceId,Le.instruction,qt))}),f.forEach(Le=>{const Ke=Le.element;this._getPreviousPlayers(Ke,!1,Le.namespaceId,Le.triggerName,null).forEach(xt=>{Kt(qt,Ke,[]).push(xt),xt.destroy()})});const ns=zt.filter(Le=>Ko(Le,j,Q)),ko=new Map;No(ko,this.driver,vn,Q,z.kp).forEach(Le=>{Ko(Le,j,Q)&&ns.push(Le)});const Ps=new Map;ze.forEach((Le,Ke)=>{No(Ps,this.driver,new Set(Le),j,z.FX)}),ns.forEach(Le=>{const Ke=ko.get(Le),st=Ps.get(Le);ko.set(Le,new Map([...Ke?.entries()??[],...st?.entries()??[]]))});const As=[],yu=[],qa={};T.forEach(Le=>{const{element:Ke,player:st,instruction:xt}=Le;if(u.has(Ke)){if(ge.has(Ke))return st.onDestroy(()=>St(Ke,xt.toStyles)),st.disabled=!0,st.overrideTotalTime(xt.totalTime),void f.push(st);let lr=qa;if($r.size>1){let Zr=Ke;const Lo=[];for(;Zr=Zr.parentNode;){const Zt=$r.get(Zr);if(Zt){lr=Zt;break}Lo.push(Zr)}Lo.forEach(Zt=>$r.set(Zt,lr))}const xi=this._buildAnimation(st.namespaceId,xt,qt,v,Ps,ko);if(st.setRealPlayer(xi),lr===qa)As.push(st);else{const Zr=this.playersByElement.get(lr);Zr&&Zr.length&&(st.parentPlayer=Ln(Zr)),f.push(st)}}else Et(Ke,xt.fromStyles),st.onDestroy(()=>St(Ke,xt.toStyles)),yu.push(st),ge.has(Ke)&&f.push(st)}),yu.forEach(Le=>{const Ke=v.get(Le.element);if(Ke&&Ke.length){const st=Ln(Ke);Le.setRealPlayer(st)}}),f.forEach(Le=>{Le.parentPlayer?Le.syncPlayerEvents(Le.parentPlayer):Le.destroy()});for(let Le=0;Le<zt.length;Le++){const Ke=zt[Le],st=Ke[or];if(Vr(Ke,Jn),st&&st.hasAnimation)continue;let xt=[];if(S.size){let xi=S.get(Ke);xi&&xi.length&&xt.push(...xi);let Zr=this.driver.query(Ke,ee,!0);for(let Lo=0;Lo<Zr.length;Lo++){let Zt=S.get(Zr[Lo]);Zt&&Zt.length&&xt.push(...Zt)}}const lr=xt.filter(xi=>!xi.destroyed);lr.length?Kr(this,Ke,lr):this.processLeaveNode(Ke)}return zt.length=0,As.forEach(Le=>{this.players.push(Le),Le.onDone(()=>{Le.destroy();const Ke=this.players.indexOf(Le);this.players.splice(Ke,1)}),Le.play()}),As}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,o,u,f,v){let T=[];if(o){const S=this.playersByQueriedElement.get(s);S&&(T=S)}else{const S=this.playersByElement.get(s);if(S){const j=!v||v==ui;S.forEach(Q=>{Q.queued||!j&&Q.triggerName!=f||T.push(Q)})}}return(u||f)&&(T=T.filter(S=>!(u&&u!=S.namespaceId||f&&f!=S.triggerName))),T}_beforeAnimationBuild(s,o,u){const v=o.element,T=o.isRemovalTransition?void 0:s,S=o.isRemovalTransition?void 0:o.triggerName;for(const j of o.timelines){const Q=j.element,ge=Q!==v,Ee=Kt(u,Q,[]);this._getPreviousPlayers(Q,ge,T,S,o.toState).forEach(ze=>{const Ve=ze.getRealPlayer();Ve.beforeDestroy&&Ve.beforeDestroy(),ze.destroy(),Ee.push(ze)})}Et(v,o.fromStyles)}_buildAnimation(s,o,u,f,v,T){const S=o.triggerName,j=o.element,Q=[],ge=new Set,Ee=new Set,ot=o.timelines.map(Ve=>{const $e=Ve.element;ge.add($e);const zt=$e[or];if(zt&&zt.removedBeforeQueried)return new z.sf(Ve.duration,Ve.delay);const On=$e!==j,vn=function di(l){const s=[];return sr(l,s),s}((u.get($e)||zi).map(qt=>qt.getRealPlayer())).filter(qt=>!!qt.element&&qt.element===$e),Ye=v.get($e),Nt=T.get($e),Pn=Mn(this._normalizer,Ve.keyframes,Ye,Nt),Cr=this._buildPlayer(Ve,Pn,vn);if(Ve.subTimeline&&f&&Ee.add($e),On){const qt=new gs(s,S,$e);qt.setRealPlayer(Cr),Q.push(qt)}return Cr});Q.forEach(Ve=>{Kt(this.playersByQueriedElement,Ve.element,[]).push(Ve),Ve.onDone(()=>function qi(l,s,o){let u=l.get(s);if(u){if(u.length){const f=u.indexOf(o);u.splice(f,1)}0==u.length&&l.delete(s)}return u}(this.playersByQueriedElement,Ve.element,Ve))}),ge.forEach(Ve=>Bn(Ve,re));const ze=Ln(ot);return ze.onDestroy(()=>{ge.forEach(Ve=>Vr(Ve,re)),St(j,o.toStyles)}),Ee.forEach(Ve=>{Kt(f,Ve,[]).push(ze)}),ze}_buildPlayer(s,o,u){return o.length>0?this.driver.animate(s.element,o,s.duration,s.delay,s.easing,u):new z.sf(s.duration,s.delay)}}class gs{constructor(s,o,u){this.namespaceId=s,this.triggerName=o,this.element=u,this._player=new z.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,this._queuedCallbacks.forEach((o,u)=>{o.forEach(f=>dr(s,u,void 0,f))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const o=this._player;o.triggerCallback&&s.onStart(()=>o.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,o){Kt(this._queuedCallbacks,s,[]).push(o)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const o=this._player;o.triggerCallback&&o.triggerCallback(s)}}function Te(l){return l&&1===l.nodeType}function zn(l,s){const o=l.style.display;return l.style.display=s??"none",o}function No(l,s,o,u,f){const v=[];o.forEach(j=>v.push(zn(j)));const T=[];u.forEach((j,Q)=>{const ge=new Map;j.forEach(Ee=>{const ot=s.computeStyle(Q,Ee,f);ge.set(Ee,ot),(!ot||0==ot.length)&&(Q[or]=Gi,T.push(Q))}),l.set(Q,ge)});let S=0;return o.forEach(j=>zn(j,v[S++])),T}function xo(l,s){const o=new Map;if(l.forEach(S=>o.set(S,[])),0==s.length)return o;const f=new Set(s),v=new Map;function T(S){if(!S)return 1;let j=v.get(S);if(j)return j;const Q=S.parentNode;return j=o.has(Q)?Q:f.has(Q)?1:T(Q),v.set(S,j),j}return s.forEach(S=>{const j=T(S);1!==j&&o.get(j).push(S)}),o}function Bn(l,s){l.classList?.add(s)}function Vr(l,s){l.classList?.remove(s)}function Kr(l,s,o){Ln(o).onDone(()=>l.processLeaveNode(s))}function sr(l,s){for(let o=0;o<l.length;o++){const u=l[o];u instanceof z.ui?sr(u.players,s):s.push(u)}}function Ko(l,s,o){const u=o.get(l);if(!u)return!1;let f=s.get(l);return f?u.forEach(v=>f.add(v)):s.set(l,u),o.delete(l),!0}class Gn{constructor(s,o,u){this._driver=o,this._normalizer=u,this._triggerCache={},this.onRemovalComplete=(f,v)=>{},this._transitionEngine=new fo(s.body,o,u),this._timelineEngine=new Oo(s.body,o,u),this._transitionEngine.onRemovalComplete=(f,v)=>this.onRemovalComplete(f,v)}registerTrigger(s,o,u,f,v){const T=s+"-"+f;let S=this._triggerCache[T];if(!S){const j=[],ge=ne(this._driver,v,j,[]);if(j.length)throw function Xe(){return new d.wOt(3404,!1)}();S=function co(l,s,o){return new _r(l,s,o)}(f,ge,this._normalizer),this._triggerCache[T]=S}this._transitionEngine.registerTrigger(o,f,S)}register(s,o){this._transitionEngine.register(s,o)}destroy(s,o){this._transitionEngine.destroy(s,o)}onInsert(s,o,u,f){this._transitionEngine.insertNode(s,o,u,f)}onRemove(s,o,u){this._transitionEngine.removeNode(s,o,u)}disableAnimations(s,o){this._transitionEngine.markElementAsDisabled(s,o)}process(s,o,u,f){if("@"==u.charAt(0)){const[v,T]=bn(u);this._timelineEngine.command(v,o,T,f)}else this._transitionEngine.trigger(s,o,u,f)}listen(s,o,u,f,v){if("@"==u.charAt(0)){const[T,S]=bn(u);return this._timelineEngine.listen(T,o,S,v)}return this._transitionEngine.listen(s,o,u,f,v)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(s){this._transitionEngine.afterFlushAnimationsDone(s)}}class Ki{static{this.initialStylesByElement=new WeakMap}constructor(s,o,u){this._element=s,this._startStyles=o,this._endStyles=u,this._state=0;let f=Ki.initialStylesByElement.get(s);f||Ki.initialStylesByElement.set(s,f=new Map),this._initialStyles=f}start(){this._state<1&&(this._startStyles&&St(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(St(this._element,this._initialStyles),this._endStyles&&(St(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ki.initialStylesByElement.delete(this._element),this._startStyles&&(Et(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Et(this._element,this._endStyles),this._endStyles=null),St(this._element,this._initialStyles),this._state=3)}}function an(l){let s=null;return l.forEach((o,u)=>{(function po(l){return"display"===l||"position"===l})(u)&&(s=s||new Map,s.set(u,o))}),s}class Qi{constructor(s,o,u,f){this.element=s,this.keyframes=o,this.options=u,this._specialStyles=f,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=u.duration,this._delay=u.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:new Map;const o=()=>this._onFinish();this.domPlayer.addEventListener("finish",o),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",o)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(s){const o=[];return s.forEach(u=>{o.push(Object.fromEntries(u))}),o}_triggerWebAnimation(s,o,u){return s.animate(this._convertKeyframesToObject(o),u)}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s=new Map;this.hasStarted()&&this._finalKeyframe.forEach((u,f)=>{"offset"!==f&&s.set(f,this._finished?u:tr(this.element,f))}),this.currentSnapshot=s}triggerCallback(s){const o="start"===s?this._onStartFns:this._onDoneFns;o.forEach(u=>u()),o.length=0}}class It{validateStyleProperty(s){return!0}validateAnimatableStyleProperty(s){return!0}containsElement(s,o){return gr(s,o)}getParentElement(s){return Hn(s)}query(s,o,u){return gn(s,o,u)}computeStyle(s,o,u){return tr(s,o)}animate(s,o,u,f,v,T=[]){const j={duration:u,delay:f,fill:0==f?"both":"forwards"};v&&(j.easing=v);const Q=new Map,ge=T.filter(ze=>ze instanceof Qi);(function Mo(l,s){return 0===l||0===s})(u,f)&&ge.forEach(ze=>{ze.currentSnapshot.forEach((Ve,$e)=>Q.set($e,Ve))});let Ee=function it(l){return l.length?l[0]instanceof Map?l:l.map(s=>new Map(Object.entries(s))):[]}(o).map(ze=>new Map(ze));Ee=function er(l,s,o){if(o.size&&s.length){let u=s[0],f=[];if(o.forEach((v,T)=>{u.has(T)||f.push(T),u.set(T,v)}),f.length)for(let v=1;v<s.length;v++){let T=s[v];f.forEach(S=>T.set(S,tr(l,S)))}}return s}(s,Ee,Q);const ot=function Or(l,s){let o=null,u=null;return Array.isArray(s)&&s.length?(o=an(s[0]),s.length>1&&(u=an(s[s.length-1]))):s instanceof Map&&(o=an(s)),o||u?new Ki(l,o,u):null}(s,Ee);return new Qi(s,Ee,j,ot)}}const ms="@.disabled";class Qo{constructor(s,o,u,f){this.namespaceId=s,this.delegate=o,this.engine=u,this._onDestroy=f,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(s){this.delegate.destroyNode?.(s)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(s,o){return this.delegate.createElement(s,o)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,o){this.delegate.appendChild(s,o),this.engine.onInsert(this.namespaceId,o,s,!1)}insertBefore(s,o,u,f=!0){this.delegate.insertBefore(s,o,u),this.engine.onInsert(this.namespaceId,o,s,f)}removeChild(s,o,u){this.parentNode(o)&&this.engine.onRemove(this.namespaceId,o,this.delegate)}selectRootElement(s,o){return this.delegate.selectRootElement(s,o)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,o,u,f){this.delegate.setAttribute(s,o,u,f)}removeAttribute(s,o,u){this.delegate.removeAttribute(s,o,u)}addClass(s,o){this.delegate.addClass(s,o)}removeClass(s,o){this.delegate.removeClass(s,o)}setStyle(s,o,u,f){this.delegate.setStyle(s,o,u,f)}removeStyle(s,o,u){this.delegate.removeStyle(s,o,u)}setProperty(s,o,u){"@"==o.charAt(0)&&o==ms?this.disableAnimations(s,!!u):this.delegate.setProperty(s,o,u)}setValue(s,o){this.delegate.setValue(s,o)}listen(s,o,u){return this.delegate.listen(s,o,u)}disableAnimations(s,o){this.engine.disableAnimations(s,o)}}class mo extends Qo{constructor(s,o,u,f,v){super(o,u,f,v),this.factory=s,this.namespaceId=o}setProperty(s,o,u){"@"==o.charAt(0)?"."==o.charAt(1)&&o==ms?this.disableAnimations(s,u=void 0===u||!!u):this.engine.process(this.namespaceId,s,o.slice(1),u):this.delegate.setProperty(s,o,u)}listen(s,o,u){if("@"==o.charAt(0)){const f=function qe(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(s);let v=o.slice(1),T="";return"@"!=v.charAt(0)&&([v,T]=function hi(l){const s=l.indexOf(".");return[l.substring(0,s),l.slice(s+1)]}(v)),this.engine.listen(this.namespaceId,f,v,T,S=>{this.factory.scheduleListenerCallback(S._data||-1,u,S)})}return this.delegate.listen(s,o,u)}}class ar{constructor(s,o,u){this.delegate=s,this.engine=o,this._zone=u,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,o.onRemovalComplete=(f,v)=>{v?.removeChild(null,f)}}createRenderer(s,o){const f=this.delegate.createRenderer(s,o);if(!s||!o?.data?.animation){const Q=this._rendererCache;let ge=Q.get(f);return ge||(ge=new Qo("",f,this.engine,()=>Q.delete(f)),Q.set(f,ge)),ge}const v=o.id,T=o.id+"-"+this._currentId;this._currentId++,this.engine.register(T,s);const S=Q=>{Array.isArray(Q)?Q.forEach(S):this.engine.registerTrigger(v,T,s,Q.name,Q)};return o.data.animation.forEach(S),new mo(this,T,f,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(s,o,u){if(s>=0&&s<this._microtaskId)return void this._zone.run(()=>o(u));const f=this._animationCallbacksBuffer;0==f.length&&queueMicrotask(()=>{this._zone.run(()=>{f.forEach(v=>{const[T,S]=v;T(S)}),this._animationCallbacksBuffer=[]})}),f.push([o,u])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const Pr=[{provide:ft,useFactory:function $s(){return new Lr}},{provide:Gn,useClass:(()=>{class l extends Gn{constructor(o,u,f){super(o,u,f)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(u){return new(u||l)(d.KVO(O.qQ),d.KVO(Ui),d.KVO(ft))}}static{this.\u0275prov=d.jDH({token:l,factory:l.\u0275fac})}}return l})()},{provide:d._9s,useFactory:function ja(l,s,o){return new ar(l,s,o)},deps:[_e.B7,Gn,d.SKi]}],ys=[{provide:Ui,useFactory:()=>new It},{provide:d.bc$,useValue:"BrowserAnimations"},...Pr],w=[{provide:Ui,useClass:kt},{provide:d.bc$,useValue:"NoopAnimations"},...Pr];let E=(()=>{class l{static withConfig(o){return{ngModule:l,providers:o.disableAnimations?w:ys}}static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({providers:ys,imports:[_e.Bb]})}}return l})();var je=N(3400);const pt=["*"],$l=["header"],ca=[[["","callout-heading",""]],"*"],Hs=["[callout-heading]","*"];function jt(l,s){if(1&l){const o=d.RV6();d.j41(0,"button",4),d.bIt("click",function(){d.eBV(o);const f=d.XpG();return d.Njj(f.closeClicked())}),d.nrm(1,"i",5),d.k0s()}if(2&l){const o=d.XpG();d.BMQ("id",o.buttonID)}}const Xo=l=>({visibility:l}),Ba=(l,s,o)=>({"switch-on":l,"switch-off":s,disabled:o}),_s=l=>({disabled:l}),zs=(l,s)=>({"switch-on":l,"switch-off":s});function Cs(l,s){if(1&l&&(d.j41(0,"label",10)(1,"span",11),d.EFF(2),d.k0s()()),2&l){const o=d.XpG();d.FS9("for",o.toggleID),d.BMQ("aria-label",o.labelValue),d.R7$(),d.BMQ("id",o.onTextID),d.R7$(),d.SpI(" ",o.isToggleOff?o.offText:o.onText," ")}}function yo(l,s){if(1&l&&d.nrm(0,"i",12),2&l){const o=d.XpG();d.BMQ("id",o.leftSpinnerID)}}function Gs(l,s){if(1&l&&(d.j41(0,"label",13)(1,"span",14),d.EFF(2),d.k0s()()),2&l){const o=d.XpG();d.FS9("for",o.toggleID),d.BMQ("aria-label",o.labelValue),d.R7$(),d.BMQ("id",o.offTextID),d.R7$(),d.SpI(" ",o.isToggleOff?o.offText:o.onText," ")}}function Zo(l,s){if(1&l&&d.nrm(0,"i",15),2&l){const o=d.XpG();d.BMQ("id",o.rightSpinnerID)}}function Ws(l,s){if(1&l){const o=d.RV6();d.j41(0,"button",9),d.bIt("click",function(){d.eBV(o);const f=d.XpG(2);return d.Njj(f.fireClose())}),d.j41(1,"span"),d.EFF(2,"\xd7"),d.k0s()()}if(2&l){const o=d.XpG(2);d.Y8G("id",o.closeButtonID)("title",o.closeLabel),d.BMQ("aria-label",o.closeLabel),d.R7$(),d.BMQ("aria-hidden",!0)}}function tt(l,s){if(1&l){const o=d.RV6();d.j41(0,"button",10),d.bIt("click",function(){d.eBV(o);const f=d.XpG(2);return d.Njj(f.fireToggleMore())}),d.EFF(1),d.k0s()}if(2&l){const o=d.XpG(2);d.Y8G("id",o.moreButtonID),d.R7$(),d.SpI(" ",o.moreLabel," ")}}function ws(l,s){if(1&l&&(d.j41(0,"strong",11),d.EFF(1),d.k0s()),2&l){const o=d.XpG(2);d.R7$(),d.JRh(o.label)}}function Yo(l,s){if(1&l&&(d.j41(0,"span",12),d.EFF(1),d.k0s()),2&l){const o=d.XpG(2);d.Y8G("id",o.textMessageID),d.R7$(),d.SpI(" ",o.message," ")}}function Zi(l,s){if(1&l&&(d.j41(0,"li")(1,"span",12),d.EFF(2),d.k0s()()),2&l){const o=s.$implicit,u=s.index,f=d.XpG(3);d.R7$(),d.FS9("id",f.textListID+"_"+u),d.R7$(),d.SpI(" ",o," ")}}function Es(l,s){if(1&l&&(d.j41(0,"ul",13),d.DNE(1,Zi,3,2,"li",14),d.k0s()),2&l){const o=d.XpG(2);d.R7$(),d.Y8G("ngForOf",o.alert.list)}}function Hl(l,s){if(1&l&&(d.j41(0,"div",1),d.DNE(1,Ws,3,4,"button",2)(2,tt,2,2,"button",3),d.nrm(3,"span"),d.j41(4,"div",4),d.DNE(5,ws,2,1,"strong",5),d.j41(6,"span",6),d.DNE(7,Yo,2,2,"span",7),d.k0s(),d.DNE(8,Es,2,1,"ul",8),d.k0s()()),2&l){const o=d.XpG();d.ZvI("alert alert-",o.type," ng-hide"),d.Y8G("@openClose",o.animationClass),d.R7$(),d.Y8G("ngIf",o.showCloseButton),d.R7$(),d.Y8G("ngIf",o.showMoreButton),d.R7$(),d.HbH(o.icon),d.BMQ("aria-hidden",!0),d.R7$(2),d.Y8G("ngIf",o.hasLabel),d.R7$(2),d.Y8G("ngIf",o.message),d.R7$(),d.Y8G("ngIf",o.alert&&o.alert.list&&o.alert.list.length)}}function Ds(l,s){if(1&l){const o=d.RV6();d.j41(0,"div",6)(1,"cp-alert",7),d.bIt("close",function(){const f=d.eBV(o).$implicit,v=d.XpG();return d.Njj(v.alertClosed(f))}),d.k0s()()}if(2&l){const o=s.$implicit;d.R7$(),d.Y8G("alert",o)}}function $a(l,s){if(1&l&&d.nrm(0,"div",8),2&l){const o=d.XpG();d.Y8G("ngClass",o.positionClasses)}}const zl=["searchInput"];function Gl(l,s){if(1&l&&(d.j41(0,"span",6),d.EFF(1),d.k0s()),2&l){const o=d.XpG();d.R7$(),d.JRh(o.clearIconLabel)}}function Ks(l,s){if(1&l){const o=d.RV6();d.j41(0,"button",3),d.bIt("click",function(){const f=d.eBV(o).$implicit,v=d.XpG();return d.Njj(v.onOptionClicked(f))}),d.k0s()}if(2&l){const o=s.$implicit,u=d.XpG();d.Y8G("disabled",u.disabled)("selected",u.isOptionSelected(o))("value",o)}}function Qs(l,s){1&l&&d.EFF(0," >\n")}function Ct(l,s){1&l&&d.EFF(0," <\n")}function bs(l,s){1&l&&d.EFF(0," >>\n")}function ha(l,s){1&l&&d.EFF(0," <<\n")}class yn{static{this.defaultShowMore=!1}static{this.defaultAutoClosePeriod=0}static{this.defaultOptions={autoClosePeriod:yn.defaultAutoClosePeriod,list:[]}}constructor(s,o,u=yn.defaultOptions){this._message=s,this._type=o;const f=u.id?u.id:Math.random().toString(36).substr(2,9);this._id=f,this._closable=null==u.isCloseable||u.isCloseable,this._autoClosePeriod=u.autoClosePeriod,this._list=u.list,this._showMore=u.showMore||yn.defaultShowMore,this._ts=null==u.createdOn?Date.now():u.createdOn}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(s){const{message:o,type:u,...f}=s;return new yn(o,u,f)}}var Xt=function(l){return l[l.error=0]="error",l[l.success=1]="success",l[l.warning=2]="warning",l[l.information=3]="information",l}(Xt||{}),Ai=function(l){return l.add="add",l.remove="remove",l.clear="clear",l}(Ai||{});let vo=(()=>{class l{static{this.defaultGroup="__DEFAULT__"}static{this.defaultSuccessOptions={autoClosePeriod:1e4}}constructor(){this._alertEventsSource=new F.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(o,u=l.defaultGroup){this._alerts[u]||(this._alerts[u]=[]);const f=o instanceof yn?o:yn.makeAlert(o);if(this.list(u).push(f),this._alertEventsSource.next({type:Ai.add,group:u,alert:f}),(0,d.naY)())switch(f.type){case Xt.error:console.error(f.message,f);break;case Xt.warning:console.warn(f.message,f);break;default:console.log(f.message,f)}return f}success(o,u=l.defaultGroup){return this.add(new yn(o,Xt.success,l.defaultSuccessOptions),u)}error(o,u=l.defaultGroup){return this.add({message:o,type:Xt.error},u)}info(o,u=l.defaultGroup){return this.add({message:o,type:Xt.information},u)}warn(o,u=l.defaultGroup){return this.add({message:o,type:Xt.warning},u)}removeById(o,u=l.defaultGroup){const f=this.list(u),v=f.findIndex(T=>T.id===o,0);if(-1!==v){const T=f[v];f.splice(v,1),this._alertEventsSource.next({type:Ai.remove,group:u,alert:T})}}clear(o=l.defaultGroup){this._alerts[o]=[],this._alertEventsSource.next({type:Ai.clear,group:o})}list(o=l.defaultGroup){return null==this._alerts[o]&&(this._alerts[o]=[]),this._alerts[o]}static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275prov=d.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})(),es=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({providers:[vo],imports:[O.MD]})}}return l})();var fi=function(l){return l.inline="inline",l.topLeft="top-left",l.topMiddle="top-middle",l.topRight="top-right",l.bottomLeft="bottom-left",l.bottomMiddle="bottom-middle",l.bottomRight="bottom-right",l.middleLeft="middle-left",l.middleMiddle="middle-middle",l.middleRight="middle-right",l}(fi||{});const b=fi.topRight,_=fi.topLeft;var Ni=function(l){return l.warnings="warnings",l.danger="danger",l.info="info",l.default="info",l}(Ni||{});let pi=(()=>{class l{constructor(){this.calloutType=Ni.default,this.closeable=!1,this.close=new d.bkB}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275cmp=d.VBU({type:l,selectors:[["cp-callout"]],viewQuery:function(u,f){if(1&u&&d.GBs($l,5),2&u){let v;d.mGM(v=d.lsd())&&(f.header=v.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Hs,decls:7,vars:7,consts:[["header",""],["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(u,f){1&u&&(d.NAR(ca),d.j41(0,"div",1),d.DNE(1,jt,2,1,"button",2),d.j41(2,"div",3,0),d.SdG(4),d.k0s(),d.j41(5,"div"),d.SdG(6,1),d.k0s()()),2&u&&(d.ZvI("callout callout-",f.calloutType,""),d.BMQ("aria-label",f.calloutType),d.R7$(),d.Y8G("ngIf",f.closeable),d.R7$(),d.BMQ("id",f.headingID),d.R7$(3),d.BMQ("id",f.contentID))},dependencies:[O.bT],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']})}}return l})(),_o=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({imports:[O.MD]})}}return l})();var Ur=function(l){return l.loading="loading",l.disabled="disabled",l.enabled="enabled",l}(Ur||{});let Xr=(()=>{class l{constructor(){this.click=new d.bkB,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(o){switch(o){case Ur.enabled:this.setToEnabled();break;case Ur.loading:this.setToLoading();break;case Ur.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(o){o.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275cmp=d.VBU({type:l,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:pt,decls:3,vars:10,consts:[[1,"btn","action-button",3,"click","id","type","ngClass","disabled"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(u,f){1&u&&(d.NAR(),d.j41(0,"button",0),d.bIt("click",function(T){return f.onClick(T)}),d.nrm(1,"i",1),d.SdG(2),d.k0s()),2&u&&(d.Mz_("id","",f.id,"-button"),d.FS9("type",f.type),d.Y8G("ngClass",f.buttonClass)("disabled",f.isDisabled),d.R7$(),d.Mz_("id","",f.id,"-spinner"),d.Y8G("ngStyle",d.eq3(8,Xo,f.showSpinner?"visible":"hidden")))},dependencies:[O.YU,O.B3],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']})}}return l})(),Ar=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({imports:[O.MD]})}}return l})();var mi=function(l){return l.toggleOn="toggleSwitchOn",l.toggleOff="toggleSwitchOff",l.toggleUpdating="toggleSwitchUpdating",l}(mi||{}),fa=function(l){return l.left="left",l.right="right",l}(fa||{});let jr=(()=>{class l{constructor(o){this.locale=o,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new d.bkB,this._isToggleUpdating=!1,this._hasSpinner=!1}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return fa.left}get rightLabelPosition(){return fa.right}get isLTR(){return this.locale.isLtr}set toggleState(o){switch(this._toggleState=o,o){case mi.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case mi.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case mi.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(o){this.isDisabled||this._isToggleUpdating||("click"===o.type?this.toggleStatus.emit(o):"keyup"===o.type&&((13===o.keyCode||32===o.keyCode)&&this.toggleStatus.emit(o),this.isLTR?37!==o.keyCode||this._isToggleOffStatus?39===o.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(o):this.toggleStatus.emit(o):(37===o.keyCode&&this._isToggleOffStatus||39===o.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(o)))}isLabelVisible(o){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||o!==this.labelPosition)||void 0)}isSpinnerVisible(o){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||o!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}static{this.\u0275fac=function(u){return new(u||l)(d.rXU(q.h))}}static{this.\u0275cmp=d.VBU({type:l,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"click","keyup","ngClass"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(u,f){1&u&&(d.j41(0,"div",0),d.bIt("click",function(T){return f.checkToggle(T)})("keyup",function(T){return f.checkToggle(T)}),d.DNE(1,Cs,3,4,"label",1)(2,yo,1,1,"i",2),d.j41(3,"div",3)(4,"div",4),d.nrm(5,"span",5)(6,"span",6)(7,"span",7),d.k0s()(),d.DNE(8,Gs,3,4,"label",8)(9,Zo,1,1,"i",9),d.k0s()),2&u&&(d.Y8G("ngClass",d.sMw(10,Ba,!f.isToggleOff,f.isToggleOff,f.isDisabled||f.isToggleUpdating)),d.BMQ("id",f.toggleID)("value",f.labelValue)("aria-checked",!f.isToggleOff),d.R7$(),d.Y8G("ngIf",f.isLabelVisible(f.leftLabelPosition)),d.R7$(),d.Y8G("ngIf",f.isSpinnerVisible(f.leftLabelPosition)),d.R7$(),d.Y8G("ngClass",d.eq3(14,_s,f.isDisabled||f.isToggleUpdating)),d.R7$(),d.Y8G("ngClass",d.l_i(16,zs,!f.isToggleOff,f.isToggleOff)),d.R7$(4),d.Y8G("ngIf",f.isLabelVisible(f.rightLabelPosition)),d.R7$(),d.Y8G("ngIf",f.isSpinnerVisible(f.rightLabelPosition)))},dependencies:[O.YU,O.bT],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']})}}return l})(),Ss=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({imports:[O.MD,oe.B]})}}return l})();var $n=function(l){return l.new="new",l.closed="closed",l.open="open",l}($n||{});let pa=(()=>{class l{constructor(o){this.locale=o,this.close=new d.bkB,this.toggleMore=new d.bkB,this.animationClass=$n.new}get icon(){switch(this.alert.type){case Xt.error:return"type-icon fas fa-times-circle";case Xt.warning:return"type-icon fas fa-exclamation-triangle";case Xt.information:return"type-icon fas fa-info-circle";case Xt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Xt.error:return"danger";case Xt.warning:return"warning";case Xt.information:return"info";case Xt.success:return"success"}}get hasLabel(){const o=this.label;return null!==o&&""!==o}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case Xt.success:this.label=this.locale.maketext("Success:");break;case Xt.error:this.label=this.locale.maketext("Error:");break;case Xt.information:this.label=this.locale.maketext("Information:");break;case Xt.warning:this.label=this.locale.maketext("Warning:")}this.moreLabel||(this.moreLabel=this.locale.maketext("More")),this.closeLabel||(this.closeLabel=this.locale.maketext("Close")),setTimeout(()=>{this.animationClass=$n.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=$n.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}startTimer(){this._timeout=setTimeout(()=>this.fireTimeout(),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}_buildID(...o){return o.join("_")}static{this.\u0275fac=function(u){return new(u||l)(d.rXU(q.h))}}static{this.\u0275cmp=d.VBU({type:l,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"click","id","title"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"click","id"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(u,f){1&u&&d.DNE(0,Hl,9,13,"div",0),2&u&&d.Y8G("ngIf",!f.isClosed)},dependencies:[O.Sq,O.bT],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,z.hZ)("openClose",[(0,z.wk)($n.new,(0,z.iF)({opacity:0})),(0,z.wk)($n.open,(0,z.iF)({opacity:1})),(0,z.wk)($n.closed,(0,z.iF)({opacity:0,transform:"translateX(25%)"})),(0,z.kY)(`${$n.open} => ${$n.closed}`,[(0,z.i0)("0.25s")]),(0,z.kY)(`${$n.new} => ${$n.open}`,[(0,z.i0)("0.25s")]),(0,z.kY)(`${$n.closed} => ${$n.open}`,[(0,z.i0)("0.25s")])])]}})}}return l})(),gu=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({imports:[O.MD,E,oe.B]})}}return l})(),Xl=(()=>{class l{constructor(o){this.locale=o}get position(){return this.locale.isLtr?b:_}static{this.\u0275fac=function(u){return new(u||l)(d.KVO(q.h))}}static{this.\u0275prov=d.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})(),Zl=(()=>{class l{static{this.positionPrefix="position-"}constructor(o,u){this._alertService=o,this._positionService=u,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?l.positionPrefix+fi.inline.toString():l.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(o){this._position=((l,s=fi.topRight)=>{if(l){const o=(l=>{const s=Object.keys(fi),u=Object.values(fi).indexOf(l);return-1!==u?s[u]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(l);if(o)return fi[o]}return s})(o)}alertClosed(o){this._alertService.removeById(o.id,this.group)}ngOnInit(){this.group||(this.group=vo.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(u=>this._addAlert(u)),this._groupEvents=this._alertService.alertEvents.pipe((0,U.p)(u=>u.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(o){return this.alerts.findIndex(u=>u.id===o)}_addAlert(o){return this.alerts.push(o),this.alerts}_removeAlert(o){const u=this._findAlertIndexById(o.id);return u>-1&&(this.alerts.splice(u,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(o){switch(o.type){case Ai.add:this._addAlert(o.alert);break;case Ai.clear:this._clearAlerts();break;case Ai.remove:this._removeAlert(o.alert)}}static{this.\u0275fac=function(u){return new(u||l)(d.rXU(vo),d.rXU(Xl))}}static{this.\u0275cmp=d.VBU({type:l,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[["container",""],["list",""],[1,"alert-list-container",3,"ngClass"],[1,"alert-list"],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"close","alert"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(u,f){1&u&&(d.j41(0,"div")(1,"div",2,0)(3,"div",3,1),d.DNE(5,Ds,2,1,"div",4),d.k0s()(),d.DNE(6,$a,1,1,"div",5),d.k0s()),2&u&&(d.R7$(),d.Y8G("ngClass",f.positionClasses),d.R7$(4),d.Y8G("ngForOf",f.alerts),d.R7$(),d.Y8G("ngIf",f.hasAlerts))},dependencies:[O.YU,O.Sq,O.bT,pa],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;inset:0 auto auto 0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]})}}return l})(),Br=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({imports:[O.MD,gu]})}}return l})(),za=(()=>{class l{constructor(o){this.locale=o,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new d.bkB,this._searchSubject=new F.B,this._unsubscribe=new F.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(o){this._value=o,this._searchSubject.next(o)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe((0,H.Q)(this._unsubscribe),(0,K.B)(this.debounce),(0,ie.F)()).subscribe(o=>{this.valueChange.emit(o)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static{this.\u0275fac=function(u){return new(u||l)(d.rXU(q.h))}}static{this.\u0275cmp=d.VBU({type:l,selectors:[["cp-search"]],viewQuery:function(u,f){if(1&u&&d.GBs(zl,5),2&u){let v;d.mGM(v=d.lsd())&&(f.searchInput=v.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:14,consts:[["searchInput",""],["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModelChange","keyup.esc","ngModel","disabled","id","placeholder","title"],["data-test","addon",1,"input-group-addon",3,"click","id"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(u,f){if(1&u){const v=d.RV6();d.j41(0,"div",1)(1,"input",2,0),d.mxI("ngModelChange",function(S){return d.eBV(v),d.DH7(f.value,S)||(f.value=S),d.Njj(S)}),d.bIt("keyup.esc",function(){return d.eBV(v),d.Njj(f.clearValue())}),d.k0s(),d.j41(3,"span",3),d.bIt("click",function(){return d.eBV(v),d.Njj(f.clearValue())}),d.nrm(4,"span",4),d.DNE(5,Gl,2,1,"span",5),d.k0s()()}2&u&&(d.R7$(),d.Mz_("id","",f.id,"-search-input"),d.R50("ngModel",f.value),d.Y8G("disabled",f.disabled)("placeholder",f.placeholder)("title",f.label),d.BMQ("aria-label",f.label)("list",f.list),d.R7$(2),d.Mz_("id","",f.id,"-search-input-addon"),d.R7$(),d.Mz_("id","",f.id,"-search-input-icon"),d.Y8G("ngClass",(null==f.value?null:f.value.length)>0?"fas fa-times":"fas fa-search"),d.R7$(),d.Y8G("ngIf",(null==f.value?null:f.value.length)>0))},dependencies:[O.YU,O.bT,J.me,J.BC,J.vS],changeDetection:0})}}return l})(),Is=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({imports:[O.MD,J.YN,oe.B]})}}return l})(),Ji=(()=>{class l{constructor(o,u=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(u),this.selectorName=o.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(o=>{if(!this[o])throw new Error(`"${o}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}static{this.\u0275fac=function(u){d.QTQ()}}static{this.\u0275dir=d.FsC({type:l,inputs:{id:"id"}})}}return l})();var va=function(l){return l[l.all=-1]="all",l}(va||{});const Os="pageSizeOption";let Ga=(()=>{class l{constructor(o){this.locale=o,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===va.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${Os}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${Os}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}static{this.\u0275fac=function(u){return new(u||l)(d.rXU(q.h))}}static{this.\u0275dir=d.FsC({type:l,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(u,f){2&u&&(d.Mr5("id",f.id)("innerText",f.label),d.BMQ("aria-label",f.description)("aria-pressed",f.ariaPressed),d.HbH(f.cssClasses))},inputs:{value:"value",selected:"selected"},features:[d.OA$]})}}return l})(),Wa=(()=>{class l extends Ji{static{this.defaultPageSizeOptions=[20,50,100,500]}static{this.defaultPageSize=20}constructor(o,u){super(o),this.locale=u,this.selectedPageSize=l.defaultPageSize,this.pageSizeOptions=l.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new d.bkB,this.displayedPageSizeOptions=[]}isOptionSelected(o){return o===this.selectedPageSize}onOptionClicked(o){this._dispatchChange(o)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const o=this.pageSizeOptions.slice(0).sort((f,v)=>f-v);this.showOptionAll&&o.push(va.all),-1!==o.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=o:this._dispatchChange(o[0])}_dispatchChange(o){this.optionSelected.emit(o)}static{this.\u0275fac=function(u){return new(u||l)(d.rXU(d.aKT),d.rXU(q.h))}}static{this.\u0275cmp=d.VBU({type:l,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[d.Vt3,d.OA$],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"click","disabled","selected","value"]],template:function(u,f){1&u&&(d.j41(0,"div")(1,"div",0),d.EFF(2),d.k0s(),d.j41(3,"div",1),d.DNE(4,Ks,1,3,"button",2),d.k0s()()),2&u&&(d.R7$(2),d.SpI(" ",f.locale.maketext("Entries Per Page")," "),d.R7$(2),d.Y8G("ngForOf",f.displayedPageSizeOptions))},dependencies:[O.Sq,Ga],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]})}}return l})(),Xs=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({imports:[O.MD,oe.B]})}}return l})(),ec=(()=>{class l extends Ji{static{this.defaultMaxPagesVisible=5}static{this.firstPageIndex=1}constructor(o,u){super(o),this.locale=u,this.maxPagesVisible=l.defaultMaxPagesVisible,this.selectedPage=l.firstPageIndex,this.pageSize=Wa.defaultPageSize,this.disabled=!1,this.pageChanged=new d.bkB}onPageChanged(o){this._dispatchChange(o)}onNumPagesChanged(o){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(o){const u=this.pageSize*(o-1),f=Math.min(u+this.pageSize,this.totalItems);this.pageChanged.emit({page:o,firstItem:u,lastItem:f}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",u+1,f,this.totalItems)}static{this.\u0275fac=function(u){return new(u||l)(d.rXU(d.aKT),d.rXU(q.h))}}static{this.\u0275cmp=d.VBU({type:l,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[d.Vt3],decls:12,vars:14,consts:[["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""],[3,"id"],[3,"ngModelChange","pageChanged","numPages","id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate"],[1,"pagination-item-details","text-small","text-right","flip"]],template:function(u,f){if(1&u){const v=d.RV6();d.j41(0,"div",4)(1,"pagination",5),d.mxI("ngModelChange",function(S){return d.eBV(v),d.DH7(f.selectedPage,S)||(f.selectedPage=S),d.Njj(S)}),d.bIt("pageChanged",function(S){return d.eBV(v),d.Njj(f.onPageChanged(S.page))})("numPages",function(S){return d.eBV(v),d.Njj(f.onNumPagesChanged(S))}),d.k0s(),d.j41(2,"p",6),d.EFF(3),d.k0s()(),d.DNE(4,Qs,1,0,"ng-template",null,0,d.C5r)(6,Ct,1,0,"ng-template",null,1,d.C5r)(8,bs,1,0,"ng-template",null,2,d.C5r)(10,ha,1,0,"ng-template",null,3,d.C5r)}if(2&u){const v=d.sdS(5),T=d.sdS(7),S=d.sdS(9),j=d.sdS(11);d.Y8G("id",f.id),d.R7$(),d.Mz_("id","",f.id,"_ngx_paginator"),d.Y8G("totalItems",f.totalItems)("maxSize",f.maxPagesVisible)("disabled",f.disabled)("itemsPerPage",f.pageSize),d.R50("ngModel",f.selectedPage),d.Y8G("boundaryLinks",!0)("customFirstTemplate",j)("customLastTemplate",S)("customPreviousTemplate",T)("customNextTemplate",v),d.R7$(2),d.SpI(" ",f.itemsDetails," ")}},dependencies:[J.BC,J.vS,je.eK],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]})}}return l})(),tc=(()=>{class l{static{this.\u0275fac=function(u){return new(u||l)}}static{this.\u0275mod=d.$C({type:l})}static{this.\u0275inj=d.G2t({imports:[O.MD,J.YN,je.x6.forRoot(),oe.B]})}}return l})()}}]);Back to Directory