Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/account-enhancements/vendor.js
(self.webpackChunkaccount_enhancements=self.webpackChunkaccount_enhancements||[]).push([[736],{109:(Me,Q,x)=>{"use strict";x.d(Q,{F:()=>l});var l=(()=>{return(v=l||(l={}))[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",l;var v})()},7709:(Me,Q,x)=>{"use strict";x.d(Q,{h:()=>l});class l{constructor(z,q){if(!z)throw new Error("You must provide a name when creating a name/value argument");this.name=z,this.value=q}}},3022:(Me,Q,x)=>{"use strict";x.d(Q,{tO:()=>Jt,VN:()=>Ze});var l=x(4235),v=x.n(l),K=x(1305),z=x.n(K),q=x(4798),Z=x.n(q),re=x(9138),oe=x.n(re),we=x(248),j=x.n(we),Y=x(1503),ce=x.n(Y),ye=x(7614),je=x.n(ye);function ke(ht){if(v()(ht)||z()(ht)||Z()(ht)||oe()(ht)||j()(ht))return!0;if(!je()(ht)&&!ce()(ht))return!1;for(const qe in ht)if(!ke(ht[qe]))return!1;return!0}class Ze{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(qe,ct,Le){if(!qe)throw new Error("Name must have a non-empty value");return`${qe}=${encodeURIComponent(ct.toString())}`+(Le?"":this.recordSeparator)}}class Jt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(qe,ct,Le){if(!qe)throw new Error("Name must have a non-empty value");if(!ke(ct))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(qe)+":"+JSON.stringify(ct)+(Le?"":this.recordSeparator)}}},3357:(Me,Q,x)=>{"use strict";x.d(Q,{p:()=>l,w:()=>v});var l=(()=>{return(K=l||(l={}))[K.Contains=0]="Contains",K[K.Begins=1]="Begins",K[K.Ends=2]="Ends",K[K.Matches=3]="Matches",K[K.Equal=4]="Equal",K[K.NotEqual=5]="NotEqual",K[K.LessThan=6]="LessThan",K[K.LessThanUnlimited=7]="LessThanUnlimited",K[K.GreaterThan=8]="GreaterThan",K[K.GreaterThanUnlimited=9]="GreaterThanUnlimited",K[K.Defined=10]="Defined",K[K.Undefined=11]="Undefined",l;var K})();class v{constructor(z,q,Z){if(!z)throw new Error("You must define a non-empty column name.");this.column=z,this.operator=q,this.value=Z}}},755:(Me,Q,x)=>{"use strict";x.d(Q,{ER:()=>v,PE:()=>K,Sr:()=>l});var l=(()=>{return(z=l||(l={}))[z.Ascending=0]="Ascending",z[z.Descending=1]="Descending",l;var z})(),v=(()=>{return(z=v||(v={}))[z.Lexicographic=0]="Lexicographic",z[z.Ipv4=1]="Ipv4",z[z.Numeric=2]="Numeric",z[z.NumericZeroAsMax=3]="NumericZeroAsMax",v;var z})();class K{constructor(q,Z=l.Ascending,re=v.Lexicographic){if(!q)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=q,this.direction=Z,this.type=re}}},7800:(Me,Q,x)=>{"use strict";x.d(Q,{r:()=>Gt,N:()=>dn});var l=x(1978),v=x.n(l);function K(gt){return gt?"1":"0"}var Z=x(755),re=x(3357),oe=x(7709);const j=Number.POSITIVE_INFINITY;class Y{constructor(ie=1,Oe=20){if(ie<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(Oe<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=ie,this.pageSize=Oe}all(){return this.pageSize===j}}class ce{constructor(ie=[]){this.headers=ie}push(ie){this.headers.push(ie)}forEach(ie,Oe){this.headers.forEach(ie,Oe)}toArray(){const ie=[];return this.headers.forEach(Oe=>ie.push({name:Oe.name,value:Oe.value})),ie}toObject(){return this.headers.reduce((ie,Oe)=>(ie[Oe.name]=Oe.value,ie),{})}}class ye{constructor(ie){this._header=ie}get name(){return this._header.name}get value(){return this._header.value}}class je extends Error{constructor(ie){super(ie),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,je.prototype)}}class ke extends Error{constructor(ie){super(ie),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,ke.prototype)}}class Ge extends ye{constructor(ie,Oe){if(!ie)throw new je("You must pass a valid token to the constructor.");if(!Oe&&!/^.+[:]/.test(ie))throw new je("You must pass a cPanel username associated with the cPanel API token.");if(!Oe&&!/[:].+$/.test(ie))throw new je("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Oe?Oe+":":""}${ie}`})}}Error,Error;var ct=x(109);const _t=new class Le{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[ct.F.GET,ct.F.DELETE,ct.F.HEAD].forEach(ie=>{const Oe=ct.F[ie].toString();this.map[Oe]={verb:Oe,dataInBody:!1}}),[ct.F.POST,ct.F.PUT,ct.F.PATCH].forEach(ie=>{const Oe=ct.F[ie].toString();this.map[Oe]={verb:Oe,dataInBody:!0}})}getRule(ie){const Oe="string"==typeof ie?ie:ct.F[ie].toString();let Fe=this.map[Oe];return Fe||(Fe=this.map.DEFAULT),Fe}};var rn=x(3022),Rn=x(8448),gn=x.n(Rn),dn=(()=>{return(gt=dn||(dn={})).JsonApi="json-api",gt.XmlApi="xml-api",dn;var gt})();class Gt extends class qe{constructor(ie){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new Y,this.headers=new ce,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ie&&(this.method=ie.method,ie.namespace&&(this.namespace=ie.namespace),ie.arguments&&ie.arguments.forEach(Oe=>{this.addArgument(Oe)}),ie.sorts&&ie.sorts.forEach(Oe=>{this.addSort(Oe)}),ie.filters&&ie.filters.forEach(Oe=>{this.addFilter(Oe)}),ie.columns&&ie.columns.forEach(Oe=>this.addColumn(Oe)),ie.pager&&this.paginate(ie.pager),this.config=ie.config?ie.config:this.defaultConfig,ie.headers&&ie.headers.forEach(Oe=>{this.addHeader(Oe)}))}get usePager(){return this._usePager}addArgument(ie){return this.arguments.push(ie instanceof oe.h?ie:new oe.h(ie.name,ie.value)),this}addSort(ie){return this.sorts.push(ie instanceof Z.PE?ie:new Z.PE(ie.column,ie.direction,ie.type)),this}addFilter(ie){return this.filters.push(ie instanceof re.w?ie:new re.w(ie.column,ie.operator,ie.value)),this}addColumn(ie){return this.columns.push(ie),this}addHeader(ie){return this.headers.push(ie instanceof ye?ie:new ye(ie)),this}paginate(ie){return this.pager=ie instanceof Y?ie:new Y(ie.page,ie.pageSize||20),this._usePager=!0,this}}{constructor(ie,Oe){if(super(Oe),this.apiType=dn.JsonApi,ie!=dn.JsonApi&&ie!=dn.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=ie,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(ie){if(ie instanceof Ge)throw new ke("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(ie),this}_build(ie,Oe){let Fe="";return ie.forEach((Vt,Yt,Ur)=>{Fe+=Oe.encode(Vt.name,Vt.value,Yt===Ur.length-1)}),Oe.separatorStart+Fe+Oe.separatorEnd}_make_whm_api_fieldspec_from_number(ie){return gn()("",Math.floor(ie/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(ie%26)}_generateArguments(ie){ie.push({name:"api.version",value:1}),this.arguments.forEach(Fe=>ie.push(Fe))}_generateSorts(ie){this.sorts.forEach((Oe,Fe)=>{0===Fe&&ie.push({name:"api.sort.enable",value:K(!0)});const Vt=`api.sort.${this._make_whm_api_fieldspec_from_number(Fe)}`;ie.push({name:`${Vt}.field`,value:Oe.column}),ie.push({name:`${Vt}.reverse`,value:K(Oe.direction!==Z.Sr.Ascending)}),ie.push({name:`${Vt}.method`,value:v()(Z.ER[Oe.type])})})}_lookupFilterOperator(ie){switch(ie){case re.p.GreaterThanUnlimited:return"gt_handle_unlimited";case re.p.GreaterThan:return"gt";case re.p.LessThanUnlimited:return"lt_handle_unlimited";case re.p.LessThan:return"lt";case re.p.Equal:return"eq";case re.p.Begins:return"begins";case re.p.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${re.p[ie]} for WHM API 1`)}}_generateFilters(ie){this.filters.forEach((Oe,Fe)=>{0===Fe&&(ie.push({name:"api.filter.enable",value:K(!0)}),ie.push({name:"api.filter.verbose",value:K(!0)}));const Vt=`api.filter.${this._make_whm_api_fieldspec_from_number(Fe)}`;ie.push({name:`${Vt}.field`,value:Oe.column}),ie.push({name:`${Vt}.type`,value:this._lookupFilterOperator(Oe.operator)}),ie.push({name:`${Vt}.arg0`,value:Oe.value})})}_translatePageToStart(ie){return(ie.page-1)*ie.pageSize+1}_generatePagination(ie){if(!this.usePager)return;const Oe=this.pager.all();ie.push({name:"api.chunk.enable",value:K(!0)}),ie.push({name:"api.chunk.verbose",value:K(!0)}),ie.push({name:"api.chunk.start",value:Oe?-1:this._translatePageToStart(this.pager)}),Oe||ie.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(ie){ie||(ie={verb:ct.F.POST,encoder:this.config.json?new rn.tO:new rn.VN}),ie.encoder||(ie.encoder=this.config.json?new rn.tO:new rn.VN);const Oe=_t.getRule(ie.verb),Fe={headers:new ce([{name:"Content-Type",value:ie.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Vt=[];this._generateArguments(Vt),this._generateSorts(Vt),this._generateFilters(Vt),this._generatePagination(Vt);const Yt=this._build(Vt,ie.encoder);return Oe.dataInBody?Fe.body=Yt:Fe.url+=ie.verb===ct.F.GET?`?${Yt}`:Yt,this.headers.forEach(Ur=>{Fe.headers.push({name:Ur.name,value:Ur.value})}),Fe}}},269:(Me,Q,x)=>{"use strict";Q.g=void 0;const v=x(1680);Object.defineProperty(Q,"g",{enumerable:!0,get:function(){return v.Locale}})},5074:(Me,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.CLDR=void 0,Q.CLDR=class x{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,...K){return this.rawData.functions.get_plural_form(v,...K)}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:(Me,Q,x)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Locale=void 0;const l=x(2889),v=x(9483),K=x(741),z=x(786),q=x(5074);Q.Locale=class Z{constructor(oe,we={}){this.lexicon=we,this._cldr=new q.CLDR(oe)}maketext(oe,...we){return l.maketext({cldr:this._cldr,lexicon:this.lexicon,template:oe,args:we})}localDatetime(oe,we){return this._datetimeWrapper(v.local_datetime,oe,we)}datetime(oe,we){return this._datetimeWrapper(v.datetime,oe,we)}_datetimeWrapper(oe,we,j){return oe({cldr:this._cldr,args:[we,j]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(oe,we){return this._formatNumber(K.numf,oe,we)}format_bytes(oe,we){return this._formatNumber(K.format_bytes,oe,we)}_formatNumber(oe,...we){return this._callCLDRFunc(oe,we)}list_and(...oe){return this._callCLDRFunc(z.list_and,oe)}list_and_quoted(...oe){return this._callCLDRFunc(z.list_and_quoted,oe)}list_or(...oe){return this._callCLDRFunc(z.list_or,oe)}list_or_quoted(...oe){return this._callCLDRFunc(z.list_or_quoted,oe)}_callCLDRFunc(oe,we){return oe({cldr:this._cldr,args:we})}}},7296:(Me,Q,x)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.asis=void 0;const l=x(5247);Q.asis=function v({args:[K,...z]}){if(!K||z.length>0||"string"!=typeof K)throw new Error("asis function accepts one non translatable string.");return(K=K.replace(/chr\((\d+)\)/g,function(q,Z){return l.functions.chr(Number(Z))})).replace(/amp\(\)/g,function(q){return l.functions.amp()})}},527:(Me,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.boolean=void 0,Q.boolean=function x({args:[l,v,K,z]}){if(null==v||0===v.length||null==K||0===K.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof l<"u"&&l?v:z&&null==l?z:K)}},9076:(Me,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.comment=void 0,Q.comment=function x({args:[l]}){return""}},9483:(Me,Q,x)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.local_datetime=Q.datetime=Q.dateToLocalDayNum=void 0;const l=x(5074),v=function(j){const Y=j.getUTCDay()-1;return Y<0?6:Y},K=[7,1,2,3,4,5,6];function z(j,Y){return(K[j.getUTCDay()]+7-Y)%7+1}Q.dateToLocalDayNum=z;const q=function(j,Y,ce){let ye="",je=0;return Y=Y||0,ce=String(void 0===ce?" ":ce),je=Y-String(j).length,je>0&&(ye=[...Array(je)].map(String.prototype.valueOf,ce).join("")),ye+j};function Z({cldr:j,args:[Y=new Date,ce],tzString:ye="UTC"}){if("number"==typeof Y&&/^-?\d+$/.test(Y.toString())&&(Y=new Date(1e3*Y)),!(Y instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(j instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const je=j.getDateTimeInfo();return"string"==typeof ce&&/^(?:date|time|datetime|special)_format_/.test(ce)&&(ce=je[ce]),ce||(ce=je.date_format_long),ce.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(ke,Ge,Ze){return Ge?function re(j){return j.substr(1,j.length-2)}(Ge):function oe(j,Y,ce,ye){switch(ce){case"yy":return Math.abs(j.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(j.getUTCFullYear()));case"MMMMM":return Y.month_format_narrow[j.getUTCMonth()];case"LLLLL":return Y.month_stand_alone_narrow[j.getUTCMonth()];case"MMMM":return Y.month_format_wide[j.getUTCMonth()];case"LLLL":return Y.month_stand_alone_wide[j.getUTCMonth()];case"MMM":return Y.month_format_abbreviated[j.getUTCMonth()];case"LLL":return Y.month_stand_alone_abbreviated[j.getUTCMonth()];case"MM":case"LL":return q((j.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(j.getUTCMonth()+1);case"EEEE":return Y.day_format_wide[v(j)];case"EEE":case"EE":case"E":return Y.day_format_abbreviated[v(j)];case"EEEEE":return Y.day_format_narrow[v(j)];case"cccc":return Y.day_stand_alone_wide[v(j)];case"ccc":return Y.day_stand_alone_abbreviated[v(j)];case"cc":case"c":return String(z(j,Number(Y.first_day_of_week)));case"ccccc":return Y.day_stand_alone_narrow[v(j)];case"dd":return q(j.getUTCDate().toString(),2,"0");case"d":return String(j.getUTCDate());case"h":case"hh":{let je=j.getUTCHours();je>12&&(je-=12),0===je&&(je=12);const ke="hh"===ce?q(je.toString(),2,"0"):je;return String(ke)}case"H":return String(j.getUTCHours());case"HH":return q(j.getUTCHours().toString(),2,"0");case"m":return String(j.getUTCMinutes());case"mm":return q(j.getUTCMinutes().toString(),2,"0");case"s":return String(j.getUTCSeconds());case"ss":return q(j.getUTCSeconds().toString(),2,"0");case"a":return j.getUTCHours()<12?Y.am_pm_abbreviated[0]:Y.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return ye;case"G":case"GG":case"GGG":return Y.era_abbreviated[j.getUTCFullYear()<0?0:1];case"GGGGG":return Y.era_narrow[j.getUTCFullYear()<0?0:1];case"GGGG":return Y.era_wide[j.getUTCFullYear()<0?0:1]}return ce}(Y,je,Ze,ye)})}Q.datetime=Z,Q.local_datetime=function we({cldr:j,args:[Y=new Date,ce]}){if("number"==typeof Y&&/^-?\d+$/.test(Y.toString())&&(Y=new Date(1e3*Y)),!(Y instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(j instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ye=Y.getTimezoneOffset();(Y=new Date(Y)).setMinutes(Y.getMinutes()-ye);const je=ye>0?"-":"+",ke=Math.floor(Math.abs(ye)/60),Ge=Math.abs(ye%60);return Z({cldr:j,args:[Y,ce],tzString:"GMT"+je+q(ke.toString(),2,"0")+q(Ge.toString(),2,"0")})}},40:(Me,Q,x)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.functions=void 0;const l=x(7296),v=x(5247),K=x(9076),z=x(527),q=x(741),Z=x(9483),re=x(786);Q.functions={asis:l.asis,output:v.output,comment:K.comment,boolean:z.boolean,numf:q.numf,numerate:q.numerate,quant:q.quant,format_bytes:q.format_bytes,datetime:Z.datetime,local_datetime:Z.local_datetime,list_and:re.list_and,list_or:re.list_or,list_or_quoted:re.list_or_quoted,list_and_quoted:re.list_and_quoted}},786:(Me,Q)=>{"use strict";function l(re,oe,...we){let j=we.slice();switch(1===j.length&&Array.isArray(j[0])&&(j=j[0].slice()),(typeof j>"u"||0===j.length)&&(j=[""]),j=j.map(Y=>function x(re,oe){const we=re.getDelimiters();return we&&Object.prototype.hasOwnProperty.call(we,"quotation_start")&&Object.prototype.hasOwnProperty.call(we,"quotation_end")?we.quotation_start+oe+we.quotation_end:oe}(re,Y)),oe){case"list_and":return q({cldr:re,args:j});case"list_or":return Z({cldr:re,args:j});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function z(re,oe,...we){let j=we.slice();1===j.length&&Array.isArray(j[0])&&(j=j[0].slice());const Y=j.length;let ce,ye,je,ke;try{ce=re.getFormats()[oe]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Ge=function(Ze,Jt){switch(Jt){case"0":return je;case"1":return j[ke++]}};switch(Y){case 0:return"";case 1:return String(j[0]);default:if(je=2===Y?ce[2]:ce.start,je=je.replace(/\{([01])\}/g,function(Ze,Jt){return j[Jt]}),2===Y)return je;for(ke=2;ke<Y;)ye=ce[ke===Y-1?"end":"middle"],je=ye.replace(/\{([01])\}/g,Ge);return je}}function q({cldr:re,args:[...oe]}){return z(re,"list",...oe)}function Z({cldr:re,args:[...oe]}){return z(re,"list_or",...oe)}Object.defineProperty(Q,"__esModule",{value:!0}),Q.list_or=Q.list_and=Q.list_or_quoted=Q.list_and_quoted=void 0,Q.list_and_quoted=function v({cldr:re,args:[...oe]}){return l(re,"list_and",...oe)},Q.list_or_quoted=function K({cldr:re,args:[...oe]}){return l(re,"list_or",...oe)},Q.list_and=q,Q.list_or=Z},5247:(Me,Q,x)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.functions=Q.output=void 0;const l=x(7906),v=x(8533);Q.output=function K({args:[z,...q]}){if(q&&"string"==typeof q[0]&&(q[0]=q[0].replace(/chr\((\d+)\)/g,function(Z,re){return Q.functions.chr(Number(re))}),q[0]=q[0].replace(/amp\(\)/g,function(Z){return Q.functions.amp()})),"function"==typeof Q.functions[z])return Q.functions[z](...q);throw new Error(`Locale output function '${z}' is not implemented.`)},Q.functions={amp:()=>l.htmlEscape("&"),apos:()=>l.htmlEscape("'"),quot:()=>l.htmlEscape('"'),underline:z=>`<u>${z}</u>`,strong:z=>`<strong>${z}</strong>`,em:z=>`<em>${z}</em>`,abbr:(z,q)=>`<abbr title="${q}">${z}</abbr>`,acronym:(z,q)=>`<abbr title="${q}" class="initialism">${z}</abbr>`,class:(z,...q)=>`<span class="${q.join(" ")}">${z}</span>`,chr(z){if("string"==typeof z&&(z=Number(z)),"number"!=typeof z||isNaN(z))throw new Error("chr needs a number as argument");return l.htmlEscape(String.fromCharCode(z))},url(z,...q){let Z,re;if("object"==typeof q[q.length-1])if(Z=q[q.length-1],2===q.length){if(Z.html)throw new Error("Cannot provide both text and configuration with html attribute");re=q[0]}else Z&&Z.html?(re=Z.html,delete Z.html):re=z;else q.length%2==0?(Z=v.listToObject(...q),Z&&"html"in Z&&""!==Z.html?(re=Z.html,delete Z.html):re=z):(re=q.shift(),Z=v.listToObject(...q));"_type"in Z&&"offsite"===Z._type&&(Z.class="offsite",Z.target="_blank",delete Z._type);let oe=`<a href="${z}"`;if("object"==typeof Z)for(const we in Z)Object.prototype.hasOwnProperty.call(Z,we)&&(oe+=` ${we}="${Z[we]}"`);return oe+=`>${re}</a>`,oe}}},741:(Me,Q,x)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.format_bytes=Q.numf=Q.quant=Q.numerate=void 0;const l=x(5074);function K({cldr:re,args:[oe,...we]}){if(!(re instanceof l.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let j,Y=3;oe instanceof Array?(Y=oe[1],j=oe[0]):j=oe;const ce=re.getPluralForm(j,...we),ye=ce[0]?ce[0]:we[we.length-1];if(ce&&ce.length>=2&&ce[1])return ye;const ke=q({cldr:re,args:[j,Y]});return-1!==ye.indexOf("%s")?ye.replace(/%s/g,ke):re.isRtl()?ye+" "+ke:ke+" "+ye}function q({cldr:re,args:[oe,we=6]}){if(!(re instanceof l.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(oe.toString()))return String(oe);const{decimalFormat:j,decimalGroup:Y,decimalDecimal:ce}=function z(re){const oe={},we=re.getFormats();return Object.prototype.hasOwnProperty.call(we,"decimal")&&(oe.decimalFormat=we.decimal),Object.prototype.hasOwnProperty.call(we,"_decimal_format_group")&&(oe.decimalGroup=we._decimal_format_group),Object.prototype.hasOwnProperty.call(we,"_decimal_format_decimal")&&(oe.decimalDecimal=we._decimal_format_decimal),oe}(re);if(!j||!Y||!ce)throw new Error("CLDR Data is missing information related to formatting decimals.");const ye=oe<0;oe=Math.abs(oe);let ke,Ge,je=Math.floor(oe);/(?!')\.(?!')/.test(oe.toString())&&(ke=String(oe).replace(/^[^.]+/,"0"),ke=Number(ke).toFixed(we),/^1/.test(ke)?(je++,oe=je,ke=void 0):ke=ke.replace(/^.*\./,"").replace(/0+$/,"")),Ge=/(?!');(?!')/.test(j)?j.split(/(?!');(?!')/)[ye?1:0]:(ye?"-":"")+j;const ht=Ge.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let qe;1===ht.length?qe="":(ht.pop(),qe=Y);const ct=String(je).split("").reverse(),Le=[];let _t;const rn=function(gn){switch(gn){case"#":return ct.shift()||"";case"0":return ct.shift()||"0"}};for(;ct.length;){ht.length&&(_t=ht.shift());const gn=_t.replace(/(?!')[0#]|[0#](?!')/g,rn).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Le.push(gn)}const Rn=Le.join(qe).split("").reverse().join("")+(ke?ce+ke:"");return Ge.replace(/[0#].*[0#]/,Rn)}Q.numerate=function v({cldr:re,args:[oe,...we]}){if(!(re instanceof l.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const j=re.getPluralForm(oe,...we);return j?j[0]:we[we.length-1]},Q.quant=K,Q.numf=q,Q.format_bytes=function Z({cldr:re,args:[oe,we=2]}){if(!(re instanceof l.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const j=["KB","MB","GB","TB","PB","EB","ZB","YB"],ce=oe&&Math.min(Math.floor(Math.log(oe)/Math.log(1024)),j.length);return ce?q({cldr:re,args:[oe/Math.pow(1024,ce),we]})+"\xa0"+j[ce-1]:K({cldr:re,args:[oe,"%s\xa0byte","%s\xa0bytes"]})}},2889:(Me,Q,x)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.maketext=Q.functions=Q.config=void 0;const l=x(40);function q(Z,re){const oe=[];let we=!1,j=!1;return Z.forEach((Y,ce)=>{if("_"===Y.charAt(0))if("_*"===Y){if(j)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";oe.push(...re),we=!0}else{const ye=Y.match(Q.config.underscoreDigitRe);if(ye){if(we)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[je,ke]=ye,Ge=Number(ke)-1;if(!(Ge in re))throw`The "${je}" substitution argument was not passed to the maketext function.`;oe.push(re[Ge]),j=!0}}else oe.push(Y)}),oe}Q.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},Q.functions={...l.functions},Q.maketext=function K({cldr:Z,lexicon:re,template:oe,args:we}){if("string"!=typeof oe)throw"You must pass a string template to the maketext function.";if(-1===(oe=re&&re[oe]||oe).indexOf("["))return oe;const j=oe.match(Q.config.bracketRe)||[],Y=[];let ce=!1,ye="";if(j.forEach(je=>{if("["===je){if(ce)throw Error(`Invalid maketext string: ${oe} \nThe string contains nested brackets.`);ce=!0}else if("]"===je){if(!ce)throw Error(`Invalid maketext string: ${oe} \nThe string contains an unmatched closing bracket character (]).`);if(!ye)throw Error(`Invalid maketext string: ${oe} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let ke;ce=!1;try{ke=function z(Z,re,oe){let we=re.split(",");if(we=we.map(ce=>ce.replace(Q.config.fauxCommaRe,",")),1===we.length){if(!Q.config.underscoreDigitRe.test(we[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ce]=q(we,oe);return String(ce)}const j=we.shift();if(!j||"function"!=typeof Q.functions[j])throw`Invalid function "${j}" in maketext string.`;const Y=q(we,oe);return Q.functions[j]({cldr:Z,args:Y})}(Z,ye,we)}catch(Ge){throw Error(`Invalid maketext string: ${oe} \n${Ge}`)}ye="",Y.push(ke)}else if("~"===je.charAt(0)){const ke=je.charAt(1)||"~";ce?ye+=","===ke?Q.config.fauxComma:ke:Q.config.tildeChars.has(ke)?Y.push(ke):Y.push(je)}else ce?ye+=je:Y.push(je)}),ce)throw Error(`Invalid maketext string: ${oe} \nThe string contains an unmatched opening bracket character ([).`);return Y.join("")}},7906:(Me,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.htmlEscape=Q.entityMap=void 0,Q.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},Q.htmlEscape=function x(l){return String(l).replace(/[&<>"'\/]/g,v=>Q.entityMap[v])}},8533:(Me,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.listToObject=void 0,Q.listToObject=function v(...K){let z={};return function x(K){if(K.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let q=0,Z=K.length;q<Z;q+=2){const re=K[q];if("string"!=typeof re||""===re)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(K)&&(z=function l(K){const z=K.length,q={};let re,oe,Z=0;for(;Z<z;)re=K[Z],oe=K[++Z],q[re]=oe,Z++;return q}(K)),z}},443:(Me,Q,x)=>{var l=x(2119);Me.exports=l.Symbol},4633:Me=>{Me.exports=function Q(x,l){for(var v=-1,K=null==x?0:x.length,z=Array(K);++v<K;)z[v]=l(x[v],v,x);return z}},8745:Me=>{Me.exports=function Q(x,l,v,K){var z=-1,q=null==x?0:x.length;for(K&&q&&(v=x[++z]);++z<q;)v=l(v,x[z],z,x);return v}},5481:(Me,Q,x)=>{var v=x(1847)("length");Me.exports=v},6422:Me=>{Me.exports=function Q(x){return x.split("")}},69:Me=>{var Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Me.exports=function x(l){return l.match(Q)||[]}},3337:(Me,Q,x)=>{var l=x(443),v=x(1318),K=x(2902),Z=l?l.toStringTag:void 0;Me.exports=function re(oe){return null==oe?void 0===oe?"[object Undefined]":"[object Null]":Z&&Z in Object(oe)?v(oe):K(oe)}},1847:Me=>{Me.exports=function Q(x){return function(l){return null==l?void 0:l[x]}}},2724:Me=>{Me.exports=function Q(x){return function(l){return null==x?void 0:x[l]}}},7065:Me=>{var x=Math.floor;Me.exports=function l(v,K){var z="";if(!v||K<1||K>9007199254740991)return z;do{K%2&&(z+=v),(K=x(K/2))&&(v+=v)}while(K);return z}},4363:Me=>{Me.exports=function Q(x,l,v){var K=-1,z=x.length;l<0&&(l=-l>z?0:z+l),(v=v>z?z:v)<0&&(v+=z),z=l>v?0:v-l>>>0,l>>>=0;for(var q=Array(z);++K<z;)q[K]=x[K+l];return q}},3935:(Me,Q,x)=>{var l=x(443),v=x(4633),K=x(1503),z=x(4129),Z=l?l.prototype:void 0,re=Z?Z.toString:void 0;Me.exports=function oe(we){if("string"==typeof we)return we;if(K(we))return v(we,oe)+"";if(z(we))return re?re.call(we):"";var j=we+"";return"0"==j&&1/we==-1/0?"-0":j}},3348:(Me,Q,x)=>{var l=x(2760),v=/^\s+/;Me.exports=function K(z){return z&&z.slice(0,l(z)+1).replace(v,"")}},2329:(Me,Q,x)=>{var l=x(4363);Me.exports=function v(K,z,q){var Z=K.length;return q=void 0===q?Z:q,!z&&q>=Z?K:l(K,z,q)}},1491:(Me,Q,x)=>{var l=x(8745),v=x(4707),K=x(7188),q=RegExp("['\u2019]","g");Me.exports=function Z(re){return function(oe){return l(K(v(oe).replace(q,"")),re,"")}}},5171:(Me,Q,x)=>{var l=x(7065),v=x(3935),K=x(2329),z=x(7609),q=x(2315),Z=x(6007),re=Math.ceil;Me.exports=function oe(we,j){var Y=(j=void 0===j?" ":v(j)).length;if(Y<2)return Y?l(j,we):j;var ce=l(j,re(we/q(j)));return z(j)?K(Z(ce),0,we).join(""):ce.slice(0,we)}},9148:(Me,Q,x)=>{var K=x(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"});Me.exports=K},9122:Me=>{var Q="object"==typeof global&&global&&global.Object===Object&&global;Me.exports=Q},9519:(Me,Q,x)=>{var v=x(9385)(Object.getPrototypeOf,Object);Me.exports=v},1318:(Me,Q,x)=>{var l=x(443),v=Object.prototype,K=v.hasOwnProperty,z=v.toString,q=l?l.toStringTag:void 0;Me.exports=function Z(re){var oe=K.call(re,q),we=re[q];try{re[q]=void 0;var j=!0}catch{}var Y=z.call(re);return j&&(oe?re[q]=we:delete re[q]),Y}},7609:Me=>{var Z=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");Me.exports=function re(oe){return Z.test(oe)}},9062:Me=>{var Q=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Me.exports=function x(l){return Q.test(l)}},2902:Me=>{var x=Object.prototype.toString;Me.exports=function l(v){return x.call(v)}},9385:Me=>{Me.exports=function Q(x,l){return function(v){return x(l(v))}}},2119:(Me,Q,x)=>{var l=x(9122),v="object"==typeof self&&self&&self.Object===Object&&self,K=l||v||Function("return this")();Me.exports=K},2315:(Me,Q,x)=>{var l=x(5481),v=x(7609),K=x(1149);Me.exports=function z(q){return v(q)?K(q):l(q)}},6007:(Me,Q,x)=>{var l=x(6422),v=x(7609),K=x(6319);Me.exports=function z(q){return v(q)?K(q):l(q)}},2760:Me=>{var Q=/\s/;Me.exports=function x(l){for(var v=l.length;v--&&Q.test(l.charAt(v)););return v}},1149:Me=>{var Q="\\ud800-\\udfff",q="["+Q+"]",Z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",re="\\ud83c[\\udffb-\\udfff]",we="[^"+Q+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",Y="[\\ud800-\\udbff][\\udc00-\\udfff]",ye="(?:"+Z+"|"+re+")?",je="[\\ufe0e\\ufe0f]?",Ge=je+ye+"(?:\\u200d(?:"+[we,j,Y].join("|")+")"+je+ye+")*",Ze="(?:"+[we+Z+"?",Z,j,Y,q].join("|")+")",Jt=RegExp(re+"(?="+re+")|"+Ze+Ge,"g");Me.exports=function ht(qe){for(var ct=Jt.lastIndex=0;Jt.test(qe);)++ct;return ct}},6319:Me=>{var Q="\\ud800-\\udfff",q="["+Q+"]",Z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",re="\\ud83c[\\udffb-\\udfff]",we="[^"+Q+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",Y="[\\ud800-\\udbff][\\udc00-\\udfff]",ye="(?:"+Z+"|"+re+")?",je="[\\ufe0e\\ufe0f]?",Ge=je+ye+"(?:\\u200d(?:"+[we,j,Y].join("|")+")"+je+ye+")*",Ze="(?:"+[we+Z+"?",Z,j,Y,q].join("|")+")",Jt=RegExp(re+"(?="+re+")|"+Ze+Ge,"g");Me.exports=function ht(qe){return qe.match(Jt)||[]}},910:Me=>{var Q="\\ud800-\\udfff",z="\\u2700-\\u27bf",q="a-z\\xdf-\\xf6\\xf8-\\xff",j="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",je="["+ce+"]",Ge="\\d+",Ze="["+z+"]",Jt="["+q+"]",ht="[^"+Q+ce+Ge+z+q+j+"]",_t="(?:\\ud83c[\\udde6-\\uddff]){2}",rn="[\\ud800-\\udbff][\\udc00-\\udfff]",Rn="["+j+"]",dn="(?:"+Jt+"|"+ht+")",Gt="(?:"+Rn+"|"+ht+")",gt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ie="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Oe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Fe="[\\ufe0e\\ufe0f]?",Yr=Fe+Oe+"(?:\\u200d(?:"+["[^"+Q+"]",_t,rn].join("|")+")"+Fe+Oe+")*",Wn="(?:"+[Ze,_t,rn].join("|")+")"+Yr,Zr=RegExp([Rn+"?"+Jt+"+"+gt+"(?="+[je,Rn,"$"].join("|")+")",Gt+"+"+ie+"(?="+[je,Rn+dn,"$"].join("|")+")",Rn+"?"+dn+"+"+gt,Rn+"+"+ie,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ge,Wn].join("|"),"g");Me.exports=function Vn(Xr){return Xr.match(Zr)||[]}},4707:(Me,Q,x)=>{var l=x(9148),v=x(3943),K=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Me.exports=function j(Y){return(Y=v(Y))&&Y.replace(K,l).replace(we,"")}},1503:Me=>{Me.exports=Array.isArray},4798:(Me,Q,x)=>{var l=x(3337),v=x(2671);Me.exports=function z(q){return!0===q||!1===q||v(q)&&"[object Boolean]"==l(q)}},1305:Me=>{Me.exports=function Q(x){return null===x}},9138:(Me,Q,x)=>{var l=x(3337),v=x(2671);Me.exports=function z(q){return"number"==typeof q||v(q)&&"[object Number]"==l(q)}},5940:Me=>{Me.exports=function Q(x){var l=typeof x;return null!=x&&("object"==l||"function"==l)}},2671:Me=>{Me.exports=function Q(x){return null!=x&&"object"==typeof x}},7614:(Me,Q,x)=>{var l=x(3337),v=x(9519),K=x(2671),re=Function.prototype.toString,oe=Object.prototype.hasOwnProperty,we=re.call(Object);Me.exports=function j(Y){if(!K(Y)||"[object Object]"!=l(Y))return!1;var ce=v(Y);if(null===ce)return!0;var ye=oe.call(ce,"constructor")&&ce.constructor;return"function"==typeof ye&&ye instanceof ye&&re.call(ye)==we}},248:(Me,Q,x)=>{var l=x(3337),v=x(1503),K=x(2671);Me.exports=function q(Z){return"string"==typeof Z||!v(Z)&&K(Z)&&"[object String]"==l(Z)}},4129:(Me,Q,x)=>{var l=x(3337),v=x(2671);Me.exports=function z(q){return"symbol"==typeof q||v(q)&&"[object Symbol]"==l(q)}},4235:Me=>{Me.exports=function Q(x){return void 0===x}},7489:function(Me,Q,x){var l;Me=x.nmd(Me),function(){var v,Z="Expected a function",oe="__lodash_hash_undefined__",j="__lodash_placeholder__",Vt=1/0,Yt=9007199254740991,Wn=4294967295,Xr=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Bn="[object Arguments]",An="[object Array]",Qn="[object Boolean]",Hr="[object Date]",ei="[object Error]",Fr="[object Function]",tr="[object GeneratorFunction]",cr="[object Map]",xr="[object Number]",dr="[object Object]",fi="[object Promise]",mr="[object RegExp]",le="[object Set]",me="[object String]",ne="[object Symbol]",$="[object WeakMap]",be="[object ArrayBuffer]",Se="[object DataView]",$e="[object Float32Array]",mt="[object Float64Array]",it="[object Int8Array]",Pt="[object Int16Array]",Dt="[object Int32Array]",Mt="[object Uint8Array]",on="[object Uint8ClampedArray]",vt="[object Uint16Array]",jt="[object Uint32Array]",Zt=/\b__p \+= '';/g,Qt=/\b(__p \+=) '' \+/g,pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Wt=/&(?:amp|lt|gt|quot|#39);/g,Cn=/[&<>"']/g,Un=RegExp(Wt.source),xn=RegExp(Cn.source),Rt=/<%-([\s\S]+?)%>/g,Dn=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,mn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$t=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ie=/[\\^$.*+?()[\]{}|]/g,pe=RegExp(Ie.source),J=/^\s+/,Re=/\s/,We=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xt=/\{\n\/\* \[wrapped with (.+)\] \*/,Tt=/,? & /,yt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ue=/[()=,{}\[\]\/\s]/,De=/\\(\\)?/g,wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qt=/\w*$/,In=/^[-+]0x[0-9a-f]+$/i,Ae=/^0b[01]+$/i,Qe=/^\[object .+?Constructor\]$/,Ve=/^0o[0-7]+$/i,ft=/^(?:0|[1-9]\d*)$/,Lt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Nt=/($^)/,Ft=/['\n\r\u2028\u2029\\]/g,It="\\ud800-\\udfff",Mn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",fr="\\u2700-\\u27bf",Or="a-z\\xdf-\\xf6\\xf8-\\xff",hr="A-Z\\xc0-\\xd6\\xd8-\\xde",O="\\ufe0e\\ufe0f",U="\\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",te="["+It+"]",Ue="["+U+"]",Ne="["+Mn+"]",Ke="\\d+",nt="["+fr+"]",at="["+Or+"]",_n="[^"+It+U+Ke+fr+Or+hr+"]",en="\\ud83c[\\udffb-\\udfff]",Ar="[^"+It+"]",pr="(?:\\ud83c[\\udde6-\\uddff]){2}",qn="[\\ud800-\\udbff][\\udc00-\\udfff]",_r="["+hr+"]",pi="(?:"+at+"|"+_n+")",Li="(?:"+_r+"|"+_n+")",ii="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Vi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Yo="(?:"+Ne+"|"+en+")?",Ws="["+O+"]?",Fs=Ws+Yo+"(?:\\u200d(?:"+[Ar,pr,qn].join("|")+")"+Ws+Yo+")*",Ao="(?:"+[nt,pr,qn].join("|")+")"+Fs,cs="(?:"+[Ar+Ne+"?",Ne,pr,qn,te].join("|")+")",mo=RegExp("['\u2019]","g"),_o=RegExp(Ne,"g"),Io=RegExp(en+"(?="+en+")|"+cs+Fs,"g"),Ko=RegExp([_r+"?"+at+"+"+ii+"(?="+[Ue,_r,"$"].join("|")+")",Li+"+"+Vi+"(?="+[Ue,_r+pi,"$"].join("|")+")",_r+"?"+pi+"+"+ii,_r+"+"+Vi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ke,Ao].join("|"),"g"),ks=RegExp("[\\u200d"+It+Mn+O+"]"),lo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ds=["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"],Ro=-1,or={};or[$e]=or[mt]=or[it]=or[Pt]=or[Dt]=or[Mt]=or[on]=or[vt]=or[jt]=!0,or[Bn]=or[An]=or[be]=or[Qn]=or[Se]=or[Hr]=or[ei]=or[Fr]=or[cr]=or[xr]=or[dr]=or[mr]=or[le]=or[me]=or[$]=!1;var Jn={};Jn[Bn]=Jn[An]=Jn[be]=Jn[Se]=Jn[Qn]=Jn[Hr]=Jn[$e]=Jn[mt]=Jn[it]=Jn[Pt]=Jn[Dt]=Jn[cr]=Jn[xr]=Jn[dr]=Jn[mr]=Jn[le]=Jn[me]=Jn[ne]=Jn[Mt]=Jn[on]=Jn[vt]=Jn[jt]=!0,Jn[ei]=Jn[Fr]=Jn[$]=!1;var Qo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},fs=parseFloat,Jo=parseInt,yo="object"==typeof global&&global&&global.Object===Object&&global,hs="object"==typeof self&&self&&self.Object===Object&&self,Gr=yo||hs||Function("return this")(),ti=Q&&!Q.nodeType&&Q,Mi=ti&&Me&&!Me.nodeType&&Me,zr=Mi&&Mi.exports===ti,Bi=zr&&yo.process,oi=function(){try{return Mi&&Mi.require&&Mi.require("util").types||Bi&&Bi.binding&&Bi.binding("util")}catch{}}(),vo=oi&&oi.isArrayBuffer,Co=oi&&oi.isDate,ps=oi&&oi.isMap,S=oi&&oi.isRegExp,k=oi&&oi.isSet,T=oi&&oi.isTypedArray;function B(Ee,ze,Be){switch(Be.length){case 0:return Ee.call(ze);case 1:return Ee.call(ze,Be[0]);case 2:return Ee.call(ze,Be[0],Be[1]);case 3:return Ee.call(ze,Be[0],Be[1],Be[2])}return Ee.apply(ze,Be)}function ge(Ee,ze,Be,kt){for(var yn=-1,fn=null==Ee?0:Ee.length;++yn<fn;){var vr=Ee[yn];ze(kt,vr,Be(vr),Ee)}return kt}function He(Ee,ze){for(var Be=-1,kt=null==Ee?0:Ee.length;++Be<kt&&!1!==ze(Ee[Be],Be,Ee););return Ee}function rt(Ee,ze){for(var Be=null==Ee?0:Ee.length;Be--&&!1!==ze(Ee[Be],Be,Ee););return Ee}function bt(Ee,ze){for(var Be=-1,kt=null==Ee?0:Ee.length;++Be<kt;)if(!ze(Ee[Be],Be,Ee))return!1;return!0}function Zn(Ee,ze){for(var Be=-1,kt=null==Ee?0:Ee.length,yn=0,fn=[];++Be<kt;){var vr=Ee[Be];ze(vr,Be,Ee)&&(fn[yn++]=vr)}return fn}function sr(Ee,ze){return!(null==Ee||!Ee.length)&&Ir(Ee,ze,0)>-1}function Hn(Ee,ze,Be){for(var kt=-1,yn=null==Ee?0:Ee.length;++kt<yn;)if(Be(ze,Ee[kt]))return!0;return!1}function Ot(Ee,ze){for(var Be=-1,kt=null==Ee?0:Ee.length,yn=Array(kt);++Be<kt;)yn[Be]=ze(Ee[Be],Be,Ee);return yn}function yr(Ee,ze){for(var Be=-1,kt=ze.length,yn=Ee.length;++Be<kt;)Ee[yn+Be]=ze[Be];return Ee}function jn(Ee,ze,Be,kt){var yn=-1,fn=null==Ee?0:Ee.length;for(kt&&fn&&(Be=Ee[++yn]);++yn<fn;)Be=ze(Be,Ee[yn],yn,Ee);return Be}function Dr(Ee,ze,Be,kt){var yn=null==Ee?0:Ee.length;for(kt&&yn&&(Be=Ee[--yn]);yn--;)Be=ze(Be,Ee[yn],yn,Ee);return Be}function Lr(Ee,ze){for(var Be=-1,kt=null==Ee?0:Ee.length;++Be<kt;)if(ze(Ee[Be],Be,Ee))return!0;return!1}var Si=Gi("length");function Ti(Ee,ze,Be){var kt;return Be(Ee,function(yn,fn,vr){if(ze(yn,fn,vr))return kt=fn,!1}),kt}function Ai(Ee,ze,Be,kt){for(var yn=Ee.length,fn=Be+(kt?1:-1);kt?fn--:++fn<yn;)if(ze(Ee[fn],fn,Ee))return fn;return-1}function Ir(Ee,ze,Be){return ze==ze?function Ut(Ee,ze,Be){for(var kt=Be-1,yn=Ee.length;++kt<yn;)if(Ee[kt]===ze)return kt;return-1}(Ee,ze,Be):Ai(Ee,Xo,Be)}function Sn(Ee,ze,Be,kt){for(var yn=Be-1,fn=Ee.length;++yn<fn;)if(kt(Ee[yn],ze))return yn;return-1}function Xo(Ee){return Ee!=Ee}function es(Ee,ze){var Be=null==Ee?0:Ee.length;return Be?Zs(Ee,ze)/Be:NaN}function Gi(Ee){return function(ze){return null==ze?v:ze[Ee]}}function gs(Ee){return function(ze){return null==Ee?v:Ee[ze]}}function Ls(Ee,ze,Be,kt,yn){return yn(Ee,function(fn,vr,hn){Be=kt?(kt=!1,fn):ze(Be,fn,vr,hn)}),Be}function Zs(Ee,ze){for(var Be,kt=-1,yn=Ee.length;++kt<yn;){var fn=ze(Ee[kt]);fn!==v&&(Be=Be===v?fn:Be+fn)}return Be}function ts(Ee,ze){for(var Be=-1,kt=Array(Ee);++Be<Ee;)kt[Be]=ze(Be);return kt}function $n(Ee){return Ee&&Ee.slice(0,ln(Ee)+1).replace(J,"")}function si(Ee){return function(ze){return Ee(ze)}}function jr(Ee,ze){return Ot(ze,function(Be){return Ee[Be]})}function zi(Ee,ze){return Ee.has(ze)}function wo(Ee,ze){for(var Be=-1,kt=Ee.length;++Be<kt&&Ir(ze,Ee[Be],0)>-1;);return Be}function gi(Ee,ze){for(var Be=Ee.length;Be--&&Ir(ze,Ee[Be],0)>-1;);return Be}function uo(Ee,ze){for(var Be=Ee.length,kt=0;Be--;)Ee[Be]===ze&&++kt;return kt}var mi=gs({\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"}),yl=gs({"&":"&","<":"<",">":">",'"':""","'":"'"});function I(Ee){return"\\"+Qo[Ee]}function _(Ee){return ks.test(Ee)}function W(Ee){var ze=-1,Be=Array(Ee.size);return Ee.forEach(function(kt,yn){Be[++ze]=[yn,kt]}),Be}function he(Ee,ze){return function(Be){return Ee(ze(Be))}}function ae(Ee,ze){for(var Be=-1,kt=Ee.length,yn=0,fn=[];++Be<kt;){var vr=Ee[Be];(vr===ze||vr===j)&&(Ee[Be]=j,fn[yn++]=Be)}return fn}function Pe(Ee){var ze=-1,Be=Array(Ee.size);return Ee.forEach(function(kt){Be[++ze]=kt}),Be}function sn(Ee){return _(Ee)?function ar(Ee){for(var ze=Io.lastIndex=0;Io.test(Ee);)++ze;return ze}(Ee):Si(Ee)}function vn(Ee){return _(Ee)?function Wr(Ee){return Ee.match(Io)||[]}(Ee):function eo(Ee){return Ee.split("")}(Ee)}function ln(Ee){for(var ze=Ee.length;ze--&&Re.test(Ee.charAt(ze)););return ze}var On=gs({"&":"&","<":"<",">":">",""":'"',"'":"'"}),$r=function Ee(ze){var r,Be=(ze=null==ze?Gr:$r.defaults(Gr.Object(),ze,$r.pick(Gr,ds))).Array,kt=ze.Date,yn=ze.Error,fn=ze.Function,vr=ze.Math,hn=ze.Object,co=ze.RegExp,Ks=ze.String,Pi=ze.TypeError,zt=Be.prototype,pn=hn.prototype,kn=ze["__core-js_shared__"],Rr=fn.prototype.toString,Nn=pn.hasOwnProperty,_i=0,Wi=(r=/[^.]+$/.exec(kn&&kn.keys&&kn.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",lr=pn.toString,to=Rr.call(hn),ns=Gr._,yi=co("^"+Rr.call(Nn).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ii=zr?ze.Buffer:v,qr=ze.Symbol,Ri=ze.Uint8Array,ms=Ii?Ii.allocUnsafe:v,Qs=he(hn.getPrototypeOf,hn),vl=hn.create,Cl=pn.propertyIsEnumerable,_s=zt.splice,ya=qr?qr.isConcatSpreadable:v,ni=qr?qr.iterator:v,bo=qr?qr.toStringTag:v,Vs=function(){try{var r=Na(hn,"defineProperty");return r({},"",{}),r}catch{}}(),va=ze.clearTimeout!==Gr.clearTimeout&&ze.clearTimeout,Fo=kt&&kt.now!==Gr.Date.now&&kt.now,ys=ze.setTimeout!==Gr.setTimeout&&ze.setTimeout,ko=vr.ceil,Bs=vr.floor,vs=hn.getOwnPropertySymbols,Uu=Ii?Ii.isBuffer:v,Ca=ze.isFinite,Ua=zt.join,wa=he(hn.keys,hn),li=vr.max,Mr=vr.min,Js=kt.now,ba=ze.parseInt,xi=vr.random,Sr=zt.reverse,no=Na(ze,"DataView"),Lo=Na(ze,"Map"),Ea=Na(ze,"Promise"),vi=Na(ze,"Set"),Cs=Na(ze,"WeakMap"),Us=Na(hn,"create"),Xs=Cs&&new Cs,ro={},ea=sa(no),Zl=sa(Lo),Ha=sa(Ea),wl=sa(vi),ta=sa(Cs),w=qr?qr.prototype:v,m=w?w.valueOf:v,h=w?w.toString:v;function d(r){if(ci(r)&&!Gn(r)&&!(r instanceof se)){if(r instanceof ee)return r;if(Nn.call(r,"__wrapped__"))return Dc(r)}return new ee(r)}var P=function(){function r(){}return function(s){if(!Kr(s))return{};if(vl)return vl(s);r.prototype=s;var c=new r;return r.prototype=v,c}}();function V(){}function ee(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=v}function se(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Wn,this.__views__=[]}function At(r){var s=-1,c=null==r?0:r.length;for(this.clear();++s<c;){var M=r[s];this.set(M[0],M[1])}}function Vo(r){var s=-1,c=null==r?0:r.length;for(this.clear();++s<c;){var M=r[s];this.set(M[0],M[1])}}function io(r){var s=-1,c=null==r?0:r.length;for(this.clear();++s<c;){var M=r[s];this.set(M[0],M[1])}}function rs(r){var s=-1,c=null==r?0:r.length;for(this.__data__=new io;++s<c;)this.add(r[s])}function Uo(r){var s=this.__data__=new Vo(r);this.size=s.size}function Sa(r,s){var c=Gn(r),M=!c&&ua(r),R=!c&&!M&&ca(r),G=!c&&!M&&!R&&Ba(r),de=c||M||R||G,ve=de?ts(r.length,Ks):[],Te=ve.length;for(var ot in r)(s||Nn.call(r,ot))&&(!de||!("length"==ot||R&&("offset"==ot||"parent"==ot)||G&&("buffer"==ot||"byteLength"==ot||"byteOffset"==ot)||oa(ot,Te)))&&ve.push(ot);return ve}function Eo(r){var s=r.length;return s?r[rc(0,s-1)]:v}function zu(r,s){return mu(po(r),y(s,0,r.length))}function Kl(r){return mu(po(r))}function $a(r,s,c){(c!==v&&!as(r[s],c)||c===v&&!(s in r))&&Ho(r,s,c)}function Ta(r,s,c){var M=r[s];(!Nn.call(r,s)||!as(M,c)||c===v&&!(s in r))&&Ho(r,s,c)}function Ga(r,s){for(var c=r.length;c--;)if(as(r[c][0],s))return c;return-1}function Wu(r,s,c,M){return Cr(r,function(R,G,de){s(M,R,c(R),de)}),M}function qu(r,s){return r&&Go(s,Fi(s),r)}function Ho(r,s,c){"__proto__"==s&&Vs?Vs(r,s,{configurable:!0,enumerable:!0,value:c,writable:!0}):r[s]=c}function f(r,s){for(var c=-1,M=s.length,R=Be(M),G=null==r;++c<M;)R[c]=G?v:da(r,s[c]);return R}function y(r,s,c){return r==r&&(c!==v&&(r=r<=c?r:c),s!==v&&(r=r>=s?r:s)),r}function u(r,s,c,M,R,G){var de,ve=1&s,Te=2&s,ot=4&s;if(c&&(de=R?c(r,M,R,G):c(r)),de!==v)return de;if(!Kr(r))return r;var st=Gn(r);if(st){if(de=function pp(r){var s=r.length,c=new r.constructor(s);return s&&"string"==typeof r[0]&&Nn.call(r,"index")&&(c.index=r.index,c.input=r.input),c}(r),!ve)return po(r,de)}else{var dt=Ki(r),Ht=dt==Fr||dt==tr;if(ca(r))return cu(r,ve);if(dt==dr||dt==Bn||Ht&&!R){if(de=Te||Ht?{}:tf(r),!ve)return Te?function bi(r,s){return Go(r,Xd(r),s)}(r,function Yu(r,s){return r&&Go(s,go(s),r)}(de,r)):function op(r,s){return Go(r,mc(r),s)}(r,qu(de,r))}else{if(!Jn[dt])return R?r:{};de=function Xa(r,s,c){var M=r.constructor;switch(s){case be:return jd(r);case Qn:case Hr:return new M(+r);case Se:return function Jm(r,s){var c=s?jd(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.byteLength)}(r,c);case $e:case mt:case it:case Pt:case Dt:case Mt:case on:case vt:case jt:return Gd(r,c);case cr:return new M;case xr:case me:return new M(r);case mr:return function $d(r){var s=new r.constructor(r.source,qt.exec(r));return s.lastIndex=r.lastIndex,s}(r);case le:return new M;case ne:return function rp(r){return m?hn(m.call(r)):{}}(r)}}(r,dt,ve)}}G||(G=new Uo);var an=G.get(r);if(an)return an;G.set(r,de),Zf(r)?r.forEach(function(En){de.add(u(En,s,c,En,r,G))}):Wf(r)&&r.forEach(function(En,Xn){de.set(Xn,u(En,s,c,Xn,r,G))});var Kn=st?v:(ot?Te?hc:Al:Te?go:Fi)(r);return He(Kn||r,function(En,Xn){Kn&&(En=r[Xn=En]),Ta(de,Xn,u(En,s,c,Xn,r,G))}),de}function fe(r,s,c){var M=c.length;if(null==r)return!M;for(r=hn(r);M--;){var R=c[M],de=r[R];if(de===v&&!(R in r)||!(0,s[R])(de))return!1}return!0}function Xe(r,s,c){if("function"!=typeof r)throw new Pi(Z);return ka(function(){r.apply(v,c)},s)}function cn(r,s,c,M){var R=-1,G=sr,de=!0,ve=r.length,Te=[],ot=s.length;if(!ve)return Te;c&&(s=Ot(s,si(c))),M?(G=Hn,de=!1):s.length>=200&&(G=zi,de=!1,s=new rs(s));e:for(;++R<ve;){var st=r[R],dt=null==c?st:c(st);if(st=M||0!==st?st:0,de&&dt==dt){for(var Ht=ot;Ht--;)if(s[Ht]===dt)continue e;Te.push(st)}else G(s,dt,M)||Te.push(st)}return Te}d.templateSettings={escape:Rt,evaluate:Dn,interpolate:tt,variable:"",imports:{_:d}},(d.prototype=V.prototype).constructor=d,(ee.prototype=P(V.prototype)).constructor=ee,(se.prototype=P(V.prototype)).constructor=se,At.prototype.clear=function br(){this.__data__=Us?Us(null):{},this.size=0},At.prototype.delete=function Nr(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s},At.prototype.get=function Da(r){var s=this.__data__;if(Us){var c=s[r];return c===oe?v:c}return Nn.call(s,r)?s[r]:v},At.prototype.has=function Ma(r){var s=this.__data__;return Us?s[r]!==v:Nn.call(s,r)},At.prototype.set=function bl(r,s){var c=this.__data__;return this.size+=this.has(r)?0:1,c[r]=Us&&s===v?oe:s,this},Vo.prototype.clear=function ws(){this.__data__=[],this.size=0},Vo.prototype.delete=function bs(r){var s=this.__data__,c=Ga(s,r);return!(c<0||(c==s.length-1?s.pop():_s.call(s,c,1),--this.size,0))},Vo.prototype.get=function qi(r){var s=this.__data__,c=Ga(s,r);return c<0?v:s[c][1]},Vo.prototype.has=function Ci(r){return Ga(this.__data__,r)>-1},Vo.prototype.set=function El(r,s){var c=this.__data__,M=Ga(c,r);return M<0?(++this.size,c.push([r,s])):c[M][1]=s,this},io.prototype.clear=function Sd(){this.size=0,this.__data__={hash:new At,map:new(Lo||Vo),string:new At}},io.prototype.delete=function Hu(r){var s=pu(this,r).delete(r);return this.size-=s?1:0,s},io.prototype.get=function fo(r){return pu(this,r).get(r)},io.prototype.has=function Bo(r){return pu(this,r).has(r)},io.prototype.set=function ju(r,s){var c=pu(this,r),M=c.size;return c.set(r,s),this.size+=c.size==M?0:1,this},rs.prototype.add=rs.prototype.push=function ja(r){return this.__data__.set(r,oe),this},rs.prototype.has=function $u(r){return this.__data__.has(r)},Uo.prototype.clear=function Td(){this.__data__=new Vo,this.size=0},Uo.prototype.delete=function Wh(r){var s=this.__data__,c=s.delete(r);return this.size=s.size,c},Uo.prototype.get=function qh(r){return this.__data__.get(r)},Uo.prototype.has=function Gu(r){return this.__data__.has(r)},Uo.prototype.set=function ho(r,s){var c=this.__data__;if(c instanceof Vo){var M=c.__data__;if(!Lo||M.length<199)return M.push([r,s]),this.size=++c.size,this;c=this.__data__=new io(M)}return c.set(r,s),this.size=c.size,this};var Cr=fu(jo),Tr=fu(Pa,!0);function Do(r,s){var c=!0;return Cr(r,function(M,R,G){return c=!!s(M,R,G)}),c}function oo(r,s,c){for(var M=-1,R=r.length;++M<R;){var G=r[M],de=s(G);if(null!=de&&(ve===v?de==de&&!so(de):c(de,ve)))var ve=de,Te=G}return Te}function Jl(r,s){var c=[];return Cr(r,function(M,R,G){s(M,R,G)&&c.push(M)}),c}function gr(r,s,c,M,R){var G=-1,de=r.length;for(c||(c=Xm),R||(R=[]);++G<de;){var ve=r[G];s>0&&c(ve)?s>1?gr(ve,s-1,c,M,R):yr(R,ve):M||(R[R.length]=ve)}return R}var Xl=uc(),Pd=uc(!0);function jo(r,s){return r&&Xl(r,s,Fi)}function Pa(r,s){return r&&Pd(r,s,Fi)}function eu(r,s){return Zn(s,function(c){return xs(r[c])})}function xa(r,s){for(var c=0,M=(s=Ia(s,r)).length;null!=r&&c<M;)r=r[Ps(s[c++])];return c&&c==M?r:v}function xd(r,s,c){var M=s(r);return Gn(r)?M:yr(M,c(r))}function Ni(r){return null==r?r===v?"[object Undefined]":"[object Null]":bo&&bo in hn(r)?function Jd(r){var s=Nn.call(r,bo),c=r[bo];try{r[bo]=v;var M=!0}catch{}var R=lr.call(r);return M&&(s?r[bo]=c:delete r[bo]),R}(r):function sf(r){return lr.call(r)}(r)}function Oa(r,s){return r>s}function Od(r,s){return null!=r&&Nn.call(r,s)}function Dl(r,s){return null!=r&&s in hn(r)}function tu(r,s,c){for(var M=c?Hn:sr,R=r[0].length,G=r.length,de=G,ve=Be(G),Te=1/0,ot=[];de--;){var st=r[de];de&&s&&(st=Ot(st,si(s))),Te=Mr(st.length,Te),ve[de]=!c&&(s||R>=120&&st.length>=120)?new rs(de&&st):v}st=r[0];var dt=-1,Ht=ve[0];e:for(;++dt<R&&ot.length<Te;){var an=st[dt],bn=s?s(an):an;if(an=c||0!==an?an:0,!(Ht?zi(Ht,bn):M(ot,bn,c))){for(de=G;--de;){var Kn=ve[de];if(!(Kn?zi(Kn,bn):M(r[de],bn,c)))continue e}Ht&&Ht.push(bn),ot.push(an)}}return ot}function na(r,s,c){var M=null==(r=Fa(r,s=Ia(s,r)))?r:r[Ps(So(s))];return null==M?v:B(M,r,c)}function Ku(r){return ci(r)&&Ni(r)==Bn}function Es(r,s,c,M,R){return r===s||(null==r||null==s||!ci(r)&&!ci(s)?r!=r&&s!=s:function Ml(r,s,c,M,R,G){var de=Gn(r),ve=Gn(s),Te=de?An:Ki(r),ot=ve?An:Ki(s),st=(Te=Te==Bn?dr:Te)==dr,dt=(ot=ot==Bn?dr:ot)==dr,Ht=Te==ot;if(Ht&&ca(r)){if(!ca(s))return!1;de=!0,st=!1}if(Ht&&!st)return G||(G=new Uo),de||Ba(r)?Qd(r,s,c,M,R,G):function fc(r,s,c,M,R,G,de){switch(c){case Se:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case be:return!(r.byteLength!=s.byteLength||!G(new Ri(r),new Ri(s)));case Qn:case Hr:case xr:return as(+r,+s);case ei:return r.name==s.name&&r.message==s.message;case mr:case me:return r==s+"";case cr:var ve=W;case le:if(ve||(ve=Pe),r.size!=s.size&&!(1&M))return!1;var ot=de.get(r);if(ot)return ot==s;M|=2,de.set(r,s);var st=Qd(ve(r),ve(s),M,R,G,de);return de.delete(r),st;case ne:if(m)return m.call(r)==m.call(s)}return!1}(r,s,Te,c,M,R,G);if(!(1&c)){var an=st&&Nn.call(r,"__wrapped__"),bn=dt&&Nn.call(s,"__wrapped__");if(an||bn){var Kn=an?r.value():r,En=bn?s.value():s;return G||(G=new Uo),R(Kn,En,c,M,G)}}return!!Ht&&(G||(G=new Uo),function dp(r,s,c,M,R,G){var de=1&c,ve=Al(r),Te=ve.length;if(Te!=Al(s).length&&!de)return!1;for(var dt=Te;dt--;){var Ht=ve[dt];if(!(de?Ht in s:Nn.call(s,Ht)))return!1}var an=G.get(r),bn=G.get(s);if(an&&bn)return an==s&&bn==r;var Kn=!0;G.set(r,s),G.set(s,r);for(var En=de;++dt<Te;){var Xn=r[Ht=ve[dt]],ur=s[Ht];if(M)var Hi=de?M(ur,Xn,Ht,s,r,G):M(Xn,ur,Ht,r,s,G);if(!(Hi===v?Xn===ur||R(Xn,ur,c,M,G):Hi)){Kn=!1;break}En||(En="constructor"==Ht)}if(Kn&&!En){var Xi=r.constructor,ao=s.constructor;Xi!=ao&&"constructor"in r&&"constructor"in s&&!("function"==typeof Xi&&Xi instanceof Xi&&"function"==typeof ao&&ao instanceof ao)&&(Kn=!1)}return G.delete(r),G.delete(s),Kn}(r,s,c,M,R,G))}(r,s,c,M,Es,R))}function Ad(r,s,c,M){var R=c.length,G=R,de=!M;if(null==r)return!G;for(r=hn(r);R--;){var ve=c[R];if(de&&ve[2]?ve[1]!==r[ve[0]]:!(ve[0]in r))return!1}for(;++R<G;){var Te=(ve=c[R])[0],ot=r[Te],st=ve[1];if(de&&ve[2]){if(ot===v&&!(Te in r))return!1}else{var dt=new Uo;if(M)var Ht=M(ot,st,Te,r,s,dt);if(!(Ht===v?Es(st,ot,3,M,dt):Ht))return!1}}return!0}function Qu(r){return!(!Kr(r)||function _c(r){return!!Wi&&Wi in r}(r))&&(xs(r)?yi:Qe).test(sa(r))}function Id(r){return"function"==typeof r?r:null==r?Oi:"object"==typeof r?Gn(r)?Nd(r[0],r[1]):Rd(r):Ch(r)}function Ju(r){if(!el(r))return wa(r);var s=[];for(var c in hn(r))Nn.call(r,c)&&"constructor"!=c&&s.push(c);return s}function Sl(r,s){return r<s}function Aa(r,s){var c=-1,M=Ji(r)?Be(r.length):[];return Cr(r,function(R,G,de){M[++c]=s(R,G,de)}),M}function Rd(r){var s=gc(r);return 1==s.length&&s[0][2]?yc(s[0][0],s[0][1]):function(c){return c===r||Ad(c,r,s)}}function Nd(r,s){return nf(r)&&tl(s)?yc(Ps(r),s):function(c){var M=da(c,r);return M===v&&M===s?nd(c,r):Es(s,M,3)}}function Xu(r,s,c,M,R){r!==s&&Xl(s,function(G,de){if(R||(R=new Uo),Kr(G))!function ru(r,s,c,M,R,G,de){var ve=gu(r,c),Te=gu(s,c),ot=de.get(Te);if(ot)$a(r,c,ot);else{var st=G?G(ve,Te,c+"",r,s,de):v,dt=st===v;if(dt){var Ht=Gn(Te),an=!Ht&&ca(Te),bn=!Ht&&!an&&Ba(Te);st=Te,Ht||an||bn?Gn(ve)?st=ve:ui(ve)?st=po(ve):an?(dt=!1,st=cu(Te,!0)):bn?(dt=!1,st=Gd(Te,!0)):st=[]:Bl(Te)||ua(Te)?(st=ve,ua(ve)?st=As(ve):(!Kr(ve)||xs(ve))&&(st=tf(Te))):dt=!1}dt&&(de.set(Te,st),R(st,Te,M,G,de),de.delete(Te)),$a(r,c,st)}}(r,s,de,c,Xu,M,R);else{var ve=M?M(gu(r,de),G,de+"",r,s,R):v;ve===v&&(ve=G),$a(r,de,ve)}},go)}function iu(r,s){var c=r.length;if(c)return oa(s+=s<0?c:0,c)?r[s]:v}function ec(r,s,c){s=s.length?Ot(s,function(G){return Gn(G)?function(de){return xa(de,1===G.length?G[0]:G)}:G}):[Oi];var M=-1;return s=Ot(s,si(Tn())),function Ys(Ee,ze){var Be=Ee.length;for(Ee.sort(ze);Be--;)Ee[Be]=Ee[Be].value;return Ee}(Aa(r,function(G,de,ve){return{criteria:Ot(s,function(ot){return ot(G)}),index:++M,value:G}}),function(G,de){return function ip(r,s,c){for(var M=-1,R=r.criteria,G=s.criteria,de=R.length,ve=c.length;++M<de;){var Te=zd(R[M],G[M]);if(Te)return M>=ve?Te:Te*("desc"==c[M]?-1:1)}return r.index-s.index}(G,de,c)})}function tc(r,s,c){for(var M=-1,R=s.length,G={};++M<R;){var de=s[M],ve=xa(r,de);c(ve,de)&&ou(G,Ia(de,r),ve)}return G}function nc(r,s,c,M){var R=M?Sn:Ir,G=-1,de=s.length,ve=r;for(r===s&&(s=po(s)),c&&(ve=Ot(r,si(c)));++G<de;)for(var Te=0,ot=s[G],st=c?c(ot):ot;(Te=R(ve,st,Te,M))>-1;)ve!==r&&_s.call(ve,Te,1),_s.call(r,Te,1);return r}function Ld(r,s){for(var c=r?s.length:0,M=c-1;c--;){var R=s[c];if(c==M||R!==G){var G=R;oa(R)?_s.call(r,R,1):za(r,R)}}return r}function rc(r,s){return r+Bs(xi()*(s-r+1))}function ic(r,s){var c="";if(!r||s<1||s>Yt)return c;do{s%2&&(c+=r),(s=Bs(s/2))&&(r+=r)}while(s);return c}function Fn(r,s){return bc(mp(r,s,Oi),r+"")}function Tl(r){return Eo(Hl(r))}function tp(r,s){var c=Hl(r);return mu(c,y(s,0,c.length))}function ou(r,s,c,M){if(!Kr(r))return r;for(var R=-1,G=(s=Ia(s,r)).length,de=G-1,ve=r;null!=ve&&++R<G;){var Te=Ps(s[R]),ot=c;if("__proto__"===Te||"constructor"===Te||"prototype"===Te)return r;if(R!=de){var st=ve[Te];(ot=M?M(st,Te,ve):v)===v&&(ot=Kr(st)?st:oa(s[R+1])?[]:{})}Ta(ve,Te,ot),ve=ve[Te]}return r}var np=Xs?function(r,s){return Xs.set(r,s),r}:Oi,Zm=Vs?function(r,s){return Vs(r,"toString",{configurable:!0,enumerable:!1,value:ha(s),writable:!0})}:Oi;function Km(r){return mu(Hl(r))}function is(r,s,c){var M=-1,R=r.length;s<0&&(s=-s>R?0:R+s),(c=c>R?R:c)<0&&(c+=R),R=s>c?0:c-s>>>0,s>>>=0;for(var G=Be(R);++M<R;)G[M]=r[M+s];return G}function Vd(r,s){var c;return Cr(r,function(M,R,G){return!(c=s(M,R,G))}),!!c}function su(r,s,c){var M=0,R=null==r?M:r.length;if("number"==typeof s&&s==s&&R<=2147483647){for(;M<R;){var G=M+R>>>1,de=r[G];null!==de&&!so(de)&&(c?de<=s:de<s)?M=G+1:R=G}return R}return oc(r,s,Oi,c)}function oc(r,s,c,M){var R=0,G=null==r?0:r.length;if(0===G)return 0;for(var de=(s=c(s))!=s,ve=null===s,Te=so(s),ot=s===v;R<G;){var st=Bs((R+G)/2),dt=c(r[st]),Ht=dt!==v,an=null===dt,bn=dt==dt,Kn=so(dt);if(de)var En=M||bn;else En=ot?bn&&(M||Ht):ve?bn&&Ht&&(M||!an):Te?bn&&Ht&&!an&&(M||!Kn):!an&&!Kn&&(M?dt<=s:dt<s);En?R=st+1:G=st}return Mr(G,4294967294)}function Bd(r,s){for(var c=-1,M=r.length,R=0,G=[];++c<M;){var de=r[c],ve=s?s(de):de;if(!c||!as(ve,Te)){var Te=ve;G[R++]=0===de?0:de}}return G}function Ud(r){return"number"==typeof r?r:so(r)?NaN:+r}function $o(r){if("string"==typeof r)return r;if(Gn(r))return Ot(r,$o)+"";if(so(r))return h?h.call(r):"";var s=r+"";return"0"==s&&1/r==-Vt?"-0":s}function ra(r,s,c){var M=-1,R=sr,G=r.length,de=!0,ve=[],Te=ve;if(c)de=!1,R=Hn;else if(G>=200){var ot=s?null:Yd(r);if(ot)return Pe(ot);de=!1,R=zi,Te=new rs}else Te=s?[]:ve;e:for(;++M<G;){var st=r[M],dt=s?s(st):st;if(st=c||0!==st?st:0,de&&dt==dt){for(var Ht=Te.length;Ht--;)if(Te[Ht]===dt)continue e;s&&Te.push(dt),ve.push(st)}else R(Te,dt,c)||(Te!==ve&&Te.push(dt),ve.push(st))}return ve}function za(r,s){return null==(r=Fa(r,s=Ia(s,r)))||delete r[Ps(So(s))]}function sc(r,s,c,M){return ou(r,s,c(xa(r,s)),M)}function Mo(r,s,c,M){for(var R=r.length,G=M?R:-1;(M?G--:++G<R)&&s(r[G],G,r););return c?is(r,M?0:G,M?G+1:R):is(r,M?G+1:0,M?R:G)}function Wa(r,s){var c=r;return c instanceof se&&(c=c.value()),jn(s,function(M,R){return R.func.apply(R.thisArg,yr([M],R.args))},c)}function au(r,s,c){var M=r.length;if(M<2)return M?ra(r[0]):[];for(var R=-1,G=Be(M);++R<M;)for(var de=r[R],ve=-1;++ve<M;)ve!=R&&(G[R]=cn(G[R]||de,r[ve],s,c));return ra(gr(G,1),s,c)}function ac(r,s,c){for(var M=-1,R=r.length,G=s.length,de={};++M<R;)c(de,r[M],M<G?s[M]:v);return de}function lu(r){return ui(r)?r:[]}function Hd(r){return"function"==typeof r?r:Oi}function Ia(r,s){return Gn(r)?r:nf(r,s)?[r]:cf(Pr(r))}var Qm=Fn;function Ds(r,s,c){var M=r.length;return c=c===v?M:c,!s&&c>=M?r:is(r,s,c)}var uu=va||function(r){return Gr.clearTimeout(r)};function cu(r,s){if(s)return r.slice();var c=r.length,M=ms?ms(c):new r.constructor(c);return r.copy(M),M}function jd(r){var s=new r.constructor(r.byteLength);return new Ri(s).set(new Ri(r)),s}function Gd(r,s){var c=s?jd(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.length)}function zd(r,s){if(r!==s){var c=r!==v,M=null===r,R=r==r,G=so(r),de=s!==v,ve=null===s,Te=s==s,ot=so(s);if(!ve&&!ot&&!G&&r>s||G&&de&&Te&&!ve&&!ot||M&&de&&Te||!c&&Te||!R)return 1;if(!M&&!G&&!ot&&r<s||ot&&c&&R&&!M&&!G||ve&&c&&R||!de&&R||!Te)return-1}return 0}function lc(r,s,c,M){for(var R=-1,G=r.length,de=c.length,ve=-1,Te=s.length,ot=li(G-de,0),st=Be(Te+ot),dt=!M;++ve<Te;)st[ve]=s[ve];for(;++R<de;)(dt||R<G)&&(st[c[R]]=r[R]);for(;ot--;)st[ve++]=r[R++];return st}function Pl(r,s,c,M){for(var R=-1,G=r.length,de=-1,ve=c.length,Te=-1,ot=s.length,st=li(G-ve,0),dt=Be(st+ot),Ht=!M;++R<st;)dt[R]=r[R];for(var an=R;++Te<ot;)dt[an+Te]=s[Te];for(;++de<ve;)(Ht||R<G)&&(dt[an+c[de]]=r[R++]);return dt}function po(r,s){var c=-1,M=r.length;for(s||(s=Be(M));++c<M;)s[c]=r[c];return s}function Go(r,s,c,M){var R=!c;c||(c={});for(var G=-1,de=s.length;++G<de;){var ve=s[G],Te=M?M(c[ve],r[ve],ve,c,r):v;Te===v&&(Te=r[ve]),R?Ho(c,ve,Te):Ta(c,ve,Te)}return c}function du(r,s){return function(c,M){var R=Gn(c)?ge:Wu,G=s?s():{};return R(c,r,Tn(M,2),G)}}function qa(r){return Fn(function(s,c){var M=-1,R=c.length,G=R>1?c[R-1]:v,de=R>2?c[2]:v;for(G=r.length>3&&"function"==typeof G?(R--,G):v,de&&Qi(c[0],c[1],de)&&(G=R<3?v:G,R=1),s=hn(s);++M<R;){var ve=c[M];ve&&r(s,ve,M,G)}return s})}function fu(r,s){return function(c,M){if(null==c)return c;if(!Ji(c))return r(c,M);for(var R=c.length,G=s?R:-1,de=hn(c);(s?G--:++G<R)&&!1!==M(de[G],G,de););return c}}function uc(r){return function(s,c,M){for(var R=-1,G=hn(s),de=M(s),ve=de.length;ve--;){var Te=de[r?ve:++R];if(!1===c(G[Te],Te,G))break}return s}}function Wd(r){return function(s){var c=_(s=Pr(s))?vn(s):v,M=c?c[0]:s.charAt(0),R=c?Ds(c,1).join(""):s.slice(1);return M[r]()+R}}function Ya(r){return function(s){return jn(fa(wg(s).replace(mo,"")),r,"")}}function xl(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 c=P(r.prototype),M=r.apply(c,s);return Kr(M)?M:c}}function lp(r){return function(s,c,M){var R=hn(s);if(!Ji(s)){var G=Tn(c,3);s=Fi(s),c=function(ve){return G(R[ve],ve,R)}}var de=r(s,c,M);return de>-1?R[G?s[de]:de]:v}}function up(r){return Hs(function(s){var c=s.length,M=c,R=ee.prototype.thru;for(r&&s.reverse();M--;){var G=s[M];if("function"!=typeof G)throw new Pi(Z);if(R&&!de&&"wrapper"==Ra(G))var de=new ee([],!0)}for(M=de?M:c;++M<c;){var ve=Ra(G=s[M]),Te="wrapper"==ve?pc(G):v;de=Te&&Il(Te[0])&&424==Te[1]&&!Te[4].length&&1==Te[9]?de[Ra(Te[0])].apply(de,Te[3]):1==G.length&&Il(G)?de[ve]():de.thru(G)}return function(){var ot=arguments,st=ot[0];if(de&&1==ot.length&&Gn(st))return de.plant(st).value();for(var dt=0,Ht=c?s[dt].apply(this,ot):st;++dt<c;)Ht=s[dt].call(this,Ht);return Ht}})}function ia(r,s,c,M,R,G,de,ve,Te,ot){var st=128&s,dt=1&s,Ht=2&s,an=24&s,bn=512&s,Kn=Ht?v:xl(r);return function En(){for(var Xn=arguments.length,ur=Be(Xn),Hi=Xn;Hi--;)ur[Hi]=arguments[Hi];if(an)var Xi=Ja(En),ao=uo(ur,Xi);if(M&&(ur=lc(ur,M,R,an)),G&&(ur=Pl(ur,G,de,an)),Xn-=ao,an&&Xn<ot){var ri=ae(ur,Xi);return qd(r,s,ia,En.placeholder,c,ur,ri,ve,Te,ot-Xn)}var ls=dt?c:this,qo=Ht?ls[r]:r;return Xn=ur.length,ve?ur=wc(ur,ve):bn&&Xn>1&&ur.reverse(),st&&Te<Xn&&(ur.length=Te),this&&this!==Gr&&this instanceof En&&(qo=Kn||xl(qo)),qo.apply(ls,ur)}}function Yi(r,s){return function(c,M){return function Zu(r,s,c,M){return jo(r,function(R,G,de){s(M,c(R),G,de)}),M}(c,r,s(M),{})}}function Za(r,s){return function(c,M){var R;if(c===v&&M===v)return s;if(c!==v&&(R=c),M!==v){if(R===v)return M;"string"==typeof c||"string"==typeof M?(c=$o(c),M=$o(M)):(c=Ud(c),M=Ud(M)),R=r(c,M)}return R}}function hu(r){return Hs(function(s){return s=Ot(s,si(Tn())),Fn(function(c){var M=this;return r(s,function(R){return B(R,M,c)})})})}function Ol(r,s){var c=(s=s===v?" ":$o(s)).length;if(c<2)return c?ic(s,r):s;var M=ic(s,ko(r/sn(s)));return _(s)?Ds(vn(M),0,r).join(""):M.slice(0,r)}function Ka(r){return function(s,c,M){return M&&"number"!=typeof M&&Qi(s,c,M)&&(c=M=v),s=Os(s),c===v?(c=s,s=0):c=Os(c),function ep(r,s,c,M){for(var R=-1,G=li(ko((s-r)/(c||1)),0),de=Be(G);G--;)de[M?G:++R]=r,r+=c;return de}(s,c,M=M===v?s<c?1:-1:Os(M),r)}}function Qa(r){return function(s,c){return"string"==typeof s&&"string"==typeof c||(s=xo(s),c=xo(c)),r(s,c)}}function qd(r,s,c,M,R,G,de,ve,Te,ot){var st=8&s;s|=st?32:64,4&(s&=~(st?64:32))||(s&=-4);var Kn=[r,s,R,st?G:v,st?de:v,st?v:G,st?v:de,ve,Te,ot],En=c.apply(v,Kn);return Il(r)&&af(En,Kn),En.placeholder=M,lf(En,r,s)}function cc(r){var s=vr[r];return function(c,M){if(c=xo(c),(M=null==M?0:Mr(zn(M),292))&&Ca(c)){var R=(Pr(c)+"e").split("e");return+((R=(Pr(s(R[0]+"e"+(+R[1]+M)))+"e").split("e"))[0]+"e"+(+R[1]-M))}return s(c)}}var Yd=vi&&1/Pe(new vi([,-0]))[1]==Vt?function(r){return new vi(r)}:Au;function Zd(r){return function(s){var c=Ki(s);return c==cr?W(s):c==le?function Ye(Ee){var ze=-1,Be=Array(Ee.size);return Ee.forEach(function(kt){Be[++ze]=[kt,kt]}),Be}(s):function lt(Ee,ze){return Ot(ze,function(Be){return[Be,Ee[Be]]})}(s,r(s))}}function Ms(r,s,c,M,R,G,de,ve){var Te=2&s;if(!Te&&"function"!=typeof r)throw new Pi(Z);var ot=M?M.length:0;if(ot||(s&=-97,M=R=v),de=de===v?de:li(zn(de),0),ve=ve===v?ve:zn(ve),ot-=R?R.length:0,64&s){var st=M,dt=R;M=R=v}var Ht=Te?v:pc(r),an=[r,s,c,M,R,st,dt,G,de,ve];if(Ht&&function vc(r,s){var c=r[1],M=s[1],R=c|M;if(!(R<131||(128==M&&8==c||128==M&&256==c&&r[7].length<=s[8]||384==M&&s[7].length<=s[8]&&8==c)))return r;1&M&&(r[2]=s[2],R|=1&c?0:4);var ve=s[3];if(ve){var Te=r[3];r[3]=Te?lc(Te,ve,s[4]):ve,r[4]=Te?ae(r[3],j):s[4]}(ve=s[5])&&(r[5]=(Te=r[5])?Pl(Te,ve,s[6]):ve,r[6]=Te?ae(r[5],j):s[6]),(ve=s[7])&&(r[7]=ve),128&M&&(r[8]=null==r[8]?s[8]:Mr(r[8],s[8])),null==r[9]&&(r[9]=s[9]),r[0]=s[0],r[1]=R}(an,Ht),r=an[0],s=an[1],c=an[2],M=an[3],R=an[4],!(ve=an[9]=an[9]===v?Te?0:r.length:li(an[9]-ot,0))&&24&s&&(s&=-25),s&&1!=s)bn=8==s||16==s?function ap(r,s,c){var M=xl(r);return function R(){for(var G=arguments.length,de=Be(G),ve=G,Te=Ja(R);ve--;)de[ve]=arguments[ve];var ot=G<3&&de[0]!==Te&&de[G-1]!==Te?[]:ae(de,Te);return(G-=ot.length)<c?qd(r,s,ia,R.placeholder,v,de,ot,v,v,c-G):B(this&&this!==Gr&&this instanceof R?M:r,this,de)}}(r,s,ve):32!=s&&33!=s||R.length?ia.apply(v,an):function Zi(r,s,c,M){var R=1&s,G=xl(r);return function de(){for(var ve=-1,Te=arguments.length,ot=-1,st=M.length,dt=Be(st+Te),Ht=this&&this!==Gr&&this instanceof de?G:r;++ot<st;)dt[ot]=M[ot];for(;Te--;)dt[ot++]=arguments[++ve];return B(Ht,R?c:this,dt)}}(r,s,c,M);else var bn=function sp(r,s,c){var M=1&s,R=xl(r);return function G(){return(this&&this!==Gr&&this instanceof G?R:r).apply(M?c:this,arguments)}}(r,s,c);return lf((Ht?np:af)(bn,an),r,s)}function Kd(r,s,c,M){return r===v||as(r,pn[c])&&!Nn.call(M,c)?s:r}function dc(r,s,c,M,R,G){return Kr(r)&&Kr(s)&&(G.set(s,r),Xu(r,s,v,dc,G),G.delete(s)),r}function cp(r){return Bl(r)?v:r}function Qd(r,s,c,M,R,G){var de=1&c,ve=r.length,Te=s.length;if(ve!=Te&&!(de&&Te>ve))return!1;var ot=G.get(r),st=G.get(s);if(ot&&st)return ot==s&&st==r;var dt=-1,Ht=!0,an=2&c?new rs:v;for(G.set(r,s),G.set(s,r);++dt<ve;){var bn=r[dt],Kn=s[dt];if(M)var En=de?M(Kn,bn,dt,s,r,G):M(bn,Kn,dt,r,s,G);if(En!==v){if(En)continue;Ht=!1;break}if(an){if(!Lr(s,function(Xn,ur){if(!zi(an,ur)&&(bn===Xn||R(bn,Xn,c,M,G)))return an.push(ur)})){Ht=!1;break}}else if(bn!==Kn&&!R(bn,Kn,c,M,G)){Ht=!1;break}}return G.delete(r),G.delete(s),Ht}function Hs(r){return bc(mp(r,v,Pc),r+"")}function Al(r){return xd(r,Fi,mc)}function hc(r){return xd(r,go,Xd)}var pc=Xs?function(r){return Xs.get(r)}:Au;function Ra(r){for(var s=r.name+"",c=ro[s],M=Nn.call(ro,s)?c.length:0;M--;){var R=c[M],G=R.func;if(null==G||G==r)return R.name}return s}function Ja(r){return(Nn.call(d,"placeholder")?d:r).placeholder}function Tn(){var r=d.iteratee||pa;return r=r===pa?Id:r,arguments.length?r(arguments[0],arguments[1]):r}function pu(r,s){var c=r.__data__;return function Ts(r){var s=typeof r;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==r:null===r}(s)?c["string"==typeof s?"string":"hash"]:c.map}function gc(r){for(var s=Fi(r),c=s.length;c--;){var M=s[c],R=r[M];s[c]=[M,R,tl(R)]}return s}function Na(r,s){var c=function g(Ee,ze){return null==Ee?v:Ee[ze]}(r,s);return Qu(c)?c:v}var mc=vs?function(r){return null==r?[]:(r=hn(r),Zn(vs(r),function(s){return Cl.call(r,s)}))}:Iu,Xd=vs?function(r){for(var s=[];r;)yr(s,mc(r)),r=Qs(r);return s}:Iu,Ki=Ni;function ef(r,s,c){for(var M=-1,R=(s=Ia(s,r)).length,G=!1;++M<R;){var de=Ps(s[M]);if(!(G=null!=r&&c(r,de)))break;r=r[de]}return G||++M!=R?G:!!(R=null==r?0:r.length)&&Po(R)&&oa(de,R)&&(Gn(r)||ua(r))}function tf(r){return"function"!=typeof r.constructor||el(r)?{}:P(Qs(r))}function Xm(r){return Gn(r)||ua(r)||!!(ya&&r&&r[ya])}function oa(r,s){var c=typeof r;return!!(s=s??Yt)&&("number"==c||"symbol"!=c&&ft.test(r))&&r>-1&&r%1==0&&r<s}function Qi(r,s,c){if(!Kr(c))return!1;var M=typeof s;return!!("number"==M?Ji(c)&&oa(s,c.length):"string"==M&&s in c)&&as(c[s],r)}function nf(r,s){if(Gn(r))return!1;var c=typeof r;return!("number"!=c&&"symbol"!=c&&"boolean"!=c&&null!=r&&!so(r))||$t.test(r)||!mn.test(r)||null!=s&&r in hn(s)}function Il(r){var s=Ra(r),c=d[s];if("function"!=typeof c||!(s in se.prototype))return!1;if(r===c)return!0;var M=pc(c);return!!M&&r===M[0]}(no&&Ki(new no(new ArrayBuffer(1)))!=Se||Lo&&Ki(new Lo)!=cr||Ea&&Ki(Ea.resolve())!=fi||vi&&Ki(new vi)!=le||Cs&&Ki(new Cs)!=$)&&(Ki=function(r){var s=Ni(r),c=s==dr?r.constructor:v,M=c?sa(c):"";if(M)switch(M){case ea:return Se;case Zl:return cr;case Ha:return fi;case wl:return le;case ta:return $}return s});var gp=kn?xs:dd;function el(r){var s=r&&r.constructor;return r===("function"==typeof s&&s.prototype||pn)}function tl(r){return r==r&&!Kr(r)}function yc(r,s){return function(c){return null!=c&&c[r]===s&&(s!==v||r in hn(c))}}function mp(r,s,c){return s=li(s===v?r.length-1:s,0),function(){for(var M=arguments,R=-1,G=li(M.length-s,0),de=Be(G);++R<G;)de[R]=M[s+R];R=-1;for(var ve=Be(s+1);++R<s;)ve[R]=M[R];return ve[s]=c(de),B(r,this,ve)}}function Fa(r,s){return s.length<2?r:xa(r,is(s,0,-1))}function wc(r,s){for(var c=r.length,M=Mr(s.length,c),R=po(r);M--;){var G=s[M];r[M]=oa(G,c)?R[G]:v}return r}function gu(r,s){if(("constructor"!==s||"function"!=typeof r[s])&&"__proto__"!=s)return r[s]}var af=uf(np),ka=ys||function(r,s){return Gr.setTimeout(r,s)},bc=uf(Zm);function lf(r,s,c){var M=s+"";return bc(r,function Ss(r,s){var c=s.length;if(!c)return r;var M=c-1;return s[M]=(c>1?"& ":"")+s[M],s=s.join(c>2?", ":" "),r.replace(We,"{\n/* [wrapped with "+s+"] */\n")}(M,function Ec(r,s){return He(Xr,function(c){var M="_."+c[0];s&c[1]&&!sr(r,M)&&r.push(M)}),r.sort()}(function hp(r){var s=r.match(xt);return s?s[1].split(Tt):[]}(M),c)))}function uf(r){var s=0,c=0;return function(){var M=Js(),R=16-(M-c);if(c=M,R>0){if(++s>=800)return arguments[0]}else s=0;return r.apply(v,arguments)}}function mu(r,s){var c=-1,M=r.length,R=M-1;for(s=s===v?M:s;++c<s;){var G=rc(c,R),de=r[G];r[G]=r[c],r[c]=de}return r.length=s,r}var cf=function rf(r){var s=Su(r,function(M){return 500===c.size&&c.clear(),M}),c=s.cache;return s}(function(r){var s=[];return 46===r.charCodeAt(0)&&s.push(""),r.replace(ir,function(c,M,R,G){s.push(R?G.replace(De,"$1"):M||c)}),s});function Ps(r){if("string"==typeof r||so(r))return r;var s=r+"";return"0"==s&&1/r==-Vt?"-0":s}function sa(r){if(null!=r){try{return Rr.call(r)}catch{}try{return r+""}catch{}}return""}function Dc(r){if(r instanceof se)return r.clone();var s=new ee(r.__wrapped__,r.__chain__);return s.__actions__=po(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}var df=Fn(function(r,s){return ui(r)?cn(r,gr(s,1,ui,!0)):[]}),ff=Fn(function(r,s){var c=So(s);return ui(c)&&(c=v),ui(r)?cn(r,gr(s,1,ui,!0),Tn(c,2)):[]}),La=Fn(function(r,s){var c=So(s);return ui(c)&&(c=v),ui(r)?cn(r,gr(s,1,ui,!0),v,c):[]});function Sc(r,s,c){var M=null==r?0:r.length;if(!M)return-1;var R=null==c?0:zn(c);return R<0&&(R=li(M+R,0)),Ai(r,Tn(s,3),R)}function Tc(r,s,c){var M=null==r?0:r.length;if(!M)return-1;var R=M-1;return c!==v&&(R=zn(c),R=c<0?li(M+R,0):Mr(R,M-1)),Ai(r,Tn(s,3),R,!0)}function Pc(r){return null!=r&&r.length?gr(r,1):[]}function Rl(r){return r&&r.length?r[0]:v}var _f=Fn(function(r){var s=Ot(r,lu);return s.length&&s[0]===r[0]?tu(s):[]}),Ac=Fn(function(r){var s=So(r),c=Ot(r,lu);return s===So(c)?s=v:c.pop(),c.length&&c[0]===r[0]?tu(c,Tn(s,2)):[]}),Nl=Fn(function(r){var s=So(r),c=Ot(r,lu);return(s="function"==typeof s?s:v)&&c.pop(),c.length&&c[0]===r[0]?tu(c,v,s):[]});function So(r){var s=null==r?0:r.length;return s?r[s-1]:v}var yf=Fn(vu);function vu(r,s){return r&&r.length&&s&&s.length?nc(r,s):r}var Cf=Hs(function(r,s){var c=null==r?0:r.length,M=f(r,s);return Ld(r,Ot(s,function(R){return oa(R,c)?+R:R}).sort(zd)),M});function Cu(r){return null==r?r:Sr.call(r)}var Ef=Fn(function(r){return ra(gr(r,1,ui,!0))}),Df=Fn(function(r){var s=So(r);return ui(s)&&(s=v),ra(gr(r,1,ui,!0),Tn(s,2))}),Mf=Fn(function(r){var s=So(r);return s="function"==typeof s?s:v,ra(gr(r,1,ui,!0),v,s)});function Ic(r){if(!r||!r.length)return[];var s=0;return r=Zn(r,function(c){if(ui(c))return s=li(c.length,s),!0}),ts(s,function(c){return Ot(r,Gi(c))})}function bu(r,s){if(!r||!r.length)return[];var c=Ic(r);return null==s?c:Ot(c,function(M){return B(s,v,M)})}var js=Fn(function(r,s){return ui(r)?cn(r,s):[]}),Rc=Fn(function(r){return au(Zn(r,ui))}),Tf=Fn(function(r){var s=So(r);return ui(s)&&(s=v),au(Zn(r,ui),Tn(s,2))}),Nc=Fn(function(r){var s=So(r);return s="function"==typeof s?s:v,au(Zn(r,ui),v,s)}),t_=Fn(Ic),Eu=Fn(function(r){var s=r.length,c=s>1?r[s-1]:v;return c="function"==typeof c?(r.pop(),c):v,bu(r,c)});function Fl(r){var s=d(r);return s.__chain__=!0,s}function nl(r,s){return s(r)}var kc=Hs(function(r){var s=r.length,c=s?r[0]:0,M=this.__wrapped__,R=function(G){return f(G,r)};return!(s>1||this.__actions__.length)&&M instanceof se&&oa(c)?((M=M.slice(c,+c+(s?1:0))).__actions__.push({func:nl,args:[R],thisArg:v}),new ee(M,this.__chain__).thru(function(G){return s&&!G.length&&G.push(v),G})):this.thru(R)}),Bp=du(function(r,s,c){Nn.call(r,c)?++r[c]:Ho(r,c,1)}),Af=lp(Sc),Up=lp(Tc);function Hp(r,s){return(Gn(r)?He:Cr)(r,Tn(s,3))}function jp(r,s){return(Gn(r)?rt:Tr)(r,Tn(s,3))}var l_=du(function(r,s,c){Nn.call(r,c)?r[c].push(s):Ho(r,c,[s])}),c_=Fn(function(r,s,c){var M=-1,R="function"==typeof s,G=Ji(r)?Be(r.length):[];return Cr(r,function(de){G[++M]=R?B(s,de,c):na(de,s,c)}),G}),d_=du(function(r,s,c){Ho(r,c,s)});function Vc(r,s){return(Gn(r)?Ot:Aa)(r,Tn(s,3))}var aa=du(function(r,s,c){r[c?0:1].push(s)},function(){return[[],[]]}),Nf=Fn(function(r,s){if(null==r)return[];var c=s.length;return c>1&&Qi(r,s[0],s[1])?s=[]:c>2&&Qi(s[0],s[1],s[2])&&(s=[s[0]]),ec(r,gr(s,1),[])}),Du=Fo||function(){return Gr.Date.now()};function Ff(r,s,c){return s=c?v:s,Ms(r,128,v,v,v,v,s=r&&null==s?r.length:s)}function $c(r,s){var c;if("function"!=typeof s)throw new Pi(Z);return r=zn(r),function(){return--r>0&&(c=s.apply(this,arguments)),r<=1&&(s=v),c}}var Gc=Fn(function(r,s,c){var M=1;if(c.length){var R=ae(c,Ja(Gc));M|=32}return Ms(r,M,s,c,R)}),kf=Fn(function(r,s,c){var M=3;if(c.length){var R=ae(c,Ja(kf));M|=32}return Ms(s,M,r,c,R)});function Mu(r,s,c){var M,R,G,de,ve,Te,ot=0,st=!1,dt=!1,Ht=!0;if("function"!=typeof r)throw new Pi(Z);function an(ri){var ls=M,qo=R;return M=R=v,ot=ri,de=r.apply(qo,ls)}function bn(ri){return ot=ri,ve=ka(Xn,s),st?an(ri):de}function En(ri){var ls=ri-Te;return Te===v||ls>=s||ls<0||dt&&ri-ot>=G}function Xn(){var ri=Du();if(En(ri))return ur(ri);ve=ka(Xn,function Kn(ri){var zl=s-(ri-Te);return dt?Mr(zl,G-(ri-ot)):zl}(ri))}function ur(ri){return ve=v,Ht&&M?an(ri):(M=R=v,de)}function ao(){var ri=Du(),ls=En(ri);if(M=arguments,R=this,Te=ri,ls){if(ve===v)return bn(Te);if(dt)return uu(ve),ve=ka(Xn,s),an(Te)}return ve===v&&(ve=ka(Xn,s)),de}return s=xo(s)||0,Kr(c)&&(st=!!c.leading,G=(dt="maxWait"in c)?li(xo(c.maxWait)||0,s):G,Ht="trailing"in c?!!c.trailing:Ht),ao.cancel=function Hi(){ve!==v&&uu(ve),ot=0,M=Te=R=ve=v},ao.flush=function Xi(){return ve===v?de:ur(Du())},ao}var il=Fn(function(r,s){return Xe(r,1,s)}),kl=Fn(function(r,s,c){return Xe(r,xo(s)||0,c)});function Su(r,s){if("function"!=typeof r||null!=s&&"function"!=typeof s)throw new Pi(Z);var c=function(){var M=arguments,R=s?s.apply(this,M):M[0],G=c.cache;if(G.has(R))return G.get(R);var de=r.apply(this,M);return c.cache=G.set(R,de)||G,de};return c.cache=new(Su.Cache||io),c}function Ll(r){if("function"!=typeof r)throw new Pi(Z);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)}}Su.Cache=io;var zc=Qm(function(r,s){var c=(s=1==s.length&&Gn(s[0])?Ot(s[0],si(Tn())):Ot(gr(s,1),si(Tn()))).length;return Fn(function(M){for(var R=-1,G=Mr(M.length,c);++R<G;)M[R]=s[R].call(this,M[R]);return B(r,this,M)})}),Vl=Fn(function(r,s){var c=ae(s,Ja(Vl));return Ms(r,32,v,s,c)}),Wc=Fn(function(r,s){var c=ae(s,Ja(Wc));return Ms(r,64,v,s,c)}),Tu=Hs(function(r,s){return Ms(r,256,v,v,v,s)});function as(r,s){return r===s||r!=r&&s!=s}var p_=Qa(Oa),g_=Qa(function(r,s){return r>=s}),ua=Ku(function(){return arguments}())?Ku:function(r){return ci(r)&&Nn.call(r,"callee")&&!Cl.call(r,"callee")},Gn=Be.isArray,Kp=vo?si(vo):function Zh(r){return ci(r)&&Ni(r)==be};function Ji(r){return null!=r&&Po(r.length)&&!xs(r)}function ui(r){return ci(r)&&Ji(r)}var ca=Uu||dd,Jp=Co?si(Co):function Kh(r){return ci(r)&&Ni(r)==Hr};function qc(r){if(!ci(r))return!1;var s=Ni(r);return s==ei||"[object DOMException]"==s||"string"==typeof r.message&&"string"==typeof r.name&&!Bl(r)}function xs(r){if(!Kr(r))return!1;var s=Ni(r);return s==Fr||s==tr||"[object AsyncFunction]"==s||"[object Proxy]"==s}function zf(r){return"number"==typeof r&&r==zn(r)}function Po(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=Yt}function Kr(r){var s=typeof r;return null!=r&&("object"==s||"function"==s)}function ci(r){return null!=r&&"object"==typeof r}var Wf=ps?si(ps):function Qh(r){return ci(r)&&Ki(r)==cr};function Yf(r){return"number"==typeof r||ci(r)&&Ni(r)==xr}function Bl(r){if(!ci(r)||Ni(r)!=dr)return!1;var s=Qs(r);if(null===s)return!0;var c=Nn.call(s,"constructor")&&s.constructor;return"function"==typeof c&&c instanceof c&&Rr.call(c)==to}var sl=S?si(S):function Jh(r){return ci(r)&&Ni(r)==mr},Zf=k?si(k):function Ym(r){return ci(r)&&Ki(r)==le};function al(r){return"string"==typeof r||!Gn(r)&&ci(r)&&Ni(r)==me}function so(r){return"symbol"==typeof r||ci(r)&&Ni(r)==ne}var Ba=T?si(T):function Xh(r){return ci(r)&&Po(r.length)&&!!or[Ni(r)]},v_=Qa(Sl),ig=Qa(function(r,s){return r<=s});function Qc(r){if(!r)return[];if(Ji(r))return al(r)?vn(r):po(r);if(ni&&r[ni])return function N(Ee){for(var ze,Be=[];!(ze=Ee.next()).done;)Be.push(ze.value);return Be}(r[ni]());var s=Ki(r);return(s==cr?W:s==le?Pe:Hl)(r)}function Os(r){return r?(r=xo(r))===Vt||r===-Vt?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function zn(r){var s=Os(r),c=s%1;return s==s?c?s-c:s:0}function Jc(r){return r?y(zn(r),0,Wn):0}function xo(r){if("number"==typeof r)return r;if(so(r))return NaN;if(Kr(r)){var s="function"==typeof r.valueOf?r.valueOf():r;r=Kr(s)?s+"":s}if("string"!=typeof r)return 0===r?r:+r;r=$n(r);var c=Ae.test(r);return c||Ve.test(r)?Jo(r.slice(2),c?2:8):In.test(r)?NaN:+r}function As(r){return Go(r,go(r))}function Pr(r){return null==r?"":$o(r)}var og=qa(function(r,s){if(el(s)||Ji(s))Go(s,Fi(s),r);else for(var c in s)Nn.call(s,c)&&Ta(r,c,s[c])}),sg=qa(function(r,s){Go(s,go(s),r)}),ll=qa(function(r,s,c,M){Go(s,go(s),r,M)}),Kf=qa(function(r,s,c,M){Go(s,Fi(s),r,M)}),Xc=Hs(f),ag=Fn(function(r,s){r=hn(r);var c=-1,M=s.length,R=M>2?s[2]:v;for(R&&Qi(s[0],s[1],R)&&(M=1);++c<M;)for(var G=s[c],de=go(G),ve=-1,Te=de.length;++ve<Te;){var ot=de[ve],st=r[ot];(st===v||as(st,pn[ot])&&!Nn.call(r,ot))&&(r[ot]=G[ot])}return r}),ed=Fn(function(r){return r.push(v,dc),B(id,v,r)});function da(r,s,c){var M=null==r?v:xa(r,s);return M===v?c:M}function nd(r,s){return null!=r&&ef(r,s,Dl)}var dg=Yi(function(r,s,c){null!=s&&"function"!=typeof s.toString&&(s=lr.call(s)),r[s]=c},ha(Oi)),ul=Yi(function(r,s,c){null!=s&&"function"!=typeof s.toString&&(s=lr.call(s)),Nn.call(r,s)?r[s].push(c):r[s]=[c]},Tn),fg=Fn(na);function Fi(r){return Ji(r)?Sa(r):Ju(r)}function go(r){return Ji(r)?Sa(r,!0):function nu(r){if(!Kr(r))return function Cc(r){var s=[];if(null!=r)for(var c in hn(r))s.push(c);return s}(r);var s=el(r),c=[];for(var M in r)"constructor"==M&&(s||!Nn.call(r,M))||c.push(M);return c}(r)}var rd=qa(function(r,s,c){Xu(r,s,c)}),id=qa(function(r,s,c,M){Xu(r,s,c,M)}),nh=Hs(function(r,s){var c={};if(null==r)return c;var M=!1;s=Ot(s,function(G){return G=Ia(G,r),M||(M=G.length>1),G}),Go(r,hc(r),c),M&&(c=u(c,7,cp));for(var R=s.length;R--;)za(c,s[R]);return c}),ih=Hs(function(r,s){return null==r?{}:function Fd(r,s){return tc(r,s,function(c,M){return nd(r,M)})}(r,s)});function oh(r,s){if(null==r)return{};var c=Ot(hc(r),function(M){return[M]});return s=Tn(s),tc(r,c,function(M,R){return s(M,R[0])})}var od=Zd(Fi),_g=Zd(go);function Hl(r){return null==r?[]:jr(r,Fi(r))}var w_=Ya(function(r,s,c){return s=s.toLowerCase(),r+(c?zo(s):s)});function zo(r){return ki(Pr(r).toLowerCase())}function wg(r){return(r=Pr(r))&&r.replace(Lt,mi).replace(_o,"")}var dh=Ya(function(r,s,c){return r+(c?"-":"")+s.toLowerCase()}),bg=Ya(function(r,s,c){return r+(c?" ":"")+s.toLowerCase()}),E_=Wd("toLowerCase"),Sg=Ya(function(r,s,c){return r+(c?"_":"")+s.toLowerCase()}),Pg=Ya(function(r,s,c){return r+(c?" ":"")+ki(s)}),$l=Ya(function(r,s,c){return r+(c?" ":"")+s.toUpperCase()}),ki=Wd("toUpperCase");function fa(r,s,c){return r=Pr(r),(s=c?v:s)===v?function E(Ee){return lo.test(Ee)}(r)?function Vr(Ee){return Ee.match(Ko)||[]}(r):function Ui(Ee){return Ee.match(yt)||[]}(r):r.match(s)||[]}var Gl=Fn(function(r,s){try{return B(r,v,s)}catch(c){return qc(c)?c:new yn(c)}}),Wo=Hs(function(r,s){return He(s,function(c){c=Ps(c),Ho(r,c,Gc(r[c],r))}),r});function ha(r){return function(){return r}}var hl=up(),pl=up(!0);function Oi(r){return r}function pa(r){return Id("function"==typeof r?r:u(r,1))}var hh=Fn(function(r,s){return function(c){return na(c,r,s)}}),ph=Fn(function(r,s){return function(c){return na(r,c,s)}});function Ou(r,s,c){var M=Fi(s),R=eu(s,M);null==c&&(!Kr(s)||!R.length&&M.length)&&(c=s,s=r,r=this,R=eu(s,Fi(s)));var G=!(Kr(c)&&"chain"in c&&!c.chain),de=xs(r);return He(R,function(ve){var Te=s[ve];r[ve]=Te,de&&(r.prototype[ve]=function(){var ot=this.__chain__;if(G||ot){var st=r(this.__wrapped__),dt=st.__actions__=po(this.__actions__);return dt.push({func:Te,args:arguments,thisArg:r}),st.__chain__=ot,st}return Te.apply(r,yr([this.value()],arguments))})}),r}function Au(){}var _h=hu(Ot),yh=hu(bt),vh=hu(Lr);function Ch(r){return nf(r)?Gi(Ps(r)):function kd(r){return function(s){return xa(s,r)}}(r)}var Rg=Ka(),bh=Ka(!0);function Iu(){return[]}function dd(){return!1}var D_=Za(function(r,s){return r+s},0),Vg=cc("ceil"),fd=Za(function(r,s){return r/s},1),hd=cc("floor"),P_=Za(function(r,s){return r*s},1),Hg=cc("round"),_l=Za(function(r,s){return r-s},0);return d.after=function jc(r,s){if("function"!=typeof s)throw new Pi(Z);return r=zn(r),function(){if(--r<1)return s.apply(this,arguments)}},d.ary=Ff,d.assign=og,d.assignIn=sg,d.assignInWith=ll,d.assignWith=Kf,d.at=Xc,d.before=$c,d.bind=Gc,d.bindAll=Wo,d.bindKey=kf,d.castArray=function Wp(){if(!arguments.length)return[];var r=arguments[0];return Gn(r)?r:[r]},d.chain=Fl,d.chunk=function Mc(r,s,c){s=(c?Qi(r,s,c):s===v)?1:li(zn(s),0);var M=null==r?0:r.length;if(!M||s<1)return[];for(var R=0,G=0,de=Be(ko(M/s));R<M;)de[G++]=is(r,R,R+=s);return de},d.compact=function _p(r){for(var s=-1,c=null==r?0:r.length,M=0,R=[];++s<c;){var G=r[s];G&&(R[M++]=G)}return R},d.concat=function yp(){var r=arguments.length;if(!r)return[];for(var s=Be(r-1),c=arguments[0],M=r;M--;)s[M-1]=arguments[M];return yr(Gn(c)?po(c):[c],gr(s,1))},d.cond=function cd(r){var s=null==r?0:r.length,c=Tn();return r=s?Ot(r,function(M){if("function"!=typeof M[1])throw new Pi(Z);return[c(M[0]),M[1]]}):[],Fn(function(M){for(var R=-1;++R<s;){var G=r[R];if(B(G[0],this,M))return B(G[1],this,M)}})},d.conforms=function dl(r){return function D(r){var s=Fi(r);return function(c){return fe(c,r,s)}}(u(r,1))},d.constant=ha,d.countBy=Bp,d.create=function Ul(r,s){var c=P(r);return null==s?c:qu(c,s)},d.curry=function rl(r,s,c){var M=Ms(r,8,v,v,v,v,v,s=c?v:s);return M.placeholder=rl.placeholder,M},d.curryRight=function Va(r,s,c){var M=Ms(r,16,v,v,v,v,v,s=c?v:s);return M.placeholder=Va.placeholder,M},d.debounce=Mu,d.defaults=ag,d.defaultsDeep=ed,d.defer=il,d.delay=kl,d.difference=df,d.differenceBy=ff,d.differenceWith=La,d.drop=function hf(r,s,c){var M=null==r?0:r.length;return M?is(r,(s=c||s===v?1:zn(s))<0?0:s,M):[]},d.dropRight=function pf(r,s,c){var M=null==r?0:r.length;return M?is(r,0,(s=M-(s=c||s===v?1:zn(s)))<0?0:s):[]},d.dropRightWhile=function vp(r,s){return r&&r.length?Mo(r,Tn(s,3),!0,!0):[]},d.dropWhile=function _u(r,s){return r&&r.length?Mo(r,Tn(s,3),!0):[]},d.fill=function Cp(r,s,c,M){var R=null==r?0:r.length;return R?(c&&"number"!=typeof c&&Qi(r,s,c)&&(c=0,M=R),function Ql(r,s,c,M){var R=r.length;for((c=zn(c))<0&&(c=-c>R?0:R+c),(M=M===v||M>R?R:zn(M))<0&&(M+=R),M=c>M?0:Jc(M);c<M;)r[c++]=s;return r}(r,s,c,M)):[]},d.filter=function Of(r,s){return(Gn(r)?Zn:Jl)(r,Tn(s,3))},d.flatMap=function Lc(r,s){return gr(Vc(r,s),1)},d.flatMapDeep=function s_(r,s){return gr(Vc(r,s),Vt)},d.flatMapDepth=function a_(r,s,c){return c=c===v?1:zn(c),gr(Vc(r,s),c)},d.flatten=Pc,d.flattenDeep=function xc(r){return null!=r&&r.length?gr(r,Vt):[]},d.flattenDepth=function gf(r,s){return null!=r&&r.length?gr(r,s=s===v?1:zn(s)):[]},d.flip=function ol(r){return Ms(r,512)},d.flow=hl,d.flowRight=pl,d.fromPairs=function yu(r){for(var s=-1,c=null==r?0:r.length,M={};++s<c;){var R=r[s];M[R[0]]=R[1]}return M},d.functions=function cg(r){return null==r?[]:eu(r,Fi(r))},d.functionsIn=function eh(r){return null==r?[]:eu(r,go(r))},d.groupBy=l_,d.initial=function Oc(r){return null!=r&&r.length?is(r,0,-1):[]},d.intersection=_f,d.intersectionBy=Ac,d.intersectionWith=Nl,d.invert=dg,d.invertBy=ul,d.invokeMap=c_,d.iteratee=pa,d.keyBy=d_,d.keys=Fi,d.keysIn=go,d.map=Vc,d.mapKeys=function hg(r,s){var c={};return s=Tn(s,3),jo(r,function(M,R,G){Ho(c,s(M,R,G),M)}),c},d.mapValues=function Is(r,s){var c={};return s=Tn(s,3),jo(r,function(M,R,G){Ho(c,R,s(M,R,G))}),c},d.matches=function gl(r){return Rd(u(r,1))},d.matchesProperty=function ml(r,s){return Nd(r,u(s,1))},d.memoize=Su,d.merge=rd,d.mergeWith=id,d.method=hh,d.methodOf=ph,d.mixin=Ou,d.negate=Ll,d.nthArg=function mh(r){return r=zn(r),Fn(function(s){return iu(s,r)})},d.omit=nh,d.omitBy=function rh(r,s){return oh(r,Ll(Tn(s)))},d.once=function Lf(r){return $c(2,r)},d.orderBy=function f_(r,s,c,M){return null==r?[]:(Gn(s)||(s=null==s?[]:[s]),Gn(c=M?v:c)||(c=null==c?[]:[c]),ec(r,s,c))},d.over=_h,d.overArgs=zc,d.overEvery=yh,d.overSome=vh,d.partial=Vl,d.partialRight=Wc,d.partition=aa,d.pick=ih,d.pickBy=oh,d.property=Ch,d.propertyOf=function wh(r){return function(s){return null==r?v:xa(r,s)}},d.pull=yf,d.pullAll=vu,d.pullAllBy=function vf(r,s,c){return r&&r.length&&s&&s.length?nc(r,s,Tn(c,2)):r},d.pullAllWith=function e_(r,s,c){return r&&r.length&&s&&s.length?nc(r,s,v,c):r},d.pullAt=Cf,d.range=Rg,d.rangeRight=bh,d.rearg=Tu,d.reject=function If(r,s){return(Gn(r)?Zn:Jl)(r,Ll(Tn(s,3)))},d.remove=function Dp(r,s){var c=[];if(!r||!r.length)return c;var M=-1,R=[],G=r.length;for(s=Tn(s,3);++M<G;){var de=r[M];s(de,M,r)&&(c.push(de),R.push(M))}return Ld(r,R),c},d.rest=function zp(r,s){if("function"!=typeof r)throw new Pi(Z);return Fn(r,s=s===v?s:zn(s))},d.reverse=Cu,d.sampleSize=function Rf(r,s,c){return s=(c?Qi(r,s,c):s===v)?1:zn(s),(Gn(r)?zu:tp)(r,s)},d.set=function gg(r,s,c){return null==r?r:ou(r,s,c)},d.setWith=function mg(r,s,c,M){return M="function"==typeof M?M:v,null==r?r:ou(r,s,c,M)},d.shuffle=function Hc(r){return(Gn(r)?Kl:Km)(r)},d.slice=function Mp(r,s,c){var M=null==r?0:r.length;return M?(c&&"number"!=typeof c&&Qi(r,s,c)?(s=0,c=M):(s=null==s?0:zn(s),c=c===v?M:zn(c)),is(r,s,c)):[]},d.sortBy=Nf,d.sortedUniq=function Op(r){return r&&r.length?Bd(r):[]},d.sortedUniqBy=function Ap(r,s){return r&&r.length?Bd(r,Tn(s,2)):[]},d.split=function Tg(r,s,c){return c&&"number"!=typeof c&&Qi(r,s,c)&&(s=c=v),(c=c===v?Wn:c>>>0)?(r=Pr(r))&&("string"==typeof s||null!=s&&!sl(s))&&!(s=$o(s))&&_(r)?Ds(vn(r),0,c):r.split(s,c):[]},d.spread=function Vf(r,s){if("function"!=typeof r)throw new Pi(Z);return s=null==s?0:li(zn(s),0),Fn(function(c){var M=c[s],R=Ds(c,0,s);return M&&yr(R,M),B(r,this,R)})},d.tail=function bf(r){var s=null==r?0:r.length;return s?is(r,1,s):[]},d.take=function Ip(r,s,c){return r&&r.length?is(r,0,(s=c||s===v?1:zn(s))<0?0:s):[]},d.takeRight=function Rp(r,s,c){var M=null==r?0:r.length;return M?is(r,(s=M-(s=c||s===v?1:zn(s)))<0?0:s,M):[]},d.takeRightWhile=function Np(r,s){return r&&r.length?Mo(r,Tn(s,3),!1,!0):[]},d.takeWhile=function Ln(r,s){return r&&r.length?Mo(r,Tn(s,3)):[]},d.tap=function Fc(r,s){return s(r),r},d.throttle=function h_(r,s,c){var M=!0,R=!0;if("function"!=typeof r)throw new Pi(Z);return Kr(c)&&(M="leading"in c?!!c.leading:M,R="trailing"in c?!!c.trailing:R),Mu(r,s,{leading:M,maxWait:s,trailing:R})},d.thru=nl,d.toArray=Qc,d.toPairs=od,d.toPairsIn=_g,d.toPath=function kg(r){return Gn(r)?Ot(r,Ps):so(r)?[r]:po(cf(Pr(r)))},d.toPlainObject=As,d.transform=function sh(r,s,c){var M=Gn(r),R=M||ca(r)||Ba(r);if(s=Tn(s,4),null==c){var G=r&&r.constructor;c=R?M?new G:[]:Kr(r)&&xs(G)?P(Qs(r)):{}}return(R?He:jo)(r,function(de,ve,Te){return s(c,de,ve,Te)}),c},d.unary=function Bf(r){return Ff(r,1)},d.union=Ef,d.unionBy=Df,d.unionWith=Mf,d.uniq=function wu(r){return r&&r.length?ra(r):[]},d.uniqBy=function ss(r,s){return r&&r.length?ra(r,Tn(s,2)):[]},d.uniqWith=function Sf(r,s){return s="function"==typeof s?s:v,r&&r.length?ra(r,v,s):[]},d.unset=function yg(r,s){return null==r||za(r,s)},d.unzip=Ic,d.unzipWith=bu,d.update=function vg(r,s,c){return null==r?r:sc(r,s,Hd(c))},d.updateWith=function C_(r,s,c,M){return M="function"==typeof M?M:v,null==r?r:sc(r,s,Hd(c),M)},d.values=Hl,d.valuesIn=function sd(r){return null==r?[]:jr(r,go(r))},d.without=js,d.words=fa,d.wrap=function Uf(r,s){return Vl(Hd(s),r)},d.xor=Rc,d.xorBy=Tf,d.xorWith=Nc,d.zip=t_,d.zipObject=function Pf(r,s){return ac(r||[],s||[],Ta)},d.zipObjectDeep=function n_(r,s){return ac(r||[],s||[],ou)},d.zipWith=Eu,d.entries=od,d.entriesIn=_g,d.extend=sg,d.extendWith=ll,Ou(d,d),d.add=D_,d.attempt=Gl,d.camelCase=w_,d.capitalize=zo,d.ceil=Vg,d.clamp=function Cg(r,s,c){return c===v&&(c=s,s=v),c!==v&&(c=(c=xo(c))==c?c:0),s!==v&&(s=(s=xo(s))==s?s:0),y(xo(r),s,c)},d.clone=function Hf(r){return u(r,4)},d.cloneDeep=function Yp(r){return u(r,5)},d.cloneDeepWith=function To(r,s){return u(r,5,s="function"==typeof s?s:v)},d.cloneWith=function qp(r,s){return u(r,4,s="function"==typeof s?s:v)},d.conformsTo=function Zp(r,s){return null==s||fe(r,s,Fi(s))},d.deburr=wg,d.defaultTo=function fl(r,s){return null==r||r!=r?s:r},d.divide=fd,d.endsWith=function b_(r,s,c){r=Pr(r),s=$o(s);var M=r.length,R=c=c===v?M:y(zn(c),0,M);return(c-=s.length)>=0&&r.slice(c,R)==s},d.eq=as,d.escape=function uh(r){return(r=Pr(r))&&xn.test(r)?r.replace(Cn,yl):r},d.escapeRegExp=function ch(r){return(r=Pr(r))&&pe.test(r)?r.replace(Ie,"\\$&"):r},d.every=function o_(r,s,c){var M=Gn(r)?bt:Do;return c&&Qi(r,s,c)&&(s=v),M(r,Tn(s,3))},d.find=Af,d.findIndex=Sc,d.findKey=function Qf(r,s){return Ti(r,Tn(s,3),jo)},d.findLast=Up,d.findLastIndex=Tc,d.findLastKey=function Jf(r,s){return Ti(r,Tn(s,3),Pa)},d.floor=hd,d.forEach=Hp,d.forEachRight=jp,d.forIn=function Xf(r,s){return null==r?r:Xl(r,Tn(s,3),go)},d.forInRight=function lg(r,s){return null==r?r:Pd(r,Tn(s,3),go)},d.forOwn=function td(r,s){return r&&jo(r,Tn(s,3))},d.forOwnRight=function ug(r,s){return r&&Pa(r,Tn(s,3))},d.get=da,d.gt=p_,d.gte=g_,d.has=function th(r,s){return null!=r&&ef(r,s,Od)},d.hasIn=nd,d.head=Rl,d.identity=Oi,d.includes=function u_(r,s,c,M){r=Ji(r)?r:Hl(r),c=c&&!M?zn(c):0;var R=r.length;return c<0&&(c=li(R+c,0)),al(r)?c<=R&&r.indexOf(s,c)>-1:!!R&&Ir(r,s,c)>-1},d.indexOf=function mf(r,s,c){var M=null==r?0:r.length;if(!M)return-1;var R=null==c?0:zn(c);return R<0&&(R=li(M+R,0)),Ir(r,s,R)},d.inRange=function ah(r,s,c){return s=Os(s),c===v?(c=s,s=0):c=Os(c),function Yh(r,s,c){return r>=Mr(s,c)&&r<li(s,c)}(r=xo(r),s,c)},d.invoke=fg,d.isArguments=ua,d.isArray=Gn,d.isArrayBuffer=Kp,d.isArrayLike=Ji,d.isArrayLikeObject=ui,d.isBoolean=function Qp(r){return!0===r||!1===r||ci(r)&&Ni(r)==Qn},d.isBuffer=ca,d.isDate=Jp,d.isElement=function jf(r){return ci(r)&&1===r.nodeType&&!Bl(r)},d.isEmpty=function Xp(r){if(null==r)return!0;if(Ji(r)&&(Gn(r)||"string"==typeof r||"function"==typeof r.splice||ca(r)||Ba(r)||ua(r)))return!r.length;var s=Ki(r);if(s==cr||s==le)return!r.size;if(el(r))return!Ju(r).length;for(var c in r)if(Nn.call(r,c))return!1;return!0},d.isEqual=function $f(r,s){return Es(r,s)},d.isEqualWith=function eg(r,s,c){var M=(c="function"==typeof c?c:v)?c(r,s):v;return M===v?Es(r,s,v,c):!!M},d.isError=qc,d.isFinite=function Gf(r){return"number"==typeof r&&Ca(r)},d.isFunction=xs,d.isInteger=zf,d.isLength=Po,d.isMap=Wf,d.isMatch=function m_(r,s){return r===s||Ad(r,s,gc(s))},d.isMatchWith=function qf(r,s,c){return c="function"==typeof c?c:v,Ad(r,s,gc(s),c)},d.isNaN=function tg(r){return Yf(r)&&r!=+r},d.isNative=function ng(r){if(gp(r))throw new yn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Qu(r)},d.isNil=function Yc(r){return null==r},d.isNull=function rg(r){return null===r},d.isNumber=Yf,d.isObject=Kr,d.isObjectLike=ci,d.isPlainObject=Bl,d.isRegExp=sl,d.isSafeInteger=function Zc(r){return zf(r)&&r>=-Yt&&r<=Yt},d.isSet=Zf,d.isString=al,d.isSymbol=so,d.isTypedArray=Ba,d.isUndefined=function __(r){return r===v},d.isWeakMap=function y_(r){return ci(r)&&Ki(r)==$},d.isWeakSet=function Kc(r){return ci(r)&&"[object WeakSet]"==Ni(r)},d.join=function wp(r,s){return null==r?"":Ua.call(r,s)},d.kebabCase=dh,d.last=So,d.lastIndexOf=function bp(r,s,c){var M=null==r?0:r.length;if(!M)return-1;var R=M;return c!==v&&(R=(R=zn(c))<0?li(M+R,0):Mr(R,M-1)),s==s?function tn(Ee,ze,Be){for(var kt=Be+1;kt--;)if(Ee[kt]===ze)return kt;return kt}(r,s,R):Ai(r,Xo,R,!0)},d.lowerCase=bg,d.lowerFirst=E_,d.lt=v_,d.lte=ig,d.max=function Bg(r){return r&&r.length?oo(r,Oi,Oa):v},d.maxBy=function M_(r,s){return r&&r.length?oo(r,Tn(s,2),Oa):v},d.mean=function S_(r){return es(r,Oi)},d.meanBy=function T_(r,s){return es(r,Tn(s,2))},d.min=function Ug(r){return r&&r.length?oo(r,Oi,Sl):v},d.minBy=function Mh(r,s){return r&&r.length?oo(r,Tn(s,2),Sl):v},d.stubArray=Iu,d.stubFalse=dd,d.stubObject=function Ng(){return{}},d.stubString=function Eh(){return""},d.stubTrue=function Fg(){return!0},d.multiply=P_,d.nth=function Ep(r,s){return r&&r.length?iu(r,zn(s)):v},d.noConflict=function gh(){return Gr._===this&&(Gr._=ns),this},d.noop=Au,d.now=Du,d.pad=function fh(r,s,c){r=Pr(r);var M=(s=zn(s))?sn(r):0;if(!s||M>=s)return r;var R=(s-M)/2;return Ol(Bs(R),c)+r+Ol(ko(R),c)},d.padEnd=function ad(r,s,c){r=Pr(r);var M=(s=zn(s))?sn(r):0;return s&&M<s?r+Ol(s-M,c):r},d.padStart=function Eg(r,s,c){r=Pr(r);var M=(s=zn(s))?sn(r):0;return s&&M<s?Ol(s-M,c)+r:r},d.parseInt=function ld(r,s,c){return c||null==s?s=0:s&&(s=+s),ba(Pr(r).replace(J,""),s||0)},d.random=function lh(r,s,c){if(c&&"boolean"!=typeof c&&Qi(r,s,c)&&(s=c=v),c===v&&("boolean"==typeof s?(c=s,s=v):"boolean"==typeof r&&(c=r,r=v)),r===v&&s===v?(r=0,s=1):(r=Os(r),s===v?(s=r,r=0):s=Os(s)),r>s){var M=r;r=s,s=M}if(c||r%1||s%1){var R=xi();return Mr(r+R*(s-r+fs("1e-"+((R+"").length-1))),s)}return rc(r,s)},d.reduce=function Bc(r,s,c){var M=Gn(r)?jn:Ls,R=arguments.length<3;return M(r,Tn(s,4),c,R,Cr)},d.reduceRight=function $p(r,s,c){var M=Gn(r)?Dr:Ls,R=arguments.length<3;return M(r,Tn(s,4),c,R,Tr)},d.repeat=function Dg(r,s,c){return s=(c?Qi(r,s,c):s===v)?1:zn(s),ic(Pr(r),s)},d.replace=function Mg(){var r=arguments,s=Pr(r[0]);return r.length<3?s:s.replace(r[1],r[2])},d.result=function pg(r,s,c){var M=-1,R=(s=Ia(s,r)).length;for(R||(R=1,r=v);++M<R;){var G=null==r?v:r[Ps(s[M])];G===v&&(M=R,G=c),r=xs(G)?G.call(r):G}return r},d.round=Hg,d.runInContext=Ee,d.sample=function Uc(r){return(Gn(r)?Eo:Tl)(r)},d.size=function Gp(r){if(null==r)return 0;if(Ji(r))return al(r)?sn(r):r.length;var s=Ki(r);return s==cr||s==le?r.size:Ju(r).length},d.snakeCase=Sg,d.some=function la(r,s,c){var M=Gn(r)?Lr:Vd;return c&&Qi(r,s,c)&&(s=v),M(r,Tn(s,3))},d.sortedIndex=function Sp(r,s){return su(r,s)},d.sortedIndexBy=function os(r,s,c){return oc(r,s,Tn(c,2))},d.sortedIndexOf=function Tp(r,s){var c=null==r?0:r.length;if(c){var M=su(r,s);if(M<c&&as(r[M],s))return M}return-1},d.sortedLastIndex=function wf(r,s){return su(r,s,!0)},d.sortedLastIndexBy=function Pp(r,s,c){return oc(r,s,Tn(c,2),!0)},d.sortedLastIndexOf=function xp(r,s){if(null!=r&&r.length){var M=su(r,s,!0)-1;if(as(r[M],s))return M}return-1},d.startCase=Pg,d.startsWith=function xg(r,s,c){return r=Pr(r),c=null==c?0:y(zn(c),0,r.length),s=$o(s),r.slice(c,c+s.length)==s},d.subtract=_l,d.sum=function jg(r){return r&&r.length?Zs(r,Oi):0},d.sumBy=function Sh(r,s){return r&&r.length?Zs(r,Tn(s,2)):0},d.template=function xu(r,s,c){var M=d.templateSettings;c&&Qi(r,s,c)&&(s=v),r=Pr(r),s=ll({},s,M,Kd);var ve,Te,R=ll({},s.imports,M.imports,Kd),G=Fi(R),de=jr(R,G),ot=0,st=s.interpolate||Nt,dt="__p += '",Ht=co((s.escape||Nt).source+"|"+st.source+"|"+(st===tt?wt:Nt).source+"|"+(s.evaluate||Nt).source+"|$","g"),an="//# sourceURL="+(Nn.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ro+"]")+"\n";r.replace(Ht,function(En,Xn,ur,Hi,Xi,ao){return ur||(ur=Hi),dt+=r.slice(ot,ao).replace(Ft,I),Xn&&(ve=!0,dt+="' +\n__e("+Xn+") +\n'"),Xi&&(Te=!0,dt+="';\n"+Xi+";\n__p += '"),ur&&(dt+="' +\n((__t = ("+ur+")) == null ? '' : __t) +\n'"),ot=ao+En.length,En}),dt+="';\n";var bn=Nn.call(s,"variable")&&s.variable;if(bn){if(ue.test(bn))throw new yn("Invalid `variable` option passed into `_.template`")}else dt="with (obj) {\n"+dt+"\n}\n";dt=(Te?dt.replace(Zt,""):dt).replace(Qt,"$1").replace(pt,"$1;"),dt="function("+(bn||"obj")+") {\n"+(bn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(ve?", __e = _.escape":"")+(Te?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+dt+"return __p\n}";var Kn=Gl(function(){return fn(G,an+"return "+dt).apply(v,de)});if(Kn.source=dt,qc(Kn))throw Kn;return Kn},d.times=function Dh(r,s){if((r=zn(r))<1||r>Yt)return[];var c=Wn,M=Mr(r,Wn);s=Tn(s),r-=Wn;for(var R=ts(M,s);++c<r;)s(c);return R},d.toFinite=Os,d.toInteger=zn,d.toLength=Jc,d.toLower=function cl(r){return Pr(r).toLowerCase()},d.toNumber=xo,d.toSafeInteger=function Pu(r){return r?y(zn(r),-Yt,Yt):0===r?r:0},d.toString=Pr,d.toUpper=function Og(r){return Pr(r).toUpperCase()},d.trim=function jl(r,s,c){if((r=Pr(r))&&(c||s===v))return $n(r);if(!r||!(s=$o(s)))return r;var M=vn(r),R=vn(s);return Ds(M,wo(M,R),gi(M,R)+1).join("")},d.trimEnd=function Ag(r,s,c){if((r=Pr(r))&&(c||s===v))return r.slice(0,ln(r)+1);if(!r||!(s=$o(s)))return r;var M=vn(r);return Ds(M,0,gi(M,vn(s))+1).join("")},d.trimStart=function Ig(r,s,c){if((r=Pr(r))&&(c||s===v))return r.replace(J,"");if(!r||!(s=$o(s)))return r;var M=vn(r);return Ds(M,wo(M,vn(s))).join("")},d.truncate=function ud(r,s){var c=30,M="...";if(Kr(s)){var R="separator"in s?s.separator:R;c="length"in s?zn(s.length):c,M="omission"in s?$o(s.omission):M}var G=(r=Pr(r)).length;if(_(r)){var de=vn(r);G=de.length}if(c>=G)return r;var ve=c-sn(M);if(ve<1)return M;var Te=de?Ds(de,0,ve).join(""):r.slice(0,ve);if(R===v)return Te+M;if(de&&(ve+=Te.length-ve),sl(R)){if(r.slice(ve).search(R)){var ot,st=Te;for(R.global||(R=co(R.source,Pr(qt.exec(R))+"g")),R.lastIndex=0;ot=R.exec(st);)var dt=ot.index;Te=Te.slice(0,dt===v?ve:dt)}}else if(r.indexOf($o(R),ve)!=ve){var Ht=Te.lastIndexOf(R);Ht>-1&&(Te=Te.slice(0,Ht))}return Te+M},d.unescape=function Rs(r){return(r=Pr(r))&&Un.test(r)?r.replace(Wt,On):r},d.uniqueId=function Lg(r){var s=++_i;return Pr(r)+s},d.upperCase=$l,d.upperFirst=ki,d.each=Hp,d.eachRight=jp,d.first=Rl,Ou(d,function(){var r={};return jo(d,function(s,c){Nn.call(d.prototype,c)||(r[c]=s)}),r}(),{chain:!1}),d.VERSION="4.17.21",He(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){d[r].placeholder=d}),He(["drop","take"],function(r,s){se.prototype[r]=function(c){c=c===v?1:li(zn(c),0);var M=this.__filtered__&&!s?new se(this):this.clone();return M.__filtered__?M.__takeCount__=Mr(c,M.__takeCount__):M.__views__.push({size:Mr(c,Wn),type:r+(M.__dir__<0?"Right":"")}),M},se.prototype[r+"Right"]=function(c){return this.reverse()[r](c).reverse()}}),He(["filter","map","takeWhile"],function(r,s){var c=s+1,M=1==c||3==c;se.prototype[r]=function(R){var G=this.clone();return G.__iteratees__.push({iteratee:Tn(R,3),type:c}),G.__filtered__=G.__filtered__||M,G}}),He(["head","last"],function(r,s){var c="take"+(s?"Right":"");se.prototype[r]=function(){return this[c](1).value()[0]}}),He(["initial","tail"],function(r,s){var c="drop"+(s?"":"Right");se.prototype[r]=function(){return this.__filtered__?new se(this):this[c](1)}}),se.prototype.compact=function(){return this.filter(Oi)},se.prototype.find=function(r){return this.filter(r).head()},se.prototype.findLast=function(r){return this.reverse().find(r)},se.prototype.invokeMap=Fn(function(r,s){return"function"==typeof r?new se(this):this.map(function(c){return na(c,r,s)})}),se.prototype.reject=function(r){return this.filter(Ll(Tn(r)))},se.prototype.slice=function(r,s){r=zn(r);var c=this;return c.__filtered__&&(r>0||s<0)?new se(c):(r<0?c=c.takeRight(-r):r&&(c=c.drop(r)),s!==v&&(c=(s=zn(s))<0?c.dropRight(-s):c.take(s-r)),c)},se.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},se.prototype.toArray=function(){return this.take(Wn)},jo(se.prototype,function(r,s){var c=/^(?:filter|find|map|reject)|While$/.test(s),M=/^(?:head|last)$/.test(s),R=d[M?"take"+("last"==s?"Right":""):s],G=M||/^find/.test(s);!R||(d.prototype[s]=function(){var de=this.__wrapped__,ve=M?[1]:arguments,Te=de instanceof se,ot=ve[0],st=Te||Gn(de),dt=function(Xn){var ur=R.apply(d,yr([Xn],ve));return M&&Ht?ur[0]:ur};st&&c&&"function"==typeof ot&&1!=ot.length&&(Te=st=!1);var Ht=this.__chain__,an=!!this.__actions__.length,bn=G&&!Ht,Kn=Te&&!an;if(!G&&st){de=Kn?de:new se(this);var En=r.apply(de,ve);return En.__actions__.push({func:nl,args:[dt],thisArg:v}),new ee(En,Ht)}return bn&&Kn?r.apply(this,ve):(En=this.thru(dt),bn?M?En.value()[0]:En.value():En)})}),He(["pop","push","shift","sort","splice","unshift"],function(r){var s=zt[r],c=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",M=/^(?:pop|shift)$/.test(r);d.prototype[r]=function(){var R=arguments;if(M&&!this.__chain__){var G=this.value();return s.apply(Gn(G)?G:[],R)}return this[c](function(de){return s.apply(Gn(de)?de:[],R)})}}),jo(se.prototype,function(r,s){var c=d[s];if(c){var M=c.name+"";Nn.call(ro,M)||(ro[M]=[]),ro[M].push({name:s,func:c})}}),ro[ia(v,2).name]=[{name:"wrapper",func:v}],se.prototype.clone=function Je(){var r=new se(this.__wrapped__);return r.__actions__=po(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=po(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=po(this.__views__),r},se.prototype.reverse=function Kt(){if(this.__filtered__){var r=new se(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},se.prototype.value=function nr(){var r=this.__wrapped__.value(),s=this.__dir__,c=Gn(r),M=s<0,R=c?r.length:0,G=function fp(r,s,c){for(var M=-1,R=c.length;++M<R;){var G=c[M],de=G.size;switch(G.type){case"drop":r+=de;break;case"dropRight":s-=de;break;case"take":s=Mr(s,r+de);break;case"takeRight":r=li(r,s-de)}}return{start:r,end:s}}(0,R,this.__views__),de=G.start,ve=G.end,Te=ve-de,ot=M?ve:de-1,st=this.__iteratees__,dt=st.length,Ht=0,an=Mr(Te,this.__takeCount__);if(!c||!M&&R==Te&&an==Te)return Wa(r,this.__actions__);var bn=[];e:for(;Te--&&Ht<an;){for(var Kn=-1,En=r[ot+=s];++Kn<dt;){var Xn=st[Kn],Hi=Xn.type,Xi=(0,Xn.iteratee)(En);if(2==Hi)En=Xi;else if(!Xi){if(1==Hi)continue e;break e}}bn[Ht++]=En}return bn},d.prototype.at=kc,d.prototype.chain=function r_(){return Fl(this)},d.prototype.commit=function Fp(){return new ee(this.value(),this.__chain__)},d.prototype.next=function kp(){this.__values__===v&&(this.__values__=Qc(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?v:this.__values__[this.__index__++]}},d.prototype.plant=function Vp(r){for(var s,c=this;c instanceof V;){var M=Dc(c);M.__index__=0,M.__values__=v,s?R.__wrapped__=M:s=M;var R=M;c=c.__wrapped__}return R.__wrapped__=r,s},d.prototype.reverse=function xf(){var r=this.__wrapped__;if(r instanceof se){var s=r;return this.__actions__.length&&(s=new se(this)),(s=s.reverse()).__actions__.push({func:nl,args:[Cu],thisArg:v}),new ee(s,this.__chain__)}return this.thru(Cu)},d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=function i_(){return Wa(this.__wrapped__,this.__actions__)},d.prototype.first=d.prototype.head,ni&&(d.prototype[ni]=function Lp(){return this}),d}();Gr._=$r,(l=function(){return $r}.call(Q,x,Q,Me))!==v&&(Me.exports=l)}.call(this)},8448:(Me,Q,x)=>{var l=x(5171),v=x(2315),K=x(4401),z=x(3943);Me.exports=function q(Z,re,oe){Z=z(Z);var we=(re=K(re))?v(Z):0;return re&&we<re?l(re-we,oe)+Z:Z}},1978:(Me,Q,x)=>{var v=x(1491)(function(K,z,q){return K+(q?"_":"")+z.toLowerCase()});Me.exports=v},2232:(Me,Q,x)=>{var l=x(1467),v=1/0;Me.exports=function z(q){return q?(q=l(q))===v||q===-v?17976931348623157e292*(q<0?-1:1):q==q?q:0:0===q?q:0}},4401:(Me,Q,x)=>{var l=x(2232);Me.exports=function v(K){var z=l(K),q=z%1;return z==z?q?z-q:z:0}},1467:(Me,Q,x)=>{var l=x(3348),v=x(5940),K=x(4129),q=/^[-+]0x[0-9a-f]+$/i,Z=/^0b[01]+$/i,re=/^0o[0-7]+$/i,oe=parseInt;Me.exports=function we(j){if("number"==typeof j)return j;if(K(j))return NaN;if(v(j)){var Y="function"==typeof j.valueOf?j.valueOf():j;j=v(Y)?Y+"":Y}if("string"!=typeof j)return 0===j?j:+j;j=l(j);var ce=Z.test(j);return ce||re.test(j)?oe(j.slice(2),ce?2:8):q.test(j)?NaN:+j}},3943:(Me,Q,x)=>{var l=x(3935);Me.exports=function v(K){return null==K?"":l(K)}},7188:(Me,Q,x)=>{var l=x(69),v=x(9062),K=x(3943),z=x(910);Me.exports=function q(Z,re,oe){return Z=K(Z),void 0===(re=oe?void 0:re)?v(Z)?z(Z):l(Z):Z.match(re)||[]}},1869:(Me,Q,x)=>{"use strict";x.d(Q,{d:()=>v});var l=x(3489);class v extends l.L{constructor(z,q,Z){super(),this.parent=z,this.outerValue=q,this.outerIndex=Z,this.index=0}_next(z){this.parent.notifyNext(this.outerValue,z,this.outerIndex,this.index++,this)}_error(z){this.parent.notifyError(z,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(Me,Q,x)=>{"use strict";x.d(Q,{y:()=>Y});var l=x(3489),K=x(7668),z=x(3292),Z=x(3821),re=x(5379);var j=x(2830);let Y=(()=>{class ye{constructor(ke){this._isScalar=!1,ke&&(this._subscribe=ke)}lift(ke){const Ge=new ye;return Ge.source=this,Ge.operator=ke,Ge}subscribe(ke,Ge,Ze){const{operator:Jt}=this,ht=function q(ye,je,ke){if(ye){if(ye instanceof l.L)return ye;if(ye[K.b])return ye[K.b]()}return ye||je||ke?new l.L(ye,je,ke):new l.L(z.c)}(ke,Ge,Ze);if(ht.add(Jt?Jt.call(ht,this.source):this.source||j.v.useDeprecatedSynchronousErrorHandling&&!ht.syncErrorThrowable?this._subscribe(ht):this._trySubscribe(ht)),j.v.useDeprecatedSynchronousErrorHandling&&ht.syncErrorThrowable&&(ht.syncErrorThrowable=!1,ht.syncErrorThrown))throw ht.syncErrorValue;return ht}_trySubscribe(ke){try{return this._subscribe(ke)}catch(Ge){j.v.useDeprecatedSynchronousErrorHandling&&(ke.syncErrorThrown=!0,ke.syncErrorValue=Ge),function v(ye){for(;ye;){const{closed:je,destination:ke,isStopped:Ge}=ye;if(je||Ge)return!1;ye=ke&&ke instanceof l.L?ke:null}return!0}(ke)?ke.error(Ge):console.warn(Ge)}}forEach(ke,Ge){return new(Ge=ce(Ge))((Ze,Jt)=>{let ht;ht=this.subscribe(qe=>{try{ke(qe)}catch(ct){Jt(ct),ht&&ht.unsubscribe()}},Jt,Ze)})}_subscribe(ke){const{source:Ge}=this;return Ge&&Ge.subscribe(ke)}[Z.L](){return this}pipe(...ke){return 0===ke.length?this:function we(ye){return 0===ye.length?re.y:1===ye.length?ye[0]:function(ke){return ye.reduce((Ge,Ze)=>Ze(Ge),ke)}}(ke)(this)}toPromise(ke){return new(ke=ce(ke))((Ge,Ze)=>{let Jt;this.subscribe(ht=>Jt=ht,ht=>Ze(ht),()=>Ge(Jt))})}}return ye.create=je=>new ye(je),ye})();function ce(ye){if(ye||(ye=j.v.Promise||Promise),!ye)throw new Error("no Promise impl found");return ye}},3292:(Me,Q,x)=>{"use strict";x.d(Q,{c:()=>K});var l=x(2830),v=x(2782);const K={closed:!0,next(z){},error(z){if(l.v.useDeprecatedSynchronousErrorHandling)throw z;(0,v.z)(z)},complete(){}}},826:(Me,Q,x)=>{"use strict";x.d(Q,{L:()=>v});var l=x(3489);class v extends l.L{notifyNext(z,q,Z,re,oe){this.destination.next(q)}notifyError(z,q){this.destination.error(z)}notifyComplete(z){this.destination.complete()}}},5529:(Me,Q,x)=>{"use strict";x.d(Q,{xQ:()=>oe,Yc:()=>re});var l=x(2916),v=x(3489),K=x(2654),z=x(5279);class q extends K.w{constructor(Y,ce){super(),this.subject=Y,this.subscriber=ce,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const Y=this.subject,ce=Y.observers;if(this.subject=null,!ce||0===ce.length||Y.isStopped||Y.closed)return;const ye=ce.indexOf(this.subscriber);-1!==ye&&ce.splice(ye,1)}}var Z=x(7668);class re extends v.L{constructor(Y){super(Y),this.destination=Y}}let oe=(()=>{class j extends l.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Z.b](){return new re(this)}lift(ce){const ye=new we(this,this);return ye.operator=ce,ye}next(ce){if(this.closed)throw new z.N;if(!this.isStopped){const{observers:ye}=this,je=ye.length,ke=ye.slice();for(let Ge=0;Ge<je;Ge++)ke[Ge].next(ce)}}error(ce){if(this.closed)throw new z.N;this.hasError=!0,this.thrownError=ce,this.isStopped=!0;const{observers:ye}=this,je=ye.length,ke=ye.slice();for(let Ge=0;Ge<je;Ge++)ke[Ge].error(ce);this.observers.length=0}complete(){if(this.closed)throw new z.N;this.isStopped=!0;const{observers:ce}=this,ye=ce.length,je=ce.slice();for(let ke=0;ke<ye;ke++)je[ke].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(ce){if(this.closed)throw new z.N;return super._trySubscribe(ce)}_subscribe(ce){if(this.closed)throw new z.N;return this.hasError?(ce.error(this.thrownError),K.w.EMPTY):this.isStopped?(ce.complete(),K.w.EMPTY):(this.observers.push(ce),new q(this,ce))}asObservable(){const ce=new l.y;return ce.source=this,ce}}return j.create=(Y,ce)=>new we(Y,ce),j})();class we extends oe{constructor(Y,ce){super(),this.destination=Y,this.source=ce}next(Y){const{destination:ce}=this;ce&&ce.next&&ce.next(Y)}error(Y){const{destination:ce}=this;ce&&ce.error&&this.destination.error(Y)}complete(){const{destination:Y}=this;Y&&Y.complete&&this.destination.complete()}_subscribe(Y){const{source:ce}=this;return ce?this.source.subscribe(Y):K.w.EMPTY}}},3489:(Me,Q,x)=>{"use strict";x.d(Q,{L:()=>re});var l=x(7043),v=x(3292),K=x(2654),z=x(7668),q=x(2830),Z=x(2782);class re extends K.w{constructor(j,Y,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(!j){this.destination=v.c;break}if("object"==typeof j){j instanceof re?(this.syncErrorThrowable=j.syncErrorThrowable,this.destination=j,j.add(this)):(this.syncErrorThrowable=!0,this.destination=new oe(this,j));break}default:this.syncErrorThrowable=!0,this.destination=new oe(this,j,Y,ce)}}[z.b](){return this}static create(j,Y,ce){const ye=new re(j,Y,ce);return ye.syncErrorThrowable=!1,ye}next(j){this.isStopped||this._next(j)}error(j){this.isStopped||(this.isStopped=!0,this._error(j))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(j){this.destination.next(j)}_error(j){this.destination.error(j),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:j}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=j,this}}class oe extends re{constructor(j,Y,ce,ye){super(),this._parentSubscriber=j;let je,ke=this;(0,l.m)(Y)?je=Y:Y&&(je=Y.next,ce=Y.error,ye=Y.complete,Y!==v.c&&(ke=Object.create(Y),(0,l.m)(ke.unsubscribe)&&this.add(ke.unsubscribe.bind(ke)),ke.unsubscribe=this.unsubscribe.bind(this))),this._context=ke,this._next=je,this._error=ce,this._complete=ye}next(j){if(!this.isStopped&&this._next){const{_parentSubscriber:Y}=this;q.v.useDeprecatedSynchronousErrorHandling&&Y.syncErrorThrowable?this.__tryOrSetError(Y,this._next,j)&&this.unsubscribe():this.__tryOrUnsub(this._next,j)}}error(j){if(!this.isStopped){const{_parentSubscriber:Y}=this,{useDeprecatedSynchronousErrorHandling:ce}=q.v;if(this._error)ce&&Y.syncErrorThrowable?(this.__tryOrSetError(Y,this._error,j),this.unsubscribe()):(this.__tryOrUnsub(this._error,j),this.unsubscribe());else if(Y.syncErrorThrowable)ce?(Y.syncErrorValue=j,Y.syncErrorThrown=!0):(0,Z.z)(j),this.unsubscribe();else{if(this.unsubscribe(),ce)throw j;(0,Z.z)(j)}}}complete(){if(!this.isStopped){const{_parentSubscriber:j}=this;if(this._complete){const Y=()=>this._complete.call(this._context);q.v.useDeprecatedSynchronousErrorHandling&&j.syncErrorThrowable?(this.__tryOrSetError(j,Y),this.unsubscribe()):(this.__tryOrUnsub(Y),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(j,Y){try{j.call(this._context,Y)}catch(ce){if(this.unsubscribe(),q.v.useDeprecatedSynchronousErrorHandling)throw ce;(0,Z.z)(ce)}}__tryOrSetError(j,Y,ce){if(!q.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{Y.call(this._context,ce)}catch(ye){return q.v.useDeprecatedSynchronousErrorHandling?(j.syncErrorValue=ye,j.syncErrorThrown=!0,!0):((0,Z.z)(ye),!0)}return!1}_unsubscribe(){const{_parentSubscriber:j}=this;this._context=null,this._parentSubscriber=null,j.unsubscribe()}}},2654:(Me,Q,x)=>{"use strict";x.d(Q,{w:()=>Z});var l=x(6688),v=x(7830),K=x(7043);const q=(()=>{function oe(we){return Error.call(this),this.message=we?`${we.length} errors occurred during unsubscription:\n${we.map((j,Y)=>`${Y+1}) ${j.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=we,this}return oe.prototype=Object.create(Error.prototype),oe})();class Z{constructor(we){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,we&&(this._unsubscribe=we)}unsubscribe(){let we;if(this.closed)return;let{_parentOrParents:j,_unsubscribe:Y,_subscriptions:ce}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,j instanceof Z)j.remove(this);else if(null!==j)for(let ye=0;ye<j.length;++ye)j[ye].remove(this);if((0,K.m)(Y))try{Y.call(this)}catch(ye){we=ye instanceof q?re(ye.errors):[ye]}if((0,l.k)(ce)){let ye=-1,je=ce.length;for(;++ye<je;){const ke=ce[ye];if((0,v.K)(ke))try{ke.unsubscribe()}catch(Ge){we=we||[],Ge instanceof q?we=we.concat(re(Ge.errors)):we.push(Ge)}}}if(we)throw new q(we)}add(we){let j=we;if(!we)return Z.EMPTY;switch(typeof we){case"function":j=new Z(we);case"object":if(j===this||j.closed||"function"!=typeof j.unsubscribe)return j;if(this.closed)return j.unsubscribe(),j;if(!(j instanceof Z)){const ye=j;j=new Z,j._subscriptions=[ye]}break;default:throw new Error("unrecognized teardown "+we+" added to Subscription.")}let{_parentOrParents:Y}=j;if(null===Y)j._parentOrParents=this;else if(Y instanceof Z){if(Y===this)return j;j._parentOrParents=[Y,this]}else{if(-1!==Y.indexOf(this))return j;Y.push(this)}const ce=this._subscriptions;return null===ce?this._subscriptions=[j]:ce.push(j),j}remove(we){const j=this._subscriptions;if(j){const Y=j.indexOf(we);-1!==Y&&j.splice(Y,1)}}}var oe;function re(oe){return oe.reduce((we,j)=>we.concat(j instanceof q?j.errors:j),[])}Z.EMPTY=((oe=new Z).closed=!0,oe)},2830:(Me,Q,x)=>{"use strict";x.d(Q,{v:()=>v});let l=!1;const v={Promise:void 0,set useDeprecatedSynchronousErrorHandling(K){if(K){const z=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+z.stack)}else l&&console.log("RxJS: Back to a better error behavior. Thank you. <3");l=K},get useDeprecatedSynchronousErrorHandling(){return l}}},1762:(Me,Q,x)=>{"use strict";x.d(Q,{N:()=>Z,c:()=>q});var l=x(5529),v=x(2916),K=x(2654),z=x(4327);class q extends v.y{constructor(Y,ce){super(),this.source=Y,this.subjectFactory=ce,this._refCount=0,this._isComplete=!1}_subscribe(Y){return this.getSubject().subscribe(Y)}getSubject(){const Y=this._subject;return(!Y||Y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let Y=this._connection;return Y||(this._isComplete=!1,Y=this._connection=new K.w,Y.add(this.source.subscribe(new re(this.getSubject(),this))),Y.closed&&(this._connection=null,Y=K.w.EMPTY)),Y}refCount(){return(0,z.x)()(this)}}const Z=(()=>{const j=q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:j._subscribe},_isComplete:{value:j._isComplete,writable:!0},getSubject:{value:j.getSubject},connect:{value:j.connect},refCount:{value:j.refCount}}})();class re extends l.Yc{constructor(Y,ce){super(Y),this.connectable=ce}_error(Y){this._unsubscribe(),super._error(Y)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const Y=this.connectable;if(Y){this.connectable=null;const ce=Y._connection;Y._refCount=0,Y._subject=null,Y._connection=null,ce&&ce.unsubscribe()}}}},8896:(Me,Q,x)=>{"use strict";x.d(Q,{E:()=>v,c:()=>K});var l=x(2916);const v=new l.y(q=>q.complete());function K(q){return q?function z(q){return new l.y(Z=>q.schedule(()=>Z.complete()))}(q):v}},5254:(Me,Q,x)=>{"use strict";x.d(Q,{D:()=>ke});var l=x(2916),v=x(9249),K=x(2654),z=x(3821),re=x(6454),oe=x(5430),Y=x(8955),ce=x(8515);function ke(Ge,Ze){return Ze?function je(Ge,Ze){if(null!=Ge){if(function j(Ge){return Ge&&"function"==typeof Ge[z.L]}(Ge))return function q(Ge,Ze){return new l.y(Jt=>{const ht=new K.w;return ht.add(Ze.schedule(()=>{const qe=Ge[z.L]();ht.add(qe.subscribe({next(ct){ht.add(Ze.schedule(()=>Jt.next(ct)))},error(ct){ht.add(Ze.schedule(()=>Jt.error(ct)))},complete(){ht.add(Ze.schedule(()=>Jt.complete()))}}))})),ht})}(Ge,Ze);if((0,Y.t)(Ge))return function Z(Ge,Ze){return new l.y(Jt=>{const ht=new K.w;return ht.add(Ze.schedule(()=>Ge.then(qe=>{ht.add(Ze.schedule(()=>{Jt.next(qe),ht.add(Ze.schedule(()=>Jt.complete()))}))},qe=>{ht.add(Ze.schedule(()=>Jt.error(qe)))}))),ht})}(Ge,Ze);if((0,ce.z)(Ge))return(0,re.r)(Ge,Ze);if(function ye(Ge){return Ge&&"function"==typeof Ge[oe.hZ]}(Ge)||"string"==typeof Ge)return function we(Ge,Ze){if(!Ge)throw new Error("Iterable cannot be null");return new l.y(Jt=>{const ht=new K.w;let qe;return ht.add(()=>{qe&&"function"==typeof qe.return&&qe.return()}),ht.add(Ze.schedule(()=>{qe=Ge[oe.hZ](),ht.add(Ze.schedule(function(){if(Jt.closed)return;let ct,Le;try{const _t=qe.next();ct=_t.value,Le=_t.done}catch(_t){return void Jt.error(_t)}Le?Jt.complete():(Jt.next(ct),this.schedule())}))})),ht})}(Ge,Ze)}throw new TypeError((null!==Ge&&typeof Ge||Ge)+" is not observable")}(Ge,Ze):Ge instanceof l.y?Ge:new l.y((0,v.s)(Ge))}},3009:(Me,Q,x)=>{"use strict";x.d(Q,{n:()=>z});var l=x(2916),v=x(3650),K=x(6454);function z(q,Z){return Z?(0,K.r)(q,Z):new l.y((0,v.V)(q))}},6787:(Me,Q,x)=>{"use strict";x.d(Q,{T:()=>q});var l=x(2916),v=x(2866),K=x(9146),z=x(3009);function q(...Z){let re=Number.POSITIVE_INFINITY,oe=null,we=Z[Z.length-1];return(0,v.K)(we)?(oe=Z.pop(),Z.length>1&&"number"==typeof Z[Z.length-1]&&(re=Z.pop())):"number"==typeof we&&(re=Z.pop()),null===oe&&1===Z.length&&Z[0]instanceof l.y?Z[0]:(0,K.J)(re)((0,z.n)(Z,oe))}},1086:(Me,Q,x)=>{"use strict";x.d(Q,{of:()=>z});var l=x(2866),v=x(3009),K=x(6454);function z(...q){let Z=q[q.length-1];return(0,l.K)(Z)?(q.pop(),(0,K.r)(q,Z)):(0,v.n)(q)}},1406:(Me,Q,x)=>{"use strict";x.d(Q,{b:()=>v});var l=x(1709);function v(K,z){return(0,l.zg)(K,z,1)}},2198:(Me,Q,x)=>{"use strict";x.d(Q,{h:()=>v});var l=x(3489);function v(q,Z){return function(oe){return oe.lift(new K(q,Z))}}class K{constructor(Z,re){this.predicate=Z,this.thisArg=re}call(Z,re){return re.subscribe(new z(Z,this.predicate,this.thisArg))}}class z extends l.L{constructor(Z,re,oe){super(Z),this.predicate=re,this.thisArg=oe,this.count=0}_next(Z){let re;try{re=this.predicate.call(this.thisArg,Z,this.count++)}catch(oe){return void this.destination.error(oe)}re&&this.destination.next(Z)}}},537:(Me,Q,x)=>{"use strict";x.d(Q,{x:()=>K});var l=x(3489),v=x(2654);function K(Z){return re=>re.lift(new z(Z))}class z{constructor(re){this.callback=re}call(re,oe){return oe.subscribe(new q(re,this.callback))}}class q extends l.L{constructor(re,oe){super(re),this.add(new v.w(oe))}}},4850:(Me,Q,x)=>{"use strict";x.d(Q,{U:()=>v});var l=x(3489);function v(q,Z){return function(oe){if("function"!=typeof q)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return oe.lift(new K(q,Z))}}class K{constructor(Z,re){this.project=Z,this.thisArg=re}call(Z,re){return re.subscribe(new z(Z,this.project,this.thisArg))}}class z extends l.L{constructor(Z,re,oe){super(Z),this.project=re,this.count=0,this.thisArg=oe||this}_next(Z){let re;try{re=this.project.call(this.thisArg,Z,this.count++)}catch(oe){return void this.destination.error(oe)}this.destination.next(re)}}},9146:(Me,Q,x)=>{"use strict";x.d(Q,{J:()=>K});var l=x(1709),v=x(5379);function K(z=Number.POSITIVE_INFINITY){return(0,l.zg)(v.y,z)}},1709:(Me,Q,x)=>{"use strict";x.d(Q,{zg:()=>Z});var l=x(9054),v=x(826),K=x(1869),z=x(4850),q=x(5254);function Z(we,j,Y=Number.POSITIVE_INFINITY){return"function"==typeof j?ce=>ce.pipe(Z((ye,je)=>(0,q.D)(we(ye,je)).pipe((0,z.U)((ke,Ge)=>j(ye,ke,je,Ge))),Y)):("number"==typeof j&&(Y=j),ce=>ce.lift(new re(we,Y)))}class re{constructor(j,Y=Number.POSITIVE_INFINITY){this.project=j,this.concurrent=Y}call(j,Y){return Y.subscribe(new oe(j,this.project,this.concurrent))}}class oe extends v.L{constructor(j,Y,ce=Number.POSITIVE_INFINITY){super(j),this.project=Y,this.concurrent=ce,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(j){this.active<this.concurrent?this._tryNext(j):this.buffer.push(j)}_tryNext(j){let Y;const ce=this.index++;try{Y=this.project(j,ce)}catch(ye){return void this.destination.error(ye)}this.active++,this._innerSub(Y,j,ce)}_innerSub(j,Y,ce){const ye=new K.d(this,Y,ce),je=this.destination;je.add(ye);const ke=(0,l.D)(this,j,void 0,void 0,ye);ke!==ye&&je.add(ke)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(j,Y,ce,ye,je){this.destination.next(Y)}notifyComplete(j){const Y=this.buffer;this.remove(j),this.active--,Y.length>0?this._next(Y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Me,Q,x)=>{"use strict";x.d(Q,{x:()=>v});var l=x(3489);function v(){return function(Z){return Z.lift(new K(Z))}}class K{constructor(Z){this.connectable=Z}call(Z,re){const{connectable:oe}=this;oe._refCount++;const we=new z(Z,oe),j=re.subscribe(we);return we.closed||(we.connection=oe.connect()),j}}class z extends l.L{constructor(Z,re){super(Z),this.connectable=re}_unsubscribe(){const{connectable:Z}=this;if(!Z)return void(this.connection=null);this.connectable=null;const re=Z._refCount;if(re<=0)return void(this.connection=null);if(Z._refCount=re-1,re>1)return void(this.connection=null);const{connection:oe}=this,we=Z._connection;this.connection=null,we&&(!oe||we===oe)&&we.unsubscribe()}}},2986:(Me,Q,x)=>{"use strict";x.d(Q,{q:()=>z});var l=x(3489),v=x(4231),K=x(8896);function z(re){return oe=>0===re?(0,K.c)():oe.lift(new q(re))}class q{constructor(oe){if(this.total=oe,this.total<0)throw new v.W}call(oe,we){return we.subscribe(new Z(oe,this.total))}}class Z extends l.L{constructor(oe,we){super(oe),this.total=we,this.count=0}_next(oe){const we=this.total,j=++this.count;j<=we&&(this.destination.next(oe),j===we&&(this.destination.complete(),this.unsubscribe()))}}},6454:(Me,Q,x)=>{"use strict";x.d(Q,{r:()=>K});var l=x(2916),v=x(2654);function K(z,q){return new l.y(Z=>{const re=new v.w;let oe=0;return re.add(q.schedule(function(){oe!==z.length?(Z.next(z[oe++]),Z.closed||re.add(this.schedule())):Z.complete()})),re})}},6686:(Me,Q,x)=>{"use strict";x.d(Q,{o:()=>K});var l=x(2654);class v extends l.w{constructor(q,Z){super()}schedule(q,Z=0){return this}}class K extends v{constructor(q,Z){super(q,Z),this.scheduler=q,this.work=Z,this.pending=!1}schedule(q,Z=0){if(this.closed)return this;this.state=q;const re=this.id,oe=this.scheduler;return null!=re&&(this.id=this.recycleAsyncId(oe,re,Z)),this.pending=!0,this.delay=Z,this.id=this.id||this.requestAsyncId(oe,this.id,Z),this}requestAsyncId(q,Z,re=0){return setInterval(q.flush.bind(q,this),re)}recycleAsyncId(q,Z,re=0){if(null!==re&&this.delay===re&&!1===this.pending)return Z;clearInterval(Z)}execute(q,Z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const re=this._execute(q,Z);if(re)return re;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,Z){let oe,re=!1;try{this.work(q)}catch(we){re=!0,oe=!!we&&we||new Error(we)}if(re)return this.unsubscribe(),oe}_unsubscribe(){const q=this.id,Z=this.scheduler,re=Z.actions,oe=re.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==oe&&re.splice(oe,1),null!=q&&(this.id=this.recycleAsyncId(Z,q,null)),this.delay=null}}},2268:(Me,Q,x)=>{"use strict";x.d(Q,{v:()=>v});let l=(()=>{class K{constructor(q,Z=K.now){this.SchedulerAction=q,this.now=Z}schedule(q,Z=0,re){return new this.SchedulerAction(this,q).schedule(re,Z)}}return K.now=()=>Date.now(),K})();class v extends l{constructor(z,q=l.now){super(z,()=>v.delegate&&v.delegate!==this?v.delegate.now():q()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(z,q=0,Z){return v.delegate&&v.delegate!==this?v.delegate.schedule(z,q,Z):super.schedule(z,q,Z)}flush(z){const{actions:q}=this;if(this.active)return void q.push(z);let Z;this.active=!0;do{if(Z=z.execute(z.state,z.delay))break}while(z=q.shift());if(this.active=!1,Z){for(;z=q.shift();)z.unsubscribe();throw Z}}}},5430:(Me,Q,x)=>{"use strict";x.d(Q,{hZ:()=>v});const v=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Me,Q,x)=>{"use strict";x.d(Q,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Me,Q,x)=>{"use strict";x.d(Q,{b:()=>l});const l="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Me,Q,x)=>{"use strict";x.d(Q,{W:()=>v});const v=(()=>{function K(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return K.prototype=Object.create(Error.prototype),K})()},5279:(Me,Q,x)=>{"use strict";x.d(Q,{N:()=>v});const v=(()=>{function K(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return K.prototype=Object.create(Error.prototype),K})()},2782:(Me,Q,x)=>{"use strict";function l(v){setTimeout(()=>{throw v},0)}x.d(Q,{z:()=>l})},5379:(Me,Q,x)=>{"use strict";function l(v){return v}x.d(Q,{y:()=>l})},6688:(Me,Q,x)=>{"use strict";x.d(Q,{k:()=>l});const l=Array.isArray||(v=>v&&"number"==typeof v.length)},8515:(Me,Q,x)=>{"use strict";x.d(Q,{z:()=>l});const l=v=>v&&"number"==typeof v.length&&"function"!=typeof v},7043:(Me,Q,x)=>{"use strict";function l(v){return"function"==typeof v}x.d(Q,{m:()=>l})},7830:(Me,Q,x)=>{"use strict";function l(v){return null!==v&&"object"==typeof v}x.d(Q,{K:()=>l})},8955:(Me,Q,x)=>{"use strict";function l(v){return!!v&&"function"!=typeof v.subscribe&&"function"==typeof v.then}x.d(Q,{t:()=>l})},2866:(Me,Q,x)=>{"use strict";function l(v){return v&&"function"==typeof v.schedule}x.d(Q,{K:()=>l})},9249:(Me,Q,x)=>{"use strict";x.d(Q,{s:()=>Y});var l=x(3650),v=x(2782),z=x(5430),Z=x(3821),oe=x(8515),we=x(8955),j=x(7830);const Y=ce=>{if(ce&&"function"==typeof ce[Z.L])return(ce=>ye=>{const je=ce[Z.L]();if("function"!=typeof je.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return je.subscribe(ye)})(ce);if((0,oe.z)(ce))return(0,l.V)(ce);if((0,we.t)(ce))return(ce=>ye=>(ce.then(je=>{ye.closed||(ye.next(je),ye.complete())},je=>ye.error(je)).then(null,v.z),ye))(ce);if(ce&&"function"==typeof ce[z.hZ])return(ce=>ye=>{const je=ce[z.hZ]();for(;;){const ke=je.next();if(ke.done){ye.complete();break}if(ye.next(ke.value),ye.closed)break}return"function"==typeof je.return&&ye.add(()=>{je.return&&je.return()}),ye})(ce);{const je=`You provided ${(0,j.K)(ce)?"an invalid object":`'${ce}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(je)}}},3650:(Me,Q,x)=>{"use strict";x.d(Q,{V:()=>l});const l=v=>K=>{for(let z=0,q=v.length;z<q&&!K.closed;z++)K.next(v[z]);K.complete()}},9054:(Me,Q,x)=>{"use strict";x.d(Q,{D:()=>z});var l=x(1869),v=x(9249),K=x(2916);function z(q,Z,re,oe,we=new l.d(q,re,oe)){if(!we.closed)return Z instanceof K.y?Z.subscribe(we):(0,v.s)(Z)(we)}},8583:()=>{"use strict";!function(le){const me=le.performance;function ne(Tt){me&&me.mark&&me.mark(Tt)}function H(Tt,yt){me&&me.measure&&me.measure(Tt,yt)}ne("Zone");const $=le.__Zone_symbol_prefix||"__zone_symbol__";function Ce(Tt){return $+Tt}const be=!0===le[Ce("forceDuplicateZoneCheck")];if(le.Zone){if(be||"function"!=typeof le.Zone.__symbol__)throw new Error("Zone already loaded.");return le.Zone}let Se=(()=>{class Tt{constructor(ue,De){this._parent=ue,this._name=De?De.name||"unnamed":"<root>",this._properties=De&&De.properties||{},this._zoneDelegate=new mt(this,this._parent&&this._parent._zoneDelegate,De)}static assertZonePatched(){if(le.Promise!==Ie.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 ue=Tt.current;for(;ue.parent;)ue=ue.parent;return ue}static get current(){return J.zone}static get currentTask(){return Re}static __load_patch(ue,De,wt=!1){if(Ie.hasOwnProperty(ue)){if(!wt&&be)throw Error("Already loaded patch: "+ue)}else if(!le["__Zone_disable_"+ue]){const qt="Zone:"+ue;ne(qt),Ie[ue]=De(le,Tt,pe),H(qt,qt)}}get parent(){return this._parent}get name(){return this._name}get(ue){const De=this.getZoneWith(ue);if(De)return De._properties[ue]}getZoneWith(ue){let De=this;for(;De;){if(De._properties.hasOwnProperty(ue))return De;De=De._parent}return null}fork(ue){if(!ue)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,ue)}wrap(ue,De){if("function"!=typeof ue)throw new Error("Expecting function got: "+ue);const wt=this._zoneDelegate.intercept(this,ue,De),qt=this;return function(){return qt.runGuarded(wt,this,arguments,De)}}run(ue,De,wt,qt){J={parent:J,zone:this};try{return this._zoneDelegate.invoke(this,ue,De,wt,qt)}finally{J=J.parent}}runGuarded(ue,De=null,wt,qt){J={parent:J,zone:this};try{try{return this._zoneDelegate.invoke(this,ue,De,wt,qt)}catch(In){if(this._zoneDelegate.handleError(this,In))throw In}}finally{J=J.parent}}runTask(ue,De,wt){if(ue.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(ue.zone||Wt).name+"; Execution: "+this.name+")");if(ue.state===Cn&&(ue.type===ir||ue.type===$t))return;const qt=ue.state!=Rt;qt&&ue._transitionTo(Rt,xn),ue.runCount++;const In=Re;Re=ue,J={parent:J,zone:this};try{ue.type==$t&&ue.data&&!ue.data.isPeriodic&&(ue.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ue,De,wt)}catch(Ae){if(this._zoneDelegate.handleError(this,Ae))throw Ae}}finally{ue.state!==Cn&&ue.state!==tt&&(ue.type==ir||ue.data&&ue.data.isPeriodic?qt&&ue._transitionTo(xn,Rt):(ue.runCount=0,this._updateTaskCount(ue,-1),qt&&ue._transitionTo(Cn,Rt,Cn))),J=J.parent,Re=In}}scheduleTask(ue){if(ue.zone&&ue.zone!==this){let wt=this;for(;wt;){if(wt===ue.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${ue.zone.name}`);wt=wt.parent}}ue._transitionTo(Un,Cn);const De=[];ue._zoneDelegates=De,ue._zone=this;try{ue=this._zoneDelegate.scheduleTask(this,ue)}catch(wt){throw ue._transitionTo(tt,Un,Cn),this._zoneDelegate.handleError(this,wt),wt}return ue._zoneDelegates===De&&this._updateTaskCount(ue,1),ue.state==Un&&ue._transitionTo(xn,Un),ue}scheduleMicroTask(ue,De,wt,qt){return this.scheduleTask(new it(mn,ue,De,wt,qt,void 0))}scheduleMacroTask(ue,De,wt,qt,In){return this.scheduleTask(new it($t,ue,De,wt,qt,In))}scheduleEventTask(ue,De,wt,qt,In){return this.scheduleTask(new it(ir,ue,De,wt,qt,In))}cancelTask(ue){if(ue.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(ue.zone||Wt).name+"; Execution: "+this.name+")");ue._transitionTo(Dn,xn,Rt);try{this._zoneDelegate.cancelTask(this,ue)}catch(De){throw ue._transitionTo(tt,Dn),this._zoneDelegate.handleError(this,De),De}return this._updateTaskCount(ue,-1),ue._transitionTo(Cn,Dn),ue.runCount=0,ue}_updateTaskCount(ue,De){const wt=ue._zoneDelegates;-1==De&&(ue._zoneDelegates=null);for(let qt=0;qt<wt.length;qt++)wt[qt]._updateTaskCount(ue.type,De)}}return Tt.__symbol__=Ce,Tt})();const $e={name:"",onHasTask:(Tt,yt,ue,De)=>Tt.hasTask(ue,De),onScheduleTask:(Tt,yt,ue,De)=>Tt.scheduleTask(ue,De),onInvokeTask:(Tt,yt,ue,De,wt,qt)=>Tt.invokeTask(ue,De,wt,qt),onCancelTask:(Tt,yt,ue,De)=>Tt.cancelTask(ue,De)};class mt{constructor(yt,ue,De){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=yt,this._parentDelegate=ue,this._forkZS=De&&(De&&De.onFork?De:ue._forkZS),this._forkDlgt=De&&(De.onFork?ue:ue._forkDlgt),this._forkCurrZone=De&&(De.onFork?this.zone:ue._forkCurrZone),this._interceptZS=De&&(De.onIntercept?De:ue._interceptZS),this._interceptDlgt=De&&(De.onIntercept?ue:ue._interceptDlgt),this._interceptCurrZone=De&&(De.onIntercept?this.zone:ue._interceptCurrZone),this._invokeZS=De&&(De.onInvoke?De:ue._invokeZS),this._invokeDlgt=De&&(De.onInvoke?ue:ue._invokeDlgt),this._invokeCurrZone=De&&(De.onInvoke?this.zone:ue._invokeCurrZone),this._handleErrorZS=De&&(De.onHandleError?De:ue._handleErrorZS),this._handleErrorDlgt=De&&(De.onHandleError?ue:ue._handleErrorDlgt),this._handleErrorCurrZone=De&&(De.onHandleError?this.zone:ue._handleErrorCurrZone),this._scheduleTaskZS=De&&(De.onScheduleTask?De:ue._scheduleTaskZS),this._scheduleTaskDlgt=De&&(De.onScheduleTask?ue:ue._scheduleTaskDlgt),this._scheduleTaskCurrZone=De&&(De.onScheduleTask?this.zone:ue._scheduleTaskCurrZone),this._invokeTaskZS=De&&(De.onInvokeTask?De:ue._invokeTaskZS),this._invokeTaskDlgt=De&&(De.onInvokeTask?ue:ue._invokeTaskDlgt),this._invokeTaskCurrZone=De&&(De.onInvokeTask?this.zone:ue._invokeTaskCurrZone),this._cancelTaskZS=De&&(De.onCancelTask?De:ue._cancelTaskZS),this._cancelTaskDlgt=De&&(De.onCancelTask?ue:ue._cancelTaskDlgt),this._cancelTaskCurrZone=De&&(De.onCancelTask?this.zone:ue._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const wt=De&&De.onHasTask;(wt||ue&&ue._hasTaskZS)&&(this._hasTaskZS=wt?De:$e,this._hasTaskDlgt=ue,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=yt,De.onScheduleTask||(this._scheduleTaskZS=$e,this._scheduleTaskDlgt=ue,this._scheduleTaskCurrZone=this.zone),De.onInvokeTask||(this._invokeTaskZS=$e,this._invokeTaskDlgt=ue,this._invokeTaskCurrZone=this.zone),De.onCancelTask||(this._cancelTaskZS=$e,this._cancelTaskDlgt=ue,this._cancelTaskCurrZone=this.zone))}fork(yt,ue){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,yt,ue):new Se(yt,ue)}intercept(yt,ue,De){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,yt,ue,De):ue}invoke(yt,ue,De,wt,qt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,yt,ue,De,wt,qt):ue.apply(De,wt)}handleError(yt,ue){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,yt,ue)}scheduleTask(yt,ue){let De=ue;if(this._scheduleTaskZS)this._hasTaskZS&&De._zoneDelegates.push(this._hasTaskDlgtOwner),De=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,yt,ue),De||(De=ue);else if(ue.scheduleFn)ue.scheduleFn(ue);else{if(ue.type!=mn)throw new Error("Task is missing scheduleFn.");Qt(ue)}return De}invokeTask(yt,ue,De,wt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,yt,ue,De,wt):ue.callback.apply(De,wt)}cancelTask(yt,ue){let De;if(this._cancelTaskZS)De=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,yt,ue);else{if(!ue.cancelFn)throw Error("Task is not cancelable");De=ue.cancelFn(ue)}return De}hasTask(yt,ue){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,yt,ue)}catch(De){this.handleError(yt,De)}}_updateTaskCount(yt,ue){const De=this._taskCounts,wt=De[yt],qt=De[yt]=wt+ue;if(qt<0)throw new Error("More tasks executed then were scheduled.");0!=wt&&0!=qt||this.hasTask(this.zone,{microTask:De.microTask>0,macroTask:De.macroTask>0,eventTask:De.eventTask>0,change:yt})}}class it{constructor(yt,ue,De,wt,qt,In){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=yt,this.source=ue,this.data=wt,this.scheduleFn=qt,this.cancelFn=In,!De)throw new Error("callback is not defined");this.callback=De;const Ae=this;this.invoke=yt===ir&&wt&&wt.useG?it.invokeTask:function(){return it.invokeTask.call(le,Ae,this,arguments)}}static invokeTask(yt,ue,De){yt||(yt=this),We++;try{return yt.runCount++,yt.zone.runTask(yt,ue,De)}finally{1==We&&pt(),We--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Cn,Un)}_transitionTo(yt,ue,De){if(this._state!==ue&&this._state!==De)throw new Error(`${this.type} '${this.source}': can not transition to '${yt}', expecting state '${ue}'${De?" or '"+De+"'":""}, was '${this._state}'.`);this._state=yt,yt==Cn&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const Pt=Ce("setTimeout"),Dt=Ce("Promise"),Mt=Ce("then");let jt,on=[],vt=!1;function Zt(Tt){if(jt||le[Dt]&&(jt=le[Dt].resolve(0)),jt){let yt=jt[Mt];yt||(yt=jt.then),yt.call(jt,Tt)}else le[Pt](Tt,0)}function Qt(Tt){0===We&&0===on.length&&Zt(pt),Tt&&on.push(Tt)}function pt(){if(!vt){for(vt=!0;on.length;){const Tt=on;on=[];for(let yt=0;yt<Tt.length;yt++){const ue=Tt[yt];try{ue.zone.runTask(ue,null,null)}catch(De){pe.onUnhandledError(De)}}}pe.microtaskDrainDone(),vt=!1}}const Wt={name:"NO ZONE"},Cn="notScheduled",Un="scheduling",xn="scheduled",Rt="running",Dn="canceling",tt="unknown",mn="microTask",$t="macroTask",ir="eventTask",Ie={},pe={symbol:Ce,currentZoneFrame:()=>J,onUnhandledError:xt,microtaskDrainDone:xt,scheduleMicroTask:Qt,showUncaughtError:()=>!Se[Ce("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:xt,patchMethod:()=>xt,bindArguments:()=>[],patchThen:()=>xt,patchMacroTask:()=>xt,patchEventPrototype:()=>xt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>xt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>xt,wrapWithCurrentZone:()=>xt,filterProperties:()=>[],attachOriginToPatched:()=>xt,_redefineProperty:()=>xt,patchCallbacks:()=>xt,nativeScheduleMicroTask:Zt};let J={parent:null,zone:new Se(null,null)},Re=null,We=0;function xt(){}H("Zone","Zone"),le.Zone=Se}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Me=Object.getOwnPropertyDescriptor,Q=Object.defineProperty,x=Object.getPrototypeOf,l=Object.create,v=Array.prototype.slice,K="addEventListener",z="removeEventListener",q=Zone.__symbol__(K),Z=Zone.__symbol__(z),re="true",oe="false",we=Zone.__symbol__("");function j(le,me){return Zone.current.wrap(le,me)}function Y(le,me,ne,H,$){return Zone.current.scheduleMacroTask(le,me,ne,H,$)}const ce=Zone.__symbol__,ye=typeof window<"u",je=ye?window:void 0,ke=ye&&je||"object"==typeof self&&self||global;function Ze(le,me){for(let ne=le.length-1;ne>=0;ne--)"function"==typeof le[ne]&&(le[ne]=j(le[ne],me+"_"+ne));return le}function ht(le){return!le||!1!==le.writable&&!("function"==typeof le.get&&typeof le.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,ct=!("nw"in ke)&&typeof ke.process<"u"&&"[object process]"==={}.toString.call(ke.process),Le=!ct&&!qe&&!(!ye||!je.HTMLElement),_t=typeof ke.process<"u"&&"[object process]"==={}.toString.call(ke.process)&&!qe&&!(!ye||!je.HTMLElement),rn={},Rn=function(le){if(!(le=le||ke.event))return;let me=rn[le.type];me||(me=rn[le.type]=ce("ON_PROPERTY"+le.type));const ne=this||le.target||ke,H=ne[me];let $;if(Le&&ne===je&&"error"===le.type){const Ce=le;$=H&&H.call(this,Ce.message,Ce.filename,Ce.lineno,Ce.colno,Ce.error),!0===$&&le.preventDefault()}else $=H&&H.apply(this,arguments),null!=$&&!$&&le.preventDefault();return $};function gn(le,me,ne){let H=Me(le,me);if(!H&&ne&&Me(ne,me)&&(H={enumerable:!0,configurable:!0}),!H||!H.configurable)return;const $=ce("on"+me+"patched");if(le.hasOwnProperty($)&&le[$])return;delete H.writable,delete H.value;const Ce=H.get,be=H.set,Se=me.slice(2);let $e=rn[Se];$e||($e=rn[Se]=ce("ON_PROPERTY"+Se)),H.set=function(mt){let it=this;!it&&le===ke&&(it=ke),it&&("function"==typeof it[$e]&&it.removeEventListener(Se,Rn),be&&be.call(it,null),it[$e]=mt,"function"==typeof mt&&it.addEventListener(Se,Rn,!1))},H.get=function(){let mt=this;if(!mt&&le===ke&&(mt=ke),!mt)return null;const it=mt[$e];if(it)return it;if(Ce){let Pt=Ce.call(this);if(Pt)return H.set.call(this,Pt),"function"==typeof mt.removeAttribute&&mt.removeAttribute(me),Pt}return null},Q(le,me,H),le[$]=!0}function dn(le,me,ne){if(me)for(let H=0;H<me.length;H++)gn(le,"on"+me[H],ne);else{const H=[];for(const $ in le)"on"==$.slice(0,2)&&H.push($);for(let $=0;$<H.length;$++)gn(le,H[$],ne)}}const Gt=ce("originalInstance");function gt(le){const me=ke[le];if(!me)return;ke[ce(le)]=me,ke[le]=function(){const $=Ze(arguments,le);switch($.length){case 0:this[Gt]=new me;break;case 1:this[Gt]=new me($[0]);break;case 2:this[Gt]=new me($[0],$[1]);break;case 3:this[Gt]=new me($[0],$[1],$[2]);break;case 4:this[Gt]=new me($[0],$[1],$[2],$[3]);break;default:throw new Error("Arg list too long.")}},Fe(ke[le],me);const ne=new me(function(){});let H;for(H in ne)"XMLHttpRequest"===le&&"responseBlob"===H||function($){"function"==typeof ne[$]?ke[le].prototype[$]=function(){return this[Gt][$].apply(this[Gt],arguments)}:Q(ke[le].prototype,$,{set:function(Ce){"function"==typeof Ce?(this[Gt][$]=j(Ce,le+"."+$),Fe(this[Gt][$],Ce)):this[Gt][$]=Ce},get:function(){return this[Gt][$]}})}(H);for(H in me)"prototype"!==H&&me.hasOwnProperty(H)&&(ke[le][H]=me[H])}function ie(le,me,ne){let H=le;for(;H&&!H.hasOwnProperty(me);)H=x(H);!H&&le[me]&&(H=le);const $=ce(me);let Ce=null;if(H&&(!(Ce=H[$])||!H.hasOwnProperty($))&&(Ce=H[$]=H[me],ht(H&&Me(H,me)))){const Se=ne(Ce,$,me);H[me]=function(){return Se(this,arguments)},Fe(H[me],Ce)}return Ce}function Oe(le,me,ne){let H=null;function $(Ce){const be=Ce.data;return be.args[be.cbIdx]=function(){Ce.invoke.apply(this,arguments)},H.apply(be.target,be.args),Ce}H=ie(le,me,Ce=>function(be,Se){const $e=ne(be,Se);return $e.cbIdx>=0&&"function"==typeof Se[$e.cbIdx]?Y($e.name,Se[$e.cbIdx],$e,$):Ce.apply(be,Se)})}function Fe(le,me){le[ce("OriginalDelegate")]=me}let Vt=!1,Yt=!1;function Yr(){if(Vt)return Yt;Vt=!0;try{const le=je.navigator.userAgent;(-1!==le.indexOf("MSIE ")||-1!==le.indexOf("Trident/")||-1!==le.indexOf("Edge/"))&&(Yt=!0)}catch{}return Yt}Zone.__load_patch("ZoneAwarePromise",(le,me,ne)=>{const H=Object.getOwnPropertyDescriptor,$=Object.defineProperty,be=ne.symbol,Se=[],$e=!0===le[be("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],mt=be("Promise"),it=be("then");ne.onUnhandledError=Ae=>{if(ne.showUncaughtError()){const Qe=Ae&&Ae.rejection;Qe?console.error("Unhandled Promise rejection:",Qe instanceof Error?Qe.message:Qe,"; Zone:",Ae.zone.name,"; Task:",Ae.task&&Ae.task.source,"; Value:",Qe,Qe instanceof Error?Qe.stack:void 0):console.error(Ae)}},ne.microtaskDrainDone=()=>{for(;Se.length;){const Ae=Se.shift();try{Ae.zone.runGuarded(()=>{throw Ae.throwOriginal?Ae.rejection:Ae})}catch(Qe){Mt(Qe)}}};const Dt=be("unhandledPromiseRejectionHandler");function Mt(Ae){ne.onUnhandledError(Ae);try{const Qe=me[Dt];"function"==typeof Qe&&Qe.call(this,Ae)}catch{}}function on(Ae){return Ae&&Ae.then}function vt(Ae){return Ae}function jt(Ae){return ue.reject(Ae)}const Zt=be("state"),Qt=be("value"),pt=be("finally"),Wt=be("parentPromiseValue"),Cn=be("parentPromiseState"),xn=null,Dn=!1;function mn(Ae,Qe){return Ve=>{try{pe(Ae,Qe,Ve)}catch(ft){pe(Ae,!1,ft)}}}const $t=function(){let Ae=!1;return function(Ve){return function(){Ae||(Ae=!0,Ve.apply(null,arguments))}}},Ie=be("currentTaskTrace");function pe(Ae,Qe,Ve){const ft=$t();if(Ae===Ve)throw new TypeError("Promise resolved with itself");if(Ae[Zt]===xn){let Lt=null;try{("object"==typeof Ve||"function"==typeof Ve)&&(Lt=Ve&&Ve.then)}catch(Nt){return ft(()=>{pe(Ae,!1,Nt)})(),Ae}if(Qe!==Dn&&Ve instanceof ue&&Ve.hasOwnProperty(Zt)&&Ve.hasOwnProperty(Qt)&&Ve[Zt]!==xn)Re(Ve),pe(Ae,Ve[Zt],Ve[Qt]);else if(Qe!==Dn&&"function"==typeof Lt)try{Lt.call(Ve,ft(mn(Ae,Qe)),ft(mn(Ae,!1)))}catch(Nt){ft(()=>{pe(Ae,!1,Nt)})()}else{Ae[Zt]=Qe;const Nt=Ae[Qt];if(Ae[Qt]=Ve,Ae[pt]===pt&&!0===Qe&&(Ae[Zt]=Ae[Cn],Ae[Qt]=Ae[Wt]),Qe===Dn&&Ve instanceof Error){const Ft=me.currentTask&&me.currentTask.data&&me.currentTask.data.__creationTrace__;Ft&&$(Ve,Ie,{configurable:!0,enumerable:!1,writable:!0,value:Ft})}for(let Ft=0;Ft<Nt.length;)We(Ae,Nt[Ft++],Nt[Ft++],Nt[Ft++],Nt[Ft++]);if(0==Nt.length&&Qe==Dn){Ae[Zt]=0;let Ft=Ve;try{throw new Error("Uncaught (in promise): "+function Ce(Ae){return Ae&&Ae.toString===Object.prototype.toString?(Ae.constructor&&Ae.constructor.name||"")+": "+JSON.stringify(Ae):Ae?Ae.toString():Object.prototype.toString.call(Ae)}(Ve)+(Ve&&Ve.stack?"\n"+Ve.stack:""))}catch(It){Ft=It}$e&&(Ft.throwOriginal=!0),Ft.rejection=Ve,Ft.promise=Ae,Ft.zone=me.current,Ft.task=me.currentTask,Se.push(Ft),ne.scheduleMicroTask()}}}return Ae}const J=be("rejectionHandledHandler");function Re(Ae){if(0===Ae[Zt]){try{const Qe=me[J];Qe&&"function"==typeof Qe&&Qe.call(this,{rejection:Ae[Qt],promise:Ae})}catch{}Ae[Zt]=Dn;for(let Qe=0;Qe<Se.length;Qe++)Ae===Se[Qe].promise&&Se.splice(Qe,1)}}function We(Ae,Qe,Ve,ft,Lt){Re(Ae);const Nt=Ae[Zt],Ft=Nt?"function"==typeof ft?ft:vt:"function"==typeof Lt?Lt:jt;Qe.scheduleMicroTask("Promise.then",()=>{try{const It=Ae[Qt],Xt=!!Ve&&pt===Ve[pt];Xt&&(Ve[Wt]=It,Ve[Cn]=Nt);const Ct=Qe.run(Ft,void 0,Xt&&Ft!==jt&&Ft!==vt?[]:[It]);pe(Ve,!0,Ct)}catch(It){pe(Ve,!1,It)}},Ve)}const Tt=function(){},yt=le.AggregateError;class ue{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Qe){return pe(new this(null),!0,Qe)}static reject(Qe){return pe(new this(null),Dn,Qe)}static any(Qe){if(!Qe||"function"!=typeof Qe[Symbol.iterator])return Promise.reject(new yt([],"All promises were rejected"));const Ve=[];let ft=0;try{for(let Ft of Qe)ft++,Ve.push(ue.resolve(Ft))}catch{return Promise.reject(new yt([],"All promises were rejected"))}if(0===ft)return Promise.reject(new yt([],"All promises were rejected"));let Lt=!1;const Nt=[];return new ue((Ft,It)=>{for(let Xt=0;Xt<Ve.length;Xt++)Ve[Xt].then(Ct=>{Lt||(Lt=!0,Ft(Ct))},Ct=>{Nt.push(Ct),ft--,0===ft&&(Lt=!0,It(new yt(Nt,"All promises were rejected")))})})}static race(Qe){let Ve,ft,Lt=new this((It,Xt)=>{Ve=It,ft=Xt});function Nt(It){Ve(It)}function Ft(It){ft(It)}for(let It of Qe)on(It)||(It=this.resolve(It)),It.then(Nt,Ft);return Lt}static all(Qe){return ue.allWithCallback(Qe)}static allSettled(Qe){return(this&&this.prototype instanceof ue?this:ue).allWithCallback(Qe,{thenCallback:ft=>({status:"fulfilled",value:ft}),errorCallback:ft=>({status:"rejected",reason:ft})})}static allWithCallback(Qe,Ve){let ft,Lt,Nt=new this((Ct,St)=>{ft=Ct,Lt=St}),Ft=2,It=0;const Xt=[];for(let Ct of Qe){on(Ct)||(Ct=this.resolve(Ct));const St=It;try{Ct.then(Mn=>{Xt[St]=Ve?Ve.thenCallback(Mn):Mn,Ft--,0===Ft&&ft(Xt)},Mn=>{Ve?(Xt[St]=Ve.errorCallback(Mn),Ft--,0===Ft&&ft(Xt)):Lt(Mn)})}catch(Mn){Lt(Mn)}Ft++,It++}return Ft-=2,0===Ft&&ft(Xt),Nt}constructor(Qe){const Ve=this;if(!(Ve instanceof ue))throw new Error("Must be an instanceof Promise.");Ve[Zt]=xn,Ve[Qt]=[];try{const ft=$t();Qe&&Qe(ft(mn(Ve,!0)),ft(mn(Ve,Dn)))}catch(ft){pe(Ve,!1,ft)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ue}then(Qe,Ve){var ft;let Lt=null===(ft=this.constructor)||void 0===ft?void 0:ft[Symbol.species];(!Lt||"function"!=typeof Lt)&&(Lt=this.constructor||ue);const Nt=new Lt(Tt),Ft=me.current;return this[Zt]==xn?this[Qt].push(Ft,Nt,Qe,Ve):We(this,Ft,Nt,Qe,Ve),Nt}catch(Qe){return this.then(null,Qe)}finally(Qe){var Ve;let ft=null===(Ve=this.constructor)||void 0===Ve?void 0:Ve[Symbol.species];(!ft||"function"!=typeof ft)&&(ft=ue);const Lt=new ft(Tt);Lt[pt]=pt;const Nt=me.current;return this[Zt]==xn?this[Qt].push(Nt,Lt,Qe,Qe):We(this,Nt,Lt,Qe,Qe),Lt}}ue.resolve=ue.resolve,ue.reject=ue.reject,ue.race=ue.race,ue.all=ue.all;const De=le[mt]=le.Promise;le.Promise=ue;const wt=be("thenPatched");function qt(Ae){const Qe=Ae.prototype,Ve=H(Qe,"then");if(Ve&&(!1===Ve.writable||!Ve.configurable))return;const ft=Qe.then;Qe[it]=ft,Ae.prototype.then=function(Lt,Nt){return new ue((It,Xt)=>{ft.call(this,It,Xt)}).then(Lt,Nt)},Ae[wt]=!0}return ne.patchThen=qt,De&&(qt(De),ie(le,"fetch",Ae=>function In(Ae){return function(Qe,Ve){let ft=Ae.apply(Qe,Ve);if(ft instanceof ue)return ft;let Lt=ft.constructor;return Lt[wt]||qt(Lt),ft}}(Ae))),Promise[me.__symbol__("uncaughtPromiseErrors")]=Se,ue}),Zone.__load_patch("toString",le=>{const me=Function.prototype.toString,ne=ce("OriginalDelegate"),H=ce("Promise"),$=ce("Error"),Ce=function(){if("function"==typeof this){const mt=this[ne];if(mt)return"function"==typeof mt?me.call(mt):Object.prototype.toString.call(mt);if(this===Promise){const it=le[H];if(it)return me.call(it)}if(this===Error){const it=le[$];if(it)return me.call(it)}}return me.call(this)};Ce[ne]=me,Function.prototype.toString=Ce;const be=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":be.call(this)}});let Wn=!1;if(typeof window<"u")try{const le=Object.defineProperty({},"passive",{get:function(){Wn=!0}});window.addEventListener("test",le,le),window.removeEventListener("test",le,le)}catch{Wn=!1}const Zr={useG:!0},Vn={},Xr={},Bn=new RegExp("^"+we+"(\\w+)(true|false)$"),An=ce("propagationStopped");function Qr(le,me){const ne=(me?me(le):le)+oe,H=(me?me(le):le)+re,$=we+ne,Ce=we+H;Vn[le]={},Vn[le][oe]=$,Vn[le][re]=Ce}function Qn(le,me,ne,H){const $=H&&H.add||K,Ce=H&&H.rm||z,be=H&&H.listeners||"eventListeners",Se=H&&H.rmAll||"removeAllListeners",$e=ce($),mt="."+$+":",Dt=function(Qt,pt,Wt){if(Qt.isRemoved)return;const Cn=Qt.callback;let Un;"object"==typeof Cn&&Cn.handleEvent&&(Qt.callback=Rt=>Cn.handleEvent(Rt),Qt.originalDelegate=Cn);try{Qt.invoke(Qt,pt,[Wt])}catch(Rt){Un=Rt}const xn=Qt.options;return xn&&"object"==typeof xn&&xn.once&&pt[Ce].call(pt,Wt.type,Qt.originalDelegate?Qt.originalDelegate:Qt.callback,xn),Un};function Mt(Qt,pt,Wt){if(!(pt=pt||le.event))return;const Cn=Qt||pt.target||le,Un=Cn[Vn[pt.type][Wt?re:oe]];if(Un){const xn=[];if(1===Un.length){const Rt=Dt(Un[0],Cn,pt);Rt&&xn.push(Rt)}else{const Rt=Un.slice();for(let Dn=0;Dn<Rt.length&&(!pt||!0!==pt[An]);Dn++){const tt=Dt(Rt[Dn],Cn,pt);tt&&xn.push(tt)}}if(1===xn.length)throw xn[0];for(let Rt=0;Rt<xn.length;Rt++){const Dn=xn[Rt];me.nativeScheduleMicroTask(()=>{throw Dn})}}}const on=function(Qt){return Mt(this,Qt,!1)},vt=function(Qt){return Mt(this,Qt,!0)};function jt(Qt,pt){if(!Qt)return!1;let Wt=!0;pt&&void 0!==pt.useG&&(Wt=pt.useG);const Cn=pt&&pt.vh;let Un=!0;pt&&void 0!==pt.chkDup&&(Un=pt.chkDup);let xn=!1;pt&&void 0!==pt.rt&&(xn=pt.rt);let Rt=Qt;for(;Rt&&!Rt.hasOwnProperty($);)Rt=x(Rt);if(!Rt&&Qt[$]&&(Rt=Qt),!Rt||Rt[$e])return!1;const Dn=pt&&pt.eventNameToString,tt={},mn=Rt[$e]=Rt[$],$t=Rt[ce(Ce)]=Rt[Ce],ir=Rt[ce(be)]=Rt[be],Ie=Rt[ce(Se)]=Rt[Se];let pe;function J(Ve,ft){return!Wn&&"object"==typeof Ve&&Ve?!!Ve.capture:Wn&&ft?"boolean"==typeof Ve?{capture:Ve,passive:!0}:Ve?"object"==typeof Ve&&!1!==Ve.passive?Object.assign(Object.assign({},Ve),{passive:!0}):Ve:{passive:!0}:Ve}pt&&pt.prepend&&(pe=Rt[ce(pt.prepend)]=Rt[pt.prepend]);const ue=Wt?function(Ve){if(!tt.isExisting)return mn.call(tt.target,tt.eventName,tt.capture?vt:on,tt.options)}:function(Ve){return mn.call(tt.target,tt.eventName,Ve.invoke,tt.options)},De=Wt?function(Ve){if(!Ve.isRemoved){const ft=Vn[Ve.eventName];let Lt;ft&&(Lt=ft[Ve.capture?re:oe]);const Nt=Lt&&Ve.target[Lt];if(Nt)for(let Ft=0;Ft<Nt.length;Ft++)if(Nt[Ft]===Ve){Nt.splice(Ft,1),Ve.isRemoved=!0,0===Nt.length&&(Ve.allRemoved=!0,Ve.target[Lt]=null);break}}if(Ve.allRemoved)return $t.call(Ve.target,Ve.eventName,Ve.capture?vt:on,Ve.options)}:function(Ve){return $t.call(Ve.target,Ve.eventName,Ve.invoke,Ve.options)},qt=pt&&pt.diff?pt.diff:function(Ve,ft){const Lt=typeof ft;return"function"===Lt&&Ve.callback===ft||"object"===Lt&&Ve.originalDelegate===ft},In=Zone[ce("UNPATCHED_EVENTS")],Ae=le[ce("PASSIVE_EVENTS")],Qe=function(Ve,ft,Lt,Nt,Ft=!1,It=!1){return function(){const Xt=this||le;let Ct=arguments[0];pt&&pt.transferEventName&&(Ct=pt.transferEventName(Ct));let St=arguments[1];if(!St)return Ve.apply(this,arguments);if(ct&&"uncaughtException"===Ct)return Ve.apply(this,arguments);let Mn=!1;if("function"!=typeof St){if(!St.handleEvent)return Ve.apply(this,arguments);Mn=!0}if(Cn&&!Cn(Ve,St,Xt,arguments))return;const fr=Wn&&!!Ae&&-1!==Ae.indexOf(Ct),Or=J(arguments[2],fr);if(In)for(let nt=0;nt<In.length;nt++)if(Ct===In[nt])return fr?Ve.call(Xt,Ct,St,Or):Ve.apply(this,arguments);const Jr=!!Or&&("boolean"==typeof Or||Or.capture),Er=!(!Or||"object"!=typeof Or)&&Or.once,wi=Zone.current;let kr=Vn[Ct];kr||(Qr(Ct,Dn),kr=Vn[Ct]);const hr=kr[Jr?re:oe];let L,O=Xt[hr],U=!1;if(O){if(U=!0,Un)for(let nt=0;nt<O.length;nt++)if(qt(O[nt],St))return}else O=Xt[hr]=[];const te=Xt.constructor.name,Ue=Xr[te];Ue&&(L=Ue[Ct]),L||(L=te+ft+(Dn?Dn(Ct):Ct)),tt.options=Or,Er&&(tt.options.once=!1),tt.target=Xt,tt.capture=Jr,tt.eventName=Ct,tt.isExisting=U;const Ne=Wt?Zr:void 0;Ne&&(Ne.taskData=tt);const Ke=wi.scheduleEventTask(L,St,Ne,Lt,Nt);return tt.target=null,Ne&&(Ne.taskData=null),Er&&(Or.once=!0),!Wn&&"boolean"==typeof Ke.options||(Ke.options=Or),Ke.target=Xt,Ke.capture=Jr,Ke.eventName=Ct,Mn&&(Ke.originalDelegate=St),It?O.unshift(Ke):O.push(Ke),Ft?Xt:void 0}};return Rt[$]=Qe(mn,mt,ue,De,xn),pe&&(Rt.prependListener=Qe(pe,".prependListener:",function(Ve){return pe.call(tt.target,tt.eventName,Ve.invoke,tt.options)},De,xn,!0)),Rt[Ce]=function(){const Ve=this||le;let ft=arguments[0];pt&&pt.transferEventName&&(ft=pt.transferEventName(ft));const Lt=arguments[2],Nt=!!Lt&&("boolean"==typeof Lt||Lt.capture),Ft=arguments[1];if(!Ft)return $t.apply(this,arguments);if(Cn&&!Cn($t,Ft,Ve,arguments))return;const It=Vn[ft];let Xt;It&&(Xt=It[Nt?re:oe]);const Ct=Xt&&Ve[Xt];if(Ct)for(let St=0;St<Ct.length;St++){const Mn=Ct[St];if(qt(Mn,Ft))return Ct.splice(St,1),Mn.isRemoved=!0,0===Ct.length&&(Mn.allRemoved=!0,Ve[Xt]=null,"string"==typeof ft)&&(Ve[we+"ON_PROPERTY"+ft]=null),Mn.zone.cancelTask(Mn),xn?Ve:void 0}return $t.apply(this,arguments)},Rt[be]=function(){const Ve=this||le;let ft=arguments[0];pt&&pt.transferEventName&&(ft=pt.transferEventName(ft));const Lt=[],Nt=Hr(Ve,Dn?Dn(ft):ft);for(let Ft=0;Ft<Nt.length;Ft++){const It=Nt[Ft];Lt.push(It.originalDelegate?It.originalDelegate:It.callback)}return Lt},Rt[Se]=function(){const Ve=this||le;let ft=arguments[0];if(ft){pt&&pt.transferEventName&&(ft=pt.transferEventName(ft));const Lt=Vn[ft];if(Lt){const It=Ve[Lt[oe]],Xt=Ve[Lt[re]];if(It){const Ct=It.slice();for(let St=0;St<Ct.length;St++){const Mn=Ct[St];this[Ce].call(this,ft,Mn.originalDelegate?Mn.originalDelegate:Mn.callback,Mn.options)}}if(Xt){const Ct=Xt.slice();for(let St=0;St<Ct.length;St++){const Mn=Ct[St];this[Ce].call(this,ft,Mn.originalDelegate?Mn.originalDelegate:Mn.callback,Mn.options)}}}}else{const Lt=Object.keys(Ve);for(let Nt=0;Nt<Lt.length;Nt++){const It=Bn.exec(Lt[Nt]);let Xt=It&&It[1];Xt&&"removeListener"!==Xt&&this[Se].call(this,Xt)}this[Se].call(this,"removeListener")}if(xn)return this},Fe(Rt[$],mn),Fe(Rt[Ce],$t),Ie&&Fe(Rt[Se],Ie),ir&&Fe(Rt[be],ir),!0}let Zt=[];for(let Qt=0;Qt<ne.length;Qt++)Zt[Qt]=jt(ne[Qt],H);return Zt}function Hr(le,me){if(!me){const Ce=[];for(let be in le){const Se=Bn.exec(be);let $e=Se&&Se[1];if($e&&(!me||$e===me)){const mt=le[be];if(mt)for(let it=0;it<mt.length;it++)Ce.push(mt[it])}}return Ce}let ne=Vn[me];ne||(Qr(me),ne=Vn[me]);const H=le[ne[oe]],$=le[ne[re]];return H?$?H.concat($):H.slice():$?$.slice():[]}function er(le,me){const ne=le.Event;ne&&ne.prototype&&me.patchMethod(ne.prototype,"stopImmediatePropagation",H=>function($,Ce){$[An]=!0,H&&H.apply($,Ce)})}function ei(le,me,ne,H,$){const Ce=Zone.__symbol__(H);if(me[Ce])return;const be=me[Ce]=me[H];me[H]=function(Se,$e,mt){return $e&&$e.prototype&&$.forEach(function(it){const Pt=`${ne}.${H}::`+it,Dt=$e.prototype;try{if(Dt.hasOwnProperty(it)){const Mt=le.ObjectGetOwnPropertyDescriptor(Dt,it);Mt&&Mt.value?(Mt.value=le.wrapWithCurrentZone(Mt.value,Pt),le._redefineProperty($e.prototype,it,Mt)):Dt[it]&&(Dt[it]=le.wrapWithCurrentZone(Dt[it],Pt))}else Dt[it]&&(Dt[it]=le.wrapWithCurrentZone(Dt[it],Pt))}catch{}}),be.call(me,Se,$e,mt)},le.attachOriginToPatched(me[H],be)}function Fr(le,me,ne){if(!ne||0===ne.length)return me;const H=ne.filter(Ce=>Ce.target===le);if(!H||0===H.length)return me;const $=H[0].ignoreProperties;return me.filter(Ce=>-1===$.indexOf(Ce))}function tr(le,me,ne,H){le&&dn(le,Fr(le,me,ne),H)}function cr(le){return Object.getOwnPropertyNames(le).filter(me=>me.startsWith("on")&&me.length>2).map(me=>me.substring(2))}Zone.__load_patch("util",(le,me,ne)=>{const H=cr(le);ne.patchOnProperties=dn,ne.patchMethod=ie,ne.bindArguments=Ze,ne.patchMacroTask=Oe;const $=me.__symbol__("BLACK_LISTED_EVENTS"),Ce=me.__symbol__("UNPATCHED_EVENTS");le[Ce]&&(le[$]=le[Ce]),le[$]&&(me[$]=me[Ce]=le[$]),ne.patchEventPrototype=er,ne.patchEventTarget=Qn,ne.isIEOrEdge=Yr,ne.ObjectDefineProperty=Q,ne.ObjectGetOwnPropertyDescriptor=Me,ne.ObjectCreate=l,ne.ArraySlice=v,ne.patchClass=gt,ne.wrapWithCurrentZone=j,ne.filterProperties=Fr,ne.attachOriginToPatched=Fe,ne._redefineProperty=Object.defineProperty,ne.patchCallbacks=ei,ne.getGlobalObjects=()=>({globalSources:Xr,zoneSymbolEventNames:Vn,eventNames:H,isBrowser:Le,isMix:_t,isNode:ct,TRUE_STR:re,FALSE_STR:oe,ZONE_SYMBOL_PREFIX:we,ADD_EVENT_LISTENER_STR:K,REMOVE_EVENT_LISTENER_STR:z})});const di=ce("zoneTask");function dr(le,me,ne,H){let $=null,Ce=null;ne+=H;const be={};function Se(mt){const it=mt.data;return it.args[0]=function(){return mt.invoke.apply(this,arguments)},it.handleId=$.apply(le,it.args),mt}function $e(mt){return Ce.call(le,mt.data.handleId)}$=ie(le,me+=H,mt=>function(it,Pt){if("function"==typeof Pt[0]){const Dt={isPeriodic:"Interval"===H,delay:"Timeout"===H||"Interval"===H?Pt[1]||0:void 0,args:Pt},Mt=Pt[0];Pt[0]=function(){try{return Mt.apply(this,arguments)}finally{Dt.isPeriodic||("number"==typeof Dt.handleId?delete be[Dt.handleId]:Dt.handleId&&(Dt.handleId[di]=null))}};const on=Y(me,Pt[0],Dt,Se,$e);if(!on)return on;const vt=on.data.handleId;return"number"==typeof vt?be[vt]=on:vt&&(vt[di]=on),vt&&vt.ref&&vt.unref&&"function"==typeof vt.ref&&"function"==typeof vt.unref&&(on.ref=vt.ref.bind(vt),on.unref=vt.unref.bind(vt)),"number"==typeof vt||vt?vt:on}return mt.apply(le,Pt)}),Ce=ie(le,ne,mt=>function(it,Pt){const Dt=Pt[0];let Mt;"number"==typeof Dt?Mt=be[Dt]:(Mt=Dt&&Dt[di],Mt||(Mt=Dt)),Mt&&"string"==typeof Mt.type?"notScheduled"!==Mt.state&&(Mt.cancelFn&&Mt.data.isPeriodic||0===Mt.runCount)&&("number"==typeof Dt?delete be[Dt]:Dt&&(Dt[di]=null),Mt.zone.cancelTask(Mt)):mt.apply(le,Pt)})}Zone.__load_patch("legacy",le=>{const me=le[Zone.__symbol__("legacyPatch")];me&&me()}),Zone.__load_patch("queueMicrotask",(le,me,ne)=>{ne.patchMethod(le,"queueMicrotask",H=>function($,Ce){me.current.scheduleMicroTask("queueMicrotask",Ce[0])})}),Zone.__load_patch("timers",le=>{const ne="clear";dr(le,"set",ne,"Timeout"),dr(le,"set",ne,"Interval"),dr(le,"set",ne,"Immediate")}),Zone.__load_patch("requestAnimationFrame",le=>{dr(le,"request","cancel","AnimationFrame"),dr(le,"mozRequest","mozCancel","AnimationFrame"),dr(le,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(le,me)=>{const ne=["alert","prompt","confirm"];for(let H=0;H<ne.length;H++)ie(le,ne[H],(Ce,be,Se)=>function($e,mt){return me.current.run(Ce,le,mt,Se)})}),Zone.__load_patch("EventTarget",(le,me,ne)=>{(function mr(le,me){me.patchEventPrototype(le,me)})(le,ne),function wr(le,me){if(Zone[me.symbol("patchEventTarget")])return;const{eventNames:ne,zoneSymbolEventNames:H,TRUE_STR:$,FALSE_STR:Ce,ZONE_SYMBOL_PREFIX:be}=me.getGlobalObjects();for(let $e=0;$e<ne.length;$e++){const mt=ne[$e],Dt=be+(mt+Ce),Mt=be+(mt+$);H[mt]={},H[mt][Ce]=Dt,H[mt][$]=Mt}const Se=le.EventTarget;Se&&Se.prototype&&me.patchEventTarget(le,me,[Se&&Se.prototype])}(le,ne);const H=le.XMLHttpRequestEventTarget;H&&H.prototype&&ne.patchEventTarget(le,ne,[H.prototype])}),Zone.__load_patch("MutationObserver",(le,me,ne)=>{gt("MutationObserver"),gt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(le,me,ne)=>{gt("IntersectionObserver")}),Zone.__load_patch("FileReader",(le,me,ne)=>{gt("FileReader")}),Zone.__load_patch("on_property",(le,me,ne)=>{!function xr(le,me){if(ct&&!_t||Zone[le.symbol("patchEvents")])return;const ne=me.__Zone_ignore_on_properties;let H=[];if(Le){const $=window;H=H.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const Ce=function Ur(){try{const le=je.navigator.userAgent;if(-1!==le.indexOf("MSIE ")||-1!==le.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:$,ignoreProperties:["error"]}]:[];tr($,cr($),ne&&ne.concat(Ce),x($))}H=H.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let $=0;$<H.length;$++){const Ce=me[H[$]];Ce&&Ce.prototype&&tr(Ce.prototype,cr(Ce.prototype),ne)}}(ne,le)}),Zone.__load_patch("customElements",(le,me,ne)=>{!function fi(le,me){const{isBrowser:ne,isMix:H}=me.getGlobalObjects();(ne||H)&&le.customElements&&"customElements"in le&&me.patchCallbacks(me,le.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(le,ne)}),Zone.__load_patch("XHR",(le,me)=>{!function $e(mt){const it=mt.XMLHttpRequest;if(!it)return;const Pt=it.prototype;let Mt=Pt[q],on=Pt[Z];if(!Mt){const tt=mt.XMLHttpRequestEventTarget;if(tt){const mn=tt.prototype;Mt=mn[q],on=mn[Z]}}const vt="readystatechange",jt="scheduled";function Zt(tt){const mn=tt.data,$t=mn.target;$t[Ce]=!1,$t[Se]=!1;const ir=$t[$];Mt||(Mt=$t[q],on=$t[Z]),ir&&on.call($t,vt,ir);const Ie=$t[$]=()=>{if($t.readyState===$t.DONE)if(!mn.aborted&&$t[Ce]&&tt.state===jt){const J=$t[me.__symbol__("loadfalse")];if(0!==$t.status&&J&&J.length>0){const Re=tt.invoke;tt.invoke=function(){const We=$t[me.__symbol__("loadfalse")];for(let xt=0;xt<We.length;xt++)We[xt]===tt&&We.splice(xt,1);!mn.aborted&&tt.state===jt&&Re.call(tt)},J.push(tt)}else tt.invoke()}else!mn.aborted&&!1===$t[Ce]&&($t[Se]=!0)};return Mt.call($t,vt,Ie),$t[ne]||($t[ne]=tt),Rt.apply($t,mn.args),$t[Ce]=!0,tt}function Qt(){}function pt(tt){const mn=tt.data;return mn.aborted=!0,Dn.apply(mn.target,mn.args)}const Wt=ie(Pt,"open",()=>function(tt,mn){return tt[H]=0==mn[2],tt[be]=mn[1],Wt.apply(tt,mn)}),Un=ce("fetchTaskAborting"),xn=ce("fetchTaskScheduling"),Rt=ie(Pt,"send",()=>function(tt,mn){if(!0===me.current[xn]||tt[H])return Rt.apply(tt,mn);{const $t={target:tt,url:tt[be],isPeriodic:!1,args:mn,aborted:!1},ir=Y("XMLHttpRequest.send",Qt,$t,Zt,pt);tt&&!0===tt[Se]&&!$t.aborted&&ir.state===jt&&ir.invoke()}}),Dn=ie(Pt,"abort",()=>function(tt,mn){const $t=function Dt(tt){return tt[ne]}(tt);if($t&&"string"==typeof $t.type){if(null==$t.cancelFn||$t.data&&$t.data.aborted)return;$t.zone.cancelTask($t)}else if(!0===me.current[Un])return Dn.apply(tt,mn)})}(le);const ne=ce("xhrTask"),H=ce("xhrSync"),$=ce("xhrListener"),Ce=ce("xhrScheduled"),be=ce("xhrURL"),Se=ce("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",le=>{le.navigator&&le.navigator.geolocation&&function Jt(le,me){const ne=le.constructor.name;for(let H=0;H<me.length;H++){const $=me[H],Ce=le[$];if(Ce){if(!ht(Me(le,$)))continue;le[$]=(Se=>{const $e=function(){return Se.apply(this,Ze(arguments,ne+"."+$))};return Fe($e,Se),$e})(Ce)}}}(le.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(le,me)=>{function ne(H){return function($){Hr(le,H).forEach(be=>{const Se=le.PromiseRejectionEvent;if(Se){const $e=new Se(H,{promise:$.promise,reason:$.rejection});be.invoke($e)}})}}le.PromiseRejectionEvent&&(me[ce("unhandledPromiseRejectionHandler")]=ne("unhandledrejection"),me[ce("rejectionHandledHandler")]=ne("rejectionhandled"))})},7340:(Me,Q,x)=>{"use strict";x.d(Q,{LC:()=>v,SB:()=>we,X$:()=>z,ZE:()=>ht,ZN:()=>Jt,_j:()=>l,eR:()=>Y,jt:()=>q,k1:()=>qe,l3:()=>K,oB:()=>oe,vP:()=>re});class l{}class v{}const K="*";function z(ct,Le){return{type:7,name:ct,definitions:Le,options:{}}}function q(ct,Le=null){return{type:4,styles:Le,timings:ct}}function re(ct,Le=null){return{type:2,steps:ct,options:Le}}function oe(ct){return{type:6,styles:ct,offset:null}}function we(ct,Le,_t){return{type:0,name:ct,styles:Le,options:_t}}function Y(ct,Le,_t=null){return{type:1,expr:ct,animation:Le,options:_t}}function Ze(ct){Promise.resolve(null).then(ct)}class Jt{constructor(Le=0,_t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Le+_t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Le=>Le()),this._onDoneFns=[])}onStart(Le){this._onStartFns.push(Le)}onDone(Le){this._onDoneFns.push(Le)}onDestroy(Le){this._onDestroyFns.push(Le)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ze(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Le=>Le()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Le=>Le()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(Le){this._position=this.totalTime?Le*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Le){const _t="start"==Le?this._onStartFns:this._onDoneFns;_t.forEach(rn=>rn()),_t.length=0}}class ht{constructor(Le){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Le;let _t=0,rn=0,Rn=0;const gn=this.players.length;0==gn?Ze(()=>this._onFinish()):this.players.forEach(dn=>{dn.onDone(()=>{++_t==gn&&this._onFinish()}),dn.onDestroy(()=>{++rn==gn&&this._onDestroy()}),dn.onStart(()=>{++Rn==gn&&this._onStart()})}),this.totalTime=this.players.reduce((dn,Gt)=>Math.max(dn,Gt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Le=>Le()),this._onDoneFns=[])}init(){this.players.forEach(Le=>Le.init())}onStart(Le){this._onStartFns.push(Le)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Le=>Le()),this._onStartFns=[])}onDone(Le){this._onDoneFns.push(Le)}onDestroy(Le){this._onDestroyFns.push(Le)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Le=>Le.play())}pause(){this.players.forEach(Le=>Le.pause())}restart(){this.players.forEach(Le=>Le.restart())}finish(){this._onFinish(),this.players.forEach(Le=>Le.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Le=>Le.destroy()),this._onDestroyFns.forEach(Le=>Le()),this._onDestroyFns=[])}reset(){this.players.forEach(Le=>Le.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Le){const _t=Le*this.totalTime;this.players.forEach(rn=>{const Rn=rn.totalTime?Math.min(1,_t/rn.totalTime):1;rn.setPosition(Rn)})}getPosition(){const Le=this.players.reduce((_t,rn)=>null===_t||rn.totalTime>_t.totalTime?rn:_t,null);return null!=Le?Le.getPosition():0}beforeDestroy(){this.players.forEach(Le=>{Le.beforeDestroy&&Le.beforeDestroy()})}triggerCallback(Le){const _t="start"==Le?this._onStartFns:this._onDoneFns;_t.forEach(rn=>rn()),_t.length=0}}const qe="!"},6895:(Me,Q,x)=>{"use strict";x.d(Q,{Do:()=>ct,EM:()=>zr,HT:()=>q,JF:()=>ps,K0:()=>re,Mx:()=>Or,NF:()=>yo,O5:()=>U,PC:()=>Yn,S$:()=>Ze,V_:()=>j,Ye:()=>Le,b0:()=>qe,bD:()=>$i,ez:()=>No,lw:()=>oe,mk:()=>Jr,mr:()=>ht,q:()=>K,sg:()=>kr,tP:()=>Ar,w_:()=>Z});var l=x(5062);let v=null;function K(){return v}function q(S){v||(v=S)}class Z{}const re=new l.OlP("DocumentToken");let oe=(()=>{class S{historyGo(T){throw new Error("Not implemented")}}return S.\u0275fac=function(T){return new(T||S)},S.\u0275prov=l.Yz7({token:S,factory:function(){return function we(){return(0,l.LFG)(Y)}()},providedIn:"platform"}),S})();const j=new l.OlP("Location Initialized");let Y=(()=>{class S extends oe{constructor(T){super(),this._doc=T,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return K().getBaseHref(this._doc)}onPopState(T){const B=K().getGlobalEventTarget(this._doc,"window");return B.addEventListener("popstate",T,!1),()=>B.removeEventListener("popstate",T)}onHashChange(T){const B=K().getGlobalEventTarget(this._doc,"window");return B.addEventListener("hashchange",T,!1),()=>B.removeEventListener("hashchange",T)}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(T){this.location.pathname=T}pushState(T,B,ge){ce()?this._history.pushState(T,B,ge):this.location.hash=ge}replaceState(T,B,ge){ce()?this._history.replaceState(T,B,ge):this.location.hash=ge}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}}return S.\u0275fac=function(T){return new(T||S)(l.LFG(re))},S.\u0275prov=l.Yz7({token:S,factory:function(){return function ye(){return new Y((0,l.LFG)(re))}()},providedIn:"platform"}),S})();function ce(){return!!window.history.pushState}function je(S,k){if(0==S.length)return k;if(0==k.length)return S;let T=0;return S.endsWith("/")&&T++,k.startsWith("/")&&T++,2==T?S+k.substring(1):1==T?S+k:S+"/"+k}function ke(S){const k=S.match(/#|\?|$/),T=k&&k.index||S.length;return S.slice(0,T-("/"===S[T-1]?1:0))+S.slice(T)}function Ge(S){return S&&"?"!==S[0]?"?"+S:S}let Ze=(()=>{class S{historyGo(T){throw new Error("Not implemented")}}return S.\u0275fac=function(T){return new(T||S)},S.\u0275prov=l.Yz7({token:S,factory:function(){return function Jt(S){const k=(0,l.LFG)(re).location;return new qe((0,l.LFG)(oe),k&&k.origin||"")}()},providedIn:"root"}),S})();const ht=new l.OlP("appBaseHref");let qe=(()=>{class S extends Ze{constructor(T,B){if(super(),this._platformLocation=T,this._removeListenerFns=[],null==B&&(B=this._platformLocation.getBaseHrefFromDOM()),null==B)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=B}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return je(this._baseHref,T)}path(T=!1){const B=this._platformLocation.pathname+Ge(this._platformLocation.search),ge=this._platformLocation.hash;return ge&&T?`${B}${ge}`:B}pushState(T,B,ge,He){const rt=this.prepareExternalUrl(ge+Ge(He));this._platformLocation.pushState(T,B,rt)}replaceState(T,B,ge,He){const rt=this.prepareExternalUrl(ge+Ge(He));this._platformLocation.replaceState(T,B,rt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){this._platformLocation.historyGo?.(T)}}return S.\u0275fac=function(T){return new(T||S)(l.LFG(oe),l.LFG(ht,8))},S.\u0275prov=l.Yz7({token:S,factory:S.\u0275fac}),S})(),ct=(()=>{class S extends Ze{constructor(T,B){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=B&&(this._baseHref=B)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}path(T=!1){let B=this._platformLocation.hash;return null==B&&(B="#"),B.length>0?B.substring(1):B}prepareExternalUrl(T){const B=je(this._baseHref,T);return B.length>0?"#"+B:B}pushState(T,B,ge,He){let rt=this.prepareExternalUrl(ge+Ge(He));0==rt.length&&(rt=this._platformLocation.pathname),this._platformLocation.pushState(T,B,rt)}replaceState(T,B,ge,He){let rt=this.prepareExternalUrl(ge+Ge(He));0==rt.length&&(rt=this._platformLocation.pathname),this._platformLocation.replaceState(T,B,rt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){this._platformLocation.historyGo?.(T)}}return S.\u0275fac=function(T){return new(T||S)(l.LFG(oe),l.LFG(ht,8))},S.\u0275prov=l.Yz7({token:S,factory:S.\u0275fac}),S})(),Le=(()=>{class S{constructor(T,B){this._subject=new l.vpe,this._urlChangeListeners=[],this._platformStrategy=T;const ge=this._platformStrategy.getBaseHref();this._platformLocation=B,this._baseHref=ke(Rn(ge)),this._platformStrategy.onPopState(He=>{this._subject.emit({url:this.path(!0),pop:!0,state:He.state,type:He.type})})}path(T=!1){return this.normalize(this._platformStrategy.path(T))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(T,B=""){return this.path()==this.normalize(T+Ge(B))}normalize(T){return S.stripTrailingSlash(function rn(S,k){return S&&k.startsWith(S)?k.substring(S.length):k}(this._baseHref,Rn(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._platformStrategy.prepareExternalUrl(T)}go(T,B="",ge=null){this._platformStrategy.pushState(ge,"",T,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Ge(B)),ge)}replaceState(T,B="",ge=null){this._platformStrategy.replaceState(ge,"",T,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Ge(B)),ge)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(T=0){this._platformStrategy.historyGo?.(T)}onUrlChange(T){this._urlChangeListeners.push(T),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(B=>{this._notifyUrlChangeListeners(B.url,B.state)}))}_notifyUrlChangeListeners(T="",B){this._urlChangeListeners.forEach(ge=>ge(T,B))}subscribe(T,B,ge){return this._subject.subscribe({next:T,error:B,complete:ge})}}return S.normalizeQueryParams=Ge,S.joinWithSlash=je,S.stripTrailingSlash=ke,S.\u0275fac=function(T){return new(T||S)(l.LFG(Ze),l.LFG(oe))},S.\u0275prov=l.Yz7({token:S,factory:function(){return function _t(){return new Le((0,l.LFG)(Ze),(0,l.LFG)(oe))}()},providedIn:"root"}),S})();function Rn(S){return S.replace(/\/index.html$/,"")}function Or(S,k){k=encodeURIComponent(k);for(const T of S.split(";")){const B=T.indexOf("="),[ge,He]=-1==B?[T,""]:[T.slice(0,B),T.slice(B+1)];if(ge.trim()===k)return decodeURIComponent(He)}return null}let Jr=(()=>{class S{constructor(T,B,ge,He){this._iterableDiffers=T,this._keyValueDiffers=B,this._ngEl=ge,this._renderer=He,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(T){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof T?T.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(T){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof T?T.split(/\s+/):T,this._rawClass&&((0,l.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const T=this._iterableDiffer.diff(this._rawClass);T&&this._applyIterableChanges(T)}else if(this._keyValueDiffer){const T=this._keyValueDiffer.diff(this._rawClass);T&&this._applyKeyValueChanges(T)}}_applyKeyValueChanges(T){T.forEachAddedItem(B=>this._toggleClass(B.key,B.currentValue)),T.forEachChangedItem(B=>this._toggleClass(B.key,B.currentValue)),T.forEachRemovedItem(B=>{B.previousValue&&this._toggleClass(B.key,!1)})}_applyIterableChanges(T){T.forEachAddedItem(B=>{if("string"!=typeof B.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(B.item)}`);this._toggleClass(B.item,!0)}),T.forEachRemovedItem(B=>this._toggleClass(B.item,!1))}_applyClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(B=>this._toggleClass(B,!0)):Object.keys(T).forEach(B=>this._toggleClass(B,!!T[B])))}_removeClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(B=>this._toggleClass(B,!1)):Object.keys(T).forEach(B=>this._toggleClass(B,!1)))}_toggleClass(T,B){(T=T.trim())&&T.split(/\s+/g).forEach(ge=>{B?this._renderer.addClass(this._ngEl.nativeElement,ge):this._renderer.removeClass(this._ngEl.nativeElement,ge)})}}return S.\u0275fac=function(T){return new(T||S)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},S.\u0275dir=l.lG2({type:S,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),S})();class wi{constructor(k,T,B,ge){this.$implicit=k,this.ngForOf=T,this.index=B,this.count=ge}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 kr=(()=>{class S{constructor(T,B,ge){this._viewContainer=T,this._template=B,this._differs=ge,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;!this._differ&&T&&(this._differ=this._differs.find(T).create(this.ngForTrackBy))}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const B=this._viewContainer;T.forEachOperation((ge,He,rt)=>{if(null==ge.previousIndex)B.createEmbeddedView(this._template,new wi(ge.item,this._ngForOf,-1,-1),null===rt?void 0:rt);else if(null==rt)B.remove(null===He?void 0:He);else if(null!==He){const bt=B.get(He);B.move(bt,rt),hr(bt,ge)}});for(let ge=0,He=B.length;ge<He;ge++){const bt=B.get(ge).context;bt.index=ge,bt.count=He,bt.ngForOf=this._ngForOf}T.forEachIdentityChange(ge=>{hr(B.get(ge.currentIndex),ge)})}static ngTemplateContextGuard(T,B){return!0}}return S.\u0275fac=function(T){return new(T||S)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},S.\u0275dir=l.lG2({type:S,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),S})();function hr(S,k){S.context.$implicit=k.item}let U=(()=>{class S{constructor(T,B){this._viewContainer=T,this._context=new L,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=B}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){te("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){te("ngIfElse",T),this._elseTemplateRef=T,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(T,B){return!0}}return S.\u0275fac=function(T){return new(T||S)(l.Y36(l.s_b),l.Y36(l.Rgc))},S.\u0275dir=l.lG2({type:S,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),S})();class L{constructor(){this.$implicit=null,this.ngIf=null}}function te(S,k){if(k&&!k.createEmbeddedView)throw new Error(`${S} must be a TemplateRef, but received '${(0,l.AaK)(k)}'.`)}let Yn=(()=>{class S{constructor(T,B,ge){this._ngEl=T,this._differs=B,this._renderer=ge,this._ngStyle=null,this._differ=null}set ngStyle(T){this._ngStyle=T,!this._differ&&T&&(this._differ=this._differs.find(T).create())}ngDoCheck(){if(this._differ){const T=this._differ.diff(this._ngStyle);T&&this._applyChanges(T)}}_setStyle(T,B){const[ge,He]=T.split(".");null!=(B=null!=B&&He?`${B}${He}`:B)?this._renderer.setStyle(this._ngEl.nativeElement,ge,B):this._renderer.removeStyle(this._ngEl.nativeElement,ge)}_applyChanges(T){T.forEachRemovedItem(B=>this._setStyle(B.key,null)),T.forEachAddedItem(B=>this._setStyle(B.key,B.currentValue)),T.forEachChangedItem(B=>this._setStyle(B.key,B.currentValue))}}return S.\u0275fac=function(T){return new(T||S)(l.Y36(l.SBq),l.Y36(l.aQg),l.Y36(l.Qsj))},S.\u0275dir=l.lG2({type:S,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),S})(),Ar=(()=>{class S{constructor(T){this._viewContainerRef=T,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(T){if(T.ngTemplateOutlet){const B=this._viewContainerRef;this._viewRef&&B.remove(B.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?B.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&T.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return S.\u0275fac=function(T){return new(T||S)(l.Y36(l.s_b))},S.\u0275dir=l.lG2({type:S,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[l.TTD]}),S})(),No=(()=>{class S{}return S.\u0275fac=function(T){return new(T||S)},S.\u0275mod=l.oAB({type:S}),S.\u0275inj=l.cJS({}),S})();const $i="browser";function yo(S){return S===$i}let zr=(()=>{class S{}return S.\u0275prov=(0,l.Yz7)({token:S,providedIn:"root",factory:()=>new Bi((0,l.LFG)(re),window)}),S})();class Bi{constructor(k,T){this.document=k,this.window=T,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const T=function vo(S,k){const T=S.getElementById(k)||S.getElementsByName(k)[0];if(T)return T;if("function"==typeof S.createTreeWalker&&S.body&&(S.body.createShadowRoot||S.body.attachShadow)){const B=S.createTreeWalker(S.body,NodeFilter.SHOW_ELEMENT);let ge=B.currentNode;for(;ge;){const He=ge.shadowRoot;if(He){const rt=He.getElementById(k)||He.querySelector(`[name="${k}"]`);if(rt)return rt}ge=B.nextNode()}}return null}(this.document,k);T&&(this.scrollToElement(T),T.focus())}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const T=this.window.history;T&&T.scrollRestoration&&(T.scrollRestoration=k)}}scrollToElement(k){const T=k.getBoundingClientRect(),B=T.left+this.window.pageXOffset,ge=T.top+this.window.pageYOffset,He=this.offset();this.window.scrollTo(B-He[0],ge-He[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=oi(this.window.history)||oi(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function oi(S){return Object.getOwnPropertyDescriptor(S,"scrollRestoration")}class ps{}},529:(Me,Q,x)=>{"use strict";x.d(Q,{JF:()=>mr,WM:()=>j,eN:()=>Fe});var l=x(6895),v=x(5062),K=x(1086),z=x(2916),q=x(1406),Z=x(2198),re=x(4850);class oe{}class we{}class j{constructor(H){this.normalizedNames=new Map,this.lazyUpdate=null,H?this.lazyInit="string"==typeof H?()=>{this.headers=new Map,H.split("\n").forEach($=>{const Ce=$.indexOf(":");if(Ce>0){const be=$.slice(0,Ce),Se=be.toLowerCase(),$e=$.slice(Ce+1).trim();this.maybeSetNormalizedName(be,Se),this.headers.has(Se)?this.headers.get(Se).push($e):this.headers.set(Se,[$e])}})}:()=>{this.headers=new Map,Object.keys(H).forEach($=>{let Ce=H[$];const be=$.toLowerCase();"string"==typeof Ce&&(Ce=[Ce]),Ce.length>0&&(this.headers.set(be,Ce),this.maybeSetNormalizedName($,be))})}:this.headers=new Map}has(H){return this.init(),this.headers.has(H.toLowerCase())}get(H){this.init();const $=this.headers.get(H.toLowerCase());return $&&$.length>0?$[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(H){return this.init(),this.headers.get(H.toLowerCase())||null}append(H,$){return this.clone({name:H,value:$,op:"a"})}set(H,$){return this.clone({name:H,value:$,op:"s"})}delete(H,$){return this.clone({name:H,value:$,op:"d"})}maybeSetNormalizedName(H,$){this.normalizedNames.has($)||this.normalizedNames.set($,H)}init(){this.lazyInit&&(this.lazyInit instanceof j?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(H=>this.applyUpdate(H)),this.lazyUpdate=null))}copyFrom(H){H.init(),Array.from(H.headers.keys()).forEach($=>{this.headers.set($,H.headers.get($)),this.normalizedNames.set($,H.normalizedNames.get($))})}clone(H){const $=new j;return $.lazyInit=this.lazyInit&&this.lazyInit instanceof j?this.lazyInit:this,$.lazyUpdate=(this.lazyUpdate||[]).concat([H]),$}applyUpdate(H){const $=H.name.toLowerCase();switch(H.op){case"a":case"s":let Ce=H.value;if("string"==typeof Ce&&(Ce=[Ce]),0===Ce.length)return;this.maybeSetNormalizedName(H.name,$);const be=("a"===H.op?this.headers.get($):void 0)||[];be.push(...Ce),this.headers.set($,be);break;case"d":const Se=H.value;if(Se){let $e=this.headers.get($);if(!$e)return;$e=$e.filter(mt=>-1===Se.indexOf(mt)),0===$e.length?(this.headers.delete($),this.normalizedNames.delete($)):this.headers.set($,$e)}else this.headers.delete($),this.normalizedNames.delete($)}}forEach(H){this.init(),Array.from(this.normalizedNames.keys()).forEach($=>H(this.normalizedNames.get($),this.headers.get($)))}}class Y{encodeKey(H){return ke(H)}encodeValue(H){return ke(H)}decodeKey(H){return decodeURIComponent(H)}decodeValue(H){return decodeURIComponent(H)}}const ye=/%(\d[a-f0-9])/gi,je={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ke(ne){return encodeURIComponent(ne).replace(ye,(H,$)=>je[$]??H)}function Ge(ne){return`${ne}`}class Ze{constructor(H={}){if(this.updates=null,this.cloneFrom=null,this.encoder=H.encoder||new Y,H.fromString){if(H.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ce(ne,H){const $=new Map;return ne.length>0&&ne.replace(/^\?/,"").split("&").forEach(be=>{const Se=be.indexOf("="),[$e,mt]=-1==Se?[H.decodeKey(be),""]:[H.decodeKey(be.slice(0,Se)),H.decodeValue(be.slice(Se+1))],it=$.get($e)||[];it.push(mt),$.set($e,it)}),$}(H.fromString,this.encoder)}else H.fromObject?(this.map=new Map,Object.keys(H.fromObject).forEach($=>{const Ce=H.fromObject[$];this.map.set($,Array.isArray(Ce)?Ce:[Ce])})):this.map=null}has(H){return this.init(),this.map.has(H)}get(H){this.init();const $=this.map.get(H);return $?$[0]:null}getAll(H){return this.init(),this.map.get(H)||null}keys(){return this.init(),Array.from(this.map.keys())}append(H,$){return this.clone({param:H,value:$,op:"a"})}appendAll(H){const $=[];return Object.keys(H).forEach(Ce=>{const be=H[Ce];Array.isArray(be)?be.forEach(Se=>{$.push({param:Ce,value:Se,op:"a"})}):$.push({param:Ce,value:be,op:"a"})}),this.clone($)}set(H,$){return this.clone({param:H,value:$,op:"s"})}delete(H,$){return this.clone({param:H,value:$,op:"d"})}toString(){return this.init(),this.keys().map(H=>{const $=this.encoder.encodeKey(H);return this.map.get(H).map(Ce=>$+"="+this.encoder.encodeValue(Ce)).join("&")}).filter(H=>""!==H).join("&")}clone(H){const $=new Ze({encoder:this.encoder});return $.cloneFrom=this.cloneFrom||this,$.updates=(this.updates||[]).concat(H),$}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(H=>this.map.set(H,this.cloneFrom.map.get(H))),this.updates.forEach(H=>{switch(H.op){case"a":case"s":const $=("a"===H.op?this.map.get(H.param):void 0)||[];$.push(Ge(H.value)),this.map.set(H.param,$);break;case"d":if(void 0===H.value){this.map.delete(H.param);break}{let Ce=this.map.get(H.param)||[];const be=Ce.indexOf(Ge(H.value));-1!==be&&Ce.splice(be,1),Ce.length>0?this.map.set(H.param,Ce):this.map.delete(H.param)}}}),this.cloneFrom=this.updates=null)}}class ht{constructor(){this.map=new Map}set(H,$){return this.map.set(H,$),this}get(H){return this.map.has(H)||this.map.set(H,H.defaultValue()),this.map.get(H)}delete(H){return this.map.delete(H),this}has(H){return this.map.has(H)}keys(){return this.map.keys()}}function ct(ne){return typeof ArrayBuffer<"u"&&ne instanceof ArrayBuffer}function Le(ne){return typeof Blob<"u"&&ne instanceof Blob}function _t(ne){return typeof FormData<"u"&&ne instanceof FormData}class Rn{constructor(H,$,Ce,be){let Se;if(this.url=$,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=H.toUpperCase(),function qe(ne){switch(ne){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||be?(this.body=void 0!==Ce?Ce:null,Se=be):Se=Ce,Se&&(this.reportProgress=!!Se.reportProgress,this.withCredentials=!!Se.withCredentials,Se.responseType&&(this.responseType=Se.responseType),Se.headers&&(this.headers=Se.headers),Se.context&&(this.context=Se.context),Se.params&&(this.params=Se.params)),this.headers||(this.headers=new j),this.context||(this.context=new ht),this.params){const $e=this.params.toString();if(0===$e.length)this.urlWithParams=$;else{const mt=$.indexOf("?");this.urlWithParams=$+(-1===mt?"?":mt<$.length-1?"&":"")+$e}}else this.params=new Ze,this.urlWithParams=$}serializeBody(){return null===this.body?null:ct(this.body)||Le(this.body)||_t(this.body)||function rn(ne){return typeof URLSearchParams<"u"&&ne instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ze?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||_t(this.body)?null:Le(this.body)?this.body.type||null:ct(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ze?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(H={}){const $=H.method||this.method,Ce=H.url||this.url,be=H.responseType||this.responseType,Se=void 0!==H.body?H.body:this.body,$e=void 0!==H.withCredentials?H.withCredentials:this.withCredentials,mt=void 0!==H.reportProgress?H.reportProgress:this.reportProgress;let it=H.headers||this.headers,Pt=H.params||this.params;const Dt=H.context??this.context;return void 0!==H.setHeaders&&(it=Object.keys(H.setHeaders).reduce((Mt,on)=>Mt.set(on,H.setHeaders[on]),it)),H.setParams&&(Pt=Object.keys(H.setParams).reduce((Mt,on)=>Mt.set(on,H.setParams[on]),Pt)),new Rn($,Ce,Se,{params:Pt,headers:it,context:Dt,reportProgress:mt,responseType:be,withCredentials:$e})}}var gn=(()=>((gn=gn||{})[gn.Sent=0]="Sent",gn[gn.UploadProgress=1]="UploadProgress",gn[gn.ResponseHeader=2]="ResponseHeader",gn[gn.DownloadProgress=3]="DownloadProgress",gn[gn.Response=4]="Response",gn[gn.User=5]="User",gn))();class dn{constructor(H,$=200,Ce="OK"){this.headers=H.headers||new j,this.status=void 0!==H.status?H.status:$,this.statusText=H.statusText||Ce,this.url=H.url||null,this.ok=this.status>=200&&this.status<300}}class Gt extends dn{constructor(H={}){super(H),this.type=gn.ResponseHeader}clone(H={}){return new Gt({headers:H.headers||this.headers,status:void 0!==H.status?H.status:this.status,statusText:H.statusText||this.statusText,url:H.url||this.url||void 0})}}class gt extends dn{constructor(H={}){super(H),this.type=gn.Response,this.body=void 0!==H.body?H.body:null}clone(H={}){return new gt({body:void 0!==H.body?H.body:this.body,headers:H.headers||this.headers,status:void 0!==H.status?H.status:this.status,statusText:H.statusText||this.statusText,url:H.url||this.url||void 0})}}class ie extends dn{constructor(H){super(H,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${H.url||"(unknown url)"}`:`Http failure response for ${H.url||"(unknown url)"}: ${H.status} ${H.statusText}`,this.error=H.error||null}}function Oe(ne,H){return{body:H,headers:ne.headers,context:ne.context,observe:ne.observe,params:ne.params,reportProgress:ne.reportProgress,responseType:ne.responseType,withCredentials:ne.withCredentials}}let Fe=(()=>{class ne{constructor($){this.handler=$}request($,Ce,be={}){let Se;if($ instanceof Rn)Se=$;else{let it,Pt;it=be.headers instanceof j?be.headers:new j(be.headers),be.params&&(Pt=be.params instanceof Ze?be.params:new Ze({fromObject:be.params})),Se=new Rn($,Ce,void 0!==be.body?be.body:null,{headers:it,context:be.context,params:Pt,reportProgress:be.reportProgress,responseType:be.responseType||"json",withCredentials:be.withCredentials})}const $e=(0,K.of)(Se).pipe((0,q.b)(it=>this.handler.handle(it)));if($ instanceof Rn||"events"===be.observe)return $e;const mt=$e.pipe((0,Z.h)(it=>it instanceof gt));switch(be.observe||"body"){case"body":switch(Se.responseType){case"arraybuffer":return mt.pipe((0,re.U)(it=>{if(null!==it.body&&!(it.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return it.body}));case"blob":return mt.pipe((0,re.U)(it=>{if(null!==it.body&&!(it.body instanceof Blob))throw new Error("Response is not a Blob.");return it.body}));case"text":return mt.pipe((0,re.U)(it=>{if(null!==it.body&&"string"!=typeof it.body)throw new Error("Response is not a string.");return it.body}));default:return mt.pipe((0,re.U)(it=>it.body))}case"response":return mt;default:throw new Error(`Unreachable: unhandled observe type ${be.observe}}`)}}delete($,Ce={}){return this.request("DELETE",$,Ce)}get($,Ce={}){return this.request("GET",$,Ce)}head($,Ce={}){return this.request("HEAD",$,Ce)}jsonp($,Ce){return this.request("JSONP",$,{params:(new Ze).append(Ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options($,Ce={}){return this.request("OPTIONS",$,Ce)}patch($,Ce,be={}){return this.request("PATCH",$,Oe(be,Ce))}post($,Ce,be={}){return this.request("POST",$,Oe(be,Ce))}put($,Ce,be={}){return this.request("PUT",$,Oe(be,Ce))}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(oe))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();class Vt{constructor(H,$){this.next=H,this.interceptor=$}handle(H){return this.interceptor.intercept(H,this.next)}}const Yt=new v.OlP("HTTP_INTERCEPTORS");let Ur=(()=>{class ne{intercept($,Ce){return Ce.handle($)}}return ne.\u0275fac=function($){return new($||ne)},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const Qn=/^\)\]\}',?\n/;let er=(()=>{class ne{constructor($){this.xhrFactory=$}handle($){if("JSONP"===$.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new z.y(Ce=>{const be=this.xhrFactory.build();if(be.open($.method,$.urlWithParams),$.withCredentials&&(be.withCredentials=!0),$.headers.forEach((vt,jt)=>be.setRequestHeader(vt,jt.join(","))),$.headers.has("Accept")||be.setRequestHeader("Accept","application/json, text/plain, */*"),!$.headers.has("Content-Type")){const vt=$.detectContentTypeHeader();null!==vt&&be.setRequestHeader("Content-Type",vt)}if($.responseType){const vt=$.responseType.toLowerCase();be.responseType="json"!==vt?vt:"text"}const Se=$.serializeBody();let $e=null;const mt=()=>{if(null!==$e)return $e;const vt=be.statusText||"OK",jt=new j(be.getAllResponseHeaders()),Zt=function Hr(ne){return"responseURL"in ne&&ne.responseURL?ne.responseURL:/^X-Request-URL:/m.test(ne.getAllResponseHeaders())?ne.getResponseHeader("X-Request-URL"):null}(be)||$.url;return $e=new Gt({headers:jt,status:be.status,statusText:vt,url:Zt}),$e},it=()=>{let{headers:vt,status:jt,statusText:Zt,url:Qt}=mt(),pt=null;204!==jt&&(pt=typeof be.response>"u"?be.responseText:be.response),0===jt&&(jt=pt?200:0);let Wt=jt>=200&&jt<300;if("json"===$.responseType&&"string"==typeof pt){const Cn=pt;pt=pt.replace(Qn,"");try{pt=""!==pt?JSON.parse(pt):null}catch(Un){pt=Cn,Wt&&(Wt=!1,pt={error:Un,text:pt})}}Wt?(Ce.next(new gt({body:pt,headers:vt,status:jt,statusText:Zt,url:Qt||void 0})),Ce.complete()):Ce.error(new ie({error:pt,headers:vt,status:jt,statusText:Zt,url:Qt||void 0}))},Pt=vt=>{const{url:jt}=mt(),Zt=new ie({error:vt,status:be.status||0,statusText:be.statusText||"Unknown Error",url:jt||void 0});Ce.error(Zt)};let Dt=!1;const Mt=vt=>{Dt||(Ce.next(mt()),Dt=!0);let jt={type:gn.DownloadProgress,loaded:vt.loaded};vt.lengthComputable&&(jt.total=vt.total),"text"===$.responseType&&!!be.responseText&&(jt.partialText=be.responseText),Ce.next(jt)},on=vt=>{let jt={type:gn.UploadProgress,loaded:vt.loaded};vt.lengthComputable&&(jt.total=vt.total),Ce.next(jt)};return be.addEventListener("load",it),be.addEventListener("error",Pt),be.addEventListener("timeout",Pt),be.addEventListener("abort",Pt),$.reportProgress&&(be.addEventListener("progress",Mt),null!==Se&&be.upload&&be.upload.addEventListener("progress",on)),be.send(Se),Ce.next({type:gn.Sent}),()=>{be.removeEventListener("error",Pt),be.removeEventListener("abort",Pt),be.removeEventListener("load",it),be.removeEventListener("timeout",Pt),$.reportProgress&&(be.removeEventListener("progress",Mt),null!==Se&&be.upload&&be.upload.removeEventListener("progress",on)),be.readyState!==be.DONE&&be.abort()}})}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(l.JF))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const ei=new v.OlP("XSRF_COOKIE_NAME"),Fr=new v.OlP("XSRF_HEADER_NAME");class tr{}let cr=(()=>{class ne{constructor($,Ce,be){this.doc=$,this.platform=Ce,this.cookieName=be,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const $=this.doc.cookie||"";return $!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.Mx)($,this.cookieName),this.lastCookieString=$),this.lastToken}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(l.K0),v.LFG(v.Lbi),v.LFG(ei))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})(),xr=(()=>{class ne{constructor($,Ce){this.tokenService=$,this.headerName=Ce}intercept($,Ce){const be=$.url.toLowerCase();if("GET"===$.method||"HEAD"===$.method||be.startsWith("http://")||be.startsWith("https://"))return Ce.handle($);const Se=this.tokenService.getToken();return null!==Se&&!$.headers.has(this.headerName)&&($=$.clone({headers:$.headers.set(this.headerName,Se)})),Ce.handle($)}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(tr),v.LFG(Fr))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})(),di=(()=>{class ne{constructor($,Ce){this.backend=$,this.injector=Ce,this.chain=null}handle($){if(null===this.chain){const Ce=this.injector.get(Yt,[]);this.chain=Ce.reduceRight((be,Se)=>new Vt(be,Se),this.backend)}return this.chain.handle($)}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(we),v.LFG(v.zs3))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})(),wr=(()=>{class ne{static disable(){return{ngModule:ne,providers:[{provide:xr,useClass:Ur}]}}static withOptions($={}){return{ngModule:ne,providers:[$.cookieName?{provide:ei,useValue:$.cookieName}:[],$.headerName?{provide:Fr,useValue:$.headerName}:[]]}}}return ne.\u0275fac=function($){return new($||ne)},ne.\u0275mod=v.oAB({type:ne}),ne.\u0275inj=v.cJS({providers:[xr,{provide:Yt,useExisting:xr,multi:!0},{provide:tr,useClass:cr},{provide:ei,useValue:"XSRF-TOKEN"},{provide:Fr,useValue:"X-XSRF-TOKEN"}]}),ne})(),mr=(()=>{class ne{}return ne.\u0275fac=function($){return new($||ne)},ne.\u0275mod=v.oAB({type:ne}),ne.\u0275inj=v.cJS({providers:[Fe,{provide:oe,useClass:di},er,{provide:we,useExisting:er}],imports:[[wr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ne})()},5062:(Me,Q,x)=>{"use strict";x.d(Q,{deG:()=>br,tb:()=>Jv,AFp:()=>Zv,ip1:()=>Yv,CZH:()=>Em,hGG:()=>eE,z2F:()=>Am,sBO:()=>Vb,Sil:()=>mb,_Vd:()=>Lh,EJc:()=>pb,SBq:()=>vd,qLn:()=>Ra,vpe:()=>_a,tBr:()=>Ni,XFs:()=>me,OlP:()=>At,zs3:()=>Is,ZZ4:()=>Lm,aQg:()=>Vm,soG:()=>Mm,YKP:()=>sv,h0i:()=>Lu,PXZ:()=>xb,R0b:()=>zs,FiY:()=>Oa,Lbi:()=>db,g9A:()=>Qv,Qsj:()=>uw,FYo:()=>nv,JOm:()=>Ts,tp0:()=>Dl,Rgc:()=>Ed,dDg:()=>tC,GfV:()=>rv,s_b:()=>Uh,ifc:()=>Pt,eFA:()=>iC,G48:()=>Lb,Gpc:()=>Ge,X6Q:()=>kb,_c5:()=>Xb,VLi:()=>Sb,c2e:()=>fb,zSh:()=>Xc,wAp:()=>Pn,vHH:()=>qe,cg1:()=>em,kL8:()=>Sy,dqk:()=>jt,sIi:()=>jl,CqO:()=>A_,QGY:()=>zg,F4k:()=>O_,RDi:()=>k,AaK:()=>ye,qOj:()=>ad,TTD:()=>$i,_Bn:()=>Xy,xp6:()=>Ef,uIk:()=>cd,Tol:()=>X_,Gre:()=>gy,ekj:()=>Kg,Suo:()=>Sv,Xpm:()=>$t,lG2:()=>Tt,Yz7:()=>er,cJS:()=>Fr,oAB:()=>Re,Yjl:()=>yt,Y36:()=>Hi,_UZ:()=>$g,GkF:()=>Gg,BQk:()=>Ph,ynx:()=>Th,qZA:()=>zl,TgZ:()=>qo,EpF:()=>x_,n5z:()=>w,Ikx:()=>Xg,LFG:()=>gr,$8M:()=>h,$Z:()=>Xi,NdJ:()=>Wg,CRH:()=>Tv,oxw:()=>F_,Hsn:()=>L_,F$t:()=>k_,Q6J:()=>ao,s9C:()=>Yg,MGl:()=>xh,hYB:()=>Zg,DdM:()=>cv,VKq:()=>dv,WLB:()=>fv,kEZ:()=>hv,iGM:()=>Dv,MAs:()=>bh,CHM:()=>si,LSH:()=>fu,YNc:()=>wh,W1O:()=>Av,_uU:()=>sy,Oqu:()=>Jg,hij:()=>Ah,Gf:()=>Mv});var l=x(5529),v=x(2654),K=x(2916),z=x(6787),q=x(1762);class re{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:i}=this,o=this.subjectFactory(),a=i(o).subscribe(t);return a.add(n.subscribe(o)),a}}var oe=x(4327);function we(){return new l.xQ}function Y(e){for(let t in e)if(e[t]===Y)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ye(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ye).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 je(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ke=Y({__forward_ref__:Y});function Ge(e){return e.__forward_ref__=Ge,e.toString=function(){return ye(this())},e}function Ze(e){return Jt(e)?e():e}function Jt(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===Ge}class qe extends Error{constructor(t,n){super(function ct(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Le(e){return"string"==typeof e?e:null==e?"":String(e)}function _t(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Le(e)}function dn(e,t){const n=t?` in ${t}`:"";throw new qe(-201,`No provider for ${_t(e)} found${n}`)}function Bn(e,t){null==e&&function An(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function er(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Fr(e){return{providers:e.providers||[],imports:e.imports||[]}}function tr(e){return cr(e,fi)||cr(e,mr)}function cr(e,t){return e.hasOwnProperty(t)?e[t]:null}function dr(e){return e&&(e.hasOwnProperty(wr)||e.hasOwnProperty(le))?e[wr]:null}const fi=Y({\u0275prov:Y}),wr=Y({\u0275inj:Y}),mr=Y({ngInjectableDef:Y}),le=Y({ngInjectorDef:Y});var me=(()=>((me=me||{})[me.Default=0]="Default",me[me.Host=1]="Host",me[me.Self=2]="Self",me[me.SkipSelf=4]="SkipSelf",me[me.Optional=8]="Optional",me))();let ne;function $(e){const t=ne;return ne=e,t}function Ce(e,t,n){const i=tr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&me.Optional?null:void 0!==t?t:void dn(ye(e),"Injector")}function Se(e){return{toString:e}.toString()}var $e=(()=>(($e=$e||{})[$e.OnPush=0]="OnPush",$e[$e.Default=1]="Default",$e))(),Pt=(()=>{return(e=Pt||(Pt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Pt;var e})();const Dt=typeof globalThis<"u"&&globalThis,Mt=typeof window<"u"&&window,on=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,jt=Dt||typeof global<"u"&&global||Mt||on,pt={},Wt=[],Cn=Y({\u0275cmp:Y}),Un=Y({\u0275dir:Y}),xn=Y({\u0275pipe:Y}),Rt=Y({\u0275mod:Y}),Dn=Y({\u0275fac:Y}),tt=Y({__NG_ELEMENT_ID__:Y});let mn=0;function $t(e){return Se(()=>{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===$e.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Wt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Pt.Emulated,id:"c",styles:e.styles||Wt,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,p=e.pipes;return i.id+=mn++,i.inputs=xt(e.inputs,n),i.outputs=xt(e.outputs),a&&a.forEach(C=>C(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Ie):null,i.pipeDefs=p?()=>("function"==typeof p?p():p).map(pe):null,i})}function Ie(e){return ue(e)||function De(e){return e[Un]||null}(e)}function pe(e){return function wt(e){return e[xn]||null}(e)}const J={};function Re(e){return Se(()=>{const t={type:e.type,bootstrap:e.bootstrap||Wt,declarations:e.declarations||Wt,imports:e.imports||Wt,exports:e.exports||Wt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(J[e.id]=e.type),t})}function xt(e,t){if(null==e)return pt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=i,t&&(t[o]=a)}return n}const Tt=$t;function yt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ue(e){return e[Cn]||null}function qt(e,t){const n=e[Rt]||null;if(!n&&!0===t)throw new Error(`Type ${ye(e)} does not have '\u0275mod' property.`);return n}const O=20;function en(e){return Array.isArray(e)&&"object"==typeof e[1]}function Yn(e){return Array.isArray(e)&&!0===e[1]}function Ar(e){return 0!=(8&e.flags)}function pr(e){return 2==(2&e.flags)}function qn(e){return 1==(1&e.flags)}function _r(e){return null!==e.template}function hi(e){return 0!=(512&e[2])}function Di(e,t){return e.hasOwnProperty(Dn)?e[Dn]:null}class No{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function $i(){return Qo}function Qo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Jo),fs}function fs(){const e=hs(this),t=e?.current;if(t){const n=e.previous;if(n===pt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Jo(e,t,n,i){const o=hs(e)||function Gr(e,t){return e[yo]=t}(e,{previous:pt,current:null}),a=o.current||(o.current={}),p=o.previous,C=this.declaredInputs[n],b=p[C];a[C]=new No(b&&b.currentValue,t,p===pt),e[i]=t}$i.ngInherit=!0;const yo="__ngSimpleChanges__";function hs(e){return e[yo]||null}let S;function k(e){S=e}function ge(e){return!!e.listen}const He={createRenderer:(e,t)=>function T(){return void 0!==S?S:typeof document<"u"?document:void 0}()};function bt(e){for(;Array.isArray(e);)e=e[0];return e}function Hn(e,t){return bt(t[e])}function Ot(e,t){return bt(t[e.index])}function jn(e,t){return e.data[t]}function Lr(e,t){const n=t[e];return en(n)?n:n[0]}function Si(e){return 4==(4&e[2])}function eo(e){return 128==(128&e[2])}function Ti(e,t){return null==t?null:e[t]}function Ai(e){e[18]=0}function Ir(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 Sn={lFrame:$r(null),bindingsEnabled:!0};function Ys(){return Sn.bindingsEnabled}function lt(){return Sn.lFrame.lView}function $n(){return Sn.lFrame.tView}function si(e){return Sn.lFrame.contextLView=e,e[8]}function jr(){let e=zi();for(;null!==e&&64===e.type;)e=e.parent;return e}function zi(){return Sn.lFrame.currentTNode}function gi(e,t){const n=Sn.lFrame;n.currentTNode=e,n.isParent=t}function uo(){return Sn.lFrame.isParent}function mi(){Sn.lFrame.isParent=!1}function E(){const e=Sn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function he(){return Sn.lFrame.bindingIndex++}function ae(e){const t=Sn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ut(e,t){const n=Sn.lFrame;n.bindingIndex=n.bindingRootIndex=e,sn(t)}function sn(e){Sn.lFrame.currentDirectiveIndex=e}function ln(){return Sn.lFrame.currentQueryIndex}function On(e){Sn.lFrame.currentQueryIndex=e}function ar(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Wr(e,t,n){if(n&me.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&me.Host||(o=ar(a),null===o||(a=a[15],10&o.type))););if(null===o)return!1;t=o,e=a}const i=Sn.lFrame=ai();return i.currentTNode=t,i.lView=e,!0}function Vr(e){const t=ai(),n=e[1];Sn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ai(){const e=Sn.lFrame,t=null===e?null:e.child;return null===t?$r(e):t}function $r(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 Ee(){const e=Sn.lFrame;return Sn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ze=Ee;function Be(){const e=Ee();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 fn(){return Sn.lFrame.selectedIndex}function vr(e){Sn.lFrame.selectedIndex=e}function hn(){const e=Sn.lFrame;return jn(e.tView,e.selectedIndex)}function kn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:p,ngAfterContentChecked:C,ngAfterViewInit:b,ngAfterViewChecked:A,ngOnDestroy:F}=a;p&&(e.contentHooks||(e.contentHooks=[])).push(-n,p),C&&((e.contentHooks||(e.contentHooks=[])).push(n,C),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,C)),b&&(e.viewHooks||(e.viewHooks=[])).push(-n,b),A&&((e.viewHooks||(e.viewHooks=[])).push(n,A),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,A)),null!=F&&(e.destroyHooks||(e.destroyHooks=[])).push(n,F)}}function Rr(e,t,n){Wi(e,t,3,n)}function Nn(e,t,n,i){(3&e[2])===n&&Wi(e,t,n,i)}function _i(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Wi(e,t,n,i){const a=i??-1,p=t.length-1;let C=0;for(let b=void 0!==i?65535&e[18]:0;b<p;b++)if("number"==typeof t[b+1]){if(C=t[b],null!=i&&C>=i)break}else t[b]<0&&(e[18]+=65536),(C<a||-1==a)&&(lr(e,n,t,b),e[18]=(4294901760&e[18])+b+2),b++}function lr(e,t,n,i){const o=n[i]<0,a=n[i+1],C=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{a.call(C)}finally{}}}else try{a.call(C)}finally{}}class ns{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function _s(e,t,n){const i=ge(e);let o=0;for(;o<n.length;){const a=n[o];if("number"==typeof a){if(0!==a)break;o++;const p=n[o++],C=n[o++],b=n[o++];i?e.setAttribute(t,C,b,p):t.setAttributeNS(p,C,b)}else{const p=a,C=n[++o];ni(p)?i&&e.setProperty(t,p,C):i?e.setAttribute(t,p,C):t.setAttribute(p,C),o++}}return o}function ya(e){return 3===e||4===e||6===e}function ni(e){return 64===e.charCodeAt(0)}function bo(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||Vs(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function Vs(e,t,n,i,o){let a=0,p=e.length;if(-1===t)p=-1;else for(;a<e.length;){const C=e[a++];if("number"==typeof C){if(C===t){p=-1;break}if(C>t){p=a-1;break}}}for(;a<e.length;){const C=e[a];if("number"==typeof C)break;if(C===n){if(null===i)return void(null!==o&&(e[a+1]=o));if(i===e[a+1])return void(e[a+2]=o)}a++,null!==i&&a++,null!==o&&a++}-1!==p&&(e.splice(p,0,t),a=p+1),e.splice(a++,0,n),null!==i&&e.splice(a++,0,i),null!==o&&e.splice(a++,0,o)}function va(e){return-1!==e}function Fo(e){return 32767&e}function ko(e,t){let n=function ys(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Bs=!0;function vs(e){const t=Bs;return Bs=e,t}let wa=0;function Mr(e,t){const n=ba(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Js(i.data,e),Js(t,null),Js(i.blueprint,null));const o=xi(e,t),a=e.injectorIndex;if(va(o)){const p=Fo(o),C=ko(o,t),b=C[1].data;for(let A=0;A<8;A++)t[a+A]=C[p+A]|b[p+A]}return t[a+8]=o,a}function Js(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ba(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function xi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){const a=o[1],p=a.type;if(i=2===p?a.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 Sr(e,t,n){!function li(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(tt)&&(i=n[tt]),null==i&&(i=n[tt]=wa++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Lo(e,t,n){if(n&me.Optional)return e;dn(t,"NodeInjector")}function Ea(e,t,n,i){if(n&me.Optional&&void 0===i&&(i=null),0==(n&(me.Self|me.Host))){const o=e[9],a=$(void 0);try{return o?o.get(t,i,n&me.Optional):Ce(t,i,n&me.Optional)}finally{$(a)}}return Lo(i,t,n)}function vi(e,t,n,i=me.Default,o){if(null!==e){const a=function Zl(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(tt)?e[tt]:void 0;return"number"==typeof t?t>=0?255&t:Us:t}(n);if("function"==typeof a){if(!Wr(t,e,i))return i&me.Host?Lo(o,n,i):Ea(t,n,i,o);try{const p=a(i);if(null!=p||i&me.Optional)return p;dn(n)}finally{ze()}}else if("number"==typeof a){let p=null,C=ba(e,t),b=-1,A=i&me.Host?t[16][6]:null;for((-1===C||i&me.SkipSelf)&&(b=-1===C?xi(e,t):t[C+8],-1!==b&&wl(i,!1)?(p=t[1],C=Fo(b),t=ko(b,t)):C=-1);-1!==C;){const F=t[1];if(Ha(a,C,F.data)){const X=Xs(C,t,n,p,i,A);if(X!==Cs)return X}b=t[C+8],-1!==b&&wl(i,t[1].data[C+8]===A)&&Ha(a,C,t)?(p=F,C=Fo(b),t=ko(b,t)):C=-1}}}return Ea(t,n,i,o)}const Cs={};function Us(){return new ta(jr(),lt())}function Xs(e,t,n,i,o,a){const p=t[1],C=p.data[e+8],F=ro(C,p,n,null==i?pr(C)&&Bs:i!=p&&0!=(3&C.type),o&me.Host&&a===C);return null!==F?ea(t,p,F,C):Cs}function ro(e,t,n,i,o){const a=e.providerIndexes,p=t.data,C=1048575&a,b=e.directiveStart,F=a>>20,_e=o?C+F:e.directiveEnd;for(let xe=i?C:C+F;xe<_e;xe++){const et=p[xe];if(xe<b&&n===et||xe>=b&&et.type===n)return xe}if(o){const xe=p[b];if(xe&&_r(xe)&&xe.type===n)return b}return null}function ea(e,t,n,i){let o=e[n];const a=t.data;if(function yi(e){return e instanceof ns}(o)){const p=o;p.resolving&&function rn(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new qe(-200,`Circular dependency in DI detected for ${e}${n}`)}(_t(a[n]));const C=vs(p.canSeeViewProviders);p.resolving=!0;const b=p.injectImpl?$(p.injectImpl):null;Wr(e,i,me.Default);try{o=e[n]=p.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function pn(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(i){const p=Qo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,p),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,p)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==b&&$(b),vs(C),p.resolving=!1,ze()}}return o}function Ha(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function wl(e,t){return!(e&me.Self||e&me.Host&&t)}class ta{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return vi(this._tNode,this._lView,t,i,n)}}function w(e){return Se(()=>{const t=e.prototype.constructor,n=t[Dn]||m(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const a=o[Dn]||m(o);if(a&&a!==n)return a;o=Object.getPrototypeOf(o)}return a=>new a})}function m(e){return Jt(e)?()=>{const t=m(Ze(e));return t&&t()}:Di(e)}function h(e){return function no(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 a=n[o];if(ya(a))break;if(0===a)o+=2;else if("number"==typeof a)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(a===t)return n[o+1];o+=2}}}return null}(jr(),e)}const P="__parameters__";function Je(e,t,n){return Se(()=>{const i=function se(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...a){if(this instanceof o)return i.apply(this,a),this;const p=new o(...a);return C.annotation=p,C;function C(b,A,F){const X=b.hasOwnProperty(P)?b[P]:Object.defineProperty(b,P,{value:[]})[P];for(;X.length<=F;)X.push(null);return(X[F]=X[F]||[]).push(p),b}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class At{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=er({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const br=new At("AnalyzeForEntryComponents");function fo(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)),fo(i,t)):t!==e&&t.push(i)}return t}function Bo(e,t){e.forEach(n=>Array.isArray(n)?Bo(n,t):t(n))}function ju(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function rs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ja(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function ho(e,t,n){let i=Eo(e,t);return i>=0?e[1|i]=n:(i=~i,function Td(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 Sa(e,t){const n=Eo(e,t);if(n>=0)return e[1|n]}function Eo(e,t){return function Kl(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const a=i+(o-i>>1),p=e[a<<n];if(t===p)return a<<n;p>t?o=a:i=a+1}return~(o<<n)}(e,t,1)}const u={},D="__NG_DI_FLAG__",fe="ngTempTokenPath",cn=/\n/gm,Tr="__source",Do=Y({provide:String,useValue:Y});let oo;function Ql(e){const t=oo;return oo=e,t}function Jl(e,t=me.Default){if(void 0===oo)throw new qe(203,"");return null===oo?Ce(e,void 0,t):oo.get(e,t&me.Optional?null:void 0,t)}function gr(e,t=me.Default){return(function H(){return ne}()||Jl)(Ze(e),t)}const Pd=gr;function jo(e){const t=[];for(let n=0;n<e.length;n++){const i=Ze(e[n]);if(Array.isArray(i)){if(0===i.length)throw new qe(900,"");let o,a=me.Default;for(let p=0;p<i.length;p++){const C=i[p],b=eu(C);"number"==typeof b?-1===b?o=C.token:a|=b:o=C}t.push(gr(o,a))}else t.push(gr(i))}return t}function Pa(e,t){return e[D]=t,e.prototype[D]=t,e}function eu(e){return e[D]}const Ni=Pa(Je("Inject",e=>({token:e})),-1),Oa=Pa(Je("Optional"),8),Dl=Pa(Je("SkipSelf"),4);class kd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Fn(e){return e instanceof kd?e.changingThisBreaksApplicationSecurity:e}const Ud=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ra=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var bi=(()=>((bi=bi||{})[bi.NONE=0]="NONE",bi[bi.HTML=1]="HTML",bi[bi.STYLE=2]="STYLE",bi[bi.SCRIPT=3]="SCRIPT",bi[bi.URL=4]="URL",bi[bi.RESOURCE_URL=5]="RESOURCE_URL",bi))();function fu(e){const t=function ia(){const e=lt();return e&&e[12]}();return t?t.sanitize(bi.URL,e)||"":function Tl(e,t){const n=function tp(e){return e instanceof kd&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?Fn(e):function za(e){return(e=String(e)).match(Ud)||e.match(ra)?e:"unsafe:"+e}(Le(e))}const Ol="__ngContext__";function Zi(e,t){e[Ol]=t}function Qa(e){const t=function Ka(e){return e[Ol]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Al(e){return e.ngOriginalError}function pc(e,...t){e.error(...t)}class Ra{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function hc(e){return e&&e.ngErrorLogger||pc}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Al(t);for(;n&&Al(n);)n=Al(n);return n||null}}const hp=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(jt))();function Ss(e){return e instanceof Function?e():e}var Ts=(()=>((Ts=Ts||{})[Ts.Important=1]="Important",Ts[Ts.DashCase=2]="DashCase",Ts))();function _c(e,t){return undefined(e,t)}function tl(e){const t=e[3];return Yn(t)?t[3]:t}function vc(e){return sf(e[13])}function Cc(e){return sf(e[4])}function sf(e){for(;null!==e&&!Yn(e);)e=e[4];return e}function Fa(e,t,n,i,o){if(null!=i){let a,p=!1;Yn(i)?a=i:en(i)&&(p=!0,i=i[0]);const C=bt(i);0===e&&null!==n?null==o?hf(t,n,C):La(t,n,C,o||null,!0):1===e&&null!==n?La(t,n,C,o||null,!0):2===e?function _f(e,t,n){const i=_u(e,t);i&&function vp(e,t,n,i){ge(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,C,p):3===e&&t.destroyNode(C),null!=a&&function bp(e,t,n,i,o){const a=n[7];a!==bt(n)&&Fa(t,e,i,a,o);for(let C=10;C<n.length;C++){const b=n[C];Nl(b[1],b,e,t,i,a)}}(t,e,a,n,o)}}function ka(e,t,n){if(ge(e))return e.createElement(t,n);{const i=null!==n?function ps(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===i?e.createElement(t):e.createElementNS(i,t)}}function sa(e,t){const n=e[9],i=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Ir(o,-1)),n.splice(i,1)}function Ec(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&sa(o,i),t>0&&(e[n-1][4]=i[4]);const a=rs(e,10+t);!function bc(e,t){Nl(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const p=a[19];null!==p&&p.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Dc(e,t){if(!(256&t[2])){const n=t[11];ge(n)&&n.destroyNode&&Nl(e,t,n,3,null,null),function mu(e){let t=e[13];if(!t)return Mc(e[1],e);for(;t;){let n=null;if(en(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)en(t)&&Mc(t[1],t),t=t[3];null===t&&(t=e),en(t)&&Mc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Mc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function yp(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 ns)){const a=n[i+1];if(Array.isArray(a))for(let p=0;p<a.length;p+=2){const C=o[a[p]],b=a[p+1];try{b.call(C)}finally{}}else try{a.call(o)}finally{}}}}(e,t),function _p(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const p=n[a+1],C="function"==typeof p?p(t):bt(t[p]),b=i[o=n[a+2]],A=n[a+3];"boolean"==typeof A?C.removeEventListener(n[a],b,A):A>=0?i[o=A]():i[o=-A].unsubscribe(),a+=2}else{const p=i[o=n[a+1]];n[a].call(p)}if(null!==i){for(let a=o+1;a<i.length;a++)i[a]();t[7]=null}}(e,t),1===t[1].type&&ge(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Yn(t[3])){n!==t[3]&&sa(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function df(e,t,n){return function ff(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===Pt.None||o===Pt.Emulated)return null}return Ot(i,n)}(e,t.parent,n)}function La(e,t,n,i,o){ge(e)?e.insertBefore(t,n,i,o):t.insertBefore(n,i,o)}function hf(e,t,n){ge(e)?e.appendChild(t,n):t.appendChild(n)}function pf(e,t,n,i,o){null!==i?La(e,t,n,i,o):hf(e,t,n)}function _u(e,t){return ge(e)?e.parentNode(t):t.parentNode}function Sc(e,t,n){return Pc(e,t,n)}let Pc=function Tc(e,t,n){return 40&e.type?Ot(e,n):null};function yu(e,t,n,i){const o=df(e,i,t),a=t[11],C=Sc(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let b=0;b<n.length;b++)pf(a,o,n[b],C,!1);else pf(a,o,n,C,!1)}function Rl(e,t){if(null!==t){const n=t.type;if(3&n)return Ot(t,e);if(4&n)return Oc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Rl(e,i);{const o=e[t.index];return Yn(o)?Oc(-1,o):bt(o)}}if(32&n)return _c(t,e)()||bt(e[t.index]);{const i=mf(e,t);return null!==i?Array.isArray(i)?i[0]:Rl(tl(e[16]),i):Rl(e,t.next)}}return null}function mf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Oc(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return Rl(i,o)}return t[7]}function Ac(e,t,n,i,o,a,p){for(;null!=n;){const C=i[n.index],b=n.type;if(p&&0===t&&(C&&Zi(bt(C),i),n.flags|=4),64!=(64&n.flags))if(8&b)Ac(e,t,n.child,i,o,a,!1),Fa(t,e,o,C,a);else if(32&b){const A=_c(n,i);let F;for(;F=A();)Fa(t,e,o,F,a);Fa(t,e,o,C,a)}else 16&b?So(e,t,i,n,o,a):Fa(t,e,o,C,a);n=p?n.projectionNext:n.next}}function Nl(e,t,n,i,o,a){Ac(n,i,e.firstChild,t,o,a,!1)}function So(e,t,n,i,o,a){const p=n[16],b=p[6].projection[i.projection];if(Array.isArray(b))for(let A=0;A<b.length;A++)Fa(t,e,o,b[A],a);else Ac(e,t,b,p[3],o,a,!0)}function yf(e,t,n){ge(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function vu(e,t,n){ge(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function vf(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 a=t.length;if(o+a===i||e.charCodeAt(o+a)<=32)return o}n=o+1}}const Cf="ng-template";function Dp(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==vf(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 Cu(e){return 4===e.type&&e.value!==Cf}function Mp(e,t,n){return t===(4!==e.type||n?e.value:Cf)}function Sp(e,t,n){let i=4;const o=e.attrs||[],a=function xp(e){for(let t=0;t<e.length;t++)if(ya(e[t]))return t;return e.length}(o);let p=!1;for(let C=0;C<t.length;C++){const b=t[C];if("number"!=typeof b){if(!p)if(4&i){if(i=2|1&i,""!==b&&!Mp(e,b,n)||""===b&&1===t.length){if(os(i))return!1;p=!0}}else{const A=8&i?b:t[++C];if(8&i&&null!==e.attrs){if(!Dp(e.attrs,A,n)){if(os(i))return!1;p=!0}continue}const X=Tp(8&i?"class":b,o,Cu(e),n);if(-1===X){if(os(i))return!1;p=!0;continue}if(""!==A){let _e;_e=X>a?"":o[X+1].toLowerCase();const xe=8&i?_e:null;if(xe&&-1!==vf(xe,A,0)||2&i&&A!==_e){if(os(i))return!1;p=!0}}}}else{if(!p&&!os(i)&&!os(b))return!1;if(p&&os(b))continue;p=!1,i=b|1&i}}return os(i)||p}function os(e){return 0==(1&e)}function Tp(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let a=!1;for(;o<t.length;){const p=t[o];if(p===e)return o;if(3===p||6===p)a=!0;else{if(1===p||2===p){let C=t[++o];for(;"string"==typeof C;)C=t[++o];continue}if(4===p)break;if(0===p){o+=4;continue}}o+=a?1:2}return-1}return function Op(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 wf(e,t,n=!1){for(let i=0;i<t.length;i++)if(Sp(e,t[i],n))return!0;return!1}function Ap(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 bf(e,t){return e?":not("+t.trim()+")":t}function Ip(e){let t=e[0],n=1,i=2,o="",a=!1;for(;n<e.length;){let p=e[n];if("string"==typeof p)if(2&i){const C=e[++n];o+="["+p+(C.length>0?'="'+C+'"':"")+"]"}else 8&i?o+="."+p:4&i&&(o+=" "+p);else""!==o&&!os(p)&&(t+=bf(a,o),o=""),i=p,a=a||!os(i);n++}return""!==o&&(t+=bf(a,o)),t}const Ln={};function Ef(e){Df($n(),lt(),fn()+e,!1)}function Df(e,t,n,i){if(!i)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&Rr(t,a,n)}else{const a=e.preOrderHooks;null!==a&&Nn(t,a,0,n)}vr(n)}function wu(e,t){return e<<17|t<<2}function ss(e){return e>>17&32767}function bu(e){return 2|e}function js(e){return(131068&e)>>2}function Rc(e,t){return-131069&e|t<<2}function Nc(e){return 1|e}function $c(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],a=n[i+1];if(-1!==a){const p=e.data[a];On(o),p.contentQueries(2,t[a],a)}}}function rl(e,t,n,i,o,a,p,C,b,A){const F=t.blueprint.slice();return F[0]=o,F[2]=140|i,Ai(F),F[3]=F[15]=e,F[8]=n,F[10]=p||e&&e[10],F[11]=C||e&&e[11],F[12]=b||e&&e[12]||null,F[9]=A||e&&e[9]||null,F[6]=a,F[16]=2==t.type?e[16]:F,F}function Va(e,t,n,i,o){let a=e.data[t];if(null===a)a=function Mu(e,t,n,i,o){const a=zi(),p=uo(),b=e.data[t]=function Wp(e,t,n,i,o,a){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:a,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?a:a&&a.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=b),null!==a&&(p?null==a.child&&null!==b.parent&&(a.child=b):null===a.next&&(a.next=b)),b}(e,t,n,i,o),function Pe(){return Sn.lFrame.inI18n}()&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=i,a.attrs=o;const p=function wo(){const e=Sn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===p?-1:p.injectorIndex}return gi(a,!0),a}function il(e,t,n,i){if(0===n)return-1;const o=t.length;for(let a=0;a<n;a++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function kl(e,t,n){Vr(t);try{const i=e.viewQuery;null!==i&&Kc(1,i,n);const o=e.template;null!==o&&Ll(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&$c(e,t),e.staticViewQueries&&Kc(2,e.viewQuery,n);const a=e.components;null!==a&&function kf(e,t){for(let n=0;n<t.length;n++)Yf(e,t[n])}(t,a)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Be()}}function ol(e,t,n,i){const o=t[2];if(256!=(256&o)){Vr(t);try{Ai(t),function W(e){return Sn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ll(e,t,n,2,i);const p=3==(3&o);if(p){const A=e.preOrderCheckHooks;null!==A&&Rr(t,A,null)}else{const A=e.preOrderHooks;null!==A&&Nn(t,A,0,null),_i(t,0)}if(function ng(e){for(let t=vc(e);null!==t;t=Cc(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],a=o[3];0==(1024&o[2])&&Ir(a,1),o[2]|=1024}}}(t),function tg(e){for(let t=vc(e);null!==t;t=Cc(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];eo(i)&&ol(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&$c(e,t),p){const A=e.contentCheckHooks;null!==A&&Rr(t,A)}else{const A=e.contentHooks;null!==A&&Nn(t,A,1),_i(t,1)}!function Ff(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)vr(~o);else{const a=o,p=n[++i],C=n[++i];Ut(p,a),C(2,t[a])}}}finally{vr(-1)}}(e,t);const C=e.components;null!==C&&function Gc(e,t){for(let n=0;n<t.length;n++)rg(e,t[n])}(t,C);const b=e.viewQuery;if(null!==b&&Kc(2,b,i),p){const A=e.viewCheckHooks;null!==A&&Rr(t,A)}else{const A=e.viewHooks;null!==A&&Nn(t,A,2),_i(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,Ir(t[3],-1))}finally{Be()}}}function Su(e,t,n,i){const o=t[10],p=Si(t);try{!p&&o.begin&&o.begin(),p&&kl(e,t,i),ol(e,t,n,i)}finally{!p&&o.end&&o.end()}}function Ll(e,t,n,i,o){const a=fn(),p=2&i;try{vr(-1),p&&t.length>O&&Df(e,t,O,!1),n(i,o)}finally{vr(a)}}function Lf(e,t,n){if(Ar(t)){const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const p=e.data[a];p.contentQueries&&p.contentQueries(1,n[a],a)}}}function zc(e,t,n){!Ys()||(function ca(e,t,n,i){const o=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||Mr(n,t),Zi(i,t);const p=n.initialInputs;for(let C=o;C<a;C++){const b=e.data[C],A=_r(b);A&&zf(t,n,b);const F=ea(t,e,C,n);Zi(F,t),null!==p&&ci(0,C-o,F,b,0,p),A&&(Lr(n.index,t)[8]=F)}}(e,t,n,Ot(n,t)),128==(128&n.flags)&&function Jp(e,t,n){const i=n.directiveStart,o=n.directiveEnd,p=n.index,C=function tn(){return Sn.lFrame.currentDirectiveIndex}();try{vr(p);for(let b=i;b<o;b++){const A=e.data[b],F=t[b];sn(b),(null!==A.hostBindings||0!==A.hostVars||null!==A.hostAttrs)&&jf(A,F)}}finally{vr(-1),sn(C)}}(e,t,n))}function Vl(e,t,n=Ot){const i=t.localNames;if(null!==i){let o=t.index+1;for(let a=0;a<i.length;a+=2){const p=i[a+1],C=-1===p?n(t,e):e[p];e[o++]=C}}}function Wc(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Tu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Tu(e,t,n,i,o,a,p,C,b,A){const F=O+i,X=F+o,_e=function zp(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Ln);return n}(F,X),xe="function"==typeof A?A():A;return _e[1]={type:e,blueprint:_e,template:n,queries:null,viewQuery:C,declTNode:t,data:_e.slice().fill(null,F),bindingStartIndex:F,expandoStartIndex:X,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 a?a():a,pipeRegistry:"function"==typeof p?p():p,firstChild:null,schemas:b,consts:xe,incompleteFirstPass:!1}}function Uf(e,t,n,i){const o=Qc(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&Os(e).push(i,o.length-1))}function Hf(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 To(e,t,n,i,o,a,p,C){const b=Ot(t,n);let F,A=t.inputs;!C&&null!=A&&(F=A[i])?(xo(e,n,F,i,o),pr(t)&&function Zp(e,t){const n=Lr(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function Yp(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,ge(a)?a.setProperty(b,i,o):ni(i)||(b.setProperty?b.setProperty(i,o):b[i]=o))}function Ji(e,t,n,i){let o=!1;if(Ys()){const a=function Xp(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let a=0;a<i.length;a++){const p=i[a];wf(n,p.selectors,!1)&&(o||(o=[]),Sr(Mr(n,t),e,p.type),_r(p)?($f(e,n),o.unshift(p)):o.push(p))}return o}(e,t,n),p=null===i?null:{"":-1};if(null!==a){o=!0,Gf(n,e.data.length,a.length);for(let F=0;F<a.length;F++){const X=a[F];X.providersResolver&&X.providersResolver(X)}let C=!1,b=!1,A=il(e,t,a.length,null);for(let F=0;F<a.length;F++){const X=a[F];n.mergedAttrs=bo(n.mergedAttrs,X.hostAttrs),xs(e,n,t,A,X),qc(A,X,p),null!==X.contentQueries&&(n.flags|=8),(null!==X.hostBindings||null!==X.hostAttrs||0!==X.hostVars)&&(n.flags|=128);const _e=X.type.prototype;!C&&(_e.ngOnChanges||_e.ngOnInit||_e.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),C=!0),!b&&(_e.ngOnChanges||_e.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),b=!0),A++}!function qp(e,t){const i=t.directiveEnd,o=e.data,a=t.attrs,p=[];let C=null,b=null;for(let A=t.directiveStart;A<i;A++){const F=o[A],X=F.inputs,_e=null===a||Cu(t)?null:Wf(X,a);p.push(_e),C=Hf(X,A,C),b=Hf(F.outputs,A,b)}null!==C&&(C.hasOwnProperty("class")&&(t.flags|=16),C.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=p,t.inputs=C,t.outputs=b}(e,n)}p&&function eg(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const a=n[t[o+1]];if(null==a)throw new qe(-301,!1);i.push(t[o],a)}}}(n,i,p)}return n.mergedAttrs=bo(n.mergedAttrs,n.attrs),o}function ui(e,t,n,i,o,a){const p=a.hostBindings;if(p){let C=e.hostBindingOpCodes;null===C&&(C=e.hostBindingOpCodes=[]);const b=~t.index;(function Qp(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(C)!=b&&C.push(b),C.push(i,o,p)}}function jf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function $f(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function qc(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;_r(t)&&(n[""]=e)}}function Gf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function xs(e,t,n,i,o){e.data[i]=o;const a=o.factory||(o.factory=Di(o.type)),p=new ns(a,_r(o),null);e.blueprint[i]=p,n[i]=p,ui(e,t,0,i,il(e,n,o.hostVars,Ln),o)}function zf(e,t,n){const i=Ot(t,e),o=Wc(n),a=e[10],p=sl(e,rl(e,o,null,n.onPush?64:16,i,t,a,a.createRenderer(i,n),null,null));e[t.index]=p}function Po(e,t,n,i,o,a){const p=Ot(e,t);!function Kr(e,t,n,i,o,a,p){if(null==a)ge(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const C=null==p?Le(a):p(a,i||"",o);ge(e)?e.setAttribute(t,o,C,n):n?t.setAttributeNS(n,o,C):t.setAttribute(o,C)}}(t[11],p,a,e.value,n,i,o)}function ci(e,t,n,i,o,a){const p=a[t];if(null!==p){const C=i.setInput;for(let b=0;b<p.length;){const A=p[b++],F=p[b++],X=p[b++];null!==C?i.setInput(n,X,A,F):n[F]=X}}}function Wf(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 qf(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function rg(e,t){const n=Lr(t,e);if(eo(n)){const i=n[1];80&n[2]?ol(i,n,i.template,n[8]):n[5]>0&&Yc(n)}}function Yc(e){for(let i=vc(e);null!==i;i=Cc(i))for(let o=10;o<i.length;o++){const a=i[o];if(1024&a[2]){const p=a[1];ol(p,a,p.template,a[8])}else a[5]>0&&Yc(a)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=Lr(n[i],e);eo(o)&&o[5]>0&&Yc(o)}}function Yf(e,t){const n=Lr(t,e),i=n[1];(function Bl(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),kl(i,n,n[8])}function sl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Zc(e){for(;e;){e[2]|=64;const t=tl(e);if(hi(e)&&!t)return e;e=t}return null}function Ba(e){!function al(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=Qa(n),o=i[1];Su(o,i,o.template,n)}}(e[8])}function Kc(e,t,n){On(0),t(e,n)}const ig=(()=>Promise.resolve(null))();function Qc(e){return e[7]||(e[7]=[])}function Os(e){return e.cleanup||(e.cleanup=[])}function Jc(e,t){const n=e[9],i=n?n.get(Ra,null):null;i&&i.handleError(t)}function xo(e,t,n,i,o){for(let a=0;a<n.length;){const p=n[a++],C=n[a++],b=t[p],A=e.data[p];null!==A.setInput?A.setInput(b,o,i,C):b[C]=o}}function As(e,t,n){const i=Hn(t,e);!function gu(e,t,n){ge(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function Pu(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,a=0;if(null!==t)for(let p=0;p<t.length;p++){const C=t[p];"number"==typeof C?a=C:1==a?o=je(o,C):2==a&&(i=je(i,C+": "+t[++p]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}const ll=new At("INJECTOR",-1);class Kf{get(t,n=u){if(n===u){const i=new Error(`NullInjectorError: No provider for ${ye(t)}!`);throw i.name="NullInjectorError",i}return n}}const Xc=new At("Set Injector scope."),Ul={},ag={};let ed;function Qf(){return void 0===ed&&(ed=new Kf),ed}function Jf(e,t=null,n=null,i){const o=Xf(e,t,n,i);return o._resolveInjectorDefTypes(),o}function Xf(e,t=null,n=null,i){return new lg(e,n,t||Qf(),i)}class lg{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 a=[];n&&Bo(n,C=>this.processProvider(C,t,n)),Bo([t],C=>this.processInjectorType(C,[],a)),this.records.set(ll,da(void 0,this));const p=this.records.get(Xc);this.scope=null!=p?p.value:null,this.source=o||("object"==typeof t?null:ye(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=u,i=me.Default){this.assertNotDestroyed();const o=Ql(this),a=$(void 0);try{if(!(i&me.SkipSelf)){let C=this.records.get(t);if(void 0===C){const b=function hg(e){return"function"==typeof e||"object"==typeof e&&e instanceof At}(t)&&tr(t);C=b&&this.injectableDefInScope(b)?da(td(t),Ul):null,this.records.set(t,C)}if(null!=C)return this.hydrate(t,C)}return(i&me.Self?Qf():this.parent).get(t,n=i&me.Optional&&n===u?null:n)}catch(p){if("NullInjectorError"===p.name){if((p[fe]=p[fe]||[]).unshift(ye(t)),o)throw p;return function xa(e,t,n,i){const o=e[fe];throw t[Tr]&&o.unshift(t[Tr]),e.message=function xd(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=ye(t);if(Array.isArray(t))o=t.map(ye).join(" -> ");else if("object"==typeof t){let a=[];for(let p in t)if(t.hasOwnProperty(p)){let C=t[p];a.push(p+":"+("string"==typeof C?JSON.stringify(C):ye(C)))}o=`{${a.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(cn,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[fe]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{$(a),Ql(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,o)=>t.push(ye(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new qe(205,!1)}processInjectorType(t,n,i){if(!(t=Ze(t)))return!1;let o=dr(t);const a=null==o&&t.ngModule||void 0,p=void 0===a?t:a,C=-1!==i.indexOf(p);if(void 0!==a&&(o=dr(a)),null==o)return!1;if(null!=o.imports&&!C){let F;i.push(p);try{Bo(o.imports,X=>{this.processInjectorType(X,n,i)&&(void 0===F&&(F=[]),F.push(X))})}finally{}if(void 0!==F)for(let X=0;X<F.length;X++){const{ngModule:_e,providers:xe}=F[X];Bo(xe,et=>this.processProvider(et,_e,xe||Wt))}}this.injectorDefTypes.add(p);const b=Di(p)||(()=>new p);this.records.set(p,da(b,Ul));const A=o.providers;if(null!=A&&!C){const F=t;Bo(A,X=>this.processProvider(X,F,A))}return void 0!==a&&void 0!==t.providers}processProvider(t,n,i){let o=ul(t=Ze(t))?t:Ze(t&&t.provide);const a=function cg(e,t,n){return th(e)?da(void 0,e.useValue):da(eh(e),Ul)}(t);if(ul(t)||!0!==t.multi)this.records.get(o);else{let p=this.records.get(o);p||(p=da(void 0,Ul,!0),p.factory=()=>jo(p.multi),this.records.set(o,p)),o=t,p.multi.push(t)}this.records.set(o,a)}hydrate(t,n){return n.value===Ul&&(n.value=ag,n.value=n.factory()),"object"==typeof n.value&&n.value&&function go(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=Ze(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function td(e){const t=tr(e),n=null!==t?t.factory:Di(e);if(null!==n)return n;if(e instanceof At)throw new qe(204,!1);if(e instanceof Function)return function ug(e){const t=e.length;if(t>0)throw ja(t,"?"),new qe(204,!1);const n=function xr(e){const t=e&&(e[fi]||e[mr]);if(t){const n=function di(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 eh(e,t,n){let i;if(ul(e)){const o=Ze(e);return Di(o)||td(o)}if(th(e))i=()=>Ze(e.useValue);else if(function dg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...jo(e.deps||[]));else if(function nd(e){return!(!e||!e.useExisting)}(e))i=()=>gr(Ze(e.useExisting));else{const o=Ze(e&&(e.useClass||e.provide));if(!function Fi(e){return!!e.deps}(e))return Di(o)||td(o);i=()=>new o(...jo(e.deps))}return i}function da(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function th(e){return null!==e&&"object"==typeof e&&Do in e}function ul(e){return"function"==typeof e}let Is=(()=>{class e{static create(n,i){if(Array.isArray(n))return Jf({name:""},i,n,"");{const o=n.name??"";return Jf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=u,e.NULL=new Kf,e.\u0275prov=er({token:e,providedIn:"any",factory:()=>gr(ll)}),e.__NG_ELEMENT_ID__=-1,e})();function bg(e,t){kn(Qa(e)[1],jr())}function ad(e){let t=function fh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(_r(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=ld(e.inputs),p.declaredInputs=ld(e.declaredInputs),p.outputs=ld(e.outputs);const C=o.hostBindings;C&&Sg(e,C);const b=o.viewQuery,A=o.contentQueries;if(b&&Dg(e,b),A&&Mg(e,A),ce(e.inputs,o.inputs),ce(e.declaredInputs,o.declaredInputs),ce(e.outputs,o.outputs),_r(o)&&o.data.animation){const F=e.data;F.animation=(F.animation||[]).concat(o.data.animation)}}const a=o.features;if(a)for(let p=0;p<a.length;p++){const C=a[p];C&&C.ngInherit&&C(e),C===ad&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Eg(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=bo(o.hostAttrs,n=bo(n,o.hostAttrs))}}(i)}function ld(e){return e===pt?{}:e===Wt?[]:e}function Dg(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function Mg(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,a)=>{t(i,o,a),n(i,o,a)}:t}function Sg(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let xu=null;function cl(){if(!xu){const e=jt.Symbol;if(e&&e.iterator)xu=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&&(xu=i)}}}return xu}function jl(e){return!!ud(e)&&(Array.isArray(e)||!(e instanceof Map)&&cl()in e)}function ud(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Rs(e,t,n){return e[t]=n}function ki(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function fa(e,t,n,i){const o=ki(e,t,n);return ki(e,t+1,i)||o}function cd(e,t,n,i){const o=lt();return ki(o,he(),t)&&($n(),Po(hn(),o,e,t,n,i)),cd}function ha(e,t,n,i){return ki(e,he(),n)?t+Le(n)+i:Ln}function fl(e,t,n,i,o,a){const C=fa(e,function N(){return Sn.lFrame.bindingIndex}(),n,o);return ae(2),C?t+Le(n)+i+Le(o)+a:Ln}function wh(e,t,n,i,o,a,p,C){const b=lt(),A=$n(),F=e+O,X=A.firstCreatePass?function Ch(e,t,n,i,o,a,p,C,b){const A=t.consts,F=Va(t,e,4,p||null,Ti(A,C));Ji(t,n,F,Ti(A,b)),kn(t,F);const X=F.tViews=Tu(2,F,i,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,A);return null!==t.queries&&(t.queries.template(t,F),X.queries=t.queries.embeddedTView(F)),F}(F,A,b,t,n,i,o,a,p):A.data[F];gi(X,!1);const _e=b[11].createComment("");yu(A,b,_e,X),Zi(_e,b),sl(b,b[F]=qf(_e,b,_e,X)),qn(X)&&zc(A,b,X),null!=p&&Vl(b,X,C)}function bh(e){return function Dr(e,t){return e[t]}(function I(){return Sn.lFrame.contextLView}(),O+e)}function Hi(e,t=me.Default){const n=lt();return null===n?gr(e,t):vi(jr(),n,Ze(e),t)}function Xi(){throw new Error("invalid")}function ao(e,t,n){const i=lt();return ki(i,he(),t)&&To($n(),hn(),i,e,t,i[11],n,!1),ao}function ri(e,t,n,i,o){const p=o?"class":"style";xo(e,n,t.inputs[p],p,i)}function qo(e,t,n,i){const o=lt(),a=$n(),p=O+e,C=o[11],b=o[p]=ka(C,t,function un(){return Sn.lFrame.currentNamespace}()),A=a.firstCreatePass?function ls(e,t,n,i,o,a,p){const C=t.consts,A=Va(t,e,2,o,Ti(C,a));return Ji(t,n,A,Ti(C,p)),null!==A.attrs&&Pu(A,A.attrs,!1),null!==A.mergedAttrs&&Pu(A,A.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,A),A}(p,a,o,0,t,n,i):a.data[p];gi(A,!0);const F=A.mergedAttrs;null!==F&&_s(C,b,F);const X=A.classes;null!==X&&vu(C,b,X);const _e=A.styles;return null!==_e&&yf(C,b,_e),64!=(64&A.flags)&&yu(a,o,b,A),0===function Gi(){return Sn.lFrame.elementDepthCount}()&&Zi(b,o),function gs(){Sn.lFrame.elementDepthCount++}(),qn(A)&&(zc(a,o,A),Lf(a,A,o)),null!==i&&Vl(o,A),qo}function zl(){let e=jr();uo()?mi():(e=e.parent,gi(e,!1));const t=e;!function Ls(){Sn.lFrame.elementDepthCount--}();const n=$n();return n.firstCreatePass&&(kn(n,e),Ar(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ms(e){return 0!=(16&e.flags)}(t)&&ri(n,t,lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Qs(e){return 0!=(32&e.flags)}(t)&&ri(n,t,lt(),t.stylesWithoutHost,!1),zl}function $g(e,t,n,i){return qo(e,t,n,i),zl(),$g}function Th(e,t,n){const i=lt(),o=$n(),a=e+O,p=o.firstCreatePass?function vC(e,t,n,i,o){const a=t.consts,p=Ti(a,i),C=Va(t,e,8,"ng-container",p);return null!==p&&Pu(C,p,!0),Ji(t,n,C,Ti(a,o)),null!==t.queries&&t.queries.elementStart(t,C),C}(a,o,i,t,n):o.data[a];gi(p,!0);const C=i[a]=i[11].createComment("");return yu(o,i,C,p),Zi(C,i),qn(p)&&(zc(o,i,p),Lf(o,p,i)),null!=n&&Vl(i,p),Th}function Ph(){let e=jr();const t=$n();return uo()?mi():(e=e.parent,gi(e,!1)),t.firstCreatePass&&(kn(t,e),Ar(e)&&t.queries.elementEnd(e)),Ph}function Gg(e,t,n){return Th(e,t,n),Ph(),Gg}function x_(){return lt()}function zg(e){return!!e&&"function"==typeof e.then}function O_(e){return!!e&&"function"==typeof e.subscribe}const A_=O_;function Wg(e,t,n,i){const o=lt(),a=$n(),p=jr();return function R_(e,t,n,i,o,a,p,C){const b=qn(i),F=e.firstCreatePass&&Os(e),X=t[8],_e=Qc(t);let xe=!0;if(3&i.type||C){const Bt=Ot(i,t),nn=C?C(Bt):Bt,ut=_e.length,wn=C?rr=>C(bt(rr[i.index])):i.index;if(ge(n)){let rr=null;if(!C&&b&&(rr=function CC(e,t,n,i){const o=e.cleanup;if(null!=o)for(let a=0;a<o.length-1;a+=2){const p=o[a];if(p===n&&o[a+1]===i){const C=t[7],b=o[a+2];return C.length>b?C[b]:null}"string"==typeof p&&(a+=2)}return null}(e,t,o,i.index)),null!==rr)(rr.__ngLastListenerFn__||rr).__ngNextListenerFn__=a,rr.__ngLastListenerFn__=a,xe=!1;else{a=qg(i,t,X,a,!1);const Br=n.listen(nn,o,a);_e.push(a,Br),F&&F.push(o,wn,ut,ut+1)}}else a=qg(i,t,X,a,!0),nn.addEventListener(o,a,p),_e.push(a),F&&F.push(o,wn,ut,p)}else a=qg(i,t,X,a,!1);const et=i.outputs;let Et;if(xe&&null!==et&&(Et=et[o])){const Bt=Et.length;if(Bt)for(let nn=0;nn<Bt;nn+=2){const us=t[Et[nn]][Et[nn+1]].subscribe(a),Yl=_e.length;_e.push(a,us),F&&F.push(o,i.index,Yl,-(Yl+1))}}}(a,o,o[11],p,e,t,!!n,i),Wg}function N_(e,t,n,i){try{return!1!==n(i)}catch(o){return Jc(e,o),!1}}function qg(e,t,n,i,o){return function a(p){if(p===Function)return i;const C=2&e.flags?Lr(e.index,t):t;0==(32&t[2])&&Zc(C);let b=N_(t,0,i,p),A=a.__ngNextListenerFn__;for(;A;)b=N_(t,0,A,p)&&b,A=A.__ngNextListenerFn__;return o&&!1===b&&(p.preventDefault(),p.returnValue=!1),b}}function F_(e=1){return function kt(e){return(Sn.lFrame.contextLView=function yn(e,t){for(;e>0;)t=t[15],e--;return t}(e,Sn.lFrame.contextLView))[8]}(e)}function wC(e,t){let n=null;const i=function Pp(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 a=t[o];if("*"!==a){if(null===i?wf(e,a,!0):Ap(i,a))return o}else n=o}return n}function k_(e){const t=lt()[16][6];if(!t.projection){const i=t.projection=ja(e?e.length:1,null),o=i.slice();let a=t.child;for(;null!==a;){const p=e?wC(a,e):0;null!==p&&(o[p]?o[p].projectionNext=a:i[p]=a,o[p]=a),a=a.next}}}function L_(e,t=0,n){const i=lt(),o=$n(),a=Va(o,O+e,16,null,n||null);null===a.projection&&(a.projection=t),mi(),64!=(64&a.flags)&&function wp(e,t,n){So(t[11],0,t,n,df(e,n,t),Sc(n.parent||t[6],n,t))}(o,i,a)}function Yg(e,t,n){return xh(e,"",t,"",n),Yg}function xh(e,t,n,i,o){const a=lt(),p=ha(a,t,n,i);return p!==Ln&&To($n(),hn(),a,e,p,a[11],o,!1),xh}function Zg(e,t,n,i,o,a,p){const C=lt(),b=fl(C,t,n,i,o,a);return b!==Ln&&To($n(),hn(),C,e,b,C[11],p,!1),Zg}function z_(e,t,n,i,o){const a=e[n+1],p=null===t;let C=i?ss(a):js(a),b=!1;for(;0!==C&&(!1===b||p);){const F=e[C+1];DC(e[C],t)&&(b=!0,e[C+1]=i?Nc(F):bu(F)),C=i?ss(F):js(F)}b&&(e[n+1]=i?bu(a):Nc(a))}function DC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Eo(e,t)>=0}const ji={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function W_(e){return e.substring(ji.key,ji.keyEnd)}function q_(e,t){const n=ji.textEnd;return n===t?-1:(t=ji.keyEnd=function PC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ji.key=t,n),Ru(e,t,n))}function Ru(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Kg(e,t){return function $s(e,t,n,i){const o=lt(),a=$n(),p=ae(2);a.firstUpdatePass&&ty(a,e,p,i),t!==Ln&&ki(o,p,t)&&ry(a,a.data[fn()],o,o[11],e,o[p+1]=function VC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ye(Fn(e)))),e}(t,n),i,p)}(e,t,null,!0),Kg}function X_(e){Gs(ho,ma,e,!0)}function ma(e,t){for(let n=function SC(e){return function Z_(e){ji.key=0,ji.keyEnd=0,ji.value=0,ji.valueEnd=0,ji.textEnd=e.length}(e),q_(e,Ru(e,0,ji.textEnd))}(t);n>=0;n=q_(t,n))ho(e,W_(t),!0)}function Gs(e,t,n,i){const o=$n(),a=ae(2);o.firstUpdatePass&&ty(o,null,a,i);const p=lt();if(n!==Ln&&ki(p,a,n)){const C=o.data[fn()];if(oy(C,i)&&!ey(o,a)){let b=i?C.classesWithoutHost:C.stylesWithoutHost;null!==b&&(n=je(b,n||"")),ri(o,C,p,n,i)}else!function LC(e,t,n,i,o,a,p,C){o===Ln&&(o=Wt);let b=0,A=0,F=0<o.length?o[0]:null,X=0<a.length?a[0]:null;for(;null!==F||null!==X;){const _e=b<o.length?o[b+1]:void 0,xe=A<a.length?a[A+1]:void 0;let Et,et=null;F===X?(b+=2,A+=2,_e!==xe&&(et=X,Et=xe)):null===X||null!==F&&F<X?(b+=2,et=F):(A+=2,et=X,Et=xe),null!==et&&ry(e,t,n,i,et,Et,p,C),F=b<o.length?o[b]:null,X=A<a.length?a[A]:null}}(o,C,p,p[11],p[a+1],p[a+1]=function kC(e,t,n){if(null==n||""===n)return Wt;const i=[],o=Fn(n);if(Array.isArray(o))for(let a=0;a<o.length;a++)e(i,o[a],!0);else if("object"==typeof o)for(const a in o)o.hasOwnProperty(a)&&e(i,a,o[a]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,a)}}function ey(e,t){return t>=e.expandoStartIndex}function ty(e,t,n,i){const o=e.data;if(null===o[n+1]){const a=o[fn()],p=ey(e,n);oy(a,i)&&null===t&&!p&&(t=!1),t=function IC(e,t,n,i){const o=function vn(e){const t=Sn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=pd(n=Qg(null,e,t,n,i),t.attrs,i),a=null);else{const p=t.directiveStylingLast;if(-1===p||e[p]!==o)if(n=Qg(o,e,t,n,i),null===a){let b=function RC(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==js(i))return e[ss(i)]}(e,t,i);void 0!==b&&Array.isArray(b)&&(b=Qg(null,e,t,b[1],i),b=pd(b,t.attrs,i),function NC(e,t,n,i){e[ss(n?t.classBindings:t.styleBindings)]=i}(e,t,i,b))}else a=function FC(e,t,n){let i;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<o;a++)i=pd(i,e[a].hostAttrs,n);return pd(i,t.attrs,n)}(e,t,i)}return void 0!==a&&(i?t.residualClasses=a:t.residualStyles=a),n}(o,a,t,i),function bC(e,t,n,i,o,a){let p=a?t.classBindings:t.styleBindings,C=ss(p),b=js(p);e[i]=n;let F,A=!1;if(Array.isArray(n)){const X=n;F=X[1],(null===F||Eo(X,F)>0)&&(A=!0)}else F=n;if(o)if(0!==b){const _e=ss(e[C+1]);e[i+1]=wu(_e,C),0!==_e&&(e[_e+1]=Rc(e[_e+1],i)),e[C+1]=function Ic(e,t){return 131071&e|t<<17}(e[C+1],i)}else e[i+1]=wu(C,0),0!==C&&(e[C+1]=Rc(e[C+1],i)),C=i;else e[i+1]=wu(b,0),0===C?C=i:e[b+1]=Rc(e[b+1],i),b=i;A&&(e[i+1]=bu(e[i+1])),z_(e,F,i,!0),z_(e,F,i,!1),function EC(e,t,n,i,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Eo(a,t)>=0&&(n[i+1]=Nc(n[i+1]))}(t,F,e,i,a),p=wu(C,b),a?t.classBindings=p:t.styleBindings=p}(o,a,t,n,p,i)}}function Qg(e,t,n,i,o){let a=null;const p=n.directiveEnd;let C=n.directiveStylingLast;for(-1===C?C=n.directiveStart:C++;C<p&&(a=t[C],i=pd(i,a.hostAttrs,o),a!==e);)C++;return null!==e&&(n.directiveStylingLast=C),i}function pd(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let a=0;a<t.length;a++){const p=t[a];"number"==typeof p?o=p:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ho(e,p,!!n||t[++a]))}return void 0===e?null:e}function ry(e,t,n,i,o,a,p,C){if(!(3&t.type))return;const b=e.data,A=b[C+1];Oh(function Tf(e){return 1==(1&e)}(A)?iy(b,t,n,o,js(A),p):void 0)||(Oh(a)||function Sf(e){return 2==(2&e)}(A)&&(a=iy(b,null,n,o,C,p)),function Ep(e,t,n,i,o){const a=ge(e);if(t)o?a?e.addClass(n,i):n.classList.add(i):a?e.removeClass(n,i):n.classList.remove(i);else{let p=-1===i.indexOf("-")?void 0:Ts.DashCase;if(null==o)a?e.removeStyle(n,i,p):n.style.removeProperty(i);else{const C="string"==typeof o&&o.endsWith("!important");C&&(o=o.slice(0,-10),p|=Ts.Important),a?e.setStyle(n,i,o,p):n.style.setProperty(i,o,C?"important":"")}}}(i,p,Hn(fn(),n),o,a))}function iy(e,t,n,i,o,a){const p=null===t;let C;for(;o>0;){const b=e[o],A=Array.isArray(b),F=A?b[1]:b,X=null===F;let _e=n[o+1];_e===Ln&&(_e=X?Wt:void 0);let xe=X?Sa(_e,i):F===i?_e:void 0;if(A&&!Oh(xe)&&(xe=Sa(b,i)),Oh(xe)&&(C=xe,p))return C;const et=e[o+1];o=p?ss(et):js(et)}if(null!==t){let b=a?t.residualClasses:t.residualStyles;null!=b&&(C=Sa(b,i))}return C}function Oh(e){return void 0!==e}function oy(e,t){return 0!=(e.flags&(t?16:32))}function sy(e,t=""){const n=lt(),i=$n(),o=e+O,a=i.firstCreatePass?Va(i,o,1,t,null):i.data[o],p=n[o]=function wc(e,t){return ge(e)?e.createText(t):e.createTextNode(t)}(n[11],t);yu(i,n,p,a),gi(a,!1)}function Jg(e){return Ah("",e,""),Jg}function Ah(e,t,n){const i=lt(),o=ha(i,e,t,n);return o!==Ln&&As(i,fn(),o),Ah}function gy(e,t,n){Gs(ho,ma,ha(lt(),e,t,n),!0)}function Xg(e,t,n){const i=lt();return ki(i,he(),t)&&To($n(),hn(),i,e,t,i[11],n,!0),Xg}const Wl=void 0;var r0=["en",[["a","p"],["AM","PM"],Wl],[["AM","PM"],Wl,Wl],[["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"]],Wl,[["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"]],Wl,[["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}",Wl,"{1} 'at' {0}",Wl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function n0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Nu={};function em(e){const t=function o0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ty(t);if(n)return n;const i=t.split("-")[0];if(n=Ty(i),n)return n;if("en"===i)return r0;throw new Error(`Missing locale data for the locale "${e}".`)}function Sy(e){return em(e)[Pn.PluralCase]}function Ty(e){return e in Nu||(Nu[e]=jt.ng&&jt.ng.common&&jt.ng.common.locales&&jt.ng.common.locales[e]),Nu[e]}var Pn=(()=>((Pn=Pn||{})[Pn.LocaleId=0]="LocaleId",Pn[Pn.DayPeriodsFormat=1]="DayPeriodsFormat",Pn[Pn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Pn[Pn.DaysFormat=3]="DaysFormat",Pn[Pn.DaysStandalone=4]="DaysStandalone",Pn[Pn.MonthsFormat=5]="MonthsFormat",Pn[Pn.MonthsStandalone=6]="MonthsStandalone",Pn[Pn.Eras=7]="Eras",Pn[Pn.FirstDayOfWeek=8]="FirstDayOfWeek",Pn[Pn.WeekendRange=9]="WeekendRange",Pn[Pn.DateFormat=10]="DateFormat",Pn[Pn.TimeFormat=11]="TimeFormat",Pn[Pn.DateTimeFormat=12]="DateTimeFormat",Pn[Pn.NumberSymbols=13]="NumberSymbols",Pn[Pn.NumberFormats=14]="NumberFormats",Pn[Pn.CurrencyCode=15]="CurrencyCode",Pn[Pn.CurrencySymbol=16]="CurrencySymbol",Pn[Pn.CurrencyName=17]="CurrencyName",Pn[Pn.Currencies=18]="Currencies",Pn[Pn.Directionality=19]="Directionality",Pn[Pn.PluralCase=20]="PluralCase",Pn[Pn.ExtraData=21]="ExtraData",Pn))();const Ih="en-US";let Py=Ih;function rm(e,t,n,i,o){if(e=Ze(e),Array.isArray(e))for(let a=0;a<e.length;a++)rm(e[a],t,n,i,o);else{const a=$n(),p=lt();let C=ul(e)?e:Ze(e.provide),b=eh(e);const A=jr(),F=1048575&A.providerIndexes,X=A.directiveStart,_e=A.providerIndexes>>20;if(ul(e)||!e.multi){const xe=new ns(b,o,Hi),et=om(C,t,o?F:F+_e,X);-1===et?(Sr(Mr(A,p),a,C),im(a,e,t.length),t.push(C),A.directiveStart++,A.directiveEnd++,o&&(A.providerIndexes+=1048576),n.push(xe),p.push(xe)):(n[et]=xe,p[et]=xe)}else{const xe=om(C,t,F+_e,X),et=om(C,t,F,F+_e),Et=xe>=0&&n[xe],Bt=et>=0&&n[et];if(o&&!Bt||!o&&!Et){Sr(Mr(A,p),a,C);const nn=function rw(e,t,n,i,o){const a=new ns(e,n,Hi);return a.multi=[],a.index=t,a.componentProviders=0,Jy(a,o,i&&!n),a}(o?nw:tw,n.length,o,i,b);!o&&Bt&&(n[et].providerFactory=nn),im(a,e,t.length,0),t.push(C),A.directiveStart++,A.directiveEnd++,o&&(A.providerIndexes+=1048576),n.push(nn),p.push(nn)}else im(a,e,xe>-1?xe:et,Jy(n[o?et:xe],b,!o&&i));!o&&i&&Bt&&n[et].componentProviders++}}}function im(e,t,n,i){const o=ul(t),a=function fg(e){return!!e.useClass}(t);if(o||a){const b=(a?Ze(t.useClass):t).prototype.ngOnDestroy;if(b){const A=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const F=A.indexOf(n);-1===F?A.push(n,[i,b]):A[F+1].push(i,b)}else A.push(n,b)}}}function Jy(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 tw(e,t,n,i){return sm(this.multi,[])}function nw(e,t,n,i){const o=this.multi;let a;if(this.providerFactory){const p=this.providerFactory.componentProviders,C=ea(n,n[1],this.providerFactory.index,i);a=C.slice(0,p),sm(o,a);for(let b=p;b<C.length;b++)a.push(C[b])}else a=[],sm(o,a);return a}function sm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Xy(e,t=[]){return n=>{n.providersResolver=(i,o)=>function ew(e,t,n){const i=$n();if(i.firstCreatePass){const o=_r(e);rm(n,i.data,i.blueprint,o,!0),rm(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class ev{}class sw{resolveComponentFactory(t){throw function ow(e){const t=Error(`No component factory found for ${ye(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Lh=(()=>{class e{}return e.NULL=new sw,e})();function aw(){return ku(jr(),lt())}function ku(e,t){return new vd(Ot(e,t))}let vd=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=aw,e})();function lw(e){return e instanceof vd?e.nativeElement:e}class nv{}let uw=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function dw(){const e=lt(),n=Lr(jr().index,e);return function cw(e){return e[11]}(en(n)?n:e)}(),e})(),fw=(()=>{class e{}return e.\u0275prov=er({token:e,providedIn:"root",factory:()=>null}),e})();class rv{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const hw=new rv("13.3.11"),am={};function Vh(e,t,n,i,o=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&i.push(bt(a)),Yn(a))for(let C=10;C<a.length;C++){const b=a[C],A=b[1].firstChild;null!==A&&Vh(b[1],b,A,i)}const p=n.type;if(8&p)Vh(e,t,n.child,i);else if(32&p){const C=_c(n,t);let b;for(;b=C();)i.push(b)}else if(16&p){const C=mf(t,n);if(Array.isArray(C))i.push(...C);else{const b=tl(t[16]);Vh(b[1],b,C,i,!0)}}n=o?n.projectionNext:n.next}return i}class Cd{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 Vh(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Yn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Ec(t,i),rs(n,i))}this._attachedToViewContainer=!1}Dc(this._lView[1],this._lView)}onDestroy(t){Uf(this._lView[1],this._lView,null,t)}markForCheck(){Zc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function so(e,t,n){const i=t[10];i.begin&&i.begin();try{ol(e,t,e.template,n)}catch(o){throw Jc(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 uf(e,t){Nl(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 pw extends Cd{constructor(t){super(t),this._view=t}detectChanges(){Ba(this._view)}checkNoChanges(){}get context(){return null}}class iv extends Lh{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ue(t);return new lm(n,this.ngModule)}}function ov(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class lm extends ev{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Rp(e){return e.map(Ip).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return ov(this.componentDef.inputs)}get outputs(){return ov(this.componentDef.outputs)}create(t,n,i,o){const a=(o=o||this.ngModule)?function mw(e,t){return{get:(n,i,o)=>{const a=e.get(n,am,o);return a!==am||i===am?a:t.get(n,i,o)}}}(t,o.injector):t,p=a.get(nv,He),C=a.get(fw,null),b=p.createRenderer(null,this.componentDef),A=this.componentDef.selectors[0][0]||"div",F=i?function Bf(e,t,n){if(ge(e))return e.selectRootElement(t,n===Pt.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(b,i,this.componentDef.encapsulation):ka(p.createRenderer(null,this.componentDef),A,function gw(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(A)),X=this.componentDef.onPush?576:528,_e=function dh(e,t){return{components:[],scheduler:e||hp,clean:ig,playerHandler:t||null,flags:0}}(),xe=Tu(0,null,null,1,0,null,null,null,null,null),et=rl(null,xe,_e,X,null,null,p,b,C,a);let Et,Bt;Vr(et);try{const nn=function uh(e,t,n,i,o,a){const p=n[1];n[20]=e;const b=Va(p,20,2,"#host",null),A=b.mergedAttrs=t.hostAttrs;null!==A&&(Pu(b,A,!0),null!==e&&(_s(o,e,A),null!==b.classes&&vu(o,e,b.classes),null!==b.styles&&yf(o,e,b.styles)));const F=i.createRenderer(e,t),X=rl(n,Wc(t),null,t.onPush?64:16,n[20],b,i,F,a||null,null);return p.firstCreatePass&&(Sr(Mr(b,n),p,t.type),$f(p,b),Gf(b,n.length,1)),sl(n,X),n[20]=X}(F,this.componentDef,et,p,b);if(F)if(i)_s(b,F,["ng-version",hw.full]);else{const{attrs:ut,classes:wn}=function Np(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let a=e[i];if("string"==typeof a)2===o?""!==a&&t.push(a,e[++i]):8===o&&n.push(a);else{if(!os(o))break;o=a}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);ut&&_s(b,F,ut),wn&&wn.length>0&&vu(b,F,wn.join(" "))}if(Bt=jn(xe,O),void 0!==n){const ut=Bt.projection=[];for(let wn=0;wn<this.ngContentSelectors.length;wn++){const rr=n[wn];ut.push(null!=rr?Array.from(rr):null)}}Et=function ch(e,t,n,i,o){const a=n[1],p=function Kp(e,t,n){const i=jr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),xs(e,i,t,il(e,t,1,null),n));const o=ea(t,e,i.directiveStart,i);Zi(o,t);const a=Ot(i,t);return a&&Zi(a,t),o}(a,n,t);if(i.components.push(p),e[8]=p,o&&o.forEach(b=>b(p,t)),t.contentQueries){const b=jr();t.contentQueries(1,p,b.directiveStart)}const C=jr();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(vr(C.index),ui(n[1],C,0,C.directiveStart,C.directiveEnd,t),jf(t,p)),p}(nn,this.componentDef,et,_e,[bg]),kl(xe,et,null)}finally{Be()}return new yw(this.componentType,Et,ku(Bt,et),et,Bt)}}class yw extends class iw{}{constructor(t,n,i,o,a){super(),this.location=i,this._rootLView=o,this._tNode=a,this.instance=n,this.hostView=this.changeDetectorRef=new pw(o),this.componentType=t}get injector(){return new ta(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Lu{}class sv{}const Vu=new Map;class uv extends Lu{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new iv(this);const i=qt(t);this._bootstrapComponents=Ss(i.bootstrap),this._r3Injector=Xf(t,n,[{provide:Lu,useValue:this},{provide:Lh,useValue:this.componentFactoryResolver}],ye(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Is.THROW_IF_NOT_FOUND,i=me.Default){return t===Is||t===Lu||t===ll?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 sv{constructor(t){super(),this.moduleType=t,null!==qt(t)&&function Cw(e){const t=new Set;!function n(i){const o=qt(i,!0),a=o.id;null!==a&&(function av(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ye(t)} vs ${ye(t.name)}`)}(a,Vu.get(a),i),Vu.set(a,i));const p=Ss(o.imports);for(const C of p)t.has(C)||(t.add(C),n(C))}(e)}(t)}create(t){return new uv(this.moduleType,t)}}function cv(e,t,n){const i=E()+e,o=lt();return o[i]===Ln?Rs(o,i,n?t.call(n):t()):function $l(e,t){return e[t]}(o,i)}function dv(e,t,n,i){return function pv(e,t,n,i,o,a){const p=t+n;return ki(e,p,o)?Rs(e,p+1,a?i.call(a,o):i(o)):wd(e,p+1)}(lt(),E(),e,t,n,i)}function fv(e,t,n,i,o){return function gv(e,t,n,i,o,a,p){const C=t+n;return fa(e,C,o,a)?Rs(e,C+2,p?i.call(p,o,a):i(o,a)):wd(e,C+2)}(lt(),E(),e,t,n,i,o)}function hv(e,t,n,i,o,a){return function mv(e,t,n,i,o,a,p,C){const b=t+n;return function Gl(e,t,n,i,o){const a=fa(e,t,n,i);return ki(e,t+2,o)||a}(e,b,o,a,p)?Rs(e,b+3,C?i.call(C,o,a,p):i(o,a,p)):wd(e,b+3)}(lt(),E(),e,t,n,i,o,a)}function wd(e,t){const n=e[t];return n===Ln?void 0:n}function cm(e){return t=>{setTimeout(e,void 0,t)}}const _a=class Nw extends l.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,a=n||(()=>null),p=i;if(t&&"object"==typeof t){const b=t;o=b.next?.bind(b),a=b.error?.bind(b),p=b.complete?.bind(b)}this.__isAsync&&(a=cm(a),o&&(o=cm(o)),p&&(p=cm(p)));const C=super.subscribe({next:o,error:a,complete:p});return t instanceof v.w&&t.add(C),C}};function Fw(){return this._results[cl()]()}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=cl(),i=dm.prototype;i[n]||(i[n]=Fw)}get changes(){return this._changes||(this._changes=new _a)}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=fo(t);(this._changesDetected=!function Hu(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],a=t[i];if(n&&(o=n(o),a=n(a)),a!==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 Ed=(()=>{class e{}return e.__NG_ELEMENT_ID__=Vw,e})();const kw=Ed,Lw=class extends kw{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=rl(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(i[19]=a.createEmbeddedView(n)),kl(n,i,t),new Cd(i)}};function Vw(){return Bh(jr(),lt())}function Bh(e,t){return 4&e.type?new Lw(t,e,ku(e,t)):null}let Uh=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bw,e})();function Bw(){return wv(jr(),lt())}const Uw=Uh,vv=class extends Uw{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return ku(this._hostTNode,this._hostLView)}get injector(){return new ta(this._hostTNode,this._hostLView)}get parentInjector(){const t=xi(this._hostTNode,this._hostLView);if(va(t)){const n=ko(t,this._hostLView),i=Fo(t);return new ta(n[1].data[i+8],n)}return new ta(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Cv(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,a){const p=t&&!function io(e){return"function"==typeof e}(t);let C;if(p)C=n;else{const X=n||{};C=X.index,i=X.injector,o=X.projectableNodes,a=X.ngModuleRef}const b=p?t:new lm(ue(t)),A=i||this.parentInjector;if(!a&&null==b.ngModule){const _e=(p?A:this.parentInjector).get(Lu,null);_e&&(a=_e)}const F=b.create(A,o,void 0,a);return this.insert(F.hostView,C),F}insert(t,n){const i=t._lView,o=i[1];if(function Ui(e){return Yn(e[3])}(i)){const F=this.indexOf(t);if(-1!==F)this.detach(F);else{const X=i[3],_e=new vv(X,X[6],X[3]);_e.detach(_e.indexOf(t))}}const a=this._adjustIndex(n),p=this._lContainer;!function cf(e,t,n,i){const o=10+i,a=n.length;i>0&&(n[o-1][4]=t),i<a-10?(t[4]=n[o],ju(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const p=t[17];null!==p&&n!==p&&function Ps(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 C=t[19];null!==C&&C.insertView(e),t[2]|=128}(o,i,p,a);const C=Oc(a,p),b=i[11],A=_u(b,p[7]);return null!==A&&function lf(e,t,n,i,o,a){i[0]=o,i[6]=t,Nl(e,i,n,1,o,a)}(o,p[6],b,i,A,C),t.attachToViewContainerRef(),ju(fm(p),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Cv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Ec(this._lContainer,n);i&&(rs(fm(this._lContainer),n),Dc(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=Ec(this._lContainer,n);return i&&null!=rs(fm(this._lContainer),n)?new Cd(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cv(e){return e[8]}function fm(e){return e[8]||(e[8]=[])}function wv(e,t){let n;const i=t[e.index];if(Yn(i))n=i;else{let o;if(8&e.type)o=bt(i);else{const a=t[11];o=a.createComment("");const p=Ot(e,t);La(a,_u(a,p),o,function Cp(e,t){return ge(e)?e.nextSibling(t):t.nextSibling}(a,p),!1)}t[e.index]=n=qf(i,t,o,e),sl(t,n)}return new vv(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 a=0;a<i;a++){const p=n.getByIndex(a);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!==Ov(t,n).matches&&this.queries[n].setDirty()}}class bv{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,a=this.getByIndex(i).embeddedTView(t,o);a&&(a.indexInDeclarationView=i,null!==n?n.push(a):n=[a])}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 a=i[o];this.matchTNodeWithReadOption(t,n,$w(n,a)),this.matchTNodeWithReadOption(t,n,ro(n,t,a,!1,!1))}else i===Ed?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ro(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===vd||o===Uh||o===Ed&&4&n.type)this.addMatch(n.index,-2);else{const a=ro(n,t,o,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function $w(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 zw(e,t,n,i){return-1===n?function Gw(e,t){return 11&e.type?ku(e,t):4&e.type?Bh(e,t):null}(t,e):-2===n?function Ww(e,t,n){return n===vd?ku(t,e):n===Ed?Bh(t,e):n===Uh?wv(t,e):void 0}(e,t,i):ea(e,e[1],n,t)}function Ev(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const a=e.data,p=n.matches,C=[];for(let b=0;b<p.length;b+=2){const A=p[b];C.push(A<0?null:zw(t,a[A],p[b+1],n.metadata.read))}o.matches=C}return o.matches}function _m(e,t,n,i){const o=e.queries.getByIndex(n),a=o.matches;if(null!==a){const p=Ev(e,t,o,n);for(let C=0;C<a.length;C+=2){const b=a[C];if(b>0)i.push(p[C/2]);else{const A=a[C+1],F=t[-b];for(let X=10;X<F.length;X++){const _e=F[X];_e[17]===_e[3]&&_m(_e[1],_e,A,i)}if(null!==F[9]){const X=F[9];for(let _e=0;_e<X.length;_e++){const xe=X[_e];_m(xe[1],xe,A,i)}}}}}return i}function Dv(e){const t=lt(),n=$n(),i=ln();On(i+1);const o=Ov(n,i);if(e.dirty&&Si(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const a=o.crossesNgTemplate?_m(n,t,i,[]):Ev(n,t,o,i);e.reset(a,lw),e.notifyOnChanges()}return!0}return!1}function Mv(e,t,n){const i=$n();i.firstCreatePass&&(xv(i,new bv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Pv(i,lt(),t)}function Sv(e,t,n,i){const o=$n();if(o.firstCreatePass){const a=jr();xv(o,new bv(t,n,i),a.index),function Yw(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)}Pv(o,lt(),n)}function Tv(){return function qw(e,t){return e[19].queries[t].queryList}(lt(),ln())}function Pv(e,t,n){const i=new dm(4==(4&n));Uf(e,t,i,i.destroy),null===t[19]&&(t[19]=new pm),t[19].queries.push(new hm(i))}function xv(e,t,n){null===e.queries&&(e.queries=new gm),e.queries.track(new mm(t,n))}function Ov(e,t){return e.queries.getByIndex(t)}function Av(e,t){return Bh(e,t)}function $h(...e){}const Yv=new At("Application Initializer");let Em=(()=>{class e{constructor(n){this.appInits=n,this.resolve=$h,this.reject=$h,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 a=this.appInits[o]();if(zg(a))n.push(a);else if(A_(a)){const p=new Promise((C,b)=>{a.subscribe({complete:C,error:b})});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)(gr(Yv,8))},e.\u0275prov=er({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Zv=new At("AppId",{providedIn:"root",factory:function Kv(){return`${Dm()}${Dm()}${Dm()}`}});function Dm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Qv=new At("Platform Initializer"),db=new At("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jv=new At("appBootstrapListener");let fb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=er({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Mm=new At("LocaleId",{providedIn:"root",factory:()=>Pd(Mm,me.Optional|me.SkipSelf)||function hb(){return typeof $localize<"u"&&$localize.locale||Ih}()}),pb=new At("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class gb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let mb=(()=>{class e{compileModuleSync(n){return new um(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),a=Ss(qt(n).declarations).reduce((p,C)=>{const b=ue(C);return b&&p.push(new lm(b)),p},[]);return new gb(i,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=er({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const yb=(()=>Promise.resolve(0))();function Sm(e){typeof Zone>"u"?yb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zs{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _a(!1),this.onMicrotaskEmpty=new _a(!1),this.onStable=new _a(!1),this.onError=new _a(!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 vb(){let e=jt.requestAnimationFrame,t=jt.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 bb(e){const t=()=>{!function wb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(jt,()=>{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,a,p,C)=>{try{return Xv(e),n.invokeTask(o,a,p,C)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),eC(e)}},onInvoke:(n,i,o,a,p,C,b)=>{try{return Xv(e),n.invoke(o,a,p,C,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),eC(e)}},onHasTask:(n,i,o,a)=>{n.hasTask(o,a),i===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Pm(e),Tm(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,i,o,a)=>(n.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zs.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 a=this._inner,p=a.scheduleEventTask("NgZoneEvent: "+o,t,Cb,$h,$h);try{return a.runTask(p,n,i)}finally{a.cancelTask(p)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Cb={};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 Xv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eC(e){e._nesting--,Tm(e)}class Eb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _a,this.onMicrotaskEmpty=new _a,this.onStable=new _a,this.onError=new _a}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 tC=(()=>{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:()=>{zs.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 a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==a),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:a,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)(gr(zs))},e.\u0275prov=er({token:e,factory:e.\u0275fac}),e})(),Db=(()=>{class e{constructor(){this._applications=new Map,xm.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 xm.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=er({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class Mb{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function Sb(e){xm=e}let xm=new Mb,Md=null;const nC=new At("AllowMultipleToken"),rC=new At("PlatformOnDestroy");class xb{constructor(t,n){this.name=t,this.token=n}}function iC(e,t,n=[]){const i=`Platform: ${t}`,o=new At(i);return(a=[])=>{let p=Om();if(!p||p.injector.get(nC,!1)){const C=[...n,...a,{provide:o,useValue:!0}];e?e(C):function Ob(e){if(Md&&!Md.get(nC,!1))throw new qe(400,"");Md=e;const t=e.get(oC),n=e.get(Qv,null);n&&n.forEach(i=>i())}(function Ib(e=[],t){return Is.create({name:t,providers:[{provide:Xc,useValue:"platform"},{provide:rC,useValue:()=>Md=null},...e]})}(C,i))}return function Ab(e){const t=Om();if(!t)throw new qe(401,"");return t}()}}function Om(){return Md?.get(oC)??null}let oC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const C=function Rb(e,t){let n;return n="noop"===e?new Eb:("zone.js"===e?void 0:e)||new zs({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),b=[{provide:zs,useValue:C}];return C.run(()=>{const A=Is.create({providers:b,parent:this.injector,name:n.moduleType.name}),F=n.create(A),X=F.injector.get(Ra,null);if(!X)throw new qe(402,"");return C.runOutsideAngular(()=>{const _e=C.onError.subscribe({next:xe=>{X.handleError(xe)}});F.onDestroy(()=>{Im(this._modules,F),_e.unsubscribe()})}),function Nb(e,t,n){try{const i=n();return zg(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(X,C,()=>{const _e=F.injector.get(Em);return _e.runInitializers(),_e.donePromise.then(()=>(function u0(e){Bn(e,"Expected localeId to be defined"),"string"==typeof e&&(Py=e.toLowerCase().replace(/_/g,"-"))}(F.injector.get(Mm,Ih)||Ih),this._moduleDoBootstrap(F),F))})})}bootstrapModule(n,i=[]){const o=sC({},i);return function Tb(e,t,n){const i=new um(n);return Promise.resolve(i)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,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(rC,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(gr(Is))},e.\u0275prov=er({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function sC(e,t){return Array.isArray(t)?t.reduce(sC,e):{...e,...t}}let Am=(()=>{class e{constructor(n,i,o,a){this._zone=n,this._injector=i,this._exceptionHandler=o,this._initStatus=a,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 K.y(b=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{b.next(this._stable),b.complete()})}),C=new K.y(b=>{let A;this._zone.runOutsideAngular(()=>{A=this._zone.onStable.subscribe(()=>{zs.assertNotInAngularZone(),Sm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,b.next(!0))})})});const F=this._zone.onUnstable.subscribe(()=>{zs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{b.next(!1)}))});return()=>{A.unsubscribe(),F.unsubscribe()}});this.isStable=(0,z.T)(p,C.pipe(function j(){return e=>(0,oe.x)()(function Z(e,t){return function(i){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new re(o,t));const a=Object.create(i,q.N);return a.source=i,a.subjectFactory=o,a}}(we)(e))}()))}bootstrap(n,i){if(!this._initStatus.done)throw new qe(405,"");let o;o=n instanceof ev?n:this._injector.get(Lh).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const a=function Pb(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Lu),C=o.create(Is.NULL,[],i||o.selector,a),b=C.location.nativeElement,A=C.injector.get(tC,null),F=A&&C.injector.get(Db);return A&&F&&F.registerApplication(b,A),C.onDestroy(()=>{this.detachView(C.hostView),Im(this.components,C),F&&F.unregisterApplication(b)}),this._loadComponent(C),C}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(Jv,[]).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)(gr(zs),gr(Is),gr(Ra),gr(Em))},e.\u0275prov=er({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Im(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let lC=!0,uC=!1;function kb(){return uC=!0,lC}function Lb(){if(uC)throw new Error("Cannot enable prod mode after platform setup.");lC=!1}let Vb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bb,e})();function Bb(e){return function Ub(e,t,n){if(pr(e)&&!n){const i=Lr(e.index,t);return new Cd(i,i)}return 47&e.type?new Cd(t[16],t):null}(jr(),lt(),16==(16&e))}class hC{constructor(){}supports(t){return jl(t)}create(t){return new Wb(t)}}const zb=(e,t)=>t;class Wb{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||zb}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,a=null;for(;n||i;){const p=!i||n&&n.currentIndex<gC(i,o,a)?n:i,C=gC(p,o,a),b=p.currentIndex;if(p===i)o--,i=i._nextRemoved;else if(n=n._next,null==p.previousIndex)o++;else{a||(a=[]);const A=C-o,F=b-o;if(A!=F){for(let _e=0;_e<A;_e++){const xe=_e<a.length?a[_e]:a[_e]=0,et=xe+_e;F<=et&&et<A&&(a[_e]=xe+1)}a[p.previousIndex]=F-A}}C!==b&&t(p,C,b)}}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=[]),!jl(t))throw new qe(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,a,p,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let C=0;C<this.length;C++)a=t[C],p=this._trackByFn(C,a),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,a,p,C)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,p,C),i=!0),n=n._next}else o=0,function Ig(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[cl()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,C=>{p=this._trackByFn(o,C),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,C,p,o)),Object.is(n.item,C)||this._addIdentityChange(n,C)):(n=this._mismatch(n,C,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 a;return null===t?a=this._itTail:(a=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,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new qb(n,i),a,o),t}_verifyReinsertion(t,n,i,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==a?t=this._reinsertAfter(a,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,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._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 pC),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 pC),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 qb{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 Yb{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 pC{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Yb,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 gC(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 mC{constructor(){}supports(t){return t instanceof Map||ud(t)}create(){return new Zb}}class Zb{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||ud(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 a=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,a)}}),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 a=o._prev,p=o._next;return a&&(a._next=p),p&&(p._prev=a),o._next=null,o._prev=null,o}const i=new Kb(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 Kb{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 _C(){return new Lm([new hC])}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||_C()),deps:[[e,new Dl,new Oa]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new qe(901,"")}}return e.\u0275prov=er({token:e,providedIn:"root",factory:_C}),e})();function yC(){return new Vm([new mC])}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||yC()),deps:[[e,new Dl,new Oa]]}}find(n){const i=this.factories.find(a=>a.supports(n));if(i)return i;throw new qe(901,"")}}return e.\u0275prov=er({token:e,providedIn:"root",factory:yC}),e})();const Xb=iC(null,"core",[]);let eE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(gr(Am))},e.\u0275mod=Re({type:e}),e.\u0275inj=Fr({}),e})()},8746:(Me,Q,x)=>{"use strict";x.d(Q,{PW:()=>mi});var l=x(5062),v=x(1481),K=x(7340);const z=!1;function Z(I){return new l.vHH(3e3,z)}function An(){return typeof window<"u"&&typeof window.document<"u"}function Qr(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Qn(I){switch(I.length){case 0:return new K.ZN;case 1:return I[0];default:return new K.ZE(I)}}function Hr(I,g,_,E,N={},W={}){const he=[],ae=[];let Pe=-1,Ye=null;if(E.forEach(Ut=>{const tn=Ut.offset,sn=tn==Pe,vn=sn&&Ye||{};Object.keys(Ut).forEach(ln=>{let On=ln,ar=Ut[ln];if("offset"!==ln)switch(On=g.normalizePropertyName(On,he),ar){case K.k1:ar=N[ln];break;case K.l3:ar=W[ln];break;default:ar=g.normalizeStyleValue(ln,On,ar,he)}vn[On]=ar}),sn||ae.push(vn),Ye=vn,Pe=tn}),he.length)throw function ie(I){return new l.vHH(3502,z)}();return ae}function er(I,g,_,E){switch(g){case"start":I.onStart(()=>E(_&&ei(_,"start",I)));break;case"done":I.onDone(()=>E(_&&ei(_,"done",I)));break;case"destroy":I.onDestroy(()=>E(_&&ei(_,"destroy",I)))}}function ei(I,g,_){const W=Fr(I.element,I.triggerName,I.fromState,I.toState,g||I.phaseName,_.totalTime??I.totalTime,!!_.disabled),he=I._data;return null!=he&&(W._data=he),W}function Fr(I,g,_,E,N="",W=0,he){return{element:I,triggerName:g,fromState:_,toState:E,phaseName:N,totalTime:W,disabled:!!he}}function tr(I,g,_){let E;return I instanceof Map?(E=I.get(g),E||I.set(g,E=_)):(E=I[g],E||(E=I[g]=_)),E}function cr(I){const g=I.indexOf(":");return[I.substring(1,g),I.substr(g+1)]}let xr=(I,g)=>!1,di=(I,g,_)=>[],dr=null;function fi(I){const g=I.parentNode||I.host;return g===dr?null:g}(Qr()||typeof Element<"u")&&(An()?(dr=(()=>document.documentElement)(),xr=(I,g)=>{for(;g;){if(g===I)return!0;g=fi(g)}return!1}):xr=(I,g)=>I.contains(g),di=(I,g,_)=>{if(_)return Array.from(I.querySelectorAll(g));const E=I.querySelector(g);return E?[E]:[]});let le=null,me=!1;function ne(I){le||(le=function H(){return typeof document<"u"?document.body:null}()||{},me=!!le.style&&"WebkitAppearance"in le.style);let g=!0;return le.style&&!function mr(I){return"ebkit"==I.substring(1,6)}(I)&&(g=I in le.style,!g&&me&&(g="Webkit"+I.charAt(0).toUpperCase()+I.substr(1)in le.style)),g}const $=xr,Ce=di;let Se=(()=>{class I{validateStyleProperty(_){return ne(_)}matchesElement(_,E){return!1}containsElement(_,E){return $(_,E)}getParentElement(_){return fi(_)}query(_,E,N){return Ce(_,E,N)}computeStyle(_,E,N){return N||""}animate(_,E,N,W,he,ae=[],Pe){return new K.ZN(N,W)}}return I.\u0275fac=function(_){return new(_||I)},I.\u0275prov=l.Yz7({token:I,factory:I.\u0275fac}),I})(),$e=(()=>{class I{}return I.NOOP=new Se,I})();const Dt="ng-enter",Mt="ng-leave",on="ng-trigger",vt=".ng-trigger",jt="ng-animating",Zt=".ng-animating";function Qt(I){if("number"==typeof I)return I;const g=I.match(/^(-?[\.\d]+)(m?s)/);return!g||g.length<2?0:pt(parseFloat(g[1]),g[2])}function pt(I,g){return"s"===g?1e3*I:I}function Wt(I,g,_){return I.hasOwnProperty("duration")?I:function Cn(I,g,_){let N,W=0,he="";if("string"==typeof I){const ae=I.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ae)return g.push(Z()),{duration:0,delay:0,easing:""};N=pt(parseFloat(ae[1]),ae[2]);const Pe=ae[3];null!=Pe&&(W=pt(parseFloat(Pe),ae[4]));const Ye=ae[5];Ye&&(he=Ye)}else N=I;if(!_){let ae=!1,Pe=g.length;N<0&&(g.push(function re(){return new l.vHH(3100,z)}()),ae=!0),W<0&&(g.push(function oe(){return new l.vHH(3101,z)}()),ae=!0),ae&&g.splice(Pe,0,Z())}return{duration:N,delay:W,easing:he}}(I,g,_)}function Un(I,g={}){return Object.keys(I).forEach(_=>{g[_]=I[_]}),g}function Rt(I,g,_={}){if(g)for(let E in I)_[E]=I[E];else Un(I,_);return _}function Dn(I,g,_){return _?g+":"+_+";":""}function tt(I){let g="";for(let _=0;_<I.style.length;_++){const E=I.style.item(_);g+=Dn(0,E,I.style.getPropertyValue(E))}for(const _ in I.style)I.style.hasOwnProperty(_)&&!_.startsWith("_")&&(g+=Dn(0,yt(_),I.style[_]));I.setAttribute("style",g)}function mn(I,g,_){I.style&&(Object.keys(g).forEach(E=>{const N=Tt(E);_&&!_.hasOwnProperty(E)&&(_[E]=I.style[N]),I.style[N]=g[E]}),Qr()&&tt(I))}function $t(I,g){I.style&&(Object.keys(g).forEach(_=>{const E=Tt(_);I.style[E]=""}),Qr()&&tt(I))}function ir(I){return Array.isArray(I)?1==I.length?I[0]:(0,K.vP)(I):I}const pe=new RegExp("{{\\s*(.+?)\\s*}}","g");function J(I){let g=[];if("string"==typeof I){let _;for(;_=pe.exec(I);)g.push(_[1]);pe.lastIndex=0}return g}function Re(I,g,_){const E=I.toString(),N=E.replace(pe,(W,he)=>{let ae=g[he];return g.hasOwnProperty(he)||(_.push(function j(I){return new l.vHH(3003,z)}()),ae=""),ae.toString()});return N==E?I:N}function We(I){const g=[];let _=I.next();for(;!_.done;)g.push(_.value),_=I.next();return g}const xt=/-+([a-z0-9])/g;function Tt(I){return I.replace(xt,(...g)=>g[1].toUpperCase())}function yt(I){return I.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function wt(I,g,_){switch(g.type){case 7:return I.visitTrigger(g,_);case 0:return I.visitState(g,_);case 1:return I.visitTransition(g,_);case 2:return I.visitSequence(g,_);case 3:return I.visitGroup(g,_);case 4:return I.visitAnimate(g,_);case 5:return I.visitKeyframes(g,_);case 6:return I.visitStyle(g,_);case 8:return I.visitReference(g,_);case 9:return I.visitAnimateChild(g,_);case 10:return I.visitAnimateRef(g,_);case 11:return I.visitQuery(g,_);case 12:return I.visitStagger(g,_);default:throw function Y(I){return new l.vHH(3004,z)}()}}function qt(I,g){return window.getComputedStyle(I)[g]}function It(I,g){const _=[];return"string"==typeof I?I.split(/\s*,\s*/).forEach(E=>function Xt(I,g,_){if(":"==I[0]){const Pe=function Ct(I,g){switch(I){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(_,E)=>parseFloat(E)>parseFloat(_);case":decrement":return(_,E)=>parseFloat(E)<parseFloat(_);default:return g.push(function gn(I){return new l.vHH(3016,z)}()),"* => *"}}(I,_);if("function"==typeof Pe)return void g.push(Pe);I=Pe}const E=I.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==E||E.length<4)return _.push(function Rn(I){return new l.vHH(3015,z)}()),g;const N=E[1],W=E[2],he=E[3];g.push(fr(N,he));"<"==W[0]&&!("*"==N&&"*"==he)&&g.push(fr(he,N))}(E,_,g)):_.push(I),_}const St=new Set(["true","1"]),Mn=new Set(["false","0"]);function fr(I,g){const _=St.has(I)||Mn.has(I),E=St.has(g)||Mn.has(g);return(N,W)=>{let he="*"==I||I==N,ae="*"==g||g==W;return!he&&_&&"boolean"==typeof N&&(he=N?St.has(I):Mn.has(I)),!ae&&E&&"boolean"==typeof W&&(ae=W?St.has(g):Mn.has(g)),he&&ae}}const Jr=new RegExp("s*:selfs*,?","g");function Er(I,g,_,E){return new kr(I).build(g,_,E)}class kr{constructor(g){this._driver=g}build(g,_,E){const N=new U(_);this._resetContextStyleTimingState(N);const W=wt(this,ir(g),N);return N.unsupportedCSSPropertiesFound.size&&N.unsupportedCSSPropertiesFound.keys(),W}_resetContextStyleTimingState(g){g.currentQuerySelector="",g.collectedStyles={},g.collectedStyles[""]={},g.currentTime=0}visitTrigger(g,_){let E=_.queryCount=0,N=_.depCount=0;const W=[],he=[];return"@"==g.name.charAt(0)&&_.errors.push(function ye(){return new l.vHH(3006,z)}()),g.definitions.forEach(ae=>{if(this._resetContextStyleTimingState(_),0==ae.type){const Pe=ae,Ye=Pe.name;Ye.toString().split(/\s*,\s*/).forEach(Ut=>{Pe.name=Ut,W.push(this.visitState(Pe,_))}),Pe.name=Ye}else if(1==ae.type){const Pe=this.visitTransition(ae,_);E+=Pe.queryCount,N+=Pe.depCount,he.push(Pe)}else _.errors.push(function je(){return new l.vHH(3007,z)}())}),{type:7,name:g.name,states:W,transitions:he,queryCount:E,depCount:N,options:null}}visitState(g,_){const E=this.visitStyle(g.styles,_),N=g.options&&g.options.params||null;if(E.containsDynamicStyles){const W=new Set,he=N||{};E.styles.forEach(ae=>{if(te(ae)){const Pe=ae;Object.keys(Pe).forEach(Ye=>{J(Pe[Ye]).forEach(Ut=>{he.hasOwnProperty(Ut)||W.add(Ut)})})}}),W.size&&(We(W.values()),_.errors.push(function ke(I,g){return new l.vHH(3008,z)}()))}return{type:0,name:g.name,style:E,options:N?{params:N}:null}}visitTransition(g,_){_.queryCount=0,_.depCount=0;const E=wt(this,ir(g.animation),_);return{type:1,matchers:It(g.expr,_.errors),animation:E,queryCount:_.queryCount,depCount:_.depCount,options:Ne(g.options)}}visitSequence(g,_){return{type:2,steps:g.steps.map(E=>wt(this,E,_)),options:Ne(g.options)}}visitGroup(g,_){const E=_.currentTime;let N=0;const W=g.steps.map(he=>{_.currentTime=E;const ae=wt(this,he,_);return N=Math.max(N,_.currentTime),ae});return _.currentTime=N,{type:3,steps:W,options:Ne(g.options)}}visitAnimate(g,_){const E=function Ue(I,g){if(I.hasOwnProperty("duration"))return I;if("number"==typeof I)return Ke(Wt(I,g).duration,0,"");const _=I;if(_.split(/\s+/).some(W=>"{"==W.charAt(0)&&"{"==W.charAt(1))){const W=Ke(0,0,"");return W.dynamic=!0,W.strValue=_,W}const N=Wt(_,g);return Ke(N.duration,N.delay,N.easing)}(g.timings,_.errors);_.currentAnimateTimings=E;let N,W=g.styles?g.styles:(0,K.oB)({});if(5==W.type)N=this.visitKeyframes(W,_);else{let he=g.styles,ae=!1;if(!he){ae=!0;const Ye={};E.easing&&(Ye.easing=E.easing),he=(0,K.oB)(Ye)}_.currentTime+=E.duration+E.delay;const Pe=this.visitStyle(he,_);Pe.isEmptyStep=ae,N=Pe}return _.currentAnimateTimings=null,{type:4,timings:E,style:N,options:null}}visitStyle(g,_){const E=this._makeStyleAst(g,_);return this._validateStyleAst(E,_),E}_makeStyleAst(g,_){const E=[];Array.isArray(g.styles)?g.styles.forEach(he=>{"string"==typeof he?he==K.l3?E.push(he):_.errors.push(function Ge(I){return new l.vHH(3002,z)}()):E.push(he)}):E.push(g.styles);let N=!1,W=null;return E.forEach(he=>{if(te(he)){const ae=he,Pe=ae.easing;if(Pe&&(W=Pe,delete ae.easing),!N)for(let Ye in ae)if(ae[Ye].toString().indexOf("{{")>=0){N=!0;break}}}),{type:6,styles:E,easing:W,offset:g.offset,containsDynamicStyles:N,options:null}}_validateStyleAst(g,_){const E=_.currentAnimateTimings;let N=_.currentTime,W=_.currentTime;E&&W>0&&(W-=E.duration+E.delay),g.styles.forEach(he=>{"string"!=typeof he&&Object.keys(he).forEach(ae=>{if(!this._driver.validateStyleProperty(ae))return delete he[ae],void _.unsupportedCSSPropertiesFound.add(ae);const Pe=_.collectedStyles[_.currentQuerySelector],Ye=Pe[ae];let Ut=!0;Ye&&(W!=N&&W>=Ye.startTime&&N<=Ye.endTime&&(_.errors.push(function Jt(I,g,_,E,N){return new l.vHH(3010,z)}()),Ut=!1),W=Ye.startTime),Ut&&(Pe[ae]={startTime:W,endTime:N}),_.options&&function Ie(I,g,_){const E=g.params||{},N=J(I);N.length&&N.forEach(W=>{E.hasOwnProperty(W)||_.push(function we(I){return new l.vHH(3001,z)}())})}(he[ae],_.options,_.errors)})})}visitKeyframes(g,_){const E={type:5,styles:[],options:null};if(!_.currentAnimateTimings)return _.errors.push(function ht(){return new l.vHH(3011,z)}()),E;let W=0;const he=[];let ae=!1,Pe=!1,Ye=0;const Ut=g.steps.map(Wr=>{const Vr=this._makeStyleAst(Wr,_);let ai=null!=Vr.offset?Vr.offset:function L(I){if("string"==typeof I)return null;let g=null;if(Array.isArray(I))I.forEach(_=>{if(te(_)&&_.hasOwnProperty("offset")){const E=_;g=parseFloat(E.offset),delete E.offset}});else if(te(I)&&I.hasOwnProperty("offset")){const _=I;g=parseFloat(_.offset),delete _.offset}return g}(Vr.styles),$r=0;return null!=ai&&(W++,$r=Vr.offset=ai),Pe=Pe||$r<0||$r>1,ae=ae||$r<Ye,Ye=$r,he.push($r),Vr});Pe&&_.errors.push(function qe(){return new l.vHH(3012,z)}()),ae&&_.errors.push(function ct(){return new l.vHH(3200,z)}());const tn=g.steps.length;let sn=0;W>0&&W<tn?_.errors.push(function Le(){return new l.vHH(3202,z)}()):0==W&&(sn=1/(tn-1));const vn=tn-1,ln=_.currentTime,On=_.currentAnimateTimings,ar=On.duration;return Ut.forEach((Wr,Vr)=>{const ai=sn>0?Vr==vn?1:sn*Vr:he[Vr],$r=ai*ar;_.currentTime=ln+On.delay+$r,On.duration=$r,this._validateStyleAst(Wr,_),Wr.offset=ai,E.styles.push(Wr)}),E}visitReference(g,_){return{type:8,animation:wt(this,ir(g.animation),_),options:Ne(g.options)}}visitAnimateChild(g,_){return _.depCount++,{type:9,options:Ne(g.options)}}visitAnimateRef(g,_){return{type:10,animation:this.visitReference(g.animation,_),options:Ne(g.options)}}visitQuery(g,_){const E=_.currentQuerySelector,N=g.options||{};_.queryCount++,_.currentQuery=g;const[W,he]=function hr(I){const g=!!I.split(/\s*,\s*/).find(_=>":self"==_);return g&&(I=I.replace(Jr,"")),I=I.replace(/@\*/g,vt).replace(/@\w+/g,_=>vt+"-"+_.substr(1)).replace(/:animating/g,Zt),[I,g]}(g.selector);_.currentQuerySelector=E.length?E+" "+W:W,tr(_.collectedStyles,_.currentQuerySelector,{});const ae=wt(this,ir(g.animation),_);return _.currentQuery=null,_.currentQuerySelector=E,{type:11,selector:W,limit:N.limit||0,optional:!!N.optional,includeSelf:he,animation:ae,originalSelector:g.selector,options:Ne(g.options)}}visitStagger(g,_){_.currentQuery||_.errors.push(function _t(){return new l.vHH(3013,z)}());const E="full"===g.timings?{duration:0,delay:0,easing:"full"}:Wt(g.timings,_.errors,!0);return{type:12,animation:wt(this,ir(g.animation),_),timings:E,options:null}}}class U{constructor(g){this.errors=g,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 te(I){return!Array.isArray(I)&&"object"==typeof I}function Ne(I){return I?(I=Un(I)).params&&(I.params=function O(I){return I?Un(I):null}(I.params)):I={},I}function Ke(I,g,_){return{duration:I,delay:g,easing:_}}function nt(I,g,_,E,N,W,he=null,ae=!1){return{type:1,element:I,keyframes:g,preStyleProps:_,postStyleProps:E,duration:N,delay:W,totalTime:N+W,easing:he,subTimeline:ae}}class at{constructor(){this._map=new Map}get(g){return this._map.get(g)||[]}append(g,_){let E=this._map.get(g);E||this._map.set(g,E=[]),E.push(..._)}has(g){return this._map.has(g)}clear(){this._map.clear()}}const Yn=new RegExp(":enter","g"),pr=new RegExp(":leave","g");function qn(I,g,_,E,N,W={},he={},ae,Pe,Ye=[]){return(new _r).buildKeyframes(I,g,_,E,N,W,he,ae,Pe,Ye)}class _r{buildKeyframes(g,_,E,N,W,he,ae,Pe,Ye,Ut=[]){Ye=Ye||new at;const tn=new pi(g,_,Ye,N,W,Ut,[]);tn.options=Pe,tn.currentTimeline.setStyles([he],null,tn.errors,Pe),wt(this,E,tn);const sn=tn.timelines.filter(vn=>vn.containsAnimation());if(Object.keys(ae).length){let vn;for(let ln=sn.length-1;ln>=0;ln--){const On=sn[ln];if(On.element===_){vn=On;break}}vn&&!vn.allowOnlyTimelineStyles()&&vn.setStyles([ae],null,tn.errors,Pe)}return sn.length?sn.map(vn=>vn.buildKeyframes()):[nt(_,[],[],[],0,0,"",!1)]}visitTrigger(g,_){}visitState(g,_){}visitTransition(g,_){}visitAnimateChild(g,_){const E=_.subInstructions.get(_.element);if(E){const N=_.createSubContext(g.options),W=_.currentTimeline.currentTime,he=this._visitSubInstructions(E,N,N.options);W!=he&&_.transformIntoNewTimeline(he)}_.previousNode=g}visitAnimateRef(g,_){const E=_.createSubContext(g.options);E.transformIntoNewTimeline(),this.visitReference(g.animation,E),_.transformIntoNewTimeline(E.currentTimeline.currentTime),_.previousNode=g}_visitSubInstructions(g,_,E){let W=_.currentTimeline.currentTime;const he=null!=E.duration?Qt(E.duration):null,ae=null!=E.delay?Qt(E.delay):null;return 0!==he&&g.forEach(Pe=>{const Ye=_.appendInstructionToTimeline(Pe,he,ae);W=Math.max(W,Ye.duration+Ye.delay)}),W}visitReference(g,_){_.updateOptions(g.options,!0),wt(this,g.animation,_),_.previousNode=g}visitSequence(g,_){const E=_.subContextCount;let N=_;const W=g.options;if(W&&(W.params||W.delay)&&(N=_.createSubContext(W),N.transformIntoNewTimeline(),null!=W.delay)){6==N.previousNode.type&&(N.currentTimeline.snapshotCurrentStyles(),N.previousNode=hi);const he=Qt(W.delay);N.delayNextStep(he)}g.steps.length&&(g.steps.forEach(he=>wt(this,he,N)),N.currentTimeline.applyStylesToKeyframe(),N.subContextCount>E&&N.transformIntoNewTimeline()),_.previousNode=g}visitGroup(g,_){const E=[];let N=_.currentTimeline.currentTime;const W=g.options&&g.options.delay?Qt(g.options.delay):0;g.steps.forEach(he=>{const ae=_.createSubContext(g.options);W&&ae.delayNextStep(W),wt(this,he,ae),N=Math.max(N,ae.currentTimeline.currentTime),E.push(ae.currentTimeline)}),E.forEach(he=>_.currentTimeline.mergeTimelineCollectedStyles(he)),_.transformIntoNewTimeline(N),_.previousNode=g}_visitTiming(g,_){if(g.dynamic){const E=g.strValue;return Wt(_.params?Re(E,_.params,_.errors):E,_.errors)}return{duration:g.duration,delay:g.delay,easing:g.easing}}visitAnimate(g,_){const E=_.currentAnimateTimings=this._visitTiming(g.timings,_),N=_.currentTimeline;E.delay&&(_.incrementTime(E.delay),N.snapshotCurrentStyles());const W=g.style;5==W.type?this.visitKeyframes(W,_):(_.incrementTime(E.duration),this.visitStyle(W,_),N.applyStylesToKeyframe()),_.currentAnimateTimings=null,_.previousNode=g}visitStyle(g,_){const E=_.currentTimeline,N=_.currentAnimateTimings;!N&&E.getCurrentStyleProperties().length&&E.forwardFrame();const W=N&&N.easing||g.easing;g.isEmptyStep?E.applyEmptyStep(W):E.setStyles(g.styles,W,_.errors,_.options),_.previousNode=g}visitKeyframes(g,_){const E=_.currentAnimateTimings,N=_.currentTimeline.duration,W=E.duration,ae=_.createSubContext().currentTimeline;ae.easing=E.easing,g.styles.forEach(Pe=>{ae.forwardTime((Pe.offset||0)*W),ae.setStyles(Pe.styles,Pe.easing,_.errors,_.options),ae.applyStylesToKeyframe()}),_.currentTimeline.mergeTimelineCollectedStyles(ae),_.transformIntoNewTimeline(N+W),_.previousNode=g}visitQuery(g,_){const E=_.currentTimeline.currentTime,N=g.options||{},W=N.delay?Qt(N.delay):0;W&&(6===_.previousNode.type||0==E&&_.currentTimeline.getCurrentStyleProperties().length)&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=hi);let he=E;const ae=_.invokeQuery(g.selector,g.originalSelector,g.limit,g.includeSelf,!!N.optional,_.errors);_.currentQueryTotal=ae.length;let Pe=null;ae.forEach((Ye,Ut)=>{_.currentQueryIndex=Ut;const tn=_.createSubContext(g.options,Ye);W&&tn.delayNextStep(W),Ye===_.element&&(Pe=tn.currentTimeline),wt(this,g.animation,tn),tn.currentTimeline.applyStylesToKeyframe(),he=Math.max(he,tn.currentTimeline.currentTime)}),_.currentQueryIndex=0,_.currentQueryTotal=0,_.transformIntoNewTimeline(he),Pe&&(_.currentTimeline.mergeTimelineCollectedStyles(Pe),_.currentTimeline.snapshotCurrentStyles()),_.previousNode=g}visitStagger(g,_){const E=_.parentContext,N=_.currentTimeline,W=g.timings,he=Math.abs(W.duration),ae=he*(_.currentQueryTotal-1);let Pe=he*_.currentQueryIndex;switch(W.duration<0?"reverse":W.easing){case"reverse":Pe=ae-Pe;break;case"full":Pe=E.currentStaggerTime}const Ut=_.currentTimeline;Pe&&Ut.delayNextStep(Pe);const tn=Ut.currentTime;wt(this,g.animation,_),_.previousNode=g,E.currentStaggerTime=N.currentTime-tn+(N.startTime-E.currentTimeline.startTime)}}const hi={};class pi{constructor(g,_,E,N,W,he,ae,Pe){this._driver=g,this.element=_,this.subInstructions=E,this._enterClassName=N,this._leaveClassName=W,this.errors=he,this.timelines=ae,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=hi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Pe||new Li(this._driver,_,0),ae.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(g,_){if(!g)return;const E=g;let N=this.options;null!=E.duration&&(N.duration=Qt(E.duration)),null!=E.delay&&(N.delay=Qt(E.delay));const W=E.params;if(W){let he=N.params;he||(he=this.options.params={}),Object.keys(W).forEach(ae=>{(!_||!he.hasOwnProperty(ae))&&(he[ae]=Re(W[ae],he,this.errors))})}}_copyOptions(){const g={};if(this.options){const _=this.options.params;if(_){const E=g.params={};Object.keys(_).forEach(N=>{E[N]=_[N]})}}return g}createSubContext(g=null,_,E){const N=_||this.element,W=new pi(this._driver,N,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(N,E||0));return W.previousNode=this.previousNode,W.currentAnimateTimings=this.currentAnimateTimings,W.options=this._copyOptions(),W.updateOptions(g),W.currentQueryIndex=this.currentQueryIndex,W.currentQueryTotal=this.currentQueryTotal,W.parentContext=this,this.subContextCount++,W}transformIntoNewTimeline(g){return this.previousNode=hi,this.currentTimeline=this.currentTimeline.fork(this.element,g),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(g,_,E){const N={duration:_??g.duration,delay:this.currentTimeline.currentTime+(E??0)+g.delay,easing:""},W=new ii(this._driver,g.element,g.keyframes,g.preStyleProps,g.postStyleProps,N,g.stretchStartingKeyframe);return this.timelines.push(W),N}incrementTime(g){this.currentTimeline.forwardTime(this.currentTimeline.duration+g)}delayNextStep(g){g>0&&this.currentTimeline.delayNextStep(g)}invokeQuery(g,_,E,N,W,he){let ae=[];if(N&&ae.push(this.element),g.length>0){g=(g=g.replace(Yn,"."+this._enterClassName)).replace(pr,"."+this._leaveClassName);let Ye=this._driver.query(this.element,g,1!=E);0!==E&&(Ye=E<0?Ye.slice(Ye.length+E,Ye.length):Ye.slice(0,E)),ae.push(...Ye)}return!W&&0==ae.length&&he.push(function rn(I){return new l.vHH(3014,z)}()),ae}}class Li{constructor(g,_,E,N){this._driver=g,this.element=_,this.startTime=E,this._elementTimelineStylesLookup=N,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(_),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(_,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(g){const _=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||_?(this.forwardTime(this.currentTime+g),_&&this.snapshotCurrentStyles()):this.startTime+=g}fork(g,_){return this.applyStylesToKeyframe(),new Li(this._driver,g,_||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(g){this.applyStylesToKeyframe(),this.duration=g,this._loadKeyframe()}_updateStyle(g,_){this._localTimelineStyles[g]=_,this._globalTimelineStyles[g]=_,this._styleSummary[g]={time:this.currentTime,value:_}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(g){g&&(this._previousKeyframe.easing=g),Object.keys(this._globalTimelineStyles).forEach(_=>{this._backFill[_]=this._globalTimelineStyles[_]||K.l3,this._currentKeyframe[_]=K.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(g,_,E,N){_&&(this._previousKeyframe.easing=_);const W=N&&N.params||{},he=function Yo(I,g){const _={};let E;return I.forEach(N=>{"*"===N?(E=E||Object.keys(g),E.forEach(W=>{_[W]=K.l3})):Rt(N,!1,_)}),_}(g,this._globalTimelineStyles);Object.keys(he).forEach(ae=>{const Pe=Re(he[ae],W,E);this._pendingStyles[ae]=Pe,this._localTimelineStyles.hasOwnProperty(ae)||(this._backFill[ae]=this._globalTimelineStyles.hasOwnProperty(ae)?this._globalTimelineStyles[ae]:K.l3),this._updateStyle(ae,Pe)})}applyStylesToKeyframe(){const g=this._pendingStyles,_=Object.keys(g);0!=_.length&&(this._pendingStyles={},_.forEach(E=>{this._currentKeyframe[E]=g[E]}),Object.keys(this._localTimelineStyles).forEach(E=>{this._currentKeyframe.hasOwnProperty(E)||(this._currentKeyframe[E]=this._localTimelineStyles[E])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(g=>{const _=this._localTimelineStyles[g];this._pendingStyles[g]=_,this._updateStyle(g,_)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const g=[];for(let _ in this._currentKeyframe)g.push(_);return g}mergeTimelineCollectedStyles(g){Object.keys(g._styleSummary).forEach(_=>{const E=this._styleSummary[_],N=g._styleSummary[_];(!E||N.time>E.time)&&this._updateStyle(_,N.value)})}buildKeyframes(){this.applyStylesToKeyframe();const g=new Set,_=new Set,E=1===this._keyframes.size&&0===this.duration;let N=[];this._keyframes.forEach((ae,Pe)=>{const Ye=Rt(ae,!0);Object.keys(Ye).forEach(Ut=>{const tn=Ye[Ut];tn==K.k1?g.add(Ut):tn==K.l3&&_.add(Ut)}),E||(Ye.offset=Pe/this.duration),N.push(Ye)});const W=g.size?We(g.values()):[],he=_.size?We(_.values()):[];if(E){const ae=N[0],Pe=Un(ae);ae.offset=0,Pe.offset=1,N=[ae,Pe]}return nt(this.element,N,W,he,this.duration,this.startTime,this.easing,!1)}}class ii extends Li{constructor(g,_,E,N,W,he,ae=!1){super(g,_,he.delay),this.keyframes=E,this.preStyleProps=N,this.postStyleProps=W,this._stretchStartingKeyframe=ae,this.timings={duration:he.duration,delay:he.delay,easing:he.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let g=this.keyframes,{delay:_,duration:E,easing:N}=this.timings;if(this._stretchStartingKeyframe&&_){const W=[],he=E+_,ae=_/he,Pe=Rt(g[0],!1);Pe.offset=0,W.push(Pe);const Ye=Rt(g[0],!1);Ye.offset=Vi(ae),W.push(Ye);const Ut=g.length-1;for(let tn=1;tn<=Ut;tn++){let sn=Rt(g[tn],!1);sn.offset=Vi((_+sn.offset*E)/he),W.push(sn)}E=he,_=0,N="",g=W}return nt(this.element,g,this.preStyleProps,this.postStyleProps,E,_,N,!0)}}function Vi(I,g=3){const _=Math.pow(10,g-1);return Math.round(I*_)/_}class Ns{}class qs extends Ns{normalizePropertyName(g,_){return Tt(g)}normalizeStyleValue(g,_,E,N){let W="";const he=E.toString().trim();if(Fs[_]&&0!==E&&"0"!==E)if("number"==typeof E)W="px";else{const ae=E.match(/^[+-]?[\d\.]+([a-z]*)$/);ae&&0==ae[1].length&&N.push(function ce(I,g){return new l.vHH(3005,z)}())}return he+W}}const Fs=(()=>function Ao(I){const g={};return I.forEach(_=>g[_]=!0),g}("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 cs(I,g,_,E,N,W,he,ae,Pe,Ye,Ut,tn,sn){return{type:0,element:I,triggerName:g,isRemovalTransition:N,fromState:_,fromStyles:W,toState:E,toStyles:he,timelines:ae,queriedElements:Pe,preStyleProps:Ye,postStyleProps:Ut,totalTime:tn,errors:sn}}const mo={};class _o{constructor(g,_,E){this._triggerName=g,this.ast=_,this._stateStyles=E}match(g,_,E,N){return function Io(I,g,_,E,N){return I.some(W=>W(g,_,E,N))}(this.ast.matchers,g,_,E,N)}buildStyles(g,_,E){const N=this._stateStyles["*"],W=this._stateStyles[g],he=N?N.buildStyles(_,E):{};return W?W.buildStyles(_,E):he}build(g,_,E,N,W,he,ae,Pe,Ye,Ut){const tn=[],sn=this.ast.options&&this.ast.options.params||mo,ln=this.buildStyles(E,ae&&ae.params||mo,tn),On=Pe&&Pe.params||mo,ar=this.buildStyles(N,On,tn),Wr=new Set,Vr=new Map,ai=new Map,$r="void"===N,Ee={params:{...sn,...On}},ze=Ut?[]:qn(g,_,this.ast.animation,W,he,ln,ar,Ee,Ye,tn);let Be=0;if(ze.forEach(yn=>{Be=Math.max(yn.duration+yn.delay,Be)}),tn.length)return cs(_,this._triggerName,E,N,$r,ln,ar,[],[],Vr,ai,Be,tn);ze.forEach(yn=>{const fn=yn.element,vr=tr(Vr,fn,{});yn.preStyleProps.forEach(co=>vr[co]=!0);const hn=tr(ai,fn,{});yn.postStyleProps.forEach(co=>hn[co]=!0),fn!==_&&Wr.add(fn)});const kt=We(Wr.values());return cs(_,this._triggerName,E,N,$r,ln,ar,ze,kt,Vr,ai,Be)}}class Ko{constructor(g,_,E){this.styles=g,this.defaultParams=_,this.normalizer=E}buildStyles(g,_){const E={},N=Un(this.defaultParams);return Object.keys(g).forEach(W=>{const he=g[W];null!=he&&(N[W]=he)}),this.styles.styles.forEach(W=>{if("string"!=typeof W){const he=W;Object.keys(he).forEach(ae=>{let Pe=he[ae];Pe.length>1&&(Pe=Re(Pe,N,_));const Ye=this.normalizer.normalizePropertyName(ae,_);Pe=this.normalizer.normalizeStyleValue(ae,Ye,Pe,_),E[Ye]=Pe})}}),E}}class lo{constructor(g,_,E){this.name=g,this.ast=_,this._normalizer=E,this.transitionFactories=[],this.states={},_.states.forEach(N=>{this.states[N.name]=new Ko(N.style,N.options&&N.options.params||{},E)}),Ro(this.states,"true","1"),Ro(this.states,"false","0"),_.transitions.forEach(N=>{this.transitionFactories.push(new _o(g,N,this.states))}),this.fallbackTransition=function ds(I,g,_){return new _o(I,{type:1,animation:{type:2,steps:[],options:null},matchers:[(he,ae)=>!0],options:null,queryCount:0,depCount:0},g)}(g,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(g,_,E,N){return this.transitionFactories.find(he=>he.match(g,_,E,N))||null}matchStyles(g,_,E){return this.fallbackTransition.buildStyles(g,_,E)}}function Ro(I,g,_){I.hasOwnProperty(g)?I.hasOwnProperty(_)||(I[_]=I[g]):I.hasOwnProperty(_)&&(I[g]=I[_])}const or=new at;class Jn{constructor(g,_,E){this.bodyNode=g,this._driver=_,this._normalizer=E,this._animations={},this._playersById={},this.players=[]}register(g,_){const E=[],W=Er(this._driver,_,E,[]);if(E.length)throw function Oe(I){return new l.vHH(3503,z)}();this._animations[g]=W}_buildPlayer(g,_,E){const N=g.element,W=Hr(0,this._normalizer,0,g.keyframes,_,E);return this._driver.animate(N,W,g.duration,g.delay,g.easing,[],!0)}create(g,_,E={}){const N=[],W=this._animations[g];let he;const ae=new Map;if(W?(he=qn(this._driver,_,W,Dt,Mt,{},{},E,or,N),he.forEach(Ut=>{const tn=tr(ae,Ut.element,{});Ut.postStyleProps.forEach(sn=>tn[sn]=null)})):(N.push(function Fe(){return new l.vHH(3300,z)}()),he=[]),N.length)throw function Vt(I){return new l.vHH(3504,z)}();ae.forEach((Ut,tn)=>{Object.keys(Ut).forEach(sn=>{Ut[sn]=this._driver.computeStyle(tn,sn,K.l3)})});const Ye=Qn(he.map(Ut=>{const tn=ae.get(Ut.element);return this._buildPlayer(Ut,{},tn)}));return this._playersById[g]=Ye,Ye.onDestroy(()=>this.destroy(g)),this.players.push(Ye),Ye}destroy(g){const _=this._getPlayer(g);_.destroy(),delete this._playersById[g];const E=this.players.indexOf(_);E>=0&&this.players.splice(E,1)}_getPlayer(g){const _=this._playersById[g];if(!_)throw function Yt(I){return new l.vHH(3301,z)}();return _}listen(g,_,E,N){const W=Fr(_,"","","");return er(this._getPlayer(g),E,W,N),()=>{}}command(g,_,E,N){if("register"==E)return void this.register(g,N[0]);if("create"==E)return void this.create(g,_,N[0]||{});const W=this._getPlayer(g);switch(E){case"play":W.play();break;case"pause":W.pause();break;case"reset":W.reset();break;case"restart":W.restart();break;case"finish":W.finish();break;case"init":W.init();break;case"setPosition":W.setPosition(parseFloat(N[0]));break;case"destroy":this.destroy(g)}}}const Di="ng-animate-queued",$i="ng-animate-disabled",yo=[],hs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Gr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ti="__ng_removed";class Mi{constructor(g,_=""){this.namespaceId=_;const E=g&&g.hasOwnProperty("value");if(this.value=function S(I){return I??null}(E?g.value:g),E){const W=Un(g);delete W.value,this.options=W}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(g){const _=g.params;if(_){const E=this.options.params;Object.keys(_).forEach(N=>{null==E[N]&&(E[N]=_[N])})}}}const zr="void",Bi=new Mi(zr);class oi{constructor(g,_,E){this.id=g,this.hostElement=_,this._engine=E,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+g,rt(_,this._hostClassName)}listen(g,_,E,N){if(!this._triggers.hasOwnProperty(_))throw function Ur(I,g){return new l.vHH(3302,z)}();if(null==E||0==E.length)throw function Yr(I){return new l.vHH(3303,z)}();if(!function T(I){return"start"==I||"done"==I}(E))throw function Wn(I,g){return new l.vHH(3400,z)}();const W=tr(this._elementListeners,g,[]),he={name:_,phase:E,callback:N};W.push(he);const ae=tr(this._engine.statesByElement,g,{});return ae.hasOwnProperty(_)||(rt(g,on),rt(g,on+"-"+_),ae[_]=Bi),()=>{this._engine.afterFlush(()=>{const Pe=W.indexOf(he);Pe>=0&&W.splice(Pe,1),this._triggers[_]||delete ae[_]})}}register(g,_){return!this._triggers[g]&&(this._triggers[g]=_,!0)}_getTrigger(g){const _=this._triggers[g];if(!_)throw function Zr(I){return new l.vHH(3401,z)}();return _}trigger(g,_,E,N=!0){const W=this._getTrigger(_),he=new Co(this.id,_,g);let ae=this._engine.statesByElement.get(g);ae||(rt(g,on),rt(g,on+"-"+_),this._engine.statesByElement.set(g,ae={}));let Pe=ae[_];const Ye=new Mi(E,this.id);if(!(E&&E.hasOwnProperty("value"))&&Pe&&Ye.absorbOptions(Pe.options),ae[_]=Ye,Pe||(Pe=Bi),Ye.value!==zr&&Pe.value===Ye.value){if(!function Ot(I,g){const _=Object.keys(I),E=Object.keys(g);if(_.length!=E.length)return!1;for(let N=0;N<_.length;N++){const W=_[N];if(!g.hasOwnProperty(W)||I[W]!==g[W])return!1}return!0}(Pe.params,Ye.params)){const On=[],ar=W.matchStyles(Pe.value,Pe.params,On),Wr=W.matchStyles(Ye.value,Ye.params,On);On.length?this._engine.reportError(On):this._engine.afterFlush(()=>{$t(g,ar),mn(g,Wr)})}return}const sn=tr(this._engine.playersByElement,g,[]);sn.forEach(On=>{On.namespaceId==this.id&&On.triggerName==_&&On.queued&&On.destroy()});let vn=W.matchTransition(Pe.value,Ye.value,g,Ye.params),ln=!1;if(!vn){if(!N)return;vn=W.fallbackTransition,ln=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:_,transition:vn,fromState:Pe,toState:Ye,player:he,isFallbackTransition:ln}),ln||(rt(g,Di),he.onStart(()=>{bt(g,Di)})),he.onDone(()=>{let On=this.players.indexOf(he);On>=0&&this.players.splice(On,1);const ar=this._engine.playersByElement.get(g);if(ar){let Wr=ar.indexOf(he);Wr>=0&&ar.splice(Wr,1)}}),this.players.push(he),sn.push(he),he}deregister(g){delete this._triggers[g],this._engine.statesByElement.forEach((_,E)=>{delete _[g]}),this._elementListeners.forEach((_,E)=>{this._elementListeners.set(E,_.filter(N=>N.name!=g))})}clearElementCache(g){this._engine.statesByElement.delete(g),this._elementListeners.delete(g);const _=this._engine.playersByElement.get(g);_&&(_.forEach(E=>E.destroy()),this._engine.playersByElement.delete(g))}_signalRemovalForInnerTriggers(g,_){const E=this._engine.driver.query(g,vt,!0);E.forEach(N=>{if(N[ti])return;const W=this._engine.fetchNamespacesByElement(N);W.size?W.forEach(he=>he.triggerLeaveAnimation(N,_,!1,!0)):this.clearElementCache(N)}),this._engine.afterFlushAnimationsDone(()=>E.forEach(N=>this.clearElementCache(N)))}triggerLeaveAnimation(g,_,E,N){const W=this._engine.statesByElement.get(g),he=new Map;if(W){const ae=[];if(Object.keys(W).forEach(Pe=>{if(he.set(Pe,W[Pe].value),this._triggers[Pe]){const Ye=this.trigger(g,Pe,zr,N);Ye&&ae.push(Ye)}}),ae.length)return this._engine.markElementAsRemoved(this.id,g,!0,_,he),E&&Qn(ae).onDone(()=>this._engine.processLeaveNode(g)),!0}return!1}prepareLeaveAnimationListeners(g){const _=this._elementListeners.get(g),E=this._engine.statesByElement.get(g);if(_&&E){const N=new Set;_.forEach(W=>{const he=W.name;if(N.has(he))return;N.add(he);const Pe=this._triggers[he].fallbackTransition,Ye=E[he]||Bi,Ut=new Mi(zr),tn=new Co(this.id,he,g);this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:he,transition:Pe,fromState:Ye,toState:Ut,player:tn,isFallbackTransition:!0})})}}removeNode(g,_){const E=this._engine;if(g.childElementCount&&this._signalRemovalForInnerTriggers(g,_),this.triggerLeaveAnimation(g,_,!0))return;let N=!1;if(E.totalAnimations){const W=E.players.length?E.playersByQueriedElement.get(g):[];if(W&&W.length)N=!0;else{let he=g;for(;he=he.parentNode;)if(E.statesByElement.get(he)){N=!0;break}}}if(this.prepareLeaveAnimationListeners(g),N)E.markElementAsRemoved(this.id,g,!1,_);else{const W=g[ti];(!W||W===hs)&&(E.afterFlush(()=>this.clearElementCache(g)),E.destroyInnerAnimations(g),E._onRemovalComplete(g,_))}}insertNode(g,_){rt(g,this._hostClassName)}drainQueuedTransitions(g){const _=[];return this._queue.forEach(E=>{const N=E.player;if(N.destroyed)return;const W=E.element,he=this._elementListeners.get(W);he&&he.forEach(ae=>{if(ae.name==E.triggerName){const Pe=Fr(W,E.triggerName,E.fromState.value,E.toState.value);Pe._data=g,er(E.player,ae.phase,Pe,ae.callback)}}),N.markedForDestroy?this._engine.afterFlush(()=>{N.destroy()}):_.push(E)}),this._queue=[],_.sort((E,N)=>{const W=E.transition.ast.depCount,he=N.transition.ast.depCount;return 0==W||0==he?W-he:this._engine.driver.containsElement(E.element,N.element)?1:-1})}destroy(g){this.players.forEach(_=>_.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,g)}elementContainsData(g){let _=!1;return this._elementListeners.has(g)&&(_=!0),_=!!this._queue.find(E=>E.element===g)||_,_}}class vo{constructor(g,_,E){this.bodyNode=g,this.driver=_,this._normalizer=E,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=(N,W)=>{}}_onRemovalComplete(g,_){this.onRemovalComplete(g,_)}get queuedPlayers(){const g=[];return this._namespaceList.forEach(_=>{_.players.forEach(E=>{E.queued&&g.push(E)})}),g}createNamespace(g,_){const E=new oi(g,_,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,_)?this._balanceNamespaceList(E,_):(this.newHostElements.set(_,E),this.collectEnterElement(_)),this._namespaceLookup[g]=E}_balanceNamespaceList(g,_){const E=this._namespaceList,N=this.namespacesByHostElement,W=E.length-1;if(W>=0){let he=!1;if(void 0!==this.driver.getParentElement){let ae=this.driver.getParentElement(_);for(;ae;){const Pe=N.get(ae);if(Pe){const Ye=E.indexOf(Pe);E.splice(Ye+1,0,g),he=!0;break}ae=this.driver.getParentElement(ae)}}else for(let ae=W;ae>=0;ae--)if(this.driver.containsElement(E[ae].hostElement,_)){E.splice(ae+1,0,g),he=!0;break}he||E.unshift(g)}else E.push(g);return N.set(_,g),g}register(g,_){let E=this._namespaceLookup[g];return E||(E=this.createNamespace(g,_)),E}registerTrigger(g,_,E){let N=this._namespaceLookup[g];N&&N.register(_,E)&&this.totalAnimations++}destroy(g,_){if(!g)return;const E=this._fetchNamespace(g);this.afterFlush(()=>{this.namespacesByHostElement.delete(E.hostElement),delete this._namespaceLookup[g];const N=this._namespaceList.indexOf(E);N>=0&&this._namespaceList.splice(N,1)}),this.afterFlushAnimationsDone(()=>E.destroy(_))}_fetchNamespace(g){return this._namespaceLookup[g]}fetchNamespacesByElement(g){const _=new Set,E=this.statesByElement.get(g);if(E){const N=Object.keys(E);for(let W=0;W<N.length;W++){const he=E[N[W]].namespaceId;if(he){const ae=this._fetchNamespace(he);ae&&_.add(ae)}}}return _}trigger(g,_,E,N){if(k(_)){const W=this._fetchNamespace(g);if(W)return W.trigger(_,E,N),!0}return!1}insertNode(g,_,E,N){if(!k(_))return;const W=_[ti];if(W&&W.setForRemoval){W.setForRemoval=!1,W.setForMove=!0;const he=this.collectedLeaveElements.indexOf(_);he>=0&&this.collectedLeaveElements.splice(he,1)}if(g){const he=this._fetchNamespace(g);he&&he.insertNode(_,E)}N&&this.collectEnterElement(_)}collectEnterElement(g){this.collectedEnterElements.push(g)}markElementAsDisabled(g,_){_?this.disabledNodes.has(g)||(this.disabledNodes.add(g),rt(g,$i)):this.disabledNodes.has(g)&&(this.disabledNodes.delete(g),bt(g,$i))}removeNode(g,_,E,N){if(k(_)){const W=g?this._fetchNamespace(g):null;if(W?W.removeNode(_,N):this.markElementAsRemoved(g,_,!1,N),E){const he=this.namespacesByHostElement.get(_);he&&he.id!==g&&he.removeNode(_,N)}}else this._onRemovalComplete(_,N)}markElementAsRemoved(g,_,E,N,W){this.collectedLeaveElements.push(_),_[ti]={namespaceId:g,setForRemoval:N,hasAnimation:E,removedBeforeQueried:!1,previousTriggersValues:W}}listen(g,_,E,N,W){return k(_)?this._fetchNamespace(g).listen(_,E,N,W):()=>{}}_buildInstruction(g,_,E,N,W){return g.transition.build(this.driver,g.element,g.fromState.value,g.toState.value,E,N,g.fromState.options,g.toState.options,_,W)}destroyInnerAnimations(g){let _=this.driver.query(g,vt,!0);_.forEach(E=>this.destroyActiveAnimationsForElement(E)),0!=this.playersByQueriedElement.size&&(_=this.driver.query(g,Zt,!0),_.forEach(E=>this.finishActiveQueriedAnimationOnElement(E)))}destroyActiveAnimationsForElement(g){const _=this.playersByElement.get(g);_&&_.forEach(E=>{E.queued?E.markedForDestroy=!0:E.destroy()})}finishActiveQueriedAnimationOnElement(g){const _=this.playersByQueriedElement.get(g);_&&_.forEach(E=>E.finish())}whenRenderingDone(){return new Promise(g=>{if(this.players.length)return Qn(this.players).onDone(()=>g());g()})}processLeaveNode(g){const _=g[ti];if(_&&_.setForRemoval){if(g[ti]=hs,_.namespaceId){this.destroyInnerAnimations(g);const E=this._fetchNamespace(_.namespaceId);E&&E.clearElementCache(g)}this._onRemovalComplete(g,_.setForRemoval)}g.classList?.contains($i)&&this.markElementAsDisabled(g,!1),this.driver.query(g,".ng-animate-disabled",!0).forEach(E=>{this.markElementAsDisabled(E,!1)})}flush(g=-1){let _=[];if(this.newHostElements.size&&(this.newHostElements.forEach((E,N)=>this._balanceNamespaceList(E,N)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let E=0;E<this.collectedEnterElements.length;E++)rt(this.collectedEnterElements[E],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const E=[];try{_=this._flushAnimations(E,g)}finally{for(let N=0;N<E.length;N++)E[N]()}}else for(let E=0;E<this.collectedLeaveElements.length;E++)this.processLeaveNode(this.collectedLeaveElements[E]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(E=>E()),this._flushFns=[],this._whenQuietFns.length){const E=this._whenQuietFns;this._whenQuietFns=[],_.length?Qn(_).onDone(()=>{E.forEach(N=>N())}):E.forEach(N=>N())}}reportError(g){throw function Vn(I){return new l.vHH(3402,z)}()}_flushAnimations(g,_){const E=new at,N=[],W=new Map,he=[],ae=new Map,Pe=new Map,Ye=new Map,Ut=new Set;this.disabledNodes.forEach(zt=>{Ut.add(zt);const un=this.driver.query(zt,".ng-animate-queued",!0);for(let pn=0;pn<un.length;pn++)Ut.add(un[pn])});const tn=this.bodyNode,sn=Array.from(this.statesByElement.keys()),vn=He(sn,this.collectedEnterElements),ln=new Map;let On=0;vn.forEach((zt,un)=>{const pn=Dt+On++;ln.set(un,pn),zt.forEach(kn=>rt(kn,pn))});const ar=[],Wr=new Set,Vr=new Set;for(let zt=0;zt<this.collectedLeaveElements.length;zt++){const un=this.collectedLeaveElements[zt],pn=un[ti];pn&&pn.setForRemoval&&(ar.push(un),Wr.add(un),pn.hasAnimation?this.driver.query(un,".ng-star-inserted",!0).forEach(kn=>Wr.add(kn)):Vr.add(un))}const ai=new Map,$r=He(sn,Array.from(Wr));$r.forEach((zt,un)=>{const pn=Mt+On++;ai.set(un,pn),zt.forEach(kn=>rt(kn,pn))}),g.push(()=>{vn.forEach((zt,un)=>{const pn=ln.get(un);zt.forEach(kn=>bt(kn,pn))}),$r.forEach((zt,un)=>{const pn=ai.get(un);zt.forEach(kn=>bt(kn,pn))}),ar.forEach(zt=>{this.processLeaveNode(zt)})});const Ee=[],ze=[];for(let zt=this._namespaceList.length-1;zt>=0;zt--)this._namespaceList[zt].drainQueuedTransitions(_).forEach(pn=>{const kn=pn.player,Rr=pn.element;if(Ee.push(kn),this.collectedEnterElements.length){const yi=Rr[ti];if(yi&&yi.setForMove){if(yi.previousTriggersValues&&yi.previousTriggersValues.has(pn.triggerName)){const Ii=yi.previousTriggersValues.get(pn.triggerName),qr=this.statesByElement.get(pn.element);qr&&qr[pn.triggerName]&&(qr[pn.triggerName].value=Ii)}return void kn.destroy()}}const Nn=!tn||!this.driver.containsElement(tn,Rr),_i=ai.get(Rr),Wi=ln.get(Rr),lr=this._buildInstruction(pn,E,Wi,_i,Nn);if(lr.errors&&lr.errors.length)return void ze.push(lr);if(Nn)return kn.onStart(()=>$t(Rr,lr.fromStyles)),kn.onDestroy(()=>mn(Rr,lr.toStyles)),void N.push(kn);if(pn.isFallbackTransition)return kn.onStart(()=>$t(Rr,lr.fromStyles)),kn.onDestroy(()=>mn(Rr,lr.toStyles)),void N.push(kn);const to=[];lr.timelines.forEach(yi=>{yi.stretchStartingKeyframe=!0,this.disabledNodes.has(yi.element)||to.push(yi)}),lr.timelines=to,E.append(Rr,lr.timelines),he.push({instruction:lr,player:kn,element:Rr}),lr.queriedElements.forEach(yi=>tr(ae,yi,[]).push(kn)),lr.preStyleProps.forEach((yi,Ii)=>{const qr=Object.keys(yi);if(qr.length){let Ri=Pe.get(Ii);Ri||Pe.set(Ii,Ri=new Set),qr.forEach(ms=>Ri.add(ms))}}),lr.postStyleProps.forEach((yi,Ii)=>{const qr=Object.keys(yi);let Ri=Ye.get(Ii);Ri||Ye.set(Ii,Ri=new Set),qr.forEach(ms=>Ri.add(ms))})});if(ze.length){const zt=[];ze.forEach(un=>{zt.push(function Bn(I,g){return new l.vHH(3505,z)}())}),Ee.forEach(un=>un.destroy()),this.reportError(zt)}const Be=new Map,kt=new Map;he.forEach(zt=>{const un=zt.element;E.has(un)&&(kt.set(un,un),this._beforeAnimationBuild(zt.player.namespaceId,zt.instruction,Be))}),N.forEach(zt=>{const un=zt.element;this._getPreviousPlayers(un,!1,zt.namespaceId,zt.triggerName,null).forEach(kn=>{tr(Be,un,[]).push(kn),kn.destroy()})});const yn=ar.filter(zt=>yr(zt,Pe,Ye)),fn=new Map;ge(fn,this.driver,Vr,Ye,K.l3).forEach(zt=>{yr(zt,Pe,Ye)&&yn.push(zt)});const hn=new Map;vn.forEach((zt,un)=>{ge(hn,this.driver,new Set(zt),Pe,K.k1)}),yn.forEach(zt=>{const un=fn.get(zt),pn=hn.get(zt);fn.set(zt,{...un,...pn})});const co=[],Ks=[],Pi={};he.forEach(zt=>{const{element:un,player:pn,instruction:kn}=zt;if(E.has(un)){if(Ut.has(un))return pn.onDestroy(()=>mn(un,kn.toStyles)),pn.disabled=!0,pn.overrideTotalTime(kn.totalTime),void N.push(pn);let Rr=Pi;if(kt.size>1){let _i=un;const Wi=[];for(;_i=_i.parentNode;){const lr=kt.get(_i);if(lr){Rr=lr;break}Wi.push(_i)}Wi.forEach(lr=>kt.set(lr,Rr))}const Nn=this._buildAnimation(pn.namespaceId,kn,Be,W,hn,fn);if(pn.setRealPlayer(Nn),Rr===Pi)co.push(pn);else{const _i=this.playersByElement.get(Rr);_i&&_i.length&&(pn.parentPlayer=Qn(_i)),N.push(pn)}}else $t(un,kn.fromStyles),pn.onDestroy(()=>mn(un,kn.toStyles)),Ks.push(pn),Ut.has(un)&&N.push(pn)}),Ks.forEach(zt=>{const un=W.get(zt.element);if(un&&un.length){const pn=Qn(un);zt.setRealPlayer(pn)}}),N.forEach(zt=>{zt.parentPlayer?zt.syncPlayerEvents(zt.parentPlayer):zt.destroy()});for(let zt=0;zt<ar.length;zt++){const un=ar[zt],pn=un[ti];if(bt(un,Mt),pn&&pn.hasAnimation)continue;let kn=[];if(ae.size){let Nn=ae.get(un);Nn&&Nn.length&&kn.push(...Nn);let _i=this.driver.query(un,Zt,!0);for(let Wi=0;Wi<_i.length;Wi++){let lr=ae.get(_i[Wi]);lr&&lr.length&&kn.push(...lr)}}const Rr=kn.filter(Nn=>!Nn.destroyed);Rr.length?Zn(this,un,Rr):this.processLeaveNode(un)}return ar.length=0,co.forEach(zt=>{this.players.push(zt),zt.onDone(()=>{zt.destroy();const un=this.players.indexOf(zt);this.players.splice(un,1)}),zt.play()}),co}elementContainsData(g,_){let E=!1;const N=_[ti];return N&&N.setForRemoval&&(E=!0),this.playersByElement.has(_)&&(E=!0),this.playersByQueriedElement.has(_)&&(E=!0),this.statesByElement.has(_)&&(E=!0),this._fetchNamespace(g).elementContainsData(_)||E}afterFlush(g){this._flushFns.push(g)}afterFlushAnimationsDone(g){this._whenQuietFns.push(g)}_getPreviousPlayers(g,_,E,N,W){let he=[];if(_){const ae=this.playersByQueriedElement.get(g);ae&&(he=ae)}else{const ae=this.playersByElement.get(g);if(ae){const Pe=!W||W==zr;ae.forEach(Ye=>{Ye.queued||!Pe&&Ye.triggerName!=N||he.push(Ye)})}}return(E||N)&&(he=he.filter(ae=>!(E&&E!=ae.namespaceId||N&&N!=ae.triggerName))),he}_beforeAnimationBuild(g,_,E){const W=_.element,he=_.isRemovalTransition?void 0:g,ae=_.isRemovalTransition?void 0:_.triggerName;for(const Pe of _.timelines){const Ye=Pe.element,Ut=Ye!==W,tn=tr(E,Ye,[]);this._getPreviousPlayers(Ye,Ut,he,ae,_.toState).forEach(vn=>{const ln=vn.getRealPlayer();ln.beforeDestroy&&ln.beforeDestroy(),vn.destroy(),tn.push(vn)})}$t(W,_.fromStyles)}_buildAnimation(g,_,E,N,W,he){const ae=_.triggerName,Pe=_.element,Ye=[],Ut=new Set,tn=new Set,sn=_.timelines.map(ln=>{const On=ln.element;Ut.add(On);const ar=On[ti];if(ar&&ar.removedBeforeQueried)return new K.ZN(ln.duration,ln.delay);const Wr=On!==Pe,Vr=function sr(I){const g=[];return Hn(I,g),g}((E.get(On)||yo).map(Be=>Be.getRealPlayer())).filter(Be=>!!Be.element&&Be.element===On),ai=W.get(On),$r=he.get(On),Ee=Hr(0,this._normalizer,0,ln.keyframes,ai,$r),ze=this._buildPlayer(ln,Ee,Vr);if(ln.subTimeline&&N&&tn.add(On),Wr){const Be=new Co(g,ae,On);Be.setRealPlayer(ze),Ye.push(Be)}return ze});Ye.forEach(ln=>{tr(this.playersByQueriedElement,ln.element,[]).push(ln),ln.onDone(()=>function ps(I,g,_){let E;if(I instanceof Map){if(E=I.get(g),E){if(E.length){const N=E.indexOf(_);E.splice(N,1)}0==E.length&&I.delete(g)}}else if(E=I[g],E){if(E.length){const N=E.indexOf(_);E.splice(N,1)}0==E.length&&delete I[g]}return E}(this.playersByQueriedElement,ln.element,ln))}),Ut.forEach(ln=>rt(ln,jt));const vn=Qn(sn);return vn.onDestroy(()=>{Ut.forEach(ln=>bt(ln,jt)),mn(Pe,_.toStyles)}),tn.forEach(ln=>{tr(N,ln,[]).push(vn)}),vn}_buildPlayer(g,_,E){return _.length>0?this.driver.animate(g.element,_,g.duration,g.delay,g.easing,E):new K.ZN(g.duration,g.delay)}}class Co{constructor(g,_,E){this.namespaceId=g,this.triggerName=_,this.element=E,this._player=new K.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(g){this._containsRealPlayer||(this._player=g,Object.keys(this._queuedCallbacks).forEach(_=>{this._queuedCallbacks[_].forEach(E=>er(g,_,void 0,E))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(g.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(g){this.totalTime=g}syncPlayerEvents(g){const _=this._player;_.triggerCallback&&g.onStart(()=>_.triggerCallback("start")),g.onDone(()=>this.finish()),g.onDestroy(()=>this.destroy())}_queueEvent(g,_){tr(this._queuedCallbacks,g,[]).push(_)}onDone(g){this.queued&&this._queueEvent("done",g),this._player.onDone(g)}onStart(g){this.queued&&this._queueEvent("start",g),this._player.onStart(g)}onDestroy(g){this.queued&&this._queueEvent("destroy",g),this._player.onDestroy(g)}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(g){this.queued||this._player.setPosition(g)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(g){const _=this._player;_.triggerCallback&&_.triggerCallback(g)}}function k(I){return I&&1===I.nodeType}function B(I,g){const _=I.style.display;return I.style.display=g??"none",_}function ge(I,g,_,E,N){const W=[];_.forEach(Pe=>W.push(B(Pe)));const he=[];E.forEach((Pe,Ye)=>{const Ut={};Pe.forEach(tn=>{const sn=Ut[tn]=g.computeStyle(Ye,tn,N);(!sn||0==sn.length)&&(Ye[ti]=Gr,he.push(Ye))}),I.set(Ye,Ut)});let ae=0;return _.forEach(Pe=>B(Pe,W[ae++])),he}function He(I,g){const _=new Map;if(I.forEach(ae=>_.set(ae,[])),0==g.length)return _;const N=new Set(g),W=new Map;function he(ae){if(!ae)return 1;let Pe=W.get(ae);if(Pe)return Pe;const Ye=ae.parentNode;return Pe=_.has(Ye)?Ye:N.has(Ye)?1:he(Ye),W.set(ae,Pe),Pe}return g.forEach(ae=>{const Pe=he(ae);1!==Pe&&_.get(Pe).push(ae)}),_}function rt(I,g){I.classList?.add(g)}function bt(I,g){I.classList?.remove(g)}function Zn(I,g,_){Qn(_).onDone(()=>I.processLeaveNode(g))}function Hn(I,g){for(let _=0;_<I.length;_++){const E=I[_];E instanceof K.ZE?Hn(E.players,g):g.push(E)}}function yr(I,g,_){const E=_.get(I);if(!E)return!1;let N=g.get(I);return N?E.forEach(W=>N.add(W)):g.set(I,E),_.delete(I),!0}class jn{constructor(g,_,E){this.bodyNode=g,this._driver=_,this._normalizer=E,this._triggerCache={},this.onRemovalComplete=(N,W)=>{},this._transitionEngine=new vo(g,_,E),this._timelineEngine=new Jn(g,_,E),this._transitionEngine.onRemovalComplete=(N,W)=>this.onRemovalComplete(N,W)}registerTrigger(g,_,E,N,W){const he=g+"-"+N;let ae=this._triggerCache[he];if(!ae){const Pe=[],Ut=Er(this._driver,W,Pe,[]);if(Pe.length)throw function gt(I,g){return new l.vHH(3404,z)}();ae=function ks(I,g,_){return new lo(I,g,_)}(N,Ut,this._normalizer),this._triggerCache[he]=ae}this._transitionEngine.registerTrigger(_,N,ae)}register(g,_){this._transitionEngine.register(g,_)}destroy(g,_){this._transitionEngine.destroy(g,_)}onInsert(g,_,E,N){this._transitionEngine.insertNode(g,_,E,N)}onRemove(g,_,E,N){this._transitionEngine.removeNode(g,_,N||!1,E)}disableAnimations(g,_){this._transitionEngine.markElementAsDisabled(g,_)}process(g,_,E,N){if("@"==E.charAt(0)){const[W,he]=cr(E);this._timelineEngine.command(W,_,he,N)}else this._transitionEngine.trigger(g,_,E,N)}listen(g,_,E,N,W){if("@"==E.charAt(0)){const[he,ae]=cr(E);return this._timelineEngine.listen(he,_,ae,W)}return this._transitionEngine.listen(g,_,E,N,W)}flush(g=-1){this._transitionEngine.flush(g)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Lr=(()=>{class I{constructor(_,E,N){this._element=_,this._startStyles=E,this._endStyles=N,this._state=0;let W=I.initialStylesByElement.get(_);W||I.initialStylesByElement.set(_,W={}),this._initialStyles=W}start(){this._state<1&&(this._startStyles&&mn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(mn(this._element,this._initialStyles),this._endStyles&&(mn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(I.initialStylesByElement.delete(this._element),this._startStyles&&($t(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($t(this._element,this._endStyles),this._endStyles=null),mn(this._element,this._initialStyles),this._state=3)}}return I.initialStylesByElement=new WeakMap,I})();function Si(I){let g=null;const _=Object.keys(I);for(let E=0;E<_.length;E++){const N=_[E];eo(N)&&(g=g||{},g[N]=I[N])}return g}function eo(I){return"display"===I||"position"===I}class Ui{constructor(g,_,E,N){this.element=g,this.keyframes=_,this.options=E,this._specialStyles=N,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=E.duration,this._delay=E.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(g=>g()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const g=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,g,this.options),this._finalKeyframe=g.length?g[g.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(g,_,E){return g.animate(_,E)}onStart(g){this._onStartFns.push(g)}onDone(g){this._onDoneFns.push(g)}onDestroy(g){this._onDestroyFns.push(g)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(g=>g()),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(g=>g()),this._onDestroyFns=[])}setPosition(g){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=g*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const g={};if(this.hasStarted()){const _=this._finalKeyframe;Object.keys(_).forEach(E=>{"offset"!=E&&(g[E]=this._finished?_[E]:qt(this.element,E))})}this.currentSnapshot=g}triggerCallback(g){const _="start"==g?this._onStartFns:this._onDoneFns;_.forEach(E=>E()),_.length=0}}class Ti{validateStyleProperty(g){return ne(g)}matchesElement(g,_){return!1}containsElement(g,_){return $(g,_)}getParentElement(g){return fi(g)}query(g,_,E){return Ce(g,_,E)}computeStyle(g,_,E){return window.getComputedStyle(g)[_]}animate(g,_,E,N,W,he=[]){const Pe={duration:E,delay:N,fill:0==N?"both":"forwards"};W&&(Pe.easing=W);const Ye={},Ut=he.filter(sn=>sn instanceof Ui);(function ue(I,g){return 0===I||0===g})(E,N)&&Ut.forEach(sn=>{let vn=sn.currentSnapshot;Object.keys(vn).forEach(ln=>Ye[ln]=vn[ln])}),_=function De(I,g,_){const E=Object.keys(_);if(E.length&&g.length){let W=g[0],he=[];if(E.forEach(ae=>{W.hasOwnProperty(ae)||he.push(ae),W[ae]=_[ae]}),he.length)for(var N=1;N<g.length;N++){let ae=g[N];he.forEach(function(Pe){ae[Pe]=qt(I,Pe)})}}return g}(g,_=_.map(sn=>Rt(sn,!1)),Ye);const tn=function Dr(I,g){let _=null,E=null;return Array.isArray(g)&&g.length?(_=Si(g[0]),g.length>1&&(E=Si(g[g.length-1]))):g&&(_=Si(g)),_||E?new Lr(I,_,E):null}(g,_);return new Ui(g,_,Pe,tn)}}var Ai=x(6895);let Ir=(()=>{class I extends K._j{constructor(_,E){super(),this._nextAnimationId=0,this._renderer=_.createRenderer(E.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(_){const E=this._nextAnimationId.toString();this._nextAnimationId++;const N=Array.isArray(_)?(0,K.vP)(_):_;return es(this._renderer,null,E,"register",[N]),new Sn(E,this._renderer)}}return I.\u0275fac=function(_){return new(_||I)(l.LFG(l.FYo),l.LFG(Ai.K0))},I.\u0275prov=l.Yz7({token:I,factory:I.\u0275fac}),I})();class Sn extends K.LC{constructor(g,_){super(),this._id=g,this._renderer=_}create(g,_){return new Xo(this._id,g,_||{},this._renderer)}}class Xo{constructor(g,_,E,N){this.id=g,this.element=_,this._renderer=N,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",E)}_listen(g,_){return this._renderer.listen(this.element,`@@${this.id}:${g}`,_)}_command(g,..._){return es(this._renderer,this.element,this.id,g,_)}onDone(g){this._listen("done",g)}onStart(g){this._listen("start",g)}onDestroy(g){this._listen("destroy",g)}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(g){this._command("setPosition",g)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function es(I,g,_,E,N){return I.setProperty(g,`@@${_}:${E}`,N)}const gs="@.disabled";let Ls=(()=>{class I{constructor(_,E,N){this.delegate=_,this.engine=E,this._zone=N,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),E.onRemovalComplete=(W,he)=>{const ae=he?.parentNode(W);ae&&he.removeChild(ae,W)}}createRenderer(_,E){const W=this.delegate.createRenderer(_,E);if(!(_&&E&&E.data&&E.data.animation)){let Ut=this._rendererCache.get(W);return Ut||(Ut=new Ys("",W,this.engine),this._rendererCache.set(W,Ut)),Ut}const he=E.id,ae=E.id+"-"+this._currentId;this._currentId++,this.engine.register(ae,_);const Pe=Ut=>{Array.isArray(Ut)?Ut.forEach(Pe):this.engine.registerTrigger(he,ae,_,Ut.name,Ut)};return E.data.animation.forEach(Pe),new Zs(this,ae,W,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(_,E,N){_>=0&&_<this._microtaskId?this._zone.run(()=>E(N)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(W=>{const[he,ae]=W;he(ae)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([E,N]))}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 I.\u0275fac=function(_){return new(_||I)(l.LFG(l.FYo),l.LFG(jn),l.LFG(l.R0b))},I.\u0275prov=l.Yz7({token:I,factory:I.\u0275fac}),I})();class Ys{constructor(g,_,E){this.namespaceId=g,this.delegate=_,this.engine=E,this.destroyNode=this.delegate.destroyNode?N=>_.destroyNode(N):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(g,_){return this.delegate.createElement(g,_)}createComment(g){return this.delegate.createComment(g)}createText(g){return this.delegate.createText(g)}appendChild(g,_){this.delegate.appendChild(g,_),this.engine.onInsert(this.namespaceId,_,g,!1)}insertBefore(g,_,E,N=!0){this.delegate.insertBefore(g,_,E),this.engine.onInsert(this.namespaceId,_,g,N)}removeChild(g,_,E){this.engine.onRemove(this.namespaceId,_,this.delegate,E)}selectRootElement(g,_){return this.delegate.selectRootElement(g,_)}parentNode(g){return this.delegate.parentNode(g)}nextSibling(g){return this.delegate.nextSibling(g)}setAttribute(g,_,E,N){this.delegate.setAttribute(g,_,E,N)}removeAttribute(g,_,E){this.delegate.removeAttribute(g,_,E)}addClass(g,_){this.delegate.addClass(g,_)}removeClass(g,_){this.delegate.removeClass(g,_)}setStyle(g,_,E,N){this.delegate.setStyle(g,_,E,N)}removeStyle(g,_,E){this.delegate.removeStyle(g,_,E)}setProperty(g,_,E){"@"==_.charAt(0)&&_==gs?this.disableAnimations(g,!!E):this.delegate.setProperty(g,_,E)}setValue(g,_){this.delegate.setValue(g,_)}listen(g,_,E){return this.delegate.listen(g,_,E)}disableAnimations(g,_){this.engine.disableAnimations(g,_)}}class Zs extends Ys{constructor(g,_,E,N){super(_,E,N),this.factory=g,this.namespaceId=_}setProperty(g,_,E){"@"==_.charAt(0)?"."==_.charAt(1)&&_==gs?this.disableAnimations(g,E=void 0===E||!!E):this.engine.process(this.namespaceId,g,_.substr(1),E):this.delegate.setProperty(g,_,E)}listen(g,_,E){if("@"==_.charAt(0)){const N=function ts(I){switch(I){case"body":return document.body;case"document":return document;case"window":return window;default:return I}}(g);let W=_.substr(1),he="";return"@"!=W.charAt(0)&&([W,he]=function lt(I){const g=I.indexOf(".");return[I.substring(0,g),I.substr(g+1)]}(W)),this.engine.listen(this.namespaceId,N,W,he,ae=>{this.factory.scheduleListenerCallback(ae._data||-1,E,ae)})}return this.delegate.listen(g,_,E)}}let $n=(()=>{class I extends jn{constructor(_,E,N){super(_.body,E,N)}ngOnDestroy(){this.flush()}}return I.\u0275fac=function(_){return new(_||I)(l.LFG(Ai.K0),l.LFG($e),l.LFG(Ns))},I.\u0275prov=l.Yz7({token:I,factory:I.\u0275fac}),I})();const zi=new l.OlP("AnimationModuleType"),wo=[{provide:K._j,useClass:Ir},{provide:Ns,useFactory:function si(){return new qs}},{provide:jn,useClass:$n},{provide:l.FYo,useFactory:function jr(I,g,_){return new Ls(I,g,_)},deps:[v.se,jn,l.R0b]}],gi=[{provide:$e,useFactory:()=>new Ti},{provide:zi,useValue:"BrowserAnimations"},...wo],uo=[{provide:$e,useClass:Se},{provide:zi,useValue:"NoopAnimations"},...wo];let mi=(()=>{class I{static withConfig(_){return{ngModule:I,providers:_.disableAnimations?uo:gi}}}return I.\u0275fac=function(_){return new(_||I)},I.\u0275mod=l.oAB({type:I}),I.\u0275inj=l.cJS({providers:gi,imports:[v.b2]}),I})()},1481:(Me,Q,x)=>{"use strict";x.d(Q,{b2:()=>xr,q6:()=>tr,se:()=>Oe});var l=x(6895),v=x(5062);class K extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends K{static makeCurrent(){(0,l.HT)(new z)}onAndCancel(pe,J,Re){return pe.addEventListener(J,Re,!1),()=>{pe.removeEventListener(J,Re,!1)}}dispatchEvent(pe,J){pe.dispatchEvent(J)}remove(pe){pe.parentNode&&pe.parentNode.removeChild(pe)}createElement(pe,J){return(J=J||this.getDefaultDocument()).createElement(pe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(pe){return pe.nodeType===Node.ELEMENT_NODE}isShadowRoot(pe){return pe instanceof DocumentFragment}getGlobalEventTarget(pe,J){return"window"===J?window:"document"===J?pe:"body"===J?pe.body:null}getBaseHref(pe){const J=function Z(){return q=q||document.querySelector("base"),q?q.getAttribute("href"):null}();return null==J?null:function oe(Ie){re=re||document.createElement("a"),re.setAttribute("href",Ie);const pe=re.pathname;return"/"===pe.charAt(0)?pe:`/${pe}`}(J)}resetBaseElement(){q=null}getUserAgent(){return window.navigator.userAgent}getCookie(pe){return(0,l.Mx)(document.cookie,pe)}}let re,q=null;const we=new v.OlP("TRANSITION_ID"),Y=[{provide:v.ip1,useFactory:function j(Ie,pe,J){return()=>{J.get(v.CZH).donePromise.then(()=>{const Re=(0,l.q)(),We=pe.querySelectorAll(`style[ng-transition="${Ie}"]`);for(let xt=0;xt<We.length;xt++)Re.remove(We[xt])})}},deps:[we,l.K0,v.zs3],multi:!0}];class ce{static init(){(0,v.VLi)(new ce)}addToWindow(pe){v.dqk.getAngularTestability=(Re,We=!0)=>{const xt=pe.findTestabilityInTree(Re,We);if(null==xt)throw new Error("Could not find testability for element.");return xt},v.dqk.getAllAngularTestabilities=()=>pe.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>pe.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push(Re=>{const We=v.dqk.getAllAngularTestabilities();let xt=We.length,Tt=!1;const yt=function(ue){Tt=Tt||ue,xt--,0==xt&&Re(Tt)};We.forEach(function(ue){ue.whenStable(yt)})})}findTestabilityInTree(pe,J,Re){return null==J?null:pe.getTestability(J)??(Re?(0,l.q)().isShadowRoot(J)?this.findTestabilityInTree(pe,J.host,!0):this.findTestabilityInTree(pe,J.parentElement,!0):null)}}let ye=(()=>{class Ie{build(){return new XMLHttpRequest}}return Ie.\u0275fac=function(J){return new(J||Ie)},Ie.\u0275prov=v.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const je=new v.OlP("EventManagerPlugins");let ke=(()=>{class Ie{constructor(J,Re){this._zone=Re,this._eventNameToPlugin=new Map,J.forEach(We=>We.manager=this),this._plugins=J.slice().reverse()}addEventListener(J,Re,We){return this._findPluginFor(Re).addEventListener(J,Re,We)}addGlobalEventListener(J,Re,We){return this._findPluginFor(Re).addGlobalEventListener(J,Re,We)}getZone(){return this._zone}_findPluginFor(J){const Re=this._eventNameToPlugin.get(J);if(Re)return Re;const We=this._plugins;for(let xt=0;xt<We.length;xt++){const Tt=We[xt];if(Tt.supports(J))return this._eventNameToPlugin.set(J,Tt),Tt}throw new Error(`No event manager plugin found for event ${J}`)}}return Ie.\u0275fac=function(J){return new(J||Ie)(v.LFG(je),v.LFG(v.R0b))},Ie.\u0275prov=v.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();class Ge{constructor(pe){this._doc=pe}addGlobalEventListener(pe,J,Re){const We=(0,l.q)().getGlobalEventTarget(this._doc,pe);if(!We)throw new Error(`Unsupported event target ${We} for event ${J}`);return this.addEventListener(We,J,Re)}}let Ze=(()=>{class Ie{constructor(){this._stylesSet=new Set}addStyles(J){const Re=new Set;J.forEach(We=>{this._stylesSet.has(We)||(this._stylesSet.add(We),Re.add(We))}),this.onStylesAdded(Re)}onStylesAdded(J){}getAllStyles(){return Array.from(this._stylesSet)}}return Ie.\u0275fac=function(J){return new(J||Ie)},Ie.\u0275prov=v.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})(),Jt=(()=>{class Ie extends Ze{constructor(J){super(),this._doc=J,this._hostNodes=new Map,this._hostNodes.set(J.head,[])}_addStylesToHost(J,Re,We){J.forEach(xt=>{const Tt=this._doc.createElement("style");Tt.textContent=xt,We.push(Re.appendChild(Tt))})}addHost(J){const Re=[];this._addStylesToHost(this._stylesSet,J,Re),this._hostNodes.set(J,Re)}removeHost(J){const Re=this._hostNodes.get(J);Re&&Re.forEach(ht),this._hostNodes.delete(J)}onStylesAdded(J){this._hostNodes.forEach((Re,We)=>{this._addStylesToHost(J,We,Re)})}ngOnDestroy(){this._hostNodes.forEach(J=>J.forEach(ht))}}return Ie.\u0275fac=function(J){return new(J||Ie)(v.LFG(l.K0))},Ie.\u0275prov=v.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();function ht(Ie){(0,l.q)().remove(Ie)}const qe={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/"},ct=/%COMP%/g;function Gt(Ie,pe,J){for(let Re=0;Re<pe.length;Re++){let We=pe[Re];Array.isArray(We)?Gt(Ie,We,J):(We=We.replace(ct,Ie),J.push(We))}return J}function gt(Ie){return pe=>{if("__ngUnwrap__"===pe)return Ie;!1===Ie(pe)&&(pe.preventDefault(),pe.returnValue=!1)}}let Oe=(()=>{class Ie{constructor(J,Re,We){this.eventManager=J,this.sharedStylesHost=Re,this.appId=We,this.rendererByCompId=new Map,this.defaultRenderer=new Fe(J)}createRenderer(J,Re){if(!J||!Re)return this.defaultRenderer;switch(Re.encapsulation){case v.ifc.Emulated:{let We=this.rendererByCompId.get(Re.id);return We||(We=new Ur(this.eventManager,this.sharedStylesHost,Re,this.appId),this.rendererByCompId.set(Re.id,We)),We.applyToHost(J),We}case 1:case v.ifc.ShadowDom:return new Yr(this.eventManager,this.sharedStylesHost,J,Re);default:if(!this.rendererByCompId.has(Re.id)){const We=Gt(Re.id,Re.styles,[]);this.sharedStylesHost.addStyles(We),this.rendererByCompId.set(Re.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ie.\u0275fac=function(J){return new(J||Ie)(v.LFG(ke),v.LFG(Jt),v.LFG(v.AFp))},Ie.\u0275prov=v.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();class Fe{constructor(pe){this.eventManager=pe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(pe,J){return J?document.createElementNS(qe[J]||J,pe):document.createElement(pe)}createComment(pe){return document.createComment(pe)}createText(pe){return document.createTextNode(pe)}appendChild(pe,J){pe.appendChild(J)}insertBefore(pe,J,Re){pe&&pe.insertBefore(J,Re)}removeChild(pe,J){pe&&pe.removeChild(J)}selectRootElement(pe,J){let Re="string"==typeof pe?document.querySelector(pe):pe;if(!Re)throw new Error(`The selector "${pe}" did not match any elements`);return J||(Re.textContent=""),Re}parentNode(pe){return pe.parentNode}nextSibling(pe){return pe.nextSibling}setAttribute(pe,J,Re,We){if(We){J=We+":"+J;const xt=qe[We];xt?pe.setAttributeNS(xt,J,Re):pe.setAttribute(J,Re)}else pe.setAttribute(J,Re)}removeAttribute(pe,J,Re){if(Re){const We=qe[Re];We?pe.removeAttributeNS(We,J):pe.removeAttribute(`${Re}:${J}`)}else pe.removeAttribute(J)}addClass(pe,J){pe.classList.add(J)}removeClass(pe,J){pe.classList.remove(J)}setStyle(pe,J,Re,We){We&(v.JOm.DashCase|v.JOm.Important)?pe.style.setProperty(J,Re,We&v.JOm.Important?"important":""):pe.style[J]=Re}removeStyle(pe,J,Re){Re&v.JOm.DashCase?pe.style.removeProperty(J):pe.style[J]=""}setProperty(pe,J,Re){pe[J]=Re}setValue(pe,J){pe.nodeValue=J}listen(pe,J,Re){return"string"==typeof pe?this.eventManager.addGlobalEventListener(pe,J,gt(Re)):this.eventManager.addEventListener(pe,J,gt(Re))}}class Ur extends Fe{constructor(pe,J,Re,We){super(pe),this.component=Re;const xt=Gt(We+"-"+Re.id,Re.styles,[]);J.addStyles(xt),this.contentAttr=function gn(Ie){return"_ngcontent-%COMP%".replace(ct,Ie)}(We+"-"+Re.id),this.hostAttr=function dn(Ie){return"_nghost-%COMP%".replace(ct,Ie)}(We+"-"+Re.id)}applyToHost(pe){super.setAttribute(pe,this.hostAttr,"")}createElement(pe,J){const Re=super.createElement(pe,J);return super.setAttribute(Re,this.contentAttr,""),Re}}class Yr extends Fe{constructor(pe,J,Re,We){super(pe),this.sharedStylesHost=J,this.hostEl=Re,this.shadowRoot=Re.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xt=Gt(We.id,We.styles,[]);for(let Tt=0;Tt<xt.length;Tt++){const yt=document.createElement("style");yt.textContent=xt[Tt],this.shadowRoot.appendChild(yt)}}nodeOrShadowRoot(pe){return pe===this.hostEl?this.shadowRoot:pe}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(pe,J){return super.appendChild(this.nodeOrShadowRoot(pe),J)}insertBefore(pe,J,Re){return super.insertBefore(this.nodeOrShadowRoot(pe),J,Re)}removeChild(pe,J){return super.removeChild(this.nodeOrShadowRoot(pe),J)}parentNode(pe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(pe)))}}let Wn=(()=>{class Ie extends Ge{constructor(J){super(J)}supports(J){return!0}addEventListener(J,Re,We){return J.addEventListener(Re,We,!1),()=>this.removeEventListener(J,Re,We)}removeEventListener(J,Re,We){return J.removeEventListener(Re,We)}}return Ie.\u0275fac=function(J){return new(J||Ie)(v.LFG(l.K0))},Ie.\u0275prov=v.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const Zr=["alt","control","meta","shift"],Xr={"\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"},Bn={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},An={alt:Ie=>Ie.altKey,control:Ie=>Ie.ctrlKey,meta:Ie=>Ie.metaKey,shift:Ie=>Ie.shiftKey};let Qr=(()=>{class Ie extends Ge{constructor(J){super(J)}supports(J){return null!=Ie.parseEventName(J)}addEventListener(J,Re,We){const xt=Ie.parseEventName(Re),Tt=Ie.eventCallback(xt.fullKey,We,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(J,xt.domEventName,Tt))}static parseEventName(J){const Re=J.toLowerCase().split("."),We=Re.shift();if(0===Re.length||"keydown"!==We&&"keyup"!==We)return null;const xt=Ie._normalizeKey(Re.pop());let Tt="";if(Zr.forEach(ue=>{const De=Re.indexOf(ue);De>-1&&(Re.splice(De,1),Tt+=ue+".")}),Tt+=xt,0!=Re.length||0===xt.length)return null;const yt={};return yt.domEventName=We,yt.fullKey=Tt,yt}static getEventFullKey(J){let Re="",We=function Qn(Ie){let pe=Ie.key;if(null==pe){if(pe=Ie.keyIdentifier,null==pe)return"Unidentified";pe.startsWith("U+")&&(pe=String.fromCharCode(parseInt(pe.substring(2),16)),3===Ie.location&&Bn.hasOwnProperty(pe)&&(pe=Bn[pe]))}return Xr[pe]||pe}(J);return We=We.toLowerCase()," "===We?We="space":"."===We&&(We="dot"),Zr.forEach(xt=>{xt!=We&&An[xt](J)&&(Re+=xt+".")}),Re+=We,Re}static eventCallback(J,Re,We){return xt=>{Ie.getEventFullKey(xt)===J&&We.runGuarded(()=>Re(xt))}}static _normalizeKey(J){return"esc"===J?"escape":J}}return Ie.\u0275fac=function(J){return new(J||Ie)(v.LFG(l.K0))},Ie.\u0275prov=v.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const tr=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:l.bD},{provide:v.g9A,useValue:function Hr(){z.makeCurrent(),ce.init()},multi:!0},{provide:l.K0,useFactory:function ei(){return(0,v.RDi)(document),document},deps:[]}]),cr=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function er(){return new v.qLn},deps:[]},{provide:je,useClass:Wn,multi:!0,deps:[l.K0,v.R0b,v.Lbi]},{provide:je,useClass:Qr,multi:!0,deps:[l.K0]},{provide:Oe,useClass:Oe,deps:[ke,Jt,v.AFp]},{provide:v.FYo,useExisting:Oe},{provide:Ze,useExisting:Jt},{provide:Jt,useClass:Jt,deps:[l.K0]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b]},{provide:ke,useClass:ke,deps:[je,v.R0b]},{provide:l.JF,useClass:ye,deps:[]}];let xr=(()=>{class Ie{constructor(J){if(J)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(J){return{ngModule:Ie,providers:[{provide:v.AFp,useValue:J.appId},{provide:we,useExisting:v.AFp},Y]}}}return Ie.\u0275fac=function(J){return new(J||Ie)(v.LFG(Ie,12))},Ie.\u0275mod=v.oAB({type:Ie}),Ie.\u0275inj=v.cJS({providers:cr,imports:[l.ez,v.hGG]}),Ie})();typeof window<"u"&&window},6507:(Me,Q,x)=>{"use strict";x.d(Q,{yS:()=>Fo,Bz:()=>Sr,lC:()=>Dr});var l=x(6895),v=x(5062),K=x(5529),z=x(5279);class q extends K.xQ{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const h=super._subscribe(m);return h&&!h.closed&&m.next(this._value),h}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new z.N;return this._value}next(m){super.next(this._value=m)}}var Z=x(2866),re=x(6688),oe=x(826),we=x(9054),j=x(3009);const Y={};class ye{constructor(m){this.resultSelector=m}call(m,h){return h.subscribe(new je(m,this.resultSelector))}}class je extends oe.L{constructor(m,h){super(m),this.resultSelector=h,this.active=0,this.values=[],this.observables=[]}_next(m){this.values.push(Y),this.observables.push(m)}_complete(){const m=this.observables,h=m.length;if(0===h)this.destination.complete();else{this.active=h,this.toRespond=h;for(let d=0;d<h;d++){const P=m[d];this.add((0,we.D)(this,P,P,d))}}}notifyComplete(m){0==(this.active-=1)&&this.destination.complete()}notifyNext(m,h,d,P,V){const ee=this.values,Je=this.toRespond?ee[d]===Y?--this.toRespond:this.toRespond:0;ee[d]=h,0===Je&&(this.resultSelector?this._tryResultSelector(ee):this.destination.next(ee.slice()))}_tryResultSelector(m){let h;try{h=this.resultSelector.apply(this,m)}catch(d){return void this.destination.error(d)}this.destination.next(h)}}var ke=x(2916);function Ge(w,m){return new ke.y(m?h=>m.schedule(Ze,0,{error:w,subscriber:h}):h=>h.error(w))}function Ze({error:w,subscriber:m}){m.error(w)}const ht=(()=>{function w(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return w.prototype=Object.create(Error.prototype),w})();var qe=x(1086),ct=x(9146);function _t(...w){return function Le(){return(0,ct.J)(1)}()((0,qe.of)(...w))}var rn=x(5254),Rn=x(8896);function gn(w){return new ke.y(m=>{let h;try{h=w()}catch(P){return void m.error(P)}return(h?(0,rn.D)(h):(0,Rn.c)()).subscribe(m)})}var dn=x(1762),Gt=x(1869),gt=x(4850);function ie(w,m){return"function"==typeof m?h=>h.pipe(ie((d,P)=>(0,rn.D)(w(d,P)).pipe((0,gt.U)((V,ee)=>m(d,V,P,ee))))):h=>h.lift(new Oe(w))}class Oe{constructor(m){this.project=m}call(m,h){return h.subscribe(new Fe(m,this.project))}}class Fe extends oe.L{constructor(m,h){super(m),this.project=h,this.index=0}_next(m){let h;const d=this.index++;try{h=this.project(m,d)}catch(P){return void this.destination.error(P)}this._innerSub(h,m,d)}_innerSub(m,h,d){const P=this.innerSubscription;P&&P.unsubscribe();const V=new Gt.d(this,h,d),ee=this.destination;ee.add(V),this.innerSubscription=(0,we.D)(this,m,void 0,void 0,V),this.innerSubscription!==V&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:m}=this;(!m||m.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(m){this.destination.remove(m),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(m,h,d,P,V){this.destination.next(h)}}var Yt=x(3489);function Ur(w,m){let h=!1;return arguments.length>=2&&(h=!0),function(P){return P.lift(new Yr(w,m,h))}}class Yr{constructor(m,h,d=!1){this.accumulator=m,this.seed=h,this.hasSeed=d}call(m,h){return h.subscribe(new Wn(m,this.accumulator,this.seed,this.hasSeed))}}class Wn extends Yt.L{constructor(m,h,d,P){super(m),this.accumulator=h,this._seed=d,this.hasSeed=P,this.index=0}get seed(){return this._seed}set seed(m){this.hasSeed=!0,this._seed=m}_next(m){if(this.hasSeed)return this._tryNext(m);this.seed=m,this.destination.next(m)}_tryNext(m){const h=this.index++;let d;try{d=this.accumulator(this.seed,m,h)}catch(P){this.destination.error(P)}this.seed=d,this.destination.next(d)}}function Zr(w){return function(h){const d=new Vn(w),P=h.lift(d);return d.caught=P}}class Vn{constructor(m){this.selector=m}call(m,h){return h.subscribe(new Xr(m,this.selector,this.caught))}}class Xr extends oe.L{constructor(m,h,d){super(m),this.selector=h,this.caught=d}error(m){if(!this.isStopped){let h;try{h=this.selector(m,this.caught)}catch(V){return void super.error(V)}this._unsubscribeAndRecycle();const d=new Gt.d(this,void 0,void 0);this.add(d);const P=(0,we.D)(this,h,void 0,void 0,d);P!==d&&this.add(P)}}}var Bn=x(2198),An=x(4231);function Qr(w){return function(h){return 0===w?(0,Rn.c)():h.lift(new Qn(w))}}class Qn{constructor(m){if(this.total=m,this.total<0)throw new An.W}call(m,h){return h.subscribe(new Hr(m,this.total))}}class Hr extends Yt.L{constructor(m,h){super(m),this.total=h,this.ring=new Array,this.count=0}_next(m){const h=this.ring,d=this.total,P=this.count++;h.length<d?h.push(m):h[P%d]=m}_complete(){const m=this.destination;let h=this.count;if(h>0){const d=this.count>=this.total?this.total:this.count,P=this.ring;for(let V=0;V<d;V++){const ee=h++%d;m.next(P[ee])}}m.complete()}}function er(w=tr){return m=>m.lift(new ei(w))}class ei{constructor(m){this.errorFactory=m}call(m,h){return h.subscribe(new Fr(m,this.errorFactory))}}class Fr extends Yt.L{constructor(m,h){super(m),this.errorFactory=h,this.hasValue=!1}_next(m){this.hasValue=!0,this.destination.next(m)}_complete(){if(this.hasValue)return this.destination.complete();{let m;try{m=this.errorFactory()}catch(h){m=h}this.destination.error(m)}}}function tr(){return new ht}function cr(w=null){return m=>m.lift(new xr(w))}class xr{constructor(m){this.defaultValue=m}call(m,h){return h.subscribe(new di(m,this.defaultValue))}}class di extends Yt.L{constructor(m,h){super(m),this.defaultValue=h,this.isEmpty=!0}_next(m){this.isEmpty=!1,this.destination.next(m)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var dr=x(5379),wr=x(2986);function mr(w,m){const h=arguments.length>=2;return d=>d.pipe(w?(0,Bn.h)((P,V)=>w(P,V,d)):dr.y,(0,wr.q)(1),h?cr(m):er(()=>new ht))}function le(){}var me=x(7043);function ne(w,m,h){return function(P){return P.lift(new H(w,m,h))}}class H{constructor(m,h,d){this.nextOrObserver=m,this.error=h,this.complete=d}call(m,h){return h.subscribe(new $(m,this.nextOrObserver,this.error,this.complete))}}class $ extends Yt.L{constructor(m,h,d,P){super(m),this._tapNext=le,this._tapError=le,this._tapComplete=le,this._tapError=d||le,this._tapComplete=P||le,(0,me.m)(h)?(this._context=this,this._tapNext=h):h&&(this._context=h,this._tapNext=h.next||le,this._tapError=h.error||le,this._tapComplete=h.complete||le)}_next(m){try{this._tapNext.call(this._context,m)}catch(h){return void this.destination.error(h)}this.destination.next(m)}_error(m){try{this._tapError.call(this._context,m)}catch(h){return void this.destination.error(h)}this.destination.error(m)}_complete(){try{this._tapComplete.call(this._context)}catch(m){return void this.destination.error(m)}return this.destination.complete()}}var Ce=x(1406),be=x(1709),Se=x(4327),$e=x(537);class mt{constructor(m,h){this.id=m,this.url=h}}class it extends mt{constructor(m,h,d="imperative",P=null){super(m,h),this.navigationTrigger=d,this.restoredState=P}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pt extends mt{constructor(m,h,d){super(m,h),this.urlAfterRedirects=d}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Dt extends mt{constructor(m,h,d){super(m,h),this.reason=d}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Mt extends mt{constructor(m,h,d){super(m,h),this.error=d}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class on extends mt{constructor(m,h,d,P){super(m,h),this.urlAfterRedirects=d,this.state=P}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vt extends mt{constructor(m,h,d,P){super(m,h),this.urlAfterRedirects=d,this.state=P}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jt extends mt{constructor(m,h,d,P,V){super(m,h),this.urlAfterRedirects=d,this.state=P,this.shouldActivate=V}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Zt extends mt{constructor(m,h,d,P){super(m,h),this.urlAfterRedirects=d,this.state=P}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qt extends mt{constructor(m,h,d,P){super(m,h),this.urlAfterRedirects=d,this.state=P}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pt{constructor(m){this.route=m}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Wt{constructor(m){this.route=m}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Cn{constructor(m){this.snapshot=m}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Un{constructor(m){this.snapshot=m}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xn{constructor(m){this.snapshot=m}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rt{constructor(m){this.snapshot=m}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dn{constructor(m,h,d){this.routerEvent=m,this.position=h,this.anchor=d}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const tt="primary";class mn{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const h=this.params[m];return Array.isArray(h)?h[0]:h}return null}getAll(m){if(this.has(m)){const h=this.params[m];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function $t(w){return new mn(w)}const ir="ngNavigationCancelingError";function Ie(w){const m=Error("NavigationCancelingError: "+w);return m[ir]=!0,m}function J(w,m,h){const d=h.path.split("/");if(d.length>w.length||"full"===h.pathMatch&&(m.hasChildren()||d.length<w.length))return null;const P={};for(let V=0;V<d.length;V++){const ee=d[V],se=w[V];if(ee.startsWith(":"))P[ee.substring(1)]=se;else if(ee!==se.path)return null}return{consumed:w.slice(0,d.length),posParams:P}}function We(w,m){const h=w?Object.keys(w):void 0,d=m?Object.keys(m):void 0;if(!h||!d||h.length!=d.length)return!1;let P;for(let V=0;V<h.length;V++)if(P=h[V],!xt(w[P],m[P]))return!1;return!0}function xt(w,m){if(Array.isArray(w)&&Array.isArray(m)){if(w.length!==m.length)return!1;const h=[...w].sort(),d=[...m].sort();return h.every((P,V)=>d[V]===P)}return w===m}function Tt(w){return Array.prototype.concat.apply([],w)}function yt(w){return w.length>0?w[w.length-1]:null}function De(w,m){for(const h in w)w.hasOwnProperty(h)&&m(w[h],h)}function wt(w){return(0,v.CqO)(w)?w:(0,v.QGY)(w)?(0,rn.D)(Promise.resolve(w)):(0,qe.of)(w)}const In={exact:function ft(w,m,h){if(!fr(w.segments,m.segments)||!It(w.segments,m.segments,h)||w.numberOfChildren!==m.numberOfChildren)return!1;for(const d in m.children)if(!w.children[d]||!ft(w.children[d],m.children[d],h))return!1;return!0},subset:Nt},Ae={exact:function Ve(w,m){return We(w,m)},subset:function Lt(w,m){return Object.keys(m).length<=Object.keys(w).length&&Object.keys(m).every(h=>xt(w[h],m[h]))},ignored:()=>!0};function Qe(w,m,h){return In[h.paths](w.root,m.root,h.matrixParams)&&Ae[h.queryParams](w.queryParams,m.queryParams)&&!("exact"===h.fragment&&w.fragment!==m.fragment)}function Nt(w,m,h){return Ft(w,m,m.segments,h)}function Ft(w,m,h,d){if(w.segments.length>h.length){const P=w.segments.slice(0,h.length);return!(!fr(P,h)||m.hasChildren()||!It(P,h,d))}if(w.segments.length===h.length){if(!fr(w.segments,h)||!It(w.segments,h,d))return!1;for(const P in m.children)if(!w.children[P]||!Nt(w.children[P],m.children[P],d))return!1;return!0}{const P=h.slice(0,w.segments.length),V=h.slice(w.segments.length);return!!(fr(w.segments,P)&&It(w.segments,P,d)&&w.children[tt])&&Ft(w.children[tt],m,V,d)}}function It(w,m,h){return m.every((d,P)=>Ae[h](w[P].parameters,d.parameters))}class Xt{constructor(m,h,d){this.root=m,this.queryParams=h,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$t(this.queryParams)),this._queryParamMap}toString(){return wi.serialize(this)}}class Ct{constructor(m,h){this.segments=m,this.children=h,this.parent=null,De(h,(d,P)=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kr(this)}}class St{constructor(m,h){this.path=m,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=$t(this.parameters)),this._parameterMap}toString(){return Ke(this)}}function fr(w,m){return w.length===m.length&&w.every((h,d)=>h.path===m[d].path)}class Jr{}class Er{parse(m){const h=new _r(m);return new Xt(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(m){const h=`/${hr(m.root,!0)}`,d=function at(w){const m=Object.keys(w).map(h=>{const d=w[h];return Array.isArray(d)?d.map(P=>`${U(h)}=${U(P)}`).join("&"):`${U(h)}=${U(d)}`}).filter(h=>!!h);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${h}${d}${"string"==typeof m.fragment?`#${function L(w){return encodeURI(w)}(m.fragment)}`:""}`}}const wi=new Er;function kr(w){return w.segments.map(m=>Ke(m)).join("/")}function hr(w,m){if(!w.hasChildren())return kr(w);if(m){const h=w.children[tt]?hr(w.children[tt],!1):"",d=[];return De(w.children,(P,V)=>{V!==tt&&d.push(`${V}:${hr(P,!1)}`)}),d.length>0?`${h}(${d.join("//")})`:h}{const h=function Or(w,m){let h=[];return De(w.children,(d,P)=>{P===tt&&(h=h.concat(m(d,P)))}),De(w.children,(d,P)=>{P!==tt&&(h=h.concat(m(d,P)))}),h}(w,(d,P)=>P===tt?[hr(w.children[tt],!1)]:[`${P}:${hr(d,!1)}`]);return 1===Object.keys(w.children).length&&null!=w.children[tt]?`${kr(w)}/${h[0]}`:`${kr(w)}/(${h.join("//")})`}}function O(w){return encodeURIComponent(w).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function U(w){return O(w).replace(/%3B/gi,";")}function te(w){return O(w).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ue(w){return decodeURIComponent(w)}function Ne(w){return Ue(w.replace(/\+/g,"%20"))}function Ke(w){return`${te(w.path)}${function nt(w){return Object.keys(w).map(m=>`;${te(m)}=${te(w[m])}`).join("")}(w.parameters)}`}const _n=/^[^\/()?;=#]+/;function en(w){const m=w.match(_n);return m?m[0]:""}const Yn=/^[^=?&#]+/,pr=/^[^&#]+/;class _r{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(m.length>0||Object.keys(h).length>0)&&(d[tt]=new Ct(m,h)),d}parseSegment(){const m=en(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(m),new St(Ue(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const h=en(this.remaining);if(!h)return;this.capture(h);let d="";if(this.consumeOptional("=")){const P=en(this.remaining);P&&(d=P,this.capture(d))}m[Ue(h)]=Ue(d)}parseQueryParam(m){const h=function Ar(w){const m=w.match(Yn);return m?m[0]:""}(this.remaining);if(!h)return;this.capture(h);let d="";if(this.consumeOptional("=")){const ee=function qn(w){const m=w.match(pr);return m?m[0]:""}(this.remaining);ee&&(d=ee,this.capture(d))}const P=Ne(h),V=Ne(d);if(m.hasOwnProperty(P)){let ee=m[P];Array.isArray(ee)||(ee=[ee],m[P]=ee),ee.push(V)}else m[P]=V}parseParens(m){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=en(this.remaining),P=this.remaining[d.length];if("/"!==P&&")"!==P&&";"!==P)throw new Error(`Cannot parse url '${this.url}'`);let V;d.indexOf(":")>-1?(V=d.substr(0,d.indexOf(":")),this.capture(V),this.capture(":")):m&&(V=tt);const ee=this.parseChildren();h[V]=1===Object.keys(ee).length?ee[tt]:new Ct([],ee),this.consumeOptional("//")}return h}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new Error(`Expected "${m}".`)}}class hi{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const h=this.pathFromRoot(m);return h.length>1?h[h.length-2]:null}children(m){const h=pi(m,this._root);return h?h.children.map(d=>d.value):[]}firstChild(m){const h=pi(m,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(m){const h=Li(m,this._root);return h.length<2?[]:h[h.length-2].children.map(P=>P.value).filter(P=>P!==m)}pathFromRoot(m){return Li(m,this._root).map(h=>h.value)}}function pi(w,m){if(w===m.value)return m;for(const h of m.children){const d=pi(w,h);if(d)return d}return null}function Li(w,m){if(w===m.value)return[m];for(const h of m.children){const d=Li(w,h);if(d.length)return d.unshift(m),d}return[]}class ii{constructor(m,h){this.value=m,this.children=h}toString(){return`TreeNode(${this.value})`}}function Vi(w){const m={};return w&&w.children.forEach(h=>m[h.value.outlet]=h),m}class Yo extends hi{constructor(m,h){super(m),this.snapshot=h,mo(this,m)}toString(){return this.snapshot.toString()}}function Ws(w,m){const h=function Ns(w,m){const ee=new Ao([],{},{},"",{},tt,m,null,w.root,-1,{});return new cs("",new ii(ee,[]))}(w,m),d=new q([new St("",{})]),P=new q({}),V=new q({}),ee=new q({}),se=new q(""),Je=new Zo(d,P,ee,se,V,tt,m,h.root);return Je.snapshot=h.root,new Yo(new ii(Je,[]),h)}class Zo{constructor(m,h,d,P,V,ee,se,Je){this.url=m,this.params=h,this.queryParams=d,this.fragment=P,this.data=V,this.outlet=ee,this.component=se,this._futureSnapshot=Je}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,gt.U)(m=>$t(m)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,gt.U)(m=>$t(m)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qs(w,m="emptyOnly"){const h=w.pathFromRoot;let d=0;if("always"!==m)for(d=h.length-1;d>=1;){const P=h[d],V=h[d-1];if(P.routeConfig&&""===P.routeConfig.path)d--;else{if(V.component)break;d--}}return function Fs(w){return w.reduce((m,h)=>({params:{...m.params,...h.params},data:{...m.data,...h.data},resolve:{...m.resolve,...h._resolvedData}}),{params:{},data:{},resolve:{}})}(h.slice(d))}class Ao{constructor(m,h,d,P,V,ee,se,Je,Kt,nr,At){this.url=m,this.params=h,this.queryParams=d,this.fragment=P,this.data=V,this.outlet=ee,this.component=se,this.routeConfig=Je,this._urlSegment=Kt,this._lastPathIndex=nr,this._resolve=At}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=$t(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$t(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class cs extends hi{constructor(m,h){super(h),this.url=m,mo(this,h)}toString(){return _o(this._root)}}function mo(w,m){m.value._routerState=w,m.children.forEach(h=>mo(w,h))}function _o(w){const m=w.children.length>0?` { ${w.children.map(_o).join(", ")} } `:"";return`${w.value}${m}`}function Io(w){if(w.snapshot){const m=w.snapshot,h=w._futureSnapshot;w.snapshot=h,We(m.queryParams,h.queryParams)||w.queryParams.next(h.queryParams),m.fragment!==h.fragment&&w.fragment.next(h.fragment),We(m.params,h.params)||w.params.next(h.params),function Re(w,m){if(w.length!==m.length)return!1;for(let h=0;h<w.length;++h)if(!We(w[h],m[h]))return!1;return!0}(m.url,h.url)||w.url.next(h.url),We(m.data,h.data)||w.data.next(h.data)}else w.snapshot=w._futureSnapshot,w.data.next(w._futureSnapshot.data)}function Ko(w,m){const h=We(w.params,m.params)&&function Mn(w,m){return fr(w,m)&&w.every((h,d)=>We(h.parameters,m[d].parameters))}(w.url,m.url);return h&&!(!w.parent!=!m.parent)&&(!w.parent||Ko(w.parent,m.parent))}function lo(w,m,h){if(h&&w.shouldReuseRoute(m.value,h.value.snapshot)){const d=h.value;d._futureSnapshot=m.value;const P=function ds(w,m,h){return m.children.map(d=>{for(const P of h.children)if(w.shouldReuseRoute(d.value,P.value.snapshot))return lo(w,d,P);return lo(w,d)})}(w,m,h);return new ii(d,P)}{if(w.shouldAttach(m.value)){const V=w.retrieve(m.value);if(null!==V){const ee=V.route;return ee.value._futureSnapshot=m.value,ee.children=m.children.map(se=>lo(w,se)),ee}}const d=function Ro(w){return new Zo(new q(w.url),new q(w.params),new q(w.queryParams),new q(w.fragment),new q(w.data),w.outlet,w.component,w)}(m.value),P=m.children.map(V=>lo(w,V));return new ii(d,P)}}function Jn(w){return"object"==typeof w&&null!=w&&!w.outlets&&!w.segmentPath}function Di(w){return"object"==typeof w&&null!=w&&w.outlets}function No(w,m,h,d,P){let V={};if(d&&De(d,(se,Je)=>{V[Je]=Array.isArray(se)?se.map(Kt=>`${Kt}`):`${se}`}),w===m)return new Xt(h,V,P);const ee=$i(w,m,h);return new Xt(ee,V,P)}function $i(w,m,h){const d={};return De(w.children,(P,V)=>{d[V]=P===m?h:$i(P,m,h)}),new Ct(w.segments,d)}class Qo{constructor(m,h,d){if(this.isAbsolute=m,this.numberOfDoubleDots=h,this.commands=d,m&&d.length>0&&Jn(d[0]))throw new Error("Root segment cannot have matrix parameters");const P=d.find(Di);if(P&&P!==yt(d))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jo{constructor(m,h,d){this.segmentGroup=m,this.processChildren=h,this.index=d}}function ti(w,m,h){if(w||(w=new Ct([],{})),0===w.segments.length&&w.hasChildren())return Mi(w,m,h);const d=function zr(w,m,h){let d=0,P=m;const V={match:!1,pathIndex:0,commandIndex:0};for(;P<w.segments.length;){if(d>=h.length)return V;const ee=w.segments[P],se=h[d];if(Di(se))break;const Je=`${se}`,Kt=d<h.length-1?h[d+1]:null;if(P>0&&void 0===Je)break;if(Je&&Kt&&"object"==typeof Kt&&void 0===Kt.outlets){if(!Co(Je,Kt,ee))return V;d+=2}else{if(!Co(Je,{},ee))return V;d++}P++}return{match:!0,pathIndex:P,commandIndex:d}}(w,m,h),P=h.slice(d.commandIndex);if(d.match&&d.pathIndex<w.segments.length){const V=new Ct(w.segments.slice(0,d.pathIndex),{});return V.children[tt]=new Ct(w.segments.slice(d.pathIndex),w.children),Mi(V,0,P)}return d.match&&0===P.length?new Ct(w.segments,{}):d.match&&!w.hasChildren()?Bi(w,m,h):d.match?Mi(w,0,P):Bi(w,m,h)}function Mi(w,m,h){if(0===h.length)return new Ct(w.segments,{});{const d=function Gr(w){return Di(w[0])?w[0].outlets:{[tt]:w}}(h),P={};return De(d,(V,ee)=>{"string"==typeof V&&(V=[V]),null!==V&&(P[ee]=ti(w.children[ee],m,V))}),De(w.children,(V,ee)=>{void 0===d[ee]&&(P[ee]=V)}),new Ct(w.segments,P)}}function Bi(w,m,h){const d=w.segments.slice(0,m);let P=0;for(;P<h.length;){const V=h[P];if(Di(V)){const Je=oi(V.outlets);return new Ct(d,Je)}if(0===P&&Jn(h[0])){d.push(new St(w.segments[m].path,vo(h[0]))),P++;continue}const ee=Di(V)?V.outlets[tt]:`${V}`,se=P<h.length-1?h[P+1]:null;ee&&se&&Jn(se)?(d.push(new St(ee,vo(se))),P+=2):(d.push(new St(ee,{})),P++)}return new Ct(d,{})}function oi(w){const m={};return De(w,(h,d)=>{"string"==typeof h&&(h=[h]),null!==h&&(m[d]=Bi(new Ct([],{}),0,h))}),m}function vo(w){const m={};return De(w,(h,d)=>m[d]=`${h}`),m}function Co(w,m,h){return w==h.path&&We(m,h.parameters)}class S{constructor(m,h,d,P){this.routeReuseStrategy=m,this.futureState=h,this.currState=d,this.forwardEvent=P}activate(m){const h=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,d,m),Io(this.futureState.root),this.activateChildRoutes(h,d,m)}deactivateChildRoutes(m,h,d){const P=Vi(h);m.children.forEach(V=>{const ee=V.value.outlet;this.deactivateRoutes(V,P[ee],d),delete P[ee]}),De(P,(V,ee)=>{this.deactivateRouteAndItsChildren(V,d)})}deactivateRoutes(m,h,d){const P=m.value,V=h?h.value:null;if(P===V)if(P.component){const ee=d.getContext(P.outlet);ee&&this.deactivateChildRoutes(m,h,ee.children)}else this.deactivateChildRoutes(m,h,d);else V&&this.deactivateRouteAndItsChildren(h,d)}deactivateRouteAndItsChildren(m,h){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,h):this.deactivateRouteAndOutlet(m,h)}detachAndStoreRouteSubtree(m,h){const d=h.getContext(m.value.outlet),P=d&&m.value.component?d.children:h,V=Vi(m);for(const ee of Object.keys(V))this.deactivateRouteAndItsChildren(V[ee],P);if(d&&d.outlet){const ee=d.outlet.detach(),se=d.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:ee,route:m,contexts:se})}}deactivateRouteAndOutlet(m,h){const d=h.getContext(m.value.outlet),P=d&&m.value.component?d.children:h,V=Vi(m);for(const ee of Object.keys(V))this.deactivateRouteAndItsChildren(V[ee],P);d&&d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated(),d.attachRef=null,d.resolver=null,d.route=null)}activateChildRoutes(m,h,d){const P=Vi(h);m.children.forEach(V=>{this.activateRoutes(V,P[V.value.outlet],d),this.forwardEvent(new Rt(V.value.snapshot))}),m.children.length&&this.forwardEvent(new Un(m.value.snapshot))}activateRoutes(m,h,d){const P=m.value,V=h?h.value:null;if(Io(P),P===V)if(P.component){const ee=d.getOrCreateContext(P.outlet);this.activateChildRoutes(m,h,ee.children)}else this.activateChildRoutes(m,h,d);else if(P.component){const ee=d.getOrCreateContext(P.outlet);if(this.routeReuseStrategy.shouldAttach(P.snapshot)){const se=this.routeReuseStrategy.retrieve(P.snapshot);this.routeReuseStrategy.store(P.snapshot,null),ee.children.onOutletReAttached(se.contexts),ee.attachRef=se.componentRef,ee.route=se.route.value,ee.outlet&&ee.outlet.attach(se.componentRef,se.route.value),Io(se.route.value),this.activateChildRoutes(m,null,ee.children)}else{const se=function k(w){for(let m=w.parent;m;m=m.parent){const h=m.routeConfig;if(h&&h._loadedConfig)return h._loadedConfig;if(h&&h.component)return null}return null}(P.snapshot),Je=se?se.module.componentFactoryResolver:null;ee.attachRef=null,ee.route=P,ee.resolver=Je,ee.outlet&&ee.outlet.activateWith(P,Je),this.activateChildRoutes(m,null,ee.children)}}else this.activateChildRoutes(m,null,d)}}class T{constructor(m,h){this.routes=m,this.module=h}}function B(w){return"function"==typeof w}function He(w){return w instanceof Xt}const Hn=Symbol("INITIAL_VALUE");function Ot(){return ie(w=>function ce(...w){let m=null,h=null;return(0,Z.K)(w[w.length-1])&&(h=w.pop()),"function"==typeof w[w.length-1]&&(m=w.pop()),1===w.length&&(0,re.k)(w[0])&&(w=w[0]),(0,j.n)(w,h).lift(new ye(m))}(w.map(m=>m.pipe((0,wr.q)(1),function Vt(...w){const m=w[w.length-1];return(0,Z.K)(m)?(w.pop(),h=>_t(w,h,m)):h=>_t(w,h)}(Hn)))).pipe(Ur((m,h)=>{let d=!1;return h.reduce((P,V,ee)=>P!==Hn?P:(V===Hn&&(d=!0),d||!1!==V&&ee!==h.length-1&&!He(V)?P:V),m)},Hn),(0,Bn.h)(m=>m!==Hn),(0,gt.U)(m=>He(m)?m:!0===m),(0,wr.q)(1)))}class yr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new jn,this.attachRef=null}}class jn{constructor(){this.contexts=new Map}onChildOutletCreated(m,h){const d=this.getOrCreateContext(m);d.outlet=h,this.contexts.set(m,d)}onChildOutletDestroyed(m){const h=this.getContext(m);h&&(h.outlet=null,h.attachRef=null)}onOutletDeactivated(){const m=this.contexts;return this.contexts=new Map,m}onOutletReAttached(m){this.contexts=m}getOrCreateContext(m){let h=this.getContext(m);return h||(h=new yr,this.contexts.set(m,h)),h}getContext(m){return this.contexts.get(m)||null}}let Dr=(()=>{class w{constructor(h,d,P,V,ee){this.parentContexts=h,this.location=d,this.resolver=P,this.changeDetector=ee,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=V||tt,h.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const h=this.parentContexts.getContext(this.name);h&&h.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.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 h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,d){this.activated=h,this._activatedRoute=d,this.location.insert(h.hostView),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,d){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=h;const ee=(d=d||this.resolver).resolveComponentFactory(h._futureSnapshot.routeConfig.component),se=this.parentContexts.getOrCreateContext(this.name).children,Je=new Lr(h,se,this.location.injector);this.activated=this.location.createComponent(ee,this.location.length,Je),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return w.\u0275fac=function(h){return new(h||w)(v.Y36(jn),v.Y36(v.s_b),v.Y36(v._Vd),v.$8M("name"),v.Y36(v.sBO))},w.\u0275dir=v.lG2({type:w,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),w})();class Lr{constructor(m,h,d){this.route=m,this.childContexts=h,this.parent=d}get(m,h){return m===Zo?this.route:m===jn?this.childContexts:this.parent.get(m,h)}}let Si=(()=>{class w{}return w.\u0275fac=function(h){return new(h||w)},w.\u0275cmp=v.Xpm({type:w,selectors:[["ng-component"]],decls:1,vars:0,template:function(h,d){1&h&&v._UZ(0,"router-outlet")},directives:[Dr],encapsulation:2}),w})();function eo(w,m=""){for(let h=0;h<w.length;h++){const d=w[h];Ui(d,Ti(m,d))}}function Ui(w,m){w.children&&eo(w.children,m)}function Ti(w,m){return m?w||m.path?w&&!m.path?`${w}/`:!w&&m.path?m.path:`${w}/${m.path}`:"":w}function Ai(w){const m=w.children&&w.children.map(Ai),h=m?{...w,children:m}:{...w};return!h.component&&(m||h.loadChildren)&&h.outlet&&h.outlet!==tt&&(h.component=Si),h}function Ir(w){return w.outlet||tt}function Sn(w,m){const h=w.filter(d=>Ir(d)===m);return h.push(...w.filter(d=>Ir(d)!==m)),h}const Xo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function es(w,m,h){if(""===m.path)return"full"===m.pathMatch&&(w.hasChildren()||h.length>0)?{...Xo}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const P=(m.matcher||J)(h,w,m);if(!P)return{...Xo};const V={};De(P.posParams,(se,Je)=>{V[Je]=se.path});const ee=P.consumed.length>0?{...V,...P.consumed[P.consumed.length-1].parameters}:V;return{matched:!0,consumedSegments:P.consumed,remainingSegments:h.slice(P.consumed.length),parameters:ee,positionalParamSegments:P.posParams??{}}}function Gi(w,m,h,d,P="corrected"){if(h.length>0&&function Ys(w,m,h){return h.some(d=>ts(w,m,d)&&Ir(d)!==tt)}(w,h,d)){const ee=new Ct(m,function Ls(w,m,h,d){const P={};P[tt]=d,d._sourceSegment=w,d._segmentIndexShift=m.length;for(const V of h)if(""===V.path&&Ir(V)!==tt){const ee=new Ct([],{});ee._sourceSegment=w,ee._segmentIndexShift=m.length,P[Ir(V)]=ee}return P}(w,m,d,new Ct(h,w.children)));return ee._sourceSegment=w,ee._segmentIndexShift=m.length,{segmentGroup:ee,slicedSegments:[]}}if(0===h.length&&function Zs(w,m,h){return h.some(d=>ts(w,m,d))}(w,h,d)){const ee=new Ct(w.segments,function gs(w,m,h,d,P,V){const ee={};for(const se of d)if(ts(w,h,se)&&!P[Ir(se)]){const Je=new Ct([],{});Je._sourceSegment=w,Je._segmentIndexShift="legacy"===V?w.segments.length:m.length,ee[Ir(se)]=Je}return{...P,...ee}}(w,m,h,d,w.children,P));return ee._sourceSegment=w,ee._segmentIndexShift=m.length,{segmentGroup:ee,slicedSegments:h}}const V=new Ct(w.segments,w.children);return V._sourceSegment=w,V._segmentIndexShift=m.length,{segmentGroup:V,slicedSegments:h}}function ts(w,m,h){return(!(w.hasChildren()||m.length>0)||"full"!==h.pathMatch)&&""===h.path}function lt(w,m,h,d){return!!(Ir(w)===d||d!==tt&&ts(m,h,w))&&("**"===w.path||es(m,w,h).matched)}function $n(w,m,h){return 0===m.length&&!w.children[h]}class si{constructor(m){this.segmentGroup=m||null}}class jr{constructor(m){this.urlTree=m}}function zi(w){return Ge(new si(w))}function wo(w){return Ge(new jr(w))}class yl{constructor(m,h,d,P,V){this.configLoader=h,this.urlSerializer=d,this.urlTree=P,this.config=V,this.allowRedirects=!0,this.ngModule=m.get(v.h0i)}apply(){const m=Gi(this.urlTree.root,[],[],this.config).segmentGroup,h=new Ct(m.segments,m.children);return this.expandSegmentGroup(this.ngModule,this.config,h,tt).pipe((0,gt.U)(V=>this.createUrlTree(g(V),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Zr(V=>{if(V instanceof jr)return this.allowRedirects=!1,this.match(V.urlTree);throw V instanceof si?this.noMatchError(V):V}))}match(m){return this.expandSegmentGroup(this.ngModule,this.config,m.root,tt).pipe((0,gt.U)(P=>this.createUrlTree(g(P),m.queryParams,m.fragment))).pipe(Zr(P=>{throw P instanceof si?this.noMatchError(P):P}))}noMatchError(m){return new Error(`Cannot match any routes. URL Segment: '${m.segmentGroup}'`)}createUrlTree(m,h,d){const P=m.segments.length>0?new Ct([],{[tt]:m}):m;return new Xt(P,h,d)}expandSegmentGroup(m,h,d,P){return 0===d.segments.length&&d.hasChildren()?this.expandChildren(m,h,d).pipe((0,gt.U)(V=>new Ct([],V))):this.expandSegment(m,d,h,d.segments,P,!0)}expandChildren(m,h,d){const P=[];for(const V of Object.keys(d.children))"primary"===V?P.unshift(V):P.push(V);return(0,rn.D)(P).pipe((0,Ce.b)(V=>{const ee=d.children[V],se=Sn(h,V);return this.expandSegmentGroup(m,se,ee,V).pipe((0,gt.U)(Je=>({segment:Je,outlet:V})))}),Ur((V,ee)=>(V[ee.outlet]=ee.segment,V),{}),function fi(w,m){const h=arguments.length>=2;return d=>d.pipe(w?(0,Bn.h)((P,V)=>w(P,V,d)):dr.y,Qr(1),h?cr(m):er(()=>new ht))}())}expandSegment(m,h,d,P,V,ee){return(0,rn.D)(d).pipe((0,Ce.b)(se=>this.expandSegmentAgainstRoute(m,h,d,se,P,V,ee).pipe(Zr(Kt=>{if(Kt instanceof si)return(0,qe.of)(null);throw Kt}))),mr(se=>!!se),Zr((se,Je)=>{if(se instanceof ht||"EmptyError"===se.name)return $n(h,P,V)?(0,qe.of)(new Ct([],{})):zi(h);throw se}))}expandSegmentAgainstRoute(m,h,d,P,V,ee,se){return lt(P,h,V,ee)?void 0===P.redirectTo?this.matchSegmentAgainstRoute(m,h,P,V,ee):se&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,h,d,P,V,ee):zi(h):zi(h)}expandSegmentAgainstRouteUsingRedirect(m,h,d,P,V,ee){return"**"===P.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,d,P,ee):this.expandRegularSegmentAgainstRouteUsingRedirect(m,h,d,P,V,ee)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,h,d,P){const V=this.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?wo(V):this.lineralizeSegments(d,V).pipe((0,be.zg)(ee=>{const se=new Ct(ee,{});return this.expandSegment(m,se,h,ee,P,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(m,h,d,P,V,ee){const{matched:se,consumedSegments:Je,remainingSegments:Kt,positionalParamSegments:nr}=es(h,P,V);if(!se)return zi(h);const At=this.applyRedirectCommands(Je,P.redirectTo,nr);return P.redirectTo.startsWith("/")?wo(At):this.lineralizeSegments(P,At).pipe((0,be.zg)(br=>this.expandSegment(m,h,d,br.concat(Kt),ee,!1)))}matchSegmentAgainstRoute(m,h,d,P,V){if("**"===d.path)return d.loadChildren?(d._loadedConfig?(0,qe.of)(d._loadedConfig):this.configLoader.load(m.injector,d)).pipe((0,gt.U)(At=>(d._loadedConfig=At,new Ct(P,{})))):(0,qe.of)(new Ct(P,{}));const{matched:ee,consumedSegments:se,remainingSegments:Je}=es(h,d,P);return ee?this.getChildConfig(m,d,P).pipe((0,be.zg)(nr=>{const At=nr.module,br=nr.routes,{segmentGroup:Nr,slicedSegments:Da}=Gi(h,se,Je,br),Ma=new Ct(Nr.segments,Nr.children);if(0===Da.length&&Ma.hasChildren())return this.expandChildren(At,br,Ma).pipe((0,gt.U)(bs=>new Ct(se,bs)));if(0===br.length&&0===Da.length)return(0,qe.of)(new Ct(se,{}));const bl=Ir(d)===V;return this.expandSegment(At,Ma,br,Da,bl?tt:V,!0).pipe((0,gt.U)(ws=>new Ct(se.concat(ws.segments),ws.children)))})):zi(h)}getChildConfig(m,h,d){return h.children?(0,qe.of)(new T(h.children,m)):h.loadChildren?void 0!==h._loadedConfig?(0,qe.of)(h._loadedConfig):this.runCanLoadGuards(m.injector,h,d).pipe((0,be.zg)(P=>P?this.configLoader.load(m.injector,h).pipe((0,gt.U)(V=>(h._loadedConfig=V,V))):function uo(w){return Ge(Ie(`Cannot load children because the guard of the route "path: '${w.path}'" returned false`))}(h))):(0,qe.of)(new T([],m))}runCanLoadGuards(m,h,d){const P=h.canLoad;if(!P||0===P.length)return(0,qe.of)(!0);const V=P.map(ee=>{const se=m.get(ee);let Je;if(function rt(w){return w&&B(w.canLoad)}(se))Je=se.canLoad(h,d);else{if(!B(se))throw new Error("Invalid CanLoad guard");Je=se(h,d)}return wt(Je)});return(0,qe.of)(V).pipe(Ot(),ne(ee=>{if(!He(ee))return;const se=Ie(`Redirecting to "${this.urlSerializer.serialize(ee)}"`);throw se.url=ee,se}),(0,gt.U)(ee=>!0===ee))}lineralizeSegments(m,h){let d=[],P=h.root;for(;;){if(d=d.concat(P.segments),0===P.numberOfChildren)return(0,qe.of)(d);if(P.numberOfChildren>1||!P.children[tt])return Ge(new Error(`Only absolute redirects can have named outlets. redirectTo: '${m.redirectTo}'`));P=P.children[tt]}}applyRedirectCommands(m,h,d){return this.applyRedirectCreatreUrlTree(h,this.urlSerializer.parse(h),m,d)}applyRedirectCreatreUrlTree(m,h,d,P){const V=this.createSegmentGroup(m,h.root,d,P);return new Xt(V,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(m,h){const d={};return De(m,(P,V)=>{if("string"==typeof P&&P.startsWith(":")){const se=P.substring(1);d[V]=h[se]}else d[V]=P}),d}createSegmentGroup(m,h,d,P){const V=this.createSegments(m,h.segments,d,P);let ee={};return De(h.children,(se,Je)=>{ee[Je]=this.createSegmentGroup(m,se,d,P)}),new Ct(V,ee)}createSegments(m,h,d,P){return h.map(V=>V.path.startsWith(":")?this.findPosParam(m,V,P):this.findOrReturn(V,d))}findPosParam(m,h,d){const P=d[h.path.substring(1)];if(!P)throw new Error(`Cannot redirect to '${m}'. Cannot find '${h.path}'.`);return P}findOrReturn(m,h){let d=0;for(const P of h){if(P.path===m.path)return h.splice(d),P;d++}return m}}function g(w){const m={};for(const d of Object.keys(w.children)){const V=g(w.children[d]);(V.segments.length>0||V.hasChildren())&&(m[d]=V)}return function I(w){if(1===w.numberOfChildren&&w.children[tt]){const m=w.children[tt];return new Ct(w.segments.concat(m.segments),m.children)}return w}(new Ct(w.segments,m))}class E{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class N{constructor(m,h){this.component=m,this.route=h}}function W(w,m,h){const d=w._root;return Ye(d,m?m._root:null,h,[d.value])}function ae(w,m,h){const d=function Pe(w){if(!w)return null;for(let m=w.parent;m;m=m.parent){const h=m.routeConfig;if(h&&h._loadedConfig)return h._loadedConfig}return null}(m);return(d?d.module.injector:h).get(w)}function Ye(w,m,h,d,P={canDeactivateChecks:[],canActivateChecks:[]}){const V=Vi(m);return w.children.forEach(ee=>{(function Ut(w,m,h,d,P={canDeactivateChecks:[],canActivateChecks:[]}){const V=w.value,ee=m?m.value:null,se=h?h.getContext(w.value.outlet):null;if(ee&&V.routeConfig===ee.routeConfig){const Je=function tn(w,m,h){if("function"==typeof h)return h(w,m);switch(h){case"pathParamsChange":return!fr(w.url,m.url);case"pathParamsOrQueryParamsChange":return!fr(w.url,m.url)||!We(w.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ko(w,m)||!We(w.queryParams,m.queryParams);default:return!Ko(w,m)}}(ee,V,V.routeConfig.runGuardsAndResolvers);Je?P.canActivateChecks.push(new E(d)):(V.data=ee.data,V._resolvedData=ee._resolvedData),Ye(w,m,V.component?se?se.children:null:h,d,P),Je&&se&&se.outlet&&se.outlet.isActivated&&P.canDeactivateChecks.push(new N(se.outlet.component,ee))}else ee&&sn(m,se,P),P.canActivateChecks.push(new E(d)),Ye(w,null,V.component?se?se.children:null:h,d,P)})(ee,V[ee.value.outlet],h,d.concat([ee.value]),P),delete V[ee.value.outlet]}),De(V,(ee,se)=>sn(ee,h.getContext(se),P)),P}function sn(w,m,h){const d=Vi(w),P=w.value;De(d,(V,ee)=>{sn(V,P.component?m?m.children.getContext(ee):null:m,h)}),h.canDeactivateChecks.push(new N(P.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,P))}class Ee{}function ze(w){return new ke.y(m=>m.error(w))}class kt{constructor(m,h,d,P,V,ee){this.rootComponentType=m,this.config=h,this.urlTree=d,this.url=P,this.paramsInheritanceStrategy=V,this.relativeLinkResolution=ee}recognize(){const m=Gi(this.urlTree.root,[],[],this.config.filter(ee=>void 0===ee.redirectTo),this.relativeLinkResolution).segmentGroup,h=this.processSegmentGroup(this.config,m,tt);if(null===h)return null;const d=new Ao([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,this.urlTree.root,-1,{}),P=new ii(d,h),V=new cs(this.url,P);return this.inheritParamsAndData(V._root),V}inheritParamsAndData(m){const h=m.value,d=qs(h,this.paramsInheritanceStrategy);h.params=Object.freeze(d.params),h.data=Object.freeze(d.data),m.children.forEach(P=>this.inheritParamsAndData(P))}processSegmentGroup(m,h,d){return 0===h.segments.length&&h.hasChildren()?this.processChildren(m,h):this.processSegment(m,h,h.segments,d)}processChildren(m,h){const d=[];for(const V of Object.keys(h.children)){const ee=h.children[V],se=Sn(m,V),Je=this.processSegmentGroup(se,ee,V);if(null===Je)return null;d.push(...Je)}const P=hn(d);return function yn(w){w.sort((m,h)=>m.value.outlet===tt?-1:h.value.outlet===tt?1:m.value.outlet.localeCompare(h.value.outlet))}(P),P}processSegment(m,h,d,P){for(const V of m){const ee=this.processSegmentAgainstRoute(V,h,d,P);if(null!==ee)return ee}return $n(h,d,P)?[]:null}processSegmentAgainstRoute(m,h,d,P){if(m.redirectTo||!lt(m,h,d,P))return null;let V,ee=[],se=[];if("**"===m.path){const Nr=d.length>0?yt(d).parameters:{};V=new Ao(d,Nr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zt(m),Ir(m),m.component,m,Ks(h),Pi(h)+d.length,un(m))}else{const Nr=es(h,m,d);if(!Nr.matched)return null;ee=Nr.consumedSegments,se=Nr.remainingSegments,V=new Ao(ee,Nr.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zt(m),Ir(m),m.component,m,Ks(h),Pi(h)+ee.length,un(m))}const Je=function fn(w){return w.children?w.children:w.loadChildren?w._loadedConfig.routes:[]}(m),{segmentGroup:Kt,slicedSegments:nr}=Gi(h,ee,se,Je.filter(Nr=>void 0===Nr.redirectTo),this.relativeLinkResolution);if(0===nr.length&&Kt.hasChildren()){const Nr=this.processChildren(Je,Kt);return null===Nr?null:[new ii(V,Nr)]}if(0===Je.length&&0===nr.length)return[new ii(V,[])];const At=Ir(m)===P,br=this.processSegment(Je,Kt,nr,At?tt:P);return null===br?null:[new ii(V,br)]}}function vr(w){const m=w.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function hn(w){const m=[],h=new Set;for(const d of w){if(!vr(d)){m.push(d);continue}const P=m.find(V=>d.value.routeConfig===V.value.routeConfig);void 0!==P?(P.children.push(...d.children),h.add(P)):m.push(d)}for(const d of h){const P=hn(d.children);m.push(new ii(d.value,P))}return m.filter(d=>!h.has(d))}function Ks(w){let m=w;for(;m._sourceSegment;)m=m._sourceSegment;return m}function Pi(w){let m=w,h=m._segmentIndexShift?m._segmentIndexShift:0;for(;m._sourceSegment;)m=m._sourceSegment,h+=m._segmentIndexShift?m._segmentIndexShift:0;return h-1}function zt(w){return w.data||{}}function un(w){return w.resolve||{}}function _i(w){return[...Object.keys(w),...Object.getOwnPropertySymbols(w)]}function lr(w){return ie(m=>{const h=w(m);return h?(0,rn.D)(h).pipe((0,gt.U)(()=>m)):(0,qe.of)(m)})}class yi extends class ns{shouldDetach(m){return!1}store(m,h){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,h){return m.routeConfig===h.routeConfig}}{}const Ii=new v.OlP("ROUTES");class qr{constructor(m,h,d,P){this.injector=m,this.compiler=h,this.onLoadStartListener=d,this.onLoadEndListener=P}load(m,h){if(h._loader$)return h._loader$;this.onLoadStartListener&&this.onLoadStartListener(h);const P=this.loadModuleFactory(h.loadChildren).pipe((0,gt.U)(V=>{this.onLoadEndListener&&this.onLoadEndListener(h);const ee=V.create(m);return new T(Tt(ee.injector.get(Ii,void 0,v.XFs.Self|v.XFs.Optional)).map(Ai),ee)}),Zr(V=>{throw h._loader$=void 0,V}));return h._loader$=new dn.c(P,()=>new K.xQ).pipe((0,Se.x)()),h._loader$}loadModuleFactory(m){return wt(m()).pipe((0,be.zg)(h=>h instanceof v.YKP?(0,qe.of)(h):(0,rn.D)(this.compiler.compileModuleAsync(h))))}}class ms{shouldProcessUrl(m){return!0}extract(m){return m}merge(m,h){return m}}function Qs(w){throw w}function vl(w,m,h){return m.parse("/")}function Cl(w,m){return(0,qe.of)(null)}const _s={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ya={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ni=(()=>{class w{constructor(h,d,P,V,ee,se,Je){this.rootComponentType=h,this.urlSerializer=d,this.rootContexts=P,this.location=V,this.config=Je,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new K.xQ,this.errorHandler=Qs,this.malformedUriErrorHandler=vl,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Cl,afterPreactivation:Cl},this.urlHandlingStrategy=new ms,this.routeReuseStrategy=new yi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=ee.get(v.h0i),this.console=ee.get(v.c2e);const At=ee.get(v.R0b);this.isNgZoneEnabled=At instanceof v.R0b&&v.R0b.isInAngularZone(),this.resetConfig(Je),this.currentUrlTree=function qt(){return new Xt(new Ct([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new qr(ee,se,br=>this.triggerEvent(new pt(br)),br=>this.triggerEvent(new Wt(br))),this.routerState=Ws(this.currentUrlTree,this.rootComponentType),this.transitions=new q({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(h){const d=this.events;return h.pipe((0,Bn.h)(P=>0!==P.id),(0,gt.U)(P=>({...P,extractedUrl:this.urlHandlingStrategy.extract(P.rawUrl)})),ie(P=>{let V=!1,ee=!1;return(0,qe.of)(P).pipe(ne(se=>{this.currentNavigation={id:se.id,initialUrl:se.currentRawUrl,extractedUrl:se.extractedUrl,trigger:se.source,extras:se.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),ie(se=>{const Je=this.browserUrlTree.toString(),Kt=!this.navigated||se.extractedUrl.toString()!==Je||Je!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Kt)&&this.urlHandlingStrategy.shouldProcessUrl(se.rawUrl))return Vs(se.source)&&(this.browserUrlTree=se.extractedUrl),(0,qe.of)(se).pipe(ie(At=>{const br=this.transitions.getValue();return d.next(new it(At.id,this.serializeUrl(At.extractedUrl),At.source,At.restoredState)),br!==this.transitions.getValue()?Rn.E:Promise.resolve(At)}),function _(w,m,h,d){return ie(P=>function mi(w,m,h,d,P){return new yl(w,m,h,d,P).apply()}(w,m,h,P.extractedUrl,d).pipe((0,gt.U)(V=>({...P,urlAfterRedirects:V}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ne(At=>{this.currentNavigation={...this.currentNavigation,finalUrl:At.urlAfterRedirects}}),function pn(w,m,h,d,P){return(0,be.zg)(V=>function Be(w,m,h,d,P="emptyOnly",V="legacy"){try{const ee=new kt(w,m,h,d,P,V).recognize();return null===ee?ze(new Ee):(0,qe.of)(ee)}catch(ee){return ze(ee)}}(w,m,V.urlAfterRedirects,h(V.urlAfterRedirects),d,P).pipe((0,gt.U)(ee=>({...V,targetSnapshot:ee}))))}(this.rootComponentType,this.config,At=>this.serializeUrl(At),this.paramsInheritanceStrategy,this.relativeLinkResolution),ne(At=>{if("eager"===this.urlUpdateStrategy){if(!At.extras.skipLocationChange){const Nr=this.urlHandlingStrategy.merge(At.urlAfterRedirects,At.rawUrl);this.setBrowserUrl(Nr,At)}this.browserUrlTree=At.urlAfterRedirects}const br=new on(At.id,this.serializeUrl(At.extractedUrl),this.serializeUrl(At.urlAfterRedirects),At.targetSnapshot);d.next(br)}));if(Kt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:br,extractedUrl:Nr,source:Da,restoredState:Ma,extras:bl}=se,Vo=new it(br,this.serializeUrl(Nr),Da,Ma);d.next(Vo);const ws=Ws(Nr,this.rootComponentType).snapshot;return(0,qe.of)({...se,targetSnapshot:ws,urlAfterRedirects:Nr,extras:{...bl,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=se.rawUrl,se.resolve(null),Rn.E}),lr(se=>{const{targetSnapshot:Je,id:Kt,extractedUrl:nr,rawUrl:At,extras:{skipLocationChange:br,replaceUrl:Nr}}=se;return this.hooks.beforePreactivation(Je,{navigationId:Kt,appliedUrlTree:nr,rawUrlTree:At,skipLocationChange:!!br,replaceUrl:!!Nr})}),ne(se=>{const Je=new vt(se.id,this.serializeUrl(se.extractedUrl),this.serializeUrl(se.urlAfterRedirects),se.targetSnapshot);this.triggerEvent(Je)}),(0,gt.U)(se=>({...se,guards:W(se.targetSnapshot,se.currentSnapshot,this.rootContexts)})),function vn(w,m){return(0,be.zg)(h=>{const{targetSnapshot:d,currentSnapshot:P,guards:{canActivateChecks:V,canDeactivateChecks:ee}}=h;return 0===ee.length&&0===V.length?(0,qe.of)({...h,guardsResult:!0}):function ln(w,m,h,d){return(0,rn.D)(w).pipe((0,be.zg)(P=>function $r(w,m,h,d,P){const V=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!V||0===V.length)return(0,qe.of)(!0);const ee=V.map(se=>{const Je=ae(se,m,P);let Kt;if(function sr(w){return w&&B(w.canDeactivate)}(Je))Kt=wt(Je.canDeactivate(w,m,h,d));else{if(!B(Je))throw new Error("Invalid CanDeactivate guard");Kt=wt(Je(w,m,h,d))}return Kt.pipe(mr())});return(0,qe.of)(ee).pipe(Ot())}(P.component,P.route,h,m,d)),mr(P=>!0!==P,!0))}(ee,d,P,w).pipe((0,be.zg)(se=>se&&function ge(w){return"boolean"==typeof w}(se)?function On(w,m,h,d){return(0,rn.D)(m).pipe((0,Ce.b)(P=>_t(function Wr(w,m){return null!==w&&m&&m(new Cn(w)),(0,qe.of)(!0)}(P.route.parent,d),function ar(w,m){return null!==w&&m&&m(new xn(w)),(0,qe.of)(!0)}(P.route,d),function ai(w,m,h){const d=m[m.length-1],V=m.slice(0,m.length-1).reverse().map(ee=>function he(w){const m=w.routeConfig?w.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:w,guards:m}:null}(ee)).filter(ee=>null!==ee).map(ee=>gn(()=>{const se=ee.guards.map(Je=>{const Kt=ae(Je,ee.node,h);let nr;if(function Zn(w){return w&&B(w.canActivateChild)}(Kt))nr=wt(Kt.canActivateChild(d,w));else{if(!B(Kt))throw new Error("Invalid CanActivateChild guard");nr=wt(Kt(d,w))}return nr.pipe(mr())});return(0,qe.of)(se).pipe(Ot())}));return(0,qe.of)(V).pipe(Ot())}(w,P.path,h),function Vr(w,m,h){const d=m.routeConfig?m.routeConfig.canActivate:null;if(!d||0===d.length)return(0,qe.of)(!0);const P=d.map(V=>gn(()=>{const ee=ae(V,m,h);let se;if(function bt(w){return w&&B(w.canActivate)}(ee))se=wt(ee.canActivate(m,w));else{if(!B(ee))throw new Error("Invalid CanActivate guard");se=wt(ee(m,w))}return se.pipe(mr())}));return(0,qe.of)(P).pipe(Ot())}(w,P.route,h))),mr(P=>!0!==P,!0))}(d,V,w,m):(0,qe.of)(se)),(0,gt.U)(se=>({...h,guardsResult:se})))})}(this.ngModule.injector,se=>this.triggerEvent(se)),ne(se=>{if(He(se.guardsResult)){const Kt=Ie(`Redirecting to "${this.serializeUrl(se.guardsResult)}"`);throw Kt.url=se.guardsResult,Kt}const Je=new jt(se.id,this.serializeUrl(se.extractedUrl),this.serializeUrl(se.urlAfterRedirects),se.targetSnapshot,!!se.guardsResult);this.triggerEvent(Je)}),(0,Bn.h)(se=>!!se.guardsResult||(this.restoreHistory(se),this.cancelNavigationTransition(se,""),!1)),lr(se=>{if(se.guards.canActivateChecks.length)return(0,qe.of)(se).pipe(ne(Je=>{const Kt=new Zt(Je.id,this.serializeUrl(Je.extractedUrl),this.serializeUrl(Je.urlAfterRedirects),Je.targetSnapshot);this.triggerEvent(Kt)}),ie(Je=>{let Kt=!1;return(0,qe.of)(Je).pipe(function kn(w,m){return(0,be.zg)(h=>{const{targetSnapshot:d,guards:{canActivateChecks:P}}=h;if(!P.length)return(0,qe.of)(h);let V=0;return(0,rn.D)(P).pipe((0,Ce.b)(ee=>function Rr(w,m,h,d){return function Nn(w,m,h,d){const P=_i(w);if(0===P.length)return(0,qe.of)({});const V={};return(0,rn.D)(P).pipe((0,be.zg)(ee=>function Wi(w,m,h,d){const P=ae(w,m,d);return wt(P.resolve?P.resolve(m,h):P(m,h))}(w[ee],m,h,d).pipe(ne(se=>{V[ee]=se}))),Qr(1),(0,be.zg)(()=>_i(V).length===P.length?(0,qe.of)(V):Rn.E))}(w._resolve,w,m,d).pipe((0,gt.U)(V=>(w._resolvedData=V,w.data={...w.data,...qs(w,h).resolve},null)))}(ee.route,d,w,m)),ne(()=>V++),Qr(1),(0,be.zg)(ee=>V===P.length?(0,qe.of)(h):Rn.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ne({next:()=>Kt=!0,complete:()=>{Kt||(this.restoreHistory(Je),this.cancelNavigationTransition(Je,"At least one route resolver didn't emit any value."))}}))}),ne(Je=>{const Kt=new Qt(Je.id,this.serializeUrl(Je.extractedUrl),this.serializeUrl(Je.urlAfterRedirects),Je.targetSnapshot);this.triggerEvent(Kt)}))}),lr(se=>{const{targetSnapshot:Je,id:Kt,extractedUrl:nr,rawUrl:At,extras:{skipLocationChange:br,replaceUrl:Nr}}=se;return this.hooks.afterPreactivation(Je,{navigationId:Kt,appliedUrlTree:nr,rawUrlTree:At,skipLocationChange:!!br,replaceUrl:!!Nr})}),(0,gt.U)(se=>{const Je=function ks(w,m,h){const d=lo(w,m._root,h?h._root:void 0);return new Yo(d,m)}(this.routeReuseStrategy,se.targetSnapshot,se.currentRouterState);return{...se,targetRouterState:Je}}),ne(se=>{this.currentUrlTree=se.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(se.urlAfterRedirects,se.rawUrl),this.routerState=se.targetRouterState,"deferred"===this.urlUpdateStrategy&&(se.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,se),this.browserUrlTree=se.urlAfterRedirects)}),((w,m,h)=>(0,gt.U)(d=>(new S(m,d.targetRouterState,d.currentRouterState,h).activate(w),d)))(this.rootContexts,this.routeReuseStrategy,se=>this.triggerEvent(se)),ne({next(){V=!0},complete(){V=!0}}),(0,$e.x)(()=>{V||ee||this.cancelNavigationTransition(P,`Navigation ID ${P.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===P.id&&(this.currentNavigation=null)}),Zr(se=>{if(ee=!0,function pe(w){return w&&w[ir]}(se)){const Je=He(se.url);Je||(this.navigated=!0,this.restoreHistory(P,!0));const Kt=new Dt(P.id,this.serializeUrl(P.extractedUrl),se.message);d.next(Kt),Je?setTimeout(()=>{const nr=this.urlHandlingStrategy.merge(se.url,this.rawUrlTree),At={skipLocationChange:P.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Vs(P.source)};this.scheduleNavigation(nr,"imperative",null,At,{resolve:P.resolve,reject:P.reject,promise:P.promise})},0):P.resolve(!1)}else{this.restoreHistory(P,!0);const Je=new Mt(P.id,this.serializeUrl(P.extractedUrl),se);d.next(Je);try{P.resolve(this.errorHandler(se))}catch(Kt){P.reject(Kt)}}return Rn.E}))}))}resetRootComponentType(h){this.rootComponentType=h,this.routerState.root.component=this.rootComponentType}setTransition(h){this.transitions.next({...this.transitions.value,...h})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const d="popstate"===h.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{const P={replaceUrl:!0},V=h.state?.navigationId?h.state:null;if(V){const se={...V};delete se.navigationId,delete se.\u0275routerPageId,0!==Object.keys(se).length&&(P.state=se)}const ee=this.parseUrl(h.url);this.scheduleNavigation(ee,d,V,P)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(h){this.events.next(h)}resetConfig(h){eo(h),this.config=h.map(Ai),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(h,d={}){const{relativeTo:P,queryParams:V,fragment:ee,queryParamsHandling:se,preserveFragment:Je}=d,Kt=P||this.routerState.root,nr=Je?this.currentUrlTree.fragment:ee;let At=null;switch(se){case"merge":At={...this.currentUrlTree.queryParams,...V};break;case"preserve":At=this.currentUrlTree.queryParams;break;default:At=V||null}return null!==At&&(At=this.removeEmptyProps(At)),function or(w,m,h,d,P){if(0===h.length)return No(m.root,m.root,m.root,d,P);const V=function fs(w){if("string"==typeof w[0]&&1===w.length&&"/"===w[0])return new Qo(!0,0,w);let m=0,h=!1;const d=w.reduce((P,V,ee)=>{if("object"==typeof V&&null!=V){if(V.outlets){const se={};return De(V.outlets,(Je,Kt)=>{se[Kt]="string"==typeof Je?Je.split("/"):Je}),[...P,{outlets:se}]}if(V.segmentPath)return[...P,V.segmentPath]}return"string"!=typeof V?[...P,V]:0===ee?(V.split("/").forEach((se,Je)=>{0==Je&&"."===se||(0==Je&&""===se?h=!0:".."===se?m++:""!=se&&P.push(se))}),P):[...P,V]},[]);return new Qo(h,m,d)}(h);if(V.toRoot())return No(m.root,m.root,new Ct([],{}),d,P);const ee=function yo(w,m,h){if(w.isAbsolute)return new Jo(m.root,!0,0);if(-1===h.snapshot._lastPathIndex){const V=h.snapshot._urlSegment;return new Jo(V,V===m.root,0)}const d=Jn(w.commands[0])?0:1;return function hs(w,m,h){let d=w,P=m,V=h;for(;V>P;){if(V-=P,d=d.parent,!d)throw new Error("Invalid number of '../'");P=d.segments.length}return new Jo(d,!1,P-V)}(h.snapshot._urlSegment,h.snapshot._lastPathIndex+d,w.numberOfDoubleDots)}(V,m,w),se=ee.processChildren?Mi(ee.segmentGroup,ee.index,V.commands):ti(ee.segmentGroup,ee.index,V.commands);return No(m.root,ee.segmentGroup,se,d,P)}(Kt,this.currentUrlTree,h,At,nr??null)}navigateByUrl(h,d={skipLocationChange:!1}){const P=He(h)?h:this.parseUrl(h),V=this.urlHandlingStrategy.merge(P,this.rawUrlTree);return this.scheduleNavigation(V,"imperative",null,d)}navigate(h,d={skipLocationChange:!1}){return function bo(w){for(let m=0;m<w.length;m++){const h=w[m];if(null==h)throw new Error(`The requested path contains ${h} segment at index ${m}`)}}(h),this.navigateByUrl(this.createUrlTree(h,d),d)}serializeUrl(h){return this.urlSerializer.serialize(h)}parseUrl(h){let d;try{d=this.urlSerializer.parse(h)}catch(P){d=this.malformedUriErrorHandler(P,this.urlSerializer,h)}return d}isActive(h,d){let P;if(P=!0===d?{..._s}:!1===d?{...ya}:d,He(h))return Qe(this.currentUrlTree,h,P);const V=this.parseUrl(h);return Qe(this.currentUrlTree,V,P)}removeEmptyProps(h){return Object.keys(h).reduce((d,P)=>{const V=h[P];return null!=V&&(d[P]=V),d},{})}processNavigations(){this.navigations.subscribe(h=>{this.navigated=!0,this.lastSuccessfulId=h.id,this.currentPageId=h.targetPageId,this.events.next(new Pt(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,h.resolve(!0)},h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)})}scheduleNavigation(h,d,P,V,ee){if(this.disposed)return Promise.resolve(!1);let se,Je,Kt;ee?(se=ee.resolve,Je=ee.reject,Kt=ee.promise):Kt=new Promise((br,Nr)=>{se=br,Je=Nr});const nr=++this.navigationId;let At;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(P=this.location.getState()),At=P&&P.\u0275routerPageId?P.\u0275routerPageId:V.replaceUrl||V.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):At=0,this.setTransition({id:nr,targetPageId:At,source:d,restoredState:P,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:h,extras:V,resolve:se,reject:Je,promise:Kt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Kt.catch(br=>Promise.reject(br))}setBrowserUrl(h,d){const P=this.urlSerializer.serialize(h),V={...d.extras.state,...this.generateNgRouterState(d.id,d.targetPageId)};this.location.isCurrentPathEqualTo(P)||d.extras.replaceUrl?this.location.replaceState(P,"",V):this.location.go(P,"",V)}restoreHistory(h,d=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-h.targetPageId;"popstate"!==h.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===P?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===P&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(P)}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(h,d){const P=new Dt(h.id,this.serializeUrl(h.extractedUrl),d);this.triggerEvent(P),h.resolve(!1)}generateNgRouterState(h,d){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:d}:{navigationId:h}}}return w.\u0275fac=function(h){v.$Z()},w.\u0275prov=v.Yz7({token:w,factory:w.\u0275fac}),w})();function Vs(w){return"imperative"!==w}let Fo=(()=>{class w{constructor(h,d,P){this.router=h,this.route=d,this.locationStrategy=P,this.commands=null,this.href=null,this.onChanges=new K.xQ,this.subscription=h.events.subscribe(V=>{V instanceof Pt&&this.updateTargetUrlAndHref()})}set routerLink(h){this.commands=null!=h?Array.isArray(h)?h:[h]:null}ngOnChanges(h){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(h,d,P,V,ee){if(0!==h||d||P||V||ee||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const se={skipLocationChange:ys(this.skipLocationChange),replaceUrl:ys(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,se),!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:ys(this.preserveFragment)})}}return w.\u0275fac=function(h){return new(h||w)(v.Y36(ni),v.Y36(Zo),v.Y36(l.S$))},w.\u0275dir=v.lG2({type:w,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(h,d){1&h&&v.NdJ("click",function(V){return d.onClick(V.button,V.ctrlKey,V.shiftKey,V.altKey,V.metaKey)}),2&h&&v.uIk("target",d.target)("href",d.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]}),w})();function ys(w){return""===w||!!w}class vs{}class Ca{preload(m,h){return(0,qe.of)(null)}}let Ua=(()=>{class w{constructor(h,d,P,V){this.router=h,this.injector=P,this.preloadingStrategy=V,this.loader=new qr(P,d,Je=>h.triggerEvent(new pt(Je)),Je=>h.triggerEvent(new Wt(Je)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Bn.h)(h=>h instanceof Pt),(0,Ce.b)(()=>this.preload())).subscribe(()=>{})}preload(){const h=this.injector.get(v.h0i);return this.processRoutes(h,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,d){const P=[];for(const V of d)if(V.loadChildren&&!V.canLoad&&V._loadedConfig){const ee=V._loadedConfig;P.push(this.processRoutes(ee.module,ee.routes))}else V.loadChildren&&!V.canLoad?P.push(this.preloadConfig(h,V)):V.children&&P.push(this.processRoutes(h,V.children));return(0,rn.D)(P).pipe((0,ct.J)(),(0,gt.U)(V=>{}))}preloadConfig(h,d){return this.preloadingStrategy.preload(d,()=>(d._loadedConfig?(0,qe.of)(d._loadedConfig):this.loader.load(h.injector,d)).pipe((0,be.zg)(V=>(d._loadedConfig=V,this.processRoutes(V.module,V.routes)))))}}return w.\u0275fac=function(h){return new(h||w)(v.LFG(ni),v.LFG(v.Sil),v.LFG(v.zs3),v.LFG(vs))},w.\u0275prov=v.Yz7({token:w,factory:w.\u0275fac}),w})(),wa=(()=>{class w{constructor(h,d,P={}){this.router=h,this.viewportScroller=d,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(h=>{h instanceof it?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof Pt&&(this.lastId=h.id,this.scheduleScrollEvent(h,this.router.parseUrl(h.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(h=>{h instanceof Dn&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,d){this.router.triggerEvent(new Dn(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return w.\u0275fac=function(h){v.$Z()},w.\u0275prov=v.Yz7({token:w,factory:w.\u0275fac}),w})();const Mr=new v.OlP("ROUTER_CONFIGURATION"),Js=new v.OlP("ROUTER_FORROOT_GUARD"),ba=[l.Ye,{provide:Jr,useClass:Er},{provide:ni,useFactory:function Cs(w,m,h,d,P,V,ee={},se,Je){const Kt=new ni(null,w,m,h,d,P,Tt(V));return se&&(Kt.urlHandlingStrategy=se),Je&&(Kt.routeReuseStrategy=Je),function Us(w,m){w.errorHandler&&(m.errorHandler=w.errorHandler),w.malformedUriErrorHandler&&(m.malformedUriErrorHandler=w.malformedUriErrorHandler),w.onSameUrlNavigation&&(m.onSameUrlNavigation=w.onSameUrlNavigation),w.paramsInheritanceStrategy&&(m.paramsInheritanceStrategy=w.paramsInheritanceStrategy),w.relativeLinkResolution&&(m.relativeLinkResolution=w.relativeLinkResolution),w.urlUpdateStrategy&&(m.urlUpdateStrategy=w.urlUpdateStrategy),w.canceledNavigationResolution&&(m.canceledNavigationResolution=w.canceledNavigationResolution)}(ee,Kt),ee.enableTracing&&Kt.events.subscribe(nr=>{console.group?.(`Router Event: ${nr.constructor.name}`),console.log(nr.toString()),console.log(nr),console.groupEnd?.()}),Kt},deps:[Jr,jn,l.Ye,v.zs3,v.Sil,Ii,Mr,[class Ri{},new v.FiY],[class to{},new v.FiY]]},jn,{provide:Zo,useFactory:function Xs(w){return w.routerState.root},deps:[ni]},Ua,Ca,class Uu{preload(m,h){return h().pipe(Zr(()=>(0,qe.of)(null)))}},{provide:Mr,useValue:{enableTracing:!1}}];function xi(){return new v.PXZ("Router",ni)}let Sr=(()=>{class w{constructor(h,d){}static forRoot(h,d){return{ngModule:w,providers:[ba,vi(h),{provide:Js,useFactory:Ea,deps:[[ni,new v.FiY,new v.tp0]]},{provide:Mr,useValue:d||{}},{provide:l.S$,useFactory:Lo,deps:[l.lw,[new v.tBr(l.mr),new v.FiY],Mr]},{provide:wa,useFactory:no,deps:[ni,l.EM,Mr]},{provide:vs,useExisting:d&&d.preloadingStrategy?d.preloadingStrategy:Ca},{provide:v.PXZ,multi:!0,useFactory:xi},[ro,{provide:v.ip1,multi:!0,useFactory:ea,deps:[ro]},{provide:Ha,useFactory:Zl,deps:[ro]},{provide:v.tb,multi:!0,useExisting:Ha}]]}}static forChild(h){return{ngModule:w,providers:[vi(h)]}}}return w.\u0275fac=function(h){return new(h||w)(v.LFG(Js,8),v.LFG(ni,8))},w.\u0275mod=v.oAB({type:w}),w.\u0275inj=v.cJS({}),w})();function no(w,m,h){return h.scrollOffset&&m.setOffset(h.scrollOffset),new wa(w,m,h)}function Lo(w,m,h={}){return h.useHash?new l.Do(w,m):new l.b0(w,m)}function Ea(w){return"guarded"}function vi(w){return[{provide:v.deG,multi:!0,useValue:w},{provide:Ii,multi:!0,useValue:w}]}let ro=(()=>{class w{constructor(h){this.injector=h,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new K.xQ}appInitializer(){return this.injector.get(l.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let d=null;const P=new Promise(se=>d=se),V=this.injector.get(ni),ee=this.injector.get(Mr);return"disabled"===ee.initialNavigation?(V.setUpLocationChangeListener(),d(!0)):"enabled"===ee.initialNavigation||"enabledBlocking"===ee.initialNavigation?(V.hooks.afterPreactivation=()=>this.initNavigation?(0,qe.of)(null):(this.initNavigation=!0,d(!0),this.resultOfPreactivationDone),V.initialNavigation()):d(!0),P})}bootstrapListener(h){const d=this.injector.get(Mr),P=this.injector.get(Ua),V=this.injector.get(wa),ee=this.injector.get(ni),se=this.injector.get(v.z2F);h===se.components[0]&&(("enabledNonBlocking"===d.initialNavigation||void 0===d.initialNavigation)&&ee.initialNavigation(),P.setUpPreloading(),V.init(),ee.resetRootComponentType(se.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return w.\u0275fac=function(h){return new(h||w)(v.LFG(v.zs3))},w.\u0275prov=v.Yz7({token:w,factory:w.\u0275fac}),w})();function ea(w){return w.appInitializer.bind(w)}function Zl(w){return w.bootstrapListener.bind(w)}const Ha=new v.OlP("Router Initializer")},5419:(Me,Q,x)=>{"use strict";x.d(Q,{A4:()=>gt});var l=x(5062),v=x(529),K=x(4850);const oe={80:"other",443:"other",2082:"cpanel",2083:"cpanel",2086:"whostmgr",2087:"whostmgr",2095:"webmail",2096:"webmail",9876:"unittest",9877:"unittest",9878:"unittest",9879:"unittest",frontend:"cpanel",webmail:"webmail"};class we{constructor(Oe){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=Oe.protocol;let Fe=Oe.port;Fe||(function z(ie){return/^https:$/i.test(ie)}(this.protocol)?Fe="443":function q(ie){return/^http:$/i.test(ie)}(this.protocol)&&(Fe="80")),this.domain=Oe.hostname,this.port=parseInt(Fe,10),this.path=Oe.pathname;const Vt=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?oe[2087]:/^cpanel\./.test(this.domain)?oe[2083]:/^webmail\./.test(this.domain)?oe[2095]:oe[Fe.toString()]||oe[Vt[2]]||"whostmgr",this.securityToken=Vt[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Ur=this.path.split("/");this.theme=Ur[3]}this.themePath="";let Yt=this.securityToken+"/";this.isUnprotected?Yt="/":this.isCpanel?Yt+="frontend/"+this.theme+"/":this.isWebmail?Yt+="webmail/"+this.theme+"/":this.isOther&&(Yt="/"),this.themePath=Yt,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 Z(ie){return ie&&ie.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(Oe){return this.themePath+Oe}buildFullPath(Oe){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(Oe)}buildTokenPath(Oe){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+Oe}}class j{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 Y=x(4235),ce=x.n(Y),ye=x(1305),je=x.n(ye),ke=(()=>{return(ie=ke||(ke={}))[ie.Error=0]="Error",ie[ie.Warning=1]="Warning",ie[ie.Information=2]="Information",ie[ie.Unknown=3]="Unknown",ke;var ie})();const Ge={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class ht{constructor(Oe){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={},Oe.chunk&&(this.isPaged=!0,this.record=parseInt(Oe.chunk.start,10)||0,this.page=parseInt(Oe.chunk.current,10)||0,this.pageSize=parseInt(Oe.chunk.size,10)||0,this.totalPages=parseInt(Oe.chunk.chunks,10)||0,this.totalRecords=parseInt(Oe.chunk.records,10)||0),Oe.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(Oe.filter.filtered,10)||0);const Fe=new Set(["paginate","filter"]);Object.keys(Oe).filter(Vt=>!Fe.has(Vt)).forEach(Vt=>{this.properties[Vt]=Oe[Vt]})}}class qe extends class Jt{constructor(Oe,Fe){if(this.status=0,this.messages=[],this.meta=function Ze(ie){return JSON.parse(JSON.stringify(ie))}(Ge),this.options={keepUnprocessedResponse:!1},ce()(Oe)||je()(Oe))throw new Error("The response was unexpectedly undefined or null");Fe&&(this.options=Fe),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(Oe)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(Oe){return this.messages.filter(Fe=>Fe.type===Oe)}get errors(){return this._getMessages(ke.Error)}get warnings(){return this._getMessages(ke.Warning)}get infoMessages(){return this._getMessages(ke.Information)}_hasMessages(Oe){return this.messages.filter(Fe=>Fe.type===Oe).length>0}get hasErrors(){return this._hasMessages(ke.Error)}get hasWarnings(){return this._hasMessages(ke.Warning)}get hasInfoMessages(){return this._hasMessages(ke.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(Oe){if(this.status=0,typeof Oe.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(Oe.result,10)}_parseMessages(Oe){if(!Oe.result){const Fe=[Oe.reason];Fe&&Fe.length&&Fe.forEach(Vt=>{this.messages.push({type:ke.Error,message:Vt})})}}_reduce_list_data(Oe){if("object"==typeof Oe&&!(Oe instanceof Array)){const Fe=Object.keys(Oe);if(1===Fe.length){const Vt=Oe[Fe[0]];Vt?Vt instanceof Array&&(Oe=Vt):Oe=[]}}return Oe}constructor(Oe,Fe){if(super(Oe,Fe),!Oe)throw new Error("Response object should be defined.");Oe.metadata&&(this._parseStatus(Oe.metadata),this._parseMessages(Oe.metadata),this.meta=new ht(Oe.metadata)),this.data=this._reduce_list_data(Oe.data)}}var ct=x(109),Le=x(3022);let gt=(()=>{class ie{constructor(Fe){this.http=Fe}get(Fe){const Vt=Fe.generate({verb:ct.F.GET,encoder:new Le.VN}),Yt=this.packageUrl(Vt);return this.http.get(Yt,{headers:this.packageHeaders(Vt)}).pipe((0,K.U)(this.packageResponseHandler(Yt)))}post(Fe){const Vt=Fe.generate(),Yt=this.packageUrl(Vt);return this.http.post(Yt,Vt.body,{headers:this.packageHeaders(Vt)}).pipe((0,K.U)(this.packageResponseHandler(Yt)))}packageHeaders(Fe){const Vt={};return Fe.headers.forEach(Yt=>{Vt[Yt.name]=Yt.value}),new v.WM(Vt)}packageUrl(Fe){return new we(new j).buildTokenPath(Fe.url)}packageResponseHandler(Fe){return Vt=>{const Yt=new qe(Vt);return Yt.meta.properties.url=Fe,Yt}}}return ie.\u0275fac=function(Fe){return new(Fe||ie)(l.LFG(v.eN))},ie.\u0275prov=l.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})()},348:(Me,Q,x)=>{"use strict";x.d(Q,{m:()=>q});var l=x(5062),v=x(269);const K=new l.OlP("window"),z=Z=>new v.g(Z.CLDR,Z.LEXICON);let q=(()=>{class Z{}return Z.\u0275fac=function(oe){return new(oe||Z)},Z.\u0275mod=l.oAB({type:Z}),Z.\u0275inj=l.cJS({providers:[{provide:K,useValue:window},{provide:v.g,useFactory:z,deps:[K]}],imports:[[]]}),Z})()},1781:(Me,Q,x)=>{"use strict";x.d(Q,{zr:()=>Nr,hF:()=>Sd,CQ:()=>Hu,c9:()=>Lo,k6:()=>$a,RV:()=>Ta,Qt:()=>Ga,u3:()=>Wu,gS:()=>fo,t8:()=>Bo});var l=x(5062),v=x(6895),K=x(5529),z=x(826),q=x(9054);class re{constructor(y){this.notifier=y}call(y,u){const D=new oe(y),fe=(0,q.D)(D,this.notifier);return fe&&!D.seenValue?(D.add(fe),u.subscribe(D)):D}}class oe extends z.L{constructor(y){super(y),this.seenValue=!1}notifyNext(y,u,D,fe,Xe){this.seenValue=!0,this.complete()}notifyComplete(){}}var we=x(3489),j=x(6686);const ce=new(x(2268).v)(j.o);class je{constructor(y,u){this.dueTime=y,this.scheduler=u}call(y,u){return u.subscribe(new ke(y,this.dueTime,this.scheduler))}}class ke extends we.L{constructor(y,u,D){super(y),this.dueTime=u,this.scheduler=D,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(y){this.clearDebounce(),this.lastValue=y,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Ge,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:y}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(y)}}clearDebounce(){const y=this.debouncedSubscription;null!==y&&(this.remove(y),y.unsubscribe(),this.debouncedSubscription=null)}}function Ge(f){f.debouncedNext()}class Jt{constructor(y,u){this.compare=y,this.keySelector=u}call(y,u){return u.subscribe(new ht(y,this.compare,this.keySelector))}}class ht extends we.L{constructor(y,u,D){super(y),this.keySelector=D,this.hasKey=!1,"function"==typeof u&&(this.compare=u)}compare(y,u){return y===u}_next(y){let u;try{const{keySelector:fe}=this;u=fe?fe(y):y}catch(fe){return this.destination.error(fe)}let D=!1;if(this.hasKey)try{const{compare:fe}=this;D=fe(this.key,u)}catch(fe){return this.destination.error(fe)}else this.hasKey=!0;D||(this.key=u,this.destination.next(y))}}var qe=x(2198),ct=x(5254),Le=x(2916),_t=x(6688),rn=x(4850),Rn=x(7830);function dn(f,y){return new Le.y(u=>{const D=f.length;if(0===D)return void u.complete();const fe=new Array(D);let Xe=0,cn=0;for(let Cr=0;Cr<D;Cr++){const Tr=(0,ct.D)(f[Cr]);let Do=!1;u.add(Tr.subscribe({next:oo=>{Do||(Do=!0,cn++),fe[Cr]=oo},error:oo=>u.error(oo),complete:()=>{Xe++,(Xe===D||!Do)&&(cn===D&&u.next(y?y.reduce((oo,Ql,Jl)=>(oo[Ql]=fe[Jl],oo),{}):fe),u.complete())}}))}})}let Gt=(()=>{class f{constructor(u,D){this._renderer=u,this._elementRef=D,this.onChange=fe=>{},this.onTouched=()=>{}}setProperty(u,D){this._renderer.setProperty(this._elementRef.nativeElement,u,D)}registerOnTouched(u){this.onTouched=u}registerOnChange(u){this.onChange=u}setDisabledState(u){this.setProperty("disabled",u)}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(l.Qsj),l.Y36(l.SBq))},f.\u0275dir=l.lG2({type:f}),f})(),gt=(()=>{class f extends Gt{}return f.\u0275fac=function(){let y;return function(D){return(y||(y=l.n5z(f)))(D||f)}}(),f.\u0275dir=l.lG2({type:f,features:[l.qOj]}),f})();const ie=new l.OlP("NgValueAccessor"),Vt={provide:ie,useExisting:(0,l.Gpc)(()=>Yr),multi:!0},Ur=new l.OlP("CompositionEventMode");let Yr=(()=>{class f extends Gt{constructor(u,D,fe){super(u,D),this._compositionMode=fe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Yt(){const f=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(f.toLowerCase())}())}writeValue(u){this.setProperty("value",u??"")}_handleInput(u){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(u)}_compositionStart(){this._composing=!0}_compositionEnd(u){this._composing=!1,this._compositionMode&&this.onChange(u)}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(Ur,8))},f.\u0275dir=l.lG2({type:f,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(u,D){1&u&&l.NdJ("input",function(Xe){return D._handleInput(Xe.target.value)})("blur",function(){return D.onTouched()})("compositionstart",function(){return D._compositionStart()})("compositionend",function(Xe){return D._compositionEnd(Xe.target.value)})},features:[l._Bn([Vt]),l.qOj]}),f})();const Vn=new l.OlP("NgValidators"),Xr=new l.OlP("NgAsyncValidators");function di(f){return null!=f}function dr(f){const y=(0,l.QGY)(f)?(0,ct.D)(f):f;return(0,l.CqO)(y),y}function fi(f){let y={};return f.forEach(u=>{y=null!=u?{...y,...u}:y}),0===Object.keys(y).length?null:y}function wr(f,y){return y.map(u=>u(f))}function le(f){return f.map(y=>function mr(f){return!f.validate}(y)?y:u=>y.validate(u))}function ne(f){return null!=f?function me(f){if(!f)return null;const y=f.filter(di);return 0==y.length?null:function(u){return fi(wr(u,y))}}(le(f)):null}function $(f){return null!=f?function H(f){if(!f)return null;const y=f.filter(di);return 0==y.length?null:function(u){return function gn(...f){if(1===f.length){const y=f[0];if((0,_t.k)(y))return dn(y,null);if((0,Rn.K)(y)&&Object.getPrototypeOf(y)===Object.prototype){const u=Object.keys(y);return dn(u.map(D=>y[D]),u)}}if("function"==typeof f[f.length-1]){const y=f.pop();return dn(f=1===f.length&&(0,_t.k)(f[0])?f[0]:f,null).pipe((0,rn.U)(u=>y(...u)))}return dn(f,null)}(wr(u,y).map(dr)).pipe((0,rn.U)(fi))}}(le(f)):null}function Ce(f,y){return null===f?[y]:Array.isArray(f)?[...f,y]:[f,y]}function $e(f){return f?Array.isArray(f)?f:[f]:[]}function mt(f,y){return Array.isArray(f)?f.includes(y):f===y}function it(f,y){const u=$e(y);return $e(f).forEach(fe=>{mt(u,fe)||u.push(fe)}),u}function Pt(f,y){return $e(y).filter(u=>!mt(f,u))}class Dt{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(y){this._rawValidators=y||[],this._composedValidatorFn=ne(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=$(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(y=>y()),this._onDestroyCallbacks=[]}reset(y){this.control&&this.control.reset(y)}hasError(y,u){return!!this.control&&this.control.hasError(y,u)}getError(y,u){return this.control?this.control.getError(y,u):null}}class Mt extends Dt{get formDirective(){return null}get path(){return null}}class on extends Dt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let Qt=(()=>{class f extends class vt{constructor(y){this._cd=y}is(y){return"submitted"===y?!!this._cd?.submitted:!!this._cd?.control?.[y]}}{constructor(u){super(u)}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(on,2))},f.\u0275dir=l.lG2({type:f,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(u,D){2&u&&l.ekj("ng-untouched",D.is("untouched"))("ng-touched",D.is("touched"))("ng-pristine",D.is("pristine"))("ng-dirty",D.is("dirty"))("ng-valid",D.is("valid"))("ng-invalid",D.is("invalid"))("ng-pending",D.is("pending"))},features:[l.qOj]}),f})();function yt(f,y){(function qt(f,y){const u=function be(f){return f._rawValidators}(f);null!==y.validator?f.setValidators(Ce(u,y.validator)):"function"==typeof u&&f.setValidators([u]);const D=function Se(f){return f._rawAsyncValidators}(f);null!==y.asyncValidator?f.setAsyncValidators(Ce(D,y.asyncValidator)):"function"==typeof D&&f.setAsyncValidators([D]);const fe=()=>f.updateValueAndValidity();De(y._rawValidators,fe),De(y._rawAsyncValidators,fe)})(f,y),y.valueAccessor.writeValue(f.value),function Ae(f,y){y.valueAccessor.registerOnChange(u=>{f._pendingValue=u,f._pendingChange=!0,f._pendingDirty=!0,"change"===f.updateOn&&Ve(f,y)})}(f,y),function ft(f,y){const u=(D,fe)=>{y.valueAccessor.writeValue(D),fe&&y.viewToModelUpdate(D)};f.registerOnChange(u),y._registerOnDestroy(()=>{f._unregisterOnChange(u)})}(f,y),function Qe(f,y){y.valueAccessor.registerOnTouched(()=>{f._pendingTouched=!0,"blur"===f.updateOn&&f._pendingChange&&Ve(f,y),"submit"!==f.updateOn&&f.markAsTouched()})}(f,y),function wt(f,y){if(y.valueAccessor.setDisabledState){const u=D=>{y.valueAccessor.setDisabledState(D)};f.registerOnDisabledChange(u),y._registerOnDestroy(()=>{f._unregisterOnDisabledChange(u)})}}(f,y)}function De(f,y){f.forEach(u=>{u.registerOnValidatorChange&&u.registerOnValidatorChange(y)})}function Ve(f,y){f._pendingDirty&&f.markAsDirty(),f.setValue(f._pendingValue,{emitModelToViewChange:!1}),y.viewToModelUpdate(f._pendingValue),f._pendingChange=!1}function Jr(f,y){const u=f.indexOf(y);u>-1&&f.splice(u,1)}const kr="VALID",hr="INVALID",O="PENDING",U="DISABLED";function te(f){return(nt(f)?f.validators:f)||null}function Ue(f){return Array.isArray(f)?ne(f):f||null}function Ne(f,y){return(nt(y)?y.asyncValidators:f)||null}function Ke(f){return Array.isArray(f)?$(f):f||null}function nt(f){return null!=f&&!Array.isArray(f)&&"object"==typeof f}const _n=f=>f instanceof hi;function Yn(f){return(f=>f instanceof _r)(f)?f.value:f.getRawValue()}function Ar(f,y){const u=_n(f),D=f.controls;if(!(u?Object.keys(D):D).length)throw new l.vHH(1e3,"");if(!D[y])throw new l.vHH(1001,"")}function pr(f,y){_n(f),f._forEachChild((D,fe)=>{if(void 0===y[fe])throw new l.vHH(1002,"")})}class qn{constructor(y,u){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=y,this._rawAsyncValidators=u,this._composedValidatorFn=Ue(this._rawValidators),this._composedAsyncValidatorFn=Ke(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(y){this._rawValidators=this._composedValidatorFn=y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(y){this._rawAsyncValidators=this._composedAsyncValidatorFn=y}get parent(){return this._parent}get valid(){return this.status===kr}get invalid(){return this.status===hr}get pending(){return this.status==O}get disabled(){return this.status===U}get enabled(){return this.status!==U}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(y){this._rawValidators=y,this._composedValidatorFn=Ue(y)}setAsyncValidators(y){this._rawAsyncValidators=y,this._composedAsyncValidatorFn=Ke(y)}addValidators(y){this.setValidators(it(y,this._rawValidators))}addAsyncValidators(y){this.setAsyncValidators(it(y,this._rawAsyncValidators))}removeValidators(y){this.setValidators(Pt(y,this._rawValidators))}removeAsyncValidators(y){this.setAsyncValidators(Pt(y,this._rawAsyncValidators))}hasValidator(y){return mt(this._rawValidators,y)}hasAsyncValidator(y){return mt(this._rawAsyncValidators,y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(y={}){this.touched=!0,this._parent&&!y.onlySelf&&this._parent.markAsTouched(y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(y=>y.markAllAsTouched())}markAsUntouched(y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(u=>{u.markAsUntouched({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}markAsDirty(y={}){this.pristine=!1,this._parent&&!y.onlySelf&&this._parent.markAsDirty(y)}markAsPristine(y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(u=>{u.markAsPristine({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}markAsPending(y={}){this.status=O,!1!==y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!y.onlySelf&&this._parent.markAsPending(y)}disable(y={}){const u=this._parentMarkedDirty(y.onlySelf);this.status=U,this.errors=null,this._forEachChild(D=>{D.disable({...y,onlySelf:!0})}),this._updateValue(),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...y,skipPristineCheck:u}),this._onDisabledChange.forEach(D=>D(!0))}enable(y={}){const u=this._parentMarkedDirty(y.onlySelf);this.status=kr,this._forEachChild(D=>{D.enable({...y,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent}),this._updateAncestors({...y,skipPristineCheck:u}),this._onDisabledChange.forEach(D=>D(!1))}_updateAncestors(y){this._parent&&!y.onlySelf&&(this._parent.updateValueAndValidity(y),y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(y){this._parent=y}updateValueAndValidity(y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===kr||this.status===O)&&this._runAsyncValidator(y.emitEvent)),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!y.onlySelf&&this._parent.updateValueAndValidity(y)}_updateTreeValidity(y={emitEvent:!0}){this._forEachChild(u=>u._updateTreeValidity(y)),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?U:kr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(y){if(this.asyncValidator){this.status=O,this._hasOwnPendingAsyncValidator=!0;const u=dr(this.asyncValidator(this));this._asyncValidationSubscription=u.subscribe(D=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(D,{emitEvent:y})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(y,u={}){this.errors=y,this._updateControlsErrors(!1!==u.emitEvent)}get(y){return function L(f,y,u){if(null==y||(Array.isArray(y)||(y=y.split(u)),Array.isArray(y)&&0===y.length))return null;let D=f;return y.forEach(fe=>{D=_n(D)?D.controls.hasOwnProperty(fe)?D.controls[fe]:null:(f=>f instanceof pi)(D)&&D.at(fe)||null}),D}(this,y,".")}getError(y,u){const D=u?this.get(u):this;return D&&D.errors?D.errors[y]:null}hasError(y,u){return!!this.getError(y,u)}get root(){let y=this;for(;y._parent;)y=y._parent;return y}_updateControlsErrors(y){this.status=this._calculateStatus(),y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(y)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?U:this.errors?hr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(O)?O:this._anyControlsHaveStatus(hr)?hr:kr}_anyControlsHaveStatus(y){return this._anyControls(u=>u.status===y)}_anyControlsDirty(){return this._anyControls(y=>y.dirty)}_anyControlsTouched(){return this._anyControls(y=>y.touched)}_updatePristine(y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}_updateTouched(y={}){this.touched=this._anyControlsTouched(),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}_isBoxedValue(y){return"object"==typeof y&&null!==y&&2===Object.keys(y).length&&"value"in y&&"disabled"in y}_registerOnCollectionChange(y){this._onCollectionChange=y}_setUpdateStrategy(y){nt(y)&&null!=y.updateOn&&(this._updateOn=y.updateOn)}_parentMarkedDirty(y){return!y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class _r extends qn{constructor(y=null,u,D){super(te(u),Ne(D,u)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(y),this._setUpdateStrategy(u),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nt(u)&&u.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(y)?y.value:y)}setValue(y,u={}){this.value=this._pendingValue=y,this._onChange.length&&!1!==u.emitModelToViewChange&&this._onChange.forEach(D=>D(this.value,!1!==u.emitViewToModelChange)),this.updateValueAndValidity(u)}patchValue(y,u={}){this.setValue(y,u)}reset(y=this.defaultValue,u={}){this._applyFormState(y),this.markAsPristine(u),this.markAsUntouched(u),this.setValue(this.value,u),this._pendingChange=!1}_updateValue(){}_anyControls(y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(y){this._onChange.push(y)}_unregisterOnChange(y){Jr(this._onChange,y)}registerOnDisabledChange(y){this._onDisabledChange.push(y)}_unregisterOnDisabledChange(y){Jr(this._onDisabledChange,y)}_forEachChild(y){}_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(y){this._isBoxedValue(y)?(this.value=this._pendingValue=y.value,y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=y}}class hi extends qn{constructor(y,u,D){super(te(u),Ne(D,u)),this.controls=y,this._initObservables(),this._setUpdateStrategy(u),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(y,u){return this.controls[y]?this.controls[y]:(this.controls[y]=u,u.setParent(this),u._registerOnCollectionChange(this._onCollectionChange),u)}addControl(y,u,D={}){this.registerControl(y,u),this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}removeControl(y,u={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],this.updateValueAndValidity({emitEvent:u.emitEvent}),this._onCollectionChange()}setControl(y,u,D={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],u&&this.registerControl(y,u),this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}contains(y){return this.controls.hasOwnProperty(y)&&this.controls[y].enabled}setValue(y,u={}){pr(this,y),Object.keys(y).forEach(D=>{Ar(this,D),this.controls[D].setValue(y[D],{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u)}patchValue(y,u={}){null!=y&&(Object.keys(y).forEach(D=>{this.controls[D]&&this.controls[D].patchValue(y[D],{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u))}reset(y={},u={}){this._forEachChild((D,fe)=>{D.reset(y[fe],{onlySelf:!0,emitEvent:u.emitEvent})}),this._updatePristine(u),this._updateTouched(u),this.updateValueAndValidity(u)}getRawValue(){return this._reduceChildren({},(y,u,D)=>(y[D]=Yn(u),y))}_syncPendingControls(){let y=this._reduceChildren(!1,(u,D)=>!!D._syncPendingControls()||u);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){Object.keys(this.controls).forEach(u=>{const D=this.controls[u];D&&y(D,u)})}_setUpControls(){this._forEachChild(y=>{y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(y){for(const u of Object.keys(this.controls)){const D=this.controls[u];if(this.contains(u)&&y(D))return!0}return!1}_reduceValue(){return this._reduceChildren({},(y,u,D)=>((u.enabled||this.disabled)&&(y[D]=u.value),y))}_reduceChildren(y,u){let D=y;return this._forEachChild((fe,Xe)=>{D=u(D,fe,Xe)}),D}_allControlsDisabled(){for(const y of Object.keys(this.controls))if(this.controls[y].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class pi extends qn{constructor(y,u,D){super(te(u),Ne(D,u)),this.controls=y,this._initObservables(),this._setUpdateStrategy(u),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(y){return this.controls[y]}push(y,u={}){this.controls.push(y),this._registerControl(y),this.updateValueAndValidity({emitEvent:u.emitEvent}),this._onCollectionChange()}insert(y,u,D={}){this.controls.splice(y,0,u),this._registerControl(u),this.updateValueAndValidity({emitEvent:D.emitEvent})}removeAt(y,u={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),this.controls.splice(y,1),this.updateValueAndValidity({emitEvent:u.emitEvent})}setControl(y,u,D={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),this.controls.splice(y,1),u&&(this.controls.splice(y,0,u),this._registerControl(u)),this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(y,u={}){pr(this,y),y.forEach((D,fe)=>{Ar(this,fe),this.at(fe).setValue(D,{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u)}patchValue(y,u={}){null!=y&&(y.forEach((D,fe)=>{this.at(fe)&&this.at(fe).patchValue(D,{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u))}reset(y=[],u={}){this._forEachChild((D,fe)=>{D.reset(y[fe],{onlySelf:!0,emitEvent:u.emitEvent})}),this._updatePristine(u),this._updateTouched(u),this.updateValueAndValidity(u)}getRawValue(){return this.controls.map(y=>Yn(y))}clear(y={}){this.controls.length<1||(this._forEachChild(u=>u._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:y.emitEvent}))}_syncPendingControls(){let y=this.controls.reduce((u,D)=>!!D._syncPendingControls()||u,!1);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){this.controls.forEach((u,D)=>{y(u,D)})}_updateValue(){this.value=this.controls.filter(y=>y.enabled||this.disabled).map(y=>y.value)}_anyControls(y){return this.controls.some(u=>u.enabled&&y(u))}_setUpControls(){this._forEachChild(y=>this._registerControl(y))}_allControlsDisabled(){for(const y of this.controls)if(y.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(y){y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)}}const cs={provide:on,useExisting:(0,l.Gpc)(()=>_o)},mo=(()=>Promise.resolve(null))();let _o=(()=>{class f extends on{constructor(u,D,fe,Xe,cn){super(),this._changeDetectorRef=cn,this.control=new _r,this._registered=!1,this.update=new l.vpe,this._parent=u,this._setValidators(D),this._setAsyncValidators(fe),this.valueAccessor=function Or(f,y){if(!y)return null;let u,D,fe;return Array.isArray(y),y.forEach(Xe=>{Xe.constructor===Yr?u=Xe:function Mn(f){return Object.getPrototypeOf(f.constructor)===gt}(Xe)?D=Xe:fe=Xe}),fe||D||u||null}(0,Xe)}ngOnChanges(u){if(this._checkForErrors(),!this._registered||"name"in u){if(this._registered&&(this._checkName(),this.formDirective)){const D=u.name.previousValue;this.formDirective.removeControl({name:D,path:this._getPath(D)})}this._setUpControl()}"isDisabled"in u&&this._updateDisabled(u),function St(f,y){if(!f.hasOwnProperty("model"))return!1;const u=f.model;return!!u.isFirstChange()||!Object.is(y,u.currentValue)}(u,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(u){this.viewModel=u,this.update.emit(u)}_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(){yt(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(u){mo.then(()=>{this.control.setValue(u,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(u){const D=u.isDisabled.currentValue,fe=""===D||D&&"false"!==D;mo.then(()=>{fe&&!this.control.disabled?this.control.disable():!fe&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(u){return this._parent?function Tt(f,y){return[...y.path,f]}(u,this._parent):[u]}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(Mt,9),l.Y36(Vn,10),l.Y36(Xr,10),l.Y36(ie,10),l.Y36(l.sBO,8))},f.\u0275dir=l.lG2({type:f,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([cs]),l.qOj,l.TTD]}),f})(),Ro=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({}),f})(),lt=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[[Ro]]}),f})(),$n=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[lt]}),f})();var gi=x(348),uo=x(269),mi=x(7340),yl=x(8746);const I=function(f,y){return{"pull-left":f,"float-left":y}},g=function(f,y){return{"pull-right":f,"float-right":y}},_=function(f,y){return{disabled:f,currentPage:y}};function E(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"li",11)(1,"a",12),l.NdJ("click",function(fe){return l.CHM(u),l.oxw().selectPage(1,fe)}),l.GkF(2,13),l.qZA()()}if(2&f){const u=l.oxw(),D=l.MAs(13);l.ekj("disabled",u.noPrevious()||u.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",u.customFirstTemplate||D)("ngTemplateOutletContext",l.WLB(4,_,u.noPrevious()||u.disabled,u.page))}}function N(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"li",14)(1,"a",12),l.NdJ("click",function(fe){l.CHM(u);const Xe=l.oxw();return Xe.selectPage(Xe.page-1,fe)}),l.GkF(2,13),l.qZA()()}if(2&f){const u=l.oxw(),D=l.MAs(11);l.ekj("disabled",u.noPrevious()||u.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",u.customPreviousTemplate||D)("ngTemplateOutletContext",l.WLB(4,_,u.noPrevious()||u.disabled,u.page))}}const W=function(f,y,u){return{disabled:f,$implicit:y,currentPage:u}};function he(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"li",15)(1,"a",12),l.NdJ("click",function(fe){const cn=l.CHM(u).$implicit;return l.oxw().selectPage(cn.number,fe)}),l.GkF(2,13),l.qZA()()}if(2&f){const u=y.$implicit,D=l.oxw(),fe=l.MAs(7);l.ekj("active",u.active)("disabled",D.disabled&&!u.active),l.xp6(2),l.Q6J("ngTemplateOutlet",D.customPageTemplate||fe)("ngTemplateOutletContext",l.kEZ(6,W,D.disabled,u,D.page))}}function ae(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"li",16)(1,"a",12),l.NdJ("click",function(fe){l.CHM(u);const Xe=l.oxw();return Xe.selectPage(Xe.page+1,fe)}),l.GkF(2,13),l.qZA()()}if(2&f){const u=l.oxw(),D=l.MAs(9);l.ekj("disabled",u.noNext()||u.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",u.customNextTemplate||D)("ngTemplateOutletContext",l.WLB(4,_,u.noNext()||u.disabled,u.page))}}function Pe(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"li",17)(1,"a",12),l.NdJ("click",function(fe){l.CHM(u);const Xe=l.oxw();return Xe.selectPage(Xe.totalPages,fe)}),l.GkF(2,13),l.qZA()()}if(2&f){const u=l.oxw(),D=l.MAs(15);l.ekj("disabled",u.noNext()||u.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",u.customLastTemplate||D)("ngTemplateOutletContext",l.WLB(4,_,u.noNext()||u.disabled,u.page))}}function Ye(f,y){1&f&&l._uU(0),2&f&&l.Oqu(y.$implicit.text)}function Ut(f,y){if(1&f&&l._uU(0),2&f){const u=l.oxw();l.Oqu(u.getText("next"))}}function tn(f,y){if(1&f&&l._uU(0),2&f){const u=l.oxw();l.Oqu(u.getText("previous"))}}function sn(f,y){if(1&f&&l._uU(0),2&f){const u=l.oxw();l.Oqu(u.getText("first"))}}function vn(f,y){if(1&f&&l._uU(0),2&f){const u=l.oxw();l.Oqu(u.getText("last"))}}let ln=(()=>{class f{constructor(){this.main={itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"\xab Previous",nextText:"Next \xbb",pageBtnClass:"",align:!0}}}return f.\u0275fac=function(u){return new(u||f)},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const On={provide:ie,useExisting:(0,l.Gpc)(()=>ar),multi:!0};let ar=(()=>{class f{constructor(u,D,fe){this.elementRef=u,this.changeDetection=fe,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="\xab Previous",this.nextText="Next \xbb",this.lastText="Last",this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new l.vpe,this.pageChanged=new l.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=15,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=u,this.config||this.configureOptions(Object.assign({},D.main,D.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(u){this._itemsPerPage=u,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(u){this._totalItems=u,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(u){this._totalPages=u,this.numPages.emit(u),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(u){const D=this._page;this._page=u>this.totalPages?this.totalPages:u||1,this.changeDetection.markForCheck(),!(D===this._page||typeof D>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(u){this.config=Object.assign({},u)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(u){this.page=u,this.pages=this.getPages(this.page,this.totalPages)}getText(u){return this[`${u}Text`]||this.config[`${u}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(u){this.onChange=u}registerOnTouched(u){this.onTouched=u}selectPage(u,D){D&&D.preventDefault(),this.disabled||(D&&D.target&&D.target.blur(),this.writeValue(u),this.onChange(this.page))}makePage(u,D,fe){return{text:D,number:u,active:fe}}getPages(u,D){const fe=[];let Xe=1,cn=D;const Cr=typeof this.maxSize<"u"&&this.maxSize<D;Cr&&this.maxSize&&(this.rotate?(Xe=Math.max(u-Math.floor(this.maxSize/2),1),cn=Xe+this.maxSize-1,cn>D&&(cn=D,Xe=cn-this.maxSize+1)):(Xe=(Math.ceil(u/this.maxSize)-1)*this.maxSize+1,cn=Math.min(Xe+this.maxSize-1,D)));for(let Tr=Xe;Tr<=cn;Tr++){const Do=this.makePage(Tr,Tr.toString(),Tr===u);fe.push(Do)}if(Cr&&!this.rotate){if(Xe>1){const Tr=this.makePage(Xe-1,"...",!1);fe.unshift(Tr)}if(cn<D){const Tr=this.makePage(cn+1,"...",!1);fe.push(Tr)}}return fe}calculateTotalPages(){const u=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(u||0,1)}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(l.SBq),l.Y36(ln),l.Y36(l.sBO))},f.\u0275cmp=l.Xpm({type:f,selectors:[["pager"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[l._Bn([On])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(u,D){1&u&&(l.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),l.NdJ("click",function(Xe){return D.selectPage(D.page-1,Xe)}),l._uU(3),l.qZA()(),l.TgZ(4,"li",1)(5,"a",2),l.NdJ("click",function(Xe){return D.selectPage(D.page+1,Xe)}),l._uU(6),l.qZA()()()),2&u&&(l.xp6(1),l.Tol(D.pageBtnClass),l.ekj("disabled",D.noPrevious())("previous",D.align),l.Q6J("ngClass",l.WLB(18,I,D.align,D.align)),l.xp6(2),l.Oqu(D.getText("previous")),l.xp6(1),l.Tol(D.pageBtnClass),l.ekj("disabled",D.noNext())("next",D.align),l.Q6J("ngClass",l.WLB(21,g,D.align,D.align)),l.xp6(2),l.Oqu(D.getText("next")))},directives:[v.mk],encapsulation:2}),f})();const Wr={provide:ie,useExisting:(0,l.Gpc)(()=>Vr),multi:!0};let Vr=(()=>{class f{constructor(u,D,fe){this.elementRef=u,this.changeDetection=fe,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new l.vpe,this.pageChanged=new l.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=10,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=u,this.config||this.configureOptions(D.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(u){this._itemsPerPage=u,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(u){this._totalItems=u,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(u){this._totalPages=u,this.numPages.emit(u),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(u){const D=this._page;this._page=u>this.totalPages?this.totalPages:u||1,this.changeDetection.markForCheck(),!(D===this._page||typeof D>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(u){this.config=Object.assign({},u)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(u){this.page=u,this.pages=this.getPages(this.page,this.totalPages)}getText(u){return this[`${u}Text`]||this.config[`${u}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(u){this.onChange=u}registerOnTouched(u){this.onTouched=u}selectPage(u,D){D&&D.preventDefault(),this.disabled||(D&&D.target&&D.target.blur(),this.writeValue(u),this.onChange(this.page))}makePage(u,D,fe){return{text:D,number:u,active:fe}}getPages(u,D){const fe=[];let Xe=1,cn=D;const Cr=typeof this.maxSize<"u"&&this.maxSize<D;Cr&&this.maxSize&&(this.rotate?(Xe=Math.max(u-Math.floor(this.maxSize/2),1),cn=Xe+this.maxSize-1,cn>D&&(cn=D,Xe=cn-this.maxSize+1)):(Xe=(Math.ceil(u/this.maxSize)-1)*this.maxSize+1,cn=Math.min(Xe+this.maxSize-1,D)));for(let Tr=Xe;Tr<=cn;Tr++){const Do=this.makePage(Tr,Tr.toString(),Tr===u);fe.push(Do)}if(Cr&&!this.rotate){if(Xe>1){const Tr=this.makePage(Xe-1,"...",!1);fe.unshift(Tr)}if(cn<D){const Tr=this.makePage(cn+1,"...",!1);fe.push(Tr)}}return fe}calculateTotalPages(){const u=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(u||0,1)}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(l.SBq),l.Y36(ln),l.Y36(l.sBO))},f.\u0275cmp=l.Xpm({type:f,selectors:[["pagination"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",customPageTemplate:"customPageTemplate",customNextTemplate:"customNextTemplate",customPreviousTemplate:"customPreviousTemplate",customFirstTemplate:"customFirstTemplate",customLastTemplate:"customLastTemplate",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[l._Bn([Wr])],decls:16,vars:6,consts:[[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],["defaultPageTemplate",""],["defaultNextTemplate",""],["defaultPreviousTemplate",""],["defaultFirstTemplate",""],["defaultLastTemplate",""],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(u,D){1&u&&(l.TgZ(0,"ul",0),l.YNc(1,E,3,7,"li",1),l.YNc(2,N,3,7,"li",2),l.YNc(3,he,3,10,"li",3),l.YNc(4,ae,3,7,"li",4),l.YNc(5,Pe,3,7,"li",5),l.qZA(),l.YNc(6,Ye,1,1,"ng-template",null,6,l.W1O),l.YNc(8,Ut,1,1,"ng-template",null,7,l.W1O),l.YNc(10,tn,1,1,"ng-template",null,8,l.W1O),l.YNc(12,sn,1,1,"ng-template",null,9,l.W1O),l.YNc(14,vn,1,1,"ng-template",null,10,l.W1O)),2&u&&(l.Q6J("ngClass",D.classMap),l.xp6(1),l.Q6J("ngIf",D.boundaryLinks),l.xp6(1),l.Q6J("ngIf",D.directionLinks),l.xp6(1),l.Q6J("ngForOf",D.pages),l.xp6(1),l.Q6J("ngIf",D.directionLinks),l.xp6(1),l.Q6J("ngIf",D.boundaryLinks))},directives:[v.mk,v.O5,v.tP,v.sg],encapsulation:2}),f})(),ai=(()=>{class f{static forRoot(){return{ngModule:f,providers:[]}}}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[[v.ez]]}),f})();function Wi(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"button",9),l.NdJ("click",function(){return l.CHM(u),l.oxw(2).fireClose()}),l.TgZ(1,"span"),l._uU(2,"\xd7"),l.qZA()()}if(2&f){const u=l.oxw(2);l.Q6J("id",u.closeButtonID)("title",u.closeLabel),l.uIk("aria-label",u.closeLabel),l.xp6(1),l.uIk("aria-hidden",!0)}}function lr(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(u),l.oxw(2).fireToggleMore()}),l._uU(1),l.qZA()}if(2&f){const u=l.oxw(2);l.Q6J("id",u.moreButtonID),l.xp6(1),l.hij(" ",u.moreLabel," ")}}function to(f,y){if(1&f&&(l.TgZ(0,"strong",11),l._uU(1),l.qZA()),2&f){const u=l.oxw(2);l.xp6(1),l.Oqu(u.label)}}function ns(f,y){if(1&f&&(l.TgZ(0,"span",12),l._uU(1),l.qZA()),2&f){const u=l.oxw(2);l.Q6J("id",u.textMessageID),l.xp6(1),l.hij(" ",u.message," ")}}function yi(f,y){if(1&f&&(l.TgZ(0,"li")(1,"span",12),l._uU(2),l.qZA()()),2&f){const u=y.$implicit,D=y.index,fe=l.oxw(3);l.xp6(1),l.s9C("id",fe.textListID+"_"+D),l.xp6(1),l.hij(" ",u," ")}}function Ii(f,y){if(1&f&&(l.TgZ(0,"ul",13),l.YNc(1,yi,3,2,"li",14),l.qZA()),2&f){const u=l.oxw(2);l.xp6(1),l.Q6J("ngForOf",u.alert.list)}}function qr(f,y){if(1&f&&(l.TgZ(0,"div",1),l.YNc(1,Wi,3,4,"button",2),l.YNc(2,lr,2,2,"button",3),l._UZ(3,"span"),l.TgZ(4,"div",4),l.YNc(5,to,2,1,"strong",5),l.TgZ(6,"span",6),l.YNc(7,ns,2,2,"span",7),l.qZA(),l.YNc(8,Ii,2,1,"ul",8),l.qZA()()),2&f){const u=l.oxw();l.Gre("alert alert-",u.type," ng-hide"),l.Q6J("@openClose",u.animationClass),l.xp6(1),l.Q6J("ngIf",u.showCloseButton),l.xp6(1),l.Q6J("ngIf",u.showMoreButton),l.xp6(1),l.Tol(u.icon),l.uIk("aria-hidden",!0),l.xp6(2),l.Q6J("ngIf",u.hasLabel),l.xp6(2),l.Q6J("ngIf",u.message),l.xp6(1),l.Q6J("ngIf",u.alert&&u.alert.list&&u.alert.list.length)}}function Ri(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"div",6)(1,"cp-alert",7),l.NdJ("close",function(){const Xe=l.CHM(u).$implicit;return l.oxw().alertClosed(Xe)}),l.qZA()()}if(2&f){const u=y.$implicit;l.xp6(1),l.Q6J("alert",u)}}function ms(f,y){if(1&f&&l._UZ(0,"div",8),2&f){const u=l.oxw();l.Q6J("ngClass",u.positionClasses)}}const Qs=["searchInput"];function vl(f,y){if(1&f&&(l.TgZ(0,"span",6),l._uU(1),l.qZA()),2&f){const u=l.oxw();l.xp6(1),l.Oqu(u.clearIconLabel)}}function wa(f,y){if(1&f){const u=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){const Xe=l.CHM(u).$implicit;return l.oxw().onOptionClicked(Xe)}),l.qZA()}if(2&f){const u=y.$implicit,D=l.oxw();l.Q6J("disabled",D.disabled)("selected",D.isOptionSelected(u))("value",u)}}function li(f,y){1&f&&l._uU(0," >\n")}function Mr(f,y){1&f&&l._uU(0," <\n")}function Js(f,y){1&f&&l._uU(0," >>\n")}function ba(f,y){1&f&&l._uU(0," <<\n")}class xi{constructor(y,u,D=xi.defaultOptions){this._message=y,this._type=u;const fe=D.id?D.id:Math.random().toString(36).substr(2,9);this._id=fe,this._closable=D.isCloseable??!0,this._autoClosePeriod=D.autoClosePeriod,this._list=D.list,this._showMore=D.showMore||xi.defaultShowMore,this._ts=D.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(y){const{message:u,type:D,...fe}=y;return new xi(u,D,fe)}}xi.defaultShowMore=!1,xi.defaultAutoClosePeriod=0,xi.defaultOptions={autoClosePeriod:xi.defaultAutoClosePeriod,list:[]};var Sr=(()=>{return(f=Sr||(Sr={}))[f.error=0]="error",f[f.success=1]="success",f[f.warning=2]="warning",f[f.information=3]="information",Sr;var f})(),no=(()=>{return(f=no||(no={})).add="add",f.remove="remove",f.clear="clear",no;var f})();let Lo=(()=>{class f{constructor(){this._alertEventsSource=new K.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(u,D=f.defaultGroup){this._alerts[D]||(this._alerts[D]=[]);const fe=u instanceof xi?u:xi.makeAlert(u);if(this.list(D).push(fe),this._alertEventsSource.next({type:no.add,group:D,alert:fe}),(0,l.X6Q)())switch(fe.type){case Sr.error:console.error(fe.message,fe);break;case Sr.warning:console.warn(fe.message,fe);break;default:console.log(fe.message,fe)}return fe}success(u,D=f.defaultGroup){return this.add(new xi(u,Sr.success,f.defaultSuccessOptions),D)}error(u,D=f.defaultGroup){return this.add({message:u,type:Sr.error},D)}info(u,D=f.defaultGroup){return this.add({message:u,type:Sr.information},D)}warn(u,D=f.defaultGroup){return this.add({message:u,type:Sr.warning},D)}removeById(u,D=f.defaultGroup){const fe=this.list(D),Xe=fe.findIndex(cn=>cn.id===u,0);if(-1!==Xe){const cn=fe[Xe];fe.splice(Xe,1),this._alertEventsSource.next({type:no.remove,group:D,alert:cn})}}clear(u=f.defaultGroup){this._alerts[u]=[],this._alertEventsSource.next({type:no.clear,group:u})}list(u=f.defaultGroup){return null==this._alerts[u]&&(this._alerts[u]=[]),this._alerts[u]}}return f.defaultGroup="__DEFAULT__",f.defaultSuccessOptions={autoClosePeriod:1e4},f.\u0275fac=function(u){return new(u||f)},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();var vi=(()=>{return(f=vi||(vi={})).inline="inline",f.topLeft="top-left",f.topMiddle="top-middle",f.topRight="top-right",f.bottomLeft="bottom-left",f.bottomMiddle="bottom-middle",f.bottomRight="bottom-right",f.middleLeft="middle-left",f.middleMiddle="middle-middle",f.middleRight="middle-right",vi;var f})();const Us=vi.topRight,Xs=vi.topLeft;let Nr=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[[v.ez]]}),f})();var qi=(()=>{return(f=qi||(qi={})).new="new",f.closed="closed",f.open="open",qi;var f})();let Ci=(()=>{class f{constructor(u){this.locale=u,this.close=new l.vpe,this.toggleMore=new l.vpe,this.animationClass=qi.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 Sr.success:this.label=this.locale.maketext("Success:");break;case Sr.error:this.label=this.locale.maketext("Error:");break;case Sr.information:this.label=this.locale.maketext("Information:");break;case Sr.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=qi.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case Sr.error:return"type-icon fas fa-times-circle";case Sr.warning:return"type-icon fas fa-exclamation-triangle";case Sr.information:return"type-icon fas fa-info-circle";case Sr.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Sr.error:return"danger";case Sr.warning:return"warning";case Sr.information:return"info";case Sr.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=qi.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const u=this.label;return null!==u&&""!==u}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(...u){return u.join("_")}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(uo.g))},f.\u0275cmp=l.Xpm({type:f,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"id","title","click"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"id","click"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(u,D){1&u&&l.YNc(0,qr,9,13,"div",0),2&u&&l.Q6J("ngIf",!D.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:[(0,mi.X$)("openClose",[(0,mi.SB)(qi.new,(0,mi.oB)({opacity:0})),(0,mi.SB)(qi.open,(0,mi.oB)({opacity:1})),(0,mi.SB)(qi.closed,(0,mi.oB)({opacity:0,transform:"translateX(25%)"})),(0,mi.eR)(`${qi.open} => ${qi.closed}`,[(0,mi.jt)("0.25s")]),(0,mi.eR)(`${qi.new} => ${qi.open}`,[(0,mi.jt)("0.25s")]),(0,mi.eR)(`${qi.closed} => ${qi.open}`,[(0,mi.jt)("0.25s")])])]}}),f})(),El=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[[v.ez,yl.PW,gi.m]]}),f})(),io=(()=>{class f{constructor(u){this.locale=u}get position(){return this.locale.isLtr?Us:Xs}}return f.\u0275fac=function(u){return new(u||f)(l.LFG(uo.g))},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),Sd=(()=>{class f{constructor(u,D){this._alertService=u,this._positionService=D,this.alerts=this.alerts?this.alerts:[]}set position(u){this._position=((f,y=vi.topRight)=>{if(f){const u=(f=>{const y=Object.keys(vi),D=Object.values(vi).indexOf(f);return-1!==D?y[D]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(f);if(u)return vi[u]}return y})(u)}get position(){return this._position.toString()}alertClosed(u){this._alertService.removeById(u.id,this.group)}ngOnInit(){this.group||(this.group=Lo.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(D=>this._addAlert(D)),this._groupEvents=this._alertService.alertEvents.pipe((0,qe.h)(D=>D.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(u){return this.alerts.findIndex(D=>D.id===u)}_addAlert(u){return this.alerts.push(u),this.alerts}_removeAlert(u){const D=this._findAlertIndexById(u.id);return D>-1&&(this.alerts.splice(D,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(u){switch(u.type){case no.add:this._addAlert(u.alert);break;case no.clear:this._clearAlerts();break;case no.remove:this._removeAlert(u.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?f.positionPrefix+vi.inline.toString():f.positionPrefix+this.position.toString()}}return f.positionPrefix="position-",f.\u0275fac=function(u){return new(u||f)(l.Y36(Lo),l.Y36(io))},f.\u0275cmp=l.Xpm({type:f,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[[1,"alert-list-container",3,"ngClass"],["container",""],[1,"alert-list"],["list",""],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"alert","close"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(u,D){1&u&&(l.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),l.YNc(5,Ri,2,1,"div",4),l.qZA()(),l.YNc(6,ms,1,1,"div",5),l.qZA()),2&u&&(l.xp6(1),l.Q6J("ngClass",D.positionClasses),l.xp6(4),l.Q6J("ngForOf",D.alerts),l.xp6(1),l.Q6J("ngIf",D.hasAlerts))},directives:[Ci,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}}"]}),f})(),Hu=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[[v.ez,El]]}),f})(),fo=(()=>{class f{constructor(u){this.locale=u,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new l.vpe,this._searchSubject=new K.xQ,this._unsubscribe=new K.xQ,delete this.label,delete this.placeholder}set value(u){this._value=u,this._searchSubject.next(u)}get value(){return this._value}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe(function Z(f){return y=>y.lift(new re(f))}(this._unsubscribe),function ye(f,y=ce){return u=>u.lift(new je(f,y))}(this.debounce),function Ze(f,y){return u=>u.lift(new Jt(f,y))}()).subscribe(u=>{this.valueChange.emit(u)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(uo.g))},f.\u0275cmp=l.Xpm({type:f,selectors:[["cp-search"]],viewQuery:function(u,D){if(1&u&&l.Gf(Qs,5),2&u){let fe;l.iGM(fe=l.CRH())&&(D.searchInput=fe.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:11,consts:[["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModel","disabled","id","placeholder","title","ngModelChange","keyup.esc"],["searchInput",""],["data-test","addon",1,"input-group-addon",3,"id","click"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(u,D){1&u&&(l.TgZ(0,"div",0)(1,"input",1,2),l.NdJ("ngModelChange",function(Xe){return D.value=Xe})("keyup.esc",function(){return D.clearValue()}),l.qZA(),l.TgZ(3,"span",3),l.NdJ("click",function(){return D.clearValue()}),l._UZ(4,"span",4),l.YNc(5,vl,2,1,"span",5),l.qZA()()),2&u&&(l.xp6(1),l.MGl("id","",D.id,"-search-input"),l.Q6J("ngModel",D.value)("disabled",D.disabled)("placeholder",D.placeholder)("title",D.label),l.uIk("aria-label",D.label)("list",D.list),l.xp6(2),l.MGl("id","",D.id,"-search-input-addon"),l.xp6(1),l.MGl("id","",D.id,"-search-input-icon"),l.Q6J("ngClass",(null==D.value?null:D.value.length)>0?"fas fa-times":"fas fa-search"),l.xp6(1),l.Q6J("ngIf",(null==D.value?null:D.value.length)>0))},directives:[Yr,Qt,_o,v.mk,v.O5],styles:[""],changeDetection:0}),f})(),Bo=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[[v.ez,$n,gi.m]]}),f})(),Sa=(()=>{class f{constructor(u,D=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(D),this.selectorName=u.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(u=>{if(!this[u])throw new Error(`"${u}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}}return f.\u0275fac=function(u){l.$Z()},f.\u0275dir=l.lG2({type:f,inputs:{id:"id"}}),f})();var Eo=(()=>{return(f=Eo||(Eo={}))[f.all=-1]="all",Eo;var f})();const zu="pageSizeOption";let Kl=(()=>{class f{constructor(u){this.locale=u,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===Eo.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${zu}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${zu}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}}return f.\u0275fac=function(u){return new(u||f)(l.Y36(uo.g))},f.\u0275dir=l.lG2({type:f,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(u,D){2&u&&(l.Ikx("id",D.id)("innerText",D.label),l.uIk("aria-label",D.description)("aria-pressed",D.ariaPressed),l.Tol(D.cssClasses))},inputs:{value:"value",selected:"selected"},features:[l.TTD]}),f})(),$a=(()=>{class f extends Sa{constructor(u,D){super(u),this.locale=D,this.selectedPageSize=f.defaultPageSize,this.pageSizeOptions=f.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new l.vpe,this.displayedPageSizeOptions=[]}isOptionSelected(u){return u===this.selectedPageSize}onOptionClicked(u){this._dispatchChange(u)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const u=this.pageSizeOptions.slice(0).sort((fe,Xe)=>fe-Xe);this.showOptionAll&&u.push(Eo.all),-1!==u.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=u:this._dispatchChange(u[0])}_dispatchChange(u){this.optionSelected.emit(u)}}return f.defaultPageSizeOptions=[20,50,100,500],f.defaultPageSize=20,f.\u0275fac=function(u){return new(u||f)(l.Y36(l.SBq),l.Y36(uo.g))},f.\u0275cmp=l.Xpm({type:f,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[l.qOj,l.TTD],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click"]],template:function(u,D){1&u&&(l.TgZ(0,"div")(1,"div",0),l._uU(2),l.qZA(),l.TgZ(3,"div",1),l.YNc(4,wa,1,3,"button",2),l.qZA()()),2&u&&(l.xp6(2),l.hij(" ",D.locale.maketext("Entries Per Page")," "),l.xp6(2),l.Q6J("ngForOf",D.displayedPageSizeOptions))},directives:[v.sg,Kl],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]}),f})(),Ta=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[[v.ez,gi.m]]}),f})(),Ga=(()=>{class f extends Sa{constructor(u,D){super(u),this.locale=D,this.maxPagesVisible=f.defaultMaxPagesVisible,this.selectedPage=f.firstPageIndex,this.pageSize=$a.defaultPageSize,this.disabled=!1,this.pageChanged=new l.vpe}onPageChanged(u){this._dispatchChange(u)}onNumPagesChanged(u){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(u){const D=this.pageSize*(u-1),fe=Math.min(D+this.pageSize,this.totalItems);this.pageChanged.emit({page:u,firstItem:D,lastItem:fe}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",D+1,fe,this.totalItems)}}return f.defaultMaxPagesVisible=5,f.firstPageIndex=1,f.\u0275fac=function(u){return new(u||f)(l.Y36(l.SBq),l.Y36(uo.g))},f.\u0275cmp=l.Xpm({type:f,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[l.qOj],decls:12,vars:13,consts:[[3,"id"],[3,"id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate","ngModelChange","pageChanged","numPages"],[1,"pagination-item-details","text-small","text-right","flip"],["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""]],template:function(u,D){if(1&u&&(l.TgZ(0,"div",0)(1,"pagination",1),l.NdJ("ngModelChange",function(Xe){return D.selectedPage=Xe})("pageChanged",function(Xe){return D.onPageChanged(Xe.page)})("numPages",function(Xe){return D.onNumPagesChanged(Xe)}),l.qZA(),l.TgZ(2,"p",2),l._uU(3),l.qZA()(),l.YNc(4,li,1,0,"ng-template",null,3,l.W1O),l.YNc(6,Mr,1,0,"ng-template",null,4,l.W1O),l.YNc(8,Js,1,0,"ng-template",null,5,l.W1O),l.YNc(10,ba,1,0,"ng-template",null,6,l.W1O)),2&u){const fe=l.MAs(5),Xe=l.MAs(7),cn=l.MAs(9),Cr=l.MAs(11);l.Q6J("id",D.id),l.xp6(1),l.MGl("id","",D.id,"_ngx_paginator"),l.Q6J("totalItems",D.totalItems)("maxSize",D.maxPagesVisible)("disabled",D.disabled)("itemsPerPage",D.pageSize)("ngModel",D.selectedPage)("boundaryLinks",!0)("customFirstTemplate",Cr)("customLastTemplate",cn)("customPreviousTemplate",Xe)("customNextTemplate",fe),l.xp6(2),l.hij(" ",D.itemsDetails," ")}},directives:[Vr,Qt,_o],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]}),f})(),Wu=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({imports:[[v.ez,$n,ai.forRoot(),gi.m]]}),f})()},6775:(Me,Q,x)=>{"use strict";x.d(Q,{TO:()=>Er,Hz:()=>wi,mr:()=>hr,Mq:()=>kr});var l=x(5062),v=x(2198);class K{constructor(U,L){this.open=U,this.close=L||U}isManual(){return"manual"===this.open||"manual"===this.close}}const z={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const j=typeof window<"u"&&window||{};let _t;function rn(){if(typeof j.document>"u")return"bs4";const O=j.document.createElement("span");O.innerText="testing bs version",O.classList.add("d-none"),O.classList.add("pl-1"),j.document.head.appendChild(O);const U=O.getBoundingClientRect(),L=j.getComputedStyle(O).paddingLeft;return!U||U&&0!==U.top?(j.document.head.removeChild(O),"bs3"):L&&parseFloat(L)?(j.document.head.removeChild(O),"bs4"):(j.document.head.removeChild(O),"bs5")}function gn(){return typeof j>"u"||(typeof j.__theme>"u"?(_t||(_t=rn()),"bs3"===_t):"bs3"===j.__theme)}function dn(){return!gn()&&(_t||(_t=rn()),"bs4"===_t)}function gt(){return{isBs3:gn(),isBs4:dn(),isBs5:!gn()&&!dn()&&(_t||(_t=rn()),"bs5"===_t)}}typeof console>"u"||console;var Wn=x(6895),Zr=x(5529),Vn=x(6787),Xr=x(2916),Bn=x(6688),An=x(7043),Qr=x(4850);function Hr(O,U,L,te){return(0,An.m)(L)&&(te=L,L=void 0),te?Hr(O,U,L).pipe((0,Qr.U)(Ue=>(0,Bn.k)(Ue)?te(...Ue):te(Ue))):new Xr.y(Ue=>{er(O,U,function Ne(Ke){Ue.next(arguments.length>1?Array.prototype.slice.call(arguments):Ke)},Ue,L)})}function er(O,U,L,te,Ue){let Ne;if(function tr(O){return O&&"function"==typeof O.addEventListener&&"function"==typeof O.removeEventListener}(O)){const Ke=O;O.addEventListener(U,L,Ue),Ne=()=>Ke.removeEventListener(U,L,Ue)}else if(function Fr(O){return O&&"function"==typeof O.on&&"function"==typeof O.off}(O)){const Ke=O;O.on(U,L),Ne=()=>Ke.off(U,L)}else if(function ei(O){return O&&"function"==typeof O.addListener&&"function"==typeof O.removeListener}(O)){const Ke=O;O.addListener(U,L),Ne=()=>Ke.removeListener(U,L)}else{if(!O||!O.length)throw new TypeError("Invalid event target");for(let Ke=0,nt=O.length;Ke<nt;Ke++)er(O[Ke],U,L,te,Ue)}te.add(Ne)}var cr=x(1086),xr=x(6686),dr=x(2268);const wr=new class fi extends dr.v{flush(U){this.active=!0,this.scheduled=void 0;const{actions:L}=this;let te,Ue=-1,Ne=L.length;U=U||L.shift();do{if(te=U.execute(U.state,U.delay))break}while(++Ue<Ne&&(U=L.shift()));if(this.active=!1,te){for(;++Ue<Ne&&(U=L.shift());)U.unsubscribe();throw te}}}(class di extends xr.o{constructor(U,L){super(U,L),this.scheduler=U,this.work=L}requestAsyncId(U,L,te=0){return null!==te&&te>0?super.requestAsyncId(U,L,te):(U.actions.push(this),U.scheduled||(U.scheduled=requestAnimationFrame(()=>U.flush(null))))}recycleAsyncId(U,L,te=0){if(null!==te&&te>0||null===te&&this.delay>0)return super.recycleAsyncId(U,L,te);0===U.actions.length&&(cancelAnimationFrame(L),U.scheduled=void 0)}});var mr=(()=>{return(O=mr||(mr={})).top="top",O.bottom="bottom",O.left="left",O.right="right",O.auto="auto",O.end="right",O.start="left",O["top left"]="top left",O["top right"]="top right",O["right top"]="right top",O["right bottom"]="right bottom",O["bottom right"]="bottom right",O["bottom left"]="bottom left",O["left bottom"]="left bottom",O["left top"]="left top",O["top start"]="top left",O["top end"]="top right",O["end top"]="right top",O["end bottom"]="right bottom",O["bottom end"]="bottom right",O["bottom start"]="bottom left",O["start bottom"]="start bottom",O["start top"]="left top",mr;var O})(),le=(()=>{return(O=le||(le={})).top="top",O.bottom="bottom",O.left="start",O.right="end",O.auto="auto",O.end="end",O.start="start",O["top left"]="top start",O["top right"]="top end",O["right top"]="end top",O["right bottom"]="end bottom",O["bottom right"]="bottom end",O["bottom left"]="bottom start",O["left bottom"]="start bottom",O["left top"]="start top",O["top start"]="top start",O["top end"]="top end",O["end top"]="end top",O["end bottom"]="end bottom",O["bottom end"]="bottom end",O["bottom start"]="bottom start",O["start bottom"]="start bottom",O["start top"]="start top",le;var O})();function me(O,U){if(1!==O.nodeType)return[];const te=O.ownerDocument.defaultView?.getComputedStyle(O,null);return U?te&&te[U]:te}function ne(O){if(!O)return document.documentElement;let te,L=O?.offsetParent;for(;null===L&&O.nextElementSibling&&te!==O.nextElementSibling;)te=O.nextElementSibling,L=te.offsetParent;const Ue=L&&L.nodeName;return Ue&&"BODY"!==Ue&&"HTML"!==Ue?L&&-1!==["TH","TD","TABLE"].indexOf(L.nodeName)&&"static"===me(L,"position")?ne(L):L:te?te.ownerDocument.documentElement:document.documentElement}function $(O){return null!==O.parentNode?$(O.parentNode):O}function Ce(O,U){if(!(O&&O.nodeType&&U&&U.nodeType))return document.documentElement;const L=O.compareDocumentPosition(U)&Node.DOCUMENT_POSITION_FOLLOWING,te=L?O:U,Ue=L?U:O,Ne=document.createRange();Ne.setStart(te,0),Ne.setEnd(Ue,0);const Ke=Ne.commonAncestorContainer;if(O!==Ke&&U!==Ke||te.contains(Ue))return function H(O){const{nodeName:U}=O;return"BODY"!==U&&("HTML"===U||ne(O.firstElementChild)===O)}(Ke)?Ke:ne(Ke);const nt=$(O);return nt.host?Ce(nt.host,U):Ce(O,$(U).host)}function be(O){if(!O||!O.parentElement)return document.documentElement;let U=O.parentElement;for(;U?.parentElement&&"none"===me(U,"transform");)U=U.parentElement;return U||document.documentElement}function Se(O,U){const L="x"===U?"Left":"Top",te="Left"===L?"Right":"Bottom";return parseFloat(O[`border${L}Width`])+parseFloat(O[`border${te}Width`])}function $e(O,U,L,te){return Math.max(U[`offset${O}`],U[`scroll${O}`],L[`client${O}`],L[`offset${O}`],L[`scroll${O}`],0)}function mt(O){const U=O.body,L=O.documentElement;return{height:$e("Height",U,L),width:$e("Width",U,L)}}function it(O){return{...O,right:(O.left||0)+O.width,bottom:(O.top||0)+O.height}}function Dt(O){return"number"==typeof O||"[object Number]"===Object.prototype.toString.call(O)}function Mt(O){const U=O.getBoundingClientRect();if(!(U&&Dt(U.top)&&Dt(U.left)&&Dt(U.bottom)&&Dt(U.right)))return U;const L={left:U.left,top:U.top,width:U.right-U.left,height:U.bottom-U.top},te="HTML"===O.nodeName?mt(O.ownerDocument):void 0,Ue=te?.width||O.clientWidth||Dt(U.right)&&Dt(L.left)&&U.right-L.left||0,Ne=te?.height||O.clientHeight||Dt(U.bottom)&&Dt(L.top)&&U.bottom-L.top||0;let Ke=O.offsetWidth-Ue,nt=O.offsetHeight-Ne;if(Ke||nt){const at=me(O);Ke-=Se(at,"x"),nt-=Se(at,"y"),L.width-=Ke,L.height-=nt}return it(L)}function on(O){return"HTML"===O.nodeName?O:O.parentNode||O.host}function vt(O){if(!O)return document.body;switch(O.nodeName){case"HTML":case"BODY":return O.ownerDocument.body;case"#document":return O.body}const{overflow:U,overflowX:L,overflowY:te}=me(O);return/(auto|scroll|overlay)/.test(String(U)+String(te)+String(L))?O:vt(on(O))}function jt(O,U,L=!1){const te="HTML"===U.nodeName,Ue=Mt(O),Ne=Mt(U),nt=(vt(O),me(U)),at=parseFloat(nt.borderTopWidth),_n=parseFloat(nt.borderLeftWidth);L&&te&&(Ne.top=Math.max(Ne.top??0,0),Ne.left=Math.max(Ne.left??0,0));const en=it({top:(Ue.top??0)-(Ne.top??0)-at,left:(Ue.left??0)-(Ne.left??0)-_n,width:Ue.width,height:Ue.height});if(en.marginTop=0,en.marginLeft=0,te){const Yn=parseFloat(nt.marginTop),Ar=parseFloat(nt.marginLeft);Dt(en.top)&&(en.top-=at-Yn),Dt(en.bottom)&&(en.bottom-=at-Yn),Dt(en.left)&&(en.left-=_n-Ar),Dt(en.right)&&(en.right-=_n-Ar),en.marginTop=Yn,en.marginLeft=Ar}return en}function Zt(O,U="top"){const L="top"===U?"scrollTop":"scrollLeft",te=O.nodeName;if("BODY"===te||"HTML"===te){const Ue=O.ownerDocument.documentElement;return(O.ownerDocument.scrollingElement||Ue)[L]}return O[L]}function pt(O){const U=O.nodeName;return"BODY"!==U&&"HTML"!==U&&("fixed"===me(O,"position")||pt(on(O)))}function Wt(O,U,L=0,te,Ue=!1){let Ne={top:0,left:0};const Ke=Ue?be(O):Ce(O,U);if("viewport"===te)Ne=function Qt(O,U=!1){const L=O.ownerDocument.documentElement,te=jt(O,L),Ue=Math.max(L.clientWidth,window.innerWidth||0),Ne=Math.max(L.clientHeight,window.innerHeight||0),Ke=U?0:Zt(L),nt=U?0:Zt(L,"left");return it({top:Ke-Number(te?.top)+Number(te?.marginTop),left:nt-Number(te?.left)+Number(te?.marginLeft),width:Ue,height:Ne})}(Ke,Ue);else{let nt;"scrollParent"===te?(nt=vt(on(U)),"BODY"===nt.nodeName&&(nt=O.ownerDocument.documentElement)):nt="window"===te?O.ownerDocument.documentElement:te;const at=jt(nt,Ke,Ue);if(at&&"HTML"===nt.nodeName&&!pt(Ke)){const{height:_n,width:en}=mt(O.ownerDocument);Dt(Ne.top)&&Dt(at.top)&&Dt(at.marginTop)&&(Ne.top+=at.top-at.marginTop),Dt(Ne.top)&&(Ne.bottom=Number(_n)+Number(at.top)),Dt(Ne.left)&&Dt(at.left)&&Dt(at.marginLeft)&&(Ne.left+=at.left-at.marginLeft),Dt(Ne.top)&&(Ne.right=Number(en)+Number(at.left))}else at&&(Ne=at)}return Dt(Ne.left)&&(Ne.left+=L),Dt(Ne.top)&&(Ne.top+=L),Dt(Ne.right)&&(Ne.right-=L),Dt(Ne.bottom)&&(Ne.bottom-=L),Ne}function Cn({width:O,height:U}){return O*U}function Un(O,U,L,te,Ue=["top","bottom","right","left"],Ne="viewport",Ke=0){if(-1===O.indexOf("auto"))return O;const nt=Wt(L,te,Ke,Ne),at={top:{width:nt?.width??0,height:(U?.top??0)-(nt?.top??0)},right:{width:(nt?.right??0)-(U?.right??0),height:nt?.height??0},bottom:{width:nt?.width??0,height:(nt?.bottom??0)-(U?.bottom??0)},left:{width:(U.left??0)-(nt?.left??0),height:nt?.height??0}},_n=Object.keys(at).map(pr=>({position:pr,...at[pr],area:Cn(at[pr])})).sort((pr,qn)=>qn.area-pr.area);let en=_n.filter(({width:pr,height:qn})=>pr>=L.clientWidth&&qn>=L.clientHeight);en=en.filter(({position:pr})=>Ue.some(qn=>qn===pr));const Yn=en.length>0?en[0].position:_n[0].position,Ar=O.split(" ")[1];return L.className=L.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${gt().isBs5?le[Yn]:Yn}`),Yn+(Ar?`-${Ar}`:"")}const tt=(O,U=0)=>O?parseFloat(O):U;function mn(O){const L=O.ownerDocument.defaultView?.getComputedStyle(O),te=tt(L?.marginTop)+tt(L?.marginBottom),Ue=tt(L?.marginLeft)+tt(L?.marginRight);return{width:Number(O.offsetWidth)+Ue,height:Number(O.offsetHeight)+te}}function $t(O,U,L){return jt(U,L?be(O):Ce(O,U),L)}function ir(O,U,L){const te=L.split(" ")[0],Ue=mn(O),Ne={width:Ue.width,height:Ue.height},Ke=-1!==["right","left"].indexOf(te),nt=Ke?"top":"left",at=Ke?"left":"top",_n=Ke?"height":"width",en=Ke?"width":"height";return Ne[nt]=(U[nt]??0)+U[_n]/2-Ue[_n]/2,Ne[at]=te===at?(U[at]??0)-Ue[en]:U[function Rt(O){const U={left:"right",right:"left",bottom:"top",top:"bottom"};return O.replace(/left|right|bottom|top/g,L=>U[L])}(at)]??0,Ne}function Ie(O,U){return!!O.modifiers[U]?.enabled}const pe={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function J(O,U){return!!gt().isBs5&&pe[U].includes(O)}function xt(O,U,L){!O||!U||Object.keys(U).forEach(te=>{let Ue="";-1!==["width","height","top","right","bottom","left"].indexOf(te)&&function Pt(O){return""!==O&&!isNaN(parseFloat(O))&&isFinite(Number(O))}(U[te])&&(Ue="px"),L?L.setStyle(O,te,`${String(U[te])}${Ue}`):O.style[te]=String(U[te])+Ue})}function Tt(O){let U=O.offsets.target;const L=O.instance.target.querySelector(".arrow");if(!L)return O;const te=-1!==["left","right"].indexOf(O.placement.split(" ")[0]),Ue=te?"height":"width",Ne=te?"Top":"Left",Ke=Ne.toLowerCase(),nt=te?"left":"top",at=te?"bottom":"right",_n=mn(L)[Ue],en=O.placement.split(" ")[1];(O.offsets.host[at]??0)-_n<(U[Ke]??0)&&(U[Ke]-=(U[Ke]??0)-((O.offsets.host[at]??0)-_n)),Number(O.offsets.host[Ke])+Number(_n)>(U[at]??0)&&(U[Ke]+=Number(O.offsets.host[Ke])+Number(_n)-Number(U[at])),U=it(U);const Yn=me(O.instance.target),Ar=parseFloat(Yn[`margin${Ne}`])||0,pr=parseFloat(Yn[`border${Ne}Width`])||0;let qn;if(en){const hi=parseFloat(Yn.borderRadius)||0,pi=Number(Ar+pr+hi);qn=Ke===en?Number(O.offsets.host[Ke])+pi:Number(O.offsets.host[Ke])+Number(O.offsets.host[Ue]-pi)}else qn=Number(O.offsets.host[Ke])+Number(O.offsets.host[Ue]/2-_n/2);let _r=qn-(U[Ke]??0)-Ar-pr;return _r=Math.max(Math.min(U[Ue]-(_n+5),_r),0),O.offsets.arrow={[Ke]:Math.round(_r),[nt]:""},O.instance.arrow=L,O}function yt(O){if(O.offsets.target=it(O.offsets.target),!Ie(O.options,"flip"))return O.offsets.target={...O.offsets.target,...ir(O.instance.target,O.offsets.host,O.placement)},O;const U=Wt(O.instance.target,O.instance.host,0,"viewport",!1);let L=O.placement.split(" ")[0],te=O.placement.split(" ")[1]||"";const nt=Un("auto",O.offsets.host,O.instance.target,O.instance.host,O.options.allowedPositions),at=[L,nt];return at.forEach((_n,en)=>{if(L!==_n||at.length===en+1)return;L=O.placement.split(" ")[0];const Yn="left"===L&&Math.floor(O.offsets.target.right??0)>Math.floor(O.offsets.host.left??0)||"right"===L&&Math.floor(O.offsets.target.left??0)<Math.floor(O.offsets.host.right??0)||"top"===L&&Math.floor(O.offsets.target.bottom??0)>Math.floor(O.offsets.host.top??0)||"bottom"===L&&Math.floor(O.offsets.target.top??0)<Math.floor(O.offsets.host.bottom??0),Ar=Math.floor(O.offsets.target.left??0)<Math.floor(U.left??0),pr=Math.floor(O.offsets.target.right??0)>Math.floor(U.right??0),qn=Math.floor(O.offsets.target.top??0)<Math.floor(U.top??0),_r=Math.floor(O.offsets.target.bottom??0)>Math.floor(U.bottom??0),hi="left"===L&&Ar||"right"===L&&pr||"top"===L&&qn||"bottom"===L&&_r,pi=-1!==["top","bottom"].indexOf(L),Li=pi&&"left"===te&&Ar||pi&&"right"===te&&pr||!pi&&"left"===te&&qn||!pi&&"right"===te&&_r;(Yn||hi||Li)&&((Yn||hi)&&(L=at[en+1]),Li&&(te=function Dn(O){return"right"===O?"left":"left"===O?"right":O}(te)),O.placement=L+(te?` ${te}`:""),O.offsets.target={...O.offsets.target,...ir(O.instance.target,O.offsets.host,O.placement)})}),O}function De(O){if(!Ie(O.options,"preventOverflow"))return O;const U="transform",L=O.instance.target.style,{top:te,left:Ue,[U]:Ne}=L;L.top="",L.left="",L[U]="";const Ke=Wt(O.instance.target,O.instance.host,0,O.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);L.top=te,L.left=Ue,L[U]=Ne;const at={primary(_n){let en=O.offsets.target[_n];return(O.offsets.target[_n]??0)<(Ke[_n]??0)&&(en=Math.max(O.offsets.target[_n]??0,Ke[_n]??0)),{[_n]:en}},secondary(_n){const en="right"===_n,Yn=en?"left":"top";let pr=O.offsets.target[Yn];return(O.offsets.target[_n]??0)>(Ke[_n]??0)&&(pr=Math.min(O.offsets.target[Yn]??0,(Ke[_n]??0)-O.offsets.target[en?"width":"height"])),{[Yn]:pr}}};return["left","right","top","bottom"].forEach(_n=>{const en=-1!==["left","top","start"].indexOf(_n)?at.primary:at.secondary;O.offsets.target={...O.offsets.target,...en(_n)}}),O}function wt(O){const U=O.placement,L=U.split(" ")[0],te=U.split(" ")[1];if(te){const{host:Ue,target:Ne}=O.offsets,Ke=-1!==["bottom","top"].indexOf(L),nt=Ke?"left":"top",at=Ke?"width":"height",_n={start:{[nt]:Ue[nt]},end:{[nt]:(Ue[nt]??0)+Ue[at]-Ne[at]}};O.offsets.target={...Ne,[nt]:nt===te?_n.start[nt]:_n.end[nt]}}return O}const In=new class qt{position(U,L){return this.offset(U,L)}offset(U,L){return $t(L,U)}positionElements(U,L,te,Ue,Ne){const Ke=[yt,wt,De,Tt],at=function ue(O,U,L,te){if(!O||!U)return;const Ue=$t(O,U);!L.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!L.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(L="auto");const Ne=!!L.match(/auto/g);let Ke=L.match(/auto\s(left|right|top|bottom|start|end)/)?L.split(" ")[1]||"auto":L;const nt=Ke.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return nt&&(Ke=nt[1]+(nt[2]?` ${nt[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(Ke)&&(Ke="auto"),Ke=Un(Ke,Ue,O,U,te?te.allowedPositions:void 0),{options:te||{modifiers:{}},instance:{target:O,host:U,arrow:void 0},offsets:{target:ir(O,Ue,Ke),host:Ue,arrow:void 0},positionFixed:!1,placement:Ke,placementAuto:Ne}}(L,U,mr[te],Ne);if(at)return Ke.reduce((_n,en)=>en(_n),at)}};function Ae(O,U,L,te,Ue,Ne){const Ke=In.positionElements(O,U,L,te,Ue);if(!Ke)return;const nt=function xn(O){return{width:O.offsets.target.width,height:O.offsets.target.height,left:Math.floor(O.offsets.target.left??0),top:Math.round(O.offsets.target.top??0),bottom:Math.round(O.offsets.target.bottom??0),right:Math.floor(O.offsets.target.right??0)}}(Ke);xt(U,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${nt.left}px, ${nt.top}px, 0px)`},Ne),Ke.instance.arrow&&xt(Ke.instance.arrow,Ke.offsets.arrow,Ne),function We(O,U){const L=O.instance.target;let te=L.className;const Ue=gt().isBs5?le[O.placement]:O.placement;O.placementAuto&&(te=te.replace(/bs-popover-auto/g,`bs-popover-${Ue}`),te=te.replace(/ms-2|me-2|mb-2|mt-2/g,""),te=te.replace(/bs-tooltip-auto/g,`bs-tooltip-${Ue}`),te=te.replace(/\sauto/g,` ${Ue}`),-1!==te.indexOf("popover")&&(te=te+" "+function Re(O){return gt().isBs5?J(O,"end")?"ms-2":J(O,"start")?"me-2":J(O,"top")?"mb-2":J(O,"bottom")?"mt-2":"":""}(Ue)),-1!==te.indexOf("popover")&&-1===te.indexOf("popover-auto")&&(te+=" popover-auto"),-1!==te.indexOf("tooltip")&&-1===te.indexOf("tooltip-auto")&&(te+=" tooltip-auto")),te=te.replace(/left|right|top|bottom|end|start/g,`${Ue.split(" ")[0]}`),U?U.setAttribute(L,"class",te):L.className=te}(Ke,Ne)}let Qe=(()=>{class O{constructor(L,te,Ue){this.update$$=new Zr.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,Wn.NF)(Ue)&&L.runOutsideAngular(()=>{this.triggerEvent$=(0,Vn.T)(Hr(window,"scroll",{passive:!0}),Hr(window,"resize",{passive:!0}),(0,cr.of)(0,wr),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Ne=>{Ae(Ve(Ne.target),Ve(Ne.element),Ne.attachment,Ne.appendToBody,this.options,te.createRenderer(null,null))})})})}position(L){this.addPositionElement(L)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(L){this.positionElements.set(Ve(L.element),L)}calcPosition(){this.update$$.next(null)}deletePositionElement(L){this.positionElements.delete(Ve(L))}setOptions(L){this.options=L}}return O.\u0275fac=function(L){return new(L||O)(l.LFG(l.R0b),l.LFG(l.FYo),l.LFG(l.Lbi))},O.\u0275prov=l.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function Ve(O){return"string"==typeof O?document.querySelector(O):O instanceof l.SBq?O.nativeElement:O??null}class Lt{constructor(U,L,te){this.nodes=U,this.viewRef=L,this.componentRef=te}}class Nt{constructor(U,L,te,Ue,Ne,Ke,nt,at){this._viewContainerRef=U,this._renderer=L,this._elementRef=te,this._injector=Ue,this._componentFactoryResolver=Ne,this._ngZone=Ke,this._applicationRef=nt,this._posService=at,this.onBeforeShow=new l.vpe,this.onShown=new l.vpe,this.onBeforeHide=new l.vpe,this.onHidden=new l.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(U){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(U),this}to(U){return this.container=U||this.container,this}position(U){return U?(this.attachment=U.attachment||this.attachment,this._elementRef=U.target||this._elementRef,this):this}provide(U){return this._providers.push(U),this}show(U={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(U.content,U.context,U.initialState);const L=l.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(L,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,U),this.container instanceof l.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const te=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!te)return;te.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(U.id?{id:U.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(U){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const L=this._componentRef.location.nativeElement;return L.parentNode?.removeChild(L),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(U?{id:U}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(U){this.triggers=U.triggers||this.triggers,this._listenOpts.outsideClick=U.outsideClick,this._listenOpts.outsideEsc=U.outsideEsc,U.target=U.target||this._elementRef?.nativeElement;const L=this._listenOpts.hide=()=>U.hide?U.hide():void this.hide(),te=this._listenOpts.show=Ne=>{U.show?U.show(Ne):this.show(Ne),Ne()};return this._renderer&&(this._unregisterListenersFn=function re(O,U){const L=function q(O,U=z){const L=(O||"").trim();if(0===L.length)return[];const te=L.split(/\s+/).map(Ne=>Ne.split(":")).map(Ne=>{const Ke=U[Ne[0]]||Ne;return new K(Ke[0],Ke[1])}),Ue=te.filter(Ne=>Ne.isManual());if(Ue.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Ue.length&&te.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return te}(U.triggers),te=U.target;if(1===L.length&&L[0].isManual())return Function.prototype;const Ue=[],Ne=[],Ke=()=>{Ne.forEach(nt=>Ue.push(nt())),Ne.length=0};return L.forEach(nt=>{const at=nt.open===nt.close,_n=at?U.toggle:U.show;if(!at&&nt.close&&U.hide){const en=O.listen(te,nt.close,U.hide);Ne.push(()=>en)}_n&&Ue.push(O.listen(te,nt.open,()=>_n(Ke)))}),()=>{Ue.forEach(nt=>nt())}}(this._renderer,{target:U.target,triggers:U.triggers,show:te,hide:L,toggle:Ne=>{this.isShown?L():te(Ne)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(U,L){return U&&L&&(this._inlineViewRef=U.createEmbeddedView(L)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const U=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function oe(O,U){return U.outsideClick?O.listen("document","click",L=>{U.target&&U.target.contains(L.target)||U.targets&&U.targets.some(te=>te.contains(L.target))||U.hide&&U.hide()}):Function.prototype}(this._renderer,{targets:[U,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function we(O,U){return U.outsideEsc?O.listen("document","keyup.esc",L=>{U.target&&U.target.contains(L.target)||U.targets&&U.targets.some(te=>te.contains(L.target))||U.hide&&U.hide()}):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{!this._componentRef||this._posService.calcPosition()}))}_unsubscribePositioning(){!this._zoneSubscription||(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(U,L,te){if(!U)return new Lt([]);if(U instanceof l.Rgc){if(this._viewContainerRef){const Ke=this._viewContainerRef.createEmbeddedView(U,L);return Ke.markForCheck(),new Lt([Ke.rootNodes],Ke)}const Ne=U.createEmbeddedView({});return this._applicationRef.attachView(Ne),new Lt([Ne.rootNodes],Ne)}if("function"==typeof U){const Ne=this._componentFactoryResolver.resolveComponentFactory(U),Ke=l.zs3.create({providers:this._providers,parent:this._injector}),nt=Ne.create(Ke);return Object.assign(nt.instance,te),this._applicationRef.attachView(nt.hostView),new Lt([[nt.location.nativeElement]],nt.hostView,nt)}const Ue=this._renderer?[this._renderer.createText(`${U}`)]:[];return new Lt([Ue])}}let Ft=(()=>{class O{constructor(L,te,Ue,Ne,Ke){this._componentFactoryResolver=L,this._ngZone=te,this._injector=Ue,this._posService=Ne,this._applicationRef=Ke}createLoader(L,te,Ue){return new Nt(te,Ue,L,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return O.\u0275fac=function(L){return new(L||O)(l.LFG(l._Vd),l.LFG(l.R0b),l.LFG(l.zs3),l.LFG(Qe),l.LFG(l.z2F))},O.\u0275prov=l.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();var It=x(7340);const Xt=function(O){return{dropdown:O}},Ct=["*"];let St=(()=>{class O{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return O.\u0275fac=function(L){return new(L||O)},O.\u0275prov=l.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Mn=(()=>{class O{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new l.vpe,this.isDisabledChange=new l.vpe,this.toggleClick=new l.vpe,this.counts=0,this.dropdownMenu=new Promise(L=>{this.resolveDropdownMenu=L})}}return O.\u0275fac=function(L){return new(L||O)},O.\u0275prov=l.Yz7({token:O,factory:O.\u0275fac,providedIn:"platform"}),O})();const Or=[(0,It.oB)({height:0,overflow:"hidden"}),(0,It.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,It.oB)({height:"*",overflow:"hidden"}))];let Jr=(()=>{class O{constructor(L,te,Ue,Ne,Ke){this._state=L,this.cd=te,this._renderer=Ue,this._element=Ne,this.isOpen=!1,this._factoryDropDownAnimation=Ke.build(Or),this._subscription=L.isOpenChange.subscribe(nt=>{this.isOpen=nt;const at=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),at&&!gn()&&(this._renderer.addClass(at,"show"),(at.classList.contains("dropdown-menu-right")||at.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(at,"left","auto"),this._renderer.setStyle(at,"right","0")),"up"===this.direction&&(this._renderer.setStyle(at,"top","auto"),this._renderer.setStyle(at,"transform","translateY(-101%)"))),at&&this._state.isAnimated&&this._factoryDropDownAnimation.create(at).play(),this.cd.markForCheck(),this.cd.detectChanges()})}get direction(){return this._state.direction}_contains(L){return this._element.nativeElement.contains(L)}ngOnDestroy(){this._subscription.unsubscribe()}}return O.\u0275fac=function(L){return new(L||O)(l.Y36(Mn),l.Y36(l.sBO),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(It._j))},O.\u0275cmp=l.Xpm({type:O,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:Ct,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(L,te){1&L&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA()),2&L&&(l.ekj("dropup","up"===te.direction)("show",te.isOpen)("open",te.isOpen),l.Q6J("ngClass",l.VKq(7,Xt,"down"===te.direction)))},directives:[Wn.mk],encapsulation:2,changeDetection:0}),O})(),Er=(()=>{class O{constructor(L,te,Ue,Ne,Ke,nt,at){this._elementRef=L,this._renderer=te,this._viewContainerRef=Ue,this._cis=Ne,this._state=Ke,this._config=nt,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=at.build(Or),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Mn,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(L){this._state.autoClose=L}get autoClose(){return this._state.autoClose}set isAnimated(L){this._state.isAnimated=L}get isAnimated(){return this._state.isAnimated}set insideClick(L){this._state.insideClick=L}get insideClick(){return this._state.insideClick}set isDisabled(L){this._isDisabled=L,this._state.isDisabledChange.emit(L),L&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(L){L?this.show():this.hide()}get isBs4(){return!gn()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(L=>this.toggle(L))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,v.h)(L=>L)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(L=>{this._dropdown.attachInline(L.viewContainer,L.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(L=>{const te=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=te?"up":"down";const Ue=this.placement||(te?"top start":"bottom start");this._dropdown.attach(Jr).to(this.container).position({attachment:Ue}).show({content:L.templateRef,placement:Ue}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){!this.isOpen||(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(L){return this.isOpen||!L?this.hide():this.show()}_contains(L){return this._elementRef.nativeElement.contains(L.target)||this._dropdown.instance&&this._dropdown.instance._contains(L.target)}navigationClick(L){const te=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!te)return;const Ue=this._elementRef.nativeElement.ownerDocument.activeElement,Ne=te.querySelectorAll(".dropdown-item");switch(L.keyCode){case 38:this._state.counts>0&&Ne[--this._state.counts].focus();break;case 40:this._state.counts+1<Ne.length&&(Ue.classList!==Ne[this._state.counts].classList?Ne[this._state.counts].focus():Ne[++this._state.counts].focus())}L.preventDefault()}ngOnDestroy(){for(const L of this._subscriptions)L.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){gn()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout(()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const L=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",L?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",L?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return O.\u0275fac=function(L){return new(L||O)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.s_b),l.Y36(Ft),l.Y36(Mn),l.Y36(St),l.Y36(It._j))},O.\u0275dir=l.lG2({type:O,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(L,te){1&L&&l.NdJ("keydown.arrowDown",function(Ne){return te.navigationClick(Ne)})("keydown.arrowUp",function(Ne){return te.navigationClick(Ne)}),2&L&&l.ekj("dropup",te.dropup)("open",te.isOpen)("show",te.isOpen&&te.isBs4)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[l._Bn([Mn])]}),O})(),wi=(()=>{class O{constructor(L,te,Ue){L.resolveDropdownMenu({templateRef:Ue,viewContainer:te})}}return O.\u0275fac=function(L){return new(L||O)(l.Y36(Mn),l.Y36(l.s_b),l.Y36(l.Rgc))},O.\u0275dir=l.lG2({type:O,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),O})(),kr=(()=>{class O{constructor(L,te,Ue,Ne,Ke){this._changeDetectorRef=L,this._dropdown=te,this._element=Ue,this._renderer=Ne,this._state=Ke,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(nt=>{this.isOpen=nt,nt?(this._documentClickListener=this._renderer.listen("document","click",at=>{this._state.autoClose&&2!==at.button&&!this._element.nativeElement.contains(at.target)&&(!this._state.insideClick||!this._dropdown._contains(at))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(nt=>this.isDisabled=nt||void 0))}onClick(L){this._state.stopOnClickPropagation&&L.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const L of this._subscriptions)L.unsubscribe()}}return O.\u0275fac=function(L){return new(L||O)(l.Y36(l.sBO),l.Y36(Er),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Mn))},O.\u0275dir=l.lG2({type:O,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(L,te){1&L&&l.NdJ("click",function(Ne){return te.onClick(Ne)}),2&L&&l.uIk("aria-haspopup",!0)("disabled",te.isDisabled)("aria-expanded",te.isOpen)},exportAs:["bs-dropdown-toggle"]}),O})(),hr=(()=>{class O{static forRoot(){return{ngModule:O,providers:[Ft,Qe,Mn]}}}return O.\u0275fac=function(L){return new(L||O)},O.\u0275mod=l.oAB({type:O}),O.\u0275inj=l.cJS({imports:[[Wn.ez]]}),O})()}}]);
Back to Directory
File Manager