Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/wh-sql-config/vendor.558d706f399c7ce4.min.js
(self.webpackChunkwh_sql_config=self.webpackChunkwh_sql_config||[]).push([[736],{109:(G,T,c)=>{"use strict";c.d(T,{F:()=>o});var o=(()=>{return(p=o||(o={}))[p.GET=0]="GET",p[p.HEAD=1]="HEAD",p[p.POST=2]="POST",p[p.PUT=3]="PUT",p[p.DELETE=4]="DELETE",p[p.CONNECT=5]="CONNECT",p[p.OPTIONS=6]="OPTIONS",p[p.TRACE=7]="TRACE",p[p.PATCH=8]="PATCH",o;var p})()},7709:(G,T,c)=>{"use strict";c.d(T,{h:()=>o});class o{constructor(S,D){if(!S)throw new Error("You must provide a name when creating a name/value argument");this.name=S,this.value=D}}},3022:(G,T,c)=>{"use strict";c.d(T,{tO:()=>Mt,VN:()=>Ie});var o=c(4235),p=c.n(o),O=c(1305),S=c.n(O),D=c(4798),M=c.n(D),R=c(9138),F=c.n(R),N=c(248),x=c.n(N),k=c(1503),Z=c.n(k),Q=c(7614),ve=c.n(Q);function pe(Ne){if(p()(Ne)||S()(Ne)||M()(Ne)||F()(Ne)||x()(Ne))return!0;if(!ve()(Ne)&&!Z()(Ne))return!1;for(const Ke in Ne)if(!pe(Ne[Ke]))return!1;return!0}class Ie{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Ke,Me,ue){if(!Ke)throw new Error("Name must have a non-empty value");return`${Ke}=${encodeURIComponent(Me.toString())}`+(ue?"":this.recordSeparator)}}class Mt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Ke,Me,ue){if(!Ke)throw new Error("Name must have a non-empty value");if(!pe(Me))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Ke)+":"+JSON.stringify(Me)+(ue?"":this.recordSeparator)}}},4642:(G,T,c)=>{"use strict";c.d(T,{r:()=>et,N:()=>Ct});var o=c(1978),p=c.n(o);function O(Te){return Te?"1":"0"}var M=(()=>{return(Te=M||(M={}))[Te.Ascending=0]="Ascending",Te[Te.Descending=1]="Descending",M;var Te})(),R=(()=>{return(Te=R||(R={}))[Te.Lexicographic=0]="Lexicographic",Te[Te.Ipv4=1]="Ipv4",Te[Te.Numeric=2]="Numeric",Te[Te.NumericZeroAsMax=3]="NumericZeroAsMax",R;var Te})();class F{constructor(De,Je=M.Ascending,It=R.Lexicographic){if(!De)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=De,this.direction=Je,this.type=It}}var N=(()=>{return(Te=N||(N={}))[Te.Contains=0]="Contains",Te[Te.Begins=1]="Begins",Te[Te.Ends=2]="Ends",Te[Te.Matches=3]="Matches",Te[Te.Equal=4]="Equal",Te[Te.NotEqual=5]="NotEqual",Te[Te.LessThan=6]="LessThan",Te[Te.LessThanUnlimited=7]="LessThanUnlimited",Te[Te.GreaterThan=8]="GreaterThan",Te[Te.GreaterThanUnlimited=9]="GreaterThanUnlimited",Te[Te.Defined=10]="Defined",Te[Te.Undefined=11]="Undefined",N;var Te})();class x{constructor(De,Je,It){if(!De)throw new Error("You must define a non-empty column name.");this.column=De,this.operator=Je,this.value=It}}var k=c(7709);const Q=Number.POSITIVE_INFINITY;class ve{constructor(De=1,Je=20){if(De<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(Je<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=De,this.pageSize=Je}all(){return this.pageSize===Q}}class pe{constructor(De=[]){this.headers=De}push(De){this.headers.push(De)}forEach(De,Je){this.headers.forEach(De,Je)}toArray(){const De=[];return this.headers.forEach((Je=>De.push({name:Je.name,value:Je.value}))),De}toObject(){return this.headers.reduce(((De,Je)=>(De[Je.name]=Je.value,De)),{})}}class ye{constructor(De){this._header=De}get name(){return this._header.name}get value(){return this._header.value}}class Ie extends Error{constructor(De){super(De),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Ie.prototype)}}class Mt extends Error{constructor(De){super(De),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Mt.prototype)}}class Ne extends ye{constructor(De,Je){if(!De)throw new Ie("You must pass a valid token to the constructor.");if(!Je&&!/^.+[:]/.test(De))throw new Ie("You must pass a cPanel username associated with the cPanel API token.");if(!Je&&!/[:].+$/.test(De))throw new Ie("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Je?Je+":":""}${De}`})}}Error,Error;var Et=c(109);const He=new class Ge{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Et.F.GET,Et.F.DELETE,Et.F.HEAD].forEach((De=>{const Je=Et.F[De].toString();this.map[Je]={verb:Je,dataInBody:!1}})),[Et.F.POST,Et.F.PUT,Et.F.PATCH].forEach((De=>{const Je=Et.F[De].toString();this.map[Je]={verb:Je,dataInBody:!0}}))}getRule(De){const Je="string"==typeof De?De:Et.F[De].toString();let It=this.map[Je];return It||(It=this.map.DEFAULT),It}};var dt=c(3022),Qe=c(8448),Wt=c.n(Qe),Ct=(()=>{return(Te=Ct||(Ct={})).JsonApi="json-api",Te.XmlApi="xml-api",Ct;var Te})();class et extends class yt{constructor(De){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ve,this.headers=new pe,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,De&&(this.method=De.method,De.namespace&&(this.namespace=De.namespace),De.arguments&&De.arguments.forEach((Je=>{this.addArgument(Je)})),De.sorts&&De.sorts.forEach((Je=>{this.addSort(Je)})),De.filters&&De.filters.forEach((Je=>{this.addFilter(Je)})),De.columns&&De.columns.forEach((Je=>this.addColumn(Je))),De.pager&&this.paginate(De.pager),this.config=De.config?De.config:this.defaultConfig,De.headers&&De.headers.forEach((Je=>{this.addHeader(Je)})))}get usePager(){return this._usePager}addArgument(De){return this.arguments.push(De instanceof k.h?De:new k.h(De.name,De.value)),this}addSort(De){return this.sorts.push(De instanceof F?De:new F(De.column,De.direction,De.type)),this}addFilter(De){return this.filters.push(De instanceof x?De:new x(De.column,De.operator,De.value)),this}addColumn(De){return this.columns.push(De),this}addHeader(De){return this.headers.push(De instanceof ye?De:new ye(De)),this}paginate(De){return this.pager=De instanceof ve?De:new ve(De.page,De.pageSize||20),this._usePager=!0,this}}{constructor(De,Je){if(super(Je),this.apiType=Ct.JsonApi,De!=Ct.JsonApi&&De!=Ct.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=De,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(De){if(De instanceof Ne)throw new Mt("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(De),this}_build(De,Je){let It="";return De.forEach(((wt,We,ze)=>{It+=Je.encode(wt.name,wt.value,We===ze.length-1)})),Je.separatorStart+It+Je.separatorEnd}_make_whm_api_fieldspec_from_number(De){return Wt()("",Math.floor(De/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(De%26)}_generateArguments(De){De.push({name:"api.version",value:1}),this.arguments.forEach((It=>De.push(It)))}_generateSorts(De){this.sorts.forEach(((Je,It)=>{0===It&&De.push({name:"api.sort.enable",value:O(!0)});const wt=`api.sort.${this._make_whm_api_fieldspec_from_number(It)}`;De.push({name:`${wt}.field`,value:Je.column}),De.push({name:`${wt}.reverse`,value:O(Je.direction!==M.Ascending)}),De.push({name:`${wt}.method`,value:p()(R[Je.type])})}))}_lookupFilterOperator(De){switch(De){case N.GreaterThanUnlimited:return"gt_handle_unlimited";case N.GreaterThan:return"gt";case N.LessThanUnlimited:return"lt_handle_unlimited";case N.LessThan:return"lt";case N.Equal:return"eq";case N.Begins:return"begins";case N.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${N[De]} for WHM API 1`)}}_generateFilters(De){this.filters.forEach(((Je,It)=>{0===It&&(De.push({name:"api.filter.enable",value:O(!0)}),De.push({name:"api.filter.verbose",value:O(!0)}));const wt=`api.filter.${this._make_whm_api_fieldspec_from_number(It)}`;De.push({name:`${wt}.field`,value:Je.column}),De.push({name:`${wt}.type`,value:this._lookupFilterOperator(Je.operator)}),De.push({name:`${wt}.arg0`,value:Je.value})}))}_translatePageToStart(De){return(De.page-1)*De.pageSize+1}_generatePagination(De){if(!this.usePager)return;const Je=this.pager.all();De.push({name:"api.chunk.enable",value:O(!0)}),De.push({name:"api.chunk.verbose",value:O(!0)}),De.push({name:"api.chunk.start",value:Je?-1:this._translatePageToStart(this.pager)}),Je||De.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(De){De||(De={verb:Et.F.POST,encoder:this.config.json?new dt.tO:new dt.VN}),De.encoder||(De.encoder=this.config.json?new dt.tO:new dt.VN);const Je=He.getRule(De.verb),It={headers:new pe([{name:"Content-Type",value:De.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},wt=[];this._generateArguments(wt),this._generateSorts(wt),this._generateFilters(wt),this._generatePagination(wt);const We=this._build(wt,De.encoder);return Je.dataInBody?It.body=We:It.url+=De.verb===Et.F.GET?`?${We}`:We,this.headers.forEach((ze=>{It.headers.push({name:ze.name,value:ze.value})})),It}}},269:(G,T,c)=>{"use strict";T.g=void 0;const p=c(1680);Object.defineProperty(T,"g",{enumerable:!0,get:function(){return p.Locale}})},5074:(G,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.CLDR=void 0,T.CLDR=class c{constructor(p){this.rawData=p,this.validateCLDR(this.rawData)}validateCLDR(p){if(!p)throw new Error("CLDR data cannot be null");if(!p.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(p,"functions")||Object.prototype.hasOwnProperty.call(p,"get_plural_form")||"function"!=typeof p.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(p,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(p,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(p.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(p,...O){return this.rawData.functions.get_plural_form(p,...O)}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:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.Locale=void 0;const o=c(2889),p=c(9483),O=c(741),S=c(786),D=c(5074);T.Locale=class M{constructor(F,N={}){this.lexicon=N,this._cldr=new D.CLDR(F)}maketext(F,...N){return o.maketext({cldr:this._cldr,lexicon:this.lexicon,template:F,args:N})}localDatetime(F,N){return this._datetimeWrapper(p.local_datetime,F,N)}datetime(F,N){return this._datetimeWrapper(p.datetime,F,N)}_datetimeWrapper(F,N,x){return F({cldr:this._cldr,args:[N,x]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(F,N){return this._formatNumber(O.numf,F,N)}format_bytes(F,N){return this._formatNumber(O.format_bytes,F,N)}_formatNumber(F,...N){return this._callCLDRFunc(F,N)}list_and(...F){return this._callCLDRFunc(S.list_and,F)}list_and_quoted(...F){return this._callCLDRFunc(S.list_and_quoted,F)}list_or(...F){return this._callCLDRFunc(S.list_or,F)}list_or_quoted(...F){return this._callCLDRFunc(S.list_or_quoted,F)}_callCLDRFunc(F,N){return F({cldr:this._cldr,args:N})}}},7296:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.asis=void 0;const o=c(5247);T.asis=function p({args:[O,...S]}){if(!O||S.length>0||"string"!=typeof O)throw new Error("asis function accepts one non translatable string.");return(O=O.replace(/chr\((\d+)\)/g,(function(D,M){return o.functions.chr(Number(M))}))).replace(/amp\(\)/g,(function(D){return o.functions.amp()}))}},527:(G,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.boolean=void 0,T.boolean=function c({args:[o,p,O,S]}){if(null==p||0===p.length||null==O||0===O.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof o<"u"&&o?p:S&&null==o?S:O)}},9076:(G,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.comment=void 0,T.comment=function c({args:[o]}){return""}},9483:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.local_datetime=T.datetime=T.dateToLocalDayNum=void 0;const o=c(5074),p=function(x){const k=x.getUTCDay()-1;return k<0?6:k},O=[7,1,2,3,4,5,6];function S(x,k){return(O[x.getUTCDay()]+7-k)%7+1}T.dateToLocalDayNum=S;const D=function(x,k,Z){let Q="",ve=0;return k=k||0,Z=String(void 0===Z?" ":Z),ve=k-String(x).length,ve>0&&(Q=[...Array(ve)].map(String.prototype.valueOf,Z).join("")),Q+x};function M({cldr:x,args:[k=new Date,Z],tzString:Q="UTC"}){if("number"==typeof k&&/^-?\d+$/.test(k.toString())&&(k=new Date(1e3*k)),!(k instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(x instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ve=x.getDateTimeInfo();return"string"==typeof Z&&/^(?:date|time|datetime|special)_format_/.test(Z)&&(Z=ve[Z]),Z||(Z=ve.date_format_long),Z.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(pe,ye,Ie){return ye?function R(x){return x.substr(1,x.length-2)}(ye):function F(x,k,Z,Q){switch(Z){case"yy":return Math.abs(x.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(x.getUTCFullYear()));case"MMMMM":return k.month_format_narrow[x.getUTCMonth()];case"LLLLL":return k.month_stand_alone_narrow[x.getUTCMonth()];case"MMMM":return k.month_format_wide[x.getUTCMonth()];case"LLLL":return k.month_stand_alone_wide[x.getUTCMonth()];case"MMM":return k.month_format_abbreviated[x.getUTCMonth()];case"LLL":return k.month_stand_alone_abbreviated[x.getUTCMonth()];case"MM":case"LL":return D((x.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(x.getUTCMonth()+1);case"EEEE":return k.day_format_wide[p(x)];case"EEE":case"EE":case"E":return k.day_format_abbreviated[p(x)];case"EEEEE":return k.day_format_narrow[p(x)];case"cccc":return k.day_stand_alone_wide[p(x)];case"ccc":return k.day_stand_alone_abbreviated[p(x)];case"cc":case"c":return String(S(x,Number(k.first_day_of_week)));case"ccccc":return k.day_stand_alone_narrow[p(x)];case"dd":return D(x.getUTCDate().toString(),2,"0");case"d":return String(x.getUTCDate());case"h":case"hh":{let ve=x.getUTCHours();ve>12&&(ve-=12),0===ve&&(ve=12);const pe="hh"===Z?D(ve.toString(),2,"0"):ve;return String(pe)}case"H":return String(x.getUTCHours());case"HH":return D(x.getUTCHours().toString(),2,"0");case"m":return String(x.getUTCMinutes());case"mm":return D(x.getUTCMinutes().toString(),2,"0");case"s":return String(x.getUTCSeconds());case"ss":return D(x.getUTCSeconds().toString(),2,"0");case"a":return x.getUTCHours()<12?k.am_pm_abbreviated[0]:k.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Q;case"G":case"GG":case"GGG":return k.era_abbreviated[x.getUTCFullYear()<0?0:1];case"GGGGG":return k.era_narrow[x.getUTCFullYear()<0?0:1];case"GGGG":return k.era_wide[x.getUTCFullYear()<0?0:1]}return Z}(k,ve,Ie,Q)}))}T.datetime=M,T.local_datetime=function N({cldr:x,args:[k=new Date,Z]}){if("number"==typeof k&&/^-?\d+$/.test(k.toString())&&(k=new Date(1e3*k)),!(k instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(x instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Q=k.getTimezoneOffset();(k=new Date(k)).setMinutes(k.getMinutes()-Q);const ve=Q>0?"-":"+",pe=Math.floor(Math.abs(Q)/60),ye=Math.abs(Q%60);return M({cldr:x,args:[k,Z],tzString:"GMT"+ve+D(pe.toString(),2,"0")+D(ye.toString(),2,"0")})}},40:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.functions=void 0;const o=c(7296),p=c(5247),O=c(9076),S=c(527),D=c(741),M=c(9483),R=c(786);T.functions={asis:o.asis,output:p.output,comment:O.comment,boolean:S.boolean,numf:D.numf,numerate:D.numerate,quant:D.quant,format_bytes:D.format_bytes,datetime:M.datetime,local_datetime:M.local_datetime,list_and:R.list_and,list_or:R.list_or,list_or_quoted:R.list_or_quoted,list_and_quoted:R.list_and_quoted}},786:(G,T)=>{"use strict";function o(R,F,...N){let x=N.slice();switch(1===x.length&&Array.isArray(x[0])&&(x=x[0].slice()),(typeof x>"u"||0===x.length)&&(x=[""]),x=x.map((k=>function c(R,F){const N=R.getDelimiters();return N&&Object.prototype.hasOwnProperty.call(N,"quotation_start")&&Object.prototype.hasOwnProperty.call(N,"quotation_end")?N.quotation_start+F+N.quotation_end:F}(R,k))),F){case"list_and":return D({cldr:R,args:x});case"list_or":return M({cldr:R,args:x});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function S(R,F,...N){let x=N.slice();1===x.length&&Array.isArray(x[0])&&(x=x[0].slice());const k=x.length;let Z,Q,ve,pe;try{Z=R.getFormats()[F]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const ye=function(Ie,Mt){switch(Mt){case"0":return ve;case"1":return x[pe++]}};switch(k){case 0:return"";case 1:return String(x[0]);default:if(ve=2===k?Z[2]:Z.start,ve=ve.replace(/\{([01])\}/g,(function(Ie,Mt){return x[Mt]})),2===k)return ve;for(pe=2;pe<k;)Q=Z[pe===k-1?"end":"middle"],ve=Q.replace(/\{([01])\}/g,ye);return ve}}function D({cldr:R,args:[...F]}){return S(R,"list",...F)}function M({cldr:R,args:[...F]}){return S(R,"list_or",...F)}Object.defineProperty(T,"__esModule",{value:!0}),T.list_or=T.list_and=T.list_or_quoted=T.list_and_quoted=void 0,T.list_and_quoted=function p({cldr:R,args:[...F]}){return o(R,"list_and",...F)},T.list_or_quoted=function O({cldr:R,args:[...F]}){return o(R,"list_or",...F)},T.list_and=D,T.list_or=M},5247:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.functions=T.output=void 0;const o=c(7906),p=c(8533);T.output=function O({args:[S,...D]}){if(D&&"string"==typeof D[0]&&(D[0]=D[0].replace(/chr\((\d+)\)/g,(function(M,R){return T.functions.chr(Number(R))})),D[0]=D[0].replace(/amp\(\)/g,(function(M){return T.functions.amp()}))),"function"==typeof T.functions[S])return T.functions[S](...D);throw new Error(`Locale output function '${S}' is not implemented.`)},T.functions={amp:()=>o.htmlEscape("&"),apos:()=>o.htmlEscape("'"),quot:()=>o.htmlEscape('"'),underline:S=>`<u>${S}</u>`,strong:S=>`<strong>${S}</strong>`,em:S=>`<em>${S}</em>`,abbr:(S,D)=>`<abbr title="${D}">${S}</abbr>`,acronym:(S,D)=>`<abbr title="${D}" class="initialism">${S}</abbr>`,class:(S,...D)=>`<span class="${D.join(" ")}">${S}</span>`,chr(S){if("string"==typeof S&&(S=Number(S)),"number"!=typeof S||isNaN(S))throw new Error("chr needs a number as argument");return o.htmlEscape(String.fromCharCode(S))},url(S,...D){let M,R;if("object"==typeof D[D.length-1])if(M=D[D.length-1],2===D.length){if(M.html)throw new Error("Cannot provide both text and configuration with html attribute");R=D[0]}else M&&M.html?(R=M.html,delete M.html):R=S;else D.length%2==0?(M=p.listToObject(...D),M&&"html"in M&&""!==M.html?(R=M.html,delete M.html):R=S):(R=D.shift(),M=p.listToObject(...D));"_type"in M&&"offsite"===M._type&&(M.class="offsite",M.target="_blank",delete M._type);let F=`<a href="${S}"`;if("object"==typeof M)for(const N in M)Object.prototype.hasOwnProperty.call(M,N)&&(F+=` ${N}="${M[N]}"`);return F+=`>${R}</a>`,F}}},741:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.format_bytes=T.numf=T.quant=T.numerate=void 0;const o=c(5074);function O({cldr:R,args:[F,...N]}){if(!(R instanceof o.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let x,k=3;F instanceof Array?(k=F[1],x=F[0]):x=F;const Z=R.getPluralForm(x,...N),Q=Z[0]?Z[0]:N[N.length-1];if(Z&&Z.length>=2&&Z[1])return Q;const pe=D({cldr:R,args:[x,k]});return-1!==Q.indexOf("%s")?Q.replace(/%s/g,pe):R.isRtl()?Q+" "+pe:pe+" "+Q}function D({cldr:R,args:[F,N=6]}){if(!(R instanceof o.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:x,decimalGroup:k,decimalDecimal:Z}=function S(R){const F={},N=R.getFormats();return Object.prototype.hasOwnProperty.call(N,"decimal")&&(F.decimalFormat=N.decimal),Object.prototype.hasOwnProperty.call(N,"_decimal_format_group")&&(F.decimalGroup=N._decimal_format_group),Object.prototype.hasOwnProperty.call(N,"_decimal_format_decimal")&&(F.decimalDecimal=N._decimal_format_decimal),F}(R);if(!x||!k||!Z)throw new Error("CLDR Data is missing information related to formatting decimals.");const Q=F<0;F=Math.abs(F);let pe,ye,ve=Math.floor(F);/(?!')\.(?!')/.test(F.toString())&&(pe=String(F).replace(/^[^.]+/,"0"),pe=Number(pe).toFixed(N),/^1/.test(pe)?(ve++,F=ve,pe=void 0):pe=pe.replace(/^.*\./,"").replace(/0+$/,"")),ye=/(?!');(?!')/.test(x)?x.split(/(?!');(?!')/)[Q?1:0]:(Q?"-":"")+x;const Ne=ye.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Ke;1===Ne.length?Ke="":(Ne.pop(),Ke=k);const Me=String(ve).split("").reverse(),ue=[];let yt;const Et=function(He){switch(He){case"#":return Me.shift()||"";case"0":return Me.shift()||"0"}};for(;Me.length;){Ne.length&&(yt=Ne.shift());const He=yt.replace(/(?!')[0#]|[0#](?!')/g,Et).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");ue.push(He)}const Ge=ue.join(Ke).split("").reverse().join("")+(pe?Z+pe:"");return ye.replace(/[0#].*[0#]/,Ge)}T.numerate=function p({cldr:R,args:[F,...N]}){if(!(R instanceof o.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const x=R.getPluralForm(F,...N);return x?x[0]:N[N.length-1]},T.quant=O,T.numf=D,T.format_bytes=function M({cldr:R,args:[F,N=2]}){if(!(R instanceof o.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const x=["KB","MB","GB","TB","PB","EB","ZB","YB"],Z=F&&Math.min(Math.floor(Math.log(F)/Math.log(1024)),x.length);return Z?D({cldr:R,args:[F/Math.pow(1024,Z),N]})+" "+x[Z-1]:O({cldr:R,args:[F,"%s byte","%s bytes"]})}},2889:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.maketext=T.functions=T.config=void 0;const o=c(40);function D(M,R){const F=[];let N=!1,x=!1;return M.forEach(((k,Z)=>{if("_"===k.charAt(0))if("_*"===k){if(x)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";F.push(...R),N=!0}else{const Q=k.match(T.config.underscoreDigitRe);if(Q){if(N)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[ve,pe]=Q,ye=Number(pe)-1;if(!(ye in R))throw`The "${ve}" substitution argument was not passed to the maketext function.`;F.push(R[ye]),x=!0}}else F.push(k)})),F}T.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},T.functions={...o.functions},T.maketext=function O({cldr:M,lexicon:R,template:F,args:N}){if("string"!=typeof F)throw"You must pass a string template to the maketext function.";if(-1===(F=R&&R[F]||F).indexOf("["))return F;const x=F.match(T.config.bracketRe)||[],k=[];let Z=!1,Q="";if(x.forEach((ve=>{if("["===ve){if(Z)throw Error(`Invalid maketext string: ${F} \nThe string contains nested brackets.`);Z=!0}else if("]"===ve){if(!Z)throw Error(`Invalid maketext string: ${F} \nThe string contains an unmatched closing bracket character (]).`);if(!Q)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 pe;Z=!1;try{pe=function S(M,R,F){let N=R.split(",");if(N=N.map((Z=>Z.replace(T.config.fauxCommaRe,","))),1===N.length){if(!T.config.underscoreDigitRe.test(N[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Z]=D(N,F);return String(Z)}const x=N.shift();if(!x||"function"!=typeof T.functions[x])throw`Invalid function "${x}" in maketext string.`;const k=D(N,F);return T.functions[x]({cldr:M,args:k})}(M,Q,N)}catch(ye){throw Error(`Invalid maketext string: ${F} \n${ye}`)}Q="",k.push(pe)}else if("~"===ve.charAt(0)){const pe=ve.charAt(1)||"~";Z?Q+=","===pe?T.config.fauxComma:pe:T.config.tildeChars.has(pe)?k.push(pe):k.push(ve)}else Z?Q+=ve:k.push(ve)})),Z)throw Error(`Invalid maketext string: ${F} \nThe string contains an unmatched opening bracket character ([).`);return k.join("")}},7906:(G,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.htmlEscape=T.entityMap=void 0,T.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},T.htmlEscape=function c(o){return String(o).replace(/[&<>"'\/]/g,(p=>T.entityMap[p]))}},8533:(G,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.listToObject=void 0,T.listToObject=function p(...O){let S={};return function c(O){if(O.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let D=0,M=O.length;D<M;D+=2){const R=O[D];if("string"!=typeof R||""===R)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(O)&&(S=function o(O){const S=O.length,D={};let R,F,M=0;for(;M<S;)R=O[M],F=O[++M],D[R]=F,M++;return D}(O)),S}},50:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.commonValidators=void 0;const o=c(2257);T.commonValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(S){const D=S||this.locale.maketext("This field is required.");return M=>{let R={},F=M.value;return F&&(F=F.toString()),F&&F.length?null:(R=this.addError(R,"required",D),R)}}requiredTrue(S){const D=S||this.locale.maketext("This control's value should be true.");return M=>{let R={};return!0!==M.value?(R=this.addError(R,"requiredTrue",D),R):null}}startsWithLetter(S){return D=>{let M={};return D.value&&!this.STARTS_WITH_LETTER.test(D.value)?(M=this.addError(M,"doesNotStartWithLetter",S),M):null}}containsSpaces(S){return D=>{let M={};return D.value&&!this.CONTAINS_SPACES.test(D.value)?(M=this.addError(M,"containsSpace",S),M):null}}minLength(S,D){return M=>{let R={};return M.value&&M.value.length<D?(R=this.addError(R,"minLength",S),R):null}}maxLength(S,D){return M=>{let R={};return M.value&&M.value.length>D?(R=this.addError(R,"maxLength",S),R):null}}}},7414:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.cPUserNoteValidators=void 0;const o=c(2257),p=c(9761),S=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;T.cPUserNoteValidators=new class D extends o.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(R=250,F=""){return N=>{let x=p.stringValidators.validUnicode()(N);if(!x){const k=this.locale.maketext("This note is too long.");x=p.stringValidators.maxCharacterLength(k)(R,N)}if(!x){const k=N.match(S);if(k){x={};const Z=k.index,Q=k[0].codePointAt(0);this.addError(x,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",Q,1+Z))}}return x}}}},6128:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.cpanelUsernameValidators=void 0;const o=c(2257);T.cpanelUsernameValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(S){const D=S||this.locale.maketext("This is not a valid username.");return M=>{let R={};return M.value&&!this.VALID_USERNAME.test(M.value)?(R=this.addError(R,"invalidUsername",D),R):null}}}},6156:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.databaseValidators=void 0;const o=c(2257),p=c(6369);T.databaseValidators=new class O extends o.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(D,M,R){return F=>D===p.DatabaseType.MySQL?(this._dbPrefix=M||"",this.validateMySQLDatabaseName(F.value,R||"")):null}validateMySQLDatabaseName(D,M){const R=this._performMySqlDatabaseNameValidation(D,M);let F={};return R?(F=this.addError(F,"databaseName",R),F):null}_performMySqlDatabaseNameValidation(D,M){let R=null;return R=this._verifyNameLengthLimit(D),null!==R||(R=this._verifyDatabaseNameIgnoreLength(D),null!==R)||(R=this._verifyDatabaseName(D,M)),R}_verifyNameLengthLimit(D){let M=null,R=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(R-=this._dbPrefix.length+1);const F=unescape(encodeURIComponent(D)).length-R;return F>0&&(M={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",F,R)}),M}_verifyDatabaseNameIgnoreLength(D){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(D)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(D)?{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(D,M){if(null!==D&&D.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const R=this._verifySpecialWildcardsInDatabaseNames(D);return null!==R?R:M&&this._convertVersionStringToNumber(M)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(D)?{message:this.locale.maketext("This system’s [asis,MySQL] version ([_1]) prohibits the character “[_2]” in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",M,".")}:null}_convertVersionStringToNumber(D){return D.match(/mariadb/i)&&(D=D.replace(/^[^-]+-/,"")),parseInt(D.replace(/-.*/,"").split(/\./).map((function(M){return M.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames(D){if(null===D)return null;const M=D.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let R=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(R-=this._dbPrefix.length+1);const F=M-R;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.",["\\","_","%"],R,M,F)}:null}}},4559:function(G,T,c){"use strict";var o=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(T,"__esModule",{value:!0}),T.domainValidators=void 0;const p=c(549),O=o(c(4879)),S=o(c(836)),D=c(2257);T.domainValidators=new class M extends D.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 N=[],x=O.default.ucs2.decode(F);for(let k=0;k<x.length;k++)x[k]>this.UNICODE_ASCII_CUTOFF&&N.push(O.default.ucs2.encode([x[k]]));return S.default(N)}_validateLabelBasics(){return F=>{let N={};if(F.value&&0!==F.value.length){if(F.value.length>this.MAX_LABEL_BYTES)N=this.addError(N,"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])N=this.addError(N,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===F.value[F.value.length-1])N=this.addError(N,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(O.default.toASCII(F.value).length>this.MAX_LABEL_BYTES){const x=this._getNonASCII(F.value);N=this.addError(N,"length",this.locale.maketext("The label’s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,x[0]))}}else N=this.addError(N,"length",this.locale.maketext("A label must not be empty."));return N}}validDomainLength(){return F=>{let N={};if(F.value.length>this.MAX_DOMAIN_BYTES)return N=this.addError(N,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),N;if(O.default.toASCII(F.value).length>this.MAX_DOMAIN_BYTES){const k=this._getNonASCII(F.value);return N=this.addError(N,"length",this.locale.maketext("The domain name’s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,k[0])),N}return null}}validateLabel(){return F=>p.runValidationGroup(F,[this._validateLabelBasics(),N=>{let x={};return this.NONINITIAL_LABEL_REGEX.test(N.value)||(x=this.addError(x,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),x}])}validateTLD(){return F=>{let N={};return!this.VALID_TLD_REGEX.test(F.value)&&!this.VALID_IDN_TLD_REGEX.test(F.value)&&(N=this.addError(N,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),N}}fqdn(){return F=>{const N=F.value.split("."),x=N[N.length-1],k=N[0],Z=F.value,Q=[()=>{let ve={};const pe=this.IPv4_REGEX.test(Z),ye=this.IPv6_REGEX.test(Z);return pe||ye?ve=this.addError(ve,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):N.length<2?ve=this.addError(ve,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:k}),this.validateTLD().bind(this,{value:"."+x})];return N.forEach((ve=>{Q.push(this.validateLabel().bind(this,{value:ve}))})),p.runValidationGroup(F,Q)}}fqdnOrIP(){return F=>{const N=p.runValidationGroup(F,[this.anyIP()]),x=F.value.split("."),k=x[x.length-1],Z=x[0],Q=[pe=>{let ye={};return x.length<2&&(ye=this.addError(ye,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),ye},this.validDomainLength(),this.validateLabel().bind(this,{value:Z}),this.validateTLD().bind(this,{value:"."+k})];x.forEach((pe=>{Q.push(this.validateLabel().bind(this,{value:pe}))}));const ve=p.runValidationGroup(F,Q);return N&&ve?{...N,...ve}:null}}ipv4(){return F=>{let N={};return F.value&&!this.IPv4_REGEX.test(F.value)?(N=this.addError(N,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),N):null}}ipv6(){return F=>{let N={};return F.value&&!this.IPv6_REGEX.test(F.value)?(N=this.addError(N,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),N):null}}anyIP(){return F=>{let N={};return!F.value||this.IPv4_REGEX.test(F.value)||this.IPv6_REGEX.test(F.value)?null:(N=this.addError(N,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),N)}}}},8415:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.emailValidators=void 0;const o=c(2257);T.emailValidators=new class p extends o.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(S){const D=S||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return M=>{let R={};return M.value&&!this.VALID_EMAIL.test(M.value)?(R=this.addError(R,"invalidEmail",D),R):null}}}},7348:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.equalityValidators=void 0;const o=c(2257);T.equalityValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(S,D,M){return R=>{const F=R.get(D).value;let x={};return F===R.get(M).value&&""!==F?(x=this.addError(x,"equalFields",S),x):null}}}},2502:(G,T,c)=>{"use strict";T.uZ=void 0;c(50),c(4559);const S=c(2257);Object.defineProperty(T,"uZ",{enumerable:!0,get:function(){return S.BaseValidator}});c(6156),c(6369),c(6128),c(8415),c(7348),c(7414),c(9761)},2257:(G,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.BaseValidator=void 0;let c,o=!0;T.BaseValidator=class O{constructor(){this.prefix="",c={maketext:D=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(D){c=D}get locale(){return c}_buildKey(D){return o?`cpanel.${this.prefix}.${D}`:D}static disablePrefixing(){o=!1}static enablePrefixing(){o=!0}addError(D={},M,R){return"string"==typeof R&&(R={message:R}),D[this._buildKey(M)]=R,D}}},6369:(G,T)=>{"use strict";var o;Object.defineProperty(T,"__esModule",{value:!0}),T.DatabaseType=void 0,(o=T.DatabaseType||(T.DatabaseType={})).MySQL="MySQL",o.PostgreSQL="PostgreSQL"},91:(G,T)=>{"use strict";function O(D){return"0x"+D.toString(16)}Object.defineProperty(T,"__esModule",{value:!0}),T.characterLength=void 0,T.characterLength=function S(D,M){let R=0;for(let F=0;F<D.length;F++){R++;const N=D.charCodeAt(F);if(55296==(64512&N)){if(F++,F===D.length)throw new Error(M.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",O(N)));const x=D.charCodeAt(F);if(56320!=(64512&x))throw new Error(M.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[N,x].map(O),F))}}return R}},549:function(G,T,c){"use strict";var o=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(T,"__esModule",{value:!0}),T.runValidationGroup=void 0;const p=o(c(9721));T.runValidationGroup=function O(S,D){const M={};return D.forEach((R=>{p.default(M,R(S))})),Object.keys(M).length?M:null}},9761:(G,T,c)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.stringValidators=void 0;const o=c(2257),p=c(91);T.stringValidators=new class S extends o.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return M=>{let R;try{R=p.characterLength(M,this.locale)}catch(F){const N={};return this.addError(N,"unicode",F.message),N}return null}}maxCharacterLength(M){return(R,F)=>{if(p.characterLength(F,this.locale)>R){const Z={};return this.addError(Z,"length",M),Z}return null}}maxUTF8Length(M){return(R,F)=>{if(function O(D){return unescape(encodeURIComponent(D)).length}(F)>R){const N={};return this.addError(N,"length",M),N}return null}}}},4994:(G,T,c)=>{var o=c(4312),p=c(6421),O=c(5764),S=c(8685),D=c(6676);function M(R){var F=-1,N=null==R?0:R.length;for(this.clear();++F<N;){var x=R[F];this.set(x[0],x[1])}}M.prototype.clear=o,M.prototype.delete=p,M.prototype.get=O,M.prototype.has=S,M.prototype.set=D,G.exports=M},9215:(G,T,c)=>{var o=c(1840),p=c(4378),O=c(4981),S=c(7343),D=c(8895);function M(R){var F=-1,N=null==R?0:R.length;for(this.clear();++F<N;){var x=R[F];this.set(x[0],x[1])}}M.prototype.clear=o,M.prototype.delete=p,M.prototype.get=O,M.prototype.has=S,M.prototype.set=D,G.exports=M},1501:(G,T,c)=>{var O=c(3436)(c(2119),"Map");G.exports=O},9850:(G,T,c)=>{var o=c(638),p=c(1184),O=c(866),S=c(3771),D=c(1772);function M(R){var F=-1,N=null==R?0:R.length;for(this.clear();++F<N;){var x=R[F];this.set(x[0],x[1])}}M.prototype.clear=o,M.prototype.delete=p,M.prototype.get=O,M.prototype.has=S,M.prototype.set=D,G.exports=M},6323:(G,T,c)=>{var O=c(3436)(c(2119),"Set");G.exports=O},8849:(G,T,c)=>{var o=c(9850),p=c(4600),O=c(1387);function S(D){var M=-1,R=null==D?0:D.length;for(this.__data__=new o;++M<R;)this.add(D[M])}S.prototype.add=S.prototype.push=p,S.prototype.has=O,G.exports=S},443:(G,T,c)=>{var o=c(2119);G.exports=o.Symbol},6999:G=>{G.exports=function T(c,o,p){switch(p.length){case 0:return c.call(o);case 1:return c.call(o,p[0]);case 2:return c.call(o,p[0],p[1]);case 3:return c.call(o,p[0],p[1],p[2])}return c.apply(o,p)}},1253:(G,T,c)=>{var o=c(4164);G.exports=function p(O,S){return!(null==O||!O.length)&&o(O,S,0)>-1}},177:G=>{G.exports=function T(c,o,p){for(var O=-1,S=null==c?0:c.length;++O<S;)if(p(o,c[O]))return!0;return!1}},2271:(G,T,c)=>{var o=c(5334),p=c(7151),O=c(1503),S=c(891),D=c(8442),M=c(8159),F=Object.prototype.hasOwnProperty;G.exports=function N(x,k){var Z=O(x),Q=!Z&&p(x),ve=!Z&&!Q&&S(x),pe=!Z&&!Q&&!ve&&M(x),ye=Z||Q||ve||pe,Ie=ye?o(x.length,String):[],Mt=Ie.length;for(var Ne in x)(k||F.call(x,Ne))&&(!ye||!("length"==Ne||ve&&("offset"==Ne||"parent"==Ne)||pe&&("buffer"==Ne||"byteLength"==Ne||"byteOffset"==Ne)||D(Ne,Mt)))&&Ie.push(Ne);return Ie}},4633:G=>{G.exports=function T(c,o){for(var p=-1,O=null==c?0:c.length,S=Array(O);++p<O;)S[p]=o(c[p],p,c);return S}},8745:G=>{G.exports=function T(c,o,p,O){var S=-1,D=null==c?0:c.length;for(O&&D&&(p=c[++S]);++S<D;)p=o(p,c[S],S,c);return p}},5481:(G,T,c)=>{var p=c(1847)("length");G.exports=p},6422:G=>{G.exports=function T(c){return c.split("")}},69:G=>{var T=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;G.exports=function c(o){return o.match(T)||[]}},9719:(G,T,c)=>{var o=c(5683),p=c(217),S=Object.prototype.hasOwnProperty;G.exports=function D(M,R,F){var N=M[R];(!S.call(M,R)||!p(N,F)||void 0===F&&!(R in M))&&o(M,R,F)}},3503:(G,T,c)=>{var o=c(217);G.exports=function p(O,S){for(var D=O.length;D--;)if(o(O[D][0],S))return D;return-1}},5683:(G,T,c)=>{var o=c(6713);G.exports=function p(O,S,D){"__proto__"==S&&o?o(O,S,{configurable:!0,enumerable:!0,value:D,writable:!0}):O[S]=D}},5317:G=>{G.exports=function T(c,o,p,O){for(var S=c.length,D=p+(O?1:-1);O?D--:++D<S;)if(o(c[D],D,c))return D;return-1}},3337:(G,T,c)=>{var o=c(443),p=c(1318),O=c(2902),M=o?o.toStringTag:void 0;G.exports=function R(F){return null==F?void 0===F?"[object Undefined]":"[object Null]":M&&M in Object(F)?p(F):O(F)}},4164:(G,T,c)=>{var o=c(5317),p=c(968),O=c(4977);G.exports=function S(D,M,R){return M==M?O(D,M,R):o(D,p,R)}},186:(G,T,c)=>{var o=c(3337),p=c(2671);G.exports=function S(D){return p(D)&&"[object Arguments]"==o(D)}},968:G=>{G.exports=function T(c){return c!=c}},7304:(G,T,c)=>{var o=c(5946),p=c(1943),O=c(5940),S=c(2827),M=/^\[object .+?Constructor\]$/,k=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");G.exports=function Z(Q){return!(!O(Q)||p(Q))&&(o(Q)?k:M).test(S(Q))}},1083:(G,T,c)=>{var o=c(3337),p=c(6231),O=c(2671),Qe={};Qe["[object Float32Array]"]=Qe["[object Float64Array]"]=Qe["[object Int8Array]"]=Qe["[object Int16Array]"]=Qe["[object Int32Array]"]=Qe["[object Uint8Array]"]=Qe["[object Uint8ClampedArray]"]=Qe["[object Uint16Array]"]=Qe["[object Uint32Array]"]=!0,Qe["[object Arguments]"]=Qe["[object Array]"]=Qe["[object ArrayBuffer]"]=Qe["[object Boolean]"]=Qe["[object DataView]"]=Qe["[object Date]"]=Qe["[object Error]"]=Qe["[object Function]"]=Qe["[object Map]"]=Qe["[object Number]"]=Qe["[object Object]"]=Qe["[object RegExp]"]=Qe["[object Set]"]=Qe["[object String]"]=Qe["[object WeakMap]"]=!1,G.exports=function Wt(Ct){return O(Ct)&&p(Ct.length)&&!!Qe[o(Ct)]}},2809:(G,T,c)=>{var o=c(5940),p=c(5488),O=c(2158),D=Object.prototype.hasOwnProperty;G.exports=function M(R){if(!o(R))return O(R);var F=p(R),N=[];for(var x in R)"constructor"==x&&(F||!D.call(R,x))||N.push(x);return N}},1847:G=>{G.exports=function T(c){return function(o){return null==o?void 0:o[c]}}},2724:G=>{G.exports=function T(c){return function(o){return null==c?void 0:c[o]}}},7065:G=>{var c=Math.floor;G.exports=function o(p,O){var S="";if(!p||O<1||O>9007199254740991)return S;do{O%2&&(S+=p),(O=c(O/2))&&(p+=p)}while(O);return S}},3269:(G,T,c)=>{var o=c(2608),p=c(3983),O=c(2185);G.exports=function S(D,M){return O(p(D,M,o),D+"")}},9510:(G,T,c)=>{var o=c(6684),p=c(6713),O=c(2608);G.exports=p?function(D,M){return p(D,"toString",{configurable:!0,enumerable:!1,value:o(M),writable:!0})}:O},4363:G=>{G.exports=function T(c,o,p){var O=-1,S=c.length;o<0&&(o=-o>S?0:S+o),(p=p>S?S:p)<0&&(p+=S),S=o>p?0:p-o>>>0,o>>>=0;for(var D=Array(S);++O<S;)D[O]=c[O+o];return D}},5334:G=>{G.exports=function T(c,o){for(var p=-1,O=Array(c);++p<c;)O[p]=o(p);return O}},3935:(G,T,c)=>{var o=c(443),p=c(4633),O=c(1503),S=c(4129),M=o?o.prototype:void 0,R=M?M.toString:void 0;G.exports=function F(N){if("string"==typeof N)return N;if(O(N))return p(N,F)+"";if(S(N))return R?R.call(N):"";var x=N+"";return"0"==x&&1/N==-1/0?"-0":x}},3348:(G,T,c)=>{var o=c(2760),p=/^\s+/;G.exports=function O(S){return S&&S.slice(0,o(S)+1).replace(p,"")}},5647:G=>{G.exports=function T(c){return function(o){return c(o)}}},707:(G,T,c)=>{var o=c(8849),p=c(1253),O=c(177),S=c(5972),D=c(4575),M=c(4174);G.exports=function F(N,x,k){var Z=-1,Q=p,ve=N.length,pe=!0,ye=[],Ie=ye;if(k)pe=!1,Q=O;else if(ve>=200){var Mt=x?null:D(N);if(Mt)return M(Mt);pe=!1,Q=S,Ie=new o}else Ie=x?[]:ye;e:for(;++Z<ve;){var Ne=N[Z],Ke=x?x(Ne):Ne;if(Ne=k||0!==Ne?Ne:0,pe&&Ke==Ke){for(var Me=Ie.length;Me--;)if(Ie[Me]===Ke)continue e;x&&Ie.push(Ke),ye.push(Ne)}else Q(Ie,Ke,k)||(Ie!==ye&&Ie.push(Ke),ye.push(Ne))}return ye}},5972:G=>{G.exports=function T(c,o){return c.has(o)}},2329:(G,T,c)=>{var o=c(4363);G.exports=function p(O,S,D){var M=O.length;return D=void 0===D?M:D,!S&&D>=M?O:o(O,S,D)}},1989:(G,T,c)=>{var o=c(9719),p=c(5683);G.exports=function O(S,D,M,R){var F=!M;M||(M={});for(var N=-1,x=D.length;++N<x;){var k=D[N],Z=R?R(M[k],S[k],k,M,S):void 0;void 0===Z&&(Z=S[k]),F?p(M,k,Z):o(M,k,Z)}return M}},4610:(G,T,c)=>{var o=c(2119);G.exports=o["__core-js_shared__"]},4944:(G,T,c)=>{var o=c(3269),p=c(3342);G.exports=function O(S){return o((function(D,M){var R=-1,F=M.length,N=F>1?M[F-1]:void 0,x=F>2?M[2]:void 0;for(N=S.length>3&&"function"==typeof N?(F--,N):void 0,x&&p(M[0],M[1],x)&&(N=F<3?void 0:N,F=1),D=Object(D);++R<F;){var k=M[R];k&&S(D,k,R,N)}return D}))}},1491:(G,T,c)=>{var o=c(8745),p=c(4707),O=c(7188),D=RegExp("['’]","g");G.exports=function M(R){return function(F){return o(O(p(F).replace(D,"")),R,"")}}},5171:(G,T,c)=>{var o=c(7065),p=c(3935),O=c(2329),S=c(7609),D=c(2315),M=c(6007),R=Math.ceil;G.exports=function F(N,x){var k=(x=void 0===x?" ":p(x)).length;if(k<2)return k?o(x,N):x;var Z=o(x,R(N/D(x)));return S(x)?O(M(Z),0,N).join(""):Z.slice(0,N)}},4575:(G,T,c)=>{var o=c(6323),p=c(2552),O=c(4174),D=o&&1/O(new o([,-0]))[1]==1/0?function(M){return new o(M)}:p;G.exports=D},9148:(G,T,c)=>{var O=c(2724)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});G.exports=O},6713:(G,T,c)=>{var o=c(3436),p=function(){try{var O=o(Object,"defineProperty");return O({},"",{}),O}catch{}}();G.exports=p},9122:G=>{var T="object"==typeof global&&global&&global.Object===Object&&global;G.exports=T},4537:(G,T,c)=>{var o=c(3819);G.exports=function p(O,S){var D=O.__data__;return o(S)?D["string"==typeof S?"string":"hash"]:D.map}},3436:(G,T,c)=>{var o=c(7304),p=c(1990);G.exports=function O(S,D){var M=p(S,D);return o(M)?M:void 0}},9519:(G,T,c)=>{var p=c(9385)(Object.getPrototypeOf,Object);G.exports=p},1318:(G,T,c)=>{var o=c(443),p=Object.prototype,O=p.hasOwnProperty,S=p.toString,D=o?o.toStringTag:void 0;G.exports=function M(R){var F=O.call(R,D),N=R[D];try{R[D]=void 0;var x=!0}catch{}var k=S.call(R);return x&&(F?R[D]=N:delete R[D]),k}},1990:G=>{G.exports=function T(c,o){return null==c?void 0:c[o]}},7609:G=>{var M=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");G.exports=function R(F){return M.test(F)}},9062:G=>{var T=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;G.exports=function c(o){return T.test(o)}},4312:(G,T,c)=>{var o=c(862);G.exports=function p(){this.__data__=o?o(null):{},this.size=0}},6421:G=>{G.exports=function T(c){var o=this.has(c)&&delete this.__data__[c];return this.size-=o?1:0,o}},5764:(G,T,c)=>{var o=c(862),S=Object.prototype.hasOwnProperty;G.exports=function D(M){var R=this.__data__;if(o){var F=R[M];return"__lodash_hash_undefined__"===F?void 0:F}return S.call(R,M)?R[M]:void 0}},8685:(G,T,c)=>{var o=c(862),O=Object.prototype.hasOwnProperty;G.exports=function S(D){var M=this.__data__;return o?void 0!==M[D]:O.call(M,D)}},6676:(G,T,c)=>{var o=c(862);G.exports=function O(S,D){var M=this.__data__;return this.size+=this.has(S)?0:1,M[S]=o&&void 0===D?"__lodash_hash_undefined__":D,this}},8442:G=>{var c=/^(?:0|[1-9]\d*)$/;G.exports=function o(p,O){var S=typeof p;return!!(O=O??9007199254740991)&&("number"==S||"symbol"!=S&&c.test(p))&&p>-1&&p%1==0&&p<O}},3342:(G,T,c)=>{var o=c(217),p=c(6507),O=c(8442),S=c(5940);G.exports=function D(M,R,F){if(!S(F))return!1;var N=typeof R;return!!("number"==N?p(F)&&O(R,F.length):"string"==N&&R in F)&&o(F[R],M)}},3819:G=>{G.exports=function T(c){var o=typeof c;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==c:null===c}},1943:(G,T,c)=>{var S,o=c(4610),p=(S=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"";G.exports=function O(S){return!!p&&p in S}},5488:G=>{var T=Object.prototype;G.exports=function c(o){var p=o&&o.constructor;return o===("function"==typeof p&&p.prototype||T)}},1840:G=>{G.exports=function T(){this.__data__=[],this.size=0}},4378:(G,T,c)=>{var o=c(3503),O=Array.prototype.splice;G.exports=function S(D){var M=this.__data__,R=o(M,D);return!(R<0||(R==M.length-1?M.pop():O.call(M,R,1),--this.size,0))}},4981:(G,T,c)=>{var o=c(3503);G.exports=function p(O){var S=this.__data__,D=o(S,O);return D<0?void 0:S[D][1]}},7343:(G,T,c)=>{var o=c(3503);G.exports=function p(O){return o(this.__data__,O)>-1}},8895:(G,T,c)=>{var o=c(3503);G.exports=function p(O,S){var D=this.__data__,M=o(D,O);return M<0?(++this.size,D.push([O,S])):D[M][1]=S,this}},638:(G,T,c)=>{var o=c(4994),p=c(9215),O=c(1501);G.exports=function S(){this.size=0,this.__data__={hash:new o,map:new(O||p),string:new o}}},1184:(G,T,c)=>{var o=c(4537);G.exports=function p(O){var S=o(this,O).delete(O);return this.size-=S?1:0,S}},866:(G,T,c)=>{var o=c(4537);G.exports=function p(O){return o(this,O).get(O)}},3771:(G,T,c)=>{var o=c(4537);G.exports=function p(O){return o(this,O).has(O)}},1772:(G,T,c)=>{var o=c(4537);G.exports=function p(O,S){var D=o(this,O),M=D.size;return D.set(O,S),this.size+=D.size==M?0:1,this}},862:(G,T,c)=>{var p=c(3436)(Object,"create");G.exports=p},2158:G=>{G.exports=function T(c){var o=[];if(null!=c)for(var p in Object(c))o.push(p);return o}},3597:(G,T,c)=>{G=c.nmd(G);var o=c(9122),p=T&&!T.nodeType&&T,O=p&&G&&!G.nodeType&&G,D=O&&O.exports===p&&o.process,M=function(){try{return O&&O.require&&O.require("util").types||D&&D.binding&&D.binding("util")}catch{}}();G.exports=M},2902:G=>{var c=Object.prototype.toString;G.exports=function o(p){return c.call(p)}},9385:G=>{G.exports=function T(c,o){return function(p){return c(o(p))}}},3983:(G,T,c)=>{var o=c(6999),p=Math.max;G.exports=function O(S,D,M){return D=p(void 0===D?S.length-1:D,0),function(){for(var R=arguments,F=-1,N=p(R.length-D,0),x=Array(N);++F<N;)x[F]=R[D+F];F=-1;for(var k=Array(D+1);++F<D;)k[F]=R[F];return k[D]=M(x),o(S,this,k)}}},2119:(G,T,c)=>{var o=c(9122),p="object"==typeof self&&self&&self.Object===Object&&self,O=o||p||Function("return this")();G.exports=O},4600:G=>{G.exports=function c(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}},1387:G=>{G.exports=function T(c){return this.__data__.has(c)}},4174:G=>{G.exports=function T(c){var o=-1,p=Array(c.size);return c.forEach((function(O){p[++o]=O})),p}},2185:(G,T,c)=>{var o=c(9510),O=c(29)(o);G.exports=O},29:G=>{var o=Date.now;G.exports=function p(O){var S=0,D=0;return function(){var M=o(),R=16-(M-D);if(D=M,R>0){if(++S>=800)return arguments[0]}else S=0;return O.apply(void 0,arguments)}}},4977:G=>{G.exports=function T(c,o,p){for(var O=p-1,S=c.length;++O<S;)if(c[O]===o)return O;return-1}},2315:(G,T,c)=>{var o=c(5481),p=c(7609),O=c(1149);G.exports=function S(D){return p(D)?O(D):o(D)}},6007:(G,T,c)=>{var o=c(6422),p=c(7609),O=c(6319);G.exports=function S(D){return p(D)?O(D):o(D)}},2827:G=>{var c=Function.prototype.toString;G.exports=function o(p){if(null!=p){try{return c.call(p)}catch{}try{return p+""}catch{}}return""}},2760:G=>{var T=/\s/;G.exports=function c(o){for(var p=o.length;p--&&T.test(o.charAt(p)););return p}},1149:G=>{var T="\\ud800-\\udfff",D="["+T+"]",M="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R="\\ud83c[\\udffb-\\udfff]",N="[^"+T+"]",x="(?:\\ud83c[\\udde6-\\uddff]){2}",k="[\\ud800-\\udbff][\\udc00-\\udfff]",Q="(?:"+M+"|"+R+")?",ve="[\\ufe0e\\ufe0f]?",ye=ve+Q+"(?:\\u200d(?:"+[N,x,k].join("|")+")"+ve+Q+")*",Ie="(?:"+[N+M+"?",M,x,k,D].join("|")+")",Mt=RegExp(R+"(?="+R+")|"+Ie+ye,"g");G.exports=function Ne(Ke){for(var Me=Mt.lastIndex=0;Mt.test(Ke);)++Me;return Me}},6319:G=>{var T="\\ud800-\\udfff",D="["+T+"]",M="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R="\\ud83c[\\udffb-\\udfff]",N="[^"+T+"]",x="(?:\\ud83c[\\udde6-\\uddff]){2}",k="[\\ud800-\\udbff][\\udc00-\\udfff]",Q="(?:"+M+"|"+R+")?",ve="[\\ufe0e\\ufe0f]?",ye=ve+Q+"(?:\\u200d(?:"+[N,x,k].join("|")+")"+ve+Q+")*",Ie="(?:"+[N+M+"?",M,x,k,D].join("|")+")",Mt=RegExp(R+"(?="+R+")|"+Ie+ye,"g");G.exports=function Ne(Ke){return Ke.match(Mt)||[]}},910:G=>{var T="\\ud800-\\udfff",S="\\u2700-\\u27bf",D="a-z\\xdf-\\xf6\\xf8-\\xff",x="A-Z\\xc0-\\xd6\\xd8-\\xde",Z="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ve="["+Z+"]",ye="\\d+",Ie="["+S+"]",Mt="["+D+"]",Ne="[^"+T+Z+ye+S+D+x+"]",yt="(?:\\ud83c[\\udde6-\\uddff]){2}",Et="[\\ud800-\\udbff][\\udc00-\\udfff]",Ge="["+x+"]",dt="(?:"+Mt+"|"+Ne+")",Qe="(?:"+Ge+"|"+Ne+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ct="(?:['’](?:D|LL|M|RE|S|T|VE))?",et="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Te="[\\ufe0e\\ufe0f]?",wt=Te+et+"(?:\\u200d(?:"+["[^"+T+"]",yt,Et].join("|")+")"+Te+et+")*",We="(?:"+[Ie,yt,Et].join("|")+")"+wt,ze=RegExp([Ge+"?"+Mt+"+"+Wt+"(?="+[ve,Ge,"$"].join("|")+")",Qe+"+"+Ct+"(?="+[ve,Ge+dt,"$"].join("|")+")",Ge+"?"+dt+"+"+Wt,Ge+"+"+Ct,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ye,We].join("|"),"g");G.exports=function lt(Ee){return Ee.match(ze)||[]}},9919:(G,T,c)=>{var o=c(1989),p=c(4944),O=c(6555),S=p((function(D,M){o(M,O(M),D)}));G.exports=S},6684:G=>{G.exports=function T(c){return function(){return c}}},4707:(G,T,c)=>{var o=c(9148),p=c(3943),O=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,N=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");G.exports=function x(k){return(k=p(k))&&k.replace(O,o).replace(N,"")}},217:G=>{G.exports=function T(c,o){return c===o||c!=c&&o!=o}},9721:(G,T,c)=>{G.exports=c(9919)},2608:G=>{G.exports=function T(c){return c}},7151:(G,T,c)=>{var o=c(186),p=c(2671),O=Object.prototype,S=O.hasOwnProperty,D=O.propertyIsEnumerable,M=o(function(){return arguments}())?o:function(R){return p(R)&&S.call(R,"callee")&&!D.call(R,"callee")};G.exports=M},1503:G=>{G.exports=Array.isArray},6507:(G,T,c)=>{var o=c(5946),p=c(6231);G.exports=function O(S){return null!=S&&p(S.length)&&!o(S)}},4798:(G,T,c)=>{var o=c(3337),p=c(2671);G.exports=function S(D){return!0===D||!1===D||p(D)&&"[object Boolean]"==o(D)}},891:(G,T,c)=>{G=c.nmd(G);var o=c(2119),p=c(3580),O=T&&!T.nodeType&&T,S=O&&G&&!G.nodeType&&G,M=S&&S.exports===O?o.Buffer:void 0;G.exports=(M?M.isBuffer:void 0)||p},5946:(G,T,c)=>{var o=c(3337),p=c(5940);G.exports=function R(F){if(!p(F))return!1;var N=o(F);return"[object Function]"==N||"[object GeneratorFunction]"==N||"[object AsyncFunction]"==N||"[object Proxy]"==N}},6231:G=>{G.exports=function c(o){return"number"==typeof o&&o>-1&&o%1==0&&o<=9007199254740991}},1305:G=>{G.exports=function T(c){return null===c}},9138:(G,T,c)=>{var o=c(3337),p=c(2671);G.exports=function S(D){return"number"==typeof D||p(D)&&"[object Number]"==o(D)}},5940:G=>{G.exports=function T(c){var o=typeof c;return null!=c&&("object"==o||"function"==o)}},2671:G=>{G.exports=function T(c){return null!=c&&"object"==typeof c}},7614:(G,T,c)=>{var o=c(3337),p=c(9519),O=c(2671),R=Function.prototype.toString,F=Object.prototype.hasOwnProperty,N=R.call(Object);G.exports=function x(k){if(!O(k)||"[object Object]"!=o(k))return!1;var Z=p(k);if(null===Z)return!0;var Q=F.call(Z,"constructor")&&Z.constructor;return"function"==typeof Q&&Q instanceof Q&&R.call(Q)==N}},248:(G,T,c)=>{var o=c(3337),p=c(1503),O=c(2671);G.exports=function D(M){return"string"==typeof M||!p(M)&&O(M)&&"[object String]"==o(M)}},4129:(G,T,c)=>{var o=c(3337),p=c(2671);G.exports=function S(D){return"symbol"==typeof D||p(D)&&"[object Symbol]"==o(D)}},8159:(G,T,c)=>{var o=c(1083),p=c(5647),O=c(3597),S=O&&O.isTypedArray,D=S?p(S):o;G.exports=D},4235:G=>{G.exports=function T(c){return void 0===c}},6555:(G,T,c)=>{var o=c(2271),p=c(2809),O=c(6507);G.exports=function S(D){return O(D)?o(D,!0):p(D)}},2552:G=>{G.exports=function T(){}},8448:(G,T,c)=>{var o=c(5171),p=c(2315),O=c(4401),S=c(3943);G.exports=function D(M,R,F){M=S(M);var N=(R=O(R))?p(M):0;return R&&N<R?o(R-N,F)+M:M}},1978:(G,T,c)=>{var p=c(1491)((function(O,S,D){return O+(D?"_":"")+S.toLowerCase()}));G.exports=p},3580:G=>{G.exports=function T(){return!1}},2232:(G,T,c)=>{var o=c(1467),p=1/0;G.exports=function S(D){return D?(D=o(D))===p||D===-p?17976931348623157e292*(D<0?-1:1):D==D?D:0:0===D?D:0}},4401:(G,T,c)=>{var o=c(2232);G.exports=function p(O){var S=o(O),D=S%1;return S==S?D?S-D:S:0}},1467:(G,T,c)=>{var o=c(3348),p=c(5940),O=c(4129),D=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,R=/^0o[0-7]+$/i,F=parseInt;G.exports=function N(x){if("number"==typeof x)return x;if(O(x))return NaN;if(p(x)){var k="function"==typeof x.valueOf?x.valueOf():x;x=p(k)?k+"":k}if("string"!=typeof x)return 0===x?x:+x;x=o(x);var Z=M.test(x);return Z||R.test(x)?F(x.slice(2),Z?2:8):D.test(x)?NaN:+x}},3943:(G,T,c)=>{var o=c(3935);G.exports=function p(O){return null==O?"":o(O)}},836:(G,T,c)=>{var o=c(707);G.exports=function p(O){return O&&O.length?o(O):[]}},7188:(G,T,c)=>{var o=c(69),p=c(9062),O=c(3943),S=c(910);G.exports=function D(M,R,F){return M=O(M),void 0===(R=F?void 0:R)?p(M)?S(M):o(M):M.match(R)||[]}},4879:(G,T,c)=>{"use strict";c.r(T),c.d(T,{decode:()=>Ge,default:()=>Ct,encode:()=>He,toASCII:()=>Qe,toUnicode:()=>dt,ucs2decode:()=>Ke,ucs2encode:()=>Me});const o=2147483647,p=36,x=/^xn--/,k=/[^\0-\x7E]/,Z=/[\x2E\u3002\uFF0E\uFF61]/g,Q={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pe=Math.floor,ye=String.fromCharCode;function Ie(et){throw new RangeError(Q[et])}function Ne(et,Te){const De=et.split("@");let Je="";De.length>1&&(Je=De[0]+"@",et=De[1]);const wt=function Mt(et,Te){const De=[];let Je=et.length;for(;Je--;)De[Je]=Te(et[Je]);return De}((et=et.replace(Z,".")).split("."),Te).join(".");return Je+wt}function Ke(et){const Te=[];let De=0;const Je=et.length;for(;De<Je;){const It=et.charCodeAt(De++);if(It>=55296&&It<=56319&&De<Je){const wt=et.charCodeAt(De++);56320==(64512&wt)?Te.push(((1023&It)<<10)+(1023&wt)+65536):(Te.push(It),De--)}else Te.push(It)}return Te}const Me=et=>String.fromCodePoint(...et),ue=function(et){return et-48<10?et-22:et-65<26?et-65:et-97<26?et-97:p},yt=function(et,Te){return et+22+75*(et<26)-((0!=Te)<<5)},Et=function(et,Te,De){let Je=0;for(et=De?pe(et/700):et>>1,et+=pe(et/Te);et>455;Je+=p)et=pe(et/35);return pe(Je+36*et/(et+38))},Ge=function(et){const Te=[],De=et.length;let Je=0,It=128,wt=72,We=et.lastIndexOf("-");We<0&&(We=0);for(let ze=0;ze<We;++ze)et.charCodeAt(ze)>=128&&Ie("not-basic"),Te.push(et.charCodeAt(ze));for(let ze=We>0?We+1:0;ze<De;){let lt=Je;for(let Ae=1,ge=p;;ge+=p){ze>=De&&Ie("invalid-input");const $e=ue(et.charCodeAt(ze++));($e>=p||$e>pe((o-Je)/Ae))&&Ie("overflow"),Je+=$e*Ae;const qe=ge<=wt?1:ge>=wt+26?26:ge-wt;if($e<qe)break;const ht=p-qe;Ae>pe(o/ht)&&Ie("overflow"),Ae*=ht}const Ee=Te.length+1;wt=Et(Je-lt,Ee,0==lt),pe(Je/Ee)>o-It&&Ie("overflow"),It+=pe(Je/Ee),Je%=Ee,Te.splice(Je++,0,It)}return String.fromCodePoint(...Te)},He=function(et){const Te=[];let De=(et=Ke(et)).length,Je=128,It=0,wt=72;for(const lt of et)lt<128&&Te.push(ye(lt));let We=Te.length,ze=We;for(We&&Te.push("-");ze<De;){let lt=o;for(const Ae of et)Ae>=Je&&Ae<lt&&(lt=Ae);const Ee=ze+1;lt-Je>pe((o-It)/Ee)&&Ie("overflow"),It+=(lt-Je)*Ee,Je=lt;for(const Ae of et)if(Ae<Je&&++It>o&&Ie("overflow"),Ae==Je){let ge=It;for(let $e=p;;$e+=p){const qe=$e<=wt?1:$e>=wt+26?26:$e-wt;if(ge<qe)break;const ht=ge-qe,Ft=p-qe;Te.push(ye(yt(qe+ht%Ft,0))),ge=pe(ht/Ft)}Te.push(ye(yt(ge,0))),wt=Et(It,Ee,ze==We),It=0,++ze}++It,++Je}return Te.join("")},dt=function(et){return Ne(et,(function(Te){return x.test(Te)?Ge(Te.slice(4).toLowerCase()):Te}))},Qe=function(et){return Ne(et,(function(Te){return k.test(Te)?"xn--"+He(Te):Te}))},Ct={version:"2.1.0",ucs2:{decode:Ke,encode:Me},decode:Ge,encode:He,toASCII:Qe,toUnicode:dt}},591:(G,T,c)=>{"use strict";c.d(T,{X:()=>O});var o=c(8929),p=c(5279);class O extends o.xQ{constructor(D){super(),this._value=D}get value(){return this.getValue()}_subscribe(D){const M=super._subscribe(D);return M&&!M.closed&&D.next(this._value),M}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new p.N;return this._value}next(D){super.next(this._value=D)}}},1869:(G,T,c)=>{"use strict";c.d(T,{d:()=>p});var o=c(3489);class p extends o.L{constructor(S,D,M){super(),this.parent=S,this.outerValue=D,this.outerIndex=M,this.index=0}_next(S){this.parent.notifyNext(this.outerValue,S,this.outerIndex,this.index++,this)}_error(S){this.parent.notifyError(S,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(G,T,c)=>{"use strict";c.d(T,{y:()=>k});var o=c(3489),O=c(7668),S=c(3292),M=c(3821),R=c(5379);var x=c(2830);let k=(()=>{class Q{constructor(pe){this._isScalar=!1,pe&&(this._subscribe=pe)}lift(pe){const ye=new Q;return ye.source=this,ye.operator=pe,ye}subscribe(pe,ye,Ie){const{operator:Mt}=this,Ne=function D(Q,ve,pe){if(Q){if(Q instanceof o.L)return Q;if(Q[O.b])return Q[O.b]()}return Q||ve||pe?new o.L(Q,ve,pe):new o.L(S.c)}(pe,ye,Ie);if(Ne.add(Mt?Mt.call(Ne,this.source):this.source||x.v.useDeprecatedSynchronousErrorHandling&&!Ne.syncErrorThrowable?this._subscribe(Ne):this._trySubscribe(Ne)),x.v.useDeprecatedSynchronousErrorHandling&&Ne.syncErrorThrowable&&(Ne.syncErrorThrowable=!1,Ne.syncErrorThrown))throw Ne.syncErrorValue;return Ne}_trySubscribe(pe){try{return this._subscribe(pe)}catch(ye){x.v.useDeprecatedSynchronousErrorHandling&&(pe.syncErrorThrown=!0,pe.syncErrorValue=ye),function p(Q){for(;Q;){const{closed:ve,destination:pe,isStopped:ye}=Q;if(ve||ye)return!1;Q=pe&&pe instanceof o.L?pe:null}return!0}(pe)?pe.error(ye):console.warn(ye)}}forEach(pe,ye){return new(ye=Z(ye))(((Ie,Mt)=>{let Ne;Ne=this.subscribe((Ke=>{try{pe(Ke)}catch(Me){Mt(Me),Ne&&Ne.unsubscribe()}}),Mt,Ie)}))}_subscribe(pe){const{source:ye}=this;return ye&&ye.subscribe(pe)}[M.L](){return this}pipe(...pe){return 0===pe.length?this:function N(Q){return 0===Q.length?R.y:1===Q.length?Q[0]:function(pe){return Q.reduce(((ye,Ie)=>Ie(ye)),pe)}}(pe)(this)}toPromise(pe){return new(pe=Z(pe))(((ye,Ie)=>{let Mt;this.subscribe((Ne=>Mt=Ne),(Ne=>Ie(Ne)),(()=>ye(Mt)))}))}}return Q.create=ve=>new Q(ve),Q})();function Z(Q){if(Q||(Q=x.v.Promise||Promise),!Q)throw new Error("no Promise impl found");return Q}},3292:(G,T,c)=>{"use strict";c.d(T,{c:()=>O});var o=c(2830),p=c(2782);const O={closed:!0,next(S){},error(S){if(o.v.useDeprecatedSynchronousErrorHandling)throw S;(0,p.z)(S)},complete(){}}},826:(G,T,c)=>{"use strict";c.d(T,{L:()=>p});var o=c(3489);class p extends o.L{notifyNext(S,D,M,R,F){this.destination.next(D)}notifyError(S,D){this.destination.error(S)}notifyComplete(S){this.destination.complete()}}},8929:(G,T,c)=>{"use strict";c.d(T,{Yc:()=>R,xQ:()=>F});var o=c(2916),p=c(3489),O=c(2654),S=c(5279),D=c(5283),M=c(7668);class R extends p.L{constructor(k){super(k),this.destination=k}}let F=(()=>{class x extends o.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[M.b](){return new R(this)}lift(Z){const Q=new N(this,this);return Q.operator=Z,Q}next(Z){if(this.closed)throw new S.N;if(!this.isStopped){const{observers:Q}=this,ve=Q.length,pe=Q.slice();for(let ye=0;ye<ve;ye++)pe[ye].next(Z)}}error(Z){if(this.closed)throw new S.N;this.hasError=!0,this.thrownError=Z,this.isStopped=!0;const{observers:Q}=this,ve=Q.length,pe=Q.slice();for(let ye=0;ye<ve;ye++)pe[ye].error(Z);this.observers.length=0}complete(){if(this.closed)throw new S.N;this.isStopped=!0;const{observers:Z}=this,Q=Z.length,ve=Z.slice();for(let pe=0;pe<Q;pe++)ve[pe].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(Z){if(this.closed)throw new S.N;return super._trySubscribe(Z)}_subscribe(Z){if(this.closed)throw new S.N;return this.hasError?(Z.error(this.thrownError),O.w.EMPTY):this.isStopped?(Z.complete(),O.w.EMPTY):(this.observers.push(Z),new D.W(this,Z))}asObservable(){const Z=new o.y;return Z.source=this,Z}}return x.create=(k,Z)=>new N(k,Z),x})();class N extends F{constructor(k,Z){super(),this.destination=k,this.source=Z}next(k){const{destination:Z}=this;Z&&Z.next&&Z.next(k)}error(k){const{destination:Z}=this;Z&&Z.error&&this.destination.error(k)}complete(){const{destination:k}=this;k&&k.complete&&this.destination.complete()}_subscribe(k){const{source:Z}=this;return Z?this.source.subscribe(k):O.w.EMPTY}}},5283:(G,T,c)=>{"use strict";c.d(T,{W:()=>p});var o=c(2654);class p extends o.w{constructor(S,D){super(),this.subject=S,this.subscriber=D,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const S=this.subject,D=S.observers;if(this.subject=null,!D||0===D.length||S.isStopped||S.closed)return;const M=D.indexOf(this.subscriber);-1!==M&&D.splice(M,1)}}},3489:(G,T,c)=>{"use strict";c.d(T,{L:()=>R});var o=c(7043),p=c(3292),O=c(2654),S=c(7668),D=c(2830),M=c(2782);class R extends O.w{constructor(x,k,Z){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=p.c;break;case 1:if(!x){this.destination=p.c;break}if("object"==typeof x){x instanceof R?(this.syncErrorThrowable=x.syncErrorThrowable,this.destination=x,x.add(this)):(this.syncErrorThrowable=!0,this.destination=new F(this,x));break}default:this.syncErrorThrowable=!0,this.destination=new F(this,x,k,Z)}}[S.b](){return this}static create(x,k,Z){const Q=new R(x,k,Z);return Q.syncErrorThrowable=!1,Q}next(x){this.isStopped||this._next(x)}error(x){this.isStopped||(this.isStopped=!0,this._error(x))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(x){this.destination.next(x)}_error(x){this.destination.error(x),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:x}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=x,this}}class F extends R{constructor(x,k,Z,Q){super(),this._parentSubscriber=x;let ve,pe=this;(0,o.m)(k)?ve=k:k&&(ve=k.next,Z=k.error,Q=k.complete,k!==p.c&&(pe=Object.create(k),(0,o.m)(pe.unsubscribe)&&this.add(pe.unsubscribe.bind(pe)),pe.unsubscribe=this.unsubscribe.bind(this))),this._context=pe,this._next=ve,this._error=Z,this._complete=Q}next(x){if(!this.isStopped&&this._next){const{_parentSubscriber:k}=this;D.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?this.__tryOrSetError(k,this._next,x)&&this.unsubscribe():this.__tryOrUnsub(this._next,x)}}error(x){if(!this.isStopped){const{_parentSubscriber:k}=this,{useDeprecatedSynchronousErrorHandling:Z}=D.v;if(this._error)Z&&k.syncErrorThrowable?(this.__tryOrSetError(k,this._error,x),this.unsubscribe()):(this.__tryOrUnsub(this._error,x),this.unsubscribe());else if(k.syncErrorThrowable)Z?(k.syncErrorValue=x,k.syncErrorThrown=!0):(0,M.z)(x),this.unsubscribe();else{if(this.unsubscribe(),Z)throw x;(0,M.z)(x)}}}complete(){if(!this.isStopped){const{_parentSubscriber:x}=this;if(this._complete){const k=()=>this._complete.call(this._context);D.v.useDeprecatedSynchronousErrorHandling&&x.syncErrorThrowable?(this.__tryOrSetError(x,k),this.unsubscribe()):(this.__tryOrUnsub(k),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(x,k){try{x.call(this._context,k)}catch(Z){if(this.unsubscribe(),D.v.useDeprecatedSynchronousErrorHandling)throw Z;(0,M.z)(Z)}}__tryOrSetError(x,k,Z){if(!D.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{k.call(this._context,Z)}catch(Q){return D.v.useDeprecatedSynchronousErrorHandling?(x.syncErrorValue=Q,x.syncErrorThrown=!0,!0):((0,M.z)(Q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:x}=this;this._context=null,this._parentSubscriber=null,x.unsubscribe()}}},2654:(G,T,c)=>{"use strict";c.d(T,{w:()=>M});var o=c(6688),p=c(7830),O=c(7043);const D=(()=>{function F(N){return Error.call(this),this.message=N?`${N.length} errors occurred during unsubscription:\n${N.map(((x,k)=>`${k+1}) ${x.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=N,this}return F.prototype=Object.create(Error.prototype),F})();class M{constructor(N){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,N&&(this._unsubscribe=N)}unsubscribe(){let N;if(this.closed)return;let{_parentOrParents:x,_unsubscribe:k,_subscriptions:Z}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,x instanceof M)x.remove(this);else if(null!==x)for(let Q=0;Q<x.length;++Q)x[Q].remove(this);if((0,O.m)(k))try{k.call(this)}catch(Q){N=Q instanceof D?R(Q.errors):[Q]}if((0,o.k)(Z)){let Q=-1,ve=Z.length;for(;++Q<ve;){const pe=Z[Q];if((0,p.K)(pe))try{pe.unsubscribe()}catch(ye){N=N||[],ye instanceof D?N=N.concat(R(ye.errors)):N.push(ye)}}}if(N)throw new D(N)}add(N){let x=N;if(!N)return M.EMPTY;switch(typeof N){case"function":x=new M(N);case"object":if(x===this||x.closed||"function"!=typeof x.unsubscribe)return x;if(this.closed)return x.unsubscribe(),x;if(!(x instanceof M)){const Q=x;x=new M,x._subscriptions=[Q]}break;default:throw new Error("unrecognized teardown "+N+" added to Subscription.")}let{_parentOrParents:k}=x;if(null===k)x._parentOrParents=this;else if(k instanceof M){if(k===this)return x;x._parentOrParents=[k,this]}else{if(-1!==k.indexOf(this))return x;k.push(this)}const Z=this._subscriptions;return null===Z?this._subscriptions=[x]:Z.push(x),x}remove(N){const x=this._subscriptions;if(x){const k=x.indexOf(N);-1!==k&&x.splice(k,1)}}}var F;function R(F){return F.reduce(((N,x)=>N.concat(x instanceof D?x.errors:x)),[])}M.EMPTY=((F=new M).closed=!0,F)},2830:(G,T,c)=>{"use strict";c.d(T,{v:()=>p});let o=!1;const p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(O){if(O){const S=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+S.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=O},get useDeprecatedSynchronousErrorHandling(){return o}}},1762:(G,T,c)=>{"use strict";c.d(T,{N:()=>M,c:()=>D});var o=c(8929),p=c(2916),O=c(2654),S=c(4327);class D extends p.y{constructor(k,Z){super(),this.source=k,this.subjectFactory=Z,this._refCount=0,this._isComplete=!1}_subscribe(k){return this.getSubject().subscribe(k)}getSubject(){const k=this._subject;return(!k||k.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let k=this._connection;return k||(this._isComplete=!1,k=this._connection=new O.w,k.add(this.source.subscribe(new R(this.getSubject(),this))),k.closed&&(this._connection=null,k=O.w.EMPTY)),k}refCount(){return(0,S.x)()(this)}}const M=(()=>{const x=D.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:x._subscribe},_isComplete:{value:x._isComplete,writable:!0},getSubject:{value:x.getSubject},connect:{value:x.connect},refCount:{value:x.refCount}}})();class R extends o.Yc{constructor(k,Z){super(k),this.connectable=Z}_error(k){this._unsubscribe(),super._error(k)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const k=this.connectable;if(k){this.connectable=null;const Z=k._connection;k._refCount=0,k._subject=null,k._connection=null,Z&&Z.unsubscribe()}}}},1221:(G,T,c)=>{"use strict";c.d(T,{z:()=>S});var o=c(1086),p=c(9146);function S(...D){return function O(){return(0,p.J)(1)}()((0,o.of)(...D))}},8896:(G,T,c)=>{"use strict";c.d(T,{E:()=>p,c:()=>O});var o=c(2916);const p=new o.y((D=>D.complete()));function O(D){return D?function S(D){return new o.y((M=>D.schedule((()=>M.complete()))))}(D):p}},5254:(G,T,c)=>{"use strict";c.d(T,{D:()=>pe});var o=c(2916),p=c(9249),O=c(2654),S=c(3821),R=c(6454),F=c(5430),k=c(8955),Z=c(8515);function pe(ye,Ie){return Ie?function ve(ye,Ie){if(null!=ye){if(function x(ye){return ye&&"function"==typeof ye[S.L]}(ye))return function D(ye,Ie){return new o.y((Mt=>{const Ne=new O.w;return Ne.add(Ie.schedule((()=>{const Ke=ye[S.L]();Ne.add(Ke.subscribe({next(Me){Ne.add(Ie.schedule((()=>Mt.next(Me))))},error(Me){Ne.add(Ie.schedule((()=>Mt.error(Me))))},complete(){Ne.add(Ie.schedule((()=>Mt.complete())))}}))}))),Ne}))}(ye,Ie);if((0,k.t)(ye))return function M(ye,Ie){return new o.y((Mt=>{const Ne=new O.w;return Ne.add(Ie.schedule((()=>ye.then((Ke=>{Ne.add(Ie.schedule((()=>{Mt.next(Ke),Ne.add(Ie.schedule((()=>Mt.complete())))})))}),(Ke=>{Ne.add(Ie.schedule((()=>Mt.error(Ke))))}))))),Ne}))}(ye,Ie);if((0,Z.z)(ye))return(0,R.r)(ye,Ie);if(function Q(ye){return ye&&"function"==typeof ye[F.hZ]}(ye)||"string"==typeof ye)return function N(ye,Ie){if(!ye)throw new Error("Iterable cannot be null");return new o.y((Mt=>{const Ne=new O.w;let Ke;return Ne.add((()=>{Ke&&"function"==typeof Ke.return&&Ke.return()})),Ne.add(Ie.schedule((()=>{Ke=ye[F.hZ](),Ne.add(Ie.schedule((function(){if(Mt.closed)return;let Me,ue;try{const yt=Ke.next();Me=yt.value,ue=yt.done}catch(yt){return void Mt.error(yt)}ue?Mt.complete():(Mt.next(Me),this.schedule())})))}))),Ne}))}(ye,Ie)}throw new TypeError((null!==ye&&typeof ye||ye)+" is not observable")}(ye,Ie):ye instanceof o.y?ye:new o.y((0,p.s)(ye))}},3009:(G,T,c)=>{"use strict";c.d(T,{n:()=>S});var o=c(2916),p=c(3650),O=c(6454);function S(D,M){return M?(0,O.r)(D,M):new o.y((0,p.V)(D))}},3753:(G,T,c)=>{"use strict";c.d(T,{R:()=>M});var o=c(2916),p=c(6688),O=c(7043),S=c(4850);function M(k,Z,Q,ve){return(0,O.m)(Q)&&(ve=Q,Q=void 0),ve?M(k,Z,Q).pipe((0,S.U)((pe=>(0,p.k)(pe)?ve(...pe):ve(pe)))):new o.y((pe=>{R(k,Z,(function ye(Ie){pe.next(arguments.length>1?Array.prototype.slice.call(arguments):Ie)}),pe,Q)}))}function R(k,Z,Q,ve,pe){let ye;if(function x(k){return k&&"function"==typeof k.addEventListener&&"function"==typeof k.removeEventListener}(k)){const Ie=k;k.addEventListener(Z,Q,pe),ye=()=>Ie.removeEventListener(Z,Q,pe)}else if(function N(k){return k&&"function"==typeof k.on&&"function"==typeof k.off}(k)){const Ie=k;k.on(Z,Q),ye=()=>Ie.off(Z,Q)}else if(function F(k){return k&&"function"==typeof k.addListener&&"function"==typeof k.removeListener}(k)){const Ie=k;k.addListener(Z,Q),ye=()=>Ie.removeListener(Z,Q)}else{if(!k||!k.length)throw new TypeError("Invalid event target");for(let Ie=0,Mt=k.length;Ie<Mt;Ie++)R(k[Ie],Z,Q,ve,pe)}ve.add(ye)}},6787:(G,T,c)=>{"use strict";c.d(T,{T:()=>D});var o=c(2916),p=c(2866),O=c(9146),S=c(3009);function D(...M){let R=Number.POSITIVE_INFINITY,F=null,N=M[M.length-1];return(0,p.K)(N)?(F=M.pop(),M.length>1&&"number"==typeof M[M.length-1]&&(R=M.pop())):"number"==typeof N&&(R=M.pop()),null===F&&1===M.length&&M[0]instanceof o.y?M[0]:(0,O.J)(R)((0,S.n)(M,F))}},1086:(G,T,c)=>{"use strict";c.d(T,{of:()=>S});var o=c(2866),p=c(3009),O=c(6454);function S(...D){let M=D[D.length-1];return(0,o.K)(M)?(D.pop(),(0,O.r)(D,M)):(0,p.n)(D)}},1737:(G,T,c)=>{"use strict";c.d(T,{_:()=>p});var o=c(2916);function p(S,D){return new o.y(D?M=>D.schedule(O,0,{error:S,subscriber:M}):M=>M.error(S))}function O({error:S,subscriber:D}){D.error(S)}},7739:(G,T,c)=>{"use strict";c.d(T,{H:()=>M});var o=c(2916),p=c(353),O=c(6688);function S(F){return!(0,O.k)(F)&&F-parseFloat(F)+1>=0}var D=c(2866);function M(F=0,N,x){let k=-1;return S(N)?k=Number(N)<1?1:Number(N):(0,D.K)(N)&&(x=N),(0,D.K)(x)||(x=p.P),new o.y((Z=>{const Q=S(F)?F:+F-x.now();return x.schedule(R,Q,{index:0,period:k,subscriber:Z})}))}function R(F){const{index:N,period:x,subscriber:k}=F;if(k.next(N),!k.closed){if(-1===x)return k.complete();F.index=N+1,this.schedule(F,x)}}},7138:(G,T,c)=>{"use strict";c.d(T,{e:()=>F});var o=c(353),p=c(826),O=c(9054);class D{constructor(x){this.durationSelector=x}call(x,k){return k.subscribe(new M(x,this.durationSelector))}}class M extends p.L{constructor(x,k){super(x),this.durationSelector=k,this.hasValue=!1}_next(x){if(this.value=x,this.hasValue=!0,!this.throttled){let k;try{const{durationSelector:Q}=this;k=Q(x)}catch(Q){return this.destination.error(Q)}const Z=(0,O.D)(this,k);!Z||Z.closed?this.clearThrottle():this.add(this.throttled=Z)}}clearThrottle(){const{value:x,hasValue:k,throttled:Z}=this;Z&&(this.remove(Z),this.throttled=null,Z.unsubscribe()),k&&(this.value=null,this.hasValue=!1,this.destination.next(x))}notifyNext(x,k,Z,Q){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var R=c(7739);function F(N,x=o.P){return function S(N){return function(k){return k.lift(new D(N))}}((()=>(0,R.H)(N,x)))}},1406:(G,T,c)=>{"use strict";c.d(T,{b:()=>p});var o=c(1709);function p(O,S){return(0,o.zg)(O,S,1)}},7314:(G,T,c)=>{"use strict";c.d(T,{d:()=>p});var o=c(3489);function p(D=null){return M=>M.lift(new O(D))}class O{constructor(M){this.defaultValue=M}call(M,R){return R.subscribe(new S(M,this.defaultValue))}}class S extends o.L{constructor(M,R){super(M),this.defaultValue=R,this.isEmpty=!0}_next(M){this.isEmpty=!1,this.destination.next(M)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},2198:(G,T,c)=>{"use strict";c.d(T,{h:()=>p});var o=c(3489);function p(D,M){return function(F){return F.lift(new O(D,M))}}class O{constructor(M,R){this.predicate=M,this.thisArg=R}call(M,R){return R.subscribe(new S(M,this.predicate,this.thisArg))}}class S extends o.L{constructor(M,R,F){super(M),this.predicate=R,this.thisArg=F,this.count=0}_next(M){let R;try{R=this.predicate.call(this.thisArg,M,this.count++)}catch(F){return void this.destination.error(F)}R&&this.destination.next(M)}}},7224:(G,T,c)=>{"use strict";c.d(T,{P:()=>R});var o=c(4450),p=c(2198),O=c(2986),S=c(7314),D=c(4907),M=c(5379);function R(F,N){const x=arguments.length>=2;return k=>k.pipe(F?(0,p.h)(((Z,Q)=>F(Z,Q,k))):M.y,(0,O.q)(1),x?(0,S.d)(N):(0,D.T)((()=>new o.K)))}},4850:(G,T,c)=>{"use strict";c.d(T,{U:()=>p});var o=c(3489);function p(D,M){return function(F){if("function"!=typeof D)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return F.lift(new O(D,M))}}class O{constructor(M,R){this.project=M,this.thisArg=R}call(M,R){return R.subscribe(new S(M,this.project,this.thisArg))}}class S extends o.L{constructor(M,R,F){super(M),this.project=R,this.count=0,this.thisArg=F||this}_next(M){let R;try{R=this.project.call(this.thisArg,M,this.count++)}catch(F){return void this.destination.error(F)}this.destination.next(R)}}},9146:(G,T,c)=>{"use strict";c.d(T,{J:()=>O});var o=c(1709),p=c(5379);function O(S=Number.POSITIVE_INFINITY){return(0,o.zg)(p.y,S)}},1709:(G,T,c)=>{"use strict";c.d(T,{zg:()=>M});var o=c(9054),p=c(826),O=c(1869),S=c(4850),D=c(5254);function M(N,x,k=Number.POSITIVE_INFINITY){return"function"==typeof x?Z=>Z.pipe(M(((Q,ve)=>(0,D.D)(N(Q,ve)).pipe((0,S.U)(((pe,ye)=>x(Q,pe,ve,ye))))),k)):("number"==typeof x&&(k=x),Z=>Z.lift(new R(N,k)))}class R{constructor(x,k=Number.POSITIVE_INFINITY){this.project=x,this.concurrent=k}call(x,k){return k.subscribe(new F(x,this.project,this.concurrent))}}class F extends p.L{constructor(x,k,Z=Number.POSITIVE_INFINITY){super(x),this.project=k,this.concurrent=Z,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(x){this.active<this.concurrent?this._tryNext(x):this.buffer.push(x)}_tryNext(x){let k;const Z=this.index++;try{k=this.project(x,Z)}catch(Q){return void this.destination.error(Q)}this.active++,this._innerSub(k,x,Z)}_innerSub(x,k,Z){const Q=new O.d(this,k,Z),ve=this.destination;ve.add(Q);const pe=(0,o.D)(this,x,void 0,void 0,Q);pe!==Q&&ve.add(pe)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(x,k,Z,Q,ve){this.destination.next(k)}notifyComplete(x){const k=this.buffer;this.remove(x),this.active--,k.length>0?this._next(k.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(G,T,c)=>{"use strict";c.d(T,{x:()=>p});var o=c(3489);function p(){return function(M){return M.lift(new O(M))}}class O{constructor(M){this.connectable=M}call(M,R){const{connectable:F}=this;F._refCount++;const N=new S(M,F),x=R.subscribe(N);return N.closed||(N.connection=F.connect()),x}}class S extends o.L{constructor(M,R){super(M),this.connectable=R}_unsubscribe(){const{connectable:M}=this;if(!M)return void(this.connection=null);this.connectable=null;const R=M._refCount;if(R<=0)return void(this.connection=null);if(M._refCount=R-1,R>1)return void(this.connection=null);const{connection:F}=this,N=M._connection;this.connection=null,N&&(!F||N===F)&&N.unsubscribe()}}},7803:(G,T,c)=>{"use strict";c.d(T,{d:()=>ue});var o=c(8929),p=c(6686),S=c(2268);const M=new class D extends S.v{}(class O extends p.o{constructor(Ge,He){super(Ge,He),this.scheduler=Ge,this.work=He}schedule(Ge,He=0){return He>0?super.schedule(Ge,He):(this.delay=He,this.state=Ge,this.scheduler.flush(this),this)}execute(Ge,He){return He>0||this.closed?super.execute(Ge,He):this._execute(Ge,He)}requestAsyncId(Ge,He,dt=0){return null!==dt&&dt>0||null===dt&&this.delay>0?super.requestAsyncId(Ge,He,dt):Ge.flush(this)}});var R=c(2654),F=c(3489),N=c(8896),x=c(1086),k=c(1737);class Q{constructor(Ge,He,dt){this.kind=Ge,this.value=He,this.error=dt,this.hasValue="N"===Ge}observe(Ge){switch(this.kind){case"N":return Ge.next&&Ge.next(this.value);case"E":return Ge.error&&Ge.error(this.error);case"C":return Ge.complete&&Ge.complete()}}do(Ge,He,dt){switch(this.kind){case"N":return Ge&&Ge(this.value);case"E":return He&&He(this.error);case"C":return dt&&dt()}}accept(Ge,He,dt){return Ge&&"function"==typeof Ge.next?this.observe(Ge):this.do(Ge,He,dt)}toObservable(){switch(this.kind){case"N":return(0,x.of)(this.value);case"E":return(0,k._)(this.error);case"C":return(0,N.c)()}throw new Error("unexpected notification kind value")}static createNext(Ge){return typeof Ge<"u"?new Q("N",Ge):Q.undefinedValueNotification}static createError(Ge){return new Q("E",void 0,Ge)}static createComplete(){return Q.completeNotification}}Q.completeNotification=new Q("C"),Q.undefinedValueNotification=new Q("N",void 0);class ye extends F.L{constructor(Ge,He,dt=0){super(Ge),this.scheduler=He,this.delay=dt}static dispatch(Ge){const{notification:He,destination:dt}=Ge;He.observe(dt),this.unsubscribe()}scheduleMessage(Ge){this.destination.add(this.scheduler.schedule(ye.dispatch,this.delay,new Ie(Ge,this.destination)))}_next(Ge){this.scheduleMessage(Q.createNext(Ge))}_error(Ge){this.scheduleMessage(Q.createError(Ge)),this.unsubscribe()}_complete(){this.scheduleMessage(Q.createComplete()),this.unsubscribe()}}class Ie{constructor(Ge,He){this.notification=Ge,this.destination=He}}var Mt=c(5279),Ne=c(5283);class Ke extends o.xQ{constructor(Ge=Number.POSITIVE_INFINITY,He=Number.POSITIVE_INFINITY,dt){super(),this.scheduler=dt,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=Ge<1?1:Ge,this._windowTime=He<1?1:He,He===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(Ge){const He=this._events;He.push(Ge),He.length>this._bufferSize&&He.shift(),super.next(Ge)}nextTimeWindow(Ge){this._events.push(new Me(this._getNow(),Ge)),this._trimBufferThenGetEvents(),super.next(Ge)}_subscribe(Ge){const He=this._infiniteTimeWindow,dt=He?this._events:this._trimBufferThenGetEvents(),Qe=this.scheduler,Wt=dt.length;let Ct;if(this.closed)throw new Mt.N;if(this.isStopped||this.hasError?Ct=R.w.EMPTY:(this.observers.push(Ge),Ct=new Ne.W(this,Ge)),Qe&&Ge.add(Ge=new ye(Ge,Qe)),He)for(let et=0;et<Wt&&!Ge.closed;et++)Ge.next(dt[et]);else for(let et=0;et<Wt&&!Ge.closed;et++)Ge.next(dt[et].value);return this.hasError?Ge.error(this.thrownError):this.isStopped&&Ge.complete(),Ct}_getNow(){return(this.scheduler||M).now()}_trimBufferThenGetEvents(){const Ge=this._getNow(),He=this._bufferSize,dt=this._windowTime,Qe=this._events,Wt=Qe.length;let Ct=0;for(;Ct<Wt&&!(Ge-Qe[Ct].time<dt);)Ct++;return Wt>He&&(Ct=Math.max(Ct,Wt-He)),Ct>0&&Qe.splice(0,Ct),Qe}}class Me{constructor(Ge,He){this.time=Ge,this.value=He}}function ue(Et,Ge,He){let dt;return dt=Et&&"object"==typeof Et?Et:{bufferSize:Et,windowTime:Ge,refCount:!1,scheduler:He},Qe=>Qe.lift(function yt({bufferSize:Et=Number.POSITIVE_INFINITY,windowTime:Ge=Number.POSITIVE_INFINITY,refCount:He,scheduler:dt}){let Qe,Ct,Wt=0,et=!1,Te=!1;return function(Je){Wt++,(!Qe||et)&&(et=!1,Qe=new Ke(Et,Ge,dt),Ct=Je.subscribe({next(wt){Qe.next(wt)},error(wt){et=!0,Qe.error(wt)},complete(){Te=!0,Ct=void 0,Qe.complete()}}));const It=Qe.subscribe(this);this.add((()=>{Wt--,It.unsubscribe(),Ct&&!Te&&He&&0===Wt&&(Ct.unsubscribe(),Ct=void 0,Qe=void 0)}))}}(dt))}},1059:(G,T,c)=>{"use strict";c.d(T,{O:()=>O});var o=c(1221),p=c(2866);function O(...S){const D=S[S.length-1];return(0,p.K)(D)?(S.pop(),M=>(0,o.z)(S,M,D)):M=>(0,o.z)(S,M)}},7545:(G,T,c)=>{"use strict";c.d(T,{w:()=>M});var o=c(826),p=c(1869),O=c(9054),S=c(4850),D=c(5254);function M(N,x){return"function"==typeof x?k=>k.pipe(M(((Z,Q)=>(0,D.D)(N(Z,Q)).pipe((0,S.U)(((ve,pe)=>x(Z,ve,Q,pe))))))):k=>k.lift(new R(N))}class R{constructor(x){this.project=x}call(x,k){return k.subscribe(new F(x,this.project))}}class F extends o.L{constructor(x,k){super(x),this.project=k,this.index=0}_next(x){let k;const Z=this.index++;try{k=this.project(x,Z)}catch(Q){return void this.destination.error(Q)}this._innerSub(k,x,Z)}_innerSub(x,k,Z){const Q=this.innerSubscription;Q&&Q.unsubscribe();const ve=new p.d(this,k,Z),pe=this.destination;pe.add(ve),this.innerSubscription=(0,O.D)(this,x,void 0,void 0,ve),this.innerSubscription!==ve&&pe.add(this.innerSubscription)}_complete(){const{innerSubscription:x}=this;(!x||x.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(x){this.destination.remove(x),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(x,k,Z,Q,ve){this.destination.next(k)}}},2986:(G,T,c)=>{"use strict";c.d(T,{q:()=>S});var o=c(3489),p=c(4231),O=c(8896);function S(R){return F=>0===R?(0,O.c)():F.lift(new D(R))}class D{constructor(F){if(this.total=F,this.total<0)throw new p.W}call(F,N){return N.subscribe(new M(F,this.total))}}class M extends o.L{constructor(F,N){super(F),this.total=N,this.count=0}_next(F){const N=this.total,x=++this.count;x<=N&&(this.destination.next(F),x===N&&(this.destination.complete(),this.unsubscribe()))}}},7625:(G,T,c)=>{"use strict";c.d(T,{R:()=>O});var o=c(826),p=c(9054);function O(M){return R=>R.lift(new S(M))}class S{constructor(R){this.notifier=R}call(R,F){const N=new D(R),x=(0,p.D)(N,this.notifier);return x&&!N.seenValue?(N.add(x),F.subscribe(N)):N}}class D extends o.L{constructor(R){super(R),this.seenValue=!1}notifyNext(R,F,N,x,k){this.seenValue=!0,this.complete()}notifyComplete(){}}},4907:(G,T,c)=>{"use strict";c.d(T,{T:()=>O});var o=c(4450),p=c(3489);function O(R=M){return F=>F.lift(new S(R))}class S{constructor(F){this.errorFactory=F}call(F,N){return N.subscribe(new D(F,this.errorFactory))}}class D extends p.L{constructor(F,N){super(F),this.errorFactory=N,this.hasValue=!1}_next(F){this.hasValue=!0,this.destination.next(F)}_complete(){if(this.hasValue)return this.destination.complete();{let F;try{F=this.errorFactory()}catch(N){F=N}this.destination.error(F)}}}function M(){return new o.K}},6454:(G,T,c)=>{"use strict";c.d(T,{r:()=>O});var o=c(2916),p=c(2654);function O(S,D){return new o.y((M=>{const R=new p.w;let F=0;return R.add(D.schedule((function(){F!==S.length?(M.next(S[F++]),M.closed||R.add(this.schedule())):M.complete()}))),R}))}},6686:(G,T,c)=>{"use strict";c.d(T,{o:()=>O});var o=c(2654);class p extends o.w{constructor(D,M){super()}schedule(D,M=0){return this}}class O extends p{constructor(D,M){super(D,M),this.scheduler=D,this.work=M,this.pending=!1}schedule(D,M=0){if(this.closed)return this;this.state=D;const R=this.id,F=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(F,R,M)),this.pending=!0,this.delay=M,this.id=this.id||this.requestAsyncId(F,this.id,M),this}requestAsyncId(D,M,R=0){return setInterval(D.flush.bind(D,this),R)}recycleAsyncId(D,M,R=0){if(null!==R&&this.delay===R&&!1===this.pending)return M;clearInterval(M)}execute(D,M){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const R=this._execute(D,M);if(R)return R;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(D,M){let F,R=!1;try{this.work(D)}catch(N){R=!0,F=!!N&&N||new Error(N)}if(R)return this.unsubscribe(),F}_unsubscribe(){const D=this.id,M=this.scheduler,R=M.actions,F=R.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==F&&R.splice(F,1),null!=D&&(this.id=this.recycleAsyncId(M,D,null)),this.delay=null}}},2268:(G,T,c)=>{"use strict";c.d(T,{v:()=>p});let o=(()=>{class O{constructor(D,M=O.now){this.SchedulerAction=D,this.now=M}schedule(D,M=0,R){return new this.SchedulerAction(this,D).schedule(R,M)}}return O.now=()=>Date.now(),O})();class p extends o{constructor(S,D=o.now){super(S,(()=>p.delegate&&p.delegate!==this?p.delegate.now():D())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(S,D=0,M){return p.delegate&&p.delegate!==this?p.delegate.schedule(S,D,M):super.schedule(S,D,M)}flush(S){const{actions:D}=this;if(this.active)return void D.push(S);let M;this.active=!0;do{if(M=S.execute(S.state,S.delay))break}while(S=D.shift());if(this.active=!1,M){for(;S=D.shift();)S.unsubscribe();throw M}}}},353:(G,T,c)=>{"use strict";c.d(T,{P:()=>O});var o=c(6686);const O=new(c(2268).v)(o.o)},5430:(G,T,c)=>{"use strict";c.d(T,{hZ:()=>p});const p=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(G,T,c)=>{"use strict";c.d(T,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(G,T,c)=>{"use strict";c.d(T,{b:()=>o});const o="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(G,T,c)=>{"use strict";c.d(T,{W:()=>p});const p=(()=>{function O(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return O.prototype=Object.create(Error.prototype),O})()},4450:(G,T,c)=>{"use strict";c.d(T,{K:()=>p});const p=(()=>{function O(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return O.prototype=Object.create(Error.prototype),O})()},5279:(G,T,c)=>{"use strict";c.d(T,{N:()=>p});const p=(()=>{function O(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return O.prototype=Object.create(Error.prototype),O})()},2782:(G,T,c)=>{"use strict";function o(p){setTimeout((()=>{throw p}),0)}c.d(T,{z:()=>o})},5379:(G,T,c)=>{"use strict";function o(p){return p}c.d(T,{y:()=>o})},6688:(G,T,c)=>{"use strict";c.d(T,{k:()=>o});const o=Array.isArray||(p=>p&&"number"==typeof p.length)},8515:(G,T,c)=>{"use strict";c.d(T,{z:()=>o});const o=p=>p&&"number"==typeof p.length&&"function"!=typeof p},7043:(G,T,c)=>{"use strict";function o(p){return"function"==typeof p}c.d(T,{m:()=>o})},7830:(G,T,c)=>{"use strict";function o(p){return null!==p&&"object"==typeof p}c.d(T,{K:()=>o})},8955:(G,T,c)=>{"use strict";function o(p){return!!p&&"function"!=typeof p.subscribe&&"function"==typeof p.then}c.d(T,{t:()=>o})},2866:(G,T,c)=>{"use strict";function o(p){return p&&"function"==typeof p.schedule}c.d(T,{K:()=>o})},9249:(G,T,c)=>{"use strict";c.d(T,{s:()=>k});var o=c(3650),p=c(2782),S=c(5430),M=c(3821),F=c(8515),N=c(8955),x=c(7830);const k=Z=>{if(Z&&"function"==typeof Z[M.L])return(Z=>Q=>{const ve=Z[M.L]();if("function"!=typeof ve.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ve.subscribe(Q)})(Z);if((0,F.z)(Z))return(0,o.V)(Z);if((0,N.t)(Z))return(Z=>Q=>(Z.then((ve=>{Q.closed||(Q.next(ve),Q.complete())}),(ve=>Q.error(ve))).then(null,p.z),Q))(Z);if(Z&&"function"==typeof Z[S.hZ])return(Z=>Q=>{const ve=Z[S.hZ]();for(;;){const pe=ve.next();if(pe.done){Q.complete();break}if(Q.next(pe.value),Q.closed)break}return"function"==typeof ve.return&&Q.add((()=>{ve.return&&ve.return()})),Q})(Z);{const ve=`You provided ${(0,x.K)(Z)?"an invalid object":`'${Z}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(ve)}}},3650:(G,T,c)=>{"use strict";c.d(T,{V:()=>o});const o=p=>O=>{for(let S=0,D=p.length;S<D&&!O.closed;S++)O.next(p[S]);O.complete()}},9054:(G,T,c)=>{"use strict";c.d(T,{D:()=>S});var o=c(1869),p=c(9249),O=c(2916);function S(D,M,R,F,N=new o.d(D,R,F)){if(!N.closed)return M instanceof O.y?M.subscribe(N):(0,p.s)(M)(N)}},8583:()=>{"use strict";!function(le){const ce=le.performance;function je(st){ce&&ce.mark&&ce.mark(st)}function A(st,at){ce&&ce.measure&&ce.measure(st,at)}je("Zone");const q=le.__Zone_symbol_prefix||"__zone_symbol__";function ne(st){return q+st}const Ce=!0===le[ne("forceDuplicateZoneCheck")];if(le.Zone){if(Ce||"function"!=typeof le.Zone.__symbol__)throw new Error("Zone already loaded.");return le.Zone}let we=(()=>{class st{constructor(ie,Re){this._parent=ie,this._name=Re?Re.name||"unnamed":"<root>",this._properties=Re&&Re.properties||{},this._zoneDelegate=new tt(this,this._parent&&this._parent._zoneDelegate,Re)}static assertZonePatched(){if(le.Promise!==B.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 ie=st.current;for(;ie.parent;)ie=ie.parent;return ie}static get current(){return j.zone}static get currentTask(){return _e}static __load_patch(ie,Re,St=!1){if(B.hasOwnProperty(ie)){if(!St&&Ce)throw Error("Already loaded patch: "+ie)}else if(!le["__Zone_disable_"+ie]){const Ot="Zone:"+ie;je(Ot),B[ie]=Re(le,st,W),A(Ot,Ot)}}get parent(){return this._parent}get name(){return this._name}get(ie){const Re=this.getZoneWith(ie);if(Re)return Re._properties[ie]}getZoneWith(ie){let Re=this;for(;Re;){if(Re._properties.hasOwnProperty(ie))return Re;Re=Re._parent}return null}fork(ie){if(!ie)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,ie)}wrap(ie,Re){if("function"!=typeof ie)throw new Error("Expecting function got: "+ie);const St=this._zoneDelegate.intercept(this,ie,Re),Ot=this;return function(){return Ot.runGuarded(St,this,arguments,Re)}}run(ie,Re,St,Ot){j={parent:j,zone:this};try{return this._zoneDelegate.invoke(this,ie,Re,St,Ot)}finally{j=j.parent}}runGuarded(ie,Re=null,St,Ot){j={parent:j,zone:this};try{try{return this._zoneDelegate.invoke(this,ie,Re,St,Ot)}catch(Yt){if(this._zoneDelegate.handleError(this,Yt))throw Yt}}finally{j=j.parent}}runTask(ie,Re,St){if(ie.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(ie.zone||Ht).name+"; Execution: "+this.name+")");if(ie.state===cn&&(ie.type===ee||ie.type===me))return;const Ot=ie.state!=kt;Ot&&ie._transitionTo(kt,dn),ie.runCount++;const Yt=_e;_e=ie,j={parent:j,zone:this};try{ie.type==me&&ie.data&&!ie.data.isPeriodic&&(ie.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ie,Re,St)}catch(Oe){if(this._zoneDelegate.handleError(this,Oe))throw Oe}}finally{ie.state!==cn&&ie.state!==Pt&&(ie.type==ee||ie.data&&ie.data.isPeriodic?Ot&&ie._transitionTo(dn,kt):(ie.runCount=0,this._updateTaskCount(ie,-1),Ot&&ie._transitionTo(cn,kt,cn))),j=j.parent,_e=Yt}}scheduleTask(ie){if(ie.zone&&ie.zone!==this){let St=this;for(;St;){if(St===ie.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${ie.zone.name}`);St=St.parent}}ie._transitionTo(Mn,cn);const Re=[];ie._zoneDelegates=Re,ie._zone=this;try{ie=this._zoneDelegate.scheduleTask(this,ie)}catch(St){throw ie._transitionTo(Pt,Mn,cn),this._zoneDelegate.handleError(this,St),St}return ie._zoneDelegates===Re&&this._updateTaskCount(ie,1),ie.state==Mn&&ie._transitionTo(dn,Mn),ie}scheduleMicroTask(ie,Re,St,Ot){return this.scheduleTask(new Xe(on,ie,Re,St,Ot,void 0))}scheduleMacroTask(ie,Re,St,Ot,Yt){return this.scheduleTask(new Xe(me,ie,Re,St,Ot,Yt))}scheduleEventTask(ie,Re,St,Ot,Yt){return this.scheduleTask(new Xe(ee,ie,Re,St,Ot,Yt))}cancelTask(ie){if(ie.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(ie.zone||Ht).name+"; Execution: "+this.name+")");ie._transitionTo(hn,dn,kt);try{this._zoneDelegate.cancelTask(this,ie)}catch(Re){throw ie._transitionTo(Pt,hn),this._zoneDelegate.handleError(this,Re),Re}return this._updateTaskCount(ie,-1),ie._transitionTo(cn,hn),ie.runCount=0,ie}_updateTaskCount(ie,Re){const St=ie._zoneDelegates;-1==Re&&(ie._zoneDelegates=null);for(let Ot=0;Ot<St.length;Ot++)St[Ot]._updateTaskCount(ie.type,Re)}}return st.__symbol__=ne,st})();const Pe={name:"",onHasTask:(st,at,ie,Re)=>st.hasTask(ie,Re),onScheduleTask:(st,at,ie,Re)=>st.scheduleTask(ie,Re),onInvokeTask:(st,at,ie,Re,St,Ot)=>st.invokeTask(ie,Re,St,Ot),onCancelTask:(st,at,ie,Re)=>st.cancelTask(ie,Re)};class tt{constructor(at,ie,Re){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=at,this._parentDelegate=ie,this._forkZS=Re&&(Re&&Re.onFork?Re:ie._forkZS),this._forkDlgt=Re&&(Re.onFork?ie:ie._forkDlgt),this._forkCurrZone=Re&&(Re.onFork?this.zone:ie._forkCurrZone),this._interceptZS=Re&&(Re.onIntercept?Re:ie._interceptZS),this._interceptDlgt=Re&&(Re.onIntercept?ie:ie._interceptDlgt),this._interceptCurrZone=Re&&(Re.onIntercept?this.zone:ie._interceptCurrZone),this._invokeZS=Re&&(Re.onInvoke?Re:ie._invokeZS),this._invokeDlgt=Re&&(Re.onInvoke?ie:ie._invokeDlgt),this._invokeCurrZone=Re&&(Re.onInvoke?this.zone:ie._invokeCurrZone),this._handleErrorZS=Re&&(Re.onHandleError?Re:ie._handleErrorZS),this._handleErrorDlgt=Re&&(Re.onHandleError?ie:ie._handleErrorDlgt),this._handleErrorCurrZone=Re&&(Re.onHandleError?this.zone:ie._handleErrorCurrZone),this._scheduleTaskZS=Re&&(Re.onScheduleTask?Re:ie._scheduleTaskZS),this._scheduleTaskDlgt=Re&&(Re.onScheduleTask?ie:ie._scheduleTaskDlgt),this._scheduleTaskCurrZone=Re&&(Re.onScheduleTask?this.zone:ie._scheduleTaskCurrZone),this._invokeTaskZS=Re&&(Re.onInvokeTask?Re:ie._invokeTaskZS),this._invokeTaskDlgt=Re&&(Re.onInvokeTask?ie:ie._invokeTaskDlgt),this._invokeTaskCurrZone=Re&&(Re.onInvokeTask?this.zone:ie._invokeTaskCurrZone),this._cancelTaskZS=Re&&(Re.onCancelTask?Re:ie._cancelTaskZS),this._cancelTaskDlgt=Re&&(Re.onCancelTask?ie:ie._cancelTaskDlgt),this._cancelTaskCurrZone=Re&&(Re.onCancelTask?this.zone:ie._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const St=Re&&Re.onHasTask;(St||ie&&ie._hasTaskZS)&&(this._hasTaskZS=St?Re:Pe,this._hasTaskDlgt=ie,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=at,Re.onScheduleTask||(this._scheduleTaskZS=Pe,this._scheduleTaskDlgt=ie,this._scheduleTaskCurrZone=this.zone),Re.onInvokeTask||(this._invokeTaskZS=Pe,this._invokeTaskDlgt=ie,this._invokeTaskCurrZone=this.zone),Re.onCancelTask||(this._cancelTaskZS=Pe,this._cancelTaskDlgt=ie,this._cancelTaskCurrZone=this.zone))}fork(at,ie){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,at,ie):new we(at,ie)}intercept(at,ie,Re){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,at,ie,Re):ie}invoke(at,ie,Re,St,Ot){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,at,ie,Re,St,Ot):ie.apply(Re,St)}handleError(at,ie){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,at,ie)}scheduleTask(at,ie){let Re=ie;if(this._scheduleTaskZS)this._hasTaskZS&&Re._zoneDelegates.push(this._hasTaskDlgtOwner),Re=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,at,ie),Re||(Re=ie);else if(ie.scheduleFn)ie.scheduleFn(ie);else{if(ie.type!=on)throw new Error("Task is missing scheduleFn.");_t(ie)}return Re}invokeTask(at,ie,Re,St){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,at,ie,Re,St):ie.callback.apply(Re,St)}cancelTask(at,ie){let Re;if(this._cancelTaskZS)Re=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,at,ie);else{if(!ie.cancelFn)throw Error("Task is not cancelable");Re=ie.cancelFn(ie)}return Re}hasTask(at,ie){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,at,ie)}catch(Re){this.handleError(at,Re)}}_updateTaskCount(at,ie){const Re=this._taskCounts,St=Re[at],Ot=Re[at]=St+ie;if(Ot<0)throw new Error("More tasks executed then were scheduled.");0!=St&&0!=Ot||this.hasTask(this.zone,{microTask:Re.microTask>0,macroTask:Re.macroTask>0,eventTask:Re.eventTask>0,change:at})}}class Xe{constructor(at,ie,Re,St,Ot,Yt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=at,this.source=ie,this.data=St,this.scheduleFn=Ot,this.cancelFn=Yt,!Re)throw new Error("callback is not defined");this.callback=Re;const Oe=this;this.invoke=at===ee&&St&&St.useG?Xe.invokeTask:function(){return Xe.invokeTask.call(le,Oe,this,arguments)}}static invokeTask(at,ie,Re){at||(at=this),Ue++;try{return at.runCount++,at.zone.runTask(at,ie,Re)}finally{1==Ue&&Tt(),Ue--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(cn,Mn)}_transitionTo(at,ie,Re){if(this._state!==ie&&this._state!==Re)throw new Error(`${this.type} '${this.source}': can not transition to '${at}', expecting state '${ie}'${Re?" or '"+Re+"'":""}, was '${this._state}'.`);this._state=at,at==cn&&(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 ct=ne("setTimeout"),Dt=ne("Promise"),ft=ne("then");let Zt,nn=[],Bt=!1;function $t(st){if(Zt||le[Dt]&&(Zt=le[Dt].resolve(0)),Zt){let at=Zt[ft];at||(at=Zt.then),at.call(Zt,st)}else le[ct](st,0)}function _t(st){0===Ue&&0===nn.length&&$t(Tt),st&&nn.push(st)}function Tt(){if(!Bt){for(Bt=!0;nn.length;){const st=nn;nn=[];for(let at=0;at<st.length;at++){const ie=st[at];try{ie.zone.runTask(ie,null,null)}catch(Re){W.onUnhandledError(Re)}}}W.microtaskDrainDone(),Bt=!1}}const Ht={name:"NO ZONE"},cn="notScheduled",Mn="scheduling",dn="scheduled",kt="running",hn="canceling",Pt="unknown",on="microTask",me="macroTask",ee="eventTask",B={},W={symbol:ne,currentZoneFrame:()=>j,onUnhandledError:vt,microtaskDrainDone:vt,scheduleMicroTask:_t,showUncaughtError:()=>!we[ne("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:vt,patchMethod:()=>vt,bindArguments:()=>[],patchThen:()=>vt,patchMacroTask:()=>vt,patchEventPrototype:()=>vt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>vt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>vt,wrapWithCurrentZone:()=>vt,filterProperties:()=>[],attachOriginToPatched:()=>vt,_redefineProperty:()=>vt,patchCallbacks:()=>vt,nativeScheduleMicroTask:$t};let j={parent:null,zone:new we(null,null)},_e=null,Ue=0;function vt(){}A("Zone","Zone"),le.Zone=we}(typeof window<"u"&&window||typeof self<"u"&&self||global);const G=Object.getOwnPropertyDescriptor,T=Object.defineProperty,c=Object.getPrototypeOf,o=Object.create,p=Array.prototype.slice,O="addEventListener",S="removeEventListener",D=Zone.__symbol__(O),M=Zone.__symbol__(S),R="true",F="false",N=Zone.__symbol__("");function x(le,ce){return Zone.current.wrap(le,ce)}function k(le,ce,je,A,q){return Zone.current.scheduleMacroTask(le,ce,je,A,q)}const Z=Zone.__symbol__,Q=typeof window<"u",ve=Q?window:void 0,pe=Q&&ve||"object"==typeof self&&self||global;function Ie(le,ce){for(let je=le.length-1;je>=0;je--)"function"==typeof le[je]&&(le[je]=x(le[je],ce+"_"+je));return le}function Ne(le){return!le||!1!==le.writable&&!("function"==typeof le.get&&typeof le.set>"u")}const Ke=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Me=!("nw"in pe)&&typeof pe.process<"u"&&"[object process]"==={}.toString.call(pe.process),ue=!Me&&!Ke&&!(!Q||!ve.HTMLElement),yt=typeof pe.process<"u"&&"[object process]"==={}.toString.call(pe.process)&&!Ke&&!(!Q||!ve.HTMLElement),Et={},Ge=function(le){if(!(le=le||pe.event))return;let ce=Et[le.type];ce||(ce=Et[le.type]=Z("ON_PROPERTY"+le.type));const je=this||le.target||pe,A=je[ce];let q;if(ue&&je===ve&&"error"===le.type){const ne=le;q=A&&A.call(this,ne.message,ne.filename,ne.lineno,ne.colno,ne.error),!0===q&&le.preventDefault()}else q=A&&A.apply(this,arguments),null!=q&&!q&&le.preventDefault();return q};function He(le,ce,je){let A=G(le,ce);if(!A&&je&&G(je,ce)&&(A={enumerable:!0,configurable:!0}),!A||!A.configurable)return;const q=Z("on"+ce+"patched");if(le.hasOwnProperty(q)&&le[q])return;delete A.writable,delete A.value;const ne=A.get,Ce=A.set,we=ce.slice(2);let Pe=Et[we];Pe||(Pe=Et[we]=Z("ON_PROPERTY"+we)),A.set=function(tt){let Xe=this;!Xe&&le===pe&&(Xe=pe),Xe&&("function"==typeof Xe[Pe]&&Xe.removeEventListener(we,Ge),Ce&&Ce.call(Xe,null),Xe[Pe]=tt,"function"==typeof tt&&Xe.addEventListener(we,Ge,!1))},A.get=function(){let tt=this;if(!tt&&le===pe&&(tt=pe),!tt)return null;const Xe=tt[Pe];if(Xe)return Xe;if(ne){let ct=ne.call(this);if(ct)return A.set.call(this,ct),"function"==typeof tt.removeAttribute&&tt.removeAttribute(ce),ct}return null},T(le,ce,A),le[q]=!0}function dt(le,ce,je){if(ce)for(let A=0;A<ce.length;A++)He(le,"on"+ce[A],je);else{const A=[];for(const q in le)"on"==q.slice(0,2)&&A.push(q);for(let q=0;q<A.length;q++)He(le,A[q],je)}}const Qe=Z("originalInstance");function Wt(le){const ce=pe[le];if(!ce)return;pe[Z(le)]=ce,pe[le]=function(){const q=Ie(arguments,le);switch(q.length){case 0:this[Qe]=new ce;break;case 1:this[Qe]=new ce(q[0]);break;case 2:this[Qe]=new ce(q[0],q[1]);break;case 3:this[Qe]=new ce(q[0],q[1],q[2]);break;case 4:this[Qe]=new ce(q[0],q[1],q[2],q[3]);break;default:throw new Error("Arg list too long.")}},Te(pe[le],ce);const je=new ce((function(){}));let A;for(A in je)"XMLHttpRequest"===le&&"responseBlob"===A||function(q){"function"==typeof je[q]?pe[le].prototype[q]=function(){return this[Qe][q].apply(this[Qe],arguments)}:T(pe[le].prototype,q,{set:function(ne){"function"==typeof ne?(this[Qe][q]=x(ne,le+"."+q),Te(this[Qe][q],ne)):this[Qe][q]=ne},get:function(){return this[Qe][q]}})}(A);for(A in ce)"prototype"!==A&&ce.hasOwnProperty(A)&&(pe[le][A]=ce[A])}function Ct(le,ce,je){let A=le;for(;A&&!A.hasOwnProperty(ce);)A=c(A);!A&&le[ce]&&(A=le);const q=Z(ce);let ne=null;if(A&&(!(ne=A[q])||!A.hasOwnProperty(q))&&(ne=A[q]=A[ce],Ne(A&&G(A,ce)))){const we=je(ne,q,ce);A[ce]=function(){return we(this,arguments)},Te(A[ce],ne)}return ne}function et(le,ce,je){let A=null;function q(ne){const Ce=ne.data;return Ce.args[Ce.cbIdx]=function(){ne.invoke.apply(this,arguments)},A.apply(Ce.target,Ce.args),ne}A=Ct(le,ce,(ne=>function(Ce,we){const Pe=je(Ce,we);return Pe.cbIdx>=0&&"function"==typeof we[Pe.cbIdx]?k(Pe.name,we[Pe.cbIdx],Pe,q):ne.apply(Ce,we)}))}function Te(le,ce){le[Z("OriginalDelegate")]=ce}let De=!1,Je=!1;function wt(){if(De)return Je;De=!0;try{const le=ve.navigator.userAgent;(-1!==le.indexOf("MSIE ")||-1!==le.indexOf("Trident/")||-1!==le.indexOf("Edge/"))&&(Je=!0)}catch{}return Je}Zone.__load_patch("ZoneAwarePromise",((le,ce,je)=>{const A=Object.getOwnPropertyDescriptor,q=Object.defineProperty,Ce=je.symbol,we=[],Pe=!0===le[Ce("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],tt=Ce("Promise"),Xe=Ce("then");je.onUnhandledError=Oe=>{if(je.showUncaughtError()){const Ve=Oe&&Oe.rejection;Ve?console.error("Unhandled Promise rejection:",Ve instanceof Error?Ve.message:Ve,"; Zone:",Oe.zone.name,"; Task:",Oe.task&&Oe.task.source,"; Value:",Ve,Ve instanceof Error?Ve.stack:void 0):console.error(Oe)}},je.microtaskDrainDone=()=>{for(;we.length;){const Oe=we.shift();try{Oe.zone.runGuarded((()=>{throw Oe.throwOriginal?Oe.rejection:Oe}))}catch(Ve){ft(Ve)}}};const Dt=Ce("unhandledPromiseRejectionHandler");function ft(Oe){je.onUnhandledError(Oe);try{const Ve=ce[Dt];"function"==typeof Ve&&Ve.call(this,Oe)}catch{}}function nn(Oe){return Oe&&Oe.then}function Bt(Oe){return Oe}function Zt(Oe){return ie.reject(Oe)}const $t=Ce("state"),_t=Ce("value"),Tt=Ce("finally"),Ht=Ce("parentPromiseValue"),cn=Ce("parentPromiseState"),dn=null,hn=!1;function on(Oe,Ve){return xe=>{try{W(Oe,Ve,xe)}catch(bt){W(Oe,!1,bt)}}}const me=function(){let Oe=!1;return function(xe){return function(){Oe||(Oe=!0,xe.apply(null,arguments))}}},B=Ce("currentTaskTrace");function W(Oe,Ve,xe){const bt=me();if(Oe===xe)throw new TypeError("Promise resolved with itself");if(Oe[$t]===dn){let Lt=null;try{("object"==typeof xe||"function"==typeof xe)&&(Lt=xe&&xe.then)}catch(Ut){return bt((()=>{W(Oe,!1,Ut)}))(),Oe}if(Ve!==hn&&xe instanceof ie&&xe.hasOwnProperty($t)&&xe.hasOwnProperty(_t)&&xe[$t]!==dn)_e(xe),W(Oe,xe[$t],xe[_t]);else if(Ve!==hn&&"function"==typeof Lt)try{Lt.call(xe,bt(on(Oe,Ve)),bt(on(Oe,!1)))}catch(Ut){bt((()=>{W(Oe,!1,Ut)}))()}else{Oe[$t]=Ve;const Ut=Oe[_t];if(Oe[_t]=xe,Oe[Tt]===Tt&&!0===Ve&&(Oe[$t]=Oe[cn],Oe[_t]=Oe[Ht]),Ve===hn&&xe instanceof Error){const Vt=ce.currentTask&&ce.currentTask.data&&ce.currentTask.data.__creationTrace__;Vt&&q(xe,B,{configurable:!0,enumerable:!1,writable:!0,value:Vt})}for(let Vt=0;Vt<Ut.length;)Ue(Oe,Ut[Vt++],Ut[Vt++],Ut[Vt++],Ut[Vt++]);if(0==Ut.length&&Ve==hn){Oe[$t]=0;let Vt=xe;try{throw new Error("Uncaught (in promise): "+function ne(Oe){return Oe&&Oe.toString===Object.prototype.toString?(Oe.constructor&&Oe.constructor.name||"")+": "+JSON.stringify(Oe):Oe?Oe.toString():Object.prototype.toString.call(Oe)}(xe)+(xe&&xe.stack?"\n"+xe.stack:""))}catch(zt){Vt=zt}Pe&&(Vt.throwOriginal=!0),Vt.rejection=xe,Vt.promise=Oe,Vt.zone=ce.current,Vt.task=ce.currentTask,we.push(Vt),je.scheduleMicroTask()}}}return Oe}const j=Ce("rejectionHandledHandler");function _e(Oe){if(0===Oe[$t]){try{const Ve=ce[j];Ve&&"function"==typeof Ve&&Ve.call(this,{rejection:Oe[_t],promise:Oe})}catch{}Oe[$t]=hn;for(let Ve=0;Ve<we.length;Ve++)Oe===we[Ve].promise&&we.splice(Ve,1)}}function Ue(Oe,Ve,xe,bt,Lt){_e(Oe);const Ut=Oe[$t],Vt=Ut?"function"==typeof bt?bt:Bt:"function"==typeof Lt?Lt:Zt;Ve.scheduleMicroTask("Promise.then",(()=>{try{const zt=Oe[_t],sn=!!xe&&Tt===xe[Tt];sn&&(xe[Ht]=zt,xe[cn]=Ut);const en=Ve.run(Vt,void 0,sn&&Vt!==Zt&&Vt!==Bt?[]:[zt]);W(xe,!0,en)}catch(zt){W(xe,!1,zt)}}),xe)}const st=function(){},at=le.AggregateError;class ie{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Ve){return W(new this(null),!0,Ve)}static reject(Ve){return W(new this(null),hn,Ve)}static any(Ve){if(!Ve||"function"!=typeof Ve[Symbol.iterator])return Promise.reject(new at([],"All promises were rejected"));const xe=[];let bt=0;try{for(let Vt of Ve)bt++,xe.push(ie.resolve(Vt))}catch{return Promise.reject(new at([],"All promises were rejected"))}if(0===bt)return Promise.reject(new at([],"All promises were rejected"));let Lt=!1;const Ut=[];return new ie(((Vt,zt)=>{for(let sn=0;sn<xe.length;sn++)xe[sn].then((en=>{Lt||(Lt=!0,Vt(en))}),(en=>{Ut.push(en),bt--,0===bt&&(Lt=!0,zt(new at(Ut,"All promises were rejected")))}))}))}static race(Ve){let xe,bt,Lt=new this(((zt,sn)=>{xe=zt,bt=sn}));function Ut(zt){xe(zt)}function Vt(zt){bt(zt)}for(let zt of Ve)nn(zt)||(zt=this.resolve(zt)),zt.then(Ut,Vt);return Lt}static all(Ve){return ie.allWithCallback(Ve)}static allSettled(Ve){return(this&&this.prototype instanceof ie?this:ie).allWithCallback(Ve,{thenCallback:bt=>({status:"fulfilled",value:bt}),errorCallback:bt=>({status:"rejected",reason:bt})})}static allWithCallback(Ve,xe){let bt,Lt,Ut=new this(((en,Rt)=>{bt=en,Lt=Rt})),Vt=2,zt=0;const sn=[];for(let en of Ve){nn(en)||(en=this.resolve(en));const Rt=zt;try{en.then((bn=>{sn[Rt]=xe?xe.thenCallback(bn):bn,Vt--,0===Vt&&bt(sn)}),(bn=>{xe?(sn[Rt]=xe.errorCallback(bn),Vt--,0===Vt&&bt(sn)):Lt(bn)}))}catch(bn){Lt(bn)}Vt++,zt++}return Vt-=2,0===Vt&&bt(sn),Ut}constructor(Ve){const xe=this;if(!(xe instanceof ie))throw new Error("Must be an instanceof Promise.");xe[$t]=dn,xe[_t]=[];try{const bt=me();Ve&&Ve(bt(on(xe,!0)),bt(on(xe,hn)))}catch(bt){W(xe,!1,bt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ie}then(Ve,xe){var bt;let Lt=null===(bt=this.constructor)||void 0===bt?void 0:bt[Symbol.species];(!Lt||"function"!=typeof Lt)&&(Lt=this.constructor||ie);const Ut=new Lt(st),Vt=ce.current;return this[$t]==dn?this[_t].push(Vt,Ut,Ve,xe):Ue(this,Vt,Ut,Ve,xe),Ut}catch(Ve){return this.then(null,Ve)}finally(Ve){var xe;let bt=null===(xe=this.constructor)||void 0===xe?void 0:xe[Symbol.species];(!bt||"function"!=typeof bt)&&(bt=ie);const Lt=new bt(st);Lt[Tt]=Tt;const Ut=ce.current;return this[$t]==dn?this[_t].push(Ut,Lt,Ve,Ve):Ue(this,Ut,Lt,Ve,Ve),Lt}}ie.resolve=ie.resolve,ie.reject=ie.reject,ie.race=ie.race,ie.all=ie.all;const Re=le[tt]=le.Promise;le.Promise=ie;const St=Ce("thenPatched");function Ot(Oe){const Ve=Oe.prototype,xe=A(Ve,"then");if(xe&&(!1===xe.writable||!xe.configurable))return;const bt=Ve.then;Ve[Xe]=bt,Oe.prototype.then=function(Lt,Ut){return new ie(((zt,sn)=>{bt.call(this,zt,sn)})).then(Lt,Ut)},Oe[St]=!0}return je.patchThen=Ot,Re&&(Ot(Re),Ct(le,"fetch",(Oe=>function Yt(Oe){return function(Ve,xe){let bt=Oe.apply(Ve,xe);if(bt instanceof ie)return bt;let Lt=bt.constructor;return Lt[St]||Ot(Lt),bt}}(Oe)))),Promise[ce.__symbol__("uncaughtPromiseErrors")]=we,ie})),Zone.__load_patch("toString",(le=>{const ce=Function.prototype.toString,je=Z("OriginalDelegate"),A=Z("Promise"),q=Z("Error"),ne=function(){if("function"==typeof this){const tt=this[je];if(tt)return"function"==typeof tt?ce.call(tt):Object.prototype.toString.call(tt);if(this===Promise){const Xe=le[A];if(Xe)return ce.call(Xe)}if(this===Error){const Xe=le[q];if(Xe)return ce.call(Xe)}}return ce.call(this)};ne[je]=ce,Function.prototype.toString=ne;const Ce=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":Ce.call(this)}}));let We=!1;if(typeof window<"u")try{const le=Object.defineProperty({},"passive",{get:function(){We=!0}});window.addEventListener("test",le,le),window.removeEventListener("test",le,le)}catch{We=!1}const ze={useG:!0},lt={},Ee={},Ae=new RegExp("^"+N+"(\\w+)(true|false)$"),ge=Z("propagationStopped");function $e(le,ce){const je=(ce?ce(le):le)+F,A=(ce?ce(le):le)+R,q=N+je,ne=N+A;lt[le]={},lt[le][F]=q,lt[le][R]=ne}function qe(le,ce,je,A){const q=A&&A.add||O,ne=A&&A.rm||S,Ce=A&&A.listeners||"eventListeners",we=A&&A.rmAll||"removeAllListeners",Pe=Z(q),tt="."+q+":",Dt=function(_t,Tt,Ht){if(_t.isRemoved)return;const cn=_t.callback;let Mn;"object"==typeof cn&&cn.handleEvent&&(_t.callback=kt=>cn.handleEvent(kt),_t.originalDelegate=cn);try{_t.invoke(_t,Tt,[Ht])}catch(kt){Mn=kt}const dn=_t.options;return dn&&"object"==typeof dn&&dn.once&&Tt[ne].call(Tt,Ht.type,_t.originalDelegate?_t.originalDelegate:_t.callback,dn),Mn};function ft(_t,Tt,Ht){if(!(Tt=Tt||le.event))return;const cn=_t||Tt.target||le,Mn=cn[lt[Tt.type][Ht?R:F]];if(Mn){const dn=[];if(1===Mn.length){const kt=Dt(Mn[0],cn,Tt);kt&&dn.push(kt)}else{const kt=Mn.slice();for(let hn=0;hn<kt.length&&(!Tt||!0!==Tt[ge]);hn++){const Pt=Dt(kt[hn],cn,Tt);Pt&&dn.push(Pt)}}if(1===dn.length)throw dn[0];for(let kt=0;kt<dn.length;kt++){const hn=dn[kt];ce.nativeScheduleMicroTask((()=>{throw hn}))}}}const nn=function(_t){return ft(this,_t,!1)},Bt=function(_t){return ft(this,_t,!0)};function Zt(_t,Tt){if(!_t)return!1;let Ht=!0;Tt&&void 0!==Tt.useG&&(Ht=Tt.useG);const cn=Tt&&Tt.vh;let Mn=!0;Tt&&void 0!==Tt.chkDup&&(Mn=Tt.chkDup);let dn=!1;Tt&&void 0!==Tt.rt&&(dn=Tt.rt);let kt=_t;for(;kt&&!kt.hasOwnProperty(q);)kt=c(kt);if(!kt&&_t[q]&&(kt=_t),!kt||kt[Pe])return!1;const hn=Tt&&Tt.eventNameToString,Pt={},on=kt[Pe]=kt[q],me=kt[Z(ne)]=kt[ne],ee=kt[Z(Ce)]=kt[Ce],B=kt[Z(we)]=kt[we];let W;function j(xe,bt){return!We&&"object"==typeof xe&&xe?!!xe.capture:We&&bt?"boolean"==typeof xe?{capture:xe,passive:!0}:xe?"object"==typeof xe&&!1!==xe.passive?Object.assign(Object.assign({},xe),{passive:!0}):xe:{passive:!0}:xe}Tt&&Tt.prepend&&(W=kt[Z(Tt.prepend)]=kt[Tt.prepend]);const ie=Ht?function(xe){if(!Pt.isExisting)return on.call(Pt.target,Pt.eventName,Pt.capture?Bt:nn,Pt.options)}:function(xe){return on.call(Pt.target,Pt.eventName,xe.invoke,Pt.options)},Re=Ht?function(xe){if(!xe.isRemoved){const bt=lt[xe.eventName];let Lt;bt&&(Lt=bt[xe.capture?R:F]);const Ut=Lt&&xe.target[Lt];if(Ut)for(let Vt=0;Vt<Ut.length;Vt++)if(Ut[Vt]===xe){Ut.splice(Vt,1),xe.isRemoved=!0,0===Ut.length&&(xe.allRemoved=!0,xe.target[Lt]=null);break}}if(xe.allRemoved)return me.call(xe.target,xe.eventName,xe.capture?Bt:nn,xe.options)}:function(xe){return me.call(xe.target,xe.eventName,xe.invoke,xe.options)},Ot=Tt&&Tt.diff?Tt.diff:function(xe,bt){const Lt=typeof bt;return"function"===Lt&&xe.callback===bt||"object"===Lt&&xe.originalDelegate===bt},Yt=Zone[Z("UNPATCHED_EVENTS")],Oe=le[Z("PASSIVE_EVENTS")],Ve=function(xe,bt,Lt,Ut,Vt=!1,zt=!1){return function(){const sn=this||le;let en=arguments[0];Tt&&Tt.transferEventName&&(en=Tt.transferEventName(en));let Rt=arguments[1];if(!Rt)return xe.apply(this,arguments);if(Me&&"uncaughtException"===en)return xe.apply(this,arguments);let bn=!1;if("function"!=typeof Rt){if(!Rt.handleEvent)return xe.apply(this,arguments);bn=!0}if(cn&&!cn(xe,Rt,sn,arguments))return;const zn=We&&!!Oe&&-1!==Oe.indexOf(en),Xn=j(arguments[2],zn);if(Yt)for(let Be=0;Be<Yt.length;Be++)if(en===Yt[Be])return zn?xe.call(sn,en,Rt,Xn):xe.apply(this,arguments);const ar=!!Xn&&("boolean"==typeof Xn||Xn.capture),Fn=!(!Xn||"object"!=typeof Xn)&&Xn.once,pr=Zone.current;let ir=lt[en];ir||($e(en,hn),ir=lt[en]);const er=ir[ar?R:F];let vr,Sn=sn[er],Pr=!1;if(Sn){if(Pr=!0,Mn)for(let Be=0;Be<Sn.length;Be++)if(Ot(Sn[Be],Rt))return}else Sn=sn[er]=[];const gr=sn.constructor.name,X=Ee[gr];X&&(vr=X[en]),vr||(vr=gr+bt+(hn?hn(en):en)),Pt.options=Xn,Fn&&(Pt.options.once=!1),Pt.target=sn,Pt.capture=ar,Pt.eventName=en,Pt.isExisting=Pr;const Se=Ht?ze:void 0;Se&&(Se.taskData=Pt);const $=pr.scheduleEventTask(vr,Rt,Se,Lt,Ut);return Pt.target=null,Se&&(Se.taskData=null),Fn&&(Xn.once=!0),!We&&"boolean"==typeof $.options||($.options=Xn),$.target=sn,$.capture=ar,$.eventName=en,bn&&($.originalDelegate=Rt),zt?Sn.unshift($):Sn.push($),Vt?sn:void 0}};return kt[q]=Ve(on,tt,ie,Re,dn),W&&(kt.prependListener=Ve(W,".prependListener:",(function(xe){return W.call(Pt.target,Pt.eventName,xe.invoke,Pt.options)}),Re,dn,!0)),kt[ne]=function(){const xe=this||le;let bt=arguments[0];Tt&&Tt.transferEventName&&(bt=Tt.transferEventName(bt));const Lt=arguments[2],Ut=!!Lt&&("boolean"==typeof Lt||Lt.capture),Vt=arguments[1];if(!Vt)return me.apply(this,arguments);if(cn&&!cn(me,Vt,xe,arguments))return;const zt=lt[bt];let sn;zt&&(sn=zt[Ut?R:F]);const en=sn&&xe[sn];if(en)for(let Rt=0;Rt<en.length;Rt++){const bn=en[Rt];if(Ot(bn,Vt))return en.splice(Rt,1),bn.isRemoved=!0,0===en.length&&(bn.allRemoved=!0,xe[sn]=null,"string"==typeof bt)&&(xe[N+"ON_PROPERTY"+bt]=null),bn.zone.cancelTask(bn),dn?xe:void 0}return me.apply(this,arguments)},kt[Ce]=function(){const xe=this||le;let bt=arguments[0];Tt&&Tt.transferEventName&&(bt=Tt.transferEventName(bt));const Lt=[],Ut=ht(xe,hn?hn(bt):bt);for(let Vt=0;Vt<Ut.length;Vt++){const zt=Ut[Vt];Lt.push(zt.originalDelegate?zt.originalDelegate:zt.callback)}return Lt},kt[we]=function(){const xe=this||le;let bt=arguments[0];if(bt){Tt&&Tt.transferEventName&&(bt=Tt.transferEventName(bt));const Lt=lt[bt];if(Lt){const zt=xe[Lt[F]],sn=xe[Lt[R]];if(zt){const en=zt.slice();for(let Rt=0;Rt<en.length;Rt++){const bn=en[Rt];this[ne].call(this,bt,bn.originalDelegate?bn.originalDelegate:bn.callback,bn.options)}}if(sn){const en=sn.slice();for(let Rt=0;Rt<en.length;Rt++){const bn=en[Rt];this[ne].call(this,bt,bn.originalDelegate?bn.originalDelegate:bn.callback,bn.options)}}}}else{const Lt=Object.keys(xe);for(let Ut=0;Ut<Lt.length;Ut++){const zt=Ae.exec(Lt[Ut]);let sn=zt&&zt[1];sn&&"removeListener"!==sn&&this[we].call(this,sn)}this[we].call(this,"removeListener")}if(dn)return this},Te(kt[q],on),Te(kt[ne],me),B&&Te(kt[we],B),ee&&Te(kt[Ce],ee),!0}let $t=[];for(let _t=0;_t<je.length;_t++)$t[_t]=Zt(je[_t],A);return $t}function ht(le,ce){if(!ce){const ne=[];for(let Ce in le){const we=Ae.exec(Ce);let Pe=we&&we[1];if(Pe&&(!ce||Pe===ce)){const tt=le[Ce];if(tt)for(let Xe=0;Xe<tt.length;Xe++)ne.push(tt[Xe])}}return ne}let je=lt[ce];je||($e(ce),je=lt[ce]);const A=le[je[F]],q=le[je[R]];return A?q?A.concat(q):A.slice():q?q.slice():[]}function Ft(le,ce){const je=le.Event;je&&je.prototype&&ce.patchMethod(je.prototype,"stopImmediatePropagation",(A=>function(q,ne){q[ge]=!0,A&&A.apply(q,ne)}))}function mn(le,ce,je,A,q){const ne=Zone.__symbol__(A);if(ce[ne])return;const Ce=ce[ne]=ce[A];ce[A]=function(we,Pe,tt){return Pe&&Pe.prototype&&q.forEach((function(Xe){const ct=`${je}.${A}::`+Xe,Dt=Pe.prototype;try{if(Dt.hasOwnProperty(Xe)){const ft=le.ObjectGetOwnPropertyDescriptor(Dt,Xe);ft&&ft.value?(ft.value=le.wrapWithCurrentZone(ft.value,ct),le._redefineProperty(Pe.prototype,Xe,ft)):Dt[Xe]&&(Dt[Xe]=le.wrapWithCurrentZone(Dt[Xe],ct))}else Dt[Xe]&&(Dt[Xe]=le.wrapWithCurrentZone(Dt[Xe],ct))}catch{}})),Ce.call(ce,we,Pe,tt)},le.attachOriginToPatched(ce[A],Ce)}function Le(le,ce,je){if(!je||0===je.length)return ce;const A=je.filter((ne=>ne.target===le));if(!A||0===A.length)return ce;const q=A[0].ignoreProperties;return ce.filter((ne=>-1===q.indexOf(ne)))}function be(le,ce,je,A){le&&dt(le,Le(le,ce,je),A)}function fe(le){return Object.getOwnPropertyNames(le).filter((ce=>ce.startsWith("on")&&ce.length>2)).map((ce=>ce.substring(2)))}Zone.__load_patch("util",((le,ce,je)=>{const A=fe(le);je.patchOnProperties=dt,je.patchMethod=Ct,je.bindArguments=Ie,je.patchMacroTask=et;const q=ce.__symbol__("BLACK_LISTED_EVENTS"),ne=ce.__symbol__("UNPATCHED_EVENTS");le[ne]&&(le[q]=le[ne]),le[q]&&(ce[q]=ce[ne]=le[q]),je.patchEventPrototype=Ft,je.patchEventTarget=qe,je.isIEOrEdge=wt,je.ObjectDefineProperty=T,je.ObjectGetOwnPropertyDescriptor=G,je.ObjectCreate=o,je.ArraySlice=p,je.patchClass=Wt,je.wrapWithCurrentZone=x,je.filterProperties=Le,je.attachOriginToPatched=Te,je._redefineProperty=Object.defineProperty,je.patchCallbacks=mn,je.getGlobalObjects=()=>({globalSources:Ee,zoneSymbolEventNames:lt,eventNames:A,isBrowser:ue,isMix:yt,isNode:Me,TRUE_STR:R,FALSE_STR:F,ZONE_SYMBOL_PREFIX:N,ADD_EVENT_LISTENER_STR:O,REMOVE_EVENT_LISTENER_STR:S})}));const gt=Z("zoneTask");function Kt(le,ce,je,A){let q=null,ne=null;je+=A;const Ce={};function we(tt){const Xe=tt.data;return Xe.args[0]=function(){return tt.invoke.apply(this,arguments)},Xe.handleId=q.apply(le,Xe.args),tt}function Pe(tt){return ne.call(le,tt.data.handleId)}q=Ct(le,ce+=A,(tt=>function(Xe,ct){if("function"==typeof ct[0]){const Dt={isPeriodic:"Interval"===A,delay:"Timeout"===A||"Interval"===A?ct[1]||0:void 0,args:ct},ft=ct[0];ct[0]=function(){try{return ft.apply(this,arguments)}finally{Dt.isPeriodic||("number"==typeof Dt.handleId?delete Ce[Dt.handleId]:Dt.handleId&&(Dt.handleId[gt]=null))}};const nn=k(ce,ct[0],Dt,we,Pe);if(!nn)return nn;const Bt=nn.data.handleId;return"number"==typeof Bt?Ce[Bt]=nn:Bt&&(Bt[gt]=nn),Bt&&Bt.ref&&Bt.unref&&"function"==typeof Bt.ref&&"function"==typeof Bt.unref&&(nn.ref=Bt.ref.bind(Bt),nn.unref=Bt.unref.bind(Bt)),"number"==typeof Bt||Bt?Bt:nn}return tt.apply(le,ct)})),ne=Ct(le,je,(tt=>function(Xe,ct){const Dt=ct[0];let ft;"number"==typeof Dt?ft=Ce[Dt]:(ft=Dt&&Dt[gt],ft||(ft=Dt)),ft&&"string"==typeof ft.type?"notScheduled"!==ft.state&&(ft.cancelFn&&ft.data.isPeriodic||0===ft.runCount)&&("number"==typeof Dt?delete Ce[Dt]:Dt&&(Dt[gt]=null),ft.zone.cancelTask(ft)):tt.apply(le,ct)}))}Zone.__load_patch("legacy",(le=>{const ce=le[Zone.__symbol__("legacyPatch")];ce&&ce()})),Zone.__load_patch("queueMicrotask",((le,ce,je)=>{je.patchMethod(le,"queueMicrotask",(A=>function(q,ne){ce.current.scheduleMicroTask("queueMicrotask",ne[0])}))})),Zone.__load_patch("timers",(le=>{const je="clear";Kt(le,"set",je,"Timeout"),Kt(le,"set",je,"Interval"),Kt(le,"set",je,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(le=>{Kt(le,"request","cancel","AnimationFrame"),Kt(le,"mozRequest","mozCancel","AnimationFrame"),Kt(le,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((le,ce)=>{const je=["alert","prompt","confirm"];for(let A=0;A<je.length;A++)Ct(le,je[A],((ne,Ce,we)=>function(Pe,tt){return ce.current.run(ne,le,tt,we)}))})),Zone.__load_patch("EventTarget",((le,ce,je)=>{(function yr(le,ce){ce.patchEventPrototype(le,ce)})(le,je),function En(le,ce){if(Zone[ce.symbol("patchEventTarget")])return;const{eventNames:je,zoneSymbolEventNames:A,TRUE_STR:q,FALSE_STR:ne,ZONE_SYMBOL_PREFIX:Ce}=ce.getGlobalObjects();for(let Pe=0;Pe<je.length;Pe++){const tt=je[Pe],Dt=Ce+(tt+ne),ft=Ce+(tt+q);A[tt]={},A[tt][ne]=Dt,A[tt][q]=ft}const we=le.EventTarget;we&&we.prototype&&ce.patchEventTarget(le,ce,[we&&we.prototype])}(le,je);const A=le.XMLHttpRequestEventTarget;A&&A.prototype&&je.patchEventTarget(le,je,[A.prototype])})),Zone.__load_patch("MutationObserver",((le,ce,je)=>{Wt("MutationObserver"),Wt("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((le,ce,je)=>{Wt("IntersectionObserver")})),Zone.__load_patch("FileReader",((le,ce,je)=>{Wt("FileReader")})),Zone.__load_patch("on_property",((le,ce,je)=>{!function it(le,ce){if(Me&&!yt||Zone[le.symbol("patchEvents")])return;const je=ce.__Zone_ignore_on_properties;let A=[];if(ue){const q=window;A=A.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const ne=function It(){try{const le=ve.navigator.userAgent;if(-1!==le.indexOf("MSIE ")||-1!==le.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:q,ignoreProperties:["error"]}]:[];be(q,fe(q),je&&je.concat(ne),c(q))}A=A.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let q=0;q<A.length;q++){const ne=ce[A[q]];ne&&ne.prototype&&be(ne.prototype,fe(ne.prototype),je)}}(je,le)})),Zone.__load_patch("customElements",((le,ce,je)=>{!function In(le,ce){const{isBrowser:je,isMix:A}=ce.getGlobalObjects();(je||A)&&le.customElements&&"customElements"in le&&ce.patchCallbacks(ce,le.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(le,je)})),Zone.__load_patch("XHR",((le,ce)=>{!function Pe(tt){const Xe=tt.XMLHttpRequest;if(!Xe)return;const ct=Xe.prototype;let ft=ct[D],nn=ct[M];if(!ft){const Pt=tt.XMLHttpRequestEventTarget;if(Pt){const on=Pt.prototype;ft=on[D],nn=on[M]}}const Bt="readystatechange",Zt="scheduled";function $t(Pt){const on=Pt.data,me=on.target;me[ne]=!1,me[we]=!1;const ee=me[q];ft||(ft=me[D],nn=me[M]),ee&&nn.call(me,Bt,ee);const B=me[q]=()=>{if(me.readyState===me.DONE)if(!on.aborted&&me[ne]&&Pt.state===Zt){const j=me[ce.__symbol__("loadfalse")];if(0!==me.status&&j&&j.length>0){const _e=Pt.invoke;Pt.invoke=function(){const Ue=me[ce.__symbol__("loadfalse")];for(let vt=0;vt<Ue.length;vt++)Ue[vt]===Pt&&Ue.splice(vt,1);!on.aborted&&Pt.state===Zt&&_e.call(Pt)},j.push(Pt)}else Pt.invoke()}else!on.aborted&&!1===me[ne]&&(me[we]=!0)};return ft.call(me,Bt,B),me[je]||(me[je]=Pt),kt.apply(me,on.args),me[ne]=!0,Pt}function _t(){}function Tt(Pt){const on=Pt.data;return on.aborted=!0,hn.apply(on.target,on.args)}const Ht=Ct(ct,"open",(()=>function(Pt,on){return Pt[A]=0==on[2],Pt[Ce]=on[1],Ht.apply(Pt,on)})),Mn=Z("fetchTaskAborting"),dn=Z("fetchTaskScheduling"),kt=Ct(ct,"send",(()=>function(Pt,on){if(!0===ce.current[dn]||Pt[A])return kt.apply(Pt,on);{const me={target:Pt,url:Pt[Ce],isPeriodic:!1,args:on,aborted:!1},ee=k("XMLHttpRequest.send",_t,me,$t,Tt);Pt&&!0===Pt[we]&&!me.aborted&&ee.state===Zt&&ee.invoke()}})),hn=Ct(ct,"abort",(()=>function(Pt,on){const me=function Dt(Pt){return Pt[je]}(Pt);if(me&&"string"==typeof me.type){if(null==me.cancelFn||me.data&&me.data.aborted)return;me.zone.cancelTask(me)}else if(!0===ce.current[Mn])return hn.apply(Pt,on)}))}(le);const je=Z("xhrTask"),A=Z("xhrSync"),q=Z("xhrListener"),ne=Z("xhrScheduled"),Ce=Z("xhrURL"),we=Z("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(le=>{le.navigator&&le.navigator.geolocation&&function Mt(le,ce){const je=le.constructor.name;for(let A=0;A<ce.length;A++){const q=ce[A],ne=le[q];if(ne){if(!Ne(G(le,q)))continue;le[q]=(we=>{const Pe=function(){return we.apply(this,Ie(arguments,je+"."+q))};return Te(Pe,we),Pe})(ne)}}}(le.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((le,ce)=>{function je(A){return function(q){ht(le,A).forEach((Ce=>{const we=le.PromiseRejectionEvent;if(we){const Pe=new we(A,{promise:q.promise,reason:q.rejection});Ce.invoke(Pe)}}))}}le.PromiseRejectionEvent&&(ce[Z("unhandledPromiseRejectionHandler")]=je("unhandledrejection"),ce[Z("rejectionHandledHandler")]=je("rejectionhandled"))}))},7340:(G,T,c)=>{"use strict";c.d(T,{LC:()=>p,SB:()=>N,X$:()=>S,ZE:()=>Ne,ZN:()=>Mt,_j:()=>o,eR:()=>k,jt:()=>D,k1:()=>Ke,l3:()=>O,oB:()=>F,vP:()=>R});class o{}class p{}const O="*";function S(Me,ue){return{type:7,name:Me,definitions:ue,options:{}}}function D(Me,ue=null){return{type:4,styles:ue,timings:Me}}function R(Me,ue=null){return{type:2,steps:Me,options:ue}}function F(Me){return{type:6,styles:Me,offset:null}}function N(Me,ue,yt){return{type:0,name:Me,styles:ue,options:yt}}function k(Me,ue,yt=null){return{type:1,expr:Me,animation:ue,options:yt}}function Ie(Me){Promise.resolve(null).then(Me)}class Mt{constructor(ue=0,yt=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ue+yt}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((ue=>ue())),this._onDoneFns=[])}onStart(ue){this._onStartFns.push(ue)}onDone(ue){this._onDoneFns.push(ue)}onDestroy(ue){this._onDestroyFns.push(ue)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ie((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((ue=>ue())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((ue=>ue())),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(ue){this._position=this.totalTime?ue*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ue){const yt="start"==ue?this._onStartFns:this._onDoneFns;yt.forEach((Et=>Et())),yt.length=0}}class Ne{constructor(ue){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ue;let yt=0,Et=0,Ge=0;const He=this.players.length;0==He?Ie((()=>this._onFinish())):this.players.forEach((dt=>{dt.onDone((()=>{++yt==He&&this._onFinish()})),dt.onDestroy((()=>{++Et==He&&this._onDestroy()})),dt.onStart((()=>{++Ge==He&&this._onStart()}))})),this.totalTime=this.players.reduce(((dt,Qe)=>Math.max(dt,Qe.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((ue=>ue())),this._onDoneFns=[])}init(){this.players.forEach((ue=>ue.init()))}onStart(ue){this._onStartFns.push(ue)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((ue=>ue())),this._onStartFns=[])}onDone(ue){this._onDoneFns.push(ue)}onDestroy(ue){this._onDestroyFns.push(ue)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((ue=>ue.play()))}pause(){this.players.forEach((ue=>ue.pause()))}restart(){this.players.forEach((ue=>ue.restart()))}finish(){this._onFinish(),this.players.forEach((ue=>ue.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((ue=>ue.destroy())),this._onDestroyFns.forEach((ue=>ue())),this._onDestroyFns=[])}reset(){this.players.forEach((ue=>ue.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ue){const yt=ue*this.totalTime;this.players.forEach((Et=>{const Ge=Et.totalTime?Math.min(1,yt/Et.totalTime):1;Et.setPosition(Ge)}))}getPosition(){const ue=this.players.reduce(((yt,Et)=>null===yt||Et.totalTime>yt.totalTime?Et:yt),null);return null!=ue?ue.getPosition():0}beforeDestroy(){this.players.forEach((ue=>{ue.beforeDestroy&&ue.beforeDestroy()}))}triggerCallback(ue){const yt="start"==ue?this._onStartFns:this._onDoneFns;yt.forEach((Et=>Et())),yt.length=0}}const Ke="!"},6895:(G,T,c)=>{"use strict";c.d(T,{Do:()=>Me,ED:()=>Be,EM:()=>qn,HT:()=>D,JF:()=>io,K0:()=>R,Mx:()=>Xn,NF:()=>hi,O5:()=>Pr,Ov:()=>Xr,RF:()=>Se,S$:()=>Ie,V_:()=>x,Ye:()=>ue,b0:()=>Ke,bD:()=>Or,ez:()=>Ni,lw:()=>F,mk:()=>ar,mr:()=>Ne,n9:()=>$,q:()=>O,sg:()=>ir,tP:()=>wr,w_:()=>M});var o=c(5062);let p=null;function O(){return p}function D(b){p||(p=b)}class M{}const R=new o.OlP("DocumentToken");let F=(()=>{class b{historyGo(E){throw new Error("Not implemented")}}return b.ɵfac=function(E){return new(E||b)},b.ɵprov=o.Yz7({token:b,factory:function(){return function N(){return(0,o.LFG)(k)}()},providedIn:"platform"}),b})();const x=new o.OlP("Location Initialized");let k=(()=>{class b extends F{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return O().getBaseHref(this._doc)}onPopState(E){const K=O().getGlobalEventTarget(this._doc,"window");return K.addEventListener("popstate",E,!1),()=>K.removeEventListener("popstate",E)}onHashChange(E){const K=O().getGlobalEventTarget(this._doc,"window");return K.addEventListener("hashchange",E,!1),()=>K.removeEventListener("hashchange",E)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(E){this.location.pathname=E}pushState(E,K,ae){Z()?this._history.pushState(E,K,ae):this.location.hash=ae}replaceState(E,K,ae){Z()?this._history.replaceState(E,K,ae):this.location.hash=ae}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return b.ɵfac=function(E){return new(E||b)(o.LFG(R))},b.ɵprov=o.Yz7({token:b,factory:function(){return function Q(){return new k((0,o.LFG)(R))}()},providedIn:"platform"}),b})();function Z(){return!!window.history.pushState}function ve(b,z){if(0==b.length)return z;if(0==z.length)return b;let E=0;return b.endsWith("/")&&E++,z.startsWith("/")&&E++,2==E?b+z.substring(1):1==E?b+z:b+"/"+z}function pe(b){const z=b.match(/#|\?|$/),E=z&&z.index||b.length;return b.slice(0,E-("/"===b[E-1]?1:0))+b.slice(E)}function ye(b){return b&&"?"!==b[0]?"?"+b:b}let Ie=(()=>{class b{historyGo(E){throw new Error("Not implemented")}}return b.ɵfac=function(E){return new(E||b)},b.ɵprov=o.Yz7({token:b,factory:function(){return function Mt(b){const z=(0,o.LFG)(R).location;return new Ke((0,o.LFG)(F),z&&z.origin||"")}()},providedIn:"root"}),b})();const Ne=new o.OlP("appBaseHref");let Ke=(()=>{class b extends Ie{constructor(E,K){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==K&&(K=this._platformLocation.getBaseHrefFromDOM()),null==K)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=K}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return ve(this._baseHref,E)}path(E=!1){const K=this._platformLocation.pathname+ye(this._platformLocation.search),ae=this._platformLocation.hash;return ae&&E?`${K}${ae}`:K}pushState(E,K,ae,Ye){const ut=this.prepareExternalUrl(ae+ye(Ye));this._platformLocation.pushState(E,K,ut)}replaceState(E,K,ae,Ye){const ut=this.prepareExternalUrl(ae+ye(Ye));this._platformLocation.replaceState(E,K,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return b.ɵfac=function(E){return new(E||b)(o.LFG(F),o.LFG(Ne,8))},b.ɵprov=o.Yz7({token:b,factory:b.ɵfac}),b})(),Me=(()=>{class b extends Ie{constructor(E,K){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=K&&(this._baseHref=K)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let K=this._platformLocation.hash;return null==K&&(K="#"),K.length>0?K.substring(1):K}prepareExternalUrl(E){const K=ve(this._baseHref,E);return K.length>0?"#"+K:K}pushState(E,K,ae,Ye){let ut=this.prepareExternalUrl(ae+ye(Ye));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.pushState(E,K,ut)}replaceState(E,K,ae,Ye){let ut=this.prepareExternalUrl(ae+ye(Ye));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.replaceState(E,K,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return b.ɵfac=function(E){return new(E||b)(o.LFG(F),o.LFG(Ne,8))},b.ɵprov=o.Yz7({token:b,factory:b.ɵfac}),b})(),ue=(()=>{class b{constructor(E,K){this._subject=new o.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const ae=this._platformStrategy.getBaseHref();this._platformLocation=K,this._baseHref=pe(Ge(ae)),this._platformStrategy.onPopState((Ye=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ye.state,type:Ye.type})}))}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,K=""){return this.path()==this.normalize(E+ye(K))}normalize(E){return b.stripTrailingSlash(function Et(b,z){return b&&z.startsWith(b)?z.substring(b.length):z}(this._baseHref,Ge(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,K="",ae=null){this._platformStrategy.pushState(ae,"",E,K),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ye(K)),ae)}replaceState(E,K="",ae=null){this._platformStrategy.replaceState(ae,"",E,K),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ye(K)),ae)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){this._platformStrategy.historyGo?.(E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((K=>{this._notifyUrlChangeListeners(K.url,K.state)})))}_notifyUrlChangeListeners(E="",K){this._urlChangeListeners.forEach((ae=>ae(E,K)))}subscribe(E,K,ae){return this._subject.subscribe({next:E,error:K,complete:ae})}}return b.normalizeQueryParams=ye,b.joinWithSlash=ve,b.stripTrailingSlash=pe,b.ɵfac=function(E){return new(E||b)(o.LFG(Ie),o.LFG(F))},b.ɵprov=o.Yz7({token:b,factory:function(){return function yt(){return new ue((0,o.LFG)(Ie),(0,o.LFG)(F))}()},providedIn:"root"}),b})();function Ge(b){return b.replace(/\/index.html$/,"")}function Xn(b,z){z=encodeURIComponent(z);for(const E of b.split(";")){const K=E.indexOf("="),[ae,Ye]=-1==K?[E,""]:[E.slice(0,K),E.slice(K+1)];if(ae.trim()===z)return decodeURIComponent(Ye)}return null}let ar=(()=>{class b{constructor(E,K,ae,Ye){this._iterableDiffers=E,this._keyValueDiffers=K,this._ngEl=ae,this._renderer=Ye,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,o.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem((K=>this._toggleClass(K.key,K.currentValue))),E.forEachChangedItem((K=>this._toggleClass(K.key,K.currentValue))),E.forEachRemovedItem((K=>{K.previousValue&&this._toggleClass(K.key,!1)}))}_applyIterableChanges(E){E.forEachAddedItem((K=>{if("string"!=typeof K.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,o.AaK)(K.item)}`);this._toggleClass(K.item,!0)})),E.forEachRemovedItem((K=>this._toggleClass(K.item,!1)))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach((K=>this._toggleClass(K,!0))):Object.keys(E).forEach((K=>this._toggleClass(K,!!E[K]))))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach((K=>this._toggleClass(K,!1))):Object.keys(E).forEach((K=>this._toggleClass(K,!1))))}_toggleClass(E,K){(E=E.trim())&&E.split(/\s+/g).forEach((ae=>{K?this._renderer.addClass(this._ngEl.nativeElement,ae):this._renderer.removeClass(this._ngEl.nativeElement,ae)}))}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},b.ɵdir=o.lG2({type:b,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),b})();class pr{constructor(z,E,K,ae){this.$implicit=z,this.ngForOf=E,this.index=K,this.count=ae}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ir=(()=>{class b{constructor(E,K,ae){this._viewContainer=E,this._template=K,this._differs=ae,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const K=this._viewContainer;E.forEachOperation(((ae,Ye,ut)=>{if(null==ae.previousIndex)K.createEmbeddedView(this._template,new pr(ae.item,this._ngForOf,-1,-1),null===ut?void 0:ut);else if(null==ut)K.remove(null===Ye?void 0:Ye);else if(null!==Ye){const xt=K.get(Ye);K.move(xt,ut),er(xt,ae)}}));for(let ae=0,Ye=K.length;ae<Ye;ae++){const xt=K.get(ae).context;xt.index=ae,xt.count=Ye,xt.ngForOf=this._ngForOf}E.forEachIdentityChange((ae=>{er(K.get(ae.currentIndex),ae)}))}static ngTemplateContextGuard(E,K){return!0}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},b.ɵdir=o.lG2({type:b,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),b})();function er(b,z){b.context.$implicit=z.item}let Pr=(()=>{class b{constructor(E,K){this._viewContainer=E,this._context=new vr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=K}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){gr("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){gr("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,K){return!0}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.s_b),o.Y36(o.Rgc))},b.ɵdir=o.lG2({type:b,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),b})();class vr{constructor(){this.$implicit=null,this.ngIf=null}}function gr(b,z){if(z&&!z.createEmbeddedView)throw new Error(`${b} must be a TemplateRef, but received '${(0,o.AaK)(z)}'.`)}class X{constructor(z,E){this._viewContainerRef=z,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(z){z&&!this._created?this.create():!z&&this._created&&this.destroy()}}let Se=(()=>{class b{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const K=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||K,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),K}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let K=0;K<this._defaultViews.length;K++)this._defaultViews[K].enforceState(E)}}}return b.ɵfac=function(E){return new(E||b)},b.ɵdir=o.lG2({type:b,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),b})(),$=(()=>{class b{constructor(E,K,ae){this.ngSwitch=ae,ae._addCase(),this._view=new X(E,K)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(Se,9))},b.ɵdir=o.lG2({type:b,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),b})(),Be=(()=>{class b{constructor(E,K,ae){ae._addDefault(new X(E,K))}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(Se,9))},b.ɵdir=o.lG2({type:b,selectors:[["","ngSwitchDefault",""]]}),b})(),wr=(()=>{class b{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(E){if(E.ngTemplateOutlet){const K=this._viewContainerRef;this._viewRef&&K.remove(K.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?K.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.s_b))},b.ɵdir=o.lG2({type:b,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[o.TTD]}),b})();class mr{createSubscription(z,E){return z.subscribe({next:E,error:K=>{throw K}})}dispose(z){z.unsubscribe()}onDestroy(z){z.unsubscribe()}}class Ir{createSubscription(z,E){return z.then(E,(K=>{throw K}))}dispose(z){}onDestroy(z){}}const xi=new Ir,Jr=new mr;let Xr=(()=>{class b{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,(K=>this._updateLatestValue(E,K)))}_selectStrategy(E){if((0,o.QGY)(E))return xi;if((0,o.F4k)(E))return Jr;throw function tr(b,z){return new o.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,K){E===this._obj&&(this._latestValue=K,this._ref.markForCheck())}}return b.ɵfac=function(E){return new(E||b)(o.Y36(o.sBO,16))},b.ɵpipe=o.Yjl({name:"async",type:b,pure:!1}),b})(),Ni=(()=>{class b{}return b.ɵfac=function(E){return new(E||b)},b.ɵmod=o.oAB({type:b}),b.ɵinj=o.cJS({}),b})();const Or="browser";function hi(b){return b===Or}let qn=(()=>{class b{}return b.ɵprov=(0,o.Yz7)({token:b,providedIn:"root",factory:()=>new hr((0,o.LFG)(R),window)}),b})();class hr{constructor(z,E){this.document=z,this.window=E,this.offset=()=>[0,0]}setOffset(z){this.offset=Array.isArray(z)?()=>z:z}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(z){this.supportsScrolling()&&this.window.scrollTo(z[0],z[1])}scrollToAnchor(z){if(!this.supportsScrolling())return;const E=function Er(b,z){const E=b.getElementById(z)||b.getElementsByName(z)[0];if(E)return E;if("function"==typeof b.createTreeWalker&&b.body&&(b.body.createShadowRoot||b.body.attachShadow)){const K=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT);let ae=K.currentNode;for(;ae;){const Ye=ae.shadowRoot;if(Ye){const ut=Ye.getElementById(z)||Ye.querySelector(`[name="${z}"]`);if(ut)return ut}ae=K.nextNode()}}return null}(this.document,z);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(z){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=z)}}scrollToElement(z){const E=z.getBoundingClientRect(),K=E.left+this.window.pageXOffset,ae=E.top+this.window.pageYOffset,Ye=this.offset();this.window.scrollTo(K-Ye[0],ae-Ye[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const z=Li(this.window.history)||Li(Object.getPrototypeOf(this.window.history));return!(!z||!z.writable&&!z.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Li(b){return Object.getOwnPropertyDescriptor(b,"scrollRestoration")}class io{}},5062:(G,T,c)=>{"use strict";c.d(T,{deG:()=>Rg,tb:()=>hg,AFp:()=>cg,ip1:()=>lg,CZH:()=>$c,hGG:()=>B0,z2F:()=>qc,sBO:()=>E0,Sil:()=>e0,_Vd:()=>La,EJc:()=>Jb,SBq:()=>zs,qLn:()=>ga,vpe:()=>Ji,tBr:()=>sa,XFs:()=>ce,OlP:()=>sr,zs3:()=>Ki,ZZ4:()=>ru,aQg:()=>iu,soG:()=>zc,YKP:()=>_p,h0i:()=>cs,PXZ:()=>p0,R0b:()=>Ai,FiY:()=>Ms,Lbi:()=>Zb,g9A:()=>dg,Qsj:()=>QC,FYo:()=>fp,JOm:()=>Gi,tp0:()=>Ss,Rgc:()=>Zs,dDg:()=>gg,GfV:()=>pp,s_b:()=>ja,ifc:()=>ct,eFA:()=>yg,G48:()=>w0,Gpc:()=>ye,X6Q:()=>b0,_c5:()=>V0,VLi:()=>d0,c2e:()=>Qb,zSh:()=>Zl,wAp:()=>pn,vHH:()=>Ke,cg1:()=>Cc,kL8:()=>Lf,dqk:()=>Zt,sIi:()=>Ls,CqO:()=>Bh,QGY:()=>hc,F4k:()=>Vh,RDi:()=>z,AaK:()=>Q,qOj:()=>ec,TTD:()=>Or,_Bn:()=>up,xp6:()=>yd,uIk:()=>rc,Tol:()=>cf,Gre:()=>Mf,ekj:()=>_c,Suo:()=>jp,Xpm:()=>me,lG2:()=>st,Yz7:()=>Ft,cJS:()=>Le,oAB:()=>_e,Yjl:()=>at,Y36:()=>Bs,_UZ:()=>uc,GkF:()=>dc,BQk:()=>Pa,ynx:()=>Ta,qZA:()=>Sa,TgZ:()=>Ma,EpF:()=>Lh,n5z:()=>ot,LFG:()=>Nr,$8M:()=>xn,$Z:()=>kh,NdJ:()=>fc,CRH:()=>Up,O4$:()=>gi,oxw:()=>$h,ALo:()=>Ap,lcZ:()=>xp,xi3:()=>Ip,Hsn:()=>zh,F$t:()=>Gh,Q6J:()=>lc,s9C:()=>gc,MGl:()=>Oa,hYB:()=>mc,DdM:()=>bp,VKq:()=>wp,WLB:()=>Ep,kEZ:()=>Dp,iGM:()=>Vp,MAs:()=>Mh,Jf7:()=>dd,CHM:()=>Ao,oJD:()=>cd,LSH:()=>Dl,YNc:()=>Dh,W1O:()=>zp,_uU:()=>mf,Oqu:()=>vc,hij:()=>xa,Gf:()=>Bp});var o=c(8929),p=c(2654),O=c(2916),S=c(6787),D=c(1762);class R{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 F=c(4327);function N(){return new o.xQ}function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function Z(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Q).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 ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const pe=k({__forward_ref__:k});function ye(e){return e.__forward_ref__=ye,e.toString=function(){return Q(this())},e}function Ie(e){return Mt(e)?e():e}function Mt(e){return"function"==typeof e&&e.hasOwnProperty(pe)&&e.__forward_ref__===ye}class Ke extends Error{constructor(t,n){super(function Me(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ue(e){return"string"==typeof e?e:null==e?"":String(e)}function yt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ue(e)}function dt(e,t){const n=t?` in ${t}`:"";throw new Ke(-201,`No provider for ${yt(e)} found${n}`)}function Ae(e,t){null==e&&function ge(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ft(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Le(e){return{providers:e.providers||[],imports:e.imports||[]}}function be(e){return fe(e,In)||fe(e,yr)}function fe(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kt(e){return e&&(e.hasOwnProperty(En)||e.hasOwnProperty(le))?e[En]:null}const In=k({"ɵprov":k}),En=k({"ɵinj":k}),yr=k({ngInjectableDef:k}),le=k({ngInjectorDef:k});var ce=(()=>((ce=ce||{})[ce.Default=0]="Default",ce[ce.Host=1]="Host",ce[ce.Self=2]="Self",ce[ce.SkipSelf=4]="SkipSelf",ce[ce.Optional=8]="Optional",ce))();let je;function q(e){const t=je;return je=e,t}function ne(e,t,n){const r=be(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ce.Optional?null:void 0!==t?t:void dt(Q(e),"Injector")}function we(e){return{toString:e}.toString()}var Pe=(()=>((Pe=Pe||{})[Pe.OnPush=0]="OnPush",Pe[Pe.Default=1]="Default",Pe))(),ct=(()=>{return(e=ct||(ct={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",ct;var e})();const Dt=typeof globalThis<"u"&&globalThis,ft=typeof window<"u"&&window,nn=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Zt=Dt||typeof global<"u"&&global||ft||nn,Tt={},Ht=[],cn=k({"ɵcmp":k}),Mn=k({"ɵdir":k}),dn=k({"ɵpipe":k}),kt=k({"ɵmod":k}),hn=k({"ɵfac":k}),Pt=k({__NG_ELEMENT_ID__:k});let on=0;function me(e){return we((()=>{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===Pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ht,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ct.Emulated,id:"c",styles:e.styles||Ht,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,a=e.pipes;return r.id+=on++,r.inputs=vt(e.inputs,n),r.outputs=vt(e.outputs),s&&s.forEach((f=>f(r))),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(B):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(W):null,r}))}function B(e){return ie(e)||function Re(e){return e[Mn]||null}(e)}function W(e){return function St(e){return e[dn]||null}(e)}const j={};function _e(e){return we((()=>{const t={type:e.type,bootstrap:e.bootstrap||Ht,declarations:e.declarations||Ht,imports:e.imports||Ht,exports:e.exports||Ht,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(j[e.id]=e.type),t}))}function vt(e,t){if(null==e)return Tt;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 st=me;function at(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ie(e){return e[cn]||null}function Ot(e,t){const n=e[kt]||null;if(!n&&!0===t)throw new Error(`Type ${Q(e)} does not have 'ɵmod' property.`);return n}function Bn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Hn(e){return Array.isArray(e)&&!0===e[1]}function wr(e){return 0!=(8&e.flags)}function qr(e){return 2==(2&e.flags)}function tr(e){return 1==(1&e.flags)}function mr(e){return null!==e.template}function Ir(e){return 0!=(512&e[2])}function Fr(e,t){return e.hasOwnProperty(hn)?e[hn]:null}class Ni{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Or(){return Fi}function Fi(e){return e.type.prototype.ngOnChanges&&(e.setInput=wi),ki}function ki(){const e=fi(this),t=e?.current;if(t){const n=e.previous;if(n===Tt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function wi(e,t,n,r){const i=fi(e)||function lo(e,t){return e[hi]=t}(e,{previous:Tt,current:null}),s=i.current||(i.current={}),a=i.previous,f=this.declaredInputs[n],m=a[f];s[f]=new Ni(m&&m.currentValue,t,a===Tt),e[r]=t}Or.ngInherit=!0;const hi="__ngSimpleChanges__";function fi(e){return e[hi]||null}let b;function z(e){b=e}function E(){return void 0!==b?b:typeof document<"u"?document:void 0}function ae(e){return!!e.listen}const Ye={createRenderer:(e,t)=>E()};function xt(e){for(;Array.isArray(e);)e=e[0];return e}function Rn(e,t){return xt(t[e])}function gn(e,t){return xt(t[e.index])}function yn(e,t){return e.data[t]}function Gn(e,t){return e[t]}function Yn(e,t){const n=t[e];return Bn(n)?n:n[0]}function _r(e){return 4==(4&e[2])}function Rr(e){return 128==(128&e[2])}function w(e,t){return null==t?null:e[t]}function v(e){e[18]=0}function _(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 V={lFrame:cr(null),bindingsEnabled:!0};function Vr(){return V.bindingsEnabled}function mt(){return V.lFrame.lView}function Pn(){return V.lFrame.tView}function Ao(e){return V.lFrame.contextLView=e,e[8]}function nr(){let e=yo();for(;null!==e&&64===e.type;)e=e.parent;return e}function yo(){return V.lFrame.currentTNode}function Ar(e,t){const n=V.lFrame;n.currentTNode=e,n.isParent=t}function vo(){return V.lFrame.isParent}function Co(){V.lFrame.isParent=!1}function y(){const e=V.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oe(){return V.lFrame.bindingIndex++}function se(e){const t=V.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gt(e,t){const n=V.lFrame;n.bindingIndex=n.bindingRootIndex=e,_n(t)}function _n(e){V.lFrame.currentDirectiveIndex=e}function an(){return V.lFrame.currentQueryIndex}function vn(e){V.lFrame.currentQueryIndex=e}function jn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function or(e,t,n){if(n&ce.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&ce.Host||(i=jn(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=V.lFrame=Cr();return r.currentTNode=t,r.lView=e,!0}function rr(e){const t=Cr(),n=e[1];V.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Cr(){const e=V.lFrame,t=null===e?null:e.child;return null===t?cr(e):t}function cr(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 Bi(){const e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Br=Bi;function ur(){const e=Bi();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 Kn(){return V.lFrame.selectedIndex}function ti(e){V.lFrame.selectedIndex=e}function Un(){const e=V.lFrame;return yn(e.tView,e.selectedIndex)}function gi(){V.lFrame.currentNamespace="svg"}function Tn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:f,ngAfterViewInit:m,ngAfterViewChecked:I,ngOnDestroy:H}=s;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),m&&(e.viewHooks||(e.viewHooks=[])).push(-n,m),I&&((e.viewHooks||(e.viewHooks=[])).push(n,I),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,I)),null!=H&&(e.destroyHooks||(e.destroyHooks=[])).push(n,H)}}function Zn(e,t,n){ni(e,t,3,n)}function xr(e,t,n,r){(3&e[2])===n&&ni(e,t,n,r)}function Dr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ni(e,t,n,r){const s=r??-1,a=t.length-1;let f=0;for(let m=void 0!==r?65535&e[18]:0;m<a;m++)if("number"==typeof t[m+1]){if(f=t[m],null!=r&&f>=r)break}else t[m]<0&&(e[18]+=65536),(f<s||-1==s)&&(Qn(e,n,t,m),e[18]=(4294901760&e[18])+m+2),m++}function Qn(e,t,n,r){const i=n[r]<0,s=n[r+1],f=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(f)}finally{}}}else try{s.call(f)}finally{}}class ji{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ro(e,t,n){const r=ae(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const a=n[i++],f=n[i++],m=n[i++];r?e.setAttribute(t,f,m,a):t.setAttributeNS(a,f,m)}else{const a=s,f=n[++i];No(a)?r&&e.setProperty(t,a,f):r?e.setAttribute(t,a,f):t.setAttribute(a,f),i++}}return i}function Js(e){return 3===e||4===e||6===e}function No(e){return 64===e.charCodeAt(0)}function Fo(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||ps(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ps(e,t,n,r,i){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const f=e[s++];if("number"==typeof f){if(f===t){a=-1;break}if(f>t){a=s-1;break}}}for(;s<e.length;){const f=e[s];if("number"==typeof f)break;if(f===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!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function gs(e){return-1!==e}function Ui(e){return 32767&e}function Qr(e,t){let n=function pu(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ko=!0;function Lo(e){const t=ko;return ko=e,t}let Wa=0;function uo(e,t){const n=_s(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ms(r.data,e),ms(t,null),ms(r.blueprint,null));const i=Vo(e,t),s=e.injectorIndex;if(gs(i)){const a=Ui(i),f=Qr(i,t),m=f[1].data;for(let I=0;I<8;I++)t[s+I]=f[a+I]|m[a+I]}return t[s+8]=i,s}function ms(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _s(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const s=i[1],a=s.type;if(r=2===a?s.declTNode:1===a?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ho(e,t,n){!function Ya(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Pt)&&(r=n[Pt]),null==r&&(r=n[Pt]=Wa++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function ta(e,t,n){if(n&ce.Optional)return e;dt(t,"NodeInjector")}function ys(e,t,n,r){if(n&ce.Optional&&void 0===r&&(r=null),0==(n&(ce.Self|ce.Host))){const i=e[9],s=q(void 0);try{return i?i.get(t,r,n&ce.Optional):ne(t,r,n&ce.Optional)}finally{q(s)}}return ta(r,t,n)}function na(e,t,n,r=ce.Default,i){if(null!==e){const s=function P(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Pt)?e[Pt]:void 0;return"number"==typeof t?t>=0?255&t:g:t}(n);if("function"==typeof s){if(!or(t,e,r))return r&ce.Host?ta(i,n,r):ys(t,n,r,i);try{const a=s(r);if(null!=a||r&ce.Optional)return a;dt(n)}finally{Br()}}else if("number"==typeof s){let a=null,f=_s(e,t),m=-1,I=r&ce.Host?t[16][6]:null;for((-1===f||r&ce.SkipSelf)&&(m=-1===f?Vo(e,t):t[f+8],-1!==m&&re(r,!1)?(a=t[1],f=Ui(m),t=Qr(m,t)):f=-1);-1!==f;){const H=t[1];if(Y(s,f,H.data)){const te=h(f,t,n,a,r,I);if(te!==Za)return te}m=t[f+8],-1!==m&&re(r,t[1].data[f+8]===I)&&Y(s,f,t)?(a=H,f=Ui(m),t=Qr(m,t)):f=-1}}}return ys(t,n,r,i)}const Za={};function g(){return new de(nr(),mt())}function h(e,t,n,r,i,s){const a=t[1],f=a.data[e+8],H=u(f,a,n,null==r?qr(f)&&ko:r!=a&&0!=(3&f.type),i&ce.Host&&s===f);return null!==H?C(t,a,H,f):Za}function u(e,t,n,r,i){const s=e.providerIndexes,a=t.data,f=1048575&s,m=e.directiveStart,H=s>>20,he=i?f+H:e.directiveEnd;for(let Fe=r?f:f+H;Fe<he;Fe++){const rt=a[Fe];if(Fe<m&&n===rt||Fe>=m&&rt.type===n)return Fe}if(i){const Fe=a[m];if(Fe&&mr(Fe)&&Fe.type===n)return m}return null}function C(e,t,n,r){let i=e[n];const s=t.data;if(function Mr(e){return e instanceof ji}(i)){const a=i;a.resolving&&function Et(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ke(-200,`Circular dependency in DI detected for ${e}${n}`)}(yt(s[n]));const f=Lo(a.canSeeViewProviders);a.resolving=!0;const m=a.injectImpl?q(a.injectImpl):null;or(e,r,ce.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function fn(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=Fi(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}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!==m&&q(m),Lo(f),a.resolving=!1,Br()}}return i}function Y(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function re(e,t){return!(e&ce.Self||e&ce.Host&&t)}class de{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return na(this._tNode,this._lView,t,r,n)}}function ot(e){return we((()=>{const t=e.prototype.constructor,n=t[hn]||Qt(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[hn]||Qt(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s}))}function Qt(e){return Mt(e)?()=>{const t=Qt(Ie(e));return t&&t()}:Fr(e)}function xn(e){return function Ka(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(Js(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}(nr(),e)}const Nn="__parameters__";function Hi(e,t,n){return we((()=>{const r=function oo(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 a=new i(...s);return f.annotation=a,f;function f(m,I,H){const te=m.hasOwnProperty(Nn)?m[Nn]:Object.defineProperty(m,Nn,{value:[]})[Nn];for(;te.length<=H;)te.push(null);return(te[H]=te[H]||[]).push(a),m}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}class sr{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=Ft({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Rg=new sr("AnalyzeForEntryComponents");function mi(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)),mi(r,t)):t!==e&&t.push(r)}return t}function $i(e,t){e.forEach((n=>Array.isArray(n)?$i(n,t):t(n)))}function mu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ra(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function bs(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function oi(e,t,n){let r=Bo(e,t);return r>=0?e[1|r]=n:(r=~r,function kg(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 Ja(e,t){const n=Bo(e,t);if(n>=0)return e[1|n]}function Bo(e,t){return function vu(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<<n];if(t===a)return s<<n;a>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const ws={},el="__NG_DI_FLAG__",oa="ngTempTokenPath",$g=/\n/gm,bu="__source",zg=k({provide:String,useValue:k});let Es;function wu(e){const t=Es;return Es=e,t}function Wg(e,t=ce.Default){if(void 0===Es)throw new Ke(203,"");return null===Es?ne(e,void 0,t):Es.get(e,t&ce.Optional?null:void 0,t)}function Nr(e,t=ce.Default){return(function A(){return je}()||Wg)(Ie(e),t)}const Yg=Nr;function tl(e){const t=[];for(let n=0;n<e.length;n++){const r=Ie(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ke(900,"");let i,s=ce.Default;for(let a=0;a<r.length;a++){const f=r[a],m=Kg(f);"number"==typeof m?-1===m?i=f.token:s|=m:i=f}t.push(Nr(i,s))}else t.push(Nr(r))}return t}function Ds(e,t){return e[el]=t,e.prototype[el]=t,e}function Kg(e){return e[el]}const sa=Ds(Hi("Inject",(e=>({token:e}))),-1),Ms=Ds(Hi("Optional"),8),Ss=Ds(Hi("SkipSelf"),4);var Gi=(()=>((Gi=Gi||{})[Gi.Important=1]="Important",Gi[Gi.DashCase=2]="DashCase",Gi))();const Au="__ngContext__";function jr(e,t){e[Au]=t}function il(e){const t=function Ps(e){return e[Au]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function sl(e,t){return undefined(e,t)}function Os(e){const t=e[3];return Hn(t)?t[3]:t}function al(e){return Lu(e[13])}function ll(e){return Lu(e[4])}function Lu(e){for(;null!==e&&!Hn(e);)e=e[4];return e}function Uo(e,t,n,r,i){if(null!=r){let s,a=!1;Hn(r)?s=r:Bn(r)&&(a=!0,r=r[0]);const f=xt(r);0===e&&null!==n?null==i?$u(t,n,f):Do(t,n,f,i||null,!0):1===e&&null!==n?Do(t,n,f,i||null,!0):2===e?function gl(e,t,n){const r=la(e,t);r&&function Mm(e,t,n,r){ae(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,f,a):3===e&&t.destroyNode(f),null!=s&&function Pm(e,t,n,r,i){const s=n[7];s!==xt(n)&&Uo(t,e,r,s,i);for(let f=10;f<n.length;f++){const m=n[f];As(m[1],m,e,t,r,s)}}(t,e,s,n,i)}}function ul(e,t,n){if(ae(e))return e.createElement(t,n);{const r=null!==n?function io(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function Bu(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,_(i,-1)),n.splice(r,1)}function dl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Bu(i,r),t>0&&(e[n-1][4]=r[4]);const s=ra(e,10+t);!function _m(e,t){As(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=s[19];null!==a&&a.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function ju(e,t){if(!(256&t[2])){const n=t[11];ae(n)&&n.destroyNode&&As(e,t,n,3,null,null),function Cm(e){let t=e[13];if(!t)return hl(e[1],e);for(;t;){let n=null;if(Bn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Bn(t)&&hl(t[1],t),t=t[3];null===t&&(t=e),Bn(t)&&hl(t[1],t),n=t&&t[4]}t=n}}(t)}}function hl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function Dm(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 ji)){const s=n[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const f=i[s[a]],m=s[a+1];try{m.call(f)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function Em(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 a=n[s+1],f="function"==typeof a?a(t):xt(t[a]),m=r[i=n[s+2]],I=n[s+3];"boolean"==typeof I?f.removeEventListener(n[s],m,I):I>=0?r[i=I]():r[i=-I].unsubscribe(),s+=2}else{const a=r[i=n[s+1]];n[s].call(a)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();t[7]=null}}(e,t),1===t[1].type&&ae(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Hn(t[3])){n!==t[3]&&Bu(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Uu(e,t,n){return function Hu(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===ct.None||i===ct.Emulated)return null}return gn(r,n)}(e,t.parent,n)}function Do(e,t,n,r,i){ae(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function $u(e,t,n){ae(e)?e.appendChild(t,n):t.appendChild(n)}function Gu(e,t,n,r,i){null!==r?Do(e,t,n,r,i):$u(e,t,n)}function la(e,t){return ae(e)?e.parentNode(t):t.parentNode}function zu(e,t,n){return Yu(e,t,n)}let da,ha,Yu=function Wu(e,t,n){return 40&e.type?gn(e,n):null};function ca(e,t,n,r){const i=Uu(e,r,t),s=t[11],f=zu(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let m=0;m<n.length;m++)Gu(s,i,n[m],f,!1);else Gu(s,i,n,f,!1)}function ua(e,t){if(null!==t){const n=t.type;if(3&n)return gn(t,e);if(4&n)return pl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ua(e,r);{const i=e[t.index];return Hn(i)?pl(-1,i):xt(i)}}if(32&n)return sl(t,e)()||xt(e[t.index]);{const r=Zu(e,t);return null!==r?Array.isArray(r)?r[0]:ua(Os(e[16]),r):ua(e,t.next)}}return null}function Zu(e,t){return null!==t?e[16][6].projection[t.projection]:null}function pl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return ua(r,i)}return t[7]}function ml(e,t,n,r,i,s,a){for(;null!=n;){const f=r[n.index],m=n.type;if(a&&0===t&&(f&&jr(xt(f),r),n.flags|=4),64!=(64&n.flags))if(8&m)ml(e,t,n.child,r,i,s,!1),Uo(t,e,i,f,s);else if(32&m){const I=sl(n,r);let H;for(;H=I();)Uo(t,e,i,H,s);Uo(t,e,i,f,s)}else 16&m?Qu(e,t,r,n,i,s):Uo(t,e,i,f,s);n=a?n.projectionNext:n.next}}function As(e,t,n,r,i,s){ml(n,r,e.firstChild,t,i,s,!1)}function Qu(e,t,n,r,i,s){const a=n[16],m=a[6].projection[r.projection];if(Array.isArray(m))for(let I=0;I<m.length;I++)Uo(t,e,i,m[I],s);else ml(e,t,m,a[3],i,s,!0)}function qu(e,t,n){ae(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function _l(e,t,n){ae(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Mo(e){return function yl(){if(void 0===da&&(da=null,Zt.trustedTypes))try{da=Zt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return da}()?.createHTML(e)||e}function Ju(e){return function vl(){if(void 0===ha&&(ha=null,Zt.trustedTypes))try{ha=Zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}class td{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function po(e){return e instanceof td?e.changingThisBreaksApplicationSecurity:e}function xs(e,t){const n=function Vm(e){return e instanceof td&&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}class Bm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Mo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class jm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Mo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Mo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const a=n.item(i).name;("xmlns:ns1"===a||0===a.indexOf("ns1:"))&&t.removeAttribute(a)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Hm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,$m=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function fa(e){return(e=String(e)).match(Hm)||e.match($m)?e:"unsafe:"+e}function zi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Is(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const id=zi("area,br,col,hr,img,wbr"),od=zi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sd=zi("rp,rt"),Cl=Is(id,Is(od,zi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Is(sd,zi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Is(sd,od)),bl=zi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wl=zi("srcset"),ad=Is(bl,wl,zi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),zi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Gm=zi("script,style,template");class zm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Cl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Gm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),a=s.name,f=a.toLowerCase();if(!ad.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let m=s.value;bl[f]&&(m=fa(m)),wl[f]&&(e=m,m=(e=String(e)).split(",").map((t=>fa(t.trim()))).join(", ")),this.buf.push(" ",a,'="',ld(m),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Cl.hasOwnProperty(n)&&!id.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ld(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Wm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ym=/([^\#-~ |!])/g;function ld(e){return e.replace(/&/g,"&").replace(Wm,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Ym,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let pa;function El(e){return"content"in e&&function Zm(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var br=(()=>((br=br||{})[br.NONE=0]="NONE",br[br.HTML=1]="HTML",br[br.STYLE=2]="STYLE",br[br.SCRIPT=3]="SCRIPT",br[br.URL=4]="URL",br[br.RESOURCE_URL=5]="RESOURCE_URL",br))();function cd(e){const t=Rs();return t?Ju(t.sanitize(br.HTML,e)||""):xs(e,"HTML")?Ju(po(e)):function Km(e,t){let n=null;try{pa=pa||function nd(e){const t=new jm(e);return function Um(){try{return!!(new window.DOMParser).parseFromString(Mo(""),"text/html")}catch{return!1}}()?new Bm(t):t}(e);let r=t?String(t):"";n=pa.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=pa.getInertBodyElement(r)}while(r!==s);return Mo((new zm).sanitizeChildren(El(n)||n))}finally{if(n){const r=El(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(E(),ue(e))}function Dl(e){const t=Rs();return t?t.sanitize(br.URL,e)||"":xs(e,"URL")?po(e):fa(ue(e))}function Rs(){const e=mt();return e&&e[12]}function Sl(e){return e.ngOriginalError}function o_(e,...t){e.error(...t)}class ga{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function i_(e){return e&&e.ngErrorLogger||o_}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Sl(t);for(;n&&Sl(n);)n=Sl(n);return n||null}}const h_=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Zt))();function dd(e){return e.ownerDocument.defaultView}function Wi(e){return e instanceof Function?e():e}function fd(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 pd="ng-template";function g_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==fd(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 gd(e){return 4===e.type&&e.value!==pd}function m_(e,t,n){return t===(4!==e.type||n?e.value:pd)}function __(e,t,n){let r=4;const i=e.attrs||[],s=function C_(e){for(let t=0;t<e.length;t++)if(Js(e[t]))return t;return e.length}(i);let a=!1;for(let f=0;f<t.length;f++){const m=t[f];if("number"!=typeof m){if(!a)if(4&r){if(r=2|1&r,""!==m&&!m_(e,m,n)||""===m&&1===t.length){if(Mi(r))return!1;a=!0}}else{const I=8&r?m:t[++f];if(8&r&&null!==e.attrs){if(!g_(e.attrs,I,n)){if(Mi(r))return!1;a=!0}continue}const te=y_(8&r?"class":m,i,gd(e),n);if(-1===te){if(Mi(r))return!1;a=!0;continue}if(""!==I){let he;he=te>s?"":i[te+1].toLowerCase();const Fe=8&r?he:null;if(Fe&&-1!==fd(Fe,I,0)||2&r&&I!==he){if(Mi(r))return!1;a=!0}}}}else{if(!a&&!Mi(r)&&!Mi(m))return!1;if(a&&Mi(m))continue;a=!1,r=m|1&r}}return Mi(r)||a}function Mi(e){return 0==(1&e)}function y_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)s=!0;else{if(1===a||2===a){let f=t[++i];for(;"string"==typeof f;)f=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=s?1:2}return-1}return function b_(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function md(e,t,n=!1){for(let r=0;r<t.length;r++)if(__(e,t[r],n))return!0;return!1}function w_(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function _d(e,t){return e?":not("+t.trim()+")":t}function E_(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const f=e[++n];i+="["+a+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!Mi(a)&&(t+=_d(s,i),i=""),r=a,s=s||!Mi(r);n++}return""!==i&&(t+=_d(s,i)),t}const wn={};function yd(e){vd(Pn(),mt(),Kn()+e,!1)}function vd(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Zn(t,s,n)}else{const s=e.preOrderHooks;null!==s&&xr(t,s,0,n)}ti(n)}function ma(e,t){return e<<17|t<<2}function Si(e){return e>>17&32767}function Tl(e){return 2|e}function so(e){return(131068&e)>>2}function Pl(e,t){return-131069&e|t<<2}function Ol(e){return 1|e}function Ad(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 a=e.data[s];vn(i),a.contentQueries(2,t[s],s)}}}function Ns(e,t,n,r,i,s,a,f,m,I){const H=t.blueprint.slice();return H[0]=i,H[2]=140|r,v(H),H[3]=H[15]=e,H[8]=n,H[10]=a||e&&e[10],H[11]=f||e&&e[11],H[12]=m||e&&e[12]||null,H[9]=I||e&&e[9]||null,H[6]=s,H[16]=2==t.type?e[16]:H,H}function $o(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Vl(e,t,n,r,i){const s=yo(),a=vo(),m=e.data[t]=function U_(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,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=m),null!==s&&(a?null==s.child&&null!==m.parent&&(s.child=m):null===s.next&&(s.next=m)),m}(e,t,n,r,i),function ke(){return V.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=function Ei(){const e=V.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Ar(s,!0),s}function Go(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 Fs(e,t,n){rr(t);try{const r=e.viewQuery;null!==r&&Yl(1,r,n);const i=e.template;null!==i&&xd(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ad(e,t),e.staticViewQueries&&Yl(2,e.viewQuery,n);const s=e.components;null!==s&&function V_(e,t){for(let n=0;n<t.length;n++)oy(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,ur()}}function zo(e,t,n,r){const i=t[2];if(256!=(256&i)){rr(t);try{v(t),function J(e){return V.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&xd(e,t,n,2,r);const a=3==(3&i);if(a){const I=e.preOrderCheckHooks;null!==I&&Zn(t,I,null)}else{const I=e.preOrderHooks;null!==I&&xr(t,I,0,null),Dr(t,0)}if(function ry(e){for(let t=al(e);null!==t;t=ll(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])&&_(s,1),i[2]|=1024}}}(t),function ny(e){for(let t=al(e);null!==t;t=ll(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];Rr(r)&&zo(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Ad(e,t),a){const I=e.contentCheckHooks;null!==I&&Zn(t,I)}else{const I=e.contentHooks;null!==I&&xr(t,I,1),Dr(t,1)}!function k_(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)ti(~i);else{const s=i,a=n[++r],f=n[++r];Gt(a,s),f(2,t[s])}}}finally{ti(-1)}}(e,t);const f=e.components;null!==f&&function L_(e,t){for(let n=0;n<t.length;n++)iy(e,t[n])}(t,f);const m=e.viewQuery;if(null!==m&&Yl(2,m,r),a){const I=e.viewCheckHooks;null!==I&&Zn(t,I)}else{const I=e.viewHooks;null!==I&&xr(t,I,2),Dr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,_(t[3],-1))}finally{ur()}}}function B_(e,t,n,r){const i=t[10],a=_r(t);try{!a&&i.begin&&i.begin(),a&&Fs(e,t,r),zo(e,t,n,r)}finally{!a&&i.end&&i.end()}}function xd(e,t,n,r,i){const s=Kn(),a=2&r;try{ti(-1),a&&t.length>20&&vd(e,t,20,!1),n(r,i)}finally{ti(s)}}function Id(e,t,n){if(wr(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}}function Bl(e,t,n){!Vr()||(function K_(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||uo(n,t),jr(r,t);const a=n.initialInputs;for(let f=i;f<s;f++){const m=e.data[f],I=mr(m);I&&X_(t,n,m);const H=C(t,e,f,n);jr(H,t),null!==a&&ey(0,f-i,H,m,0,a),I&&(Yn(n.index,t)[8]=H)}}(e,t,n,gn(n,t)),128==(128&n.flags)&&function Z_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,f=function tn(){return V.lFrame.currentDirectiveIndex}();try{ti(a);for(let m=r;m<i;m++){const I=e.data[m],H=t[m];_n(m),(null!==I.hostBindings||0!==I.hostVars||null!==I.hostAttrs)&&jd(I,H)}}finally{ti(-1),_n(f)}}(e,t,n))}function jl(e,t,n=gn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const a=r[s+1],f=-1===a?n(t,e):e[a];e[i++]=f}}}function Rd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=va(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function va(e,t,n,r,i,s,a,f,m,I){const H=20+r,te=H+i,he=function j_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:wn);return n}(H,te),Fe="function"==typeof I?I():I;return he[1]={type:e,blueprint:he,template:n,queries:null,viewQuery:f,declTNode:t,data:he.slice().fill(null,H),bindingStartIndex:H,expandoStartIndex:te,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 a?a():a,firstChild:null,schemas:m,consts:Fe,incompleteFirstPass:!1}}function kd(e,t,n,r){const i=Wd(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Yd(e).push(r,i.length-1))}function Ld(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 si(e,t,n,r,i,s,a,f){const m=gn(t,n);let H,I=t.inputs;!f&&null!=I&&(H=I[r])?(Qd(e,n,H,r,i),qr(t)&&function G_(e,t){const n=Yn(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function $_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,ae(s)?s.setProperty(m,r,i):No(r)||(m.setProperty?m.setProperty(r,i):m[r]=i))}function Ul(e,t,n,r){let i=!1;if(Vr()){const s=function Q_(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const a=r[s];md(n,a.selectors,!1)&&(i||(i=[]),ho(uo(n,t),e,a.type),mr(a)?(Ud(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==s){i=!0,Hd(n,e.data.length,s.length);for(let H=0;H<s.length;H++){const te=s[H];te.providersResolver&&te.providersResolver(te)}let f=!1,m=!1,I=Go(e,t,s.length,null);for(let H=0;H<s.length;H++){const te=s[H];n.mergedAttrs=Fo(n.mergedAttrs,te.hostAttrs),$d(e,n,t,I,te),J_(I,te,a),null!==te.contentQueries&&(n.flags|=8),(null!==te.hostBindings||null!==te.hostAttrs||0!==te.hostVars)&&(n.flags|=128);const he=te.type.prototype;!f&&(he.ngOnChanges||he.ngOnInit||he.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!m&&(he.ngOnChanges||he.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),m=!0),I++}!function H_(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,a=[];let f=null,m=null;for(let I=t.directiveStart;I<r;I++){const H=i[I],te=H.inputs,he=null===s||gd(t)?null:ty(te,s);a.push(he),f=Ld(te,I,f),m=Ld(H.outputs,I,m)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=f,t.outputs=m}(e,n)}a&&function q_(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 Ke(-301,!1);r.push(t[i],s)}}}(n,r,a)}return n.mergedAttrs=Fo(n.mergedAttrs,n.attrs),i}function Bd(e,t,n,r,i,s){const a=s.hostBindings;if(a){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const m=~t.index;(function Y_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=m&&f.push(m),f.push(r,i,a)}}function jd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ud(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function J_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;mr(t)&&(n[""]=e)}}function Hd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $d(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=Fr(i.type)),a=new ji(s,mr(i),null);e.blueprint[r]=a,n[r]=a,Bd(e,t,0,r,Go(e,n,i.hostVars,wn),i)}function X_(e,t,n){const r=gn(t,e),i=Rd(n),s=e[10],a=Ca(e,Ns(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=a}function Yi(e,t,n,r,i,s){const a=gn(e,t);!function Hl(e,t,n,r,i,s,a){if(null==s)ae(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const f=null==a?ue(s):a(s,r||"",i);ae(e)?e.setAttribute(t,i,f,n):n?t.setAttributeNS(n,i,f):t.setAttribute(i,f)}}(t[11],a,s,e.value,n,r,i)}function ey(e,t,n,r,i,s){const a=s[t];if(null!==a){const f=r.setInput;for(let m=0;m<a.length;){const I=a[m++],H=a[m++],te=a[m++];null!==f?r.setInput(n,te,I,H):n[H]=te}}}function ty(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 Gd(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function iy(e,t){const n=Yn(t,e);if(Rr(n)){const r=n[1];80&n[2]?zo(r,n,r.template,n[8]):n[5]>0&&$l(n)}}function $l(e){for(let r=al(e);null!==r;r=ll(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const a=s[1];zo(a,s,a.template,s[8])}else s[5]>0&&$l(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Yn(n[r],e);Rr(i)&&i[5]>0&&$l(i)}}function oy(e,t){const n=Yn(t,e),r=n[1];(function sy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Fs(r,n,n[8])}function Ca(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Gl(e){for(;e;){e[2]|=64;const t=Os(e);if(Ir(e)&&!t)return e;e=t}return null}function zd(e){!function zl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=il(n),i=r[1];B_(i,r,i.template,n)}}(e[8])}function Yl(e,t,n){vn(0),t(e,n)}const ly=(()=>Promise.resolve(null))();function Wd(e){return e[7]||(e[7]=[])}function Yd(e){return e.cleanup||(e.cleanup=[])}function Zd(e,t){const n=e[9],r=n?n.get(ga,null):null;r&&r.handleError(t)}function Qd(e,t,n,r,i){for(let s=0;s<n.length;){const a=n[s++],f=n[s++],m=t[a],I=e.data[a];null!==I.setInput?I.setInput(m,i,r,f):m[f]=i}}function ao(e,t,n){const r=Rn(t,e);!function Vu(e,t,n){ae(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function ba(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?s=f:1==s?i=ve(i,f):2==s&&(r=ve(r,f+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Kl=new sr("INJECTOR",-1);class qd{get(t,n=ws){if(n===ws){const r=new Error(`NullInjectorError: No provider for ${Q(t)}!`);throw r.name="NullInjectorError",r}return n}}const Zl=new sr("Set Injector scope."),ks={},dy={};let Ql;function Jd(){return void 0===Ql&&(Ql=new qd),Ql}function Xd(e,t=null,n=null,r){const i=eh(e,t,n,r);return i._resolveInjectorDefTypes(),i}function eh(e,t=null,n=null,r){return new hy(e,n,t||Jd(),r)}class hy{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&&$i(n,(f=>this.processProvider(f,t,n))),$i([t],(f=>this.processInjectorType(f,[],s))),this.records.set(Kl,Wo(void 0,this));const a=this.records.get(Zl);this.scope=null!=a?a.value:null,this.source=i||("object"==typeof t?null:Q(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=ws,r=ce.Default){this.assertNotDestroyed();const i=wu(this),s=q(void 0);try{if(!(r&ce.SkipSelf)){let f=this.records.get(t);if(void 0===f){const m=function Cy(e){return"function"==typeof e||"object"==typeof e&&e instanceof sr}(t)&&be(t);f=m&&this.injectableDefInScope(m)?Wo(ql(t),ks):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&ce.Self?Jd():this.parent).get(t,n=r&ce.Optional&&n===ws?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[oa]=a[oa]||[]).unshift(Q(t)),i)throw a;return function Zg(e,t,n,r){const i=e[oa];throw t[bu]&&i.unshift(t[bu]),e.message=function Qg(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;let i=Q(t);if(Array.isArray(t))i=t.map(Q).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let f=t[a];s.push(a+":"+("string"==typeof f?JSON.stringify(f):Q(f)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace($g,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[oa]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{q(s),wu(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach((t=>this.get(t)))}toString(){const t=[];return this.records.forEach(((r,i)=>t.push(Q(i)))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ke(205,!1)}processInjectorType(t,n,r){if(!(t=Ie(t)))return!1;let i=Kt(t);const s=null==i&&t.ngModule||void 0,a=void 0===s?t:s,f=-1!==r.indexOf(a);if(void 0!==s&&(i=Kt(s)),null==i)return!1;if(null!=i.imports&&!f){let H;r.push(a);try{$i(i.imports,(te=>{this.processInjectorType(te,n,r)&&(void 0===H&&(H=[]),H.push(te))}))}finally{}if(void 0!==H)for(let te=0;te<H.length;te++){const{ngModule:he,providers:Fe}=H[te];$i(Fe,(rt=>this.processProvider(rt,he,Fe||Ht)))}}this.injectorDefTypes.add(a);const m=Fr(a)||(()=>new a);this.records.set(a,Wo(m,ks));const I=i.providers;if(null!=I&&!f){const H=t;$i(I,(te=>this.processProvider(te,H,I)))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let i=Yo(t=Ie(t))?t:Ie(t&&t.provide);const s=function py(e,t,n){return nh(e)?Wo(void 0,e.useValue):Wo(th(e),ks)}(t);if(Yo(t)||!0!==t.multi)this.records.get(i);else{let a=this.records.get(i);a||(a=Wo(void 0,ks,!0),a.factory=()=>tl(a.multi),this.records.set(i,a)),i=t,a.multi.push(t)}this.records.set(i,s)}hydrate(t,n){return n.value===ks&&(n.value=dy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function vy(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=Ie(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ql(e){const t=be(e),n=null!==t?t.factory:Fr(e);if(null!==n)return n;if(e instanceof sr)throw new Ke(204,!1);if(e instanceof Function)return function fy(e){const t=e.length;if(t>0)throw bs(t,"?"),new Ke(204,!1);const n=function it(e){const t=e&&(e[In]||e[yr]);if(t){const n=function gt(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 Ke(204,!1)}function th(e,t,n){let r;if(Yo(e)){const i=Ie(e);return Fr(i)||ql(i)}if(nh(e))r=()=>Ie(e.useValue);else if(function my(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...tl(e.deps||[]));else if(function gy(e){return!(!e||!e.useExisting)}(e))r=()=>Nr(Ie(e.useExisting));else{const i=Ie(e&&(e.useClass||e.provide));if(!function yy(e){return!!e.deps}(e))return Fr(i)||ql(i);r=()=>new i(...tl(e.deps))}return r}function Wo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nh(e){return null!==e&&"object"==typeof e&&zg in e}function Yo(e){return"function"==typeof e}let Ki=(()=>{class e{static create(n,r){if(Array.isArray(n))return Xd({name:""},r,n,"");{const i=n.name??"";return Xd({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=ws,e.NULL=new qd,e.ɵprov=Ft({token:e,providedIn:"any",factory:()=>Nr(Kl)}),e.__NG_ELEMENT_ID__=-1,e})();function Py(e,t){Tn(il(e)[1],nr())}function ec(e){let t=function ph(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(mr(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Ke(903,"");i=t.ɵdir}if(i){if(n){r.push(i);const a=e;a.inputs=tc(e.inputs),a.declaredInputs=tc(e.declaredInputs),a.outputs=tc(e.outputs);const f=i.hostBindings;f&&Iy(e,f);const m=i.viewQuery,I=i.contentQueries;if(m&&Ay(e,m),I&&xy(e,I),Z(e.inputs,i.inputs),Z(e.declaredInputs,i.declaredInputs),Z(e.outputs,i.outputs),mr(i)&&i.data.animation){const H=e.data;H.animation=(H.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let a=0;a<s.length;a++){const f=s[a];f&&f.ngInherit&&f(e),f===ec&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Oy(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Fo(i.hostAttrs,n=Fo(n,i.hostAttrs))}}(r)}function tc(e){return e===Tt?{}:e===Ht?[]:e}function Ay(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function xy(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function Iy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let wa=null;function Ko(){if(!wa){const e=Zt.Symbol;if(e&&e.iterator)wa=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&&(wa=r)}}}return wa}function Ls(e){return!!nc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ko()in e)}function nc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Zi(e,t,n){return e[t]=n}function Ur(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function So(e,t,n,r){const i=Ur(e,t,n);return Ur(e,t+1,r)||i}function rc(e,t,n,r){const i=mt();return Ur(i,oe(),t)&&(Pn(),Yi(Un(),i,e,t,n,r)),rc}function Qo(e,t,n,r){return Ur(e,oe(),n)?t+ue(n)+r:wn}function qo(e,t,n,r,i,s){const f=So(e,function U(){return V.lFrame.bindingIndex}(),n,i);return se(2),f?t+ue(n)+r+ue(i)+s:wn}function Dh(e,t,n,r,i,s,a,f){const m=mt(),I=Pn(),H=e+20,te=I.firstCreatePass?function By(e,t,n,r,i,s,a,f,m){const I=t.consts,H=$o(t,e,4,a||null,w(I,f));Ul(t,n,H,w(I,m)),Tn(t,H);const te=H.tViews=va(2,H,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,I);return null!==t.queries&&(t.queries.template(t,H),te.queries=t.queries.embeddedTView(H)),H}(H,I,m,t,n,r,i,s,a):I.data[H];Ar(te,!1);const he=m[11].createComment("");ca(I,m,he,te),jr(he,m),Ca(m,m[H]=Gd(he,m,he,te)),tr(te)&&Bl(I,m,te),null!=a&&jl(m,te,f)}function Mh(e){return Gn(function L(){return V.lFrame.contextLView}(),20+e)}function Bs(e,t=ce.Default){const n=mt();return null===n?Nr(e,t):na(nr(),n,Ie(e),t)}function kh(){throw new Error("invalid")}function lc(e,t,n){const r=mt();return Ur(r,oe(),t)&&si(Pn(),Un(),r,e,t,r[11],n,!1),lc}function cc(e,t,n,r,i){const a=i?"class":"style";Qd(e,n,t.inputs[a],a,r)}function Ma(e,t,n,r){const i=mt(),s=Pn(),a=20+e,f=i[11],m=i[a]=ul(f,t,function ln(){return V.lFrame.currentNamespace}()),I=s.firstCreatePass?function sv(e,t,n,r,i,s,a){const f=t.consts,I=$o(t,e,2,i,w(f,s));return Ul(t,n,I,w(f,a)),null!==I.attrs&&ba(I,I.attrs,!1),null!==I.mergedAttrs&&ba(I,I.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,I),I}(a,s,i,0,t,n,r):s.data[a];Ar(I,!0);const H=I.mergedAttrs;null!==H&&Ro(f,m,H);const te=I.classes;null!==te&&_l(f,m,te);const he=I.styles;return null!==he&&qu(f,m,he),64!=(64&I.flags)&&ca(s,i,m,I),0===function An(){return V.lFrame.elementDepthCount}()&&jr(m,i),function lr(){V.lFrame.elementDepthCount++}(),tr(I)&&(Bl(s,i,I),Id(s,I,i)),null!==r&&jl(i,I),Ma}function Sa(){let e=nr();vo()?Co():(e=e.parent,Ar(e,!1));const t=e;!function Lr(){V.lFrame.elementDepthCount--}();const n=Pn();return n.firstCreatePass&&(Tn(n,e),wr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function co(e){return 0!=(16&e.flags)}(t)&&cc(n,t,mt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function hs(e){return 0!=(32&e.flags)}(t)&&cc(n,t,mt(),t.stylesWithoutHost,!1),Sa}function uc(e,t,n,r){return Ma(e,t,n,r),Sa(),uc}function Ta(e,t,n){const r=mt(),i=Pn(),s=e+20,a=i.firstCreatePass?function av(e,t,n,r,i){const s=t.consts,a=w(s,r),f=$o(t,e,8,"ng-container",a);return null!==a&&ba(f,a,!0),Ul(t,n,f,w(s,i)),null!==t.queries&&t.queries.elementStart(t,f),f}(s,i,r,t,n):i.data[s];Ar(a,!0);const f=r[s]=r[11].createComment("");return ca(i,r,f,a),jr(f,r),tr(a)&&(Bl(i,r,a),Id(i,a,r)),null!=n&&jl(r,a),Ta}function Pa(){let e=nr();const t=Pn();return vo()?Co():(e=e.parent,Ar(e,!1)),t.firstCreatePass&&(Tn(t,e),wr(e)&&t.queries.elementEnd(e)),Pa}function dc(e,t,n){return Ta(e,t,n),Pa(),dc}function Lh(){return mt()}function hc(e){return!!e&&"function"==typeof e.then}function Vh(e){return!!e&&"function"==typeof e.subscribe}const Bh=Vh;function fc(e,t,n,r){const i=mt(),s=Pn(),a=nr();return function Uh(e,t,n,r,i,s,a,f){const m=tr(r),H=e.firstCreatePass&&Yd(e),te=t[8],he=Wd(t);let Fe=!0;if(3&r.type||f){const jt=gn(r,t),Xt=f?f(jt):jt,pt=he.length,un=f?On=>f(xt(On[r.index])):r.index;if(ae(n)){let On=null;if(!f&&m&&(On=function lv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const a=i[s];if(a===n&&i[s+1]===r){const f=t[7],m=i[s+2];return f.length>m?f[m]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==On)(On.__ngLastListenerFn__||On).__ngNextListenerFn__=s,On.__ngLastListenerFn__=s,Fe=!1;else{s=pc(r,t,te,s,!1);const $n=n.listen(Xt,i,s);he.push(s,$n),H&&H.push(i,un,pt,pt+1)}}else s=pc(r,t,te,s,!0),Xt.addEventListener(i,s,a),he.push(s),H&&H.push(i,un,pt,a)}else s=pc(r,t,te,s,!1);const rt=r.outputs;let At;if(Fe&&null!==rt&&(At=rt[i])){const jt=At.length;if(jt)for(let Xt=0;Xt<jt;Xt+=2){const ai=t[At[Xt]][At[Xt+1]].subscribe(s),Oo=he.length;he.push(s,ai),H&&H.push(i,r.index,Oo,-(Oo+1))}}}(s,i,i[11],a,e,t,!!n,r),fc}function Hh(e,t,n,r){try{return!1!==n(r)}catch(i){return Zd(e,i),!1}}function pc(e,t,n,r,i){return function s(a){if(a===Function)return r;const f=2&e.flags?Yn(e.index,t):t;0==(32&t[2])&&Gl(f);let m=Hh(t,0,r,a),I=s.__ngNextListenerFn__;for(;I;)m=Hh(t,0,I,a)&&m,I=I.__ngNextListenerFn__;return i&&!1===m&&(a.preventDefault(),a.returnValue=!1),m}}function $h(e=1){return function Kr(e){return(V.lFrame.contextLView=function Zr(e,t){for(;e>0;)t=t[15],e--;return t}(e,V.lFrame.contextLView))[8]}(e)}function cv(e,t){let n=null;const r=function v_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?md(e,s,!0):w_(r,s))return i}else n=i}return n}function Gh(e){const t=mt()[16][6];if(!t.projection){const r=t.projection=bs(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const a=e?cv(s,e):0;null!==a&&(i[a]?i[a].projectionNext=s:r[a]=s,i[a]=s),s=s.next}}}function zh(e,t=0,n){const r=mt(),i=Pn(),s=$o(i,20+e,16,null,n||null);null===s.projection&&(s.projection=t),Co(),64!=(64&s.flags)&&function Tm(e,t,n){Qu(t[11],0,t,n,Uu(e,n,t),zu(n.parent||t[6],n,t))}(i,r,s)}function gc(e,t,n){return Oa(e,"",t,"",n),gc}function Oa(e,t,n,r,i){const s=mt(),a=Qo(s,t,n,r);return a!==wn&&si(Pn(),Un(),s,e,a,s[11],i,!1),Oa}function mc(e,t,n,r,i,s,a){const f=mt(),m=qo(f,t,n,r,i,s);return m!==wn&&si(Pn(),Un(),f,e,m,f[11],a,!1),mc}function Xh(e,t,n,r,i){const s=e[n+1],a=null===t;let f=r?Si(s):so(s),m=!1;for(;0!==f&&(!1===m||a);){const H=e[f+1];hv(e[f],t)&&(m=!0,e[f+1]=r?Ol(H):Tl(H)),f=r?Si(H):so(H)}m&&(e[n+1]=r?Tl(s):Ol(s))}function hv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Bo(e,t)>=0}const Tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ef(e){return e.substring(Tr.key,Tr.keyEnd)}function tf(e,t){const n=Tr.textEnd;return n===t?-1:(t=Tr.keyEnd=function mv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Tr.key=t,n),os(e,t,n))}function os(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function _c(e,t){return function Pi(e,t,n,r){const i=mt(),s=Pn(),a=se(2);s.firstUpdatePass&&df(s,e,a,r),t!==wn&&Ur(i,a,t)&&ff(s,s.data[Kn()],i,i[11],e,i[a+1]=function Sv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Q(po(e)))),e}(t,n),r,a)}(e,t,null,!0),_c}function cf(e){Oi(oi,qi,e,!0)}function qi(e,t){for(let n=function pv(e){return function rf(e){Tr.key=0,Tr.keyEnd=0,Tr.value=0,Tr.valueEnd=0,Tr.textEnd=e.length}(e),tf(e,os(e,0,Tr.textEnd))}(t);n>=0;n=tf(t,n))oi(e,ef(t),!0)}function Oi(e,t,n,r){const i=Pn(),s=se(2);i.firstUpdatePass&&df(i,null,s,r);const a=mt();if(n!==wn&&Ur(a,s,n)){const f=i.data[Kn()];if(gf(f,r)&&!uf(i,s)){let m=r?f.classesWithoutHost:f.stylesWithoutHost;null!==m&&(n=ve(m,n||"")),cc(i,f,a,n,r)}else!function Mv(e,t,n,r,i,s,a,f){i===wn&&(i=Ht);let m=0,I=0,H=0<i.length?i[0]:null,te=0<s.length?s[0]:null;for(;null!==H||null!==te;){const he=m<i.length?i[m+1]:void 0,Fe=I<s.length?s[I+1]:void 0;let At,rt=null;H===te?(m+=2,I+=2,he!==Fe&&(rt=te,At=Fe)):null===te||null!==H&&H<te?(m+=2,rt=H):(I+=2,rt=te,At=Fe),null!==rt&&ff(e,t,n,r,rt,At,a,f),H=m<i.length?i[m]:null,te=I<s.length?s[I]:null}}(i,f,a,a[11],a[s+1],a[s+1]=function Dv(e,t,n){if(null==n||""===n)return Ht;const r=[],i=po(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 uf(e,t){return t>=e.expandoStartIndex}function df(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Kn()],a=uf(e,n);gf(s,r)&&null===t&&!a&&(t=!1),t=function Cv(e,t,n,r){const i=function Dn(e){const t=V.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=js(n=yc(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=yc(i,e,t,n,r),null===s){let m=function bv(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==so(r))return e[Si(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=yc(null,e,t,m[1],r),m=js(m,t.attrs,r),function wv(e,t,n,r){e[Si(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else s=function Ev(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=js(r,e[s].hostAttrs,n);return js(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function uv(e,t,n,r,i,s){let a=s?t.classBindings:t.styleBindings,f=Si(a),m=so(a);e[r]=n;let H,I=!1;if(Array.isArray(n)){const te=n;H=te[1],(null===H||Bo(te,H)>0)&&(I=!0)}else H=n;if(i)if(0!==m){const he=Si(e[f+1]);e[r+1]=ma(he,f),0!==he&&(e[he+1]=Pl(e[he+1],r)),e[f+1]=function S_(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=ma(f,0),0!==f&&(e[f+1]=Pl(e[f+1],r)),f=r;else e[r+1]=ma(m,0),0===f?f=r:e[m+1]=Pl(e[m+1],r),m=r;I&&(e[r+1]=Tl(e[r+1])),Xh(e,H,r,!0),Xh(e,H,r,!1),function dv(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Bo(s,t)>=0&&(n[r+1]=Ol(n[r+1]))}(t,H,e,r,s),a=ma(f,m),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}function yc(e,t,n,r,i){let s=null;const a=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<a&&(s=t[f],r=js(r,s.hostAttrs,i),s!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function js(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),oi(e,a,!!n||t[++s]))}return void 0===e?null:e}function ff(e,t,n,r,i,s,a,f){if(!(3&t.type))return;const m=e.data,I=m[f+1];Aa(function wd(e){return 1==(1&e)}(I)?pf(m,t,n,i,so(I),a):void 0)||(Aa(s)||function bd(e){return 2==(2&e)}(I)&&(s=pf(m,null,n,i,f,a)),function Om(e,t,n,r,i){const s=ae(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let a=-1===r.indexOf("-")?void 0:Gi.DashCase;if(null==i)s?e.removeStyle(n,r,a):n.style.removeProperty(r);else{const f="string"==typeof i&&i.endsWith("!important");f&&(i=i.slice(0,-10),a|=Gi.Important),s?e.setStyle(n,r,i,a):n.style.setProperty(r,i,f?"important":"")}}}(r,a,Rn(Kn(),n),i,s))}function pf(e,t,n,r,i,s){const a=null===t;let f;for(;i>0;){const m=e[i],I=Array.isArray(m),H=I?m[1]:m,te=null===H;let he=n[i+1];he===wn&&(he=te?Ht:void 0);let Fe=te?Ja(he,r):H===r?he:void 0;if(I&&!Aa(Fe)&&(Fe=Ja(m,r)),Aa(Fe)&&(f=Fe,a))return f;const rt=e[i+1];i=a?Si(rt):so(rt)}if(null!==t){let m=s?t.residualClasses:t.residualStyles;null!=m&&(f=Ja(m,r))}return f}function Aa(e){return void 0!==e}function gf(e,t){return 0!=(e.flags&(t?16:32))}function mf(e,t=""){const n=mt(),r=Pn(),i=e+20,s=r.firstCreatePass?$o(r,i,1,t,null):r.data[i],a=n[i]=function cl(e,t){return ae(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ca(r,n,a,s),Ar(s,!1)}function vc(e){return xa("",e,""),vc}function xa(e,t,n){const r=mt(),i=Qo(r,e,t,n);return i!==wn&&ao(r,Kn(),i),xa}function Mf(e,t,n){Oi(oi,qi,Qo(mt(),e,t,n),!0)}const To=void 0;var zv=["en",[["a","p"],["AM","PM"],To],[["AM","PM"],To,To],[["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"]],To,[["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"]],To,[["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}",To,"{1} 'at' {0}",To],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Gv(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ss={};function Cc(e){const t=function Wv(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Vf(t);if(n)return n;const r=t.split("-")[0];if(n=Vf(r),n)return n;if("en"===r)return zv;throw new Error(`Missing locale data for the locale "${e}".`)}function Lf(e){return Cc(e)[pn.PluralCase]}function Vf(e){return e in ss||(ss[e]=Zt.ng&&Zt.ng.common&&Zt.ng.common.locales&&Zt.ng.common.locales[e]),ss[e]}var pn=(()=>((pn=pn||{})[pn.LocaleId=0]="LocaleId",pn[pn.DayPeriodsFormat=1]="DayPeriodsFormat",pn[pn.DayPeriodsStandalone=2]="DayPeriodsStandalone",pn[pn.DaysFormat=3]="DaysFormat",pn[pn.DaysStandalone=4]="DaysStandalone",pn[pn.MonthsFormat=5]="MonthsFormat",pn[pn.MonthsStandalone=6]="MonthsStandalone",pn[pn.Eras=7]="Eras",pn[pn.FirstDayOfWeek=8]="FirstDayOfWeek",pn[pn.WeekendRange=9]="WeekendRange",pn[pn.DateFormat=10]="DateFormat",pn[pn.TimeFormat=11]="TimeFormat",pn[pn.DateTimeFormat=12]="DateTimeFormat",pn[pn.NumberSymbols=13]="NumberSymbols",pn[pn.NumberFormats=14]="NumberFormats",pn[pn.CurrencyCode=15]="CurrencyCode",pn[pn.CurrencySymbol=16]="CurrencySymbol",pn[pn.CurrencyName=17]="CurrencyName",pn[pn.Currencies=18]="Currencies",pn[pn.Directionality=19]="Directionality",pn[pn.PluralCase=20]="PluralCase",pn[pn.ExtraData=21]="ExtraData",pn))();const Ia="en-US";let Bf=Ia;function Ec(e,t,n,r,i){if(e=Ie(e),Array.isArray(e))for(let s=0;s<e.length;s++)Ec(e[s],t,n,r,i);else{const s=Pn(),a=mt();let f=Yo(e)?e:Ie(e.provide),m=th(e);const I=nr(),H=1048575&I.providerIndexes,te=I.directiveStart,he=I.providerIndexes>>20;if(Yo(e)||!e.multi){const Fe=new ji(m,i,Bs),rt=Mc(f,t,i?H:H+he,te);-1===rt?(ho(uo(I,a),s,f),Dc(s,e,t.length),t.push(f),I.directiveStart++,I.directiveEnd++,i&&(I.providerIndexes+=1048576),n.push(Fe),a.push(Fe)):(n[rt]=Fe,a[rt]=Fe)}else{const Fe=Mc(f,t,H+he,te),rt=Mc(f,t,H,H+he),At=Fe>=0&&n[Fe],jt=rt>=0&&n[rt];if(i&&!jt||!i&&!At){ho(uo(I,a),s,f);const Xt=function GC(e,t,n,r,i){const s=new ji(e,n,Bs);return s.multi=[],s.index=t,s.componentProviders=0,cp(s,i,r&&!n),s}(i?$C:HC,n.length,i,r,m);!i&&jt&&(n[rt].providerFactory=Xt),Dc(s,e,t.length,0),t.push(f),I.directiveStart++,I.directiveEnd++,i&&(I.providerIndexes+=1048576),n.push(Xt),a.push(Xt)}else Dc(s,e,Fe>-1?Fe:rt,cp(n[i?rt:Fe],m,!i&&r));!i&&r&&jt&&n[rt].componentProviders++}}}function Dc(e,t,n,r){const i=Yo(t),s=function _y(e){return!!e.useClass}(t);if(i||s){const m=(s?Ie(t.useClass):t).prototype.ngOnDestroy;if(m){const I=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const H=I.indexOf(n);-1===H?I.push(n,[r,m]):I[H+1].push(r,m)}else I.push(n,m)}}}function cp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mc(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function HC(e,t,n,r){return Sc(this.multi,[])}function $C(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,f=C(n,n[1],this.providerFactory.index,r);s=f.slice(0,a),Sc(i,s);for(let m=a;m<f.length;m++)s.push(f[m])}else s=[],Sc(i,s);return s}function Sc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function up(e,t=[]){return n=>{n.providersResolver=(r,i)=>function UC(e,t,n){const r=Pn();if(r.firstCreatePass){const i=mr(e);Ec(n,r.data,r.blueprint,i,!0),Ec(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class dp{}class YC{resolveComponentFactory(t){throw function WC(e){const t=Error(`No component factory found for ${Q(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let La=(()=>{class e{}return e.NULL=new YC,e})();function KC(){return ls(nr(),mt())}function ls(e,t){return new zs(gn(e,t))}let zs=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=KC,e})();function ZC(e){return e instanceof zs?e.nativeElement:e}class fp{}let QC=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function JC(){const e=mt(),n=Yn(nr().index,e);return function qC(e){return e[11]}(Bn(n)?n:e)}(),e})(),XC=(()=>{class e{}return e.ɵprov=Ft({token:e,providedIn:"root",factory:()=>null}),e})();class pp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const eb=new pp("13.3.12"),Tc={};function Va(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(xt(s)),Hn(s))for(let f=10;f<s.length;f++){const m=s[f],I=m[1].firstChild;null!==I&&Va(m[1],m,I,r)}const a=n.type;if(8&a)Va(e,t,n.child,r);else if(32&a){const f=sl(n,t);let m;for(;m=f();)r.push(m)}else if(16&a){const f=Zu(t,n);if(Array.isArray(f))r.push(...f);else{const m=Os(t[16]);Va(m[1],m,f,r,!0)}}n=i?n.projectionNext:n.next}return r}class Ws{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 Va(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(Hn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(dl(t,r),ra(n,r))}this._attachedToViewContainer=!1}ju(this._lView[1],this._lView)}onDestroy(t){kd(this._lView[1],this._lView,null,t)}markForCheck(){Gl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Wl(e,t,n){const r=t[10];r.begin&&r.begin();try{zo(e,t,e.template,n)}catch(i){throw Zd(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ke(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vm(e,t){As(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ke(902,"");this._appRef=t}}class tb extends Ws{constructor(t){super(t),this._view=t}detectChanges(){zd(this._view)}checkNoChanges(){}get context(){return null}}class gp extends La{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ie(t);return new Pc(n,this.ngModule)}}function mp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Pc extends dp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function D_(e){return e.map(E_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return mp(this.componentDef.inputs)}get outputs(){return mp(this.componentDef.outputs)}create(t,n,r,i){const s=(i=i||this.ngModule)?function rb(e,t){return{get:(n,r,i)=>{const s=e.get(n,Tc,i);return s!==Tc||r===Tc?s:t.get(n,r,i)}}}(t,i.injector):t,a=s.get(fp,Ye),f=s.get(XC,null),m=a.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",H=r?function Fd(e,t,n){if(ae(e))return e.selectRootElement(t,n===ct.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(m,r,this.componentDef.encapsulation):ul(a.createRenderer(null,this.componentDef),I,function nb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),te=this.componentDef.onPush?576:528,he=function fh(e,t){return{components:[],scheduler:e||h_,clean:ly,playerHandler:t||null,flags:0}}(),Fe=va(0,null,null,1,0,null,null,null,null,null),rt=Ns(null,Fe,he,te,null,null,a,m,f,s);let At,jt;rr(rt);try{const Xt=function dh(e,t,n,r,i,s){const a=n[1];n[20]=e;const m=$o(a,20,2,"#host",null),I=m.mergedAttrs=t.hostAttrs;null!==I&&(ba(m,I,!0),null!==e&&(Ro(i,e,I),null!==m.classes&&_l(i,e,m.classes),null!==m.styles&&qu(i,e,m.styles)));const H=r.createRenderer(e,t),te=Ns(n,Rd(t),null,t.onPush?64:16,n[20],m,r,H,s||null,null);return a.firstCreatePass&&(ho(uo(m,n),a,t.type),Ud(a,m),Hd(m,n.length,1)),Ca(n,te),n[20]=te}(H,this.componentDef,rt,a,m);if(H)if(r)Ro(m,H,["ng-version",eb.full]);else{const{attrs:pt,classes:un}=function M_(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(!Mi(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);pt&&Ro(m,H,pt),un&&un.length>0&&_l(m,H,un.join(" "))}if(jt=yn(Fe,20),void 0!==n){const pt=jt.projection=[];for(let un=0;un<this.ngContentSelectors.length;un++){const On=n[un];pt.push(null!=On?Array.from(On):null)}}At=function hh(e,t,n,r,i){const s=n[1],a=function W_(e,t,n){const r=nr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$d(e,r,t,Go(e,t,1,null),n));const i=C(t,e,r.directiveStart,r);jr(i,t);const s=gn(r,t);return s&&jr(s,t),i}(s,n,t);if(r.components.push(a),e[8]=a,i&&i.forEach((m=>m(a,t))),t.contentQueries){const m=nr();t.contentQueries(1,a,m.directiveStart)}const f=nr();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ti(f.index),Bd(n[1],f,0,f.directiveStart,f.directiveEnd,t),jd(t,a)),a}(Xt,this.componentDef,rt,he,[Py]),Fs(Fe,rt,null)}finally{ur()}return new ob(this.componentType,At,ls(jt,rt),rt,jt)}}class ob extends class zC{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new tb(i),this.componentType=t}get injector(){return new de(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class cs{}class _p{}const us=new Map;class Cp extends cs{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gp(this);const r=Ot(t);this._bootstrapComponents=Wi(r.bootstrap),this._r3Injector=eh(t,n,[{provide:cs,useValue:this},{provide:La,useValue:this.componentFactoryResolver}],Q(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Ki.THROW_IF_NOT_FOUND,r=ce.Default){return t===Ki||t===cs||t===Kl?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 Oc extends _p{constructor(t){super(),this.moduleType=t,null!==Ot(t)&&function ab(e){const t=new Set;!function n(r){const i=Ot(r,!0),s=i.id;null!==s&&(function yp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${Q(t)} vs ${Q(t.name)}`)}(s,us.get(s),r),us.set(s,r));const a=Wi(i.imports);for(const f of a)t.has(f)||(t.add(f),n(f))}(e)}(t)}create(t){return new Cp(this.moduleType,t)}}function bp(e,t,n){const r=y()+e,i=mt();return i[r]===wn?Zi(i,r,n?t.call(n):t()):function Vs(e,t){return e[t]}(i,r)}function wp(e,t,n,r){return Mp(mt(),y(),e,t,n,r)}function Ep(e,t,n,r,i){return Sp(mt(),y(),e,t,n,r,i)}function Dp(e,t,n,r,i,s){return function Tp(e,t,n,r,i,s,a,f){const m=t+n;return function Ea(e,t,n,r,i){const s=So(e,t,n,r);return Ur(e,t+2,i)||s}(e,m,i,s,a)?Zi(e,m+3,f?r.call(f,i,s,a):r(i,s,a)):Ys(e,m+3)}(mt(),y(),e,t,n,r,i,s)}function Ys(e,t){const n=e[t];return n===wn?void 0:n}function Mp(e,t,n,r,i,s){const a=t+n;return Ur(e,a,i)?Zi(e,a+1,s?r.call(s,i):r(i)):Ys(e,a+1)}function Sp(e,t,n,r,i,s,a){const f=t+n;return So(e,f,i,s)?Zi(e,f+2,a?r.call(a,i,s):r(i,s)):Ys(e,f+2)}function Ap(e,t){const n=Pn();let r;const i=e+20;n.firstCreatePass?(r=function pb(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=Fr(r.type)),a=q(Bs);try{const f=Lo(!1),m=s();return Lo(f),function jy(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,mt(),i,m),m}finally{q(a)}}function xp(e,t,n){const r=e+20,i=mt(),s=Gn(i,r);return Ks(i,r)?Mp(i,y(),t,s.transform,n,s):s.transform(n)}function Ip(e,t,n,r){const i=e+20,s=mt(),a=Gn(s,i);return Ks(s,i)?Sp(s,y(),t,a.transform,n,r,a):a.transform(n,r)}function Ks(e,t){return e[1].data[t].pure}function Ac(e){return t=>{setTimeout(e,void 0,t)}}const Ji=class yb extends o.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const m=t;i=m.next?.bind(m),s=m.error?.bind(m),a=m.complete?.bind(m)}this.__isAsync&&(s=Ac(s),i&&(i=Ac(i)),a&&(a=Ac(a)));const f=super.subscribe({next:i,error:s,complete:a});return t instanceof p.w&&t.add(f),f}};function vb(){return this._results[Ko()]()}class xc{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=Ko(),r=xc.prototype;r[n]||(r[n]=vb)}get changes(){return this._changes||(this._changes=new Ji)}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=mi(t);(this._changesDetected=!function Ng(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 Zs=(()=>{class e{}return e.__NG_ELEMENT_ID__=wb,e})();const Cb=Zs,bb=class extends Cb{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Ns(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)),Fs(n,r,t),new Ws(r)}};function wb(){return Ba(nr(),mt())}function Ba(e,t){return 4&e.type?new bb(t,e,ls(e,t)):null}let ja=(()=>{class e{}return e.__NG_ELEMENT_ID__=Eb,e})();function Eb(){return Fp(nr(),mt())}const Db=ja,Rp=class extends Db{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ls(this._hostTNode,this._hostLView)}get injector(){return new de(this._hostTNode,this._hostLView)}get parentInjector(){const t=Vo(this._hostTNode,this._hostLView);if(gs(t)){const n=Qr(t,this._hostLView),r=Ui(t);return new de(n[1].data[r+8],n)}return new de(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Np(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 a=t&&!function Cs(e){return"function"==typeof e}(t);let f;if(a)f=n;else{const te=n||{};f=te.index,r=te.injector,i=te.projectableNodes,s=te.ngModuleRef}const m=a?t:new Pc(ie(t)),I=r||this.parentInjector;if(!s&&null==m.ngModule){const he=(a?I:this.parentInjector).get(cs,null);he&&(s=he)}const H=m.create(I,i,void 0,s);return this.insert(H.hostView,f),H}insert(t,n){const r=t._lView,i=r[1];if(function Yr(e){return Hn(e[3])}(r)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const te=r[3],he=new Rp(te,te[6],te[3]);he.detach(he.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;!function bm(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],mu(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function wm(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const f=t[19];null!==f&&f.insertView(e),t[2]|=128}(i,r,a,s);const f=pl(s,a),m=r[11],I=la(m,a[7]);return null!==I&&function ym(e,t,n,r,i,s){r[0]=i,r[6]=t,As(e,r,n,1,i,s)}(i,a[6],m,r,I,f),t.attachToViewContainerRef(),mu(Ic(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Np(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);r&&(ra(Ic(this._lContainer),n),ju(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);return r&&null!=ra(Ic(this._lContainer),n)?new Ws(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Np(e){return e[8]}function Ic(e){return e[8]||(e[8]=[])}function Fp(e,t){let n;const r=t[e.index];if(Hn(r))n=r;else{let i;if(8&e.type)i=xt(r);else{const s=t[11];i=s.createComment("");const a=gn(e,t);Do(s,la(s,a),i,function Sm(e,t){return ae(e)?e.nextSibling(t):t.nextSibling}(s,a),!1)}t[e.index]=n=Gd(r,t,i,e),Ca(t,n)}return new Rp(n,e,t)}class Rc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Rc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Nc{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 a=n.getByIndex(s);i.push(this.queries[a.indexInDeclarationView].clone())}return new Nc(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!==Gp(t,n).matches&&this.queries[n].setDirty()}}class kp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Fc{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 Fc(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 kc{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 kc(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,Tb(n,s)),this.matchTNodeWithReadOption(t,n,u(n,t,s,!1,!1))}else r===Zs?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,u(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===zs||i===ja||i===Zs&&4&n.type)this.addMatch(n.index,-2);else{const s=u(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 Tb(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 Ob(e,t,n,r){return-1===n?function Pb(e,t){return 11&e.type?ls(e,t):4&e.type?Ba(e,t):null}(t,e):-2===n?function Ab(e,t,n){return n===zs?ls(t,e):n===Zs?Ba(t,e):n===ja?Fp(t,e):void 0}(e,t,r):C(e,e[1],n,t)}function Lp(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,a=n.matches,f=[];for(let m=0;m<a.length;m+=2){const I=a[m];f.push(I<0?null:Ob(t,s[I],a[m+1],n.metadata.read))}i.matches=f}return i.matches}function Lc(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const a=Lp(e,t,i,n);for(let f=0;f<s.length;f+=2){const m=s[f];if(m>0)r.push(a[f/2]);else{const I=s[f+1],H=t[-m];for(let te=10;te<H.length;te++){const he=H[te];he[17]===he[3]&&Lc(he[1],he,I,r)}if(null!==H[9]){const te=H[9];for(let he=0;he<te.length;he++){const Fe=te[he];Lc(Fe[1],Fe,I,r)}}}}}return r}function Vp(e){const t=mt(),n=Pn(),r=an();vn(r+1);const i=Gp(n,r);if(e.dirty&&_r(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?Lc(n,t,r,[]):Lp(n,t,i,r);e.reset(s,ZC),e.notifyOnChanges()}return!0}return!1}function Bp(e,t,n){const r=Pn();r.firstCreatePass&&($p(r,new kp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Hp(r,mt(),t)}function jp(e,t,n,r){const i=Pn();if(i.firstCreatePass){const s=nr();$p(i,new kp(t,n,r),s.index),function Ib(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)}Hp(i,mt(),n)}function Up(){return function xb(e,t){return e[19].queries[t].queryList}(mt(),an())}function Hp(e,t,n){const r=new xc(4==(4&n));kd(e,t,r,r.destroy),null===t[19]&&(t[19]=new Nc),t[19].queries.push(new Rc(r))}function $p(e,t,n){null===e.queries&&(e.queries=new Fc),e.queries.track(new kc(t,n))}function Gp(e,t){return e.queries.getByIndex(t)}function zp(e,t){return Ba(e,t)}function $a(...e){}const lg=new sr("Application Initializer");let $c=(()=>{class e{constructor(n){this.appInits=n,this.resolve=$a,this.reject=$a,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(hc(s))n.push(s);else if(Bh(s)){const a=new Promise(((f,m)=>{s.subscribe({complete:f,error:m})}));n.push(a)}}Promise.all(n).then((()=>{r()})).catch((i=>{this.reject(i)})),0===n.length&&r(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(Nr(lg,8))},e.ɵprov=Ft({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const cg=new sr("AppId",{providedIn:"root",factory:function ug(){return`${Gc()}${Gc()}${Gc()}`}});function Gc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const dg=new sr("Platform Initializer"),Zb=new sr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),hg=new sr("appBootstrapListener");let Qb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Ft({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const zc=new sr("LocaleId",{providedIn:"root",factory:()=>Yg(zc,ce.Optional|ce.SkipSelf)||function qb(){return typeof $localize<"u"&&$localize.locale||Ia}()}),Jb=new sr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Xb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let e0=(()=>{class e{compileModuleSync(n){return new Oc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Wi(Ot(n).declarations).reduce(((a,f)=>{const m=ie(f);return m&&a.push(new Pc(m)),a}),[]);return new Xb(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Ft({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const n0=(()=>Promise.resolve(0))();function Wc(e){typeof Zone>"u"?n0.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ai{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ji(!1),this.onMicrotaskEmpty=new Ji(!1),this.onStable=new Ji(!1),this.onError=new Ji(!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 r0(){let e=Zt.requestAnimationFrame,t=Zt.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 a0(e){const t=()=>{!function s0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Zt,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Kc(e),e.isCheckStableRunning=!0,Yc(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Kc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,f)=>{try{return fg(e),n.invokeTask(i,s,a,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),pg(e)}},onInvoke:(n,r,i,s,a,f,m)=>{try{return fg(e),n.invoke(i,s,a,f,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),pg(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Kc(e),Yc(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(!Ai.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ai.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,a=s.scheduleEventTask("NgZoneEvent: "+i,t,o0,$a,$a);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const o0={};function Yc(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 Kc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function fg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function pg(e){e._nesting--,Yc(e)}class l0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ji,this.onMicrotaskEmpty=new Ji,this.onStable=new Ji,this.onError=new Ji}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 gg=(()=>{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:()=>{Ai.assertNotInAngularZone(),Wc((()=>{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())Wc((()=>{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((a=>a.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.ɵfac=function(n){return new(n||e)(Nr(Ai))},e.ɵprov=Ft({token:e,factory:e.ɵfac}),e})(),c0=(()=>{class e{constructor(){this._applications=new Map,Zc.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 Zc.findTestabilityInTree(this,n,r)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Ft({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();class u0{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function d0(e){Zc=e}let Zc=new u0,qs=null;const mg=new sr("AllowMultipleToken"),_g=new sr("PlatformOnDestroy");class p0{constructor(t,n){this.name=t,this.token=n}}function yg(e,t,n=[]){const r=`Platform: ${t}`,i=new sr(r);return(s=[])=>{let a=Qc();if(!a||a.injector.get(mg,!1)){const f=[...n,...s,{provide:i,useValue:!0}];e?e(f):function g0(e){if(qs&&!qs.get(mg,!1))throw new Ke(400,"");qs=e;const t=e.get(vg),n=e.get(dg,null);n&&n.forEach((r=>r()))}(function _0(e=[],t){return Ki.create({name:t,providers:[{provide:Zl,useValue:"platform"},{provide:_g,useValue:()=>qs=null},...e]})}(f,r))}return function m0(e){const t=Qc();if(!t)throw new Ke(401,"");return t}()}}function Qc(){return qs?.get(vg)??null}let vg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const f=function y0(e,t){let n;return n="noop"===e?new l0:("zone.js"===e?void 0:e)||new Ai({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),m=[{provide:Ai,useValue:f}];return f.run((()=>{const I=Ki.create({providers:m,parent:this.injector,name:n.moduleType.name}),H=n.create(I),te=H.injector.get(ga,null);if(!te)throw new Ke(402,"");return f.runOutsideAngular((()=>{const he=f.onError.subscribe({next:Fe=>{te.handleError(Fe)}});H.onDestroy((()=>{Jc(this._modules,H),he.unsubscribe()}))})),function v0(e,t,n){try{const r=n();return hc(r)?r.catch((i=>{throw t.runOutsideAngular((()=>e.handleError(i))),i})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(te,f,(()=>{const he=H.injector.get($c);return he.runInitializers(),he.donePromise.then((()=>(function Qv(e){Ae(e,"Expected localeId to be defined"),"string"==typeof e&&(Bf=e.toLowerCase().replace(/_/g,"-"))}(H.injector.get(zc,Ia)||Ia),this._moduleDoBootstrap(H),H)))}))}))}bootstrapModule(n,r=[]){const i=Cg({},r);return function h0(e,t,n){const r=new Oc(n);return Promise.resolve(r)}(0,0,n).then((s=>this.bootstrapModuleFactory(s,i)))}_moduleDoBootstrap(n){const r=n.injector.get(qc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((i=>r.bootstrap(i)));else{if(!n.instance.ngDoBootstrap)throw new Ke(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 Ke(404,"");this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r())),this._injector.get(_g,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(Nr(Ki))},e.ɵprov=Ft({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function Cg(e,t){return Array.isArray(t)?t.reduce(Cg,e):{...e,...t}}let qc=(()=>{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 a=new O.y((m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{m.next(this._stable),m.complete()}))})),f=new O.y((m=>{let I;this._zone.runOutsideAngular((()=>{I=this._zone.onStable.subscribe((()=>{Ai.assertNotInAngularZone(),Wc((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))}))}))}));const H=this._zone.onUnstable.subscribe((()=>{Ai.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{m.next(!1)})))}));return()=>{I.unsubscribe(),H.unsubscribe()}}));this.isStable=(0,S.T)(a,f.pipe(function x(){return e=>(0,F.x)()(function M(e,t){return function(r){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new R(i,t));const s=Object.create(r,D.N);return s.source=r,s.subjectFactory=i,s}}(N)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Ke(405,"");let i;i=n instanceof dp?n:this._injector.get(La).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function f0(e){return e.isBoundToModule}(i)?void 0:this._injector.get(cs),f=i.create(Ki.NULL,[],r||i.selector,s),m=f.location.nativeElement,I=f.injector.get(gg,null),H=I&&f.injector.get(c0);return I&&H&&H.registerApplication(m,I),f.onDestroy((()=>{this.detachView(f.hostView),Jc(this.components,f),H&&H.unregisterApplication(m)})),this._loadComponent(f),f}tick(){if(this._runningTick)throw new Ke(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;Jc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(hg,[]).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.ɵfac=function(n){return new(n||e)(Nr(Ai),Nr(Ki),Nr(ga),Nr($c))},e.ɵprov=Ft({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function Jc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let wg=!0,Eg=!1;function b0(){return Eg=!0,wg}function w0(){if(Eg)throw new Error("Cannot enable prod mode after platform setup.");wg=!1}let E0=(()=>{class e{}return e.__NG_ELEMENT_ID__=D0,e})();function D0(e){return function M0(e,t,n){if(qr(e)&&!n){const r=Yn(e.index,t);return new Ws(r,r)}return 47&e.type?new Ws(t[16],t):null}(nr(),mt(),16==(16&e))}class Tg{constructor(){}supports(t){return Ls(t)}create(t){return new x0(t)}}const A0=(e,t)=>t;class x0{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||A0}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 a=!r||n&&n.currentIndex<Og(r,i,s)?n:r,f=Og(a,i,s),m=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{s||(s=[]);const I=f-i,H=m-i;if(I!=H){for(let he=0;he<I;he++){const Fe=he<s.length?s[he]:s[he]=0,rt=Fe+he;H<=rt&&rt<I&&(s[he]=Fe+1)}s[a.previousIndex]=H-I}}f!==m&&t(a,f,m)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ls(t))throw new Ke(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)s=t[f],a=this._trackByFn(f,s),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,s,a,f)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,f),r=!0),n=n._next}else i=0,function Vy(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Ko()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,(f=>{a=this._trackByFn(i,f),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,f,a,i)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,a,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 I0(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 Pg),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 Pg),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 I0{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 R0{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 Pg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new R0,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 Og(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 Ag{constructor(){}supports(t){return t instanceof Map||nc(t)}create(){return new N0}}class N0{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||nc(t)))throw new Ke(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,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new F0(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 F0{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 xg(){return new ru([new Tg])}let ru=(()=>{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||xg()),deps:[[e,new Ss,new Ms]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(null!=r)return r;throw new Ke(901,"")}}return e.ɵprov=Ft({token:e,providedIn:"root",factory:xg}),e})();function Ig(){return new iu([new Ag])}let iu=(()=>{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||Ig()),deps:[[e,new Ss,new Ms]]}}find(n){const r=this.factories.find((s=>s.supports(n)));if(r)return r;throw new Ke(901,"")}}return e.ɵprov=Ft({token:e,providedIn:"root",factory:Ig}),e})();const V0=yg(null,"core",[]);let B0=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(Nr(qc))},e.ɵmod=_e({type:e}),e.ɵinj=Le({}),e})()},4719:(G,T,c)=>{"use strict";c.d(T,{Fj:()=>Mt,qu:()=>Rr,NI:()=>pr,u:()=>ei,sg:()=>vi,u5:()=>Gn,Fd:()=>hr,qQ:()=>Er,JU:()=>Z,JJ:()=>le,JL:()=>ce,On:()=>wr,YN:()=>Fr,wV:()=>mr,UX:()=>Yn,EJ:()=>bi,kI:()=>Et,_Y:()=>qr,Kr:()=>hi});var o=c(5062),p=c(6895),O=c(2916),S=c(6688),D=c(4850),M=c(7830),R=c(5254);function N(w,v){return new O.y((_=>{const V=w.length;if(0===V)return void _.complete();const Ze=new Array(V);let Jt=0,An=0;for(let lr=0;lr<V;lr++){const Lr=(0,R.D)(w[lr]);let Vr=!1;_.add(Lr.subscribe({next:pi=>{Vr||(Vr=!0,An++),Ze[lr]=pi},error:pi=>_.error(pi),complete:()=>{Jt++,(Jt===V||!Vr)&&(An===V&&_.next(v?v.reduce(((pi,_o,mt)=>(pi[_o]=Ze[mt],pi)),{}):Ze),_.complete())}}))}}))}let x=(()=>{class w{constructor(_,V){this._renderer=_,this._elementRef=V,this.onChange=Ze=>{},this.onTouched=()=>{}}setProperty(_,V){this._renderer.setProperty(this._elementRef.nativeElement,_,V)}registerOnTouched(_){this.onTouched=_}registerOnChange(_){this.onChange=_}setDisabledState(_){this.setProperty("disabled",_)}}return w.ɵfac=function(_){return new(_||w)(o.Y36(o.Qsj),o.Y36(o.SBq))},w.ɵdir=o.lG2({type:w}),w})(),k=(()=>{class w extends x{}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,features:[o.qOj]}),w})();const Z=new o.OlP("NgValueAccessor"),pe={provide:Z,useExisting:(0,o.Gpc)((()=>Mt)),multi:!0},Ie=new o.OlP("CompositionEventMode");let Mt=(()=>{class w extends x{constructor(_,V,Ze){super(_,V),this._compositionMode=Ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ye(){const w=(0,p.q)()?(0,p.q)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(_){this.setProperty("value",_??"")}_handleInput(_){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(_)}_compositionStart(){this._composing=!0}_compositionEnd(_){this._composing=!1,this._compositionMode&&this.onChange(_)}}return w.ɵfac=function(_){return new(_||w)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Ie,8))},w.ɵdir=o.lG2({type:w,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(_,V){1&_&&o.NdJ("input",(function(Jt){return V._handleInput(Jt.target.value)}))("blur",(function(){return V.onTouched()}))("compositionstart",(function(){return V._compositionStart()}))("compositionend",(function(Jt){return V._compositionEnd(Jt.target.value)}))},features:[o._Bn([pe]),o.qOj]}),w})();function Ne(w){return null==w||0===w.length}function Ke(w){return null!=w&&"number"==typeof w.length}const Me=new o.OlP("NgValidators"),ue=new o.OlP("NgAsyncValidators"),yt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Et{static min(v){return Ge(v)}static max(v){return He(v)}static required(v){return function dt(w){return Ne(w.value)?{required:!0}:null}(v)}static requiredTrue(v){return function Qe(w){return!0===w.value?null:{required:!0}}(v)}static email(v){return function Wt(w){return Ne(w.value)||yt.test(w.value)?null:{email:!0}}(v)}static minLength(v){return function Ct(w){return v=>Ne(v.value)||!Ke(v.value)?null:v.value.length<w?{minlength:{requiredLength:w,actualLength:v.value.length}}:null}(v)}static maxLength(v){return function et(w){return v=>Ke(v.value)&&v.value.length>w?{maxlength:{requiredLength:w,actualLength:v.value.length}}:null}(v)}static pattern(v){return function Te(w){if(!w)return De;let v,_;return"string"==typeof w?(_="","^"!==w.charAt(0)&&(_+="^"),_+=w,"$"!==w.charAt(w.length-1)&&(_+="$"),v=new RegExp(_)):(_=w.toString(),v=w),V=>{if(Ne(V.value))return null;const Ze=V.value;return v.test(Ze)?null:{pattern:{requiredPattern:_,actualValue:Ze}}}}(v)}static nullValidator(v){return null}static compose(v){return Ee(v)}static composeAsync(v){return ge(v)}}function Ge(w){return v=>{if(Ne(v.value)||Ne(w))return null;const _=parseFloat(v.value);return!isNaN(_)&&_<w?{min:{min:w,actual:v.value}}:null}}function He(w){return v=>{if(Ne(v.value)||Ne(w))return null;const _=parseFloat(v.value);return!isNaN(_)&&_>w?{max:{max:w,actual:v.value}}:null}}function De(w){return null}function Je(w){return null!=w}function It(w){const v=(0,o.QGY)(w)?(0,R.D)(w):w;return(0,o.CqO)(v),v}function wt(w){let v={};return w.forEach((_=>{v=null!=_?{...v,..._}:v})),0===Object.keys(v).length?null:v}function We(w,v){return v.map((_=>_(w)))}function lt(w){return w.map((v=>function ze(w){return!w.validate}(v)?v:_=>v.validate(_)))}function Ee(w){if(!w)return null;const v=w.filter(Je);return 0==v.length?null:function(_){return wt(We(_,v))}}function Ae(w){return null!=w?Ee(lt(w)):null}function ge(w){if(!w)return null;const v=w.filter(Je);return 0==v.length?null:function(_){return function F(...w){if(1===w.length){const v=w[0];if((0,S.k)(v))return N(v,null);if((0,M.K)(v)&&Object.getPrototypeOf(v)===Object.prototype){const _=Object.keys(v);return N(_.map((V=>v[V])),_)}}if("function"==typeof w[w.length-1]){const v=w.pop();return N(w=1===w.length&&(0,S.k)(w[0])?w[0]:w,null).pipe((0,D.U)((_=>v(..._))))}return N(w,null)}(We(_,v).map(It)).pipe((0,D.U)(wt))}}function $e(w){return null!=w?ge(lt(w)):null}function qe(w,v){return null===w?[v]:Array.isArray(w)?[...w,v]:[w,v]}function ht(w){return w._rawValidators}function Ft(w){return w._rawAsyncValidators}function mn(w){return w?Array.isArray(w)?w:[w]:[]}function Le(w,v){return Array.isArray(w)?w.includes(v):w===v}function be(w,v){const _=mn(v);return mn(w).forEach((Ze=>{Le(_,Ze)||_.push(Ze)})),_}function fe(w,v){return mn(v).filter((_=>!Le(w,_)))}class it{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(v){this._rawValidators=v||[],this._composedValidatorFn=Ae(this._rawValidators)}_setAsyncValidators(v){this._rawAsyncValidators=v||[],this._composedAsyncValidatorFn=$e(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(v){this._onDestroyCallbacks.push(v)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((v=>v())),this._onDestroyCallbacks=[]}reset(v){this.control&&this.control.reset(v)}hasError(v,_){return!!this.control&&this.control.hasError(v,_)}getError(v,_){return this.control?this.control.getError(v,_):null}}class gt extends it{get formDirective(){return null}get path(){return null}}class Kt extends it{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class In{constructor(v){this._cd=v}is(v){return"submitted"===v?!!this._cd?.submitted:!!this._cd?.control?.[v]}}let le=(()=>{class w extends In{constructor(_){super(_)}}return w.ɵfac=function(_){return new(_||w)(o.Y36(Kt,2))},w.ɵdir=o.lG2({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(_,V){2&_&&o.ekj("ng-untouched",V.is("untouched"))("ng-touched",V.is("touched"))("ng-pristine",V.is("pristine"))("ng-dirty",V.is("dirty"))("ng-valid",V.is("valid"))("ng-invalid",V.is("invalid"))("ng-pending",V.is("pending"))},features:[o.qOj]}),w})(),ce=(()=>{class w extends In{constructor(_){super(_)}}return w.ɵfac=function(_){return new(_||w)(o.Y36(gt,10))},w.ɵdir=o.lG2({type:w,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(_,V){2&_&&o.ekj("ng-untouched",V.is("untouched"))("ng-touched",V.is("touched"))("ng-pristine",V.is("pristine"))("ng-dirty",V.is("dirty"))("ng-valid",V.is("valid"))("ng-invalid",V.is("invalid"))("ng-pending",V.is("pending"))("ng-submitted",V.is("submitted"))},features:[o.qOj]}),w})();function _t(w,v){return[...v.path,w]}function Tt(w,v){dn(w,v),v.valueAccessor.writeValue(w.value),function hn(w,v){v.valueAccessor.registerOnChange((_=>{w._pendingValue=_,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&on(w,v)}))}(w,v),function me(w,v){const _=(V,Ze)=>{v.valueAccessor.writeValue(V),Ze&&v.viewToModelUpdate(V)};w.registerOnChange(_),v._registerOnDestroy((()=>{w._unregisterOnChange(_)}))}(w,v),function Pt(w,v){v.valueAccessor.registerOnTouched((()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&on(w,v),"submit"!==w.updateOn&&w.markAsTouched()}))}(w,v),function Mn(w,v){if(v.valueAccessor.setDisabledState){const _=V=>{v.valueAccessor.setDisabledState(V)};w.registerOnDisabledChange(_),v._registerOnDestroy((()=>{w._unregisterOnDisabledChange(_)}))}}(w,v)}function Ht(w,v,_=!0){const V=()=>{};v.valueAccessor&&(v.valueAccessor.registerOnChange(V),v.valueAccessor.registerOnTouched(V)),kt(w,v),w&&(v._invokeOnDestroyCallbacks(),w._registerOnCollectionChange((()=>{})))}function cn(w,v){w.forEach((_=>{_.registerOnValidatorChange&&_.registerOnValidatorChange(v)}))}function dn(w,v){const _=ht(w);null!==v.validator?w.setValidators(qe(_,v.validator)):"function"==typeof _&&w.setValidators([_]);const V=Ft(w);null!==v.asyncValidator?w.setAsyncValidators(qe(V,v.asyncValidator)):"function"==typeof V&&w.setAsyncValidators([V]);const Ze=()=>w.updateValueAndValidity();cn(v._rawValidators,Ze),cn(v._rawAsyncValidators,Ze)}function kt(w,v){let _=!1;if(null!==w){if(null!==v.validator){const Ze=ht(w);if(Array.isArray(Ze)&&Ze.length>0){const Jt=Ze.filter((An=>An!==v.validator));Jt.length!==Ze.length&&(_=!0,w.setValidators(Jt))}}if(null!==v.asyncValidator){const Ze=Ft(w);if(Array.isArray(Ze)&&Ze.length>0){const Jt=Ze.filter((An=>An!==v.asyncValidator));Jt.length!==Ze.length&&(_=!0,w.setAsyncValidators(Jt))}}}const V=()=>{};return cn(v._rawValidators,V),cn(v._rawAsyncValidators,V),_}function on(w,v){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),v.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function vt(w,v){if(!w.hasOwnProperty("model"))return!1;const _=w.model;return!!_.isFirstChange()||!Object.is(v,_.currentValue)}function ie(w,v){if(!v)return null;let _,V,Ze;return Array.isArray(v),v.forEach((Jt=>{Jt.constructor===Mt?_=Jt:function st(w){return Object.getPrototypeOf(w.constructor)===k}(Jt)?V=Jt:Ze=Jt})),Ze||V||_||null}function Re(w,v){const _=w.indexOf(v);_>-1&&w.splice(_,1)}const Yt="VALID",Oe="INVALID",Ve="PENDING",xe="DISABLED";function Lt(w){return(sn(w)?w.validators:w)||null}function Ut(w){return Array.isArray(w)?Ae(w):w||null}function Vt(w,v){return(sn(v)?v.asyncValidators:w)||null}function zt(w){return Array.isArray(w)?$e(w):w||null}function sn(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}const en=w=>w instanceof pr,Rt=w=>w instanceof ir,bn=w=>w instanceof er;function zn(w){return en(w)?w.value:w.getRawValue()}function Xn(w,v){const _=Rt(w),V=w.controls;if(!(_?Object.keys(V):V).length)throw new o.vHH(1e3,"");if(!V[v])throw new o.vHH(1001,"")}function ar(w,v){Rt(w),w._forEachChild(((V,Ze)=>{if(void 0===v[Ze])throw new o.vHH(1002,"")}))}class Fn{constructor(v,_){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=v,this._rawAsyncValidators=_,this._composedValidatorFn=Ut(this._rawValidators),this._composedAsyncValidatorFn=zt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(v){this._rawValidators=this._composedValidatorFn=v}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(v){this._rawAsyncValidators=this._composedAsyncValidatorFn=v}get parent(){return this._parent}get valid(){return this.status===Yt}get invalid(){return this.status===Oe}get pending(){return this.status==Ve}get disabled(){return this.status===xe}get enabled(){return this.status!==xe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(v){this._rawValidators=v,this._composedValidatorFn=Ut(v)}setAsyncValidators(v){this._rawAsyncValidators=v,this._composedAsyncValidatorFn=zt(v)}addValidators(v){this.setValidators(be(v,this._rawValidators))}addAsyncValidators(v){this.setAsyncValidators(be(v,this._rawAsyncValidators))}removeValidators(v){this.setValidators(fe(v,this._rawValidators))}removeAsyncValidators(v){this.setAsyncValidators(fe(v,this._rawAsyncValidators))}hasValidator(v){return Le(this._rawValidators,v)}hasAsyncValidator(v){return Le(this._rawAsyncValidators,v)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(v={}){this.touched=!0,this._parent&&!v.onlySelf&&this._parent.markAsTouched(v)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((v=>v.markAllAsTouched()))}markAsUntouched(v={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((_=>{_.markAsUntouched({onlySelf:!0})})),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}markAsDirty(v={}){this.pristine=!1,this._parent&&!v.onlySelf&&this._parent.markAsDirty(v)}markAsPristine(v={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((_=>{_.markAsPristine({onlySelf:!0})})),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}markAsPending(v={}){this.status=Ve,!1!==v.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!v.onlySelf&&this._parent.markAsPending(v)}disable(v={}){const _=this._parentMarkedDirty(v.onlySelf);this.status=xe,this.errors=null,this._forEachChild((V=>{V.disable({...v,onlySelf:!0})})),this._updateValue(),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...v,skipPristineCheck:_}),this._onDisabledChange.forEach((V=>V(!0)))}enable(v={}){const _=this._parentMarkedDirty(v.onlySelf);this.status=Yt,this._forEachChild((V=>{V.enable({...v,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent}),this._updateAncestors({...v,skipPristineCheck:_}),this._onDisabledChange.forEach((V=>V(!1)))}_updateAncestors(v){this._parent&&!v.onlySelf&&(this._parent.updateValueAndValidity(v),v.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(v){this._parent=v}updateValueAndValidity(v={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yt||this.status===Ve)&&this._runAsyncValidator(v.emitEvent)),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!v.onlySelf&&this._parent.updateValueAndValidity(v)}_updateTreeValidity(v={emitEvent:!0}){this._forEachChild((_=>_._updateTreeValidity(v))),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xe:Yt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(v){if(this.asyncValidator){this.status=Ve,this._hasOwnPendingAsyncValidator=!0;const _=It(this.asyncValidator(this));this._asyncValidationSubscription=_.subscribe((V=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(V,{emitEvent:v})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(v,_={}){this.errors=v,this._updateControlsErrors(!1!==_.emitEvent)}get(v){return function bt(w,v,_){if(null==v||(Array.isArray(v)||(v=v.split(_)),Array.isArray(v)&&0===v.length))return null;let V=w;return v.forEach((Ze=>{V=Rt(V)?V.controls.hasOwnProperty(Ze)?V.controls[Ze]:null:bn(V)&&V.at(Ze)||null})),V}(this,v,".")}getError(v,_){const V=_?this.get(_):this;return V&&V.errors?V.errors[v]:null}hasError(v,_){return!!this.getError(v,_)}get root(){let v=this;for(;v._parent;)v=v._parent;return v}_updateControlsErrors(v){this.status=this._calculateStatus(),v&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(v)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?xe:this.errors?Oe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ve)?Ve:this._anyControlsHaveStatus(Oe)?Oe:Yt}_anyControlsHaveStatus(v){return this._anyControls((_=>_.status===v))}_anyControlsDirty(){return this._anyControls((v=>v.dirty))}_anyControlsTouched(){return this._anyControls((v=>v.touched))}_updatePristine(v={}){this.pristine=!this._anyControlsDirty(),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}_updateTouched(v={}){this.touched=this._anyControlsTouched(),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}_isBoxedValue(v){return"object"==typeof v&&null!==v&&2===Object.keys(v).length&&"value"in v&&"disabled"in v}_registerOnCollectionChange(v){this._onCollectionChange=v}_setUpdateStrategy(v){sn(v)&&null!=v.updateOn&&(this._updateOn=v.updateOn)}_parentMarkedDirty(v){return!v&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class pr extends Fn{constructor(v=null,_,V){super(Lt(_),Vt(V,_)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(v),this._setUpdateStrategy(_),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sn(_)&&_.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(v)?v.value:v)}setValue(v,_={}){this.value=this._pendingValue=v,this._onChange.length&&!1!==_.emitModelToViewChange&&this._onChange.forEach((V=>V(this.value,!1!==_.emitViewToModelChange))),this.updateValueAndValidity(_)}patchValue(v,_={}){this.setValue(v,_)}reset(v=this.defaultValue,_={}){this._applyFormState(v),this.markAsPristine(_),this.markAsUntouched(_),this.setValue(this.value,_),this._pendingChange=!1}_updateValue(){}_anyControls(v){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(v){this._onChange.push(v)}_unregisterOnChange(v){Re(this._onChange,v)}registerOnDisabledChange(v){this._onDisabledChange.push(v)}_unregisterOnDisabledChange(v){Re(this._onDisabledChange,v)}_forEachChild(v){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(v){this._isBoxedValue(v)?(this.value=this._pendingValue=v.value,v.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=v}}class ir extends Fn{constructor(v,_,V){super(Lt(_),Vt(V,_)),this.controls=v,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(v,_){return this.controls[v]?this.controls[v]:(this.controls[v]=_,_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange),_)}addControl(v,_,V={}){this.registerControl(v,_),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}removeControl(v,_={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange((()=>{})),delete this.controls[v],this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}setControl(v,_,V={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange((()=>{})),delete this.controls[v],_&&this.registerControl(v,_),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}contains(v){return this.controls.hasOwnProperty(v)&&this.controls[v].enabled}setValue(v,_={}){ar(this,v),Object.keys(v).forEach((V=>{Xn(this,V),this.controls[V].setValue(v[V],{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_)}patchValue(v,_={}){null!=v&&(Object.keys(v).forEach((V=>{this.controls[V]&&this.controls[V].patchValue(v[V],{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_))}reset(v={},_={}){this._forEachChild(((V,Ze)=>{V.reset(v[Ze],{onlySelf:!0,emitEvent:_.emitEvent})})),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this._reduceChildren({},((v,_,V)=>(v[V]=zn(_),v)))}_syncPendingControls(){let v=this._reduceChildren(!1,((_,V)=>!!V._syncPendingControls()||_));return v&&this.updateValueAndValidity({onlySelf:!0}),v}_forEachChild(v){Object.keys(this.controls).forEach((_=>{const V=this.controls[_];V&&v(V,_)}))}_setUpControls(){this._forEachChild((v=>{v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(v){for(const _ of Object.keys(this.controls)){const V=this.controls[_];if(this.contains(_)&&v(V))return!0}return!1}_reduceValue(){return this._reduceChildren({},((v,_,V)=>((_.enabled||this.disabled)&&(v[V]=_.value),v)))}_reduceChildren(v,_){let V=v;return this._forEachChild(((Ze,Jt)=>{V=_(V,Ze,Jt)})),V}_allControlsDisabled(){for(const v of Object.keys(this.controls))if(this.controls[v].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class er extends Fn{constructor(v,_,V){super(Lt(_),Vt(V,_)),this.controls=v,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(v){return this.controls[v]}push(v,_={}){this.controls.push(v),this._registerControl(v),this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}insert(v,_,V={}){this.controls.splice(v,0,_),this._registerControl(_),this.updateValueAndValidity({emitEvent:V.emitEvent})}removeAt(v,_={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange((()=>{})),this.controls.splice(v,1),this.updateValueAndValidity({emitEvent:_.emitEvent})}setControl(v,_,V={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange((()=>{})),this.controls.splice(v,1),_&&(this.controls.splice(v,0,_),this._registerControl(_)),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(v,_={}){ar(this,v),v.forEach(((V,Ze)=>{Xn(this,Ze),this.at(Ze).setValue(V,{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_)}patchValue(v,_={}){null!=v&&(v.forEach(((V,Ze)=>{this.at(Ze)&&this.at(Ze).patchValue(V,{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_))}reset(v=[],_={}){this._forEachChild(((V,Ze)=>{V.reset(v[Ze],{onlySelf:!0,emitEvent:_.emitEvent})})),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this.controls.map((v=>zn(v)))}clear(v={}){this.controls.length<1||(this._forEachChild((_=>_._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:v.emitEvent}))}_syncPendingControls(){let v=this.controls.reduce(((_,V)=>!!V._syncPendingControls()||_),!1);return v&&this.updateValueAndValidity({onlySelf:!0}),v}_forEachChild(v){this.controls.forEach(((_,V)=>{v(_,V)}))}_updateValue(){this.value=this.controls.filter((v=>v.enabled||this.disabled)).map((v=>v.value))}_anyControls(v){return this.controls.some((_=>_.enabled&&v(_)))}_setUpControls(){this._forEachChild((v=>this._registerControl(v)))}_allControlsDisabled(){for(const v of this.controls)if(v.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(v){v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange)}}const Bn={provide:Kt,useExisting:(0,o.Gpc)((()=>wr))},Hn=(()=>Promise.resolve(null))();let wr=(()=>{class w extends Kt{constructor(_,V,Ze,Jt,An){super(),this._changeDetectorRef=An,this.control=new pr,this._registered=!1,this.update=new o.vpe,this._parent=_,this._setValidators(V),this._setAsyncValidators(Ze),this.valueAccessor=ie(0,Jt)}ngOnChanges(_){if(this._checkForErrors(),!this._registered||"name"in _){if(this._registered&&(this._checkName(),this.formDirective)){const V=_.name.previousValue;this.formDirective.removeControl({name:V,path:this._getPath(V)})}this._setUpControl()}"isDisabled"in _&&this._updateDisabled(_),vt(_,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(_){this.viewModel=_,this.update.emit(_)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Tt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(_){Hn.then((()=>{this.control.setValue(_,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(_){const V=_.isDisabled.currentValue,Ze=""===V||V&&"false"!==V;Hn.then((()=>{Ze&&!this.control.disabled?this.control.disable():!Ze&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(_){return this._parent?_t(_,this._parent):[_]}}return w.ɵfac=function(_){return new(_||w)(o.Y36(gt,9),o.Y36(Me,10),o.Y36(ue,10),o.Y36(Z,10),o.Y36(o.sBO,8))},w.ɵdir=o.lG2({type:w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([Bn]),o.qOj,o.TTD]}),w})(),qr=(()=>{class w{}return w.ɵfac=function(_){return new(_||w)},w.ɵdir=o.lG2({type:w,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),w})();const tr={provide:Z,useExisting:(0,o.Gpc)((()=>mr)),multi:!0};let mr=(()=>{class w extends k{writeValue(_){this.setProperty("value",_??"")}registerOnChange(_){this.onChange=V=>{_(""==V?null:parseFloat(V))}}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(_,V){1&_&&o.NdJ("input",(function(Jt){return V.onChange(Jt.target.value)}))("blur",(function(){return V.onTouched()}))},features:[o._Bn([tr]),o.qOj]}),w})(),Jr=(()=>{class w{}return w.ɵfac=function(_){return new(_||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({}),w})();const Gr=new o.OlP("NgModelWithFormControlWarning"),li={provide:gt,useExisting:(0,o.Gpc)((()=>vi))};let vi=(()=>{class w extends gt{constructor(_,V){super(),this.validators=_,this.asyncValidators=V,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(_),this._setAsyncValidators(V)}ngOnChanges(_){this._checkFormPresent(),_.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(kt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(_){const V=this.form.get(_.path);return Tt(V,_),V.updateValueAndValidity({emitEvent:!1}),this.directives.push(_),V}getControl(_){return this.form.get(_.path)}removeControl(_){Ht(_.control||null,_,!1),Re(this.directives,_)}addFormGroup(_){this._setUpFormContainer(_)}removeFormGroup(_){this._cleanUpFormContainer(_)}getFormGroup(_){return this.form.get(_.path)}addFormArray(_){this._setUpFormContainer(_)}removeFormArray(_){this._cleanUpFormContainer(_)}getFormArray(_){return this.form.get(_.path)}updateModel(_,V){this.form.get(_.path).setValue(V)}onSubmit(_){return this.submitted=!0,function at(w,v){w._syncPendingControls(),v.forEach((_=>{const V=_.control;"submit"===V.updateOn&&V._pendingChange&&(_.viewToModelUpdate(V._pendingValue),V._pendingChange=!1)}))}(this.form,this.directives),this.ngSubmit.emit(_),!1}onReset(){this.resetForm()}resetForm(_){this.form.reset(_),this.submitted=!1}_updateDomValue(){this.directives.forEach((_=>{const V=_.control,Ze=this.form.get(_.path);V!==Ze&&(Ht(V||null,_),en(Ze)&&(Tt(Ze,_),_.control=Ze))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(_){const V=this.form.get(_.path);(function ee(w,v){dn(w,v)})(V,_),V.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(_){if(this.form){const V=this.form.get(_.path);V&&function B(w,v){return kt(w,v)}(V,_)&&V.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){dn(this.form,this),this._oldForm&&kt(this._oldForm,this)}_checkFormPresent(){}}return w.ɵfac=function(_){return new(_||w)(o.Y36(Me,10),o.Y36(ue,10))},w.ɵdir=o.lG2({type:w,selectors:[["","formGroup",""]],hostBindings:function(_,V){1&_&&o.NdJ("submit",(function(Jt){return V.onSubmit(Jt)}))("reset",(function(){return V.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([li]),o.qOj,o.TTD]}),w})();const ro={provide:Kt,useExisting:(0,o.Gpc)((()=>ei))};let ei=(()=>{class w extends Kt{constructor(_,V,Ze,Jt,An){super(),this._ngModelWarningConfig=An,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=_,this._setValidators(V),this._setAsyncValidators(Ze),this.valueAccessor=ie(0,Jt)}set isDisabled(_){}ngOnChanges(_){this._added||this._setUpControl(),vt(_,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(_){this.viewModel=_,this.update.emit(_)}get path(){return _t(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return w._ngModelWarningSentOnce=!1,w.ɵfac=function(_){return new(_||w)(o.Y36(gt,13),o.Y36(Me,10),o.Y36(ue,10),o.Y36(Z,10),o.Y36(Gr,8))},w.ɵdir=o.lG2({type:w,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([ro]),o.qOj,o.TTD]}),w})();const Ci={provide:Z,useExisting:(0,o.Gpc)((()=>bi)),multi:!0};function Wr(w,v){return null==w?`${v}`:(v&&"object"==typeof v&&(v="Object"),`${w}: ${v}`.slice(0,50))}let bi=(()=>{class w extends k{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(_){this._compareWith=_}writeValue(_){this.value=_;const Ze=Wr(this._getOptionId(_),_);this.setProperty("value",Ze)}registerOnChange(_){this.onChange=V=>{this.value=this._getOptionValue(V),_(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(_){for(const V of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(V),_))return V;return null}_getOptionValue(_){const V=function Ri(w){return w.split(":")[0]}(_);return this._optionMap.has(V)?this._optionMap.get(V):_}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(_,V){1&_&&o.NdJ("change",(function(Jt){return V.onChange(Jt.target.value)}))("blur",(function(){return V.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o._Bn([Ci]),o.qOj]}),w})(),Fr=(()=>{class w{constructor(_,V,Ze){this._element=_,this._renderer=V,this._select=Ze,this._select&&(this.id=this._select._registerOption())}set ngValue(_){null!=this._select&&(this._select._optionMap.set(this.id,_),this._setElementValue(Wr(this.id,_)),this._select.writeValue(this._select.value))}set value(_){this._setElementValue(_),this._select&&this._select.writeValue(this._select.value)}_setElementValue(_){this._renderer.setProperty(this._element.nativeElement,"value",_)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return w.ɵfac=function(_){return new(_||w)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(bi,9))},w.ɵdir=o.lG2({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();const Ni={provide:Z,useExisting:(0,o.Gpc)((()=>wi)),multi:!0};function Or(w,v){return null==w?`${v}`:("string"==typeof v&&(v=`'${v}'`),v&&"object"==typeof v&&(v="Object"),`${w}: ${v}`.slice(0,50))}let wi=(()=>{class w extends k{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(_){this._compareWith=_}writeValue(_){let V;if(this.value=_,Array.isArray(_)){const Ze=_.map((Jt=>this._getOptionId(Jt)));V=(Jt,An)=>{Jt._setSelected(Ze.indexOf(An.toString())>-1)}}else V=(Ze,Jt)=>{Ze._setSelected(!1)};this._optionMap.forEach(V)}registerOnChange(_){this.onChange=V=>{const Ze=[],Jt=V.selectedOptions;if(void 0!==Jt){const An=Jt;for(let lr=0;lr<An.length;lr++){const Vr=this._getOptionValue(An[lr].value);Ze.push(Vr)}}else{const An=V.options;for(let lr=0;lr<An.length;lr++){const Lr=An[lr];if(Lr.selected){const Vr=this._getOptionValue(Lr.value);Ze.push(Vr)}}}this.value=Ze,_(Ze)}}_registerOption(_){const V=(this._idCounter++).toString();return this._optionMap.set(V,_),V}_getOptionId(_){for(const V of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(V)._value,_))return V;return null}_getOptionValue(_){const V=function Fi(w){return w.split(":")[0]}(_);return this._optionMap.has(V)?this._optionMap.get(V)._value:_}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(_,V){1&_&&o.NdJ("change",(function(Jt){return V.onChange(Jt.target)}))("blur",(function(){return V.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o._Bn([Ni]),o.qOj]}),w})(),hi=(()=>{class w{constructor(_,V,Ze){this._element=_,this._renderer=V,this._select=Ze,this._select&&(this.id=this._select._registerOption(this))}set ngValue(_){null!=this._select&&(this._value=_,this._setElementValue(Or(this.id,_)),this._select.writeValue(this._select.value))}set value(_){this._select?(this._value=_,this._setElementValue(Or(this.id,_)),this._select.writeValue(this._select.value)):this._setElementValue(_)}_setElementValue(_){this._renderer.setProperty(this._element.nativeElement,"value",_)}_setSelected(_){this._renderer.setProperty(this._element.nativeElement,"selected",_)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return w.ɵfac=function(_){return new(_||w)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(wi,9))},w.ɵdir=o.lG2({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();function dr(w){return"number"==typeof w?w:parseFloat(w)}let kr=(()=>{class w{constructor(){this._validator=De}ngOnChanges(_){if(this.inputName in _){const V=this.normalizeInput(_[this.inputName].currentValue);this._enabled=this.enabled(V),this._validator=this._enabled?this.createValidator(V):De,this._onChange&&this._onChange()}}validate(_){return this._validator(_)}registerOnValidatorChange(_){this._onChange=_}enabled(_){return null!=_}}return w.ɵfac=function(_){return new(_||w)},w.ɵdir=o.lG2({type:w,features:[o.TTD]}),w})();const qn={provide:Me,useExisting:(0,o.Gpc)((()=>hr)),multi:!0};let hr=(()=>{class w extends kr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=_=>dr(_),this.createValidator=_=>He(_)}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(_,V){2&_&&o.uIk("max",V._enabled?V.max:null)},inputs:{max:"max"},features:[o._Bn([qn]),o.qOj]}),w})();const Li={provide:Me,useExisting:(0,o.Gpc)((()=>Er)),multi:!0};let Er=(()=>{class w extends kr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=_=>dr(_),this.createValidator=_=>Ge(_)}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(_,V){2&_&&o.uIk("min",V._enabled?V.min:null)},inputs:{min:"min"},features:[o._Bn([Li]),o.qOj]}),w})(),yn=(()=>{class w{}return w.ɵfac=function(_){return new(_||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({imports:[[Jr]]}),w})(),Gn=(()=>{class w{}return w.ɵfac=function(_){return new(_||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({imports:[yn]}),w})(),Yn=(()=>{class w{static withConfig(_){return{ngModule:w,providers:[{provide:Gr,useValue:_.warnOnNgModelWithFormControl}]}}}return w.ɵfac=function(_){return new(_||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({imports:[yn]}),w})(),Rr=(()=>{class w{group(_,V=null){const Ze=this._reduceControls(_);let lr,Jt=null,An=null;return null!=V&&(function _r(w){return void 0!==w.asyncValidators||void 0!==w.validators||void 0!==w.updateOn}(V)?(Jt=null!=V.validators?V.validators:null,An=null!=V.asyncValidators?V.asyncValidators:null,lr=null!=V.updateOn?V.updateOn:void 0):(Jt=null!=V.validator?V.validator:null,An=null!=V.asyncValidator?V.asyncValidator:null)),new ir(Ze,{asyncValidators:An,updateOn:lr,validators:Jt})}control(_,V,Ze){return new pr(_,V,Ze)}array(_,V,Ze){const Jt=_.map((An=>this._createControl(An)));return new er(Jt,V,Ze)}_reduceControls(_){const V={};return Object.keys(_).forEach((Ze=>{V[Ze]=this._createControl(_[Ze])})),V}_createControl(_){return en(_)||Rt(_)||bn(_)?_:Array.isArray(_)?this.control(_[0],_.length>1?_[1]:null,_.length>2?_[2]:null):this.control(_)}}return w.ɵfac=function(_){return new(_||w)},w.ɵprov=o.Yz7({token:w,factory:w.ɵfac,providedIn:Yn}),w})()},8746:(G,T,c)=>{"use strict";c.d(T,{PW:()=>Co});var o=c(5062),p=c(1481),O=c(7340);const S=!1;function M(L){return new o.vHH(3e3,S)}function ge(){return typeof window<"u"&&typeof window.document<"u"}function $e(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function qe(L){switch(L.length){case 0:return new O.ZN;case 1:return L[0];default:return new O.ZE(L)}}function ht(L,l,d,y,U={},J={}){const oe=[],se=[];let ke=-1,nt=null;if(y.forEach((Gt=>{const tn=Gt.offset,_n=tn==ke,Dn=_n&&nt||{};Object.keys(Gt).forEach((an=>{let vn=an,jn=Gt[an];if("offset"!==an)switch(vn=l.normalizePropertyName(vn,oe),jn){case O.k1:jn=U[an];break;case O.l3:jn=J[an];break;default:jn=l.normalizeStyleValue(an,vn,jn,oe)}Dn[vn]=jn})),_n||se.push(Dn),nt=Dn,ke=tn})),oe.length)throw function Ct(L){return new o.vHH(3502,S)}();return se}function Ft(L,l,d,y){switch(l){case"start":L.onStart((()=>y(d&&mn(d,"start",L))));break;case"done":L.onDone((()=>y(d&&mn(d,"done",L))));break;case"destroy":L.onDestroy((()=>y(d&&mn(d,"destroy",L))))}}function mn(L,l,d){const J=Le(L.element,L.triggerName,L.fromState,L.toState,l||L.phaseName,d.totalTime??L.totalTime,!!d.disabled),oe=L._data;return null!=oe&&(J._data=oe),J}function Le(L,l,d,y,U="",J=0,oe){return{element:L,triggerName:l,fromState:d,toState:y,phaseName:U,totalTime:J,disabled:!!oe}}function be(L,l,d){let y;return L instanceof Map?(y=L.get(l),y||L.set(l,y=d)):(y=L[l],y||(y=L[l]=d)),y}function fe(L){const l=L.indexOf(":");return[L.substring(1,l),L.substr(l+1)]}let it=(L,l)=>!1,gt=(L,l,d)=>[],Kt=null;function In(L){const l=L.parentNode||L.host;return l===Kt?null:l}($e()||typeof Element<"u")&&(ge()?(Kt=(()=>document.documentElement)(),it=(L,l)=>{for(;l;){if(l===L)return!0;l=In(l)}return!1}):it=(L,l)=>L.contains(l),gt=(L,l,d)=>{if(d)return Array.from(L.querySelectorAll(l));const y=L.querySelector(l);return y?[y]:[]});let le=null,ce=!1;function je(L){le||(le=function A(){return typeof document<"u"?document.body:null}()||{},ce=!!le.style&&"WebkitAppearance"in le.style);let l=!0;return le.style&&!function yr(L){return"ebkit"==L.substring(1,6)}(L)&&(l=L in le.style,!l&&ce&&(l="Webkit"+L.charAt(0).toUpperCase()+L.substr(1)in le.style)),l}const q=it,ne=gt;let we=(()=>{class L{validateStyleProperty(d){return je(d)}matchesElement(d,y){return!1}containsElement(d,y){return q(d,y)}getParentElement(d){return In(d)}query(d,y,U){return ne(d,y,U)}computeStyle(d,y,U){return U||""}animate(d,y,U,J,oe,se=[],ke){return new O.ZN(U,J)}}return L.ɵfac=function(d){return new(d||L)},L.ɵprov=o.Yz7({token:L,factory:L.ɵfac}),L})(),Pe=(()=>{class L{}return L.NOOP=new we,L})();const Dt="ng-enter",ft="ng-leave",nn="ng-trigger",Bt=".ng-trigger",Zt="ng-animating",$t=".ng-animating";function _t(L){if("number"==typeof L)return L;const l=L.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Tt(parseFloat(l[1]),l[2])}function Tt(L,l){return"s"===l?1e3*L:L}function Ht(L,l,d){return L.hasOwnProperty("duration")?L:function cn(L,l,d){let U,J=0,oe="";if("string"==typeof L){const se=L.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===se)return l.push(M()),{duration:0,delay:0,easing:""};U=Tt(parseFloat(se[1]),se[2]);const ke=se[3];null!=ke&&(J=Tt(parseFloat(ke),se[4]));const nt=se[5];nt&&(oe=nt)}else U=L;if(!d){let se=!1,ke=l.length;U<0&&(l.push(function R(){return new o.vHH(3100,S)}()),se=!0),J<0&&(l.push(function F(){return new o.vHH(3101,S)}()),se=!0),se&&l.splice(ke,0,M())}return{duration:U,delay:J,easing:oe}}(L,l,d)}function Mn(L,l={}){return Object.keys(L).forEach((d=>{l[d]=L[d]})),l}function kt(L,l,d={}){if(l)for(let y in L)d[y]=L[y];else Mn(L,d);return d}function hn(L,l,d){return d?l+":"+d+";":""}function Pt(L){let l="";for(let d=0;d<L.style.length;d++){const y=L.style.item(d);l+=hn(0,y,L.style.getPropertyValue(y))}for(const d in L.style)L.style.hasOwnProperty(d)&&!d.startsWith("_")&&(l+=hn(0,at(d),L.style[d]));L.setAttribute("style",l)}function on(L,l,d){L.style&&(Object.keys(l).forEach((y=>{const U=st(y);d&&!d.hasOwnProperty(y)&&(d[y]=L.style[U]),L.style[U]=l[y]})),$e()&&Pt(L))}function me(L,l){L.style&&(Object.keys(l).forEach((d=>{const y=st(d);L.style[y]=""})),$e()&&Pt(L))}function ee(L){return Array.isArray(L)?1==L.length?L[0]:(0,O.vP)(L):L}const W=new RegExp("{{\\s*(.+?)\\s*}}","g");function j(L){let l=[];if("string"==typeof L){let d;for(;d=W.exec(L);)l.push(d[1]);W.lastIndex=0}return l}function _e(L,l,d){const y=L.toString(),U=y.replace(W,((J,oe)=>{let se=l[oe];return l.hasOwnProperty(oe)||(d.push(function x(L){return new o.vHH(3003,S)}()),se=""),se.toString()}));return U==y?L:U}function Ue(L){const l=[];let d=L.next();for(;!d.done;)l.push(d.value),d=L.next();return l}const vt=/-+([a-z0-9])/g;function st(L){return L.replace(vt,((...l)=>l[1].toUpperCase()))}function at(L){return L.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function St(L,l,d){switch(l.type){case 7:return L.visitTrigger(l,d);case 0:return L.visitState(l,d);case 1:return L.visitTransition(l,d);case 2:return L.visitSequence(l,d);case 3:return L.visitGroup(l,d);case 4:return L.visitAnimate(l,d);case 5:return L.visitKeyframes(l,d);case 6:return L.visitStyle(l,d);case 8:return L.visitReference(l,d);case 9:return L.visitAnimateChild(l,d);case 10:return L.visitAnimateRef(l,d);case 11:return L.visitQuery(l,d);case 12:return L.visitStagger(l,d);default:throw function k(L){return new o.vHH(3004,S)}()}}function Ot(L,l){return window.getComputedStyle(L)[l]}function zt(L,l){const d=[];return"string"==typeof L?L.split(/\s*,\s*/).forEach((y=>function sn(L,l,d){if(":"==L[0]){const ke=function en(L,l){switch(L){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,y)=>parseFloat(y)>parseFloat(d);case":decrement":return(d,y)=>parseFloat(y)<parseFloat(d);default:return l.push(function He(L){return new o.vHH(3016,S)}()),"* => *"}}(L,d);if("function"==typeof ke)return void l.push(ke);L=ke}const y=L.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return d.push(function Ge(L){return new o.vHH(3015,S)}()),l;const U=y[1],J=y[2],oe=y[3];l.push(zn(U,oe));"<"==J[0]&&!("*"==U&&"*"==oe)&&l.push(zn(oe,U))}(y,d,l))):d.push(L),d}const Rt=new Set(["true","1"]),bn=new Set(["false","0"]);function zn(L,l){const d=Rt.has(L)||bn.has(L),y=Rt.has(l)||bn.has(l);return(U,J)=>{let oe="*"==L||L==U,se="*"==l||l==J;return!oe&&d&&"boolean"==typeof U&&(oe=U?Rt.has(L):bn.has(L)),!se&&y&&"boolean"==typeof J&&(se=J?Rt.has(l):bn.has(l)),oe&&se}}const ar=new RegExp("s*:selfs*,?","g");function Fn(L,l,d,y){return new ir(L).build(l,d,y)}class ir{constructor(l){this._driver=l}build(l,d,y){const U=new Pr(d);this._resetContextStyleTimingState(U);const J=St(this,ee(l),U);return U.unsupportedCSSPropertiesFound.size&&U.unsupportedCSSPropertiesFound.keys(),J}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles={},l.collectedStyles[""]={},l.currentTime=0}visitTrigger(l,d){let y=d.queryCount=0,U=d.depCount=0;const J=[],oe=[];return"@"==l.name.charAt(0)&&d.errors.push(function Q(){return new o.vHH(3006,S)}()),l.definitions.forEach((se=>{if(this._resetContextStyleTimingState(d),0==se.type){const ke=se,nt=ke.name;nt.toString().split(/\s*,\s*/).forEach((Gt=>{ke.name=Gt,J.push(this.visitState(ke,d))})),ke.name=nt}else if(1==se.type){const ke=this.visitTransition(se,d);y+=ke.queryCount,U+=ke.depCount,oe.push(ke)}else d.errors.push(function ve(){return new o.vHH(3007,S)}())})),{type:7,name:l.name,states:J,transitions:oe,queryCount:y,depCount:U,options:null}}visitState(l,d){const y=this.visitStyle(l.styles,d),U=l.options&&l.options.params||null;if(y.containsDynamicStyles){const J=new Set,oe=U||{};y.styles.forEach((se=>{if(gr(se)){const ke=se;Object.keys(ke).forEach((nt=>{j(ke[nt]).forEach((Gt=>{oe.hasOwnProperty(Gt)||J.add(Gt)}))}))}})),J.size&&(Ue(J.values()),d.errors.push(function pe(L,l){return new o.vHH(3008,S)}()))}return{type:0,name:l.name,style:y,options:U?{params:U}:null}}visitTransition(l,d){d.queryCount=0,d.depCount=0;const y=St(this,ee(l.animation),d);return{type:1,matchers:zt(l.expr,d.errors),animation:y,queryCount:d.queryCount,depCount:d.depCount,options:Se(l.options)}}visitSequence(l,d){return{type:2,steps:l.steps.map((y=>St(this,y,d))),options:Se(l.options)}}visitGroup(l,d){const y=d.currentTime;let U=0;const J=l.steps.map((oe=>{d.currentTime=y;const se=St(this,oe,d);return U=Math.max(U,d.currentTime),se}));return d.currentTime=U,{type:3,steps:J,options:Se(l.options)}}visitAnimate(l,d){const y=function X(L,l){if(L.hasOwnProperty("duration"))return L;if("number"==typeof L)return $(Ht(L,l).duration,0,"");const d=L;if(d.split(/\s+/).some((J=>"{"==J.charAt(0)&&"{"==J.charAt(1)))){const J=$(0,0,"");return J.dynamic=!0,J.strValue=d,J}const U=Ht(d,l);return $(U.duration,U.delay,U.easing)}(l.timings,d.errors);d.currentAnimateTimings=y;let U,J=l.styles?l.styles:(0,O.oB)({});if(5==J.type)U=this.visitKeyframes(J,d);else{let oe=l.styles,se=!1;if(!oe){se=!0;const nt={};y.easing&&(nt.easing=y.easing),oe=(0,O.oB)(nt)}d.currentTime+=y.duration+y.delay;const ke=this.visitStyle(oe,d);ke.isEmptyStep=se,U=ke}return d.currentAnimateTimings=null,{type:4,timings:y,style:U,options:null}}visitStyle(l,d){const y=this._makeStyleAst(l,d);return this._validateStyleAst(y,d),y}_makeStyleAst(l,d){const y=[];Array.isArray(l.styles)?l.styles.forEach((oe=>{"string"==typeof oe?oe==O.l3?y.push(oe):d.errors.push(function ye(L){return new o.vHH(3002,S)}()):y.push(oe)})):y.push(l.styles);let U=!1,J=null;return y.forEach((oe=>{if(gr(oe)){const se=oe,ke=se.easing;if(ke&&(J=ke,delete se.easing),!U)for(let nt in se)if(se[nt].toString().indexOf("{{")>=0){U=!0;break}}})),{type:6,styles:y,easing:J,offset:l.offset,containsDynamicStyles:U,options:null}}_validateStyleAst(l,d){const y=d.currentAnimateTimings;let U=d.currentTime,J=d.currentTime;y&&J>0&&(J-=y.duration+y.delay),l.styles.forEach((oe=>{"string"!=typeof oe&&Object.keys(oe).forEach((se=>{if(!this._driver.validateStyleProperty(se))return delete oe[se],void d.unsupportedCSSPropertiesFound.add(se);const ke=d.collectedStyles[d.currentQuerySelector],nt=ke[se];let Gt=!0;nt&&(J!=U&&J>=nt.startTime&&U<=nt.endTime&&(d.errors.push(function Mt(L,l,d,y,U){return new o.vHH(3010,S)}()),Gt=!1),J=nt.startTime),Gt&&(ke[se]={startTime:J,endTime:U}),d.options&&function B(L,l,d){const y=l.params||{},U=j(L);U.length&&U.forEach((J=>{y.hasOwnProperty(J)||d.push(function N(L){return new o.vHH(3001,S)}())}))}(oe[se],d.options,d.errors)}))}))}visitKeyframes(l,d){const y={type:5,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function Ne(){return new o.vHH(3011,S)}()),y;let J=0;const oe=[];let se=!1,ke=!1,nt=0;const Gt=l.steps.map((or=>{const rr=this._makeStyleAst(or,d);let Cr=null!=rr.offset?rr.offset:function vr(L){if("string"==typeof L)return null;let l=null;if(Array.isArray(L))L.forEach((d=>{if(gr(d)&&d.hasOwnProperty("offset")){const y=d;l=parseFloat(y.offset),delete y.offset}}));else if(gr(L)&&L.hasOwnProperty("offset")){const d=L;l=parseFloat(d.offset),delete d.offset}return l}(rr.styles),cr=0;return null!=Cr&&(J++,cr=rr.offset=Cr),ke=ke||cr<0||cr>1,se=se||cr<nt,nt=cr,oe.push(cr),rr}));ke&&d.errors.push(function Ke(){return new o.vHH(3012,S)}()),se&&d.errors.push(function Me(){return new o.vHH(3200,S)}());const tn=l.steps.length;let _n=0;J>0&&J<tn?d.errors.push(function ue(){return new o.vHH(3202,S)}()):0==J&&(_n=1/(tn-1));const Dn=tn-1,an=d.currentTime,vn=d.currentAnimateTimings,jn=vn.duration;return Gt.forEach(((or,rr)=>{const Cr=_n>0?rr==Dn?1:_n*rr:oe[rr],cr=Cr*jn;d.currentTime=an+vn.delay+cr,vn.duration=cr,this._validateStyleAst(or,d),or.offset=Cr,y.styles.push(or)})),y}visitReference(l,d){return{type:8,animation:St(this,ee(l.animation),d),options:Se(l.options)}}visitAnimateChild(l,d){return d.depCount++,{type:9,options:Se(l.options)}}visitAnimateRef(l,d){return{type:10,animation:this.visitReference(l.animation,d),options:Se(l.options)}}visitQuery(l,d){const y=d.currentQuerySelector,U=l.options||{};d.queryCount++,d.currentQuery=l;const[J,oe]=function er(L){const l=!!L.split(/\s*,\s*/).find((d=>":self"==d));return l&&(L=L.replace(ar,"")),L=L.replace(/@\*/g,Bt).replace(/@\w+/g,(d=>Bt+"-"+d.substr(1))).replace(/:animating/g,$t),[L,l]}(l.selector);d.currentQuerySelector=y.length?y+" "+J:J,be(d.collectedStyles,d.currentQuerySelector,{});const se=St(this,ee(l.animation),d);return d.currentQuery=null,d.currentQuerySelector=y,{type:11,selector:J,limit:U.limit||0,optional:!!U.optional,includeSelf:oe,animation:se,originalSelector:l.selector,options:Se(l.options)}}visitStagger(l,d){d.currentQuery||d.errors.push(function yt(){return new o.vHH(3013,S)}());const y="full"===l.timings?{duration:0,delay:0,easing:"full"}:Ht(l.timings,d.errors,!0);return{type:12,animation:St(this,ee(l.animation),d),timings:y,options:null}}}class Pr{constructor(l){this.errors=l,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 gr(L){return!Array.isArray(L)&&"object"==typeof L}function Se(L){return L?(L=Mn(L)).params&&(L.params=function Sn(L){return L?Mn(L):null}(L.params)):L={},L}function $(L,l,d){return{duration:L,delay:l,easing:d}}function Be(L,l,d,y,U,J,oe=null,se=!1){return{type:1,element:L,keyframes:l,preStyleProps:d,postStyleProps:y,duration:U,delay:J,totalTime:U+J,easing:oe,subTimeline:se}}class Nt{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,d){let y=this._map.get(l);y||this._map.set(l,y=[]),y.push(...d)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Hn=new RegExp(":enter","g"),qr=new RegExp(":leave","g");function tr(L,l,d,y,U,J={},oe={},se,ke,nt=[]){return(new mr).buildKeyframes(L,l,d,y,U,J,oe,se,ke,nt)}class mr{buildKeyframes(l,d,y,U,J,oe,se,ke,nt,Gt=[]){nt=nt||new Nt;const tn=new xi(l,d,nt,U,J,Gt,[]);tn.options=ke,tn.currentTimeline.setStyles([oe],null,tn.errors,ke),St(this,y,tn);const _n=tn.timelines.filter((Dn=>Dn.containsAnimation()));if(Object.keys(se).length){let Dn;for(let an=_n.length-1;an>=0;an--){const vn=_n[an];if(vn.element===d){Dn=vn;break}}Dn&&!Dn.allowOnlyTimelineStyles()&&Dn.setStyles([se],null,tn.errors,ke)}return _n.length?_n.map((Dn=>Dn.buildKeyframes())):[Be(d,[],[],[],0,0,"",!1)]}visitTrigger(l,d){}visitState(l,d){}visitTransition(l,d){}visitAnimateChild(l,d){const y=d.subInstructions.get(d.element);if(y){const U=d.createSubContext(l.options),J=d.currentTimeline.currentTime,oe=this._visitSubInstructions(y,U,U.options);J!=oe&&d.transformIntoNewTimeline(oe)}d.previousNode=l}visitAnimateRef(l,d){const y=d.createSubContext(l.options);y.transformIntoNewTimeline(),this.visitReference(l.animation,y),d.transformIntoNewTimeline(y.currentTimeline.currentTime),d.previousNode=l}_visitSubInstructions(l,d,y){let J=d.currentTimeline.currentTime;const oe=null!=y.duration?_t(y.duration):null,se=null!=y.delay?_t(y.delay):null;return 0!==oe&&l.forEach((ke=>{const nt=d.appendInstructionToTimeline(ke,oe,se);J=Math.max(J,nt.duration+nt.delay)})),J}visitReference(l,d){d.updateOptions(l.options,!0),St(this,l.animation,d),d.previousNode=l}visitSequence(l,d){const y=d.subContextCount;let U=d;const J=l.options;if(J&&(J.params||J.delay)&&(U=d.createSubContext(J),U.transformIntoNewTimeline(),null!=J.delay)){6==U.previousNode.type&&(U.currentTimeline.snapshotCurrentStyles(),U.previousNode=Ir);const oe=_t(J.delay);U.delayNextStep(oe)}l.steps.length&&(l.steps.forEach((oe=>St(this,oe,U))),U.currentTimeline.applyStylesToKeyframe(),U.subContextCount>y&&U.transformIntoNewTimeline()),d.previousNode=l}visitGroup(l,d){const y=[];let U=d.currentTimeline.currentTime;const J=l.options&&l.options.delay?_t(l.options.delay):0;l.steps.forEach((oe=>{const se=d.createSubContext(l.options);J&&se.delayNextStep(J),St(this,oe,se),U=Math.max(U,se.currentTimeline.currentTime),y.push(se.currentTimeline)})),y.forEach((oe=>d.currentTimeline.mergeTimelineCollectedStyles(oe))),d.transformIntoNewTimeline(U),d.previousNode=l}_visitTiming(l,d){if(l.dynamic){const y=l.strValue;return Ht(d.params?_e(y,d.params,d.errors):y,d.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,d){const y=d.currentAnimateTimings=this._visitTiming(l.timings,d),U=d.currentTimeline;y.delay&&(d.incrementTime(y.delay),U.snapshotCurrentStyles());const J=l.style;5==J.type?this.visitKeyframes(J,d):(d.incrementTime(y.duration),this.visitStyle(J,d),U.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=l}visitStyle(l,d){const y=d.currentTimeline,U=d.currentAnimateTimings;!U&&y.getCurrentStyleProperties().length&&y.forwardFrame();const J=U&&U.easing||l.easing;l.isEmptyStep?y.applyEmptyStep(J):y.setStyles(l.styles,J,d.errors,d.options),d.previousNode=l}visitKeyframes(l,d){const y=d.currentAnimateTimings,U=d.currentTimeline.duration,J=y.duration,se=d.createSubContext().currentTimeline;se.easing=y.easing,l.styles.forEach((ke=>{se.forwardTime((ke.offset||0)*J),se.setStyles(ke.styles,ke.easing,d.errors,d.options),se.applyStylesToKeyframe()})),d.currentTimeline.mergeTimelineCollectedStyles(se),d.transformIntoNewTimeline(U+J),d.previousNode=l}visitQuery(l,d){const y=d.currentTimeline.currentTime,U=l.options||{},J=U.delay?_t(U.delay):0;J&&(6===d.previousNode.type||0==y&&d.currentTimeline.getCurrentStyleProperties().length)&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Ir);let oe=y;const se=d.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!U.optional,d.errors);d.currentQueryTotal=se.length;let ke=null;se.forEach(((nt,Gt)=>{d.currentQueryIndex=Gt;const tn=d.createSubContext(l.options,nt);J&&tn.delayNextStep(J),nt===d.element&&(ke=tn.currentTimeline),St(this,l.animation,tn),tn.currentTimeline.applyStylesToKeyframe(),oe=Math.max(oe,tn.currentTimeline.currentTime)})),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(oe),ke&&(d.currentTimeline.mergeTimelineCollectedStyles(ke),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=l}visitStagger(l,d){const y=d.parentContext,U=d.currentTimeline,J=l.timings,oe=Math.abs(J.duration),se=oe*(d.currentQueryTotal-1);let ke=oe*d.currentQueryIndex;switch(J.duration<0?"reverse":J.easing){case"reverse":ke=se-ke;break;case"full":ke=y.currentStaggerTime}const Gt=d.currentTimeline;ke&&Gt.delayNextStep(ke);const tn=Gt.currentTime;St(this,l.animation,d),d.previousNode=l,y.currentStaggerTime=U.currentTime-tn+(U.startTime-y.currentTimeline.startTime)}}const Ir={};class xi{constructor(l,d,y,U,J,oe,se,ke){this._driver=l,this.element=d,this.subInstructions=y,this._enterClassName=U,this._leaveClassName=J,this.errors=oe,this.timelines=se,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ir,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ke||new Jr(this._driver,d,0),se.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,d){if(!l)return;const y=l;let U=this.options;null!=y.duration&&(U.duration=_t(y.duration)),null!=y.delay&&(U.delay=_t(y.delay));const J=y.params;if(J){let oe=U.params;oe||(oe=this.options.params={}),Object.keys(J).forEach((se=>{(!d||!oe.hasOwnProperty(se))&&(oe[se]=_e(J[se],oe,this.errors))}))}}_copyOptions(){const l={};if(this.options){const d=this.options.params;if(d){const y=l.params={};Object.keys(d).forEach((U=>{y[U]=d[U]}))}}return l}createSubContext(l=null,d,y){const U=d||this.element,J=new xi(this._driver,U,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(U,y||0));return J.previousNode=this.previousNode,J.currentAnimateTimings=this.currentAnimateTimings,J.options=this._copyOptions(),J.updateOptions(l),J.currentQueryIndex=this.currentQueryIndex,J.currentQueryTotal=this.currentQueryTotal,J.parentContext=this,this.subContextCount++,J}transformIntoNewTimeline(l){return this.previousNode=Ir,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,d,y){const U={duration:d??l.duration,delay:this.currentTimeline.currentTime+(y??0)+l.delay,easing:""},J=new Xr(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,U,l.stretchStartingKeyframe);return this.timelines.push(J),U}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,d,y,U,J,oe){let se=[];if(U&&se.push(this.element),l.length>0){l=(l=l.replace(Hn,"."+this._enterClassName)).replace(qr,"."+this._leaveClassName);let nt=this._driver.query(this.element,l,1!=y);0!==y&&(nt=y<0?nt.slice(nt.length+y,nt.length):nt.slice(0,y)),se.push(...nt)}return!J&&0==se.length&&oe.push(function Et(L){return new o.vHH(3014,S)}()),se}}class Jr{constructor(l,d,y,U){this._driver=l,this.element=d,this.startTime=y,this._elementTimelineStylesLookup=U,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(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,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(l){const d=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||d?(this.forwardTime(this.currentTime+l),d&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,d){return this.applyStylesToKeyframe(),new Jr(this._driver,l,d||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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,d){this._localTimelineStyles[l]=d,this._globalTimelineStyles[l]=d,this._styleSummary[l]={time:this.currentTime,value:d}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&(this._previousKeyframe.easing=l),Object.keys(this._globalTimelineStyles).forEach((d=>{this._backFill[d]=this._globalTimelineStyles[d]||O.l3,this._currentKeyframe[d]=O.l3})),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,d,y,U){d&&(this._previousKeyframe.easing=d);const J=U&&U.params||{},oe=function Ii(L,l){const d={};let y;return L.forEach((U=>{"*"===U?(y=y||Object.keys(l),y.forEach((J=>{d[J]=O.l3}))):kt(U,!1,d)})),d}(l,this._globalTimelineStyles);Object.keys(oe).forEach((se=>{const ke=_e(oe[se],J,y);this._pendingStyles[se]=ke,this._localTimelineStyles.hasOwnProperty(se)||(this._backFill[se]=this._globalTimelineStyles.hasOwnProperty(se)?this._globalTimelineStyles[se]:O.l3),this._updateStyle(se,ke)}))}applyStylesToKeyframe(){const l=this._pendingStyles,d=Object.keys(l);0!=d.length&&(this._pendingStyles={},d.forEach((y=>{this._currentKeyframe[y]=l[y]})),Object.keys(this._localTimelineStyles).forEach((y=>{this._currentKeyframe.hasOwnProperty(y)||(this._currentKeyframe[y]=this._localTimelineStyles[y])})))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach((l=>{const d=this._localTimelineStyles[l];this._pendingStyles[l]=d,this._updateStyle(l,d)}))}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let d in this._currentKeyframe)l.push(d);return l}mergeTimelineCollectedStyles(l){Object.keys(l._styleSummary).forEach((d=>{const y=this._styleSummary[d],U=l._styleSummary[d];(!y||U.time>y.time)&&this._updateStyle(d,U.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,d=new Set,y=1===this._keyframes.size&&0===this.duration;let U=[];this._keyframes.forEach(((se,ke)=>{const nt=kt(se,!0);Object.keys(nt).forEach((Gt=>{const tn=nt[Gt];tn==O.k1?l.add(Gt):tn==O.l3&&d.add(Gt)})),y||(nt.offset=ke/this.duration),U.push(nt)}));const J=l.size?Ue(l.values()):[],oe=d.size?Ue(d.values()):[];if(y){const se=U[0],ke=Mn(se);se.offset=0,ke.offset=1,U=[se,ke]}return Be(this.element,U,J,oe,this.duration,this.startTime,this.easing,!1)}}class Xr extends Jr{constructor(l,d,y,U,J,oe,se=!1){super(l,d,oe.delay),this.keyframes=y,this.preStyleProps=U,this.postStyleProps=J,this._stretchStartingKeyframe=se,this.timings={duration:oe.duration,delay:oe.delay,easing:oe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:d,duration:y,easing:U}=this.timings;if(this._stretchStartingKeyframe&&d){const J=[],oe=y+d,se=d/oe,ke=kt(l[0],!1);ke.offset=0,J.push(ke);const nt=kt(l[0],!1);nt.offset=yi(se),J.push(nt);const Gt=l.length-1;for(let tn=1;tn<=Gt;tn++){let _n=kt(l[tn],!1);_n.offset=yi((d+_n.offset*y)/oe),J.push(_n)}y=oe,d=0,U="",l=J}return Be(this.element,l,this.preStyleProps,this.postStyleProps,y,d,U,!0)}}function yi(L,l=3){const d=Math.pow(10,l-1);return Math.round(L*d)/d}class Gr{}class to extends Gr{normalizePropertyName(l,d){return st(l)}normalizeStyleValue(l,d,y,U){let J="";const oe=y.toString().trim();if(li[d]&&0!==y&&"0"!==y)if("number"==typeof y)J="px";else{const se=y.match(/^[+-]?[\d\.]+([a-z]*)$/);se&&0==se[1].length&&U.push(function Z(L,l){return new o.vHH(3005,S)}())}return oe+J}}const li=(()=>function vi(L){const l={};return L.forEach((d=>l[d]=!0)),l}("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 no(L,l,d,y,U,J,oe,se,ke,nt,Gt,tn,_n){return{type:0,element:L,triggerName:l,isRemovalTransition:U,fromState:d,fromStyles:J,toState:y,toStyles:oe,timelines:se,queriedElements:ke,preStyleProps:nt,postStyleProps:Gt,totalTime:tn,errors:_n}}const ci={};class ui{constructor(l,d,y){this._triggerName=l,this.ast=d,this._stateStyles=y}match(l,d,y,U){return function zr(L,l,d,y,U){return L.some((J=>J(l,d,y,U)))}(this.ast.matchers,l,d,y,U)}buildStyles(l,d,y){const U=this._stateStyles["*"],J=this._stateStyles[l],oe=U?U.buildStyles(d,y):{};return J?J.buildStyles(d,y):oe}build(l,d,y,U,J,oe,se,ke,nt,Gt){const tn=[],_n=this.ast.options&&this.ast.options.params||ci,an=this.buildStyles(y,se&&se.params||ci,tn),vn=ke&&ke.params||ci,jn=this.buildStyles(U,vn,tn),or=new Set,rr=new Map,Cr=new Map,cr="void"===U,Bi={params:{..._n,...vn}},Br=Gt?[]:tr(l,d,this.ast.animation,J,oe,an,jn,Bi,nt,tn);let ur=0;if(Br.forEach((Zr=>{ur=Math.max(Zr.duration+Zr.delay,ur)})),tn.length)return no(d,this._triggerName,y,U,cr,an,jn,[],[],rr,Cr,ur,tn);Br.forEach((Zr=>{const Kn=Zr.element,ti=be(rr,Kn,{});Zr.preStyleProps.forEach((gi=>ti[gi]=!0));const Un=be(Cr,Kn,{});Zr.postStyleProps.forEach((gi=>Un[gi]=!0)),Kn!==d&&or.add(Kn)}));const Kr=Ue(or.values());return no(d,this._triggerName,y,U,cr,an,jn,Br,Kr,rr,Cr,ur)}}class di{constructor(l,d,y){this.styles=l,this.defaultParams=d,this.normalizer=y}buildStyles(l,d){const y={},U=Mn(this.defaultParams);return Object.keys(l).forEach((J=>{const oe=l[J];null!=oe&&(U[J]=oe)})),this.styles.styles.forEach((J=>{if("string"!=typeof J){const oe=J;Object.keys(oe).forEach((se=>{let ke=oe[se];ke.length>1&&(ke=_e(ke,U,d));const nt=this.normalizer.normalizePropertyName(se,d);ke=this.normalizer.normalizeStyleValue(se,nt,ke,d),y[nt]=ke}))}})),y}}class ei{constructor(l,d,y){this.name=l,this.ast=d,this._normalizer=y,this.transitionFactories=[],this.states={},d.states.forEach((U=>{this.states[U.name]=new di(U.style,U.options&&U.options.params||{},y)})),Wr(this.states,"true","1"),Wr(this.states,"false","0"),d.transitions.forEach((U=>{this.transitionFactories.push(new ui(l,U,this.states))})),this.fallbackTransition=function Ci(L,l,d){return new ui(L,{type:1,animation:{type:2,steps:[],options:null},matchers:[(oe,se)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,d,y,U){return this.transitionFactories.find((oe=>oe.match(l,d,y,U)))||null}matchStyles(l,d,y){return this.fallbackTransition.buildStyles(l,d,y)}}function Wr(L,l,d){L.hasOwnProperty(l)?L.hasOwnProperty(d)||(L[d]=L[l]):L.hasOwnProperty(d)&&(L[l]=L[d])}const Ri=new Nt;class bi{constructor(l,d,y){this.bodyNode=l,this._driver=d,this._normalizer=y,this._animations={},this._playersById={},this.players=[]}register(l,d){const y=[],J=Fn(this._driver,d,y,[]);if(y.length)throw function et(L){return new o.vHH(3503,S)}();this._animations[l]=J}_buildPlayer(l,d,y){const U=l.element,J=ht(0,this._normalizer,0,l.keyframes,d,y);return this._driver.animate(U,J,l.duration,l.delay,l.easing,[],!0)}create(l,d,y={}){const U=[],J=this._animations[l];let oe;const se=new Map;if(J?(oe=tr(this._driver,d,J,Dt,ft,{},{},y,Ri,U),oe.forEach((Gt=>{const tn=be(se,Gt.element,{});Gt.postStyleProps.forEach((_n=>tn[_n]=null))}))):(U.push(function Te(){return new o.vHH(3300,S)}()),oe=[]),U.length)throw function De(L){return new o.vHH(3504,S)}();se.forEach(((Gt,tn)=>{Object.keys(Gt).forEach((_n=>{Gt[_n]=this._driver.computeStyle(tn,_n,O.l3)}))}));const nt=qe(oe.map((Gt=>{const tn=se.get(Gt.element);return this._buildPlayer(Gt,{},tn)})));return this._playersById[l]=nt,nt.onDestroy((()=>this.destroy(l))),this.players.push(nt),nt}destroy(l){const d=this._getPlayer(l);d.destroy(),delete this._playersById[l];const y=this.players.indexOf(d);y>=0&&this.players.splice(y,1)}_getPlayer(l){const d=this._playersById[l];if(!d)throw function Je(L){return new o.vHH(3301,S)}();return d}listen(l,d,y,U){const J=Le(d,"","","");return Ft(this._getPlayer(l),y,J,U),()=>{}}command(l,d,y,U){if("register"==y)return void this.register(l,U[0]);if("create"==y)return void this.create(l,d,U[0]||{});const J=this._getPlayer(l);switch(y){case"play":J.play();break;case"pause":J.pause();break;case"reset":J.reset();break;case"restart":J.restart();break;case"finish":J.finish();break;case"init":J.init();break;case"setPosition":J.setPosition(parseFloat(U[0]));break;case"destroy":this.destroy(l)}}}const Fr="ng-animate-queued",Or="ng-animate-disabled",hi=[],fi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},lo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},dr="__ng_removed";class kr{constructor(l,d=""){this.namespaceId=d;const y=l&&l.hasOwnProperty("value");if(this.value=function b(L){return L??null}(y?l.value:l),y){const J=Mn(l);delete J.value,this.options=J}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const d=l.params;if(d){const y=this.options.params;Object.keys(d).forEach((U=>{null==y[U]&&(y[U]=d[U])}))}}}const qn="void",hr=new kr(qn);class Li{constructor(l,d,y){this.id=l,this.hostElement=d,this._engine=y,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,ut(d,this._hostClassName)}listen(l,d,y,U){if(!this._triggers.hasOwnProperty(d))throw function It(L,l){return new o.vHH(3302,S)}();if(null==y||0==y.length)throw function wt(L){return new o.vHH(3303,S)}();if(!function E(L){return"start"==L||"done"==L}(y))throw function We(L,l){return new o.vHH(3400,S)}();const J=be(this._elementListeners,l,[]),oe={name:d,phase:y,callback:U};J.push(oe);const se=be(this._engine.statesByElement,l,{});return se.hasOwnProperty(d)||(ut(l,nn),ut(l,nn+"-"+d),se[d]=hr),()=>{this._engine.afterFlush((()=>{const ke=J.indexOf(oe);ke>=0&&J.splice(ke,1),this._triggers[d]||delete se[d]}))}}register(l,d){return!this._triggers[l]&&(this._triggers[l]=d,!0)}_getTrigger(l){const d=this._triggers[l];if(!d)throw function ze(L){return new o.vHH(3401,S)}();return d}trigger(l,d,y,U=!0){const J=this._getTrigger(d),oe=new Vi(this.id,d,l);let se=this._engine.statesByElement.get(l);se||(ut(l,nn),ut(l,nn+"-"+d),this._engine.statesByElement.set(l,se={}));let ke=se[d];const nt=new kr(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&ke&&nt.absorbOptions(ke.options),se[d]=nt,ke||(ke=hr),nt.value!==qn&&ke.value===nt.value){if(!function gn(L,l){const d=Object.keys(L),y=Object.keys(l);if(d.length!=y.length)return!1;for(let U=0;U<d.length;U++){const J=d[U];if(!l.hasOwnProperty(J)||L[J]!==l[J])return!1}return!0}(ke.params,nt.params)){const vn=[],jn=J.matchStyles(ke.value,ke.params,vn),or=J.matchStyles(nt.value,nt.params,vn);vn.length?this._engine.reportError(vn):this._engine.afterFlush((()=>{me(l,jn),on(l,or)}))}return}const _n=be(this._engine.playersByElement,l,[]);_n.forEach((vn=>{vn.namespaceId==this.id&&vn.triggerName==d&&vn.queued&&vn.destroy()}));let Dn=J.matchTransition(ke.value,nt.value,l,nt.params),an=!1;if(!Dn){if(!U)return;Dn=J.fallbackTransition,an=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:d,transition:Dn,fromState:ke,toState:nt,player:oe,isFallbackTransition:an}),an||(ut(l,Fr),oe.onStart((()=>{xt(l,Fr)}))),oe.onDone((()=>{let vn=this.players.indexOf(oe);vn>=0&&this.players.splice(vn,1);const jn=this._engine.playersByElement.get(l);if(jn){let or=jn.indexOf(oe);or>=0&&jn.splice(or,1)}})),this.players.push(oe),_n.push(oe),oe}deregister(l){delete this._triggers[l],this._engine.statesByElement.forEach(((d,y)=>{delete d[l]})),this._elementListeners.forEach(((d,y)=>{this._elementListeners.set(y,d.filter((U=>U.name!=l)))}))}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const d=this._engine.playersByElement.get(l);d&&(d.forEach((y=>y.destroy())),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,d){const y=this._engine.driver.query(l,Bt,!0);y.forEach((U=>{if(U[dr])return;const J=this._engine.fetchNamespacesByElement(U);J.size?J.forEach((oe=>oe.triggerLeaveAnimation(U,d,!1,!0))):this.clearElementCache(U)})),this._engine.afterFlushAnimationsDone((()=>y.forEach((U=>this.clearElementCache(U)))))}triggerLeaveAnimation(l,d,y,U){const J=this._engine.statesByElement.get(l),oe=new Map;if(J){const se=[];if(Object.keys(J).forEach((ke=>{if(oe.set(ke,J[ke].value),this._triggers[ke]){const nt=this.trigger(l,ke,qn,U);nt&&se.push(nt)}})),se.length)return this._engine.markElementAsRemoved(this.id,l,!0,d,oe),y&&qe(se).onDone((()=>this._engine.processLeaveNode(l))),!0}return!1}prepareLeaveAnimationListeners(l){const d=this._elementListeners.get(l),y=this._engine.statesByElement.get(l);if(d&&y){const U=new Set;d.forEach((J=>{const oe=J.name;if(U.has(oe))return;U.add(oe);const ke=this._triggers[oe].fallbackTransition,nt=y[oe]||hr,Gt=new kr(qn),tn=new Vi(this.id,oe,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:oe,transition:ke,fromState:nt,toState:Gt,player:tn,isFallbackTransition:!0})}))}}removeNode(l,d){const y=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,d),this.triggerLeaveAnimation(l,d,!0))return;let U=!1;if(y.totalAnimations){const J=y.players.length?y.playersByQueriedElement.get(l):[];if(J&&J.length)U=!0;else{let oe=l;for(;oe=oe.parentNode;)if(y.statesByElement.get(oe)){U=!0;break}}}if(this.prepareLeaveAnimationListeners(l),U)y.markElementAsRemoved(this.id,l,!1,d);else{const J=l[dr];(!J||J===fi)&&(y.afterFlush((()=>this.clearElementCache(l))),y.destroyInnerAnimations(l),y._onRemovalComplete(l,d))}}insertNode(l,d){ut(l,this._hostClassName)}drainQueuedTransitions(l){const d=[];return this._queue.forEach((y=>{const U=y.player;if(U.destroyed)return;const J=y.element,oe=this._elementListeners.get(J);oe&&oe.forEach((se=>{if(se.name==y.triggerName){const ke=Le(J,y.triggerName,y.fromState.value,y.toState.value);ke._data=l,Ft(y.player,se.phase,ke,se.callback)}})),U.markedForDestroy?this._engine.afterFlush((()=>{U.destroy()})):d.push(y)})),this._queue=[],d.sort(((y,U)=>{const J=y.transition.ast.depCount,oe=U.transition.ast.depCount;return 0==J||0==oe?J-oe:this._engine.driver.containsElement(y.element,U.element)?1:-1}))}destroy(l){this.players.forEach((d=>d.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let d=!1;return this._elementListeners.has(l)&&(d=!0),d=!!this._queue.find((y=>y.element===l))||d,d}}class Er{constructor(l,d,y){this.bodyNode=l,this.driver=d,this._normalizer=y,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(U,J)=>{}}_onRemovalComplete(l,d){this.onRemovalComplete(l,d)}get queuedPlayers(){const l=[];return this._namespaceList.forEach((d=>{d.players.forEach((y=>{y.queued&&l.push(y)}))})),l}createNamespace(l,d){const y=new Li(l,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(y,d):(this.newHostElements.set(d,y),this.collectEnterElement(d)),this._namespaceLookup[l]=y}_balanceNamespaceList(l,d){const y=this._namespaceList,U=this.namespacesByHostElement,J=y.length-1;if(J>=0){let oe=!1;if(void 0!==this.driver.getParentElement){let se=this.driver.getParentElement(d);for(;se;){const ke=U.get(se);if(ke){const nt=y.indexOf(ke);y.splice(nt+1,0,l),oe=!0;break}se=this.driver.getParentElement(se)}}else for(let se=J;se>=0;se--)if(this.driver.containsElement(y[se].hostElement,d)){y.splice(se+1,0,l),oe=!0;break}oe||y.unshift(l)}else y.push(l);return U.set(d,l),l}register(l,d){let y=this._namespaceLookup[l];return y||(y=this.createNamespace(l,d)),y}registerTrigger(l,d,y){let U=this._namespaceLookup[l];U&&U.register(d,y)&&this.totalAnimations++}destroy(l,d){if(!l)return;const y=this._fetchNamespace(l);this.afterFlush((()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[l];const U=this._namespaceList.indexOf(y);U>=0&&this._namespaceList.splice(U,1)})),this.afterFlushAnimationsDone((()=>y.destroy(d)))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const d=new Set,y=this.statesByElement.get(l);if(y){const U=Object.keys(y);for(let J=0;J<U.length;J++){const oe=y[U[J]].namespaceId;if(oe){const se=this._fetchNamespace(oe);se&&d.add(se)}}}return d}trigger(l,d,y,U){if(z(d)){const J=this._fetchNamespace(l);if(J)return J.trigger(d,y,U),!0}return!1}insertNode(l,d,y,U){if(!z(d))return;const J=d[dr];if(J&&J.setForRemoval){J.setForRemoval=!1,J.setForMove=!0;const oe=this.collectedLeaveElements.indexOf(d);oe>=0&&this.collectedLeaveElements.splice(oe,1)}if(l){const oe=this._fetchNamespace(l);oe&&oe.insertNode(d,y)}U&&this.collectEnterElement(d)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,d){d?this.disabledNodes.has(l)||(this.disabledNodes.add(l),ut(l,Or)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),xt(l,Or))}removeNode(l,d,y,U){if(z(d)){const J=l?this._fetchNamespace(l):null;if(J?J.removeNode(d,U):this.markElementAsRemoved(l,d,!1,U),y){const oe=this.namespacesByHostElement.get(d);oe&&oe.id!==l&&oe.removeNode(d,U)}}else this._onRemovalComplete(d,U)}markElementAsRemoved(l,d,y,U,J){this.collectedLeaveElements.push(d),d[dr]={namespaceId:l,setForRemoval:U,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:J}}listen(l,d,y,U,J){return z(d)?this._fetchNamespace(l).listen(d,y,U,J):()=>{}}_buildInstruction(l,d,y,U,J){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,y,U,l.fromState.options,l.toState.options,d,J)}destroyInnerAnimations(l){let d=this.driver.query(l,Bt,!0);d.forEach((y=>this.destroyActiveAnimationsForElement(y))),0!=this.playersByQueriedElement.size&&(d=this.driver.query(l,$t,!0),d.forEach((y=>this.finishActiveQueriedAnimationOnElement(y))))}destroyActiveAnimationsForElement(l){const d=this.playersByElement.get(l);d&&d.forEach((y=>{y.queued?y.markedForDestroy=!0:y.destroy()}))}finishActiveQueriedAnimationOnElement(l){const d=this.playersByQueriedElement.get(l);d&&d.forEach((y=>y.finish()))}whenRenderingDone(){return new Promise((l=>{if(this.players.length)return qe(this.players).onDone((()=>l()));l()}))}processLeaveNode(l){const d=l[dr];if(d&&d.setForRemoval){if(l[dr]=fi,d.namespaceId){this.destroyInnerAnimations(l);const y=this._fetchNamespace(d.namespaceId);y&&y.clearElementCache(l)}this._onRemovalComplete(l,d.setForRemoval)}l.classList?.contains(Or)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach((y=>{this.markElementAsDisabled(y,!1)}))}flush(l=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((y,U)=>this._balanceNamespaceList(y,U))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)ut(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{d=this._flushAnimations(y,l)}finally{for(let U=0;U<y.length;U++)y[U]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((y=>y())),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],d.length?qe(d).onDone((()=>{y.forEach((U=>U()))})):y.forEach((U=>U()))}}reportError(l){throw function lt(L){return new o.vHH(3402,S)}()}_flushAnimations(l,d){const y=new Nt,U=[],J=new Map,oe=[],se=new Map,ke=new Map,nt=new Map,Gt=new Set;this.disabledNodes.forEach((qt=>{Gt.add(qt);const ln=this.driver.query(qt,".ng-animate-queued",!0);for(let fn=0;fn<ln.length;fn++)Gt.add(ln[fn])}));const tn=this.bodyNode,_n=Array.from(this.statesByElement.keys()),Dn=Ye(_n,this.collectedEnterElements),an=new Map;let vn=0;Dn.forEach(((qt,ln)=>{const fn=Dt+vn++;an.set(ln,fn),qt.forEach((Tn=>ut(Tn,fn)))}));const jn=[],or=new Set,rr=new Set;for(let qt=0;qt<this.collectedLeaveElements.length;qt++){const ln=this.collectedLeaveElements[qt],fn=ln[dr];fn&&fn.setForRemoval&&(jn.push(ln),or.add(ln),fn.hasAnimation?this.driver.query(ln,".ng-star-inserted",!0).forEach((Tn=>or.add(Tn))):rr.add(ln))}const Cr=new Map,cr=Ye(_n,Array.from(or));cr.forEach(((qt,ln)=>{const fn=ft+vn++;Cr.set(ln,fn),qt.forEach((Tn=>ut(Tn,fn)))})),l.push((()=>{Dn.forEach(((qt,ln)=>{const fn=an.get(ln);qt.forEach((Tn=>xt(Tn,fn)))})),cr.forEach(((qt,ln)=>{const fn=Cr.get(ln);qt.forEach((Tn=>xt(Tn,fn)))})),jn.forEach((qt=>{this.processLeaveNode(qt)}))}));const Bi=[],Br=[];for(let qt=this._namespaceList.length-1;qt>=0;qt--)this._namespaceList[qt].drainQueuedTransitions(d).forEach((fn=>{const Tn=fn.player,Zn=fn.element;if(Bi.push(Tn),this.collectedEnterElements.length){const Mr=Zn[dr];if(Mr&&Mr.setForMove){if(Mr.previousTriggersValues&&Mr.previousTriggersValues.has(fn.triggerName)){const Di=Mr.previousTriggersValues.get(fn.triggerName),Wn=this.statesByElement.get(fn.element);Wn&&Wn[fn.triggerName]&&(Wn[fn.triggerName].value=Di)}return void Tn.destroy()}}const xr=!tn||!this.driver.containsElement(tn,Zn),Dr=Cr.get(Zn),ni=an.get(Zn),Qn=this._buildInstruction(fn,y,ni,Dr,xr);if(Qn.errors&&Qn.errors.length)return void Br.push(Qn);if(xr)return Tn.onStart((()=>me(Zn,Qn.fromStyles))),Tn.onDestroy((()=>on(Zn,Qn.toStyles))),void U.push(Tn);if(fn.isFallbackTransition)return Tn.onStart((()=>me(Zn,Qn.fromStyles))),Tn.onDestroy((()=>on(Zn,Qn.toStyles))),void U.push(Tn);const ri=[];Qn.timelines.forEach((Mr=>{Mr.stretchStartingKeyframe=!0,this.disabledNodes.has(Mr.element)||ri.push(Mr)})),Qn.timelines=ri,y.append(Zn,Qn.timelines),oe.push({instruction:Qn,player:Tn,element:Zn}),Qn.queriedElements.forEach((Mr=>be(se,Mr,[]).push(Tn))),Qn.preStyleProps.forEach(((Mr,Di)=>{const Wn=Object.keys(Mr);if(Wn.length){let ii=ke.get(Di);ii||ke.set(Di,ii=new Set),Wn.forEach((co=>ii.add(co)))}})),Qn.postStyleProps.forEach(((Mr,Di)=>{const Wn=Object.keys(Mr);let ii=nt.get(Di);ii||nt.set(Di,ii=new Set),Wn.forEach((co=>ii.add(co)))}))}));if(Br.length){const qt=[];Br.forEach((ln=>{qt.push(function Ae(L,l){return new o.vHH(3505,S)}())})),Bi.forEach((ln=>ln.destroy())),this.reportError(qt)}const ur=new Map,Kr=new Map;oe.forEach((qt=>{const ln=qt.element;y.has(ln)&&(Kr.set(ln,ln),this._beforeAnimationBuild(qt.player.namespaceId,qt.instruction,ur))})),U.forEach((qt=>{const ln=qt.element;this._getPreviousPlayers(ln,!1,qt.namespaceId,qt.triggerName,null).forEach((Tn=>{be(ur,ln,[]).push(Tn),Tn.destroy()}))}));const Zr=jn.filter((qt=>Jn(qt,ke,nt))),Kn=new Map;ae(Kn,this.driver,rr,nt,O.l3).forEach((qt=>{Jn(qt,ke,nt)&&Zr.push(qt)}));const Un=new Map;Dn.forEach(((qt,ln)=>{ae(Un,this.driver,new Set(qt),ke,O.k1)})),Zr.forEach((qt=>{const ln=Kn.get(qt),fn=Un.get(qt);Kn.set(qt,{...ln,...fn})}));const gi=[],bo=[],Io={};oe.forEach((qt=>{const{element:ln,player:fn,instruction:Tn}=qt;if(y.has(ln)){if(Gt.has(ln))return fn.onDestroy((()=>on(ln,Tn.toStyles))),fn.disabled=!0,fn.overrideTotalTime(Tn.totalTime),void U.push(fn);let Zn=Io;if(Kr.size>1){let Dr=ln;const ni=[];for(;Dr=Dr.parentNode;){const Qn=Kr.get(Dr);if(Qn){Zn=Qn;break}ni.push(Dr)}ni.forEach((Qn=>Kr.set(Qn,Zn)))}const xr=this._buildAnimation(fn.namespaceId,Tn,ur,J,Un,Kn);if(fn.setRealPlayer(xr),Zn===Io)gi.push(fn);else{const Dr=this.playersByElement.get(Zn);Dr&&Dr.length&&(fn.parentPlayer=qe(Dr)),U.push(fn)}}else me(ln,Tn.fromStyles),fn.onDestroy((()=>on(ln,Tn.toStyles))),bo.push(fn),Gt.has(ln)&&U.push(fn)})),bo.forEach((qt=>{const ln=J.get(qt.element);if(ln&&ln.length){const fn=qe(ln);qt.setRealPlayer(fn)}})),U.forEach((qt=>{qt.parentPlayer?qt.syncPlayerEvents(qt.parentPlayer):qt.destroy()}));for(let qt=0;qt<jn.length;qt++){const ln=jn[qt],fn=ln[dr];if(xt(ln,ft),fn&&fn.hasAnimation)continue;let Tn=[];if(se.size){let xr=se.get(ln);xr&&xr.length&&Tn.push(...xr);let Dr=this.driver.query(ln,$t,!0);for(let ni=0;ni<Dr.length;ni++){let Qn=se.get(Dr[ni]);Qn&&Qn.length&&Tn.push(...Qn)}}const Zn=Tn.filter((xr=>!xr.destroyed));Zn.length?kn(this,ln,Zn):this.processLeaveNode(ln)}return jn.length=0,gi.forEach((qt=>{this.players.push(qt),qt.onDone((()=>{qt.destroy();const ln=this.players.indexOf(qt);this.players.splice(ln,1)})),qt.play()})),gi}elementContainsData(l,d){let y=!1;const U=d[dr];return U&&U.setForRemoval&&(y=!0),this.playersByElement.has(d)&&(y=!0),this.playersByQueriedElement.has(d)&&(y=!0),this.statesByElement.has(d)&&(y=!0),this._fetchNamespace(l).elementContainsData(d)||y}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,d,y,U,J){let oe=[];if(d){const se=this.playersByQueriedElement.get(l);se&&(oe=se)}else{const se=this.playersByElement.get(l);if(se){const ke=!J||J==qn;se.forEach((nt=>{nt.queued||!ke&&nt.triggerName!=U||oe.push(nt)}))}}return(y||U)&&(oe=oe.filter((se=>!(y&&y!=se.namespaceId||U&&U!=se.triggerName)))),oe}_beforeAnimationBuild(l,d,y){const J=d.element,oe=d.isRemovalTransition?void 0:l,se=d.isRemovalTransition?void 0:d.triggerName;for(const ke of d.timelines){const nt=ke.element,Gt=nt!==J,tn=be(y,nt,[]);this._getPreviousPlayers(nt,Gt,oe,se,d.toState).forEach((Dn=>{const an=Dn.getRealPlayer();an.beforeDestroy&&an.beforeDestroy(),Dn.destroy(),tn.push(Dn)}))}me(J,d.fromStyles)}_buildAnimation(l,d,y,U,J,oe){const se=d.triggerName,ke=d.element,nt=[],Gt=new Set,tn=new Set,_n=d.timelines.map((an=>{const vn=an.element;Gt.add(vn);const jn=vn[dr];if(jn&&jn.removedBeforeQueried)return new O.ZN(an.duration,an.delay);const or=vn!==ke,rr=function Ln(L){const l=[];return Rn(L,l),l}((y.get(vn)||hi).map((ur=>ur.getRealPlayer()))).filter((ur=>!!ur.element&&ur.element===vn)),Cr=J.get(vn),cr=oe.get(vn),Bi=ht(0,this._normalizer,0,an.keyframes,Cr,cr),Br=this._buildPlayer(an,Bi,rr);if(an.subTimeline&&U&&tn.add(vn),or){const ur=new Vi(l,se,vn);ur.setRealPlayer(Br),nt.push(ur)}return Br}));nt.forEach((an=>{be(this.playersByQueriedElement,an.element,[]).push(an),an.onDone((()=>function io(L,l,d){let y;if(L instanceof Map){if(y=L.get(l),y){if(y.length){const U=y.indexOf(d);y.splice(U,1)}0==y.length&&L.delete(l)}}else if(y=L[l],y){if(y.length){const U=y.indexOf(d);y.splice(U,1)}0==y.length&&delete L[l]}return y}(this.playersByQueriedElement,an.element,an)))})),Gt.forEach((an=>ut(an,Zt)));const Dn=qe(_n);return Dn.onDestroy((()=>{Gt.forEach((an=>xt(an,Zt))),on(ke,d.toStyles)})),tn.forEach((an=>{be(U,an,[]).push(Dn)})),Dn}_buildPlayer(l,d,y){return d.length>0?this.driver.animate(l.element,d,l.duration,l.delay,l.easing,y):new O.ZN(l.duration,l.delay)}}class Vi{constructor(l,d,y){this.namespaceId=l,this.triggerName=d,this.element=y,this._player=new O.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,Object.keys(this._queuedCallbacks).forEach((d=>{this._queuedCallbacks[d].forEach((y=>Ft(l,d,void 0,y)))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const d=this._player;d.triggerCallback&&l.onStart((()=>d.triggerCallback("start"))),l.onDone((()=>this.finish())),l.onDestroy((()=>this.destroy()))}_queueEvent(l,d){be(this._queuedCallbacks,l,[]).push(d)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const d=this._player;d.triggerCallback&&d.triggerCallback(l)}}function z(L){return L&&1===L.nodeType}function K(L,l){const d=L.style.display;return L.style.display=l??"none",d}function ae(L,l,d,y,U){const J=[];d.forEach((ke=>J.push(K(ke))));const oe=[];y.forEach(((ke,nt)=>{const Gt={};ke.forEach((tn=>{const _n=Gt[tn]=l.computeStyle(nt,tn,U);(!_n||0==_n.length)&&(nt[dr]=lo,oe.push(nt))})),L.set(nt,Gt)}));let se=0;return d.forEach((ke=>K(ke,J[se++]))),oe}function Ye(L,l){const d=new Map;if(L.forEach((se=>d.set(se,[]))),0==l.length)return d;const U=new Set(l),J=new Map;function oe(se){if(!se)return 1;let ke=J.get(se);if(ke)return ke;const nt=se.parentNode;return ke=d.has(nt)?nt:U.has(nt)?1:oe(nt),J.set(se,ke),ke}return l.forEach((se=>{const ke=oe(se);1!==ke&&d.get(ke).push(se)})),d}function ut(L,l){L.classList?.add(l)}function xt(L,l){L.classList?.remove(l)}function kn(L,l,d){qe(d).onDone((()=>L.processLeaveNode(l)))}function Rn(L,l){for(let d=0;d<L.length;d++){const y=L[d];y instanceof O.ZE?Rn(y.players,l):l.push(y)}}function Jn(L,l,d){const y=d.get(L);if(!y)return!1;let U=l.get(L);return U?y.forEach((J=>U.add(J))):l.set(L,y),d.delete(L),!0}class yn{constructor(l,d,y){this.bodyNode=l,this._driver=d,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(U,J)=>{},this._transitionEngine=new Er(l,d,y),this._timelineEngine=new bi(l,d,y),this._transitionEngine.onRemovalComplete=(U,J)=>this.onRemovalComplete(U,J)}registerTrigger(l,d,y,U,J){const oe=l+"-"+U;let se=this._triggerCache[oe];if(!se){const ke=[],Gt=Fn(this._driver,J,ke,[]);if(ke.length)throw function Wt(L,l){return new o.vHH(3404,S)}();se=function ro(L,l,d){return new ei(L,l,d)}(U,Gt,this._normalizer),this._triggerCache[oe]=se}this._transitionEngine.registerTrigger(d,U,se)}register(l,d){this._transitionEngine.register(l,d)}destroy(l,d){this._transitionEngine.destroy(l,d)}onInsert(l,d,y,U){this._transitionEngine.insertNode(l,d,y,U)}onRemove(l,d,y,U){this._transitionEngine.removeNode(l,d,U||!1,y)}disableAnimations(l,d){this._transitionEngine.markElementAsDisabled(l,d)}process(l,d,y,U){if("@"==y.charAt(0)){const[J,oe]=fe(y);this._timelineEngine.command(J,d,oe,U)}else this._transitionEngine.trigger(l,d,y,U)}listen(l,d,y,U,J){if("@"==y.charAt(0)){const[oe,se]=fe(y);return this._timelineEngine.listen(oe,d,se,J)}return this._transitionEngine.listen(l,d,y,U,J)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Yn=(()=>{class L{constructor(d,y,U){this._element=d,this._startStyles=y,this._endStyles=U,this._state=0;let J=L.initialStylesByElement.get(d);J||L.initialStylesByElement.set(d,J={}),this._initialStyles=J}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(L.initialStylesByElement.delete(this._element),this._startStyles&&(me(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(me(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}}return L.initialStylesByElement=new WeakMap,L})();function _r(L){let l=null;const d=Object.keys(L);for(let y=0;y<d.length;y++){const U=d[y];Rr(U)&&(l=l||{},l[U]=L[U])}return l}function Rr(L){return"display"===L||"position"===L}class Yr{constructor(l,d,y,U){this.element=l,this.keyframes=d,this.options=y,this._specialStyles=U,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((l=>l())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(l,d,y){return l.animate(d,y)}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((l=>l())),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((l=>l())),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l={};if(this.hasStarted()){const d=this._finalKeyframe;Object.keys(d).forEach((y=>{"offset"!=y&&(l[y]=this._finished?d[y]:Ot(this.element,y))}))}this.currentSnapshot=l}triggerCallback(l){const d="start"==l?this._onStartFns:this._onDoneFns;d.forEach((y=>y())),d.length=0}}class w{validateStyleProperty(l){return je(l)}matchesElement(l,d){return!1}containsElement(l,d){return q(l,d)}getParentElement(l){return In(l)}query(l,d,y){return ne(l,d,y)}computeStyle(l,d,y){return window.getComputedStyle(l)[d]}animate(l,d,y,U,J,oe=[]){const ke={duration:y,delay:U,fill:0==U?"both":"forwards"};J&&(ke.easing=J);const nt={},Gt=oe.filter((_n=>_n instanceof Yr));(function ie(L,l){return 0===L||0===l})(y,U)&&Gt.forEach((_n=>{let Dn=_n.currentSnapshot;Object.keys(Dn).forEach((an=>nt[an]=Dn[an]))})),d=function Re(L,l,d){const y=Object.keys(d);if(y.length&&l.length){let J=l[0],oe=[];if(y.forEach((se=>{J.hasOwnProperty(se)||oe.push(se),J[se]=d[se]})),oe.length)for(var U=1;U<l.length;U++){let se=l[U];oe.forEach((function(ke){se[ke]=Ot(L,ke)}))}}return l}(l,d=d.map((_n=>kt(_n,!1))),nt);const tn=function Gn(L,l){let d=null,y=null;return Array.isArray(l)&&l.length?(d=_r(l[0]),l.length>1&&(y=_r(l[l.length-1]))):l&&(d=_r(l)),d||y?new Yn(L,d,y):null}(l,d);return new Yr(l,d,ke,tn)}}var v=c(6895);let _=(()=>{class L extends O._j{constructor(d,y){super(),this._nextAnimationId=0,this._renderer=d.createRenderer(y.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(d){const y=this._nextAnimationId.toString();this._nextAnimationId++;const U=Array.isArray(d)?(0,O.vP)(d):d;return Jt(this._renderer,null,y,"register",[U]),new V(y,this._renderer)}}return L.ɵfac=function(d){return new(d||L)(o.LFG(o.FYo),o.LFG(v.K0))},L.ɵprov=o.Yz7({token:L,factory:L.ɵfac}),L})();class V extends O.LC{constructor(l,d){super(),this._id=l,this._renderer=d}create(l,d){return new Ze(this._id,l,d||{},this._renderer)}}class Ze{constructor(l,d,y,U){this.id=l,this.element=d,this._renderer=U,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(l,d){return this._renderer.listen(this.element,`@@${this.id}:${l}`,d)}_command(l,...d){return Jt(this._renderer,this.element,this.id,l,d)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Jt(L,l,d,y,U){return L.setProperty(l,`@@${d}:${y}`,U)}const lr="@.disabled";let Lr=(()=>{class L{constructor(d,y,U){this.delegate=d,this.engine=y,this._zone=U,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(J,oe)=>{const se=oe?.parentNode(J);se&&oe.removeChild(se,J)}}createRenderer(d,y){const J=this.delegate.createRenderer(d,y);if(!(d&&y&&y.data&&y.data.animation)){let Gt=this._rendererCache.get(J);return Gt||(Gt=new Vr("",J,this.engine),this._rendererCache.set(J,Gt)),Gt}const oe=y.id,se=y.id+"-"+this._currentId;this._currentId++,this.engine.register(se,d);const ke=Gt=>{Array.isArray(Gt)?Gt.forEach(ke):this.engine.registerTrigger(oe,se,d,Gt.name,Gt)};return y.data.animation.forEach(ke),new pi(this,se,J,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(d,y,U){d>=0&&d<this._microtaskId?this._zone.run((()=>y(U))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((J=>{const[oe,se]=J;oe(se)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([y,U]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return L.ɵfac=function(d){return new(d||L)(o.LFG(o.FYo),o.LFG(yn),o.LFG(o.R0b))},L.ɵprov=o.Yz7({token:L,factory:L.ɵfac}),L})();class Vr{constructor(l,d,y){this.namespaceId=l,this.delegate=d,this.engine=y,this.destroyNode=this.delegate.destroyNode?U=>d.destroyNode(U):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,d){return this.delegate.createElement(l,d)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,d){this.delegate.appendChild(l,d),this.engine.onInsert(this.namespaceId,d,l,!1)}insertBefore(l,d,y,U=!0){this.delegate.insertBefore(l,d,y),this.engine.onInsert(this.namespaceId,d,l,U)}removeChild(l,d,y){this.engine.onRemove(this.namespaceId,d,this.delegate,y)}selectRootElement(l,d){return this.delegate.selectRootElement(l,d)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,d,y,U){this.delegate.setAttribute(l,d,y,U)}removeAttribute(l,d,y){this.delegate.removeAttribute(l,d,y)}addClass(l,d){this.delegate.addClass(l,d)}removeClass(l,d){this.delegate.removeClass(l,d)}setStyle(l,d,y,U){this.delegate.setStyle(l,d,y,U)}removeStyle(l,d,y){this.delegate.removeStyle(l,d,y)}setProperty(l,d,y){"@"==d.charAt(0)&&d==lr?this.disableAnimations(l,!!y):this.delegate.setProperty(l,d,y)}setValue(l,d){this.delegate.setValue(l,d)}listen(l,d,y){return this.delegate.listen(l,d,y)}disableAnimations(l,d){this.engine.disableAnimations(l,d)}}class pi extends Vr{constructor(l,d,y,U){super(d,y,U),this.factory=l,this.namespaceId=d}setProperty(l,d,y){"@"==d.charAt(0)?"."==d.charAt(1)&&d==lr?this.disableAnimations(l,y=void 0===y||!!y):this.engine.process(this.namespaceId,l,d.substr(1),y):this.delegate.setProperty(l,d,y)}listen(l,d,y){if("@"==d.charAt(0)){const U=function _o(L){switch(L){case"body":return document.body;case"document":return document;case"window":return window;default:return L}}(l);let J=d.substr(1),oe="";return"@"!=J.charAt(0)&&([J,oe]=function mt(L){const l=L.indexOf(".");return[L.substring(0,l),L.substr(l+1)]}(J)),this.engine.listen(this.namespaceId,U,J,oe,(se=>{this.factory.scheduleListenerCallback(se._data||-1,y,se)}))}return this.delegate.listen(l,d,y)}}let Pn=(()=>{class L extends yn{constructor(d,y,U){super(d.body,y,U)}ngOnDestroy(){this.flush()}}return L.ɵfac=function(d){return new(d||L)(o.LFG(v.K0),o.LFG(Pe),o.LFG(Gr))},L.ɵprov=o.Yz7({token:L,factory:L.ɵfac}),L})();const yo=new o.OlP("AnimationModuleType"),Ei=[{provide:O._j,useClass:_},{provide:Gr,useFactory:function Ao(){return new to}},{provide:yn,useClass:Pn},{provide:o.FYo,useFactory:function nr(L,l,d){return new Lr(L,l,d)},deps:[p.se,yn,o.R0b]}],Ar=[{provide:Pe,useFactory:()=>new w},{provide:yo,useValue:"BrowserAnimations"},...Ei],vo=[{provide:Pe,useClass:we},{provide:yo,useValue:"NoopAnimations"},...Ei];let Co=(()=>{class L{static withConfig(d){return{ngModule:L,providers:d.disableAnimations?vo:Ar}}}return L.ɵfac=function(d){return new(d||L)},L.ɵmod=o.oAB({type:L}),L.ɵinj=o.cJS({providers:Ar,imports:[p.b2]}),L})()},1481:(G,T,c)=>{"use strict";c.d(T,{b2:()=>it,q6:()=>be,se:()=>et});var o=c(6895),p=c(5062);class O extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class S extends O{static makeCurrent(){(0,o.HT)(new S)}onAndCancel(W,j,_e){return W.addEventListener(j,_e,!1),()=>{W.removeEventListener(j,_e,!1)}}dispatchEvent(W,j){W.dispatchEvent(j)}remove(W){W.parentNode&&W.parentNode.removeChild(W)}createElement(W,j){return(j=j||this.getDefaultDocument()).createElement(W)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(W){return W.nodeType===Node.ELEMENT_NODE}isShadowRoot(W){return W instanceof DocumentFragment}getGlobalEventTarget(W,j){return"window"===j?window:"document"===j?W:"body"===j?W.body:null}getBaseHref(W){const j=function M(){return D=D||document.querySelector("base"),D?D.getAttribute("href"):null}();return null==j?null:function F(B){R=R||document.createElement("a"),R.setAttribute("href",B);const W=R.pathname;return"/"===W.charAt(0)?W:`/${W}`}(j)}resetBaseElement(){D=null}getUserAgent(){return window.navigator.userAgent}getCookie(W){return(0,o.Mx)(document.cookie,W)}}let R,D=null;const N=new p.OlP("TRANSITION_ID"),k=[{provide:p.ip1,useFactory:function x(B,W,j){return()=>{j.get(p.CZH).donePromise.then((()=>{const _e=(0,o.q)(),Ue=W.querySelectorAll(`style[ng-transition="${B}"]`);for(let vt=0;vt<Ue.length;vt++)_e.remove(Ue[vt])}))}},deps:[N,o.K0,p.zs3],multi:!0}];class Z{static init(){(0,p.VLi)(new Z)}addToWindow(W){p.dqk.getAngularTestability=(_e,Ue=!0)=>{const vt=W.findTestabilityInTree(_e,Ue);if(null==vt)throw new Error("Could not find testability for element.");return vt},p.dqk.getAllAngularTestabilities=()=>W.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>W.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push((_e=>{const Ue=p.dqk.getAllAngularTestabilities();let vt=Ue.length,st=!1;const at=function(ie){st=st||ie,vt--,0==vt&&_e(st)};Ue.forEach((function(ie){ie.whenStable(at)}))}))}findTestabilityInTree(W,j,_e){return null==j?null:W.getTestability(j)??(_e?(0,o.q)().isShadowRoot(j)?this.findTestabilityInTree(W,j.host,!0):this.findTestabilityInTree(W,j.parentElement,!0):null)}}let Q=(()=>{class B{build(){return new XMLHttpRequest}}return B.ɵfac=function(j){return new(j||B)},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();const ve=new p.OlP("EventManagerPlugins");let pe=(()=>{class B{constructor(j,_e){this._zone=_e,this._eventNameToPlugin=new Map,j.forEach((Ue=>Ue.manager=this)),this._plugins=j.slice().reverse()}addEventListener(j,_e,Ue){return this._findPluginFor(_e).addEventListener(j,_e,Ue)}addGlobalEventListener(j,_e,Ue){return this._findPluginFor(_e).addGlobalEventListener(j,_e,Ue)}getZone(){return this._zone}_findPluginFor(j){const _e=this._eventNameToPlugin.get(j);if(_e)return _e;const Ue=this._plugins;for(let vt=0;vt<Ue.length;vt++){const st=Ue[vt];if(st.supports(j))return this._eventNameToPlugin.set(j,st),st}throw new Error(`No event manager plugin found for event ${j}`)}}return B.ɵfac=function(j){return new(j||B)(p.LFG(ve),p.LFG(p.R0b))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();class ye{constructor(W){this._doc=W}addGlobalEventListener(W,j,_e){const Ue=(0,o.q)().getGlobalEventTarget(this._doc,W);if(!Ue)throw new Error(`Unsupported event target ${Ue} for event ${j}`);return this.addEventListener(Ue,j,_e)}}let Ie=(()=>{class B{constructor(){this._stylesSet=new Set}addStyles(j){const _e=new Set;j.forEach((Ue=>{this._stylesSet.has(Ue)||(this._stylesSet.add(Ue),_e.add(Ue))})),this.onStylesAdded(_e)}onStylesAdded(j){}getAllStyles(){return Array.from(this._stylesSet)}}return B.ɵfac=function(j){return new(j||B)},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})(),Mt=(()=>{class B extends Ie{constructor(j){super(),this._doc=j,this._hostNodes=new Map,this._hostNodes.set(j.head,[])}_addStylesToHost(j,_e,Ue){j.forEach((vt=>{const st=this._doc.createElement("style");st.textContent=vt,Ue.push(_e.appendChild(st))}))}addHost(j){const _e=[];this._addStylesToHost(this._stylesSet,j,_e),this._hostNodes.set(j,_e)}removeHost(j){const _e=this._hostNodes.get(j);_e&&_e.forEach(Ne),this._hostNodes.delete(j)}onStylesAdded(j){this._hostNodes.forEach(((_e,Ue)=>{this._addStylesToHost(j,Ue,_e)}))}ngOnDestroy(){this._hostNodes.forEach((j=>j.forEach(Ne)))}}return B.ɵfac=function(j){return new(j||B)(p.LFG(o.K0))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();function Ne(B){(0,o.q)().remove(B)}const Ke={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/"},Me=/%COMP%/g;function Qe(B,W,j){for(let _e=0;_e<W.length;_e++){let Ue=W[_e];Array.isArray(Ue)?Qe(B,Ue,j):(Ue=Ue.replace(Me,B),j.push(Ue))}return j}function Wt(B){return W=>{if("__ngUnwrap__"===W)return B;!1===B(W)&&(W.preventDefault(),W.returnValue=!1)}}let et=(()=>{class B{constructor(j,_e,Ue){this.eventManager=j,this.sharedStylesHost=_e,this.appId=Ue,this.rendererByCompId=new Map,this.defaultRenderer=new Te(j)}createRenderer(j,_e){if(!j||!_e)return this.defaultRenderer;switch(_e.encapsulation){case p.ifc.Emulated:{let Ue=this.rendererByCompId.get(_e.id);return Ue||(Ue=new It(this.eventManager,this.sharedStylesHost,_e,this.appId),this.rendererByCompId.set(_e.id,Ue)),Ue.applyToHost(j),Ue}case 1:case p.ifc.ShadowDom:return new wt(this.eventManager,this.sharedStylesHost,j,_e);default:if(!this.rendererByCompId.has(_e.id)){const Ue=Qe(_e.id,_e.styles,[]);this.sharedStylesHost.addStyles(Ue),this.rendererByCompId.set(_e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return B.ɵfac=function(j){return new(j||B)(p.LFG(pe),p.LFG(Mt),p.LFG(p.AFp))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();class Te{constructor(W){this.eventManager=W,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(W,j){return j?document.createElementNS(Ke[j]||j,W):document.createElement(W)}createComment(W){return document.createComment(W)}createText(W){return document.createTextNode(W)}appendChild(W,j){W.appendChild(j)}insertBefore(W,j,_e){W&&W.insertBefore(j,_e)}removeChild(W,j){W&&W.removeChild(j)}selectRootElement(W,j){let _e="string"==typeof W?document.querySelector(W):W;if(!_e)throw new Error(`The selector "${W}" did not match any elements`);return j||(_e.textContent=""),_e}parentNode(W){return W.parentNode}nextSibling(W){return W.nextSibling}setAttribute(W,j,_e,Ue){if(Ue){j=Ue+":"+j;const vt=Ke[Ue];vt?W.setAttributeNS(vt,j,_e):W.setAttribute(j,_e)}else W.setAttribute(j,_e)}removeAttribute(W,j,_e){if(_e){const Ue=Ke[_e];Ue?W.removeAttributeNS(Ue,j):W.removeAttribute(`${_e}:${j}`)}else W.removeAttribute(j)}addClass(W,j){W.classList.add(j)}removeClass(W,j){W.classList.remove(j)}setStyle(W,j,_e,Ue){Ue&(p.JOm.DashCase|p.JOm.Important)?W.style.setProperty(j,_e,Ue&p.JOm.Important?"important":""):W.style[j]=_e}removeStyle(W,j,_e){_e&p.JOm.DashCase?W.style.removeProperty(j):W.style[j]=""}setProperty(W,j,_e){W[j]=_e}setValue(W,j){W.nodeValue=j}listen(W,j,_e){return"string"==typeof W?this.eventManager.addGlobalEventListener(W,j,Wt(_e)):this.eventManager.addEventListener(W,j,Wt(_e))}}class It extends Te{constructor(W,j,_e,Ue){super(W),this.component=_e;const vt=Qe(Ue+"-"+_e.id,_e.styles,[]);j.addStyles(vt),this.contentAttr=function He(B){return"_ngcontent-%COMP%".replace(Me,B)}(Ue+"-"+_e.id),this.hostAttr=function dt(B){return"_nghost-%COMP%".replace(Me,B)}(Ue+"-"+_e.id)}applyToHost(W){super.setAttribute(W,this.hostAttr,"")}createElement(W,j){const _e=super.createElement(W,j);return super.setAttribute(_e,this.contentAttr,""),_e}}class wt extends Te{constructor(W,j,_e,Ue){super(W),this.sharedStylesHost=j,this.hostEl=_e,this.shadowRoot=_e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const vt=Qe(Ue.id,Ue.styles,[]);for(let st=0;st<vt.length;st++){const at=document.createElement("style");at.textContent=vt[st],this.shadowRoot.appendChild(at)}}nodeOrShadowRoot(W){return W===this.hostEl?this.shadowRoot:W}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(W,j){return super.appendChild(this.nodeOrShadowRoot(W),j)}insertBefore(W,j,_e){return super.insertBefore(this.nodeOrShadowRoot(W),j,_e)}removeChild(W,j){return super.removeChild(this.nodeOrShadowRoot(W),j)}parentNode(W){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(W)))}}let We=(()=>{class B extends ye{constructor(j){super(j)}supports(j){return!0}addEventListener(j,_e,Ue){return j.addEventListener(_e,Ue,!1),()=>this.removeEventListener(j,_e,Ue)}removeEventListener(j,_e,Ue){return j.removeEventListener(_e,Ue)}}return B.ɵfac=function(j){return new(j||B)(p.LFG(o.K0))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();const ze=["alt","control","meta","shift"],Ee={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ae={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},ge={alt:B=>B.altKey,control:B=>B.ctrlKey,meta:B=>B.metaKey,shift:B=>B.shiftKey};let $e=(()=>{class B extends ye{constructor(j){super(j)}supports(j){return null!=B.parseEventName(j)}addEventListener(j,_e,Ue){const vt=B.parseEventName(_e),st=B.eventCallback(vt.fullKey,Ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,o.q)().onAndCancel(j,vt.domEventName,st)))}static parseEventName(j){const _e=j.toLowerCase().split("."),Ue=_e.shift();if(0===_e.length||"keydown"!==Ue&&"keyup"!==Ue)return null;const vt=B._normalizeKey(_e.pop());let st="";if(ze.forEach((ie=>{const Re=_e.indexOf(ie);Re>-1&&(_e.splice(Re,1),st+=ie+".")})),st+=vt,0!=_e.length||0===vt.length)return null;const at={};return at.domEventName=Ue,at.fullKey=st,at}static getEventFullKey(j){let _e="",Ue=function qe(B){let W=B.key;if(null==W){if(W=B.keyIdentifier,null==W)return"Unidentified";W.startsWith("U+")&&(W=String.fromCharCode(parseInt(W.substring(2),16)),3===B.location&&Ae.hasOwnProperty(W)&&(W=Ae[W]))}return Ee[W]||W}(j);return Ue=Ue.toLowerCase()," "===Ue?Ue="space":"."===Ue&&(Ue="dot"),ze.forEach((vt=>{vt!=Ue&&ge[vt](j)&&(_e+=vt+".")})),_e+=Ue,_e}static eventCallback(j,_e,Ue){return vt=>{B.getEventFullKey(vt)===j&&Ue.runGuarded((()=>_e(vt)))}}static _normalizeKey(j){return"esc"===j?"escape":j}}return B.ɵfac=function(j){return new(j||B)(p.LFG(o.K0))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();const be=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:o.bD},{provide:p.g9A,useValue:function ht(){S.makeCurrent(),Z.init()},multi:!0},{provide:o.K0,useFactory:function mn(){return(0,p.RDi)(document),document},deps:[]}]),fe=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function Ft(){return new p.qLn},deps:[]},{provide:ve,useClass:We,multi:!0,deps:[o.K0,p.R0b,p.Lbi]},{provide:ve,useClass:$e,multi:!0,deps:[o.K0]},{provide:et,useClass:et,deps:[pe,Mt,p.AFp]},{provide:p.FYo,useExisting:et},{provide:Ie,useExisting:Mt},{provide:Mt,useClass:Mt,deps:[o.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:pe,useClass:pe,deps:[ve,p.R0b]},{provide:o.JF,useClass:Q,deps:[]}];let it=(()=>{class B{constructor(j){if(j)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(j){return{ngModule:B,providers:[{provide:p.AFp,useValue:j.appId},{provide:N,useExisting:p.AFp},k]}}}return B.ɵfac=function(j){return new(j||B)(p.LFG(B,12))},B.ɵmod=p.oAB({type:B}),B.ɵinj=p.cJS({providers:fe,imports:[o.ez,p.hGG]}),B})();typeof window<"u"&&window},3030:(G,T,c)=>{"use strict";c.d(T,{yS:()=>fs,Bz:()=>Xs,lC:()=>ut});var o=c(6895),p=c(5062),O=c(2866),S=c(6688),D=c(826),M=c(9054),R=c(3009);const F={};class x{constructor(h){this.resultSelector=h}call(h,u){return u.subscribe(new k(h,this.resultSelector))}}class k extends D.L{constructor(h,u){super(h),this.resultSelector=u,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(F),this.observables.push(h)}_complete(){const h=this.observables,u=h.length;if(0===u)this.destination.complete();else{this.active=u,this.toRespond=u;for(let C=0;C<u;C++){const P=h[C];this.add((0,M.D)(this,P,P,C))}}}notifyComplete(h){0==(this.active-=1)&&this.destination.complete()}notifyNext(h,u,C,P,Y){const re=this.values,ot=this.toRespond?re[C]===F?--this.toRespond:this.toRespond:0;re[C]=u,0===ot&&(this.resultSelector?this._tryResultSelector(re):this.destination.next(re.slice()))}_tryResultSelector(h){let u;try{u=this.resultSelector.apply(this,h)}catch(C){return void this.destination.error(C)}this.destination.next(u)}}var Z=c(2916),Q=c(5254),ve=c(8896);function pe(g){return new Z.y((h=>{let u;try{u=g()}catch(P){return void h.error(P)}return(u?(0,Q.D)(u):(0,ve.c)()).subscribe(h)}))}var ye=c(1086),Ie=c(591),Mt=c(1737),Ne=c(4450),Ke=c(1221),Me=c(1762),ue=c(8929),yt=c(3489);function Et(g,h){let u=!1;return arguments.length>=2&&(u=!0),function(P){return P.lift(new Ge(g,h,u))}}class Ge{constructor(h,u,C=!1){this.accumulator=h,this.seed=u,this.hasSeed=C}call(h,u){return u.subscribe(new He(h,this.accumulator,this.seed,this.hasSeed))}}class He extends yt.L{constructor(h,u,C,P){super(h),this.accumulator=u,this._seed=C,this.hasSeed=P,this.index=0}get seed(){return this._seed}set seed(h){this.hasSeed=!0,this._seed=h}_next(h){if(this.hasSeed)return this._tryNext(h);this.seed=h,this.destination.next(h)}_tryNext(h){const u=this.index++;let C;try{C=this.accumulator(this.seed,h,u)}catch(P){this.destination.error(P)}this.seed=C,this.destination.next(C)}}var dt=c(1869);function Qe(g){return function(u){const C=new Wt(g),P=u.lift(C);return C.caught=P}}class Wt{constructor(h){this.selector=h}call(h,u){return u.subscribe(new Ct(h,this.selector,this.caught))}}class Ct extends D.L{constructor(h,u,C){super(h),this.selector=u,this.caught=C}error(h){if(!this.isStopped){let u;try{u=this.selector(h,this.caught)}catch(Y){return void super.error(Y)}this._unsubscribeAndRecycle();const C=new dt.d(this,void 0,void 0);this.add(C);const P=(0,M.D)(this,u,void 0,void 0,C);P!==C&&this.add(P)}}}var et=c(2198),Te=c(4231);function De(g){return function(u){return 0===g?(0,ve.c)():u.lift(new Je(g))}}class Je{constructor(h){if(this.total=h,this.total<0)throw new Te.W}call(h,u){return u.subscribe(new It(h,this.total))}}class It extends yt.L{constructor(h,u){super(h),this.total=u,this.ring=new Array,this.count=0}_next(h){const u=this.ring,C=this.total,P=this.count++;u.length<C?u.push(h):u[P%C]=h}_complete(){const h=this.destination;let u=this.count;if(u>0){const C=this.count>=this.total?this.total:this.count,P=this.ring;for(let Y=0;Y<C;Y++){const re=u++%C;h.next(P[re])}}h.complete()}}var wt=c(4907),We=c(7314),ze=c(5379);function Ee(){}var Ae=c(7043);function ge(g,h,u){return function(P){return P.lift(new $e(g,h,u))}}class $e{constructor(h,u,C){this.nextOrObserver=h,this.error=u,this.complete=C}call(h,u){return u.subscribe(new qe(h,this.nextOrObserver,this.error,this.complete))}}class qe extends yt.L{constructor(h,u,C,P){super(h),this._tapNext=Ee,this._tapError=Ee,this._tapComplete=Ee,this._tapError=C||Ee,this._tapComplete=P||Ee,(0,Ae.m)(u)?(this._context=this,this._tapNext=u):u&&(this._context=u,this._tapNext=u.next||Ee,this._tapError=u.error||Ee,this._tapComplete=u.complete||Ee)}_next(h){try{this._tapNext.call(this._context,h)}catch(u){return void this.destination.error(u)}this.destination.next(h)}_error(h){try{this._tapError.call(this._context,h)}catch(u){return void this.destination.error(u)}this.destination.error(h)}_complete(){try{this._tapComplete.call(this._context)}catch(h){return void this.destination.error(h)}return this.destination.complete()}}var ht=c(2654);class mn{constructor(h){this.callback=h}call(h,u){return u.subscribe(new Le(h,this.callback))}}class Le extends yt.L{constructor(h,u){super(h),this.add(new ht.w(u))}}var be=c(4850),fe=c(7545),it=c(2986),gt=c(1059),Kt=c(1406),In=c(7224),En=c(1709),yr=c(4327),le=c(9146);class ce{constructor(h,u){this.id=h,this.url=u}}class je extends ce{constructor(h,u,C="imperative",P=null){super(h,u),this.navigationTrigger=C,this.restoredState=P}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class A extends ce{constructor(h,u,C){super(h,u),this.urlAfterRedirects=C}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class q extends ce{constructor(h,u,C){super(h,u),this.reason=C}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ne extends ce{constructor(h,u,C){super(h,u),this.error=C}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ce extends ce{constructor(h,u,C,P){super(h,u),this.urlAfterRedirects=C,this.state=P}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class we extends ce{constructor(h,u,C,P){super(h,u),this.urlAfterRedirects=C,this.state=P}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pe extends ce{constructor(h,u,C,P,Y){super(h,u),this.urlAfterRedirects=C,this.state=P,this.shouldActivate=Y}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tt extends ce{constructor(h,u,C,P){super(h,u),this.urlAfterRedirects=C,this.state=P}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xe extends ce{constructor(h,u,C,P){super(h,u),this.urlAfterRedirects=C,this.state=P}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ct{constructor(h){this.route=h}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Dt{constructor(h){this.route=h}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ft{constructor(h){this.snapshot=h}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nn{constructor(h){this.snapshot=h}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bt{constructor(h){this.snapshot=h}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zt{constructor(h){this.snapshot=h}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $t{constructor(h,u,C){this.routerEvent=h,this.position=u,this.anchor=C}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const _t="primary";class Tt{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const u=this.params[h];return Array.isArray(u)?u[0]:u}return null}getAll(h){if(this.has(h)){const u=this.params[h];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function Ht(g){return new Tt(g)}const cn="ngNavigationCancelingError";function Mn(g){const h=Error("NavigationCancelingError: "+g);return h[cn]=!0,h}function kt(g,h,u){const C=u.path.split("/");if(C.length>g.length||"full"===u.pathMatch&&(h.hasChildren()||C.length<g.length))return null;const P={};for(let Y=0;Y<C.length;Y++){const re=C[Y],de=g[Y];if(re.startsWith(":"))P[re.substring(1)]=de;else if(re!==de.path)return null}return{consumed:g.slice(0,C.length),posParams:P}}function Pt(g,h){const u=g?Object.keys(g):void 0,C=h?Object.keys(h):void 0;if(!u||!C||u.length!=C.length)return!1;let P;for(let Y=0;Y<u.length;Y++)if(P=u[Y],!on(g[P],h[P]))return!1;return!0}function on(g,h){if(Array.isArray(g)&&Array.isArray(h)){if(g.length!==h.length)return!1;const u=[...g].sort(),C=[...h].sort();return u.every(((P,Y)=>C[Y]===P))}return g===h}function me(g){return Array.prototype.concat.apply([],g)}function ee(g){return g.length>0?g[g.length-1]:null}function W(g,h){for(const u in g)g.hasOwnProperty(u)&&h(g[u],u)}function j(g){return(0,p.CqO)(g)?g:(0,p.QGY)(g)?(0,Q.D)(Promise.resolve(g)):(0,ye.of)(g)}const Ue={exact:function ie(g,h,u){if(!Lt(g.segments,h.segments)||!Yt(g.segments,h.segments,u)||g.numberOfChildren!==h.numberOfChildren)return!1;for(const C in h.children)if(!g.children[C]||!ie(g.children[C],h.children[C],u))return!1;return!0},subset:St},vt={exact:function at(g,h){return Pt(g,h)},subset:function Re(g,h){return Object.keys(h).length<=Object.keys(g).length&&Object.keys(h).every((u=>on(g[u],h[u])))},ignored:()=>!0};function st(g,h,u){return Ue[u.paths](g.root,h.root,u.matrixParams)&&vt[u.queryParams](g.queryParams,h.queryParams)&&!("exact"===u.fragment&&g.fragment!==h.fragment)}function St(g,h,u){return Ot(g,h,h.segments,u)}function Ot(g,h,u,C){if(g.segments.length>u.length){const P=g.segments.slice(0,u.length);return!(!Lt(P,u)||h.hasChildren()||!Yt(P,u,C))}if(g.segments.length===u.length){if(!Lt(g.segments,u)||!Yt(g.segments,u,C))return!1;for(const P in h.children)if(!g.children[P]||!St(g.children[P],h.children[P],C))return!1;return!0}{const P=u.slice(0,g.segments.length),Y=u.slice(g.segments.length);return!!(Lt(g.segments,P)&&Yt(g.segments,P,C)&&g.children[_t])&&Ot(g.children[_t],h,Y,C)}}function Yt(g,h,u){return h.every(((C,P)=>vt[u](g[P].parameters,C.parameters)))}class Oe{constructor(h,u,C){this.root=h,this.queryParams=u,this.fragment=C}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ht(this.queryParams)),this._queryParamMap}toString(){return sn.serialize(this)}}class Ve{constructor(h,u){this.segments=h,this.children=u,this.parent=null,W(u,((C,P)=>C.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return en(this)}}class xe{constructor(h,u){this.path=h,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=Ht(this.parameters)),this._parameterMap}toString(){return ir(this)}}function Lt(g,h){return g.length===h.length&&g.every(((u,C)=>u.path===h[C].path))}class Vt{}class zt{parse(h){const u=new Be(h);return new Oe(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(h){const u=`/${Rt(h.root,!0)}`,C=function Sn(g){const h=Object.keys(g).map((u=>{const C=g[u];return Array.isArray(C)?C.map((P=>`${zn(u)}=${zn(P)}`)).join("&"):`${zn(u)}=${zn(C)}`})).filter((u=>!!u));return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${u}${C}${"string"==typeof h.fragment?`#${function Xn(g){return encodeURI(g)}(h.fragment)}`:""}`}}const sn=new zt;function en(g){return g.segments.map((h=>ir(h))).join("/")}function Rt(g,h){if(!g.hasChildren())return en(g);if(h){const u=g.children[_t]?Rt(g.children[_t],!1):"",C=[];return W(g.children,((P,Y)=>{Y!==_t&&C.push(`${Y}:${Rt(P,!1)}`)})),C.length>0?`${u}(${C.join("//")})`:u}{const u=function Ut(g,h){let u=[];return W(g.children,((C,P)=>{P===_t&&(u=u.concat(h(C,P)))})),W(g.children,((C,P)=>{P!==_t&&(u=u.concat(h(C,P)))})),u}(g,((C,P)=>P===_t?[Rt(g.children[_t],!1)]:[`${P}:${Rt(C,!1)}`]));return 1===Object.keys(g.children).length&&null!=g.children[_t]?`${en(g)}/${u[0]}`:`${en(g)}/(${u.join("//")})`}}function bn(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function zn(g){return bn(g).replace(/%3B/gi,";")}function ar(g){return bn(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fn(g){return decodeURIComponent(g)}function pr(g){return Fn(g.replace(/\+/g,"%20"))}function ir(g){return`${ar(g.path)}${function er(g){return Object.keys(g).map((h=>`;${ar(h)}=${ar(g[h])}`)).join("")}(g.parameters)}`}const Pr=/^[^\/()?;=#]+/;function vr(g){const h=g.match(Pr);return h?h[0]:""}const gr=/^[^=?&#]+/,Se=/^[^&#]+/;class Be{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ve([],{}):new Ve([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(h.length>0||Object.keys(u).length>0)&&(C[_t]=new Ve(h,u)),C}parseSegment(){const h=vr(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(h),new xe(Fn(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const u=vr(this.remaining);if(!u)return;this.capture(u);let C="";if(this.consumeOptional("=")){const P=vr(this.remaining);P&&(C=P,this.capture(C))}h[Fn(u)]=Fn(C)}parseQueryParam(h){const u=function X(g){const h=g.match(gr);return h?h[0]:""}(this.remaining);if(!u)return;this.capture(u);let C="";if(this.consumeOptional("=")){const re=function $(g){const h=g.match(Se);return h?h[0]:""}(this.remaining);re&&(C=re,this.capture(C))}const P=pr(u),Y=pr(C);if(h.hasOwnProperty(P)){let re=h[P];Array.isArray(re)||(re=[re],h[P]=re),re.push(Y)}else h[P]=Y}parseParens(h){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=vr(this.remaining),P=this.remaining[C.length];if("/"!==P&&")"!==P&&";"!==P)throw new Error(`Cannot parse url '${this.url}'`);let Y;C.indexOf(":")>-1?(Y=C.substr(0,C.indexOf(":")),this.capture(Y),this.capture(":")):h&&(Y=_t);const re=this.parseChildren();u[Y]=1===Object.keys(re).length?re[_t]:new Ve([],re),this.consumeOptional("//")}return u}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new Error(`Expected "${h}".`)}}class Nt{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const u=this.pathFromRoot(h);return u.length>1?u[u.length-2]:null}children(h){const u=Cn(h,this._root);return u?u.children.map((C=>C.value)):[]}firstChild(h){const u=Cn(h,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(h){const u=Bn(h,this._root);return u.length<2?[]:u[u.length-2].children.map((P=>P.value)).filter((P=>P!==h))}pathFromRoot(h){return Bn(h,this._root).map((u=>u.value))}}function Cn(g,h){if(g===h.value)return h;for(const u of h.children){const C=Cn(g,u);if(C)return C}return null}function Bn(g,h){if(g===h.value)return[h];for(const u of h.children){const C=Bn(g,u);if(C.length)return C.unshift(h),C}return[]}class Hn{constructor(h,u){this.value=h,this.children=u}toString(){return`TreeNode(${this.value})`}}function wr(g){const h={};return g&&g.children.forEach((u=>h[u.value.outlet]=u)),h}class qr extends Nt{constructor(h,u){super(h),this.snapshot=u,Ii(this,h)}toString(){return this.snapshot.toString()}}function tr(g,h){const u=function mr(g,h){const re=new Xr([],{},{},"",{},_t,h,null,g.root,-1,{});return new yi("",new Hn(re,[]))}(g,h),C=new Ie.X([new xe("",{})]),P=new Ie.X({}),Y=new Ie.X({}),re=new Ie.X({}),de=new Ie.X(""),ot=new Ir(C,P,re,de,Y,_t,h,u.root);return ot.snapshot=u.root,new qr(new Hn(ot,[]),u)}class Ir{constructor(h,u,C,P,Y,re,de,ot){this.url=h,this.params=u,this.queryParams=C,this.fragment=P,this.data=Y,this.outlet=re,this.component=de,this._futureSnapshot=ot}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,be.U)((h=>Ht(h))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,be.U)((h=>Ht(h))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function xi(g,h="emptyOnly"){const u=g.pathFromRoot;let C=0;if("always"!==h)for(C=u.length-1;C>=1;){const P=u[C],Y=u[C-1];if(P.routeConfig&&""===P.routeConfig.path)C--;else{if(Y.component)break;C--}}return function Jr(g){return g.reduce(((h,u)=>({params:{...h.params,...u.params},data:{...h.data,...u.data},resolve:{...h.resolve,...u._resolvedData}})),{params:{},data:{},resolve:{}})}(u.slice(C))}class Xr{constructor(h,u,C,P,Y,re,de,ot,Qt,xn,rn){this.url=h,this.params=u,this.queryParams=C,this.fragment=P,this.data=Y,this.outlet=re,this.component=de,this.routeConfig=ot,this._urlSegment=Qt,this._lastPathIndex=xn,this._resolve=rn}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=Ht(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ht(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((C=>C.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class yi extends Nt{constructor(h,u){super(u),this.url=h,Ii(this,u)}toString(){return Xi(this._root)}}function Ii(g,h){h.value._routerState=g,h.children.forEach((u=>Ii(g,u)))}function Xi(g){const h=g.children.length>0?` { ${g.children.map(Xi).join(", ")} } `:"";return`${g.value}${h}`}function Gr(g){if(g.snapshot){const h=g.snapshot,u=g._futureSnapshot;g.snapshot=u,Pt(h.queryParams,u.queryParams)||g.queryParams.next(u.queryParams),h.fragment!==u.fragment&&g.fragment.next(u.fragment),Pt(h.params,u.params)||g.params.next(u.params),function hn(g,h){if(g.length!==h.length)return!1;for(let u=0;u<g.length;++u)if(!Pt(g[u],h[u]))return!1;return!0}(h.url,u.url)||g.url.next(u.url),Pt(h.data,u.data)||g.data.next(u.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function eo(g,h){const u=Pt(g.params,h.params)&&function bt(g,h){return Lt(g,h)&&g.every(((u,C)=>Pt(u.parameters,h[C].parameters)))}(g.url,h.url);return u&&!(!g.parent!=!h.parent)&&(!g.parent||eo(g.parent,h.parent))}function li(g,h,u){if(u&&g.shouldReuseRoute(h.value,u.value.snapshot)){const C=u.value;C._futureSnapshot=h.value;const P=function vi(g,h,u){return h.children.map((C=>{for(const P of u.children)if(g.shouldReuseRoute(C.value,P.value.snapshot))return li(g,C,P);return li(g,C)}))}(g,h,u);return new Hn(C,P)}{if(g.shouldAttach(h.value)){const Y=g.retrieve(h.value);if(null!==Y){const re=Y.route;return re.value._futureSnapshot=h.value,re.children=h.children.map((de=>li(g,de))),re}}const C=function no(g){return new Ir(new Ie.X(g.url),new Ie.X(g.params),new Ie.X(g.queryParams),new Ie.X(g.fragment),new Ie.X(g.data),g.outlet,g.component,g)}(h.value),P=h.children.map((Y=>li(g,Y)));return new Hn(C,P)}}function ui(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function zr(g){return"object"==typeof g&&null!=g&&g.outlets}function di(g,h,u,C,P){let Y={};if(C&&W(C,((de,ot)=>{Y[ot]=Array.isArray(de)?de.map((Qt=>`${Qt}`)):`${de}`})),g===h)return new Oe(u,Y,P);const re=ro(g,h,u);return new Oe(re,Y,P)}function ro(g,h,u){const C={};return W(g.children,((P,Y)=>{C[Y]=P===h?u:ro(P,h,u)})),new Ve(g.segments,C)}class ei{constructor(h,u,C){if(this.isAbsolute=h,this.numberOfDoubleDots=u,this.commands=C,h&&C.length>0&&ui(C[0]))throw new Error("Root segment cannot have matrix parameters");const P=C.find(zr);if(P&&P!==ee(C))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wr{constructor(h,u,C){this.segmentGroup=h,this.processChildren=u,this.index=C}}function Ni(g,h,u){if(g||(g=new Ve([],{})),0===g.segments.length&&g.hasChildren())return Or(g,h,u);const C=function Fi(g,h,u){let C=0,P=h;const Y={match:!1,pathIndex:0,commandIndex:0};for(;P<g.segments.length;){if(C>=u.length)return Y;const re=g.segments[P],de=u[C];if(zr(de))break;const ot=`${de}`,Qt=C<u.length-1?u[C+1]:null;if(P>0&&void 0===ot)break;if(ot&&Qt&&"object"==typeof Qt&&void 0===Qt.outlets){if(!fi(ot,Qt,re))return Y;C+=2}else{if(!fi(ot,{},re))return Y;C++}P++}return{match:!0,pathIndex:P,commandIndex:C}}(g,h,u),P=u.slice(C.commandIndex);if(C.match&&C.pathIndex<g.segments.length){const Y=new Ve(g.segments.slice(0,C.pathIndex),{});return Y.children[_t]=new Ve(g.segments.slice(C.pathIndex),g.children),Or(Y,0,P)}return C.match&&0===P.length?new Ve(g.segments,{}):C.match&&!g.hasChildren()?ki(g,h,u):C.match?Or(g,0,P):ki(g,h,u)}function Or(g,h,u){if(0===u.length)return new Ve(g.segments,{});{const C=function Fr(g){return zr(g[0])?g[0].outlets:{[_t]:g}}(u),P={};return W(C,((Y,re)=>{"string"==typeof Y&&(Y=[Y]),null!==Y&&(P[re]=Ni(g.children[re],h,Y))})),W(g.children,((Y,re)=>{void 0===C[re]&&(P[re]=Y)})),new Ve(g.segments,P)}}function ki(g,h,u){const C=g.segments.slice(0,h);let P=0;for(;P<u.length;){const Y=u[P];if(zr(Y)){const ot=wi(Y.outlets);return new Ve(C,ot)}if(0===P&&ui(u[0])){C.push(new xe(g.segments[h].path,hi(u[0]))),P++;continue}const re=zr(Y)?Y.outlets[_t]:`${Y}`,de=P<u.length-1?u[P+1]:null;re&&de&&ui(de)?(C.push(new xe(re,hi(de))),P+=2):(C.push(new xe(re,{})),P++)}return new Ve(C,{})}function wi(g){const h={};return W(g,((u,C)=>{"string"==typeof u&&(u=[u]),null!==u&&(h[C]=ki(new Ve([],{}),0,u))})),h}function hi(g){const h={};return W(g,((u,C)=>h[C]=`${u}`)),h}function fi(g,h,u){return g==u.path&&Pt(h,u.parameters)}class dr{constructor(h,u,C,P){this.routeReuseStrategy=h,this.futureState=u,this.currState=C,this.forwardEvent=P}activate(h){const u=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,C,h),Gr(this.futureState.root),this.activateChildRoutes(u,C,h)}deactivateChildRoutes(h,u,C){const P=wr(u);h.children.forEach((Y=>{const re=Y.value.outlet;this.deactivateRoutes(Y,P[re],C),delete P[re]})),W(P,((Y,re)=>{this.deactivateRouteAndItsChildren(Y,C)}))}deactivateRoutes(h,u,C){const P=h.value,Y=u?u.value:null;if(P===Y)if(P.component){const re=C.getContext(P.outlet);re&&this.deactivateChildRoutes(h,u,re.children)}else this.deactivateChildRoutes(h,u,C);else Y&&this.deactivateRouteAndItsChildren(u,C)}deactivateRouteAndItsChildren(h,u){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,u):this.deactivateRouteAndOutlet(h,u)}detachAndStoreRouteSubtree(h,u){const C=u.getContext(h.value.outlet),P=C&&h.value.component?C.children:u,Y=wr(h);for(const re of Object.keys(Y))this.deactivateRouteAndItsChildren(Y[re],P);if(C&&C.outlet){const re=C.outlet.detach(),de=C.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:re,route:h,contexts:de})}}deactivateRouteAndOutlet(h,u){const C=u.getContext(h.value.outlet),P=C&&h.value.component?C.children:u,Y=wr(h);for(const re of Object.keys(Y))this.deactivateRouteAndItsChildren(Y[re],P);C&&C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated(),C.attachRef=null,C.resolver=null,C.route=null)}activateChildRoutes(h,u,C){const P=wr(u);h.children.forEach((Y=>{this.activateRoutes(Y,P[Y.value.outlet],C),this.forwardEvent(new Zt(Y.value.snapshot))})),h.children.length&&this.forwardEvent(new nn(h.value.snapshot))}activateRoutes(h,u,C){const P=h.value,Y=u?u.value:null;if(Gr(P),P===Y)if(P.component){const re=C.getOrCreateContext(P.outlet);this.activateChildRoutes(h,u,re.children)}else this.activateChildRoutes(h,u,C);else if(P.component){const re=C.getOrCreateContext(P.outlet);if(this.routeReuseStrategy.shouldAttach(P.snapshot)){const de=this.routeReuseStrategy.retrieve(P.snapshot);this.routeReuseStrategy.store(P.snapshot,null),re.children.onOutletReAttached(de.contexts),re.attachRef=de.componentRef,re.route=de.route.value,re.outlet&&re.outlet.attach(de.componentRef,de.route.value),Gr(de.route.value),this.activateChildRoutes(h,null,re.children)}else{const de=function kr(g){for(let h=g.parent;h;h=h.parent){const u=h.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig;if(u&&u.component)return null}return null}(P.snapshot),ot=de?de.module.componentFactoryResolver:null;re.attachRef=null,re.route=P,re.resolver=ot,re.outlet&&re.outlet.activateWith(P,ot),this.activateChildRoutes(h,null,re.children)}}else this.activateChildRoutes(h,null,C)}}class qn{constructor(h,u){this.routes=h,this.module=u}}function hr(g){return"function"==typeof g}function Er(g){return g instanceof Oe}const E=Symbol("INITIAL_VALUE");function K(){return(0,fe.w)((g=>function N(...g){let h=null,u=null;return(0,O.K)(g[g.length-1])&&(u=g.pop()),"function"==typeof g[g.length-1]&&(h=g.pop()),1===g.length&&(0,S.k)(g[0])&&(g=g[0]),(0,R.n)(g,u).lift(new x(h))}(g.map((h=>h.pipe((0,it.q)(1),(0,gt.O)(E))))).pipe(Et(((h,u)=>{let C=!1;return u.reduce(((P,Y,re)=>P!==E?P:(Y===E&&(C=!0),C||!1!==Y&&re!==u.length-1&&!Er(Y)?P:Y)),h)}),E),(0,et.h)((h=>h!==E)),(0,be.U)((h=>Er(h)?h:!0===h)),(0,it.q)(1))))}class ae{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ye,this.attachRef=null}}class Ye{constructor(){this.contexts=new Map}onChildOutletCreated(h,u){const C=this.getOrCreateContext(h);C.outlet=u,this.contexts.set(h,C)}onChildOutletDestroyed(h){const u=this.getContext(h);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let u=this.getContext(h);return u||(u=new ae,this.contexts.set(h,u)),u}getContext(h){return this.contexts.get(h)||null}}let ut=(()=>{class g{constructor(u,C,P,Y,re){this.parentContexts=u,this.location=C,this.resolver=P,this.changeDetector=re,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.name=Y||_t,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,C){this.activated=u,this._activatedRoute=C,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,C){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;const re=(C=C||this.resolver).resolveComponentFactory(u._futureSnapshot.routeConfig.component),de=this.parentContexts.getOrCreateContext(this.name).children,ot=new xt(u,de,this.location.injector);this.activated=this.location.createComponent(re,this.location.length,ot),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.ɵfac=function(u){return new(u||g)(p.Y36(Ye),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},g.ɵdir=p.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),g})();class xt{constructor(h,u,C){this.route=h,this.childContexts=u,this.parent=C}get(h,u){return h===Ir?this.route:h===Ye?this.childContexts:this.parent.get(h,u)}}let kn=(()=>{class g{}return g.ɵfac=function(u){return new(u||g)},g.ɵcmp=p.Xpm({type:g,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,C){1&u&&p._UZ(0,"router-outlet")},directives:[ut],encapsulation:2}),g})();function Ln(g,h=""){for(let u=0;u<g.length;u++){const C=g[u];Rn(C,gn(h,C))}}function Rn(g,h){g.children&&Ln(g.children,h)}function gn(g,h){return h?g||h.path?g&&!h.path?`${g}/`:!g&&h.path?h.path:`${g}/${h.path}`:"":g}function Jn(g){const h=g.children&&g.children.map(Jn),u=h?{...g,children:h}:{...g};return!u.component&&(h||u.loadChildren)&&u.outlet&&u.outlet!==_t&&(u.component=kn),u}function yn(g){return g.outlet||_t}function Gn(g,h){const u=g.filter((C=>yn(C)===h));return u.push(...g.filter((C=>yn(C)!==h))),u}const Yn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _r(g,h,u){if(""===h.path)return"full"===h.pathMatch&&(g.hasChildren()||u.length>0)?{...Yn}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const P=(h.matcher||kt)(u,g,h);if(!P)return{...Yn};const Y={};W(P.posParams,((de,ot)=>{Y[ot]=de.path}));const re=P.consumed.length>0?{...Y,...P.consumed[P.consumed.length-1].parameters}:Y;return{matched:!0,consumedSegments:P.consumed,remainingSegments:u.slice(P.consumed.length),parameters:re,positionalParamSegments:P.posParams??{}}}function Rr(g,h,u,C,P="corrected"){if(u.length>0&&function v(g,h,u){return u.some((C=>V(g,h,C)&&yn(C)!==_t))}(g,u,C)){const re=new Ve(h,function w(g,h,u,C){const P={};P[_t]=C,C._sourceSegment=g,C._segmentIndexShift=h.length;for(const Y of u)if(""===Y.path&&yn(Y)!==_t){const re=new Ve([],{});re._sourceSegment=g,re._segmentIndexShift=h.length,P[yn(Y)]=re}return P}(g,h,C,new Ve(u,g.children)));return re._sourceSegment=g,re._segmentIndexShift=h.length,{segmentGroup:re,slicedSegments:[]}}if(0===u.length&&function _(g,h,u){return u.some((C=>V(g,h,C)))}(g,u,C)){const re=new Ve(g.segments,function Yr(g,h,u,C,P,Y){const re={};for(const de of C)if(V(g,u,de)&&!P[yn(de)]){const ot=new Ve([],{});ot._sourceSegment=g,ot._segmentIndexShift="legacy"===Y?g.segments.length:h.length,re[yn(de)]=ot}return{...P,...re}}(g,h,u,C,g.children,P));return re._sourceSegment=g,re._segmentIndexShift=h.length,{segmentGroup:re,slicedSegments:u}}const Y=new Ve(g.segments,g.children);return Y._sourceSegment=g,Y._segmentIndexShift=h.length,{segmentGroup:Y,slicedSegments:u}}function V(g,h,u){return(!(g.hasChildren()||h.length>0)||"full"!==u.pathMatch)&&""===u.path}function Ze(g,h,u,C){return!!(yn(g)===C||C!==_t&&V(h,u,g))&&("**"===g.path||_r(h,g,u).matched)}function Jt(g,h,u){return 0===h.length&&!g.children[u]}class An{constructor(h){this.segmentGroup=h||null}}class lr{constructor(h){this.urlTree=h}}function Lr(g){return(0,Mt._)(new An(g))}function Vr(g){return(0,Mt._)(new lr(g))}class Pn{constructor(h,u,C,P,Y){this.configLoader=u,this.urlSerializer=C,this.urlTree=P,this.config=Y,this.allowRedirects=!0,this.ngModule=h.get(p.h0i)}apply(){const h=Rr(this.urlTree.root,[],[],this.config).segmentGroup,u=new Ve(h.segments,h.children);return this.expandSegmentGroup(this.ngModule,this.config,u,_t).pipe((0,be.U)((Y=>this.createUrlTree(nr(Y),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(Qe((Y=>{if(Y instanceof lr)return this.allowRedirects=!1,this.match(Y.urlTree);throw Y instanceof An?this.noMatchError(Y):Y})))}match(h){return this.expandSegmentGroup(this.ngModule,this.config,h.root,_t).pipe((0,be.U)((P=>this.createUrlTree(nr(P),h.queryParams,h.fragment)))).pipe(Qe((P=>{throw P instanceof An?this.noMatchError(P):P})))}noMatchError(h){return new Error(`Cannot match any routes. URL Segment: '${h.segmentGroup}'`)}createUrlTree(h,u,C){const P=h.segments.length>0?new Ve([],{[_t]:h}):h;return new Oe(P,u,C)}expandSegmentGroup(h,u,C,P){return 0===C.segments.length&&C.hasChildren()?this.expandChildren(h,u,C).pipe((0,be.U)((Y=>new Ve([],Y)))):this.expandSegment(h,C,u,C.segments,P,!0)}expandChildren(h,u,C){const P=[];for(const Y of Object.keys(C.children))"primary"===Y?P.unshift(Y):P.push(Y);return(0,Q.D)(P).pipe((0,Kt.b)((Y=>{const re=C.children[Y],de=Gn(u,Y);return this.expandSegmentGroup(h,de,re,Y).pipe((0,be.U)((ot=>({segment:ot,outlet:Y}))))})),Et(((Y,re)=>(Y[re.outlet]=re.segment,Y)),{}),function lt(g,h){const u=arguments.length>=2;return C=>C.pipe(g?(0,et.h)(((P,Y)=>g(P,Y,C))):ze.y,De(1),u?(0,We.d)(h):(0,wt.T)((()=>new Ne.K)))}())}expandSegment(h,u,C,P,Y,re){return(0,Q.D)(C).pipe((0,Kt.b)((de=>this.expandSegmentAgainstRoute(h,u,C,de,P,Y,re).pipe(Qe((Qt=>{if(Qt instanceof An)return(0,ye.of)(null);throw Qt}))))),(0,In.P)((de=>!!de)),Qe(((de,ot)=>{if(de instanceof Ne.K||"EmptyError"===de.name)return Jt(u,P,Y)?(0,ye.of)(new Ve([],{})):Lr(u);throw de})))}expandSegmentAgainstRoute(h,u,C,P,Y,re,de){return Ze(P,u,Y,re)?void 0===P.redirectTo?this.matchSegmentAgainstRoute(h,u,P,Y,re):de&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,u,C,P,Y,re):Lr(u):Lr(u)}expandSegmentAgainstRouteUsingRedirect(h,u,C,P,Y,re){return"**"===P.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,C,P,re):this.expandRegularSegmentAgainstRouteUsingRedirect(h,u,C,P,Y,re)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,u,C,P){const Y=this.applyRedirectCommands([],C.redirectTo,{});return C.redirectTo.startsWith("/")?Vr(Y):this.lineralizeSegments(C,Y).pipe((0,En.zg)((re=>{const de=new Ve(re,{});return this.expandSegment(h,de,u,re,P,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(h,u,C,P,Y,re){const{matched:de,consumedSegments:ot,remainingSegments:Qt,positionalParamSegments:xn}=_r(u,P,Y);if(!de)return Lr(u);const rn=this.applyRedirectCommands(ot,P.redirectTo,xn);return P.redirectTo.startsWith("/")?Vr(rn):this.lineralizeSegments(P,rn).pipe((0,En.zg)((Nn=>this.expandSegment(h,u,C,Nn.concat(Qt),re,!1))))}matchSegmentAgainstRoute(h,u,C,P,Y){if("**"===C.path)return C.loadChildren?(C._loadedConfig?(0,ye.of)(C._loadedConfig):this.configLoader.load(h.injector,C)).pipe((0,be.U)((rn=>(C._loadedConfig=rn,new Ve(P,{}))))):(0,ye.of)(new Ve(P,{}));const{matched:re,consumedSegments:de,remainingSegments:ot}=_r(u,C,P);return re?this.getChildConfig(h,C,P).pipe((0,En.zg)((xn=>{const rn=xn.module,Nn=xn.routes,{segmentGroup:Vn,slicedSegments:fo}=Rr(u,de,ot,Nn),oo=new Ve(Vn.segments,Vn.children);if(0===fo.length&&oo.hasChildren())return this.expandChildren(rn,Nn,oo).pipe((0,be.U)((sr=>new Ve(de,sr))));if(0===Nn.length&&0===fo.length)return(0,ye.of)(new Ve(de,{}));const Hi=yn(C)===Y;return this.expandSegment(rn,oo,Nn,fo,Hi?_t:Y,!0).pipe((0,be.U)((Eo=>new Ve(de.concat(Eo.segments),Eo.children))))}))):Lr(u)}getChildConfig(h,u,C){return u.children?(0,ye.of)(new qn(u.children,h)):u.loadChildren?void 0!==u._loadedConfig?(0,ye.of)(u._loadedConfig):this.runCanLoadGuards(h.injector,u,C).pipe((0,En.zg)((P=>P?this.configLoader.load(h.injector,u).pipe((0,be.U)((Y=>(u._loadedConfig=Y,Y)))):function _o(g){return(0,Mt._)(Mn(`Cannot load children because the guard of the route "path: '${g.path}'" returned false`))}(u)))):(0,ye.of)(new qn([],h))}runCanLoadGuards(h,u,C){const P=u.canLoad;if(!P||0===P.length)return(0,ye.of)(!0);const Y=P.map((re=>{const de=h.get(re);let ot;if(function Vi(g){return g&&hr(g.canLoad)}(de))ot=de.canLoad(u,C);else{if(!hr(de))throw new Error("Invalid CanLoad guard");ot=de(u,C)}return j(ot)}));return(0,ye.of)(Y).pipe(K(),ge((re=>{if(!Er(re))return;const de=Mn(`Redirecting to "${this.urlSerializer.serialize(re)}"`);throw de.url=re,de})),(0,be.U)((re=>!0===re)))}lineralizeSegments(h,u){let C=[],P=u.root;for(;;){if(C=C.concat(P.segments),0===P.numberOfChildren)return(0,ye.of)(C);if(P.numberOfChildren>1||!P.children[_t])return(0,Mt._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${h.redirectTo}'`));P=P.children[_t]}}applyRedirectCommands(h,u,C){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),h,C)}applyRedirectCreatreUrlTree(h,u,C,P){const Y=this.createSegmentGroup(h,u.root,C,P);return new Oe(Y,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(h,u){const C={};return W(h,((P,Y)=>{if("string"==typeof P&&P.startsWith(":")){const de=P.substring(1);C[Y]=u[de]}else C[Y]=P})),C}createSegmentGroup(h,u,C,P){const Y=this.createSegments(h,u.segments,C,P);let re={};return W(u.children,((de,ot)=>{re[ot]=this.createSegmentGroup(h,de,C,P)})),new Ve(Y,re)}createSegments(h,u,C,P){return u.map((Y=>Y.path.startsWith(":")?this.findPosParam(h,Y,P):this.findOrReturn(Y,C)))}findPosParam(h,u,C){const P=C[u.path.substring(1)];if(!P)throw new Error(`Cannot redirect to '${h}'. Cannot find '${u.path}'.`);return P}findOrReturn(h,u){let C=0;for(const P of u){if(P.path===h.path)return u.splice(C),P;C++}return h}}function nr(g){const h={};for(const C of Object.keys(g.children)){const Y=nr(g.children[C]);(Y.segments.length>0||Y.hasChildren())&&(h[C]=Y)}return function Ao(g){if(1===g.numberOfChildren&&g.children[_t]){const h=g.children[_t];return new Ve(g.segments.concat(h.segments),h.children)}return g}(new Ve(g.segments,h))}class Ei{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class Ar{constructor(h,u){this.component=h,this.route=u}}function vo(g,h,u){const C=g._root;return l(C,h?h._root:null,u,[C.value])}function xo(g,h,u){const C=function L(g){if(!g)return null;for(let h=g.parent;h;h=h.parent){const u=h.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig}return null}(h);return(C?C.module.injector:u).get(g)}function l(g,h,u,C,P={canDeactivateChecks:[],canActivateChecks:[]}){const Y=wr(h);return g.children.forEach((re=>{(function d(g,h,u,C,P={canDeactivateChecks:[],canActivateChecks:[]}){const Y=g.value,re=h?h.value:null,de=u?u.getContext(g.value.outlet):null;if(re&&Y.routeConfig===re.routeConfig){const ot=function y(g,h,u){if("function"==typeof u)return u(g,h);switch(u){case"pathParamsChange":return!Lt(g.url,h.url);case"pathParamsOrQueryParamsChange":return!Lt(g.url,h.url)||!Pt(g.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!eo(g,h)||!Pt(g.queryParams,h.queryParams);default:return!eo(g,h)}}(re,Y,Y.routeConfig.runGuardsAndResolvers);ot?P.canActivateChecks.push(new Ei(C)):(Y.data=re.data,Y._resolvedData=re._resolvedData),l(g,h,Y.component?de?de.children:null:u,C,P),ot&&de&&de.outlet&&de.outlet.isActivated&&P.canDeactivateChecks.push(new Ar(de.outlet.component,re))}else re&&U(h,de,P),P.canActivateChecks.push(new Ei(C)),l(g,null,Y.component?de?de.children:null:u,C,P)})(re,Y[re.value.outlet],u,C.concat([re.value]),P),delete Y[re.value.outlet]})),W(Y,((re,de)=>U(re,u.getContext(de),P))),P}function U(g,h,u){const C=wr(g),P=g.value;W(C,((Y,re)=>{U(Y,P.component?h?h.children.getContext(re):null:h,u)})),u.canDeactivateChecks.push(new Ar(P.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,P))}class Dn{}function an(g){return new Z.y((h=>h.error(g)))}class jn{constructor(h,u,C,P,Y,re){this.rootComponentType=h,this.config=u,this.urlTree=C,this.url=P,this.paramsInheritanceStrategy=Y,this.relativeLinkResolution=re}recognize(){const h=Rr(this.urlTree.root,[],[],this.config.filter((re=>void 0===re.redirectTo)),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,h,_t);if(null===u)return null;const C=new Xr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},_t,this.rootComponentType,null,this.urlTree.root,-1,{}),P=new Hn(C,u),Y=new yi(this.url,P);return this.inheritParamsAndData(Y._root),Y}inheritParamsAndData(h){const u=h.value,C=xi(u,this.paramsInheritanceStrategy);u.params=Object.freeze(C.params),u.data=Object.freeze(C.data),h.children.forEach((P=>this.inheritParamsAndData(P)))}processSegmentGroup(h,u,C){return 0===u.segments.length&&u.hasChildren()?this.processChildren(h,u):this.processSegment(h,u,u.segments,C)}processChildren(h,u){const C=[];for(const Y of Object.keys(u.children)){const re=u.children[Y],de=Gn(h,Y),ot=this.processSegmentGroup(de,re,Y);if(null===ot)return null;C.push(...ot)}const P=cr(C);return function or(g){g.sort(((h,u)=>h.value.outlet===_t?-1:u.value.outlet===_t?1:h.value.outlet.localeCompare(u.value.outlet)))}(P),P}processSegment(h,u,C,P){for(const Y of h){const re=this.processSegmentAgainstRoute(Y,u,C,P);if(null!==re)return re}return Jt(u,C,P)?[]:null}processSegmentAgainstRoute(h,u,C,P){if(h.redirectTo||!Ze(h,u,C,P))return null;let Y,re=[],de=[];if("**"===h.path){const Vn=C.length>0?ee(C).parameters:{};Y=new Xr(C,Vn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Kr(h),yn(h),h.component,h,Br(u),ur(u)+C.length,Zr(h))}else{const Vn=_r(u,h,C);if(!Vn.matched)return null;re=Vn.consumedSegments,de=Vn.remainingSegments,Y=new Xr(re,Vn.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Kr(h),yn(h),h.component,h,Br(u),ur(u)+re.length,Zr(h))}const ot=function rr(g){return g.children?g.children:g.loadChildren?g._loadedConfig.routes:[]}(h),{segmentGroup:Qt,slicedSegments:xn}=Rr(u,re,de,ot.filter((Vn=>void 0===Vn.redirectTo)),this.relativeLinkResolution);if(0===xn.length&&Qt.hasChildren()){const Vn=this.processChildren(ot,Qt);return null===Vn?null:[new Hn(Y,Vn)]}if(0===ot.length&&0===xn.length)return[new Hn(Y,[])];const rn=yn(h)===P,Nn=this.processSegment(ot,Qt,xn,rn?_t:P);return null===Nn?null:[new Hn(Y,Nn)]}}function Cr(g){const h=g.value.routeConfig;return h&&""===h.path&&void 0===h.redirectTo}function cr(g){const h=[],u=new Set;for(const C of g){if(!Cr(C)){h.push(C);continue}const P=h.find((Y=>C.value.routeConfig===Y.value.routeConfig));void 0!==P?(P.children.push(...C.children),u.add(P)):h.push(C)}for(const C of u){const P=cr(C.children);h.push(new Hn(C.value,P))}return h.filter((C=>!u.has(C)))}function Br(g){let h=g;for(;h._sourceSegment;)h=h._sourceSegment;return h}function ur(g){let h=g,u=h._segmentIndexShift?h._segmentIndexShift:0;for(;h._sourceSegment;)h=h._sourceSegment,u+=h._segmentIndexShift?h._segmentIndexShift:0;return u-1}function Kr(g){return g.data||{}}function Zr(g){return g.resolve||{}}function bo(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}function qt(g){return(0,fe.w)((h=>{const u=g(h);return u?(0,Q.D)(u).pipe((0,be.U)((()=>h))):(0,ye.of)(h)}))}class Tn extends class fn{shouldDetach(h){return!1}store(h,u){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,u){return h.routeConfig===u.routeConfig}}{}const Zn=new p.OlP("ROUTES");class xr{constructor(h,u,C,P){this.injector=h,this.compiler=u,this.onLoadStartListener=C,this.onLoadEndListener=P}load(h,u){if(u._loader$)return u._loader$;this.onLoadStartListener&&this.onLoadStartListener(u);const P=this.loadModuleFactory(u.loadChildren).pipe((0,be.U)((Y=>{this.onLoadEndListener&&this.onLoadEndListener(u);const re=Y.create(h);return new qn(me(re.injector.get(Zn,void 0,p.XFs.Self|p.XFs.Optional)).map(Jn),re)})),Qe((Y=>{throw u._loader$=void 0,Y})));return u._loader$=new Me.c(P,(()=>new ue.xQ)).pipe((0,yr.x)()),u._loader$}loadModuleFactory(h){return j(h()).pipe((0,En.zg)((u=>u instanceof p.YKP?(0,ye.of)(u):(0,Q.D)(this.compiler.compileModuleAsync(u)))))}}class ni{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,u){return h}}function Qn(g){throw g}function ri(g,h,u){return h.parse("/")}function ji(g,h){return(0,ye.of)(null)}const Mr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Di={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Wn=(()=>{class g{constructor(u,C,P,Y,re,de,ot){this.rootComponentType=u,this.urlSerializer=C,this.rootContexts=P,this.location=Y,this.config=ot,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ue.xQ,this.errorHandler=Qn,this.malformedUriErrorHandler=ri,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ji,afterPreactivation:ji},this.urlHandlingStrategy=new ni,this.routeReuseStrategy=new Tn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=re.get(p.h0i),this.console=re.get(p.c2e);const rn=re.get(p.R0b);this.isNgZoneEnabled=rn instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(ot),this.currentUrlTree=function _e(){return new Oe(new Ve([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new xr(re,de,(Nn=>this.triggerEvent(new ct(Nn))),(Nn=>this.triggerEvent(new Dt(Nn)))),this.routerState=tr(this.currentUrlTree,this.rootComponentType),this.transitions=new Ie.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.ɵrouterPageId}setupNavigations(u){const C=this.events;return u.pipe((0,et.h)((P=>0!==P.id)),(0,be.U)((P=>({...P,extractedUrl:this.urlHandlingStrategy.extract(P.rawUrl)}))),(0,fe.w)((P=>{let Y=!1,re=!1;return(0,ye.of)(P).pipe(ge((de=>{this.currentNavigation={id:de.id,initialUrl:de.currentRawUrl,extractedUrl:de.extractedUrl,trigger:de.source,extras:de.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),(0,fe.w)((de=>{const ot=this.browserUrlTree.toString(),Qt=!this.navigated||de.extractedUrl.toString()!==ot||ot!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Qt)&&this.urlHandlingStrategy.shouldProcessUrl(de.rawUrl))return co(de.source)&&(this.browserUrlTree=de.extractedUrl),(0,ye.of)(de).pipe((0,fe.w)((rn=>{const Nn=this.transitions.getValue();return C.next(new je(rn.id,this.serializeUrl(rn.extractedUrl),rn.source,rn.restoredState)),Nn!==this.transitions.getValue()?ve.E:Promise.resolve(rn)})),function yo(g,h,u,C){return(0,fe.w)((P=>function mt(g,h,u,C,P){return new Pn(g,h,u,C,P).apply()}(g,h,u,P.extractedUrl,C).pipe((0,be.U)((Y=>({...P,urlAfterRedirects:Y}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ge((rn=>{this.currentNavigation={...this.currentNavigation,finalUrl:rn.urlAfterRedirects}})),function Kn(g,h,u,C,P){return(0,En.zg)((Y=>function vn(g,h,u,C,P="emptyOnly",Y="legacy"){try{const re=new jn(g,h,u,C,P,Y).recognize();return null===re?an(new Dn):(0,ye.of)(re)}catch(re){return an(re)}}(g,h,Y.urlAfterRedirects,u(Y.urlAfterRedirects),C,P).pipe((0,be.U)((re=>({...Y,targetSnapshot:re}))))))}(this.rootComponentType,this.config,(rn=>this.serializeUrl(rn)),this.paramsInheritanceStrategy,this.relativeLinkResolution),ge((rn=>{if("eager"===this.urlUpdateStrategy){if(!rn.extras.skipLocationChange){const Vn=this.urlHandlingStrategy.merge(rn.urlAfterRedirects,rn.rawUrl);this.setBrowserUrl(Vn,rn)}this.browserUrlTree=rn.urlAfterRedirects}const Nn=new Ce(rn.id,this.serializeUrl(rn.extractedUrl),this.serializeUrl(rn.urlAfterRedirects),rn.targetSnapshot);C.next(Nn)})));if(Qt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Nn,extractedUrl:Vn,source:fo,restoredState:oo,extras:Hi}=de,Qa=new je(Nn,this.serializeUrl(Vn),fo,oo);C.next(Qa);const Eo=tr(Vn,this.rootComponentType).snapshot;return(0,ye.of)({...de,targetSnapshot:Eo,urlAfterRedirects:Vn,extras:{...Hi,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=de.rawUrl,de.resolve(null),ve.E})),qt((de=>{const{targetSnapshot:ot,id:Qt,extractedUrl:xn,rawUrl:rn,extras:{skipLocationChange:Nn,replaceUrl:Vn}}=de;return this.hooks.beforePreactivation(ot,{navigationId:Qt,appliedUrlTree:xn,rawUrlTree:rn,skipLocationChange:!!Nn,replaceUrl:!!Vn})})),ge((de=>{const ot=new we(de.id,this.serializeUrl(de.extractedUrl),this.serializeUrl(de.urlAfterRedirects),de.targetSnapshot);this.triggerEvent(ot)})),(0,be.U)((de=>({...de,guards:vo(de.targetSnapshot,de.currentSnapshot,this.rootContexts)}))),function J(g,h){return(0,En.zg)((u=>{const{targetSnapshot:C,currentSnapshot:P,guards:{canActivateChecks:Y,canDeactivateChecks:re}}=u;return 0===re.length&&0===Y.length?(0,ye.of)({...u,guardsResult:!0}):function oe(g,h,u,C){return(0,Q.D)(g).pipe((0,En.zg)((P=>function _n(g,h,u,C,P){const Y=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!Y||0===Y.length)return(0,ye.of)(!0);const re=Y.map((de=>{const ot=xo(de,h,P);let Qt;if(function z(g){return g&&hr(g.canDeactivate)}(ot))Qt=j(ot.canDeactivate(g,h,u,C));else{if(!hr(ot))throw new Error("Invalid CanDeactivate guard");Qt=j(ot(g,h,u,C))}return Qt.pipe((0,In.P)())}));return(0,ye.of)(re).pipe(K())}(P.component,P.route,u,h,C))),(0,In.P)((P=>!0!==P),!0))}(re,C,P,g).pipe((0,En.zg)((de=>de&&function Li(g){return"boolean"==typeof g}(de)?function se(g,h,u,C){return(0,Q.D)(h).pipe((0,Kt.b)((P=>(0,Ke.z)(function nt(g,h){return null!==g&&h&&h(new ft(g)),(0,ye.of)(!0)}(P.route.parent,C),function ke(g,h){return null!==g&&h&&h(new Bt(g)),(0,ye.of)(!0)}(P.route,C),function tn(g,h,u){const C=h[h.length-1],Y=h.slice(0,h.length-1).reverse().map((re=>function Co(g){const h=g.routeConfig?g.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:g,guards:h}:null}(re))).filter((re=>null!==re)).map((re=>pe((()=>{const de=re.guards.map((ot=>{const Qt=xo(ot,re.node,u);let xn;if(function b(g){return g&&hr(g.canActivateChild)}(Qt))xn=j(Qt.canActivateChild(C,g));else{if(!hr(Qt))throw new Error("Invalid CanActivateChild guard");xn=j(Qt(C,g))}return xn.pipe((0,In.P)())}));return(0,ye.of)(de).pipe(K())}))));return(0,ye.of)(Y).pipe(K())}(g,P.path,u),function Gt(g,h,u){const C=h.routeConfig?h.routeConfig.canActivate:null;if(!C||0===C.length)return(0,ye.of)(!0);const P=C.map((Y=>pe((()=>{const re=xo(Y,h,u);let de;if(function io(g){return g&&hr(g.canActivate)}(re))de=j(re.canActivate(h,g));else{if(!hr(re))throw new Error("Invalid CanActivate guard");de=j(re(h,g))}return de.pipe((0,In.P)())}))));return(0,ye.of)(P).pipe(K())}(g,P.route,u)))),(0,In.P)((P=>!0!==P),!0))}(C,Y,g,h):(0,ye.of)(de))),(0,be.U)((de=>({...u,guardsResult:de}))))}))}(this.ngModule.injector,(de=>this.triggerEvent(de))),ge((de=>{if(Er(de.guardsResult)){const Qt=Mn(`Redirecting to "${this.serializeUrl(de.guardsResult)}"`);throw Qt.url=de.guardsResult,Qt}const ot=new Pe(de.id,this.serializeUrl(de.extractedUrl),this.serializeUrl(de.urlAfterRedirects),de.targetSnapshot,!!de.guardsResult);this.triggerEvent(ot)})),(0,et.h)((de=>!!de.guardsResult||(this.restoreHistory(de),this.cancelNavigationTransition(de,""),!1))),qt((de=>{if(de.guards.canActivateChecks.length)return(0,ye.of)(de).pipe(ge((ot=>{const Qt=new tt(ot.id,this.serializeUrl(ot.extractedUrl),this.serializeUrl(ot.urlAfterRedirects),ot.targetSnapshot);this.triggerEvent(Qt)})),(0,fe.w)((ot=>{let Qt=!1;return(0,ye.of)(ot).pipe(function ti(g,h){return(0,En.zg)((u=>{const{targetSnapshot:C,guards:{canActivateChecks:P}}=u;if(!P.length)return(0,ye.of)(u);let Y=0;return(0,Q.D)(P).pipe((0,Kt.b)((re=>function Un(g,h,u,C){return function gi(g,h,u,C){const P=bo(g);if(0===P.length)return(0,ye.of)({});const Y={};return(0,Q.D)(P).pipe((0,En.zg)((re=>function Io(g,h,u,C){const P=xo(g,h,C);return j(P.resolve?P.resolve(h,u):P(h,u))}(g[re],h,u,C).pipe(ge((de=>{Y[re]=de}))))),De(1),(0,En.zg)((()=>bo(Y).length===P.length?(0,ye.of)(Y):ve.E)))}(g._resolve,g,h,C).pipe((0,be.U)((Y=>(g._resolvedData=Y,g.data={...g.data,...xi(g,u).resolve},null))))}(re.route,C,g,h))),ge((()=>Y++)),De(1),(0,En.zg)((re=>Y===P.length?(0,ye.of)(u):ve.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),ge({next:()=>Qt=!0,complete:()=>{Qt||(this.restoreHistory(ot),this.cancelNavigationTransition(ot,"At least one route resolver didn't emit any value."))}}))})),ge((ot=>{const Qt=new Xe(ot.id,this.serializeUrl(ot.extractedUrl),this.serializeUrl(ot.urlAfterRedirects),ot.targetSnapshot);this.triggerEvent(Qt)})))})),qt((de=>{const{targetSnapshot:ot,id:Qt,extractedUrl:xn,rawUrl:rn,extras:{skipLocationChange:Nn,replaceUrl:Vn}}=de;return this.hooks.afterPreactivation(ot,{navigationId:Qt,appliedUrlTree:xn,rawUrlTree:rn,skipLocationChange:!!Nn,replaceUrl:!!Vn})})),(0,be.U)((de=>{const ot=function to(g,h,u){const C=li(g,h._root,u?u._root:void 0);return new qr(C,h)}(this.routeReuseStrategy,de.targetSnapshot,de.currentRouterState);return{...de,targetRouterState:ot}})),ge((de=>{this.currentUrlTree=de.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(de.urlAfterRedirects,de.rawUrl),this.routerState=de.targetRouterState,"deferred"===this.urlUpdateStrategy&&(de.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,de),this.browserUrlTree=de.urlAfterRedirects)})),((g,h,u)=>(0,be.U)((C=>(new dr(h,C.targetRouterState,C.currentRouterState,u).activate(g),C))))(this.rootContexts,this.routeReuseStrategy,(de=>this.triggerEvent(de))),ge({next(){Y=!0},complete(){Y=!0}}),function Ft(g){return h=>h.lift(new mn(g))}((()=>{Y||re||this.cancelNavigationTransition(P,`Navigation ID ${P.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===P.id&&(this.currentNavigation=null)})),Qe((de=>{if(re=!0,function dn(g){return g&&g[cn]}(de)){const ot=Er(de.url);ot||(this.navigated=!0,this.restoreHistory(P,!0));const Qt=new q(P.id,this.serializeUrl(P.extractedUrl),de.message);C.next(Qt),ot?setTimeout((()=>{const xn=this.urlHandlingStrategy.merge(de.url,this.rawUrlTree),rn={skipLocationChange:P.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||co(P.source)};this.scheduleNavigation(xn,"imperative",null,rn,{resolve:P.resolve,reject:P.reject,promise:P.promise})}),0):P.resolve(!1)}else{this.restoreHistory(P,!0);const ot=new ne(P.id,this.serializeUrl(P.extractedUrl),de);C.next(ot);try{P.resolve(this.errorHandler(de))}catch(Qt){P.reject(Qt)}}return ve.E})))})))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((u=>{const C="popstate"===u.type?"popstate":"hashchange";"popstate"===C&&setTimeout((()=>{const P={replaceUrl:!0},Y=u.state?.navigationId?u.state:null;if(Y){const de={...Y};delete de.navigationId,delete de.ɵrouterPageId,0!==Object.keys(de).length&&(P.state=de)}const re=this.parseUrl(u.url);this.scheduleNavigation(re,C,Y,P)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){Ln(u),this.config=u.map(Jn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,C={}){const{relativeTo:P,queryParams:Y,fragment:re,queryParamsHandling:de,preserveFragment:ot}=C,Qt=P||this.routerState.root,xn=ot?this.currentUrlTree.fragment:re;let rn=null;switch(de){case"merge":rn={...this.currentUrlTree.queryParams,...Y};break;case"preserve":rn=this.currentUrlTree.queryParams;break;default:rn=Y||null}return null!==rn&&(rn=this.removeEmptyProps(rn)),function ci(g,h,u,C,P){if(0===u.length)return di(h.root,h.root,h.root,C,P);const Y=function Ci(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new ei(!0,0,g);let h=0,u=!1;const C=g.reduce(((P,Y,re)=>{if("object"==typeof Y&&null!=Y){if(Y.outlets){const de={};return W(Y.outlets,((ot,Qt)=>{de[Qt]="string"==typeof ot?ot.split("/"):ot})),[...P,{outlets:de}]}if(Y.segmentPath)return[...P,Y.segmentPath]}return"string"!=typeof Y?[...P,Y]:0===re?(Y.split("/").forEach(((de,ot)=>{0==ot&&"."===de||(0==ot&&""===de?u=!0:".."===de?h++:""!=de&&P.push(de))})),P):[...P,Y]}),[]);return new ei(u,h,C)}(u);if(Y.toRoot())return di(h.root,h.root,new Ve([],{}),C,P);const re=function Ri(g,h,u){if(g.isAbsolute)return new Wr(h.root,!0,0);if(-1===u.snapshot._lastPathIndex){const Y=u.snapshot._urlSegment;return new Wr(Y,Y===h.root,0)}const C=ui(g.commands[0])?0:1;return function bi(g,h,u){let C=g,P=h,Y=u;for(;Y>P;){if(Y-=P,C=C.parent,!C)throw new Error("Invalid number of '../'");P=C.segments.length}return new Wr(C,!1,P-Y)}(u.snapshot._urlSegment,u.snapshot._lastPathIndex+C,g.numberOfDoubleDots)}(Y,h,g),de=re.processChildren?Or(re.segmentGroup,re.index,Y.commands):Ni(re.segmentGroup,re.index,Y.commands);return di(h.root,re.segmentGroup,de,C,P)}(Qt,this.currentUrlTree,u,rn,xn??null)}navigateByUrl(u,C={skipLocationChange:!1}){const P=Er(u)?u:this.parseUrl(u),Y=this.urlHandlingStrategy.merge(P,this.rawUrlTree);return this.scheduleNavigation(Y,"imperative",null,C)}navigate(u,C={skipLocationChange:!1}){return function ii(g){for(let h=0;h<g.length;h++){const u=g[h];if(null==u)throw new Error(`The requested path contains ${u} segment at index ${h}`)}}(u),this.navigateByUrl(this.createUrlTree(u,C),C)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let C;try{C=this.urlSerializer.parse(u)}catch(P){C=this.malformedUriErrorHandler(P,this.urlSerializer,u)}return C}isActive(u,C){let P;if(P=!0===C?{...Mr}:!1===C?{...Di}:C,Er(u))return st(this.currentUrlTree,u,P);const Y=this.parseUrl(u);return st(this.currentUrlTree,Y,P)}removeEmptyProps(u){return Object.keys(u).reduce(((C,P)=>{const Y=u[P];return null!=Y&&(C[P]=Y),C}),{})}processNavigations(){this.navigations.subscribe((u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new A(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,u.resolve(!0)}),(u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)}))}scheduleNavigation(u,C,P,Y,re){if(this.disposed)return Promise.resolve(!1);let de,ot,Qt;re?(de=re.resolve,ot=re.reject,Qt=re.promise):Qt=new Promise(((Nn,Vn)=>{de=Nn,ot=Vn}));const xn=++this.navigationId;let rn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(P=this.location.getState()),rn=P&&P.ɵrouterPageId?P.ɵrouterPageId:Y.replaceUrl||Y.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):rn=0,this.setTransition({id:xn,targetPageId:rn,source:C,restoredState:P,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:Y,resolve:de,reject:ot,promise:Qt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Qt.catch((Nn=>Promise.reject(Nn)))}setBrowserUrl(u,C){const P=this.urlSerializer.serialize(u),Y={...C.extras.state,...this.generateNgRouterState(C.id,C.targetPageId)};this.location.isCurrentPathEqualTo(P)||C.extras.replaceUrl?this.location.replaceState(P,"",Y):this.location.go(P,"",Y)}restoreHistory(u,C=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===P?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===P&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(P)}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,C){const P=new q(u.id,this.serializeUrl(u.extractedUrl),C);this.triggerEvent(P),u.resolve(!1)}generateNgRouterState(u,C){return"computed"===this.canceledNavigationResolution?{navigationId:u,"ɵrouterPageId":C}:{navigationId:u}}}return g.ɵfac=function(u){p.$Z()},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();function co(g){return"imperative"!==g}let fs=(()=>{class g{constructor(u,C,P){this.router=u,this.route=C,this.locationStrategy=P,this.commands=null,this.href=null,this.onChanges=new ue.xQ,this.subscription=u.events.subscribe((Y=>{Y instanceof A&&this.updateTargetUrlAndHref()}))}set routerLink(u){this.commands=null!=u?Array.isArray(u)?u:[u]:null}ngOnChanges(u){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(u,C,P,Y,re){if(0!==u||C||P||Y||re||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const de={skipLocationChange:wo(this.skipLocationChange),replaceUrl:wo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,de),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:wo(this.preserveFragment)})}}return g.ɵfac=function(u){return new(u||g)(p.Y36(Wn),p.Y36(Ir),p.Y36(o.S$))},g.ɵdir=p.lG2({type:g,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,C){1&u&&p.NdJ("click",(function(Y){return C.onClick(Y.button,Y.ctrlKey,Y.shiftKey,Y.altKey,Y.metaKey)})),2&u&&p.uIk("target",C.target)("href",C.href,p.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[p.TTD]}),g})();function wo(g){return""===g||!!g}class No{}class ps{preload(h,u){return(0,ye.of)(null)}}let gs=(()=>{class g{constructor(u,C,P,Y){this.router=u,this.injector=P,this.preloadingStrategy=Y,this.loader=new xr(P,C,(ot=>u.triggerEvent(new ct(ot))),(ot=>u.triggerEvent(new Dt(ot))))}setUpPreloading(){this.subscription=this.router.events.pipe((0,et.h)((u=>u instanceof A)),(0,Kt.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){const u=this.injector.get(p.h0i);return this.processRoutes(u,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,C){const P=[];for(const Y of C)if(Y.loadChildren&&!Y.canLoad&&Y._loadedConfig){const re=Y._loadedConfig;P.push(this.processRoutes(re.module,re.routes))}else Y.loadChildren&&!Y.canLoad?P.push(this.preloadConfig(u,Y)):Y.children&&P.push(this.processRoutes(u,Y.children));return(0,Q.D)(P).pipe((0,le.J)(),(0,be.U)((Y=>{})))}preloadConfig(u,C){return this.preloadingStrategy.preload(C,(()=>(C._loadedConfig?(0,ye.of)(C._loadedConfig):this.loader.load(u.injector,C)).pipe((0,En.zg)((Y=>(C._loadedConfig=Y,this.processRoutes(Y.module,Y.routes)))))))}}return g.ɵfac=function(u){return new(u||g)(p.LFG(Wn),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(No))},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})(),Ui=(()=>{class g{constructor(u,C,P={}){this.router=u,this.viewportScroller=C,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe((u=>{u instanceof je?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof A&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((u=>{u instanceof $t&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(u,C){this.router.triggerEvent(new $t(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.ɵfac=function(u){p.$Z()},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();const Qr=new p.OlP("ROUTER_CONFIGURATION"),ko=new p.OlP("ROUTER_FORROOT_GUARD"),Lo=[o.Ye,{provide:Vt,useClass:zt},{provide:Wn,useFactory:function ms(g,h,u,C,P,Y,re={},de,ot){const Qt=new Wn(null,g,h,u,C,P,me(Y));return de&&(Qt.urlHandlingStrategy=de),ot&&(Qt.routeReuseStrategy=ot),function _s(g,h){g.errorHandler&&(h.errorHandler=g.errorHandler),g.malformedUriErrorHandler&&(h.malformedUriErrorHandler=g.malformedUriErrorHandler),g.onSameUrlNavigation&&(h.onSameUrlNavigation=g.onSameUrlNavigation),g.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=g.paramsInheritanceStrategy),g.relativeLinkResolution&&(h.relativeLinkResolution=g.relativeLinkResolution),g.urlUpdateStrategy&&(h.urlUpdateStrategy=g.urlUpdateStrategy),g.canceledNavigationResolution&&(h.canceledNavigationResolution=g.canceledNavigationResolution)}(re,Qt),re.enableTracing&&Qt.events.subscribe((xn=>{console.group?.(`Router Event: ${xn.constructor.name}`),console.log(xn.toString()),console.log(xn),console.groupEnd?.()})),Qt},deps:[Vt,Ye,o.Ye,p.zs3,p.Sil,Zn,Qr,[class Dr{},new p.FiY],[class ln{},new p.FiY]]},Ye,{provide:Ir,useFactory:function Vo(g){return g.routerState.root},deps:[Wn]},gs,ps,class Fo{preload(h,u){return u().pipe(Qe((()=>(0,ye.of)(null))))}},{provide:Qr,useValue:{enableTracing:!1}}];function gu(){return new p.PXZ("Router",Wn)}let Xs=(()=>{class g{constructor(u,C){}static forRoot(u,C){return{ngModule:g,providers:[Lo,uo(u),{provide:ko,useFactory:Ya,deps:[[Wn,new p.FiY,new p.tp0]]},{provide:Qr,useValue:C||{}},{provide:o.S$,useFactory:Wa,deps:[o.lw,[new p.tBr(o.mr),new p.FiY],Qr]},{provide:Ui,useFactory:ea,deps:[Wn,o.EM,Qr]},{provide:No,useExisting:C&&C.preloadingStrategy?C.preloadingStrategy:ps},{provide:p.PXZ,multi:!0,useFactory:gu},[ho,{provide:p.ip1,multi:!0,useFactory:Ka,deps:[ho]},{provide:ys,useFactory:ta,deps:[ho]},{provide:p.tb,multi:!0,useExisting:ys}]]}}static forChild(u){return{ngModule:g,providers:[uo(u)]}}}return g.ɵfac=function(u){return new(u||g)(p.LFG(ko,8),p.LFG(Wn,8))},g.ɵmod=p.oAB({type:g}),g.ɵinj=p.cJS({}),g})();function ea(g,h,u){return u.scrollOffset&&h.setOffset(u.scrollOffset),new Ui(g,h,u)}function Wa(g,h,u={}){return u.useHash?new o.Do(g,h):new o.b0(g,h)}function Ya(g){return"guarded"}function uo(g){return[{provide:p.deG,multi:!0,useValue:g},{provide:Zn,multi:!0,useValue:g}]}let ho=(()=>{class g{constructor(u){this.injector=u,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ue.xQ}appInitializer(){return this.injector.get(o.V_,Promise.resolve(null)).then((()=>{if(this.destroyed)return Promise.resolve(!0);let C=null;const P=new Promise((de=>C=de)),Y=this.injector.get(Wn),re=this.injector.get(Qr);return"disabled"===re.initialNavigation?(Y.setUpLocationChangeListener(),C(!0)):"enabled"===re.initialNavigation||"enabledBlocking"===re.initialNavigation?(Y.hooks.afterPreactivation=()=>this.initNavigation?(0,ye.of)(null):(this.initNavigation=!0,C(!0),this.resultOfPreactivationDone),Y.initialNavigation()):C(!0),P}))}bootstrapListener(u){const C=this.injector.get(Qr),P=this.injector.get(gs),Y=this.injector.get(Ui),re=this.injector.get(Wn),de=this.injector.get(p.z2F);u===de.components[0]&&(("enabledNonBlocking"===C.initialNavigation||void 0===C.initialNavigation)&&re.initialNavigation(),P.setUpPreloading(),Y.init(),re.resetRootComponentType(de.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return g.ɵfac=function(u){return new(u||g)(p.LFG(p.zs3))},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();function Ka(g){return g.appInitializer.bind(g)}function ta(g){return g.bootstrapListener.bind(g)}const ys=new p.OlP("Router Initializer")},802:(G,T,c)=>{"use strict";c.d(T,{au:()=>cn,A4:()=>on});var o=c(5062),p=c(6895),O=c(1086),S=c(2916),D=c(1406),M=c(2198),R=c(4850);class F{}class N{}class x{constructor(ee){this.normalizedNames=new Map,this.lazyUpdate=null,ee?this.lazyInit="string"==typeof ee?()=>{this.headers=new Map,ee.split("\n").forEach((B=>{const W=B.indexOf(":");if(W>0){const j=B.slice(0,W),_e=j.toLowerCase(),Ue=B.slice(W+1).trim();this.maybeSetNormalizedName(j,_e),this.headers.has(_e)?this.headers.get(_e).push(Ue):this.headers.set(_e,[Ue])}}))}:()=>{this.headers=new Map,Object.keys(ee).forEach((B=>{let W=ee[B];const j=B.toLowerCase();"string"==typeof W&&(W=[W]),W.length>0&&(this.headers.set(j,W),this.maybeSetNormalizedName(B,j))}))}:this.headers=new Map}has(ee){return this.init(),this.headers.has(ee.toLowerCase())}get(ee){this.init();const B=this.headers.get(ee.toLowerCase());return B&&B.length>0?B[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ee){return this.init(),this.headers.get(ee.toLowerCase())||null}append(ee,B){return this.clone({name:ee,value:B,op:"a"})}set(ee,B){return this.clone({name:ee,value:B,op:"s"})}delete(ee,B){return this.clone({name:ee,value:B,op:"d"})}maybeSetNormalizedName(ee,B){this.normalizedNames.has(B)||this.normalizedNames.set(B,ee)}init(){this.lazyInit&&(this.lazyInit instanceof x?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((ee=>this.applyUpdate(ee))),this.lazyUpdate=null))}copyFrom(ee){ee.init(),Array.from(ee.headers.keys()).forEach((B=>{this.headers.set(B,ee.headers.get(B)),this.normalizedNames.set(B,ee.normalizedNames.get(B))}))}clone(ee){const B=new x;return B.lazyInit=this.lazyInit&&this.lazyInit instanceof x?this.lazyInit:this,B.lazyUpdate=(this.lazyUpdate||[]).concat([ee]),B}applyUpdate(ee){const B=ee.name.toLowerCase();switch(ee.op){case"a":case"s":let W=ee.value;if("string"==typeof W&&(W=[W]),0===W.length)return;this.maybeSetNormalizedName(ee.name,B);const j=("a"===ee.op?this.headers.get(B):void 0)||[];j.push(...W),this.headers.set(B,j);break;case"d":const _e=ee.value;if(_e){let Ue=this.headers.get(B);if(!Ue)return;Ue=Ue.filter((vt=>-1===_e.indexOf(vt))),0===Ue.length?(this.headers.delete(B),this.normalizedNames.delete(B)):this.headers.set(B,Ue)}else this.headers.delete(B),this.normalizedNames.delete(B)}}forEach(ee){this.init(),Array.from(this.normalizedNames.keys()).forEach((B=>ee(this.normalizedNames.get(B),this.headers.get(B))))}}class k{encodeKey(ee){return pe(ee)}encodeValue(ee){return pe(ee)}decodeKey(ee){return decodeURIComponent(ee)}decodeValue(ee){return decodeURIComponent(ee)}}const Q=/%(\d[a-f0-9])/gi,ve={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function pe(me){return encodeURIComponent(me).replace(Q,((ee,B)=>ve[B]??ee))}function ye(me){return`${me}`}class Ie{constructor(ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ee.encoder||new k,ee.fromString){if(ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Z(me,ee){const B=new Map;return me.length>0&&me.replace(/^\?/,"").split("&").forEach((j=>{const _e=j.indexOf("="),[Ue,vt]=-1==_e?[ee.decodeKey(j),""]:[ee.decodeKey(j.slice(0,_e)),ee.decodeValue(j.slice(_e+1))],st=B.get(Ue)||[];st.push(vt),B.set(Ue,st)})),B}(ee.fromString,this.encoder)}else ee.fromObject?(this.map=new Map,Object.keys(ee.fromObject).forEach((B=>{const W=ee.fromObject[B];this.map.set(B,Array.isArray(W)?W:[W])}))):this.map=null}has(ee){return this.init(),this.map.has(ee)}get(ee){this.init();const B=this.map.get(ee);return B?B[0]:null}getAll(ee){return this.init(),this.map.get(ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ee,B){return this.clone({param:ee,value:B,op:"a"})}appendAll(ee){const B=[];return Object.keys(ee).forEach((W=>{const j=ee[W];Array.isArray(j)?j.forEach((_e=>{B.push({param:W,value:_e,op:"a"})})):B.push({param:W,value:j,op:"a"})})),this.clone(B)}set(ee,B){return this.clone({param:ee,value:B,op:"s"})}delete(ee,B){return this.clone({param:ee,value:B,op:"d"})}toString(){return this.init(),this.keys().map((ee=>{const B=this.encoder.encodeKey(ee);return this.map.get(ee).map((W=>B+"="+this.encoder.encodeValue(W))).join("&")})).filter((ee=>""!==ee)).join("&")}clone(ee){const B=new Ie({encoder:this.encoder});return B.cloneFrom=this.cloneFrom||this,B.updates=(this.updates||[]).concat(ee),B}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((ee=>this.map.set(ee,this.cloneFrom.map.get(ee)))),this.updates.forEach((ee=>{switch(ee.op){case"a":case"s":const B=("a"===ee.op?this.map.get(ee.param):void 0)||[];B.push(ye(ee.value)),this.map.set(ee.param,B);break;case"d":if(void 0===ee.value){this.map.delete(ee.param);break}{let W=this.map.get(ee.param)||[];const j=W.indexOf(ye(ee.value));-1!==j&&W.splice(j,1),W.length>0?this.map.set(ee.param,W):this.map.delete(ee.param)}}})),this.cloneFrom=this.updates=null)}}class Ne{constructor(){this.map=new Map}set(ee,B){return this.map.set(ee,B),this}get(ee){return this.map.has(ee)||this.map.set(ee,ee.defaultValue()),this.map.get(ee)}delete(ee){return this.map.delete(ee),this}has(ee){return this.map.has(ee)}keys(){return this.map.keys()}}function Me(me){return typeof ArrayBuffer<"u"&&me instanceof ArrayBuffer}function ue(me){return typeof Blob<"u"&&me instanceof Blob}function yt(me){return typeof FormData<"u"&&me instanceof FormData}class Ge{constructor(ee,B,W,j){let _e;if(this.url=B,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ee.toUpperCase(),function Ke(me){switch(me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||j?(this.body=void 0!==W?W:null,_e=j):_e=W,_e&&(this.reportProgress=!!_e.reportProgress,this.withCredentials=!!_e.withCredentials,_e.responseType&&(this.responseType=_e.responseType),_e.headers&&(this.headers=_e.headers),_e.context&&(this.context=_e.context),_e.params&&(this.params=_e.params)),this.headers||(this.headers=new x),this.context||(this.context=new Ne),this.params){const Ue=this.params.toString();if(0===Ue.length)this.urlWithParams=B;else{const vt=B.indexOf("?");this.urlWithParams=B+(-1===vt?"?":vt<B.length-1?"&":"")+Ue}}else this.params=new Ie,this.urlWithParams=B}serializeBody(){return null===this.body?null:Me(this.body)||ue(this.body)||yt(this.body)||function Et(me){return typeof URLSearchParams<"u"&&me instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ie?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||yt(this.body)?null:ue(this.body)?this.body.type||null:Me(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ee={}){const B=ee.method||this.method,W=ee.url||this.url,j=ee.responseType||this.responseType,_e=void 0!==ee.body?ee.body:this.body,Ue=void 0!==ee.withCredentials?ee.withCredentials:this.withCredentials,vt=void 0!==ee.reportProgress?ee.reportProgress:this.reportProgress;let st=ee.headers||this.headers,at=ee.params||this.params;const ie=ee.context??this.context;return void 0!==ee.setHeaders&&(st=Object.keys(ee.setHeaders).reduce(((Re,St)=>Re.set(St,ee.setHeaders[St])),st)),ee.setParams&&(at=Object.keys(ee.setParams).reduce(((Re,St)=>Re.set(St,ee.setParams[St])),at)),new Ge(B,W,_e,{params:at,headers:st,context:ie,reportProgress:vt,responseType:j,withCredentials:Ue})}}var He=(()=>((He=He||{})[He.Sent=0]="Sent",He[He.UploadProgress=1]="UploadProgress",He[He.ResponseHeader=2]="ResponseHeader",He[He.DownloadProgress=3]="DownloadProgress",He[He.Response=4]="Response",He[He.User=5]="User",He))();class dt{constructor(ee,B=200,W="OK"){this.headers=ee.headers||new x,this.status=void 0!==ee.status?ee.status:B,this.statusText=ee.statusText||W,this.url=ee.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends dt{constructor(ee={}){super(ee),this.type=He.ResponseHeader}clone(ee={}){return new Qe({headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class Wt extends dt{constructor(ee={}){super(ee),this.type=He.Response,this.body=void 0!==ee.body?ee.body:null}clone(ee={}){return new Wt({body:void 0!==ee.body?ee.body:this.body,headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class Ct extends dt{constructor(ee){super(ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ee.url||"(unknown url)"}`:`Http failure response for ${ee.url||"(unknown url)"}: ${ee.status} ${ee.statusText}`,this.error=ee.error||null}}function et(me,ee){return{body:ee,headers:me.headers,context:me.context,observe:me.observe,params:me.params,reportProgress:me.reportProgress,responseType:me.responseType,withCredentials:me.withCredentials}}let Te=(()=>{class me{constructor(B){this.handler=B}request(B,W,j={}){let _e;if(B instanceof Ge)_e=B;else{let st,at;st=j.headers instanceof x?j.headers:new x(j.headers),j.params&&(at=j.params instanceof Ie?j.params:new Ie({fromObject:j.params})),_e=new Ge(B,W,void 0!==j.body?j.body:null,{headers:st,context:j.context,params:at,reportProgress:j.reportProgress,responseType:j.responseType||"json",withCredentials:j.withCredentials})}const Ue=(0,O.of)(_e).pipe((0,D.b)((st=>this.handler.handle(st))));if(B instanceof Ge||"events"===j.observe)return Ue;const vt=Ue.pipe((0,M.h)((st=>st instanceof Wt)));switch(j.observe||"body"){case"body":switch(_e.responseType){case"arraybuffer":return vt.pipe((0,R.U)((st=>{if(null!==st.body&&!(st.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return st.body})));case"blob":return vt.pipe((0,R.U)((st=>{if(null!==st.body&&!(st.body instanceof Blob))throw new Error("Response is not a Blob.");return st.body})));case"text":return vt.pipe((0,R.U)((st=>{if(null!==st.body&&"string"!=typeof st.body)throw new Error("Response is not a string.");return st.body})));default:return vt.pipe((0,R.U)((st=>st.body)))}case"response":return vt;default:throw new Error(`Unreachable: unhandled observe type ${j.observe}}`)}}delete(B,W={}){return this.request("DELETE",B,W)}get(B,W={}){return this.request("GET",B,W)}head(B,W={}){return this.request("HEAD",B,W)}jsonp(B,W){return this.request("JSONP",B,{params:(new Ie).append(W,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(B,W={}){return this.request("OPTIONS",B,W)}patch(B,W,j={}){return this.request("PATCH",B,et(j,W))}post(B,W,j={}){return this.request("POST",B,et(j,W))}put(B,W,j={}){return this.request("PUT",B,et(j,W))}}return me.ɵfac=function(B){return new(B||me)(o.LFG(F))},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac}),me})();class De{constructor(ee,B){this.next=ee,this.interceptor=B}handle(ee){return this.interceptor.intercept(ee,this.next)}}const Je=new o.OlP("HTTP_INTERCEPTORS");let It=(()=>{class me{intercept(B,W){return W.handle(B)}}return me.ɵfac=function(B){return new(B||me)},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac}),me})();const qe=/^\)\]\}',?\n/;let Ft=(()=>{class me{constructor(B){this.xhrFactory=B}handle(B){if("JSONP"===B.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new S.y((W=>{const j=this.xhrFactory.build();if(j.open(B.method,B.urlWithParams),B.withCredentials&&(j.withCredentials=!0),B.headers.forEach(((Ot,Yt)=>j.setRequestHeader(Ot,Yt.join(",")))),B.headers.has("Accept")||j.setRequestHeader("Accept","application/json, text/plain, */*"),!B.headers.has("Content-Type")){const Ot=B.detectContentTypeHeader();null!==Ot&&j.setRequestHeader("Content-Type",Ot)}if(B.responseType){const Ot=B.responseType.toLowerCase();j.responseType="json"!==Ot?Ot:"text"}const _e=B.serializeBody();let Ue=null;const vt=()=>{if(null!==Ue)return Ue;const Ot=j.statusText||"OK",Yt=new x(j.getAllResponseHeaders()),Oe=function ht(me){return"responseURL"in me&&me.responseURL?me.responseURL:/^X-Request-URL:/m.test(me.getAllResponseHeaders())?me.getResponseHeader("X-Request-URL"):null}(j)||B.url;return Ue=new Qe({headers:Yt,status:j.status,statusText:Ot,url:Oe}),Ue},st=()=>{let{headers:Ot,status:Yt,statusText:Oe,url:Ve}=vt(),xe=null;204!==Yt&&(xe=typeof j.response>"u"?j.responseText:j.response),0===Yt&&(Yt=xe?200:0);let bt=Yt>=200&&Yt<300;if("json"===B.responseType&&"string"==typeof xe){const Lt=xe;xe=xe.replace(qe,"");try{xe=""!==xe?JSON.parse(xe):null}catch(Ut){xe=Lt,bt&&(bt=!1,xe={error:Ut,text:xe})}}bt?(W.next(new Wt({body:xe,headers:Ot,status:Yt,statusText:Oe,url:Ve||void 0})),W.complete()):W.error(new Ct({error:xe,headers:Ot,status:Yt,statusText:Oe,url:Ve||void 0}))},at=Ot=>{const{url:Yt}=vt(),Oe=new Ct({error:Ot,status:j.status||0,statusText:j.statusText||"Unknown Error",url:Yt||void 0});W.error(Oe)};let ie=!1;const Re=Ot=>{ie||(W.next(vt()),ie=!0);let Yt={type:He.DownloadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(Yt.total=Ot.total),"text"===B.responseType&&!!j.responseText&&(Yt.partialText=j.responseText),W.next(Yt)},St=Ot=>{let Yt={type:He.UploadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(Yt.total=Ot.total),W.next(Yt)};return j.addEventListener("load",st),j.addEventListener("error",at),j.addEventListener("timeout",at),j.addEventListener("abort",at),B.reportProgress&&(j.addEventListener("progress",Re),null!==_e&&j.upload&&j.upload.addEventListener("progress",St)),j.send(_e),W.next({type:He.Sent}),()=>{j.removeEventListener("error",at),j.removeEventListener("abort",at),j.removeEventListener("load",st),j.removeEventListener("timeout",at),B.reportProgress&&(j.removeEventListener("progress",Re),null!==_e&&j.upload&&j.upload.removeEventListener("progress",St)),j.readyState!==j.DONE&&j.abort()}}))}}return me.ɵfac=function(B){return new(B||me)(o.LFG(p.JF))},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac}),me})();const mn=new o.OlP("XSRF_COOKIE_NAME"),Le=new o.OlP("XSRF_HEADER_NAME");class be{}let fe=(()=>{class me{constructor(B,W,j){this.doc=B,this.platform=W,this.cookieName=j,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const B=this.doc.cookie||"";return B!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,p.Mx)(B,this.cookieName),this.lastCookieString=B),this.lastToken}}return me.ɵfac=function(B){return new(B||me)(o.LFG(p.K0),o.LFG(o.Lbi),o.LFG(mn))},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac}),me})(),it=(()=>{class me{constructor(B,W){this.tokenService=B,this.headerName=W}intercept(B,W){const j=B.url.toLowerCase();if("GET"===B.method||"HEAD"===B.method||j.startsWith("http://")||j.startsWith("https://"))return W.handle(B);const _e=this.tokenService.getToken();return null!==_e&&!B.headers.has(this.headerName)&&(B=B.clone({headers:B.headers.set(this.headerName,_e)})),W.handle(B)}}return me.ɵfac=function(B){return new(B||me)(o.LFG(be),o.LFG(Le))},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac}),me})(),gt=(()=>{class me{constructor(B,W){this.backend=B,this.injector=W,this.chain=null}handle(B){if(null===this.chain){const W=this.injector.get(Je,[]);this.chain=W.reduceRight(((j,_e)=>new De(j,_e)),this.backend)}return this.chain.handle(B)}}return me.ɵfac=function(B){return new(B||me)(o.LFG(N),o.LFG(o.zs3))},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac}),me})(),En=(()=>{class me{static disable(){return{ngModule:me,providers:[{provide:it,useClass:It}]}}static withOptions(B={}){return{ngModule:me,providers:[B.cookieName?{provide:mn,useValue:B.cookieName}:[],B.headerName?{provide:Le,useValue:B.headerName}:[]]}}}return me.ɵfac=function(B){return new(B||me)},me.ɵmod=o.oAB({type:me}),me.ɵinj=o.cJS({providers:[it,{provide:Je,useExisting:it,multi:!0},{provide:be,useClass:fe},{provide:mn,useValue:"XSRF-TOKEN"},{provide:Le,useValue:"X-XSRF-TOKEN"}]}),me})(),yr=(()=>{class me{}return me.ɵfac=function(B){return new(B||me)},me.ɵmod=o.oAB({type:me}),me.ɵinj=o.cJS({providers:[Te,{provide:F,useClass:gt},Ft,{provide:N,useExisting:Ft}],imports:[[En.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),me})();const Ce={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 we{constructor(ee){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ee.protocol;let B=ee.port;B||(function je(me){return/^https:$/i.test(me)}(this.protocol)?B="443":function A(me){return/^http:$/i.test(me)}(this.protocol)&&(B="80")),this.domain=ee.hostname,this.port=parseInt(B,10),this.path=ee.pathname;const W=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Ce[2087]:/^cpanel\./.test(this.domain)?Ce[2083]:/^webmail\./.test(this.domain)?Ce[2095]:Ce[B.toString()]||Ce[W[2]]||"whostmgr",this.securityToken=W[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const _e=this.path.split("/");this.theme=_e[3]}this.themePath="";let j=this.securityToken+"/";this.isUnprotected?j="/":this.isCpanel?j+="frontend/"+this.theme+"/":this.isWebmail?j+="webmail/"+this.theme+"/":this.isOther&&(j="/"),this.themePath=j,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 q(me){return me&&me.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(ee){return this.themePath+ee}buildFullPath(ee){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ee)}buildTokenPath(ee){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ee}}class Pe{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 tt=c(4235),Xe=c.n(tt),ct=c(1305),Dt=c.n(ct),ft=(()=>{return(me=ft||(ft={}))[me.Error=0]="Error",me[me.Warning=1]="Warning",me[me.Information=2]="Information",me[me.Unknown=3]="Unknown",ft;var me})();const nn={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class $t{constructor(ee){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={},ee.chunk&&(this.isPaged=!0,this.record=parseInt(ee.chunk.start,10)||0,this.page=parseInt(ee.chunk.current,10)||0,this.pageSize=parseInt(ee.chunk.size,10)||0,this.totalPages=parseInt(ee.chunk.chunks,10)||0,this.totalRecords=parseInt(ee.chunk.records,10)||0),ee.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ee.filter.filtered,10)||0);const B=new Set(["paginate","filter"]);Object.keys(ee).filter((W=>!B.has(W))).forEach((W=>{this.properties[W]=ee[W]}))}}class _t extends class Zt{constructor(ee,B){if(this.status=0,this.messages=[],this.meta=function Bt(me){return JSON.parse(JSON.stringify(me))}(nn),this.options={keepUnprocessedResponse:!1},Xe()(ee)||Dt()(ee))throw new Error("The response was unexpectedly undefined or null");B&&(this.options=B),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ee)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ee){return this.messages.filter((B=>B.type===ee))}get errors(){return this._getMessages(ft.Error)}get warnings(){return this._getMessages(ft.Warning)}get infoMessages(){return this._getMessages(ft.Information)}_hasMessages(ee){return this.messages.filter((B=>B.type===ee)).length>0}get hasErrors(){return this._hasMessages(ft.Error)}get hasWarnings(){return this._hasMessages(ft.Warning)}get hasInfoMessages(){return this._hasMessages(ft.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(ee){if(this.status=0,typeof ee.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ee.result,10)}_parseMessages(ee){if(!ee.result){const B=[ee.reason];B&&B.length&&B.forEach((W=>{this.messages.push({type:ft.Error,message:W})}))}}_reduce_list_data(ee){if("object"==typeof ee&&!(ee instanceof Array)){const B=Object.keys(ee);if(1===B.length){const W=ee[B[0]];W?W instanceof Array&&(ee=W):ee=[]}}return ee}constructor(ee,B){if(super(ee,B),!ee)throw new Error("Response object should be defined.");ee.metadata&&(this._parseStatus(ee.metadata),this._parseMessages(ee.metadata),this.meta=new $t(ee.metadata)),this.data=this._reduce_list_data(ee.data)}}var Tt=c(109),Ht=c(3022);let cn=(()=>{class me{}return me.ɵfac=function(B){return new(B||me)},me.ɵmod=o.oAB({type:me}),me.ɵinj=o.cJS({imports:[[yr]]}),me})(),on=(()=>{class me{constructor(B){this.http=B}get(B){const W=B.generate({verb:Tt.F.GET,encoder:new Ht.VN}),j=this.packageUrl(W);return this.http.get(j,{headers:this.packageHeaders(W)}).pipe((0,R.U)(this.packageResponseHandler(j)))}post(B){const W=B.generate(),j=this.packageUrl(W);return this.http.post(j,W.body,{headers:this.packageHeaders(W)}).pipe((0,R.U)(this.packageResponseHandler(j)))}packageHeaders(B){const W={};return B.headers.forEach((j=>{W[j.name]=j.value})),new x(W)}packageUrl(B){return new we(new Pe).buildTokenPath(B.url)}packageResponseHandler(B){return W=>{const j=new _t(W);return j.meta.properties.url=B,j}}}return me.ɵfac=function(B){return new(B||me)(o.LFG(Te))},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac,providedIn:"root"}),me})()},348:(G,T,c)=>{"use strict";c.d(T,{m:()=>D});var o=c(5062),p=c(269);const O=new o.OlP("window"),S=M=>new p.g(M.CLDR,M.LEXICON);let D=(()=>{class M{}return M.ɵfac=function(F){return new(F||M)},M.ɵmod=o.oAB({type:M}),M.ɵinj=o.cJS({providers:[{provide:O,useValue:window},{provide:p.g,useFactory:S,deps:[O]}],imports:[[]]}),M})()},8517:(G,T,c)=>{"use strict";c.d(T,{CQ:()=>Yt,Gy:()=>j,MF:()=>_e,Oc:()=>kt,Op:()=>Ue,Yg:()=>W,c9:()=>ne,df:()=>hn,hF:()=>Ot});var o=c(5062),p=c(6895),O=c(8929),S=c(2198),D=c(348),M=c(269),R=c(7340),F=c(8746);const ve=["header"];function pe(X,Se){if(1&X){const $=o.EpF();o.TgZ(0,"button",4),o.NdJ("click",(function(){return o.CHM($),o.oxw().closeClicked()})),o._UZ(1,"i",5),o.qZA()}if(2&X){const $=o.oxw();o.uIk("id",$.buttonID)}}const ye=[[["","callout-heading",""]],"*"],Ie=["[callout-heading]","*"];function Me(X,Se){if(1&X&&(o.TgZ(0,"label",10)(1,"span",11),o._uU(2),o.qZA()()),2&X){const $=o.oxw();o.s9C("for",$.toggleID),o.uIk("aria-label",$.labelValue),o.xp6(1),o.uIk("id",$.onTextID),o.xp6(1),o.hij(" ",$.isToggleOff?$.offText:$.onText," ")}}function ue(X,Se){if(1&X&&o._UZ(0,"i",12),2&X){const $=o.oxw();o.uIk("id",$.leftSpinnerID)}}function yt(X,Se){if(1&X&&(o.TgZ(0,"label",13)(1,"span",14),o._uU(2),o.qZA()()),2&X){const $=o.oxw();o.s9C("for",$.toggleID),o.uIk("aria-label",$.labelValue),o.xp6(1),o.uIk("id",$.offTextID),o.xp6(1),o.hij(" ",$.isToggleOff?$.offText:$.onText," ")}}function Et(X,Se){if(1&X&&o._UZ(0,"i",15),2&X){const $=o.oxw();o.uIk("id",$.rightSpinnerID)}}const Ge=function(X,Se,$){return{"switch-on":X,"switch-off":Se,disabled:$}},He=function(X){return{disabled:X}},dt=function(X,Se){return{"switch-on":X,"switch-off":Se}};function Qe(X,Se){if(1&X){const $=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",(function(){return o.CHM($),o.oxw(2).fireClose()})),o.TgZ(1,"span"),o._uU(2,"×"),o.qZA()()}if(2&X){const $=o.oxw(2);o.Q6J("id",$.closeButtonID)("title",$.closeLabel),o.uIk("aria-label",$.closeLabel),o.xp6(1),o.uIk("aria-hidden",!0)}}function Wt(X,Se){if(1&X){const $=o.EpF();o.TgZ(0,"button",10),o.NdJ("click",(function(){return o.CHM($),o.oxw(2).fireToggleMore()})),o._uU(1),o.qZA()}if(2&X){const $=o.oxw(2);o.Q6J("id",$.moreButtonID),o.xp6(1),o.hij(" ",$.moreLabel," ")}}function Ct(X,Se){if(1&X&&(o.TgZ(0,"strong",11),o._uU(1),o.qZA()),2&X){const $=o.oxw(2);o.xp6(1),o.Oqu($.label)}}function et(X,Se){if(1&X&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&X){const $=o.oxw(2);o.Q6J("id",$.textMessageID),o.xp6(1),o.hij(" ",$.message," ")}}function Te(X,Se){if(1&X&&(o.TgZ(0,"li")(1,"span",12),o._uU(2),o.qZA()()),2&X){const $=Se.$implicit,Be=Se.index,Nt=o.oxw(3);o.xp6(1),o.s9C("id",Nt.textListID+"_"+Be),o.xp6(1),o.hij(" ",$," ")}}function De(X,Se){if(1&X&&(o.TgZ(0,"ul",13),o.YNc(1,Te,3,2,"li",14),o.qZA()),2&X){const $=o.oxw(2);o.xp6(1),o.Q6J("ngForOf",$.alert.list)}}function Je(X,Se){if(1&X&&(o.TgZ(0,"div",1),o.YNc(1,Qe,3,4,"button",2),o.YNc(2,Wt,2,2,"button",3),o._UZ(3,"span"),o.TgZ(4,"div",4),o.YNc(5,Ct,2,1,"strong",5),o.TgZ(6,"span",6),o.YNc(7,et,2,2,"span",7),o.qZA(),o.YNc(8,De,2,1,"ul",8),o.qZA()()),2&X){const $=o.oxw();o.Gre("alert alert-",$.type," ng-hide"),o.Q6J("@openClose",$.animationClass),o.xp6(1),o.Q6J("ngIf",$.showCloseButton),o.xp6(1),o.Q6J("ngIf",$.showMoreButton),o.xp6(1),o.Tol($.icon),o.uIk("aria-hidden",!0),o.xp6(2),o.Q6J("ngIf",$.hasLabel),o.xp6(2),o.Q6J("ngIf",$.message),o.xp6(1),o.Q6J("ngIf",$.alert&&$.alert.list&&$.alert.list.length)}}function It(X,Se){if(1&X){const $=o.EpF();o.TgZ(0,"div",6)(1,"cp-alert",7),o.NdJ("close",(function(){const Cn=o.CHM($).$implicit;return o.oxw().alertClosed(Cn)})),o.qZA()()}if(2&X){const $=Se.$implicit;o.xp6(1),o.Q6J("alert",$)}}function wt(X,Se){if(1&X&&o._UZ(0,"div",8),2&X){const $=o.oxw();o.Q6J("ngClass",$.positionClasses)}}class je{constructor(Se,$,Be=je.defaultOptions){this._message=Se,this._type=$;const Nt=Be.id?Be.id:Math.random().toString(36).substr(2,9);this._id=Nt,this._closable=Be.isCloseable??!0,this._autoClosePeriod=Be.autoClosePeriod,this._list=Be.list,this._showMore=Be.showMore||je.defaultShowMore,this._ts=Be.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(Se){const{message:$,type:Be,...Nt}=Se;return new je($,Be,Nt)}}je.defaultShowMore=!1,je.defaultAutoClosePeriod=0,je.defaultOptions={autoClosePeriod:je.defaultAutoClosePeriod,list:[]};var A=(()=>{return(X=A||(A={}))[X.error=0]="error",X[X.success=1]="success",X[X.warning=2]="warning",X[X.information=3]="information",A;var X})(),q=(()=>{return(X=q||(q={})).add="add",X.remove="remove",X.clear="clear",q;var X})();let ne=(()=>{class X{constructor(){this._alertEventsSource=new O.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add($,Be=X.defaultGroup){this._alerts[Be]||(this._alerts[Be]=[]);const Nt=$ instanceof je?$:je.makeAlert($);if(this.list(Be).push(Nt),this._alertEventsSource.next({type:q.add,group:Be,alert:Nt}),(0,o.X6Q)())switch(Nt.type){case A.error:console.error(Nt.message,Nt);break;case A.warning:console.warn(Nt.message,Nt);break;default:console.log(Nt.message,Nt)}return Nt}success($,Be=X.defaultGroup){return this.add(new je($,A.success,X.defaultSuccessOptions),Be)}error($,Be=X.defaultGroup){return this.add({message:$,type:A.error},Be)}info($,Be=X.defaultGroup){return this.add({message:$,type:A.information},Be)}warn($,Be=X.defaultGroup){return this.add({message:$,type:A.warning},Be)}removeById($,Be=X.defaultGroup){const Nt=this.list(Be),Cn=Nt.findIndex((Bn=>Bn.id===$),0);if(-1!==Cn){const Bn=Nt[Cn];Nt.splice(Cn,1),this._alertEventsSource.next({type:q.remove,group:Be,alert:Bn})}}clear($=X.defaultGroup){this._alerts[$]=[],this._alertEventsSource.next({type:q.clear,group:$})}list($=X.defaultGroup){return null==this._alerts[$]&&(this._alerts[$]=[]),this._alerts[$]}}return X.defaultGroup="__DEFAULT__",X.defaultSuccessOptions={autoClosePeriod:1e4},X.ɵfac=function($){return new($||X)},X.ɵprov=o.Yz7({token:X,factory:X.ɵfac,providedIn:"root"}),X})();var we=(()=>{return(X=we||(we={})).inline="inline",X.topLeft="top-left",X.topMiddle="top-middle",X.topRight="top-right",X.bottomLeft="bottom-left",X.bottomMiddle="bottom-middle",X.bottomRight="bottom-right",X.middleLeft="middle-left",X.middleMiddle="middle-middle",X.middleRight="middle-right",we;var X})();const tt=we.topRight,Xe=we.topLeft;var dn=(()=>{return(X=dn||(dn={})).warnings="warnings",X.danger="danger",X.info="info",X.default="info",dn;var X})();let kt=(()=>{class X{constructor(){this.calloutType=dn.default,this.closeable=!1,this.close=new o.vpe}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}}return X.ɵfac=function($){return new($||X)},X.ɵcmp=o.Xpm({type:X,selectors:[["cp-callout"]],viewQuery:function($,Be){if(1&$&&o.Gf(ve,5),2&$){let Nt;o.iGM(Nt=o.CRH())&&(Be.header=Nt.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Ie,decls:7,vars:7,consts:[["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["header",""],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function($,Be){1&$&&(o.F$t(ye),o.TgZ(0,"div",0),o.YNc(1,pe,2,1,"button",1),o.TgZ(2,"div",2,3),o.Hsn(4),o.qZA(),o.TgZ(5,"div"),o.Hsn(6,1),o.qZA()()),2&$&&(o.Gre("callout callout-",Be.calloutType,""),o.uIk("aria-label",Be.calloutType),o.xp6(1),o.Q6J("ngIf",Be.closeable),o.xp6(1),o.uIk("id",Be.headingID),o.xp6(3),o.uIk("id",Be.contentID))},directives:[p.O5],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']}),X})(),hn=(()=>{class X{}return X.ɵfac=function($){return new($||X)},X.ɵmod=o.oAB({type:X}),X.ɵinj=o.cJS({imports:[[p.ez]]}),X})();var W=(()=>{return(X=W||(W={})).toggleOn="toggleSwitchOn",X.toggleOff="toggleSwitchOff",X.toggleUpdating="toggleSwitchUpdating",W;var X})(),j=(()=>{return(X=j||(j={})).left="left",X.right="right",j;var X})();let _e=(()=>{class X{constructor($){this.locale=$,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new o.vpe,this._isToggleUpdating=!1,this._hasSpinner=!1}set toggleState($){switch(this._toggleState=$,$){case W.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case W.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case W.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle($){this.isDisabled||this._isToggleUpdating||("click"===$.type?this.toggleStatus.emit($):"keyup"===$.type&&((13===$.keyCode||32===$.keyCode)&&this.toggleStatus.emit($),this.isLTR?37!==$.keyCode||this._isToggleOffStatus?39===$.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit($):this.toggleStatus.emit($):(37===$.keyCode&&this._isToggleOffStatus||39===$.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit($)))}isLabelVisible($){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||$!==this.labelPosition)||void 0)}isSpinnerVisible($){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||$!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return j.left}get rightLabelPosition(){return j.right}get isLTR(){return this.locale.isLtr}}return X.ɵfac=function($){return new($||X)(o.Y36(M.g))},X.ɵcmp=o.Xpm({type:X,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"ngClass","click","keyup"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function($,Be){1&$&&(o.TgZ(0,"div",0),o.NdJ("click",(function(Cn){return Be.checkToggle(Cn)}))("keyup",(function(Cn){return Be.checkToggle(Cn)})),o.YNc(1,Me,3,4,"label",1),o.YNc(2,ue,1,1,"i",2),o.TgZ(3,"div",3)(4,"div",4),o._UZ(5,"span",5)(6,"span",6)(7,"span",7),o.qZA()(),o.YNc(8,yt,3,4,"label",8),o.YNc(9,Et,1,1,"i",9),o.qZA()),2&$&&(o.Q6J("ngClass",o.kEZ(10,Ge,!Be.isToggleOff,Be.isToggleOff,Be.isDisabled||Be.isToggleUpdating)),o.uIk("id",Be.toggleID)("value",Be.labelValue)("aria-checked",!Be.isToggleOff),o.xp6(1),o.Q6J("ngIf",Be.isLabelVisible(Be.leftLabelPosition)),o.xp6(1),o.Q6J("ngIf",Be.isSpinnerVisible(Be.leftLabelPosition)),o.xp6(1),o.Q6J("ngClass",o.VKq(14,He,Be.isDisabled||Be.isToggleUpdating)),o.xp6(1),o.Q6J("ngClass",o.WLB(16,dt,!Be.isToggleOff,Be.isToggleOff)),o.xp6(4),o.Q6J("ngIf",Be.isLabelVisible(Be.rightLabelPosition)),o.xp6(1),o.Q6J("ngIf",Be.isSpinnerVisible(Be.rightLabelPosition)))},directives:[p.mk,p.O5],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']}),X})(),Ue=(()=>{class X{}return X.ɵfac=function($){return new($||X)},X.ɵmod=o.oAB({type:X}),X.ɵinj=o.cJS({imports:[[p.ez,D.m]]}),X})();var at=(()=>{return(X=at||(at={})).new="new",X.closed="closed",X.open="open",at;var X})();let ie=(()=>{class X{constructor($){this.locale=$,this.close=new o.vpe,this.toggleMore=new o.vpe,this.animationClass=at.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 A.success:this.label=this.locale.maketext("Success:");break;case A.error:this.label=this.locale.maketext("Error:");break;case A.information:this.label=this.locale.maketext("Information:");break;case A.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=at.open}),.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case A.error:return"type-icon fas fa-times-circle";case A.warning:return"type-icon fas fa-exclamation-triangle";case A.information:return"type-icon fas fa-info-circle";case A.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case A.error:return"danger";case A.warning:return"warning";case A.information:return"info";case A.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=at.closed,setTimeout((()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0}),250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const $=this.label;return null!==$&&""!==$}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(...$){return $.join("_")}}return X.ɵfac=function($){return new($||X)(o.Y36(M.g))},X.ɵcmp=o.Xpm({type:X,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($,Be){1&$&&o.YNc(0,Je,9,13,"div",0),2&$&&o.Q6J("ngIf",!Be.isClosed)},directives:[p.O5,p.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:[(0,R.X$)("openClose",[(0,R.SB)(at.new,(0,R.oB)({opacity:0})),(0,R.SB)(at.open,(0,R.oB)({opacity:1})),(0,R.SB)(at.closed,(0,R.oB)({opacity:0,transform:"translateX(25%)"})),(0,R.eR)(`${at.open} => ${at.closed}`,[(0,R.jt)("0.25s")]),(0,R.eR)(`${at.new} => ${at.open}`,[(0,R.jt)("0.25s")]),(0,R.eR)(`${at.closed} => ${at.open}`,[(0,R.jt)("0.25s")])])]}}),X})(),Re=(()=>{class X{}return X.ɵfac=function($){return new($||X)},X.ɵmod=o.oAB({type:X}),X.ɵinj=o.cJS({imports:[[p.ez,F.PW,D.m]]}),X})(),St=(()=>{class X{constructor($){this.locale=$}get position(){return this.locale.isLtr?tt:Xe}}return X.ɵfac=function($){return new($||X)(o.LFG(M.g))},X.ɵprov=o.Yz7({token:X,factory:X.ɵfac,providedIn:"root"}),X})(),Ot=(()=>{class X{constructor($,Be){this._alertService=$,this._positionService=Be,this.alerts=this.alerts?this.alerts:[]}set position($){this._position=((X,Se=we.topRight)=>{if(X){const $=(X=>{const Se=Object.keys(we),Be=Object.values(we).indexOf(X);return-1!==Be?Se[Be]:(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)})(X);if($)return we[$]}return Se})($)}get position(){return this._position.toString()}alertClosed($){this._alertService.removeById($.id,this.group)}ngOnInit(){this.group||(this.group=ne.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((Be=>this._addAlert(Be))),this._groupEvents=this._alertService.alertEvents.pipe((0,S.h)((Be=>Be.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById($){return this.alerts.findIndex((Be=>Be.id===$))}_addAlert($){return this.alerts.push($),this.alerts}_removeAlert($){const Be=this._findAlertIndexById($.id);return Be>-1&&(this.alerts.splice(Be,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent($){switch($.type){case q.add:this._addAlert($.alert);break;case q.clear:this._clearAlerts();break;case q.remove:this._removeAlert($.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?X.positionPrefix+we.inline.toString():X.positionPrefix+this.position.toString()}}return X.positionPrefix="position-",X.ɵfac=function($){return new($||X)(o.Y36(ne),o.Y36(St))},X.ɵcmp=o.Xpm({type:X,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($,Be){1&$&&(o.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),o.YNc(5,It,2,1,"div",4),o.qZA()(),o.YNc(6,wt,1,1,"div",5),o.qZA()),2&$&&(o.xp6(1),o.Q6J("ngClass",Be.positionClasses),o.xp6(4),o.Q6J("ngForOf",Be.alerts),o.xp6(1),o.Q6J("ngIf",Be.hasAlerts))},directives:[ie,p.mk,p.sg,p.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}}"]}),X})(),Yt=(()=>{class X{}return X.ɵfac=function($){return new($||X)},X.ɵmod=o.oAB({type:X}),X.ɵinj=o.cJS({imports:[[p.ez,Re]]}),X})()},2381:(G,T,c)=>{"use strict";c.d(T,{oj:()=>R});var o=c(5062),p=c(1607),O=c(8200);class D{constructor(N,x,k){this.nodes=N,this.viewRef=x,this.componentRef=k}}class M{constructor(N,x,k,Z,Q,ve,pe,ye){this._viewContainerRef=N,this._renderer=x,this._elementRef=k,this._injector=Z,this._componentFactoryResolver=Q,this._ngZone=ve,this._applicationRef=pe,this._posService=ye,this.onBeforeShow=new o.vpe,this.onShown=new o.vpe,this.onBeforeHide=new o.vpe,this.onHidden=new o.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(N){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(N),this}to(N){return this.container=N||this.container,this}position(N){return N?(this.attachment=N.attachment||this.attachment,this._elementRef=N.target||this._elementRef,this):this}provide(N){return this._providers.push(N),this}show(N={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(N.content,N.context,N.initialState);const x=o.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(x,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,N),this.container instanceof o.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const k=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!k)return;k.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(N.id?{id:N.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(N){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const x=this._componentRef.location.nativeElement;return x.parentNode?.removeChild(x),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(N?{id:N}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(N){this.triggers=N.triggers||this.triggers,this._listenOpts.outsideClick=N.outsideClick,this._listenOpts.outsideEsc=N.outsideEsc,N.target=N.target||this._elementRef?.nativeElement;const x=this._listenOpts.hide=()=>N.hide?N.hide():void this.hide(),k=this._listenOpts.show=Q=>{N.show?N.show(Q):this.show(Q),Q()};return this._renderer&&(this._unregisterListenersFn=(0,p.wo)(this._renderer,{target:N.target,triggers:N.triggers,show:k,hide:x,toggle:Q=>{this.isShown?x():k(Q)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(N,x){return N&&x&&(this._inlineViewRef=N.createEmbeddedView(x)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const N=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,p.Rg)(this._renderer,{targets:[N,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,p.C)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe((()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((()=>{!this._componentRef||this._posService.calcPosition()})))}_unsubscribePositioning(){!this._zoneSubscription||(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(N,x,k){if(!N)return new D([]);if(N instanceof o.Rgc){if(this._viewContainerRef){const ve=this._viewContainerRef.createEmbeddedView(N,x);return ve.markForCheck(),new D([ve.rootNodes],ve)}const Q=N.createEmbeddedView({});return this._applicationRef.attachView(Q),new D([Q.rootNodes],Q)}if("function"==typeof N){const Q=this._componentFactoryResolver.resolveComponentFactory(N),ve=o.zs3.create({providers:this._providers,parent:this._injector}),pe=Q.create(ve);return Object.assign(pe.instance,k),this._applicationRef.attachView(pe.hostView),new D([[pe.location.nativeElement]],pe.hostView,pe)}const Z=this._renderer?[this._renderer.createText(`${N}`)]:[];return new D([Z])}}let R=(()=>{class F{constructor(x,k,Z,Q,ve){this._componentFactoryResolver=x,this._ngZone=k,this._injector=Z,this._posService=Q,this._applicationRef=ve}createLoader(x,k,Z){return new M(k,Z,x,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return F.ɵfac=function(x){return new(x||F)(o.LFG(o._Vd),o.LFG(o.R0b),o.LFG(o.zs3),o.LFG(O.sA),o.LFG(o.z2F))},F.ɵprov=o.Yz7({token:F,factory:F.ɵfac,providedIn:"root"}),F})()},9245:(G,T,c)=>{"use strict";c.d(T,{Hz:()=>ye,Mq:()=>Ie,TO:()=>pe,mr:()=>Mt});var o=c(5062),p=c(2198),O=c(2381),S=c(1607),D=c(7340),M=c(6895),R=c(8200);const F=function(Ne){return{dropdown:Ne}},N=["*"];let x=(()=>{class Ne{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return Ne.ɵfac=function(Me){return new(Me||Ne)},Ne.ɵprov=o.Yz7({token:Ne,factory:Ne.ɵfac,providedIn:"root"}),Ne})(),k=(()=>{class Ne{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new o.vpe,this.isDisabledChange=new o.vpe,this.toggleClick=new o.vpe,this.counts=0,this.dropdownMenu=new Promise((Me=>{this.resolveDropdownMenu=Me}))}}return Ne.ɵfac=function(Me){return new(Me||Ne)},Ne.ɵprov=o.Yz7({token:Ne,factory:Ne.ɵfac,providedIn:"platform"}),Ne})();const Q=[(0,D.oB)({height:0,overflow:"hidden"}),(0,D.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,D.oB)({height:"*",overflow:"hidden"}))];let ve=(()=>{class Ne{constructor(Me,ue,yt,Et,Ge){this._state=Me,this.cd=ue,this._renderer=yt,this._element=Et,this.isOpen=!1,this._factoryDropDownAnimation=Ge.build(Q),this._subscription=Me.isOpenChange.subscribe((He=>{this.isOpen=He;const dt=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),dt&&!(0,S.XA)()&&(this._renderer.addClass(dt,"show"),(dt.classList.contains("dropdown-menu-right")||dt.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(dt,"left","auto"),this._renderer.setStyle(dt,"right","0")),"up"===this.direction&&(this._renderer.setStyle(dt,"top","auto"),this._renderer.setStyle(dt,"transform","translateY(-101%)"))),dt&&this._state.isAnimated&&this._factoryDropDownAnimation.create(dt).play(),this.cd.markForCheck(),this.cd.detectChanges()}))}get direction(){return this._state.direction}_contains(Me){return this._element.nativeElement.contains(Me)}ngOnDestroy(){this._subscription.unsubscribe()}}return Ne.ɵfac=function(Me){return new(Me||Ne)(o.Y36(k),o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(D._j))},Ne.ɵcmp=o.Xpm({type:Ne,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:N,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(Me,ue){1&Me&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA()),2&Me&&(o.ekj("dropup","up"===ue.direction)("show",ue.isOpen)("open",ue.isOpen),o.Q6J("ngClass",o.VKq(7,F,"down"===ue.direction)))},directives:[M.mk],encapsulation:2,changeDetection:0}),Ne})(),pe=(()=>{class Ne{constructor(Me,ue,yt,Et,Ge,He,dt){this._elementRef=Me,this._renderer=ue,this._viewContainerRef=yt,this._cis=Et,this._state=Ge,this._config=He,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=dt.build(Q),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:k,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(Me){this._state.autoClose=Me}get autoClose(){return this._state.autoClose}set isAnimated(Me){this._state.isAnimated=Me}get isAnimated(){return this._state.isAnimated}set insideClick(Me){this._state.insideClick=Me}get insideClick(){return this._state.insideClick}set isDisabled(Me){this._isDisabled=Me,this._state.isDisabledChange.emit(Me),Me&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(Me){Me?this.show():this.hide()}get isBs4(){return!(0,S.XA)()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe((Me=>this.toggle(Me)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,p.h)((Me=>Me))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then((Me=>{this._dropdown.attachInline(Me.viewContainer,Me.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()})).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then((Me=>{const ue=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ue?"up":"down";const yt=this.placement||(ue?"top start":"bottom start");this._dropdown.attach(ve).to(this.container).position({attachment:yt}).show({content:Me.templateRef,placement:yt}),this._state.isOpenChange.emit(!0)})).catch()}}hide(){!this.isOpen||(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(Me){return this.isOpen||!Me?this.hide():this.show()}_contains(Me){return this._elementRef.nativeElement.contains(Me.target)||this._dropdown.instance&&this._dropdown.instance._contains(Me.target)}navigationClick(Me){const ue=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ue)return;const yt=this._elementRef.nativeElement.ownerDocument.activeElement,Et=ue.querySelectorAll(".dropdown-item");switch(Me.keyCode){case 38:this._state.counts>0&&Et[--this._state.counts].focus();break;case 40:this._state.counts+1<Et.length&&(yt.classList!==Et[this._state.counts].classList?Et[this._state.counts].focus():Et[++this._state.counts].focus())}Me.preventDefault()}ngOnDestroy(){for(const Me of this._subscriptions)Me.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){(0,S.XA)()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout((()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()}))}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const Me=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",Me?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",Me?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return Ne.ɵfac=function(Me){return new(Me||Ne)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.s_b),o.Y36(O.oj),o.Y36(k),o.Y36(x),o.Y36(D._j))},Ne.ɵdir=o.lG2({type:Ne,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(Me,ue){1&Me&&o.NdJ("keydown.arrowDown",(function(Et){return ue.navigationClick(Et)}))("keydown.arrowUp",(function(Et){return ue.navigationClick(Et)})),2&Me&&o.ekj("dropup",ue.dropup)("open",ue.isOpen)("show",ue.isOpen&&ue.isBs4)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[o._Bn([k])]}),Ne})(),ye=(()=>{class Ne{constructor(Me,ue,yt){Me.resolveDropdownMenu({templateRef:yt,viewContainer:ue})}}return Ne.ɵfac=function(Me){return new(Me||Ne)(o.Y36(k),o.Y36(o.s_b),o.Y36(o.Rgc))},Ne.ɵdir=o.lG2({type:Ne,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),Ne})(),Ie=(()=>{class Ne{constructor(Me,ue,yt,Et,Ge){this._changeDetectorRef=Me,this._dropdown=ue,this._element=yt,this._renderer=Et,this._state=Ge,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((He=>{this.isOpen=He,He?(this._documentClickListener=this._renderer.listen("document","click",(dt=>{this._state.autoClose&&2!==dt.button&&!this._element.nativeElement.contains(dt.target)&&(!this._state.insideClick||!this._dropdown._contains(dt))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",(()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}))):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())}))),this._subscriptions.push(this._state.isDisabledChange.subscribe((He=>this.isDisabled=He||void 0)))}onClick(Me){this._state.stopOnClickPropagation&&Me.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const Me of this._subscriptions)Me.unsubscribe()}}return Ne.ɵfac=function(Me){return new(Me||Ne)(o.Y36(o.sBO),o.Y36(pe),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(k))},Ne.ɵdir=o.lG2({type:Ne,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(Me,ue){1&Me&&o.NdJ("click",(function(Et){return ue.onClick(Et)})),2&Me&&o.uIk("aria-haspopup",!0)("disabled",ue.isDisabled)("aria-expanded",ue.isOpen)},exportAs:["bs-dropdown-toggle"]}),Ne})(),Mt=(()=>{class Ne{static forRoot(){return{ngModule:Ne,providers:[O.oj,R.sA,k]}}}return Ne.ɵfac=function(Me){return new(Me||Ne)},Ne.ɵmod=o.oAB({type:Ne}),Ne.ɵinj=o.cJS({imports:[[M.ez]]}),Ne})()},388:(G,T,c)=>{"use strict";c.d(T,{tT:()=>ht,zk:()=>mn});var o=c(5062),p=c(1607),O=c(6895),S=c(2986);let M,D=(()=>{class Le{constructor(){this._focusTrapStack=[]}register(fe){this._focusTrapStack=this._focusTrapStack.filter((gt=>gt!==fe));let it=this._focusTrapStack;it.length&&it[it.length-1]._disable(),it.push(fe),fe._enable()}deregister(fe){fe._disable();const it=this._focusTrapStack,gt=it.indexOf(fe);-1!==gt&&(it.splice(gt,1),it.length&&it[it.length-1]._enable())}}return Le.ɵfac=function(fe){return new(fe||Le)},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"root"}),Le})();try{M=typeof Intl<"u"&&Intl.v8BreakIterator}catch{M=!1}let R=(()=>{class Le{constructor(fe){this._platformId=fe,this.isBrowser=this._platformId?(0,O.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!M)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return Le.ɵfac=function(fe){return new(fe||Le)(o.LFG(o.Lbi))},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"root"}),Le})(),N=(()=>{class Le{constructor(fe){this._platform=fe}isDisabled(fe){return fe.hasAttribute("disabled")}isVisible(fe){return function k(Le){return!!(Le.offsetWidth||Le.offsetHeight||"function"==typeof Le.getClientRects&&Le.getClientRects().length)}(fe)&&"visible"===getComputedStyle(fe).visibility}isTabbable(fe){if(!this._platform.isBrowser)return!1;const it=function x(Le){try{return Le.frameElement}catch{return null}}(function Me(Le){return Le.ownerDocument&&Le.ownerDocument.defaultView||window}(fe));if(it&&(-1===Mt(it)||!this.isVisible(it)))return!1;let gt=fe.nodeName.toLowerCase(),Kt=Mt(fe);return fe.hasAttribute("contenteditable")?-1!==Kt:!("iframe"===gt||"object"===gt||this._platform.WEBKIT&&this._platform.IOS&&!function Ne(Le){let be=Le.nodeName.toLowerCase(),fe="input"===be&&Le.type;return"text"===fe||"password"===fe||"select"===be||"textarea"===be}(fe))&&("audio"===gt?!!fe.hasAttribute("controls")&&-1!==Kt:"video"===gt?-1!==Kt&&(null!==Kt||this._platform.FIREFOX||fe.hasAttribute("controls")):fe.tabIndex>=0)}isFocusable(fe,it){return function Ke(Le){return!function Q(Le){return function pe(Le){return"input"==Le.nodeName.toLowerCase()}(Le)&&"hidden"==Le.type}(Le)&&(function Z(Le){let be=Le.nodeName.toLowerCase();return"input"===be||"select"===be||"button"===be||"textarea"===be}(Le)||function ve(Le){return function ye(Le){return"a"==Le.nodeName.toLowerCase()}(Le)&&Le.hasAttribute("href")}(Le)||Le.hasAttribute("contenteditable")||Ie(Le))}(fe)&&!this.isDisabled(fe)&&(it?.ignoreVisibility||this.isVisible(fe))}}return Le.ɵfac=function(fe){return new(fe||Le)(o.LFG(R))},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"root"}),Le})();function Ie(Le){if(!Le.hasAttribute("tabindex")||void 0===Le.tabIndex)return!1;let be=Le.getAttribute("tabindex");return"-32768"!=be&&!(!be||isNaN(parseInt(be,10)))}function Mt(Le){if(!Ie(Le))return null;const be=parseInt(Le.getAttribute("tabindex")||"",10);return isNaN(be)?-1:be}function ue(Le){return null!=Le&&"false"!=`${Le}`}class yt{constructor(be,fe,it,gt,Kt=!1){this._element=be,this._checker=fe,this._ngZone=it,this._document=gt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Kt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(be){this._enabled=be,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(be,this._startAnchor),this._toggleAnchorTabIndex(be,this._endAnchor))}destroy(){const be=this._startAnchor,fe=this._endAnchor;be&&(be.removeEventListener("focus",this.startAnchorListener),be.parentNode&&be.parentNode.removeChild(be)),fe&&(fe.removeEventListener("focus",this.endAnchorListener),fe.parentNode&&fe.parentNode.removeChild(fe)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular((()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise((be=>{this._executeOnStable((()=>be(this.focusInitialElement())))}))}focusFirstTabbableElementWhenReady(){return new Promise((be=>{this._executeOnStable((()=>be(this.focusFirstTabbableElement())))}))}focusLastTabbableElementWhenReady(){return new Promise((be=>{this._executeOnStable((()=>be(this.focusLastTabbableElement())))}))}_getRegionBoundary(be){let fe=this._element.querySelectorAll(`[cdk-focus-region-${be}], [cdkFocusRegion${be}], [cdk-focus-${be}]`);for(let it=0;it<fe.length;it++)fe[it].hasAttribute(`cdk-focus-${be}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${be}', use 'cdkFocusRegion${be}' instead. The deprecated attribute will be removed in 8.0.0.`,fe[it]):fe[it].hasAttribute(`cdk-focus-region-${be}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${be}', use 'cdkFocusRegion${be}' instead. The deprecated attribute will be removed in 8.0.0.`,fe[it]);return"start"==be?fe.length?fe[0]:this._getFirstTabbableElement(this._element):fe.length?fe[fe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const be=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(be){if(be.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",be),!this._checker.isFocusable(be)){const fe=this._getFirstTabbableElement(be);return fe?.focus(),!!fe}return be.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const be=this._getRegionBoundary("start");return be&&be.focus(),!!be}focusLastTabbableElement(){const be=this._getRegionBoundary("end");return be&&be.focus(),!!be}hasAttached(){return this._hasAttached}_getFirstTabbableElement(be){if(this._checker.isFocusable(be)&&this._checker.isTabbable(be))return be;let fe=be.children||be.childNodes;for(let it=0;it<fe.length;it++){let gt=fe[it].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(fe[it]):null;if(gt)return gt}return null}_getLastTabbableElement(be){if(this._checker.isFocusable(be)&&this._checker.isTabbable(be))return be;let fe=be.children||be.childNodes;for(let it=fe.length-1;it>=0;it--){let gt=fe[it].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(fe[it]):null;if(gt)return gt}return null}_createAnchor(){const be=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,be),be.classList.add("cdk-visually-hidden"),be.classList.add("cdk-focus-trap-anchor"),be.setAttribute("aria-hidden","true"),be}_toggleAnchorTabIndex(be,fe){be?fe.setAttribute("tabindex","0"):fe.removeAttribute("tabindex")}toggleAnchors(be){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(be,this._startAnchor),this._toggleAnchorTabIndex(be,this._endAnchor))}_executeOnStable(be){this._ngZone.isStable?be():this._ngZone.onStable.pipe((0,S.q)(1)).subscribe(be)}}let Et=(()=>{class Le{constructor(fe,it,gt){this._checker=fe,this._ngZone=it,this._document=gt}create(fe,it=!1){return new yt(fe,this._checker,this._ngZone,this._document,it)}}return Le.ɵfac=function(fe){return new(fe||Le)(o.LFG(N),o.LFG(o.R0b),o.LFG(O.K0))},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"root"}),Le})(),Ge=(()=>{class Le{constructor(fe,it,gt){this._elementRef=fe,this._focusTrapFactory=it,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=gt,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(fe){this.focusTrap.enabled=ue(fe)}get autoCapture(){return this._autoCapture}set autoCapture(fe){this._autoCapture=ue(fe)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(fe){const it=fe.autoCapture;it&&!it.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return Le.ɵfac=function(fe){return new(fe||Le)(o.Y36(o.SBq),o.Y36(Et),o.Y36(O.K0))},Le.ɵdir=o.lG2({type:Le,selectors:[["","focusTrap",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[o.TTD]}),Le})(),He=(()=>{class Le{static forRoot(){return{ngModule:Le,providers:[D,R,N]}}}return Le.ɵfac=function(fe){return new(fe||Le)},Le.ɵmod=o.oAB({type:Le}),Le.ɵinj=o.cJS({imports:[[O.ez]]}),Le})();var dt=c(2381),Qe=c(8200);const Wt=["*"];let Ct=(()=>{class Le{constructor(){this.hide=()=>{},this.setClass=()=>{}}}return Le.ɵfac=function(fe){return new(fe||Le)},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"platform"}),Le})(),Te=(()=>{class Le{}return Le.ɵfac=function(fe){return new(fe||Le)},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"platform"}),Le})();const De={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},Je=new o.OlP("override-default-config");let lt=(()=>{class Le{constructor(fe,it,gt){this._element=it,this._renderer=gt,this.isShown=!1,this.isAnimated=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},fe)}ngOnInit(){this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout((()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,(0,p.XA)()?"in":"show")}),this.isAnimated?150:0),document&&document.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(fe){this.clickStartedInContent=fe.target!==this._element.nativeElement}onClickStop(fe){this.config.ignoreBackdropClick||"static"===this.config.backdrop||fe.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(fe){!this.isShown||((27===fe.keyCode||"Escape"===fe.key)&&fe.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding&&this.isShown){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then((()=>this._hide()),(()=>{}));this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,(0,p.XA)()?"in":"show"),setTimeout((()=>{this.isShown=!1,document&&document.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1}),this.isAnimated?300:0)}}return Le.ɵfac=function(fe){return new(fe||Le)(o.Y36(Te),o.Y36(o.SBq),o.Y36(o.Qsj))},Le.ɵcmp=o.Xpm({type:Le,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(fe,it){1&fe&&o.NdJ("mousedown",(function(Kt){return it.onClickStarted(Kt)}))("click",(function(Kt){return it.onClickStop(Kt)}))("popstate",(function(){return it.onPopState()}),!1,o.Jf7)("keydown.esc",(function(Kt){return it.onEsc(Kt)}),!1,o.Jf7),2&fe&&o.uIk("aria-modal",!0)("aria-labelledby",it.config.ariaLabelledBy)("aria-describedby",it.config.ariaDescribedby)},ngContentSelectors:Wt,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(fe,it){1&fe&&(o.F$t(),o.TgZ(0,"div",0)(1,"div",1),o.Hsn(2),o.qZA()()),2&fe&&o.Tol("modal-dialog"+(it.config.class?" "+it.config.class:""))},directives:[Ge],encapsulation:2}),Le})(),Ee=(()=>{class Le{constructor(fe,it){this._isAnimated=!1,this._isShown=!1,this.element=fe,this.renderer=it}get isAnimated(){return this._isAnimated}set isAnimated(fe){this._isAnimated=fe}get isShown(){return this._isShown}set isShown(fe){this._isShown=fe,fe?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),(0,p.XA)()||(fe?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),p.cQ.reflow(this.element.nativeElement)),this.isShown=!0}}return Le.ɵfac=function(fe){return new(fe||Le)(o.Y36(o.SBq),o.Y36(o.Qsj))},Le.ɵcmp=o.Xpm({type:Le,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(fe,it){},encapsulation:2}),Le})(),qe=1,ht=(()=>{class Le{constructor(fe,it,gt){this.clf=it,this.modalDefaultOption=gt,this.onShow=new o.vpe,this.onShown=new o.vpe,this.onHide=new o.vpe,this.onHidden=new o.vpe,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._backdropLoader=this.clf.createLoader(),this._renderer=fe.createRenderer(null,null),this.config=gt?Object.assign({},De,gt):De}show(fe,it){this.modalsCount++,this._createLoaders();const gt=it?.id||qe++;return this.config=this.modalDefaultOption?Object.assign({},De,this.modalDefaultOption,it):Object.assign({},De,it),this.config.id=gt,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(fe)}hide(fe){(1===this.modalsCount||null==fe)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=fe?this.modalsCount-1:0,setTimeout((()=>{this._hideModal(fe),this.removeLoaders(fe)}),this.config.animated?150:0)}_showBackdrop(){const fe=!0===this.config.backdrop||"static"===this.config.backdrop,it=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),fe&&it&&(this._backdropLoader.attach(Ee).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout((()=>this.removeBackdrop()),this.config.animated?150:0))}_showModal(fe){const it=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const In of this.config.providers)it.provide(In);const gt=new Ct,Kt=it.provide({provide:Te,useValue:this.config}).provide({provide:Ct,useValue:gt}).attach(lt).to("body");return gt.hide=()=>Kt.instance?.hide(),gt.setClass=In=>{Kt.instance&&(Kt.instance.config.class=In)},gt.onHidden=new o.vpe,gt.onHide=new o.vpe,this.copyEvent(it.onBeforeHide,gt.onHide),this.copyEvent(it.onHidden,gt.onHidden),Kt.show({content:fe,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),Kt.instance&&(Kt.instance.level=this.getModalsCount(),gt.content=it.getInnerComponent(),gt.id=Kt.instance.config?.id),gt}_hideModal(fe){if(null!=fe){const it=this.loaders.findIndex((Kt=>Kt.instance?.config.id===fe)),gt=this.loaders[it];gt&>.hide(fe)}else this.loaders.forEach((it=>{it.instance&&it.hide(it.instance.config.id)}))}getModalsCount(){return this.modalsCount}setDismissReason(fe){this.lastDismissReason=fe}removeBackdrop(){this._renderer.removeClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){!document||(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){document.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const fe=this._renderer.createElement("div");this._renderer.addClass(fe,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,fe);const it=fe.offsetWidth-fe.clientWidth;return this._renderer.removeChild(document.body,fe),it}_createLoaders(){const fe=this.clf.createLoader();this.copyEvent(fe.onBeforeShow,this.onShow),this.copyEvent(fe.onShown,this.onShown),this.copyEvent(fe.onBeforeHide,this.onHide),this.copyEvent(fe.onHidden,this.onHidden),this.loaders.push(fe)}removeLoaders(fe){if(null!=fe){const it=this.loaders.findIndex((gt=>gt.instance?.config.id===fe));it>=0&&(this.loaders.splice(it,1),this.loaders.forEach(((gt,Kt)=>{gt.instance&&(gt.instance.level=Kt+1)})))}else this.loaders.splice(0,this.loaders.length)}copyEvent(fe,it){fe.subscribe((gt=>{it.emit(this.lastDismissReason||gt)}))}}return Le.ɵfac=function(fe){return new(fe||Le)(o.LFG(o.FYo),o.LFG(dt.oj),o.LFG(Je,8))},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"platform"}),Le})();He.forRoot();let mn=(()=>{class Le{static forRoot(){return{ngModule:Le,providers:[ht,dt.oj,Qe.sA]}}static forChild(){return{ngModule:Le,providers:[ht,dt.oj,Qe.sA]}}}return Le.ɵfac=function(fe){return new(fe||Le)},Le.ɵmod=o.oAB({type:Le}),Le.ɵinj=o.cJS({imports:[[He]]}),Le})()},8200:(G,T,c)=>{"use strict";c.d(T,{Bz:()=>ve,sA:()=>ce});var o=c(1607),p=c(5062),O=c(6895),S=c(6686),M=c(2268);const F=new class R extends M.v{flush(q){this.active=!0,this.scheduled=void 0;const{actions:ne}=this;let Ce,we=-1,Pe=ne.length;q=q||ne.shift();do{if(Ce=q.execute(q.state,q.delay))break}while(++we<Pe&&(q=ne.shift()));if(this.active=!1,Ce){for(;++we<Pe&&(q=ne.shift());)q.unsubscribe();throw Ce}}}(class D extends S.o{constructor(q,ne){super(q,ne),this.scheduler=q,this.work=ne}requestAsyncId(q,ne,Ce=0){return null!==Ce&&Ce>0?super.requestAsyncId(q,ne,Ce):(q.actions.push(this),q.scheduled||(q.scheduled=requestAnimationFrame((()=>q.flush(null)))))}recycleAsyncId(q,ne,Ce=0){if(null!==Ce&&Ce>0||null===Ce&&this.delay>0)return super.recycleAsyncId(q,ne,Ce);0===q.actions.length&&(cancelAnimationFrame(ne),q.scheduled=void 0)}});var N=c(8929),x=c(6787),k=c(3753),Z=c(1086),Q=(()=>{return(A=Q||(Q={})).top="top",A.bottom="bottom",A.left="left",A.right="right",A.auto="auto",A.end="right",A.start="left",A["top left"]="top left",A["top right"]="top right",A["right top"]="right top",A["right bottom"]="right bottom",A["bottom right"]="bottom right",A["bottom left"]="bottom left",A["left bottom"]="left bottom",A["left top"]="left top",A["top start"]="top left",A["top end"]="top right",A["end top"]="right top",A["end bottom"]="right bottom",A["bottom end"]="bottom right",A["bottom start"]="bottom left",A["start bottom"]="start bottom",A["start top"]="left top",Q;var A})(),ve=(()=>{return(A=ve||(ve={})).top="top",A.bottom="bottom",A.left="start",A.right="end",A.auto="auto",A.end="end",A.start="start",A["top left"]="top start",A["top right"]="top end",A["right top"]="end top",A["right bottom"]="end bottom",A["bottom right"]="bottom end",A["bottom left"]="bottom start",A["left bottom"]="start bottom",A["left top"]="start top",A["top start"]="top start",A["top end"]="top end",A["end top"]="end top",A["end bottom"]="end bottom",A["bottom end"]="bottom end",A["bottom start"]="bottom start",A["start bottom"]="start bottom",A["start top"]="start top",ve;var A})();function pe(A,q){if(1!==A.nodeType)return[];const Ce=A.ownerDocument.defaultView?.getComputedStyle(A,null);return q?Ce&&Ce[q]:Ce}function ye(A){if(!A)return document.documentElement;let Ce,ne=A?.offsetParent;for(;null===ne&&A.nextElementSibling&&Ce!==A.nextElementSibling;)Ce=A.nextElementSibling,ne=Ce.offsetParent;const we=ne&&ne.nodeName;return we&&"BODY"!==we&&"HTML"!==we?ne&&-1!==["TH","TD","TABLE"].indexOf(ne.nodeName)&&"static"===pe(ne,"position")?ye(ne):ne:Ce?Ce.ownerDocument.documentElement:document.documentElement}function Mt(A){return null!==A.parentNode?Mt(A.parentNode):A}function Ne(A,q){if(!(A&&A.nodeType&&q&&q.nodeType))return document.documentElement;const ne=A.compareDocumentPosition(q)&Node.DOCUMENT_POSITION_FOLLOWING,Ce=ne?A:q,we=ne?q:A,Pe=document.createRange();Pe.setStart(Ce,0),Pe.setEnd(we,0);const tt=Pe.commonAncestorContainer;if(A!==tt&&q!==tt||Ce.contains(we))return function Ie(A){const{nodeName:q}=A;return"BODY"!==q&&("HTML"===q||ye(A.firstElementChild)===A)}(tt)?tt:ye(tt);const Xe=Mt(A);return Xe.host?Ne(Xe.host,q):Ne(A,Mt(q).host)}function Ke(A){if(!A||!A.parentElement)return document.documentElement;let q=A.parentElement;for(;q?.parentElement&&"none"===pe(q,"transform");)q=q.parentElement;return q||document.documentElement}function Me(A,q){const ne="x"===q?"Left":"Top",Ce="Left"===ne?"Right":"Bottom";return parseFloat(A[`border${ne}Width`])+parseFloat(A[`border${Ce}Width`])}function ue(A,q,ne,Ce){return Math.max(q[`offset${A}`],q[`scroll${A}`],ne[`client${A}`],ne[`offset${A}`],ne[`scroll${A}`],0)}function yt(A){const q=A.body,ne=A.documentElement;return{height:ue("Height",q,ne),width:ue("Width",q,ne)}}function Et(A){return{...A,right:(A.left||0)+A.width,bottom:(A.top||0)+A.height}}function He(A){return"number"==typeof A||"[object Number]"===Object.prototype.toString.call(A)}function dt(A){const q=A.getBoundingClientRect();if(!(q&&He(q.top)&&He(q.left)&&He(q.bottom)&&He(q.right)))return q;const ne={left:q.left,top:q.top,width:q.right-q.left,height:q.bottom-q.top},Ce="HTML"===A.nodeName?yt(A.ownerDocument):void 0,we=Ce?.width||A.clientWidth||He(q.right)&&He(ne.left)&&q.right-ne.left||0,Pe=Ce?.height||A.clientHeight||He(q.bottom)&&He(ne.top)&&q.bottom-ne.top||0;let tt=A.offsetWidth-we,Xe=A.offsetHeight-Pe;if(tt||Xe){const ct=pe(A);tt-=Me(ct,"x"),Xe-=Me(ct,"y"),ne.width-=tt,ne.height-=Xe}return Et(ne)}function Qe(A){return"HTML"===A.nodeName?A:A.parentNode||A.host}function Wt(A){if(!A)return document.body;switch(A.nodeName){case"HTML":case"BODY":return A.ownerDocument.body;case"#document":return A.body}const{overflow:q,overflowX:ne,overflowY:Ce}=pe(A);return/(auto|scroll|overlay)/.test(String(q)+String(Ce)+String(ne))?A:Wt(Qe(A))}function Ct(A,q,ne=!1){const Ce="HTML"===q.nodeName,we=dt(A),Pe=dt(q),Xe=(Wt(A),pe(q)),ct=parseFloat(Xe.borderTopWidth),Dt=parseFloat(Xe.borderLeftWidth);ne&&Ce&&(Pe.top=Math.max(Pe.top??0,0),Pe.left=Math.max(Pe.left??0,0));const ft=Et({top:(we.top??0)-(Pe.top??0)-ct,left:(we.left??0)-(Pe.left??0)-Dt,width:we.width,height:we.height});if(ft.marginTop=0,ft.marginLeft=0,Ce){const nn=parseFloat(Xe.marginTop),Bt=parseFloat(Xe.marginLeft);He(ft.top)&&(ft.top-=ct-nn),He(ft.bottom)&&(ft.bottom-=ct-nn),He(ft.left)&&(ft.left-=Dt-Bt),He(ft.right)&&(ft.right-=Dt-Bt),ft.marginTop=nn,ft.marginLeft=Bt}return ft}function et(A,q="top"){const ne="top"===q?"scrollTop":"scrollLeft",Ce=A.nodeName;if("BODY"===Ce||"HTML"===Ce){const we=A.ownerDocument.documentElement;return(A.ownerDocument.scrollingElement||we)[ne]}return A[ne]}function De(A){const q=A.nodeName;return"BODY"!==q&&"HTML"!==q&&("fixed"===pe(A,"position")||De(Qe(A)))}function Je(A,q,ne=0,Ce,we=!1){let Pe={top:0,left:0};const tt=we?Ke(A):Ne(A,q);if("viewport"===Ce)Pe=function Te(A,q=!1){const ne=A.ownerDocument.documentElement,Ce=Ct(A,ne),we=Math.max(ne.clientWidth,window.innerWidth||0),Pe=Math.max(ne.clientHeight,window.innerHeight||0),tt=q?0:et(ne),Xe=q?0:et(ne,"left");return Et({top:tt-Number(Ce?.top)+Number(Ce?.marginTop),left:Xe-Number(Ce?.left)+Number(Ce?.marginLeft),width:we,height:Pe})}(tt,we);else{let Xe;"scrollParent"===Ce?(Xe=Wt(Qe(q)),"BODY"===Xe.nodeName&&(Xe=A.ownerDocument.documentElement)):Xe="window"===Ce?A.ownerDocument.documentElement:Ce;const ct=Ct(Xe,tt,we);if(ct&&"HTML"===Xe.nodeName&&!De(tt)){const{height:Dt,width:ft}=yt(A.ownerDocument);He(Pe.top)&&He(ct.top)&&He(ct.marginTop)&&(Pe.top+=ct.top-ct.marginTop),He(Pe.top)&&(Pe.bottom=Number(Dt)+Number(ct.top)),He(Pe.left)&&He(ct.left)&&He(ct.marginLeft)&&(Pe.left+=ct.left-ct.marginLeft),He(Pe.top)&&(Pe.right=Number(ft)+Number(ct.left))}else ct&&(Pe=ct)}return He(Pe.left)&&(Pe.left+=ne),He(Pe.top)&&(Pe.top+=ne),He(Pe.right)&&(Pe.right-=ne),He(Pe.bottom)&&(Pe.bottom-=ne),Pe}function It({width:A,height:q}){return A*q}function wt(A,q,ne,Ce,we=["top","bottom","right","left"],Pe="viewport",tt=0){if(-1===A.indexOf("auto"))return A;const Xe=Je(ne,Ce,tt,Pe),ct={top:{width:Xe?.width??0,height:(q?.top??0)-(Xe?.top??0)},right:{width:(Xe?.right??0)-(q?.right??0),height:Xe?.height??0},bottom:{width:Xe?.width??0,height:(Xe?.bottom??0)-(q?.bottom??0)},left:{width:(q.left??0)-(Xe?.left??0),height:Xe?.height??0}},Dt=Object.keys(ct).map((Zt=>({position:Zt,...ct[Zt],area:It(ct[Zt])}))).sort(((Zt,$t)=>$t.area-Zt.area));let ft=Dt.filter((({width:Zt,height:$t})=>Zt>=ne.clientWidth&&$t>=ne.clientHeight));ft=ft.filter((({position:Zt})=>we.some(($t=>$t===Zt))));const nn=ft.length>0?ft[0].position:Dt[0].position,Bt=A.split(" ")[1];return ne.className=ne.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,o.Wl)().isBs5?ve[nn]:nn}`),nn+(Bt?`-${Bt}`:"")}const Ee=(A,q=0)=>A?parseFloat(A):q;function Ae(A){const ne=A.ownerDocument.defaultView?.getComputedStyle(A),Ce=Ee(ne?.marginTop)+Ee(ne?.marginBottom),we=Ee(ne?.marginLeft)+Ee(ne?.marginRight);return{width:Number(A.offsetWidth)+we,height:Number(A.offsetHeight)+Ce}}function ge(A,q,ne){return Ct(q,ne?Ke(A):Ne(A,q),ne)}function $e(A,q,ne){const Ce=ne.split(" ")[0],we=Ae(A),Pe={width:we.width,height:we.height},tt=-1!==["right","left"].indexOf(Ce),Xe=tt?"top":"left",ct=tt?"left":"top",Dt=tt?"height":"width",ft=tt?"width":"height";return Pe[Xe]=(q[Xe]??0)+q[Dt]/2-we[Dt]/2,Pe[ct]=Ce===ct?(q[ct]??0)-we[ft]:q[function ze(A){const q={left:"right",right:"left",bottom:"top",top:"bottom"};return A.replace(/left|right|bottom|top/g,(ne=>q[ne]))}(ct)]??0,Pe}function qe(A,q){return!!A.modifiers[q]?.enabled}const ht={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function Ft(A,q){return!!(0,o.Wl)().isBs5&&ht[q].includes(A)}function be(A,q,ne){!A||!q||Object.keys(q).forEach((Ce=>{let we="";-1!==["width","height","top","right","bottom","left"].indexOf(Ce)&&function Ge(A){return""!==A&&!isNaN(parseFloat(A))&&isFinite(Number(A))}(q[Ce])&&(we="px"),ne?ne.setStyle(A,Ce,`${String(q[Ce])}${we}`):A.style[Ce]=String(q[Ce])+we}))}function fe(A){let q=A.offsets.target;const ne=A.instance.target.querySelector(".arrow");if(!ne)return A;const Ce=-1!==["left","right"].indexOf(A.placement.split(" ")[0]),we=Ce?"height":"width",Pe=Ce?"Top":"Left",tt=Pe.toLowerCase(),Xe=Ce?"left":"top",ct=Ce?"bottom":"right",Dt=Ae(ne)[we],ft=A.placement.split(" ")[1];(A.offsets.host[ct]??0)-Dt<(q[tt]??0)&&(q[tt]-=(q[tt]??0)-((A.offsets.host[ct]??0)-Dt)),Number(A.offsets.host[tt])+Number(Dt)>(q[ct]??0)&&(q[tt]+=Number(A.offsets.host[tt])+Number(Dt)-Number(q[ct])),q=Et(q);const nn=pe(A.instance.target),Bt=parseFloat(nn[`margin${Pe}`])||0,Zt=parseFloat(nn[`border${Pe}Width`])||0;let $t;if(ft){const Tt=parseFloat(nn.borderRadius)||0,Ht=Number(Bt+Zt+Tt);$t=tt===ft?Number(A.offsets.host[tt])+Ht:Number(A.offsets.host[tt])+Number(A.offsets.host[we]-Ht)}else $t=Number(A.offsets.host[tt])+Number(A.offsets.host[we]/2-Dt/2);let _t=$t-(q[tt]??0)-Bt-Zt;return _t=Math.max(Math.min(q[we]-(Dt+5),_t),0),A.offsets.arrow={[tt]:Math.round(_t),[Xe]:""},A.instance.arrow=ne,A}function it(A){if(A.offsets.target=Et(A.offsets.target),!qe(A.options,"flip"))return A.offsets.target={...A.offsets.target,...$e(A.instance.target,A.offsets.host,A.placement)},A;const q=Je(A.instance.target,A.instance.host,0,"viewport",!1);let ne=A.placement.split(" ")[0],Ce=A.placement.split(" ")[1]||"";const Xe=wt("auto",A.offsets.host,A.instance.target,A.instance.host,A.options.allowedPositions),ct=[ne,Xe];return ct.forEach(((Dt,ft)=>{if(ne!==Dt||ct.length===ft+1)return;ne=A.placement.split(" ")[0];const nn="left"===ne&&Math.floor(A.offsets.target.right??0)>Math.floor(A.offsets.host.left??0)||"right"===ne&&Math.floor(A.offsets.target.left??0)<Math.floor(A.offsets.host.right??0)||"top"===ne&&Math.floor(A.offsets.target.bottom??0)>Math.floor(A.offsets.host.top??0)||"bottom"===ne&&Math.floor(A.offsets.target.top??0)<Math.floor(A.offsets.host.bottom??0),Bt=Math.floor(A.offsets.target.left??0)<Math.floor(q.left??0),Zt=Math.floor(A.offsets.target.right??0)>Math.floor(q.right??0),$t=Math.floor(A.offsets.target.top??0)<Math.floor(q.top??0),_t=Math.floor(A.offsets.target.bottom??0)>Math.floor(q.bottom??0),Tt="left"===ne&&Bt||"right"===ne&&Zt||"top"===ne&&$t||"bottom"===ne&&_t,Ht=-1!==["top","bottom"].indexOf(ne),cn=Ht&&"left"===Ce&&Bt||Ht&&"right"===Ce&&Zt||!Ht&&"left"===Ce&&$t||!Ht&&"right"===Ce&&_t;(nn||Tt||cn)&&((nn||Tt)&&(ne=ct[ft+1]),cn&&(Ce=function lt(A){return"right"===A?"left":"left"===A?"right":A}(Ce)),A.placement=ne+(Ce?` ${Ce}`:""),A.offsets.target={...A.offsets.target,...$e(A.instance.target,A.offsets.host,A.placement)})})),A}function Kt(A){if(!qe(A.options,"preventOverflow"))return A;const q="transform",ne=A.instance.target.style,{top:Ce,left:we,[q]:Pe}=ne;ne.top="",ne.left="",ne[q]="";const tt=Je(A.instance.target,A.instance.host,0,A.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);ne.top=Ce,ne.left=we,ne[q]=Pe;const ct={primary(Dt){let ft=A.offsets.target[Dt];return(A.offsets.target[Dt]??0)<(tt[Dt]??0)&&(ft=Math.max(A.offsets.target[Dt]??0,tt[Dt]??0)),{[Dt]:ft}},secondary(Dt){const ft="right"===Dt,nn=ft?"left":"top";let Zt=A.offsets.target[nn];return(A.offsets.target[Dt]??0)>(tt[Dt]??0)&&(Zt=Math.min(A.offsets.target[nn]??0,(tt[Dt]??0)-A.offsets.target[ft?"width":"height"])),{[nn]:Zt}}};return["left","right","top","bottom"].forEach((Dt=>{const ft=-1!==["left","top","start"].indexOf(Dt)?ct.primary:ct.secondary;A.offsets.target={...A.offsets.target,...ft(Dt)}})),A}function In(A){const q=A.placement,ne=q.split(" ")[0],Ce=q.split(" ")[1];if(Ce){const{host:we,target:Pe}=A.offsets,tt=-1!==["bottom","top"].indexOf(ne),Xe=tt?"left":"top",ct=tt?"width":"height",Dt={start:{[Xe]:we[Xe]},end:{[Xe]:(we[Xe]??0)+we[ct]-Pe[ct]}};A.offsets.target={...Pe,[Xe]:Xe===Ce?Dt.start[Xe]:Dt.end[Xe]}}return A}const yr=new class En{position(q,ne){return this.offset(q,ne)}offset(q,ne){return ge(ne,q)}positionElements(q,ne,Ce,we,Pe){const tt=[it,In,Kt,fe],ct=function gt(A,q,ne,Ce){if(!A||!q)return;const we=ge(A,q);!ne.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!ne.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(ne="auto");const Pe=!!ne.match(/auto/g);let tt=ne.match(/auto\s(left|right|top|bottom|start|end)/)?ne.split(" ")[1]||"auto":ne;const Xe=tt.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return Xe&&(tt=Xe[1]+(Xe[2]?` ${Xe[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(tt)&&(tt="auto"),tt=wt(tt,we,A,q,Ce?Ce.allowedPositions:void 0),{options:Ce||{modifiers:{}},instance:{target:A,host:q,arrow:void 0},offsets:{target:$e(A,we,tt),host:we,arrow:void 0},positionFixed:!1,placement:tt,placementAuto:Pe}}(ne,q,Q[Ce],Pe);if(ct)return tt.reduce(((Dt,ft)=>ft(Dt)),ct)}};function le(A,q,ne,Ce,we,Pe){const tt=yr.positionElements(A,q,ne,Ce,we);if(!tt)return;const Xe=function We(A){return{width:A.offsets.target.width,height:A.offsets.target.height,left:Math.floor(A.offsets.target.left??0),top:Math.round(A.offsets.target.top??0),bottom:Math.round(A.offsets.target.bottom??0),right:Math.floor(A.offsets.target.right??0)}}(tt);be(q,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${Xe.left}px, ${Xe.top}px, 0px)`},Pe),tt.instance.arrow&&be(tt.instance.arrow,tt.offsets.arrow,Pe),function Le(A,q){const ne=A.instance.target;let Ce=ne.className;const we=(0,o.Wl)().isBs5?ve[A.placement]:A.placement;A.placementAuto&&(Ce=Ce.replace(/bs-popover-auto/g,`bs-popover-${we}`),Ce=Ce.replace(/ms-2|me-2|mb-2|mt-2/g,""),Ce=Ce.replace(/bs-tooltip-auto/g,`bs-tooltip-${we}`),Ce=Ce.replace(/\sauto/g,` ${we}`),-1!==Ce.indexOf("popover")&&(Ce=Ce+" "+function mn(A){return(0,o.Wl)().isBs5?Ft(A,"end")?"ms-2":Ft(A,"start")?"me-2":Ft(A,"top")?"mb-2":Ft(A,"bottom")?"mt-2":"":""}(we)),-1!==Ce.indexOf("popover")&&-1===Ce.indexOf("popover-auto")&&(Ce+=" popover-auto"),-1!==Ce.indexOf("tooltip")&&-1===Ce.indexOf("tooltip-auto")&&(Ce+=" tooltip-auto")),Ce=Ce.replace(/left|right|top|bottom|end|start/g,`${we.split(" ")[0]}`),q?q.setAttribute(ne,"class",Ce):ne.className=Ce}(tt,Pe)}let ce=(()=>{class A{constructor(ne,Ce,we){this.update$$=new N.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,O.NF)(we)&&ne.runOutsideAngular((()=>{this.triggerEvent$=(0,x.T)((0,k.R)(window,"scroll",{passive:!0}),(0,k.R)(window,"resize",{passive:!0}),(0,Z.of)(0,F),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((Pe=>{le(je(Pe.target),je(Pe.element),Pe.attachment,Pe.appendToBody,this.options,Ce.createRenderer(null,null))}))}))}))}position(ne){this.addPositionElement(ne)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(ne){this.positionElements.set(je(ne.element),ne)}calcPosition(){this.update$$.next(null)}deletePositionElement(ne){this.positionElements.delete(je(ne))}setOptions(ne){this.options=ne}}return A.ɵfac=function(ne){return new(ne||A)(p.LFG(p.R0b),p.LFG(p.FYo),p.LFG(p.Lbi))},A.ɵprov=p.Yz7({token:A,factory:A.ɵfac,providedIn:"root"}),A})();function je(A){return"string"==typeof A?document.querySelector(A):A instanceof p.SBq?A.nativeElement:A??null}},3194:(G,T,c)=>{"use strict";c.d(T,{i9:()=>ze,z8:()=>lt});var o=c(5062),p=c(1607),O=c(8200);function x(Ee,Ae){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Ee,Ae)}var et=c(2381),Te=c(7739),De=c(6895);const Je=["*"];let It=(()=>{class Ee{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}}return Ee.ɵfac=function(ge){return new(ge||Ee)},Ee.ɵprov=o.Yz7({token:Ee,factory:Ee.ɵfac,providedIn:"root"}),Ee})(),wt=(()=>{class Ee{constructor(ge){Object.assign(this,ge)}get _bsVersions(){return(0,p.Wl)()}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=O.Bz[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}}return Ee.ɵfac=function(ge){return new(ge||Ee)(o.Y36(It))},Ee.ɵcmp=o.Xpm({type:Ee,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:7,hostBindings:function(ge,$e){2&ge&&(o.uIk("id",$e.id),o.Tol("tooltip in tooltip-"+$e.placement+" bs-tooltip-"+$e.placement+" "+$e.placement+" "+$e.containerClass),o.ekj("show",!$e._bsVersions.isBs3)("bs3",$e._bsVersions.isBs3))},ngContentSelectors:Je,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(ge,$e){1&ge&&(o.F$t(),o._UZ(0,"div",0),o.TgZ(1,"div",1),o.Hsn(2),o.qZA())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none}.bs3.tooltip.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-2px}.bs3.tooltip.bottom[_nghost-%COMP%]{margin-top:0}.bs3.bs-tooltip-left[_nghost-%COMP%], .bs3.bs-tooltip-right[_nghost-%COMP%]{margin:0}.bs3.bs-tooltip-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs3.bs-tooltip-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{margin:.3rem 0}"],changeDetection:0}),Ee})(),We=0,ze=(()=>{class Ee{constructor(ge,$e,qe,ht,Ft,mn){this._elementRef=ht,this._renderer=Ft,this._positionService=mn,this.tooltipId=We++,this.adaptivePosition=!0,this.tooltipChange=new o.vpe,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new o.vpe,this._tooltip=$e.createLoader(this._elementRef,ge,this._renderer).provide({provide:It,useValue:qe}),Object.assign(this,qe),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}get isOpen(){return this._tooltip.isShown}set isOpen(ge){ge?this.show():this.hide()}set htmlContent(ge){(0,p.O4)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=ge}set _placement(ge){(0,p.O4)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=ge}set _isOpen(ge){(0,p.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=ge}get _isOpen(){return(0,p.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(ge){(0,p.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!ge}get _enable(){return(0,p.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(ge){(0,p.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=ge?"body":this.container}get _appendToBody(){return(0,p.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(ge){(0,p.O4)("tooltipClass deprecated")}set _tooltipContext(ge){(0,p.O4)("tooltipContext deprecated")}set _tooltipPopupDelay(ge){(0,p.O4)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=ge}get _tooltipTrigger(){return(0,p.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(ge){(0,p.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(ge||"").toString()}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe((ge=>{ge||this._tooltip.hide()})),this.onShown.subscribe((()=>{this.setAriaDescribedBy()})),this.onHidden.subscribe((()=>{this.setAriaDescribedBy()}))}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const ge=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(wt).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},$e=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=(0,Te.H)(this.delay).subscribe((()=>{ge(),$e()})),this.triggers&&(0,p.AL)(this.triggers).forEach((qe=>{!qe.close||(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,qe.close,(()=>{this._delaySubscription?.unsubscribe(),$e()})))}))):ge()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance?.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout((()=>{this._tooltip.hide()}),this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}}return Ee.ɵfac=function(ge){return new(ge||Ee)(o.Y36(o.s_b),o.Y36(et.oj),o.Y36(It),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(O.sA))},Ee.ɵdir=o.lG2({type:Ee,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:["tooltipHtml","htmlContent"],_placement:["tooltipPlacement","_placement"],_isOpen:["tooltipIsOpen","_isOpen"],_enable:["tooltipEnable","_enable"],_appendToBody:["tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:["tooltipClass","_popupClass"],_tooltipContext:["tooltipContext","_tooltipContext"],_tooltipPopupDelay:["tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:["tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"]}),function F(Ee,Ae,ge,$e){var Ft,qe=arguments.length,ht=qe<3?Ae:null===$e?$e=Object.getOwnPropertyDescriptor(Ae,ge):$e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ht=Reflect.decorate(Ee,Ae,ge,$e);else for(var mn=Ee.length-1;mn>=0;mn--)(Ft=Ee[mn])&&(ht=(qe<3?Ft(ht):qe>3?Ft(Ae,ge,ht):Ft(Ae,ge))||ht);qe>3&&ht&&Object.defineProperty(Ae,ge,ht)}([(0,p.GU)(),x("design:type",Object)],Ee.prototype,"tooltip",void 0),Ee})(),lt=(()=>{class Ee{static forRoot(){return{ngModule:Ee,providers:[et.oj,O.sA]}}}return Ee.ɵfac=function(ge){return new(ge||Ee)},Ee.ɵmod=o.oAB({type:Ee}),Ee.ɵinj=o.cJS({imports:[[De.ez]]}),Ee})()},1607:(G,T,c)=>{"use strict";c.d(T,{AL:()=>S,C:()=>F,Dc:()=>Et,GU:()=>et,O4:()=>It,Rg:()=>R,Wl:()=>Qe,XA:()=>Ge,cQ:()=>Te,wo:()=>M});var o=c(5062);class p{constructor(We,ze){this.open=We,this.close=ze||We}isManual(){return"manual"===this.open||"manual"===this.close}}const O={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function S(wt,We=O){const ze=(wt||"").trim();if(0===ze.length)return[];const lt=ze.split(/\s+/).map((Ae=>Ae.split(":"))).map((Ae=>{const ge=We[Ae[0]]||Ae;return new p(ge[0],ge[1])})),Ee=lt.filter((Ae=>Ae.isManual()));if(Ee.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Ee.length&<.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return lt}function M(wt,We){const ze=S(We.triggers),lt=We.target;if(1===ze.length&&ze[0].isManual())return Function.prototype;const Ee=[],Ae=[],ge=()=>{Ae.forEach(($e=>Ee.push($e()))),Ae.length=0};return ze.forEach(($e=>{const qe=$e.open===$e.close,ht=qe?We.toggle:We.show;if(!qe&&$e.close&&We.hide){const Ft=wt.listen(lt,$e.close,We.hide);Ae.push((()=>Ft))}ht&&Ee.push(wt.listen(lt,$e.open,(()=>ht(ge))))})),()=>{Ee.forEach(($e=>$e()))}}function R(wt,We){return We.outsideClick?wt.listen("document","click",(ze=>{We.target&&We.target.contains(ze.target)||We.targets&&We.targets.some((lt=>lt.contains(ze.target)))||We.hide&&We.hide()})):Function.prototype}function F(wt,We){return We.outsideEsc?wt.listen("document","keyup.esc",(ze=>{We.target&&We.target.contains(ze.target)||We.targets&&We.targets.some((lt=>lt.contains(ze.target)))||We.hide&&We.hide()})):Function.prototype}const N=typeof window<"u"&&window||{};var Me=(()=>{return(wt=Me||(Me={})).isBs3="bs3",wt.isBs4="bs4",wt.isBs5="bs5",Me;var wt})();let ue;function yt(){if(typeof N.document>"u")return"bs4";const wt=N.document.createElement("span");wt.innerText="testing bs version",wt.classList.add("d-none"),wt.classList.add("pl-1"),N.document.head.appendChild(wt);const We=wt.getBoundingClientRect(),ze=N.getComputedStyle(wt).paddingLeft;return!We||We&&0!==We.top?(N.document.head.removeChild(wt),"bs3"):ze&&parseFloat(ze)?(N.document.head.removeChild(wt),"bs4"):(N.document.head.removeChild(wt),"bs5")}function Et(wt){ue=wt}function Ge(){return typeof N>"u"||(typeof N.__theme>"u"?(ue||(ue=yt()),"bs3"===ue):"bs3"===N.__theme)}function He(){return!Ge()&&(ue||(ue=yt()),"bs4"===ue)}function Qe(){return{isBs3:Ge(),isBs4:He(),isBs5:!Ge()&&!He()&&(ue||(ue=yt()),"bs5"===ue)}}function et(){return function(ze,lt){const Ee=` __${lt}Value`;Object.defineProperty(ze,lt,{get(){return this[Ee]},set(Ae){const ge=this[Ee];this[Ee]=Ae,ge!==Ae&&this[lt+"Change"]&&this[lt+"Change"].emit(Ae)}})}}class Te{static reflow(We){}static getStyles(We){let ze=We.ownerDocument.defaultView;return(!ze||!ze.opener)&&(ze=N),ze.getComputedStyle(We)}static stackOverflowConfig(){const We=function Wt(){const wt=Qe(),We=Object.keys(wt).find((ze=>wt[ze]));return Me[We]}();return{crossorigin:"bs3"!==We?"anonymous":void 0,integrity:"bs5"===We?"sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We":"bs4"===We?"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2":void 0,cdnLink:"bs5"===We?"https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css":"bs4"===We?"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css":"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"}}}const De={},Je=typeof console>"u"||!("warn"in console);function It(wt){!(0,o.X6Q)()||Je||wt in De||(De[wt]=!0,console.warn(wt))}}}]);
Back to Directory
File Manager