Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/initial-setup-wizard/vendor.64360f1da136e47f.min.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:()=>Ke,VN:()=>be});var f=h(4235),p=h.n(f),S=h(1305),T=h.n(S),C=h(4798),M=h.n(C),P=h(9138),x=h.n(P),F=h(248),I=h.n(F),U=h(1503),z=h.n(U),se=h(7614),W=h.n(se);function J(Ee){if(p()(Ee)||T()(Ee)||M()(Ee)||x()(Ee)||I()(Ee))return!0;if(!W()(Ee)&&!z()(Ee))return!1;for(const Re in Ee)if(!J(Ee[Re]))return!1;return!0}class be{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Re,$e,xe){if(!Re)throw new Error("Name must have a non-empty value");return`${Re}=${encodeURIComponent($e.toString())}`+(xe?"":this.recordSeparator)}}class Ke{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Re,$e,xe){if(!Re)throw new Error("Name must have a non-empty value");if(!J($e))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Re)+":"+JSON.stringify($e)+(xe?"":this.recordSeparator)}}},6154:(j,w,h)=>{"use strict";h.d(w,{r:()=>me,N:()=>le});var f=h(1978),p=h.n(f);function S(Ce){return Ce?"1":"0"}var M=(()=>{return(Ce=M||(M={}))[Ce.Ascending=0]="Ascending",Ce[Ce.Descending=1]="Descending",M;var Ce})(),P=(()=>{return(Ce=P||(P={}))[Ce.Lexicographic=0]="Lexicographic",Ce[Ce.Ipv4=1]="Ipv4",Ce[Ce.Numeric=2]="Numeric",Ce[Ce.NumericZeroAsMax=3]="NumericZeroAsMax",P;var Ce})();class x{constructor(ee,Pe=M.Ascending,Pt=P.Lexicographic){if(!ee)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=ee,this.direction=Pe,this.type=Pt}}var F=(()=>{return(Ce=F||(F={}))[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",F;var Ce})();class I{constructor(ee,Pe,Pt){if(!ee)throw new Error("You must define a non-empty column name.");this.column=ee,this.operator=Pe,this.value=Pt}}class U{constructor(ee,Pe){if(!ee)throw new Error("You must provide a name when creating a name/value argument");this.name=ee,this.value=Pe}}const W=Number.POSITIVE_INFINITY;class J{constructor(ee=1,Pe=20){if(ee<=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=ee,this.pageSize=Pe}all(){return this.pageSize===W}}class ie{constructor(ee=[]){this.headers=ee}push(ee){this.headers.push(ee)}forEach(ee,Pe){this.headers.forEach(ee,Pe)}toArray(){const ee=[];return this.headers.forEach((Pe=>ee.push({name:Pe.name,value:Pe.value}))),ee}toObject(){return this.headers.reduce(((ee,Pe)=>(ee[Pe.name]=Pe.value,ee)),{})}}class be{constructor(ee){this._header=ee}get name(){return this._header.name}get value(){return this._header.value}}class Ke extends Error{constructor(ee){super(ee),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Ke.prototype)}}class Ee extends Error{constructor(ee){super(ee),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Ee.prototype)}}class Re extends be{constructor(ee,Pe){if(!ee)throw new Ke("You must pass a valid token to the constructor.");if(!Pe&&!/^.+[:]/.test(ee))throw new Ke("You must pass a cPanel username associated with the cPanel API token.");if(!Pe&&!/[:].+$/.test(ee))throw new Ke("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Pe?Pe+":":""}${ee}`})}}Error,Error;var Ge=h(109);const Ut=new class ct{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ge.F.GET,Ge.F.DELETE,Ge.F.HEAD].forEach((ee=>{const Pe=Ge.F[ee].toString();this.map[Pe]={verb:Pe,dataInBody:!1}})),[Ge.F.POST,Ge.F.PUT,Ge.F.PATCH].forEach((ee=>{const Pe=Ge.F[ee].toString();this.map[Pe]={verb:Pe,dataInBody:!0}}))}getRule(ee){const Pe="string"==typeof ee?ee:Ge.F[ee].toString();let Pt=this.map[Pe];return Pt||(Pt=this.map.DEFAULT),Pt}};var Qe=h(3022),Lt=h(8448),Fe=h.n(Lt),le=(()=>{return(Ce=le||(le={})).JsonApi="json-api",Ce.XmlApi="xml-api",le;var Ce})();class me extends class Bt{constructor(ee){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new J,this.headers=new ie,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ee&&(this.method=ee.method,ee.namespace&&(this.namespace=ee.namespace),ee.arguments&&ee.arguments.forEach((Pe=>{this.addArgument(Pe)})),ee.sorts&&ee.sorts.forEach((Pe=>{this.addSort(Pe)})),ee.filters&&ee.filters.forEach((Pe=>{this.addFilter(Pe)})),ee.columns&&ee.columns.forEach((Pe=>this.addColumn(Pe))),ee.pager&&this.paginate(ee.pager),this.config=ee.config?ee.config:this.defaultConfig,ee.headers&&ee.headers.forEach((Pe=>{this.addHeader(Pe)})))}get usePager(){return this._usePager}addArgument(ee){return this.arguments.push(ee instanceof U?ee:new U(ee.name,ee.value)),this}addSort(ee){return this.sorts.push(ee instanceof x?ee:new x(ee.column,ee.direction,ee.type)),this}addFilter(ee){return this.filters.push(ee instanceof I?ee:new I(ee.column,ee.operator,ee.value)),this}addColumn(ee){return this.columns.push(ee),this}addHeader(ee){return this.headers.push(ee instanceof be?ee:new be(ee)),this}paginate(ee){return this.pager=ee instanceof J?ee:new J(ee.page,ee.pageSize||20),this._usePager=!0,this}}{constructor(ee,Pe){if(super(Pe),this.apiType=le.JsonApi,ee!=le.JsonApi&&ee!=le.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=ee,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(ee){if(ee instanceof Re)throw new Ee("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(ee),this}_build(ee,Pe){let Pt="";return ee.forEach((($t,un,Jt)=>{Pt+=Pe.encode($t.name,$t.value,un===Jt.length-1)})),Pe.separatorStart+Pt+Pe.separatorEnd}_make_whm_api_fieldspec_from_number(ee){return Fe()("",Math.floor(ee/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(ee%26)}_generateArguments(ee){ee.push({name:"api.version",value:1}),this.arguments.forEach((Pt=>ee.push(Pt)))}_generateSorts(ee){this.sorts.forEach(((Pe,Pt)=>{0===Pt&&ee.push({name:"api.sort.enable",value:S(!0)});const $t=`api.sort.${this._make_whm_api_fieldspec_from_number(Pt)}`;ee.push({name:`${$t}.field`,value:Pe.column}),ee.push({name:`${$t}.reverse`,value:S(Pe.direction!==M.Ascending)}),ee.push({name:`${$t}.method`,value:p()(P[Pe.type])})}))}_lookupFilterOperator(ee){switch(ee){case F.GreaterThanUnlimited:return"gt_handle_unlimited";case F.GreaterThan:return"gt";case F.LessThanUnlimited:return"lt_handle_unlimited";case F.LessThan:return"lt";case F.Equal:return"eq";case F.Begins:return"begins";case F.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${F[ee]} for WHM API 1`)}}_generateFilters(ee){this.filters.forEach(((Pe,Pt)=>{0===Pt&&(ee.push({name:"api.filter.enable",value:S(!0)}),ee.push({name:"api.filter.verbose",value:S(!0)}));const $t=`api.filter.${this._make_whm_api_fieldspec_from_number(Pt)}`;ee.push({name:`${$t}.field`,value:Pe.column}),ee.push({name:`${$t}.type`,value:this._lookupFilterOperator(Pe.operator)}),ee.push({name:`${$t}.arg0`,value:Pe.value})}))}_translatePageToStart(ee){return(ee.page-1)*ee.pageSize+1}_generatePagination(ee){if(!this.usePager)return;const Pe=this.pager.all();ee.push({name:"api.chunk.enable",value:S(!0)}),ee.push({name:"api.chunk.verbose",value:S(!0)}),ee.push({name:"api.chunk.start",value:Pe?-1:this._translatePageToStart(this.pager)}),Pe||ee.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(ee){ee||(ee={verb:Ge.F.POST,encoder:this.config.json?new Qe.tO:new Qe.VN}),ee.encoder||(ee.encoder=this.config.json?new Qe.tO:new Qe.VN);const Pe=Ut.getRule(ee.verb),Pt={headers:new ie([{name:"Content-Type",value:ee.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},$t=[];this._generateArguments($t),this._generateSorts($t),this._generateFilters($t),this._generatePagination($t);const un=this._build($t,ee.encoder);return Pe.dataInBody?Pt.body=un:Pt.url+=ee.verb===Ge.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,...S){return this.rawData.functions.get_plural_form(p,...S)}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),S=h(741),T=h(786),C=h(5074);w.Locale=class M{constructor(x,F={}){this.lexicon=F,this._cldr=new C.CLDR(x)}maketext(x,...F){return f.maketext({cldr:this._cldr,lexicon:this.lexicon,template:x,args:F})}localDatetime(x,F){return this._datetimeWrapper(p.local_datetime,x,F)}datetime(x,F){return this._datetimeWrapper(p.datetime,x,F)}_datetimeWrapper(x,F,I){return x({cldr:this._cldr,args:[F,I]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(x,F){return this._formatNumber(S.numf,x,F)}format_bytes(x,F){return this._formatNumber(S.format_bytes,x,F)}_formatNumber(x,...F){return this._callCLDRFunc(x,F)}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,F){return x({cldr:this._cldr,args:F})}}},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:[S,...T]}){if(!S||T.length>0||"string"!=typeof S)throw new Error("asis function accepts one non translatable string.");return(S=S.replace(/chr\((\d+)\)/g,(function(C,M){return f.functions.chr(Number(M))}))).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,S,T]}){if(null==p||0===p.length||null==S||0===S.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof f<"u"&&f?p:T&&null==f?T:S)}},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(I){const U=I.getUTCDay()-1;return U<0?6:U},S=[7,1,2,3,4,5,6];function T(I,U){return(S[I.getUTCDay()]+7-U)%7+1}w.dateToLocalDayNum=T;const C=function(I,U,z){let se="",W=0;return U=U||0,z=String(void 0===z?" ":z),W=U-String(I).length,W>0&&(se=[...Array(W)].map(String.prototype.valueOf,z).join("")),se+I};function M({cldr:I,args:[U=new Date,z],tzString:se="UTC"}){if("number"==typeof U&&/^-?\d+$/.test(U.toString())&&(U=new Date(1e3*U)),!(U instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(I instanceof f.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const W=I.getDateTimeInfo();return"string"==typeof z&&/^(?:date|time|datetime|special)_format_/.test(z)&&(z=W[z]),z||(z=W.date_format_long),z.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(J,ie,be){return ie?function P(I){return I.substr(1,I.length-2)}(ie):function x(I,U,z,se){switch(z){case"yy":return Math.abs(I.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(I.getUTCFullYear()));case"MMMMM":return U.month_format_narrow[I.getUTCMonth()];case"LLLLL":return U.month_stand_alone_narrow[I.getUTCMonth()];case"MMMM":return U.month_format_wide[I.getUTCMonth()];case"LLLL":return U.month_stand_alone_wide[I.getUTCMonth()];case"MMM":return U.month_format_abbreviated[I.getUTCMonth()];case"LLL":return U.month_stand_alone_abbreviated[I.getUTCMonth()];case"MM":case"LL":return C((I.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(I.getUTCMonth()+1);case"EEEE":return U.day_format_wide[p(I)];case"EEE":case"EE":case"E":return U.day_format_abbreviated[p(I)];case"EEEEE":return U.day_format_narrow[p(I)];case"cccc":return U.day_stand_alone_wide[p(I)];case"ccc":return U.day_stand_alone_abbreviated[p(I)];case"cc":case"c":return String(T(I,Number(U.first_day_of_week)));case"ccccc":return U.day_stand_alone_narrow[p(I)];case"dd":return C(I.getUTCDate().toString(),2,"0");case"d":return String(I.getUTCDate());case"h":case"hh":{let W=I.getUTCHours();W>12&&(W-=12),0===W&&(W=12);const J="hh"===z?C(W.toString(),2,"0"):W;return String(J)}case"H":return String(I.getUTCHours());case"HH":return C(I.getUTCHours().toString(),2,"0");case"m":return String(I.getUTCMinutes());case"mm":return C(I.getUTCMinutes().toString(),2,"0");case"s":return String(I.getUTCSeconds());case"ss":return C(I.getUTCSeconds().toString(),2,"0");case"a":return I.getUTCHours()<12?U.am_pm_abbreviated[0]:U.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return se;case"G":case"GG":case"GGG":return U.era_abbreviated[I.getUTCFullYear()<0?0:1];case"GGGGG":return U.era_narrow[I.getUTCFullYear()<0?0:1];case"GGGG":return U.era_wide[I.getUTCFullYear()<0?0:1]}return z}(U,W,be,se)}))}w.datetime=M,w.local_datetime=function F({cldr:I,args:[U=new Date,z]}){if("number"==typeof U&&/^-?\d+$/.test(U.toString())&&(U=new Date(1e3*U)),!(U instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(I instanceof f.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const se=U.getTimezoneOffset();(U=new Date(U)).setMinutes(U.getMinutes()-se);const W=se>0?"-":"+",J=Math.floor(Math.abs(se)/60),ie=Math.abs(se%60);return M({cldr:I,args:[U,z],tzString:"GMT"+W+C(J.toString(),2,"0")+C(ie.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),S=h(9076),T=h(527),C=h(741),M=h(9483),P=h(786);w.functions={asis:f.asis,output:p.output,comment:S.comment,boolean:T.boolean,numf:C.numf,numerate:C.numerate,quant:C.quant,format_bytes:C.format_bytes,datetime:M.datetime,local_datetime:M.local_datetime,list_and:P.list_and,list_or:P.list_or,list_or_quoted:P.list_or_quoted,list_and_quoted:P.list_and_quoted}},786:(j,w)=>{"use strict";function f(P,x,...F){let I=F.slice();switch(1===I.length&&Array.isArray(I[0])&&(I=I[0].slice()),(typeof I>"u"||0===I.length)&&(I=[""]),I=I.map((U=>function h(P,x){const F=P.getDelimiters();return F&&Object.prototype.hasOwnProperty.call(F,"quotation_start")&&Object.prototype.hasOwnProperty.call(F,"quotation_end")?F.quotation_start+x+F.quotation_end:x}(P,U))),x){case"list_and":return C({cldr:P,args:I});case"list_or":return M({cldr:P,args:I});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function T(P,x,...F){let I=F.slice();1===I.length&&Array.isArray(I[0])&&(I=I[0].slice());const U=I.length;let z,se,W,J;try{z=P.getFormats()[x]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const ie=function(be,Ke){switch(Ke){case"0":return W;case"1":return I[J++]}};switch(U){case 0:return"";case 1:return String(I[0]);default:if(W=2===U?z[2]:z.start,W=W.replace(/\{([01])\}/g,(function(be,Ke){return I[Ke]})),2===U)return W;for(J=2;J<U;)se=z[J===U-1?"end":"middle"],W=se.replace(/\{([01])\}/g,ie);return W}}function C({cldr:P,args:[...x]}){return T(P,"list",...x)}function M({cldr:P,args:[...x]}){return T(P,"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:P,args:[...x]}){return f(P,"list_and",...x)},w.list_or_quoted=function S({cldr:P,args:[...x]}){return f(P,"list_or",...x)},w.list_and=C,w.list_or=M},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 S({args:[T,...C]}){if(C&&"string"==typeof C[0]&&(C[0]=C[0].replace(/chr\((\d+)\)/g,(function(M,P){return w.functions.chr(Number(P))})),C[0]=C[0].replace(/amp\(\)/g,(function(M){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 M,P;if("object"==typeof C[C.length-1])if(M=C[C.length-1],2===C.length){if(M.html)throw new Error("Cannot provide both text and configuration with html attribute");P=C[0]}else M&&M.html?(P=M.html,delete M.html):P=T;else C.length%2==0?(M=p.listToObject(...C),M&&"html"in M&&""!==M.html?(P=M.html,delete M.html):P=T):(P=C.shift(),M=p.listToObject(...C));"_type"in M&&"offsite"===M._type&&(M.class="offsite",M.target="_blank",delete M._type);let x=`<a href="${T}"`;if("object"==typeof M)for(const F in M)Object.prototype.hasOwnProperty.call(M,F)&&(x+=` ${F}="${M[F]}"`);return x+=`>${P}</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 S({cldr:P,args:[x,...F]}){if(!(P instanceof f.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let I,U=3;x instanceof Array?(U=x[1],I=x[0]):I=x;const z=P.getPluralForm(I,...F),se=z[0]?z[0]:F[F.length-1];if(z&&z.length>=2&&z[1])return se;const J=C({cldr:P,args:[I,U]});return-1!==se.indexOf("%s")?se.replace(/%s/g,J):P.isRtl()?se+" "+J:J+" "+se}function C({cldr:P,args:[x,F=6]}){if(!(P 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:I,decimalGroup:U,decimalDecimal:z}=function T(P){const x={},F=P.getFormats();return Object.prototype.hasOwnProperty.call(F,"decimal")&&(x.decimalFormat=F.decimal),Object.prototype.hasOwnProperty.call(F,"_decimal_format_group")&&(x.decimalGroup=F._decimal_format_group),Object.prototype.hasOwnProperty.call(F,"_decimal_format_decimal")&&(x.decimalDecimal=F._decimal_format_decimal),x}(P);if(!I||!U||!z)throw new Error("CLDR Data is missing information related to formatting decimals.");const se=x<0;x=Math.abs(x);let J,ie,W=Math.floor(x);/(?!')\.(?!')/.test(x.toString())&&(J=String(x).replace(/^[^.]+/,"0"),J=Number(J).toFixed(F),/^1/.test(J)?(W++,x=W,J=void 0):J=J.replace(/^.*\./,"").replace(/0+$/,"")),ie=/(?!');(?!')/.test(I)?I.split(/(?!');(?!')/)[se?1:0]:(se?"-":"")+I;const Ee=ie.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Re;1===Ee.length?Re="":(Ee.pop(),Re=U);const $e=String(W).split("").reverse(),xe=[];let Ze;const Bt=function(ct){switch(ct){case"#":return $e.shift()||"";case"0":return $e.shift()||"0"}};for(;$e.length;){Ee.length&&(Ze=Ee.shift());const ct=Ze.replace(/(?!')[0#]|[0#](?!')/g,Bt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");xe.push(ct)}const Ge=xe.join(Re).split("").reverse().join("")+(J?z+J:"");return ie.replace(/[0#].*[0#]/,Ge)}w.numerate=function p({cldr:P,args:[x,...F]}){if(!(P instanceof f.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const I=P.getPluralForm(x,...F);return I?I[0]:F[F.length-1]},w.quant=S,w.numf=C,w.format_bytes=function M({cldr:P,args:[x,F=2]}){if(!(P instanceof f.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const I=["KB","MB","GB","TB","PB","EB","ZB","YB"],z=x&&Math.min(Math.floor(Math.log(x)/Math.log(1024)),I.length);return z?C({cldr:P,args:[x/Math.pow(1024,z),F]})+" "+I[z-1]:S({cldr:P,args:[x,"%s byte","%s bytes"]})}},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(M,P){const x=[];let F=!1,I=!1;return M.forEach(((U,z)=>{if("_"===U.charAt(0))if("_*"===U){if(I)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";x.push(...P),F=!0}else{const se=U.match(w.config.underscoreDigitRe);if(se){if(F)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[W,J]=se,ie=Number(J)-1;if(!(ie in P))throw`The "${W}" substitution argument was not passed to the maketext function.`;x.push(P[ie]),I=!0}}else x.push(U)})),x}w.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},w.functions={...f.functions},w.maketext=function S({cldr:M,lexicon:P,template:x,args:F}){if("string"!=typeof x)throw"You must pass a string template to the maketext function.";if(-1===(x=P&&P[x]||x).indexOf("["))return x;const I=x.match(w.config.bracketRe)||[],U=[];let z=!1,se="";if(I.forEach((W=>{if("["===W){if(z)throw Error(`Invalid maketext string: ${x} \nThe string contains nested brackets.`);z=!0}else if("]"===W){if(!z)throw Error(`Invalid maketext string: ${x} \nThe string contains an unmatched closing bracket character (]).`);if(!se)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 J;z=!1;try{J=function T(M,P,x){let F=P.split(",");if(F=F.map((z=>z.replace(w.config.fauxCommaRe,","))),1===F.length){if(!w.config.underscoreDigitRe.test(F[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[z]=C(F,x);return String(z)}const I=F.shift();if(!I||"function"!=typeof w.functions[I])throw`Invalid function "${I}" in maketext string.`;const U=C(F,x);return w.functions[I]({cldr:M,args:U})}(M,se,F)}catch(ie){throw Error(`Invalid maketext string: ${x} \n${ie}`)}se="",U.push(J)}else if("~"===W.charAt(0)){const J=W.charAt(1)||"~";z?se+=","===J?w.config.fauxComma:J:w.config.tildeChars.has(J)?U.push(J):U.push(W)}else z?se+=W:U.push(W)})),z)throw Error(`Invalid maketext string: ${x} \nThe string contains an unmatched opening bracket character ([).`);return U.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(...S){let T={};return function h(S){if(S.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let C=0,M=S.length;C<M;C+=2){const P=S[C];if("string"!=typeof P||""===P)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(S)&&(T=function f(S){const T=S.length,C={};let P,x,M=0;for(;M<T;)P=S[M],x=S[++M],C[P]=x,M++;return C}(S)),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 M=>{let P={},x=M.value;return x&&(x=x.toString()),x&&x.length?null:(P=this.addError(P,"required",C),P)}}requiredTrue(T){const C=T||this.locale.maketext("This control's value should be true.");return M=>{let P={};return!0!==M.value?(P=this.addError(P,"requiredTrue",C),P):null}}startsWithLetter(T){return C=>{let M={};return C.value&&!this.STARTS_WITH_LETTER.test(C.value)?(M=this.addError(M,"doesNotStartWithLetter",T),M):null}}containsSpaces(T){return C=>{let M={};return C.value&&!this.CONTAINS_SPACES.test(C.value)?(M=this.addError(M,"containsSpace",T),M):null}}minLength(T,C){return M=>{let P={};return M.value&&M.value.length<C?(P=this.addError(P,"minLength",T),P):null}}maxLength(T,C){return M=>{let P={};return M.value&&M.value.length>C?(P=this.addError(P,"maxLength",T),P):null}}min(T,C){return M=>{let P={};return M.value&&M.value<C?(P=this.addError(P,"min",T),P):null}}max(T,C){return M=>{let P={};return M.value&&M.value>C?(P=this.addError(P,"max",T),P):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(P=250,x=""){return F=>{let I=p.stringValidators.validUnicode()(F);if(!I){const U=this.locale.maketext("This note is too long.");I=p.stringValidators.maxCharacterLength(U)(P,F)}if(!I){const U=F.match(T);if(U){I={};const z=U.index,se=U[0].codePointAt(0);this.addError(I,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",se,1+z))}}return I}}}},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 M=>{let P={};return M.value&&!this.VALID_USERNAME.test(M.value)?(P=this.addError(P,"invalidUsername",C),P):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 S 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,M,P){return x=>C===p.DatabaseType.MySQL?(this._dbPrefix=M||"",this.validateMySQLDatabaseName(x.value,P||"")):null}validateMySQLDatabaseName(C,M){const P=this._performMySqlDatabaseNameValidation(C,M);let x={};return P?(x=this.addError(x,"databaseName",P),x):null}_performMySqlDatabaseNameValidation(C,M){let P=null;return P=this._verifyNameLengthLimit(C),null!==P||(P=this._verifyDatabaseNameIgnoreLength(C),null!==P)||(P=this._verifyDatabaseName(C,M)),P}_verifyNameLengthLimit(C){let M=null,P=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(P-=this._dbPrefix.length+1);const x=unescape(encodeURIComponent(C)).length-P;return x>0&&(M={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",x,P)}),M}_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,M){if(null!==C&&C.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const P=this._verifySpecialWildcardsInDatabaseNames(C);return null!==P?P:M&&this._convertVersionStringToNumber(M)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(C)?{message:this.locale.maketext("This system’s [asis,MySQL] version ([_1]) prohibits the character “[_2]” in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",M,".")}:null}_convertVersionStringToNumber(C){return C.match(/mariadb/i)&&(C=C.replace(/^[^-]+-/,"")),parseInt(C.replace(/-.*/,"").split(/\./).map((function(M){return M.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames(C){if(null===C)return null;const M=C.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let P=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(P-=this._dbPrefix.length+1);const x=M-P;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.",["\\","_","%"],P,M,x)}:null}}},4559:function(j,w,h){"use strict";var f=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(w,"__esModule",{value:!0}),w.domainValidators=void 0;const p=h(549),S=f(h(4879)),T=f(h(836)),C=h(2257);w.domainValidators=new class M 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 F=[],I=S.default.ucs2.decode(x);for(let U=0;U<I.length;U++)I[U]>this.UNICODE_ASCII_CUTOFF&&F.push(S.default.ucs2.encode([I[U]]));return T.default(F)}_validateLabelBasics(){return x=>{let F={};if(x.value&&0!==x.value.length){if(x.value.length>this.MAX_LABEL_BYTES)F=this.addError(F,"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])F=this.addError(F,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===x.value[x.value.length-1])F=this.addError(F,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(S.default.toASCII(x.value).length>this.MAX_LABEL_BYTES){const I=this._getNonASCII(x.value);F=this.addError(F,"length",this.locale.maketext("The label’s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,I[0]))}}else F=this.addError(F,"length",this.locale.maketext("A label must not be empty."));return F}}validDomainLength(){return x=>{let F={};if(x.value.length>this.MAX_DOMAIN_BYTES)return F=this.addError(F,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),F;if(S.default.toASCII(x.value).length>this.MAX_DOMAIN_BYTES){const U=this._getNonASCII(x.value);return F=this.addError(F,"length",this.locale.maketext("The domain name’s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,U[0])),F}return null}}validateLabel(){return x=>p.runValidationGroup(x,[this._validateLabelBasics(),F=>{let I={};return this.NONINITIAL_LABEL_REGEX.test(F.value)||(I=this.addError(I,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),I}])}validateTLD(){return x=>{let F={};return!this.VALID_TLD_REGEX.test(x.value)&&!this.VALID_IDN_TLD_REGEX.test(x.value)&&(F=this.addError(F,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),F}}fqdn(){return x=>{const F=x.value.split("."),I=F[F.length-1],U=F[0],z=x.value,se=[()=>{let W={};const J=this.IPv4_REGEX.test(z),ie=this.IPv6_REGEX.test(z);return J||ie?W=this.addError(W,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):F.length<2?W=this.addError(W,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:U}),this.validateTLD().bind(this,{value:"."+I})];return F.forEach((W=>{se.push(this.validateLabel().bind(this,{value:W}))})),p.runValidationGroup(x,se)}}fqdnOrIP(){return x=>{const F=p.runValidationGroup(x,[this.anyIP()]),I=x.value.split("."),U=I[I.length-1],z=I[0],se=[J=>{let ie={};return I.length<2&&(ie=this.addError(ie,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),ie},this.validDomainLength(),this.validateLabel().bind(this,{value:z}),this.validateTLD().bind(this,{value:"."+U})];I.forEach((J=>{se.push(this.validateLabel().bind(this,{value:J}))}));const W=p.runValidationGroup(x,se);return F&&W?{...F,...W}:null}}ipv4(){return x=>{let F={};return x.value&&!this.IPv4_REGEX.test(x.value)?(F=this.addError(F,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),F):null}}ipv6(){return x=>{let F={};return x.value&&!this.IPv6_REGEX.test(x.value)?(F=this.addError(F,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),F):null}}anyIP(){return x=>{let F={};return!x.value||this.IPv4_REGEX.test(x.value)||this.IPv6_REGEX.test(x.value)?null:(F=this.addError(F,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),F)}}}},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 M=>{let P={};return M.value&&!this.VALID_EMAIL.test(M.value)?(P=this.addError(P,"invalidEmail",C),P):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,M){return P=>{const x=P.get(C).value;let I={};return x===P.get(M).value&&""!==x?(I=this.addError(I,"equalFields",T),I):null}}}},2502:(j,w,h)=>{"use strict";w.uZ=w.Tt=w.Xz=void 0;h(50);const S=h(4559);Object.defineProperty(w,"Xz",{enumerable:!0,get:function(){return S.domainValidators}});const T=h(2257);Object.defineProperty(w,"uZ",{enumerable:!0,get:function(){return T.BaseValidator}});h(6156),h(6369),h(6128);const x=h(8415);Object.defineProperty(w,"Tt",{enumerable:!0,get:function(){return x.emailValidators}});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 S{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={},M,P){return"string"==typeof P&&(P={message:P}),C[this._buildKey(M)]=P,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 S(C){return"0x"+C.toString(16)}Object.defineProperty(w,"__esModule",{value:!0}),w.characterLength=void 0,w.characterLength=function T(C,M){let P=0;for(let x=0;x<C.length;x++){P++;const F=C.charCodeAt(x);if(55296==(64512&F)){if(x++,x===C.length)throw new Error(M.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",S(F)));const I=C.charCodeAt(x);if(56320!=(64512&I))throw new Error(M.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[F,I].map(S),x))}}return P}},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 S(T,C){const M={};return C.forEach((P=>{p.default(M,P(T))})),Object.keys(M).length?M: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 M=>{let P;try{P=p.characterLength(M,this.locale)}catch(x){const F={};return this.addError(F,"unicode",x.message),F}return null}}maxCharacterLength(M){return(P,x)=>{if(p.characterLength(x,this.locale)>P){const z={};return this.addError(z,"length",M),z}return null}}maxUTF8Length(M){return(P,x)=>{if(function S(C){return unescape(encodeURIComponent(C)).length}(x)>P){const F={};return this.addError(F,"length",M),F}return null}}}},4994:(j,w,h)=>{var f=h(4312),p=h(6421),S=h(5764),T=h(8685),C=h(6676);function M(P){var x=-1,F=null==P?0:P.length;for(this.clear();++x<F;){var I=P[x];this.set(I[0],I[1])}}M.prototype.clear=f,M.prototype.delete=p,M.prototype.get=S,M.prototype.has=T,M.prototype.set=C,j.exports=M},9215:(j,w,h)=>{var f=h(1840),p=h(4378),S=h(4981),T=h(7343),C=h(8895);function M(P){var x=-1,F=null==P?0:P.length;for(this.clear();++x<F;){var I=P[x];this.set(I[0],I[1])}}M.prototype.clear=f,M.prototype.delete=p,M.prototype.get=S,M.prototype.has=T,M.prototype.set=C,j.exports=M},1501:(j,w,h)=>{var S=h(3436)(h(2119),"Map");j.exports=S},9850:(j,w,h)=>{var f=h(638),p=h(1184),S=h(866),T=h(3771),C=h(1772);function M(P){var x=-1,F=null==P?0:P.length;for(this.clear();++x<F;){var I=P[x];this.set(I[0],I[1])}}M.prototype.clear=f,M.prototype.delete=p,M.prototype.get=S,M.prototype.has=T,M.prototype.set=C,j.exports=M},6323:(j,w,h)=>{var S=h(3436)(h(2119),"Set");j.exports=S},8849:(j,w,h)=>{var f=h(9850),p=h(4600),S=h(1387);function T(C){var M=-1,P=null==C?0:C.length;for(this.__data__=new f;++M<P;)this.add(C[M])}T.prototype.add=T.prototype.push=p,T.prototype.has=S,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(S,T){return!(null==S||!S.length)&&f(S,T,0)>-1}},177:j=>{j.exports=function w(h,f,p){for(var S=-1,T=null==h?0:h.length;++S<T;)if(p(f,h[S]))return!0;return!1}},2271:(j,w,h)=>{var f=h(5334),p=h(7151),S=h(1503),T=h(891),C=h(8442),M=h(8159),x=Object.prototype.hasOwnProperty;j.exports=function F(I,U){var z=S(I),se=!z&&p(I),W=!z&&!se&&T(I),J=!z&&!se&&!W&&M(I),ie=z||se||W||J,be=ie?f(I.length,String):[],Ke=be.length;for(var Ee in I)(U||x.call(I,Ee))&&(!ie||!("length"==Ee||W&&("offset"==Ee||"parent"==Ee)||J&&("buffer"==Ee||"byteLength"==Ee||"byteOffset"==Ee)||C(Ee,Ke)))&&be.push(Ee);return be}},4633:j=>{j.exports=function w(h,f){for(var p=-1,S=null==h?0:h.length,T=Array(S);++p<S;)T[p]=f(h[p],p,h);return T}},8745:j=>{j.exports=function w(h,f,p,S){var T=-1,C=null==h?0:h.length;for(S&&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(M,P,x){var F=M[P];(!T.call(M,P)||!p(F,x)||void 0===x&&!(P in M))&&f(M,P,x)}},3503:(j,w,h)=>{var f=h(217);j.exports=function p(S,T){for(var C=S.length;C--;)if(f(S[C][0],T))return C;return-1}},5683:(j,w,h)=>{var f=h(6713);j.exports=function p(S,T,C){"__proto__"==T&&f?f(S,T,{configurable:!0,enumerable:!0,value:C,writable:!0}):S[T]=C}},5317:j=>{j.exports=function w(h,f,p,S){for(var T=h.length,C=p+(S?1:-1);S?C--:++C<T;)if(f(h[C],C,h))return C;return-1}},3337:(j,w,h)=>{var f=h(443),p=h(1318),S=h(2902),M=f?f.toStringTag:void 0;j.exports=function P(x){return null==x?void 0===x?"[object Undefined]":"[object Null]":M&&M in Object(x)?p(x):S(x)}},4164:(j,w,h)=>{var f=h(5317),p=h(968),S=h(4977);j.exports=function T(C,M,P){return M==M?S(C,M,P):f(C,p,P)}},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),S=h(5940),T=h(2827),M=/^\[object .+?Constructor\]$/,U=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");j.exports=function z(se){return!(!S(se)||p(se))&&(f(se)?U:M).test(T(se))}},1083:(j,w,h)=>{var f=h(3337),p=h(6231),S=h(2671),Qe={};Qe["[object Float32Array]"]=Qe["[object Float64Array]"]=Qe["[object Int8Array]"]=Qe["[object Int16Array]"]=Qe["[object Int32Array]"]=Qe["[object Uint8Array]"]=Qe["[object Uint8ClampedArray]"]=Qe["[object Uint16Array]"]=Qe["[object Uint32Array]"]=!0,Qe["[object Arguments]"]=Qe["[object Array]"]=Qe["[object ArrayBuffer]"]=Qe["[object Boolean]"]=Qe["[object DataView]"]=Qe["[object Date]"]=Qe["[object Error]"]=Qe["[object Function]"]=Qe["[object Map]"]=Qe["[object Number]"]=Qe["[object Object]"]=Qe["[object RegExp]"]=Qe["[object Set]"]=Qe["[object String]"]=Qe["[object WeakMap]"]=!1,j.exports=function Lt(Fe){return S(Fe)&&p(Fe.length)&&!!Qe[f(Fe)]}},2809:(j,w,h)=>{var f=h(5940),p=h(5488),S=h(2158),C=Object.prototype.hasOwnProperty;j.exports=function M(P){if(!f(P))return S(P);var x=p(P),F=[];for(var I in P)"constructor"==I&&(x||!C.call(P,I))||F.push(I);return F}},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,S){var T="";if(!p||S<1||S>9007199254740991)return T;do{S%2&&(T+=p),(S=h(S/2))&&(p+=p)}while(S);return T}},3269:(j,w,h)=>{var f=h(2608),p=h(3983),S=h(2185);j.exports=function T(C,M){return S(p(C,M,f),C+"")}},9510:(j,w,h)=>{var f=h(6684),p=h(6713),S=h(2608);j.exports=p?function(C,M){return p(C,"toString",{configurable:!0,enumerable:!1,value:f(M),writable:!0})}:S},4363:j=>{j.exports=function w(h,f,p){var S=-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);++S<T;)C[S]=h[S+f];return C}},5334:j=>{j.exports=function w(h,f){for(var p=-1,S=Array(h);++p<h;)S[p]=f(p);return S}},3935:(j,w,h)=>{var f=h(443),p=h(4633),S=h(1503),T=h(4129),M=f?f.prototype:void 0,P=M?M.toString:void 0;j.exports=function x(F){if("string"==typeof F)return F;if(S(F))return p(F,x)+"";if(T(F))return P?P.call(F):"";var I=F+"";return"0"==I&&1/F==-1/0?"-0":I}},3348:(j,w,h)=>{var f=h(2760),p=/^\s+/;j.exports=function S(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),S=h(177),T=h(5972),C=h(4575),M=h(4174);j.exports=function x(F,I,U){var z=-1,se=p,W=F.length,J=!0,ie=[],be=ie;if(U)J=!1,se=S;else if(W>=200){var Ke=I?null:C(F);if(Ke)return M(Ke);J=!1,se=T,be=new f}else be=I?[]:ie;e:for(;++z<W;){var Ee=F[z],Re=I?I(Ee):Ee;if(Ee=U||0!==Ee?Ee:0,J&&Re==Re){for(var $e=be.length;$e--;)if(be[$e]===Re)continue e;I&&be.push(Re),ie.push(Ee)}else se(be,Re,U)||(be!==ie&&be.push(Re),ie.push(Ee))}return ie}},5972:j=>{j.exports=function w(h,f){return h.has(f)}},2329:(j,w,h)=>{var f=h(4363);j.exports=function p(S,T,C){var M=S.length;return C=void 0===C?M:C,!T&&C>=M?S:f(S,T,C)}},1989:(j,w,h)=>{var f=h(9719),p=h(5683);j.exports=function S(T,C,M,P){var x=!M;M||(M={});for(var F=-1,I=C.length;++F<I;){var U=C[F],z=P?P(M[U],T[U],U,M,T):void 0;void 0===z&&(z=T[U]),x?p(M,U,z):f(M,U,z)}return M}},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 S(T){return f((function(C,M){var P=-1,x=M.length,F=x>1?M[x-1]:void 0,I=x>2?M[2]:void 0;for(F=T.length>3&&"function"==typeof F?(x--,F):void 0,I&&p(M[0],M[1],I)&&(F=x<3?void 0:F,x=1),C=Object(C);++P<x;){var U=M[P];U&&T(C,U,P,F)}return C}))}},1491:(j,w,h)=>{var f=h(8745),p=h(4707),S=h(7188),C=RegExp("['’]","g");j.exports=function M(P){return function(x){return f(S(p(x).replace(C,"")),P,"")}}},5171:(j,w,h)=>{var f=h(7065),p=h(3935),S=h(2329),T=h(7609),C=h(2315),M=h(6007),P=Math.ceil;j.exports=function x(F,I){var U=(I=void 0===I?" ":p(I)).length;if(U<2)return U?f(I,F):I;var z=f(I,P(F/C(I)));return T(I)?S(M(z),0,F).join(""):z.slice(0,F)}},4575:(j,w,h)=>{var f=h(6323),p=h(2552),S=h(4174),C=f&&1/S(new f([,-0]))[1]==1/0?function(M){return new f(M)}:p;j.exports=C},9148:(j,w,h)=>{var S=h(2724)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});j.exports=S},6713:(j,w,h)=>{var f=h(3436),p=function(){try{var S=f(Object,"defineProperty");return S({},"",{}),S}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(S,T){var C=S.__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 S(T,C){var M=p(T,C);return f(M)?M: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,S=p.hasOwnProperty,T=p.toString,C=f?f.toStringTag:void 0;j.exports=function M(P){var x=S.call(P,C),F=P[C];try{P[C]=void 0;var I=!0}catch{}var U=T.call(P);return I&&(x?P[C]=F:delete P[C]),U}},1990:j=>{j.exports=function w(h,f){return null==h?void 0:h[f]}},7609:j=>{var M=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");j.exports=function P(x){return M.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(M){var P=this.__data__;if(f){var x=P[M];return"__lodash_hash_undefined__"===x?void 0:x}return T.call(P,M)?P[M]:void 0}},8685:(j,w,h)=>{var f=h(862),S=Object.prototype.hasOwnProperty;j.exports=function T(C){var M=this.__data__;return f?void 0!==M[C]:S.call(M,C)}},6676:(j,w,h)=>{var f=h(862);j.exports=function S(T,C){var M=this.__data__;return this.size+=this.has(T)?0:1,M[T]=f&&void 0===C?"__lodash_hash_undefined__":C,this}},8442:j=>{var h=/^(?:0|[1-9]\d*)$/;j.exports=function f(p,S){var T=typeof p;return!!(S=S??9007199254740991)&&("number"==T||"symbol"!=T&&h.test(p))&&p>-1&&p%1==0&&p<S}},3342:(j,w,h)=>{var f=h(217),p=h(6507),S=h(8442),T=h(5940);j.exports=function C(M,P,x){if(!T(x))return!1;var F=typeof P;return!!("number"==F?p(x)&&S(P,x.length):"string"==F&&P in x)&&f(x[P],M)}},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 S(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),S=Array.prototype.splice;j.exports=function T(C){var M=this.__data__,P=f(M,C);return!(P<0||(P==M.length-1?M.pop():S.call(M,P,1),--this.size,0))}},4981:(j,w,h)=>{var f=h(3503);j.exports=function p(S){var T=this.__data__,C=f(T,S);return C<0?void 0:T[C][1]}},7343:(j,w,h)=>{var f=h(3503);j.exports=function p(S){return f(this.__data__,S)>-1}},8895:(j,w,h)=>{var f=h(3503);j.exports=function p(S,T){var C=this.__data__,M=f(C,S);return M<0?(++this.size,C.push([S,T])):C[M][1]=T,this}},638:(j,w,h)=>{var f=h(4994),p=h(9215),S=h(1501);j.exports=function T(){this.size=0,this.__data__={hash:new f,map:new(S||p),string:new f}}},1184:(j,w,h)=>{var f=h(4537);j.exports=function p(S){var T=f(this,S).delete(S);return this.size-=T?1:0,T}},866:(j,w,h)=>{var f=h(4537);j.exports=function p(S){return f(this,S).get(S)}},3771:(j,w,h)=>{var f=h(4537);j.exports=function p(S){return f(this,S).has(S)}},1772:(j,w,h)=>{var f=h(4537);j.exports=function p(S,T){var C=f(this,S),M=C.size;return C.set(S,T),this.size+=C.size==M?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,S=p&&j&&!j.nodeType&&j,C=S&&S.exports===p&&f.process,M=function(){try{return S&&S.require&&S.require("util").types||C&&C.binding&&C.binding("util")}catch{}}();j.exports=M},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 S(T,C,M){return C=p(void 0===C?T.length-1:C,0),function(){for(var P=arguments,x=-1,F=p(P.length-C,0),I=Array(F);++x<F;)I[x]=P[C+x];x=-1;for(var U=Array(C+1);++x<C;)U[x]=P[x];return U[C]=M(I),f(T,this,U)}}},2119:(j,w,h)=>{var f=h(9122),p="object"==typeof self&&self&&self.Object===Object&&self,S=f||p||Function("return this")();j.exports=S},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(S){p[++f]=S})),p}},2185:(j,w,h)=>{var f=h(9510),S=h(29)(f);j.exports=S},29:j=>{var f=Date.now;j.exports=function p(S){var T=0,C=0;return function(){var M=f(),P=16-(M-C);if(C=M,P>0){if(++T>=800)return arguments[0]}else T=0;return S.apply(void 0,arguments)}}},4977:j=>{j.exports=function w(h,f,p){for(var S=p-1,T=h.length;++S<T;)if(h[S]===f)return S;return-1}},2315:(j,w,h)=>{var f=h(5481),p=h(7609),S=h(1149);j.exports=function T(C){return p(C)?S(C):f(C)}},6007:(j,w,h)=>{var f=h(6422),p=h(7609),S=h(6319);j.exports=function T(C){return p(C)?S(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+"]",M="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",P="\\ud83c[\\udffb-\\udfff]",F="[^"+w+"]",I="(?:\\ud83c[\\udde6-\\uddff]){2}",U="[\\ud800-\\udbff][\\udc00-\\udfff]",se="(?:"+M+"|"+P+")?",W="[\\ufe0e\\ufe0f]?",ie=W+se+"(?:\\u200d(?:"+[F,I,U].join("|")+")"+W+se+")*",be="(?:"+[F+M+"?",M,I,U,C].join("|")+")",Ke=RegExp(P+"(?="+P+")|"+be+ie,"g");j.exports=function Ee(Re){for(var $e=Ke.lastIndex=0;Ke.test(Re);)++$e;return $e}},6319:j=>{var w="\\ud800-\\udfff",C="["+w+"]",M="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",P="\\ud83c[\\udffb-\\udfff]",F="[^"+w+"]",I="(?:\\ud83c[\\udde6-\\uddff]){2}",U="[\\ud800-\\udbff][\\udc00-\\udfff]",se="(?:"+M+"|"+P+")?",W="[\\ufe0e\\ufe0f]?",ie=W+se+"(?:\\u200d(?:"+[F,I,U].join("|")+")"+W+se+")*",be="(?:"+[F+M+"?",M,I,U,C].join("|")+")",Ke=RegExp(P+"(?="+P+")|"+be+ie,"g");j.exports=function Ee(Re){return Re.match(Ke)||[]}},910:j=>{var w="\\ud800-\\udfff",T="\\u2700-\\u27bf",C="a-z\\xdf-\\xf6\\xf8-\\xff",I="A-Z\\xc0-\\xd6\\xd8-\\xde",z="\\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",W="["+z+"]",ie="\\d+",be="["+T+"]",Ke="["+C+"]",Ee="[^"+w+z+ie+T+C+I+"]",Ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ge="["+I+"]",Ut="(?:"+Ke+"|"+Ee+")",Qe="(?:"+Ge+"|"+Ee+")",Lt="(?:['’](?:d|ll|m|re|s|t|ve))?",Fe="(?:['’](?: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+"]",Ze,Bt].join("|")+")"+me+le+")*",$t="(?:"+[be,Ze,Bt].join("|")+")"+Pt,un=RegExp([Ge+"?"+Ke+"+"+Lt+"(?="+[W,Ge,"$"].join("|")+")",Qe+"+"+Fe+"(?="+[W,Ge+Ut,"$"].join("|")+")",Ge+"?"+Ut+"+"+Lt,Ge+"+"+Fe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ie,$t].join("|"),"g");j.exports=function Jt(Rn){return Rn.match(un)||[]}},9919:(j,w,h)=>{var f=h(1989),p=h(4944),S=h(6555),T=p((function(C,M){f(M,S(M),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),S=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,F=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");j.exports=function I(U){return(U=p(U))&&U.replace(S,f).replace(F,"")}},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),S=Object.prototype,T=S.hasOwnProperty,C=S.propertyIsEnumerable,M=f(function(){return arguments}())?f:function(P){return p(P)&&T.call(P,"callee")&&!C.call(P,"callee")};j.exports=M},1503:j=>{j.exports=Array.isArray},6507:(j,w,h)=>{var f=h(5946),p=h(6231);j.exports=function S(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),S=w&&!w.nodeType&&w,T=S&&j&&!j.nodeType&&j,M=T&&T.exports===S?f.Buffer:void 0;j.exports=(M?M.isBuffer:void 0)||p},5946:(j,w,h)=>{var f=h(3337),p=h(5940);j.exports=function P(x){if(!p(x))return!1;var F=f(x);return"[object Function]"==F||"[object GeneratorFunction]"==F||"[object AsyncFunction]"==F||"[object Proxy]"==F}},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),S=h(2671),P=Function.prototype.toString,x=Object.prototype.hasOwnProperty,F=P.call(Object);j.exports=function I(U){if(!S(U)||"[object Object]"!=f(U))return!1;var z=p(U);if(null===z)return!0;var se=x.call(z,"constructor")&&z.constructor;return"function"==typeof se&&se instanceof se&&P.call(se)==F}},248:(j,w,h)=>{var f=h(3337),p=h(1503),S=h(2671);j.exports=function C(M){return"string"==typeof M||!p(M)&&S(M)&&"[object String]"==f(M)}},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),S=h(3597),T=S&&S.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),S=h(6507);j.exports=function T(C){return S(C)?f(C,!0):p(C)}},2552:j=>{j.exports=function w(){}},8448:(j,w,h)=>{var f=h(5171),p=h(2315),S=h(4401),T=h(3943);j.exports=function C(M,P,x){M=T(M);var F=(P=S(P))?p(M):0;return P&&F<P?f(P-F,x)+M:M}},1978:(j,w,h)=>{var p=h(1491)((function(S,T,C){return S+(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(S){var T=f(S),C=T%1;return T==T?C?T-C:T:0}},1467:(j,w,h)=>{var f=h(3348),p=h(5940),S=h(4129),C=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,P=/^0o[0-7]+$/i,x=parseInt;j.exports=function F(I){if("number"==typeof I)return I;if(S(I))return NaN;if(p(I)){var U="function"==typeof I.valueOf?I.valueOf():I;I=p(U)?U+"":U}if("string"!=typeof I)return 0===I?I:+I;I=f(I);var z=M.test(I);return z||P.test(I)?x(I.slice(2),z?2:8):C.test(I)?NaN:+I}},3943:(j,w,h)=>{var f=h(3935);j.exports=function p(S){return null==S?"":f(S)}},836:(j,w,h)=>{var f=h(707);j.exports=function p(S){return S&&S.length?f(S):[]}},7188:(j,w,h)=>{var f=h(69),p=h(9062),S=h(3943),T=h(910);j.exports=function C(M,P,x){return M=S(M),void 0===(P=x?void 0:P)?p(M)?T(M):f(M):M.match(P)||[]}},4879:(j,w,h)=>{"use strict";h.r(w),h.d(w,{decode:()=>Ge,default:()=>Fe,encode:()=>ct,toASCII:()=>Qe,toUnicode:()=>Ut,ucs2decode:()=>Re,ucs2encode:()=>$e});const f=2147483647,p=36,I=/^xn--/,U=/[^\0-\x7E]/,z=/[\x2E\u3002\uFF0E\uFF61]/g,se={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J=Math.floor,ie=String.fromCharCode;function be(le){throw new RangeError(se[le])}function Ee(le,me){const Ce=le.split("@");let ee="";Ce.length>1&&(ee=Ce[0]+"@",le=Ce[1]);const Pt=function Ke(le,me){const Ce=[];let ee=le.length;for(;ee--;)Ce[ee]=me(le[ee]);return Ce}((le=le.replace(z,".")).split("."),me).join(".");return ee+Pt}function Re(le){const me=[];let Ce=0;const ee=le.length;for(;Ce<ee;){const Pe=le.charCodeAt(Ce++);if(Pe>=55296&&Pe<=56319&&Ce<ee){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),xe=function(le){return le-48<10?le-22:le-65<26?le-65:le-97<26?le-97:p},Ze=function(le,me){return le+22+75*(le<26)-((0!=me)<<5)},Bt=function(le,me,Ce){let ee=0;for(le=Ce?J(le/700):le>>1,le+=J(le/me);le>455;ee+=p)le=J(le/35);return J(ee+36*le/(le+38))},Ge=function(le){const me=[],Ce=le.length;let ee=0,Pe=128,Pt=72,$t=le.lastIndexOf("-");$t<0&&($t=0);for(let un=0;un<$t;++un)le.charCodeAt(un)>=128&&be("not-basic"),me.push(le.charCodeAt(un));for(let un=$t>0?$t+1:0;un<Ce;){let Jt=ee;for(let Dn=1,Mn=p;;Mn+=p){un>=Ce&&be("invalid-input");const Cn=xe(le.charCodeAt(un++));(Cn>=p||Cn>J((f-ee)/Dn))&&be("overflow"),ee+=Cn*Dn;const Nt=Mn<=Pt?1:Mn>=Pt+26?26:Mn-Pt;if(Cn<Nt)break;const kt=p-Nt;Dn>J(f/kt)&&be("overflow"),Dn*=kt}const Rn=me.length+1;Pt=Bt(ee-Jt,Rn,0==Jt),J(ee/Rn)>f-Pe&&be("overflow"),Pe+=J(ee/Rn),ee%=Rn,me.splice(ee++,0,Pe)}return String.fromCodePoint(...me)},ct=function(le){const me=[];let Ce=(le=Re(le)).length,ee=128,Pe=0,Pt=72;for(const Jt of le)Jt<128&&me.push(ie(Jt));let $t=me.length,un=$t;for($t&&me.push("-");un<Ce;){let Jt=f;for(const Dn of le)Dn>=ee&&Dn<Jt&&(Jt=Dn);const Rn=un+1;Jt-ee>J((f-Pe)/Rn)&&be("overflow"),Pe+=(Jt-ee)*Rn,ee=Jt;for(const Dn of le)if(Dn<ee&&++Pe>f&&be("overflow"),Dn==ee){let Mn=Pe;for(let Cn=p;;Cn+=p){const Nt=Cn<=Pt?1:Cn>=Pt+26?26:Cn-Pt;if(Mn<Nt)break;const kt=Mn-Nt,Bn=p-Nt;me.push(ie(Ze(Nt+kt%Bn,0))),Mn=J(kt/Bn)}me.push(ie(Ze(Mn,0))),Pt=Bt(Pe,Rn,un==$t),Pe=0,++un}++Pe,++ee}return me.join("")},Ut=function(le){return Ee(le,(function(me){return I.test(me)?Ge(me.slice(4).toLowerCase()):me}))},Qe=function(le){return Ee(le,(function(me){return U.test(me)?"xn--"+ct(me):me}))},Fe={version:"2.1.0",ucs2:{decode:Re,encode:$e},decode:Ge,encode:ct,toASCII:Qe,toUnicode:Ut}},2916:(j,w,h)=>{"use strict";h.d(w,{y:()=>U});var f=h(3489),S=h(7668),T=h(3292),M=h(3821),P=h(5379);var I=h(2830);let U=(()=>{class se{constructor(J){this._isScalar=!1,J&&(this._subscribe=J)}lift(J){const ie=new se;return ie.source=this,ie.operator=J,ie}subscribe(J,ie,be){const{operator:Ke}=this,Ee=function C(se,W,J){if(se){if(se instanceof f.L)return se;if(se[S.b])return se[S.b]()}return se||W||J?new f.L(se,W,J):new f.L(T.c)}(J,ie,be);if(Ee.add(Ke?Ke.call(Ee,this.source):this.source||I.v.useDeprecatedSynchronousErrorHandling&&!Ee.syncErrorThrowable?this._subscribe(Ee):this._trySubscribe(Ee)),I.v.useDeprecatedSynchronousErrorHandling&&Ee.syncErrorThrowable&&(Ee.syncErrorThrowable=!1,Ee.syncErrorThrown))throw Ee.syncErrorValue;return Ee}_trySubscribe(J){try{return this._subscribe(J)}catch(ie){I.v.useDeprecatedSynchronousErrorHandling&&(J.syncErrorThrown=!0,J.syncErrorValue=ie),function p(se){for(;se;){const{closed:W,destination:J,isStopped:ie}=se;if(W||ie)return!1;se=J&&J instanceof f.L?J:null}return!0}(J)?J.error(ie):console.warn(ie)}}forEach(J,ie){return new(ie=z(ie))(((be,Ke)=>{let Ee;Ee=this.subscribe((Re=>{try{J(Re)}catch($e){Ke($e),Ee&&Ee.unsubscribe()}}),Ke,be)}))}_subscribe(J){const{source:ie}=this;return ie&&ie.subscribe(J)}[M.L](){return this}pipe(...J){return 0===J.length?this:function F(se){return 0===se.length?P.y:1===se.length?se[0]:function(J){return se.reduce(((ie,be)=>be(ie)),J)}}(J)(this)}toPromise(J){return new(J=z(J))(((ie,be)=>{let Ke;this.subscribe((Ee=>Ke=Ee),(Ee=>be(Ee)),(()=>ie(Ke)))}))}}return se.create=W=>new se(W),se})();function z(se){if(se||(se=I.v.Promise||Promise),!se)throw new Error("no Promise impl found");return se}},3292:(j,w,h)=>{"use strict";h.d(w,{c:()=>S});var f=h(2830),p=h(2782);const S={closed:!0,next(T){},error(T){if(f.v.useDeprecatedSynchronousErrorHandling)throw T;(0,p.z)(T)},complete(){}}},5529:(j,w,h)=>{"use strict";h.d(w,{xQ:()=>x,Yc:()=>P});var f=h(2916),p=h(3489),S=h(2654),T=h(5279);class C extends S.w{constructor(U,z){super(),this.subject=U,this.subscriber=z,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const U=this.subject,z=U.observers;if(this.subject=null,!z||0===z.length||U.isStopped||U.closed)return;const se=z.indexOf(this.subscriber);-1!==se&&z.splice(se,1)}}var M=h(7668);class P extends p.L{constructor(U){super(U),this.destination=U}}let x=(()=>{class I extends f.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[M.b](){return new P(this)}lift(z){const se=new F(this,this);return se.operator=z,se}next(z){if(this.closed)throw new T.N;if(!this.isStopped){const{observers:se}=this,W=se.length,J=se.slice();for(let ie=0;ie<W;ie++)J[ie].next(z)}}error(z){if(this.closed)throw new T.N;this.hasError=!0,this.thrownError=z,this.isStopped=!0;const{observers:se}=this,W=se.length,J=se.slice();for(let ie=0;ie<W;ie++)J[ie].error(z);this.observers.length=0}complete(){if(this.closed)throw new T.N;this.isStopped=!0;const{observers:z}=this,se=z.length,W=z.slice();for(let J=0;J<se;J++)W[J].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(z){if(this.closed)throw new T.N;return super._trySubscribe(z)}_subscribe(z){if(this.closed)throw new T.N;return this.hasError?(z.error(this.thrownError),S.w.EMPTY):this.isStopped?(z.complete(),S.w.EMPTY):(this.observers.push(z),new C(this,z))}asObservable(){const z=new f.y;return z.source=this,z}}return I.create=(U,z)=>new F(U,z),I})();class F extends x{constructor(U,z){super(),this.destination=U,this.source=z}next(U){const{destination:z}=this;z&&z.next&&z.next(U)}error(U){const{destination:z}=this;z&&z.error&&this.destination.error(U)}complete(){const{destination:U}=this;U&&U.complete&&this.destination.complete()}_subscribe(U){const{source:z}=this;return z?this.source.subscribe(U):S.w.EMPTY}}},3489:(j,w,h)=>{"use strict";h.d(w,{L:()=>P});var f=h(7043),p=h(3292),S=h(2654),T=h(7668),C=h(2830),M=h(2782);class P extends S.w{constructor(I,U,z){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(!I){this.destination=p.c;break}if("object"==typeof I){I instanceof P?(this.syncErrorThrowable=I.syncErrorThrowable,this.destination=I,I.add(this)):(this.syncErrorThrowable=!0,this.destination=new x(this,I));break}default:this.syncErrorThrowable=!0,this.destination=new x(this,I,U,z)}}[T.b](){return this}static create(I,U,z){const se=new P(I,U,z);return se.syncErrorThrowable=!1,se}next(I){this.isStopped||this._next(I)}error(I){this.isStopped||(this.isStopped=!0,this._error(I))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(I){this.destination.next(I)}_error(I){this.destination.error(I),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:I}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=I,this}}class x extends P{constructor(I,U,z,se){super(),this._parentSubscriber=I;let W,J=this;(0,f.m)(U)?W=U:U&&(W=U.next,z=U.error,se=U.complete,U!==p.c&&(J=Object.create(U),(0,f.m)(J.unsubscribe)&&this.add(J.unsubscribe.bind(J)),J.unsubscribe=this.unsubscribe.bind(this))),this._context=J,this._next=W,this._error=z,this._complete=se}next(I){if(!this.isStopped&&this._next){const{_parentSubscriber:U}=this;C.v.useDeprecatedSynchronousErrorHandling&&U.syncErrorThrowable?this.__tryOrSetError(U,this._next,I)&&this.unsubscribe():this.__tryOrUnsub(this._next,I)}}error(I){if(!this.isStopped){const{_parentSubscriber:U}=this,{useDeprecatedSynchronousErrorHandling:z}=C.v;if(this._error)z&&U.syncErrorThrowable?(this.__tryOrSetError(U,this._error,I),this.unsubscribe()):(this.__tryOrUnsub(this._error,I),this.unsubscribe());else if(U.syncErrorThrowable)z?(U.syncErrorValue=I,U.syncErrorThrown=!0):(0,M.z)(I),this.unsubscribe();else{if(this.unsubscribe(),z)throw I;(0,M.z)(I)}}}complete(){if(!this.isStopped){const{_parentSubscriber:I}=this;if(this._complete){const U=()=>this._complete.call(this._context);C.v.useDeprecatedSynchronousErrorHandling&&I.syncErrorThrowable?(this.__tryOrSetError(I,U),this.unsubscribe()):(this.__tryOrUnsub(U),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(I,U){try{I.call(this._context,U)}catch(z){if(this.unsubscribe(),C.v.useDeprecatedSynchronousErrorHandling)throw z;(0,M.z)(z)}}__tryOrSetError(I,U,z){if(!C.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{U.call(this._context,z)}catch(se){return C.v.useDeprecatedSynchronousErrorHandling?(I.syncErrorValue=se,I.syncErrorThrown=!0,!0):((0,M.z)(se),!0)}return!1}_unsubscribe(){const{_parentSubscriber:I}=this;this._context=null,this._parentSubscriber=null,I.unsubscribe()}}},2654:(j,w,h)=>{"use strict";h.d(w,{w:()=>M});var f=h(6688),p=h(7830),S=h(7043);const C=(()=>{function x(F){return Error.call(this),this.message=F?`${F.length} errors occurred during unsubscription:\n${F.map(((I,U)=>`${U+1}) ${I.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=F,this}return x.prototype=Object.create(Error.prototype),x})();class M{constructor(F){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,F&&(this._ctorUnsubscribe=!0,this._unsubscribe=F)}unsubscribe(){let F;if(this.closed)return;let{_parentOrParents:I,_ctorUnsubscribe:U,_unsubscribe:z,_subscriptions:se}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,I instanceof M)I.remove(this);else if(null!==I)for(let W=0;W<I.length;++W)I[W].remove(this);if((0,S.m)(z)){U&&(this._unsubscribe=void 0);try{z.call(this)}catch(W){F=W instanceof C?P(W.errors):[W]}}if((0,f.k)(se)){let W=-1,J=se.length;for(;++W<J;){const ie=se[W];if((0,p.K)(ie))try{ie.unsubscribe()}catch(be){F=F||[],be instanceof C?F=F.concat(P(be.errors)):F.push(be)}}}if(F)throw new C(F)}add(F){let I=F;if(!F)return M.EMPTY;switch(typeof F){case"function":I=new M(F);case"object":if(I===this||I.closed||"function"!=typeof I.unsubscribe)return I;if(this.closed)return I.unsubscribe(),I;if(!(I instanceof M)){const se=I;I=new M,I._subscriptions=[se]}break;default:throw new Error("unrecognized teardown "+F+" added to Subscription.")}let{_parentOrParents:U}=I;if(null===U)I._parentOrParents=this;else if(U instanceof M){if(U===this)return I;I._parentOrParents=[U,this]}else{if(-1!==U.indexOf(this))return I;U.push(this)}const z=this._subscriptions;return null===z?this._subscriptions=[I]:z.push(I),I}remove(F){const I=this._subscriptions;if(I){const U=I.indexOf(F);-1!==U&&I.splice(U,1)}}}var x;function P(x){return x.reduce(((F,I)=>F.concat(I instanceof C?I.errors:I)),[])}M.EMPTY=((x=new M).closed=!0,x)},2830:(j,w,h)=>{"use strict";h.d(w,{v:()=>p});let f=!1;const p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(S){if(S){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=S},get useDeprecatedSynchronousErrorHandling(){return f}}},1177:(j,w,h)=>{"use strict";h.d(w,{Ds:()=>M,IY:()=>T,ft:()=>x});var f=h(3489),p=h(2916),S=h(9249);class T extends f.L{constructor(I){super(),this.parent=I}_next(I){this.parent.notifyNext(I)}_error(I){this.parent.notifyError(I),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class M extends f.L{notifyNext(I){this.destination.next(I)}notifyError(I){this.destination.error(I)}notifyComplete(){this.destination.complete()}}function x(F,I){if(I.closed)return;if(F instanceof p.y)return F.subscribe(I);let U;try{U=(0,S.s)(F)(I)}catch(z){I.error(z)}return U}},1762:(j,w,h)=>{"use strict";h.d(w,{N:()=>M,c:()=>C});var f=h(5529),p=h(2916),S=h(2654),T=h(4327);class C extends p.y{constructor(U,z){super(),this.source=U,this.subjectFactory=z,this._refCount=0,this._isComplete=!1}_subscribe(U){return this.getSubject().subscribe(U)}getSubject(){const U=this._subject;return(!U||U.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let U=this._connection;return U||(this._isComplete=!1,U=this._connection=new S.w,U.add(this.source.subscribe(new P(this.getSubject(),this))),U.closed&&(this._connection=null,U=S.w.EMPTY)),U}refCount(){return(0,T.x)()(this)}}const M=(()=>{const I=C.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:I._subscribe},_isComplete:{value:I._isComplete,writable:!0},getSubject:{value:I.getSubject},connect:{value:I.connect},refCount:{value:I.refCount}}})();class P extends f.Yc{constructor(U,z){super(U),this.connectable=z}_error(U){this._unsubscribe(),super._error(U)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const U=this.connectable;if(U){this.connectable=null;const z=U._connection;U._refCount=0,U._subject=null,U._connection=null,z&&z.unsubscribe()}}}},3426:(j,w,h)=>{"use strict";h.d(w,{aj:()=>U});var f=h(2866),p=h(6688),S=h(3489);class T extends S.L{notifyNext(J,ie,be,Ke,Ee){this.destination.next(ie)}notifyError(J,ie){this.destination.error(J)}notifyComplete(J){this.destination.complete()}}class C extends S.L{constructor(J,ie,be){super(),this.parent=J,this.outerValue=ie,this.outerIndex=be,this.index=0}_next(J){this.parent.notifyNext(this.outerValue,J,this.outerIndex,this.index++,this)}_error(J){this.parent.notifyError(J,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var M=h(9249),P=h(2916);function x(W,J,ie,be,Ke=new C(W,ie,be)){if(!Ke.closed)return J instanceof P.y?J.subscribe(Ke):(0,M.s)(J)(Ke)}var F=h(3009);const I={};function U(...W){let J,ie;return(0,f.K)(W[W.length-1])&&(ie=W.pop()),"function"==typeof W[W.length-1]&&(J=W.pop()),1===W.length&&(0,p.k)(W[0])&&(W=W[0]),(0,F.n)(W,ie).lift(new z(J))}class z{constructor(J){this.resultSelector=J}call(J,ie){return ie.subscribe(new se(J,this.resultSelector))}}class se extends T{constructor(J,ie){super(J),this.resultSelector=ie,this.active=0,this.values=[],this.observables=[]}_next(J){this.values.push(I),this.observables.push(J)}_complete(){const J=this.observables,ie=J.length;if(0===ie)this.destination.complete();else{this.active=ie,this.toRespond=ie;for(let be=0;be<ie;be++)this.add(x(this,J[be],void 0,be))}}notifyComplete(J){0==(this.active-=1)&&this.destination.complete()}notifyNext(J,ie,be){const Ke=this.values,Re=this.toRespond?Ke[be]===I?--this.toRespond:this.toRespond:0;Ke[be]=ie,0===Re&&(this.resultSelector?this._tryResultSelector(Ke):this.destination.next(Ke.slice()))}_tryResultSelector(J){let ie;try{ie=this.resultSelector.apply(this,J)}catch(be){return void this.destination.error(be)}this.destination.next(ie)}}},1221:(j,w,h)=>{"use strict";h.d(w,{z:()=>T});var f=h(1086),p=h(9146);function T(...C){return function S(){return(0,p.J)(1)}()((0,f.of)(...C))}},5254:(j,w,h)=>{"use strict";h.d(w,{D:()=>J});var f=h(2916),p=h(9249),S=h(2654),T=h(3821),P=h(6454),x=h(5430),U=h(8955),z=h(8515);function J(ie,be){return be?function W(ie,be){if(null!=ie){if(function I(ie){return ie&&"function"==typeof ie[T.L]}(ie))return function C(ie,be){return new f.y((Ke=>{const Ee=new S.w;return Ee.add(be.schedule((()=>{const Re=ie[T.L]();Ee.add(Re.subscribe({next($e){Ee.add(be.schedule((()=>Ke.next($e))))},error($e){Ee.add(be.schedule((()=>Ke.error($e))))},complete(){Ee.add(be.schedule((()=>Ke.complete())))}}))}))),Ee}))}(ie,be);if((0,U.t)(ie))return function M(ie,be){return new f.y((Ke=>{const Ee=new S.w;return Ee.add(be.schedule((()=>ie.then((Re=>{Ee.add(be.schedule((()=>{Ke.next(Re),Ee.add(be.schedule((()=>Ke.complete())))})))}),(Re=>{Ee.add(be.schedule((()=>Ke.error(Re))))}))))),Ee}))}(ie,be);if((0,z.z)(ie))return(0,P.r)(ie,be);if(function se(ie){return ie&&"function"==typeof ie[x.hZ]}(ie)||"string"==typeof ie)return function F(ie,be){if(!ie)throw new Error("Iterable cannot be null");return new f.y((Ke=>{const Ee=new S.w;let Re;return Ee.add((()=>{Re&&"function"==typeof Re.return&&Re.return()})),Ee.add(be.schedule((()=>{Re=ie[x.hZ](),Ee.add(be.schedule((function(){if(Ke.closed)return;let $e,xe;try{const Ze=Re.next();$e=Ze.value,xe=Ze.done}catch(Ze){return void Ke.error(Ze)}xe?Ke.complete():(Ke.next($e),this.schedule())})))}))),Ee}))}(ie,be)}throw new TypeError((null!==ie&&typeof ie||ie)+" is not observable")}(ie,be):ie instanceof f.y?ie:new f.y((0,p.s)(ie))}},3009:(j,w,h)=>{"use strict";h.d(w,{n:()=>T});var f=h(2916),p=h(3650),S=h(6454);function T(C,M){return M?(0,S.r)(C,M):new f.y((0,p.V)(C))}},3753:(j,w,h)=>{"use strict";h.d(w,{R:()=>M});var f=h(2916),p=h(6688),S=h(7043),T=h(4850);function M(U,z,se,W){return(0,S.m)(se)&&(W=se,se=void 0),W?M(U,z,se).pipe((0,T.U)((J=>(0,p.k)(J)?W(...J):W(J)))):new f.y((J=>{P(U,z,(function ie(be){J.next(arguments.length>1?Array.prototype.slice.call(arguments):be)}),J,se)}))}function P(U,z,se,W,J){let ie;if(function I(U){return U&&"function"==typeof U.addEventListener&&"function"==typeof U.removeEventListener}(U)){const be=U;U.addEventListener(z,se,J),ie=()=>be.removeEventListener(z,se,J)}else if(function F(U){return U&&"function"==typeof U.on&&"function"==typeof U.off}(U)){const be=U;U.on(z,se),ie=()=>be.off(z,se)}else if(function x(U){return U&&"function"==typeof U.addListener&&"function"==typeof U.removeListener}(U)){const be=U;U.addListener(z,se),ie=()=>be.removeListener(z,se)}else{if(!U||!U.length)throw new TypeError("Invalid event target");for(let be=0,Ke=U.length;be<Ke;be++)P(U[be],z,se,W,J)}W.add(ie)}},1086:(j,w,h)=>{"use strict";h.d(w,{of:()=>T});var f=h(2866),p=h(3009),S=h(6454);function T(...C){let M=C[C.length-1];return(0,f.K)(M)?(C.pop(),(0,S.r)(C,M)):(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?M=>C.schedule(S,0,{error:T,subscriber:M}):M=>M.error(T))}function S({error:T,subscriber:C}){C.error(T)}},7221:(j,w,h)=>{"use strict";h.d(w,{K:()=>p});var f=h(1177);function p(C){return function(P){const x=new S(C),F=P.lift(x);return x.caught=F}}class S{constructor(M){this.selector=M}call(M,P){return P.subscribe(new T(M,this.selector,this.caught))}}class T extends f.Ds{constructor(M,P,x){super(M),this.selector=P,this.caught=x}error(M){if(!this.isStopped){let P;try{P=this.selector(M,this.caught)}catch(I){return void super.error(I)}this._unsubscribeAndRecycle();const x=new f.IY(this);this.add(x);const F=(0,f.ft)(P,x);F!==x&&this.add(F)}}}},1406:(j,w,h)=>{"use strict";h.d(w,{b:()=>p});var f=h(1709);function p(S,T){return(0,f.zg)(S,T,1)}},2198:(j,w,h)=>{"use strict";h.d(w,{h:()=>p});var f=h(3489);function p(C,M){return function(x){return x.lift(new S(C,M))}}class S{constructor(M,P){this.predicate=M,this.thisArg=P}call(M,P){return P.subscribe(new T(M,this.predicate,this.thisArg))}}class T extends f.L{constructor(M,P,x){super(M),this.predicate=P,this.thisArg=x,this.count=0}_next(M){let P;try{P=this.predicate.call(this.thisArg,M,this.count++)}catch(x){return void this.destination.error(x)}P&&this.destination.next(M)}}},537:(j,w,h)=>{"use strict";h.d(w,{x:()=>S});var f=h(3489),p=h(2654);function S(M){return P=>P.lift(new T(M))}class T{constructor(P){this.callback=P}call(P,x){return x.subscribe(new C(P,this.callback))}}class C extends f.L{constructor(P,x){super(P),this.add(new p.w(x))}}},4850:(j,w,h)=>{"use strict";h.d(w,{U:()=>p});var f=h(3489);function p(C,M){return function(x){if("function"!=typeof C)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return x.lift(new S(C,M))}}class S{constructor(M,P){this.project=M,this.thisArg=P}call(M,P){return P.subscribe(new T(M,this.project,this.thisArg))}}class T extends f.L{constructor(M,P,x){super(M),this.project=P,this.count=0,this.thisArg=x||this}_next(M){let P;try{P=this.project.call(this.thisArg,M,this.count++)}catch(x){return void this.destination.error(x)}this.destination.next(P)}}},9146:(j,w,h)=>{"use strict";h.d(w,{J:()=>S});var f=h(1709),p=h(5379);function S(T=Number.POSITIVE_INFINITY){return(0,f.zg)(p.y,T)}},1709:(j,w,h)=>{"use strict";h.d(w,{zg:()=>T});var f=h(4850),p=h(5254),S=h(1177);function T(x,F,I=Number.POSITIVE_INFINITY){return"function"==typeof F?U=>U.pipe(T(((z,se)=>(0,p.D)(x(z,se)).pipe((0,f.U)(((W,J)=>F(z,W,se,J))))),I)):("number"==typeof F&&(I=F),U=>U.lift(new C(x,I)))}class C{constructor(F,I=Number.POSITIVE_INFINITY){this.project=F,this.concurrent=I}call(F,I){return I.subscribe(new M(F,this.project,this.concurrent))}}class M extends S.Ds{constructor(F,I,U=Number.POSITIVE_INFINITY){super(F),this.project=I,this.concurrent=U,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(F){this.active<this.concurrent?this._tryNext(F):this.buffer.push(F)}_tryNext(F){let I;const U=this.index++;try{I=this.project(F,U)}catch(z){return void this.destination.error(z)}this.active++,this._innerSub(I)}_innerSub(F){const I=new S.IY(this),U=this.destination;U.add(I);const z=(0,S.ft)(F,I);z!==I&&U.add(z)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(F){this.destination.next(F)}notifyComplete(){const F=this.buffer;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(M){return M.lift(new S(M))}}class S{constructor(M){this.connectable=M}call(M,P){const{connectable:x}=this;x._refCount++;const F=new T(M,x),I=P.subscribe(F);return F.closed||(F.connection=x.connect()),I}}class T extends f.L{constructor(M,P){super(M),this.connectable=P}_unsubscribe(){const{connectable:M}=this;if(!M)return void(this.connection=null);this.connectable=null;const P=M._refCount;if(P<=0)return void(this.connection=null);if(M._refCount=P-1,P>1)return void(this.connection=null);const{connection:x}=this,F=M._connection;this.connection=null,F&&(!x||F===x)&&F.unsubscribe()}}},1059:(j,w,h)=>{"use strict";h.d(w,{O:()=>S});var f=h(1221),p=h(2866);function S(...T){const C=T[T.length-1];return(0,p.K)(C)?(T.pop(),M=>(0,f.z)(T,M,C)):M=>(0,f.z)(T,M)}},2868:(j,w,h)=>{"use strict";h.d(w,{b:()=>T});var f=h(3489);function p(){}var S=h(7043);function T(P,x,F){return function(U){return U.lift(new C(P,x,F))}}class C{constructor(x,F,I){this.nextOrObserver=x,this.error=F,this.complete=I}call(x,F){return F.subscribe(new M(x,this.nextOrObserver,this.error,this.complete))}}class M extends f.L{constructor(x,F,I,U){super(x),this._tapNext=p,this._tapError=p,this._tapComplete=p,this._tapError=I||p,this._tapComplete=U||p,(0,S.m)(F)?(this._context=this,this._tapNext=F):F&&(this._context=F,this._tapNext=F.next||p,this._tapError=F.error||p,this._tapComplete=F.complete||p)}_next(x){try{this._tapNext.call(this._context,x)}catch(F){return void this.destination.error(F)}this.destination.next(x)}_error(x){try{this._tapError.call(this._context,x)}catch(F){return void this.destination.error(F)}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:()=>S});var f=h(2916),p=h(2654);function S(T,C){return new f.y((M=>{const P=new p.w;let x=0;return P.add(C.schedule((function(){x!==T.length?(M.next(T[x++]),M.closed||P.add(this.schedule())):M.complete()}))),P}))}},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 S(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return S.prototype=Object.create(Error.prototype),S})()},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:()=>U});var f=h(3650),p=h(2782),T=h(5430),M=h(3821),x=h(8515),F=h(8955),I=h(7830);const U=z=>{if(z&&"function"==typeof z[M.L])return(z=>se=>{const W=z[M.L]();if("function"!=typeof W.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return W.subscribe(se)})(z);if((0,x.z)(z))return(0,f.V)(z);if((0,F.t)(z))return(z=>se=>(z.then((W=>{se.closed||(se.next(W),se.complete())}),(W=>se.error(W))).then(null,p.z),se))(z);if(z&&"function"==typeof z[T.hZ])return(z=>se=>{const W=z[T.hZ]();for(;;){let J;try{J=W.next()}catch(ie){return se.error(ie),se}if(J.done){se.complete();break}if(se.next(J.value),se.closed)break}return"function"==typeof W.return&&se.add((()=>{W.return&&W.return()})),se})(z);{const W=`You provided ${(0,I.K)(z)?"an invalid object":`'${z}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(W)}}},3650:(j,w,h)=>{"use strict";h.d(w,{V:()=>f});const f=p=>S=>{for(let T=0,C=p.length;T<C&&!S.closed;T++)S.next(p[T]);S.complete()}},8583:()=>{"use strict";!function(X){const fe=X.performance;function Z(tt){fe&&fe.mark&&fe.mark(tt)}function H(tt,qe){fe&&fe.measure&&fe.measure(tt,qe)}Z("Zone");const L=X.__Zone_symbol_prefix||"__zone_symbol__";function ae(tt){return L+tt}const ce=!0===X[ae("forceDuplicateZoneCheck")];if(X.Zone){if(ce||"function"!=typeof X.Zone.__symbol__)throw new Error("Zone already loaded.");return X.Zone}let ge=(()=>{class tt{constructor(te,ye){this._parent=te,this._name=ye?ye.name||"unnamed":"<root>",this._properties=ye&&ye.properties||{},this._zoneDelegate=new rt(this,this._parent&&this._parent._zoneDelegate,ye)}static assertZonePatched(){if(X.Promise!==pe.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=tt.current;for(;te.parent;)te=te.parent;return te}static get current(){return $.zone}static get currentTask(){return ue}static __load_patch(te,ye,ot=!1){if(pe.hasOwnProperty(te)){if(!ot&&ce)throw Error("Already loaded patch: "+te)}else if(!X["__Zone_disable_"+te]){const Ve="Zone:"+te;Z(Ve),pe[te]=ye(X,tt,q),H(Ve,Ve)}}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 ot=this._zoneDelegate.intercept(this,te,ye),Ve=this;return function(){return Ve.runGuarded(ot,this,arguments,ye)}}run(te,ye,ot,Ve){$={parent:$,zone:this};try{return this._zoneDelegate.invoke(this,te,ye,ot,Ve)}finally{$=$.parent}}runGuarded(te,ye=null,ot,Ve){$={parent:$,zone:this};try{try{return this._zoneDelegate.invoke(this,te,ye,ot,Ve)}catch(Xt){if(this._zoneDelegate.handleError(this,Xt))throw Xt}}finally{$=$.parent}}runTask(te,ye,ot){if(te.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(te.zone||hn).name+"; Execution: "+this.name+")");if(te.state===Kt&&(te.type===Qt||te.type===Ye))return;const Ve=te.state!=st;Ve&&te._transitionTo(st,lt),te.runCount++;const Xt=ue;ue=te,$={parent:$,zone:this};try{te.type==Ye&&te.data&&!te.data.isPeriodic&&(te.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,te,ye,ot)}catch(Ue){if(this._zoneDelegate.handleError(this,Ue))throw Ue}}finally{te.state!==Kt&&te.state!==et&&(te.type==Qt||te.data&&te.data.isPeriodic?Ve&&te._transitionTo(lt,st):(te.runCount=0,this._updateTaskCount(te,-1),Ve&&te._transitionTo(Kt,st,Kt))),$=$.parent,ue=Xt}}scheduleTask(te){if(te.zone&&te.zone!==this){let ot=this;for(;ot;){if(ot===te.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${te.zone.name}`);ot=ot.parent}}te._transitionTo(Zt,Kt);const ye=[];te._zoneDelegates=ye,te._zone=this;try{te=this._zoneDelegate.scheduleTask(this,te)}catch(ot){throw te._transitionTo(et,Zt,Kt),this._zoneDelegate.handleError(this,ot),ot}return te._zoneDelegates===ye&&this._updateTaskCount(te,1),te.state==Zt&&te._transitionTo(lt,Zt),te}scheduleMicroTask(te,ye,ot,Ve){return this.scheduleTask(new je(xt,te,ye,ot,Ve,void 0))}scheduleMacroTask(te,ye,ot,Ve,Xt){return this.scheduleTask(new je(Ye,te,ye,ot,Ve,Xt))}scheduleEventTask(te,ye,ot,Ve,Xt){return this.scheduleTask(new je(Qt,te,ye,ot,Ve,Xt))}cancelTask(te){if(te.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(te.zone||hn).name+"; Execution: "+this.name+")");te._transitionTo(Yt,lt,st);try{this._zoneDelegate.cancelTask(this,te)}catch(ye){throw te._transitionTo(et,Yt),this._zoneDelegate.handleError(this,ye),ye}return this._updateTaskCount(te,-1),te._transitionTo(Kt,Yt),te.runCount=0,te}_updateTaskCount(te,ye){const ot=te._zoneDelegates;-1==ye&&(te._zoneDelegates=null);for(let Ve=0;Ve<ot.length;Ve++)ot[Ve]._updateTaskCount(te.type,ye)}}return tt.__symbol__=ae,tt})();const Te={name:"",onHasTask:(tt,qe,te,ye)=>tt.hasTask(te,ye),onScheduleTask:(tt,qe,te,ye)=>tt.scheduleTask(te,ye),onInvokeTask:(tt,qe,te,ye,ot,Ve)=>tt.invokeTask(te,ye,ot,Ve),onCancelTask:(tt,qe,te,ye)=>tt.cancelTask(te,ye)};class rt{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 ot=ye&&ye.onHasTask;(ot||te&&te._hasTaskZS)&&(this._hasTaskZS=ot?ye:Te,this._hasTaskDlgt=te,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=qe,ye.onScheduleTask||(this._scheduleTaskZS=Te,this._scheduleTaskDlgt=te,this._scheduleTaskCurrZone=this.zone),ye.onInvokeTask||(this._invokeTaskZS=Te,this._invokeTaskDlgt=te,this._invokeTaskCurrZone=this.zone),ye.onCancelTask||(this._cancelTaskZS=Te,this._cancelTaskDlgt=te,this._cancelTaskCurrZone=this.zone))}fork(qe,te){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,qe,te):new ge(qe,te)}intercept(qe,te,ye){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,qe,te,ye):te}invoke(qe,te,ye,ot,Ve){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,qe,te,ye,ot,Ve):te.apply(ye,ot)}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!=xt)throw new Error("Task is missing scheduleFn.");_t(te)}return ye}invokeTask(qe,te,ye,ot){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,qe,te,ye,ot):te.callback.apply(ye,ot)}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,ot=ye[qe],Ve=ye[qe]=ot+te;if(Ve<0)throw new Error("More tasks executed then were scheduled.");0!=ot&&0!=Ve||this.hasTask(this.zone,{microTask:ye.microTask>0,macroTask:ye.macroTask>0,eventTask:ye.eventTask>0,change:qe})}}class je{constructor(qe,te,ye,ot,Ve,Xt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=qe,this.source=te,this.data=ot,this.scheduleFn=Ve,this.cancelFn=Xt,!ye)throw new Error("callback is not defined");this.callback=ye;const Ue=this;this.invoke=qe===Qt&&ot&&ot.useG?je.invokeTask:function(){return je.invokeTask.call(X,Ue,this,arguments)}}static invokeTask(qe,te,ye){qe||(qe=this),Se++;try{return qe.runCount++,qe.zone.runTask(qe,te,ye)}finally{1==Se&&Le(),Se--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Kt,Zt)}_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==Kt&&(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 ut=ae("setTimeout"),At=ae("Promise"),gt=ae("then");let Ht,Tt=[],Ie=!1;function ft(tt){if(Ht||X[At]&&(Ht=X[At].resolve(0)),Ht){let qe=Ht[gt];qe||(qe=Ht.then),qe.call(Ht,tt)}else X[ut](tt,0)}function _t(tt){0===Se&&0===Tt.length&&ft(Le),tt&&Tt.push(tt)}function Le(){if(!Ie){for(Ie=!0;Tt.length;){const tt=Tt;Tt=[];for(let qe=0;qe<tt.length;qe++){const te=tt[qe];try{te.zone.runTask(te,null,null)}catch(ye){q.onUnhandledError(ye)}}}q.microtaskDrainDone(),Ie=!1}}const hn={name:"NO ZONE"},Kt="notScheduled",Zt="scheduling",lt="scheduled",st="running",Yt="canceling",et="unknown",xt="microTask",Ye="macroTask",Qt="eventTask",pe={},q={symbol:ae,currentZoneFrame:()=>$,onUnhandledError:it,microtaskDrainDone:it,scheduleMicroTask:_t,showUncaughtError:()=>!ge[ae("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:it,patchMethod:()=>it,bindArguments:()=>[],patchThen:()=>it,patchMacroTask:()=>it,patchEventPrototype:()=>it,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>it,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>it,wrapWithCurrentZone:()=>it,filterProperties:()=>[],attachOriginToPatched:()=>it,_redefineProperty:()=>it,patchCallbacks:()=>it,nativeScheduleMicroTask:ft};let $={parent:null,zone:new ge(null,null)},ue=null,Se=0;function it(){}H("Zone","Zone"),X.Zone=ge}(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,S="addEventListener",T="removeEventListener",C=Zone.__symbol__(S),M=Zone.__symbol__(T),P="true",x="false",F=Zone.__symbol__("");function I(X,fe){return Zone.current.wrap(X,fe)}function U(X,fe,Z,H,L){return Zone.current.scheduleMacroTask(X,fe,Z,H,L)}const z=Zone.__symbol__,se=typeof window<"u",W=se?window:void 0,J=se&&W||"object"==typeof self&&self||global;function be(X,fe){for(let Z=X.length-1;Z>=0;Z--)"function"==typeof X[Z]&&(X[Z]=I(X[Z],fe+"_"+Z));return X}function Ee(X){return!X||!1!==X.writable&&!("function"==typeof X.get&&typeof X.set>"u")}const Re=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,$e=!("nw"in J)&&typeof J.process<"u"&&"[object process]"==={}.toString.call(J.process),xe=!$e&&!Re&&!(!se||!W.HTMLElement),Ze=typeof J.process<"u"&&"[object process]"==={}.toString.call(J.process)&&!Re&&!(!se||!W.HTMLElement),Bt={},Ge=function(X){if(!(X=X||J.event))return;let fe=Bt[X.type];fe||(fe=Bt[X.type]=z("ON_PROPERTY"+X.type));const Z=this||X.target||J,H=Z[fe];let L;if(xe&&Z===W&&"error"===X.type){const ae=X;L=H&&H.call(this,ae.message,ae.filename,ae.lineno,ae.colno,ae.error),!0===L&&X.preventDefault()}else L=H&&H.apply(this,arguments),null!=L&&!L&&X.preventDefault();return L};function ct(X,fe,Z){let H=j(X,fe);if(!H&&Z&&j(Z,fe)&&(H={enumerable:!0,configurable:!0}),!H||!H.configurable)return;const L=z("on"+fe+"patched");if(X.hasOwnProperty(L)&&X[L])return;delete H.writable,delete H.value;const ae=H.get,ce=H.set,ge=fe.slice(2);let Te=Bt[ge];Te||(Te=Bt[ge]=z("ON_PROPERTY"+ge)),H.set=function(rt){let je=this;!je&&X===J&&(je=J),je&&("function"==typeof je[Te]&&je.removeEventListener(ge,Ge),ce&&ce.call(je,null),je[Te]=rt,"function"==typeof rt&&je.addEventListener(ge,Ge,!1))},H.get=function(){let rt=this;if(!rt&&X===J&&(rt=J),!rt)return null;const je=rt[Te];if(je)return je;if(ae){let ut=ae.call(this);if(ut)return H.set.call(this,ut),"function"==typeof rt.removeAttribute&&rt.removeAttribute(fe),ut}return null},w(X,fe,H),X[L]=!0}function Ut(X,fe,Z){if(fe)for(let H=0;H<fe.length;H++)ct(X,"on"+fe[H],Z);else{const H=[];for(const L in X)"on"==L.slice(0,2)&&H.push(L);for(let L=0;L<H.length;L++)ct(X,H[L],Z)}}const Qe=z("originalInstance");function Lt(X){const fe=J[X];if(!fe)return;J[z(X)]=fe,J[X]=function(){const L=be(arguments,X);switch(L.length){case 0:this[Qe]=new fe;break;case 1:this[Qe]=new fe(L[0]);break;case 2:this[Qe]=new fe(L[0],L[1]);break;case 3:this[Qe]=new fe(L[0],L[1],L[2]);break;case 4:this[Qe]=new fe(L[0],L[1],L[2],L[3]);break;default:throw new Error("Arg list too long.")}},me(J[X],fe);const Z=new fe((function(){}));let H;for(H in Z)"XMLHttpRequest"===X&&"responseBlob"===H||function(L){"function"==typeof Z[L]?J[X].prototype[L]=function(){return this[Qe][L].apply(this[Qe],arguments)}:w(J[X].prototype,L,{set:function(ae){"function"==typeof ae?(this[Qe][L]=I(ae,X+"."+L),me(this[Qe][L],ae)):this[Qe][L]=ae},get:function(){return this[Qe][L]}})}(H);for(H in fe)"prototype"!==H&&fe.hasOwnProperty(H)&&(J[X][H]=fe[H])}function Fe(X,fe,Z){let H=X;for(;H&&!H.hasOwnProperty(fe);)H=h(H);!H&&X[fe]&&(H=X);const L=z(fe);let ae=null;if(H&&(!(ae=H[L])||!H.hasOwnProperty(L))&&(ae=H[L]=H[fe],Ee(H&&j(H,fe)))){const ge=Z(ae,L,fe);H[fe]=function(){return ge(this,arguments)},me(H[fe],ae)}return ae}function le(X,fe,Z){let H=null;function L(ae){const ce=ae.data;return ce.args[ce.cbIdx]=function(){ae.invoke.apply(this,arguments)},H.apply(ce.target,ce.args),ae}H=Fe(X,fe,(ae=>function(ce,ge){const Te=Z(ce,ge);return Te.cbIdx>=0&&"function"==typeof ge[Te.cbIdx]?U(Te.name,ge[Te.cbIdx],Te,L):ae.apply(ce,ge)}))}function me(X,fe){X[z("OriginalDelegate")]=fe}let Ce=!1,ee=!1;function Pt(){if(Ce)return ee;Ce=!0;try{const X=W.navigator.userAgent;(-1!==X.indexOf("MSIE ")||-1!==X.indexOf("Trident/")||-1!==X.indexOf("Edge/"))&&(ee=!0)}catch{}return ee}Zone.__load_patch("ZoneAwarePromise",((X,fe,Z)=>{const H=Object.getOwnPropertyDescriptor,L=Object.defineProperty,ce=Z.symbol,ge=[],Te=!0===X[ce("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],rt=ce("Promise"),je=ce("then");Z.onUnhandledError=Ue=>{if(Z.showUncaughtError()){const Be=Ue&&Ue.rejection;Be?console.error("Unhandled Promise rejection:",Be instanceof Error?Be.message:Be,"; Zone:",Ue.zone.name,"; Task:",Ue.task&&Ue.task.source,"; Value:",Be,Be instanceof Error?Be.stack:void 0):console.error(Ue)}},Z.microtaskDrainDone=()=>{for(;ge.length;){const Ue=ge.shift();try{Ue.zone.runGuarded((()=>{throw Ue.throwOriginal?Ue.rejection:Ue}))}catch(Be){gt(Be)}}};const At=ce("unhandledPromiseRejectionHandler");function gt(Ue){Z.onUnhandledError(Ue);try{const Be=fe[At];"function"==typeof Be&&Be.call(this,Ue)}catch{}}function Tt(Ue){return Ue&&Ue.then}function Ie(Ue){return Ue}function Ht(Ue){return te.reject(Ue)}const ft=ce("state"),_t=ce("value"),Le=ce("finally"),hn=ce("parentPromiseValue"),Kt=ce("parentPromiseState"),lt=null,Yt=!1;function xt(Ue,Be){return _e=>{try{q(Ue,Be,_e)}catch(ve){q(Ue,!1,ve)}}}const Ye=function(){let Ue=!1;return function(_e){return function(){Ue||(Ue=!0,_e.apply(null,arguments))}}},pe=ce("currentTaskTrace");function q(Ue,Be,_e){const ve=Ye();if(Ue===_e)throw new TypeError("Promise resolved with itself");if(Ue[ft]===lt){let He=null;try{("object"==typeof _e||"function"==typeof _e)&&(He=_e&&_e.then)}catch(at){return ve((()=>{q(Ue,!1,at)}))(),Ue}if(Be!==Yt&&_e instanceof te&&_e.hasOwnProperty(ft)&&_e.hasOwnProperty(_t)&&_e[ft]!==lt)ue(_e),q(Ue,_e[ft],_e[_t]);else if(Be!==Yt&&"function"==typeof He)try{He.call(_e,ve(xt(Ue,Be)),ve(xt(Ue,!1)))}catch(at){ve((()=>{q(Ue,!1,at)}))()}else{Ue[ft]=Be;const at=Ue[_t];if(Ue[_t]=_e,Ue[Le]===Le&&!0===Be&&(Ue[ft]=Ue[Kt],Ue[_t]=Ue[hn]),Be===Yt&&_e instanceof Error){const Je=fe.currentTask&&fe.currentTask.data&&fe.currentTask.data.__creationTrace__;Je&&L(_e,pe,{configurable:!0,enumerable:!1,writable:!0,value:Je})}for(let Je=0;Je<at.length;)Se(Ue,at[Je++],at[Je++],at[Je++],at[Je++]);if(0==at.length&&Be==Yt){Ue[ft]=0;let Je=_e;try{throw new Error("Uncaught (in promise): "+function ae(Ue){return Ue&&Ue.toString===Object.prototype.toString?(Ue.constructor&&Ue.constructor.name||"")+": "+JSON.stringify(Ue):Ue?Ue.toString():Object.prototype.toString.call(Ue)}(_e)+(_e&&_e.stack?"\n"+_e.stack:""))}catch(bt){Je=bt}Te&&(Je.throwOriginal=!0),Je.rejection=_e,Je.promise=Ue,Je.zone=fe.current,Je.task=fe.currentTask,ge.push(Je),Z.scheduleMicroTask()}}}return Ue}const $=ce("rejectionHandledHandler");function ue(Ue){if(0===Ue[ft]){try{const Be=fe[$];Be&&"function"==typeof Be&&Be.call(this,{rejection:Ue[_t],promise:Ue})}catch{}Ue[ft]=Yt;for(let Be=0;Be<ge.length;Be++)Ue===ge[Be].promise&&ge.splice(Be,1)}}function Se(Ue,Be,_e,ve,He){ue(Ue);const at=Ue[ft],Je=at?"function"==typeof ve?ve:Ie:"function"==typeof He?He:Ht;Be.scheduleMicroTask("Promise.then",(()=>{try{const bt=Ue[_t],ht=!!_e&&Le===_e[Le];ht&&(_e[hn]=bt,_e[Kt]=at);const Ct=Be.run(Je,void 0,ht&&Je!==Ht&&Je!==Ie?[]:[bt]);q(_e,!0,Ct)}catch(bt){q(_e,!1,bt)}}),_e)}const tt=function(){},qe=X.AggregateError;class te{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Be){return q(new this(null),!0,Be)}static reject(Be){return q(new this(null),Yt,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 He=!1;const at=[];return new te(((Je,bt)=>{for(let ht=0;ht<_e.length;ht++)_e[ht].then((Ct=>{He||(He=!0,Je(Ct))}),(Ct=>{at.push(Ct),ve--,0===ve&&(He=!0,bt(new qe(at,"All promises were rejected")))}))}))}static race(Be){let _e,ve,He=new this(((bt,ht)=>{_e=bt,ve=ht}));function at(bt){_e(bt)}function Je(bt){ve(bt)}for(let bt of Be)Tt(bt)||(bt=this.resolve(bt)),bt.then(at,Je);return He}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,He,at=new this(((Ct,wt)=>{ve=Ct,He=wt})),Je=2,bt=0;const ht=[];for(let Ct of Be){Tt(Ct)||(Ct=this.resolve(Ct));const wt=bt;try{Ct.then((Wt=>{ht[wt]=_e?_e.thenCallback(Wt):Wt,Je--,0===Je&&ve(ht)}),(Wt=>{_e?(ht[wt]=_e.errorCallback(Wt),Je--,0===Je&&ve(ht)):He(Wt)}))}catch(Wt){He(Wt)}Je++,bt++}return Je-=2,0===Je&&ve(ht),at}constructor(Be){const _e=this;if(!(_e instanceof te))throw new Error("Must be an instanceof Promise.");_e[ft]=lt,_e[_t]=[];try{const ve=Ye();Be&&Be(ve(xt(_e,!0)),ve(xt(_e,Yt)))}catch(ve){q(_e,!1,ve)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return te}then(Be,_e){var ve;let He=null===(ve=this.constructor)||void 0===ve?void 0:ve[Symbol.species];(!He||"function"!=typeof He)&&(He=this.constructor||te);const at=new He(tt),Je=fe.current;return this[ft]==lt?this[_t].push(Je,at,Be,_e):Se(this,Je,at,Be,_e),at}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 He=new ve(tt);He[Le]=Le;const at=fe.current;return this[ft]==lt?this[_t].push(at,He,Be,Be):Se(this,at,He,Be,Be),He}}te.resolve=te.resolve,te.reject=te.reject,te.race=te.race,te.all=te.all;const ye=X[rt]=X.Promise;X.Promise=te;const ot=ce("thenPatched");function Ve(Ue){const Be=Ue.prototype,_e=H(Be,"then");if(_e&&(!1===_e.writable||!_e.configurable))return;const ve=Be.then;Be[je]=ve,Ue.prototype.then=function(He,at){return new te(((bt,ht)=>{ve.call(this,bt,ht)})).then(He,at)},Ue[ot]=!0}return Z.patchThen=Ve,ye&&(Ve(ye),Fe(X,"fetch",(Ue=>function Xt(Ue){return function(Be,_e){let ve=Ue.apply(Be,_e);if(ve instanceof te)return ve;let He=ve.constructor;return He[ot]||Ve(He),ve}}(Ue)))),Promise[fe.__symbol__("uncaughtPromiseErrors")]=ge,te})),Zone.__load_patch("toString",(X=>{const fe=Function.prototype.toString,Z=z("OriginalDelegate"),H=z("Promise"),L=z("Error"),ae=function(){if("function"==typeof this){const rt=this[Z];if(rt)return"function"==typeof rt?fe.call(rt):Object.prototype.toString.call(rt);if(this===Promise){const je=X[H];if(je)return fe.call(je)}if(this===Error){const je=X[L];if(je)return fe.call(je)}}return fe.call(this)};ae[Z]=fe,Function.prototype.toString=ae;const ce=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":ce.call(this)}}));let $t=!1;if(typeof window<"u")try{const X=Object.defineProperty({},"passive",{get:function(){$t=!0}});window.addEventListener("test",X,X),window.removeEventListener("test",X,X)}catch{$t=!1}const un={useG:!0},Jt={},Rn={},Dn=new RegExp("^"+F+"(\\w+)(true|false)$"),Mn=z("propagationStopped");function Cn(X,fe){const Z=(fe?fe(X):X)+x,H=(fe?fe(X):X)+P,L=F+Z,ae=F+H;Jt[X]={},Jt[X][x]=L,Jt[X][P]=ae}function Nt(X,fe,Z,H){const L=H&&H.add||S,ae=H&&H.rm||T,ce=H&&H.listeners||"eventListeners",ge=H&&H.rmAll||"removeAllListeners",Te=z(L),rt="."+L+":",At=function(_t,Le,hn){if(_t.isRemoved)return;const Kt=_t.callback;let Zt;"object"==typeof Kt&&Kt.handleEvent&&(_t.callback=st=>Kt.handleEvent(st),_t.originalDelegate=Kt);try{_t.invoke(_t,Le,[hn])}catch(st){Zt=st}const lt=_t.options;return lt&&"object"==typeof lt&<.once&&Le[ae].call(Le,hn.type,_t.originalDelegate?_t.originalDelegate:_t.callback,lt),Zt};function gt(_t,Le,hn){if(!(Le=Le||X.event))return;const Kt=_t||Le.target||X,Zt=Kt[Jt[Le.type][hn?P:x]];if(Zt){const lt=[];if(1===Zt.length){const st=At(Zt[0],Kt,Le);st&<.push(st)}else{const st=Zt.slice();for(let Yt=0;Yt<st.length&&(!Le||!0!==Le[Mn]);Yt++){const et=At(st[Yt],Kt,Le);et&<.push(et)}}if(1===lt.length)throw lt[0];for(let st=0;st<lt.length;st++){const Yt=lt[st];fe.nativeScheduleMicroTask((()=>{throw Yt}))}}}const Tt=function(_t){return gt(this,_t,!1)},Ie=function(_t){return gt(this,_t,!0)};function Ht(_t,Le){if(!_t)return!1;let hn=!0;Le&&void 0!==Le.useG&&(hn=Le.useG);const Kt=Le&&Le.vh;let Zt=!0;Le&&void 0!==Le.chkDup&&(Zt=Le.chkDup);let lt=!1;Le&&void 0!==Le.rt&&(lt=Le.rt);let st=_t;for(;st&&!st.hasOwnProperty(L);)st=h(st);if(!st&&_t[L]&&(st=_t),!st||st[Te])return!1;const Yt=Le&&Le.eventNameToString,et={},xt=st[Te]=st[L],Ye=st[z(ae)]=st[ae],Qt=st[z(ce)]=st[ce],pe=st[z(ge)]=st[ge];let q;function $(_e,ve){return!$t&&"object"==typeof _e&&_e?!!_e.capture:$t&&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}Le&&Le.prepend&&(q=st[z(Le.prepend)]=st[Le.prepend]);const te=hn?function(_e){if(!et.isExisting)return xt.call(et.target,et.eventName,et.capture?Ie:Tt,et.options)}:function(_e){return xt.call(et.target,et.eventName,_e.invoke,et.options)},ye=hn?function(_e){if(!_e.isRemoved){const ve=Jt[_e.eventName];let He;ve&&(He=ve[_e.capture?P:x]);const at=He&&_e.target[He];if(at)for(let Je=0;Je<at.length;Je++)if(at[Je]===_e){at.splice(Je,1),_e.isRemoved=!0,0===at.length&&(_e.allRemoved=!0,_e.target[He]=null);break}}if(_e.allRemoved)return Ye.call(_e.target,_e.eventName,_e.capture?Ie:Tt,_e.options)}:function(_e){return Ye.call(_e.target,_e.eventName,_e.invoke,_e.options)},Ve=Le&&Le.diff?Le.diff:function(_e,ve){const He=typeof ve;return"function"===He&&_e.callback===ve||"object"===He&&_e.originalDelegate===ve},Xt=Zone[z("UNPATCHED_EVENTS")],Ue=X[z("PASSIVE_EVENTS")],Be=function(_e,ve,He,at,Je=!1,bt=!1){return function(){const ht=this||X;let Ct=arguments[0];Le&&Le.transferEventName&&(Ct=Le.transferEventName(Ct));let wt=arguments[1];if(!wt)return _e.apply(this,arguments);if($e&&"uncaughtException"===Ct)return _e.apply(this,arguments);let Wt=!1;if("function"!=typeof wt){if(!wt.handleEvent)return _e.apply(this,arguments);Wt=!0}if(Kt&&!Kt(_e,wt,ht,arguments))return;const Nn=$t&&!!Ue&&-1!==Ue.indexOf(Ct),Et=$(arguments[2],Nn);if(Xt)for(let Yn=0;Yn<Xt.length;Yn++)if(Ct===Xt[Yn])return Nn?_e.call(ht,Ct,wt,Et):_e.apply(this,arguments);const Tr=!!Et&&("boolean"==typeof Et||Et.capture),cr=!(!Et||"object"!=typeof Et)&&Et.once,Wr=Zone.current;let dr=Jt[Ct];dr||(Cn(Ct,Yt),dr=Jt[Ct]);const wn=dr[Tr?P:x];let Hn,fr=ht[wn],mr=!1;if(fr){if(mr=!0,Zt)for(let Yn=0;Yn<fr.length;Yn++)if(Ve(fr[Yn],wt))return}else fr=ht[wn]=[];const en=ht.constructor.name,Yr=Rn[en];Yr&&(Hn=Yr[Ct]),Hn||(Hn=en+ve+(Yt?Yt(Ct):Ct)),et.options=Et,cr&&(et.options.once=!1),et.target=ht,et.capture=Tr,et.eventName=Ct,et.isExisting=mr;const Vn=hn?un:void 0;Vn&&(Vn.taskData=et);const On=Wr.scheduleEventTask(Hn,wt,Vn,He,at);return et.target=null,Vn&&(Vn.taskData=null),cr&&(Et.once=!0),!$t&&"boolean"==typeof On.options||(On.options=Et),On.target=ht,On.capture=Tr,On.eventName=Ct,Wt&&(On.originalDelegate=wt),bt?fr.unshift(On):fr.push(On),Je?ht:void 0}};return st[L]=Be(xt,rt,te,ye,lt),q&&(st.prependListener=Be(q,".prependListener:",(function(_e){return q.call(et.target,et.eventName,_e.invoke,et.options)}),ye,lt,!0)),st[ae]=function(){const _e=this||X;let ve=arguments[0];Le&&Le.transferEventName&&(ve=Le.transferEventName(ve));const He=arguments[2],at=!!He&&("boolean"==typeof He||He.capture),Je=arguments[1];if(!Je)return Ye.apply(this,arguments);if(Kt&&!Kt(Ye,Je,_e,arguments))return;const bt=Jt[ve];let ht;bt&&(ht=bt[at?P:x]);const Ct=ht&&_e[ht];if(Ct)for(let wt=0;wt<Ct.length;wt++){const Wt=Ct[wt];if(Ve(Wt,Je))return Ct.splice(wt,1),Wt.isRemoved=!0,0===Ct.length&&(Wt.allRemoved=!0,_e[ht]=null,"string"==typeof ve)&&(_e[F+"ON_PROPERTY"+ve]=null),Wt.zone.cancelTask(Wt),lt?_e:void 0}return Ye.apply(this,arguments)},st[ce]=function(){const _e=this||X;let ve=arguments[0];Le&&Le.transferEventName&&(ve=Le.transferEventName(ve));const He=[],at=kt(_e,Yt?Yt(ve):ve);for(let Je=0;Je<at.length;Je++){const bt=at[Je];He.push(bt.originalDelegate?bt.originalDelegate:bt.callback)}return He},st[ge]=function(){const _e=this||X;let ve=arguments[0];if(ve){Le&&Le.transferEventName&&(ve=Le.transferEventName(ve));const He=Jt[ve];if(He){const bt=_e[He[x]],ht=_e[He[P]];if(bt){const Ct=bt.slice();for(let wt=0;wt<Ct.length;wt++){const Wt=Ct[wt];this[ae].call(this,ve,Wt.originalDelegate?Wt.originalDelegate:Wt.callback,Wt.options)}}if(ht){const Ct=ht.slice();for(let wt=0;wt<Ct.length;wt++){const Wt=Ct[wt];this[ae].call(this,ve,Wt.originalDelegate?Wt.originalDelegate:Wt.callback,Wt.options)}}}}else{const He=Object.keys(_e);for(let at=0;at<He.length;at++){const bt=Dn.exec(He[at]);let ht=bt&&bt[1];ht&&"removeListener"!==ht&&this[ge].call(this,ht)}this[ge].call(this,"removeListener")}if(lt)return this},me(st[L],xt),me(st[ae],Ye),pe&&me(st[ge],pe),Qt&&me(st[ce],Qt),!0}let ft=[];for(let _t=0;_t<Z.length;_t++)ft[_t]=Ht(Z[_t],H);return ft}function kt(X,fe){if(!fe){const ae=[];for(let ce in X){const ge=Dn.exec(ce);let Te=ge&&ge[1];if(Te&&(!fe||Te===fe)){const rt=X[ce];if(rt)for(let je=0;je<rt.length;je++)ae.push(rt[je])}}return ae}let Z=Jt[fe];Z||(Cn(fe),Z=Jt[fe]);const H=X[Z[x]],L=X[Z[P]];return H?L?H.concat(L):H.slice():L?L.slice():[]}function Bn(X,fe){const Z=X.Event;Z&&Z.prototype&&fe.patchMethod(Z.prototype,"stopImmediatePropagation",(H=>function(L,ae){L[Mn]=!0,H&&H.apply(L,ae)}))}function wr(X,fe,Z,H,L){const ae=Zone.__symbol__(H);if(fe[ae])return;const ce=fe[ae]=fe[H];fe[H]=function(ge,Te,rt){return Te&&Te.prototype&&L.forEach((function(je){const ut=`${Z}.${H}::`+je,At=Te.prototype;try{if(At.hasOwnProperty(je)){const gt=X.ObjectGetOwnPropertyDescriptor(At,je);gt&>.value?(gt.value=X.wrapWithCurrentZone(gt.value,ut),X._redefineProperty(Te.prototype,je,gt)):At[je]&&(At[je]=X.wrapWithCurrentZone(At[je],ut))}else At[je]&&(At[je]=X.wrapWithCurrentZone(At[je],ut))}catch{}})),ce.call(fe,ge,Te,rt)},X.attachOriginToPatched(fe[H],ce)}function Un(X,fe,Z){if(!Z||0===Z.length)return fe;const H=Z.filter((ae=>ae.target===X));if(!H||0===H.length)return fe;const L=H[0].ignoreProperties;return fe.filter((ae=>-1===L.indexOf(ae)))}function Gt(X,fe,Z,H){X&&Ut(X,Un(X,fe,Z),H)}function bn(X){return Object.getOwnPropertyNames(X).filter((fe=>fe.startsWith("on")&&fe.length>2)).map((fe=>fe.substring(2)))}Zone.__load_patch("util",((X,fe,Z)=>{const H=bn(X);Z.patchOnProperties=Ut,Z.patchMethod=Fe,Z.bindArguments=be,Z.patchMacroTask=le;const L=fe.__symbol__("BLACK_LISTED_EVENTS"),ae=fe.__symbol__("UNPATCHED_EVENTS");X[ae]&&(X[L]=X[ae]),X[L]&&(fe[L]=fe[ae]=X[L]),Z.patchEventPrototype=Bn,Z.patchEventTarget=Nt,Z.isIEOrEdge=Pt,Z.ObjectDefineProperty=w,Z.ObjectGetOwnPropertyDescriptor=j,Z.ObjectCreate=f,Z.ArraySlice=p,Z.patchClass=Lt,Z.wrapWithCurrentZone=I,Z.filterProperties=Un,Z.attachOriginToPatched=me,Z._redefineProperty=Object.defineProperty,Z.patchCallbacks=wr,Z.getGlobalObjects=()=>({globalSources:Rn,zoneSymbolEventNames:Jt,eventNames:H,isBrowser:xe,isMix:Ze,isNode:$e,TRUE_STR:P,FALSE_STR:x,ZONE_SYMBOL_PREFIX:F,ADD_EVENT_LISTENER_STR:S,REMOVE_EVENT_LISTENER_STR:T})}));const or=z("zoneTask");function er(X,fe,Z,H){let L=null,ae=null;Z+=H;const ce={};function ge(rt){const je=rt.data;return je.args[0]=function(){return rt.invoke.apply(this,arguments)},je.handleId=L.apply(X,je.args),rt}function Te(rt){return ae.call(X,rt.data.handleId)}L=Fe(X,fe+=H,(rt=>function(je,ut){if("function"==typeof ut[0]){const At={isPeriodic:"Interval"===H,delay:"Timeout"===H||"Interval"===H?ut[1]||0:void 0,args:ut},gt=ut[0];ut[0]=function(){try{return gt.apply(this,arguments)}finally{At.isPeriodic||("number"==typeof At.handleId?delete ce[At.handleId]:At.handleId&&(At.handleId[or]=null))}};const Tt=U(fe,ut[0],At,ge,Te);if(!Tt)return Tt;const Ie=Tt.data.handleId;return"number"==typeof Ie?ce[Ie]=Tt:Ie&&(Ie[or]=Tt),Ie&&Ie.ref&&Ie.unref&&"function"==typeof Ie.ref&&"function"==typeof Ie.unref&&(Tt.ref=Ie.ref.bind(Ie),Tt.unref=Ie.unref.bind(Ie)),"number"==typeof Ie||Ie?Ie:Tt}return rt.apply(X,ut)})),ae=Fe(X,Z,(rt=>function(je,ut){const At=ut[0];let gt;"number"==typeof At?gt=ce[At]:(gt=At&&At[or],gt||(gt=At)),gt&&"string"==typeof gt.type?"notScheduled"!==gt.state&&(gt.cancelFn&>.data.isPeriodic||0===gt.runCount)&&("number"==typeof At?delete ce[At]:At&&(At[or]=null),gt.zone.cancelTask(gt)):rt.apply(X,ut)}))}Zone.__load_patch("legacy",(X=>{const fe=X[Zone.__symbol__("legacyPatch")];fe&&fe()})),Zone.__load_patch("queueMicrotask",((X,fe,Z)=>{Z.patchMethod(X,"queueMicrotask",(H=>function(L,ae){fe.current.scheduleMicroTask("queueMicrotask",ae[0])}))})),Zone.__load_patch("timers",(X=>{const Z="clear";er(X,"set",Z,"Timeout"),er(X,"set",Z,"Interval"),er(X,"set",Z,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(X=>{er(X,"request","cancel","AnimationFrame"),er(X,"mozRequest","mozCancel","AnimationFrame"),er(X,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((X,fe)=>{const Z=["alert","prompt","confirm"];for(let H=0;H<Z.length;H++)Fe(X,Z[H],((ae,ce,ge)=>function(Te,rt){return fe.current.run(ae,X,rt,ge)}))})),Zone.__load_patch("EventTarget",((X,fe,Z)=>{(function ar(X,fe){fe.patchEventPrototype(X,fe)})(X,Z),function yn(X,fe){if(Zone[fe.symbol("patchEventTarget")])return;const{eventNames:Z,zoneSymbolEventNames:H,TRUE_STR:L,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ce}=fe.getGlobalObjects();for(let Te=0;Te<Z.length;Te++){const rt=Z[Te],At=ce+(rt+ae),gt=ce+(rt+L);H[rt]={},H[rt][ae]=At,H[rt][L]=gt}const ge=X.EventTarget;ge&&ge.prototype&&fe.patchEventTarget(X,fe,[ge&&ge.prototype])}(X,Z);const H=X.XMLHttpRequestEventTarget;H&&H.prototype&&Z.patchEventTarget(X,Z,[H.prototype])})),Zone.__load_patch("MutationObserver",((X,fe,Z)=>{Lt("MutationObserver"),Lt("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((X,fe,Z)=>{Lt("IntersectionObserver")})),Zone.__load_patch("FileReader",((X,fe,Z)=>{Lt("FileReader")})),Zone.__load_patch("on_property",((X,fe,Z)=>{!function dn(X,fe){if($e&&!Ze||Zone[X.symbol("patchEvents")])return;const Z=fe.__Zone_ignore_on_properties;let H=[];if(xe){const L=window;H=H.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const ae=function Pe(){try{const X=W.navigator.userAgent;if(-1!==X.indexOf("MSIE ")||-1!==X.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:L,ignoreProperties:["error"]}]:[];Gt(L,bn(L),Z&&Z.concat(ae),h(L))}H=H.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let L=0;L<H.length;L++){const ae=fe[H[L]];ae&&ae.prototype&&Gt(ae.prototype,bn(ae.prototype),Z)}}(Z,X)})),Zone.__load_patch("customElements",((X,fe,Z)=>{!function Pr(X,fe){const{isBrowser:Z,isMix:H}=fe.getGlobalObjects();(Z||H)&&X.customElements&&"customElements"in X&&fe.patchCallbacks(fe,X.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(X,Z)})),Zone.__load_patch("XHR",((X,fe)=>{!function Te(rt){const je=rt.XMLHttpRequest;if(!je)return;const ut=je.prototype;let gt=ut[C],Tt=ut[M];if(!gt){const et=rt.XMLHttpRequestEventTarget;if(et){const xt=et.prototype;gt=xt[C],Tt=xt[M]}}const Ie="readystatechange",Ht="scheduled";function ft(et){const xt=et.data,Ye=xt.target;Ye[ae]=!1,Ye[ge]=!1;const Qt=Ye[L];gt||(gt=Ye[C],Tt=Ye[M]),Qt&&Tt.call(Ye,Ie,Qt);const pe=Ye[L]=()=>{if(Ye.readyState===Ye.DONE)if(!xt.aborted&&Ye[ae]&&et.state===Ht){const $=Ye[fe.__symbol__("loadfalse")];if(0!==Ye.status&&$&&$.length>0){const ue=et.invoke;et.invoke=function(){const Se=Ye[fe.__symbol__("loadfalse")];for(let it=0;it<Se.length;it++)Se[it]===et&&Se.splice(it,1);!xt.aborted&&et.state===Ht&&ue.call(et)},$.push(et)}else et.invoke()}else!xt.aborted&&!1===Ye[ae]&&(Ye[ge]=!0)};return gt.call(Ye,Ie,pe),Ye[Z]||(Ye[Z]=et),st.apply(Ye,xt.args),Ye[ae]=!0,et}function _t(){}function Le(et){const xt=et.data;return xt.aborted=!0,Yt.apply(xt.target,xt.args)}const hn=Fe(ut,"open",(()=>function(et,xt){return et[H]=0==xt[2],et[ce]=xt[1],hn.apply(et,xt)})),Zt=z("fetchTaskAborting"),lt=z("fetchTaskScheduling"),st=Fe(ut,"send",(()=>function(et,xt){if(!0===fe.current[lt]||et[H])return st.apply(et,xt);{const Ye={target:et,url:et[ce],isPeriodic:!1,args:xt,aborted:!1},Qt=U("XMLHttpRequest.send",_t,Ye,ft,Le);et&&!0===et[ge]&&!Ye.aborted&&Qt.state===Ht&&Qt.invoke()}})),Yt=Fe(ut,"abort",(()=>function(et,xt){const Ye=function At(et){return et[Z]}(et);if(Ye&&"string"==typeof Ye.type){if(null==Ye.cancelFn||Ye.data&&Ye.data.aborted)return;Ye.zone.cancelTask(Ye)}else if(!0===fe.current[Zt])return Yt.apply(et,xt)}))}(X);const Z=z("xhrTask"),H=z("xhrSync"),L=z("xhrListener"),ae=z("xhrScheduled"),ce=z("xhrURL"),ge=z("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(X=>{X.navigator&&X.navigator.geolocation&&function Ke(X,fe){const Z=X.constructor.name;for(let H=0;H<fe.length;H++){const L=fe[H],ae=X[L];if(ae){if(!Ee(j(X,L)))continue;X[L]=(ge=>{const Te=function(){return ge.apply(this,be(arguments,Z+"."+L))};return me(Te,ge),Te})(ae)}}}(X.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((X,fe)=>{function Z(H){return function(L){kt(X,H).forEach((ce=>{const ge=X.PromiseRejectionEvent;if(ge){const Te=new ge(H,{promise:L.promise,reason:L.rejection});ce.invoke(Te)}}))}}X.PromiseRejectionEvent&&(fe[z("unhandledPromiseRejectionHandler")]=Z("unhandledrejection"),fe[z("rejectionHandledHandler")]=Z("rejectionhandled"))}))},7340:(j,w,h)=>{"use strict";h.d(w,{IO:()=>J,LC:()=>p,X$:()=>T,ZE:()=>Ee,ZN:()=>Ke,_j:()=>f,eR:()=>U,jt:()=>C,k1:()=>Re,l3:()=>S,oB:()=>x,pV:()=>se,ru:()=>M,vP:()=>P});class f{}class p{}const S="*";function T($e,xe){return{type:7,name:$e,definitions:xe,options:{}}}function C($e,xe=null){return{type:4,styles:xe,timings:$e}}function M($e,xe=null){return{type:3,steps:$e,options:xe}}function P($e,xe=null){return{type:2,steps:$e,options:xe}}function x($e){return{type:6,styles:$e,offset:null}}function U($e,xe,Ze=null){return{type:1,expr:$e,animation:xe,options:Ze}}function se($e=null){return{type:9,options:$e}}function J($e,xe,Ze=null){return{type:11,selector:$e,animation:xe,options:Ze}}function be($e){Promise.resolve(null).then($e)}class Ke{constructor(xe=0,Ze=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=xe+Ze}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((xe=>xe())),this._onDoneFns=[])}onStart(xe){this._onStartFns.push(xe)}onDone(xe){this._onDoneFns.push(xe)}onDestroy(xe){this._onDestroyFns.push(xe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){be((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((xe=>xe())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((xe=>xe())),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(xe){this._position=this.totalTime?xe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(xe){const Ze="start"==xe?this._onStartFns:this._onDoneFns;Ze.forEach((Bt=>Bt())),Ze.length=0}}class Ee{constructor(xe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=xe;let Ze=0,Bt=0,Ge=0;const ct=this.players.length;0==ct?be((()=>this._onFinish())):this.players.forEach((Ut=>{Ut.onDone((()=>{++Ze==ct&&this._onFinish()})),Ut.onDestroy((()=>{++Bt==ct&&this._onDestroy()})),Ut.onStart((()=>{++Ge==ct&&this._onStart()}))})),this.totalTime=this.players.reduce(((Ut,Qe)=>Math.max(Ut,Qe.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((xe=>xe())),this._onDoneFns=[])}init(){this.players.forEach((xe=>xe.init()))}onStart(xe){this._onStartFns.push(xe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((xe=>xe())),this._onStartFns=[])}onDone(xe){this._onDoneFns.push(xe)}onDestroy(xe){this._onDestroyFns.push(xe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((xe=>xe.play()))}pause(){this.players.forEach((xe=>xe.pause()))}restart(){this.players.forEach((xe=>xe.restart()))}finish(){this._onFinish(),this.players.forEach((xe=>xe.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((xe=>xe.destroy())),this._onDestroyFns.forEach((xe=>xe())),this._onDestroyFns=[])}reset(){this.players.forEach((xe=>xe.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(xe){const Ze=xe*this.totalTime;this.players.forEach((Bt=>{const Ge=Bt.totalTime?Math.min(1,Ze/Bt.totalTime):1;Bt.setPosition(Ge)}))}getPosition(){const xe=this.players.reduce(((Ze,Bt)=>null===Ze||Bt.totalTime>Ze.totalTime?Bt:Ze),null);return null!=xe?xe.getPosition():0}beforeDestroy(){this.players.forEach((xe=>{xe.beforeDestroy&&xe.beforeDestroy()}))}triggerCallback(xe){const Ze="start"==xe?this._onStartFns:this._onDoneFns;Ze.forEach((Bt=>Bt())),Ze.length=0}}const Re="!"},6895:(j,w,h)=>{"use strict";h.d(w,{Do:()=>$e,EM:()=>hr,HT:()=>C,JF:()=>is,K0:()=>P,Mx:()=>Et,O5:()=>mr,Ov:()=>As,S$:()=>be,V_:()=>I,Ye:()=>xe,b0:()=>Re,bD:()=>Rs,ez:()=>Gs,lw:()=>x,mr:()=>Ee,q:()=>S,sg:()=>dr,w_:()=>M});var f=h(6738);let p=null;function S(){return p}function C(_){p||(p=_)}class M{}const P=new f.OlP("DocumentToken");let x=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.ɵfac=function(E){return new(E||_)},_.ɵprov=f.Yz7({token:_,factory:function(){return function F(){return(0,f.LFG)(U)}()},providedIn:"platform"}),_})();const I=new f.OlP("Location Initialized");let U=(()=>{class _ extends x{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return S().getBaseHref(this._doc)}onPopState(E){const B=S().getGlobalEventTarget(this._doc,"window");return B.addEventListener("popstate",E,!1),()=>B.removeEventListener("popstate",E)}onHashChange(E){const B=S().getGlobalEventTarget(this._doc,"window");return B.addEventListener("hashchange",E,!1),()=>B.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,B,oe){z()?this._history.pushState(E,B,oe):this.location.hash=oe}replaceState(E,B,oe){z()?this._history.replaceState(E,B,oe):this.location.hash=oe}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return _.ɵfac=function(E){return new(E||_)(f.LFG(P))},_.ɵprov=f.Yz7({token:_,factory:function(){return function se(){return new U((0,f.LFG)(P))}()},providedIn:"platform"}),_})();function z(){return!!window.history.pushState}function W(_,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 J(_){const O=_.match(/#|\?|$/),E=O&&O.index||_.length;return _.slice(0,E-("/"===_[E-1]?1:0))+_.slice(E)}function ie(_){return _&&"?"!==_[0]?"?"+_:_}let be=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.ɵfac=function(E){return new(E||_)},_.ɵprov=f.Yz7({token:_,factory:function(){return function Ke(_){const O=(0,f.LFG)(P).location;return new Re((0,f.LFG)(x),O&&O.origin||"")}()},providedIn:"root"}),_})();const Ee=new f.OlP("appBaseHref");let Re=(()=>{class _ extends be{constructor(E,B){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==B&&(B=this._platformLocation.getBaseHrefFromDOM()),null==B)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=B}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 W(this._baseHref,E)}path(E=!1){const B=this._platformLocation.pathname+ie(this._platformLocation.search),oe=this._platformLocation.hash;return oe&&E?`${B}${oe}`:B}pushState(E,B,oe,De){const Ne=this.prepareExternalUrl(oe+ie(De));this._platformLocation.pushState(E,B,Ne)}replaceState(E,B,oe,De){const Ne=this.prepareExternalUrl(oe+ie(De));this._platformLocation.replaceState(E,B,Ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return _.ɵfac=function(E){return new(E||_)(f.LFG(x),f.LFG(Ee,8))},_.ɵprov=f.Yz7({token:_,factory:_.ɵfac}),_})(),$e=(()=>{class _ extends be{constructor(E,B){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=B&&(this._baseHref=B)}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 B=this._platformLocation.hash;return null==B&&(B="#"),B.length>0?B.substring(1):B}prepareExternalUrl(E){const B=W(this._baseHref,E);return B.length>0?"#"+B:B}pushState(E,B,oe,De){let Ne=this.prepareExternalUrl(oe+ie(De));0==Ne.length&&(Ne=this._platformLocation.pathname),this._platformLocation.pushState(E,B,Ne)}replaceState(E,B,oe,De){let Ne=this.prepareExternalUrl(oe+ie(De));0==Ne.length&&(Ne=this._platformLocation.pathname),this._platformLocation.replaceState(E,B,Ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return _.ɵfac=function(E){return new(E||_)(f.LFG(x),f.LFG(Ee,8))},_.ɵprov=f.Yz7({token:_,factory:_.ɵfac}),_})(),xe=(()=>{class _{constructor(E,B){this._subject=new f.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const oe=this._platformStrategy.getBaseHref();this._platformLocation=B,this._baseHref=J(Ge(oe)),this._platformStrategy.onPopState((De=>{this._subject.emit({url:this.path(!0),pop:!0,state:De.state,type:De.type})}))}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,B=""){return this.path()==this.normalize(E+ie(B))}normalize(E){return _.stripTrailingSlash(function Bt(_,O){return _&&O.startsWith(_)?O.substring(_.length):O}(this._baseHref,Ge(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,B="",oe=null){this._platformStrategy.pushState(oe,"",E,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ie(B)),oe)}replaceState(E,B="",oe=null){this._platformStrategy.replaceState(oe,"",E,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ie(B)),oe)}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((B=>{this._notifyUrlChangeListeners(B.url,B.state)})))}_notifyUrlChangeListeners(E="",B){this._urlChangeListeners.forEach((oe=>oe(E,B)))}subscribe(E,B,oe){return this._subject.subscribe({next:E,error:B,complete:oe})}}return _.normalizeQueryParams=ie,_.joinWithSlash=W,_.stripTrailingSlash=J,_.ɵfac=function(E){return new(E||_)(f.LFG(be),f.LFG(x))},_.ɵprov=f.Yz7({token:_,factory:function(){return function Ze(){return new xe((0,f.LFG)(be),(0,f.LFG)(x))}()},providedIn:"root"}),_})();function Ge(_){return _.replace(/\/index.html$/,"")}function Et(_,O){O=encodeURIComponent(O);for(const E of _.split(";")){const B=E.indexOf("="),[oe,De]=-1==B?[E,""]:[E.slice(0,B),E.slice(B+1)];if(oe.trim()===O)return decodeURIComponent(De)}return null}class Wr{constructor(O,E,B,oe){this.$implicit=O,this.ngForOf=E,this.index=B,this.count=oe}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 dr=(()=>{class _{constructor(E,B,oe){this._viewContainer=E,this._template=B,this._differs=oe,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 B=this._viewContainer;E.forEachOperation(((oe,De,Ne)=>{if(null==oe.previousIndex)B.createEmbeddedView(this._template,new Wr(oe.item,this._ngForOf,-1,-1),null===Ne?void 0:Ne);else if(null==Ne)B.remove(null===De?void 0:De);else if(null!==De){const We=B.get(De);B.move(We,Ne),wn(We,oe)}}));for(let oe=0,De=B.length;oe<De;oe++){const We=B.get(oe).context;We.index=oe,We.count=De,We.ngForOf=this._ngForOf}E.forEachIdentityChange((oe=>{wn(B.get(oe.currentIndex),oe)}))}static ngTemplateContextGuard(E,B){return!0}}return _.ɵfac=function(E){return new(E||_)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4))},_.ɵdir=f.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),_})();function wn(_,O){_.context.$implicit=O.item}let mr=(()=>{class _{constructor(E,B){this._viewContainer=E,this._context=new Hn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=B}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,B){return!0}}return _.ɵfac=function(E){return new(E||_)(f.Y36(f.s_b),f.Y36(f.Rgc))},_.ɵdir=f.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),_})();class Hn{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)}'.`)}class Ss{createSubscription(O,E){return O.subscribe({next:E,error:B=>{throw B}})}dispose(O){O.unsubscribe()}onDestroy(O){O.unsubscribe()}}class vr{createSubscription(O,E){return O.then(E,(B=>{throw B}))}dispose(O){}onDestroy(O){}}const kr=new vr,$n=new Ss;let As=(()=>{class _{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,(B=>this._updateLatestValue(E,B)))}_selectStrategy(E){if((0,f.QGY)(E))return kr;if((0,f.F4k)(E))return $n;throw function vn(_,O){return new f.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,B){E===this._obj&&(this._latestValue=B,this._ref.markForCheck())}}return _.ɵfac=function(E){return new(E||_)(f.Y36(f.sBO,16))},_.ɵpipe=f.Yjl({name:"async",type:_,pure:!1}),_})(),Gs=(()=>{class _{}return _.ɵfac=function(E){return new(E||_)},_.ɵmod=f.oAB({type:_}),_.ɵinj=f.cJS({}),_})();const Rs="browser";let hr=(()=>{class _{}return _.ɵprov=(0,f.Yz7)({token:_,providedIn:"root",factory:()=>new ss((0,f.LFG)(P),window)}),_})();class ss{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 ur(_,O){const E=_.getElementById(O)||_.getElementsByName(O)[0];if(E)return E;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const B=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let oe=B.currentNode;for(;oe;){const De=oe.shadowRoot;if(De){const Ne=De.getElementById(O)||De.querySelector(`[name="${O}"]`);if(Ne)return Ne}oe=B.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(),B=E.left+this.window.pageXOffset,oe=E.top+this.window.pageYOffset,De=this.offset();this.window.scrollTo(B-De[0],oe-De[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 is{}},529:(j,w,h)=>{"use strict";h.d(w,{JF:()=>ar,WM:()=>I,eN:()=>me});var f=h(6895),p=h(6738),S=h(1086),T=h(2916),C=h(1406),M=h(2198),P=h(4850);class x{}class F{}class I{constructor(H){this.normalizedNames=new Map,this.lazyUpdate=null,H?this.lazyInit="string"==typeof H?()=>{this.headers=new Map,H.split("\n").forEach((L=>{const ae=L.indexOf(":");if(ae>0){const ce=L.slice(0,ae),ge=ce.toLowerCase(),Te=L.slice(ae+1).trim();this.maybeSetNormalizedName(ce,ge),this.headers.has(ge)?this.headers.get(ge).push(Te):this.headers.set(ge,[Te])}}))}:()=>{this.headers=new Map,Object.keys(H).forEach((L=>{let ae=H[L];const ce=L.toLowerCase();"string"==typeof ae&&(ae=[ae]),ae.length>0&&(this.headers.set(ce,ae),this.maybeSetNormalizedName(L,ce))}))}:this.headers=new Map}has(H){return this.init(),this.headers.has(H.toLowerCase())}get(H){this.init();const L=this.headers.get(H.toLowerCase());return L&&L.length>0?L[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(H){return this.init(),this.headers.get(H.toLowerCase())||null}append(H,L){return this.clone({name:H,value:L,op:"a"})}set(H,L){return this.clone({name:H,value:L,op:"s"})}delete(H,L){return this.clone({name:H,value:L,op:"d"})}maybeSetNormalizedName(H,L){this.normalizedNames.has(L)||this.normalizedNames.set(L,H)}init(){this.lazyInit&&(this.lazyInit instanceof I?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((L=>{this.headers.set(L,H.headers.get(L)),this.normalizedNames.set(L,H.normalizedNames.get(L))}))}clone(H){const L=new I;return L.lazyInit=this.lazyInit&&this.lazyInit instanceof I?this.lazyInit:this,L.lazyUpdate=(this.lazyUpdate||[]).concat([H]),L}applyUpdate(H){const L=H.name.toLowerCase();switch(H.op){case"a":case"s":let ae=H.value;if("string"==typeof ae&&(ae=[ae]),0===ae.length)return;this.maybeSetNormalizedName(H.name,L);const ce=("a"===H.op?this.headers.get(L):void 0)||[];ce.push(...ae),this.headers.set(L,ce);break;case"d":const ge=H.value;if(ge){let Te=this.headers.get(L);if(!Te)return;Te=Te.filter((rt=>-1===ge.indexOf(rt))),0===Te.length?(this.headers.delete(L),this.normalizedNames.delete(L)):this.headers.set(L,Te)}else this.headers.delete(L),this.normalizedNames.delete(L)}}forEach(H){this.init(),Array.from(this.normalizedNames.keys()).forEach((L=>H(this.normalizedNames.get(L),this.headers.get(L))))}}class U{encodeKey(H){return J(H)}encodeValue(H){return J(H)}decodeKey(H){return decodeURIComponent(H)}decodeValue(H){return decodeURIComponent(H)}}const se=/%(\d[a-f0-9])/gi,W={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function J(Z){return encodeURIComponent(Z).replace(se,((H,L)=>W[L]??H))}function ie(Z){return`${Z}`}class be{constructor(H={}){if(this.updates=null,this.cloneFrom=null,this.encoder=H.encoder||new U,H.fromString){if(H.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function z(Z,H){const L=new Map;return Z.length>0&&Z.replace(/^\?/,"").split("&").forEach((ce=>{const ge=ce.indexOf("="),[Te,rt]=-1==ge?[H.decodeKey(ce),""]:[H.decodeKey(ce.slice(0,ge)),H.decodeValue(ce.slice(ge+1))],je=L.get(Te)||[];je.push(rt),L.set(Te,je)})),L}(H.fromString,this.encoder)}else H.fromObject?(this.map=new Map,Object.keys(H.fromObject).forEach((L=>{const ae=H.fromObject[L];this.map.set(L,Array.isArray(ae)?ae:[ae])}))):this.map=null}has(H){return this.init(),this.map.has(H)}get(H){this.init();const L=this.map.get(H);return L?L[0]:null}getAll(H){return this.init(),this.map.get(H)||null}keys(){return this.init(),Array.from(this.map.keys())}append(H,L){return this.clone({param:H,value:L,op:"a"})}appendAll(H){const L=[];return Object.keys(H).forEach((ae=>{const ce=H[ae];Array.isArray(ce)?ce.forEach((ge=>{L.push({param:ae,value:ge,op:"a"})})):L.push({param:ae,value:ce,op:"a"})})),this.clone(L)}set(H,L){return this.clone({param:H,value:L,op:"s"})}delete(H,L){return this.clone({param:H,value:L,op:"d"})}toString(){return this.init(),this.keys().map((H=>{const L=this.encoder.encodeKey(H);return this.map.get(H).map((ae=>L+"="+this.encoder.encodeValue(ae))).join("&")})).filter((H=>""!==H)).join("&")}clone(H){const L=new be({encoder:this.encoder});return L.cloneFrom=this.cloneFrom||this,L.updates=(this.updates||[]).concat(H),L}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 L=("a"===H.op?this.map.get(H.param):void 0)||[];L.push(ie(H.value)),this.map.set(H.param,L);break;case"d":if(void 0===H.value){this.map.delete(H.param);break}{let ae=this.map.get(H.param)||[];const ce=ae.indexOf(ie(H.value));-1!==ce&&ae.splice(ce,1),ae.length>0?this.map.set(H.param,ae):this.map.delete(H.param)}}})),this.cloneFrom=this.updates=null)}}class Ee{constructor(){this.map=new Map}set(H,L){return this.map.set(H,L),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 xe(Z){return typeof Blob<"u"&&Z instanceof Blob}function Ze(Z){return typeof FormData<"u"&&Z instanceof FormData}class Ge{constructor(H,L,ae,ce){let ge;if(this.url=L,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=H.toUpperCase(),function Re(Z){switch(Z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ce?(this.body=void 0!==ae?ae:null,ge=ce):ge=ae,ge&&(this.reportProgress=!!ge.reportProgress,this.withCredentials=!!ge.withCredentials,ge.responseType&&(this.responseType=ge.responseType),ge.headers&&(this.headers=ge.headers),ge.context&&(this.context=ge.context),ge.params&&(this.params=ge.params)),this.headers||(this.headers=new I),this.context||(this.context=new Ee),this.params){const Te=this.params.toString();if(0===Te.length)this.urlWithParams=L;else{const rt=L.indexOf("?");this.urlWithParams=L+(-1===rt?"?":rt<L.length-1?"&":"")+Te}}else this.params=new be,this.urlWithParams=L}serializeBody(){return null===this.body?null:$e(this.body)||xe(this.body)||Ze(this.body)||function Bt(Z){return typeof URLSearchParams<"u"&&Z instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof be?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||Ze(this.body)?null:xe(this.body)?this.body.type||null:$e(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof be?"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 L=H.method||this.method,ae=H.url||this.url,ce=H.responseType||this.responseType,ge=void 0!==H.body?H.body:this.body,Te=void 0!==H.withCredentials?H.withCredentials:this.withCredentials,rt=void 0!==H.reportProgress?H.reportProgress:this.reportProgress;let je=H.headers||this.headers,ut=H.params||this.params;const At=H.context??this.context;return void 0!==H.setHeaders&&(je=Object.keys(H.setHeaders).reduce(((gt,Tt)=>gt.set(Tt,H.setHeaders[Tt])),je)),H.setParams&&(ut=Object.keys(H.setParams).reduce(((gt,Tt)=>gt.set(Tt,H.setParams[Tt])),ut)),new Ge(L,ae,ge,{params:ut,headers:je,context:At,reportProgress:rt,responseType:ce,withCredentials:Te})}}var ct=(()=>((ct=ct||{})[ct.Sent=0]="Sent",ct[ct.UploadProgress=1]="UploadProgress",ct[ct.ResponseHeader=2]="ResponseHeader",ct[ct.DownloadProgress=3]="DownloadProgress",ct[ct.Response=4]="Response",ct[ct.User=5]="User",ct))();class Ut{constructor(H,L=200,ae="OK"){this.headers=H.headers||new I,this.status=void 0!==H.status?H.status:L,this.statusText=H.statusText||ae,this.url=H.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends Ut{constructor(H={}){super(H),this.type=ct.ResponseHeader}clone(H={}){return new Qe({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 Lt extends Ut{constructor(H={}){super(H),this.type=ct.Response,this.body=void 0!==H.body?H.body:null}clone(H={}){return new Lt({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 Ut{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(L){this.handler=L}request(L,ae,ce={}){let ge;if(L instanceof Ge)ge=L;else{let je,ut;je=ce.headers instanceof I?ce.headers:new I(ce.headers),ce.params&&(ut=ce.params instanceof be?ce.params:new be({fromObject:ce.params})),ge=new Ge(L,ae,void 0!==ce.body?ce.body:null,{headers:je,context:ce.context,params:ut,reportProgress:ce.reportProgress,responseType:ce.responseType||"json",withCredentials:ce.withCredentials})}const Te=(0,S.of)(ge).pipe((0,C.b)((je=>this.handler.handle(je))));if(L instanceof Ge||"events"===ce.observe)return Te;const rt=Te.pipe((0,M.h)((je=>je instanceof Lt)));switch(ce.observe||"body"){case"body":switch(ge.responseType){case"arraybuffer":return rt.pipe((0,P.U)((je=>{if(null!==je.body&&!(je.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return je.body})));case"blob":return rt.pipe((0,P.U)((je=>{if(null!==je.body&&!(je.body instanceof Blob))throw new Error("Response is not a Blob.");return je.body})));case"text":return rt.pipe((0,P.U)((je=>{if(null!==je.body&&"string"!=typeof je.body)throw new Error("Response is not a string.");return je.body})));default:return rt.pipe((0,P.U)((je=>je.body)))}case"response":return rt;default:throw new Error(`Unreachable: unhandled observe type ${ce.observe}}`)}}delete(L,ae={}){return this.request("DELETE",L,ae)}get(L,ae={}){return this.request("GET",L,ae)}head(L,ae={}){return this.request("HEAD",L,ae)}jsonp(L,ae){return this.request("JSONP",L,{params:(new be).append(ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(L,ae={}){return this.request("OPTIONS",L,ae)}patch(L,ae,ce={}){return this.request("PATCH",L,le(ce,ae))}post(L,ae,ce={}){return this.request("POST",L,le(ce,ae))}put(L,ae,ce={}){return this.request("PUT",L,le(ce,ae))}}return Z.ɵfac=function(L){return new(L||Z)(p.LFG(x))},Z.ɵprov=p.Yz7({token:Z,factory:Z.ɵfac}),Z})();class Ce{constructor(H,L){this.next=H,this.interceptor=L}handle(H){return this.interceptor.intercept(H,this.next)}}const ee=new p.OlP("HTTP_INTERCEPTORS");let Pe=(()=>{class Z{intercept(L,ae){return ae.handle(L)}}return Z.ɵfac=function(L){return new(L||Z)},Z.ɵprov=p.Yz7({token:Z,factory:Z.ɵfac}),Z})();const Nt=/^\)\]\}',?\n/;let Bn=(()=>{class Z{constructor(L){this.xhrFactory=L}handle(L){if("JSONP"===L.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new T.y((ae=>{const ce=this.xhrFactory.build();if(ce.open(L.method,L.urlWithParams),L.withCredentials&&(ce.withCredentials=!0),L.headers.forEach(((Ie,Ht)=>ce.setRequestHeader(Ie,Ht.join(",")))),L.headers.has("Accept")||ce.setRequestHeader("Accept","application/json, text/plain, */*"),!L.headers.has("Content-Type")){const Ie=L.detectContentTypeHeader();null!==Ie&&ce.setRequestHeader("Content-Type",Ie)}if(L.responseType){const Ie=L.responseType.toLowerCase();ce.responseType="json"!==Ie?Ie:"text"}const ge=L.serializeBody();let Te=null;const rt=()=>{if(null!==Te)return Te;const Ie=ce.statusText||"OK",Ht=new I(ce.getAllResponseHeaders()),ft=function kt(Z){return"responseURL"in Z&&Z.responseURL?Z.responseURL:/^X-Request-URL:/m.test(Z.getAllResponseHeaders())?Z.getResponseHeader("X-Request-URL"):null}(ce)||L.url;return Te=new Qe({headers:Ht,status:ce.status,statusText:Ie,url:ft}),Te},je=()=>{let{headers:Ie,status:Ht,statusText:ft,url:_t}=rt(),Le=null;204!==Ht&&(Le=typeof ce.response>"u"?ce.responseText:ce.response),0===Ht&&(Ht=Le?200:0);let hn=Ht>=200&&Ht<300;if("json"===L.responseType&&"string"==typeof Le){const Kt=Le;Le=Le.replace(Nt,"");try{Le=""!==Le?JSON.parse(Le):null}catch(Zt){Le=Kt,hn&&(hn=!1,Le={error:Zt,text:Le})}}hn?(ae.next(new Lt({body:Le,headers:Ie,status:Ht,statusText:ft,url:_t||void 0})),ae.complete()):ae.error(new Fe({error:Le,headers:Ie,status:Ht,statusText:ft,url:_t||void 0}))},ut=Ie=>{const{url:Ht}=rt(),ft=new Fe({error:Ie,status:ce.status||0,statusText:ce.statusText||"Unknown Error",url:Ht||void 0});ae.error(ft)};let At=!1;const gt=Ie=>{At||(ae.next(rt()),At=!0);let Ht={type:ct.DownloadProgress,loaded:Ie.loaded};Ie.lengthComputable&&(Ht.total=Ie.total),"text"===L.responseType&&!!ce.responseText&&(Ht.partialText=ce.responseText),ae.next(Ht)},Tt=Ie=>{let Ht={type:ct.UploadProgress,loaded:Ie.loaded};Ie.lengthComputable&&(Ht.total=Ie.total),ae.next(Ht)};return ce.addEventListener("load",je),ce.addEventListener("error",ut),ce.addEventListener("timeout",ut),ce.addEventListener("abort",ut),L.reportProgress&&(ce.addEventListener("progress",gt),null!==ge&&ce.upload&&ce.upload.addEventListener("progress",Tt)),ce.send(ge),ae.next({type:ct.Sent}),()=>{ce.removeEventListener("error",ut),ce.removeEventListener("abort",ut),ce.removeEventListener("load",je),ce.removeEventListener("timeout",ut),L.reportProgress&&(ce.removeEventListener("progress",gt),null!==ge&&ce.upload&&ce.upload.removeEventListener("progress",Tt)),ce.readyState!==ce.DONE&&ce.abort()}}))}}return Z.ɵfac=function(L){return new(L||Z)(p.LFG(f.JF))},Z.ɵprov=p.Yz7({token:Z,factory:Z.ɵfac}),Z})();const wr=new p.OlP("XSRF_COOKIE_NAME"),Un=new p.OlP("XSRF_HEADER_NAME");class Gt{}let bn=(()=>{class Z{constructor(L,ae,ce){this.doc=L,this.platform=ae,this.cookieName=ce,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const L=this.doc.cookie||"";return L!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,f.Mx)(L,this.cookieName),this.lastCookieString=L),this.lastToken}}return Z.ɵfac=function(L){return new(L||Z)(p.LFG(f.K0),p.LFG(p.Lbi),p.LFG(wr))},Z.ɵprov=p.Yz7({token:Z,factory:Z.ɵfac}),Z})(),dn=(()=>{class Z{constructor(L,ae){this.tokenService=L,this.headerName=ae}intercept(L,ae){const ce=L.url.toLowerCase();if("GET"===L.method||"HEAD"===L.method||ce.startsWith("http://")||ce.startsWith("https://"))return ae.handle(L);const ge=this.tokenService.getToken();return null!==ge&&!L.headers.has(this.headerName)&&(L=L.clone({headers:L.headers.set(this.headerName,ge)})),ae.handle(L)}}return Z.ɵfac=function(L){return new(L||Z)(p.LFG(Gt),p.LFG(Un))},Z.ɵprov=p.Yz7({token:Z,factory:Z.ɵfac}),Z})(),or=(()=>{class Z{constructor(L,ae){this.backend=L,this.injector=ae,this.chain=null}handle(L){if(null===this.chain){const ae=this.injector.get(ee,[]);this.chain=ae.reduceRight(((ce,ge)=>new Ce(ce,ge)),this.backend)}return this.chain.handle(L)}}return Z.ɵfac=function(L){return new(L||Z)(p.LFG(F),p.LFG(p.zs3))},Z.ɵprov=p.Yz7({token:Z,factory:Z.ɵfac}),Z})(),yn=(()=>{class Z{static disable(){return{ngModule:Z,providers:[{provide:dn,useClass:Pe}]}}static withOptions(L={}){return{ngModule:Z,providers:[L.cookieName?{provide:wr,useValue:L.cookieName}:[],L.headerName?{provide:Un,useValue:L.headerName}:[]]}}}return Z.ɵfac=function(L){return new(L||Z)},Z.ɵmod=p.oAB({type:Z}),Z.ɵinj=p.cJS({providers:[dn,{provide:ee,useExisting:dn,multi:!0},{provide:Gt,useClass:bn},{provide:wr,useValue:"XSRF-TOKEN"},{provide:Un,useValue:"X-XSRF-TOKEN"}]}),Z})(),ar=(()=>{class Z{}return Z.ɵfac=function(L){return new(L||Z)},Z.ɵmod=p.oAB({type:Z}),Z.ɵinj=p.cJS({providers:[me,{provide:x,useClass:or},Bn,{provide:F,useExisting:Bn}],imports:[[yn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Z})()},6738:(j,w,h)=>{"use strict";h.d(w,{deG:()=>Sg,tb:()=>sg,AFp:()=>tg,ip1:()=>eg,CZH:()=>Vl,hGG:()=>V0,z2F:()=>Ql,sBO:()=>S0,Sil:()=>s0,_Vd:()=>ka,EJc:()=>n0,SBq:()=>zo,qLn:()=>fa,vpe:()=>Ts,tBr:()=>aa,XFs:()=>L,OlP:()=>zn,zs3:()=>Ds,ZZ4:()=>nc,aQg:()=>rc,soG:()=>Gl,YKP:()=>pp,h0i:()=>oo,PXZ:()=>v0,R0b:()=>hs,FiY:()=>To,Lbi:()=>XD,g9A:()=>rg,Qsj:()=>ZE,FYo:()=>cp,JOm:()=>_s,q3G:()=>Zn,tp0:()=>So,Rgc:()=>Zo,dDg:()=>ag,GfV:()=>dp,s_b:()=>Ua,ifc:()=>Tt,eFA:()=>cg,G48:()=>T0,Gpc:()=>Ee,_c5:()=>H0,VLi:()=>g0,c2e:()=>e0,zSh:()=>Qu,wAp:()=>Ft,vHH:()=>Ze,EiD:()=>jc,mCW:()=>Mo,qzn:()=>ki,JVY:()=>im,pB0:()=>lm,eBb:()=>am,L6k:()=>om,LAX:()=>um,cg1:()=>_l,kL8:()=>Oh,yhl:()=>Pc,dqk:()=>Le,sIi:()=>ko,CqO:()=>Uf,QGY:()=>fl,F4k:()=>Bf,RDi:()=>oe,AaK:()=>ie,z3N:()=>Bs,qOj:()=>tl,TTD:()=>Ns,_Bn:()=>ap,xp6:()=>vd,uIk:()=>sl,Tol:()=>uh,ekj:()=>gl,Suo:()=>Np,Xpm:()=>q,lG2:()=>ye,Yz7:()=>Gt,cJS:()=>dn,oAB:()=>tt,Yjl:()=>ot,Y36:()=>Bo,_UZ:()=>dl,BQk:()=>Ma,ynx:()=>Aa,qZA:()=>Sa,TgZ:()=>Ta,EpF:()=>jf,n5z:()=>Xs,LFG:()=>gr,$8M:()=>mi,$Z:()=>Lf,NdJ:()=>hl,CRH:()=>Op,kcU:()=>Rt,O4$:()=>pt,oxw:()=>Gf,ALo:()=>wp,lcZ:()=>Tp,Q6J:()=>ll,MGl:()=>Ia,VKq:()=>vp,iGM:()=>xp,CHM:()=>ci,oJD:()=>Bc,LSH:()=>du,YNc:()=>Tf,_uU:()=>gh,Oqu:()=>yl,hij:()=>xa,AsE:()=>vl,Gf:()=>Rp});var f=h(2916),p=h(2866),S=h(9146),T=h(3009),M=h(5529),P=h(2654),x=h(1762);class I{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 U=h(4327);function z(){return new M.xQ}function W(e){for(let t in e)if(e[t]===W)return t;throw Error("Could not find renamed property on target object.")}function J(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ie).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 be(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ke=W({__forward_ref__:W});function Ee(e){return e.__forward_ref__=Ee,e.toString=function(){return ie(this())},e}function Re(e){return $e(e)?e():e}function $e(e){return"function"==typeof e&&e.hasOwnProperty(Ke)&&e.__forward_ref__===Ee}class Ze extends Error{constructor(t,n){super(function Bt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Ge(e){return"string"==typeof e?e:null==e?"":String(e)}function ct(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ge(e)}function Fe(e,t){const n=t?` in ${t}`:"";throw new Ze(-201,`No provider for ${ct(e)} found${n}`)}function Nt(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 Gt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function or(e){return er(e,X)||er(e,Z)}function er(e,t){return e.hasOwnProperty(t)?e[t]:null}function ar(e){return e&&(e.hasOwnProperty(fe)||e.hasOwnProperty(H))?e[fe]:null}const X=W({"ɵprov":W}),fe=W({"ɵinj":W}),Z=W({ngInjectableDef:W}),H=W({ngInjectorDef:W});var L=(()=>((L=L||{})[L.Default=0]="Default",L[L.Host=1]="Host",L[L.Self=2]="Self",L[L.SkipSelf=4]="SkipSelf",L[L.Optional=8]="Optional",L))();let ae;function ge(e){const t=ae;return ae=e,t}function Te(e,t,n){const r=or(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&L.Optional?null:void 0!==t?t:void Fe(ie(e),"Injector")}function je(e){return{toString:e}.toString()}var ut=(()=>((ut=ut||{})[ut.OnPush=0]="OnPush",ut[ut.Default=1]="Default",ut))(),Tt=(()=>{return(e=Tt||(Tt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Tt;var e})();const Ie=typeof globalThis<"u"&&globalThis,Ht=typeof window<"u"&&window,ft=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Le=Ie||typeof global<"u"&&global||Ht||ft,Zt={},lt=[],st=W({"ɵcmp":W}),Yt=W({"ɵdir":W}),et=W({"ɵpipe":W}),xt=W({"ɵmod":W}),Ye=W({"ɵfac":W}),Qt=W({__NG_ELEMENT_ID__:W});let pe=0;function q(e){return je((()=>{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===ut.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||lt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Tt.Emulated,id:"c",styles:e.styles||lt,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,o=e.pipes;return r.id+=pe++,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(Se):null,r}))}function ue(e){return Ve(e)||function Xt(e){return e[Yt]||null}(e)}function Se(e){return function Ue(e){return e[et]||null}(e)}const it={};function tt(e){return je((()=>{const t={type:e.type,bootstrap:e.bootstrap||lt,declarations:e.declarations||lt,imports:e.imports||lt,exports:e.exports||lt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(it[e.id]=e.type),t}))}function te(e,t){if(null==e)return Zt;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=q;function ot(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ve(e){return e[st]||null}function Be(e,t){const n=e[xt]||null;if(!n&&!0===t)throw new Error(`Type ${ie(e)} does not have 'ɵmod' property.`);return n}function Qn(e){return Array.isArray(e)&&"object"==typeof e[1]}function vn(e){return Array.isArray(e)&&!0===e[1]}function Ss(e){return 0!=(8&e.flags)}function vr(e){return 2==(2&e.flags)}function kr(e){return 1==(1&e.flags)}function $n(e){return null!==e.template}function As(e){return 0!=(512&e[2])}function Rr(e,t){return e.hasOwnProperty(Ye)?e[Ye]:null}class zs{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ns(){return oi}function oi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ws),ai}function ai(){const e=Os(this),t=e?.current;if(t){const n=e.previous;if(n===Zt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ws(e,t,n,r){const s=Os(e)||function hr(e,t){return e[In]=t}(e,{previous:Zt,current:null}),i=s.current||(s.current={}),o=s.previous,d=this.declaredInputs[n],m=o[d];i[d]=new zs(m&&m.currentValue,t,o===Zt),e[r]=t}Ns.ngInherit=!0;const In="__ngSimpleChanges__";function Os(e){return e[In]||null}const _="math";let B;function oe(e){B=e}function De(){return void 0!==B?B:typeof document<"u"?document:void 0}function We(e){return!!e.listen}const gn={createRenderer:(e,t)=>De()};function vt(e){for(;Array.isArray(e);)e=e[0];return e}function rn(e,t){return vt(t[e])}function an(e,t){return vt(t[e.index])}function pr(e,t){return e.data[t]}function Pn(e,t){const n=t[e];return Qn(n)?n:n[0]}function Qr(e){return 4==(4&e[2])}function jr(e){return 128==(128&e[2])}function Ar(e,t){return null==t?null:e[t]}function ui(e){e[18]=0}function qr(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 Ot={lFrame:Jn(null),bindingsEnabled:!0};function Ks(){return Ot.bindingsEnabled}function ke(){return Ot.lFrame.lView}function nn(){return Ot.lFrame.tView}function ci(e){return Ot.lFrame.contextLView=e,e[8]}function Tn(){let e=xi();for(;null!==e&&64===e.type;)e=e.parent;return e}function xi(){return Ot.lFrame.currentTNode}function Ur(e,t){const n=Ot.lFrame;n.currentTNode=e,n.isParent=t}function A(){return Ot.lFrame.isParent}function a(){Ot.lFrame.isParent=!1}function K(){const e=Ot.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function we(){return Ot.lFrame.bindingIndex++}function Xe(e){const t=Ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function qt(e,t){const n=Ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vt(t)}function Vt(e){Ot.lFrame.currentDirectiveIndex=e}function xn(){return Ot.lFrame.currentQueryIndex}function kn(e){Ot.lFrame.currentQueryIndex=e}function qn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function jn(e,t,n){if(n&L.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&L.Host||(s=qn(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=Ot.lFrame=_r();return r.currentTNode=t,r.lView=e,!0}function Nr(e){const t=_r(),n=e[1];Ot.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function _r(){const e=Ot.lFrame,t=null===e?null:e.child;return null===t?Jn(e):t}function Jn(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 Or(){const e=Ot.lFrame;return Ot.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fr=Or;function Er(){const e=Or();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 Sn(){return Ot.lFrame.selectedIndex}function Hr(e){Ot.lFrame.selectedIndex=e}function An(){const e=Ot.lFrame;return pr(e.tView,e.selectedIndex)}function pt(){Ot.lFrame.currentNamespace="svg"}function Rt(){!function sn(){Ot.lFrame.currentNamespace=null}()}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 Dr(e,t,n){tr(e,t,3,n)}function _n(e,t,n,r){(3&e[2])===n&&tr(e,t,n,r)}function Zs(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function tr(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 lr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Qs(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];as(o)?r&&e.setProperty(t,o,d):r?e.setAttribute(t,o,d):t.setAttribute(o,d),s++}}return s}function Za(e){return 3===e||4===e||6===e}function as(e){return 64===e.charCodeAt(0)}function hi(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||ea(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function ea(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 ta(e){return-1!==e}function qs(e){return 32767&e}function Js(e,t){let n=function Qa(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let go=!0;function pi(e){const t=go;return go=e,t}let mo=0;function gi(e,t){const n=yo(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ri(r.data,e),Ri(t,null),Ri(r.blueprint,null));const s=vo(e,t),i=e.injectorIndex;if(ta(s)){const o=qs(s),d=Js(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 Ri(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function vo(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 g(e,t,n){!function qa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Qt)&&(r=n[Qt]),null==r&&(r=n[Qt]=mo++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function u(e,t,n){if(n&L.Optional)return e;Fe(t,"NodeInjector")}function v(e,t,n,r){if(n&L.Optional&&void 0===r&&(r=null),0==(n&(L.Self|L.Host))){const s=e[9],i=ge(void 0);try{return s?s.get(t,r,n&L.Optional):Te(t,r,n&L.Optional)}finally{ge(i)}}return u(r,t,n)}function D(e,t,n,r=L.Default,s){if(null!==e){const i=function cn(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Qt)?e[Qt]:void 0;return"number"==typeof t?t>=0?255&t:Y:t}(n);if("function"==typeof i){if(!jn(t,e,r))return r&L.Host?u(s,n,r):v(t,n,r,s);try{const o=i(r);if(null!=o||r&L.Optional)return o;Fe(n)}finally{Fr()}}else if("number"==typeof i){let o=null,d=yo(e,t),m=-1,b=r&L.Host?t[16][6]:null;for((-1===d||r&L.SkipSelf)&&(m=-1===d?vo(e,t):t[d+8],-1!==m&&mn(r,!1)?(o=t[1],d=qs(m),t=Js(m,t)):d=-1);-1!==d;){const N=t[1];if(St(i,d,N.data)){const G=re(d,t,n,o,r,b);if(G!==k)return G}m=t[d+8],-1!==m&&mn(r,t[1].data[d+8]===b)&&St(i,d,t)?(o=N,d=qs(m),t=Js(m,t)):d=-1}}}return v(t,n,r,s)}const k={};function Y(){return new fn(Tn(),ke())}function re(e,t,n,r,s,i){const o=t[1],d=o.data[e+8],N=Me(d,o,n,null==r?vr(d)&&go:r!=o&&0!=(3&d.type),s&L.Host&&i===d);return null!==N?dt(t,o,N,d):k}function Me(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 de=r?d:d+N;de<ne;de++){const Ae=o[de];if(de<m&&n===Ae||de>=m&&Ae.type===n)return de}if(s){const de=o[m];if(de&&$n(de)&&de.type===n)return m}return null}function dt(e,t,n,r){let s=e[n];const i=t.data;if(function Vr(e){return e instanceof lr}(s)){const o=s;o.resolving&&function Ut(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ze(-200,`Circular dependency in DI detected for ${e}${n}`)}(ct(i[n]));const d=pi(o.canSeeViewProviders);o.resolving=!0;const m=o.injectImpl?ge(o.injectImpl):null;jn(e,r,L.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Lr(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const o=oi(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&&ge(m),pi(d),o.resolving=!1,Fr()}}return s}function St(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function mn(e,t){return!(e&L.Self||e&L.Host&&t)}class fn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return D(this._tNode,this._lView,t,r,n)}}function Xs(e){return je((()=>{const t=e.prototype.constructor,n=t[Ye]||ks(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[Ye]||ks(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i}))}function ks(e){return $e(e)?()=>{const t=ks(Re(e));return t&&t()}:Rr(e)}function mi(e){return function l(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(Za(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 Xr="__parameters__";function Ni(e,t,n){return je((()=>{const r=function Ja(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 G=m.hasOwnProperty(Xr)?m[Xr]:Object.defineProperty(m,Xr,{value:[]})[Xr];for(;G.length<=N;)G.push(null);return(G[N]=G[N]||[]).push(o),m}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}class zn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=Gt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Sg=new zn("AnalyzeForEntryComponents");function es(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)),es(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 sa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $r(e,t,n){let r=Oi(e,t);return r>=0?e[1|r]=n:(r=~r,function Ig(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=Oi(e,t);if(n>=0)return e[1|n]}function Oi(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 bo={},nu="__NG_DI_FLAG__",oa="ngTempTokenPath",Lg=/\n/gm,Ec="__source",jg=W({provide:String,useValue:W});let Co;function Dc(e){const t=Co;return Co=e,t}function Bg(e,t=L.Default){if(void 0===Co)throw new Ze(203,"");return null===Co?Te(e,void 0,t):Co.get(e,t&L.Optional?null:void 0,t)}function gr(e,t=L.Default){return(function ce(){return ae}()||Bg)(Re(e),t)}const Ug=gr;function ru(e){const t=[];for(let n=0;n<e.length;n++){const r=Re(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ze(900,"");let s,i=L.Default;for(let o=0;o<r.length;o++){const d=r[o],m=Hg(d);"number"==typeof m?-1===m?s=d.token:i|=m:s=d}t.push(gr(s,i))}else t.push(gr(r))}return t}function wo(e,t){return e[nu]=t,e.prototype[nu]=t,e}function Hg(e){return e[nu]}const aa=wo(Ni("Inject",(e=>({token:e}))),-1),To=wo(Ni("Optional"),8),So=wo(Ni("SkipSelf"),4);let la,ca;function Li(e){return function iu(){if(void 0===la&&(la=null,Le.trustedTypes))try{la=Le.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return la}()?.createHTML(e)||e}function Ac(e){return function ou(){if(void 0===ca&&(ca=null,Le.trustedTypes))try{ca=Le.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ca}()?.createHTML(e)||e}class yi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class em extends yi{getTypeName(){return"HTML"}}class tm extends yi{getTypeName(){return"Style"}}class nm extends yi{getTypeName(){return"Script"}}class rm extends yi{getTypeName(){return"URL"}}class sm extends yi{getTypeName(){return"ResourceURL"}}function Bs(e){return e instanceof yi?e.changingThisBreaksApplicationSecurity:e}function ki(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 yi&&e.getTypeName()||null}function im(e){return new em(e)}function om(e){return new tm(e)}function am(e){return new nm(e)}function um(e){return new rm(e)}function lm(e){return new sm(e)}class cm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Li(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class dm{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=Li(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Li(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 hm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,pm=/^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 Mo(e){return(e=String(e)).match(hm)||e.match(pm)?e:"unsafe:"+e}function ys(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Io(...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=Io(Nc,Io(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")),Io(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")),Io(Fc,Oc)),uu=ys("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lu=ys("srcset"),Lc=Io(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")),gm=ys("script,style,template");class mm{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,!gm.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=Mo(m)),lu[d]&&(e=m,m=(e=String(e)).split(",").map((t=>Mo(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 ym=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vm=/([^\#-~ |!])/g;function kc(e){return e.replace(/&/g,"&").replace(ym,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(vm,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let da;function jc(e,t){let n=null;try{da=da||function xc(e){const t=new dm(e);return function fm(){try{return!!(new window.DOMParser).parseFromString(Li(""),"text/html")}catch{return!1}}()?new cm(t):t}(e);let r=t?String(t):"";n=da.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=da.getInertBodyElement(r)}while(r!==i);return Li((new mm).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 _m(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Zn=(()=>((Zn=Zn||{})[Zn.NONE=0]="NONE",Zn[Zn.HTML=1]="HTML",Zn[Zn.STYLE=2]="STYLE",Zn[Zn.SCRIPT=3]="SCRIPT",Zn[Zn.URL=4]="URL",Zn[Zn.RESOURCE_URL=5]="RESOURCE_URL",Zn))();function Bc(e){const t=Po();return t?Ac(t.sanitize(Zn.HTML,e)||""):ki(e,"HTML")?Ac(Bs(e)):jc(De(),Ge(e))}function du(e){const t=Po();return t?t.sanitize(Zn.URL,e)||"":ki(e,"URL")?Bs(e):Mo(Ge(e))}function Po(){const e=ke();return e&&e[12]}const Vc="__ngContext__";function br(e,t){e[Vc]=t}function hu(e){const t=function xo(e){return e[Vc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function gu(e){return e.ngOriginalError}function Fm(e,...t){e.error(...t)}class fa{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Om(e){return e&&e.ngErrorLogger||Fm}(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 zm=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Le))();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 Ro(e){const t=e[3];return vn(t)?t[3]:t}function vu(e){return qc(e[13])}function _u(e){return qc(e[4])}function qc(e){for(;null!==e&&!vn(e);)e=e[4];return e}function Bi(e,t,n,r,s){if(null!=r){let i,o=!1;vn(r)?i=r:Qn(r)&&(o=!0,r=r[0]);const d=vt(r);0===e&&null!==n?null==s?rd(t,n,d):vi(t,n,d,s||null,!0):1===e&&null!==n?vi(t,n,d,s||null,!0):2===e?function cd(e,t,n){const r=ha(e,t);r&&function iy(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 uy(e,t,n,r,s){const i=n[7];i!==vt(n)&&Bi(t,e,r,i,s);for(let d=10;d<n.length;d++){const m=n[d];No(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,qr(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=sa(e,10+t);!function qm(e,t){No(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&&No(e,t,n,3,null,null),function ey(e){let t=e[13];if(!t)return Cu(e[1],e);for(;t;){let n=null;if(Qn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Qn(t)&&Cu(t[1],t),t=t[3];null===t&&(t=e),Qn(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 sy(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 lr)){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 ry(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):vt(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&&vn(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 an(r,n)}(e,t.parent,n)}function vi(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?vi(e,t,n,r,s):rd(e,t,n)}function ha(e,t){return We(e)?e.parentNode(t):t.parentNode}let ad=function od(e,t,n){return 40&e.type?an(e,n):null};function pa(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 ga(e,t){if(null!==t){const n=t.type;if(3&n)return an(t,e);if(4&n)return Tu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ga(e,r);{const s=e[t.index];return vn(s)?Tu(-1,s):vt(s)}}if(32&n)return yu(t,e)()||vt(e[t.index]);{const r=ld(e,t);return null!==r?Array.isArray(r)?r[0]:ga(Ro(e[16]),r):ga(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 ga(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(vt(d),r),n.flags|=4),64!=(64&n.flags))if(8&m)Su(e,t,n.child,r,s,i,!1),Bi(t,e,s,d,i);else if(32&m){const b=yu(n,r);let N;for(;N=b();)Bi(t,e,s,N,i);Bi(t,e,s,d,i)}else 16&m?dd(e,t,r,n,s,i):Bi(t,e,s,d,i);n=o?n.projectionNext:n.next}}function No(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++)Bi(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 cy(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 dy(e,t,n){return t===(4!==e.type||n?e.value:pd)}function fy(e,t,n){let r=4;const s=e.attrs||[],i=function gy(e){for(let t=0;t<e.length;t++)if(Za(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&&!dy(e,m,n)||""===m&&1===t.length){if(us(r))return!1;o=!0}}else{const b=8&r?m:t[++d];if(8&r&&null!==e.attrs){if(!cy(e.attrs,b,n)){if(us(r))return!1;o=!0}continue}const G=hy(8&r?"class":m,s,gd(e),n);if(-1===G){if(us(r))return!1;o=!0;continue}if(""!==b){let ne;ne=G>i?"":s[G+1].toLowerCase();const de=8&r?ne:null;if(de&&-1!==hd(de,b,0)||2&r&&b!==ne){if(us(r))return!1;o=!0}}}}else{if(!o&&!us(r)&&!us(m))return!1;if(o&&us(m))continue;o=!1,r=m|1&r}}return us(r)||o}function us(e){return 0==(1&e)}function hy(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 my(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(fy(e,t[r],n))return!0;return!1}function yd(e,t){return e?":not("+t.trim()+")":t}function vy(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&&!us(o)&&(t+=yd(i,s),s=""),r=o,i=i||!us(r);n++}return""!==s&&(t+=yd(i,s)),t}const zt={};function vd(e){_d(nn(),ke(),Sn()+e,!1)}function _d(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Dr(t,i,n)}else{const i=e.preOrderHooks;null!==i&&_n(t,i,0,n)}Hr(n)}function ma(e,t){return e<<17|t<<2}function ls(e){return e>>17&32767}function Mu(e){return 2|e}function Us(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];kn(s),o.contentQueries(2,t[i],i)}}}function Oo(e,t,n,r,s,i,o,d,m,b){const N=t.blueprint.slice();return N[0]=s,N[2]=140|r,ui(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 Ui(e,t,n,r,s){let i=e.data[t];if(null===i)i=function Bu(e,t,n,r,s){const i=xi(),o=A(),m=e.data[t]=function Ly(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 yt(){return Ot.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function Br(){const e=Ot.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return Ur(i,!0),i}function Hi(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 Fo(e,t,n){Nr(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 Ny(e,t){for(let n=0;n<t.length;n++)ev(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Er()}}function Vi(e,t,n,r){const s=t[2];if(256!=(256&s)){Nr(t);try{ui(t),function he(e){return Ot.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&&Dr(t,b,null)}else{const b=e.preOrderHooks;null!==b&&_n(t,b,0,null),Zs(t,0)}if(function Jy(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])&&qr(i,1),s[2]|=1024}}}(t),function qy(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];jr(r)&&Vi(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Pd(e,t),o){const b=e.contentCheckHooks;null!==b&&Dr(t,b)}else{const b=e.contentHooks;null!==b&&_n(t,b,1),Zs(t,1)}!function xy(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)Hr(~s);else{const i=s,o=n[++r],d=n[++r];qt(o,i),d(2,t[i])}}}finally{Hr(-1)}}(e,t);const d=e.components;null!==d&&function Ry(e,t){for(let n=0;n<t.length;n++)Xy(e,t[n])}(t,d);const m=e.viewQuery;if(null!==m&&Ku(2,m,r),o){const b=e.viewCheckHooks;null!==b&&Dr(t,b)}else{const b=e.viewHooks;null!==b&&_n(t,b,2),Zs(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,qr(t[3],-1))}finally{Er()}}}function Oy(e,t,n,r){const s=t[10],o=Qr(t);try{!o&&s.begin&&s.begin(),o&&Fo(e,t,r),Vi(e,t,n,r)}finally{!o&&s.end&&s.end()}}function xd(e,t,n,r,s){const i=Sn(),o=2&r;try{Hr(-1),o&&t.length>20&&_d(e,t,20,!1),n(r,s)}finally{Hr(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){!Ks()||(function $y(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||gi(n,t),br(r,t);const o=n.initialInputs;for(let d=s;d<i;d++){const m=e.data[d],b=$n(m);b&&Ky(t,n,m);const N=dt(t,e,d,n);br(N,t),null!==o&&Zy(0,d-s,N,m,0,o),b&&(Pn(n.index,t)[8]=N)}}(e,t,n,an(n,t)),128==(128&n.flags)&&function Gy(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,d=function Mt(){return Ot.lFrame.currentDirectiveIndex}();try{Hr(o);for(let m=r;m<s;m++){const b=e.data[m],N=t[m];Vt(m),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&Ud(b,N)}}finally{Hr(-1),Vt(d)}}(e,t,n))}function Hu(e,t,n=an){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=_a(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function _a(e,t,n,r,s,i,o,d,m,b){const N=20+r,G=N+s,ne=function Fy(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:zt);return n}(N,G),de="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:G,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:de,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 Gr(e,t,n,r,s,i,o,d){const m=an(t,n);let N,b=t.inputs;!d&&null!=b&&(N=b[r])?(Qd(e,n,N,r,s),vr(t)&&function By(e,t){const n=Pn(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function jy(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):as(r)||(m.setProperty?m.setProperty(r,s):m[r]=s))}function Vu(e,t,n,r){let s=!1;if(Ks()){const i=function zy(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=[]),g(gi(n,t),e,o.type),$n(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 G=i[N];G.providersResolver&&G.providersResolver(G)}let d=!1,m=!1,b=Hi(e,t,i.length,null);for(let N=0;N<i.length;N++){const G=i[N];n.mergedAttrs=hi(n.mergedAttrs,G.hostAttrs),$d(e,n,t,b,G),Yy(b,G,o),null!==G.contentQueries&&(n.flags|=8),(null!==G.hostBindings||null!==G.hostAttrs||0!==G.hostVars)&&(n.flags|=128);const ne=G.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 ky(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],G=N.inputs,ne=null===i||gd(t)?null:Qy(G,i);o.push(ne),d=kd(G,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 Wy(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 Ze(-301,!1);r.push(t[s],i)}}}(n,r,o)}return n.mergedAttrs=hi(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 Vy(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 Yy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;$n(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=Rr(s.type)),o=new lr(i,$n(s),null);e.blueprint[r]=o,n[r]=o,Bd(e,t,0,r,Hi(e,n,s.hostVars,zt),s)}function Ky(e,t,n){const r=an(t,e),s=Nd(n),i=e[10],o=Ea(e,Oo(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=an(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?Ge(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 Zy(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++],G=o[m++];null!==d?r.setInput(n,G,b,N):n[N]=G}}}function Qy(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 Xy(e,t){const n=Pn(t,e);if(jr(n)){const r=n[1];80&n[2]?Vi(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];Vi(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=Pn(n[r],e);jr(s)&&s[5]>0&&Gu(s)}}function ev(e,t){const n=Pn(t,e),r=n[1];(function tv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Fo(r,n,n[8])}function Ea(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=Ro(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];Oy(s,r,s.template,n)}}(e[8])}function Ku(e,t,n){kn(0),t(e,n)}const rv=(()=>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(fa,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 Hs(e,t,n){const r=rn(t,e);!function Jc(e,t,n){We(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Da(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=be(s,d):2==i&&(r=be(r,d+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const Zu=new zn("INJECTOR",-1);class qd{get(t,n=bo){if(n===bo){const r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}}const Qu=new zn("Set Injector scope."),Lo={},ov={};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 av(e,n,t||Jd(),r)}class av{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,$i(void 0,this));const o=this.records.get(Qu);this.scope=null!=o?o.value:null,this.source=s||("object"==typeof t?null:ie(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=bo,r=L.Default){this.assertNotDestroyed();const s=Dc(this),i=ge(void 0);try{if(!(r&L.SkipSelf)){let d=this.records.get(t);if(void 0===d){const m=function gv(e){return"function"==typeof e||"object"==typeof e&&e instanceof zn}(t)&&or(t);d=m&&this.injectableDefInScope(m)?$i(Ju(t),Lo):null,this.records.set(t,d)}if(null!=d)return this.hydrate(t,d)}return(r&L.Self?Jd():this.parent).get(t,n=r&L.Optional&&n===bo?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[oa]=o[oa]||[]).unshift(ie(t)),s)throw o;return function Vg(e,t,n,r){const s=e[oa];throw t[Ec]&&s.unshift(t[Ec]),e.message=function $g(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;let s=ie(t);if(Array.isArray(t))s=t.map(ie).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):ie(d)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Lg,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[oa]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{ge(i),Dc(s)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach((t=>this.get(t)))}toString(){const t=[];return this.records.forEach(((r,s)=>t.push(ie(s)))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ze(205,!1)}processInjectorType(t,n,r){if(!(t=Re(t)))return!1;let s=ar(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=ar(i)),null==s)return!1;if(null!=s.imports&&!d){let N;r.push(o);try{ms(s.imports,(G=>{this.processInjectorType(G,n,r)&&(void 0===N&&(N=[]),N.push(G))}))}finally{}if(void 0!==N)for(let G=0;G<N.length;G++){const{ngModule:ne,providers:de}=N[G];ms(de,(Ae=>this.processProvider(Ae,ne,de||lt)))}}this.injectorDefTypes.add(o);const m=Rr(o)||(()=>new o);this.records.set(o,$i(m,Lo));const b=s.providers;if(null!=b&&!d){const N=t;ms(b,(G=>this.processProvider(G,N,b)))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let s=Gi(t=Re(t))?t:Re(t&&t.provide);const i=function lv(e,t,n){return nf(e)?$i(void 0,e.useValue):$i(tf(e),Lo)}(t);if(Gi(t)||!0!==t.multi)this.records.get(s);else{let o=this.records.get(s);o||(o=$i(void 0,Lo,!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===Lo&&(n.value=ov,n.value=n.factory()),"object"==typeof n.value&&n.value&&function pv(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=Re(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Ju(e){const t=or(e),n=null!==t?t.factory:Rr(e);if(null!==n)return n;if(e instanceof zn)throw new Ze(204,!1);if(e instanceof Function)return function uv(e){const t=e.length;if(t>0)throw function Do(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new Ze(204,!1);const n=function Pr(e){const t=e&&(e[X]||e[Z]);if(t){const n=function yn(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 Ze(204,!1)}function tf(e,t,n){let r;if(Gi(e)){const s=Re(e);return Rr(s)||Ju(s)}if(nf(e))r=()=>Re(e.useValue);else if(function dv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ru(e.deps||[]));else if(function cv(e){return!(!e||!e.useExisting)}(e))r=()=>gr(Re(e.useExisting));else{const s=Re(e&&(e.useClass||e.provide));if(!function hv(e){return!!e.deps}(e))return Rr(s)||Ju(s);r=()=>new s(...ru(e.deps))}return r}function $i(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nf(e){return null!==e&&"object"==typeof e&&jg in e}function Gi(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=bo,e.NULL=new qd,e.ɵprov=Gt({token:e,providedIn:"any",factory:()=>gr(Zu)}),e.__NG_ELEMENT_ID__=-1,e})();function Cv(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($n(e))s=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Ze(903,"");s=t.ɵdir}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&&Av(e,d);const m=s.viewQuery,b=s.contentQueries;if(m&&Tv(e,m),b&&Sv(e,b),J(e.inputs,s.inputs),J(e.declaredInputs,s.declaredInputs),J(e.outputs,s.outputs),$n(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 wv(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=hi(s.hostAttrs,n=hi(n,s.hostAttrs))}}(r)}function nl(e){return e===Zt?{}:e===lt?[]:e}function Tv(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function Sv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function Av(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let ba=null;function zi(){if(!ba){const e=Le.Symbol;if(e&&e.iterator)ba=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&&(ba=r)}}}return ba}function ko(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)&&(nn(),Es(An(),s,e,t,n,r)),sl}function Yi(e,t,n,r){return Cr(e,we(),n)?t+Ge(n)+r:zt}function Ki(e,t,n,r,s,i){const d=function _i(e,t,n,r){const s=Cr(e,t,n);return Cr(e,t+1,r)||s}(e,function Q(){return Ot.lFrame.bindingIndex}(),n,s);return Xe(2),d?t+Ge(n)+r+Ge(s)+i:zt}function Tf(e,t,n,r,s,i,o,d){const m=ke(),b=nn(),N=e+20,G=b.firstCreatePass?function Ov(e,t,n,r,s,i,o,d,m){const b=t.consts,N=Ui(t,e,4,o||null,Ar(b,d));Vu(t,n,N,Ar(b,m)),Xn(t,N);const G=N.tViews=_a(2,N,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b);return null!==t.queries&&(t.queries.template(t,N),G.queries=t.queries.embeddedTView(N)),N}(N,b,m,t,n,r,s,i,o):b.data[N];Ur(G,!1);const ne=m[11].createComment("");pa(b,m,ne,G),br(ne,m),Ea(m,m[N]=Gd(ne,m,ne,G)),kr(G)&&Uu(b,m,G),null!=o&&Hu(m,G,d)}function Bo(e,t=L.Default){const n=ke();return null===n?gr(e,t):D(Tn(),n,Re(e),t)}function Lf(){throw new Error("invalid")}function ll(e,t,n){const r=ke();return Cr(r,we(),t)&&Gr(nn(),An(),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 Ta(e,t,n,r){const s=ke(),i=nn(),o=20+e,d=s[11],m=s[o]=Du(d,t,function Gn(){return Ot.lFrame.currentNamespace}()),b=i.firstCreatePass?function n_(e,t,n,r,s,i,o){const d=t.consts,b=Ui(t,e,2,s,Ar(d,i));return Vu(t,n,b,Ar(d,o)),null!==b.attrs&&Da(b,b.attrs,!1),null!==b.mergedAttrs&&Da(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(o,i,s,0,t,n,r):i.data[o];Ur(b,!0);const N=b.mergedAttrs;null!==N&&Qs(d,m,N);const G=b.classes;null!==G&&Au(d,m,G);const ne=b.styles;return null!==ne&&fd(d,m,ne),64!=(64&b.flags)&&pa(i,s,m,b),0===function Ii(){return Ot.lFrame.elementDepthCount}()&&br(m,s),function co(){Ot.lFrame.elementDepthCount++}(),kr(b)&&(Uu(i,s,b),Rd(i,b,s)),null!==r&&Hu(s,b),Ta}function Sa(){let e=Tn();A()?a():(e=e.parent,Ur(e,!1));const t=e;!function fo(){Ot.lFrame.elementDepthCount--}();const n=nn();return n.firstCreatePass&&(Xn(n,e),Ss(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Xo(e){return 0!=(16&e.flags)}(t)&&cl(n,t,ke(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Wa(e){return 0!=(32&e.flags)}(t)&&cl(n,t,ke(),t.stylesWithoutHost,!1),Sa}function dl(e,t,n,r){return Ta(e,t,n,r),Sa(),dl}function Aa(e,t,n){const r=ke(),s=nn(),i=e+20,o=s.firstCreatePass?function r_(e,t,n,r,s){const i=t.consts,o=Ar(i,r),d=Ui(t,e,8,"ng-container",o);return null!==o&&Da(d,o,!0),Vu(t,n,d,Ar(i,s)),null!==t.queries&&t.queries.elementStart(t,d),d}(i,s,r,t,n):s.data[i];Ur(o,!0);const d=r[i]=r[11].createComment("");return pa(s,r,d,o),br(d,r),kr(o)&&(Uu(s,r,o),Rd(s,o,r)),null!=n&&Hu(r,o),Aa}function Ma(){let e=Tn();const t=nn();return A()?a():(e=e.parent,Ur(e,!1)),t.firstCreatePass&&(Xn(t,e),Ss(e)&&t.queries.elementEnd(e)),Ma}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=nn(),o=Tn();return function Vf(e,t,n,r,s,i,o,d){const m=kr(r),N=e.firstCreatePass&&Yd(e),G=t[8],ne=Wd(t);let de=!0;if(3&r.type||d){const nt=an(r,t),mt=d?d(nt):nt,Oe=ne.length,It=d?on=>d(vt(on[r.index])):r.index;if(We(n)){let on=null;if(!d&&m&&(on=function s_(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!==on)(on.__ngLastListenerFn__||on).__ngNextListenerFn__=i,on.__ngLastListenerFn__=i,de=!1;else{i=pl(r,t,G,i,!1);const En=n.listen(mt,s,i);ne.push(i,En),N&&N.push(s,It,Oe,Oe+1)}}else i=pl(r,t,G,i,!0),mt.addEventListener(s,i,o),ne.push(i),N&&N.push(s,It,Oe,o)}else i=pl(r,t,G,i,!1);const Ae=r.outputs;let ze;if(de&&null!==Ae&&(ze=Ae[s])){const nt=ze.length;if(nt)for(let mt=0;mt<nt;mt+=2){const zr=t[ze[mt]][ze[mt+1]].subscribe(i),bi=ne.length;ne.push(i,zr),N&&N.push(s,r.index,bi,-(bi+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?Pn(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 di(e){return(Ot.lFrame.contextLView=function Ls(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ot.lFrame.contextLView))[8]}(e)}function Ia(e,t,n,r,s){const i=ke(),o=Yi(i,t,n,r);return o!==zt&&Gr(nn(),An(),i,e,o,i[11],s,!1),Ia}function eh(e,t,n,r,s){const i=e[n+1],o=null===t;let d=r?ls(i):Us(i),m=!1;for(;0!==d&&(!1===m||o);){const N=e[d+1];c_(e[d],t)&&(m=!0,e[d+1]=r?Pu(N):Mu(N)),d=r?ls(N):Us(N)}m&&(e[n+1]=r?Mu(i):Pu(i))}function c_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Oi(e,t)>=0}const ir={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function th(e){return e.substring(ir.key,ir.keyEnd)}function nh(e,t){const n=ir.textEnd;return n===t?-1:(t=ir.keyEnd=function p_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ir.key=t,n),no(e,t,n))}function no(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function gl(e,t){return function ds(e,t,n,r){const s=ke(),i=nn(),o=Xe(2);i.firstUpdatePass&&ch(i,e,o,r),t!==zt&&Cr(s,o,t)&&fh(i,i.data[Sn()],s,s[11],e,s[o+1]=function w_(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ie(Bs(e)))),e}(t,n),r,o)}(e,t,null,!0),gl}function uh(e){!function fs(e,t,n,r){const s=nn(),i=Xe(2);s.firstUpdatePass&&ch(s,null,i,r);const o=ke();if(n!==zt&&Cr(o,i,n)){const d=s.data[Sn()];if(ph(d,r)&&!lh(s,i)){let m=r?d.classesWithoutHost:d.stylesWithoutHost;null!==m&&(n=be(m,n||"")),cl(s,d,o,n,r)}else!function C_(e,t,n,r,s,i,o,d){s===zt&&(s=lt);let m=0,b=0,N=0<s.length?s[0]:null,G=0<i.length?i[0]:null;for(;null!==N||null!==G;){const ne=m<s.length?s[m+1]:void 0,de=b<i.length?i[b+1]:void 0;let ze,Ae=null;N===G?(m+=2,b+=2,ne!==de&&(Ae=G,ze=de)):null===G||null!==N&&N<G?(m+=2,Ae=N):(b+=2,Ae=G,ze=de),null!==Ae&&fh(e,t,n,r,Ae,ze,o,d),N=m<s.length?s[m]:null,G=b<i.length?i[b]:null}}(s,d,o,o[11],o[i+1],o[i+1]=function b_(e,t,n){if(null==n||""===n)return lt;const r=[],s=Bs(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)}}($r,ws,e,!0)}function ws(e,t){for(let n=function f_(e){return function sh(e){ir.key=0,ir.keyEnd=0,ir.value=0,ir.valueEnd=0,ir.textEnd=e.length}(e),nh(e,no(e,0,ir.textEnd))}(t);n>=0;n=nh(t,n))$r(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[Sn()],o=lh(e,n);ph(i,r)&&null===t&&!o&&(t=!1),t=function v_(e,t,n,r){const s=function ln(e){const t=Ot.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=Uo(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 __(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Us(r))return e[ls(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=ml(null,e,t,m[1],r),m=Uo(m,t.attrs,r),function E_(e,t,n,r){e[ls(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else i=function D_(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Uo(r,e[i].hostAttrs,n);return Uo(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function u_(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,d=ls(o),m=Us(o);e[r]=n;let N,b=!1;if(Array.isArray(n)){const G=n;N=G[1],(null===N||Oi(G,N)>0)&&(b=!0)}else N=n;if(s)if(0!==m){const ne=ls(e[d+1]);e[r+1]=ma(ne,d),0!==ne&&(e[ne+1]=Iu(e[ne+1],r)),e[d+1]=function Dy(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=ma(d,0),0!==d&&(e[d+1]=Iu(e[d+1],r)),d=r;else e[r+1]=ma(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 l_(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Oi(i,t)>=0&&(n[r+1]=Pu(n[r+1]))}(t,N,e,r,i),o=ma(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=Uo(r,i.hostAttrs,s),i!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function Uo(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]),$r(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];Pa(function bd(e){return 1==(1&e)}(b)?hh(m,t,n,s,Us(b),o):void 0)||(Pa(i)||function Dd(e){return 2==(2&e)}(b)&&(i=hh(m,null,n,s,d,o)),function ly(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,rn(Sn(),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,G=null===N;let ne=n[s+1];ne===zt&&(ne=G?lt:void 0);let de=G?eu(ne,r):N===r?ne:void 0;if(b&&!Pa(de)&&(de=eu(m,r)),Pa(de)&&(d=de,o))return d;const Ae=e[s+1];s=o?ls(Ae):Us(Ae)}if(null!==t){let m=i?t.residualClasses:t.residualStyles;null!=m&&(d=eu(m,r))}return d}function Pa(e){return void 0!==e}function ph(e,t){return 0!=(e.flags&(t?16:32))}function gh(e,t=""){const n=ke(),r=nn(),s=e+20,i=r.firstCreatePass?Ui(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);pa(r,n,o,i),Ur(i,!1)}function yl(e){return xa("",e,""),yl}function xa(e,t,n){const r=ke(),s=Yi(r,e,t,n);return s!==zt&&Hs(r,Sn(),s),xa}function vl(e,t,n,r,s){const i=ke(),o=Ki(i,e,t,n,r,s);return o!==zt&&Hs(i,Sn(),o),vl}const Ei=void 0;var G_=["en",[["a","p"],["AM","PM"],Ei],[["AM","PM"],Ei,Ei],[["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"]],Ei,[["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"]],Ei,[["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}",Ei,"{1} 'at' {0}",Ei],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ro={};function _l(e){const t=function z_(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 G_;throw new Error(`Missing locale data for the locale "${e}".`)}function Oh(e){return _l(e)[Ft.PluralCase]}function Fh(e){return e in ro||(ro[e]=Le.ng&&Le.ng.common&&Le.ng.common.locales&&Le.ng.common.locales[e]),ro[e]}var Ft=(()=>((Ft=Ft||{})[Ft.LocaleId=0]="LocaleId",Ft[Ft.DayPeriodsFormat=1]="DayPeriodsFormat",Ft[Ft.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ft[Ft.DaysFormat=3]="DaysFormat",Ft[Ft.DaysStandalone=4]="DaysStandalone",Ft[Ft.MonthsFormat=5]="MonthsFormat",Ft[Ft.MonthsStandalone=6]="MonthsStandalone",Ft[Ft.Eras=7]="Eras",Ft[Ft.FirstDayOfWeek=8]="FirstDayOfWeek",Ft[Ft.WeekendRange=9]="WeekendRange",Ft[Ft.DateFormat=10]="DateFormat",Ft[Ft.TimeFormat=11]="TimeFormat",Ft[Ft.DateTimeFormat=12]="DateTimeFormat",Ft[Ft.NumberSymbols=13]="NumberSymbols",Ft[Ft.NumberFormats=14]="NumberFormats",Ft[Ft.CurrencyCode=15]="CurrencyCode",Ft[Ft.CurrencySymbol=16]="CurrencySymbol",Ft[Ft.CurrencyName=17]="CurrencyName",Ft[Ft.Currencies=18]="Currencies",Ft[Ft.Directionality=19]="Directionality",Ft[Ft.PluralCase=20]="PluralCase",Ft[Ft.ExtraData=21]="ExtraData",Ft))();const Ra="en-US";let Lh=Ra;function bl(e,t,n,r,s){if(e=Re(e),Array.isArray(e))for(let i=0;i<e.length;i++)bl(e[i],t,n,r,s);else{const i=nn(),o=ke();let d=Gi(e)?e:Re(e.provide),m=tf(e);const b=Tn(),N=1048575&b.providerIndexes,G=b.directiveStart,ne=b.providerIndexes>>20;if(Gi(e)||!e.multi){const de=new lr(m,s,Bo),Ae=wl(d,t,s?N:N+ne,G);-1===Ae?(g(gi(b,o),i,d),Cl(i,e,t.length),t.push(d),b.directiveStart++,b.directiveEnd++,s&&(b.providerIndexes+=1048576),n.push(de),o.push(de)):(n[Ae]=de,o[Ae]=de)}else{const de=wl(d,t,N+ne,G),Ae=wl(d,t,N,N+ne),ze=de>=0&&n[de],nt=Ae>=0&&n[Ae];if(s&&!nt||!s&&!ze){g(gi(b,o),i,d);const mt=function $E(e,t,n,r,s){const i=new lr(e,n,Bo);return i.multi=[],i.index=t,i.componentProviders=0,op(i,s,r&&!n),i}(s?VE:HE,n.length,s,r,m);!s&&nt&&(n[Ae].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,de>-1?de:Ae,op(n[s?Ae:de],m,!s&&r));!s&&r&&nt&&n[Ae].componentProviders++}}}function Cl(e,t,n,r){const s=Gi(t),i=function fv(e){return!!e.useClass}(t);if(s||i){const m=(i?Re(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 HE(e,t,n,r){return Tl(this.multi,[])}function VE(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const o=this.providerFactory.componentProviders,d=dt(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 UE(e,t,n){const r=nn();if(r.firstCreatePass){const s=$n(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 WE{resolveComponentFactory(t){throw function zE(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ka=(()=>{class e{}return e.NULL=new WE,e})();function YE(){return io(Tn(),ke())}function io(e,t){return new zo(an(e,t))}let zo=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=YE,e})();function KE(e){return e instanceof zo?e.nativeElement:e}class cp{}let ZE=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function qE(){const e=ke(),n=Pn(Tn().index,e);return function QE(e){return e[11]}(Qn(n)?n:e)}(),e})(),JE=(()=>{class e{}return e.ɵprov=Gt({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 XE=new dp("13.3.11"),Sl={};function ja(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(vt(i)),vn(i))for(let d=10;d<i.length;d++){const m=i[d],b=m[1].firstChild;null!==b&&ja(m[1],m,b,r)}const o=n.type;if(8&o)ja(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=Ro(t[16]);ja(m[1],m,d,r,!0)}}n=s?n.projectionNext:n.next}return r}class Wo{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 ja(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(vn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(bu(t,r),sa(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{Vi(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 Ze(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Xm(e,t){No(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ze(902,"");this._appRef=t}}class eD extends Wo{constructor(t){super(t),this._view=t}detectChanges(){zd(this._view)}checkNoChanges(){}get context(){return null}}class fp extends ka{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ve(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 _y(e){return e.map(vy).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 nD(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,gn),d=i.get(JE,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 tD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?_:null}(b)),G=this.componentDef.onPush?576:528,ne=function pf(e,t){return{components:[],scheduler:e||zm,clean:rv,playerHandler:t||null,flags:0}}(),de=_a(0,null,null,1,0,null,null,null,null,null),Ae=Oo(null,de,ne,G,null,null,o,m,d,i);let ze,nt;Nr(Ae);try{const mt=function ff(e,t,n,r,s,i){const o=n[1];n[20]=e;const m=Ui(o,20,2,"#host",null),b=m.mergedAttrs=t.hostAttrs;null!==b&&(Da(m,b,!0),null!==e&&(Qs(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),G=Oo(n,Nd(t),null,t.onPush?64:16,n[20],m,r,N,i||null,null);return o.firstCreatePass&&(g(gi(m,n),o,t.type),Hd(o,m),Vd(m,n.length,1)),Ea(n,G),n[20]=G}(N,this.componentDef,Ae,o,m);if(N)if(r)Qs(m,N,["ng-version",XE.full]);else{const{attrs:Oe,classes:It}=function Ey(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(!us(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Oe&&Qs(m,N,Oe),It&&It.length>0&&Au(m,N,It.join(" "))}if(nt=pr(de,20),void 0!==n){const Oe=nt.projection=[];for(let It=0;It<this.ngContentSelectors.length;It++){const on=n[It];Oe.push(null!=on?Array.from(on):null)}}ze=function hf(e,t,n,r,s){const i=n[1],o=function Hy(e,t,n){const r=Tn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$d(e,r,t,Hi(e,t,1,null),n));const s=dt(t,e,r.directiveStart,r);br(s,t);const i=an(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||(Hr(d.index),Bd(n[1],d,0,d.directiveStart,d.directiveEnd,t),Ud(t,o)),o}(mt,this.componentDef,Ae,ne,[Cv]),Fo(de,Ae,null)}finally{Er()}return new sD(this.componentType,ze,io(nt,Ae),Ae,nt)}}class sD extends class GE{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new eD(s),this.componentType=t}get injector(){return new fn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class oo{}class pp{}const ao=new Map;class yp extends oo{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:oo,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],ie(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Ds.THROW_IF_NOT_FOUND,r=L.Default){return t===Ds||t===oo||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 oD(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} - ${ie(t)} vs ${ie(t.name)}`)}(i,ao.get(i),r),ao.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 _p(ke(),K(),e,t,n,r)}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 Yo(e,t){const n=e[t];return n===zt?void 0:n}(e,o+1)}function wp(e,t){const n=nn();let r;const s=e+20;n.firstCreatePass?(r=function mD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=Rr(r.type)),o=ge(Bo);try{const d=pi(!1),m=i();return pi(d),function Fv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ke(),s,m),m}finally{ge(o)}}function Tp(e,t,n){const r=e+20,s=ke(),i=function Sr(e,t){return e[t]}(s,r);return function Ko(e,t){return e[1].data[t].pure}(s,r)?_p(s,K(),t,i.transform,n,i):i.transform(n)}function Il(e){return t=>{setTimeout(e,void 0,t)}}const Ts=class DD extends M.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 P.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=es(t);(this._changesDetected=!function Ag(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 Zo=(()=>{class e{}return e.__NG_ELEMENT_ID__=TD,e})();const CD=Zo,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=Oo(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)),Fo(n,r,t),new Wo(r)}};function TD(){return Ba(Tn(),ke())}function Ba(e,t){return 4&e.type?new wD(t,e,io(e,t)):null}let Ua=(()=>{class e{}return e.__NG_ELEMENT_ID__=SD,e})();function SD(){return Mp(Tn(),ke())}const AD=Ua,Sp=class extends AD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return io(this._hostTNode,this._hostLView)}get injector(){return new fn(this._hostTNode,this._hostLView)}get parentInjector(){const t=vo(this._hostTNode,this._hostLView);if(ta(t)){const n=Js(t,this._hostLView),r=qs(t);return new fn(n[1].data[r+8],n)}return new fn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ap(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 Eo(e){return"function"==typeof e}(t);let d;if(o)d=n;else{const G=n||{};d=G.index,r=G.injector,s=G.projectableNodes,i=G.ngModuleRef}const m=o?t:new Al(Ve(t)),b=r||this.parentInjector;if(!i&&null==m.ngModule){const ne=(o?b:this.parentInjector).get(oo,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 Fs(e){return vn(e[3])}(r)){const N=this.indexOf(t);if(-1!==N)this.detach(N);else{const G=r[3],ne=new Sp(G,G[6],G[3]);ne.detach(ne.indexOf(t))}}const i=this._adjustIndex(n),o=this._lContainer;!function ty(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 ny(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=ha(m,o[7]);return null!==b&&function Jm(e,t,n,r,s,i){r[0]=s,r[6]=t,No(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=Ap(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=bu(this._lContainer,n);r&&(sa(xl(this._lContainer),n),ed(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=bu(this._lContainer,n);return r&&null!=sa(xl(this._lContainer),n)?new Wo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ap(e){return e[8]}function xl(e){return e[8]||(e[8]=[])}function Mp(e,t){let n;const r=t[e.index];if(vn(r))n=r;else{let s;if(8&e.type)s=vt(r);else{const i=t[11];s=i.createComment("");const o=an(e,t);vi(i,ha(i,o),s,function oy(e,t){return We(e)?e.nextSibling(t):t.nextSibling}(i,o),!1)}t[e.index]=n=Gd(r,t,s,e),Ea(t,n)}return new Sp(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!==kp(t,n).matches&&this.queries[n].setDirty()}}class Ip{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,Me(n,t,i,!1,!1))}else r===Zo?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Me(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===zo||s===Ua||s===Zo&&4&n.type)this.addMatch(n.index,-2);else{const i=Me(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?io(e,t):4&e.type?Ba(e,t):null}(t,e):-2===n?function ND(e,t,n){return n===zo?io(t,e):n===Zo?Ba(t,e):n===Ua?Mp(t,e):void 0}(e,t,r):dt(e,e[1],n,t)}function Pp(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=Pp(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 G=10;G<N.length;G++){const ne=N[G];ne[17]===ne[3]&&Ll(ne[1],ne,b,r)}if(null!==N[9]){const G=N[9];for(let ne=0;ne<G.length;ne++){const de=G[ne];Ll(de[1],de,b,r)}}}}}return r}function xp(e){const t=ke(),n=nn(),r=xn();kn(r+1);const s=kp(n,r);if(e.dirty&&Qr(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Ll(n,t,r,[]):Pp(n,t,s,r);e.reset(i,KE),e.notifyOnChanges()}return!0}return!1}function Rp(e,t,n){const r=nn();r.firstCreatePass&&(Lp(r,new Ip(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Fp(r,ke(),t)}function Np(e,t,n,r){const s=nn();if(s.firstCreatePass){const i=Tn();Lp(s,new Ip(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)}Fp(s,ke(),n)}function Op(){return function OD(e,t){return e[19].queries[t].queryList}(ke(),xn())}function Fp(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 Lp(e,t,n){null===e.queries&&(e.queries=new Ol),e.queries.track(new Fl(t,n))}function kp(e,t){return e.queries.getByIndex(t)}function $a(...e){}const eg=new zn("Application Initializer");let Vl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=$a,this.reject=$a,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.ɵfac=function(n){return new(n||e)(gr(eg,8))},e.ɵprov=Gt({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const tg=new zn("AppId",{providedIn:"root",factory:function ng(){return`${$l()}${$l()}${$l()}`}});function $l(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const rg=new zn("Platform Initializer"),XD=new zn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),sg=new zn("appBootstrapListener");let e0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Gt({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const Gl=new zn("LocaleId",{providedIn:"root",factory:()=>Ug(Gl,L.Optional|L.SkipSelf)||function t0(){return typeof $localize<"u"&&$localize.locale||Ra}()}),n0=new zn("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=Ve(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.ɵfac=function(n){return new(n||e)},e.ɵprov=Gt({token:e,factory:e.ɵfac,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 hs{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=Le.requestAnimationFrame,t=Le.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(Le,(()=>{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 ig(e),n.invokeTask(s,i,o,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),og(e)}},onInvoke:(n,r,s,i,o,d,m)=>{try{return ig(e),n.invoke(s,i,o,d,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),og(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(!hs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(hs.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,$a,$a);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 ig(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function og(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 ag=(()=>{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:()=>{hs.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.ɵfac=function(n){return new(n||e)(gr(hs))},e.ɵprov=Gt({token:e,factory:e.ɵfac}),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.ɵfac=function(n){return new(n||e)},e.ɵprov=Gt({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();class p0{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function g0(e){Kl=e}let Kl=new p0,qo=null;const ug=new zn("AllowMultipleToken"),lg=new zn("PlatformOnDestroy");class v0{constructor(t,n){this.name=t,this.token=n}}function cg(e,t,n=[]){const r=`Platform: ${t}`,s=new zn(r);return(i=[])=>{let o=Zl();if(!o||o.injector.get(ug,!1)){const d=[...n,...i,{provide:s,useValue:!0}];e?e(d):function _0(e){if(qo&&!qo.get(ug,!1))throw new Ze(400,"");qo=e;const t=e.get(dg),n=e.get(rg,null);n&&n.forEach((r=>r()))}(function D0(e=[],t){return Ds.create({name:t,providers:[{provide:Qu,useValue:"platform"},{provide:lg,useValue:()=>qo=null},...e]})}(d,r))}return function E0(e){const t=Zl();if(!t)throw new Ze(401,"");return t}()}}function Zl(){return qo?.get(dg)??null}let dg=(()=>{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 hs({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:hs,useValue:d}];return d.run((()=>{const b=Ds.create({providers:m,parent:this.injector,name:n.moduleType.name}),N=n.create(b),G=N.injector.get(fa,null);if(!G)throw new Ze(402,"");return d.runOutsideAngular((()=>{const ne=d.onError.subscribe({next:de=>{G.handleError(de)}});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}}(G,d,(()=>{const ne=N.injector.get(Vl);return ne.runInitializers(),ne.donePromise.then((()=>(function Z_(e){Nt(e,"Expected localeId to be defined"),"string"==typeof e&&(Lh=e.toLowerCase().replace(/_/g,"-"))}(N.injector.get(Gl,Ra)||Ra),this._moduleDoBootstrap(N),N)))}))}))}bootstrapModule(n,r=[]){const s=fg({},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 Ze(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 Ze(404,"");this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r())),this._injector.get(lg,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(gr(Ds))},e.ɵprov=Gt({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function fg(e,t){return Array.isArray(t)?t.reduce(fg,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((()=>{hs.assertNotInAngularZone(),zl((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))}))}))}));const N=this._zone.onUnstable.subscribe((()=>{hs.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,S.J)(t)((0,T.n)(e,n))}(o,d.pipe(function se(){return e=>(0,U.x)()(function F(e,t){return function(r){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new I(s,t));const i=Object.create(r,x.N);return i.source=r,i.subjectFactory=s,i}}(z)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Ze(405,"");let s;s=n instanceof up?n:this._injector.get(ka).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function y0(e){return e.isBoundToModule}(s)?void 0:this._injector.get(oo),d=s.create(Ds.NULL,[],r||s.selector,i),m=d.location.nativeElement,b=d.injector.get(ag,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 Ze(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(sg,[]).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.ɵfac=function(n){return new(n||e)(gr(hs),gr(Ds),gr(fa),gr(Vl))},e.ɵprov=Gt({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function ql(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let pg=!0;function T0(){pg=!1}let S0=(()=>{class e{}return e.__NG_ELEMENT_ID__=A0,e})();function A0(e){return function M0(e,t,n){if(vr(e)&&!n){const r=Pn(e.index,t);return new Wo(r,r)}return 47&e.type?new Wo(t[16],t):null}(Tn(),ke(),16==(16&e))}class _g{constructor(){}supports(t){return ko(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<Dg(r,s,i)?n:r,d=Dg(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 de=ne<i.length?i[ne]:i[ne]=0,Ae=de+ne;N<=Ae&&Ae<b&&(i[ne]=de+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=[]),!ko(t))throw new Ze(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 Nv(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 Eg),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 Eg),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 Eg{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 Dg(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 bg{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 Ze(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 Cg(){return new nc([new _g])}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||Cg()),deps:[[e,new So,new To]]}}find(n){const r=this.factories.find((s=>s.supports(n)));if(null!=r)return r;throw new Ze(901,"")}}return e.ɵprov=Gt({token:e,providedIn:"root",factory:Cg}),e})();function wg(){return new rc([new bg])}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||wg()),deps:[[e,new So,new To]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(r)return r;throw new Ze(901,"")}}return e.ɵprov=Gt({token:e,providedIn:"root",factory:wg}),e})();const H0=cg(null,"core",[]);let V0=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(gr(Ql))},e.ɵmod=tt({type:e}),e.ɵinj=dn({}),e})()},8746:(j,w,h)=>{"use strict";h.d(w,{PW:()=>Br});var f=h(6738),p=h(1481),S=h(7340);const T=!1;function M(A){return new f.vHH(3e3,T)}function Mn(){return typeof window<"u"&&typeof window.document<"u"}function Cn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Nt(A){switch(A.length){case 0:return new S.ZN;case 1:return A[0];default:return new S.ZE(A)}}function kt(A,a,c,y,R={},V={}){const K=[],Q=[];let he=-1,we=null;if(y.forEach((Xe=>{const yt=Xe.offset,jt=yt==he,qt=jt&&we||{};Object.keys(Xe).forEach((Mt=>{let Vt=Mt,ln=Xe[Mt];if("offset"!==Mt)switch(Vt=a.normalizePropertyName(Vt,K),ln){case S.k1:ln=R[Mt];break;case S.l3:ln=V[Mt];break;default:ln=a.normalizeStyleValue(Mt,Vt,ln,K)}qt[Vt]=ln})),jt||Q.push(qt),we=qt,he=yt})),K.length)throw function Fe(A){return new f.vHH(3502,T)}();return Q}function Bn(A,a,c,y){switch(a){case"start":A.onStart((()=>y(c&&wr(c,"start",A))));break;case"done":A.onDone((()=>y(c&&wr(c,"done",A))));break;case"destroy":A.onDestroy((()=>y(c&&wr(c,"destroy",A))))}}function wr(A,a,c){const V=Un(A.element,A.triggerName,A.fromState,A.toState,a||A.phaseName,c.totalTime??A.totalTime,!!c.disabled),K=A._data;return null!=K&&(V._data=K),V}function Un(A,a,c,y,R="",V=0,K){return{element:A,triggerName:a,fromState:c,toState:y,phaseName:R,totalTime:V,disabled:!!K}}function Gt(A,a,c){let y;return A instanceof Map?(y=A.get(a),y||A.set(a,y=c)):(y=A[a],y||(y=A[a]=c)),y}function bn(A){const a=A.indexOf(":");return[A.substring(1,a),A.substr(a+1)]}let dn=(A,a)=>!1,or=(A,a,c)=>[],er=null;function Pr(A){const a=A.parentNode||A.host;return a===er?null:a}(Cn()||typeof Element<"u")&&(Mn()?(er=(()=>document.documentElement)(),dn=(A,a)=>{for(;a;){if(a===A)return!0;a=Pr(a)}return!1}):dn=(A,a)=>A.contains(a),or=(A,a,c)=>{if(c)return Array.from(A.querySelectorAll(a));const y=A.querySelector(a);return y?[y]:[]});let X=null,fe=!1;function Z(A){X||(X=function H(){return typeof document<"u"?document.body:null}()||{},fe=!!X.style&&"WebkitAppearance"in X.style);let a=!0;return X.style&&!function ar(A){return"ebkit"==A.substring(1,6)}(A)&&(a=A in X.style,!a&&fe&&(a="Webkit"+A.charAt(0).toUpperCase()+A.substr(1)in X.style)),a}const L=dn,ae=or;let ge=(()=>{class A{validateStyleProperty(c){return Z(c)}matchesElement(c,y){return!1}containsElement(c,y){return L(c,y)}getParentElement(c){return Pr(c)}query(c,y,R){return ae(c,y,R)}computeStyle(c,y,R){return R||""}animate(c,y,R,V,K,Q=[],he){return new S.ZN(R,V)}}return A.ɵfac=function(c){return new(c||A)},A.ɵprov=f.Yz7({token:A,factory:A.ɵfac}),A})(),Te=(()=>{class A{}return A.NOOP=new ge,A})();const At="ng-enter",gt="ng-leave",Tt="ng-trigger",Ie=".ng-trigger",Ht="ng-animating",ft=".ng-animating";function _t(A){if("number"==typeof A)return A;const a=A.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Le(parseFloat(a[1]),a[2])}function Le(A,a){return"s"===a?1e3*A:A}function hn(A,a,c){return A.hasOwnProperty("duration")?A:function Kt(A,a,c){let R,V=0,K="";if("string"==typeof A){const Q=A.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Q)return a.push(M()),{duration:0,delay:0,easing:""};R=Le(parseFloat(Q[1]),Q[2]);const he=Q[3];null!=he&&(V=Le(parseFloat(he),Q[4]));const we=Q[5];we&&(K=we)}else R=A;if(!c){let Q=!1,he=a.length;R<0&&(a.push(function P(){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,M())}return{duration:R,delay:V,easing:K}}(A,a,c)}function Zt(A,a={}){return Object.keys(A).forEach((c=>{a[c]=A[c]})),a}function st(A,a,c={}){if(a)for(let y in A)c[y]=A[y];else Zt(A,c);return c}function Yt(A,a,c){return c?a+":"+c+";":""}function et(A){let a="";for(let c=0;c<A.style.length;c++){const y=A.style.item(c);a+=Yt(0,y,A.style.getPropertyValue(y))}for(const c in A.style)A.style.hasOwnProperty(c)&&!c.startsWith("_")&&(a+=Yt(0,qe(c),A.style[c]));A.setAttribute("style",a)}function xt(A,a,c){A.style&&(Object.keys(a).forEach((y=>{const R=tt(y);c&&!c.hasOwnProperty(y)&&(c[y]=A.style[R]),A.style[R]=a[y]})),Cn()&&et(A))}function Ye(A,a){A.style&&(Object.keys(a).forEach((c=>{const y=tt(c);A.style[y]=""})),Cn()&&et(A))}function Qt(A){return Array.isArray(A)?1==A.length?A[0]:(0,S.vP)(A):A}const q=new RegExp("{{\\s*(.+?)\\s*}}","g");function $(A){let a=[];if("string"==typeof A){let c;for(;c=q.exec(A);)a.push(c[1]);q.lastIndex=0}return a}function ue(A,a,c){const y=A.toString(),R=y.replace(q,((V,K)=>{let Q=a[K];return a.hasOwnProperty(K)||(c.push(function I(A){return new f.vHH(3003,T)}()),Q=""),Q.toString()}));return R==y?A:R}function Se(A){const a=[];let c=A.next();for(;!c.done;)a.push(c.value),c=A.next();return a}const it=/-+([a-z0-9])/g;function tt(A){return A.replace(it,((...a)=>a[1].toUpperCase()))}function qe(A){return A.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ot(A,a,c){switch(a.type){case 7:return A.visitTrigger(a,c);case 0:return A.visitState(a,c);case 1:return A.visitTransition(a,c);case 2:return A.visitSequence(a,c);case 3:return A.visitGroup(a,c);case 4:return A.visitAnimate(a,c);case 5:return A.visitKeyframes(a,c);case 6:return A.visitStyle(a,c);case 8:return A.visitReference(a,c);case 9:return A.visitAnimateChild(a,c);case 10:return A.visitAnimateRef(a,c);case 11:return A.visitQuery(a,c);case 12:return A.visitStagger(a,c);default:throw function U(A){return new f.vHH(3004,T)}()}}function Ve(A,a){return window.getComputedStyle(A)[a]}function bt(A,a){const c=[];return"string"==typeof A?A.split(/\s*,\s*/).forEach((y=>function ht(A,a,c){if(":"==A[0]){const he=function Ct(A,a){switch(A){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 ct(A){return new f.vHH(3016,T)}()),"* => *"}}(A,c);if("function"==typeof he)return void a.push(he);A=he}const y=A.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return c.push(function Ge(A){return new f.vHH(3015,T)}()),a;const R=y[1],V=y[2],K=y[3];a.push(Nn(R,K));"<"==V[0]&&!("*"==R&&"*"==K)&&a.push(Nn(K,R))}(y,c,a))):c.push(A),c}const wt=new Set(["true","1"]),Wt=new Set(["false","0"]);function Nn(A,a){const c=wt.has(A)||Wt.has(A),y=wt.has(a)||Wt.has(a);return(R,V)=>{let K="*"==A||A==R,Q="*"==a||a==V;return!K&&c&&"boolean"==typeof R&&(K=R?wt.has(A):Wt.has(A)),!Q&&y&&"boolean"==typeof V&&(Q=V?wt.has(a):Wt.has(a)),K&&Q}}const Tr=new RegExp("s*:selfs*,?","g");function cr(A,a,c,y){return new dr(A).build(a,c,y)}class dr{constructor(a){this._driver=a}build(a,c,y){const R=new mr(c);this._resetContextStyleTimingState(R);const V=ot(this,Qt(a),R);return R.unsupportedCSSPropertiesFound.size&&R.unsupportedCSSPropertiesFound.keys(),V}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,c){let y=c.queryCount=0,R=c.depCount=0;const V=[],K=[];return"@"==a.name.charAt(0)&&c.errors.push(function se(){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((Xe=>{he.name=Xe,V.push(this.visitState(he,c))})),he.name=we}else if(1==Q.type){const he=this.visitTransition(Q,c);y+=he.queryCount,R+=he.depCount,K.push(he)}else c.errors.push(function W(){return new f.vHH(3007,T)}())})),{type:7,name:a.name,states:V,transitions:K,queryCount:y,depCount:R,options:null}}visitState(a,c){const y=this.visitStyle(a.styles,c),R=a.options&&a.options.params||null;if(y.containsDynamicStyles){const V=new Set,K=R||{};y.styles.forEach((Q=>{if(en(Q)){const he=Q;Object.keys(he).forEach((we=>{$(he[we]).forEach((Xe=>{K.hasOwnProperty(Xe)||V.add(Xe)}))}))}})),V.size&&(Se(V.values()),c.errors.push(function J(A,a){return new f.vHH(3008,T)}()))}return{type:0,name:a.name,style:y,options:R?{params:R}:null}}visitTransition(a,c){c.queryCount=0,c.depCount=0;const y=ot(this,Qt(a.animation),c);return{type:1,matchers:bt(a.expr,c.errors),animation:y,queryCount:c.queryCount,depCount:c.depCount,options:Vn(a.options)}}visitSequence(a,c){return{type:2,steps:a.steps.map((y=>ot(this,y,c))),options:Vn(a.options)}}visitGroup(a,c){const y=c.currentTime;let R=0;const V=a.steps.map((K=>{c.currentTime=y;const Q=ot(this,K,c);return R=Math.max(R,c.currentTime),Q}));return c.currentTime=R,{type:3,steps:V,options:Vn(a.options)}}visitAnimate(a,c){const y=function Yr(A,a){if(A.hasOwnProperty("duration"))return A;if("number"==typeof A)return On(hn(A,a).duration,0,"");const c=A;if(c.split(/\s+/).some((V=>"{"==V.charAt(0)&&"{"==V.charAt(1)))){const V=On(0,0,"");return V.dynamic=!0,V.strValue=c,V}const R=hn(c,a);return On(R.duration,R.delay,R.easing)}(a.timings,c.errors);c.currentAnimateTimings=y;let R,V=a.styles?a.styles:(0,S.oB)({});if(5==V.type)R=this.visitKeyframes(V,c);else{let K=a.styles,Q=!1;if(!K){Q=!0;const we={};y.easing&&(we.easing=y.easing),K=(0,S.oB)(we)}c.currentTime+=y.duration+y.delay;const he=this.visitStyle(K,c);he.isEmptyStep=Q,R=he}return c.currentAnimateTimings=null,{type:4,timings:y,style:R,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((K=>{"string"==typeof K?K==S.l3?y.push(K):c.errors.push(function ie(A){return new f.vHH(3002,T)}()):y.push(K)})):y.push(a.styles);let R=!1,V=null;return y.forEach((K=>{if(en(K)){const Q=K,he=Q.easing;if(he&&(V=he,delete Q.easing),!R)for(let we in Q)if(Q[we].toString().indexOf("{{")>=0){R=!0;break}}})),{type:6,styles:y,easing:V,offset:a.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(a,c){const y=c.currentAnimateTimings;let R=c.currentTime,V=c.currentTime;y&&V>0&&(V-=y.duration+y.delay),a.styles.forEach((K=>{"string"!=typeof K&&Object.keys(K).forEach((Q=>{if(!this._driver.validateStyleProperty(Q))return delete K[Q],void c.unsupportedCSSPropertiesFound.add(Q);const he=c.collectedStyles[c.currentQuerySelector],we=he[Q];let Xe=!0;we&&(V!=R&&V>=we.startTime&&R<=we.endTime&&(c.errors.push(function Ke(A,a,c,y,R){return new f.vHH(3010,T)}()),Xe=!1),V=we.startTime),Xe&&(he[Q]={startTime:V,endTime:R}),c.options&&function pe(A,a,c){const y=a.params||{},R=$(A);R.length&&R.forEach((V=>{y.hasOwnProperty(V)||c.push(function F(A){return new f.vHH(3001,T)}())}))}(K[Q],c.options,c.errors)}))}))}visitKeyframes(a,c){const y={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function Ee(){return new f.vHH(3011,T)}()),y;let V=0;const K=[];let Q=!1,he=!1,we=0;const Xe=a.steps.map((xn=>{const kn=this._makeStyleAst(xn,c);let qn=null!=kn.offset?kn.offset:function Hn(A){if("string"==typeof A)return null;let a=null;if(Array.isArray(A))A.forEach((c=>{if(en(c)&&c.hasOwnProperty("offset")){const y=c;a=parseFloat(y.offset),delete y.offset}}));else if(en(A)&&A.hasOwnProperty("offset")){const c=A;a=parseFloat(c.offset),delete c.offset}return a}(kn.styles),jn=0;return null!=qn&&(V++,jn=kn.offset=qn),he=he||jn<0||jn>1,Q=Q||jn<we,we=jn,K.push(jn),kn}));he&&c.errors.push(function Re(){return new f.vHH(3012,T)}()),Q&&c.errors.push(function $e(){return new f.vHH(3200,T)}());const yt=a.steps.length;let jt=0;V>0&&V<yt?c.errors.push(function xe(){return new f.vHH(3202,T)}()):0==V&&(jt=1/(yt-1));const qt=yt-1,Mt=c.currentTime,Vt=c.currentAnimateTimings,ln=Vt.duration;return Xe.forEach(((xn,kn)=>{const qn=jt>0?kn==qt?1:jt*kn:K[kn],jn=qn*ln;c.currentTime=Mt+Vt.delay+jn,Vt.duration=jn,this._validateStyleAst(xn,c),xn.offset=qn,y.styles.push(xn)})),y}visitReference(a,c){return{type:8,animation:ot(this,Qt(a.animation),c),options:Vn(a.options)}}visitAnimateChild(a,c){return c.depCount++,{type:9,options:Vn(a.options)}}visitAnimateRef(a,c){return{type:10,animation:this.visitReference(a.animation,c),options:Vn(a.options)}}visitQuery(a,c){const y=c.currentQuerySelector,R=a.options||{};c.queryCount++,c.currentQuery=a;const[V,K]=function wn(A){const a=!!A.split(/\s*,\s*/).find((c=>":self"==c));return a&&(A=A.replace(Tr,"")),A=A.replace(/@\*/g,Ie).replace(/@\w+/g,(c=>Ie+"-"+c.substr(1))).replace(/:animating/g,ft),[A,a]}(a.selector);c.currentQuerySelector=y.length?y+" "+V:V,Gt(c.collectedStyles,c.currentQuerySelector,{});const Q=ot(this,Qt(a.animation),c);return c.currentQuery=null,c.currentQuerySelector=y,{type:11,selector:V,limit:R.limit||0,optional:!!R.optional,includeSelf:K,animation:Q,originalSelector:a.selector,options:Vn(a.options)}}visitStagger(a,c){c.currentQuery||c.errors.push(function Ze(){return new f.vHH(3013,T)}());const y="full"===a.timings?{duration:0,delay:0,easing:"full"}:hn(a.timings,c.errors,!0);return{type:12,animation:ot(this,Qt(a.animation),c),timings:y,options:null}}}class mr{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(A){return!Array.isArray(A)&&"object"==typeof A}function Vn(A){return A?(A=Zt(A)).params&&(A.params=function fr(A){return A?Zt(A):null}(A.params)):A={},A}function On(A,a,c){return{duration:A,delay:a,easing:c}}function Yn(A,a,c,y,R,V,K=null,Q=!1){return{type:1,element:A,keyframes:a,preStyleProps:c,postStyleProps:y,duration:R,delay:V,totalTime:R+V,easing:K,subTimeline:Q}}class Kn{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 Fn=new RegExp(":enter","g"),Qn=new RegExp(":leave","g");function vn(A,a,c,y,R,V={},K={},Q,he,we=[]){return(new Ss).buildKeyframes(A,a,c,y,R,V,K,Q,he,we)}class Ss{buildKeyframes(a,c,y,R,V,K,Q,he,we,Xe=[]){we=we||new Kn;const yt=new kr(a,c,we,R,V,Xe,[]);yt.options=he,yt.currentTimeline.setStyles([K],null,yt.errors,he),ot(this,y,yt);const jt=yt.timelines.filter((qt=>qt.containsAnimation()));if(Object.keys(Q).length){let qt;for(let Mt=jt.length-1;Mt>=0;Mt--){const Vt=jt[Mt];if(Vt.element===c){qt=Vt;break}}qt&&!qt.allowOnlyTimelineStyles()&&qt.setStyles([Q],null,yt.errors,he)}return jt.length?jt.map((qt=>qt.buildKeyframes())):[Yn(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 R=c.createSubContext(a.options),V=c.currentTimeline.currentTime,K=this._visitSubInstructions(y,R,R.options);V!=K&&c.transformIntoNewTimeline(K)}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 K=null!=y.duration?_t(y.duration):null,Q=null!=y.delay?_t(y.delay):null;return 0!==K&&a.forEach((he=>{const we=c.appendInstructionToTimeline(he,K,Q);V=Math.max(V,we.duration+we.delay)})),V}visitReference(a,c){c.updateOptions(a.options,!0),ot(this,a.animation,c),c.previousNode=a}visitSequence(a,c){const y=c.subContextCount;let R=c;const V=a.options;if(V&&(V.params||V.delay)&&(R=c.createSubContext(V),R.transformIntoNewTimeline(),null!=V.delay)){6==R.previousNode.type&&(R.currentTimeline.snapshotCurrentStyles(),R.previousNode=vr);const K=_t(V.delay);R.delayNextStep(K)}a.steps.length&&(a.steps.forEach((K=>ot(this,K,R))),R.currentTimeline.applyStylesToKeyframe(),R.subContextCount>y&&R.transformIntoNewTimeline()),c.previousNode=a}visitGroup(a,c){const y=[];let R=c.currentTimeline.currentTime;const V=a.options&&a.options.delay?_t(a.options.delay):0;a.steps.forEach((K=>{const Q=c.createSubContext(a.options);V&&Q.delayNextStep(V),ot(this,K,Q),R=Math.max(R,Q.currentTimeline.currentTime),y.push(Q.currentTimeline)})),y.forEach((K=>c.currentTimeline.mergeTimelineCollectedStyles(K))),c.transformIntoNewTimeline(R),c.previousNode=a}_visitTiming(a,c){if(a.dynamic){const y=a.strValue;return hn(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),R=c.currentTimeline;y.delay&&(c.incrementTime(y.delay),R.snapshotCurrentStyles());const V=a.style;5==V.type?this.visitKeyframes(V,c):(c.incrementTime(y.duration),this.visitStyle(V,c),R.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=a}visitStyle(a,c){const y=c.currentTimeline,R=c.currentAnimateTimings;!R&&y.getCurrentStyleProperties().length&&y.forwardFrame();const V=R&&R.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,R=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(R+V),c.previousNode=a}visitQuery(a,c){const y=c.currentTimeline.currentTime,R=a.options||{},V=R.delay?_t(R.delay):0;V&&(6===c.previousNode.type||0==y&&c.currentTimeline.getCurrentStyleProperties().length)&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=vr);let K=y;const Q=c.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!R.optional,c.errors);c.currentQueryTotal=Q.length;let he=null;Q.forEach(((we,Xe)=>{c.currentQueryIndex=Xe;const yt=c.createSubContext(a.options,we);V&&yt.delayNextStep(V),we===c.element&&(he=yt.currentTimeline),ot(this,a.animation,yt),yt.currentTimeline.applyStylesToKeyframe(),K=Math.max(K,yt.currentTimeline.currentTime)})),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(K),he&&(c.currentTimeline.mergeTimelineCollectedStyles(he),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=a}visitStagger(a,c){const y=c.parentContext,R=c.currentTimeline,V=a.timings,K=Math.abs(V.duration),Q=K*(c.currentQueryTotal-1);let he=K*c.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":he=Q-he;break;case"full":he=y.currentStaggerTime}const Xe=c.currentTimeline;he&&Xe.delayNextStep(he);const yt=Xe.currentTime;ot(this,a.animation,c),c.previousNode=a,y.currentStaggerTime=R.currentTime-yt+(R.startTime-y.currentTimeline.startTime)}}const vr={};class kr{constructor(a,c,y,R,V,K,Q,he){this._driver=a,this.element=c,this.subInstructions=y,this._enterClassName=R,this._leaveClassName=V,this.errors=K,this.timelines=Q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=he||new $n(this._driver,c,0),Q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,c){if(!a)return;const y=a;let R=this.options;null!=y.duration&&(R.duration=_t(y.duration)),null!=y.delay&&(R.delay=_t(y.delay));const V=y.params;if(V){let K=R.params;K||(K=this.options.params={}),Object.keys(V).forEach((Q=>{(!c||!K.hasOwnProperty(Q))&&(K[Q]=ue(V[Q],K,this.errors))}))}}_copyOptions(){const a={};if(this.options){const c=this.options.params;if(c){const y=a.params={};Object.keys(c).forEach((R=>{y[R]=c[R]}))}}return a}createSubContext(a=null,c,y){const R=c||this.element,V=new kr(this._driver,R,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(R,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=vr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,c,y){const R={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,R,a.stretchStartingKeyframe);return this.timelines.push(V),R}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,c,y,R,V,K){let Q=[];if(R&&Q.push(this.element),a.length>0){a=(a=a.replace(Fn,"."+this._enterClassName)).replace(Qn,"."+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&&K.push(function Bt(A){return new f.vHH(3014,T)}()),Q}}class $n{constructor(a,c,y,R){this._driver=a,this.element=c,this.startTime=y,this._elementTimelineStylesLookup=R,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 $n(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]||S.l3,this._currentKeyframe[c]=S.l3})),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,c,y,R){c&&(this._previousKeyframe.easing=c);const V=R&&R.params||{},K=function Is(A,a){const c={};let y;return A.forEach((R=>{"*"===R?(y=y||Object.keys(a),y.forEach((V=>{c[V]=S.l3}))):st(R,!1,c)})),c}(a,this._globalTimelineStyles);Object.keys(K).forEach((Q=>{const he=ue(K[Q],V,y);this._pendingStyles[Q]=he,this._localTimelineStyles.hasOwnProperty(Q)||(this._backFill[Q]=this._globalTimelineStyles.hasOwnProperty(Q)?this._globalTimelineStyles[Q]:S.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],R=a._styleSummary[c];(!y||R.time>y.time)&&this._updateStyle(c,R.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,c=new Set,y=1===this._keyframes.size&&0===this.duration;let R=[];this._keyframes.forEach(((Q,he)=>{const we=st(Q,!0);Object.keys(we).forEach((Xe=>{const yt=we[Xe];yt==S.k1?a.add(Xe):yt==S.l3&&c.add(Xe)})),y||(we.offset=he/this.duration),R.push(we)}));const V=a.size?Se(a.values()):[],K=c.size?Se(c.values()):[];if(y){const Q=R[0],he=Zt(Q);Q.offset=0,he.offset=1,R=[Q,he]}return Yn(this.element,R,V,K,this.duration,this.startTime,this.easing,!1)}}class As extends $n{constructor(a,c,y,R,V,K,Q=!1){super(a,c,K.delay),this.keyframes=y,this.preStyleProps=R,this.postStyleProps=V,this._stretchStartingKeyframe=Q,this.timings={duration:K.duration,delay:K.delay,easing:K.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:c,duration:y,easing:R}=this.timings;if(this._stretchStartingKeyframe&&c){const V=[],K=y+c,Q=c/K,he=st(a[0],!1);he.offset=0,V.push(he);const we=st(a[0],!1);we.offset=Ms(Q),V.push(we);const Xe=a.length-1;for(let yt=1;yt<=Xe;yt++){let jt=st(a[yt],!1);jt.offset=Ms((c+jt.offset*y)/K),V.push(jt)}y=K,c=0,R="",a=V}return Yn(this.element,a,this.preStyleProps,this.postStyleProps,y,c,R,!0)}}function Ms(A,a=3){const c=Math.pow(10,a-1);return Math.round(A*c)/c}class Kr{}class wi extends Kr{normalizePropertyName(a,c){return tt(a)}normalizeStyleValue(a,c,y,R){let V="";const K=y.toString().trim();if(Ti[c]&&0!==y&&"0"!==y)if("number"==typeof y)V="px";else{const Q=y.match(/^[+-]?[\d\.]+([a-z]*)$/);Q&&0==Q[1].length&&R.push(function z(A,a){return new f.vHH(3005,T)}())}return K+V}}const Ti=(()=>function Ps(A){const a={};return A.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 ns(A,a,c,y,R,V,K,Q,he,we,Xe,yt,jt){return{type:0,element:A,triggerName:a,isRemovalTransition:R,fromState:c,fromStyles:V,toState:y,toStyles:K,timelines:Q,queriedElements:he,preStyleProps:we,postStyleProps:Xe,totalTime:yt,errors:jt}}const ps={};class Vs{constructor(a,c,y){this._triggerName=a,this.ast=c,this._stateStyles=y}match(a,c,y,R){return function si(A,a,c,y,R){return A.some((V=>V(a,c,y,R)))}(this.ast.matchers,a,c,y,R)}buildStyles(a,c,y){const R=this._stateStyles["*"],V=this._stateStyles[a],K=R?R.buildStyles(c,y):{};return V?V.buildStyles(c,y):K}build(a,c,y,R,V,K,Q,he,we,Xe){const yt=[],jt=this.ast.options&&this.ast.options.params||ps,Mt=this.buildStyles(y,Q&&Q.params||ps,yt),Vt=he&&he.params||ps,ln=this.buildStyles(R,Vt,yt),xn=new Set,kn=new Map,qn=new Map,jn="void"===R,Nr={params:{...jt,...Vt}},_r=Xe?[]:vn(a,c,this.ast.animation,V,K,Mt,ln,Nr,we,yt);let Jn=0;if(_r.forEach((Fr=>{Jn=Math.max(Fr.duration+Fr.delay,Jn)})),yt.length)return ns(c,this._triggerName,y,R,jn,Mt,ln,[],[],kn,qn,Jn,yt);_r.forEach((Fr=>{const Er=Fr.element,di=Gt(kn,Er,{});Fr.preStyleProps.forEach((Sn=>di[Sn]=!0));const Ls=Gt(qn,Er,{});Fr.postStyleProps.forEach((Sn=>Ls[Sn]=!0)),Er!==c&&xn.add(Er)}));const Or=Se(xn.values());return ns(c,this._triggerName,y,R,jn,Mt,ln,_r,Or,kn,qn,Jn)}}class ii{constructor(a,c,y){this.styles=a,this.defaultParams=c,this.normalizer=y}buildStyles(a,c){const y={},R=Zt(this.defaultParams);return Object.keys(a).forEach((V=>{const K=a[V];null!=K&&(R[V]=K)})),this.styles.styles.forEach((V=>{if("string"!=typeof V){const K=V;Object.keys(K).forEach((Q=>{let he=K[Q];he.length>1&&(he=ue(he,R,c));const we=this.normalizer.normalizePropertyName(Q,c);he=this.normalizer.normalizeStyleValue(Q,we,he,c),y[we]=he}))}})),y}}class Si{constructor(a,c,y){this.name=a,this.ast=c,this._normalizer=y,this.transitionFactories=[],this.states={},c.states.forEach((R=>{this.states[R.name]=new ii(R.style,R.options&&R.options.params||{},y)})),xs(this.states,"true","1"),xs(this.states,"false","0"),c.transitions.forEach((R=>{this.transitionFactories.push(new Vs(a,R,this.states))})),this.fallbackTransition=function Ai(A,a,c){return new Vs(A,{type:1,animation:{type:2,steps:[],options:null},matchers:[(K,Q)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,c,y,R){return this.transitionFactories.find((K=>K.match(a,c,y,R)))||null}matchStyles(a,c,y){return this.fallbackTransition.buildStyles(a,c,y)}}function xs(A,a,c){A.hasOwnProperty(a)?A.hasOwnProperty(c)||(A[c]=A[a]):A.hasOwnProperty(c)&&(A[a]=A[c])}const rs=new Kn;class Zr{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=cr(this._driver,c,y,[]);if(y.length)throw function le(A){return new f.vHH(3503,T)}();this._animations[a]=V}_buildPlayer(a,c,y){const R=a.element,V=kt(0,this._normalizer,0,a.keyframes,c,y);return this._driver.animate(R,V,a.duration,a.delay,a.easing,[],!0)}create(a,c,y={}){const R=[],V=this._animations[a];let K;const Q=new Map;if(V?(K=vn(this._driver,c,V,At,gt,{},{},y,rs,R),K.forEach((Xe=>{const yt=Gt(Q,Xe.element,{});Xe.postStyleProps.forEach((jt=>yt[jt]=null))}))):(R.push(function me(){return new f.vHH(3300,T)}()),K=[]),R.length)throw function Ce(A){return new f.vHH(3504,T)}();Q.forEach(((Xe,yt)=>{Object.keys(Xe).forEach((jt=>{Xe[jt]=this._driver.computeStyle(yt,jt,S.l3)}))}));const we=Nt(K.map((Xe=>{const yt=Q.get(Xe.element);return this._buildPlayer(Xe,{},yt)})));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 ee(A){return new f.vHH(3301,T)}();return c}listen(a,c,y,R){const V=Un(c,"","","");return Bn(this._getPlayer(a),y,V,R),()=>{}}command(a,c,y,R){if("register"==y)return void this.register(a,R[0]);if("create"==y)return void this.create(a,c,R[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(R[0]));break;case"destroy":this.destroy(a)}}}const Mi="ng-animate-queued",Rs="ng-animate-disabled",oi=[],ai={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ws={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},In="__ng_removed";class Os{constructor(a,c=""){this.namespaceId=c;const y=a&&a.hasOwnProperty("value");if(this.value=function _(A){return A??null}(y?a.value:a),y){const V=Zt(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((R=>{null==y[R]&&(y[R]=c[R])}))}}}const hr="void",ss=new Os(hr);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,Ne(c,this._hostClassName)}listen(a,c,y,R){if(!this._triggers.hasOwnProperty(c))throw function Pe(A,a){return new f.vHH(3302,T)}();if(null==y||0==y.length)throw function Pt(A){return new f.vHH(3303,T)}();if(!function E(A){return"start"==A||"done"==A}(y))throw function $t(A,a){return new f.vHH(3400,T)}();const V=Gt(this._elementListeners,a,[]),K={name:c,phase:y,callback:R};V.push(K);const Q=Gt(this._engine.statesByElement,a,{});return Q.hasOwnProperty(c)||(Ne(a,Tt),Ne(a,Tt+"-"+c),Q[c]=ss),()=>{this._engine.afterFlush((()=>{const he=V.indexOf(K);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(A){return new f.vHH(3401,T)}();return c}trigger(a,c,y,R=!0){const V=this._getTrigger(c),K=new gs(this.id,c,a);let Q=this._engine.statesByElement.get(a);Q||(Ne(a,Tt),Ne(a,Tt+"-"+c),this._engine.statesByElement.set(a,Q={}));let he=Q[c];const we=new Os(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&he&&we.absorbOptions(he.options),Q[c]=we,he||(he=ss),we.value!==hr&&he.value===we.value){if(!function tn(A,a){const c=Object.keys(A),y=Object.keys(a);if(c.length!=y.length)return!1;for(let R=0;R<c.length;R++){const V=c[R];if(!a.hasOwnProperty(V)||A[V]!==a[V])return!1}return!0}(he.params,we.params)){const Vt=[],ln=V.matchStyles(he.value,he.params,Vt),xn=V.matchStyles(we.value,we.params,Vt);Vt.length?this._engine.reportError(Vt):this._engine.afterFlush((()=>{Ye(a,ln),xt(a,xn)}))}return}const jt=Gt(this._engine.playersByElement,a,[]);jt.forEach((Vt=>{Vt.namespaceId==this.id&&Vt.triggerName==c&&Vt.queued&&Vt.destroy()}));let qt=V.matchTransition(he.value,we.value,a,we.params),Mt=!1;if(!qt){if(!R)return;qt=V.fallbackTransition,Mt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:qt,fromState:he,toState:we,player:K,isFallbackTransition:Mt}),Mt||(Ne(a,Mi),K.onStart((()=>{We(a,Mi)}))),K.onDone((()=>{let Vt=this.players.indexOf(K);Vt>=0&&this.players.splice(Vt,1);const ln=this._engine.playersByElement.get(a);if(ln){let xn=ln.indexOf(K);xn>=0&&ln.splice(xn,1)}})),this.players.push(K),jt.push(K),K}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((R=>R.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,Ie,!0);y.forEach((R=>{if(R[In])return;const V=this._engine.fetchNamespacesByElement(R);V.size?V.forEach((K=>K.triggerLeaveAnimation(R,c,!1,!0))):this.clearElementCache(R)})),this._engine.afterFlushAnimationsDone((()=>y.forEach((R=>this.clearElementCache(R)))))}triggerLeaveAnimation(a,c,y,R){const V=this._engine.statesByElement.get(a),K=new Map;if(V){const Q=[];if(Object.keys(V).forEach((he=>{if(K.set(he,V[he].value),this._triggers[he]){const we=this.trigger(a,he,hr,R);we&&Q.push(we)}})),Q.length)return this._engine.markElementAsRemoved(this.id,a,!0,c,K),y&&Nt(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 R=new Set;c.forEach((V=>{const K=V.name;if(R.has(K))return;R.add(K);const he=this._triggers[K].fallbackTransition,we=y[K]||ss,Xe=new Os(hr),yt=new gs(this.id,K,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:K,transition:he,fromState:we,toState:Xe,player:yt,isFallbackTransition:!0})}))}}removeNode(a,c){const y=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,c),this.triggerLeaveAnimation(a,c,!0))return;let R=!1;if(y.totalAnimations){const V=y.players.length?y.playersByQueriedElement.get(a):[];if(V&&V.length)R=!0;else{let K=a;for(;K=K.parentNode;)if(y.statesByElement.get(K)){R=!0;break}}}if(this.prepareLeaveAnimationListeners(a),R)y.markElementAsRemoved(this.id,a,!1,c);else{const V=a[In];(!V||V===ai)&&(y.afterFlush((()=>this.clearElementCache(a))),y.destroyInnerAnimations(a),y._onRemovalComplete(a,c))}}insertNode(a,c){Ne(a,this._hostClassName)}drainQueuedTransitions(a){const c=[];return this._queue.forEach((y=>{const R=y.player;if(R.destroyed)return;const V=y.element,K=this._elementListeners.get(V);K&&K.forEach((Q=>{if(Q.name==y.triggerName){const he=Un(V,y.triggerName,y.fromState.value,y.toState.value);he._data=a,Bn(y.player,Q.phase,he,Q.callback)}})),R.markedForDestroy?this._engine.afterFlush((()=>{R.destroy()})):c.push(y)})),this._queue=[],c.sort(((y,R)=>{const V=y.transition.ast.depCount,K=R.transition.ast.depCount;return 0==V||0==K?V-K:this._engine.driver.containsElement(y.element,R.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 ur{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=(R,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,R=this.namespacesByHostElement,V=y.length-1;if(V>=0){let K=!1;if(void 0!==this.driver.getParentElement){let Q=this.driver.getParentElement(c);for(;Q;){const he=R.get(Q);if(he){const we=y.indexOf(he);y.splice(we+1,0,a),K=!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),K=!0;break}K||y.unshift(a)}else y.push(a);return R.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 R=this._namespaceLookup[a];R&&R.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 R=this._namespaceList.indexOf(y);R>=0&&this._namespaceList.splice(R,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 R=Object.keys(y);for(let V=0;V<R.length;V++){const K=y[R[V]].namespaceId;if(K){const Q=this._fetchNamespace(K);Q&&c.add(Q)}}}return c}trigger(a,c,y,R){if(O(c)){const V=this._fetchNamespace(a);if(V)return V.trigger(c,y,R),!0}return!1}insertNode(a,c,y,R){if(!O(c))return;const V=c[In];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const K=this.collectedLeaveElements.indexOf(c);K>=0&&this.collectedLeaveElements.splice(K,1)}if(a){const K=this._fetchNamespace(a);K&&K.insertNode(c,y)}R&&this.collectEnterElement(c)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,c){c?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Ne(a,Rs)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),We(a,Rs))}removeNode(a,c,y,R){if(O(c)){const V=a?this._fetchNamespace(a):null;if(V?V.removeNode(c,R):this.markElementAsRemoved(a,c,!1,R),y){const K=this.namespacesByHostElement.get(c);K&&K.id!==a&&K.removeNode(c,R)}}else this._onRemovalComplete(c,R)}markElementAsRemoved(a,c,y,R,V){this.collectedLeaveElements.push(c),c[In]={namespaceId:a,setForRemoval:R,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:V}}listen(a,c,y,R,V){return O(c)?this._fetchNamespace(a).listen(c,y,R,V):()=>{}}_buildInstruction(a,c,y,R,V){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,y,R,a.fromState.options,a.toState.options,c,V)}destroyInnerAnimations(a){let c=this.driver.query(a,Ie,!0);c.forEach((y=>this.destroyActiveAnimationsForElement(y))),0!=this.playersByQueriedElement.size&&(c=this.driver.query(a,ft,!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 Nt(this.players).onDone((()=>a()));a()}))}processLeaveNode(a){const c=a[In];if(c&&c.setForRemoval){if(a[In]=ai,c.namespaceId){this.destroyInnerAnimations(a);const y=this._fetchNamespace(c.namespaceId);y&&y.clearElementCache(a)}this._onRemovalComplete(a,c.setForRemoval)}a.classList?.contains(Rs)&&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,R)=>this._balanceNamespaceList(y,R))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)Ne(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 R=0;R<y.length;R++)y[R]()}}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?Nt(c).onDone((()=>{y.forEach((R=>R()))})):y.forEach((R=>R()))}}reportError(a){throw function Jt(A){return new f.vHH(3402,T)}()}_flushAnimations(a,c){const y=new Kn,R=[],V=new Map,K=[],Q=new Map,he=new Map,we=new Map,Xe=new Set;this.disabledNodes.forEach((pt=>{Xe.add(pt);const Dt=this.driver.query(pt,".ng-animate-queued",!0);for(let Rt=0;Rt<Dt.length;Rt++)Xe.add(Dt[Rt])}));const yt=this.bodyNode,jt=Array.from(this.statesByElement.keys()),qt=De(jt,this.collectedEnterElements),Mt=new Map;let Vt=0;qt.forEach(((pt,Dt)=>{const Rt=At+Vt++;Mt.set(Dt,Rt),pt.forEach((sn=>Ne(sn,Rt)))}));const ln=[],xn=new Set,kn=new Set;for(let pt=0;pt<this.collectedLeaveElements.length;pt++){const Dt=this.collectedLeaveElements[pt],Rt=Dt[In];Rt&&Rt.setForRemoval&&(ln.push(Dt),xn.add(Dt),Rt.hasAnimation?this.driver.query(Dt,".ng-star-inserted",!0).forEach((sn=>xn.add(sn))):kn.add(Dt))}const qn=new Map,jn=De(jt,Array.from(xn));jn.forEach(((pt,Dt)=>{const Rt=gt+Vt++;qn.set(Dt,Rt),pt.forEach((sn=>Ne(sn,Rt)))})),a.push((()=>{qt.forEach(((pt,Dt)=>{const Rt=Mt.get(Dt);pt.forEach((sn=>We(sn,Rt)))})),jn.forEach(((pt,Dt)=>{const Rt=qn.get(Dt);pt.forEach((sn=>We(sn,Rt)))})),ln.forEach((pt=>{this.processLeaveNode(pt)}))}));const Nr=[],_r=[];for(let pt=this._namespaceList.length-1;pt>=0;pt--)this._namespaceList[pt].drainQueuedTransitions(c).forEach((Rt=>{const sn=Rt.player,Gn=Rt.element;if(Nr.push(sn),this.collectedEnterElements.length){const nr=Gn[In];if(nr&&nr.setForMove){if(nr.previousTriggersValues&&nr.previousTriggersValues.has(Rt.triggerName)){const rr=nr.previousTriggersValues.get(Rt.triggerName),lr=this.statesByElement.get(Rt.element);lr&&lr[Rt.triggerName]&&(lr[Rt.triggerName].value=rr)}return void sn.destroy()}}const Lr=!yt||!this.driver.containsElement(yt,Gn),Xn=qn.get(Gn),Dr=Mt.get(Gn),_n=this._buildInstruction(Rt,y,Dr,Xn,Lr);if(_n.errors&&_n.errors.length)return void _r.push(_n);if(Lr)return sn.onStart((()=>Ye(Gn,_n.fromStyles))),sn.onDestroy((()=>xt(Gn,_n.toStyles))),void R.push(sn);if(Rt.isFallbackTransition)return sn.onStart((()=>Ye(Gn,_n.fromStyles))),sn.onDestroy((()=>xt(Gn,_n.toStyles))),void R.push(sn);const Zs=[];_n.timelines.forEach((nr=>{nr.stretchStartingKeyframe=!0,this.disabledNodes.has(nr.element)||Zs.push(nr)})),_n.timelines=Zs,y.append(Gn,_n.timelines),K.push({instruction:_n,player:sn,element:Gn}),_n.queriedElements.forEach((nr=>Gt(Q,nr,[]).push(sn))),_n.preStyleProps.forEach(((nr,rr)=>{const lr=Object.keys(nr);if(lr.length){let Vr=he.get(rr);Vr||he.set(rr,Vr=new Set),lr.forEach((Jr=>Vr.add(Jr)))}})),_n.postStyleProps.forEach(((nr,rr)=>{const lr=Object.keys(nr);let Vr=we.get(rr);Vr||we.set(rr,Vr=new Set),lr.forEach((Jr=>Vr.add(Jr)))}))}));if(_r.length){const pt=[];_r.forEach((Dt=>{pt.push(function Dn(A,a){return new f.vHH(3505,T)}())})),Nr.forEach((Dt=>Dt.destroy())),this.reportError(pt)}const Jn=new Map,Or=new Map;K.forEach((pt=>{const Dt=pt.element;y.has(Dt)&&(Or.set(Dt,Dt),this._beforeAnimationBuild(pt.player.namespaceId,pt.instruction,Jn))})),R.forEach((pt=>{const Dt=pt.element;this._getPreviousPlayers(Dt,!1,pt.namespaceId,pt.triggerName,null).forEach((sn=>{Gt(Jn,Dt,[]).push(sn),sn.destroy()}))}));const Fr=ln.filter((pt=>Ln(pt,he,we))),Er=new Map;oe(Er,this.driver,kn,we,S.l3).forEach((pt=>{Ln(pt,he,we)&&Fr.push(pt)}));const Ls=new Map;qt.forEach(((pt,Dt)=>{oe(Ls,this.driver,new Set(pt),he,S.k1)})),Fr.forEach((pt=>{const Dt=Er.get(pt),Rt=Ls.get(pt);Er.set(pt,{...Dt,...Rt})}));const Sn=[],Hr=[],An={};K.forEach((pt=>{const{element:Dt,player:Rt,instruction:sn}=pt;if(y.has(Dt)){if(Xe.has(Dt))return Rt.onDestroy((()=>xt(Dt,sn.toStyles))),Rt.disabled=!0,Rt.overrideTotalTime(sn.totalTime),void R.push(Rt);let Gn=An;if(Or.size>1){let Xn=Dt;const Dr=[];for(;Xn=Xn.parentNode;){const _n=Or.get(Xn);if(_n){Gn=_n;break}Dr.push(Xn)}Dr.forEach((_n=>Or.set(_n,Gn)))}const Lr=this._buildAnimation(Rt.namespaceId,sn,Jn,V,Ls,Er);if(Rt.setRealPlayer(Lr),Gn===An)Sn.push(Rt);else{const Xn=this.playersByElement.get(Gn);Xn&&Xn.length&&(Rt.parentPlayer=Nt(Xn)),R.push(Rt)}}else Ye(Dt,sn.fromStyles),Rt.onDestroy((()=>xt(Dt,sn.toStyles))),Hr.push(Rt),Xe.has(Dt)&&R.push(Rt)})),Hr.forEach((pt=>{const Dt=V.get(pt.element);if(Dt&&Dt.length){const Rt=Nt(Dt);pt.setRealPlayer(Rt)}})),R.forEach((pt=>{pt.parentPlayer?pt.syncPlayerEvents(pt.parentPlayer):pt.destroy()}));for(let pt=0;pt<ln.length;pt++){const Dt=ln[pt],Rt=Dt[In];if(We(Dt,gt),Rt&&Rt.hasAnimation)continue;let sn=[];if(Q.size){let Lr=Q.get(Dt);Lr&&Lr.length&&sn.push(...Lr);let Xn=this.driver.query(Dt,ft,!0);for(let Dr=0;Dr<Xn.length;Dr++){let _n=Q.get(Xn[Dr]);_n&&_n.length&&sn.push(..._n)}}const Gn=sn.filter((Lr=>!Lr.destroyed));Gn.length?gn(this,Dt,Gn):this.processLeaveNode(Dt)}return ln.length=0,Sn.forEach((pt=>{this.players.push(pt),pt.onDone((()=>{pt.destroy();const Dt=this.players.indexOf(pt);this.players.splice(Dt,1)})),pt.play()})),Sn}elementContainsData(a,c){let y=!1;const R=c[In];return R&&R.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,R,V){let K=[];if(c){const Q=this.playersByQueriedElement.get(a);Q&&(K=Q)}else{const Q=this.playersByElement.get(a);if(Q){const he=!V||V==hr;Q.forEach((we=>{we.queued||!he&&we.triggerName!=R||K.push(we)}))}}return(y||R)&&(K=K.filter((Q=>!(y&&y!=Q.namespaceId||R&&R!=Q.triggerName)))),K}_beforeAnimationBuild(a,c,y){const V=c.element,K=c.isRemovalTransition?void 0:a,Q=c.isRemovalTransition?void 0:c.triggerName;for(const he of c.timelines){const we=he.element,Xe=we!==V,yt=Gt(y,we,[]);this._getPreviousPlayers(we,Xe,K,Q,c.toState).forEach((qt=>{const Mt=qt.getRealPlayer();Mt.beforeDestroy&&Mt.beforeDestroy(),qt.destroy(),yt.push(qt)}))}Ye(V,c.fromStyles)}_buildAnimation(a,c,y,R,V,K){const Q=c.triggerName,he=c.element,we=[],Xe=new Set,yt=new Set,jt=c.timelines.map((Mt=>{const Vt=Mt.element;Xe.add(Vt);const ln=Vt[In];if(ln&&ln.removedBeforeQueried)return new S.ZN(Mt.duration,Mt.delay);const xn=Vt!==he,kn=function pn(A){const a=[];return vt(A,a),a}((y.get(Vt)||oi).map((Jn=>Jn.getRealPlayer()))).filter((Jn=>!!Jn.element&&Jn.element===Vt)),qn=V.get(Vt),jn=K.get(Vt),Nr=kt(0,this._normalizer,0,Mt.keyframes,qn,jn),_r=this._buildPlayer(Mt,Nr,kn);if(Mt.subTimeline&&R&&yt.add(Vt),xn){const Jn=new gs(a,Q,Vt);Jn.setRealPlayer(_r),we.push(Jn)}return _r}));we.forEach((Mt=>{Gt(this.playersByQueriedElement,Mt.element,[]).push(Mt),Mt.onDone((()=>function is(A,a,c){let y;if(A instanceof Map){if(y=A.get(a),y){if(y.length){const R=y.indexOf(c);y.splice(R,1)}0==y.length&&A.delete(a)}}else if(y=A[a],y){if(y.length){const R=y.indexOf(c);y.splice(R,1)}0==y.length&&delete A[a]}return y}(this.playersByQueriedElement,Mt.element,Mt)))})),Xe.forEach((Mt=>Ne(Mt,Ht)));const qt=Nt(jt);return qt.onDestroy((()=>{Xe.forEach((Mt=>We(Mt,Ht))),xt(he,c.toStyles)})),yt.forEach((Mt=>{Gt(R,Mt,[]).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 S.ZN(a.duration,a.delay)}}class gs{constructor(a,c,y){this.namespaceId=a,this.triggerName=c,this.element=y,this._player=new S.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=>Bn(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){Gt(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(A){return A&&1===A.nodeType}function B(A,a){const c=A.style.display;return A.style.display=a??"none",c}function oe(A,a,c,y,R){const V=[];c.forEach((he=>V.push(B(he))));const K=[];y.forEach(((he,we)=>{const Xe={};he.forEach((yt=>{const jt=Xe[yt]=a.computeStyle(we,yt,R);(!jt||0==jt.length)&&(we[In]=Ws,K.push(we))})),A.set(we,Xe)}));let Q=0;return c.forEach((he=>B(he,V[Q++]))),K}function De(A,a){const c=new Map;if(A.forEach((Q=>c.set(Q,[]))),0==a.length)return c;const R=new Set(a),V=new Map;function K(Q){if(!Q)return 1;let he=V.get(Q);if(he)return he;const we=Q.parentNode;return he=c.has(we)?we:R.has(we)?1:K(we),V.set(Q,he),he}return a.forEach((Q=>{const he=K(Q);1!==he&&c.get(he).push(Q)})),c}function Ne(A,a){A.classList?.add(a)}function We(A,a){A.classList?.remove(a)}function gn(A,a,c){Nt(c).onDone((()=>A.processLeaveNode(a)))}function vt(A,a){for(let c=0;c<A.length;c++){const y=A[c];y instanceof S.ZE?vt(y.players,a):a.push(y)}}function Ln(A,a,c){const y=c.get(A);if(!y)return!1;let R=a.get(A);return R?y.forEach((V=>R.add(V))):a.set(A,y),c.delete(A),!0}class rn{constructor(a,c,y){this.bodyNode=a,this._driver=c,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(R,V)=>{},this._transitionEngine=new ur(a,c,y),this._timelineEngine=new Zr(a,c,y),this._transitionEngine.onRemovalComplete=(R,V)=>this.onRemovalComplete(R,V)}registerTrigger(a,c,y,R,V){const K=a+"-"+R;let Q=this._triggerCache[K];if(!Q){const he=[],Xe=cr(this._driver,V,he,[]);if(he.length)throw function Lt(A,a){return new f.vHH(3404,T)}();Q=function $s(A,a,c){return new Si(A,a,c)}(R,Xe,this._normalizer),this._triggerCache[K]=Q}this._transitionEngine.registerTrigger(c,R,Q)}register(a,c){this._transitionEngine.register(a,c)}destroy(a,c){this._transitionEngine.destroy(a,c)}onInsert(a,c,y,R){this._transitionEngine.insertNode(a,c,y,R)}onRemove(a,c,y,R){this._transitionEngine.removeNode(a,c,R||!1,y)}disableAnimations(a,c){this._transitionEngine.markElementAsDisabled(a,c)}process(a,c,y,R){if("@"==y.charAt(0)){const[V,K]=bn(y);this._timelineEngine.command(V,c,K,R)}else this._transitionEngine.trigger(a,c,y,R)}listen(a,c,y,R,V){if("@"==y.charAt(0)){const[K,Q]=bn(y);return this._timelineEngine.listen(K,c,Q,V)}return this._transitionEngine.listen(a,c,y,R,V)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let os=(()=>{class A{constructor(c,y,R){this._element=c,this._startStyles=y,this._endStyles=R,this._state=0;let V=A.initialStylesByElement.get(c);V||A.initialStylesByElement.set(c,V={}),this._initialStyles=V}start(){this._state<1&&(this._startStyles&&xt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(xt(this._element,this._initialStyles),this._endStyles&&(xt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(A.initialStylesByElement.delete(this._element),this._startStyles&&(Ye(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ye(this._element,this._endStyles),this._endStyles=null),xt(this._element,this._initialStyles),this._state=3)}}return A.initialStylesByElement=new WeakMap,A})();function pr(A){let a=null;const c=Object.keys(A);for(let y=0;y<c.length;y++){const R=c[y];Sr(R)&&(a=a||{},a[R]=A[R])}return a}function Sr(A){return"display"===A||"position"===A}class Pn{constructor(a,c,y,R){this.element=a,this.keyframes=c,this.options=y,this._specialStyles=R,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]:Ve(this.element,y))}))}this.currentSnapshot=a}triggerCallback(a){const c="start"==a?this._onStartFns:this._onDoneFns;c.forEach((y=>y())),c.length=0}}class Qr{validateStyleProperty(a){return Z(a)}matchesElement(a,c){return!1}containsElement(a,c){return L(a,c)}getParentElement(a){return Pr(a)}query(a,c,y){return ae(a,c,y)}computeStyle(a,c,y){return window.getComputedStyle(a)[c]}animate(a,c,y,R,V,K=[]){const he={duration:y,delay:R,fill:0==R?"both":"forwards"};V&&(he.easing=V);const we={},Xe=K.filter((jt=>jt instanceof Pn));(function te(A,a){return 0===A||0===a})(y,R)&&Xe.forEach((jt=>{let qt=jt.currentSnapshot;Object.keys(qt).forEach((Mt=>we[Mt]=qt[Mt]))})),c=function ye(A,a,c){const y=Object.keys(c);if(y.length&&a.length){let V=a[0],K=[];if(y.forEach((Q=>{V.hasOwnProperty(Q)||K.push(Q),V[Q]=c[Q]})),K.length)for(var R=1;R<a.length;R++){let Q=a[R];K.forEach((function(he){Q[he]=Ve(A,he)}))}}return a}(a,c=c.map((jt=>st(jt,!1))),we);const yt=function an(A,a){let c=null,y=null;return Array.isArray(a)&&a.length?(c=pr(a[0]),a.length>1&&(y=pr(a[a.length-1]))):a&&(c=pr(a)),c||y?new os(A,c,y):null}(a,c);return new Pn(a,c,he,yt)}}var jr=h(6895);let Fs=(()=>{class A extends S._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 R=Array.isArray(c)?(0,S.vP)(c):c;return qr(this._renderer,null,y,"register",[R]),new Ar(y,this._renderer)}}return A.ɵfac=function(c){return new(c||A)(f.LFG(f.FYo),f.LFG(jr.K0))},A.ɵprov=f.Yz7({token:A,factory:A.ɵfac}),A})();class Ar extends S.LC{constructor(a,c){super(),this._id=a,this._renderer=c}create(a,c){return new ui(this._id,a,c||{},this._renderer)}}class ui{constructor(a,c,y,R){this.id=a,this.element=c,this._renderer=R,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 qr(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 qr(A,a,c,y,R){return A.setProperty(a,`@@${c}:${y}`,R)}const li="@.disabled";let Jo=(()=>{class A{constructor(c,y,R){this.delegate=c,this.engine=y,this._zone=R,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(V,K)=>{const Q=K?.parentNode(V);Q&&K.removeChild(Q,V)}}createRenderer(c,y){const V=this.delegate.createRenderer(c,y);if(!(c&&y&&y.data&&y.data.animation)){let Xe=this._rendererCache.get(V);return Xe||(Xe=new Ii("",V,this.engine),this._rendererCache.set(V,Xe)),Xe}const K=y.id,Q=y.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,c);const he=Xe=>{Array.isArray(Xe)?Xe.forEach(he):this.engine.registerTrigger(K,Q,c,Xe.name,Xe)};return y.data.animation.forEach(he),new co(this,Q,V,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(c,y,R){c>=0&&c<this._microtaskId?this._zone.run((()=>y(R))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((V=>{const[K,Q]=V;K(Q)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([y,R]))}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 A.ɵfac=function(c){return new(c||A)(f.LFG(f.FYo),f.LFG(rn),f.LFG(f.R0b))},A.ɵprov=f.Yz7({token:A,factory:A.ɵfac}),A})();class Ii{constructor(a,c,y){this.namespaceId=a,this.delegate=c,this.engine=y,this.destroyNode=this.delegate.destroyNode?R=>c.destroyNode(R):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,R=!0){this.delegate.insertBefore(a,c,y),this.engine.onInsert(this.namespaceId,c,a,R)}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,R){this.delegate.setAttribute(a,c,y,R)}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,R){this.delegate.setStyle(a,c,y,R)}removeStyle(a,c,y){this.delegate.removeStyle(a,c,y)}setProperty(a,c,y){"@"==c.charAt(0)&&c==li?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 co extends Ii{constructor(a,c,y,R){super(c,y,R),this.factory=a,this.namespaceId=c}setProperty(a,c,y){"@"==c.charAt(0)?"."==c.charAt(1)&&c==li?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 R=function fo(A){switch(A){case"body":return document.body;case"document":return document;case"window":return window;default:return A}}(a);let V=c.substr(1),K="";return"@"!=V.charAt(0)&&([V,K]=function Ks(A){const a=A.indexOf(".");return[A.substring(0,a),A.substr(a+1)]}(V)),this.engine.listen(this.namespaceId,R,V,K,(Q=>{this.factory.scheduleListenerCallback(Q._data||-1,y,Q)}))}return this.delegate.listen(a,c,y)}}let ho=(()=>{class A extends rn{constructor(c,y,R){super(c.body,y,R)}ngOnDestroy(){this.flush()}}return A.ɵfac=function(c){return new(c||A)(f.LFG(jr.K0),f.LFG(Te),f.LFG(Kr))},A.ɵprov=f.Yz7({token:A,factory:A.ɵfac}),A})();const nn=new f.OlP("AnimationModuleType"),ci=[{provide:S._j,useClass:Fs},{provide:Kr,useFactory:function Pi(){return new wi}},{provide:rn,useClass:ho},{provide:f.FYo,useFactory:function ke(A,a,c){return new Jo(A,a,c)},deps:[p.se,rn,f.R0b]}],Tn=[{provide:Te,useFactory:()=>new Qr},{provide:nn,useValue:"BrowserAnimations"},...ci],xi=[{provide:Te,useClass:ge},{provide:nn,useValue:"NoopAnimations"},...ci];let Br=(()=>{class A{static withConfig(c){return{ngModule:A,providers:c.disableAnimations?xi:Tn}}}return A.ɵfac=function(c){return new(c||A)},A.ɵmod=f.oAB({type:A}),A.ɵinj=f.cJS({providers:Tn,imports:[p.b2]}),A})()},1481:(j,w,h)=>{"use strict";h.d(w,{H7:()=>et,b2:()=>dn,q6:()=>Gt,se:()=>le});var f=h(6895),p=h(6738);class S extends f.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends S{static makeCurrent(){(0,f.HT)(new T)}onAndCancel(q,$,ue){return q.addEventListener($,ue,!1),()=>{q.removeEventListener($,ue,!1)}}dispatchEvent(q,$){q.dispatchEvent($)}remove(q){q.parentNode&&q.parentNode.removeChild(q)}createElement(q,$){return($=$||this.getDefaultDocument()).createElement(q)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(q){return q.nodeType===Node.ELEMENT_NODE}isShadowRoot(q){return q instanceof DocumentFragment}getGlobalEventTarget(q,$){return"window"===$?window:"document"===$?q:"body"===$?q.body:null}getBaseHref(q){const $=function M(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}();return null==$?null:function x(pe){P=P||document.createElement("a"),P.setAttribute("href",pe);const q=P.pathname;return"/"===q.charAt(0)?q:`/${q}`}($)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(q){return(0,f.Mx)(document.cookie,q)}}let P,C=null;const F=new p.OlP("TRANSITION_ID"),U=[{provide:p.ip1,useFactory:function I(pe,q,$){return()=>{$.get(p.CZH).donePromise.then((()=>{const ue=(0,f.q)(),Se=q.querySelectorAll(`style[ng-transition="${pe}"]`);for(let it=0;it<Se.length;it++)ue.remove(Se[it])}))}},deps:[F,f.K0,p.zs3],multi:!0}];class z{static init(){(0,p.VLi)(new z)}addToWindow(q){p.dqk.getAngularTestability=(ue,Se=!0)=>{const it=q.findTestabilityInTree(ue,Se);if(null==it)throw new Error("Could not find testability for element.");return it},p.dqk.getAllAngularTestabilities=()=>q.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>q.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push((ue=>{const Se=p.dqk.getAllAngularTestabilities();let it=Se.length,tt=!1;const qe=function(te){tt=tt||te,it--,0==it&&ue(tt)};Se.forEach((function(te){te.whenStable(qe)}))}))}findTestabilityInTree(q,$,ue){return null==$?null:q.getTestability($)??(ue?(0,f.q)().isShadowRoot($)?this.findTestabilityInTree(q,$.host,!0):this.findTestabilityInTree(q,$.parentElement,!0):null)}}let se=(()=>{class pe{build(){return new XMLHttpRequest}}return pe.ɵfac=function($){return new($||pe)},pe.ɵprov=p.Yz7({token:pe,factory:pe.ɵfac}),pe})();const W=new p.OlP("EventManagerPlugins");let J=(()=>{class pe{constructor($,ue){this._zone=ue,this._eventNameToPlugin=new Map,$.forEach((Se=>Se.manager=this)),this._plugins=$.slice().reverse()}addEventListener($,ue,Se){return this._findPluginFor(ue).addEventListener($,ue,Se)}addGlobalEventListener($,ue,Se){return this._findPluginFor(ue).addGlobalEventListener($,ue,Se)}getZone(){return this._zone}_findPluginFor($){const ue=this._eventNameToPlugin.get($);if(ue)return ue;const Se=this._plugins;for(let it=0;it<Se.length;it++){const tt=Se[it];if(tt.supports($))return this._eventNameToPlugin.set($,tt),tt}throw new Error(`No event manager plugin found for event ${$}`)}}return pe.ɵfac=function($){return new($||pe)(p.LFG(W),p.LFG(p.R0b))},pe.ɵprov=p.Yz7({token:pe,factory:pe.ɵfac}),pe})();class ie{constructor(q){this._doc=q}addGlobalEventListener(q,$,ue){const Se=(0,f.q)().getGlobalEventTarget(this._doc,q);if(!Se)throw new Error(`Unsupported event target ${Se} for event ${$}`);return this.addEventListener(Se,$,ue)}}let be=(()=>{class pe{constructor(){this._stylesSet=new Set}addStyles($){const ue=new Set;$.forEach((Se=>{this._stylesSet.has(Se)||(this._stylesSet.add(Se),ue.add(Se))})),this.onStylesAdded(ue)}onStylesAdded($){}getAllStyles(){return Array.from(this._stylesSet)}}return pe.ɵfac=function($){return new($||pe)},pe.ɵprov=p.Yz7({token:pe,factory:pe.ɵfac}),pe})(),Ke=(()=>{class pe extends be{constructor($){super(),this._doc=$,this._hostNodes=new Map,this._hostNodes.set($.head,[])}_addStylesToHost($,ue,Se){$.forEach((it=>{const tt=this._doc.createElement("style");tt.textContent=it,Se.push(ue.appendChild(tt))}))}addHost($){const ue=[];this._addStylesToHost(this._stylesSet,$,ue),this._hostNodes.set($,ue)}removeHost($){const ue=this._hostNodes.get($);ue&&ue.forEach(Ee),this._hostNodes.delete($)}onStylesAdded($){this._hostNodes.forEach(((ue,Se)=>{this._addStylesToHost($,Se,ue)}))}ngOnDestroy(){this._hostNodes.forEach(($=>$.forEach(Ee)))}}return pe.ɵfac=function($){return new($||pe)(p.LFG(f.K0))},pe.ɵprov=p.Yz7({token:pe,factory:pe.ɵfac}),pe})();function Ee(pe){(0,f.q)().remove(pe)}const Re={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 Qe(pe,q,$){for(let ue=0;ue<q.length;ue++){let Se=q[ue];Array.isArray(Se)?Qe(pe,Se,$):(Se=Se.replace($e,pe),$.push(Se))}return $}function Lt(pe){return q=>{if("__ngUnwrap__"===q)return pe;!1===pe(q)&&(q.preventDefault(),q.returnValue=!1)}}let le=(()=>{class pe{constructor($,ue,Se){this.eventManager=$,this.sharedStylesHost=ue,this.appId=Se,this.rendererByCompId=new Map,this.defaultRenderer=new me($)}createRenderer($,ue){if(!$||!ue)return this.defaultRenderer;switch(ue.encapsulation){case p.ifc.Emulated:{let Se=this.rendererByCompId.get(ue.id);return Se||(Se=new Pe(this.eventManager,this.sharedStylesHost,ue,this.appId),this.rendererByCompId.set(ue.id,Se)),Se.applyToHost($),Se}case 1:case p.ifc.ShadowDom:return new Pt(this.eventManager,this.sharedStylesHost,$,ue);default:if(!this.rendererByCompId.has(ue.id)){const Se=Qe(ue.id,ue.styles,[]);this.sharedStylesHost.addStyles(Se),this.rendererByCompId.set(ue.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return pe.ɵfac=function($){return new($||pe)(p.LFG(J),p.LFG(Ke),p.LFG(p.AFp))},pe.ɵprov=p.Yz7({token:pe,factory:pe.ɵfac}),pe})();class me{constructor(q){this.eventManager=q,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(q,$){return $?document.createElementNS(Re[$]||$,q):document.createElement(q)}createComment(q){return document.createComment(q)}createText(q){return document.createTextNode(q)}appendChild(q,$){q.appendChild($)}insertBefore(q,$,ue){q&&q.insertBefore($,ue)}removeChild(q,$){q&&q.removeChild($)}selectRootElement(q,$){let ue="string"==typeof q?document.querySelector(q):q;if(!ue)throw new Error(`The selector "${q}" did not match any elements`);return $||(ue.textContent=""),ue}parentNode(q){return q.parentNode}nextSibling(q){return q.nextSibling}setAttribute(q,$,ue,Se){if(Se){$=Se+":"+$;const it=Re[Se];it?q.setAttributeNS(it,$,ue):q.setAttribute($,ue)}else q.setAttribute($,ue)}removeAttribute(q,$,ue){if(ue){const Se=Re[ue];Se?q.removeAttributeNS(Se,$):q.removeAttribute(`${ue}:${$}`)}else q.removeAttribute($)}addClass(q,$){q.classList.add($)}removeClass(q,$){q.classList.remove($)}setStyle(q,$,ue,Se){Se&(p.JOm.DashCase|p.JOm.Important)?q.style.setProperty($,ue,Se&p.JOm.Important?"important":""):q.style[$]=ue}removeStyle(q,$,ue){ue&p.JOm.DashCase?q.style.removeProperty($):q.style[$]=""}setProperty(q,$,ue){q[$]=ue}setValue(q,$){q.nodeValue=$}listen(q,$,ue){return"string"==typeof q?this.eventManager.addGlobalEventListener(q,$,Lt(ue)):this.eventManager.addEventListener(q,$,Lt(ue))}}class Pe extends me{constructor(q,$,ue,Se){super(q),this.component=ue;const it=Qe(Se+"-"+ue.id,ue.styles,[]);$.addStyles(it),this.contentAttr=function ct(pe){return"_ngcontent-%COMP%".replace($e,pe)}(Se+"-"+ue.id),this.hostAttr=function Ut(pe){return"_nghost-%COMP%".replace($e,pe)}(Se+"-"+ue.id)}applyToHost(q){super.setAttribute(q,this.hostAttr,"")}createElement(q,$){const ue=super.createElement(q,$);return super.setAttribute(ue,this.contentAttr,""),ue}}class Pt extends me{constructor(q,$,ue,Se){super(q),this.sharedStylesHost=$,this.hostEl=ue,this.shadowRoot=ue.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const it=Qe(Se.id,Se.styles,[]);for(let tt=0;tt<it.length;tt++){const qe=document.createElement("style");qe.textContent=it[tt],this.shadowRoot.appendChild(qe)}}nodeOrShadowRoot(q){return q===this.hostEl?this.shadowRoot:q}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(q,$){return super.appendChild(this.nodeOrShadowRoot(q),$)}insertBefore(q,$,ue){return super.insertBefore(this.nodeOrShadowRoot(q),$,ue)}removeChild(q,$){return super.removeChild(this.nodeOrShadowRoot(q),$)}parentNode(q){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(q)))}}let $t=(()=>{class pe extends ie{constructor($){super($)}supports($){return!0}addEventListener($,ue,Se){return $.addEventListener(ue,Se,!1),()=>this.removeEventListener($,ue,Se)}removeEventListener($,ue,Se){return $.removeEventListener(ue,Se)}}return pe.ɵfac=function($){return new($||pe)(p.LFG(f.K0))},pe.ɵprov=p.Yz7({token:pe,factory:pe.ɵfac}),pe})();const un=["alt","control","meta","shift"],Rn={"\b":"Backspace","\t":"Tab","":"Delete","":"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","":"NumLock"},Mn={alt:pe=>pe.altKey,control:pe=>pe.ctrlKey,meta:pe=>pe.metaKey,shift:pe=>pe.shiftKey};let Cn=(()=>{class pe extends ie{constructor($){super($)}supports($){return null!=pe.parseEventName($)}addEventListener($,ue,Se){const it=pe.parseEventName(ue),tt=pe.eventCallback(it.fullKey,Se,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,f.q)().onAndCancel($,it.domEventName,tt)))}static parseEventName($){const ue=$.toLowerCase().split("."),Se=ue.shift();if(0===ue.length||"keydown"!==Se&&"keyup"!==Se)return null;const it=pe._normalizeKey(ue.pop());let tt="";if(un.forEach((te=>{const ye=ue.indexOf(te);ye>-1&&(ue.splice(ye,1),tt+=te+".")})),tt+=it,0!=ue.length||0===it.length)return null;const qe={};return qe.domEventName=Se,qe.fullKey=tt,qe}static getEventFullKey($){let ue="",Se=function Nt(pe){let q=pe.key;if(null==q){if(q=pe.keyIdentifier,null==q)return"Unidentified";q.startsWith("U+")&&(q=String.fromCharCode(parseInt(q.substring(2),16)),3===pe.location&&Dn.hasOwnProperty(q)&&(q=Dn[q]))}return Rn[q]||q}($);return Se=Se.toLowerCase()," "===Se?Se="space":"."===Se&&(Se="dot"),un.forEach((it=>{it!=Se&&Mn[it]($)&&(ue+=it+".")})),ue+=Se,ue}static eventCallback($,ue,Se){return it=>{pe.getEventFullKey(it)===$&&Se.runGuarded((()=>ue(it)))}}static _normalizeKey($){return"esc"===$?"escape":$}}return pe.ɵfac=function($){return new($||pe)(p.LFG(f.K0))},pe.ɵprov=p.Yz7({token:pe,factory:pe.ɵfac}),pe})();const Gt=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:f.bD},{provide:p.g9A,useValue:function kt(){T.makeCurrent(),z.init()},multi:!0},{provide:f.K0,useFactory:function wr(){return(0,p.RDi)(document),document},deps:[]}]),bn=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function Bn(){return new p.qLn},deps:[]},{provide:W,useClass:$t,multi:!0,deps:[f.K0,p.R0b,p.Lbi]},{provide:W,useClass:Cn,multi:!0,deps:[f.K0]},{provide:le,useClass:le,deps:[J,Ke,p.AFp]},{provide:p.FYo,useExisting:le},{provide:be,useExisting:Ke},{provide:Ke,useClass:Ke,deps:[f.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:J,useClass:J,deps:[W,p.R0b]},{provide:f.JF,useClass:se,deps:[]}];let dn=(()=>{class pe{constructor($){if($)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($){return{ngModule:pe,providers:[{provide:p.AFp,useValue:$.appId},{provide:F,useExisting:p.AFp},U]}}}return pe.ɵfac=function($){return new($||pe)(p.LFG(pe,12))},pe.ɵmod=p.oAB({type:pe}),pe.ɵinj=p.cJS({providers:bn,imports:[f.ez,p.hGG]}),pe})();typeof window<"u"&&window;let et=(()=>{class pe{}return pe.ɵfac=function($){return new($||pe)},pe.ɵprov=p.Yz7({token:pe,factory:function($){let ue=null;return ue=$?new($||pe):p.LFG(Ye),ue},providedIn:"root"}),pe})(),Ye=(()=>{class pe extends et{constructor($){super(),this._doc=$}sanitize($,ue){if(null==ue)return null;switch($){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 ${$} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml($){return(0,p.JVY)($)}bypassSecurityTrustStyle($){return(0,p.L6k)($)}bypassSecurityTrustScript($){return(0,p.eBb)($)}bypassSecurityTrustUrl($){return(0,p.LAX)($)}bypassSecurityTrustResourceUrl($){return(0,p.pB0)($)}}return pe.ɵfac=function($){return new($||pe)(p.LFG(f.K0))},pe.ɵprov=p.Yz7({token:pe,factory:function($){let ue=null;return ue=$?new $:function xt(pe){return new Ye(pe.get(f.K0))}(p.LFG(p.zs3)),ue},providedIn:"root"}),pe})()},208:(j,w,h)=>{"use strict";h.d(w,{y6:()=>E,F0:()=>tr,Bz:()=>qs,lC:()=>B});var f=h(6895),p=h(6738),S=h(5529),T=h(5279);class C extends S.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 P=(()=>{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),F=h(5254);const I=new x.y((g=>g.complete()));function U(g){return g?function z(g){return new x.y((l=>g.schedule((()=>l.complete()))))}(g):I}function se(g){return new x.y((l=>{let u;try{u=g()}catch(D){return void l.error(D)}return(u?(0,F.D)(u):U()).subscribe(l)}))}var W=h(1086),J=h(3426),ie=h(1737),be=h(1221),Ke=h(1762),Ee=h(4850),Re=h(1177);function $e(g,l){return"function"==typeof l?u=>u.pipe($e(((v,D)=>(0,F.D)(g(v,D)).pipe((0,Ee.U)(((k,Y)=>l(v,k,D,Y))))))):u=>u.lift(new xe(g))}class xe{constructor(l){this.project=l}call(l,u){return u.subscribe(new Ze(l,this.project))}}class Ze extends Re.Ds{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)}_innerSub(l){const u=this.innerSubscription;u&&u.unsubscribe();const v=new Re.IY(this),D=this.destination;D.add(v),this.innerSubscription=(0,Re.ft)(l,v),this.innerSubscription!==v&&D.add(this.innerSubscription)}_complete(){const{innerSubscription:l}=this;(!l||l.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(l){this.destination.next(l)}}var Bt=h(3489);const ct=(()=>{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 Ut(g){return l=>0===g?U():l.lift(new Qe(g))}class Qe{constructor(l){if(this.total=l,this.total<0)throw new ct}call(l,u){return u.subscribe(new Lt(l,this.total))}}class Lt extends Bt.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()))}}function Fe(g,l){let u=!1;return arguments.length>=2&&(u=!0),function(D){return D.lift(new le(g,l,u))}}class le{constructor(l,u,v=!1){this.accumulator=l,this.seed=u,this.hasSeed=v}call(l,u){return u.subscribe(new me(l,this.accumulator,this.seed,this.hasSeed))}}class me extends Bt.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 Ce=h(2198);function ee(g){return function(u){return 0===g?U():u.lift(new Pe(g))}}class Pe{constructor(l){if(this.total=l,this.total<0)throw new ct}call(l,u){return u.subscribe(new Pt(l,this.total))}}class Pt extends Bt.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 k=0;k<v;k++){const Y=u++%v;l.next(D[Y])}}l.complete()}}function $t(g=Rn){return l=>l.lift(new un(g))}class un{constructor(l){this.errorFactory=l}call(l,u){return u.subscribe(new Jt(l,this.errorFactory))}}class Jt extends Bt.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 Rn(){return new P}function Dn(g=null){return l=>l.lift(new Mn(g))}class Mn{constructor(l){this.defaultValue=l}call(l,u){return u.subscribe(new Cn(l,this.defaultValue))}}class Cn extends Bt.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 Nt=h(5379);function Bn(g,l){const u=arguments.length>=2;return v=>v.pipe(g?(0,Ce.h)(((D,k)=>g(D,k,v))):Nt.y,Ut(1),u?Dn(l):$t((()=>new P)))}var wr=h(1059),Un=h(7221),Gt=h(1406),bn=h(1709),dn=h(2868),or=h(4327),er=h(537),Pr=h(9146);class yn{constructor(l,u){this.id=l,this.url=u}}class ar extends yn{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 X extends yn{constructor(l,u,v){super(l,u),this.urlAfterRedirects=v}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class fe extends yn{constructor(l,u,v){super(l,u),this.reason=v}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Z extends yn{constructor(l,u,v){super(l,u),this.error=v}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class H extends yn{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 L extends yn{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 yn{constructor(l,u,v,D,k){super(l,u),this.urlAfterRedirects=v,this.state=D,this.shouldActivate=k}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ce extends yn{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 ge extends yn{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 Te{constructor(l){this.route=l}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rt{constructor(l){this.route=l}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class je{constructor(l){this.snapshot=l}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ut{constructor(l){this.snapshot=l}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class At{constructor(l){this.snapshot=l}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gt{constructor(l){this.snapshot=l}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tt{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 Ie="primary";class Ht{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 ft(g){return new Ht(g)}const _t="ngNavigationCancelingError";function Le(g){const l=Error("NavigationCancelingError: "+g);return l[_t]=!0,l}function Kt(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 k=0;k<v.length;k++){const Y=v[k],re=g[k];if(Y.startsWith(":"))D[Y.substring(1)]=re;else if(Y!==re.path)return null}return{consumed:g.slice(0,v.length),posParams:D}}function lt(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 k=0;k<u.length;k++)if(D=u[k],!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,k)=>v[k]===D))}return g===l}function Yt(g){return Array.prototype.concat.apply([],g)}function et(g){return g.length>0?g[g.length-1]:null}function Ye(g,l){for(const u in g)g.hasOwnProperty(u)&&l(g[u],u)}function Qt(g){return(0,p.CqO)(g)?g:(0,p.QGY)(g)?(0,F.D)(Promise.resolve(g)):(0,W.of)(g)}const q={exact:function it(g,l,u){if(!Be(g.segments,l.segments)||!ye(g.segments,l.segments,u)||g.numberOfChildren!==l.numberOfChildren)return!1;for(const v in l.children)if(!g.children[v]||!it(g.children[v],l.children[v],u))return!1;return!0},subset:qe},$={exact:function Se(g,l){return lt(g,l)},subset:function tt(g,l){return Object.keys(l).length<=Object.keys(g).length&&Object.keys(l).every((u=>st(g[u],l[u])))},ignored:()=>!0};function ue(g,l,u){return q[u.paths](g.root,l.root,u.matrixParams)&&$[u.queryParams](g.queryParams,l.queryParams)&&!("exact"===u.fragment&&g.fragment!==l.fragment)}function qe(g,l,u){return te(g,l,l.segments,u)}function te(g,l,u,v){if(g.segments.length>u.length){const D=g.segments.slice(0,u.length);return!(!Be(D,u)||l.hasChildren()||!ye(D,u,v))}if(g.segments.length===u.length){if(!Be(g.segments,u)||!ye(g.segments,u,v))return!1;for(const D in l.children)if(!g.children[D]||!qe(g.children[D],l.children[D],v))return!1;return!0}{const D=u.slice(0,g.segments.length),k=u.slice(g.segments.length);return!!(Be(g.segments,D)&&ye(g.segments,D,v)&&g.children[Ie])&&te(g.children[Ie],l,k,v)}}function ye(g,l,u){return l.every(((v,D)=>$[u](g[D].parameters,v.parameters)))}class ot{constructor(l,u,v){this.root=l,this.queryParams=u,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return at.serialize(this)}}class Ve{constructor(l,u){this.segments=l,this.children=u,this.parent=null,Ye(u,((v,D)=>v.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Je(this)}}class Xt{constructor(l,u){this.path=l,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=ft(this.parameters)),this._parameterMap}toString(){return Tr(this)}}function Be(g,l){return g.length===l.length&&g.every(((u,v)=>u.path===l[v].path))}class ve{}class He{parse(l){const u=new Yr(l);return new ot(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(l){const u=`/${bt(l.root,!0)}`,v=function Wr(g){const l=Object.keys(g).map((u=>{const v=g[u];return Array.isArray(v)?v.map((D=>`${Ct(u)}=${Ct(D)}`)).join("&"):`${Ct(u)}=${Ct(v)}`})).filter((u=>!!u));return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${u}${v}${"string"==typeof l.fragment?`#${function wt(g){return encodeURI(g)}(l.fragment)}`:""}`}}const at=new He;function Je(g){return g.segments.map((l=>Tr(l))).join("/")}function bt(g,l){if(!g.hasChildren())return Je(g);if(l){const u=g.children[Ie]?bt(g.children[Ie],!1):"",v=[];return Ye(g.children,((D,k)=>{k!==Ie&&v.push(`${k}:${bt(D,!1)}`)})),v.length>0?`${u}(${v.join("//")})`:u}{const u=function _e(g,l){let u=[];return Ye(g.children,((v,D)=>{D===Ie&&(u=u.concat(l(v,D)))})),Ye(g.children,((v,D)=>{D!==Ie&&(u=u.concat(l(v,D)))})),u}(g,((v,D)=>D===Ie?[bt(g.children[Ie],!1)]:[`${D}:${bt(v,!1)}`]));return 1===Object.keys(g.children).length&&null!=g.children[Ie]?`${Je(g)}/${u[0]}`:`${Je(g)}/(${u.join("//")})`}}function ht(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ct(g){return ht(g).replace(/%3B/gi,";")}function Wt(g){return ht(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nn(g){return decodeURIComponent(g)}function Et(g){return Nn(g.replace(/\+/g,"%20"))}function Tr(g){return`${Wt(g.path)}${function cr(g){return Object.keys(g).map((l=>`;${Wt(l)}=${Wt(g[l])}`)).join("")}(g.parameters)}`}const dr=/^[^\/()?;=#]+/;function wn(g){const l=g.match(dr);return l?l[0]:""}const fr=/^[^=?&#]+/,Hn=/^[^&#]+/;class Yr{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ve([],{}):new Ve([],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[Ie]=new Ve(l,u)),v}parseSegment(){const l=wn(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(l),new Xt(Nn(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const u=wn(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const D=wn(this.remaining);D&&(v=D,this.capture(v))}l[Nn(u)]=Nn(v)}parseQueryParam(l){const u=function mr(g){const l=g.match(fr);return l?l[0]:""}(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const Y=function en(g){const l=g.match(Hn);return l?l[0]:""}(this.remaining);Y&&(v=Y,this.capture(v))}const D=Et(u),k=Et(v);if(l.hasOwnProperty(D)){let Y=l[D];Array.isArray(Y)||(Y=[Y],l[D]=Y),Y.push(k)}else l[D]=k}parseParens(l){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=wn(this.remaining),D=this.remaining[v.length];if("/"!==D&&")"!==D&&";"!==D)throw new Error(`Cannot parse url '${this.url}'`);let k;v.indexOf(":")>-1?(k=v.substr(0,v.indexOf(":")),this.capture(k),this.capture(":")):l&&(k=Ie);const Y=this.parseChildren();u[k]=1===Object.keys(Y).length?Y[Ie]:new Ve([],Y),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 Vn{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=On(l,this._root);return u?u.children.map((v=>v.value)):[]}firstChild(l){const u=On(l,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(l){const u=Yn(l,this._root);return u.length<2?[]:u[u.length-2].children.map((D=>D.value)).filter((D=>D!==l))}pathFromRoot(l){return Yn(l,this._root).map((u=>u.value))}}function On(g,l){if(g===l.value)return l;for(const u of l.children){const v=On(g,u);if(v)return v}return null}function Yn(g,l){if(g===l.value)return[l];for(const u of l.children){const v=Yn(g,u);if(v.length)return v.unshift(l),v}return[]}class Kn{constructor(l,u){this.value=l,this.children=u}toString(){return`TreeNode(${this.value})`}}function yr(g){const l={};return g&&g.children.forEach((u=>l[u.value.outlet]=u)),l}class xr extends Vn{constructor(l,u){super(l),this.snapshot=u,$n(this,l)}toString(){return this.snapshot.toString()}}function Fn(g,l){const u=function ri(g,l){const Y=new vr([],{},{},"",{},Ie,l,null,g.root,-1,{});return new kr("",new Kn(Y,[]))}(g,l),v=new C([new Xt("",{})]),D=new C({}),k=new C({}),Y=new C({}),re=new C(""),Me=new Qn(v,D,Y,re,k,Ie,l,u.root);return Me.snapshot=u.root,new xr(new Kn(Me,[]),u)}class Qn{constructor(l,u,v,D,k,Y,re,Me){this.url=l,this.params=u,this.queryParams=v,this.fragment=D,this.data=k,this.outlet=Y,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,Ee.U)((l=>ft(l))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ee.U)((l=>ft(l))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vn(g,l="emptyOnly"){const u=g.pathFromRoot;let v=0;if("always"!==l)for(v=u.length-1;v>=1;){const D=u[v],k=u[v-1];if(D.routeConfig&&""===D.routeConfig.path)v--;else{if(k.component)break;v--}}return function Ss(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 vr{constructor(l,u,v,D,k,Y,re,Me,dt,cn,St){this.url=l,this.params=u,this.queryParams=v,this.fragment=D,this.data=k,this.outlet=Y,this.component=re,this.routeConfig=Me,this._urlSegment=dt,this._lastPathIndex=cn,this._resolve=St}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=ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((v=>v.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class kr extends Vn{constructor(l,u){super(u),this.url=l,$n(this,u)}toString(){return As(this._root)}}function $n(g,l){l.value._routerState=g,l.children.forEach((u=>$n(g,u)))}function As(g){const l=g.children.length>0?` { ${g.children.map(As).join(", ")} } `:"";return`${g.value}${l}`}function Ms(g){if(g.snapshot){const l=g.snapshot,u=g._futureSnapshot;g.snapshot=u,lt(l.queryParams,u.queryParams)||g.queryParams.next(u.queryParams),l.fragment!==u.fragment&&g.fragment.next(u.fragment),lt(l.params,u.params)||g.params.next(u.params),function Zt(g,l){if(g.length!==l.length)return!1;for(let u=0;u<g.length;++u)if(!lt(g[u],l[u]))return!1;return!0}(l.url,u.url)||g.url.next(u.url),lt(l.data,u.data)||g.data.next(u.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function Is(g,l){const u=lt(g.params,l.params)&&function Ue(g,l){return Be(g,l)&&g.every(((u,v)=>lt(u.parameters,l[v].parameters)))}(g.url,l.url);return u&&!(!g.parent!=!l.parent)&&(!g.parent||Is(g.parent,l.parent))}function Kr(g,l,u){if(u&&g.shouldReuseRoute(l.value,u.value.snapshot)){const v=u.value;v._futureSnapshot=l.value;const D=function lo(g,l,u){return l.children.map((v=>{for(const D of u.children)if(g.shouldReuseRoute(v.value,D.value.snapshot))return Kr(g,v,D);return Kr(g,v)}))}(g,l,u);return new Kn(v,D)}{if(g.shouldAttach(l.value)){const k=g.retrieve(l.value);if(null!==k){const Y=k.route;return Y.value._futureSnapshot=l.value,Y.children=l.children.map((re=>Kr(g,re))),Y}}const v=function wi(g){return new Qn(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((k=>Kr(g,k)));return new Kn(v,D)}}function Ps(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function ns(g){return"object"==typeof g&&null!=g&&g.outlets}function ps(g,l,u,v,D){let k={};if(v&&Ye(v,((re,Me)=>{k[Me]=Array.isArray(re)?re.map((dt=>`${dt}`)):`${re}`})),g===l)return new ot(u,k,D);const Y=Vs(g,l,u);return new ot(Y,k,D)}function Vs(g,l,u){const v={};return Ye(g.children,((D,k)=>{v[k]=D===l?u:Vs(D,l,u)})),new Ve(g.segments,v)}class si{constructor(l,u,v){if(this.isAbsolute=l,this.numberOfDoubleDots=u,this.commands=v,l&&v.length>0&&Ps(v[0]))throw new Error("Root segment cannot have matrix parameters");const D=v.find(ns);if(D&&D!==et(v))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $s{constructor(l,u,v){this.segmentGroup=l,this.processChildren=u,this.index=v}}function rs(g,l,u){if(g||(g=new Ve([],{})),0===g.segments.length&&g.hasChildren())return Zr(g,l,u);const v=function Mi(g,l,u){let v=0,D=l;const k={match:!1,pathIndex:0,commandIndex:0};for(;D<g.segments.length;){if(v>=u.length)return k;const Y=g.segments[D],re=u[v];if(ns(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(!zs(Me,dt,Y))return k;v+=2}else{if(!zs(Me,{},Y))return k;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 k=new Ve(g.segments.slice(0,v.pathIndex),{});return k.children[Ie]=new Ve(g.segments.slice(v.pathIndex),g.children),Zr(k,0,D)}return v.match&&0===D.length?new Ve(g.segments,{}):v.match&&!g.hasChildren()?Gs(g,l,u):v.match?Zr(g,0,D):Gs(g,l,u)}function Zr(g,l,u){if(0===u.length)return new Ve(g.segments,{});{const v=function xs(g){return ns(g[0])?g[0].outlets:{[Ie]:g}}(u),D={};return Ye(v,((k,Y)=>{"string"==typeof k&&(k=[k]),null!==k&&(D[Y]=rs(g.children[Y],l,k))})),Ye(g.children,((k,Y)=>{void 0===v[Y]&&(D[Y]=k)})),new Ve(g.segments,D)}}function Gs(g,l,u){const v=g.segments.slice(0,l);let D=0;for(;D<u.length;){const k=u[D];if(ns(k)){const Me=Rs(k.outlets);return new Ve(v,Me)}if(0===D&&Ps(u[0])){v.push(new Xt(g.segments[l].path,Rr(u[0]))),D++;continue}const Y=ns(k)?k.outlets[Ie]:`${k}`,re=D<u.length-1?u[D+1]:null;Y&&re&&Ps(re)?(v.push(new Xt(Y,Rr(re))),D+=2):(v.push(new Xt(Y,{})),D++)}return new Ve(v,{})}function Rs(g){const l={};return Ye(g,((u,v)=>{"string"==typeof u&&(u=[u]),null!==u&&(l[v]=Gs(new Ve([],{}),0,u))})),l}function Rr(g){const l={};return Ye(g,((u,v)=>l[v]=`${u}`)),l}function zs(g,l,u){return g==u.path&<(l,u.parameters)}class oi{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),Ms(this.futureState.root),this.activateChildRoutes(u,v,l)}deactivateChildRoutes(l,u,v){const D=yr(u);l.children.forEach((k=>{const Y=k.value.outlet;this.deactivateRoutes(k,D[Y],v),delete D[Y]})),Ye(D,((k,Y)=>{this.deactivateRouteAndItsChildren(k,v)}))}deactivateRoutes(l,u,v){const D=l.value,k=u?u.value:null;if(D===k)if(D.component){const Y=v.getContext(D.outlet);Y&&this.deactivateChildRoutes(l,u,Y.children)}else this.deactivateChildRoutes(l,u,v);else k&&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,k=yr(l);for(const Y of Object.keys(k))this.deactivateRouteAndItsChildren(k[Y],D);if(v&&v.outlet){const Y=v.outlet.detach(),re=v.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:Y,route:l,contexts:re})}}deactivateRouteAndOutlet(l,u){const v=u.getContext(l.value.outlet),D=v&&l.value.component?v.children:u,k=yr(l);for(const Y of Object.keys(k))this.deactivateRouteAndItsChildren(k[Y],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=yr(u);l.children.forEach((k=>{this.activateRoutes(k,D[k.value.outlet],v),this.forwardEvent(new gt(k.value.snapshot))})),l.children.length&&this.forwardEvent(new ut(l.value.snapshot))}activateRoutes(l,u,v){const D=l.value,k=u?u.value:null;if(Ms(D),D===k)if(D.component){const Y=v.getOrCreateContext(D.outlet);this.activateChildRoutes(l,u,Y.children)}else this.activateChildRoutes(l,u,v);else if(D.component){const Y=v.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const re=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),Y.children.onOutletReAttached(re.contexts),Y.attachRef=re.componentRef,Y.route=re.route.value,Y.outlet&&Y.outlet.attach(re.componentRef,re.route.value),Ms(re.route.value),this.activateChildRoutes(l,null,Y.children)}else{const re=function ai(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;Y.attachRef=null,Y.route=D,Y.resolver=Me,Y.outlet&&Y.outlet.activateWith(D,Me),this.activateChildRoutes(l,null,Y.children)}}else this.activateChildRoutes(l,null,v)}}class Ws{constructor(l,u){this.routes=l,this.module=u}}function In(g){return"function"==typeof g}function hr(g){return g instanceof ot}const is=Symbol("INITIAL_VALUE");function _(){return $e((g=>(0,J.aj)(g.map((l=>l.pipe(Ut(1),(0,wr.O)(is))))).pipe(Fe(((l,u)=>{let v=!1;return u.reduce(((D,k,Y)=>D!==is?D:(k===is&&(v=!0),v||!1!==k&&Y!==u.length-1&&!hr(k)?D:k)),l)}),is),(0,Ce.h)((l=>l!==is)),(0,Ee.U)((l=>hr(l)?l:!0===l)),Ut(1))))}class O{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new E,this.attachRef=null}}class E{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 O,this.contexts.set(l,u)),u}getContext(l){return this.contexts.get(l)||null}}let B=(()=>{class g{constructor(u,v,D,k,Y){this.parentContexts=u,this.location=v,this.resolver=D,this.changeDetector=Y,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=k||Ie,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 Y=(v=v||this.resolver).resolveComponentFactory(u._futureSnapshot.routeConfig.component),re=this.parentContexts.getOrCreateContext(this.name).children,Me=new oe(u,re,this.location.injector);this.activated=this.location.createComponent(Y,this.location.length,Me),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.ɵfac=function(u){return new(u||g)(p.Y36(E),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},g.ɵdir=p.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),g})();class oe{constructor(l,u,v){this.route=l,this.childContexts=u,this.parent=v}get(l,u){return l===Qn?this.route:l===E?this.childContexts:this.parent.get(l,u)}}let De=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵcmp=p.Xpm({type:g,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,v){1&u&&p._UZ(0,"router-outlet")},directives:[B],encapsulation:2}),g})();function Ne(g,l=""){for(let u=0;u<g.length;u++){const v=g[u];We(v,gn(l,v))}}function We(g,l){g.children&&Ne(g.children,l)}function gn(g,l){return l?g||l.path?g&&!l.path?`${g}/`:!g&&l.path?l.path:`${g}/${l.path}`:"":g}function pn(g){const l=g.children&&g.children.map(pn),u=l?{...g,children:l}:{...g};return!u.component&&(l||u.loadChildren)&&u.outlet&&u.outlet!==Ie&&(u.component=De),u}function vt(g){return g.outlet||Ie}function tn(g,l){const u=g.filter((v=>vt(v)===l));return u.push(...g.filter((v=>vt(v)!==l))),u}const Ln={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rn(g,l,u){if(""===l.path)return"full"===l.pathMatch&&(g.hasChildren()||u.length>0)?{...Ln}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const D=(l.matcher||Kt)(u,g,l);if(!D)return{...Ln};const k={};Ye(D.posParams,((re,Me)=>{k[Me]=re.path}));const Y=D.consumed.length>0?{...k,...D.consumed[D.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:D.consumed,remainingSegments:u.slice(D.consumed.length),parameters:Y,positionalParamSegments:D.posParams??{}}}function an(g,l,u,v,D="corrected"){if(u.length>0&&function Sr(g,l,u){return u.some((v=>Qr(g,l,v)&&vt(v)!==Ie))}(g,u,v)){const Y=new Ve(l,function pr(g,l,u,v){const D={};D[Ie]=v,v._sourceSegment=g,v._segmentIndexShift=l.length;for(const k of u)if(""===k.path&&vt(k)!==Ie){const Y=new Ve([],{});Y._sourceSegment=g,Y._segmentIndexShift=l.length,D[vt(k)]=Y}return D}(g,l,v,new Ve(u,g.children)));return Y._sourceSegment=g,Y._segmentIndexShift=l.length,{segmentGroup:Y,slicedSegments:[]}}if(0===u.length&&function Pn(g,l,u){return u.some((v=>Qr(g,l,v)))}(g,u,v)){const Y=new Ve(g.segments,function os(g,l,u,v,D,k){const Y={};for(const re of v)if(Qr(g,u,re)&&!D[vt(re)]){const Me=new Ve([],{});Me._sourceSegment=g,Me._segmentIndexShift="legacy"===k?g.segments.length:l.length,Y[vt(re)]=Me}return{...D,...Y}}(g,l,u,v,g.children,D));return Y._sourceSegment=g,Y._segmentIndexShift=l.length,{segmentGroup:Y,slicedSegments:u}}const k=new Ve(g.segments,g.children);return k._sourceSegment=g,k._segmentIndexShift=l.length,{segmentGroup:k,slicedSegments:u}}function Qr(g,l,u){return(!(g.hasChildren()||l.length>0)||"full"!==u.pathMatch)&&""===u.path}function jr(g,l,u,v){return!!(vt(g)===v||v!==Ie&&Qr(l,u,g))&&("**"===g.path||rn(l,g,u).matched)}function Fs(g,l,u){return 0===l.length&&!g.children[u]}class Ar{constructor(l){this.segmentGroup=l||null}}class ui{constructor(l){this.urlTree=l}}function qr(g){return(0,ie._)(new Ar(g))}function Ot(g){return(0,ie._)(new ui(g))}class co{constructor(l,u,v,D,k){this.configLoader=u,this.urlSerializer=v,this.urlTree=D,this.config=k,this.allowRedirects=!0,this.ngModule=l.get(p.h0i)}apply(){const l=an(this.urlTree.root,[],[],this.config).segmentGroup,u=new Ve(l.segments,l.children);return this.expandSegmentGroup(this.ngModule,this.config,u,Ie).pipe((0,Ee.U)((k=>this.createUrlTree(Ks(k),this.urlTree.queryParams,this.urlTree.fragment)))).pipe((0,Un.K)((k=>{if(k instanceof ui)return this.allowRedirects=!1,this.match(k.urlTree);throw k instanceof Ar?this.noMatchError(k):k})))}match(l){return this.expandSegmentGroup(this.ngModule,this.config,l.root,Ie).pipe((0,Ee.U)((D=>this.createUrlTree(Ks(D),l.queryParams,l.fragment)))).pipe((0,Un.K)((D=>{throw D instanceof Ar?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 Ve([],{[Ie]:l}):l;return new ot(D,u,v)}expandSegmentGroup(l,u,v,D){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(l,u,v).pipe((0,Ee.U)((k=>new Ve([],k)))):this.expandSegment(l,v,u,v.segments,D,!0)}expandChildren(l,u,v){const D=[];for(const k of Object.keys(v.children))"primary"===k?D.unshift(k):D.push(k);return(0,F.D)(D).pipe((0,Gt.b)((k=>{const Y=v.children[k],re=tn(u,k);return this.expandSegmentGroup(l,re,Y,k).pipe((0,Ee.U)((Me=>({segment:Me,outlet:k}))))})),Fe(((k,Y)=>(k[Y.outlet]=Y.segment,k)),{}),function kt(g,l){const u=arguments.length>=2;return v=>v.pipe(g?(0,Ce.h)(((D,k)=>g(D,k,v))):Nt.y,ee(1),u?Dn(l):$t((()=>new P)))}())}expandSegment(l,u,v,D,k,Y){return(0,F.D)(v).pipe((0,Gt.b)((re=>this.expandSegmentAgainstRoute(l,u,v,re,D,k,Y).pipe((0,Un.K)((dt=>{if(dt instanceof Ar)return(0,W.of)(null);throw dt}))))),Bn((re=>!!re)),(0,Un.K)(((re,Me)=>{if(re instanceof P||"EmptyError"===re.name)return Fs(u,D,k)?(0,W.of)(new Ve([],{})):qr(u);throw re})))}expandSegmentAgainstRoute(l,u,v,D,k,Y,re){return jr(D,u,k,Y)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(l,u,D,k,Y):re&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,u,v,D,k,Y):qr(u):qr(u)}expandSegmentAgainstRouteUsingRedirect(l,u,v,D,k,Y){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,v,D,Y):this.expandRegularSegmentAgainstRouteUsingRedirect(l,u,v,D,k,Y)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,u,v,D){const k=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?Ot(k):this.lineralizeSegments(v,k).pipe((0,bn.zg)((Y=>{const re=new Ve(Y,{});return this.expandSegment(l,re,u,Y,D,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(l,u,v,D,k,Y){const{matched:re,consumedSegments:Me,remainingSegments:dt,positionalParamSegments:cn}=rn(u,D,k);if(!re)return qr(u);const St=this.applyRedirectCommands(Me,D.redirectTo,cn);return D.redirectTo.startsWith("/")?Ot(St):this.lineralizeSegments(D,St).pipe((0,bn.zg)((mn=>this.expandSegment(l,u,v,mn.concat(dt),Y,!1))))}matchSegmentAgainstRoute(l,u,v,D,k){if("**"===v.path)return v.loadChildren?(v._loadedConfig?(0,W.of)(v._loadedConfig):this.configLoader.load(l.injector,v)).pipe((0,Ee.U)((St=>(v._loadedConfig=St,new Ve(D,{}))))):(0,W.of)(new Ve(D,{}));const{matched:Y,consumedSegments:re,remainingSegments:Me}=rn(u,v,D);return Y?this.getChildConfig(l,v,D).pipe((0,bn.zg)((cn=>{const St=cn.module,mn=cn.routes,{segmentGroup:fn,slicedSegments:Xs}=an(u,re,Me,mn),ks=new Ve(fn.segments,fn.children);if(0===Xs.length&&ks.hasChildren())return this.expandChildren(St,mn,ks).pipe((0,Ee.U)((ei=>new Ve(re,ei))));if(0===mn.length&&0===Xs.length)return(0,W.of)(new Ve(re,{}));const mi=vt(v)===k;return this.expandSegment(St,ks,mn,Xs,mi?Ie:k,!0).pipe((0,Ee.U)((Xr=>new Ve(re.concat(Xr.segments),Xr.children))))}))):qr(u)}getChildConfig(l,u,v){return u.children?(0,W.of)(new Ws(u.children,l)):u.loadChildren?void 0!==u._loadedConfig?(0,W.of)(u._loadedConfig):this.runCanLoadGuards(l.injector,u,v).pipe((0,bn.zg)((D=>D?this.configLoader.load(l.injector,u).pipe((0,Ee.U)((k=>(u._loadedConfig=k,k)))):function Jo(g){return(0,ie._)(Le(`Cannot load children because the guard of the route "path: '${g.path}'" returned false`))}(u)))):(0,W.of)(new Ws([],l))}runCanLoadGuards(l,u,v){const D=u.canLoad;if(!D||0===D.length)return(0,W.of)(!0);const k=D.map((Y=>{const re=l.get(Y);let Me;if(function ss(g){return g&&In(g.canLoad)}(re))Me=re.canLoad(u,v);else{if(!In(re))throw new Error("Invalid CanLoad guard");Me=re(u,v)}return Qt(Me)}));return(0,W.of)(k).pipe(_(),(0,dn.b)((Y=>{if(!hr(Y))return;const re=Le(`Redirecting to "${this.urlSerializer.serialize(Y)}"`);throw re.url=Y,re})),(0,Ee.U)((Y=>!0===Y)))}lineralizeSegments(l,u){let v=[],D=u.root;for(;;){if(v=v.concat(D.segments),0===D.numberOfChildren)return(0,W.of)(v);if(D.numberOfChildren>1||!D.children[Ie])return(0,ie._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${l.redirectTo}'`));D=D.children[Ie]}}applyRedirectCommands(l,u,v){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),l,v)}applyRedirectCreatreUrlTree(l,u,v,D){const k=this.createSegmentGroup(l,u.root,v,D);return new ot(k,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(l,u){const v={};return Ye(l,((D,k)=>{if("string"==typeof D&&D.startsWith(":")){const re=D.substring(1);v[k]=u[re]}else v[k]=D})),v}createSegmentGroup(l,u,v,D){const k=this.createSegments(l,u.segments,v,D);let Y={};return Ye(u.children,((re,Me)=>{Y[Me]=this.createSegmentGroup(l,re,v,D)})),new Ve(k,Y)}createSegments(l,u,v,D){return u.map((k=>k.path.startsWith(":")?this.findPosParam(l,k,D):this.findOrReturn(k,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 Ks(g){const l={};for(const v of Object.keys(g.children)){const k=Ks(g.children[v]);(k.segments.length>0||k.hasChildren())&&(l[v]=k)}return function fo(g){if(1===g.numberOfChildren&&g.children[Ie]){const l=g.children[Ie];return new Ve(g.segments.concat(l.segments),l.children)}return g}(new Ve(g.segments,l))}class Pi{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class ke{constructor(l,u){this.component=l,this.route=u}}function nn(g,l,u){const v=g._root;return Br(v,l?l._root:null,u,[v.value])}function Tn(g,l,u){const v=function xi(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 Br(g,l,u,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const k=yr(l);return g.children.forEach((Y=>{(function Ur(g,l,u,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const k=g.value,Y=l?l.value:null,re=u?u.getContext(g.value.outlet):null;if(Y&&k.routeConfig===Y.routeConfig){const Me=function A(g,l,u){if("function"==typeof u)return u(g,l);switch(u){case"pathParamsChange":return!Be(g.url,l.url);case"pathParamsOrQueryParamsChange":return!Be(g.url,l.url)||!lt(g.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Is(g,l)||!lt(g.queryParams,l.queryParams);default:return!Is(g,l)}}(Y,k,k.routeConfig.runGuardsAndResolvers);Me?D.canActivateChecks.push(new Pi(v)):(k.data=Y.data,k._resolvedData=Y._resolvedData),Br(g,l,k.component?re?re.children:null:u,v,D),Me&&re&&re.outlet&&re.outlet.isActivated&&D.canDeactivateChecks.push(new ke(re.outlet.component,Y))}else Y&&a(l,re,D),D.canActivateChecks.push(new Pi(v)),Br(g,null,k.component?re?re.children:null:u,v,D)})(Y,k[Y.value.outlet],u,v.concat([Y.value]),D),delete k[Y.value.outlet]})),Ye(k,((Y,re)=>a(Y,u.getContext(re),D))),D}function a(g,l,u){const v=yr(g),D=g.value;Ye(v,((k,Y)=>{a(k,D.component?l?l.children.getContext(Y):null:l,u)})),u.canDeactivateChecks.push(new ke(D.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,D))}class Xe{}function yt(g){return new x.y((l=>l.error(g)))}class qt{constructor(l,u,v,D,k,Y){this.rootComponentType=l,this.config=u,this.urlTree=v,this.url=D,this.paramsInheritanceStrategy=k,this.relativeLinkResolution=Y}recognize(){const l=an(this.urlTree.root,[],[],this.config.filter((Y=>void 0===Y.redirectTo)),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,l,Ie);if(null===u)return null;const v=new vr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ie,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new Kn(v,u),k=new kr(this.url,D);return this.inheritParamsAndData(k._root),k}inheritParamsAndData(l){const u=l.value,v=vn(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 k of Object.keys(u.children)){const Y=u.children[k],re=tn(l,k),Me=this.processSegmentGroup(re,Y,k);if(null===Me)return null;v.push(...Me)}const D=xn(v);return function Mt(g){g.sort(((l,u)=>l.value.outlet===Ie?-1:u.value.outlet===Ie?1:l.value.outlet.localeCompare(u.value.outlet)))}(D),D}processSegment(l,u,v,D){for(const k of l){const Y=this.processSegmentAgainstRoute(k,u,v,D);if(null!==Y)return Y}return Fs(u,v,D)?[]:null}processSegmentAgainstRoute(l,u,v,D){if(l.redirectTo||!jr(l,u,v,D))return null;let k,Y=[],re=[];if("**"===l.path){const fn=v.length>0?et(v).parameters:{};k=new vr(v,fn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nr(l),vt(l),l.component,l,qn(u),jn(u)+v.length,_r(l))}else{const fn=rn(u,l,v);if(!fn.matched)return null;Y=fn.consumedSegments,re=fn.remainingSegments,k=new vr(Y,fn.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nr(l),vt(l),l.component,l,qn(u),jn(u)+Y.length,_r(l))}const Me=function Vt(g){return g.children?g.children:g.loadChildren?g._loadedConfig.routes:[]}(l),{segmentGroup:dt,slicedSegments:cn}=an(u,Y,re,Me.filter((fn=>void 0===fn.redirectTo)),this.relativeLinkResolution);if(0===cn.length&&dt.hasChildren()){const fn=this.processChildren(Me,dt);return null===fn?null:[new Kn(k,fn)]}if(0===Me.length&&0===cn.length)return[new Kn(k,[])];const St=vt(l)===D,mn=this.processSegment(Me,dt,cn,St?Ie:D);return null===mn?null:[new Kn(k,mn)]}}function ln(g){const l=g.value.routeConfig;return l&&""===l.path&&void 0===l.redirectTo}function xn(g){const l=[],u=new Set;for(const v of g){if(!ln(v)){l.push(v);continue}const D=l.find((k=>v.value.routeConfig===k.value.routeConfig));void 0!==D?(D.children.push(...v.children),u.add(D)):l.push(v)}for(const v of u){const D=xn(v.children);l.push(new Kn(v.value,D))}return l.filter((v=>!u.has(v)))}function qn(g){let l=g;for(;l._sourceSegment;)l=l._sourceSegment;return l}function jn(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 Nr(g){return g.data||{}}function _r(g){return g.resolve||{}}function di(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}function Sn(g){return $e((l=>{const u=g(l);return u?(0,F.D)(u).pipe((0,Ee.U)((()=>l))):(0,W.of)(l)}))}class pt extends class An{shouldDetach(l){return!1}store(l,u){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,u){return l.routeConfig===u.routeConfig}}{}const Dt=new p.OlP("ROUTES");class Rt{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,Ee.U)((k=>{this.onLoadEndListener&&this.onLoadEndListener(u);const Y=k.create(l);return new Ws(Yt(Y.injector.get(Dt,void 0,p.XFs.Self|p.XFs.Optional)).map(pn),Y)})),(0,Un.K)((k=>{throw u._loader$=void 0,k})));return u._loader$=new Ke.c(D,(()=>new S.xQ)).pipe((0,or.x)()),u._loader$}loadModuleFactory(l){return Qt(l()).pipe((0,bn.zg)((u=>u instanceof p.YKP?(0,W.of)(u):(0,F.D)(this.compiler.compileModuleAsync(u)))))}}class Gn{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,u){return l}}function Lr(g){throw g}function Xn(g,l,u){return l.parse("/")}function Dr(g,l){return(0,W.of)(null)}const _n={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Zs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let tr=(()=>{class g{constructor(u,v,D,k,Y,re,Me){this.rootComponentType=u,this.urlSerializer=v,this.rootContexts=D,this.location=k,this.config=Me,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new S.xQ,this.errorHandler=Lr,this.malformedUriErrorHandler=Xn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dr,afterPreactivation:Dr},this.urlHandlingStrategy=new Gn,this.routeReuseStrategy=new pt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Y.get(p.h0i),this.console=Y.get(p.c2e);const St=Y.get(p.R0b);this.isNgZoneEnabled=St instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(Me),this.currentUrlTree=function pe(){return new ot(new Ve([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Rt(Y,re,(mn=>this.triggerEvent(new Te(mn))),(mn=>this.triggerEvent(new rt(mn)))),this.routerState=Fn(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()?.ɵrouterPageId}setupNavigations(u){const v=this.events;return u.pipe((0,Ce.h)((D=>0!==D.id)),(0,Ee.U)((D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)}))),$e((D=>{let k=!1,Y=!1;return(0,W.of)(D).pipe((0,dn.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}})),$e((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 rr(re.source)&&(this.browserUrlTree=re.extractedUrl),(0,W.of)(re).pipe($e((St=>{const mn=this.transitions.getValue();return v.next(new ar(St.id,this.serializeUrl(St.extractedUrl),St.source,St.restoredState)),mn!==this.transitions.getValue()?I:Promise.resolve(St)})),function ho(g,l,u,v){return $e((D=>function Ii(g,l,u,v,D){return new co(g,l,u,v,D).apply()}(g,l,u,D.extractedUrl,v).pipe((0,Ee.U)((k=>({...D,urlAfterRedirects:k}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,dn.b)((St=>{this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects}})),function Jn(g,l,u,v,D){return(0,bn.zg)((k=>function jt(g,l,u,v,D="emptyOnly",k="legacy"){try{const Y=new qt(g,l,u,v,D,k).recognize();return null===Y?yt(new Xe):(0,W.of)(Y)}catch(Y){return yt(Y)}}(g,l,k.urlAfterRedirects,u(k.urlAfterRedirects),v,D).pipe((0,Ee.U)((Y=>({...k,targetSnapshot:Y}))))))}(this.rootComponentType,this.config,(St=>this.serializeUrl(St)),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,dn.b)((St=>{if("eager"===this.urlUpdateStrategy){if(!St.extras.skipLocationChange){const fn=this.urlHandlingStrategy.merge(St.urlAfterRedirects,St.rawUrl);this.setBrowserUrl(fn,St)}this.browserUrlTree=St.urlAfterRedirects}const mn=new H(St.id,this.serializeUrl(St.extractedUrl),this.serializeUrl(St.urlAfterRedirects),St.targetSnapshot);v.next(mn)})));if(dt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:mn,extractedUrl:fn,source:Xs,restoredState:ks,extras:mi}=re,js=new ar(mn,this.serializeUrl(fn),Xs,ks);v.next(js);const Xr=Fn(fn,this.rootComponentType).snapshot;return(0,W.of)({...re,targetSnapshot:Xr,urlAfterRedirects:fn,extras:{...mi,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=re.rawUrl,re.resolve(null),I})),Sn((re=>{const{targetSnapshot:Me,id:dt,extractedUrl:cn,rawUrl:St,extras:{skipLocationChange:mn,replaceUrl:fn}}=re;return this.hooks.beforePreactivation(Me,{navigationId:dt,appliedUrlTree:cn,rawUrlTree:St,skipLocationChange:!!mn,replaceUrl:!!fn})})),(0,dn.b)((re=>{const Me=new L(re.id,this.serializeUrl(re.extractedUrl),this.serializeUrl(re.urlAfterRedirects),re.targetSnapshot);this.triggerEvent(Me)})),(0,Ee.U)((re=>({...re,guards:nn(re.targetSnapshot,re.currentSnapshot,this.rootContexts)}))),function c(g,l){return(0,bn.zg)((u=>{const{targetSnapshot:v,currentSnapshot:D,guards:{canActivateChecks:k,canDeactivateChecks:Y}}=u;return 0===Y.length&&0===k.length?(0,W.of)({...u,guardsResult:!0}):function y(g,l,u,v){return(0,F.D)(g).pipe((0,bn.zg)((D=>function we(g,l,u,v,D){const k=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,W.of)(!0);const Y=k.map((re=>{const Me=Tn(re,l,D);let dt;if(function gs(g){return g&&In(g.canDeactivate)}(Me))dt=Qt(Me.canDeactivate(g,l,u,v));else{if(!In(Me))throw new Error("Invalid CanDeactivate guard");dt=Qt(Me(g,l,u,v))}return dt.pipe(Bn())}));return(0,W.of)(Y).pipe(_())}(D.component,D.route,u,l,v))),Bn((D=>!0!==D),!0))}(Y,v,D,g).pipe((0,bn.zg)((re=>re&&function Os(g){return"boolean"==typeof g}(re)?function R(g,l,u,v){return(0,F.D)(l).pipe((0,Gt.b)((D=>(0,be.z)(function K(g,l){return null!==g&&l&&l(new je(g)),(0,W.of)(!0)}(D.route.parent,v),function V(g,l){return null!==g&&l&&l(new At(g)),(0,W.of)(!0)}(D.route,v),function he(g,l,u){const v=l[l.length-1],k=l.slice(0,l.length-1).reverse().map((Y=>function ci(g){const l=g.routeConfig?g.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:g,guards:l}:null}(Y))).filter((Y=>null!==Y)).map((Y=>se((()=>{const re=Y.guards.map((Me=>{const dt=Tn(Me,Y.node,u);let cn;if(function ur(g){return g&&In(g.canActivateChild)}(dt))cn=Qt(dt.canActivateChild(v,g));else{if(!In(dt))throw new Error("Invalid CanActivateChild guard");cn=Qt(dt(v,g))}return cn.pipe(Bn())}));return(0,W.of)(re).pipe(_())}))));return(0,W.of)(k).pipe(_())}(g,D.path,u),function Q(g,l,u){const v=l.routeConfig?l.routeConfig.canActivate:null;if(!v||0===v.length)return(0,W.of)(!0);const D=v.map((k=>se((()=>{const Y=Tn(k,l,u);let re;if(function Ys(g){return g&&In(g.canActivate)}(Y))re=Qt(Y.canActivate(l,g));else{if(!In(Y))throw new Error("Invalid CanActivate guard");re=Qt(Y(l,g))}return re.pipe(Bn())}))));return(0,W.of)(D).pipe(_())}(g,D.route,u)))),Bn((D=>!0!==D),!0))}(v,k,g,l):(0,W.of)(re))),(0,Ee.U)((re=>({...u,guardsResult:re}))))}))}(this.ngModule.injector,(re=>this.triggerEvent(re))),(0,dn.b)((re=>{if(hr(re.guardsResult)){const dt=Le(`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,Ce.h)((re=>!!re.guardsResult||(this.restoreHistory(re),this.cancelNavigationTransition(re,""),!1))),Sn((re=>{if(re.guards.canActivateChecks.length)return(0,W.of)(re).pipe((0,dn.b)((Me=>{const dt=new ce(Me.id,this.serializeUrl(Me.extractedUrl),this.serializeUrl(Me.urlAfterRedirects),Me.targetSnapshot);this.triggerEvent(dt)})),$e((Me=>{let dt=!1;return(0,W.of)(Me).pipe(function Or(g,l){return(0,bn.zg)((u=>{const{targetSnapshot:v,guards:{canActivateChecks:D}}=u;if(!D.length)return(0,W.of)(u);let k=0;return(0,F.D)(D).pipe((0,Gt.b)((Y=>function Fr(g,l,u,v){return function Er(g,l,u,v){const D=di(g);if(0===D.length)return(0,W.of)({});const k={};return(0,F.D)(D).pipe((0,bn.zg)((Y=>function Ls(g,l,u,v){const D=Tn(g,l,v);return Qt(D.resolve?D.resolve(l,u):D(l,u))}(g[Y],l,u,v).pipe((0,dn.b)((re=>{k[Y]=re}))))),ee(1),(0,bn.zg)((()=>di(k).length===D.length?(0,W.of)(k):I)))}(g._resolve,g,l,v).pipe((0,Ee.U)((k=>(g._resolvedData=k,g.data={...g.data,...vn(g,u).resolve},null))))}(Y.route,v,g,l))),(0,dn.b)((()=>k++)),ee(1),(0,bn.zg)((Y=>k===D.length?(0,W.of)(u):I)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,dn.b)({next:()=>dt=!0,complete:()=>{dt||(this.restoreHistory(Me),this.cancelNavigationTransition(Me,"At least one route resolver didn't emit any value."))}}))})),(0,dn.b)((Me=>{const dt=new ge(Me.id,this.serializeUrl(Me.extractedUrl),this.serializeUrl(Me.urlAfterRedirects),Me.targetSnapshot);this.triggerEvent(dt)})))})),Sn((re=>{const{targetSnapshot:Me,id:dt,extractedUrl:cn,rawUrl:St,extras:{skipLocationChange:mn,replaceUrl:fn}}=re;return this.hooks.afterPreactivation(Me,{navigationId:dt,appliedUrlTree:cn,rawUrlTree:St,skipLocationChange:!!mn,replaceUrl:!!fn})})),(0,Ee.U)((re=>{const Me=function Ci(g,l,u){const v=Kr(g,l._root,u?u._root:void 0);return new xr(v,l)}(this.routeReuseStrategy,re.targetSnapshot,re.currentRouterState);return{...re,targetRouterState:Me}})),(0,dn.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,Ee.U)((v=>(new oi(l,v.targetRouterState,v.currentRouterState,u).activate(g),v))))(this.rootContexts,this.routeReuseStrategy,(re=>this.triggerEvent(re))),(0,dn.b)({next(){k=!0},complete(){k=!0}}),(0,er.x)((()=>{k||Y||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,Un.K)((re=>{if(Y=!0,function hn(g){return g&&g[_t]}(re)){const Me=hr(re.url);Me||(this.navigated=!0,this.restoreHistory(D,!0));const dt=new fe(D.id,this.serializeUrl(D.extractedUrl),re.message);v.next(dt),Me?setTimeout((()=>{const cn=this.urlHandlingStrategy.merge(re.url,this.rawUrlTree),St={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||rr(D.source)};this.scheduleNavigation(cn,"imperative",null,St,{resolve:D.resolve,reject:D.reject,promise:D.promise})}),0):D.resolve(!1)}else{this.restoreHistory(D,!0);const Me=new Z(D.id,this.serializeUrl(D.extractedUrl),re);v.next(Me);try{D.resolve(this.errorHandler(re))}catch(dt){D.reject(dt)}}return I})))})))}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},k=u.state?.navigationId?u.state:null;if(k){const re={...k};delete re.navigationId,delete re.ɵrouterPageId,0!==Object.keys(re).length&&(D.state=re)}const Y=this.parseUrl(u.url);this.scheduleNavigation(Y,v,k,D)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){Ne(u),this.config=u.map(pn),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:k,fragment:Y,queryParamsHandling:re,preserveFragment:Me}=v,dt=D||this.routerState.root,cn=Me?this.currentUrlTree.fragment:Y;let St=null;switch(re){case"merge":St={...this.currentUrlTree.queryParams,...k};break;case"preserve":St=this.currentUrlTree.queryParams;break;default:St=k||null}return null!==St&&(St=this.removeEmptyProps(St)),function Ti(g,l,u,v,D){if(0===u.length)return ps(l.root,l.root,l.root,v,D);const k=function ii(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new si(!0,0,g);let l=0,u=!1;const v=g.reduce(((D,k,Y)=>{if("object"==typeof k&&null!=k){if(k.outlets){const re={};return Ye(k.outlets,((Me,dt)=>{re[dt]="string"==typeof Me?Me.split("/"):Me})),[...D,{outlets:re}]}if(k.segmentPath)return[...D,k.segmentPath]}return"string"!=typeof k?[...D,k]:0===Y?(k.split("/").forEach(((re,Me)=>{0==Me&&"."===re||(0==Me&&""===re?u=!0:".."===re?l++:""!=re&&D.push(re))})),D):[...D,k]}),[]);return new si(u,l,v)}(u);if(k.toRoot())return ps(l.root,l.root,new Ve([],{}),v,D);const Y=function Si(g,l,u){if(g.isAbsolute)return new $s(l.root,!0,0);if(-1===u.snapshot._lastPathIndex){const k=u.snapshot._urlSegment;return new $s(k,k===l.root,0)}const v=Ps(g.commands[0])?0:1;return function Ai(g,l,u){let v=g,D=l,k=u;for(;k>D;){if(k-=D,v=v.parent,!v)throw new Error("Invalid number of '../'");D=v.segments.length}return new $s(v,!1,D-k)}(u.snapshot._urlSegment,u.snapshot._lastPathIndex+v,g.numberOfDoubleDots)}(k,l,g),re=Y.processChildren?Zr(Y.segmentGroup,Y.index,k.commands):rs(Y.segmentGroup,Y.index,k.commands);return ps(l.root,Y.segmentGroup,re,v,D)}(dt,this.currentUrlTree,u,St,cn??null)}navigateByUrl(u,v={skipLocationChange:!1}){const D=hr(u)?u:this.parseUrl(u),k=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(k,"imperative",null,v)}navigate(u,v={skipLocationChange:!1}){return function nr(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?{..._n}:!1===v?{...Zs}:v,hr(u))return ue(this.currentUrlTree,u,D);const k=this.parseUrl(u);return ue(this.currentUrlTree,k,D)}removeEmptyProps(u){return Object.keys(u).reduce(((v,D)=>{const k=u[D];return null!=k&&(v[D]=k),v}),{})}processNavigations(){this.navigations.subscribe((u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new X(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,k,Y){if(this.disposed)return Promise.resolve(!1);let re,Me,dt;Y?(re=Y.resolve,Me=Y.reject,dt=Y.promise):dt=new Promise(((mn,fn)=>{re=mn,Me=fn}));const cn=++this.navigationId;let St;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),St=D&&D.ɵrouterPageId?D.ɵrouterPageId:k.replaceUrl||k.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):St=0,this.setTransition({id:cn,targetPageId:St,source:v,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:k,resolve:re,reject:Me,promise:dt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),dt.catch((mn=>Promise.reject(mn)))}setBrowserUrl(u,v){const D=this.urlSerializer.serialize(u),k={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(D)||v.extras.replaceUrl?this.location.replaceState(D,"",k):this.location.go(D,"",k)}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 fe(u.id,this.serializeUrl(u.extractedUrl),v);this.triggerEvent(D),u.resolve(!1)}generateNgRouterState(u,v){return"computed"===this.canceledNavigationResolution?{navigationId:u,"ɵrouterPageId":v}:{navigationId:u}}}return g.ɵfac=function(u){p.$Z()},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();function rr(g){return"imperative"!==g}class Xo{}class Ya{preload(l,u){return(0,W.of)(null)}}let Ka=(()=>{class g{constructor(u,v,D,k){this.router=u,this.injector=D,this.preloadingStrategy=k,this.loader=new Rt(D,v,(Me=>u.triggerEvent(new Te(Me))),(Me=>u.triggerEvent(new rt(Me))))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ce.h)((u=>u instanceof X)),(0,Gt.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 k of v)if(k.loadChildren&&!k.canLoad&&k._loadedConfig){const Y=k._loadedConfig;D.push(this.processRoutes(Y.module,Y.routes))}else k.loadChildren&&!k.canLoad?D.push(this.preloadConfig(u,k)):k.children&&D.push(this.processRoutes(u,k.children));return(0,F.D)(D).pipe((0,Pr.J)(),(0,Ee.U)((k=>{})))}preloadConfig(u,v){return this.preloadingStrategy.preload(v,(()=>(v._loadedConfig?(0,W.of)(v._loadedConfig):this.loader.load(u.injector,v)).pipe((0,bn.zg)((k=>(v._loadedConfig=k,this.processRoutes(k.module,k.routes)))))))}}return g.ɵfac=function(u){return new(u||g)(p.LFG(tr),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(Xo))},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})(),Qs=(()=>{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 ar?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof X&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((u=>{u instanceof Tt&&(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 Tt(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.ɵfac=function(u){p.$Z()},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();const as=new p.OlP("ROUTER_CONFIGURATION"),hi=new p.OlP("ROUTER_FORROOT_GUARD"),ea=[f.Ye,{provide:ve,useClass:He},{provide:tr,useFactory:function hc(g,l,u,v,D,k,Y={},re,Me){const dt=new tr(null,g,l,u,v,D,Yt(k));return re&&(dt.urlHandlingStrategy=re),Me&&(dt.routeReuseStrategy=Me),function na(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)}(Y,dt),Y.enableTracing&&dt.events.subscribe((cn=>{console.group?.(`Router Event: ${cn.constructor.name}`),console.log(cn.toString()),console.log(cn),console.groupEnd?.()})),dt},deps:[ve,E,f.Ye,p.zs3,p.Sil,Dt,as,[class sn{},new p.FiY],[class Hr{},new p.FiY]]},E,{provide:Qn,useFactory:function ra(g){return g.routerState.root},deps:[tr]},Ka,Ya,class Wa{preload(l,u){return u().pipe((0,Un.K)((()=>(0,W.of)(null))))}},{provide:as,useValue:{enableTracing:!1}}];function ta(){return new p.PXZ("Router",tr)}let qs=(()=>{class g{constructor(u,v){}static forRoot(u,v){return{ngModule:g,providers:[ea,pi(u),{provide:hi,useFactory:go,deps:[[tr,new p.FiY,new p.tp0]]},{provide:as,useValue:v||{}},{provide:f.S$,useFactory:Js,deps:[f.lw,[new p.tBr(f.mr),new p.FiY],as]},{provide:Qs,useFactory:Qa,deps:[tr,f.EM,as]},{provide:Xo,useExisting:v&&v.preloadingStrategy?v.preloadingStrategy:Ya},{provide:p.PXZ,multi:!0,useFactory:ta},[mo,{provide:p.ip1,multi:!0,useFactory:qa,deps:[mo]},{provide:Ri,useFactory:gi,deps:[mo]},{provide:p.tb,multi:!0,useExisting:Ri}]]}}static forChild(u){return{ngModule:g,providers:[pi(u)]}}}return g.ɵfac=function(u){return new(u||g)(p.LFG(hi,8),p.LFG(tr,8))},g.ɵmod=p.oAB({type:g}),g.ɵinj=p.cJS({}),g})();function Qa(g,l,u){return u.scrollOffset&&l.setOffset(u.scrollOffset),new Qs(g,l,u)}function Js(g,l,u={}){return u.useHash?new f.Do(g,l):new f.b0(g,l)}function go(g){return"guarded"}function pi(g){return[{provide:p.deG,multi:!0,useValue:g},{provide:Dt,multi:!0,useValue:g}]}let mo=(()=>{class g{constructor(u){this.injector=u,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new S.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)),k=this.injector.get(tr),Y=this.injector.get(as);return"disabled"===Y.initialNavigation?(k.setUpLocationChangeListener(),v(!0)):"enabled"===Y.initialNavigation||"enabledBlocking"===Y.initialNavigation?(k.hooks.afterPreactivation=()=>this.initNavigation?(0,W.of)(null):(this.initNavigation=!0,v(!0),this.resultOfPreactivationDone),k.initialNavigation()):v(!0),D}))}bootstrapListener(u){const v=this.injector.get(as),D=this.injector.get(Ka),k=this.injector.get(Qs),Y=this.injector.get(tr),re=this.injector.get(p.z2F);u===re.components[0]&&(("enabledNonBlocking"===v.initialNavigation||void 0===v.initialNavigation)&&Y.initialNavigation(),D.setUpPreloading(),k.init(),Y.resetRootComponentType(re.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return g.ɵfac=function(u){return new(u||g)(p.LFG(p.zs3))},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();function qa(g){return g.appInitializer.bind(g)}function gi(g){return g.bootstrapListener.bind(g)}const Ri=new p.OlP("Router Initializer")},5419:(j,w,h)=>{"use strict";h.d(w,{A4:()=>Lt});var f=h(6738),p=h(529),S=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 F{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 ee=this.securityToken+"/";this.isUnprotected?ee="/":this.isCpanel?ee+="frontend/"+this.theme+"/":this.isWebmail?ee+="webmail/"+this.theme+"/":this.isOther&&(ee="/"),this.themePath=ee,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 M(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 I{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 U=h(4235),z=h.n(U),se=h(1305),W=h.n(se),J=(()=>{return(Fe=J||(J={}))[Fe.Error=0]="Error",Fe[Fe.Warning=1]="Warning",Fe[Fe.Information=2]="Information",Fe[Fe.Unknown=3]="Unknown",J;var Fe})();const ie={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Ee{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 Re extends class Ke{constructor(le,me){if(this.status=0,this.messages=[],this.meta=function be(Fe){return JSON.parse(JSON.stringify(Fe))}(ie),this.options={keepUnprocessedResponse:!1},z()(le)||W()(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(J.Error)}get warnings(){return this._getMessages(J.Warning)}get infoMessages(){return this._getMessages(J.Information)}_hasMessages(le){return this.messages.filter((me=>me.type===le)).length>0}get hasErrors(){return this._hasMessages(J.Error)}get hasWarnings(){return this._hasMessages(J.Warning)}get hasInfoMessages(){return this._hasMessages(J.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:J.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 Ee(le.metadata)),this.data=this._reduce_list_data(le.data)}}var $e=h(109),xe=h(3022);let Lt=(()=>{class Fe{constructor(me){this.http=me}get(me){const Ce=me.generate({verb:$e.F.GET,encoder:new xe.VN}),ee=this.packageUrl(Ce);return this.http.get(ee,{headers:this.packageHeaders(Ce)}).pipe((0,S.U)(this.packageResponseHandler(ee)))}post(me){const Ce=me.generate(),ee=this.packageUrl(Ce);return this.http.post(ee,Ce.body,{headers:this.packageHeaders(Ce)}).pipe((0,S.U)(this.packageResponseHandler(ee)))}packageHeaders(me){const Ce={};return me.headers.forEach((ee=>{Ce[ee.name]=ee.value})),new p.WM(Ce)}packageUrl(me){return new F(new I).buildTokenPath(me.url)}packageResponseHandler(me){return Ce=>{const ee=new Re(Ce);return ee.meta.properties.url=me,ee}}}return Fe.ɵfac=function(me){return new(me||Fe)(f.LFG(p.eN))},Fe.ɵprov=f.Yz7({token:Fe,factory:Fe.ɵfac,providedIn:"root"}),Fe})()},348:(j,w,h)=>{"use strict";h.d(w,{m:()=>C});var f=h(6738),p=h(269);const S=new f.OlP("window"),T=M=>new p.g(M.CLDR,M.LEXICON);let C=(()=>{class M{}return M.ɵfac=function(x){return new(x||M)},M.ɵmod=f.oAB({type:M}),M.ɵinj=f.cJS({providers:[{provide:S,useValue:window},{provide:p.g,useFactory:T,deps:[S]}],imports:[[]]}),M})()}}]);
Back to Directory
File Manager