Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/initial-setup-wizard/vendor.c01fc3d1b17d8ef3.js
(self.webpackChunkinitial_setup_wizard=self.webpackChunkinitial_setup_wizard||[]).push([[736],{109:(j,w,h)=>{"use strict";h.d(w,{F:()=>f});var f=(()=>{return(p=f||(f={}))[p.GET=0]="GET",p[p.HEAD=1]="HEAD",p[p.POST=2]="POST",p[p.PUT=3]="PUT",p[p.DELETE=4]="DELETE",p[p.CONNECT=5]="CONNECT",p[p.OPTIONS=6]="OPTIONS",p[p.TRACE=7]="TRACE",p[p.PATCH=8]="PATCH",f;var p})()},3022:(j,w,h)=>{"use strict";h.d(w,{tO:()=>ot,VN:()=>Ie});var f=h(4235),p=h.n(f),A=h(1305),T=h.n(A),C=h(4798),I=h.n(C),R=h(9138),x=h.n(R),B=h(248),M=h.n(B),F=h(1503),$=h.n(F),J=h(7614),Q=h.n(J);function ie(xe){if(p()(xe)||T()(xe)||I()(xe)||x()(xe)||M()(xe))return!0;if(!Q()(xe)&&!$()(xe))return!1;for(const Oe in xe)if(!ie(xe[Oe]))return!1;return!0}class Ie{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Oe,$e,De){if(!Oe)throw new Error("Name must have a non-empty value");return`${Oe}=${encodeURIComponent($e.toString())}`+(De?"":this.recordSeparator)}}class ot{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Oe,$e,De){if(!Oe)throw new Error("Name must have a non-empty value");if(!ie($e))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Oe)+":"+JSON.stringify($e)+(De?"":this.recordSeparator)}}},6154:(j,w,h)=>{"use strict";h.d(w,{r:()=>me,N:()=>le});var f=h(1978),p=h.n(f);function A(Ce){return Ce?"1":"0"}var I=(()=>{return(Ce=I||(I={}))[Ce.Ascending=0]="Ascending",Ce[Ce.Descending=1]="Descending",I;var Ce})(),R=(()=>{return(Ce=R||(R={}))[Ce.Lexicographic=0]="Lexicographic",Ce[Ce.Ipv4=1]="Ipv4",Ce[Ce.Numeric=2]="Numeric",Ce[Ce.NumericZeroAsMax=3]="NumericZeroAsMax",R;var Ce})();class x{constructor(X,Pe=I.Ascending,Pt=R.Lexicographic){if(!X)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=X,this.direction=Pe,this.type=Pt}}var B=(()=>{return(Ce=B||(B={}))[Ce.Contains=0]="Contains",Ce[Ce.Begins=1]="Begins",Ce[Ce.Ends=2]="Ends",Ce[Ce.Matches=3]="Matches",Ce[Ce.Equal=4]="Equal",Ce[Ce.NotEqual=5]="NotEqual",Ce[Ce.LessThan=6]="LessThan",Ce[Ce.LessThanUnlimited=7]="LessThanUnlimited",Ce[Ce.GreaterThan=8]="GreaterThan",Ce[Ce.GreaterThanUnlimited=9]="GreaterThanUnlimited",Ce[Ce.Defined=10]="Defined",Ce[Ce.Undefined=11]="Undefined",B;var Ce})();class M{constructor(X,Pe,Pt){if(!X)throw new Error("You must define a non-empty column name.");this.column=X,this.operator=Pe,this.value=Pt}}class F{constructor(X,Pe){if(!X)throw new Error("You must provide a name when creating a name/value argument");this.name=X,this.value=Pe}}const Q=Number.POSITIVE_INFINITY;class ie{constructor(X=1,Pe=20){if(X<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(Pe<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=X,this.pageSize=Pe}all(){return this.pageSize===Q}}class ae{constructor(X=[]){this.headers=X}push(X){this.headers.push(X)}forEach(X,Pe){this.headers.forEach(X,Pe)}toArray(){const X=[];return this.headers.forEach(Pe=>X.push({name:Pe.name,value:Pe.value})),X}toObject(){return this.headers.reduce((X,Pe)=>(X[Pe.name]=Pe.value,X),{})}}class Ie{constructor(X){this._header=X}get name(){return this._header.name}get value(){return this._header.value}}class ot extends Error{constructor(X){super(X),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,ot.prototype)}}class xe extends Error{constructor(X){super(X),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,xe.prototype)}}class Oe extends Ie{constructor(X,Pe){if(!X)throw new ot("You must pass a valid token to the constructor.");if(!Pe&&!/^.+[:]/.test(X))throw new ot("You must pass a cPanel username associated with the cPanel API token.");if(!Pe&&!/[:].+$/.test(X))throw new ot("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Pe?Pe+":":""}${X}`})}}Error,Error;var Ve=h(109);const $t=new class at{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ve.F.GET,Ve.F.DELETE,Ve.F.HEAD].forEach(X=>{const Pe=Ve.F[X].toString();this.map[Pe]={verb:Pe,dataInBody:!1}}),[Ve.F.POST,Ve.F.PUT,Ve.F.PATCH].forEach(X=>{const Pe=Ve.F[X].toString();this.map[Pe]={verb:Pe,dataInBody:!0}})}getRule(X){const Pe="string"==typeof X?X:Ve.F[X].toString();let Pt=this.map[Pe];return Pt||(Pt=this.map.DEFAULT),Pt}};var Ke=h(3022),Rt=h(8448),Fe=h.n(Rt),le=(()=>{return(Ce=le||(le={})).JsonApi="json-api",Ce.XmlApi="xml-api",le;var Ce})();class me extends class Gt{constructor(X){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ie,this.headers=new ae,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,X&&(this.method=X.method,X.namespace&&(this.namespace=X.namespace),X.arguments&&X.arguments.forEach(Pe=>{this.addArgument(Pe)}),X.sorts&&X.sorts.forEach(Pe=>{this.addSort(Pe)}),X.filters&&X.filters.forEach(Pe=>{this.addFilter(Pe)}),X.columns&&X.columns.forEach(Pe=>this.addColumn(Pe)),X.pager&&this.paginate(X.pager),this.config=X.config?X.config:this.defaultConfig,X.headers&&X.headers.forEach(Pe=>{this.addHeader(Pe)}))}get usePager(){return this._usePager}addArgument(X){return this.arguments.push(X instanceof F?X:new F(X.name,X.value)),this}addSort(X){return this.sorts.push(X instanceof x?X:new x(X.column,X.direction,X.type)),this}addFilter(X){return this.filters.push(X instanceof M?X:new M(X.column,X.operator,X.value)),this}addColumn(X){return this.columns.push(X),this}addHeader(X){return this.headers.push(X instanceof Ie?X:new Ie(X)),this}paginate(X){return this.pager=X instanceof ie?X:new ie(X.page,X.pageSize||20),this._usePager=!0,this}}{constructor(X,Pe){if(super(Pe),this.apiType=le.JsonApi,X!=le.JsonApi&&X!=le.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=X,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(X){if(X instanceof Oe)throw new xe("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(X),this}_build(X,Pe){let Pt="";return X.forEach((Lt,un,Jt)=>{Pt+=Pe.encode(Lt.name,Lt.value,un===Jt.length-1)}),Pe.separatorStart+Pt+Pe.separatorEnd}_make_whm_api_fieldspec_from_number(X){return Fe()("",Math.floor(X/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(X%26)}_generateArguments(X){X.push({name:"api.version",value:1}),this.arguments.forEach(Pt=>X.push(Pt))}_generateSorts(X){this.sorts.forEach((Pe,Pt)=>{0===Pt&&X.push({name:"api.sort.enable",value:A(!0)});const Lt=`api.sort.${this._make_whm_api_fieldspec_from_number(Pt)}`;X.push({name:`${Lt}.field`,value:Pe.column}),X.push({name:`${Lt}.reverse`,value:A(Pe.direction!==I.Ascending)}),X.push({name:`${Lt}.method`,value:p()(R[Pe.type])})})}_lookupFilterOperator(X){switch(X){case B.GreaterThanUnlimited:return"gt_handle_unlimited";case B.GreaterThan:return"gt";case B.LessThanUnlimited:return"lt_handle_unlimited";case B.LessThan:return"lt";case B.Equal:return"eq";case B.Begins:return"begins";case B.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${B[X]} for WHM API 1`)}}_generateFilters(X){this.filters.forEach((Pe,Pt)=>{0===Pt&&(X.push({name:"api.filter.enable",value:A(!0)}),X.push({name:"api.filter.verbose",value:A(!0)}));const Lt=`api.filter.${this._make_whm_api_fieldspec_from_number(Pt)}`;X.push({name:`${Lt}.field`,value:Pe.column}),X.push({name:`${Lt}.type`,value:this._lookupFilterOperator(Pe.operator)}),X.push({name:`${Lt}.arg0`,value:Pe.value})})}_translatePageToStart(X){return(X.page-1)*X.pageSize+1}_generatePagination(X){if(!this.usePager)return;const Pe=this.pager.all();X.push({name:"api.chunk.enable",value:A(!0)}),X.push({name:"api.chunk.verbose",value:A(!0)}),X.push({name:"api.chunk.start",value:Pe?-1:this._translatePageToStart(this.pager)}),Pe||X.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(X){X||(X={verb:Ve.F.POST,encoder:this.config.json?new Ke.tO:new Ke.VN}),X.encoder||(X.encoder=this.config.json?new Ke.tO:new Ke.VN);const Pe=$t.getRule(X.verb),Pt={headers:new ae([{name:"Content-Type",value:X.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Lt=[];this._generateArguments(Lt),this._generateSorts(Lt),this._generateFilters(Lt),this._generatePagination(Lt);const un=this._build(Lt,X.encoder);return Pe.dataInBody?Pt.body=un:Pt.url+=X.verb===Ve.F.GET?`?${un}`:un,this.headers.forEach(Jt=>{Pt.headers.push({name:Jt.name,value:Jt.value})}),Pt}}},269:(j,w,h)=>{"use strict";w.g=void 0;const p=h(1680);Object.defineProperty(w,"g",{enumerable:!0,get:function(){return p.Locale}})},5074:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.CLDR=void 0,w.CLDR=class h{constructor(p){this.rawData=p,this.validateCLDR(this.rawData)}validateCLDR(p){if(!p)throw new Error("CLDR data cannot be null");if(!p.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(p,"functions")||Object.prototype.hasOwnProperty.call(p,"get_plural_form")||"function"!=typeof p.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(p,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(p,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(p.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(p,...A){return this.rawData.functions.get_plural_form(p,...A)}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}}},1680:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.Locale=void 0;const f=h(2889),p=h(9483),A=h(741),T=h(786),C=h(5074);w.Locale=class I{constructor(x,B={}){this.lexicon=B,this._cldr=new C.CLDR(x)}maketext(x,...B){return f.maketext({cldr:this._cldr,lexicon:this.lexicon,template:x,args:B})}localDatetime(x,B){return this._datetimeWrapper(p.local_datetime,x,B)}datetime(x,B){return this._datetimeWrapper(p.datetime,x,B)}_datetimeWrapper(x,B,M){return x({cldr:this._cldr,args:[B,M]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(x,B){return this._formatNumber(A.numf,x,B)}format_bytes(x,B){return this._formatNumber(A.format_bytes,x,B)}_formatNumber(x,...B){return this._callCLDRFunc(x,B)}list_and(...x){return this._callCLDRFunc(T.list_and,x)}list_and_quoted(...x){return this._callCLDRFunc(T.list_and_quoted,x)}list_or(...x){return this._callCLDRFunc(T.list_or,x)}list_or_quoted(...x){return this._callCLDRFunc(T.list_or_quoted,x)}_callCLDRFunc(x,B){return x({cldr:this._cldr,args:B})}}},7296:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.asis=void 0;const f=h(5247);w.asis=function p({args:[A,...T]}){if(!A||T.length>0||"string"!=typeof A)throw new Error("asis function accepts one non translatable string.");return(A=A.replace(/chr\((\d+)\)/g,function(C,I){return f.functions.chr(Number(I))})).replace(/amp\(\)/g,function(C){return f.functions.amp()})}},527:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.boolean=void 0,w.boolean=function h({args:[f,p,A,T]}){if(null==p||0===p.length||null==A||0===A.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof f<"u"&&f?p:T&&null==f?T:A)}},9076:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.comment=void 0,w.comment=function h({args:[f]}){return""}},9483:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.local_datetime=w.datetime=w.dateToLocalDayNum=void 0;const f=h(5074),p=function(M){const F=M.getUTCDay()-1;return F<0?6:F},A=[7,1,2,3,4,5,6];function T(M,F){return(A[M.getUTCDay()]+7-F)%7+1}w.dateToLocalDayNum=T;const C=function(M,F,$){let J="",Q=0;return F=F||0,$=String(void 0===$?" ":$),Q=F-String(M).length,Q>0&&(J=[...Array(Q)].map(String.prototype.valueOf,$).join("")),J+M};function I({cldr:M,args:[F=new Date,$],tzString:J="UTC"}){if("number"==typeof F&&/^-?\d+$/.test(F.toString())&&(F=new Date(1e3*F)),!(F instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(M instanceof f.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Q=M.getDateTimeInfo();return"string"==typeof $&&/^(?:date|time|datetime|special)_format_/.test($)&&($=Q[$]),$||($=Q.date_format_long),$.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(ie,ae,Ie){return ae?function R(M){return M.substr(1,M.length-2)}(ae):function x(M,F,$,J){switch($){case"yy":return Math.abs(M.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(M.getUTCFullYear()));case"MMMMM":return F.month_format_narrow[M.getUTCMonth()];case"LLLLL":return F.month_stand_alone_narrow[M.getUTCMonth()];case"MMMM":return F.month_format_wide[M.getUTCMonth()];case"LLLL":return F.month_stand_alone_wide[M.getUTCMonth()];case"MMM":return F.month_format_abbreviated[M.getUTCMonth()];case"LLL":return F.month_stand_alone_abbreviated[M.getUTCMonth()];case"MM":case"LL":return C((M.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(M.getUTCMonth()+1);case"EEEE":return F.day_format_wide[p(M)];case"EEE":case"EE":case"E":return F.day_format_abbreviated[p(M)];case"EEEEE":return F.day_format_narrow[p(M)];case"cccc":return F.day_stand_alone_wide[p(M)];case"ccc":return F.day_stand_alone_abbreviated[p(M)];case"cc":case"c":return String(T(M,Number(F.first_day_of_week)));case"ccccc":return F.day_stand_alone_narrow[p(M)];case"dd":return C(M.getUTCDate().toString(),2,"0");case"d":return String(M.getUTCDate());case"h":case"hh":{let Q=M.getUTCHours();Q>12&&(Q-=12),0===Q&&(Q=12);const ie="hh"===$?C(Q.toString(),2,"0"):Q;return String(ie)}case"H":return String(M.getUTCHours());case"HH":return C(M.getUTCHours().toString(),2,"0");case"m":return String(M.getUTCMinutes());case"mm":return C(M.getUTCMinutes().toString(),2,"0");case"s":return String(M.getUTCSeconds());case"ss":return C(M.getUTCSeconds().toString(),2,"0");case"a":return M.getUTCHours()<12?F.am_pm_abbreviated[0]:F.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return J;case"G":case"GG":case"GGG":return F.era_abbreviated[M.getUTCFullYear()<0?0:1];case"GGGGG":return F.era_narrow[M.getUTCFullYear()<0?0:1];case"GGGG":return F.era_wide[M.getUTCFullYear()<0?0:1]}return $}(F,Q,Ie,J)})}w.datetime=I,w.local_datetime=function B({cldr:M,args:[F=new Date,$]}){if("number"==typeof F&&/^-?\d+$/.test(F.toString())&&(F=new Date(1e3*F)),!(F instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(M instanceof f.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const J=F.getTimezoneOffset();(F=new Date(F)).setMinutes(F.getMinutes()-J);const Q=J>0?"-":"+",ie=Math.floor(Math.abs(J)/60),ae=Math.abs(J%60);return I({cldr:M,args:[F,$],tzString:"GMT"+Q+C(ie.toString(),2,"0")+C(ae.toString(),2,"0")})}},40:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.functions=void 0;const f=h(7296),p=h(5247),A=h(9076),T=h(527),C=h(741),I=h(9483),R=h(786);w.functions={asis:f.asis,output:p.output,comment:A.comment,boolean:T.boolean,numf:C.numf,numerate:C.numerate,quant:C.quant,format_bytes:C.format_bytes,datetime:I.datetime,local_datetime:I.local_datetime,list_and:R.list_and,list_or:R.list_or,list_or_quoted:R.list_or_quoted,list_and_quoted:R.list_and_quoted}},786:(j,w)=>{"use strict";function f(R,x,...B){let M=B.slice();switch(1===M.length&&Array.isArray(M[0])&&(M=M[0].slice()),(typeof M>"u"||0===M.length)&&(M=[""]),M=M.map(F=>function h(R,x){const B=R.getDelimiters();return B&&Object.prototype.hasOwnProperty.call(B,"quotation_start")&&Object.prototype.hasOwnProperty.call(B,"quotation_end")?B.quotation_start+x+B.quotation_end:x}(R,F)),x){case"list_and":return C({cldr:R,args:M});case"list_or":return I({cldr:R,args:M});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function T(R,x,...B){let M=B.slice();1===M.length&&Array.isArray(M[0])&&(M=M[0].slice());const F=M.length;let $,J,Q,ie;try{$=R.getFormats()[x]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const ae=function(Ie,ot){switch(ot){case"0":return Q;case"1":return M[ie++]}};switch(F){case 0:return"";case 1:return String(M[0]);default:if(Q=2===F?$[2]:$.start,Q=Q.replace(/\{([01])\}/g,function(Ie,ot){return M[ot]}),2===F)return Q;for(ie=2;ie<F;)J=$[ie===F-1?"end":"middle"],Q=J.replace(/\{([01])\}/g,ae);return Q}}function C({cldr:R,args:[...x]}){return T(R,"list",...x)}function I({cldr:R,args:[...x]}){return T(R,"list_or",...x)}Object.defineProperty(w,"__esModule",{value:!0}),w.list_or=w.list_and=w.list_or_quoted=w.list_and_quoted=void 0,w.list_and_quoted=function p({cldr:R,args:[...x]}){return f(R,"list_and",...x)},w.list_or_quoted=function A({cldr:R,args:[...x]}){return f(R,"list_or",...x)},w.list_and=C,w.list_or=I},5247:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.functions=w.output=void 0;const f=h(7906),p=h(8533);w.output=function A({args:[T,...C]}){if(C&&"string"==typeof C[0]&&(C[0]=C[0].replace(/chr\((\d+)\)/g,function(I,R){return w.functions.chr(Number(R))}),C[0]=C[0].replace(/amp\(\)/g,function(I){return w.functions.amp()})),"function"==typeof w.functions[T])return w.functions[T](...C);throw new Error(`Locale output function '${T}' is not implemented.`)},w.functions={amp:()=>f.htmlEscape("&"),apos:()=>f.htmlEscape("'"),quot:()=>f.htmlEscape('"'),underline:T=>`<u>${T}</u>`,strong:T=>`<strong>${T}</strong>`,em:T=>`<em>${T}</em>`,abbr:(T,C)=>`<abbr title="${C}">${T}</abbr>`,acronym:(T,C)=>`<abbr title="${C}" class="initialism">${T}</abbr>`,class:(T,...C)=>`<span class="${C.join(" ")}">${T}</span>`,chr(T){if("string"==typeof T&&(T=Number(T)),"number"!=typeof T||isNaN(T))throw new Error("chr needs a number as argument");return f.htmlEscape(String.fromCharCode(T))},url(T,...C){let I,R;if("object"==typeof C[C.length-1])if(I=C[C.length-1],2===C.length){if(I.html)throw new Error("Cannot provide both text and configuration with html attribute");R=C[0]}else I&&I.html?(R=I.html,delete I.html):R=T;else C.length%2==0?(I=p.listToObject(...C),I&&"html"in I&&""!==I.html?(R=I.html,delete I.html):R=T):(R=C.shift(),I=p.listToObject(...C));"_type"in I&&"offsite"===I._type&&(I.class="offsite",I.target="_blank",delete I._type);let x=`<a href="${T}"`;if("object"==typeof I)for(const B in I)Object.prototype.hasOwnProperty.call(I,B)&&(x+=` ${B}="${I[B]}"`);return x+=`>${R}</a>`,x}}},741:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.format_bytes=w.numf=w.quant=w.numerate=void 0;const f=h(5074);function A({cldr:R,args:[x,...B]}){if(!(R instanceof f.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let M,F=3;x instanceof Array?(F=x[1],M=x[0]):M=x;const $=R.getPluralForm(M,...B),J=$[0]?$[0]:B[B.length-1];if($&&$.length>=2&&$[1])return J;const ie=C({cldr:R,args:[M,F]});return-1!==J.indexOf("%s")?J.replace(/%s/g,ie):R.isRtl()?J+" "+ie:ie+" "+J}function C({cldr:R,args:[x,B=6]}){if(!(R instanceof f.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(x.toString()))return String(x);const{decimalFormat:M,decimalGroup:F,decimalDecimal:$}=function T(R){const x={},B=R.getFormats();return Object.prototype.hasOwnProperty.call(B,"decimal")&&(x.decimalFormat=B.decimal),Object.prototype.hasOwnProperty.call(B,"_decimal_format_group")&&(x.decimalGroup=B._decimal_format_group),Object.prototype.hasOwnProperty.call(B,"_decimal_format_decimal")&&(x.decimalDecimal=B._decimal_format_decimal),x}(R);if(!M||!F||!$)throw new Error("CLDR Data is missing information related to formatting decimals.");const J=x<0;x=Math.abs(x);let ie,ae,Q=Math.floor(x);/(?!')\.(?!')/.test(x.toString())&&(ie=String(x).replace(/^[^.]+/,"0"),ie=Number(ie).toFixed(B),/^1/.test(ie)?(Q++,x=Q,ie=void 0):ie=ie.replace(/^.*\./,"").replace(/0+$/,"")),ae=/(?!');(?!')/.test(M)?M.split(/(?!');(?!')/)[J?1:0]:(J?"-":"")+M;const xe=ae.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Oe;1===xe.length?Oe="":(xe.pop(),Oe=F);const $e=String(Q).split("").reverse(),De=[];let Ge;const Gt=function(at){switch(at){case"#":return $e.shift()||"";case"0":return $e.shift()||"0"}};for(;$e.length;){xe.length&&(Ge=xe.shift());const at=Ge.replace(/(?!')[0#]|[0#](?!')/g,Gt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");De.push(at)}const Ve=De.join(Oe).split("").reverse().join("")+(ie?$+ie:"");return ae.replace(/[0#].*[0#]/,Ve)}w.numerate=function p({cldr:R,args:[x,...B]}){if(!(R instanceof f.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const M=R.getPluralForm(x,...B);return M?M[0]:B[B.length-1]},w.quant=A,w.numf=C,w.format_bytes=function I({cldr:R,args:[x,B=2]}){if(!(R instanceof f.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const M=["KB","MB","GB","TB","PB","EB","ZB","YB"],$=x&&Math.min(Math.floor(Math.log(x)/Math.log(1024)),M.length);return $?C({cldr:R,args:[x/Math.pow(1024,$),B]})+"\xa0"+M[$-1]:A({cldr:R,args:[x,"%s\xa0byte","%s\xa0bytes"]})}},2889:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.maketext=w.functions=w.config=void 0;const f=h(40);function C(I,R){const x=[];let B=!1,M=!1;return I.forEach((F,$)=>{if("_"===F.charAt(0))if("_*"===F){if(M)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";x.push(...R),B=!0}else{const J=F.match(w.config.underscoreDigitRe);if(J){if(B)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Q,ie]=J,ae=Number(ie)-1;if(!(ae in R))throw`The "${Q}" substitution argument was not passed to the maketext function.`;x.push(R[ae]),M=!0}}else x.push(F)}),x}w.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},w.functions={...f.functions},w.maketext=function A({cldr:I,lexicon:R,template:x,args:B}){if("string"!=typeof x)throw"You must pass a string template to the maketext function.";if(-1===(x=R&&R[x]||x).indexOf("["))return x;const M=x.match(w.config.bracketRe)||[],F=[];let $=!1,J="";if(M.forEach(Q=>{if("["===Q){if($)throw Error(`Invalid maketext string: ${x} \nThe string contains nested brackets.`);$=!0}else if("]"===Q){if(!$)throw Error(`Invalid maketext string: ${x} \nThe string contains an unmatched closing bracket character (]).`);if(!J)throw Error(`Invalid maketext string: ${x} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let ie;$=!1;try{ie=function T(I,R,x){let B=R.split(",");if(B=B.map($=>$.replace(w.config.fauxCommaRe,",")),1===B.length){if(!w.config.underscoreDigitRe.test(B[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[$]=C(B,x);return String($)}const M=B.shift();if(!M||"function"!=typeof w.functions[M])throw`Invalid function "${M}" in maketext string.`;const F=C(B,x);return w.functions[M]({cldr:I,args:F})}(I,J,B)}catch(ae){throw Error(`Invalid maketext string: ${x} \n${ae}`)}J="",F.push(ie)}else if("~"===Q.charAt(0)){const ie=Q.charAt(1)||"~";$?J+=","===ie?w.config.fauxComma:ie:w.config.tildeChars.has(ie)?F.push(ie):F.push(Q)}else $?J+=Q:F.push(Q)}),$)throw Error(`Invalid maketext string: ${x} \nThe string contains an unmatched opening bracket character ([).`);return F.join("")}},7906:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.htmlEscape=w.entityMap=void 0,w.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},w.htmlEscape=function h(f){return String(f).replace(/[&<>"'\/]/g,p=>w.entityMap[p])}},8533:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.listToObject=void 0,w.listToObject=function p(...A){let T={};return function h(A){if(A.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let C=0,I=A.length;C<I;C+=2){const R=A[C];if("string"!=typeof R||""===R)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(A)&&(T=function f(A){const T=A.length,C={};let R,x,I=0;for(;I<T;)R=A[I],x=A[++I],C[R]=x,I++;return C}(A)),T}},50:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.commonValidators=void 0;const f=h(2257);w.commonValidators=new class p extends f.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(T){const C=T||this.locale.maketext("This field is required.");return I=>{let R={},x=I.value;return x&&(x=x.toString()),x&&x.length?null:(R=this.addError(R,"required",C),R)}}requiredTrue(T){const C=T||this.locale.maketext("This control's value should be true.");return I=>{let R={};return!0!==I.value?(R=this.addError(R,"requiredTrue",C),R):null}}startsWithLetter(T){return C=>{let I={};return C.value&&!this.STARTS_WITH_LETTER.test(C.value)?(I=this.addError(I,"doesNotStartWithLetter",T),I):null}}containsSpaces(T){return C=>{let I={};return C.value&&!this.CONTAINS_SPACES.test(C.value)?(I=this.addError(I,"containsSpace",T),I):null}}minLength(T,C){return I=>{let R={};return I.value&&I.value.length<C?(R=this.addError(R,"minLength",T),R):null}}maxLength(T,C){return I=>{let R={};return I.value&&I.value.length>C?(R=this.addError(R,"maxLength",T),R):null}}}},7414:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.cPUserNoteValidators=void 0;const f=h(2257),p=h(9761),T=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;w.cPUserNoteValidators=new class C extends f.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(R=250,x=""){return B=>{let M=p.stringValidators.validUnicode()(B);if(!M){const F=this.locale.maketext("This note is too long.");M=p.stringValidators.maxCharacterLength(F)(R,B)}if(!M){const F=B.match(T);if(F){M={};const $=F.index,J=F[0].codePointAt(0);this.addError(M,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",J,1+$))}}return M}}}},6128:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.cpanelUsernameValidators=void 0;const f=h(2257);w.cpanelUsernameValidators=new class p extends f.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(T){const C=T||this.locale.maketext("This is not a valid username.");return I=>{let R={};return I.value&&!this.VALID_USERNAME.test(I.value)?(R=this.addError(R,"invalidUsername",C),R):null}}}},6156:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.databaseValidators=void 0;const f=h(2257),p=h(6369);w.databaseValidators=new class A extends f.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName(C,I,R){return x=>C===p.DatabaseType.MySQL?(this._dbPrefix=I||"",this.validateMySQLDatabaseName(x.value,R||"")):null}validateMySQLDatabaseName(C,I){const R=this._performMySqlDatabaseNameValidation(C,I);let x={};return R?(x=this.addError(x,"databaseName",R),x):null}_performMySqlDatabaseNameValidation(C,I){let R=null;return R=this._verifyNameLengthLimit(C),null!==R||(R=this._verifyDatabaseNameIgnoreLength(C),null!==R)||(R=this._verifyDatabaseName(C,I)),R}_verifyNameLengthLimit(C){let I=null,R=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(R-=this._dbPrefix.length+1);const x=unescape(encodeURIComponent(C)).length-R;return x>0&&(I={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",x,R)}),I}_verifyDatabaseNameIgnoreLength(C){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(C)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(C)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName(C,I){if(null!==C&&C.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const R=this._verifySpecialWildcardsInDatabaseNames(C);return null!==R?R:I&&this._convertVersionStringToNumber(I)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(C)?{message:this.locale.maketext("This system\u2019s [asis,MySQL] version ([_1]) prohibits the character \u201c[_2]\u201d in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",I,".")}:null}_convertVersionStringToNumber(C){return C.match(/mariadb/i)&&(C=C.replace(/^[^-]+-/,"")),parseInt(C.replace(/-.*/,"").split(/\./).map(function(I){return I.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(C){if(null===C)return null;const I=C.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let R=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(R-=this._dbPrefix.length+1);const x=I-R;return x>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],R,I,x)}:null}}},4559:function(j,w,h){"use strict";var f=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(w,"__esModule",{value:!0}),w.domainValidators=void 0;const p=h(549),A=f(h(4879)),T=f(h(836)),C=h(2257);w.domainValidators=new class I extends C.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(x){const B=[],M=A.default.ucs2.decode(x);for(let F=0;F<M.length;F++)M[F]>this.UNICODE_ASCII_CUTOFF&&B.push(A.default.ucs2.encode([M[F]]));return T.default(B)}_validateLabelBasics(){return x=>{let B={};if(x.value&&0!==x.value.length){if(x.value.length>this.MAX_LABEL_BYTES)B=this.addError(B,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===x.value[0])B=this.addError(B,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===x.value[x.value.length-1])B=this.addError(B,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(A.default.toASCII(x.value).length>this.MAX_LABEL_BYTES){const M=this._getNonASCII(x.value);B=this.addError(B,"length",this.locale.maketext("The label\u2019s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,M[0]))}}else B=this.addError(B,"length",this.locale.maketext("A label must not be empty."));return B}}validDomainLength(){return x=>{let B={};if(x.value.length>this.MAX_DOMAIN_BYTES)return B=this.addError(B,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),B;if(A.default.toASCII(x.value).length>this.MAX_DOMAIN_BYTES){const F=this._getNonASCII(x.value);return B=this.addError(B,"length",this.locale.maketext("The domain name\u2019s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,F[0])),B}return null}}validateLabel(){return x=>p.runValidationGroup(x,[this._validateLabelBasics(),B=>{let M={};return this.NONINITIAL_LABEL_REGEX.test(B.value)||(M=this.addError(M,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),M}])}validateTLD(){return x=>{let B={};return!this.VALID_TLD_REGEX.test(x.value)&&!this.VALID_IDN_TLD_REGEX.test(x.value)&&(B=this.addError(B,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),B}}fqdn(){return x=>{const B=x.value.split("."),M=B[B.length-1],F=B[0],$=x.value,J=[()=>{let Q={};const ie=this.IPv4_REGEX.test($),ae=this.IPv6_REGEX.test($);return ie||ae?Q=this.addError(Q,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):B.length<2?Q=this.addError(Q,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:F}),this.validateTLD().bind(this,{value:"."+M})];return B.forEach(Q=>{J.push(this.validateLabel().bind(this,{value:Q}))}),p.runValidationGroup(x,J)}}fqdnOrIP(){return x=>{const B=p.runValidationGroup(x,[this.anyIP()]),M=x.value.split("."),F=M[M.length-1],$=M[0],J=[ie=>{let ae={};return M.length<2&&(ae=this.addError(ae,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),ae},this.validDomainLength(),this.validateLabel().bind(this,{value:$}),this.validateTLD().bind(this,{value:"."+F})];M.forEach(ie=>{J.push(this.validateLabel().bind(this,{value:ie}))});const Q=p.runValidationGroup(x,J);return B&&Q?{...B,...Q}:null}}ipv4(){return x=>{let B={};return x.value&&!this.IPv4_REGEX.test(x.value)?(B=this.addError(B,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),B):null}}ipv6(){return x=>{let B={};return x.value&&!this.IPv6_REGEX.test(x.value)?(B=this.addError(B,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),B):null}}anyIP(){return x=>{let B={};return!x.value||this.IPv4_REGEX.test(x.value)||this.IPv6_REGEX.test(x.value)?null:(B=this.addError(B,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),B)}}}},8415:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.emailValidators=void 0;const f=h(2257);w.emailValidators=new class p extends f.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(T){const C=T||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return I=>{let R={};return I.value&&!this.VALID_EMAIL.test(I.value)?(R=this.addError(R,"invalidEmail",C),R):null}}}},7348:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.equalityValidators=void 0;const f=h(2257);w.equalityValidators=new class p extends f.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(T,C,I){return R=>{const x=R.get(C).value;let M={};return x===R.get(I).value&&""!==x?(M=this.addError(M,"equalFields",T),M):null}}}},2502:(j,w,h)=>{"use strict";w.uZ=w.Xz=void 0;h(50);const A=h(4559);Object.defineProperty(w,"Xz",{enumerable:!0,get:function(){return A.domainValidators}});const T=h(2257);Object.defineProperty(w,"uZ",{enumerable:!0,get:function(){return T.BaseValidator}});h(6156),h(6369),h(6128),h(8415),h(7348),h(7414),h(9761)},2257:(j,w)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.BaseValidator=void 0;let h,f=!0;w.BaseValidator=class A{constructor(){this.prefix="",h={maketext:C=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(C){h=C}get locale(){return h}_buildKey(C){return f?`cpanel.${this.prefix}.${C}`:C}static disablePrefixing(){f=!1}static enablePrefixing(){f=!0}addError(C={},I,R){return"string"==typeof R&&(R={message:R}),C[this._buildKey(I)]=R,C}}},6369:(j,w)=>{"use strict";var f;Object.defineProperty(w,"__esModule",{value:!0}),w.DatabaseType=void 0,(f=w.DatabaseType||(w.DatabaseType={})).MySQL="MySQL",f.PostgreSQL="PostgreSQL"},91:(j,w)=>{"use strict";function A(C){return"0x"+C.toString(16)}Object.defineProperty(w,"__esModule",{value:!0}),w.characterLength=void 0,w.characterLength=function T(C,I){let R=0;for(let x=0;x<C.length;x++){R++;const B=C.charCodeAt(x);if(55296==(64512&B)){if(x++,x===C.length)throw new Error(I.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",A(B)));const M=C.charCodeAt(x);if(56320!=(64512&M))throw new Error(I.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[B,M].map(A),x))}}return R}},549:function(j,w,h){"use strict";var f=this&&this.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(w,"__esModule",{value:!0}),w.runValidationGroup=void 0;const p=f(h(9721));w.runValidationGroup=function A(T,C){const I={};return C.forEach(R=>{p.default(I,R(T))}),Object.keys(I).length?I:null}},9761:(j,w,h)=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.stringValidators=void 0;const f=h(2257),p=h(91);w.stringValidators=new class T extends f.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return I=>{let R;try{R=p.characterLength(I,this.locale)}catch(x){const B={};return this.addError(B,"unicode",x.message),B}return null}}maxCharacterLength(I){return(R,x)=>{if(p.characterLength(x,this.locale)>R){const $={};return this.addError($,"length",I),$}return null}}maxUTF8Length(I){return(R,x)=>{if(function A(C){return unescape(encodeURIComponent(C)).length}(x)>R){const B={};return this.addError(B,"length",I),B}return null}}}},4994:(j,w,h)=>{var f=h(4312),p=h(6421),A=h(5764),T=h(8685),C=h(6676);function I(R){var x=-1,B=null==R?0:R.length;for(this.clear();++x<B;){var M=R[x];this.set(M[0],M[1])}}I.prototype.clear=f,I.prototype.delete=p,I.prototype.get=A,I.prototype.has=T,I.prototype.set=C,j.exports=I},9215:(j,w,h)=>{var f=h(1840),p=h(4378),A=h(4981),T=h(7343),C=h(8895);function I(R){var x=-1,B=null==R?0:R.length;for(this.clear();++x<B;){var M=R[x];this.set(M[0],M[1])}}I.prototype.clear=f,I.prototype.delete=p,I.prototype.get=A,I.prototype.has=T,I.prototype.set=C,j.exports=I},1501:(j,w,h)=>{var A=h(3436)(h(2119),"Map");j.exports=A},9850:(j,w,h)=>{var f=h(638),p=h(1184),A=h(866),T=h(3771),C=h(1772);function I(R){var x=-1,B=null==R?0:R.length;for(this.clear();++x<B;){var M=R[x];this.set(M[0],M[1])}}I.prototype.clear=f,I.prototype.delete=p,I.prototype.get=A,I.prototype.has=T,I.prototype.set=C,j.exports=I},6323:(j,w,h)=>{var A=h(3436)(h(2119),"Set");j.exports=A},8849:(j,w,h)=>{var f=h(9850),p=h(4600),A=h(1387);function T(C){var I=-1,R=null==C?0:C.length;for(this.__data__=new f;++I<R;)this.add(C[I])}T.prototype.add=T.prototype.push=p,T.prototype.has=A,j.exports=T},443:(j,w,h)=>{var f=h(2119);j.exports=f.Symbol},6999:j=>{j.exports=function w(h,f,p){switch(p.length){case 0:return h.call(f);case 1:return h.call(f,p[0]);case 2:return h.call(f,p[0],p[1]);case 3:return h.call(f,p[0],p[1],p[2])}return h.apply(f,p)}},1253:(j,w,h)=>{var f=h(4164);j.exports=function p(A,T){return!(null==A||!A.length)&&f(A,T,0)>-1}},177:j=>{j.exports=function w(h,f,p){for(var A=-1,T=null==h?0:h.length;++A<T;)if(p(f,h[A]))return!0;return!1}},2271:(j,w,h)=>{var f=h(5334),p=h(7151),A=h(1503),T=h(891),C=h(8442),I=h(8159),x=Object.prototype.hasOwnProperty;j.exports=function B(M,F){var $=A(M),J=!$&&p(M),Q=!$&&!J&&T(M),ie=!$&&!J&&!Q&&I(M),ae=$||J||Q||ie,Ie=ae?f(M.length,String):[],ot=Ie.length;for(var xe in M)(F||x.call(M,xe))&&(!ae||!("length"==xe||Q&&("offset"==xe||"parent"==xe)||ie&&("buffer"==xe||"byteLength"==xe||"byteOffset"==xe)||C(xe,ot)))&&Ie.push(xe);return Ie}},4633:j=>{j.exports=function w(h,f){for(var p=-1,A=null==h?0:h.length,T=Array(A);++p<A;)T[p]=f(h[p],p,h);return T}},8745:j=>{j.exports=function w(h,f,p,A){var T=-1,C=null==h?0:h.length;for(A&&C&&(p=h[++T]);++T<C;)p=f(p,h[T],T,h);return p}},5481:(j,w,h)=>{var p=h(1847)("length");j.exports=p},6422:j=>{j.exports=function w(h){return h.split("")}},69:j=>{var w=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;j.exports=function h(f){return f.match(w)||[]}},9719:(j,w,h)=>{var f=h(5683),p=h(217),T=Object.prototype.hasOwnProperty;j.exports=function C(I,R,x){var B=I[R];(!T.call(I,R)||!p(B,x)||void 0===x&&!(R in I))&&f(I,R,x)}},3503:(j,w,h)=>{var f=h(217);j.exports=function p(A,T){for(var C=A.length;C--;)if(f(A[C][0],T))return C;return-1}},5683:(j,w,h)=>{var f=h(6713);j.exports=function p(A,T,C){"__proto__"==T&&f?f(A,T,{configurable:!0,enumerable:!0,value:C,writable:!0}):A[T]=C}},5317:j=>{j.exports=function w(h,f,p,A){for(var T=h.length,C=p+(A?1:-1);A?C--:++C<T;)if(f(h[C],C,h))return C;return-1}},3337:(j,w,h)=>{var f=h(443),p=h(1318),A=h(2902),I=f?f.toStringTag:void 0;j.exports=function R(x){return null==x?void 0===x?"[object Undefined]":"[object Null]":I&&I in Object(x)?p(x):A(x)}},4164:(j,w,h)=>{var f=h(5317),p=h(968),A=h(4977);j.exports=function T(C,I,R){return I==I?A(C,I,R):f(C,p,R)}},186:(j,w,h)=>{var f=h(3337),p=h(2671);j.exports=function T(C){return p(C)&&"[object Arguments]"==f(C)}},968:j=>{j.exports=function w(h){return h!=h}},7304:(j,w,h)=>{var f=h(5946),p=h(1943),A=h(5940),T=h(2827),I=/^\[object .+?Constructor\]$/,F=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");j.exports=function $(J){return!(!A(J)||p(J))&&(f(J)?F:I).test(T(J))}},1083:(j,w,h)=>{var f=h(3337),p=h(6231),A=h(2671),Ke={};Ke["[object Float32Array]"]=Ke["[object Float64Array]"]=Ke["[object Int8Array]"]=Ke["[object Int16Array]"]=Ke["[object Int32Array]"]=Ke["[object Uint8Array]"]=Ke["[object Uint8ClampedArray]"]=Ke["[object Uint16Array]"]=Ke["[object Uint32Array]"]=!0,Ke["[object Arguments]"]=Ke["[object Array]"]=Ke["[object ArrayBuffer]"]=Ke["[object Boolean]"]=Ke["[object DataView]"]=Ke["[object Date]"]=Ke["[object Error]"]=Ke["[object Function]"]=Ke["[object Map]"]=Ke["[object Number]"]=Ke["[object Object]"]=Ke["[object RegExp]"]=Ke["[object Set]"]=Ke["[object String]"]=Ke["[object WeakMap]"]=!1,j.exports=function Rt(Fe){return A(Fe)&&p(Fe.length)&&!!Ke[f(Fe)]}},2809:(j,w,h)=>{var f=h(5940),p=h(5488),A=h(2158),C=Object.prototype.hasOwnProperty;j.exports=function I(R){if(!f(R))return A(R);var x=p(R),B=[];for(var M in R)"constructor"==M&&(x||!C.call(R,M))||B.push(M);return B}},1847:j=>{j.exports=function w(h){return function(f){return null==f?void 0:f[h]}}},2724:j=>{j.exports=function w(h){return function(f){return null==h?void 0:h[f]}}},7065:j=>{var h=Math.floor;j.exports=function f(p,A){var T="";if(!p||A<1||A>9007199254740991)return T;do{A%2&&(T+=p),(A=h(A/2))&&(p+=p)}while(A);return T}},3269:(j,w,h)=>{var f=h(2608),p=h(3983),A=h(2185);j.exports=function T(C,I){return A(p(C,I,f),C+"")}},9510:(j,w,h)=>{var f=h(6684),p=h(6713),A=h(2608);j.exports=p?function(C,I){return p(C,"toString",{configurable:!0,enumerable:!1,value:f(I),writable:!0})}:A},4363:j=>{j.exports=function w(h,f,p){var A=-1,T=h.length;f<0&&(f=-f>T?0:T+f),(p=p>T?T:p)<0&&(p+=T),T=f>p?0:p-f>>>0,f>>>=0;for(var C=Array(T);++A<T;)C[A]=h[A+f];return C}},5334:j=>{j.exports=function w(h,f){for(var p=-1,A=Array(h);++p<h;)A[p]=f(p);return A}},3935:(j,w,h)=>{var f=h(443),p=h(4633),A=h(1503),T=h(4129),I=f?f.prototype:void 0,R=I?I.toString:void 0;j.exports=function x(B){if("string"==typeof B)return B;if(A(B))return p(B,x)+"";if(T(B))return R?R.call(B):"";var M=B+"";return"0"==M&&1/B==-1/0?"-0":M}},3348:(j,w,h)=>{var f=h(2760),p=/^\s+/;j.exports=function A(T){return T&&T.slice(0,f(T)+1).replace(p,"")}},5647:j=>{j.exports=function w(h){return function(f){return h(f)}}},707:(j,w,h)=>{var f=h(8849),p=h(1253),A=h(177),T=h(5972),C=h(4575),I=h(4174);j.exports=function x(B,M,F){var $=-1,J=p,Q=B.length,ie=!0,ae=[],Ie=ae;if(F)ie=!1,J=A;else if(Q>=200){var ot=M?null:C(B);if(ot)return I(ot);ie=!1,J=T,Ie=new f}else Ie=M?[]:ae;e:for(;++$<Q;){var xe=B[$],Oe=M?M(xe):xe;if(xe=F||0!==xe?xe:0,ie&&Oe==Oe){for(var $e=Ie.length;$e--;)if(Ie[$e]===Oe)continue e;M&&Ie.push(Oe),ae.push(xe)}else J(Ie,Oe,F)||(Ie!==ae&&Ie.push(Oe),ae.push(xe))}return ae}},5972:j=>{j.exports=function w(h,f){return h.has(f)}},2329:(j,w,h)=>{var f=h(4363);j.exports=function p(A,T,C){var I=A.length;return C=void 0===C?I:C,!T&&C>=I?A:f(A,T,C)}},1989:(j,w,h)=>{var f=h(9719),p=h(5683);j.exports=function A(T,C,I,R){var x=!I;I||(I={});for(var B=-1,M=C.length;++B<M;){var F=C[B],$=R?R(I[F],T[F],F,I,T):void 0;void 0===$&&($=T[F]),x?p(I,F,$):f(I,F,$)}return I}},4610:(j,w,h)=>{var f=h(2119);j.exports=f["__core-js_shared__"]},4944:(j,w,h)=>{var f=h(3269),p=h(3342);j.exports=function A(T){return f(function(C,I){var R=-1,x=I.length,B=x>1?I[x-1]:void 0,M=x>2?I[2]:void 0;for(B=T.length>3&&"function"==typeof B?(x--,B):void 0,M&&p(I[0],I[1],M)&&(B=x<3?void 0:B,x=1),C=Object(C);++R<x;){var F=I[R];F&&T(C,F,R,B)}return C})}},1491:(j,w,h)=>{var f=h(8745),p=h(4707),A=h(7188),C=RegExp("['\u2019]","g");j.exports=function I(R){return function(x){return f(A(p(x).replace(C,"")),R,"")}}},5171:(j,w,h)=>{var f=h(7065),p=h(3935),A=h(2329),T=h(7609),C=h(2315),I=h(6007),R=Math.ceil;j.exports=function x(B,M){var F=(M=void 0===M?" ":p(M)).length;if(F<2)return F?f(M,B):M;var $=f(M,R(B/C(M)));return T(M)?A(I($),0,B).join(""):$.slice(0,B)}},4575:(j,w,h)=>{var f=h(6323),p=h(2552),A=h(4174),C=f&&1/A(new f([,-0]))[1]==1/0?function(I){return new f(I)}:p;j.exports=C},9148:(j,w,h)=>{var A=h(2724)({\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"});j.exports=A},6713:(j,w,h)=>{var f=h(3436),p=function(){try{var A=f(Object,"defineProperty");return A({},"",{}),A}catch{}}();j.exports=p},9122:j=>{var w="object"==typeof global&&global&&global.Object===Object&&global;j.exports=w},4537:(j,w,h)=>{var f=h(3819);j.exports=function p(A,T){var C=A.__data__;return f(T)?C["string"==typeof T?"string":"hash"]:C.map}},3436:(j,w,h)=>{var f=h(7304),p=h(1990);j.exports=function A(T,C){var I=p(T,C);return f(I)?I:void 0}},9519:(j,w,h)=>{var p=h(9385)(Object.getPrototypeOf,Object);j.exports=p},1318:(j,w,h)=>{var f=h(443),p=Object.prototype,A=p.hasOwnProperty,T=p.toString,C=f?f.toStringTag:void 0;j.exports=function I(R){var x=A.call(R,C),B=R[C];try{R[C]=void 0;var M=!0}catch{}var F=T.call(R);return M&&(x?R[C]=B:delete R[C]),F}},1990:j=>{j.exports=function w(h,f){return null==h?void 0:h[f]}},7609:j=>{var I=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");j.exports=function R(x){return I.test(x)}},9062:j=>{var w=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;j.exports=function h(f){return w.test(f)}},4312:(j,w,h)=>{var f=h(862);j.exports=function p(){this.__data__=f?f(null):{},this.size=0}},6421:j=>{j.exports=function w(h){var f=this.has(h)&&delete this.__data__[h];return this.size-=f?1:0,f}},5764:(j,w,h)=>{var f=h(862),T=Object.prototype.hasOwnProperty;j.exports=function C(I){var R=this.__data__;if(f){var x=R[I];return"__lodash_hash_undefined__"===x?void 0:x}return T.call(R,I)?R[I]:void 0}},8685:(j,w,h)=>{var f=h(862),A=Object.prototype.hasOwnProperty;j.exports=function T(C){var I=this.__data__;return f?void 0!==I[C]:A.call(I,C)}},6676:(j,w,h)=>{var f=h(862);j.exports=function A(T,C){var I=this.__data__;return this.size+=this.has(T)?0:1,I[T]=f&&void 0===C?"__lodash_hash_undefined__":C,this}},8442:j=>{var h=/^(?:0|[1-9]\d*)$/;j.exports=function f(p,A){var T=typeof p;return!!(A=A??9007199254740991)&&("number"==T||"symbol"!=T&&h.test(p))&&p>-1&&p%1==0&&p<A}},3342:(j,w,h)=>{var f=h(217),p=h(6507),A=h(8442),T=h(5940);j.exports=function C(I,R,x){if(!T(x))return!1;var B=typeof R;return!!("number"==B?p(x)&&A(R,x.length):"string"==B&&R in x)&&f(x[R],I)}},3819:j=>{j.exports=function w(h){var f=typeof h;return"string"==f||"number"==f||"symbol"==f||"boolean"==f?"__proto__"!==h:null===h}},1943:(j,w,h)=>{var T,f=h(4610),p=(T=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+T:"";j.exports=function A(T){return!!p&&p in T}},5488:j=>{var w=Object.prototype;j.exports=function h(f){var p=f&&f.constructor;return f===("function"==typeof p&&p.prototype||w)}},1840:j=>{j.exports=function w(){this.__data__=[],this.size=0}},4378:(j,w,h)=>{var f=h(3503),A=Array.prototype.splice;j.exports=function T(C){var I=this.__data__,R=f(I,C);return!(R<0||(R==I.length-1?I.pop():A.call(I,R,1),--this.size,0))}},4981:(j,w,h)=>{var f=h(3503);j.exports=function p(A){var T=this.__data__,C=f(T,A);return C<0?void 0:T[C][1]}},7343:(j,w,h)=>{var f=h(3503);j.exports=function p(A){return f(this.__data__,A)>-1}},8895:(j,w,h)=>{var f=h(3503);j.exports=function p(A,T){var C=this.__data__,I=f(C,A);return I<0?(++this.size,C.push([A,T])):C[I][1]=T,this}},638:(j,w,h)=>{var f=h(4994),p=h(9215),A=h(1501);j.exports=function T(){this.size=0,this.__data__={hash:new f,map:new(A||p),string:new f}}},1184:(j,w,h)=>{var f=h(4537);j.exports=function p(A){var T=f(this,A).delete(A);return this.size-=T?1:0,T}},866:(j,w,h)=>{var f=h(4537);j.exports=function p(A){return f(this,A).get(A)}},3771:(j,w,h)=>{var f=h(4537);j.exports=function p(A){return f(this,A).has(A)}},1772:(j,w,h)=>{var f=h(4537);j.exports=function p(A,T){var C=f(this,A),I=C.size;return C.set(A,T),this.size+=C.size==I?0:1,this}},862:(j,w,h)=>{var p=h(3436)(Object,"create");j.exports=p},2158:j=>{j.exports=function w(h){var f=[];if(null!=h)for(var p in Object(h))f.push(p);return f}},3597:(j,w,h)=>{j=h.nmd(j);var f=h(9122),p=w&&!w.nodeType&&w,A=p&&j&&!j.nodeType&&j,C=A&&A.exports===p&&f.process,I=function(){try{return A&&A.require&&A.require("util").types||C&&C.binding&&C.binding("util")}catch{}}();j.exports=I},2902:j=>{var h=Object.prototype.toString;j.exports=function f(p){return h.call(p)}},9385:j=>{j.exports=function w(h,f){return function(p){return h(f(p))}}},3983:(j,w,h)=>{var f=h(6999),p=Math.max;j.exports=function A(T,C,I){return C=p(void 0===C?T.length-1:C,0),function(){for(var R=arguments,x=-1,B=p(R.length-C,0),M=Array(B);++x<B;)M[x]=R[C+x];x=-1;for(var F=Array(C+1);++x<C;)F[x]=R[x];return F[C]=I(M),f(T,this,F)}}},2119:(j,w,h)=>{var f=h(9122),p="object"==typeof self&&self&&self.Object===Object&&self,A=f||p||Function("return this")();j.exports=A},4600:j=>{j.exports=function h(f){return this.__data__.set(f,"__lodash_hash_undefined__"),this}},1387:j=>{j.exports=function w(h){return this.__data__.has(h)}},4174:j=>{j.exports=function w(h){var f=-1,p=Array(h.size);return h.forEach(function(A){p[++f]=A}),p}},2185:(j,w,h)=>{var f=h(9510),A=h(29)(f);j.exports=A},29:j=>{var f=Date.now;j.exports=function p(A){var T=0,C=0;return function(){var I=f(),R=16-(I-C);if(C=I,R>0){if(++T>=800)return arguments[0]}else T=0;return A.apply(void 0,arguments)}}},4977:j=>{j.exports=function w(h,f,p){for(var A=p-1,T=h.length;++A<T;)if(h[A]===f)return A;return-1}},2315:(j,w,h)=>{var f=h(5481),p=h(7609),A=h(1149);j.exports=function T(C){return p(C)?A(C):f(C)}},6007:(j,w,h)=>{var f=h(6422),p=h(7609),A=h(6319);j.exports=function T(C){return p(C)?A(C):f(C)}},2827:j=>{var h=Function.prototype.toString;j.exports=function f(p){if(null!=p){try{return h.call(p)}catch{}try{return p+""}catch{}}return""}},2760:j=>{var w=/\s/;j.exports=function h(f){for(var p=f.length;p--&&w.test(f.charAt(p)););return p}},1149:j=>{var w="\\ud800-\\udfff",C="["+w+"]",I="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R="\\ud83c[\\udffb-\\udfff]",B="[^"+w+"]",M="(?:\\ud83c[\\udde6-\\uddff]){2}",F="[\\ud800-\\udbff][\\udc00-\\udfff]",J="(?:"+I+"|"+R+")?",Q="[\\ufe0e\\ufe0f]?",ae=Q+J+"(?:\\u200d(?:"+[B,M,F].join("|")+")"+Q+J+")*",Ie="(?:"+[B+I+"?",I,M,F,C].join("|")+")",ot=RegExp(R+"(?="+R+")|"+Ie+ae,"g");j.exports=function xe(Oe){for(var $e=ot.lastIndex=0;ot.test(Oe);)++$e;return $e}},6319:j=>{var w="\\ud800-\\udfff",C="["+w+"]",I="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R="\\ud83c[\\udffb-\\udfff]",B="[^"+w+"]",M="(?:\\ud83c[\\udde6-\\uddff]){2}",F="[\\ud800-\\udbff][\\udc00-\\udfff]",J="(?:"+I+"|"+R+")?",Q="[\\ufe0e\\ufe0f]?",ae=Q+J+"(?:\\u200d(?:"+[B,M,F].join("|")+")"+Q+J+")*",Ie="(?:"+[B+I+"?",I,M,F,C].join("|")+")",ot=RegExp(R+"(?="+R+")|"+Ie+ae,"g");j.exports=function xe(Oe){return Oe.match(ot)||[]}},910:j=>{var w="\\ud800-\\udfff",T="\\u2700-\\u27bf",C="a-z\\xdf-\\xf6\\xf8-\\xff",M="A-Z\\xc0-\\xd6\\xd8-\\xde",$="\\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",Q="["+$+"]",ae="\\d+",Ie="["+T+"]",ot="["+C+"]",xe="[^"+w+$+ae+T+C+M+"]",Ge="(?:\\ud83c[\\udde6-\\uddff]){2}",Gt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+M+"]",$t="(?:"+ot+"|"+xe+")",Ke="(?:"+Ve+"|"+xe+")",Rt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Fe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",le="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",me="[\\ufe0e\\ufe0f]?",Pt=me+le+"(?:\\u200d(?:"+["[^"+w+"]",Ge,Gt].join("|")+")"+me+le+")*",Lt="(?:"+[Ie,Ge,Gt].join("|")+")"+Pt,un=RegExp([Ve+"?"+ot+"+"+Rt+"(?="+[Q,Ve,"$"].join("|")+")",Ke+"+"+Fe+"(?="+[Q,Ve+$t,"$"].join("|")+")",Ve+"?"+$t+"+"+Rt,Ve+"+"+Fe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ae,Lt].join("|"),"g");j.exports=function Jt(xn){return xn.match(un)||[]}},9919:(j,w,h)=>{var f=h(1989),p=h(4944),A=h(6555),T=p(function(C,I){f(I,A(I),C)});j.exports=T},6684:j=>{j.exports=function w(h){return function(){return h}}},4707:(j,w,h)=>{var f=h(9148),p=h(3943),A=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,B=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");j.exports=function M(F){return(F=p(F))&&F.replace(A,f).replace(B,"")}},217:j=>{j.exports=function w(h,f){return h===f||h!=h&&f!=f}},9721:(j,w,h)=>{j.exports=h(9919)},2608:j=>{j.exports=function w(h){return h}},7151:(j,w,h)=>{var f=h(186),p=h(2671),A=Object.prototype,T=A.hasOwnProperty,C=A.propertyIsEnumerable,I=f(function(){return arguments}())?f:function(R){return p(R)&&T.call(R,"callee")&&!C.call(R,"callee")};j.exports=I},1503:j=>{j.exports=Array.isArray},6507:(j,w,h)=>{var f=h(5946),p=h(6231);j.exports=function A(T){return null!=T&&p(T.length)&&!f(T)}},4798:(j,w,h)=>{var f=h(3337),p=h(2671);j.exports=function T(C){return!0===C||!1===C||p(C)&&"[object Boolean]"==f(C)}},891:(j,w,h)=>{j=h.nmd(j);var f=h(2119),p=h(3580),A=w&&!w.nodeType&&w,T=A&&j&&!j.nodeType&&j,I=T&&T.exports===A?f.Buffer:void 0;j.exports=(I?I.isBuffer:void 0)||p},5946:(j,w,h)=>{var f=h(3337),p=h(5940);j.exports=function R(x){if(!p(x))return!1;var B=f(x);return"[object Function]"==B||"[object GeneratorFunction]"==B||"[object AsyncFunction]"==B||"[object Proxy]"==B}},6231:j=>{j.exports=function h(f){return"number"==typeof f&&f>-1&&f%1==0&&f<=9007199254740991}},1305:j=>{j.exports=function w(h){return null===h}},9138:(j,w,h)=>{var f=h(3337),p=h(2671);j.exports=function T(C){return"number"==typeof C||p(C)&&"[object Number]"==f(C)}},5940:j=>{j.exports=function w(h){var f=typeof h;return null!=h&&("object"==f||"function"==f)}},2671:j=>{j.exports=function w(h){return null!=h&&"object"==typeof h}},7614:(j,w,h)=>{var f=h(3337),p=h(9519),A=h(2671),R=Function.prototype.toString,x=Object.prototype.hasOwnProperty,B=R.call(Object);j.exports=function M(F){if(!A(F)||"[object Object]"!=f(F))return!1;var $=p(F);if(null===$)return!0;var J=x.call($,"constructor")&&$.constructor;return"function"==typeof J&&J instanceof J&&R.call(J)==B}},248:(j,w,h)=>{var f=h(3337),p=h(1503),A=h(2671);j.exports=function C(I){return"string"==typeof I||!p(I)&&A(I)&&"[object String]"==f(I)}},4129:(j,w,h)=>{var f=h(3337),p=h(2671);j.exports=function T(C){return"symbol"==typeof C||p(C)&&"[object Symbol]"==f(C)}},8159:(j,w,h)=>{var f=h(1083),p=h(5647),A=h(3597),T=A&&A.isTypedArray,C=T?p(T):f;j.exports=C},4235:j=>{j.exports=function w(h){return void 0===h}},6555:(j,w,h)=>{var f=h(2271),p=h(2809),A=h(6507);j.exports=function T(C){return A(C)?f(C,!0):p(C)}},2552:j=>{j.exports=function w(){}},8448:(j,w,h)=>{var f=h(5171),p=h(2315),A=h(4401),T=h(3943);j.exports=function C(I,R,x){I=T(I);var B=(R=A(R))?p(I):0;return R&&B<R?f(R-B,x)+I:I}},1978:(j,w,h)=>{var p=h(1491)(function(A,T,C){return A+(C?"_":"")+T.toLowerCase()});j.exports=p},3580:j=>{j.exports=function w(){return!1}},2232:(j,w,h)=>{var f=h(1467),p=1/0;j.exports=function T(C){return C?(C=f(C))===p||C===-p?17976931348623157e292*(C<0?-1:1):C==C?C:0:0===C?C:0}},4401:(j,w,h)=>{var f=h(2232);j.exports=function p(A){var T=f(A),C=T%1;return T==T?C?T-C:T:0}},1467:(j,w,h)=>{var f=h(3348),p=h(5940),A=h(4129),C=/^[-+]0x[0-9a-f]+$/i,I=/^0b[01]+$/i,R=/^0o[0-7]+$/i,x=parseInt;j.exports=function B(M){if("number"==typeof M)return M;if(A(M))return NaN;if(p(M)){var F="function"==typeof M.valueOf?M.valueOf():M;M=p(F)?F+"":F}if("string"!=typeof M)return 0===M?M:+M;M=f(M);var $=I.test(M);return $||R.test(M)?x(M.slice(2),$?2:8):C.test(M)?NaN:+M}},3943:(j,w,h)=>{var f=h(3935);j.exports=function p(A){return null==A?"":f(A)}},836:(j,w,h)=>{var f=h(707);j.exports=function p(A){return A&&A.length?f(A):[]}},7188:(j,w,h)=>{var f=h(69),p=h(9062),A=h(3943),T=h(910);j.exports=function C(I,R,x){return I=A(I),void 0===(R=x?void 0:R)?p(I)?T(I):f(I):I.match(R)||[]}},4879:(j,w,h)=>{"use strict";h.r(w),h.d(w,{decode:()=>Ve,default:()=>Fe,encode:()=>at,toASCII:()=>Ke,toUnicode:()=>$t,ucs2decode:()=>Oe,ucs2encode:()=>$e});const f=2147483647,p=36,M=/^xn--/,F=/[^\0-\x7E]/,$=/[\x2E\u3002\uFF0E\uFF61]/g,J={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ie=Math.floor,ae=String.fromCharCode;function Ie(le){throw new RangeError(J[le])}function xe(le,me){const Ce=le.split("@");let X="";Ce.length>1&&(X=Ce[0]+"@",le=Ce[1]);const Pt=function ot(le,me){const Ce=[];let X=le.length;for(;X--;)Ce[X]=me(le[X]);return Ce}((le=le.replace($,".")).split("."),me).join(".");return X+Pt}function Oe(le){const me=[];let Ce=0;const X=le.length;for(;Ce<X;){const Pe=le.charCodeAt(Ce++);if(Pe>=55296&&Pe<=56319&&Ce<X){const Pt=le.charCodeAt(Ce++);56320==(64512&Pt)?me.push(((1023&Pe)<<10)+(1023&Pt)+65536):(me.push(Pe),Ce--)}else me.push(Pe)}return me}const $e=le=>String.fromCodePoint(...le),De=function(le){return le-48<10?le-22:le-65<26?le-65:le-97<26?le-97:p},Ge=function(le,me){return le+22+75*(le<26)-((0!=me)<<5)},Gt=function(le,me,Ce){let X=0;for(le=Ce?ie(le/700):le>>1,le+=ie(le/me);le>455;X+=p)le=ie(le/35);return ie(X+36*le/(le+38))},Ve=function(le){const me=[],Ce=le.length;let X=0,Pe=128,Pt=72,Lt=le.lastIndexOf("-");Lt<0&&(Lt=0);for(let un=0;un<Lt;++un)le.charCodeAt(un)>=128&&Ie("not-basic"),me.push(le.charCodeAt(un));for(let un=Lt>0?Lt+1:0;un<Ce;){let Jt=X;for(let Dn=1,An=p;;An+=p){un>=Ce&&Ie("invalid-input");const Cn=De(le.charCodeAt(un++));(Cn>=p||Cn>ie((f-X)/Dn))&&Ie("overflow"),X+=Cn*Dn;const Ft=An<=Pt?1:An>=Pt+26?26:An-Pt;if(Cn<Ft)break;const kt=p-Ft;Dn>ie(f/kt)&&Ie("overflow"),Dn*=kt}const xn=me.length+1;Pt=Gt(X-Jt,xn,0==Jt),ie(X/xn)>f-Pe&&Ie("overflow"),Pe+=ie(X/xn),X%=xn,me.splice(X++,0,Pe)}return String.fromCodePoint(...me)},at=function(le){const me=[];let Ce=(le=Oe(le)).length,X=128,Pe=0,Pt=72;for(const Jt of le)Jt<128&&me.push(ae(Jt));let Lt=me.length,un=Lt;for(Lt&&me.push("-");un<Ce;){let Jt=f;for(const Dn of le)Dn>=X&&Dn<Jt&&(Jt=Dn);const xn=un+1;Jt-X>ie((f-Pe)/xn)&&Ie("overflow"),Pe+=(Jt-X)*xn,X=Jt;for(const Dn of le)if(Dn<X&&++Pe>f&&Ie("overflow"),Dn==X){let An=Pe;for(let Cn=p;;Cn+=p){const Ft=Cn<=Pt?1:Cn>=Pt+26?26:Cn-Pt;if(An<Ft)break;const kt=An-Ft,dr=p-Ft;me.push(ae(Ge(Ft+kt%dr,0))),An=ie(kt/dr)}me.push(ae(Ge(An,0))),Pt=Gt(Pe,xn,un==Lt),Pe=0,++un}++Pe,++X}return me.join("")},$t=function(le){return xe(le,function(me){return M.test(me)?Ve(me.slice(4).toLowerCase()):me})},Ke=function(le){return xe(le,function(me){return F.test(me)?"xn--"+at(me):me})},Fe={version:"2.1.0",ucs2:{decode:Oe,encode:$e},decode:Ve,encode:at,toASCII:Ke,toUnicode:$t}},1869:(j,w,h)=>{"use strict";h.d(w,{d:()=>p});var f=h(3489);class p extends f.L{constructor(T,C,I){super(),this.parent=T,this.outerValue=C,this.outerIndex=I,this.index=0}_next(T){this.parent.notifyNext(this.outerValue,T,this.outerIndex,this.index++,this)}_error(T){this.parent.notifyError(T,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(j,w,h)=>{"use strict";h.d(w,{y:()=>F});var f=h(3489),A=h(7668),T=h(3292),I=h(3821),R=h(5379);var M=h(2830);let F=(()=>{class J{constructor(ie){this._isScalar=!1,ie&&(this._subscribe=ie)}lift(ie){const ae=new J;return ae.source=this,ae.operator=ie,ae}subscribe(ie,ae,Ie){const{operator:ot}=this,xe=function C(J,Q,ie){if(J){if(J instanceof f.L)return J;if(J[A.b])return J[A.b]()}return J||Q||ie?new f.L(J,Q,ie):new f.L(T.c)}(ie,ae,Ie);if(xe.add(ot?ot.call(xe,this.source):this.source||M.v.useDeprecatedSynchronousErrorHandling&&!xe.syncErrorThrowable?this._subscribe(xe):this._trySubscribe(xe)),M.v.useDeprecatedSynchronousErrorHandling&&xe.syncErrorThrowable&&(xe.syncErrorThrowable=!1,xe.syncErrorThrown))throw xe.syncErrorValue;return xe}_trySubscribe(ie){try{return this._subscribe(ie)}catch(ae){M.v.useDeprecatedSynchronousErrorHandling&&(ie.syncErrorThrown=!0,ie.syncErrorValue=ae),function p(J){for(;J;){const{closed:Q,destination:ie,isStopped:ae}=J;if(Q||ae)return!1;J=ie&&ie instanceof f.L?ie:null}return!0}(ie)?ie.error(ae):console.warn(ae)}}forEach(ie,ae){return new(ae=$(ae))((Ie,ot)=>{let xe;xe=this.subscribe(Oe=>{try{ie(Oe)}catch($e){ot($e),xe&&xe.unsubscribe()}},ot,Ie)})}_subscribe(ie){const{source:ae}=this;return ae&&ae.subscribe(ie)}[I.L](){return this}pipe(...ie){return 0===ie.length?this:function B(J){return 0===J.length?R.y:1===J.length?J[0]:function(ie){return J.reduce((ae,Ie)=>Ie(ae),ie)}}(ie)(this)}toPromise(ie){return new(ie=$(ie))((ae,Ie)=>{let ot;this.subscribe(xe=>ot=xe,xe=>Ie(xe),()=>ae(ot))})}}return J.create=Q=>new J(Q),J})();function $(J){if(J||(J=M.v.Promise||Promise),!J)throw new Error("no Promise impl found");return J}},3292:(j,w,h)=>{"use strict";h.d(w,{c:()=>A});var f=h(2830),p=h(2782);const A={closed:!0,next(T){},error(T){if(f.v.useDeprecatedSynchronousErrorHandling)throw T;(0,p.z)(T)},complete(){}}},826:(j,w,h)=>{"use strict";h.d(w,{L:()=>p});var f=h(3489);class p extends f.L{notifyNext(T,C,I,R,x){this.destination.next(C)}notifyError(T,C){this.destination.error(T)}notifyComplete(T){this.destination.complete()}}},5529:(j,w,h)=>{"use strict";h.d(w,{xQ:()=>x,Yc:()=>R});var f=h(2916),p=h(3489),A=h(2654),T=h(5279);class C extends A.w{constructor(F,$){super(),this.subject=F,this.subscriber=$,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const F=this.subject,$=F.observers;if(this.subject=null,!$||0===$.length||F.isStopped||F.closed)return;const J=$.indexOf(this.subscriber);-1!==J&&$.splice(J,1)}}var I=h(7668);class R extends p.L{constructor(F){super(F),this.destination=F}}let x=(()=>{class M extends f.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[I.b](){return new R(this)}lift($){const J=new B(this,this);return J.operator=$,J}next($){if(this.closed)throw new T.N;if(!this.isStopped){const{observers:J}=this,Q=J.length,ie=J.slice();for(let ae=0;ae<Q;ae++)ie[ae].next($)}}error($){if(this.closed)throw new T.N;this.hasError=!0,this.thrownError=$,this.isStopped=!0;const{observers:J}=this,Q=J.length,ie=J.slice();for(let ae=0;ae<Q;ae++)ie[ae].error($);this.observers.length=0}complete(){if(this.closed)throw new T.N;this.isStopped=!0;const{observers:$}=this,J=$.length,Q=$.slice();for(let ie=0;ie<J;ie++)Q[ie].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe($){if(this.closed)throw new T.N;return super._trySubscribe($)}_subscribe($){if(this.closed)throw new T.N;return this.hasError?($.error(this.thrownError),A.w.EMPTY):this.isStopped?($.complete(),A.w.EMPTY):(this.observers.push($),new C(this,$))}asObservable(){const $=new f.y;return $.source=this,$}}return M.create=(F,$)=>new B(F,$),M})();class B extends x{constructor(F,$){super(),this.destination=F,this.source=$}next(F){const{destination:$}=this;$&&$.next&&$.next(F)}error(F){const{destination:$}=this;$&&$.error&&this.destination.error(F)}complete(){const{destination:F}=this;F&&F.complete&&this.destination.complete()}_subscribe(F){const{source:$}=this;return $?this.source.subscribe(F):A.w.EMPTY}}},3489:(j,w,h)=>{"use strict";h.d(w,{L:()=>R});var f=h(7043),p=h(3292),A=h(2654),T=h(7668),C=h(2830),I=h(2782);class R extends A.w{constructor(M,F,$){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=p.c;break;case 1:if(!M){this.destination=p.c;break}if("object"==typeof M){M instanceof R?(this.syncErrorThrowable=M.syncErrorThrowable,this.destination=M,M.add(this)):(this.syncErrorThrowable=!0,this.destination=new x(this,M));break}default:this.syncErrorThrowable=!0,this.destination=new x(this,M,F,$)}}[T.b](){return this}static create(M,F,$){const J=new R(M,F,$);return J.syncErrorThrowable=!1,J}next(M){this.isStopped||this._next(M)}error(M){this.isStopped||(this.isStopped=!0,this._error(M))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(M){this.destination.next(M)}_error(M){this.destination.error(M),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:M}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=M,this}}class x extends R{constructor(M,F,$,J){super(),this._parentSubscriber=M;let Q,ie=this;(0,f.m)(F)?Q=F:F&&(Q=F.next,$=F.error,J=F.complete,F!==p.c&&(ie=Object.create(F),(0,f.m)(ie.unsubscribe)&&this.add(ie.unsubscribe.bind(ie)),ie.unsubscribe=this.unsubscribe.bind(this))),this._context=ie,this._next=Q,this._error=$,this._complete=J}next(M){if(!this.isStopped&&this._next){const{_parentSubscriber:F}=this;C.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,M)&&this.unsubscribe():this.__tryOrUnsub(this._next,M)}}error(M){if(!this.isStopped){const{_parentSubscriber:F}=this,{useDeprecatedSynchronousErrorHandling:$}=C.v;if(this._error)$&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,M),this.unsubscribe()):(this.__tryOrUnsub(this._error,M),this.unsubscribe());else if(F.syncErrorThrowable)$?(F.syncErrorValue=M,F.syncErrorThrown=!0):(0,I.z)(M),this.unsubscribe();else{if(this.unsubscribe(),$)throw M;(0,I.z)(M)}}}complete(){if(!this.isStopped){const{_parentSubscriber:M}=this;if(this._complete){const F=()=>this._complete.call(this._context);C.v.useDeprecatedSynchronousErrorHandling&&M.syncErrorThrowable?(this.__tryOrSetError(M,F),this.unsubscribe()):(this.__tryOrUnsub(F),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(M,F){try{M.call(this._context,F)}catch($){if(this.unsubscribe(),C.v.useDeprecatedSynchronousErrorHandling)throw $;(0,I.z)($)}}__tryOrSetError(M,F,$){if(!C.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,$)}catch(J){return C.v.useDeprecatedSynchronousErrorHandling?(M.syncErrorValue=J,M.syncErrorThrown=!0,!0):((0,I.z)(J),!0)}return!1}_unsubscribe(){const{_parentSubscriber:M}=this;this._context=null,this._parentSubscriber=null,M.unsubscribe()}}},2654:(j,w,h)=>{"use strict";h.d(w,{w:()=>I});var f=h(6688),p=h(7830),A=h(7043);const C=(()=>{function x(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((M,F)=>`${F+1}) ${M.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return x.prototype=Object.create(Error.prototype),x})();class I{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:M,_unsubscribe:F,_subscriptions:$}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,M instanceof I)M.remove(this);else if(null!==M)for(let J=0;J<M.length;++J)M[J].remove(this);if((0,A.m)(F))try{F.call(this)}catch(J){B=J instanceof C?R(J.errors):[J]}if((0,f.k)($)){let J=-1,Q=$.length;for(;++J<Q;){const ie=$[J];if((0,p.K)(ie))try{ie.unsubscribe()}catch(ae){B=B||[],ae instanceof C?B=B.concat(R(ae.errors)):B.push(ae)}}}if(B)throw new C(B)}add(B){let M=B;if(!B)return I.EMPTY;switch(typeof B){case"function":M=new I(B);case"object":if(M===this||M.closed||"function"!=typeof M.unsubscribe)return M;if(this.closed)return M.unsubscribe(),M;if(!(M instanceof I)){const J=M;M=new I,M._subscriptions=[J]}break;default:throw new Error("unrecognized teardown "+B+" added to Subscription.")}let{_parentOrParents:F}=M;if(null===F)M._parentOrParents=this;else if(F instanceof I){if(F===this)return M;M._parentOrParents=[F,this]}else{if(-1!==F.indexOf(this))return M;F.push(this)}const $=this._subscriptions;return null===$?this._subscriptions=[M]:$.push(M),M}remove(B){const M=this._subscriptions;if(M){const F=M.indexOf(B);-1!==F&&M.splice(F,1)}}}var x;function R(x){return x.reduce((B,M)=>B.concat(M instanceof C?M.errors:M),[])}I.EMPTY=((x=new I).closed=!0,x)},2830:(j,w,h)=>{"use strict";h.d(w,{v:()=>p});let f=!1;const p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(A){if(A){const T=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+T.stack)}else f&&console.log("RxJS: Back to a better error behavior. Thank you. <3");f=A},get useDeprecatedSynchronousErrorHandling(){return f}}},1762:(j,w,h)=>{"use strict";h.d(w,{N:()=>I,c:()=>C});var f=h(5529),p=h(2916),A=h(2654),T=h(4327);class C extends p.y{constructor(F,$){super(),this.source=F,this.subjectFactory=$,this._refCount=0,this._isComplete=!1}_subscribe(F){return this.getSubject().subscribe(F)}getSubject(){const F=this._subject;return(!F||F.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let F=this._connection;return F||(this._isComplete=!1,F=this._connection=new A.w,F.add(this.source.subscribe(new R(this.getSubject(),this))),F.closed&&(this._connection=null,F=A.w.EMPTY)),F}refCount(){return(0,T.x)()(this)}}const I=(()=>{const M=C.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:M._subscribe},_isComplete:{value:M._isComplete,writable:!0},getSubject:{value:M.getSubject},connect:{value:M.connect},refCount:{value:M.refCount}}})();class R extends f.Yc{constructor(F,$){super(F),this.connectable=$}_error(F){this._unsubscribe(),super._error(F)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const F=this.connectable;if(F){this.connectable=null;const $=F._connection;F._refCount=0,F._subject=null,F._connection=null,$&&$.unsubscribe()}}}},6053:(j,w,h)=>{"use strict";h.d(w,{aj:()=>R});var f=h(2866),p=h(6688),A=h(826),T=h(9054),C=h(3009);const I={};function R(...M){let F=null,$=null;return(0,f.K)(M[M.length-1])&&($=M.pop()),"function"==typeof M[M.length-1]&&(F=M.pop()),1===M.length&&(0,p.k)(M[0])&&(M=M[0]),(0,C.n)(M,$).lift(new x(F))}class x{constructor(F){this.resultSelector=F}call(F,$){return $.subscribe(new B(F,this.resultSelector))}}class B extends A.L{constructor(F,$){super(F),this.resultSelector=$,this.active=0,this.values=[],this.observables=[]}_next(F){this.values.push(I),this.observables.push(F)}_complete(){const F=this.observables,$=F.length;if(0===$)this.destination.complete();else{this.active=$,this.toRespond=$;for(let J=0;J<$;J++){const Q=F[J];this.add((0,T.D)(this,Q,Q,J))}}}notifyComplete(F){0==(this.active-=1)&&this.destination.complete()}notifyNext(F,$,J,Q,ie){const ae=this.values,ot=this.toRespond?ae[J]===I?--this.toRespond:this.toRespond:0;ae[J]=$,0===ot&&(this.resultSelector?this._tryResultSelector(ae):this.destination.next(ae.slice()))}_tryResultSelector(F){let $;try{$=this.resultSelector.apply(this,F)}catch(J){return void this.destination.error(J)}this.destination.next($)}}},1221:(j,w,h)=>{"use strict";h.d(w,{z:()=>T});var f=h(1086),p=h(9146);function T(...C){return function A(){return(0,p.J)(1)}()((0,f.of)(...C))}},5254:(j,w,h)=>{"use strict";h.d(w,{D:()=>ie});var f=h(2916),p=h(9249),A=h(2654),T=h(3821),R=h(6454),x=h(5430),F=h(8955),$=h(8515);function ie(ae,Ie){return Ie?function Q(ae,Ie){if(null!=ae){if(function M(ae){return ae&&"function"==typeof ae[T.L]}(ae))return function C(ae,Ie){return new f.y(ot=>{const xe=new A.w;return xe.add(Ie.schedule(()=>{const Oe=ae[T.L]();xe.add(Oe.subscribe({next($e){xe.add(Ie.schedule(()=>ot.next($e)))},error($e){xe.add(Ie.schedule(()=>ot.error($e)))},complete(){xe.add(Ie.schedule(()=>ot.complete()))}}))})),xe})}(ae,Ie);if((0,F.t)(ae))return function I(ae,Ie){return new f.y(ot=>{const xe=new A.w;return xe.add(Ie.schedule(()=>ae.then(Oe=>{xe.add(Ie.schedule(()=>{ot.next(Oe),xe.add(Ie.schedule(()=>ot.complete()))}))},Oe=>{xe.add(Ie.schedule(()=>ot.error(Oe)))}))),xe})}(ae,Ie);if((0,$.z)(ae))return(0,R.r)(ae,Ie);if(function J(ae){return ae&&"function"==typeof ae[x.hZ]}(ae)||"string"==typeof ae)return function B(ae,Ie){if(!ae)throw new Error("Iterable cannot be null");return new f.y(ot=>{const xe=new A.w;let Oe;return xe.add(()=>{Oe&&"function"==typeof Oe.return&&Oe.return()}),xe.add(Ie.schedule(()=>{Oe=ae[x.hZ](),xe.add(Ie.schedule(function(){if(ot.closed)return;let $e,De;try{const Ge=Oe.next();$e=Ge.value,De=Ge.done}catch(Ge){return void ot.error(Ge)}De?ot.complete():(ot.next($e),this.schedule())}))})),xe})}(ae,Ie)}throw new TypeError((null!==ae&&typeof ae||ae)+" is not observable")}(ae,Ie):ae instanceof f.y?ae:new f.y((0,p.s)(ae))}},3009:(j,w,h)=>{"use strict";h.d(w,{n:()=>T});var f=h(2916),p=h(3650),A=h(6454);function T(C,I){return I?(0,A.r)(C,I):new f.y((0,p.V)(C))}},3753:(j,w,h)=>{"use strict";h.d(w,{R:()=>I});var f=h(2916),p=h(6688),A=h(7043),T=h(4850);function I(F,$,J,Q){return(0,A.m)(J)&&(Q=J,J=void 0),Q?I(F,$,J).pipe((0,T.U)(ie=>(0,p.k)(ie)?Q(...ie):Q(ie))):new f.y(ie=>{R(F,$,function ae(Ie){ie.next(arguments.length>1?Array.prototype.slice.call(arguments):Ie)},ie,J)})}function R(F,$,J,Q,ie){let ae;if(function M(F){return F&&"function"==typeof F.addEventListener&&"function"==typeof F.removeEventListener}(F)){const Ie=F;F.addEventListener($,J,ie),ae=()=>Ie.removeEventListener($,J,ie)}else if(function B(F){return F&&"function"==typeof F.on&&"function"==typeof F.off}(F)){const Ie=F;F.on($,J),ae=()=>Ie.off($,J)}else if(function x(F){return F&&"function"==typeof F.addListener&&"function"==typeof F.removeListener}(F)){const Ie=F;F.addListener($,J),ae=()=>Ie.removeListener($,J)}else{if(!F||!F.length)throw new TypeError("Invalid event target");for(let Ie=0,ot=F.length;Ie<ot;Ie++)R(F[Ie],$,J,Q,ie)}Q.add(ae)}},1086:(j,w,h)=>{"use strict";h.d(w,{of:()=>T});var f=h(2866),p=h(3009),A=h(6454);function T(...C){let I=C[C.length-1];return(0,f.K)(I)?(C.pop(),(0,A.r)(C,I)):(0,p.n)(C)}},1737:(j,w,h)=>{"use strict";h.d(w,{_:()=>p});var f=h(2916);function p(T,C){return new f.y(C?I=>C.schedule(A,0,{error:T,subscriber:I}):I=>I.error(T))}function A({error:T,subscriber:C}){C.error(T)}},7221:(j,w,h)=>{"use strict";h.d(w,{K:()=>T});var f=h(826),p=h(1869),A=h(9054);function T(R){return function(B){const M=new C(R),F=B.lift(M);return M.caught=F}}class C{constructor(x){this.selector=x}call(x,B){return B.subscribe(new I(x,this.selector,this.caught))}}class I extends f.L{constructor(x,B,M){super(x),this.selector=B,this.caught=M}error(x){if(!this.isStopped){let B;try{B=this.selector(x,this.caught)}catch($){return void super.error($)}this._unsubscribeAndRecycle();const M=new p.d(this,void 0,void 0);this.add(M);const F=(0,A.D)(this,B,void 0,void 0,M);F!==M&&this.add(F)}}}},1406:(j,w,h)=>{"use strict";h.d(w,{b:()=>p});var f=h(1709);function p(A,T){return(0,f.zg)(A,T,1)}},2198:(j,w,h)=>{"use strict";h.d(w,{h:()=>p});var f=h(3489);function p(C,I){return function(x){return x.lift(new A(C,I))}}class A{constructor(I,R){this.predicate=I,this.thisArg=R}call(I,R){return R.subscribe(new T(I,this.predicate,this.thisArg))}}class T extends f.L{constructor(I,R,x){super(I),this.predicate=R,this.thisArg=x,this.count=0}_next(I){let R;try{R=this.predicate.call(this.thisArg,I,this.count++)}catch(x){return void this.destination.error(x)}R&&this.destination.next(I)}}},537:(j,w,h)=>{"use strict";h.d(w,{x:()=>A});var f=h(3489),p=h(2654);function A(I){return R=>R.lift(new T(I))}class T{constructor(R){this.callback=R}call(R,x){return x.subscribe(new C(R,this.callback))}}class C extends f.L{constructor(R,x){super(R),this.add(new p.w(x))}}},4850:(j,w,h)=>{"use strict";h.d(w,{U:()=>p});var f=h(3489);function p(C,I){return function(x){if("function"!=typeof C)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return x.lift(new A(C,I))}}class A{constructor(I,R){this.project=I,this.thisArg=R}call(I,R){return R.subscribe(new T(I,this.project,this.thisArg))}}class T extends f.L{constructor(I,R,x){super(I),this.project=R,this.count=0,this.thisArg=x||this}_next(I){let R;try{R=this.project.call(this.thisArg,I,this.count++)}catch(x){return void this.destination.error(x)}this.destination.next(R)}}},9146:(j,w,h)=>{"use strict";h.d(w,{J:()=>A});var f=h(1709),p=h(5379);function A(T=Number.POSITIVE_INFINITY){return(0,f.zg)(p.y,T)}},1709:(j,w,h)=>{"use strict";h.d(w,{zg:()=>I});var f=h(9054),p=h(826),A=h(1869),T=h(4850),C=h(5254);function I(B,M,F=Number.POSITIVE_INFINITY){return"function"==typeof M?$=>$.pipe(I((J,Q)=>(0,C.D)(B(J,Q)).pipe((0,T.U)((ie,ae)=>M(J,ie,Q,ae))),F)):("number"==typeof M&&(F=M),$=>$.lift(new R(B,F)))}class R{constructor(M,F=Number.POSITIVE_INFINITY){this.project=M,this.concurrent=F}call(M,F){return F.subscribe(new x(M,this.project,this.concurrent))}}class x extends p.L{constructor(M,F,$=Number.POSITIVE_INFINITY){super(M),this.project=F,this.concurrent=$,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(M){this.active<this.concurrent?this._tryNext(M):this.buffer.push(M)}_tryNext(M){let F;const $=this.index++;try{F=this.project(M,$)}catch(J){return void this.destination.error(J)}this.active++,this._innerSub(F,M,$)}_innerSub(M,F,$){const J=new A.d(this,F,$),Q=this.destination;Q.add(J);const ie=(0,f.D)(this,M,void 0,void 0,J);ie!==J&&Q.add(ie)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(M,F,$,J,Q){this.destination.next(F)}notifyComplete(M){const F=this.buffer;this.remove(M),this.active--,F.length>0?this._next(F.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(j,w,h)=>{"use strict";h.d(w,{x:()=>p});var f=h(3489);function p(){return function(I){return I.lift(new A(I))}}class A{constructor(I){this.connectable=I}call(I,R){const{connectable:x}=this;x._refCount++;const B=new T(I,x),M=R.subscribe(B);return B.closed||(B.connection=x.connect()),M}}class T extends f.L{constructor(I,R){super(I),this.connectable=R}_unsubscribe(){const{connectable:I}=this;if(!I)return void(this.connection=null);this.connectable=null;const R=I._refCount;if(R<=0)return void(this.connection=null);if(I._refCount=R-1,R>1)return void(this.connection=null);const{connection:x}=this,B=I._connection;this.connection=null,B&&(!x||B===x)&&B.unsubscribe()}}},2868:(j,w,h)=>{"use strict";h.d(w,{b:()=>T});var f=h(3489);function p(){}var A=h(7043);function T(R,x,B){return function(F){return F.lift(new C(R,x,B))}}class C{constructor(x,B,M){this.nextOrObserver=x,this.error=B,this.complete=M}call(x,B){return B.subscribe(new I(x,this.nextOrObserver,this.error,this.complete))}}class I extends f.L{constructor(x,B,M,F){super(x),this._tapNext=p,this._tapError=p,this._tapComplete=p,this._tapError=M||p,this._tapComplete=F||p,(0,A.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||p,this._tapError=B.error||p,this._tapComplete=B.complete||p)}_next(x){try{this._tapNext.call(this._context,x)}catch(B){return void this.destination.error(B)}this.destination.next(x)}_error(x){try{this._tapError.call(this._context,x)}catch(B){return void this.destination.error(B)}this.destination.error(x)}_complete(){try{this._tapComplete.call(this._context)}catch(x){return void this.destination.error(x)}return this.destination.complete()}}},6454:(j,w,h)=>{"use strict";h.d(w,{r:()=>A});var f=h(2916),p=h(2654);function A(T,C){return new f.y(I=>{const R=new p.w;let x=0;return R.add(C.schedule(function(){x!==T.length?(I.next(T[x++]),I.closed||R.add(this.schedule())):I.complete()})),R})}},5430:(j,w,h)=>{"use strict";h.d(w,{hZ:()=>p});const p=function f(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(j,w,h)=>{"use strict";h.d(w,{L:()=>f});const f="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(j,w,h)=>{"use strict";h.d(w,{b:()=>f});const f="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(j,w,h)=>{"use strict";h.d(w,{N:()=>p});const p=(()=>{function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return A.prototype=Object.create(Error.prototype),A})()},2782:(j,w,h)=>{"use strict";function f(p){setTimeout(()=>{throw p},0)}h.d(w,{z:()=>f})},5379:(j,w,h)=>{"use strict";function f(p){return p}h.d(w,{y:()=>f})},6688:(j,w,h)=>{"use strict";h.d(w,{k:()=>f});const f=Array.isArray||(p=>p&&"number"==typeof p.length)},8515:(j,w,h)=>{"use strict";h.d(w,{z:()=>f});const f=p=>p&&"number"==typeof p.length&&"function"!=typeof p},7043:(j,w,h)=>{"use strict";function f(p){return"function"==typeof p}h.d(w,{m:()=>f})},7830:(j,w,h)=>{"use strict";function f(p){return null!==p&&"object"==typeof p}h.d(w,{K:()=>f})},8955:(j,w,h)=>{"use strict";function f(p){return!!p&&"function"!=typeof p.subscribe&&"function"==typeof p.then}h.d(w,{t:()=>f})},2866:(j,w,h)=>{"use strict";function f(p){return p&&"function"==typeof p.schedule}h.d(w,{K:()=>f})},9249:(j,w,h)=>{"use strict";h.d(w,{s:()=>F});var f=h(3650),p=h(2782),T=h(5430),I=h(3821),x=h(8515),B=h(8955),M=h(7830);const F=$=>{if($&&"function"==typeof $[I.L])return($=>J=>{const Q=$[I.L]();if("function"!=typeof Q.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Q.subscribe(J)})($);if((0,x.z)($))return(0,f.V)($);if((0,B.t)($))return($=>J=>($.then(Q=>{J.closed||(J.next(Q),J.complete())},Q=>J.error(Q)).then(null,p.z),J))($);if($&&"function"==typeof $[T.hZ])return($=>J=>{const Q=$[T.hZ]();for(;;){const ie=Q.next();if(ie.done){J.complete();break}if(J.next(ie.value),J.closed)break}return"function"==typeof Q.return&&J.add(()=>{Q.return&&Q.return()}),J})($);{const Q=`You provided ${(0,M.K)($)?"an invalid object":`'${$}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Q)}}},3650:(j,w,h)=>{"use strict";h.d(w,{V:()=>f});const f=p=>A=>{for(let T=0,C=p.length;T<C&&!A.closed;T++)A.next(p[T]);A.complete()}},9054:(j,w,h)=>{"use strict";h.d(w,{D:()=>T});var f=h(1869),p=h(9249),A=h(2916);function T(C,I,R,x,B=new f.d(C,R,x)){if(!B.closed)return I instanceof A.y?I.subscribe(B):(0,p.s)(I)(B)}},8583:()=>{"use strict";!function(ee){const ce=ee.performance;function Z(Xe){ce&&ce.mark&&ce.mark(Xe)}function H(Xe,Qe){ce&&ce.measure&&ce.measure(Xe,Qe)}Z("Zone");const k=ee.__Zone_symbol_prefix||"__zone_symbol__";function oe(Xe){return k+Xe}const de=!0===ee[oe("forceDuplicateZoneCheck")];if(ee.Zone){if(de||"function"!=typeof ee.Zone.__symbol__)throw new Error("Zone already loaded.");return ee.Zone}let pe=(()=>{class Xe{constructor(te,ye){this._parent=te,this._name=ye?ye.name||"unnamed":"<root>",this._properties=ye&&ye.properties||{},this._zoneDelegate=new nt(this,this._parent&&this._parent._zoneDelegate,ye)}static assertZonePatched(){if(ee.Promise!==ge.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let te=Xe.current;for(;te.parent;)te=te.parent;return te}static get current(){return G.zone}static get currentTask(){return ue}static __load_patch(te,ye,ut=!1){if(ge.hasOwnProperty(te)){if(!ut&&de)throw Error("Already loaded patch: "+te)}else if(!ee["__Zone_disable_"+te]){const ht="Zone:"+te;Z(ht),ge[te]=ye(ee,Xe,K),H(ht,ht)}}get parent(){return this._parent}get name(){return this._name}get(te){const ye=this.getZoneWith(te);if(ye)return ye._properties[te]}getZoneWith(te){let ye=this;for(;ye;){if(ye._properties.hasOwnProperty(te))return ye;ye=ye._parent}return null}fork(te){if(!te)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,te)}wrap(te,ye){if("function"!=typeof te)throw new Error("Expecting function got: "+te);const ut=this._zoneDelegate.intercept(this,te,ye),ht=this;return function(){return ht.runGuarded(ut,this,arguments,ye)}}run(te,ye,ut,ht){G={parent:G,zone:this};try{return this._zoneDelegate.invoke(this,te,ye,ut,ht)}finally{G=G.parent}}runGuarded(te,ye=null,ut,ht){G={parent:G,zone:this};try{try{return this._zoneDelegate.invoke(this,te,ye,ut,ht)}catch(Xt){if(this._zoneDelegate.handleError(this,Xt))throw Xt}}finally{G=G.parent}}runTask(te,ye,ut){if(te.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(te.zone||sn).name+"; Execution: "+this.name+")");if(te.state===Yt&&(te.type===cn||te.type===lt))return;const ht=te.state!=rt;ht&&te._transitionTo(rt,ft),te.runCount++;const Xt=ue;ue=te,G={parent:G,zone:this};try{te.type==lt&&te.data&&!te.data.isPeriodic&&(te.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,te,ye,ut)}catch(Be){if(this._zoneDelegate.handleError(this,Be))throw Be}}finally{te.state!==Yt&&te.state!==Ye&&(te.type==cn||te.data&&te.data.isPeriodic?ht&&te._transitionTo(ft,rt):(te.runCount=0,this._updateTaskCount(te,-1),ht&&te._transitionTo(Yt,rt,Yt))),G=G.parent,ue=Xt}}scheduleTask(te){if(te.zone&&te.zone!==this){let ut=this;for(;ut;){if(ut===te.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${te.zone.name}`);ut=ut.parent}}te._transitionTo(Wt,Yt);const ye=[];te._zoneDelegates=ye,te._zone=this;try{te=this._zoneDelegate.scheduleTask(this,te)}catch(ut){throw te._transitionTo(Ye,Wt,Yt),this._zoneDelegate.handleError(this,ut),ut}return te._zoneDelegates===ye&&this._updateTaskCount(te,1),te.state==Wt&&te._transitionTo(ft,Wt),te}scheduleMicroTask(te,ye,ut,ht){return this.scheduleTask(new Le(St,te,ye,ut,ht,void 0))}scheduleMacroTask(te,ye,ut,ht,Xt){return this.scheduleTask(new Le(lt,te,ye,ut,ht,Xt))}scheduleEventTask(te,ye,ut,ht,Xt){return this.scheduleTask(new Le(cn,te,ye,ut,ht,Xt))}cancelTask(te){if(te.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(te.zone||sn).name+"; Execution: "+this.name+")");te._transitionTo(Qt,ft,rt);try{this._zoneDelegate.cancelTask(this,te)}catch(ye){throw te._transitionTo(Ye,Qt),this._zoneDelegate.handleError(this,ye),ye}return this._updateTaskCount(te,-1),te._transitionTo(Yt,Qt),te.runCount=0,te}_updateTaskCount(te,ye){const ut=te._zoneDelegates;-1==ye&&(te._zoneDelegates=null);for(let ht=0;ht<ut.length;ht++)ut[ht]._updateTaskCount(te.type,ye)}}return Xe.__symbol__=oe,Xe})();const Ae={name:"",onHasTask:(Xe,Qe,te,ye)=>Xe.hasTask(te,ye),onScheduleTask:(Xe,Qe,te,ye)=>Xe.scheduleTask(te,ye),onInvokeTask:(Xe,Qe,te,ye,ut,ht)=>Xe.invokeTask(te,ye,ut,ht),onCancelTask:(Xe,Qe,te,ye)=>Xe.cancelTask(te,ye)};class nt{constructor(Qe,te,ye){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=Qe,this._parentDelegate=te,this._forkZS=ye&&(ye&&ye.onFork?ye:te._forkZS),this._forkDlgt=ye&&(ye.onFork?te:te._forkDlgt),this._forkCurrZone=ye&&(ye.onFork?this.zone:te._forkCurrZone),this._interceptZS=ye&&(ye.onIntercept?ye:te._interceptZS),this._interceptDlgt=ye&&(ye.onIntercept?te:te._interceptDlgt),this._interceptCurrZone=ye&&(ye.onIntercept?this.zone:te._interceptCurrZone),this._invokeZS=ye&&(ye.onInvoke?ye:te._invokeZS),this._invokeDlgt=ye&&(ye.onInvoke?te:te._invokeDlgt),this._invokeCurrZone=ye&&(ye.onInvoke?this.zone:te._invokeCurrZone),this._handleErrorZS=ye&&(ye.onHandleError?ye:te._handleErrorZS),this._handleErrorDlgt=ye&&(ye.onHandleError?te:te._handleErrorDlgt),this._handleErrorCurrZone=ye&&(ye.onHandleError?this.zone:te._handleErrorCurrZone),this._scheduleTaskZS=ye&&(ye.onScheduleTask?ye:te._scheduleTaskZS),this._scheduleTaskDlgt=ye&&(ye.onScheduleTask?te:te._scheduleTaskDlgt),this._scheduleTaskCurrZone=ye&&(ye.onScheduleTask?this.zone:te._scheduleTaskCurrZone),this._invokeTaskZS=ye&&(ye.onInvokeTask?ye:te._invokeTaskZS),this._invokeTaskDlgt=ye&&(ye.onInvokeTask?te:te._invokeTaskDlgt),this._invokeTaskCurrZone=ye&&(ye.onInvokeTask?this.zone:te._invokeTaskCurrZone),this._cancelTaskZS=ye&&(ye.onCancelTask?ye:te._cancelTaskZS),this._cancelTaskDlgt=ye&&(ye.onCancelTask?te:te._cancelTaskDlgt),this._cancelTaskCurrZone=ye&&(ye.onCancelTask?this.zone:te._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const ut=ye&&ye.onHasTask;(ut||te&&te._hasTaskZS)&&(this._hasTaskZS=ut?ye:Ae,this._hasTaskDlgt=te,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=Qe,ye.onScheduleTask||(this._scheduleTaskZS=Ae,this._scheduleTaskDlgt=te,this._scheduleTaskCurrZone=this.zone),ye.onInvokeTask||(this._invokeTaskZS=Ae,this._invokeTaskDlgt=te,this._invokeTaskCurrZone=this.zone),ye.onCancelTask||(this._cancelTaskZS=Ae,this._cancelTaskDlgt=te,this._cancelTaskCurrZone=this.zone))}fork(Qe,te){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Qe,te):new pe(Qe,te)}intercept(Qe,te,ye){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Qe,te,ye):te}invoke(Qe,te,ye,ut,ht){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Qe,te,ye,ut,ht):te.apply(ye,ut)}handleError(Qe,te){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Qe,te)}scheduleTask(Qe,te){let ye=te;if(this._scheduleTaskZS)this._hasTaskZS&&ye._zoneDelegates.push(this._hasTaskDlgtOwner),ye=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Qe,te),ye||(ye=te);else if(te.scheduleFn)te.scheduleFn(te);else{if(te.type!=St)throw new Error("Task is missing scheduleFn.");He(te)}return ye}invokeTask(Qe,te,ye,ut){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Qe,te,ye,ut):te.callback.apply(ye,ut)}cancelTask(Qe,te){let ye;if(this._cancelTaskZS)ye=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Qe,te);else{if(!te.cancelFn)throw Error("Task is not cancelable");ye=te.cancelFn(te)}return ye}hasTask(Qe,te){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Qe,te)}catch(ye){this.handleError(Qe,ye)}}_updateTaskCount(Qe,te){const ye=this._taskCounts,ut=ye[Qe],ht=ye[Qe]=ut+te;if(ht<0)throw new Error("More tasks executed then were scheduled.");0!=ut&&0!=ht||this.hasTask(this.zone,{microTask:ye.microTask>0,macroTask:ye.macroTask>0,eventTask:ye.eventTask>0,change:Qe})}}class Le{constructor(Qe,te,ye,ut,ht,Xt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Qe,this.source=te,this.data=ut,this.scheduleFn=ht,this.cancelFn=Xt,!ye)throw new Error("callback is not defined");this.callback=ye;const Be=this;this.invoke=Qe===cn&&ut&&ut.useG?Le.invokeTask:function(){return Le.invokeTask.call(ee,Be,this,arguments)}}static invokeTask(Qe,te,ye){Qe||(Qe=this),Te++;try{return Qe.runCount++,Qe.zone.runTask(Qe,te,ye)}finally{1==Te&&je(),Te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Yt,Wt)}_transitionTo(Qe,te,ye){if(this._state!==te&&this._state!==ye)throw new Error(`${this.type} '${this.source}': can not transition to '${Qe}', expecting state '${te}'${ye?" or '"+ye+"'":""}, was '${this._state}'.`);this._state=Qe,Qe==Yt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const it=oe("setTimeout"),bt=oe("Promise"),pt=oe("then");let Ut,Tt=[],Ze=!1;function yt(Xe){if(Ut||ee[bt]&&(Ut=ee[bt].resolve(0)),Ut){let Qe=Ut[pt];Qe||(Qe=Ut.then),Qe.call(Ut,Xe)}else ee[it](Xe,0)}function He(Xe){0===Te&&0===Tt.length&&yt(je),Xe&&Tt.push(Xe)}function je(){if(!Ze){for(Ze=!0;Tt.length;){const Xe=Tt;Tt=[];for(let Qe=0;Qe<Xe.length;Qe++){const te=Xe[Qe];try{te.zone.runTask(te,null,null)}catch(ye){K.onUnhandledError(ye)}}}K.microtaskDrainDone(),Ze=!1}}const sn={name:"NO ZONE"},Yt="notScheduled",Wt="scheduling",ft="scheduled",rt="running",Qt="canceling",Ye="unknown",St="microTask",lt="macroTask",cn="eventTask",ge={},K={symbol:oe,currentZoneFrame:()=>G,onUnhandledError:tt,microtaskDrainDone:tt,scheduleMicroTask:He,showUncaughtError:()=>!pe[oe("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:tt,patchMethod:()=>tt,bindArguments:()=>[],patchThen:()=>tt,patchMacroTask:()=>tt,patchEventPrototype:()=>tt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>tt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>tt,wrapWithCurrentZone:()=>tt,filterProperties:()=>[],attachOriginToPatched:()=>tt,_redefineProperty:()=>tt,patchCallbacks:()=>tt,nativeScheduleMicroTask:yt};let G={parent:null,zone:new pe(null,null)},ue=null,Te=0;function tt(){}H("Zone","Zone"),ee.Zone=pe}(typeof window<"u"&&window||typeof self<"u"&&self||global);const j=Object.getOwnPropertyDescriptor,w=Object.defineProperty,h=Object.getPrototypeOf,f=Object.create,p=Array.prototype.slice,A="addEventListener",T="removeEventListener",C=Zone.__symbol__(A),I=Zone.__symbol__(T),R="true",x="false",B=Zone.__symbol__("");function M(ee,ce){return Zone.current.wrap(ee,ce)}function F(ee,ce,Z,H,k){return Zone.current.scheduleMacroTask(ee,ce,Z,H,k)}const $=Zone.__symbol__,J=typeof window<"u",Q=J?window:void 0,ie=J&&Q||"object"==typeof self&&self||global;function Ie(ee,ce){for(let Z=ee.length-1;Z>=0;Z--)"function"==typeof ee[Z]&&(ee[Z]=M(ee[Z],ce+"_"+Z));return ee}function xe(ee){return!ee||!1!==ee.writable&&!("function"==typeof ee.get&&typeof ee.set>"u")}const Oe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,$e=!("nw"in ie)&&typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process),De=!$e&&!Oe&&!(!J||!Q.HTMLElement),Ge=typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process)&&!Oe&&!(!J||!Q.HTMLElement),Gt={},Ve=function(ee){if(!(ee=ee||ie.event))return;let ce=Gt[ee.type];ce||(ce=Gt[ee.type]=$("ON_PROPERTY"+ee.type));const Z=this||ee.target||ie,H=Z[ce];let k;if(De&&Z===Q&&"error"===ee.type){const oe=ee;k=H&&H.call(this,oe.message,oe.filename,oe.lineno,oe.colno,oe.error),!0===k&&ee.preventDefault()}else k=H&&H.apply(this,arguments),null!=k&&!k&&ee.preventDefault();return k};function at(ee,ce,Z){let H=j(ee,ce);if(!H&&Z&&j(Z,ce)&&(H={enumerable:!0,configurable:!0}),!H||!H.configurable)return;const k=$("on"+ce+"patched");if(ee.hasOwnProperty(k)&&ee[k])return;delete H.writable,delete H.value;const oe=H.get,de=H.set,pe=ce.slice(2);let Ae=Gt[pe];Ae||(Ae=Gt[pe]=$("ON_PROPERTY"+pe)),H.set=function(nt){let Le=this;!Le&&ee===ie&&(Le=ie),Le&&("function"==typeof Le[Ae]&&Le.removeEventListener(pe,Ve),de&&de.call(Le,null),Le[Ae]=nt,"function"==typeof nt&&Le.addEventListener(pe,Ve,!1))},H.get=function(){let nt=this;if(!nt&&ee===ie&&(nt=ie),!nt)return null;const Le=nt[Ae];if(Le)return Le;if(oe){let it=oe.call(this);if(it)return H.set.call(this,it),"function"==typeof nt.removeAttribute&&nt.removeAttribute(ce),it}return null},w(ee,ce,H),ee[k]=!0}function $t(ee,ce,Z){if(ce)for(let H=0;H<ce.length;H++)at(ee,"on"+ce[H],Z);else{const H=[];for(const k in ee)"on"==k.slice(0,2)&&H.push(k);for(let k=0;k<H.length;k++)at(ee,H[k],Z)}}const Ke=$("originalInstance");function Rt(ee){const ce=ie[ee];if(!ce)return;ie[$(ee)]=ce,ie[ee]=function(){const k=Ie(arguments,ee);switch(k.length){case 0:this[Ke]=new ce;break;case 1:this[Ke]=new ce(k[0]);break;case 2:this[Ke]=new ce(k[0],k[1]);break;case 3:this[Ke]=new ce(k[0],k[1],k[2]);break;case 4:this[Ke]=new ce(k[0],k[1],k[2],k[3]);break;default:throw new Error("Arg list too long.")}},me(ie[ee],ce);const Z=new ce(function(){});let H;for(H in Z)"XMLHttpRequest"===ee&&"responseBlob"===H||function(k){"function"==typeof Z[k]?ie[ee].prototype[k]=function(){return this[Ke][k].apply(this[Ke],arguments)}:w(ie[ee].prototype,k,{set:function(oe){"function"==typeof oe?(this[Ke][k]=M(oe,ee+"."+k),me(this[Ke][k],oe)):this[Ke][k]=oe},get:function(){return this[Ke][k]}})}(H);for(H in ce)"prototype"!==H&&ce.hasOwnProperty(H)&&(ie[ee][H]=ce[H])}function Fe(ee,ce,Z){let H=ee;for(;H&&!H.hasOwnProperty(ce);)H=h(H);!H&&ee[ce]&&(H=ee);const k=$(ce);let oe=null;if(H&&(!(oe=H[k])||!H.hasOwnProperty(k))&&(oe=H[k]=H[ce],xe(H&&j(H,ce)))){const pe=Z(oe,k,ce);H[ce]=function(){return pe(this,arguments)},me(H[ce],oe)}return oe}function le(ee,ce,Z){let H=null;function k(oe){const de=oe.data;return de.args[de.cbIdx]=function(){oe.invoke.apply(this,arguments)},H.apply(de.target,de.args),oe}H=Fe(ee,ce,oe=>function(de,pe){const Ae=Z(de,pe);return Ae.cbIdx>=0&&"function"==typeof pe[Ae.cbIdx]?F(Ae.name,pe[Ae.cbIdx],Ae,k):oe.apply(de,pe)})}function me(ee,ce){ee[$("OriginalDelegate")]=ce}let Ce=!1,X=!1;function Pt(){if(Ce)return X;Ce=!0;try{const ee=Q.navigator.userAgent;(-1!==ee.indexOf("MSIE ")||-1!==ee.indexOf("Trident/")||-1!==ee.indexOf("Edge/"))&&(X=!0)}catch{}return X}Zone.__load_patch("ZoneAwarePromise",(ee,ce,Z)=>{const H=Object.getOwnPropertyDescriptor,k=Object.defineProperty,de=Z.symbol,pe=[],Ae=!0===ee[de("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],nt=de("Promise"),Le=de("then");Z.onUnhandledError=Be=>{if(Z.showUncaughtError()){const be=Be&&Be.rejection;be?console.error("Unhandled Promise rejection:",be instanceof Error?be.message:be,"; Zone:",Be.zone.name,"; Task:",Be.task&&Be.task.source,"; Value:",be,be instanceof Error?be.stack:void 0):console.error(Be)}},Z.microtaskDrainDone=()=>{for(;pe.length;){const Be=pe.shift();try{Be.zone.runGuarded(()=>{throw Be.throwOriginal?Be.rejection:Be})}catch(be){pt(be)}}};const bt=de("unhandledPromiseRejectionHandler");function pt(Be){Z.onUnhandledError(Be);try{const be=ce[bt];"function"==typeof be&&be.call(this,Be)}catch{}}function Tt(Be){return Be&&Be.then}function Ze(Be){return Be}function Ut(Be){return te.reject(Be)}const yt=de("state"),He=de("value"),je=de("finally"),sn=de("parentPromiseValue"),Yt=de("parentPromiseState"),ft=null,Qt=!1;function St(Be,be){return _e=>{try{K(Be,be,_e)}catch(ve){K(Be,!1,ve)}}}const lt=function(){let Be=!1;return function(_e){return function(){Be||(Be=!0,_e.apply(null,arguments))}}},ge=de("currentTaskTrace");function K(Be,be,_e){const ve=lt();if(Be===_e)throw new TypeError("Promise resolved with itself");if(Be[yt]===ft){let Ue=null;try{("object"==typeof _e||"function"==typeof _e)&&(Ue=_e&&_e.then)}catch(st){return ve(()=>{K(Be,!1,st)})(),Be}if(be!==Qt&&_e instanceof te&&_e.hasOwnProperty(yt)&&_e.hasOwnProperty(He)&&_e[yt]!==ft)ue(_e),K(Be,_e[yt],_e[He]);else if(be!==Qt&&"function"==typeof Ue)try{Ue.call(_e,ve(St(Be,be)),ve(St(Be,!1)))}catch(st){ve(()=>{K(Be,!1,st)})()}else{Be[yt]=be;const st=Be[He];if(Be[He]=_e,Be[je]===je&&!0===be&&(Be[yt]=Be[Yt],Be[He]=Be[sn]),be===Qt&&_e instanceof Error){const Je=ce.currentTask&&ce.currentTask.data&&ce.currentTask.data.__creationTrace__;Je&&k(_e,ge,{configurable:!0,enumerable:!1,writable:!0,value:Je})}for(let Je=0;Je<st.length;)Te(Be,st[Je++],st[Je++],st[Je++],st[Je++]);if(0==st.length&&be==Qt){Be[yt]=0;let Je=_e;try{throw new Error("Uncaught (in promise): "+function oe(Be){return Be&&Be.toString===Object.prototype.toString?(Be.constructor&&Be.constructor.name||"")+": "+JSON.stringify(Be):Be?Be.toString():Object.prototype.toString.call(Be)}(_e)+(_e&&_e.stack?"\n"+_e.stack:""))}catch(Mt){Je=Mt}Ae&&(Je.throwOriginal=!0),Je.rejection=_e,Je.promise=Be,Je.zone=ce.current,Je.task=ce.currentTask,pe.push(Je),Z.scheduleMicroTask()}}}return Be}const G=de("rejectionHandledHandler");function ue(Be){if(0===Be[yt]){try{const be=ce[G];be&&"function"==typeof be&&be.call(this,{rejection:Be[He],promise:Be})}catch{}Be[yt]=Qt;for(let be=0;be<pe.length;be++)Be===pe[be].promise&&pe.splice(be,1)}}function Te(Be,be,_e,ve,Ue){ue(Be);const st=Be[yt],Je=st?"function"==typeof ve?ve:Ze:"function"==typeof Ue?Ue:Ut;be.scheduleMicroTask("Promise.then",()=>{try{const Mt=Be[He],gt=!!_e&&je===_e[je];gt&&(_e[sn]=Mt,_e[Yt]=st);const Dt=be.run(Je,void 0,gt&&Je!==Ut&&Je!==Ze?[]:[Mt]);K(_e,!0,Dt)}catch(Mt){K(_e,!1,Mt)}},_e)}const Xe=function(){},Qe=ee.AggregateError;class te{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(be){return K(new this(null),!0,be)}static reject(be){return K(new this(null),Qt,be)}static any(be){if(!be||"function"!=typeof be[Symbol.iterator])return Promise.reject(new Qe([],"All promises were rejected"));const _e=[];let ve=0;try{for(let Je of be)ve++,_e.push(te.resolve(Je))}catch{return Promise.reject(new Qe([],"All promises were rejected"))}if(0===ve)return Promise.reject(new Qe([],"All promises were rejected"));let Ue=!1;const st=[];return new te((Je,Mt)=>{for(let gt=0;gt<_e.length;gt++)_e[gt].then(Dt=>{Ue||(Ue=!0,Je(Dt))},Dt=>{st.push(Dt),ve--,0===ve&&(Ue=!0,Mt(new Qe(st,"All promises were rejected")))})})}static race(be){let _e,ve,Ue=new this((Mt,gt)=>{_e=Mt,ve=gt});function st(Mt){_e(Mt)}function Je(Mt){ve(Mt)}for(let Mt of be)Tt(Mt)||(Mt=this.resolve(Mt)),Mt.then(st,Je);return Ue}static all(be){return te.allWithCallback(be)}static allSettled(be){return(this&&this.prototype instanceof te?this:te).allWithCallback(be,{thenCallback:ve=>({status:"fulfilled",value:ve}),errorCallback:ve=>({status:"rejected",reason:ve})})}static allWithCallback(be,_e){let ve,Ue,st=new this((Dt,vt)=>{ve=Dt,Ue=vt}),Je=2,Mt=0;const gt=[];for(let Dt of be){Tt(Dt)||(Dt=this.resolve(Dt));const vt=Mt;try{Dt.then(Kt=>{gt[vt]=_e?_e.thenCallback(Kt):Kt,Je--,0===Je&&ve(gt)},Kt=>{_e?(gt[vt]=_e.errorCallback(Kt),Je--,0===Je&&ve(gt)):Ue(Kt)})}catch(Kt){Ue(Kt)}Je++,Mt++}return Je-=2,0===Je&&ve(gt),st}constructor(be){const _e=this;if(!(_e instanceof te))throw new Error("Must be an instanceof Promise.");_e[yt]=ft,_e[He]=[];try{const ve=lt();be&&be(ve(St(_e,!0)),ve(St(_e,Qt)))}catch(ve){K(_e,!1,ve)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return te}then(be,_e){var ve;let Ue=null===(ve=this.constructor)||void 0===ve?void 0:ve[Symbol.species];(!Ue||"function"!=typeof Ue)&&(Ue=this.constructor||te);const st=new Ue(Xe),Je=ce.current;return this[yt]==ft?this[He].push(Je,st,be,_e):Te(this,Je,st,be,_e),st}catch(be){return this.then(null,be)}finally(be){var _e;let ve=null===(_e=this.constructor)||void 0===_e?void 0:_e[Symbol.species];(!ve||"function"!=typeof ve)&&(ve=te);const Ue=new ve(Xe);Ue[je]=je;const st=ce.current;return this[yt]==ft?this[He].push(st,Ue,be,be):Te(this,st,Ue,be,be),Ue}}te.resolve=te.resolve,te.reject=te.reject,te.race=te.race,te.all=te.all;const ye=ee[nt]=ee.Promise;ee.Promise=te;const ut=de("thenPatched");function ht(Be){const be=Be.prototype,_e=H(be,"then");if(_e&&(!1===_e.writable||!_e.configurable))return;const ve=be.then;be[Le]=ve,Be.prototype.then=function(Ue,st){return new te((Mt,gt)=>{ve.call(this,Mt,gt)}).then(Ue,st)},Be[ut]=!0}return Z.patchThen=ht,ye&&(ht(ye),Fe(ee,"fetch",Be=>function Xt(Be){return function(be,_e){let ve=Be.apply(be,_e);if(ve instanceof te)return ve;let Ue=ve.constructor;return Ue[ut]||ht(Ue),ve}}(Be))),Promise[ce.__symbol__("uncaughtPromiseErrors")]=pe,te}),Zone.__load_patch("toString",ee=>{const ce=Function.prototype.toString,Z=$("OriginalDelegate"),H=$("Promise"),k=$("Error"),oe=function(){if("function"==typeof this){const nt=this[Z];if(nt)return"function"==typeof nt?ce.call(nt):Object.prototype.toString.call(nt);if(this===Promise){const Le=ee[H];if(Le)return ce.call(Le)}if(this===Error){const Le=ee[k];if(Le)return ce.call(Le)}}return ce.call(this)};oe[Z]=ce,Function.prototype.toString=oe;const de=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":de.call(this)}});let Lt=!1;if(typeof window<"u")try{const ee=Object.defineProperty({},"passive",{get:function(){Lt=!0}});window.addEventListener("test",ee,ee),window.removeEventListener("test",ee,ee)}catch{Lt=!1}const un={useG:!0},Jt={},xn={},Dn=new RegExp("^"+B+"(\\w+)(true|false)$"),An=$("propagationStopped");function Cn(ee,ce){const Z=(ce?ce(ee):ee)+x,H=(ce?ce(ee):ee)+R,k=B+Z,oe=B+H;Jt[ee]={},Jt[ee][x]=k,Jt[ee][R]=oe}function Ft(ee,ce,Z,H){const k=H&&H.add||A,oe=H&&H.rm||T,de=H&&H.listeners||"eventListeners",pe=H&&H.rmAll||"removeAllListeners",Ae=$(k),nt="."+k+":",bt=function(He,je,sn){if(He.isRemoved)return;const Yt=He.callback;let Wt;"object"==typeof Yt&&Yt.handleEvent&&(He.callback=rt=>Yt.handleEvent(rt),He.originalDelegate=Yt);try{He.invoke(He,je,[sn])}catch(rt){Wt=rt}const ft=He.options;return ft&&"object"==typeof ft&&ft.once&&je[oe].call(je,sn.type,He.originalDelegate?He.originalDelegate:He.callback,ft),Wt};function pt(He,je,sn){if(!(je=je||ee.event))return;const Yt=He||je.target||ee,Wt=Yt[Jt[je.type][sn?R:x]];if(Wt){const ft=[];if(1===Wt.length){const rt=bt(Wt[0],Yt,je);rt&&ft.push(rt)}else{const rt=Wt.slice();for(let Qt=0;Qt<rt.length&&(!je||!0!==je[An]);Qt++){const Ye=bt(rt[Qt],Yt,je);Ye&&ft.push(Ye)}}if(1===ft.length)throw ft[0];for(let rt=0;rt<ft.length;rt++){const Qt=ft[rt];ce.nativeScheduleMicroTask(()=>{throw Qt})}}}const Tt=function(He){return pt(this,He,!1)},Ze=function(He){return pt(this,He,!0)};function Ut(He,je){if(!He)return!1;let sn=!0;je&&void 0!==je.useG&&(sn=je.useG);const Yt=je&&je.vh;let Wt=!0;je&&void 0!==je.chkDup&&(Wt=je.chkDup);let ft=!1;je&&void 0!==je.rt&&(ft=je.rt);let rt=He;for(;rt&&!rt.hasOwnProperty(k);)rt=h(rt);if(!rt&&He[k]&&(rt=He),!rt||rt[Ae])return!1;const Qt=je&&je.eventNameToString,Ye={},St=rt[Ae]=rt[k],lt=rt[$(oe)]=rt[oe],cn=rt[$(de)]=rt[de],ge=rt[$(pe)]=rt[pe];let K;function G(_e,ve){return!Lt&&"object"==typeof _e&&_e?!!_e.capture:Lt&&ve?"boolean"==typeof _e?{capture:_e,passive:!0}:_e?"object"==typeof _e&&!1!==_e.passive?Object.assign(Object.assign({},_e),{passive:!0}):_e:{passive:!0}:_e}je&&je.prepend&&(K=rt[$(je.prepend)]=rt[je.prepend]);const te=sn?function(_e){if(!Ye.isExisting)return St.call(Ye.target,Ye.eventName,Ye.capture?Ze:Tt,Ye.options)}:function(_e){return St.call(Ye.target,Ye.eventName,_e.invoke,Ye.options)},ye=sn?function(_e){if(!_e.isRemoved){const ve=Jt[_e.eventName];let Ue;ve&&(Ue=ve[_e.capture?R:x]);const st=Ue&&_e.target[Ue];if(st)for(let Je=0;Je<st.length;Je++)if(st[Je]===_e){st.splice(Je,1),_e.isRemoved=!0,0===st.length&&(_e.allRemoved=!0,_e.target[Ue]=null);break}}if(_e.allRemoved)return lt.call(_e.target,_e.eventName,_e.capture?Ze:Tt,_e.options)}:function(_e){return lt.call(_e.target,_e.eventName,_e.invoke,_e.options)},ht=je&&je.diff?je.diff:function(_e,ve){const Ue=typeof ve;return"function"===Ue&&_e.callback===ve||"object"===Ue&&_e.originalDelegate===ve},Xt=Zone[$("UNPATCHED_EVENTS")],Be=ee[$("PASSIVE_EVENTS")],be=function(_e,ve,Ue,st,Je=!1,Mt=!1){return function(){const gt=this||ee;let Dt=arguments[0];je&&je.transferEventName&&(Dt=je.transferEventName(Dt));let vt=arguments[1];if(!vt)return _e.apply(this,arguments);if($e&&"uncaughtException"===Dt)return _e.apply(this,arguments);let Kt=!1;if("function"!=typeof vt){if(!vt.handleEvent)return _e.apply(this,arguments);Kt=!0}if(Yt&&!Yt(_e,vt,gt,arguments))return;const Nn=Lt&&!!Be&&-1!==Be.indexOf(Dt),Et=G(arguments[2],Nn);if(Xt)for(let er=0;er<Xt.length;er++)if(Dt===Xt[er])return Nn?_e.call(gt,Dt,vt,Et):_e.apply(this,arguments);const mr=!!Et&&("boolean"==typeof Et||Et.capture),Qn=!(!Et||"object"!=typeof Et)&&Et.once,Fr=Zone.current;let ir=Jt[Dt];ir||(Cn(Dt,Qt),ir=Jt[Dt]);const On=ir[mr?R:x];let Mn,hr=gt[On],yr=!1;if(hr){if(yr=!0,Wt)for(let er=0;er<hr.length;er++)if(ht(hr[er],vt))return}else hr=gt[On]=[];const en=gt.constructor.name,$r=xn[en];$r&&(Mn=$r[Dt]),Mn||(Mn=en+ve+(Qt?Qt(Dt):Dt)),Ye.options=Et,Qn&&(Ye.options.once=!1),Ye.target=gt,Ye.capture=mr,Ye.eventName=Dt,Ye.isExisting=yr;const zn=sn?un:void 0;zn&&(zn.taskData=Ye);const Wn=Fr.scheduleEventTask(Mn,vt,zn,Ue,st);return Ye.target=null,zn&&(zn.taskData=null),Qn&&(Et.once=!0),!Lt&&"boolean"==typeof Wn.options||(Wn.options=Et),Wn.target=gt,Wn.capture=mr,Wn.eventName=Dt,Kt&&(Wn.originalDelegate=vt),Mt?hr.unshift(Wn):hr.push(Wn),Je?gt:void 0}};return rt[k]=be(St,nt,te,ye,ft),K&&(rt.prependListener=be(K,".prependListener:",function(_e){return K.call(Ye.target,Ye.eventName,_e.invoke,Ye.options)},ye,ft,!0)),rt[oe]=function(){const _e=this||ee;let ve=arguments[0];je&&je.transferEventName&&(ve=je.transferEventName(ve));const Ue=arguments[2],st=!!Ue&&("boolean"==typeof Ue||Ue.capture),Je=arguments[1];if(!Je)return lt.apply(this,arguments);if(Yt&&!Yt(lt,Je,_e,arguments))return;const Mt=Jt[ve];let gt;Mt&&(gt=Mt[st?R:x]);const Dt=gt&&_e[gt];if(Dt)for(let vt=0;vt<Dt.length;vt++){const Kt=Dt[vt];if(ht(Kt,Je))return Dt.splice(vt,1),Kt.isRemoved=!0,0===Dt.length&&(Kt.allRemoved=!0,_e[gt]=null,"string"==typeof ve)&&(_e[B+"ON_PROPERTY"+ve]=null),Kt.zone.cancelTask(Kt),ft?_e:void 0}return lt.apply(this,arguments)},rt[de]=function(){const _e=this||ee;let ve=arguments[0];je&&je.transferEventName&&(ve=je.transferEventName(ve));const Ue=[],st=kt(_e,Qt?Qt(ve):ve);for(let Je=0;Je<st.length;Je++){const Mt=st[Je];Ue.push(Mt.originalDelegate?Mt.originalDelegate:Mt.callback)}return Ue},rt[pe]=function(){const _e=this||ee;let ve=arguments[0];if(ve){je&&je.transferEventName&&(ve=je.transferEventName(ve));const Ue=Jt[ve];if(Ue){const Mt=_e[Ue[x]],gt=_e[Ue[R]];if(Mt){const Dt=Mt.slice();for(let vt=0;vt<Dt.length;vt++){const Kt=Dt[vt];this[oe].call(this,ve,Kt.originalDelegate?Kt.originalDelegate:Kt.callback,Kt.options)}}if(gt){const Dt=gt.slice();for(let vt=0;vt<Dt.length;vt++){const Kt=Dt[vt];this[oe].call(this,ve,Kt.originalDelegate?Kt.originalDelegate:Kt.callback,Kt.options)}}}}else{const Ue=Object.keys(_e);for(let st=0;st<Ue.length;st++){const Mt=Dn.exec(Ue[st]);let gt=Mt&&Mt[1];gt&&"removeListener"!==gt&&this[pe].call(this,gt)}this[pe].call(this,"removeListener")}if(ft)return this},me(rt[k],St),me(rt[oe],lt),ge&&me(rt[pe],ge),cn&&me(rt[de],cn),!0}let yt=[];for(let He=0;He<Z.length;He++)yt[He]=Ut(Z[He],H);return yt}function kt(ee,ce){if(!ce){const oe=[];for(let de in ee){const pe=Dn.exec(de);let Ae=pe&&pe[1];if(Ae&&(!ce||Ae===ce)){const nt=ee[de];if(nt)for(let Le=0;Le<nt.length;Le++)oe.push(nt[Le])}}return oe}let Z=Jt[ce];Z||(Cn(ce),Z=Jt[ce]);const H=ee[Z[x]],k=ee[Z[R]];return H?k?H.concat(k):H.slice():k?k.slice():[]}function dr(ee,ce){const Z=ee.Event;Z&&Z.prototype&&ce.patchMethod(Z.prototype,"stopImmediatePropagation",H=>function(k,oe){k[An]=!0,H&&H.apply(k,oe)})}function wr(ee,ce,Z,H,k){const oe=Zone.__symbol__(H);if(ce[oe])return;const de=ce[oe]=ce[H];ce[H]=function(pe,Ae,nt){return Ae&&Ae.prototype&&k.forEach(function(Le){const it=`${Z}.${H}::`+Le,bt=Ae.prototype;try{if(bt.hasOwnProperty(Le)){const pt=ee.ObjectGetOwnPropertyDescriptor(bt,Le);pt&&pt.value?(pt.value=ee.wrapWithCurrentZone(pt.value,it),ee._redefineProperty(Ae.prototype,Le,pt)):bt[Le]&&(bt[Le]=ee.wrapWithCurrentZone(bt[Le],it))}else bt[Le]&&(bt[Le]=ee.wrapWithCurrentZone(bt[Le],it))}catch{}}),de.call(ce,pe,Ae,nt)},ee.attachOriginToPatched(ce[H],de)}function fr(ee,ce,Z){if(!Z||0===Z.length)return ce;const H=Z.filter(oe=>oe.target===ee);if(!H||0===H.length)return ce;const k=H[0].ignoreProperties;return ce.filter(oe=>-1===k.indexOf(oe))}function Zt(ee,ce,Z,H){ee&&$t(ee,fr(ee,ce,Z),H)}function Zn(ee){return Object.getOwnPropertyNames(ee).filter(ce=>ce.startsWith("on")&&ce.length>2).map(ce=>ce.substring(2))}Zone.__load_patch("util",(ee,ce,Z)=>{const H=Zn(ee);Z.patchOnProperties=$t,Z.patchMethod=Fe,Z.bindArguments=Ie,Z.patchMacroTask=le;const k=ce.__symbol__("BLACK_LISTED_EVENTS"),oe=ce.__symbol__("UNPATCHED_EVENTS");ee[oe]&&(ee[k]=ee[oe]),ee[k]&&(ce[k]=ce[oe]=ee[k]),Z.patchEventPrototype=dr,Z.patchEventTarget=Ft,Z.isIEOrEdge=Pt,Z.ObjectDefineProperty=w,Z.ObjectGetOwnPropertyDescriptor=j,Z.ObjectCreate=f,Z.ArraySlice=p,Z.patchClass=Rt,Z.wrapWithCurrentZone=M,Z.filterProperties=fr,Z.attachOriginToPatched=me,Z._redefineProperty=Object.defineProperty,Z.patchCallbacks=wr,Z.getGlobalObjects=()=>({globalSources:xn,zoneSymbolEventNames:Jt,eventNames:H,isBrowser:De,isMix:Ge,isNode:$e,TRUE_STR:R,FALSE_STR:x,ZONE_SYMBOL_PREFIX:B,ADD_EVENT_LISTENER_STR:A,REMOVE_EVENT_LISTENER_STR:T})});const Hn=$("zoneTask");function fn(ee,ce,Z,H){let k=null,oe=null;Z+=H;const de={};function pe(nt){const Le=nt.data;return Le.args[0]=function(){return nt.invoke.apply(this,arguments)},Le.handleId=k.apply(ee,Le.args),nt}function Ae(nt){return oe.call(ee,nt.data.handleId)}k=Fe(ee,ce+=H,nt=>function(Le,it){if("function"==typeof it[0]){const bt={isPeriodic:"Interval"===H,delay:"Timeout"===H||"Interval"===H?it[1]||0:void 0,args:it},pt=it[0];it[0]=function(){try{return pt.apply(this,arguments)}finally{bt.isPeriodic||("number"==typeof bt.handleId?delete de[bt.handleId]:bt.handleId&&(bt.handleId[Hn]=null))}};const Tt=F(ce,it[0],bt,pe,Ae);if(!Tt)return Tt;const Ze=Tt.data.handleId;return"number"==typeof Ze?de[Ze]=Tt:Ze&&(Ze[Hn]=Tt),Ze&&Ze.ref&&Ze.unref&&"function"==typeof Ze.ref&&"function"==typeof Ze.unref&&(Tt.ref=Ze.ref.bind(Ze),Tt.unref=Ze.unref.bind(Ze)),"number"==typeof Ze||Ze?Ze:Tt}return nt.apply(ee,it)}),oe=Fe(ee,Z,nt=>function(Le,it){const bt=it[0];let pt;"number"==typeof bt?pt=de[bt]:(pt=bt&&bt[Hn],pt||(pt=bt)),pt&&"string"==typeof pt.type?"notScheduled"!==pt.state&&(pt.cancelFn&&pt.data.isPeriodic||0===pt.runCount)&&("number"==typeof bt?delete de[bt]:bt&&(bt[Hn]=null),pt.zone.cancelTask(pt)):nt.apply(ee,it)})}Zone.__load_patch("legacy",ee=>{const ce=ee[Zone.__symbol__("legacyPatch")];ce&&ce()}),Zone.__load_patch("queueMicrotask",(ee,ce,Z)=>{Z.patchMethod(ee,"queueMicrotask",H=>function(k,oe){ce.current.scheduleMicroTask("queueMicrotask",oe[0])})}),Zone.__load_patch("timers",ee=>{const Z="clear";fn(ee,"set",Z,"Timeout"),fn(ee,"set",Z,"Interval"),fn(ee,"set",Z,"Immediate")}),Zone.__load_patch("requestAnimationFrame",ee=>{fn(ee,"request","cancel","AnimationFrame"),fn(ee,"mozRequest","mozCancel","AnimationFrame"),fn(ee,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(ee,ce)=>{const Z=["alert","prompt","confirm"];for(let H=0;H<Z.length;H++)Fe(ee,Z[H],(oe,de,pe)=>function(Ae,nt){return ce.current.run(oe,ee,nt,pe)})}),Zone.__load_patch("EventTarget",(ee,ce,Z)=>{(function gr(ee,ce){ce.patchEventPrototype(ee,ce)})(ee,Z),function Vn(ee,ce){if(Zone[ce.symbol("patchEventTarget")])return;const{eventNames:Z,zoneSymbolEventNames:H,TRUE_STR:k,FALSE_STR:oe,ZONE_SYMBOL_PREFIX:de}=ce.getGlobalObjects();for(let Ae=0;Ae<Z.length;Ae++){const nt=Z[Ae],bt=de+(nt+oe),pt=de+(nt+k);H[nt]={},H[nt][oe]=bt,H[nt][k]=pt}const pe=ee.EventTarget;pe&&pe.prototype&&ce.patchEventTarget(ee,ce,[pe&&pe.prototype])}(ee,Z);const H=ee.XMLHttpRequestEventTarget;H&&H.prototype&&Z.patchEventTarget(ee,Z,[H.prototype])}),Zone.__load_patch("MutationObserver",(ee,ce,Z)=>{Rt("MutationObserver"),Rt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(ee,ce,Z)=>{Rt("IntersectionObserver")}),Zone.__load_patch("FileReader",(ee,ce,Z)=>{Rt("FileReader")}),Zone.__load_patch("on_property",(ee,ce,Z)=>{!function wn(ee,ce){if($e&&!Ge||Zone[ee.symbol("patchEvents")])return;const Z=ce.__Zone_ignore_on_properties;let H=[];if(De){const k=window;H=H.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const oe=function Pe(){try{const ee=Q.navigator.userAgent;if(-1!==ee.indexOf("MSIE ")||-1!==ee.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:k,ignoreProperties:["error"]}]:[];Zt(k,Zn(k),Z&&Z.concat(oe),h(k))}H=H.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let k=0;k<H.length;k++){const oe=ce[H[k]];oe&&oe.prototype&&Zt(oe.prototype,Zn(oe.prototype),Z)}}(Z,ee)}),Zone.__load_patch("customElements",(ee,ce,Z)=>{!function Rn(ee,ce){const{isBrowser:Z,isMix:H}=ce.getGlobalObjects();(Z||H)&&ee.customElements&&"customElements"in ee&&ce.patchCallbacks(ce,ee.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(ee,Z)}),Zone.__load_patch("XHR",(ee,ce)=>{!function Ae(nt){const Le=nt.XMLHttpRequest;if(!Le)return;const it=Le.prototype;let pt=it[C],Tt=it[I];if(!pt){const Ye=nt.XMLHttpRequestEventTarget;if(Ye){const St=Ye.prototype;pt=St[C],Tt=St[I]}}const Ze="readystatechange",Ut="scheduled";function yt(Ye){const St=Ye.data,lt=St.target;lt[oe]=!1,lt[pe]=!1;const cn=lt[k];pt||(pt=lt[C],Tt=lt[I]),cn&&Tt.call(lt,Ze,cn);const ge=lt[k]=()=>{if(lt.readyState===lt.DONE)if(!St.aborted&<[oe]&&Ye.state===Ut){const G=lt[ce.__symbol__("loadfalse")];if(0!==lt.status&&G&&G.length>0){const ue=Ye.invoke;Ye.invoke=function(){const Te=lt[ce.__symbol__("loadfalse")];for(let tt=0;tt<Te.length;tt++)Te[tt]===Ye&&Te.splice(tt,1);!St.aborted&&Ye.state===Ut&&ue.call(Ye)},G.push(Ye)}else Ye.invoke()}else!St.aborted&&!1===lt[oe]&&(lt[pe]=!0)};return pt.call(lt,Ze,ge),lt[Z]||(lt[Z]=Ye),rt.apply(lt,St.args),lt[oe]=!0,Ye}function He(){}function je(Ye){const St=Ye.data;return St.aborted=!0,Qt.apply(St.target,St.args)}const sn=Fe(it,"open",()=>function(Ye,St){return Ye[H]=0==St[2],Ye[de]=St[1],sn.apply(Ye,St)}),Wt=$("fetchTaskAborting"),ft=$("fetchTaskScheduling"),rt=Fe(it,"send",()=>function(Ye,St){if(!0===ce.current[ft]||Ye[H])return rt.apply(Ye,St);{const lt={target:Ye,url:Ye[de],isPeriodic:!1,args:St,aborted:!1},cn=F("XMLHttpRequest.send",He,lt,yt,je);Ye&&!0===Ye[pe]&&!lt.aborted&&cn.state===Ut&&cn.invoke()}}),Qt=Fe(it,"abort",()=>function(Ye,St){const lt=function bt(Ye){return Ye[Z]}(Ye);if(lt&&"string"==typeof lt.type){if(null==lt.cancelFn||lt.data&<.data.aborted)return;lt.zone.cancelTask(lt)}else if(!0===ce.current[Wt])return Qt.apply(Ye,St)})}(ee);const Z=$("xhrTask"),H=$("xhrSync"),k=$("xhrListener"),oe=$("xhrScheduled"),de=$("xhrURL"),pe=$("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",ee=>{ee.navigator&&ee.navigator.geolocation&&function ot(ee,ce){const Z=ee.constructor.name;for(let H=0;H<ce.length;H++){const k=ce[H],oe=ee[k];if(oe){if(!xe(j(ee,k)))continue;ee[k]=(pe=>{const Ae=function(){return pe.apply(this,Ie(arguments,Z+"."+k))};return me(Ae,pe),Ae})(oe)}}}(ee.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(ee,ce)=>{function Z(H){return function(k){kt(ee,H).forEach(de=>{const pe=ee.PromiseRejectionEvent;if(pe){const Ae=new pe(H,{promise:k.promise,reason:k.rejection});de.invoke(Ae)}})}}ee.PromiseRejectionEvent&&(ce[$("unhandledPromiseRejectionHandler")]=Z("unhandledrejection"),ce[$("rejectionHandledHandler")]=Z("rejectionhandled"))})},7340:(j,w,h)=>{"use strict";h.d(w,{IO:()=>ie,LC:()=>p,X$:()=>T,ZE:()=>xe,ZN:()=>ot,_j:()=>f,eR:()=>F,jt:()=>C,k1:()=>Oe,l3:()=>A,oB:()=>x,pV:()=>J,ru:()=>I,vP:()=>R});class f{}class p{}const A="*";function T($e,De){return{type:7,name:$e,definitions:De,options:{}}}function C($e,De=null){return{type:4,styles:De,timings:$e}}function I($e,De=null){return{type:3,steps:$e,options:De}}function R($e,De=null){return{type:2,steps:$e,options:De}}function x($e){return{type:6,styles:$e,offset:null}}function F($e,De,Ge=null){return{type:1,expr:$e,animation:De,options:Ge}}function J($e=null){return{type:9,options:$e}}function ie($e,De,Ge=null){return{type:11,selector:$e,animation:De,options:Ge}}function Ie($e){Promise.resolve(null).then($e)}class ot{constructor(De=0,Ge=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=De+Ge}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(De=>De()),this._onDoneFns=[])}onStart(De){this._onStartFns.push(De)}onDone(De){this._onDoneFns.push(De)}onDestroy(De){this._onDestroyFns.push(De)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ie(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(De=>De()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(De=>De()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(De){this._position=this.totalTime?De*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(De){const Ge="start"==De?this._onStartFns:this._onDoneFns;Ge.forEach(Gt=>Gt()),Ge.length=0}}class xe{constructor(De){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=De;let Ge=0,Gt=0,Ve=0;const at=this.players.length;0==at?Ie(()=>this._onFinish()):this.players.forEach($t=>{$t.onDone(()=>{++Ge==at&&this._onFinish()}),$t.onDestroy(()=>{++Gt==at&&this._onDestroy()}),$t.onStart(()=>{++Ve==at&&this._onStart()})}),this.totalTime=this.players.reduce(($t,Ke)=>Math.max($t,Ke.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(De=>De()),this._onDoneFns=[])}init(){this.players.forEach(De=>De.init())}onStart(De){this._onStartFns.push(De)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(De=>De()),this._onStartFns=[])}onDone(De){this._onDoneFns.push(De)}onDestroy(De){this._onDestroyFns.push(De)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(De=>De.play())}pause(){this.players.forEach(De=>De.pause())}restart(){this.players.forEach(De=>De.restart())}finish(){this._onFinish(),this.players.forEach(De=>De.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(De=>De.destroy()),this._onDestroyFns.forEach(De=>De()),this._onDestroyFns=[])}reset(){this.players.forEach(De=>De.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(De){const Ge=De*this.totalTime;this.players.forEach(Gt=>{const Ve=Gt.totalTime?Math.min(1,Ge/Gt.totalTime):1;Gt.setPosition(Ve)})}getPosition(){const De=this.players.reduce((Ge,Gt)=>null===Ge||Gt.totalTime>Ge.totalTime?Gt:Ge,null);return null!=De?De.getPosition():0}beforeDestroy(){this.players.forEach(De=>{De.beforeDestroy&&De.beforeDestroy()})}triggerCallback(De){const Ge="start"==De?this._onStartFns:this._onDoneFns;Ge.forEach(Gt=>Gt()),Ge.length=0}}const Oe="!"},6895:(j,w,h)=>{"use strict";h.d(w,{Do:()=>$e,EM:()=>Br,HT:()=>C,JF:()=>fi,K0:()=>R,Mx:()=>Et,O5:()=>yr,S$:()=>Ie,V_:()=>M,Ye:()=>De,b0:()=>Oe,bD:()=>zr,ez:()=>di,lw:()=>x,mr:()=>xe,q:()=>A,sg:()=>ir,w_:()=>I});var f=h(6738);let p=null;function A(){return p}function C(_){p||(p=_)}class I{}const R=new f.OlP("DocumentToken");let x=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275prov=f.Yz7({token:_,factory:function(){return function B(){return(0,f.LFG)(F)}()},providedIn:"platform"}),_})();const M=new f.OlP("Location Initialized");let F=(()=>{class _ extends x{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(E){const U=A().getGlobalEventTarget(this._doc,"window");return U.addEventListener("popstate",E,!1),()=>U.removeEventListener("popstate",E)}onHashChange(E){const U=A().getGlobalEventTarget(this._doc,"window");return U.addEventListener("hashchange",E,!1),()=>U.removeEventListener("hashchange",E)}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(E){this.location.pathname=E}pushState(E,U,se){$()?this._history.pushState(E,U,se):this.location.hash=se}replaceState(E,U,se){$()?this._history.replaceState(E,U,se):this.location.hash=se}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return _.\u0275fac=function(E){return new(E||_)(f.LFG(R))},_.\u0275prov=f.Yz7({token:_,factory:function(){return function J(){return new F((0,f.LFG)(R))}()},providedIn:"platform"}),_})();function $(){return!!window.history.pushState}function Q(_,O){if(0==_.length)return O;if(0==O.length)return _;let E=0;return _.endsWith("/")&&E++,O.startsWith("/")&&E++,2==E?_+O.substring(1):1==E?_+O:_+"/"+O}function ie(_){const O=_.match(/#|\?|$/),E=O&&O.index||_.length;return _.slice(0,E-("/"===_[E-1]?1:0))+_.slice(E)}function ae(_){return _&&"?"!==_[0]?"?"+_:_}let Ie=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275prov=f.Yz7({token:_,factory:function(){return function ot(_){const O=(0,f.LFG)(R).location;return new Oe((0,f.LFG)(x),O&&O.origin||"")}()},providedIn:"root"}),_})();const xe=new f.OlP("appBaseHref");let Oe=(()=>{class _ extends Ie{constructor(E,U){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==U&&(U=this._platformLocation.getBaseHrefFromDOM()),null==U)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=U}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return Q(this._baseHref,E)}path(E=!1){const U=this._platformLocation.pathname+ae(this._platformLocation.search),se=this._platformLocation.hash;return se&&E?`${U}${se}`:U}pushState(E,U,se,Ee){const Re=this.prepareExternalUrl(se+ae(Ee));this._platformLocation.pushState(E,U,Re)}replaceState(E,U,se,Ee){const Re=this.prepareExternalUrl(se+ae(Ee));this._platformLocation.replaceState(E,U,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return _.\u0275fac=function(E){return new(E||_)(f.LFG(x),f.LFG(xe,8))},_.\u0275prov=f.Yz7({token:_,factory:_.\u0275fac}),_})(),$e=(()=>{class _ extends Ie{constructor(E,U){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=U&&(this._baseHref=U)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let U=this._platformLocation.hash;return null==U&&(U="#"),U.length>0?U.substring(1):U}prepareExternalUrl(E){const U=Q(this._baseHref,E);return U.length>0?"#"+U:U}pushState(E,U,se,Ee){let Re=this.prepareExternalUrl(se+ae(Ee));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.pushState(E,U,Re)}replaceState(E,U,se,Ee){let Re=this.prepareExternalUrl(se+ae(Ee));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.replaceState(E,U,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return _.\u0275fac=function(E){return new(E||_)(f.LFG(x),f.LFG(xe,8))},_.\u0275prov=f.Yz7({token:_,factory:_.\u0275fac}),_})(),De=(()=>{class _{constructor(E,U){this._subject=new f.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const se=this._platformStrategy.getBaseHref();this._platformLocation=U,this._baseHref=ie(Ve(se)),this._platformStrategy.onPopState(Ee=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ee.state,type:Ee.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,U=""){return this.path()==this.normalize(E+ae(U))}normalize(E){return _.stripTrailingSlash(function Gt(_,O){return _&&O.startsWith(_)?O.substring(_.length):O}(this._baseHref,Ve(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,U="",se=null){this._platformStrategy.pushState(se,"",E,U),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ae(U)),se)}replaceState(E,U="",se=null){this._platformStrategy.replaceState(se,"",E,U),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ae(U)),se)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){this._platformStrategy.historyGo?.(E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(U=>{this._notifyUrlChangeListeners(U.url,U.state)}))}_notifyUrlChangeListeners(E="",U){this._urlChangeListeners.forEach(se=>se(E,U))}subscribe(E,U,se){return this._subject.subscribe({next:E,error:U,complete:se})}}return _.normalizeQueryParams=ae,_.joinWithSlash=Q,_.stripTrailingSlash=ie,_.\u0275fac=function(E){return new(E||_)(f.LFG(Ie),f.LFG(x))},_.\u0275prov=f.Yz7({token:_,factory:function(){return function Ge(){return new De((0,f.LFG)(Ie),(0,f.LFG)(x))}()},providedIn:"root"}),_})();function Ve(_){return _.replace(/\/index.html$/,"")}function Et(_,O){O=encodeURIComponent(O);for(const E of _.split(";")){const U=E.indexOf("="),[se,Ee]=-1==U?[E,""]:[E.slice(0,U),E.slice(U+1)];if(se.trim()===O)return decodeURIComponent(Ee)}return null}class Fr{constructor(O,E,U,se){this.$implicit=O,this.ngForOf=E,this.index=U,this.count=se}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 ir=(()=>{class _{constructor(E,U,se){this._viewContainer=E,this._template=U,this._differs=se,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const U=this._viewContainer;E.forEachOperation((se,Ee,Re)=>{if(null==se.previousIndex)U.createEmbeddedView(this._template,new Fr(se.item,this._ngForOf,-1,-1),null===Re?void 0:Re);else if(null==Re)U.remove(null===Ee?void 0:Ee);else if(null!==Ee){const We=U.get(Ee);U.move(We,Re),On(We,se)}});for(let se=0,Ee=U.length;se<Ee;se++){const We=U.get(se).context;We.index=se,We.count=Ee,We.ngForOf=this._ngForOf}E.forEachIdentityChange(se=>{On(U.get(se.currentIndex),se)})}static ngTemplateContextGuard(E,U){return!0}}return _.\u0275fac=function(E){return new(E||_)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4))},_.\u0275dir=f.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),_})();function On(_,O){_.context.$implicit=O.item}let yr=(()=>{class _{constructor(E,U){this._viewContainer=E,this._context=new Mn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=U}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){en("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){en("ngIfElse",E),this._elseTemplateRef=E,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(E,U){return!0}}return _.\u0275fac=function(E){return new(E||_)(f.Y36(f.s_b),f.Y36(f.Rgc))},_.\u0275dir=f.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),_})();class Mn{constructor(){this.$implicit=null,this.ngIf=null}}function en(_,O){if(O&&!O.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,f.AaK)(O)}'.`)}let di=(()=>{class _{}return _.\u0275fac=function(E){return new(E||_)},_.\u0275mod=f.oAB({type:_}),_.\u0275inj=f.cJS({}),_})();const zr="browser";let Br=(()=>{class _{}return _.\u0275prov=(0,f.Yz7)({token:_,providedIn:"root",factory:()=>new ur((0,f.LFG)(R),window)}),_})();class ur{constructor(O,E){this.document=O,this.window=E,this.offset=()=>[0,0]}setOffset(O){this.offset=Array.isArray(O)?()=>O:O}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(O){this.supportsScrolling()&&this.window.scrollTo(O[0],O[1])}scrollToAnchor(O){if(!this.supportsScrolling())return;const E=function Fn(_,O){const E=_.getElementById(O)||_.getElementsByName(O)[0];if(E)return E;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const U=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let se=U.currentNode;for(;se;){const Ee=se.shadowRoot;if(Ee){const Re=Ee.getElementById(O)||Ee.querySelector(`[name="${O}"]`);if(Re)return Re}se=U.nextNode()}}return null}(this.document,O);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(O){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=O)}}scrollToElement(O){const E=O.getBoundingClientRect(),U=E.left+this.window.pageXOffset,se=E.top+this.window.pageYOffset,Ee=this.offset();this.window.scrollTo(U-Ee[0],se-Ee[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const O=Ys(this.window.history)||Ys(Object.getPrototypeOf(this.window.history));return!(!O||!O.writable&&!O.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Ys(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class fi{}},529:(j,w,h)=>{"use strict";h.d(w,{JF:()=>gr,WM:()=>M,eN:()=>me});var f=h(6895),p=h(6738),A=h(1086),T=h(2916),C=h(1406),I=h(2198),R=h(4850);class x{}class B{}class M{constructor(H){this.normalizedNames=new Map,this.lazyUpdate=null,H?this.lazyInit="string"==typeof H?()=>{this.headers=new Map,H.split("\n").forEach(k=>{const oe=k.indexOf(":");if(oe>0){const de=k.slice(0,oe),pe=de.toLowerCase(),Ae=k.slice(oe+1).trim();this.maybeSetNormalizedName(de,pe),this.headers.has(pe)?this.headers.get(pe).push(Ae):this.headers.set(pe,[Ae])}})}:()=>{this.headers=new Map,Object.keys(H).forEach(k=>{let oe=H[k];const de=k.toLowerCase();"string"==typeof oe&&(oe=[oe]),oe.length>0&&(this.headers.set(de,oe),this.maybeSetNormalizedName(k,de))})}:this.headers=new Map}has(H){return this.init(),this.headers.has(H.toLowerCase())}get(H){this.init();const k=this.headers.get(H.toLowerCase());return k&&k.length>0?k[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(H){return this.init(),this.headers.get(H.toLowerCase())||null}append(H,k){return this.clone({name:H,value:k,op:"a"})}set(H,k){return this.clone({name:H,value:k,op:"s"})}delete(H,k){return this.clone({name:H,value:k,op:"d"})}maybeSetNormalizedName(H,k){this.normalizedNames.has(k)||this.normalizedNames.set(k,H)}init(){this.lazyInit&&(this.lazyInit instanceof M?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(H=>this.applyUpdate(H)),this.lazyUpdate=null))}copyFrom(H){H.init(),Array.from(H.headers.keys()).forEach(k=>{this.headers.set(k,H.headers.get(k)),this.normalizedNames.set(k,H.normalizedNames.get(k))})}clone(H){const k=new M;return k.lazyInit=this.lazyInit&&this.lazyInit instanceof M?this.lazyInit:this,k.lazyUpdate=(this.lazyUpdate||[]).concat([H]),k}applyUpdate(H){const k=H.name.toLowerCase();switch(H.op){case"a":case"s":let oe=H.value;if("string"==typeof oe&&(oe=[oe]),0===oe.length)return;this.maybeSetNormalizedName(H.name,k);const de=("a"===H.op?this.headers.get(k):void 0)||[];de.push(...oe),this.headers.set(k,de);break;case"d":const pe=H.value;if(pe){let Ae=this.headers.get(k);if(!Ae)return;Ae=Ae.filter(nt=>-1===pe.indexOf(nt)),0===Ae.length?(this.headers.delete(k),this.normalizedNames.delete(k)):this.headers.set(k,Ae)}else this.headers.delete(k),this.normalizedNames.delete(k)}}forEach(H){this.init(),Array.from(this.normalizedNames.keys()).forEach(k=>H(this.normalizedNames.get(k),this.headers.get(k)))}}class F{encodeKey(H){return ie(H)}encodeValue(H){return ie(H)}decodeKey(H){return decodeURIComponent(H)}decodeValue(H){return decodeURIComponent(H)}}const J=/%(\d[a-f0-9])/gi,Q={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ie(Z){return encodeURIComponent(Z).replace(J,(H,k)=>Q[k]??H)}function ae(Z){return`${Z}`}class Ie{constructor(H={}){if(this.updates=null,this.cloneFrom=null,this.encoder=H.encoder||new F,H.fromString){if(H.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function $(Z,H){const k=new Map;return Z.length>0&&Z.replace(/^\?/,"").split("&").forEach(de=>{const pe=de.indexOf("="),[Ae,nt]=-1==pe?[H.decodeKey(de),""]:[H.decodeKey(de.slice(0,pe)),H.decodeValue(de.slice(pe+1))],Le=k.get(Ae)||[];Le.push(nt),k.set(Ae,Le)}),k}(H.fromString,this.encoder)}else H.fromObject?(this.map=new Map,Object.keys(H.fromObject).forEach(k=>{const oe=H.fromObject[k];this.map.set(k,Array.isArray(oe)?oe:[oe])})):this.map=null}has(H){return this.init(),this.map.has(H)}get(H){this.init();const k=this.map.get(H);return k?k[0]:null}getAll(H){return this.init(),this.map.get(H)||null}keys(){return this.init(),Array.from(this.map.keys())}append(H,k){return this.clone({param:H,value:k,op:"a"})}appendAll(H){const k=[];return Object.keys(H).forEach(oe=>{const de=H[oe];Array.isArray(de)?de.forEach(pe=>{k.push({param:oe,value:pe,op:"a"})}):k.push({param:oe,value:de,op:"a"})}),this.clone(k)}set(H,k){return this.clone({param:H,value:k,op:"s"})}delete(H,k){return this.clone({param:H,value:k,op:"d"})}toString(){return this.init(),this.keys().map(H=>{const k=this.encoder.encodeKey(H);return this.map.get(H).map(oe=>k+"="+this.encoder.encodeValue(oe)).join("&")}).filter(H=>""!==H).join("&")}clone(H){const k=new Ie({encoder:this.encoder});return k.cloneFrom=this.cloneFrom||this,k.updates=(this.updates||[]).concat(H),k}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(H=>this.map.set(H,this.cloneFrom.map.get(H))),this.updates.forEach(H=>{switch(H.op){case"a":case"s":const k=("a"===H.op?this.map.get(H.param):void 0)||[];k.push(ae(H.value)),this.map.set(H.param,k);break;case"d":if(void 0===H.value){this.map.delete(H.param);break}{let oe=this.map.get(H.param)||[];const de=oe.indexOf(ae(H.value));-1!==de&&oe.splice(de,1),oe.length>0?this.map.set(H.param,oe):this.map.delete(H.param)}}}),this.cloneFrom=this.updates=null)}}class xe{constructor(){this.map=new Map}set(H,k){return this.map.set(H,k),this}get(H){return this.map.has(H)||this.map.set(H,H.defaultValue()),this.map.get(H)}delete(H){return this.map.delete(H),this}has(H){return this.map.has(H)}keys(){return this.map.keys()}}function $e(Z){return typeof ArrayBuffer<"u"&&Z instanceof ArrayBuffer}function De(Z){return typeof Blob<"u"&&Z instanceof Blob}function Ge(Z){return typeof FormData<"u"&&Z instanceof FormData}class Ve{constructor(H,k,oe,de){let pe;if(this.url=k,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=H.toUpperCase(),function Oe(Z){switch(Z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||de?(this.body=void 0!==oe?oe:null,pe=de):pe=oe,pe&&(this.reportProgress=!!pe.reportProgress,this.withCredentials=!!pe.withCredentials,pe.responseType&&(this.responseType=pe.responseType),pe.headers&&(this.headers=pe.headers),pe.context&&(this.context=pe.context),pe.params&&(this.params=pe.params)),this.headers||(this.headers=new M),this.context||(this.context=new xe),this.params){const Ae=this.params.toString();if(0===Ae.length)this.urlWithParams=k;else{const nt=k.indexOf("?");this.urlWithParams=k+(-1===nt?"?":nt<k.length-1?"&":"")+Ae}}else this.params=new Ie,this.urlWithParams=k}serializeBody(){return null===this.body?null:$e(this.body)||De(this.body)||Ge(this.body)||function Gt(Z){return typeof URLSearchParams<"u"&&Z instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ie?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||Ge(this.body)?null:De(this.body)?this.body.type||null:$e(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(H={}){const k=H.method||this.method,oe=H.url||this.url,de=H.responseType||this.responseType,pe=void 0!==H.body?H.body:this.body,Ae=void 0!==H.withCredentials?H.withCredentials:this.withCredentials,nt=void 0!==H.reportProgress?H.reportProgress:this.reportProgress;let Le=H.headers||this.headers,it=H.params||this.params;const bt=H.context??this.context;return void 0!==H.setHeaders&&(Le=Object.keys(H.setHeaders).reduce((pt,Tt)=>pt.set(Tt,H.setHeaders[Tt]),Le)),H.setParams&&(it=Object.keys(H.setParams).reduce((pt,Tt)=>pt.set(Tt,H.setParams[Tt]),it)),new Ve(k,oe,pe,{params:it,headers:Le,context:bt,reportProgress:nt,responseType:de,withCredentials:Ae})}}var at=(()=>((at=at||{})[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at))();class $t{constructor(H,k=200,oe="OK"){this.headers=H.headers||new M,this.status=void 0!==H.status?H.status:k,this.statusText=H.statusText||oe,this.url=H.url||null,this.ok=this.status>=200&&this.status<300}}class Ke extends $t{constructor(H={}){super(H),this.type=at.ResponseHeader}clone(H={}){return new Ke({headers:H.headers||this.headers,status:void 0!==H.status?H.status:this.status,statusText:H.statusText||this.statusText,url:H.url||this.url||void 0})}}class Rt extends $t{constructor(H={}){super(H),this.type=at.Response,this.body=void 0!==H.body?H.body:null}clone(H={}){return new Rt({body:void 0!==H.body?H.body:this.body,headers:H.headers||this.headers,status:void 0!==H.status?H.status:this.status,statusText:H.statusText||this.statusText,url:H.url||this.url||void 0})}}class Fe extends $t{constructor(H){super(H,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${H.url||"(unknown url)"}`:`Http failure response for ${H.url||"(unknown url)"}: ${H.status} ${H.statusText}`,this.error=H.error||null}}function le(Z,H){return{body:H,headers:Z.headers,context:Z.context,observe:Z.observe,params:Z.params,reportProgress:Z.reportProgress,responseType:Z.responseType,withCredentials:Z.withCredentials}}let me=(()=>{class Z{constructor(k){this.handler=k}request(k,oe,de={}){let pe;if(k instanceof Ve)pe=k;else{let Le,it;Le=de.headers instanceof M?de.headers:new M(de.headers),de.params&&(it=de.params instanceof Ie?de.params:new Ie({fromObject:de.params})),pe=new Ve(k,oe,void 0!==de.body?de.body:null,{headers:Le,context:de.context,params:it,reportProgress:de.reportProgress,responseType:de.responseType||"json",withCredentials:de.withCredentials})}const Ae=(0,A.of)(pe).pipe((0,C.b)(Le=>this.handler.handle(Le)));if(k instanceof Ve||"events"===de.observe)return Ae;const nt=Ae.pipe((0,I.h)(Le=>Le instanceof Rt));switch(de.observe||"body"){case"body":switch(pe.responseType){case"arraybuffer":return nt.pipe((0,R.U)(Le=>{if(null!==Le.body&&!(Le.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Le.body}));case"blob":return nt.pipe((0,R.U)(Le=>{if(null!==Le.body&&!(Le.body instanceof Blob))throw new Error("Response is not a Blob.");return Le.body}));case"text":return nt.pipe((0,R.U)(Le=>{if(null!==Le.body&&"string"!=typeof Le.body)throw new Error("Response is not a string.");return Le.body}));default:return nt.pipe((0,R.U)(Le=>Le.body))}case"response":return nt;default:throw new Error(`Unreachable: unhandled observe type ${de.observe}}`)}}delete(k,oe={}){return this.request("DELETE",k,oe)}get(k,oe={}){return this.request("GET",k,oe)}head(k,oe={}){return this.request("HEAD",k,oe)}jsonp(k,oe){return this.request("JSONP",k,{params:(new Ie).append(oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(k,oe={}){return this.request("OPTIONS",k,oe)}patch(k,oe,de={}){return this.request("PATCH",k,le(de,oe))}post(k,oe,de={}){return this.request("POST",k,le(de,oe))}put(k,oe,de={}){return this.request("PUT",k,le(de,oe))}}return Z.\u0275fac=function(k){return new(k||Z)(p.LFG(x))},Z.\u0275prov=p.Yz7({token:Z,factory:Z.\u0275fac}),Z})();class Ce{constructor(H,k){this.next=H,this.interceptor=k}handle(H){return this.interceptor.intercept(H,this.next)}}const X=new p.OlP("HTTP_INTERCEPTORS");let Pe=(()=>{class Z{intercept(k,oe){return oe.handle(k)}}return Z.\u0275fac=function(k){return new(k||Z)},Z.\u0275prov=p.Yz7({token:Z,factory:Z.\u0275fac}),Z})();const Ft=/^\)\]\}',?\n/;let dr=(()=>{class Z{constructor(k){this.xhrFactory=k}handle(k){if("JSONP"===k.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new T.y(oe=>{const de=this.xhrFactory.build();if(de.open(k.method,k.urlWithParams),k.withCredentials&&(de.withCredentials=!0),k.headers.forEach((Ze,Ut)=>de.setRequestHeader(Ze,Ut.join(","))),k.headers.has("Accept")||de.setRequestHeader("Accept","application/json, text/plain, */*"),!k.headers.has("Content-Type")){const Ze=k.detectContentTypeHeader();null!==Ze&&de.setRequestHeader("Content-Type",Ze)}if(k.responseType){const Ze=k.responseType.toLowerCase();de.responseType="json"!==Ze?Ze:"text"}const pe=k.serializeBody();let Ae=null;const nt=()=>{if(null!==Ae)return Ae;const Ze=de.statusText||"OK",Ut=new M(de.getAllResponseHeaders()),yt=function kt(Z){return"responseURL"in Z&&Z.responseURL?Z.responseURL:/^X-Request-URL:/m.test(Z.getAllResponseHeaders())?Z.getResponseHeader("X-Request-URL"):null}(de)||k.url;return Ae=new Ke({headers:Ut,status:de.status,statusText:Ze,url:yt}),Ae},Le=()=>{let{headers:Ze,status:Ut,statusText:yt,url:He}=nt(),je=null;204!==Ut&&(je=typeof de.response>"u"?de.responseText:de.response),0===Ut&&(Ut=je?200:0);let sn=Ut>=200&&Ut<300;if("json"===k.responseType&&"string"==typeof je){const Yt=je;je=je.replace(Ft,"");try{je=""!==je?JSON.parse(je):null}catch(Wt){je=Yt,sn&&(sn=!1,je={error:Wt,text:je})}}sn?(oe.next(new Rt({body:je,headers:Ze,status:Ut,statusText:yt,url:He||void 0})),oe.complete()):oe.error(new Fe({error:je,headers:Ze,status:Ut,statusText:yt,url:He||void 0}))},it=Ze=>{const{url:Ut}=nt(),yt=new Fe({error:Ze,status:de.status||0,statusText:de.statusText||"Unknown Error",url:Ut||void 0});oe.error(yt)};let bt=!1;const pt=Ze=>{bt||(oe.next(nt()),bt=!0);let Ut={type:at.DownloadProgress,loaded:Ze.loaded};Ze.lengthComputable&&(Ut.total=Ze.total),"text"===k.responseType&&!!de.responseText&&(Ut.partialText=de.responseText),oe.next(Ut)},Tt=Ze=>{let Ut={type:at.UploadProgress,loaded:Ze.loaded};Ze.lengthComputable&&(Ut.total=Ze.total),oe.next(Ut)};return de.addEventListener("load",Le),de.addEventListener("error",it),de.addEventListener("timeout",it),de.addEventListener("abort",it),k.reportProgress&&(de.addEventListener("progress",pt),null!==pe&&de.upload&&de.upload.addEventListener("progress",Tt)),de.send(pe),oe.next({type:at.Sent}),()=>{de.removeEventListener("error",it),de.removeEventListener("abort",it),de.removeEventListener("load",Le),de.removeEventListener("timeout",it),k.reportProgress&&(de.removeEventListener("progress",pt),null!==pe&&de.upload&&de.upload.removeEventListener("progress",Tt)),de.readyState!==de.DONE&&de.abort()}})}}return Z.\u0275fac=function(k){return new(k||Z)(p.LFG(f.JF))},Z.\u0275prov=p.Yz7({token:Z,factory:Z.\u0275fac}),Z})();const wr=new p.OlP("XSRF_COOKIE_NAME"),fr=new p.OlP("XSRF_HEADER_NAME");class Zt{}let Zn=(()=>{class Z{constructor(k,oe,de){this.doc=k,this.platform=oe,this.cookieName=de,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const k=this.doc.cookie||"";return k!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,f.Mx)(k,this.cookieName),this.lastCookieString=k),this.lastToken}}return Z.\u0275fac=function(k){return new(k||Z)(p.LFG(f.K0),p.LFG(p.Lbi),p.LFG(wr))},Z.\u0275prov=p.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),wn=(()=>{class Z{constructor(k,oe){this.tokenService=k,this.headerName=oe}intercept(k,oe){const de=k.url.toLowerCase();if("GET"===k.method||"HEAD"===k.method||de.startsWith("http://")||de.startsWith("https://"))return oe.handle(k);const pe=this.tokenService.getToken();return null!==pe&&!k.headers.has(this.headerName)&&(k=k.clone({headers:k.headers.set(this.headerName,pe)})),oe.handle(k)}}return Z.\u0275fac=function(k){return new(k||Z)(p.LFG(Zt),p.LFG(fr))},Z.\u0275prov=p.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),Hn=(()=>{class Z{constructor(k,oe){this.backend=k,this.injector=oe,this.chain=null}handle(k){if(null===this.chain){const oe=this.injector.get(X,[]);this.chain=oe.reduceRight((de,pe)=>new Ce(de,pe),this.backend)}return this.chain.handle(k)}}return Z.\u0275fac=function(k){return new(k||Z)(p.LFG(B),p.LFG(p.zs3))},Z.\u0275prov=p.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),Vn=(()=>{class Z{static disable(){return{ngModule:Z,providers:[{provide:wn,useClass:Pe}]}}static withOptions(k={}){return{ngModule:Z,providers:[k.cookieName?{provide:wr,useValue:k.cookieName}:[],k.headerName?{provide:fr,useValue:k.headerName}:[]]}}}return Z.\u0275fac=function(k){return new(k||Z)},Z.\u0275mod=p.oAB({type:Z}),Z.\u0275inj=p.cJS({providers:[wn,{provide:X,useExisting:wn,multi:!0},{provide:Zt,useClass:Zn},{provide:wr,useValue:"XSRF-TOKEN"},{provide:fr,useValue:"X-XSRF-TOKEN"}]}),Z})(),gr=(()=>{class Z{}return Z.\u0275fac=function(k){return new(k||Z)},Z.\u0275mod=p.oAB({type:Z}),Z.\u0275inj=p.cJS({providers:[me,{provide:x,useClass:Hn},dr,{provide:B,useExisting:dr}],imports:[[Vn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Z})()},6738:(j,w,h)=>{"use strict";h.d(w,{deG:()=>wg,tb:()=>ng,AFp:()=>Xp,ip1:()=>Jp,CZH:()=>Vl,hGG:()=>V0,z2F:()=>Ql,sBO:()=>S0,Sil:()=>s0,_Vd:()=>La,EJc:()=>n0,SBq:()=>Zo,qLn:()=>da,vpe:()=>Ts,tBr:()=>oa,XFs:()=>k,OlP:()=>$n,zs3:()=>Ds,ZZ4:()=>nc,aQg:()=>rc,soG:()=>Gl,YKP:()=>pp,h0i:()=>co,PXZ:()=>v0,R0b:()=>os,FiY:()=>Io,Lbi:()=>XD,g9A:()=>tg,Qsj:()=>YE,FYo:()=>cp,JOm:()=>_s,q3G:()=>Kn,tp0:()=>Po,Rgc:()=>Xo,dDg:()=>ig,GfV:()=>dp,s_b:()=>Ba,ifc:()=>Tt,eFA:()=>ug,G48:()=>T0,Gpc:()=>xe,_c5:()=>H0,VLi:()=>g0,c2e:()=>e0,zSh:()=>Qu,wAp:()=>Ot,vHH:()=>Ge,EiD:()=>jc,mCW:()=>Ro,qzn:()=>Hi,JVY:()=>rm,pB0:()=>am,eBb:()=>im,L6k:()=>sm,LAX:()=>om,cg1:()=>_l,kL8:()=>Oh,yhl:()=>Pc,dqk:()=>je,sIi:()=>Ho,CqO:()=>Uf,QGY:()=>fl,F4k:()=>Bf,RDi:()=>se,AaK:()=>ae,z3N:()=>Us,qOj:()=>tl,TTD:()=>xs,_Bn:()=>ap,xp6:()=>vd,uIk:()=>sl,Tol:()=>uh,ekj:()=>gl,Suo:()=>xp,Xpm:()=>K,lG2:()=>ye,Yz7:()=>Zt,cJS:()=>wn,oAB:()=>Xe,Yjl:()=>ut,Y36:()=>$o,_UZ:()=>dl,BQk:()=>Aa,ynx:()=>Sa,qZA:()=>Ta,TgZ:()=>wa,EpF:()=>jf,n5z:()=>wt,LFG:()=>pr,$8M:()=>_n,$Z:()=>Lf,NdJ:()=>hl,CRH:()=>Rp,oxw:()=>Gf,Q6J:()=>ll,MGl:()=>Ma,VKq:()=>vp,iGM:()=>Ip,CHM:()=>qs,oJD:()=>Bc,LSH:()=>du,YNc:()=>Tf,_uU:()=>gh,Oqu:()=>yl,hij:()=>Pa,AsE:()=>vl,Gf:()=>Pp});var f=h(2916),p=h(2866),A=h(9146),T=h(3009),I=h(5529),R=h(2654),x=h(1762);class M{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,s=this.subjectFactory(),i=r(s).subscribe(t);return i.add(n.subscribe(s)),i}}var F=h(4327);function $(){return new I.xQ}function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function ie(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ae).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 Ie(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ot=Q({__forward_ref__:Q});function xe(e){return e.__forward_ref__=xe,e.toString=function(){return ae(this())},e}function Oe(e){return $e(e)?e():e}function $e(e){return"function"==typeof e&&e.hasOwnProperty(ot)&&e.__forward_ref__===xe}class Ge extends Error{constructor(t,n){super(function Gt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Ve(e){return"string"==typeof e?e:null==e?"":String(e)}function at(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ve(e)}function Fe(e,t){const n=t?` in ${t}`:"";throw new Ge(-201,`No provider for ${at(e)} found${n}`)}function Ft(e,t){null==e&&function kt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Zt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Hn(e){return fn(e,ee)||fn(e,Z)}function fn(e,t){return e.hasOwnProperty(t)?e[t]:null}function gr(e){return e&&(e.hasOwnProperty(ce)||e.hasOwnProperty(H))?e[ce]:null}const ee=Q({\u0275prov:Q}),ce=Q({\u0275inj:Q}),Z=Q({ngInjectableDef:Q}),H=Q({ngInjectorDef:Q});var k=(()=>((k=k||{})[k.Default=0]="Default",k[k.Host=1]="Host",k[k.Self=2]="Self",k[k.SkipSelf=4]="SkipSelf",k[k.Optional=8]="Optional",k))();let oe;function pe(e){const t=oe;return oe=e,t}function Ae(e,t,n){const r=Hn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&k.Optional?null:void 0!==t?t:void Fe(ae(e),"Injector")}function Le(e){return{toString:e}.toString()}var it=(()=>((it=it||{})[it.OnPush=0]="OnPush",it[it.Default=1]="Default",it))(),Tt=(()=>{return(e=Tt||(Tt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Tt;var e})();const Ze=typeof globalThis<"u"&&globalThis,Ut=typeof window<"u"&&window,yt=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,je=Ze||typeof global<"u"&&global||Ut||yt,Wt={},ft=[],rt=Q({\u0275cmp:Q}),Qt=Q({\u0275dir:Q}),Ye=Q({\u0275pipe:Q}),St=Q({\u0275mod:Q}),lt=Q({\u0275fac:Q}),cn=Q({__NG_ELEMENT_ID__:Q});let ge=0;function K(e){return Le(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===it.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ft,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Tt.Emulated,id:"c",styles:e.styles||ft,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,o=e.pipes;return r.id+=ge++,r.inputs=te(e.inputs,n),r.outputs=te(e.outputs),i&&i.forEach(d=>d(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(ue):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Te):null,r})}function ue(e){return ht(e)||function Xt(e){return e[Qt]||null}(e)}function Te(e){return function Be(e){return e[Ye]||null}(e)}const tt={};function Xe(e){return Le(()=>{const t={type:e.type,bootstrap:e.bootstrap||ft,declarations:e.declarations||ft,imports:e.imports||ft,exports:e.exports||ft,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(tt[e.id]=e.type),t})}function te(e,t){if(null==e)return Wt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const ye=K;function ut(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ht(e){return e[rt]||null}function be(e,t){const n=e[St]||null;if(!n&&!0===t)throw new Error(`Type ${ae(e)} does not have '\u0275mod' property.`);return n}function vr(e){return Array.isArray(e)&&"object"==typeof e[1]}function yn(e){return Array.isArray(e)&&!0===e[1]}function Ss(e){return 0!=(8&e.flags)}function or(e){return 2==(2&e.flags)}function kr(e){return 1==(1&e.flags)}function qn(e){return null!==e.template}function as(e){return 0!=(512&e[2])}function jr(e,t){return e.hasOwnProperty(lt)?e[lt]:null}class Ps{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xs(){return zs}function zs(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pi),Ws}function Ws(){const e=Rs(this),t=e?.current;if(t){const n=e.previous;if(n===Wt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pi(e,t,n,r){const s=Rs(e)||function Br(e,t){return e[ar]=t}(e,{previous:Wt,current:null}),i=s.current||(s.current={}),o=s.previous,d=this.declaredInputs[n],m=o[d];i[d]=new Ps(m&&m.currentValue,t,o===Wt),e[r]=t}xs.ngInherit=!0;const ar="__ngSimpleChanges__";function Rs(e){return e[ar]||null}const _="math";let U;function se(e){U=e}function Ee(){return void 0!==U?U:typeof document<"u"?document:void 0}function We(e){return!!e.listen}const hn={createRenderer:(e,t)=>Ee()};function jt(e){for(;Array.isArray(e);)e=e[0];return e}function Vt(e,t){return jt(t[e])}function dn(e,t){return jt(t[e.index])}function Jn(e,t){return e.data[t]}function In(e,t){const n=t[e];return vr(n)?n:n[0]}function Ns(e){return 4==(4&e[2])}function Yr(e){return 128==(128&e[2])}function Sr(e,t){return null==t?null:e[t]}function hi(e){e[18]=0}function Os(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const xt={lFrame:Yn(null),bindingsEnabled:!0};function xi(){return xt.bindingsEnabled}function ke(){return xt.lFrame.lView}function tn(){return xt.lFrame.tView}function qs(e){return xt.lFrame.contextLView=e,e[8]}function Tn(){let e=Ri();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ri(){return xt.lFrame.currentTNode}function _r(e,t){const n=xt.lFrame;n.currentTNode=e,n.isParent=t}function S(){return xt.lFrame.isParent}function a(){xt.lFrame.isParent=!1}function we(){return xt.lFrame.bindingIndex++}function qe(e){const t=xt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function qt(e,t){const n=xt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ht(t)}function Ht(e){xt.lFrame.currentDirectiveIndex=e}function kn(){return xt.lFrame.currentQueryIndex}function jn(e){xt.lFrame.currentQueryIndex=e}function tr(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Un(e,t,n){if(n&k.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&k.Host||(s=tr(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=xt.lFrame=Er();return r.currentTNode=t,r.lView=e,!0}function Kr(e){const t=Er(),n=e[1];xt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Er(){const e=xt.lFrame,t=null===e?null:e.child;return null===t?Yn(e):t}function Yn(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 Ar(){const e=xt.lFrame;return xt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Mr=Ar;function Dr(){const e=Ar();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 Pn(){return xt.lFrame.selectedIndex}function Or(e){xt.lFrame.selectedIndex=e}function Sn(){const e=xt.lFrame;return Jn(e.tView,e.selectedIndex)}function Xn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:d,ngAfterViewInit:m,ngAfterViewChecked:b,ngOnDestroy:N}=i;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),d&&((e.contentHooks||(e.contentHooks=[])).push(n,d),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,d)),m&&(e.viewHooks||(e.viewHooks=[])).push(-n,m),b&&((e.viewHooks||(e.viewHooks=[])).push(n,b),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,b)),null!=N&&(e.destroyHooks||(e.destroyHooks=[])).push(n,N)}}function Pr(e,t,n){gi(e,t,3,n)}function vn(e,t,n,r){(3&e[2])===n&&gi(e,t,n,r)}function Js(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function gi(e,t,n,r){const i=r??-1,o=t.length-1;let d=0;for(let m=void 0!==r?65535&e[18]:0;m<o;m++)if("number"==typeof t[m+1]){if(d=t[m],null!=r&&d>=r)break}else t[m]<0&&(e[18]+=65536),(d<i||-1==i)&&(nr(e,n,t,m),e[18]=(4294901760&e[18])+m+2),m++}function nr(e,t,n,r){const s=n[r]<0,i=n[r+1],d=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(d)}finally{}}}else try{i.call(d)}finally{}}class bn{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Oi(e,t,n){const r=We(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],d=n[s++],m=n[s++];r?e.setAttribute(t,d,m,o):t.setAttributeNS(o,d,m)}else{const o=i,d=n[++s];Fi(o)?r&&e.setProperty(t,o,d):r?e.setAttribute(t,o,d):t.setAttribute(o,d),s++}}return s}function vo(e){return 3===e||4===e||6===e}function Fi(e){return 64===e.charCodeAt(0)}function ti(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 s=t[r];"number"==typeof s?n=s:0===n||Ya(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Ya(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const d=e[i++];if("number"==typeof d){if(d===t){o=-1;break}if(d>t){o=i-1;break}}}for(;i<e.length;){const d=e[i];if("number"==typeof d)break;if(d===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function ps(e){return-1!==e}function js(e){return 32767&e}function ni(e,t){let n=function Ka(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let _o=!0;function Li(e){const t=_o;return _o=e,t}let Za=0;function yi(e,t){const n=Do(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,vi(r.data,e),vi(t,null),vi(r.blueprint,null));const s=ki(e,t),i=e.injectorIndex;if(ps(s)){const o=js(s),d=ni(s,t),m=d[1].data;for(let b=0;b<8;b++)t[i+b]=d[o+b]|m[o+b]}return t[i+8]=s,i}function vi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Do(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ki(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const i=s[1],o=i.type;if(r=2===o?i.declTNode:1===o?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function _i(e,t,n){!function Qa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(cn)&&(r=n[cn]),null==r&&(r=n[cn]=Za++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function Ja(e,t,n){if(n&k.Optional)return e;Fe(t,"NodeInjector")}function g(e,t,n,r){if(n&k.Optional&&void 0===r&&(r=null),0==(n&(k.Self|k.Host))){const s=e[9],i=pe(void 0);try{return s?s.get(t,r,n&k.Optional):Ae(t,r,n&k.Optional)}finally{pe(i)}}return Ja(r,t,n)}function l(e,t,n,r=k.Default,s){if(null!==e){const i=function re(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(cn)?e[cn]:void 0;return"number"==typeof t?t>=0?255&t:v:t}(n);if("function"==typeof i){if(!Un(t,e,r))return r&k.Host?Ja(s,n,r):g(t,n,r,s);try{const o=i(r);if(null!=o||r&k.Optional)return o;Fe(n)}finally{Mr()}}else if("number"==typeof i){let o=null,d=Do(e,t),m=-1,b=r&k.Host?t[16][6]:null;for((-1===d||r&k.SkipSelf)&&(m=-1===d?ki(e,t):t[d+8],-1!==m&&dt(r,!1)?(o=t[1],d=js(m),t=ni(m,t)):d=-1);-1!==d;){const N=t[1];if(Me(i,d,N.data)){const z=D(d,t,n,o,r,b);if(z!==u)return z}m=t[d+8],-1!==m&&dt(r,t[1].data[d+8]===b)&&Me(i,d,t)?(o=N,d=js(m),t=ni(m,t)):d=-1}}}return g(t,n,r,s)}const u={};function v(){return new nn(Tn(),ke())}function D(e,t,n,r,s,i){const o=t[1],d=o.data[e+8],N=L(d,o,n,null==r?or(d)&&_o:r!=o&&0!=(3&d.type),s&k.Host&&i===d);return null!==N?W(t,o,N,d):u}function L(e,t,n,r,s){const i=e.providerIndexes,o=t.data,d=1048575&i,m=e.directiveStart,N=i>>20,ne=s?d+N:e.directiveEnd;for(let fe=r?d:d+N;fe<ne;fe++){const Se=o[fe];if(fe<m&&n===Se||fe>=m&&Se.type===n)return fe}if(s){const fe=o[m];if(fe&&qn(fe)&&fe.type===n)return m}return null}function W(e,t,n,r){let s=e[n];const i=t.data;if(function es(e){return e instanceof bn}(s)){const o=s;o.resolving&&function $t(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ge(-200,`Circular dependency in DI detected for ${e}${n}`)}(at(i[n]));const d=Li(o.canSeeViewProviders);o.resolving=!0;const m=o.injectImpl?pe(o.injectImpl):null;Un(e,r,k.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ir(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const o=zs(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==m&&pe(m),Li(d),o.resolving=!1,Mr()}}return s}function Me(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function dt(e,t){return!(e&k.Self||e&k.Host&&t)}class nn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return l(this._tNode,this._lView,t,r,n)}}function wt(e){return Le(()=>{const t=e.prototype.constructor,n=t[lt]||pn(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[lt]||pn(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function pn(e){return $e(e)?()=>{const t=pn(Oe(e));return t&&t()}:jr(e)}function _n(e){return function qa(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 s=0;for(;s<r;){const i=n[s];if(vo(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(Tn(),e)}const Qr="__parameters__";function ri(e,t,n){return Le(()=>{const r=function Bs(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const o=new s(...i);return d.annotation=o,d;function d(m,b,N){const z=m.hasOwnProperty(Qr)?m[Qr]:Object.defineProperty(m,Qr,{value:[]})[Qr];for(;z.length<=N;)z.push(null);return(z[N]=z[N]||[]).push(o),m}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class $n{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=Zt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const wg=new $n("AnalyzeForEntryComponents");function qr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),qr(r,t)):t!==e&&t.push(r)}return t}function ms(e,t){e.forEach(n=>Array.isArray(n)?ms(n,t):t(n))}function gc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ra(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ur(e,t,n){let r=ji(e,t);return r>=0?e[1|r]=n:(r=~r,function Ag(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function eu(e,t){const n=ji(e,t);if(n>=0)return e[1|n]}function ji(e,t){return function vc(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=e[i<<n];if(t===o)return i<<n;o>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const So={},nu="__NG_DI_FLAG__",ia="ngTempTokenPath",Og=/\n/gm,Ec="__source",Lg=Q({provide:String,useValue:Q});let Ao;function Dc(e){const t=Ao;return Ao=e,t}function kg(e,t=k.Default){if(void 0===Ao)throw new Ge(203,"");return null===Ao?Ae(e,void 0,t):Ao.get(e,t&k.Optional?null:void 0,t)}function pr(e,t=k.Default){return(function de(){return oe}()||kg)(Oe(e),t)}const jg=pr;function ru(e){const t=[];for(let n=0;n<e.length;n++){const r=Oe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ge(900,"");let s,i=k.Default;for(let o=0;o<r.length;o++){const d=r[o],m=Bg(d);"number"==typeof m?-1===m?s=d.token:i|=m:s=d}t.push(pr(s,i))}else t.push(pr(r))}return t}function Mo(e,t){return e[nu]=t,e.prototype[nu]=t,e}function Bg(e){return e[nu]}const oa=Mo(ri("Inject",e=>({token:e})),-1),Io=Mo(ri("Optional"),8),Po=Mo(ri("SkipSelf"),4);let ua,la;function Ui(e){return function iu(){if(void 0===ua&&(ua=null,je.trustedTypes))try{ua=je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ua}()?.createHTML(e)||e}function Ac(e){return function ou(){if(void 0===la&&(la=null,je.trustedTypes))try{la=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return la}()?.createHTML(e)||e}class Ei{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Jg extends Ei{getTypeName(){return"HTML"}}class Xg extends Ei{getTypeName(){return"Style"}}class em extends Ei{getTypeName(){return"Script"}}class tm extends Ei{getTypeName(){return"URL"}}class nm extends Ei{getTypeName(){return"ResourceURL"}}function Us(e){return e instanceof Ei?e.changingThisBreaksApplicationSecurity:e}function Hi(e,t){const n=Pc(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Pc(e){return e instanceof Ei&&e.getTypeName()||null}function rm(e){return new Jg(e)}function sm(e){return new Xg(e)}function im(e){return new em(e)}function om(e){return new tm(e)}function am(e){return new nm(e)}class um{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ui(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class lm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ui(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ui(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const o=n.item(s).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const dm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,fm=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ro(e){return(e=String(e)).match(dm)||e.match(fm)?e:"unsafe:"+e}function ys(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function No(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Nc=ys("area,br,col,hr,img,wbr"),Oc=ys("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fc=ys("rp,rt"),au=No(Nc,No(Oc,ys("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")),No(Fc,ys("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")),No(Fc,Oc)),uu=ys("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lu=ys("srcset"),Lc=No(uu,lu,ys("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ys("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")),hm=ys("script,style,template");class pm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;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)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!au.hasOwnProperty(n))return this.sanitizedSomething=!0,!hm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),o=i.name,d=o.toLowerCase();if(!Lc.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let m=i.value;uu[d]&&(m=Ro(m)),lu[d]&&(e=m,m=(e=String(e)).split(",").map(t=>Ro(t.trim())).join(", ")),this.buf.push(" ",o,'="',kc(m),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();au.hasOwnProperty(n)&&!Nc.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(kc(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const gm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mm=/([^\#-~ |!])/g;function kc(e){return e.replace(/&/g,"&").replace(gm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(mm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ca;function jc(e,t){let n=null;try{ca=ca||function xc(e){const t=new lm(e);return function cm(){try{return!!(new window.DOMParser).parseFromString(Ui(""),"text/html")}catch{return!1}}()?new um(t):t}(e);let r=t?String(t):"";n=ca.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=ca.getInertBodyElement(r)}while(r!==i);return Ui((new pm).sanitizeChildren(cu(n)||n))}finally{if(n){const r=cu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function cu(e){return"content"in e&&function ym(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Kn=(()=>((Kn=Kn||{})[Kn.NONE=0]="NONE",Kn[Kn.HTML=1]="HTML",Kn[Kn.STYLE=2]="STYLE",Kn[Kn.SCRIPT=3]="SCRIPT",Kn[Kn.URL=4]="URL",Kn[Kn.RESOURCE_URL=5]="RESOURCE_URL",Kn))();function Bc(e){const t=Oo();return t?Ac(t.sanitize(Kn.HTML,e)||""):Hi(e,"HTML")?Ac(Us(e)):jc(Ee(),Ve(e))}function du(e){const t=Oo();return t?t.sanitize(Kn.URL,e)||"":Hi(e,"URL")?Us(e):Ro(Ve(e))}function Oo(){const e=ke();return e&&e[12]}const Vc="__ngContext__";function br(e,t){e[Vc]=t}function hu(e){const t=function Fo(e){return e[Vc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function gu(e){return e.ngOriginalError}function Nm(e,...t){e.error(...t)}class da{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Rm(e){return e&&e.ngErrorLogger||Nm}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&gu(t);for(;n&&gu(n);)n=gu(n);return n||null}}const $m=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(je))();function vs(e){return e instanceof Function?e():e}var _s=(()=>((_s=_s||{})[_s.Important=1]="Important",_s[_s.DashCase=2]="DashCase",_s))();function yu(e,t){return undefined(e,t)}function Lo(e){const t=e[3];return yn(t)?t[3]:t}function vu(e){return qc(e[13])}function _u(e){return qc(e[4])}function qc(e){for(;null!==e&&!yn(e);)e=e[4];return e}function $i(e,t,n,r,s){if(null!=r){let i,o=!1;yn(r)?i=r:vr(r)&&(o=!0,r=r[0]);const d=jt(r);0===e&&null!==n?null==s?rd(t,n,d):Di(t,n,d,s||null,!0):1===e&&null!==n?Di(t,n,d,s||null,!0):2===e?function cd(e,t,n){const r=fa(e,t);r&&function ry(e,t,n,r){We(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,d,o):3===e&&t.destroyNode(d),null!=i&&function oy(e,t,n,r,s){const i=n[7];i!==jt(n)&&$i(t,e,r,i,s);for(let d=10;d<n.length;d++){const m=n[d];ko(m[1],m,e,t,r,i)}}(t,e,i,n,s)}}function Du(e,t,n){if(We(e))return e.createElement(t,n);{const r=null!==n?function E(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===_?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function Xc(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Os(s,-1)),n.splice(r,1)}function bu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Xc(s,r),t>0&&(e[n-1][4]=r[4]);const i=ra(e,10+t);!function Zm(e,t){ko(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=i[19];null!==o&&o.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function ed(e,t){if(!(256&t[2])){const n=t[11];We(n)&&n.destroyNode&&ko(e,t,n,3,null,null),function Jm(e){let t=e[13];if(!t)return Cu(e[1],e);for(;t;){let n=null;if(vr(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)vr(t)&&Cu(t[1],t),t=t[3];null===t&&(t=e),vr(t)&&Cu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Cu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function ny(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof bn)){const i=n[r+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){const d=s[i[o]],m=i[o+1];try{m.call(d)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function ty(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const o=n[i+1],d="function"==typeof o?o(t):jt(t[o]),m=r[s=n[i+2]],b=n[i+3];"boolean"==typeof b?d.removeEventListener(n[i],m,b):b>=0?r[s=b]():r[s=-b].unsubscribe(),i+=2}else{const o=r[s=n[i+1]];n[i].call(o)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&We(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&yn(t[3])){n!==t[3]&&Xc(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function td(e,t,n){return function nd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const s=e.data[r.directiveStart].encapsulation;if(s===Tt.None||s===Tt.Emulated)return null}return dn(r,n)}(e,t.parent,n)}function Di(e,t,n,r,s){We(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function rd(e,t,n){We(e)?e.appendChild(t,n):t.appendChild(n)}function sd(e,t,n,r,s){null!==r?Di(e,t,n,r,s):rd(e,t,n)}function fa(e,t){return We(e)?e.parentNode(t):t.parentNode}let ad=function od(e,t,n){return 40&e.type?dn(e,n):null};function ha(e,t,n,r){const s=td(e,r,t),i=t[11],d=function id(e,t,n){return ad(e,t,n)}(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let m=0;m<n.length;m++)sd(i,s,n[m],d,!1);else sd(i,s,n,d,!1)}function pa(e,t){if(null!==t){const n=t.type;if(3&n)return dn(t,e);if(4&n)return Tu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return pa(e,r);{const s=e[t.index];return yn(s)?Tu(-1,s):jt(s)}}if(32&n)return yu(t,e)()||jt(e[t.index]);{const r=ld(e,t);return null!==r?Array.isArray(r)?r[0]:pa(Lo(e[16]),r):pa(e,t.next)}}return null}function ld(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Tu(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return pa(r,s)}return t[7]}function Su(e,t,n,r,s,i,o){for(;null!=n;){const d=r[n.index],m=n.type;if(o&&0===t&&(d&&br(jt(d),r),n.flags|=4),64!=(64&n.flags))if(8&m)Su(e,t,n.child,r,s,i,!1),$i(t,e,s,d,i);else if(32&m){const b=yu(n,r);let N;for(;N=b();)$i(t,e,s,N,i);$i(t,e,s,d,i)}else 16&m?dd(e,t,r,n,s,i):$i(t,e,s,d,i);n=o?n.projectionNext:n.next}}function ko(e,t,n,r,s,i){Su(n,r,e.firstChild,t,s,i,!1)}function dd(e,t,n,r,s,i){const o=n[16],m=o[6].projection[r.projection];if(Array.isArray(m))for(let b=0;b<m.length;b++)$i(t,e,s,m[b],i);else Su(e,t,m,o[3],s,i,!0)}function fd(e,t,n){We(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Au(e,t,n){We(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function hd(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}const pd="ng-template";function uy(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==hd(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function gd(e){return 4===e.type&&e.value!==pd}function ly(e,t,n){return t===(4!==e.type||n?e.value:pd)}function cy(e,t,n){let r=4;const s=e.attrs||[],i=function hy(e){for(let t=0;t<e.length;t++)if(vo(e[t]))return t;return e.length}(s);let o=!1;for(let d=0;d<t.length;d++){const m=t[d];if("number"!=typeof m){if(!o)if(4&r){if(r=2|1&r,""!==m&&!ly(e,m,n)||""===m&&1===t.length){if(ts(r))return!1;o=!0}}else{const b=8&r?m:t[++d];if(8&r&&null!==e.attrs){if(!uy(e.attrs,b,n)){if(ts(r))return!1;o=!0}continue}const z=dy(8&r?"class":m,s,gd(e),n);if(-1===z){if(ts(r))return!1;o=!0;continue}if(""!==b){let ne;ne=z>i?"":s[z+1].toLowerCase();const fe=8&r?ne:null;if(fe&&-1!==hd(fe,b,0)||2&r&&b!==ne){if(ts(r))return!1;o=!0}}}}else{if(!o&&!ts(r)&&!ts(m))return!1;if(o&&ts(m))continue;o=!1,r=m|1&r}}return ts(r)||o}function ts(e){return 0==(1&e)}function dy(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const o=t[s];if(o===e)return s;if(3===o||6===o)i=!0;else{if(1===o||2===o){let d=t[++s];for(;"string"==typeof d;)d=t[++s];continue}if(4===o)break;if(0===o){s+=4;continue}}s+=i?1:2}return-1}return function py(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 md(e,t,n=!1){for(let r=0;r<t.length;r++)if(cy(e,t[r],n))return!0;return!1}function yd(e,t){return e?":not("+t.trim()+")":t}function my(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const d=e[++n];s+="["+o+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""!==s&&!ts(o)&&(t+=yd(i,s),s=""),r=o,i=i||!ts(r);n++}return""!==s&&(t+=yd(i,s)),t}const zt={};function vd(e){_d(tn(),ke(),Pn()+e,!1)}function _d(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Pr(t,i,n)}else{const i=e.preOrderHooks;null!==i&&vn(t,i,0,n)}Or(n)}function ga(e,t){return e<<17|t<<2}function ns(e){return e>>17&32767}function Mu(e){return 2|e}function Hs(e){return(131068&e)>>2}function Iu(e,t){return-131069&e|t<<2}function Pu(e){return 1|e}function Pd(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const o=e.data[i];jn(s),o.contentQueries(2,t[i],i)}}}function jo(e,t,n,r,s,i,o,d,m,b){const N=t.blueprint.slice();return N[0]=s,N[2]=140|r,hi(N),N[3]=N[15]=e,N[8]=n,N[10]=o||e&&e[10],N[11]=d||e&&e[11],N[12]=m||e&&e[12]||null,N[9]=b||e&&e[9]||null,N[6]=i,N[16]=2==t.type?e[16]:N,N}function Gi(e,t,n,r,s){let i=e.data[t];if(null===i)i=function Bu(e,t,n,r,s){const i=Ri(),o=S(),m=e.data[t]=function Oy(e,t,n,r,s,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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,o?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=m),null!==i&&(o?null==i.child&&null!==m.parent&&(i.child=m):null===i.next&&(i.next=m)),m}(e,t,n,r,s),function _t(){return xt.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function Fs(){const e=xt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return _r(i,!0),i}function zi(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Bo(e,t,n){Kr(t);try{const r=e.viewQuery;null!==r&&Ku(1,r,n);const s=e.template;null!==s&&xd(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Pd(e,t),e.staticViewQueries&&Ku(2,e.viewQuery,n);const i=e.components;null!==i&&function xy(e,t){for(let n=0;n<t.length;n++)Jy(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Dr()}}function Wi(e,t,n,r){const s=t[2];if(256!=(256&s)){Kr(t);try{hi(t),function he(e){return xt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&xd(e,t,n,2,r);const o=3==(3&s);if(o){const b=e.preOrderCheckHooks;null!==b&&Pr(t,b,null)}else{const b=e.preOrderHooks;null!==b&&vn(t,b,0,null),Js(t,0)}if(function Qy(e){for(let t=vu(e);null!==t;t=_u(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const s=n[r],i=s[3];0==(1024&s[2])&&Os(i,1),s[2]|=1024}}}(t),function Zy(e){for(let t=vu(e);null!==t;t=_u(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];Yr(r)&&Wi(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Pd(e,t),o){const b=e.contentCheckHooks;null!==b&&Pr(t,b)}else{const b=e.contentHooks;null!==b&&vn(t,b,1),Js(t,1)}!function Iy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)Or(~s);else{const i=s,o=n[++r],d=n[++r];qt(o,i),d(2,t[i])}}}finally{Or(-1)}}(e,t);const d=e.components;null!==d&&function Py(e,t){for(let n=0;n<t.length;n++)qy(e,t[n])}(t,d);const m=e.viewQuery;if(null!==m&&Ku(2,m,r),o){const b=e.viewCheckHooks;null!==b&&Pr(t,b)}else{const b=e.viewHooks;null!==b&&vn(t,b,2),Js(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,Os(t[3],-1))}finally{Dr()}}}function Ry(e,t,n,r){const s=t[10],o=Ns(t);try{!o&&s.begin&&s.begin(),o&&Bo(e,t,r),Wi(e,t,n,r)}finally{!o&&s.end&&s.end()}}function xd(e,t,n,r,s){const i=Pn(),o=2&r;try{Or(-1),o&&t.length>20&&_d(e,t,20,!1),n(r,s)}finally{Or(i)}}function Rd(e,t,n){if(Ss(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}}function Uu(e,t,n){!xi()||(function Hy(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||yi(n,t),br(r,t);const o=n.initialInputs;for(let d=s;d<i;d++){const m=e.data[d],b=qn(m);b&&Wy(t,n,m);const N=W(t,e,d,n);br(N,t),null!==o&&Yy(0,d-s,N,m,0,o),b&&(In(n.index,t)[8]=N)}}(e,t,n,dn(n,t)),128==(128&n.flags)&&function Vy(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,d=function At(){return xt.lFrame.currentDirectiveIndex}();try{Or(o);for(let m=r;m<s;m++){const b=e.data[m],N=t[m];Ht(m),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&Ud(b,N)}}finally{Or(-1),Ht(d)}}(e,t,n))}function Hu(e,t,n=dn){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],d=-1===o?n(t,e):e[o];e[s++]=d}}}function Nd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=va(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function va(e,t,n,r,s,i,o,d,m,b){const N=20+r,z=N+s,ne=function Ny(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:zt);return n}(N,z),fe="function"==typeof b?b():b;return ne[1]={type:e,blueprint:ne,template:n,queries:null,viewQuery:d,declTNode:t,data:ne.slice().fill(null,N),bindingStartIndex:N,expandoStartIndex:z,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 i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:m,consts:fe,incompleteFirstPass:!1}}function Ld(e,t,n,r){const s=Wd(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&Yd(e).push(r,s.length-1))}function kd(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Hr(e,t,n,r,s,i,o,d){const m=dn(t,n);let N,b=t.inputs;!d&&null!=b&&(N=b[r])?(Qd(e,n,N,r,s),or(t)&&function ky(e,t){const n=In(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function Ly(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=o?o(s,t.value||"",r):s,We(i)?i.setProperty(m,r,s):Fi(r)||(m.setProperty?m.setProperty(r,s):m[r]=s))}function Vu(e,t,n,r){let s=!1;if(xi()){const i=function $y(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];md(n,o.selectors,!1)&&(s||(s=[]),_i(yi(n,t),e,o.type),qn(o)?(Hd(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,Vd(n,e.data.length,i.length);for(let N=0;N<i.length;N++){const z=i[N];z.providersResolver&&z.providersResolver(z)}let d=!1,m=!1,b=zi(e,t,i.length,null);for(let N=0;N<i.length;N++){const z=i[N];n.mergedAttrs=ti(n.mergedAttrs,z.hostAttrs),$d(e,n,t,b,z),zy(b,z,o),null!==z.contentQueries&&(n.flags|=8),(null!==z.hostBindings||null!==z.hostAttrs||0!==z.hostVars)&&(n.flags|=128);const ne=z.type.prototype;!d&&(ne.ngOnChanges||ne.ngOnInit||ne.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),d=!0),!m&&(ne.ngOnChanges||ne.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),m=!0),b++}!function Fy(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,o=[];let d=null,m=null;for(let b=t.directiveStart;b<r;b++){const N=s[b],z=N.inputs,ne=null===i||gd(t)?null:Ky(z,i);o.push(ne),d=kd(z,b,d),m=kd(N.outputs,b,m)}null!==d&&(d.hasOwnProperty("class")&&(t.flags|=16),d.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=d,t.outputs=m}(e,n)}o&&function Gy(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new Ge(-301,!1);r.push(t[s],i)}}}(n,r,o)}return n.mergedAttrs=ti(n.mergedAttrs,n.attrs),s}function Bd(e,t,n,r,s,i){const o=i.hostBindings;if(o){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const m=~t.index;(function Uy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=m&&d.push(m),d.push(r,s,o)}}function Ud(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Hd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function zy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;qn(t)&&(n[""]=e)}}function Vd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $d(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=jr(s.type)),o=new bn(i,qn(s),null);e.blueprint[r]=o,n[r]=o,Bd(e,t,0,r,zi(e,n,s.hostVars,zt),s)}function Wy(e,t,n){const r=dn(t,e),s=Nd(n),i=e[10],o=_a(e,jo(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function Es(e,t,n,r,s,i){const o=dn(e,t);!function $u(e,t,n,r,s,i,o){if(null==i)We(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const d=null==o?Ve(i):o(i,r||"",s);We(e)?e.setAttribute(t,s,d,n):n?t.setAttributeNS(n,s,d):t.setAttribute(s,d)}}(t[11],o,i,e.value,n,r,s)}function Yy(e,t,n,r,s,i){const o=i[t];if(null!==o){const d=r.setInput;for(let m=0;m<o.length;){const b=o[m++],N=o[m++],z=o[m++];null!==d?r.setInput(n,z,b,N):n[N]=z}}}function Ky(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Gd(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function qy(e,t){const n=In(t,e);if(Yr(n)){const r=n[1];80&n[2]?Wi(r,n,r.template,n[8]):n[5]>0&&Gu(n)}}function Gu(e){for(let r=vu(e);null!==r;r=_u(r))for(let s=10;s<r.length;s++){const i=r[s];if(1024&i[2]){const o=i[1];Wi(o,i,o.template,i[8])}else i[5]>0&&Gu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=In(n[r],e);Yr(s)&&s[5]>0&&Gu(s)}}function Jy(e,t){const n=In(t,e),r=n[1];(function Xy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Bo(r,n,n[8])}function _a(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function zu(e){for(;e;){e[2]|=64;const t=Lo(e);if(as(e)&&!t)return e;e=t}return null}function zd(e){!function Wu(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=hu(n),s=r[1];Ry(s,r,s.template,n)}}(e[8])}function Ku(e,t,n){jn(0),t(e,n)}const tv=(()=>Promise.resolve(null))();function Wd(e){return e[7]||(e[7]=[])}function Yd(e){return e.cleanup||(e.cleanup=[])}function Zd(e,t){const n=e[9],r=n?n.get(da,null):null;r&&r.handleError(t)}function Qd(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],d=n[i++],m=t[o],b=e.data[o];null!==b.setInput?b.setInput(m,s,r,d):m[d]=s}}function Vs(e,t,n){const r=Vt(t,e);!function Jc(e,t,n){We(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Ea(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let o=0;o<t.length;o++){const d=t[o];"number"==typeof d?i=d:1==i?s=Ie(s,d):2==i&&(r=Ie(r,d+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const Zu=new $n("INJECTOR",-1);class qd{get(t,n=So){if(n===So){const r=new Error(`NullInjectorError: No provider for ${ae(t)}!`);throw r.name="NullInjectorError",r}return n}}const Qu=new $n("Set Injector scope."),Uo={},sv={};let qu;function Jd(){return void 0===qu&&(qu=new qd),qu}function Xd(e,t=null,n=null,r){const s=ef(e,t,n,r);return s._resolveInjectorDefTypes(),s}function ef(e,t=null,n=null,r){return new iv(e,n,t||Jd(),r)}class iv{constructor(t,n,r,s=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&ms(n,d=>this.processProvider(d,t,n)),ms([t],d=>this.processInjectorType(d,[],i)),this.records.set(Zu,Yi(void 0,this));const o=this.records.get(Qu);this.scope=null!=o?o.value:null,this.source=s||("object"==typeof t?null:ae(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=So,r=k.Default){this.assertNotDestroyed();const s=Dc(this),i=pe(void 0);try{if(!(r&k.SkipSelf)){let d=this.records.get(t);if(void 0===d){const m=function hv(e){return"function"==typeof e||"object"==typeof e&&e instanceof $n}(t)&&Hn(t);d=m&&this.injectableDefInScope(m)?Yi(Ju(t),Uo):null,this.records.set(t,d)}if(null!=d)return this.hydrate(t,d)}return(r&k.Self?Jd():this.parent).get(t,n=r&k.Optional&&n===So?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[ia]=o[ia]||[]).unshift(ae(t)),s)throw o;return function Ug(e,t,n,r){const s=e[ia];throw t[Ec]&&s.unshift(t[Ec]),e.message=function Hg(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=ae(t);if(Array.isArray(t))s=t.map(ae).join(" -> ");else if("object"==typeof t){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let d=t[o];i.push(o+":"+("string"==typeof d?JSON.stringify(d):ae(d)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Og,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[ia]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{pe(i),Dc(s)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,s)=>t.push(ae(s))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ge(205,!1)}processInjectorType(t,n,r){if(!(t=Oe(t)))return!1;let s=gr(t);const i=null==s&&t.ngModule||void 0,o=void 0===i?t:i,d=-1!==r.indexOf(o);if(void 0!==i&&(s=gr(i)),null==s)return!1;if(null!=s.imports&&!d){let N;r.push(o);try{ms(s.imports,z=>{this.processInjectorType(z,n,r)&&(void 0===N&&(N=[]),N.push(z))})}finally{}if(void 0!==N)for(let z=0;z<N.length;z++){const{ngModule:ne,providers:fe}=N[z];ms(fe,Se=>this.processProvider(Se,ne,fe||ft))}}this.injectorDefTypes.add(o);const m=jr(o)||(()=>new o);this.records.set(o,Yi(m,Uo));const b=s.providers;if(null!=b&&!d){const N=t;ms(b,z=>this.processProvider(z,N,b))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let s=Ki(t=Oe(t))?t:Oe(t&&t.provide);const i=function av(e,t,n){return nf(e)?Yi(void 0,e.useValue):Yi(tf(e),Uo)}(t);if(Ki(t)||!0!==t.multi)this.records.get(s);else{let o=this.records.get(s);o||(o=Yi(void 0,Uo,!0),o.factory=()=>ru(o.multi),this.records.set(s,o)),s=t,o.multi.push(t)}this.records.set(s,i)}hydrate(t,n){return n.value===Uo&&(n.value=sv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function fv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Oe(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Ju(e){const t=Hn(e),n=null!==t?t.factory:jr(e);if(null!==n)return n;if(e instanceof $n)throw new Ge(204,!1);if(e instanceof Function)return function ov(e){const t=e.length;if(t>0)throw function To(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new Ge(204,!1);const n=function Rn(e){const t=e&&(e[ee]||e[Z]);if(t){const n=function Vn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ge(204,!1)}function tf(e,t,n){let r;if(Ki(e)){const s=Oe(e);return jr(s)||Ju(s)}if(nf(e))r=()=>Oe(e.useValue);else if(function lv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ru(e.deps||[]));else if(function uv(e){return!(!e||!e.useExisting)}(e))r=()=>pr(Oe(e.useExisting));else{const s=Oe(e&&(e.useClass||e.provide));if(!function dv(e){return!!e.deps}(e))return jr(s)||Ju(s);r=()=>new s(...ru(e.deps))}return r}function Yi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nf(e){return null!==e&&"object"==typeof e&&Lg in e}function Ki(e){return"function"==typeof e}let Ds=(()=>{class e{static create(n,r){if(Array.isArray(n))return Xd({name:""},r,n,"");{const s=n.name??"";return Xd({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=So,e.NULL=new qd,e.\u0275prov=Zt({token:e,providedIn:"any",factory:()=>pr(Zu)}),e.__NG_ELEMENT_ID__=-1,e})();function Dv(e,t){Xn(hu(e)[1],Tn())}function tl(e){let t=function gf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(qn(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ge(903,"");s=t.\u0275dir}if(s){if(n){r.push(s);const o=e;o.inputs=nl(e.inputs),o.declaredInputs=nl(e.declaredInputs),o.outputs=nl(e.outputs);const d=s.hostBindings;d&&Tv(e,d);const m=s.viewQuery,b=s.contentQueries;if(m&&Cv(e,m),b&&wv(e,b),ie(e.inputs,s.inputs),ie(e.declaredInputs,s.declaredInputs),ie(e.outputs,s.outputs),qn(s)&&s.data.animation){const N=e.data;N.animation=(N.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let o=0;o<i.length;o++){const d=i[o];d&&d.ngInherit&&d(e),d===tl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function bv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=ti(s.hostAttrs,n=ti(n,s.hostAttrs))}}(r)}function nl(e){return e===Wt?{}:e===ft?[]:e}function Cv(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function wv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function Tv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let Da=null;function Zi(){if(!Da){const e=je.Symbol;if(e&&e.iterator)Da=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Da=r)}}}return Da}function Ho(e){return!!rl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Zi()in e)}function rl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Cr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function sl(e,t,n,r){const s=ke();return Cr(s,we(),t)&&(tn(),Es(Sn(),s,e,t,n,r)),sl}function qi(e,t,n,r){return Cr(e,we(),n)?t+Ve(n)+r:zt}function Ji(e,t,n,r,s,i){const d=function bi(e,t,n,r){const s=Cr(e,t,n);return Cr(e,t+1,r)||s}(e,function q(){return xt.lFrame.bindingIndex}(),n,s);return qe(2),d?t+Ve(n)+r+Ve(s)+i:zt}function Tf(e,t,n,r,s,i,o,d){const m=ke(),b=tn(),N=e+20,z=b.firstCreatePass?function Rv(e,t,n,r,s,i,o,d,m){const b=t.consts,N=Gi(t,e,4,o||null,Sr(b,d));Vu(t,n,N,Sr(b,m)),Xn(t,N);const z=N.tViews=va(2,N,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b);return null!==t.queries&&(t.queries.template(t,N),z.queries=t.queries.embeddedTView(N)),N}(N,b,m,t,n,r,s,i,o):b.data[N];_r(z,!1);const ne=m[11].createComment("");ha(b,m,ne,z),br(ne,m),_a(m,m[N]=Gd(ne,m,ne,z)),kr(z)&&Uu(b,m,z),null!=o&&Hu(m,z,d)}function $o(e,t=k.Default){const n=ke();return null===n?pr(e,t):l(Tn(),n,Oe(e),t)}function Lf(){throw new Error("invalid")}function ll(e,t,n){const r=ke();return Cr(r,we(),t)&&Hr(tn(),Sn(),r,e,t,r[11],n,!1),ll}function cl(e,t,n,r,s){const o=s?"class":"style";Qd(e,n,t.inputs[o],o,r)}function wa(e,t,n,r){const s=ke(),i=tn(),o=20+e,d=s[11],m=s[o]=Du(d,t,function Bn(){return xt.lFrame.currentNamespace}()),b=i.firstCreatePass?function e_(e,t,n,r,s,i,o){const d=t.consts,b=Gi(t,e,2,s,Sr(d,i));return Vu(t,n,b,Sr(d,o)),null!==b.attrs&&Ea(b,b.attrs,!1),null!==b.mergedAttrs&&Ea(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(o,i,s,0,t,n,r):i.data[o];_r(b,!0);const N=b.mergedAttrs;null!==N&&Oi(d,m,N);const z=b.classes;null!==z&&Au(d,m,z);const ne=b.styles;return null!==ne&&fd(d,m,ne),64!=(64&b.flags)&&ha(i,s,m,b),0===function pi(){return xt.lFrame.elementDepthCount}()&&br(m,s),function po(){xt.lFrame.elementDepthCount++}(),kr(b)&&(Uu(i,s,b),Rd(i,b,s)),null!==r&&Hu(s,b),wa}function Ta(){let e=Tn();S()?a():(e=e.parent,_r(e,!1));const t=e;!function go(){xt.lFrame.elementDepthCount--}();const n=tn();return n.firstCreatePass&&(Xn(n,e),Ss(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ei(e){return 0!=(16&e.flags)}(t)&&cl(n,t,ke(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function za(e){return 0!=(32&e.flags)}(t)&&cl(n,t,ke(),t.stylesWithoutHost,!1),Ta}function dl(e,t,n,r){return wa(e,t,n,r),Ta(),dl}function Sa(e,t,n){const r=ke(),s=tn(),i=e+20,o=s.firstCreatePass?function t_(e,t,n,r,s){const i=t.consts,o=Sr(i,r),d=Gi(t,e,8,"ng-container",o);return null!==o&&Ea(d,o,!0),Vu(t,n,d,Sr(i,s)),null!==t.queries&&t.queries.elementStart(t,d),d}(i,s,r,t,n):s.data[i];_r(o,!0);const d=r[i]=r[11].createComment("");return ha(s,r,d,o),br(d,r),kr(o)&&(Uu(s,r,o),Rd(s,o,r)),null!=n&&Hu(r,o),Sa}function Aa(){let e=Tn();const t=tn();return S()?a():(e=e.parent,_r(e,!1)),t.firstCreatePass&&(Xn(t,e),Ss(e)&&t.queries.elementEnd(e)),Aa}function jf(){return ke()}function fl(e){return!!e&&"function"==typeof e.then}function Bf(e){return!!e&&"function"==typeof e.subscribe}const Uf=Bf;function hl(e,t,n,r){const s=ke(),i=tn(),o=Tn();return function Vf(e,t,n,r,s,i,o,d){const m=kr(r),N=e.firstCreatePass&&Yd(e),z=t[8],ne=Wd(t);let fe=!0;if(3&r.type||d){const et=dn(r,t),mt=d?d(et):et,Ne=ne.length,It=d?an=>d(jt(an[r.index])):r.index;if(We(n)){let an=null;if(!d&&m&&(an=function n_(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const o=s[i];if(o===n&&s[i+1]===r){const d=t[7],m=s[i+2];return d.length>m?d[m]:null}"string"==typeof o&&(i+=2)}return null}(e,t,s,r.index)),null!==an)(an.__ngLastListenerFn__||an).__ngNextListenerFn__=i,an.__ngLastListenerFn__=i,fe=!1;else{i=pl(r,t,z,i,!1);const En=n.listen(mt,s,i);ne.push(i,En),N&&N.push(s,It,Ne,Ne+1)}}else i=pl(r,t,z,i,!0),mt.addEventListener(s,i,o),ne.push(i),N&&N.push(s,It,Ne,o)}else i=pl(r,t,z,i,!1);const Se=r.outputs;let ze;if(fe&&null!==Se&&(ze=Se[s])){const et=ze.length;if(et)for(let mt=0;mt<et;mt+=2){const Vr=t[ze[mt]][ze[mt+1]].subscribe(i),Ti=ne.length;ne.push(i,Vr),N&&N.push(s,r.index,Ti,-(Ti+1))}}}(i,s,s[11],o,e,t,!!n,r),hl}function $f(e,t,n,r){try{return!1!==n(r)}catch(s){return Zd(e,s),!1}}function pl(e,t,n,r,s){return function i(o){if(o===Function)return r;const d=2&e.flags?In(e.index,t):t;0==(32&t[2])&&zu(d);let m=$f(t,0,r,o),b=i.__ngNextListenerFn__;for(;b;)m=$f(t,0,b,o)&&m,b=b.__ngNextListenerFn__;return s&&!1===m&&(o.preventDefault(),o.returnValue=!1),m}}function Gf(e=1){return function Ni(e){return(xt.lFrame.contextLView=function Ls(e,t){for(;e>0;)t=t[15],e--;return t}(e,xt.lFrame.contextLView))[8]}(e)}function Ma(e,t,n,r,s){const i=ke(),o=qi(i,t,n,r);return o!==zt&&Hr(tn(),Sn(),i,e,o,i[11],s,!1),Ma}function eh(e,t,n,r,s){const i=e[n+1],o=null===t;let d=r?ns(i):Hs(i),m=!1;for(;0!==d&&(!1===m||o);){const N=e[d+1];u_(e[d],t)&&(m=!0,e[d+1]=r?Pu(N):Mu(N)),d=r?ns(N):Hs(N)}m&&(e[n+1]=r?Mu(i):Pu(i))}function u_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ji(e,t)>=0}const sr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function th(e){return e.substring(sr.key,sr.keyEnd)}function nh(e,t){const n=sr.textEnd;return n===t?-1:(t=sr.keyEnd=function f_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,sr.key=t,n),oo(e,t,n))}function oo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function gl(e,t){return function ss(e,t,n,r){const s=ke(),i=tn(),o=qe(2);i.firstUpdatePass&&ch(i,e,o,r),t!==zt&&Cr(s,o,t)&&fh(i,i.data[Pn()],s,s[11],e,s[o+1]=function b_(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ae(Us(e)))),e}(t,n),r,o)}(e,t,null,!0),gl}function uh(e){!function is(e,t,n,r){const s=tn(),i=qe(2);s.firstUpdatePass&&ch(s,null,i,r);const o=ke();if(n!==zt&&Cr(o,i,n)){const d=s.data[Pn()];if(ph(d,r)&&!lh(s,i)){let m=r?d.classesWithoutHost:d.stylesWithoutHost;null!==m&&(n=Ie(m,n||"")),cl(s,d,o,n,r)}else!function D_(e,t,n,r,s,i,o,d){s===zt&&(s=ft);let m=0,b=0,N=0<s.length?s[0]:null,z=0<i.length?i[0]:null;for(;null!==N||null!==z;){const ne=m<s.length?s[m+1]:void 0,fe=b<i.length?i[b+1]:void 0;let ze,Se=null;N===z?(m+=2,b+=2,ne!==fe&&(Se=z,ze=fe)):null===z||null!==N&&N<z?(m+=2,Se=N):(b+=2,Se=z,ze=fe),null!==Se&&fh(e,t,n,r,Se,ze,o,d),N=m<s.length?s[m]:null,z=b<i.length?i[b]:null}}(s,d,o,o[11],o[i+1],o[i+1]=function E_(e,t,n){if(null==n||""===n)return ft;const r=[],s=Us(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}(Ur,ws,e,!0)}function ws(e,t){for(let n=function c_(e){return function sh(e){sr.key=0,sr.keyEnd=0,sr.value=0,sr.valueEnd=0,sr.textEnd=e.length}(e),nh(e,oo(e,0,sr.textEnd))}(t);n>=0;n=nh(t,n))Ur(e,th(t),!0)}function lh(e,t){return t>=e.expandoStartIndex}function ch(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Pn()],o=lh(e,n);ph(i,r)&&null===t&&!o&&(t=!1),t=function m_(e,t,n,r){const s=function ln(e){const t=xt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Go(n=ml(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=ml(s,e,t,n,r),null===i){let m=function y_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Hs(r))return e[ns(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=ml(null,e,t,m[1],r),m=Go(m,t.attrs,r),function v_(e,t,n,r){e[ns(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else i=function __(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Go(r,e[i].hostAttrs,n);return Go(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function o_(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,d=ns(o),m=Hs(o);e[r]=n;let N,b=!1;if(Array.isArray(n)){const z=n;N=z[1],(null===N||ji(z,N)>0)&&(b=!0)}else N=n;if(s)if(0!==m){const ne=ns(e[d+1]);e[r+1]=ga(ne,d),0!==ne&&(e[ne+1]=Iu(e[ne+1],r)),e[d+1]=function _y(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=ga(d,0),0!==d&&(e[d+1]=Iu(e[d+1],r)),d=r;else e[r+1]=ga(m,0),0===d?d=r:e[m+1]=Iu(e[m+1],r),m=r;b&&(e[r+1]=Mu(e[r+1])),eh(e,N,r,!0),eh(e,N,r,!1),function a_(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ji(i,t)>=0&&(n[r+1]=Pu(n[r+1]))}(t,N,e,r,i),o=ga(d,m),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}function ml(e,t,n,r,s){let i=null;const o=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<o&&(i=t[d],r=Go(r,i.hostAttrs,s),i!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function Go(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ur(e,o,!!n||t[++i]))}return void 0===e?null:e}function fh(e,t,n,r,s,i,o,d){if(!(3&t.type))return;const m=e.data,b=m[d+1];Ia(function bd(e){return 1==(1&e)}(b)?hh(m,t,n,s,Hs(b),o):void 0)||(Ia(i)||function Dd(e){return 2==(2&e)}(b)&&(i=hh(m,null,n,s,d,o)),function ay(e,t,n,r,s){const i=We(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:_s.DashCase;if(null==s)i?e.removeStyle(n,r,o):n.style.removeProperty(r);else{const d="string"==typeof s&&s.endsWith("!important");d&&(s=s.slice(0,-10),o|=_s.Important),i?e.setStyle(n,r,s,o):n.style.setProperty(r,s,d?"important":"")}}}(r,o,Vt(Pn(),n),s,i))}function hh(e,t,n,r,s,i){const o=null===t;let d;for(;s>0;){const m=e[s],b=Array.isArray(m),N=b?m[1]:m,z=null===N;let ne=n[s+1];ne===zt&&(ne=z?ft:void 0);let fe=z?eu(ne,r):N===r?ne:void 0;if(b&&!Ia(fe)&&(fe=eu(m,r)),Ia(fe)&&(d=fe,o))return d;const Se=e[s+1];s=o?ns(Se):Hs(Se)}if(null!==t){let m=i?t.residualClasses:t.residualStyles;null!=m&&(d=eu(m,r))}return d}function Ia(e){return void 0!==e}function ph(e,t){return 0!=(e.flags&(t?16:32))}function gh(e,t=""){const n=ke(),r=tn(),s=e+20,i=r.firstCreatePass?Gi(r,s,1,t,null):r.data[s],o=n[s]=function Eu(e,t){return We(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ha(r,n,o,i),_r(i,!1)}function yl(e){return Pa("",e,""),yl}function Pa(e,t,n){const r=ke(),s=qi(r,e,t,n);return s!==zt&&Vs(r,Pn(),s),Pa}function vl(e,t,n,r,s){const i=ke(),o=Ji(i,e,t,n,r,s);return o!==zt&&Vs(i,Pn(),o),vl}const Ci=void 0;var V_=["en",[["a","p"],["AM","PM"],Ci],[["AM","PM"],Ci,Ci],[["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"]],Ci,[["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"]],Ci,[["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}",Ci,"{1} 'at' {0}",Ci],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function H_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ao={};function _l(e){const t=function $_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Fh(t);if(n)return n;const r=t.split("-")[0];if(n=Fh(r),n)return n;if("en"===r)return V_;throw new Error(`Missing locale data for the locale "${e}".`)}function Oh(e){return _l(e)[Ot.PluralCase]}function Fh(e){return e in ao||(ao[e]=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e]),ao[e]}var Ot=(()=>((Ot=Ot||{})[Ot.LocaleId=0]="LocaleId",Ot[Ot.DayPeriodsFormat=1]="DayPeriodsFormat",Ot[Ot.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ot[Ot.DaysFormat=3]="DaysFormat",Ot[Ot.DaysStandalone=4]="DaysStandalone",Ot[Ot.MonthsFormat=5]="MonthsFormat",Ot[Ot.MonthsStandalone=6]="MonthsStandalone",Ot[Ot.Eras=7]="Eras",Ot[Ot.FirstDayOfWeek=8]="FirstDayOfWeek",Ot[Ot.WeekendRange=9]="WeekendRange",Ot[Ot.DateFormat=10]="DateFormat",Ot[Ot.TimeFormat=11]="TimeFormat",Ot[Ot.DateTimeFormat=12]="DateTimeFormat",Ot[Ot.NumberSymbols=13]="NumberSymbols",Ot[Ot.NumberFormats=14]="NumberFormats",Ot[Ot.CurrencyCode=15]="CurrencyCode",Ot[Ot.CurrencySymbol=16]="CurrencySymbol",Ot[Ot.CurrencyName=17]="CurrencyName",Ot[Ot.Currencies=18]="Currencies",Ot[Ot.Directionality=19]="Directionality",Ot[Ot.PluralCase=20]="PluralCase",Ot[Ot.ExtraData=21]="ExtraData",Ot))();const xa="en-US";let Lh=xa;function bl(e,t,n,r,s){if(e=Oe(e),Array.isArray(e))for(let i=0;i<e.length;i++)bl(e[i],t,n,r,s);else{const i=tn(),o=ke();let d=Ki(e)?e:Oe(e.provide),m=tf(e);const b=Tn(),N=1048575&b.providerIndexes,z=b.directiveStart,ne=b.providerIndexes>>20;if(Ki(e)||!e.multi){const fe=new bn(m,s,$o),Se=wl(d,t,s?N:N+ne,z);-1===Se?(_i(yi(b,o),i,d),Cl(i,e,t.length),t.push(d),b.directiveStart++,b.directiveEnd++,s&&(b.providerIndexes+=1048576),n.push(fe),o.push(fe)):(n[Se]=fe,o[Se]=fe)}else{const fe=wl(d,t,N+ne,z),Se=wl(d,t,N,N+ne),ze=fe>=0&&n[fe],et=Se>=0&&n[Se];if(s&&!et||!s&&!ze){_i(yi(b,o),i,d);const mt=function HE(e,t,n,r,s){const i=new bn(e,n,$o);return i.multi=[],i.index=t,i.componentProviders=0,op(i,s,r&&!n),i}(s?UE:BE,n.length,s,r,m);!s&&et&&(n[Se].providerFactory=mt),Cl(i,e,t.length,0),t.push(d),b.directiveStart++,b.directiveEnd++,s&&(b.providerIndexes+=1048576),n.push(mt),o.push(mt)}else Cl(i,e,fe>-1?fe:Se,op(n[s?Se:fe],m,!s&&r));!s&&r&&et&&n[Se].componentProviders++}}}function Cl(e,t,n,r){const s=Ki(t),i=function cv(e){return!!e.useClass}(t);if(s||i){const m=(i?Oe(t.useClass):t).prototype.ngOnDestroy;if(m){const b=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const N=b.indexOf(n);-1===N?b.push(n,[r,m]):b[N+1].push(r,m)}else b.push(n,m)}}}function op(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function wl(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function BE(e,t,n,r){return Tl(this.multi,[])}function UE(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const o=this.providerFactory.componentProviders,d=W(n,n[1],this.providerFactory.index,r);i=d.slice(0,o),Tl(s,i);for(let m=o;m<d.length;m++)i.push(d[m])}else i=[],Tl(s,i);return i}function Tl(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ap(e,t=[]){return n=>{n.providersResolver=(r,s)=>function jE(e,t,n){const r=tn();if(r.firstCreatePass){const s=qn(e);bl(n,r.data,r.blueprint,s,!0),bl(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class up{}class GE{resolveComponentFactory(t){throw function $E(e){const t=Error(`No component factory found for ${ae(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let La=(()=>{class e{}return e.NULL=new GE,e})();function zE(){return lo(Tn(),ke())}function lo(e,t){return new Zo(dn(e,t))}let Zo=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=zE,e})();function WE(e){return e instanceof Zo?e.nativeElement:e}class cp{}let YE=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ZE(){const e=ke(),n=In(Tn().index,e);return function KE(e){return e[11]}(vr(n)?n:e)}(),e})(),QE=(()=>{class e{}return e.\u0275prov=Zt({token:e,providedIn:"root",factory:()=>null}),e})();class dp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const qE=new dp("13.3.11"),Sl={};function ka(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(jt(i)),yn(i))for(let d=10;d<i.length;d++){const m=i[d],b=m[1].firstChild;null!==b&&ka(m[1],m,b,r)}const o=n.type;if(8&o)ka(e,t,n.child,r);else if(32&o){const d=yu(n,t);let m;for(;m=d();)r.push(m)}else if(16&o){const d=ld(t,n);if(Array.isArray(d))r.push(...d);else{const m=Lo(t[16]);ka(m[1],m,d,r,!0)}}n=s?n.projectionNext:n.next}return r}class Qo{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return ka(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(yn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(bu(t,r),ra(n,r))}this._attachedToViewContainer=!1}ed(this._lView[1],this._lView)}onDestroy(t){Ld(this._lView[1],this._lView,null,t)}markForCheck(){zu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Yu(e,t,n){const r=t[10];r.begin&&r.begin();try{Wi(e,t,e.template,n)}catch(s){throw Zd(t,s),s}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ge(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function qm(e,t){ko(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ge(902,"");this._appRef=t}}class JE extends Qo{constructor(t){super(t),this._view=t}detectChanges(){zd(this._view)}checkNoChanges(){}get context(){return null}}class fp extends La{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ht(t);return new Al(n,this.ngModule)}}function hp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Al extends up{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function yy(e){return e.map(my).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return hp(this.componentDef.inputs)}get outputs(){return hp(this.componentDef.outputs)}create(t,n,r,s){const i=(s=s||this.ngModule)?function eD(e,t){return{get:(n,r,s)=>{const i=e.get(n,Sl,s);return i!==Sl||r===Sl?i:t.get(n,r,s)}}}(t,s.injector):t,o=i.get(cp,hn),d=i.get(QE,null),m=o.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",N=r?function Fd(e,t,n){if(We(e))return e.selectRootElement(t,n===Tt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(m,r,this.componentDef.encapsulation):Du(o.createRenderer(null,this.componentDef),b,function XE(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?_:null}(b)),z=this.componentDef.onPush?576:528,ne=function pf(e,t){return{components:[],scheduler:e||$m,clean:tv,playerHandler:t||null,flags:0}}(),fe=va(0,null,null,1,0,null,null,null,null,null),Se=jo(null,fe,ne,z,null,null,o,m,d,i);let ze,et;Kr(Se);try{const mt=function ff(e,t,n,r,s,i){const o=n[1];n[20]=e;const m=Gi(o,20,2,"#host",null),b=m.mergedAttrs=t.hostAttrs;null!==b&&(Ea(m,b,!0),null!==e&&(Oi(s,e,b),null!==m.classes&&Au(s,e,m.classes),null!==m.styles&&fd(s,e,m.styles)));const N=r.createRenderer(e,t),z=jo(n,Nd(t),null,t.onPush?64:16,n[20],m,r,N,i||null,null);return o.firstCreatePass&&(_i(yi(m,n),o,t.type),Hd(o,m),Vd(m,n.length,1)),_a(n,z),n[20]=z}(N,this.componentDef,Se,o,m);if(N)if(r)Oi(m,N,["ng-version",qE.full]);else{const{attrs:Ne,classes:It}=function vy(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!ts(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Ne&&Oi(m,N,Ne),It&&It.length>0&&Au(m,N,It.join(" "))}if(et=Jn(fe,20),void 0!==n){const Ne=et.projection=[];for(let It=0;It<this.ngContentSelectors.length;It++){const an=n[It];Ne.push(null!=an?Array.from(an):null)}}ze=function hf(e,t,n,r,s){const i=n[1],o=function By(e,t,n){const r=Tn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$d(e,r,t,zi(e,t,1,null),n));const s=W(t,e,r.directiveStart,r);br(s,t);const i=dn(r,t);return i&&br(i,t),s}(i,n,t);if(r.components.push(o),e[8]=o,s&&s.forEach(m=>m(o,t)),t.contentQueries){const m=Tn();t.contentQueries(1,o,m.directiveStart)}const d=Tn();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Or(d.index),Bd(n[1],d,0,d.directiveStart,d.directiveEnd,t),Ud(t,o)),o}(mt,this.componentDef,Se,ne,[Dv]),Bo(fe,Se,null)}finally{Dr()}return new nD(this.componentType,ze,lo(et,Se),Se,et)}}class nD extends class VE{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new JE(s),this.componentType=t}get injector(){return new nn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class co{}class pp{}const fo=new Map;class yp extends co{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new fp(this);const r=be(t);this._bootstrapComponents=vs(r.bootstrap),this._r3Injector=ef(t,n,[{provide:co,useValue:this},{provide:La,useValue:this.componentFactoryResolver}],ae(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Ds.THROW_IF_NOT_FOUND,r=k.Default){return t===Ds||t===co||t===Zu?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ml extends pp{constructor(t){super(),this.moduleType=t,null!==be(t)&&function sD(e){const t=new Set;!function n(r){const s=be(r,!0),i=s.id;null!==i&&(function gp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ae(t)} vs ${ae(t.name)}`)}(i,fo.get(i),r),fo.set(i,r));const o=vs(s.imports);for(const d of o)t.has(d)||(t.add(d),n(d))}(e)}(t)}create(t){return new yp(this.moduleType,t)}}function vp(e,t,n,r){return function _p(e,t,n,r,s,i){const o=t+n;return Cr(e,o,s)?function bs(e,t,n){return e[t]=n}(e,o+1,i?r.call(i,s):r(s)):function qo(e,t){const n=e[t];return n===zt?void 0:n}(e,o+1)}(ke(),function Y(){const e=xt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function Il(e){return t=>{setTimeout(e,void 0,t)}}const Ts=class DD extends I.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,i=n||(()=>null),o=r;if(t&&"object"==typeof t){const m=t;s=m.next?.bind(m),i=m.error?.bind(m),o=m.complete?.bind(m)}this.__isAsync&&(i=Il(i),s&&(s=Il(s)),o&&(o=Il(o)));const d=super.subscribe({next:s,error:i,complete:o});return t instanceof R.w&&t.add(d),d}};function bD(){return this._results[Zi()]()}class Pl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Zi(),r=Pl.prototype;r[n]||(r[n]=bD)}get changes(){return this._changes||(this._changes=new Ts)}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){const r=this;r.dirty=!1;const s=qr(t);(this._changesDetected=!function Tg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Xo=(()=>{class e{}return e.__NG_ELEMENT_ID__=TD,e})();const CD=Xo,wD=class extends CD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=jo(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),Bo(n,r,t),new Qo(r)}};function TD(){return ja(Tn(),ke())}function ja(e,t){return 4&e.type?new wD(t,e,lo(e,t)):null}let Ba=(()=>{class e{}return e.__NG_ELEMENT_ID__=SD,e})();function SD(){return Sp(Tn(),ke())}const AD=Ba,wp=class extends AD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return lo(this._hostTNode,this._hostLView)}get injector(){return new nn(this._hostTNode,this._hostLView)}get parentInjector(){const t=ki(this._hostTNode,this._hostLView);if(ps(t)){const n=ni(t,this._hostLView),r=js(t);return new nn(n[1].data[r+8],n)}return new nn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Tp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const s=t.createEmbeddedView(n||{});return this.insert(s,r),s}createComponent(t,n,r,s,i){const o=t&&!function wo(e){return"function"==typeof e}(t);let d;if(o)d=n;else{const z=n||{};d=z.index,r=z.injector,s=z.projectableNodes,i=z.ngModuleRef}const m=o?t:new Al(ht(t)),b=r||this.parentInjector;if(!i&&null==m.ngModule){const ne=(o?b:this.parentInjector).get(co,null);ne&&(i=ne)}const N=m.create(b,s,void 0,i);return this.insert(N.hostView,d),N}insert(t,n){const r=t._lView,s=r[1];if(function Ks(e){return yn(e[3])}(r)){const N=this.indexOf(t);if(-1!==N)this.detach(N);else{const z=r[3],ne=new wp(z,z[6],z[3]);ne.detach(ne.indexOf(t))}}const i=this._adjustIndex(n),o=this._lContainer;!function Xm(e,t,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-10?(t[4]=n[s],gc(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function ey(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const d=t[19];null!==d&&d.insertView(e),t[2]|=128}(s,r,o,i);const d=Tu(i,o),m=r[11],b=fa(m,o[7]);return null!==b&&function Qm(e,t,n,r,s,i){r[0]=s,r[6]=t,ko(e,r,n,1,s,i)}(s,o[6],m,r,b,d),t.attachToViewContainerRef(),gc(xl(o),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Tp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=bu(this._lContainer,n);r&&(ra(xl(this._lContainer),n),ed(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=bu(this._lContainer,n);return r&&null!=ra(xl(this._lContainer),n)?new Qo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Tp(e){return e[8]}function xl(e){return e[8]||(e[8]=[])}function Sp(e,t){let n;const r=t[e.index];if(yn(r))n=r;else{let s;if(8&e.type)s=jt(r);else{const i=t[11];s=i.createComment("");const o=dn(e,t);Di(i,fa(i,o),s,function sy(e,t){return We(e)?e.nextSibling(t):t.nextSibling}(i,o),!1)}t[e.index]=n=Gd(r,t,s,e),_a(t,n)}return new wp(n,e,t)}class Rl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Rl(this.queryList)}setDirty(){this.queryList.setDirty()}}class Nl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let i=0;i<r;i++){const o=n.getByIndex(i);s.push(this.queries[o.indexInDeclarationView].clone())}return new Nl(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Fp(t,n).matches&&this.queries[n].setDirty()}}class Ap{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Ol{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 s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Ol(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 Fl{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 Fl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(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 s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,PD(n,i)),this.matchTNodeWithReadOption(t,n,L(n,t,i,!1,!1))}else r===Xo?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,L(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Zo||s===Ba||s===Xo&&4&n.type)this.addMatch(n.index,-2);else{const i=L(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function PD(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 RD(e,t,n,r){return-1===n?function xD(e,t){return 11&e.type?lo(e,t):4&e.type?ja(e,t):null}(t,e):-2===n?function ND(e,t,n){return n===Zo?lo(t,e):n===Xo?ja(t,e):n===Ba?Sp(t,e):void 0}(e,t,r):W(e,e[1],n,t)}function Mp(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,o=n.matches,d=[];for(let m=0;m<o.length;m+=2){const b=o[m];d.push(b<0?null:RD(t,i[b],o[m+1],n.metadata.read))}s.matches=d}return s.matches}function Ll(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=Mp(e,t,s,n);for(let d=0;d<i.length;d+=2){const m=i[d];if(m>0)r.push(o[d/2]);else{const b=i[d+1],N=t[-m];for(let z=10;z<N.length;z++){const ne=N[z];ne[17]===ne[3]&&Ll(ne[1],ne,b,r)}if(null!==N[9]){const z=N[9];for(let ne=0;ne<z.length;ne++){const fe=z[ne];Ll(fe[1],fe,b,r)}}}}}return r}function Ip(e){const t=ke(),n=tn(),r=kn();jn(r+1);const s=Fp(n,r);if(e.dirty&&Ns(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Ll(n,t,r,[]):Mp(n,t,s,r);e.reset(i,WE),e.notifyOnChanges()}return!0}return!1}function Pp(e,t,n){const r=tn();r.firstCreatePass&&(Op(r,new Ap(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Np(r,ke(),t)}function xp(e,t,n,r){const s=tn();if(s.firstCreatePass){const i=Tn();Op(s,new Ap(t,n,r),i.index),function FD(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Np(s,ke(),n)}function Rp(){return function OD(e,t){return e[19].queries[t].queryList}(ke(),kn())}function Np(e,t,n){const r=new Pl(4==(4&n));Ld(e,t,r,r.destroy),null===t[19]&&(t[19]=new Nl),t[19].queries.push(new Rl(r))}function Op(e,t,n){null===e.queries&&(e.queries=new Ol),e.queries.track(new Fl(t,n))}function Fp(e,t){return e.queries.getByIndex(t)}function Va(...e){}const Jp=new $n("Application Initializer");let Vl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Va,this.reject=Va,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const i=this.appInits[s]();if(fl(i))n.push(i);else if(Uf(i)){const o=new Promise((d,m)=>{i.subscribe({complete:d,error:m})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(pr(Jp,8))},e.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Xp=new $n("AppId",{providedIn:"root",factory:function eg(){return`${$l()}${$l()}${$l()}`}});function $l(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tg=new $n("Platform Initializer"),XD=new $n("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ng=new $n("appBootstrapListener");let e0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Gl=new $n("LocaleId",{providedIn:"root",factory:()=>jg(Gl,k.Optional|k.SkipSelf)||function t0(){return typeof $localize<"u"&&$localize.locale||xa}()}),n0=new $n("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class r0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let s0=(()=>{class e{compileModuleSync(n){return new Ml(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=vs(be(n).declarations).reduce((o,d)=>{const m=ht(d);return m&&o.push(new Al(m)),o},[]);return new r0(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const a0=(()=>Promise.resolve(0))();function zl(e){typeof Zone>"u"?a0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class os{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ts(!1),this.onMicrotaskEmpty=new Ts(!1),this.onStable=new Ts(!1),this.onError=new Ts(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function u0(){let e=je.requestAnimationFrame,t=je.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function d0(e){const t=()=>{!function c0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(je,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yl(e),e.isCheckStableRunning=!0,Wl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,d)=>{try{return rg(e),n.invokeTask(s,i,o,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),sg(e)}},onInvoke:(n,r,s,i,o,d,m)=>{try{return rg(e),n.invoke(s,i,o,d,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),sg(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Yl(e),Wl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!os.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(os.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+s,t,l0,Va,Va);try{return i.runTask(o,n,r)}finally{i.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const l0={};function Wl(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 Yl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function rg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sg(e){e._nesting--,Wl(e)}class f0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ts,this.onMicrotaskEmpty=new Ts,this.onStable=new Ts,this.onError=new Ts}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,s){return t.apply(n,r)}}let ig=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{os.assertNotInAngularZone(),zl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())zl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,s){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:s})}whenStable(n,r,s){if(s&&!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,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(pr(os))},e.\u0275prov=Zt({token:e,factory:e.\u0275fac}),e})(),h0=(()=>{class e{constructor(){this._applications=new Map,Kl.addToWindow(this)}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 Kl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class p0{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function g0(e){Kl=e}let Kl=new p0,ta=null;const og=new $n("AllowMultipleToken"),ag=new $n("PlatformOnDestroy");class v0{constructor(t,n){this.name=t,this.token=n}}function ug(e,t,n=[]){const r=`Platform: ${t}`,s=new $n(r);return(i=[])=>{let o=Zl();if(!o||o.injector.get(og,!1)){const d=[...n,...i,{provide:s,useValue:!0}];e?e(d):function _0(e){if(ta&&!ta.get(og,!1))throw new Ge(400,"");ta=e;const t=e.get(lg),n=e.get(tg,null);n&&n.forEach(r=>r())}(function D0(e=[],t){return Ds.create({name:t,providers:[{provide:Qu,useValue:"platform"},{provide:ag,useValue:()=>ta=null},...e]})}(d,r))}return function E0(e){const t=Zl();if(!t)throw new Ge(401,"");return t}()}}function Zl(){return ta?.get(lg)??null}let lg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const d=function b0(e,t){let n;return n="noop"===e?new f0:("zone.js"===e?void 0:e)||new os({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),m=[{provide:os,useValue:d}];return d.run(()=>{const b=Ds.create({providers:m,parent:this.injector,name:n.moduleType.name}),N=n.create(b),z=N.injector.get(da,null);if(!z)throw new Ge(402,"");return d.runOutsideAngular(()=>{const ne=d.onError.subscribe({next:fe=>{z.handleError(fe)}});N.onDestroy(()=>{ql(this._modules,N),ne.unsubscribe()})}),function C0(e,t,n){try{const r=n();return fl(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(z,d,()=>{const ne=N.injector.get(Vl);return ne.runInitializers(),ne.donePromise.then(()=>(function Y_(e){Ft(e,"Expected localeId to be defined"),"string"==typeof e&&(Lh=e.toLowerCase().replace(/_/g,"-"))}(N.injector.get(Gl,xa)||xa),this._moduleDoBootstrap(N),N))})})}bootstrapModule(n,r=[]){const s=cg({},r);return function m0(e,t,n){const r=new Ml(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(Ql);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new Ge(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ge(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r()),this._injector.get(ag,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(pr(Ds))},e.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function cg(e,t){return Array.isArray(t)?t.reduce(cg,e):{...e,...t}}let Ql=(()=>{class e{constructor(n,r,s,i){this._zone=n,this._injector=r,this._exceptionHandler=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new f.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),d=new f.y(m=>{let b;this._zone.runOutsideAngular(()=>{b=this._zone.onStable.subscribe(()=>{os.assertNotInAngularZone(),zl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const N=this._zone.onUnstable.subscribe(()=>{os.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{b.unsubscribe(),N.unsubscribe()}});this.isStable=function C(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,p.K)(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof f.y?e[0]:(0,A.J)(t)((0,T.n)(e,n))}(o,d.pipe(function J(){return e=>(0,F.x)()(function B(e,t){return function(r){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new M(s,t));const i=Object.create(r,x.N);return i.source=r,i.subjectFactory=s,i}}($)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Ge(405,"");let s;s=n instanceof up?n:this._injector.get(La).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function y0(e){return e.isBoundToModule}(s)?void 0:this._injector.get(co),d=s.create(Ds.NULL,[],r||s.selector,i),m=d.location.nativeElement,b=d.injector.get(ig,null),N=b&&d.injector.get(h0);return b&&N&&N.registerApplication(m,b),d.onDestroy(()=>{this.detachView(d.hostView),ql(this.components,d),N&&N.unregisterApplication(m)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new Ge(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ql(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ng,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(pr(os),pr(Ds),pr(da),pr(Vl))},e.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ql(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let fg=!0;function T0(){fg=!1}let S0=(()=>{class e{}return e.__NG_ELEMENT_ID__=A0,e})();function A0(e){return function M0(e,t,n){if(or(e)&&!n){const r=In(e.index,t);return new Qo(r,r)}return 47&e.type?new Qo(t[16],t):null}(Tn(),ke(),16==(16&e))}class yg{constructor(){}supports(t){return Ho(t)}create(t){return new O0(t)}}const N0=(e,t)=>t;class O0{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||N0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const o=!r||n&&n.currentIndex<_g(r,s,i)?n:r,d=_g(o,s,i),m=o.currentIndex;if(o===r)s--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)s++;else{i||(i=[]);const b=d-s,N=m-s;if(b!=N){for(let ne=0;ne<b;ne++){const fe=ne<i.length?i[ne]:i[ne]=0,Se=fe+ne;N<=Se&&Se<b&&(i[ne]=fe+1)}i[o.previousIndex]=N-b}}d!==m&&t(o,d,m)}}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=[]),!Ho(t))throw new Ge(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)i=t[d],o=this._trackByFn(d,i),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,i,o,d)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,o,d),r=!0),n=n._next}else s=0,function xv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Zi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,d=>{o=this._trackByFn(s,d),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,d,o,s)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,o,s),r=!0),n=n._next,s++}),this.length=s;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,s){let i;return null===t?i=this._itTail:(i=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,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new F0(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),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 s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new vg),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 vg),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 F0{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 L0{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 vg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new L0,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.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 _g(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Eg{constructor(){}supports(t){return t instanceof Map||rl(t)}create(){return new k0}}class k0{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||rl(t)))throw new Ge(900,"")}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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}}),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 s=this._records.get(t);this._maybeAddToChanges(s,n);const i=s._prev,o=s._next;return i&&(i._next=o),o&&(o._prev=i),s._next=null,s._prev=null,s}const r=new j0(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 j0{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 Dg(){return new nc([new yg])}let nc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Dg()),deps:[[e,new Po,new Io]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new Ge(901,"")}}return e.\u0275prov=Zt({token:e,providedIn:"root",factory:Dg}),e})();function bg(){return new rc([new Eg])}let rc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||bg()),deps:[[e,new Po,new Io]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Ge(901,"")}}return e.\u0275prov=Zt({token:e,providedIn:"root",factory:bg}),e})();const H0=ug(null,"core",[]);let V0=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(pr(Ql))},e.\u0275mod=Xe({type:e}),e.\u0275inj=wn({}),e})()},8746:(j,w,h)=>{"use strict";h.d(w,{PW:()=>Fs});var f=h(6738),p=h(1481),A=h(7340);const T=!1;function I(S){return new f.vHH(3e3,T)}function An(){return typeof window<"u"&&typeof window.document<"u"}function Cn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ft(S){switch(S.length){case 0:return new A.ZN;case 1:return S[0];default:return new A.ZE(S)}}function kt(S,a,c,y,P={},V={}){const Y=[],q=[];let he=-1,we=null;if(y.forEach(qe=>{const _t=qe.offset,Bt=_t==he,qt=Bt&&we||{};Object.keys(qe).forEach(At=>{let Ht=At,ln=qe[At];if("offset"!==At)switch(Ht=a.normalizePropertyName(Ht,Y),ln){case A.k1:ln=P[At];break;case A.l3:ln=V[At];break;default:ln=a.normalizeStyleValue(At,Ht,ln,Y)}qt[Ht]=ln}),Bt||q.push(qt),we=qt,he=_t}),Y.length)throw function Fe(S){return new f.vHH(3502,T)}();return q}function dr(S,a,c,y){switch(a){case"start":S.onStart(()=>y(c&&wr(c,"start",S)));break;case"done":S.onDone(()=>y(c&&wr(c,"done",S)));break;case"destroy":S.onDestroy(()=>y(c&&wr(c,"destroy",S)))}}function wr(S,a,c){const V=fr(S.element,S.triggerName,S.fromState,S.toState,a||S.phaseName,c.totalTime??S.totalTime,!!c.disabled),Y=S._data;return null!=Y&&(V._data=Y),V}function fr(S,a,c,y,P="",V=0,Y){return{element:S,triggerName:a,fromState:c,toState:y,phaseName:P,totalTime:V,disabled:!!Y}}function Zt(S,a,c){let y;return S instanceof Map?(y=S.get(a),y||S.set(a,y=c)):(y=S[a],y||(y=S[a]=c)),y}function Zn(S){const a=S.indexOf(":");return[S.substring(1,a),S.substr(a+1)]}let wn=(S,a)=>!1,Hn=(S,a,c)=>[],fn=null;function Rn(S){const a=S.parentNode||S.host;return a===fn?null:a}(Cn()||typeof Element<"u")&&(An()?(fn=(()=>document.documentElement)(),wn=(S,a)=>{for(;a;){if(a===S)return!0;a=Rn(a)}return!1}):wn=(S,a)=>S.contains(a),Hn=(S,a,c)=>{if(c)return Array.from(S.querySelectorAll(a));const y=S.querySelector(a);return y?[y]:[]});let ee=null,ce=!1;function Z(S){ee||(ee=function H(){return typeof document<"u"?document.body:null}()||{},ce=!!ee.style&&"WebkitAppearance"in ee.style);let a=!0;return ee.style&&!function gr(S){return"ebkit"==S.substring(1,6)}(S)&&(a=S in ee.style,!a&&ce&&(a="Webkit"+S.charAt(0).toUpperCase()+S.substr(1)in ee.style)),a}const k=wn,oe=Hn;let pe=(()=>{class S{validateStyleProperty(c){return Z(c)}matchesElement(c,y){return!1}containsElement(c,y){return k(c,y)}getParentElement(c){return Rn(c)}query(c,y,P){return oe(c,y,P)}computeStyle(c,y,P){return P||""}animate(c,y,P,V,Y,q=[],he){return new A.ZN(P,V)}}return S.\u0275fac=function(c){return new(c||S)},S.\u0275prov=f.Yz7({token:S,factory:S.\u0275fac}),S})(),Ae=(()=>{class S{}return S.NOOP=new pe,S})();const bt="ng-enter",pt="ng-leave",Tt="ng-trigger",Ze=".ng-trigger",Ut="ng-animating",yt=".ng-animating";function He(S){if("number"==typeof S)return S;const a=S.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:je(parseFloat(a[1]),a[2])}function je(S,a){return"s"===a?1e3*S:S}function sn(S,a,c){return S.hasOwnProperty("duration")?S:function Yt(S,a,c){let P,V=0,Y="";if("string"==typeof S){const q=S.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===q)return a.push(I()),{duration:0,delay:0,easing:""};P=je(parseFloat(q[1]),q[2]);const he=q[3];null!=he&&(V=je(parseFloat(he),q[4]));const we=q[5];we&&(Y=we)}else P=S;if(!c){let q=!1,he=a.length;P<0&&(a.push(function R(){return new f.vHH(3100,T)}()),q=!0),V<0&&(a.push(function x(){return new f.vHH(3101,T)}()),q=!0),q&&a.splice(he,0,I())}return{duration:P,delay:V,easing:Y}}(S,a,c)}function Wt(S,a={}){return Object.keys(S).forEach(c=>{a[c]=S[c]}),a}function rt(S,a,c={}){if(a)for(let y in S)c[y]=S[y];else Wt(S,c);return c}function Qt(S,a,c){return c?a+":"+c+";":""}function Ye(S){let a="";for(let c=0;c<S.style.length;c++){const y=S.style.item(c);a+=Qt(0,y,S.style.getPropertyValue(y))}for(const c in S.style)S.style.hasOwnProperty(c)&&!c.startsWith("_")&&(a+=Qt(0,Qe(c),S.style[c]));S.setAttribute("style",a)}function St(S,a,c){S.style&&(Object.keys(a).forEach(y=>{const P=Xe(y);c&&!c.hasOwnProperty(y)&&(c[y]=S.style[P]),S.style[P]=a[y]}),Cn()&&Ye(S))}function lt(S,a){S.style&&(Object.keys(a).forEach(c=>{const y=Xe(c);S.style[y]=""}),Cn()&&Ye(S))}function cn(S){return Array.isArray(S)?1==S.length?S[0]:(0,A.vP)(S):S}const K=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(S){let a=[];if("string"==typeof S){let c;for(;c=K.exec(S);)a.push(c[1]);K.lastIndex=0}return a}function ue(S,a,c){const y=S.toString(),P=y.replace(K,(V,Y)=>{let q=a[Y];return a.hasOwnProperty(Y)||(c.push(function M(S){return new f.vHH(3003,T)}()),q=""),q.toString()});return P==y?S:P}function Te(S){const a=[];let c=S.next();for(;!c.done;)a.push(c.value),c=S.next();return a}const tt=/-+([a-z0-9])/g;function Xe(S){return S.replace(tt,(...a)=>a[1].toUpperCase())}function Qe(S){return S.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ut(S,a,c){switch(a.type){case 7:return S.visitTrigger(a,c);case 0:return S.visitState(a,c);case 1:return S.visitTransition(a,c);case 2:return S.visitSequence(a,c);case 3:return S.visitGroup(a,c);case 4:return S.visitAnimate(a,c);case 5:return S.visitKeyframes(a,c);case 6:return S.visitStyle(a,c);case 8:return S.visitReference(a,c);case 9:return S.visitAnimateChild(a,c);case 10:return S.visitAnimateRef(a,c);case 11:return S.visitQuery(a,c);case 12:return S.visitStagger(a,c);default:throw function F(S){return new f.vHH(3004,T)}()}}function ht(S,a){return window.getComputedStyle(S)[a]}function Mt(S,a){const c=[];return"string"==typeof S?S.split(/\s*,\s*/).forEach(y=>function gt(S,a,c){if(":"==S[0]){const he=function Dt(S,a){switch(S){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,y)=>parseFloat(y)>parseFloat(c);case":decrement":return(c,y)=>parseFloat(y)<parseFloat(c);default:return a.push(function at(S){return new f.vHH(3016,T)}()),"* => *"}}(S,c);if("function"==typeof he)return void a.push(he);S=he}const y=S.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return c.push(function Ve(S){return new f.vHH(3015,T)}()),a;const P=y[1],V=y[2],Y=y[3];a.push(Nn(P,Y));"<"==V[0]&&!("*"==P&&"*"==Y)&&a.push(Nn(Y,P))}(y,c,a)):c.push(S),c}const vt=new Set(["true","1"]),Kt=new Set(["false","0"]);function Nn(S,a){const c=vt.has(S)||Kt.has(S),y=vt.has(a)||Kt.has(a);return(P,V)=>{let Y="*"==S||S==P,q="*"==a||a==V;return!Y&&c&&"boolean"==typeof P&&(Y=P?vt.has(S):Kt.has(S)),!q&&y&&"boolean"==typeof V&&(q=V?vt.has(a):Kt.has(a)),Y&&q}}const mr=new RegExp("s*:selfs*,?","g");function Qn(S,a,c,y){return new ir(S).build(a,c,y)}class ir{constructor(a){this._driver=a}build(a,c,y){const P=new yr(c);this._resetContextStyleTimingState(P);const V=ut(this,cn(a),P);return P.unsupportedCSSPropertiesFound.size&&P.unsupportedCSSPropertiesFound.keys(),V}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,c){let y=c.queryCount=0,P=c.depCount=0;const V=[],Y=[];return"@"==a.name.charAt(0)&&c.errors.push(function J(){return new f.vHH(3006,T)}()),a.definitions.forEach(q=>{if(this._resetContextStyleTimingState(c),0==q.type){const he=q,we=he.name;we.toString().split(/\s*,\s*/).forEach(qe=>{he.name=qe,V.push(this.visitState(he,c))}),he.name=we}else if(1==q.type){const he=this.visitTransition(q,c);y+=he.queryCount,P+=he.depCount,Y.push(he)}else c.errors.push(function Q(){return new f.vHH(3007,T)}())}),{type:7,name:a.name,states:V,transitions:Y,queryCount:y,depCount:P,options:null}}visitState(a,c){const y=this.visitStyle(a.styles,c),P=a.options&&a.options.params||null;if(y.containsDynamicStyles){const V=new Set,Y=P||{};y.styles.forEach(q=>{if(en(q)){const he=q;Object.keys(he).forEach(we=>{G(he[we]).forEach(qe=>{Y.hasOwnProperty(qe)||V.add(qe)})})}}),V.size&&(Te(V.values()),c.errors.push(function ie(S,a){return new f.vHH(3008,T)}()))}return{type:0,name:a.name,style:y,options:P?{params:P}:null}}visitTransition(a,c){c.queryCount=0,c.depCount=0;const y=ut(this,cn(a.animation),c);return{type:1,matchers:Mt(a.expr,c.errors),animation:y,queryCount:c.queryCount,depCount:c.depCount,options:zn(a.options)}}visitSequence(a,c){return{type:2,steps:a.steps.map(y=>ut(this,y,c)),options:zn(a.options)}}visitGroup(a,c){const y=c.currentTime;let P=0;const V=a.steps.map(Y=>{c.currentTime=y;const q=ut(this,Y,c);return P=Math.max(P,c.currentTime),q});return c.currentTime=P,{type:3,steps:V,options:zn(a.options)}}visitAnimate(a,c){const y=function $r(S,a){if(S.hasOwnProperty("duration"))return S;if("number"==typeof S)return Wn(sn(S,a).duration,0,"");const c=S;if(c.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=Wn(0,0,"");return V.dynamic=!0,V.strValue=c,V}const P=sn(c,a);return Wn(P.duration,P.delay,P.easing)}(a.timings,c.errors);c.currentAnimateTimings=y;let P,V=a.styles?a.styles:(0,A.oB)({});if(5==V.type)P=this.visitKeyframes(V,c);else{let Y=a.styles,q=!1;if(!Y){q=!0;const we={};y.easing&&(we.easing=y.easing),Y=(0,A.oB)(we)}c.currentTime+=y.duration+y.delay;const he=this.visitStyle(Y,c);he.isEmptyStep=q,P=he}return c.currentAnimateTimings=null,{type:4,timings:y,style:P,options:null}}visitStyle(a,c){const y=this._makeStyleAst(a,c);return this._validateStyleAst(y,c),y}_makeStyleAst(a,c){const y=[];Array.isArray(a.styles)?a.styles.forEach(Y=>{"string"==typeof Y?Y==A.l3?y.push(Y):c.errors.push(function ae(S){return new f.vHH(3002,T)}()):y.push(Y)}):y.push(a.styles);let P=!1,V=null;return y.forEach(Y=>{if(en(Y)){const q=Y,he=q.easing;if(he&&(V=he,delete q.easing),!P)for(let we in q)if(q[we].toString().indexOf("{{")>=0){P=!0;break}}}),{type:6,styles:y,easing:V,offset:a.offset,containsDynamicStyles:P,options:null}}_validateStyleAst(a,c){const y=c.currentAnimateTimings;let P=c.currentTime,V=c.currentTime;y&&V>0&&(V-=y.duration+y.delay),a.styles.forEach(Y=>{"string"!=typeof Y&&Object.keys(Y).forEach(q=>{if(!this._driver.validateStyleProperty(q))return delete Y[q],void c.unsupportedCSSPropertiesFound.add(q);const he=c.collectedStyles[c.currentQuerySelector],we=he[q];let qe=!0;we&&(V!=P&&V>=we.startTime&&P<=we.endTime&&(c.errors.push(function ot(S,a,c,y,P){return new f.vHH(3010,T)}()),qe=!1),V=we.startTime),qe&&(he[q]={startTime:V,endTime:P}),c.options&&function ge(S,a,c){const y=a.params||{},P=G(S);P.length&&P.forEach(V=>{y.hasOwnProperty(V)||c.push(function B(S){return new f.vHH(3001,T)}())})}(Y[q],c.options,c.errors)})})}visitKeyframes(a,c){const y={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function xe(){return new f.vHH(3011,T)}()),y;let V=0;const Y=[];let q=!1,he=!1,we=0;const qe=a.steps.map(kn=>{const jn=this._makeStyleAst(kn,c);let tr=null!=jn.offset?jn.offset:function Mn(S){if("string"==typeof S)return null;let a=null;if(Array.isArray(S))S.forEach(c=>{if(en(c)&&c.hasOwnProperty("offset")){const y=c;a=parseFloat(y.offset),delete y.offset}});else if(en(S)&&S.hasOwnProperty("offset")){const c=S;a=parseFloat(c.offset),delete c.offset}return a}(jn.styles),Un=0;return null!=tr&&(V++,Un=jn.offset=tr),he=he||Un<0||Un>1,q=q||Un<we,we=Un,Y.push(Un),jn});he&&c.errors.push(function Oe(){return new f.vHH(3012,T)}()),q&&c.errors.push(function $e(){return new f.vHH(3200,T)}());const _t=a.steps.length;let Bt=0;V>0&&V<_t?c.errors.push(function De(){return new f.vHH(3202,T)}()):0==V&&(Bt=1/(_t-1));const qt=_t-1,At=c.currentTime,Ht=c.currentAnimateTimings,ln=Ht.duration;return qe.forEach((kn,jn)=>{const tr=Bt>0?jn==qt?1:Bt*jn:Y[jn],Un=tr*ln;c.currentTime=At+Ht.delay+Un,Ht.duration=Un,this._validateStyleAst(kn,c),kn.offset=tr,y.styles.push(kn)}),y}visitReference(a,c){return{type:8,animation:ut(this,cn(a.animation),c),options:zn(a.options)}}visitAnimateChild(a,c){return c.depCount++,{type:9,options:zn(a.options)}}visitAnimateRef(a,c){return{type:10,animation:this.visitReference(a.animation,c),options:zn(a.options)}}visitQuery(a,c){const y=c.currentQuerySelector,P=a.options||{};c.queryCount++,c.currentQuery=a;const[V,Y]=function On(S){const a=!!S.split(/\s*,\s*/).find(c=>":self"==c);return a&&(S=S.replace(mr,"")),S=S.replace(/@\*/g,Ze).replace(/@\w+/g,c=>Ze+"-"+c.substr(1)).replace(/:animating/g,yt),[S,a]}(a.selector);c.currentQuerySelector=y.length?y+" "+V:V,Zt(c.collectedStyles,c.currentQuerySelector,{});const q=ut(this,cn(a.animation),c);return c.currentQuery=null,c.currentQuerySelector=y,{type:11,selector:V,limit:P.limit||0,optional:!!P.optional,includeSelf:Y,animation:q,originalSelector:a.selector,options:zn(a.options)}}visitStagger(a,c){c.currentQuery||c.errors.push(function Ge(){return new f.vHH(3013,T)}());const y="full"===a.timings?{duration:0,delay:0,easing:"full"}:sn(a.timings,c.errors,!0);return{type:12,animation:ut(this,cn(a.animation),c),timings:y,options:null}}}class yr{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function en(S){return!Array.isArray(S)&&"object"==typeof S}function zn(S){return S?(S=Wt(S)).params&&(S.params=function hr(S){return S?Wt(S):null}(S.params)):S={},S}function Wn(S,a,c){return{duration:S,delay:a,easing:c}}function er(S,a,c,y,P,V,Y=null,q=!1){return{type:1,element:S,keyframes:a,preStyleProps:c,postStyleProps:y,duration:P,delay:V,totalTime:P+V,easing:Y,subTimeline:q}}class Nr{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,c){let y=this._map.get(a);y||this._map.set(a,y=[]),y.push(...c)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const mn=new RegExp(":enter","g"),vr=new RegExp(":leave","g");function yn(S,a,c,y,P,V={},Y={},q,he,we=[]){return(new Ss).buildKeyframes(S,a,c,y,P,V,Y,q,he,we)}class Ss{buildKeyframes(a,c,y,P,V,Y,q,he,we,qe=[]){we=we||new Nr;const _t=new kr(a,c,we,P,V,qe,[]);_t.options=he,_t.currentTimeline.setStyles([Y],null,_t.errors,he),ut(this,y,_t);const Bt=_t.timelines.filter(qt=>qt.containsAnimation());if(Object.keys(q).length){let qt;for(let At=Bt.length-1;At>=0;At--){const Ht=Bt[At];if(Ht.element===c){qt=Ht;break}}qt&&!qt.allowOnlyTimelineStyles()&&qt.setStyles([q],null,_t.errors,he)}return Bt.length?Bt.map(qt=>qt.buildKeyframes()):[er(c,[],[],[],0,0,"",!1)]}visitTrigger(a,c){}visitState(a,c){}visitTransition(a,c){}visitAnimateChild(a,c){const y=c.subInstructions.get(c.element);if(y){const P=c.createSubContext(a.options),V=c.currentTimeline.currentTime,Y=this._visitSubInstructions(y,P,P.options);V!=Y&&c.transformIntoNewTimeline(Y)}c.previousNode=a}visitAnimateRef(a,c){const y=c.createSubContext(a.options);y.transformIntoNewTimeline(),this.visitReference(a.animation,y),c.transformIntoNewTimeline(y.currentTimeline.currentTime),c.previousNode=a}_visitSubInstructions(a,c,y){let V=c.currentTimeline.currentTime;const Y=null!=y.duration?He(y.duration):null,q=null!=y.delay?He(y.delay):null;return 0!==Y&&a.forEach(he=>{const we=c.appendInstructionToTimeline(he,Y,q);V=Math.max(V,we.duration+we.delay)}),V}visitReference(a,c){c.updateOptions(a.options,!0),ut(this,a.animation,c),c.previousNode=a}visitSequence(a,c){const y=c.subContextCount;let P=c;const V=a.options;if(V&&(V.params||V.delay)&&(P=c.createSubContext(V),P.transformIntoNewTimeline(),null!=V.delay)){6==P.previousNode.type&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=or);const Y=He(V.delay);P.delayNextStep(Y)}a.steps.length&&(a.steps.forEach(Y=>ut(this,Y,P)),P.currentTimeline.applyStylesToKeyframe(),P.subContextCount>y&&P.transformIntoNewTimeline()),c.previousNode=a}visitGroup(a,c){const y=[];let P=c.currentTimeline.currentTime;const V=a.options&&a.options.delay?He(a.options.delay):0;a.steps.forEach(Y=>{const q=c.createSubContext(a.options);V&&q.delayNextStep(V),ut(this,Y,q),P=Math.max(P,q.currentTimeline.currentTime),y.push(q.currentTimeline)}),y.forEach(Y=>c.currentTimeline.mergeTimelineCollectedStyles(Y)),c.transformIntoNewTimeline(P),c.previousNode=a}_visitTiming(a,c){if(a.dynamic){const y=a.strValue;return sn(c.params?ue(y,c.params,c.errors):y,c.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,c){const y=c.currentAnimateTimings=this._visitTiming(a.timings,c),P=c.currentTimeline;y.delay&&(c.incrementTime(y.delay),P.snapshotCurrentStyles());const V=a.style;5==V.type?this.visitKeyframes(V,c):(c.incrementTime(y.duration),this.visitStyle(V,c),P.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=a}visitStyle(a,c){const y=c.currentTimeline,P=c.currentAnimateTimings;!P&&y.getCurrentStyleProperties().length&&y.forwardFrame();const V=P&&P.easing||a.easing;a.isEmptyStep?y.applyEmptyStep(V):y.setStyles(a.styles,V,c.errors,c.options),c.previousNode=a}visitKeyframes(a,c){const y=c.currentAnimateTimings,P=c.currentTimeline.duration,V=y.duration,q=c.createSubContext().currentTimeline;q.easing=y.easing,a.styles.forEach(he=>{q.forwardTime((he.offset||0)*V),q.setStyles(he.styles,he.easing,c.errors,c.options),q.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(q),c.transformIntoNewTimeline(P+V),c.previousNode=a}visitQuery(a,c){const y=c.currentTimeline.currentTime,P=a.options||{},V=P.delay?He(P.delay):0;V&&(6===c.previousNode.type||0==y&&c.currentTimeline.getCurrentStyleProperties().length)&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=or);let Y=y;const q=c.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!P.optional,c.errors);c.currentQueryTotal=q.length;let he=null;q.forEach((we,qe)=>{c.currentQueryIndex=qe;const _t=c.createSubContext(a.options,we);V&&_t.delayNextStep(V),we===c.element&&(he=_t.currentTimeline),ut(this,a.animation,_t),_t.currentTimeline.applyStylesToKeyframe(),Y=Math.max(Y,_t.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(Y),he&&(c.currentTimeline.mergeTimelineCollectedStyles(he),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=a}visitStagger(a,c){const y=c.parentContext,P=c.currentTimeline,V=a.timings,Y=Math.abs(V.duration),q=Y*(c.currentQueryTotal-1);let he=Y*c.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":he=q-he;break;case"full":he=y.currentStaggerTime}const qe=c.currentTimeline;he&&qe.delayNextStep(he);const _t=qe.currentTime;ut(this,a.animation,c),c.previousNode=a,y.currentStaggerTime=P.currentTime-_t+(P.startTime-y.currentTimeline.startTime)}}const or={};class kr{constructor(a,c,y,P,V,Y,q,he){this._driver=a,this.element=c,this.subInstructions=y,this._enterClassName=P,this._leaveClassName=V,this.errors=Y,this.timelines=q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=or,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=he||new qn(this._driver,c,0),q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,c){if(!a)return;const y=a;let P=this.options;null!=y.duration&&(P.duration=He(y.duration)),null!=y.delay&&(P.delay=He(y.delay));const V=y.params;if(V){let Y=P.params;Y||(Y=this.options.params={}),Object.keys(V).forEach(q=>{(!c||!Y.hasOwnProperty(q))&&(Y[q]=ue(V[q],Y,this.errors))})}}_copyOptions(){const a={};if(this.options){const c=this.options.params;if(c){const y=a.params={};Object.keys(c).forEach(P=>{y[P]=c[P]})}}return a}createSubContext(a=null,c,y){const P=c||this.element,V=new kr(this._driver,P,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(P,y||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(a),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(a){return this.previousNode=or,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,c,y){const P={duration:c??a.duration,delay:this.currentTimeline.currentTime+(y??0)+a.delay,easing:""},V=new as(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,P,a.stretchStartingKeyframe);return this.timelines.push(V),P}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,c,y,P,V,Y){let q=[];if(P&&q.push(this.element),a.length>0){a=(a=a.replace(mn,"."+this._enterClassName)).replace(vr,"."+this._leaveClassName);let we=this._driver.query(this.element,a,1!=y);0!==y&&(we=y<0?we.slice(we.length+y,we.length):we.slice(0,y)),q.push(...we)}return!V&&0==q.length&&Y.push(function Gt(S){return new f.vHH(3014,T)}()),q}}class qn{constructor(a,c,y,P){this._driver=a,this.element=c,this.startTime=y,this._elementTimelineStylesLookup=P,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const c=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||c?(this.forwardTime(this.currentTime+a),c&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,c){return this.applyStylesToKeyframe(),new qn(this._driver,a,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,c){this._localTimelineStyles[a]=c,this._globalTimelineStyles[a]=c,this._styleSummary[a]={time:this.currentTime,value:c}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(c=>{this._backFill[c]=this._globalTimelineStyles[c]||A.l3,this._currentKeyframe[c]=A.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,c,y,P){c&&(this._previousKeyframe.easing=c);const V=P&&P.params||{},Y=function As(S,a){const c={};let y;return S.forEach(P=>{"*"===P?(y=y||Object.keys(a),y.forEach(V=>{c[V]=A.l3})):rt(P,!1,c)}),c}(a,this._globalTimelineStyles);Object.keys(Y).forEach(q=>{const he=ue(Y[q],V,y);this._pendingStyles[q]=he,this._localTimelineStyles.hasOwnProperty(q)||(this._backFill[q]=this._globalTimelineStyles.hasOwnProperty(q)?this._globalTimelineStyles[q]:A.l3),this._updateStyle(q,he)})}applyStylesToKeyframe(){const a=this._pendingStyles,c=Object.keys(a);0!=c.length&&(this._pendingStyles={},c.forEach(y=>{this._currentKeyframe[y]=a[y]}),Object.keys(this._localTimelineStyles).forEach(y=>{this._currentKeyframe.hasOwnProperty(y)||(this._currentKeyframe[y]=this._localTimelineStyles[y])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const c=this._localTimelineStyles[a];this._pendingStyles[a]=c,this._updateStyle(a,c)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let c in this._currentKeyframe)a.push(c);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(c=>{const y=this._styleSummary[c],P=a._styleSummary[c];(!y||P.time>y.time)&&this._updateStyle(c,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,c=new Set,y=1===this._keyframes.size&&0===this.duration;let P=[];this._keyframes.forEach((q,he)=>{const we=rt(q,!0);Object.keys(we).forEach(qe=>{const _t=we[qe];_t==A.k1?a.add(qe):_t==A.l3&&c.add(qe)}),y||(we.offset=he/this.duration),P.push(we)});const V=a.size?Te(a.values()):[],Y=c.size?Te(c.values()):[];if(y){const q=P[0],he=Wt(q);q.offset=0,he.offset=1,P=[q,he]}return er(this.element,P,V,Y,this.duration,this.startTime,this.easing,!1)}}class as extends qn{constructor(a,c,y,P,V,Y,q=!1){super(a,c,Y.delay),this.keyframes=y,this.preStyleProps=P,this.postStyleProps=V,this._stretchStartingKeyframe=q,this.timings={duration:Y.duration,delay:Y.delay,easing:Y.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:c,duration:y,easing:P}=this.timings;if(this._stretchStartingKeyframe&&c){const V=[],Y=y+c,q=c/Y,he=rt(a[0],!1);he.offset=0,V.push(he);const we=rt(a[0],!1);we.offset=$s(q),V.push(we);const qe=a.length-1;for(let _t=1;_t<=qe;_t++){let Bt=rt(a[_t],!1);Bt.offset=$s((c+Bt.offset*y)/Y),V.push(Bt)}y=Y,c=0,P="",a=V}return er(this.element,a,this.preStyleProps,this.postStyleProps,y,c,P,!0)}}function $s(S,a=3){const c=Math.pow(10,a-1);return Math.round(S*c)/c}class us{}class Si extends us{normalizePropertyName(a,c){return Xe(a)}normalizeStyleValue(a,c,y,P){let V="";const Y=y.toString().trim();if(ls[c]&&0!==y&&"0"!==y)if("number"==typeof y)V="px";else{const q=y.match(/^[+-]?[\d\.]+([a-z]*)$/);q&&0==q[1].length&&P.push(function $(S,a){return new f.vHH(3005,T)}())}return Y+V}}const ls=(()=>function Ai(S){const a={};return S.forEach(c=>a[c]=!0),a}("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".split(",")))();function ui(S,a,c,y,P,V,Y,q,he,we,qe,_t,Bt){return{type:0,element:S,triggerName:a,isRemovalTransition:P,fromState:c,fromStyles:V,toState:y,toStyles:Y,timelines:q,queriedElements:he,preStyleProps:we,postStyleProps:qe,totalTime:_t,errors:Bt}}const Gs={};class cs{constructor(a,c,y){this._triggerName=a,this.ast=c,this._stateStyles=y}match(a,c,y,P){return function ds(S,a,c,y,P){return S.some(V=>V(a,c,y,P))}(this.ast.matchers,a,c,y,P)}buildStyles(a,c,y){const P=this._stateStyles["*"],V=this._stateStyles[a],Y=P?P.buildStyles(c,y):{};return V?V.buildStyles(c,y):Y}build(a,c,y,P,V,Y,q,he,we,qe){const _t=[],Bt=this.ast.options&&this.ast.options.params||Gs,At=this.buildStyles(y,q&&q.params||Gs,_t),Ht=he&&he.params||Gs,ln=this.buildStyles(P,Ht,_t),kn=new Set,jn=new Map,tr=new Map,Un="void"===P,Kr={params:{...Bt,...Ht}},Er=qe?[]:yn(a,c,this.ast.animation,V,Y,At,ln,Kr,we,_t);let Yn=0;if(Er.forEach(Mr=>{Yn=Math.max(Mr.duration+Mr.delay,Yn)}),_t.length)return ui(c,this._triggerName,y,P,Un,At,ln,[],[],jn,tr,Yn,_t);Er.forEach(Mr=>{const Dr=Mr.element,Ni=Zt(jn,Dr,{});Mr.preStyleProps.forEach(Pn=>Ni[Pn]=!0);const Ls=Zt(tr,Dr,{});Mr.postStyleProps.forEach(Pn=>Ls[Pn]=!0),Dr!==c&&kn.add(Dr)});const Ar=Te(kn.values());return ui(c,this._triggerName,y,P,Un,At,ln,Er,Ar,jn,tr,Yn)}}class Ms{constructor(a,c,y){this.styles=a,this.defaultParams=c,this.normalizer=y}buildStyles(a,c){const y={},P=Wt(this.defaultParams);return Object.keys(a).forEach(V=>{const Y=a[V];null!=Y&&(P[V]=Y)}),this.styles.styles.forEach(V=>{if("string"!=typeof V){const Y=V;Object.keys(Y).forEach(q=>{let he=Y[q];he.length>1&&(he=ue(he,P,c));const we=this.normalizer.normalizePropertyName(q,c);he=this.normalizer.normalizeStyleValue(q,we,he,c),y[we]=he})}}),y}}class ci{constructor(a,c,y){this.name=a,this.ast=c,this._normalizer=y,this.transitionFactories=[],this.states={},c.states.forEach(P=>{this.states[P.name]=new Ms(P.style,P.options&&P.options.params||{},y)}),Xr(this.states,"true","1"),Xr(this.states,"false","0"),c.transitions.forEach(P=>{this.transitionFactories.push(new cs(a,P,this.states))}),this.fallbackTransition=function Mi(S,a,c){return new cs(S,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Y,q)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,c,y,P){return this.transitionFactories.find(Y=>Y.match(a,c,y,P))||null}matchStyles(a,c,y){return this.fallbackTransition.buildStyles(a,c,y)}}function Xr(S,a,c){S.hasOwnProperty(a)?S.hasOwnProperty(c)||(S[c]=S[a]):S.hasOwnProperty(c)&&(S[a]=S[c])}const fs=new Nr;class Is{constructor(a,c,y){this.bodyNode=a,this._driver=c,this._normalizer=y,this._animations={},this._playersById={},this.players=[]}register(a,c){const y=[],V=Qn(this._driver,c,y,[]);if(y.length)throw function le(S){return new f.vHH(3503,T)}();this._animations[a]=V}_buildPlayer(a,c,y){const P=a.element,V=kt(0,this._normalizer,0,a.keyframes,c,y);return this._driver.animate(P,V,a.duration,a.delay,a.easing,[],!0)}create(a,c,y={}){const P=[],V=this._animations[a];let Y;const q=new Map;if(V?(Y=yn(this._driver,c,V,bt,pt,{},{},y,fs,P),Y.forEach(qe=>{const _t=Zt(q,qe.element,{});qe.postStyleProps.forEach(Bt=>_t[Bt]=null)})):(P.push(function me(){return new f.vHH(3300,T)}()),Y=[]),P.length)throw function Ce(S){return new f.vHH(3504,T)}();q.forEach((qe,_t)=>{Object.keys(qe).forEach(Bt=>{qe[Bt]=this._driver.computeStyle(_t,Bt,A.l3)})});const we=Ft(Y.map(qe=>{const _t=q.get(qe.element);return this._buildPlayer(qe,{},_t)}));return this._playersById[a]=we,we.onDestroy(()=>this.destroy(a)),this.players.push(we),we}destroy(a){const c=this._getPlayer(a);c.destroy(),delete this._playersById[a];const y=this.players.indexOf(c);y>=0&&this.players.splice(y,1)}_getPlayer(a){const c=this._playersById[a];if(!c)throw function X(S){return new f.vHH(3301,T)}();return c}listen(a,c,y,P){const V=fr(c,"","","");return dr(this._getPlayer(a),y,V,P),()=>{}}command(a,c,y,P){if("register"==y)return void this.register(a,P[0]);if("create"==y)return void this.create(a,c,P[0]||{});const V=this._getPlayer(a);switch(y){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(P[0]));break;case"destroy":this.destroy(a)}}}const Ii="ng-animate-queued",zr="ng-animate-disabled",zs=[],Ws={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ar="__ng_removed";class Rs{constructor(a,c=""){this.namespaceId=c;const y=a&&a.hasOwnProperty("value");if(this.value=function _(S){return S??null}(y?a.value:a),y){const V=Wt(a);delete V.value,this.options=V}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const c=a.params;if(c){const y=this.options.params;Object.keys(c).forEach(P=>{null==y[P]&&(y[P]=c[P])})}}}const Br="void",ur=new Rs(Br);class Ys{constructor(a,c,y){this.id=a,this.hostElement=c,this._engine=y,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Re(c,this._hostClassName)}listen(a,c,y,P){if(!this._triggers.hasOwnProperty(c))throw function Pe(S,a){return new f.vHH(3302,T)}();if(null==y||0==y.length)throw function Pt(S){return new f.vHH(3303,T)}();if(!function E(S){return"start"==S||"done"==S}(y))throw function Lt(S,a){return new f.vHH(3400,T)}();const V=Zt(this._elementListeners,a,[]),Y={name:c,phase:y,callback:P};V.push(Y);const q=Zt(this._engine.statesByElement,a,{});return q.hasOwnProperty(c)||(Re(a,Tt),Re(a,Tt+"-"+c),q[c]=ur),()=>{this._engine.afterFlush(()=>{const he=V.indexOf(Y);he>=0&&V.splice(he,1),this._triggers[c]||delete q[c]})}}register(a,c){return!this._triggers[a]&&(this._triggers[a]=c,!0)}_getTrigger(a){const c=this._triggers[a];if(!c)throw function un(S){return new f.vHH(3401,T)}();return c}trigger(a,c,y,P=!0){const V=this._getTrigger(c),Y=new hs(this.id,c,a);let q=this._engine.statesByElement.get(a);q||(Re(a,Tt),Re(a,Tt+"-"+c),this._engine.statesByElement.set(a,q={}));let he=q[c];const we=new Rs(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&he&&we.absorbOptions(he.options),q[c]=we,he||(he=ur),we.value!==Br&&he.value===we.value){if(!function rn(S,a){const c=Object.keys(S),y=Object.keys(a);if(c.length!=y.length)return!1;for(let P=0;P<c.length;P++){const V=c[P];if(!a.hasOwnProperty(V)||S[V]!==a[V])return!1}return!0}(he.params,we.params)){const Ht=[],ln=V.matchStyles(he.value,he.params,Ht),kn=V.matchStyles(we.value,we.params,Ht);Ht.length?this._engine.reportError(Ht):this._engine.afterFlush(()=>{lt(a,ln),St(a,kn)})}return}const Bt=Zt(this._engine.playersByElement,a,[]);Bt.forEach(Ht=>{Ht.namespaceId==this.id&&Ht.triggerName==c&&Ht.queued&&Ht.destroy()});let qt=V.matchTransition(he.value,we.value,a,we.params),At=!1;if(!qt){if(!P)return;qt=V.fallbackTransition,At=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:qt,fromState:he,toState:we,player:Y,isFallbackTransition:At}),At||(Re(a,Ii),Y.onStart(()=>{We(a,Ii)})),Y.onDone(()=>{let Ht=this.players.indexOf(Y);Ht>=0&&this.players.splice(Ht,1);const ln=this._engine.playersByElement.get(a);if(ln){let kn=ln.indexOf(Y);kn>=0&&ln.splice(kn,1)}}),this.players.push(Y),Bt.push(Y),Y}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((c,y)=>{delete c[a]}),this._elementListeners.forEach((c,y)=>{this._elementListeners.set(y,c.filter(P=>P.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const c=this._engine.playersByElement.get(a);c&&(c.forEach(y=>y.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,c){const y=this._engine.driver.query(a,Ze,!0);y.forEach(P=>{if(P[ar])return;const V=this._engine.fetchNamespacesByElement(P);V.size?V.forEach(Y=>Y.triggerLeaveAnimation(P,c,!1,!0)):this.clearElementCache(P)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(P=>this.clearElementCache(P)))}triggerLeaveAnimation(a,c,y,P){const V=this._engine.statesByElement.get(a),Y=new Map;if(V){const q=[];if(Object.keys(V).forEach(he=>{if(Y.set(he,V[he].value),this._triggers[he]){const we=this.trigger(a,he,Br,P);we&&q.push(we)}}),q.length)return this._engine.markElementAsRemoved(this.id,a,!0,c,Y),y&&Ft(q).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const c=this._elementListeners.get(a),y=this._engine.statesByElement.get(a);if(c&&y){const P=new Set;c.forEach(V=>{const Y=V.name;if(P.has(Y))return;P.add(Y);const he=this._triggers[Y].fallbackTransition,we=y[Y]||ur,qe=new Rs(Br),_t=new hs(this.id,Y,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:Y,transition:he,fromState:we,toState:qe,player:_t,isFallbackTransition:!0})})}}removeNode(a,c){const y=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,c),this.triggerLeaveAnimation(a,c,!0))return;let P=!1;if(y.totalAnimations){const V=y.players.length?y.playersByQueriedElement.get(a):[];if(V&&V.length)P=!0;else{let Y=a;for(;Y=Y.parentNode;)if(y.statesByElement.get(Y)){P=!0;break}}}if(this.prepareLeaveAnimationListeners(a),P)y.markElementAsRemoved(this.id,a,!1,c);else{const V=a[ar];(!V||V===Ws)&&(y.afterFlush(()=>this.clearElementCache(a)),y.destroyInnerAnimations(a),y._onRemovalComplete(a,c))}}insertNode(a,c){Re(a,this._hostClassName)}drainQueuedTransitions(a){const c=[];return this._queue.forEach(y=>{const P=y.player;if(P.destroyed)return;const V=y.element,Y=this._elementListeners.get(V);Y&&Y.forEach(q=>{if(q.name==y.triggerName){const he=fr(V,y.triggerName,y.fromState.value,y.toState.value);he._data=a,dr(y.player,q.phase,he,q.callback)}}),P.markedForDestroy?this._engine.afterFlush(()=>{P.destroy()}):c.push(y)}),this._queue=[],c.sort((y,P)=>{const V=y.transition.ast.depCount,Y=P.transition.ast.depCount;return 0==V||0==Y?V-Y:this._engine.driver.containsElement(y.element,P.element)?1:-1})}destroy(a){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let c=!1;return this._elementListeners.has(a)&&(c=!0),c=!!this._queue.find(y=>y.element===a)||c,c}}class Fn{constructor(a,c,y){this.bodyNode=a,this.driver=c,this._normalizer=y,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=(P,V)=>{}}_onRemovalComplete(a,c){this.onRemovalComplete(a,c)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(c=>{c.players.forEach(y=>{y.queued&&a.push(y)})}),a}createNamespace(a,c){const y=new Ys(a,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(y,c):(this.newHostElements.set(c,y),this.collectEnterElement(c)),this._namespaceLookup[a]=y}_balanceNamespaceList(a,c){const y=this._namespaceList,P=this.namespacesByHostElement,V=y.length-1;if(V>=0){let Y=!1;if(void 0!==this.driver.getParentElement){let q=this.driver.getParentElement(c);for(;q;){const he=P.get(q);if(he){const we=y.indexOf(he);y.splice(we+1,0,a),Y=!0;break}q=this.driver.getParentElement(q)}}else for(let q=V;q>=0;q--)if(this.driver.containsElement(y[q].hostElement,c)){y.splice(q+1,0,a),Y=!0;break}Y||y.unshift(a)}else y.push(a);return P.set(c,a),a}register(a,c){let y=this._namespaceLookup[a];return y||(y=this.createNamespace(a,c)),y}registerTrigger(a,c,y){let P=this._namespaceLookup[a];P&&P.register(c,y)&&this.totalAnimations++}destroy(a,c){if(!a)return;const y=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[a];const P=this._namespaceList.indexOf(y);P>=0&&this._namespaceList.splice(P,1)}),this.afterFlushAnimationsDone(()=>y.destroy(c))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const c=new Set,y=this.statesByElement.get(a);if(y){const P=Object.keys(y);for(let V=0;V<P.length;V++){const Y=y[P[V]].namespaceId;if(Y){const q=this._fetchNamespace(Y);q&&c.add(q)}}}return c}trigger(a,c,y,P){if(O(c)){const V=this._fetchNamespace(a);if(V)return V.trigger(c,y,P),!0}return!1}insertNode(a,c,y,P){if(!O(c))return;const V=c[ar];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const Y=this.collectedLeaveElements.indexOf(c);Y>=0&&this.collectedLeaveElements.splice(Y,1)}if(a){const Y=this._fetchNamespace(a);Y&&Y.insertNode(c,y)}P&&this.collectEnterElement(c)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,c){c?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Re(a,zr)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),We(a,zr))}removeNode(a,c,y,P){if(O(c)){const V=a?this._fetchNamespace(a):null;if(V?V.removeNode(c,P):this.markElementAsRemoved(a,c,!1,P),y){const Y=this.namespacesByHostElement.get(c);Y&&Y.id!==a&&Y.removeNode(c,P)}}else this._onRemovalComplete(c,P)}markElementAsRemoved(a,c,y,P,V){this.collectedLeaveElements.push(c),c[ar]={namespaceId:a,setForRemoval:P,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:V}}listen(a,c,y,P,V){return O(c)?this._fetchNamespace(a).listen(c,y,P,V):()=>{}}_buildInstruction(a,c,y,P,V){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,y,P,a.fromState.options,a.toState.options,c,V)}destroyInnerAnimations(a){let c=this.driver.query(a,Ze,!0);c.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(a,yt,!0),c.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(a){const c=this.playersByElement.get(a);c&&c.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(a){const c=this.playersByQueriedElement.get(a);c&&c.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ft(this.players).onDone(()=>a());a()})}processLeaveNode(a){const c=a[ar];if(c&&c.setForRemoval){if(a[ar]=Ws,c.namespaceId){this.destroyInnerAnimations(a);const y=this._fetchNamespace(c.namespaceId);y&&y.clearElementCache(a)}this._onRemovalComplete(a,c.setForRemoval)}a.classList?.contains(zr)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(y=>{this.markElementAsDisabled(y,!1)})}flush(a=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,P)=>this._balanceNamespaceList(y,P)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)Re(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{c=this._flushAnimations(y,a)}finally{for(let P=0;P<y.length;P++)y[P]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(y=>y()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],c.length?Ft(c).onDone(()=>{y.forEach(P=>P())}):y.forEach(P=>P())}}reportError(a){throw function Jt(S){return new f.vHH(3402,T)}()}_flushAnimations(a,c){const y=new Nr,P=[],V=new Map,Y=[],q=new Map,he=new Map,we=new Map,qe=new Set;this.disabledNodes.forEach(ct=>{qe.add(ct);const Ct=this.driver.query(ct,".ng-animate-queued",!0);for(let Nt=0;Nt<Ct.length;Nt++)qe.add(Ct[Nt])});const _t=this.bodyNode,Bt=Array.from(this.statesByElement.keys()),qt=Ee(Bt,this.collectedEnterElements),At=new Map;let Ht=0;qt.forEach((ct,Ct)=>{const Nt=bt+Ht++;At.set(Ct,Nt),ct.forEach(on=>Re(on,Nt))});const ln=[],kn=new Set,jn=new Set;for(let ct=0;ct<this.collectedLeaveElements.length;ct++){const Ct=this.collectedLeaveElements[ct],Nt=Ct[ar];Nt&&Nt.setForRemoval&&(ln.push(Ct),kn.add(Ct),Nt.hasAnimation?this.driver.query(Ct,".ng-star-inserted",!0).forEach(on=>kn.add(on)):jn.add(Ct))}const tr=new Map,Un=Ee(Bt,Array.from(kn));Un.forEach((ct,Ct)=>{const Nt=pt+Ht++;tr.set(Ct,Nt),ct.forEach(on=>Re(on,Nt))}),a.push(()=>{qt.forEach((ct,Ct)=>{const Nt=At.get(Ct);ct.forEach(on=>We(on,Nt))}),Un.forEach((ct,Ct)=>{const Nt=tr.get(Ct);ct.forEach(on=>We(on,Nt))}),ln.forEach(ct=>{this.processLeaveNode(ct)})});const Kr=[],Er=[];for(let ct=this._namespaceList.length-1;ct>=0;ct--)this._namespaceList[ct].drainQueuedTransitions(c).forEach(Nt=>{const on=Nt.player,Bn=Nt.element;if(Kr.push(on),this.collectedEnterElements.length){const nr=Bn[ar];if(nr&&nr.setForMove){if(nr.previousTriggersValues&&nr.previousTriggersValues.has(Nt.triggerName)){const cr=nr.previousTriggersValues.get(Nt.triggerName),bn=this.statesByElement.get(Nt.element);bn&&bn[Nt.triggerName]&&(bn[Nt.triggerName].value=cr)}return void on.destroy()}}const Ir=!_t||!this.driver.containsElement(_t,Bn),Xn=tr.get(Bn),Pr=At.get(Bn),vn=this._buildInstruction(Nt,y,Pr,Xn,Ir);if(vn.errors&&vn.errors.length)return void Er.push(vn);if(Ir)return on.onStart(()=>lt(Bn,vn.fromStyles)),on.onDestroy(()=>St(Bn,vn.toStyles)),void P.push(on);if(Nt.isFallbackTransition)return on.onStart(()=>lt(Bn,vn.fromStyles)),on.onDestroy(()=>St(Bn,vn.toStyles)),void P.push(on);const Js=[];vn.timelines.forEach(nr=>{nr.stretchStartingKeyframe=!0,this.disabledNodes.has(nr.element)||Js.push(nr)}),vn.timelines=Js,y.append(Bn,vn.timelines),Y.push({instruction:vn,player:on,element:Bn}),vn.queriedElements.forEach(nr=>Zt(q,nr,[]).push(on)),vn.preStyleProps.forEach((nr,cr)=>{const bn=Object.keys(nr);if(bn.length){let es=he.get(cr);es||he.set(cr,es=new Set),bn.forEach(Xs=>es.add(Xs))}}),vn.postStyleProps.forEach((nr,cr)=>{const bn=Object.keys(nr);let es=we.get(cr);es||we.set(cr,es=new Set),bn.forEach(Xs=>es.add(Xs))})});if(Er.length){const ct=[];Er.forEach(Ct=>{ct.push(function Dn(S,a){return new f.vHH(3505,T)}())}),Kr.forEach(Ct=>Ct.destroy()),this.reportError(ct)}const Yn=new Map,Ar=new Map;Y.forEach(ct=>{const Ct=ct.element;y.has(Ct)&&(Ar.set(Ct,Ct),this._beforeAnimationBuild(ct.player.namespaceId,ct.instruction,Yn))}),P.forEach(ct=>{const Ct=ct.element;this._getPreviousPlayers(Ct,!1,ct.namespaceId,ct.triggerName,null).forEach(on=>{Zt(Yn,Ct,[]).push(on),on.destroy()})});const Mr=ln.filter(ct=>Ln(ct,he,we)),Dr=new Map;se(Dr,this.driver,jn,we,A.l3).forEach(ct=>{Ln(ct,he,we)&&Mr.push(ct)});const Ls=new Map;qt.forEach((ct,Ct)=>{se(Ls,this.driver,new Set(ct),he,A.k1)}),Mr.forEach(ct=>{const Ct=Dr.get(ct),Nt=Ls.get(ct);Dr.set(ct,{...Ct,...Nt})});const Pn=[],Or=[],Sn={};Y.forEach(ct=>{const{element:Ct,player:Nt,instruction:on}=ct;if(y.has(Ct)){if(qe.has(Ct))return Nt.onDestroy(()=>St(Ct,on.toStyles)),Nt.disabled=!0,Nt.overrideTotalTime(on.totalTime),void P.push(Nt);let Bn=Sn;if(Ar.size>1){let Xn=Ct;const Pr=[];for(;Xn=Xn.parentNode;){const vn=Ar.get(Xn);if(vn){Bn=vn;break}Pr.push(Xn)}Pr.forEach(vn=>Ar.set(vn,Bn))}const Ir=this._buildAnimation(Nt.namespaceId,on,Yn,V,Ls,Dr);if(Nt.setRealPlayer(Ir),Bn===Sn)Pn.push(Nt);else{const Xn=this.playersByElement.get(Bn);Xn&&Xn.length&&(Nt.parentPlayer=Ft(Xn)),P.push(Nt)}}else lt(Ct,on.fromStyles),Nt.onDestroy(()=>St(Ct,on.toStyles)),Or.push(Nt),qe.has(Ct)&&P.push(Nt)}),Or.forEach(ct=>{const Ct=V.get(ct.element);if(Ct&&Ct.length){const Nt=Ft(Ct);ct.setRealPlayer(Nt)}}),P.forEach(ct=>{ct.parentPlayer?ct.syncPlayerEvents(ct.parentPlayer):ct.destroy()});for(let ct=0;ct<ln.length;ct++){const Ct=ln[ct],Nt=Ct[ar];if(We(Ct,pt),Nt&&Nt.hasAnimation)continue;let on=[];if(q.size){let Ir=q.get(Ct);Ir&&Ir.length&&on.push(...Ir);let Xn=this.driver.query(Ct,yt,!0);for(let Pr=0;Pr<Xn.length;Pr++){let vn=q.get(Xn[Pr]);vn&&vn.length&&on.push(...vn)}}const Bn=on.filter(Ir=>!Ir.destroyed);Bn.length?hn(this,Ct,Bn):this.processLeaveNode(Ct)}return ln.length=0,Pn.forEach(ct=>{this.players.push(ct),ct.onDone(()=>{ct.destroy();const Ct=this.players.indexOf(ct);this.players.splice(Ct,1)}),ct.play()}),Pn}elementContainsData(a,c){let y=!1;const P=c[ar];return P&&P.setForRemoval&&(y=!0),this.playersByElement.has(c)&&(y=!0),this.playersByQueriedElement.has(c)&&(y=!0),this.statesByElement.has(c)&&(y=!0),this._fetchNamespace(a).elementContainsData(c)||y}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,c,y,P,V){let Y=[];if(c){const q=this.playersByQueriedElement.get(a);q&&(Y=q)}else{const q=this.playersByElement.get(a);if(q){const he=!V||V==Br;q.forEach(we=>{we.queued||!he&&we.triggerName!=P||Y.push(we)})}}return(y||P)&&(Y=Y.filter(q=>!(y&&y!=q.namespaceId||P&&P!=q.triggerName))),Y}_beforeAnimationBuild(a,c,y){const V=c.element,Y=c.isRemovalTransition?void 0:a,q=c.isRemovalTransition?void 0:c.triggerName;for(const he of c.timelines){const we=he.element,qe=we!==V,_t=Zt(y,we,[]);this._getPreviousPlayers(we,qe,Y,q,c.toState).forEach(qt=>{const At=qt.getRealPlayer();At.beforeDestroy&&At.beforeDestroy(),qt.destroy(),_t.push(qt)})}lt(V,c.fromStyles)}_buildAnimation(a,c,y,P,V,Y){const q=c.triggerName,he=c.element,we=[],qe=new Set,_t=new Set,Bt=c.timelines.map(At=>{const Ht=At.element;qe.add(Ht);const ln=Ht[ar];if(ln&&ln.removedBeforeQueried)return new A.ZN(At.duration,At.delay);const kn=Ht!==he,jn=function gn(S){const a=[];return jt(S,a),a}((y.get(Ht)||zs).map(Yn=>Yn.getRealPlayer())).filter(Yn=>!!Yn.element&&Yn.element===Ht),tr=V.get(Ht),Un=Y.get(Ht),Kr=kt(0,this._normalizer,0,At.keyframes,tr,Un),Er=this._buildPlayer(At,Kr,jn);if(At.subTimeline&&P&&_t.add(Ht),kn){const Yn=new hs(a,q,Ht);Yn.setRealPlayer(Er),we.push(Yn)}return Er});we.forEach(At=>{Zt(this.playersByQueriedElement,At.element,[]).push(At),At.onDone(()=>function fi(S,a,c){let y;if(S instanceof Map){if(y=S.get(a),y){if(y.length){const P=y.indexOf(c);y.splice(P,1)}0==y.length&&S.delete(a)}}else if(y=S[a],y){if(y.length){const P=y.indexOf(c);y.splice(P,1)}0==y.length&&delete S[a]}return y}(this.playersByQueriedElement,At.element,At))}),qe.forEach(At=>Re(At,Ut));const qt=Ft(Bt);return qt.onDestroy(()=>{qe.forEach(At=>We(At,Ut)),St(he,c.toStyles)}),_t.forEach(At=>{Zt(P,At,[]).push(qt)}),qt}_buildPlayer(a,c,y){return c.length>0?this.driver.animate(a.element,c,a.duration,a.delay,a.easing,y):new A.ZN(a.duration,a.delay)}}class hs{constructor(a,c,y){this.namespaceId=a,this.triggerName=c,this.element=y,this._player=new A.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(c=>{this._queuedCallbacks[c].forEach(y=>dr(a,c,void 0,y))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const c=this._player;c.triggerCallback&&a.onStart(()=>c.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,c){Zt(this._queuedCallbacks,a,[]).push(c)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const c=this._player;c.triggerCallback&&c.triggerCallback(a)}}function O(S){return S&&1===S.nodeType}function U(S,a){const c=S.style.display;return S.style.display=a??"none",c}function se(S,a,c,y,P){const V=[];c.forEach(he=>V.push(U(he)));const Y=[];y.forEach((he,we)=>{const qe={};he.forEach(_t=>{const Bt=qe[_t]=a.computeStyle(we,_t,P);(!Bt||0==Bt.length)&&(we[ar]=Pi,Y.push(we))}),S.set(we,qe)});let q=0;return c.forEach(he=>U(he,V[q++])),Y}function Ee(S,a){const c=new Map;if(S.forEach(q=>c.set(q,[])),0==a.length)return c;const P=new Set(a),V=new Map;function Y(q){if(!q)return 1;let he=V.get(q);if(he)return he;const we=q.parentNode;return he=c.has(we)?we:P.has(we)?1:Y(we),V.set(q,he),he}return a.forEach(q=>{const he=Y(q);1!==he&&c.get(he).push(q)}),c}function Re(S,a){S.classList?.add(a)}function We(S,a){S.classList?.remove(a)}function hn(S,a,c){Ft(c).onDone(()=>S.processLeaveNode(a))}function jt(S,a){for(let c=0;c<S.length;c++){const y=S[c];y instanceof A.ZE?jt(y.players,a):a.push(y)}}function Ln(S,a,c){const y=c.get(S);if(!y)return!1;let P=a.get(S);return P?y.forEach(V=>P.add(V)):a.set(S,y),c.delete(S),!0}class Vt{constructor(a,c,y){this.bodyNode=a,this._driver=c,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(P,V)=>{},this._transitionEngine=new Fn(a,c,y),this._timelineEngine=new Is(a,c,y),this._transitionEngine.onRemovalComplete=(P,V)=>this.onRemovalComplete(P,V)}registerTrigger(a,c,y,P,V){const Y=a+"-"+P;let q=this._triggerCache[Y];if(!q){const he=[],qe=Qn(this._driver,V,he,[]);if(he.length)throw function Rt(S,a){return new f.vHH(3404,T)}();q=function li(S,a,c){return new ci(S,a,c)}(P,qe,this._normalizer),this._triggerCache[Y]=q}this._transitionEngine.registerTrigger(c,P,q)}register(a,c){this._transitionEngine.register(a,c)}destroy(a,c){this._transitionEngine.destroy(a,c)}onInsert(a,c,y,P){this._transitionEngine.insertNode(a,c,y,P)}onRemove(a,c,y,P){this._transitionEngine.removeNode(a,c,P||!1,y)}disableAnimations(a,c){this._transitionEngine.markElementAsDisabled(a,c)}process(a,c,y,P){if("@"==y.charAt(0)){const[V,Y]=Zn(y);this._timelineEngine.command(V,c,Y,P)}else this._transitionEngine.trigger(a,c,y,P)}listen(a,c,y,P,V){if("@"==y.charAt(0)){const[Y,q]=Zn(y);return this._timelineEngine.listen(Y,c,q,V)}return this._transitionEngine.listen(a,c,y,P,V)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Wr=(()=>{class S{constructor(c,y,P){this._element=c,this._startStyles=y,this._endStyles=P,this._state=0;let V=S.initialStylesByElement.get(c);V||S.initialStylesByElement.set(c,V={}),this._initialStyles=V}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&&(S.initialStylesByElement.delete(this._element),this._startStyles&&(lt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(lt(this._element,this._endStyles),this._endStyles=null),St(this._element,this._initialStyles),this._state=3)}}return S.initialStylesByElement=new WeakMap,S})();function Jn(S){let a=null;const c=Object.keys(S);for(let y=0;y<c.length;y++){const P=c[y];lr(P)&&(a=a||{},a[P]=S[P])}return a}function lr(S){return"display"===S||"position"===S}class In{constructor(a,c,y,P){this.element=a,this.keyframes=c,this.options=y,this._specialStyles=P,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,c,y){return a.animate(c,y)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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}_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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const c=this._finalKeyframe;Object.keys(c).forEach(y=>{"offset"!=y&&(a[y]=this._finished?c[y]:ht(this.element,y))})}this.currentSnapshot=a}triggerCallback(a){const c="start"==a?this._onStartFns:this._onDoneFns;c.forEach(y=>y()),c.length=0}}class Ns{validateStyleProperty(a){return Z(a)}matchesElement(a,c){return!1}containsElement(a,c){return k(a,c)}getParentElement(a){return Rn(a)}query(a,c,y){return oe(a,c,y)}computeStyle(a,c,y){return window.getComputedStyle(a)[c]}animate(a,c,y,P,V,Y=[]){const he={duration:y,delay:P,fill:0==P?"both":"forwards"};V&&(he.easing=V);const we={},qe=Y.filter(Bt=>Bt instanceof In);(function te(S,a){return 0===S||0===a})(y,P)&&qe.forEach(Bt=>{let qt=Bt.currentSnapshot;Object.keys(qt).forEach(At=>we[At]=qt[At])}),c=function ye(S,a,c){const y=Object.keys(c);if(y.length&&a.length){let V=a[0],Y=[];if(y.forEach(q=>{V.hasOwnProperty(q)||Y.push(q),V[q]=c[q]}),Y.length)for(var P=1;P<a.length;P++){let q=a[P];Y.forEach(function(he){q[he]=ht(S,he)})}}return a}(a,c=c.map(Bt=>rt(Bt,!1)),we);const _t=function dn(S,a){let c=null,y=null;return Array.isArray(a)&&a.length?(c=Jn(a[0]),a.length>1&&(y=Jn(a[a.length-1]))):a&&(c=Jn(a)),c||y?new Wr(S,c,y):null}(a,c);return new In(a,c,he,_t)}}var Yr=h(6895);let Ks=(()=>{class S extends A._j{constructor(c,y){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(y.body,{id:"0",encapsulation:f.ifc.None,styles:[],data:{animation:[]}})}build(c){const y=this._nextAnimationId.toString();this._nextAnimationId++;const P=Array.isArray(c)?(0,A.vP)(c):c;return Os(this._renderer,null,y,"register",[P]),new Sr(y,this._renderer)}}return S.\u0275fac=function(c){return new(c||S)(f.LFG(f.FYo),f.LFG(Yr.K0))},S.\u0275prov=f.Yz7({token:S,factory:S.\u0275fac}),S})();class Sr extends A.LC{constructor(a,c){super(),this._id=a,this._renderer=c}create(a,c){return new hi(this._id,a,c||{},this._renderer)}}class hi{constructor(a,c,y,P){this.id=a,this.element=c,this._renderer=P,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(a,c){return this._renderer.listen(this.element,`@@${this.id}:${a}`,c)}_command(a,...c){return Os(this._renderer,this.element,this.id,a,c)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Os(S,a,c,y,P){return S.setProperty(a,`@@${c}:${y}`,P)}const Zs="@.disabled";let Qs=(()=>{class S{constructor(c,y,P){this.delegate=c,this.engine=y,this._zone=P,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(V,Y)=>{const q=Y?.parentNode(V);q&&Y.removeChild(q,V)}}createRenderer(c,y){const V=this.delegate.createRenderer(c,y);if(!(c&&y&&y.data&&y.data.animation)){let qe=this._rendererCache.get(V);return qe||(qe=new pi("",V,this.engine),this._rendererCache.set(V,qe)),qe}const Y=y.id,q=y.id+"-"+this._currentId;this._currentId++,this.engine.register(q,c);const he=qe=>{Array.isArray(qe)?qe.forEach(he):this.engine.registerTrigger(Y,q,c,qe.name,qe)};return y.data.animation.forEach(he),new po(this,q,V,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(c,y,P){c>=0&&c<this._microtaskId?this._zone.run(()=>y(P)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(V=>{const[Y,q]=V;Y(q)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([y,P]))}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()}}return S.\u0275fac=function(c){return new(c||S)(f.LFG(f.FYo),f.LFG(Vt),f.LFG(f.R0b))},S.\u0275prov=f.Yz7({token:S,factory:S.\u0275fac}),S})();class pi{constructor(a,c,y){this.namespaceId=a,this.delegate=c,this.engine=y,this.destroyNode=this.delegate.destroyNode?P=>c.destroyNode(P):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,c){return this.delegate.createElement(a,c)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,c){this.delegate.appendChild(a,c),this.engine.onInsert(this.namespaceId,c,a,!1)}insertBefore(a,c,y,P=!0){this.delegate.insertBefore(a,c,y),this.engine.onInsert(this.namespaceId,c,a,P)}removeChild(a,c,y){this.engine.onRemove(this.namespaceId,c,this.delegate,y)}selectRootElement(a,c){return this.delegate.selectRootElement(a,c)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,c,y,P){this.delegate.setAttribute(a,c,y,P)}removeAttribute(a,c,y){this.delegate.removeAttribute(a,c,y)}addClass(a,c){this.delegate.addClass(a,c)}removeClass(a,c){this.delegate.removeClass(a,c)}setStyle(a,c,y,P){this.delegate.setStyle(a,c,y,P)}removeStyle(a,c,y){this.delegate.removeStyle(a,c,y)}setProperty(a,c,y){"@"==c.charAt(0)&&c==Zs?this.disableAnimations(a,!!y):this.delegate.setProperty(a,c,y)}setValue(a,c){this.delegate.setValue(a,c)}listen(a,c,y){return this.delegate.listen(a,c,y)}disableAnimations(a,c){this.engine.disableAnimations(a,c)}}class po extends pi{constructor(a,c,y,P){super(c,y,P),this.factory=a,this.namespaceId=c}setProperty(a,c,y){"@"==c.charAt(0)?"."==c.charAt(1)&&c==Zs?this.disableAnimations(a,y=void 0===y||!!y):this.engine.process(this.namespaceId,a,c.substr(1),y):this.delegate.setProperty(a,c,y)}listen(a,c,y){if("@"==c.charAt(0)){const P=function go(S){switch(S){case"body":return document.body;case"document":return document;case"window":return window;default:return S}}(a);let V=c.substr(1),Y="";return"@"!=V.charAt(0)&&([V,Y]=function xi(S){const a=S.indexOf(".");return[S.substring(0,a),S.substr(a+1)]}(V)),this.engine.listen(this.namespaceId,P,V,Y,q=>{this.factory.scheduleListenerCallback(q._data||-1,y,q)})}return this.delegate.listen(a,c,y)}}let mo=(()=>{class S extends Vt{constructor(c,y,P){super(c.body,y,P)}ngOnDestroy(){this.flush()}}return S.\u0275fac=function(c){return new(c||S)(f.LFG(Yr.K0),f.LFG(Ae),f.LFG(us))},S.\u0275prov=f.Yz7({token:S,factory:S.\u0275fac}),S})();const tn=new f.OlP("AnimationModuleType"),qs=[{provide:A._j,useClass:Ks},{provide:us,useFactory:function yo(){return new Si}},{provide:Vt,useClass:mo},{provide:f.FYo,useFactory:function ke(S,a,c){return new Qs(S,a,c)},deps:[p.se,Vt,f.R0b]}],Tn=[{provide:Ae,useFactory:()=>new Ns},{provide:tn,useValue:"BrowserAnimations"},...qs],Ri=[{provide:Ae,useClass:pe},{provide:tn,useValue:"NoopAnimations"},...qs];let Fs=(()=>{class S{static withConfig(c){return{ngModule:S,providers:c.disableAnimations?Ri:Tn}}}return S.\u0275fac=function(c){return new(c||S)},S.\u0275mod=f.oAB({type:S}),S.\u0275inj=f.cJS({providers:Tn,imports:[p.b2]}),S})()},1481:(j,w,h)=>{"use strict";h.d(w,{H7:()=>Ye,b2:()=>wn,q6:()=>Zt,se:()=>le});var f=h(6895),p=h(6738);class A extends f.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends A{static makeCurrent(){(0,f.HT)(new T)}onAndCancel(K,G,ue){return K.addEventListener(G,ue,!1),()=>{K.removeEventListener(G,ue,!1)}}dispatchEvent(K,G){K.dispatchEvent(G)}remove(K){K.parentNode&&K.parentNode.removeChild(K)}createElement(K,G){return(G=G||this.getDefaultDocument()).createElement(K)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(K){return K.nodeType===Node.ELEMENT_NODE}isShadowRoot(K){return K instanceof DocumentFragment}getGlobalEventTarget(K,G){return"window"===G?window:"document"===G?K:"body"===G?K.body:null}getBaseHref(K){const G=function I(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}();return null==G?null:function x(ge){R=R||document.createElement("a"),R.setAttribute("href",ge);const K=R.pathname;return"/"===K.charAt(0)?K:`/${K}`}(G)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(K){return(0,f.Mx)(document.cookie,K)}}let R,C=null;const B=new p.OlP("TRANSITION_ID"),F=[{provide:p.ip1,useFactory:function M(ge,K,G){return()=>{G.get(p.CZH).donePromise.then(()=>{const ue=(0,f.q)(),Te=K.querySelectorAll(`style[ng-transition="${ge}"]`);for(let tt=0;tt<Te.length;tt++)ue.remove(Te[tt])})}},deps:[B,f.K0,p.zs3],multi:!0}];class ${static init(){(0,p.VLi)(new $)}addToWindow(K){p.dqk.getAngularTestability=(ue,Te=!0)=>{const tt=K.findTestabilityInTree(ue,Te);if(null==tt)throw new Error("Could not find testability for element.");return tt},p.dqk.getAllAngularTestabilities=()=>K.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>K.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(ue=>{const Te=p.dqk.getAllAngularTestabilities();let tt=Te.length,Xe=!1;const Qe=function(te){Xe=Xe||te,tt--,0==tt&&ue(Xe)};Te.forEach(function(te){te.whenStable(Qe)})})}findTestabilityInTree(K,G,ue){return null==G?null:K.getTestability(G)??(ue?(0,f.q)().isShadowRoot(G)?this.findTestabilityInTree(K,G.host,!0):this.findTestabilityInTree(K,G.parentElement,!0):null)}}let J=(()=>{class ge{build(){return new XMLHttpRequest}}return ge.\u0275fac=function(G){return new(G||ge)},ge.\u0275prov=p.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const Q=new p.OlP("EventManagerPlugins");let ie=(()=>{class ge{constructor(G,ue){this._zone=ue,this._eventNameToPlugin=new Map,G.forEach(Te=>Te.manager=this),this._plugins=G.slice().reverse()}addEventListener(G,ue,Te){return this._findPluginFor(ue).addEventListener(G,ue,Te)}addGlobalEventListener(G,ue,Te){return this._findPluginFor(ue).addGlobalEventListener(G,ue,Te)}getZone(){return this._zone}_findPluginFor(G){const ue=this._eventNameToPlugin.get(G);if(ue)return ue;const Te=this._plugins;for(let tt=0;tt<Te.length;tt++){const Xe=Te[tt];if(Xe.supports(G))return this._eventNameToPlugin.set(G,Xe),Xe}throw new Error(`No event manager plugin found for event ${G}`)}}return ge.\u0275fac=function(G){return new(G||ge)(p.LFG(Q),p.LFG(p.R0b))},ge.\u0275prov=p.Yz7({token:ge,factory:ge.\u0275fac}),ge})();class ae{constructor(K){this._doc=K}addGlobalEventListener(K,G,ue){const Te=(0,f.q)().getGlobalEventTarget(this._doc,K);if(!Te)throw new Error(`Unsupported event target ${Te} for event ${G}`);return this.addEventListener(Te,G,ue)}}let Ie=(()=>{class ge{constructor(){this._stylesSet=new Set}addStyles(G){const ue=new Set;G.forEach(Te=>{this._stylesSet.has(Te)||(this._stylesSet.add(Te),ue.add(Te))}),this.onStylesAdded(ue)}onStylesAdded(G){}getAllStyles(){return Array.from(this._stylesSet)}}return ge.\u0275fac=function(G){return new(G||ge)},ge.\u0275prov=p.Yz7({token:ge,factory:ge.\u0275fac}),ge})(),ot=(()=>{class ge extends Ie{constructor(G){super(),this._doc=G,this._hostNodes=new Map,this._hostNodes.set(G.head,[])}_addStylesToHost(G,ue,Te){G.forEach(tt=>{const Xe=this._doc.createElement("style");Xe.textContent=tt,Te.push(ue.appendChild(Xe))})}addHost(G){const ue=[];this._addStylesToHost(this._stylesSet,G,ue),this._hostNodes.set(G,ue)}removeHost(G){const ue=this._hostNodes.get(G);ue&&ue.forEach(xe),this._hostNodes.delete(G)}onStylesAdded(G){this._hostNodes.forEach((ue,Te)=>{this._addStylesToHost(G,Te,ue)})}ngOnDestroy(){this._hostNodes.forEach(G=>G.forEach(xe))}}return ge.\u0275fac=function(G){return new(G||ge)(p.LFG(f.K0))},ge.\u0275prov=p.Yz7({token:ge,factory:ge.\u0275fac}),ge})();function xe(ge){(0,f.q)().remove(ge)}const Oe={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/MathML/"},$e=/%COMP%/g;function Ke(ge,K,G){for(let ue=0;ue<K.length;ue++){let Te=K[ue];Array.isArray(Te)?Ke(ge,Te,G):(Te=Te.replace($e,ge),G.push(Te))}return G}function Rt(ge){return K=>{if("__ngUnwrap__"===K)return ge;!1===ge(K)&&(K.preventDefault(),K.returnValue=!1)}}let le=(()=>{class ge{constructor(G,ue,Te){this.eventManager=G,this.sharedStylesHost=ue,this.appId=Te,this.rendererByCompId=new Map,this.defaultRenderer=new me(G)}createRenderer(G,ue){if(!G||!ue)return this.defaultRenderer;switch(ue.encapsulation){case p.ifc.Emulated:{let Te=this.rendererByCompId.get(ue.id);return Te||(Te=new Pe(this.eventManager,this.sharedStylesHost,ue,this.appId),this.rendererByCompId.set(ue.id,Te)),Te.applyToHost(G),Te}case 1:case p.ifc.ShadowDom:return new Pt(this.eventManager,this.sharedStylesHost,G,ue);default:if(!this.rendererByCompId.has(ue.id)){const Te=Ke(ue.id,ue.styles,[]);this.sharedStylesHost.addStyles(Te),this.rendererByCompId.set(ue.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ge.\u0275fac=function(G){return new(G||ge)(p.LFG(ie),p.LFG(ot),p.LFG(p.AFp))},ge.\u0275prov=p.Yz7({token:ge,factory:ge.\u0275fac}),ge})();class me{constructor(K){this.eventManager=K,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(K,G){return G?document.createElementNS(Oe[G]||G,K):document.createElement(K)}createComment(K){return document.createComment(K)}createText(K){return document.createTextNode(K)}appendChild(K,G){K.appendChild(G)}insertBefore(K,G,ue){K&&K.insertBefore(G,ue)}removeChild(K,G){K&&K.removeChild(G)}selectRootElement(K,G){let ue="string"==typeof K?document.querySelector(K):K;if(!ue)throw new Error(`The selector "${K}" did not match any elements`);return G||(ue.textContent=""),ue}parentNode(K){return K.parentNode}nextSibling(K){return K.nextSibling}setAttribute(K,G,ue,Te){if(Te){G=Te+":"+G;const tt=Oe[Te];tt?K.setAttributeNS(tt,G,ue):K.setAttribute(G,ue)}else K.setAttribute(G,ue)}removeAttribute(K,G,ue){if(ue){const Te=Oe[ue];Te?K.removeAttributeNS(Te,G):K.removeAttribute(`${ue}:${G}`)}else K.removeAttribute(G)}addClass(K,G){K.classList.add(G)}removeClass(K,G){K.classList.remove(G)}setStyle(K,G,ue,Te){Te&(p.JOm.DashCase|p.JOm.Important)?K.style.setProperty(G,ue,Te&p.JOm.Important?"important":""):K.style[G]=ue}removeStyle(K,G,ue){ue&p.JOm.DashCase?K.style.removeProperty(G):K.style[G]=""}setProperty(K,G,ue){K[G]=ue}setValue(K,G){K.nodeValue=G}listen(K,G,ue){return"string"==typeof K?this.eventManager.addGlobalEventListener(K,G,Rt(ue)):this.eventManager.addEventListener(K,G,Rt(ue))}}class Pe extends me{constructor(K,G,ue,Te){super(K),this.component=ue;const tt=Ke(Te+"-"+ue.id,ue.styles,[]);G.addStyles(tt),this.contentAttr=function at(ge){return"_ngcontent-%COMP%".replace($e,ge)}(Te+"-"+ue.id),this.hostAttr=function $t(ge){return"_nghost-%COMP%".replace($e,ge)}(Te+"-"+ue.id)}applyToHost(K){super.setAttribute(K,this.hostAttr,"")}createElement(K,G){const ue=super.createElement(K,G);return super.setAttribute(ue,this.contentAttr,""),ue}}class Pt extends me{constructor(K,G,ue,Te){super(K),this.sharedStylesHost=G,this.hostEl=ue,this.shadowRoot=ue.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const tt=Ke(Te.id,Te.styles,[]);for(let Xe=0;Xe<tt.length;Xe++){const Qe=document.createElement("style");Qe.textContent=tt[Xe],this.shadowRoot.appendChild(Qe)}}nodeOrShadowRoot(K){return K===this.hostEl?this.shadowRoot:K}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(K,G){return super.appendChild(this.nodeOrShadowRoot(K),G)}insertBefore(K,G,ue){return super.insertBefore(this.nodeOrShadowRoot(K),G,ue)}removeChild(K,G){return super.removeChild(this.nodeOrShadowRoot(K),G)}parentNode(K){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(K)))}}let Lt=(()=>{class ge extends ae{constructor(G){super(G)}supports(G){return!0}addEventListener(G,ue,Te){return G.addEventListener(ue,Te,!1),()=>this.removeEventListener(G,ue,Te)}removeEventListener(G,ue,Te){return G.removeEventListener(ue,Te)}}return ge.\u0275fac=function(G){return new(G||ge)(p.LFG(f.K0))},ge.\u0275prov=p.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const un=["alt","control","meta","shift"],xn={"\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"},Dn={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},An={alt:ge=>ge.altKey,control:ge=>ge.ctrlKey,meta:ge=>ge.metaKey,shift:ge=>ge.shiftKey};let Cn=(()=>{class ge extends ae{constructor(G){super(G)}supports(G){return null!=ge.parseEventName(G)}addEventListener(G,ue,Te){const tt=ge.parseEventName(ue),Xe=ge.eventCallback(tt.fullKey,Te,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,f.q)().onAndCancel(G,tt.domEventName,Xe))}static parseEventName(G){const ue=G.toLowerCase().split("."),Te=ue.shift();if(0===ue.length||"keydown"!==Te&&"keyup"!==Te)return null;const tt=ge._normalizeKey(ue.pop());let Xe="";if(un.forEach(te=>{const ye=ue.indexOf(te);ye>-1&&(ue.splice(ye,1),Xe+=te+".")}),Xe+=tt,0!=ue.length||0===tt.length)return null;const Qe={};return Qe.domEventName=Te,Qe.fullKey=Xe,Qe}static getEventFullKey(G){let ue="",Te=function Ft(ge){let K=ge.key;if(null==K){if(K=ge.keyIdentifier,null==K)return"Unidentified";K.startsWith("U+")&&(K=String.fromCharCode(parseInt(K.substring(2),16)),3===ge.location&&Dn.hasOwnProperty(K)&&(K=Dn[K]))}return xn[K]||K}(G);return Te=Te.toLowerCase()," "===Te?Te="space":"."===Te&&(Te="dot"),un.forEach(tt=>{tt!=Te&&An[tt](G)&&(ue+=tt+".")}),ue+=Te,ue}static eventCallback(G,ue,Te){return tt=>{ge.getEventFullKey(tt)===G&&Te.runGuarded(()=>ue(tt))}}static _normalizeKey(G){return"esc"===G?"escape":G}}return ge.\u0275fac=function(G){return new(G||ge)(p.LFG(f.K0))},ge.\u0275prov=p.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const Zt=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:f.bD},{provide:p.g9A,useValue:function kt(){T.makeCurrent(),$.init()},multi:!0},{provide:f.K0,useFactory:function wr(){return(0,p.RDi)(document),document},deps:[]}]),Zn=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function dr(){return new p.qLn},deps:[]},{provide:Q,useClass:Lt,multi:!0,deps:[f.K0,p.R0b,p.Lbi]},{provide:Q,useClass:Cn,multi:!0,deps:[f.K0]},{provide:le,useClass:le,deps:[ie,ot,p.AFp]},{provide:p.FYo,useExisting:le},{provide:Ie,useExisting:ot},{provide:ot,useClass:ot,deps:[f.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:ie,useClass:ie,deps:[Q,p.R0b]},{provide:f.JF,useClass:J,deps:[]}];let wn=(()=>{class ge{constructor(G){if(G)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(G){return{ngModule:ge,providers:[{provide:p.AFp,useValue:G.appId},{provide:B,useExisting:p.AFp},F]}}}return ge.\u0275fac=function(G){return new(G||ge)(p.LFG(ge,12))},ge.\u0275mod=p.oAB({type:ge}),ge.\u0275inj=p.cJS({providers:Zn,imports:[f.ez,p.hGG]}),ge})();typeof window<"u"&&window;let Ye=(()=>{class ge{}return ge.\u0275fac=function(G){return new(G||ge)},ge.\u0275prov=p.Yz7({token:ge,factory:function(G){let ue=null;return ue=G?new(G||ge):p.LFG(lt),ue},providedIn:"root"}),ge})(),lt=(()=>{class ge extends Ye{constructor(G){super(),this._doc=G}sanitize(G,ue){if(null==ue)return null;switch(G){case p.q3G.NONE:return ue;case p.q3G.HTML:return(0,p.qzn)(ue,"HTML")?(0,p.z3N)(ue):(0,p.EiD)(this._doc,String(ue)).toString();case p.q3G.STYLE:return(0,p.qzn)(ue,"Style")?(0,p.z3N)(ue):ue;case p.q3G.SCRIPT:if((0,p.qzn)(ue,"Script"))return(0,p.z3N)(ue);throw new Error("unsafe value used in a script context");case p.q3G.URL:return(0,p.yhl)(ue),(0,p.qzn)(ue,"URL")?(0,p.z3N)(ue):(0,p.mCW)(String(ue));case p.q3G.RESOURCE_URL:if((0,p.qzn)(ue,"ResourceURL"))return(0,p.z3N)(ue);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${G} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(G){return(0,p.JVY)(G)}bypassSecurityTrustStyle(G){return(0,p.L6k)(G)}bypassSecurityTrustScript(G){return(0,p.eBb)(G)}bypassSecurityTrustUrl(G){return(0,p.LAX)(G)}bypassSecurityTrustResourceUrl(G){return(0,p.pB0)(G)}}return ge.\u0275fac=function(G){return new(G||ge)(p.LFG(f.K0))},ge.\u0275prov=p.Yz7({token:ge,factory:function(G){let ue=null;return ue=G?new G:function St(ge){return new lt(ge.get(f.K0))}(p.LFG(p.zs3)),ue},providedIn:"root"}),ge})()},5812:(j,w,h)=>{"use strict";h.d(w,{y6:()=>Ee,F0:()=>bn,Bz:()=>_o,lC:()=>Re});var f=h(6895),p=h(6738),A=h(5529),T=h(5279);class C extends A.xQ{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const u=super._subscribe(l);return u&&!u.closed&&l.next(this._value),u}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new T.N;return this._value}next(l){super.next(this._value=l)}}const R=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})();var x=h(2916),B=h(5254);const M=new x.y(g=>g.complete());function F(g){return g?function $(g){return new x.y(l=>g.schedule(()=>l.complete()))}(g):M}function J(g){return new x.y(l=>{let u;try{u=g()}catch(D){return void l.error(D)}return(u?(0,B.D)(u):F()).subscribe(l)})}var Q=h(1086),ie=h(6053),ae=h(1737),Ie=h(1221),ot=h(1762),xe=h(826),Oe=h(1869),$e=h(9054),De=h(4850);function Ge(g,l){return"function"==typeof l?u=>u.pipe(Ge((v,D)=>(0,B.D)(g(v,D)).pipe((0,De.U)((L,W)=>l(v,L,D,W))))):u=>u.lift(new Gt(g))}class Gt{constructor(l){this.project=l}call(l,u){return u.subscribe(new Ve(l,this.project))}}class Ve extends xe.L{constructor(l,u){super(l),this.project=u,this.index=0}_next(l){let u;const v=this.index++;try{u=this.project(l,v)}catch(D){return void this.destination.error(D)}this._innerSub(u,l,v)}_innerSub(l,u,v){const D=this.innerSubscription;D&&D.unsubscribe();const L=new Oe.d(this,u,v),W=this.destination;W.add(L),this.innerSubscription=(0,$e.D)(this,l,void 0,void 0,L),this.innerSubscription!==L&&W.add(this.innerSubscription)}_complete(){const{innerSubscription:l}=this;(!l||l.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(l){this.destination.remove(l),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(l,u,v,D,L){this.destination.next(u)}}var at=h(3489);const Ke=(()=>{function g(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return g.prototype=Object.create(Error.prototype),g})();function Rt(g){return l=>0===g?F():l.lift(new Fe(g))}class Fe{constructor(l){if(this.total=l,this.total<0)throw new Ke}call(l,u){return u.subscribe(new le(l,this.total))}}class le extends at.L{constructor(l,u){super(l),this.total=u,this.count=0}_next(l){const u=this.total,v=++this.count;v<=u&&(this.destination.next(l),v===u&&(this.destination.complete(),this.unsubscribe()))}}var me=h(2866);function X(g,l){let u=!1;return arguments.length>=2&&(u=!0),function(D){return D.lift(new Pe(g,l,u))}}class Pe{constructor(l,u,v=!1){this.accumulator=l,this.seed=u,this.hasSeed=v}call(l,u){return u.subscribe(new Pt(l,this.accumulator,this.seed,this.hasSeed))}}class Pt extends at.L{constructor(l,u,v,D){super(l),this.accumulator=u,this._seed=v,this.hasSeed=D,this.index=0}get seed(){return this._seed}set seed(l){this.hasSeed=!0,this._seed=l}_next(l){if(this.hasSeed)return this._tryNext(l);this.seed=l,this.destination.next(l)}_tryNext(l){const u=this.index++;let v;try{v=this.accumulator(this.seed,l,u)}catch(D){this.destination.error(D)}this.seed=v,this.destination.next(v)}}var Lt=h(2198);function un(g){return function(u){return 0===g?F():u.lift(new Jt(g))}}class Jt{constructor(l){if(this.total=l,this.total<0)throw new Ke}call(l,u){return u.subscribe(new xn(l,this.total))}}class xn extends at.L{constructor(l,u){super(l),this.total=u,this.ring=new Array,this.count=0}_next(l){const u=this.ring,v=this.total,D=this.count++;u.length<v?u.push(l):u[D%v]=l}_complete(){const l=this.destination;let u=this.count;if(u>0){const v=this.count>=this.total?this.total:this.count,D=this.ring;for(let L=0;L<v;L++){const W=u++%v;l.next(D[W])}}l.complete()}}function Dn(g=Ft){return l=>l.lift(new An(g))}class An{constructor(l){this.errorFactory=l}call(l,u){return u.subscribe(new Cn(l,this.errorFactory))}}class Cn extends at.L{constructor(l,u){super(l),this.errorFactory=u,this.hasValue=!1}_next(l){this.hasValue=!0,this.destination.next(l)}_complete(){if(this.hasValue)return this.destination.complete();{let l;try{l=this.errorFactory()}catch(u){l=u}this.destination.error(l)}}}function Ft(){return new R}function kt(g=null){return l=>l.lift(new dr(g))}class dr{constructor(l){this.defaultValue=l}call(l,u){return u.subscribe(new wr(l,this.defaultValue))}}class wr extends at.L{constructor(l,u){super(l),this.defaultValue=u,this.isEmpty=!0}_next(l){this.isEmpty=!1,this.destination.next(l)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var fr=h(5379);function Zn(g,l){const u=arguments.length>=2;return v=>v.pipe(g?(0,Lt.h)((D,L)=>g(D,L,v)):fr.y,Rt(1),u?kt(l):Dn(()=>new R))}var wn=h(7221),Hn=h(1406),fn=h(1709),Rn=h(2868),Vn=h(4327),gr=h(537),ee=h(9146);class ce{constructor(l,u){this.id=l,this.url=u}}class Z extends ce{constructor(l,u,v="imperative",D=null){super(l,u),this.navigationTrigger=v,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class H extends ce{constructor(l,u,v){super(l,u),this.urlAfterRedirects=v}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class k extends ce{constructor(l,u,v){super(l,u),this.reason=v}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oe extends ce{constructor(l,u,v){super(l,u),this.error=v}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class de extends ce{constructor(l,u,v,D){super(l,u),this.urlAfterRedirects=v,this.state=D}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pe extends ce{constructor(l,u,v,D){super(l,u),this.urlAfterRedirects=v,this.state=D}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ae extends ce{constructor(l,u,v,D,L){super(l,u),this.urlAfterRedirects=v,this.state=D,this.shouldActivate=L}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nt extends ce{constructor(l,u,v,D){super(l,u),this.urlAfterRedirects=v,this.state=D}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Le extends ce{constructor(l,u,v,D){super(l,u),this.urlAfterRedirects=v,this.state=D}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it{constructor(l){this.route=l}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bt{constructor(l){this.route=l}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class pt{constructor(l){this.snapshot=l}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tt{constructor(l){this.snapshot=l}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ze{constructor(l){this.snapshot=l}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ut{constructor(l){this.snapshot=l}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(l,u,v){this.routerEvent=l,this.position=u,this.anchor=v}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const He="primary";class je{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const u=this.params[l];return Array.isArray(u)?u[0]:u}return null}getAll(l){if(this.has(l)){const u=this.params[l];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function sn(g){return new je(g)}const Yt="ngNavigationCancelingError";function Wt(g){const l=Error("NavigationCancelingError: "+g);return l[Yt]=!0,l}function rt(g,l,u){const v=u.path.split("/");if(v.length>g.length||"full"===u.pathMatch&&(l.hasChildren()||v.length<g.length))return null;const D={};for(let L=0;L<v.length;L++){const W=v[L],re=g[L];if(W.startsWith(":"))D[W.substring(1)]=re;else if(W!==re.path)return null}return{consumed:g.slice(0,v.length),posParams:D}}function Ye(g,l){const u=g?Object.keys(g):void 0,v=l?Object.keys(l):void 0;if(!u||!v||u.length!=v.length)return!1;let D;for(let L=0;L<u.length;L++)if(D=u[L],!St(g[D],l[D]))return!1;return!0}function St(g,l){if(Array.isArray(g)&&Array.isArray(l)){if(g.length!==l.length)return!1;const u=[...g].sort(),v=[...l].sort();return u.every((D,L)=>v[L]===D)}return g===l}function lt(g){return Array.prototype.concat.apply([],g)}function cn(g){return g.length>0?g[g.length-1]:null}function K(g,l){for(const u in g)g.hasOwnProperty(u)&&l(g[u],u)}function G(g){return(0,p.CqO)(g)?g:(0,p.QGY)(g)?(0,B.D)(Promise.resolve(g)):(0,Q.of)(g)}const Te={exact:function te(g,l,u){if(!Ue(g.segments,l.segments)||!Xt(g.segments,l.segments,u)||g.numberOfChildren!==l.numberOfChildren)return!1;for(const v in l.children)if(!g.children[v]||!te(g.children[v],l.children[v],u))return!1;return!0},subset:ut},tt={exact:function Qe(g,l){return Ye(g,l)},subset:function ye(g,l){return Object.keys(l).length<=Object.keys(g).length&&Object.keys(l).every(u=>St(g[u],l[u]))},ignored:()=>!0};function Xe(g,l,u){return Te[u.paths](g.root,l.root,u.matrixParams)&&tt[u.queryParams](g.queryParams,l.queryParams)&&!("exact"===u.fragment&&g.fragment!==l.fragment)}function ut(g,l,u){return ht(g,l,l.segments,u)}function ht(g,l,u,v){if(g.segments.length>u.length){const D=g.segments.slice(0,u.length);return!(!Ue(D,u)||l.hasChildren()||!Xt(D,u,v))}if(g.segments.length===u.length){if(!Ue(g.segments,u)||!Xt(g.segments,u,v))return!1;for(const D in l.children)if(!g.children[D]||!ut(g.children[D],l.children[D],v))return!1;return!0}{const D=u.slice(0,g.segments.length),L=u.slice(g.segments.length);return!!(Ue(g.segments,D)&&Xt(g.segments,D,v)&&g.children[He])&&ht(g.children[He],l,L,v)}}function Xt(g,l,u){return l.every((v,D)=>tt[u](g[D].parameters,v.parameters))}class Be{constructor(l,u,v){this.root=l,this.queryParams=u,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=sn(this.queryParams)),this._queryParamMap}toString(){return gt.serialize(this)}}class be{constructor(l,u){this.segments=l,this.children=u,this.parent=null,K(u,(v,D)=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dt(this)}}class _e{constructor(l,u){this.path=l,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=sn(this.parameters)),this._parameterMap}toString(){return ir(this)}}function Ue(g,l){return g.length===l.length&&g.every((u,v)=>u.path===l[v].path)}class Je{}class Mt{parse(l){const u=new er(l);return new Be(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(l){const u=`/${vt(l.root,!0)}`,v=function hr(g){const l=Object.keys(g).map(u=>{const v=g[u];return Array.isArray(v)?v.map(D=>`${Nn(u)}=${Nn(D)}`).join("&"):`${Nn(u)}=${Nn(v)}`}).filter(u=>!!u);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${u}${v}${"string"==typeof l.fragment?`#${function Et(g){return encodeURI(g)}(l.fragment)}`:""}`}}const gt=new Mt;function Dt(g){return g.segments.map(l=>ir(l)).join("/")}function vt(g,l){if(!g.hasChildren())return Dt(g);if(l){const u=g.children[He]?vt(g.children[He],!1):"",v=[];return K(g.children,(D,L)=>{L!==He&&v.push(`${L}:${vt(D,!1)}`)}),v.length>0?`${u}(${v.join("//")})`:u}{const u=function st(g,l){let u=[];return K(g.children,(v,D)=>{D===He&&(u=u.concat(l(v,D)))}),K(g.children,(v,D)=>{D!==He&&(u=u.concat(l(v,D)))}),u}(g,(v,D)=>D===He?[vt(g.children[He],!1)]:[`${D}:${vt(v,!1)}`]);return 1===Object.keys(g.children).length&&null!=g.children[He]?`${Dt(g)}/${u[0]}`:`${Dt(g)}/(${u.join("//")})`}}function Kt(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nn(g){return Kt(g).replace(/%3B/gi,";")}function mr(g){return Kt(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qn(g){return decodeURIComponent(g)}function Fr(g){return Qn(g.replace(/\+/g,"%20"))}function ir(g){return`${mr(g.path)}${function On(g){return Object.keys(g).map(l=>`;${mr(l)}=${mr(g[l])}`).join("")}(g.parameters)}`}const yr=/^[^\/()?;=#]+/;function Mn(g){const l=g.match(yr);return l?l[0]:""}const en=/^[^=?&#]+/,zn=/^[^&#]+/;class er{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new be([],{}):new be([],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 u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(l.length>0||Object.keys(u).length>0)&&(v[He]=new be(l,u)),v}parseSegment(){const l=Mn(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(l),new _e(Qn(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const u=Mn(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const D=Mn(this.remaining);D&&(v=D,this.capture(v))}l[Qn(u)]=Qn(v)}parseQueryParam(l){const u=function $r(g){const l=g.match(en);return l?l[0]:""}(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const W=function Wn(g){const l=g.match(zn);return l?l[0]:""}(this.remaining);W&&(v=W,this.capture(v))}const D=Fr(u),L=Fr(v);if(l.hasOwnProperty(D)){let W=l[D];Array.isArray(W)||(W=[W],l[D]=W),W.push(L)}else l[D]=L}parseParens(l){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Mn(this.remaining),D=this.remaining[v.length];if("/"!==D&&")"!==D&&";"!==D)throw new Error(`Cannot parse url '${this.url}'`);let L;v.indexOf(":")>-1?(L=v.substr(0,v.indexOf(":")),this.capture(L),this.capture(":")):l&&(L=He);const W=this.parseChildren();u[L]=1===Object.keys(W).length?W[He]:new be([],W),this.consumeOptional("//")}return u}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 Error(`Expected "${l}".`)}}class Nr{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const u=this.pathFromRoot(l);return u.length>1?u[u.length-2]:null}children(l){const u=Lr(l,this._root);return u?u.children.map(v=>v.value):[]}firstChild(l){const u=Lr(l,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(l){const u=Tr(l,this._root);return u.length<2?[]:u[u.length-2].children.map(D=>D.value).filter(D=>D!==l)}pathFromRoot(l){return Tr(l,this._root).map(u=>u.value)}}function Lr(g,l){if(g===l.value)return l;for(const u of l.children){const v=Lr(g,u);if(v)return v}return null}function Tr(g,l){if(g===l.value)return[l];for(const u of l.children){const v=Tr(g,u);if(v.length)return v.unshift(l),v}return[]}class mn{constructor(l,u){this.value=l,this.children=u}toString(){return`TreeNode(${this.value})`}}function Gr(g){const l={};return g&&g.children.forEach(u=>l[u.value.outlet]=u),l}class vr extends Nr{constructor(l,u){super(l),this.snapshot=u,As(this,l)}toString(){return this.snapshot.toString()}}function yn(g,l){const u=function Ss(g,l){const W=new as([],{},{},"",{},He,l,null,g.root,-1,{});return new $s("",new mn(W,[]))}(g,l),v=new C([new _e("",{})]),D=new C({}),L=new C({}),W=new C({}),re=new C(""),Me=new or(v,D,W,re,L,He,l,u.root);return Me.snapshot=u.root,new vr(new mn(Me,[]),u)}class or{constructor(l,u,v,D,L,W,re,Me){this.url=l,this.params=u,this.queryParams=v,this.fragment=D,this.data=L,this.outlet=W,this.component=re,this._futureSnapshot=Me}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._paramMap=this.params.pipe((0,De.U)(l=>sn(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,De.U)(l=>sn(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function kr(g,l="emptyOnly"){const u=g.pathFromRoot;let v=0;if("always"!==l)for(v=u.length-1;v>=1;){const D=u[v],L=u[v-1];if(D.routeConfig&&""===D.routeConfig.path)v--;else{if(L.component)break;v--}}return function qn(g){return g.reduce((l,u)=>({params:{...l.params,...u.params},data:{...l.data,...u.data},resolve:{...l.resolve,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(v))}class as{constructor(l,u,v,D,L,W,re,Me,dt,nn,wt){this.url=l,this.params=u,this.queryParams=v,this.fragment=D,this.data=L,this.outlet=W,this.component=re,this.routeConfig=Me,this._urlSegment=dt,this._lastPathIndex=nn,this._resolve=wt}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._paramMap=sn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=sn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class $s extends Nr{constructor(l,u){super(u),this.url=l,As(this,u)}toString(){return oi(this._root)}}function As(g,l){l.value._routerState=g,l.children.forEach(u=>As(g,u))}function oi(g){const l=g.children.length>0?` { ${g.children.map(oi).join(", ")} } `:"";return`${g.value}${l}`}function us(g){if(g.snapshot){const l=g.snapshot,u=g._futureSnapshot;g.snapshot=u,Ye(l.queryParams,u.queryParams)||g.queryParams.next(u.queryParams),l.fragment!==u.fragment&&g.fragment.next(u.fragment),Ye(l.params,u.params)||g.params.next(u.params),function Qt(g,l){if(g.length!==l.length)return!1;for(let u=0;u<g.length;++u)if(!Ye(g[u],l[u]))return!1;return!0}(l.url,u.url)||g.url.next(u.url),Ye(l.data,u.data)||g.data.next(u.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function ai(g,l){const u=Ye(g.params,l.params)&&function ve(g,l){return Ue(g,l)&&g.every((u,v)=>Ye(u.parameters,l[v].parameters))}(g.url,l.url);return u&&!(!g.parent!=!l.parent)&&(!g.parent||ai(g.parent,l.parent))}function ls(g,l,u){if(u&&g.shouldReuseRoute(l.value,u.value.snapshot)){const v=u.value;v._futureSnapshot=l.value;const D=function Ai(g,l,u){return l.children.map(v=>{for(const D of u.children)if(g.shouldReuseRoute(v.value,D.value.snapshot))return ls(g,v,D);return ls(g,v)})}(g,l,u);return new mn(v,D)}{if(g.shouldAttach(l.value)){const L=g.retrieve(l.value);if(null!==L){const W=L.route;return W.value._futureSnapshot=l.value,W.children=l.children.map(re=>ls(g,re)),W}}const v=function ui(g){return new or(new C(g.url),new C(g.params),new C(g.queryParams),new C(g.fragment),new C(g.data),g.outlet,g.component,g)}(l.value),D=l.children.map(L=>ls(g,L));return new mn(v,D)}}function cs(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function ds(g){return"object"==typeof g&&null!=g&&g.outlets}function Ms(g,l,u,v,D){let L={};if(v&&K(v,(re,Me)=>{L[Me]=Array.isArray(re)?re.map(dt=>`${dt}`):`${re}`}),g===l)return new Be(u,L,D);const W=li(g,l,u);return new Be(W,L,D)}function li(g,l,u){const v={};return K(g.children,(D,L)=>{v[L]=D===l?u:li(D,l,u)}),new be(g.segments,v)}class ci{constructor(l,u,v){if(this.isAbsolute=l,this.numberOfDoubleDots=u,this.commands=v,l&&v.length>0&&cs(v[0]))throw new Error("Root segment cannot have matrix parameters");const D=v.find(ds);if(D&&D!==cn(v))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xr{constructor(l,u,v){this.segmentGroup=l,this.processChildren=u,this.index=v}}function di(g,l,u){if(g||(g=new be([],{})),0===g.segments.length&&g.hasChildren())return zr(g,l,u);const v=function jr(g,l,u){let v=0,D=l;const L={match:!1,pathIndex:0,commandIndex:0};for(;D<g.segments.length;){if(v>=u.length)return L;const W=g.segments[D],re=u[v];if(ds(re))break;const Me=`${re}`,dt=v<u.length-1?u[v+1]:null;if(D>0&&void 0===Me)break;if(Me&&dt&&"object"==typeof dt&&void 0===dt.outlets){if(!Ws(Me,dt,W))return L;v+=2}else{if(!Ws(Me,{},W))return L;v++}D++}return{match:!0,pathIndex:D,commandIndex:v}}(g,l,u),D=u.slice(v.commandIndex);if(v.match&&v.pathIndex<g.segments.length){const L=new be(g.segments.slice(0,v.pathIndex),{});return L.children[He]=new be(g.segments.slice(v.pathIndex),g.children),zr(L,0,D)}return v.match&&0===D.length?new be(g.segments,{}):v.match&&!g.hasChildren()?Ps(g,l,u):v.match?zr(g,0,D):Ps(g,l,u)}function zr(g,l,u){if(0===u.length)return new be(g.segments,{});{const v=function Ii(g){return ds(g[0])?g[0].outlets:{[He]:g}}(u),D={};return K(v,(L,W)=>{"string"==typeof L&&(L=[L]),null!==L&&(D[W]=di(g.children[W],l,L))}),K(g.children,(L,W)=>{void 0===v[W]&&(D[W]=L)}),new be(g.segments,D)}}function Ps(g,l,u){const v=g.segments.slice(0,l);let D=0;for(;D<u.length;){const L=u[D];if(ds(L)){const Me=xs(L.outlets);return new be(v,Me)}if(0===D&&cs(u[0])){v.push(new _e(g.segments[l].path,zs(u[0]))),D++;continue}const W=ds(L)?L.outlets[He]:`${L}`,re=D<u.length-1?u[D+1]:null;W&&re&&cs(re)?(v.push(new _e(W,zs(re))),D+=2):(v.push(new _e(W,{})),D++)}return new be(v,{})}function xs(g){const l={};return K(g,(u,v)=>{"string"==typeof u&&(u=[u]),null!==u&&(l[v]=Ps(new be([],{}),0,u))}),l}function zs(g){const l={};return K(g,(u,v)=>l[v]=`${u}`),l}function Ws(g,l,u){return g==u.path&&Ye(l,u.parameters)}class ar{constructor(l,u,v,D){this.routeReuseStrategy=l,this.futureState=u,this.currState=v,this.forwardEvent=D}activate(l){const u=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,v,l),us(this.futureState.root),this.activateChildRoutes(u,v,l)}deactivateChildRoutes(l,u,v){const D=Gr(u);l.children.forEach(L=>{const W=L.value.outlet;this.deactivateRoutes(L,D[W],v),delete D[W]}),K(D,(L,W)=>{this.deactivateRouteAndItsChildren(L,v)})}deactivateRoutes(l,u,v){const D=l.value,L=u?u.value:null;if(D===L)if(D.component){const W=v.getContext(D.outlet);W&&this.deactivateChildRoutes(l,u,W.children)}else this.deactivateChildRoutes(l,u,v);else L&&this.deactivateRouteAndItsChildren(u,v)}deactivateRouteAndItsChildren(l,u){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,u):this.deactivateRouteAndOutlet(l,u)}detachAndStoreRouteSubtree(l,u){const v=u.getContext(l.value.outlet),D=v&&l.value.component?v.children:u,L=Gr(l);for(const W of Object.keys(L))this.deactivateRouteAndItsChildren(L[W],D);if(v&&v.outlet){const W=v.outlet.detach(),re=v.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:W,route:l,contexts:re})}}deactivateRouteAndOutlet(l,u){const v=u.getContext(l.value.outlet),D=v&&l.value.component?v.children:u,L=Gr(l);for(const W of Object.keys(L))this.deactivateRouteAndItsChildren(L[W],D);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(l,u,v){const D=Gr(u);l.children.forEach(L=>{this.activateRoutes(L,D[L.value.outlet],v),this.forwardEvent(new Ut(L.value.snapshot))}),l.children.length&&this.forwardEvent(new Tt(l.value.snapshot))}activateRoutes(l,u,v){const D=l.value,L=u?u.value:null;if(us(D),D===L)if(D.component){const W=v.getOrCreateContext(D.outlet);this.activateChildRoutes(l,u,W.children)}else this.activateChildRoutes(l,u,v);else if(D.component){const W=v.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const re=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),W.children.onOutletReAttached(re.contexts),W.attachRef=re.componentRef,W.route=re.route.value,W.outlet&&W.outlet.attach(re.componentRef,re.route.value),us(re.route.value),this.activateChildRoutes(l,null,W.children)}else{const re=function Rs(g){for(let l=g.parent;l;l=l.parent){const u=l.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig;if(u&&u.component)return null}return null}(D.snapshot),Me=re?re.module.componentFactoryResolver:null;W.attachRef=null,W.route=D,W.resolver=Me,W.outlet&&W.outlet.activateWith(D,Me),this.activateChildRoutes(l,null,W.children)}}else this.activateChildRoutes(l,null,v)}}class Br{constructor(l,u){this.routes=l,this.module=u}}function ur(g){return"function"==typeof g}function Fn(g){return g instanceof Be}const E=Symbol("INITIAL_VALUE");function U(){return Ge(g=>(0,ie.aj)(g.map(l=>l.pipe(Rt(1),function Ce(...g){const l=g[g.length-1];return(0,me.K)(l)?(g.pop(),u=>(0,Ie.z)(g,u,l)):u=>(0,Ie.z)(g,u)}(E)))).pipe(X((l,u)=>{let v=!1;return u.reduce((D,L,W)=>D!==E?D:(L===E&&(v=!0),v||!1!==L&&W!==u.length-1&&!Fn(L)?D:L),l)},E),(0,Lt.h)(l=>l!==E),(0,De.U)(l=>Fn(l)?l:!0===l),Rt(1)))}class se{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ee,this.attachRef=null}}class Ee{constructor(){this.contexts=new Map}onChildOutletCreated(l,u){const v=this.getOrCreateContext(l);v.outlet=u,this.contexts.set(l,v)}onChildOutletDestroyed(l){const u=this.getContext(l);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let u=this.getContext(l);return u||(u=new se,this.contexts.set(l,u)),u}getContext(l){return this.contexts.get(l)||null}}let Re=(()=>{class g{constructor(u,v,D,L,W){this.parentContexts=u,this.location=v,this.resolver=D,this.changeDetector=W,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.name=L||He,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,v){this.activated=u,this._activatedRoute=v,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,v){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;const W=(v=v||this.resolver).resolveComponentFactory(u._futureSnapshot.routeConfig.component),re=this.parentContexts.getOrCreateContext(this.name).children,Me=new We(u,re,this.location.injector);this.activated=this.location.createComponent(W,this.location.length,Me),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.\u0275fac=function(u){return new(u||g)(p.Y36(Ee),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},g.\u0275dir=p.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),g})();class We{constructor(l,u,v){this.route=l,this.childContexts=u,this.parent=v}get(l,u){return l===or?this.route:l===Ee?this.childContexts:this.parent.get(l,u)}}let hn=(()=>{class g{}return g.\u0275fac=function(u){return new(u||g)},g.\u0275cmp=p.Xpm({type:g,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,v){1&u&&p._UZ(0,"router-outlet")},directives:[Re],encapsulation:2}),g})();function gn(g,l=""){for(let u=0;u<g.length;u++){const v=g[u];jt(v,rn(l,v))}}function jt(g,l){g.children&&gn(g.children,l)}function rn(g,l){return l?g||l.path?g&&!l.path?`${g}/`:!g&&l.path?l.path:`${g}/${l.path}`:"":g}function Ln(g){const l=g.children&&g.children.map(Ln),u=l?{...g,children:l}:{...g};return!u.component&&(l||u.loadChildren)&&u.outlet&&u.outlet!==He&&(u.component=hn),u}function Vt(g){return g.outlet||He}function dn(g,l){const u=g.filter(v=>Vt(v)===l);return u.push(...g.filter(v=>Vt(v)!==l)),u}const Wr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jn(g,l,u){if(""===l.path)return"full"===l.pathMatch&&(g.hasChildren()||u.length>0)?{...Wr}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const D=(l.matcher||rt)(u,g,l);if(!D)return{...Wr};const L={};K(D.posParams,(re,Me)=>{L[Me]=re.path});const W=D.consumed.length>0?{...L,...D.consumed[D.consumed.length-1].parameters}:L;return{matched:!0,consumedSegments:D.consumed,remainingSegments:u.slice(D.consumed.length),parameters:W,positionalParamSegments:D.posParams??{}}}function lr(g,l,u,v,D="corrected"){if(u.length>0&&function Yr(g,l,u){return u.some(v=>Sr(g,l,v)&&Vt(v)!==He)}(g,u,v)){const W=new be(l,function Ns(g,l,u,v){const D={};D[He]=v,v._sourceSegment=g,v._segmentIndexShift=l.length;for(const L of u)if(""===L.path&&Vt(L)!==He){const W=new be([],{});W._sourceSegment=g,W._segmentIndexShift=l.length,D[Vt(L)]=W}return D}(g,l,v,new be(u,g.children)));return W._sourceSegment=g,W._segmentIndexShift=l.length,{segmentGroup:W,slicedSegments:[]}}if(0===u.length&&function Ks(g,l,u){return u.some(v=>Sr(g,l,v))}(g,u,v)){const W=new be(g.segments,function In(g,l,u,v,D,L){const W={};for(const re of v)if(Sr(g,u,re)&&!D[Vt(re)]){const Me=new be([],{});Me._sourceSegment=g,Me._segmentIndexShift="legacy"===L?g.segments.length:l.length,W[Vt(re)]=Me}return{...D,...W}}(g,l,u,v,g.children,D));return W._sourceSegment=g,W._segmentIndexShift=l.length,{segmentGroup:W,slicedSegments:u}}const L=new be(g.segments,g.children);return L._sourceSegment=g,L._segmentIndexShift=l.length,{segmentGroup:L,slicedSegments:u}}function Sr(g,l,u){return(!(g.hasChildren()||l.length>0)||"full"!==u.pathMatch)&&""===u.path}function hi(g,l,u,v){return!!(Vt(g)===v||v!==He&&Sr(l,u,g))&&("**"===g.path||Jn(l,g,u).matched)}function Os(g,l,u){return 0===l.length&&!g.children[u]}class xt{constructor(l){this.segmentGroup=l||null}}class Zs{constructor(l){this.urlTree=l}}function Qs(g){return(0,ae._)(new xt(g))}function pi(g){return(0,ae._)(new Zs(g))}class mo{constructor(l,u,v,D,L){this.configLoader=u,this.urlSerializer=v,this.urlTree=D,this.config=L,this.allowRedirects=!0,this.ngModule=l.get(p.h0i)}apply(){const l=lr(this.urlTree.root,[],[],this.config).segmentGroup,u=new be(l.segments,l.children);return this.expandSegmentGroup(this.ngModule,this.config,u,He).pipe((0,De.U)(L=>this.createUrlTree(ke(L),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,wn.K)(L=>{if(L instanceof Zs)return this.allowRedirects=!1,this.match(L.urlTree);throw L instanceof xt?this.noMatchError(L):L}))}match(l){return this.expandSegmentGroup(this.ngModule,this.config,l.root,He).pipe((0,De.U)(D=>this.createUrlTree(ke(D),l.queryParams,l.fragment))).pipe((0,wn.K)(D=>{throw D instanceof xt?this.noMatchError(D):D}))}noMatchError(l){return new Error(`Cannot match any routes. URL Segment: '${l.segmentGroup}'`)}createUrlTree(l,u,v){const D=l.segments.length>0?new be([],{[He]:l}):l;return new Be(D,u,v)}expandSegmentGroup(l,u,v,D){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(l,u,v).pipe((0,De.U)(L=>new be([],L))):this.expandSegment(l,v,u,v.segments,D,!0)}expandChildren(l,u,v){const D=[];for(const L of Object.keys(v.children))"primary"===L?D.unshift(L):D.push(L);return(0,B.D)(D).pipe((0,Hn.b)(L=>{const W=v.children[L],re=dn(u,L);return this.expandSegmentGroup(l,re,W,L).pipe((0,De.U)(Me=>({segment:Me,outlet:L})))}),X((L,W)=>(L[W.outlet]=W.segment,L),{}),function Zt(g,l){const u=arguments.length>=2;return v=>v.pipe(g?(0,Lt.h)((D,L)=>g(D,L,v)):fr.y,un(1),u?kt(l):Dn(()=>new R))}())}expandSegment(l,u,v,D,L,W){return(0,B.D)(v).pipe((0,Hn.b)(re=>this.expandSegmentAgainstRoute(l,u,v,re,D,L,W).pipe((0,wn.K)(dt=>{if(dt instanceof xt)return(0,Q.of)(null);throw dt}))),Zn(re=>!!re),(0,wn.K)((re,Me)=>{if(re instanceof R||"EmptyError"===re.name)return Os(u,D,L)?(0,Q.of)(new be([],{})):Qs(u);throw re}))}expandSegmentAgainstRoute(l,u,v,D,L,W,re){return hi(D,u,L,W)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(l,u,D,L,W):re&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,u,v,D,L,W):Qs(u):Qs(u)}expandSegmentAgainstRouteUsingRedirect(l,u,v,D,L,W){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,v,D,W):this.expandRegularSegmentAgainstRouteUsingRedirect(l,u,v,D,L,W)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,u,v,D){const L=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?pi(L):this.lineralizeSegments(v,L).pipe((0,fn.zg)(W=>{const re=new be(W,{});return this.expandSegment(l,re,u,W,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(l,u,v,D,L,W){const{matched:re,consumedSegments:Me,remainingSegments:dt,positionalParamSegments:nn}=Jn(u,D,L);if(!re)return Qs(u);const wt=this.applyRedirectCommands(Me,D.redirectTo,nn);return D.redirectTo.startsWith("/")?pi(wt):this.lineralizeSegments(D,wt).pipe((0,fn.zg)(pn=>this.expandSegment(l,u,v,pn.concat(dt),W,!1)))}matchSegmentAgainstRoute(l,u,v,D,L){if("**"===v.path)return v.loadChildren?(v._loadedConfig?(0,Q.of)(v._loadedConfig):this.configLoader.load(l.injector,v)).pipe((0,De.U)(wt=>(v._loadedConfig=wt,new be(D,{})))):(0,Q.of)(new be(D,{}));const{matched:W,consumedSegments:re,remainingSegments:Me}=Jn(u,v,D);return W?this.getChildConfig(l,v,D).pipe((0,fn.zg)(nn=>{const wt=nn.module,pn=nn.routes,{segmentGroup:_n,slicedSegments:Zr}=lr(u,re,Me,pn),Qr=new be(_n.segments,_n.children);if(0===Zr.length&&Qr.hasChildren())return this.expandChildren(wt,pn,Qr).pipe((0,De.U)(ri=>new be(re,ri)));if(0===pn.length&&0===Zr.length)return(0,Q.of)(new be(re,{}));const gs=Vt(v)===L;return this.expandSegment(wt,Qr,pn,Zr,gs?He:L,!0).pipe((0,De.U)(Bs=>new be(re.concat(Bs.segments),Bs.children)))})):Qs(u)}getChildConfig(l,u,v){return u.children?(0,Q.of)(new Br(u.children,l)):u.loadChildren?void 0!==u._loadedConfig?(0,Q.of)(u._loadedConfig):this.runCanLoadGuards(l.injector,u,v).pipe((0,fn.zg)(D=>D?this.configLoader.load(l.injector,u).pipe((0,De.U)(L=>(u._loadedConfig=L,L))):function go(g){return(0,ae._)(Wt(`Cannot load children because the guard of the route "path: '${g.path}'" returned false`))}(u))):(0,Q.of)(new Br([],l))}runCanLoadGuards(l,u,v){const D=u.canLoad;if(!D||0===D.length)return(0,Q.of)(!0);const L=D.map(W=>{const re=l.get(W);let Me;if(function hs(g){return g&&ur(g.canLoad)}(re))Me=re.canLoad(u,v);else{if(!ur(re))throw new Error("Invalid CanLoad guard");Me=re(u,v)}return G(Me)});return(0,Q.of)(L).pipe(U(),(0,Rn.b)(W=>{if(!Fn(W))return;const re=Wt(`Redirecting to "${this.urlSerializer.serialize(W)}"`);throw re.url=W,re}),(0,De.U)(W=>!0===W))}lineralizeSegments(l,u){let v=[],D=u.root;for(;;){if(v=v.concat(D.segments),0===D.numberOfChildren)return(0,Q.of)(v);if(D.numberOfChildren>1||!D.children[He])return(0,ae._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${l.redirectTo}'`));D=D.children[He]}}applyRedirectCommands(l,u,v){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),l,v)}applyRedirectCreatreUrlTree(l,u,v,D){const L=this.createSegmentGroup(l,u.root,v,D);return new Be(L,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(l,u){const v={};return K(l,(D,L)=>{if("string"==typeof D&&D.startsWith(":")){const re=D.substring(1);v[L]=u[re]}else v[L]=D}),v}createSegmentGroup(l,u,v,D){const L=this.createSegments(l,u.segments,v,D);let W={};return K(u.children,(re,Me)=>{W[Me]=this.createSegmentGroup(l,re,v,D)}),new be(L,W)}createSegments(l,u,v,D){return u.map(L=>L.path.startsWith(":")?this.findPosParam(l,L,D):this.findOrReturn(L,v))}findPosParam(l,u,v){const D=v[u.path.substring(1)];if(!D)throw new Error(`Cannot redirect to '${l}'. Cannot find '${u.path}'.`);return D}findOrReturn(l,u){let v=0;for(const D of u){if(D.path===l.path)return u.splice(v),D;v++}return l}}function ke(g){const l={};for(const v of Object.keys(g.children)){const L=ke(g.children[v]);(L.segments.length>0||L.hasChildren())&&(l[v]=L)}return function yo(g){if(1===g.numberOfChildren&&g.children[He]){const l=g.children[He];return new be(g.segments.concat(l.segments),l.children)}return g}(new be(g.segments,l))}class qs{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class Tn{constructor(l,u){this.component=l,this.route=u}}function Ri(g,l,u){const v=g._root;return a(v,l?l._root:null,u,[v.value])}function _r(g,l,u){const v=function S(g){if(!g)return null;for(let l=g.parent;l;l=l.parent){const u=l.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig}return null}(l);return(v?v.module.injector:u).get(g)}function a(g,l,u,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const L=Gr(l);return g.children.forEach(W=>{(function c(g,l,u,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const L=g.value,W=l?l.value:null,re=u?u.getContext(g.value.outlet):null;if(W&&L.routeConfig===W.routeConfig){const Me=function y(g,l,u){if("function"==typeof u)return u(g,l);switch(u){case"pathParamsChange":return!Ue(g.url,l.url);case"pathParamsOrQueryParamsChange":return!Ue(g.url,l.url)||!Ye(g.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ai(g,l)||!Ye(g.queryParams,l.queryParams);default:return!ai(g,l)}}(W,L,L.routeConfig.runGuardsAndResolvers);Me?D.canActivateChecks.push(new qs(v)):(L.data=W.data,L._resolvedData=W._resolvedData),a(g,l,L.component?re?re.children:null:u,v,D),Me&&re&&re.outlet&&re.outlet.isActivated&&D.canDeactivateChecks.push(new Tn(re.outlet.component,W))}else W&&P(l,re,D),D.canActivateChecks.push(new qs(v)),a(g,null,L.component?re?re.children:null:u,v,D)})(W,L[W.value.outlet],u,v.concat([W.value]),D),delete L[W.value.outlet]}),K(L,(W,re)=>P(W,u.getContext(re),D)),D}function P(g,l,u){const v=Gr(g),D=g.value;K(v,(L,W)=>{P(L,D.component?l?l.children.getContext(W):null:l,u)}),u.canDeactivateChecks.push(new Tn(D.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,D))}class qt{}function At(g){return new x.y(l=>l.error(g))}class ln{constructor(l,u,v,D,L,W){this.rootComponentType=l,this.config=u,this.urlTree=v,this.url=D,this.paramsInheritanceStrategy=L,this.relativeLinkResolution=W}recognize(){const l=lr(this.urlTree.root,[],[],this.config.filter(W=>void 0===W.redirectTo),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,l,He);if(null===u)return null;const v=new as([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},He,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new mn(v,u),L=new $s(this.url,D);return this.inheritParamsAndData(L._root),L}inheritParamsAndData(l){const u=l.value,v=kr(u,this.paramsInheritanceStrategy);u.params=Object.freeze(v.params),u.data=Object.freeze(v.data),l.children.forEach(D=>this.inheritParamsAndData(D))}processSegmentGroup(l,u,v){return 0===u.segments.length&&u.hasChildren()?this.processChildren(l,u):this.processSegment(l,u,u.segments,v)}processChildren(l,u){const v=[];for(const L of Object.keys(u.children)){const W=u.children[L],re=dn(l,L),Me=this.processSegmentGroup(re,W,L);if(null===Me)return null;v.push(...Me)}const D=Un(v);return function kn(g){g.sort((l,u)=>l.value.outlet===He?-1:u.value.outlet===He?1:l.value.outlet.localeCompare(u.value.outlet))}(D),D}processSegment(l,u,v,D){for(const L of l){const W=this.processSegmentAgainstRoute(L,u,v,D);if(null!==W)return W}return Os(u,v,D)?[]:null}processSegmentAgainstRoute(l,u,v,D){if(l.redirectTo||!hi(l,u,v,D))return null;let L,W=[],re=[];if("**"===l.path){const _n=v.length>0?cn(v).parameters:{};L=new as(v,_n,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ar(l),Vt(l),l.component,l,Er(u),Yn(u)+v.length,Mr(l))}else{const _n=Jn(u,l,v);if(!_n.matched)return null;W=_n.consumedSegments,re=_n.remainingSegments,L=new as(W,_n.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ar(l),Vt(l),l.component,l,Er(u),Yn(u)+W.length,Mr(l))}const Me=function jn(g){return g.children?g.children:g.loadChildren?g._loadedConfig.routes:[]}(l),{segmentGroup:dt,slicedSegments:nn}=lr(u,W,re,Me.filter(_n=>void 0===_n.redirectTo),this.relativeLinkResolution);if(0===nn.length&&dt.hasChildren()){const _n=this.processChildren(Me,dt);return null===_n?null:[new mn(L,_n)]}if(0===Me.length&&0===nn.length)return[new mn(L,[])];const wt=Vt(l)===D,pn=this.processSegment(Me,dt,nn,wt?He:D);return null===pn?null:[new mn(L,pn)]}}function tr(g){const l=g.value.routeConfig;return l&&""===l.path&&void 0===l.redirectTo}function Un(g){const l=[],u=new Set;for(const v of g){if(!tr(v)){l.push(v);continue}const D=l.find(L=>v.value.routeConfig===L.value.routeConfig);void 0!==D?(D.children.push(...v.children),u.add(D)):l.push(v)}for(const v of u){const D=Un(v.children);l.push(new mn(v.value,D))}return l.filter(v=>!u.has(v))}function Er(g){let l=g;for(;l._sourceSegment;)l=l._sourceSegment;return l}function Yn(g){let l=g,u=l._segmentIndexShift?l._segmentIndexShift:0;for(;l._sourceSegment;)l=l._sourceSegment,u+=l._segmentIndexShift?l._segmentIndexShift:0;return u-1}function Ar(g){return g.data||{}}function Mr(g){return g.resolve||{}}function Or(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}function ct(g){return Ge(l=>{const u=g(l);return u?(0,B.D)(u).pipe((0,De.U)(()=>l)):(0,Q.of)(l)})}class on extends class Nt{shouldDetach(l){return!1}store(l,u){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,u){return l.routeConfig===u.routeConfig}}{}const Bn=new p.OlP("ROUTES");class Ir{constructor(l,u,v,D){this.injector=l,this.compiler=u,this.onLoadStartListener=v,this.onLoadEndListener=D}load(l,u){if(u._loader$)return u._loader$;this.onLoadStartListener&&this.onLoadStartListener(u);const D=this.loadModuleFactory(u.loadChildren).pipe((0,De.U)(L=>{this.onLoadEndListener&&this.onLoadEndListener(u);const W=L.create(l);return new Br(lt(W.injector.get(Bn,void 0,p.XFs.Self|p.XFs.Optional)).map(Ln),W)}),(0,wn.K)(L=>{throw u._loader$=void 0,L}));return u._loader$=new ot.c(D,()=>new A.xQ).pipe((0,Vn.x)()),u._loader$}loadModuleFactory(l){return G(l()).pipe((0,fn.zg)(u=>u instanceof p.YKP?(0,Q.of)(u):(0,B.D)(this.compiler.compileModuleAsync(u))))}}class Pr{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,u){return l}}function vn(g){throw g}function Js(g,l,u){return l.parse("/")}function gi(g,l){return(0,Q.of)(null)}const nr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bn=(()=>{class g{constructor(u,v,D,L,W,re,Me){this.rootComponentType=u,this.urlSerializer=v,this.rootContexts=D,this.location=L,this.config=Me,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new A.xQ,this.errorHandler=vn,this.malformedUriErrorHandler=Js,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:gi,afterPreactivation:gi},this.urlHandlingStrategy=new Pr,this.routeReuseStrategy=new on,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=W.get(p.h0i),this.console=W.get(p.c2e);const wt=W.get(p.R0b);this.isNgZoneEnabled=wt instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(Me),this.currentUrlTree=function ue(){return new Be(new be([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ir(W,re,pn=>this.triggerEvent(new it(pn)),pn=>this.triggerEvent(new bt(pn))),this.routerState=yn(this.currentUrlTree,this.rootComponentType),this.transitions=new C({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(u){const v=this.events;return u.pipe((0,Lt.h)(D=>0!==D.id),(0,De.U)(D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)})),Ge(D=>{let L=!1,W=!1;return(0,Q.of)(D).pipe((0,Rn.b)(re=>{this.currentNavigation={id:re.id,initialUrl:re.currentRawUrl,extractedUrl:re.extractedUrl,trigger:re.source,extras:re.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Ge(re=>{const Me=this.browserUrlTree.toString(),dt=!this.navigated||re.extractedUrl.toString()!==Me||Me!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||dt)&&this.urlHandlingStrategy.shouldProcessUrl(re.rawUrl))return Xs(re.source)&&(this.browserUrlTree=re.extractedUrl),(0,Q.of)(re).pipe(Ge(wt=>{const pn=this.transitions.getValue();return v.next(new Z(wt.id,this.serializeUrl(wt.extractedUrl),wt.source,wt.restoredState)),pn!==this.transitions.getValue()?M:Promise.resolve(wt)}),function tn(g,l,u,v){return Ge(D=>function xi(g,l,u,v,D){return new mo(g,l,u,v,D).apply()}(g,l,u,D.extractedUrl,v).pipe((0,De.U)(L=>({...D,urlAfterRedirects:L}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Rn.b)(wt=>{this.currentNavigation={...this.currentNavigation,finalUrl:wt.urlAfterRedirects}}),function Dr(g,l,u,v,D){return(0,fn.zg)(L=>function Ht(g,l,u,v,D="emptyOnly",L="legacy"){try{const W=new ln(g,l,u,v,D,L).recognize();return null===W?At(new qt):(0,Q.of)(W)}catch(W){return At(W)}}(g,l,L.urlAfterRedirects,u(L.urlAfterRedirects),v,D).pipe((0,De.U)(W=>({...L,targetSnapshot:W}))))}(this.rootComponentType,this.config,wt=>this.serializeUrl(wt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Rn.b)(wt=>{if("eager"===this.urlUpdateStrategy){if(!wt.extras.skipLocationChange){const _n=this.urlHandlingStrategy.merge(wt.urlAfterRedirects,wt.rawUrl);this.setBrowserUrl(_n,wt)}this.browserUrlTree=wt.urlAfterRedirects}const pn=new de(wt.id,this.serializeUrl(wt.extractedUrl),this.serializeUrl(wt.urlAfterRedirects),wt.targetSnapshot);v.next(pn)}));if(dt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:pn,extractedUrl:_n,source:Zr,restoredState:Qr,extras:gs}=re,bo=new Z(pn,this.serializeUrl(_n),Zr,Qr);v.next(bo);const Bs=yn(_n,this.rootComponentType).snapshot;return(0,Q.of)({...re,targetSnapshot:Bs,urlAfterRedirects:_n,extras:{...gs,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=re.rawUrl,re.resolve(null),M}),ct(re=>{const{targetSnapshot:Me,id:dt,extractedUrl:nn,rawUrl:wt,extras:{skipLocationChange:pn,replaceUrl:_n}}=re;return this.hooks.beforePreactivation(Me,{navigationId:dt,appliedUrlTree:nn,rawUrlTree:wt,skipLocationChange:!!pn,replaceUrl:!!_n})}),(0,Rn.b)(re=>{const Me=new pe(re.id,this.serializeUrl(re.extractedUrl),this.serializeUrl(re.urlAfterRedirects),re.targetSnapshot);this.triggerEvent(Me)}),(0,De.U)(re=>({...re,guards:Ri(re.targetSnapshot,re.currentSnapshot,this.rootContexts)})),function V(g,l){return(0,fn.zg)(u=>{const{targetSnapshot:v,currentSnapshot:D,guards:{canActivateChecks:L,canDeactivateChecks:W}}=u;return 0===W.length&&0===L.length?(0,Q.of)({...u,guardsResult:!0}):function Y(g,l,u,v){return(0,B.D)(g).pipe((0,fn.zg)(D=>function Bt(g,l,u,v,D){const L=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,Q.of)(!0);const W=L.map(re=>{const Me=_r(re,l,D);let dt;if(function O(g){return g&&ur(g.canDeactivate)}(Me))dt=G(Me.canDeactivate(g,l,u,v));else{if(!ur(Me))throw new Error("Invalid CanDeactivate guard");dt=G(Me(g,l,u,v))}return dt.pipe(Zn())});return(0,Q.of)(W).pipe(U())}(D.component,D.route,u,l,v)),Zn(D=>!0!==D,!0))}(W,v,D,g).pipe((0,fn.zg)(re=>re&&function Ys(g){return"boolean"==typeof g}(re)?function q(g,l,u,v){return(0,B.D)(l).pipe((0,Hn.b)(D=>(0,Ie.z)(function we(g,l){return null!==g&&l&&l(new pt(g)),(0,Q.of)(!0)}(D.route.parent,v),function he(g,l){return null!==g&&l&&l(new Ze(g)),(0,Q.of)(!0)}(D.route,v),function _t(g,l,u){const v=l[l.length-1],L=l.slice(0,l.length-1).reverse().map(W=>function Fs(g){const l=g.routeConfig?g.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:g,guards:l}:null}(W)).filter(W=>null!==W).map(W=>J(()=>{const re=W.guards.map(Me=>{const dt=_r(Me,W.node,u);let nn;if(function _(g){return g&&ur(g.canActivateChild)}(dt))nn=G(dt.canActivateChild(v,g));else{if(!ur(dt))throw new Error("Invalid CanActivateChild guard");nn=G(dt(v,g))}return nn.pipe(Zn())});return(0,Q.of)(re).pipe(U())}));return(0,Q.of)(L).pipe(U())}(g,D.path,u),function qe(g,l,u){const v=l.routeConfig?l.routeConfig.canActivate:null;if(!v||0===v.length)return(0,Q.of)(!0);const D=v.map(L=>J(()=>{const W=_r(L,l,u);let re;if(function fi(g){return g&&ur(g.canActivate)}(W))re=G(W.canActivate(l,g));else{if(!ur(W))throw new Error("Invalid CanActivate guard");re=G(W(l,g))}return re.pipe(Zn())}));return(0,Q.of)(D).pipe(U())}(g,D.route,u))),Zn(D=>!0!==D,!0))}(v,L,g,l):(0,Q.of)(re)),(0,De.U)(re=>({...u,guardsResult:re})))})}(this.ngModule.injector,re=>this.triggerEvent(re)),(0,Rn.b)(re=>{if(Fn(re.guardsResult)){const dt=Wt(`Redirecting to "${this.serializeUrl(re.guardsResult)}"`);throw dt.url=re.guardsResult,dt}const Me=new Ae(re.id,this.serializeUrl(re.extractedUrl),this.serializeUrl(re.urlAfterRedirects),re.targetSnapshot,!!re.guardsResult);this.triggerEvent(Me)}),(0,Lt.h)(re=>!!re.guardsResult||(this.restoreHistory(re),this.cancelNavigationTransition(re,""),!1)),ct(re=>{if(re.guards.canActivateChecks.length)return(0,Q.of)(re).pipe((0,Rn.b)(Me=>{const dt=new nt(Me.id,this.serializeUrl(Me.extractedUrl),this.serializeUrl(Me.urlAfterRedirects),Me.targetSnapshot);this.triggerEvent(dt)}),Ge(Me=>{let dt=!1;return(0,Q.of)(Me).pipe(function Ni(g,l){return(0,fn.zg)(u=>{const{targetSnapshot:v,guards:{canActivateChecks:D}}=u;if(!D.length)return(0,Q.of)(u);let L=0;return(0,B.D)(D).pipe((0,Hn.b)(W=>function Ls(g,l,u,v){return function Pn(g,l,u,v){const D=Or(g);if(0===D.length)return(0,Q.of)({});const L={};return(0,B.D)(D).pipe((0,fn.zg)(W=>function Sn(g,l,u,v){const D=_r(g,l,v);return G(D.resolve?D.resolve(l,u):D(l,u))}(g[W],l,u,v).pipe((0,Rn.b)(re=>{L[W]=re}))),un(1),(0,fn.zg)(()=>Or(L).length===D.length?(0,Q.of)(L):M))}(g._resolve,g,l,v).pipe((0,De.U)(L=>(g._resolvedData=L,g.data={...g.data,...kr(g,u).resolve},null)))}(W.route,v,g,l)),(0,Rn.b)(()=>L++),un(1),(0,fn.zg)(W=>L===D.length?(0,Q.of)(u):M))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Rn.b)({next:()=>dt=!0,complete:()=>{dt||(this.restoreHistory(Me),this.cancelNavigationTransition(Me,"At least one route resolver didn't emit any value."))}}))}),(0,Rn.b)(Me=>{const dt=new Le(Me.id,this.serializeUrl(Me.extractedUrl),this.serializeUrl(Me.urlAfterRedirects),Me.targetSnapshot);this.triggerEvent(dt)}))}),ct(re=>{const{targetSnapshot:Me,id:dt,extractedUrl:nn,rawUrl:wt,extras:{skipLocationChange:pn,replaceUrl:_n}}=re;return this.hooks.afterPreactivation(Me,{navigationId:dt,appliedUrlTree:nn,rawUrlTree:wt,skipLocationChange:!!pn,replaceUrl:!!_n})}),(0,De.U)(re=>{const Me=function Si(g,l,u){const v=ls(g,l._root,u?u._root:void 0);return new vr(v,l)}(this.routeReuseStrategy,re.targetSnapshot,re.currentRouterState);return{...re,targetRouterState:Me}}),(0,Rn.b)(re=>{this.currentUrlTree=re.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(re.urlAfterRedirects,re.rawUrl),this.routerState=re.targetRouterState,"deferred"===this.urlUpdateStrategy&&(re.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,re),this.browserUrlTree=re.urlAfterRedirects)}),((g,l,u)=>(0,De.U)(v=>(new ar(l,v.targetRouterState,v.currentRouterState,u).activate(g),v)))(this.rootContexts,this.routeReuseStrategy,re=>this.triggerEvent(re)),(0,Rn.b)({next(){L=!0},complete(){L=!0}}),(0,gr.x)(()=>{L||W||this.cancelNavigationTransition(D,`Navigation ID ${D.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===D.id&&(this.currentNavigation=null)}),(0,wn.K)(re=>{if(W=!0,function ft(g){return g&&g[Yt]}(re)){const Me=Fn(re.url);Me||(this.navigated=!0,this.restoreHistory(D,!0));const dt=new k(D.id,this.serializeUrl(D.extractedUrl),re.message);v.next(dt),Me?setTimeout(()=>{const nn=this.urlHandlingStrategy.merge(re.url,this.rawUrlTree),wt={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Xs(D.source)};this.scheduleNavigation(nn,"imperative",null,wt,{resolve:D.resolve,reject:D.reject,promise:D.promise})},0):D.resolve(!1)}else{this.restoreHistory(D,!0);const Me=new oe(D.id,this.serializeUrl(D.extractedUrl),re);v.next(Me);try{D.resolve(this.errorHandler(re))}catch(dt){D.reject(dt)}}return M}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const v="popstate"===u.type?"popstate":"hashchange";"popstate"===v&&setTimeout(()=>{const D={replaceUrl:!0},L=u.state?.navigationId?u.state:null;if(L){const re={...L};delete re.navigationId,delete re.\u0275routerPageId,0!==Object.keys(re).length&&(D.state=re)}const W=this.parseUrl(u.url);this.scheduleNavigation(W,v,L,D)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){gn(u),this.config=u.map(Ln),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,v={}){const{relativeTo:D,queryParams:L,fragment:W,queryParamsHandling:re,preserveFragment:Me}=v,dt=D||this.routerState.root,nn=Me?this.currentUrlTree.fragment:W;let wt=null;switch(re){case"merge":wt={...this.currentUrlTree.queryParams,...L};break;case"preserve":wt=this.currentUrlTree.queryParams;break;default:wt=L||null}return null!==wt&&(wt=this.removeEmptyProps(wt)),function Gs(g,l,u,v,D){if(0===u.length)return Ms(l.root,l.root,l.root,v,D);const L=function Mi(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new ci(!0,0,g);let l=0,u=!1;const v=g.reduce((D,L,W)=>{if("object"==typeof L&&null!=L){if(L.outlets){const re={};return K(L.outlets,(Me,dt)=>{re[dt]="string"==typeof Me?Me.split("/"):Me}),[...D,{outlets:re}]}if(L.segmentPath)return[...D,L.segmentPath]}return"string"!=typeof L?[...D,L]:0===W?(L.split("/").forEach((re,Me)=>{0==Me&&"."===re||(0==Me&&""===re?u=!0:".."===re?l++:""!=re&&D.push(re))}),D):[...D,L]},[]);return new ci(u,l,v)}(u);if(L.toRoot())return Ms(l.root,l.root,new be([],{}),v,D);const W=function fs(g,l,u){if(g.isAbsolute)return new Xr(l.root,!0,0);if(-1===u.snapshot._lastPathIndex){const L=u.snapshot._urlSegment;return new Xr(L,L===l.root,0)}const v=cs(g.commands[0])?0:1;return function Is(g,l,u){let v=g,D=l,L=u;for(;L>D;){if(L-=D,v=v.parent,!v)throw new Error("Invalid number of '../'");D=v.segments.length}return new Xr(v,!1,D-L)}(u.snapshot._urlSegment,u.snapshot._lastPathIndex+v,g.numberOfDoubleDots)}(L,l,g),re=W.processChildren?zr(W.segmentGroup,W.index,L.commands):di(W.segmentGroup,W.index,L.commands);return Ms(l.root,W.segmentGroup,re,v,D)}(dt,this.currentUrlTree,u,wt,nn??null)}navigateByUrl(u,v={skipLocationChange:!1}){const D=Fn(u)?u:this.parseUrl(u),L=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(L,"imperative",null,v)}navigate(u,v={skipLocationChange:!1}){return function es(g){for(let l=0;l<g.length;l++){const u=g[l];if(null==u)throw new Error(`The requested path contains ${u} segment at index ${l}`)}}(u),this.navigateByUrl(this.createUrlTree(u,v),v)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let v;try{v=this.urlSerializer.parse(u)}catch(D){v=this.malformedUriErrorHandler(D,this.urlSerializer,u)}return v}isActive(u,v){let D;if(D=!0===v?{...nr}:!1===v?{...cr}:v,Fn(u))return Xe(this.currentUrlTree,u,D);const L=this.parseUrl(u);return Xe(this.currentUrlTree,L,D)}removeEmptyProps(u){return Object.keys(u).reduce((v,D)=>{const L=u[D];return null!=L&&(v[D]=L),v},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new H(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,v,D,L,W){if(this.disposed)return Promise.resolve(!1);let re,Me,dt;W?(re=W.resolve,Me=W.reject,dt=W.promise):dt=new Promise((pn,_n)=>{re=pn,Me=_n});const nn=++this.navigationId;let wt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),wt=D&&D.\u0275routerPageId?D.\u0275routerPageId:L.replaceUrl||L.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):wt=0,this.setTransition({id:nn,targetPageId:wt,source:v,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:L,resolve:re,reject:Me,promise:dt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),dt.catch(pn=>Promise.reject(pn))}setBrowserUrl(u,v){const D=this.urlSerializer.serialize(u),L={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(D)||v.extras.replaceUrl?this.location.replaceState(D,"",L):this.location.go(D,"",L)}restoreHistory(u,v=!1){if("computed"===this.canceledNavigationResolution){const D=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===D?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===D&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(D)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,v){const D=new k(u.id,this.serializeUrl(u.extractedUrl),v);this.triggerEvent(D),u.resolve(!1)}generateNgRouterState(u,v){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:v}:{navigationId:u}}}return g.\u0275fac=function(u){p.$Z()},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),g})();function Xs(g){return"imperative"!==g}class Wa{}class vo{preload(l,u){return(0,Q.of)(null)}}let Fi=(()=>{class g{constructor(u,v,D,L){this.router=u,this.injector=D,this.preloadingStrategy=L,this.loader=new Ir(D,v,Me=>u.triggerEvent(new it(Me)),Me=>u.triggerEvent(new bt(Me)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Lt.h)(u=>u instanceof H),(0,Hn.b)(()=>this.preload())).subscribe(()=>{})}preload(){const u=this.injector.get(p.h0i);return this.processRoutes(u,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,v){const D=[];for(const L of v)if(L.loadChildren&&!L.canLoad&&L._loadedConfig){const W=L._loadedConfig;D.push(this.processRoutes(W.module,W.routes))}else L.loadChildren&&!L.canLoad?D.push(this.preloadConfig(u,L)):L.children&&D.push(this.processRoutes(u,L.children));return(0,B.D)(D).pipe((0,ee.J)(),(0,De.U)(L=>{}))}preloadConfig(u,v){return this.preloadingStrategy.preload(v,()=>(v._loadedConfig?(0,Q.of)(v._loadedConfig):this.loader.load(u.injector,v)).pipe((0,fn.zg)(L=>(v._loadedConfig=L,this.processRoutes(L.module,L.routes)))))}}return g.\u0275fac=function(u){return new(u||g)(p.LFG(bn),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(Wa))},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),g})(),ti=(()=>{class g{constructor(u,v,D={}){this.router=u,this.viewportScroller=v,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(u=>{u instanceof Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof H&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof yt&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,v){this.router.triggerEvent(new yt(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.\u0275fac=function(u){p.$Z()},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),g})();const ps=new p.OlP("ROUTER_CONFIGURATION"),js=new p.OlP("ROUTER_FORROOT_GUARD"),Ka=[f.Ye,{provide:Je,useClass:Mt},{provide:bn,useFactory:function Za(g,l,u,v,D,L,W={},re,Me){const dt=new bn(null,g,l,u,v,D,lt(L));return re&&(dt.urlHandlingStrategy=re),Me&&(dt.routeReuseStrategy=Me),function Qa(g,l){g.errorHandler&&(l.errorHandler=g.errorHandler),g.malformedUriErrorHandler&&(l.malformedUriErrorHandler=g.malformedUriErrorHandler),g.onSameUrlNavigation&&(l.onSameUrlNavigation=g.onSameUrlNavigation),g.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=g.paramsInheritanceStrategy),g.relativeLinkResolution&&(l.relativeLinkResolution=g.relativeLinkResolution),g.urlUpdateStrategy&&(l.urlUpdateStrategy=g.urlUpdateStrategy),g.canceledNavigationResolution&&(l.canceledNavigationResolution=g.canceledNavigationResolution)}(W,dt),W.enableTracing&&dt.events.subscribe(nn=>{console.group?.(`Router Event: ${nn.constructor.name}`),console.log(nn.toString()),console.log(nn),console.groupEnd?.()}),dt},deps:[Je,Ee,f.Ye,p.zs3,p.Sil,Bn,ps,[class Xn{},new p.FiY],[class Ct{},new p.FiY]]},Ee,{provide:or,useFactory:function yi(g){return g.routerState.root},deps:[bn]},Fi,vo,class Oi{preload(l,u){return u().pipe((0,wn.K)(()=>(0,Q.of)(null)))}},{provide:ps,useValue:{enableTracing:!1}}];function ni(){return new p.PXZ("Router",bn)}let _o=(()=>{class g{constructor(u,v){}static forRoot(u,v){return{ngModule:g,providers:[Ka,Eo(u),{provide:js,useFactory:na,deps:[[bn,new p.FiY,new p.tp0]]},{provide:ps,useValue:v||{}},{provide:f.S$,useFactory:pc,deps:[f.lw,[new p.tBr(f.mr),new p.FiY],ps]},{provide:ti,useFactory:Li,deps:[bn,f.EM,ps]},{provide:Wa,useExisting:v&&v.preloadingStrategy?v.preloadingStrategy:vo},{provide:p.PXZ,multi:!0,useFactory:ni},[vi,{provide:p.ip1,multi:!0,useFactory:Do,deps:[vi]},{provide:_i,useFactory:ki,deps:[vi]},{provide:p.tb,multi:!0,useExisting:_i}]]}}static forChild(u){return{ngModule:g,providers:[Eo(u)]}}}return g.\u0275fac=function(u){return new(u||g)(p.LFG(js,8),p.LFG(bn,8))},g.\u0275mod=p.oAB({type:g}),g.\u0275inj=p.cJS({}),g})();function Li(g,l,u){return u.scrollOffset&&l.setOffset(u.scrollOffset),new ti(g,l,u)}function pc(g,l,u={}){return u.useHash?new f.Do(g,l):new f.b0(g,l)}function na(g){return"guarded"}function Eo(g){return[{provide:p.deG,multi:!0,useValue:g},{provide:Bn,multi:!0,useValue:g}]}let vi=(()=>{class g{constructor(u){this.injector=u,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new A.xQ}appInitializer(){return this.injector.get(f.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let v=null;const D=new Promise(re=>v=re),L=this.injector.get(bn),W=this.injector.get(ps);return"disabled"===W.initialNavigation?(L.setUpLocationChangeListener(),v(!0)):"enabled"===W.initialNavigation||"enabledBlocking"===W.initialNavigation?(L.hooks.afterPreactivation=()=>this.initNavigation?(0,Q.of)(null):(this.initNavigation=!0,v(!0),this.resultOfPreactivationDone),L.initialNavigation()):v(!0),D})}bootstrapListener(u){const v=this.injector.get(ps),D=this.injector.get(Fi),L=this.injector.get(ti),W=this.injector.get(bn),re=this.injector.get(p.z2F);u===re.components[0]&&(("enabledNonBlocking"===v.initialNavigation||void 0===v.initialNavigation)&&W.initialNavigation(),D.setUpPreloading(),L.init(),W.resetRootComponentType(re.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return g.\u0275fac=function(u){return new(u||g)(p.LFG(p.zs3))},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),g})();function Do(g){return g.appInitializer.bind(g)}function ki(g){return g.bootstrapListener.bind(g)}const _i=new p.OlP("Router Initializer")},5419:(j,w,h)=>{"use strict";h.d(w,{A4:()=>Rt});var f=h(6738),p=h(529),A=h(4850);const x={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 B{constructor(le){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=le.protocol;let me=le.port;me||(function T(Fe){return/^https:$/i.test(Fe)}(this.protocol)?me="443":function C(Fe){return/^http:$/i.test(Fe)}(this.protocol)&&(me="80")),this.domain=le.hostname,this.port=parseInt(me,10),this.path=le.pathname;const Ce=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?x[2087]:/^cpanel\./.test(this.domain)?x[2083]:/^webmail\./.test(this.domain)?x[2095]:x[me.toString()]||x[Ce[2]]||"whostmgr",this.securityToken=Ce[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Pe=this.path.split("/");this.theme=Pe[3]}this.themePath="";let X=this.securityToken+"/";this.isUnprotected?X="/":this.isCpanel?X+="frontend/"+this.theme+"/":this.isWebmail?X+="webmail/"+this.theme+"/":this.isOther&&(X="/"),this.themePath=X,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 I(Fe){return Fe&&Fe.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(le){return this.themePath+le}buildFullPath(le){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(le)}buildTokenPath(le){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+le}}class M{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 F=h(4235),$=h.n(F),J=h(1305),Q=h.n(J),ie=(()=>{return(Fe=ie||(ie={}))[Fe.Error=0]="Error",Fe[Fe.Warning=1]="Warning",Fe[Fe.Information=2]="Information",Fe[Fe.Unknown=3]="Unknown",ie;var Fe})();const ae={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class xe{constructor(le){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={},le.chunk&&(this.isPaged=!0,this.record=parseInt(le.chunk.start,10)||0,this.page=parseInt(le.chunk.current,10)||0,this.pageSize=parseInt(le.chunk.size,10)||0,this.totalPages=parseInt(le.chunk.chunks,10)||0,this.totalRecords=parseInt(le.chunk.records,10)||0),le.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(le.filter.filtered,10)||0);const me=new Set(["paginate","filter"]);Object.keys(le).filter(Ce=>!me.has(Ce)).forEach(Ce=>{this.properties[Ce]=le[Ce]})}}class Oe extends class ot{constructor(le,me){if(this.status=0,this.messages=[],this.meta=function Ie(Fe){return JSON.parse(JSON.stringify(Fe))}(ae),this.options={keepUnprocessedResponse:!1},$()(le)||Q()(le))throw new Error("The response was unexpectedly undefined or null");me&&(this.options=me),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(le)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(le){return this.messages.filter(me=>me.type===le)}get errors(){return this._getMessages(ie.Error)}get warnings(){return this._getMessages(ie.Warning)}get infoMessages(){return this._getMessages(ie.Information)}_hasMessages(le){return this.messages.filter(me=>me.type===le).length>0}get hasErrors(){return this._hasMessages(ie.Error)}get hasWarnings(){return this._hasMessages(ie.Warning)}get hasInfoMessages(){return this._hasMessages(ie.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(le){if(this.status=0,typeof le.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(le.result,10)}_parseMessages(le){if(!le.result){const me=[le.reason];me&&me.length&&me.forEach(Ce=>{this.messages.push({type:ie.Error,message:Ce})})}}_reduce_list_data(le){if("object"==typeof le&&!(le instanceof Array)){const me=Object.keys(le);if(1===me.length){const Ce=le[me[0]];Ce?Ce instanceof Array&&(le=Ce):le=[]}}return le}constructor(le,me){if(super(le,me),!le)throw new Error("Response object should be defined.");le.metadata&&(this._parseStatus(le.metadata),this._parseMessages(le.metadata),this.meta=new xe(le.metadata)),this.data=this._reduce_list_data(le.data)}}var $e=h(109),De=h(3022);let Rt=(()=>{class Fe{constructor(me){this.http=me}get(me){const Ce=me.generate({verb:$e.F.GET,encoder:new De.VN}),X=this.packageUrl(Ce);return this.http.get(X,{headers:this.packageHeaders(Ce)}).pipe((0,A.U)(this.packageResponseHandler(X)))}post(me){const Ce=me.generate(),X=this.packageUrl(Ce);return this.http.post(X,Ce.body,{headers:this.packageHeaders(Ce)}).pipe((0,A.U)(this.packageResponseHandler(X)))}packageHeaders(me){const Ce={};return me.headers.forEach(X=>{Ce[X.name]=X.value}),new p.WM(Ce)}packageUrl(me){return new B(new M).buildTokenPath(me.url)}packageResponseHandler(me){return Ce=>{const X=new Oe(Ce);return X.meta.properties.url=me,X}}}return Fe.\u0275fac=function(me){return new(me||Fe)(f.LFG(p.eN))},Fe.\u0275prov=f.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})()},348:(j,w,h)=>{"use strict";h.d(w,{m:()=>C});var f=h(6738),p=h(269);const A=new f.OlP("window"),T=I=>new p.g(I.CLDR,I.LEXICON);let C=(()=>{class I{}return I.\u0275fac=function(x){return new(x||I)},I.\u0275mod=f.oAB({type:I}),I.\u0275inj=f.cJS({providers:[{provide:A,useValue:window},{provide:p.g,useFactory:T,deps:[A]}],imports:[[]]}),I})()}}]);
Back to Directory
File Manager