Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/cloud-cluster/vendor.bbcdb8ceb8c905f0.js

(self.webpackChunkcloud_cluster=self.webpackChunkcloud_cluster||[]).push([[736],{109:(B,S,m)=>{"use strict";m.d(S,{F:()=>u});var u=(()=>{return(_=u||(u={}))[_.GET=0]="GET",_[_.HEAD=1]="HEAD",_[_.POST=2]="POST",_[_.PUT=3]="PUT",_[_.DELETE=4]="DELETE",_[_.CONNECT=5]="CONNECT",_[_.OPTIONS=6]="OPTIONS",_[_.TRACE=7]="TRACE",_[_.PATCH=8]="PATCH",u;var _})()},7709:(B,S,m)=>{"use strict";m.d(S,{h:()=>u});class u{constructor(I,M){if(!I)throw new Error("You must provide a name when creating a name/value argument");this.name=I,this.value=M}}},3022:(B,S,m)=>{"use strict";m.d(S,{tO:()=>ot,VN:()=>Ae});var u=m(4235),_=m.n(u),R=m(1305),I=m.n(R),M=m(4798),P=m.n(M),N=m(9138),F=m.n(N),H=m(248),O=m.n(H),$=m(1503),W=m.n($),re=m(7614),ie=m.n(re);function oe(Oe){if(_()(Oe)||I()(Oe)||P()(Oe)||F()(Oe)||O()(Oe))return!0;if(!ie()(Oe)&&!W()(Oe))return!1;for(const ye in Oe)if(!oe(Oe[ye]))return!1;return!0}class Ae{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(ye,wt,nn){if(!ye)throw new Error("Name must have a non-empty value");return`${ye}=${encodeURIComponent(wt.toString())}`+(nn?"":this.recordSeparator)}}class ot{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(ye,wt,nn){if(!ye)throw new Error("Name must have a non-empty value");if(!oe(wt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(ye)+":"+JSON.stringify(wt)+(nn?"":this.recordSeparator)}}},4642:(B,S,m)=>{"use strict";m.d(S,{r:()=>we,N:()=>Xe});var u=m(1978),_=m.n(u);function R(fe){return fe?"1":"0"}var P=(()=>{return(fe=P||(P={}))[fe.Ascending=0]="Ascending",fe[fe.Descending=1]="Descending",P;var fe})(),N=(()=>{return(fe=N||(N={}))[fe.Lexicographic=0]="Lexicographic",fe[fe.Ipv4=1]="Ipv4",fe[fe.Numeric=2]="Numeric",fe[fe.NumericZeroAsMax=3]="NumericZeroAsMax",N;var fe})();class F{constructor(ae,Pe=P.Ascending,st=N.Lexicographic){if(!ae)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=ae,this.direction=Pe,this.type=st}}var H=(()=>{return(fe=H||(H={}))[fe.Contains=0]="Contains",fe[fe.Begins=1]="Begins",fe[fe.Ends=2]="Ends",fe[fe.Matches=3]="Matches",fe[fe.Equal=4]="Equal",fe[fe.NotEqual=5]="NotEqual",fe[fe.LessThan=6]="LessThan",fe[fe.LessThanUnlimited=7]="LessThanUnlimited",fe[fe.GreaterThan=8]="GreaterThan",fe[fe.GreaterThanUnlimited=9]="GreaterThanUnlimited",fe[fe.Defined=10]="Defined",fe[fe.Undefined=11]="Undefined",H;var fe})();class O{constructor(ae,Pe,st){if(!ae)throw new Error("You must define a non-empty column name.");this.column=ae,this.operator=Pe,this.value=st}}var $=m(7709);const re=Number.POSITIVE_INFINITY;class ie{constructor(ae=1,Pe=20){if(ae<=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=ae,this.pageSize=Pe}all(){return this.pageSize===re}}class oe{constructor(ae=[]){this.headers=ae}push(ae){this.headers.push(ae)}forEach(ae,Pe){this.headers.forEach(ae,Pe)}toArray(){const ae=[];return this.headers.forEach(Pe=>ae.push({name:Pe.name,value:Pe.value})),ae}toObject(){return this.headers.reduce((ae,Pe)=>(ae[Pe.name]=Pe.value,ae),{})}}class ue{constructor(ae){this._header=ae}get name(){return this._header.name}get value(){return this._header.value}}class Ae extends Error{constructor(ae){super(ae),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Ae.prototype)}}class ot extends Error{constructor(ae){super(ae),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,ot.prototype)}}class Oe extends ue{constructor(ae,Pe){if(!ae)throw new Ae("You must pass a valid token to the constructor.");if(!Pe&&!/^.+[:]/.test(ae))throw new Ae("You must pass a cPanel username associated with the cPanel API token.");if(!Pe&&!/[:].+$/.test(ae))throw new Ae("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Pe?Pe+":":""}${ae}`})}}Error,Error;var Et=m(109);const ct=new class We{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Et.F.GET,Et.F.DELETE,Et.F.HEAD].forEach(ae=>{const Pe=Et.F[ae].toString();this.map[Pe]={verb:Pe,dataInBody:!1}}),[Et.F.POST,Et.F.PUT,Et.F.PATCH].forEach(ae=>{const Pe=Et.F[ae].toString();this.map[Pe]={verb:Pe,dataInBody:!0}})}getRule(ae){const Pe="string"==typeof ae?ae:Et.F[ae].toString();let st=this.map[Pe];return st||(st=this.map.DEFAULT),st}};var Gt=m(3022),Te=m(8448),Nt=m.n(Te),Xe=(()=>{return(fe=Xe||(Xe={})).JsonApi="json-api",fe.XmlApi="xml-api",Xe;var fe})();class we extends class ht{constructor(ae){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ie,this.headers=new oe,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ae&&(this.method=ae.method,ae.namespace&&(this.namespace=ae.namespace),ae.arguments&&ae.arguments.forEach(Pe=>{this.addArgument(Pe)}),ae.sorts&&ae.sorts.forEach(Pe=>{this.addSort(Pe)}),ae.filters&&ae.filters.forEach(Pe=>{this.addFilter(Pe)}),ae.columns&&ae.columns.forEach(Pe=>this.addColumn(Pe)),ae.pager&&this.paginate(ae.pager),this.config=ae.config?ae.config:this.defaultConfig,ae.headers&&ae.headers.forEach(Pe=>{this.addHeader(Pe)}))}get usePager(){return this._usePager}addArgument(ae){return this.arguments.push(ae instanceof $.h?ae:new $.h(ae.name,ae.value)),this}addSort(ae){return this.sorts.push(ae instanceof F?ae:new F(ae.column,ae.direction,ae.type)),this}addFilter(ae){return this.filters.push(ae instanceof O?ae:new O(ae.column,ae.operator,ae.value)),this}addColumn(ae){return this.columns.push(ae),this}addHeader(ae){return this.headers.push(ae instanceof ue?ae:new ue(ae)),this}paginate(ae){return this.pager=ae instanceof ie?ae:new ie(ae.page,ae.pageSize||20),this._usePager=!0,this}}{constructor(ae,Pe){if(super(Pe),this.apiType=Xe.JsonApi,ae!=Xe.JsonApi&&ae!=Xe.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=ae,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(ae){if(ae instanceof Oe)throw new ot("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(ae),this}_build(ae,Pe){let st="";return ae.forEach((Ut,rn,sn)=>{st+=Pe.encode(Ut.name,Ut.value,rn===sn.length-1)}),Pe.separatorStart+st+Pe.separatorEnd}_make_whm_api_fieldspec_from_number(ae){return Nt()("",Math.floor(ae/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(ae%26)}_generateArguments(ae){ae.push({name:"api.version",value:1}),this.arguments.forEach(st=>ae.push(st))}_generateSorts(ae){this.sorts.forEach((Pe,st)=>{0===st&&ae.push({name:"api.sort.enable",value:R(!0)});const Ut=`api.sort.${this._make_whm_api_fieldspec_from_number(st)}`;ae.push({name:`${Ut}.field`,value:Pe.column}),ae.push({name:`${Ut}.reverse`,value:R(Pe.direction!==P.Ascending)}),ae.push({name:`${Ut}.method`,value:_()(N[Pe.type])})})}_lookupFilterOperator(ae){switch(ae){case H.GreaterThanUnlimited:return"gt_handle_unlimited";case H.GreaterThan:return"gt";case H.LessThanUnlimited:return"lt_handle_unlimited";case H.LessThan:return"lt";case H.Equal:return"eq";case H.Begins:return"begins";case H.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${H[ae]} for WHM API 1`)}}_generateFilters(ae){this.filters.forEach((Pe,st)=>{0===st&&(ae.push({name:"api.filter.enable",value:R(!0)}),ae.push({name:"api.filter.verbose",value:R(!0)}));const Ut=`api.filter.${this._make_whm_api_fieldspec_from_number(st)}`;ae.push({name:`${Ut}.field`,value:Pe.column}),ae.push({name:`${Ut}.type`,value:this._lookupFilterOperator(Pe.operator)}),ae.push({name:`${Ut}.arg0`,value:Pe.value})})}_translatePageToStart(ae){return(ae.page-1)*ae.pageSize+1}_generatePagination(ae){if(!this.usePager)return;const Pe=this.pager.all();ae.push({name:"api.chunk.enable",value:R(!0)}),ae.push({name:"api.chunk.verbose",value:R(!0)}),ae.push({name:"api.chunk.start",value:Pe?-1:this._translatePageToStart(this.pager)}),Pe||ae.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(ae){ae||(ae={verb:Et.F.POST,encoder:this.config.json?new Gt.tO:new Gt.VN}),ae.encoder||(ae.encoder=this.config.json?new Gt.tO:new Gt.VN);const Pe=ct.getRule(ae.verb),st={headers:new oe([{name:"Content-Type",value:ae.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Ut=[];this._generateArguments(Ut),this._generateSorts(Ut),this._generateFilters(Ut),this._generatePagination(Ut);const rn=this._build(Ut,ae.encoder);return Pe.dataInBody?st.body=rn:st.url+=ae.verb===Et.F.GET?`?${rn}`:rn,this.headers.forEach(sn=>{st.headers.push({name:sn.name,value:sn.value})}),st}}},269:(B,S,m)=>{"use strict";S.g=void 0;const _=m(1680);Object.defineProperty(S,"g",{enumerable:!0,get:function(){return _.Locale}})},5074:(B,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.CLDR=void 0,S.CLDR=class m{constructor(_){this.rawData=_,this.validateCLDR(this.rawData)}validateCLDR(_){if(!_)throw new Error("CLDR data cannot be null");if(!_.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(_,"functions")||Object.prototype.hasOwnProperty.call(_,"get_plural_form")||"function"!=typeof _.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(_,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(_,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(_.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(_,...R){return this.rawData.functions.get_plural_form(_,...R)}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:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.Locale=void 0;const u=m(2889),_=m(9483),R=m(741),I=m(786),M=m(5074);S.Locale=class P{constructor(F,H={}){this.lexicon=H,this._cldr=new M.CLDR(F)}maketext(F,...H){return u.maketext({cldr:this._cldr,lexicon:this.lexicon,template:F,args:H})}localDatetime(F,H){return this._datetimeWrapper(_.local_datetime,F,H)}datetime(F,H){return this._datetimeWrapper(_.datetime,F,H)}_datetimeWrapper(F,H,O){return F({cldr:this._cldr,args:[H,O]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(F,H){return this._formatNumber(R.numf,F,H)}format_bytes(F,H){return this._formatNumber(R.format_bytes,F,H)}_formatNumber(F,...H){return this._callCLDRFunc(F,H)}list_and(...F){return this._callCLDRFunc(I.list_and,F)}list_and_quoted(...F){return this._callCLDRFunc(I.list_and_quoted,F)}list_or(...F){return this._callCLDRFunc(I.list_or,F)}list_or_quoted(...F){return this._callCLDRFunc(I.list_or_quoted,F)}_callCLDRFunc(F,H){return F({cldr:this._cldr,args:H})}}},7296:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.asis=void 0;const u=m(5247);S.asis=function _({args:[R,...I]}){if(!R||I.length>0||"string"!=typeof R)throw new Error("asis function accepts one non translatable string.");return(R=R.replace(/chr\((\d+)\)/g,function(M,P){return u.functions.chr(Number(P))})).replace(/amp\(\)/g,function(M){return u.functions.amp()})}},527:(B,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.boolean=void 0,S.boolean=function m({args:[u,_,R,I]}){if(null==_||0===_.length||null==R||0===R.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof u<"u"&&u?_:I&&null==u?I:R)}},9076:(B,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.comment=void 0,S.comment=function m({args:[u]}){return""}},9483:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.local_datetime=S.datetime=S.dateToLocalDayNum=void 0;const u=m(5074),_=function(O){const $=O.getUTCDay()-1;return $<0?6:$},R=[7,1,2,3,4,5,6];function I(O,$){return(R[O.getUTCDay()]+7-$)%7+1}S.dateToLocalDayNum=I;const M=function(O,$,W){let re="",ie=0;return $=$||0,W=String(void 0===W?" ":W),ie=$-String(O).length,ie>0&&(re=[...Array(ie)].map(String.prototype.valueOf,W).join("")),re+O};function P({cldr:O,args:[$=new Date,W],tzString:re="UTC"}){if("number"==typeof $&&/^-?\d+$/.test($.toString())&&($=new Date(1e3*$)),!($ instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(O instanceof u.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ie=O.getDateTimeInfo();return"string"==typeof W&&/^(?:date|time|datetime|special)_format_/.test(W)&&(W=ie[W]),W||(W=ie.date_format_long),W.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(oe,ue,Ae){return ue?function N(O){return O.substr(1,O.length-2)}(ue):function F(O,$,W,re){switch(W){case"yy":return Math.abs(O.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(O.getUTCFullYear()));case"MMMMM":return $.month_format_narrow[O.getUTCMonth()];case"LLLLL":return $.month_stand_alone_narrow[O.getUTCMonth()];case"MMMM":return $.month_format_wide[O.getUTCMonth()];case"LLLL":return $.month_stand_alone_wide[O.getUTCMonth()];case"MMM":return $.month_format_abbreviated[O.getUTCMonth()];case"LLL":return $.month_stand_alone_abbreviated[O.getUTCMonth()];case"MM":case"LL":return M((O.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(O.getUTCMonth()+1);case"EEEE":return $.day_format_wide[_(O)];case"EEE":case"EE":case"E":return $.day_format_abbreviated[_(O)];case"EEEEE":return $.day_format_narrow[_(O)];case"cccc":return $.day_stand_alone_wide[_(O)];case"ccc":return $.day_stand_alone_abbreviated[_(O)];case"cc":case"c":return String(I(O,Number($.first_day_of_week)));case"ccccc":return $.day_stand_alone_narrow[_(O)];case"dd":return M(O.getUTCDate().toString(),2,"0");case"d":return String(O.getUTCDate());case"h":case"hh":{let ie=O.getUTCHours();ie>12&&(ie-=12),0===ie&&(ie=12);const oe="hh"===W?M(ie.toString(),2,"0"):ie;return String(oe)}case"H":return String(O.getUTCHours());case"HH":return M(O.getUTCHours().toString(),2,"0");case"m":return String(O.getUTCMinutes());case"mm":return M(O.getUTCMinutes().toString(),2,"0");case"s":return String(O.getUTCSeconds());case"ss":return M(O.getUTCSeconds().toString(),2,"0");case"a":return O.getUTCHours()<12?$.am_pm_abbreviated[0]:$.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return re;case"G":case"GG":case"GGG":return $.era_abbreviated[O.getUTCFullYear()<0?0:1];case"GGGGG":return $.era_narrow[O.getUTCFullYear()<0?0:1];case"GGGG":return $.era_wide[O.getUTCFullYear()<0?0:1]}return W}($,ie,Ae,re)})}S.datetime=P,S.local_datetime=function H({cldr:O,args:[$=new Date,W]}){if("number"==typeof $&&/^-?\d+$/.test($.toString())&&($=new Date(1e3*$)),!($ instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(O instanceof u.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const re=$.getTimezoneOffset();($=new Date($)).setMinutes($.getMinutes()-re);const ie=re>0?"-":"+",oe=Math.floor(Math.abs(re)/60),ue=Math.abs(re%60);return P({cldr:O,args:[$,W],tzString:"GMT"+ie+M(oe.toString(),2,"0")+M(ue.toString(),2,"0")})}},40:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.functions=void 0;const u=m(7296),_=m(5247),R=m(9076),I=m(527),M=m(741),P=m(9483),N=m(786);S.functions={asis:u.asis,output:_.output,comment:R.comment,boolean:I.boolean,numf:M.numf,numerate:M.numerate,quant:M.quant,format_bytes:M.format_bytes,datetime:P.datetime,local_datetime:P.local_datetime,list_and:N.list_and,list_or:N.list_or,list_or_quoted:N.list_or_quoted,list_and_quoted:N.list_and_quoted}},786:(B,S)=>{"use strict";function u(N,F,...H){let O=H.slice();switch(1===O.length&&Array.isArray(O[0])&&(O=O[0].slice()),(typeof O>"u"||0===O.length)&&(O=[""]),O=O.map($=>function m(N,F){const H=N.getDelimiters();return H&&Object.prototype.hasOwnProperty.call(H,"quotation_start")&&Object.prototype.hasOwnProperty.call(H,"quotation_end")?H.quotation_start+F+H.quotation_end:F}(N,$)),F){case"list_and":return M({cldr:N,args:O});case"list_or":return P({cldr:N,args:O});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function I(N,F,...H){let O=H.slice();1===O.length&&Array.isArray(O[0])&&(O=O[0].slice());const $=O.length;let W,re,ie,oe;try{W=N.getFormats()[F]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const ue=function(Ae,ot){switch(ot){case"0":return ie;case"1":return O[oe++]}};switch($){case 0:return"";case 1:return String(O[0]);default:if(ie=2===$?W[2]:W.start,ie=ie.replace(/\{([01])\}/g,function(Ae,ot){return O[ot]}),2===$)return ie;for(oe=2;oe<$;)re=W[oe===$-1?"end":"middle"],ie=re.replace(/\{([01])\}/g,ue);return ie}}function M({cldr:N,args:[...F]}){return I(N,"list",...F)}function P({cldr:N,args:[...F]}){return I(N,"list_or",...F)}Object.defineProperty(S,"__esModule",{value:!0}),S.list_or=S.list_and=S.list_or_quoted=S.list_and_quoted=void 0,S.list_and_quoted=function _({cldr:N,args:[...F]}){return u(N,"list_and",...F)},S.list_or_quoted=function R({cldr:N,args:[...F]}){return u(N,"list_or",...F)},S.list_and=M,S.list_or=P},5247:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.functions=S.output=void 0;const u=m(7906),_=m(8533);S.output=function R({args:[I,...M]}){if(M&&"string"==typeof M[0]&&(M[0]=M[0].replace(/chr\((\d+)\)/g,function(P,N){return S.functions.chr(Number(N))}),M[0]=M[0].replace(/amp\(\)/g,function(P){return S.functions.amp()})),"function"==typeof S.functions[I])return S.functions[I](...M);throw new Error(`Locale output function '${I}' is not implemented.`)},S.functions={amp:()=>u.htmlEscape("&"),apos:()=>u.htmlEscape("'"),quot:()=>u.htmlEscape('"'),underline:I=>`<u>${I}</u>`,strong:I=>`<strong>${I}</strong>`,em:I=>`<em>${I}</em>`,abbr:(I,M)=>`<abbr title="${M}">${I}</abbr>`,acronym:(I,M)=>`<abbr title="${M}" class="initialism">${I}</abbr>`,class:(I,...M)=>`<span class="${M.join(" ")}">${I}</span>`,chr(I){if("string"==typeof I&&(I=Number(I)),"number"!=typeof I||isNaN(I))throw new Error("chr needs a number as argument");return u.htmlEscape(String.fromCharCode(I))},url(I,...M){let P,N;if("object"==typeof M[M.length-1])if(P=M[M.length-1],2===M.length){if(P.html)throw new Error("Cannot provide both text and configuration with html attribute");N=M[0]}else P&&P.html?(N=P.html,delete P.html):N=I;else M.length%2==0?(P=_.listToObject(...M),P&&"html"in P&&""!==P.html?(N=P.html,delete P.html):N=I):(N=M.shift(),P=_.listToObject(...M));"_type"in P&&"offsite"===P._type&&(P.class="offsite",P.target="_blank",delete P._type);let F=`<a href="${I}"`;if("object"==typeof P)for(const H in P)Object.prototype.hasOwnProperty.call(P,H)&&(F+=` ${H}="${P[H]}"`);return F+=`>${N}</a>`,F}}},741:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.format_bytes=S.numf=S.quant=S.numerate=void 0;const u=m(5074);function R({cldr:N,args:[F,...H]}){if(!(N instanceof u.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let O,$=3;F instanceof Array?($=F[1],O=F[0]):O=F;const W=N.getPluralForm(O,...H),re=W[0]?W[0]:H[H.length-1];if(W&&W.length>=2&&W[1])return re;const oe=M({cldr:N,args:[O,$]});return-1!==re.indexOf("%s")?re.replace(/%s/g,oe):N.isRtl()?re+" "+oe:oe+" "+re}function M({cldr:N,args:[F,H=6]}){if(!(N instanceof u.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(F.toString()))return String(F);const{decimalFormat:O,decimalGroup:$,decimalDecimal:W}=function I(N){const F={},H=N.getFormats();return Object.prototype.hasOwnProperty.call(H,"decimal")&&(F.decimalFormat=H.decimal),Object.prototype.hasOwnProperty.call(H,"_decimal_format_group")&&(F.decimalGroup=H._decimal_format_group),Object.prototype.hasOwnProperty.call(H,"_decimal_format_decimal")&&(F.decimalDecimal=H._decimal_format_decimal),F}(N);if(!O||!$||!W)throw new Error("CLDR Data is missing information related to formatting decimals.");const re=F<0;F=Math.abs(F);let oe,ue,ie=Math.floor(F);/(?!')\.(?!')/.test(F.toString())&&(oe=String(F).replace(/^[^.]+/,"0"),oe=Number(oe).toFixed(H),/^1/.test(oe)?(ie++,F=ie,oe=void 0):oe=oe.replace(/^.*\./,"").replace(/0+$/,"")),ue=/(?!');(?!')/.test(O)?O.split(/(?!');(?!')/)[re?1:0]:(re?"-":"")+O;const Oe=ue.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let ye;1===Oe.length?ye="":(Oe.pop(),ye=$);const wt=String(ie).split("").reverse(),nn=[];let ht;const Et=function(ct){switch(ct){case"#":return wt.shift()||"";case"0":return wt.shift()||"0"}};for(;wt.length;){Oe.length&&(ht=Oe.shift());const ct=ht.replace(/(?!')[0#]|[0#](?!')/g,Et).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");nn.push(ct)}const We=nn.join(ye).split("").reverse().join("")+(oe?W+oe:"");return ue.replace(/[0#].*[0#]/,We)}S.numerate=function _({cldr:N,args:[F,...H]}){if(!(N instanceof u.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const O=N.getPluralForm(F,...H);return O?O[0]:H[H.length-1]},S.quant=R,S.numf=M,S.format_bytes=function P({cldr:N,args:[F,H=2]}){if(!(N instanceof u.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const O=["KB","MB","GB","TB","PB","EB","ZB","YB"],W=F&&Math.min(Math.floor(Math.log(F)/Math.log(1024)),O.length);return W?M({cldr:N,args:[F/Math.pow(1024,W),H]})+"\xa0"+O[W-1]:R({cldr:N,args:[F,"%s\xa0byte","%s\xa0bytes"]})}},2889:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.maketext=S.functions=S.config=void 0;const u=m(40);function M(P,N){const F=[];let H=!1,O=!1;return P.forEach(($,W)=>{if("_"===$.charAt(0))if("_*"===$){if(O)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";F.push(...N),H=!0}else{const re=$.match(S.config.underscoreDigitRe);if(re){if(H)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[ie,oe]=re,ue=Number(oe)-1;if(!(ue in N))throw`The "${ie}" substitution argument was not passed to the maketext function.`;F.push(N[ue]),O=!0}}else F.push($)}),F}S.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},S.functions={...u.functions},S.maketext=function R({cldr:P,lexicon:N,template:F,args:H}){if("string"!=typeof F)throw"You must pass a string template to the maketext function.";if(-1===(F=N&&N[F]||F).indexOf("["))return F;const O=F.match(S.config.bracketRe)||[],$=[];let W=!1,re="";if(O.forEach(ie=>{if("["===ie){if(W)throw Error(`Invalid maketext string: ${F} \nThe string contains nested brackets.`);W=!0}else if("]"===ie){if(!W)throw Error(`Invalid maketext string: ${F} \nThe string contains an unmatched closing bracket character (]).`);if(!re)throw Error(`Invalid maketext string: ${F} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let oe;W=!1;try{oe=function I(P,N,F){let H=N.split(",");if(H=H.map(W=>W.replace(S.config.fauxCommaRe,",")),1===H.length){if(!S.config.underscoreDigitRe.test(H[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[W]=M(H,F);return String(W)}const O=H.shift();if(!O||"function"!=typeof S.functions[O])throw`Invalid function "${O}" in maketext string.`;const $=M(H,F);return S.functions[O]({cldr:P,args:$})}(P,re,H)}catch(ue){throw Error(`Invalid maketext string: ${F} \n${ue}`)}re="",$.push(oe)}else if("~"===ie.charAt(0)){const oe=ie.charAt(1)||"~";W?re+=","===oe?S.config.fauxComma:oe:S.config.tildeChars.has(oe)?$.push(oe):$.push(ie)}else W?re+=ie:$.push(ie)}),W)throw Error(`Invalid maketext string: ${F} \nThe string contains an unmatched opening bracket character ([).`);return $.join("")}},7906:(B,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.htmlEscape=S.entityMap=void 0,S.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},S.htmlEscape=function m(u){return String(u).replace(/[&<>"'\/]/g,_=>S.entityMap[_])}},8533:(B,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.listToObject=void 0,S.listToObject=function _(...R){let I={};return function m(R){if(R.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let M=0,P=R.length;M<P;M+=2){const N=R[M];if("string"!=typeof N||""===N)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(R)&&(I=function u(R){const I=R.length,M={};let N,F,P=0;for(;P<I;)N=R[P],F=R[++P],M[N]=F,P++;return M}(R)),I}},50:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.commonValidators=void 0;const u=m(2257);S.commonValidators=new class _ extends u.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(I){const M=I||this.locale.maketext("This field is required.");return P=>{let N={},F=P.value;return F&&(F=F.toString()),F&&F.length?null:(N=this.addError(N,"required",M),N)}}requiredTrue(I){const M=I||this.locale.maketext("This control's value should be true.");return P=>{let N={};return!0!==P.value?(N=this.addError(N,"requiredTrue",M),N):null}}startsWithLetter(I){return M=>{let P={};return M.value&&!this.STARTS_WITH_LETTER.test(M.value)?(P=this.addError(P,"doesNotStartWithLetter",I),P):null}}containsSpaces(I){return M=>{let P={};return M.value&&!this.CONTAINS_SPACES.test(M.value)?(P=this.addError(P,"containsSpace",I),P):null}}minLength(I,M){return P=>{let N={};return P.value&&P.value.length<M?(N=this.addError(N,"minLength",I),N):null}}maxLength(I,M){return P=>{let N={};return P.value&&P.value.length>M?(N=this.addError(N,"maxLength",I),N):null}}}},7414:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.cPUserNoteValidators=void 0;const u=m(2257),_=m(9761),I=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;S.cPUserNoteValidators=new class M extends u.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(N=250,F=""){return H=>{let O=_.stringValidators.validUnicode()(H);if(!O){const $=this.locale.maketext("This note is too long.");O=_.stringValidators.maxCharacterLength($)(N,H)}if(!O){const $=H.match(I);if($){O={};const W=$.index,re=$[0].codePointAt(0);this.addError(O,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",re,1+W))}}return O}}}},6128:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.cpanelUsernameValidators=void 0;const u=m(2257);S.cpanelUsernameValidators=new class _ extends u.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(I){const M=I||this.locale.maketext("This is not a valid username.");return P=>{let N={};return P.value&&!this.VALID_USERNAME.test(P.value)?(N=this.addError(N,"invalidUsername",M),N):null}}}},6156:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.databaseValidators=void 0;const u=m(2257),_=m(6369);S.databaseValidators=new class R extends u.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(M,P,N){return F=>M===_.DatabaseType.MySQL?(this._dbPrefix=P||"",this.validateMySQLDatabaseName(F.value,N||"")):null}validateMySQLDatabaseName(M,P){const N=this._performMySqlDatabaseNameValidation(M,P);let F={};return N?(F=this.addError(F,"databaseName",N),F):null}_performMySqlDatabaseNameValidation(M,P){let N=null;return N=this._verifyNameLengthLimit(M),null!==N||(N=this._verifyDatabaseNameIgnoreLength(M),null!==N)||(N=this._verifyDatabaseName(M,P)),N}_verifyNameLengthLimit(M){let P=null,N=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(N-=this._dbPrefix.length+1);const F=unescape(encodeURIComponent(M)).length-N;return F>0&&(P={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",F,N)}),P}_verifyDatabaseNameIgnoreLength(M){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(M)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(M)?{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(M,P){if(null!==M&&M.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const N=this._verifySpecialWildcardsInDatabaseNames(M);return null!==N?N:P&&this._convertVersionStringToNumber(P)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(M)?{message:this.locale.maketext("This system\u2019s [asis,MySQL] version ([_1]) prohibits the character \u201c[_2]\u201d in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",P,".")}:null}_convertVersionStringToNumber(M){return M.match(/mariadb/i)&&(M=M.replace(/^[^-]+-/,"")),parseInt(M.replace(/-.*/,"").split(/\./).map(function(P){return P.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(M){if(null===M)return null;const P=M.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let N=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(N-=this._dbPrefix.length+1);const F=P-N;return F>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.",["\\","_","%"],N,P,F)}:null}}},4559:function(B,S,m){"use strict";var u=this&&this.__importDefault||function(N){return N&&N.__esModule?N:{default:N}};Object.defineProperty(S,"__esModule",{value:!0}),S.domainValidators=void 0;const _=m(549),R=u(m(4879)),I=u(m(836)),M=m(2257);S.domainValidators=new class P extends M.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(F){const H=[],O=R.default.ucs2.decode(F);for(let $=0;$<O.length;$++)O[$]>this.UNICODE_ASCII_CUTOFF&&H.push(R.default.ucs2.encode([O[$]]));return I.default(H)}_validateLabelBasics(){return F=>{let H={};if(F.value&&0!==F.value.length){if(F.value.length>this.MAX_LABEL_BYTES)H=this.addError(H,"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("-"===F.value[0])H=this.addError(H,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===F.value[F.value.length-1])H=this.addError(H,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(R.default.toASCII(F.value).length>this.MAX_LABEL_BYTES){const O=this._getNonASCII(F.value);H=this.addError(H,"length",this.locale.maketext("The label\u2019s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,O[0]))}}else H=this.addError(H,"length",this.locale.maketext("A label must not be empty."));return H}}validDomainLength(){return F=>{let H={};if(F.value.length>this.MAX_DOMAIN_BYTES)return H=this.addError(H,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),H;if(R.default.toASCII(F.value).length>this.MAX_DOMAIN_BYTES){const $=this._getNonASCII(F.value);return H=this.addError(H,"length",this.locale.maketext("The domain name\u2019s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,$[0])),H}return null}}validateLabel(){return F=>_.runValidationGroup(F,[this._validateLabelBasics(),H=>{let O={};return this.NONINITIAL_LABEL_REGEX.test(H.value)||(O=this.addError(O,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),O}])}validateTLD(){return F=>{let H={};return!this.VALID_TLD_REGEX.test(F.value)&&!this.VALID_IDN_TLD_REGEX.test(F.value)&&(H=this.addError(H,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),H}}fqdn(){return F=>{const H=F.value.split("."),O=H[H.length-1],$=H[0],W=F.value,re=[()=>{let ie={};const oe=this.IPv4_REGEX.test(W),ue=this.IPv6_REGEX.test(W);return oe||ue?ie=this.addError(ie,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):H.length<2?ie=this.addError(ie,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:$}),this.validateTLD().bind(this,{value:"."+O})];return H.forEach(ie=>{re.push(this.validateLabel().bind(this,{value:ie}))}),_.runValidationGroup(F,re)}}fqdnOrIP(){return F=>{const H=_.runValidationGroup(F,[this.anyIP()]),O=F.value.split("."),$=O[O.length-1],W=O[0],re=[oe=>{let ue={};return O.length<2&&(ue=this.addError(ue,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),ue},this.validDomainLength(),this.validateLabel().bind(this,{value:W}),this.validateTLD().bind(this,{value:"."+$})];O.forEach(oe=>{re.push(this.validateLabel().bind(this,{value:oe}))});const ie=_.runValidationGroup(F,re);return H&&ie?{...H,...ie}:null}}ipv4(){return F=>{let H={};return F.value&&!this.IPv4_REGEX.test(F.value)?(H=this.addError(H,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),H):null}}ipv6(){return F=>{let H={};return F.value&&!this.IPv6_REGEX.test(F.value)?(H=this.addError(H,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),H):null}}anyIP(){return F=>{let H={};return!F.value||this.IPv4_REGEX.test(F.value)||this.IPv6_REGEX.test(F.value)?null:(H=this.addError(H,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),H)}}}},8415:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.emailValidators=void 0;const u=m(2257);S.emailValidators=new class _ extends u.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(I){const M=I||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return P=>{let N={};return P.value&&!this.VALID_EMAIL.test(P.value)?(N=this.addError(N,"invalidEmail",M),N):null}}}},7348:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.equalityValidators=void 0;const u=m(2257);S.equalityValidators=new class _ extends u.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(I,M,P){return N=>{const F=N.get(M).value;let O={};return F===N.get(P).value&&""!==F?(O=this.addError(O,"equalFields",I),O):null}}}},2502:(B,S,m)=>{"use strict";S.uZ=void 0;m(50),m(4559);const I=m(2257);Object.defineProperty(S,"uZ",{enumerable:!0,get:function(){return I.BaseValidator}});m(6156),m(6369),m(6128),m(8415),m(7348),m(7414),m(9761)},2257:(B,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.BaseValidator=void 0;let m,u=!0;S.BaseValidator=class R{constructor(){this.prefix="",m={maketext:M=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(M){m=M}get locale(){return m}_buildKey(M){return u?`cpanel.${this.prefix}.${M}`:M}static disablePrefixing(){u=!1}static enablePrefixing(){u=!0}addError(M={},P,N){return"string"==typeof N&&(N={message:N}),M[this._buildKey(P)]=N,M}}},6369:(B,S)=>{"use strict";var u;Object.defineProperty(S,"__esModule",{value:!0}),S.DatabaseType=void 0,(u=S.DatabaseType||(S.DatabaseType={})).MySQL="MySQL",u.PostgreSQL="PostgreSQL"},91:(B,S)=>{"use strict";function R(M){return"0x"+M.toString(16)}Object.defineProperty(S,"__esModule",{value:!0}),S.characterLength=void 0,S.characterLength=function I(M,P){let N=0;for(let F=0;F<M.length;F++){N++;const H=M.charCodeAt(F);if(55296==(64512&H)){if(F++,F===M.length)throw new Error(P.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",R(H)));const O=M.charCodeAt(F);if(56320!=(64512&O))throw new Error(P.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[H,O].map(R),F))}}return N}},549:function(B,S,m){"use strict";var u=this&&this.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(S,"__esModule",{value:!0}),S.runValidationGroup=void 0;const _=u(m(9721));S.runValidationGroup=function R(I,M){const P={};return M.forEach(N=>{_.default(P,N(I))}),Object.keys(P).length?P:null}},9761:(B,S,m)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.stringValidators=void 0;const u=m(2257),_=m(91);S.stringValidators=new class I extends u.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return P=>{let N;try{N=_.characterLength(P,this.locale)}catch(F){const H={};return this.addError(H,"unicode",F.message),H}return null}}maxCharacterLength(P){return(N,F)=>{if(_.characterLength(F,this.locale)>N){const W={};return this.addError(W,"length",P),W}return null}}maxUTF8Length(P){return(N,F)=>{if(function R(M){return unescape(encodeURIComponent(M)).length}(F)>N){const H={};return this.addError(H,"length",P),H}return null}}}},4994:(B,S,m)=>{var u=m(4312),_=m(6421),R=m(5764),I=m(8685),M=m(6676);function P(N){var F=-1,H=null==N?0:N.length;for(this.clear();++F<H;){var O=N[F];this.set(O[0],O[1])}}P.prototype.clear=u,P.prototype.delete=_,P.prototype.get=R,P.prototype.has=I,P.prototype.set=M,B.exports=P},9215:(B,S,m)=>{var u=m(1840),_=m(4378),R=m(4981),I=m(7343),M=m(8895);function P(N){var F=-1,H=null==N?0:N.length;for(this.clear();++F<H;){var O=N[F];this.set(O[0],O[1])}}P.prototype.clear=u,P.prototype.delete=_,P.prototype.get=R,P.prototype.has=I,P.prototype.set=M,B.exports=P},1501:(B,S,m)=>{var R=m(3436)(m(2119),"Map");B.exports=R},9850:(B,S,m)=>{var u=m(638),_=m(1184),R=m(866),I=m(3771),M=m(1772);function P(N){var F=-1,H=null==N?0:N.length;for(this.clear();++F<H;){var O=N[F];this.set(O[0],O[1])}}P.prototype.clear=u,P.prototype.delete=_,P.prototype.get=R,P.prototype.has=I,P.prototype.set=M,B.exports=P},6323:(B,S,m)=>{var R=m(3436)(m(2119),"Set");B.exports=R},8849:(B,S,m)=>{var u=m(9850),_=m(4600),R=m(1387);function I(M){var P=-1,N=null==M?0:M.length;for(this.__data__=new u;++P<N;)this.add(M[P])}I.prototype.add=I.prototype.push=_,I.prototype.has=R,B.exports=I},443:(B,S,m)=>{var u=m(2119);B.exports=u.Symbol},6999:B=>{B.exports=function S(m,u,_){switch(_.length){case 0:return m.call(u);case 1:return m.call(u,_[0]);case 2:return m.call(u,_[0],_[1]);case 3:return m.call(u,_[0],_[1],_[2])}return m.apply(u,_)}},1253:(B,S,m)=>{var u=m(4164);B.exports=function _(R,I){return!(null==R||!R.length)&&u(R,I,0)>-1}},177:B=>{B.exports=function S(m,u,_){for(var R=-1,I=null==m?0:m.length;++R<I;)if(_(u,m[R]))return!0;return!1}},2271:(B,S,m)=>{var u=m(5334),_=m(7151),R=m(1503),I=m(891),M=m(8442),P=m(8159),F=Object.prototype.hasOwnProperty;B.exports=function H(O,$){var W=R(O),re=!W&&_(O),ie=!W&&!re&&I(O),oe=!W&&!re&&!ie&&P(O),ue=W||re||ie||oe,Ae=ue?u(O.length,String):[],ot=Ae.length;for(var Oe in O)($||F.call(O,Oe))&&(!ue||!("length"==Oe||ie&&("offset"==Oe||"parent"==Oe)||oe&&("buffer"==Oe||"byteLength"==Oe||"byteOffset"==Oe)||M(Oe,ot)))&&Ae.push(Oe);return Ae}},4633:B=>{B.exports=function S(m,u){for(var _=-1,R=null==m?0:m.length,I=Array(R);++_<R;)I[_]=u(m[_],_,m);return I}},8745:B=>{B.exports=function S(m,u,_,R){var I=-1,M=null==m?0:m.length;for(R&&M&&(_=m[++I]);++I<M;)_=u(_,m[I],I,m);return _}},5481:(B,S,m)=>{var _=m(1847)("length");B.exports=_},6422:B=>{B.exports=function S(m){return m.split("")}},69:B=>{var S=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;B.exports=function m(u){return u.match(S)||[]}},9719:(B,S,m)=>{var u=m(5683),_=m(217),I=Object.prototype.hasOwnProperty;B.exports=function M(P,N,F){var H=P[N];(!I.call(P,N)||!_(H,F)||void 0===F&&!(N in P))&&u(P,N,F)}},3503:(B,S,m)=>{var u=m(217);B.exports=function _(R,I){for(var M=R.length;M--;)if(u(R[M][0],I))return M;return-1}},5683:(B,S,m)=>{var u=m(6713);B.exports=function _(R,I,M){"__proto__"==I&&u?u(R,I,{configurable:!0,enumerable:!0,value:M,writable:!0}):R[I]=M}},5317:B=>{B.exports=function S(m,u,_,R){for(var I=m.length,M=_+(R?1:-1);R?M--:++M<I;)if(u(m[M],M,m))return M;return-1}},3337:(B,S,m)=>{var u=m(443),_=m(1318),R=m(2902),P=u?u.toStringTag:void 0;B.exports=function N(F){return null==F?void 0===F?"[object Undefined]":"[object Null]":P&&P in Object(F)?_(F):R(F)}},4164:(B,S,m)=>{var u=m(5317),_=m(968),R=m(4977);B.exports=function I(M,P,N){return P==P?R(M,P,N):u(M,_,N)}},186:(B,S,m)=>{var u=m(3337),_=m(2671);B.exports=function I(M){return _(M)&&"[object Arguments]"==u(M)}},968:B=>{B.exports=function S(m){return m!=m}},7304:(B,S,m)=>{var u=m(5946),_=m(1943),R=m(5940),I=m(2827),P=/^\[object .+?Constructor\]$/,$=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");B.exports=function W(re){return!(!R(re)||_(re))&&(u(re)?$:P).test(I(re))}},1083:(B,S,m)=>{var u=m(3337),_=m(6231),R=m(2671),Te={};Te["[object Float32Array]"]=Te["[object Float64Array]"]=Te["[object Int8Array]"]=Te["[object Int16Array]"]=Te["[object Int32Array]"]=Te["[object Uint8Array]"]=Te["[object Uint8ClampedArray]"]=Te["[object Uint16Array]"]=Te["[object Uint32Array]"]=!0,Te["[object Arguments]"]=Te["[object Array]"]=Te["[object ArrayBuffer]"]=Te["[object Boolean]"]=Te["[object DataView]"]=Te["[object Date]"]=Te["[object Error]"]=Te["[object Function]"]=Te["[object Map]"]=Te["[object Number]"]=Te["[object Object]"]=Te["[object RegExp]"]=Te["[object Set]"]=Te["[object String]"]=Te["[object WeakMap]"]=!1,B.exports=function Nt(Xe){return R(Xe)&&_(Xe.length)&&!!Te[u(Xe)]}},2809:(B,S,m)=>{var u=m(5940),_=m(5488),R=m(2158),M=Object.prototype.hasOwnProperty;B.exports=function P(N){if(!u(N))return R(N);var F=_(N),H=[];for(var O in N)"constructor"==O&&(F||!M.call(N,O))||H.push(O);return H}},1847:B=>{B.exports=function S(m){return function(u){return null==u?void 0:u[m]}}},2724:B=>{B.exports=function S(m){return function(u){return null==m?void 0:m[u]}}},7065:B=>{var m=Math.floor;B.exports=function u(_,R){var I="";if(!_||R<1||R>9007199254740991)return I;do{R%2&&(I+=_),(R=m(R/2))&&(_+=_)}while(R);return I}},3269:(B,S,m)=>{var u=m(2608),_=m(3983),R=m(2185);B.exports=function I(M,P){return R(_(M,P,u),M+"")}},9510:(B,S,m)=>{var u=m(6684),_=m(6713),R=m(2608);B.exports=_?function(M,P){return _(M,"toString",{configurable:!0,enumerable:!1,value:u(P),writable:!0})}:R},4363:B=>{B.exports=function S(m,u,_){var R=-1,I=m.length;u<0&&(u=-u>I?0:I+u),(_=_>I?I:_)<0&&(_+=I),I=u>_?0:_-u>>>0,u>>>=0;for(var M=Array(I);++R<I;)M[R]=m[R+u];return M}},5334:B=>{B.exports=function S(m,u){for(var _=-1,R=Array(m);++_<m;)R[_]=u(_);return R}},3935:(B,S,m)=>{var u=m(443),_=m(4633),R=m(1503),I=m(4129),P=u?u.prototype:void 0,N=P?P.toString:void 0;B.exports=function F(H){if("string"==typeof H)return H;if(R(H))return _(H,F)+"";if(I(H))return N?N.call(H):"";var O=H+"";return"0"==O&&1/H==-1/0?"-0":O}},3348:(B,S,m)=>{var u=m(2760),_=/^\s+/;B.exports=function R(I){return I&&I.slice(0,u(I)+1).replace(_,"")}},5647:B=>{B.exports=function S(m){return function(u){return m(u)}}},707:(B,S,m)=>{var u=m(8849),_=m(1253),R=m(177),I=m(5972),M=m(4575),P=m(4174);B.exports=function F(H,O,$){var W=-1,re=_,ie=H.length,oe=!0,ue=[],Ae=ue;if($)oe=!1,re=R;else if(ie>=200){var ot=O?null:M(H);if(ot)return P(ot);oe=!1,re=I,Ae=new u}else Ae=O?[]:ue;e:for(;++W<ie;){var Oe=H[W],ye=O?O(Oe):Oe;if(Oe=$||0!==Oe?Oe:0,oe&&ye==ye){for(var wt=Ae.length;wt--;)if(Ae[wt]===ye)continue e;O&&Ae.push(ye),ue.push(Oe)}else re(Ae,ye,$)||(Ae!==ue&&Ae.push(ye),ue.push(Oe))}return ue}},5972:B=>{B.exports=function S(m,u){return m.has(u)}},2329:(B,S,m)=>{var u=m(4363);B.exports=function _(R,I,M){var P=R.length;return M=void 0===M?P:M,!I&&M>=P?R:u(R,I,M)}},1989:(B,S,m)=>{var u=m(9719),_=m(5683);B.exports=function R(I,M,P,N){var F=!P;P||(P={});for(var H=-1,O=M.length;++H<O;){var $=M[H],W=N?N(P[$],I[$],$,P,I):void 0;void 0===W&&(W=I[$]),F?_(P,$,W):u(P,$,W)}return P}},4610:(B,S,m)=>{var u=m(2119);B.exports=u["__core-js_shared__"]},4944:(B,S,m)=>{var u=m(3269),_=m(3342);B.exports=function R(I){return u(function(M,P){var N=-1,F=P.length,H=F>1?P[F-1]:void 0,O=F>2?P[2]:void 0;for(H=I.length>3&&"function"==typeof H?(F--,H):void 0,O&&_(P[0],P[1],O)&&(H=F<3?void 0:H,F=1),M=Object(M);++N<F;){var $=P[N];$&&I(M,$,N,H)}return M})}},1491:(B,S,m)=>{var u=m(8745),_=m(4707),R=m(7188),M=RegExp("['\u2019]","g");B.exports=function P(N){return function(F){return u(R(_(F).replace(M,"")),N,"")}}},5171:(B,S,m)=>{var u=m(7065),_=m(3935),R=m(2329),I=m(7609),M=m(2315),P=m(6007),N=Math.ceil;B.exports=function F(H,O){var $=(O=void 0===O?" ":_(O)).length;if($<2)return $?u(O,H):O;var W=u(O,N(H/M(O)));return I(O)?R(P(W),0,H).join(""):W.slice(0,H)}},4575:(B,S,m)=>{var u=m(6323),_=m(2552),R=m(4174),M=u&&1/R(new u([,-0]))[1]==1/0?function(P){return new u(P)}:_;B.exports=M},9148:(B,S,m)=>{var R=m(2724)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});B.exports=R},6713:(B,S,m)=>{var u=m(3436),_=function(){try{var R=u(Object,"defineProperty");return R({},"",{}),R}catch{}}();B.exports=_},9122:B=>{var S="object"==typeof global&&global&&global.Object===Object&&global;B.exports=S},4537:(B,S,m)=>{var u=m(3819);B.exports=function _(R,I){var M=R.__data__;return u(I)?M["string"==typeof I?"string":"hash"]:M.map}},3436:(B,S,m)=>{var u=m(7304),_=m(1990);B.exports=function R(I,M){var P=_(I,M);return u(P)?P:void 0}},9519:(B,S,m)=>{var _=m(9385)(Object.getPrototypeOf,Object);B.exports=_},1318:(B,S,m)=>{var u=m(443),_=Object.prototype,R=_.hasOwnProperty,I=_.toString,M=u?u.toStringTag:void 0;B.exports=function P(N){var F=R.call(N,M),H=N[M];try{N[M]=void 0;var O=!0}catch{}var $=I.call(N);return O&&(F?N[M]=H:delete N[M]),$}},1990:B=>{B.exports=function S(m,u){return null==m?void 0:m[u]}},7609:B=>{var P=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");B.exports=function N(F){return P.test(F)}},9062:B=>{var S=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;B.exports=function m(u){return S.test(u)}},4312:(B,S,m)=>{var u=m(862);B.exports=function _(){this.__data__=u?u(null):{},this.size=0}},6421:B=>{B.exports=function S(m){var u=this.has(m)&&delete this.__data__[m];return this.size-=u?1:0,u}},5764:(B,S,m)=>{var u=m(862),I=Object.prototype.hasOwnProperty;B.exports=function M(P){var N=this.__data__;if(u){var F=N[P];return"__lodash_hash_undefined__"===F?void 0:F}return I.call(N,P)?N[P]:void 0}},8685:(B,S,m)=>{var u=m(862),R=Object.prototype.hasOwnProperty;B.exports=function I(M){var P=this.__data__;return u?void 0!==P[M]:R.call(P,M)}},6676:(B,S,m)=>{var u=m(862);B.exports=function R(I,M){var P=this.__data__;return this.size+=this.has(I)?0:1,P[I]=u&&void 0===M?"__lodash_hash_undefined__":M,this}},8442:B=>{var m=/^(?:0|[1-9]\d*)$/;B.exports=function u(_,R){var I=typeof _;return!!(R=R??9007199254740991)&&("number"==I||"symbol"!=I&&m.test(_))&&_>-1&&_%1==0&&_<R}},3342:(B,S,m)=>{var u=m(217),_=m(6507),R=m(8442),I=m(5940);B.exports=function M(P,N,F){if(!I(F))return!1;var H=typeof N;return!!("number"==H?_(F)&&R(N,F.length):"string"==H&&N in F)&&u(F[N],P)}},3819:B=>{B.exports=function S(m){var u=typeof m;return"string"==u||"number"==u||"symbol"==u||"boolean"==u?"__proto__"!==m:null===m}},1943:(B,S,m)=>{var I,u=m(4610),_=(I=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||""))?"Symbol(src)_1."+I:"";B.exports=function R(I){return!!_&&_ in I}},5488:B=>{var S=Object.prototype;B.exports=function m(u){var _=u&&u.constructor;return u===("function"==typeof _&&_.prototype||S)}},1840:B=>{B.exports=function S(){this.__data__=[],this.size=0}},4378:(B,S,m)=>{var u=m(3503),R=Array.prototype.splice;B.exports=function I(M){var P=this.__data__,N=u(P,M);return!(N<0||(N==P.length-1?P.pop():R.call(P,N,1),--this.size,0))}},4981:(B,S,m)=>{var u=m(3503);B.exports=function _(R){var I=this.__data__,M=u(I,R);return M<0?void 0:I[M][1]}},7343:(B,S,m)=>{var u=m(3503);B.exports=function _(R){return u(this.__data__,R)>-1}},8895:(B,S,m)=>{var u=m(3503);B.exports=function _(R,I){var M=this.__data__,P=u(M,R);return P<0?(++this.size,M.push([R,I])):M[P][1]=I,this}},638:(B,S,m)=>{var u=m(4994),_=m(9215),R=m(1501);B.exports=function I(){this.size=0,this.__data__={hash:new u,map:new(R||_),string:new u}}},1184:(B,S,m)=>{var u=m(4537);B.exports=function _(R){var I=u(this,R).delete(R);return this.size-=I?1:0,I}},866:(B,S,m)=>{var u=m(4537);B.exports=function _(R){return u(this,R).get(R)}},3771:(B,S,m)=>{var u=m(4537);B.exports=function _(R){return u(this,R).has(R)}},1772:(B,S,m)=>{var u=m(4537);B.exports=function _(R,I){var M=u(this,R),P=M.size;return M.set(R,I),this.size+=M.size==P?0:1,this}},862:(B,S,m)=>{var _=m(3436)(Object,"create");B.exports=_},2158:B=>{B.exports=function S(m){var u=[];if(null!=m)for(var _ in Object(m))u.push(_);return u}},3597:(B,S,m)=>{B=m.nmd(B);var u=m(9122),_=S&&!S.nodeType&&S,R=_&&B&&!B.nodeType&&B,M=R&&R.exports===_&&u.process,P=function(){try{return R&&R.require&&R.require("util").types||M&&M.binding&&M.binding("util")}catch{}}();B.exports=P},2902:B=>{var m=Object.prototype.toString;B.exports=function u(_){return m.call(_)}},9385:B=>{B.exports=function S(m,u){return function(_){return m(u(_))}}},3983:(B,S,m)=>{var u=m(6999),_=Math.max;B.exports=function R(I,M,P){return M=_(void 0===M?I.length-1:M,0),function(){for(var N=arguments,F=-1,H=_(N.length-M,0),O=Array(H);++F<H;)O[F]=N[M+F];F=-1;for(var $=Array(M+1);++F<M;)$[F]=N[F];return $[M]=P(O),u(I,this,$)}}},2119:(B,S,m)=>{var u=m(9122),_="object"==typeof self&&self&&self.Object===Object&&self,R=u||_||Function("return this")();B.exports=R},4600:B=>{B.exports=function m(u){return this.__data__.set(u,"__lodash_hash_undefined__"),this}},1387:B=>{B.exports=function S(m){return this.__data__.has(m)}},4174:B=>{B.exports=function S(m){var u=-1,_=Array(m.size);return m.forEach(function(R){_[++u]=R}),_}},2185:(B,S,m)=>{var u=m(9510),R=m(29)(u);B.exports=R},29:B=>{var u=Date.now;B.exports=function _(R){var I=0,M=0;return function(){var P=u(),N=16-(P-M);if(M=P,N>0){if(++I>=800)return arguments[0]}else I=0;return R.apply(void 0,arguments)}}},4977:B=>{B.exports=function S(m,u,_){for(var R=_-1,I=m.length;++R<I;)if(m[R]===u)return R;return-1}},2315:(B,S,m)=>{var u=m(5481),_=m(7609),R=m(1149);B.exports=function I(M){return _(M)?R(M):u(M)}},6007:(B,S,m)=>{var u=m(6422),_=m(7609),R=m(6319);B.exports=function I(M){return _(M)?R(M):u(M)}},2827:B=>{var m=Function.prototype.toString;B.exports=function u(_){if(null!=_){try{return m.call(_)}catch{}try{return _+""}catch{}}return""}},2760:B=>{var S=/\s/;B.exports=function m(u){for(var _=u.length;_--&&S.test(u.charAt(_)););return _}},1149:B=>{var S="\\ud800-\\udfff",M="["+S+"]",P="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",N="\\ud83c[\\udffb-\\udfff]",H="[^"+S+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",$="[\\ud800-\\udbff][\\udc00-\\udfff]",re="(?:"+P+"|"+N+")?",ie="[\\ufe0e\\ufe0f]?",ue=ie+re+"(?:\\u200d(?:"+[H,O,$].join("|")+")"+ie+re+")*",Ae="(?:"+[H+P+"?",P,O,$,M].join("|")+")",ot=RegExp(N+"(?="+N+")|"+Ae+ue,"g");B.exports=function Oe(ye){for(var wt=ot.lastIndex=0;ot.test(ye);)++wt;return wt}},6319:B=>{var S="\\ud800-\\udfff",M="["+S+"]",P="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",N="\\ud83c[\\udffb-\\udfff]",H="[^"+S+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",$="[\\ud800-\\udbff][\\udc00-\\udfff]",re="(?:"+P+"|"+N+")?",ie="[\\ufe0e\\ufe0f]?",ue=ie+re+"(?:\\u200d(?:"+[H,O,$].join("|")+")"+ie+re+")*",Ae="(?:"+[H+P+"?",P,O,$,M].join("|")+")",ot=RegExp(N+"(?="+N+")|"+Ae+ue,"g");B.exports=function Oe(ye){return ye.match(ot)||[]}},910:B=>{var S="\\ud800-\\udfff",I="\\u2700-\\u27bf",M="a-z\\xdf-\\xf6\\xf8-\\xff",O="A-Z\\xc0-\\xd6\\xd8-\\xde",W="\\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",ie="["+W+"]",ue="\\d+",Ae="["+I+"]",ot="["+M+"]",Oe="[^"+S+W+ue+I+M+O+"]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",Et="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+O+"]",Gt="(?:"+ot+"|"+Oe+")",Te="(?:"+We+"|"+Oe+")",Nt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Xe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",we="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",fe="[\\ufe0e\\ufe0f]?",Ut=fe+we+"(?:\\u200d(?:"+["[^"+S+"]",ht,Et].join("|")+")"+fe+we+")*",rn="(?:"+[Ae,ht,Et].join("|")+")"+Ut,sn=RegExp([We+"?"+ot+"+"+Nt+"(?="+[ie,We,"$"].join("|")+")",Te+"+"+Xe+"(?="+[ie,We+Gt,"$"].join("|")+")",We+"?"+Gt+"+"+Nt,We+"+"+Xe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ue,rn].join("|"),"g");B.exports=function Xt(Fn){return Fn.match(sn)||[]}},9919:(B,S,m)=>{var u=m(1989),_=m(4944),R=m(6555),I=_(function(M,P){u(P,R(P),M)});B.exports=I},6684:B=>{B.exports=function S(m){return function(){return m}}},4707:(B,S,m)=>{var u=m(9148),_=m(3943),R=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,H=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");B.exports=function O($){return($=_($))&&$.replace(R,u).replace(H,"")}},217:B=>{B.exports=function S(m,u){return m===u||m!=m&&u!=u}},9721:(B,S,m)=>{B.exports=m(9919)},2608:B=>{B.exports=function S(m){return m}},7151:(B,S,m)=>{var u=m(186),_=m(2671),R=Object.prototype,I=R.hasOwnProperty,M=R.propertyIsEnumerable,P=u(function(){return arguments}())?u:function(N){return _(N)&&I.call(N,"callee")&&!M.call(N,"callee")};B.exports=P},1503:B=>{B.exports=Array.isArray},6507:(B,S,m)=>{var u=m(5946),_=m(6231);B.exports=function R(I){return null!=I&&_(I.length)&&!u(I)}},4798:(B,S,m)=>{var u=m(3337),_=m(2671);B.exports=function I(M){return!0===M||!1===M||_(M)&&"[object Boolean]"==u(M)}},891:(B,S,m)=>{B=m.nmd(B);var u=m(2119),_=m(3580),R=S&&!S.nodeType&&S,I=R&&B&&!B.nodeType&&B,P=I&&I.exports===R?u.Buffer:void 0;B.exports=(P?P.isBuffer:void 0)||_},5946:(B,S,m)=>{var u=m(3337),_=m(5940);B.exports=function N(F){if(!_(F))return!1;var H=u(F);return"[object Function]"==H||"[object GeneratorFunction]"==H||"[object AsyncFunction]"==H||"[object Proxy]"==H}},6231:B=>{B.exports=function m(u){return"number"==typeof u&&u>-1&&u%1==0&&u<=9007199254740991}},1305:B=>{B.exports=function S(m){return null===m}},9138:(B,S,m)=>{var u=m(3337),_=m(2671);B.exports=function I(M){return"number"==typeof M||_(M)&&"[object Number]"==u(M)}},5940:B=>{B.exports=function S(m){var u=typeof m;return null!=m&&("object"==u||"function"==u)}},2671:B=>{B.exports=function S(m){return null!=m&&"object"==typeof m}},7614:(B,S,m)=>{var u=m(3337),_=m(9519),R=m(2671),N=Function.prototype.toString,F=Object.prototype.hasOwnProperty,H=N.call(Object);B.exports=function O($){if(!R($)||"[object Object]"!=u($))return!1;var W=_($);if(null===W)return!0;var re=F.call(W,"constructor")&&W.constructor;return"function"==typeof re&&re instanceof re&&N.call(re)==H}},248:(B,S,m)=>{var u=m(3337),_=m(1503),R=m(2671);B.exports=function M(P){return"string"==typeof P||!_(P)&&R(P)&&"[object String]"==u(P)}},4129:(B,S,m)=>{var u=m(3337),_=m(2671);B.exports=function I(M){return"symbol"==typeof M||_(M)&&"[object Symbol]"==u(M)}},8159:(B,S,m)=>{var u=m(1083),_=m(5647),R=m(3597),I=R&&R.isTypedArray,M=I?_(I):u;B.exports=M},4235:B=>{B.exports=function S(m){return void 0===m}},6555:(B,S,m)=>{var u=m(2271),_=m(2809),R=m(6507);B.exports=function I(M){return R(M)?u(M,!0):_(M)}},2552:B=>{B.exports=function S(){}},8448:(B,S,m)=>{var u=m(5171),_=m(2315),R=m(4401),I=m(3943);B.exports=function M(P,N,F){P=I(P);var H=(N=R(N))?_(P):0;return N&&H<N?u(N-H,F)+P:P}},1978:(B,S,m)=>{var _=m(1491)(function(R,I,M){return R+(M?"_":"")+I.toLowerCase()});B.exports=_},3580:B=>{B.exports=function S(){return!1}},2232:(B,S,m)=>{var u=m(1467),_=1/0;B.exports=function I(M){return M?(M=u(M))===_||M===-_?17976931348623157e292*(M<0?-1:1):M==M?M:0:0===M?M:0}},4401:(B,S,m)=>{var u=m(2232);B.exports=function _(R){var I=u(R),M=I%1;return I==I?M?I-M:I:0}},1467:(B,S,m)=>{var u=m(3348),_=m(5940),R=m(4129),M=/^[-+]0x[0-9a-f]+$/i,P=/^0b[01]+$/i,N=/^0o[0-7]+$/i,F=parseInt;B.exports=function H(O){if("number"==typeof O)return O;if(R(O))return NaN;if(_(O)){var $="function"==typeof O.valueOf?O.valueOf():O;O=_($)?$+"":$}if("string"!=typeof O)return 0===O?O:+O;O=u(O);var W=P.test(O);return W||N.test(O)?F(O.slice(2),W?2:8):M.test(O)?NaN:+O}},3943:(B,S,m)=>{var u=m(3935);B.exports=function _(R){return null==R?"":u(R)}},836:(B,S,m)=>{var u=m(707);B.exports=function _(R){return R&&R.length?u(R):[]}},7188:(B,S,m)=>{var u=m(69),_=m(9062),R=m(3943),I=m(910);B.exports=function M(P,N,F){return P=R(P),void 0===(N=F?void 0:N)?_(P)?I(P):u(P):P.match(N)||[]}},4879:(B,S,m)=>{"use strict";m.r(S),m.d(S,{decode:()=>We,default:()=>Xe,encode:()=>ct,toASCII:()=>Te,toUnicode:()=>Gt,ucs2decode:()=>ye,ucs2encode:()=>wt});const u=2147483647,_=36,O=/^xn--/,$=/[^\0-\x7E]/,W=/[\x2E\u3002\uFF0E\uFF61]/g,re={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oe=Math.floor,ue=String.fromCharCode;function Ae(we){throw new RangeError(re[we])}function Oe(we,fe){const ae=we.split("@");let Pe="";ae.length>1&&(Pe=ae[0]+"@",we=ae[1]);const Ut=function ot(we,fe){const ae=[];let Pe=we.length;for(;Pe--;)ae[Pe]=fe(we[Pe]);return ae}((we=we.replace(W,".")).split("."),fe).join(".");return Pe+Ut}function ye(we){const fe=[];let ae=0;const Pe=we.length;for(;ae<Pe;){const st=we.charCodeAt(ae++);if(st>=55296&&st<=56319&&ae<Pe){const Ut=we.charCodeAt(ae++);56320==(64512&Ut)?fe.push(((1023&st)<<10)+(1023&Ut)+65536):(fe.push(st),ae--)}else fe.push(st)}return fe}const wt=we=>String.fromCodePoint(...we),nn=function(we){return we-48<10?we-22:we-65<26?we-65:we-97<26?we-97:_},ht=function(we,fe){return we+22+75*(we<26)-((0!=fe)<<5)},Et=function(we,fe,ae){let Pe=0;for(we=ae?oe(we/700):we>>1,we+=oe(we/fe);we>455;Pe+=_)we=oe(we/35);return oe(Pe+36*we/(we+38))},We=function(we){const fe=[],ae=we.length;let Pe=0,st=128,Ut=72,rn=we.lastIndexOf("-");rn<0&&(rn=0);for(let sn=0;sn<rn;++sn)we.charCodeAt(sn)>=128&&Ae("not-basic"),fe.push(we.charCodeAt(sn));for(let sn=rn>0?rn+1:0;sn<ae;){let Xt=Pe;for(let En=1,Dn=_;;Dn+=_){sn>=ae&&Ae("invalid-input");const xn=nn(we.charCodeAt(sn++));(xn>=_||xn>oe((u-Pe)/En))&&Ae("overflow"),Pe+=xn*En;const Ht=Dn<=Ut?1:Dn>=Ut+26?26:Dn-Ut;if(xn<Ht)break;const It=_-Ht;En>oe(u/It)&&Ae("overflow"),En*=It}const Fn=fe.length+1;Ut=Et(Pe-Xt,Fn,0==Xt),oe(Pe/Fn)>u-st&&Ae("overflow"),st+=oe(Pe/Fn),Pe%=Fn,fe.splice(Pe++,0,st)}return String.fromCodePoint(...fe)},ct=function(we){const fe=[];let ae=(we=ye(we)).length,Pe=128,st=0,Ut=72;for(const Xt of we)Xt<128&&fe.push(ue(Xt));let rn=fe.length,sn=rn;for(rn&&fe.push("-");sn<ae;){let Xt=u;for(const En of we)En>=Pe&&En<Xt&&(Xt=En);const Fn=sn+1;Xt-Pe>oe((u-st)/Fn)&&Ae("overflow"),st+=(Xt-Pe)*Fn,Pe=Xt;for(const En of we)if(En<Pe&&++st>u&&Ae("overflow"),En==Pe){let Dn=st;for(let xn=_;;xn+=_){const Ht=xn<=Ut?1:xn>=Ut+26?26:xn-Ut;if(Dn<Ht)break;const It=Dn-Ht,lr=_-Ht;fe.push(ue(ht(Ht+It%lr,0))),Dn=oe(It/lr)}fe.push(ue(ht(Dn,0))),Ut=Et(st,Fn,sn==rn),st=0,++sn}++st,++Pe}return fe.join("")},Gt=function(we){return Oe(we,function(fe){return O.test(fe)?We(fe.slice(4).toLowerCase()):fe})},Te=function(we){return Oe(we,function(fe){return $.test(fe)?"xn--"+ct(fe):fe})},Xe={version:"2.1.0",ucs2:{decode:ye,encode:wt},decode:We,encode:ct,toASCII:Te,toUnicode:Gt}},1869:(B,S,m)=>{"use strict";m.d(S,{d:()=>_});var u=m(3489);class _ extends u.L{constructor(I,M,P){super(),this.parent=I,this.outerValue=M,this.outerIndex=P,this.index=0}_next(I){this.parent.notifyNext(this.outerValue,I,this.outerIndex,this.index++,this)}_error(I){this.parent.notifyError(I,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(B,S,m)=>{"use strict";m.d(S,{y:()=>$});var u=m(3489),R=m(7668),I=m(3292),P=m(3821),N=m(5379);var O=m(2830);let $=(()=>{class re{constructor(oe){this._isScalar=!1,oe&&(this._subscribe=oe)}lift(oe){const ue=new re;return ue.source=this,ue.operator=oe,ue}subscribe(oe,ue,Ae){const{operator:ot}=this,Oe=function M(re,ie,oe){if(re){if(re instanceof u.L)return re;if(re[R.b])return re[R.b]()}return re||ie||oe?new u.L(re,ie,oe):new u.L(I.c)}(oe,ue,Ae);if(Oe.add(ot?ot.call(Oe,this.source):this.source||O.v.useDeprecatedSynchronousErrorHandling&&!Oe.syncErrorThrowable?this._subscribe(Oe):this._trySubscribe(Oe)),O.v.useDeprecatedSynchronousErrorHandling&&Oe.syncErrorThrowable&&(Oe.syncErrorThrowable=!1,Oe.syncErrorThrown))throw Oe.syncErrorValue;return Oe}_trySubscribe(oe){try{return this._subscribe(oe)}catch(ue){O.v.useDeprecatedSynchronousErrorHandling&&(oe.syncErrorThrown=!0,oe.syncErrorValue=ue),function _(re){for(;re;){const{closed:ie,destination:oe,isStopped:ue}=re;if(ie||ue)return!1;re=oe&&oe instanceof u.L?oe:null}return!0}(oe)?oe.error(ue):console.warn(ue)}}forEach(oe,ue){return new(ue=W(ue))((Ae,ot)=>{let Oe;Oe=this.subscribe(ye=>{try{oe(ye)}catch(wt){ot(wt),Oe&&Oe.unsubscribe()}},ot,Ae)})}_subscribe(oe){const{source:ue}=this;return ue&&ue.subscribe(oe)}[P.L](){return this}pipe(...oe){return 0===oe.length?this:function H(re){return 0===re.length?N.y:1===re.length?re[0]:function(oe){return re.reduce((ue,Ae)=>Ae(ue),oe)}}(oe)(this)}toPromise(oe){return new(oe=W(oe))((ue,Ae)=>{let ot;this.subscribe(Oe=>ot=Oe,Oe=>Ae(Oe),()=>ue(ot))})}}return re.create=ie=>new re(ie),re})();function W(re){if(re||(re=O.v.Promise||Promise),!re)throw new Error("no Promise impl found");return re}},3292:(B,S,m)=>{"use strict";m.d(S,{c:()=>R});var u=m(2830),_=m(2782);const R={closed:!0,next(I){},error(I){if(u.v.useDeprecatedSynchronousErrorHandling)throw I;(0,_.z)(I)},complete(){}}},826:(B,S,m)=>{"use strict";m.d(S,{L:()=>_});var u=m(3489);class _ extends u.L{notifyNext(I,M,P,N,F){this.destination.next(M)}notifyError(I,M){this.destination.error(I)}notifyComplete(I){this.destination.complete()}}},5529:(B,S,m)=>{"use strict";m.d(S,{xQ:()=>F,Yc:()=>N});var u=m(2916),_=m(3489),R=m(2654),I=m(5279);class M extends R.w{constructor($,W){super(),this.subject=$,this.subscriber=W,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const $=this.subject,W=$.observers;if(this.subject=null,!W||0===W.length||$.isStopped||$.closed)return;const re=W.indexOf(this.subscriber);-1!==re&&W.splice(re,1)}}var P=m(7668);class N extends _.L{constructor($){super($),this.destination=$}}let F=(()=>{class O extends u.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[P.b](){return new N(this)}lift(W){const re=new H(this,this);return re.operator=W,re}next(W){if(this.closed)throw new I.N;if(!this.isStopped){const{observers:re}=this,ie=re.length,oe=re.slice();for(let ue=0;ue<ie;ue++)oe[ue].next(W)}}error(W){if(this.closed)throw new I.N;this.hasError=!0,this.thrownError=W,this.isStopped=!0;const{observers:re}=this,ie=re.length,oe=re.slice();for(let ue=0;ue<ie;ue++)oe[ue].error(W);this.observers.length=0}complete(){if(this.closed)throw new I.N;this.isStopped=!0;const{observers:W}=this,re=W.length,ie=W.slice();for(let oe=0;oe<re;oe++)ie[oe].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(W){if(this.closed)throw new I.N;return super._trySubscribe(W)}_subscribe(W){if(this.closed)throw new I.N;return this.hasError?(W.error(this.thrownError),R.w.EMPTY):this.isStopped?(W.complete(),R.w.EMPTY):(this.observers.push(W),new M(this,W))}asObservable(){const W=new u.y;return W.source=this,W}}return O.create=($,W)=>new H($,W),O})();class H extends F{constructor($,W){super(),this.destination=$,this.source=W}next($){const{destination:W}=this;W&&W.next&&W.next($)}error($){const{destination:W}=this;W&&W.error&&this.destination.error($)}complete(){const{destination:$}=this;$&&$.complete&&this.destination.complete()}_subscribe($){const{source:W}=this;return W?this.source.subscribe($):R.w.EMPTY}}},3489:(B,S,m)=>{"use strict";m.d(S,{L:()=>N});var u=m(7043),_=m(3292),R=m(2654),I=m(7668),M=m(2830),P=m(2782);class N extends R.w{constructor(O,$,W){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=_.c;break;case 1:if(!O){this.destination=_.c;break}if("object"==typeof O){O instanceof N?(this.syncErrorThrowable=O.syncErrorThrowable,this.destination=O,O.add(this)):(this.syncErrorThrowable=!0,this.destination=new F(this,O));break}default:this.syncErrorThrowable=!0,this.destination=new F(this,O,$,W)}}[I.b](){return this}static create(O,$,W){const re=new N(O,$,W);return re.syncErrorThrowable=!1,re}next(O){this.isStopped||this._next(O)}error(O){this.isStopped||(this.isStopped=!0,this._error(O))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(O){this.destination.next(O)}_error(O){this.destination.error(O),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:O}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=O,this}}class F extends N{constructor(O,$,W,re){super(),this._parentSubscriber=O;let ie,oe=this;(0,u.m)($)?ie=$:$&&(ie=$.next,W=$.error,re=$.complete,$!==_.c&&(oe=Object.create($),(0,u.m)(oe.unsubscribe)&&this.add(oe.unsubscribe.bind(oe)),oe.unsubscribe=this.unsubscribe.bind(this))),this._context=oe,this._next=ie,this._error=W,this._complete=re}next(O){if(!this.isStopped&&this._next){const{_parentSubscriber:$}=this;M.v.useDeprecatedSynchronousErrorHandling&&$.syncErrorThrowable?this.__tryOrSetError($,this._next,O)&&this.unsubscribe():this.__tryOrUnsub(this._next,O)}}error(O){if(!this.isStopped){const{_parentSubscriber:$}=this,{useDeprecatedSynchronousErrorHandling:W}=M.v;if(this._error)W&&$.syncErrorThrowable?(this.__tryOrSetError($,this._error,O),this.unsubscribe()):(this.__tryOrUnsub(this._error,O),this.unsubscribe());else if($.syncErrorThrowable)W?($.syncErrorValue=O,$.syncErrorThrown=!0):(0,P.z)(O),this.unsubscribe();else{if(this.unsubscribe(),W)throw O;(0,P.z)(O)}}}complete(){if(!this.isStopped){const{_parentSubscriber:O}=this;if(this._complete){const $=()=>this._complete.call(this._context);M.v.useDeprecatedSynchronousErrorHandling&&O.syncErrorThrowable?(this.__tryOrSetError(O,$),this.unsubscribe()):(this.__tryOrUnsub($),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(O,$){try{O.call(this._context,$)}catch(W){if(this.unsubscribe(),M.v.useDeprecatedSynchronousErrorHandling)throw W;(0,P.z)(W)}}__tryOrSetError(O,$,W){if(!M.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{$.call(this._context,W)}catch(re){return M.v.useDeprecatedSynchronousErrorHandling?(O.syncErrorValue=re,O.syncErrorThrown=!0,!0):((0,P.z)(re),!0)}return!1}_unsubscribe(){const{_parentSubscriber:O}=this;this._context=null,this._parentSubscriber=null,O.unsubscribe()}}},2654:(B,S,m)=>{"use strict";m.d(S,{w:()=>P});var u=m(6688),_=m(7830),R=m(7043);const M=(()=>{function F(H){return Error.call(this),this.message=H?`${H.length} errors occurred during unsubscription:\n${H.map((O,$)=>`${$+1}) ${O.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=H,this}return F.prototype=Object.create(Error.prototype),F})();class P{constructor(H){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,H&&(this._unsubscribe=H)}unsubscribe(){let H;if(this.closed)return;let{_parentOrParents:O,_unsubscribe:$,_subscriptions:W}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,O instanceof P)O.remove(this);else if(null!==O)for(let re=0;re<O.length;++re)O[re].remove(this);if((0,R.m)($))try{$.call(this)}catch(re){H=re instanceof M?N(re.errors):[re]}if((0,u.k)(W)){let re=-1,ie=W.length;for(;++re<ie;){const oe=W[re];if((0,_.K)(oe))try{oe.unsubscribe()}catch(ue){H=H||[],ue instanceof M?H=H.concat(N(ue.errors)):H.push(ue)}}}if(H)throw new M(H)}add(H){let O=H;if(!H)return P.EMPTY;switch(typeof H){case"function":O=new P(H);case"object":if(O===this||O.closed||"function"!=typeof O.unsubscribe)return O;if(this.closed)return O.unsubscribe(),O;if(!(O instanceof P)){const re=O;O=new P,O._subscriptions=[re]}break;default:throw new Error("unrecognized teardown "+H+" added to Subscription.")}let{_parentOrParents:$}=O;if(null===$)O._parentOrParents=this;else if($ instanceof P){if($===this)return O;O._parentOrParents=[$,this]}else{if(-1!==$.indexOf(this))return O;$.push(this)}const W=this._subscriptions;return null===W?this._subscriptions=[O]:W.push(O),O}remove(H){const O=this._subscriptions;if(O){const $=O.indexOf(H);-1!==$&&O.splice($,1)}}}var F;function N(F){return F.reduce((H,O)=>H.concat(O instanceof M?O.errors:O),[])}P.EMPTY=((F=new P).closed=!0,F)},2830:(B,S,m)=>{"use strict";m.d(S,{v:()=>_});let u=!1;const _={Promise:void 0,set useDeprecatedSynchronousErrorHandling(R){if(R){const I=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+I.stack)}else u&&console.log("RxJS: Back to a better error behavior. Thank you. <3");u=R},get useDeprecatedSynchronousErrorHandling(){return u}}},1762:(B,S,m)=>{"use strict";m.d(S,{N:()=>P,c:()=>M});var u=m(5529),_=m(2916),R=m(2654),I=m(4327);class M extends _.y{constructor($,W){super(),this.source=$,this.subjectFactory=W,this._refCount=0,this._isComplete=!1}_subscribe($){return this.getSubject().subscribe($)}getSubject(){const $=this._subject;return(!$||$.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let $=this._connection;return $||(this._isComplete=!1,$=this._connection=new R.w,$.add(this.source.subscribe(new N(this.getSubject(),this))),$.closed&&(this._connection=null,$=R.w.EMPTY)),$}refCount(){return(0,I.x)()(this)}}const P=(()=>{const O=M.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:O._subscribe},_isComplete:{value:O._isComplete,writable:!0},getSubject:{value:O.getSubject},connect:{value:O.connect},refCount:{value:O.refCount}}})();class N extends u.Yc{constructor($,W){super($),this.connectable=W}_error($){this._unsubscribe(),super._error($)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const $=this.connectable;if($){this.connectable=null;const W=$._connection;$._refCount=0,$._subject=null,$._connection=null,W&&W.unsubscribe()}}}},567:(B,S,m)=>{"use strict";m.d(S,{D:()=>P});var u=m(2916),_=m(6688),R=m(4850),I=m(7830),M=m(5254);function P(...F){if(1===F.length){const H=F[0];if((0,_.k)(H))return N(H,null);if((0,I.K)(H)&&Object.getPrototypeOf(H)===Object.prototype){const O=Object.keys(H);return N(O.map($=>H[$]),O)}}if("function"==typeof F[F.length-1]){const H=F.pop();return N(F=1===F.length&&(0,_.k)(F[0])?F[0]:F,null).pipe((0,R.U)(O=>H(...O)))}return N(F,null)}function N(F,H){return new u.y(O=>{const $=F.length;if(0===$)return void O.complete();const W=new Array($);let re=0,ie=0;for(let oe=0;oe<$;oe++){const ue=(0,M.D)(F[oe]);let Ae=!1;O.add(ue.subscribe({next:ot=>{Ae||(Ae=!0,ie++),W[oe]=ot},error:ot=>O.error(ot),complete:()=>{re++,(re===$||!Ae)&&(ie===$&&O.next(H?H.reduce((ot,Oe,ye)=>(ot[Oe]=W[ye],ot),{}):W),O.complete())}}))}})}},5254:(B,S,m)=>{"use strict";m.d(S,{D:()=>oe});var u=m(2916),_=m(9249),R=m(2654),I=m(3821),N=m(6454),F=m(5430),$=m(8955),W=m(8515);function oe(ue,Ae){return Ae?function ie(ue,Ae){if(null!=ue){if(function O(ue){return ue&&"function"==typeof ue[I.L]}(ue))return function M(ue,Ae){return new u.y(ot=>{const Oe=new R.w;return Oe.add(Ae.schedule(()=>{const ye=ue[I.L]();Oe.add(ye.subscribe({next(wt){Oe.add(Ae.schedule(()=>ot.next(wt)))},error(wt){Oe.add(Ae.schedule(()=>ot.error(wt)))},complete(){Oe.add(Ae.schedule(()=>ot.complete()))}}))})),Oe})}(ue,Ae);if((0,$.t)(ue))return function P(ue,Ae){return new u.y(ot=>{const Oe=new R.w;return Oe.add(Ae.schedule(()=>ue.then(ye=>{Oe.add(Ae.schedule(()=>{ot.next(ye),Oe.add(Ae.schedule(()=>ot.complete()))}))},ye=>{Oe.add(Ae.schedule(()=>ot.error(ye)))}))),Oe})}(ue,Ae);if((0,W.z)(ue))return(0,N.r)(ue,Ae);if(function re(ue){return ue&&"function"==typeof ue[F.hZ]}(ue)||"string"==typeof ue)return function H(ue,Ae){if(!ue)throw new Error("Iterable cannot be null");return new u.y(ot=>{const Oe=new R.w;let ye;return Oe.add(()=>{ye&&"function"==typeof ye.return&&ye.return()}),Oe.add(Ae.schedule(()=>{ye=ue[F.hZ](),Oe.add(Ae.schedule(function(){if(ot.closed)return;let wt,nn;try{const ht=ye.next();wt=ht.value,nn=ht.done}catch(ht){return void ot.error(ht)}nn?ot.complete():(ot.next(wt),this.schedule())}))})),Oe})}(ue,Ae)}throw new TypeError((null!==ue&&typeof ue||ue)+" is not observable")}(ue,Ae):ue instanceof u.y?ue:new u.y((0,_.s)(ue))}},3009:(B,S,m)=>{"use strict";m.d(S,{n:()=>I});var u=m(2916),_=m(3650),R=m(6454);function I(M,P){return P?(0,R.r)(M,P):new u.y((0,_.V)(M))}},1086:(B,S,m)=>{"use strict";m.d(S,{of:()=>I});var u=m(2866),_=m(3009),R=m(6454);function I(...M){let P=M[M.length-1];return(0,u.K)(P)?(M.pop(),(0,R.r)(M,P)):(0,_.n)(M)}},7221:(B,S,m)=>{"use strict";m.d(S,{K:()=>I});var u=m(826),_=m(1869),R=m(9054);function I(N){return function(H){const O=new M(N),$=H.lift(O);return O.caught=$}}class M{constructor(F){this.selector=F}call(F,H){return H.subscribe(new P(F,this.selector,this.caught))}}class P extends u.L{constructor(F,H,O){super(F),this.selector=H,this.caught=O}error(F){if(!this.isStopped){let H;try{H=this.selector(F,this.caught)}catch(W){return void super.error(W)}this._unsubscribeAndRecycle();const O=new _.d(this,void 0,void 0);this.add(O);const $=(0,R.D)(this,H,void 0,void 0,O);$!==O&&this.add($)}}}},1406:(B,S,m)=>{"use strict";m.d(S,{b:()=>_});var u=m(1709);function _(R,I){return(0,u.zg)(R,I,1)}},2198:(B,S,m)=>{"use strict";m.d(S,{h:()=>_});var u=m(3489);function _(M,P){return function(F){return F.lift(new R(M,P))}}class R{constructor(P,N){this.predicate=P,this.thisArg=N}call(P,N){return N.subscribe(new I(P,this.predicate,this.thisArg))}}class I extends u.L{constructor(P,N,F){super(P),this.predicate=N,this.thisArg=F,this.count=0}_next(P){let N;try{N=this.predicate.call(this.thisArg,P,this.count++)}catch(F){return void this.destination.error(F)}N&&this.destination.next(P)}}},4850:(B,S,m)=>{"use strict";m.d(S,{U:()=>_});var u=m(3489);function _(M,P){return function(F){if("function"!=typeof M)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return F.lift(new R(M,P))}}class R{constructor(P,N){this.project=P,this.thisArg=N}call(P,N){return N.subscribe(new I(P,this.project,this.thisArg))}}class I extends u.L{constructor(P,N,F){super(P),this.project=N,this.count=0,this.thisArg=F||this}_next(P){let N;try{N=this.project.call(this.thisArg,P,this.count++)}catch(F){return void this.destination.error(F)}this.destination.next(N)}}},9146:(B,S,m)=>{"use strict";m.d(S,{J:()=>R});var u=m(1709),_=m(5379);function R(I=Number.POSITIVE_INFINITY){return(0,u.zg)(_.y,I)}},1709:(B,S,m)=>{"use strict";m.d(S,{zg:()=>P});var u=m(9054),_=m(826),R=m(1869),I=m(4850),M=m(5254);function P(H,O,$=Number.POSITIVE_INFINITY){return"function"==typeof O?W=>W.pipe(P((re,ie)=>(0,M.D)(H(re,ie)).pipe((0,I.U)((oe,ue)=>O(re,oe,ie,ue))),$)):("number"==typeof O&&($=O),W=>W.lift(new N(H,$)))}class N{constructor(O,$=Number.POSITIVE_INFINITY){this.project=O,this.concurrent=$}call(O,$){return $.subscribe(new F(O,this.project,this.concurrent))}}class F extends _.L{constructor(O,$,W=Number.POSITIVE_INFINITY){super(O),this.project=$,this.concurrent=W,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(O){this.active<this.concurrent?this._tryNext(O):this.buffer.push(O)}_tryNext(O){let $;const W=this.index++;try{$=this.project(O,W)}catch(re){return void this.destination.error(re)}this.active++,this._innerSub($,O,W)}_innerSub(O,$,W){const re=new R.d(this,$,W),ie=this.destination;ie.add(re);const oe=(0,u.D)(this,O,void 0,void 0,re);oe!==re&&ie.add(oe)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(O,$,W,re,ie){this.destination.next($)}notifyComplete(O){const $=this.buffer;this.remove(O),this.active--,$.length>0?this._next($.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(B,S,m)=>{"use strict";m.d(S,{x:()=>_});var u=m(3489);function _(){return function(P){return P.lift(new R(P))}}class R{constructor(P){this.connectable=P}call(P,N){const{connectable:F}=this;F._refCount++;const H=new I(P,F),O=N.subscribe(H);return H.closed||(H.connection=F.connect()),O}}class I extends u.L{constructor(P,N){super(P),this.connectable=N}_unsubscribe(){const{connectable:P}=this;if(!P)return void(this.connection=null);this.connectable=null;const N=P._refCount;if(N<=0)return void(this.connection=null);if(P._refCount=N-1,N>1)return void(this.connection=null);const{connection:F}=this,H=P._connection;this.connection=null,H&&(!F||H===F)&&H.unsubscribe()}}},6454:(B,S,m)=>{"use strict";m.d(S,{r:()=>R});var u=m(2916),_=m(2654);function R(I,M){return new u.y(P=>{const N=new _.w;let F=0;return N.add(M.schedule(function(){F!==I.length?(P.next(I[F++]),P.closed||N.add(this.schedule())):P.complete()})),N})}},5430:(B,S,m)=>{"use strict";m.d(S,{hZ:()=>_});const _=function u(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(B,S,m)=>{"use strict";m.d(S,{L:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(B,S,m)=>{"use strict";m.d(S,{b:()=>u});const u="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(B,S,m)=>{"use strict";m.d(S,{N:()=>_});const _=(()=>{function R(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return R.prototype=Object.create(Error.prototype),R})()},2782:(B,S,m)=>{"use strict";function u(_){setTimeout(()=>{throw _},0)}m.d(S,{z:()=>u})},5379:(B,S,m)=>{"use strict";function u(_){return _}m.d(S,{y:()=>u})},6688:(B,S,m)=>{"use strict";m.d(S,{k:()=>u});const u=Array.isArray||(_=>_&&"number"==typeof _.length)},8515:(B,S,m)=>{"use strict";m.d(S,{z:()=>u});const u=_=>_&&"number"==typeof _.length&&"function"!=typeof _},7043:(B,S,m)=>{"use strict";function u(_){return"function"==typeof _}m.d(S,{m:()=>u})},7830:(B,S,m)=>{"use strict";function u(_){return null!==_&&"object"==typeof _}m.d(S,{K:()=>u})},8955:(B,S,m)=>{"use strict";function u(_){return!!_&&"function"!=typeof _.subscribe&&"function"==typeof _.then}m.d(S,{t:()=>u})},2866:(B,S,m)=>{"use strict";function u(_){return _&&"function"==typeof _.schedule}m.d(S,{K:()=>u})},9249:(B,S,m)=>{"use strict";m.d(S,{s:()=>$});var u=m(3650),_=m(2782),I=m(5430),P=m(3821),F=m(8515),H=m(8955),O=m(7830);const $=W=>{if(W&&"function"==typeof W[P.L])return(W=>re=>{const ie=W[P.L]();if("function"!=typeof ie.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ie.subscribe(re)})(W);if((0,F.z)(W))return(0,u.V)(W);if((0,H.t)(W))return(W=>re=>(W.then(ie=>{re.closed||(re.next(ie),re.complete())},ie=>re.error(ie)).then(null,_.z),re))(W);if(W&&"function"==typeof W[I.hZ])return(W=>re=>{const ie=W[I.hZ]();for(;;){const oe=ie.next();if(oe.done){re.complete();break}if(re.next(oe.value),re.closed)break}return"function"==typeof ie.return&&re.add(()=>{ie.return&&ie.return()}),re})(W);{const ie=`You provided ${(0,O.K)(W)?"an invalid object":`'${W}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(ie)}}},3650:(B,S,m)=>{"use strict";m.d(S,{V:()=>u});const u=_=>R=>{for(let I=0,M=_.length;I<M&&!R.closed;I++)R.next(_[I]);R.complete()}},9054:(B,S,m)=>{"use strict";m.d(S,{D:()=>I});var u=m(1869),_=m(9249),R=m(2916);function I(M,P,N,F,H=new u.d(M,N,F)){if(!H.closed)return P instanceof R.y?P.subscribe(H):(0,_.s)(P)(H)}},8583:()=>{"use strict";!function(X){const de=X.performance;function Ce(Se){de&&de.mark&&de.mark(Se)}function ve(Se,ke){de&&de.measure&&de.measure(Se,ke)}Ce("Zone");const se=X.__Zone_symbol_prefix||"__zone_symbol__";function Ie(Se){return se+Se}const He=!0===X[Ie("forceDuplicateZoneCheck")];if(X.Zone){if(He||"function"!=typeof X.Zone.__symbol__)throw new Error("Zone already loaded.");return X.Zone}let De=(()=>{class Se{constructor(K,pe){this._parent=K,this._name=pe?pe.name||"unnamed":"<root>",this._properties=pe&&pe.properties||{},this._zoneDelegate=new vt(this,this._parent&&this._parent._zoneDelegate,pe)}static assertZonePatched(){if(X.Promise!==x.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 K=Se.current;for(;K.parent;)K=K.parent;return K}static get current(){return T.zone}static get currentTask(){return te}static __load_patch(K,pe,Ze=!1){if(x.hasOwnProperty(K)){if(!Ze&&He)throw Error("Already loaded patch: "+K)}else if(!X["__Zone_disable_"+K]){const $e="Zone:"+K;Ce($e),x[K]=pe(X,Se,j),ve($e,$e)}}get parent(){return this._parent}get name(){return this._name}get(K){const pe=this.getZoneWith(K);if(pe)return pe._properties[K]}getZoneWith(K){let pe=this;for(;pe;){if(pe._properties.hasOwnProperty(K))return pe;pe=pe._parent}return null}fork(K){if(!K)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,K)}wrap(K,pe){if("function"!=typeof K)throw new Error("Expecting function got: "+K);const Ze=this._zoneDelegate.intercept(this,K,pe),$e=this;return function(){return $e.runGuarded(Ze,this,arguments,pe)}}run(K,pe,Ze,$e){T={parent:T,zone:this};try{return this._zoneDelegate.invoke(this,K,pe,Ze,$e)}finally{T=T.parent}}runGuarded(K,pe=null,Ze,$e){T={parent:T,zone:this};try{try{return this._zoneDelegate.invoke(this,K,pe,Ze,$e)}catch(yt){if(this._zoneDelegate.handleError(this,yt))throw yt}}finally{T=T.parent}}runTask(K,pe,Ze){if(K.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(K.zone||Cn).name+"; Execution: "+this.name+")");if(K.state===Wt&&(K.type===z||K.type===ee))return;const $e=K.state!=tt;$e&&K._transitionTo(tt,dt),K.runCount++;const yt=te;te=K,T={parent:T,zone:this};try{K.type==ee&&K.data&&!K.data.isPeriodic&&(K.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,K,pe,Ze)}catch(Re){if(this._zoneDelegate.handleError(this,Re))throw Re}}finally{K.state!==Wt&&K.state!==Je&&(K.type==z||K.data&&K.data.isPeriodic?$e&&K._transitionTo(dt,tt):(K.runCount=0,this._updateTaskCount(K,-1),$e&&K._transitionTo(Wt,tt,Wt))),T=T.parent,te=yt}}scheduleTask(K){if(K.zone&&K.zone!==this){let Ze=this;for(;Ze;){if(Ze===K.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${K.zone.name}`);Ze=Ze.parent}}K._transitionTo(an,Wt);const pe=[];K._zoneDelegates=pe,K._zone=this;try{K=this._zoneDelegate.scheduleTask(this,K)}catch(Ze){throw K._transitionTo(Je,an,Wt),this._zoneDelegate.handleError(this,Ze),Ze}return K._zoneDelegates===pe&&this._updateTaskCount(K,1),K.state==an&&K._transitionTo(dt,an),K}scheduleMicroTask(K,pe,Ze,$e){return this.scheduleTask(new et(jt,K,pe,Ze,$e,void 0))}scheduleMacroTask(K,pe,Ze,$e,yt){return this.scheduleTask(new et(ee,K,pe,Ze,$e,yt))}scheduleEventTask(K,pe,Ze,$e,yt){return this.scheduleTask(new et(z,K,pe,Ze,$e,yt))}cancelTask(K){if(K.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(K.zone||Cn).name+"; Execution: "+this.name+")");K._transitionTo(Yt,dt,tt);try{this._zoneDelegate.cancelTask(this,K)}catch(pe){throw K._transitionTo(Je,Yt),this._zoneDelegate.handleError(this,pe),pe}return this._updateTaskCount(K,-1),K._transitionTo(Wt,Yt),K.runCount=0,K}_updateTaskCount(K,pe){const Ze=K._zoneDelegates;-1==pe&&(K._zoneDelegates=null);for(let $e=0;$e<Ze.length;$e++)Ze[$e]._updateTaskCount(K.type,pe)}}return Se.__symbol__=Ie,Se})();const je={name:"",onHasTask:(Se,ke,K,pe)=>Se.hasTask(K,pe),onScheduleTask:(Se,ke,K,pe)=>Se.scheduleTask(K,pe),onInvokeTask:(Se,ke,K,pe,Ze,$e)=>Se.invokeTask(K,pe,Ze,$e),onCancelTask:(Se,ke,K,pe)=>Se.cancelTask(K,pe)};class vt{constructor(ke,K,pe){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=ke,this._parentDelegate=K,this._forkZS=pe&&(pe&&pe.onFork?pe:K._forkZS),this._forkDlgt=pe&&(pe.onFork?K:K._forkDlgt),this._forkCurrZone=pe&&(pe.onFork?this.zone:K._forkCurrZone),this._interceptZS=pe&&(pe.onIntercept?pe:K._interceptZS),this._interceptDlgt=pe&&(pe.onIntercept?K:K._interceptDlgt),this._interceptCurrZone=pe&&(pe.onIntercept?this.zone:K._interceptCurrZone),this._invokeZS=pe&&(pe.onInvoke?pe:K._invokeZS),this._invokeDlgt=pe&&(pe.onInvoke?K:K._invokeDlgt),this._invokeCurrZone=pe&&(pe.onInvoke?this.zone:K._invokeCurrZone),this._handleErrorZS=pe&&(pe.onHandleError?pe:K._handleErrorZS),this._handleErrorDlgt=pe&&(pe.onHandleError?K:K._handleErrorDlgt),this._handleErrorCurrZone=pe&&(pe.onHandleError?this.zone:K._handleErrorCurrZone),this._scheduleTaskZS=pe&&(pe.onScheduleTask?pe:K._scheduleTaskZS),this._scheduleTaskDlgt=pe&&(pe.onScheduleTask?K:K._scheduleTaskDlgt),this._scheduleTaskCurrZone=pe&&(pe.onScheduleTask?this.zone:K._scheduleTaskCurrZone),this._invokeTaskZS=pe&&(pe.onInvokeTask?pe:K._invokeTaskZS),this._invokeTaskDlgt=pe&&(pe.onInvokeTask?K:K._invokeTaskDlgt),this._invokeTaskCurrZone=pe&&(pe.onInvokeTask?this.zone:K._invokeTaskCurrZone),this._cancelTaskZS=pe&&(pe.onCancelTask?pe:K._cancelTaskZS),this._cancelTaskDlgt=pe&&(pe.onCancelTask?K:K._cancelTaskDlgt),this._cancelTaskCurrZone=pe&&(pe.onCancelTask?this.zone:K._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ze=pe&&pe.onHasTask;(Ze||K&&K._hasTaskZS)&&(this._hasTaskZS=Ze?pe:je,this._hasTaskDlgt=K,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=ke,pe.onScheduleTask||(this._scheduleTaskZS=je,this._scheduleTaskDlgt=K,this._scheduleTaskCurrZone=this.zone),pe.onInvokeTask||(this._invokeTaskZS=je,this._invokeTaskDlgt=K,this._invokeTaskCurrZone=this.zone),pe.onCancelTask||(this._cancelTaskZS=je,this._cancelTaskDlgt=K,this._cancelTaskCurrZone=this.zone))}fork(ke,K){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ke,K):new De(ke,K)}intercept(ke,K,pe){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ke,K,pe):K}invoke(ke,K,pe,Ze,$e){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ke,K,pe,Ze,$e):K.apply(pe,Ze)}handleError(ke,K){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ke,K)}scheduleTask(ke,K){let pe=K;if(this._scheduleTaskZS)this._hasTaskZS&&pe._zoneDelegates.push(this._hasTaskDlgtOwner),pe=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ke,K),pe||(pe=K);else if(K.scheduleFn)K.scheduleFn(K);else{if(K.type!=jt)throw new Error("Task is missing scheduleFn.");Tt(K)}return pe}invokeTask(ke,K,pe,Ze){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ke,K,pe,Ze):K.callback.apply(pe,Ze)}cancelTask(ke,K){let pe;if(this._cancelTaskZS)pe=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ke,K);else{if(!K.cancelFn)throw Error("Task is not cancelable");pe=K.cancelFn(K)}return pe}hasTask(ke,K){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ke,K)}catch(pe){this.handleError(ke,pe)}}_updateTaskCount(ke,K){const pe=this._taskCounts,Ze=pe[ke],$e=pe[ke]=Ze+K;if($e<0)throw new Error("More tasks executed then were scheduled.");0!=Ze&&0!=$e||this.hasTask(this.zone,{microTask:pe.microTask>0,macroTask:pe.macroTask>0,eventTask:pe.eventTask>0,change:ke})}}class et{constructor(ke,K,pe,Ze,$e,yt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=ke,this.source=K,this.data=Ze,this.scheduleFn=$e,this.cancelFn=yt,!pe)throw new Error("callback is not defined");this.callback=pe;const Re=this;this.invoke=ke===z&&Ze&&Ze.useG?et.invokeTask:function(){return et.invokeTask.call(X,Re,this,arguments)}}static invokeTask(ke,K,pe){ke||(ke=this),me++;try{return ke.runCount++,ke.zone.runTask(ke,K,pe)}finally{1==me&&Ue(),me--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Wt,an)}_transitionTo(ke,K,pe){if(this._state!==K&&this._state!==pe)throw new Error(`${this.type} '${this.source}': can not transition to '${ke}', expecting state '${K}'${pe?" or '"+pe+"'":""}, was '${this._state}'.`);this._state=ke,ke==Wt&&(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 rt=Ie("setTimeout"),St=Ie("Promise"),Ke=Ie("then");let Kt,Vt=[],at=!1;function pt(Se){if(Kt||X[St]&&(Kt=X[St].resolve(0)),Kt){let ke=Kt[Ke];ke||(ke=Kt.then),ke.call(Kt,Se)}else X[rt](Se,0)}function Tt(Se){0===me&&0===Vt.length&&pt(Ue),Se&&Vt.push(Se)}function Ue(){if(!at){for(at=!0;Vt.length;){const Se=Vt;Vt=[];for(let ke=0;ke<Se.length;ke++){const K=Se[ke];try{K.zone.runTask(K,null,null)}catch(pe){j.onUnhandledError(pe)}}}j.microtaskDrainDone(),at=!1}}const Cn={name:"NO ZONE"},Wt="notScheduled",an="scheduling",dt="scheduled",tt="running",Yt="canceling",Je="unknown",jt="microTask",ee="macroTask",z="eventTask",x={},j={symbol:Ie,currentZoneFrame:()=>T,onUnhandledError:Ve,microtaskDrainDone:Ve,scheduleMicroTask:Tt,showUncaughtError:()=>!De[Ie("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ve,patchMethod:()=>Ve,bindArguments:()=>[],patchThen:()=>Ve,patchMacroTask:()=>Ve,patchEventPrototype:()=>Ve,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ve,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ve,wrapWithCurrentZone:()=>Ve,filterProperties:()=>[],attachOriginToPatched:()=>Ve,_redefineProperty:()=>Ve,patchCallbacks:()=>Ve,nativeScheduleMicroTask:pt};let T={parent:null,zone:new De(null,null)},te=null,me=0;function Ve(){}ve("Zone","Zone"),X.Zone=De}(typeof window<"u"&&window||typeof self<"u"&&self||global);const B=Object.getOwnPropertyDescriptor,S=Object.defineProperty,m=Object.getPrototypeOf,u=Object.create,_=Array.prototype.slice,R="addEventListener",I="removeEventListener",M=Zone.__symbol__(R),P=Zone.__symbol__(I),N="true",F="false",H=Zone.__symbol__("");function O(X,de){return Zone.current.wrap(X,de)}function $(X,de,Ce,ve,se){return Zone.current.scheduleMacroTask(X,de,Ce,ve,se)}const W=Zone.__symbol__,re=typeof window<"u",ie=re?window:void 0,oe=re&&ie||"object"==typeof self&&self||global;function Ae(X,de){for(let Ce=X.length-1;Ce>=0;Ce--)"function"==typeof X[Ce]&&(X[Ce]=O(X[Ce],de+"_"+Ce));return X}function Oe(X){return!X||!1!==X.writable&&!("function"==typeof X.get&&typeof X.set>"u")}const ye=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,wt=!("nw"in oe)&&typeof oe.process<"u"&&"[object process]"==={}.toString.call(oe.process),nn=!wt&&!ye&&!(!re||!ie.HTMLElement),ht=typeof oe.process<"u"&&"[object process]"==={}.toString.call(oe.process)&&!ye&&!(!re||!ie.HTMLElement),Et={},We=function(X){if(!(X=X||oe.event))return;let de=Et[X.type];de||(de=Et[X.type]=W("ON_PROPERTY"+X.type));const Ce=this||X.target||oe,ve=Ce[de];let se;if(nn&&Ce===ie&&"error"===X.type){const Ie=X;se=ve&&ve.call(this,Ie.message,Ie.filename,Ie.lineno,Ie.colno,Ie.error),!0===se&&X.preventDefault()}else se=ve&&ve.apply(this,arguments),null!=se&&!se&&X.preventDefault();return se};function ct(X,de,Ce){let ve=B(X,de);if(!ve&&Ce&&B(Ce,de)&&(ve={enumerable:!0,configurable:!0}),!ve||!ve.configurable)return;const se=W("on"+de+"patched");if(X.hasOwnProperty(se)&&X[se])return;delete ve.writable,delete ve.value;const Ie=ve.get,He=ve.set,De=de.slice(2);let je=Et[De];je||(je=Et[De]=W("ON_PROPERTY"+De)),ve.set=function(vt){let et=this;!et&&X===oe&&(et=oe),et&&("function"==typeof et[je]&&et.removeEventListener(De,We),He&&He.call(et,null),et[je]=vt,"function"==typeof vt&&et.addEventListener(De,We,!1))},ve.get=function(){let vt=this;if(!vt&&X===oe&&(vt=oe),!vt)return null;const et=vt[je];if(et)return et;if(Ie){let rt=Ie.call(this);if(rt)return ve.set.call(this,rt),"function"==typeof vt.removeAttribute&&vt.removeAttribute(de),rt}return null},S(X,de,ve),X[se]=!0}function Gt(X,de,Ce){if(de)for(let ve=0;ve<de.length;ve++)ct(X,"on"+de[ve],Ce);else{const ve=[];for(const se in X)"on"==se.slice(0,2)&&ve.push(se);for(let se=0;se<ve.length;se++)ct(X,ve[se],Ce)}}const Te=W("originalInstance");function Nt(X){const de=oe[X];if(!de)return;oe[W(X)]=de,oe[X]=function(){const se=Ae(arguments,X);switch(se.length){case 0:this[Te]=new de;break;case 1:this[Te]=new de(se[0]);break;case 2:this[Te]=new de(se[0],se[1]);break;case 3:this[Te]=new de(se[0],se[1],se[2]);break;case 4:this[Te]=new de(se[0],se[1],se[2],se[3]);break;default:throw new Error("Arg list too long.")}},fe(oe[X],de);const Ce=new de(function(){});let ve;for(ve in Ce)"XMLHttpRequest"===X&&"responseBlob"===ve||function(se){"function"==typeof Ce[se]?oe[X].prototype[se]=function(){return this[Te][se].apply(this[Te],arguments)}:S(oe[X].prototype,se,{set:function(Ie){"function"==typeof Ie?(this[Te][se]=O(Ie,X+"."+se),fe(this[Te][se],Ie)):this[Te][se]=Ie},get:function(){return this[Te][se]}})}(ve);for(ve in de)"prototype"!==ve&&de.hasOwnProperty(ve)&&(oe[X][ve]=de[ve])}function Xe(X,de,Ce){let ve=X;for(;ve&&!ve.hasOwnProperty(de);)ve=m(ve);!ve&&X[de]&&(ve=X);const se=W(de);let Ie=null;if(ve&&(!(Ie=ve[se])||!ve.hasOwnProperty(se))&&(Ie=ve[se]=ve[de],Oe(ve&&B(ve,de)))){const De=Ce(Ie,se,de);ve[de]=function(){return De(this,arguments)},fe(ve[de],Ie)}return Ie}function we(X,de,Ce){let ve=null;function se(Ie){const He=Ie.data;return He.args[He.cbIdx]=function(){Ie.invoke.apply(this,arguments)},ve.apply(He.target,He.args),Ie}ve=Xe(X,de,Ie=>function(He,De){const je=Ce(He,De);return je.cbIdx>=0&&"function"==typeof De[je.cbIdx]?$(je.name,De[je.cbIdx],je,se):Ie.apply(He,De)})}function fe(X,de){X[W("OriginalDelegate")]=de}let ae=!1,Pe=!1;function Ut(){if(ae)return Pe;ae=!0;try{const X=ie.navigator.userAgent;(-1!==X.indexOf("MSIE ")||-1!==X.indexOf("Trident/")||-1!==X.indexOf("Edge/"))&&(Pe=!0)}catch{}return Pe}Zone.__load_patch("ZoneAwarePromise",(X,de,Ce)=>{const ve=Object.getOwnPropertyDescriptor,se=Object.defineProperty,He=Ce.symbol,De=[],je=!0===X[He("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],vt=He("Promise"),et=He("then");Ce.onUnhandledError=Re=>{if(Ce.showUncaughtError()){const Le=Re&&Re.rejection;Le?console.error("Unhandled Promise rejection:",Le instanceof Error?Le.message:Le,"; Zone:",Re.zone.name,"; Task:",Re.task&&Re.task.source,"; Value:",Le,Le instanceof Error?Le.stack:void 0):console.error(Re)}},Ce.microtaskDrainDone=()=>{for(;De.length;){const Re=De.shift();try{Re.zone.runGuarded(()=>{throw Re.throwOriginal?Re.rejection:Re})}catch(Le){Ke(Le)}}};const St=He("unhandledPromiseRejectionHandler");function Ke(Re){Ce.onUnhandledError(Re);try{const Le=de[St];"function"==typeof Le&&Le.call(this,Re)}catch{}}function Vt(Re){return Re&&Re.then}function at(Re){return Re}function Kt(Re){return K.reject(Re)}const pt=He("state"),Tt=He("value"),Ue=He("finally"),Cn=He("parentPromiseValue"),Wt=He("parentPromiseState"),dt=null,Yt=!1;function jt(Re,Le){return le=>{try{j(Re,Le,le)}catch(he){j(Re,!1,he)}}}const ee=function(){let Re=!1;return function(le){return function(){Re||(Re=!0,le.apply(null,arguments))}}},x=He("currentTaskTrace");function j(Re,Le,le){const he=ee();if(Re===le)throw new TypeError("Promise resolved with itself");if(Re[pt]===dt){let Fe=null;try{("object"==typeof le||"function"==typeof le)&&(Fe=le&&le.then)}catch(Ge){return he(()=>{j(Re,!1,Ge)})(),Re}if(Le!==Yt&&le instanceof K&&le.hasOwnProperty(pt)&&le.hasOwnProperty(Tt)&&le[pt]!==dt)te(le),j(Re,le[pt],le[Tt]);else if(Le!==Yt&&"function"==typeof Fe)try{Fe.call(le,he(jt(Re,Le)),he(jt(Re,!1)))}catch(Ge){he(()=>{j(Re,!1,Ge)})()}else{Re[pt]=Le;const Ge=Re[Tt];if(Re[Tt]=le,Re[Ue]===Ue&&!0===Le&&(Re[pt]=Re[Wt],Re[Tt]=Re[Cn]),Le===Yt&&le instanceof Error){const Qe=de.currentTask&&de.currentTask.data&&de.currentTask.data.__creationTrace__;Qe&&se(le,x,{configurable:!0,enumerable:!1,writable:!0,value:Qe})}for(let Qe=0;Qe<Ge.length;)me(Re,Ge[Qe++],Ge[Qe++],Ge[Qe++],Ge[Qe++]);if(0==Ge.length&&Le==Yt){Re[pt]=0;let Qe=le;try{throw new Error("Uncaught (in promise): "+function Ie(Re){return Re&&Re.toString===Object.prototype.toString?(Re.constructor&&Re.constructor.name||"")+": "+JSON.stringify(Re):Re?Re.toString():Object.prototype.toString.call(Re)}(le)+(le&&le.stack?"\n"+le.stack:""))}catch(Dt){Qe=Dt}je&&(Qe.throwOriginal=!0),Qe.rejection=le,Qe.promise=Re,Qe.zone=de.current,Qe.task=de.currentTask,De.push(Qe),Ce.scheduleMicroTask()}}}return Re}const T=He("rejectionHandledHandler");function te(Re){if(0===Re[pt]){try{const Le=de[T];Le&&"function"==typeof Le&&Le.call(this,{rejection:Re[Tt],promise:Re})}catch{}Re[pt]=Yt;for(let Le=0;Le<De.length;Le++)Re===De[Le].promise&&De.splice(Le,1)}}function me(Re,Le,le,he,Fe){te(Re);const Ge=Re[pt],Qe=Ge?"function"==typeof he?he:at:"function"==typeof Fe?Fe:Kt;Le.scheduleMicroTask("Promise.then",()=>{try{const Dt=Re[Tt],it=!!le&&Ue===le[Ue];it&&(le[Cn]=Dt,le[Wt]=Ge);const gt=Le.run(Qe,void 0,it&&Qe!==Kt&&Qe!==at?[]:[Dt]);j(le,!0,gt)}catch(Dt){j(le,!1,Dt)}},le)}const Se=function(){},ke=X.AggregateError;class K{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Le){return j(new this(null),!0,Le)}static reject(Le){return j(new this(null),Yt,Le)}static any(Le){if(!Le||"function"!=typeof Le[Symbol.iterator])return Promise.reject(new ke([],"All promises were rejected"));const le=[];let he=0;try{for(let Qe of Le)he++,le.push(K.resolve(Qe))}catch{return Promise.reject(new ke([],"All promises were rejected"))}if(0===he)return Promise.reject(new ke([],"All promises were rejected"));let Fe=!1;const Ge=[];return new K((Qe,Dt)=>{for(let it=0;it<le.length;it++)le[it].then(gt=>{Fe||(Fe=!0,Qe(gt))},gt=>{Ge.push(gt),he--,0===he&&(Fe=!0,Dt(new ke(Ge,"All promises were rejected")))})})}static race(Le){let le,he,Fe=new this((Dt,it)=>{le=Dt,he=it});function Ge(Dt){le(Dt)}function Qe(Dt){he(Dt)}for(let Dt of Le)Vt(Dt)||(Dt=this.resolve(Dt)),Dt.then(Ge,Qe);return Fe}static all(Le){return K.allWithCallback(Le)}static allSettled(Le){return(this&&this.prototype instanceof K?this:K).allWithCallback(Le,{thenCallback:he=>({status:"fulfilled",value:he}),errorCallback:he=>({status:"rejected",reason:he})})}static allWithCallback(Le,le){let he,Fe,Ge=new this((gt,Ct)=>{he=gt,Fe=Ct}),Qe=2,Dt=0;const it=[];for(let gt of Le){Vt(gt)||(gt=this.resolve(gt));const Ct=Dt;try{gt.then(Qt=>{it[Ct]=le?le.thenCallback(Qt):Qt,Qe--,0===Qe&&he(it)},Qt=>{le?(it[Ct]=le.errorCallback(Qt),Qe--,0===Qe&&he(it)):Fe(Qt)})}catch(Qt){Fe(Qt)}Qe++,Dt++}return Qe-=2,0===Qe&&he(it),Ge}constructor(Le){const le=this;if(!(le instanceof K))throw new Error("Must be an instanceof Promise.");le[pt]=dt,le[Tt]=[];try{const he=ee();Le&&Le(he(jt(le,!0)),he(jt(le,Yt)))}catch(he){j(le,!1,he)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return K}then(Le,le){var he;let Fe=null===(he=this.constructor)||void 0===he?void 0:he[Symbol.species];(!Fe||"function"!=typeof Fe)&&(Fe=this.constructor||K);const Ge=new Fe(Se),Qe=de.current;return this[pt]==dt?this[Tt].push(Qe,Ge,Le,le):me(this,Qe,Ge,Le,le),Ge}catch(Le){return this.then(null,Le)}finally(Le){var le;let he=null===(le=this.constructor)||void 0===le?void 0:le[Symbol.species];(!he||"function"!=typeof he)&&(he=K);const Fe=new he(Se);Fe[Ue]=Ue;const Ge=de.current;return this[pt]==dt?this[Tt].push(Ge,Fe,Le,Le):me(this,Ge,Fe,Le,Le),Fe}}K.resolve=K.resolve,K.reject=K.reject,K.race=K.race,K.all=K.all;const pe=X[vt]=X.Promise;X.Promise=K;const Ze=He("thenPatched");function $e(Re){const Le=Re.prototype,le=ve(Le,"then");if(le&&(!1===le.writable||!le.configurable))return;const he=Le.then;Le[et]=he,Re.prototype.then=function(Fe,Ge){return new K((Dt,it)=>{he.call(this,Dt,it)}).then(Fe,Ge)},Re[Ze]=!0}return Ce.patchThen=$e,pe&&($e(pe),Xe(X,"fetch",Re=>function yt(Re){return function(Le,le){let he=Re.apply(Le,le);if(he instanceof K)return he;let Fe=he.constructor;return Fe[Ze]||$e(Fe),he}}(Re))),Promise[de.__symbol__("uncaughtPromiseErrors")]=De,K}),Zone.__load_patch("toString",X=>{const de=Function.prototype.toString,Ce=W("OriginalDelegate"),ve=W("Promise"),se=W("Error"),Ie=function(){if("function"==typeof this){const vt=this[Ce];if(vt)return"function"==typeof vt?de.call(vt):Object.prototype.toString.call(vt);if(this===Promise){const et=X[ve];if(et)return de.call(et)}if(this===Error){const et=X[se];if(et)return de.call(et)}}return de.call(this)};Ie[Ce]=de,Function.prototype.toString=Ie;const He=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":He.call(this)}});let rn=!1;if(typeof window<"u")try{const X=Object.defineProperty({},"passive",{get:function(){rn=!0}});window.addEventListener("test",X,X),window.removeEventListener("test",X,X)}catch{rn=!1}const sn={useG:!0},Xt={},Fn={},En=new RegExp("^"+H+"(\\w+)(true|false)$"),Dn=W("propagationStopped");function xn(X,de){const Ce=(de?de(X):X)+F,ve=(de?de(X):X)+N,se=H+Ce,Ie=H+ve;Xt[X]={},Xt[X][F]=se,Xt[X][N]=Ie}function Ht(X,de,Ce,ve){const se=ve&&ve.add||R,Ie=ve&&ve.rm||I,He=ve&&ve.listeners||"eventListeners",De=ve&&ve.rmAll||"removeAllListeners",je=W(se),vt="."+se+":",St=function(Tt,Ue,Cn){if(Tt.isRemoved)return;const Wt=Tt.callback;let an;"object"==typeof Wt&&Wt.handleEvent&&(Tt.callback=tt=>Wt.handleEvent(tt),Tt.originalDelegate=Wt);try{Tt.invoke(Tt,Ue,[Cn])}catch(tt){an=tt}const dt=Tt.options;return dt&&"object"==typeof dt&&dt.once&&Ue[Ie].call(Ue,Cn.type,Tt.originalDelegate?Tt.originalDelegate:Tt.callback,dt),an};function Ke(Tt,Ue,Cn){if(!(Ue=Ue||X.event))return;const Wt=Tt||Ue.target||X,an=Wt[Xt[Ue.type][Cn?N:F]];if(an){const dt=[];if(1===an.length){const tt=St(an[0],Wt,Ue);tt&&dt.push(tt)}else{const tt=an.slice();for(let Yt=0;Yt<tt.length&&(!Ue||!0!==Ue[Dn]);Yt++){const Je=St(tt[Yt],Wt,Ue);Je&&dt.push(Je)}}if(1===dt.length)throw dt[0];for(let tt=0;tt<dt.length;tt++){const Yt=dt[tt];de.nativeScheduleMicroTask(()=>{throw Yt})}}}const Vt=function(Tt){return Ke(this,Tt,!1)},at=function(Tt){return Ke(this,Tt,!0)};function Kt(Tt,Ue){if(!Tt)return!1;let Cn=!0;Ue&&void 0!==Ue.useG&&(Cn=Ue.useG);const Wt=Ue&&Ue.vh;let an=!0;Ue&&void 0!==Ue.chkDup&&(an=Ue.chkDup);let dt=!1;Ue&&void 0!==Ue.rt&&(dt=Ue.rt);let tt=Tt;for(;tt&&!tt.hasOwnProperty(se);)tt=m(tt);if(!tt&&Tt[se]&&(tt=Tt),!tt||tt[je])return!1;const Yt=Ue&&Ue.eventNameToString,Je={},jt=tt[je]=tt[se],ee=tt[W(Ie)]=tt[Ie],z=tt[W(He)]=tt[He],x=tt[W(De)]=tt[De];let j;function T(le,he){return!rn&&"object"==typeof le&&le?!!le.capture:rn&&he?"boolean"==typeof le?{capture:le,passive:!0}:le?"object"==typeof le&&!1!==le.passive?Object.assign(Object.assign({},le),{passive:!0}):le:{passive:!0}:le}Ue&&Ue.prepend&&(j=tt[W(Ue.prepend)]=tt[Ue.prepend]);const K=Cn?function(le){if(!Je.isExisting)return jt.call(Je.target,Je.eventName,Je.capture?at:Vt,Je.options)}:function(le){return jt.call(Je.target,Je.eventName,le.invoke,Je.options)},pe=Cn?function(le){if(!le.isRemoved){const he=Xt[le.eventName];let Fe;he&&(Fe=he[le.capture?N:F]);const Ge=Fe&&le.target[Fe];if(Ge)for(let Qe=0;Qe<Ge.length;Qe++)if(Ge[Qe]===le){Ge.splice(Qe,1),le.isRemoved=!0,0===Ge.length&&(le.allRemoved=!0,le.target[Fe]=null);break}}if(le.allRemoved)return ee.call(le.target,le.eventName,le.capture?at:Vt,le.options)}:function(le){return ee.call(le.target,le.eventName,le.invoke,le.options)},$e=Ue&&Ue.diff?Ue.diff:function(le,he){const Fe=typeof he;return"function"===Fe&&le.callback===he||"object"===Fe&&le.originalDelegate===he},yt=Zone[W("UNPATCHED_EVENTS")],Re=X[W("PASSIVE_EVENTS")],Le=function(le,he,Fe,Ge,Qe=!1,Dt=!1){return function(){const it=this||X;let gt=arguments[0];Ue&&Ue.transferEventName&&(gt=Ue.transferEventName(gt));let Ct=arguments[1];if(!Ct)return le.apply(this,arguments);if(wt&&"uncaughtException"===gt)return le.apply(this,arguments);let Qt=!1;if("function"!=typeof Ct){if(!Ct.handleEvent)return le.apply(this,arguments);Qt=!0}if(Wt&&!Wt(le,Ct,it,arguments))return;const Ln=rn&&!!Re&&-1!==Re.indexOf(gt),mt=T(arguments[2],Ln);if(yt)for(let zn=0;zn<yt.length;zn++)if(gt===yt[zn])return Ln?le.call(it,gt,Ct,mt):le.apply(this,arguments);const Rn=!!mt&&("boolean"==typeof mt||mt.capture),At=!(!mt||"object"!=typeof mt)&&mt.once,Er=Zone.current;let qn=Xt[gt];qn||(xn(gt,Yt),qn=Xt[gt]);const mn=qn[Rn?N:F];let on,dr=it[mn],hr=!1;if(dr){if(hr=!0,an)for(let zn=0;zn<dr.length;zn++)if($e(dr[zn],Ct))return}else dr=it[mn]=[];const en=it.constructor.name,rr=Fn[en];rr&&(on=rr[gt]),on||(on=en+he+(Yt?Yt(gt):gt)),Je.options=mt,At&&(Je.options.once=!1),Je.target=it,Je.capture=Rn,Je.eventName=gt,Je.isExisting=hr;const jn=Cn?sn:void 0;jn&&(jn.taskData=Je);const $n=Er.scheduleEventTask(on,Ct,jn,Fe,Ge);return Je.target=null,jn&&(jn.taskData=null),At&&(mt.once=!0),!rn&&"boolean"==typeof $n.options||($n.options=mt),$n.target=it,$n.capture=Rn,$n.eventName=gt,Qt&&($n.originalDelegate=Ct),Dt?dr.unshift($n):dr.push($n),Qe?it:void 0}};return tt[se]=Le(jt,vt,K,pe,dt),j&&(tt.prependListener=Le(j,".prependListener:",function(le){return j.call(Je.target,Je.eventName,le.invoke,Je.options)},pe,dt,!0)),tt[Ie]=function(){const le=this||X;let he=arguments[0];Ue&&Ue.transferEventName&&(he=Ue.transferEventName(he));const Fe=arguments[2],Ge=!!Fe&&("boolean"==typeof Fe||Fe.capture),Qe=arguments[1];if(!Qe)return ee.apply(this,arguments);if(Wt&&!Wt(ee,Qe,le,arguments))return;const Dt=Xt[he];let it;Dt&&(it=Dt[Ge?N:F]);const gt=it&&le[it];if(gt)for(let Ct=0;Ct<gt.length;Ct++){const Qt=gt[Ct];if($e(Qt,Qe))return gt.splice(Ct,1),Qt.isRemoved=!0,0===gt.length&&(Qt.allRemoved=!0,le[it]=null,"string"==typeof he)&&(le[H+"ON_PROPERTY"+he]=null),Qt.zone.cancelTask(Qt),dt?le:void 0}return ee.apply(this,arguments)},tt[He]=function(){const le=this||X;let he=arguments[0];Ue&&Ue.transferEventName&&(he=Ue.transferEventName(he));const Fe=[],Ge=It(le,Yt?Yt(he):he);for(let Qe=0;Qe<Ge.length;Qe++){const Dt=Ge[Qe];Fe.push(Dt.originalDelegate?Dt.originalDelegate:Dt.callback)}return Fe},tt[De]=function(){const le=this||X;let he=arguments[0];if(he){Ue&&Ue.transferEventName&&(he=Ue.transferEventName(he));const Fe=Xt[he];if(Fe){const Dt=le[Fe[F]],it=le[Fe[N]];if(Dt){const gt=Dt.slice();for(let Ct=0;Ct<gt.length;Ct++){const Qt=gt[Ct];this[Ie].call(this,he,Qt.originalDelegate?Qt.originalDelegate:Qt.callback,Qt.options)}}if(it){const gt=it.slice();for(let Ct=0;Ct<gt.length;Ct++){const Qt=gt[Ct];this[Ie].call(this,he,Qt.originalDelegate?Qt.originalDelegate:Qt.callback,Qt.options)}}}}else{const Fe=Object.keys(le);for(let Ge=0;Ge<Fe.length;Ge++){const Dt=En.exec(Fe[Ge]);let it=Dt&&Dt[1];it&&"removeListener"!==it&&this[De].call(this,it)}this[De].call(this,"removeListener")}if(dt)return this},fe(tt[se],jt),fe(tt[Ie],ee),x&&fe(tt[De],x),z&&fe(tt[He],z),!0}let pt=[];for(let Tt=0;Tt<Ce.length;Tt++)pt[Tt]=Kt(Ce[Tt],ve);return pt}function It(X,de){if(!de){const Ie=[];for(let He in X){const De=En.exec(He);let je=De&&De[1];if(je&&(!de||je===de)){const vt=X[He];if(vt)for(let et=0;et<vt.length;et++)Ie.push(vt[et])}}return Ie}let Ce=Xt[de];Ce||(xn(de),Ce=Xt[de]);const ve=X[Ce[F]],se=X[Ce[N]];return ve?se?ve.concat(se):ve.slice():se?se.slice():[]}function lr(X,de){const Ce=X.Event;Ce&&Ce.prototype&&de.patchMethod(Ce.prototype,"stopImmediatePropagation",ve=>function(se,Ie){se[Dn]=!0,ve&&ve.apply(se,Ie)})}function Br(X,de,Ce,ve,se){const Ie=Zone.__symbol__(ve);if(de[Ie])return;const He=de[Ie]=de[ve];de[ve]=function(De,je,vt){return je&&je.prototype&&se.forEach(function(et){const rt=`${Ce}.${ve}::`+et,St=je.prototype;try{if(St.hasOwnProperty(et)){const Ke=X.ObjectGetOwnPropertyDescriptor(St,et);Ke&&Ke.value?(Ke.value=X.wrapWithCurrentZone(Ke.value,rt),X._redefineProperty(je.prototype,et,Ke)):St[et]&&(St[et]=X.wrapWithCurrentZone(St[et],rt))}else St[et]&&(St[et]=X.wrapWithCurrentZone(St[et],rt))}catch{}}),He.call(de,De,je,vt)},X.attachOriginToPatched(de[ve],He)}function Ar(X,de,Ce){if(!Ce||0===Ce.length)return de;const ve=Ce.filter(Ie=>Ie.target===X);if(!ve||0===ve.length)return de;const se=ve[0].ignoreProperties;return de.filter(Ie=>-1===se.indexOf(Ie))}function gn(X,de,Ce,ve){X&&Gt(X,Ar(X,de,Ce),ve)}function Rr(X){return Object.getOwnPropertyNames(X).filter(de=>de.startsWith("on")&&de.length>2).map(de=>de.substring(2))}Zone.__load_patch("util",(X,de,Ce)=>{const ve=Rr(X);Ce.patchOnProperties=Gt,Ce.patchMethod=Xe,Ce.bindArguments=Ae,Ce.patchMacroTask=we;const se=de.__symbol__("BLACK_LISTED_EVENTS"),Ie=de.__symbol__("UNPATCHED_EVENTS");X[Ie]&&(X[se]=X[Ie]),X[se]&&(de[se]=de[Ie]=X[se]),Ce.patchEventPrototype=lr,Ce.patchEventTarget=Ht,Ce.isIEOrEdge=Ut,Ce.ObjectDefineProperty=S,Ce.ObjectGetOwnPropertyDescriptor=B,Ce.ObjectCreate=u,Ce.ArraySlice=_,Ce.patchClass=Nt,Ce.wrapWithCurrentZone=O,Ce.filterProperties=Ar,Ce.attachOriginToPatched=fe,Ce._redefineProperty=Object.defineProperty,Ce.patchCallbacks=Br,Ce.getGlobalObjects=()=>({globalSources:Fn,zoneSymbolEventNames:Xt,eventNames:ve,isBrowser:nn,isMix:ht,isNode:wt,TRUE_STR:N,FALSE_STR:F,ZONE_SYMBOL_PREFIX:H,ADD_EVENT_LISTENER_STR:R,REMOVE_EVENT_LISTENER_STR:I})});const cr=W("zoneTask");function Qn(X,de,Ce,ve){let se=null,Ie=null;Ce+=ve;const He={};function De(vt){const et=vt.data;return et.args[0]=function(){return vt.invoke.apply(this,arguments)},et.handleId=se.apply(X,et.args),vt}function je(vt){return Ie.call(X,vt.data.handleId)}se=Xe(X,de+=ve,vt=>function(et,rt){if("function"==typeof rt[0]){const St={isPeriodic:"Interval"===ve,delay:"Timeout"===ve||"Interval"===ve?rt[1]||0:void 0,args:rt},Ke=rt[0];rt[0]=function(){try{return Ke.apply(this,arguments)}finally{St.isPeriodic||("number"==typeof St.handleId?delete He[St.handleId]:St.handleId&&(St.handleId[cr]=null))}};const Vt=$(de,rt[0],St,De,je);if(!Vt)return Vt;const at=Vt.data.handleId;return"number"==typeof at?He[at]=Vt:at&&(at[cr]=Vt),at&&at.ref&&at.unref&&"function"==typeof at.ref&&"function"==typeof at.unref&&(Vt.ref=at.ref.bind(at),Vt.unref=at.unref.bind(at)),"number"==typeof at||at?at:Vt}return vt.apply(X,rt)}),Ie=Xe(X,Ce,vt=>function(et,rt){const St=rt[0];let Ke;"number"==typeof St?Ke=He[St]:(Ke=St&&St[cr],Ke||(Ke=St)),Ke&&"string"==typeof Ke.type?"notScheduled"!==Ke.state&&(Ke.cancelFn&&Ke.data.isPeriodic||0===Ke.runCount)&&("number"==typeof St?delete He[St]:St&&(St[cr]=null),Ke.zone.cancelTask(Ke)):vt.apply(X,rt)})}Zone.__load_patch("legacy",X=>{const de=X[Zone.__symbol__("legacyPatch")];de&&de()}),Zone.__load_patch("queueMicrotask",(X,de,Ce)=>{Ce.patchMethod(X,"queueMicrotask",ve=>function(se,Ie){de.current.scheduleMicroTask("queueMicrotask",Ie[0])})}),Zone.__load_patch("timers",X=>{const Ce="clear";Qn(X,"set",Ce,"Timeout"),Qn(X,"set",Ce,"Interval"),Qn(X,"set",Ce,"Immediate")}),Zone.__load_patch("requestAnimationFrame",X=>{Qn(X,"request","cancel","AnimationFrame"),Qn(X,"mozRequest","mozCancel","AnimationFrame"),Qn(X,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(X,de)=>{const Ce=["alert","prompt","confirm"];for(let ve=0;ve<Ce.length;ve++)Xe(X,Ce[ve],(Ie,He,De)=>function(je,vt){return de.current.run(Ie,X,vt,De)})}),Zone.__load_patch("EventTarget",(X,de,Ce)=>{(function ur(X,de){de.patchEventPrototype(X,de)})(X,Ce),function kn(X,de){if(Zone[de.symbol("patchEventTarget")])return;const{eventNames:Ce,zoneSymbolEventNames:ve,TRUE_STR:se,FALSE_STR:Ie,ZONE_SYMBOL_PREFIX:He}=de.getGlobalObjects();for(let je=0;je<Ce.length;je++){const vt=Ce[je],St=He+(vt+Ie),Ke=He+(vt+se);ve[vt]={},ve[vt][Ie]=St,ve[vt][se]=Ke}const De=X.EventTarget;De&&De.prototype&&de.patchEventTarget(X,de,[De&&De.prototype])}(X,Ce);const ve=X.XMLHttpRequestEventTarget;ve&&ve.prototype&&Ce.patchEventTarget(X,Ce,[ve.prototype])}),Zone.__load_patch("MutationObserver",(X,de,Ce)=>{Nt("MutationObserver"),Nt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(X,de,Ce)=>{Nt("IntersectionObserver")}),Zone.__load_patch("FileReader",(X,de,Ce)=>{Nt("FileReader")}),Zone.__load_patch("on_property",(X,de,Ce)=>{!function Kn(X,de){if(wt&&!ht||Zone[X.symbol("patchEvents")])return;const Ce=de.__Zone_ignore_on_properties;let ve=[];if(nn){const se=window;ve=ve.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const Ie=function st(){try{const X=ie.navigator.userAgent;if(-1!==X.indexOf("MSIE ")||-1!==X.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:se,ignoreProperties:["error"]}]:[];gn(se,Rr(se),Ce&&Ce.concat(Ie),m(se))}ve=ve.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let se=0;se<ve.length;se++){const Ie=de[ve[se]];Ie&&Ie.prototype&&gn(Ie.prototype,Rr(Ie.prototype),Ce)}}(Ce,X)}),Zone.__load_patch("customElements",(X,de,Ce)=>{!function Mi(X,de){const{isBrowser:Ce,isMix:ve}=de.getGlobalObjects();(Ce||ve)&&X.customElements&&"customElements"in X&&de.patchCallbacks(de,X.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(X,Ce)}),Zone.__load_patch("XHR",(X,de)=>{!function je(vt){const et=vt.XMLHttpRequest;if(!et)return;const rt=et.prototype;let Ke=rt[M],Vt=rt[P];if(!Ke){const Je=vt.XMLHttpRequestEventTarget;if(Je){const jt=Je.prototype;Ke=jt[M],Vt=jt[P]}}const at="readystatechange",Kt="scheduled";function pt(Je){const jt=Je.data,ee=jt.target;ee[Ie]=!1,ee[De]=!1;const z=ee[se];Ke||(Ke=ee[M],Vt=ee[P]),z&&Vt.call(ee,at,z);const x=ee[se]=()=>{if(ee.readyState===ee.DONE)if(!jt.aborted&&ee[Ie]&&Je.state===Kt){const T=ee[de.__symbol__("loadfalse")];if(0!==ee.status&&T&&T.length>0){const te=Je.invoke;Je.invoke=function(){const me=ee[de.__symbol__("loadfalse")];for(let Ve=0;Ve<me.length;Ve++)me[Ve]===Je&&me.splice(Ve,1);!jt.aborted&&Je.state===Kt&&te.call(Je)},T.push(Je)}else Je.invoke()}else!jt.aborted&&!1===ee[Ie]&&(ee[De]=!0)};return Ke.call(ee,at,x),ee[Ce]||(ee[Ce]=Je),tt.apply(ee,jt.args),ee[Ie]=!0,Je}function Tt(){}function Ue(Je){const jt=Je.data;return jt.aborted=!0,Yt.apply(jt.target,jt.args)}const Cn=Xe(rt,"open",()=>function(Je,jt){return Je[ve]=0==jt[2],Je[He]=jt[1],Cn.apply(Je,jt)}),an=W("fetchTaskAborting"),dt=W("fetchTaskScheduling"),tt=Xe(rt,"send",()=>function(Je,jt){if(!0===de.current[dt]||Je[ve])return tt.apply(Je,jt);{const ee={target:Je,url:Je[He],isPeriodic:!1,args:jt,aborted:!1},z=$("XMLHttpRequest.send",Tt,ee,pt,Ue);Je&&!0===Je[De]&&!ee.aborted&&z.state===Kt&&z.invoke()}}),Yt=Xe(rt,"abort",()=>function(Je,jt){const ee=function St(Je){return Je[Ce]}(Je);if(ee&&"string"==typeof ee.type){if(null==ee.cancelFn||ee.data&&ee.data.aborted)return;ee.zone.cancelTask(ee)}else if(!0===de.current[an])return Yt.apply(Je,jt)})}(X);const Ce=W("xhrTask"),ve=W("xhrSync"),se=W("xhrListener"),Ie=W("xhrScheduled"),He=W("xhrURL"),De=W("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",X=>{X.navigator&&X.navigator.geolocation&&function ot(X,de){const Ce=X.constructor.name;for(let ve=0;ve<de.length;ve++){const se=de[ve],Ie=X[se];if(Ie){if(!Oe(B(X,se)))continue;X[se]=(De=>{const je=function(){return De.apply(this,Ae(arguments,Ce+"."+se))};return fe(je,De),je})(Ie)}}}(X.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(X,de)=>{function Ce(ve){return function(se){It(X,ve).forEach(He=>{const De=X.PromiseRejectionEvent;if(De){const je=new De(ve,{promise:se.promise,reason:se.rejection});He.invoke(je)}})}}X.PromiseRejectionEvent&&(de[W("unhandledPromiseRejectionHandler")]=Ce("unhandledrejection"),de[W("rejectionHandledHandler")]=Ce("rejectionhandled"))})},6895:(B,S,m)=>{"use strict";m.d(S,{Do:()=>wt,EM:()=>Ji,HT:()=>M,JF:()=>Oi,K0:()=>N,Mx:()=>mt,O5:()=>hr,Ov:()=>us,S$:()=>Ae,V_:()=>O,Ye:()=>nn,b0:()=>ye,bD:()=>Qi,ez:()=>Hr,lw:()=>F,mk:()=>Rn,mr:()=>Oe,q:()=>R,sg:()=>qn,tP:()=>Wi,w_:()=>P});var u=m(6738);let _=null;function R(){return _}function M(C){_||(_=C)}class P{}const N=new u.OlP("DocumentToken");let F=(()=>{class C{historyGo(b){throw new Error("Not implemented")}}return C.\u0275fac=function(b){return new(b||C)},C.\u0275prov=u.Yz7({token:C,factory:function(){return function H(){return(0,u.LFG)($)}()},providedIn:"platform"}),C})();const O=new u.OlP("Location Initialized");let $=(()=>{class C extends F{constructor(b){super(),this._doc=b,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return R().getBaseHref(this._doc)}onPopState(b){const V=R().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",b,!1),()=>V.removeEventListener("popstate",b)}onHashChange(b){const V=R().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",b,!1),()=>V.removeEventListener("hashchange",b)}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(b){this.location.pathname=b}pushState(b,V,ne){W()?this._history.pushState(b,V,ne):this.location.hash=ne}replaceState(b,V,ne){W()?this._history.replaceState(b,V,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return C.\u0275fac=function(b){return new(b||C)(u.LFG(N))},C.\u0275prov=u.Yz7({token:C,factory:function(){return function re(){return new $((0,u.LFG)(N))}()},providedIn:"platform"}),C})();function W(){return!!window.history.pushState}function ie(C,k){if(0==C.length)return k;if(0==k.length)return C;let b=0;return C.endsWith("/")&&b++,k.startsWith("/")&&b++,2==b?C+k.substring(1):1==b?C+k:C+"/"+k}function oe(C){const k=C.match(/#|\?|$/),b=k&&k.index||C.length;return C.slice(0,b-("/"===C[b-1]?1:0))+C.slice(b)}function ue(C){return C&&"?"!==C[0]?"?"+C:C}let Ae=(()=>{class C{historyGo(b){throw new Error("Not implemented")}}return C.\u0275fac=function(b){return new(b||C)},C.\u0275prov=u.Yz7({token:C,factory:function(){return function ot(C){const k=(0,u.LFG)(N).location;return new ye((0,u.LFG)(F),k&&k.origin||"")}()},providedIn:"root"}),C})();const Oe=new u.OlP("appBaseHref");let ye=(()=>{class C extends Ae{constructor(b,V){if(super(),this._platformLocation=b,this._removeListenerFns=[],null==V&&(V=this._platformLocation.getBaseHrefFromDOM()),null==V)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=V}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}prepareExternalUrl(b){return ie(this._baseHref,b)}path(b=!1){const V=this._platformLocation.pathname+ue(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&b?`${V}${ne}`:V}pushState(b,V,ne,be){const Be=this.prepareExternalUrl(ne+ue(be));this._platformLocation.pushState(b,V,Be)}replaceState(b,V,ne,be){const Be=this.prepareExternalUrl(ne+ue(be));this._platformLocation.replaceState(b,V,Be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return C.\u0275fac=function(b){return new(b||C)(u.LFG(F),u.LFG(Oe,8))},C.\u0275prov=u.Yz7({token:C,factory:C.\u0275fac}),C})(),wt=(()=>{class C extends Ae{constructor(b,V){super(),this._platformLocation=b,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}path(b=!1){let V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(b){const V=ie(this._baseHref,b);return V.length>0?"#"+V:V}pushState(b,V,ne,be){let Be=this.prepareExternalUrl(ne+ue(be));0==Be.length&&(Be=this._platformLocation.pathname),this._platformLocation.pushState(b,V,Be)}replaceState(b,V,ne,be){let Be=this.prepareExternalUrl(ne+ue(be));0==Be.length&&(Be=this._platformLocation.pathname),this._platformLocation.replaceState(b,V,Be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return C.\u0275fac=function(b){return new(b||C)(u.LFG(F),u.LFG(Oe,8))},C.\u0275prov=u.Yz7({token:C,factory:C.\u0275fac}),C})(),nn=(()=>{class C{constructor(b,V){this._subject=new u.vpe,this._urlChangeListeners=[],this._platformStrategy=b;const ne=this._platformStrategy.getBaseHref();this._platformLocation=V,this._baseHref=oe(We(ne)),this._platformStrategy.onPopState(be=>{this._subject.emit({url:this.path(!0),pop:!0,state:be.state,type:be.type})})}path(b=!1){return this.normalize(this._platformStrategy.path(b))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(b,V=""){return this.path()==this.normalize(b+ue(V))}normalize(b){return C.stripTrailingSlash(function Et(C,k){return C&&k.startsWith(C)?k.substring(C.length):k}(this._baseHref,We(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._platformStrategy.prepareExternalUrl(b)}go(b,V="",ne=null){this._platformStrategy.pushState(ne,"",b,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+ue(V)),ne)}replaceState(b,V="",ne=null){this._platformStrategy.replaceState(ne,"",b,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+ue(V)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(b=0){this._platformStrategy.historyGo?.(b)}onUrlChange(b){this._urlChangeListeners.push(b),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}))}_notifyUrlChangeListeners(b="",V){this._urlChangeListeners.forEach(ne=>ne(b,V))}subscribe(b,V,ne){return this._subject.subscribe({next:b,error:V,complete:ne})}}return C.normalizeQueryParams=ue,C.joinWithSlash=ie,C.stripTrailingSlash=oe,C.\u0275fac=function(b){return new(b||C)(u.LFG(Ae),u.LFG(F))},C.\u0275prov=u.Yz7({token:C,factory:function(){return function ht(){return new nn((0,u.LFG)(Ae),(0,u.LFG)(F))}()},providedIn:"root"}),C})();function We(C){return C.replace(/\/index.html$/,"")}function mt(C,k){k=encodeURIComponent(k);for(const b of C.split(";")){const V=b.indexOf("="),[ne,be]=-1==V?[b,""]:[b.slice(0,V),b.slice(V+1)];if(ne.trim()===k)return decodeURIComponent(be)}return null}let Rn=(()=>{class C{constructor(b,V,ne,be){this._iterableDiffers=b,this._keyValueDiffers=V,this._ngEl=ne,this._renderer=be,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(b){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof b?b.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(b){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof b?b.split(/\s+/):b,this._rawClass&&((0,u.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const b=this._iterableDiffer.diff(this._rawClass);b&&this._applyIterableChanges(b)}else if(this._keyValueDiffer){const b=this._keyValueDiffer.diff(this._rawClass);b&&this._applyKeyValueChanges(b)}}_applyKeyValueChanges(b){b.forEachAddedItem(V=>this._toggleClass(V.key,V.currentValue)),b.forEachChangedItem(V=>this._toggleClass(V.key,V.currentValue)),b.forEachRemovedItem(V=>{V.previousValue&&this._toggleClass(V.key,!1)})}_applyIterableChanges(b){b.forEachAddedItem(V=>{if("string"!=typeof V.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,u.AaK)(V.item)}`);this._toggleClass(V.item,!0)}),b.forEachRemovedItem(V=>this._toggleClass(V.item,!1))}_applyClasses(b){b&&(Array.isArray(b)||b instanceof Set?b.forEach(V=>this._toggleClass(V,!0)):Object.keys(b).forEach(V=>this._toggleClass(V,!!b[V])))}_removeClasses(b){b&&(Array.isArray(b)||b instanceof Set?b.forEach(V=>this._toggleClass(V,!1)):Object.keys(b).forEach(V=>this._toggleClass(V,!1)))}_toggleClass(b,V){(b=b.trim())&&b.split(/\s+/g).forEach(ne=>{V?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return C.\u0275fac=function(b){return new(b||C)(u.Y36(u.ZZ4),u.Y36(u.aQg),u.Y36(u.SBq),u.Y36(u.Qsj))},C.\u0275dir=u.lG2({type:C,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),C})();class Er{constructor(k,b,V,ne){this.$implicit=k,this.ngForOf=b,this.index=V,this.count=ne}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 qn=(()=>{class C{constructor(b,V,ne){this._viewContainer=b,this._template=V,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(b){b&&(this._template=b)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const b=this._ngForOf;!this._differ&&b&&(this._differ=this._differs.find(b).create(this.ngForTrackBy))}if(this._differ){const b=this._differ.diff(this._ngForOf);b&&this._applyChanges(b)}}_applyChanges(b){const V=this._viewContainer;b.forEachOperation((ne,be,Be)=>{if(null==ne.previousIndex)V.createEmbeddedView(this._template,new Er(ne.item,this._ngForOf,-1,-1),null===Be?void 0:Be);else if(null==Be)V.remove(null===be?void 0:be);else if(null!==be){const Ye=V.get(be);V.move(Ye,Be),mn(Ye,ne)}});for(let ne=0,be=V.length;ne<be;ne++){const Ye=V.get(ne).context;Ye.index=ne,Ye.count=be,Ye.ngForOf=this._ngForOf}b.forEachIdentityChange(ne=>{mn(V.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(b,V){return!0}}return C.\u0275fac=function(b){return new(b||C)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(u.ZZ4))},C.\u0275dir=u.lG2({type:C,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),C})();function mn(C,k){C.context.$implicit=k.item}let hr=(()=>{class C{constructor(b,V){this._viewContainer=b,this._context=new on,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){en("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){en("ngIfElse",b),this._elseTemplateRef=b,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(b,V){return!0}}return C.\u0275fac=function(b){return new(b||C)(u.Y36(u.s_b),u.Y36(u.Rgc))},C.\u0275dir=u.lG2({type:C,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),C})();class on{constructor(){this.$implicit=null,this.ngIf=null}}function en(C,k){if(k&&!k.createEmbeddedView)throw new Error(`${C} must be a TemplateRef, but received '${(0,u.AaK)(k)}'.`)}let Wi=(()=>{class C{constructor(b){this._viewContainerRef=b,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(b){if(b.ngTemplateOutlet){const V=this._viewContainerRef;this._viewRef&&V.remove(V.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?V.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&b.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return C.\u0275fac=function(b){return new(b||C)(u.Y36(u.s_b))},C.\u0275dir=u.lG2({type:C,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[u.TTD]}),C})();class qr{createSubscription(k,b){return k.subscribe({next:b,error:V=>{throw V}})}dispose(k){k.unsubscribe()}onDestroy(k){k.unsubscribe()}}class yr{createSubscription(k,b){return k.then(b,V=>{throw V})}dispose(k){}onDestroy(k){}}const ai=new yr,ir=new qr;let us=(()=>{class C{constructor(b){this._ref=b,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(b){return this._obj?b!==this._obj?(this._dispose(),this.transform(b)):this._latestValue:(b&&this._subscribe(b),this._latestValue)}_subscribe(b){this._obj=b,this._strategy=this._selectStrategy(b),this._subscription=this._strategy.createSubscription(b,V=>this._updateLatestValue(b,V))}_selectStrategy(b){if((0,u.QGY)(b))return ai;if((0,u.F4k)(b))return ir;throw function Mn(C,k){return new u.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,V){b===this._obj&&(this._latestValue=V,this._ref.markForCheck())}}return C.\u0275fac=function(b){return new(b||C)(u.Y36(u.sBO,16))},C.\u0275pipe=u.Yjl({name:"async",type:C,pure:!1}),C})(),Hr=(()=>{class C{}return C.\u0275fac=function(b){return new(b||C)},C.\u0275mod=u.oAB({type:C}),C.\u0275inj=u.cJS({}),C})();const Qi="browser";let Ji=(()=>{class C{}return C.\u0275prov=(0,u.Yz7)({token:C,providedIn:"root",factory:()=>new Xi((0,u.LFG)(N),window)}),C})();class Xi{constructor(k,b){this.document=k,this.window=b,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const b=function Gn(C,k){const b=C.getElementById(k)||C.getElementsByName(k)[0];if(b)return b;if("function"==typeof C.createTreeWalker&&C.body&&(C.body.createShadowRoot||C.body.attachShadow)){const V=C.createTreeWalker(C.body,NodeFilter.SHOW_ELEMENT);let ne=V.currentNode;for(;ne;){const be=ne.shadowRoot;if(be){const Be=be.getElementById(k)||be.querySelector(`[name="${k}"]`);if(Be)return Be}ne=V.nextNode()}}return null}(this.document,k);b&&(this.scrollToElement(b),b.focus())}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const b=this.window.history;b&&b.scrollRestoration&&(b.scrollRestoration=k)}}scrollToElement(k){const b=k.getBoundingClientRect(),V=b.left+this.window.pageXOffset,ne=b.top+this.window.pageYOffset,be=this.offset();this.window.scrollTo(V-be[0],ne-be[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=es(this.window.history)||es(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function es(C){return Object.getOwnPropertyDescriptor(C,"scrollRestoration")}class Oi{}},6738:(B,S,m)=>{"use strict";m.d(S,{deG:()=>ut,tb:()=>Wg,AFp:()=>$g,ip1:()=>Hg,CZH:()=>Nu,hGG:()=>tw,z2F:()=>Hu,sBO:()=>Bb,Sil:()=>yb,_Vd:()=>Al,EJc:()=>gb,SBq:()=>Ha,qLn:()=>cl,vpe:()=>Gi,tBr:()=>yi,XFs:()=>se,OlP:()=>_e,zs3:()=>Ui,ZZ4:()=>Zu,aQg:()=>Ku,soG:()=>ku,YKP:()=>tg,h0i:()=>Zo,PXZ:()=>Ob,R0b:()=>Di,FiY:()=>Cr,Lbi:()=>hb,g9A:()=>Gg,Qsj:()=>c0,FYo:()=>qp,JOm:()=>Bi,tp0:()=>xr,Rgc:()=>Wa,dDg:()=>Kg,GfV:()=>Jp,s_b:()=>Fl,ifc:()=>Vt,eFA:()=>Jg,G48:()=>jb,X6Q:()=>Lb,_c5:()=>ew,VLi:()=>Tb,c2e:()=>fb,zSh:()=>Uc,wAp:()=>Rt,vHH:()=>ht,cg1:()=>du,kL8:()=>wp,dqk:()=>Ue,sIi:()=>Na,CqO:()=>Sf,QGY:()=>su,F4k:()=>Mf,RDi:()=>ne,AaK:()=>ue,TTD:()=>$r,xp6:()=>nh,uIk:()=>Zc,Tol:()=>Zf,Gre:()=>up,Suo:()=>Cg,Xpm:()=>j,lG2:()=>pe,Yz7:()=>gn,cJS:()=>Kn,oAB:()=>Se,Yjl:()=>Ze,Y36:()=>ka,_UZ:()=>tu,GkF:()=>iu,qZA:()=>El,TgZ:()=>wl,EpF:()=>Df,LFG:()=>Pt,$8M:()=>Ea,$Z:()=>Ef,NdJ:()=>ou,CRH:()=>bg,oxw:()=>Of,ALo:()=>hg,lcZ:()=>fg,Q6J:()=>Xc,s9C:()=>lu,MGl:()=>Dl,DdM:()=>sg,VKq:()=>og,iGM:()=>vg,MAs:()=>hf,CHM:()=>Ii,LSH:()=>nc,YNc:()=>df,W1O:()=>Mg,_uU:()=>tp,Oqu:()=>uu,hij:()=>Sl});var u=m(2916),_=m(2866),R=m(9146),I=m(3009),P=m(5529),N=m(2654),F=m(1762);class O{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,i=this.subjectFactory(),s=r(i).subscribe(t);return s.add(n.subscribe(i)),s}}var $=m(4327);function W(){return new P.xQ}function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).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 Ae(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ot=ie({__forward_ref__:ie});function Oe(e){return e.__forward_ref__=Oe,e.toString=function(){return ue(this())},e}function ye(e){return function wt(e){return"function"==typeof e&&e.hasOwnProperty(ot)&&e.__forward_ref__===Oe}(e)?e():e}class ht extends Error{constructor(t,n){super(function Et(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function We(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():We(e)}function Xe(e,t){const n=t?` in ${t}`:"";throw new ht(-201,`No provider for ${ct(e)} found${n}`)}function Ht(e,t){null==e&&function It(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function gn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Kn(e){return{providers:e.providers||[],imports:e.imports||[]}}function cr(e){return Qn(e,X)||Qn(e,Ce)}function Qn(e,t){return e.hasOwnProperty(t)?e[t]:null}function ur(e){return e&&(e.hasOwnProperty(de)||e.hasOwnProperty(ve))?e[de]:null}const X=ie({\u0275prov:ie}),de=ie({\u0275inj:ie}),Ce=ie({ngInjectableDef:ie}),ve=ie({ngInjectorDef:ie});var se=(()=>((se=se||{})[se.Default=0]="Default",se[se.Host=1]="Host",se[se.Self=2]="Self",se[se.SkipSelf=4]="SkipSelf",se[se.Optional=8]="Optional",se))();let Ie;function De(e){const t=Ie;return Ie=e,t}function je(e,t,n){const r=cr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&se.Optional?null:void 0!==t?t:void Xe(ue(e),"Injector")}function et(e){return{toString:e}.toString()}var rt=(()=>((rt=rt||{})[rt.OnPush=0]="OnPush",rt[rt.Default=1]="Default",rt))(),Vt=(()=>{return(e=Vt||(Vt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Vt;var e})();const at=typeof globalThis<"u"&&globalThis,Kt=typeof window<"u"&&window,pt=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Ue=at||typeof global<"u"&&global||Kt||pt,an={},dt=[],tt=ie({\u0275cmp:ie}),Yt=ie({\u0275dir:ie}),Je=ie({\u0275pipe:ie}),jt=ie({\u0275mod:ie}),ee=ie({\u0275fac:ie}),z=ie({__NG_ELEMENT_ID__:ie});let x=0;function j(e){return et(()=>{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===rt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||dt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Vt.Emulated,id:"c",styles:e.styles||dt,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,c=e.pipes;return r.id+=x++,r.inputs=K(e.inputs,n),r.outputs=K(e.outputs),s&&s.forEach(h=>h(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(te):null,r.pipeDefs=c?()=>("function"==typeof c?c():c).map(me):null,r})}function te(e){return $e(e)||function yt(e){return e[Yt]||null}(e)}function me(e){return function Re(e){return e[Je]||null}(e)}const Ve={};function Se(e){return et(()=>{const t={type:e.type,bootstrap:e.bootstrap||dt,declarations:e.declarations||dt,imports:e.imports||dt,exports:e.exports||dt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Ve[e.id]=e.type),t})}function K(e,t){if(null==e)return an;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const pe=j;function Ze(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function $e(e){return e[tt]||null}function Le(e,t){const n=e[jt]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function Mr(e){return Array.isArray(e)&&"object"==typeof e[1]}function Mn(e){return Array.isArray(e)&&!0===e[1]}function qr(e){return 0!=(8&e.flags)}function yr(e){return 2==(2&e.flags)}function ai(e){return 1==(1&e.flags)}function ir(e){return null!==e.template}function us(e){return 0!=(512&e[2])}function _r(e,t){return e.hasOwnProperty(ee)?e[ee]:null}class ks{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function $r(){return ci}function ci(e){return e.type.prototype.ngOnChanges&&(e.setInput=qi),Ls}function Ls(){const e=Bs(this),t=e?.current;if(t){const n=e.previous;if(n===an)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qi(e,t,n,r){const i=Bs(e)||function Ji(e,t){return e[js]=t}(e,{previous:an,current:null}),s=i.current||(i.current={}),c=i.previous,h=this.declaredInputs[n],y=c[h];s[h]=new ks(y&&y.currentValue,t,c===an),e[r]=t}$r.ngInherit=!0;const js="__ngSimpleChanges__";function Bs(e){return e[js]||null}const C="math";let V;function ne(e){V=e}function Ye(e){return!!e.listen}const un={createRenderer:(e,t)=>function be(){return void 0!==V?V:typeof document<"u"?document:void 0}()};function Lt(e){for(;Array.isArray(e);)e=e[0];return e}function hn(e,t){return Lt(t[e])}function dn(e,t){return Lt(t[e.index])}function yn(e,t){return e.data[t]}function Un(e,t){return e[t]}function bn(e,t){const n=t[e];return Mr(n)?n:n[0]}function Sr(e){return 4==(4&e[2])}function zr(e){return 128==(128&e[2])}function Tr(e,t){return null==t?null:e[t]}function Vs(e){e[18]=0}function Us(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 Ft={lFrame:po(null),bindingsEnabled:!0};function Fr(){return Ft.bindingsEnabled}function Ne(){return Ft.lFrame.lView}function Jt(){return Ft.lFrame.tView}function Ii(e){return Ft.lFrame.contextLView=e,e[8]}function Sn(){let e=zs();for(;null!==e&&64===e.type;)e=e.parent;return e}function zs(){return Ft.lFrame.currentTNode}function fr(e,t){const n=Ft.lFrame;n.currentTNode=e,n.isParent=t}function di(){return Ft.lFrame.isParent}function ts(){Ft.lFrame.isParent=!1}function Wn(){const e=Ft.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function hi(){return Ft.lFrame.bindingIndex++}function Cs(e,t){const n=Ft.lFrame;n.bindingIndex=n.bindingRootIndex=e,fi(t)}function fi(e){Ft.lFrame.currentDirectiveIndex=e}function Ys(){return Ft.lFrame.currentQueryIndex}function ti(e){Ft.lFrame.currentQueryIndex=e}function ho(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function fo(e,t,n){if(n&se.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&se.Host||(i=ho(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Ft.lFrame=ra();return r.currentTNode=t,r.lView=e,!0}function bs(e){const t=ra(),n=e[1];Ft.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ra(){const e=Ft.lFrame,t=null===e?null:e.child;return null===t?po(e):t}function po(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 ia(){const e=Ft.lFrame;return Ft.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sa=ia;function ws(){const e=ia();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 or(){return Ft.lFrame.selectedIndex}function pi(e){Ft.lFrame.selectedIndex=e}function On(){const e=Ft.lFrame;return yn(e.tView,e.selectedIndex)}function Es(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:h,ngAfterViewInit:y,ngAfterViewChecked:D,ngOnDestroy:A}=s;c&&(e.contentHooks||(e.contentHooks=[])).push(-n,c),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),y&&(e.viewHooks||(e.viewHooks=[])).push(-n,y),D&&((e.viewHooks||(e.viewHooks=[])).push(n,D),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,D)),null!=A&&(e.destroyHooks||(e.destroyHooks=[])).push(n,A)}}function Ds(e,t,n){mo(e,t,3,n)}function Zs(e,t,n,r){(3&e[2])===n&&mo(e,t,n,r)}function go(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function mo(e,t,n,r){const s=r??-1,c=t.length-1;let h=0;for(let y=void 0!==r?65535&e[18]:0;y<c;y++)if("number"==typeof t[y+1]){if(h=t[y],null!=r&&h>=r)break}else t[y]<0&&(e[18]+=65536),(h<s||-1==s)&&(ha(e,n,t,y),e[18]=(4294901760&e[18])+y+2),y++}function ha(e,t,n,r){const i=n[r]<0,s=n[r+1],h=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(h)}finally{}}}else try{s.call(h)}finally{}}class ns{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Js(e,t,n){const r=Ye(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const c=n[i++],h=n[i++],y=n[i++];r?e.setAttribute(t,h,y,c):t.setAttributeNS(c,h,y)}else{const c=s,h=n[++i];Ms(c)?r&&e.setProperty(t,c,h):r?e.setAttribute(t,c,h):t.setAttribute(c,h),i++}}return i}function yo(e){return 3===e||4===e||6===e}function Ms(e){return 64===e.charCodeAt(0)}function Xs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ga(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ga(e,t,n,r,i){let s=0,c=e.length;if(-1===t)c=-1;else for(;s<e.length;){const h=e[s++];if("number"==typeof h){if(h===t){c=-1;break}if(h>t){c=s-1;break}}}for(;s<e.length;){const h=e[s];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==c&&(e.splice(c,0,t),s=c+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function gr(e){return-1!==e}function is(e){return 32767&e}function gi(e,t){let n=function _o(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Ss=!0;function ni(e){const t=Ss;return Ss=e,t}let Ja=0;function ss(e,t){const n=_a(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ts(r.data,e),Ts(t,null),Ts(r.blueprint,null));const i=Nn(e,t),s=e.injectorIndex;if(gr(i)){const c=is(i),h=gi(i,t),y=h[1].data;for(let D=0;D<8;D++)t[s+D]=h[c+D]|y[c+D]}return t[s+8]=i,s}function Ts(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _a(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Nn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const s=i[1],c=s.type;if(r=2===c?s.declTNode:1===c?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function pn(e,t,n){!function ya(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(z)&&(r=n[z]),null==r&&(r=n[z]=Ja++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Ps(e,t,n){if(n&se.Optional)return e;Xe(t,"NodeInjector")}function va(e,t,n,r){if(n&se.Optional&&void 0===r&&(r=null),0==(n&(se.Self|se.Host))){const i=e[9],s=De(void 0);try{return i?i.get(t,r,n&se.Optional):je(t,r,n&se.Optional)}finally{De(s)}}return Ps(r,t,n)}function Pr(e,t,n,r=se.Default,i){if(null!==e){const s=function Xa(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(z)?e[z]:void 0;return"number"==typeof t?t>=0?255&t:Ca:t}(n);if("function"==typeof s){if(!fo(t,e,r))return r&se.Host?Ps(i,n,r):va(t,n,r,i);try{const c=s(r);if(null!=c||r&se.Optional)return c;Xe(n)}finally{sa()}}else if("number"==typeof s){let c=null,h=_a(e,t),y=-1,D=r&se.Host?t[16][6]:null;for((-1===h||r&se.SkipSelf)&&(y=-1===h?Nn(e,t):t[h+8],-1!==y&&ba(r,!1)?(c=t[1],h=is(y),t=gi(y,t)):h=-1);-1!==h;){const A=t[1];if(eo(s,h,A.data)){const G=bo(h,t,n,c,r,D);if(G!==Co)return G}y=t[h+8],-1!==y&&ba(r,t[1].data[h+8]===D)&&eo(s,h,t)?(c=A,h=is(y),t=gi(y,t)):h=-1}}}return va(t,n,r,i)}const Co={};function Ca(){return new os(Sn(),Ne())}function bo(e,t,n,r,i,s){const c=t[1],h=c.data[e+8],A=xs(h,c,n,null==r?yr(h)&&Ss:r!=c&&0!=(3&h.type),i&se.Host&&s===h);return null!==A?Os(t,c,A,h):Co}function xs(e,t,n,r,i){const s=e.providerIndexes,c=t.data,h=1048575&s,y=e.directiveStart,A=s>>20,q=i?h+A:e.directiveEnd;for(let ce=r?h:h+A;ce<q;ce++){const Ee=c[ce];if(ce<y&&n===Ee||ce>=y&&Ee.type===n)return ce}if(i){const ce=c[y];if(ce&&ir(ce)&&ce.type===n)return y}return null}function Os(e,t,n,r){let i=e[n];const s=t.data;if(function Ks(e){return e instanceof ns}(i)){const c=i;c.resolving&&function Gt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ht(-200,`Circular dependency in DI detected for ${e}${n}`)}(ct(s[n]));const h=ni(c.canSeeViewProviders);c.resolving=!0;const y=c.injectImpl?De(c.injectImpl):null;fo(e,r,se.Default);try{i=e[n]=c.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function da(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const c=ci(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,c)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==y&&De(y),ni(h),c.resolving=!1,sa()}}return i}function eo(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function ba(e,t){return!(e&se.Self||e&se.Host&&t)}class os{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Pr(this._tNode,this._lView,t,r,n)}}function Ea(e){return function Wr(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(yo(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Sn(),e)}const d="__parameters__";function L(e,t,n){return et(()=>{const r=function w(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const c=new i(...s);return h.annotation=c,h;function h(y,D,A){const G=y.hasOwnProperty(d)?y[d]:Object.defineProperty(y,d,{value:[]})[d];for(;G.length<=A;)G.push(null);return(G[A]=G[A]||[]).push(c),y}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class _e{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=gn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ut=new _e("AnalyzeForEntryComponents");function Yr(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)),Yr(r,t)):t!==e&&t.push(r)}return t}function mi(e,t){e.forEach(n=>Array.isArray(n)?mi(n,t):t(n))}function Wl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Da(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function kr(e,t,n){let r=io(e,t);return r>=0?e[1|r]=n:(r=~r,function ad(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function el(e,t){const n=io(e,t);if(n>=0)return e[1|n]}function io(e,t){return function Kl(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),c=e[s<<n];if(t===c)return s<<n;c>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const o={},g="__NG_DI_FLAG__",E="ngTempTokenPath",Z=/\n/gm,ge="__source",Me=ie({provide:String,useValue:ie});let nt;function _t(e){const t=nt;return nt=e,t}function Bt(e,t=se.Default){if(void 0===nt)throw new ht(203,"");return null===nt?je(e,void 0,t):nt.get(e,t&se.Optional?null:void 0,t)}function Pt(e,t=se.Default){return(function He(){return Ie}()||Bt)(ye(e),t)}const Zt=Pt;function fn(e){const t=[];for(let n=0;n<e.length;n++){const r=ye(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ht(900,"");let i,s=se.Default;for(let c=0;c<r.length;c++){const h=r[c],y=Yn(h);"number"==typeof y?-1===y?i=h.token:s|=y:i=h}t.push(Pt(i,s))}else t.push(Pt(r))}return t}function In(e,t){return e[g]=t,e.prototype[g]=t,e}function Yn(e){return e[g]}const yi=In(L("Inject",e=>({token:e})),-1),Cr=In(L("Optional"),8),xr=In(L("SkipSelf"),4);class md{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Is(e){return e instanceof md?e.changingThisBreaksApplicationSecurity:e}const Mm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Sm=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;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 nc(e){const t=function Ta(){const e=Ne();return e&&e[12]}();return t?t.sanitize(Zn.URL,e)||"":function Ma(e,t){const n=function bm(e){return e instanceof md&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?Is(e):function al(e){return(e=String(e)).match(Mm)||e.match(Sm)?e:"unsafe:"+e}(We(e))}const Sd="__ngContext__";function br(e,t){e[Sd]=t}function ic(e){const t=function Pa(e){return e[Sd]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function oc(e){return e.ngOriginalError}function Km(e,...t){e.error(...t)}class cl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Zm(e){return e&&e.ngErrorLogger||Km}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&oc(t);for(;n&&oc(n);)n=oc(n);return n||null}}const sy=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Ue))();function ji(e){return e instanceof Function?e():e}var Bi=(()=>((Bi=Bi||{})[Bi.Important=1]="Important",Bi[Bi.DashCase=2]="DashCase",Bi))();function lc(e,t){return undefined(e,t)}function xa(e){const t=e[3];return Mn(t)?t[3]:t}function cc(e){return Fd(e[13])}function uc(e){return Fd(e[4])}function Fd(e){for(;null!==e&&!Mn(e);)e=e[4];return e}function To(e,t,n,r,i){if(null!=r){let s,c=!1;Mn(r)?s=r:Mr(r)&&(c=!0,r=r[0]);const h=Lt(r);0===e&&null!==n?null==i?Ud(t,n,h):so(t,n,h,i||null,!0):1===e&&null!==n?so(t,n,h,i||null,!0):2===e?function Zd(e,t,n){const r=ul(e,t);r&&function vy(e,t,n,r){Ye(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,h,c):3===e&&t.destroyNode(h),null!=s&&function wy(e,t,n,r,i){const s=n[7];s!==Lt(n)&&To(t,e,r,s,i);for(let h=10;h<n.length;h++){const y=n[h];Oa(y[1],y,e,t,r,s)}}(t,e,s,n,i)}}function hc(e,t,n){if(Ye(e))return e.createElement(t,n);{const r=null!==n?function b(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===C?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function Ld(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Us(i,-1)),n.splice(r,1)}function fc(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Ld(i,r),t>0&&(e[n-1][4]=r[4]);const s=Da(e,10+t);!function dy(e,t){Oa(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const c=s[19];null!==c&&c.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function jd(e,t){if(!(256&t[2])){const n=t[11];Ye(n)&&n.destroyNode&&Oa(e,t,n,3,null,null),function py(e){let t=e[13];if(!t)return pc(e[1],e);for(;t;){let n=null;if(Mr(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Mr(t)&&pc(t[1],t),t=t[3];null===t&&(t=e),Mr(t)&&pc(t[1],t),n=t&&t[4]}t=n}}(t)}}function pc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function _y(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof ns)){const s=n[r+1];if(Array.isArray(s))for(let c=0;c<s.length;c+=2){const h=i[s[c]],y=s[c+1];try{y.call(h)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function yy(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const c=n[s+1],h="function"==typeof c?c(t):Lt(t[c]),y=r[i=n[s+2]],D=n[s+3];"boolean"==typeof D?h.removeEventListener(n[s],y,D):D>=0?r[i=D]():r[i=-D].unsubscribe(),s+=2}else{const c=r[i=n[s+1]];n[s].call(c)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();t[7]=null}}(e,t),1===t[1].type&&Ye(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Mn(t[3])){n!==t[3]&&Ld(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Bd(e,t,n){return function Vd(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 i=e.data[r.directiveStart].encapsulation;if(i===Vt.None||i===Vt.Emulated)return null}return dn(r,n)}(e,t.parent,n)}function so(e,t,n,r,i){Ye(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Ud(e,t,n){Ye(e)?e.appendChild(t,n):t.appendChild(n)}function Hd(e,t,n,r,i){null!==r?so(e,t,n,r,i):Ud(e,t,n)}function ul(e,t){return Ye(e)?e.parentNode(t):t.parentNode}let Gd=function zd(e,t,n){return 40&e.type?dn(e,n):null};function dl(e,t,n,r){const i=Bd(e,r,t),s=t[11],h=function $d(e,t,n){return Gd(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let y=0;y<n.length;y++)Hd(s,i,n[y],h,!1);else Hd(s,i,n,h,!1)}function hl(e,t){if(null!==t){const n=t.type;if(3&n)return dn(t,e);if(4&n)return mc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return hl(e,r);{const i=e[t.index];return Mn(i)?mc(-1,i):Lt(i)}}if(32&n)return lc(t,e)()||Lt(e[t.index]);{const r=Yd(e,t);return null!==r?Array.isArray(r)?r[0]:hl(xa(e[16]),r):hl(e,t.next)}}return null}function Yd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function mc(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return hl(r,i)}return t[7]}function yc(e,t,n,r,i,s,c){for(;null!=n;){const h=r[n.index],y=n.type;if(c&&0===t&&(h&&br(Lt(h),r),n.flags|=4),64!=(64&n.flags))if(8&y)yc(e,t,n.child,r,i,s,!1),To(t,e,i,h,s);else if(32&y){const D=lc(n,r);let A;for(;A=D();)To(t,e,i,A,s);To(t,e,i,h,s)}else 16&y?Kd(e,t,r,n,i,s):To(t,e,i,h,s);n=c?n.projectionNext:n.next}}function Oa(e,t,n,r,i,s){yc(n,r,e.firstChild,t,i,s,!1)}function Kd(e,t,n,r,i,s){const c=n[16],y=c[6].projection[r.projection];if(Array.isArray(y))for(let D=0;D<y.length;D++)To(t,e,i,y[D],s);else yc(e,t,y,c[3],i,s,!0)}function Qd(e,t,n){Ye(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function _c(e,t,n){Ye(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function qd(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const Jd="ng-template";function Dy(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==qd(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Xd(e){return 4===e.type&&e.value!==Jd}function My(e,t,n){return t===(4!==e.type||n?e.value:Jd)}function Sy(e,t,n){let r=4;const i=e.attrs||[],s=function xy(e){for(let t=0;t<e.length;t++)if(yo(e[t]))return t;return e.length}(i);let c=!1;for(let h=0;h<t.length;h++){const y=t[h];if("number"!=typeof y){if(!c)if(4&r){if(r=2|1&r,""!==y&&!My(e,y,n)||""===y&&1===t.length){if(vi(r))return!1;c=!0}}else{const D=8&r?y:t[++h];if(8&r&&null!==e.attrs){if(!Dy(e.attrs,D,n)){if(vi(r))return!1;c=!0}continue}const G=Ty(8&r?"class":y,i,Xd(e),n);if(-1===G){if(vi(r))return!1;c=!0;continue}if(""!==D){let q;q=G>s?"":i[G+1].toLowerCase();const ce=8&r?q:null;if(ce&&-1!==qd(ce,D,0)||2&r&&D!==q){if(vi(r))return!1;c=!0}}}}else{if(!c&&!vi(r)&&!vi(y))return!1;if(c&&vi(y))continue;c=!1,r=y|1&r}}return vi(r)||c}function vi(e){return 0==(1&e)}function Ty(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const c=t[i];if(c===e)return i;if(3===c||6===c)s=!0;else{if(1===c||2===c){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===c)break;if(0===c){i+=4;continue}}i+=s?1:2}return-1}return function Oy(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 eh(e,t,n=!1){for(let r=0;r<t.length;r++)if(Sy(e,t[r],n))return!0;return!1}function th(e,t){return e?":not("+t.trim()+")":t}function Ay(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const h=e[++n];i+="["+c+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!vi(c)&&(t+=th(s,i),i=""),r=c,s=s||!vi(r);n++}return""!==i&&(t+=th(s,i)),t}const zt={};function nh(e){rh(Jt(),Ne(),or()+e,!1)}function rh(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Ds(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Zs(t,s,0,n)}pi(n)}function fl(e,t){return e<<17|t<<2}function Ci(e){return e>>17&32767}function vc(e){return 2|e}function ls(e){return(131068&e)>>2}function Cc(e,t){return-131069&e|t<<2}function bc(e){return 1|e}function ph(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const c=e.data[s];ti(i),c.contentQueries(2,t[s],s)}}}function Ia(e,t,n,r,i,s,c,h,y,D){const A=t.blueprint.slice();return A[0]=i,A[2]=140|r,Vs(A),A[3]=A[15]=e,A[8]=n,A[10]=c||e&&e[10],A[11]=h||e&&e[11],A[12]=y||e&&e[12]||null,A[9]=D||e&&e[9]||null,A[6]=s,A[16]=2==t.type?e[16]:A,A}function Po(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Oc(e,t,n,r,i){const s=zs(),c=di(),y=e.data[t]=function Qy(e,t,n,r,i,s){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:i,attrs:s,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,c?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=y),null!==s&&(c?null==s.child&&null!==y.parent&&(s.child=y):null===s.next&&(s.next=y)),y}(e,t,n,r,i),function ta(){return Ft.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const c=function ei(){const e=Ft.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===c?-1:c.injectorIndex}return fr(s,!0),s}function xo(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Aa(e,t,n){bs(t);try{const r=e.viewQuery;null!==r&&Bc(1,r,n);const i=e.template;null!==i&&gh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ph(e,t),e.staticViewQueries&&Bc(2,e.viewQuery,n);const s=e.components;null!==s&&function Yy(e,t){for(let n=0;n<t.length;n++)p_(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,ws()}}function Oo(e,t,n,r){const i=t[2];if(256!=(256&i)){bs(t);try{Vs(t),function Gs(e){return Ft.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&gh(e,t,n,2,r);const c=3==(3&i);if(c){const D=e.preOrderCheckHooks;null!==D&&Ds(t,D,null)}else{const D=e.preOrderHooks;null!==D&&Zs(t,D,0,null),go(t,0)}if(function h_(e){for(let t=cc(e);null!==t;t=uc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(1024&i[2])&&Us(s,1),i[2]|=1024}}}(t),function d_(e){for(let t=cc(e);null!==t;t=uc(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];zr(r)&&Oo(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&ph(e,t),c){const D=e.contentCheckHooks;null!==D&&Ds(t,D)}else{const D=e.contentHooks;null!==D&&Zs(t,D,1),go(t,1)}!function Gy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)pi(~i);else{const s=i,c=n[++r],h=n[++r];Cs(c,s),h(2,t[s])}}}finally{pi(-1)}}(e,t);const h=e.components;null!==h&&function Wy(e,t){for(let n=0;n<t.length;n++)f_(e,t[n])}(t,h);const y=e.viewQuery;if(null!==y&&Bc(2,y,r),c){const D=e.viewCheckHooks;null!==D&&Ds(t,D)}else{const D=e.viewHooks;null!==D&&Zs(t,D,2),go(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,Us(t[3],-1))}finally{ws()}}}function Zy(e,t,n,r){const i=t[10],c=Sr(t);try{!c&&i.begin&&i.begin(),c&&Aa(e,t,r),Oo(e,t,n,r)}finally{!c&&i.end&&i.end()}}function gh(e,t,n,r,i){const s=or(),c=2&r;try{pi(-1),c&&t.length>20&&rh(e,t,20,!1),n(r,i)}finally{pi(s)}}function mh(e,t,n){if(qr(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const c=e.data[s];c.contentQueries&&c.contentQueries(1,n[s],s)}}}function Ic(e,t,n){!Fr()||(function r_(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||ss(n,t),br(r,t);const c=n.initialInputs;for(let h=i;h<s;h++){const y=e.data[h],D=ir(y);D&&l_(t,n,y);const A=Os(t,e,h,n);br(A,t),null!==c&&c_(0,h-i,A,y,0,c),D&&(bn(n.index,t)[8]=A)}}(e,t,n,dn(n,t)),128==(128&n.flags)&&function i_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,c=n.index,h=function na(){return Ft.lFrame.currentDirectiveIndex}();try{pi(c);for(let y=r;y<i;y++){const D=e.data[y],A=t[y];fi(y),(null!==D.hostBindings||0!==D.hostVars||null!==D.hostAttrs)&&Dh(D,A)}}finally{pi(-1),fi(h)}}(e,t,n))}function Ac(e,t,n=dn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const c=r[s+1],h=-1===c?n(t,e):e[c];e[i++]=h}}}function yh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ml(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ml(e,t,n,r,i,s,c,h,y,D){const A=20+r,G=A+i,q=function Ky(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:zt);return n}(A,G),ce="function"==typeof D?D():D;return q[1]={type:e,blueprint:q,template:n,queries:null,viewQuery:h,declTNode:t,data:q.slice().fill(null,A),bindingStartIndex:A,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 s?s():s,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:y,consts:ce,incompleteFirstPass:!1}}function Ch(e,t,n,r){const i=Oh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Ih(e).push(r,i.length-1))}function bh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Zr(e,t,n,r,i,s,c,h){const y=dn(t,n);let A,D=t.inputs;!h&&null!=D&&(A=D[r])?(Nh(e,n,A,r,i),yr(t)&&function Xy(e,t){const n=bn(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),i=null!=c?c(i,t.value||"",r):i,Ye(s)?s.setProperty(y,r,i):Ms(r)||(y.setProperty?y.setProperty(r,i):y[r]=i))}function Rc(e,t,n,r){let i=!1;if(Fr()){const s=function s_(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const c=r[s];eh(n,c.selectors,!1)&&(i||(i=[]),pn(ss(n,t),e,c.type),ir(c)?(Mh(e,n),i.unshift(c)):i.push(c))}return i}(e,t,n),c=null===r?null:{"":-1};if(null!==s){i=!0,Sh(n,e.data.length,s.length);for(let A=0;A<s.length;A++){const G=s[A];G.providersResolver&&G.providersResolver(G)}let h=!1,y=!1,D=xo(e,t,s.length,null);for(let A=0;A<s.length;A++){const G=s[A];n.mergedAttrs=Xs(n.mergedAttrs,G.hostAttrs),Th(e,n,t,D,G),a_(D,G,c),null!==G.contentQueries&&(n.flags|=8),(null!==G.hostBindings||null!==G.hostAttrs||0!==G.hostVars)&&(n.flags|=128);const q=G.type.prototype;!h&&(q.ngOnChanges||q.ngOnInit||q.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!y&&(q.ngOnChanges||q.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),y=!0),D++}!function qy(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,c=[];let h=null,y=null;for(let D=t.directiveStart;D<r;D++){const A=i[D],G=A.inputs,q=null===s||Xd(t)?null:u_(G,s);c.push(q),h=bh(G,D,h),y=bh(A.outputs,D,y)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=c,t.inputs=h,t.outputs=y}(e,n)}c&&function o_(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new ht(-301,!1);r.push(t[i],s)}}}(n,r,c)}return n.mergedAttrs=Xs(n.mergedAttrs,n.attrs),i}function Eh(e,t,n,r,i,s){const c=s.hostBindings;if(c){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const y=~t.index;(function n_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=y&&h.push(y),h.push(r,i,c)}}function Dh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function a_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ir(t)&&(n[""]=e)}}function Sh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Th(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=_r(i.type)),c=new ns(s,ir(i),null);e.blueprint[r]=c,n[r]=c,Eh(e,t,0,r,xo(e,n,i.hostVars,zt),i)}function l_(e,t,n){const r=dn(t,e),i=yh(n),s=e[10],c=yl(e,Ia(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=c}function Vi(e,t,n,r,i,s){const c=dn(e,t);!function Nc(e,t,n,r,i,s,c){if(null==s)Ye(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const h=null==c?We(s):c(s,r||"",i);Ye(e)?e.setAttribute(t,i,h,n):n?t.setAttributeNS(n,i,h):t.setAttribute(i,h)}}(t[11],c,s,e.value,n,r,i)}function c_(e,t,n,r,i,s){const c=s[t];if(null!==c){const h=r.setInput;for(let y=0;y<c.length;){const D=c[y++],A=c[y++],G=c[y++];null!==h?r.setInput(n,G,D,A):n[A]=G}}}function u_(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Ph(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function f_(e,t){const n=bn(t,e);if(zr(n)){const r=n[1];80&n[2]?Oo(r,n,r.template,n[8]):n[5]>0&&Fc(n)}}function Fc(e){for(let r=cc(e);null!==r;r=uc(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const c=s[1];Oo(c,s,c.template,s[8])}else s[5]>0&&Fc(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=bn(n[r],e);zr(i)&&i[5]>0&&Fc(i)}}function p_(e,t){const n=bn(t,e),r=n[1];(function g_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Aa(r,n,n[8])}function yl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function kc(e){for(;e;){e[2]|=64;const t=xa(e);if(us(e)&&!t)return e;e=t}return null}function xh(e){!function Lc(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=ic(n),i=r[1];Zy(i,r,i.template,n)}}(e[8])}function Bc(e,t,n){ti(0),t(e,n)}const y_=(()=>Promise.resolve(null))();function Oh(e){return e[7]||(e[7]=[])}function Ih(e){return e.cleanup||(e.cleanup=[])}function Rh(e,t){const n=e[9],r=n?n.get(cl,null):null;r&&r.handleError(t)}function Nh(e,t,n,r,i){for(let s=0;s<n.length;){const c=n[s++],h=n[s++],y=t[c],D=e.data[c];null!==D.setInput?D.setInput(y,i,r,h):y[h]=i}}function cs(e,t,n){const r=hn(t,e);!function kd(e,t,n){Ye(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function _l(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let c=0;c<t.length;c++){const h=t[c];"number"==typeof h?s=h:1==s?i=Ae(i,h):2==s&&(r=Ae(r,h+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Vc=new _e("INJECTOR",-1);class Fh{get(t,n=o){if(n===o){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}const Uc=new _e("Set Injector scope."),Ra={},C_={};let Hc;function kh(){return void 0===Hc&&(Hc=new Fh),Hc}function Lh(e,t=null,n=null,r){const i=jh(e,t,n,r);return i._resolveInjectorDefTypes(),i}function jh(e,t=null,n=null,r){return new b_(e,n,t||kh(),r)}class b_{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&mi(n,h=>this.processProvider(h,t,n)),mi([t],h=>this.processInjectorType(h,[],s)),this.records.set(Vc,Io(void 0,this));const c=this.records.get(Uc);this.scope=null!=c?c.value:null,this.source=i||("object"==typeof t?null:ue(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=o,r=se.Default){this.assertNotDestroyed();const i=_t(this),s=De(void 0);try{if(!(r&se.SkipSelf)){let h=this.records.get(t);if(void 0===h){const y=function x_(e){return"function"==typeof e||"object"==typeof e&&e instanceof _e}(t)&&cr(t);h=y&&this.injectableDefInScope(y)?Io($c(t),Ra):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&se.Self?kh():this.parent).get(t,n=r&se.Optional&&n===o?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[E]=c[E]||[]).unshift(ue(t)),i)throw c;return function mr(e,t,n,r){const i=e[E];throw t[ge]&&i.unshift(t[ge]),e.message=function er(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ue(t);if(Array.isArray(t))i=t.map(ue).join(" -> ");else if("object"==typeof t){let s=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];s.push(c+":"+("string"==typeof h?JSON.stringify(h):ue(h)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Z,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[E]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{De(s),_t(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(ue(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ht(205,!1)}processInjectorType(t,n,r){if(!(t=ye(t)))return!1;let i=ur(t);const s=null==i&&t.ngModule||void 0,c=void 0===s?t:s,h=-1!==r.indexOf(c);if(void 0!==s&&(i=ur(s)),null==i)return!1;if(null!=i.imports&&!h){let A;r.push(c);try{mi(i.imports,G=>{this.processInjectorType(G,n,r)&&(void 0===A&&(A=[]),A.push(G))})}finally{}if(void 0!==A)for(let G=0;G<A.length;G++){const{ngModule:q,providers:ce}=A[G];mi(ce,Ee=>this.processProvider(Ee,q,ce||dt))}}this.injectorDefTypes.add(c);const y=_r(c)||(()=>new c);this.records.set(c,Io(y,Ra));const D=i.providers;if(null!=D&&!h){const A=t;mi(D,G=>this.processProvider(G,A,D))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let i=Ao(t=ye(t))?t:ye(t&&t.provide);const s=function E_(e,t,n){return Vh(e)?Io(void 0,e.useValue):Io(function Bh(e,t,n){let r;if(Ao(e)){const i=ye(e);return _r(i)||$c(i)}if(Vh(e))r=()=>ye(e.useValue);else if(function M_(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...fn(e.deps||[]));else if(function D_(e){return!(!e||!e.useExisting)}(e))r=()=>Pt(ye(e.useExisting));else{const i=ye(e&&(e.useClass||e.provide));if(!function T_(e){return!!e.deps}(e))return _r(i)||$c(i);r=()=>new i(...fn(e.deps))}return r}(e),Ra)}(t);if(Ao(t)||!0!==t.multi)this.records.get(i);else{let c=this.records.get(i);c||(c=Io(void 0,Ra,!0),c.factory=()=>fn(c.multi),this.records.set(i,c)),i=t,c.multi.push(t)}this.records.set(i,s)}hydrate(t,n){return n.value===Ra&&(n.value=C_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function P_(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=ye(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function $c(e){const t=cr(e),n=null!==t?t.factory:_r(e);if(null!==n)return n;if(e instanceof _e)throw new ht(204,!1);if(e instanceof Function)return function w_(e){const t=e.length;if(t>0)throw function Eo(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new ht(204,!1);const n=function Mi(e){const t=e&&(e[X]||e[Ce]);if(t){const n=function kn(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 ht(204,!1)}function Io(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vh(e){return null!==e&&"object"==typeof e&&Me in e}function Ao(e){return"function"==typeof e}let Ui=(()=>{class e{static create(n,r){if(Array.isArray(n))return Lh({name:""},r,n,"");{const i=n.name??"";return Lh({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=o,e.NULL=new Fh,e.\u0275prov=gn({token:e,providedIn:"any",factory:()=>Pt(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function L_(e,t){Es(ic(e)[1],Sn())}let vl=null;function Ro(){if(!vl){const e=Ue.Symbol;if(e&&e.iterator)vl=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&&(vl=r)}}}return vl}function Na(e){return!!Yc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ro()in e)}function Yc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Hi(e,t,n){return e[t]=n}function wr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Zc(e,t,n,r){const i=Ne();return wr(i,hi(),t)&&(Jt(),Vi(On(),i,e,t,n,r)),Zc}function Fo(e,t,n,r){return wr(e,hi(),n)?t+We(n)+r:zt}function df(e,t,n,r,i,s,c,h){const y=Ne(),D=Jt(),A=e+20,G=D.firstCreatePass?function Z_(e,t,n,r,i,s,c,h,y){const D=t.consts,A=Po(t,e,4,c||null,Tr(D,h));Rc(t,n,A,Tr(D,y)),Es(t,A);const G=A.tViews=ml(2,A,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D);return null!==t.queries&&(t.queries.template(t,A),G.queries=t.queries.embeddedTView(A)),A}(A,D,y,t,n,r,i,s,c):D.data[A];fr(G,!1);const q=y[11].createComment("");dl(D,y,q,G),br(q,y),yl(y,y[A]=Ph(q,y,q,G)),ai(G)&&Ic(D,y,G),null!=c&&Ac(y,G,h)}function hf(e){return Un(function ea(){return Ft.lFrame.contextLView}(),20+e)}function ka(e,t=se.Default){const n=Ne();return null===n?Pt(e,t):Pr(Sn(),n,ye(e),t)}function Ef(){throw new Error("invalid")}function Xc(e,t,n){const r=Ne();return wr(r,hi(),t)&&Zr(Jt(),On(),r,e,t,r[11],n,!1),Xc}function eu(e,t,n,r,i){const c=i?"class":"style";Nh(e,n,t.inputs[c],c,r)}function wl(e,t,n,r){const i=Ne(),s=Jt(),c=20+e,h=i[11],y=i[c]=hc(h,t,function ua(){return Ft.lFrame.currentNamespace}()),D=s.firstCreatePass?function gv(e,t,n,r,i,s,c){const h=t.consts,D=Po(t,e,2,i,Tr(h,s));return Rc(t,n,D,Tr(h,c)),null!==D.attrs&&_l(D,D.attrs,!1),null!==D.mergedAttrs&&_l(D,D.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,D),D}(c,s,i,0,t,n,r):s.data[c];fr(D,!0);const A=D.mergedAttrs;null!==A&&Js(h,y,A);const G=D.classes;null!==G&&_c(h,y,G);const q=D.styles;return null!==q&&Qd(h,y,q),64!=(64&D.flags)&&dl(s,i,y,D),0===function Hs(){return Ft.lFrame.elementDepthCount}()&&br(y,i),function $s(){Ft.lFrame.elementDepthCount++}(),ai(D)&&(Ic(s,i,D),mh(s,D,i)),null!==r&&Ac(i,D),wl}function El(){let e=Sn();di()?ts():(e=e.parent,fr(e,!1));const t=e;!function Jn(){Ft.lFrame.elementDepthCount--}();const n=Jt();return n.firstCreatePass&&(Es(n,e),qr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function qs(e){return 0!=(16&e.flags)}(t)&&eu(n,t,Ne(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function pa(e){return 0!=(32&e.flags)}(t)&&eu(n,t,Ne(),t.stylesWithoutHost,!1),El}function tu(e,t,n,r){return wl(e,t,n,r),El(),tu}function nu(e,t,n){const r=Ne(),i=Jt(),s=e+20,c=i.firstCreatePass?function mv(e,t,n,r,i){const s=t.consts,c=Tr(s,r),h=Po(t,e,8,"ng-container",c);return null!==c&&_l(h,c,!0),Rc(t,n,h,Tr(s,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(s,i,r,t,n):i.data[s];fr(c,!0);const h=r[s]=r[11].createComment("");return dl(i,r,h,c),br(h,r),ai(c)&&(Ic(i,r,c),mh(i,c,r)),null!=n&&Ac(r,c),nu}function ru(){let e=Sn();const t=Jt();return di()?ts():(e=e.parent,fr(e,!1)),t.firstCreatePass&&(Es(t,e),qr(e)&&t.queries.elementEnd(e)),ru}function iu(e,t,n){return nu(e,t,n),ru(),iu}function Df(){return Ne()}function su(e){return!!e&&"function"==typeof e.then}function Mf(e){return!!e&&"function"==typeof e.subscribe}const Sf=Mf;function ou(e,t,n,r){const i=Ne(),s=Jt(),c=Sn();return function Pf(e,t,n,r,i,s,c,h){const y=ai(r),A=e.firstCreatePass&&Ih(e),G=t[8],q=Oh(t);let ce=!0;if(3&r.type||h){const qe=dn(r,t),ft=h?h(qe):qe,xe=q.length,xt=h?tn=>h(Lt(tn[r.index])):r.index;if(Ye(n)){let tn=null;if(!h&&y&&(tn=function yv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const c=i[s];if(c===n&&i[s+1]===r){const h=t[7],y=i[s+2];return h.length>y?h[y]:null}"string"==typeof c&&(s+=2)}return null}(e,t,i,r.index)),null!==tn)(tn.__ngLastListenerFn__||tn).__ngNextListenerFn__=s,tn.__ngLastListenerFn__=s,ce=!1;else{s=au(r,t,G,s,!1);const vn=n.listen(ft,i,s);q.push(s,vn),A&&A.push(i,xt,xe,xe+1)}}else s=au(r,t,G,s,!0),ft.addEventListener(i,s,c),q.push(s),A&&A.push(i,xt,xe,c)}else s=au(r,t,G,s,!1);const Ee=r.outputs;let ze;if(ce&&null!==Ee&&(ze=Ee[i])){const qe=ze.length;if(qe)for(let ft=0;ft<qe;ft+=2){const Kr=t[ze[ft]][ze[ft+1]].subscribe(s),co=q.length;q.push(s,Kr),A&&A.push(i,r.index,co,-(co+1))}}}(s,i,i[11],c,e,t,!!n,r),ou}function xf(e,t,n,r){try{return!1!==n(r)}catch(i){return Rh(e,i),!1}}function au(e,t,n,r,i){return function s(c){if(c===Function)return r;const h=2&e.flags?bn(e.index,t):t;0==(32&t[2])&&kc(h);let y=xf(t,0,r,c),D=s.__ngNextListenerFn__;for(;D;)y=xf(t,0,D,c)&&y,D=D.__ngNextListenerFn__;return i&&!1===y&&(c.preventDefault(),c.returnValue=!1),y}}function Of(e=1){return function oa(e){return(Ft.lFrame.contextLView=function aa(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ft.lFrame.contextLView))[8]}(e)}function lu(e,t,n){return Dl(e,"",t,"",n),lu}function Dl(e,t,n,r,i){const s=Ne(),c=Fo(s,t,n,r);return c!==zt&&Zr(Jt(),On(),s,e,c,s[11],i,!1),Dl}function Bf(e,t,n,r,i){const s=e[n+1],c=null===t;let h=r?Ci(s):ls(s),y=!1;for(;0!==h&&(!1===y||c);){const A=e[h+1];Ev(e[h],t)&&(y=!0,e[h+1]=r?bc(A):vc(A)),h=r?Ci(A):ls(A)}y&&(e[n+1]=r?vc(s):bc(s))}function Ev(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&io(e,t)>=0}const nr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vf(e){return e.substring(nr.key,nr.keyEnd)}function Uf(e,t){const n=nr.textEnd;return n===t?-1:(t=nr.keyEnd=function Tv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,nr.key=t,n),zo(e,t,n))}function zo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Zf(e){Ei(kr,zi,e,!0)}function zi(e,t){for(let n=function Mv(e){return function $f(e){nr.key=0,nr.keyEnd=0,nr.value=0,nr.valueEnd=0,nr.textEnd=e.length}(e),Uf(e,zo(e,0,nr.textEnd))}(t);n>=0;n=Uf(t,n))kr(e,Vf(t),!0)}function Ei(e,t,n,r){const i=Jt(),s=function pr(e){const t=Ft.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Qf(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[or()],c=Kf(e,n);ep(s,r)&&null===t&&!c&&(t=!1),t=function Iv(e,t,n,r){const i=function Ws(e){const t=Ft.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=La(n=cu(null,e,t,n,r),t.attrs,r),s=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=cu(i,e,t,n,r),null===s){let y=function Av(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ls(r))return e[Ci(r)]}(e,t,r);void 0!==y&&Array.isArray(y)&&(y=cu(null,e,t,y[1],r),y=La(y,t.attrs,r),function Rv(e,t,n,r){e[Ci(n?t.classBindings:t.styleBindings)]=r}(e,t,r,y))}else s=function Nv(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=La(r,e[s].hostAttrs,n);return La(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function bv(e,t,n,r,i,s){let c=s?t.classBindings:t.styleBindings,h=Ci(c),y=ls(c);e[r]=n;let A,D=!1;if(Array.isArray(n)){const G=n;A=G[1],(null===A||io(G,A)>0)&&(D=!0)}else A=n;if(i)if(0!==y){const q=Ci(e[h+1]);e[r+1]=fl(q,h),0!==q&&(e[q+1]=Cc(e[q+1],r)),e[h+1]=function Fy(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=fl(h,0),0!==h&&(e[h+1]=Cc(e[h+1],r)),h=r;else e[r+1]=fl(y,0),0===h?h=r:e[y+1]=Cc(e[y+1],r),y=r;D&&(e[r+1]=vc(e[r+1])),Bf(e,A,r,!0),Bf(e,A,r,!1),function wv(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&io(s,t)>=0&&(n[r+1]=bc(n[r+1]))}(t,A,e,r,s),c=fl(h,y),s?t.classBindings=c:t.styleBindings=c}(i,s,t,n,c,r)}}(i,null,s,r);const c=Ne();if(n!==zt&&wr(c,s,n)){const h=i.data[or()];if(ep(h,r)&&!Kf(i,s)){let y=r?h.classesWithoutHost:h.stylesWithoutHost;null!==y&&(n=Ae(y,n||"")),eu(i,h,c,n,r)}else!function kv(e,t,n,r,i,s,c,h){i===zt&&(i=dt);let y=0,D=0,A=0<i.length?i[0]:null,G=0<s.length?s[0]:null;for(;null!==A||null!==G;){const q=y<i.length?i[y+1]:void 0,ce=D<s.length?s[D+1]:void 0;let ze,Ee=null;A===G?(y+=2,D+=2,q!==ce&&(Ee=G,ze=ce)):null===G||null!==A&&A<G?(y+=2,Ee=A):(D+=2,Ee=G,ze=ce),null!==Ee&&Jf(e,t,n,r,Ee,ze,c,h),A=y<i.length?i[y]:null,G=D<s.length?s[D]:null}}(i,h,c,c[11],c[s+1],c[s+1]=function Fv(e,t,n){if(null==n||""===n)return dt;const r=[],i=Is(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Kf(e,t){return t>=e.expandoStartIndex}function cu(e,t,n,r,i){let s=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<c&&(s=t[h],r=La(r,s.hostAttrs,i),s!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function La(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?i=c:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),kr(e,c,!!n||t[++s]))}return void 0===e?null:e}function Jf(e,t,n,r,i,s,c,h){if(!(3&t.type))return;const y=e.data,D=y[h+1];Ml(function oh(e){return 1==(1&e)}(D)?Xf(y,t,n,i,ls(D),c):void 0)||(Ml(s)||function sh(e){return 2==(2&e)}(D)&&(s=Xf(y,null,n,i,h,c)),function Ey(e,t,n,r,i){const s=Ye(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let c=-1===r.indexOf("-")?void 0:Bi.DashCase;if(null==i)s?e.removeStyle(n,r,c):n.style.removeProperty(r);else{const h="string"==typeof i&&i.endsWith("!important");h&&(i=i.slice(0,-10),c|=Bi.Important),s?e.setStyle(n,r,i,c):n.style.setProperty(r,i,h?"important":"")}}}(r,c,hn(or(),n),i,s))}function Xf(e,t,n,r,i,s){const c=null===t;let h;for(;i>0;){const y=e[i],D=Array.isArray(y),A=D?y[1]:y,G=null===A;let q=n[i+1];q===zt&&(q=G?dt:void 0);let ce=G?el(q,r):A===r?q:void 0;if(D&&!Ml(ce)&&(ce=el(y,r)),Ml(ce)&&(h=ce,c))return h;const Ee=e[i+1];i=c?Ci(Ee):ls(Ee)}if(null!==t){let y=s?t.residualClasses:t.residualStyles;null!=y&&(h=el(y,r))}return h}function Ml(e){return void 0!==e}function ep(e,t){return 0!=(e.flags&(t?16:32))}function tp(e,t=""){const n=Ne(),r=Jt(),i=e+20,s=r.firstCreatePass?Po(r,i,1,t,null):r.data[i],c=n[i]=function dc(e,t){return Ye(e)?e.createText(t):e.createTextNode(t)}(n[11],t);dl(r,n,c,s),fr(s,!1)}function uu(e){return Sl("",e,""),uu}function Sl(e,t,n){const r=Ne(),i=Fo(r,e,t,n);return i!==zt&&cs(r,or(),i),Sl}function up(e,t,n){Ei(kr,zi,Fo(Ne(),e,t,n),!0)}const ao=void 0;var nC=["en",[["a","p"],["AM","PM"],ao],[["AM","PM"],ao,ao],[["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"]],ao,[["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"]],ao,[["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}",ao,"{1} 'at' {0}",ao],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function tC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Go={};function du(e){const t=function rC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ep(t);if(n)return n;const r=t.split("-")[0];if(n=Ep(r),n)return n;if("en"===r)return nC;throw new Error(`Missing locale data for the locale "${e}".`)}function wp(e){return du(e)[Rt.PluralCase]}function Ep(e){return e in Go||(Go[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),Go[e]}var Rt=(()=>((Rt=Rt||{})[Rt.LocaleId=0]="LocaleId",Rt[Rt.DayPeriodsFormat=1]="DayPeriodsFormat",Rt[Rt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Rt[Rt.DaysFormat=3]="DaysFormat",Rt[Rt.DaysStandalone=4]="DaysStandalone",Rt[Rt.MonthsFormat=5]="MonthsFormat",Rt[Rt.MonthsStandalone=6]="MonthsStandalone",Rt[Rt.Eras=7]="Eras",Rt[Rt.FirstDayOfWeek=8]="FirstDayOfWeek",Rt[Rt.WeekendRange=9]="WeekendRange",Rt[Rt.DateFormat=10]="DateFormat",Rt[Rt.TimeFormat=11]="TimeFormat",Rt[Rt.DateTimeFormat=12]="DateTimeFormat",Rt[Rt.NumberSymbols=13]="NumberSymbols",Rt[Rt.NumberFormats=14]="NumberFormats",Rt[Rt.CurrencyCode=15]="CurrencyCode",Rt[Rt.CurrencySymbol=16]="CurrencySymbol",Rt[Rt.CurrencyName=17]="CurrencyName",Rt[Rt.Currencies=18]="Currencies",Rt[Rt.Directionality=19]="Directionality",Rt[Rt.PluralCase=20]="PluralCase",Rt[Rt.ExtraData=21]="ExtraData",Rt))();const Tl="en-US";let Dp=Tl;class Kp{}class o0{resolveComponentFactory(t){throw function s0(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Al=(()=>{class e{}return e.NULL=new o0,e})();function a0(){return Yo(Sn(),Ne())}function Yo(e,t){return new Ha(dn(e,t))}let Ha=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=a0,e})();function l0(e){return e instanceof Ha?e.nativeElement:e}class qp{}let c0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function d0(){const e=Ne(),n=bn(Sn().index,e);return function u0(e){return e[11]}(Mr(n)?n:e)}(),e})(),h0=(()=>{class e{}return e.\u0275prov=gn({token:e,providedIn:"root",factory:()=>null}),e})();class Jp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const f0=new Jp("13.3.11"),_u={};function Rl(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(Lt(s)),Mn(s))for(let h=10;h<s.length;h++){const y=s[h],D=y[1].firstChild;null!==D&&Rl(y[1],y,D,r)}const c=n.type;if(8&c)Rl(e,t,n.child,r);else if(32&c){const h=lc(n,t);let y;for(;y=h();)r.push(y)}else if(16&c){const h=Yd(t,n);if(Array.isArray(h))r.push(...h);else{const y=xa(t[16]);Rl(y[1],y,h,r,!0)}}n=i?n.projectionNext:n.next}return r}class $a{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 Rl(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(Mn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(fc(t,r),Da(n,r))}this._attachedToViewContainer=!1}jd(this._lView[1],this._lView)}onDestroy(t){Ch(this._lView[1],this._lView,null,t)}markForCheck(){kc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function jc(e,t,n){const r=t[10];r.begin&&r.begin();try{Oo(e,t,e.template,n)}catch(i){throw Rh(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ht(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fy(e,t){Oa(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ht(902,"");this._appRef=t}}class p0 extends $a{constructor(t){super(t),this._view=t}detectChanges(){xh(this._view)}checkNoChanges(){}get context(){return null}}class Xp extends Al{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$e(t);return new vu(n,this.ngModule)}}function eg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class vu extends Kp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Ry(e){return e.map(Ay).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return eg(this.componentDef.inputs)}get outputs(){return eg(this.componentDef.outputs)}create(t,n,r,i){const s=(i=i||this.ngModule)?function m0(e,t){return{get:(n,r,i)=>{const s=e.get(n,_u,i);return s!==_u||r===_u?s:t.get(n,r,i)}}}(t,i.injector):t,c=s.get(qp,un),h=s.get(h0,null),y=c.createRenderer(null,this.componentDef),D=this.componentDef.selectors[0][0]||"div",A=r?function vh(e,t,n){if(Ye(e))return e.selectRootElement(t,n===Vt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(y,r,this.componentDef.encapsulation):hc(c.createRenderer(null,this.componentDef),D,function g0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?C:null}(D)),G=this.componentDef.onPush?576:528,q=function qh(e,t){return{components:[],scheduler:e||sy,clean:y_,playerHandler:t||null,flags:0}}(),ce=ml(0,null,null,1,0,null,null,null,null,null),Ee=Ia(null,ce,q,G,null,null,c,y,h,s);let ze,qe;bs(Ee);try{const ft=function Kh(e,t,n,r,i,s){const c=n[1];n[20]=e;const y=Po(c,20,2,"#host",null),D=y.mergedAttrs=t.hostAttrs;null!==D&&(_l(y,D,!0),null!==e&&(Js(i,e,D),null!==y.classes&&_c(i,e,y.classes),null!==y.styles&&Qd(i,e,y.styles)));const A=r.createRenderer(e,t),G=Ia(n,yh(t),null,t.onPush?64:16,n[20],y,r,A,s||null,null);return c.firstCreatePass&&(pn(ss(y,n),c,t.type),Mh(c,y),Sh(y,n.length,1)),yl(n,G),n[20]=G}(A,this.componentDef,Ee,c,y);if(A)if(r)Js(y,A,["ng-version",f0.full]);else{const{attrs:xe,classes:xt}=function Ny(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!vi(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);xe&&Js(y,A,xe),xt&&xt.length>0&&_c(y,A,xt.join(" "))}if(qe=yn(ce,20),void 0!==n){const xe=qe.projection=[];for(let xt=0;xt<this.ngContentSelectors.length;xt++){const tn=n[xt];xe.push(null!=tn?Array.from(tn):null)}}ze=function Qh(e,t,n,r,i){const s=n[1],c=function t_(e,t,n){const r=Sn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Th(e,r,t,xo(e,t,1,null),n));const i=Os(t,e,r.directiveStart,r);br(i,t);const s=dn(r,t);return s&&br(s,t),i}(s,n,t);if(r.components.push(c),e[8]=c,i&&i.forEach(y=>y(c,t)),t.contentQueries){const y=Sn();t.contentQueries(1,c,y.directiveStart)}const h=Sn();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(pi(h.index),Eh(n[1],h,0,h.directiveStart,h.directiveEnd,t),Dh(t,c)),c}(ft,this.componentDef,Ee,q,[L_]),Aa(ce,Ee,null)}finally{ws()}return new _0(this.componentType,ze,Yo(qe,Ee),Ee,qe)}}class _0 extends class r0{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new p0(i),this.componentType=t}get injector(){return new os(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Zo{}class tg{}const Ko=new Map;class ig extends Zo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Xp(this);const r=Le(t);this._bootstrapComponents=ji(r.bootstrap),this._r3Injector=jh(t,n,[{provide:Zo,useValue:this},{provide:Al,useValue:this.componentFactoryResolver}],ue(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Ui.THROW_IF_NOT_FOUND,r=se.Default){return t===Ui||t===Zo||t===Vc?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 Cu extends tg{constructor(t){super(),this.moduleType=t,null!==Le(t)&&function C0(e){const t=new Set;!function n(r){const i=Le(r,!0),s=i.id;null!==s&&(function ng(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ue(t)} vs ${ue(t.name)}`)}(s,Ko.get(s),r),Ko.set(s,r));const c=ji(i.imports);for(const h of c)t.has(h)||(t.add(h),n(h))}(e)}(t)}create(t){return new ig(this.moduleType,t)}}function sg(e,t,n){const r=Wn()+e,i=Ne();return i[r]===zt?Hi(i,r,n?t.call(n):t()):function Fa(e,t){return e[t]}(i,r)}function og(e,t,n,r){return ag(Ne(),Wn(),e,t,n,r)}function ag(e,t,n,r,i,s){const c=t+n;return wr(e,c,i)?Hi(e,c+1,s?r.call(s,i):r(i)):function za(e,t){const n=e[t];return n===zt?void 0:n}(e,c+1)}function hg(e,t){const n=Jt();let r;const i=e+20;n.firstCreatePass?(r=function x0(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[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=_r(r.type)),c=De(ka);try{const h=ni(!1),y=s();return ni(h),function K_(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ne(),i,y),y}finally{De(c)}}function fg(e,t,n){const r=e+20,i=Ne(),s=Un(i,r);return function Ga(e,t){return e[1].data[t].pure}(i,r)?ag(i,Wn(),t,s.transform,n,s):s.transform(n)}function bu(e){return t=>{setTimeout(e,void 0,t)}}const Gi=class N0 extends P.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),c=r;if(t&&"object"==typeof t){const y=t;i=y.next?.bind(y),s=y.error?.bind(y),c=y.complete?.bind(y)}this.__isAsync&&(s=bu(s),i&&(i=bu(i)),c&&(c=bu(c)));const h=super.subscribe({next:i,error:s,complete:c});return t instanceof N.w&&t.add(h),h}};function F0(){return this._results[Ro()]()}class wu{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=Ro(),r=wu.prototype;r[n]||(r[n]=F0)}get changes(){return this._changes||(this._changes=new Gi)}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 i=Yr(t);(this._changesDetected=!function Gl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[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 Wa=(()=>{class e{}return e.__NG_ELEMENT_ID__=j0,e})();const k0=Wa,L0=class extends k0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Ia(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),Aa(n,r,t),new $a(r)}};function j0(){return Nl(Sn(),Ne())}function Nl(e,t){return 4&e.type?new L0(t,e,Yo(e,t)):null}let Fl=(()=>{class e{}return e.__NG_ELEMENT_ID__=B0,e})();function B0(){return mg(Sn(),Ne())}const V0=Fl,pg=class extends V0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yo(this._hostTNode,this._hostLView)}get injector(){return new os(this._hostTNode,this._hostLView)}get parentInjector(){const t=Nn(this._hostTNode,this._hostLView);if(gr(t)){const n=gi(t,this._hostLView),r=is(t);return new os(n[1].data[r+8],n)}return new os(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=gg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,s){const c=t&&!function ro(e){return"function"==typeof e}(t);let h;if(c)h=n;else{const G=n||{};h=G.index,r=G.injector,i=G.projectableNodes,s=G.ngModuleRef}const y=c?t:new vu($e(t)),D=r||this.parentInjector;if(!s&&null==y.ngModule){const q=(c?D:this.parentInjector).get(Zo,null);q&&(s=q)}const A=y.create(D,i,void 0,s);return this.insert(A.hostView,h),A}insert(t,n){const r=t._lView,i=r[1];if(function ys(e){return Mn(e[3])}(r)){const A=this.indexOf(t);if(-1!==A)this.detach(A);else{const G=r[3],q=new pg(G,G[6],G[3]);q.detach(q.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;!function gy(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],Wl(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const c=t[17];null!==c&&n!==c&&function my(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(c,t);const h=t[19];null!==h&&h.insertView(e),t[2]|=128}(i,r,c,s);const h=mc(s,c),y=r[11],D=ul(y,c[7]);return null!==D&&function hy(e,t,n,r,i,s){r[0]=i,r[6]=t,Oa(e,r,n,1,i,s)}(i,c[6],y,r,D,h),t.attachToViewContainerRef(),Wl(Eu(c),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=gg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=fc(this._lContainer,n);r&&(Da(Eu(this._lContainer),n),jd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=fc(this._lContainer,n);return r&&null!=Da(Eu(this._lContainer),n)?new $a(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function gg(e){return e[8]}function Eu(e){return e[8]||(e[8]=[])}function mg(e,t){let n;const r=t[e.index];if(Mn(r))n=r;else{let i;if(8&e.type)i=Lt(r);else{const s=t[11];i=s.createComment("");const c=dn(e,t);so(s,ul(s,c),i,function Cy(e,t){return Ye(e)?e.nextSibling(t):t.nextSibling}(s,c),!1)}t[e.index]=n=Ph(r,t,i,e),yl(t,n)}return new pg(n,e,t)}class Du{constructor(t){this.queryList=t,this.matches=null}clone(){return new Du(this.queryList)}setDirty(){this.queryList.setDirty()}}class Mu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const c=n.getByIndex(s);i.push(this.queries[c.indexInDeclarationView].clone())}return new Mu(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Dg(t,n).matches&&this.queries[n].setDirty()}}class yg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Su{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Su(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 Tu{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 Tu(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 i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,$0(n,s)),this.matchTNodeWithReadOption(t,n,xs(n,t,s,!1,!1))}else r===Wa?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,xs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ha||i===Fl||i===Wa&&4&n.type)this.addMatch(n.index,-2);else{const s=xs(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function $0(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 G0(e,t,n,r){return-1===n?function z0(e,t){return 11&e.type?Yo(e,t):4&e.type?Nl(e,t):null}(t,e):-2===n?function W0(e,t,n){return n===Ha?Yo(t,e):n===Wa?Nl(t,e):n===Fl?mg(t,e):void 0}(e,t,r):Os(e,e[1],n,t)}function _g(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,c=n.matches,h=[];for(let y=0;y<c.length;y+=2){const D=c[y];h.push(D<0?null:G0(t,s[D],c[y+1],n.metadata.read))}i.matches=h}return i.matches}function Pu(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const c=_g(e,t,i,n);for(let h=0;h<s.length;h+=2){const y=s[h];if(y>0)r.push(c[h/2]);else{const D=s[h+1],A=t[-y];for(let G=10;G<A.length;G++){const q=A[G];q[17]===q[3]&&Pu(q[1],q,D,r)}if(null!==A[9]){const G=A[9];for(let q=0;q<G.length;q++){const ce=G[q];Pu(ce[1],ce,D,r)}}}}}return r}function vg(e){const t=Ne(),n=Jt(),r=Ys();ti(r+1);const i=Dg(n,r);if(e.dirty&&Sr(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?Pu(n,t,r,[]):_g(n,t,i,r);e.reset(s,l0),e.notifyOnChanges()}return!0}return!1}function Cg(e,t,n,r){const i=Jt();if(i.firstCreatePass){const s=Sn();(function Eg(e,t,n){null===e.queries&&(e.queries=new Su),e.queries.track(new Tu(t,n))})(i,new yg(t,n,r),s.index),function K0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}!function wg(e,t,n){const r=new wu(4==(4&n));Ch(e,t,r,r.destroy),null===t[19]&&(t[19]=new Mu),t[19].queries.push(new Du(r))}(i,Ne(),n)}function bg(){return function Z0(e,t){return e[19].queries[t].queryList}(Ne(),Ys())}function Dg(e,t){return e.queries.getByIndex(t)}function Mg(e,t){return Nl(e,t)}function jl(...e){}const Hg=new _e("Application Initializer");let Nu=(()=>{class e{constructor(n){this.appInits=n,this.resolve=jl,this.reject=jl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(su(s))n.push(s);else if(Sf(s)){const c=new Promise((h,y)=>{s.subscribe({complete:h,error:y})});n.push(c)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Pt(Hg,8))},e.\u0275prov=gn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $g=new _e("AppId",{providedIn:"root",factory:function zg(){return`${Fu()}${Fu()}${Fu()}`}});function Fu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gg=new _e("Platform Initializer"),hb=new _e("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Wg=new _e("appBootstrapListener");let fb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ku=new _e("LocaleId",{providedIn:"root",factory:()=>Zt(ku,se.Optional|se.SkipSelf)||function pb(){return typeof $localize<"u"&&$localize.locale||Tl}()}),gb=new _e("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class mb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let yb=(()=>{class e{compileModuleSync(n){return new Cu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ji(Le(n).declarations).reduce((c,h)=>{const y=$e(h);return y&&c.push(new vu(y)),c},[]);return new mb(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const vb=(()=>Promise.resolve(0))();function Lu(e){typeof Zone>"u"?vb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Di{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gi(!1),this.onMicrotaskEmpty=new Gi(!1),this.onStable=new Gi(!1),this.onError=new Gi(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Cb(){let e=Ue.requestAnimationFrame,t=Ue.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 Eb(e){const t=()=>{!function wb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bu(e),e.isCheckStableRunning=!0,ju(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,c,h)=>{try{return Yg(e),n.invokeTask(i,s,c,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Zg(e)}},onInvoke:(n,r,i,s,c,h,y)=>{try{return Yg(e),n.invoke(i,s,c,h,y)}finally{e.shouldCoalesceRunChangeDetection&&t(),Zg(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Bu(e),ju(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Di.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Di.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,i){const s=this._inner,c=s.scheduleEventTask("NgZoneEvent: "+i,t,bb,jl,jl);try{return s.runTask(c,n,r)}finally{s.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const bb={};function ju(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 Bu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Yg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Zg(e){e._nesting--,ju(e)}class Db{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gi,this.onMicrotaskEmpty=new Gi,this.onStable=new Gi,this.onError=new Gi}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let Kg=(()=>{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:()=>{Di.assertNotInAngularZone(),Lu(()=>{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())Lu(()=>{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,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Pt(Di))},e.\u0275prov=gn({token:e,factory:e.\u0275fac}),e})(),Mb=(()=>{class e{constructor(){this._applications=new Map,Vu.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 Vu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class Sb{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function Tb(e){Vu=e}let Vu=new Sb,Za=null;const Qg=new _e("AllowMultipleToken"),qg=new _e("PlatformOnDestroy");class Ob{constructor(t,n){this.name=t,this.token=n}}function Jg(e,t,n=[]){const r=`Platform: ${t}`,i=new _e(r);return(s=[])=>{let c=Uu();if(!c||c.injector.get(Qg,!1)){const h=[...n,...s,{provide:i,useValue:!0}];e?e(h):function Ib(e){if(Za&&!Za.get(Qg,!1))throw new ht(400,"");Za=e;const t=e.get(Xg),n=e.get(Gg,null);n&&n.forEach(r=>r())}(function Rb(e=[],t){return Ui.create({name:t,providers:[{provide:Uc,useValue:"platform"},{provide:qg,useValue:()=>Za=null},...e]})}(h,r))}return function Ab(e){const t=Uu();if(!t)throw new ht(401,"");return t}()}}function Uu(){return Za?.get(Xg)??null}let Xg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const h=function Nb(e,t){let n;return n="noop"===e?new Db:("zone.js"===e?void 0:e)||new Di({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),y=[{provide:Di,useValue:h}];return h.run(()=>{const D=Ui.create({providers:y,parent:this.injector,name:n.moduleType.name}),A=n.create(D),G=A.injector.get(cl,null);if(!G)throw new ht(402,"");return h.runOutsideAngular(()=>{const q=h.onError.subscribe({next:ce=>{G.handleError(ce)}});A.onDestroy(()=>{$u(this._modules,A),q.unsubscribe()})}),function Fb(e,t,n){try{const r=n();return su(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(G,h,()=>{const q=A.injector.get(Nu);return q.runInitializers(),q.donePromise.then(()=>(function aC(e){Ht(e,"Expected localeId to be defined"),"string"==typeof e&&(Dp=e.toLowerCase().replace(/_/g,"-"))}(A.injector.get(ku,Tl)||Tl),this._moduleDoBootstrap(A),A))})})}bootstrapModule(n,r=[]){const i=em({},r);return function Pb(e,t,n){const r=new Cu(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(Hu);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new ht(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 ht(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r()),this._injector.get(qg,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Pt(Ui))},e.\u0275prov=gn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function em(e,t){return Array.isArray(t)?t.reduce(em,e):{...e,...t}}let Hu=(()=>{class e{constructor(n,r,i,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=s,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 c=new u.y(y=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{y.next(this._stable),y.complete()})}),h=new u.y(y=>{let D;this._zone.runOutsideAngular(()=>{D=this._zone.onStable.subscribe(()=>{Di.assertNotInAngularZone(),Lu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,y.next(!0))})})});const A=this._zone.onUnstable.subscribe(()=>{Di.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{y.next(!1)}))});return()=>{D.unsubscribe(),A.unsubscribe()}});this.isStable=function M(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,_.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 u.y?e[0]:(0,R.J)(t)((0,I.n)(e,n))}(c,h.pipe(function re(){return e=>(0,$.x)()(function H(e,t){return function(r){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new O(i,t));const s=Object.create(r,F.N);return s.source=r,s.subjectFactory=i,s}}(W)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new ht(405,"");let i;i=n instanceof Kp?n:this._injector.get(Al).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function xb(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Zo),h=i.create(Ui.NULL,[],r||i.selector,s),y=h.location.nativeElement,D=h.injector.get(Kg,null),A=D&&h.injector.get(Mb);return D&&A&&A.registerApplication(y,D),h.onDestroy(()=>{this.detachView(h.hostView),$u(this.components,h),A&&A.unregisterApplication(y)}),this._loadComponent(h),h}tick(){if(this._runningTick)throw new ht(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;$u(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Wg,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Pt(Di),Pt(Ui),Pt(cl),Pt(Nu))},e.\u0275prov=gn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function $u(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let nm=!0,rm=!1;function Lb(){return rm=!0,nm}function jb(){if(rm)throw new Error("Cannot enable prod mode after platform setup.");nm=!1}let Bb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Vb,e})();function Vb(e){return function Ub(e,t,n){if(yr(e)&&!n){const r=bn(e.index,t);return new $a(r,r)}return 47&e.type?new $a(t[16],t):null}(Sn(),Ne(),16==(16&e))}class am{constructor(){}supports(t){return Na(t)}create(t){return new Yb(t)}}const Wb=(e,t)=>t;class Yb{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||Wb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const c=!r||n&&n.currentIndex<cm(r,i,s)?n:r,h=cm(c,i,s),y=c.currentIndex;if(c===r)i--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)i++;else{s||(s=[]);const D=h-i,A=y-i;if(D!=A){for(let q=0;q<D;q++){const ce=q<s.length?s[q]:s[q]=0,Ee=ce+q;A<=Ee&&Ee<D&&(s[q]=ce+1)}s[c.previousIndex]=A-D}}h!==y&&t(c,h,y)}}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=[]),!Na(t))throw new ht(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)s=t[h],c=this._trackByFn(h,s),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,s,c,h)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,c,h),r=!0),n=n._next}else i=0,function Y_(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Ro()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{c=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,h,c,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=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,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new Zb(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new lm),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 lm),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 Zb{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 Kb{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 lm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Kb,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cm(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class um{constructor(){}supports(t){return t instanceof Map||Yc(t)}create(){return new Qb}}class Qb{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||Yc(t)))throw new ht(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,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,c=i._next;return s&&(s._next=c),c&&(c._prev=s),i._next=null,i._prev=null,i}const r=new qb(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 qb{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 dm(){return new Zu([new am])}let Zu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||dm()),deps:[[e,new xr,new Cr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new ht(901,"")}}return e.\u0275prov=gn({token:e,providedIn:"root",factory:dm}),e})();function hm(){return new Ku([new um])}let Ku=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||hm()),deps:[[e,new xr,new Cr]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new ht(901,"")}}return e.\u0275prov=gn({token:e,providedIn:"root",factory:hm}),e})();const ew=Jg(null,"core",[]);let tw=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Pt(Hu))},e.\u0275mod=Se({type:e}),e.\u0275inj=Kn({}),e})()},1481:(B,S,m)=>{"use strict";m.d(S,{b2:()=>Kn,q6:()=>gn,se:()=>we});var u=m(6895),_=m(6738);class R extends u.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class I extends R{static makeCurrent(){(0,u.HT)(new I)}onAndCancel(j,T,te){return j.addEventListener(T,te,!1),()=>{j.removeEventListener(T,te,!1)}}dispatchEvent(j,T){j.dispatchEvent(T)}remove(j){j.parentNode&&j.parentNode.removeChild(j)}createElement(j,T){return(T=T||this.getDefaultDocument()).createElement(j)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(j){return j.nodeType===Node.ELEMENT_NODE}isShadowRoot(j){return j instanceof DocumentFragment}getGlobalEventTarget(j,T){return"window"===T?window:"document"===T?j:"body"===T?j.body:null}getBaseHref(j){const T=function P(){return M=M||document.querySelector("base"),M?M.getAttribute("href"):null}();return null==T?null:function F(x){N=N||document.createElement("a"),N.setAttribute("href",x);const j=N.pathname;return"/"===j.charAt(0)?j:`/${j}`}(T)}resetBaseElement(){M=null}getUserAgent(){return window.navigator.userAgent}getCookie(j){return(0,u.Mx)(document.cookie,j)}}let N,M=null;const H=new _.OlP("TRANSITION_ID"),$=[{provide:_.ip1,useFactory:function O(x,j,T){return()=>{T.get(_.CZH).donePromise.then(()=>{const te=(0,u.q)(),me=j.querySelectorAll(`style[ng-transition="${x}"]`);for(let Ve=0;Ve<me.length;Ve++)te.remove(me[Ve])})}},deps:[H,u.K0,_.zs3],multi:!0}];class W{static init(){(0,_.VLi)(new W)}addToWindow(j){_.dqk.getAngularTestability=(te,me=!0)=>{const Ve=j.findTestabilityInTree(te,me);if(null==Ve)throw new Error("Could not find testability for element.");return Ve},_.dqk.getAllAngularTestabilities=()=>j.getAllTestabilities(),_.dqk.getAllAngularRootElements=()=>j.getAllRootElements(),_.dqk.frameworkStabilizers||(_.dqk.frameworkStabilizers=[]),_.dqk.frameworkStabilizers.push(te=>{const me=_.dqk.getAllAngularTestabilities();let Ve=me.length,Se=!1;const ke=function(K){Se=Se||K,Ve--,0==Ve&&te(Se)};me.forEach(function(K){K.whenStable(ke)})})}findTestabilityInTree(j,T,te){return null==T?null:j.getTestability(T)??(te?(0,u.q)().isShadowRoot(T)?this.findTestabilityInTree(j,T.host,!0):this.findTestabilityInTree(j,T.parentElement,!0):null)}}let re=(()=>{class x{build(){return new XMLHttpRequest}}return x.\u0275fac=function(T){return new(T||x)},x.\u0275prov=_.Yz7({token:x,factory:x.\u0275fac}),x})();const ie=new _.OlP("EventManagerPlugins");let oe=(()=>{class x{constructor(T,te){this._zone=te,this._eventNameToPlugin=new Map,T.forEach(me=>me.manager=this),this._plugins=T.slice().reverse()}addEventListener(T,te,me){return this._findPluginFor(te).addEventListener(T,te,me)}addGlobalEventListener(T,te,me){return this._findPluginFor(te).addGlobalEventListener(T,te,me)}getZone(){return this._zone}_findPluginFor(T){const te=this._eventNameToPlugin.get(T);if(te)return te;const me=this._plugins;for(let Ve=0;Ve<me.length;Ve++){const Se=me[Ve];if(Se.supports(T))return this._eventNameToPlugin.set(T,Se),Se}throw new Error(`No event manager plugin found for event ${T}`)}}return x.\u0275fac=function(T){return new(T||x)(_.LFG(ie),_.LFG(_.R0b))},x.\u0275prov=_.Yz7({token:x,factory:x.\u0275fac}),x})();class ue{constructor(j){this._doc=j}addGlobalEventListener(j,T,te){const me=(0,u.q)().getGlobalEventTarget(this._doc,j);if(!me)throw new Error(`Unsupported event target ${me} for event ${T}`);return this.addEventListener(me,T,te)}}let Ae=(()=>{class x{constructor(){this._stylesSet=new Set}addStyles(T){const te=new Set;T.forEach(me=>{this._stylesSet.has(me)||(this._stylesSet.add(me),te.add(me))}),this.onStylesAdded(te)}onStylesAdded(T){}getAllStyles(){return Array.from(this._stylesSet)}}return x.\u0275fac=function(T){return new(T||x)},x.\u0275prov=_.Yz7({token:x,factory:x.\u0275fac}),x})(),ot=(()=>{class x extends Ae{constructor(T){super(),this._doc=T,this._hostNodes=new Map,this._hostNodes.set(T.head,[])}_addStylesToHost(T,te,me){T.forEach(Ve=>{const Se=this._doc.createElement("style");Se.textContent=Ve,me.push(te.appendChild(Se))})}addHost(T){const te=[];this._addStylesToHost(this._stylesSet,T,te),this._hostNodes.set(T,te)}removeHost(T){const te=this._hostNodes.get(T);te&&te.forEach(Oe),this._hostNodes.delete(T)}onStylesAdded(T){this._hostNodes.forEach((te,me)=>{this._addStylesToHost(T,me,te)})}ngOnDestroy(){this._hostNodes.forEach(T=>T.forEach(Oe))}}return x.\u0275fac=function(T){return new(T||x)(_.LFG(u.K0))},x.\u0275prov=_.Yz7({token:x,factory:x.\u0275fac}),x})();function Oe(x){(0,u.q)().remove(x)}const ye={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/"},wt=/%COMP%/g;function Te(x,j,T){for(let te=0;te<j.length;te++){let me=j[te];Array.isArray(me)?Te(x,me,T):(me=me.replace(wt,x),T.push(me))}return T}function Nt(x){return j=>{if("__ngUnwrap__"===j)return x;!1===x(j)&&(j.preventDefault(),j.returnValue=!1)}}let we=(()=>{class x{constructor(T,te,me){this.eventManager=T,this.sharedStylesHost=te,this.appId=me,this.rendererByCompId=new Map,this.defaultRenderer=new fe(T)}createRenderer(T,te){if(!T||!te)return this.defaultRenderer;switch(te.encapsulation){case _.ifc.Emulated:{let me=this.rendererByCompId.get(te.id);return me||(me=new st(this.eventManager,this.sharedStylesHost,te,this.appId),this.rendererByCompId.set(te.id,me)),me.applyToHost(T),me}case 1:case _.ifc.ShadowDom:return new Ut(this.eventManager,this.sharedStylesHost,T,te);default:if(!this.rendererByCompId.has(te.id)){const me=Te(te.id,te.styles,[]);this.sharedStylesHost.addStyles(me),this.rendererByCompId.set(te.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return x.\u0275fac=function(T){return new(T||x)(_.LFG(oe),_.LFG(ot),_.LFG(_.AFp))},x.\u0275prov=_.Yz7({token:x,factory:x.\u0275fac}),x})();class fe{constructor(j){this.eventManager=j,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(j,T){return T?document.createElementNS(ye[T]||T,j):document.createElement(j)}createComment(j){return document.createComment(j)}createText(j){return document.createTextNode(j)}appendChild(j,T){j.appendChild(T)}insertBefore(j,T,te){j&&j.insertBefore(T,te)}removeChild(j,T){j&&j.removeChild(T)}selectRootElement(j,T){let te="string"==typeof j?document.querySelector(j):j;if(!te)throw new Error(`The selector "${j}" did not match any elements`);return T||(te.textContent=""),te}parentNode(j){return j.parentNode}nextSibling(j){return j.nextSibling}setAttribute(j,T,te,me){if(me){T=me+":"+T;const Ve=ye[me];Ve?j.setAttributeNS(Ve,T,te):j.setAttribute(T,te)}else j.setAttribute(T,te)}removeAttribute(j,T,te){if(te){const me=ye[te];me?j.removeAttributeNS(me,T):j.removeAttribute(`${te}:${T}`)}else j.removeAttribute(T)}addClass(j,T){j.classList.add(T)}removeClass(j,T){j.classList.remove(T)}setStyle(j,T,te,me){me&(_.JOm.DashCase|_.JOm.Important)?j.style.setProperty(T,te,me&_.JOm.Important?"important":""):j.style[T]=te}removeStyle(j,T,te){te&_.JOm.DashCase?j.style.removeProperty(T):j.style[T]=""}setProperty(j,T,te){j[T]=te}setValue(j,T){j.nodeValue=T}listen(j,T,te){return"string"==typeof j?this.eventManager.addGlobalEventListener(j,T,Nt(te)):this.eventManager.addEventListener(j,T,Nt(te))}}class st extends fe{constructor(j,T,te,me){super(j),this.component=te;const Ve=Te(me+"-"+te.id,te.styles,[]);T.addStyles(Ve),this.contentAttr=function ct(x){return"_ngcontent-%COMP%".replace(wt,x)}(me+"-"+te.id),this.hostAttr=function Gt(x){return"_nghost-%COMP%".replace(wt,x)}(me+"-"+te.id)}applyToHost(j){super.setAttribute(j,this.hostAttr,"")}createElement(j,T){const te=super.createElement(j,T);return super.setAttribute(te,this.contentAttr,""),te}}class Ut extends fe{constructor(j,T,te,me){super(j),this.sharedStylesHost=T,this.hostEl=te,this.shadowRoot=te.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ve=Te(me.id,me.styles,[]);for(let Se=0;Se<Ve.length;Se++){const ke=document.createElement("style");ke.textContent=Ve[Se],this.shadowRoot.appendChild(ke)}}nodeOrShadowRoot(j){return j===this.hostEl?this.shadowRoot:j}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(j,T){return super.appendChild(this.nodeOrShadowRoot(j),T)}insertBefore(j,T,te){return super.insertBefore(this.nodeOrShadowRoot(j),T,te)}removeChild(j,T){return super.removeChild(this.nodeOrShadowRoot(j),T)}parentNode(j){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(j)))}}let rn=(()=>{class x extends ue{constructor(T){super(T)}supports(T){return!0}addEventListener(T,te,me){return T.addEventListener(te,me,!1),()=>this.removeEventListener(T,te,me)}removeEventListener(T,te,me){return T.removeEventListener(te,me)}}return x.\u0275fac=function(T){return new(T||x)(_.LFG(u.K0))},x.\u0275prov=_.Yz7({token:x,factory:x.\u0275fac}),x})();const sn=["alt","control","meta","shift"],Fn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},En={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Dn={alt:x=>x.altKey,control:x=>x.ctrlKey,meta:x=>x.metaKey,shift:x=>x.shiftKey};let xn=(()=>{class x extends ue{constructor(T){super(T)}supports(T){return null!=x.parseEventName(T)}addEventListener(T,te,me){const Ve=x.parseEventName(te),Se=x.eventCallback(Ve.fullKey,me,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,u.q)().onAndCancel(T,Ve.domEventName,Se))}static parseEventName(T){const te=T.toLowerCase().split("."),me=te.shift();if(0===te.length||"keydown"!==me&&"keyup"!==me)return null;const Ve=x._normalizeKey(te.pop());let Se="";if(sn.forEach(K=>{const pe=te.indexOf(K);pe>-1&&(te.splice(pe,1),Se+=K+".")}),Se+=Ve,0!=te.length||0===Ve.length)return null;const ke={};return ke.domEventName=me,ke.fullKey=Se,ke}static getEventFullKey(T){let te="",me=function Ht(x){let j=x.key;if(null==j){if(j=x.keyIdentifier,null==j)return"Unidentified";j.startsWith("U+")&&(j=String.fromCharCode(parseInt(j.substring(2),16)),3===x.location&&En.hasOwnProperty(j)&&(j=En[j]))}return Fn[j]||j}(T);return me=me.toLowerCase()," "===me?me="space":"."===me&&(me="dot"),sn.forEach(Ve=>{Ve!=me&&Dn[Ve](T)&&(te+=Ve+".")}),te+=me,te}static eventCallback(T,te,me){return Ve=>{x.getEventFullKey(Ve)===T&&me.runGuarded(()=>te(Ve))}}static _normalizeKey(T){return"esc"===T?"escape":T}}return x.\u0275fac=function(T){return new(T||x)(_.LFG(u.K0))},x.\u0275prov=_.Yz7({token:x,factory:x.\u0275fac}),x})();const gn=(0,_.eFA)(_._c5,"browser",[{provide:_.Lbi,useValue:u.bD},{provide:_.g9A,useValue:function It(){I.makeCurrent(),W.init()},multi:!0},{provide:u.K0,useFactory:function Br(){return(0,_.RDi)(document),document},deps:[]}]),Rr=[{provide:_.zSh,useValue:"root"},{provide:_.qLn,useFactory:function lr(){return new _.qLn},deps:[]},{provide:ie,useClass:rn,multi:!0,deps:[u.K0,_.R0b,_.Lbi]},{provide:ie,useClass:xn,multi:!0,deps:[u.K0]},{provide:we,useClass:we,deps:[oe,ot,_.AFp]},{provide:_.FYo,useExisting:we},{provide:Ae,useExisting:ot},{provide:ot,useClass:ot,deps:[u.K0]},{provide:_.dDg,useClass:_.dDg,deps:[_.R0b]},{provide:oe,useClass:oe,deps:[ie,_.R0b]},{provide:u.JF,useClass:re,deps:[]}];let Kn=(()=>{class x{constructor(T){if(T)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(T){return{ngModule:x,providers:[{provide:_.AFp,useValue:T.appId},{provide:H,useExisting:_.AFp},$]}}}return x.\u0275fac=function(T){return new(T||x)(_.LFG(x,12))},x.\u0275mod=_.oAB({type:x}),x.\u0275inj=_.cJS({providers:Rr,imports:[u.ez,_.hGG]}),x})();typeof window<"u"&&window},5395:(B,S,m)=>{"use strict";m.d(S,{Bz:()=>va,lC:()=>zr});var u=m(6895),_=m(6738),R=m(5529),I=m(5279);class M extends R.xQ{constructor(d){super(),this._value=d}get value(){return this.getValue()}_subscribe(d){const l=super._subscribe(d);return l&&!l.closed&&d.next(this._value),l}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new I.N;return this._value}next(d){super.next(this._value=d)}}var P=m(2866),N=m(6688),F=m(826),H=m(9054),O=m(3009);const $={};class re{constructor(d){this.resultSelector=d}call(d,l){return l.subscribe(new ie(d,this.resultSelector))}}class ie extends F.L{constructor(d,l){super(d),this.resultSelector=l,this.active=0,this.values=[],this.observables=[]}_next(d){this.values.push($),this.observables.push(d)}_complete(){const d=this.observables,l=d.length;if(0===l)this.destination.complete();else{this.active=l,this.toRespond=l;for(let v=0;v<l;v++){const w=d[v];this.add((0,H.D)(this,w,w,v))}}}notifyComplete(d){0==(this.active-=1)&&this.destination.complete()}notifyNext(d,l,v,w,L){const Y=this.values,_e=this.toRespond?Y[v]===$?--this.toRespond:this.toRespond:0;Y[v]=l,0===_e&&(this.resultSelector?this._tryResultSelector(Y):this.destination.next(Y.slice()))}_tryResultSelector(d){let l;try{l=this.resultSelector.apply(this,d)}catch(v){return void this.destination.error(v)}this.destination.next(l)}}var oe=m(2916);function ue(p,d){return new oe.y(d?l=>d.schedule(Ae,0,{error:p,subscriber:l}):l=>l.error(p))}function Ae({error:p,subscriber:d}){d.error(p)}const Oe=(()=>{function p(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return p.prototype=Object.create(Error.prototype),p})();var ye=m(1086),wt=m(9146);function ht(...p){return function nn(){return(0,wt.J)(1)}()((0,ye.of)(...p))}var Et=m(5254);const We=new oe.y(p=>p.complete());function ct(p){return p?function Gt(p){return new oe.y(d=>p.schedule(()=>d.complete()))}(p):We}function Te(p){return new oe.y(d=>{let l;try{l=p()}catch(w){return void d.error(w)}return(l?(0,Et.D)(l):ct()).subscribe(d)})}var Nt=m(1762),Xe=m(1869),we=m(4850);function fe(p,d){return"function"==typeof d?l=>l.pipe(fe((v,w)=>(0,Et.D)(p(v,w)).pipe((0,we.U)((L,Y)=>d(v,L,w,Y))))):l=>l.lift(new ae(p))}class ae{constructor(d){this.project=d}call(d,l){return l.subscribe(new Pe(d,this.project))}}class Pe extends F.L{constructor(d,l){super(d),this.project=l,this.index=0}_next(d){let l;const v=this.index++;try{l=this.project(d,v)}catch(w){return void this.destination.error(w)}this._innerSub(l,d,v)}_innerSub(d,l,v){const w=this.innerSubscription;w&&w.unsubscribe();const L=new Xe.d(this,l,v),Y=this.destination;Y.add(L),this.innerSubscription=(0,H.D)(this,d,void 0,void 0,L),this.innerSubscription!==L&&Y.add(this.innerSubscription)}_complete(){const{innerSubscription:d}=this;(!d||d.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(d){this.destination.remove(d),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(d,l,v,w,L){this.destination.next(l)}}var st=m(3489);const rn=(()=>{function p(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return p.prototype=Object.create(Error.prototype),p})();function sn(p){return d=>0===p?ct():d.lift(new Xt(p))}class Xt{constructor(d){if(this.total=d,this.total<0)throw new rn}call(d,l){return l.subscribe(new Fn(d,this.total))}}class Fn extends st.L{constructor(d,l){super(d),this.total=l,this.count=0}_next(d){const l=this.total,v=++this.count;v<=l&&(this.destination.next(d),v===l&&(this.destination.complete(),this.unsubscribe()))}}function Dn(p,d){let l=!1;return arguments.length>=2&&(l=!0),function(w){return w.lift(new xn(p,d,l))}}class xn{constructor(d,l,v=!1){this.accumulator=d,this.seed=l,this.hasSeed=v}call(d,l){return l.subscribe(new Ht(d,this.accumulator,this.seed,this.hasSeed))}}class Ht extends st.L{constructor(d,l,v,w){super(d),this.accumulator=l,this._seed=v,this.hasSeed=w,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const l=this.index++;let v;try{v=this.accumulator(this.seed,d,l)}catch(w){this.destination.error(w)}this.seed=v,this.destination.next(v)}}var It=m(2198);function lr(p){return function(l){return 0===p?ct():l.lift(new Br(p))}}class Br{constructor(d){if(this.total=d,this.total<0)throw new rn}call(d,l){return l.subscribe(new Ar(d,this.total))}}class Ar extends st.L{constructor(d,l){super(d),this.total=l,this.ring=new Array,this.count=0}_next(d){const l=this.ring,v=this.total,w=this.count++;l.length<v?l.push(d):l[w%v]=d}_complete(){const d=this.destination;let l=this.count;if(l>0){const v=this.count>=this.total?this.total:this.count,w=this.ring;for(let L=0;L<v;L++){const Y=l++%v;d.next(w[Y])}}d.complete()}}function gn(p=cr){return d=>d.lift(new Rr(p))}class Rr{constructor(d){this.errorFactory=d}call(d,l){return l.subscribe(new Kn(d,this.errorFactory))}}class Kn extends st.L{constructor(d,l){super(d),this.errorFactory=l,this.hasValue=!1}_next(d){this.hasValue=!0,this.destination.next(d)}_complete(){if(this.hasValue)return this.destination.complete();{let d;try{d=this.errorFactory()}catch(l){d=l}this.destination.error(d)}}}function cr(){return new Oe}function Qn(p=null){return d=>d.lift(new Mi(p))}class Mi{constructor(d){this.defaultValue=d}call(d,l){return l.subscribe(new kn(d,this.defaultValue))}}class kn extends st.L{constructor(d,l){super(d),this.defaultValue=l,this.isEmpty=!0}_next(d){this.isEmpty=!1,this.destination.next(d)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var ur=m(5379);function de(p,d){const l=arguments.length>=2;return v=>v.pipe(p?(0,It.h)((w,L)=>p(w,L,v)):ur.y,sn(1),l?Qn(d):gn(()=>new Oe))}function Ce(){}var ve=m(7043);function se(p,d,l){return function(w){return w.lift(new Ie(p,d,l))}}class Ie{constructor(d,l,v){this.nextOrObserver=d,this.error=l,this.complete=v}call(d,l){return l.subscribe(new He(d,this.nextOrObserver,this.error,this.complete))}}class He extends st.L{constructor(d,l,v,w){super(d),this._tapNext=Ce,this._tapError=Ce,this._tapComplete=Ce,this._tapError=v||Ce,this._tapComplete=w||Ce,(0,ve.m)(l)?(this._context=this,this._tapNext=l):l&&(this._context=l,this._tapNext=l.next||Ce,this._tapError=l.error||Ce,this._tapComplete=l.complete||Ce)}_next(d){try{this._tapNext.call(this._context,d)}catch(l){return void this.destination.error(l)}this.destination.next(d)}_error(d){try{this._tapError.call(this._context,d)}catch(l){return void this.destination.error(l)}this.destination.error(d)}_complete(){try{this._tapComplete.call(this._context)}catch(d){return void this.destination.error(d)}return this.destination.complete()}}var De=m(2654);class vt{constructor(d){this.callback=d}call(d,l){return l.subscribe(new et(d,this.callback))}}class et extends st.L{constructor(d,l){super(d),this.add(new De.w(l))}}var rt=m(7221),St=m(1406),Ke=m(1709),Vt=m(4327);class at{constructor(d,l){this.id=d,this.url=l}}class Kt extends at{constructor(d,l,v="imperative",w=null){super(d,l),this.navigationTrigger=v,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class pt extends at{constructor(d,l,v){super(d,l),this.urlAfterRedirects=v}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Tt extends at{constructor(d,l,v){super(d,l),this.reason=v}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ue extends at{constructor(d,l,v){super(d,l),this.error=v}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Cn extends at{constructor(d,l,v,w){super(d,l),this.urlAfterRedirects=v,this.state=w}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wt extends at{constructor(d,l,v,w){super(d,l),this.urlAfterRedirects=v,this.state=w}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class an extends at{constructor(d,l,v,w,L){super(d,l),this.urlAfterRedirects=v,this.state=w,this.shouldActivate=L}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dt extends at{constructor(d,l,v,w){super(d,l),this.urlAfterRedirects=v,this.state=w}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends at{constructor(d,l,v,w){super(d,l),this.urlAfterRedirects=v,this.state=w}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt{constructor(d){this.route=d}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Je{constructor(d){this.route=d}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class jt{constructor(d){this.snapshot=d}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ee{constructor(d){this.snapshot=d}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class z{constructor(d){this.snapshot=d}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class x{constructor(d){this.snapshot=d}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class j{constructor(d,l,v){this.routerEvent=d,this.position=l,this.anchor=v}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const T="primary";class te{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l[0]:l}return null}getAll(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function me(p){return new te(p)}const Ve="ngNavigationCancelingError";function Se(p){const d=Error("NavigationCancelingError: "+p);return d[Ve]=!0,d}function K(p,d,l){const v=l.path.split("/");if(v.length>p.length||"full"===l.pathMatch&&(d.hasChildren()||v.length<p.length))return null;const w={};for(let L=0;L<v.length;L++){const Y=v[L],J=p[L];if(Y.startsWith(":"))w[Y.substring(1)]=J;else if(Y!==J.path)return null}return{consumed:p.slice(0,v.length),posParams:w}}function Ze(p,d){const l=p?Object.keys(p):void 0,v=d?Object.keys(d):void 0;if(!l||!v||l.length!=v.length)return!1;let w;for(let L=0;L<l.length;L++)if(w=l[L],!$e(p[w],d[w]))return!1;return!0}function $e(p,d){if(Array.isArray(p)&&Array.isArray(d)){if(p.length!==d.length)return!1;const l=[...p].sort(),v=[...d].sort();return l.every((w,L)=>v[L]===w)}return p===d}function yt(p){return Array.prototype.concat.apply([],p)}function Re(p){return p.length>0?p[p.length-1]:null}function le(p,d){for(const l in p)p.hasOwnProperty(l)&&d(p[l],l)}function he(p){return(0,_.CqO)(p)?p:(0,_.QGY)(p)?(0,Et.D)(Promise.resolve(p)):(0,ye.of)(p)}const Ge={exact:function gt(p,d,l){if(!mn(p.segments,d.segments)||!mt(p.segments,d.segments,l)||p.numberOfChildren!==d.numberOfChildren)return!1;for(const v in d.children)if(!p.children[v]||!gt(p.children[v],d.children[v],l))return!1;return!0},subset:Qt},Qe={exact:function it(p,d){return Ze(p,d)},subset:function Ct(p,d){return Object.keys(d).length<=Object.keys(p).length&&Object.keys(d).every(l=>$e(p[l],d[l]))},ignored:()=>!0};function Dt(p,d,l){return Ge[l.paths](p.root,d.root,l.matrixParams)&&Qe[l.queryParams](p.queryParams,d.queryParams)&&!("exact"===l.fragment&&p.fragment!==d.fragment)}function Qt(p,d,l){return Ln(p,d,d.segments,l)}function Ln(p,d,l,v){if(p.segments.length>l.length){const w=p.segments.slice(0,l.length);return!(!mn(w,l)||d.hasChildren()||!mt(w,l,v))}if(p.segments.length===l.length){if(!mn(p.segments,l)||!mt(p.segments,l,v))return!1;for(const w in d.children)if(!p.children[w]||!Qt(p.children[w],d.children[w],v))return!1;return!0}{const w=l.slice(0,p.segments.length),L=l.slice(p.segments.length);return!!(mn(p.segments,w)&&mt(p.segments,w,v)&&p.children[T])&&Ln(p.children[T],d,L,v)}}function mt(p,d,l){return d.every((v,w)=>Qe[l](p[w].parameters,v.parameters))}class Rn{constructor(d,l,v){this.root=d,this.queryParams=l,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=me(this.queryParams)),this._queryParamMap}toString(){return en.serialize(this)}}class At{constructor(d,l){this.segments=d,this.children=l,this.parent=null,le(l,(v,w)=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rr(this)}}class Er{constructor(d,l){this.path=d,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=me(this.parameters)),this._parameterMap}toString(){return Wi(this)}}function mn(p,d){return p.length===d.length&&p.every((l,v)=>l.path===d[v].path)}class hr{}class on{parse(d){const l=new hs(d);return new Rn(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(d){const l=`/${jn(d.root,!0)}`,v=function Mn(p){const d=Object.keys(p).map(l=>{const v=p[l];return Array.isArray(v)?v.map(w=>`${zn(l)}=${zn(w)}`).join("&"):`${zn(l)}=${zn(v)}`}).filter(l=>!!l);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${l}${v}${"string"==typeof d.fragment?`#${function Si(p){return encodeURI(p)}(d.fragment)}`:""}`}}const en=new on;function rr(p){return p.segments.map(d=>Wi(d)).join("/")}function jn(p,d){if(!p.hasChildren())return rr(p);if(d){const l=p.children[T]?jn(p.children[T],!1):"",v=[];return le(p.children,(w,L)=>{L!==T&&v.push(`${L}:${jn(w,!1)}`)}),v.length>0?`${l}(${v.join("//")})`:l}{const l=function dr(p,d){let l=[];return le(p.children,(v,w)=>{w===T&&(l=l.concat(d(v,w)))}),le(p.children,(v,w)=>{w!==T&&(l=l.concat(d(v,w)))}),l}(p,(v,w)=>w===T?[jn(p.children[T],!1)]:[`${w}:${jn(v,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[T]?`${rr(p)}/${l[0]}`:`${rr(p)}/(${l.join("//")})`}}function $n(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function zn(p){return $n(p).replace(/%3B/gi,";")}function Qr(p){return $n(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dr(p){return decodeURIComponent(p)}function Pn(p){return Dr(p.replace(/\+/g,"%20"))}function Wi(p){return`${Qr(p.path)}${function Mr(p){return Object.keys(p).map(d=>`;${Qr(d)}=${Qr(p[d])}`).join("")}(p.parameters)}`}const qr=/^[^\/()?;=#]+/;function yr(p){const d=p.match(qr);return d?d[0]:""}const ai=/^[^=?&#]+/,us=/^[^&#]+/;class hs{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(d.length>0||Object.keys(l).length>0)&&(v[T]=new At(d,l)),v}parseSegment(){const d=yr(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(d),new Er(Dr(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const l=yr(this.remaining);if(!l)return;this.capture(l);let v="";if(this.consumeOptional("=")){const w=yr(this.remaining);w&&(v=w,this.capture(v))}d[Dr(l)]=Dr(v)}parseQueryParam(d){const l=function ir(p){const d=p.match(ai);return d?d[0]:""}(this.remaining);if(!l)return;this.capture(l);let v="";if(this.consumeOptional("=")){const Y=function ds(p){const d=p.match(us);return d?d[0]:""}(this.remaining);Y&&(v=Y,this.capture(v))}const w=Pn(l),L=Pn(v);if(d.hasOwnProperty(w)){let Y=d[w];Array.isArray(Y)||(Y=[Y],d[w]=Y),Y.push(L)}else d[w]=L}parseParens(d){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=yr(this.remaining),w=this.remaining[v.length];if("/"!==w&&")"!==w&&";"!==w)throw new Error(`Cannot parse url '${this.url}'`);let L;v.indexOf(":")>-1?(L=v.substr(0,v.indexOf(":")),this.capture(L),this.capture(":")):d&&(L=T);const Y=this.parseChildren();l[L]=1===Object.keys(Y).length?Y[T]:new At([],Y),this.consumeOptional("//")}return l}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new Error(`Expected "${d}".`)}}class fs{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const l=this.pathFromRoot(d);return l.length>1?l[l.length-2]:null}children(d){const l=ps(d,this._root);return l?l.children.map(v=>v.value):[]}firstChild(d){const l=ps(d,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(d){const l=gs(d,this._root);return l.length<2?[]:l[l.length-2].children.map(w=>w.value).filter(w=>w!==d)}pathFromRoot(d){return gs(d,this._root).map(l=>l.value)}}function ps(p,d){if(p===d.value)return d;for(const l of d.children){const v=ps(p,l);if(v)return v}return null}function gs(p,d){if(p===d.value)return[d];for(const l of d.children){const v=gs(p,l);if(v.length)return v.unshift(d),v}return[]}class Nr{constructor(d,l){this.value=d,this.children=l}toString(){return`TreeNode(${this.value})`}}function li(p){const d={};return p&&p.children.forEach(l=>d[l.value.outlet]=l),d}class Ti extends fs{constructor(d,l){super(d),this.snapshot=l,ms(this,d)}toString(){return this.snapshot.toString()}}function Ns(p,d){const l=function Jr(p,d){const Y=new Zi([],{},{},"",{},T,d,null,p.root,-1,{});return new Fs("",new Nr(Y,[]))}(p,d),v=new M([new Er("",{})]),w=new M({}),L=new M({}),Y=new M({}),J=new M(""),_e=new Vr(v,w,Y,J,L,T,d,l.root);return _e.snapshot=l.root,new Ti(new Nr(_e,[]),l)}class Vr{constructor(d,l,v,w,L,Y,J,_e){this.url=d,this.params=l,this.queryParams=v,this.fragment=w,this.data=L,this.outlet=Y,this.component=J,this._futureSnapshot=_e}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,we.U)(d=>me(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,we.U)(d=>me(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Yi(p,d="emptyOnly"){const l=p.pathFromRoot;let v=0;if("always"!==d)for(v=l.length-1;v>=1;){const w=l[v],L=l[v-1];if(w.routeConfig&&""===w.routeConfig.path)v--;else{if(L.component)break;v--}}return function Pi(p){return p.reduce((d,l)=>({params:{...d.params,...l.params},data:{...d.data,...l.data},resolve:{...d.resolve,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(v))}class Zi{constructor(d,l,v,w,L,Y,J,_e,ut,ln,Mt){this.url=d,this.params=l,this.queryParams=v,this.fragment=w,this.data=L,this.outlet=Y,this.component=J,this.routeConfig=_e,this._urlSegment=ut,this._lastPathIndex=ln,this._resolve=Mt}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=me(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=me(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Fs extends fs{constructor(d,l){super(l),this.url=d,ms(this,l)}toString(){return Ki(this._root)}}function ms(p,d){d.value._routerState=p,d.children.forEach(l=>ms(p,l))}function Ki(p){const d=p.children.length>0?` { ${p.children.map(Ki).join(", ")} } `:"";return`${p.value}${d}`}function Xr(p){if(p.snapshot){const d=p.snapshot,l=p._futureSnapshot;p.snapshot=l,Ze(d.queryParams,l.queryParams)||p.queryParams.next(l.queryParams),d.fragment!==l.fragment&&p.fragment.next(l.fragment),Ze(d.params,l.params)||p.params.next(l.params),function pe(p,d){if(p.length!==d.length)return!1;for(let l=0;l<p.length;++l)if(!Ze(p[l],d[l]))return!1;return!0}(d.url,l.url)||p.url.next(l.url),Ze(d.data,l.data)||p.data.next(l.data)}else p.snapshot=p._futureSnapshot,p.data.next(p._futureSnapshot.data)}function Ur(p,d){const l=Ze(p.params,d.params)&&function qn(p,d){return mn(p,d)&&p.every((l,v)=>Ze(l.parameters,d[v].parameters))}(p.url,d.url);return l&&!(!p.parent!=!d.parent)&&(!p.parent||Ur(p.parent,d.parent))}function Hr(p,d,l){if(l&&p.shouldReuseRoute(d.value,l.value.snapshot)){const v=l.value;v._futureSnapshot=d.value;const w=function Qi(p,d,l){return d.children.map(v=>{for(const w of l.children)if(p.shouldReuseRoute(v.value,w.value.snapshot))return Hr(p,v,w);return Hr(p,v)})}(p,d,l);return new Nr(v,w)}{if(p.shouldAttach(d.value)){const L=p.retrieve(d.value);if(null!==L){const Y=L.route;return Y.value._futureSnapshot=d.value,Y.children=d.children.map(J=>Hr(p,J)),Y}}const v=function _r(p){return new Vr(new M(p.url),new M(p.params),new M(p.queryParams),new M(p.fragment),new M(p.data),p.outlet,p.component,p)}(d.value),w=d.children.map(L=>Hr(p,L));return new Nr(v,w)}}function $r(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function ci(p){return"object"==typeof p&&null!=p&&p.outlets}function Ls(p,d,l,v,w){let L={};if(v&&le(v,(J,_e)=>{L[_e]=Array.isArray(J)?J.map(ut=>`${ut}`):`${J}`}),p===d)return new Rn(l,L,w);const Y=qi(p,d,l);return new Rn(Y,L,w)}function qi(p,d,l){const v={};return le(p.children,(w,L)=>{v[L]=w===d?l:qi(w,d,l)}),new At(p.segments,v)}class js{constructor(d,l,v){if(this.isAbsolute=d,this.numberOfDoubleDots=l,this.commands=v,d&&v.length>0&&$r(v[0]))throw new Error("Root segment cannot have matrix parameters");const w=v.find(ci);if(w&&w!==Re(v))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ji{constructor(d,l,v){this.segmentGroup=d,this.processChildren=l,this.index=v}}function xi(p,d,l){if(p||(p=new At([],{})),0===p.segments.length&&p.hasChildren())return Oi(p,d,l);const v=function C(p,d,l){let v=0,w=d;const L={match:!1,pathIndex:0,commandIndex:0};for(;w<p.segments.length;){if(v>=l.length)return L;const Y=p.segments[w],J=l[v];if(ci(J))break;const _e=`${J}`,ut=v<l.length-1?l[v+1]:null;if(w>0&&void 0===_e)break;if(_e&&ut&&"object"==typeof ut&&void 0===ut.outlets){if(!ne(_e,ut,Y))return L;v+=2}else{if(!ne(_e,{},Y))return L;v++}w++}return{match:!0,pathIndex:w,commandIndex:v}}(p,d,l),w=l.slice(v.commandIndex);if(v.match&&v.pathIndex<p.segments.length){const L=new At(p.segments.slice(0,v.pathIndex),{});return L.children[T]=new At(p.segments.slice(v.pathIndex),p.children),Oi(L,0,w)}return v.match&&0===w.length?new At(p.segments,{}):v.match&&!p.hasChildren()?k(p,d,l):v.match?Oi(p,0,w):k(p,d,l)}function Oi(p,d,l){if(0===l.length)return new At(p.segments,{});{const v=function Gn(p){return ci(p[0])?p[0].outlets:{[T]:p}}(l),w={};return le(v,(L,Y)=>{"string"==typeof L&&(L=[L]),null!==L&&(w[Y]=xi(p.children[Y],d,L))}),le(p.children,(L,Y)=>{void 0===v[Y]&&(w[Y]=L)}),new At(p.segments,w)}}function k(p,d,l){const v=p.segments.slice(0,d);let w=0;for(;w<l.length;){const L=l[w];if(ci(L)){const _e=b(L.outlets);return new At(v,_e)}if(0===w&&$r(l[0])){v.push(new Er(p.segments[d].path,V(l[0]))),w++;continue}const Y=ci(L)?L.outlets[T]:`${L}`,J=w<l.length-1?l[w+1]:null;Y&&J&&$r(J)?(v.push(new Er(Y,V(J))),w+=2):(v.push(new Er(Y,{})),w++)}return new At(v,{})}function b(p){const d={};return le(p,(l,v)=>{"string"==typeof l&&(l=[l]),null!==l&&(d[v]=k(new At([],{}),0,l))}),d}function V(p){const d={};return le(p,(l,v)=>d[v]=`${l}`),d}function ne(p,d,l){return p==l.path&&Ze(d,l.parameters)}class Be{constructor(d,l,v,w){this.routeReuseStrategy=d,this.futureState=l,this.currState=v,this.forwardEvent=w}activate(d){const l=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,v,d),Xr(this.futureState.root),this.activateChildRoutes(l,v,d)}deactivateChildRoutes(d,l,v){const w=li(l);d.children.forEach(L=>{const Y=L.value.outlet;this.deactivateRoutes(L,w[Y],v),delete w[Y]}),le(w,(L,Y)=>{this.deactivateRouteAndItsChildren(L,v)})}deactivateRoutes(d,l,v){const w=d.value,L=l?l.value:null;if(w===L)if(w.component){const Y=v.getContext(w.outlet);Y&&this.deactivateChildRoutes(d,l,Y.children)}else this.deactivateChildRoutes(d,l,v);else L&&this.deactivateRouteAndItsChildren(l,v)}deactivateRouteAndItsChildren(d,l){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,l):this.deactivateRouteAndOutlet(d,l)}detachAndStoreRouteSubtree(d,l){const v=l.getContext(d.value.outlet),w=v&&d.value.component?v.children:l,L=li(d);for(const Y of Object.keys(L))this.deactivateRouteAndItsChildren(L[Y],w);if(v&&v.outlet){const Y=v.outlet.detach(),J=v.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:Y,route:d,contexts:J})}}deactivateRouteAndOutlet(d,l){const v=l.getContext(d.value.outlet),w=v&&d.value.component?v.children:l,L=li(d);for(const Y of Object.keys(L))this.deactivateRouteAndItsChildren(L[Y],w);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(d,l,v){const w=li(l);d.children.forEach(L=>{this.activateRoutes(L,w[L.value.outlet],v),this.forwardEvent(new x(L.value.snapshot))}),d.children.length&&this.forwardEvent(new ee(d.value.snapshot))}activateRoutes(d,l,v){const w=d.value,L=l?l.value:null;if(Xr(w),w===L)if(w.component){const Y=v.getOrCreateContext(w.outlet);this.activateChildRoutes(d,l,Y.children)}else this.activateChildRoutes(d,l,v);else if(w.component){const Y=v.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const J=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),Y.children.onOutletReAttached(J.contexts),Y.attachRef=J.componentRef,Y.route=J.route.value,Y.outlet&&Y.outlet.attach(J.componentRef,J.route.value),Xr(J.route.value),this.activateChildRoutes(d,null,Y.children)}else{const J=function Ye(p){for(let d=p.parent;d;d=d.parent){const l=d.routeConfig;if(l&&l._loadedConfig)return l._loadedConfig;if(l&&l.component)return null}return null}(w.snapshot),_e=J?J.module.componentFactoryResolver:null;Y.attachRef=null,Y.route=w,Y.resolver=_e,Y.outlet&&Y.outlet.activateWith(w,_e),this.activateChildRoutes(d,null,Y.children)}}else this.activateChildRoutes(d,null,v)}}class un{constructor(d,l){this.routes=d,this.module=l}}function qt(p){return"function"==typeof p}function $t(p){return p instanceof Rn}const yn=Symbol("INITIAL_VALUE");function Un(){return fe(p=>function W(...p){let d=null,l=null;return(0,P.K)(p[p.length-1])&&(l=p.pop()),"function"==typeof p[p.length-1]&&(d=p.pop()),1===p.length&&(0,N.k)(p[0])&&(p=p[0]),(0,O.n)(p,l).lift(new re(d))}(p.map(d=>d.pipe(sn(1),function En(...p){const d=p[p.length-1];return(0,P.K)(d)?(p.pop(),l=>ht(p,l,d)):l=>ht(p,l)}(yn)))).pipe(Dn((d,l)=>{let v=!1;return l.reduce((w,L,Y)=>w!==yn?w:(L===yn&&(v=!0),v||!1!==L&&Y!==l.length-1&&!$t(L)?w:L),d)},yn),(0,It.h)(d=>d!==yn),(0,we.U)(d=>$t(d)?d:!0===d),sn(1)))}class bn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Sr,this.attachRef=null}}class Sr{constructor(){this.contexts=new Map}onChildOutletCreated(d,l){const v=this.getOrCreateContext(d);v.outlet=l,this.contexts.set(d,v)}onChildOutletDestroyed(d){const l=this.getContext(d);l&&(l.outlet=null,l.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let l=this.getContext(d);return l||(l=new bn,this.contexts.set(d,l)),l}getContext(d){return this.contexts.get(d)||null}}let zr=(()=>{class p{constructor(l,v,w,L,Y){this.parentContexts=l,this.location=v,this.resolver=w,this.changeDetector=Y,this.activated=null,this._activatedRoute=null,this.activateEvents=new _.vpe,this.deactivateEvents=new _.vpe,this.attachEvents=new _.vpe,this.detachEvents=new _.vpe,this.name=L||T,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.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 l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,v){this.activated=l,this._activatedRoute=v,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,v){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=l;const Y=(v=v||this.resolver).resolveComponentFactory(l._futureSnapshot.routeConfig.component),J=this.parentContexts.getOrCreateContext(this.name).children,_e=new ys(l,J,this.location.injector);this.activated=this.location.createComponent(Y,this.location.length,_e),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return p.\u0275fac=function(l){return new(l||p)(_.Y36(Sr),_.Y36(_.s_b),_.Y36(_._Vd),_.$8M("name"),_.Y36(_.sBO))},p.\u0275dir=_.lG2({type:p,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),p})();class ys{constructor(d,l,v){this.route=d,this.childContexts=l,this.parent=v}get(d,l){return d===Vr?this.route:d===Sr?this.childContexts:this.parent.get(d,l)}}let Tr=(()=>{class p{}return p.\u0275fac=function(l){return new(l||p)},p.\u0275cmp=_.Xpm({type:p,selectors:[["ng-component"]],decls:1,vars:0,template:function(l,v){1&l&&_._UZ(0,"router-outlet")},directives:[zr],encapsulation:2}),p})();function Vs(p,d=""){for(let l=0;l<p.length;l++){const v=p[l];Us(v,Ft(d,v))}}function Us(p,d){p.children&&Vs(p.children,d)}function Ft(p,d){return d?p||d.path?p&&!d.path?`${p}/`:!p&&d.path?d.path:`${p}/${d.path}`:"":p}function _s(p){const d=p.children&&p.children.map(_s),l=d?{...p,children:d}:{...p};return!l.component&&(d||l.loadChildren)&&l.outlet&&l.outlet!==T&&(l.component=Tr),l}function vr(p){return p.outlet||T}function Hs(p,d){const l=p.filter(v=>vr(v)===d);return l.push(...p.filter(v=>vr(v)!==d)),l}const $s={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jn(p,d,l){if(""===d.path)return"full"===d.pathMatch&&(p.hasChildren()||l.length>0)?{...$s}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const w=(d.matcher||K)(l,p,d);if(!w)return{...$s};const L={};le(w.posParams,(J,_e)=>{L[_e]=J.path});const Y=w.consumed.length>0?{...L,...w.consumed[w.consumed.length-1].parameters}:L;return{matched:!0,consumedSegments:w.consumed,remainingSegments:l.slice(w.consumed.length),parameters:Y,positionalParamSegments:w.posParams??{}}}function Fr(p,d,l,v,w="corrected"){if(l.length>0&&function Ne(p,d,l){return l.some(v=>Ii(p,d,v)&&vr(v)!==T)}(p,l,v)){const Y=new At(d,function Xo(p,d,l,v){const w={};w[T]=v,v._sourceSegment=p,v._segmentIndexShift=d.length;for(const L of l)if(""===L.path&&vr(L)!==T){const Y=new At([],{});Y._sourceSegment=p,Y._segmentIndexShift=d.length,w[vr(L)]=Y}return w}(p,d,v,new At(l,p.children)));return Y._sourceSegment=p,Y._segmentIndexShift=d.length,{segmentGroup:Y,slicedSegments:[]}}if(0===l.length&&function Jt(p,d,l){return l.some(v=>Ii(p,d,v))}(p,l,v)){const Y=new At(p.segments,function Jo(p,d,l,v,w,L){const Y={};for(const J of v)if(Ii(p,l,J)&&!w[vr(J)]){const _e=new At([],{});_e._sourceSegment=p,_e._segmentIndexShift="legacy"===L?p.segments.length:d.length,Y[vr(J)]=_e}return{...w,...Y}}(p,d,l,v,p.children,w));return Y._sourceSegment=p,Y._segmentIndexShift=d.length,{segmentGroup:Y,slicedSegments:l}}const L=new At(p.segments,p.children);return L._sourceSegment=p,L._segmentIndexShift=d.length,{segmentGroup:L,slicedSegments:l}}function Ii(p,d,l){return(!(p.hasChildren()||d.length>0)||"full"!==l.pathMatch)&&""===l.path}function Sn(p,d,l,v){return!!(vr(p)===v||v!==T&&Ii(d,l,p))&&("**"===p.path||Jn(d,p,l).matched)}function zs(p,d,l){return 0===d.length&&!p.children[l]}class ei{constructor(d){this.segmentGroup=d||null}}class fr{constructor(d){this.urlTree=d}}function di(p){return ue(new ei(p))}function ts(p){return ue(new fr(p))}class vs{constructor(d,l,v,w,L){this.configLoader=l,this.urlSerializer=v,this.urlTree=w,this.config=L,this.allowRedirects=!0,this.ngModule=d.get(_.h0i)}apply(){const d=Fr(this.urlTree.root,[],[],this.config).segmentGroup,l=new At(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,l,T).pipe((0,we.U)(L=>this.createUrlTree(sr(L),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,rt.K)(L=>{if(L instanceof fr)return this.allowRedirects=!1,this.match(L.urlTree);throw L instanceof ei?this.noMatchError(L):L}))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,T).pipe((0,we.U)(w=>this.createUrlTree(sr(w),d.queryParams,d.fragment))).pipe((0,rt.K)(w=>{throw w instanceof ei?this.noMatchError(w):w}))}noMatchError(d){return new Error(`Cannot match any routes. URL Segment: '${d.segmentGroup}'`)}createUrlTree(d,l,v){const w=d.segments.length>0?new At([],{[T]:d}):d;return new Rn(w,l,v)}expandSegmentGroup(d,l,v,w){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(d,l,v).pipe((0,we.U)(L=>new At([],L))):this.expandSegment(d,v,l,v.segments,w,!0)}expandChildren(d,l,v){const w=[];for(const L of Object.keys(v.children))"primary"===L?w.unshift(L):w.push(L);return(0,Et.D)(w).pipe((0,St.b)(L=>{const Y=v.children[L],J=Hs(l,L);return this.expandSegmentGroup(d,J,Y,L).pipe((0,we.U)(_e=>({segment:_e,outlet:L})))}),Dn((L,Y)=>(L[Y.outlet]=Y.segment,L),{}),function X(p,d){const l=arguments.length>=2;return v=>v.pipe(p?(0,It.h)((w,L)=>p(w,L,v)):ur.y,lr(1),l?Qn(d):gn(()=>new Oe))}())}expandSegment(d,l,v,w,L,Y){return(0,Et.D)(v).pipe((0,St.b)(J=>this.expandSegmentAgainstRoute(d,l,v,J,w,L,Y).pipe((0,rt.K)(ut=>{if(ut instanceof ei)return(0,ye.of)(null);throw ut}))),de(J=>!!J),(0,rt.K)((J,_e)=>{if(J instanceof Oe||"EmptyError"===J.name)return zs(l,w,L)?(0,ye.of)(new At([],{})):di(l);throw J}))}expandSegmentAgainstRoute(d,l,v,w,L,Y,J){return Sn(w,l,L,Y)?void 0===w.redirectTo?this.matchSegmentAgainstRoute(d,l,w,L,Y):J&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,l,v,w,L,Y):di(l):di(l)}expandSegmentAgainstRouteUsingRedirect(d,l,v,w,L,Y){return"**"===w.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,v,w,Y):this.expandRegularSegmentAgainstRouteUsingRedirect(d,l,v,w,L,Y)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,l,v,w){const L=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?ts(L):this.lineralizeSegments(v,L).pipe((0,Ke.zg)(Y=>{const J=new At(Y,{});return this.expandSegment(d,J,l,Y,w,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,l,v,w,L,Y){const{matched:J,consumedSegments:_e,remainingSegments:ut,positionalParamSegments:ln}=Jn(l,w,L);if(!J)return di(l);const Mt=this.applyRedirectCommands(_e,w.redirectTo,ln);return w.redirectTo.startsWith("/")?ts(Mt):this.lineralizeSegments(w,Mt).pipe((0,Ke.zg)(_n=>this.expandSegment(d,l,v,_n.concat(ut),Y,!1)))}matchSegmentAgainstRoute(d,l,v,w,L){if("**"===v.path)return v.loadChildren?(v._loadedConfig?(0,ye.of)(v._loadedConfig):this.configLoader.load(d.injector,v)).pipe((0,we.U)(Mt=>(v._loadedConfig=Mt,new At(w,{})))):(0,ye.of)(new At(w,{}));const{matched:Y,consumedSegments:J,remainingSegments:_e}=Jn(l,v,w);return Y?this.getChildConfig(d,v,w).pipe((0,Ke.zg)(ln=>{const Mt=ln.module,_n=ln.routes,{segmentGroup:wn,slicedSegments:to}=Fr(l,J,_e,_n),Ai=new At(wn.segments,wn.children);if(0===to.length&&Ai.hasChildren())return this.expandChildren(Mt,_n,Ai).pipe((0,we.U)(no=>new At(J,no)));if(0===_n.length&&0===to.length)return(0,ye.of)(new At(J,{}));const ri=vr(v)===L;return this.expandSegment(Mt,Ai,_n,to,ri?T:L,!0).pipe((0,we.U)(Tn=>new At(J.concat(Tn.segments),Tn.children)))})):di(l)}getChildConfig(d,l,v){return l.children?(0,ye.of)(new un(l.children,d)):l.loadChildren?void 0!==l._loadedConfig?(0,ye.of)(l._loadedConfig):this.runCanLoadGuards(d.injector,l,v).pipe((0,Ke.zg)(w=>w?this.configLoader.load(d.injector,l).pipe((0,we.U)(L=>(l._loadedConfig=L,L))):function ea(p){return ue(Se(`Cannot load children because the guard of the route "path: '${p.path}'" returned false`))}(l))):(0,ye.of)(new un([],d))}runCanLoadGuards(d,l,v){const w=l.canLoad;if(!w||0===w.length)return(0,ye.of)(!0);const L=w.map(Y=>{const J=d.get(Y);let _e;if(function Vn(p){return p&&qt(p.canLoad)}(J))_e=J.canLoad(l,v);else{if(!qt(J))throw new Error("Invalid CanLoad guard");_e=J(l,v)}return he(_e)});return(0,ye.of)(L).pipe(Un(),se(Y=>{if(!$t(Y))return;const J=Se(`Redirecting to "${this.urlSerializer.serialize(Y)}"`);throw J.url=Y,J}),(0,we.U)(Y=>!0===Y))}lineralizeSegments(d,l){let v=[],w=l.root;for(;;){if(v=v.concat(w.segments),0===w.numberOfChildren)return(0,ye.of)(v);if(w.numberOfChildren>1||!w.children[T])return ue(new Error(`Only absolute redirects can have named outlets. redirectTo: '${d.redirectTo}'`));w=w.children[T]}}applyRedirectCommands(d,l,v){return this.applyRedirectCreatreUrlTree(l,this.urlSerializer.parse(l),d,v)}applyRedirectCreatreUrlTree(d,l,v,w){const L=this.createSegmentGroup(d,l.root,v,w);return new Rn(L,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(d,l){const v={};return le(d,(w,L)=>{if("string"==typeof w&&w.startsWith(":")){const J=w.substring(1);v[L]=l[J]}else v[L]=w}),v}createSegmentGroup(d,l,v,w){const L=this.createSegments(d,l.segments,v,w);let Y={};return le(l.children,(J,_e)=>{Y[_e]=this.createSegmentGroup(d,J,v,w)}),new At(L,Y)}createSegments(d,l,v,w){return l.map(L=>L.path.startsWith(":")?this.findPosParam(d,L,w):this.findOrReturn(L,v))}findPosParam(d,l,v){const w=v[l.path.substring(1)];if(!w)throw new Error(`Cannot redirect to '${d}'. Cannot find '${l.path}'.`);return w}findOrReturn(d,l){let v=0;for(const w of l){if(w.path===d.path)return l.splice(v),w;v++}return d}}function sr(p){const d={};for(const v of Object.keys(p.children)){const L=sr(p.children[v]);(L.segments.length>0||L.hasChildren())&&(d[v]=L)}return function Wn(p){if(1===p.numberOfChildren&&p.children[T]){const d=p.children[T];return new At(p.segments.concat(d.segments),d.children)}return p}(new At(p.segments,d))}class hi{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class pr{constructor(d,l){this.component=d,this.route=l}}function ta(p,d,l){const v=p._root;return fi(v,d?d._root:null,l,[v.value])}function Cs(p,d,l){const v=function na(p){if(!p)return null;for(let d=p.parent;d;d=d.parent){const l=d.routeConfig;if(l&&l._loadedConfig)return l._loadedConfig}return null}(d);return(v?v.module.injector:l).get(p)}function fi(p,d,l,v,w={canDeactivateChecks:[],canActivateChecks:[]}){const L=li(d);return p.children.forEach(Y=>{(function Ws(p,d,l,v,w={canDeactivateChecks:[],canActivateChecks:[]}){const L=p.value,Y=d?d.value:null,J=l?l.getContext(p.value.outlet):null;if(Y&&L.routeConfig===Y.routeConfig){const _e=function Ys(p,d,l){if("function"==typeof l)return l(p,d);switch(l){case"pathParamsChange":return!mn(p.url,d.url);case"pathParamsOrQueryParamsChange":return!mn(p.url,d.url)||!Ze(p.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ur(p,d)||!Ze(p.queryParams,d.queryParams);default:return!Ur(p,d)}}(Y,L,L.routeConfig.runGuardsAndResolvers);_e?w.canActivateChecks.push(new hi(v)):(L.data=Y.data,L._resolvedData=Y._resolvedData),fi(p,d,L.component?J?J.children:null:l,v,w),_e&&J&&J.outlet&&J.outlet.isActivated&&w.canDeactivateChecks.push(new pr(J.outlet.component,Y))}else Y&&ti(d,J,w),w.canActivateChecks.push(new hi(v)),fi(p,null,L.component?J?J.children:null:l,v,w)})(Y,L[Y.value.outlet],l,v.concat([Y.value]),w),delete L[Y.value.outlet]}),le(L,(Y,J)=>ti(Y,l.getContext(J),w)),w}function ti(p,d,l){const v=li(p),w=p.value;le(v,(L,Y)=>{ti(L,w.component?d?d.children.getContext(Y):null:d,l)}),l.canDeactivateChecks.push(new pr(w.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,w))}class oa{}function aa(p){return new oe.y(d=>d.error(p))}class pi{constructor(d,l,v,w,L,Y){this.rootComponentType=d,this.config=l,this.urlTree=v,this.url=w,this.paramsInheritanceStrategy=L,this.relativeLinkResolution=Y}recognize(){const d=Fr(this.urlTree.root,[],[],this.config.filter(Y=>void 0===Y.redirectTo),this.relativeLinkResolution).segmentGroup,l=this.processSegmentGroup(this.config,d,T);if(null===l)return null;const v=new Zi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},T,this.rootComponentType,null,this.urlTree.root,-1,{}),w=new Nr(v,l),L=new Fs(this.url,w);return this.inheritParamsAndData(L._root),L}inheritParamsAndData(d){const l=d.value,v=Yi(l,this.paramsInheritanceStrategy);l.params=Object.freeze(v.params),l.data=Object.freeze(v.data),d.children.forEach(w=>this.inheritParamsAndData(w))}processSegmentGroup(d,l,v){return 0===l.segments.length&&l.hasChildren()?this.processChildren(d,l):this.processSegment(d,l,l.segments,v)}processChildren(d,l){const v=[];for(const L of Object.keys(l.children)){const Y=l.children[L],J=Hs(d,L),_e=this.processSegmentGroup(J,Y,L);if(null===_e)return null;v.push(..._e)}const w=ca(v);return function On(p){p.sort((d,l)=>d.value.outlet===T?-1:l.value.outlet===T?1:d.value.outlet.localeCompare(l.value.outlet))}(w),w}processSegment(d,l,v,w){for(const L of d){const Y=this.processSegmentAgainstRoute(L,l,v,w);if(null!==Y)return Y}return zs(l,v,w)?[]:null}processSegmentAgainstRoute(d,l,v,w){if(d.redirectTo||!Sn(d,l,v,w))return null;let L,Y=[],J=[];if("**"===d.path){const wn=v.length>0?Re(v).parameters:{};L=new Zi(v,wn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Es(d),vr(d),d.component,d,ua(l),da(l)+v.length,Ds(d))}else{const wn=Jn(l,d,v);if(!wn.matched)return null;Y=wn.consumedSegments,J=wn.remainingSegments,L=new Zi(Y,wn.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Es(d),vr(d),d.component,d,ua(l),da(l)+Y.length,Ds(d))}const _e=function la(p){return p.children?p.children:p.loadChildren?p._loadedConfig.routes:[]}(d),{segmentGroup:ut,slicedSegments:ln}=Fr(l,Y,J,_e.filter(wn=>void 0===wn.redirectTo),this.relativeLinkResolution);if(0===ln.length&&ut.hasChildren()){const wn=this.processChildren(_e,ut);return null===wn?null:[new Nr(L,wn)]}if(0===_e.length&&0===ln.length)return[new Nr(L,[])];const Mt=vr(d)===w,_n=this.processSegment(_e,ut,ln,Mt?T:w);return null===_n?null:[new Nr(L,_n)]}}function qa(p){const d=p.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function ca(p){const d=[],l=new Set;for(const v of p){if(!qa(v)){d.push(v);continue}const w=d.find(L=>v.value.routeConfig===L.value.routeConfig);void 0!==w?(w.children.push(...v.children),l.add(w)):d.push(v)}for(const v of l){const w=ca(v.children);d.push(new Nr(v.value,w))}return d.filter(v=>!l.has(v))}function ua(p){let d=p;for(;d._sourceSegment;)d=d._sourceSegment;return d}function da(p){let d=p,l=d._segmentIndexShift?d._segmentIndexShift:0;for(;d._sourceSegment;)d=d._sourceSegment,l+=d._segmentIndexShift?d._segmentIndexShift:0;return l-1}function Es(p){return p.data||{}}function Ds(p){return p.resolve||{}}function Gr(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}function Ks(p){return fe(d=>{const l=p(d);return l?(0,Et.D)(l).pipe((0,we.U)(()=>d)):(0,ye.of)(d)})}class Qs extends class rs{shouldDetach(d){return!1}store(d,l){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,l){return d.routeConfig===l.routeConfig}}{}const qs=new _.OlP("ROUTES");class pa{constructor(d,l,v,w){this.injector=d,this.compiler=l,this.onLoadStartListener=v,this.onLoadEndListener=w}load(d,l){if(l._loader$)return l._loader$;this.onLoadStartListener&&this.onLoadStartListener(l);const w=this.loadModuleFactory(l.loadChildren).pipe((0,we.U)(L=>{this.onLoadEndListener&&this.onLoadEndListener(l);const Y=L.create(d);return new un(yt(Y.injector.get(qs,void 0,_.XFs.Self|_.XFs.Optional)).map(_s),Y)}),(0,rt.K)(L=>{throw l._loader$=void 0,L}));return l._loader$=new Nt.c(w,()=>new R.xQ).pipe((0,Vt.x)()),l._loader$}loadModuleFactory(d){return he(d()).pipe((0,Ke.zg)(l=>l instanceof _.YKP?(0,ye.of)(l):(0,Et.D)(this.compiler.compileModuleAsync(l))))}}class $l{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,l){return d}}function Js(p){throw p}function yo(p,d,l){return d.parse("/")}function Ms(p,d){return(0,ye.of)(null)}const Xs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ga={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let gr=(()=>{class p{constructor(l,v,w,L,Y,J,_e){this.rootComponentType=l,this.urlSerializer=v,this.rootContexts=w,this.location=L,this.config=_e,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new R.xQ,this.errorHandler=Js,this.malformedUriErrorHandler=yo,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ms,afterPreactivation:Ms},this.urlHandlingStrategy=new $l,this.routeReuseStrategy=new Qs,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Y.get(_.h0i),this.console=Y.get(_.c2e);const Mt=Y.get(_.R0b);this.isNgZoneEnabled=Mt instanceof _.R0b&&_.R0b.isInAngularZone(),this.resetConfig(_e),this.currentUrlTree=function Fe(){return new Rn(new At([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new pa(Y,J,_n=>this.triggerEvent(new Yt(_n)),_n=>this.triggerEvent(new Je(_n))),this.routerState=Ns(this.currentUrlTree,this.rootComponentType),this.transitions=new M({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(l){const v=this.events;return l.pipe((0,It.h)(w=>0!==w.id),(0,we.U)(w=>({...w,extractedUrl:this.urlHandlingStrategy.extract(w.rawUrl)})),fe(w=>{let L=!1,Y=!1;return(0,ye.of)(w).pipe(se(J=>{this.currentNavigation={id:J.id,initialUrl:J.currentRawUrl,extractedUrl:J.extractedUrl,trigger:J.source,extras:J.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),fe(J=>{const _e=this.browserUrlTree.toString(),ut=!this.navigated||J.extractedUrl.toString()!==_e||_e!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ut)&&this.urlHandlingStrategy.shouldProcessUrl(J.rawUrl))return _o(J.source)&&(this.browserUrlTree=J.extractedUrl),(0,ye.of)(J).pipe(fe(Mt=>{const _n=this.transitions.getValue();return v.next(new Kt(Mt.id,this.serializeUrl(Mt.extractedUrl),Mt.source,Mt.restoredState)),_n!==this.transitions.getValue()?We:Promise.resolve(Mt)}),function Gs(p,d,l,v){return fe(w=>function Qa(p,d,l,v,w){return new vs(p,d,l,v,w).apply()}(p,d,l,w.extractedUrl,v).pipe((0,we.U)(L=>({...w,urlAfterRedirects:L}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),se(Mt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Mt.urlAfterRedirects}}),function Zs(p,d,l,v,w){return(0,Ke.zg)(L=>function or(p,d,l,v,w="emptyOnly",L="legacy"){try{const Y=new pi(p,d,l,v,w,L).recognize();return null===Y?aa(new oa):(0,ye.of)(Y)}catch(Y){return aa(Y)}}(p,d,L.urlAfterRedirects,l(L.urlAfterRedirects),v,w).pipe((0,we.U)(Y=>({...L,targetSnapshot:Y}))))}(this.rootComponentType,this.config,Mt=>this.serializeUrl(Mt),this.paramsInheritanceStrategy,this.relativeLinkResolution),se(Mt=>{if("eager"===this.urlUpdateStrategy){if(!Mt.extras.skipLocationChange){const wn=this.urlHandlingStrategy.merge(Mt.urlAfterRedirects,Mt.rawUrl);this.setBrowserUrl(wn,Mt)}this.browserUrlTree=Mt.urlAfterRedirects}const _n=new Cn(Mt.id,this.serializeUrl(Mt.extractedUrl),this.serializeUrl(Mt.urlAfterRedirects),Mt.targetSnapshot);v.next(_n)}));if(ut&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:_n,extractedUrl:wn,source:to,restoredState:Ai,extras:ri}=J,Xn=new Kt(_n,this.serializeUrl(wn),to,Ai);v.next(Xn);const Tn=Ns(wn,this.rootComponentType).snapshot;return(0,ye.of)({...J,targetSnapshot:Tn,urlAfterRedirects:wn,extras:{...ri,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=J.rawUrl,J.resolve(null),We}),Ks(J=>{const{targetSnapshot:_e,id:ut,extractedUrl:ln,rawUrl:Mt,extras:{skipLocationChange:_n,replaceUrl:wn}}=J;return this.hooks.beforePreactivation(_e,{navigationId:ut,appliedUrlTree:ln,rawUrlTree:Mt,skipLocationChange:!!_n,replaceUrl:!!wn})}),se(J=>{const _e=new Wt(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot);this.triggerEvent(_e)}),(0,we.U)(J=>({...J,guards:ta(J.targetSnapshot,J.currentSnapshot,this.rootContexts)})),function ho(p,d){return(0,Ke.zg)(l=>{const{targetSnapshot:v,currentSnapshot:w,guards:{canActivateChecks:L,canDeactivateChecks:Y}}=l;return 0===Y.length&&0===L.length?(0,ye.of)({...l,guardsResult:!0}):function fo(p,d,l,v){return(0,Et.D)(p).pipe((0,Ke.zg)(w=>function ws(p,d,l,v,w){const L=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,ye.of)(!0);const Y=L.map(J=>{const _e=Cs(J,d,w);let ut;if(function ui(p){return p&&qt(p.canDeactivate)}(_e))ut=he(_e.canDeactivate(p,d,l,v));else{if(!qt(_e))throw new Error("Invalid CanDeactivate guard");ut=he(_e(p,d,l,v))}return ut.pipe(de())});return(0,ye.of)(Y).pipe(Un())}(w.component,w.route,l,d,v)),de(w=>!0!==w,!0))}(Y,v,w,p).pipe((0,Ke.zg)(J=>J&&function Lt(p){return"boolean"==typeof p}(J)?function bs(p,d,l,v){return(0,Et.D)(d).pipe((0,St.b)(w=>ht(function po(p,d){return null!==p&&d&&d(new jt(p)),(0,ye.of)(!0)}(w.route.parent,v),function ra(p,d){return null!==p&&d&&d(new z(p)),(0,ye.of)(!0)}(w.route,v),function sa(p,d,l){const v=d[d.length-1],L=d.slice(0,d.length-1).reverse().map(Y=>function uo(p){const d=p.routeConfig?p.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:p,guards:d}:null}(Y)).filter(Y=>null!==Y).map(Y=>Te(()=>{const J=Y.guards.map(_e=>{const ut=Cs(_e,Y.node,l);let ln;if(function dn(p){return p&&qt(p.canActivateChild)}(ut))ln=he(ut.canActivateChild(v,p));else{if(!qt(ut))throw new Error("Invalid CanActivateChild guard");ln=he(ut(v,p))}return ln.pipe(de())});return(0,ye.of)(J).pipe(Un())}));return(0,ye.of)(L).pipe(Un())}(p,w.path,l),function ia(p,d,l){const v=d.routeConfig?d.routeConfig.canActivate:null;if(!v||0===v.length)return(0,ye.of)(!0);const w=v.map(L=>Te(()=>{const Y=Cs(L,d,l);let J;if(function hn(p){return p&&qt(p.canActivate)}(Y))J=he(Y.canActivate(d,p));else{if(!qt(Y))throw new Error("Invalid CanActivate guard");J=he(Y(d,p))}return J.pipe(de())}));return(0,ye.of)(w).pipe(Un())}(p,w.route,l))),de(w=>!0!==w,!0))}(v,L,p,d):(0,ye.of)(J)),(0,we.U)(J=>({...l,guardsResult:J})))})}(this.ngModule.injector,J=>this.triggerEvent(J)),se(J=>{if($t(J.guardsResult)){const ut=Se(`Redirecting to "${this.serializeUrl(J.guardsResult)}"`);throw ut.url=J.guardsResult,ut}const _e=new an(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot,!!J.guardsResult);this.triggerEvent(_e)}),(0,It.h)(J=>!!J.guardsResult||(this.restoreHistory(J),this.cancelNavigationTransition(J,""),!1)),Ks(J=>{if(J.guards.canActivateChecks.length)return(0,ye.of)(J).pipe(se(_e=>{const ut=new dt(_e.id,this.serializeUrl(_e.extractedUrl),this.serializeUrl(_e.urlAfterRedirects),_e.targetSnapshot);this.triggerEvent(ut)}),fe(_e=>{let ut=!1;return(0,ye.of)(_e).pipe(function go(p,d){return(0,Ke.zg)(l=>{const{targetSnapshot:v,guards:{canActivateChecks:w}}=l;if(!w.length)return(0,ye.of)(l);let L=0;return(0,Et.D)(w).pipe((0,St.b)(Y=>function mo(p,d,l,v){return function ha(p,d,l,v){const w=Gr(p);if(0===w.length)return(0,ye.of)({});const L={};return(0,Et.D)(w).pipe((0,Ke.zg)(Y=>function ns(p,d,l,v){const w=Cs(p,d,v);return he(w.resolve?w.resolve(d,l):w(d,l))}(p[Y],d,l,v).pipe(se(J=>{L[Y]=J}))),lr(1),(0,Ke.zg)(()=>Gr(L).length===w.length?(0,ye.of)(L):We))}(p._resolve,p,d,v).pipe((0,we.U)(L=>(p._resolvedData=L,p.data={...p.data,...Yi(p,l).resolve},null)))}(Y.route,v,p,d)),se(()=>L++),lr(1),(0,Ke.zg)(Y=>L===w.length?(0,ye.of)(l):We))})}(this.paramsInheritanceStrategy,this.ngModule.injector),se({next:()=>ut=!0,complete:()=>{ut||(this.restoreHistory(_e),this.cancelNavigationTransition(_e,"At least one route resolver didn't emit any value."))}}))}),se(_e=>{const ut=new tt(_e.id,this.serializeUrl(_e.extractedUrl),this.serializeUrl(_e.urlAfterRedirects),_e.targetSnapshot);this.triggerEvent(ut)}))}),Ks(J=>{const{targetSnapshot:_e,id:ut,extractedUrl:ln,rawUrl:Mt,extras:{skipLocationChange:_n,replaceUrl:wn}}=J;return this.hooks.afterPreactivation(_e,{navigationId:ut,appliedUrlTree:ln,rawUrlTree:Mt,skipLocationChange:!!_n,replaceUrl:!!wn})}),(0,we.U)(J=>{const _e=function qo(p,d,l){const v=Hr(p,d._root,l?l._root:void 0);return new Ti(v,d)}(this.routeReuseStrategy,J.targetSnapshot,J.currentRouterState);return{...J,targetRouterState:_e}}),se(J=>{this.currentUrlTree=J.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(J.urlAfterRedirects,J.rawUrl),this.routerState=J.targetRouterState,"deferred"===this.urlUpdateStrategy&&(J.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,J),this.browserUrlTree=J.urlAfterRedirects)}),((p,d,l)=>(0,we.U)(v=>(new Be(d,v.targetRouterState,v.currentRouterState,l).activate(p),v)))(this.rootContexts,this.routeReuseStrategy,J=>this.triggerEvent(J)),se({next(){L=!0},complete(){L=!0}}),function je(p){return d=>d.lift(new vt(p))}(()=>{L||Y||this.cancelNavigationTransition(w,`Navigation ID ${w.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===w.id&&(this.currentNavigation=null)}),(0,rt.K)(J=>{if(Y=!0,function ke(p){return p&&p[Ve]}(J)){const _e=$t(J.url);_e||(this.navigated=!0,this.restoreHistory(w,!0));const ut=new Tt(w.id,this.serializeUrl(w.extractedUrl),J.message);v.next(ut),_e?setTimeout(()=>{const ln=this.urlHandlingStrategy.merge(J.url,this.rawUrlTree),Mt={skipLocationChange:w.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||_o(w.source)};this.scheduleNavigation(ln,"imperative",null,Mt,{resolve:w.resolve,reject:w.reject,promise:w.promise})},0):w.resolve(!1)}else{this.restoreHistory(w,!0);const _e=new Ue(w.id,this.serializeUrl(w.extractedUrl),J);v.next(_e);try{w.resolve(this.errorHandler(J))}catch(ut){w.reject(ut)}}return We}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next({...this.transitions.value,...l})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const v="popstate"===l.type?"popstate":"hashchange";"popstate"===v&&setTimeout(()=>{const w={replaceUrl:!0},L=l.state?.navigationId?l.state:null;if(L){const J={...L};delete J.navigationId,delete J.\u0275routerPageId,0!==Object.keys(J).length&&(w.state=J)}const Y=this.parseUrl(l.url);this.scheduleNavigation(Y,v,L,w)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){Vs(l),this.config=l.map(_s),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(l,v={}){const{relativeTo:w,queryParams:L,fragment:Y,queryParamsHandling:J,preserveFragment:_e}=v,ut=w||this.routerState.root,ln=_e?this.currentUrlTree.fragment:Y;let Mt=null;switch(J){case"merge":Mt={...this.currentUrlTree.queryParams,...L};break;case"preserve":Mt=this.currentUrlTree.queryParams;break;default:Mt=L||null}return null!==Mt&&(Mt=this.removeEmptyProps(Mt)),function ks(p,d,l,v,w){if(0===l.length)return Ls(d.root,d.root,d.root,v,w);const L=function Bs(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new js(!0,0,p);let d=0,l=!1;const v=p.reduce((w,L,Y)=>{if("object"==typeof L&&null!=L){if(L.outlets){const J={};return le(L.outlets,(_e,ut)=>{J[ut]="string"==typeof _e?_e.split("/"):_e}),[...w,{outlets:J}]}if(L.segmentPath)return[...w,L.segmentPath]}return"string"!=typeof L?[...w,L]:0===Y?(L.split("/").forEach((J,_e)=>{0==_e&&"."===J||(0==_e&&""===J?l=!0:".."===J?d++:""!=J&&w.push(J))}),w):[...w,L]},[]);return new js(l,d,v)}(l);if(L.toRoot())return Ls(d.root,d.root,new At([],{}),v,w);const Y=function Xi(p,d,l){if(p.isAbsolute)return new Ji(d.root,!0,0);if(-1===l.snapshot._lastPathIndex){const L=l.snapshot._urlSegment;return new Ji(L,L===d.root,0)}const v=$r(p.commands[0])?0:1;return function es(p,d,l){let v=p,w=d,L=l;for(;L>w;){if(L-=w,v=v.parent,!v)throw new Error("Invalid number of '../'");w=v.segments.length}return new Ji(v,!1,w-L)}(l.snapshot._urlSegment,l.snapshot._lastPathIndex+v,p.numberOfDoubleDots)}(L,d,p),J=Y.processChildren?Oi(Y.segmentGroup,Y.index,L.commands):xi(Y.segmentGroup,Y.index,L.commands);return Ls(d.root,Y.segmentGroup,J,v,w)}(ut,this.currentUrlTree,l,Mt,ln??null)}navigateByUrl(l,v={skipLocationChange:!1}){const w=$t(l)?l:this.parseUrl(l),L=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(L,"imperative",null,v)}navigate(l,v={skipLocationChange:!1}){return function is(p){for(let d=0;d<p.length;d++){const l=p[d];if(null==l)throw new Error(`The requested path contains ${l} segment at index ${d}`)}}(l),this.navigateByUrl(this.createUrlTree(l,v),v)}serializeUrl(l){return this.urlSerializer.serialize(l)}parseUrl(l){let v;try{v=this.urlSerializer.parse(l)}catch(w){v=this.malformedUriErrorHandler(w,this.urlSerializer,l)}return v}isActive(l,v){let w;if(w=!0===v?{...Xs}:!1===v?{...ga}:v,$t(l))return Dt(this.currentUrlTree,l,w);const L=this.parseUrl(l);return Dt(this.currentUrlTree,L,w)}removeEmptyProps(l){return Object.keys(l).reduce((v,w)=>{const L=l[w];return null!=L&&(v[w]=L),v},{})}processNavigations(){this.navigations.subscribe(l=>{this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new pt(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,v,w,L,Y){if(this.disposed)return Promise.resolve(!1);let J,_e,ut;Y?(J=Y.resolve,_e=Y.reject,ut=Y.promise):ut=new Promise((_n,wn)=>{J=_n,_e=wn});const ln=++this.navigationId;let Mt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(w=this.location.getState()),Mt=w&&w.\u0275routerPageId?w.\u0275routerPageId:L.replaceUrl||L.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Mt=0,this.setTransition({id:ln,targetPageId:Mt,source:v,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:L,resolve:J,reject:_e,promise:ut,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ut.catch(_n=>Promise.reject(_n))}setBrowserUrl(l,v){const w=this.urlSerializer.serialize(l),L={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(w)||v.extras.replaceUrl?this.location.replaceState(w,"",L):this.location.go(w,"",L)}restoreHistory(l,v=!1){if("computed"===this.canceledNavigationResolution){const w=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===w?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===w&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(w)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,v){const w=new Tt(l.id,this.serializeUrl(l.extractedUrl),v);this.triggerEvent(w),l.resolve(!1)}generateNgRouterState(l,v){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:v}:{navigationId:l}}}return p.\u0275fac=function(l){_.$Z()},p.\u0275prov=_.Yz7({token:p,factory:p.\u0275fac}),p})();function _o(p){return"imperative"!==p}class vo{}class ya{preload(d,l){return(0,ye.of)(null)}}let ss=(()=>{class p{constructor(l,v,w,L){this.router=l,this.injector=w,this.preloadingStrategy=L,this.loader=new pa(w,v,_e=>l.triggerEvent(new Yt(_e)),_e=>l.triggerEvent(new Je(_e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,It.h)(l=>l instanceof pt),(0,St.b)(()=>this.preload())).subscribe(()=>{})}preload(){const l=this.injector.get(_.h0i);return this.processRoutes(l,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,v){const w=[];for(const L of v)if(L.loadChildren&&!L.canLoad&&L._loadedConfig){const Y=L._loadedConfig;w.push(this.processRoutes(Y.module,Y.routes))}else L.loadChildren&&!L.canLoad?w.push(this.preloadConfig(l,L)):L.children&&w.push(this.processRoutes(l,L.children));return(0,Et.D)(w).pipe((0,wt.J)(),(0,we.U)(L=>{}))}preloadConfig(l,v){return this.preloadingStrategy.preload(v,()=>(v._loadedConfig?(0,ye.of)(v._loadedConfig):this.loader.load(l.injector,v)).pipe((0,Ke.zg)(L=>(v._loadedConfig=L,this.processRoutes(L.module,L.routes)))))}}return p.\u0275fac=function(l){return new(l||p)(_.LFG(gr),_.LFG(_.Sil),_.LFG(_.zs3),_.LFG(vo))},p.\u0275prov=_.Yz7({token:p,factory:p.\u0275fac}),p})(),Ts=(()=>{class p{constructor(l,v,w={}){this.router=l,this.viewportScroller=v,this.options=w,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},w.scrollPositionRestoration=w.scrollPositionRestoration||"disabled",w.anchorScrolling=w.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(l=>{l instanceof Kt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof pt&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof j&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,v){this.router.triggerEvent(new j(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return p.\u0275fac=function(l){_.$Z()},p.\u0275prov=_.Yz7({token:p,factory:p.\u0275fac}),p})();const Nn=new _.OlP("ROUTER_CONFIGURATION"),pn=new _.OlP("ROUTER_FORROOT_GUARD"),Wr=[u.Ye,{provide:hr,useClass:on},{provide:gr,useFactory:function xs(p,d,l,v,w,L,Y={},J,_e){const ut=new gr(null,p,d,l,v,w,yt(L));return J&&(ut.urlHandlingStrategy=J),_e&&(ut.routeReuseStrategy=_e),function Os(p,d){p.errorHandler&&(d.errorHandler=p.errorHandler),p.malformedUriErrorHandler&&(d.malformedUriErrorHandler=p.malformedUriErrorHandler),p.onSameUrlNavigation&&(d.onSameUrlNavigation=p.onSameUrlNavigation),p.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=p.paramsInheritanceStrategy),p.relativeLinkResolution&&(d.relativeLinkResolution=p.relativeLinkResolution),p.urlUpdateStrategy&&(d.urlUpdateStrategy=p.urlUpdateStrategy),p.canceledNavigationResolution&&(d.canceledNavigationResolution=p.canceledNavigationResolution)}(Y,ut),Y.enableTracing&&ut.events.subscribe(ln=>{console.group?.(`Router Event: ${ln.constructor.name}`),console.log(ln.toString()),console.log(ln),console.groupEnd?.()}),ut},deps:[hr,Sr,u.Ye,_.zs3,_.Sil,qs,Nn,[class Hl{},new _.FiY],[class fa{},new _.FiY]]},Sr,{provide:Vr,useFactory:function Xa(p){return p.routerState.root},deps:[gr]},ss,ya,class Ja{preload(d,l){return l().pipe((0,rt.K)(()=>(0,ye.of)(null)))}},{provide:Nn,useValue:{enableTracing:!1}}];function Ps(){return new _.PXZ("Router",gr)}let va=(()=>{class p{constructor(l,v){}static forRoot(l,v){return{ngModule:p,providers:[Wr,bo(l),{provide:pn,useFactory:Ca,deps:[[gr,new _.FiY,new _.tp0]]},{provide:Nn,useValue:v||{}},{provide:u.S$,useFactory:Co,deps:[u.lw,[new _.tBr(u.mr),new _.FiY],Nn]},{provide:Ts,useFactory:Pr,deps:[gr,u.EM,Nn]},{provide:vo,useExisting:v&&v.preloadingStrategy?v.preloadingStrategy:ya},{provide:_.PXZ,multi:!0,useFactory:Ps},[eo,{provide:_.ip1,multi:!0,useFactory:ba,deps:[eo]},{provide:wa,useFactory:os,deps:[eo]},{provide:_.tb,multi:!0,useExisting:wa}]]}}static forChild(l){return{ngModule:p,providers:[bo(l)]}}}return p.\u0275fac=function(l){return new(l||p)(_.LFG(pn,8),_.LFG(gr,8))},p.\u0275mod=_.oAB({type:p}),p.\u0275inj=_.cJS({}),p})();function Pr(p,d,l){return l.scrollOffset&&d.setOffset(l.scrollOffset),new Ts(p,d,l)}function Co(p,d,l={}){return l.useHash?new u.Do(p,d):new u.b0(p,d)}function Ca(p){return"guarded"}function bo(p){return[{provide:_.deG,multi:!0,useValue:p},{provide:qs,multi:!0,useValue:p}]}let eo=(()=>{class p{constructor(l){this.injector=l,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new R.xQ}appInitializer(){return this.injector.get(u.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let v=null;const w=new Promise(J=>v=J),L=this.injector.get(gr),Y=this.injector.get(Nn);return"disabled"===Y.initialNavigation?(L.setUpLocationChangeListener(),v(!0)):"enabled"===Y.initialNavigation||"enabledBlocking"===Y.initialNavigation?(L.hooks.afterPreactivation=()=>this.initNavigation?(0,ye.of)(null):(this.initNavigation=!0,v(!0),this.resultOfPreactivationDone),L.initialNavigation()):v(!0),w})}bootstrapListener(l){const v=this.injector.get(Nn),w=this.injector.get(ss),L=this.injector.get(Ts),Y=this.injector.get(gr),J=this.injector.get(_.z2F);l===J.components[0]&&(("enabledNonBlocking"===v.initialNavigation||void 0===v.initialNavigation)&&Y.initialNavigation(),w.setUpPreloading(),L.init(),Y.resetRootComponentType(J.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return p.\u0275fac=function(l){return new(l||p)(_.LFG(_.zs3))},p.\u0275prov=_.Yz7({token:p,factory:p.\u0275fac}),p})();function ba(p){return p.appInitializer.bind(p)}function os(p){return p.bootstrapListener.bind(p)}const wa=new _.OlP("Router Initializer")},802:(B,S,m)=>{"use strict";m.d(S,{au:()=>Wt,A4:()=>jt});var u=m(6738),_=m(6895),R=m(1086),I=m(2916),M=m(1406),P=m(2198),N=m(4850);class F{}class H{}class O{constructor(z){this.normalizedNames=new Map,this.lazyUpdate=null,z?this.lazyInit="string"==typeof z?()=>{this.headers=new Map,z.split("\n").forEach(x=>{const j=x.indexOf(":");if(j>0){const T=x.slice(0,j),te=T.toLowerCase(),me=x.slice(j+1).trim();this.maybeSetNormalizedName(T,te),this.headers.has(te)?this.headers.get(te).push(me):this.headers.set(te,[me])}})}:()=>{this.headers=new Map,Object.keys(z).forEach(x=>{let j=z[x];const T=x.toLowerCase();"string"==typeof j&&(j=[j]),j.length>0&&(this.headers.set(T,j),this.maybeSetNormalizedName(x,T))})}:this.headers=new Map}has(z){return this.init(),this.headers.has(z.toLowerCase())}get(z){this.init();const x=this.headers.get(z.toLowerCase());return x&&x.length>0?x[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(z){return this.init(),this.headers.get(z.toLowerCase())||null}append(z,x){return this.clone({name:z,value:x,op:"a"})}set(z,x){return this.clone({name:z,value:x,op:"s"})}delete(z,x){return this.clone({name:z,value:x,op:"d"})}maybeSetNormalizedName(z,x){this.normalizedNames.has(x)||this.normalizedNames.set(x,z)}init(){this.lazyInit&&(this.lazyInit instanceof O?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(z=>this.applyUpdate(z)),this.lazyUpdate=null))}copyFrom(z){z.init(),Array.from(z.headers.keys()).forEach(x=>{this.headers.set(x,z.headers.get(x)),this.normalizedNames.set(x,z.normalizedNames.get(x))})}clone(z){const x=new O;return x.lazyInit=this.lazyInit&&this.lazyInit instanceof O?this.lazyInit:this,x.lazyUpdate=(this.lazyUpdate||[]).concat([z]),x}applyUpdate(z){const x=z.name.toLowerCase();switch(z.op){case"a":case"s":let j=z.value;if("string"==typeof j&&(j=[j]),0===j.length)return;this.maybeSetNormalizedName(z.name,x);const T=("a"===z.op?this.headers.get(x):void 0)||[];T.push(...j),this.headers.set(x,T);break;case"d":const te=z.value;if(te){let me=this.headers.get(x);if(!me)return;me=me.filter(Ve=>-1===te.indexOf(Ve)),0===me.length?(this.headers.delete(x),this.normalizedNames.delete(x)):this.headers.set(x,me)}else this.headers.delete(x),this.normalizedNames.delete(x)}}forEach(z){this.init(),Array.from(this.normalizedNames.keys()).forEach(x=>z(this.normalizedNames.get(x),this.headers.get(x)))}}class ${encodeKey(z){return oe(z)}encodeValue(z){return oe(z)}decodeKey(z){return decodeURIComponent(z)}decodeValue(z){return decodeURIComponent(z)}}const re=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function oe(ee){return encodeURIComponent(ee).replace(re,(z,x)=>ie[x]??z)}function ue(ee){return`${ee}`}class Ae{constructor(z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=z.encoder||new $,z.fromString){if(z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function W(ee,z){const x=new Map;return ee.length>0&&ee.replace(/^\?/,"").split("&").forEach(T=>{const te=T.indexOf("="),[me,Ve]=-1==te?[z.decodeKey(T),""]:[z.decodeKey(T.slice(0,te)),z.decodeValue(T.slice(te+1))],Se=x.get(me)||[];Se.push(Ve),x.set(me,Se)}),x}(z.fromString,this.encoder)}else z.fromObject?(this.map=new Map,Object.keys(z.fromObject).forEach(x=>{const j=z.fromObject[x];this.map.set(x,Array.isArray(j)?j:[j])})):this.map=null}has(z){return this.init(),this.map.has(z)}get(z){this.init();const x=this.map.get(z);return x?x[0]:null}getAll(z){return this.init(),this.map.get(z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(z,x){return this.clone({param:z,value:x,op:"a"})}appendAll(z){const x=[];return Object.keys(z).forEach(j=>{const T=z[j];Array.isArray(T)?T.forEach(te=>{x.push({param:j,value:te,op:"a"})}):x.push({param:j,value:T,op:"a"})}),this.clone(x)}set(z,x){return this.clone({param:z,value:x,op:"s"})}delete(z,x){return this.clone({param:z,value:x,op:"d"})}toString(){return this.init(),this.keys().map(z=>{const x=this.encoder.encodeKey(z);return this.map.get(z).map(j=>x+"="+this.encoder.encodeValue(j)).join("&")}).filter(z=>""!==z).join("&")}clone(z){const x=new Ae({encoder:this.encoder});return x.cloneFrom=this.cloneFrom||this,x.updates=(this.updates||[]).concat(z),x}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(z=>this.map.set(z,this.cloneFrom.map.get(z))),this.updates.forEach(z=>{switch(z.op){case"a":case"s":const x=("a"===z.op?this.map.get(z.param):void 0)||[];x.push(ue(z.value)),this.map.set(z.param,x);break;case"d":if(void 0===z.value){this.map.delete(z.param);break}{let j=this.map.get(z.param)||[];const T=j.indexOf(ue(z.value));-1!==T&&j.splice(T,1),j.length>0?this.map.set(z.param,j):this.map.delete(z.param)}}}),this.cloneFrom=this.updates=null)}}class Oe{constructor(){this.map=new Map}set(z,x){return this.map.set(z,x),this}get(z){return this.map.has(z)||this.map.set(z,z.defaultValue()),this.map.get(z)}delete(z){return this.map.delete(z),this}has(z){return this.map.has(z)}keys(){return this.map.keys()}}function wt(ee){return typeof ArrayBuffer<"u"&&ee instanceof ArrayBuffer}function nn(ee){return typeof Blob<"u"&&ee instanceof Blob}function ht(ee){return typeof FormData<"u"&&ee instanceof FormData}class We{constructor(z,x,j,T){let te;if(this.url=x,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=z.toUpperCase(),function ye(ee){switch(ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||T?(this.body=void 0!==j?j:null,te=T):te=j,te&&(this.reportProgress=!!te.reportProgress,this.withCredentials=!!te.withCredentials,te.responseType&&(this.responseType=te.responseType),te.headers&&(this.headers=te.headers),te.context&&(this.context=te.context),te.params&&(this.params=te.params)),this.headers||(this.headers=new O),this.context||(this.context=new Oe),this.params){const me=this.params.toString();if(0===me.length)this.urlWithParams=x;else{const Ve=x.indexOf("?");this.urlWithParams=x+(-1===Ve?"?":Ve<x.length-1?"&":"")+me}}else this.params=new Ae,this.urlWithParams=x}serializeBody(){return null===this.body?null:wt(this.body)||nn(this.body)||ht(this.body)||function Et(ee){return typeof URLSearchParams<"u"&&ee instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ae?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||ht(this.body)?null:nn(this.body)?this.body.type||null:wt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ae?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(z={}){const x=z.method||this.method,j=z.url||this.url,T=z.responseType||this.responseType,te=void 0!==z.body?z.body:this.body,me=void 0!==z.withCredentials?z.withCredentials:this.withCredentials,Ve=void 0!==z.reportProgress?z.reportProgress:this.reportProgress;let Se=z.headers||this.headers,ke=z.params||this.params;const K=z.context??this.context;return void 0!==z.setHeaders&&(Se=Object.keys(z.setHeaders).reduce((pe,Ze)=>pe.set(Ze,z.setHeaders[Ze]),Se)),z.setParams&&(ke=Object.keys(z.setParams).reduce((pe,Ze)=>pe.set(Ze,z.setParams[Ze]),ke)),new We(x,j,te,{params:ke,headers:Se,context:K,reportProgress:Ve,responseType:T,withCredentials:me})}}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 Gt{constructor(z,x=200,j="OK"){this.headers=z.headers||new O,this.status=void 0!==z.status?z.status:x,this.statusText=z.statusText||j,this.url=z.url||null,this.ok=this.status>=200&&this.status<300}}class Te extends Gt{constructor(z={}){super(z),this.type=ct.ResponseHeader}clone(z={}){return new Te({headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class Nt extends Gt{constructor(z={}){super(z),this.type=ct.Response,this.body=void 0!==z.body?z.body:null}clone(z={}){return new Nt({body:void 0!==z.body?z.body:this.body,headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class Xe extends Gt{constructor(z){super(z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${z.url||"(unknown url)"}`:`Http failure response for ${z.url||"(unknown url)"}: ${z.status} ${z.statusText}`,this.error=z.error||null}}function we(ee,z){return{body:z,headers:ee.headers,context:ee.context,observe:ee.observe,params:ee.params,reportProgress:ee.reportProgress,responseType:ee.responseType,withCredentials:ee.withCredentials}}let fe=(()=>{class ee{constructor(x){this.handler=x}request(x,j,T={}){let te;if(x instanceof We)te=x;else{let Se,ke;Se=T.headers instanceof O?T.headers:new O(T.headers),T.params&&(ke=T.params instanceof Ae?T.params:new Ae({fromObject:T.params})),te=new We(x,j,void 0!==T.body?T.body:null,{headers:Se,context:T.context,params:ke,reportProgress:T.reportProgress,responseType:T.responseType||"json",withCredentials:T.withCredentials})}const me=(0,R.of)(te).pipe((0,M.b)(Se=>this.handler.handle(Se)));if(x instanceof We||"events"===T.observe)return me;const Ve=me.pipe((0,P.h)(Se=>Se instanceof Nt));switch(T.observe||"body"){case"body":switch(te.responseType){case"arraybuffer":return Ve.pipe((0,N.U)(Se=>{if(null!==Se.body&&!(Se.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Se.body}));case"blob":return Ve.pipe((0,N.U)(Se=>{if(null!==Se.body&&!(Se.body instanceof Blob))throw new Error("Response is not a Blob.");return Se.body}));case"text":return Ve.pipe((0,N.U)(Se=>{if(null!==Se.body&&"string"!=typeof Se.body)throw new Error("Response is not a string.");return Se.body}));default:return Ve.pipe((0,N.U)(Se=>Se.body))}case"response":return Ve;default:throw new Error(`Unreachable: unhandled observe type ${T.observe}}`)}}delete(x,j={}){return this.request("DELETE",x,j)}get(x,j={}){return this.request("GET",x,j)}head(x,j={}){return this.request("HEAD",x,j)}jsonp(x,j){return this.request("JSONP",x,{params:(new Ae).append(j,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(x,j={}){return this.request("OPTIONS",x,j)}patch(x,j,T={}){return this.request("PATCH",x,we(T,j))}post(x,j,T={}){return this.request("POST",x,we(T,j))}put(x,j,T={}){return this.request("PUT",x,we(T,j))}}return ee.\u0275fac=function(x){return new(x||ee)(u.LFG(F))},ee.\u0275prov=u.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class ae{constructor(z,x){this.next=z,this.interceptor=x}handle(z){return this.interceptor.intercept(z,this.next)}}const Pe=new u.OlP("HTTP_INTERCEPTORS");let st=(()=>{class ee{intercept(x,j){return j.handle(x)}}return ee.\u0275fac=function(x){return new(x||ee)},ee.\u0275prov=u.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const Ht=/^\)\]\}',?\n/;let lr=(()=>{class ee{constructor(x){this.xhrFactory=x}handle(x){if("JSONP"===x.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new I.y(j=>{const T=this.xhrFactory.build();if(T.open(x.method,x.urlWithParams),x.withCredentials&&(T.withCredentials=!0),x.headers.forEach(($e,yt)=>T.setRequestHeader($e,yt.join(","))),x.headers.has("Accept")||T.setRequestHeader("Accept","application/json, text/plain, */*"),!x.headers.has("Content-Type")){const $e=x.detectContentTypeHeader();null!==$e&&T.setRequestHeader("Content-Type",$e)}if(x.responseType){const $e=x.responseType.toLowerCase();T.responseType="json"!==$e?$e:"text"}const te=x.serializeBody();let me=null;const Ve=()=>{if(null!==me)return me;const $e=T.statusText||"OK",yt=new O(T.getAllResponseHeaders()),Re=function It(ee){return"responseURL"in ee&&ee.responseURL?ee.responseURL:/^X-Request-URL:/m.test(ee.getAllResponseHeaders())?ee.getResponseHeader("X-Request-URL"):null}(T)||x.url;return me=new Te({headers:yt,status:T.status,statusText:$e,url:Re}),me},Se=()=>{let{headers:$e,status:yt,statusText:Re,url:Le}=Ve(),le=null;204!==yt&&(le=typeof T.response>"u"?T.responseText:T.response),0===yt&&(yt=le?200:0);let he=yt>=200&&yt<300;if("json"===x.responseType&&"string"==typeof le){const Fe=le;le=le.replace(Ht,"");try{le=""!==le?JSON.parse(le):null}catch(Ge){le=Fe,he&&(he=!1,le={error:Ge,text:le})}}he?(j.next(new Nt({body:le,headers:$e,status:yt,statusText:Re,url:Le||void 0})),j.complete()):j.error(new Xe({error:le,headers:$e,status:yt,statusText:Re,url:Le||void 0}))},ke=$e=>{const{url:yt}=Ve(),Re=new Xe({error:$e,status:T.status||0,statusText:T.statusText||"Unknown Error",url:yt||void 0});j.error(Re)};let K=!1;const pe=$e=>{K||(j.next(Ve()),K=!0);let yt={type:ct.DownloadProgress,loaded:$e.loaded};$e.lengthComputable&&(yt.total=$e.total),"text"===x.responseType&&!!T.responseText&&(yt.partialText=T.responseText),j.next(yt)},Ze=$e=>{let yt={type:ct.UploadProgress,loaded:$e.loaded};$e.lengthComputable&&(yt.total=$e.total),j.next(yt)};return T.addEventListener("load",Se),T.addEventListener("error",ke),T.addEventListener("timeout",ke),T.addEventListener("abort",ke),x.reportProgress&&(T.addEventListener("progress",pe),null!==te&&T.upload&&T.upload.addEventListener("progress",Ze)),T.send(te),j.next({type:ct.Sent}),()=>{T.removeEventListener("error",ke),T.removeEventListener("abort",ke),T.removeEventListener("load",Se),T.removeEventListener("timeout",ke),x.reportProgress&&(T.removeEventListener("progress",pe),null!==te&&T.upload&&T.upload.removeEventListener("progress",Ze)),T.readyState!==T.DONE&&T.abort()}})}}return ee.\u0275fac=function(x){return new(x||ee)(u.LFG(_.JF))},ee.\u0275prov=u.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const Br=new u.OlP("XSRF_COOKIE_NAME"),Ar=new u.OlP("XSRF_HEADER_NAME");class gn{}let Rr=(()=>{class ee{constructor(x,j,T){this.doc=x,this.platform=j,this.cookieName=T,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const x=this.doc.cookie||"";return x!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,_.Mx)(x,this.cookieName),this.lastCookieString=x),this.lastToken}}return ee.\u0275fac=function(x){return new(x||ee)(u.LFG(_.K0),u.LFG(u.Lbi),u.LFG(Br))},ee.\u0275prov=u.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),Kn=(()=>{class ee{constructor(x,j){this.tokenService=x,this.headerName=j}intercept(x,j){const T=x.url.toLowerCase();if("GET"===x.method||"HEAD"===x.method||T.startsWith("http://")||T.startsWith("https://"))return j.handle(x);const te=this.tokenService.getToken();return null!==te&&!x.headers.has(this.headerName)&&(x=x.clone({headers:x.headers.set(this.headerName,te)})),j.handle(x)}}return ee.\u0275fac=function(x){return new(x||ee)(u.LFG(gn),u.LFG(Ar))},ee.\u0275prov=u.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),cr=(()=>{class ee{constructor(x,j){this.backend=x,this.injector=j,this.chain=null}handle(x){if(null===this.chain){const j=this.injector.get(Pe,[]);this.chain=j.reduceRight((T,te)=>new ae(T,te),this.backend)}return this.chain.handle(x)}}return ee.\u0275fac=function(x){return new(x||ee)(u.LFG(H),u.LFG(u.zs3))},ee.\u0275prov=u.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),kn=(()=>{class ee{static disable(){return{ngModule:ee,providers:[{provide:Kn,useClass:st}]}}static withOptions(x={}){return{ngModule:ee,providers:[x.cookieName?{provide:Br,useValue:x.cookieName}:[],x.headerName?{provide:Ar,useValue:x.headerName}:[]]}}}return ee.\u0275fac=function(x){return new(x||ee)},ee.\u0275mod=u.oAB({type:ee}),ee.\u0275inj=u.cJS({providers:[Kn,{provide:Pe,useExisting:Kn,multi:!0},{provide:gn,useClass:Rr},{provide:Br,useValue:"XSRF-TOKEN"},{provide:Ar,useValue:"X-XSRF-TOKEN"}]}),ee})(),ur=(()=>{class ee{}return ee.\u0275fac=function(x){return new(x||ee)},ee.\u0275mod=u.oAB({type:ee}),ee.\u0275inj=u.cJS({providers:[fe,{provide:F,useClass:cr},lr,{provide:H,useExisting:lr}],imports:[[kn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ee})();const He={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 De{constructor(z){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=z.protocol;let x=z.port;x||(function Ce(ee){return/^https:$/i.test(ee)}(this.protocol)?x="443":function ve(ee){return/^http:$/i.test(ee)}(this.protocol)&&(x="80")),this.domain=z.hostname,this.port=parseInt(x,10),this.path=z.pathname;const j=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?He[2087]:/^cpanel\./.test(this.domain)?He[2083]:/^webmail\./.test(this.domain)?He[2095]:He[x.toString()]||He[j[2]]||"whostmgr",this.securityToken=j[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const te=this.path.split("/");this.theme=te[3]}this.themePath="";let T=this.securityToken+"/";this.isUnprotected?T="/":this.isCpanel?T+="frontend/"+this.theme+"/":this.isWebmail?T+="webmail/"+this.theme+"/":this.isOther&&(T="/"),this.themePath=T,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 se(ee){return ee&&ee.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(z){return this.themePath+z}buildFullPath(z){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(z)}buildTokenPath(z){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+z}}class je{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 vt=m(4235),et=m.n(vt),rt=m(1305),St=m.n(rt),Ke=(()=>{return(ee=Ke||(Ke={}))[ee.Error=0]="Error",ee[ee.Warning=1]="Warning",ee[ee.Information=2]="Information",ee[ee.Unknown=3]="Unknown",Ke;var ee})();const Vt={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class pt{constructor(z){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={},z.chunk&&(this.isPaged=!0,this.record=parseInt(z.chunk.start,10)||0,this.page=parseInt(z.chunk.current,10)||0,this.pageSize=parseInt(z.chunk.size,10)||0,this.totalPages=parseInt(z.chunk.chunks,10)||0,this.totalRecords=parseInt(z.chunk.records,10)||0),z.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(z.filter.filtered,10)||0);const x=new Set(["paginate","filter"]);Object.keys(z).filter(j=>!x.has(j)).forEach(j=>{this.properties[j]=z[j]})}}class Tt extends class Kt{constructor(z,x){if(this.status=0,this.messages=[],this.meta=function at(ee){return JSON.parse(JSON.stringify(ee))}(Vt),this.options={keepUnprocessedResponse:!1},et()(z)||St()(z))throw new Error("The response was unexpectedly undefined or null");x&&(this.options=x),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(z)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(z){return this.messages.filter(x=>x.type===z)}get errors(){return this._getMessages(Ke.Error)}get warnings(){return this._getMessages(Ke.Warning)}get infoMessages(){return this._getMessages(Ke.Information)}_hasMessages(z){return this.messages.filter(x=>x.type===z).length>0}get hasErrors(){return this._hasMessages(Ke.Error)}get hasWarnings(){return this._hasMessages(Ke.Warning)}get hasInfoMessages(){return this._hasMessages(Ke.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(z){if(this.status=0,typeof z.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(z.result,10)}_parseMessages(z){if(!z.result){const x=[z.reason];x&&x.length&&x.forEach(j=>{this.messages.push({type:Ke.Error,message:j})})}}_reduce_list_data(z){if("object"==typeof z&&!(z instanceof Array)){const x=Object.keys(z);if(1===x.length){const j=z[x[0]];j?j instanceof Array&&(z=j):z=[]}}return z}constructor(z,x){if(super(z,x),!z)throw new Error("Response object should be defined.");z.metadata&&(this._parseStatus(z.metadata),this._parseMessages(z.metadata),this.meta=new pt(z.metadata)),this.data=this._reduce_list_data(z.data)}}var Ue=m(109),Cn=m(3022);let Wt=(()=>{class ee{}return ee.\u0275fac=function(x){return new(x||ee)},ee.\u0275mod=u.oAB({type:ee}),ee.\u0275inj=u.cJS({imports:[[ur]]}),ee})(),jt=(()=>{class ee{constructor(x){this.http=x}get(x){const j=x.generate({verb:Ue.F.GET,encoder:new Cn.VN}),T=this.packageUrl(j);return this.http.get(T,{headers:this.packageHeaders(j)}).pipe((0,N.U)(this.packageResponseHandler(T)))}post(x){const j=x.generate(),T=this.packageUrl(j);return this.http.post(T,j.body,{headers:this.packageHeaders(j)}).pipe((0,N.U)(this.packageResponseHandler(T)))}packageHeaders(x){const j={};return x.headers.forEach(T=>{j[T.name]=T.value}),new O(j)}packageUrl(x){return new De(new je).buildTokenPath(x.url)}packageResponseHandler(x){return j=>{const T=new Tt(j);return T.meta.properties.url=x,T}}}return ee.\u0275fac=function(x){return new(x||ee)(u.LFG(fe))},ee.\u0275prov=u.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})()},348:(B,S,m)=>{"use strict";m.d(S,{m:()=>M});var u=m(6738),_=m(269);const R=new u.OlP("window"),I=P=>new _.g(P.CLDR,P.LEXICON);let M=(()=>{class P{}return P.\u0275fac=function(F){return new(F||P)},P.\u0275mod=u.oAB({type:P}),P.\u0275inj=u.cJS({providers:[{provide:R,useValue:window},{provide:_.g,useFactory:I,deps:[R]}],imports:[[]]}),P})()},3063:(B,S,m)=>{"use strict";m.d(S,{hF:()=>sd,CQ:()=>Gl,c9:()=>Ps,go:()=>d,zf:()=>l});var u=m(6738),_=m(6895),R=m(5529),I=m(2198),M=m(348),P=m(269);class N{}const H="*";function O(f,a){return{type:7,name:f,definitions:a,options:{}}}function $(f,a=null){return{type:4,styles:a,timings:f}}function re(f,a=null){return{type:2,steps:f,options:a}}function ie(f){return{type:6,styles:f,offset:null}}function oe(f,a,o){return{type:0,name:f,styles:a,options:o}}function Ae(f,a,o=null){return{type:1,expr:f,animation:a,options:o}}function ht(f){Promise.resolve(null).then(f)}class Et{constructor(a=0,o=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=a+o}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ht(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const o="start"==a?this._onStartFns:this._onDoneFns;o.forEach(g=>g()),o.length=0}}class We{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let o=0,g=0,E=0;const U=this.players.length;0==U?ht(()=>this._onFinish()):this.players.forEach(Z=>{Z.onDone(()=>{++o==U&&this._onFinish()}),Z.onDestroy(()=>{++g==U&&this._onDestroy()}),Z.onStart(()=>{++E==U&&this._onStart()})}),this.totalTime=this.players.reduce((Z,Q)=>Math.max(Z,Q.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const o=a*this.totalTime;this.players.forEach(g=>{const E=g.totalTime?Math.min(1,o/g.totalTime):1;g.setPosition(E)})}getPosition(){const a=this.players.reduce((o,g)=>null===o||g.totalTime>o.totalTime?g:o,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const o="start"==a?this._onStartFns:this._onDoneFns;o.forEach(g=>g()),o.length=0}}var Gt=m(1481);const Te=!1;function Xe(f){return new u.vHH(3e3,Te)}function vt(){return typeof window<"u"&&typeof window.document<"u"}function et(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function rt(f){switch(f.length){case 0:return new Et;case 1:return f[0];default:return new We(f)}}function St(f,a,o,g,E={},U={}){const Z=[],Q=[];let ge=-1,Me=null;if(g.forEach(nt=>{const _t=nt.offset,Bt=_t==ge,Pt=Bt&&Me||{};Object.keys(nt).forEach(Ot=>{let Zt=Ot,fn=nt[Ot];if("offset"!==Ot)switch(Zt=a.normalizePropertyName(Zt,Z),fn){case"!":fn=E[Ot];break;case H:fn=U[Ot];break;default:fn=a.normalizeStyleValue(Ot,Zt,fn,Z)}Pt[Zt]=fn}),Bt||Q.push(Pt),Me=Pt,ge=_t}),Z.length)throw function Mi(f){return new u.vHH(3502,Te)}();return Q}function Ke(f,a,o,g){switch(a){case"start":f.onStart(()=>g(o&&Vt(o,"start",f)));break;case"done":f.onDone(()=>g(o&&Vt(o,"done",f)));break;case"destroy":f.onDestroy(()=>g(o&&Vt(o,"destroy",f)))}}function Vt(f,a,o){const U=at(f.element,f.triggerName,f.fromState,f.toState,a||f.phaseName,o.totalTime??f.totalTime,!!o.disabled),Z=f._data;return null!=Z&&(U._data=Z),U}function at(f,a,o,g,E="",U=0,Z){return{element:f,triggerName:a,fromState:o,toState:g,phaseName:E,totalTime:U,disabled:!!Z}}function Kt(f,a,o){let g;return f instanceof Map?(g=f.get(a),g||f.set(a,g=o)):(g=f[a],g||(g=f[a]=o)),g}function pt(f){const a=f.indexOf(":");return[f.substring(1,a),f.substr(a+1)]}let Tt=(f,a)=>!1,Ue=(f,a,o)=>[],Cn=null;function Wt(f){const a=f.parentNode||f.host;return a===Cn?null:a}(et()||typeof Element<"u")&&(vt()?(Cn=(()=>document.documentElement)(),Tt=(f,a)=>{for(;a;){if(a===f)return!0;a=Wt(a)}return!1}):Tt=(f,a)=>f.contains(a),Ue=(f,a,o)=>{if(o)return Array.from(f.querySelectorAll(a));const g=f.querySelector(a);return g?[g]:[]});let tt=null,Yt=!1;function Je(f){tt||(tt=function jt(){return typeof document<"u"?document.body:null}()||{},Yt=!!tt.style&&"WebkitAppearance"in tt.style);let a=!0;return tt.style&&!function dt(f){return"ebkit"==f.substring(1,6)}(f)&&(a=f in tt.style,!a&&Yt&&(a="Webkit"+f.charAt(0).toUpperCase()+f.substr(1)in tt.style)),a}const ee=Tt,z=Ue;let j=(()=>{class f{validateStyleProperty(o){return Je(o)}matchesElement(o,g){return!1}containsElement(o,g){return ee(o,g)}getParentElement(o){return Wt(o)}query(o,g,E){return z(o,g,E)}computeStyle(o,g,E){return E||""}animate(o,g,E,U,Z,Q=[],ge){return new Et(E,U)}}return f.\u0275fac=function(o){return new(o||f)},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac}),f})(),T=(()=>{class f{}return f.NOOP=new j,f})();const Se="ng-enter",ke="ng-leave",K="ng-trigger",pe=".ng-trigger",Ze="ng-animating",$e=".ng-animating";function yt(f){if("number"==typeof f)return f;const a=f.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Re(parseFloat(a[1]),a[2])}function Re(f,a){return"s"===a?1e3*f:f}function Le(f,a,o){return f.hasOwnProperty("duration")?f:function le(f,a,o){let E,U=0,Z="";if("string"==typeof f){const Q=f.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Q)return a.push(Xe()),{duration:0,delay:0,easing:""};E=Re(parseFloat(Q[1]),Q[2]);const ge=Q[3];null!=ge&&(U=Re(parseFloat(ge),Q[4]));const Me=Q[5];Me&&(Z=Me)}else E=f;if(!o){let Q=!1,ge=a.length;E<0&&(a.push(function we(){return new u.vHH(3100,Te)}()),Q=!0),U<0&&(a.push(function fe(){return new u.vHH(3101,Te)}()),Q=!0),Q&&a.splice(ge,0,Xe())}return{duration:E,delay:U,easing:Z}}(f,a,o)}function he(f,a={}){return Object.keys(f).forEach(o=>{a[o]=f[o]}),a}function Ge(f,a,o={}){if(a)for(let g in f)o[g]=f[g];else he(f,o);return o}function Qe(f,a,o){return o?a+":"+o+";":""}function Dt(f){let a="";for(let o=0;o<f.style.length;o++){const g=f.style.item(o);a+=Qe(0,g,f.style.getPropertyValue(g))}for(const o in f.style)f.style.hasOwnProperty(o)&&!o.startsWith("_")&&(a+=Qe(0,mn(o),f.style[o]));f.setAttribute("style",a)}function it(f,a,o){f.style&&(Object.keys(a).forEach(g=>{const E=qn(g);o&&!o.hasOwnProperty(g)&&(o[g]=f.style[E]),f.style[E]=a[g]}),et()&&Dt(f))}function gt(f,a){f.style&&(Object.keys(a).forEach(o=>{const g=qn(o);f.style[g]=""}),et()&&Dt(f))}function Ct(f){return Array.isArray(f)?1==f.length?f[0]:re(f):f}const Ln=new RegExp("{{\\s*(.+?)\\s*}}","g");function mt(f){let a=[];if("string"==typeof f){let o;for(;o=Ln.exec(f);)a.push(o[1]);Ln.lastIndex=0}return a}function Rn(f,a,o){const g=f.toString(),E=g.replace(Ln,(U,Z)=>{let Q=a[Z];return a.hasOwnProperty(Z)||(o.push(function Pe(f){return new u.vHH(3003,Te)}()),Q=""),Q.toString()});return E==g?f:E}function At(f){const a=[];let o=f.next();for(;!o.done;)a.push(o.value),o=f.next();return a}const Er=/-+([a-z0-9])/g;function qn(f){return f.replace(Er,(...a)=>a[1].toUpperCase())}function mn(f){return f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function on(f,a,o){switch(a.type){case 7:return f.visitTrigger(a,o);case 0:return f.visitState(a,o);case 1:return f.visitTransition(a,o);case 2:return f.visitSequence(a,o);case 3:return f.visitGroup(a,o);case 4:return f.visitAnimate(a,o);case 5:return f.visitKeyframes(a,o);case 6:return f.visitStyle(a,o);case 8:return f.visitReference(a,o);case 9:return f.visitAnimateChild(a,o);case 10:return f.visitAnimateRef(a,o);case 11:return f.visitQuery(a,o);case 12:return f.visitStagger(a,o);default:throw function st(f){return new u.vHH(3004,Te)}()}}function en(f,a){return window.getComputedStyle(f)[a]}function Wi(f,a){const o=[];return"string"==typeof f?f.split(/\s*,\s*/).forEach(g=>function Mr(f,a,o){if(":"==f[0]){const ge=function Mn(f,a){switch(f){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,g)=>parseFloat(g)>parseFloat(o);case":decrement":return(o,g)=>parseFloat(g)<parseFloat(o);default:return a.push(function Rr(f){return new u.vHH(3016,Te)}()),"* => *"}}(f,o);if("function"==typeof ge)return void a.push(ge);f=ge}const g=f.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return o.push(function gn(f){return new u.vHH(3015,Te)}()),a;const E=g[1],U=g[2],Z=g[3];a.push(ai(E,Z));"<"==U[0]&&!("*"==E&&"*"==Z)&&a.push(ai(Z,E))}(g,o,a)):o.push(f),o}const qr=new Set(["true","1"]),yr=new Set(["false","0"]);function ai(f,a){const o=qr.has(f)||yr.has(f),g=qr.has(a)||yr.has(a);return(E,U)=>{let Z="*"==f||f==E,Q="*"==a||a==U;return!Z&&o&&"boolean"==typeof E&&(Z=E?qr.has(f):yr.has(f)),!Q&&g&&"boolean"==typeof U&&(Q=U?qr.has(a):yr.has(a)),Z&&Q}}const us=new RegExp("s*:selfs*,?","g");function ds(f,a,o,g){return new fs(f).build(a,o,g)}class fs{constructor(a){this._driver=a}build(a,o,g){const E=new Nr(o);this._resetContextStyleTimingState(E);const U=on(this,Ct(a),E);return E.unsupportedCSSPropertiesFound.size&&E.unsupportedCSSPropertiesFound.keys(),U}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,o){let g=o.queryCount=0,E=o.depCount=0;const U=[],Z=[];return"@"==a.name.charAt(0)&&o.errors.push(function rn(){return new u.vHH(3006,Te)}()),a.definitions.forEach(Q=>{if(this._resetContextStyleTimingState(o),0==Q.type){const ge=Q,Me=ge.name;Me.toString().split(/\s*,\s*/).forEach(nt=>{ge.name=nt,U.push(this.visitState(ge,o))}),ge.name=Me}else if(1==Q.type){const ge=this.visitTransition(Q,o);g+=ge.queryCount,E+=ge.depCount,Z.push(ge)}else o.errors.push(function sn(){return new u.vHH(3007,Te)}())}),{type:7,name:a.name,states:U,transitions:Z,queryCount:g,depCount:E,options:null}}visitState(a,o){const g=this.visitStyle(a.styles,o),E=a.options&&a.options.params||null;if(g.containsDynamicStyles){const U=new Set,Z=E||{};g.styles.forEach(Q=>{if(Ti(Q)){const ge=Q;Object.keys(ge).forEach(Me=>{mt(ge[Me]).forEach(nt=>{Z.hasOwnProperty(nt)||U.add(nt)})})}}),U.size&&(At(U.values()),o.errors.push(function Xt(f,a){return new u.vHH(3008,Te)}()))}return{type:0,name:a.name,style:g,options:E?{params:E}:null}}visitTransition(a,o){o.queryCount=0,o.depCount=0;const g=on(this,Ct(a.animation),o);return{type:1,matchers:Wi(a.expr,o.errors),animation:g,queryCount:o.queryCount,depCount:o.depCount,options:Jr(a.options)}}visitSequence(a,o){return{type:2,steps:a.steps.map(g=>on(this,g,o)),options:Jr(a.options)}}visitGroup(a,o){const g=o.currentTime;let E=0;const U=a.steps.map(Z=>{o.currentTime=g;const Q=on(this,Z,o);return E=Math.max(E,o.currentTime),Q});return o.currentTime=E,{type:3,steps:U,options:Jr(a.options)}}visitAnimate(a,o){const g=function Ns(f,a){if(f.hasOwnProperty("duration"))return f;if("number"==typeof f)return Vr(Le(f,a).duration,0,"");const o=f;if(o.split(/\s+/).some(U=>"{"==U.charAt(0)&&"{"==U.charAt(1))){const U=Vr(0,0,"");return U.dynamic=!0,U.strValue=o,U}const E=Le(o,a);return Vr(E.duration,E.delay,E.easing)}(a.timings,o.errors);o.currentAnimateTimings=g;let E,U=a.styles?a.styles:ie({});if(5==U.type)E=this.visitKeyframes(U,o);else{let Z=a.styles,Q=!1;if(!Z){Q=!0;const Me={};g.easing&&(Me.easing=g.easing),Z=ie(Me)}o.currentTime+=g.duration+g.delay;const ge=this.visitStyle(Z,o);ge.isEmptyStep=Q,E=ge}return o.currentAnimateTimings=null,{type:4,timings:g,style:E,options:null}}visitStyle(a,o){const g=this._makeStyleAst(a,o);return this._validateStyleAst(g,o),g}_makeStyleAst(a,o){const g=[];Array.isArray(a.styles)?a.styles.forEach(Z=>{"string"==typeof Z?Z==H?g.push(Z):o.errors.push(function Fn(f){return new u.vHH(3002,Te)}()):g.push(Z)}):g.push(a.styles);let E=!1,U=null;return g.forEach(Z=>{if(Ti(Z)){const Q=Z,ge=Q.easing;if(ge&&(U=ge,delete Q.easing),!E)for(let Me in Q)if(Q[Me].toString().indexOf("{{")>=0){E=!0;break}}}),{type:6,styles:g,easing:U,offset:a.offset,containsDynamicStyles:E,options:null}}_validateStyleAst(a,o){const g=o.currentAnimateTimings;let E=o.currentTime,U=o.currentTime;g&&U>0&&(U-=g.duration+g.delay),a.styles.forEach(Z=>{"string"!=typeof Z&&Object.keys(Z).forEach(Q=>{if(!this._driver.validateStyleProperty(Q))return delete Z[Q],void o.unsupportedCSSPropertiesFound.add(Q);const ge=o.collectedStyles[o.currentQuerySelector],Me=ge[Q];let nt=!0;Me&&(U!=E&&U>=Me.startTime&&E<=Me.endTime&&(o.errors.push(function Dn(f,a,o,g,E){return new u.vHH(3010,Te)}()),nt=!1),U=Me.startTime),nt&&(ge[Q]={startTime:U,endTime:E}),o.options&&function Qt(f,a,o){const g=a.params||{},E=mt(f);E.length&&E.forEach(U=>{g.hasOwnProperty(U)||o.push(function ae(f){return new u.vHH(3001,Te)}())})}(Z[Q],o.options,o.errors)})})}visitKeyframes(a,o){const g={type:5,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(function xn(){return new u.vHH(3011,Te)}()),g;let U=0;const Z=[];let Q=!1,ge=!1,Me=0;const nt=a.steps.map(In=>{const Yn=this._makeStyleAst(In,o);let mr=null!=Yn.offset?Yn.offset:function li(f){if("string"==typeof f)return null;let a=null;if(Array.isArray(f))f.forEach(o=>{if(Ti(o)&&o.hasOwnProperty("offset")){const g=o;a=parseFloat(g.offset),delete g.offset}});else if(Ti(f)&&f.hasOwnProperty("offset")){const o=f;a=parseFloat(o.offset),delete o.offset}return a}(Yn.styles),er=0;return null!=mr&&(U++,er=Yn.offset=mr),ge=ge||er<0||er>1,Q=Q||er<Me,Me=er,Z.push(er),Yn});ge&&o.errors.push(function Ht(){return new u.vHH(3012,Te)}()),Q&&o.errors.push(function It(){return new u.vHH(3200,Te)}());const _t=a.steps.length;let Bt=0;U>0&&U<_t?o.errors.push(function lr(){return new u.vHH(3202,Te)}()):0==U&&(Bt=1/(_t-1));const Pt=_t-1,Ot=o.currentTime,Zt=o.currentAnimateTimings,fn=Zt.duration;return nt.forEach((In,Yn)=>{const mr=Bt>0?Yn==Pt?1:Bt*Yn:Z[Yn],er=mr*fn;o.currentTime=Ot+Zt.delay+er,Zt.duration=er,this._validateStyleAst(In,o),In.offset=mr,g.styles.push(In)}),g}visitReference(a,o){return{type:8,animation:on(this,Ct(a.animation),o),options:Jr(a.options)}}visitAnimateChild(a,o){return o.depCount++,{type:9,options:Jr(a.options)}}visitAnimateRef(a,o){return{type:10,animation:this.visitReference(a.animation,o),options:Jr(a.options)}}visitQuery(a,o){const g=o.currentQuerySelector,E=a.options||{};o.queryCount++,o.currentQuery=a;const[U,Z]=function ps(f){const a=!!f.split(/\s*,\s*/).find(o=>":self"==o);return a&&(f=f.replace(us,"")),f=f.replace(/@\*/g,pe).replace(/@\w+/g,o=>pe+"-"+o.substr(1)).replace(/:animating/g,$e),[f,a]}(a.selector);o.currentQuerySelector=g.length?g+" "+U:U,Kt(o.collectedStyles,o.currentQuerySelector,{});const Q=on(this,Ct(a.animation),o);return o.currentQuery=null,o.currentQuerySelector=g,{type:11,selector:U,limit:E.limit||0,optional:!!E.optional,includeSelf:Z,animation:Q,originalSelector:a.selector,options:Jr(a.options)}}visitStagger(a,o){o.currentQuery||o.errors.push(function Br(){return new u.vHH(3013,Te)}());const g="full"===a.timings?{duration:0,delay:0,easing:"full"}:Le(a.timings,o.errors,!0);return{type:12,animation:on(this,Ct(a.animation),o),timings:g,options:null}}}class Nr{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 Ti(f){return!Array.isArray(f)&&"object"==typeof f}function Jr(f){return f?(f=he(f)).params&&(f.params=function gs(f){return f?he(f):null}(f.params)):f={},f}function Vr(f,a,o){return{duration:f,delay:a,easing:o}}function Yi(f,a,o,g,E,U,Z=null,Q=!1){return{type:1,element:f,keyframes:a,preStyleProps:o,postStyleProps:g,duration:E,delay:U,totalTime:E+U,easing:Z,subTimeline:Q}}class Pi{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,o){let g=this._map.get(a);g||this._map.set(a,g=[]),g.push(...o)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const ms=new RegExp(":enter","g"),Xr=new RegExp(":leave","g");function Ur(f,a,o,g,E,U={},Z={},Q,ge,Me=[]){return(new qo).buildKeyframes(f,a,o,g,E,U,Z,Q,ge,Me)}class qo{buildKeyframes(a,o,g,E,U,Z,Q,ge,Me,nt=[]){Me=Me||new Pi;const _t=new Qi(a,o,Me,E,U,nt,[]);_t.options=ge,_t.currentTimeline.setStyles([Z],null,_t.errors,ge),on(this,g,_t);const Bt=_t.timelines.filter(Pt=>Pt.containsAnimation());if(Object.keys(Q).length){let Pt;for(let Ot=Bt.length-1;Ot>=0;Ot--){const Zt=Bt[Ot];if(Zt.element===o){Pt=Zt;break}}Pt&&!Pt.allowOnlyTimelineStyles()&&Pt.setStyles([Q],null,_t.errors,ge)}return Bt.length?Bt.map(Pt=>Pt.buildKeyframes()):[Yi(o,[],[],[],0,0,"",!1)]}visitTrigger(a,o){}visitState(a,o){}visitTransition(a,o){}visitAnimateChild(a,o){const g=o.subInstructions.get(o.element);if(g){const E=o.createSubContext(a.options),U=o.currentTimeline.currentTime,Z=this._visitSubInstructions(g,E,E.options);U!=Z&&o.transformIntoNewTimeline(Z)}o.previousNode=a}visitAnimateRef(a,o){const g=o.createSubContext(a.options);g.transformIntoNewTimeline(),this.visitReference(a.animation,g),o.transformIntoNewTimeline(g.currentTimeline.currentTime),o.previousNode=a}_visitSubInstructions(a,o,g){let U=o.currentTimeline.currentTime;const Z=null!=g.duration?yt(g.duration):null,Q=null!=g.delay?yt(g.delay):null;return 0!==Z&&a.forEach(ge=>{const Me=o.appendInstructionToTimeline(ge,Z,Q);U=Math.max(U,Me.duration+Me.delay)}),U}visitReference(a,o){o.updateOptions(a.options,!0),on(this,a.animation,o),o.previousNode=a}visitSequence(a,o){const g=o.subContextCount;let E=o;const U=a.options;if(U&&(U.params||U.delay)&&(E=o.createSubContext(U),E.transformIntoNewTimeline(),null!=U.delay)){6==E.previousNode.type&&(E.currentTimeline.snapshotCurrentStyles(),E.previousNode=Hr);const Z=yt(U.delay);E.delayNextStep(Z)}a.steps.length&&(a.steps.forEach(Z=>on(this,Z,E)),E.currentTimeline.applyStylesToKeyframe(),E.subContextCount>g&&E.transformIntoNewTimeline()),o.previousNode=a}visitGroup(a,o){const g=[];let E=o.currentTimeline.currentTime;const U=a.options&&a.options.delay?yt(a.options.delay):0;a.steps.forEach(Z=>{const Q=o.createSubContext(a.options);U&&Q.delayNextStep(U),on(this,Z,Q),E=Math.max(E,Q.currentTimeline.currentTime),g.push(Q.currentTimeline)}),g.forEach(Z=>o.currentTimeline.mergeTimelineCollectedStyles(Z)),o.transformIntoNewTimeline(E),o.previousNode=a}_visitTiming(a,o){if(a.dynamic){const g=a.strValue;return Le(o.params?Rn(g,o.params,o.errors):g,o.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,o){const g=o.currentAnimateTimings=this._visitTiming(a.timings,o),E=o.currentTimeline;g.delay&&(o.incrementTime(g.delay),E.snapshotCurrentStyles());const U=a.style;5==U.type?this.visitKeyframes(U,o):(o.incrementTime(g.duration),this.visitStyle(U,o),E.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=a}visitStyle(a,o){const g=o.currentTimeline,E=o.currentAnimateTimings;!E&&g.getCurrentStyleProperties().length&&g.forwardFrame();const U=E&&E.easing||a.easing;a.isEmptyStep?g.applyEmptyStep(U):g.setStyles(a.styles,U,o.errors,o.options),o.previousNode=a}visitKeyframes(a,o){const g=o.currentAnimateTimings,E=o.currentTimeline.duration,U=g.duration,Q=o.createSubContext().currentTimeline;Q.easing=g.easing,a.styles.forEach(ge=>{Q.forwardTime((ge.offset||0)*U),Q.setStyles(ge.styles,ge.easing,o.errors,o.options),Q.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(Q),o.transformIntoNewTimeline(E+U),o.previousNode=a}visitQuery(a,o){const g=o.currentTimeline.currentTime,E=a.options||{},U=E.delay?yt(E.delay):0;U&&(6===o.previousNode.type||0==g&&o.currentTimeline.getCurrentStyleProperties().length)&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Hr);let Z=g;const Q=o.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!E.optional,o.errors);o.currentQueryTotal=Q.length;let ge=null;Q.forEach((Me,nt)=>{o.currentQueryIndex=nt;const _t=o.createSubContext(a.options,Me);U&&_t.delayNextStep(U),Me===o.element&&(ge=_t.currentTimeline),on(this,a.animation,_t),_t.currentTimeline.applyStylesToKeyframe(),Z=Math.max(Z,_t.currentTimeline.currentTime)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(Z),ge&&(o.currentTimeline.mergeTimelineCollectedStyles(ge),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=a}visitStagger(a,o){const g=o.parentContext,E=o.currentTimeline,U=a.timings,Z=Math.abs(U.duration),Q=Z*(o.currentQueryTotal-1);let ge=Z*o.currentQueryIndex;switch(U.duration<0?"reverse":U.easing){case"reverse":ge=Q-ge;break;case"full":ge=g.currentStaggerTime}const nt=o.currentTimeline;ge&&nt.delayNextStep(ge);const _t=nt.currentTime;on(this,a.animation,o),o.previousNode=a,g.currentStaggerTime=E.currentTime-_t+(E.startTime-g.currentTimeline.startTime)}}const Hr={};class Qi{constructor(a,o,g,E,U,Z,Q,ge){this._driver=a,this.element=o,this.subInstructions=g,this._enterClassName=E,this._leaveClassName=U,this.errors=Z,this.timelines=Q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ge||new _r(this._driver,o,0),Q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,o){if(!a)return;const g=a;let E=this.options;null!=g.duration&&(E.duration=yt(g.duration)),null!=g.delay&&(E.delay=yt(g.delay));const U=g.params;if(U){let Z=E.params;Z||(Z=this.options.params={}),Object.keys(U).forEach(Q=>{(!o||!Z.hasOwnProperty(Q))&&(Z[Q]=Rn(U[Q],Z,this.errors))})}}_copyOptions(){const a={};if(this.options){const o=this.options.params;if(o){const g=a.params={};Object.keys(o).forEach(E=>{g[E]=o[E]})}}return a}createSubContext(a=null,o,g){const E=o||this.element,U=new Qi(this._driver,E,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(E,g||0));return U.previousNode=this.previousNode,U.currentAnimateTimings=this.currentAnimateTimings,U.options=this._copyOptions(),U.updateOptions(a),U.currentQueryIndex=this.currentQueryIndex,U.currentQueryTotal=this.currentQueryTotal,U.parentContext=this,this.subContextCount++,U}transformIntoNewTimeline(a){return this.previousNode=Hr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,o,g){const E={duration:o??a.duration,delay:this.currentTimeline.currentTime+(g??0)+a.delay,easing:""},U=new ks(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,E,a.stretchStartingKeyframe);return this.timelines.push(U),E}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,o,g,E,U,Z){let Q=[];if(E&&Q.push(this.element),a.length>0){a=(a=a.replace(ms,"."+this._enterClassName)).replace(Xr,"."+this._leaveClassName);let Me=this._driver.query(this.element,a,1!=g);0!==g&&(Me=g<0?Me.slice(Me.length+g,Me.length):Me.slice(0,g)),Q.push(...Me)}return!U&&0==Q.length&&Z.push(function Ar(f){return new u.vHH(3014,Te)}()),Q}}class _r{constructor(a,o,g,E){this._driver=a,this.element=o,this.startTime=g,this._elementTimelineStylesLookup=E,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(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const o=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||o?(this.forwardTime(this.currentTime+a),o&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,o){return this.applyStylesToKeyframe(),new _r(this._driver,a,o||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,o){this._localTimelineStyles[a]=o,this._globalTimelineStyles[a]=o,this._styleSummary[a]={time:this.currentTime,value:o}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(o=>{this._backFill[o]=this._globalTimelineStyles[o]||H,this._currentKeyframe[o]=H}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,o,g,E){o&&(this._previousKeyframe.easing=o);const U=E&&E.params||{},Z=function ci(f,a){const o={};let g;return f.forEach(E=>{"*"===E?(g=g||Object.keys(a),g.forEach(U=>{o[U]=H})):Ge(E,!1,o)}),o}(a,this._globalTimelineStyles);Object.keys(Z).forEach(Q=>{const ge=Rn(Z[Q],U,g);this._pendingStyles[Q]=ge,this._localTimelineStyles.hasOwnProperty(Q)||(this._backFill[Q]=this._globalTimelineStyles.hasOwnProperty(Q)?this._globalTimelineStyles[Q]:H),this._updateStyle(Q,ge)})}applyStylesToKeyframe(){const a=this._pendingStyles,o=Object.keys(a);0!=o.length&&(this._pendingStyles={},o.forEach(g=>{this._currentKeyframe[g]=a[g]}),Object.keys(this._localTimelineStyles).forEach(g=>{this._currentKeyframe.hasOwnProperty(g)||(this._currentKeyframe[g]=this._localTimelineStyles[g])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const o=this._localTimelineStyles[a];this._pendingStyles[a]=o,this._updateStyle(a,o)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let o in this._currentKeyframe)a.push(o);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(o=>{const g=this._styleSummary[o],E=a._styleSummary[o];(!g||E.time>g.time)&&this._updateStyle(o,E.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,o=new Set,g=1===this._keyframes.size&&0===this.duration;let E=[];this._keyframes.forEach((Q,ge)=>{const Me=Ge(Q,!0);Object.keys(Me).forEach(nt=>{const _t=Me[nt];"!"==_t?a.add(nt):_t==H&&o.add(nt)}),g||(Me.offset=ge/this.duration),E.push(Me)});const U=a.size?At(a.values()):[],Z=o.size?At(o.values()):[];if(g){const Q=E[0],ge=he(Q);Q.offset=0,ge.offset=1,E=[Q,ge]}return Yi(this.element,E,U,Z,this.duration,this.startTime,this.easing,!1)}}class ks extends _r{constructor(a,o,g,E,U,Z,Q=!1){super(a,o,Z.delay),this.keyframes=g,this.preStyleProps=E,this.postStyleProps=U,this._stretchStartingKeyframe=Q,this.timings={duration:Z.duration,delay:Z.delay,easing:Z.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:o,duration:g,easing:E}=this.timings;if(this._stretchStartingKeyframe&&o){const U=[],Z=g+o,Q=o/Z,ge=Ge(a[0],!1);ge.offset=0,U.push(ge);const Me=Ge(a[0],!1);Me.offset=$r(Q),U.push(Me);const nt=a.length-1;for(let _t=1;_t<=nt;_t++){let Bt=Ge(a[_t],!1);Bt.offset=$r((o+Bt.offset*g)/Z),U.push(Bt)}g=Z,o=0,E="",a=U}return Yi(this.element,a,this.preStyleProps,this.postStyleProps,g,o,E,!0)}}function $r(f,a=3){const o=Math.pow(10,a-1);return Math.round(f*o)/o}class qi{}class Bs extends qi{normalizePropertyName(a,o){return qn(a)}normalizeStyleValue(a,o,g,E){let U="";const Z=g.toString().trim();if(Ji[o]&&0!==g&&"0"!==g)if("number"==typeof g)U="px";else{const Q=g.match(/^[+-]?[\d\.]+([a-z]*)$/);Q&&0==Q[1].length&&E.push(function Ut(f,a){return new u.vHH(3005,Te)}())}return Z+U}}const Ji=(()=>function Xi(f){const a={};return f.forEach(o=>a[o]=!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 es(f,a,o,g,E,U,Z,Q,ge,Me,nt,_t,Bt){return{type:0,element:f,triggerName:a,isRemovalTransition:E,fromState:o,fromStyles:U,toState:g,toStyles:Z,timelines:Q,queriedElements:ge,preStyleProps:Me,postStyleProps:nt,totalTime:_t,errors:Bt}}const Gn={};class xi{constructor(a,o,g){this._triggerName=a,this.ast=o,this._stateStyles=g}match(a,o,g,E){return function Oi(f,a,o,g,E){return f.some(U=>U(a,o,g,E))}(this.ast.matchers,a,o,g,E)}buildStyles(a,o,g){const E=this._stateStyles["*"],U=this._stateStyles[a],Z=E?E.buildStyles(o,g):{};return U?U.buildStyles(o,g):Z}build(a,o,g,E,U,Z,Q,ge,Me,nt){const _t=[],Bt=this.ast.options&&this.ast.options.params||Gn,Ot=this.buildStyles(g,Q&&Q.params||Gn,_t),Zt=ge&&ge.params||Gn,fn=this.buildStyles(E,Zt,_t),In=new Set,Yn=new Map,mr=new Map,er="void"===E,yi={params:{...Bt,...Zt}},Cr=nt?[]:Ur(a,o,this.ast.animation,U,Z,Ot,fn,yi,Me,_t);let ar=0;if(Cr.forEach(_i=>{ar=Math.max(_i.duration+_i.delay,ar)}),_t.length)return es(o,this._triggerName,g,E,er,Ot,fn,[],[],Yn,mr,ar,_t);Cr.forEach(_i=>{const ii=_i.element,Do=Kt(Yn,ii,{});_i.preStyleProps.forEach(Ni=>Do[Ni]=!0);const Ri=Kt(mr,ii,{});_i.postStyleProps.forEach(Ni=>Ri[Ni]=!0),ii!==o&&In.add(ii)});const xr=At(In.values());return es(o,this._triggerName,g,E,er,Ot,fn,Cr,xr,Yn,mr,ar)}}class C{constructor(a,o,g){this.styles=a,this.defaultParams=o,this.normalizer=g}buildStyles(a,o){const g={},E=he(this.defaultParams);return Object.keys(a).forEach(U=>{const Z=a[U];null!=Z&&(E[U]=Z)}),this.styles.styles.forEach(U=>{if("string"!=typeof U){const Z=U;Object.keys(Z).forEach(Q=>{let ge=Z[Q];ge.length>1&&(ge=Rn(ge,E,o));const Me=this.normalizer.normalizePropertyName(Q,o);ge=this.normalizer.normalizeStyleValue(Q,Me,ge,o),g[Me]=ge})}}),g}}class b{constructor(a,o,g){this.name=a,this.ast=o,this._normalizer=g,this.transitionFactories=[],this.states={},o.states.forEach(E=>{this.states[E.name]=new C(E.style,E.options&&E.options.params||{},g)}),ne(this.states,"true","1"),ne(this.states,"false","0"),o.transitions.forEach(E=>{this.transitionFactories.push(new xi(a,E,this.states))}),this.fallbackTransition=function V(f,a,o){return new xi(f,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Z,Q)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,o,g,E){return this.transitionFactories.find(Z=>Z.match(a,o,g,E))||null}matchStyles(a,o,g){return this.fallbackTransition.buildStyles(a,o,g)}}function ne(f,a,o){f.hasOwnProperty(a)?f.hasOwnProperty(o)||(f[o]=f[a]):f.hasOwnProperty(o)&&(f[a]=f[o])}const be=new Pi;class Be{constructor(a,o,g){this.bodyNode=a,this._driver=o,this._normalizer=g,this._animations={},this._playersById={},this.players=[]}register(a,o){const g=[],U=ds(this._driver,o,g,[]);if(g.length)throw function kn(f){return new u.vHH(3503,Te)}();this._animations[a]=U}_buildPlayer(a,o,g){const E=a.element,U=St(0,this._normalizer,0,a.keyframes,o,g);return this._driver.animate(E,U,a.duration,a.delay,a.easing,[],!0)}create(a,o,g={}){const E=[],U=this._animations[a];let Z;const Q=new Map;if(U?(Z=Ur(this._driver,o,U,Se,ke,{},{},g,be,E),Z.forEach(nt=>{const _t=Kt(Q,nt.element,{});nt.postStyleProps.forEach(Bt=>_t[Bt]=null)})):(E.push(function ur(){return new u.vHH(3300,Te)}()),Z=[]),E.length)throw function X(f){return new u.vHH(3504,Te)}();Q.forEach((nt,_t)=>{Object.keys(nt).forEach(Bt=>{nt[Bt]=this._driver.computeStyle(_t,Bt,H)})});const Me=rt(Z.map(nt=>{const _t=Q.get(nt.element);return this._buildPlayer(nt,{},_t)}));return this._playersById[a]=Me,Me.onDestroy(()=>this.destroy(a)),this.players.push(Me),Me}destroy(a){const o=this._getPlayer(a);o.destroy(),delete this._playersById[a];const g=this.players.indexOf(o);g>=0&&this.players.splice(g,1)}_getPlayer(a){const o=this._playersById[a];if(!o)throw function de(f){return new u.vHH(3301,Te)}();return o}listen(a,o,g,E){const U=at(o,"","","");return Ke(this._getPlayer(a),g,U,E),()=>{}}command(a,o,g,E){if("register"==g)return void this.register(a,E[0]);if("create"==g)return void this.create(a,o,E[0]||{});const U=this._getPlayer(a);switch(g){case"play":U.play();break;case"pause":U.pause();break;case"reset":U.reset();break;case"restart":U.restart();break;case"finish":U.finish();break;case"init":U.init();break;case"setPosition":U.setPosition(parseFloat(E[0]));break;case"destroy":this.destroy(a)}}}const Ye="ng-animate-queued",qt="ng-animate-disabled",hn=[],dn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},yn="__ng_removed";class Un{constructor(a,o=""){this.namespaceId=o;const g=a&&a.hasOwnProperty("value");if(this.value=function Us(f){return f??null}(g?a.value:a),g){const U=he(a);delete U.value,this.options=U}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const o=a.params;if(o){const g=this.options.params;Object.keys(o).forEach(E=>{null==g[E]&&(g[E]=o[E])})}}}const bn="void",Sr=new Un(bn);class zr{constructor(a,o,g){this.id=a,this.hostElement=o,this._engine=g,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Jn(o,this._hostClassName)}listen(a,o,g,E){if(!this._triggers.hasOwnProperty(o))throw function Ce(f,a){return new u.vHH(3302,Te)}();if(null==g||0==g.length)throw function ve(f){return new u.vHH(3303,Te)}();if(!function _s(f){return"start"==f||"done"==f}(g))throw function se(f,a){return new u.vHH(3400,Te)}();const U=Kt(this._elementListeners,a,[]),Z={name:o,phase:g,callback:E};U.push(Z);const Q=Kt(this._engine.statesByElement,a,{});return Q.hasOwnProperty(o)||(Jn(a,K),Jn(a,K+"-"+o),Q[o]=Sr),()=>{this._engine.afterFlush(()=>{const ge=U.indexOf(Z);ge>=0&&U.splice(ge,1),this._triggers[o]||delete Q[o]})}}register(a,o){return!this._triggers[a]&&(this._triggers[a]=o,!0)}_getTrigger(a){const o=this._triggers[a];if(!o)throw function Ie(f){return new u.vHH(3401,Te)}();return o}trigger(a,o,g,E=!0){const U=this._getTrigger(o),Z=new Tr(this.id,o,a);let Q=this._engine.statesByElement.get(a);Q||(Jn(a,K),Jn(a,K+"-"+o),this._engine.statesByElement.set(a,Q={}));let ge=Q[o];const Me=new Un(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&ge&&Me.absorbOptions(ge.options),Q[o]=Me,ge||(ge=Sr),Me.value!==bn&&ge.value===Me.value){if(!function Jt(f,a){const o=Object.keys(f),g=Object.keys(a);if(o.length!=g.length)return!1;for(let E=0;E<o.length;E++){const U=o[E];if(!a.hasOwnProperty(U)||f[U]!==a[U])return!1}return!0}(ge.params,Me.params)){const Zt=[],fn=U.matchStyles(ge.value,ge.params,Zt),In=U.matchStyles(Me.value,Me.params,Zt);Zt.length?this._engine.reportError(Zt):this._engine.afterFlush(()=>{gt(a,fn),it(a,In)})}return}const Bt=Kt(this._engine.playersByElement,a,[]);Bt.forEach(Zt=>{Zt.namespaceId==this.id&&Zt.triggerName==o&&Zt.queued&&Zt.destroy()});let Pt=U.matchTransition(ge.value,Me.value,a,Me.params),Ot=!1;if(!Pt){if(!E)return;Pt=U.fallbackTransition,Ot=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:o,transition:Pt,fromState:ge,toState:Me,player:Z,isFallbackTransition:Ot}),Ot||(Jn(a,Ye),Z.onStart(()=>{Fr(a,Ye)})),Z.onDone(()=>{let Zt=this.players.indexOf(Z);Zt>=0&&this.players.splice(Zt,1);const fn=this._engine.playersByElement.get(a);if(fn){let In=fn.indexOf(Z);In>=0&&fn.splice(In,1)}}),this.players.push(Z),Bt.push(Z),Z}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((o,g)=>{delete o[a]}),this._elementListeners.forEach((o,g)=>{this._elementListeners.set(g,o.filter(E=>E.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const o=this._engine.playersByElement.get(a);o&&(o.forEach(g=>g.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,o){const g=this._engine.driver.query(a,pe,!0);g.forEach(E=>{if(E[yn])return;const U=this._engine.fetchNamespacesByElement(E);U.size?U.forEach(Z=>Z.triggerLeaveAnimation(E,o,!1,!0)):this.clearElementCache(E)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(E=>this.clearElementCache(E)))}triggerLeaveAnimation(a,o,g,E){const U=this._engine.statesByElement.get(a),Z=new Map;if(U){const Q=[];if(Object.keys(U).forEach(ge=>{if(Z.set(ge,U[ge].value),this._triggers[ge]){const Me=this.trigger(a,ge,bn,E);Me&&Q.push(Me)}}),Q.length)return this._engine.markElementAsRemoved(this.id,a,!0,o,Z),g&&rt(Q).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const o=this._elementListeners.get(a),g=this._engine.statesByElement.get(a);if(o&&g){const E=new Set;o.forEach(U=>{const Z=U.name;if(E.has(Z))return;E.add(Z);const ge=this._triggers[Z].fallbackTransition,Me=g[Z]||Sr,nt=new Un(bn),_t=new Tr(this.id,Z,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:Z,transition:ge,fromState:Me,toState:nt,player:_t,isFallbackTransition:!0})})}}removeNode(a,o){const g=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,o),this.triggerLeaveAnimation(a,o,!0))return;let E=!1;if(g.totalAnimations){const U=g.players.length?g.playersByQueriedElement.get(a):[];if(U&&U.length)E=!0;else{let Z=a;for(;Z=Z.parentNode;)if(g.statesByElement.get(Z)){E=!0;break}}}if(this.prepareLeaveAnimationListeners(a),E)g.markElementAsRemoved(this.id,a,!1,o);else{const U=a[yn];(!U||U===dn)&&(g.afterFlush(()=>this.clearElementCache(a)),g.destroyInnerAnimations(a),g._onRemovalComplete(a,o))}}insertNode(a,o){Jn(a,this._hostClassName)}drainQueuedTransitions(a){const o=[];return this._queue.forEach(g=>{const E=g.player;if(E.destroyed)return;const U=g.element,Z=this._elementListeners.get(U);Z&&Z.forEach(Q=>{if(Q.name==g.triggerName){const ge=at(U,g.triggerName,g.fromState.value,g.toState.value);ge._data=a,Ke(g.player,Q.phase,ge,Q.callback)}}),E.markedForDestroy?this._engine.afterFlush(()=>{E.destroy()}):o.push(g)}),this._queue=[],o.sort((g,E)=>{const U=g.transition.ast.depCount,Z=E.transition.ast.depCount;return 0==U||0==Z?U-Z:this._engine.driver.containsElement(g.element,E.element)?1:-1})}destroy(a){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let o=!1;return this._elementListeners.has(a)&&(o=!0),o=!!this._queue.find(g=>g.element===a)||o,o}}class ys{constructor(a,o,g){this.bodyNode=a,this.driver=o,this._normalizer=g,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=(E,U)=>{}}_onRemovalComplete(a,o){this.onRemovalComplete(a,o)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(o=>{o.players.forEach(g=>{g.queued&&a.push(g)})}),a}createNamespace(a,o){const g=new zr(a,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(g,o):(this.newHostElements.set(o,g),this.collectEnterElement(o)),this._namespaceLookup[a]=g}_balanceNamespaceList(a,o){const g=this._namespaceList,E=this.namespacesByHostElement,U=g.length-1;if(U>=0){let Z=!1;if(void 0!==this.driver.getParentElement){let Q=this.driver.getParentElement(o);for(;Q;){const ge=E.get(Q);if(ge){const Me=g.indexOf(ge);g.splice(Me+1,0,a),Z=!0;break}Q=this.driver.getParentElement(Q)}}else for(let Q=U;Q>=0;Q--)if(this.driver.containsElement(g[Q].hostElement,o)){g.splice(Q+1,0,a),Z=!0;break}Z||g.unshift(a)}else g.push(a);return E.set(o,a),a}register(a,o){let g=this._namespaceLookup[a];return g||(g=this.createNamespace(a,o)),g}registerTrigger(a,o,g){let E=this._namespaceLookup[a];E&&E.register(o,g)&&this.totalAnimations++}destroy(a,o){if(!a)return;const g=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(g.hostElement),delete this._namespaceLookup[a];const E=this._namespaceList.indexOf(g);E>=0&&this._namespaceList.splice(E,1)}),this.afterFlushAnimationsDone(()=>g.destroy(o))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const o=new Set,g=this.statesByElement.get(a);if(g){const E=Object.keys(g);for(let U=0;U<E.length;U++){const Z=g[E[U]].namespaceId;if(Z){const Q=this._fetchNamespace(Z);Q&&o.add(Q)}}}return o}trigger(a,o,g,E){if(Ft(o)){const U=this._fetchNamespace(a);if(U)return U.trigger(o,g,E),!0}return!1}insertNode(a,o,g,E){if(!Ft(o))return;const U=o[yn];if(U&&U.setForRemoval){U.setForRemoval=!1,U.setForMove=!0;const Z=this.collectedLeaveElements.indexOf(o);Z>=0&&this.collectedLeaveElements.splice(Z,1)}if(a){const Z=this._fetchNamespace(a);Z&&Z.insertNode(o,g)}E&&this.collectEnterElement(o)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,o){o?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Jn(a,qt)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Fr(a,qt))}removeNode(a,o,g,E){if(Ft(o)){const U=a?this._fetchNamespace(a):null;if(U?U.removeNode(o,E):this.markElementAsRemoved(a,o,!1,E),g){const Z=this.namespacesByHostElement.get(o);Z&&Z.id!==a&&Z.removeNode(o,E)}}else this._onRemovalComplete(o,E)}markElementAsRemoved(a,o,g,E,U){this.collectedLeaveElements.push(o),o[yn]={namespaceId:a,setForRemoval:E,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:U}}listen(a,o,g,E,U){return Ft(o)?this._fetchNamespace(a).listen(o,g,E,U):()=>{}}_buildInstruction(a,o,g,E,U){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,g,E,a.fromState.options,a.toState.options,o,U)}destroyInnerAnimations(a){let o=this.driver.query(a,pe,!0);o.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(o=this.driver.query(a,$e,!0),o.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(a){const o=this.playersByElement.get(a);o&&o.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(a){const o=this.playersByQueriedElement.get(a);o&&o.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return rt(this.players).onDone(()=>a());a()})}processLeaveNode(a){const o=a[yn];if(o&&o.setForRemoval){if(a[yn]=dn,o.namespaceId){this.destroyInnerAnimations(a);const g=this._fetchNamespace(o.namespaceId);g&&g.clearElementCache(a)}this._onRemovalComplete(a,o.setForRemoval)}a.classList?.contains(qt)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(a=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,E)=>this._balanceNamespaceList(g,E)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)Jn(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{o=this._flushAnimations(g,a)}finally{for(let E=0;E<g.length;E++)g[E]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],o.length?rt(o).onDone(()=>{g.forEach(E=>E())}):g.forEach(E=>E())}}reportError(a){throw function He(f){return new u.vHH(3402,Te)}()}_flushAnimations(a,o){const g=new Pi,E=[],U=new Map,Z=[],Q=new Map,ge=new Map,Me=new Map,nt=new Set;this.disabledNodes.forEach(lt=>{nt.add(lt);const bt=this.driver.query(lt,".ng-animate-queued",!0);for(let kt=0;kt<bt.length;kt++)nt.add(bt[kt])});const _t=this.bodyNode,Bt=Array.from(this.statesByElement.keys()),Pt=$s(Bt,this.collectedEnterElements),Ot=new Map;let Zt=0;Pt.forEach((lt,bt)=>{const kt=Se+Zt++;Ot.set(bt,kt),lt.forEach(cn=>Jn(cn,kt))});const fn=[],In=new Set,Yn=new Set;for(let lt=0;lt<this.collectedLeaveElements.length;lt++){const bt=this.collectedLeaveElements[lt],kt=bt[yn];kt&&kt.setForRemoval&&(fn.push(bt),In.add(bt),kt.hasAnimation?this.driver.query(bt,".ng-star-inserted",!0).forEach(cn=>In.add(cn)):Yn.add(bt))}const mr=new Map,er=$s(Bt,Array.from(In));er.forEach((lt,bt)=>{const kt=ke+Zt++;mr.set(bt,kt),lt.forEach(cn=>Jn(cn,kt))}),a.push(()=>{Pt.forEach((lt,bt)=>{const kt=Ot.get(bt);lt.forEach(cn=>Fr(cn,kt))}),er.forEach((lt,bt)=>{const kt=mr.get(bt);lt.forEach(cn=>Fr(cn,kt))}),fn.forEach(lt=>{this.processLeaveNode(lt)})});const yi=[],Cr=[];for(let lt=this._namespaceList.length-1;lt>=0;lt--)this._namespaceList[lt].drainQueuedTransitions(o).forEach(kt=>{const cn=kt.player,Hn=kt.element;if(yi.push(cn),this.collectedEnterElements.length){const tr=Hn[yn];if(tr&&tr.setForMove){if(tr.previousTriggersValues&&tr.previousTriggersValues.has(kt.triggerName)){const jr=tr.previousTriggersValues.get(kt.triggerName),ki=this.statesByElement.get(kt.element);ki&&ki[kt.triggerName]&&(ki[kt.triggerName].value=jr)}return void cn.destroy()}}const si=!_t||!this.driver.containsElement(_t,Hn),Lr=mr.get(Hn),Fi=Ot.get(Hn),An=this._buildInstruction(kt,g,Fi,Lr,si);if(An.errors&&An.errors.length)return void Cr.push(An);if(si)return cn.onStart(()=>gt(Hn,An.fromStyles)),cn.onDestroy(()=>it(Hn,An.toStyles)),void E.push(cn);if(kt.isFallbackTransition)return cn.onStart(()=>gt(Hn,An.fromStyles)),cn.onDestroy(()=>it(Hn,An.toStyles)),void E.push(cn);const il=[];An.timelines.forEach(tr=>{tr.stretchStartingKeyframe=!0,this.disabledNodes.has(tr.element)||il.push(tr)}),An.timelines=il,g.append(Hn,An.timelines),Z.push({instruction:An,player:cn,element:Hn}),An.queriedElements.forEach(tr=>Kt(Q,tr,[]).push(cn)),An.preStyleProps.forEach((tr,jr)=>{const ki=Object.keys(tr);if(ki.length){let as=ge.get(jr);as||ge.set(jr,as=new Set),ki.forEach(sl=>as.add(sl))}}),An.postStyleProps.forEach((tr,jr)=>{const ki=Object.keys(tr);let as=Me.get(jr);as||Me.set(jr,as=new Set),ki.forEach(sl=>as.add(sl))})});if(Cr.length){const lt=[];Cr.forEach(bt=>{lt.push(function je(f,a){return new u.vHH(3505,Te)}())}),yi.forEach(bt=>bt.destroy()),this.reportError(lt)}const ar=new Map,xr=new Map;Z.forEach(lt=>{const bt=lt.element;g.has(bt)&&(xr.set(bt,bt),this._beforeAnimationBuild(lt.player.namespaceId,lt.instruction,ar))}),E.forEach(lt=>{const bt=lt.element;this._getPreviousPlayers(bt,!1,lt.namespaceId,lt.triggerName,null).forEach(cn=>{Kt(ar,bt,[]).push(cn),cn.destroy()})});const _i=fn.filter(lt=>Ii(lt,ge,Me)),ii=new Map;Hs(ii,this.driver,Yn,Me,H).forEach(lt=>{Ii(lt,ge,Me)&&_i.push(lt)});const Ri=new Map;Pt.forEach((lt,bt)=>{Hs(Ri,this.driver,new Set(lt),ge,"!")}),_i.forEach(lt=>{const bt=ii.get(lt),kt=Ri.get(lt);ii.set(lt,{...bt,...kt})});const Ni=[],nl=[],rl={};Z.forEach(lt=>{const{element:bt,player:kt,instruction:cn}=lt;if(g.has(bt)){if(nt.has(bt))return kt.onDestroy(()=>it(bt,cn.toStyles)),kt.disabled=!0,kt.overrideTotalTime(cn.totalTime),void E.push(kt);let Hn=rl;if(xr.size>1){let Lr=bt;const Fi=[];for(;Lr=Lr.parentNode;){const An=xr.get(Lr);if(An){Hn=An;break}Fi.push(Lr)}Fi.forEach(An=>xr.set(An,Hn))}const si=this._buildAnimation(kt.namespaceId,cn,ar,U,Ri,ii);if(kt.setRealPlayer(si),Hn===rl)Ni.push(kt);else{const Lr=this.playersByElement.get(Hn);Lr&&Lr.length&&(kt.parentPlayer=rt(Lr)),E.push(kt)}}else gt(bt,cn.fromStyles),kt.onDestroy(()=>it(bt,cn.toStyles)),nl.push(kt),nt.has(bt)&&E.push(kt)}),nl.forEach(lt=>{const bt=U.get(lt.element);if(bt&&bt.length){const kt=rt(bt);lt.setRealPlayer(kt)}}),E.forEach(lt=>{lt.parentPlayer?lt.syncPlayerEvents(lt.parentPlayer):lt.destroy()});for(let lt=0;lt<fn.length;lt++){const bt=fn[lt],kt=bt[yn];if(Fr(bt,ke),kt&&kt.hasAnimation)continue;let cn=[];if(Q.size){let si=Q.get(bt);si&&si.length&&cn.push(...si);let Lr=this.driver.query(bt,$e,!0);for(let Fi=0;Fi<Lr.length;Fi++){let An=Q.get(Lr[Fi]);An&&An.length&&cn.push(...An)}}const Hn=cn.filter(si=>!si.destroyed);Hn.length?Jo(this,bt,Hn):this.processLeaveNode(bt)}return fn.length=0,Ni.forEach(lt=>{this.players.push(lt),lt.onDone(()=>{lt.destroy();const bt=this.players.indexOf(lt);this.players.splice(bt,1)}),lt.play()}),Ni}elementContainsData(a,o){let g=!1;const E=o[yn];return E&&E.setForRemoval&&(g=!0),this.playersByElement.has(o)&&(g=!0),this.playersByQueriedElement.has(o)&&(g=!0),this.statesByElement.has(o)&&(g=!0),this._fetchNamespace(a).elementContainsData(o)||g}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,o,g,E,U){let Z=[];if(o){const Q=this.playersByQueriedElement.get(a);Q&&(Z=Q)}else{const Q=this.playersByElement.get(a);if(Q){const ge=!U||U==bn;Q.forEach(Me=>{Me.queued||!ge&&Me.triggerName!=E||Z.push(Me)})}}return(g||E)&&(Z=Z.filter(Q=>!(g&&g!=Q.namespaceId||E&&E!=Q.triggerName))),Z}_beforeAnimationBuild(a,o,g){const U=o.element,Z=o.isRemovalTransition?void 0:a,Q=o.isRemovalTransition?void 0:o.triggerName;for(const ge of o.timelines){const Me=ge.element,nt=Me!==U,_t=Kt(g,Me,[]);this._getPreviousPlayers(Me,nt,Z,Q,o.toState).forEach(Pt=>{const Ot=Pt.getRealPlayer();Ot.beforeDestroy&&Ot.beforeDestroy(),Pt.destroy(),_t.push(Pt)})}gt(U,o.fromStyles)}_buildAnimation(a,o,g,E,U,Z){const Q=o.triggerName,ge=o.element,Me=[],nt=new Set,_t=new Set,Bt=o.timelines.map(Ot=>{const Zt=Ot.element;nt.add(Zt);const fn=Zt[yn];if(fn&&fn.removedBeforeQueried)return new Et(Ot.duration,Ot.delay);const In=Zt!==ge,Yn=function Xo(f){const a=[];return Ne(f,a),a}((g.get(Zt)||hn).map(ar=>ar.getRealPlayer())).filter(ar=>!!ar.element&&ar.element===Zt),mr=U.get(Zt),er=Z.get(Zt),yi=St(0,this._normalizer,0,Ot.keyframes,mr,er),Cr=this._buildPlayer(Ot,yi,Yn);if(Ot.subTimeline&&E&&_t.add(Zt),In){const ar=new Tr(a,Q,Zt);ar.setRealPlayer(Cr),Me.push(ar)}return Cr});Me.forEach(Ot=>{Kt(this.playersByQueriedElement,Ot.element,[]).push(Ot),Ot.onDone(()=>function Vs(f,a,o){let g;if(f instanceof Map){if(g=f.get(a),g){if(g.length){const E=g.indexOf(o);g.splice(E,1)}0==g.length&&f.delete(a)}}else if(g=f[a],g){if(g.length){const E=g.indexOf(o);g.splice(E,1)}0==g.length&&delete f[a]}return g}(this.playersByQueriedElement,Ot.element,Ot))}),nt.forEach(Ot=>Jn(Ot,Ze));const Pt=rt(Bt);return Pt.onDestroy(()=>{nt.forEach(Ot=>Fr(Ot,Ze)),it(ge,o.toStyles)}),_t.forEach(Ot=>{Kt(E,Ot,[]).push(Pt)}),Pt}_buildPlayer(a,o,g){return o.length>0?this.driver.animate(a.element,o,a.duration,a.delay,a.easing,g):new Et(a.duration,a.delay)}}class Tr{constructor(a,o,g){this.namespaceId=a,this.triggerName=o,this.element=g,this._player=new Et,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(o=>{this._queuedCallbacks[o].forEach(g=>Ke(a,o,void 0,g))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const o=this._player;o.triggerCallback&&a.onStart(()=>o.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,o){Kt(this._queuedCallbacks,a,[]).push(o)}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 o=this._player;o.triggerCallback&&o.triggerCallback(a)}}function Ft(f){return f&&1===f.nodeType}function vr(f,a){const o=f.style.display;return f.style.display=a??"none",o}function Hs(f,a,o,g,E){const U=[];o.forEach(ge=>U.push(vr(ge)));const Z=[];g.forEach((ge,Me)=>{const nt={};ge.forEach(_t=>{const Bt=nt[_t]=a.computeStyle(Me,_t,E);(!Bt||0==Bt.length)&&(Me[yn]=ui,Z.push(Me))}),f.set(Me,nt)});let Q=0;return o.forEach(ge=>vr(ge,U[Q++])),Z}function $s(f,a){const o=new Map;if(f.forEach(Q=>o.set(Q,[])),0==a.length)return o;const E=new Set(a),U=new Map;function Z(Q){if(!Q)return 1;let ge=U.get(Q);if(ge)return ge;const Me=Q.parentNode;return ge=o.has(Me)?Me:E.has(Me)?1:Z(Me),U.set(Q,ge),ge}return a.forEach(Q=>{const ge=Z(Q);1!==ge&&o.get(ge).push(Q)}),o}function Jn(f,a){f.classList?.add(a)}function Fr(f,a){f.classList?.remove(a)}function Jo(f,a,o){rt(o).onDone(()=>f.processLeaveNode(a))}function Ne(f,a){for(let o=0;o<f.length;o++){const g=f[o];g instanceof We?Ne(g.players,a):a.push(g)}}function Ii(f,a,o){const g=o.get(f);if(!g)return!1;let E=a.get(f);return E?g.forEach(U=>E.add(U)):a.set(f,g),o.delete(f),!0}class Sn{constructor(a,o,g){this.bodyNode=a,this._driver=o,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(E,U)=>{},this._transitionEngine=new ys(a,o,g),this._timelineEngine=new Be(a,o,g),this._transitionEngine.onRemovalComplete=(E,U)=>this.onRemovalComplete(E,U)}registerTrigger(a,o,g,E,U){const Z=a+"-"+E;let Q=this._triggerCache[Z];if(!Q){const ge=[],nt=ds(this._driver,U,ge,[]);if(ge.length)throw function Qn(f,a){return new u.vHH(3404,Te)}();Q=function k(f,a,o){return new b(f,a,o)}(E,nt,this._normalizer),this._triggerCache[Z]=Q}this._transitionEngine.registerTrigger(o,E,Q)}register(a,o){this._transitionEngine.register(a,o)}destroy(a,o){this._transitionEngine.destroy(a,o)}onInsert(a,o,g,E){this._transitionEngine.insertNode(a,o,g,E)}onRemove(a,o,g,E){this._transitionEngine.removeNode(a,o,E||!1,g)}disableAnimations(a,o){this._transitionEngine.markElementAsDisabled(a,o)}process(a,o,g,E){if("@"==g.charAt(0)){const[U,Z]=pt(g);this._timelineEngine.command(U,o,Z,E)}else this._transitionEngine.trigger(a,o,g,E)}listen(a,o,g,E,U){if("@"==g.charAt(0)){const[Z,Q]=pt(g);return this._timelineEngine.listen(Z,o,Q,U)}return this._transitionEngine.listen(a,o,g,E,U)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ei=(()=>{class f{constructor(o,g,E){this._element=o,this._startStyles=g,this._endStyles=E,this._state=0;let U=f.initialStylesByElement.get(o);U||f.initialStylesByElement.set(o,U={}),this._initialStyles=U}start(){this._state<1&&(this._startStyles&&it(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(it(this._element,this._initialStyles),this._endStyles&&(it(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(f.initialStylesByElement.delete(this._element),this._startStyles&&(gt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gt(this._element,this._endStyles),this._endStyles=null),it(this._element,this._initialStyles),this._state=3)}}return f.initialStylesByElement=new WeakMap,f})();function fr(f){let a=null;const o=Object.keys(f);for(let g=0;g<o.length;g++){const E=o[g];di(E)&&(a=a||{},a[E]=f[E])}return a}function di(f){return"display"===f||"position"===f}class ts{constructor(a,o,g,E){this.element=a,this.keyframes=o,this.options=g,this._specialStyles=E,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=g.duration,this._delay=g.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,o,g){return a.animate(o,g)}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 o=this._finalKeyframe;Object.keys(o).forEach(g=>{"offset"!=g&&(a[g]=this._finished?o[g]:en(this.element,g))})}this.currentSnapshot=a}triggerCallback(a){const o="start"==a?this._onStartFns:this._onDoneFns;o.forEach(g=>g()),o.length=0}}class Ka{validateStyleProperty(a){return Je(a)}matchesElement(a,o){return!1}containsElement(a,o){return ee(a,o)}getParentElement(a){return Wt(a)}query(a,o,g){return z(a,o,g)}computeStyle(a,o,g){return window.getComputedStyle(a)[o]}animate(a,o,g,E,U,Z=[]){const ge={duration:g,delay:E,fill:0==E?"both":"forwards"};U&&(ge.easing=U);const Me={},nt=Z.filter(Bt=>Bt instanceof ts);(function dr(f,a){return 0===f||0===a})(g,E)&&nt.forEach(Bt=>{let Pt=Bt.currentSnapshot;Object.keys(Pt).forEach(Ot=>Me[Ot]=Pt[Ot])}),o=function hr(f,a,o){const g=Object.keys(o);if(g.length&&a.length){let U=a[0],Z=[];if(g.forEach(Q=>{U.hasOwnProperty(Q)||Z.push(Q),U[Q]=o[Q]}),Z.length)for(var E=1;E<a.length;E++){let Q=a[E];Z.forEach(function(ge){Q[ge]=en(f,ge)})}}return a}(a,o=o.map(Bt=>Ge(Bt,!1)),Me);const _t=function zs(f,a){let o=null,g=null;return Array.isArray(a)&&a.length?(o=fr(a[0]),a.length>1&&(g=fr(a[a.length-1]))):a&&(o=fr(a)),o||g?new ei(f,o,g):null}(a,o);return new ts(a,o,ge,_t)}}let ea=(()=>{class f extends N{constructor(o,g){super(),this._nextAnimationId=0,this._renderer=o.createRenderer(g.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(o){const g=this._nextAnimationId.toString();this._nextAnimationId++;const E=Array.isArray(o)?re(o):o;return Wn(this._renderer,null,g,"register",[E]),new Qa(g,this._renderer)}}return f.\u0275fac=function(o){return new(o||f)(u.LFG(u.FYo),u.LFG(_.K0))},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac}),f})();class Qa extends class F{}{constructor(a,o){super(),this._id=a,this._renderer=o}create(a,o){return new vs(this._id,a,o||{},this._renderer)}}class vs{constructor(a,o,g,E){this.id=a,this.element=o,this._renderer=E,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(a,o){return this._renderer.listen(this.element,`@@${this.id}:${a}`,o)}_command(a,...o){return Wn(this._renderer,this.element,this.id,a,o)}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 Wn(f,a,o,g,E){return f.setProperty(a,`@@${o}:${g}`,E)}const Gs="@.disabled";let hi=(()=>{class f{constructor(o,g,E){this.delegate=o,this.engine=g,this._zone=E,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),g.onRemovalComplete=(U,Z)=>{const Q=Z?.parentNode(U);Q&&Z.removeChild(Q,U)}}createRenderer(o,g){const U=this.delegate.createRenderer(o,g);if(!(o&&g&&g.data&&g.data.animation)){let nt=this._rendererCache.get(U);return nt||(nt=new pr("",U,this.engine),this._rendererCache.set(U,nt)),nt}const Z=g.id,Q=g.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,o);const ge=nt=>{Array.isArray(nt)?nt.forEach(ge):this.engine.registerTrigger(Z,Q,o,nt.name,nt)};return g.data.animation.forEach(ge),new ta(this,Q,U,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(o,g,E){o>=0&&o<this._microtaskId?this._zone.run(()=>g(E)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(U=>{const[Z,Q]=U;Z(Q)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([g,E]))}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 f.\u0275fac=function(o){return new(o||f)(u.LFG(u.FYo),u.LFG(Sn),u.LFG(u.R0b))},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac}),f})();class pr{constructor(a,o,g){this.namespaceId=a,this.delegate=o,this.engine=g,this.destroyNode=this.delegate.destroyNode?E=>o.destroyNode(E):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,o){return this.delegate.createElement(a,o)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,o){this.delegate.appendChild(a,o),this.engine.onInsert(this.namespaceId,o,a,!1)}insertBefore(a,o,g,E=!0){this.delegate.insertBefore(a,o,g),this.engine.onInsert(this.namespaceId,o,a,E)}removeChild(a,o,g){this.engine.onRemove(this.namespaceId,o,this.delegate,g)}selectRootElement(a,o){return this.delegate.selectRootElement(a,o)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,o,g,E){this.delegate.setAttribute(a,o,g,E)}removeAttribute(a,o,g){this.delegate.removeAttribute(a,o,g)}addClass(a,o){this.delegate.addClass(a,o)}removeClass(a,o){this.delegate.removeClass(a,o)}setStyle(a,o,g,E){this.delegate.setStyle(a,o,g,E)}removeStyle(a,o,g){this.delegate.removeStyle(a,o,g)}setProperty(a,o,g){"@"==o.charAt(0)&&o==Gs?this.disableAnimations(a,!!g):this.delegate.setProperty(a,o,g)}setValue(a,o){this.delegate.setValue(a,o)}listen(a,o,g){return this.delegate.listen(a,o,g)}disableAnimations(a,o){this.engine.disableAnimations(a,o)}}class ta extends pr{constructor(a,o,g,E){super(o,g,E),this.factory=a,this.namespaceId=o}setProperty(a,o,g){"@"==o.charAt(0)?"."==o.charAt(1)&&o==Gs?this.disableAnimations(a,g=void 0===g||!!g):this.engine.process(this.namespaceId,a,o.substr(1),g):this.delegate.setProperty(a,o,g)}listen(a,o,g){if("@"==o.charAt(0)){const E=function uo(f){switch(f){case"body":return document.body;case"document":return document;case"window":return window;default:return f}}(a);let U=o.substr(1),Z="";return"@"!=U.charAt(0)&&([U,Z]=function Cs(f){const a=f.indexOf(".");return[f.substring(0,a),f.substr(a+1)]}(U)),this.engine.listen(this.namespaceId,E,U,Z,Q=>{this.factory.scheduleListenerCallback(Q._data||-1,g,Q)})}return this.delegate.listen(a,o,g)}}let na=(()=>{class f extends Sn{constructor(o,g,E){super(o.body,g,E)}ngOnDestroy(){this.flush()}}return f.\u0275fac=function(o){return new(o||f)(u.LFG(_.K0),u.LFG(T),u.LFG(qi))},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac}),f})();const Ys=new u.OlP("AnimationModuleType"),ti=[{provide:N,useClass:ea},{provide:qi,useFactory:function fi(){return new Bs}},{provide:Sn,useClass:na},{provide:u.FYo,useFactory:function Ws(f,a,o){return new hi(f,a,o)},deps:[Gt.se,Sn,u.R0b]}],ho=[{provide:T,useFactory:()=>new Ka},{provide:Ys,useValue:"BrowserAnimations"},...ti],fo=[{provide:T,useClass:j},{provide:Ys,useValue:"NoopAnimations"},...ti];let bs=(()=>{class f{static withConfig(o){return{ngModule:f,providers:o.disableAnimations?fo:ho}}}return f.\u0275fac=function(o){return new(o||f)},f.\u0275mod=u.oAB({type:f}),f.\u0275inj=u.cJS({providers:ho,imports:[Gt.b2]}),f})();function ws(f,a){if(1&f&&u._uU(0),2&f){const o=u.oxw();u.hij(" ",o.locale.maketext("Loading \u2026"),"\n")}}function oa(f,a){1&f&&u.GkF(0)}function mo(f,a){if(1&f){const o=u.EpF();u.TgZ(0,"button",9),u.NdJ("click",function(){return u.CHM(o),u.oxw(2).fireClose()}),u.TgZ(1,"span"),u._uU(2,"\xd7"),u.qZA()()}if(2&f){const o=u.oxw(2);u.Q6J("id",o.closeButtonID)("title",o.closeLabel),u.uIk("aria-label",o.closeLabel),u.xp6(1),u.uIk("aria-hidden",!0)}}function ha(f,a){if(1&f){const o=u.EpF();u.TgZ(0,"button",10),u.NdJ("click",function(){return u.CHM(o),u.oxw(2).fireToggleMore()}),u._uU(1),u.qZA()}if(2&f){const o=u.oxw(2);u.Q6J("id",o.moreButtonID),u.xp6(1),u.hij(" ",o.moreLabel," ")}}function Gr(f,a){if(1&f&&(u.TgZ(0,"strong",11),u._uU(1),u.qZA()),2&f){const o=u.oxw(2);u.xp6(1),u.Oqu(o.label)}}function ns(f,a){if(1&f&&(u.TgZ(0,"span",12),u._uU(1),u.qZA()),2&f){const o=u.oxw(2);u.Q6J("id",o.textMessageID),u.xp6(1),u.hij(" ",o.message," ")}}function Ks(f,a){if(1&f&&(u.TgZ(0,"li")(1,"span",12),u._uU(2),u.qZA()()),2&f){const o=a.$implicit,g=a.index,E=u.oxw(3);u.xp6(1),u.s9C("id",E.textListID+"_"+g),u.xp6(1),u.hij(" ",o," ")}}function fa(f,a){if(1&f&&(u.TgZ(0,"ul",13),u.YNc(1,Ks,3,2,"li",14),u.qZA()),2&f){const o=u.oxw(2);u.xp6(1),u.Q6J("ngForOf",o.alert.list)}}function rs(f,a){if(1&f&&(u.TgZ(0,"div",1),u.YNc(1,mo,3,4,"button",2),u.YNc(2,ha,2,2,"button",3),u._UZ(3,"span"),u.TgZ(4,"div",4),u.YNc(5,Gr,2,1,"strong",5),u.TgZ(6,"span",6),u.YNc(7,ns,2,2,"span",7),u.qZA(),u.YNc(8,fa,2,1,"ul",8),u.qZA()()),2&f){const o=u.oxw();u.Gre("alert alert-",o.type," ng-hide"),u.Q6J("@openClose",o.animationClass),u.xp6(1),u.Q6J("ngIf",o.showCloseButton),u.xp6(1),u.Q6J("ngIf",o.showMoreButton),u.xp6(1),u.Tol(o.icon),u.uIk("aria-hidden",!0),u.xp6(2),u.Q6J("ngIf",o.hasLabel),u.xp6(2),u.Q6J("ngIf",o.message),u.xp6(1),u.Q6J("ngIf",o.alert&&o.alert.list&&o.alert.list.length)}}function Qs(f,a){if(1&f){const o=u.EpF();u.TgZ(0,"div",6)(1,"cp-alert",7),u.NdJ("close",function(){const U=u.CHM(o).$implicit;return u.oxw().alertClosed(U)}),u.qZA()()}if(2&f){const o=a.$implicit;u.xp6(1),u.Q6J("alert",o)}}function qs(f,a){if(1&f&&u._UZ(0,"div",8),2&f){const o=u.oxw();u.Q6J("ngClass",o.positionClasses)}}class Nn{constructor(a,o,g=Nn.defaultOptions){this._message=a,this._type=o;const E=g.id?g.id:Math.random().toString(36).substr(2,9);this._id=E,this._closable=g.isCloseable??!0,this._autoClosePeriod=g.autoClosePeriod,this._list=g.list,this._showMore=g.showMore||Nn.defaultShowMore,this._ts=g.createdOn??Date.now()}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(a){const{message:o,type:g,...E}=a;return new Nn(o,g,E)}}Nn.defaultShowMore=!1,Nn.defaultAutoClosePeriod=0,Nn.defaultOptions={autoClosePeriod:Nn.defaultAutoClosePeriod,list:[]};var pn=(()=>{return(f=pn||(pn={}))[f.error=0]="error",f[f.success=1]="success",f[f.warning=2]="warning",f[f.information=3]="information",pn;var f})(),Wr=(()=>{return(f=Wr||(Wr={})).add="add",f.remove="remove",f.clear="clear",Wr;var f})();let Ps=(()=>{class f{constructor(){this._alertEventsSource=new R.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(o,g=f.defaultGroup){this._alerts[g]||(this._alerts[g]=[]);const E=o instanceof Nn?o:Nn.makeAlert(o);if(this.list(g).push(E),this._alertEventsSource.next({type:Wr.add,group:g,alert:E}),(0,u.X6Q)())switch(E.type){case pn.error:console.error(E.message,E);break;case pn.warning:console.warn(E.message,E);break;default:console.log(E.message,E)}return E}success(o,g=f.defaultGroup){return this.add(new Nn(o,pn.success,f.defaultSuccessOptions),g)}error(o,g=f.defaultGroup){return this.add({message:o,type:pn.error},g)}info(o,g=f.defaultGroup){return this.add({message:o,type:pn.information},g)}warn(o,g=f.defaultGroup){return this.add({message:o,type:pn.warning},g)}removeById(o,g=f.defaultGroup){const E=this.list(g),U=E.findIndex(Z=>Z.id===o,0);if(-1!==U){const Z=E[U];E.splice(U,1),this._alertEventsSource.next({type:Wr.remove,group:g,alert:Z})}}clear(o=f.defaultGroup){this._alerts[o]=[],this._alertEventsSource.next({type:Wr.clear,group:o})}list(o=f.defaultGroup){return null==this._alerts[o]&&(this._alerts[o]=[]),this._alerts[o]}}return f.defaultGroup="__DEFAULT__",f.defaultSuccessOptions={autoClosePeriod:1e4},f.\u0275fac=function(o){return new(o||f)},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();var Pr=(()=>{return(f=Pr||(Pr={})).inline="inline",f.topLeft="top-left",f.topMiddle="top-middle",f.topRight="top-right",f.bottomLeft="bottom-left",f.bottomMiddle="bottom-middle",f.bottomRight="bottom-right",f.middleLeft="middle-left",f.middleMiddle="middle-middle",f.middleRight="middle-right",Pr;var f})();const Ca=Pr.topRight,bo=Pr.topLeft;let d=(()=>{class f{constructor(o){this.locale=o,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}}return f.\u0275fac=function(o){return new(o||f)(u.Y36(P.g))},f.\u0275cmp=u.Xpm({type:f,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(o,g){if(1&o&&(u.YNc(0,ws,1,1,"ng-template",null,0,u.W1O),u.TgZ(2,"div",1),u._UZ(3,"i",2),u.TgZ(4,"div",3),u.YNc(5,oa,1,0,"ng-container",4),u.qZA()()),2&o){const E=u.MAs(1);u.xp6(2),u.uIk("id",g.containerId),u.xp6(1),u.uIk("id",g.spinnerId),u.xp6(1),u.uIk("id",g.messageId),u.xp6(1),u.Q6J("ngTemplateOutlet",g.loadingTemplate?g.loadingTemplate:E)}},directives:[_.tP],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%]   .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%]   .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%]     a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%]   .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%]   .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']}),f})(),l=(()=>{class f{}return f.\u0275fac=function(o){return new(o||f)},f.\u0275mod=u.oAB({type:f}),f.\u0275inj=u.cJS({imports:[[_.ez,M.m]]}),f})();var Xn=(()=>{return(f=Xn||(Xn={})).new="new",f.closed="closed",f.open="open",Xn;var f})();let Tn=(()=>{class f{constructor(o){this.locale=o,this.close=new u.vpe,this.toggleMore=new u.vpe,this.animationClass=Xn.new}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case pn.success:this.label=this.locale.maketext("Success:");break;case pn.error:this.label=this.locale.maketext("Error:");break;case pn.information:this.label=this.locale.maketext("Information:");break;case pn.warning:this.label=this.locale.maketext("Warning:")}this.moreLabel||(this.moreLabel=this.locale.maketext("More")),this.closeLabel||(this.closeLabel=this.locale.maketext("Close")),setTimeout(()=>{this.animationClass=Xn.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case pn.error:return"type-icon fas fa-times-circle";case pn.warning:return"type-icon fas fa-exclamation-triangle";case pn.information:return"type-icon fas fa-info-circle";case pn.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case pn.error:return"danger";case pn.warning:return"warning";case pn.information:return"info";case pn.success:return"success"}}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=Xn.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const o=this.label;return null!==o&&""!==o}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}startTimer(){this._timeout=setTimeout(()=>this.fireTimeout(),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}_buildID(...o){return o.join("_")}}return f.\u0275fac=function(o){return new(o||f)(u.Y36(P.g))},f.\u0275cmp=u.Xpm({type:f,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"id","title","click"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"id","click"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(o,g){1&o&&u.YNc(0,rs,9,13,"div",0),2&o&&u.Q6J("ngIf",!g.isClosed)},directives:[_.O5,_.sg],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%]   .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[O("openClose",[oe(Xn.new,ie({opacity:0})),oe(Xn.open,ie({opacity:1})),oe(Xn.closed,ie({opacity:0,transform:"translateX(25%)"})),Ae(`${Xn.open} => ${Xn.closed}`,[$("0.25s")]),Ae(`${Xn.new} => ${Xn.open}`,[$("0.25s")]),Ae(`${Xn.closed} => ${Xn.open}`,[$("0.25s")])])]}}),f})(),no=(()=>{class f{}return f.\u0275fac=function(o){return new(o||f)},f.\u0275mod=u.oAB({type:f}),f.\u0275inj=u.cJS({imports:[[_.ez,bs,M.m]]}),f})(),ro=(()=>{class f{constructor(o){this.locale=o}get position(){return this.locale.isLtr?Ca:bo}}return f.\u0275fac=function(o){return new(o||f)(u.LFG(P.g))},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),sd=(()=>{class f{constructor(o,g){this._alertService=o,this._positionService=g,this.alerts=this.alerts?this.alerts:[]}set position(o){this._position=((f,a=Pr.topRight)=>{if(f){const o=(f=>{const a=Object.keys(Pr),g=Object.values(Pr).indexOf(f);return-1!==g?a[g]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(f);if(o)return Pr[o]}return a})(o)}get position(){return this._position.toString()}alertClosed(o){this._alertService.removeById(o.id,this.group)}ngOnInit(){this.group||(this.group=Ps.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(g=>this._addAlert(g)),this._groupEvents=this._alertService.alertEvents.pipe((0,I.h)(g=>g.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(o){return this.alerts.findIndex(g=>g.id===o)}_addAlert(o){return this.alerts.push(o),this.alerts}_removeAlert(o){const g=this._findAlertIndexById(o.id);return g>-1&&(this.alerts.splice(g,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(o){switch(o.type){case Wr.add:this._addAlert(o.alert);break;case Wr.clear:this._clearAlerts();break;case Wr.remove:this._removeAlert(o.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?f.positionPrefix+Pr.inline.toString():f.positionPrefix+this.position.toString()}}return f.positionPrefix="position-",f.\u0275fac=function(o){return new(o||f)(u.Y36(Ps),u.Y36(ro))},f.\u0275cmp=u.Xpm({type:f,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[[1,"alert-list-container",3,"ngClass"],["container",""],[1,"alert-list"],["list",""],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"alert","close"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(o,g){1&o&&(u.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),u.YNc(5,Qs,2,1,"div",4),u.qZA()(),u.YNc(6,qs,1,1,"div",5),u.qZA()),2&o&&(u.xp6(1),u.Q6J("ngClass",g.positionClasses),u.xp6(4),u.Q6J("ngForOf",g.alerts),u.xp6(1),u.Q6J("ngIf",g.hasAlerts))},directives:[Tn,_.mk,_.sg,_.O5],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;bottom:auto;right:auto;left:0;top:0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]}),f})(),Gl=(()=>{class f{}return f.\u0275fac=function(o){return new(o||f)},f.\u0275mod=u.oAB({type:f}),f.\u0275inj=u.cJS({imports:[[_.ez,no]]}),f})()}}]);
Back to Directory File Manager