Viewing File: /usr/local/cpanel/base/frontend/jupiter/mysql-manager/vendor.js
(self.webpackChunkmysql_manager=self.webpackChunkmysql_manager||[]).push([[736],{109:(Ue,X,F)=>{"use strict";F.d(X,{F:()=>c});var c=(()=>{return(v=c||(c={}))[v.GET=0]="GET",v[v.HEAD=1]="HEAD",v[v.POST=2]="POST",v[v.PUT=3]="PUT",v[v.DELETE=4]="DELETE",v[v.CONNECT=5]="CONNECT",v[v.OPTIONS=6]="OPTIONS",v[v.TRACE=7]="TRACE",v[v.PATCH=8]="PATCH",c;var v})()},2291:(Ue,X,F)=>{"use strict";F.d(X,{j:()=>pt});var c=F(1978),v=F.n(c);function we(ot){return ot?"1":"0"}var ae=(()=>{return(ot=ae||(ae={}))[ot.Ascending=0]="Ascending",ot[ot.Descending=1]="Descending",ae;var ot})(),me=(()=>{return(ot=me||(me={}))[ot.Lexicographic=0]="Lexicographic",ot[ot.Ipv4=1]="Ipv4",ot[ot.Numeric=2]="Numeric",ot[ot.NumericZeroAsMax=3]="NumericZeroAsMax",me;var ot})();class Z{constructor(Y,Ce=ae.Ascending,Oe=me.Lexicographic){if(!Y)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=Y,this.direction=Ce,this.type=Oe}}var re=(()=>{return(ot=re||(re={}))[ot.Contains=0]="Contains",ot[ot.Begins=1]="Begins",ot[ot.Ends=2]="Ends",ot[ot.Matches=3]="Matches",ot[ot.Equal=4]="Equal",ot[ot.NotEqual=5]="NotEqual",ot[ot.LessThan=6]="LessThan",ot[ot.LessThanUnlimited=7]="LessThanUnlimited",ot[ot.GreaterThan=8]="GreaterThan",ot[ot.GreaterThanUnlimited=9]="GreaterThanUnlimited",ot[ot.Defined=10]="Defined",ot[ot.Undefined=11]="Undefined",re;var ot})();class H{constructor(Y,Ce,Oe){if(!Y)throw new Error("You must define a non-empty column name.");this.column=Y,this.operator=Ce,this.value=Oe}}var G=F(7709);const ee=Number.POSITIVE_INFINITY;class _e{constructor(Y=1,Ce=20){if(Y<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(Ce<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=Y,this.pageSize=Ce}all(){return this.pageSize===ee}}class z{constructor(Y=[]){this.headers=Y}push(Y){this.headers.push(Y)}forEach(Y,Ce){this.headers.forEach(Y,Ce)}toArray(){const Y=[];return this.headers.forEach(Ce=>Y.push({name:Ce.name,value:Ce.value})),Y}toObject(){return this.headers.reduce((Y,Ce)=>(Y[Ce.name]=Ce.value,Y),{})}}class ie{constructor(Y){this._header=Y}get name(){return this._header.name}get value(){return this._header.value}}Error,Error;class Xe extends Error{constructor(Y){super(Y),this.name="WhmApiTokenInvalidError",Object.setPrototypeOf(this,Xe.prototype)}}class nn extends Error{constructor(Y){super(Y),this.name="WhmApiTokenMismatchError",Object.setPrototypeOf(this,nn.prototype)}}class In extends ie{constructor(Y,Ce){if(!Y)throw new Xe("You must pass a valid token to the constructor.");if(!Ce&&!/^.+:/.test(Y))throw new Xe("You must pass a WHM username associated with the WHM API token.");if(!Ce&&!/:.+$/.test(Y))throw new Xe("You must pass a valid WHM API token.");super({name:"Authorization",value:`whm ${Ce?Ce+":":""}${Y}`})}}var Dn=F(109);const Ft=new class yt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Dn.F.GET,Dn.F.DELETE,Dn.F.HEAD].forEach(Y=>{const Ce=Dn.F[Y].toString();this.map[Ce]={verb:Ce,dataInBody:!1}}),[Dn.F.POST,Dn.F.PUT,Dn.F.PATCH].forEach(Y=>{const Ce=Dn.F[Y].toString();this.map[Ce]={verb:Ce,dataInBody:!0}})}getRule(Y){const Ce="string"==typeof Y?Y:Dn.F[Y].toString();let Oe=this.map[Ce];return Oe||(Oe=this.map.DEFAULT),Oe}};var on=F(3022);class pt extends class Qe{constructor(Y){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new _e,this.headers=new z,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,Y&&(this.method=Y.method,Y.namespace&&(this.namespace=Y.namespace),Y.arguments&&Y.arguments.forEach(Ce=>{this.addArgument(Ce)}),Y.sorts&&Y.sorts.forEach(Ce=>{this.addSort(Ce)}),Y.filters&&Y.filters.forEach(Ce=>{this.addFilter(Ce)}),Y.columns&&Y.columns.forEach(Ce=>this.addColumn(Ce)),Y.pager&&this.paginate(Y.pager),this.config=Y.config?Y.config:this.defaultConfig,Y.headers&&Y.headers.forEach(Ce=>{this.addHeader(Ce)}))}get usePager(){return this._usePager}addArgument(Y){return this.arguments.push(Y instanceof G.h?Y:new G.h(Y.name,Y.value)),this}addSort(Y){return this.sorts.push(Y instanceof Z?Y:new Z(Y.column,Y.direction,Y.type)),this}addFilter(Y){return this.filters.push(Y instanceof H?Y:new H(Y.column,Y.operator,Y.value)),this}addColumn(Y){return this.columns.push(Y),this}addHeader(Y){return this.headers.push(Y instanceof ie?Y:new ie(Y)),this}paginate(Y){return this.pager=Y instanceof _e?Y:new _e(Y.page,Y.pageSize||20),this._usePager=!0,this}}{addHeader(Y){if(Y instanceof In)throw new nn("A WhmApiTokenHeader cannot be used on a CpanelApiRequest");return super.addHeader(Y),this}_build(Y,Ce){let Oe="";return Y.forEach((at,vt,kn)=>{Oe+=Ce.encode(at.name,at.value,vt===kn.length-1)}),Ce.separatorStart+Oe+Ce.separatorEnd}_generateArguments(Y){this.arguments.forEach(Ce=>Y.push(Ce))}_generateSorts(Y){this.sorts.forEach((Ce,Oe)=>{0===Oe&&Y.push({name:"api.sort",value:we(!0)}),Y.push({name:"api.sort_column_"+Oe,value:Ce.column}),Y.push({name:"api.sort_reverse_"+Oe,value:we(Ce.direction!==ae.Ascending)}),Y.push({name:"api.sort_method_"+Oe,value:v()(me[Ce.type])})})}_lookupFilterOperator(Y){switch(Y){case re.GreaterThanUnlimited:return"gt_handle_unlimited";case re.GreaterThan:return"gt";case re.LessThanUnlimited:return"lt_handle_unlimited";case re.LessThan:return"lt";case re.NotEqual:return"ne";case re.Equal:return"eq";case re.Defined:return"defined";case re.Undefined:return"undefined";case re.Matches:return"matches";case re.Ends:return"ends";case re.Begins:return"begins";case re.Contains:return"contains";default:throw new Error(`Unrecognized FilterOperator ${re[Y]} for UAPI`)}}_generateFilters(Y){this.filters.forEach((Ce,Oe)=>{Y.push({name:"api.filter_column_"+Oe,value:Ce.column}),Y.push({name:"api.filter_type_"+Oe,value:this._lookupFilterOperator(Ce.operator)}),Y.push({name:"api.filter_term_"+Oe,value:Ce.value})})}_traslatePageToStart(Y){return(Y.page-1)*Y.pageSize+1}_generatePagination(Y){if(!this.usePager)return;const Ce=this.pager.all();Y.push({name:"api.paginate",value:we(!0)}),Y.push({name:"api.paginate_start",value:Ce?-1:this._traslatePageToStart(this.pager)}),Ce||Y.push({name:"api.paginate_size",value:this.pager.pageSize})}_generateConfiguration(Y){this.config&&this.config.analytics&&Y.push({name:"api.analytics",value:we(this.config.analytics)})}constructor(Y){super(Y)}generate(Y){if(!this.namespace)throw new Error("You must define a namespace for the UAPI call before you generate a request");if(!this.method)throw new Error("You must define a method for the UAPI call before you generate a request");Y||(Y={verb:Dn.F.POST,encoder:this.config.json?new on.tO:new on.VN}),Y.encoder||(Y.encoder=this.config.json?new on.tO:new on.VN);const Ce=Ft.getRule(Y.verb),Oe={headers:new z([{name:"Content-Type",value:Y.encoder.contentType}]),url:["","execute",this.namespace,this.method].map(encodeURIComponent).join("/"),body:""},at=[];this._generateArguments(at),this._generateSorts(at),this._generateFilters(at),this._generatePagination(at),this._generateConfiguration(at);const vt=this._build(at,Y.encoder);return Ce.dataInBody?Oe.body=vt:Oe.url+=Y.verb===Dn.F.GET?`?${vt}`:vt,this.headers.forEach(kn=>{Oe.headers.push({name:kn.name,value:kn.value})}),Oe}}},7709:(Ue,X,F)=>{"use strict";F.d(X,{h:()=>c});class c{constructor(Ee,pe){if(!Ee)throw new Error("You must provide a name when creating a name/value argument");this.name=Ee,this.value=pe}}},3022:(Ue,X,F)=>{"use strict";F.d(X,{tO:()=>lt,VN:()=>Ae});var c=F(4235),v=F.n(c),we=F(1305),Ee=F.n(we),pe=F(4798),ae=F.n(pe),me=F(9138),Z=F.n(me),re=F(248),H=F.n(re),G=F(1503),ce=F.n(G),ee=F(7614),_e=F.n(ee);function z(Ye){if(v()(Ye)||Ee()(Ye)||ae()(Ye)||Z()(Ye)||H()(Ye))return!0;if(!_e()(Ye)&&!ce()(Ye))return!1;for(const Xe in Ye)if(!z(Ye[Xe]))return!1;return!0}class Ae{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Xe,nn,In){if(!Xe)throw new Error("Name must have a non-empty value");return`${Xe}=${encodeURIComponent(nn.toString())}`+(In?"":this.recordSeparator)}}class lt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Xe,nn,In){if(!Xe)throw new Error("Name must have a non-empty value");if(!z(nn))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Xe)+":"+JSON.stringify(nn)+(In?"":this.recordSeparator)}}},269:(Ue,X,F)=>{"use strict";X.g=void 0;const v=F(1680);Object.defineProperty(X,"g",{enumerable:!0,get:function(){return v.Locale}})},5074:(Ue,X)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.CLDR=void 0,X.CLDR=class F{constructor(v){this.rawData=v,this.validateCLDR(this.rawData)}validateCLDR(v){if(!v)throw new Error("CLDR data cannot be null");if(!v.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(v,"functions")||Object.prototype.hasOwnProperty.call(v,"get_plural_form")||"function"!=typeof v.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(v,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(v,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(v.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(v.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(v.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(v.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(v,...we){return this.rawData.functions.get_plural_form(v,...we)}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:(Ue,X,F)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.Locale=void 0;const c=F(2889),v=F(9483),we=F(741),Ee=F(786),pe=F(5074);X.Locale=class ae{constructor(Z,re={}){this.lexicon=re,this._cldr=new pe.CLDR(Z)}maketext(Z,...re){return c.maketext({cldr:this._cldr,lexicon:this.lexicon,template:Z,args:re})}localDatetime(Z,re){return this._datetimeWrapper(v.local_datetime,Z,re)}datetime(Z,re){return this._datetimeWrapper(v.datetime,Z,re)}_datetimeWrapper(Z,re,H){return Z({cldr:this._cldr,args:[re,H]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(Z,re){return this._formatNumber(we.numf,Z,re)}format_bytes(Z,re){return this._formatNumber(we.format_bytes,Z,re)}_formatNumber(Z,...re){return this._callCLDRFunc(Z,re)}list_and(...Z){return this._callCLDRFunc(Ee.list_and,Z)}list_and_quoted(...Z){return this._callCLDRFunc(Ee.list_and_quoted,Z)}list_or(...Z){return this._callCLDRFunc(Ee.list_or,Z)}list_or_quoted(...Z){return this._callCLDRFunc(Ee.list_or_quoted,Z)}_callCLDRFunc(Z,re){return Z({cldr:this._cldr,args:re})}}},7296:(Ue,X,F)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.asis=void 0;const c=F(5247);X.asis=function v({args:[we,...Ee]}){if(!we||Ee.length>0||"string"!=typeof we)throw new Error("asis function accepts one non translatable string.");return(we=we.replace(/chr\((\d+)\)/g,function(pe,ae){return c.functions.chr(Number(ae))})).replace(/amp\(\)/g,function(pe){return c.functions.amp()})}},527:(Ue,X)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.boolean=void 0,X.boolean=function F({args:[c,v,we,Ee]}){if(null==v||0===v.length||null==we||0===we.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof c<"u"&&c?v:Ee&&null==c?Ee:we)}},9076:(Ue,X)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.comment=void 0,X.comment=function F({args:[c]}){return""}},9483:(Ue,X,F)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.local_datetime=X.datetime=X.dateToLocalDayNum=void 0;const c=F(5074),v=function(H){const G=H.getUTCDay()-1;return G<0?6:G},we=[7,1,2,3,4,5,6];function Ee(H,G){return(we[H.getUTCDay()]+7-G)%7+1}X.dateToLocalDayNum=Ee;const pe=function(H,G,ce){let ee="",_e=0;return G=G||0,ce=String(void 0===ce?" ":ce),_e=G-String(H).length,_e>0&&(ee=[...Array(_e)].map(String.prototype.valueOf,ce).join("")),ee+H};function ae({cldr:H,args:[G=new Date,ce],tzString:ee="UTC"}){if("number"==typeof G&&/^-?\d+$/.test(G.toString())&&(G=new Date(1e3*G)),!(G instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(H instanceof c.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const _e=H.getDateTimeInfo();return"string"==typeof ce&&/^(?:date|time|datetime|special)_format_/.test(ce)&&(ce=_e[ce]),ce||(ce=_e.date_format_long),ce.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(z,ie,Ae){return ie?function me(H){return H.substr(1,H.length-2)}(ie):function Z(H,G,ce,ee){switch(ce){case"yy":return Math.abs(H.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(H.getUTCFullYear()));case"MMMMM":return G.month_format_narrow[H.getUTCMonth()];case"LLLLL":return G.month_stand_alone_narrow[H.getUTCMonth()];case"MMMM":return G.month_format_wide[H.getUTCMonth()];case"LLLL":return G.month_stand_alone_wide[H.getUTCMonth()];case"MMM":return G.month_format_abbreviated[H.getUTCMonth()];case"LLL":return G.month_stand_alone_abbreviated[H.getUTCMonth()];case"MM":case"LL":return pe((H.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(H.getUTCMonth()+1);case"EEEE":return G.day_format_wide[v(H)];case"EEE":case"EE":case"E":return G.day_format_abbreviated[v(H)];case"EEEEE":return G.day_format_narrow[v(H)];case"cccc":return G.day_stand_alone_wide[v(H)];case"ccc":return G.day_stand_alone_abbreviated[v(H)];case"cc":case"c":return String(Ee(H,Number(G.first_day_of_week)));case"ccccc":return G.day_stand_alone_narrow[v(H)];case"dd":return pe(H.getUTCDate().toString(),2,"0");case"d":return String(H.getUTCDate());case"h":case"hh":{let _e=H.getUTCHours();_e>12&&(_e-=12),0===_e&&(_e=12);const z="hh"===ce?pe(_e.toString(),2,"0"):_e;return String(z)}case"H":return String(H.getUTCHours());case"HH":return pe(H.getUTCHours().toString(),2,"0");case"m":return String(H.getUTCMinutes());case"mm":return pe(H.getUTCMinutes().toString(),2,"0");case"s":return String(H.getUTCSeconds());case"ss":return pe(H.getUTCSeconds().toString(),2,"0");case"a":return H.getUTCHours()<12?G.am_pm_abbreviated[0]:G.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return ee;case"G":case"GG":case"GGG":return G.era_abbreviated[H.getUTCFullYear()<0?0:1];case"GGGGG":return G.era_narrow[H.getUTCFullYear()<0?0:1];case"GGGG":return G.era_wide[H.getUTCFullYear()<0?0:1]}return ce}(G,_e,Ae,ee)})}X.datetime=ae,X.local_datetime=function re({cldr:H,args:[G=new Date,ce]}){if("number"==typeof G&&/^-?\d+$/.test(G.toString())&&(G=new Date(1e3*G)),!(G instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(H instanceof c.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ee=G.getTimezoneOffset();(G=new Date(G)).setMinutes(G.getMinutes()-ee);const _e=ee>0?"-":"+",z=Math.floor(Math.abs(ee)/60),ie=Math.abs(ee%60);return ae({cldr:H,args:[G,ce],tzString:"GMT"+_e+pe(z.toString(),2,"0")+pe(ie.toString(),2,"0")})}},40:(Ue,X,F)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.functions=void 0;const c=F(7296),v=F(5247),we=F(9076),Ee=F(527),pe=F(741),ae=F(9483),me=F(786);X.functions={asis:c.asis,output:v.output,comment:we.comment,boolean:Ee.boolean,numf:pe.numf,numerate:pe.numerate,quant:pe.quant,format_bytes:pe.format_bytes,datetime:ae.datetime,local_datetime:ae.local_datetime,list_and:me.list_and,list_or:me.list_or,list_or_quoted:me.list_or_quoted,list_and_quoted:me.list_and_quoted}},786:(Ue,X)=>{"use strict";function c(me,Z,...re){let H=re.slice();switch(1===H.length&&Array.isArray(H[0])&&(H=H[0].slice()),(typeof H>"u"||0===H.length)&&(H=[""]),H=H.map(G=>function F(me,Z){const re=me.getDelimiters();return re&&Object.prototype.hasOwnProperty.call(re,"quotation_start")&&Object.prototype.hasOwnProperty.call(re,"quotation_end")?re.quotation_start+Z+re.quotation_end:Z}(me,G)),Z){case"list_and":return pe({cldr:me,args:H});case"list_or":return ae({cldr:me,args:H});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function Ee(me,Z,...re){let H=re.slice();1===H.length&&Array.isArray(H[0])&&(H=H[0].slice());const G=H.length;let ce,ee,_e,z;try{ce=me.getFormats()[Z]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const ie=function(Ae,lt){switch(lt){case"0":return _e;case"1":return H[z++]}};switch(G){case 0:return"";case 1:return String(H[0]);default:if(_e=2===G?ce[2]:ce.start,_e=_e.replace(/\{([01])\}/g,function(Ae,lt){return H[lt]}),2===G)return _e;for(z=2;z<G;)ee=ce[z===G-1?"end":"middle"],_e=ee.replace(/\{([01])\}/g,ie);return _e}}function pe({cldr:me,args:[...Z]}){return Ee(me,"list",...Z)}function ae({cldr:me,args:[...Z]}){return Ee(me,"list_or",...Z)}Object.defineProperty(X,"__esModule",{value:!0}),X.list_or=X.list_and=X.list_or_quoted=X.list_and_quoted=void 0,X.list_and_quoted=function v({cldr:me,args:[...Z]}){return c(me,"list_and",...Z)},X.list_or_quoted=function we({cldr:me,args:[...Z]}){return c(me,"list_or",...Z)},X.list_and=pe,X.list_or=ae},5247:(Ue,X,F)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.functions=X.output=void 0;const c=F(7906),v=F(8533);X.output=function we({args:[Ee,...pe]}){if(pe&&"string"==typeof pe[0]&&(pe[0]=pe[0].replace(/chr\((\d+)\)/g,function(ae,me){return X.functions.chr(Number(me))}),pe[0]=pe[0].replace(/amp\(\)/g,function(ae){return X.functions.amp()})),"function"==typeof X.functions[Ee])return X.functions[Ee](...pe);throw new Error(`Locale output function '${Ee}' is not implemented.`)},X.functions={amp:()=>c.htmlEscape("&"),apos:()=>c.htmlEscape("'"),quot:()=>c.htmlEscape('"'),underline:Ee=>`<u>${Ee}</u>`,strong:Ee=>`<strong>${Ee}</strong>`,em:Ee=>`<em>${Ee}</em>`,abbr:(Ee,pe)=>`<abbr title="${pe}">${Ee}</abbr>`,acronym:(Ee,pe)=>`<abbr title="${pe}" class="initialism">${Ee}</abbr>`,class:(Ee,...pe)=>`<span class="${pe.join(" ")}">${Ee}</span>`,chr(Ee){if("string"==typeof Ee&&(Ee=Number(Ee)),"number"!=typeof Ee||isNaN(Ee))throw new Error("chr needs a number as argument");return c.htmlEscape(String.fromCharCode(Ee))},url(Ee,...pe){let ae,me;if("object"==typeof pe[pe.length-1])if(ae=pe[pe.length-1],2===pe.length){if(ae.html)throw new Error("Cannot provide both text and configuration with html attribute");me=pe[0]}else ae&&ae.html?(me=ae.html,delete ae.html):me=Ee;else pe.length%2==0?(ae=v.listToObject(...pe),ae&&"html"in ae&&""!==ae.html?(me=ae.html,delete ae.html):me=Ee):(me=pe.shift(),ae=v.listToObject(...pe));"_type"in ae&&"offsite"===ae._type&&(ae.class="offsite",ae.target="_blank",delete ae._type);let Z=`<a href="${Ee}"`;if("object"==typeof ae)for(const re in ae)Object.prototype.hasOwnProperty.call(ae,re)&&(Z+=` ${re}="${ae[re]}"`);return Z+=`>${me}</a>`,Z}}},741:(Ue,X,F)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.format_bytes=X.numf=X.quant=X.numerate=void 0;const c=F(5074);function we({cldr:me,args:[Z,...re]}){if(!(me instanceof c.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let H,G=3;Z instanceof Array?(G=Z[1],H=Z[0]):H=Z;const ce=me.getPluralForm(H,...re),ee=ce[0]?ce[0]:re[re.length-1];if(ce&&ce.length>=2&&ce[1])return ee;const z=pe({cldr:me,args:[H,G]});return-1!==ee.indexOf("%s")?ee.replace(/%s/g,z):me.isRtl()?ee+" "+z:z+" "+ee}function pe({cldr:me,args:[Z,re=6]}){if(!(me instanceof c.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(Z.toString()))return String(Z);const{decimalFormat:H,decimalGroup:G,decimalDecimal:ce}=function Ee(me){const Z={},re=me.getFormats();return Object.prototype.hasOwnProperty.call(re,"decimal")&&(Z.decimalFormat=re.decimal),Object.prototype.hasOwnProperty.call(re,"_decimal_format_group")&&(Z.decimalGroup=re._decimal_format_group),Object.prototype.hasOwnProperty.call(re,"_decimal_format_decimal")&&(Z.decimalDecimal=re._decimal_format_decimal),Z}(me);if(!H||!G||!ce)throw new Error("CLDR Data is missing information related to formatting decimals.");const ee=Z<0;Z=Math.abs(Z);let z,ie,_e=Math.floor(Z);/(?!')\.(?!')/.test(Z.toString())&&(z=String(Z).replace(/^[^.]+/,"0"),z=Number(z).toFixed(re),/^1/.test(z)?(_e++,Z=_e,z=void 0):z=z.replace(/^.*\./,"").replace(/0+$/,"")),ie=/(?!');(?!')/.test(H)?H.split(/(?!');(?!')/)[ee?1:0]:(ee?"-":"")+H;const Ye=ie.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Xe;1===Ye.length?Xe="":(Ye.pop(),Xe=G);const nn=String(_e).split("").reverse(),In=[];let Qe;const Dn=function(Ft){switch(Ft){case"#":return nn.shift()||"";case"0":return nn.shift()||"0"}};for(;nn.length;){Ye.length&&(Qe=Ye.shift());const Ft=Qe.replace(/(?!')[0#]|[0#](?!')/g,Dn).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");In.push(Ft)}const yt=In.join(Xe).split("").reverse().join("")+(z?ce+z:"");return ie.replace(/[0#].*[0#]/,yt)}X.numerate=function v({cldr:me,args:[Z,...re]}){if(!(me instanceof c.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const H=me.getPluralForm(Z,...re);return H?H[0]:re[re.length-1]},X.quant=we,X.numf=pe,X.format_bytes=function ae({cldr:me,args:[Z,re=2]}){if(!(me instanceof c.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const H=["KB","MB","GB","TB","PB","EB","ZB","YB"],ce=Z&&Math.min(Math.floor(Math.log(Z)/Math.log(1024)),H.length);return ce?pe({cldr:me,args:[Z/Math.pow(1024,ce),re]})+"\xa0"+H[ce-1]:we({cldr:me,args:[Z,"%s\xa0byte","%s\xa0bytes"]})}},2889:(Ue,X,F)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.maketext=X.functions=X.config=void 0;const c=F(40);function pe(ae,me){const Z=[];let re=!1,H=!1;return ae.forEach((G,ce)=>{if("_"===G.charAt(0))if("_*"===G){if(H)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";Z.push(...me),re=!0}else{const ee=G.match(X.config.underscoreDigitRe);if(ee){if(re)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[_e,z]=ee,ie=Number(z)-1;if(!(ie in me))throw`The "${_e}" substitution argument was not passed to the maketext function.`;Z.push(me[ie]),H=!0}}else Z.push(G)}),Z}X.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},X.functions={...c.functions},X.maketext=function we({cldr:ae,lexicon:me,template:Z,args:re}){if("string"!=typeof Z)throw"You must pass a string template to the maketext function.";if(-1===(Z=me&&me[Z]||Z).indexOf("["))return Z;const H=Z.match(X.config.bracketRe)||[],G=[];let ce=!1,ee="";if(H.forEach(_e=>{if("["===_e){if(ce)throw Error(`Invalid maketext string: ${Z} \nThe string contains nested brackets.`);ce=!0}else if("]"===_e){if(!ce)throw Error(`Invalid maketext string: ${Z} \nThe string contains an unmatched closing bracket character (]).`);if(!ee)throw Error(`Invalid maketext string: ${Z} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let z;ce=!1;try{z=function Ee(ae,me,Z){let re=me.split(",");if(re=re.map(ce=>ce.replace(X.config.fauxCommaRe,",")),1===re.length){if(!X.config.underscoreDigitRe.test(re[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ce]=pe(re,Z);return String(ce)}const H=re.shift();if(!H||"function"!=typeof X.functions[H])throw`Invalid function "${H}" in maketext string.`;const G=pe(re,Z);return X.functions[H]({cldr:ae,args:G})}(ae,ee,re)}catch(ie){throw Error(`Invalid maketext string: ${Z} \n${ie}`)}ee="",G.push(z)}else if("~"===_e.charAt(0)){const z=_e.charAt(1)||"~";ce?ee+=","===z?X.config.fauxComma:z:X.config.tildeChars.has(z)?G.push(z):G.push(_e)}else ce?ee+=_e:G.push(_e)}),ce)throw Error(`Invalid maketext string: ${Z} \nThe string contains an unmatched opening bracket character ([).`);return G.join("")}},7906:(Ue,X)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.htmlEscape=X.entityMap=void 0,X.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},X.htmlEscape=function F(c){return String(c).replace(/[&<>"'\/]/g,v=>X.entityMap[v])}},8533:(Ue,X)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.listToObject=void 0,X.listToObject=function v(...we){let Ee={};return function F(we){if(we.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let pe=0,ae=we.length;pe<ae;pe+=2){const me=we[pe];if("string"!=typeof me||""===me)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(we)&&(Ee=function c(we){const Ee=we.length,pe={};let me,Z,ae=0;for(;ae<Ee;)me=we[ae],Z=we[++ae],pe[me]=Z,ae++;return pe}(we)),Ee}},443:(Ue,X,F)=>{var c=F(2119);Ue.exports=c.Symbol},4633:Ue=>{Ue.exports=function X(F,c){for(var v=-1,we=null==F?0:F.length,Ee=Array(we);++v<we;)Ee[v]=c(F[v],v,F);return Ee}},8745:Ue=>{Ue.exports=function X(F,c,v,we){var Ee=-1,pe=null==F?0:F.length;for(we&&pe&&(v=F[++Ee]);++Ee<pe;)v=c(v,F[Ee],Ee,F);return v}},69:Ue=>{var X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Ue.exports=function F(c){return c.match(X)||[]}},3337:(Ue,X,F)=>{var c=F(443),v=F(1318),we=F(2902),ae=c?c.toStringTag:void 0;Ue.exports=function me(Z){return null==Z?void 0===Z?"[object Undefined]":"[object Null]":ae&&ae in Object(Z)?v(Z):we(Z)}},2724:Ue=>{Ue.exports=function X(F){return function(c){return null==F?void 0:F[c]}}},3935:(Ue,X,F)=>{var c=F(443),v=F(4633),we=F(1503),Ee=F(4129),ae=c?c.prototype:void 0,me=ae?ae.toString:void 0;Ue.exports=function Z(re){if("string"==typeof re)return re;if(we(re))return v(re,Z)+"";if(Ee(re))return me?me.call(re):"";var H=re+"";return"0"==H&&1/re==-1/0?"-0":H}},1491:(Ue,X,F)=>{var c=F(8745),v=F(4707),we=F(7188),pe=RegExp("['\u2019]","g");Ue.exports=function ae(me){return function(Z){return c(we(v(Z).replace(pe,"")),me,"")}}},9148:(Ue,X,F)=>{var we=F(2724)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});Ue.exports=we},9122:Ue=>{var X="object"==typeof global&&global&&global.Object===Object&&global;Ue.exports=X},9519:(Ue,X,F)=>{var v=F(9385)(Object.getPrototypeOf,Object);Ue.exports=v},1318:(Ue,X,F)=>{var c=F(443),v=Object.prototype,we=v.hasOwnProperty,Ee=v.toString,pe=c?c.toStringTag:void 0;Ue.exports=function ae(me){var Z=we.call(me,pe),re=me[pe];try{me[pe]=void 0;var H=!0}catch{}var G=Ee.call(me);return H&&(Z?me[pe]=re:delete me[pe]),G}},9062:Ue=>{var X=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Ue.exports=function F(c){return X.test(c)}},2902:Ue=>{var F=Object.prototype.toString;Ue.exports=function c(v){return F.call(v)}},9385:Ue=>{Ue.exports=function X(F,c){return function(v){return F(c(v))}}},2119:(Ue,X,F)=>{var c=F(9122),v="object"==typeof self&&self&&self.Object===Object&&self,we=c||v||Function("return this")();Ue.exports=we},910:Ue=>{var X="\\ud800-\\udfff",Ee="\\u2700-\\u27bf",pe="a-z\\xdf-\\xf6\\xf8-\\xff",H="A-Z\\xc0-\\xd6\\xd8-\\xde",ce="\\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",_e="["+ce+"]",ie="\\d+",Ae="["+Ee+"]",lt="["+pe+"]",Ye="[^"+X+ce+ie+Ee+pe+H+"]",Qe="(?:\\ud83c[\\udde6-\\uddff]){2}",Dn="[\\ud800-\\udbff][\\udc00-\\udfff]",yt="["+H+"]",on="(?:"+lt+"|"+Ye+")",pt="(?:"+yt+"|"+Ye+")",ot="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Y="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ce="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Oe="[\\ufe0e\\ufe0f]?",Ur=Oe+Ce+"(?:\\u200d(?:"+["[^"+X+"]",Qe,Dn].join("|")+")"+Oe+Ce+")*",xr="(?:"+[Ae,Qe,Dn].join("|")+")"+Ur,ji=RegExp([yt+"?"+lt+"+"+ot+"(?="+[_e,yt,"$"].join("|")+")",pt+"+"+Y+"(?="+[_e,yt+on,"$"].join("|")+")",yt+"?"+on+"+"+ot,yt+"+"+Y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ie,xr].join("|"),"g");Ue.exports=function Xr(Ti){return Ti.match(ji)||[]}},4707:(Ue,X,F)=>{var c=F(9148),v=F(3943),we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,re=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Ue.exports=function H(G){return(G=v(G))&&G.replace(we,c).replace(re,"")}},1503:Ue=>{Ue.exports=Array.isArray},4798:(Ue,X,F)=>{var c=F(3337),v=F(2671);Ue.exports=function Ee(pe){return!0===pe||!1===pe||v(pe)&&"[object Boolean]"==c(pe)}},1305:Ue=>{Ue.exports=function X(F){return null===F}},9138:(Ue,X,F)=>{var c=F(3337),v=F(2671);Ue.exports=function Ee(pe){return"number"==typeof pe||v(pe)&&"[object Number]"==c(pe)}},2671:Ue=>{Ue.exports=function X(F){return null!=F&&"object"==typeof F}},7614:(Ue,X,F)=>{var c=F(3337),v=F(9519),we=F(2671),me=Function.prototype.toString,Z=Object.prototype.hasOwnProperty,re=me.call(Object);Ue.exports=function H(G){if(!we(G)||"[object Object]"!=c(G))return!1;var ce=v(G);if(null===ce)return!0;var ee=Z.call(ce,"constructor")&&ce.constructor;return"function"==typeof ee&&ee instanceof ee&&me.call(ee)==re}},248:(Ue,X,F)=>{var c=F(3337),v=F(1503),we=F(2671);Ue.exports=function pe(ae){return"string"==typeof ae||!v(ae)&&we(ae)&&"[object String]"==c(ae)}},4129:(Ue,X,F)=>{var c=F(3337),v=F(2671);Ue.exports=function Ee(pe){return"symbol"==typeof pe||v(pe)&&"[object Symbol]"==c(pe)}},4235:Ue=>{Ue.exports=function X(F){return void 0===F}},7489:function(Ue,X,F){var c;Ue=F.nmd(Ue),function(){var v,ae="Expected a function",Z="__lodash_hash_undefined__",H="__lodash_placeholder__",at=1/0,vt=9007199254740991,xr=4294967295,Ti=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],ur="[object Arguments]",ei="[object Array]",Sn="[object Boolean]",Mn="[object Date]",Ar="[object Error]",_r="[object Function]",Qn="[object GeneratorFunction]",wr="[object Map]",Ir="[object Number]",Hr="[object Object]",eo="[object Promise]",Nr="[object RegExp]",Mr="[object Set]",zr="[object String]",We="[object Symbol]",q="[object WeakMap]",ke="[object ArrayBuffer]",qe="[object DataView]",mt="[object Float32Array]",hn="[object Float64Array]",jt="[object Int8Array]",Dt="[object Int16Array]",Wr="[object Int32Array]",er="[object Uint8Array]",Rn="[object Uint8ClampedArray]",$t="[object Uint16Array]",sn="[object Uint32Array]",Yt=/\b__p \+= '';/g,le=/\b(__p \+=) '' \+/g,ue=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Re=/&(?:amp|lt|gt|quot|#39);/g,Me=/[&<>"']/g,je=RegExp(Re.source),Ze=RegExp(Me.source),dt=/<%-([\s\S]+?)%>/g,St=/<%([\s\S]+?)%>/g,Lt=/<%=([\s\S]+?)%>/g,Gt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bt=/^\w*$/,an=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ve=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(ve.source),$=/^\s+/,be=/\s/,Te=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,Ke=/,? & /,Qt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vt=/[()=,{}\[\]\/\s]/,Un=/\\(\\)?/g,tn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pn=/\w*$/,ln=/^[-+]0x[0-9a-f]+$/i,Hn=/^0b[01]+$/i,Ct=/^\[object .+?Constructor\]$/,en=/^0o[0-7]+$/i,Be=/^(?:0|[1-9]\d*)$/,It=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Rt=/['\n\r\u2028\u2029\\]/g,jn="\\ud800-\\udfff",Tt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",se="\\u2700-\\u27bf",ge="a-z\\xdf-\\xf6\\xf8-\\xff",xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ne="\\ufe0e\\ufe0f",gt="\\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",_t="["+jn+"]",zt="["+gt+"]",Bt="["+Tt+"]",un="\\d+",Nn="["+se+"]",Ln="["+ge+"]",or="[^"+jn+gt+un+se+ge+xe+"]",br="\\ud83c[\\udffb-\\udfff]",ho="[^"+jn+"]",ti="(?:\\ud83c[\\udde6-\\uddff]){2}",qn="[\\ud800-\\udbff][\\udc00-\\udfff]",qr="["+xe+"]",Ni="(?:"+Ln+"|"+or+")",Rr="(?:"+qr+"|"+or+")",po="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ki="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Pi="(?:"+Bt+"|"+br+")?",Ci="["+Ne+"]?",ps=Ci+Pi+"(?:\\u200d(?:"+[ho,ti,qn].join("|")+")"+Ci+Pi+")*",to="(?:"+[Nn,ti,qn].join("|")+")"+ps,Yo="(?:"+[ho+Bt+"?",Bt,ti,qn,_t].join("|")+")",ni=RegExp("['\u2019]","g"),$i=RegExp(Bt,"g"),Po=RegExp(br+"(?="+br+")|"+Yo+ps,"g"),go=RegExp([qr+"?"+Ln+"+"+po+"(?="+[zt,qr,"$"].join("|")+")",Rr+"+"+ki+"(?="+[zt,qr+Ni,"$"].join("|")+")",qr+"?"+Ni+"+"+po,qr+"+"+ki,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",un,to].join("|"),"g"),la=RegExp("[\\u200d"+jn+Tt+Ne+"]"),Gi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],gs=-1,zn={};zn[mt]=zn[hn]=zn[jt]=zn[Dt]=zn[Wr]=zn[er]=zn[Rn]=zn[$t]=zn[sn]=!0,zn[ur]=zn[ei]=zn[ke]=zn[Sn]=zn[qe]=zn[Mn]=zn[Ar]=zn[_r]=zn[wr]=zn[Ir]=zn[Hr]=zn[Nr]=zn[Mr]=zn[zr]=zn[q]=!1;var Yn={};Yn[ur]=Yn[ei]=Yn[ke]=Yn[qe]=Yn[Sn]=Yn[Mn]=Yn[mt]=Yn[hn]=Yn[jt]=Yn[Dt]=Yn[Wr]=Yn[wr]=Yn[Ir]=Yn[Hr]=Yn[Nr]=Yn[Mr]=Yn[zr]=Yn[We]=Yn[er]=Yn[Rn]=Yn[$t]=Yn[sn]=!0,Yn[Ar]=Yn[_r]=Yn[q]=!1;var oi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ns=parseFloat,Li=parseInt,zi="object"==typeof global&&global&&global.Object===Object&&global,La="object"==typeof self&&self&&self.Object===Object&&self,Sr=zi||La||Function("return this")(),Vo=X&&!X.nodeType&&X,xi=Vo&&Ue&&!Ue.nodeType&&Ue,Bo=xi&&xi.exports===Vo,_o=Bo&&zi.process,Lr=function(){try{return xi&&xi.require&&xi.require("util").types||_o&&_o.binding&&_o.binding("util")}catch{}}(),jr=Lr&&Lr.isArrayBuffer,yo=Lr&&Lr.isDate,Zo=Lr&&Lr.isMap,M=Lr&&Lr.isRegExp,R=Lr&&Lr.isSet,S=Lr&&Lr.isTypedArray;function L(ye,Le,Fe){switch(Fe.length){case 0:return ye.call(Le);case 1:return ye.call(Le,Fe[0]);case 2:return ye.call(Le,Fe[0],Fe[1]);case 3:return ye.call(Le,Fe[0],Fe[1],Fe[2])}return ye.apply(Le,Fe)}function fe(ye,Le,Fe,Ot){for(var Cn=-1,Jn=null==ye?0:ye.length;++Cn<Jn;){var Kr=ye[Cn];Le(Ot,Kr,Fe(Kr),ye)}return Ot}function Ie(ye,Le){for(var Fe=-1,Ot=null==ye?0:ye.length;++Fe<Ot&&!1!==Le(ye[Fe],Fe,ye););return ye}function ut(ye,Le){for(var Fe=null==ye?0:ye.length;Fe--&&!1!==Le(ye[Fe],Fe,ye););return ye}function ht(ye,Le){for(var Fe=-1,Ot=null==ye?0:ye.length;++Fe<Ot;)if(!Le(ye[Fe],Fe,ye))return!1;return!0}function Wn(ye,Le){for(var Fe=-1,Ot=null==ye?0:ye.length,Cn=0,Jn=[];++Fe<Ot;){var Kr=ye[Fe];Le(Kr,Fe,ye)&&(Jn[Cn++]=Kr)}return Jn}function tr(ye,Le){return!(null==ye||!ye.length)&&sr(ye,Le,0)>-1}function cn(ye,Le,Fe){for(var Ot=-1,Cn=null==ye?0:ye.length;++Ot<Cn;)if(Fe(Le,ye[Ot]))return!0;return!1}function qt(ye,Le){for(var Fe=-1,Ot=null==ye?0:ye.length,Cn=Array(Ot);++Fe<Ot;)Cn[Fe]=Le(ye[Fe],Fe,ye);return Cn}function yr(ye,Le){for(var Fe=-1,Ot=Le.length,Cn=ye.length;++Fe<Ot;)ye[Cn+Fe]=Le[Fe];return ye}function Vn(ye,Le,Fe,Ot){var Cn=-1,Jn=null==ye?0:ye.length;for(Ot&&Jn&&(Fe=ye[++Cn]);++Cn<Jn;)Fe=Le(Fe,ye[Cn],Cn,ye);return Fe}function dr(ye,Le,Fe,Ot){var Cn=null==ye?0:ye.length;for(Ot&&Cn&&(Fe=ye[--Cn]);Cn--;)Fe=Le(Fe,ye[Cn],Cn,ye);return Fe}function P(ye,Le){for(var Fe=-1,Ot=null==ye?0:ye.length;++Fe<Ot;)if(Le(ye[Fe],Fe,ye))return!0;return!1}var D=dn("length");function Ve(ye,Le,Fe){var Ot;return Fe(ye,function(Cn,Jn,Kr){if(Le(Cn,Jn,Kr))return Ot=Jn,!1}),Ot}function xt(ye,Le,Fe,Ot){for(var Cn=ye.length,Jn=Fe+(Ot?1:-1);Ot?Jn--:++Jn<Cn;)if(Le(ye[Jn],Jn,ye))return Jn;return-1}function sr(ye,Le,Fe){return Le==Le?function Co(ye,Le,Fe){for(var Ot=Fe-1,Cn=ye.length;++Ot<Cn;)if(ye[Ot]===Le)return Ot;return-1}(ye,Le,Fe):xt(ye,Wi,Fe)}function Yr(ye,Le,Fe,Ot){for(var Cn=Fe-1,Jn=ye.length;++Cn<Jn;)if(Ot(ye[Cn],Le))return Cn;return-1}function Wi(ye){return ye!=ye}function vo(ye,Le){var Fe=null==ye?0:ye.length;return Fe?ca(ye,Le)/Fe:NaN}function dn(ye){return function(Le){return null==Le?v:Le[ye]}}function ks(ye){return function(Le){return null==ye?v:ye[Le]}}function Va(ye,Le,Fe,Ot,Cn){return Cn(ye,function(Jn,Kr,vr){Fe=Ot?(Ot=!1,Jn):Le(Fe,Jn,Kr,vr)}),Fe}function ca(ye,Le){for(var Fe,Ot=-1,Cn=ye.length;++Ot<Cn;){var Jn=Le(ye[Ot]);Jn!==v&&(Fe=Fe===v?Jn:Fe+Jn)}return Fe}function fi(ye,Le){for(var Fe=-1,Ot=Array(ye);++Fe<ye;)Ot[Fe]=Le(Fe);return Ot}function Ba(ye){return ye&&ye.slice(0,Bs(ye)+1).replace($,"")}function Ai(ye){return function(Le){return ye(Le)}}function et(ye,Le){return qt(Le,function(Fe){return ye[Fe]})}function An(ye,Le){return ye.has(Le)}function da(ye,Le){for(var Fe=-1,Ot=ye.length;++Fe<Ot&&sr(Le,ye[Fe],0)>-1;);return Fe}function Tr(ye,Le){for(var Fe=ye.length;Fe--&&sr(Le,ye[Fe],0)>-1;);return Fe}function gl(ye,Le){for(var Fe=ye.length,Ot=0;Fe--;)ye[Fe]===Le&&++Ot;return Ot}var Ls=ks({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),wi=ks({"&":"&","<":"<",">":">",'"':""","'":"'"});function fa(ye){return"\\"+oi[ye]}function Uo(ye){return la.test(ye)}function Ko(ye){var Le=-1,Fe=Array(ye.size);return ye.forEach(function(Ot,Cn){Fe[++Le]=[Cn,Ot]}),Fe}function si(ye,Le){return function(Fe){return ye(Le(Fe))}}function Zr(ye,Le){for(var Fe=-1,Ot=ye.length,Cn=0,Jn=[];++Fe<Ot;){var Kr=ye[Fe];(Kr===Le||Kr===H)&&(ye[Fe]=H,Jn[Cn++]=Fe)}return Jn}function ms(ye){var Le=-1,Fe=Array(ye.size);return ye.forEach(function(Ot){Fe[++Le]=Ot}),Fe}function Qo(ye){return Uo(ye)?function ja(ye){for(var Le=Po.lastIndex=0;Po.test(ye);)++Le;return Le}(ye):D(ye)}function qi(ye){return Uo(ye)?function ys(ye){return ye.match(Po)||[]}(ye):function E(ye){return ye.split("")}(ye)}function Bs(ye){for(var Le=ye.length;Le--&&be.test(ye.charAt(Le)););return Le}var Ha=ks({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Us=function ye(Le){var r,Fe=(Le=null==Le?Sr:Us.defaults(Sr.Object(),Le,Us.pick(Sr,Fs))).Array,Ot=Le.Date,Cn=Le.Error,Jn=Le.Function,Kr=Le.Math,vr=Le.Object,ai=Le.RegExp,Ho=Le.String,nr=Le.TypeError,Hs=Fe.prototype,Cs=vr.prototype,ga=Le["__core-js_shared__"],ma=Jn.prototype.toString,gr=Cs.hasOwnProperty,js=0,_a=(r=/[^.]+$/.exec(ga&&ga.keys&&ga.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",jo=Cs.toString,ya=ma.call(vr),$a=Sr._,_l=ai("^"+ma.call(gr).replace(ve,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),no=Bo?Le.Buffer:v,Yi=Le.Symbol,va=Le.Uint8Array,yl=no?no.allocUnsafe:v,xo=si(vr.getPrototypeOf,vr),Ca=vr.create,wa=Cs.propertyIsEnumerable,Ga=Hs.splice,gu=Yi?Yi.isConcatSpreadable:v,za=Yi?Yi.iterator:v,ro=Yi?Yi.toStringTag:v,ws=function(){try{var r=il(vr,"defineProperty");return r({},"",{}),r}catch{}}(),Wa=Le.clearTimeout!==Sr.clearTimeout&&Le.clearTimeout,qa=Ot&&Ot.now!==Sr.Date.now&&Ot.now,jl=Le.setTimeout!==Sr.setTimeout&&Le.setTimeout,ba=Kr.ceil,Ao=Kr.floor,Ya=vr.getOwnPropertySymbols,$s=no?no.isBuffer:v,hi=Le.isFinite,Za=Hs.join,mu=si(vr.keys,vr),Vr=Kr.max,Qr=Kr.min,Gs=Ot.now,_u=Le.parseInt,zs=Kr.random,Ka=Hs.reverse,Ea=il(Le,"DataView"),Jr=il(Le,"Map"),mr=il(Le,"Promise"),pi=il(Le,"Set"),$o=il(Le,"WeakMap"),Zi=il(vr,"create"),bi=$o&&new $o,Jo={},$l=ll(Ea),Gl=ll(Jr),Da=ll(mr),Ma=ll(pi),yu=ll($o),Ws=Yi?Yi.prototype:v,qs=Ws?Ws.valueOf:v,bs=Ws?Ws.toString:v;function V(r){if(ii(r)&&!Bn(r)&&!(r instanceof On)){if(r instanceof li)return r;if(gr.call(r,"__wrapped__"))return df(r)}return new li(r)}var wo=function(){function r(){}return function(s){if(!Gr(s))return{};if(Ca)return Ca(s);r.prototype=s;var d=new r;return r.prototype=v,d}}();function Es(){}function li(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=v}function On(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=xr,this.__views__=[]}function h(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var b=r[s];this.set(b[0],b[1])}}function te(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var b=r[s];this.set(b[0],b[1])}}function mn(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var b=r[s];this.set(b[0],b[1])}}function ui(r){var s=-1,d=null==r?0:r.length;for(this.__data__=new mn;++s<d;)this.add(r[s])}function io(r){var s=this.__data__=new te(r);this.size=s.size}function Nd(r,s){var d=Bn(r),b=!d&&dl(r),A=!d&&!b&&Is(r),U=!d&&!b&&!A&&xl(r),J=d||b||A||U,de=J?fi(r.length,Ho):[],De=de.length;for(var Je in r)(s||gr.call(r,Je))&&(!J||!("length"==Je||A&&("offset"==Je||"parent"==Je)||U&&("buffer"==Je||"byteLength"==Je||"byteOffset"==Je)||Mo(Je,De)))&&de.push(Je);return de}function vu(r){var s=r.length;return s?r[Tu(0,s-1)]:v}function bo(r,s){return Uu(Do(r),Ks(s,0,r.length))}function Cu(r){return Uu(Do(r))}function Zs(r,s,d){(d!==v&&!as(r[s],d)||d===v&&!(s in r))&&Ms(r,s,d)}function Wl(r,s,d){var b=r[s];(!gr.call(r,s)||!as(b,d)||d===v&&!(s in r))&&Ms(r,s,d)}function Cl(r,s){for(var d=r.length;d--;)if(as(r[d][0],s))return d;return-1}function kd(r,s,d,b){return O(r,function(A,U,J){s(b,A,d(A),J)}),b}function fc(r,s){return r&&os(s,Ri(s),r)}function Ms(r,s,d){"__proto__"==s&&ws?ws(r,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):r[s]=d}function wu(r,s){for(var d=-1,b=s.length,A=Fe(b),U=null==r;++d<b;)A[d]=U?v:ld(r,s[d]);return A}function Ks(r,s,d){return r==r&&(d!==v&&(r=r<=d?r:d),s!==v&&(r=r>=s?r:s)),r}function oo(r,s,d,b,A,U){var J,de=1&s,De=2&s,Je=4&s;if(d&&(J=A?d(r,b,A,U):d(r)),J!==v)return J;if(!Gr(r))return r;var tt=Bn(r);if(tt){if(J=function Ep(r){var s=r.length,d=new r.constructor(s);return s&&"string"==typeof r[0]&&gr.call(r,"index")&&(d.index=r.index,d.input=r.input),d}(r),!de)return Do(r,J)}else{var st=Ui(r),Mt=st==_r||st==Qn;if(Is(r))return fp(r,de);if(st==Hr||st==ur||Mt&&!A){if(J=De||Mt?{}:Xd(r),!de)return De?function gp(r,s){return os(r,Qd(r),s)}(r,function Ld(r,s){return r&&os(s,Mi(s),r)}(J,r)):function Au(r,s){return os(r,xc(r),s)}(r,fc(J,r))}else{if(!Yn[st])return A?r:{};J=function Dp(r,s,d){var b=r.constructor;switch(s){case ke:return Kl(r);case Sn:case Mn:return new b(+r);case qe:return function yc(r,s){var d=s?Kl(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.byteLength)}(r,d);case mt:case hn:case jt:case Dt:case Wr:case er:case Rn:case $t:case sn:return hp(r,d);case wr:return new b;case Ir:case zr:return new b(r);case Nr:return function vc(r){var s=new r.constructor(r.source,pn.exec(r));return s.lastIndex=r.lastIndex,s}(r);case Mr:return new b;case We:return function Km(r){return qs?vr(qs.call(r)):{}}(r)}}(r,st,de)}}U||(U=new io);var Kt=U.get(r);if(Kt)return Kt;U.set(r,J),sh(r)?r.forEach(function(yn){J.add(oo(yn,s,d,yn,r,U))}):ls(r)&&r.forEach(function(yn,Kn){J.set(Kn,oo(yn,s,d,Kn,r,U))});var Gn=tt?v:(Je?De?Tc:Xl:De?Mi:Ri)(r);return Ie(Gn||r,function(yn,Kn){Gn&&(yn=r[Kn=yn]),Wl(J,Kn,oo(yn,s,d,Kn,r,U))}),J}function u(r,s,d){var b=d.length;if(null==r)return!b;for(r=vr(r);b--;){var A=d[b],J=r[A];if(J===v&&!(A in r)||!(0,s[A])(J))return!1}return!0}function a(r,s,d){if("function"!=typeof r)throw new nr(ae);return al(function(){r.apply(v,d)},s)}function m(r,s,d,b){var A=-1,U=tr,J=!0,de=r.length,De=[],Je=s.length;if(!de)return De;d&&(s=qt(s,Ai(d))),b?(U=cn,J=!1):s.length>=200&&(U=An,J=!1,s=new ui(s));e:for(;++A<de;){var tt=r[A],st=null==d?tt:d(tt);if(tt=b||0!==tt?tt:0,J&&st==st){for(var Mt=Je;Mt--;)if(s[Mt]===st)continue e;De.push(tt)}else U(s,st,b)||De.push(tt)}return De}V.templateSettings={escape:dt,evaluate:St,interpolate:Lt,variable:"",imports:{_:V}},(V.prototype=Es.prototype).constructor=V,(li.prototype=wo(Es.prototype)).constructor=li,(On.prototype=wo(Es.prototype)).constructor=On,h.prototype.clear=function f(){this.__data__=Zi?Zi(null):{},this.size=0},h.prototype.delete=function w(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s},h.prototype.get=function T(r){var s=this.__data__;if(Zi){var d=s[r];return d===Z?v:d}return gr.call(s,r)?s[r]:v},h.prototype.has=function k(r){var s=this.__data__;return Zi?s[r]!==v:gr.call(s,r)},h.prototype.set=function W(r,s){var d=this.__data__;return this.size+=this.has(r)?0:1,d[r]=Zi&&s===v?Z:s,this},te.prototype.clear=function He(){this.__data__=[],this.size=0},te.prototype.delete=function Nt(r){var s=this.__data__,d=Cl(s,r);return!(d<0||(d==s.length-1?s.pop():Ga.call(s,d,1),--this.size,0))},te.prototype.get=function ar(r){var s=this.__data__,d=Cl(s,r);return d<0?v:s[d][1]},te.prototype.has=function Xt(r){return Cl(this.__data__,r)>-1},te.prototype.set=function rr(r,s){var d=this.__data__,b=Cl(d,r);return b<0?(++this.size,d.push([r,s])):d[b][1]=s,this},mn.prototype.clear=function Pr(){this.size=0,this.__data__={hash:new h,map:new(Jr||te),string:new h}},mn.prototype.delete=function Xo(r){var s=rl(this,r).delete(r);return this.size-=s?1:0,s},mn.prototype.get=function es(r){return rl(this,r).get(r)},mn.prototype.has=function zl(r){return rl(this,r).has(r)},mn.prototype.set=function Ys(r,s){var d=rl(this,r),b=d.size;return d.set(r,s),this.size+=d.size==b?0:1,this},ui.prototype.add=ui.prototype.push=function ts(r){return this.__data__.set(r,Z),this},ui.prototype.has=function cc(r){return this.__data__.has(r)},io.prototype.clear=function vl(){this.__data__=new te,this.size=0},io.prototype.delete=function dc(r){var s=this.__data__,d=s.delete(r);return this.size=s.size,d},io.prototype.get=function Rd(r){return this.__data__.get(r)},io.prototype.has=function Fd(r){return this.__data__.has(r)},io.prototype.set=function op(r,s){var d=this.__data__;if(d instanceof te){var b=d.__data__;if(!Jr||b.length<199)return b.push([r,s]),this.size=++d.size,this;d=this.__data__=new mn(b)}return d.set(r,s),this.size=d.size,this};var O=di(Ut),B=di(rn,!0);function K(r,s){var d=!0;return O(r,function(b,A,U){return d=!!s(b,A,U)}),d}function ne(r,s,d){for(var b=-1,A=r.length;++b<A;){var U=r[b],J=s(U);if(null!=J&&(de===v?J==J&&!uo(J):d(J,de)))var de=J,De=U}return De}function $e(r,s){var d=[];return O(r,function(b,A,U){s(b,A,U)&&d.push(b)}),d}function ct(r,s,d,b,A){var U=-1,J=r.length;for(d||(d=Sp),A||(A=[]);++U<J;){var de=r[U];s>0&&d(de)?s>1?ct(de,s-1,d,b,A):yr(A,de):b||(A[A.length]=de)}return A}var Wt=wc(),Pn=wc(!0);function Ut(r,s){return r&&Wt(r,s,Ri)}function rn(r,s){return r&&Pn(r,s,Ri)}function xn(r,s){return Wn(s,function(d){return na(r[d])})}function Xn(r,s){for(var d=0,b=(s=Qs(s,r)).length;null!=r&&d<b;)r=r[As(s[d++])];return d&&d==b?r:v}function Fr(r,s,d){var b=s(r);return Bn(r)?b:yr(b,d(r))}function fr(r){return null==r?r===v?"[object Undefined]":"[object Null]":ro&&ro in vr(r)?function Cp(r){var s=gr.call(r,ro),d=r[ro];try{r[ro]=v;var b=!0}catch{}var A=jo.call(r);return b&&(s?r[ro]=d:delete r[ro]),A}(r):function sf(r){return jo.call(r)}(r)}function Ei(r,s){return r>s}function Di(r,s){return null!=r&&gr.call(r,s)}function ns(r,s){return null!=r&&s in vr(r)}function gi(r,s,d){for(var b=d?cn:tr,A=r[0].length,U=r.length,J=U,de=Fe(U),De=1/0,Je=[];J--;){var tt=r[J];J&&s&&(tt=qt(tt,Ai(s))),De=Qr(tt.length,De),de[J]=!d&&(s||A>=120&&tt.length>=120)?new ui(J&&tt):v}tt=r[0];var st=-1,Mt=de[0];e:for(;++st<A&&Je.length<De;){var Kt=tt[st],bn=s?s(Kt):Kt;if(Kt=d||0!==Kt?Kt:0,!(Mt?An(Mt,bn):b(Je,bn,d))){for(J=U;--J;){var Gn=de[J];if(!(Gn?An(Gn,bn):b(r[J],bn,d)))continue e}Mt&&Mt.push(bn),Je.push(Kt)}}return Je}function ao(r,s,d){var b=null==(r=Lu(r,s=Qs(s,r)))?r:r[As(So(s))];return null==b?v:L(b,r,d)}function Io(r){return ii(r)&&fr(r)==ur}function Eo(r,s,d,b,A){return r===s||(null==r||null==s||!ii(r)&&!ii(s)?r!=r&&s!=s:function bu(r,s,d,b,A,U){var J=Bn(r),de=Bn(s),De=J?ei:Ui(r),Je=de?ei:Ui(s),tt=(De=De==ur?Hr:De)==Hr,st=(Je=Je==ur?Hr:Je)==Hr,Mt=De==Je;if(Mt&&Is(r)){if(!Is(s))return!1;J=!0,tt=!1}if(Mt&&!tt)return U||(U=new io),J||xl(r)?Zd(r,s,d,b,A,U):function Kd(r,s,d,b,A,U,J){switch(d){case qe:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case ke:return!(r.byteLength!=s.byteLength||!U(new va(r),new va(s)));case Sn:case Mn:case Ir:return as(+r,+s);case Ar:return r.name==s.name&&r.message==s.message;case Nr:case zr:return r==s+"";case wr:var de=Ko;case Mr:if(de||(de=ms),r.size!=s.size&&!(1&b))return!1;var Je=J.get(r);if(Je)return Je==s;b|=2,J.set(r,s);var tt=Zd(de(r),de(s),b,A,U,J);return J.delete(r),tt;case We:if(qs)return qs.call(r)==qs.call(s)}return!1}(r,s,De,d,b,A,U);if(!(1&d)){var Kt=tt&&gr.call(r,"__wrapped__"),bn=st&&gr.call(s,"__wrapped__");if(Kt||bn){var Gn=Kt?r.value():r,yn=bn?s.value():s;return U||(U=new io),A(Gn,yn,d,b,U)}}return!!Mt&&(U||(U=new io),function vp(r,s,d,b,A,U){var J=1&d,de=Xl(r),De=de.length;if(De!=Xl(s).length&&!J)return!1;for(var st=De;st--;){var Mt=de[st];if(!(J?Mt in s:gr.call(s,Mt)))return!1}var Kt=U.get(r),bn=U.get(s);if(Kt&&bn)return Kt==s&&bn==r;var Gn=!0;U.set(r,s),U.set(s,r);for(var yn=J;++st<De;){var Kn=r[Mt=de[st]],pr=s[Mt];if(b)var co=J?b(pr,Kn,Mt,s,r,U):b(Kn,pr,Mt,r,s,U);if(!(co===v?Kn===pr||A(Kn,pr,d,b,U):co)){Gn=!1;break}yn||(yn="constructor"==Mt)}if(Gn&&!yn){var fo=r.constructor,Wo=s.constructor;fo!=Wo&&"constructor"in r&&"constructor"in s&&!("function"==typeof fo&&fo instanceof fo&&"function"==typeof Wo&&Wo instanceof Wo)&&(Gn=!1)}return U.delete(r),U.delete(s),Gn}(r,s,d,b,A,U))}(r,s,d,b,Eo,A))}function At(r,s,d,b){var A=d.length,U=A,J=!b;if(null==r)return!U;for(r=vr(r);A--;){var de=d[A];if(J&&de[2]?de[1]!==r[de[0]]:!(de[0]in r))return!1}for(;++A<U;){var De=(de=d[A])[0],Je=r[De],tt=de[1];if(J&&de[2]){if(Je===v&&!(De in r))return!1}else{var st=new io;if(b)var Mt=b(Je,tt,De,r,s,st);if(!(Mt===v?Eo(tt,Je,3,b,st):Mt))return!1}}return!0}function Jt(r){return!(!Gr(r)||function Jm(r){return!!_a&&_a in r}(r))&&(na(r)?_l:Ct).test(ll(r))}function Ro(r){return"function"==typeof r?r:null==r?Si:"object"==typeof r?Bn(r)?mi(r[0],r[1]):Qa(r):_d(r)}function Qi(r){if(!ol(r))return mu(r);var s=[];for(var d in vr(r))gr.call(r,d)&&"constructor"!=d&&s.push(d);return s}function Or(r,s){return r<s}function ql(r,s){var d=-1,b=lo(r)?Fe(r.length):[];return O(r,function(A,U,J){b[++d]=s(A,U,J)}),b}function Qa(r){var s=Oc(r);return 1==s.length&&s[0][2]?tf(s[0][0],s[0][1]):function(d){return d===r||At(d,r,s)}}function mi(r,s){return ef(r)&&Nu(s)?tf(As(r),s):function(d){var b=ld(d,r);return b===v&&b===s?Qu(d,r):Eo(s,b,3)}}function Vi(r,s,d,b,A){r!==s&&Wt(s,function(U,J){if(A||(A=new io),Gr(U))!function Ps(r,s,d,b,A,U,J){var de=lf(r,d),De=lf(s,d),Je=J.get(De);if(Je)Zs(r,d,Je);else{var tt=U?U(de,De,d+"",r,s,J):v,st=tt===v;if(st){var Mt=Bn(De),Kt=!Mt&&Is(De),bn=!Mt&&!Kt&&xl(De);tt=De,Mt||Kt||bn?Bn(de)?tt=de:_i(de)?tt=Do(de):Kt?(st=!1,tt=fp(De,!0)):bn?(st=!1,tt=hp(De,!0)):tt=[]:su(De)||dl(De)?(tt=de,dl(de)?tt=rd(de):(!Gr(de)||na(de))&&(tt=Xd(De))):st=!1}st&&(J.set(De,tt),A(tt,De,b,U,J),J.delete(De)),Zs(r,d,tt)}}(r,s,J,d,Vi,b,A);else{var de=b?b(lf(r,J),U,J+"",r,s,A):v;de===v&&(de=U),Zs(r,J,de)}},Mi)}function Os(r,s){var d=r.length;if(d)return Mo(s+=s<0?d:0,d)?r[s]:v}function Yl(r,s,d){s=s.length?qt(s,function(U){return Bn(U)?function(J){return Xn(J,1===U.length?U[0]:U)}:U}):[Si];var b=-1;return s=qt(s,Ai(_n())),function pl(ye,Le){var Fe=ye.length;for(ye.sort(Le);Fe--;)ye[Fe]=ye[Fe].value;return ye}(ql(r,function(U,J,de){return{criteria:qt(s,function(Je){return Je(U)}),index:++b,value:U}}),function(U,J){return function pp(r,s,d){for(var b=-1,A=r.criteria,U=s.criteria,J=A.length,de=d.length;++b<J;){var De=Cc(A[b],U[b]);if(De)return b>=de?De:De*("desc"==d[b]?-1:1)}return r.index-s.index}(U,J,d)})}function Mu(r,s,d){for(var b=-1,A=s.length,U={};++b<A;){var J=s[b],de=Xn(r,J);d(de,J)&&Go(U,Qs(J,r),de)}return U}function Su(r,s,d,b){var A=b?Yr:sr,U=-1,J=s.length,de=r;for(r===s&&(s=Do(s)),d&&(de=qt(r,Ai(d)));++U<J;)for(var De=0,Je=s[U],tt=d?d(Je):Je;(De=A(de,tt,De,b))>-1;)de!==r&&Ga.call(de,De,1),Ga.call(r,De,1);return r}function hc(r,s){for(var d=r?s.length:0,b=d-1;d--;){var A=s[d];if(d==b||A!==U){var U=A;Mo(A)?Ga.call(r,A,1):_c(r,A)}}return r}function Tu(r,s){return r+Ao(zs()*(s-r+1))}function pc(r,s){var d="";if(!r||s<1||s>vt)return d;do{s%2&&(d+=r),(s=Ao(s/2))&&(r+=r)}while(s);return d}function Zn(r,s){return Vu(ku(r,s,Si),r+"")}function ap(r){return vu(Il(r))}function lp(r,s){var d=Il(r);return Uu(d,Ks(s,0,d.length))}function Go(r,s,d,b){if(!Gr(r))return r;for(var A=-1,U=(s=Qs(s,r)).length,J=U-1,de=r;null!=de&&++A<U;){var De=As(s[A]),Je=d;if("__proto__"===De||"constructor"===De||"prototype"===De)return r;if(A!=J){var tt=de[De];(Je=b?b(tt,De,de):v)===v&&(Je=Gr(tt)?tt:Mo(s[A+1])?[]:{})}Wl(de,De,Je),de=de[De]}return r}var bl=bi?function(r,s){return bi.set(r,s),r}:Si,up=ws?function(r,s){return ws(r,"toString",{configurable:!0,enumerable:!1,value:To(s),writable:!0})}:Si;function Ym(r){return Uu(Il(r))}function rs(r,s,d){var b=-1,A=r.length;s<0&&(s=-s>A?0:A+s),(d=d>A?A:d)<0&&(d+=A),A=s>d?0:d-s>>>0,s>>>=0;for(var U=Fe(A);++b<A;)U[b]=r[b+s];return U}function Zm(r,s){var d;return O(r,function(b,A,U){return!(d=s(b,A,U))}),!!d}function gc(r,s,d){var b=0,A=null==r?b:r.length;if("number"==typeof s&&s==s&&A<=2147483647){for(;b<A;){var U=b+A>>>1,J=r[U];null!==J&&!uo(J)&&(d?J<=s:J<s)?b=U+1:A=U}return A}return Bd(r,s,Si,d)}function Bd(r,s,d,b){var A=0,U=null==r?0:r.length;if(0===U)return 0;for(var J=(s=d(s))!=s,de=null===s,De=uo(s),Je=s===v;A<U;){var tt=Ao((A+U)/2),st=d(r[tt]),Mt=st!==v,Kt=null===st,bn=st==st,Gn=uo(st);if(J)var yn=b||bn;else yn=Je?bn&&(b||Mt):de?bn&&Mt&&(b||!Kt):De?bn&&Mt&&!Kt&&(b||!Gn):!Kt&&!Gn&&(b?st<=s:st<s);yn?A=tt+1:U=tt}return Qr(U,4294967294)}function mc(r,s){for(var d=-1,b=r.length,A=0,U=[];++d<b;){var J=r[d],de=s?s(J):J;if(!d||!as(de,De)){var De=de;U[A++]=0===J?0:J}}return U}function Ud(r){return"number"==typeof r?r:uo(r)?NaN:+r}function Fo(r){if("string"==typeof r)return r;if(Bn(r))return qt(r,Fo)+"";if(uo(r))return bs?bs.call(r):"";var s=r+"";return"0"==s&&1/r==-at?"-0":s}function Ta(r,s,d){var b=-1,A=tr,U=r.length,J=!0,de=[],De=de;if(d)J=!1,A=cn;else if(U>=200){var Je=s?null:Mc(r);if(Je)return ms(Je);J=!1,A=An,De=new ui}else De=s?[]:de;e:for(;++b<U;){var tt=r[b],st=s?s(tt):tt;if(tt=d||0!==tt?tt:0,J&&st==st){for(var Mt=De.length;Mt--;)if(De[Mt]===st)continue e;s&&De.push(st),de.push(tt)}else A(De,st,d)||(De!==de&&De.push(st),de.push(tt))}return de}function _c(r,s){return null==(r=Lu(r,s=Qs(s,r)))||delete r[As(So(s))]}function cp(r,s,d,b){return Go(r,s,d(Xn(r,s)),b)}function Pu(r,s,d,b){for(var A=r.length,U=b?A:-1;(b?U--:++U<A)&&s(r[U],U,r););return d?rs(r,b?0:U,b?U+1:A):rs(r,b?U+1:0,b?A:U)}function Zl(r,s){var d=r;return d instanceof On&&(d=d.value()),Vn(s,function(b,A){return A.func.apply(A.thisArg,yr([b],A.args))},d)}function Ou(r,s,d){var b=r.length;if(b<2)return b?Ta(r[0]):[];for(var A=-1,U=Fe(b);++A<b;)for(var J=r[A],de=-1;++de<b;)de!=A&&(U[A]=m(U[A]||J,r[de],s,d));return Ta(ct(U,1),s,d)}function is(r,s,d){for(var b=-1,A=r.length,U=s.length,J={};++b<A;)d(J,r[b],b<U?s[b]:v);return J}function Ja(r){return _i(r)?r:[]}function xu(r){return"function"==typeof r?r:Si}function Qs(r,s){return Bn(r)?r:ef(r,s)?[r]:cf(Cr(r))}var Hd=Zn;function Xa(r,s,d){var b=r.length;return d=d===v?b:d,!s&&d>=b?r:rs(r,s,d)}var dp=Wa||function(r){return Sr.clearTimeout(r)};function fp(r,s){if(s)return r.slice();var d=r.length,b=yl?yl(d):new r.constructor(d);return r.copy(b),b}function Kl(r){var s=new r.constructor(r.byteLength);return new va(s).set(new va(r)),s}function hp(r,s){var d=s?Kl(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.length)}function Cc(r,s){if(r!==s){var d=r!==v,b=null===r,A=r==r,U=uo(r),J=s!==v,de=null===s,De=s==s,Je=uo(s);if(!de&&!Je&&!U&&r>s||U&&J&&De&&!de&&!Je||b&&J&&De||!d&&De||!A)return 1;if(!b&&!U&&!Je&&r<s||Je&&d&&A&&!b&&!U||de&&d&&A||!J&&A||!De)return-1}return 0}function jd(r,s,d,b){for(var A=-1,U=r.length,J=d.length,de=-1,De=s.length,Je=Vr(U-J,0),tt=Fe(De+Je),st=!b;++de<De;)tt[de]=s[de];for(;++A<J;)(st||A<U)&&(tt[d[A]]=r[A]);for(;Je--;)tt[de++]=r[A++];return tt}function $d(r,s,d,b){for(var A=-1,U=r.length,J=-1,de=d.length,De=-1,Je=s.length,tt=Vr(U-de,0),st=Fe(tt+Je),Mt=!b;++A<tt;)st[A]=r[A];for(var Kt=A;++De<Je;)st[Kt+De]=s[De];for(;++J<de;)(Mt||A<U)&&(st[Kt+d[J]]=r[A++]);return st}function Do(r,s){var d=-1,b=r.length;for(s||(s=Fe(b));++d<b;)s[d]=r[d];return s}function os(r,s,d,b){var A=!d;d||(d={});for(var U=-1,J=s.length;++U<J;){var de=s[U],De=b?b(d[de],r[de],de,d,r):v;De===v&&(De=r[de]),A?Ms(d,de,De):Wl(d,de,De)}return d}function El(r,s){return function(d,b){var A=Bn(d)?fe:kd,U=s?s():{};return A(d,r,_n(b,2),U)}}function Dl(r){return Zn(function(s,d){var b=-1,A=d.length,U=A>1?d[A-1]:v,J=A>2?d[2]:v;for(U=r.length>3&&"function"==typeof U?(A--,U):v,J&&$r(d[0],d[1],J)&&(U=A<3?v:U,A=1),s=vr(s);++b<A;){var de=d[b];de&&r(s,de,b,U)}return s})}function di(r,s){return function(d,b){if(null==d)return d;if(!lo(d))return r(d,b);for(var A=d.length,U=s?A:-1,J=vr(d);(s?U--:++U<A)&&!1!==b(J[U],U,J););return d}}function wc(r){return function(s,d,b){for(var A=-1,U=vr(s),J=b(s),de=J.length;de--;){var De=J[r?de:++A];if(!1===d(U[De],De,U))break}return s}}function Iu(r){return function(s){var d=Uo(s=Cr(s))?qi(s):v,b=d?d[0]:s.charAt(0),A=d?Xa(d,1).join(""):s.slice(1);return b[r]()+A}}function el(r){return function(s){return Vn(cs(hd(s).replace(ni,"")),r,"")}}function Ql(r){return function(){var s=arguments;switch(s.length){case 0:return new r;case 1:return new r(s[0]);case 2:return new r(s[0],s[1]);case 3:return new r(s[0],s[1],s[2]);case 4:return new r(s[0],s[1],s[2],s[3]);case 5:return new r(s[0],s[1],s[2],s[3],s[4]);case 6:return new r(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new r(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=wo(r.prototype),b=r.apply(d,s);return Gr(b)?b:d}}function Gd(r){return function(s,d,b){var A=vr(s);if(!lo(s)){var U=_n(d,3);s=Ri(s),d=function(de){return U(A[de],de,A)}}var J=r(s,d,b);return J>-1?A[U?s[J]:J]:v}}function zd(r){return Xs(function(s){var d=s.length,b=d,A=li.prototype.thru;for(r&&s.reverse();b--;){var U=s[b];if("function"!=typeof U)throw new nr(ae);if(A&&!J&&"wrapper"==Ml(U))var J=new li([],!0)}for(b=J?b:d;++b<d;){var de=Ml(U=s[b]),De="wrapper"==de?Pc(U):v;J=De&&Fu(De[0])&&424==De[1]&&!De[4].length&&1==De[9]?J[Ml(De[0])].apply(J,De[3]):1==U.length&&Fu(U)?J[de]():J.thru(U)}return function(){var Je=arguments,tt=Je[0];if(J&&1==Je.length&&Bn(tt))return J.plant(tt).value();for(var st=0,Mt=d?s[st].apply(this,Je):tt;++st<d;)Mt=s[st].call(this,Mt);return Mt}})}function Ru(r,s,d,b,A,U,J,de,De,Je){var tt=128&s,st=1&s,Mt=2&s,Kt=24&s,bn=512&s,Gn=Mt?v:Ql(r);return function yn(){for(var Kn=arguments.length,pr=Fe(Kn),co=Kn;co--;)pr[co]=arguments[co];if(Kt)var fo=Sl(yn),Wo=gl(pr,fo);if(b&&(pr=jd(pr,b,A,Kt)),U&&(pr=$d(pr,U,J,Kt)),Kn-=Wo,Kt&&Kn<Je){var Br=Zr(pr,fo);return Bi(r,s,Ru,yn.placeholder,d,pr,Br,de,De,Je-Kn)}var qo=st?d:this,ds=Mt?qo[r]:r;return Kn=pr.length,de?pr=af(pr,de):bn&&Kn>1&&pr.reverse(),tt&&De<Kn&&(pr.length=De),this&&this!==Sr&&this instanceof yn&&(ds=Gn||Ql(ds)),ds.apply(qo,pr)}}function yp(r,s){return function(d,b){return function so(r,s,d,b){return Ut(r,function(A,U,J){s(b,d(A),U,J)}),b}(d,r,s(b),{})}}function bc(r,s){return function(d,b){var A;if(d===v&&b===v)return s;if(d!==v&&(A=d),b!==v){if(A===v)return b;"string"==typeof d||"string"==typeof b?(d=Fo(d),b=Fo(b)):(d=Ud(d),b=Ud(b)),A=r(d,b)}return A}}function tl(r){return Xs(function(s){return s=qt(s,Ai(_n())),Zn(function(d){var b=this;return r(s,function(A){return L(A,b,d)})})})}function Ii(r,s){var d=(s=s===v?" ":Fo(s)).length;if(d<2)return d?pc(s,r):s;var b=pc(s,ba(r/Qo(s)));return Uo(s)?Xa(qi(b),0,r).join(""):b.slice(0,r)}function Dc(r){return function(s,d,b){return b&&"number"!=typeof b&&$r(s,d,b)&&(d=b=v),s=Aa(s),d===v?(d=s,s=0):d=Aa(d),function sp(r,s,d,b){for(var A=-1,U=Vr(ba((s-r)/(d||1)),0),J=Fe(U);U--;)J[b?U:++A]=r,r+=d;return J}(s,d,b=b===v?s<d?1:-1:Aa(b),r)}}function Jl(r){return function(s,d){return"string"==typeof s&&"string"==typeof d||(s=ko(s),d=ko(d)),r(s,d)}}function Bi(r,s,d,b,A,U,J,de,De,Je){var tt=8&s;s|=tt?32:64,4&(s&=~(tt?64:32))||(s&=-4);var Gn=[r,s,A,tt?U:v,tt?J:v,tt?v:U,tt?v:J,de,De,Je],yn=d.apply(v,Gn);return Fu(r)&&sl(yn,Gn),yn.placeholder=b,uf(yn,r,s)}function nl(r){var s=Kr[r];return function(d,b){if(d=ko(d),(b=null==b?0:Qr($n(b),292))&&hi(d)){var A=(Cr(d)+"e").split("e");return+((A=(Cr(s(A[0]+"e"+(+A[1]+b)))+"e").split("e"))[0]+"e"+(+A[1]-b))}return s(d)}}var Mc=pi&&1/ms(new pi([,-0]))[1]==at?function(r){return new pi(r)}:ec;function Wd(r){return function(s){var d=Ui(s);return d==wr?Ko(s):d==Mr?function _s(ye){var Le=-1,Fe=Array(ye.size);return ye.forEach(function(Ot){Fe[++Le]=[Ot,Ot]}),Fe}(s):function ri(ye,Le){return qt(Le,function(Fe){return[Fe,ye[Fe]]})}(s,r(s))}}function Js(r,s,d,b,A,U,J,de){var De=2&s;if(!De&&"function"!=typeof r)throw new nr(ae);var Je=b?b.length:0;if(Je||(s&=-97,b=A=v),J=J===v?J:Vr($n(J),0),de=de===v?de:$n(de),Je-=A?A.length:0,64&s){var tt=b,st=A;b=A=v}var Mt=De?v:Pc(r),Kt=[r,s,d,b,A,tt,st,U,J,de];if(Mt&&function eu(r,s){var d=r[1],b=s[1],A=d|b;if(!(A<131||(128==b&&8==d||128==b&&256==d&&r[7].length<=s[8]||384==b&&s[7].length<=s[8]&&8==d)))return r;1&b&&(r[2]=s[2],A|=1&d?0:4);var de=s[3];if(de){var De=r[3];r[3]=De?jd(De,de,s[4]):de,r[4]=De?Zr(r[3],H):s[4]}(de=s[5])&&(r[5]=(De=r[5])?$d(De,de,s[6]):de,r[6]=De?Zr(r[5],H):s[6]),(de=s[7])&&(r[7]=de),128&b&&(r[8]=null==r[8]?s[8]:Qr(r[8],s[8])),null==r[9]&&(r[9]=s[9]),r[0]=s[0],r[1]=A}(Kt,Mt),r=Kt[0],s=Kt[1],d=Kt[2],b=Kt[3],A=Kt[4],!(de=Kt[9]=Kt[9]===v?De?0:r.length:Vr(Kt[9]-Je,0))&&24&s&&(s&=-25),s&&1!=s)bn=8==s||16==s?function _p(r,s,d){var b=Ql(r);return function A(){for(var U=arguments.length,J=Fe(U),de=U,De=Sl(A);de--;)J[de]=arguments[de];var Je=U<3&&J[0]!==De&&J[U-1]!==De?[]:Zr(J,De);return(U-=Je.length)<d?Bi(r,s,Ru,A.placeholder,v,J,Je,v,v,d-U):L(this&&this!==Sr&&this instanceof A?b:r,this,J)}}(r,s,de):32!=s&&33!=s||A.length?Ru.apply(v,Kt):function Ec(r,s,d,b){var A=1&s,U=Ql(r);return function J(){for(var de=-1,De=arguments.length,Je=-1,tt=b.length,st=Fe(tt+De),Mt=this&&this!==Sr&&this instanceof J?U:r;++Je<tt;)st[Je]=b[Je];for(;De--;)st[Je++]=arguments[++de];return L(Mt,A?d:this,st)}}(r,s,d,b);else var bn=function mp(r,s,d){var b=1&s,A=Ql(r);return function U(){return(this&&this!==Sr&&this instanceof U?A:r).apply(b?d:this,arguments)}}(r,s,d);return uf((Mt?bl:sl)(bn,Kt),r,s)}function Sc(r,s,d,b){return r===v||as(r,Cs[d])&&!gr.call(b,d)?s:r}function qd(r,s,d,b,A,U){return Gr(r)&&Gr(s)&&(U.set(s,r),Vi(r,s,v,qd,U),U.delete(s)),r}function Yd(r){return su(r)?v:r}function Zd(r,s,d,b,A,U){var J=1&d,de=r.length,De=s.length;if(de!=De&&!(J&&De>de))return!1;var Je=U.get(r),tt=U.get(s);if(Je&&tt)return Je==s&&tt==r;var st=-1,Mt=!0,Kt=2&d?new ui:v;for(U.set(r,s),U.set(s,r);++st<de;){var bn=r[st],Gn=s[st];if(b)var yn=J?b(Gn,bn,st,s,r,U):b(bn,Gn,st,r,s,U);if(yn!==v){if(yn)continue;Mt=!1;break}if(Kt){if(!P(s,function(Kn,pr){if(!An(Kt,pr)&&(bn===Kn||A(bn,Kn,d,b,U)))return Kt.push(pr)})){Mt=!1;break}}else if(bn!==Gn&&!A(bn,Gn,d,b,U)){Mt=!1;break}}return U.delete(r),U.delete(s),Mt}function Xs(r){return Vu(ku(r,v,vf),r+"")}function Xl(r){return Fr(r,Ri,xc)}function Tc(r){return Fr(r,Mi,Qd)}var Pc=bi?function(r){return bi.get(r)}:ec;function Ml(r){for(var s=r.name+"",d=Jo[s],b=gr.call(Jo,s)?d.length:0;b--;){var A=d[b],U=A.func;if(null==U||U==r)return A.name}return s}function Sl(r){return(gr.call(V,"placeholder")?V:r).placeholder}function _n(){var r=V.iteratee||Ia;return r=r===Ia?Ro:r,arguments.length?r(arguments[0],arguments[1]):r}function rl(r,s){var d=r.__data__;return function Qm(r){var s=typeof r;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==r:null===r}(s)?d["string"==typeof s?"string":"hash"]:d.map}function Oc(r){for(var s=Ri(r),d=s.length;d--;){var b=s[d],A=r[b];s[d]=[b,A,Nu(A)]}return s}function il(r,s){var d=function Vs(ye,Le){return null==ye?v:ye[Le]}(r,s);return Jt(d)?d:v}var xc=Ya?function(r){return null==r?[]:(r=vr(r),Wn(Ya(r),function(s){return wa.call(r,s)}))}:tc,Qd=Ya?function(r){for(var s=[];r;)yr(s,xc(r)),r=xo(r);return s}:tc,Ui=fr;function Jd(r,s,d){for(var b=-1,A=(s=Qs(s,r)).length,U=!1;++b<A;){var J=As(s[b]);if(!(U=null!=r&&d(r,J)))break;r=r[J]}return U||++b!=A?U:!!(A=null==r?0:r.length)&&ou(A)&&Mo(J,A)&&(Bn(r)||dl(r))}function Xd(r){return"function"!=typeof r.constructor||ol(r)?{}:wo(xo(r))}function Sp(r){return Bn(r)||dl(r)||!!(gu&&r&&r[gu])}function Mo(r,s){var d=typeof r;return!!(s=s??vt)&&("number"==d||"symbol"!=d&&Be.test(r))&&r>-1&&r%1==0&&r<s}function $r(r,s,d){if(!Gr(d))return!1;var b=typeof s;return!!("number"==b?lo(d)&&Mo(s,d.length):"string"==b&&s in d)&&as(d[s],r)}function ef(r,s){if(Bn(r))return!1;var d=typeof r;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=r&&!uo(r))||bt.test(r)||!Gt.test(r)||null!=s&&r in vr(s)}function Fu(r){var s=Ml(r),d=V[s];if("function"!=typeof d||!(s in On.prototype))return!1;if(r===d)return!0;var b=Pc(d);return!!b&&r===b[0]}(Ea&&Ui(new Ea(new ArrayBuffer(1)))!=qe||Jr&&Ui(new Jr)!=wr||mr&&Ui(mr.resolve())!=eo||pi&&Ui(new pi)!=Mr||$o&&Ui(new $o)!=q)&&(Ui=function(r){var s=fr(r),d=s==Hr?r.constructor:v,b=d?ll(d):"";if(b)switch(b){case $l:return qe;case Gl:return wr;case Da:return eo;case Ma:return Mr;case yu:return q}return s});var xs=ga?na:yd;function ol(r){var s=r&&r.constructor;return r===("function"==typeof s&&s.prototype||Cs)}function Nu(r){return r==r&&!Gr(r)}function tf(r,s){return function(d){return null!=d&&d[r]===s&&(s!==v||r in vr(d))}}function ku(r,s,d){return s=Vr(s===v?r.length-1:s,0),function(){for(var b=arguments,A=-1,U=Vr(b.length-s,0),J=Fe(U);++A<U;)J[A]=b[s+A];A=-1;for(var de=Fe(s+1);++A<s;)de[A]=b[A];return de[s]=d(J),L(r,this,de)}}function Lu(r,s){return s.length<2?r:Xn(r,rs(s,0,-1))}function af(r,s){for(var d=r.length,b=Qr(s.length,d),A=Do(r);b--;){var U=s[b];r[b]=Mo(U,d)?A[U]:v}return r}function lf(r,s){if(("constructor"!==s||"function"!=typeof r[s])&&"__proto__"!=s)return r[s]}var sl=Bu(bl),al=jl||function(r,s){return Sr.setTimeout(r,s)},Vu=Bu(up);function uf(r,s,d){var b=s+"";return Vu(r,function Mp(r,s){var d=s.length;if(!d)return r;var b=d-1;return s[b]=(d>1?"& ":"")+s[b],s=s.join(d>2?", ":" "),r.replace(Te,"{\n/* [wrapped with "+s+"] */\n")}(b,function Tp(r,s){return Ie(Ti,function(d){var b="_."+d[0];s&d[1]&&!tr(r,b)&&r.push(b)}),r.sort()}(function bp(r){var s=r.match(ze);return s?s[1].split(Ke):[]}(b),d)))}function Bu(r){var s=0,d=0;return function(){var b=Gs(),A=16-(b-d);if(d=b,A>0){if(++s>=800)return arguments[0]}else s=0;return r.apply(v,arguments)}}function Uu(r,s){var d=-1,b=r.length,A=b-1;for(s=s===v?b:s;++d<s;){var U=Tu(d,A),J=r[U];r[U]=r[d],r[d]=J}return r.length=s,r}var cf=function nf(r){var s=ta(r,function(b){return 500===d.size&&d.clear(),b}),d=s.cache;return s}(function(r){var s=[];return 46===r.charCodeAt(0)&&s.push(""),r.replace(an,function(d,b,A,U){s.push(A?U.replace(Un,"$1"):b||d)}),s});function As(r){if("string"==typeof r||uo(r))return r;var s=r+"";return"0"==s&&1/r==-at?"-0":s}function ll(r){if(null!=r){try{return ma.call(r)}catch{}try{return r+""}catch{}}return""}function df(r){if(r instanceof On)return r.clone();var s=new li(r.__wrapped__,r.__chain__);return s.__actions__=Do(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}var Ic=Zn(function(r,s){return _i(r)?m(r,ct(s,1,_i,!0)):[]}),Pp=Zn(function(r,s){var d=So(s);return _i(d)&&(d=v),_i(r)?m(r,ct(s,1,_i,!0),_n(d,2)):[]}),Op=Zn(function(r,s){var d=So(s);return _i(d)&&(d=v),_i(r)?m(r,ct(s,1,_i,!0),v,d):[]});function yf(r,s,d){var b=null==r?0:r.length;if(!b)return-1;var A=null==d?0:$n(d);return A<0&&(A=Vr(b+A,0)),xt(r,_n(s,3),A)}function tu(r,s,d){var b=null==r?0:r.length;if(!b)return-1;var A=b-1;return d!==v&&(A=$n(d),A=d<0?Vr(b+A,0):Qr(A,b-1)),xt(r,_n(s,3),A,!0)}function vf(r){return null!=r&&r.length?ct(r,1):[]}function Hu(r){return r&&r.length?r[0]:v}var $u=Zn(function(r){var s=qt(r,Ja);return s.length&&s[0]===r[0]?gi(s):[]}),Df=Zn(function(r){var s=So(r),d=qt(r,Ja);return s===So(d)?s=v:d.pop(),d.length&&d[0]===r[0]?gi(d,_n(s,2)):[]}),Rc=Zn(function(r){var s=So(r),d=qt(r,Ja);return(s="function"==typeof s?s:v)&&d.pop(),d.length&&d[0]===r[0]?gi(d,v,s):[]});function So(r){var s=null==r?0:r.length;return s?r[s-1]:v}var Sf=Zn(Tf);function Tf(r,s){return r&&r.length&&s&&s.length?Su(r,s):r}var Fc=Xs(function(r,s){var d=null==r?0:r.length,b=wu(r,s);return hc(r,qt(s,function(A){return Mo(A,d)?+A:A}).sort(Cc)),b});function xf(r){return null==r?r:Ka.call(r)}var Hp=Zn(function(r){return Ta(ct(r,1,_i,!0))}),jp=Zn(function(r){var s=So(r);return _i(s)&&(s=v),Ta(ct(r,1,_i,!0),_n(s,2))}),Fn=Zn(function(r){var s=So(r);return s="function"==typeof s?s:v,Ta(ct(r,1,_i,!0),v,s)});function Tl(r){if(!r||!r.length)return[];var s=0;return r=Wn(r,function(d){if(_i(d))return s=Vr(d.length,s),!0}),fi(s,function(d){return qt(r,dn(d))})}function zo(r,s){if(!r||!r.length)return[];var d=Tl(r);return null==s?d:qt(d,function(b){return L(s,v,b)})}var Vf=Zn(function(r,s){return _i(r)?m(r,s):[]}),$p=Zn(function(r){return Ou(Wn(r,_i))}),Nc=Zn(function(r){var s=So(r);return _i(s)&&(s=v),Ou(Wn(r,_i),_n(s,2))}),ea=Zn(function(r){var s=So(r);return s="function"==typeof s?s:v,Ou(Wn(r,_i),v,s)}),kc=Zn(Tl),Xm=Zn(function(r){var s=r.length,d=s>1?r[s-1]:v;return d="function"==typeof d?(r.pop(),d):v,zo(r,d)});function Vc(r){var s=V(r);return s.__chain__=!0,s}function cl(r,s){return s(r)}var Gu=Xs(function(r){var s=r.length,d=s?r[0]:0,b=this.__wrapped__,A=function(U){return wu(U,r)};return!(s>1||this.__actions__.length)&&b instanceof On&&Mo(d)?((b=b.slice(d,+d+(s?1:0))).__actions__.push({func:cl,args:[A],thisArg:v}),new li(b,this.__chain__).thru(function(U){return s&&!U.length&&U.push(v),U})):this.thru(A)}),qp=El(function(r,s,d){gr.call(r,d)?++r[d]:Ms(r,d,1)}),Yp=Gd(yf),r_=Gd(tu);function zu(r,s){return(Bn(r)?Ie:O)(r,_n(s,3))}function Kp(r,s){return(Bn(r)?ut:B)(r,_n(s,3))}var i_=El(function(r,s,d){gr.call(r,d)?r[d].push(s):Ms(r,d,[s])}),s_=Zn(function(r,s,d){var b=-1,A="function"==typeof s,U=lo(r)?Fe(r.length):[];return O(r,function(J){U[++b]=A?L(s,J,d):ao(J,s,d)}),U}),a_=El(function(r,s,d){Ms(r,d,s)});function jc(r,s){return(Bn(r)?qt:ql)(r,_n(s,3))}var u_=El(function(r,s,d){r[d?0:1].push(s)},function(){return[[],[]]}),zc=Zn(function(r,s){if(null==r)return[];var d=s.length;return d>1&&$r(r,s[0],s[1])?s=[]:d>2&&$r(s[0],s[1],s[2])&&(s=[s[0]]),Yl(r,ct(s,1),[])}),Wu=qa||function(){return Sr.Date.now()};function Wc(r,s,d){return s=d?v:s,Js(r,128,v,v,v,v,s=r&&null==s?r.length:s)}function zf(r,s){var d;if("function"!=typeof s)throw new nr(ae);return r=$n(r),function(){return--r>0&&(d=s.apply(this,arguments)),r<=1&&(s=v),d}}var ru=Zn(function(r,s,d){var b=1;if(d.length){var A=Zr(d,Sl(ru));b|=32}return Js(r,b,s,d,A)}),Wf=Zn(function(r,s,d){var b=3;if(d.length){var A=Zr(d,Sl(Wf));b|=32}return Js(s,b,r,d,A)});function Yf(r,s,d){var b,A,U,J,de,De,Je=0,tt=!1,st=!1,Mt=!0;if("function"!=typeof r)throw new nr(ae);function Kt(Br){var qo=b,ds=A;return b=A=v,Je=Br,J=r.apply(ds,qo)}function bn(Br){return Je=Br,de=al(Kn,s),tt?Kt(Br):J}function yn(Br){var qo=Br-De;return De===v||qo>=s||qo<0||st&&Br-Je>=U}function Kn(){var Br=Wu();if(yn(Br))return pr(Br);de=al(Kn,function Gn(Br){var nc=s-(Br-De);return st?Qr(nc,U-(Br-Je)):nc}(Br))}function pr(Br){return de=v,Mt&&b?Kt(Br):(b=A=v,J)}function Wo(){var Br=Wu(),qo=yn(Br);if(b=arguments,A=this,De=Br,qo){if(de===v)return bn(De);if(st)return dp(de),de=al(Kn,s),Kt(De)}return de===v&&(de=al(Kn,s)),J}return s=ko(s)||0,Gr(d)&&(tt=!!d.leading,U=(st="maxWait"in d)?Vr(ko(d.maxWait)||0,s):U,Mt="trailing"in d?!!d.trailing:Mt),Wo.cancel=function co(){de!==v&&dp(de),Je=0,b=De=A=de=v},Wo.flush=function fo(){return de===v?J:pr(Wu())},Wo}var iu=Zn(function(r,s){return a(r,1,s)}),Pl=Zn(function(r,s,d){return a(r,ko(s)||0,d)});function ta(r,s){if("function"!=typeof r||null!=s&&"function"!=typeof s)throw new nr(ae);var d=function(){var b=arguments,A=s?s.apply(this,b):b[0],U=d.cache;if(U.has(A))return U.get(A);var J=r.apply(this,b);return d.cache=U.set(A,J)||U,J};return d.cache=new(ta.Cache||mn),d}function xa(r){if("function"!=typeof r)throw new nr(ae);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}ta.Cache=mn;var Jp=Hd(function(r,s){var d=(s=1==s.length&&Bn(s[0])?qt(s[0],Ai(_n())):qt(ct(s,1),Ai(_n()))).length;return Zn(function(b){for(var A=-1,U=Qr(b.length,d);++A<U;)b[A]=s[A].call(this,b[A]);return L(r,this,b)})}),qu=Zn(function(r,s){var d=Zr(s,Sl(qu));return Js(r,32,v,s,d)}),Zc=Zn(function(r,s){var d=Zr(s,Sl(Zc));return Js(r,64,v,s,d)}),Kc=Xs(function(r,s){return Js(r,256,v,v,v,s)});function as(r,s){return r===s||r!=r&&s!=s}var No=Jl(Ei),ng=Jl(function(r,s){return r>=s}),dl=Io(function(){return arguments}())?Io:function(r){return ii(r)&&gr.call(r,"callee")&&!wa.call(r,"callee")},Bn=Fe.isArray,h_=jr?Ai(jr):function wl(r){return ii(r)&&fr(r)==ke};function lo(r){return null!=r&&ou(r.length)&&!na(r)}function _i(r){return ii(r)&&lo(r)}var Is=$s||yd,eh=yo?Ai(yo):function Ss(r){return ii(r)&&fr(r)==Mn};function Jc(r){if(!ii(r))return!1;var s=fr(r);return s==Ar||"[object DOMException]"==s||"string"==typeof r.message&&"string"==typeof r.name&&!su(r)}function na(r){if(!Gr(r))return!1;var s=fr(r);return s==_r||s==Qn||"[object AsyncFunction]"==s||"[object Proxy]"==s}function rh(r){return"number"==typeof r&&r==$n(r)}function ou(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=vt}function Gr(r){var s=typeof r;return null!=r&&("object"==s||"function"==s)}function ii(r){return null!=r&&"object"==typeof r}var ls=Zo?Ai(Zo):function Eu(r){return ii(r)&&Ui(r)==wr};function oh(r){return"number"==typeof r||ii(r)&&fr(r)==Ir}function su(r){if(!ii(r)||fr(r)!=Hr)return!1;var s=xo(r);if(null===s)return!0;var d=gr.call(s,"constructor")&&s.constructor;return"function"==typeof d&&d instanceof d&&ma.call(d)==ya}var au=M?Ai(M):function wn(r){return ii(r)&&fr(r)==Nr},sh=R?Ai(R):function hr(r){return ii(r)&&Ui(r)==Mr};function fl(r){return"string"==typeof r||!Bn(r)&&ii(r)&&fr(r)==zr}function uo(r){return"symbol"==typeof r||ii(r)&&fr(r)==We}var xl=S?Ai(S):function ci(r){return ii(r)&&ou(r.length)&&!!zn[fr(r)]},g_=Jl(Or),m_=Jl(function(r,s){return r<=s});function Zu(r){if(!r)return[];if(lo(r))return fl(r)?qi(r):Do(r);if(za&&r[za])return function ha(ye){for(var Le,Fe=[];!(Le=ye.next()).done;)Fe.push(Le.value);return Fe}(r[za]());var s=Ui(r);return(s==wr?Ko:s==Mr?ms:Il)(r)}function Aa(r){return r?(r=ko(r))===at||r===-at?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function $n(r){var s=Aa(r),d=s%1;return s==s?d?s-d:s:0}function nd(r){return r?Ks($n(r),0,xr):0}function ko(r){if("number"==typeof r)return r;if(uo(r))return NaN;if(Gr(r)){var s="function"==typeof r.valueOf?r.valueOf():r;r=Gr(s)?s+"":s}if("string"!=typeof r)return 0===r?r:+r;r=Ba(r);var d=Hn.test(r);return d||en.test(r)?Li(r.slice(2),d?2:8):ln.test(r)?NaN:+r}function rd(r){return os(r,Mi(r))}function Cr(r){return null==r?"":Fo(r)}var ra=Dl(function(r,s){if(ol(s)||lo(s))os(s,Ri(s),r);else for(var d in s)gr.call(s,d)&&Wl(r,d,s[d])}),lu=Dl(function(r,s){os(s,Mi(s),r)}),Ku=Dl(function(r,s,d,b){os(s,Mi(s),r,b)}),dg=Dl(function(r,s,d,b){os(s,Ri(s),r,b)}),__=Xs(wu),uh=Zn(function(r,s){r=vr(r);var d=-1,b=s.length,A=b>2?s[2]:v;for(A&&$r(s[0],s[1],A)&&(b=1);++d<b;)for(var U=s[d],J=Mi(U),de=-1,De=J.length;++de<De;){var Je=J[de],tt=r[Je];(tt===v||as(tt,Cs[Je])&&!gr.call(r,Je))&&(r[Je]=U[Je])}return r}),od=Zn(function(r){return r.push(v,qd),L(ph,v,r)});function ld(r,s,d){var b=null==r?v:Xn(r,s);return b===v?d:b}function Qu(r,s){return null!=r&&Jd(r,s,ns)}var Al=yp(function(r,s,d){null!=s&&"function"!=typeof s.toString&&(s=jo.call(s)),r[s]=d},To(Si)),hh=yp(function(r,s,d){null!=s&&"function"!=typeof s.toString&&(s=jo.call(s)),gr.call(r,s)?r[s].push(d):r[s]=[d]},_n),gg=Zn(ao);function Ri(r){return lo(r)?Nd(r):Qi(r)}function Mi(r){return lo(r)?Nd(r,!0):function Ts(r){if(!Gr(r))return function rf(r){var s=[];if(null!=r)for(var d in vr(r))s.push(d);return s}(r);var s=ol(r),d=[];for(var b in r)"constructor"==b&&(s||!gr.call(r,b))||d.push(b);return d}(r)}var yg=Dl(function(r,s,d){Vi(r,s,d)}),ph=Dl(function(r,s,d,b){Vi(r,s,d,b)}),Rs=Xs(function(r,s){var d={};if(null==r)return d;var b=!1;s=qt(s,function(U){return U=Qs(U,r),b||(b=U.length>1),U}),os(r,Tc(r),d),b&&(d=oo(d,7,Yd));for(var A=s.length;A--;)_c(d,s[A]);return d}),gh=Xs(function(r,s){return null==r?{}:function Du(r,s){return Mu(r,s,function(d,b){return Qu(r,b)})}(r,s)});function cd(r,s){if(null==r)return{};var d=qt(Tc(r),function(b){return[b]});return s=_n(s),Mu(r,d,function(b,A){return s(b,A[0])})}var yh=Wd(Ri),vh=Wd(Mi);function Il(r){return null==r?[]:et(r,Ri(r))}var bg=el(function(r,s,d){return s=s.toLowerCase(),r+(d?fd(s):s)});function fd(r){return du(Cr(r).toLowerCase())}function hd(r){return(r=Cr(r))&&r.replace(It,Ls).replace($i,"")}var E_=el(function(r,s,d){return r+(d?"-":"")+s.toLowerCase()}),bh=el(function(r,s,d){return r+(d?" ":"")+s.toLowerCase()}),Eh=Iu("toLowerCase"),gd=el(function(r,s,d){return r+(d?"_":"")+s.toLowerCase()}),Sg=el(function(r,s,d){return r+(d?" ":"")+du(s)}),Rg=el(function(r,s,d){return r+(d?" ":"")+s.toUpperCase()}),du=Iu("toUpperCase");function cs(r,s,d){return r=Cr(r),(s=d?v:s)===v?function ml(ye){return Gi.test(ye)}(r)?function pa(ye){return ye.match(go)||[]}(r):function N(ye){return ye.match(Qt)||[]}(r):r.match(s)||[]}var Fl=Zn(function(r,s){try{return L(r,v,s)}catch(d){return Jc(d)?d:new Cn(d)}}),Ji=Xs(function(r,s){return Ie(s,function(d){d=As(d),Ms(r,d,ru(r[d],r))}),r});function To(r){return function(){return r}}var Nl=zd(),kl=zd(!0);function Si(r){return r}function Ia(r){return Ro("function"==typeof r?r:oo(r,1))}var Bl=Zn(function(r,s){return function(d){return ao(d,r,s)}}),Ul=Zn(function(r,s){return function(d){return ao(r,d,s)}});function Ra(r,s,d){var b=Ri(s),A=xn(s,b);null==d&&(!Gr(s)||!A.length&&b.length)&&(d=s,s=r,r=this,A=xn(s,Ri(s)));var U=!(Gr(d)&&"chain"in d&&!d.chain),J=na(r);return Ie(A,function(de){var De=s[de];r[de]=De,J&&(r.prototype[de]=function(){var Je=this.__chain__;if(U||Je){var tt=r(this.__wrapped__),st=tt.__actions__=Do(this.__actions__);return st.push({func:De,args:arguments,thisArg:r}),tt.__chain__=Je,tt}return De.apply(r,yr([this.value()],arguments))})}),r}function ec(){}var Ph=tl(qt),Oh=tl(ht),xh=tl(P);function _d(r){return ef(r)?dn(As(r)):function Vd(r){return function(s){return Xn(s,r)}}(r)}var Ih=Dc(),Fg=Dc(!0);function tc(){return[]}function yd(){return!1}var kh=bc(function(r,s){return r+s},0),Vg=nl("ceil"),Bg=bc(function(r,s){return r/s},1),M_=nl("floor"),P_=bc(function(r,s){return r*s},1),jg=nl("round"),Lh=bc(function(r,s){return r-s},0);return V.after=function Oa(r,s){if("function"!=typeof s)throw new nr(ae);return r=$n(r),function(){if(--r<1)return s.apply(this,arguments)}},V.ary=Wc,V.assign=ra,V.assignIn=lu,V.assignInWith=Ku,V.assignWith=dg,V.at=__,V.before=zf,V.bind=ru,V.bindAll=Ji,V.bindKey=Wf,V.castArray=function f_(){if(!arguments.length)return[];var r=arguments[0];return Bn(r)?r:[r]},V.chain=Vc,V.chunk=function ff(r,s,d){s=(d?$r(r,s,d):s===v)?1:Vr($n(s),0);var b=null==r?0:r.length;if(!b||s<1)return[];for(var A=0,U=0,J=Fe(ba(b/s));A<b;)J[U++]=rs(r,A,A+=s);return J},V.compact=function Ac(r){for(var s=-1,d=null==r?0:r.length,b=0,A=[];++s<d;){var U=r[s];U&&(A[b++]=U)}return A},V.concat=function hf(){var r=arguments.length;if(!r)return[];for(var s=Fe(r-1),d=arguments[0],b=r;b--;)s[b-1]=arguments[b];return yr(Bn(d)?Do(d):[d],ct(s,1))},V.cond=function hl(r){var s=null==r?0:r.length,d=_n();return r=s?qt(r,function(b){if("function"!=typeof b[1])throw new nr(ae);return[d(b[0]),b[1]]}):[],Zn(function(b){for(var A=-1;++A<s;){var U=r[A];if(L(U[0],this,b))return L(U[1],this,b)}})},V.conforms=function Xu(r){return function g(r){var s=Ri(r);return function(d){return u(d,r,s)}}(oo(r,1))},V.constant=To,V.countBy=qp,V.create=function id(r,s){var d=wo(r);return null==s?d:fc(d,s)},V.curry=function qc(r,s,d){var b=Js(r,8,v,v,v,v,v,s=d?v:s);return b.placeholder=qc.placeholder,b},V.curryRight=function qf(r,s,d){var b=Js(r,16,v,v,v,v,v,s=d?v:s);return b.placeholder=qf.placeholder,b},V.debounce=Yf,V.defaults=uh,V.defaultsDeep=od,V.defer=iu,V.delay=Pl,V.difference=Ic,V.differenceBy=Pp,V.differenceWith=Op,V.drop=function pf(r,s,d){var b=null==r?0:r.length;return b?rs(r,(s=d||s===v?1:$n(s))<0?0:s,b):[]},V.dropRight=function gf(r,s,d){var b=null==r?0:r.length;return b?rs(r,0,(s=b-(s=d||s===v?1:$n(s)))<0?0:s):[]},V.dropRightWhile=function ul(r,s){return r&&r.length?Pu(r,_n(s,3),!0,!0):[]},V.dropWhile=function mf(r,s){return r&&r.length?Pu(r,_n(s,3),!0):[]},V.fill=function _f(r,s,d,b){var A=null==r?0:r.length;return A?(d&&"number"!=typeof d&&$r(r,s,d)&&(d=0,b=A),function Pe(r,s,d,b){var A=r.length;for((d=$n(d))<0&&(d=-d>A?0:A+d),(b=b===v||b>A?A:$n(b))<0&&(b+=A),b=d>b?0:nd(b);d<b;)r[d++]=s;return r}(r,s,d,b)):[]},V.filter=function n_(r,s){return(Bn(r)?Wn:$e)(r,_n(s,3))},V.flatMap=function Hf(r,s){return ct(jc(r,s),1)},V.flatMapDeep=function jf(r,s){return ct(jc(r,s),at)},V.flatMapDepth=function Zp(r,s,d){return d=d===v?1:$n(d),ct(jc(r,s),d)},V.flatten=vf,V.flattenDeep=function Cf(r){return null!=r&&r.length?ct(r,at):[]},V.flattenDepth=function wf(r,s){return null!=r&&r.length?ct(r,s=s===v?1:$n(s)):[]},V.flip=function Yc(r){return Js(r,512)},V.flow=Nl,V.flowRight=kl,V.fromPairs=function bf(r){for(var s=-1,d=null==r?0:r.length,b={};++s<d;){var A=r[s];b[A[0]]=A[1]}return b},V.functions=function hg(r){return null==r?[]:xn(r,Ri(r))},V.functionsIn=function ad(r){return null==r?[]:xn(r,Mi(r))},V.groupBy=i_,V.initial=function ju(r){return null!=r&&r.length?rs(r,0,-1):[]},V.intersection=$u,V.intersectionBy=Df,V.intersectionWith=Rc,V.invert=Al,V.invertBy=hh,V.invokeMap=s_,V.iteratee=Ia,V.keyBy=a_,V.keys=Ri,V.keysIn=Mi,V.map=jc,V.mapKeys=function mg(r,s){var d={};return s=_n(s,3),Ut(r,function(b,A,U){Ms(d,s(b,A,U),b)}),d},V.mapValues=function _g(r,s){var d={};return s=_n(s,3),Ut(r,function(b,A,U){Ms(d,A,s(b,A,U))}),d},V.matches=function Ll(r){return Qa(oo(r,1))},V.matchesProperty=function Vl(r,s){return mi(r,oo(s,1))},V.memoize=ta,V.merge=yg,V.mergeWith=ph,V.method=Bl,V.methodOf=Ul,V.mixin=Ra,V.negate=xa,V.nthArg=function Th(r){return r=$n(r),Zn(function(s){return Os(s,r)})},V.omit=Rs,V.omitBy=function ud(r,s){return cd(r,xa(_n(s)))},V.once=function Ol(r){return zf(2,r)},V.orderBy=function l_(r,s,d,b){return null==r?[]:(Bn(s)||(s=null==s?[]:[s]),Bn(d=b?v:d)||(d=null==d?[]:[d]),Yl(r,s,d))},V.over=Ph,V.overArgs=Jp,V.overEvery=Oh,V.overSome=xh,V.partial=qu,V.partialRight=Zc,V.partition=u_,V.pick=gh,V.pickBy=cd,V.property=_d,V.propertyOf=function Ah(r){return function(s){return null==r?v:Xn(r,s)}},V.pull=Sf,V.pullAll=Tf,V.pullAllBy=function Ap(r,s,d){return r&&r.length&&s&&s.length?Su(r,s,_n(d,2)):r},V.pullAllWith=function Pf(r,s,d){return r&&r.length&&s&&s.length?Su(r,s,v,d):r},V.pullAt=Fc,V.range=Ih,V.rangeRight=Fg,V.rearg=Kc,V.reject=function Pa(r,s){return(Bn(r)?Wn:$e)(r,xa(_n(s,3)))},V.remove=function Of(r,s){var d=[];if(!r||!r.length)return d;var b=-1,A=[],U=r.length;for(s=_n(s,3);++b<U;){var J=r[b];s(J,b,r)&&(d.push(J),A.push(b))}return hc(r,A),d},V.rest=function Qc(r,s){if("function"!=typeof r)throw new nr(ae);return Zn(r,s=s===v?s:$n(s))},V.reverse=xf,V.sampleSize=function Qp(r,s,d){return s=(d?$r(r,s,d):s===v)?1:$n(s),(Bn(r)?bo:lp)(r,s)},V.set=function _h(r,s,d){return null==r?r:Go(r,s,d)},V.setWith=function vg(r,s,d,b){return b="function"==typeof b?b:v,null==r?r:Go(r,s,d,b)},V.shuffle=function $f(r){return(Bn(r)?Cu:Ym)(r)},V.slice=function Af(r,s,d){var b=null==r?0:r.length;return b?(d&&"number"!=typeof d&&$r(r,s,d)?(s=0,d=b):(s=null==s?0:$n(s),d=d===v?b:$n(d)),rs(r,s,d)):[]},V.sortBy=zc,V.sortedUniq=function Rf(r){return r&&r.length?mc(r):[]},V.sortedUniqBy=function kp(r,s){return r&&r.length?mc(r,_n(s,2)):[]},V.split=function Mg(r,s,d){return d&&"number"!=typeof d&&$r(r,s,d)&&(s=d=v),(d=d===v?xr:d>>>0)?(r=Cr(r))&&("string"==typeof s||null!=s&&!au(s))&&!(s=Fo(s))&&Uo(r)?Xa(qi(r),0,d):r.split(s,d):[]},V.spread=function Zf(r,s){if("function"!=typeof r)throw new nr(ae);return s=null==s?0:Vr($n(s),0),Zn(function(d){var b=d[s],A=Xa(d,0,s);return b&&yr(A,b),L(r,this,A)})},V.tail=function Lp(r){var s=null==r?0:r.length;return s?rs(r,1,s):[]},V.take=function Vp(r,s,d){return r&&r.length?rs(r,0,(s=d||s===v?1:$n(s))<0?0:s):[]},V.takeRight=function Bp(r,s,d){var b=null==r?0:r.length;return b?rs(r,(s=b-(s=d||s===v?1:$n(s)))<0?0:s,b):[]},V.takeRightWhile=function Ff(r,s){return r&&r.length?Pu(r,_n(s,3),!1,!0):[]},V.takeWhile=function Up(r,s){return r&&r.length?Pu(r,_n(s,3)):[]},V.tap=function e_(r,s){return s(r),r},V.throttle=function Yu(r,s,d){var b=!0,A=!0;if("function"!=typeof r)throw new nr(ae);return Gr(d)&&(b="leading"in d?!!d.leading:b,A="trailing"in d?!!d.trailing:A),Yf(r,s,{leading:b,maxWait:s,trailing:A})},V.thru=cl,V.toArray=Zu,V.toPairs=yh,V.toPairsIn=vh,V.toPath=function Nh(r){return Bn(r)?qt(r,As):uo(r)?[r]:Do(cf(Cr(r)))},V.toPlainObject=rd,V.transform=function Cg(r,s,d){var b=Bn(r),A=b||Is(r)||xl(r);if(s=_n(s,4),null==d){var U=r&&r.constructor;d=A?b?new U:[]:Gr(r)&&na(U)?wo(xo(r)):{}}return(A?Ie:Ut)(r,function(J,de,De){return s(d,J,de,De)}),d},V.unary=function Xp(r){return Wc(r,1)},V.union=Hp,V.unionBy=jp,V.unionWith=Fn,V.uniq=function Nf(r){return r&&r.length?Ta(r):[]},V.uniqBy=function kf(r,s){return r&&r.length?Ta(r,_n(s,2)):[]},V.uniqWith=function Lf(r,s){return s="function"==typeof s?s:v,r&&r.length?Ta(r,v,s):[]},V.unset=function Ch(r,s){return null==r||_c(r,s)},V.unzip=Tl,V.unzipWith=zo,V.update=function y_(r,s,d){return null==r?r:cp(r,s,xu(d))},V.updateWith=function wh(r,s,d,b){return b="function"==typeof b?b:v,null==r?r:cp(r,s,xu(d),b)},V.values=Il,V.valuesIn=function wg(r){return null==r?[]:et(r,Mi(r))},V.without=Vf,V.words=cs,V.wrap=function Kf(r,s){return qu(xu(s),r)},V.xor=$p,V.xorBy=Nc,V.xorWith=ea,V.zip=kc,V.zipObject=function Bf(r,s){return is(r||[],s||[],Wl)},V.zipObjectDeep=function Lc(r,s){return is(r||[],s||[],Go)},V.zipWith=Xm,V.entries=yh,V.entriesIn=vh,V.extend=lu,V.extendWith=Ku,Ra(V,V),V.add=kh,V.attempt=Fl,V.camelCase=bg,V.capitalize=fd,V.ceil=Vg,V.clamp=function v_(r,s,d){return d===v&&(d=s,s=v),d!==v&&(d=(d=ko(d))==d?d:0),s!==v&&(s=(s=ko(s))==s?s:0),Ks(ko(r),s,d)},V.clone=function Qf(r){return oo(r,4)},V.cloneDeep=function eg(r){return oo(r,5)},V.cloneDeepWith=function Xf(r,s){return oo(r,5,s="function"==typeof s?s:v)},V.cloneWith=function Jf(r,s){return oo(r,4,s="function"==typeof s?s:v)},V.conformsTo=function tg(r,s){return null==s||u(r,s,Ri(s))},V.deburr=hd,V.defaultTo=function md(r,s){return null==r||r!=r?s:r},V.divide=Bg,V.endsWith=function w_(r,s,d){r=Cr(r),s=Fo(s);var b=r.length,A=d=d===v?b:Ks($n(d),0,b);return(d-=s.length)>=0&&r.slice(d,A)==s},V.eq=as,V.escape=function us(r){return(r=Cr(r))&&Ze.test(r)?r.replace(Me,wi):r},V.escapeRegExp=function b_(r){return(r=Cr(r))&&Q.test(r)?r.replace(ve,"\\$&"):r},V.every=function Uf(r,s,d){var b=Bn(r)?ht:K;return d&&$r(r,s,d)&&(s=v),b(r,_n(s,3))},V.find=Yp,V.findIndex=yf,V.findKey=function uu(r,s){return Ve(r,_n(s,3),Ut)},V.findLast=r_,V.findLastIndex=tu,V.findLastKey=function fg(r,s){return Ve(r,_n(s,3),rn)},V.floor=M_,V.forEach=zu,V.forEachRight=Kp,V.forIn=function sd(r,s){return null==r?r:Wt(r,_n(s,3),Mi)},V.forInRight=function ch(r,s){return null==r?r:Pn(r,_n(s,3),Mi)},V.forOwn=function dh(r,s){return r&&Ut(r,_n(s,3))},V.forOwnRight=function fh(r,s){return r&&rn(r,_n(s,3))},V.get=ld,V.gt=No,V.gte=ng,V.has=function pg(r,s){return null!=r&&Jd(r,s,Di)},V.hasIn=Qu,V.head=Hu,V.identity=Si,V.includes=function o_(r,s,d,b){r=lo(r)?r:Il(r),d=d&&!b?$n(d):0;var A=r.length;return d<0&&(d=Vr(A+d,0)),fl(r)?d<=A&&r.indexOf(s,d)>-1:!!A&&sr(r,s,d)>-1},V.indexOf=function Ef(r,s,d){var b=null==r?0:r.length;if(!b)return-1;var A=null==d?0:$n(d);return A<0&&(A=Vr(b+A,0)),sr(r,s,A)},V.inRange=function C_(r,s,d){return s=Aa(s),d===v?(d=s,s=0):d=Aa(d),function Ki(r,s,d){return r>=Qr(s,d)&&r<Vr(s,d)}(r=ko(r),s,d)},V.invoke=gg,V.isArguments=dl,V.isArray=Bn,V.isArrayBuffer=h_,V.isArrayLike=lo,V.isArrayLikeObject=_i,V.isBoolean=function rg(r){return!0===r||!1===r||ii(r)&&fr(r)==Sn},V.isBuffer=Is,V.isDate=eh,V.isElement=function ig(r){return ii(r)&&1===r.nodeType&&!su(r)},V.isEmpty=function og(r){if(null==r)return!0;if(lo(r)&&(Bn(r)||"string"==typeof r||"function"==typeof r.splice||Is(r)||xl(r)||dl(r)))return!r.length;var s=Ui(r);if(s==wr||s==Mr)return!r.size;if(ol(r))return!Qi(r).length;for(var d in r)if(gr.call(r,d))return!1;return!0},V.isEqual=function sg(r,s){return Eo(r,s)},V.isEqualWith=function th(r,s,d){var b=(d="function"==typeof d?d:v)?d(r,s):v;return b===v?Eo(r,s,v,d):!!b},V.isError=Jc,V.isFinite=function nh(r){return"number"==typeof r&&hi(r)},V.isFunction=na,V.isInteger=rh,V.isLength=ou,V.isMap=ls,V.isMatch=function Xc(r,s){return r===s||At(r,s,Oc(s))},V.isMatchWith=function ag(r,s,d){return d="function"==typeof d?d:v,At(r,s,Oc(s),d)},V.isNaN=function lg(r){return oh(r)&&r!=+r},V.isNative=function p_(r){if(xs(r))throw new Cn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Jt(r)},V.isNil=function ug(r){return null==r},V.isNull=function ih(r){return null===r},V.isNumber=oh,V.isObject=Gr,V.isObjectLike=ii,V.isPlainObject=su,V.isRegExp=au,V.isSafeInteger=function cg(r){return rh(r)&&r>=-vt&&r<=vt},V.isSet=sh,V.isString=fl,V.isSymbol=uo,V.isTypedArray=xl,V.isUndefined=function ed(r){return r===v},V.isWeakMap=function td(r){return ii(r)&&Ui(r)==q},V.isWeakSet=function ah(r){return ii(r)&&"[object WeakSet]"==fr(r)},V.join=function Mf(r,s){return null==r?"":Za.call(r,s)},V.kebabCase=E_,V.last=So,V.lastIndexOf=function nu(r,s,d){var b=null==r?0:r.length;if(!b)return-1;var A=b;return d!==v&&(A=(A=$n(d))<0?Vr(b+A,0):Qr(A,b-1)),s==s?function Ua(ye,Le,Fe){for(var Ot=Fe+1;Ot--;)if(ye[Ot]===Le)return Ot;return Ot}(r,s,A):xt(r,Wi,A,!0)},V.lowerCase=bh,V.lowerFirst=Eh,V.lt=g_,V.lte=m_,V.max=function Ug(r){return r&&r.length?ne(r,Si,Ei):v},V.maxBy=function vd(r,s){return r&&r.length?ne(r,_n(s,2),Ei):v},V.mean=function Cd(r){return vo(r,Si)},V.meanBy=function Hg(r,s){return vo(r,_n(s,2))},V.min=function S_(r){return r&&r.length?ne(r,Si,Or):v},V.minBy=function T_(r,s){return r&&r.length?ne(r,_n(s,2),Or):v},V.stubArray=tc,V.stubFalse=yd,V.stubObject=function Rh(){return{}},V.stubString=function Fh(){return""},V.stubTrue=function Ng(){return!0},V.multiply=P_,V.nth=function xp(r,s){return r&&r.length?Os(r,$n(s)):v},V.noConflict=function Sh(){return Sr._===this&&(Sr._=$a),this},V.noop=ec,V.now=Wu,V.pad=function Dh(r,s,d){r=Cr(r);var b=(s=$n(s))?Qo(r):0;if(!s||b>=s)return r;var A=(s-b)/2;return Ii(Ao(A),d)+r+Ii(ba(A),d)},V.padEnd=function Eg(r,s,d){r=Cr(r);var b=(s=$n(s))?Qo(r):0;return s&&b<s?r+Ii(s-b,d):r},V.padStart=function D_(r,s,d){r=Cr(r);var b=(s=$n(s))?Qo(r):0;return s&&b<s?Ii(s-b,d)+r:r},V.parseInt=function Mh(r,s,d){return d||null==s?s=0:s&&(s=+s),_u(Cr(r).replace($,""),s||0)},V.random=function dd(r,s,d){if(d&&"boolean"!=typeof d&&$r(r,s,d)&&(s=d=v),d===v&&("boolean"==typeof s?(d=s,s=v):"boolean"==typeof r&&(d=r,r=v)),r===v&&s===v?(r=0,s=1):(r=Aa(r),s===v?(s=r,r=0):s=Aa(s)),r>s){var b=r;r=s,s=b}if(d||r%1||s%1){var A=zs();return Qr(r+A*(s-r+Ns("1e-"+((A+"").length-1))),s)}return Tu(r,s)},V.reduce=function c_(r,s,d){var b=Bn(r)?Vn:Va,A=arguments.length<3;return b(r,_n(s,4),d,A,O)},V.reduceRight=function d_(r,s,d){var b=Bn(r)?dr:Va,A=arguments.length<3;return b(r,_n(s,4),d,A,B)},V.repeat=function pd(r,s,d){return s=(d?$r(r,s,d):s===v)?1:$n(s),pc(Cr(r),s)},V.replace=function Dg(){var r=arguments,s=Cr(r[0]);return r.length<3?s:s.replace(r[1],r[2])},V.result=function mh(r,s,d){var b=-1,A=(s=Qs(s,r)).length;for(A||(A=1,r=v);++b<A;){var U=null==r?v:r[As(s[b])];U===v&&(b=A,U=d),r=na(U)?U.call(r):U}return r},V.round=jg,V.runInContext=ye,V.sample=function $c(r){return(Bn(r)?vu:ap)(r)},V.size=function Gc(r){if(null==r)return 0;if(lo(r))return fl(r)?Qo(r):r.length;var s=Ui(r);return s==wr||s==Mr?r.size:Qi(r).length},V.snakeCase=gd,V.some=function Gf(r,s,d){var b=Bn(r)?P:Zm;return d&&$r(r,s,d)&&(s=v),b(r,_n(s,3))},V.sortedIndex=function Ip(r,s){return gc(r,s)},V.sortedIndexBy=function If(r,s,d){return Bd(r,s,_n(d,2))},V.sortedIndexOf=function Rp(r,s){var d=null==r?0:r.length;if(d){var b=gc(r,s);if(b<d&&as(r[b],s))return b}return-1},V.sortedLastIndex=function Fp(r,s){return gc(r,s,!0)},V.sortedLastIndexBy=function ss(r,s,d){return Bd(r,s,_n(d,2),!0)},V.sortedLastIndexOf=function Np(r,s){if(null!=r&&r.length){var b=gc(r,s,!0)-1;if(as(r[b],s))return b}return-1},V.startCase=Sg,V.startsWith=function Tg(r,s,d){return r=Cr(r),d=null==d?0:Ks($n(d),0,r.length),s=Fo(s),r.slice(d,d+s.length)==s},V.subtract=Lh,V.sum=function O_(r){return r&&r.length?ca(r,Si):0},V.sumBy=function $g(r,s){return r&&r.length?ca(r,_n(s,2)):0},V.template=function Pg(r,s,d){var b=V.templateSettings;d&&$r(r,s,d)&&(s=v),r=Cr(r),s=Ku({},s,b,Sc);var de,De,A=Ku({},s.imports,b.imports,Sc),U=Ri(A),J=et(A,U),Je=0,tt=s.interpolate||gn,st="__p += '",Mt=ai((s.escape||gn).source+"|"+tt.source+"|"+(tt===Lt?tn:gn).source+"|"+(s.evaluate||gn).source+"|$","g"),Kt="//# sourceURL="+(gr.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++gs+"]")+"\n";r.replace(Mt,function(yn,Kn,pr,co,fo,Wo){return pr||(pr=co),st+=r.slice(Je,Wo).replace(Rt,fa),Kn&&(de=!0,st+="' +\n__e("+Kn+") +\n'"),fo&&(De=!0,st+="';\n"+fo+";\n__p += '"),pr&&(st+="' +\n((__t = ("+pr+")) == null ? '' : __t) +\n'"),Je=Wo+yn.length,yn}),st+="';\n";var bn=gr.call(s,"variable")&&s.variable;if(bn){if(Vt.test(bn))throw new Cn("Invalid `variable` option passed into `_.template`")}else st="with (obj) {\n"+st+"\n}\n";st=(De?st.replace(Yt,""):st).replace(le,"$1").replace(ue,"$1;"),st="function("+(bn||"obj")+") {\n"+(bn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(de?", __e = _.escape":"")+(De?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+st+"return __p\n}";var Gn=Fl(function(){return Jn(U,Kt+"return "+st).apply(v,J)});if(Gn.source=st,Jc(Gn))throw Gn;return Gn},V.times=function kg(r,s){if((r=$n(r))<1||r>vt)return[];var d=xr,b=Qr(r,xr);s=_n(s),r-=xr;for(var A=fi(b,s);++d<r;)s(d);return A},V.toFinite=Aa,V.toInteger=$n,V.toLength=nd,V.toLower=function Og(r){return Cr(r).toLowerCase()},V.toNumber=ko,V.toSafeInteger=function lh(r){return r?Ks($n(r),-vt,vt):0===r?r:0},V.toString=Cr,V.toUpper=function xg(r){return Cr(r).toUpperCase()},V.trim=function Ju(r,s,d){if((r=Cr(r))&&(d||s===v))return Ba(r);if(!r||!(s=Fo(s)))return r;var b=qi(r),A=qi(s);return Xa(b,da(b,A),Tr(b,A)+1).join("")},V.trimEnd=function Rl(r,s,d){if((r=Cr(r))&&(d||s===v))return r.slice(0,Bs(r)+1);if(!r||!(s=Fo(s)))return r;var b=qi(r);return Xa(b,0,Tr(b,qi(s))+1).join("")},V.trimStart=function Ag(r,s,d){if((r=Cr(r))&&(d||s===v))return r.replace($,"");if(!r||!(s=Fo(s)))return r;var b=qi(r);return Xa(b,da(b,qi(s))).join("")},V.truncate=function cu(r,s){var d=30,b="...";if(Gr(s)){var A="separator"in s?s.separator:A;d="length"in s?$n(s.length):d,b="omission"in s?Fo(s.omission):b}var U=(r=Cr(r)).length;if(Uo(r)){var J=qi(r);U=J.length}if(d>=U)return r;var de=d-Qo(b);if(de<1)return b;var De=J?Xa(J,0,de).join(""):r.slice(0,de);if(A===v)return De+b;if(J&&(de+=De.length-de),au(A)){if(r.slice(de).search(A)){var Je,tt=De;for(A.global||(A=ai(A.source,Cr(pn.exec(A))+"g")),A.lastIndex=0;Je=A.exec(tt);)var st=Je.index;De=De.slice(0,st===v?de:st)}}else if(r.indexOf(Fo(A),de)!=de){var Mt=De.lastIndexOf(A);Mt>-1&&(De=De.slice(0,Mt))}return De+b},V.unescape=function Ig(r){return(r=Cr(r))&&je.test(r)?r.replace(Re,Ha):r},V.uniqueId=function Lg(r){var s=++js;return Cr(r)+s},V.upperCase=Rg,V.upperFirst=du,V.each=zu,V.eachRight=Kp,V.first=Hu,Ra(V,function(){var r={};return Ut(V,function(s,d){gr.call(V.prototype,d)||(r[d]=s)}),r}(),{chain:!1}),V.VERSION="4.17.21",Ie(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){V[r].placeholder=V}),Ie(["drop","take"],function(r,s){On.prototype[r]=function(d){d=d===v?1:Vr($n(d),0);var b=this.__filtered__&&!s?new On(this):this.clone();return b.__filtered__?b.__takeCount__=Qr(d,b.__takeCount__):b.__views__.push({size:Qr(d,xr),type:r+(b.__dir__<0?"Right":"")}),b},On.prototype[r+"Right"]=function(d){return this.reverse()[r](d).reverse()}}),Ie(["filter","map","takeWhile"],function(r,s){var d=s+1,b=1==d||3==d;On.prototype[r]=function(A){var U=this.clone();return U.__iteratees__.push({iteratee:_n(A,3),type:d}),U.__filtered__=U.__filtered__||b,U}}),Ie(["head","last"],function(r,s){var d="take"+(s?"Right":"");On.prototype[r]=function(){return this[d](1).value()[0]}}),Ie(["initial","tail"],function(r,s){var d="drop"+(s?"":"Right");On.prototype[r]=function(){return this.__filtered__?new On(this):this[d](1)}}),On.prototype.compact=function(){return this.filter(Si)},On.prototype.find=function(r){return this.filter(r).head()},On.prototype.findLast=function(r){return this.reverse().find(r)},On.prototype.invokeMap=Zn(function(r,s){return"function"==typeof r?new On(this):this.map(function(d){return ao(d,r,s)})}),On.prototype.reject=function(r){return this.filter(xa(_n(r)))},On.prototype.slice=function(r,s){r=$n(r);var d=this;return d.__filtered__&&(r>0||s<0)?new On(d):(r<0?d=d.takeRight(-r):r&&(d=d.drop(r)),s!==v&&(d=(s=$n(s))<0?d.dropRight(-s):d.take(s-r)),d)},On.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},On.prototype.toArray=function(){return this.take(xr)},Ut(On.prototype,function(r,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),b=/^(?:head|last)$/.test(s),A=V[b?"take"+("last"==s?"Right":""):s],U=b||/^find/.test(s);!A||(V.prototype[s]=function(){var J=this.__wrapped__,de=b?[1]:arguments,De=J instanceof On,Je=de[0],tt=De||Bn(J),st=function(Kn){var pr=A.apply(V,yr([Kn],de));return b&&Mt?pr[0]:pr};tt&&d&&"function"==typeof Je&&1!=Je.length&&(De=tt=!1);var Mt=this.__chain__,Kt=!!this.__actions__.length,bn=U&&!Mt,Gn=De&&!Kt;if(!U&&tt){J=Gn?J:new On(this);var yn=r.apply(J,de);return yn.__actions__.push({func:cl,args:[st],thisArg:v}),new li(yn,Mt)}return bn&&Gn?r.apply(this,de):(yn=this.thru(st),bn?b?yn.value()[0]:yn.value():yn)})}),Ie(["pop","push","shift","sort","splice","unshift"],function(r){var s=Hs[r],d=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",b=/^(?:pop|shift)$/.test(r);V.prototype[r]=function(){var A=arguments;if(b&&!this.__chain__){var U=this.value();return s.apply(Bn(U)?U:[],A)}return this[d](function(J){return s.apply(Bn(J)?J:[],A)})}}),Ut(On.prototype,function(r,s){var d=V[s];if(d){var b=d.name+"";gr.call(Jo,b)||(Jo[b]=[]),Jo[b].push({name:s,func:d})}}),Jo[Ru(v,2).name]=[{name:"wrapper",func:v}],On.prototype.clone=function Ds(){var r=new On(this.__wrapped__);return r.__actions__=Do(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=Do(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=Do(this.__views__),r},On.prototype.reverse=function Sa(){if(this.__filtered__){var r=new On(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},On.prototype.value=function y(){var r=this.__wrapped__.value(),s=this.__dir__,d=Bn(r),b=s<0,A=d?r.length:0,U=function wp(r,s,d){for(var b=-1,A=d.length;++b<A;){var U=d[b],J=U.size;switch(U.type){case"drop":r+=J;break;case"dropRight":s-=J;break;case"take":s=Qr(s,r+J);break;case"takeRight":r=Vr(r,s-J)}}return{start:r,end:s}}(0,A,this.__views__),J=U.start,de=U.end,De=de-J,Je=b?de:J-1,tt=this.__iteratees__,st=tt.length,Mt=0,Kt=Qr(De,this.__takeCount__);if(!d||!b&&A==De&&Kt==De)return Zl(r,this.__actions__);var bn=[];e:for(;De--&&Mt<Kt;){for(var Gn=-1,yn=r[Je+=s];++Gn<st;){var Kn=tt[Gn],co=Kn.type,fo=(0,Kn.iteratee)(yn);if(2==co)yn=fo;else if(!fo){if(1==co)continue e;break e}}bn[Mt++]=yn}return bn},V.prototype.at=Gu,V.prototype.chain=function Bc(){return Vc(this)},V.prototype.commit=function Uc(){return new li(this.value(),this.__chain__)},V.prototype.next=function Hc(){this.__values__===v&&(this.__values__=Zu(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?v:this.__values__[this.__index__++]}},V.prototype.plant=function Gp(r){for(var s,d=this;d instanceof Es;){var b=df(d);b.__index__=0,b.__values__=v,s?A.__wrapped__=b:s=b;var A=b;d=d.__wrapped__}return A.__wrapped__=r,s},V.prototype.reverse=function zp(){var r=this.__wrapped__;if(r instanceof On){var s=r;return this.__actions__.length&&(s=new On(this)),(s=s.reverse()).__actions__.push({func:cl,args:[xf],thisArg:v}),new li(s,this.__chain__)}return this.thru(xf)},V.prototype.toJSON=V.prototype.valueOf=V.prototype.value=function Wp(){return Zl(this.__wrapped__,this.__actions__)},V.prototype.first=V.prototype.head,za&&(V.prototype[za]=function t_(){return this}),V}();Sr._=Us,(c=function(){return Us}.call(X,F,X,Ue))!==v&&(Ue.exports=c)}.call(this)},1978:(Ue,X,F)=>{var v=F(1491)(function(we,Ee,pe){return we+(pe?"_":"")+Ee.toLowerCase()});Ue.exports=v},3943:(Ue,X,F)=>{var c=F(3935);Ue.exports=function v(we){return null==we?"":c(we)}},7188:(Ue,X,F)=>{var c=F(69),v=F(9062),we=F(3943),Ee=F(910);Ue.exports=function pe(ae,me,Z){return ae=we(ae),void 0===(me=Z?void 0:me)?v(ae)?Ee(ae):c(ae):ae.match(me)||[]}},2916:(Ue,X,F)=>{"use strict";F.d(X,{y:()=>G});var c=F(3489),we=F(7668),Ee=F(3292),ae=F(3821),me=F(5379);var H=F(2830);let G=(()=>{class ee{constructor(z){this._isScalar=!1,z&&(this._subscribe=z)}lift(z){const ie=new ee;return ie.source=this,ie.operator=z,ie}subscribe(z,ie,Ae){const{operator:lt}=this,Ye=function pe(ee,_e,z){if(ee){if(ee instanceof c.L)return ee;if(ee[we.b])return ee[we.b]()}return ee||_e||z?new c.L(ee,_e,z):new c.L(Ee.c)}(z,ie,Ae);if(Ye.add(lt?lt.call(Ye,this.source):this.source||H.v.useDeprecatedSynchronousErrorHandling&&!Ye.syncErrorThrowable?this._subscribe(Ye):this._trySubscribe(Ye)),H.v.useDeprecatedSynchronousErrorHandling&&Ye.syncErrorThrowable&&(Ye.syncErrorThrowable=!1,Ye.syncErrorThrown))throw Ye.syncErrorValue;return Ye}_trySubscribe(z){try{return this._subscribe(z)}catch(ie){H.v.useDeprecatedSynchronousErrorHandling&&(z.syncErrorThrown=!0,z.syncErrorValue=ie),function v(ee){for(;ee;){const{closed:_e,destination:z,isStopped:ie}=ee;if(_e||ie)return!1;ee=z&&z instanceof c.L?z:null}return!0}(z)?z.error(ie):console.warn(ie)}}forEach(z,ie){return new(ie=ce(ie))((Ae,lt)=>{let Ye;Ye=this.subscribe(Xe=>{try{z(Xe)}catch(nn){lt(nn),Ye&&Ye.unsubscribe()}},lt,Ae)})}_subscribe(z){const{source:ie}=this;return ie&&ie.subscribe(z)}[ae.L](){return this}pipe(...z){return 0===z.length?this:function re(ee){return 0===ee.length?me.y:1===ee.length?ee[0]:function(z){return ee.reduce((ie,Ae)=>Ae(ie),z)}}(z)(this)}toPromise(z){return new(z=ce(z))((ie,Ae)=>{let lt;this.subscribe(Ye=>lt=Ye,Ye=>Ae(Ye),()=>ie(lt))})}}return ee.create=_e=>new ee(_e),ee})();function ce(ee){if(ee||(ee=H.v.Promise||Promise),!ee)throw new Error("no Promise impl found");return ee}},3292:(Ue,X,F)=>{"use strict";F.d(X,{c:()=>we});var c=F(2830),v=F(2782);const we={closed:!0,next(Ee){},error(Ee){if(c.v.useDeprecatedSynchronousErrorHandling)throw Ee;(0,v.z)(Ee)},complete(){}}},5529:(Ue,X,F)=>{"use strict";F.d(X,{xQ:()=>Z,Yc:()=>me});var c=F(2916),v=F(3489),we=F(2654),Ee=F(5279);class pe extends we.w{constructor(G,ce){super(),this.subject=G,this.subscriber=ce,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const G=this.subject,ce=G.observers;if(this.subject=null,!ce||0===ce.length||G.isStopped||G.closed)return;const ee=ce.indexOf(this.subscriber);-1!==ee&&ce.splice(ee,1)}}var ae=F(7668);class me extends v.L{constructor(G){super(G),this.destination=G}}let Z=(()=>{class H extends c.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[ae.b](){return new me(this)}lift(ce){const ee=new re(this,this);return ee.operator=ce,ee}next(ce){if(this.closed)throw new Ee.N;if(!this.isStopped){const{observers:ee}=this,_e=ee.length,z=ee.slice();for(let ie=0;ie<_e;ie++)z[ie].next(ce)}}error(ce){if(this.closed)throw new Ee.N;this.hasError=!0,this.thrownError=ce,this.isStopped=!0;const{observers:ee}=this,_e=ee.length,z=ee.slice();for(let ie=0;ie<_e;ie++)z[ie].error(ce);this.observers.length=0}complete(){if(this.closed)throw new Ee.N;this.isStopped=!0;const{observers:ce}=this,ee=ce.length,_e=ce.slice();for(let z=0;z<ee;z++)_e[z].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(ce){if(this.closed)throw new Ee.N;return super._trySubscribe(ce)}_subscribe(ce){if(this.closed)throw new Ee.N;return this.hasError?(ce.error(this.thrownError),we.w.EMPTY):this.isStopped?(ce.complete(),we.w.EMPTY):(this.observers.push(ce),new pe(this,ce))}asObservable(){const ce=new c.y;return ce.source=this,ce}}return H.create=(G,ce)=>new re(G,ce),H})();class re extends Z{constructor(G,ce){super(),this.destination=G,this.source=ce}next(G){const{destination:ce}=this;ce&&ce.next&&ce.next(G)}error(G){const{destination:ce}=this;ce&&ce.error&&this.destination.error(G)}complete(){const{destination:G}=this;G&&G.complete&&this.destination.complete()}_subscribe(G){const{source:ce}=this;return ce?this.source.subscribe(G):we.w.EMPTY}}},3489:(Ue,X,F)=>{"use strict";F.d(X,{L:()=>me});var c=F(7043),v=F(3292),we=F(2654),Ee=F(7668),pe=F(2830),ae=F(2782);class me extends we.w{constructor(H,G,ce){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=v.c;break;case 1:if(!H){this.destination=v.c;break}if("object"==typeof H){H instanceof me?(this.syncErrorThrowable=H.syncErrorThrowable,this.destination=H,H.add(this)):(this.syncErrorThrowable=!0,this.destination=new Z(this,H));break}default:this.syncErrorThrowable=!0,this.destination=new Z(this,H,G,ce)}}[Ee.b](){return this}static create(H,G,ce){const ee=new me(H,G,ce);return ee.syncErrorThrowable=!1,ee}next(H){this.isStopped||this._next(H)}error(H){this.isStopped||(this.isStopped=!0,this._error(H))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(H){this.destination.next(H)}_error(H){this.destination.error(H),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:H}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=H,this}}class Z extends me{constructor(H,G,ce,ee){super(),this._parentSubscriber=H;let _e,z=this;(0,c.m)(G)?_e=G:G&&(_e=G.next,ce=G.error,ee=G.complete,G!==v.c&&(z=Object.create(G),(0,c.m)(z.unsubscribe)&&this.add(z.unsubscribe.bind(z)),z.unsubscribe=this.unsubscribe.bind(this))),this._context=z,this._next=_e,this._error=ce,this._complete=ee}next(H){if(!this.isStopped&&this._next){const{_parentSubscriber:G}=this;pe.v.useDeprecatedSynchronousErrorHandling&&G.syncErrorThrowable?this.__tryOrSetError(G,this._next,H)&&this.unsubscribe():this.__tryOrUnsub(this._next,H)}}error(H){if(!this.isStopped){const{_parentSubscriber:G}=this,{useDeprecatedSynchronousErrorHandling:ce}=pe.v;if(this._error)ce&&G.syncErrorThrowable?(this.__tryOrSetError(G,this._error,H),this.unsubscribe()):(this.__tryOrUnsub(this._error,H),this.unsubscribe());else if(G.syncErrorThrowable)ce?(G.syncErrorValue=H,G.syncErrorThrown=!0):(0,ae.z)(H),this.unsubscribe();else{if(this.unsubscribe(),ce)throw H;(0,ae.z)(H)}}}complete(){if(!this.isStopped){const{_parentSubscriber:H}=this;if(this._complete){const G=()=>this._complete.call(this._context);pe.v.useDeprecatedSynchronousErrorHandling&&H.syncErrorThrowable?(this.__tryOrSetError(H,G),this.unsubscribe()):(this.__tryOrUnsub(G),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(H,G){try{H.call(this._context,G)}catch(ce){if(this.unsubscribe(),pe.v.useDeprecatedSynchronousErrorHandling)throw ce;(0,ae.z)(ce)}}__tryOrSetError(H,G,ce){if(!pe.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{G.call(this._context,ce)}catch(ee){return pe.v.useDeprecatedSynchronousErrorHandling?(H.syncErrorValue=ee,H.syncErrorThrown=!0,!0):((0,ae.z)(ee),!0)}return!1}_unsubscribe(){const{_parentSubscriber:H}=this;this._context=null,this._parentSubscriber=null,H.unsubscribe()}}},2654:(Ue,X,F)=>{"use strict";F.d(X,{w:()=>ae});var c=F(6688),v=F(7830),we=F(7043);const pe=(()=>{function Z(re){return Error.call(this),this.message=re?`${re.length} errors occurred during unsubscription:\n${re.map((H,G)=>`${G+1}) ${H.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=re,this}return Z.prototype=Object.create(Error.prototype),Z})();class ae{constructor(re){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,re&&(this._ctorUnsubscribe=!0,this._unsubscribe=re)}unsubscribe(){let re;if(this.closed)return;let{_parentOrParents:H,_ctorUnsubscribe:G,_unsubscribe:ce,_subscriptions:ee}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,H instanceof ae)H.remove(this);else if(null!==H)for(let _e=0;_e<H.length;++_e)H[_e].remove(this);if((0,we.m)(ce)){G&&(this._unsubscribe=void 0);try{ce.call(this)}catch(_e){re=_e instanceof pe?me(_e.errors):[_e]}}if((0,c.k)(ee)){let _e=-1,z=ee.length;for(;++_e<z;){const ie=ee[_e];if((0,v.K)(ie))try{ie.unsubscribe()}catch(Ae){re=re||[],Ae instanceof pe?re=re.concat(me(Ae.errors)):re.push(Ae)}}}if(re)throw new pe(re)}add(re){let H=re;if(!re)return ae.EMPTY;switch(typeof re){case"function":H=new ae(re);case"object":if(H===this||H.closed||"function"!=typeof H.unsubscribe)return H;if(this.closed)return H.unsubscribe(),H;if(!(H instanceof ae)){const ee=H;H=new ae,H._subscriptions=[ee]}break;default:throw new Error("unrecognized teardown "+re+" added to Subscription.")}let{_parentOrParents:G}=H;if(null===G)H._parentOrParents=this;else if(G instanceof ae){if(G===this)return H;H._parentOrParents=[G,this]}else{if(-1!==G.indexOf(this))return H;G.push(this)}const ce=this._subscriptions;return null===ce?this._subscriptions=[H]:ce.push(H),H}remove(re){const H=this._subscriptions;if(H){const G=H.indexOf(re);-1!==G&&H.splice(G,1)}}}var Z;function me(Z){return Z.reduce((re,H)=>re.concat(H instanceof pe?H.errors:H),[])}ae.EMPTY=((Z=new ae).closed=!0,Z)},2830:(Ue,X,F)=>{"use strict";F.d(X,{v:()=>v});let c=!1;const v={Promise:void 0,set useDeprecatedSynchronousErrorHandling(we){if(we){const Ee=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Ee.stack)}else c&&console.log("RxJS: Back to a better error behavior. Thank you. <3");c=we},get useDeprecatedSynchronousErrorHandling(){return c}}},1177:(Ue,X,F)=>{"use strict";F.d(X,{Ds:()=>ae,IY:()=>Ee,ft:()=>Z});var c=F(3489),v=F(2916),we=F(9249);class Ee extends c.L{constructor(H){super(),this.parent=H}_next(H){this.parent.notifyNext(H)}_error(H){this.parent.notifyError(H),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class ae extends c.L{notifyNext(H){this.destination.next(H)}notifyError(H){this.destination.error(H)}notifyComplete(){this.destination.complete()}}function Z(re,H){if(H.closed)return;if(re instanceof v.y)return re.subscribe(H);let G;try{G=(0,we.s)(re)(H)}catch(ce){H.error(ce)}return G}},1762:(Ue,X,F)=>{"use strict";F.d(X,{N:()=>ae,c:()=>pe});var c=F(5529),v=F(2916),we=F(2654),Ee=F(4327);class pe extends v.y{constructor(G,ce){super(),this.source=G,this.subjectFactory=ce,this._refCount=0,this._isComplete=!1}_subscribe(G){return this.getSubject().subscribe(G)}getSubject(){const G=this._subject;return(!G||G.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let G=this._connection;return G||(this._isComplete=!1,G=this._connection=new we.w,G.add(this.source.subscribe(new me(this.getSubject(),this))),G.closed&&(this._connection=null,G=we.w.EMPTY)),G}refCount(){return(0,Ee.x)()(this)}}const ae=(()=>{const H=pe.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:H._subscribe},_isComplete:{value:H._isComplete,writable:!0},getSubject:{value:H.getSubject},connect:{value:H.connect},refCount:{value:H.refCount}}})();class me extends c.Yc{constructor(G,ce){super(G),this.connectable=ce}_error(G){this._unsubscribe(),super._error(G)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const G=this.connectable;if(G){this.connectable=null;const ce=G._connection;G._refCount=0,G._subject=null,G._connection=null,ce&&ce.unsubscribe()}}}},567:(Ue,X,F)=>{"use strict";F.d(X,{D:()=>ae});var c=F(2916),v=F(6688),we=F(4850),Ee=F(7830),pe=F(5254);function ae(...Z){if(1===Z.length){const re=Z[0];if((0,v.k)(re))return me(re,null);if((0,Ee.K)(re)&&Object.getPrototypeOf(re)===Object.prototype){const H=Object.keys(re);return me(H.map(G=>re[G]),H)}}if("function"==typeof Z[Z.length-1]){const re=Z.pop();return me(Z=1===Z.length&&(0,v.k)(Z[0])?Z[0]:Z,null).pipe((0,we.U)(H=>re(...H)))}return me(Z,null)}function me(Z,re){return new c.y(H=>{const G=Z.length;if(0===G)return void H.complete();const ce=new Array(G);let ee=0,_e=0;for(let z=0;z<G;z++){const ie=(0,pe.D)(Z[z]);let Ae=!1;H.add(ie.subscribe({next:lt=>{Ae||(Ae=!0,_e++),ce[z]=lt},error:lt=>H.error(lt),complete:()=>{ee++,(ee===G||!Ae)&&(_e===G&&H.next(re?re.reduce((lt,Ye,Xe)=>(lt[Ye]=ce[Xe],lt),{}):ce),H.complete())}}))}})}},5254:(Ue,X,F)=>{"use strict";F.d(X,{D:()=>z});var c=F(2916),v=F(9249),we=F(2654),Ee=F(3821),me=F(6454),Z=F(5430),G=F(8955),ce=F(8515);function z(ie,Ae){return Ae?function _e(ie,Ae){if(null!=ie){if(function H(ie){return ie&&"function"==typeof ie[Ee.L]}(ie))return function pe(ie,Ae){return new c.y(lt=>{const Ye=new we.w;return Ye.add(Ae.schedule(()=>{const Xe=ie[Ee.L]();Ye.add(Xe.subscribe({next(nn){Ye.add(Ae.schedule(()=>lt.next(nn)))},error(nn){Ye.add(Ae.schedule(()=>lt.error(nn)))},complete(){Ye.add(Ae.schedule(()=>lt.complete()))}}))})),Ye})}(ie,Ae);if((0,G.t)(ie))return function ae(ie,Ae){return new c.y(lt=>{const Ye=new we.w;return Ye.add(Ae.schedule(()=>ie.then(Xe=>{Ye.add(Ae.schedule(()=>{lt.next(Xe),Ye.add(Ae.schedule(()=>lt.complete()))}))},Xe=>{Ye.add(Ae.schedule(()=>lt.error(Xe)))}))),Ye})}(ie,Ae);if((0,ce.z)(ie))return(0,me.r)(ie,Ae);if(function ee(ie){return ie&&"function"==typeof ie[Z.hZ]}(ie)||"string"==typeof ie)return function re(ie,Ae){if(!ie)throw new Error("Iterable cannot be null");return new c.y(lt=>{const Ye=new we.w;let Xe;return Ye.add(()=>{Xe&&"function"==typeof Xe.return&&Xe.return()}),Ye.add(Ae.schedule(()=>{Xe=ie[Z.hZ](),Ye.add(Ae.schedule(function(){if(lt.closed)return;let nn,In;try{const Qe=Xe.next();nn=Qe.value,In=Qe.done}catch(Qe){return void lt.error(Qe)}In?lt.complete():(lt.next(nn),this.schedule())}))})),Ye})}(ie,Ae)}throw new TypeError((null!==ie&&typeof ie||ie)+" is not observable")}(ie,Ae):ie instanceof c.y?ie:new c.y((0,v.s)(ie))}},3009:(Ue,X,F)=>{"use strict";F.d(X,{n:()=>Ee});var c=F(2916),v=F(3650),we=F(6454);function Ee(pe,ae){return ae?(0,we.r)(pe,ae):new c.y((0,v.V)(pe))}},1086:(Ue,X,F)=>{"use strict";F.d(X,{of:()=>Ee});var c=F(2866),v=F(3009),we=F(6454);function Ee(...pe){let ae=pe[pe.length-1];return(0,c.K)(ae)?(pe.pop(),(0,we.r)(pe,ae)):(0,v.n)(pe)}},1406:(Ue,X,F)=>{"use strict";F.d(X,{b:()=>v});var c=F(1709);function v(we,Ee){return(0,c.zg)(we,Ee,1)}},2198:(Ue,X,F)=>{"use strict";F.d(X,{h:()=>v});var c=F(3489);function v(pe,ae){return function(Z){return Z.lift(new we(pe,ae))}}class we{constructor(ae,me){this.predicate=ae,this.thisArg=me}call(ae,me){return me.subscribe(new Ee(ae,this.predicate,this.thisArg))}}class Ee extends c.L{constructor(ae,me,Z){super(ae),this.predicate=me,this.thisArg=Z,this.count=0}_next(ae){let me;try{me=this.predicate.call(this.thisArg,ae,this.count++)}catch(Z){return void this.destination.error(Z)}me&&this.destination.next(ae)}}},4850:(Ue,X,F)=>{"use strict";F.d(X,{U:()=>v});var c=F(3489);function v(pe,ae){return function(Z){if("function"!=typeof pe)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return Z.lift(new we(pe,ae))}}class we{constructor(ae,me){this.project=ae,this.thisArg=me}call(ae,me){return me.subscribe(new Ee(ae,this.project,this.thisArg))}}class Ee extends c.L{constructor(ae,me,Z){super(ae),this.project=me,this.count=0,this.thisArg=Z||this}_next(ae){let me;try{me=this.project.call(this.thisArg,ae,this.count++)}catch(Z){return void this.destination.error(Z)}this.destination.next(me)}}},9146:(Ue,X,F)=>{"use strict";F.d(X,{J:()=>we});var c=F(1709),v=F(5379);function we(Ee=Number.POSITIVE_INFINITY){return(0,c.zg)(v.y,Ee)}},1709:(Ue,X,F)=>{"use strict";F.d(X,{zg:()=>Ee});var c=F(4850),v=F(5254),we=F(1177);function Ee(Z,re,H=Number.POSITIVE_INFINITY){return"function"==typeof re?G=>G.pipe(Ee((ce,ee)=>(0,v.D)(Z(ce,ee)).pipe((0,c.U)((_e,z)=>re(ce,_e,ee,z))),H)):("number"==typeof re&&(H=re),G=>G.lift(new pe(Z,H)))}class pe{constructor(re,H=Number.POSITIVE_INFINITY){this.project=re,this.concurrent=H}call(re,H){return H.subscribe(new ae(re,this.project,this.concurrent))}}class ae extends we.Ds{constructor(re,H,G=Number.POSITIVE_INFINITY){super(re),this.project=H,this.concurrent=G,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(re){this.active<this.concurrent?this._tryNext(re):this.buffer.push(re)}_tryNext(re){let H;const G=this.index++;try{H=this.project(re,G)}catch(ce){return void this.destination.error(ce)}this.active++,this._innerSub(H)}_innerSub(re){const H=new we.IY(this),G=this.destination;G.add(H);const ce=(0,we.ft)(re,H);ce!==H&&G.add(ce)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(re){this.destination.next(re)}notifyComplete(){const re=this.buffer;this.active--,re.length>0?this._next(re.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Ue,X,F)=>{"use strict";F.d(X,{x:()=>v});var c=F(3489);function v(){return function(ae){return ae.lift(new we(ae))}}class we{constructor(ae){this.connectable=ae}call(ae,me){const{connectable:Z}=this;Z._refCount++;const re=new Ee(ae,Z),H=me.subscribe(re);return re.closed||(re.connection=Z.connect()),H}}class Ee extends c.L{constructor(ae,me){super(ae),this.connectable=me}_unsubscribe(){const{connectable:ae}=this;if(!ae)return void(this.connection=null);this.connectable=null;const me=ae._refCount;if(me<=0)return void(this.connection=null);if(ae._refCount=me-1,me>1)return void(this.connection=null);const{connection:Z}=this,re=ae._connection;this.connection=null,re&&(!Z||re===Z)&&re.unsubscribe()}}},6454:(Ue,X,F)=>{"use strict";F.d(X,{r:()=>we});var c=F(2916),v=F(2654);function we(Ee,pe){return new c.y(ae=>{const me=new v.w;let Z=0;return me.add(pe.schedule(function(){Z!==Ee.length?(ae.next(Ee[Z++]),ae.closed||me.add(this.schedule())):ae.complete()})),me})}},5430:(Ue,X,F)=>{"use strict";F.d(X,{hZ:()=>v});const v=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Ue,X,F)=>{"use strict";F.d(X,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Ue,X,F)=>{"use strict";F.d(X,{b:()=>c});const c="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(Ue,X,F)=>{"use strict";F.d(X,{N:()=>v});const v=(()=>{function we(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return we.prototype=Object.create(Error.prototype),we})()},2782:(Ue,X,F)=>{"use strict";function c(v){setTimeout(()=>{throw v},0)}F.d(X,{z:()=>c})},5379:(Ue,X,F)=>{"use strict";function c(v){return v}F.d(X,{y:()=>c})},6688:(Ue,X,F)=>{"use strict";F.d(X,{k:()=>c});const c=Array.isArray||(v=>v&&"number"==typeof v.length)},8515:(Ue,X,F)=>{"use strict";F.d(X,{z:()=>c});const c=v=>v&&"number"==typeof v.length&&"function"!=typeof v},7043:(Ue,X,F)=>{"use strict";function c(v){return"function"==typeof v}F.d(X,{m:()=>c})},7830:(Ue,X,F)=>{"use strict";function c(v){return null!==v&&"object"==typeof v}F.d(X,{K:()=>c})},8955:(Ue,X,F)=>{"use strict";function c(v){return!!v&&"function"!=typeof v.subscribe&&"function"==typeof v.then}F.d(X,{t:()=>c})},2866:(Ue,X,F)=>{"use strict";function c(v){return v&&"function"==typeof v.schedule}F.d(X,{K:()=>c})},9249:(Ue,X,F)=>{"use strict";F.d(X,{s:()=>G});var c=F(3650),v=F(2782),Ee=F(5430),ae=F(3821),Z=F(8515),re=F(8955),H=F(7830);const G=ce=>{if(ce&&"function"==typeof ce[ae.L])return(ce=>ee=>{const _e=ce[ae.L]();if("function"!=typeof _e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return _e.subscribe(ee)})(ce);if((0,Z.z)(ce))return(0,c.V)(ce);if((0,re.t)(ce))return(ce=>ee=>(ce.then(_e=>{ee.closed||(ee.next(_e),ee.complete())},_e=>ee.error(_e)).then(null,v.z),ee))(ce);if(ce&&"function"==typeof ce[Ee.hZ])return(ce=>ee=>{const _e=ce[Ee.hZ]();for(;;){let z;try{z=_e.next()}catch(ie){return ee.error(ie),ee}if(z.done){ee.complete();break}if(ee.next(z.value),ee.closed)break}return"function"==typeof _e.return&&ee.add(()=>{_e.return&&_e.return()}),ee})(ce);{const _e=`You provided ${(0,H.K)(ce)?"an invalid object":`'${ce}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(_e)}}},3650:(Ue,X,F)=>{"use strict";F.d(X,{V:()=>c});const c=v=>we=>{for(let Ee=0,pe=v.length;Ee<pe&&!we.closed;Ee++)we.next(v[Ee]);we.complete()}},8583:()=>{"use strict";!function(le){const ue=le.performance;function Re(Pt){ue&&ue.mark&&ue.mark(Pt)}function Me(Pt,Tt){ue&&ue.measure&&ue.measure(Pt,Tt)}Re("Zone");const je=le.__Zone_symbol_prefix||"__zone_symbol__";function Ze(Pt){return je+Pt}const dt=!0===le[Ze("forceDuplicateZoneCheck")];if(le.Zone){if(dt||"function"!=typeof le.Zone.__symbol__)throw new Error("Zone already loaded.");return le.Zone}let St=(()=>{class Pt{constructor(se,ge){this._parent=se,this._name=ge?ge.name||"unnamed":"<root>",this._properties=ge&&ge.properties||{},this._zoneDelegate=new Gt(this,this._parent&&this._parent._zoneDelegate,ge)}static assertZonePatched(){if(le.Promise!==It.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 se=Pt.current;for(;se.parent;)se=se.parent;return se}static get current(){return Rt.zone}static get currentTask(){return jn}static __load_patch(se,ge,kt=!1){if(It.hasOwnProperty(se)){if(!kt&&dt)throw Error("Already loaded patch: "+se)}else if(!le["__Zone_disable_"+se]){const Zt="Zone:"+se;Re(Zt),It[se]=ge(le,Pt,gn),Me(Zt,Zt)}}get parent(){return this._parent}get name(){return this._name}get(se){const ge=this.getZoneWith(se);if(ge)return ge._properties[se]}getZoneWith(se){let ge=this;for(;ge;){if(ge._properties.hasOwnProperty(se))return ge;ge=ge._parent}return null}fork(se){if(!se)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,se)}wrap(se,ge){if("function"!=typeof se)throw new Error("Expecting function got: "+se);const kt=this._zoneDelegate.intercept(this,se,ge),Zt=this;return function(){return Zt.runGuarded(kt,this,arguments,ge)}}run(se,ge,kt,Zt){Rt={parent:Rt,zone:this};try{return this._zoneDelegate.invoke(this,se,ge,kt,Zt)}finally{Rt=Rt.parent}}runGuarded(se,ge=null,kt,Zt){Rt={parent:Rt,zone:this};try{try{return this._zoneDelegate.invoke(this,se,ge,kt,Zt)}catch(cr){if(this._zoneDelegate.handleError(this,cr))throw cr}}finally{Rt=Rt.parent}}runTask(se,ge,kt){if(se.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(se.zone||Qt).name+"; Execution: "+this.name+")");if(se.state===Vt&&(se.type===Be||se.type===en))return;const Zt=se.state!=pn;Zt&&se._transitionTo(pn,tn),se.runCount++;const cr=jn;jn=se,Rt={parent:Rt,zone:this};try{se.type==en&&se.data&&!se.data.isPeriodic&&(se.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,se,ge,kt)}catch(it){if(this._zoneDelegate.handleError(this,it))throw it}}finally{se.state!==Vt&&se.state!==Hn&&(se.type==Be||se.data&&se.data.isPeriodic?Zt&&se._transitionTo(tn,pn):(se.runCount=0,this._updateTaskCount(se,-1),Zt&&se._transitionTo(Vt,pn,Vt))),Rt=Rt.parent,jn=cr}}scheduleTask(se){if(se.zone&&se.zone!==this){let kt=this;for(;kt;){if(kt===se.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${se.zone.name}`);kt=kt.parent}}se._transitionTo(Un,Vt);const ge=[];se._zoneDelegates=ge,se._zone=this;try{se=this._zoneDelegate.scheduleTask(this,se)}catch(kt){throw se._transitionTo(Hn,Un,Vt),this._zoneDelegate.handleError(this,kt),kt}return se._zoneDelegates===ge&&this._updateTaskCount(se,1),se.state==Un&&se._transitionTo(tn,Un),se}scheduleMicroTask(se,ge,kt,Zt){return this.scheduleTask(new bt(Ct,se,ge,kt,Zt,void 0))}scheduleMacroTask(se,ge,kt,Zt,cr){return this.scheduleTask(new bt(en,se,ge,kt,Zt,cr))}scheduleEventTask(se,ge,kt,Zt,cr){return this.scheduleTask(new bt(Be,se,ge,kt,Zt,cr))}cancelTask(se){if(se.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(se.zone||Qt).name+"; Execution: "+this.name+")");se._transitionTo(ln,tn,pn);try{this._zoneDelegate.cancelTask(this,se)}catch(ge){throw se._transitionTo(Hn,ln),this._zoneDelegate.handleError(this,ge),ge}return this._updateTaskCount(se,-1),se._transitionTo(Vt,ln),se.runCount=0,se}_updateTaskCount(se,ge){const kt=se._zoneDelegates;-1==ge&&(se._zoneDelegates=null);for(let Zt=0;Zt<kt.length;Zt++)kt[Zt]._updateTaskCount(se.type,ge)}}return Pt.__symbol__=Ze,Pt})();const Lt={name:"",onHasTask:(Pt,Tt,se,ge)=>Pt.hasTask(se,ge),onScheduleTask:(Pt,Tt,se,ge)=>Pt.scheduleTask(se,ge),onInvokeTask:(Pt,Tt,se,ge,kt,Zt)=>Pt.invokeTask(se,ge,kt,Zt),onCancelTask:(Pt,Tt,se,ge)=>Pt.cancelTask(se,ge)};class Gt{constructor(Tt,se,ge){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=Tt,this._parentDelegate=se,this._forkZS=ge&&(ge&&ge.onFork?ge:se._forkZS),this._forkDlgt=ge&&(ge.onFork?se:se._forkDlgt),this._forkCurrZone=ge&&(ge.onFork?this.zone:se._forkCurrZone),this._interceptZS=ge&&(ge.onIntercept?ge:se._interceptZS),this._interceptDlgt=ge&&(ge.onIntercept?se:se._interceptDlgt),this._interceptCurrZone=ge&&(ge.onIntercept?this.zone:se._interceptCurrZone),this._invokeZS=ge&&(ge.onInvoke?ge:se._invokeZS),this._invokeDlgt=ge&&(ge.onInvoke?se:se._invokeDlgt),this._invokeCurrZone=ge&&(ge.onInvoke?this.zone:se._invokeCurrZone),this._handleErrorZS=ge&&(ge.onHandleError?ge:se._handleErrorZS),this._handleErrorDlgt=ge&&(ge.onHandleError?se:se._handleErrorDlgt),this._handleErrorCurrZone=ge&&(ge.onHandleError?this.zone:se._handleErrorCurrZone),this._scheduleTaskZS=ge&&(ge.onScheduleTask?ge:se._scheduleTaskZS),this._scheduleTaskDlgt=ge&&(ge.onScheduleTask?se:se._scheduleTaskDlgt),this._scheduleTaskCurrZone=ge&&(ge.onScheduleTask?this.zone:se._scheduleTaskCurrZone),this._invokeTaskZS=ge&&(ge.onInvokeTask?ge:se._invokeTaskZS),this._invokeTaskDlgt=ge&&(ge.onInvokeTask?se:se._invokeTaskDlgt),this._invokeTaskCurrZone=ge&&(ge.onInvokeTask?this.zone:se._invokeTaskCurrZone),this._cancelTaskZS=ge&&(ge.onCancelTask?ge:se._cancelTaskZS),this._cancelTaskDlgt=ge&&(ge.onCancelTask?se:se._cancelTaskDlgt),this._cancelTaskCurrZone=ge&&(ge.onCancelTask?this.zone:se._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const kt=ge&&ge.onHasTask;(kt||se&&se._hasTaskZS)&&(this._hasTaskZS=kt?ge:Lt,this._hasTaskDlgt=se,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=Tt,ge.onScheduleTask||(this._scheduleTaskZS=Lt,this._scheduleTaskDlgt=se,this._scheduleTaskCurrZone=this.zone),ge.onInvokeTask||(this._invokeTaskZS=Lt,this._invokeTaskDlgt=se,this._invokeTaskCurrZone=this.zone),ge.onCancelTask||(this._cancelTaskZS=Lt,this._cancelTaskDlgt=se,this._cancelTaskCurrZone=this.zone))}fork(Tt,se){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Tt,se):new St(Tt,se)}intercept(Tt,se,ge){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Tt,se,ge):se}invoke(Tt,se,ge,kt,Zt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Tt,se,ge,kt,Zt):se.apply(ge,kt)}handleError(Tt,se){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Tt,se)}scheduleTask(Tt,se){let ge=se;if(this._scheduleTaskZS)this._hasTaskZS&&ge._zoneDelegates.push(this._hasTaskDlgtOwner),ge=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Tt,se),ge||(ge=se);else if(se.scheduleFn)se.scheduleFn(se);else{if(se.type!=Ct)throw new Error("Task is missing scheduleFn.");ze(se)}return ge}invokeTask(Tt,se,ge,kt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Tt,se,ge,kt):se.callback.apply(ge,kt)}cancelTask(Tt,se){let ge;if(this._cancelTaskZS)ge=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Tt,se);else{if(!se.cancelFn)throw Error("Task is not cancelable");ge=se.cancelFn(se)}return ge}hasTask(Tt,se){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Tt,se)}catch(ge){this.handleError(Tt,ge)}}_updateTaskCount(Tt,se){const ge=this._taskCounts,kt=ge[Tt],Zt=ge[Tt]=kt+se;if(Zt<0)throw new Error("More tasks executed then were scheduled.");0!=kt&&0!=Zt||this.hasTask(this.zone,{microTask:ge.microTask>0,macroTask:ge.macroTask>0,eventTask:ge.eventTask>0,change:Tt})}}class bt{constructor(Tt,se,ge,kt,Zt,cr){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Tt,this.source=se,this.data=kt,this.scheduleFn=Zt,this.cancelFn=cr,!ge)throw new Error("callback is not defined");this.callback=ge;const it=this;this.invoke=Tt===Be&&kt&&kt.useG?bt.invokeTask:function(){return bt.invokeTask.call(le,it,this,arguments)}}static invokeTask(Tt,se,ge){Tt||(Tt=this),vn++;try{return Tt.runCount++,Tt.zone.runTask(Tt,se,ge)}finally{1==vn&&Ke(),vn--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Vt,Un)}_transitionTo(Tt,se,ge){if(this._state!==se&&this._state!==ge)throw new Error(`${this.type} '${this.source}': can not transition to '${Tt}', expecting state '${se}'${ge?" or '"+ge+"'":""}, was '${this._state}'.`);this._state=Tt,Tt==Vt&&(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 an=Ze("setTimeout"),ve=Ze("Promise"),Q=Ze("then");let Te,$=[],be=!1;function ze(Pt){if(0===vn&&0===$.length)if(Te||le[ve]&&(Te=le[ve].resolve(0)),Te){let Tt=Te[Q];Tt||(Tt=Te.then),Tt.call(Te,Ke)}else le[an](Ke,0);Pt&&$.push(Pt)}function Ke(){if(!be){for(be=!0;$.length;){const Pt=$;$=[];for(let Tt=0;Tt<Pt.length;Tt++){const se=Pt[Tt];try{se.zone.runTask(se,null,null)}catch(ge){gn.onUnhandledError(ge)}}}gn.microtaskDrainDone(),be=!1}}const Qt={name:"NO ZONE"},Vt="notScheduled",Un="scheduling",tn="scheduled",pn="running",ln="canceling",Hn="unknown",Ct="microTask",en="macroTask",Be="eventTask",It={},gn={symbol:Ze,currentZoneFrame:()=>Rt,onUnhandledError:Tn,microtaskDrainDone:Tn,scheduleMicroTask:ze,showUncaughtError:()=>!St[Ze("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Tn,patchMethod:()=>Tn,bindArguments:()=>[],patchThen:()=>Tn,patchMacroTask:()=>Tn,patchEventPrototype:()=>Tn,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Tn,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Tn,wrapWithCurrentZone:()=>Tn,filterProperties:()=>[],attachOriginToPatched:()=>Tn,_redefineProperty:()=>Tn,patchCallbacks:()=>Tn};let Rt={parent:null,zone:new St(null,null)},jn=null,vn=0;function Tn(){}Me("Zone","Zone"),le.Zone=St}(typeof window<"u"&&window||typeof self<"u"&&self||global);const X=Object.getOwnPropertyDescriptor,F=Object.defineProperty,c=Object.getPrototypeOf,v=Object.create,we=Array.prototype.slice,Ee="addEventListener",pe="removeEventListener",ae=Zone.__symbol__(Ee),me=Zone.__symbol__(pe),Z="true",re="false",H=Zone.__symbol__("");function G(le,ue){return Zone.current.wrap(le,ue)}function ce(le,ue,Re,Me,je){return Zone.current.scheduleMacroTask(le,ue,Re,Me,je)}const ee=Zone.__symbol__,_e=typeof window<"u",z=_e?window:void 0,ie=_e&&z||"object"==typeof self&&self||global,lt=[null];function Ye(le,ue){for(let Re=le.length-1;Re>=0;Re--)"function"==typeof le[Re]&&(le[Re]=G(le[Re],ue+"_"+Re));return le}function nn(le){return!le||!1!==le.writable&&!("function"==typeof le.get&&typeof le.set>"u")}const In=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Qe=!("nw"in ie)&&typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process),Dn=!Qe&&!In&&!(!_e||!z.HTMLElement),yt=typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process)&&!In&&!(!_e||!z.HTMLElement),Ft={},on=function(le){if(!(le=le||ie.event))return;let ue=Ft[le.type];ue||(ue=Ft[le.type]=ee("ON_PROPERTY"+le.type));const Re=this||le.target||ie,Me=Re[ue];let je;if(Dn&&Re===z&&"error"===le.type){const Ze=le;je=Me&&Me.call(this,Ze.message,Ze.filename,Ze.lineno,Ze.colno,Ze.error),!0===je&&le.preventDefault()}else je=Me&&Me.apply(this,arguments),null!=je&&!je&&le.preventDefault();return je};function pt(le,ue,Re){let Me=X(le,ue);if(!Me&&Re&&X(Re,ue)&&(Me={enumerable:!0,configurable:!0}),!Me||!Me.configurable)return;const je=ee("on"+ue+"patched");if(le.hasOwnProperty(je)&&le[je])return;delete Me.writable,delete Me.value;const Ze=Me.get,dt=Me.set,St=ue.substr(2);let Lt=Ft[St];Lt||(Lt=Ft[St]=ee("ON_PROPERTY"+St)),Me.set=function(Gt){let bt=this;!bt&&le===ie&&(bt=ie),bt&&(bt[Lt]&&bt.removeEventListener(St,on),dt&&dt.apply(bt,lt),"function"==typeof Gt?(bt[Lt]=Gt,bt.addEventListener(St,on,!1)):bt[Lt]=null)},Me.get=function(){let Gt=this;if(!Gt&&le===ie&&(Gt=ie),!Gt)return null;const bt=Gt[Lt];if(bt)return bt;if(Ze){let an=Ze&&Ze.call(this);if(an)return Me.set.call(this,an),"function"==typeof Gt.removeAttribute&&Gt.removeAttribute(ue),an}return null},F(le,ue,Me),le[je]=!0}function ot(le,ue,Re){if(ue)for(let Me=0;Me<ue.length;Me++)pt(le,"on"+ue[Me],Re);else{const Me=[];for(const je in le)"on"==je.substr(0,2)&&Me.push(je);for(let je=0;je<Me.length;je++)pt(le,Me[je],Re)}}const Y=ee("originalInstance");function Ce(le){const ue=ie[le];if(!ue)return;ie[ee(le)]=ue,ie[le]=function(){const je=Ye(arguments,le);switch(je.length){case 0:this[Y]=new ue;break;case 1:this[Y]=new ue(je[0]);break;case 2:this[Y]=new ue(je[0],je[1]);break;case 3:this[Y]=new ue(je[0],je[1],je[2]);break;case 4:this[Y]=new ue(je[0],je[1],je[2],je[3]);break;default:throw new Error("Arg list too long.")}},vt(ie[le],ue);const Re=new ue(function(){});let Me;for(Me in Re)"XMLHttpRequest"===le&&"responseBlob"===Me||function(je){"function"==typeof Re[je]?ie[le].prototype[je]=function(){return this[Y][je].apply(this[Y],arguments)}:F(ie[le].prototype,je,{set:function(Ze){"function"==typeof Ze?(this[Y][je]=G(Ze,le+"."+je),vt(this[Y][je],Ze)):this[Y][je]=Ze},get:function(){return this[Y][je]}})}(Me);for(Me in ue)"prototype"!==Me&&ue.hasOwnProperty(Me)&&(ie[le][Me]=ue[Me])}function Oe(le,ue,Re){let Me=le;for(;Me&&!Me.hasOwnProperty(ue);)Me=c(Me);!Me&&le[ue]&&(Me=le);const je=ee(ue);let Ze=null;if(Me&&(!(Ze=Me[je])||!Me.hasOwnProperty(je))&&(Ze=Me[je]=Me[ue],nn(Me&&X(Me,ue)))){const St=Re(Ze,je,ue);Me[ue]=function(){return St(this,arguments)},vt(Me[ue],Ze)}return Ze}function at(le,ue,Re){let Me=null;function je(Ze){const dt=Ze.data;return dt.args[dt.cbIdx]=function(){Ze.invoke.apply(this,arguments)},Me.apply(dt.target,dt.args),Ze}Me=Oe(le,ue,Ze=>function(dt,St){const Lt=Re(dt,St);return Lt.cbIdx>=0&&"function"==typeof St[Lt.cbIdx]?ce(Lt.name,St[Lt.cbIdx],Lt,je):Ze.apply(dt,St)})}function vt(le,ue){le[ee("OriginalDelegate")]=ue}let kn=!1,Ur=!1;function ji(){if(kn)return Ur;kn=!0;try{const le=z.navigator.userAgent;(-1!==le.indexOf("MSIE ")||-1!==le.indexOf("Trident/")||-1!==le.indexOf("Edge/"))&&(Ur=!0)}catch{}return Ur}Zone.__load_patch("ZoneAwarePromise",(le,ue,Re)=>{const Me=Object.getOwnPropertyDescriptor,je=Object.defineProperty,dt=Re.symbol,St=[],Lt=!0===le[dt("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Gt=dt("Promise"),bt=dt("then");Re.onUnhandledError=it=>{if(Re.showUncaughtError()){const xe=it&&it.rejection;xe?console.error("Unhandled Promise rejection:",xe instanceof Error?xe.message:xe,"; Zone:",it.zone.name,"; Task:",it.task&&it.task.source,"; Value:",xe,xe instanceof Error?xe.stack:void 0):console.error(it)}},Re.microtaskDrainDone=()=>{for(;St.length;){const it=St.shift();try{it.zone.runGuarded(()=>{throw it.throwOriginal?it.rejection:it})}catch(xe){Q(xe)}}};const ve=dt("unhandledPromiseRejectionHandler");function Q(it){Re.onUnhandledError(it);try{const xe=ue[ve];"function"==typeof xe&&xe.call(this,it)}catch{}}function $(it){return it&&it.then}function be(it){return it}function Te(it){return se.reject(it)}const ze=dt("state"),Ke=dt("value"),Qt=dt("finally"),Vt=dt("parentPromiseValue"),Un=dt("parentPromiseState"),pn=null,Hn=!1;function en(it,xe){return Ne=>{try{Rt(it,xe,Ne)}catch(gt){Rt(it,!1,gt)}}}const gn=dt("currentTaskTrace");function Rt(it,xe,Ne){const gt=function(){let it=!1;return function(Ne){return function(){it||(it=!0,Ne.apply(null,arguments))}}}();if(it===Ne)throw new TypeError("Promise resolved with itself");if(it[ze]===pn){let Et=null;try{("object"==typeof Ne||"function"==typeof Ne)&&(Et=Ne&&Ne.then)}catch(_t){return gt(()=>{Rt(it,!1,_t)})(),it}if(xe!==Hn&&Ne instanceof se&&Ne.hasOwnProperty(ze)&&Ne.hasOwnProperty(Ke)&&Ne[ze]!==pn)vn(Ne),Rt(it,Ne[ze],Ne[Ke]);else if(xe!==Hn&&"function"==typeof Et)try{Et.call(Ne,gt(en(it,xe)),gt(en(it,!1)))}catch(_t){gt(()=>{Rt(it,!1,_t)})()}else{it[ze]=xe;const _t=it[Ke];if(it[Ke]=Ne,it[Qt]===Qt&&!0===xe&&(it[ze]=it[Un],it[Ke]=it[Vt]),xe===Hn&&Ne instanceof Error){const zt=ue.currentTask&&ue.currentTask.data&&ue.currentTask.data.__creationTrace__;zt&&je(Ne,gn,{configurable:!0,enumerable:!1,writable:!0,value:zt})}for(let zt=0;zt<_t.length;)Tn(it,_t[zt++],_t[zt++],_t[zt++],_t[zt++]);if(0==_t.length&&xe==Hn){it[ze]=0;let zt=Ne;try{throw new Error("Uncaught (in promise): "+function Ze(it){return it&&it.toString===Object.prototype.toString?(it.constructor&&it.constructor.name||"")+": "+JSON.stringify(it):it?it.toString():Object.prototype.toString.call(it)}(Ne)+(Ne&&Ne.stack?"\n"+Ne.stack:""))}catch(Bt){zt=Bt}Lt&&(zt.throwOriginal=!0),zt.rejection=Ne,zt.promise=it,zt.zone=ue.current,zt.task=ue.currentTask,St.push(zt),Re.scheduleMicroTask()}}}return it}const jn=dt("rejectionHandledHandler");function vn(it){if(0===it[ze]){try{const xe=ue[jn];xe&&"function"==typeof xe&&xe.call(this,{rejection:it[Ke],promise:it})}catch{}it[ze]=Hn;for(let xe=0;xe<St.length;xe++)it===St[xe].promise&&St.splice(xe,1)}}function Tn(it,xe,Ne,gt,Et){vn(it);const _t=it[ze],zt=_t?"function"==typeof gt?gt:be:"function"==typeof Et?Et:Te;xe.scheduleMicroTask("Promise.then",()=>{try{const Bt=it[Ke],un=!!Ne&&Qt===Ne[Qt];un&&(Ne[Vt]=Bt,Ne[Un]=_t);const Nn=xe.run(zt,void 0,un&&zt!==Te&&zt!==be?[]:[Bt]);Rt(Ne,!0,Nn)}catch(Bt){Rt(Ne,!1,Bt)}},Ne)}const Tt=function(){};class se{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(xe){return Rt(new this(null),!0,xe)}static reject(xe){return Rt(new this(null),Hn,xe)}static race(xe){let Ne,gt,Et=new this((Bt,un)=>{Ne=Bt,gt=un});function _t(Bt){Ne(Bt)}function zt(Bt){gt(Bt)}for(let Bt of xe)$(Bt)||(Bt=this.resolve(Bt)),Bt.then(_t,zt);return Et}static all(xe){return se.allWithCallback(xe)}static allSettled(xe){return(this&&this.prototype instanceof se?this:se).allWithCallback(xe,{thenCallback:gt=>({status:"fulfilled",value:gt}),errorCallback:gt=>({status:"rejected",reason:gt})})}static allWithCallback(xe,Ne){let gt,Et,_t=new this((Nn,Ln)=>{gt=Nn,Et=Ln}),zt=2,Bt=0;const un=[];for(let Nn of xe){$(Nn)||(Nn=this.resolve(Nn));const Ln=Bt;try{Nn.then(or=>{un[Ln]=Ne?Ne.thenCallback(or):or,zt--,0===zt&>(un)},or=>{Ne?(un[Ln]=Ne.errorCallback(or),zt--,0===zt&>(un)):Et(or)})}catch(or){Et(or)}zt++,Bt++}return zt-=2,0===zt&>(un),_t}constructor(xe){const Ne=this;if(!(Ne instanceof se))throw new Error("Must be an instanceof Promise.");Ne[ze]=pn,Ne[Ke]=[];try{xe&&xe(en(Ne,!0),en(Ne,Hn))}catch(gt){Rt(Ne,!1,gt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return se}then(xe,Ne){let gt=this.constructor[Symbol.species];(!gt||"function"!=typeof gt)&&(gt=this.constructor||se);const Et=new gt(Tt),_t=ue.current;return this[ze]==pn?this[Ke].push(_t,Et,xe,Ne):Tn(this,_t,Et,xe,Ne),Et}catch(xe){return this.then(null,xe)}finally(xe){let Ne=this.constructor[Symbol.species];(!Ne||"function"!=typeof Ne)&&(Ne=se);const gt=new Ne(Tt);gt[Qt]=Qt;const Et=ue.current;return this[ze]==pn?this[Ke].push(Et,gt,xe,xe):Tn(this,Et,gt,xe,xe),gt}}se.resolve=se.resolve,se.reject=se.reject,se.race=se.race,se.all=se.all;const ge=le[Gt]=le.Promise;le.Promise=se;const kt=dt("thenPatched");function Zt(it){const xe=it.prototype,Ne=Me(xe,"then");if(Ne&&(!1===Ne.writable||!Ne.configurable))return;const gt=xe.then;xe[bt]=gt,it.prototype.then=function(Et,_t){return new se((Bt,un)=>{gt.call(this,Bt,un)}).then(Et,_t)},it[kt]=!0}return Re.patchThen=Zt,ge&&(Zt(ge),Oe(le,"fetch",it=>function cr(it){return function(xe,Ne){let gt=it.apply(xe,Ne);if(gt instanceof se)return gt;let Et=gt.constructor;return Et[kt]||Zt(Et),gt}}(it))),Promise[ue.__symbol__("uncaughtPromiseErrors")]=St,se}),Zone.__load_patch("toString",le=>{const ue=Function.prototype.toString,Re=ee("OriginalDelegate"),Me=ee("Promise"),je=ee("Error"),Ze=function(){if("function"==typeof this){const Gt=this[Re];if(Gt)return"function"==typeof Gt?ue.call(Gt):Object.prototype.toString.call(Gt);if(this===Promise){const bt=le[Me];if(bt)return ue.call(bt)}if(this===Error){const bt=le[je];if(bt)return ue.call(bt)}}return ue.call(this)};Ze[Re]=ue,Function.prototype.toString=Ze;const dt=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":dt.call(this)}});let Xr=!1;if(typeof window<"u")try{const le=Object.defineProperty({},"passive",{get:function(){Xr=!0}});window.addEventListener("test",le,le),window.removeEventListener("test",le,le)}catch{Xr=!1}const Ti={useG:!0},ur={},ei={},vi=new RegExp("^"+H+"(\\w+)(true|false)$"),Sn=ee("propagationStopped");function Mn(le,ue){const Re=(ue?ue(le):le)+re,Me=(ue?ue(le):le)+Z,je=H+Re,Ze=H+Me;ur[le]={},ur[le][re]=je,ur[le][Z]=Ze}function Xi(le,ue,Re){const Me=Re&&Re.add||Ee,je=Re&&Re.rm||pe,Ze=Re&&Re.listeners||"eventListeners",dt=Re&&Re.rmAll||"removeAllListeners",St=ee(Me),Lt="."+Me+":",an=function(Te,ze,Ke){if(Te.isRemoved)return;const Qt=Te.callback;"object"==typeof Qt&&Qt.handleEvent&&(Te.callback=Un=>Qt.handleEvent(Un),Te.originalDelegate=Qt),Te.invoke(Te,ze,[Ke]);const Vt=Te.options;Vt&&"object"==typeof Vt&&Vt.once&&ze[je].call(ze,Ke.type,Te.originalDelegate?Te.originalDelegate:Te.callback,Vt)},ve=function(Te){if(!(Te=Te||le.event))return;const ze=this||Te.target||le,Ke=ze[ur[Te.type][re]];if(Ke)if(1===Ke.length)an(Ke[0],ze,Te);else{const Qt=Ke.slice();for(let Vt=0;Vt<Qt.length&&(!Te||!0!==Te[Sn]);Vt++)an(Qt[Vt],ze,Te)}},Q=function(Te){if(!(Te=Te||le.event))return;const ze=this||Te.target||le,Ke=ze[ur[Te.type][Z]];if(Ke)if(1===Ke.length)an(Ke[0],ze,Te);else{const Qt=Ke.slice();for(let Vt=0;Vt<Qt.length&&(!Te||!0!==Te[Sn]);Vt++)an(Qt[Vt],ze,Te)}};function $(Te,ze){if(!Te)return!1;let Ke=!0;ze&&void 0!==ze.useG&&(Ke=ze.useG);const Qt=ze&&ze.vh;let Vt=!0;ze&&void 0!==ze.chkDup&&(Vt=ze.chkDup);let Un=!1;ze&&void 0!==ze.rt&&(Un=ze.rt);let tn=Te;for(;tn&&!tn.hasOwnProperty(Me);)tn=c(tn);if(!tn&&Te[Me]&&(tn=Te),!tn||tn[St])return!1;const pn=ze&&ze.eventNameToString,ln={},Hn=tn[St]=tn[Me],Ct=tn[ee(je)]=tn[je],en=tn[ee(Ze)]=tn[Ze],Be=tn[ee(dt)]=tn[dt];let It;function gn(xe,Ne){return!Xr&&"object"==typeof xe&&xe?!!xe.capture:Xr&&Ne?"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}ze&&ze.prepend&&(It=tn[ee(ze.prepend)]=tn[ze.prepend]);const Tt=Ke?function(xe){if(!ln.isExisting)return Hn.call(ln.target,ln.eventName,ln.capture?Q:ve,ln.options)}:function(xe){return Hn.call(ln.target,ln.eventName,xe.invoke,ln.options)},se=Ke?function(xe){if(!xe.isRemoved){const Ne=ur[xe.eventName];let gt;Ne&&(gt=Ne[xe.capture?Z:re]);const Et=gt&&xe.target[gt];if(Et)for(let _t=0;_t<Et.length;_t++)if(Et[_t]===xe){Et.splice(_t,1),xe.isRemoved=!0,0===Et.length&&(xe.allRemoved=!0,xe.target[gt]=null);break}}if(xe.allRemoved)return Ct.call(xe.target,xe.eventName,xe.capture?Q:ve,xe.options)}:function(xe){return Ct.call(xe.target,xe.eventName,xe.invoke,xe.options)},kt=ze&&ze.diff?ze.diff:function(xe,Ne){const gt=typeof Ne;return"function"===gt&&xe.callback===Ne||"object"===gt&&xe.originalDelegate===Ne},Zt=Zone[ee("UNPATCHED_EVENTS")],cr=le[ee("PASSIVE_EVENTS")],it=function(xe,Ne,gt,Et,_t=!1,zt=!1){return function(){const Bt=this||le;let un=arguments[0];ze&&ze.transferEventName&&(un=ze.transferEventName(un));let Nn=arguments[1];if(!Nn)return xe.apply(this,arguments);if(Qe&&"uncaughtException"===un)return xe.apply(this,arguments);let Ln=!1;if("function"!=typeof Nn){if(!Nn.handleEvent)return xe.apply(this,arguments);Ln=!0}if(Qt&&!Qt(xe,Nn,Bt,arguments))return;const or=Xr&&!!cr&&-1!==cr.indexOf(un),br=gn(arguments[2],or);if(Zt)for(let Oi=0;Oi<Zt.length;Oi++)if(un===Zt[Oi])return or?xe.call(Bt,un,Nn,br):xe.apply(this,arguments);const ir=!!br&&("boolean"==typeof br||br.capture),ho=!(!br||"object"!=typeof br)&&br.once,ti=Zone.current;let qn=ur[un];qn||(Mn(un,pn),qn=ur[un]);const qr=qn[ir?Z:re];let Rr,kr=Bt[qr],Ni=!1;if(kr){if(Ni=!0,Vt)for(let Oi=0;Oi<kr.length;Oi++)if(kt(kr[Oi],Nn))return}else kr=Bt[qr]=[];const po=Bt.constructor.name,ki=ei[po];ki&&(Rr=ki[un]),Rr||(Rr=po+Ne+(pn?pn(un):un)),ln.options=br,ho&&(ln.options.once=!1),ln.target=Bt,ln.capture=ir,ln.eventName=un,ln.isExisting=Ni;const Pi=Ke?Ti:void 0;Pi&&(Pi.taskData=ln);const Ci=ti.scheduleEventTask(Rr,Nn,Pi,gt,Et);return ln.target=null,Pi&&(Pi.taskData=null),ho&&(br.once=!0),!Xr&&"boolean"==typeof Ci.options||(Ci.options=br),Ci.target=Bt,Ci.capture=ir,Ci.eventName=un,Ln&&(Ci.originalDelegate=Nn),zt?kr.unshift(Ci):kr.push(Ci),_t?Bt:void 0}};return tn[Me]=it(Hn,Lt,Tt,se,Un),It&&(tn.prependListener=it(It,".prependListener:",function(xe){return It.call(ln.target,ln.eventName,xe.invoke,ln.options)},se,Un,!0)),tn[je]=function(){const xe=this||le;let Ne=arguments[0];ze&&ze.transferEventName&&(Ne=ze.transferEventName(Ne));const gt=arguments[2],Et=!!gt&&("boolean"==typeof gt||gt.capture),_t=arguments[1];if(!_t)return Ct.apply(this,arguments);if(Qt&&!Qt(Ct,_t,xe,arguments))return;const zt=ur[Ne];let Bt;zt&&(Bt=zt[Et?Z:re]);const un=Bt&&xe[Bt];if(un)for(let Nn=0;Nn<un.length;Nn++){const Ln=un[Nn];if(kt(Ln,_t))return un.splice(Nn,1),Ln.isRemoved=!0,0===un.length&&(Ln.allRemoved=!0,xe[Bt]=null,"string"==typeof Ne)&&(xe[H+"ON_PROPERTY"+Ne]=null),Ln.zone.cancelTask(Ln),Un?xe:void 0}return Ct.apply(this,arguments)},tn[Ze]=function(){const xe=this||le;let Ne=arguments[0];ze&&ze.transferEventName&&(Ne=ze.transferEventName(Ne));const gt=[],Et=Ar(xe,pn?pn(Ne):Ne);for(let _t=0;_t<Et.length;_t++){const zt=Et[_t];gt.push(zt.originalDelegate?zt.originalDelegate:zt.callback)}return gt},tn[dt]=function(){const xe=this||le;let Ne=arguments[0];if(Ne){ze&&ze.transferEventName&&(Ne=ze.transferEventName(Ne));const gt=ur[Ne];if(gt){const zt=xe[gt[re]],Bt=xe[gt[Z]];if(zt){const un=zt.slice();for(let Nn=0;Nn<un.length;Nn++){const Ln=un[Nn];this[je].call(this,Ne,Ln.originalDelegate?Ln.originalDelegate:Ln.callback,Ln.options)}}if(Bt){const un=Bt.slice();for(let Nn=0;Nn<un.length;Nn++){const Ln=un[Nn];this[je].call(this,Ne,Ln.originalDelegate?Ln.originalDelegate:Ln.callback,Ln.options)}}}}else{const gt=Object.keys(xe);for(let Et=0;Et<gt.length;Et++){const zt=vi.exec(gt[Et]);let Bt=zt&&zt[1];Bt&&"removeListener"!==Bt&&this[dt].call(this,Bt)}this[dt].call(this,"removeListener")}if(Un)return this},vt(tn[Me],Hn),vt(tn[je],Ct),Be&&vt(tn[dt],Be),en&&vt(tn[Ze],en),!0}let be=[];for(let Te=0;Te<ue.length;Te++)be[Te]=$(ue[Te],Re);return be}function Ar(le,ue){if(!ue){const Ze=[];for(let dt in le){const St=vi.exec(dt);let Lt=St&&St[1];if(Lt&&(!ue||Lt===ue)){const Gt=le[dt];if(Gt)for(let bt=0;bt<Gt.length;bt++)Ze.push(Gt[bt])}}return Ze}let Re=ur[ue];Re||(Mn(ue),Re=ur[ue]);const Me=le[Re[re]],je=le[Re[Z]];return Me?je?Me.concat(je):Me.slice():je?je.slice():[]}function _r(le,ue){const Re=le.Event;Re&&Re.prototype&&ue.patchMethod(Re.prototype,"stopImmediatePropagation",Me=>function(je,Ze){je[Sn]=!0,Me&&Me.apply(je,Ze)})}function Qn(le,ue,Re,Me,je){const Ze=Zone.__symbol__(Me);if(ue[Ze])return;const dt=ue[Ze]=ue[Me];ue[Me]=function(St,Lt,Gt){return Lt&&Lt.prototype&&je.forEach(function(bt){const an=`${Re}.${Me}::`+bt,ve=Lt.prototype;if(ve.hasOwnProperty(bt)){const Q=le.ObjectGetOwnPropertyDescriptor(ve,bt);Q&&Q.value?(Q.value=le.wrapWithCurrentZone(Q.value,an),le._redefineProperty(Lt.prototype,bt,Q)):ve[bt]&&(ve[bt]=le.wrapWithCurrentZone(ve[bt],an))}else ve[bt]&&(ve[bt]=le.wrapWithCurrentZone(ve[bt],an))}),dt.call(ue,St,Lt,Gt)},le.attachOriginToPatched(ue[Me],dt)}const Fi=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],eo=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],We=["load"],he=["blur","error","focus","load","resize","scroll","messageerror"],q=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],ke=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],qe=["close","error","open","message"],mt=["error","message"],hn=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Fi,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function jt(le,ue,Re){if(!Re||0===Re.length)return ue;const Me=Re.filter(Ze=>Ze.target===le);if(!Me||0===Me.length)return ue;const je=Me[0].ignoreProperties;return ue.filter(Ze=>-1===je.indexOf(Ze))}function Dt(le,ue,Re,Me){le&&ot(le,jt(le,ue,Re),Me)}Zone.__load_patch("util",(le,ue,Re)=>{Re.patchOnProperties=ot,Re.patchMethod=Oe,Re.bindArguments=Ye,Re.patchMacroTask=at;const Me=ue.__symbol__("BLACK_LISTED_EVENTS"),je=ue.__symbol__("UNPATCHED_EVENTS");le[je]&&(le[Me]=le[je]),le[Me]&&(ue[Me]=ue[je]=le[Me]),Re.patchEventPrototype=_r,Re.patchEventTarget=Xi,Re.isIEOrEdge=ji,Re.ObjectDefineProperty=F,Re.ObjectGetOwnPropertyDescriptor=X,Re.ObjectCreate=v,Re.ArraySlice=we,Re.patchClass=Ce,Re.wrapWithCurrentZone=G,Re.filterProperties=jt,Re.attachOriginToPatched=vt,Re._redefineProperty=Object.defineProperty,Re.patchCallbacks=Qn,Re.getGlobalObjects=()=>({globalSources:ei,zoneSymbolEventNames:ur,eventNames:hn,isBrowser:Dn,isMix:yt,isNode:Qe,TRUE_STR:Z,FALSE_STR:re,ZONE_SYMBOL_PREFIX:H,ADD_EVENT_LISTENER_STR:Ee,REMOVE_EVENT_LISTENER_STR:pe})});const er=ee("zoneTask");function Rn(le,ue,Re,Me){let je=null,Ze=null;Re+=Me;const dt={};function St(Gt){const bt=Gt.data;return bt.args[0]=function(){return Gt.invoke.apply(this,arguments)},bt.handleId=je.apply(le,bt.args),Gt}function Lt(Gt){return Ze.call(le,Gt.data.handleId)}je=Oe(le,ue+=Me,Gt=>function(bt,an){if("function"==typeof an[0]){const ve={isPeriodic:"Interval"===Me,delay:"Timeout"===Me||"Interval"===Me?an[1]||0:void 0,args:an},Q=an[0];an[0]=function(){try{return Q.apply(this,arguments)}finally{ve.isPeriodic||("number"==typeof ve.handleId?delete dt[ve.handleId]:ve.handleId&&(ve.handleId[er]=null))}};const $=ce(ue,an[0],ve,St,Lt);if(!$)return $;const be=$.data.handleId;return"number"==typeof be?dt[be]=$:be&&(be[er]=$),be&&be.ref&&be.unref&&"function"==typeof be.ref&&"function"==typeof be.unref&&($.ref=be.ref.bind(be),$.unref=be.unref.bind(be)),"number"==typeof be||be?be:$}return Gt.apply(le,an)}),Ze=Oe(le,Re,Gt=>function(bt,an){const ve=an[0];let Q;"number"==typeof ve?Q=dt[ve]:(Q=ve&&ve[er],Q||(Q=ve)),Q&&"string"==typeof Q.type?"notScheduled"!==Q.state&&(Q.cancelFn&&Q.data.isPeriodic||0===Q.runCount)&&("number"==typeof ve?delete dt[ve]:ve&&(ve[er]=null),Q.zone.cancelTask(Q)):Gt.apply(le,an)})}Zone.__load_patch("legacy",le=>{const ue=le[Zone.__symbol__("legacyPatch")];ue&&ue()}),Zone.__load_patch("queueMicrotask",(le,ue,Re)=>{Re.patchMethod(le,"queueMicrotask",Me=>function(je,Ze){ue.current.scheduleMicroTask("queueMicrotask",Ze[0])})}),Zone.__load_patch("timers",le=>{const Re="clear";Rn(le,"set",Re,"Timeout"),Rn(le,"set",Re,"Interval"),Rn(le,"set",Re,"Immediate")}),Zone.__load_patch("requestAnimationFrame",le=>{Rn(le,"request","cancel","AnimationFrame"),Rn(le,"mozRequest","mozCancel","AnimationFrame"),Rn(le,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(le,ue)=>{const Re=["alert","prompt","confirm"];for(let Me=0;Me<Re.length;Me++)Oe(le,Re[Me],(Ze,dt,St)=>function(Lt,Gt){return ue.current.run(Ze,le,Gt,St)})}),Zone.__load_patch("EventTarget",(le,ue,Re)=>{(function Yt(le,ue){ue.patchEventPrototype(le,ue)})(le,Re),function sn(le,ue){if(Zone[ue.symbol("patchEventTarget")])return;const{eventNames:Re,zoneSymbolEventNames:Me,TRUE_STR:je,FALSE_STR:Ze,ZONE_SYMBOL_PREFIX:dt}=ue.getGlobalObjects();for(let Lt=0;Lt<Re.length;Lt++){const Gt=Re[Lt],ve=dt+(Gt+Ze),Q=dt+(Gt+je);Me[Gt]={},Me[Gt][Ze]=ve,Me[Gt][je]=Q}const St=le.EventTarget;St&&St.prototype&&ue.patchEventTarget(le,[St&&St.prototype])}(le,Re);const Me=le.XMLHttpRequestEventTarget;Me&&Me.prototype&&Re.patchEventTarget(le,[Me.prototype])}),Zone.__load_patch("MutationObserver",(le,ue,Re)=>{Ce("MutationObserver"),Ce("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(le,ue,Re)=>{Ce("IntersectionObserver")}),Zone.__load_patch("FileReader",(le,ue,Re)=>{Ce("FileReader")}),Zone.__load_patch("on_property",(le,ue,Re)=>{!function Wr(le,ue){if(Qe&&!yt||Zone[le.symbol("patchEvents")])return;const Re=typeof WebSocket<"u",Me=ue.__Zone_ignore_on_properties;if(Dn){const dt=window,St=function xr(){try{const le=z.navigator.userAgent;if(-1!==le.indexOf("MSIE ")||-1!==le.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:dt,ignoreProperties:["error"]}]:[];Dt(dt,hn.concat(["messageerror"]),Me&&Me.concat(St),c(dt)),Dt(Document.prototype,hn,Me),typeof dt.SVGElement<"u"&&Dt(dt.SVGElement.prototype,hn,Me),Dt(Element.prototype,hn,Me),Dt(HTMLElement.prototype,hn,Me),Dt(HTMLMediaElement.prototype,eo,Me),Dt(HTMLFrameSetElement.prototype,Fi.concat(he),Me),Dt(HTMLBodyElement.prototype,Fi.concat(he),Me),Dt(HTMLFrameElement.prototype,We,Me),Dt(HTMLIFrameElement.prototype,We,Me);const Lt=dt.HTMLMarqueeElement;Lt&&Dt(Lt.prototype,q,Me);const Gt=dt.Worker;Gt&&Dt(Gt.prototype,mt,Me)}const je=ue.XMLHttpRequest;je&&Dt(je.prototype,rt,Me);const Ze=ue.XMLHttpRequestEventTarget;Ze&&Dt(Ze&&Ze.prototype,rt,Me),typeof IDBIndex<"u"&&(Dt(IDBIndex.prototype,ke,Me),Dt(IDBRequest.prototype,ke,Me),Dt(IDBOpenDBRequest.prototype,ke,Me),Dt(IDBDatabase.prototype,ke,Me),Dt(IDBTransaction.prototype,ke,Me),Dt(IDBCursor.prototype,ke,Me)),Re&&Dt(WebSocket.prototype,qe,Me)}(Re,le)}),Zone.__load_patch("customElements",(le,ue,Re)=>{!function $t(le,ue){const{isBrowser:Re,isMix:Me}=ue.getGlobalObjects();(Re||Me)&&le.customElements&&"customElements"in le&&ue.patchCallbacks(ue,le.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(le,Re)}),Zone.__load_patch("XHR",(le,ue)=>{!function Lt(Gt){const bt=Gt.XMLHttpRequest;if(!bt)return;const an=bt.prototype;let Q=an[ae],$=an[me];if(!Q){const Ct=Gt.XMLHttpRequestEventTarget;if(Ct){const en=Ct.prototype;Q=en[ae],$=en[me]}}const be="readystatechange",Te="scheduled";function ze(Ct){const en=Ct.data,Be=en.target;Be[Ze]=!1,Be[St]=!1;const It=Be[je];Q||(Q=Be[ae],$=Be[me]),It&&$.call(Be,be,It);const gn=Be[je]=()=>{if(Be.readyState===Be.DONE)if(!en.aborted&&Be[Ze]&&Ct.state===Te){const jn=Be[ue.__symbol__("loadfalse")];if(0!==Be.status&&jn&&jn.length>0){const vn=Ct.invoke;Ct.invoke=function(){const Tn=Be[ue.__symbol__("loadfalse")];for(let Pt=0;Pt<Tn.length;Pt++)Tn[Pt]===Ct&&Tn.splice(Pt,1);!en.aborted&&Ct.state===Te&&vn.call(Ct)},jn.push(Ct)}else Ct.invoke()}else!en.aborted&&!1===Be[Ze]&&(Be[St]=!0)};return Q.call(Be,be,gn),Be[Re]||(Be[Re]=Ct),ln.apply(Be,en.args),Be[Ze]=!0,Ct}function Ke(){}function Qt(Ct){const en=Ct.data;return en.aborted=!0,Hn.apply(en.target,en.args)}const Vt=Oe(an,"open",()=>function(Ct,en){return Ct[Me]=0==en[2],Ct[dt]=en[1],Vt.apply(Ct,en)}),tn=ee("fetchTaskAborting"),pn=ee("fetchTaskScheduling"),ln=Oe(an,"send",()=>function(Ct,en){if(!0===ue.current[pn]||Ct[Me])return ln.apply(Ct,en);{const Be={target:Ct,url:Ct[dt],isPeriodic:!1,args:en,aborted:!1},It=ce("XMLHttpRequest.send",Ke,Be,ze,Qt);Ct&&!0===Ct[St]&&!Be.aborted&&It.state===Te&&It.invoke()}}),Hn=Oe(an,"abort",()=>function(Ct,en){const Be=function ve(Ct){return Ct[Re]}(Ct);if(Be&&"string"==typeof Be.type){if(null==Be.cancelFn||Be.data&&Be.data.aborted)return;Be.zone.cancelTask(Be)}else if(!0===ue.current[tn])return Hn.apply(Ct,en)})}(le);const Re=ee("xhrTask"),Me=ee("xhrSync"),je=ee("xhrListener"),Ze=ee("xhrScheduled"),dt=ee("xhrURL"),St=ee("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",le=>{le.navigator&&le.navigator.geolocation&&function Xe(le,ue){const Re=le.constructor.name;for(let Me=0;Me<ue.length;Me++){const je=ue[Me],Ze=le[je];if(Ze){if(!nn(X(le,je)))continue;le[je]=(St=>{const Lt=function(){return St.apply(this,Ye(arguments,Re+"."+je))};return vt(Lt,St),Lt})(Ze)}}}(le.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(le,ue)=>{function Re(Me){return function(je){Ar(le,Me).forEach(dt=>{const St=le.PromiseRejectionEvent;if(St){const Lt=new St(Me,{promise:je.promise,reason:je.rejection});dt.invoke(Lt)}})}}le.PromiseRejectionEvent&&(ue[ee("unhandledPromiseRejectionHandler")]=Re("unhandledrejection"),ue[ee("rejectionHandledHandler")]=Re("rejectionhandled"))})},6895:(Ue,X,F)=>{"use strict";F.d(X,{Do:()=>nn,EM:()=>Bo,HT:()=>pe,JF:()=>Zo,K0:()=>me,Mx:()=>ge,O5:()=>gt,PC:()=>ir,S$:()=>Ae,V_:()=>H,Ye:()=>In,b0:()=>Xe,bD:()=>Oo,ez:()=>mo,lw:()=>Z,mk:()=>kt,mr:()=>Ye,q:()=>we,sg:()=>it,tP:()=>ho,w_:()=>ae});var c=F(6738);let v=null;function we(){return v}function pe(M){v||(v=M)}class ae{}const me=new c.OlP("DocumentToken");let Z=(()=>{class M{historyGo(S){throw new Error("Not implemented")}}return M.\u0275fac=function(S){return new(S||M)},M.\u0275prov=c.Yz7({token:M,factory:function(){return function re(){return(0,c.LFG)(G)}()},providedIn:"platform"}),M})();const H=new c.OlP("Location Initialized");let G=(()=>{class M extends Z{constructor(S){super(),this._doc=S,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return we().getBaseHref(this._doc)}onPopState(S){const L=we().getGlobalEventTarget(this._doc,"window");return L.addEventListener("popstate",S,!1),()=>L.removeEventListener("popstate",S)}onHashChange(S){const L=we().getGlobalEventTarget(this._doc,"window");return L.addEventListener("hashchange",S,!1),()=>L.removeEventListener("hashchange",S)}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(S){this.location.pathname=S}pushState(S,L,fe){ce()?this._history.pushState(S,L,fe):this.location.hash=fe}replaceState(S,L,fe){ce()?this._history.replaceState(S,L,fe):this.location.hash=fe}forward(){this._history.forward()}back(){this._history.back()}historyGo(S=0){this._history.go(S)}getState(){return this._history.state}}return M.\u0275fac=function(S){return new(S||M)(c.LFG(me))},M.\u0275prov=c.Yz7({token:M,factory:function(){return function ee(){return new G((0,c.LFG)(me))}()},providedIn:"platform"}),M})();function ce(){return!!window.history.pushState}function _e(M,R){if(0==M.length)return R;if(0==R.length)return M;let S=0;return M.endsWith("/")&&S++,R.startsWith("/")&&S++,2==S?M+R.substring(1):1==S?M+R:M+"/"+R}function z(M){const R=M.match(/#|\?|$/),S=R&&R.index||M.length;return M.slice(0,S-("/"===M[S-1]?1:0))+M.slice(S)}function ie(M){return M&&"?"!==M[0]?"?"+M:M}let Ae=(()=>{class M{historyGo(S){throw new Error("Not implemented")}}return M.\u0275fac=function(S){return new(S||M)},M.\u0275prov=c.Yz7({token:M,factory:function(){return function lt(M){const R=(0,c.LFG)(me).location;return new Xe((0,c.LFG)(Z),R&&R.origin||"")}()},providedIn:"root"}),M})();const Ye=new c.OlP("appBaseHref");let Xe=(()=>{class M extends Ae{constructor(S,L){if(super(),this._platformLocation=S,this._removeListenerFns=[],null==L&&(L=this._platformLocation.getBaseHrefFromDOM()),null==L)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=L}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}prepareExternalUrl(S){return _e(this._baseHref,S)}path(S=!1){const L=this._platformLocation.pathname+ie(this._platformLocation.search),fe=this._platformLocation.hash;return fe&&S?`${L}${fe}`:L}pushState(S,L,fe,Ie){const ut=this.prepareExternalUrl(fe+ie(Ie));this._platformLocation.pushState(S,L,ut)}replaceState(S,L,fe,Ie){const ut=this.prepareExternalUrl(fe+ie(Ie));this._platformLocation.replaceState(S,L,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(S=0){this._platformLocation.historyGo?.(S)}}return M.\u0275fac=function(S){return new(S||M)(c.LFG(Z),c.LFG(Ye,8))},M.\u0275prov=c.Yz7({token:M,factory:M.\u0275fac}),M})(),nn=(()=>{class M extends Ae{constructor(S,L){super(),this._platformLocation=S,this._baseHref="",this._removeListenerFns=[],null!=L&&(this._baseHref=L)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}path(S=!1){let L=this._platformLocation.hash;return null==L&&(L="#"),L.length>0?L.substring(1):L}prepareExternalUrl(S){const L=_e(this._baseHref,S);return L.length>0?"#"+L:L}pushState(S,L,fe,Ie){let ut=this.prepareExternalUrl(fe+ie(Ie));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.pushState(S,L,ut)}replaceState(S,L,fe,Ie){let ut=this.prepareExternalUrl(fe+ie(Ie));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.replaceState(S,L,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(S=0){this._platformLocation.historyGo?.(S)}}return M.\u0275fac=function(S){return new(S||M)(c.LFG(Z),c.LFG(Ye,8))},M.\u0275prov=c.Yz7({token:M,factory:M.\u0275fac}),M})(),In=(()=>{class M{constructor(S,L){this._subject=new c.vpe,this._urlChangeListeners=[],this._platformStrategy=S;const fe=this._platformStrategy.getBaseHref();this._platformLocation=L,this._baseHref=z(yt(fe)),this._platformStrategy.onPopState(Ie=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ie.state,type:Ie.type})})}path(S=!1){return this.normalize(this._platformStrategy.path(S))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(S,L=""){return this.path()==this.normalize(S+ie(L))}normalize(S){return M.stripTrailingSlash(function Dn(M,R){return M&&R.startsWith(M)?R.substring(M.length):R}(this._baseHref,yt(S)))}prepareExternalUrl(S){return S&&"/"!==S[0]&&(S="/"+S),this._platformStrategy.prepareExternalUrl(S)}go(S,L="",fe=null){this._platformStrategy.pushState(fe,"",S,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+ie(L)),fe)}replaceState(S,L="",fe=null){this._platformStrategy.replaceState(fe,"",S,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+ie(L)),fe)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(S=0){this._platformStrategy.historyGo?.(S)}onUrlChange(S){this._urlChangeListeners.push(S),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(L=>{this._notifyUrlChangeListeners(L.url,L.state)}))}_notifyUrlChangeListeners(S="",L){this._urlChangeListeners.forEach(fe=>fe(S,L))}subscribe(S,L,fe){return this._subject.subscribe({next:S,error:L,complete:fe})}}return M.normalizeQueryParams=ie,M.joinWithSlash=_e,M.stripTrailingSlash=z,M.\u0275fac=function(S){return new(S||M)(c.LFG(Ae),c.LFG(Z))},M.\u0275prov=c.Yz7({token:M,factory:function(){return function Qe(){return new In((0,c.LFG)(Ae),(0,c.LFG)(Z))}()},providedIn:"root"}),M})();function yt(M){return M.replace(/\/index.html$/,"")}function ge(M,R){R=encodeURIComponent(R);for(const S of M.split(";")){const L=S.indexOf("="),[fe,Ie]=-1==L?[S,""]:[S.slice(0,L),S.slice(L+1)];if(fe.trim()===R)return decodeURIComponent(Ie)}return null}let kt=(()=>{class M{constructor(S,L,fe,Ie){this._iterableDiffers=S,this._keyValueDiffers=L,this._ngEl=fe,this._renderer=Ie,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(S){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof S?S.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(S){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof S?S.split(/\s+/):S,this._rawClass&&((0,c.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const S=this._iterableDiffer.diff(this._rawClass);S&&this._applyIterableChanges(S)}else if(this._keyValueDiffer){const S=this._keyValueDiffer.diff(this._rawClass);S&&this._applyKeyValueChanges(S)}}_applyKeyValueChanges(S){S.forEachAddedItem(L=>this._toggleClass(L.key,L.currentValue)),S.forEachChangedItem(L=>this._toggleClass(L.key,L.currentValue)),S.forEachRemovedItem(L=>{L.previousValue&&this._toggleClass(L.key,!1)})}_applyIterableChanges(S){S.forEachAddedItem(L=>{if("string"!=typeof L.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,c.AaK)(L.item)}`);this._toggleClass(L.item,!0)}),S.forEachRemovedItem(L=>this._toggleClass(L.item,!1))}_applyClasses(S){S&&(Array.isArray(S)||S instanceof Set?S.forEach(L=>this._toggleClass(L,!0)):Object.keys(S).forEach(L=>this._toggleClass(L,!!S[L])))}_removeClasses(S){S&&(Array.isArray(S)||S instanceof Set?S.forEach(L=>this._toggleClass(L,!1)):Object.keys(S).forEach(L=>this._toggleClass(L,!1)))}_toggleClass(S,L){(S=S.trim())&&S.split(/\s+/g).forEach(fe=>{L?this._renderer.addClass(this._ngEl.nativeElement,fe):this._renderer.removeClass(this._ngEl.nativeElement,fe)})}}return M.\u0275fac=function(S){return new(S||M)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},M.\u0275dir=c.lG2({type:M,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),M})();class cr{constructor(R,S,L,fe){this.$implicit=R,this.ngForOf=S,this.index=L,this.count=fe}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 it=(()=>{class M{constructor(S,L,fe){this._viewContainer=S,this._template=L,this._differs=fe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(S){this._ngForOf=S,this._ngForOfDirty=!0}set ngForTrackBy(S){this._trackByFn=S}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(S){S&&(this._template=S)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const S=this._ngForOf;!this._differ&&S&&(this._differ=this._differs.find(S).create(this.ngForTrackBy))}if(this._differ){const S=this._differ.diff(this._ngForOf);S&&this._applyChanges(S)}}_applyChanges(S){const L=this._viewContainer;S.forEachOperation((fe,Ie,ut)=>{if(null==fe.previousIndex)L.createEmbeddedView(this._template,new cr(fe.item,this._ngForOf,-1,-1),null===ut?void 0:ut);else if(null==ut)L.remove(null===Ie?void 0:Ie);else if(null!==Ie){const ht=L.get(Ie);L.move(ht,ut),xe(ht,fe)}});for(let fe=0,Ie=L.length;fe<Ie;fe++){const ht=L.get(fe).context;ht.index=fe,ht.count=Ie,ht.ngForOf=this._ngForOf}S.forEachIdentityChange(fe=>{xe(L.get(fe.currentIndex),fe)})}static ngTemplateContextGuard(S,L){return!0}}return M.\u0275fac=function(S){return new(S||M)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},M.\u0275dir=c.lG2({type:M,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),M})();function xe(M,R){M.context.$implicit=R.item}let gt=(()=>{class M{constructor(S,L){this._viewContainer=S,this._context=new Et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=L}set ngIf(S){this._context.$implicit=this._context.ngIf=S,this._updateView()}set ngIfThen(S){_t("ngIfThen",S),this._thenTemplateRef=S,this._thenViewRef=null,this._updateView()}set ngIfElse(S){_t("ngIfElse",S),this._elseTemplateRef=S,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(S,L){return!0}}return M.\u0275fac=function(S){return new(S||M)(c.Y36(c.s_b),c.Y36(c.Rgc))},M.\u0275dir=c.lG2({type:M,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),M})();class Et{constructor(){this.$implicit=null,this.ngIf=null}}function _t(M,R){if(R&&!R.createEmbeddedView)throw new Error(`${M} must be a TemplateRef, but received '${(0,c.AaK)(R)}'.`)}let ir=(()=>{class M{constructor(S,L,fe){this._ngEl=S,this._differs=L,this._renderer=fe,this._ngStyle=null,this._differ=null}set ngStyle(S){this._ngStyle=S,!this._differ&&S&&(this._differ=this._differs.find(S).create())}ngDoCheck(){if(this._differ){const S=this._differ.diff(this._ngStyle);S&&this._applyChanges(S)}}_setStyle(S,L){const[fe,Ie]=S.split(".");null!=(L=null!=L&&Ie?`${L}${Ie}`:L)?this._renderer.setStyle(this._ngEl.nativeElement,fe,L):this._renderer.removeStyle(this._ngEl.nativeElement,fe)}_applyChanges(S){S.forEachRemovedItem(L=>this._setStyle(L.key,null)),S.forEachAddedItem(L=>this._setStyle(L.key,L.currentValue)),S.forEachChangedItem(L=>this._setStyle(L.key,L.currentValue))}}return M.\u0275fac=function(S){return new(S||M)(c.Y36(c.SBq),c.Y36(c.aQg),c.Y36(c.Qsj))},M.\u0275dir=c.lG2({type:M,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),M})(),ho=(()=>{class M{constructor(S){this._viewContainerRef=S,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(S){if(S.ngTemplateOutlet){const L=this._viewContainerRef;this._viewRef&&L.remove(L.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?L.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&S.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return M.\u0275fac=function(S){return new(S||M)(c.Y36(c.s_b))},M.\u0275dir=c.lG2({type:M,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[c.TTD]}),M})(),mo=(()=>{class M{}return M.\u0275fac=function(S){return new(S||M)},M.\u0275mod=c.oAB({type:M}),M.\u0275inj=c.cJS({}),M})();const Oo="browser";let Bo=(()=>{class M{}return M.\u0275prov=(0,c.Yz7)({token:M,providedIn:"root",factory:()=>new _o((0,c.LFG)(me),window)}),M})();class _o{constructor(R,S){this.document=R,this.window=S,this.offset=()=>[0,0]}setOffset(R){this.offset=Array.isArray(R)?()=>R:R}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(R){this.supportsScrolling()&&this.window.scrollTo(R[0],R[1])}scrollToAnchor(R){if(!this.supportsScrolling())return;const S=function jr(M,R){const S=M.getElementById(R)||M.getElementsByName(R)[0];if(S)return S;if("function"==typeof M.createTreeWalker&&M.body&&(M.body.createShadowRoot||M.body.attachShadow)){const L=M.createTreeWalker(M.body,NodeFilter.SHOW_ELEMENT);let fe=L.currentNode;for(;fe;){const Ie=fe.shadowRoot;if(Ie){const ut=Ie.getElementById(R)||Ie.querySelector(`[name="${R}"]`);if(ut)return ut}fe=L.nextNode()}}return null}(this.document,R);S&&(this.scrollToElement(S),S.focus())}setHistoryScrollRestoration(R){if(this.supportScrollRestoration()){const S=this.window.history;S&&S.scrollRestoration&&(S.scrollRestoration=R)}}scrollToElement(R){const S=R.getBoundingClientRect(),L=S.left+this.window.pageXOffset,fe=S.top+this.window.pageYOffset,Ie=this.offset();this.window.scrollTo(L-Ie[0],fe-Ie[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const R=Lr(this.window.history)||Lr(Object.getPrototypeOf(this.window.history));return!(!R||!R.writable&&!R.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Lr(M){return Object.getOwnPropertyDescriptor(M,"scrollRestoration")}class Zo{}},529:(Ue,X,F)=>{"use strict";F.d(X,{JF:()=>Nr,WM:()=>H,eN:()=>Oe});var c=F(6895),v=F(6738),we=F(1086),Ee=F(2916),pe=F(1406),ae=F(2198),me=F(4850);class Z{}class re{}class H{constructor(he){this.normalizedNames=new Map,this.lazyUpdate=null,he?this.lazyInit="string"==typeof he?()=>{this.headers=new Map,he.split("\n").forEach(q=>{const rt=q.indexOf(":");if(rt>0){const ke=q.slice(0,rt),qe=ke.toLowerCase(),mt=q.slice(rt+1).trim();this.maybeSetNormalizedName(ke,qe),this.headers.has(qe)?this.headers.get(qe).push(mt):this.headers.set(qe,[mt])}})}:()=>{this.headers=new Map,Object.keys(he).forEach(q=>{let rt=he[q];const ke=q.toLowerCase();"string"==typeof rt&&(rt=[rt]),rt.length>0&&(this.headers.set(ke,rt),this.maybeSetNormalizedName(q,ke))})}:this.headers=new Map}has(he){return this.init(),this.headers.has(he.toLowerCase())}get(he){this.init();const q=this.headers.get(he.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(he){return this.init(),this.headers.get(he.toLowerCase())||null}append(he,q){return this.clone({name:he,value:q,op:"a"})}set(he,q){return this.clone({name:he,value:q,op:"s"})}delete(he,q){return this.clone({name:he,value:q,op:"d"})}maybeSetNormalizedName(he,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,he)}init(){this.lazyInit&&(this.lazyInit instanceof H?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(he=>this.applyUpdate(he)),this.lazyUpdate=null))}copyFrom(he){he.init(),Array.from(he.headers.keys()).forEach(q=>{this.headers.set(q,he.headers.get(q)),this.normalizedNames.set(q,he.normalizedNames.get(q))})}clone(he){const q=new H;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof H?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([he]),q}applyUpdate(he){const q=he.name.toLowerCase();switch(he.op){case"a":case"s":let rt=he.value;if("string"==typeof rt&&(rt=[rt]),0===rt.length)return;this.maybeSetNormalizedName(he.name,q);const ke=("a"===he.op?this.headers.get(q):void 0)||[];ke.push(...rt),this.headers.set(q,ke);break;case"d":const qe=he.value;if(qe){let mt=this.headers.get(q);if(!mt)return;mt=mt.filter(hn=>-1===qe.indexOf(hn)),0===mt.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,mt)}else this.headers.delete(q),this.normalizedNames.delete(q)}}forEach(he){this.init(),Array.from(this.normalizedNames.keys()).forEach(q=>he(this.normalizedNames.get(q),this.headers.get(q)))}}class G{encodeKey(he){return z(he)}encodeValue(he){return z(he)}decodeKey(he){return decodeURIComponent(he)}decodeValue(he){return decodeURIComponent(he)}}const ee=/%(\d[a-f0-9])/gi,_e={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function z(We){return encodeURIComponent(We).replace(ee,(he,q)=>_e[q]??he)}function ie(We){return`${We}`}class Ae{constructor(he={}){if(this.updates=null,this.cloneFrom=null,this.encoder=he.encoder||new G,he.fromString){if(he.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ce(We,he){const q=new Map;return We.length>0&&We.replace(/^\?/,"").split("&").forEach(ke=>{const qe=ke.indexOf("="),[mt,hn]=-1==qe?[he.decodeKey(ke),""]:[he.decodeKey(ke.slice(0,qe)),he.decodeValue(ke.slice(qe+1))],jt=q.get(mt)||[];jt.push(hn),q.set(mt,jt)}),q}(he.fromString,this.encoder)}else he.fromObject?(this.map=new Map,Object.keys(he.fromObject).forEach(q=>{const rt=he.fromObject[q];this.map.set(q,Array.isArray(rt)?rt:[rt])})):this.map=null}has(he){return this.init(),this.map.has(he)}get(he){this.init();const q=this.map.get(he);return q?q[0]:null}getAll(he){return this.init(),this.map.get(he)||null}keys(){return this.init(),Array.from(this.map.keys())}append(he,q){return this.clone({param:he,value:q,op:"a"})}appendAll(he){const q=[];return Object.keys(he).forEach(rt=>{const ke=he[rt];Array.isArray(ke)?ke.forEach(qe=>{q.push({param:rt,value:qe,op:"a"})}):q.push({param:rt,value:ke,op:"a"})}),this.clone(q)}set(he,q){return this.clone({param:he,value:q,op:"s"})}delete(he,q){return this.clone({param:he,value:q,op:"d"})}toString(){return this.init(),this.keys().map(he=>{const q=this.encoder.encodeKey(he);return this.map.get(he).map(rt=>q+"="+this.encoder.encodeValue(rt)).join("&")}).filter(he=>""!==he).join("&")}clone(he){const q=new Ae({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(he),q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(he=>this.map.set(he,this.cloneFrom.map.get(he))),this.updates.forEach(he=>{switch(he.op){case"a":case"s":const q=("a"===he.op?this.map.get(he.param):void 0)||[];q.push(ie(he.value)),this.map.set(he.param,q);break;case"d":if(void 0===he.value){this.map.delete(he.param);break}{let rt=this.map.get(he.param)||[];const ke=rt.indexOf(ie(he.value));-1!==ke&&rt.splice(ke,1),rt.length>0?this.map.set(he.param,rt):this.map.delete(he.param)}}}),this.cloneFrom=this.updates=null)}}class Ye{constructor(){this.map=new Map}set(he,q){return this.map.set(he,q),this}get(he){return this.map.has(he)||this.map.set(he,he.defaultValue()),this.map.get(he)}delete(he){return this.map.delete(he),this}has(he){return this.map.has(he)}keys(){return this.map.keys()}}function nn(We){return typeof ArrayBuffer<"u"&&We instanceof ArrayBuffer}function In(We){return typeof Blob<"u"&&We instanceof Blob}function Qe(We){return typeof FormData<"u"&&We instanceof FormData}class yt{constructor(he,q,rt,ke){let qe;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=he.toUpperCase(),function Xe(We){switch(We){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==rt?rt:null,qe=ke):qe=rt,qe&&(this.reportProgress=!!qe.reportProgress,this.withCredentials=!!qe.withCredentials,qe.responseType&&(this.responseType=qe.responseType),qe.headers&&(this.headers=qe.headers),qe.context&&(this.context=qe.context),qe.params&&(this.params=qe.params)),this.headers||(this.headers=new H),this.context||(this.context=new Ye),this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=q;else{const hn=q.indexOf("?");this.urlWithParams=q+(-1===hn?"?":hn<q.length-1?"&":"")+mt}}else this.params=new Ae,this.urlWithParams=q}serializeBody(){return null===this.body?null:nn(this.body)||In(this.body)||Qe(this.body)||function Dn(We){return typeof URLSearchParams<"u"&&We instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ae?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Qe(this.body)?null:In(this.body)?this.body.type||null:nn(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ae?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(he={}){const q=he.method||this.method,rt=he.url||this.url,ke=he.responseType||this.responseType,qe=void 0!==he.body?he.body:this.body,mt=void 0!==he.withCredentials?he.withCredentials:this.withCredentials,hn=void 0!==he.reportProgress?he.reportProgress:this.reportProgress;let jt=he.headers||this.headers,Dt=he.params||this.params;const Wr=he.context??this.context;return void 0!==he.setHeaders&&(jt=Object.keys(he.setHeaders).reduce((er,Rn)=>er.set(Rn,he.setHeaders[Rn]),jt)),he.setParams&&(Dt=Object.keys(he.setParams).reduce((er,Rn)=>er.set(Rn,he.setParams[Rn]),Dt)),new yt(q,rt,qe,{params:Dt,headers:jt,context:Wr,reportProgress:hn,responseType:ke,withCredentials:mt})}}var Ft=(()=>((Ft=Ft||{})[Ft.Sent=0]="Sent",Ft[Ft.UploadProgress=1]="UploadProgress",Ft[Ft.ResponseHeader=2]="ResponseHeader",Ft[Ft.DownloadProgress=3]="DownloadProgress",Ft[Ft.Response=4]="Response",Ft[Ft.User=5]="User",Ft))();class on{constructor(he,q=200,rt="OK"){this.headers=he.headers||new H,this.status=void 0!==he.status?he.status:q,this.statusText=he.statusText||rt,this.url=he.url||null,this.ok=this.status>=200&&this.status<300}}class pt extends on{constructor(he={}){super(he),this.type=Ft.ResponseHeader}clone(he={}){return new pt({headers:he.headers||this.headers,status:void 0!==he.status?he.status:this.status,statusText:he.statusText||this.statusText,url:he.url||this.url||void 0})}}class ot extends on{constructor(he={}){super(he),this.type=Ft.Response,this.body=void 0!==he.body?he.body:null}clone(he={}){return new ot({body:void 0!==he.body?he.body:this.body,headers:he.headers||this.headers,status:void 0!==he.status?he.status:this.status,statusText:he.statusText||this.statusText,url:he.url||this.url||void 0})}}class Y extends on{constructor(he){super(he,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${he.url||"(unknown url)"}`:`Http failure response for ${he.url||"(unknown url)"}: ${he.status} ${he.statusText}`,this.error=he.error||null}}function Ce(We,he){return{body:he,headers:We.headers,context:We.context,observe:We.observe,params:We.params,reportProgress:We.reportProgress,responseType:We.responseType,withCredentials:We.withCredentials}}let Oe=(()=>{class We{constructor(q){this.handler=q}request(q,rt,ke={}){let qe;if(q instanceof yt)qe=q;else{let jt,Dt;jt=ke.headers instanceof H?ke.headers:new H(ke.headers),ke.params&&(Dt=ke.params instanceof Ae?ke.params:new Ae({fromObject:ke.params})),qe=new yt(q,rt,void 0!==ke.body?ke.body:null,{headers:jt,context:ke.context,params:Dt,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const mt=(0,we.of)(qe).pipe((0,pe.b)(jt=>this.handler.handle(jt)));if(q instanceof yt||"events"===ke.observe)return mt;const hn=mt.pipe((0,ae.h)(jt=>jt instanceof ot));switch(ke.observe||"body"){case"body":switch(qe.responseType){case"arraybuffer":return hn.pipe((0,me.U)(jt=>{if(null!==jt.body&&!(jt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return jt.body}));case"blob":return hn.pipe((0,me.U)(jt=>{if(null!==jt.body&&!(jt.body instanceof Blob))throw new Error("Response is not a Blob.");return jt.body}));case"text":return hn.pipe((0,me.U)(jt=>{if(null!==jt.body&&"string"!=typeof jt.body)throw new Error("Response is not a string.");return jt.body}));default:return hn.pipe((0,me.U)(jt=>jt.body))}case"response":return hn;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(q,rt={}){return this.request("DELETE",q,rt)}get(q,rt={}){return this.request("GET",q,rt)}head(q,rt={}){return this.request("HEAD",q,rt)}jsonp(q,rt){return this.request("JSONP",q,{params:(new Ae).append(rt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,rt={}){return this.request("OPTIONS",q,rt)}patch(q,rt,ke={}){return this.request("PATCH",q,Ce(ke,rt))}post(q,rt,ke={}){return this.request("POST",q,Ce(ke,rt))}put(q,rt,ke={}){return this.request("PUT",q,Ce(ke,rt))}}return We.\u0275fac=function(q){return new(q||We)(v.LFG(Z))},We.\u0275prov=v.Yz7({token:We,factory:We.\u0275fac}),We})();class at{constructor(he,q){this.next=he,this.interceptor=q}handle(he){return this.interceptor.intercept(he,this.next)}}const vt=new v.OlP("HTTP_INTERCEPTORS");let kn=(()=>{class We{intercept(q,rt){return rt.handle(q)}}return We.\u0275fac=function(q){return new(q||We)},We.\u0275prov=v.Yz7({token:We,factory:We.\u0275fac}),We})();const Sn=/^\)\]\}',?\n/;let Xi=(()=>{class We{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ee.y(rt=>{const ke=this.xhrFactory.build();if(ke.open(q.method,q.urlWithParams),q.withCredentials&&(ke.withCredentials=!0),q.headers.forEach(($t,sn)=>ke.setRequestHeader($t,sn.join(","))),q.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const $t=q.detectContentTypeHeader();null!==$t&&ke.setRequestHeader("Content-Type",$t)}if(q.responseType){const $t=q.responseType.toLowerCase();ke.responseType="json"!==$t?$t:"text"}const qe=q.serializeBody();let mt=null;const hn=()=>{if(null!==mt)return mt;const $t=ke.statusText||"OK",sn=new H(ke.getAllResponseHeaders()),Yt=function Mn(We){return"responseURL"in We&&We.responseURL?We.responseURL:/^X-Request-URL:/m.test(We.getAllResponseHeaders())?We.getResponseHeader("X-Request-URL"):null}(ke)||q.url;return mt=new pt({headers:sn,status:ke.status,statusText:$t,url:Yt}),mt},jt=()=>{let{headers:$t,status:sn,statusText:Yt,url:le}=hn(),ue=null;204!==sn&&(ue=typeof ke.response>"u"?ke.responseText:ke.response),0===sn&&(sn=ue?200:0);let Re=sn>=200&&sn<300;if("json"===q.responseType&&"string"==typeof ue){const Me=ue;ue=ue.replace(Sn,"");try{ue=""!==ue?JSON.parse(ue):null}catch(je){ue=Me,Re&&(Re=!1,ue={error:je,text:ue})}}Re?(rt.next(new ot({body:ue,headers:$t,status:sn,statusText:Yt,url:le||void 0})),rt.complete()):rt.error(new Y({error:ue,headers:$t,status:sn,statusText:Yt,url:le||void 0}))},Dt=$t=>{const{url:sn}=hn(),Yt=new Y({error:$t,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:sn||void 0});rt.error(Yt)};let Wr=!1;const er=$t=>{Wr||(rt.next(hn()),Wr=!0);let sn={type:Ft.DownloadProgress,loaded:$t.loaded};$t.lengthComputable&&(sn.total=$t.total),"text"===q.responseType&&!!ke.responseText&&(sn.partialText=ke.responseText),rt.next(sn)},Rn=$t=>{let sn={type:Ft.UploadProgress,loaded:$t.loaded};$t.lengthComputable&&(sn.total=$t.total),rt.next(sn)};return ke.addEventListener("load",jt),ke.addEventListener("error",Dt),ke.addEventListener("timeout",Dt),ke.addEventListener("abort",Dt),q.reportProgress&&(ke.addEventListener("progress",er),null!==qe&&ke.upload&&ke.upload.addEventListener("progress",Rn)),ke.send(qe),rt.next({type:Ft.Sent}),()=>{ke.removeEventListener("error",Dt),ke.removeEventListener("abort",Dt),ke.removeEventListener("load",jt),ke.removeEventListener("timeout",Dt),q.reportProgress&&(ke.removeEventListener("progress",er),null!==qe&&ke.upload&&ke.upload.removeEventListener("progress",Rn)),ke.readyState!==ke.DONE&&ke.abort()}})}}return We.\u0275fac=function(q){return new(q||We)(v.LFG(c.JF))},We.\u0275prov=v.Yz7({token:We,factory:We.\u0275fac}),We})();const Ar=new v.OlP("XSRF_COOKIE_NAME"),_r=new v.OlP("XSRF_HEADER_NAME");class Qn{}let wr=(()=>{class We{constructor(q,rt,ke){this.doc=q,this.platform=rt,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(q,this.cookieName),this.lastCookieString=q),this.lastToken}}return We.\u0275fac=function(q){return new(q||We)(v.LFG(c.K0),v.LFG(v.Lbi),v.LFG(Ar))},We.\u0275prov=v.Yz7({token:We,factory:We.\u0275fac}),We})(),Ir=(()=>{class We{constructor(q,rt){this.tokenService=q,this.headerName=rt}intercept(q,rt){const ke=q.url.toLowerCase();if("GET"===q.method||"HEAD"===q.method||ke.startsWith("http://")||ke.startsWith("https://"))return rt.handle(q);const qe=this.tokenService.getToken();return null!==qe&&!q.headers.has(this.headerName)&&(q=q.clone({headers:q.headers.set(this.headerName,qe)})),rt.handle(q)}}return We.\u0275fac=function(q){return new(q||We)(v.LFG(Qn),v.LFG(_r))},We.\u0275prov=v.Yz7({token:We,factory:We.\u0275fac}),We})(),Fi=(()=>{class We{constructor(q,rt){this.backend=q,this.injector=rt,this.chain=null}handle(q){if(null===this.chain){const rt=this.injector.get(vt,[]);this.chain=rt.reduceRight((ke,qe)=>new at(ke,qe),this.backend)}return this.chain.handle(q)}}return We.\u0275fac=function(q){return new(q||We)(v.LFG(re),v.LFG(v.zs3))},We.\u0275prov=v.Yz7({token:We,factory:We.\u0275fac}),We})(),Dr=(()=>{class We{static disable(){return{ngModule:We,providers:[{provide:Ir,useClass:kn}]}}static withOptions(q={}){return{ngModule:We,providers:[q.cookieName?{provide:Ar,useValue:q.cookieName}:[],q.headerName?{provide:_r,useValue:q.headerName}:[]]}}}return We.\u0275fac=function(q){return new(q||We)},We.\u0275mod=v.oAB({type:We}),We.\u0275inj=v.cJS({providers:[Ir,{provide:vt,useExisting:Ir,multi:!0},{provide:Qn,useClass:wr},{provide:Ar,useValue:"XSRF-TOKEN"},{provide:_r,useValue:"X-XSRF-TOKEN"}]}),We})(),Nr=(()=>{class We{}return We.\u0275fac=function(q){return new(q||We)},We.\u0275mod=v.oAB({type:We}),We.\u0275inj=v.cJS({providers:[Oe,{provide:Z,useClass:Fi},Xi,{provide:re,useExisting:Xi}],imports:[[Dr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),We})()},6738:(Ue,X,F)=>{"use strict";F.d(X,{deG:()=>k,tb:()=>eC,AFp:()=>Qv,ip1:()=>Kv,CZH:()=>Em,hGG:()=>rE,z2F:()=>Am,sBO:()=>Hb,Sil:()=>vb,_Vd:()=>Kh,EJc:()=>_b,SBq:()=>Sd,qLn:()=>rl,vpe:()=>ka,tBr:()=>ns,XFs:()=>q,OlP:()=>T,zs3:()=>Rs,ZZ4:()=>Lm,aQg:()=>Vm,soG:()=>Mm,YKP:()=>lv,h0i:()=>ac,PXZ:()=>Ib,R0b:()=>sa,FiY:()=>Ki,Lbi:()=>pb,g9A:()=>Xv,Qsj:()=>fw,FYo:()=>iv,JOm:()=>xs,tp0:()=>so,Rgc:()=>xd,dDg:()=>rC,GfV:()=>ov,s_b:()=>Xh,ifc:()=>Rn,eFA:()=>sC,G48:()=>Ub,Gpc:()=>Ye,X6Q:()=>Bb,_c5:()=>nE,VLi:()=>Ob,c2e:()=>gb,zSh:()=>od,wAp:()=>En,vHH:()=>Qe,cg1:()=>em,kL8:()=>Py,dqk:()=>ue,sIi:()=>cu,CqO:()=>I_,QGY:()=>Wg,F4k:()=>A_,RDi:()=>fe,AaK:()=>ie,qOj:()=>pd,TTD:()=>Li,_Bn:()=>tv,xp6:()=>Nf,uIk:()=>md,Tol:()=>ey,Gre:()=>my,ekj:()=>Qg,Suo:()=>Pv,Xpm:()=>Q,lG2:()=>Un,Yz7:()=>Qn,cJS:()=>Ir,oAB:()=>Ke,Yjl:()=>tn,Y36:()=>Br,_UZ:()=>Gg,GkF:()=>zg,BQk:()=>Hh,ynx:()=>Uh,qZA:()=>Bh,TgZ:()=>Vh,EpF:()=>x_,n5z:()=>V,LFG:()=>Ut,$8M:()=>Es,$Z:()=>qo,NdJ:()=>qg,CRH:()=>Ov,oxw:()=>k_,Hsn:()=>V_,F$t:()=>L_,Q6J:()=>ds,s9C:()=>Zg,MGl:()=>jh,hYB:()=>Kg,DdM:()=>fv,VKq:()=>hv,WLB:()=>pv,kEZ:()=>gv,iGM:()=>Sv,MAs:()=>Rh,CHM:()=>da,oJD:()=>wc,LSH:()=>Iu,YNc:()=>tc,W1O:()=>Rv,_uU:()=>ay,Oqu:()=>Xg,hij:()=>Gh,Gf:()=>Tv});var c=F(2916),v=F(2866),we=F(9146),Ee=F(3009),ae=F(5529),me=F(2654),Z=F(1762);class H{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:i}=this,o=this.subjectFactory(),l=i(o).subscribe(t);return l.add(n.subscribe(o)),l}}var G=F(4327);function ce(){return new ae.xQ}function _e(e){for(let t in e)if(e[t]===_e)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 ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ie).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ae(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const lt=_e({__forward_ref__:_e});function Ye(e){return e.__forward_ref__=Ye,e.toString=function(){return ie(this())},e}function Xe(e){return nn(e)?e():e}function nn(e){return"function"==typeof e&&e.hasOwnProperty(lt)&&e.__forward_ref__===Ye}class Qe extends Error{constructor(t,n){super(function Dn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function yt(e){return"string"==typeof e?e:null==e?"":String(e)}function Ft(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():yt(e)}function Y(e,t){const n=t?` in ${t}`:"";throw new Qe(-201,`No provider for ${Ft(e)} found${n}`)}function Sn(e,t){null==e&&function Mn(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Qn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ir(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fi(e){return Hr(e,Mr)||Hr(e,We)}function Hr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Nr(e){return e&&(e.hasOwnProperty(zr)||e.hasOwnProperty(he))?e[zr]:null}const Mr=_e({\u0275prov:_e}),zr=_e({\u0275inj:_e}),We=_e({ngInjectableDef:_e}),he=_e({ngInjectorDef:_e});var q=(()=>((q=q||{})[q.Default=0]="Default",q[q.Host=1]="Host",q[q.Self=2]="Self",q[q.SkipSelf=4]="SkipSelf",q[q.Optional=8]="Optional",q))();let rt;function qe(e){const t=rt;return rt=e,t}function mt(e,t,n){const i=Fi(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&q.Optional?null:void 0!==t?t:void Y(ie(e),"Injector")}function jt(e){return{toString:e}.toString()}var Dt=(()=>((Dt=Dt||{})[Dt.OnPush=0]="OnPush",Dt[Dt.Default=1]="Default",Dt))(),Rn=(()=>{return(e=Rn||(Rn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Rn;var e})();const $t=typeof globalThis<"u"&&globalThis,sn=typeof window<"u"&&window,Yt=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,ue=$t||typeof global<"u"&&global||sn||Yt,je={},Ze=[],dt=_e({\u0275cmp:_e}),St=_e({\u0275dir:_e}),Lt=_e({\u0275pipe:_e}),Gt=_e({\u0275mod:_e}),bt=_e({\u0275fac:_e}),an=_e({__NG_ELEMENT_ID__:_e});let ve=0;function Q(e){return jt(()=>{const n={},i={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===Dt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ze,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Rn.Emulated,id:"c",styles:e.styles||Ze,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,l=e.features,p=e.pipes;return i.id+=ve++,i.inputs=Vt(e.inputs,n),i.outputs=Vt(e.outputs),l&&l.forEach(_=>_(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(be):null,i.pipeDefs=p?()=>("function"==typeof p?p():p).map(Te):null,i})}function be(e){return pn(e)||function ln(e){return e[St]||null}(e)}function Te(e){return function Hn(e){return e[Lt]||null}(e)}const ze={};function Ke(e){return jt(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ze,declarations:e.declarations||Ze,imports:e.imports||Ze,exports:e.exports||Ze,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ze[e.id]=e.type),t})}function Vt(e,t){if(null==e)return je;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],l=o;Array.isArray(o)&&(l=o[1],o=o[0]),n[o]=i,t&&(t[o]=l)}return n}const Un=Q;function tn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function pn(e){return e[dt]||null}function Ct(e,t){const n=e[Gt]||null;if(!n&&!0===t)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function ti(e){return Array.isArray(e)&&"object"==typeof e[1]}function qn(e){return Array.isArray(e)&&!0===e[1]}function qr(e){return 0!=(8&e.flags)}function kr(e){return 2==(2&e.flags)}function Ni(e){return 1==(1&e.flags)}function Rr(e){return null!==e.template}function po(e){return 0!=(512&e[2])}function oi(e,t){return e.hasOwnProperty(bt)?e[bt]:null}class Ns{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Li(){return zi}function zi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Sr),La}function La(){const e=xi(this),t=e?.current;if(t){const n=e.previous;if(n===je)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Sr(e,t,n,i){const o=xi(e)||function Bo(e,t){return e[Vo]=t}(e,{previous:je,current:null}),l=o.current||(o.current={}),p=o.previous,_=this.declaredInputs[n],C=p[_];l[_]=new Ns(C&&C.currentValue,t,p===je),e[i]=t}Li.ngInherit=!0;const Vo="__ngSimpleChanges__";function xi(e){return e[Vo]||null}const M="math";let L;function fe(e){L=e}function Ie(){return void 0!==L?L:typeof document<"u"?document:void 0}function ht(e){return!!e.listen}const Wn={createRenderer:(e,t)=>Ie()};function cn(e){for(;Array.isArray(e);)e=e[0];return e}function Vn(e,t){return cn(t[e])}function dr(e,t){return cn(t[e.index])}function D(e,t){return e.data[t]}function N(e,t){const n=t[e];return ti(n)?n:n[0]}function Ve(e){return 4==(4&e[2])}function xt(e){return 128==(128&e[2])}function Yr(e,t){return null==t?null:e[t]}function Wi(e){e[18]=0}function vo(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const dn={lFrame:Fe(null),bindingsEnabled:!0};function ri(){return dn.bindingsEnabled}function et(){return dn.lFrame.lView}function An(){return dn.lFrame.tView}function da(e){return dn.lFrame.contextLView=e,e[8]}function Tr(){let e=gl();for(;null!==e&&64===e.type;)e=e.parent;return e}function gl(){return dn.lFrame.currentTNode}function wi(e,t){const n=dn.lFrame;n.currentTNode=e,n.isParent=t}function fa(){return dn.lFrame.isParent}function Vs(){dn.lFrame.isParent=!1}function si(){const e=dn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _s(){return dn.lFrame.bindingIndex++}function Co(e){const t=dn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function qi(e,t){const n=dn.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ha(t)}function Ha(e){dn.lFrame.currentDirectiveIndex=e}function ys(){return dn.lFrame.currentQueryIndex}function pa(e){dn.lFrame.currentQueryIndex=e}function vs(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Us(e,t,n){if(n&q.SkipSelf){let o=t,l=e;for(;!(o=o.parent,null!==o||n&q.Host||(o=vs(l),null===o||(l=l[15],10&o.type))););if(null===o)return!1;t=o,e=l}const i=dn.lFrame=Le();return i.currentTNode=t,i.lView=e,!0}function ye(e){const t=Le(),n=e[1];dn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Le(){const e=dn.lFrame,t=null===e?null:e.child;return null===t?Fe(e):t}function Fe(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 Ot(){const e=dn.lFrame;return dn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Cn=Ot;function Jn(){const e=Ot();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 ai(){return dn.lFrame.selectedIndex}function Ho(e){dn.lFrame.selectedIndex=e}function nr(){const e=dn.lFrame;return D(e.tView,e.selectedIndex)}function js(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const l=e.data[n].type.prototype,{ngAfterContentInit:p,ngAfterContentChecked:_,ngAfterViewInit:C,ngAfterViewChecked:x,ngOnDestroy:I}=l;p&&(e.contentHooks||(e.contentHooks=[])).push(-n,p),_&&((e.contentHooks||(e.contentHooks=[])).push(n,_),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,_)),C&&(e.viewHooks||(e.viewHooks=[])).push(-n,C),x&&((e.viewHooks||(e.viewHooks=[])).push(n,x),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,x)),null!=I&&(e.destroyHooks||(e.destroyHooks=[])).push(n,I)}}function _a(e,t,n){$a(e,t,3,n)}function jo(e,t,n,i){(3&e[2])===n&&$a(e,t,n,i)}function ya(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function $a(e,t,n,i){const l=i??-1,p=t.length-1;let _=0;for(let C=void 0!==i?65535&e[18]:0;C<p;C++)if("number"==typeof t[C+1]){if(_=t[C],null!=i&&_>=i)break}else t[C]<0&&(e[18]+=65536),(_<l||-1==l)&&(_l(e,n,t,C),e[18]=(4294901760&e[18])+C+2),C++}function _l(e,t,n,i){const o=n[i]<0,l=n[i+1],_=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{l.call(_)}finally{}}}else try{l.call(_)}finally{}}class Yi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function ro(e,t,n){const i=ht(e);let o=0;for(;o<n.length;){const l=n[o];if("number"==typeof l){if(0!==l)break;o++;const p=n[o++],_=n[o++],C=n[o++];i?e.setAttribute(t,_,C,p):t.setAttributeNS(p,_,C)}else{const p=l,_=n[++o];Wa(p)?i&&e.setProperty(t,p,_):i?e.setAttribute(t,p,_):t.setAttribute(p,_),o++}}return o}function ws(e){return 3===e||4===e||6===e}function Wa(e){return 64===e.charCodeAt(0)}function qa(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||jl(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function jl(e,t,n,i,o){let l=0,p=e.length;if(-1===t)p=-1;else for(;l<e.length;){const _=e[l++];if("number"==typeof _){if(_===t){p=-1;break}if(_>t){p=l-1;break}}}for(;l<e.length;){const _=e[l];if("number"==typeof _)break;if(_===n){if(null===i)return void(null!==o&&(e[l+1]=o));if(i===e[l+1])return void(e[l+2]=o)}l++,null!==i&&l++,null!==o&&l++}-1!==p&&(e.splice(p,0,t),l=p+1),e.splice(l++,0,n),null!==i&&e.splice(l++,0,i),null!==o&&e.splice(l++,0,o)}function ba(e){return-1!==e}function Ao(e){return 32767&e}function $s(e,t){let n=function Ya(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let hi=!0;function Za(e){const t=hi;return hi=e,t}let Gs=0;function zs(e,t){const n=Ea(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ka(i.data,e),Ka(t,null),Ka(i.blueprint,null));const o=Jr(e,t),l=e.injectorIndex;if(ba(o)){const p=Ao(o),_=$s(o,t),C=_[1].data;for(let x=0;x<8;x++)t[l+x]=_[p+x]|C[p+x]}return t[l+8]=o,l}function Ka(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ea(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Jr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){const l=o[1],p=l.type;if(i=2===p?l.declTNode:1===p?o[6]:null,null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function mr(e,t,n){!function _u(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(an)&&(i=n[an]),null==i&&(i=n[an]=Gs++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function $o(e,t,n){if(n&q.Optional)return e;Y(t,"NodeInjector")}function Zi(e,t,n,i){if(n&q.Optional&&void 0===i&&(i=null),0==(n&(q.Self|q.Host))){const o=e[9],l=qe(void 0);try{return o?o.get(t,i,n&q.Optional):mt(t,i,n&q.Optional)}finally{qe(l)}}return $o(i,t,n)}function bi(e,t,n,i=q.Default,o){if(null!==e){const l=function yu(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(an)?e[an]:void 0;return"number"==typeof t?t>=0?255&t:$l:t}(n);if("function"==typeof l){if(!Us(t,e,i))return i&q.Host?$o(o,n,i):Zi(t,n,i,o);try{const p=l(i);if(null!=p||i&q.Optional)return p;Y(n)}finally{Cn()}}else if("number"==typeof l){let p=null,_=Ea(e,t),C=-1,x=i&q.Host?t[16][6]:null;for((-1===_||i&q.SkipSelf)&&(C=-1===_?Jr(e,t):t[_+8],-1!==C&&qs(i,!1)?(p=t[1],_=Ao(C),t=$s(C,t)):_=-1);-1!==_;){const I=t[1];if(Ws(l,_,I.data)){const j=Gl(_,t,n,p,i,x);if(j!==Jo)return j}C=t[_+8],-1!==C&&qs(i,t[1].data[_+8]===x)&&Ws(l,_,t)?(p=I,_=Ao(C),t=$s(C,t)):_=-1}}}return Zi(t,n,i,o)}const Jo={};function $l(){return new bs(Tr(),et())}function Gl(e,t,n,i,o,l){const p=t[1],_=p.data[e+8],I=Da(_,p,n,null==i?kr(_)&&hi:i!=p&&0!=(3&_.type),o&q.Host&&l===_);return null!==I?Ma(t,p,I,_):Jo}function Da(e,t,n,i,o){const l=e.providerIndexes,p=t.data,_=1048575&l,C=e.directiveStart,I=l>>20,oe=o?_+I:e.directiveEnd;for(let Se=i?_:_+I;Se<oe;Se++){const Ge=p[Se];if(Se<C&&n===Ge||Se>=C&&Ge.type===n)return Se}if(o){const Se=p[C];if(Se&&Rr(Se)&&Se.type===n)return C}return null}function Ma(e,t,n,i){let o=e[n];const l=t.data;if(function va(e){return e instanceof Yi}(o)){const p=o;p.resolving&&function on(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Qe(-200,`Circular dependency in DI detected for ${e}${n}`)}(Ft(l[n]));const _=Za(p.canSeeViewProviders);p.resolving=!0;const C=p.injectImpl?qe(p.injectImpl):null;Us(e,i,q.Default);try{o=e[n]=p.factory(void 0,l,e,i),t.firstCreatePass&&n>=i.directiveStart&&function gr(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:l}=t.type.prototype;if(i){const p=zi(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,p),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,p)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}(n,l[n],t)}finally{null!==C&&qe(C),Za(_),p.resolving=!1,Cn()}}return o}function Ws(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function qs(e,t){return!(e&q.Self||e&q.Host&&t)}class bs{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return bi(this._tNode,this._lView,t,i,n)}}function V(e){return jt(()=>{const t=e.prototype.constructor,n=t[bt]||wo(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const l=o[bt]||wo(o);if(l&&l!==n)return l;o=Object.getPrototypeOf(o)}return l=>new l})}function wo(e){return nn(e)?()=>{const t=wo(Xe(e));return t&&t()}:oi(e)}function Es(e){return function pi(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const l=n[o];if(ws(l))break;if(0===l)o+=2;else if("number"==typeof l)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(l===t)return n[o+1];o+=2}}}return null}(Tr(),e)}const On="__parameters__";function h(e,t,n){return jt(()=>{const i=function y(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...l){if(this instanceof o)return i.apply(this,l),this;const p=new o(...l);return _.annotation=p,_;function _(C,x,I){const j=C.hasOwnProperty(On)?C[On]:Object.defineProperty(C,On,{value:[]})[On];for(;j.length<=I;)j.push(null);return(j[I]=j[I]||[]).push(p),C}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class T{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Qn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const k=new T("AnalyzeForEntryComponents");function ui(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),ui(i,t)):t!==e&&t.push(i)}return t}function ts(e,t){e.forEach(n=>Array.isArray(n)?ts(n,t):t(n))}function cc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function io(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vl(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function bo(e,t,n){let i=Zs(e,t);return i>=0?e[1|i]=n:(i=~i,function Fd(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Cu(e,t){const n=Zs(e,t);if(n>=0)return e[1|n]}function Zs(e,t){return function Cl(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const l=i+(o-i>>1),p=e[l<<n];if(t===p)return l<<n;p>t?o=l:i=l+1}return~(o<<n)}(e,t,1)}const a={},m="__NG_DI_FLAG__",O="ngTempTokenPath",K=/\n/gm,Pe="__source",$e=_e({provide:String,useValue:_e});let ct;function Wt(e){const t=ct;return ct=e,t}function Pn(e,t=q.Default){if(void 0===ct)throw new Qe(203,"");return null===ct?mt(e,void 0,t):ct.get(e,t&q.Optional?null:void 0,t)}function Ut(e,t=q.Default){return(function ke(){return rt}()||Pn)(Xe(e),t)}const xn=Ut;function Xn(e){const t=[];for(let n=0;n<e.length;n++){const i=Xe(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Qe(900,"");let o,l=q.Default;for(let p=0;p<i.length;p++){const _=i[p],C=fr(_);"number"==typeof C?-1===C?o=_.token:l|=C:o=_}t.push(Ut(o,l))}else t.push(Ut(i))}return t}function Fr(e,t){return e[m]=t,e.prototype[m]=t,e}function fr(e){return e[m]}const ns=Fr(h("Inject",e=>({token:e})),-1),Ki=Fr(h("Optional"),8),so=Fr(h("SkipSelf"),4);let Qa,Du;function Vi(e){return function mi(){if(void 0===Qa&&(Qa=null,ue.trustedTypes))try{Qa=ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qa}()?.createHTML(e)||e}function Vd(e){return function Mu(){if(void 0===Du&&(Du=null,ue.trustedTypes))try{Du=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Du}()?.createHTML(e)||e}class Tu{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Go(e){return e instanceof Tu?e.changingThisBreaksApplicationSecurity:e}function bl(e,t){const n=function up(e){return e instanceof Tu&&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 Ud{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Vi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Fo{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 i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Vi(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Vi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const p=n.item(o).name;("xmlns:ns1"===p||0===p.indexOf("ns1:"))&&t.removeAttribute(p)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const _c=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Pu=/^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 Zl(e){return(e=String(e)).match(_c)||e.match(Pu)?e:"unsafe:"+e}function is(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ja(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const xu=is("area,br,col,hr,img,wbr"),Qs=is("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Hd=is("rp,rt"),Kl=Ja(xu,Ja(Qs,is("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")),Ja(Hd,is("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")),Ja(Hd,Qs)),yc=is("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vc=is("srcset"),Cc=Ja(yc,vc,is("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"),is("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")),pp=is("script,style,template");class jd{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Kl.hasOwnProperty(n))return this.sanitizedSomething=!0,!pp.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const l=i.item(o),p=l.name,_=p.toLowerCase();if(!Cc.hasOwnProperty(_)){this.sanitizedSomething=!0;continue}let C=l.value;yc[_]&&(C=Zl(C)),vc[_]&&(e=C,C=(e=String(e)).split(",").map(t=>Zl(t.trim())).join(", ")),this.buf.push(" ",p,'="',os(C),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Kl.hasOwnProperty(n)&&!xu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(os(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 $d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Do=/([^\#-~ |!])/g;function os(e){return e.replace(/&/g,"&").replace($d,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Do,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Au;function El(e){return"content"in e&&function Dl(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var di=(()=>((di=di||{})[di.NONE=0]="NONE",di[di.HTML=1]="HTML",di[di.STYLE=2]="STYLE",di[di.SCRIPT=3]="SCRIPT",di[di.URL=4]="URL",di[di.RESOURCE_URL=5]="RESOURCE_URL",di))();function wc(e){const t=tl();return t?Vd(t.sanitize(di.HTML,e)||""):bl(e,"HTML")?Vd(Go(e)):function gp(e,t){let n=null;try{Au=Au||function mc(e){const t=new Fo(e);return function Ta(){try{return!!(new window.DOMParser).parseFromString(Vi(""),"text/html")}catch{return!1}}()?new Ud(t):t}(e);let i=t?String(t):"";n=Au.getInertBodyElement(i);let o=5,l=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=l,l=n.innerHTML,n=Au.getInertBodyElement(i)}while(i!==l);return Vi((new jd).sanitizeChildren(El(n)||n))}finally{if(n){const i=El(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Ie(),yt(e))}function Iu(e){const t=tl();return t?t.sanitize(di.URL,e)||"":bl(e,"URL")?Go(e):Zl(yt(e))}function tl(){const e=et();return e&&e[12]}const Jl="__ngContext__";function Bi(e,t){e[Jl]=t}function Mc(e){const t=function nl(e){return e[Jl]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ml(e){return e.ngOriginalError}function _n(e,...t){e.error(...t)}class rl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function Sl(e){return e&&e.ngErrorLogger||_n}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ml(t);for(;n&&Ml(n);)n=Ml(n);return n||null}}const Xd=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(ue))();function $r(e){return e instanceof Function?e():e}var xs=(()=>((xs=xs||{})[xs.Important=1]="Important",xs[xs.DashCase=2]="DashCase",xs))();function Nu(e,t){return undefined(e,t)}function eu(e){const t=e[3];return qn(t)?t[3]:t}function ku(e){return af(e[13])}function Lu(e){return af(e[4])}function af(e){for(;null!==e&&!qn(e);)e=e[4];return e}function sl(e,t,n,i,o){if(null!=i){let l,p=!1;qn(i)?l=i:ti(i)&&(p=!0,i=i[0]);const _=cn(i);0===e&&null!==n?null==o?mf(t,n,_):ul(t,n,_,o||null,!0):1===e&&null!==n?ul(t,n,_,o||null,!0):2===e?function Mf(e,t,n){const i=tu(e,t);i&&function yf(e,t,n,i){ht(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,_,p):3===e&&t.destroyNode(_),null!=l&&function Tf(e,t,n,i,o){const l=n[7];l!==cn(n)&&sl(t,e,i,l,o);for(let _=10;_<n.length;_++){const C=n[_];nu(C[1],C,e,t,i,l)}}(t,e,l,n,o)}}function Bu(e,t,n){if(ht(e))return e.createElement(t,n);{const i=null!==n?function S(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===M?"http://www.w3.org/1998/MathML/":null}(n):null;return null===i?e.createElement(t):e.createElementNS(i,t)}}function ff(e,t){const n=e[9],i=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,vo(o,-1)),n.splice(i,1)}function Ac(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&ff(o,i),t>0&&(e[n-1][4]=i[4]);const l=io(e,10+t);!function Uu(e,t){nu(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const p=l[19];null!==p&&p.detachView(l[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function hf(e,t){if(!(256&t[2])){const n=t[11];ht(n)&&n.destroyNode&&nu(e,t,n,3,null,null),function ll(e){let t=e[13];if(!t)return Ic(e[1],e);for(;t;){let n=null;if(ti(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)ti(t)&&Ic(t[1],t),t=t[3];null===t&&(t=e),ti(t)&&Ic(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ic(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function Op(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof Yi)){const l=n[i+1];if(Array.isArray(l))for(let p=0;p<l.length;p+=2){const _=o[l[p]],C=l[p+1];try{C.call(_)}finally{}}else try{l.call(o)}finally{}}}}(e,t),function Pp(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let l=0;l<n.length-1;l+=2)if("string"==typeof n[l]){const p=n[l+1],_="function"==typeof p?p(t):cn(t[p]),C=i[o=n[l+2]],x=n[l+3];"boolean"==typeof x?_.removeEventListener(n[l],C,x):x>=0?i[o=x]():i[o=-x].unsubscribe(),l+=2}else{const p=i[o=n[l+1]];n[l].call(p)}if(null!==i){for(let l=o+1;l<i.length;l++)i[l]();t[7]=null}}(e,t),1===t[1].type&&ht(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&qn(t[3])){n!==t[3]&&ff(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function pf(e,t,n){return function gf(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const o=e.data[i.directiveStart].encapsulation;if(o===Rn.None||o===Rn.Emulated)return null}return dr(i,n)}(e,t.parent,n)}function ul(e,t,n,i,o){ht(e)?e.insertBefore(t,n,i,o):t.insertBefore(n,i,o)}function mf(e,t,n){ht(e)?e.appendChild(t,n):t.appendChild(n)}function _f(e,t,n,i,o){null!==i?ul(e,t,n,i,o):mf(e,t,n)}function tu(e,t){return ht(e)?e.parentNode(t):t.parentNode}function Cf(e,t,n){return bf(e,t,n)}let bf=function wf(e,t,n){return 40&e.type?dr(e,n):null};function ju(e,t,n,i){const o=pf(e,i,t),l=t[11],_=Cf(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let C=0;C<n.length;C++)_f(l,o,n[C],_,!1);else _f(l,o,n,_,!1)}function $u(e,t){if(null!==t){const n=t.type;if(3&n)return dr(t,e);if(4&n)return Rc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return $u(e,i);{const o=e[t.index];return qn(o)?Rc(-1,o):cn(o)}}if(32&n)return Nu(t,e)()||cn(e[t.index]);{const i=Df(e,t);return null!==i?Array.isArray(i)?i[0]:$u(eu(e[16]),i):$u(e,t.next)}}return null}function Df(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Rc(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return $u(i,o)}return t[7]}function So(e,t,n,i,o,l,p){for(;null!=n;){const _=i[n.index],C=n.type;if(p&&0===t&&(_&&Bi(cn(_),i),n.flags|=4),64!=(64&n.flags))if(8&C)So(e,t,n.child,i,o,l,!1),sl(t,e,o,_,l);else if(32&C){const x=Nu(n,i);let I;for(;I=x();)sl(t,e,o,I,l);sl(t,e,o,_,l)}else 16&C?Sf(e,t,i,n,o,l):sl(t,e,o,_,l);n=p?n.projectionNext:n.next}}function nu(e,t,n,i,o,l){So(n,i,e.firstChild,t,o,l,!1)}function Sf(e,t,n,i,o,l){const p=n[16],C=p[6].projection[i.projection];if(Array.isArray(C))for(let x=0;x<C.length;x++)sl(t,e,o,C[x],l);else So(e,t,C,p[3],o,l,!0)}function Pf(e,t,n){ht(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Fc(e,t,n){ht(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Of(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const l=t.length;if(o+l===i||e.charCodeAt(o+l)<=32)return o}n=o+1}}const Af="ng-template";function Ip(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==Of(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function If(e){return 4===e.type&&e.value!==Af}function Rp(e,t,n){return t===(4!==e.type||n?e.value:Af)}function Fp(e,t,n){let i=4;const o=e.attrs||[],l=function Lp(e){for(let t=0;t<e.length;t++)if(ws(e[t]))return t;return e.length}(o);let p=!1;for(let _=0;_<t.length;_++){const C=t[_];if("number"!=typeof C){if(!p)if(4&i){if(i=2|1&i,""!==C&&!Rp(e,C,n)||""===C&&1===t.length){if(ss(i))return!1;p=!0}}else{const x=8&i?C:t[++_];if(8&i&&null!==e.attrs){if(!Ip(e.attrs,x,n)){if(ss(i))return!1;p=!0}continue}const j=Np(8&i?"class":C,o,If(e),n);if(-1===j){if(ss(i))return!1;p=!0;continue}if(""!==x){let oe;oe=j>l?"":o[j+1].toLowerCase();const Se=8&i?oe:null;if(Se&&-1!==Of(Se,x,0)||2&i&&x!==oe){if(ss(i))return!1;p=!0}}}}else{if(!p&&!ss(i)&&!ss(C))return!1;if(p&&ss(C))continue;p=!1,i=C|1&i}}return ss(i)||p}function ss(e){return 0==(1&e)}function Np(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let l=!1;for(;o<t.length;){const p=t[o];if(p===e)return o;if(3===p||6===p)l=!0;else{if(1===p||2===p){let _=t[++o];for(;"string"==typeof _;)_=t[++o];continue}if(4===p)break;if(0===p){o+=4;continue}}o+=l?1:2}return-1}return function Vp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Rf(e,t,n=!1){for(let i=0;i<t.length;i++)if(Fp(e,t[i],n))return!0;return!1}function Bp(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function Ff(e,t){return e?":not("+t.trim()+")":t}function Up(e){let t=e[0],n=1,i=2,o="",l=!1;for(;n<e.length;){let p=e[n];if("string"==typeof p)if(2&i){const _=e[++n];o+="["+p+(_.length>0?'="'+_+'"':"")+"]"}else 8&i?o+="."+p:4&i&&(o+=" "+p);else""!==o&&!ss(p)&&(t+=Ff(l,o),o=""),i=p,l=l||!ss(i);n++}return""!==o&&(t+=Ff(l,o)),t}const Fn={};function Nf(e){kf(An(),et(),ai()+e,!1)}function kf(e,t,n,i){if(!i)if(3==(3&t[2])){const l=e.preOrderCheckHooks;null!==l&&_a(t,l,n)}else{const l=e.preOrderHooks;null!==l&&jo(t,l,0,n)}Ho(n)}function Tl(e,t){return e<<17|t<<2}function zo(e){return e>>17&32767}function Nc(e){return 2|e}function ea(e){return(131068&e)>>2}function kc(e,t){return-131069&e|t<<2}function Lc(e){return 1|e}function qc(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],l=n[i+1];if(-1!==l){const p=e.data[l];pa(o),p.contentQueries(2,t[l],l)}}}function iu(e,t,n,i,o,l,p,_,C,x){const I=t.blueprint.slice();return I[0]=o,I[2]=140|i,Wi(I),I[3]=I[15]=e,I[8]=n,I[10]=p||e&&e[10],I[11]=_||e&&e[11],I[12]=C||e&&e[12]||null,I[9]=x||e&&e[9]||null,I[6]=l,I[16]=2==t.type?e[16]:I,I}function Pl(e,t,n,i,o){let l=e.data[t];if(null===l)l=function Yc(e,t,n,i,o){const l=gl(),p=fa(),C=e.data[t]=function eg(e,t,n,i,o,l){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:l,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,p?l:l&&l.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=C),null!==l&&(p?null==l.child&&null!==C.parent&&(l.child=C):null===l.next&&(l.next=C)),C}(e,t,n,i,o),function Ua(){return dn.lFrame.inI18n}()&&(l.flags|=64);else if(64&l.type){l.type=n,l.value=i,l.attrs=o;const p=function Ls(){const e=dn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();l.injectorIndex=null===p?-1:p.injectorIndex}return wi(l,!0),l}function ta(e,t,n,i){if(0===n)return-1;const o=t.length;for(let l=0;l<n;l++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function xa(e,t,n){ye(t);try{const i=e.viewQuery;null!==i&&Zu(1,i,n);const o=e.template;null!==o&&qu(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&qc(e,t),e.staticViewQueries&&Zu(2,e.viewQuery,n);const l=e.components;null!==l&&function Yf(e,t){for(let n=0;n<t.length;n++)cg(e,t[n])}(t,l)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Jn()}}function Ol(e,t,n,i){const o=t[2];if(256!=(256&o)){ye(t);try{Wi(t),function ms(e){return dn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&qu(e,t,n,2,i);const p=3==(3&o);if(p){const x=e.preOrderCheckHooks;null!==x&&_a(t,x,null)}else{const x=e.preOrderHooks;null!==x&&jo(t,x,0,null),ya(t,0)}if(function oh(e){for(let t=ku(e);null!==t;t=Lu(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],l=o[3];0==(1024&o[2])&&vo(l,1),o[2]|=1024}}}(t),function ug(e){for(let t=ku(e);null!==t;t=Lu(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];xt(i)&&Ol(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&qc(e,t),p){const x=e.contentCheckHooks;null!==x&&_a(t,x)}else{const x=e.contentHooks;null!==x&&jo(t,x,1),ya(t,1)}!function Wf(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)Ho(~o);else{const l=o,p=n[++i],_=n[++i];qi(p,l),_(2,t[l])}}}finally{Ho(-1)}}(e,t);const _=e.components;null!==_&&function qf(e,t){for(let n=0;n<t.length;n++)su(e,t[n])}(t,_);const C=e.viewQuery;if(null!==C&&Zu(2,C,i),p){const x=e.viewCheckHooks;null!==x&&_a(t,x)}else{const x=e.viewHooks;null!==x&&jo(t,x,2),ya(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,vo(t[3],-1))}finally{Jn()}}}function Jp(e,t,n,i){const o=t[10],p=Ve(t);try{!p&&o.begin&&o.begin(),p&&xa(e,t,i),Ol(e,t,n,i)}finally{!p&&o.end&&o.end()}}function qu(e,t,n,i,o){const l=ai(),p=2&i;try{Ho(-1),p&&t.length>20&&kf(e,t,20,!1),n(i,o)}finally{Ho(l)}}function Zc(e,t,n){if(qr(t)){const o=t.directiveEnd;for(let l=t.directiveStart;l<o;l++){const p=e.data[l];p.contentQueries&&p.contentQueries(1,n[l],l)}}}function Kc(e,t,n){!ri()||(function og(e,t,n,i){const o=n.directiveStart,l=n.directiveEnd;e.firstCreatePass||zs(n,t),Bi(i,t);const p=n.initialInputs;for(let _=o;_<l;_++){const C=e.data[_],x=Rr(C);x&&ii(t,n,C);const I=Ma(t,e,_,n);Bi(I,t),null!==p&&ag(0,_-o,I,C,0,p),x&&(N(n.index,t)[8]=I)}}(e,t,n,dr(n,t)),128==(128&n.flags)&&function sg(e,t,n){const i=n.directiveStart,o=n.directiveEnd,p=n.index,_=function Bs(){return dn.lFrame.currentDirectiveIndex}();try{Ho(p);for(let C=i;C<o;C++){const x=e.data[C],I=t[C];Ha(C),(null!==x.hostBindings||0!==x.hostVars||null!==x.hostAttrs)&&th(x,I)}}finally{Ho(-1),Ha(_)}}(e,t,n))}function Qc(e,t,n=dr){const i=t.localNames;if(null!==i){let o=t.index+1;for(let l=0;l<i.length;l+=2){const p=i[l+1],_=-1===p?n(t,e):e[p];e[o++]=_}}}function Zf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Yu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Yu(e,t,n,i,o,l,p,_,C,x){const I=20+i,j=I+o,oe=function Xp(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Fn);return n}(I,j),Se="function"==typeof x?x():x;return oe[1]={type:e,blueprint:oe,template:n,queries:null,viewQuery:_,declTNode:t,data:oe.slice().fill(null,I),bindingStartIndex:I,expandoStartIndex:j,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 l?l():l,pipeRegistry:"function"==typeof p?p():p,firstChild:null,schemas:C,consts:Se,incompleteFirstPass:!1}}function Jf(e,t,n,i){const o=nd(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&ko(e).push(i,o.length-1))}function Xf(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const o=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,o):n[i]=[t,o]}return n}function No(e,t,n,i,o,l,p,_){const C=dr(t,n);let I,x=t.inputs;!_&&null!=x&&(I=x[i])?(Cr(e,n,I,i,o),kr(t)&&function ng(e,t){const n=N(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function as(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=p?p(o,t.value||"",i):o,ht(l)?l.setProperty(C,i,o):Wa(i)||(C.setProperty?C.setProperty(i,o):C[i]=o))}function Is(e,t,n,i){let o=!1;if(ri()){const l=function Jc(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let l=0;l<i.length;l++){const p=i[l];Rf(n,p.selectors,!1)&&(o||(o=[]),mr(zs(n,t),e,p.type),Rr(p)?(nh(e,n),o.unshift(p)):o.push(p))}return o}(e,t,n),p=null===i?null:{"":-1};if(null!==l){o=!0,ou(n,e.data.length,l.length);for(let I=0;I<l.length;I++){const j=l[I];j.providersResolver&&j.providersResolver(j)}let _=!1,C=!1,x=ta(e,t,l.length,null);for(let I=0;I<l.length;I++){const j=l[I];n.mergedAttrs=qa(n.mergedAttrs,j.hostAttrs),Gr(e,n,t,x,j),rh(x,j,p),null!==j.contentQueries&&(n.flags|=8),(null!==j.hostBindings||null!==j.hostAttrs||0!==j.hostVars)&&(n.flags|=128);const oe=j.type.prototype;!_&&(oe.ngOnChanges||oe.ngOnInit||oe.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),_=!0),!C&&(oe.ngOnChanges||oe.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),C=!0),x++}!function tg(e,t){const i=t.directiveEnd,o=e.data,l=t.attrs,p=[];let _=null,C=null;for(let x=t.directiveStart;x<i;x++){const I=o[x],j=I.inputs,oe=null===l||If(t)?null:lg(j,l);p.push(oe),_=Xf(j,x,_),C=Xf(I.outputs,x,C)}null!==_&&(_.hasOwnProperty("class")&&(t.flags|=16),_.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=p,t.inputs=_,t.outputs=C}(e,n)}p&&function na(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const l=n[t[o+1]];if(null==l)throw new Qe(-301,!1);i.push(t[o],l)}}}(n,i,p)}return n.mergedAttrs=qa(n.mergedAttrs,n.attrs),o}function eh(e,t,n,i,o,l){const p=l.hostBindings;if(p){let _=e.hostBindingOpCodes;null===_&&(_=e.hostBindingOpCodes=[]);const C=~t.index;(function ig(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(_)!=C&&_.push(C),_.push(i,o,p)}}function th(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function nh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function rh(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Rr(t)&&(n[""]=e)}}function ou(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Gr(e,t,n,i,o){e.data[i]=o;const l=o.factory||(o.factory=oi(o.type)),p=new Yi(l,Rr(o),null);e.blueprint[i]=p,n[i]=p,eh(e,t,0,i,ta(e,n,o.hostVars,Fn),o)}function ii(e,t,n){const i=dr(t,e),o=Zf(n),l=e[10],p=fl(e,iu(e,o,null,n.onPush?64:16,i,t,l,l.createRenderer(i,n),null,null));e[t.index]=p}function ls(e,t,n,i,o,l){const p=dr(e,t);!function Xc(e,t,n,i,o,l,p){if(null==l)ht(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const _=null==p?yt(l):p(l,i||"",o);ht(e)?e.setAttribute(t,o,_,n):n?t.setAttributeNS(n,o,_):t.setAttribute(o,_)}}(t[11],p,l,e.value,n,i,o)}function ag(e,t,n,i,o,l){const p=l[t];if(null!==p){const _=i.setInput;for(let C=0;C<p.length;){const x=p[C++],I=p[C++],j=p[C++];null!==_?i.setInput(n,j,x,I):n[I]=j}}}function lg(e,t){let n=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[i+1])),i+=2}else i+=2;else i+=4}return n}function ih(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function su(e,t){const n=N(t,e);if(xt(n)){const i=n[1];80&n[2]?Ol(i,n,i.template,n[8]):n[5]>0&&au(n)}}function au(e){for(let i=ku(e);null!==i;i=Lu(i))for(let o=10;o<i.length;o++){const l=i[o];if(1024&l[2]){const p=l[1];Ol(p,l,p.template,l[8])}else l[5]>0&&au(l)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=N(n[i],e);xt(o)&&o[5]>0&&au(o)}}function cg(e,t){const n=N(t,e),i=n[1];(function sh(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),xa(i,n,n[8])}function fl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function uo(e){for(;e;){e[2]|=64;const t=eu(e);if(po(e)&&!t)return e;e=t}return null}function ah(e){!function ed(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=Mc(n),o=i[1];Jp(o,i,o.template,n)}}(e[8])}function Zu(e,t,n){pa(0),t(e,n)}const $n=(()=>Promise.resolve(null))();function nd(e){return e[7]||(e[7]=[])}function ko(e){return e.cleanup||(e.cleanup=[])}function lh(e,t){const n=e[9],i=n?n.get(rl,null):null;i&&i.handleError(t)}function Cr(e,t,n,i,o){for(let l=0;l<n.length;){const p=n[l++],_=n[l++],C=t[p],x=e.data[p];null!==x.setInput?x.setInput(C,o,i,_):C[_]=o}}function ra(e,t,n){const i=Vn(t,e);!function Vu(e,t,n){ht(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function lu(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,l=0;if(null!==t)for(let p=0;p<t.length;p++){const _=t[p];"number"==typeof _?l=_:1==l?o=Ae(o,_):2==l&&(i=Ae(i,_+": "+t[++p]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}const id=new T("INJECTOR",-1);class uh{get(t,n=a){if(n===a){const i=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw i.name="NullInjectorError",i}return n}}const od=new T("Set Injector scope."),uu={},fg={};let sd;function ch(){return void 0===sd&&(sd=new uh),sd}function dh(e,t=null,n=null,i){const o=fh(e,t,n,i);return o._resolveInjectorDefTypes(),o}function fh(e,t=null,n=null,i){return new hg(e,n,t||ch(),i)}class hg{constructor(t,n,i,o=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const l=[];n&&ts(n,_=>this.processProvider(_,t,n)),ts([t],_=>this.processInjectorType(_,[],l)),this.records.set(id,Al(void 0,this));const p=this.records.get(od);this.scope=null!=p?p.value:null,this.source=o||("object"==typeof t?null:ie(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=a,i=q.Default){this.assertNotDestroyed();const o=Wt(this),l=qe(void 0);try{if(!(i&q.SkipSelf)){let _=this.records.get(t);if(void 0===_){const C=function ph(e){return"function"==typeof e||"object"==typeof e&&e instanceof T}(t)&&Fi(t);_=C&&this.injectableDefInScope(C)?Al(ad(t),uu):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(i&q.Self?ch():this.parent).get(t,n=i&q.Optional&&n===a?null:n)}catch(p){if("NullInjectorError"===p.name){if((p[O]=p[O]||[]).unshift(ie(t)),o)throw p;return function Ei(e,t,n,i){const o=e[O];throw t[Pe]&&o.unshift(t[Pe]),e.message=function Di(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=ie(t);if(Array.isArray(t))o=t.map(ie).join(" -> ");else if("object"==typeof t){let l=[];for(let p in t)if(t.hasOwnProperty(p)){let _=t[p];l.push(p+":"+("string"==typeof _?JSON.stringify(_):ie(_)))}o=`{${l.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(K,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[O]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{qe(l),Wt(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,o)=>t.push(ie(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Qe(205,!1)}processInjectorType(t,n,i){if(!(t=Xe(t)))return!1;let o=Nr(t);const l=null==o&&t.ngModule||void 0,p=void 0===l?t:l,_=-1!==i.indexOf(p);if(void 0!==l&&(o=Nr(l)),null==o)return!1;if(null!=o.imports&&!_){let I;i.push(p);try{ts(o.imports,j=>{this.processInjectorType(j,n,i)&&(void 0===I&&(I=[]),I.push(j))})}finally{}if(void 0!==I)for(let j=0;j<I.length;j++){const{ngModule:oe,providers:Se}=I[j];ts(Se,Ge=>this.processProvider(Ge,oe,Se||Ze))}}this.injectorDefTypes.add(p);const C=oi(p)||(()=>new p);this.records.set(p,Al(C,uu));const x=o.providers;if(null!=x&&!_){const I=t;ts(x,j=>this.processProvider(j,I,x))}return void 0!==l&&void 0!==t.providers}processProvider(t,n,i){let o=Mi(t=Xe(t))?t:Xe(t&&t.provide);const l=function pg(e,t,n){return hh(e)?Al(void 0,e.useValue):Al(Qu(e),uu)}(t);if(Mi(t)||!0!==t.multi)this.records.get(o);else{let p=this.records.get(o);p||(p=Al(void 0,uu,!0),p.factory=()=>Xn(p.multi),this.records.set(o,p)),o=t,p.multi.push(t)}this.records.set(o,l)}hydrate(t,n){return n.value===uu&&(n.value=fg,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yg(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=Xe(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ad(e){const t=Fi(e),n=null!==t?t.factory:oi(e);if(null!==n)return n;if(e instanceof T)throw new Qe(204,!1);if(e instanceof Function)return function ld(e){const t=e.length;if(t>0)throw vl(t,"?"),new Qe(204,!1);const n=function eo(e){const t=e&&(e[Mr]||e[We]);if(t){const n=function Dr(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 Qe(204,!1)}function Qu(e,t,n){let i;if(Mi(e)){const o=Xe(e);return oi(o)||ad(o)}if(hh(e))i=()=>Xe(e.useValue);else if(function Ri(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Xn(e.deps||[]));else if(function gg(e){return!(!e||!e.useExisting)}(e))i=()=>Ut(Xe(e.useExisting));else{const o=Xe(e&&(e.useClass||e.provide));if(!function _g(e){return!!e.deps}(e))return oi(o)||ad(o);i=()=>new o(...Xn(e.deps))}return i}function Al(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hh(e){return null!==e&&"object"==typeof e&&$e in e}function Mi(e){return"function"==typeof e}let Rs=(()=>{class e{static create(n,i){if(Array.isArray(n))return dh({name:""},i,n,"");{const o=n.name??"";return dh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=a,e.NULL=new uh,e.\u0275prov=Qn({token:e,providedIn:"any",factory:()=>Ut(id)}),e.__NG_ELEMENT_ID__=-1,e})();function Eg(e,t){js(Mc(e)[1],Tr())}function pd(e){let t=function Mh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(Rr(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Qe(903,"");o=t.\u0275dir}if(o){if(n){i.push(o);const p=e;p.inputs=gd(e.inputs),p.declaredInputs=gd(e.declaredInputs),p.outputs=gd(e.outputs);const _=o.hostBindings;_&&Tg(e,_);const C=o.viewQuery,x=o.contentQueries;if(C&&Mg(e,C),x&&Sg(e,x),z(e.inputs,o.inputs),z(e.declaredInputs,o.declaredInputs),z(e.outputs,o.outputs),Rr(o)&&o.data.animation){const I=e.data;I.animation=(I.animation||[]).concat(o.data.animation)}}const l=o.features;if(l)for(let p=0;p<l.length;p++){const _=l[p];_&&_.ngInherit&&_(e),_===pd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Dg(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=qa(o.hostAttrs,n=qa(n,o.hostAttrs))}}(i)}function gd(e){return e===je?{}:e===Ze?[]:e}function Mg(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function Sg(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,l)=>{t(i,o,l),n(i,o,l)}:t}function Tg(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let Ju=null;function Rl(){if(!Ju){const e=ue.Symbol;if(e&&e.iterator)Ju=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Ju=i)}}}return Ju}function cu(e){return!!du(e)&&(Array.isArray(e)||!(e instanceof Map)&&Rl()in e)}function du(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function cs(e,t,n){return e[t]=n}function Ji(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function hl(e,t,n,i){const o=Ji(e,t,n);return Ji(e,t+1,i)||o}function md(e,t,n,i){const o=et();return Ji(o,_s(),t)&&(An(),ls(nr(),o,e,t,n,i)),md}function kl(e,t,n,i){return Ji(e,_s(),n)?t+yt(n)+i:Fn}function Si(e,t,n,i,o,l){const _=hl(e,function Zr(){return dn.lFrame.bindingIndex}(),n,o);return Co(2),_?t+yt(n)+i+yt(o)+l:Fn}function tc(e,t,n,i,o,l,p,_){const C=et(),x=An(),I=e+20,j=x.firstCreatePass?function Fg(e,t,n,i,o,l,p,_,C){const x=t.consts,I=Pl(t,e,4,p||null,Yr(x,_));Is(t,n,I,Yr(x,C)),js(t,I);const j=I.tViews=Yu(2,I,i,o,l,t.directiveRegistry,t.pipeRegistry,null,t.schemas,x);return null!==t.queries&&(t.queries.template(t,I),j.queries=t.queries.embeddedTView(I)),I}(I,x,C,t,n,i,o,l,p):x.data[I];wi(j,!1);const oe=C[11].createComment("");ju(x,C,oe,j),Bi(oe,C),fl(C,C[I]=ih(oe,C,oe,j)),Ni(j)&&Kc(x,C,j),null!=p&&Qc(C,j,_)}function Rh(e){return function E(e,t){return e[t]}(function ml(){return dn.lFrame.contextLView}(),20+e)}function Br(e,t=q.Default){const n=et();return null===n?Ut(e,t):bi(Tr(),n,Xe(e),t)}function qo(){throw new Error("invalid")}function ds(e,t,n){const i=et();return Ji(i,_s(),t)&&No(An(),nr(),i,e,t,i[11],n,!1),ds}function nc(e,t,n,i,o){const p=o?"class":"style";Cr(e,n,t.inputs[p],p,i)}function Vh(e,t,n,i){const o=et(),l=An(),p=20+e,_=o[11],C=o[p]=Bu(_,t,function ma(){return dn.lFrame.currentNamespace}()),x=l.firstCreatePass?function wC(e,t,n,i,o,l,p){const _=t.consts,x=Pl(t,e,2,o,Yr(_,l));return Is(t,n,x,Yr(_,p)),null!==x.attrs&&lu(x,x.attrs,!1),null!==x.mergedAttrs&&lu(x,x.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,x),x}(p,l,o,0,t,n,i):l.data[p];wi(x,!0);const I=x.mergedAttrs;null!==I&&ro(_,C,I);const j=x.classes;null!==j&&Fc(_,C,j);const oe=x.styles;return null!==oe&&Pf(_,C,oe),64!=(64&x.flags)&&ju(l,o,C,x),0===function pl(){return dn.lFrame.elementDepthCount}()&&Bi(C,o),function ca(){dn.lFrame.elementDepthCount++}(),Ni(x)&&(Kc(l,o,x),Zc(l,x,o)),null!==i&&Qc(o,x),Vh}function Bh(){let e=Tr();fa()?Vs():(e=e.parent,wi(e,!1));const t=e;!function fi(){dn.lFrame.elementDepthCount--}();const n=An();return n.firstCreatePass&&(js(n,e),qr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function wa(e){return 0!=(16&e.flags)}(t)&&nc(n,t,et(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ga(e){return 0!=(32&e.flags)}(t)&&nc(n,t,et(),t.stylesWithoutHost,!1),Bh}function Gg(e,t,n,i){return Vh(e,t,n,i),Bh(),Gg}function Uh(e,t,n){const i=et(),o=An(),l=e+20,p=o.firstCreatePass?function bC(e,t,n,i,o){const l=t.consts,p=Yr(l,i),_=Pl(t,e,8,"ng-container",p);return null!==p&&lu(_,p,!0),Is(t,n,_,Yr(l,o)),null!==t.queries&&t.queries.elementStart(t,_),_}(l,o,i,t,n):o.data[l];wi(p,!0);const _=i[l]=i[11].createComment("");return ju(o,i,_,p),Bi(_,i),Ni(p)&&(Kc(o,i,p),Zc(o,p,i)),null!=n&&Qc(i,p),Uh}function Hh(){let e=Tr();const t=An();return fa()?Vs():(e=e.parent,wi(e,!1)),t.firstCreatePass&&(js(t,e),qr(e)&&t.queries.elementEnd(e)),Hh}function zg(e,t,n){return Uh(e,t,n),Hh(),zg}function x_(){return et()}function Wg(e){return!!e&&"function"==typeof e.then}function A_(e){return!!e&&"function"==typeof e.subscribe}const I_=A_;function qg(e,t,n,i){const o=et(),l=An(),p=Tr();return function F_(e,t,n,i,o,l,p,_){const C=Ni(i),I=e.firstCreatePass&&ko(e),j=t[8],oe=nd(t);let Se=!0;if(3&i.type||_){const wt=dr(i,t),Ht=_?_(wt):wt,nt=oe.length,fn=_?lr=>_(cn(lr[i.index])):i.index;if(ht(n)){let lr=null;if(!_&&C&&(lr=function EC(e,t,n,i){const o=e.cleanup;if(null!=o)for(let l=0;l<o.length-1;l+=2){const p=o[l];if(p===n&&o[l+1]===i){const _=t[7],C=o[l+2];return _.length>C?_[C]:null}"string"==typeof p&&(l+=2)}return null}(e,t,o,i.index)),null!==lr)(lr.__ngLastListenerFn__||lr).__ngNextListenerFn__=l,lr.__ngLastListenerFn__=l,Se=!1;else{l=Yg(i,t,j,l,!1);const Er=n.listen(Ht,o,l);oe.push(l,Er),I&&I.push(o,fn,nt,nt+1)}}else l=Yg(i,t,j,l,!0),Ht.addEventListener(o,l,p),oe.push(l),I&&I.push(o,fn,nt,p)}else l=Yg(i,t,j,l,!1);const Ge=i.outputs;let ft;if(Se&&null!==Ge&&(ft=Ge[o])){const wt=ft.length;if(wt)for(let Ht=0;Ht<wt;Ht+=2){const fs=t[ft[Ht]][ft[Ht+1]].subscribe(l),pu=oe.length;oe.push(l,fs),I&&I.push(o,i.index,pu,-(pu+1))}}}(l,o,o[11],p,e,t,!!n,i),qg}function N_(e,t,n,i){try{return!1!==n(i)}catch(o){return lh(e,o),!1}}function Yg(e,t,n,i,o){return function l(p){if(p===Function)return i;const _=2&e.flags?N(e.index,t):t;0==(32&t[2])&&uo(_);let C=N_(t,0,i,p),x=l.__ngNextListenerFn__;for(;x;)C=N_(t,0,x,p)&&C,x=x.__ngNextListenerFn__;return o&&!1===C&&(p.preventDefault(),p.returnValue=!1),C}}function k_(e=1){return function Kr(e){return(dn.lFrame.contextLView=function vr(e,t){for(;e>0;)t=t[15],e--;return t}(e,dn.lFrame.contextLView))[8]}(e)}function DC(e,t){let n=null;const i=function kp(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 o=0;o<t.length;o++){const l=t[o];if("*"!==l){if(null===i?Rf(e,l,!0):Bp(i,l))return o}else n=o}return n}function L_(e){const t=et()[16][6];if(!t.projection){const i=t.projection=vl(e?e.length:1,null),o=i.slice();let l=t.child;for(;null!==l;){const p=e?DC(l,e):0;null!==p&&(o[p]?o[p].projectionNext=l:i[p]=l,o[p]=l),l=l.next}}}function V_(e,t=0,n){const i=et(),o=An(),l=Pl(o,20+e,16,null,n||null);null===l.projection&&(l.projection=t),Vs(),64!=(64&l.flags)&&function xp(e,t,n){Sf(t[11],0,t,n,pf(e,n,t),Cf(n.parent||t[6],n,t))}(o,i,l)}function Zg(e,t,n){return jh(e,"",t,"",n),Zg}function jh(e,t,n,i,o){const l=et(),p=kl(l,t,n,i);return p!==Fn&&No(An(),nr(),l,e,p,l[11],o,!1),jh}function Kg(e,t,n,i,o,l,p){const _=et(),C=Si(_,t,n,i,o,l);return C!==Fn&&No(An(),nr(),_,e,C,_[11],p,!1),Kg}function W_(e,t,n,i,o){const l=e[n+1],p=null===t;let _=i?zo(l):ea(l),C=!1;for(;0!==_&&(!1===C||p);){const I=e[_+1];TC(e[_],t)&&(C=!0,e[_+1]=i?Lc(I):Nc(I)),_=i?zo(I):ea(I)}C&&(e[n+1]=i?Nc(l):Lc(l))}function TC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Zs(e,t)>=0}const Hi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function q_(e){return e.substring(Hi.key,Hi.keyEnd)}function Y_(e,t){const n=Hi.textEnd;return n===t?-1:(t=Hi.keyEnd=function AC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Hi.key=t,n),rc(e,t,n))}function rc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Qg(e,t){return function ia(e,t,n,i){const o=et(),l=An(),p=Co(2);l.firstUpdatePass&&ny(l,e,p,i),t!==Fn&&Ji(o,p,t)&&iy(l,l.data[ai()],o,o[11],e,o[p+1]=function HC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ie(Go(e)))),e}(t,n),i,p)}(e,t,null,!0),Qg}function ey(e){oa(bo,Na,e,!0)}function Na(e,t){for(let n=function OC(e){return function K_(e){Hi.key=0,Hi.keyEnd=0,Hi.value=0,Hi.valueEnd=0,Hi.textEnd=e.length}(e),Y_(e,rc(e,0,Hi.textEnd))}(t);n>=0;n=Y_(t,n))bo(e,q_(t),!0)}function oa(e,t,n,i){const o=An(),l=Co(2);o.firstUpdatePass&&ny(o,null,l,i);const p=et();if(n!==Fn&&Ji(p,l,n)){const _=o.data[ai()];if(sy(_,i)&&!ty(o,l)){let C=i?_.classesWithoutHost:_.stylesWithoutHost;null!==C&&(n=Ae(C,n||"")),nc(o,_,p,n,i)}else!function UC(e,t,n,i,o,l,p,_){o===Fn&&(o=Ze);let C=0,x=0,I=0<o.length?o[0]:null,j=0<l.length?l[0]:null;for(;null!==I||null!==j;){const oe=C<o.length?o[C+1]:void 0,Se=x<l.length?l[x+1]:void 0;let ft,Ge=null;I===j?(C+=2,x+=2,oe!==Se&&(Ge=j,ft=Se)):null===j||null!==I&&I<j?(C+=2,Ge=I):(x+=2,Ge=j,ft=Se),null!==Ge&&iy(e,t,n,i,Ge,ft,p,_),I=C<o.length?o[C]:null,j=x<l.length?l[x]:null}}(o,_,p,p[11],p[l+1],p[l+1]=function BC(e,t,n){if(null==n||""===n)return Ze;const i=[],o=Go(n);if(Array.isArray(o))for(let l=0;l<o.length;l++)e(i,o[l],!0);else if("object"==typeof o)for(const l in o)o.hasOwnProperty(l)&&e(i,l,o[l]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,l)}}function ty(e,t){return t>=e.expandoStartIndex}function ny(e,t,n,i){const o=e.data;if(null===o[n+1]){const l=o[ai()],p=ty(e,n);sy(l,i)&&null===t&&!p&&(t=!1),t=function NC(e,t,n,i){const o=function ja(e){const t=dn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let l=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=wd(n=Jg(null,e,t,n,i),t.attrs,i),l=null);else{const p=t.directiveStylingLast;if(-1===p||e[p]!==o)if(n=Jg(o,e,t,n,i),null===l){let C=function kC(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==ea(i))return e[zo(i)]}(e,t,i);void 0!==C&&Array.isArray(C)&&(C=Jg(null,e,t,C[1],i),C=wd(C,t.attrs,i),function LC(e,t,n,i){e[zo(n?t.classBindings:t.styleBindings)]=i}(e,t,i,C))}else l=function VC(e,t,n){let i;const o=t.directiveEnd;for(let l=1+t.directiveStylingLast;l<o;l++)i=wd(i,e[l].hostAttrs,n);return wd(i,t.attrs,n)}(e,t,i)}return void 0!==l&&(i?t.residualClasses=l:t.residualStyles=l),n}(o,l,t,i),function MC(e,t,n,i,o,l){let p=l?t.classBindings:t.styleBindings,_=zo(p),C=ea(p);e[i]=n;let I,x=!1;if(Array.isArray(n)){const j=n;I=j[1],(null===I||Zs(j,I)>0)&&(x=!0)}else I=n;if(o)if(0!==C){const oe=zo(e[_+1]);e[i+1]=Tl(oe,_),0!==oe&&(e[oe+1]=kc(e[oe+1],i)),e[_+1]=function $p(e,t){return 131071&e|t<<17}(e[_+1],i)}else e[i+1]=Tl(_,0),0!==_&&(e[_+1]=kc(e[_+1],i)),_=i;else e[i+1]=Tl(C,0),0===_?_=i:e[C+1]=kc(e[C+1],i),C=i;x&&(e[i+1]=Nc(e[i+1])),W_(e,I,i,!0),W_(e,I,i,!1),function SC(e,t,n,i,o){const l=o?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&Zs(l,t)>=0&&(n[i+1]=Lc(n[i+1]))}(t,I,e,i,l),p=Tl(_,C),l?t.classBindings=p:t.styleBindings=p}(o,l,t,n,p,i)}}function Jg(e,t,n,i,o){let l=null;const p=n.directiveEnd;let _=n.directiveStylingLast;for(-1===_?_=n.directiveStart:_++;_<p&&(l=t[_],i=wd(i,l.hostAttrs,o),l!==e);)_++;return null!==e&&(n.directiveStylingLast=_),i}function wd(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let l=0;l<t.length;l++){const p=t[l];"number"==typeof p?o=p:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),bo(e,p,!!n||t[++l]))}return void 0===e?null:e}function iy(e,t,n,i,o,l,p,_){if(!(3&t.type))return;const C=e.data,x=C[_+1];$h(function Bf(e){return 1==(1&e)}(x)?oy(C,t,n,o,ea(x),p):void 0)||($h(l)||function Vf(e){return 2==(2&e)}(x)&&(l=oy(C,null,n,o,_,p)),function Ap(e,t,n,i,o){const l=ht(e);if(t)o?l?e.addClass(n,i):n.classList.add(i):l?e.removeClass(n,i):n.classList.remove(i);else{let p=-1===i.indexOf("-")?void 0:xs.DashCase;if(null==o)l?e.removeStyle(n,i,p):n.style.removeProperty(i);else{const _="string"==typeof o&&o.endsWith("!important");_&&(o=o.slice(0,-10),p|=xs.Important),l?e.setStyle(n,i,o,p):n.style.setProperty(i,o,_?"important":"")}}}(i,p,Vn(ai(),n),o,l))}function oy(e,t,n,i,o,l){const p=null===t;let _;for(;o>0;){const C=e[o],x=Array.isArray(C),I=x?C[1]:C,j=null===I;let oe=n[o+1];oe===Fn&&(oe=j?Ze:void 0);let Se=j?Cu(oe,i):I===i?oe:void 0;if(x&&!$h(Se)&&(Se=Cu(C,i)),$h(Se)&&(_=Se,p))return _;const Ge=e[o+1];o=p?zo(Ge):ea(Ge)}if(null!==t){let C=l?t.residualClasses:t.residualStyles;null!=C&&(_=Cu(C,i))}return _}function $h(e){return void 0!==e}function sy(e,t){return 0!=(e.flags&(t?16:32))}function ay(e,t=""){const n=et(),i=An(),o=e+20,l=i.firstCreatePass?Pl(i,o,1,t,null):i.data[o],p=n[o]=function al(e,t){return ht(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ju(i,n,p,l),wi(l,!1)}function Xg(e){return Gh("",e,""),Xg}function Gh(e,t,n){const i=et(),o=kl(i,e,t,n);return o!==Fn&&ra(i,ai(),o),Gh}function my(e,t,n){oa(bo,Na,kl(et(),e,t,n),!0)}const fu=void 0;var a0=["en",[["a","p"],["AM","PM"],fu],[["AM","PM"],fu,fu],[["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"]],fu,[["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"]],fu,[["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}",fu,"{1} 'at' {0}",fu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function s0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ic={};function em(e){const t=function l0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Oy(t);if(n)return n;const i=t.split("-")[0];if(n=Oy(i),n)return n;if("en"===i)return a0;throw new Error(`Missing locale data for the locale "${e}".`)}function Py(e){return em(e)[En.PluralCase]}function Oy(e){return e in ic||(ic[e]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[e]),ic[e]}var En=(()=>((En=En||{})[En.LocaleId=0]="LocaleId",En[En.DayPeriodsFormat=1]="DayPeriodsFormat",En[En.DayPeriodsStandalone=2]="DayPeriodsStandalone",En[En.DaysFormat=3]="DaysFormat",En[En.DaysStandalone=4]="DaysStandalone",En[En.MonthsFormat=5]="MonthsFormat",En[En.MonthsStandalone=6]="MonthsStandalone",En[En.Eras=7]="Eras",En[En.FirstDayOfWeek=8]="FirstDayOfWeek",En[En.WeekendRange=9]="WeekendRange",En[En.DateFormat=10]="DateFormat",En[En.TimeFormat=11]="TimeFormat",En[En.DateTimeFormat=12]="DateTimeFormat",En[En.NumberSymbols=13]="NumberSymbols",En[En.NumberFormats=14]="NumberFormats",En[En.CurrencyCode=15]="CurrencyCode",En[En.CurrencySymbol=16]="CurrencySymbol",En[En.CurrencyName=17]="CurrencyName",En[En.Currencies=18]="Currencies",En[En.Directionality=19]="Directionality",En[En.PluralCase=20]="PluralCase",En[En.ExtraData=21]="ExtraData",En))();const zh="en-US";let xy=zh;function rm(e,t,n,i,o){if(e=Xe(e),Array.isArray(e))for(let l=0;l<e.length;l++)rm(e[l],t,n,i,o);else{const l=An(),p=et();let _=Mi(e)?e:Xe(e.provide),C=Qu(e);const x=Tr(),I=1048575&x.providerIndexes,j=x.directiveStart,oe=x.providerIndexes>>20;if(Mi(e)||!e.multi){const Se=new Yi(C,o,Br),Ge=om(_,t,o?I:I+oe,j);-1===Ge?(mr(zs(x,p),l,_),im(l,e,t.length),t.push(_),x.directiveStart++,x.directiveEnd++,o&&(x.providerIndexes+=1048576),n.push(Se),p.push(Se)):(n[Ge]=Se,p[Ge]=Se)}else{const Se=om(_,t,I+oe,j),Ge=om(_,t,I,I+oe),ft=Se>=0&&n[Se],wt=Ge>=0&&n[Ge];if(o&&!wt||!o&&!ft){mr(zs(x,p),l,_);const Ht=function sw(e,t,n,i,o){const l=new Yi(e,n,Br);return l.multi=[],l.index=t,l.componentProviders=0,ev(l,o,i&&!n),l}(o?ow:iw,n.length,o,i,C);!o&&wt&&(n[Ge].providerFactory=Ht),im(l,e,t.length,0),t.push(_),x.directiveStart++,x.directiveEnd++,o&&(x.providerIndexes+=1048576),n.push(Ht),p.push(Ht)}else im(l,e,Se>-1?Se:Ge,ev(n[o?Ge:Se],C,!o&&i));!o&&i&&wt&&n[Ge].componentProviders++}}}function im(e,t,n,i){const o=Mi(t),l=function mg(e){return!!e.useClass}(t);if(o||l){const C=(l?Xe(t.useClass):t).prototype.ngOnDestroy;if(C){const x=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const I=x.indexOf(n);-1===I?x.push(n,[i,C]):x[I+1].push(i,C)}else x.push(n,C)}}}function ev(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function om(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function iw(e,t,n,i){return sm(this.multi,[])}function ow(e,t,n,i){const o=this.multi;let l;if(this.providerFactory){const p=this.providerFactory.componentProviders,_=Ma(n,n[1],this.providerFactory.index,i);l=_.slice(0,p),sm(o,l);for(let C=p;C<_.length;C++)l.push(_[C])}else l=[],sm(o,l);return l}function sm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function tv(e,t=[]){return n=>{n.providersResolver=(i,o)=>function rw(e,t,n){const i=An();if(i.firstCreatePass){const o=Rr(e);rm(n,i.data,i.blueprint,o,!0),rm(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class nv{}class uw{resolveComponentFactory(t){throw function lw(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Kh=(()=>{class e{}return e.NULL=new uw,e})();function cw(){return sc(Tr(),et())}function sc(e,t){return new Sd(dr(e,t))}let Sd=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=cw,e})();function dw(e){return e instanceof Sd?e.nativeElement:e}class iv{}let fw=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function pw(){const e=et(),n=N(Tr().index,e);return function hw(e){return e[11]}(ti(n)?n:e)}(),e})(),gw=(()=>{class e{}return e.\u0275prov=Qn({token:e,providedIn:"root",factory:()=>null}),e})();class ov{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mw=new ov("13.3.11"),am={};function Qh(e,t,n,i,o=!1){for(;null!==n;){const l=t[n.index];if(null!==l&&i.push(cn(l)),qn(l))for(let _=10;_<l.length;_++){const C=l[_],x=C[1].firstChild;null!==x&&Qh(C[1],C,x,i)}const p=n.type;if(8&p)Qh(e,t,n.child,i);else if(32&p){const _=Nu(n,t);let C;for(;C=_();)i.push(C)}else if(16&p){const _=Df(t,n);if(Array.isArray(_))i.push(..._);else{const C=eu(t[16]);Qh(C[1],C,_,i,!0)}}n=o?n.projectionNext:n.next}return i}class Td{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 Qh(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(qn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Ac(t,i),io(n,i))}this._attachedToViewContainer=!1}hf(this._lView[1],this._lView)}onDestroy(t){Jf(this._lView[1],this._lView,null,t)}markForCheck(){uo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function td(e,t,n){const i=t[10];i.begin&&i.begin();try{Ol(e,t,e.template,n)}catch(o){throw lh(t,o),o}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Qe(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function As(e,t){nu(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Qe(902,"");this._appRef=t}}class _w extends Td{constructor(t){super(t),this._view=t}detectChanges(){ah(this._view)}checkNoChanges(){}get context(){return null}}class sv extends Kh{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=pn(t);return new lm(n,this.ngModule)}}function av(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class lm extends nv{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Hp(e){return e.map(Up).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return av(this.componentDef.inputs)}get outputs(){return av(this.componentDef.outputs)}create(t,n,i,o){const l=(o=o||this.ngModule)?function vw(e,t){return{get:(n,i,o)=>{const l=e.get(n,am,o);return l!==am||i===am?l:t.get(n,i,o)}}}(t,o.injector):t,p=l.get(iv,Wn),_=l.get(gw,null),C=p.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",I=i?function Qf(e,t,n){if(ht(e))return e.selectRootElement(t,n===Rn.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(C,i,this.componentDef.encapsulation):Bu(p.createRenderer(null,this.componentDef),x,function yw(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?M:null}(x)),j=this.componentDef.onPush?576:528,oe=function Dh(e,t){return{components:[],scheduler:e||Xd,clean:$n,playerHandler:t||null,flags:0}}(),Se=Yu(0,null,null,1,0,null,null,null,null,null),Ge=iu(null,Se,oe,j,null,null,p,C,_,l);let ft,wt;ye(Ge);try{const Ht=function bh(e,t,n,i,o,l){const p=n[1];n[20]=e;const C=Pl(p,20,2,"#host",null),x=C.mergedAttrs=t.hostAttrs;null!==x&&(lu(C,x,!0),null!==e&&(ro(o,e,x),null!==C.classes&&Fc(o,e,C.classes),null!==C.styles&&Pf(o,e,C.styles)));const I=i.createRenderer(e,t),j=iu(n,Zf(t),null,t.onPush?64:16,n[20],C,i,I,l||null,null);return p.firstCreatePass&&(mr(zs(C,n),p,t.type),nh(p,C),ou(C,n.length,1)),fl(n,j),n[20]=j}(I,this.componentDef,Ge,p,C);if(I)if(i)ro(C,I,["ng-version",mw.full]);else{const{attrs:nt,classes:fn}=function jp(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let l=e[i];if("string"==typeof l)2===o?""!==l&&t.push(l,e[++i]):8===o&&n.push(l);else{if(!ss(o))break;o=l}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);nt&&ro(C,I,nt),fn&&fn.length>0&&Fc(C,I,fn.join(" "))}if(wt=D(Se,20),void 0!==n){const nt=wt.projection=[];for(let fn=0;fn<this.ngContentSelectors.length;fn++){const lr=n[fn];nt.push(null!=lr?Array.from(lr):null)}}ft=function Eh(e,t,n,i,o){const l=n[1],p=function rg(e,t,n){const i=Tr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Gr(e,i,t,ta(e,t,1,null),n));const o=Ma(t,e,i.directiveStart,i);Bi(o,t);const l=dr(i,t);return l&&Bi(l,t),o}(l,n,t);if(i.components.push(p),e[8]=p,o&&o.forEach(C=>C(p,t)),t.contentQueries){const C=Tr();t.contentQueries(1,p,C.directiveStart)}const _=Tr();return!l.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ho(_.index),eh(n[1],_,0,_.directiveStart,_.directiveEnd,t),th(t,p)),p}(Ht,this.componentDef,Ge,oe,[Eg]),xa(Se,Ge,null)}finally{Jn()}return new ww(this.componentType,ft,sc(wt,Ge),Ge,wt)}}class ww extends class aw{}{constructor(t,n,i,o,l){super(),this.location=i,this._rootLView=o,this._tNode=l,this.instance=n,this.hostView=this.changeDetectorRef=new _w(o),this.componentType=t}get injector(){return new bs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class ac{}class lv{}const lc=new Map;class dv extends ac{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sv(this);const i=Ct(t);this._bootstrapComponents=$r(i.bootstrap),this._r3Injector=fh(t,n,[{provide:ac,useValue:this},{provide:Kh,useValue:this.componentFactoryResolver}],ie(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Rs.THROW_IF_NOT_FOUND,i=q.Default){return t===Rs||t===ac||t===id?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class um extends lv{constructor(t){super(),this.moduleType=t,null!==Ct(t)&&function Ew(e){const t=new Set;!function n(i){const o=Ct(i,!0),l=o.id;null!==l&&(function uv(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ie(t)} vs ${ie(t.name)}`)}(l,lc.get(l),i),lc.set(l,i));const p=$r(o.imports);for(const _ of p)t.has(_)||(t.add(_),n(_))}(e)}(t)}create(t){return new dv(this.moduleType,t)}}function fv(e,t,n){const i=si()+e,o=et();return o[i]===Fn?cs(o,i,n?t.call(n):t()):function Fl(e,t){return e[t]}(o,i)}function hv(e,t,n,i){return function mv(e,t,n,i,o,l){const p=t+n;return Ji(e,p,o)?cs(e,p+1,l?i.call(l,o):i(o)):Pd(e,p+1)}(et(),si(),e,t,n,i)}function pv(e,t,n,i,o){return function _v(e,t,n,i,o,l,p){const _=t+n;return hl(e,_,o,l)?cs(e,_+2,p?i.call(p,o,l):i(o,l)):Pd(e,_+2)}(et(),si(),e,t,n,i,o)}function gv(e,t,n,i,o,l){return function yv(e,t,n,i,o,l,p,_){const C=t+n;return function Xu(e,t,n,i,o){const l=hl(e,t,n,i);return Ji(e,t+2,o)||l}(e,C,o,l,p)?cs(e,C+3,_?i.call(_,o,l,p):i(o,l,p)):Pd(e,C+3)}(et(),si(),e,t,n,i,o,l)}function Pd(e,t){const n=e[t];return n===Fn?void 0:n}function cm(e){return t=>{setTimeout(e,void 0,t)}}const ka=class Lw extends ae.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,l=n||(()=>null),p=i;if(t&&"object"==typeof t){const C=t;o=C.next?.bind(C),l=C.error?.bind(C),p=C.complete?.bind(C)}this.__isAsync&&(l=cm(l),o&&(o=cm(o)),p&&(p=cm(p)));const _=super.subscribe({next:o,error:l,complete:p});return t instanceof me.w&&t.add(_),_}};function Vw(){return this._results[Rl()]()}class dm{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=Rl(),i=dm.prototype;i[n]||(i[n]=Vw)}get changes(){return this._changes||(this._changes=new ka)}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 i=this;i.dirty=!1;const o=ui(t);(this._changesDetected=!function Ys(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],l=t[i];if(n&&(o=n(o),l=n(l)),l!==o)return!1}return!0}(i._results,o,n))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[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 xd=(()=>{class e{}return e.__NG_ELEMENT_ID__=Hw,e})();const Bw=xd,Uw=class extends Bw{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=iu(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(i[19]=l.createEmbeddedView(n)),xa(n,i,t),new Td(i)}};function Hw(){return Jh(Tr(),et())}function Jh(e,t){return 4&e.type?new Uw(t,e,sc(e,t)):null}let Xh=(()=>{class e{}return e.__NG_ELEMENT_ID__=jw,e})();function jw(){return Ev(Tr(),et())}const $w=Xh,wv=class extends $w{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return sc(this._hostTNode,this._hostLView)}get injector(){return new bs(this._hostTNode,this._hostLView)}get parentInjector(){const t=Jr(this._hostTNode,this._hostLView);if(ba(t)){const n=$s(t,this._hostLView),i=Ao(t);return new bs(n[1].data[i+8],n)}return new bs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=bv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const o=t.createEmbeddedView(n||{});return this.insert(o,i),o}createComponent(t,n,i,o,l){const p=t&&!function es(e){return"function"==typeof e}(t);let _;if(p)_=n;else{const j=n||{};_=j.index,i=j.injector,o=j.projectableNodes,l=j.ngModuleRef}const C=p?t:new lm(pn(t)),x=i||this.parentInjector;if(!l&&null==C.ngModule){const oe=(p?x:this.parentInjector).get(ac,null);oe&&(l=oe)}const I=C.create(x,o,void 0,l);return this.insert(I.hostView,_),I}insert(t,n){const i=t._lView,o=i[1];if(function sr(e){return qn(e[3])}(i)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const j=i[3],oe=new wv(j,j[6],j[3]);oe.detach(oe.indexOf(t))}}const l=this._adjustIndex(n),p=this._lContainer;!function Tp(e,t,n,i){const o=10+i,l=n.length;i>0&&(n[o-1][4]=t),i<l-10?(t[4]=n[o],cc(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const p=t[17];null!==p&&n!==p&&function df(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(p,t);const _=t[19];null!==_&&_.insertView(e),t[2]|=128}(o,i,p,l);const _=Rc(l,p),C=i[11],x=tu(C,p[7]);return null!==x&&function cf(e,t,n,i,o,l){i[0]=o,i[6]=t,nu(e,i,n,1,o,l)}(o,p[6],C,i,x,_),t.attachToViewContainerRef(),cc(fm(p),l,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=bv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Ac(this._lContainer,n);i&&(io(fm(this._lContainer),n),hf(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=Ac(this._lContainer,n);return i&&null!=io(fm(this._lContainer),n)?new Td(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function bv(e){return e[8]}function fm(e){return e[8]||(e[8]=[])}function Ev(e,t){let n;const i=t[e.index];if(qn(i))n=i;else{let o;if(8&e.type)o=cn(i);else{const l=t[11];o=l.createComment("");const p=dr(e,t);ul(l,tu(l,p),o,function vf(e,t){return ht(e)?e.nextSibling(t):t.nextSibling}(l,p),!1)}t[e.index]=n=ih(i,t,o,e),fl(t,n)}return new wv(n,e,t)}class hm{constructor(t){this.queryList=t,this.matches=null}clone(){return new hm(this.queryList)}setDirty(){this.queryList.setDirty()}}class pm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let l=0;l<i;l++){const p=n.getByIndex(l);o.push(this.queries[p.indexInDeclarationView].clone())}return new pm(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Iv(t,n).matches&&this.queries[n].setDirty()}}class Dv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class gm{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const o=null!==n?n.length:0,l=this.getByIndex(i).embeddedTView(t,o);l&&(l.indexInDeclarationView=i,null!==n?n.push(l):n=[l])}return null!==n?new gm(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class mm{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 mm(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const l=i[o];this.matchTNodeWithReadOption(t,n,Ww(n,l)),this.matchTNodeWithReadOption(t,n,Da(n,t,l,!1,!1))}else i===xd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Da(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Sd||o===Xh||o===xd&&4&n.type)this.addMatch(n.index,-2);else{const l=Da(n,t,o,!1,!1);null!==l&&this.addMatch(n.index,l)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Ww(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Yw(e,t,n,i){return-1===n?function qw(e,t){return 11&e.type?sc(e,t):4&e.type?Jh(e,t):null}(t,e):-2===n?function Zw(e,t,n){return n===Sd?sc(t,e):n===xd?Jh(t,e):n===Xh?Ev(t,e):void 0}(e,t,i):Ma(e,e[1],n,t)}function Mv(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const l=e.data,p=n.matches,_=[];for(let C=0;C<p.length;C+=2){const x=p[C];_.push(x<0?null:Yw(t,l[x],p[C+1],n.metadata.read))}o.matches=_}return o.matches}function _m(e,t,n,i){const o=e.queries.getByIndex(n),l=o.matches;if(null!==l){const p=Mv(e,t,o,n);for(let _=0;_<l.length;_+=2){const C=l[_];if(C>0)i.push(p[_/2]);else{const x=l[_+1],I=t[-C];for(let j=10;j<I.length;j++){const oe=I[j];oe[17]===oe[3]&&_m(oe[1],oe,x,i)}if(null!==I[9]){const j=I[9];for(let oe=0;oe<j.length;oe++){const Se=j[oe];_m(Se[1],Se,x,i)}}}}}return i}function Sv(e){const t=et(),n=An(),i=ys();pa(i+1);const o=Iv(n,i);if(e.dirty&&Ve(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const l=o.crossesNgTemplate?_m(n,t,i,[]):Mv(n,t,o,i);e.reset(l,dw),e.notifyOnChanges()}return!0}return!1}function Tv(e,t,n){const i=An();i.firstCreatePass&&(Av(i,new Dv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),xv(i,et(),t)}function Pv(e,t,n,i){const o=An();if(o.firstCreatePass){const l=Tr();Av(o,new Dv(t,n,i),l.index),function Qw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}xv(o,et(),n)}function Ov(){return function Kw(e,t){return e[19].queries[t].queryList}(et(),ys())}function xv(e,t,n){const i=new dm(4==(4&n));Jf(e,t,i,i.destroy),null===t[19]&&(t[19]=new pm),t[19].queries.push(new hm(i))}function Av(e,t,n){null===e.queries&&(e.queries=new gm),e.queries.track(new mm(t,n))}function Iv(e,t){return e.queries.getByIndex(t)}function Rv(e,t){return Jh(e,t)}function np(...e){}const Kv=new T("Application Initializer");let Em=(()=>{class e{constructor(n){this.appInits=n,this.resolve=np,this.reject=np,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const l=this.appInits[o]();if(Wg(l))n.push(l);else if(I_(l)){const p=new Promise((_,C)=>{l.subscribe({complete:_,error:C})});n.push(p)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Ut(Kv,8))},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Qv=new T("AppId",{providedIn:"root",factory:function Jv(){return`${Dm()}${Dm()}${Dm()}`}});function Dm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Xv=new T("Platform Initializer"),pb=new T("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),eC=new T("appBootstrapListener");let gb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Mm=new T("LocaleId",{providedIn:"root",factory:()=>xn(Mm,q.Optional|q.SkipSelf)||function mb(){return typeof $localize<"u"&&$localize.locale||zh}()}),_b=new T("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class yb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let vb=(()=>{class e{compileModuleSync(n){return new um(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),l=$r(Ct(n).declarations).reduce((p,_)=>{const C=pn(_);return C&&p.push(new lm(C)),p},[]);return new yb(i,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const wb=(()=>Promise.resolve(0))();function Sm(e){typeof Zone>"u"?wb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class sa{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ka(!1),this.onMicrotaskEmpty=new ka(!1),this.onStable=new ka(!1),this.onError=new ka(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function bb(){let e=ue.requestAnimationFrame,t=ue.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Mb(e){const t=()=>{!function Db(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Pm(e),e.isCheckStableRunning=!0,Tm(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Pm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,l,p,_)=>{try{return tC(e),n.invokeTask(o,l,p,_)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),nC(e)}},onInvoke:(n,i,o,l,p,_,C)=>{try{return tC(e),n.invoke(o,l,p,_,C)}finally{e.shouldCoalesceRunChangeDetection&&t(),nC(e)}},onHasTask:(n,i,o,l)=>{n.hasTask(o,l),i===o&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,Pm(e),Tm(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,i,o,l)=>(n.handleError(o,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!sa.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(sa.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const l=this._inner,p=l.scheduleEventTask("NgZoneEvent: "+o,t,Eb,np,np);try{return l.runTask(p,n,i)}finally{l.cancelTask(p)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Eb={};function Tm(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 Pm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function tC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nC(e){e._nesting--,Tm(e)}class Sb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ka,this.onMicrotaskEmpty=new ka,this.onStable=new ka,this.onError=new ka}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}let rC=(()=>{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:()=>{sa.assertNotInAngularZone(),Sm(()=>{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())Sm(()=>{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(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.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,i,o){let l=-1;i&&i>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==l),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:o})}whenStable(n,i,o){if(o&&!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,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(Ut(sa))},e.\u0275prov=Qn({token:e,factory:e.\u0275fac}),e})(),Tb=(()=>{class e{constructor(){this._applications=new Map,Om.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return Om.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class Pb{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function Ob(e){Om=e}let Om=new Pb,Id=null;const iC=new T("AllowMultipleToken"),oC=new T("PlatformOnDestroy");class Ib{constructor(t,n){this.name=t,this.token=n}}function sC(e,t,n=[]){const i=`Platform: ${t}`,o=new T(i);return(l=[])=>{let p=xm();if(!p||p.injector.get(iC,!1)){const _=[...n,...l,{provide:o,useValue:!0}];e?e(_):function Rb(e){if(Id&&!Id.get(iC,!1))throw new Qe(400,"");Id=e;const t=e.get(aC),n=e.get(Xv,null);n&&n.forEach(i=>i())}(function Nb(e=[],t){return Rs.create({name:t,providers:[{provide:od,useValue:"platform"},{provide:oC,useValue:()=>Id=null},...e]})}(_,i))}return function Fb(e){const t=xm();if(!t)throw new Qe(401,"");return t}()}}function xm(){return Id?.get(aC)??null}let aC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const _=function kb(e,t){let n;return n="noop"===e?new Sb:("zone.js"===e?void 0:e)||new sa({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),C=[{provide:sa,useValue:_}];return _.run(()=>{const x=Rs.create({providers:C,parent:this.injector,name:n.moduleType.name}),I=n.create(x),j=I.injector.get(rl,null);if(!j)throw new Qe(402,"");return _.runOutsideAngular(()=>{const oe=_.onError.subscribe({next:Se=>{j.handleError(Se)}});I.onDestroy(()=>{Im(this._modules,I),oe.unsubscribe()})}),function Lb(e,t,n){try{const i=n();return Wg(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(j,_,()=>{const oe=I.injector.get(Em);return oe.runInitializers(),oe.donePromise.then(()=>(function f0(e){Sn(e,"Expected localeId to be defined"),"string"==typeof e&&(xy=e.toLowerCase().replace(/_/g,"-"))}(I.injector.get(Mm,zh)||zh),this._moduleDoBootstrap(I),I))})})}bootstrapModule(n,i=[]){const o=lC({},i);return function xb(e,t,n){const i=new um(n);return Promise.resolve(i)}(0,0,n).then(l=>this.bootstrapModuleFactory(l,o))}_moduleDoBootstrap(n){const i=n.injector.get(Am);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Qe(403,"");n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Qe(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(oC,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Ut(Rs))},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function lC(e,t){return Array.isArray(t)?t.reduce(lC,e):{...e,...t}}let Am=(()=>{class e{constructor(n,i,o,l){this._zone=n,this._injector=i,this._exceptionHandler=o,this._initStatus=l,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 p=new c.y(C=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{C.next(this._stable),C.complete()})}),_=new c.y(C=>{let x;this._zone.runOutsideAngular(()=>{x=this._zone.onStable.subscribe(()=>{sa.assertNotInAngularZone(),Sm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,C.next(!0))})})});const I=this._zone.onUnstable.subscribe(()=>{sa.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{C.next(!1)}))});return()=>{x.unsubscribe(),I.unsubscribe()}});this.isStable=function pe(...e){let t=Number.POSITIVE_INFINITY,n=null,i=e[e.length-1];return(0,v.K)(i)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof i&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof c.y?e[0]:(0,we.J)(t)((0,Ee.n)(e,n))}(p,_.pipe(function ee(){return e=>(0,G.x)()(function re(e,t){return function(i){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new H(o,t));const l=Object.create(i,Z.N);return l.source=i,l.subjectFactory=o,l}}(ce)(e))}()))}bootstrap(n,i){if(!this._initStatus.done)throw new Qe(405,"");let o;o=n instanceof nv?n:this._injector.get(Kh).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const l=function Ab(e){return e.isBoundToModule}(o)?void 0:this._injector.get(ac),_=o.create(Rs.NULL,[],i||o.selector,l),C=_.location.nativeElement,x=_.injector.get(rC,null),I=x&&_.injector.get(Tb);return x&&I&&I.registerApplication(C,x),_.onDestroy(()=>{this.detachView(_.hostView),Im(this.components,_),I&&I.unregisterApplication(C)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new Qe(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 i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Im(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(eC,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Ut(sa),Ut(Rs),Ut(rl),Ut(Em))},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Im(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let cC=!0,dC=!1;function Bb(){return dC=!0,cC}function Ub(){if(dC)throw new Error("Cannot enable prod mode after platform setup.");cC=!1}let Hb=(()=>{class e{}return e.__NG_ELEMENT_ID__=jb,e})();function jb(e){return function $b(e,t,n){if(kr(e)&&!n){const i=N(e.index,t);return new Td(i,i)}return 47&e.type?new Td(t[16],t):null}(Tr(),et(),16==(16&e))}class gC{constructor(){}supports(t){return cu(t)}create(t){return new Zb(t)}}const Yb=(e,t)=>t;class Zb{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||Yb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,l=null;for(;n||i;){const p=!i||n&&n.currentIndex<_C(i,o,l)?n:i,_=_C(p,o,l),C=p.currentIndex;if(p===i)o--,i=i._nextRemoved;else if(n=n._next,null==p.previousIndex)o++;else{l||(l=[]);const x=_-o,I=C-o;if(x!=I){for(let oe=0;oe<x;oe++){const Se=oe<l.length?l[oe]:l[oe]=0,Ge=Se+oe;I<=Ge&&Ge<x&&(l[oe]=Se+1)}l[p.previousIndex]=I-x}}_!==C&&t(p,_,C)}}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=[]),!cu(t))throw new Qe(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,l,p,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let _=0;_<this.length;_++)l=t[_],p=this._trackByFn(_,l),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,l,p,_)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,p,_),i=!0),n=n._next}else o=0,function Rg(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Rl()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,_=>{p=this._trackByFn(o,_),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,_,p,o)),Object.is(n.item,_)||this._addIdentityChange(n,_)):(n=this._mismatch(n,_,p,o),i=!0),n=n._next,o++}),this.length=o;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,i,o){let l;return null===t?l=this._itTail:(l=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,l,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,o)):t=this._addAfter(new Kb(n,i),l,o),t}_verifyReinsertion(t,n,i,o){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?t=this._reinsertAfter(l,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,l=t._nextRemoved;return null===o?this._removalsHead=l:o._nextRemoved=l,null===l?this._removalsTail=o:l._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new mC),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 mC),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 Kb{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 Qb{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class mC{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Qb,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 _C(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class yC{constructor(){}supports(t){return t instanceof Map||du(t)}create(){return new Jb}}class Jb{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||du(t)))throw new Qe(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,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,l)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 o=this._records.get(t);this._maybeAddToChanges(o,n);const l=o._prev,p=o._next;return l&&(l._next=p),p&&(p._prev=l),o._next=null,o._prev=null,o}const i=new Xb(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class Xb{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 vC(){return new Lm([new gC])}let Lm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||vC()),deps:[[e,new so,new Ki]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new Qe(901,"")}}return e.\u0275prov=Qn({token:e,providedIn:"root",factory:vC}),e})();function CC(){return new Vm([new yC])}let Vm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||CC()),deps:[[e,new so,new Ki]]}}find(n){const i=this.factories.find(l=>l.supports(n));if(i)return i;throw new Qe(901,"")}}return e.\u0275prov=Qn({token:e,providedIn:"root",factory:CC}),e})();const nE=sC(null,"core",[]);let rE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Ut(Am))},e.\u0275mod=Ke({type:e}),e.\u0275inj=Ir({}),e})()},4006:(Ue,X,F)=>{"use strict";F.d(X,{Cf:()=>Ae,F:()=>it,Fj:()=>_e,JJ:()=>Hr,JL:()=>eo,On:()=>Ln,Wl:()=>H,_Y:()=>or,kI:()=>Xe,u5:()=>cn});var c=F(6738),v=F(6895),we=F(5254),Ee=F(567),pe=F(4850);let ae=(()=>{class P{constructor(E,N){this._renderer=E,this._elementRef=N,this.onChange=Ve=>{},this.onTouched=()=>{}}setProperty(E,N){this._renderer.setProperty(this._elementRef.nativeElement,E,N)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}}return P.\u0275fac=function(E){return new(E||P)(c.Y36(c.Qsj),c.Y36(c.SBq))},P.\u0275dir=c.lG2({type:P}),P})(),me=(()=>{class P extends ae{}return P.\u0275fac=function(){let D;return function(N){return(D||(D=c.n5z(P)))(N||P)}}(),P.\u0275dir=c.lG2({type:P,features:[c.qOj]}),P})();const Z=new c.OlP("NgValueAccessor"),re={provide:Z,useExisting:(0,c.Gpc)(()=>H),multi:!0};let H=(()=>{class P extends me{writeValue(E){this.setProperty("checked",E)}}return P.\u0275fac=function(){let D;return function(N){return(D||(D=c.n5z(P)))(N||P)}}(),P.\u0275dir=c.lG2({type:P,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(E,N){1&E&&c.NdJ("change",function(xt){return N.onChange(xt.target.checked)})("blur",function(){return N.onTouched()})},features:[c._Bn([re]),c.qOj]}),P})();const G={provide:Z,useExisting:(0,c.Gpc)(()=>_e),multi:!0},ee=new c.OlP("CompositionEventMode");let _e=(()=>{class P extends ae{constructor(E,N,Ve){super(E,N),this._compositionMode=Ve,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ce(){const P=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(P.toLowerCase())}())}writeValue(E){this.setProperty("value",E??"")}_handleInput(E){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(E)}_compositionStart(){this._composing=!0}_compositionEnd(E){this._composing=!1,this._compositionMode&&this.onChange(E)}}return P.\u0275fac=function(E){return new(E||P)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(ee,8))},P.\u0275dir=c.lG2({type:P,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(E,N){1&E&&c.NdJ("input",function(xt){return N._handleInput(xt.target.value)})("blur",function(){return N.onTouched()})("compositionstart",function(){return N._compositionStart()})("compositionend",function(xt){return N._compositionEnd(xt.target.value)})},features:[c._Bn([G]),c.qOj]}),P})();function z(P){return null==P||0===P.length}function ie(P){return null!=P&&"number"==typeof P.length}const Ae=new c.OlP("NgValidators"),lt=new c.OlP("NgAsyncValidators"),Ye=/^(?=.{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 Xe{static min(D){return function nn(P){return D=>{if(z(D.value)||z(P))return null;const E=parseFloat(D.value);return!isNaN(E)&&E<P?{min:{min:P,actual:D.value}}:null}}(D)}static max(D){return function In(P){return D=>{if(z(D.value)||z(P))return null;const E=parseFloat(D.value);return!isNaN(E)&&E>P?{max:{max:P,actual:D.value}}:null}}(D)}static required(D){return function Qe(P){return z(P.value)?{required:!0}:null}(D)}static requiredTrue(D){return function Dn(P){return!0===P.value?null:{required:!0}}(D)}static email(D){return function yt(P){return z(P.value)||Ye.test(P.value)?null:{email:!0}}(D)}static minLength(D){return function Ft(P){return D=>z(D.value)||!ie(D.value)?null:D.value.length<P?{minlength:{requiredLength:P,actualLength:D.value.length}}:null}(D)}static maxLength(D){return function on(P){return D=>ie(D.value)&&D.value.length>P?{maxlength:{requiredLength:P,actualLength:D.value.length}}:null}(D)}static pattern(D){return function pt(P){if(!P)return ot;let D,E;return"string"==typeof P?(E="","^"!==P.charAt(0)&&(E+="^"),E+=P,"$"!==P.charAt(P.length-1)&&(E+="$"),D=new RegExp(E)):(E=P.toString(),D=P),N=>{if(z(N.value))return null;const Ve=N.value;return D.test(Ve)?null:{pattern:{requiredPattern:E,actualValue:Ve}}}}(D)}static nullValidator(D){return null}static compose(D){return Ur(D)}static composeAsync(D){return ji(D)}}function ot(P){return null}function Y(P){return null!=P}function Ce(P){const D=(0,c.QGY)(P)?(0,we.D)(P):P;return(0,c.CqO)(D),D}function Oe(P){let D={};return P.forEach(E=>{D=null!=E?{...D,...E}:D}),0===Object.keys(D).length?null:D}function at(P,D){return D.map(E=>E(P))}function kn(P){return P.map(D=>function vt(P){return!P.validate}(D)?D:E=>D.validate(E))}function Ur(P){if(!P)return null;const D=P.filter(Y);return 0==D.length?null:function(E){return Oe(at(E,D))}}function xr(P){return null!=P?Ur(kn(P)):null}function ji(P){if(!P)return null;const D=P.filter(Y);return 0==D.length?null:function(E){const N=at(E,D).map(Ce);return(0,Ee.D)(N).pipe((0,pe.U)(Oe))}}function Xr(P){return null!=P?ji(kn(P)):null}function Ti(P,D){return null===P?[D]:Array.isArray(P)?[...P,D]:[P,D]}function vi(P){return P?Array.isArray(P)?P:[P]:[]}function Sn(P,D){return Array.isArray(P)?P.includes(D):P===D}function Mn(P,D){const E=vi(D);return vi(P).forEach(Ve=>{Sn(E,Ve)||E.push(Ve)}),E}function Xi(P,D){return vi(D).filter(E=>!Sn(P,E))}class Ar{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(D){this._rawValidators=D||[],this._composedValidatorFn=xr(this._rawValidators)}_setAsyncValidators(D){this._rawAsyncValidators=D||[],this._composedAsyncValidatorFn=Xr(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(D){this._onDestroyCallbacks.push(D)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(D=>D()),this._onDestroyCallbacks=[]}reset(D){this.control&&this.control.reset(D)}hasError(D,E){return!!this.control&&this.control.hasError(D,E)}getError(D,E){return this.control?this.control.getError(D,E):null}}class _r extends Ar{get formDirective(){return null}get path(){return null}}class Qn extends Ar{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wr{constructor(D){this._cd=D}is(D){return"submitted"===D?!!this._cd?.submitted:!!this._cd?.control?.[D]}}let Hr=(()=>{class P extends wr{constructor(E){super(E)}}return P.\u0275fac=function(E){return new(E||P)(c.Y36(Qn,2))},P.\u0275dir=c.lG2({type:P,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(E,N){2&E&&c.ekj("ng-untouched",N.is("untouched"))("ng-touched",N.is("touched"))("ng-pristine",N.is("pristine"))("ng-dirty",N.is("dirty"))("ng-valid",N.is("valid"))("ng-invalid",N.is("invalid"))("ng-pending",N.is("pending"))},features:[c.qOj]}),P})(),eo=(()=>{class P extends wr{constructor(E){super(E)}}return P.\u0275fac=function(E){return new(E||P)(c.Y36(_r,10))},P.\u0275dir=c.lG2({type:P,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(E,N){2&E&&c.ekj("ng-untouched",N.is("untouched"))("ng-touched",N.is("touched"))("ng-pristine",N.is("pristine"))("ng-dirty",N.is("dirty"))("ng-valid",N.is("valid"))("ng-invalid",N.is("invalid"))("ng-pending",N.is("pending"))("ng-submitted",N.is("submitted"))},features:[c.qOj]}),P})();function $t(P,D){ue(P,D),D.valueAccessor.writeValue(P.value),function Me(P,D){D.valueAccessor.registerOnChange(E=>{P._pendingValue=E,P._pendingChange=!0,P._pendingDirty=!0,"change"===P.updateOn&&Ze(P,D)})}(P,D),function dt(P,D){const E=(N,Ve)=>{D.valueAccessor.writeValue(N),Ve&&D.viewToModelUpdate(N)};P.registerOnChange(E),D._registerOnDestroy(()=>{P._unregisterOnChange(E)})}(P,D),function je(P,D){D.valueAccessor.registerOnTouched(()=>{P._pendingTouched=!0,"blur"===P.updateOn&&P._pendingChange&&Ze(P,D),"submit"!==P.updateOn&&P.markAsTouched()})}(P,D),function le(P,D){if(D.valueAccessor.setDisabledState){const E=N=>{D.valueAccessor.setDisabledState(N)};P.registerOnDisabledChange(E),D._registerOnDestroy(()=>{P._unregisterOnDisabledChange(E)})}}(P,D)}function Yt(P,D){P.forEach(E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(D)})}function ue(P,D){const E=function ur(P){return P._rawValidators}(P);null!==D.validator?P.setValidators(Ti(E,D.validator)):"function"==typeof E&&P.setValidators([E]);const N=function ei(P){return P._rawAsyncValidators}(P);null!==D.asyncValidator?P.setAsyncValidators(Ti(N,D.asyncValidator)):"function"==typeof N&&P.setAsyncValidators([N]);const Ve=()=>P.updateValueAndValidity();Yt(D._rawValidators,Ve),Yt(D._rawAsyncValidators,Ve)}function Ze(P,D){P._pendingDirty&&P.markAsDirty(),P.setValue(P._pendingValue,{emitModelToViewChange:!1}),D.viewToModelUpdate(P._pendingValue),P._pendingChange=!1}function ze(P,D){const E=P.indexOf(D);E>-1&&P.splice(E,1)}const Vt="VALID",Un="INVALID",tn="PENDING",pn="DISABLED";function Hn(P){return(It(P)?P.validators:P)||null}function Ct(P){return Array.isArray(P)?xr(P):P||null}function en(P,D){return(It(D)?D.asyncValidators:P)||null}function Be(P){return Array.isArray(P)?Xr(P):P||null}function It(P){return null!=P&&!Array.isArray(P)&&"object"==typeof P}const Rt=P=>P instanceof ge;function vn(P){return(P=>P instanceof se)(P)?P.value:P.getRawValue()}function Tn(P,D){const E=Rt(P),N=P.controls;if(!(E?Object.keys(N):N).length)throw new c.vHH(1e3,"");if(!N[D])throw new c.vHH(1001,"")}function Pt(P,D){Rt(P),P._forEachChild((N,Ve)=>{if(void 0===D[Ve])throw new c.vHH(1002,"")})}class Tt{constructor(D,E){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=D,this._rawAsyncValidators=E,this._composedValidatorFn=Ct(this._rawValidators),this._composedAsyncValidatorFn=Be(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(D){this._rawValidators=this._composedValidatorFn=D}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(D){this._rawAsyncValidators=this._composedAsyncValidatorFn=D}get parent(){return this._parent}get valid(){return this.status===Vt}get invalid(){return this.status===Un}get pending(){return this.status==tn}get disabled(){return this.status===pn}get enabled(){return this.status!==pn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(D){this._rawValidators=D,this._composedValidatorFn=Ct(D)}setAsyncValidators(D){this._rawAsyncValidators=D,this._composedAsyncValidatorFn=Be(D)}addValidators(D){this.setValidators(Mn(D,this._rawValidators))}addAsyncValidators(D){this.setAsyncValidators(Mn(D,this._rawAsyncValidators))}removeValidators(D){this.setValidators(Xi(D,this._rawValidators))}removeAsyncValidators(D){this.setAsyncValidators(Xi(D,this._rawAsyncValidators))}hasValidator(D){return Sn(this._rawValidators,D)}hasAsyncValidator(D){return Sn(this._rawAsyncValidators,D)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(D={}){this.touched=!0,this._parent&&!D.onlySelf&&this._parent.markAsTouched(D)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(D=>D.markAllAsTouched())}markAsUntouched(D={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(E=>{E.markAsUntouched({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}markAsDirty(D={}){this.pristine=!1,this._parent&&!D.onlySelf&&this._parent.markAsDirty(D)}markAsPristine(D={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(E=>{E.markAsPristine({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}markAsPending(D={}){this.status=tn,!1!==D.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!D.onlySelf&&this._parent.markAsPending(D)}disable(D={}){const E=this._parentMarkedDirty(D.onlySelf);this.status=pn,this.errors=null,this._forEachChild(N=>{N.disable({...D,onlySelf:!0})}),this._updateValue(),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...D,skipPristineCheck:E}),this._onDisabledChange.forEach(N=>N(!0))}enable(D={}){const E=this._parentMarkedDirty(D.onlySelf);this.status=Vt,this._forEachChild(N=>{N.enable({...D,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent}),this._updateAncestors({...D,skipPristineCheck:E}),this._onDisabledChange.forEach(N=>N(!1))}_updateAncestors(D){this._parent&&!D.onlySelf&&(this._parent.updateValueAndValidity(D),D.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(D){this._parent=D}updateValueAndValidity(D={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vt||this.status===tn)&&this._runAsyncValidator(D.emitEvent)),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.updateValueAndValidity(D)}_updateTreeValidity(D={emitEvent:!0}){this._forEachChild(E=>E._updateTreeValidity(D)),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pn:Vt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(D){if(this.asyncValidator){this.status=tn,this._hasOwnPendingAsyncValidator=!0;const E=Ce(this.asyncValidator(this));this._asyncValidationSubscription=E.subscribe(N=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(N,{emitEvent:D})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(D,E={}){this.errors=D,this._updateControlsErrors(!1!==E.emitEvent)}get(D){return function ln(P,D,E){if(null==D||(Array.isArray(D)||(D=D.split(E)),Array.isArray(D)&&0===D.length))return null;let N=P;return D.forEach(Ve=>{N=Rt(N)?N.controls.hasOwnProperty(Ve)?N.controls[Ve]:null:(P=>P instanceof kt)(N)&&N.at(Ve)||null}),N}(this,D,".")}getError(D,E){const N=E?this.get(E):this;return N&&N.errors?N.errors[D]:null}hasError(D,E){return!!this.getError(D,E)}get root(){let D=this;for(;D._parent;)D=D._parent;return D}_updateControlsErrors(D){this.status=this._calculateStatus(),D&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(D)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?pn:this.errors?Un:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(tn)?tn:this._anyControlsHaveStatus(Un)?Un:Vt}_anyControlsHaveStatus(D){return this._anyControls(E=>E.status===D)}_anyControlsDirty(){return this._anyControls(D=>D.dirty)}_anyControlsTouched(){return this._anyControls(D=>D.touched)}_updatePristine(D={}){this.pristine=!this._anyControlsDirty(),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}_updateTouched(D={}){this.touched=this._anyControlsTouched(),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}_isBoxedValue(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}_registerOnCollectionChange(D){this._onCollectionChange=D}_setUpdateStrategy(D){It(D)&&null!=D.updateOn&&(this._updateOn=D.updateOn)}_parentMarkedDirty(D){return!D&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class se extends Tt{constructor(D=null,E,N){super(Hn(E),en(N,E)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(D),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),It(E)&&E.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(D)?D.value:D)}setValue(D,E={}){this.value=this._pendingValue=D,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach(N=>N(this.value,!1!==E.emitViewToModelChange)),this.updateValueAndValidity(E)}patchValue(D,E={}){this.setValue(D,E)}reset(D=this.defaultValue,E={}){this._applyFormState(D),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1}_updateValue(){}_anyControls(D){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(D){this._onChange.push(D)}_unregisterOnChange(D){ze(this._onChange,D)}registerOnDisabledChange(D){this._onDisabledChange.push(D)}_unregisterOnDisabledChange(D){ze(this._onDisabledChange,D)}_forEachChild(D){}_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(D){this._isBoxedValue(D)?(this.value=this._pendingValue=D.value,D.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=D}}class ge extends Tt{constructor(D,E,N){super(Hn(E),en(N,E)),this.controls=D,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(D,E){return this.controls[D]?this.controls[D]:(this.controls[D]=E,E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange),E)}addControl(D,E,N={}){this.registerControl(D,E),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}removeControl(D,E={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}setControl(D,E,N={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],E&&this.registerControl(D,E),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}contains(D){return this.controls.hasOwnProperty(D)&&this.controls[D].enabled}setValue(D,E={}){Pt(this,D),Object.keys(D).forEach(N=>{Tn(this,N),this.controls[N].setValue(D[N],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(D,E={}){null!=D&&(Object.keys(D).forEach(N=>{this.controls[N]&&this.controls[N].patchValue(D[N],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(D={},E={}){this._forEachChild((N,Ve)=>{N.reset(D[Ve],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this._reduceChildren({},(D,E,N)=>(D[N]=vn(E),D))}_syncPendingControls(){let D=this._reduceChildren(!1,(E,N)=>!!N._syncPendingControls()||E);return D&&this.updateValueAndValidity({onlySelf:!0}),D}_forEachChild(D){Object.keys(this.controls).forEach(E=>{const N=this.controls[E];N&&D(N,E)})}_setUpControls(){this._forEachChild(D=>{D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(D){for(const E of Object.keys(this.controls)){const N=this.controls[E];if(this.contains(E)&&D(N))return!0}return!1}_reduceValue(){return this._reduceChildren({},(D,E,N)=>((E.enabled||this.disabled)&&(D[N]=E.value),D))}_reduceChildren(D,E){let N=D;return this._forEachChild((Ve,xt)=>{N=E(N,Ve,xt)}),N}_allControlsDisabled(){for(const D of Object.keys(this.controls))if(this.controls[D].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class kt extends Tt{constructor(D,E,N){super(Hn(E),en(N,E)),this.controls=D,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(D){return this.controls[D]}push(D,E={}){this.controls.push(D),this._registerControl(D),this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}insert(D,E,N={}){this.controls.splice(D,0,E),this._registerControl(E),this.updateValueAndValidity({emitEvent:N.emitEvent})}removeAt(D,E={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),this.controls.splice(D,1),this.updateValueAndValidity({emitEvent:E.emitEvent})}setControl(D,E,N={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),this.controls.splice(D,1),E&&(this.controls.splice(D,0,E),this._registerControl(E)),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(D,E={}){Pt(this,D),D.forEach((N,Ve)=>{Tn(this,Ve),this.at(Ve).setValue(N,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(D,E={}){null!=D&&(D.forEach((N,Ve)=>{this.at(Ve)&&this.at(Ve).patchValue(N,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(D=[],E={}){this._forEachChild((N,Ve)=>{N.reset(D[Ve],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this.controls.map(D=>vn(D))}clear(D={}){this.controls.length<1||(this._forEachChild(E=>E._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:D.emitEvent}))}_syncPendingControls(){let D=this.controls.reduce((E,N)=>!!N._syncPendingControls()||E,!1);return D&&this.updateValueAndValidity({onlySelf:!0}),D}_forEachChild(D){this.controls.forEach((E,N)=>{D(E,N)})}_updateValue(){this.value=this.controls.filter(D=>D.enabled||this.disabled).map(D=>D.value)}_anyControls(D){return this.controls.some(E=>E.enabled&&D(E))}_setUpControls(){this._forEachChild(D=>this._registerControl(D))}_allControlsDisabled(){for(const D of this.controls)if(D.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(D){D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)}}const Zt={provide:_r,useExisting:(0,c.Gpc)(()=>it)},cr=(()=>Promise.resolve(null))();let it=(()=>{class P extends _r{constructor(E,N){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new c.vpe,this.form=new ge({},xr(E),Xr(N))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(E){cr.then(()=>{const N=this._findContainer(E.path);E.control=N.registerControl(E.name,E.control),$t(E.control,E),E.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(E)})}getControl(E){return this.form.get(E.path)}removeControl(E){cr.then(()=>{const N=this._findContainer(E.path);N&&N.removeControl(E.name),this._directives.delete(E)})}addFormGroup(E){cr.then(()=>{const N=this._findContainer(E.path),Ve=new ge({});(function St(P,D){ue(P,D)})(Ve,E),N.registerControl(E.name,Ve),Ve.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(E){cr.then(()=>{const N=this._findContainer(E.path);N&&N.removeControl(E.name)})}getFormGroup(E){return this.form.get(E.path)}updateModel(E,N){cr.then(()=>{this.form.get(E.path).setValue(N)})}setValue(E){this.control.setValue(E)}onSubmit(E){return this.submitted=!0,function be(P,D){P._syncPendingControls(),D.forEach(E=>{const N=E.control;"submit"===N.updateOn&&N._pendingChange&&(E.viewToModelUpdate(N._pendingValue),N._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(E),!1}onReset(){this.resetForm()}resetForm(E){this.form.reset(E),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(E){return E.pop(),E.length?this.form.get(E):this.form}}return P.\u0275fac=function(E){return new(E||P)(c.Y36(Ae,10),c.Y36(lt,10))},P.\u0275dir=c.lG2({type:P,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(E,N){1&E&&c.NdJ("submit",function(xt){return N.onSubmit(xt)})("reset",function(){return N.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([Zt]),c.qOj]}),P})();const un={provide:Qn,useExisting:(0,c.Gpc)(()=>Ln)},Nn=(()=>Promise.resolve(null))();let Ln=(()=>{class P extends Qn{constructor(E,N,Ve,xt,sr){super(),this._changeDetectorRef=sr,this.control=new se,this._registered=!1,this.update=new c.vpe,this._parent=E,this._setValidators(N),this._setAsyncValidators(Ve),this.valueAccessor=function Te(P,D){if(!D)return null;let E,N,Ve;return Array.isArray(D),D.forEach(xt=>{xt.constructor===_e?E=xt:function $(P){return Object.getPrototypeOf(P.constructor)===me}(xt)?N=xt:Ve=xt}),Ve||N||E||null}(0,xt)}ngOnChanges(E){if(this._checkForErrors(),!this._registered||"name"in E){if(this._registered&&(this._checkName(),this.formDirective)){const N=E.name.previousValue;this.formDirective.removeControl({name:N,path:this._getPath(N)})}this._setUpControl()}"isDisabled"in E&&this._updateDisabled(E),function Q(P,D){if(!P.hasOwnProperty("model"))return!1;const E=P.model;return!!E.isFirstChange()||!Object.is(D,E.currentValue)}(E,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(E){this.viewModel=E,this.update.emit(E)}_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(){$t(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(E){Nn.then(()=>{this.control.setValue(E,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(E){const N=E.isDisabled.currentValue,Ve=""===N||N&&"false"!==N;Nn.then(()=>{Ve&&!this.control.disabled?this.control.disable():!Ve&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(E){return this._parent?function Rn(P,D){return[...D.path,P]}(E,this._parent):[E]}}return P.\u0275fac=function(E){return new(E||P)(c.Y36(_r,9),c.Y36(Ae,10),c.Y36(lt,10),c.Y36(Z,10),c.Y36(c.sBO,8))},P.\u0275dir=c.lG2({type:P,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c._Bn([un]),c.qOj,c.TTD]}),P})(),or=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275dir=c.lG2({type:P,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),P})(),qn=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=c.oAB({type:P}),P.\u0275inj=c.cJS({}),P})(),tr=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=c.oAB({type:P}),P.\u0275inj=c.cJS({imports:[[qn]]}),P})(),cn=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=c.oAB({type:P}),P.\u0275inj=c.cJS({imports:[tr]}),P})()},1481:(Ue,X,F)=>{"use strict";F.d(X,{b2:()=>Ir,q6:()=>Qn,se:()=>Ce});var c=F(6895),v=F(6738);class we extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ee extends we{static makeCurrent(){(0,c.HT)(new Ee)}onAndCancel(Q,$,be){return Q.addEventListener($,be,!1),()=>{Q.removeEventListener($,be,!1)}}dispatchEvent(Q,$){Q.dispatchEvent($)}remove(Q){Q.parentNode&&Q.parentNode.removeChild(Q)}createElement(Q,$){return($=$||this.getDefaultDocument()).createElement(Q)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Q){return Q.nodeType===Node.ELEMENT_NODE}isShadowRoot(Q){return Q instanceof DocumentFragment}getGlobalEventTarget(Q,$){return"window"===$?window:"document"===$?Q:"body"===$?Q.body:null}getBaseHref(Q){const $=function ae(){return pe=pe||document.querySelector("base"),pe?pe.getAttribute("href"):null}();return null==$?null:function Z(ve){me=me||document.createElement("a"),me.setAttribute("href",ve);const Q=me.pathname;return"/"===Q.charAt(0)?Q:`/${Q}`}($)}resetBaseElement(){pe=null}getUserAgent(){return window.navigator.userAgent}getCookie(Q){return(0,c.Mx)(document.cookie,Q)}}let me,pe=null;const re=new v.OlP("TRANSITION_ID"),G=[{provide:v.ip1,useFactory:function H(ve,Q,$){return()=>{$.get(v.CZH).donePromise.then(()=>{const be=(0,c.q)(),Te=Q.querySelectorAll(`style[ng-transition="${ve}"]`);for(let ze=0;ze<Te.length;ze++)be.remove(Te[ze])})}},deps:[re,c.K0,v.zs3],multi:!0}];class ce{static init(){(0,v.VLi)(new ce)}addToWindow(Q){v.dqk.getAngularTestability=(be,Te=!0)=>{const ze=Q.findTestabilityInTree(be,Te);if(null==ze)throw new Error("Could not find testability for element.");return ze},v.dqk.getAllAngularTestabilities=()=>Q.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>Q.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push(be=>{const Te=v.dqk.getAllAngularTestabilities();let ze=Te.length,Ke=!1;const Qt=function(Vt){Ke=Ke||Vt,ze--,0==ze&&be(Ke)};Te.forEach(function(Vt){Vt.whenStable(Qt)})})}findTestabilityInTree(Q,$,be){return null==$?null:Q.getTestability($)??(be?(0,c.q)().isShadowRoot($)?this.findTestabilityInTree(Q,$.host,!0):this.findTestabilityInTree(Q,$.parentElement,!0):null)}}let ee=(()=>{class ve{build(){return new XMLHttpRequest}}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const _e=new v.OlP("EventManagerPlugins");let z=(()=>{class ve{constructor($,be){this._zone=be,this._eventNameToPlugin=new Map,$.forEach(Te=>Te.manager=this),this._plugins=$.slice().reverse()}addEventListener($,be,Te){return this._findPluginFor(be).addEventListener($,be,Te)}addGlobalEventListener($,be,Te){return this._findPluginFor(be).addGlobalEventListener($,be,Te)}getZone(){return this._zone}_findPluginFor($){const be=this._eventNameToPlugin.get($);if(be)return be;const Te=this._plugins;for(let ze=0;ze<Te.length;ze++){const Ke=Te[ze];if(Ke.supports($))return this._eventNameToPlugin.set($,Ke),Ke}throw new Error(`No event manager plugin found for event ${$}`)}}return ve.\u0275fac=function($){return new($||ve)(v.LFG(_e),v.LFG(v.R0b))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class ie{constructor(Q){this._doc=Q}addGlobalEventListener(Q,$,be){const Te=(0,c.q)().getGlobalEventTarget(this._doc,Q);if(!Te)throw new Error(`Unsupported event target ${Te} for event ${$}`);return this.addEventListener(Te,$,be)}}let Ae=(()=>{class ve{constructor(){this._stylesSet=new Set}addStyles($){const be=new Set;$.forEach(Te=>{this._stylesSet.has(Te)||(this._stylesSet.add(Te),be.add(Te))}),this.onStylesAdded(be)}onStylesAdded($){}getAllStyles(){return Array.from(this._stylesSet)}}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),lt=(()=>{class ve extends Ae{constructor($){super(),this._doc=$,this._hostNodes=new Map,this._hostNodes.set($.head,[])}_addStylesToHost($,be,Te){$.forEach(ze=>{const Ke=this._doc.createElement("style");Ke.textContent=ze,Te.push(be.appendChild(Ke))})}addHost($){const be=[];this._addStylesToHost(this._stylesSet,$,be),this._hostNodes.set($,be)}removeHost($){const be=this._hostNodes.get($);be&&be.forEach(Ye),this._hostNodes.delete($)}onStylesAdded($){this._hostNodes.forEach((be,Te)=>{this._addStylesToHost($,Te,be)})}ngOnDestroy(){this._hostNodes.forEach($=>$.forEach(Ye))}}return ve.\u0275fac=function($){return new($||ve)(v.LFG(c.K0))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function Ye(ve){(0,c.q)().remove(ve)}const Xe={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/"},nn=/%COMP%/g;function pt(ve,Q,$){for(let be=0;be<Q.length;be++){let Te=Q[be];Array.isArray(Te)?pt(ve,Te,$):(Te=Te.replace(nn,ve),$.push(Te))}return $}function ot(ve){return Q=>{if("__ngUnwrap__"===Q)return ve;!1===ve(Q)&&(Q.preventDefault(),Q.returnValue=!1)}}let Ce=(()=>{class ve{constructor($,be,Te){this.eventManager=$,this.sharedStylesHost=be,this.appId=Te,this.rendererByCompId=new Map,this.defaultRenderer=new Oe($)}createRenderer($,be){if(!$||!be)return this.defaultRenderer;switch(be.encapsulation){case v.ifc.Emulated:{let Te=this.rendererByCompId.get(be.id);return Te||(Te=new kn(this.eventManager,this.sharedStylesHost,be,this.appId),this.rendererByCompId.set(be.id,Te)),Te.applyToHost($),Te}case 1:case v.ifc.ShadowDom:return new Ur(this.eventManager,this.sharedStylesHost,$,be);default:if(!this.rendererByCompId.has(be.id)){const Te=pt(be.id,be.styles,[]);this.sharedStylesHost.addStyles(Te),this.rendererByCompId.set(be.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ve.\u0275fac=function($){return new($||ve)(v.LFG(z),v.LFG(lt),v.LFG(v.AFp))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class Oe{constructor(Q){this.eventManager=Q,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Q,$){return $?document.createElementNS(Xe[$]||$,Q):document.createElement(Q)}createComment(Q){return document.createComment(Q)}createText(Q){return document.createTextNode(Q)}appendChild(Q,$){Q.appendChild($)}insertBefore(Q,$,be){Q&&Q.insertBefore($,be)}removeChild(Q,$){Q&&Q.removeChild($)}selectRootElement(Q,$){let be="string"==typeof Q?document.querySelector(Q):Q;if(!be)throw new Error(`The selector "${Q}" did not match any elements`);return $||(be.textContent=""),be}parentNode(Q){return Q.parentNode}nextSibling(Q){return Q.nextSibling}setAttribute(Q,$,be,Te){if(Te){$=Te+":"+$;const ze=Xe[Te];ze?Q.setAttributeNS(ze,$,be):Q.setAttribute($,be)}else Q.setAttribute($,be)}removeAttribute(Q,$,be){if(be){const Te=Xe[be];Te?Q.removeAttributeNS(Te,$):Q.removeAttribute(`${be}:${$}`)}else Q.removeAttribute($)}addClass(Q,$){Q.classList.add($)}removeClass(Q,$){Q.classList.remove($)}setStyle(Q,$,be,Te){Te&(v.JOm.DashCase|v.JOm.Important)?Q.style.setProperty($,be,Te&v.JOm.Important?"important":""):Q.style[$]=be}removeStyle(Q,$,be){be&v.JOm.DashCase?Q.style.removeProperty($):Q.style[$]=""}setProperty(Q,$,be){Q[$]=be}setValue(Q,$){Q.nodeValue=$}listen(Q,$,be){return"string"==typeof Q?this.eventManager.addGlobalEventListener(Q,$,ot(be)):this.eventManager.addEventListener(Q,$,ot(be))}}class kn extends Oe{constructor(Q,$,be,Te){super(Q),this.component=be;const ze=pt(Te+"-"+be.id,be.styles,[]);$.addStyles(ze),this.contentAttr=function Ft(ve){return"_ngcontent-%COMP%".replace(nn,ve)}(Te+"-"+be.id),this.hostAttr=function on(ve){return"_nghost-%COMP%".replace(nn,ve)}(Te+"-"+be.id)}applyToHost(Q){super.setAttribute(Q,this.hostAttr,"")}createElement(Q,$){const be=super.createElement(Q,$);return super.setAttribute(be,this.contentAttr,""),be}}class Ur extends Oe{constructor(Q,$,be,Te){super(Q),this.sharedStylesHost=$,this.hostEl=be,this.shadowRoot=be.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ze=pt(Te.id,Te.styles,[]);for(let Ke=0;Ke<ze.length;Ke++){const Qt=document.createElement("style");Qt.textContent=ze[Ke],this.shadowRoot.appendChild(Qt)}}nodeOrShadowRoot(Q){return Q===this.hostEl?this.shadowRoot:Q}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Q,$){return super.appendChild(this.nodeOrShadowRoot(Q),$)}insertBefore(Q,$,be){return super.insertBefore(this.nodeOrShadowRoot(Q),$,be)}removeChild(Q,$){return super.removeChild(this.nodeOrShadowRoot(Q),$)}parentNode(Q){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Q)))}}let xr=(()=>{class ve extends ie{constructor($){super($)}supports($){return!0}addEventListener($,be,Te){return $.addEventListener(be,Te,!1),()=>this.removeEventListener($,be,Te)}removeEventListener($,be,Te){return $.removeEventListener(be,Te)}}return ve.\u0275fac=function($){return new($||ve)(v.LFG(c.K0))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const ji=["alt","control","meta","shift"],Ti={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ur={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ei={alt:ve=>ve.altKey,control:ve=>ve.ctrlKey,meta:ve=>ve.metaKey,shift:ve=>ve.shiftKey};let vi=(()=>{class ve extends ie{constructor($){super($)}supports($){return null!=ve.parseEventName($)}addEventListener($,be,Te){const ze=ve.parseEventName(be),Ke=ve.eventCallback(ze.fullKey,Te,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel($,ze.domEventName,Ke))}static parseEventName($){const be=$.toLowerCase().split("."),Te=be.shift();if(0===be.length||"keydown"!==Te&&"keyup"!==Te)return null;const ze=ve._normalizeKey(be.pop());let Ke="";if(ji.forEach(Vt=>{const Un=be.indexOf(Vt);Un>-1&&(be.splice(Un,1),Ke+=Vt+".")}),Ke+=ze,0!=be.length||0===ze.length)return null;const Qt={};return Qt.domEventName=Te,Qt.fullKey=Ke,Qt}static getEventFullKey($){let be="",Te=function Sn(ve){let Q=ve.key;if(null==Q){if(Q=ve.keyIdentifier,null==Q)return"Unidentified";Q.startsWith("U+")&&(Q=String.fromCharCode(parseInt(Q.substring(2),16)),3===ve.location&&ur.hasOwnProperty(Q)&&(Q=ur[Q]))}return Ti[Q]||Q}($);return Te=Te.toLowerCase()," "===Te?Te="space":"."===Te&&(Te="dot"),ji.forEach(ze=>{ze!=Te&&ei[ze]($)&&(be+=ze+".")}),be+=Te,be}static eventCallback($,be,Te){return ze=>{ve.getEventFullKey(ze)===$&&Te.runGuarded(()=>be(ze))}}static _normalizeKey($){return"esc"===$?"escape":$}}return ve.\u0275fac=function($){return new($||ve)(v.LFG(c.K0))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Qn=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:c.bD},{provide:v.g9A,useValue:function Mn(){Ee.makeCurrent(),ce.init()},multi:!0},{provide:c.K0,useFactory:function Ar(){return(0,v.RDi)(document),document},deps:[]}]),wr=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function Xi(){return new v.qLn},deps:[]},{provide:_e,useClass:xr,multi:!0,deps:[c.K0,v.R0b,v.Lbi]},{provide:_e,useClass:vi,multi:!0,deps:[c.K0]},{provide:Ce,useClass:Ce,deps:[z,lt,v.AFp]},{provide:v.FYo,useExisting:Ce},{provide:Ae,useExisting:lt},{provide:lt,useClass:lt,deps:[c.K0]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b]},{provide:z,useClass:z,deps:[_e,v.R0b]},{provide:c.JF,useClass:ee,deps:[]}];let Ir=(()=>{class ve{constructor($){if($)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition($){return{ngModule:ve,providers:[{provide:v.AFp,useValue:$.appId},{provide:re,useExisting:v.AFp},G]}}}return ve.\u0275fac=function($){return new($||ve)(v.LFG(ve,12))},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({providers:wr,imports:[c.ez,v.hGG]}),ve})();typeof window<"u"&&window},1221:(Ue,X,F)=>{"use strict";F.d(X,{gz:()=>Gi,m2:()=>Me,F0:()=>hi,yS:()=>Qr,Bz:()=>Gl,lC:()=>vo});var c=F(6895),v=F(6738),we=F(5529),Ee=F(5279);class pe extends we.xQ{constructor(h){super(),this._value=h}get value(){return this.getValue()}_subscribe(h){const f=super._subscribe(h);return f&&!f.closed&&h.next(this._value),f}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ee.N;return this._value}next(h){super.next(this._value=h)}}var ae=F(2866),me=F(6688),Z=F(3489);class re extends Z.L{notifyNext(h,f,w,T,k){this.destination.next(f)}notifyError(h,f){this.destination.error(h)}notifyComplete(h){this.destination.complete()}}class H extends Z.L{constructor(h,f,w){super(),this.parent=h,this.outerValue=f,this.outerIndex=w,this.index=0}_next(h){this.parent.notifyNext(this.outerValue,h,this.outerIndex,this.index++,this)}_error(h){this.parent.notifyError(h,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var G=F(9249),ce=F(2916);function ee(y,h,f,w,T=new H(y,f,w)){if(!T.closed)return h instanceof ce.y?h.subscribe(T):(0,G.s)(h)(T)}var _e=F(3009);const z={};class Ae{constructor(h){this.resultSelector=h}call(h,f){return f.subscribe(new lt(h,this.resultSelector))}}class lt extends re{constructor(h,f){super(h),this.resultSelector=f,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(z),this.observables.push(h)}_complete(){const h=this.observables,f=h.length;if(0===f)this.destination.complete();else{this.active=f,this.toRespond=f;for(let w=0;w<f;w++)this.add(ee(this,h[w],void 0,w))}}notifyComplete(h){0==(this.active-=1)&&this.destination.complete()}notifyNext(h,f,w){const T=this.values,W=this.toRespond?T[w]===z?--this.toRespond:this.toRespond:0;T[w]=f,0===W&&(this.resultSelector?this._tryResultSelector(T):this.destination.next(T.slice()))}_tryResultSelector(h){let f;try{f=this.resultSelector.apply(this,h)}catch(w){return void this.destination.error(w)}this.destination.next(f)}}function Ye(y,h){return new ce.y(h?f=>h.schedule(Xe,0,{error:y,subscriber:f}):f=>f.error(y))}function Xe({error:y,subscriber:h}){h.error(y)}const In=(()=>{function y(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return y.prototype=Object.create(Error.prototype),y})();var Qe=F(1086),Dn=F(9146);function Ft(...y){return function yt(){return(0,Dn.J)(1)}()((0,Qe.of)(...y))}var on=F(5254);const pt=new ce.y(y=>y.complete());function ot(y){return y?function Y(y){return new ce.y(h=>y.schedule(()=>h.complete()))}(y):pt}function Ce(y){return new ce.y(h=>{let f;try{f=y()}catch(T){return void h.error(T)}return(f?(0,on.D)(f):ot()).subscribe(h)})}var Oe=F(1762),at=F(4850),vt=F(1177);function kn(y,h){return"function"==typeof h?f=>f.pipe(kn((w,T)=>(0,on.D)(y(w,T)).pipe((0,at.U)((k,W)=>h(w,k,T,W))))):f=>f.lift(new Ur(y))}class Ur{constructor(h){this.project=h}call(h,f){return f.subscribe(new xr(h,this.project))}}class xr extends vt.Ds{constructor(h,f){super(h),this.project=f,this.index=0}_next(h){let f;const w=this.index++;try{f=this.project(h,w)}catch(T){return void this.destination.error(T)}this._innerSub(f)}_innerSub(h){const f=this.innerSubscription;f&&f.unsubscribe();const w=new vt.IY(this),T=this.destination;T.add(w),this.innerSubscription=(0,vt.ft)(h,w),this.innerSubscription!==w&&T.add(this.innerSubscription)}_complete(){const{innerSubscription:h}=this;(!h||h.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(h){this.destination.next(h)}}const Xr=(()=>{function y(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return y.prototype=Object.create(Error.prototype),y})();function Ti(y){return h=>0===y?ot():h.lift(new ur(y))}class ur{constructor(h){if(this.total=h,this.total<0)throw new Xr}call(h,f){return f.subscribe(new ei(h,this.total))}}class ei extends Z.L{constructor(h,f){super(h),this.total=f,this.count=0}_next(h){const f=this.total,w=++this.count;w<=f&&(this.destination.next(h),w===f&&(this.destination.complete(),this.unsubscribe()))}}function Sn(y,h){let f=!1;return arguments.length>=2&&(f=!0),function(T){return T.lift(new Mn(y,h,f))}}class Mn{constructor(h,f,w=!1){this.accumulator=h,this.seed=f,this.hasSeed=w}call(h,f){return f.subscribe(new Xi(h,this.accumulator,this.seed,this.hasSeed))}}class Xi extends Z.L{constructor(h,f,w,T){super(h),this.accumulator=f,this._seed=w,this.hasSeed=T,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 f=this.index++;let w;try{w=this.accumulator(this.seed,h,f)}catch(T){this.destination.error(T)}this.seed=w,this.destination.next(w)}}function Ar(y){return function(f){const w=new _r(y),T=f.lift(w);return w.caught=T}}class _r{constructor(h){this.selector=h}call(h,f){return f.subscribe(new Qn(h,this.selector,this.caught))}}class Qn extends vt.Ds{constructor(h,f,w){super(h),this.selector=f,this.caught=w}error(h){if(!this.isStopped){let f;try{f=this.selector(h,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const w=new vt.IY(this);this.add(w);const T=(0,vt.ft)(f,w);T!==w&&this.add(T)}}}var wr=F(2198);function Ir(y){return function(f){return 0===y?ot():f.lift(new Fi(y))}}class Fi{constructor(h){if(this.total=h,this.total<0)throw new Xr}call(h,f){return f.subscribe(new Hr(h,this.total))}}class Hr extends Z.L{constructor(h,f){super(h),this.total=f,this.ring=new Array,this.count=0}_next(h){const f=this.ring,w=this.total,T=this.count++;f.length<w?f.push(h):f[T%w]=h}_complete(){const h=this.destination;let f=this.count;if(f>0){const w=this.count>=this.total?this.total:this.count,T=this.ring;for(let k=0;k<w;k++){const W=f++%w;h.next(T[W])}}h.complete()}}function eo(y=Mr){return h=>h.lift(new Dr(y))}class Dr{constructor(h){this.errorFactory=h}call(h,f){return f.subscribe(new Nr(h,this.errorFactory))}}class Nr extends Z.L{constructor(h,f){super(h),this.errorFactory=f,this.hasValue=!1}_next(h){this.hasValue=!0,this.destination.next(h)}_complete(){if(this.hasValue)return this.destination.complete();{let h;try{h=this.errorFactory()}catch(f){h=f}this.destination.error(h)}}}function Mr(){return new In}function zr(y=null){return h=>h.lift(new We(y))}class We{constructor(h){this.defaultValue=h}call(h,f){return f.subscribe(new he(h,this.defaultValue))}}class he extends Z.L{constructor(h,f){super(h),this.defaultValue=f,this.isEmpty=!0}_next(h){this.isEmpty=!1,this.destination.next(h)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var q=F(5379);function ke(y,h){const f=arguments.length>=2;return w=>w.pipe(y?(0,wr.h)((T,k)=>y(T,k,w)):q.y,Ti(1),f?zr(h):eo(()=>new In))}function qe(){}var mt=F(7043);function hn(y,h,f){return function(T){return T.lift(new jt(y,h,f))}}class jt{constructor(h,f,w){this.nextOrObserver=h,this.error=f,this.complete=w}call(h,f){return f.subscribe(new Dt(h,this.nextOrObserver,this.error,this.complete))}}class Dt extends Z.L{constructor(h,f,w,T){super(h),this._tapNext=qe,this._tapError=qe,this._tapComplete=qe,this._tapError=w||qe,this._tapComplete=T||qe,(0,mt.m)(f)?(this._context=this,this._tapNext=f):f&&(this._context=f,this._tapNext=f.next||qe,this._tapError=f.error||qe,this._tapComplete=f.complete||qe)}_next(h){try{this._tapNext.call(this._context,h)}catch(f){return void this.destination.error(f)}this.destination.next(h)}_error(h){try{this._tapError.call(this._context,h)}catch(f){return void this.destination.error(f)}this.destination.error(h)}_complete(){try{this._tapComplete.call(this._context)}catch(h){return void this.destination.error(h)}return this.destination.complete()}}var Wr=F(2654);class Rn{constructor(h){this.callback=h}call(h,f){return f.subscribe(new $t(h,this.callback))}}class $t extends Z.L{constructor(h,f){super(h),this.add(new Wr.w(f))}}var sn=F(1406),Yt=F(1709),le=F(4327);class ue{constructor(h,f){this.id=h,this.url=f}}class Re extends ue{constructor(h,f,w="imperative",T=null){super(h,f),this.navigationTrigger=w,this.restoredState=T}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Me extends ue{constructor(h,f,w){super(h,f),this.urlAfterRedirects=w}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class je extends ue{constructor(h,f,w){super(h,f),this.reason=w}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ze extends ue{constructor(h,f,w){super(h,f),this.error=w}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class dt extends ue{constructor(h,f,w,T){super(h,f),this.urlAfterRedirects=w,this.state=T}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class St extends ue{constructor(h,f,w,T){super(h,f),this.urlAfterRedirects=w,this.state=T}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lt extends ue{constructor(h,f,w,T,k){super(h,f),this.urlAfterRedirects=w,this.state=T,this.shouldActivate=k}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gt extends ue{constructor(h,f,w,T){super(h,f),this.urlAfterRedirects=w,this.state=T}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bt extends ue{constructor(h,f,w,T){super(h,f),this.urlAfterRedirects=w,this.state=T}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class an{constructor(h){this.route=h}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ve{constructor(h){this.route=h}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Q{constructor(h){this.snapshot=h}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ${constructor(h){this.snapshot=h}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class be{constructor(h){this.snapshot=h}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Te{constructor(h){this.snapshot=h}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ze{constructor(h,f,w){this.routerEvent=h,this.position=f,this.anchor=w}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Ke="primary";class Qt{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const f=this.params[h];return Array.isArray(f)?f[0]:f}return null}getAll(h){if(this.has(h)){const f=this.params[h];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function Vt(y){return new Qt(y)}const Un="ngNavigationCancelingError";function tn(y){const h=Error("NavigationCancelingError: "+y);return h[Un]=!0,h}function ln(y,h,f){const w=f.path.split("/");if(w.length>y.length||"full"===f.pathMatch&&(h.hasChildren()||w.length<y.length))return null;const T={};for(let k=0;k<w.length;k++){const W=w[k],te=y[k];if(W.startsWith(":"))T[W.substring(1)]=te;else if(W!==te.path)return null}return{consumed:y.slice(0,w.length),posParams:T}}function Ct(y,h){const f=y?Object.keys(y):void 0,w=h?Object.keys(h):void 0;if(!f||!w||f.length!=w.length)return!1;let T;for(let k=0;k<f.length;k++)if(T=f[k],!en(y[T],h[T]))return!1;return!0}function en(y,h){if(Array.isArray(y)&&Array.isArray(h)){if(y.length!==h.length)return!1;const f=[...y].sort(),w=[...h].sort();return f.every((T,k)=>w[k]===T)}return y===h}function Be(y){return Array.prototype.concat.apply([],y)}function It(y){return y.length>0?y[y.length-1]:null}function Rt(y,h){for(const f in y)y.hasOwnProperty(f)&&h(y[f],f)}function jn(y){return(0,v.CqO)(y)?y:(0,v.QGY)(y)?(0,on.D)(Promise.resolve(y)):(0,Qe.of)(y)}const Tn={exact:function ge(y,h,f){if(!_t(y.segments,h.segments)||!it(y.segments,h.segments,f)||y.numberOfChildren!==h.numberOfChildren)return!1;for(const w in h.children)if(!y.children[w]||!ge(y.children[w],h.children[w],f))return!1;return!0},subset:Zt},Pt={exact:function se(y,h){return Ct(y,h)},subset:function kt(y,h){return Object.keys(h).length<=Object.keys(y).length&&Object.keys(h).every(f=>en(y[f],h[f]))},ignored:()=>!0};function Tt(y,h,f){return Tn[f.paths](y.root,h.root,f.matrixParams)&&Pt[f.queryParams](y.queryParams,h.queryParams)&&!("exact"===f.fragment&&y.fragment!==h.fragment)}function Zt(y,h,f){return cr(y,h,h.segments,f)}function cr(y,h,f,w){if(y.segments.length>f.length){const T=y.segments.slice(0,f.length);return!(!_t(T,f)||h.hasChildren()||!it(T,f,w))}if(y.segments.length===f.length){if(!_t(y.segments,f)||!it(y.segments,f,w))return!1;for(const T in h.children)if(!y.children[T]||!Zt(y.children[T],h.children[T],w))return!1;return!0}{const T=f.slice(0,y.segments.length),k=f.slice(y.segments.length);return!!(_t(y.segments,T)&&it(y.segments,T,w)&&y.children[Ke])&&cr(y.children[Ke],h,k,w)}}function it(y,h,f){return h.every((w,T)=>Pt[f](y[T].parameters,w.parameters))}class xe{constructor(h,f,w){this.root=h,this.queryParams=f,this.fragment=w}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vt(this.queryParams)),this._queryParamMap}toString(){return Nn.serialize(this)}}class Ne{constructor(h,f){this.segments=h,this.children=f,this.parent=null,Rt(f,(w,T)=>w.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ln(this)}}class gt{constructor(h,f){this.path=h,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=Vt(this.parameters)),this._parameterMap}toString(){return kr(this)}}function _t(y,h){return y.length===h.length&&y.every((f,w)=>f.path===h[w].path)}class Bt{}class un{parse(h){const f=new hs(h);return new xe(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(h){const f=`/${or(h.root,!0)}`,w=function Rr(y){const h=Object.keys(y).map(f=>{const w=y[f];return Array.isArray(w)?w.map(T=>`${ir(f)}=${ir(T)}`).join("&"):`${ir(f)}=${ir(w)}`}).filter(f=>!!f);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${f}${w}${"string"==typeof h.fragment?`#${function ho(y){return encodeURI(y)}(h.fragment)}`:""}`}}const Nn=new un;function Ln(y){return y.segments.map(h=>kr(h)).join("/")}function or(y,h){if(!y.hasChildren())return Ln(y);if(h){const f=y.children[Ke]?or(y.children[Ke],!1):"",w=[];return Rt(y.children,(T,k)=>{k!==Ke&&w.push(`${k}:${or(T,!1)}`)}),w.length>0?`${f}(${w.join("//")})`:f}{const f=function zt(y,h){let f=[];return Rt(y.children,(w,T)=>{T===Ke&&(f=f.concat(h(w,T)))}),Rt(y.children,(w,T)=>{T!==Ke&&(f=f.concat(h(w,T)))}),f}(y,(w,T)=>T===Ke?[or(y.children[Ke],!1)]:[`${T}:${or(w,!1)}`]);return 1===Object.keys(y.children).length&&null!=y.children[Ke]?`${Ln(y)}/${f[0]}`:`${Ln(y)}/(${f.join("//")})`}}function br(y){return encodeURIComponent(y).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ir(y){return br(y).replace(/%3B/gi,";")}function ti(y){return br(y).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qn(y){return decodeURIComponent(y)}function qr(y){return qn(y.replace(/\+/g,"%20"))}function kr(y){return`${ti(y.path)}${function Ni(y){return Object.keys(y).map(h=>`;${ti(h)}=${ti(y[h])}`).join("")}(y.parameters)}`}const po=/^[^\/()?;=#]+/;function ki(y){const h=y.match(po);return h?h[0]:""}const Pi=/^[^=?&#]+/,Oi=/^[^&#]+/;class hs{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],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 f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let w={};return this.peekStartsWith("(")&&(w=this.parseParens(!1)),(h.length>0||Object.keys(f).length>0)&&(w[Ke]=new Ne(h,f)),w}parseSegment(){const h=ki(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(h),new gt(qn(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const f=ki(this.remaining);if(!f)return;this.capture(f);let w="";if(this.consumeOptional("=")){const T=ki(this.remaining);T&&(w=T,this.capture(w))}h[qn(f)]=qn(w)}parseQueryParam(h){const f=function Ci(y){const h=y.match(Pi);return h?h[0]:""}(this.remaining);if(!f)return;this.capture(f);let w="";if(this.consumeOptional("=")){const W=function aa(y){const h=y.match(Oi);return h?h[0]:""}(this.remaining);W&&(w=W,this.capture(w))}const T=qr(f),k=qr(w);if(h.hasOwnProperty(T)){let W=h[T];Array.isArray(W)||(W=[W],h[T]=W),W.push(k)}else h[T]=k}parseParens(h){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const w=ki(this.remaining),T=this.remaining[w.length];if("/"!==T&&")"!==T&&";"!==T)throw new Error(`Cannot parse url '${this.url}'`);let k;w.indexOf(":")>-1?(k=w.substr(0,w.indexOf(":")),this.capture(k),this.capture(":")):h&&(k=Ke);const W=this.parseChildren();f[k]=1===Object.keys(W).length?W[Ke]:new Ne([],W),this.consumeOptional("//")}return f}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 ps{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const f=this.pathFromRoot(h);return f.length>1?f[f.length-2]:null}children(h){const f=to(h,this._root);return f?f.children.map(w=>w.value):[]}firstChild(h){const f=to(h,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(h){const f=Yo(h,this._root);return f.length<2?[]:f[f.length-2].children.map(T=>T.value).filter(T=>T!==h)}pathFromRoot(h){return Yo(h,this._root).map(f=>f.value)}}function to(y,h){if(y===h.value)return h;for(const f of h.children){const w=to(y,f);if(w)return w}return null}function Yo(y,h){if(y===h.value)return[h];for(const f of h.children){const w=Yo(y,f);if(w.length)return w.unshift(h),w}return[]}class ni{constructor(h,f){this.value=h,this.children=f}toString(){return`TreeNode(${this.value})`}}function $i(y){const h={};return y&&y.children.forEach(f=>h[f.value.outlet]=f),h}class Po extends ps{constructor(h,f){super(h),this.snapshot=f,ua(this,h)}toString(){return this.snapshot.toString()}}function go(y,h){const f=function la(y,h){const W=new zn([],{},{},"",{},Ke,h,null,y.root,-1,{});return new Yn("",new ni(W,[]))}(y,h),w=new pe([new gt("",{})]),T=new pe({}),k=new pe({}),W=new pe({}),te=new pe(""),He=new Gi(w,T,W,te,k,Ke,h,f.root);return He.snapshot=f.root,new Po(new ni(He,[]),f)}class Gi{constructor(h,f,w,T,k,W,te,He){this.url=h,this.params=f,this.queryParams=w,this.fragment=T,this.data=k,this.outlet=W,this.component=te,this._futureSnapshot=He}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,at.U)(h=>Vt(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,at.U)(h=>Vt(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Fs(y,h="emptyOnly"){const f=y.pathFromRoot;let w=0;if("always"!==h)for(w=f.length-1;w>=1;){const T=f[w],k=f[w-1];if(T.routeConfig&&""===T.routeConfig.path)w--;else{if(k.component)break;w--}}return function gs(y){return y.reduce((h,f)=>({params:{...h.params,...f.params},data:{...h.data,...f.data},resolve:{...h.resolve,...f._resolvedData}}),{params:{},data:{},resolve:{}})}(f.slice(w))}class zn{constructor(h,f,w,T,k,W,te,He,Nt,ar,Xt){this.url=h,this.params=f,this.queryParams=w,this.fragment=T,this.data=k,this.outlet=W,this.component=te,this.routeConfig=He,this._urlSegment=Nt,this._lastPathIndex=ar,this._resolve=Xt}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=Vt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(w=>w.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Yn extends ps{constructor(h,f){super(f),this.url=h,ua(this,f)}toString(){return mo(this._root)}}function ua(y,h){h.value._routerState=y,h.children.forEach(f=>ua(y,f))}function mo(y){const h=y.children.length>0?` { ${y.children.map(mo).join(", ")} } `:"";return`${y.value}${h}`}function Oo(y){if(y.snapshot){const h=y.snapshot,f=y._futureSnapshot;y.snapshot=f,Ct(h.queryParams,f.queryParams)||y.queryParams.next(f.queryParams),h.fragment!==f.fragment&&y.fragment.next(f.fragment),Ct(h.params,f.params)||y.params.next(f.params),function Hn(y,h){if(y.length!==h.length)return!1;for(let f=0;f<y.length;++f)if(!Ct(y[f],h[f]))return!1;return!0}(h.url,f.url)||y.url.next(f.url),Ct(h.data,f.data)||y.data.next(f.data)}else y.snapshot=y._futureSnapshot,y.data.next(y._futureSnapshot.data)}function oi(y,h){const f=Ct(y.params,h.params)&&function Et(y,h){return _t(y,h)&&y.every((f,w)=>Ct(f.parameters,h[w].parameters))}(y.url,h.url);return f&&!(!y.parent!=!h.parent)&&(!y.parent||oi(y.parent,h.parent))}function Li(y,h,f){if(f&&y.shouldReuseRoute(h.value,f.value.snapshot)){const w=f.value;w._futureSnapshot=h.value;const T=function zi(y,h,f){return h.children.map(w=>{for(const T of f.children)if(y.shouldReuseRoute(w.value,T.value.snapshot))return Li(y,w,T);return Li(y,w)})}(y,h,f);return new ni(w,T)}{if(y.shouldAttach(h.value)){const k=y.retrieve(h.value);if(null!==k){const W=k.route;return W.value._futureSnapshot=h.value,W.children=h.children.map(te=>Li(y,te)),W}}const w=function La(y){return new Gi(new pe(y.url),new pe(y.params),new pe(y.queryParams),new pe(y.fragment),new pe(y.data),y.outlet,y.component,y)}(h.value),T=h.children.map(k=>Li(y,k));return new ni(w,T)}}function Vo(y){return"object"==typeof y&&null!=y&&!y.outlets&&!y.segmentPath}function xi(y){return"object"==typeof y&&null!=y&&y.outlets}function Bo(y,h,f,w,T){let k={};if(w&&Rt(w,(te,He)=>{k[He]=Array.isArray(te)?te.map(Nt=>`${Nt}`):`${te}`}),y===h)return new xe(f,k,T);const W=_o(y,h,f);return new xe(W,k,T)}function _o(y,h,f){const w={};return Rt(y.children,(T,k)=>{w[k]=T===h?f:_o(T,h,f)}),new Ne(y.segments,w)}class Lr{constructor(h,f,w){if(this.isAbsolute=h,this.numberOfDoubleDots=f,this.commands=w,h&&w.length>0&&Vo(w[0]))throw new Error("Root segment cannot have matrix parameters");const T=w.find(xi);if(T&&T!==It(w))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yo{constructor(h,f,w){this.segmentGroup=h,this.processChildren=f,this.index=w}}function S(y,h,f){if(y||(y=new Ne([],{})),0===y.segments.length&&y.hasChildren())return L(y,h,f);const w=function fe(y,h,f){let w=0,T=h;const k={match:!1,pathIndex:0,commandIndex:0};for(;T<y.segments.length;){if(w>=f.length)return k;const W=y.segments[T],te=f[w];if(xi(te))break;const He=`${te}`,Nt=w<f.length-1?f[w+1]:null;if(T>0&&void 0===He)break;if(He&&Nt&&"object"==typeof Nt&&void 0===Nt.outlets){if(!Wn(He,Nt,W))return k;w+=2}else{if(!Wn(He,{},W))return k;w++}T++}return{match:!0,pathIndex:T,commandIndex:w}}(y,h,f),T=f.slice(w.commandIndex);if(w.match&&w.pathIndex<y.segments.length){const k=new Ne(y.segments.slice(0,w.pathIndex),{});return k.children[Ke]=new Ne(y.segments.slice(w.pathIndex),y.children),L(k,0,T)}return w.match&&0===T.length?new Ne(y.segments,{}):w.match&&!y.hasChildren()?Ie(y,h,f):w.match?L(y,0,T):Ie(y,h,f)}function L(y,h,f){if(0===f.length)return new Ne(y.segments,{});{const w=function R(y){return xi(y[0])?y[0].outlets:{[Ke]:y}}(f),T={};return Rt(w,(k,W)=>{"string"==typeof k&&(k=[k]),null!==k&&(T[W]=S(y.children[W],h,k))}),Rt(y.children,(k,W)=>{void 0===w[W]&&(T[W]=k)}),new Ne(y.segments,T)}}function Ie(y,h,f){const w=y.segments.slice(0,h);let T=0;for(;T<f.length;){const k=f[T];if(xi(k)){const He=ut(k.outlets);return new Ne(w,He)}if(0===T&&Vo(f[0])){w.push(new gt(y.segments[h].path,ht(f[0]))),T++;continue}const W=xi(k)?k.outlets[Ke]:`${k}`,te=T<f.length-1?f[T+1]:null;W&&te&&Vo(te)?(w.push(new gt(W,ht(te))),T+=2):(w.push(new gt(W,{})),T++)}return new Ne(w,{})}function ut(y){const h={};return Rt(y,(f,w)=>{"string"==typeof f&&(f=[f]),null!==f&&(h[w]=Ie(new Ne([],{}),0,f))}),h}function ht(y){const h={};return Rt(y,(f,w)=>h[w]=`${f}`),h}function Wn(y,h,f){return y==f.path&&Ct(h,f.parameters)}class cn{constructor(h,f,w,T){this.routeReuseStrategy=h,this.futureState=f,this.currState=w,this.forwardEvent=T}activate(h){const f=this.futureState._root,w=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,w,h),Oo(this.futureState.root),this.activateChildRoutes(f,w,h)}deactivateChildRoutes(h,f,w){const T=$i(f);h.children.forEach(k=>{const W=k.value.outlet;this.deactivateRoutes(k,T[W],w),delete T[W]}),Rt(T,(k,W)=>{this.deactivateRouteAndItsChildren(k,w)})}deactivateRoutes(h,f,w){const T=h.value,k=f?f.value:null;if(T===k)if(T.component){const W=w.getContext(T.outlet);W&&this.deactivateChildRoutes(h,f,W.children)}else this.deactivateChildRoutes(h,f,w);else k&&this.deactivateRouteAndItsChildren(f,w)}deactivateRouteAndItsChildren(h,f){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,f):this.deactivateRouteAndOutlet(h,f)}detachAndStoreRouteSubtree(h,f){const w=f.getContext(h.value.outlet),T=w&&h.value.component?w.children:f,k=$i(h);for(const W of Object.keys(k))this.deactivateRouteAndItsChildren(k[W],T);if(w&&w.outlet){const W=w.outlet.detach(),te=w.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:W,route:h,contexts:te})}}deactivateRouteAndOutlet(h,f){const w=f.getContext(h.value.outlet),T=w&&h.value.component?w.children:f,k=$i(h);for(const W of Object.keys(k))this.deactivateRouteAndItsChildren(k[W],T);w&&w.outlet&&(w.outlet.deactivate(),w.children.onOutletDeactivated(),w.attachRef=null,w.resolver=null,w.route=null)}activateChildRoutes(h,f,w){const T=$i(f);h.children.forEach(k=>{this.activateRoutes(k,T[k.value.outlet],w),this.forwardEvent(new Te(k.value.snapshot))}),h.children.length&&this.forwardEvent(new $(h.value.snapshot))}activateRoutes(h,f,w){const T=h.value,k=f?f.value:null;if(Oo(T),T===k)if(T.component){const W=w.getOrCreateContext(T.outlet);this.activateChildRoutes(h,f,W.children)}else this.activateChildRoutes(h,f,w);else if(T.component){const W=w.getOrCreateContext(T.outlet);if(this.routeReuseStrategy.shouldAttach(T.snapshot)){const te=this.routeReuseStrategy.retrieve(T.snapshot);this.routeReuseStrategy.store(T.snapshot,null),W.children.onOutletReAttached(te.contexts),W.attachRef=te.componentRef,W.route=te.route.value,W.outlet&&W.outlet.attach(te.componentRef,te.route.value),Oo(te.route.value),this.activateChildRoutes(h,null,W.children)}else{const te=function qt(y){for(let h=y.parent;h;h=h.parent){const f=h.routeConfig;if(f&&f._loadedConfig)return f._loadedConfig;if(f&&f.component)return null}return null}(T.snapshot),He=te?te.module.componentFactoryResolver:null;W.attachRef=null,W.route=T,W.resolver=He,W.outlet&&W.outlet.activateWith(T,He),this.activateChildRoutes(h,null,W.children)}}else this.activateChildRoutes(h,null,w)}}class yr{constructor(h,f){this.routes=h,this.module=f}}function Vn(y){return"function"==typeof y}function P(y){return y instanceof xe}const xt=Symbol("INITIAL_VALUE");function sr(){return kn(y=>function ie(...y){let h,f;return(0,ae.K)(y[y.length-1])&&(f=y.pop()),"function"==typeof y[y.length-1]&&(h=y.pop()),1===y.length&&(0,me.k)(y[0])&&(y=y[0]),(0,_e.n)(y,f).lift(new Ae(h))}(y.map(h=>h.pipe(Ti(1),function vi(...y){const h=y[y.length-1];return(0,ae.K)(h)?(y.pop(),f=>Ft(y,f,h)):f=>Ft(y,f)}(xt)))).pipe(Sn((h,f)=>{let w=!1;return f.reduce((T,k,W)=>T!==xt?T:(k===xt&&(w=!0),w||!1!==k&&W!==f.length-1&&!P(k)?T:k),h)},xt),(0,wr.h)(h=>h!==xt),(0,at.U)(h=>P(h)?h:!0===h),Ti(1)))}class Yr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Wi,this.attachRef=null}}class Wi{constructor(){this.contexts=new Map}onChildOutletCreated(h,f){const w=this.getOrCreateContext(h);w.outlet=f,this.contexts.set(h,w)}onChildOutletDestroyed(h){const f=this.getContext(h);f&&(f.outlet=null,f.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let f=this.getContext(h);return f||(f=new Yr,this.contexts.set(h,f)),f}getContext(h){return this.contexts.get(h)||null}}let vo=(()=>{class y{constructor(f,w,T,k,W){this.parentContexts=f,this.location=w,this.resolver=T,this.changeDetector=W,this.activated=null,this._activatedRoute=null,this.activateEvents=new v.vpe,this.deactivateEvents=new v.vpe,this.attachEvents=new v.vpe,this.detachEvents=new v.vpe,this.name=k||Ke,f.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const f=this.parentContexts.getContext(this.name);f&&f.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.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 f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,w){this.activated=f,this._activatedRoute=w,this.location.insert(f.hostView),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,w){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=f;const W=(w=w||this.resolver).resolveComponentFactory(f._futureSnapshot.routeConfig.component),te=this.parentContexts.getOrCreateContext(this.name).children,He=new dn(f,te,this.location.injector);this.activated=this.location.createComponent(W,this.location.length,He),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return y.\u0275fac=function(f){return new(f||y)(v.Y36(Wi),v.Y36(v.s_b),v.Y36(v._Vd),v.$8M("name"),v.Y36(v.sBO))},y.\u0275dir=v.lG2({type:y,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),y})();class dn{constructor(h,f,w){this.route=h,this.childContexts=f,this.parent=w}get(h,f){return h===Gi?this.route:h===Wi?this.childContexts:this.parent.get(h,f)}}let ks=(()=>{class y{}return y.\u0275fac=function(f){return new(f||y)},y.\u0275cmp=v.Xpm({type:y,selectors:[["ng-component"]],decls:1,vars:0,template:function(f,w){1&f&&v._UZ(0,"router-outlet")},directives:[vo],encapsulation:2}),y})();function Va(y,h=""){for(let f=0;f<y.length;f++){const w=y[f];pl(w,ca(h,w))}}function pl(y,h){y.children&&Va(y.children,h)}function ca(y,h){return h?y||h.path?y&&!h.path?`${y}/`:!y&&h.path?h.path:`${y}/${h.path}`:"":y}function fi(y){const h=y.children&&y.children.map(fi),f=h?{...y,children:h}:{...y};return!f.component&&(h||f.loadChildren)&&f.outlet&&f.outlet!==Ke&&(f.component=ks),f}function ri(y){return y.outlet||Ke}function Ba(y,h){const f=y.filter(w=>ri(w)===h);return f.push(...y.filter(w=>ri(w)!==h)),f}const Ai={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function et(y,h,f){if(""===h.path)return"full"===h.pathMatch&&(y.hasChildren()||f.length>0)?{...Ai}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const T=(h.matcher||ln)(f,y,h);if(!T)return{...Ai};const k={};Rt(T.posParams,(te,He)=>{k[He]=te.path});const W=T.consumed.length>0?{...k,...T.consumed[T.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:T.consumed,remainingSegments:f.slice(T.consumed.length),parameters:W,positionalParamSegments:T.posParams??{}}}function An(y,h,f,w,T="corrected"){if(f.length>0&&function gl(y,h,f){return f.some(w=>wi(y,h,w)&&ri(w)!==Ke)}(y,f,w)){const W=new Ne(h,function Tr(y,h,f,w){const T={};T[Ke]=w,w._sourceSegment=y,w._segmentIndexShift=h.length;for(const k of f)if(""===k.path&&ri(k)!==Ke){const W=new Ne([],{});W._sourceSegment=y,W._segmentIndexShift=h.length,T[ri(k)]=W}return T}(y,h,w,new Ne(f,y.children)));return W._sourceSegment=y,W._segmentIndexShift=h.length,{segmentGroup:W,slicedSegments:[]}}if(0===f.length&&function Ls(y,h,f){return f.some(w=>wi(y,h,w))}(y,f,w)){const W=new Ne(y.segments,function da(y,h,f,w,T,k){const W={};for(const te of w)if(wi(y,f,te)&&!T[ri(te)]){const He=new Ne([],{});He._sourceSegment=y,He._segmentIndexShift="legacy"===k?y.segments.length:h.length,W[ri(te)]=He}return{...T,...W}}(y,h,f,w,y.children,T));return W._sourceSegment=y,W._segmentIndexShift=h.length,{segmentGroup:W,slicedSegments:f}}const k=new Ne(y.segments,y.children);return k._sourceSegment=y,k._segmentIndexShift=h.length,{segmentGroup:k,slicedSegments:f}}function wi(y,h,f){return(!(y.hasChildren()||h.length>0)||"full"!==f.pathMatch)&&""===f.path}function fa(y,h,f,w){return!!(ri(y)===w||w!==Ke&&wi(h,f,y))&&("**"===y.path||et(h,y,f).matched)}function Vs(y,h,f){return 0===h.length&&!y.children[f]}class Uo{constructor(h){this.segmentGroup=h||null}}class ml{constructor(h){this.urlTree=h}}function ha(y){return Ye(new Uo(y))}function Ko(y){return Ye(new ml(y))}class _s{constructor(h,f,w,T,k){this.configLoader=f,this.urlSerializer=w,this.urlTree=T,this.config=k,this.allowRedirects=!0,this.ngModule=h.get(v.h0i)}apply(){const h=An(this.urlTree.root,[],[],this.config).segmentGroup,f=new Ne(h.segments,h.children);return this.expandSegmentGroup(this.ngModule,this.config,f,Ke).pipe((0,at.U)(k=>this.createUrlTree(Ua(k),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ar(k=>{if(k instanceof ml)return this.allowRedirects=!1,this.match(k.urlTree);throw k instanceof Uo?this.noMatchError(k):k}))}match(h){return this.expandSegmentGroup(this.ngModule,this.config,h.root,Ke).pipe((0,at.U)(T=>this.createUrlTree(Ua(T),h.queryParams,h.fragment))).pipe(Ar(T=>{throw T instanceof Uo?this.noMatchError(T):T}))}noMatchError(h){return new Error(`Cannot match any routes. URL Segment: '${h.segmentGroup}'`)}createUrlTree(h,f,w){const T=h.segments.length>0?new Ne([],{[Ke]:h}):h;return new xe(T,f,w)}expandSegmentGroup(h,f,w,T){return 0===w.segments.length&&w.hasChildren()?this.expandChildren(h,f,w).pipe((0,at.U)(k=>new Ne([],k))):this.expandSegment(h,w,f,w.segments,T,!0)}expandChildren(h,f,w){const T=[];for(const k of Object.keys(w.children))"primary"===k?T.unshift(k):T.push(k);return(0,on.D)(T).pipe((0,sn.b)(k=>{const W=w.children[k],te=Ba(f,k);return this.expandSegmentGroup(h,te,W,k).pipe((0,at.U)(He=>({segment:He,outlet:k})))}),Sn((k,W)=>(k[W.outlet]=W.segment,k),{}),function rt(y,h){const f=arguments.length>=2;return w=>w.pipe(y?(0,wr.h)((T,k)=>y(T,k,w)):q.y,Ir(1),f?zr(h):eo(()=>new In))}())}expandSegment(h,f,w,T,k,W){return(0,on.D)(w).pipe((0,sn.b)(te=>this.expandSegmentAgainstRoute(h,f,w,te,T,k,W).pipe(Ar(Nt=>{if(Nt instanceof Uo)return(0,Qe.of)(null);throw Nt}))),ke(te=>!!te),Ar((te,He)=>{if(te instanceof In||"EmptyError"===te.name)return Vs(f,T,k)?(0,Qe.of)(new Ne([],{})):ha(f);throw te}))}expandSegmentAgainstRoute(h,f,w,T,k,W,te){return fa(T,f,k,W)?void 0===T.redirectTo?this.matchSegmentAgainstRoute(h,f,T,k,W):te&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,f,w,T,k,W):ha(f):ha(f)}expandSegmentAgainstRouteUsingRedirect(h,f,w,T,k,W){return"**"===T.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,w,T,W):this.expandRegularSegmentAgainstRouteUsingRedirect(h,f,w,T,k,W)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,f,w,T){const k=this.applyRedirectCommands([],w.redirectTo,{});return w.redirectTo.startsWith("/")?Ko(k):this.lineralizeSegments(w,k).pipe((0,Yt.zg)(W=>{const te=new Ne(W,{});return this.expandSegment(h,te,f,W,T,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,f,w,T,k,W){const{matched:te,consumedSegments:He,remainingSegments:Nt,positionalParamSegments:ar}=et(f,T,k);if(!te)return ha(f);const Xt=this.applyRedirectCommands(He,T.redirectTo,ar);return T.redirectTo.startsWith("/")?Ko(Xt):this.lineralizeSegments(T,Xt).pipe((0,Yt.zg)(rr=>this.expandSegment(h,f,w,rr.concat(Nt),W,!1)))}matchSegmentAgainstRoute(h,f,w,T,k){if("**"===w.path)return w.loadChildren?(w._loadedConfig?(0,Qe.of)(w._loadedConfig):this.configLoader.load(h.injector,w)).pipe((0,at.U)(Xt=>(w._loadedConfig=Xt,new Ne(T,{})))):(0,Qe.of)(new Ne(T,{}));const{matched:W,consumedSegments:te,remainingSegments:He}=et(f,w,T);return W?this.getChildConfig(h,w,T).pipe((0,Yt.zg)(ar=>{const Xt=ar.module,rr=ar.routes,{segmentGroup:mn,slicedSegments:Pr}=An(f,te,He,rr),Xo=new Ne(mn.segments,mn.children);if(0===Pr.length&&Xo.hasChildren())return this.expandChildren(Xt,rr,Xo).pipe((0,at.U)(ui=>new Ne(te,ui)));if(0===rr.length&&0===Pr.length)return(0,Qe.of)(new Ne(te,{}));const es=ri(w)===k;return this.expandSegment(Xt,Xo,rr,Pr,es?Ke:k,!0).pipe((0,at.U)(Ys=>new Ne(te.concat(Ys.segments),Ys.children)))})):ha(f)}getChildConfig(h,f,w){return f.children?(0,Qe.of)(new yr(f.children,h)):f.loadChildren?void 0!==f._loadedConfig?(0,Qe.of)(f._loadedConfig):this.runCanLoadGuards(h.injector,f,w).pipe((0,Yt.zg)(T=>T?this.configLoader.load(h.injector,f).pipe((0,at.U)(k=>(f._loadedConfig=k,k))):function Zr(y){return Ye(tn(`Cannot load children because the guard of the route "path: '${y.path}'" returned false`))}(f))):(0,Qe.of)(new yr([],h))}runCanLoadGuards(h,f,w){const T=f.canLoad;if(!T||0===T.length)return(0,Qe.of)(!0);const k=T.map(W=>{const te=h.get(W);let He;if(function D(y){return y&&Vn(y.canLoad)}(te))He=te.canLoad(f,w);else{if(!Vn(te))throw new Error("Invalid CanLoad guard");He=te(f,w)}return jn(He)});return(0,Qe.of)(k).pipe(sr(),hn(W=>{if(!P(W))return;const te=tn(`Redirecting to "${this.urlSerializer.serialize(W)}"`);throw te.url=W,te}),(0,at.U)(W=>!0===W))}lineralizeSegments(h,f){let w=[],T=f.root;for(;;){if(w=w.concat(T.segments),0===T.numberOfChildren)return(0,Qe.of)(w);if(T.numberOfChildren>1||!T.children[Ke])return Ye(new Error(`Only absolute redirects can have named outlets. redirectTo: '${h.redirectTo}'`));T=T.children[Ke]}}applyRedirectCommands(h,f,w){return this.applyRedirectCreatreUrlTree(f,this.urlSerializer.parse(f),h,w)}applyRedirectCreatreUrlTree(h,f,w,T){const k=this.createSegmentGroup(h,f.root,w,T);return new xe(k,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(h,f){const w={};return Rt(h,(T,k)=>{if("string"==typeof T&&T.startsWith(":")){const te=T.substring(1);w[k]=f[te]}else w[k]=T}),w}createSegmentGroup(h,f,w,T){const k=this.createSegments(h,f.segments,w,T);let W={};return Rt(f.children,(te,He)=>{W[He]=this.createSegmentGroup(h,te,w,T)}),new Ne(k,W)}createSegments(h,f,w,T){return f.map(k=>k.path.startsWith(":")?this.findPosParam(h,k,T):this.findOrReturn(k,w))}findPosParam(h,f,w){const T=w[f.path.substring(1)];if(!T)throw new Error(`Cannot redirect to '${h}'. Cannot find '${f.path}'.`);return T}findOrReturn(h,f){let w=0;for(const T of f){if(T.path===h.path)return f.splice(w),T;w++}return h}}function Ua(y){const h={};for(const w of Object.keys(y.children)){const k=Ua(y.children[w]);(k.segments.length>0||k.hasChildren())&&(h[w]=k)}return function Co(y){if(1===y.numberOfChildren&&y.children[Ke]){const h=y.children[Ke];return new Ne(y.segments.concat(h.segments),h.children)}return y}(new Ne(y.segments,h))}class qi{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class Bs{constructor(h,f){this.component=h,this.route=f}}function Ha(y,h,f){const w=y._root;return vs(w,h?h._root:null,f,[w.value])}function ys(y,h,f){const w=function pa(y){if(!y)return null;for(let h=y.parent;h;h=h.parent){const f=h.routeConfig;if(f&&f._loadedConfig)return f._loadedConfig}return null}(h);return(w?w.module.injector:f).get(y)}function vs(y,h,f,w,T={canDeactivateChecks:[],canActivateChecks:[]}){const k=$i(h);return y.children.forEach(W=>{(function Us(y,h,f,w,T={canDeactivateChecks:[],canActivateChecks:[]}){const k=y.value,W=h?h.value:null,te=f?f.getContext(y.value.outlet):null;if(W&&k.routeConfig===W.routeConfig){const He=function ye(y,h,f){if("function"==typeof f)return f(y,h);switch(f){case"pathParamsChange":return!_t(y.url,h.url);case"pathParamsOrQueryParamsChange":return!_t(y.url,h.url)||!Ct(y.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!oi(y,h)||!Ct(y.queryParams,h.queryParams);default:return!oi(y,h)}}(W,k,k.routeConfig.runGuardsAndResolvers);He?T.canActivateChecks.push(new qi(w)):(k.data=W.data,k._resolvedData=W._resolvedData),vs(y,h,k.component?te?te.children:null:f,w,T),He&&te&&te.outlet&&te.outlet.isActivated&&T.canDeactivateChecks.push(new Bs(te.outlet.component,W))}else W&&Le(h,te,T),T.canActivateChecks.push(new qi(w)),vs(y,null,k.component?te?te.children:null:f,w,T)})(W,k[W.value.outlet],f,w.concat([W.value]),T),delete k[W.value.outlet]}),Rt(k,(W,te)=>Le(W,f.getContext(te),T)),T}function Le(y,h,f){const w=$i(y),T=y.value;Rt(w,(k,W)=>{Le(k,T.component?h?h.children.getContext(W):null:h,f)}),f.canDeactivateChecks.push(new Bs(T.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,T))}class nr{}function Hs(y){return new ce.y(h=>h.error(y))}class Cs{constructor(h,f,w,T,k,W){this.rootComponentType=h,this.config=f,this.urlTree=w,this.url=T,this.paramsInheritanceStrategy=k,this.relativeLinkResolution=W}recognize(){const h=An(this.urlTree.root,[],[],this.config.filter(W=>void 0===W.redirectTo),this.relativeLinkResolution).segmentGroup,f=this.processSegmentGroup(this.config,h,Ke);if(null===f)return null;const w=new zn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ke,this.rootComponentType,null,this.urlTree.root,-1,{}),T=new ni(w,f),k=new Yn(this.url,T);return this.inheritParamsAndData(k._root),k}inheritParamsAndData(h){const f=h.value,w=Fs(f,this.paramsInheritanceStrategy);f.params=Object.freeze(w.params),f.data=Object.freeze(w.data),h.children.forEach(T=>this.inheritParamsAndData(T))}processSegmentGroup(h,f,w){return 0===f.segments.length&&f.hasChildren()?this.processChildren(h,f):this.processSegment(h,f,f.segments,w)}processChildren(h,f){const w=[];for(const k of Object.keys(f.children)){const W=f.children[k],te=Ba(h,k),He=this.processSegmentGroup(te,W,k);if(null===He)return null;w.push(...He)}const T=js(w);return function ga(y){y.sort((h,f)=>h.value.outlet===Ke?-1:f.value.outlet===Ke?1:h.value.outlet.localeCompare(f.value.outlet))}(T),T}processSegment(h,f,w,T){for(const k of h){const W=this.processSegmentAgainstRoute(k,f,w,T);if(null!==W)return W}return Vs(f,w,T)?[]:null}processSegmentAgainstRoute(h,f,w,T){if(h.redirectTo||!fa(h,f,w,T))return null;let k,W=[],te=[];if("**"===h.path){const mn=w.length>0?It(w).parameters:{};k=new zn(w,mn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$a(h),ri(h),h.component,h,jo(f),ya(f)+w.length,_l(h))}else{const mn=et(f,h,w);if(!mn.matched)return null;W=mn.consumedSegments,te=mn.remainingSegments,k=new zn(W,mn.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$a(h),ri(h),h.component,h,jo(f),ya(f)+W.length,_l(h))}const He=function ma(y){return y.children?y.children:y.loadChildren?y._loadedConfig.routes:[]}(h),{segmentGroup:Nt,slicedSegments:ar}=An(f,W,te,He.filter(mn=>void 0===mn.redirectTo),this.relativeLinkResolution);if(0===ar.length&&Nt.hasChildren()){const mn=this.processChildren(He,Nt);return null===mn?null:[new ni(k,mn)]}if(0===He.length&&0===ar.length)return[new ni(k,[])];const Xt=ri(h)===T,rr=this.processSegment(He,Nt,ar,Xt?Ke:T);return null===rr?null:[new ni(k,rr)]}}function gr(y){const h=y.value.routeConfig;return h&&""===h.path&&void 0===h.redirectTo}function js(y){const h=[],f=new Set;for(const w of y){if(!gr(w)){h.push(w);continue}const T=h.find(k=>w.value.routeConfig===k.value.routeConfig);void 0!==T?(T.children.push(...w.children),f.add(T)):h.push(w)}for(const w of f){const T=js(w.children);h.push(new ni(w.value,T))}return h.filter(w=>!f.has(w))}function jo(y){let h=y;for(;h._sourceSegment;)h=h._sourceSegment;return h}function ya(y){let h=y,f=h._segmentIndexShift?h._segmentIndexShift:0;for(;h._sourceSegment;)h=h._sourceSegment,f+=h._segmentIndexShift?h._segmentIndexShift:0;return f-1}function $a(y){return y.data||{}}function _l(y){return y.resolve||{}}function xo(y){return[...Object.keys(y),...Object.getOwnPropertySymbols(y)]}function wa(y){return kn(h=>{const f=y(h);return f?(0,on.D)(f).pipe((0,at.U)(()=>h)):(0,Qe.of)(h)})}class za extends class gu{shouldDetach(h){return!1}store(h,f){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,f){return h.routeConfig===f.routeConfig}}{}const ro=new v.OlP("ROUTES");class ws{constructor(h,f,w,T){this.injector=h,this.compiler=f,this.onLoadStartListener=w,this.onLoadEndListener=T}load(h,f){if(f._loader$)return f._loader$;this.onLoadStartListener&&this.onLoadStartListener(f);const T=this.loadModuleFactory(f.loadChildren).pipe((0,at.U)(k=>{this.onLoadEndListener&&this.onLoadEndListener(f);const W=k.create(h);return new yr(Be(W.injector.get(ro,void 0,v.XFs.Self|v.XFs.Optional)).map(fi),W)}),Ar(k=>{throw f._loader$=void 0,k}));return f._loader$=new Oe.c(T,()=>new we.xQ).pipe((0,le.x)()),f._loader$}loadModuleFactory(h){return jn(h()).pipe((0,Yt.zg)(f=>f instanceof v.YKP?(0,Qe.of)(f):(0,on.D)(this.compiler.compileModuleAsync(f))))}}class qa{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,f){return h}}function jl(y){throw y}function ba(y,h,f){return h.parse("/")}function Ao(y,h){return(0,Qe.of)(null)}const Ya={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$s={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hi=(()=>{class y{constructor(f,w,T,k,W,te,He){this.rootComponentType=f,this.urlSerializer=w,this.rootContexts=T,this.location=k,this.config=He,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new we.xQ,this.errorHandler=jl,this.malformedUriErrorHandler=ba,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ao,afterPreactivation:Ao},this.urlHandlingStrategy=new qa,this.routeReuseStrategy=new za,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=W.get(v.h0i),this.console=W.get(v.c2e);const Xt=W.get(v.R0b);this.isNgZoneEnabled=Xt instanceof v.R0b&&v.R0b.isInAngularZone(),this.resetConfig(He),this.currentUrlTree=function vn(){return new xe(new Ne([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ws(W,te,rr=>this.triggerEvent(new an(rr)),rr=>this.triggerEvent(new ve(rr))),this.routerState=go(this.currentUrlTree,this.rootComponentType),this.transitions=new pe({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(f){const w=this.events;return f.pipe((0,wr.h)(T=>0!==T.id),(0,at.U)(T=>({...T,extractedUrl:this.urlHandlingStrategy.extract(T.rawUrl)})),kn(T=>{let k=!1,W=!1;return(0,Qe.of)(T).pipe(hn(te=>{this.currentNavigation={id:te.id,initialUrl:te.currentRawUrl,extractedUrl:te.extractedUrl,trigger:te.source,extras:te.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),kn(te=>{const He=this.browserUrlTree.toString(),Nt=!this.navigated||te.extractedUrl.toString()!==He||He!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Nt)&&this.urlHandlingStrategy.shouldProcessUrl(te.rawUrl))return mu(te.source)&&(this.browserUrlTree=te.extractedUrl),(0,Qe.of)(te).pipe(kn(Xt=>{const rr=this.transitions.getValue();return w.next(new Re(Xt.id,this.serializeUrl(Xt.extractedUrl),Xt.source,Xt.restoredState)),rr!==this.transitions.getValue()?pt:Promise.resolve(Xt)}),function Qo(y,h,f,w){return kn(T=>function ms(y,h,f,w,T){return new _s(y,h,f,w,T).apply()}(y,h,f,T.extractedUrl,w).pipe((0,at.U)(k=>({...T,urlAfterRedirects:k}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),hn(Xt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Xt.urlAfterRedirects}}),function no(y,h,f,w,T){return(0,Yt.zg)(k=>function Hl(y,h,f,w,T="emptyOnly",k="legacy"){try{const W=new Cs(y,h,f,w,T,k).recognize();return null===W?Hs(new nr):(0,Qe.of)(W)}catch(W){return Hs(W)}}(y,h,k.urlAfterRedirects,f(k.urlAfterRedirects),w,T).pipe((0,at.U)(W=>({...k,targetSnapshot:W}))))}(this.rootComponentType,this.config,Xt=>this.serializeUrl(Xt),this.paramsInheritanceStrategy,this.relativeLinkResolution),hn(Xt=>{if("eager"===this.urlUpdateStrategy){if(!Xt.extras.skipLocationChange){const mn=this.urlHandlingStrategy.merge(Xt.urlAfterRedirects,Xt.rawUrl);this.setBrowserUrl(mn,Xt)}this.browserUrlTree=Xt.urlAfterRedirects}const rr=new dt(Xt.id,this.serializeUrl(Xt.extractedUrl),this.serializeUrl(Xt.urlAfterRedirects),Xt.targetSnapshot);w.next(rr)}));if(Nt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:rr,extractedUrl:mn,source:Pr,restoredState:Xo,extras:es}=te,zl=new Re(rr,this.serializeUrl(mn),Pr,Xo);w.next(zl);const Ys=go(mn,this.rootComponentType).snapshot;return(0,Qe.of)({...te,targetSnapshot:Ys,urlAfterRedirects:mn,extras:{...es,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=te.rawUrl,te.resolve(null),pt}),wa(te=>{const{targetSnapshot:He,id:Nt,extractedUrl:ar,rawUrl:Xt,extras:{skipLocationChange:rr,replaceUrl:mn}}=te;return this.hooks.beforePreactivation(He,{navigationId:Nt,appliedUrlTree:ar,rawUrlTree:Xt,skipLocationChange:!!rr,replaceUrl:!!mn})}),hn(te=>{const He=new St(te.id,this.serializeUrl(te.extractedUrl),this.serializeUrl(te.urlAfterRedirects),te.targetSnapshot);this.triggerEvent(He)}),(0,at.U)(te=>({...te,guards:Ha(te.targetSnapshot,te.currentSnapshot,this.rootContexts)})),function Fe(y,h){return(0,Yt.zg)(f=>{const{targetSnapshot:w,currentSnapshot:T,guards:{canActivateChecks:k,canDeactivateChecks:W}}=f;return 0===W.length&&0===k.length?(0,Qe.of)({...f,guardsResult:!0}):function Ot(y,h,f,w){return(0,on.D)(y).pipe((0,Yt.zg)(T=>function Ho(y,h,f,w,T){const k=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,Qe.of)(!0);const W=k.map(te=>{const He=ys(te,h,T);let Nt;if(function Ve(y){return y&&Vn(y.canDeactivate)}(He))Nt=jn(He.canDeactivate(y,h,f,w));else{if(!Vn(He))throw new Error("Invalid CanDeactivate guard");Nt=jn(He(y,h,f,w))}return Nt.pipe(ke())});return(0,Qe.of)(W).pipe(sr())}(T.component,T.route,f,h,w)),ke(T=>!0!==T,!0))}(W,w,T,y).pipe((0,Yt.zg)(te=>te&&function dr(y){return"boolean"==typeof y}(te)?function Cn(y,h,f,w){return(0,on.D)(h).pipe((0,sn.b)(T=>Ft(function Kr(y,h){return null!==y&&h&&h(new Q(y)),(0,Qe.of)(!0)}(T.route.parent,w),function Jn(y,h){return null!==y&&h&&h(new be(y)),(0,Qe.of)(!0)}(T.route,w),function ai(y,h,f){const w=h[h.length-1],k=h.slice(0,h.length-1).reverse().map(W=>function ja(y){const h=y.routeConfig?y.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:y,guards:h}:null}(W)).filter(W=>null!==W).map(W=>Ce(()=>{const te=W.guards.map(He=>{const Nt=ys(He,W.node,f);let ar;if(function N(y){return y&&Vn(y.canActivateChild)}(Nt))ar=jn(Nt.canActivateChild(w,y));else{if(!Vn(Nt))throw new Error("Invalid CanActivateChild guard");ar=jn(Nt(w,y))}return ar.pipe(ke())});return(0,Qe.of)(te).pipe(sr())}));return(0,Qe.of)(k).pipe(sr())}(y,T.path,f),function vr(y,h,f){const w=h.routeConfig?h.routeConfig.canActivate:null;if(!w||0===w.length)return(0,Qe.of)(!0);const T=w.map(k=>Ce(()=>{const W=ys(k,h,f);let te;if(function E(y){return y&&Vn(y.canActivate)}(W))te=jn(W.canActivate(h,y));else{if(!Vn(W))throw new Error("Invalid CanActivate guard");te=jn(W(h,y))}return te.pipe(ke())}));return(0,Qe.of)(T).pipe(sr())}(y,T.route,f))),ke(T=>!0!==T,!0))}(w,k,y,h):(0,Qe.of)(te)),(0,at.U)(te=>({...f,guardsResult:te})))})}(this.ngModule.injector,te=>this.triggerEvent(te)),hn(te=>{if(P(te.guardsResult)){const Nt=tn(`Redirecting to "${this.serializeUrl(te.guardsResult)}"`);throw Nt.url=te.guardsResult,Nt}const He=new Lt(te.id,this.serializeUrl(te.extractedUrl),this.serializeUrl(te.urlAfterRedirects),te.targetSnapshot,!!te.guardsResult);this.triggerEvent(He)}),(0,wr.h)(te=>!!te.guardsResult||(this.restoreHistory(te),this.cancelNavigationTransition(te,""),!1)),wa(te=>{if(te.guards.canActivateChecks.length)return(0,Qe.of)(te).pipe(hn(He=>{const Nt=new Gt(He.id,this.serializeUrl(He.extractedUrl),this.serializeUrl(He.urlAfterRedirects),He.targetSnapshot);this.triggerEvent(Nt)}),kn(He=>{let Nt=!1;return(0,Qe.of)(He).pipe(function Yi(y,h){return(0,Yt.zg)(f=>{const{targetSnapshot:w,guards:{canActivateChecks:T}}=f;if(!T.length)return(0,Qe.of)(f);let k=0;return(0,on.D)(T).pipe((0,sn.b)(W=>function va(y,h,f,w){return function yl(y,h,f,w){const T=xo(y);if(0===T.length)return(0,Qe.of)({});const k={};return(0,on.D)(T).pipe((0,Yt.zg)(W=>function Ca(y,h,f,w){const T=ys(y,h,w);return jn(T.resolve?T.resolve(h,f):T(h,f))}(y[W],h,f,w).pipe(hn(te=>{k[W]=te}))),Ir(1),(0,Yt.zg)(()=>xo(k).length===T.length?(0,Qe.of)(k):pt))}(y._resolve,y,h,w).pipe((0,at.U)(k=>(y._resolvedData=k,y.data={...y.data,...Fs(y,f).resolve},null)))}(W.route,w,y,h)),hn(()=>k++),Ir(1),(0,Yt.zg)(W=>k===T.length?(0,Qe.of)(f):pt))})}(this.paramsInheritanceStrategy,this.ngModule.injector),hn({next:()=>Nt=!0,complete:()=>{Nt||(this.restoreHistory(He),this.cancelNavigationTransition(He,"At least one route resolver didn't emit any value."))}}))}),hn(He=>{const Nt=new bt(He.id,this.serializeUrl(He.extractedUrl),this.serializeUrl(He.urlAfterRedirects),He.targetSnapshot);this.triggerEvent(Nt)}))}),wa(te=>{const{targetSnapshot:He,id:Nt,extractedUrl:ar,rawUrl:Xt,extras:{skipLocationChange:rr,replaceUrl:mn}}=te;return this.hooks.afterPreactivation(He,{navigationId:Nt,appliedUrlTree:ar,rawUrlTree:Xt,skipLocationChange:!!rr,replaceUrl:!!mn})}),(0,at.U)(te=>{const He=function Ns(y,h,f){const w=Li(y,h._root,f?f._root:void 0);return new Po(w,h)}(this.routeReuseStrategy,te.targetSnapshot,te.currentRouterState);return{...te,targetRouterState:He}}),hn(te=>{this.currentUrlTree=te.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(te.urlAfterRedirects,te.rawUrl),this.routerState=te.targetRouterState,"deferred"===this.urlUpdateStrategy&&(te.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,te),this.browserUrlTree=te.urlAfterRedirects)}),((y,h,f)=>(0,at.U)(w=>(new cn(h,w.targetRouterState,w.currentRouterState,f).activate(y),w)))(this.rootContexts,this.routeReuseStrategy,te=>this.triggerEvent(te)),hn({next(){k=!0},complete(){k=!0}}),function er(y){return h=>h.lift(new Rn(y))}(()=>{k||W||this.cancelNavigationTransition(T,`Navigation ID ${T.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===T.id&&(this.currentNavigation=null)}),Ar(te=>{if(W=!0,function pn(y){return y&&y[Un]}(te)){const He=P(te.url);He||(this.navigated=!0,this.restoreHistory(T,!0));const Nt=new je(T.id,this.serializeUrl(T.extractedUrl),te.message);w.next(Nt),He?setTimeout(()=>{const ar=this.urlHandlingStrategy.merge(te.url,this.rawUrlTree),Xt={skipLocationChange:T.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||mu(T.source)};this.scheduleNavigation(ar,"imperative",null,Xt,{resolve:T.resolve,reject:T.reject,promise:T.promise})},0):T.resolve(!1)}else{this.restoreHistory(T,!0);const He=new Ze(T.id,this.serializeUrl(T.extractedUrl),te);w.next(He);try{T.resolve(this.errorHandler(te))}catch(Nt){T.reject(Nt)}}return pt}))}))}resetRootComponentType(f){this.rootComponentType=f,this.routerState.root.component=this.rootComponentType}setTransition(f){this.transitions.next({...this.transitions.value,...f})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const w="popstate"===f.type?"popstate":"hashchange";"popstate"===w&&setTimeout(()=>{const T={replaceUrl:!0},k=f.state?.navigationId?f.state:null;if(k){const te={...k};delete te.navigationId,delete te.\u0275routerPageId,0!==Object.keys(te).length&&(T.state=te)}const W=this.parseUrl(f.url);this.scheduleNavigation(W,w,k,T)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(f){this.events.next(f)}resetConfig(f){Va(f),this.config=f.map(fi),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(f,w={}){const{relativeTo:T,queryParams:k,fragment:W,queryParamsHandling:te,preserveFragment:He}=w,Nt=T||this.routerState.root,ar=He?this.currentUrlTree.fragment:W;let Xt=null;switch(te){case"merge":Xt={...this.currentUrlTree.queryParams,...k};break;case"preserve":Xt=this.currentUrlTree.queryParams;break;default:Xt=k||null}return null!==Xt&&(Xt=this.removeEmptyProps(Xt)),function Sr(y,h,f,w,T){if(0===f.length)return Bo(h.root,h.root,h.root,w,T);const k=function jr(y){if("string"==typeof y[0]&&1===y.length&&"/"===y[0])return new Lr(!0,0,y);let h=0,f=!1;const w=y.reduce((T,k,W)=>{if("object"==typeof k&&null!=k){if(k.outlets){const te={};return Rt(k.outlets,(He,Nt)=>{te[Nt]="string"==typeof He?He.split("/"):He}),[...T,{outlets:te}]}if(k.segmentPath)return[...T,k.segmentPath]}return"string"!=typeof k?[...T,k]:0===W?(k.split("/").forEach((te,He)=>{0==He&&"."===te||(0==He&&""===te?f=!0:".."===te?h++:""!=te&&T.push(te))}),T):[...T,k]},[]);return new Lr(f,h,w)}(f);if(k.toRoot())return Bo(h.root,h.root,new Ne([],{}),w,T);const W=function Zo(y,h,f){if(y.isAbsolute)return new yo(h.root,!0,0);if(-1===f.snapshot._lastPathIndex){const k=f.snapshot._urlSegment;return new yo(k,k===h.root,0)}const w=Vo(y.commands[0])?0:1;return function M(y,h,f){let w=y,T=h,k=f;for(;k>T;){if(k-=T,w=w.parent,!w)throw new Error("Invalid number of '../'");T=w.segments.length}return new yo(w,!1,T-k)}(f.snapshot._urlSegment,f.snapshot._lastPathIndex+w,y.numberOfDoubleDots)}(k,h,y),te=W.processChildren?L(W.segmentGroup,W.index,k.commands):S(W.segmentGroup,W.index,k.commands);return Bo(h.root,W.segmentGroup,te,w,T)}(Nt,this.currentUrlTree,f,Xt,ar??null)}navigateByUrl(f,w={skipLocationChange:!1}){const T=P(f)?f:this.parseUrl(f),k=this.urlHandlingStrategy.merge(T,this.rawUrlTree);return this.scheduleNavigation(k,"imperative",null,w)}navigate(f,w={skipLocationChange:!1}){return function Za(y){for(let h=0;h<y.length;h++){const f=y[h];if(null==f)throw new Error(`The requested path contains ${f} segment at index ${h}`)}}(f),this.navigateByUrl(this.createUrlTree(f,w),w)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let w;try{w=this.urlSerializer.parse(f)}catch(T){w=this.malformedUriErrorHandler(T,this.urlSerializer,f)}return w}isActive(f,w){let T;if(T=!0===w?{...Ya}:!1===w?{...$s}:w,P(f))return Tt(this.currentUrlTree,f,T);const k=this.parseUrl(f);return Tt(this.currentUrlTree,k,T)}removeEmptyProps(f){return Object.keys(f).reduce((w,T)=>{const k=f[T];return null!=k&&(w[T]=k),w},{})}processNavigations(){this.navigations.subscribe(f=>{this.navigated=!0,this.lastSuccessfulId=f.id,this.currentPageId=f.targetPageId,this.events.next(new Me(f.id,this.serializeUrl(f.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,f.resolve(!0)},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)})}scheduleNavigation(f,w,T,k,W){if(this.disposed)return Promise.resolve(!1);let te,He,Nt;W?(te=W.resolve,He=W.reject,Nt=W.promise):Nt=new Promise((rr,mn)=>{te=rr,He=mn});const ar=++this.navigationId;let Xt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(T=this.location.getState()),Xt=T&&T.\u0275routerPageId?T.\u0275routerPageId:k.replaceUrl||k.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Xt=0,this.setTransition({id:ar,targetPageId:Xt,source:w,restoredState:T,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:f,extras:k,resolve:te,reject:He,promise:Nt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Nt.catch(rr=>Promise.reject(rr))}setBrowserUrl(f,w){const T=this.urlSerializer.serialize(f),k={...w.extras.state,...this.generateNgRouterState(w.id,w.targetPageId)};this.location.isCurrentPathEqualTo(T)||w.extras.replaceUrl?this.location.replaceState(T,"",k):this.location.go(T,"",k)}restoreHistory(f,w=!1){if("computed"===this.canceledNavigationResolution){const T=this.currentPageId-f.targetPageId;"popstate"!==f.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===T?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===T&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(T)}else"replace"===this.canceledNavigationResolution&&(w&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(f,w){const T=new je(f.id,this.serializeUrl(f.extractedUrl),w);this.triggerEvent(T),f.resolve(!1)}generateNgRouterState(f,w){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:w}:{navigationId:f}}}return y.\u0275fac=function(f){v.$Z()},y.\u0275prov=v.Yz7({token:y,factory:y.\u0275fac}),y})();function mu(y){return"imperative"!==y}let Qr=(()=>{class y{constructor(f,w,T){this.router=f,this.route=w,this.locationStrategy=T,this.commands=null,this.href=null,this.onChanges=new we.xQ,this.subscription=f.events.subscribe(k=>{k instanceof Me&&this.updateTargetUrlAndHref()})}set routerLink(f){this.commands=null!=f?Array.isArray(f)?f:[f]:null}ngOnChanges(f){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(f,w,T,k,W){if(0!==f||w||T||k||W||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const te={skipLocationChange:Gs(this.skipLocationChange),replaceUrl:Gs(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,te),!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:Gs(this.preserveFragment)})}}return y.\u0275fac=function(f){return new(f||y)(v.Y36(hi),v.Y36(Gi),v.Y36(c.S$))},y.\u0275dir=v.lG2({type:y,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(f,w){1&f&&v.NdJ("click",function(k){return w.onClick(k.button,k.ctrlKey,k.shiftKey,k.altKey,k.metaKey)}),2&f&&v.uIk("target",w.target)("href",w.href,v.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[v.TTD]}),y})();function Gs(y){return""===y||!!y}class Ka{}class Jr{preload(h,f){return(0,Qe.of)(null)}}let mr=(()=>{class y{constructor(f,w,T,k){this.router=f,this.injector=T,this.preloadingStrategy=k,this.loader=new ws(T,w,He=>f.triggerEvent(new an(He)),He=>f.triggerEvent(new ve(He)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,wr.h)(f=>f instanceof Me),(0,sn.b)(()=>this.preload())).subscribe(()=>{})}preload(){const f=this.injector.get(v.h0i);return this.processRoutes(f,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,w){const T=[];for(const k of w)if(k.loadChildren&&!k.canLoad&&k._loadedConfig){const W=k._loadedConfig;T.push(this.processRoutes(W.module,W.routes))}else k.loadChildren&&!k.canLoad?T.push(this.preloadConfig(f,k)):k.children&&T.push(this.processRoutes(f,k.children));return(0,on.D)(T).pipe((0,Dn.J)(),(0,at.U)(k=>{}))}preloadConfig(f,w){return this.preloadingStrategy.preload(w,()=>(w._loadedConfig?(0,Qe.of)(w._loadedConfig):this.loader.load(f.injector,w)).pipe((0,Yt.zg)(k=>(w._loadedConfig=k,this.processRoutes(k.module,k.routes)))))}}return y.\u0275fac=function(f){return new(f||y)(v.LFG(hi),v.LFG(v.Sil),v.LFG(v.zs3),v.LFG(Ka))},y.\u0275prov=v.Yz7({token:y,factory:y.\u0275fac}),y})(),pi=(()=>{class y{constructor(f,w,T={}){this.router=f,this.viewportScroller=w,this.options=T,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},T.scrollPositionRestoration=T.scrollPositionRestoration||"disabled",T.anchorScrolling=T.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(f=>{f instanceof Re?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Me&&(this.lastId=f.id,this.scheduleScrollEvent(f,this.router.parseUrl(f.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(f=>{f instanceof ze&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,w){this.router.triggerEvent(new ze(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,w))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return y.\u0275fac=function(f){v.$Z()},y.\u0275prov=v.Yz7({token:y,factory:y.\u0275fac}),y})();const Zi=new v.OlP("ROUTER_CONFIGURATION"),bi=new v.OlP("ROUTER_FORROOT_GUARD"),Jo=[c.Ye,{provide:Bt,useClass:un},{provide:hi,useFactory:function qs(y,h,f,w,T,k,W={},te,He){const Nt=new hi(null,y,h,f,w,T,Be(k));return te&&(Nt.urlHandlingStrategy=te),He&&(Nt.routeReuseStrategy=He),function bs(y,h){y.errorHandler&&(h.errorHandler=y.errorHandler),y.malformedUriErrorHandler&&(h.malformedUriErrorHandler=y.malformedUriErrorHandler),y.onSameUrlNavigation&&(h.onSameUrlNavigation=y.onSameUrlNavigation),y.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=y.paramsInheritanceStrategy),y.relativeLinkResolution&&(h.relativeLinkResolution=y.relativeLinkResolution),y.urlUpdateStrategy&&(h.urlUpdateStrategy=y.urlUpdateStrategy),y.canceledNavigationResolution&&(h.canceledNavigationResolution=y.canceledNavigationResolution)}(W,Nt),W.enableTracing&&Nt.events.subscribe(ar=>{console.group?.(`Router Event: ${ar.constructor.name}`),console.log(ar.toString()),console.log(ar),console.groupEnd?.()}),Nt},deps:[Bt,Wi,c.Ye,v.zs3,v.Sil,ro,Zi,[class Wa{},new v.FiY],[class Ga{},new v.FiY]]},Wi,{provide:Gi,useFactory:function V(y){return y.routerState.root},deps:[hi]},mr,Jr,class Ea{preload(h,f){return f().pipe(Ar(()=>(0,Qe.of)(null)))}},{provide:Zi,useValue:{enableTracing:!1}}];function $l(){return new v.PXZ("Router",hi)}let Gl=(()=>{class y{constructor(f,w){}static forRoot(f,w){return{ngModule:y,providers:[Jo,Ws(f),{provide:bi,useFactory:yu,deps:[[hi,new v.FiY,new v.tp0]]},{provide:Zi,useValue:w||{}},{provide:c.S$,useFactory:Ma,deps:[c.lw,[new v.tBr(c.mr),new v.FiY],Zi]},{provide:pi,useFactory:Da,deps:[hi,c.EM,Zi]},{provide:Ka,useExisting:w&&w.preloadingStrategy?w.preloadingStrategy:Jr},{provide:v.PXZ,multi:!0,useFactory:$l},[wo,{provide:v.ip1,multi:!0,useFactory:Es,deps:[wo]},{provide:On,useFactory:li,deps:[wo]},{provide:v.tb,multi:!0,useExisting:On}]]}}static forChild(f){return{ngModule:y,providers:[Ws(f)]}}}return y.\u0275fac=function(f){return new(f||y)(v.LFG(bi,8),v.LFG(hi,8))},y.\u0275mod=v.oAB({type:y}),y.\u0275inj=v.cJS({}),y})();function Da(y,h,f){return f.scrollOffset&&h.setOffset(f.scrollOffset),new pi(y,h,f)}function Ma(y,h,f={}){return f.useHash?new c.Do(y,h):new c.b0(y,h)}function yu(y){return"guarded"}function Ws(y){return[{provide:v.deG,multi:!0,useValue:y},{provide:ro,multi:!0,useValue:y}]}let wo=(()=>{class y{constructor(f){this.injector=f,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new we.xQ}appInitializer(){return this.injector.get(c.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let w=null;const T=new Promise(te=>w=te),k=this.injector.get(hi),W=this.injector.get(Zi);return"disabled"===W.initialNavigation?(k.setUpLocationChangeListener(),w(!0)):"enabled"===W.initialNavigation||"enabledBlocking"===W.initialNavigation?(k.hooks.afterPreactivation=()=>this.initNavigation?(0,Qe.of)(null):(this.initNavigation=!0,w(!0),this.resultOfPreactivationDone),k.initialNavigation()):w(!0),T})}bootstrapListener(f){const w=this.injector.get(Zi),T=this.injector.get(mr),k=this.injector.get(pi),W=this.injector.get(hi),te=this.injector.get(v.z2F);f===te.components[0]&&(("enabledNonBlocking"===w.initialNavigation||void 0===w.initialNavigation)&&W.initialNavigation(),T.setUpPreloading(),k.init(),W.resetRootComponentType(te.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return y.\u0275fac=function(f){return new(f||y)(v.LFG(v.zs3))},y.\u0275prov=v.Yz7({token:y,factory:y.\u0275fac}),y})();function Es(y){return y.appInitializer.bind(y)}function li(y){return y.bootstrapListener.bind(y)}const On=new v.OlP("Router Initializer")},8638:(Ue,X,F)=>{"use strict";F.d(X,{au:()=>Qe,Tr:()=>on});var c=F(6738),v=F(529),we=F(4850);const Z={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 re{constructor(Ce){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=Ce.protocol;let Oe=Ce.port;Oe||(function Ee(Y){return/^https:$/i.test(Y)}(this.protocol)?Oe="443":function pe(Y){return/^http:$/i.test(Y)}(this.protocol)&&(Oe="80")),this.domain=Ce.hostname,this.port=parseInt(Oe,10),this.path=Ce.pathname;const at=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Z[2087]:/^cpanel\./.test(this.domain)?Z[2083]:/^webmail\./.test(this.domain)?Z[2095]:Z[Oe.toString()]||Z[at[2]]||"whostmgr",this.securityToken=at[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const kn=this.path.split("/");this.theme=kn[3]}this.themePath="";let vt=this.securityToken+"/";this.isUnprotected?vt="/":this.isCpanel?vt+="frontend/"+this.theme+"/":this.isWebmail?vt+="webmail/"+this.theme+"/":this.isOther&&(vt="/"),this.themePath=vt,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 ae(Y){return Y&&Y.replace(/\/?$/,"")}(this.applicationPath))}get isCpanel(){return/cpanel/i.test(this.applicationName)}get isWhm(){return/whostmgr/i.test(this.applicationName)}get isWebmail(){return/webmail/i.test(this.applicationName)}buildPath(Ce){return this.themePath+Ce}buildFullPath(Ce){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(Ce)}buildTokenPath(Ce){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+Ce}}class H{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 G=F(4235),ce=F.n(G),ee=F(1305),_e=F.n(ee),z=(()=>{return(Y=z||(z={}))[Y.Error=0]="Error",Y[Y.Warning=1]="Warning",Y[Y.Information=2]="Information",Y[Y.Unknown=3]="Unknown",z;var Y})();const ie={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Ye{constructor(Ce){this.isPaged=!1,this.record=0,this.page=0,this.pageSize=0,this.totalRecords=0,this.totalPages=0,this.isFiltered=!1,this.recordsBeforeFilter=0,this.batch=!1,this.properties={},Ce.paginate&&(this.isPaged=!0,this.record=parseInt(Ce.paginate.start_result,10)||0,this.page=parseInt(Ce.paginate.current_page,10)||0,this.pageSize=parseInt(Ce.paginate.results_per_page,10)||0,this.totalPages=parseInt(Ce.paginate.total_pages,10)||0,this.totalRecords=parseInt(Ce.paginate.total_results,10)||0),Ce.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(Ce.filter.records_before_filter,10)||0);const Oe=new Set(["paginate","filter"]);Object.keys(Ce).filter(at=>!Oe.has(at)).forEach(at=>{this.properties[at]=Ce[at]})}}class Xe extends class lt{constructor(Ce,Oe){if(this.status=0,this.messages=[],this.meta=function Ae(Y){return JSON.parse(JSON.stringify(Y))}(ie),this.options={keepUnprocessedResponse:!1},ce()(Ce)||_e()(Ce))throw new Error("The response was unexpectedly undefined or null");Oe&&(this.options=Oe),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(Ce)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(Ce){return this.messages.filter(Oe=>Oe.type===Ce)}get errors(){return this._getMessages(z.Error)}get warnings(){return this._getMessages(z.Warning)}get infoMessages(){return this._getMessages(z.Information)}_hasMessages(Ce){return this.messages.filter(Oe=>Oe.type===Ce).length>0}get hasErrors(){return this._hasMessages(z.Error)}get hasWarnings(){return this._hasMessages(z.Warning)}get hasInfoMessages(){return this._hasMessages(z.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(Ce){if(this.status=0,typeof Ce.status>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(Ce.status,10)}_parseMessages(Ce){if("errors"in Ce){const Oe=Ce.errors;Oe&&Oe.length&&Oe.forEach(at=>{this.messages.push({type:z.Error,message:at})})}if("messages"in Ce){const Oe=Ce.messages;Oe&&Oe.forEach(at=>{this.messages.push({type:z.Information,message:at})})}}constructor(Ce,Oe){if(super(Ce,Oe),this._parseStatus(Ce),this._parseMessages(Ce),!Ce||!Object.prototype.hasOwnProperty.call(Ce,"data"))throw new Error("Expected response to contain a data property, but it is missing");this.data=Ce.data,Ce.metadata&&(this.meta=new Ye(Ce.metadata))}}var nn=F(109),In=F(3022);let Qe=(()=>{class Y{}return Y.\u0275fac=function(Oe){return new(Oe||Y)},Y.\u0275mod=c.oAB({type:Y}),Y.\u0275inj=c.cJS({imports:[[v.JF]]}),Y})(),on=(()=>{class Y{constructor(Oe){this.http=Oe}delete(Oe){const at=Oe.generate(),vt=this.packageUrl(at);return this.http.delete(vt,{headers:this.packageHeaders(at)}).pipe((0,we.U)(this.packageResponseHandler(vt)))}get(Oe){const at=Oe.generate({verb:nn.F.GET,encoder:new In.VN}),vt=this.packageUrl(at);return this.http.get(vt,{headers:this.packageHeaders(at)}).pipe((0,we.U)(this.packageResponseHandler(vt)))}options(Oe){const at=Oe.generate(),vt=this.packageUrl(at);return this.http.options(vt,{headers:this.packageHeaders(at)}).pipe((0,we.U)(this.packageResponseHandler(vt)))}patch(Oe){const at=Oe.generate(),vt=this.packageUrl(at);return this.http.patch(vt,at.body,{headers:this.packageHeaders(at)}).pipe((0,we.U)(this.packageResponseHandler(vt)))}put(Oe){const at=Oe.generate(),vt=this.packageUrl(at);return this.http.put(vt,at.body,{headers:this.packageHeaders(at)}).pipe((0,we.U)(this.packageResponseHandler(vt)))}post(Oe){const at=Oe.generate(),vt=this.packageUrl(at);return this.http.post(vt,at.body,{headers:this.packageHeaders(at)}).pipe((0,we.U)(this.packageResponseHandler(vt)))}packageHeaders(Oe){const at={};return Oe.headers.forEach(vt=>{at[vt.name]=vt.value}),new v.WM(at)}packageUrl(Oe){return new re(new H).buildTokenPath(Oe.url)}packageResponseHandler(Oe){return at=>{const vt=new Xe(at);return vt.meta.properties.url=Oe,vt}}}return Y.\u0275fac=function(Oe){return new(Oe||Y)(c.LFG(v.eN))},Y.\u0275prov=c.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})()},348:(Ue,X,F)=>{"use strict";F.d(X,{m:()=>pe});var c=F(6738),v=F(269);const we=new c.OlP("window"),Ee=ae=>new v.g(ae.CLDR,ae.LEXICON);let pe=(()=>{class ae{}return ae.\u0275fac=function(Z){return new(Z||ae)},ae.\u0275mod=c.oAB({type:ae}),ae.\u0275inj=c.cJS({providers:[{provide:we,useValue:window},{provide:v.g,useFactory:Ee,deps:[we]}],imports:[[]]}),ae})()},3063:(Ue,X,F)=>{"use strict";F.d(X,{xV:()=>k,zr:()=>W,FP:()=>T,hF:()=>zl,CQ:()=>Ys,nM:()=>Zi,c9:()=>$o,Oc:()=>y,df:()=>h,_P:()=>Es,kM:()=>li,go:()=>On,zf:()=>Ds,Gy:()=>He,Yg:()=>te,MF:()=>Nt,Op:()=>ar,fm:()=>f,wL:()=>w});var c=F(6738),v=F(6895),we=F(5529),Ee=F(2198),pe=F(348),ae=F(269);class me{}const re="*";function H(g,u){return{type:7,name:g,definitions:u,options:{}}}function G(g,u=null){return{type:4,styles:u,timings:g}}function ee(g,u=null){return{type:2,steps:g,options:u}}function _e(g){return{type:6,styles:g,offset:null}}function z(g,u,a){return{type:0,name:g,styles:u,options:a}}function Ae(g,u,a=null){return{type:1,expr:g,animation:u,options:a}}function Qe(g){Promise.resolve(null).then(g)}class Dn{constructor(u=0,a=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=u+a}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}onStart(u){this._onStartFns.push(u)}onDone(u){this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Qe(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(u=>u()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(u){this._position=this.totalTime?u*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(u){const a="start"==u?this._onStartFns:this._onDoneFns;a.forEach(m=>m()),a.length=0}}class yt{constructor(u){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=u;let a=0,m=0,O=0;const B=this.players.length;0==B?Qe(()=>this._onFinish()):this.players.forEach(K=>{K.onDone(()=>{++a==B&&this._onFinish()}),K.onDestroy(()=>{++m==B&&this._onDestroy()}),K.onStart(()=>{++O==B&&this._onStart()})}),this.totalTime=this.players.reduce((K,ne)=>Math.max(K,ne.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this.players.forEach(u=>u.init())}onStart(u){this._onStartFns.push(u)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(u=>u()),this._onStartFns=[])}onDone(u){this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(u=>u.play())}pause(){this.players.forEach(u=>u.pause())}restart(){this.players.forEach(u=>u.restart())}finish(){this._onFinish(),this.players.forEach(u=>u.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(u=>u.destroy()),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}reset(){this.players.forEach(u=>u.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(u){const a=u*this.totalTime;this.players.forEach(m=>{const O=m.totalTime?Math.min(1,a/m.totalTime):1;m.setPosition(O)})}getPosition(){const u=this.players.reduce((a,m)=>null===a||m.totalTime>a.totalTime?m:a,null);return null!=u?u.getPosition():0}beforeDestroy(){this.players.forEach(u=>{u.beforeDestroy&&u.beforeDestroy()})}triggerCallback(u){const a="start"==u?this._onStartFns:this._onDoneFns;a.forEach(m=>m()),a.length=0}}var on=F(1481);const pt=!1;function Y(g){return new c.vHH(3e3,pt)}function hn(){return typeof window<"u"&&typeof window.document<"u"}function jt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Dt(g){switch(g.length){case 0:return new Dn;case 1:return g[0];default:return new yt(g)}}function Wr(g,u,a,m,O={},B={}){const K=[],ne=[];let Pe=-1,$e=null;if(m.forEach(ct=>{const Wt=ct.offset,Pn=Wt==Pe,Ut=Pn&&$e||{};Object.keys(ct).forEach(rn=>{let xn=rn,Xn=ct[rn];if("offset"!==rn)switch(xn=u.normalizePropertyName(xn,K),Xn){case"!":Xn=O[rn];break;case re:Xn=B[rn];break;default:Xn=u.normalizeStyleValue(rn,xn,Xn,K)}Ut[xn]=Xn}),Pn||ne.push(Ut),$e=Ut,Pe=Wt}),K.length)throw function eo(g){return new c.vHH(3502,pt)}();return ne}function er(g,u,a,m){switch(u){case"start":g.onStart(()=>m(a&&Rn(a,"start",g)));break;case"done":g.onDone(()=>m(a&&Rn(a,"done",g)));break;case"destroy":g.onDestroy(()=>m(a&&Rn(a,"destroy",g)))}}function Rn(g,u,a){const B=$t(g.element,g.triggerName,g.fromState,g.toState,u||g.phaseName,a.totalTime??g.totalTime,!!a.disabled),K=g._data;return null!=K&&(B._data=K),B}function $t(g,u,a,m,O="",B=0,K){return{element:g,triggerName:u,fromState:a,toState:m,phaseName:O,totalTime:B,disabled:!!K}}function sn(g,u,a){let m;return g instanceof Map?(m=g.get(u),m||g.set(u,m=a)):(m=g[u],m||(m=g[u]=a)),m}function Yt(g){const u=g.indexOf(":");return[g.substring(1,u),g.substr(u+1)]}let le=(g,u)=>!1,ue=(g,u,a)=>[],Re=null;function Me(g){const u=g.parentNode||g.host;return u===Re?null:u}(jt()||typeof Element<"u")&&(hn()?(Re=(()=>document.documentElement)(),le=(g,u)=>{for(;u;){if(u===g)return!0;u=Me(u)}return!1}):le=(g,u)=>g.contains(u),ue=(g,u,a)=>{if(a)return Array.from(g.querySelectorAll(u));const m=g.querySelector(u);return m?[m]:[]});let dt=null,St=!1;function Lt(g){dt||(dt=function Gt(){return typeof document<"u"?document.body:null}()||{},St=!!dt.style&&"WebkitAppearance"in dt.style);let u=!0;return dt.style&&!function Ze(g){return"ebkit"==g.substring(1,6)}(g)&&(u=g in dt.style,!u&&St&&(u="Webkit"+g.charAt(0).toUpperCase()+g.substr(1)in dt.style)),u}const bt=le,an=ue;let Q=(()=>{class g{validateStyleProperty(a){return Lt(a)}matchesElement(a,m){return!1}containsElement(a,m){return bt(a,m)}getParentElement(a){return Me(a)}query(a,m,O){return an(a,m,O)}computeStyle(a,m,O){return O||""}animate(a,m,O,B,K,ne=[],Pe){return new Dn(O,B)}}return g.\u0275fac=function(a){return new(a||g)},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac}),g})(),$=(()=>{class g{}return g.NOOP=new Q,g})();const Ke="ng-enter",Qt="ng-leave",Vt="ng-trigger",Un=".ng-trigger",tn="ng-animating",pn=".ng-animating";function ln(g){if("number"==typeof g)return g;const u=g.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:Hn(parseFloat(u[1]),u[2])}function Hn(g,u){return"s"===u?1e3*g:g}function Ct(g,u,a){return g.hasOwnProperty("duration")?g:function en(g,u,a){let O,B=0,K="";if("string"==typeof g){const ne=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ne)return u.push(Y()),{duration:0,delay:0,easing:""};O=Hn(parseFloat(ne[1]),ne[2]);const Pe=ne[3];null!=Pe&&(B=Hn(parseFloat(Pe),ne[4]));const $e=ne[5];$e&&(K=$e)}else O=g;if(!a){let ne=!1,Pe=u.length;O<0&&(u.push(function Ce(){return new c.vHH(3100,pt)}()),ne=!0),B<0&&(u.push(function Oe(){return new c.vHH(3101,pt)}()),ne=!0),ne&&u.splice(Pe,0,Y())}return{duration:O,delay:B,easing:K}}(g,u,a)}function Be(g,u={}){return Object.keys(g).forEach(a=>{u[a]=g[a]}),u}function gn(g,u,a={}){if(u)for(let m in g)a[m]=g[m];else Be(g,a);return a}function Rt(g,u,a){return a?u+":"+a+";":""}function jn(g){let u="";for(let a=0;a<g.style.length;a++){const m=g.style.item(a);u+=Rt(0,m,g.style.getPropertyValue(m))}for(const a in g.style)g.style.hasOwnProperty(a)&&!a.startsWith("_")&&(u+=Rt(0,xe(a),g.style[a]));g.setAttribute("style",u)}function vn(g,u,a){g.style&&(Object.keys(u).forEach(m=>{const O=it(m);a&&!a.hasOwnProperty(m)&&(a[m]=g.style[O]),g.style[O]=u[m]}),jt()&&jn(g))}function Tn(g,u){g.style&&(Object.keys(u).forEach(a=>{const m=it(a);g.style[m]=""}),jt()&&jn(g))}function Pt(g){return Array.isArray(g)?1==g.length?g[0]:ee(g):g}const se=new RegExp("{{\\s*(.+?)\\s*}}","g");function ge(g){let u=[];if("string"==typeof g){let a;for(;a=se.exec(g);)u.push(a[1]);se.lastIndex=0}return u}function kt(g,u,a){const m=g.toString(),O=m.replace(se,(B,K)=>{let ne=u[K];return u.hasOwnProperty(K)||(a.push(function vt(g){return new c.vHH(3003,pt)}()),ne=""),ne.toString()});return O==m?g:O}function Zt(g){const u=[];let a=g.next();for(;!a.done;)u.push(a.value),a=g.next();return u}const cr=/-+([a-z0-9])/g;function it(g){return g.replace(cr,(...u)=>u[1].toUpperCase())}function xe(g){return g.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Et(g,u,a){switch(u.type){case 7:return g.visitTrigger(u,a);case 0:return g.visitState(u,a);case 1:return g.visitTransition(u,a);case 2:return g.visitSequence(u,a);case 3:return g.visitGroup(u,a);case 4:return g.visitAnimate(u,a);case 5:return g.visitKeyframes(u,a);case 6:return g.visitStyle(u,a);case 8:return g.visitReference(u,a);case 9:return g.visitAnimateChild(u,a);case 10:return g.visitAnimateRef(u,a);case 11:return g.visitQuery(u,a);case 12:return g.visitStagger(u,a);default:throw function kn(g){return new c.vHH(3004,pt)}()}}function _t(g,u){return window.getComputedStyle(g)[u]}function ho(g,u){const a=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach(m=>function ti(g,u,a){if(":"==g[0]){const Pe=function qn(g,u){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,m)=>parseFloat(m)>parseFloat(a);case":decrement":return(a,m)=>parseFloat(m)<parseFloat(a);default:return u.push(function wr(g){return new c.vHH(3016,pt)}()),"* => *"}}(g,a);if("function"==typeof Pe)return void u.push(Pe);g=Pe}const m=g.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return a.push(function Qn(g){return new c.vHH(3015,pt)}()),u;const O=m[1],B=m[2],K=m[3];u.push(Ni(O,K));"<"==B[0]&&!("*"==O&&"*"==K)&&u.push(Ni(K,O))}(m,a,u)):a.push(g),a}const qr=new Set(["true","1"]),kr=new Set(["false","0"]);function Ni(g,u){const a=qr.has(g)||kr.has(g),m=qr.has(u)||kr.has(u);return(O,B)=>{let K="*"==g||g==O,ne="*"==u||u==B;return!K&&a&&"boolean"==typeof O&&(K=O?qr.has(g):kr.has(g)),!ne&&m&&"boolean"==typeof B&&(ne=B?qr.has(u):kr.has(u)),K&&ne}}const po=new RegExp("s*:selfs*,?","g");function ki(g,u,a,m){return new Ci(g).build(u,a,m)}class Ci{constructor(u){this._driver=u}build(u,a,m){const O=new hs(a);this._resetContextStyleTimingState(O);const B=Et(this,Pt(u),O);return O.unsupportedCSSPropertiesFound.size&&O.unsupportedCSSPropertiesFound.keys(),B}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles={},u.collectedStyles[""]={},u.currentTime=0}visitTrigger(u,a){let m=a.queryCount=0,O=a.depCount=0;const B=[],K=[];return"@"==u.name.charAt(0)&&a.errors.push(function xr(){return new c.vHH(3006,pt)}()),u.definitions.forEach(ne=>{if(this._resetContextStyleTimingState(a),0==ne.type){const Pe=ne,$e=Pe.name;$e.toString().split(/\s*,\s*/).forEach(ct=>{Pe.name=ct,B.push(this.visitState(Pe,a))}),Pe.name=$e}else if(1==ne.type){const Pe=this.visitTransition(ne,a);m+=Pe.queryCount,O+=Pe.depCount,K.push(Pe)}else a.errors.push(function ji(){return new c.vHH(3007,pt)}())}),{type:7,name:u.name,states:B,transitions:K,queryCount:m,depCount:O,options:null}}visitState(u,a){const m=this.visitStyle(u.styles,a),O=u.options&&u.options.params||null;if(m.containsDynamicStyles){const B=new Set,K=O||{};m.styles.forEach(ne=>{if(to(ne)){const Pe=ne;Object.keys(Pe).forEach($e=>{ge(Pe[$e]).forEach(ct=>{K.hasOwnProperty(ct)||B.add(ct)})})}}),B.size&&(Zt(B.values()),a.errors.push(function Xr(g,u){return new c.vHH(3008,pt)}()))}return{type:0,name:u.name,style:m,options:O?{params:O}:null}}visitTransition(u,a){a.queryCount=0,a.depCount=0;const m=Et(this,Pt(u.animation),a);return{type:1,matchers:ho(u.expr,a.errors),animation:m,queryCount:a.queryCount,depCount:a.depCount,options:ni(u.options)}}visitSequence(u,a){return{type:2,steps:u.steps.map(m=>Et(this,m,a)),options:ni(u.options)}}visitGroup(u,a){const m=a.currentTime;let O=0;const B=u.steps.map(K=>{a.currentTime=m;const ne=Et(this,K,a);return O=Math.max(O,a.currentTime),ne});return a.currentTime=O,{type:3,steps:B,options:ni(u.options)}}visitAnimate(u,a){const m=function Yo(g,u){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return $i(Ct(g,u).duration,0,"");const a=g;if(a.split(/\s+/).some(B=>"{"==B.charAt(0)&&"{"==B.charAt(1))){const B=$i(0,0,"");return B.dynamic=!0,B.strValue=a,B}const O=Ct(a,u);return $i(O.duration,O.delay,O.easing)}(u.timings,a.errors);a.currentAnimateTimings=m;let O,B=u.styles?u.styles:_e({});if(5==B.type)O=this.visitKeyframes(B,a);else{let K=u.styles,ne=!1;if(!K){ne=!0;const $e={};m.easing&&($e.easing=m.easing),K=_e($e)}a.currentTime+=m.duration+m.delay;const Pe=this.visitStyle(K,a);Pe.isEmptyStep=ne,O=Pe}return a.currentAnimateTimings=null,{type:4,timings:m,style:O,options:null}}visitStyle(u,a){const m=this._makeStyleAst(u,a);return this._validateStyleAst(m,a),m}_makeStyleAst(u,a){const m=[];Array.isArray(u.styles)?u.styles.forEach(K=>{"string"==typeof K?K==re?m.push(K):a.errors.push(function Ti(g){return new c.vHH(3002,pt)}()):m.push(K)}):m.push(u.styles);let O=!1,B=null;return m.forEach(K=>{if(to(K)){const ne=K,Pe=ne.easing;if(Pe&&(B=Pe,delete ne.easing),!O)for(let $e in ne)if(ne[$e].toString().indexOf("{{")>=0){O=!0;break}}}),{type:6,styles:m,easing:B,offset:u.offset,containsDynamicStyles:O,options:null}}_validateStyleAst(u,a){const m=a.currentAnimateTimings;let O=a.currentTime,B=a.currentTime;m&&B>0&&(B-=m.duration+m.delay),u.styles.forEach(K=>{"string"!=typeof K&&Object.keys(K).forEach(ne=>{if(!this._driver.validateStyleProperty(ne))return delete K[ne],void a.unsupportedCSSPropertiesFound.add(ne);const Pe=a.collectedStyles[a.currentQuerySelector],$e=Pe[ne];let ct=!0;$e&&(B!=O&&B>=$e.startTime&&O<=$e.endTime&&(a.errors.push(function ei(g,u,a,m,O){return new c.vHH(3010,pt)}()),ct=!1),B=$e.startTime),ct&&(Pe[ne]={startTime:B,endTime:O}),a.options&&function Tt(g,u,a){const m=u.params||{},O=ge(g);O.length&&O.forEach(B=>{m.hasOwnProperty(B)||a.push(function at(g){return new c.vHH(3001,pt)}())})}(K[ne],a.options,a.errors)})})}visitKeyframes(u,a){const m={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function vi(){return new c.vHH(3011,pt)}()),m;let B=0;const K=[];let ne=!1,Pe=!1,$e=0;const ct=u.steps.map(Fr=>{const fr=this._makeStyleAst(Fr,a);let Ei=null!=fr.offset?fr.offset:function ps(g){if("string"==typeof g)return null;let u=null;if(Array.isArray(g))g.forEach(a=>{if(to(a)&&a.hasOwnProperty("offset")){const m=a;u=parseFloat(m.offset),delete m.offset}});else if(to(g)&&g.hasOwnProperty("offset")){const a=g;u=parseFloat(a.offset),delete a.offset}return u}(fr.styles),Di=0;return null!=Ei&&(B++,Di=fr.offset=Ei),Pe=Pe||Di<0||Di>1,ne=ne||Di<$e,$e=Di,K.push(Di),fr});Pe&&a.errors.push(function Sn(){return new c.vHH(3012,pt)}()),ne&&a.errors.push(function Mn(){return new c.vHH(3200,pt)}());const Wt=u.steps.length;let Pn=0;B>0&&B<Wt?a.errors.push(function Xi(){return new c.vHH(3202,pt)}()):0==B&&(Pn=1/(Wt-1));const Ut=Wt-1,rn=a.currentTime,xn=a.currentAnimateTimings,Xn=xn.duration;return ct.forEach((Fr,fr)=>{const Ei=Pn>0?fr==Ut?1:Pn*fr:K[fr],Di=Ei*Xn;a.currentTime=rn+xn.delay+Di,xn.duration=Di,this._validateStyleAst(Fr,a),Fr.offset=Ei,m.styles.push(Fr)}),m}visitReference(u,a){return{type:8,animation:Et(this,Pt(u.animation),a),options:ni(u.options)}}visitAnimateChild(u,a){return a.depCount++,{type:9,options:ni(u.options)}}visitAnimateRef(u,a){return{type:10,animation:this.visitReference(u.animation,a),options:ni(u.options)}}visitQuery(u,a){const m=a.currentQuerySelector,O=u.options||{};a.queryCount++,a.currentQuery=u;const[B,K]=function Oi(g){const u=!!g.split(/\s*,\s*/).find(a=>":self"==a);return u&&(g=g.replace(po,"")),g=g.replace(/@\*/g,Un).replace(/@\w+/g,a=>Un+"-"+a.substr(1)).replace(/:animating/g,pn),[g,u]}(u.selector);a.currentQuerySelector=m.length?m+" "+B:B,sn(a.collectedStyles,a.currentQuerySelector,{});const ne=Et(this,Pt(u.animation),a);return a.currentQuery=null,a.currentQuerySelector=m,{type:11,selector:B,limit:O.limit||0,optional:!!O.optional,includeSelf:K,animation:ne,originalSelector:u.selector,options:ni(u.options)}}visitStagger(u,a){a.currentQuery||a.errors.push(function Ar(){return new c.vHH(3013,pt)}());const m="full"===u.timings?{duration:0,delay:0,easing:"full"}:Ct(u.timings,a.errors,!0);return{type:12,animation:Et(this,Pt(u.animation),a),timings:m,options:null}}}class hs{constructor(u){this.errors=u,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 to(g){return!Array.isArray(g)&&"object"==typeof g}function ni(g){return g?(g=Be(g)).params&&(g.params=function aa(g){return g?Be(g):null}(g.params)):g={},g}function $i(g,u,a){return{duration:g,delay:u,easing:a}}function Po(g,u,a,m,O,B,K=null,ne=!1){return{type:1,element:g,keyframes:u,preStyleProps:a,postStyleProps:m,duration:O,delay:B,totalTime:O+B,easing:K,subTimeline:ne}}class go{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,a){let m=this._map.get(u);m||this._map.set(u,m=[]),m.push(...a)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const Fs=new RegExp(":enter","g"),zn=new RegExp(":leave","g");function Yn(g,u,a,m,O,B={},K={},ne,Pe,$e=[]){return(new ua).buildKeyframes(g,u,a,m,O,B,K,ne,Pe,$e)}class ua{buildKeyframes(u,a,m,O,B,K,ne,Pe,$e,ct=[]){$e=$e||new go;const Wt=new Oo(u,a,$e,O,B,ct,[]);Wt.options=Pe,Wt.currentTimeline.setStyles([K],null,Wt.errors,Pe),Et(this,m,Wt);const Pn=Wt.timelines.filter(Ut=>Ut.containsAnimation());if(Object.keys(ne).length){let Ut;for(let rn=Pn.length-1;rn>=0;rn--){const xn=Pn[rn];if(xn.element===a){Ut=xn;break}}Ut&&!Ut.allowOnlyTimelineStyles()&&Ut.setStyles([ne],null,Wt.errors,Pe)}return Pn.length?Pn.map(Ut=>Ut.buildKeyframes()):[Po(a,[],[],[],0,0,"",!1)]}visitTrigger(u,a){}visitState(u,a){}visitTransition(u,a){}visitAnimateChild(u,a){const m=a.subInstructions.get(a.element);if(m){const O=a.createSubContext(u.options),B=a.currentTimeline.currentTime,K=this._visitSubInstructions(m,O,O.options);B!=K&&a.transformIntoNewTimeline(K)}a.previousNode=u}visitAnimateRef(u,a){const m=a.createSubContext(u.options);m.transformIntoNewTimeline(),this.visitReference(u.animation,m),a.transformIntoNewTimeline(m.currentTimeline.currentTime),a.previousNode=u}_visitSubInstructions(u,a,m){let B=a.currentTimeline.currentTime;const K=null!=m.duration?ln(m.duration):null,ne=null!=m.delay?ln(m.delay):null;return 0!==K&&u.forEach(Pe=>{const $e=a.appendInstructionToTimeline(Pe,K,ne);B=Math.max(B,$e.duration+$e.delay)}),B}visitReference(u,a){a.updateOptions(u.options,!0),Et(this,u.animation,a),a.previousNode=u}visitSequence(u,a){const m=a.subContextCount;let O=a;const B=u.options;if(B&&(B.params||B.delay)&&(O=a.createSubContext(B),O.transformIntoNewTimeline(),null!=B.delay)){6==O.previousNode.type&&(O.currentTimeline.snapshotCurrentStyles(),O.previousNode=mo);const K=ln(B.delay);O.delayNextStep(K)}u.steps.length&&(u.steps.forEach(K=>Et(this,K,O)),O.currentTimeline.applyStylesToKeyframe(),O.subContextCount>m&&O.transformIntoNewTimeline()),a.previousNode=u}visitGroup(u,a){const m=[];let O=a.currentTimeline.currentTime;const B=u.options&&u.options.delay?ln(u.options.delay):0;u.steps.forEach(K=>{const ne=a.createSubContext(u.options);B&&ne.delayNextStep(B),Et(this,K,ne),O=Math.max(O,ne.currentTimeline.currentTime),m.push(ne.currentTimeline)}),m.forEach(K=>a.currentTimeline.mergeTimelineCollectedStyles(K)),a.transformIntoNewTimeline(O),a.previousNode=u}_visitTiming(u,a){if(u.dynamic){const m=u.strValue;return Ct(a.params?kt(m,a.params,a.errors):m,a.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,a){const m=a.currentAnimateTimings=this._visitTiming(u.timings,a),O=a.currentTimeline;m.delay&&(a.incrementTime(m.delay),O.snapshotCurrentStyles());const B=u.style;5==B.type?this.visitKeyframes(B,a):(a.incrementTime(m.duration),this.visitStyle(B,a),O.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=u}visitStyle(u,a){const m=a.currentTimeline,O=a.currentAnimateTimings;!O&&m.getCurrentStyleProperties().length&&m.forwardFrame();const B=O&&O.easing||u.easing;u.isEmptyStep?m.applyEmptyStep(B):m.setStyles(u.styles,B,a.errors,a.options),a.previousNode=u}visitKeyframes(u,a){const m=a.currentAnimateTimings,O=a.currentTimeline.duration,B=m.duration,ne=a.createSubContext().currentTimeline;ne.easing=m.easing,u.styles.forEach(Pe=>{ne.forwardTime((Pe.offset||0)*B),ne.setStyles(Pe.styles,Pe.easing,a.errors,a.options),ne.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(ne),a.transformIntoNewTimeline(O+B),a.previousNode=u}visitQuery(u,a){const m=a.currentTimeline.currentTime,O=u.options||{},B=O.delay?ln(O.delay):0;B&&(6===a.previousNode.type||0==m&&a.currentTimeline.getCurrentStyleProperties().length)&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=mo);let K=m;const ne=a.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!O.optional,a.errors);a.currentQueryTotal=ne.length;let Pe=null;ne.forEach(($e,ct)=>{a.currentQueryIndex=ct;const Wt=a.createSubContext(u.options,$e);B&&Wt.delayNextStep(B),$e===a.element&&(Pe=Wt.currentTimeline),Et(this,u.animation,Wt),Wt.currentTimeline.applyStylesToKeyframe(),K=Math.max(K,Wt.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(K),Pe&&(a.currentTimeline.mergeTimelineCollectedStyles(Pe),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=u}visitStagger(u,a){const m=a.parentContext,O=a.currentTimeline,B=u.timings,K=Math.abs(B.duration),ne=K*(a.currentQueryTotal-1);let Pe=K*a.currentQueryIndex;switch(B.duration<0?"reverse":B.easing){case"reverse":Pe=ne-Pe;break;case"full":Pe=m.currentStaggerTime}const ct=a.currentTimeline;Pe&&ct.delayNextStep(Pe);const Wt=ct.currentTime;Et(this,u.animation,a),a.previousNode=u,m.currentStaggerTime=O.currentTime-Wt+(O.startTime-m.currentTimeline.startTime)}}const mo={};class Oo{constructor(u,a,m,O,B,K,ne,Pe){this._driver=u,this.element=a,this.subInstructions=m,this._enterClassName=O,this._leaveClassName=B,this.errors=K,this.timelines=ne,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=mo,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Pe||new oi(this._driver,a,0),ne.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,a){if(!u)return;const m=u;let O=this.options;null!=m.duration&&(O.duration=ln(m.duration)),null!=m.delay&&(O.delay=ln(m.delay));const B=m.params;if(B){let K=O.params;K||(K=this.options.params={}),Object.keys(B).forEach(ne=>{(!a||!K.hasOwnProperty(ne))&&(K[ne]=kt(B[ne],K,this.errors))})}}_copyOptions(){const u={};if(this.options){const a=this.options.params;if(a){const m=u.params={};Object.keys(a).forEach(O=>{m[O]=a[O]})}}return u}createSubContext(u=null,a,m){const O=a||this.element,B=new Oo(this._driver,O,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(O,m||0));return B.previousNode=this.previousNode,B.currentAnimateTimings=this.currentAnimateTimings,B.options=this._copyOptions(),B.updateOptions(u),B.currentQueryIndex=this.currentQueryIndex,B.currentQueryTotal=this.currentQueryTotal,B.parentContext=this,this.subContextCount++,B}transformIntoNewTimeline(u){return this.previousNode=mo,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,a,m){const O={duration:a??u.duration,delay:this.currentTimeline.currentTime+(m??0)+u.delay,easing:""},B=new Ns(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,O,u.stretchStartingKeyframe);return this.timelines.push(B),O}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,a,m,O,B,K){let ne=[];if(O&&ne.push(this.element),u.length>0){u=(u=u.replace(Fs,"."+this._enterClassName)).replace(zn,"."+this._leaveClassName);let $e=this._driver.query(this.element,u,1!=m);0!==m&&($e=m<0?$e.slice($e.length+m,$e.length):$e.slice(0,m)),ne.push(...$e)}return!B&&0==ne.length&&K.push(function _r(g){return new c.vHH(3014,pt)}()),ne}}class oi{constructor(u,a,m,O){this._driver=u,this.element=a,this.startTime=m,this._elementTimelineStylesLookup=O,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(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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(u){const a=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||a?(this.forwardTime(this.currentTime+u),a&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,a){return this.applyStylesToKeyframe(),new oi(this._driver,u,a||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(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,a){this._localTimelineStyles[u]=a,this._globalTimelineStyles[u]=a,this._styleSummary[u]={time:this.currentTime,value:a}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&(this._previousKeyframe.easing=u),Object.keys(this._globalTimelineStyles).forEach(a=>{this._backFill[a]=this._globalTimelineStyles[a]||re,this._currentKeyframe[a]=re}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,a,m,O){a&&(this._previousKeyframe.easing=a);const B=O&&O.params||{},K=function zi(g,u){const a={};let m;return g.forEach(O=>{"*"===O?(m=m||Object.keys(u),m.forEach(B=>{a[B]=re})):gn(O,!1,a)}),a}(u,this._globalTimelineStyles);Object.keys(K).forEach(ne=>{const Pe=kt(K[ne],B,m);this._pendingStyles[ne]=Pe,this._localTimelineStyles.hasOwnProperty(ne)||(this._backFill[ne]=this._globalTimelineStyles.hasOwnProperty(ne)?this._globalTimelineStyles[ne]:re),this._updateStyle(ne,Pe)})}applyStylesToKeyframe(){const u=this._pendingStyles,a=Object.keys(u);0!=a.length&&(this._pendingStyles={},a.forEach(m=>{this._currentKeyframe[m]=u[m]}),Object.keys(this._localTimelineStyles).forEach(m=>{this._currentKeyframe.hasOwnProperty(m)||(this._currentKeyframe[m]=this._localTimelineStyles[m])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(u=>{const a=this._localTimelineStyles[u];this._pendingStyles[u]=a,this._updateStyle(u,a)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let a in this._currentKeyframe)u.push(a);return u}mergeTimelineCollectedStyles(u){Object.keys(u._styleSummary).forEach(a=>{const m=this._styleSummary[a],O=u._styleSummary[a];(!m||O.time>m.time)&&this._updateStyle(a,O.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,a=new Set,m=1===this._keyframes.size&&0===this.duration;let O=[];this._keyframes.forEach((ne,Pe)=>{const $e=gn(ne,!0);Object.keys($e).forEach(ct=>{const Wt=$e[ct];"!"==Wt?u.add(ct):Wt==re&&a.add(ct)}),m||($e.offset=Pe/this.duration),O.push($e)});const B=u.size?Zt(u.values()):[],K=a.size?Zt(a.values()):[];if(m){const ne=O[0],Pe=Be(ne);ne.offset=0,Pe.offset=1,O=[ne,Pe]}return Po(this.element,O,B,K,this.duration,this.startTime,this.easing,!1)}}class Ns extends oi{constructor(u,a,m,O,B,K,ne=!1){super(u,a,K.delay),this.keyframes=m,this.preStyleProps=O,this.postStyleProps=B,this._stretchStartingKeyframe=ne,this.timings={duration:K.duration,delay:K.delay,easing:K.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:a,duration:m,easing:O}=this.timings;if(this._stretchStartingKeyframe&&a){const B=[],K=m+a,ne=a/K,Pe=gn(u[0],!1);Pe.offset=0,B.push(Pe);const $e=gn(u[0],!1);$e.offset=Li(ne),B.push($e);const ct=u.length-1;for(let Wt=1;Wt<=ct;Wt++){let Pn=gn(u[Wt],!1);Pn.offset=Li((a+Pn.offset*m)/K),B.push(Pn)}m=K,a=0,O="",u=B}return Po(this.element,u,this.preStyleProps,this.postStyleProps,m,a,O,!0)}}function Li(g,u=3){const a=Math.pow(10,u-1);return Math.round(g*a)/a}class Sr{}class xi extends Sr{normalizePropertyName(u,a){return it(u)}normalizeStyleValue(u,a,m,O){let B="";const K=m.toString().trim();if(Bo[a]&&0!==m&&"0"!==m)if("number"==typeof m)B="px";else{const ne=m.match(/^[+-]?[\d\.]+([a-z]*)$/);ne&&0==ne[1].length&&O.push(function Ur(g,u){return new c.vHH(3005,pt)}())}return K+B}}const Bo=(()=>function _o(g){const u={};return g.forEach(a=>u[a]=!0),u}("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 Lr(g,u,a,m,O,B,K,ne,Pe,$e,ct,Wt,Pn){return{type:0,element:g,triggerName:u,isRemovalTransition:O,fromState:a,fromStyles:B,toState:m,toStyles:K,timelines:ne,queriedElements:Pe,preStyleProps:$e,postStyleProps:ct,totalTime:Wt,errors:Pn}}const jr={};class yo{constructor(u,a,m){this._triggerName=u,this.ast=a,this._stateStyles=m}match(u,a,m,O){return function Zo(g,u,a,m,O){return g.some(B=>B(u,a,m,O))}(this.ast.matchers,u,a,m,O)}buildStyles(u,a,m){const O=this._stateStyles["*"],B=this._stateStyles[u],K=O?O.buildStyles(a,m):{};return B?B.buildStyles(a,m):K}build(u,a,m,O,B,K,ne,Pe,$e,ct){const Wt=[],Pn=this.ast.options&&this.ast.options.params||jr,rn=this.buildStyles(m,ne&&ne.params||jr,Wt),xn=Pe&&Pe.params||jr,Xn=this.buildStyles(O,xn,Wt),Fr=new Set,fr=new Map,Ei=new Map,Di="void"===O,ns={params:{...Pn,...xn}},Ki=ct?[]:Yn(u,a,this.ast.animation,B,K,rn,Xn,ns,$e,Wt);let gi=0;if(Ki.forEach(ao=>{gi=Math.max(ao.duration+ao.delay,gi)}),Wt.length)return Lr(a,this._triggerName,m,O,Di,rn,Xn,[],[],fr,Ei,gi,Wt);Ki.forEach(ao=>{const Io=ao.element,wl=sn(fr,Io,{});ao.preStyleProps.forEach(Eo=>wl[Eo]=!0);const Ss=sn(Ei,Io,{});ao.postStyleProps.forEach(Eo=>Ss[Eo]=!0),Io!==a&&Fr.add(Io)});const so=Zt(Fr.values());return Lr(a,this._triggerName,m,O,Di,rn,Xn,Ki,so,fr,Ei,gi)}}class M{constructor(u,a,m){this.styles=u,this.defaultParams=a,this.normalizer=m}buildStyles(u,a){const m={},O=Be(this.defaultParams);return Object.keys(u).forEach(B=>{const K=u[B];null!=K&&(O[B]=K)}),this.styles.styles.forEach(B=>{if("string"!=typeof B){const K=B;Object.keys(K).forEach(ne=>{let Pe=K[ne];Pe.length>1&&(Pe=kt(Pe,O,a));const $e=this.normalizer.normalizePropertyName(ne,a);Pe=this.normalizer.normalizeStyleValue(ne,$e,Pe,a),m[$e]=Pe})}}),m}}class S{constructor(u,a,m){this.name=u,this.ast=a,this._normalizer=m,this.transitionFactories=[],this.states={},a.states.forEach(O=>{this.states[O.name]=new M(O.style,O.options&&O.options.params||{},m)}),fe(this.states,"true","1"),fe(this.states,"false","0"),a.transitions.forEach(O=>{this.transitionFactories.push(new yo(u,O,this.states))}),this.fallbackTransition=function L(g,u,a){return new yo(g,{type:1,animation:{type:2,steps:[],options:null},matchers:[(K,ne)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,a,m,O){return this.transitionFactories.find(K=>K.match(u,a,m,O))||null}matchStyles(u,a,m){return this.fallbackTransition.buildStyles(u,a,m)}}function fe(g,u,a){g.hasOwnProperty(u)?g.hasOwnProperty(a)||(g[a]=g[u]):g.hasOwnProperty(a)&&(g[u]=g[a])}const Ie=new go;class ut{constructor(u,a,m){this.bodyNode=u,this._driver=a,this._normalizer=m,this._animations={},this._playersById={},this.players=[]}register(u,a){const m=[],B=ki(this._driver,a,m,[]);if(m.length)throw function Dr(g){return new c.vHH(3503,pt)}();this._animations[u]=B}_buildPlayer(u,a,m){const O=u.element,B=Wr(0,this._normalizer,0,u.keyframes,a,m);return this._driver.animate(O,B,u.duration,u.delay,u.easing,[],!0)}create(u,a,m={}){const O=[],B=this._animations[u];let K;const ne=new Map;if(B?(K=Yn(this._driver,a,B,Ke,Qt,{},{},m,Ie,O),K.forEach(ct=>{const Wt=sn(ne,ct.element,{});ct.postStyleProps.forEach(Pn=>Wt[Pn]=null)})):(O.push(function Nr(){return new c.vHH(3300,pt)}()),K=[]),O.length)throw function Mr(g){return new c.vHH(3504,pt)}();ne.forEach((ct,Wt)=>{Object.keys(ct).forEach(Pn=>{ct[Pn]=this._driver.computeStyle(Wt,Pn,re)})});const $e=Dt(K.map(ct=>{const Wt=ne.get(ct.element);return this._buildPlayer(ct,{},Wt)}));return this._playersById[u]=$e,$e.onDestroy(()=>this.destroy(u)),this.players.push($e),$e}destroy(u){const a=this._getPlayer(u);a.destroy(),delete this._playersById[u];const m=this.players.indexOf(a);m>=0&&this.players.splice(m,1)}_getPlayer(u){const a=this._playersById[u];if(!a)throw function zr(g){return new c.vHH(3301,pt)}();return a}listen(u,a,m,O){const B=$t(a,"","","");return er(this._getPlayer(u),m,B,O),()=>{}}command(u,a,m,O){if("register"==m)return void this.register(u,O[0]);if("create"==m)return void this.create(u,a,O[0]||{});const B=this._getPlayer(u);switch(m){case"play":B.play();break;case"pause":B.pause();break;case"reset":B.reset();break;case"restart":B.restart();break;case"finish":B.finish();break;case"init":B.init();break;case"setPosition":B.setPosition(parseFloat(O[0]));break;case"destroy":this.destroy(u)}}}const ht="ng-animate-queued",tr="ng-animate-disabled",Vn=[],dr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},P={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},D="__ng_removed";class E{constructor(u,a=""){this.namespaceId=a;const m=u&&u.hasOwnProperty("value");if(this.value=function vo(g){return g??null}(m?u.value:u),m){const B=Be(u);delete B.value,this.options=B}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(u){const a=u.params;if(a){const m=this.options.params;Object.keys(a).forEach(O=>{null==m[O]&&(m[O]=a[O])})}}}const N="void",Ve=new E(N);class xt{constructor(u,a,m){this.id=u,this.hostElement=a,this._engine=m,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,fi(a,this._hostClassName)}listen(u,a,m,O){if(!this._triggers.hasOwnProperty(a))throw function We(g,u){return new c.vHH(3302,pt)}();if(null==m||0==m.length)throw function he(g){return new c.vHH(3303,pt)}();if(!function ks(g){return"start"==g||"done"==g}(m))throw function q(g,u){return new c.vHH(3400,pt)}();const B=sn(this._elementListeners,u,[]),K={name:a,phase:m,callback:O};B.push(K);const ne=sn(this._engine.statesByElement,u,{});return ne.hasOwnProperty(a)||(fi(u,Vt),fi(u,Vt+"-"+a),ne[a]=Ve),()=>{this._engine.afterFlush(()=>{const Pe=B.indexOf(K);Pe>=0&&B.splice(Pe,1),this._triggers[a]||delete ne[a]})}}register(u,a){return!this._triggers[u]&&(this._triggers[u]=a,!0)}_getTrigger(u){const a=this._triggers[u];if(!a)throw function rt(g){return new c.vHH(3401,pt)}();return a}trigger(u,a,m,O=!0){const B=this._getTrigger(a),K=new Yr(this.id,a,u);let ne=this._engine.statesByElement.get(u);ne||(fi(u,Vt),fi(u,Vt+"-"+a),this._engine.statesByElement.set(u,ne={}));let Pe=ne[a];const $e=new E(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&Pe&&$e.absorbOptions(Pe.options),ne[a]=$e,Pe||(Pe=Ve),$e.value!==N&&Pe.value===$e.value){if(!function An(g,u){const a=Object.keys(g),m=Object.keys(u);if(a.length!=m.length)return!1;for(let O=0;O<a.length;O++){const B=a[O];if(!u.hasOwnProperty(B)||g[B]!==u[B])return!1}return!0}(Pe.params,$e.params)){const xn=[],Xn=B.matchStyles(Pe.value,Pe.params,xn),Fr=B.matchStyles($e.value,$e.params,xn);xn.length?this._engine.reportError(xn):this._engine.afterFlush(()=>{Tn(u,Xn),vn(u,Fr)})}return}const Pn=sn(this._engine.playersByElement,u,[]);Pn.forEach(xn=>{xn.namespaceId==this.id&&xn.triggerName==a&&xn.queued&&xn.destroy()});let Ut=B.matchTransition(Pe.value,$e.value,u,$e.params),rn=!1;if(!Ut){if(!O)return;Ut=B.fallbackTransition,rn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:a,transition:Ut,fromState:Pe,toState:$e,player:K,isFallbackTransition:rn}),rn||(fi(u,ht),K.onStart(()=>{ri(u,ht)})),K.onDone(()=>{let xn=this.players.indexOf(K);xn>=0&&this.players.splice(xn,1);const Xn=this._engine.playersByElement.get(u);if(Xn){let Fr=Xn.indexOf(K);Fr>=0&&Xn.splice(Fr,1)}}),this.players.push(K),Pn.push(K),K}deregister(u){delete this._triggers[u],this._engine.statesByElement.forEach((a,m)=>{delete a[u]}),this._elementListeners.forEach((a,m)=>{this._elementListeners.set(m,a.filter(O=>O.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const a=this._engine.playersByElement.get(u);a&&(a.forEach(m=>m.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,a){const m=this._engine.driver.query(u,Un,!0);m.forEach(O=>{if(O[D])return;const B=this._engine.fetchNamespacesByElement(O);B.size?B.forEach(K=>K.triggerLeaveAnimation(O,a,!1,!0)):this.clearElementCache(O)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(O=>this.clearElementCache(O)))}triggerLeaveAnimation(u,a,m,O){const B=this._engine.statesByElement.get(u),K=new Map;if(B){const ne=[];if(Object.keys(B).forEach(Pe=>{if(K.set(Pe,B[Pe].value),this._triggers[Pe]){const $e=this.trigger(u,Pe,N,O);$e&&ne.push($e)}}),ne.length)return this._engine.markElementAsRemoved(this.id,u,!0,a,K),m&&Dt(ne).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const a=this._elementListeners.get(u),m=this._engine.statesByElement.get(u);if(a&&m){const O=new Set;a.forEach(B=>{const K=B.name;if(O.has(K))return;O.add(K);const Pe=this._triggers[K].fallbackTransition,$e=m[K]||Ve,ct=new E(N),Wt=new Yr(this.id,K,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:K,transition:Pe,fromState:$e,toState:ct,player:Wt,isFallbackTransition:!0})})}}removeNode(u,a){const m=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,a),this.triggerLeaveAnimation(u,a,!0))return;let O=!1;if(m.totalAnimations){const B=m.players.length?m.playersByQueriedElement.get(u):[];if(B&&B.length)O=!0;else{let K=u;for(;K=K.parentNode;)if(m.statesByElement.get(K)){O=!0;break}}}if(this.prepareLeaveAnimationListeners(u),O)m.markElementAsRemoved(this.id,u,!1,a);else{const B=u[D];(!B||B===dr)&&(m.afterFlush(()=>this.clearElementCache(u)),m.destroyInnerAnimations(u),m._onRemovalComplete(u,a))}}insertNode(u,a){fi(u,this._hostClassName)}drainQueuedTransitions(u){const a=[];return this._queue.forEach(m=>{const O=m.player;if(O.destroyed)return;const B=m.element,K=this._elementListeners.get(B);K&&K.forEach(ne=>{if(ne.name==m.triggerName){const Pe=$t(B,m.triggerName,m.fromState.value,m.toState.value);Pe._data=u,er(m.player,ne.phase,Pe,ne.callback)}}),O.markedForDestroy?this._engine.afterFlush(()=>{O.destroy()}):a.push(m)}),this._queue=[],a.sort((m,O)=>{const B=m.transition.ast.depCount,K=O.transition.ast.depCount;return 0==B||0==K?B-K:this._engine.driver.containsElement(m.element,O.element)?1:-1})}destroy(u){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}elementContainsData(u){let a=!1;return this._elementListeners.has(u)&&(a=!0),a=!!this._queue.find(m=>m.element===u)||a,a}}class sr{constructor(u,a,m){this.bodyNode=u,this.driver=a,this._normalizer=m,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=(O,B)=>{}}_onRemovalComplete(u,a){this.onRemovalComplete(u,a)}get queuedPlayers(){const u=[];return this._namespaceList.forEach(a=>{a.players.forEach(m=>{m.queued&&u.push(m)})}),u}createNamespace(u,a){const m=new xt(u,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(m,a):(this.newHostElements.set(a,m),this.collectEnterElement(a)),this._namespaceLookup[u]=m}_balanceNamespaceList(u,a){const m=this._namespaceList,O=this.namespacesByHostElement,B=m.length-1;if(B>=0){let K=!1;if(void 0!==this.driver.getParentElement){let ne=this.driver.getParentElement(a);for(;ne;){const Pe=O.get(ne);if(Pe){const $e=m.indexOf(Pe);m.splice($e+1,0,u),K=!0;break}ne=this.driver.getParentElement(ne)}}else for(let ne=B;ne>=0;ne--)if(this.driver.containsElement(m[ne].hostElement,a)){m.splice(ne+1,0,u),K=!0;break}K||m.unshift(u)}else m.push(u);return O.set(a,u),u}register(u,a){let m=this._namespaceLookup[u];return m||(m=this.createNamespace(u,a)),m}registerTrigger(u,a,m){let O=this._namespaceLookup[u];O&&O.register(a,m)&&this.totalAnimations++}destroy(u,a){if(!u)return;const m=this._fetchNamespace(u);this.afterFlush(()=>{this.namespacesByHostElement.delete(m.hostElement),delete this._namespaceLookup[u];const O=this._namespaceList.indexOf(m);O>=0&&this._namespaceList.splice(O,1)}),this.afterFlushAnimationsDone(()=>m.destroy(a))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const a=new Set,m=this.statesByElement.get(u);if(m){const O=Object.keys(m);for(let B=0;B<O.length;B++){const K=m[O[B]].namespaceId;if(K){const ne=this._fetchNamespace(K);ne&&a.add(ne)}}}return a}trigger(u,a,m,O){if(dn(a)){const B=this._fetchNamespace(u);if(B)return B.trigger(a,m,O),!0}return!1}insertNode(u,a,m,O){if(!dn(a))return;const B=a[D];if(B&&B.setForRemoval){B.setForRemoval=!1,B.setForMove=!0;const K=this.collectedLeaveElements.indexOf(a);K>=0&&this.collectedLeaveElements.splice(K,1)}if(u){const K=this._fetchNamespace(u);K&&K.insertNode(a,m)}O&&this.collectEnterElement(a)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,a){a?this.disabledNodes.has(u)||(this.disabledNodes.add(u),fi(u,tr)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),ri(u,tr))}removeNode(u,a,m,O){if(dn(a)){const B=u?this._fetchNamespace(u):null;if(B?B.removeNode(a,O):this.markElementAsRemoved(u,a,!1,O),m){const K=this.namespacesByHostElement.get(a);K&&K.id!==u&&K.removeNode(a,O)}}else this._onRemovalComplete(a,O)}markElementAsRemoved(u,a,m,O,B){this.collectedLeaveElements.push(a),a[D]={namespaceId:u,setForRemoval:O,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:B}}listen(u,a,m,O,B){return dn(a)?this._fetchNamespace(u).listen(a,m,O,B):()=>{}}_buildInstruction(u,a,m,O,B){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,m,O,u.fromState.options,u.toState.options,a,B)}destroyInnerAnimations(u){let a=this.driver.query(u,Un,!0);a.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(u,pn,!0),a.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(u){const a=this.playersByElement.get(u);a&&a.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(u){const a=this.playersByQueriedElement.get(u);a&&a.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return Dt(this.players).onDone(()=>u());u()})}processLeaveNode(u){const a=u[D];if(a&&a.setForRemoval){if(u[D]=dr,a.namespaceId){this.destroyInnerAnimations(u);const m=this._fetchNamespace(a.namespaceId);m&&m.clearElementCache(u)}this._onRemovalComplete(u,a.setForRemoval)}u.classList?.contains(tr)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(u=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,O)=>this._balanceNamespaceList(m,O)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;m<this.collectedEnterElements.length;m++)fi(this.collectedEnterElements[m],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const m=[];try{a=this._flushAnimations(m,u)}finally{for(let O=0;O<m.length;O++)m[O]()}}else for(let m=0;m<this.collectedLeaveElements.length;m++)this.processLeaveNode(this.collectedLeaveElements[m]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(m=>m()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],a.length?Dt(a).onDone(()=>{m.forEach(O=>O())}):m.forEach(O=>O())}}reportError(u){throw function ke(g){return new c.vHH(3402,pt)}()}_flushAnimations(u,a){const m=new go,O=[],B=new Map,K=[],ne=new Map,Pe=new Map,$e=new Map,ct=new Set;this.disabledNodes.forEach(At=>{ct.add(At);const Jt=this.driver.query(At,".ng-animate-queued",!0);for(let wn=0;wn<Jt.length;wn++)ct.add(Jt[wn])});const Wt=this.bodyNode,Pn=Array.from(this.statesByElement.keys()),Ut=ca(Pn,this.collectedEnterElements),rn=new Map;let xn=0;Ut.forEach((At,Jt)=>{const wn=Ke+xn++;rn.set(Jt,wn),At.forEach(hr=>fi(hr,wn))});const Xn=[],Fr=new Set,fr=new Set;for(let At=0;At<this.collectedLeaveElements.length;At++){const Jt=this.collectedLeaveElements[At],wn=Jt[D];wn&&wn.setForRemoval&&(Xn.push(Jt),Fr.add(Jt),wn.hasAnimation?this.driver.query(Jt,".ng-star-inserted",!0).forEach(hr=>Fr.add(hr)):fr.add(Jt))}const Ei=new Map,Di=ca(Pn,Array.from(Fr));Di.forEach((At,Jt)=>{const wn=Qt+xn++;Ei.set(Jt,wn),At.forEach(hr=>fi(hr,wn))}),u.push(()=>{Ut.forEach((At,Jt)=>{const wn=rn.get(Jt);At.forEach(hr=>ri(hr,wn))}),Di.forEach((At,Jt)=>{const wn=Ei.get(Jt);At.forEach(hr=>ri(hr,wn))}),Xn.forEach(At=>{this.processLeaveNode(At)})});const ns=[],Ki=[];for(let At=this._namespaceList.length-1;At>=0;At--)this._namespaceList[At].drainQueuedTransitions(a).forEach(wn=>{const hr=wn.player,ci=wn.element;if(ns.push(hr),this.collectedEnterElements.length){const mi=ci[D];if(mi&&mi.setForMove){if(mi.previousTriggersValues&&mi.previousTriggersValues.has(wn.triggerName)){const Vi=mi.previousTriggersValues.get(wn.triggerName),Ps=this.statesByElement.get(wn.element);Ps&&Ps[wn.triggerName]&&(Ps[wn.triggerName].value=Vi)}return void hr.destroy()}}const Ro=!Wt||!this.driver.containsElement(Wt,ci),Qi=Ei.get(ci),Ts=rn.get(ci),Or=this._buildInstruction(wn,m,Ts,Qi,Ro);if(Or.errors&&Or.errors.length)return void Ki.push(Or);if(Ro)return hr.onStart(()=>Tn(ci,Or.fromStyles)),hr.onDestroy(()=>vn(ci,Or.toStyles)),void O.push(hr);if(wn.isFallbackTransition)return hr.onStart(()=>Tn(ci,Or.fromStyles)),hr.onDestroy(()=>vn(ci,Or.toStyles)),void O.push(hr);const ql=[];Or.timelines.forEach(mi=>{mi.stretchStartingKeyframe=!0,this.disabledNodes.has(mi.element)||ql.push(mi)}),Or.timelines=ql,m.append(ci,Or.timelines),K.push({instruction:Or,player:hr,element:ci}),Or.queriedElements.forEach(mi=>sn(ne,mi,[]).push(hr)),Or.preStyleProps.forEach((mi,Vi)=>{const Ps=Object.keys(mi);if(Ps.length){let Os=Pe.get(Vi);Os||Pe.set(Vi,Os=new Set),Ps.forEach(Yl=>Os.add(Yl))}}),Or.postStyleProps.forEach((mi,Vi)=>{const Ps=Object.keys(mi);let Os=$e.get(Vi);Os||$e.set(Vi,Os=new Set),Ps.forEach(Yl=>Os.add(Yl))})});if(Ki.length){const At=[];Ki.forEach(Jt=>{At.push(function mt(g,u){return new c.vHH(3505,pt)}())}),ns.forEach(Jt=>Jt.destroy()),this.reportError(At)}const gi=new Map,so=new Map;K.forEach(At=>{const Jt=At.element;m.has(Jt)&&(so.set(Jt,Jt),this._beforeAnimationBuild(At.player.namespaceId,At.instruction,gi))}),O.forEach(At=>{const Jt=At.element;this._getPreviousPlayers(Jt,!1,At.namespaceId,At.triggerName,null).forEach(hr=>{sn(gi,Jt,[]).push(hr),hr.destroy()})});const ao=Xn.filter(At=>da(At,Pe,$e)),Io=new Map;pl(Io,this.driver,fr,$e,re).forEach(At=>{da(At,Pe,$e)&&ao.push(At)});const Ss=new Map;Ut.forEach((At,Jt)=>{pl(Ss,this.driver,new Set(At),Pe,"!")}),ao.forEach(At=>{const Jt=Io.get(At),wn=Ss.get(At);Io.set(At,{...Jt,...wn})});const Eo=[],bu=[],Eu={};K.forEach(At=>{const{element:Jt,player:wn,instruction:hr}=At;if(m.has(Jt)){if(ct.has(Jt))return wn.onDestroy(()=>vn(Jt,hr.toStyles)),wn.disabled=!0,wn.overrideTotalTime(hr.totalTime),void O.push(wn);let ci=Eu;if(so.size>1){let Qi=Jt;const Ts=[];for(;Qi=Qi.parentNode;){const Or=so.get(Qi);if(Or){ci=Or;break}Ts.push(Qi)}Ts.forEach(Or=>so.set(Or,ci))}const Ro=this._buildAnimation(wn.namespaceId,hr,gi,B,Ss,Io);if(wn.setRealPlayer(Ro),ci===Eu)Eo.push(wn);else{const Qi=this.playersByElement.get(ci);Qi&&Qi.length&&(wn.parentPlayer=Dt(Qi)),O.push(wn)}}else Tn(Jt,hr.fromStyles),wn.onDestroy(()=>vn(Jt,hr.toStyles)),bu.push(wn),ct.has(Jt)&&O.push(wn)}),bu.forEach(At=>{const Jt=B.get(At.element);if(Jt&&Jt.length){const wn=Dt(Jt);At.setRealPlayer(wn)}}),O.forEach(At=>{At.parentPlayer?At.syncPlayerEvents(At.parentPlayer):At.destroy()});for(let At=0;At<Xn.length;At++){const Jt=Xn[At],wn=Jt[D];if(ri(Jt,Qt),wn&&wn.hasAnimation)continue;let hr=[];if(ne.size){let Ro=ne.get(Jt);Ro&&Ro.length&&hr.push(...Ro);let Qi=this.driver.query(Jt,pn,!0);for(let Ts=0;Ts<Qi.length;Ts++){let Or=ne.get(Qi[Ts]);Or&&Or.length&&hr.push(...Or)}}const ci=hr.filter(Ro=>!Ro.destroyed);ci.length?Ba(this,Jt,ci):this.processLeaveNode(Jt)}return Xn.length=0,Eo.forEach(At=>{this.players.push(At),At.onDone(()=>{At.destroy();const Jt=this.players.indexOf(At);this.players.splice(Jt,1)}),At.play()}),Eo}elementContainsData(u,a){let m=!1;const O=a[D];return O&&O.setForRemoval&&(m=!0),this.playersByElement.has(a)&&(m=!0),this.playersByQueriedElement.has(a)&&(m=!0),this.statesByElement.has(a)&&(m=!0),this._fetchNamespace(u).elementContainsData(a)||m}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,a,m,O,B){let K=[];if(a){const ne=this.playersByQueriedElement.get(u);ne&&(K=ne)}else{const ne=this.playersByElement.get(u);if(ne){const Pe=!B||B==N;ne.forEach($e=>{$e.queued||!Pe&&$e.triggerName!=O||K.push($e)})}}return(m||O)&&(K=K.filter(ne=>!(m&&m!=ne.namespaceId||O&&O!=ne.triggerName))),K}_beforeAnimationBuild(u,a,m){const B=a.element,K=a.isRemovalTransition?void 0:u,ne=a.isRemovalTransition?void 0:a.triggerName;for(const Pe of a.timelines){const $e=Pe.element,ct=$e!==B,Wt=sn(m,$e,[]);this._getPreviousPlayers($e,ct,K,ne,a.toState).forEach(Ut=>{const rn=Ut.getRealPlayer();rn.beforeDestroy&&rn.beforeDestroy(),Ut.destroy(),Wt.push(Ut)})}Tn(B,a.fromStyles)}_buildAnimation(u,a,m,O,B,K){const ne=a.triggerName,Pe=a.element,$e=[],ct=new Set,Wt=new Set,Pn=a.timelines.map(rn=>{const xn=rn.element;ct.add(xn);const Xn=xn[D];if(Xn&&Xn.removedBeforeQueried)return new Dn(rn.duration,rn.delay);const Fr=xn!==Pe,fr=function Ai(g){const u=[];return et(g,u),u}((m.get(xn)||Vn).map(gi=>gi.getRealPlayer())).filter(gi=>!!gi.element&&gi.element===xn),Ei=B.get(xn),Di=K.get(xn),ns=Wr(0,this._normalizer,0,rn.keyframes,Ei,Di),Ki=this._buildPlayer(rn,ns,fr);if(rn.subTimeline&&O&&Wt.add(xn),Fr){const gi=new Yr(u,ne,xn);gi.setRealPlayer(Ki),$e.push(gi)}return Ki});$e.forEach(rn=>{sn(this.playersByQueriedElement,rn.element,[]).push(rn),rn.onDone(()=>function Wi(g,u,a){let m;if(g instanceof Map){if(m=g.get(u),m){if(m.length){const O=m.indexOf(a);m.splice(O,1)}0==m.length&&g.delete(u)}}else if(m=g[u],m){if(m.length){const O=m.indexOf(a);m.splice(O,1)}0==m.length&&delete g[u]}return m}(this.playersByQueriedElement,rn.element,rn))}),ct.forEach(rn=>fi(rn,tn));const Ut=Dt(Pn);return Ut.onDestroy(()=>{ct.forEach(rn=>ri(rn,tn)),vn(Pe,a.toStyles)}),Wt.forEach(rn=>{sn(O,rn,[]).push(Ut)}),Ut}_buildPlayer(u,a,m){return a.length>0?this.driver.animate(u.element,a,u.duration,u.delay,u.easing,m):new Dn(u.duration,u.delay)}}class Yr{constructor(u,a,m){this.namespaceId=u,this.triggerName=a,this.element=m,this._player=new Dn,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,Object.keys(this._queuedCallbacks).forEach(a=>{this._queuedCallbacks[a].forEach(m=>er(u,a,void 0,m))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const a=this._player;a.triggerCallback&&u.onStart(()=>a.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,a){sn(this._queuedCallbacks,u,[]).push(a)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}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(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const a=this._player;a.triggerCallback&&a.triggerCallback(u)}}function dn(g){return g&&1===g.nodeType}function Va(g,u){const a=g.style.display;return g.style.display=u??"none",a}function pl(g,u,a,m,O){const B=[];a.forEach(Pe=>B.push(Va(Pe)));const K=[];m.forEach((Pe,$e)=>{const ct={};Pe.forEach(Wt=>{const Pn=ct[Wt]=u.computeStyle($e,Wt,O);(!Pn||0==Pn.length)&&($e[D]=P,K.push($e))}),g.set($e,ct)});let ne=0;return a.forEach(Pe=>Va(Pe,B[ne++])),K}function ca(g,u){const a=new Map;if(g.forEach(ne=>a.set(ne,[])),0==u.length)return a;const O=new Set(u),B=new Map;function K(ne){if(!ne)return 1;let Pe=B.get(ne);if(Pe)return Pe;const $e=ne.parentNode;return Pe=a.has($e)?$e:O.has($e)?1:K($e),B.set(ne,Pe),Pe}return u.forEach(ne=>{const Pe=K(ne);1!==Pe&&a.get(Pe).push(ne)}),a}function fi(g,u){g.classList?.add(u)}function ri(g,u){g.classList?.remove(u)}function Ba(g,u,a){Dt(a).onDone(()=>g.processLeaveNode(u))}function et(g,u){for(let a=0;a<g.length;a++){const m=g[a];m instanceof yt?et(m.players,u):u.push(m)}}function da(g,u,a){const m=a.get(g);if(!m)return!1;let O=u.get(g);return O?m.forEach(B=>O.add(B)):u.set(g,m),a.delete(g),!0}class Tr{constructor(u,a,m){this.bodyNode=u,this._driver=a,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(O,B)=>{},this._transitionEngine=new sr(u,a,m),this._timelineEngine=new ut(u,a,m),this._transitionEngine.onRemovalComplete=(O,B)=>this.onRemovalComplete(O,B)}registerTrigger(u,a,m,O,B){const K=u+"-"+O;let ne=this._triggerCache[K];if(!ne){const Pe=[],ct=ki(this._driver,B,Pe,[]);if(Pe.length)throw function Hr(g,u){return new c.vHH(3404,pt)}();ne=function R(g,u,a){return new S(g,u,a)}(O,ct,this._normalizer),this._triggerCache[K]=ne}this._transitionEngine.registerTrigger(a,O,ne)}register(u,a){this._transitionEngine.register(u,a)}destroy(u,a){this._transitionEngine.destroy(u,a)}onInsert(u,a,m,O){this._transitionEngine.insertNode(u,a,m,O)}onRemove(u,a,m,O){this._transitionEngine.removeNode(u,a,O||!1,m)}disableAnimations(u,a){this._transitionEngine.markElementAsDisabled(u,a)}process(u,a,m,O){if("@"==m.charAt(0)){const[B,K]=Yt(m);this._timelineEngine.command(B,a,K,O)}else this._transitionEngine.trigger(u,a,m,O)}listen(u,a,m,O,B){if("@"==m.charAt(0)){const[K,ne]=Yt(m);return this._timelineEngine.listen(K,a,ne,B)}return this._transitionEngine.listen(u,a,m,O,B)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ls=(()=>{class g{constructor(a,m,O){this._element=a,this._startStyles=m,this._endStyles=O,this._state=0;let B=g.initialStylesByElement.get(a);B||g.initialStylesByElement.set(a,B={}),this._initialStyles=B}start(){this._state<1&&(this._startStyles&&vn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(vn(this._element,this._initialStyles),this._endStyles&&(vn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(g.initialStylesByElement.delete(this._element),this._startStyles&&(Tn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tn(this._element,this._endStyles),this._endStyles=null),vn(this._element,this._initialStyles),this._state=3)}}return g.initialStylesByElement=new WeakMap,g})();function wi(g){let u=null;const a=Object.keys(g);for(let m=0;m<a.length;m++){const O=a[m];fa(O)&&(u=u||{},u[O]=g[O])}return u}function fa(g){return"display"===g||"position"===g}class Vs{constructor(u,a,m,O){this.element=u,this.keyframes=a,this.options=m,this._specialStyles=O,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=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(u,a,m){return u.animate(a,m)}onStart(u){this._onStartFns.push(u)}onDone(u){this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),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(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u={};if(this.hasStarted()){const a=this._finalKeyframe;Object.keys(a).forEach(m=>{"offset"!=m&&(u[m]=this._finished?a[m]:_t(this.element,m))})}this.currentSnapshot=u}triggerCallback(u){const a="start"==u?this._onStartFns:this._onDoneFns;a.forEach(m=>m()),a.length=0}}class Uo{validateStyleProperty(u){return Lt(u)}matchesElement(u,a){return!1}containsElement(u,a){return bt(u,a)}getParentElement(u){return Me(u)}query(u,a,m){return an(u,a,m)}computeStyle(u,a,m){return window.getComputedStyle(u)[a]}animate(u,a,m,O,B,K=[]){const Pe={duration:m,delay:O,fill:0==O?"both":"forwards"};B&&(Pe.easing=B);const $e={},ct=K.filter(Pn=>Pn instanceof Vs);(function Ne(g,u){return 0===g||0===u})(m,O)&&ct.forEach(Pn=>{let Ut=Pn.currentSnapshot;Object.keys(Ut).forEach(rn=>$e[rn]=Ut[rn])}),a=function gt(g,u,a){const m=Object.keys(a);if(m.length&&u.length){let B=u[0],K=[];if(m.forEach(ne=>{B.hasOwnProperty(ne)||K.push(ne),B[ne]=a[ne]}),K.length)for(var O=1;O<u.length;O++){let ne=u[O];K.forEach(function(Pe){ne[Pe]=_t(g,Pe)})}}return u}(u,a=a.map(Pn=>gn(Pn,!1)),$e);const Wt=function gl(g,u){let a=null,m=null;return Array.isArray(u)&&u.length?(a=wi(u[0]),u.length>1&&(m=wi(u[u.length-1]))):u&&(a=wi(u)),a||m?new Ls(g,a,m):null}(u,a);return new Vs(u,a,Pe,Wt)}}let ml=(()=>{class g extends me{constructor(a,m){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(m.body,{id:"0",encapsulation:c.ifc.None,styles:[],data:{animation:[]}})}build(a){const m=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(a)?ee(a):a;return si(this._renderer,null,m,"register",[O]),new ha(m,this._renderer)}}return g.\u0275fac=function(a){return new(a||g)(c.LFG(c.FYo),c.LFG(v.K0))},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac}),g})();class ha extends class Z{}{constructor(u,a){super(),this._id=u,this._renderer=a}create(u,a){return new Ko(this._id,u,a||{},this._renderer)}}class Ko{constructor(u,a,m,O){this.id=u,this.element=a,this._renderer=O,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",m)}_listen(u,a){return this._renderer.listen(this.element,`@@${this.id}:${u}`,a)}_command(u,...a){return si(this._renderer,this.element,this.id,u,a)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}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(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function si(g,u,a,m,O){return g.setProperty(u,`@@${a}:${m}`,O)}const ms="@.disabled";let _s=(()=>{class g{constructor(a,m,O){this.delegate=a,this.engine=m,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),m.onRemovalComplete=(B,K)=>{const ne=K?.parentNode(B);ne&&K.removeChild(ne,B)}}createRenderer(a,m){const B=this.delegate.createRenderer(a,m);if(!(a&&m&&m.data&&m.data.animation)){let ct=this._rendererCache.get(B);return ct||(ct=new Co("",B,this.engine),this._rendererCache.set(B,ct)),ct}const K=m.id,ne=m.id+"-"+this._currentId;this._currentId++,this.engine.register(ne,a);const Pe=ct=>{Array.isArray(ct)?ct.forEach(Pe):this.engine.registerTrigger(K,ne,a,ct.name,ct)};return m.data.animation.forEach(Pe),new Ua(this,ne,B,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,m,O){a>=0&&a<this._microtaskId?this._zone.run(()=>m(O)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(B=>{const[K,ne]=B;K(ne)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([m,O]))}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 g.\u0275fac=function(a){return new(a||g)(c.LFG(c.FYo),c.LFG(Tr),c.LFG(c.R0b))},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac}),g})();class Co{constructor(u,a,m){this.namespaceId=u,this.delegate=a,this.engine=m,this.destroyNode=this.delegate.destroyNode?O=>a.destroyNode(O):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(u,a){return this.delegate.createElement(u,a)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,a){this.delegate.appendChild(u,a),this.engine.onInsert(this.namespaceId,a,u,!1)}insertBefore(u,a,m,O=!0){this.delegate.insertBefore(u,a,m),this.engine.onInsert(this.namespaceId,a,u,O)}removeChild(u,a,m){this.engine.onRemove(this.namespaceId,a,this.delegate,m)}selectRootElement(u,a){return this.delegate.selectRootElement(u,a)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,a,m,O){this.delegate.setAttribute(u,a,m,O)}removeAttribute(u,a,m){this.delegate.removeAttribute(u,a,m)}addClass(u,a){this.delegate.addClass(u,a)}removeClass(u,a){this.delegate.removeClass(u,a)}setStyle(u,a,m,O){this.delegate.setStyle(u,a,m,O)}removeStyle(u,a,m){this.delegate.removeStyle(u,a,m)}setProperty(u,a,m){"@"==a.charAt(0)&&a==ms?this.disableAnimations(u,!!m):this.delegate.setProperty(u,a,m)}setValue(u,a){this.delegate.setValue(u,a)}listen(u,a,m){return this.delegate.listen(u,a,m)}disableAnimations(u,a){this.engine.disableAnimations(u,a)}}class Ua extends Co{constructor(u,a,m,O){super(a,m,O),this.factory=u,this.namespaceId=a}setProperty(u,a,m){"@"==a.charAt(0)?"."==a.charAt(1)&&a==ms?this.disableAnimations(u,m=void 0===m||!!m):this.engine.process(this.namespaceId,u,a.substr(1),m):this.delegate.setProperty(u,a,m)}listen(u,a,m){if("@"==a.charAt(0)){const O=function Qo(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(u);let B=a.substr(1),K="";return"@"!=B.charAt(0)&&([B,K]=function qi(g){const u=g.indexOf(".");return[g.substring(0,u),g.substr(u+1)]}(B)),this.engine.listen(this.namespaceId,O,B,K,ne=>{this.factory.scheduleListenerCallback(ne._data||-1,m,ne)})}return this.delegate.listen(u,a,m)}}let Bs=(()=>{class g extends Tr{constructor(a,m,O){super(a.body,m,O)}ngOnDestroy(){this.flush()}}return g.\u0275fac=function(a){return new(a||g)(c.LFG(v.K0),c.LFG($),c.LFG(Sr))},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac}),g})();const ys=new c.OlP("AnimationModuleType"),pa=[{provide:me,useClass:ml},{provide:Sr,useFactory:function Ha(){return new xi}},{provide:Tr,useClass:Bs},{provide:c.FYo,useFactory:function ja(g,u,a){return new _s(g,u,a)},deps:[on.se,Tr,c.R0b]}],vs=[{provide:$,useFactory:()=>new Uo},{provide:ys,useValue:"BrowserAnimations"},...pa],Us=[{provide:$,useClass:Q},{provide:ys,useValue:"NoopAnimations"},...pa];let ye=(()=>{class g{static withConfig(a){return{ngModule:g,providers:a.disableAnimations?Us:vs}}}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({providers:vs,imports:[on.b2]}),g})();function Fe(g,u){if(1&g&&(c.TgZ(0,"span",7),c.Hsn(1),c.qZA()),2&g){const a=c.oxw(2);c.uIk("id",a.infoBlockID)}}function Ot(g,u){if(1&g){const a=c.EpF();c.ynx(0),c.TgZ(1,"a",3),c.NdJ("click",function(){return c.CHM(a),c.oxw().toggleInfoBlock()}),c._UZ(2,"span",4)(3,"span",5),c.qZA(),c.YNc(4,Fe,2,1,"span",6),c.BQk()}if(2&g){const a=c.oxw();c.xp6(1),c.uIk("id",a.infoIconID)("title",a.toggleActionTitle),c.xp6(2),c.Q6J("innerHtml",a.toggleActionTitle,c.oJD),c.xp6(1),c.Q6J("ngIf",a.showInfoBlock)}}const Cn=["*"];function Jn(g,u){if(1&g&&c._uU(0),2&g){const a=c.oxw();c.hij(" ",a.locale.maketext("Loading \u2026"),"\n")}}function Kr(g,u){1&g&&c.GkF(0)}const vr=["header"];function ai(g,u){if(1&g){const a=c.EpF();c.TgZ(0,"button",4),c.NdJ("click",function(){return c.CHM(a),c.oxw().closeClicked()}),c._UZ(1,"i",5),c.qZA()}if(2&g){const a=c.oxw();c.uIk("id",a.buttonID)}}const Ho=[[["","callout-heading",""]],"*"],nr=["[callout-heading]","*"];function Hs(g,u){if(1&g&&(c.TgZ(0,"li",3),c._UZ(1,"i",4)(2,"span",5),c.qZA()),2&g){const a=u.$implicit;c.uIk("id",a.id),c.xp6(2),c.Q6J("innerHtml",a.message,c.oJD)}}function Hl(g,u){if(1&g&&(c.TgZ(0,"ul",1),c.YNc(1,Hs,3,2,"li",2),c.qZA()),2&g){const a=c.oxw();c.xp6(1),c.Q6J("ngForOf",a.getFieldErrors())}}const Cs=function(g){return{visibility:g}};function ga(g,u){if(1&g&&(c.TgZ(0,"label",10)(1,"span",11),c._uU(2),c.qZA()()),2&g){const a=c.oxw();c.s9C("for",a.toggleID),c.uIk("aria-label",a.labelValue),c.xp6(1),c.uIk("id",a.onTextID),c.xp6(1),c.hij(" ",a.isToggleOff?a.offText:a.onText," ")}}function ma(g,u){if(1&g&&c._UZ(0,"i",12),2&g){const a=c.oxw();c.uIk("id",a.leftSpinnerID)}}function gr(g,u){if(1&g&&(c.TgZ(0,"label",13)(1,"span",14),c._uU(2),c.qZA()()),2&g){const a=c.oxw();c.s9C("for",a.toggleID),c.uIk("aria-label",a.labelValue),c.xp6(1),c.uIk("id",a.offTextID),c.xp6(1),c.hij(" ",a.isToggleOff?a.offText:a.onText," ")}}function js(g,u){if(1&g&&c._UZ(0,"i",15),2&g){const a=c.oxw();c.uIk("id",a.rightSpinnerID)}}const _a=function(g,u,a){return{"switch-on":g,"switch-off":u,disabled:a}},jo=function(g){return{disabled:g}},ya=function(g,u){return{"switch-on":g,"switch-off":u}};function $a(g,u){if(1&g){const a=c.EpF();c.TgZ(0,"button",9),c.NdJ("click",function(){return c.CHM(a),c.oxw(2).fireClose()}),c.TgZ(1,"span"),c._uU(2,"\xd7"),c.qZA()()}if(2&g){const a=c.oxw(2);c.Q6J("id",a.closeButtonID)("title",a.closeLabel),c.uIk("aria-label",a.closeLabel),c.xp6(1),c.uIk("aria-hidden",!0)}}function _l(g,u){if(1&g){const a=c.EpF();c.TgZ(0,"button",10),c.NdJ("click",function(){return c.CHM(a),c.oxw(2).fireToggleMore()}),c._uU(1),c.qZA()}if(2&g){const a=c.oxw(2);c.Q6J("id",a.moreButtonID),c.xp6(1),c.hij(" ",a.moreLabel," ")}}function no(g,u){if(1&g&&(c.TgZ(0,"strong",11),c._uU(1),c.qZA()),2&g){const a=c.oxw(2);c.xp6(1),c.Oqu(a.label)}}function Yi(g,u){if(1&g&&(c.TgZ(0,"span",12),c._uU(1),c.qZA()),2&g){const a=c.oxw(2);c.Q6J("id",a.textMessageID),c.xp6(1),c.hij(" ",a.message," ")}}function va(g,u){if(1&g&&(c.TgZ(0,"li")(1,"span",12),c._uU(2),c.qZA()()),2&g){const a=u.$implicit,m=u.index,O=c.oxw(3);c.xp6(1),c.s9C("id",O.textListID+"_"+m),c.xp6(1),c.hij(" ",a," ")}}function yl(g,u){if(1&g&&(c.TgZ(0,"ul",13),c.YNc(1,va,3,2,"li",14),c.qZA()),2&g){const a=c.oxw(2);c.xp6(1),c.Q6J("ngForOf",a.alert.list)}}function xo(g,u){if(1&g&&(c.TgZ(0,"div",1),c.YNc(1,$a,3,4,"button",2),c.YNc(2,_l,2,2,"button",3),c._UZ(3,"span"),c.TgZ(4,"div",4),c.YNc(5,no,2,1,"strong",5),c.TgZ(6,"span",6),c.YNc(7,Yi,2,2,"span",7),c.qZA(),c.YNc(8,yl,2,1,"ul",8),c.qZA()()),2&g){const a=c.oxw();c.Gre("alert alert-",a.type," ng-hide"),c.Q6J("@openClose",a.animationClass),c.xp6(1),c.Q6J("ngIf",a.showCloseButton),c.xp6(1),c.Q6J("ngIf",a.showMoreButton),c.xp6(1),c.Tol(a.icon),c.uIk("aria-hidden",!0),c.xp6(2),c.Q6J("ngIf",a.hasLabel),c.xp6(2),c.Q6J("ngIf",a.message),c.xp6(1),c.Q6J("ngIf",a.alert&&a.alert.list&&a.alert.list.length)}}function Ca(g,u){if(1&g){const a=c.EpF();c.TgZ(0,"div",6)(1,"cp-alert",7),c.NdJ("close",function(){const B=c.CHM(a).$implicit;return c.oxw().alertClosed(B)}),c.qZA()()}if(2&g){const a=u.$implicit;c.xp6(1),c.Q6J("alert",a)}}function wa(g,u){if(1&g&&c._UZ(0,"div",8),2&g){const a=c.oxw();c.Q6J("ngClass",a.positionClasses)}}class Jr{constructor(u,a,m=Jr.defaultOptions){this._message=u,this._type=a;const O=m.id?m.id:Math.random().toString(36).substr(2,9);this._id=O,this._closable=m.isCloseable??!0,this._autoClosePeriod=m.autoClosePeriod,this._list=m.list,this._showMore=m.showMore||Jr.defaultShowMore,this._ts=m.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(u){const{message:a,type:m,...O}=u;return new Jr(a,m,O)}}Jr.defaultShowMore=!1,Jr.defaultAutoClosePeriod=0,Jr.defaultOptions={autoClosePeriod:Jr.defaultAutoClosePeriod,list:[]};var mr=(()=>{return(g=mr||(mr={}))[g.error=0]="error",g[g.success=1]="success",g[g.warning=2]="warning",g[g.information=3]="information",mr;var g})(),pi=(()=>{return(g=pi||(pi={})).add="add",g.remove="remove",g.clear="clear",pi;var g})();let $o=(()=>{class g{constructor(){this._alertEventsSource=new we.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(a,m=g.defaultGroup){this._alerts[m]||(this._alerts[m]=[]);const O=a instanceof Jr?a:Jr.makeAlert(a);if(this.list(m).push(O),this._alertEventsSource.next({type:pi.add,group:m,alert:O}),(0,c.X6Q)())switch(O.type){case mr.error:console.error(O.message,O);break;case mr.warning:console.warn(O.message,O);break;default:console.log(O.message,O)}return O}success(a,m=g.defaultGroup){return this.add(new Jr(a,mr.success,g.defaultSuccessOptions),m)}error(a,m=g.defaultGroup){return this.add({message:a,type:mr.error},m)}info(a,m=g.defaultGroup){return this.add({message:a,type:mr.information},m)}warn(a,m=g.defaultGroup){return this.add({message:a,type:mr.warning},m)}removeById(a,m=g.defaultGroup){const O=this.list(m),B=O.findIndex(K=>K.id===a,0);if(-1!==B){const K=O[B];O.splice(B,1),this._alertEventsSource.next({type:pi.remove,group:m,alert:K})}}clear(a=g.defaultGroup){this._alerts[a]=[],this._alertEventsSource.next({type:pi.clear,group:a})}list(a=g.defaultGroup){return null==this._alerts[a]&&(this._alerts[a]=[]),this._alerts[a]}}return g.defaultGroup="__DEFAULT__",g.defaultSuccessOptions={autoClosePeriod:1e4},g.\u0275fac=function(a){return new(a||g)},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),Zi=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({providers:[$o],imports:[[v.ez]]}),g})();var bi=(()=>{return(g=bi||(bi={})).inline="inline",g.topLeft="top-left",g.topMiddle="top-middle",g.topRight="top-right",g.bottomLeft="bottom-left",g.bottomMiddle="bottom-middle",g.bottomRight="bottom-right",g.middleLeft="middle-left",g.middleMiddle="middle-middle",g.middleRight="middle-right",bi;var g})();const $l=bi.topRight,Gl=bi.topLeft;let Es=(()=>{class g{constructor(a){this.locale=a,this.showInfoToggle=!0,this.toggleActionTitleExpand=a.maketext("Expand"),this.toggleActionTitleCollapse=a.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(a){this.toggleActionTitle=a?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}}return g.\u0275fac=function(a){return new(a||g)(c.Y36(ae.g))},g.\u0275cmp=c.Xpm({type:g,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:Cn,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(a,m){1&a&&(c.F$t(),c.TgZ(0,"div",0),c._UZ(1,"label",1),c._uU(2," \xa0 "),c.YNc(3,Ot,5,4,"ng-container",2),c.qZA()),2&a&&(c.xp6(1),c.Q6J("innerHtml",m.labelText,c.oJD),c.uIk("id",m.labelID)("for",m.for),c.xp6(2),c.Q6J("ngIf",m.showInfoToggle))},directives:[v.O5],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]}),g})(),li=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[v.ez,pe.m]]}),g})(),On=(()=>{class g{constructor(a){this.locale=a,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}}return g.\u0275fac=function(a){return new(a||g)(c.Y36(ae.g))},g.\u0275cmp=c.Xpm({type:g,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(a,m){if(1&a&&(c.YNc(0,Jn,1,1,"ng-template",null,0,c.W1O),c.TgZ(2,"div",1),c._UZ(3,"i",2),c.TgZ(4,"div",3),c.YNc(5,Kr,1,0,"ng-container",4),c.qZA()()),2&a){const O=c.MAs(1);c.xp6(2),c.uIk("id",m.containerId),c.xp6(1),c.uIk("id",m.spinnerId),c.xp6(1),c.uIk("id",m.messageId),c.xp6(1),c.Q6J("ngTemplateOutlet",m.loadingTemplate?m.loadingTemplate:O)}},directives:[v.tP],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']}),g})(),Ds=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[v.ez,pe.m]]}),g})();var Sa=(()=>{return(g=Sa||(Sa={})).warnings="warnings",g.danger="danger",g.info="info",g.default="info",Sa;var g})();let y=(()=>{class g{constructor(){this.calloutType=Sa.default,this.closeable=!1,this.close=new c.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 g.\u0275fac=function(a){return new(a||g)},g.\u0275cmp=c.Xpm({type:g,selectors:[["cp-callout"]],viewQuery:function(a,m){if(1&a&&c.Gf(vr,5),2&a){let O;c.iGM(O=c.CRH())&&(m.header=O.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:nr,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(a,m){1&a&&(c.F$t(Ho),c.TgZ(0,"div",0),c.YNc(1,ai,2,1,"button",1),c.TgZ(2,"div",2,3),c.Hsn(4),c.qZA(),c.TgZ(5,"div"),c.Hsn(6,1),c.qZA()()),2&a&&(c.Gre("callout callout-",m.calloutType,""),c.uIk("aria-label",m.calloutType),c.xp6(1),c.Q6J("ngIf",m.closeable),c.xp6(1),c.uIk("id",m.headingID),c.xp6(3),c.uIk("id",m.contentID))},directives:[v.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}']}),g})(),h=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[v.ez]]}),g})(),f=(()=>{class g{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map(a=>(this.control.errors[a].id=`${this.id}_${a}`,this.control.errors[a].key=a,this.control.errors[a])):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}}return g.\u0275fac=function(a){return new(a||g)},g.\u0275cmp=c.Xpm({type:g,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(a,m){1&a&&c.YNc(0,Hl,2,1,"ul",0),2&a&&c.Q6J("ngIf",m.hasErrors()&&m.hasChanged())},directives:[v.O5,v.sg],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%] .validation-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']}),g})(),w=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[v.ez]]}),g})();var T=(()=>{return(g=T||(T={})).loading="loading",g.disabled="disabled",g.enabled="enabled",T;var g})();let k=(()=>{class g{constructor(){this.click=new c.vpe,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(a){switch(a){case T.enabled:this.setToEnabled();break;case T.loading:this.setToLoading();break;case T.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(a){a.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}}return g.\u0275fac=function(a){return new(a||g)},g.\u0275cmp=c.Xpm({type:g,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:Cn,decls:3,vars:8,consts:[[1,"btn","action-button",3,"id","type","ngClass","disabled","click"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(a,m){1&a&&(c.F$t(),c.TgZ(0,"button",0),c.NdJ("click",function(B){return m.onClick(B)}),c._UZ(1,"i",1),c.Hsn(2),c.qZA()),2&a&&(c.MGl("id","",m.id,"-button"),c.s9C("type",m.type),c.Q6J("ngClass",m.buttonClass)("disabled",m.isDisabled),c.xp6(1),c.MGl("id","",m.id,"-spinner"),c.Q6J("ngStyle",c.VKq(6,Cs,m.showSpinner?"visible":"hidden")))},directives:[v.mk,v.PC],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']}),g})(),W=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[v.ez]]}),g})();var te=(()=>{return(g=te||(te={})).toggleOn="toggleSwitchOn",g.toggleOff="toggleSwitchOff",g.toggleUpdating="toggleSwitchUpdating",te;var g})(),He=(()=>{return(g=He||(He={})).left="left",g.right="right",He;var g})();let Nt=(()=>{class g{constructor(a){this.locale=a,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new c.vpe,this._isToggleUpdating=!1,this._hasSpinner=!1}set toggleState(a){switch(this._toggleState=a,a){case te.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case te.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case te.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(a){this.isDisabled||this._isToggleUpdating||("click"===a.type?this.toggleStatus.emit(a):"keyup"===a.type&&((13===a.keyCode||32===a.keyCode)&&this.toggleStatus.emit(a),this.isLTR?37!==a.keyCode||this._isToggleOffStatus?39===a.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(a):this.toggleStatus.emit(a):(37===a.keyCode&&this._isToggleOffStatus||39===a.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(a)))}isLabelVisible(a){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||a!==this.labelPosition)||void 0)}isSpinnerVisible(a){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||a!==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 He.left}get rightLabelPosition(){return He.right}get isLTR(){return this.locale.isLtr}}return g.\u0275fac=function(a){return new(a||g)(c.Y36(ae.g))},g.\u0275cmp=c.Xpm({type:g,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(a,m){1&a&&(c.TgZ(0,"div",0),c.NdJ("click",function(B){return m.checkToggle(B)})("keyup",function(B){return m.checkToggle(B)}),c.YNc(1,ga,3,4,"label",1),c.YNc(2,ma,1,1,"i",2),c.TgZ(3,"div",3)(4,"div",4),c._UZ(5,"span",5)(6,"span",6)(7,"span",7),c.qZA()(),c.YNc(8,gr,3,4,"label",8),c.YNc(9,js,1,1,"i",9),c.qZA()),2&a&&(c.Q6J("ngClass",c.kEZ(10,_a,!m.isToggleOff,m.isToggleOff,m.isDisabled||m.isToggleUpdating)),c.uIk("id",m.toggleID)("value",m.labelValue)("aria-checked",!m.isToggleOff),c.xp6(1),c.Q6J("ngIf",m.isLabelVisible(m.leftLabelPosition)),c.xp6(1),c.Q6J("ngIf",m.isSpinnerVisible(m.leftLabelPosition)),c.xp6(1),c.Q6J("ngClass",c.VKq(14,jo,m.isDisabled||m.isToggleUpdating)),c.xp6(1),c.Q6J("ngClass",c.WLB(16,ya,!m.isToggleOff,m.isToggleOff)),c.xp6(4),c.Q6J("ngIf",m.isLabelVisible(m.rightLabelPosition)),c.xp6(1),c.Q6J("ngIf",m.isSpinnerVisible(m.rightLabelPosition)))},directives:[v.mk,v.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}']}),g})(),ar=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[v.ez,pe.m]]}),g})();var mn=(()=>{return(g=mn||(mn={})).new="new",g.closed="closed",g.open="open",mn;var g})();let Pr=(()=>{class g{constructor(a){this.locale=a,this.close=new c.vpe,this.toggleMore=new c.vpe,this.animationClass=mn.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 mr.success:this.label=this.locale.maketext("Success:");break;case mr.error:this.label=this.locale.maketext("Error:");break;case mr.information:this.label=this.locale.maketext("Information:");break;case mr.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=mn.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case mr.error:return"type-icon fas fa-times-circle";case mr.warning:return"type-icon fas fa-exclamation-triangle";case mr.information:return"type-icon fas fa-info-circle";case mr.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case mr.error:return"danger";case mr.warning:return"warning";case mr.information:return"info";case mr.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=mn.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const a=this.label;return null!==a&&""!==a}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(...a){return a.join("_")}}return g.\u0275fac=function(a){return new(a||g)(c.Y36(ae.g))},g.\u0275cmp=c.Xpm({type:g,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(a,m){1&a&&c.YNc(0,xo,9,13,"div",0),2&a&&c.Q6J("ngIf",!m.isClosed)},directives:[v.O5,v.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:[H("openClose",[z(mn.new,_e({opacity:0})),z(mn.open,_e({opacity:1})),z(mn.closed,_e({opacity:0,transform:"translateX(25%)"})),Ae(`${mn.open} => ${mn.closed}`,[G("0.25s")]),Ae(`${mn.new} => ${mn.open}`,[G("0.25s")]),Ae(`${mn.closed} => ${mn.open}`,[G("0.25s")])])]}}),g})(),Xo=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[v.ez,ye,pe.m]]}),g})(),es=(()=>{class g{constructor(a){this.locale=a}get position(){return this.locale.isLtr?$l:Gl}}return g.\u0275fac=function(a){return new(a||g)(c.LFG(ae.g))},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),zl=(()=>{class g{constructor(a,m){this._alertService=a,this._positionService=m,this.alerts=this.alerts?this.alerts:[]}set position(a){this._position=((g,u=bi.topRight)=>{if(g){const a=(g=>{const u=Object.keys(bi),m=Object.values(bi).indexOf(g);return-1!==m?u[m]:(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)})(g);if(a)return bi[a]}return u})(a)}get position(){return this._position.toString()}alertClosed(a){this._alertService.removeById(a.id,this.group)}ngOnInit(){this.group||(this.group=$o.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(m=>this._addAlert(m)),this._groupEvents=this._alertService.alertEvents.pipe((0,Ee.h)(m=>m.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(a){return this.alerts.findIndex(m=>m.id===a)}_addAlert(a){return this.alerts.push(a),this.alerts}_removeAlert(a){const m=this._findAlertIndexById(a.id);return m>-1&&(this.alerts.splice(m,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(a){switch(a.type){case pi.add:this._addAlert(a.alert);break;case pi.clear:this._clearAlerts();break;case pi.remove:this._removeAlert(a.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?g.positionPrefix+bi.inline.toString():g.positionPrefix+this.position.toString()}}return g.positionPrefix="position-",g.\u0275fac=function(a){return new(a||g)(c.Y36($o),c.Y36(es))},g.\u0275cmp=c.Xpm({type:g,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(a,m){1&a&&(c.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),c.YNc(5,Ca,2,1,"div",4),c.qZA()(),c.YNc(6,wa,1,1,"div",5),c.qZA()),2&a&&(c.xp6(1),c.Q6J("ngClass",m.positionClasses),c.xp6(4),c.Q6J("ngForOf",m.alerts),c.xp6(1),c.Q6J("ngIf",m.hasAlerts))},directives:[Pr,v.mk,v.sg,v.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}}"]}),g})(),Ys=(()=>{class g{}return g.\u0275fac=function(a){return new(a||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[v.ez,Xo]]}),g})()},9241:(Ue,X,F)=>{"use strict";F.d(X,{AH:()=>re,P4:()=>ce,wW:()=>H});var c=F(6738),v=F(6895);function we(ee,_e){if(1&ee){const z=c.EpF();c.TgZ(0,"span",7),c.NdJ("click",function(Ae){c.CHM(z);const lt=c.oxw().$implicit,Ye=c.oxw();return Ae.preventDefault(),Ye.removeTab(lt)}),c._uU(1," \u274c"),c.qZA()}}const Ee=function(ee){return["nav-item",ee]};function pe(ee,_e){if(1&ee){const z=c.EpF();c.TgZ(0,"li",3),c.NdJ("keydown",function(Ae){const Ye=c.CHM(z).index;return c.oxw().keyNavActions(Ae,Ye)}),c.TgZ(1,"a",4),c.NdJ("click",function(){return c.CHM(z).$implicit.active=!0}),c.TgZ(2,"span",5),c._uU(3),c.qZA(),c.YNc(4,we,2,0,"span",6),c.qZA()()}if(2&ee){const z=_e.$implicit;c.ekj("active",z.active)("disabled",z.disabled),c.Q6J("ngClass",c.VKq(15,Ee,z.customClass||"")),c.xp6(1),c.ekj("active",z.active)("disabled",z.disabled),c.uIk("aria-controls",z.id?z.id:"")("aria-selected",!!z.active)("id",z.id?z.id+"-link":""),c.xp6(1),c.Q6J("ngTransclude",z.headingRef),c.xp6(1),c.Oqu(z.heading),c.xp6(1),c.Q6J("ngIf",z.removable)}}const ae=["*"];let me=(()=>{class ee{constructor(z){this.viewRef=z}set ngTransclude(z){this._ngTransclude=z,z&&this.viewRef.createEmbeddedView(z)}get ngTransclude(){return this._ngTransclude}}return ee.\u0275fac=function(z){return new(z||ee)(c.Y36(c.s_b))},ee.\u0275dir=c.lG2({type:ee,selectors:[["","ngTransclude",""]],inputs:{ngTransclude:"ngTransclude"}}),ee})(),Z=(()=>{class ee{constructor(){this.type="tabs",this.isKeysAllowed=!0,this.ariaLabel="Tabs"}}return ee.\u0275fac=function(z){return new(z||ee)},ee.\u0275prov=c.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),re=(()=>{class ee{constructor(z,ie,Ae){this.renderer=ie,this.elementRef=Ae,this.clazz=!0,this.tabs=[],this.classMap={},this.ariaLabel="Tabs",this.isDestroyed=!1,this._vertical=!1,this._justified=!1,this._type="tabs",this._isKeysAllowed=!0,Object.assign(this,z)}get vertical(){return this._vertical}set vertical(z){this._vertical=z,this.setClassMap()}get justified(){return this._justified}set justified(z){this._justified=z,this.setClassMap()}get type(){return this._type}set type(z){this._type=z,this.setClassMap()}get isKeysAllowed(){return this._isKeysAllowed}set isKeysAllowed(z){this._isKeysAllowed=z}ngOnDestroy(){this.isDestroyed=!0}addTab(z){this.tabs.push(z),z.active=1===this.tabs.length&&!z.active}removeTab(z,ie={reselect:!0,emit:!0}){const Ae=this.tabs.indexOf(z);if(-1!==Ae&&!this.isDestroyed){if(ie.reselect&&z.active&&this.hasAvailableTabs(Ae)){const lt=this.getClosestTabIndex(Ae);this.tabs[lt].active=!0}ie.emit&&z.removed.emit(z),this.tabs.splice(Ae,1),z.elementRef.nativeElement.parentNode&&this.renderer.removeChild(z.elementRef.nativeElement.parentNode,z.elementRef.nativeElement)}}keyNavActions(z,ie){if(!this.isKeysAllowed)return;const Ae=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13===z.keyCode||"Enter"===z.key||32===z.keyCode||"Space"===z.key)return z.preventDefault(),void Ae[ie%Ae.length].click();if(39!==z.keyCode&&"RightArrow"!==z.key)if(37!==z.keyCode&&"LeftArrow"!==z.key)if(36!==z.keyCode&&"Home"!==z.key)if(35!==z.keyCode&&"End"!==z.key){if((46===z.keyCode||"Delete"===z.key)&&this.tabs[ie].removable){if(this.removeTab(this.tabs[ie]),Ae[ie+1])return void Ae[(ie+1)%Ae.length].focus();Ae[Ae.length-1]&&Ae[0].focus()}}else{z.preventDefault();let lt,Ye=1,Xe=ie;do{Xe-Ye<0?(Xe=Ae.length-1,lt=Ae[Xe],Ye=0):lt=Ae[Xe-Ye],Ye++}while(lt.classList.contains("disabled"));lt.focus()}else{z.preventDefault();let lt,Ye=0;do{lt=Ae[Ye%Ae.length],Ye++}while(lt.classList.contains("disabled"));lt.focus()}else{let lt,Ye=1,Xe=ie;do{Xe-Ye<0?(Xe=Ae.length-1,lt=Ae[Xe],Ye=0):lt=Ae[Xe-Ye],Ye++}while(lt.classList.contains("disabled"));lt.focus()}else{let lt,Ye=1;do{lt=Ae[(ie+Ye)%Ae.length],Ye++}while(lt.classList.contains("disabled"));lt.focus()}}getClosestTabIndex(z){const ie=this.tabs.length;if(!ie)return-1;for(let Ae=1;Ae<=ie;Ae+=1){const lt=z-Ae,Ye=z+Ae;if(this.tabs[lt]&&!this.tabs[lt].disabled)return lt;if(this.tabs[Ye]&&!this.tabs[Ye].disabled)return Ye}return-1}hasAvailableTabs(z){const ie=this.tabs.length;if(!ie)return!1;for(let Ae=0;Ae<ie;Ae+=1)if(!this.tabs[Ae].disabled&&Ae!==z)return!0;return!1}setClassMap(){this.classMap={"nav-stacked":this.vertical,"flex-column":this.vertical,"nav-justified":this.justified,[`nav-${this.type}`]:!0}}}return ee.\u0275fac=function(z){return new(z||ee)(c.Y36(Z),c.Y36(c.Qsj),c.Y36(c.SBq))},ee.\u0275cmp=c.Xpm({type:ee,selectors:[["tabset"]],hostVars:2,hostBindings:function(z,ie){2&z&&c.ekj("tab-container",ie.clazz)},inputs:{vertical:"vertical",justified:"justified",type:"type"},ngContentSelectors:ae,decls:4,vars:3,consts:[["role","tablist",1,"nav",3,"ngClass","click"],[3,"ngClass","active","disabled","keydown",4,"ngFor","ngForOf"],[1,"tab-content"],[3,"ngClass","keydown"],["href","javascript:void(0);","role","tab",1,"nav-link",3,"click"],[3,"ngTransclude"],["class","bs-remove-tab",3,"click",4,"ngIf"],[1,"bs-remove-tab",3,"click"]],template:function(z,ie){1&z&&(c.F$t(),c.TgZ(0,"ul",0),c.NdJ("click",function(lt){return lt.preventDefault()}),c.YNc(1,pe,5,17,"li",1),c.qZA(),c.TgZ(2,"div",2),c.Hsn(3),c.qZA()),2&z&&(c.Q6J("ngClass",ie.classMap),c.uIk("aria-label",ie.ariaLabel),c.xp6(1),c.Q6J("ngForOf",ie.tabs))},directives:[v.mk,v.sg,me,v.O5],styles:["[_nghost-%COMP%] .nav-tabs[_ngcontent-%COMP%] .nav-item.disabled[_ngcontent-%COMP%] a.disabled[_ngcontent-%COMP%]{cursor:default}"]}),ee})(),H=(()=>{class ee{constructor(z,ie,Ae){this.elementRef=ie,this.renderer=Ae,this.disabled=!1,this.removable=!1,this.selectTab=new c.vpe,this.deselect=new c.vpe,this.removed=new c.vpe,this.addClass=!0,this.role="tabpanel",this._active=!1,this._customClass="",this.tabset=z,this.tabset.addTab(this)}get customClass(){return this._customClass}set customClass(z){this.customClass&&this.customClass.split(" ").forEach(ie=>{this.renderer.removeClass(this.elementRef.nativeElement,ie)}),this._customClass=z?z.trim():"",this.customClass&&this.customClass.split(" ").forEach(ie=>{this.renderer.addClass(this.elementRef.nativeElement,ie)})}get active(){return this._active}set active(z){if(this._active!==z){if(this.disabled&&z||!z)return void(this._active&&!z&&(this.deselect.emit(this),this._active=z));this._active=z,this.selectTab.emit(this),this.tabset.tabs.forEach(ie=>{ie!==this&&(ie.active=!1)})}}get ariaLabelledby(){return this.id?`${this.id}-link`:""}ngOnInit(){this.removable=!!this.removable}ngOnDestroy(){this.tabset.removeTab(this,{reselect:!1,emit:!1})}}return ee.\u0275fac=function(z){return new(z||ee)(c.Y36(re),c.Y36(c.SBq),c.Y36(c.Qsj))},ee.\u0275dir=c.lG2({type:ee,selectors:[["tab"],["","tab",""]],hostVars:7,hostBindings:function(z,ie){2&z&&(c.uIk("id",ie.id)("role",ie.role)("aria-labelledby",ie.ariaLabelledby),c.ekj("active",ie.active)("tab-pane",ie.addClass))},inputs:{heading:"heading",id:"id",disabled:"disabled",removable:"removable",customClass:"customClass",active:"active"},outputs:{selectTab:"selectTab",deselect:"deselect",removed:"removed"},exportAs:["tab"]}),ee})(),ce=(()=>{class ee{static forRoot(){return{ngModule:ee,providers:[]}}}return ee.\u0275fac=function(z){return new(z||ee)},ee.\u0275mod=c.oAB({type:ee}),ee.\u0275inj=c.cJS({imports:[[v.ez]]}),ee})()}}]);
Back to Directory
File Manager