Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/nginx-manager/vendor.min.js

(self.webpackChunknginx_manager=self.webpackChunknginx_manager||[]).push([[736],{109:(xe,J,P)=>{"use strict";P.d(J,{F:()=>o});var o=(()=>{return(v=o||(o={}))[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",o;var v})()},7709:(xe,J,P)=>{"use strict";P.d(J,{h:()=>o});class o{constructor(X,K){if(!X)throw new Error("You must provide a name when creating a name/value argument");this.name=X,this.value=K}}},3022:(xe,J,P)=>{"use strict";P.d(J,{tO:()=>$e,VN:()=>Oe});var o=P(4235),v=P.n(o),z=P(1305),X=P.n(z),K=P(4798),pe=P.n(K),re=P(9138),ue=P.n(re),ve=P(248),q=P.n(ve),oe=P(1503),Se=P.n(oe),Ae=P(7614),Le=P.n(Ae);function ce(et){if(v()(et)||X()(et)||pe()(et)||ue()(et)||q()(et))return!0;if(!Le()(et)&&!Se()(et))return!1;for(const tt in et)if(!ce(et[tt]))return!1;return!0}class Oe{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(tt,qe,Te){if(!tt)throw new Error("Name must have a non-empty value");return`${tt}=${encodeURIComponent(qe.toString())}`+(Te?"":this.recordSeparator)}}class $e{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(tt,qe,Te){if(!tt)throw new Error("Name must have a non-empty value");if(!ce(qe))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(tt)+":"+JSON.stringify(qe)+(Te?"":this.recordSeparator)}}},3357:(xe,J,P)=>{"use strict";P.d(J,{p:()=>o,w:()=>v});var o=(()=>{return(z=o||(o={}))[z.Contains=0]="Contains",z[z.Begins=1]="Begins",z[z.Ends=2]="Ends",z[z.Matches=3]="Matches",z[z.Equal=4]="Equal",z[z.NotEqual=5]="NotEqual",z[z.LessThan=6]="LessThan",z[z.LessThanUnlimited=7]="LessThanUnlimited",z[z.GreaterThan=8]="GreaterThan",z[z.GreaterThanUnlimited=9]="GreaterThanUnlimited",z[z.Defined=10]="Defined",z[z.Undefined=11]="Undefined",o;var z})();class v{constructor(X,K,pe){if(!X)throw new Error("You must define a non-empty column name.");this.column=X,this.operator=K,this.value=pe}}},5380:(xe,J,P)=>{"use strict";P.d(J,{uE:()=>z});const v=Number.POSITIVE_INFINITY;class z{constructor(K=1,pe=20){if(K<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(pe<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=K,this.pageSize=pe}all(){return this.pageSize===v}}},755:(xe,J,P)=>{"use strict";P.d(J,{ER:()=>v,PE:()=>z,Sr:()=>o});var o=(()=>{return(X=o||(o={}))[X.Ascending=0]="Ascending",X[X.Descending=1]="Descending",o;var X})(),v=(()=>{return(X=v||(v={}))[X.Lexicographic=0]="Lexicographic",X[X.Ipv4=1]="Ipv4",X[X.Numeric=2]="Numeric",X[X.NumericZeroAsMax=3]="NumericZeroAsMax",v;var X})();class z{constructor(K,pe=o.Ascending,re=v.Lexicographic){if(!K)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=K,this.direction=pe,this.type=re}}},5397:(xe,J,P)=>{"use strict";P.d(J,{r:()=>mt,N:()=>bt});var o=P(1978),v=P.n(o);function z(Ce){return Ce?"1":"0"}var pe=P(755),re=P(3357),ue=P(7709),ve=P(5380);class q{constructor(Q=[]){this.headers=Q}push(Q){this.headers.push(Q)}forEach(Q,me){this.headers.forEach(Q,me)}toArray(){const Q=[];return this.headers.forEach((me=>Q.push({name:me.name,value:me.value}))),Q}toObject(){return this.headers.reduce(((Q,me)=>(Q[me.name]=me.value,Q)),{})}}class oe{constructor(Q){this._header=Q}get name(){return this._header.name}get value(){return this._header.value}}class Se extends Error{constructor(Q){super(Q),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Se.prototype)}}class Ae extends Error{constructor(Q){super(Q),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Ae.prototype)}}class Le extends oe{constructor(Q,me){if(!Q)throw new Se("You must pass a valid token to the constructor.");if(!me&&!/^.+[:]/.test(Q))throw new Se("You must pass a cPanel username associated with the cPanel API token.");if(!me&&!/[:].+$/.test(Q))throw new Se("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${me?me+":":""}${Q}`})}}Error,Error;var et=P(109);const qe=new class tt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[et.F.GET,et.F.DELETE,et.F.HEAD].forEach((Q=>{const me=et.F[Q].toString();this.map[me]={verb:me,dataInBody:!1}})),[et.F.POST,et.F.PUT,et.F.PATCH].forEach((Q=>{const me=et.F[Q].toString();this.map[me]={verb:me,dataInBody:!0}}))}getRule(Q){const me="string"==typeof Q?Q:et.F[Q].toString();let Ie=this.map[me];return Ie||(Ie=this.map.DEFAULT),Ie}};var Te=P(3022),Ze=P(8448),Xt=P.n(Ze),bt=(()=>{return(Ce=bt||(bt={})).JsonApi="json-api",Ce.XmlApi="xml-api",bt;var Ce})();class mt extends class $e{constructor(Q){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ve.uE,this.headers=new q,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,Q&&(this.method=Q.method,Q.namespace&&(this.namespace=Q.namespace),Q.arguments&&Q.arguments.forEach((me=>{this.addArgument(me)})),Q.sorts&&Q.sorts.forEach((me=>{this.addSort(me)})),Q.filters&&Q.filters.forEach((me=>{this.addFilter(me)})),Q.columns&&Q.columns.forEach((me=>this.addColumn(me))),Q.pager&&this.paginate(Q.pager),this.config=Q.config?Q.config:this.defaultConfig,Q.headers&&Q.headers.forEach((me=>{this.addHeader(me)})))}get usePager(){return this._usePager}addArgument(Q){return this.arguments.push(Q instanceof ue.h?Q:new ue.h(Q.name,Q.value)),this}addSort(Q){return this.sorts.push(Q instanceof pe.PE?Q:new pe.PE(Q.column,Q.direction,Q.type)),this}addFilter(Q){return this.filters.push(Q instanceof re.w?Q:new re.w(Q.column,Q.operator,Q.value)),this}addColumn(Q){return this.columns.push(Q),this}addHeader(Q){return this.headers.push(Q instanceof oe?Q:new oe(Q)),this}paginate(Q){return this.pager=Q instanceof ve.uE?Q:new ve.uE(Q.page,Q.pageSize||20),this._usePager=!0,this}}{constructor(Q,me){if(super(me),this.apiType=bt.JsonApi,Q!=bt.JsonApi&&Q!=bt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=Q,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(Q){if(Q instanceof Le)throw new Ae("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(Q),this}_build(Q,me){let Ie="";return Q.forEach(((be,Ne,nt)=>{Ie+=me.encode(be.name,be.value,Ne===nt.length-1)})),me.separatorStart+Ie+me.separatorEnd}_make_whm_api_fieldspec_from_number(Q){return Xt()("",Math.floor(Q/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(Q%26)}_generateArguments(Q){Q.push({name:"api.version",value:1}),this.arguments.forEach((Ie=>Q.push(Ie)))}_generateSorts(Q){this.sorts.forEach(((me,Ie)=>{0===Ie&&Q.push({name:"api.sort.enable",value:z(!0)});const be=`api.sort.${this._make_whm_api_fieldspec_from_number(Ie)}`;Q.push({name:`${be}.field`,value:me.column}),Q.push({name:`${be}.reverse`,value:z(me.direction!==pe.Sr.Ascending)}),Q.push({name:`${be}.method`,value:v()(pe.ER[me.type])})}))}_lookupFilterOperator(Q){switch(Q){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[Q]} for WHM API 1`)}}_generateFilters(Q){this.filters.forEach(((me,Ie)=>{0===Ie&&(Q.push({name:"api.filter.enable",value:z(!0)}),Q.push({name:"api.filter.verbose",value:z(!0)}));const be=`api.filter.${this._make_whm_api_fieldspec_from_number(Ie)}`;Q.push({name:`${be}.field`,value:me.column}),Q.push({name:`${be}.type`,value:this._lookupFilterOperator(me.operator)}),Q.push({name:`${be}.arg0`,value:me.value})}))}_translatePageToStart(Q){return(Q.page-1)*Q.pageSize+1}_generatePagination(Q){if(!this.usePager)return;const me=this.pager.all();Q.push({name:"api.chunk.enable",value:z(!0)}),Q.push({name:"api.chunk.verbose",value:z(!0)}),Q.push({name:"api.chunk.start",value:me?-1:this._translatePageToStart(this.pager)}),me||Q.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(Q){Q||(Q={verb:et.F.POST,encoder:this.config.json?new Te.tO:new Te.VN}),Q.encoder||(Q.encoder=this.config.json?new Te.tO:new Te.VN);const me=qe.getRule(Q.verb),Ie={headers:new q([{name:"Content-Type",value:Q.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},be=[];this._generateArguments(be),this._generateSorts(be),this._generateFilters(be),this._generatePagination(be);const Ne=this._build(be,Q.encoder);return me.dataInBody?Ie.body=Ne:Ie.url+=Q.verb===et.F.GET?`?${Ne}`:Ne,this.headers.forEach((nt=>{Ie.headers.push({name:nt.name,value:nt.value})})),Ie}}},269:(xe,J,P)=>{"use strict";J.g=void 0;const v=P(1680);Object.defineProperty(J,"g",{enumerable:!0,get:function(){return v.Locale}})},5074:(xe,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.CLDR=void 0,J.CLDR=class P{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,...z){return(0,this.rawData.functions.get_plural_form)(v,...z)}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:(xe,J,P)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.Locale=void 0;const o=P(2889),v=P(9483),z=P(741),X=P(786),K=P(5074);J.Locale=class pe{constructor(ue,ve={}){this.lexicon=ve,this._cldr=new K.CLDR(ue)}maketext(ue,...ve){return(0,o.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:ue,args:ve})}localDatetime(ue,ve){return this._datetimeWrapper(v.local_datetime,ue,ve)}datetime(ue,ve){return this._datetimeWrapper(v.datetime,ue,ve)}_datetimeWrapper(ue,ve,q){return ue({cldr:this._cldr,args:[ve,q]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(ue,ve){return this._formatNumber(z.numf,ue,ve)}format_bytes(ue,ve){return this._formatNumber(z.format_bytes,ue,ve)}_formatNumber(ue,...ve){return this._callCLDRFunc(ue,ve)}list_and(...ue){return this._callCLDRFunc(X.list_and,ue)}list_and_quoted(...ue){return this._callCLDRFunc(X.list_and_quoted,ue)}list_or(...ue){return this._callCLDRFunc(X.list_or,ue)}list_or_quoted(...ue){return this._callCLDRFunc(X.list_or_quoted,ue)}_callCLDRFunc(ue,ve){return ue({cldr:this._cldr,args:ve})}}},7296:(xe,J,P)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.asis=void 0;const o=P(5247);J.asis=function v({args:[z,...X]}){if(!z||X.length>0||"string"!=typeof z)throw new Error("asis function accepts one non translatable string.");return(z=z.replace(/chr\((\d+)\)/g,(function(K,pe){return o.functions.chr(Number(pe))}))).replace(/amp\(\)/g,(function(){return o.functions.amp()}))}},527:(xe,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.boolean=void 0,J.boolean=function P({args:[o,v,z,X]}){if(null==v||0===v.length||null==z||0===z.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof o<"u"&&o?v:X&&null==o?X:z)}},9076:(xe,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.comment=void 0,J.comment=function P({args:[o]}){return""}},9483:(xe,J,P)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.local_datetime=J.datetime=J.dateToLocalDayNum=void 0;const o=P(5074),v=function(q){const oe=q.getUTCDay()-1;return oe<0?6:oe},z=[7,1,2,3,4,5,6];function X(q,oe){return(z[q.getUTCDay()]+7-oe)%7+1}J.dateToLocalDayNum=X;const K=function(q,oe,Se){let Ae="",Le=0;return oe=oe||0,Se=String(void 0===Se?" ":Se),Le=oe-String(q).length,Le>0&&(Ae=[...Array(Le)].map(String.prototype.valueOf,Se).join("")),Ae+q};function pe({cldr:q,args:[oe=new Date,Se],tzString:Ae="UTC"}){if("number"==typeof oe&&/^-?\d+$/.test(oe.toString())&&(oe=new Date(1e3*oe)),!(oe instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(q instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Le=q.getDateTimeInfo();return"string"==typeof Se&&/^(?:date|time|datetime|special)_format_/.test(Se)&&(Se=Le[Se]),Se||(Se=Le.date_format_long),Se.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(ce,Xe,Oe){return Xe?function re(q){return q.substr(1,q.length-2)}(Xe):function ue(q,oe,Se,Ae){switch(Se){case"yy":return Math.abs(q.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(q.getUTCFullYear()));case"MMMMM":return oe.month_format_narrow[q.getUTCMonth()];case"LLLLL":return oe.month_stand_alone_narrow[q.getUTCMonth()];case"MMMM":return oe.month_format_wide[q.getUTCMonth()];case"LLLL":return oe.month_stand_alone_wide[q.getUTCMonth()];case"MMM":return oe.month_format_abbreviated[q.getUTCMonth()];case"LLL":return oe.month_stand_alone_abbreviated[q.getUTCMonth()];case"MM":case"LL":return K((q.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(q.getUTCMonth()+1);case"EEEE":return oe.day_format_wide[v(q)];case"EEE":case"EE":case"E":return oe.day_format_abbreviated[v(q)];case"EEEEE":return oe.day_format_narrow[v(q)];case"cccc":return oe.day_stand_alone_wide[v(q)];case"ccc":return oe.day_stand_alone_abbreviated[v(q)];case"cc":case"c":return String(X(q,Number(oe.first_day_of_week)));case"ccccc":return oe.day_stand_alone_narrow[v(q)];case"dd":return K(q.getUTCDate().toString(),2,"0");case"d":return String(q.getUTCDate());case"h":case"hh":{let Le=q.getUTCHours();Le>12&&(Le-=12),0===Le&&(Le=12);const ce="hh"===Se?K(Le.toString(),2,"0"):Le;return String(ce)}case"H":return String(q.getUTCHours());case"HH":return K(q.getUTCHours().toString(),2,"0");case"m":return String(q.getUTCMinutes());case"mm":return K(q.getUTCMinutes().toString(),2,"0");case"s":return String(q.getUTCSeconds());case"ss":return K(q.getUTCSeconds().toString(),2,"0");case"a":return q.getUTCHours()<12?oe.am_pm_abbreviated[0]:oe.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Ae;case"G":case"GG":case"GGG":return oe.era_abbreviated[q.getUTCFullYear()<0?0:1];case"GGGGG":return oe.era_narrow[q.getUTCFullYear()<0?0:1];case"GGGG":return oe.era_wide[q.getUTCFullYear()<0?0:1]}return Se}(oe,Le,Oe,Ae)}))}J.datetime=pe,J.local_datetime=function ve({cldr:q,args:[oe=new Date,Se]}){if("number"==typeof oe&&/^-?\d+$/.test(oe.toString())&&(oe=new Date(1e3*oe)),!(oe instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(q instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ae=oe.getTimezoneOffset();(oe=new Date(oe)).setMinutes(oe.getMinutes()-Ae);const Le=Ae>0?"-":"+",ce=Math.floor(Math.abs(Ae)/60),Xe=Math.abs(Ae%60);return pe({cldr:q,args:[oe,Se],tzString:"GMT"+Le+K(ce.toString(),2,"0")+K(Xe.toString(),2,"0")})}},40:(xe,J,P)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.functions=void 0;const o=P(7296),v=P(5247),z=P(9076),X=P(527),K=P(741),pe=P(9483),re=P(786);J.functions={asis:o.asis,output:v.output,comment:z.comment,boolean:X.boolean,numf:K.numf,numerate:K.numerate,quant:K.quant,format_bytes:K.format_bytes,datetime:pe.datetime,local_datetime:pe.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:(xe,J)=>{"use strict";function o(re,ue,...ve){let q=ve.slice();switch(1===q.length&&Array.isArray(q[0])&&(q=q[0].slice()),(typeof q>"u"||0===q.length)&&(q=[""]),q=q.map((oe=>function P(re,ue){const ve=re.getDelimiters();return ve&&Object.prototype.hasOwnProperty.call(ve,"quotation_start")&&Object.prototype.hasOwnProperty.call(ve,"quotation_end")?ve.quotation_start+ue+ve.quotation_end:ue}(re,oe))),ue){case"list_and":return K({cldr:re,args:q});case"list_or":return pe({cldr:re,args:q});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function X(re,ue,...ve){let q=ve.slice();1===q.length&&Array.isArray(q[0])&&(q=q[0].slice());const oe=q.length;let Se,Ae,Le,ce;try{Se=re.getFormats()[ue]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Xe=function(Oe,$e){switch($e){case"0":return Le;case"1":return q[ce++]}};switch(oe){case 0:return"";case 1:return String(q[0]);default:if(Le=2===oe?Se[2]:Se.start,Le=Le.replace(/\{([01])\}/g,(function(Oe,$e){return q[$e]})),2===oe)return Le;for(ce=2;ce<oe;)Ae=Se[ce===oe-1?"end":"middle"],Le=Ae.replace(/\{([01])\}/g,Xe);return Le}}function K({cldr:re,args:[...ue]}){return X(re,"list",...ue)}function pe({cldr:re,args:[...ue]}){return X(re,"list_or",...ue)}Object.defineProperty(J,"__esModule",{value:!0}),J.list_or=J.list_and=J.list_or_quoted=J.list_and_quoted=void 0,J.list_and_quoted=function v({cldr:re,args:[...ue]}){return o(re,"list_and",...ue)},J.list_or_quoted=function z({cldr:re,args:[...ue]}){return o(re,"list_or",...ue)},J.list_and=K,J.list_or=pe},5247:(xe,J,P)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.functions=J.output=void 0;const o=P(7906),v=P(8533);J.output=function z({args:[X,...K]}){if(K&&"string"==typeof K[0]&&(K[0]=K[0].replace(/chr\((\d+)\)/g,(function(pe,re){return J.functions.chr(Number(re))})),K[0]=K[0].replace(/amp\(\)/g,(function(){return J.functions.amp()}))),"function"==typeof J.functions[X])return J.functions[X](...K);throw new Error(`Locale output function '${X}' is not implemented.`)},J.functions={amp:()=>(0,o.htmlEscape)("&"),apos:()=>(0,o.htmlEscape)("'"),quot:()=>(0,o.htmlEscape)('"'),underline:X=>`<u>${X}</u>`,strong:X=>`<strong>${X}</strong>`,em:X=>`<em>${X}</em>`,abbr:(X,K)=>`<abbr title="${K}">${X}</abbr>`,acronym:(X,K)=>`<abbr title="${K}" class="initialism">${X}</abbr>`,class:(X,...K)=>`<span class="${K.join(" ")}">${X}</span>`,chr(X){if("string"==typeof X&&(X=Number(X)),"number"!=typeof X||isNaN(X))throw new Error("chr needs a number as argument");return(0,o.htmlEscape)(String.fromCharCode(X))},url(X,...K){let pe,re;if("object"==typeof K[K.length-1])if(pe=K[K.length-1],2===K.length){if(pe.html)throw new Error("Cannot provide both text and configuration with html attribute");re=K[0]}else pe&&pe.html?(re=pe.html,delete pe.html):re=X;else K.length%2==0?(pe=(0,v.listToObject)(...K),pe&&"html"in pe&&""!==pe.html?(re=pe.html,delete pe.html):re=X):(re=K.shift(),pe=(0,v.listToObject)(...K));"_type"in pe&&"offsite"===pe._type&&(pe.class="offsite",pe.target="_blank",delete pe._type);let ue=`<a href="${X}"`;if("object"==typeof pe)for(const ve in pe)Object.prototype.hasOwnProperty.call(pe,ve)&&(ue+=` ${ve}="${pe[ve]}"`);return ue+=`>${re}</a>`,ue}}},741:(xe,J,P)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.format_bytes=J.numf=J.quant=J.numerate=void 0;const o=P(5074);function z({cldr:re,args:[ue,...ve]}){if(!(re instanceof o.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let q,oe=3;ue instanceof Array?(oe=ue[1],q=ue[0]):q=ue;const Se=re.getPluralForm(q,...ve),Ae=Se[0]?Se[0]:ve[ve.length-1];if(Se&&Se.length>=2&&Se[1])return Ae;const ce=K({cldr:re,args:[q,oe]});return-1!==Ae.indexOf("%s")?Ae.replace(/%s/g,ce):re.isRtl()?Ae+" "+ce:ce+" "+Ae}function K({cldr:re,args:[ue,ve=6]}){if(!(re instanceof o.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(ue.toString()))return String(ue);const{decimalFormat:q,decimalGroup:oe,decimalDecimal:Se}=function X(re){const ue={},ve=re.getFormats();return Object.prototype.hasOwnProperty.call(ve,"decimal")&&(ue.decimalFormat=ve.decimal),Object.prototype.hasOwnProperty.call(ve,"_decimal_format_group")&&(ue.decimalGroup=ve._decimal_format_group),Object.prototype.hasOwnProperty.call(ve,"_decimal_format_decimal")&&(ue.decimalDecimal=ve._decimal_format_decimal),ue}(re);if(!q||!oe||!Se)throw new Error("CLDR Data is missing information related to formatting decimals.");const Ae=ue<0;ue=Math.abs(ue);let ce,Xe,Le=Math.floor(ue);/(?!')\.(?!')/.test(ue.toString())&&(ce=String(ue).replace(/^[^.]+/,"0"),ce=Number(ce).toFixed(ve),/^1/.test(ce)?(Le++,ue=Le,ce=void 0):ce=ce.replace(/^.*\./,"").replace(/0+$/,"")),Xe=/(?!');(?!')/.test(q)?q.split(/(?!');(?!')/)[Ae?1:0]:(Ae?"-":"")+q;const et=Xe.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let tt;1===et.length?tt="":(et.pop(),tt=oe);const qe=String(Le).split("").reverse(),Te=[];let Ze;const Xt=function(mt){switch(mt){case"#":return qe.shift()||"";case"0":return qe.shift()||"0"}};for(;qe.length;){et.length&&(Ze=et.shift());const mt=Ze.replace(/(?!')[0#]|[0#](?!')/g,Xt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Te.push(mt)}const bt=Te.join(tt).split("").reverse().join("")+(ce?Se+ce:"");return Xe.replace(/[0#].*[0#]/,bt)}J.numerate=function v({cldr:re,args:[ue,...ve]}){if(!(re instanceof o.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const q=re.getPluralForm(ue,...ve);return q?q[0]:ve[ve.length-1]},J.quant=z,J.numf=K,J.format_bytes=function pe({cldr:re,args:[ue,ve=2]}){if(!(re instanceof o.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const q=["KB","MB","GB","TB","PB","EB","ZB","YB"],Se=ue&&Math.min(Math.floor(Math.log(ue)/Math.log(1024)),q.length);return Se?K({cldr:re,args:[ue/Math.pow(1024,Se),ve]})+" "+q[Se-1]:z({cldr:re,args:[ue,"%s byte","%s bytes"]})}},2889:(xe,J,P)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.maketext=J.functions=J.config=void 0;const o=P(40);function K(pe,re){const ue=[];let ve=!1,q=!1;return pe.forEach((oe=>{if("_"===oe.charAt(0))if("_*"===oe){if(q)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";ue.push(...re),ve=!0}else{const Se=oe.match(J.config.underscoreDigitRe);if(Se){if(ve)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ae,Le]=Se,ce=Number(Le)-1;if(!(ce in re))throw`The "${Ae}" substitution argument was not passed to the maketext function.`;ue.push(re[ce]),q=!0}}else ue.push(oe)})),ue}J.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},J.functions={...o.functions},J.maketext=function z({cldr:pe,lexicon:re,template:ue,args:ve}){if("string"!=typeof ue)throw"You must pass a string template to the maketext function.";if(-1===(ue=re&&re[ue]||ue).indexOf("["))return ue;const q=ue.match(J.config.bracketRe)||[],oe=[];let Se=!1,Ae="";if(q.forEach((Le=>{if("["===Le){if(Se)throw Error(`Invalid maketext string: ${ue} \nThe string contains nested brackets.`);Se=!0}else if("]"===Le){if(!Se)throw Error(`Invalid maketext string: ${ue} \nThe string contains an unmatched closing bracket character (]).`);if(!Ae)throw Error(`Invalid maketext string: ${ue} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let ce;Se=!1;try{ce=function X(pe,re,ue){let ve=re.split(",");if(ve=ve.map((Se=>Se.replace(J.config.fauxCommaRe,","))),1===ve.length){if(!J.config.underscoreDigitRe.test(ve[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Se]=K(ve,ue);return String(Se)}const q=ve.shift();if(!q||"function"!=typeof J.functions[q])throw`Invalid function "${q}" in maketext string.`;const oe=K(ve,ue);return J.functions[q]({cldr:pe,args:oe})}(pe,Ae,ve)}catch(Xe){throw Error(`Invalid maketext string: ${ue} \n${Xe}`)}Ae="",oe.push(ce)}else if("~"===Le.charAt(0)){const ce=Le.charAt(1)||"~";Se?Ae+=","===ce?J.config.fauxComma:ce:J.config.tildeChars.has(ce)?oe.push(ce):oe.push(Le)}else Se?Ae+=Le:oe.push(Le)})),Se)throw Error(`Invalid maketext string: ${ue} \nThe string contains an unmatched opening bracket character ([).`);return oe.join("")}},7906:(xe,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.htmlEscape=J.entityMap=void 0,J.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},J.htmlEscape=function P(o){return String(o).replace(/[&<>"'\/]/g,(v=>J.entityMap[v]))}},8533:(xe,J)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0}),J.listToObject=void 0,J.listToObject=function v(...z){let X={};return function P(z){if(z.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let K=0,pe=z.length;K<pe;K+=2){const re=z[K];if("string"!=typeof re||""===re)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(z)&&(X=function o(z){const X=z.length,K={};let re,ue,pe=0;for(;pe<X;)re=z[pe],ue=z[++pe],K[re]=ue,pe++;return K}(z)),X}},443:(xe,J,P)=>{var o=P(2119);xe.exports=o.Symbol},4633:xe=>{xe.exports=function J(P,o){for(var v=-1,z=null==P?0:P.length,X=Array(z);++v<z;)X[v]=o(P[v],v,P);return X}},8745:xe=>{xe.exports=function J(P,o,v,z){var X=-1,K=null==P?0:P.length;for(z&&K&&(v=P[++X]);++X<K;)v=o(v,P[X],X,P);return v}},5481:(xe,J,P)=>{var v=P(1847)("length");xe.exports=v},6422:xe=>{xe.exports=function J(P){return P.split("")}},69:xe=>{var J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;xe.exports=function P(o){return o.match(J)||[]}},3337:(xe,J,P)=>{var o=P(443),v=P(1318),z=P(2902),pe=o?o.toStringTag:void 0;xe.exports=function re(ue){return null==ue?void 0===ue?"[object Undefined]":"[object Null]":pe&&pe in Object(ue)?v(ue):z(ue)}},1847:xe=>{xe.exports=function J(P){return function(o){return o?.[P]}}},2724:xe=>{xe.exports=function J(P){return function(o){return P?.[o]}}},7065:xe=>{var P=Math.floor;xe.exports=function o(v,z){var X="";if(!v||z<1||z>9007199254740991)return X;do{z%2&&(X+=v),(z=P(z/2))&&(v+=v)}while(z);return X}},4363:xe=>{xe.exports=function J(P,o,v){var z=-1,X=P.length;o<0&&(o=-o>X?0:X+o),(v=v>X?X:v)<0&&(v+=X),X=o>v?0:v-o>>>0,o>>>=0;for(var K=Array(X);++z<X;)K[z]=P[z+o];return K}},3935:(xe,J,P)=>{var o=P(443),v=P(4633),z=P(1503),X=P(4129),pe=o?o.prototype:void 0,re=pe?pe.toString:void 0;xe.exports=function ue(ve){if("string"==typeof ve)return ve;if(z(ve))return v(ve,ue)+"";if(X(ve))return re?re.call(ve):"";var q=ve+"";return"0"==q&&1/ve==-1/0?"-0":q}},3348:(xe,J,P)=>{var o=P(2760),v=/^\s+/;xe.exports=function z(X){return X&&X.slice(0,o(X)+1).replace(v,"")}},2329:(xe,J,P)=>{var o=P(4363);xe.exports=function v(z,X,K){var pe=z.length;return K=void 0===K?pe:K,!X&&K>=pe?z:o(z,X,K)}},1491:(xe,J,P)=>{var o=P(8745),v=P(4707),z=P(7188),K=RegExp("['’]","g");xe.exports=function pe(re){return function(ue){return o(z(v(ue).replace(K,"")),re,"")}}},5171:(xe,J,P)=>{var o=P(7065),v=P(3935),z=P(2329),X=P(7609),K=P(2315),pe=P(6007),re=Math.ceil;xe.exports=function ue(ve,q){var oe=(q=void 0===q?" ":v(q)).length;if(oe<2)return oe?o(q,ve):q;var Se=o(q,re(ve/K(q)));return X(q)?z(pe(Se),0,ve).join(""):Se.slice(0,ve)}},9148:(xe,J,P)=>{var z=P(2724)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});xe.exports=z},9122:xe=>{var J="object"==typeof global&&global&&global.Object===Object&&global;xe.exports=J},9519:(xe,J,P)=>{var v=P(9385)(Object.getPrototypeOf,Object);xe.exports=v},1318:(xe,J,P)=>{var o=P(443),v=Object.prototype,z=v.hasOwnProperty,X=v.toString,K=o?o.toStringTag:void 0;xe.exports=function pe(re){var ue=z.call(re,K),ve=re[K];try{re[K]=void 0;var q=!0}catch{}var oe=X.call(re);return q&&(ue?re[K]=ve:delete re[K]),oe}},7609:xe=>{var pe=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");xe.exports=function re(ue){return pe.test(ue)}},9062:xe=>{var J=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;xe.exports=function P(o){return J.test(o)}},2902:xe=>{var P=Object.prototype.toString;xe.exports=function o(v){return P.call(v)}},9385:xe=>{xe.exports=function J(P,o){return function(v){return P(o(v))}}},2119:(xe,J,P)=>{var o=P(9122),v="object"==typeof self&&self&&self.Object===Object&&self,z=o||v||Function("return this")();xe.exports=z},2315:(xe,J,P)=>{var o=P(5481),v=P(7609),z=P(1149);xe.exports=function X(K){return v(K)?z(K):o(K)}},6007:(xe,J,P)=>{var o=P(6422),v=P(7609),z=P(6319);xe.exports=function X(K){return v(K)?z(K):o(K)}},2760:xe=>{var J=/\s/;xe.exports=function P(o){for(var v=o.length;v--&&J.test(o.charAt(v)););return v}},1149:xe=>{var J="\\ud800-\\udfff",K="["+J+"]",pe="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",re="\\ud83c[\\udffb-\\udfff]",ve="[^"+J+"]",q="(?:\\ud83c[\\udde6-\\uddff]){2}",oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="(?:"+pe+"|"+re+")?",Le="[\\ufe0e\\ufe0f]?",Xe=Le+Ae+"(?:\\u200d(?:"+[ve,q,oe].join("|")+")"+Le+Ae+")*",Oe="(?:"+[ve+pe+"?",pe,q,oe,K].join("|")+")",$e=RegExp(re+"(?="+re+")|"+Oe+Xe,"g");xe.exports=function et(tt){for(var qe=$e.lastIndex=0;$e.test(tt);)++qe;return qe}},6319:xe=>{var J="\\ud800-\\udfff",K="["+J+"]",pe="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",re="\\ud83c[\\udffb-\\udfff]",ve="[^"+J+"]",q="(?:\\ud83c[\\udde6-\\uddff]){2}",oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="(?:"+pe+"|"+re+")?",Le="[\\ufe0e\\ufe0f]?",Xe=Le+Ae+"(?:\\u200d(?:"+[ve,q,oe].join("|")+")"+Le+Ae+")*",Oe="(?:"+[ve+pe+"?",pe,q,oe,K].join("|")+")",$e=RegExp(re+"(?="+re+")|"+Oe+Xe,"g");xe.exports=function et(tt){return tt.match($e)||[]}},910:xe=>{var J="\\ud800-\\udfff",X="\\u2700-\\u27bf",K="a-z\\xdf-\\xf6\\xf8-\\xff",q="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\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",Le="["+Se+"]",Xe="\\d+",Oe="["+X+"]",$e="["+K+"]",et="[^"+J+Se+Xe+X+K+q+"]",Ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Xt="[\\ud800-\\udbff][\\udc00-\\udfff]",bt="["+q+"]",Ce="(?:"+$e+"|"+et+")",Q="(?:"+bt+"|"+et+")",me="(?:['’](?:d|ll|m|re|s|t|ve))?",Ie="(?:['’](?:D|LL|M|RE|S|T|VE))?",be="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Ne="[\\ufe0e\\ufe0f]?",cn=Ne+be+"(?:\\u200d(?:"+["[^"+J+"]",Ze,Xt].join("|")+")"+Ne+be+")*",dn="(?:"+[Oe,Ze,Xt].join("|")+")"+cn,ir=RegExp([bt+"?"+$e+"+"+me+"(?="+[Le,bt,"$"].join("|")+")",Q+"+"+Ie+"(?="+[Le,bt+Ce,"$"].join("|")+")",bt+"?"+Ce+"+"+me,bt+"+"+Ie,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xe,dn].join("|"),"g");xe.exports=function Sn(Or){return Or.match(ir)||[]}},4707:(xe,J,P)=>{var o=P(9148),v=P(3943),z=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ve=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");xe.exports=function q(oe){return(oe=v(oe))&&oe.replace(z,o).replace(ve,"")}},1503:xe=>{xe.exports=Array.isArray},4798:(xe,J,P)=>{var o=P(3337),v=P(2671);xe.exports=function X(K){return!0===K||!1===K||v(K)&&"[object Boolean]"==o(K)}},1305:xe=>{xe.exports=function J(P){return null===P}},9138:(xe,J,P)=>{var o=P(3337),v=P(2671);xe.exports=function X(K){return"number"==typeof K||v(K)&&"[object Number]"==o(K)}},5940:xe=>{xe.exports=function J(P){var o=typeof P;return null!=P&&("object"==o||"function"==o)}},2671:xe=>{xe.exports=function J(P){return null!=P&&"object"==typeof P}},7614:(xe,J,P)=>{var o=P(3337),v=P(9519),z=P(2671),re=Function.prototype.toString,ue=Object.prototype.hasOwnProperty,ve=re.call(Object);xe.exports=function q(oe){if(!z(oe)||"[object Object]"!=o(oe))return!1;var Se=v(oe);if(null===Se)return!0;var Ae=ue.call(Se,"constructor")&&Se.constructor;return"function"==typeof Ae&&Ae instanceof Ae&&re.call(Ae)==ve}},248:(xe,J,P)=>{var o=P(3337),v=P(1503),z=P(2671);xe.exports=function K(pe){return"string"==typeof pe||!v(pe)&&z(pe)&&"[object String]"==o(pe)}},4129:(xe,J,P)=>{var o=P(3337),v=P(2671);xe.exports=function X(K){return"symbol"==typeof K||v(K)&&"[object Symbol]"==o(K)}},4235:xe=>{xe.exports=function J(P){return void 0===P}},7489:function(xe,J,P){var o;xe=P.nmd(xe),function(){var v,pe="Expected a function",ue="__lodash_hash_undefined__",q="__lodash_placeholder__",nt=1/0,Pt=9007199254740991,dn=4294967295,Or=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],zn="[object Arguments]",an="[object Array]",Gn="[object Boolean]",zr="[object Date]",Ai="[object Error]",Hr="[object Function]",Nr="[object GeneratorFunction]",pr="[object Map]",Zr="[object Number]",Cr="[object Object]",Gt="[object Promise]",sr="[object RegExp]",de="[object Set]",Ve="[object String]",Re="[object Symbol]",fe="[object WeakMap]",W="[object ArrayBuffer]",Ee="[object DataView]",Pe="[object Float32Array]",rt="[object Float64Array]",pt="[object Int8Array]",$t="[object Int16Array]",_t="[object Int32Array]",Ot="[object Uint8Array]",en="[object Uint8ClampedArray]",Mn="[object Uint16Array]",Vt="[object Uint32Array]",xt=/\b__p \+= '';/g,It=/\b(__p \+=) '' \+/g,Dt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$n=/&(?:amp|lt|gt|quot|#39);/g,Zt=/[&<>"']/g,At=RegExp($n.source),fn=RegExp(Zt.source),Nt=/<%-([\s\S]+?)%>/g,yn=/<%([\s\S]+?)%>/g,Rt=/<%=([\s\S]+?)%>/g,hn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,on=/^\w*$/,gr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wr=/[\\^$.*+?()[\]{}|]/g,Wn=RegExp(wr.source),Nn=/^\s+/,mr=/\s/,ln=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,we=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,Y=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,U=/[()=,{}\[\]\/\s]/,ne=/\\(\\)?/g,Fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,Bt=/^[-+]0x[0-9a-f]+$/i,st=/^0b[01]+$/i,Et=/^\[object .+?Constructor\]$/,ze=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,St=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zt=/($^)/,Ut=/['\n\r\u2028\u2029\\]/g,Mt="\\ud800-\\udfff",In="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",tr="\\u2700-\\u27bf",xr="a-z\\xdf-\\xf6\\xf8-\\xff",vn="A-Z\\xc0-\\xd6\\xd8-\\xde",oi="\\ufe0e\\ufe0f",Ii="\\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",Ti="["+Mt+"]",vi="["+Ii+"]",ei="["+In+"]",dr="\\d+",R="["+tr+"]",j="["+xr+"]",V="[^"+Mt+Ii+dr+tr+xr+vn+"]",ie="\\ud83c[\\udffb-\\udfff]",We="[^"+Mt+"]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",ut="["+vn+"]",bn="(?:"+j+"|"+V+")",Fr="(?:"+ut+"|"+V+")",Qr="(?:['’](?:d|ll|m|re|s|t|ve))?",jr="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ci="(?:"+ei+"|"+ie+")?",oo="["+oi+"]?",ss=oo+Ci+"(?:\\u200d(?:"+[We,lt,ct].join("|")+")"+oo+Ci+")*",aa="(?:"+[R,lt,ct].join("|")+")"+ss,Aa="(?:"+[We+ei+"?",ei,lt,ct,Ti].join("|")+")",Hs=RegExp("['’]","g"),la=RegExp(ei,"g"),Cs=RegExp(ie+"(?="+ie+")|"+Aa+ss,"g"),$o=RegExp([ut+"?"+j+"+"+Qr+"(?="+[vi,ut,"$"].join("|")+")",Fr+"+"+jr+"(?="+[vi,ut+bn,"$"].join("|")+")",ut+"?"+bn+"+"+Qr,ut+"+"+jr,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",dr,aa].join("|"),"g"),zo=RegExp("[\\u200d"+Mt+In+oi+"]"),si=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,To=["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"],No=-1,fr={};fr[Pe]=fr[rt]=fr[pt]=fr[$t]=fr[_t]=fr[Ot]=fr[en]=fr[Mn]=fr[Vt]=!0,fr[zn]=fr[an]=fr[W]=fr[Gn]=fr[Ee]=fr[zr]=fr[Ai]=fr[Hr]=fr[pr]=fr[Zr]=fr[Cr]=fr[sr]=fr[de]=fr[Ve]=fr[fe]=!1;var Vn={};Vn[zn]=Vn[an]=Vn[W]=Vn[Ee]=Vn[Gn]=Vn[zr]=Vn[Pe]=Vn[rt]=Vn[pt]=Vn[$t]=Vn[_t]=Vn[pr]=Vn[Zr]=Vn[Cr]=Vn[sr]=Vn[de]=Vn[Ve]=Vn[Re]=Vn[Ot]=Vn[en]=Vn[Mn]=Vn[Vt]=!0,Vn[Ai]=Vn[Hr]=Vn[fe]=!1;var as={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ws=parseFloat,ls=parseInt,Po="object"==typeof global&&global&&global.Object===Object&&global,Wo="object"==typeof self&&self&&self.Object===Object&&self,kr=Po||Wo||Function("return this")(),ua=J&&!J.nodeType&&J,Wr=ua&&xe&&!xe.nodeType&&xe,$s=Wr&&Wr.exports===ua,Yo=$s&&Po.process,ai=function(){try{return Wr&&Wr.require&&Wr.require("util").types||Yo&&Yo.binding&&Yo.binding("util")}catch{}}(),qo=ai&&ai.isArrayBuffer,bs=ai&&ai.isDate,lr=ai&&ai.isMap,Ds=ai&&ai.isRegExp,ca=ai&&ai.isSet,Ri=ai&&ai.isTypedArray;function ur(De,ot,Ye){switch(Ye.length){case 0:return De.call(ot);case 1:return De.call(ot,Ye[0]);case 2:return De.call(ot,Ye[0],Ye[1]);case 3:return De.call(ot,Ye[0],Ye[1],Ye[2])}return De.apply(ot,Ye)}function Zo(De,ot,Ye,Ht){for(var Cn=-1,Jn=null==De?0:De.length;++Cn<Jn;){var ti=De[Cn];ot(Ht,ti,Ye(ti),De)}return Ht}function wi(De,ot){for(var Ye=-1,Ht=null==De?0:De.length;++Ye<Ht&&!1!==ot(De[Ye],Ye,De););return De}function _o(De,ot){for(var Ye=null==De?0:De.length;Ye--&&!1!==ot(De[Ye],Ye,De););return De}function $r(De,ot){for(var Ye=-1,Ht=null==De?0:De.length;++Ye<Ht;)if(!ot(De[Ye],Ye,De))return!1;return!0}function lo(De,ot){for(var Ye=-1,Ht=null==De?0:De.length,Cn=0,Jn=[];++Ye<Ht;){var ti=De[Ye];ot(ti,Ye,De)&&(Jn[Cn++]=ti)}return Jn}function Yi(De,ot){return!(null==De||!De.length)&&Qo(De,ot,0)>-1}function zs(De,ot,Ye){for(var Ht=-1,Cn=null==De?0:De.length;++Ht<Cn;)if(Ye(ot,De[Ht]))return!0;return!1}function Tn(De,ot){for(var Ye=-1,Ht=null==De?0:De.length,Cn=Array(Ht);++Ye<Ht;)Cn[Ye]=ot(De[Ye],Ye,De);return Cn}function uo(De,ot){for(var Ye=-1,Ht=ot.length,Cn=De.length;++Ye<Ht;)De[Cn+Ye]=ot[Ye];return De}function Ni(De,ot,Ye,Ht){var Cn=-1,Jn=null==De?0:De.length;for(Ht&&Jn&&(Ye=De[++Cn]);++Cn<Jn;)Ye=ot(Ye,De[Cn],Cn,De);return Ye}function gn(De,ot,Ye,Ht){var Cn=null==De?0:De.length;for(Ht&&Cn&&(Ye=De[--Cn]);Cn--;)Ye=ot(Ye,De[Cn],Cn,De);return Ye}function Ko(De,ot){for(var Ye=-1,Ht=null==De?0:De.length;++Ye<Ht;)if(ot(De[Ye],Ye,De))return!0;return!1}var el=bi("length");function Ms(De,ot,Ye){var Ht;return Ye(De,(function(Cn,Jn,ti){if(ot(Cn,Jn,ti))return Ht=Jn,!1})),Ht}function Fi(De,ot,Ye,Ht){for(var Cn=De.length,Jn=Ye+(Ht?1:-1);Ht?Jn--:++Jn<Cn;)if(ot(De[Jn],Jn,De))return Jn;return-1}function Qo(De,ot,Ye){return ot==ot?function Ia(De,ot,Ye){for(var Ht=Ye-1,Cn=De.length;++Ht<Cn;)if(De[Ht]===ot)return Ht;return-1}(De,ot,Ye):Fi(De,ft,Ye)}function da(De,ot,Ye,Ht){for(var Cn=Ye-1,Jn=De.length;++Cn<Jn;)if(Ht(De[Cn],ot))return Cn;return-1}function ft(De){return De!=De}function Fn(De,ot){var Ye=null==De?0:De.length;return Ye?hr(De,ot)/Ye:NaN}function bi(De){return function(ot){return null==ot?v:ot[De]}}function yo(De){return function(ot){return null==De?v:De[ot]}}function Sr(De,ot,Ye,Ht,Cn){return Cn(De,(function(Jn,ti,Xn){Ye=Ht?(Ht=!1,Jn):ot(Ye,Jn,ti,Xn)})),Ye}function hr(De,ot){for(var Ye,Ht=-1,Cn=De.length;++Ht<Cn;){var Jn=ot(De[Ht]);Jn!==v&&(Ye=Ye===v?Jn:Ye+Jn)}return Ye}function O(De,ot){for(var Ye=-1,Ht=Array(De);++Ye<De;)Ht[Ye]=ot(Ye);return Ht}function E(De){return De&&De.slice(0,Os(De)+1).replace(Nn,"")}function H(De){return function(ot){return De(ot)}}function Ke(De,ot){return Tn(ot,(function(Ye){return De[Ye]}))}function Wt(De,ot){return De.has(ot)}function Dr(De,ot){for(var Ye=-1,Ht=De.length;++Ye<Ht&&Qo(ot,De[Ye],0)>-1;);return Ye}function _r(De,ot){for(var Ye=De.length;Ye--&&Qo(ot,De[Ye],0)>-1;);return Ye}function Di(De,ot){for(var Ye=De.length,Ht=0;Ye--;)De[Ye]===ot&&++Ht;return Ht}var Xo=yo({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),eo=yo({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Pi(De){return"\\"+as[De]}function fi(De){return zo.test(De)}function Ss(De){var ot=-1,Ye=Array(De.size);return De.forEach((function(Ht,Cn){Ye[++ot]=[Cn,Ht]})),Ye}function Ts(De,ot){return function(Ye){return De(ot(Ye))}}function vo(De,ot){for(var Ye=-1,Ht=De.length,Cn=0,Jn=[];++Ye<Ht;){var ti=De[Ye];(ti===ot||ti===q)&&(De[Ye]=q,Jn[Cn++]=Ye)}return Jn}function Ps(De){var ot=-1,Ye=Array(De.size);return De.forEach((function(Ht){Ye[++ot]=Ht})),Ye}function Fo(De){return fi(De)?function fa(De){for(var ot=Cs.lastIndex=0;Cs.test(De);)++ot;return ot}(De):el(De)}function Zi(De){return fi(De)?function Na(De){return De.match(Cs)||[]}(De):function Es(De){return De.split("")}(De)}function Os(De){for(var ot=De.length;ot--&&mr.test(De.charAt(ot)););return ot}var Ra=yo({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Co=function De(ot){var r,Ye=(ot=null==ot?kr:Co.defaults(kr.Object(),ot,Co.pick(kr,To))).Array,Ht=ot.Date,Cn=ot.Error,Jn=ot.Function,ti=ot.Math,Xn=ot.Object,cs=ot.RegExp,ha=ot.String,Ki=ot.TypeError,Ws=Ye.prototype,to=Xn.prototype,wo=ot["__core-js_shared__"],w=Jn.prototype.toString,I=to.hasOwnProperty,D=0,L=(r=/[^.]+$/.exec(wo&&wo.keys&&wo.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",_e=to.toString,Ge=w.call(Xn),dt=kr._,Jt=cs("^"+w.call(I).replace(wr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Yn=$s?ot.Buffer:v,Bn=ot.Symbol,Kn=ot.Uint8Array,kn=Yn?Yn.allocUnsafe:v,Ar=Ts(Xn.getPrototypeOf,Xn),yr=Xn.create,Lr=to.propertyIsEnumerable,bo=Ws.splice,Ei=Bn?Bn.isConcatSpreadable:v,Qi=Bn?Bn.iterator:v,hi=Bn?Bn.toStringTag:v,ds=function(){try{var r=Vs(Xn,"defineProperty");return r({},"",{}),r}catch{}}(),xs=ot.clearTimeout!==kr.clearTimeout&&ot.clearTimeout,As=Ht&&Ht.now!==kr.Date.now&&Ht.now,bl=ot.setTimeout!==kr.setTimeout&&ot.setTimeout,no=ti.ceil,nl=ti.floor,Is=Xn.getOwnPropertySymbols,rl=Yn?Yn.isBuffer:v,Fa=ot.isFinite,ka=Ws.join,Rs=Ts(Xn.keys,Xn),li=ti.max,pi=ti.min,La=Ht.now,Ql=ot.parseInt,Dl=ti.random,Va=Ws.reverse,Ys=Vs(ot,"DataView"),fs=Vs(ot,"Map"),El=Vs(ot,"Promise"),qs=Vs(ot,"Set"),pa=Vs(ot,"WeakMap"),Oo=Vs(Xn,"create"),ui=pa&&new pa,Zs={},il=pl(Ys),ol=pl(fs),sl=pl(El),Ml=pl(qs),Ks=pl(pa),ko=Bn?Bn.prototype:v,ts=ko?ko.valueOf:v,Sl=ko?ko.toString:v;function $(r){if(ii(r)&&!Hn(r)&&!(r instanceof qt)){if(r instanceof qr)return r;if(I.call(r,"__wrapped__"))return Qu(r)}return new qr(r)}var Yr=function(){function r(){}return function(a){if(!ci(a))return{};if(yr)return yr(a);r.prototype=a;var d=new r;return r.prototype=v,d}}();function Ir(){}function qr(r,a){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=v}function qt(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=dn,this.__views__=[]}function ga(r){var a=-1,d=null==r?0:r.length;for(this.clear();++a<d;){var M=r[a];this.set(M[0],M[1])}}function Ns(r){var a=-1,d=null==r?0:r.length;for(this.clear();++a<d;){var M=r[a];this.set(M[0],M[1])}}function ni(r){var a=-1,d=null==r?0:r.length;for(this.clear();++a<d;){var M=r[a];this.set(M[0],M[1])}}function Qs(r){var a=-1,d=null==r?0:r.length;for(this.__data__=new ni;++a<d;)this.add(r[a])}function xo(r){var a=this.__data__=new Ns(r);this.size=a.size}function C(r,a){var d=Hn(r),M=!d&&zl(r),N=!d&&!M&&ia(r),Z=!d&&!M&&!N&&Gl(r),he=d||M||N||Z,Me=he?O(r.length,ha):[],Be=Me.length;for(var gt in r)(a||I.call(r,gt))&&(!he||!("length"==gt||N&&("offset"==gt||"parent"==gt)||Z&&("buffer"==gt||"byteLength"==gt||"byteOffset"==gt)||wa(gt,Be)))&&Me.push(gt);return Me}function S(r){var a=r.length;return a?r[Bo(0,a-1)]:v}function k(r,a){return vu(jo(r),Ji(a,0,r.length))}function te(r){return vu(jo(r))}function le(r,a,d){(d!==v&&!ys(r[a],d)||d===v&&!(a in r))&&Vr(r,a,d)}function je(r,a,d){var M=r[a];(!I.call(r,a)||!ys(M,d)||d===v&&!(a in r))&&Vr(r,a,d)}function wt(r,a){for(var d=r.length;d--;)if(ys(r[d][0],a))return d;return-1}function mn(r,a,d,M){return Lo(r,(function(N,Z,he){a(M,N,d(N),he)})),M}function kt(r,a){return r&&ea(a,po(a),r)}function Vr(r,a,d){"__proto__"==a&&ds?ds(r,a,{configurable:!0,enumerable:!0,value:d,writable:!0}):r[a]=d}function Do(r,a){for(var d=-1,M=a.length,N=Ye(M),Z=null==r;++d<M;)N[d]=Z?v:hh(r,a[d]);return N}function Ji(r,a,d){return r==r&&(d!==v&&(r=r<=d?r:d),a!==v&&(r=r>=a?r:a)),r}function ri(r,a,d,M,N,Z){var he,Me=1&a,Be=2&a,gt=4&a;if(d&&(he=N?d(r,M,N,Z):d(r)),he!==v)return he;if(!ci(r))return r;var ht=Hn(r);if(ht){if(he=function Kc(r){var a=r.length,d=new r.constructor(a);return a&&"string"==typeof r[0]&&I.call(r,"index")&&(d.index=r.index,d.input=r.input),d}(r),!Me)return jo(r,he)}else{var yt=So(r),jt=yt==Hr||yt==Nr;if(ia(r))return uf(r,Me);if(yt==Cr||yt==zn||jt&&!N){if(he=Be||jt?{}:Ya(r),!Me)return Be?function Gc(r,a){return ea(r,Df(r),a)}(r,function Tr(r,a){return r&&ea(a,rs(a),r)}(he,r)):function zc(r,a){return ea(r,Zu(r),a)}(r,kt(he,r))}else{if(!Vn[yt])return N?r:{};he=function lp(r,a,d){var M=r.constructor;switch(a){case W:return Hu(r);case Gn:case zr:return new M(+r);case Ee:return function rp(r,a){var d=a?Hu(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.byteLength)}(r,d);case Pe:case rt:case pt:case $t:case _t:case Ot:case en:case Mn:case Vt:return ju(r,d);case pr:return new M;case Zr:case Ve:return new M(r);case sr:return function ip(r){var a=new r.constructor(r.source,it.exec(r));return a.lastIndex=r.lastIndex,a}(r);case de:return new M;case Re:return function $c(r){return ts?Xn(ts.call(r)):{}}(r)}}(r,yt,Me)}}Z||(Z=new xo);var rn=Z.get(r);if(rn)return rn;Z.set(r,he),oc(r)?r.forEach((function(En){he.add(ri(En,a,d,En,r,Z))})):sh(r)&&r.forEach((function(En,rr){he.set(rr,ri(En,a,d,rr,r,Z))}));var Qn=ht?v:(gt?Be?qu:gu:Be?rs:po)(r);return wi(Qn||r,(function(En,rr){Qn&&(En=r[rr=En]),je(he,rr,ri(En,a,d,rr,r,Z))})),he}function ya(r,a,d){var M=d.length;if(null==r)return!M;for(r=Xn(r);M--;){var N=d[M],he=r[N];if(he===v&&!(N in r)||!(0,a[N])(he))return!1}return!0}function xl(r,a,d){if("function"!=typeof r)throw new Ki(pe);return Ku((function(){r.apply(v,d)}),a)}function Js(r,a,d,M){var N=-1,Z=Yi,he=!0,Me=r.length,Be=[],gt=a.length;if(!Me)return Be;d&&(a=Tn(a,H(d))),M?(Z=zs,he=!1):a.length>=200&&(Z=Wt,he=!1,a=new Qs(a));e:for(;++N<Me;){var ht=r[N],yt=null==d?ht:d(ht);if(ht=M||0!==ht?ht:0,he&&yt==yt){for(var jt=gt;jt--;)if(a[jt]===yt)continue e;Be.push(ht)}else Z(a,yt,M)||Be.push(ht)}return Be}$.templateSettings={escape:Nt,evaluate:yn,interpolate:Rt,variable:"",imports:{_:$}},($.prototype=Ir.prototype).constructor=$,(qr.prototype=Yr(Ir.prototype)).constructor=qr,(qt.prototype=Yr(Ir.prototype)).constructor=qt,ga.prototype.clear=function Xl(){this.__data__=Oo?Oo(null):{},this.size=0},ga.prototype.delete=function eu(r){var a=this.has(r)&&delete this.__data__[r];return this.size-=a?1:0,a},ga.prototype.get=function tu(r){var a=this.__data__;if(Oo){var d=a[r];return d===ue?v:d}return I.call(a,r)?a[r]:v},ga.prototype.has=function Ba(r){var a=this.__data__;return Oo?a[r]!==v:I.call(a,r)},ga.prototype.set=function kc(r,a){var d=this.__data__;return this.size+=this.has(r)?0:1,d[r]=Oo&&a===v?ue:a,this},Ns.prototype.clear=function gi(){this.__data__=[],this.size=0},Ns.prototype.delete=function Pl(r){var a=this.__data__,d=wt(a,r);return!(d<0||(d==a.length-1?a.pop():bo.call(a,d,1),--this.size,0))},Ns.prototype.get=function al(r){var a=this.__data__,d=wt(a,r);return d<0?v:a[d][1]},Ns.prototype.has=function Ol(r){return wt(this.__data__,r)>-1},Ns.prototype.set=function Lc(r,a){var d=this.__data__,M=wt(d,r);return M<0?(++this.size,d.push([r,a])):d[M][1]=a,this},ni.prototype.clear=function hs(){this.size=0,this.__data__={hash:new ga,map:new(fs||Ns),string:new ga}},ni.prototype.delete=function ma(r){var a=kl(this,r).delete(r);return this.size-=a?1:0,a},ni.prototype.get=function Ua(r){return kl(this,r).get(r)},ni.prototype.has=function _a(r){return kl(this,r).has(r)},ni.prototype.set=function nu(r,a){var d=kl(this,r),M=d.size;return d.set(r,a),this.size+=d.size==M?0:1,this},Qs.prototype.add=Qs.prototype.push=function Fs(r){return this.__data__.set(r,ue),this},Qs.prototype.has=function Iu(r){return this.__data__.has(r)},xo.prototype.clear=function ps(){this.__data__=new Ns,this.size=0},xo.prototype.delete=function Oi(r){var a=this.__data__,d=a.delete(r);return this.size=a.size,d},xo.prototype.get=function p(r){return this.__data__.get(r)},xo.prototype.has=function _(r){return this.__data__.has(r)},xo.prototype.set=function h(r,a){var d=this.__data__;if(d instanceof Ns){var M=d.__data__;if(!fs||M.length<199)return M.push([r,a]),this.size=++d.size,this;d=this.__data__=new ni(M)}return d.set(r,a),this.size=d.size,this};var Lo=cl(ks),iu=cl(Al,!0);function Jr(r,a){var d=!0;return Lo(r,(function(M,N,Z){return d=!!a(M,N,Z)})),d}function Ha(r,a,d){for(var M=-1,N=r.length;++M<N;){var Z=r[M],he=a(Z);if(null!=he&&(Me===v?he==he&&!Io(he):d(he,Me)))var Me=he,Be=Z}return Be}function ll(r,a){var d=[];return Lo(r,(function(M,N,Z){a(M,N,Z)&&d.push(M)})),d}function mi(r,a,d,M,N){var Z=-1,he=r.length;for(d||(d=i_),N||(N=[]);++Z<he;){var Me=r[Z];a>0&&d(Me)?a>1?mi(Me,a-1,d,M,N):uo(N,Me):M||(N[N.length]=Me)}return N}var ou=$u(),Nu=$u(!0);function ks(r,a){return r&&ou(r,a,po)}function Al(r,a){return r&&Nu(r,a,po)}function va(r,a){return lo(a,(function(d){return Ma(r[d])}))}function m(r,a){for(var d=0,M=(a=za(a,r)).length;null!=r&&d<M;)r=r[ra(a[d++])];return d&&d==M?r:v}function c(r,a,d){var M=a(r);return Hn(r)?M:uo(M,d(r))}function l(r){return null==r?r===v?"[object Undefined]":"[object Null]":hi&&hi in Xn(r)?function ap(r){var a=I.call(r,hi),d=r[hi];try{r[hi]=v;var M=!0}catch{}var N=_e.call(r);return M&&(a?r[hi]=d:delete r[hi]),N}(r):function hp(r){return _e.call(r)}(r)}function g(r,a){return r>a}function x(r,a){return null!=r&&I.call(r,a)}function F(r,a){return null!=r&&a in Xn(r)}function ge(r,a,d){for(var M=d?zs:Yi,N=r[0].length,Z=r.length,he=Z,Me=Ye(Z),Be=1/0,gt=[];he--;){var ht=r[he];he&&a&&(ht=Tn(ht,H(a))),Be=pi(ht.length,Be),Me[he]=!d&&(a||N>=120&&ht.length>=120)?new Qs(he&&ht):v}ht=r[0];var yt=-1,jt=Me[0];e:for(;++yt<N&&gt.length<Be;){var rn=ht[yt],On=a?a(rn):rn;if(rn=d||0!==rn?rn:0,!(jt?Wt(jt,On):M(gt,On,d))){for(he=Z;--he;){var Qn=Me[he];if(!(Qn?Wt(Qn,On):M(r[he],On,d)))continue e}jt&&jt.push(On),gt.push(rn)}}return gt}function Je(r,a,d){var M=null==(r=ba(r,a=za(a,r)))?r:r[ra(_s(a))];return null==M?v:ur(M,r,d)}function Ft(r){return ii(r)&&l(r)==zn}function Rn(r,a,d,M,N){return r===a||(null==r||null==a||!ii(r)&&!ii(a)?r!=r&&a!=a:function Dn(r,a,d,M,N,Z){var he=Hn(r),Me=Hn(a),Be=he?an:So(r),gt=Me?an:So(a),ht=(Be=Be==zn?Cr:Be)==Cr,yt=(gt=gt==zn?Cr:gt)==Cr,jt=Be==gt;if(jt&&ia(r)){if(!ia(a))return!1;he=!0,ht=!1}if(jt&&!ht)return Z||(Z=new xo),he||Gl(r)?Cf(r,a,d,M,N,Z):function wf(r,a,d,M,N,Z,he){switch(d){case Ee:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case W:return!(r.byteLength!=a.byteLength||!Z(new Kn(r),new Kn(a)));case Gn:case zr:case Zr:return ys(+r,+a);case Ai:return r.name==a.name&&r.message==a.message;case sr:case Ve:return r==a+"";case pr:var Me=Ss;case de:if(Me||(Me=Ps),r.size!=a.size&&!(1&M))return!1;var gt=he.get(r);if(gt)return gt==a;M|=2,he.set(r,a);var ht=Cf(Me(r),Me(a),M,N,Z,he);return he.delete(r),ht;case Re:if(ts)return ts.call(r)==ts.call(a)}return!1}(r,a,Be,d,M,N,Z);if(!(1&d)){var rn=ht&&I.call(r,"__wrapped__"),On=yt&&I.call(a,"__wrapped__");if(rn||On){var Qn=rn?r.value():r,En=On?a.value():a;return Z||(Z=new xo),N(Qn,En,d,M,Z)}}return!!jt&&(Z||(Z=new xo),function bf(r,a,d,M,N,Z){var he=1&d,Me=gu(r),Be=Me.length;if(Be!=gu(a).length&&!he)return!1;for(var yt=Be;yt--;){var jt=Me[yt];if(!(he?jt in a:I.call(a,jt)))return!1}var rn=Z.get(r),On=Z.get(a);if(rn&&On)return rn==a&&On==r;var Qn=!0;Z.set(r,a),Z.set(a,r);for(var En=he;++yt<Be;){var rr=r[jt=Me[yt]],jn=a[jt];if(M)var go=he?M(jn,rr,jt,a,r,Z):M(rr,jn,jt,r,a,Z);if(!(go===v?rr===jn||N(rr,jn,d,M,Z):go)){Qn=!1;break}En||(En="constructor"==jt)}if(Qn&&!En){var Rr=r.constructor,Xi=a.constructor;Rr!=Xi&&"constructor"in r&&"constructor"in a&&!("function"==typeof Rr&&Rr instanceof Rr&&"function"==typeof Xi&&Xi instanceof Xi)&&(Qn=!1)}return Z.delete(r),Z.delete(a),Qn}(r,a,d,M,N,Z))}(r,a,d,M,Rn,N))}function br(r,a,d,M){var N=d.length,Z=N,he=!M;if(null==r)return!Z;for(r=Xn(r);N--;){var Me=d[N];if(he&&Me[2]?Me[1]!==r[Me[0]]:!(Me[0]in r))return!1}for(;++N<Z;){var Be=(Me=d[N])[0],gt=r[Be],ht=Me[1];if(he&&Me[2]){if(gt===v&&!(Be in r))return!1}else{var yt=new xo;if(M)var jt=M(gt,ht,Be,r,a,yt);if(!(jt===v?Rn(ht,gt,3,M,yt):jt))return!1}}return!0}function Br(r){return!(!ci(r)||function Jc(r){return!!L&&L in r}(r))&&(Ma(r)?Jt:Et).test(pl(r))}function Ca(r){return"function"==typeof r?r:null==r?_i:"object"==typeof r?Hn(r)?su(r[0],r[1]):gs(r):_c(r)}function Ao(r){if(!Vl(r))return Rs(r);var a=[];for(var d in Xn(r))I.call(r,d)&&"constructor"!=d&&a.push(d);return a}function Vo(r,a){return r<a}function Ls(r,a){var d=-1,M=ji(r)?Ye(r.length):[];return Lo(r,(function(N,Z,he){M[++d]=a(N,Z,he)})),M}function gs(r){var a=mu(r);return 1==a.length&&a[0][2]?ed(a[0][0],a[0][1]):function(d){return d===r||br(d,r,a)}}function su(r,a){return Qc(r)&&Xc(a)?ed(ra(r),a):function(d){var M=hh(d,r);return M===v&&M===a?dc(d,r):Rn(a,M,3)}}function ms(r,a,d,M,N){r!==a&&ou(a,(function(Z,he){if(N||(N=new xo),ci(Z))!function ja(r,a,d,M,N,Z,he){var Me=td(r,d),Be=td(a,d),gt=he.get(Be);if(gt)le(r,d,gt);else{var ht=Z?Z(Me,Be,d+"",r,a,he):v,yt=ht===v;if(yt){var jt=Hn(Be),rn=!jt&&ia(Be),On=!jt&&!rn&&Gl(Be);ht=Be,jt||rn||On?Hn(Me)?ht=Me:xi(Me)?ht=jo(Me):rn?(yt=!1,ht=uf(Be,!0)):On?(yt=!1,ht=ju(Be,!0)):ht=[]:Mu(Be)||zl(Be)?(ht=Me,zl(Me)?ht=lc(Me):(!ci(Me)||Ma(Me))&&(ht=Ya(Be))):yt=!1}yt&&(he.set(Be,ht),N(ht,Be,M,Z,he),he.delete(Be)),le(r,d,ht)}}(r,a,he,d,ms,M,N);else{var Me=M?M(td(r,he),Z,he+"",r,a,N):v;Me===v&&(Me=Z),le(r,he,Me)}}),rs)}function Fu(r,a){var d=r.length;if(d)return wa(a+=a<0?d:0,d)?r[a]:v}function ul(r,a,d){a=a.length?Tn(a,(function(Z){return Hn(Z)?function(he){return m(he,1===Z.length?Z[0]:Z)}:Z})):[_i];var M=-1;return a=Tn(a,H(wn())),function Jo(De,ot){var Ye=De.length;for(De.sort(ot);Ye--;)De[Ye]=De[Ye].value;return De}(Ls(r,(function(Z,he,Me){return{criteria:Tn(a,(function(gt){return gt(Z)})),index:++M,value:Z}})),(function(Z,he){return function df(r,a,d){for(var M=-1,N=r.criteria,Z=a.criteria,he=N.length,Me=d.length;++M<he;){var Be=cf(N[M],Z[M]);if(Be)return M>=Me?Be:Be*("desc"==d[M]?-1:1)}return r.index-a.index}(Z,he,d)}))}function _n(r,a,d){for(var M=-1,N=a.length,Z={};++M<N;){var he=a[M],Me=m(r,he);d(Me,he)&&Pr(Z,za(he,r),Me)}return Z}function cr(r,a,d,M){var N=M?da:Qo,Z=-1,he=a.length,Me=r;for(r===a&&(a=jo(a)),d&&(Me=Tn(r,H(d)));++Z<he;)for(var Be=0,gt=a[Z],ht=d?d(gt):gt;(Be=N(Me,ht,Be,M))>-1;)Me!==r&&bo.call(Me,Be,1),bo.call(r,Be,1);return r}function Ui(r,a){for(var d=r?a.length:0,M=d-1;d--;){var N=a[d];if(d==M||N!==Z){var Z=N;wa(N)?bo.call(r,N,1):fo(r,N)}}return r}function Bo(r,a){return r+nl(Dl()*(a-r+1))}function Uo(r,a){var d="";if(!r||a<1||a>Pt)return d;do{a%2&&(d+=r),(a=nl(a/2))&&(r+=r)}while(a);return d}function nn(r,a){return Pf(Tf(r,a,_i),r+"")}function au(r){return S(Yl(r))}function ku(r,a){var d=Yl(r);return vu(d,Ji(a,0,d.length))}function Pr(r,a,d,M){if(!ci(r))return r;for(var N=-1,Z=(a=za(a,r)).length,he=Z-1,Me=r;null!=Me&&++N<Z;){var Be=ra(a[N]),gt=d;if("__proto__"===Be||"constructor"===Be||"prototype"===Be)return r;if(N!=he){var ht=Me[Be];(gt=M?M(ht,Be,Me):v)===v&&(gt=ci(ht)?ht:wa(a[N+1])?[]:{})}je(Me,Be,gt),Me=Me[Be]}return r}var Xs=ui?function(r,a){return ui.set(r,a),r}:_i,Ho=ds?function(r,a){return ds(r,"toString",{configurable:!0,enumerable:!1,value:jd(a),writable:!0})}:_i;function Il(r){return vu(Yl(r))}function co(r,a,d){var M=-1,N=r.length;a<0&&(a=-a>N?0:N+a),(d=d>N?N:d)<0&&(d+=N),N=a>d?0:d-a>>>0,a>>>=0;for(var Z=Ye(N);++M<N;)Z[M]=r[M+a];return Z}function Vc(r,a){var d;return Lo(r,(function(M,N,Z){return!(d=a(M,N,Z))})),!!d}function Lu(r,a,d){var M=0,N=null==r?M:r.length;if("number"==typeof a&&a==a&&N<=2147483647){for(;M<N;){var Z=M+N>>>1,he=r[Z];null!==he&&!Io(he)&&(d?he<=a:he<a)?M=Z+1:N=Z}return N}return Bc(r,a,_i,d)}function Bc(r,a,d,M){var N=0,Z=null==r?0:r.length;if(0===Z)return 0;for(var he=(a=d(a))!=a,Me=null===a,Be=Io(a),gt=a===v;N<Z;){var ht=nl((N+Z)/2),yt=d(r[ht]),jt=yt!==v,rn=null===yt,On=yt==yt,Qn=Io(yt);if(he)var En=M||On;else En=gt?On&&(M||jt):Me?On&&jt&&(M||!rn):Be?On&&jt&&!rn&&(M||!Qn):!rn&&!Qn&&(M?yt<=a:yt<a);En?N=ht+1:Z=ht}return pi(Z,4294967294)}function af(r,a){for(var d=-1,M=r.length,N=0,Z=[];++d<M;){var he=r[d],Me=a?a(he):he;if(!d||!ys(Me,Be)){var Be=Me;Z[N++]=0===he?0:he}}return Z}function Uc(r){return"number"==typeof r?r:Io(r)?NaN:+r}function ns(r){if("string"==typeof r)return r;if(Hn(r))return Tn(r,ns)+"";if(Io(r))return Sl?Sl.call(r):"";var a=r+"";return"0"==a&&1/r==-nt?"-0":a}function $a(r,a,d){var M=-1,N=Yi,Z=r.length,he=!0,Me=[],Be=Me;if(d)he=!1,N=zs;else if(Z>=200){var gt=a?null:dl(r);if(gt)return Ps(gt);he=!1,N=Wt,Be=new Qs}else Be=a?[]:Me;e:for(;++M<Z;){var ht=r[M],yt=a?a(ht):ht;if(ht=d||0!==ht?ht:0,he&&yt==yt){for(var jt=Be.length;jt--;)if(Be[jt]===yt)continue e;a&&Be.push(yt),Me.push(ht)}else N(Be,yt,d)||(Be!==Me&&Be.push(yt),Me.push(ht))}return Me}function fo(r,a){return null==(r=ba(r,a=za(a,r)))||delete r[ra(_s(a))]}function Vu(r,a,d,M){return Pr(r,a,d(m(r,a)),M)}function lu(r,a,d,M){for(var N=r.length,Z=M?N:-1;(M?Z--:++Z<N)&&a(r[Z],Z,r););return d?co(r,M?0:Z,M?Z+1:N):co(r,M?Z+1:0,M?N:Z)}function Bu(r,a){var d=r;return d instanceof qt&&(d=d.value()),Ni(a,(function(M,N){return N.func.apply(N.thisArg,uo([M],N.args))}),d)}function io(r,a,d){var M=r.length;if(M<2)return M?$a(r[0]):[];for(var N=-1,Z=Ye(M);++N<M;)for(var he=r[N],Me=-1;++Me<M;)Me!=N&&(Z[N]=Js(Z[N]||he,r[Me],a,d));return $a(mi(Z,1),a,d)}function Rl(r,a,d){for(var M=-1,N=r.length,Z=a.length,he={};++M<N;)d(he,r[M],M<Z?a[M]:v);return he}function Uu(r){return xi(r)?r:[]}function Hc(r){return"function"==typeof r?r:_i}function za(r,a){return Hn(r)?r:Qc(r,a)?[r]:Of(Er(r))}var lf=nn;function Ga(r,a,d){var M=r.length;return d=d===v?M:d,!a&&d>=M?r:co(r,a,d)}var jc=xs||function(r){return kr.clearTimeout(r)};function uf(r,a){if(a)return r.slice();var d=r.length,M=kn?kn(d):new r.constructor(d);return r.copy(M),M}function Hu(r){var a=new r.constructor(r.byteLength);return new Kn(a).set(new Kn(r)),a}function ju(r,a){var d=a?Hu(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.length)}function cf(r,a){if(r!==a){var d=r!==v,M=null===r,N=r==r,Z=Io(r),he=a!==v,Me=null===a,Be=a==a,gt=Io(a);if(!Me&&!gt&&!Z&&r>a||Z&&he&&Be&&!Me&&!gt||M&&he&&Be||!d&&Be||!N)return 1;if(!M&&!Z&&!gt&&r<a||gt&&d&&N&&!M&&!Z||Me&&d&&N||!he&&N||!Be)return-1}return 0}function ff(r,a,d,M){for(var N=-1,Z=r.length,he=d.length,Me=-1,Be=a.length,gt=li(Z-he,0),ht=Ye(Be+gt),yt=!M;++Me<Be;)ht[Me]=a[Me];for(;++N<he;)(yt||N<Z)&&(ht[d[N]]=r[N]);for(;gt--;)ht[Me++]=r[N++];return ht}function Nl(r,a,d,M){for(var N=-1,Z=r.length,he=-1,Me=d.length,Be=-1,gt=a.length,ht=li(Z-Me,0),yt=Ye(ht+gt),jt=!M;++N<ht;)yt[N]=r[N];for(var rn=N;++Be<gt;)yt[rn+Be]=a[Be];for(;++he<Me;)(jt||N<Z)&&(yt[rn+d[he]]=r[N++]);return yt}function jo(r,a){var d=-1,M=r.length;for(a||(a=Ye(M));++d<M;)a[d]=r[d];return a}function ea(r,a,d,M){var N=!d;d||(d={});for(var Z=-1,he=a.length;++Z<he;){var Me=a[Z],Be=M?M(d[Me],r[Me],Me,d,r):v;Be===v&&(Be=r[Me]),N?Vr(d,Me,Be):je(d,Me,Be)}return d}function uu(r,a){return function(d,M){var N=Hn(d)?Zo:mn,Z=a?a():{};return N(d,r,wn(M,2),Z)}}function cu(r){return nn((function(a,d){var M=-1,N=d.length,Z=N>1?d[N-1]:v,he=N>2?d[2]:v;for(Z=r.length>3&&"function"==typeof Z?(N--,Z):v,he&&ho(d[0],d[1],he)&&(Z=N<3?v:Z,N=1),a=Xn(a);++M<N;){var Me=d[M];Me&&r(a,Me,M,Z)}return a}))}function cl(r,a){return function(d,M){if(null==d)return d;if(!ji(d))return r(d,M);for(var N=d.length,Z=a?N:-1,he=Xn(d);(a?Z--:++Z<N)&&!1!==M(he[Z],Z,he););return d}}function $u(r){return function(a,d,M){for(var N=-1,Z=Xn(a),he=M(a),Me=he.length;Me--;){var Be=he[r?Me:++N];if(!1===d(Z[Be],Be,Z))break}return a}}function pf(r){return function(a){var d=fi(a=Er(a))?Zi(a):v,M=d?d[0]:a.charAt(0),N=d?Ga(d,1).join(""):a.slice(1);return M[r]()+N}}function Wa(r){return function(a){return Ni(Sh(pc(a).replace(Hs,"")),r,"")}}function du(r){return function(){var a=arguments;switch(a.length){case 0:return new r;case 1:return new r(a[0]);case 2:return new r(a[0],a[1]);case 3:return new r(a[0],a[1],a[2]);case 4:return new r(a[0],a[1],a[2],a[3]);case 5:return new r(a[0],a[1],a[2],a[3],a[4]);case 6:return new r(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new r(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var d=Yr(r.prototype),M=r.apply(d,a);return ci(M)?M:d}}function gf(r){return function(a,d,M){var N=Xn(a);if(!ji(a)){var Z=wn(d,3);a=po(a),d=function(Me){return Z(N[Me],Me,N)}}var he=r(a,d,M);return he>-1?N[Z?a[he]:he]:v}}function mf(r){return na((function(a){var d=a.length,M=d,N=qr.prototype.thru;for(r&&a.reverse();M--;){var Z=a[M];if("function"!=typeof Z)throw new Ki(pe);if(N&&!he&&"wrapper"==fl(Z))var he=new qr([],!0)}for(M=he?M:d;++M<d;){var Me=fl(Z=a[M]),Be="wrapper"==Me?Fl(Z):v;he=Be&&Ll(Be[0])&&424==Be[1]&&!Be[4].length&&1==Be[9]?he[fl(Be[0])].apply(he,Be[3]):1==Z.length&&Ll(Z)?he[Me]():he.thru(Z)}return function(){var gt=arguments,ht=gt[0];if(he&&1==gt.length&&Hn(ht))return he.plant(ht).value();for(var yt=0,jt=d?a[yt].apply(this,gt):ht;++yt<d;)jt=a[yt].call(this,jt);return jt}}))}function zu(r,a,d,M,N,Z,he,Me,Be,gt){var ht=128&a,yt=1&a,jt=2&a,rn=24&a,On=512&a,Qn=jt?v:du(r);return function En(){for(var rr=arguments.length,jn=Ye(rr),go=rr;go--;)jn[go]=arguments[go];if(rn)var Rr=hl(En),Xi=Di(jn,Rr);if(M&&(jn=ff(jn,M,N,rn)),Z&&(jn=Nl(jn,Z,he,rn)),rr-=Xi,rn&&rr<gt){var di=vo(jn,Rr);return Yc(r,a,zu,En.placeholder,d,jn,di,Me,Be,gt-rr)}var Mi=yt?d:this,Us=jt?Mi[r]:r;return rr=jn.length,Me?jn=yu(jn,Me):On&&rr>1&&jn.reverse(),ht&&Be<rr&&(jn.length=Be),this&&this!==kr&&this instanceof En&&(Us=Qn||du(Us)),Us.apply(Mi,jn)}}function _f(r,a){return function(d,M){return function ke(r,a,d,M){return ks(r,(function(N,Z,he){a(M,d(N),Z,he)})),M}(d,r,a(M),{})}}function fu(r,a){return function(d,M){var N;if(d===v&&M===v)return a;if(d!==v&&(N=d),M!==v){if(N===v)return M;"string"==typeof d||"string"==typeof M?(d=ns(d),M=ns(M)):(d=Uc(d),M=Uc(M)),N=r(d,M)}return N}}function hu(r){return na((function(a){return a=Tn(a,H(wn())),nn((function(d){var M=this;return r(a,(function(N){return ur(N,M,d)}))}))}))}function pu(r,a){var d=(a=a===v?" ":ns(a)).length;if(d<2)return d?Uo(a,r):a;var M=Uo(a,no(r/Fo(a)));return fi(a)?Ga(Zi(M),0,r).join(""):M.slice(0,r)}function yf(r){return function(a,d,M){return M&&"number"!=typeof M&&ho(a,d,M)&&(d=M=v),a=oa(a),d===v?(d=a,a=0):d=oa(d),function Mo(r,a,d,M){for(var N=-1,Z=li(no((a-r)/(d||1)),0),he=Ye(Z);Z--;)he[M?Z:++N]=r,r+=d;return he}(a,d,M=M===v?a<d?1:-1:oa(M),r)}}function Gu(r){return function(a,d){return"string"==typeof a&&"string"==typeof d||(a=$i(a),d=$i(d)),r(a,d)}}function Yc(r,a,d,M,N,Z,he,Me,Be,gt){var ht=8&a;a|=ht?32:64,4&(a&=~(ht?64:32))||(a&=-4);var Qn=[r,a,N,ht?Z:v,ht?he:v,ht?v:Z,ht?v:he,Me,Be,gt],En=d.apply(v,Qn);return Ll(r)&&pp(En,Qn),En.placeholder=M,gp(En,r,a)}function Wu(r){var a=ti[r];return function(d,M){if(d=$i(d),(M=null==M?0:pi(Zn(M),292))&&Fa(d)){var N=(Er(d)+"e").split("e");return+((N=(Er(a(N[0]+"e"+(+N[1]+M)))+"e").split("e"))[0]+"e"+(+N[1]-M))}return a(d)}}var dl=qs&&1/Ps(new qs([,-0]))[1]==nt?function(r){return new qs(r)}:zd;function qc(r){return function(a){var d=So(a);return d==pr?Ss(a):d==de?function wl(De){var ot=-1,Ye=Array(De.size);return De.forEach((function(Ht){Ye[++ot]=[Ht,Ht]})),Ye}(a):function T(De,ot){return Tn(ot,(function(Ye){return[Ye,De[Ye]]}))}(a,r(a))}}function ta(r,a,d,M,N,Z,he,Me){var Be=2&a;if(!Be&&"function"!=typeof r)throw new Ki(pe);var gt=M?M.length:0;if(gt||(a&=-97,M=N=v),he=he===v?he:li(Zn(he),0),Me=Me===v?Me:Zn(Me),gt-=N?N.length:0,64&a){var ht=M,yt=N;M=N=v}var jt=Be?v:Fl(r),rn=[r,a,d,M,N,ht,yt,Z,he,Me];if(jt&&function dp(r,a){var d=r[1],M=a[1],N=d|M;if(!(N<131||(128==M&&8==d||128==M&&256==d&&r[7].length<=a[8]||384==M&&a[7].length<=a[8]&&8==d)))return r;1&M&&(r[2]=a[2],N|=1&d?0:4);var Me=a[3];if(Me){var Be=r[3];r[3]=Be?ff(Be,Me,a[4]):Me,r[4]=Be?vo(r[3],q):a[4]}(Me=a[5])&&(r[5]=(Be=r[5])?Nl(Be,Me,a[6]):Me,r[6]=Be?vo(r[5],q):a[6]),(Me=a[7])&&(r[7]=Me),128&M&&(r[8]=null==r[8]?a[8]:pi(r[8],a[8])),null==r[9]&&(r[9]=a[9]),r[0]=a[0],r[1]=N}(rn,jt),r=rn[0],a=rn[1],d=rn[2],M=rn[3],N=rn[4],!(Me=rn[9]=rn[9]===v?Be?0:r.length:li(rn[9]-gt,0))&&24&a&&(a&=-25),a&&1!=a)On=8==a||16==a?function op(r,a,d){var M=du(r);return function N(){for(var Z=arguments.length,he=Ye(Z),Me=Z,Be=hl(N);Me--;)he[Me]=arguments[Me];var gt=Z<3&&he[0]!==Be&&he[Z-1]!==Be?[]:vo(he,Be);return(Z-=gt.length)<d?Yc(r,a,zu,N.placeholder,v,he,gt,v,v,d-Z):ur(this&&this!==kr&&this instanceof N?M:r,this,he)}}(r,a,Me):32!=a&&33!=a||N.length?zu.apply(v,rn):function Wc(r,a,d,M){var N=1&a,Z=du(r);return function he(){for(var Me=-1,Be=arguments.length,gt=-1,ht=M.length,yt=Ye(ht+Be),jt=this&&this!==kr&&this instanceof he?Z:r;++gt<ht;)yt[gt]=M[gt];for(;Be--;)yt[gt++]=arguments[++Me];return ur(jt,N?d:this,yt)}}(r,a,d,M);else var On=function hf(r,a,d){var M=1&a,N=du(r);return function Z(){return(this&&this!==kr&&this instanceof Z?N:r).apply(M?d:this,arguments)}}(r,a,d);return gp((jt?Xs:pp)(On,rn),r,a)}function vf(r,a,d,M){return r===v||ys(r,to[d])&&!I.call(M,d)?a:r}function sp(r,a,d,M,N,Z){return ci(r)&&ci(a)&&(Z.set(a,r),ms(r,a,v,sp,Z),Z.delete(a)),r}function Yu(r){return Mu(r)?v:r}function Cf(r,a,d,M,N,Z){var he=1&d,Me=r.length,Be=a.length;if(Me!=Be&&!(he&&Be>Me))return!1;var gt=Z.get(r),ht=Z.get(a);if(gt&&ht)return gt==a&&ht==r;var yt=-1,jt=!0,rn=2&d?new Qs:v;for(Z.set(r,a),Z.set(a,r);++yt<Me;){var On=r[yt],Qn=a[yt];if(M)var En=he?M(Qn,On,yt,a,r,Z):M(On,Qn,yt,r,a,Z);if(En!==v){if(En)continue;jt=!1;break}if(rn){if(!Ko(a,(function(rr,jn){if(!Wt(rn,jn)&&(On===rr||N(On,rr,d,M,Z)))return rn.push(jn)}))){jt=!1;break}}else if(On!==Qn&&!N(On,Qn,d,M,Z)){jt=!1;break}}return Z.delete(r),Z.delete(a),jt}function na(r){return Pf(Tf(r,v,Rf),r+"")}function gu(r){return c(r,po,Zu)}function qu(r){return c(r,rs,Df)}var Fl=ui?function(r){return ui.get(r)}:zd;function fl(r){for(var a=r.name+"",d=Zs[a],M=I.call(Zs,a)?d.length:0;M--;){var N=d[M],Z=N.func;if(null==Z||Z==r)return N.name}return a}function hl(r){return(I.call($,"placeholder")?$:r).placeholder}function wn(){var r=$.iteratee||Su;return r=r===Su?Ca:r,arguments.length?r(arguments[0],arguments[1]):r}function kl(r,a){var d=r.__data__;return function Mf(r){var a=typeof r;return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==r:null===r}(a)?d["string"==typeof a?"string":"hash"]:d.map}function mu(r){for(var a=po(r),d=a.length;d--;){var M=a[d],N=r[M];a[d]=[M,N,Xc(N)]}return a}function Vs(r,a){var d=function es(De,ot){return null==De?v:De[ot]}(r,a);return Br(d)?d:v}var Zu=Is?function(r){return null==r?[]:(r=Xn(r),lo(Is(r),(function(a){return Lr.call(r,a)})))}:Ah,Df=Is?function(r){for(var a=[];r;)uo(a,Zu(r)),r=Ar(r);return a}:Ah,So=l;function _u(r,a,d){for(var M=-1,N=(a=za(a,r)).length,Z=!1;++M<N;){var he=ra(a[M]);if(!(Z=null!=r&&d(r,he)))break;r=r[he]}return Z||++M!=N?Z:!!(N=null==r?0:r.length)&&rc(N)&&wa(he,N)&&(Hn(r)||zl(r))}function Ya(r){return"function"!=typeof r.constructor||Vl(r)?{}:Yr(Ar(r))}function i_(r){return Hn(r)||zl(r)||!!(Ei&&r&&r[Ei])}function wa(r,a){var d=typeof r;return!!(a=a??Pt)&&("number"==d||"symbol"!=d&&vt.test(r))&&r>-1&&r%1==0&&r<a}function ho(r,a,d){if(!ci(d))return!1;var M=typeof a;return!!("number"==M?ji(d)&&wa(a,d.length):"string"==M&&a in d)&&ys(d[a],r)}function Qc(r,a){if(Hn(r))return!1;var d=typeof r;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=r&&!Io(r))||on.test(r)||!hn.test(r)||null!=a&&r in Xn(a)}function Ll(r){var a=fl(r),d=$[a];if("function"!=typeof d||!(a in qt.prototype))return!1;if(r===d)return!0;var M=Fl(d);return!!M&&r===M[0]}(Ys&&So(new Ys(new ArrayBuffer(1)))!=Ee||fs&&So(new fs)!=pr||El&&So(El.resolve())!=Gt||qs&&So(new qs)!=de||pa&&So(new pa)!=fe)&&(So=function(r){var a=l(r),d=a==Cr?r.constructor:v,M=d?pl(d):"";if(M)switch(M){case il:return Ee;case ol:return pr;case sl:return Gt;case Ml:return de;case Ks:return fe}return a});var Sf=wo?Ma:vc;function Vl(r){var a=r&&r.constructor;return r===("function"==typeof a&&a.prototype||to)}function Xc(r){return r==r&&!ci(r)}function ed(r,a){return function(d){return null!=d&&d[r]===a&&(a!==v||r in Xn(d))}}function Tf(r,a,d){return a=li(a===v?r.length-1:a,0),function(){for(var M=arguments,N=-1,Z=li(M.length-a,0),he=Ye(Z);++N<Z;)he[N]=M[a+N];N=-1;for(var Me=Ye(a+1);++N<a;)Me[N]=M[N];return Me[a]=d(he),ur(r,this,Me)}}function ba(r,a){return a.length<2?r:m(r,co(a,0,-1))}function yu(r,a){for(var d=r.length,M=pi(a.length,d),N=jo(r);M--;){var Z=a[M];r[M]=wa(Z,d)?N[Z]:v}return r}function td(r,a){if(("constructor"!==a||"function"!=typeof r[a])&&"__proto__"!=a)return r[a]}var pp=mp(Xs),Ku=bl||function(r,a){return kr.setTimeout(r,a)},Pf=mp(Ho);function gp(r,a,d){var M=a+"";return Pf(r,function up(r,a){var d=a.length;if(!d)return r;var M=d-1;return a[M]=(d>1?"& ":"")+a[M],a=a.join(d>2?", ":" "),r.replace(ln,"{\n/* [wrapped with "+a+"] */\n")}(M,function _p(r,a){return wi(Or,(function(d){var M="_."+d[0];a&d[1]&&!Yi(r,M)&&r.push(M)})),r.sort()}(function Zc(r){var a=r.match(we);return a?a[1].split(ae):[]}(M),d)))}function mp(r){var a=0,d=0;return function(){var M=La(),N=16-(M-d);if(d=M,N>0){if(++a>=800)return arguments[0]}else a=0;return r.apply(v,arguments)}}function vu(r,a){var d=-1,M=r.length,N=M-1;for(a=a===v?M:a;++d<a;){var Z=Bo(d,N),he=r[Z];r[Z]=r[d],r[d]=he}return r.length=a,r}var Of=function cp(r){var a=tc(r,(function(M){return 500===d.size&&d.clear(),M})),d=a.cache;return a}((function(r){var a=[];return 46===r.charCodeAt(0)&&a.push(""),r.replace(gr,(function(d,M,N,Z){a.push(N?Z.replace(ne,"$1"):M||d)})),a}));function ra(r){if("string"==typeof r||Io(r))return r;var a=r+"";return"0"==a&&1/r==-nt?"-0":a}function pl(r){if(null!=r){try{return w.call(r)}catch{}try{return r+""}catch{}}return""}function Qu(r){if(r instanceof qt)return r.clone();var a=new qr(r.__wrapped__,r.__chain__);return a.__actions__=jo(r.__actions__),a.__index__=r.__index__,a.__values__=r.__values__,a}var Af=nn((function(r,a){return xi(r)?Js(r,mi(a,1,xi,!0)):[]})),If=nn((function(r,a){var d=_s(a);return xi(d)&&(d=v),xi(r)?Js(r,mi(a,1,xi,!0),wn(d,2)):[]})),o_=nn((function(r,a){var d=_s(a);return xi(d)&&(d=v),xi(r)?Js(r,mi(a,1,xi,!0),v,d):[]}));function yp(r,a,d){var M=null==r?0:r.length;if(!M)return-1;var N=null==d?0:Zn(d);return N<0&&(N=li(M+N,0)),Fi(r,wn(a,3),N)}function id(r,a,d){var M=null==r?0:r.length;if(!M)return-1;var N=M-1;return d!==v&&(N=Zn(d),N=d<0?li(M+N,0):pi(N,M-1)),Fi(r,wn(a,3),N,!0)}function Rf(r){return null!=r&&r.length?mi(r,1):[]}function od(r){return r&&r.length?r[0]:v}var sd=nn((function(r){var a=Tn(r,Uu);return a.length&&a[0]===r[0]?ge(a):[]})),Dp=nn((function(r){var a=_s(r),d=Tn(r,Uu);return a===_s(d)?a=v:d.pop(),d.length&&d[0]===r[0]?ge(d,wn(a,2)):[]})),Hi=nn((function(r){var a=_s(r),d=Tn(r,Uu);return(a="function"==typeof a?a:v)&&d.pop(),d.length&&d[0]===r[0]?ge(d,v,a):[]}));function _s(r){var a=null==r?0:r.length;return a?r[a-1]:v}var Ep=nn(kf);function kf(r,a){return r&&r.length&&a&&a.length?cr(r,a):r}var Tp=na((function(r,a){var d=null==r?0:r.length,M=Do(r,a);return Ui(r,Tn(a,(function(N){return wa(N,d)?+N:N})).sort(cf)),M}));function Lf(r){return null==r?r:Va.call(r)}var gl=nn((function(r){return $a(mi(r,1,xi,!0))})),xp=nn((function(r){var a=_s(r);return xi(a)&&(a=v),$a(mi(r,1,xi,!0),wn(a,2))})),dd=nn((function(r){var a=_s(r);return a="function"==typeof a?a:v,$a(mi(r,1,xi,!0),v,a)}));function Bl(r){if(!r||!r.length)return[];var a=0;return r=lo(r,(function(d){if(xi(d))return a=li(d.length,a),!0})),O(a,(function(d){return Tn(r,bi(d))}))}function qa(r,a){if(!r||!r.length)return[];var d=Bl(r);return null==a?d:Tn(d,(function(M){return ur(a,v,M)}))}var Gf=nn((function(r,a){return xi(r)?Js(r,a):[]})),hd=nn((function(r){return io(lo(r,xi))})),Ip=nn((function(r){var a=_s(r);return xi(a)&&(a=v),io(lo(r,xi),wn(a,2))})),Rp=nn((function(r){var a=_s(r);return a="function"==typeof a?a:v,io(lo(r,xi),v,a)})),Wf=nn(Bl),Fp=nn((function(r){var a=r.length,d=a>1?r[a-1]:v;return d="function"==typeof d?(r.pop(),d):v,qa(r,d)}));function Yf(r){var a=$(r);return a.__chain__=!0,a}function Hl(r,a){return a(r)}var Lp=na((function(r){var a=r.length,d=a?r[0]:0,M=this.__wrapped__,N=function(Z){return Do(Z,r)};return!(a>1||this.__actions__.length)&&M instanceof qt&&wa(d)?((M=M.slice(d,+d+(a?1:0))).__actions__.push({func:Hl,args:[N],thisArg:v}),new qr(M,this.__chain__).thru((function(Z){return a&&!Z.length&&Z.push(v),Z}))):this.thru(N)})),jl=uu((function(r,a,d){I.call(r,d)?++r[d]:Vr(r,d,1)})),f_=gf(yp),Kf=gf(id);function pd(r,a){return(Hn(r)?wi:Lo)(r,wn(a,3))}function Qf(r,a){return(Hn(r)?_o:iu)(r,wn(a,3))}var gd=uu((function(r,a,d){I.call(r,d)?r[d].push(a):Vr(r,d,[a])})),Gp=nn((function(r,a,d){var M=-1,N="function"==typeof a,Z=ji(r)?Ye(r.length):[];return Lo(r,(function(he){Z[++M]=N?ur(a,he,d):Je(he,a,d)})),Z})),_d=uu((function(r,a,d){Vr(r,d,a)}));function Za(r,a){return(Hn(r)?Tn:Ls)(r,wn(a,3))}var Yp=uu((function(r,a,d){r[d?0:1].push(a)}),(function(){return[[],[]]})),eg=nn((function(r,a){if(null==r)return[];var d=a.length;return d>1&&ho(r,a[0],a[1])?a=[]:d>2&&ho(a[0],a[1],a[2])&&(a=[a[0]]),ul(r,mi(a,1),[])})),yd=As||function(){return kr.Date.now()};function vd(r,a,d){return a=d?v:a,ta(r,128,v,v,v,v,a=r&&null==a?r.length:a)}function tg(r,a){var d;if("function"!=typeof a)throw new Ki(pe);return r=Zn(r),function(){return--r>0&&(d=a.apply(this,arguments)),r<=1&&(a=v),d}}var ec=nn((function(r,a,d){var M=1;if(d.length){var N=vo(d,hl(ec));M|=32}return ta(r,M,a,d,N)})),ng=nn((function(r,a,d){var M=3;if(d.length){var N=vo(d,hl(ng));M|=32}return ta(a,M,r,d,N)}));function wd(r,a,d){var M,N,Z,he,Me,Be,gt=0,ht=!1,yt=!1,jt=!0;if("function"!=typeof r)throw new Ki(pe);function rn(di){var Mi=M,Us=N;return M=N=v,gt=di,he=r.apply(Us,Mi)}function On(di){return gt=di,Me=Ku(rr,a),ht?rn(di):he}function En(di){var Mi=di-Be;return Be===v||Mi>=a||Mi<0||yt&&di-gt>=Z}function rr(){var di=yd();if(En(di))return jn(di);Me=Ku(rr,function Qn(di){var yl=a-(di-Be);return yt?pi(yl,Z-(di-gt)):yl}(di))}function jn(di){return Me=v,jt&&M?rn(di):(M=N=v,he)}function Xi(){var di=yd(),Mi=En(di);if(M=arguments,N=this,Be=di,Mi){if(Me===v)return On(Be);if(yt)return jc(Me),Me=Ku(rr,a),rn(Be)}return Me===v&&(Me=Ku(rr,a)),he}return a=$i(a)||0,ci(d)&&(ht=!!d.leading,Z=(yt="maxWait"in d)?li($i(d.maxWait)||0,a):Z,jt="trailing"in d?!!d.trailing:jt),Xi.cancel=function go(){Me!==v&&jc(Me),gt=0,M=Be=N=Me=v},Xi.flush=function Rr(){return Me===v?he:jn(yd())},Xi}var rg=nn((function(r,a){return xl(r,1,a)})),ig=nn((function(r,a,d){return xl(r,$i(a)||0,d)}));function tc(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new Ki(pe);var d=function(){var M=arguments,N=a?a.apply(this,M):M[0],Z=d.cache;if(Z.has(N))return Z.get(N);var he=r.apply(this,M);return d.cache=Z.set(N,he)||Z,he};return d.cache=new(tc.Cache||ni),d}function Eu(r){if("function"!=typeof r)throw new Ki(pe);return function(){var a=arguments;switch(a.length){case 0:return!r.call(this);case 1:return!r.call(this,a[0]);case 2:return!r.call(this,a[0],a[1]);case 3:return!r.call(this,a[0],a[1],a[2])}return!r.apply(this,a)}}tc.Cache=ni;var sg=lf((function(r,a){var d=(a=1==a.length&&Hn(a[0])?Tn(a[0],H(wn())):Tn(mi(a,1),H(wn()))).length;return nn((function(M){for(var N=-1,Z=pi(M.length,d);++N<Z;)M[N]=a[N].call(this,M[N]);return ur(r,this,M)}))})),bd=nn((function(r,a){var d=vo(a,hl(bd));return ta(r,32,v,a,d)})),Xf=nn((function(r,a){var d=vo(a,hl(Xf));return ta(r,64,v,a,d)})),eh=na((function(r,a){return ta(r,256,v,v,v,a)}));function ys(r,a){return r===a||r!=r&&a!=a}var hg=Gu(g),pg=Gu((function(r,a){return r>=a})),zl=Ft(function(){return arguments}())?Ft:function(r){return ii(r)&&I.call(r,"callee")&&!Lr.call(r,"callee")},Hn=Ye.isArray,oh=qo?H(qo):function Yt(r){return ii(r)&&l(r)==W};function ji(r){return null!=r&&rc(r.length)&&!Ma(r)}function xi(r){return ii(r)&&ji(r)}var ia=rl||vc,gg=bs?H(bs):function nr(r){return ii(r)&&l(r)==zr};function nc(r){if(!ii(r))return!1;var a=l(r);return a==Ai||"[object DOMException]"==a||"string"==typeof r.message&&"string"==typeof r.name&&!Mu(r)}function Ma(r){if(!ci(r))return!1;var a=l(r);return a==Hr||a==Nr||"[object AsyncFunction]"==a||"[object Proxy]"==a}function ml(r){return"number"==typeof r&&r==Zn(r)}function rc(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=Pt}function ci(r){var a=typeof r;return null!=r&&("object"==a||"function"==a)}function ii(r){return null!=r&&"object"==typeof r}var sh=lr?H(lr):function Ln(r){return ii(r)&&So(r)==pr};function Ed(r){return"number"==typeof r||ii(r)&&l(r)==Zr}function Mu(r){if(!ii(r)||l(r)!=Cr)return!1;var a=Ar(r);if(null===a)return!0;var d=I.call(a,"constructor")&&a.constructor;return"function"==typeof d&&d instanceof d&&w.call(d)==Ge}var ic=Ds?H(Ds):function Li(r){return ii(r)&&l(r)==sr},oc=ca?H(ca):function Vi(r){return ii(r)&&So(r)==de};function Md(r){return"string"==typeof r||!Hn(r)&&ii(r)&&l(r)==Ve}function Io(r){return"symbol"==typeof r||ii(r)&&l(r)==Re}var Gl=Ri?H(Ri):function Bi(r){return ii(r)&&rc(r.length)&&!!fr[l(r)]},ch=Gu(Vo),sc=Gu((function(r,a){return r<=a}));function vs(r){if(!r)return[];if(ji(r))return Md(r)?Zi(r):jo(r);if(Qi&&r[Qi])return function Cl(De){for(var ot,Ye=[];!(ot=De.next()).done;)Ye.push(ot.value);return Ye}(r[Qi]());var a=So(r);return(a==pr?Ss:a==de?Ps:Yl)(r)}function oa(r){return r?(r=$i(r))===nt||r===-nt?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function Zn(r){var a=oa(r),d=a%1;return a==a?d?a-d:a:0}function ac(r){return r?Ji(Zn(r),0,dn):0}function $i(r){if("number"==typeof r)return r;if(Io(r))return NaN;if(ci(r)){var a="function"==typeof r.valueOf?r.valueOf():r;r=ci(a)?a+"":a}if("string"!=typeof r)return 0===r?r:+r;r=E(r);var d=st.test(r);return d||ze.test(r)?ls(r.slice(2),d?2:8):Bt.test(r)?NaN:+r}function lc(r){return ea(r,rs(r))}function Er(r){return null==r?"":ns(r)}var v_=cu((function(r,a){if(Vl(a)||ji(a))ea(a,po(a),r);else for(var d in a)I.call(a,d)&&je(r,d,a[d])})),Sd=cu((function(r,a){ea(a,rs(a),r)})),Td=cu((function(r,a,d,M){ea(a,rs(a),r,M)})),uc=cu((function(r,a,d,M){ea(a,po(a),r,M)})),cc=na(Do),Od=nn((function(r,a){r=Xn(r);var d=-1,M=a.length,N=M>2?a[2]:v;for(N&&ho(a[0],a[1],N)&&(M=1);++d<M;)for(var Z=a[d],he=rs(Z),Me=-1,Be=he.length;++Me<Be;){var gt=he[Me],ht=r[gt];(ht===v||ys(ht,to[gt])&&!I.call(r,gt))&&(r[gt]=Z[gt])}return r})),xd=nn((function(r){return r.push(v,sp),ur(Pg,v,r)}));function hh(r,a,d){var M=null==r?v:m(r,a);return M===v?d:M}function dc(r,a){return null!=r&&_u(r,a,F)}var Tg=_f((function(r,a,d){null!=a&&"function"!=typeof a.toString&&(a=_e.call(a)),r[a]=d}),jd(_i)),Ad=_f((function(r,a,d){null!=a&&"function"!=typeof a.toString&&(a=_e.call(a)),I.call(r,a)?r[a].push(d):r[a]=[d]}),wn),b_=nn(Je);function po(r){return ji(r)?C(r):Ao(r)}function rs(r){return ji(r)?C(r,!0):function Eo(r){if(!ci(r))return function fp(r){var a=[];if(null!=r)for(var d in Xn(r))a.push(d);return a}(r);var a=Vl(r),d=[];for(var M in r)"constructor"==M&&(a||!I.call(r,M))||d.push(M);return d}(r)}var M_=cu((function(r,a,d){ms(r,a,d)})),Pg=cu((function(r,a,d,M){ms(r,a,d,M)})),S_=na((function(r,a){var d={};if(null==r)return d;var M=!1;a=Tn(a,(function(Z){return Z=za(Z,r),M||(M=Z.length>1),Z})),ea(r,qu(r),d),M&&(d=ri(d,7,Yu));for(var N=a.length;N--;)fo(d,a[N]);return d})),P_=na((function(r,a){return null==r?{}:function sn(r,a){return _n(r,a,(function(d,M){return dc(r,M)}))}(r,a)}));function Sa(r,a){if(null==r)return{};var d=Tn(qu(r),(function(M){return[M]}));return a=wn(a),_n(r,d,(function(M,N){return a(M,N[0])}))}var fc=qc(po),Rd=qc(rs);function Yl(r){return null==r?[]:Ke(r,po(r))}var hc=Wa((function(r,a,d){return a=a.toLowerCase(),r+(d?_l(a):a)}));function _l(r){return Ud(Er(r).toLowerCase())}function pc(r){return(r=Er(r))&&r.replace(St,Xo).replace(la,"")}var yh=Wa((function(r,a,d){return r+(d?"-":"")+a.toLowerCase()})),vh=Wa((function(r,a,d){return r+(d?" ":"")+a.toLowerCase()})),kd=pf("toLowerCase"),wh=Wa((function(r,a,d){return r+(d?"_":"")+a.toLowerCase()})),bh=Wa((function(r,a,d){return r+(d?" ":"")+Ud(a)})),Ug=Wa((function(r,a,d){return r+(d?" ":"")+a.toUpperCase()})),Ud=pf("toUpperCase");function Sh(r,a,d){return r=Er(r),(a=d?v:a)===v?function us(De){return si.test(De)}(r)?function Kl(De){return De.match($o)||[]}(r):function qi(De){return De.match(Y)||[]}(r):r.match(a)||[]}var Hd=nn((function(r,a){try{return ur(r,v,a)}catch(d){return nc(d)?d:new Cn(d)}})),Hg=na((function(r,a){return wi(a,(function(d){d=ra(d),Vr(r,d,ec(r[d],r))})),r}));function jd(r){return function(){return r}}var Oh=mf(),$g=mf(!0);function _i(r){return r}function Su(r){return Ca("function"==typeof r?r:ri(r,1))}var A_=nn((function(r,a){return function(d){return Je(d,r,a)}})),xh=nn((function(r,a){return function(d){return Je(r,d,a)}}));function $d(r,a,d){var M=po(a),N=va(a,M);null==d&&(!ci(a)||!N.length&&M.length)&&(d=a,a=r,r=this,N=va(a,po(a)));var Z=!(ci(d)&&"chain"in d&&!d.chain),he=Ma(r);return wi(N,(function(Me){var Be=a[Me];r[Me]=Be,he&&(r.prototype[Me]=function(){var gt=this.__chain__;if(Z||gt){var ht=r(this.__wrapped__),yt=ht.__actions__=jo(this.__actions__);return yt.push({func:Be,args:arguments,thisArg:r}),ht.__chain__=gt,ht}return Be.apply(r,uo([this.value()],arguments))})})),r}function zd(){}var Yg=hu(Tn),qg=hu($r),mc=hu(Ko);function _c(r){return Qc(r)?bi(ra(r)):function Pn(r){return function(a){return m(a,r)}}(r)}var I_=yf(),Wd=yf(!0);function Ah(){return[]}function vc(){return!1}var wc=fu((function(r,a){return r+a}),0),Tu=Wu("ceil"),Zg=fu((function(r,a){return r/a}),1),qd=Wu("floor"),Xg=fu((function(r,a){return r*a}),1),N_=Wu("round"),em=fu((function(r,a){return r-a}),0);return $.after=function h_(r,a){if("function"!=typeof a)throw new Ki(pe);return r=Zn(r),function(){if(--r<1)return a.apply(this,arguments)}},$.ary=vd,$.assign=v_,$.assignIn=Sd,$.assignInWith=Td,$.assignWith=uc,$.at=cc,$.before=tg,$.bind=ec,$.bindAll=Hg,$.bindKey=ng,$.castArray=function nh(){if(!arguments.length)return[];var r=arguments[0];return Hn(r)?r:[r]},$.chain=Yf,$.chunk=function Da(r,a,d){a=(d?ho(r,a,d):a===v)?1:li(Zn(a),0);var M=null==r?0:r.length;if(!M||a<1)return[];for(var N=0,Z=0,he=Ye(no(M/a));N<M;)he[Z++]=co(r,N,N+=a);return he},$.compact=function Cu(r){for(var a=-1,d=null==r?0:r.length,M=0,N=[];++a<d;){var Z=r[a];Z&&(N[M++]=Z)}return N},$.concat=function xf(){var r=arguments.length;if(!r)return[];for(var a=Ye(r-1),d=arguments[0],M=r;M--;)a[M-1]=arguments[M];return uo(Hn(d)?jo(d):[d],mi(a,1))},$.cond=function Th(r){var a=null==r?0:r.length,d=wn();return r=a?Tn(r,(function(M){if("function"!=typeof M[1])throw new Ki(pe);return[d(M[0]),M[1]]})):[],nn((function(M){for(var N=-1;++N<a;){var Z=r[N];if(ur(Z[0],this,M))return ur(Z[1],this,M)}}))},$.conforms=function jg(r){return function ru(r){var a=po(r);return function(d){return ya(d,r,a)}}(ri(r,1))},$.constant=jd,$.countBy=jl,$.create=function Pd(r,a){var d=Yr(r);return null==a?d:kt(d,a)},$.curry=function Cd(r,a,d){var M=ta(r,8,v,v,v,v,v,a=d?v:a);return M.placeholder=Cd.placeholder,M},$.curryRight=function Jf(r,a,d){var M=ta(r,16,v,v,v,v,v,a=d?v:a);return M.placeholder=Jf.placeholder,M},$.debounce=wd,$.defaults=Od,$.defaultsDeep=xd,$.defer=rg,$.delay=ig,$.difference=Af,$.differenceBy=If,$.differenceWith=o_,$.drop=function s_(r,a,d){var M=null==r?0:r.length;return M?co(r,(a=d||a===v?1:Zn(a))<0?0:a,M):[]},$.dropRight=function a_(r,a,d){var M=null==r?0:r.length;return M?co(r,0,(a=M-(a=d||a===v?1:Zn(a)))<0?0:a):[]},$.dropRightWhile=function nd(r,a){return r&&r.length?lu(r,wn(a,3),!0,!0):[]},$.dropWhile=function rd(r,a){return r&&r.length?lu(r,wn(a,3),!0):[]},$.fill=function l_(r,a,d,M){var N=null==r?0:r.length;return N?(d&&"number"!=typeof d&&ho(r,a,d)&&(d=0,M=N),function Ru(r,a,d,M){var N=r.length;for((d=Zn(d))<0&&(d=-d>N?0:N+d),(M=M===v||M>N?N:Zn(M))<0&&(M+=N),M=d>M?0:ac(M);d<M;)r[d++]=a;return r}(r,a,d,M)):[]},$.filter=function Hp(r,a){return(Hn(r)?lo:ll)(r,wn(a,3))},$.flatMap=function jp(r,a){return mi(Za(r,a),1)},$.flatMapDeep=function $p(r,a){return mi(Za(r,a),nt)},$.flatMapDepth=function zp(r,a,d){return d=d===v?1:Zn(d),mi(Za(r,a),d)},$.flatten=Rf,$.flattenDeep=function vp(r){return null!=r&&r.length?mi(r,nt):[]},$.flattenDepth=function Cp(r,a){return null!=r&&r.length?mi(r,a=a===v?1:Zn(a)):[]},$.flip=function Bs(r){return ta(r,512)},$.flow=Oh,$.flowRight=$g,$.fromPairs=function wp(r){for(var a=-1,d=null==r?0:r.length,M={};++a<d;){var N=r[a];M[N[0]]=N[1]}return M},$.functions=function w_(r){return null==r?[]:va(r,po(r))},$.functionsIn=function Sg(r){return null==r?[]:va(r,rs(r))},$.groupBy=gd,$.initial=function bp(r){return null!=r&&r.length?co(r,0,-1):[]},$.intersection=sd,$.intersectionBy=Dp,$.intersectionWith=Hi,$.invert=Tg,$.invertBy=Ad,$.invokeMap=Gp,$.iteratee=Su,$.keyBy=_d,$.keys=po,$.keysIn=rs,$.map=Za,$.mapKeys=function D_(r,a){var d={};return a=wn(a,3),ks(r,(function(M,N,Z){Vr(d,a(M,N,Z),M)})),d},$.mapValues=function E_(r,a){var d={};return a=wn(a,3),ks(r,(function(M,N,Z){Vr(d,N,a(M,N,Z))})),d},$.matches=function zg(r){return gs(ri(r,1))},$.matchesProperty=function Gg(r,a){return su(r,ri(a,1))},$.memoize=tc,$.merge=M_,$.mergeWith=Pg,$.method=A_,$.methodOf=xh,$.mixin=$d,$.negate=Eu,$.nthArg=function Gd(r){return r=Zn(r),nn((function(a){return Fu(a,r)}))},$.omit=S_,$.omitBy=function T_(r,a){return Sa(r,Eu(wn(a)))},$.once=function og(r){return tg(2,r)},$.orderBy=function Wp(r,a,d,M){return null==r?[]:(Hn(a)||(a=null==a?[]:[a]),Hn(d=M?v:d)||(d=null==d?[]:[d]),ul(r,a,d))},$.over=Yg,$.overArgs=sg,$.overEvery=qg,$.overSome=mc,$.partial=bd,$.partialRight=Xf,$.partition=Yp,$.pick=P_,$.pickBy=Sa,$.property=_c,$.propertyOf=function yc(r){return function(a){return null==r?v:m(r,a)}},$.pull=Ep,$.pullAll=kf,$.pullAllBy=function Mp(r,a,d){return r&&r.length&&a&&a.length?cr(r,a,wn(d,2)):r},$.pullAllWith=function Sp(r,a,d){return r&&r.length&&a&&a.length?cr(r,a,v,d):r},$.pullAt=Tp,$.range=I_,$.rangeRight=Wd,$.rearg=eh,$.reject=function Kp(r,a){return(Hn(r)?lo:ll)(r,Eu(wn(a,3)))},$.remove=function u_(r,a){var d=[];if(!r||!r.length)return d;var M=-1,N=[],Z=r.length;for(a=wn(a,3);++M<Z;){var he=r[M];a(he,M,r)&&(d.push(he),N.push(M))}return Ui(r,N),d},$.rest=function ag(r,a){if("function"!=typeof r)throw new Ki(pe);return nn(r,a=a===v?a:Zn(a))},$.reverse=Lf,$.sampleSize=function Jp(r,a,d){return a=(d?ho(r,a,d):a===v)?1:Zn(a),(Hn(r)?k:ku)(r,a)},$.set=function Og(r,a,d){return null==r?r:Pr(r,a,d)},$.setWith=function gh(r,a,d,M){return M="function"==typeof M?M:v,null==r?r:Pr(r,a,d,M)},$.shuffle=function $l(r){return(Hn(r)?te:Il)(r)},$.slice=function wu(r,a,d){var M=null==r?0:r.length;return M?(d&&"number"!=typeof d&&ho(r,a,d)?(a=0,d=M):(a=null==a?0:Zn(a),d=d===v?M:Zn(d)),co(r,a,d)):[]},$.sortBy=eg,$.sortedUniq=function jf(r){return r&&r.length?af(r):[]},$.sortedUniqBy=function ud(r,a){return r&&r.length?af(r,wn(a,2)):[]},$.split=function kg(r,a,d){return d&&"number"!=typeof d&&ho(r,a,d)&&(a=d=v),(d=d===v?dn:d>>>0)?(r=Er(r))&&("string"==typeof a||null!=a&&!ic(a))&&!(a=ns(a))&&fi(r)?Ga(Zi(r),0,d):r.split(a,d):[]},$.spread=function lg(r,a){if("function"!=typeof r)throw new Ki(pe);return a=null==a?0:li(Zn(a),0),nn((function(d){var M=d[a],N=Ga(d,0,a);return M&&uo(N,M),ur(r,this,N)}))},$.tail=function c_(r){var a=null==r?0:r.length;return a?co(r,1,a):[]},$.take=function Op(r,a,d){return r&&r.length?co(r,0,(a=d||a===v?1:Zn(a))<0?0:a):[]},$.takeRight=function cd(r,a,d){var M=null==r?0:r.length;return M?co(r,(a=M-(a=d||a===v?1:Zn(a)))<0?0:a,M):[]},$.takeRightWhile=function $f(r,a){return r&&r.length?lu(r,wn(a,3),!1,!0):[]},$.takeWhile=function zf(r,a){return r&&r.length?lu(r,wn(a,3)):[]},$.tap=function kp(r,a){return a(r),r},$.throttle=function ug(r,a,d){var M=!0,N=!0;if("function"!=typeof r)throw new Ki(pe);return ci(d)&&(M="leading"in d?!!d.leading:M,N="trailing"in d?!!d.trailing:N),wd(r,a,{leading:M,maxWait:a,trailing:N})},$.thru=Hl,$.toArray=vs,$.toPairs=fc,$.toPairsIn=Rd,$.toPath=function Ta(r){return Hn(r)?Tn(r,ra):Io(r)?[r]:jo(Of(Er(r)))},$.toPlainObject=lc,$.transform=function Nd(r,a,d){var M=Hn(r),N=M||ia(r)||Gl(r);if(a=wn(a,4),null==d){var Z=r&&r.constructor;d=N?M?new Z:[]:ci(r)&&Ma(Z)?Yr(Ar(r)):{}}return(N?wi:ks)(r,(function(he,Me,Be){return a(d,he,Me,Be)})),d},$.unary=function Un(r){return vd(r,1)},$.union=gl,$.unionBy=xp,$.unionWith=dd,$.uniq=function Xu(r){return r&&r.length?$a(r):[]},$.uniqBy=function Ap(r,a){return r&&r.length?$a(r,wn(a,2)):[]},$.uniqWith=function fd(r,a){return a="function"==typeof a?a:v,r&&r.length?$a(r,v,a):[]},$.unset=function xg(r,a){return null==r||fo(r,a)},$.unzip=Bl,$.unzipWith=qa,$.update=function Ka(r,a,d){return null==r?r:Vu(r,a,Hc(d))},$.updateWith=function mh(r,a,d,M){return M="function"==typeof M?M:v,null==r?r:Vu(r,a,Hc(d),M)},$.values=Yl,$.valuesIn=function Ag(r){return null==r?[]:Ke(r,rs(r))},$.without=Gf,$.words=Sh,$.wrap=function th(r,a){return bd(Hc(a),r)},$.xor=hd,$.xorBy=Ip,$.xorWith=Rp,$.zip=Wf,$.zipObject=function Ul(r,a){return Rl(r||[],a||[],je)},$.zipObjectDeep=function Np(r,a){return Rl(r||[],a||[],Pr)},$.zipWith=Fp,$.entries=fc,$.entriesIn=Rd,$.extend=Sd,$.extendWith=Td,$d($,$),$.add=wc,$.attempt=Hd,$.camelCase=hc,$.capitalize=_l,$.ceil=Tu,$.clamp=function _h(r,a,d){return d===v&&(d=a,a=v),d!==v&&(d=(d=$i(d))==d?d:0),a!==v&&(a=(a=$i(a))==a?a:0),Ji($i(r),a,d)},$.clone=function rh(r){return ri(r,4)},$.cloneDeep=function dg(r){return ri(r,5)},$.cloneDeepWith=function ih(r,a){return ri(r,5,a="function"==typeof a?a:v)},$.cloneWith=function cg(r,a){return ri(r,4,a="function"==typeof a?a:v)},$.conformsTo=function fg(r,a){return null==a||ya(r,a,po(a))},$.deburr=pc,$.defaultTo=function Ph(r,a){return null==r||r!=r?a:r},$.divide=Zg,$.endsWith=function ql(r,a,d){r=Er(r),a=ns(a);var M=r.length,N=d=d===v?M:Ji(Zn(d),0,M);return(d-=a.length)>=0&&r.slice(d,N)==a},$.eq=ys,$.escape=function Fd(r){return(r=Er(r))&&fn.test(r)?r.replace(Zt,eo):r},$.escapeRegExp=function gc(r){return(r=Er(r))&&Wn.test(r)?r.replace(wr,"\\$&"):r},$.every=function Du(r,a,d){var M=Hn(r)?$r:Jr;return d&&ho(r,a,d)&&(a=v),M(r,wn(a,3))},$.find=f_,$.findIndex=yp,$.findKey=function C_(r,a){return Ms(r,wn(a,3),ks)},$.findLast=Kf,$.findLastIndex=id,$.findLastKey=function bg(r,a){return Ms(r,wn(a,3),Al)},$.floor=qd,$.forEach=pd,$.forEachRight=Qf,$.forIn=function Dg(r,a){return null==r?r:ou(r,wn(a,3),rs)},$.forInRight=function Eg(r,a){return null==r?r:Nu(r,wn(a,3),rs)},$.forOwn=function Mg(r,a){return r&&ks(r,wn(a,3))},$.forOwnRight=function fh(r,a){return r&&Al(r,wn(a,3))},$.get=hh,$.gt=hg,$.gte=pg,$.has=function ph(r,a){return null!=r&&_u(r,a,x)},$.hasIn=dc,$.head=od,$.identity=_i,$.includes=function md(r,a,d,M){r=ji(r)?r:Yl(r),d=d&&!M?Zn(d):0;var N=r.length;return d<0&&(d=li(N+d,0)),Md(r)?d<=N&&r.indexOf(a,d)>-1:!!N&&Qo(r,a,d)>-1},$.indexOf=function Ju(r,a,d){var M=null==r?0:r.length;if(!M)return-1;var N=null==d?0:Zn(d);return N<0&&(N=li(M+N,0)),Qo(r,a,N)},$.inRange=function Ig(r,a,d){return a=oa(a),d===v?(d=a,a=0):d=oa(d),function se(r,a,d){return r>=pi(a,d)&&r<li(a,d)}(r=$i(r),a,d)},$.invoke=b_,$.isArguments=zl,$.isArray=Hn,$.isArrayBuffer=oh,$.isArrayLike=ji,$.isArrayLikeObject=xi,$.isBoolean=function Dd(r){return!0===r||!1===r||ii(r)&&l(r)==Gn},$.isBuffer=ia,$.isDate=gg,$.isElement=function p_(r){return ii(r)&&1===r.nodeType&&!Mu(r)},$.isEmpty=function g_(r){if(null==r)return!0;if(ji(r)&&(Hn(r)||"string"==typeof r||"function"==typeof r.splice||ia(r)||Gl(r)||zl(r)))return!r.length;var a=So(r);if(a==pr||a==de)return!r.size;if(Vl(r))return!Ao(r).length;for(var d in r)if(I.call(r,d))return!1;return!0},$.isEqual=function m_(r,a){return Rn(r,a)},$.isEqualWith=function mg(r,a,d){var M=(d="function"==typeof d?d:v)?d(r,a):v;return M===v?Rn(r,a,v,d):!!M},$.isError=nc,$.isFinite=function __(r){return"number"==typeof r&&Fa(r)},$.isFunction=Ma,$.isInteger=ml,$.isLength=rc,$.isMap=sh,$.isMatch=function ah(r,a){return r===a||br(r,a,mu(a))},$.isMatchWith=function _g(r,a,d){return d="function"==typeof d?d:v,br(r,a,mu(a),d)},$.isNaN=function yg(r){return Ed(r)&&r!=+r},$.isNative=function vg(r){if(Sf(r))throw new Cn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Br(r)},$.isNil=function wg(r){return null==r},$.isNull=function Cg(r){return null===r},$.isNumber=Ed,$.isObject=ci,$.isObjectLike=ii,$.isPlainObject=Mu,$.isRegExp=ic,$.isSafeInteger=function lh(r){return ml(r)&&r>=-Pt&&r<=Pt},$.isSet=oc,$.isString=Md,$.isSymbol=Io,$.isTypedArray=Gl,$.isUndefined=function y_(r){return r===v},$.isWeakMap=function Wl(r){return ii(r)&&So(r)==fe},$.isWeakSet=function uh(r){return ii(r)&&"[object WeakSet]"==l(r)},$.join=function Nf(r,a){return null==r?"":ka.call(r,a)},$.kebabCase=yh,$.last=_s,$.lastIndexOf=function ad(r,a,d){var M=null==r?0:r.length;if(!M)return-1;var N=M;return d!==v&&(N=(N=Zn(d))<0?li(M+N,0):pi(N,M-1)),a==a?function Gs(De,ot,Ye){for(var Ht=Ye+1;Ht--;)if(De[Ht]===ot)return Ht;return Ht}(r,a,N):Fi(r,ft,N,!0)},$.lowerCase=vh,$.lowerFirst=kd,$.lt=ch,$.lte=sc,$.max=function Fh(r){return r&&r.length?Ha(r,_i,g):v},$.maxBy=function Kg(r,a){return r&&r.length?Ha(r,wn(a,2),g):v},$.mean=function Qg(r){return Fn(r,_i)},$.meanBy=function Pu(r,a){return Fn(r,wn(a,2))},$.min=function Jg(r){return r&&r.length?Ha(r,_i,Vo):v},$.minBy=function R_(r,a){return r&&r.length?Ha(r,wn(a,2),Vo):v},$.stubArray=Ah,$.stubFalse=vc,$.stubObject=function Ih(){return{}},$.stubString=function Rh(){return""},$.stubTrue=function Nh(){return!0},$.multiply=Xg,$.nth=function Ff(r,a){return r&&r.length?Fu(r,Zn(a)):v},$.noConflict=function Wg(){return kr._===this&&(kr._=dt),this},$.noop=zd,$.now=yd,$.pad=function Ld(r,a,d){r=Er(r);var M=(a=Zn(a))?Fo(r):0;if(!a||M>=a)return r;var N=(a-M)/2;return pu(nl(N),d)+r+pu(no(N),d)},$.padEnd=function Ch(r,a,d){r=Er(r);var M=(a=Zn(a))?Fo(r):0;return a&&M<a?r+pu(a-M,d):r},$.padStart=function Vd(r,a,d){r=Er(r);var M=(a=Zn(a))?Fo(r):0;return a&&M<a?pu(a-M,d)+r:r},$.parseInt=function Ng(r,a,d){return d||null==a?a=0:a&&(a=+a),Ql(Er(r).replace(Nn,""),a||0)},$.random=function Rg(r,a,d){if(d&&"boolean"!=typeof d&&ho(r,a,d)&&(a=d=v),d===v&&("boolean"==typeof a?(d=a,a=v):"boolean"==typeof r&&(d=r,r=v)),r===v&&a===v?(r=0,a=1):(r=oa(r),a===v?(a=r,r=0):a=oa(a)),r>a){var M=r;r=a,a=M}if(d||r%1||a%1){var N=Dl();return pi(r+N*(a-r+ws("1e-"+((N+"").length-1))),a)}return Bo(r,a)},$.reduce=function qp(r,a,d){var M=Hn(r)?Ni:Sr,N=arguments.length<3;return M(r,wn(a,4),d,N,Lo)},$.reduceRight=function Zp(r,a,d){var M=Hn(r)?gn:Sr,N=arguments.length<3;return M(r,wn(a,4),d,N,iu)},$.repeat=function O_(r,a,d){return a=(d?ho(r,a,d):a===v)?1:Zn(a),Uo(Er(r),a)},$.replace=function Fg(){var r=arguments,a=Er(r[0]);return r.length<3?a:a.replace(r[1],r[2])},$.result=function Id(r,a,d){var M=-1,N=(a=za(a,r)).length;for(N||(N=1,r=v);++M<N;){var Z=null==r?v:r[ra(a[M])];Z===v&&(M=N,Z=d),r=Ma(Z)?Z.call(r):Z}return r},$.round=N_,$.runInContext=De,$.sample=function Qp(r){return(Hn(r)?S:au)(r)},$.size=function Ea(r){if(null==r)return 0;if(ji(r))return Md(r)?Fo(r):r.length;var a=So(r);return a==pr||a==de?r.size:Ao(r).length},$.snakeCase=wh,$.some=function Xp(r,a,d){var M=Hn(r)?Ko:Vc;return d&&ho(r,a,d)&&(a=v),M(r,wn(a,3))},$.sortedIndex=function ld(r,a){return Lu(r,a)},$.sortedIndexBy=function Vf(r,a,d){return Bc(r,a,wn(d,2))},$.sortedIndexOf=function Bf(r,a){var d=null==r?0:r.length;if(d){var M=Lu(r,a);if(M<d&&ys(r[M],a))return M}return-1},$.sortedLastIndex=function Uf(r,a){return Lu(r,a,!0)},$.sortedLastIndexBy=function Pp(r,a,d){return Bc(r,a,wn(d,2),!0)},$.sortedLastIndexOf=function Hf(r,a){if(null!=r&&r.length){var M=Lu(r,a,!0)-1;if(ys(r[M],a))return M}return-1},$.startCase=bh,$.startsWith=function Dh(r,a,d){return r=Er(r),d=null==d?0:Ji(Zn(d),0,r.length),a=ns(a),r.slice(d,d+a.length)==a},$.subtract=em,$.sum=function tm(r){return r&&r.length?hr(r,_i):0},$.sumBy=function nm(r,a){return r&&r.length?hr(r,wn(a,2)):0},$.template=function Lg(r,a,d){var M=$.templateSettings;d&&ho(r,a,d)&&(a=v),r=Er(r),a=Td({},a,M,vf);var Me,Be,N=Td({},a.imports,M.imports,vf),Z=po(N),he=Ke(N,Z),gt=0,ht=a.interpolate||zt,yt="__p += '",jt=cs((a.escape||zt).source+"|"+ht.source+"|"+(ht===Rt?Fe:zt).source+"|"+(a.evaluate||zt).source+"|$","g"),rn="//# sourceURL="+(I.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++No+"]")+"\n";r.replace(jt,(function(En,rr,jn,go,Rr,Xi){return jn||(jn=go),yt+=r.slice(gt,Xi).replace(Ut,Pi),rr&&(Me=!0,yt+="' +\n__e("+rr+") +\n'"),Rr&&(Be=!0,yt+="';\n"+Rr+";\n__p += '"),jn&&(yt+="' +\n((__t = ("+jn+")) == null ? '' : __t) +\n'"),gt=Xi+En.length,En})),yt+="';\n";var On=I.call(a,"variable")&&a.variable;if(On){if(U.test(On))throw new Cn("Invalid `variable` option passed into `_.template`")}else yt="with (obj) {\n"+yt+"\n}\n";yt=(Be?yt.replace(xt,""):yt).replace(It,"$1").replace(Dt,"$1;"),yt="function("+(On||"obj")+") {\n"+(On?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Me?", __e = _.escape":"")+(Be?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+yt+"return __p\n}";var Qn=Hd((function(){return Jn(Z,rn+"return "+yt).apply(v,he)}));if(Qn.source=yt,nc(Qn))throw Qn;return Qn},$.times=function Yd(r,a){if((r=Zn(r))<1||r>Pt)return[];var d=dn,M=pi(r,dn);a=wn(a),r-=dn;for(var N=O(M,a);++d<r;)a(d);return N},$.toFinite=oa,$.toInteger=Zn,$.toLength=ac,$.toLower=function is(r){return Er(r).toLowerCase()},$.toNumber=$i,$.toSafeInteger=function dh(r){return r?Ji(Zn(r),-Pt,Pt):0===r?r:0},$.toString=Er,$.toUpper=function Eh(r){return Er(r).toUpperCase()},$.trim=function Vg(r,a,d){if((r=Er(r))&&(d||a===v))return E(r);if(!r||!(a=ns(a)))return r;var M=Zi(r),N=Zi(a);return Ga(M,Dr(M,N),_r(M,N)+1).join("")},$.trimEnd=function x_(r,a,d){if((r=Er(r))&&(d||a===v))return r.slice(0,Os(r)+1);if(!r||!(a=ns(a)))return r;var M=Zi(r);return Ga(M,0,_r(M,Zi(a))+1).join("")},$.trimStart=function Bg(r,a,d){if((r=Er(r))&&(d||a===v))return r.replace(Nn,"");if(!r||!(a=ns(a)))return r;var M=Zi(r);return Ga(M,Dr(M,Zi(a))).join("")},$.truncate=function Bd(r,a){var d=30,M="...";if(ci(a)){var N="separator"in a?a.separator:N;d="length"in a?Zn(a.length):d,M="omission"in a?ns(a.omission):M}var Z=(r=Er(r)).length;if(fi(r)){var he=Zi(r);Z=he.length}if(d>=Z)return r;var Me=d-Fo(M);if(Me<1)return M;var Be=he?Ga(he,0,Me).join(""):r.slice(0,Me);if(N===v)return Be+M;if(he&&(Me+=Be.length-Me),ic(N)){if(r.slice(Me).search(N)){var gt,ht=Be;for(N.global||(N=cs(N.source,Er(it.exec(N))+"g")),N.lastIndex=0;gt=N.exec(ht);)var yt=gt.index;Be=Be.slice(0,yt===v?Me:yt)}}else if(r.indexOf(ns(N),Me)!=Me){var jt=Be.lastIndexOf(N);jt>-1&&(Be=Be.slice(0,jt))}return Be+M},$.unescape=function Mh(r){return(r=Er(r))&&At.test(r)?r.replace($n,Ra):r},$.uniqueId=function Cc(r){var a=++D;return Er(r)+a},$.upperCase=Ug,$.upperFirst=Ud,$.each=pd,$.eachRight=Qf,$.first=od,$d($,function(){var r={};return ks($,(function(a,d){I.call($.prototype,d)||(r[d]=a)})),r}(),{chain:!1}),$.VERSION="4.17.21",wi(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(r){$[r].placeholder=$})),wi(["drop","take"],(function(r,a){qt.prototype[r]=function(d){d=d===v?1:li(Zn(d),0);var M=this.__filtered__&&!a?new qt(this):this.clone();return M.__filtered__?M.__takeCount__=pi(d,M.__takeCount__):M.__views__.push({size:pi(d,dn),type:r+(M.__dir__<0?"Right":"")}),M},qt.prototype[r+"Right"]=function(d){return this.reverse()[r](d).reverse()}})),wi(["filter","map","takeWhile"],(function(r,a){var d=a+1,M=1==d||3==d;qt.prototype[r]=function(N){var Z=this.clone();return Z.__iteratees__.push({iteratee:wn(N,3),type:d}),Z.__filtered__=Z.__filtered__||M,Z}})),wi(["head","last"],(function(r,a){var d="take"+(a?"Right":"");qt.prototype[r]=function(){return this[d](1).value()[0]}})),wi(["initial","tail"],(function(r,a){var d="drop"+(a?"":"Right");qt.prototype[r]=function(){return this.__filtered__?new qt(this):this[d](1)}})),qt.prototype.compact=function(){return this.filter(_i)},qt.prototype.find=function(r){return this.filter(r).head()},qt.prototype.findLast=function(r){return this.reverse().find(r)},qt.prototype.invokeMap=nn((function(r,a){return"function"==typeof r?new qt(this):this.map((function(d){return Je(d,r,a)}))})),qt.prototype.reject=function(r){return this.filter(Eu(wn(r)))},qt.prototype.slice=function(r,a){r=Zn(r);var d=this;return d.__filtered__&&(r>0||a<0)?new qt(d):(r<0?d=d.takeRight(-r):r&&(d=d.drop(r)),a!==v&&(d=(a=Zn(a))<0?d.dropRight(-a):d.take(a-r)),d)},qt.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},qt.prototype.toArray=function(){return this.take(dn)},ks(qt.prototype,(function(r,a){var d=/^(?:filter|find|map|reject)|While$/.test(a),M=/^(?:head|last)$/.test(a),N=$[M?"take"+("last"==a?"Right":""):a],Z=M||/^find/.test(a);!N||($.prototype[a]=function(){var he=this.__wrapped__,Me=M?[1]:arguments,Be=he instanceof qt,gt=Me[0],ht=Be||Hn(he),yt=function(rr){var jn=N.apply($,uo([rr],Me));return M&&jt?jn[0]:jn};ht&&d&&"function"==typeof gt&&1!=gt.length&&(Be=ht=!1);var jt=this.__chain__,rn=!!this.__actions__.length,On=Z&&!jt,Qn=Be&&!rn;if(!Z&&ht){he=Qn?he:new qt(this);var En=r.apply(he,Me);return En.__actions__.push({func:Hl,args:[yt],thisArg:v}),new qr(En,jt)}return On&&Qn?r.apply(this,Me):(En=this.thru(yt),On?M?En.value()[0]:En.value():En)})})),wi(["pop","push","shift","sort","splice","unshift"],(function(r){var a=Ws[r],d=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",M=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var N=arguments;if(M&&!this.__chain__){var Z=this.value();return a.apply(Hn(Z)?Z:[],N)}return this[d]((function(he){return a.apply(Hn(he)?he:[],N)}))}})),ks(qt.prototype,(function(r,a){var d=$[a];if(d){var M=d.name+"";I.call(Zs,M)||(Zs[M]=[]),Zs[M].push({name:a,func:d})}})),Zs[zu(v,2).name]=[{name:"wrapper",func:v}],qt.prototype.clone=function Jl(){var r=new qt(this.__wrapped__);return r.__actions__=jo(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=jo(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=jo(this.__views__),r},qt.prototype.reverse=function ro(){if(this.__filtered__){var r=new qt(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},qt.prototype.value=function Tl(){var r=this.__wrapped__.value(),a=this.__dir__,d=Hn(r),M=a<0,N=d?r.length:0,Z=function Ef(r,a,d){for(var M=-1,N=d.length;++M<N;){var Z=d[M],he=Z.size;switch(Z.type){case"drop":r+=he;break;case"dropRight":a-=he;break;case"take":a=pi(a,r+he);break;case"takeRight":r=li(r,a-he)}}return{start:r,end:a}}(0,N,this.__views__),he=Z.start,Me=Z.end,Be=Me-he,gt=M?Me:he-1,ht=this.__iteratees__,yt=ht.length,jt=0,rn=pi(Be,this.__takeCount__);if(!d||!M&&N==Be&&rn==Be)return Bu(r,this.__actions__);var On=[];e:for(;Be--&&jt<rn;){for(var Qn=-1,En=r[gt+=a];++Qn<yt;){var rr=ht[Qn],go=rr.type,Rr=(0,rr.iteratee)(En);if(2==go)En=Rr;else if(!Rr){if(1==go)continue e;break e}}On[jt++]=En}return On},$.prototype.at=Lp,$.prototype.chain=function qf(){return Yf(this)},$.prototype.commit=function Vp(){return new qr(this.value(),this.__chain__)},$.prototype.next=function Zf(){this.__values__===v&&(this.__values__=vs(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?v:this.__values__[this.__index__++]}},$.prototype.plant=function Bp(r){for(var a,d=this;d instanceof Ir;){var M=Qu(d);M.__index__=0,M.__values__=v,a?N.__wrapped__=M:a=M;var N=M;d=d.__wrapped__}return N.__wrapped__=r,a},$.prototype.reverse=function bu(){var r=this.__wrapped__;if(r instanceof qt){var a=r;return this.__actions__.length&&(a=new qt(this)),(a=a.reverse()).__actions__.push({func:Hl,args:[Lf],thisArg:v}),new qr(a,this.__chain__)}return this.thru(Lf)},$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=function Up(){return Bu(this.__wrapped__,this.__actions__)},$.prototype.first=$.prototype.head,Qi&&($.prototype[Qi]=function d_(){return this}),$}();kr._=Co,(o=function(){return Co}.call(J,P,J,xe))!==v&&(xe.exports=o)}.call(this)},8448:(xe,J,P)=>{var o=P(5171),v=P(2315),z=P(4401),X=P(3943);xe.exports=function K(pe,re,ue){pe=X(pe);var ve=(re=z(re))?v(pe):0;return re&&ve<re?o(re-ve,ue)+pe:pe}},1978:(xe,J,P)=>{var v=P(1491)((function(z,X,K){return z+(K?"_":"")+X.toLowerCase()}));xe.exports=v},2232:(xe,J,P)=>{var o=P(1467),v=1/0;xe.exports=function X(K){return K?(K=o(K))===v||K===-v?17976931348623157e292*(K<0?-1:1):K==K?K:0:0===K?K:0}},4401:(xe,J,P)=>{var o=P(2232);xe.exports=function v(z){var X=o(z),K=X%1;return X==X?K?X-K:X:0}},1467:(xe,J,P)=>{var o=P(3348),v=P(5940),z=P(4129),K=/^[-+]0x[0-9a-f]+$/i,pe=/^0b[01]+$/i,re=/^0o[0-7]+$/i,ue=parseInt;xe.exports=function ve(q){if("number"==typeof q)return q;if(z(q))return NaN;if(v(q)){var oe="function"==typeof q.valueOf?q.valueOf():q;q=v(oe)?oe+"":oe}if("string"!=typeof q)return 0===q?q:+q;q=o(q);var Se=pe.test(q);return Se||re.test(q)?ue(q.slice(2),Se?2:8):K.test(q)?NaN:+q}},3943:(xe,J,P)=>{var o=P(3935);xe.exports=function v(z){return null==z?"":o(z)}},7188:(xe,J,P)=>{var o=P(69),v=P(9062),z=P(3943),X=P(910);xe.exports=function K(pe,re,ue){return pe=z(pe),void 0===(re=ue?void 0:re)?v(pe)?X(pe):o(pe):pe.match(re)||[]}},9751:(xe,J,P)=>{"use strict";P.d(J,{y:()=>ue});var o=P(930),v=P(727),z=P(8822),X=P(9635),K=P(5406),pe=P(576),re=P(2806);let ue=(()=>{class Se{constructor(Le){Le&&(this._subscribe=Le)}lift(Le){const ce=new Se;return ce.source=this,ce.operator=Le,ce}subscribe(Le,ce,Xe){const Oe=function oe(Se){return Se&&Se instanceof o.Lv||function q(Se){return Se&&(0,pe.m)(Se.next)&&(0,pe.m)(Se.error)&&(0,pe.m)(Se.complete)}(Se)&&(0,v.Nn)(Se)}(Le)?Le:new o.Hp(Le,ce,Xe);return(0,re.x)((()=>{const{operator:$e,source:et}=this;Oe.add($e?$e.call(Oe,et):et?this._subscribe(Oe):this._trySubscribe(Oe))})),Oe}_trySubscribe(Le){try{return this._subscribe(Le)}catch(ce){Le.error(ce)}}forEach(Le,ce){return new(ce=ve(ce))(((Xe,Oe)=>{let $e;$e=this.subscribe((et=>{try{Le(et)}catch(tt){Oe(tt),$e?.unsubscribe()}}),Oe,Xe)}))}_subscribe(Le){var ce;return null===(ce=this.source)||void 0===ce?void 0:ce.subscribe(Le)}[z.L](){return this}pipe(...Le){return(0,X.U)(Le)(this)}toPromise(Le){return new(Le=ve(Le))(((ce,Xe)=>{let Oe;this.subscribe(($e=>Oe=$e),($e=>Xe($e)),(()=>ce(Oe)))}))}}return Se.create=Ae=>new Se(Ae),Se})();function ve(Se){var Ae;return null!==(Ae=Se??K.v.Promise)&&void 0!==Ae?Ae:Promise}},7579:(xe,J,P)=>{"use strict";P.d(J,{x:()=>re});var o=P(9751),v=P(727);const X=(0,P(3888).d)((ve=>function(){ve(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var K=P(8737),pe=P(2806);let re=(()=>{class ve extends o.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(oe){const Se=new ue(this,this);return Se.operator=oe,Se}_throwIfClosed(){if(this.closed)throw new X}next(oe){(0,pe.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const Se=this.observers.slice();for(const Ae of Se)Ae.next(oe)}}))}error(oe){(0,pe.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=oe;const{observers:Se}=this;for(;Se.length;)Se.shift().error(oe)}}))}complete(){(0,pe.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:oe}=this;for(;oe.length;)oe.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var oe;return(null===(oe=this.observers)||void 0===oe?void 0:oe.length)>0}_trySubscribe(oe){return this._throwIfClosed(),super._trySubscribe(oe)}_subscribe(oe){return this._throwIfClosed(),this._checkFinalizedStatuses(oe),this._innerSubscribe(oe)}_innerSubscribe(oe){const{hasError:Se,isStopped:Ae,observers:Le}=this;return Se||Ae?v.Lc:(Le.push(oe),new v.w0((()=>(0,K.P)(Le,oe))))}_checkFinalizedStatuses(oe){const{hasError:Se,thrownError:Ae,isStopped:Le}=this;Se?oe.error(Ae):Le&&oe.complete()}asObservable(){const oe=new o.y;return oe.source=this,oe}}return ve.create=(q,oe)=>new ue(q,oe),ve})();class ue extends re{constructor(q,oe){super(),this.destination=q,this.source=oe}next(q){var oe,Se;null===(Se=null===(oe=this.destination)||void 0===oe?void 0:oe.next)||void 0===Se||Se.call(oe,q)}error(q){var oe,Se;null===(Se=null===(oe=this.destination)||void 0===oe?void 0:oe.error)||void 0===Se||Se.call(oe,q)}complete(){var q,oe;null===(oe=null===(q=this.destination)||void 0===q?void 0:q.complete)||void 0===oe||oe.call(q)}_subscribe(q){var oe,Se;return null!==(Se=null===(oe=this.source)||void 0===oe?void 0:oe.subscribe(q))&&void 0!==Se?Se:v.Lc}}},930:(xe,J,P)=>{"use strict";P.d(J,{Hp:()=>Ae,Lv:()=>Se});var o=P(576),v=P(727),z=P(5406),X=P(7849),K=P(5032);const pe=ve("C",void 0,void 0);function ve($e,et,tt){return{kind:$e,value:et,error:tt}}var q=P(3410),oe=P(2806);class Se extends v.w0{constructor(et){super(),this.isStopped=!1,et?(this.destination=et,(0,v.Nn)(et)&&et.add(this)):this.destination=Oe}static create(et,tt,qe){return new Ae(et,tt,qe)}next(et){this.isStopped?Xe(function ue($e){return ve("N",$e,void 0)}(et),this):this._next(et)}error(et){this.isStopped?Xe(function re($e){return ve("E",void 0,$e)}(et),this):(this.isStopped=!0,this._error(et))}complete(){this.isStopped?Xe(pe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(et){this.destination.next(et)}_error(et){try{this.destination.error(et)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Ae extends Se{constructor(et,tt,qe){let Te;if(super(),(0,o.m)(et))Te=et;else if(et){let Ze;({next:Te,error:tt,complete:qe}=et),this&&z.v.useDeprecatedNextContext?(Ze=Object.create(et),Ze.unsubscribe=()=>this.unsubscribe()):Ze=et,Te=Te?.bind(Ze),tt=tt?.bind(Ze),qe=qe?.bind(Ze)}this.destination={next:Te?Le(Te):K.Z,error:Le(tt??ce),complete:qe?Le(qe):K.Z}}}function Le($e,et){return(...tt)=>{try{$e(...tt)}catch(qe){z.v.useDeprecatedSynchronousErrorHandling?(0,oe.O)(qe):(0,X.h)(qe)}}}function ce($e){throw $e}function Xe($e,et){const{onStoppedNotification:tt}=z.v;tt&&q.z.setTimeout((()=>tt($e,et)))}const Oe={closed:!0,next:K.Z,error:ce,complete:K.Z}},727:(xe,J,P)=>{"use strict";P.d(J,{Lc:()=>pe,w0:()=>K,Nn:()=>re});var o=P(576);const z=(0,P(3888).d)((ve=>function(oe){ve(this),this.message=oe?`${oe.length} errors occurred during unsubscription:\n${oe.map(((Se,Ae)=>`${Ae+1}) ${Se.toString()}`)).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=oe}));var X=P(8737);class K{constructor(q){this.initialTeardown=q,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let q;if(!this.closed){this.closed=!0;const{_parentage:oe}=this;if(oe)if(this._parentage=null,Array.isArray(oe))for(const Le of oe)Le.remove(this);else oe.remove(this);const{initialTeardown:Se}=this;if((0,o.m)(Se))try{Se()}catch(Le){q=Le instanceof z?Le.errors:[Le]}const{_teardowns:Ae}=this;if(Ae){this._teardowns=null;for(const Le of Ae)try{ue(Le)}catch(ce){q=q??[],ce instanceof z?q=[...q,...ce.errors]:q.push(ce)}}if(q)throw new z(q)}}add(q){var oe;if(q&&q!==this)if(this.closed)ue(q);else{if(q instanceof K){if(q.closed||q._hasParent(this))return;q._addParent(this)}(this._teardowns=null!==(oe=this._teardowns)&&void 0!==oe?oe:[]).push(q)}}_hasParent(q){const{_parentage:oe}=this;return oe===q||Array.isArray(oe)&&oe.includes(q)}_addParent(q){const{_parentage:oe}=this;this._parentage=Array.isArray(oe)?(oe.push(q),oe):oe?[oe,q]:q}_removeParent(q){const{_parentage:oe}=this;oe===q?this._parentage=null:Array.isArray(oe)&&(0,X.P)(oe,q)}remove(q){const{_teardowns:oe}=this;oe&&(0,X.P)(oe,q),q instanceof K&&q._removeParent(this)}}K.EMPTY=(()=>{const ve=new K;return ve.closed=!0,ve})();const pe=K.EMPTY;function re(ve){return ve instanceof K||ve&&"closed"in ve&&(0,o.m)(ve.remove)&&(0,o.m)(ve.add)&&(0,o.m)(ve.unsubscribe)}function ue(ve){(0,o.m)(ve)?ve():ve.unsubscribe()}},5406:(xe,J,P)=>{"use strict";P.d(J,{v:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},515:(xe,J,P)=>{"use strict";P.d(J,{E:()=>v});const v=new(P(9751).y)((K=>K.complete()))},2076:(xe,J,P)=>{"use strict";P.d(J,{D:()=>Xt});var o=P(8421),v=P(9672),z=P(4482),X=P(5403);function K(bt,mt=0){return(0,z.e)(((Ce,Q)=>{Ce.subscribe(new X.Q(Q,(me=>(0,v.f)(Q,bt,(()=>Q.next(me)),mt)),(()=>(0,v.f)(Q,bt,(()=>Q.complete()),mt)),(me=>(0,v.f)(Q,bt,(()=>Q.error(me)),mt))))}))}function pe(bt,mt=0){return(0,z.e)(((Ce,Q)=>{Q.add(bt.schedule((()=>Ce.subscribe(Q)),mt))}))}var ve=P(9751),oe=P(2202),Se=P(576);function Le(bt,mt){if(!bt)throw new Error("Iterable cannot be null");return new ve.y((Ce=>{(0,v.f)(Ce,mt,(()=>{const Q=bt[Symbol.asyncIterator]();(0,v.f)(Ce,mt,(()=>{Q.next().then((me=>{me.done?Ce.complete():Ce.next(me.value)}))}),0,!0)}))}))}var ce=P(3670),Xe=P(8239),Oe=P(1144),$e=P(6495),et=P(2206),tt=P(4532),qe=P(3260);function Xt(bt,mt){return mt?function Ze(bt,mt){if(null!=bt){if((0,ce.c)(bt))return function re(bt,mt){return(0,o.Xf)(bt).pipe(pe(mt),K(mt))}(bt,mt);if((0,Oe.z)(bt))return function q(bt,mt){return new ve.y((Ce=>{let Q=0;return mt.schedule((function(){Q===bt.length?Ce.complete():(Ce.next(bt[Q++]),Ce.closed||this.schedule())}))}))}(bt,mt);if((0,Xe.t)(bt))return function ue(bt,mt){return(0,o.Xf)(bt).pipe(pe(mt),K(mt))}(bt,mt);if((0,et.D)(bt))return Le(bt,mt);if((0,$e.T)(bt))return function Ae(bt,mt){return new ve.y((Ce=>{let Q;return(0,v.f)(Ce,mt,(()=>{Q=bt[oe.h](),(0,v.f)(Ce,mt,(()=>{let me,Ie;try{({value:me,done:Ie}=Q.next())}catch(be){return void Ce.error(be)}Ie?Ce.complete():Ce.next(me)}),0,!0)})),()=>(0,Se.m)(Q?.return)&&Q.return()}))}(bt,mt);if((0,qe.L)(bt))return function Te(bt,mt){return Le((0,qe.Q)(bt),mt)}(bt,mt)}throw(0,tt.z)(bt)}(bt,mt):(0,o.Xf)(bt)}},8421:(xe,J,P)=>{"use strict";P.d(J,{Xf:()=>Ae});var o=P(5987),v=P(1144),z=P(8239),X=P(9751),K=P(3670),pe=P(2206),re=P(4532),ue=P(6495),ve=P(3260),q=P(576),oe=P(7849),Se=P(8822);function Ae(qe){if(qe instanceof X.y)return qe;if(null!=qe){if((0,K.c)(qe))return function Le(qe){return new X.y((Te=>{const Ze=qe[Se.L]();if((0,q.m)(Ze.subscribe))return Ze.subscribe(Te);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(qe);if((0,v.z)(qe))return function ce(qe){return new X.y((Te=>{for(let Ze=0;Ze<qe.length&&!Te.closed;Ze++)Te.next(qe[Ze]);Te.complete()}))}(qe);if((0,z.t)(qe))return function Xe(qe){return new X.y((Te=>{qe.then((Ze=>{Te.closed||(Te.next(Ze),Te.complete())}),(Ze=>Te.error(Ze))).then(null,oe.h)}))}(qe);if((0,pe.D)(qe))return $e(qe);if((0,ue.T)(qe))return function Oe(qe){return new X.y((Te=>{for(const Ze of qe)if(Te.next(Ze),Te.closed)return;Te.complete()}))}(qe);if((0,ve.L)(qe))return function et(qe){return $e((0,ve.Q)(qe))}(qe)}throw(0,re.z)(qe)}function $e(qe){return new X.y((Te=>{(function tt(qe,Te){var Ze,Xt,bt,mt;return(0,o.mG)(this,void 0,void 0,(function*(){try{for(Ze=(0,o.KL)(qe);!(Xt=yield Ze.next()).done;)if(Te.next(Xt.value),Te.closed)return}catch(Ce){bt={error:Ce}}finally{try{Xt&&!Xt.done&&(mt=Ze.return)&&(yield mt.call(Ze))}finally{if(bt)throw bt.error}}Te.complete()}))})(qe,Te).catch((Ze=>Te.error(Ze)))}))}},8264:(xe,J,P)=>{"use strict";P.d(J,{F:()=>pe});var o=P(4986),v=P(9751),z=P(3532);function pe(re=0,ue=o.z){return re<0&&(re=0),function K(re=0,ue,ve=o.P){let q=-1;return null!=ue&&((0,z.K)(ue)?ve=ue:q=ue),new v.y((oe=>{let Se=function X(re){return re instanceof Date&&!isNaN(re)}(re)?+re-ve.now():re;Se<0&&(Se=0);let Ae=0;return ve.schedule((function(){oe.closed||(oe.next(Ae++),0<=q?this.schedule(void 0,q):oe.complete())}),Se)}))}(re,re,ue)}},6451:(xe,J,P)=>{"use strict";P.d(J,{T:()=>pe});var o=P(8189),v=P(8421),z=P(515),X=P(3269),K=P(2076);function pe(...re){const ue=(0,X.yG)(re),ve=(0,X._6)(re,1/0),q=re;return q.length?1===q.length?(0,v.Xf)(q[0]):(0,o.J)(ve)((0,K.D)(q,ue)):z.E}},9646:(xe,J,P)=>{"use strict";P.d(J,{of:()=>z});var o=P(3269),v=P(2076);function z(...X){const K=(0,o.yG)(X);return(0,v.D)(X,K)}},5403:(xe,J,P)=>{"use strict";P.d(J,{Q:()=>v});var o=P(930);class v extends o.Lv{constructor(X,K,pe,re,ue){super(X),this.onFinalize=ue,this._next=K?function(ve){try{K(ve)}catch(q){X.error(q)}}:super._next,this._error=re?function(ve){try{re(ve)}catch(q){X.error(q)}finally{this.unsubscribe()}}:super._error,this._complete=pe?function(){try{pe()}catch(ve){X.error(ve)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;const{closed:K}=this;super.unsubscribe(),!K&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}},4351:(xe,J,P)=>{"use strict";P.d(J,{b:()=>z});var o=P(5577),v=P(576);function z(X,K){return(0,v.m)(K)?(0,o.z)(X,K,1):(0,o.z)(X,1)}},9300:(xe,J,P)=>{"use strict";P.d(J,{h:()=>z});var o=P(4482),v=P(5403);function z(X,K){return(0,o.e)(((pe,re)=>{let ue=0;pe.subscribe(new v.Q(re,(ve=>X.call(K,ve,ue++)&&re.next(ve))))}))}},8746:(xe,J,P)=>{"use strict";P.d(J,{x:()=>v});var o=P(4482);function v(z){return(0,o.e)(((X,K)=>{try{X.subscribe(K)}finally{K.add(z)}}))}},4004:(xe,J,P)=>{"use strict";P.d(J,{U:()=>z});var o=P(4482),v=P(5403);function z(X,K){return(0,o.e)(((pe,re)=>{let ue=0;pe.subscribe(new v.Q(re,(ve=>{re.next(X.call(K,ve,ue++))})))}))}},8189:(xe,J,P)=>{"use strict";P.d(J,{J:()=>z});var o=P(5577),v=P(4671);function z(X=1/0){return(0,o.z)(v.y,X)}},5577:(xe,J,P)=>{"use strict";P.d(J,{z:()=>ue});var o=P(4004),v=P(8421),z=P(4482),X=P(9672),K=P(5403),re=P(576);function ue(ve,q,oe=1/0){return(0,re.m)(q)?ue(((Se,Ae)=>(0,o.U)(((Le,ce)=>q(Se,Le,Ae,ce)))((0,v.Xf)(ve(Se,Ae)))),oe):("number"==typeof q&&(oe=q),(0,z.e)(((Se,Ae)=>function pe(ve,q,oe,Se,Ae,Le,ce,Xe){const Oe=[];let $e=0,et=0,tt=!1;const qe=()=>{tt&&!Oe.length&&!$e&&q.complete()},Te=Xt=>$e<Se?Ze(Xt):Oe.push(Xt),Ze=Xt=>{Le&&q.next(Xt),$e++;let bt=!1;(0,v.Xf)(oe(Xt,et++)).subscribe(new K.Q(q,(mt=>{Ae?.(mt),Le?Te(mt):q.next(mt)}),(()=>{bt=!0}),void 0,(()=>{if(bt)try{for($e--;Oe.length&&$e<Se;){const mt=Oe.shift();ce?(0,X.f)(q,ce,(()=>Ze(mt))):Ze(mt)}qe()}catch(mt){q.error(mt)}})))};return ve.subscribe(new K.Q(q,Te,(()=>{tt=!0,qe()}))),()=>{Xe?.()}}(Se,Ae,ve,oe))))}},5698:(xe,J,P)=>{"use strict";P.d(J,{q:()=>X});var o=P(515),v=P(4482),z=P(5403);function X(K){return K<=0?()=>o.E:(0,v.e)(((pe,re)=>{let ue=0;pe.subscribe(new z.Q(re,(ve=>{++ue<=K&&(re.next(ve),K<=ue&&re.complete())})))}))}},4408:(xe,J,P)=>{"use strict";P.d(J,{o:()=>K});var o=P(727);class v extends o.w0{constructor(re,ue){super()}schedule(re,ue=0){return this}}const z={setInterval(...pe){const{delegate:re}=z;return(re?.setInterval||setInterval)(...pe)},clearInterval(pe){const{delegate:re}=z;return(re?.clearInterval||clearInterval)(pe)},delegate:void 0};var X=P(8737);class K extends v{constructor(re,ue){super(re,ue),this.scheduler=re,this.work=ue,this.pending=!1}schedule(re,ue=0){if(this.closed)return this;this.state=re;const ve=this.id,q=this.scheduler;return null!=ve&&(this.id=this.recycleAsyncId(q,ve,ue)),this.pending=!0,this.delay=ue,this.id=this.id||this.requestAsyncId(q,this.id,ue),this}requestAsyncId(re,ue,ve=0){return z.setInterval(re.flush.bind(re,this),ve)}recycleAsyncId(re,ue,ve=0){if(null!=ve&&this.delay===ve&&!1===this.pending)return ue;z.clearInterval(ue)}execute(re,ue){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ve=this._execute(re,ue);if(ve)return ve;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(re,ue){let q,ve=!1;try{this.work(re)}catch(oe){ve=!0,q=oe||new Error("Scheduled action threw falsy error")}if(ve)return this.unsubscribe(),q}unsubscribe(){if(!this.closed){const{id:re,scheduler:ue}=this,{actions:ve}=ue;this.work=this.state=this.scheduler=null,this.pending=!1,(0,X.P)(ve,this),null!=re&&(this.id=this.recycleAsyncId(ue,re,null)),this.delay=null,super.unsubscribe()}}}},640:(xe,J,P)=>{"use strict";P.d(J,{v:()=>z});const o={now:()=>(o.delegate||Date).now(),delegate:void 0};class v{constructor(K,pe=v.now){this.schedulerActionCtor=K,this.now=pe}schedule(K,pe=0,re){return new this.schedulerActionCtor(this,K).schedule(re,pe)}}v.now=o.now;class z extends v{constructor(K,pe=v.now){super(K,pe),this.actions=[],this._active=!1,this._scheduled=void 0}flush(K){const{actions:pe}=this;if(this._active)return void pe.push(K);let re;this._active=!0;do{if(re=K.execute(K.state,K.delay))break}while(K=pe.shift());if(this._active=!1,re){for(;K=pe.shift();)K.unsubscribe();throw re}}}},4986:(xe,J,P)=>{"use strict";P.d(J,{P:()=>X,z:()=>z});var o=P(4408);const z=new(P(640).v)(o.o),X=z},3410:(xe,J,P)=>{"use strict";P.d(J,{z:()=>o});const o={setTimeout(...v){const{delegate:z}=o;return(z?.setTimeout||setTimeout)(...v)},clearTimeout(v){const{delegate:z}=o;return(z?.clearTimeout||clearTimeout)(v)},delegate:void 0}},2202:(xe,J,P)=>{"use strict";P.d(J,{h:()=>v});const v=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(xe,J,P)=>{"use strict";P.d(J,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(xe,J,P)=>{"use strict";P.d(J,{_6:()=>pe,jO:()=>X,yG:()=>K});var o=P(576),v=P(3532);function z(re){return re[re.length-1]}function X(re){return(0,o.m)(z(re))?re.pop():void 0}function K(re){return(0,v.K)(z(re))?re.pop():void 0}function pe(re,ue){return"number"==typeof z(re)?re.pop():ue}},4742:(xe,J,P)=>{"use strict";P.d(J,{D:()=>K});const{isArray:o}=Array,{getPrototypeOf:v,prototype:z,keys:X}=Object;function K(re){if(1===re.length){const ue=re[0];if(o(ue))return{args:ue,keys:null};if(function pe(re){return re&&"object"==typeof re&&v(re)===z}(ue)){const ve=X(ue);return{args:ve.map((q=>ue[q])),keys:ve}}}return{args:re,keys:null}}},8737:(xe,J,P)=>{"use strict";function o(v,z){if(v){const X=v.indexOf(z);0<=X&&v.splice(X,1)}}P.d(J,{P:()=>o})},3888:(xe,J,P)=>{"use strict";function o(v){const X=v((K=>{Error.call(K),K.stack=(new Error).stack}));return X.prototype=Object.create(Error.prototype),X.prototype.constructor=X,X}P.d(J,{d:()=>o})},1810:(xe,J,P)=>{"use strict";function o(v,z){return v.reduce(((X,K,pe)=>(X[K]=z[pe],X)),{})}P.d(J,{n:()=>o})},2806:(xe,J,P)=>{"use strict";P.d(J,{O:()=>X,x:()=>z});var o=P(5406);let v=null;function z(K){if(o.v.useDeprecatedSynchronousErrorHandling){const pe=!v;if(pe&&(v={errorThrown:!1,error:null}),K(),pe){const{errorThrown:re,error:ue}=v;if(v=null,re)throw ue}}else K()}function X(K){o.v.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=K)}},9672:(xe,J,P)=>{"use strict";function o(v,z,X,K=0,pe=!1){const re=z.schedule((function(){X(),pe?v.add(this.schedule(null,K)):this.unsubscribe()}),K);if(v.add(re),!pe)return re}P.d(J,{f:()=>o})},4671:(xe,J,P)=>{"use strict";function o(v){return v}P.d(J,{y:()=>o})},1144:(xe,J,P)=>{"use strict";P.d(J,{z:()=>o});const o=v=>v&&"number"==typeof v.length&&"function"!=typeof v},2206:(xe,J,P)=>{"use strict";P.d(J,{D:()=>v});var o=P(576);function v(z){return Symbol.asyncIterator&&(0,o.m)(z?.[Symbol.asyncIterator])}},576:(xe,J,P)=>{"use strict";function o(v){return"function"==typeof v}P.d(J,{m:()=>o})},3670:(xe,J,P)=>{"use strict";P.d(J,{c:()=>z});var o=P(8822),v=P(576);function z(X){return(0,v.m)(X[o.L])}},6495:(xe,J,P)=>{"use strict";P.d(J,{T:()=>z});var o=P(2202),v=P(576);function z(X){return(0,v.m)(X?.[o.h])}},8239:(xe,J,P)=>{"use strict";P.d(J,{t:()=>v});var o=P(576);function v(z){return(0,o.m)(z?.then)}},3260:(xe,J,P)=>{"use strict";P.d(J,{L:()=>X,Q:()=>z});var o=P(5987),v=P(576);function z(K){return(0,o.FC)(this,arguments,(function*(){const re=K.getReader();try{for(;;){const{value:ue,done:ve}=yield(0,o.qq)(re.read());if(ve)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(ue)}}finally{re.releaseLock()}}))}function X(K){return(0,v.m)(K?.getReader)}},3532:(xe,J,P)=>{"use strict";P.d(J,{K:()=>v});var o=P(576);function v(z){return z&&(0,o.m)(z.schedule)}},4482:(xe,J,P)=>{"use strict";P.d(J,{A:()=>v,e:()=>z});var o=P(576);function v(X){return(0,o.m)(X?.lift)}function z(X){return K=>{if(v(K))return K.lift((function(pe){try{return X(pe,this)}catch(re){this.error(re)}}));throw new TypeError("Unable to lift unknown Observable type")}}},3268:(xe,J,P)=>{"use strict";P.d(J,{Z:()=>X});var o=P(4004);const{isArray:v}=Array;function X(K){return(0,o.U)((pe=>function z(K,pe){return v(pe)?K(...pe):K(pe)}(K,pe)))}},5032:(xe,J,P)=>{"use strict";function o(){}P.d(J,{Z:()=>o})},9635:(xe,J,P)=>{"use strict";P.d(J,{U:()=>z,z:()=>v});var o=P(4671);function v(...X){return z(X)}function z(X){return 0===X.length?o.y:1===X.length?X[0]:function(pe){return X.reduce(((re,ue)=>ue(re)),pe)}}},7849:(xe,J,P)=>{"use strict";P.d(J,{h:()=>z});var o=P(5406),v=P(3410);function z(X){v.z.setTimeout((()=>{const{onUnhandledError:K}=o.v;if(!K)throw X;K(X)}))}},4532:(xe,J,P)=>{"use strict";function o(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}P.d(J,{z:()=>o})},8583:()=>{"use strict";!function(de){const Ve=de.performance;function Re(ae){Ve&&Ve.mark&&Ve.mark(ae)}function He(ae,Y){Ve&&Ve.measure&&Ve.measure(ae,Y)}Re("Zone");const fe=de.__Zone_symbol_prefix||"__zone_symbol__";function G(ae){return fe+ae}const W=!0===de[G("forceDuplicateZoneCheck")];if(de.Zone){if(W||"function"!=typeof de.Zone.__symbol__)throw new Error("Zone already loaded.");return de.Zone}let Ee=(()=>{class ae{constructor(U,ne){this._parent=U,this._name=ne?ne.name||"unnamed":"<root>",this._properties=ne&&ne.properties||{},this._zoneDelegate=new rt(this,this._parent&&this._parent._zoneDelegate,ne)}static assertZonePatched(){if(de.Promise!==wr.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 U=ae.current;for(;U.parent;)U=U.parent;return U}static get current(){return Nn.zone}static get currentTask(){return mr}static __load_patch(U,ne,Fe=!1){if(wr.hasOwnProperty(U)){if(!Fe&&W)throw Error("Already loaded patch: "+U)}else if(!de["__Zone_disable_"+U]){const it="Zone:"+U;Re(it),wr[U]=ne(de,ae,Wn),He(it,it)}}get parent(){return this._parent}get name(){return this._name}get(U){const ne=this.getZoneWith(U);if(ne)return ne._properties[U]}getZoneWith(U){let ne=this;for(;ne;){if(ne._properties.hasOwnProperty(U))return ne;ne=ne._parent}return null}fork(U){if(!U)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,U)}wrap(U,ne){if("function"!=typeof U)throw new Error("Expecting function got: "+U);const Fe=this._zoneDelegate.intercept(this,U,ne),it=this;return function(){return it.runGuarded(Fe,this,arguments,ne)}}run(U,ne,Fe,it){Nn={parent:Nn,zone:this};try{return this._zoneDelegate.invoke(this,U,ne,Fe,it)}finally{Nn=Nn.parent}}runGuarded(U,ne=null,Fe,it){Nn={parent:Nn,zone:this};try{try{return this._zoneDelegate.invoke(this,U,ne,Fe,it)}catch(Bt){if(this._zoneDelegate.handleError(this,Bt))throw Bt}}finally{Nn=Nn.parent}}runTask(U,ne,Fe){if(U.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(U.zone||$n).name+"; Execution: "+this.name+")");if(U.state===Zt&&(U.type===gr||U.type===on))return;const it=U.state!=Nt;it&&U._transitionTo(Nt,fn),U.runCount++;const Bt=mr;mr=U,Nn={parent:Nn,zone:this};try{U.type==on&&U.data&&!U.data.isPeriodic&&(U.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,U,ne,Fe)}catch(st){if(this._zoneDelegate.handleError(this,st))throw st}}finally{U.state!==Zt&&U.state!==Rt&&(U.type==gr||U.data&&U.data.isPeriodic?it&&U._transitionTo(fn,Nt):(U.runCount=0,this._updateTaskCount(U,-1),it&&U._transitionTo(Zt,Nt,Zt))),Nn=Nn.parent,mr=Bt}}scheduleTask(U){if(U.zone&&U.zone!==this){let Fe=this;for(;Fe;){if(Fe===U.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${U.zone.name}`);Fe=Fe.parent}}U._transitionTo(At,Zt);const ne=[];U._zoneDelegates=ne,U._zone=this;try{U=this._zoneDelegate.scheduleTask(this,U)}catch(Fe){throw U._transitionTo(Rt,At,Zt),this._zoneDelegate.handleError(this,Fe),Fe}return U._zoneDelegates===ne&&this._updateTaskCount(U,1),U.state==At&&U._transitionTo(fn,At),U}scheduleMicroTask(U,ne,Fe,it){return this.scheduleTask(new pt(hn,U,ne,Fe,it,void 0))}scheduleMacroTask(U,ne,Fe,it,Bt){return this.scheduleTask(new pt(on,U,ne,Fe,it,Bt))}scheduleEventTask(U,ne,Fe,it,Bt){return this.scheduleTask(new pt(gr,U,ne,Fe,it,Bt))}cancelTask(U){if(U.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(U.zone||$n).name+"; Execution: "+this.name+")");U._transitionTo(yn,fn,Nt);try{this._zoneDelegate.cancelTask(this,U)}catch(ne){throw U._transitionTo(Rt,yn),this._zoneDelegate.handleError(this,ne),ne}return this._updateTaskCount(U,-1),U._transitionTo(Zt,yn),U.runCount=0,U}_updateTaskCount(U,ne){const Fe=U._zoneDelegates;-1==ne&&(U._zoneDelegates=null);for(let it=0;it<Fe.length;it++)Fe[it]._updateTaskCount(U.type,ne)}}return ae.__symbol__=G,ae})();const Pe={name:"",onHasTask:(ae,Y,U,ne)=>ae.hasTask(U,ne),onScheduleTask:(ae,Y,U,ne)=>ae.scheduleTask(U,ne),onInvokeTask:(ae,Y,U,ne,Fe,it)=>ae.invokeTask(U,ne,Fe,it),onCancelTask:(ae,Y,U,ne)=>ae.cancelTask(U,ne)};class rt{constructor(Y,U,ne){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=Y,this._parentDelegate=U,this._forkZS=ne&&(ne&&ne.onFork?ne:U._forkZS),this._forkDlgt=ne&&(ne.onFork?U:U._forkDlgt),this._forkCurrZone=ne&&(ne.onFork?this.zone:U._forkCurrZone),this._interceptZS=ne&&(ne.onIntercept?ne:U._interceptZS),this._interceptDlgt=ne&&(ne.onIntercept?U:U._interceptDlgt),this._interceptCurrZone=ne&&(ne.onIntercept?this.zone:U._interceptCurrZone),this._invokeZS=ne&&(ne.onInvoke?ne:U._invokeZS),this._invokeDlgt=ne&&(ne.onInvoke?U:U._invokeDlgt),this._invokeCurrZone=ne&&(ne.onInvoke?this.zone:U._invokeCurrZone),this._handleErrorZS=ne&&(ne.onHandleError?ne:U._handleErrorZS),this._handleErrorDlgt=ne&&(ne.onHandleError?U:U._handleErrorDlgt),this._handleErrorCurrZone=ne&&(ne.onHandleError?this.zone:U._handleErrorCurrZone),this._scheduleTaskZS=ne&&(ne.onScheduleTask?ne:U._scheduleTaskZS),this._scheduleTaskDlgt=ne&&(ne.onScheduleTask?U:U._scheduleTaskDlgt),this._scheduleTaskCurrZone=ne&&(ne.onScheduleTask?this.zone:U._scheduleTaskCurrZone),this._invokeTaskZS=ne&&(ne.onInvokeTask?ne:U._invokeTaskZS),this._invokeTaskDlgt=ne&&(ne.onInvokeTask?U:U._invokeTaskDlgt),this._invokeTaskCurrZone=ne&&(ne.onInvokeTask?this.zone:U._invokeTaskCurrZone),this._cancelTaskZS=ne&&(ne.onCancelTask?ne:U._cancelTaskZS),this._cancelTaskDlgt=ne&&(ne.onCancelTask?U:U._cancelTaskDlgt),this._cancelTaskCurrZone=ne&&(ne.onCancelTask?this.zone:U._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Fe=ne&&ne.onHasTask;(Fe||U&&U._hasTaskZS)&&(this._hasTaskZS=Fe?ne:Pe,this._hasTaskDlgt=U,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=Y,ne.onScheduleTask||(this._scheduleTaskZS=Pe,this._scheduleTaskDlgt=U,this._scheduleTaskCurrZone=this.zone),ne.onInvokeTask||(this._invokeTaskZS=Pe,this._invokeTaskDlgt=U,this._invokeTaskCurrZone=this.zone),ne.onCancelTask||(this._cancelTaskZS=Pe,this._cancelTaskDlgt=U,this._cancelTaskCurrZone=this.zone))}fork(Y,U){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Y,U):new Ee(Y,U)}intercept(Y,U,ne){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Y,U,ne):U}invoke(Y,U,ne,Fe,it){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Y,U,ne,Fe,it):U.apply(ne,Fe)}handleError(Y,U){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Y,U)}scheduleTask(Y,U){let ne=U;if(this._scheduleTaskZS)this._hasTaskZS&&ne._zoneDelegates.push(this._hasTaskDlgtOwner),ne=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Y,U),ne||(ne=U);else if(U.scheduleFn)U.scheduleFn(U);else{if(U.type!=hn)throw new Error("Task is missing scheduleFn.");It(U)}return ne}invokeTask(Y,U,ne,Fe){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Y,U,ne,Fe):U.callback.apply(ne,Fe)}cancelTask(Y,U){let ne;if(this._cancelTaskZS)ne=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Y,U);else{if(!U.cancelFn)throw Error("Task is not cancelable");ne=U.cancelFn(U)}return ne}hasTask(Y,U){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Y,U)}catch(ne){this.handleError(Y,ne)}}_updateTaskCount(Y,U){const ne=this._taskCounts,Fe=ne[Y],it=ne[Y]=Fe+U;if(it<0)throw new Error("More tasks executed then were scheduled.");0!=Fe&&0!=it||this.hasTask(this.zone,{microTask:ne.microTask>0,macroTask:ne.macroTask>0,eventTask:ne.eventTask>0,change:Y})}}class pt{constructor(Y,U,ne,Fe,it,Bt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Y,this.source=U,this.data=Fe,this.scheduleFn=it,this.cancelFn=Bt,!ne)throw new Error("callback is not defined");this.callback=ne;const st=this;this.invoke=Y===gr&&Fe&&Fe.useG?pt.invokeTask:function(){return pt.invokeTask.call(de,st,this,arguments)}}static invokeTask(Y,U,ne){Y||(Y=this),ln++;try{return Y.runCount++,Y.zone.runTask(Y,U,ne)}finally{1==ln&&Dt(),ln--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Zt,At)}_transitionTo(Y,U,ne){if(this._state!==U&&this._state!==ne)throw new Error(`${this.type} '${this.source}': can not transition to '${Y}', expecting state '${U}'${ne?" or '"+ne+"'":""}, was '${this._state}'.`);this._state=Y,Y==Zt&&(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 $t=G("setTimeout"),_t=G("Promise"),Ot=G("then");let Vt,en=[],Mn=!1;function xt(ae){if(Vt||de[_t]&&(Vt=de[_t].resolve(0)),Vt){let Y=Vt[Ot];Y||(Y=Vt.then),Y.call(Vt,ae)}else de[$t](ae,0)}function It(ae){0===ln&&0===en.length&&xt(Dt),ae&&en.push(ae)}function Dt(){if(!Mn){for(Mn=!0;en.length;){const ae=en;en=[];for(let Y=0;Y<ae.length;Y++){const U=ae[Y];try{U.zone.runTask(U,null,null)}catch(ne){Wn.onUnhandledError(ne)}}}Wn.microtaskDrainDone(),Mn=!1}}const $n={name:"NO ZONE"},Zt="notScheduled",At="scheduling",fn="scheduled",Nt="running",yn="canceling",Rt="unknown",hn="microTask",on="macroTask",gr="eventTask",wr={},Wn={symbol:G,currentZoneFrame:()=>Nn,onUnhandledError:we,microtaskDrainDone:we,scheduleMicroTask:It,showUncaughtError:()=>!Ee[G("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:we,patchMethod:()=>we,bindArguments:()=>[],patchThen:()=>we,patchMacroTask:()=>we,patchEventPrototype:()=>we,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>we,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>we,wrapWithCurrentZone:()=>we,filterProperties:()=>[],attachOriginToPatched:()=>we,_redefineProperty:()=>we,patchCallbacks:()=>we,nativeScheduleMicroTask:xt};let Nn={parent:null,zone:new Ee(null,null)},mr=null,ln=0;function we(){}He("Zone","Zone"),de.Zone=Ee}(typeof window<"u"&&window||typeof self<"u"&&self||global);const xe=Object.getOwnPropertyDescriptor,J=Object.defineProperty,P=Object.getPrototypeOf,o=Object.create,v=Array.prototype.slice,z="addEventListener",X="removeEventListener",K=Zone.__symbol__(z),pe=Zone.__symbol__(X),re="true",ue="false",ve=Zone.__symbol__("");function q(de,Ve){return Zone.current.wrap(de,Ve)}function oe(de,Ve,Re,He,fe){return Zone.current.scheduleMacroTask(de,Ve,Re,He,fe)}const Se=Zone.__symbol__,Ae=typeof window<"u",Le=Ae?window:void 0,ce=Ae&&Le||"object"==typeof self&&self||global;function Oe(de,Ve){for(let Re=de.length-1;Re>=0;Re--)"function"==typeof de[Re]&&(de[Re]=q(de[Re],Ve+"_"+Re));return de}function et(de){return!de||!1!==de.writable&&!("function"==typeof de.get&&typeof de.set>"u")}const tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,qe=!("nw"in ce)&&typeof ce.process<"u"&&"[object process]"==={}.toString.call(ce.process),Te=!qe&&!tt&&!(!Ae||!Le.HTMLElement),Ze=typeof ce.process<"u"&&"[object process]"==={}.toString.call(ce.process)&&!tt&&!(!Ae||!Le.HTMLElement),Xt={},bt=function(de){if(!(de=de||ce.event))return;let Ve=Xt[de.type];Ve||(Ve=Xt[de.type]=Se("ON_PROPERTY"+de.type));const Re=this||de.target||ce,He=Re[Ve];let fe;if(Te&&Re===Le&&"error"===de.type){const G=de;fe=He&&He.call(this,G.message,G.filename,G.lineno,G.colno,G.error),!0===fe&&de.preventDefault()}else fe=He&&He.apply(this,arguments),null!=fe&&!fe&&de.preventDefault();return fe};function mt(de,Ve,Re){let He=xe(de,Ve);if(!He&&Re&&xe(Re,Ve)&&(He={enumerable:!0,configurable:!0}),!He||!He.configurable)return;const fe=Se("on"+Ve+"patched");if(de.hasOwnProperty(fe)&&de[fe])return;delete He.writable,delete He.value;const G=He.get,W=He.set,Ee=Ve.slice(2);let Pe=Xt[Ee];Pe||(Pe=Xt[Ee]=Se("ON_PROPERTY"+Ee)),He.set=function(rt){let pt=this;!pt&&de===ce&&(pt=ce),pt&&("function"==typeof pt[Pe]&&pt.removeEventListener(Ee,bt),W&&W.call(pt,null),pt[Pe]=rt,"function"==typeof rt&&pt.addEventListener(Ee,bt,!1))},He.get=function(){let rt=this;if(!rt&&de===ce&&(rt=ce),!rt)return null;const pt=rt[Pe];if(pt)return pt;if(G){let $t=G.call(this);if($t)return He.set.call(this,$t),"function"==typeof rt.removeAttribute&&rt.removeAttribute(Ve),$t}return null},J(de,Ve,He),de[fe]=!0}function Ce(de,Ve,Re){if(Ve)for(let He=0;He<Ve.length;He++)mt(de,"on"+Ve[He],Re);else{const He=[];for(const fe in de)"on"==fe.slice(0,2)&&He.push(fe);for(let fe=0;fe<He.length;fe++)mt(de,He[fe],Re)}}const Q=Se("originalInstance");function me(de){const Ve=ce[de];if(!Ve)return;ce[Se(de)]=Ve,ce[de]=function(){const fe=Oe(arguments,de);switch(fe.length){case 0:this[Q]=new Ve;break;case 1:this[Q]=new Ve(fe[0]);break;case 2:this[Q]=new Ve(fe[0],fe[1]);break;case 3:this[Q]=new Ve(fe[0],fe[1],fe[2]);break;case 4:this[Q]=new Ve(fe[0],fe[1],fe[2],fe[3]);break;default:throw new Error("Arg list too long.")}},Ne(ce[de],Ve);const Re=new Ve((function(){}));let He;for(He in Re)"XMLHttpRequest"===de&&"responseBlob"===He||function(fe){"function"==typeof Re[fe]?ce[de].prototype[fe]=function(){return this[Q][fe].apply(this[Q],arguments)}:J(ce[de].prototype,fe,{set:function(G){"function"==typeof G?(this[Q][fe]=q(G,de+"."+fe),Ne(this[Q][fe],G)):this[Q][fe]=G},get:function(){return this[Q][fe]}})}(He);for(He in Ve)"prototype"!==He&&Ve.hasOwnProperty(He)&&(ce[de][He]=Ve[He])}function Ie(de,Ve,Re){let He=de;for(;He&&!He.hasOwnProperty(Ve);)He=P(He);!He&&de[Ve]&&(He=de);const fe=Se(Ve);let G=null;if(He&&(!(G=He[fe])||!He.hasOwnProperty(fe))&&(G=He[fe]=He[Ve],et(He&&xe(He,Ve)))){const Ee=Re(G,fe,Ve);He[Ve]=function(){return Ee(this,arguments)},Ne(He[Ve],G)}return G}function be(de,Ve,Re){let He=null;function fe(G){const W=G.data;return W.args[W.cbIdx]=function(){G.invoke.apply(this,arguments)},He.apply(W.target,W.args),G}He=Ie(de,Ve,(G=>function(W,Ee){const Pe=Re(W,Ee);return Pe.cbIdx>=0&&"function"==typeof Ee[Pe.cbIdx]?oe(Pe.name,Ee[Pe.cbIdx],Pe,fe):G.apply(W,Ee)}))}function Ne(de,Ve){de[Se("OriginalDelegate")]=Ve}let nt=!1,Pt=!1;function cn(){if(nt)return Pt;nt=!0;try{const de=Le.navigator.userAgent;(-1!==de.indexOf("MSIE ")||-1!==de.indexOf("Trident/")||-1!==de.indexOf("Edge/"))&&(Pt=!0)}catch{}return Pt}Zone.__load_patch("ZoneAwarePromise",((de,Ve,Re)=>{const He=Object.getOwnPropertyDescriptor,fe=Object.defineProperty,W=Re.symbol,Ee=[],Pe=!0===de[W("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],rt=W("Promise"),pt=W("then");Re.onUnhandledError=st=>{if(Re.showUncaughtError()){const Et=st&&st.rejection;Et?console.error("Unhandled Promise rejection:",Et instanceof Error?Et.message:Et,"; Zone:",st.zone.name,"; Task:",st.task&&st.task.source,"; Value:",Et,Et instanceof Error?Et.stack:void 0):console.error(st)}},Re.microtaskDrainDone=()=>{for(;Ee.length;){const st=Ee.shift();try{st.zone.runGuarded((()=>{throw st.throwOriginal?st.rejection:st}))}catch(Et){Ot(Et)}}};const _t=W("unhandledPromiseRejectionHandler");function Ot(st){Re.onUnhandledError(st);try{const Et=Ve[_t];"function"==typeof Et&&Et.call(this,st)}catch{}}function en(st){return st&&st.then}function Mn(st){return st}function Vt(st){return U.reject(st)}const xt=W("state"),It=W("value"),Dt=W("finally"),$n=W("parentPromiseValue"),Zt=W("parentPromiseState"),fn=null,yn=!1;function hn(st,Et){return ze=>{try{Wn(st,Et,ze)}catch(vt){Wn(st,!1,vt)}}}const on=function(){let st=!1;return function(ze){return function(){st||(st=!0,ze.apply(null,arguments))}}},wr=W("currentTaskTrace");function Wn(st,Et,ze){const vt=on();if(st===ze)throw new TypeError("Promise resolved with itself");if(st[xt]===fn){let St=null;try{("object"==typeof ze||"function"==typeof ze)&&(St=ze&&ze.then)}catch(zt){return vt((()=>{Wn(st,!1,zt)}))(),st}if(Et!==yn&&ze instanceof U&&ze.hasOwnProperty(xt)&&ze.hasOwnProperty(It)&&ze[xt]!==fn)mr(ze),Wn(st,ze[xt],ze[It]);else if(Et!==yn&&"function"==typeof St)try{St.call(ze,vt(hn(st,Et)),vt(hn(st,!1)))}catch(zt){vt((()=>{Wn(st,!1,zt)}))()}else{st[xt]=Et;const zt=st[It];if(st[It]=ze,st[Dt]===Dt&&!0===Et&&(st[xt]=st[Zt],st[It]=st[$n]),Et===yn&&ze instanceof Error){const Ut=Ve.currentTask&&Ve.currentTask.data&&Ve.currentTask.data.__creationTrace__;Ut&&fe(ze,wr,{configurable:!0,enumerable:!1,writable:!0,value:Ut})}for(let Ut=0;Ut<zt.length;)ln(st,zt[Ut++],zt[Ut++],zt[Ut++],zt[Ut++]);if(0==zt.length&&Et==yn){st[xt]=0;let Ut=ze;try{throw new Error("Uncaught (in promise): "+function G(st){return st&&st.toString===Object.prototype.toString?(st.constructor&&st.constructor.name||"")+": "+JSON.stringify(st):st?st.toString():Object.prototype.toString.call(st)}(ze)+(ze&&ze.stack?"\n"+ze.stack:""))}catch(Mt){Ut=Mt}Pe&&(Ut.throwOriginal=!0),Ut.rejection=ze,Ut.promise=st,Ut.zone=Ve.current,Ut.task=Ve.currentTask,Ee.push(Ut),Re.scheduleMicroTask()}}}return st}const Nn=W("rejectionHandledHandler");function mr(st){if(0===st[xt]){try{const Et=Ve[Nn];Et&&"function"==typeof Et&&Et.call(this,{rejection:st[It],promise:st})}catch{}st[xt]=yn;for(let Et=0;Et<Ee.length;Et++)st===Ee[Et].promise&&Ee.splice(Et,1)}}function ln(st,Et,ze,vt,St){mr(st);const zt=st[xt],Ut=zt?"function"==typeof vt?vt:Mn:"function"==typeof St?St:Vt;Et.scheduleMicroTask("Promise.then",(()=>{try{const Mt=st[It],tn=!!ze&&Dt===ze[Dt];tn&&(ze[$n]=Mt,ze[Zt]=zt);const Kt=Et.run(Ut,void 0,tn&&Ut!==Vt&&Ut!==Mn?[]:[Mt]);Wn(ze,!0,Kt)}catch(Mt){Wn(ze,!1,Mt)}}),ze)}const ae=function(){},Y=de.AggregateError;class U{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Et){return Wn(new this(null),!0,Et)}static reject(Et){return Wn(new this(null),yn,Et)}static any(Et){if(!Et||"function"!=typeof Et[Symbol.iterator])return Promise.reject(new Y([],"All promises were rejected"));const ze=[];let vt=0;try{for(let Ut of Et)vt++,ze.push(U.resolve(Ut))}catch{return Promise.reject(new Y([],"All promises were rejected"))}if(0===vt)return Promise.reject(new Y([],"All promises were rejected"));let St=!1;const zt=[];return new U(((Ut,Mt)=>{for(let tn=0;tn<ze.length;tn++)ze[tn].then((Kt=>{St||(St=!0,Ut(Kt))}),(Kt=>{zt.push(Kt),vt--,0===vt&&(St=!0,Mt(new Y(zt,"All promises were rejected")))}))}))}static race(Et){let ze,vt,St=new this(((Mt,tn)=>{ze=Mt,vt=tn}));function zt(Mt){ze(Mt)}function Ut(Mt){vt(Mt)}for(let Mt of Et)en(Mt)||(Mt=this.resolve(Mt)),Mt.then(zt,Ut);return St}static all(Et){return U.allWithCallback(Et)}static allSettled(Et){return(this&&this.prototype instanceof U?this:U).allWithCallback(Et,{thenCallback:vt=>({status:"fulfilled",value:vt}),errorCallback:vt=>({status:"rejected",reason:vt})})}static allWithCallback(Et,ze){let vt,St,zt=new this(((Kt,qn)=>{vt=Kt,St=qn})),Ut=2,Mt=0;const tn=[];for(let Kt of Et){en(Kt)||(Kt=this.resolve(Kt));const qn=Mt;try{Kt.then((In=>{tn[qn]=ze?ze.thenCallback(In):In,Ut--,0===Ut&&vt(tn)}),(In=>{ze?(tn[qn]=ze.errorCallback(In),Ut--,0===Ut&&vt(tn)):St(In)}))}catch(In){St(In)}Ut++,Mt++}return Ut-=2,0===Ut&&vt(tn),zt}constructor(Et){const ze=this;if(!(ze instanceof U))throw new Error("Must be an instanceof Promise.");ze[xt]=fn,ze[It]=[];try{const vt=on();Et&&Et(vt(hn(ze,!0)),vt(hn(ze,yn)))}catch(vt){Wn(ze,!1,vt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return U}then(Et,ze){var vt;let St=null===(vt=this.constructor)||void 0===vt?void 0:vt[Symbol.species];(!St||"function"!=typeof St)&&(St=this.constructor||U);const zt=new St(ae),Ut=Ve.current;return this[xt]==fn?this[It].push(Ut,zt,Et,ze):ln(this,Ut,zt,Et,ze),zt}catch(Et){return this.then(null,Et)}finally(Et){var ze;let vt=null===(ze=this.constructor)||void 0===ze?void 0:ze[Symbol.species];(!vt||"function"!=typeof vt)&&(vt=U);const St=new vt(ae);St[Dt]=Dt;const zt=Ve.current;return this[xt]==fn?this[It].push(zt,St,Et,Et):ln(this,zt,St,Et,Et),St}}U.resolve=U.resolve,U.reject=U.reject,U.race=U.race,U.all=U.all;const ne=de[rt]=de.Promise;de.Promise=U;const Fe=W("thenPatched");function it(st){const Et=st.prototype,ze=He(Et,"then");if(ze&&(!1===ze.writable||!ze.configurable))return;const vt=Et.then;Et[pt]=vt,st.prototype.then=function(St,zt){return new U(((Mt,tn)=>{vt.call(this,Mt,tn)})).then(St,zt)},st[Fe]=!0}return Re.patchThen=it,ne&&(it(ne),Ie(de,"fetch",(st=>function Bt(st){return function(Et,ze){let vt=st.apply(Et,ze);if(vt instanceof U)return vt;let St=vt.constructor;return St[Fe]||it(St),vt}}(st)))),Promise[Ve.__symbol__("uncaughtPromiseErrors")]=Ee,U})),Zone.__load_patch("toString",(de=>{const Ve=Function.prototype.toString,Re=Se("OriginalDelegate"),He=Se("Promise"),fe=Se("Error"),G=function(){if("function"==typeof this){const rt=this[Re];if(rt)return"function"==typeof rt?Ve.call(rt):Object.prototype.toString.call(rt);if(this===Promise){const pt=de[He];if(pt)return Ve.call(pt)}if(this===Error){const pt=de[fe];if(pt)return Ve.call(pt)}}return Ve.call(this)};G[Re]=Ve,Function.prototype.toString=G;const W=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":W.call(this)}}));let dn=!1;if(typeof window<"u")try{const de=Object.defineProperty({},"passive",{get:function(){dn=!0}});window.addEventListener("test",de,de),window.removeEventListener("test",de,de)}catch{dn=!1}const ir={useG:!0},Sn={},Or={},zn=new RegExp("^"+ve+"(\\w+)(true|false)$"),an=Se("propagationStopped");function or(de,Ve){const Re=(Ve?Ve(de):de)+ue,He=(Ve?Ve(de):de)+re,fe=ve+Re,G=ve+He;Sn[de]={},Sn[de][ue]=fe,Sn[de][re]=G}function Gn(de,Ve,Re,He){const fe=He&&He.add||z,G=He&&He.rm||X,W=He&&He.listeners||"eventListeners",Ee=He&&He.rmAll||"removeAllListeners",Pe=Se(fe),rt="."+fe+":",_t=function(It,Dt,$n){if(It.isRemoved)return;const Zt=It.callback;let At;"object"==typeof Zt&&Zt.handleEvent&&(It.callback=Nt=>Zt.handleEvent(Nt),It.originalDelegate=Zt);try{It.invoke(It,Dt,[$n])}catch(Nt){At=Nt}const fn=It.options;return fn&&"object"==typeof fn&&fn.once&&Dt[G].call(Dt,$n.type,It.originalDelegate?It.originalDelegate:It.callback,fn),At};function Ot(It,Dt,$n){if(!(Dt=Dt||de.event))return;const Zt=It||Dt.target||de,At=Zt[Sn[Dt.type][$n?re:ue]];if(At){const fn=[];if(1===At.length){const Nt=_t(At[0],Zt,Dt);Nt&&fn.push(Nt)}else{const Nt=At.slice();for(let yn=0;yn<Nt.length&&(!Dt||!0!==Dt[an]);yn++){const Rt=_t(Nt[yn],Zt,Dt);Rt&&fn.push(Rt)}}if(1===fn.length)throw fn[0];for(let Nt=0;Nt<fn.length;Nt++){const yn=fn[Nt];Ve.nativeScheduleMicroTask((()=>{throw yn}))}}}const en=function(It){return Ot(this,It,!1)},Mn=function(It){return Ot(this,It,!0)};function Vt(It,Dt){if(!It)return!1;let $n=!0;Dt&&void 0!==Dt.useG&&($n=Dt.useG);const Zt=Dt&&Dt.vh;let At=!0;Dt&&void 0!==Dt.chkDup&&(At=Dt.chkDup);let fn=!1;Dt&&void 0!==Dt.rt&&(fn=Dt.rt);let Nt=It;for(;Nt&&!Nt.hasOwnProperty(fe);)Nt=P(Nt);if(!Nt&&It[fe]&&(Nt=It),!Nt||Nt[Pe])return!1;const yn=Dt&&Dt.eventNameToString,Rt={},hn=Nt[Pe]=Nt[fe],on=Nt[Se(G)]=Nt[G],gr=Nt[Se(W)]=Nt[W],wr=Nt[Se(Ee)]=Nt[Ee];let Wn;function Nn(ze,vt){return!dn&&"object"==typeof ze&&ze?!!ze.capture:dn&&vt?"boolean"==typeof ze?{capture:ze,passive:!0}:ze?"object"==typeof ze&&!1!==ze.passive?Object.assign(Object.assign({},ze),{passive:!0}):ze:{passive:!0}:ze}Dt&&Dt.prepend&&(Wn=Nt[Se(Dt.prepend)]=Nt[Dt.prepend]);const U=$n?function(ze){if(!Rt.isExisting)return hn.call(Rt.target,Rt.eventName,Rt.capture?Mn:en,Rt.options)}:function(ze){return hn.call(Rt.target,Rt.eventName,ze.invoke,Rt.options)},ne=$n?function(ze){if(!ze.isRemoved){const vt=Sn[ze.eventName];let St;vt&&(St=vt[ze.capture?re:ue]);const zt=St&&ze.target[St];if(zt)for(let Ut=0;Ut<zt.length;Ut++)if(zt[Ut]===ze){zt.splice(Ut,1),ze.isRemoved=!0,0===zt.length&&(ze.allRemoved=!0,ze.target[St]=null);break}}if(ze.allRemoved)return on.call(ze.target,ze.eventName,ze.capture?Mn:en,ze.options)}:function(ze){return on.call(ze.target,ze.eventName,ze.invoke,ze.options)},it=Dt&&Dt.diff?Dt.diff:function(ze,vt){const St=typeof vt;return"function"===St&&ze.callback===vt||"object"===St&&ze.originalDelegate===vt},Bt=Zone[Se("UNPATCHED_EVENTS")],st=de[Se("PASSIVE_EVENTS")],Et=function(ze,vt,St,zt,Ut=!1,Mt=!1){return function(){const tn=this||de;let Kt=arguments[0];Dt&&Dt.transferEventName&&(Kt=Dt.transferEventName(Kt));let qn=arguments[1];if(!qn)return ze.apply(this,arguments);if(qe&&"uncaughtException"===Kt)return ze.apply(this,arguments);let In=!1;if("function"!=typeof qn){if(!qn.handleEvent)return ze.apply(this,arguments);In=!0}if(Zt&&!Zt(ze,qn,tn,arguments))return;const tr=dn&&!!st&&-1!==st.indexOf(Kt),xr=Nn(arguments[2],tr);if(Bt)for(let R=0;R<Bt.length;R++)if(Kt===Bt[R])return tr?ze.call(tn,Kt,qn,xr):ze.apply(this,arguments);const Gr=!!xr&&("boolean"==typeof xr||xr.capture),Mr=!(!xr||"object"!=typeof xr)&&xr.once,ar=Zone.current;let Gi=Sn[Kt];Gi||(or(Kt,yn),Gi=Sn[Kt]);const vn=Gi[Gr?re:ue];let yi,oi=tn[vn],Ii=!1;if(oi){if(Ii=!0,At)for(let R=0;R<oi.length;R++)if(it(oi[R],qn))return}else oi=tn[vn]=[];const Ti=tn.constructor.name,vi=Or[Ti];vi&&(yi=vi[Kt]),yi||(yi=Ti+vt+(yn?yn(Kt):Kt)),Rt.options=xr,Mr&&(Rt.options.once=!1),Rt.target=tn,Rt.capture=Gr,Rt.eventName=Kt,Rt.isExisting=Ii;const ei=$n?ir:void 0;ei&&(ei.taskData=Rt);const dr=ar.scheduleEventTask(yi,qn,ei,St,zt);return Rt.target=null,ei&&(ei.taskData=null),Mr&&(xr.once=!0),!dn&&"boolean"==typeof dr.options||(dr.options=xr),dr.target=tn,dr.capture=Gr,dr.eventName=Kt,In&&(dr.originalDelegate=qn),Mt?oi.unshift(dr):oi.push(dr),Ut?tn:void 0}};return Nt[fe]=Et(hn,rt,U,ne,fn),Wn&&(Nt.prependListener=Et(Wn,".prependListener:",(function(ze){return Wn.call(Rt.target,Rt.eventName,ze.invoke,Rt.options)}),ne,fn,!0)),Nt[G]=function(){const ze=this||de;let vt=arguments[0];Dt&&Dt.transferEventName&&(vt=Dt.transferEventName(vt));const St=arguments[2],zt=!!St&&("boolean"==typeof St||St.capture),Ut=arguments[1];if(!Ut)return on.apply(this,arguments);if(Zt&&!Zt(on,Ut,ze,arguments))return;const Mt=Sn[vt];let tn;Mt&&(tn=Mt[zt?re:ue]);const Kt=tn&&ze[tn];if(Kt)for(let qn=0;qn<Kt.length;qn++){const In=Kt[qn];if(it(In,Ut))return Kt.splice(qn,1),In.isRemoved=!0,0===Kt.length&&(In.allRemoved=!0,ze[tn]=null,"string"==typeof vt)&&(ze[ve+"ON_PROPERTY"+vt]=null),In.zone.cancelTask(In),fn?ze:void 0}return on.apply(this,arguments)},Nt[W]=function(){const ze=this||de;let vt=arguments[0];Dt&&Dt.transferEventName&&(vt=Dt.transferEventName(vt));const St=[],zt=zr(ze,yn?yn(vt):vt);for(let Ut=0;Ut<zt.length;Ut++){const Mt=zt[Ut];St.push(Mt.originalDelegate?Mt.originalDelegate:Mt.callback)}return St},Nt[Ee]=function(){const ze=this||de;let vt=arguments[0];if(vt){Dt&&Dt.transferEventName&&(vt=Dt.transferEventName(vt));const St=Sn[vt];if(St){const Mt=ze[St[ue]],tn=ze[St[re]];if(Mt){const Kt=Mt.slice();for(let qn=0;qn<Kt.length;qn++){const In=Kt[qn];this[G].call(this,vt,In.originalDelegate?In.originalDelegate:In.callback,In.options)}}if(tn){const Kt=tn.slice();for(let qn=0;qn<Kt.length;qn++){const In=Kt[qn];this[G].call(this,vt,In.originalDelegate?In.originalDelegate:In.callback,In.options)}}}}else{const St=Object.keys(ze);for(let zt=0;zt<St.length;zt++){const Mt=zn.exec(St[zt]);let tn=Mt&&Mt[1];tn&&"removeListener"!==tn&&this[Ee].call(this,tn)}this[Ee].call(this,"removeListener")}if(fn)return this},Ne(Nt[fe],hn),Ne(Nt[G],on),wr&&Ne(Nt[Ee],wr),gr&&Ne(Nt[W],gr),!0}let xt=[];for(let It=0;It<Re.length;It++)xt[It]=Vt(Re[It],He);return xt}function zr(de,Ve){if(!Ve){const G=[];for(let W in de){const Ee=zn.exec(W);let Pe=Ee&&Ee[1];if(Pe&&(!Ve||Pe===Ve)){const rt=de[W];if(rt)for(let pt=0;pt<rt.length;pt++)G.push(rt[pt])}}return G}let Re=Sn[Ve];Re||(or(Ve),Re=Sn[Ve]);const He=de[Re[ue]],fe=de[Re[re]];return He?fe?He.concat(fe):He.slice():fe?fe.slice():[]}function vr(de,Ve){const Re=de.Event;Re&&Re.prototype&&Ve.patchMethod(Re.prototype,"stopImmediatePropagation",(He=>function(fe,G){fe[an]=!0,He&&He.apply(fe,G)}))}function Ai(de,Ve,Re,He,fe){const G=Zone.__symbol__(He);if(Ve[G])return;const W=Ve[G]=Ve[He];Ve[He]=function(Ee,Pe,rt){return Pe&&Pe.prototype&&fe.forEach((function(pt){const $t=`${Re}.${He}::`+pt,_t=Pe.prototype;try{if(_t.hasOwnProperty(pt)){const Ot=de.ObjectGetOwnPropertyDescriptor(_t,pt);Ot&&Ot.value?(Ot.value=de.wrapWithCurrentZone(Ot.value,$t),de._redefineProperty(Pe.prototype,pt,Ot)):_t[pt]&&(_t[pt]=de.wrapWithCurrentZone(_t[pt],$t))}else _t[pt]&&(_t[pt]=de.wrapWithCurrentZone(_t[pt],$t))}catch{}})),W.call(Ve,Ee,Pe,rt)},de.attachOriginToPatched(Ve[He],W)}function Hr(de,Ve,Re){if(!Re||0===Re.length)return Ve;const He=Re.filter((G=>G.target===de));if(!He||0===He.length)return Ve;const fe=He[0].ignoreProperties;return Ve.filter((G=>-1===fe.indexOf(G)))}function Nr(de,Ve,Re,He){de&&Ce(de,Hr(de,Ve,Re),He)}function pr(de){return Object.getOwnPropertyNames(de).filter((Ve=>Ve.startsWith("on")&&Ve.length>2)).map((Ve=>Ve.substring(2)))}Zone.__load_patch("util",((de,Ve,Re)=>{const He=pr(de);Re.patchOnProperties=Ce,Re.patchMethod=Ie,Re.bindArguments=Oe,Re.patchMacroTask=be;const fe=Ve.__symbol__("BLACK_LISTED_EVENTS"),G=Ve.__symbol__("UNPATCHED_EVENTS");de[G]&&(de[fe]=de[G]),de[fe]&&(Ve[fe]=Ve[G]=de[fe]),Re.patchEventPrototype=vr,Re.patchEventTarget=Gn,Re.isIEOrEdge=cn,Re.ObjectDefineProperty=J,Re.ObjectGetOwnPropertyDescriptor=xe,Re.ObjectCreate=o,Re.ArraySlice=v,Re.patchClass=me,Re.wrapWithCurrentZone=q,Re.filterProperties=Hr,Re.attachOriginToPatched=Ne,Re._redefineProperty=Object.defineProperty,Re.patchCallbacks=Ai,Re.getGlobalObjects=()=>({globalSources:Or,zoneSymbolEventNames:Sn,eventNames:He,isBrowser:Te,isMix:Ze,isNode:qe,TRUE_STR:re,FALSE_STR:ue,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:z,REMOVE_EVENT_LISTENER_STR:X})}));const Xr=Se("zoneTask");function Cr(de,Ve,Re,He){let fe=null,G=null;Re+=He;const W={};function Ee(rt){const pt=rt.data;return pt.args[0]=function(){return rt.invoke.apply(this,arguments)},pt.handleId=fe.apply(de,pt.args),rt}function Pe(rt){return G.call(de,rt.data.handleId)}fe=Ie(de,Ve+=He,(rt=>function(pt,$t){if("function"==typeof $t[0]){const _t={isPeriodic:"Interval"===He,delay:"Timeout"===He||"Interval"===He?$t[1]||0:void 0,args:$t},Ot=$t[0];$t[0]=function(){try{return Ot.apply(this,arguments)}finally{_t.isPeriodic||("number"==typeof _t.handleId?delete W[_t.handleId]:_t.handleId&&(_t.handleId[Xr]=null))}};const en=oe(Ve,$t[0],_t,Ee,Pe);if(!en)return en;const Mn=en.data.handleId;return"number"==typeof Mn?W[Mn]=en:Mn&&(Mn[Xr]=en),Mn&&Mn.ref&&Mn.unref&&"function"==typeof Mn.ref&&"function"==typeof Mn.unref&&(en.ref=Mn.ref.bind(Mn),en.unref=Mn.unref.bind(Mn)),"number"==typeof Mn||Mn?Mn:en}return rt.apply(de,$t)})),G=Ie(de,Re,(rt=>function(pt,$t){const _t=$t[0];let Ot;"number"==typeof _t?Ot=W[_t]:(Ot=_t&&_t[Xr],Ot||(Ot=_t)),Ot&&"string"==typeof Ot.type?"notScheduled"!==Ot.state&&(Ot.cancelFn&&Ot.data.isPeriodic||0===Ot.runCount)&&("number"==typeof _t?delete W[_t]:_t&&(_t[Xr]=null),Ot.zone.cancelTask(Ot)):rt.apply(de,$t)}))}Zone.__load_patch("legacy",(de=>{const Ve=de[Zone.__symbol__("legacyPatch")];Ve&&Ve()})),Zone.__load_patch("queueMicrotask",((de,Ve,Re)=>{Re.patchMethod(de,"queueMicrotask",(He=>function(fe,G){Ve.current.scheduleMicroTask("queueMicrotask",G[0])}))})),Zone.__load_patch("timers",(de=>{const Re="clear";Cr(de,"set",Re,"Timeout"),Cr(de,"set",Re,"Interval"),Cr(de,"set",Re,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(de=>{Cr(de,"request","cancel","AnimationFrame"),Cr(de,"mozRequest","mozCancel","AnimationFrame"),Cr(de,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((de,Ve)=>{const Re=["alert","prompt","confirm"];for(let He=0;He<Re.length;He++)Ie(de,Re[He],((G,W,Ee)=>function(Pe,rt){return Ve.current.run(G,de,rt,Ee)}))})),Zone.__load_patch("EventTarget",((de,Ve,Re)=>{(function sr(de,Ve){Ve.patchEventPrototype(de,Ve)})(de,Re),function Kr(de,Ve){if(Zone[Ve.symbol("patchEventTarget")])return;const{eventNames:Re,zoneSymbolEventNames:He,TRUE_STR:fe,FALSE_STR:G,ZONE_SYMBOL_PREFIX:W}=Ve.getGlobalObjects();for(let Pe=0;Pe<Re.length;Pe++){const rt=Re[Pe],_t=W+(rt+G),Ot=W+(rt+fe);He[rt]={},He[rt][G]=_t,He[rt][fe]=Ot}const Ee=de.EventTarget;Ee&&Ee.prototype&&Ve.patchEventTarget(de,Ve,[Ee&&Ee.prototype])}(de,Re);const He=de.XMLHttpRequestEventTarget;He&&He.prototype&&Re.patchEventTarget(de,Re,[He.prototype])})),Zone.__load_patch("MutationObserver",((de,Ve,Re)=>{me("MutationObserver"),me("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((de,Ve,Re)=>{me("IntersectionObserver")})),Zone.__load_patch("FileReader",((de,Ve,Re)=>{me("FileReader")})),Zone.__load_patch("on_property",((de,Ve,Re)=>{!function Zr(de,Ve){if(qe&&!Ze||Zone[de.symbol("patchEvents")])return;const Re=Ve.__Zone_ignore_on_properties;let He=[];if(Te){const fe=window;He=He.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const G=function er(){try{const de=Le.navigator.userAgent;if(-1!==de.indexOf("MSIE ")||-1!==de.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:fe,ignoreProperties:["error"]}]:[];Nr(fe,pr(fe),Re&&Re.concat(G),P(fe))}He=He.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let fe=0;fe<He.length;fe++){const G=Ve[He[fe]];G&&G.prototype&&Nr(G.prototype,pr(G.prototype),Re)}}(Re,de)})),Zone.__load_patch("customElements",((de,Ve,Re)=>{!function Gt(de,Ve){const{isBrowser:Re,isMix:He}=Ve.getGlobalObjects();(Re||He)&&de.customElements&&"customElements"in de&&Ve.patchCallbacks(Ve,de.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(de,Re)})),Zone.__load_patch("XHR",((de,Ve)=>{!function Pe(rt){const pt=rt.XMLHttpRequest;if(!pt)return;const $t=pt.prototype;let Ot=$t[K],en=$t[pe];if(!Ot){const Rt=rt.XMLHttpRequestEventTarget;if(Rt){const hn=Rt.prototype;Ot=hn[K],en=hn[pe]}}const Mn="readystatechange",Vt="scheduled";function xt(Rt){const hn=Rt.data,on=hn.target;on[G]=!1,on[Ee]=!1;const gr=on[fe];Ot||(Ot=on[K],en=on[pe]),gr&&en.call(on,Mn,gr);const wr=on[fe]=()=>{if(on.readyState===on.DONE)if(!hn.aborted&&on[G]&&Rt.state===Vt){const Nn=on[Ve.__symbol__("loadfalse")];if(0!==on.status&&Nn&&Nn.length>0){const mr=Rt.invoke;Rt.invoke=function(){const ln=on[Ve.__symbol__("loadfalse")];for(let we=0;we<ln.length;we++)ln[we]===Rt&&ln.splice(we,1);!hn.aborted&&Rt.state===Vt&&mr.call(Rt)},Nn.push(Rt)}else Rt.invoke()}else!hn.aborted&&!1===on[G]&&(on[Ee]=!0)};return Ot.call(on,Mn,wr),on[Re]||(on[Re]=Rt),Nt.apply(on,hn.args),on[G]=!0,Rt}function It(){}function Dt(Rt){const hn=Rt.data;return hn.aborted=!0,yn.apply(hn.target,hn.args)}const $n=Ie($t,"open",(()=>function(Rt,hn){return Rt[He]=0==hn[2],Rt[W]=hn[1],$n.apply(Rt,hn)})),At=Se("fetchTaskAborting"),fn=Se("fetchTaskScheduling"),Nt=Ie($t,"send",(()=>function(Rt,hn){if(!0===Ve.current[fn]||Rt[He])return Nt.apply(Rt,hn);{const on={target:Rt,url:Rt[W],isPeriodic:!1,args:hn,aborted:!1},gr=oe("XMLHttpRequest.send",It,on,xt,Dt);Rt&&!0===Rt[Ee]&&!on.aborted&&gr.state===Vt&&gr.invoke()}})),yn=Ie($t,"abort",(()=>function(Rt,hn){const on=function _t(Rt){return Rt[Re]}(Rt);if(on&&"string"==typeof on.type){if(null==on.cancelFn||on.data&&on.data.aborted)return;on.zone.cancelTask(on)}else if(!0===Ve.current[At])return yn.apply(Rt,hn)}))}(de);const Re=Se("xhrTask"),He=Se("xhrSync"),fe=Se("xhrListener"),G=Se("xhrScheduled"),W=Se("xhrURL"),Ee=Se("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(de=>{de.navigator&&de.navigator.geolocation&&function $e(de,Ve){const Re=de.constructor.name;for(let He=0;He<Ve.length;He++){const fe=Ve[He],G=de[fe];if(G){if(!et(xe(de,fe)))continue;de[fe]=(Ee=>{const Pe=function(){return Ee.apply(this,Oe(arguments,Re+"."+fe))};return Ne(Pe,Ee),Pe})(G)}}}(de.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((de,Ve)=>{function Re(He){return function(fe){zr(de,He).forEach((W=>{const Ee=de.PromiseRejectionEvent;if(Ee){const Pe=new Ee(He,{promise:fe.promise,reason:fe.rejection});W.invoke(Pe)}}))}}de.PromiseRejectionEvent&&(Ve[Se("unhandledPromiseRejectionHandler")]=Re("unhandledrejection"),Ve[Se("rejectionHandledHandler")]=Re("rejectionhandled"))}))},5987:(xe,J,P)=>{"use strict";function ue(Ce,Q,me,Ie){return new(me||(me=Promise))((function(Ne,nt){function Pt(dn){try{cn(Ie.next(dn))}catch(ir){nt(ir)}}function er(dn){try{cn(Ie.throw(dn))}catch(ir){nt(ir)}}function cn(dn){dn.done?Ne(dn.value):function be(Ne){return Ne instanceof me?Ne:new me((function(nt){nt(Ne)}))}(dn.value).then(Pt,er)}cn((Ie=Ie.apply(Ce,Q||[])).next())}))}function Oe(Ce){return this instanceof Oe?(this.v=Ce,this):new Oe(Ce)}function $e(Ce,Q,me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var be,Ie=me.apply(Ce,Q||[]),Ne=[];return be={},nt("next"),nt("throw"),nt("return"),be[Symbol.asyncIterator]=function(){return this},be;function nt(Sn){Ie[Sn]&&(be[Sn]=function(Or){return new Promise((function(zn,an){Ne.push([Sn,Or,zn,an])>1||Pt(Sn,Or)}))})}function Pt(Sn,Or){try{!function er(Sn){Sn.value instanceof Oe?Promise.resolve(Sn.value.v).then(cn,dn):ir(Ne[0][2],Sn)}(Ie[Sn](Or))}catch(zn){ir(Ne[0][3],zn)}}function cn(Sn){Pt("next",Sn)}function dn(Sn){Pt("throw",Sn)}function ir(Sn,Or){Sn(Or),Ne.shift(),Ne.length&&Pt(Ne[0][0],Ne[0][1])}}function tt(Ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,Q=Ce[Symbol.asyncIterator];return Q?Q.call(Ce):(Ce=function Se(Ce){var Q="function"==typeof Symbol&&Symbol.iterator,me=Q&&Ce[Q],Ie=0;if(me)return me.call(Ce);if(Ce&&"number"==typeof Ce.length)return{next:function(){return Ce&&Ie>=Ce.length&&(Ce=void 0),{value:Ce&&Ce[Ie++],done:!Ce}}};throw new TypeError(Q?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ce),me={},Ie("next"),Ie("throw"),Ie("return"),me[Symbol.asyncIterator]=function(){return this},me);function Ie(Ne){me[Ne]=Ce[Ne]&&function(nt){return new Promise((function(Pt,er){!function be(Ne,nt,Pt,er){Promise.resolve(er).then((function(cn){Ne({value:cn,done:Pt})}),nt)}(Pt,er,(nt=Ce[Ne](nt)).done,nt.value)}))}}}P.d(J,{FC:()=>$e,KL:()=>tt,mG:()=>ue,qq:()=>Oe})},7340:(xe,J,P)=>{"use strict";P.d(J,{LC:()=>v,SB:()=>ve,X$:()=>X,ZE:()=>et,ZN:()=>$e,_j:()=>o,eR:()=>oe,jt:()=>K,k1:()=>tt,l3:()=>z,oB:()=>ue,vP:()=>re});class o{}class v{}const z="*";function X(qe,Te){return{type:7,name:qe,definitions:Te,options:{}}}function K(qe,Te=null){return{type:4,styles:Te,timings:qe}}function re(qe,Te=null){return{type:2,steps:qe,options:Te}}function ue(qe){return{type:6,styles:qe,offset:null}}function ve(qe,Te,Ze){return{type:0,name:qe,styles:Te,options:Ze}}function oe(qe,Te,Ze=null){return{type:1,expr:qe,animation:Te,options:Ze}}function Oe(qe){Promise.resolve().then(qe)}class $e{constructor(Te=0,Ze=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Te+Ze}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Te=>Te())),this._onDoneFns=[])}onStart(Te){this._originalOnStartFns.push(Te),this._onStartFns.push(Te)}onDone(Te){this._originalOnDoneFns.push(Te),this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Oe((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((Te=>Te())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((Te=>Te())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Te){this._position=this.totalTime?Te*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Te){const Ze="start"==Te?this._onStartFns:this._onDoneFns;Ze.forEach((Xt=>Xt())),Ze.length=0}}class et{constructor(Te){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Te;let Ze=0,Xt=0,bt=0;const mt=this.players.length;0==mt?Oe((()=>this._onFinish())):this.players.forEach((Ce=>{Ce.onDone((()=>{++Ze==mt&&this._onFinish()})),Ce.onDestroy((()=>{++Xt==mt&&this._onDestroy()})),Ce.onStart((()=>{++bt==mt&&this._onStart()}))})),this.totalTime=this.players.reduce(((Ce,Q)=>Math.max(Ce,Q.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((Te=>Te())),this._onDoneFns=[])}init(){this.players.forEach((Te=>Te.init()))}onStart(Te){this._onStartFns.push(Te)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((Te=>Te())),this._onStartFns=[])}onDone(Te){this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((Te=>Te.play()))}pause(){this.players.forEach((Te=>Te.pause()))}restart(){this.players.forEach((Te=>Te.restart()))}finish(){this._onFinish(),this.players.forEach((Te=>Te.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((Te=>Te.destroy())),this._onDestroyFns.forEach((Te=>Te())),this._onDestroyFns=[])}reset(){this.players.forEach((Te=>Te.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Te){const Ze=Te*this.totalTime;this.players.forEach((Xt=>{const bt=Xt.totalTime?Math.min(1,Ze/Xt.totalTime):1;Xt.setPosition(bt)}))}getPosition(){const Te=this.players.reduce(((Ze,Xt)=>null===Ze||Xt.totalTime>Ze.totalTime?Xt:Ze),null);return null!=Te?Te.getPosition():0}beforeDestroy(){this.players.forEach((Te=>{Te.beforeDestroy&&Te.beforeDestroy()}))}triggerCallback(Te){const Ze="start"==Te?this._onStartFns:this._onDoneFns;Ze.forEach((Xt=>Xt())),Ze.length=0}}const tt="!"},6895:(xe,J,P)=>{"use strict";P.d(J,{Do:()=>tt,EM:()=>Yo,HT:()=>K,JF:()=>Ds,K0:()=>re,Mx:()=>tr,NF:()=>Wo,O5:()=>yi,PC:()=>We,S$:()=>Oe,V_:()=>q,Ye:()=>qe,b0:()=>et,bD:()=>as,ez:()=>Go,mk:()=>xr,mr:()=>$e,q:()=>z,sg:()=>vn,tP:()=>lt,w_:()=>pe});var o=P(1571);let v=null;function z(){return v}function K(w){v||(v=w)}class pe{}const re=new o.OlP("DocumentToken");let ue=(()=>{class w{historyGo(D){throw new Error("Not implemented")}}return w.ɵfac=function(D){return new(D||w)},w.ɵprov=o.Yz7({token:w,factory:function(){return function ve(){return(0,o.LFG)(oe)}()},providedIn:"platform"}),w})();const q=new o.OlP("Location Initialized");let oe=(()=>{class w extends ue{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return z().getBaseHref(this._doc)}onPopState(D){const L=z().getGlobalEventTarget(this._doc,"window");return L.addEventListener("popstate",D,!1),()=>L.removeEventListener("popstate",D)}onHashChange(D){const L=z().getGlobalEventTarget(this._doc,"window");return L.addEventListener("hashchange",D,!1),()=>L.removeEventListener("hashchange",D)}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(D){this.location.pathname=D}pushState(D,L,_e){Se()?this._history.pushState(D,L,_e):this.location.hash=_e}replaceState(D,L,_e){Se()?this._history.replaceState(D,L,_e):this.location.hash=_e}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return w.ɵfac=function(D){return new(D||w)(o.LFG(re))},w.ɵprov=o.Yz7({token:w,factory:function(){return function Ae(){return new oe((0,o.LFG)(re))}()},providedIn:"platform"}),w})();function Se(){return!!window.history.pushState}function Le(w,I){if(0==w.length)return I;if(0==I.length)return w;let D=0;return w.endsWith("/")&&D++,I.startsWith("/")&&D++,2==D?w+I.substring(1):1==D?w+I:w+"/"+I}function ce(w){const I=w.match(/#|\?|$/),D=I&&I.index||w.length;return w.slice(0,D-("/"===w[D-1]?1:0))+w.slice(D)}function Xe(w){return w&&"?"!==w[0]?"?"+w:w}let Oe=(()=>{class w{historyGo(D){throw new Error("Not implemented")}}return w.ɵfac=function(D){return new(D||w)},w.ɵprov=o.Yz7({token:w,factory:function(){return(0,o.f3M)(et)},providedIn:"root"}),w})();const $e=new o.OlP("appBaseHref");let et=(()=>{class w extends Oe{constructor(D,L){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=L??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(re).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return Le(this._baseHref,D)}path(D=!1){const L=this._platformLocation.pathname+Xe(this._platformLocation.search),_e=this._platformLocation.hash;return _e&&D?`${L}${_e}`:L}pushState(D,L,_e,Ge){const dt=this.prepareExternalUrl(_e+Xe(Ge));this._platformLocation.pushState(D,L,dt)}replaceState(D,L,_e,Ge){const dt=this.prepareExternalUrl(_e+Xe(Ge));this._platformLocation.replaceState(D,L,dt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return w.ɵfac=function(D){return new(D||w)(o.LFG(ue),o.LFG($e,8))},w.ɵprov=o.Yz7({token:w,factory:w.ɵfac,providedIn:"root"}),w})(),tt=(()=>{class w extends Oe{constructor(D,L){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=L&&(this._baseHref=L)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let L=this._platformLocation.hash;return null==L&&(L="#"),L.length>0?L.substring(1):L}prepareExternalUrl(D){const L=Le(this._baseHref,D);return L.length>0?"#"+L:L}pushState(D,L,_e,Ge){let dt=this.prepareExternalUrl(_e+Xe(Ge));0==dt.length&&(dt=this._platformLocation.pathname),this._platformLocation.pushState(D,L,dt)}replaceState(D,L,_e,Ge){let dt=this.prepareExternalUrl(_e+Xe(Ge));0==dt.length&&(dt=this._platformLocation.pathname),this._platformLocation.replaceState(D,L,dt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return w.ɵfac=function(D){return new(D||w)(o.LFG(ue),o.LFG($e,8))},w.ɵprov=o.Yz7({token:w,factory:w.ɵfac}),w})(),qe=(()=>{class w{constructor(D){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const L=this._locationStrategy.getBaseHref();this._baseHref=ce(Xt(L)),this._locationStrategy.onPopState((_e=>{this._subject.emit({url:this.path(!0),pop:!0,state:_e.state,type:_e.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,L=""){return this.path()==this.normalize(D+Xe(L))}normalize(D){return w.stripTrailingSlash(function Ze(w,I){return w&&I.startsWith(w)?I.substring(w.length):I}(this._baseHref,Xt(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,L="",_e=null){this._locationStrategy.pushState(_e,"",D,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Xe(L)),_e)}replaceState(D,L="",_e=null){this._locationStrategy.replaceState(_e,"",D,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Xe(L)),_e)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((L=>{this._notifyUrlChangeListeners(L.url,L.state)}))),()=>{const L=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(L,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",L){this._urlChangeListeners.forEach((_e=>_e(D,L)))}subscribe(D,L,_e){return this._subject.subscribe({next:D,error:L,complete:_e})}}return w.normalizeQueryParams=Xe,w.joinWithSlash=Le,w.stripTrailingSlash=ce,w.ɵfac=function(D){return new(D||w)(o.LFG(Oe))},w.ɵprov=o.Yz7({token:w,factory:function(){return function Te(){return new qe((0,o.LFG)(Oe))}()},providedIn:"root"}),w})();function Xt(w){return w.replace(/\/index.html$/,"")}function tr(w,I){I=encodeURIComponent(I);for(const D of w.split(";")){const L=D.indexOf("="),[_e,Ge]=-1==L?[D,""]:[D.slice(0,L),D.slice(L+1)];if(_e.trim()===I)return decodeURIComponent(Ge)}return null}let xr=(()=>{class w{constructor(D,L,_e,Ge){this._iterableDiffers=D,this._keyValueDiffers=L,this._ngEl=_e,this._renderer=Ge,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(D){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof D?D.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(D){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof D?D.split(/\s+/):D,this._rawClass&&((0,o.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const D=this._iterableDiffer.diff(this._rawClass);D&&this._applyIterableChanges(D)}else if(this._keyValueDiffer){const D=this._keyValueDiffer.diff(this._rawClass);D&&this._applyKeyValueChanges(D)}}_applyKeyValueChanges(D){D.forEachAddedItem((L=>this._toggleClass(L.key,L.currentValue))),D.forEachChangedItem((L=>this._toggleClass(L.key,L.currentValue))),D.forEachRemovedItem((L=>{L.previousValue&&this._toggleClass(L.key,!1)}))}_applyIterableChanges(D){D.forEachAddedItem((L=>{if("string"!=typeof L.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,o.AaK)(L.item)}`);this._toggleClass(L.item,!0)})),D.forEachRemovedItem((L=>this._toggleClass(L.item,!1)))}_applyClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach((L=>this._toggleClass(L,!0))):Object.keys(D).forEach((L=>this._toggleClass(L,!!D[L]))))}_removeClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach((L=>this._toggleClass(L,!1))):Object.keys(D).forEach((L=>this._toggleClass(L,!1))))}_toggleClass(D,L){(D=D.trim())&&D.split(/\s+/g).forEach((_e=>{L?this._renderer.addClass(this._ngEl.nativeElement,_e):this._renderer.removeClass(this._ngEl.nativeElement,_e)}))}}return w.ɵfac=function(D){return new(D||w)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},w.ɵdir=o.lG2({type:w,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),w})();class Gi{constructor(I,D,L,_e){this.$implicit=I,this.ngForOf=D,this.index=L,this.count=_e}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 vn=(()=>{class w{constructor(D,L,_e){this._viewContainer=D,this._template=L,this._differs=_e,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const L=this._viewContainer;D.forEachOperation(((_e,Ge,dt)=>{if(null==_e.previousIndex)L.createEmbeddedView(this._template,new Gi(_e.item,this._ngForOf,-1,-1),null===dt?void 0:dt);else if(null==dt)L.remove(null===Ge?void 0:Ge);else if(null!==Ge){const Jt=L.get(Ge);L.move(Jt,dt),oi(Jt,_e)}}));for(let _e=0,Ge=L.length;_e<Ge;_e++){const Jt=L.get(_e).context;Jt.index=_e,Jt.count=Ge,Jt.ngForOf=this._ngForOf}D.forEachIdentityChange((_e=>{oi(L.get(_e.currentIndex),_e)}))}static ngTemplateContextGuard(D,L){return!0}}return w.ɵfac=function(D){return new(D||w)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},w.ɵdir=o.lG2({type:w,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),w})();function oi(w,I){w.context.$implicit=I.item}let yi=(()=>{class w{constructor(D,L){this._viewContainer=D,this._context=new Ti,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=L}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){vi("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){vi("ngIfElse",D),this._elseTemplateRef=D,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(D,L){return!0}}return w.ɵfac=function(D){return new(D||w)(o.Y36(o.s_b),o.Y36(o.Rgc))},w.ɵdir=o.lG2({type:w,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),w})();class Ti{constructor(){this.$implicit=null,this.ngIf=null}}function vi(w,I){if(I&&!I.createEmbeddedView)throw new Error(`${w} must be a TemplateRef, but received '${(0,o.AaK)(I)}'.`)}let We=(()=>{class w{constructor(D,L,_e){this._ngEl=D,this._differs=L,this._renderer=_e,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,L){const[_e,Ge]=D.split("."),dt=-1===_e.indexOf("-")?void 0:o.JOm.DashCase;null!=L?this._renderer.setStyle(this._ngEl.nativeElement,_e,Ge?`${L}${Ge}`:L,dt):this._renderer.removeStyle(this._ngEl.nativeElement,_e,dt)}_applyChanges(D){D.forEachRemovedItem((L=>this._setStyle(L.key,null))),D.forEachAddedItem((L=>this._setStyle(L.key,L.currentValue))),D.forEachChangedItem((L=>this._setStyle(L.key,L.currentValue)))}}return w.ɵfac=function(D){return new(D||w)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))},w.ɵdir=o.lG2({type:w,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),w})(),lt=(()=>{class w{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const L=this._viewContainerRef;if(this._viewRef&&L.remove(L.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:_e,ngTemplateOutletContext:Ge,ngTemplateOutletInjector:dt}=this;this._viewRef=L.createEmbeddedView(_e,Ge,dt?{injector:dt}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return w.ɵfac=function(D){return new(D||w)(o.Y36(o.s_b))},w.ɵdir=o.lG2({type:w,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]}),w})(),Go=(()=>{class w{}return w.ɵfac=function(D){return new(D||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({}),w})();const as="browser";function Wo(w){return w===as}let Yo=(()=>{class w{}return w.ɵprov=(0,o.Yz7)({token:w,providedIn:"root",factory:()=>new ai((0,o.LFG)(re),window)}),w})();class ai{constructor(I,D){this.document=I,this.window=D,this.offset=()=>[0,0]}setOffset(I){this.offset=Array.isArray(I)?()=>I:I}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(I){this.supportsScrolling()&&this.window.scrollTo(I[0],I[1])}scrollToAnchor(I){if(!this.supportsScrolling())return;const D=function bs(w,I){const D=w.getElementById(I)||w.getElementsByName(I)[0];if(D)return D;if("function"==typeof w.createTreeWalker&&w.body&&(w.body.createShadowRoot||w.body.attachShadow)){const L=w.createTreeWalker(w.body,NodeFilter.SHOW_ELEMENT);let _e=L.currentNode;for(;_e;){const Ge=_e.shadowRoot;if(Ge){const dt=Ge.getElementById(I)||Ge.querySelector(`[name="${I}"]`);if(dt)return dt}_e=L.nextNode()}}return null}(this.document,I);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(I){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=I)}}scrollToElement(I){const D=I.getBoundingClientRect(),L=D.left+this.window.pageXOffset,_e=D.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(L-Ge[0],_e-Ge[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const I=qo(this.window.history)||qo(Object.getPrototypeOf(this.window.history));return!(!I||!I.writable&&!I.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function qo(w){return Object.getOwnPropertyDescriptor(w,"scrollRestoration")}class Ds{}},529:(xe,J,P)=>{"use strict";P.d(J,{JF:()=>Ve,WM:()=>q,eN:()=>nt});var o=P(6895),v=P(1571),z=P(9646),X=P(9751),K=P(4351),pe=P(9300),re=P(4004);class ue{}class ve{}class q{constructor(G){this.normalizedNames=new Map,this.lazyUpdate=null,G?this.lazyInit="string"==typeof G?()=>{this.headers=new Map,G.split("\n").forEach((W=>{const Ee=W.indexOf(":");if(Ee>0){const Pe=W.slice(0,Ee),rt=Pe.toLowerCase(),pt=W.slice(Ee+1).trim();this.maybeSetNormalizedName(Pe,rt),this.headers.has(rt)?this.headers.get(rt).push(pt):this.headers.set(rt,[pt])}}))}:()=>{this.headers=new Map,Object.keys(G).forEach((W=>{let Ee=G[W];const Pe=W.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(Pe,Ee),this.maybeSetNormalizedName(W,Pe))}))}:this.headers=new Map}has(G){return this.init(),this.headers.has(G.toLowerCase())}get(G){this.init();const W=this.headers.get(G.toLowerCase());return W&&W.length>0?W[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(G){return this.init(),this.headers.get(G.toLowerCase())||null}append(G,W){return this.clone({name:G,value:W,op:"a"})}set(G,W){return this.clone({name:G,value:W,op:"s"})}delete(G,W){return this.clone({name:G,value:W,op:"d"})}maybeSetNormalizedName(G,W){this.normalizedNames.has(W)||this.normalizedNames.set(W,G)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((G=>this.applyUpdate(G))),this.lazyUpdate=null))}copyFrom(G){G.init(),Array.from(G.headers.keys()).forEach((W=>{this.headers.set(W,G.headers.get(W)),this.normalizedNames.set(W,G.normalizedNames.get(W))}))}clone(G){const W=new q;return W.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,W.lazyUpdate=(this.lazyUpdate||[]).concat([G]),W}applyUpdate(G){const W=G.name.toLowerCase();switch(G.op){case"a":case"s":let Ee=G.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(G.name,W);const Pe=("a"===G.op?this.headers.get(W):void 0)||[];Pe.push(...Ee),this.headers.set(W,Pe);break;case"d":const rt=G.value;if(rt){let pt=this.headers.get(W);if(!pt)return;pt=pt.filter(($t=>-1===rt.indexOf($t))),0===pt.length?(this.headers.delete(W),this.normalizedNames.delete(W)):this.headers.set(W,pt)}else this.headers.delete(W),this.normalizedNames.delete(W)}}forEach(G){this.init(),Array.from(this.normalizedNames.keys()).forEach((W=>G(this.normalizedNames.get(W),this.headers.get(W))))}}class Se{encodeKey(G){return Xe(G)}encodeValue(G){return Xe(G)}decodeKey(G){return decodeURIComponent(G)}decodeValue(G){return decodeURIComponent(G)}}const Le=/%(\d[a-f0-9])/gi,ce={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Xe(fe){return encodeURIComponent(fe).replace(Le,((G,W)=>ce[W]??G))}function Oe(fe){return`${fe}`}class $e{constructor(G={}){if(this.updates=null,this.cloneFrom=null,this.encoder=G.encoder||new Se,G.fromString){if(G.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ae(fe,G){const W=new Map;return fe.length>0&&fe.replace(/^\?/,"").split("&").forEach((Pe=>{const rt=Pe.indexOf("="),[pt,$t]=-1==rt?[G.decodeKey(Pe),""]:[G.decodeKey(Pe.slice(0,rt)),G.decodeValue(Pe.slice(rt+1))],_t=W.get(pt)||[];_t.push($t),W.set(pt,_t)})),W}(G.fromString,this.encoder)}else G.fromObject?(this.map=new Map,Object.keys(G.fromObject).forEach((W=>{const Ee=G.fromObject[W],Pe=Array.isArray(Ee)?Ee.map(Oe):[Oe(Ee)];this.map.set(W,Pe)}))):this.map=null}has(G){return this.init(),this.map.has(G)}get(G){this.init();const W=this.map.get(G);return W?W[0]:null}getAll(G){return this.init(),this.map.get(G)||null}keys(){return this.init(),Array.from(this.map.keys())}append(G,W){return this.clone({param:G,value:W,op:"a"})}appendAll(G){const W=[];return Object.keys(G).forEach((Ee=>{const Pe=G[Ee];Array.isArray(Pe)?Pe.forEach((rt=>{W.push({param:Ee,value:rt,op:"a"})})):W.push({param:Ee,value:Pe,op:"a"})})),this.clone(W)}set(G,W){return this.clone({param:G,value:W,op:"s"})}delete(G,W){return this.clone({param:G,value:W,op:"d"})}toString(){return this.init(),this.keys().map((G=>{const W=this.encoder.encodeKey(G);return this.map.get(G).map((Ee=>W+"="+this.encoder.encodeValue(Ee))).join("&")})).filter((G=>""!==G)).join("&")}clone(G){const W=new $e({encoder:this.encoder});return W.cloneFrom=this.cloneFrom||this,W.updates=(this.updates||[]).concat(G),W}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((G=>this.map.set(G,this.cloneFrom.map.get(G)))),this.updates.forEach((G=>{switch(G.op){case"a":case"s":const W=("a"===G.op?this.map.get(G.param):void 0)||[];W.push(Oe(G.value)),this.map.set(G.param,W);break;case"d":if(void 0===G.value){this.map.delete(G.param);break}{let Ee=this.map.get(G.param)||[];const Pe=Ee.indexOf(Oe(G.value));-1!==Pe&&Ee.splice(Pe,1),Ee.length>0?this.map.set(G.param,Ee):this.map.delete(G.param)}}})),this.cloneFrom=this.updates=null)}}class tt{constructor(){this.map=new Map}set(G,W){return this.map.set(G,W),this}get(G){return this.map.has(G)||this.map.set(G,G.defaultValue()),this.map.get(G)}delete(G){return this.map.delete(G),this}has(G){return this.map.has(G)}keys(){return this.map.keys()}}function Te(fe){return typeof ArrayBuffer<"u"&&fe instanceof ArrayBuffer}function Ze(fe){return typeof Blob<"u"&&fe instanceof Blob}function Xt(fe){return typeof FormData<"u"&&fe instanceof FormData}class mt{constructor(G,W,Ee,Pe){let rt;if(this.url=W,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=G.toUpperCase(),function qe(fe){switch(fe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==Ee?Ee:null,rt=Pe):rt=Ee,rt&&(this.reportProgress=!!rt.reportProgress,this.withCredentials=!!rt.withCredentials,rt.responseType&&(this.responseType=rt.responseType),rt.headers&&(this.headers=rt.headers),rt.context&&(this.context=rt.context),rt.params&&(this.params=rt.params)),this.headers||(this.headers=new q),this.context||(this.context=new tt),this.params){const pt=this.params.toString();if(0===pt.length)this.urlWithParams=W;else{const $t=W.indexOf("?");this.urlWithParams=W+(-1===$t?"?":$t<W.length-1?"&":"")+pt}}else this.params=new $e,this.urlWithParams=W}serializeBody(){return null===this.body?null:Te(this.body)||Ze(this.body)||Xt(this.body)||function bt(fe){return typeof URLSearchParams<"u"&&fe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof $e?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||Xt(this.body)?null:Ze(this.body)?this.body.type||null:Te(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof $e?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(G={}){const W=G.method||this.method,Ee=G.url||this.url,Pe=G.responseType||this.responseType,rt=void 0!==G.body?G.body:this.body,pt=void 0!==G.withCredentials?G.withCredentials:this.withCredentials,$t=void 0!==G.reportProgress?G.reportProgress:this.reportProgress;let _t=G.headers||this.headers,Ot=G.params||this.params;const en=G.context??this.context;return void 0!==G.setHeaders&&(_t=Object.keys(G.setHeaders).reduce(((Mn,Vt)=>Mn.set(Vt,G.setHeaders[Vt])),_t)),G.setParams&&(Ot=Object.keys(G.setParams).reduce(((Mn,Vt)=>Mn.set(Vt,G.setParams[Vt])),Ot)),new mt(W,Ee,rt,{params:Ot,headers:_t,context:en,reportProgress:$t,responseType:Pe,withCredentials:pt})}}var Ce=(()=>((Ce=Ce||{})[Ce.Sent=0]="Sent",Ce[Ce.UploadProgress=1]="UploadProgress",Ce[Ce.ResponseHeader=2]="ResponseHeader",Ce[Ce.DownloadProgress=3]="DownloadProgress",Ce[Ce.Response=4]="Response",Ce[Ce.User=5]="User",Ce))();class Q{constructor(G,W=200,Ee="OK"){this.headers=G.headers||new q,this.status=void 0!==G.status?G.status:W,this.statusText=G.statusText||Ee,this.url=G.url||null,this.ok=this.status>=200&&this.status<300}}class me extends Q{constructor(G={}){super(G),this.type=Ce.ResponseHeader}clone(G={}){return new me({headers:G.headers||this.headers,status:void 0!==G.status?G.status:this.status,statusText:G.statusText||this.statusText,url:G.url||this.url||void 0})}}class Ie extends Q{constructor(G={}){super(G),this.type=Ce.Response,this.body=void 0!==G.body?G.body:null}clone(G={}){return new Ie({body:void 0!==G.body?G.body:this.body,headers:G.headers||this.headers,status:void 0!==G.status?G.status:this.status,statusText:G.statusText||this.statusText,url:G.url||this.url||void 0})}}class be extends Q{constructor(G){super(G,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${G.url||"(unknown url)"}`:`Http failure response for ${G.url||"(unknown url)"}: ${G.status} ${G.statusText}`,this.error=G.error||null}}function Ne(fe,G){return{body:G,headers:fe.headers,context:fe.context,observe:fe.observe,params:fe.params,reportProgress:fe.reportProgress,responseType:fe.responseType,withCredentials:fe.withCredentials}}let nt=(()=>{class fe{constructor(W){this.handler=W}request(W,Ee,Pe={}){let rt;if(W instanceof mt)rt=W;else{let _t,Ot;_t=Pe.headers instanceof q?Pe.headers:new q(Pe.headers),Pe.params&&(Ot=Pe.params instanceof $e?Pe.params:new $e({fromObject:Pe.params})),rt=new mt(W,Ee,void 0!==Pe.body?Pe.body:null,{headers:_t,context:Pe.context,params:Ot,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials})}const pt=(0,z.of)(rt).pipe((0,K.b)((_t=>this.handler.handle(_t))));if(W instanceof mt||"events"===Pe.observe)return pt;const $t=pt.pipe((0,pe.h)((_t=>_t instanceof Ie)));switch(Pe.observe||"body"){case"body":switch(rt.responseType){case"arraybuffer":return $t.pipe((0,re.U)((_t=>{if(null!==_t.body&&!(_t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _t.body})));case"blob":return $t.pipe((0,re.U)((_t=>{if(null!==_t.body&&!(_t.body instanceof Blob))throw new Error("Response is not a Blob.");return _t.body})));case"text":return $t.pipe((0,re.U)((_t=>{if(null!==_t.body&&"string"!=typeof _t.body)throw new Error("Response is not a string.");return _t.body})));default:return $t.pipe((0,re.U)((_t=>_t.body)))}case"response":return $t;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(W,Ee={}){return this.request("DELETE",W,Ee)}get(W,Ee={}){return this.request("GET",W,Ee)}head(W,Ee={}){return this.request("HEAD",W,Ee)}jsonp(W,Ee){return this.request("JSONP",W,{params:(new $e).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(W,Ee={}){return this.request("OPTIONS",W,Ee)}patch(W,Ee,Pe={}){return this.request("PATCH",W,Ne(Pe,Ee))}post(W,Ee,Pe={}){return this.request("POST",W,Ne(Pe,Ee))}put(W,Ee,Pe={}){return this.request("PUT",W,Ne(Pe,Ee))}}return fe.ɵfac=function(W){return new(W||fe)(v.LFG(ue))},fe.ɵprov=v.Yz7({token:fe,factory:fe.ɵfac}),fe})();class Pt{constructor(G,W){this.next=G,this.interceptor=W}handle(G){return this.interceptor.intercept(G,this.next)}}const er=new v.OlP("HTTP_INTERCEPTORS");let cn=(()=>{class fe{intercept(W,Ee){return Ee.handle(W)}}return fe.ɵfac=function(W){return new(W||fe)},fe.ɵprov=v.Yz7({token:fe,factory:fe.ɵfac}),fe})();const vr=/^\)\]\}',?\n/;let Hr=(()=>{class fe{constructor(W){this.xhrFactory=W}handle(W){if("JSONP"===W.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new X.y((Ee=>{const Pe=this.xhrFactory.build();if(Pe.open(W.method,W.urlWithParams),W.withCredentials&&(Pe.withCredentials=!0),W.headers.forEach(((xt,It)=>Pe.setRequestHeader(xt,It.join(",")))),W.headers.has("Accept")||Pe.setRequestHeader("Accept","application/json, text/plain, */*"),!W.headers.has("Content-Type")){const xt=W.detectContentTypeHeader();null!==xt&&Pe.setRequestHeader("Content-Type",xt)}if(W.responseType){const xt=W.responseType.toLowerCase();Pe.responseType="json"!==xt?xt:"text"}const rt=W.serializeBody();let pt=null;const $t=()=>{if(null!==pt)return pt;const xt=Pe.statusText||"OK",It=new q(Pe.getAllResponseHeaders()),Dt=function Ai(fe){return"responseURL"in fe&&fe.responseURL?fe.responseURL:/^X-Request-URL:/m.test(fe.getAllResponseHeaders())?fe.getResponseHeader("X-Request-URL"):null}(Pe)||W.url;return pt=new me({headers:It,status:Pe.status,statusText:xt,url:Dt}),pt},_t=()=>{let{headers:xt,status:It,statusText:Dt,url:$n}=$t(),Zt=null;204!==It&&(Zt=typeof Pe.response>"u"?Pe.responseText:Pe.response),0===It&&(It=Zt?200:0);let At=It>=200&&It<300;if("json"===W.responseType&&"string"==typeof Zt){const fn=Zt;Zt=Zt.replace(vr,"");try{Zt=""!==Zt?JSON.parse(Zt):null}catch(Nt){Zt=fn,At&&(At=!1,Zt={error:Nt,text:Zt})}}At?(Ee.next(new Ie({body:Zt,headers:xt,status:It,statusText:Dt,url:$n||void 0})),Ee.complete()):Ee.error(new be({error:Zt,headers:xt,status:It,statusText:Dt,url:$n||void 0}))},Ot=xt=>{const{url:It}=$t(),Dt=new be({error:xt,status:Pe.status||0,statusText:Pe.statusText||"Unknown Error",url:It||void 0});Ee.error(Dt)};let en=!1;const Mn=xt=>{en||(Ee.next($t()),en=!0);let It={type:Ce.DownloadProgress,loaded:xt.loaded};xt.lengthComputable&&(It.total=xt.total),"text"===W.responseType&&!!Pe.responseText&&(It.partialText=Pe.responseText),Ee.next(It)},Vt=xt=>{let It={type:Ce.UploadProgress,loaded:xt.loaded};xt.lengthComputable&&(It.total=xt.total),Ee.next(It)};return Pe.addEventListener("load",_t),Pe.addEventListener("error",Ot),Pe.addEventListener("timeout",Ot),Pe.addEventListener("abort",Ot),W.reportProgress&&(Pe.addEventListener("progress",Mn),null!==rt&&Pe.upload&&Pe.upload.addEventListener("progress",Vt)),Pe.send(rt),Ee.next({type:Ce.Sent}),()=>{Pe.removeEventListener("error",Ot),Pe.removeEventListener("abort",Ot),Pe.removeEventListener("load",_t),Pe.removeEventListener("timeout",Ot),W.reportProgress&&(Pe.removeEventListener("progress",Mn),null!==rt&&Pe.upload&&Pe.upload.removeEventListener("progress",Vt)),Pe.readyState!==Pe.DONE&&Pe.abort()}}))}}return fe.ɵfac=function(W){return new(W||fe)(v.LFG(o.JF))},fe.ɵprov=v.Yz7({token:fe,factory:fe.ɵfac}),fe})();const Nr=new v.OlP("XSRF_COOKIE_NAME"),pr=new v.OlP("XSRF_HEADER_NAME");class Zr{}let Xr=(()=>{class fe{constructor(W,Ee,Pe){this.doc=W,this.platform=Ee,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const W=this.doc.cookie||"";return W!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,o.Mx)(W,this.cookieName),this.lastCookieString=W),this.lastToken}}return fe.ɵfac=function(W){return new(W||fe)(v.LFG(o.K0),v.LFG(v.Lbi),v.LFG(Nr))},fe.ɵprov=v.Yz7({token:fe,factory:fe.ɵfac}),fe})(),Cr=(()=>{class fe{constructor(W,Ee){this.tokenService=W,this.headerName=Ee}intercept(W,Ee){const Pe=W.url.toLowerCase();if("GET"===W.method||"HEAD"===W.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return Ee.handle(W);const rt=this.tokenService.getToken();return null!==rt&&!W.headers.has(this.headerName)&&(W=W.clone({headers:W.headers.set(this.headerName,rt)})),Ee.handle(W)}}return fe.ɵfac=function(W){return new(W||fe)(v.LFG(Zr),v.LFG(pr))},fe.ɵprov=v.Yz7({token:fe,factory:fe.ɵfac}),fe})(),Gt=(()=>{class fe{constructor(W,Ee){this.backend=W,this.injector=Ee,this.chain=null}handle(W){if(null===this.chain){const Ee=this.injector.get(er,[]);this.chain=Ee.reduceRight(((Pe,rt)=>new Pt(Pe,rt)),this.backend)}return this.chain.handle(W)}}return fe.ɵfac=function(W){return new(W||fe)(v.LFG(ve),v.LFG(v.zs3))},fe.ɵprov=v.Yz7({token:fe,factory:fe.ɵfac}),fe})(),de=(()=>{class fe{static disable(){return{ngModule:fe,providers:[{provide:Cr,useClass:cn}]}}static withOptions(W={}){return{ngModule:fe,providers:[W.cookieName?{provide:Nr,useValue:W.cookieName}:[],W.headerName?{provide:pr,useValue:W.headerName}:[]]}}}return fe.ɵfac=function(W){return new(W||fe)},fe.ɵmod=v.oAB({type:fe}),fe.ɵinj=v.cJS({providers:[Cr,{provide:er,useExisting:Cr,multi:!0},{provide:Zr,useClass:Xr},{provide:Nr,useValue:"XSRF-TOKEN"},{provide:pr,useValue:"X-XSRF-TOKEN"}]}),fe})(),Ve=(()=>{class fe{}return fe.ɵfac=function(W){return new(W||fe)},fe.ɵmod=v.oAB({type:fe}),fe.ɵinj=v.cJS({providers:[nt,{provide:ue,useClass:Gt},Hr,{provide:ve,useExisting:Hr}],imports:[de.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),fe})()},1571:(xe,J,P)=>{"use strict";P.d(J,{QbO:()=>Hb,tb:()=>yC,AFp:()=>gC,ip1:()=>pC,CZH:()=>Qh,hGG:()=>PD,z2F:()=>Xh,sBO:()=>fD,Sil:()=>Wb,_Vd:()=>bu,EJc:()=>zb,Xts:()=>ld,SBq:()=>Du,lqb:()=>qa,qLn:()=>Za,vpe:()=>Xa,XFs:()=>Re,OlP:()=>qt,zs3:()=>ji,ZZ4:()=>Ym,aQg:()=>qm,soG:()=>Jh,YKP:()=>Cv,h0i:()=>Rc,PXZ:()=>oD,R0b:()=>sa,FiY:()=>va,Lbi:()=>Ub,g9A:()=>_C,Qsj:()=>jp,FYo:()=>Kf,JOm:()=>Pr,tp0:()=>c,Rgc:()=>rf,dDg:()=>tD,eoX:()=>MC,GfV:()=>pd,s_b:()=>qh,ifc:()=>_t,MMx:()=>bm,Lck:()=>Fw,eFA:()=>PC,G48:()=>dD,Gpc:()=>Xe,f3M:()=>Ru,X6Q:()=>cD,_c5:()=>TD,c2e:()=>jb,zSh:()=>dd,wAp:()=>xn,vHH:()=>tt,lri:()=>DC,rWj:()=>EC,D6c:()=>OD,cg1:()=>pm,kL8:()=>Gy,dqk:()=>Ot,Z0I:()=>pr,sIi:()=>rn,CqO:()=>q_,QGY:()=>am,QP$:()=>Y,F4k:()=>Y_,RDi:()=>Qc,AaK:()=>Ae,qOj:()=>a,TTD:()=>js,_Bn:()=>vv,jDz:()=>bv,xp6:()=>th,uIk:()=>Us,Tol:()=>yy,Gre:()=>Ny,ekj:()=>cm,Suo:()=>zv,Xpm:()=>yn,lG2:()=>Nn,Yz7:()=>vr,cJS:()=>Hr,oAB:()=>gr,Yjl:()=>mr,Y36:()=>Wl,_UZ:()=>om,GkF:()=>sm,BQk:()=>Bh,ynx:()=>Vh,qZA:()=>Lh,TgZ:()=>kh,EpF:()=>W_,n5z:()=>Zs,Ikx:()=>hm,LFG:()=>Jr,$8M:()=>Ml,$Z:()=>uh,NdJ:()=>lm,CRH:()=>Gv,oxw:()=>X_,Hsn:()=>ty,F$t:()=>ey,Q6J:()=>rm,s9C:()=>um,MGl:()=>Uh,VKq:()=>Ov,WLB:()=>xv,kEZ:()=>Av,iGM:()=>jv,MAs:()=>G_,KtG:()=>yo,CHM:()=>bi,oJD:()=>Nf,LSH:()=>ad,YNc:()=>z_,W1O:()=>Zv,_uU:()=>My,Oqu:()=>fm,hij:()=>jh,Gf:()=>$v});var o=P(7579),v=P(727),z=P(9751),X=P(6451),K=P(2076),pe=P(5698),re=P(930),ue=P(4482);function q(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,pe.q)(1)).subscribe((()=>e()))}function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function Se(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ae).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 Le(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ce=oe({__forward_ref__:oe});function Xe(e){return e.__forward_ref__=Xe,e.toString=function(){return Ae(this())},e}function Oe(e){return $e(e)?e():e}function $e(e){return"function"==typeof e&&e.hasOwnProperty(ce)&&e.__forward_ref__===Xe}class tt extends Error{constructor(t,n){super(function qe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Te(e){return"string"==typeof e?e:null==e?"":String(e)}function Ce(e,t){throw new tt(-201,!1)}function zn(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 vr(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Hr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nr(e){return Zr(e,Kr)||Zr(e,de)}function pr(e){return null!==Nr(e)}function Zr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Gt(e){return e&&(e.hasOwnProperty(sr)||e.hasOwnProperty(Ve))?e[sr]:null}const Kr=oe({"ɵprov":oe}),sr=oe({"ɵinj":oe}),de=oe({ngInjectableDef:oe}),Ve=oe({ngInjectorDef:oe});var Re=(()=>((Re=Re||{})[Re.Default=0]="Default",Re[Re.Host=1]="Host",Re[Re.Self=2]="Self",Re[Re.SkipSelf=4]="SkipSelf",Re[Re.Optional=8]="Optional",Re))();let He;function G(e){const t=He;return He=e,t}function W(e,t,n){const i=Nr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Re.Optional?null:void 0!==t?t:void Ce(Ae(e))}function Pe(e){return{toString:e}.toString()}var rt=(()=>((rt=rt||{})[rt.OnPush=0]="OnPush",rt[rt.Default=1]="Default",rt))(),_t=(()=>{return(e=_t||(_t={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",_t;var e})();const Ot=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Vt={},xt=[],It=oe({"ɵcmp":oe}),Dt=oe({"ɵdir":oe}),$n=oe({"ɵpipe":oe}),Zt=oe({"ɵmod":oe}),At=oe({"ɵfac":oe}),fn=oe({__NG_ELEMENT_ID__:oe});let Nt=0;function yn(e){return Pe((()=>{const n=!0===e.standalone,i={},s={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:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===rt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||xt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||_t.Emulated,id:"c"+Nt++,styles:e.styles||xt,_:null,setInput:null,schemas:e.schemas||null,tView:null},u=e.dependencies,f=e.features;return s.inputs=Wn(e.inputs,i),s.outputs=Wn(e.outputs),f&&f.forEach((y=>y(s))),s.directiveDefs=u?()=>("function"==typeof u?u():u).map(hn).filter(on):null,s.pipeDefs=u?()=>("function"==typeof u?u():u).map(ae).filter(on):null,s}))}function hn(e){return ln(e)||we(e)}function on(e){return null!==e}function gr(e){return Pe((()=>({type:e.type,bootstrap:e.bootstrap||xt,declarations:e.declarations||xt,imports:e.imports||xt,exports:e.exports||xt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function Wn(e,t){if(null==e)return Vt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],u=s;Array.isArray(s)&&(u=s[1],s=s[0]),n[s]=i,t&&(t[s]=u)}return n}const Nn=yn;function mr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ln(e){return e[It]||null}function we(e){return e[Dt]||null}function ae(e){return e[$n]||null}function Y(e){const t=ln(e)||we(e)||ae(e);return null!==t&&t.standalone}function U(e,t){const n=e[Zt]||null;if(!n&&!0===t)throw new Error(`Type ${Ae(e)} does not have 'ɵmod' property.`);return n}const R=10;function V(e){return Array.isArray(e)&&"object"==typeof e[1]}function ie(e){return Array.isArray(e)&&!0===e[1]}function Qe(e){return 0!=(8&e.flags)}function We(e){return 2==(2&e.flags)}function lt(e){return 1==(1&e.flags)}function ct(e){return null!==e.template}function ut(e){return 0!=(256&e[2])}function Vn(e,t){return e.hasOwnProperty(At)?e[At]:null}class ao{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function js(){return Go}function Go(e){return e.type.prototype.ngOnChanges&&(e.setInput=ws),as}function as(){const e=Po(this),t=e?.current;if(t){const n=e.previous;if(n===Vt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function ws(e,t,n,i){const s=Po(e)||function Wo(e,t){return e[ls]=t}(e,{previous:Vt,current:null}),u=s.current||(s.current={}),f=s.previous,y=this.declaredInputs[n],b=f[y];u[y]=new ao(b&&b.currentValue,t,f===Vt),e[i]=t}js.ngInherit=!0;const ls="__ngSimpleChanges__";function Po(e){return e[ls]||null}function lr(e){for(;Array.isArray(e);)e=e[0];return e}function Ri(e,t){return lr(t[e])}function ur(e,t){return lr(t[e.index])}function wi(e,t){return e.data[t]}function $r(e,t){const n=t[e];return V(n)?n:n[0]}function Yi(e){return 64==(64&e[2])}function Tn(e,t){return null==t?null:e[t]}function uo(e){e[18]=0}function Ni(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 gn={lFrame:Zi(null),bindingsEnabled:!0};function Fi(){return gn.bindingsEnabled}function ft(){return gn.lFrame.lView}function Fn(){return gn.lFrame.tView}function bi(e){return gn.lFrame.contextLView=e,e[8]}function yo(e){return gn.lFrame.contextLView=null,e}function Sr(){let e=Jo();for(;null!==e&&64===e.type;)e=e.parent;return e}function Jo(){return gn.lFrame.currentTNode}function O(e,t){const n=gn.lFrame;n.currentTNode=e,n.isParent=t}function T(){return gn.lFrame.isParent}function E(){gn.lFrame.isParent=!1}function _r(){const e=gn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function eo(){return gn.lFrame.bindingIndex++}function Pi(e){const t=gn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function us(e,t){const n=gn.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ss(t)}function Ss(e){gn.lFrame.currentDirectiveIndex=e}function vo(){return gn.lFrame.currentQueryIndex}function Ps(e){gn.lFrame.currentQueryIndex=e}function wl(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ia(e,t,n){if(n&Re.SkipSelf){let s=t,u=e;for(;!(s=s.parent,null!==s||n&Re.Host||(s=wl(u),null===s||(u=u[15],10&s.type))););if(null===s)return!1;t=s,e=u}const i=gn.lFrame=Fo();return i.currentTNode=t,i.lView=e,!0}function Gs(e){const t=Fo(),n=e[1];gn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fo(){const e=gn.lFrame,t=null===e?null:e.child;return null===t?Zi(e):t}function Zi(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 Os(){const e=gn.lFrame;return gn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ra=Os;function fa(){const e=Os();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 ki(){return gn.lFrame.selectedIndex}function Co(e){gn.lFrame.selectedIndex=e}function De(){const e=gn.lFrame;return wi(e.tView,e.selectedIndex)}function Xn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const u=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:y,ngAfterViewInit:b,ngAfterViewChecked:A,ngOnDestroy:B}=u;f&&(e.contentHooks||(e.contentHooks=[])).push(-n,f),y&&((e.contentHooks||(e.contentHooks=[])).push(n,y),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,y)),b&&(e.viewHooks||(e.viewHooks=[])).push(-n,b),A&&((e.viewHooks||(e.viewHooks=[])).push(n,A),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,A)),null!=B&&(e.destroyHooks||(e.destroyHooks=[])).push(n,B)}}function cs(e,t,n){Ws(e,t,3,n)}function ha(e,t,n,i){(3&e[2])===n&&Ws(e,t,n,i)}function Ki(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ws(e,t,n,i){const u=i??-1,f=t.length-1;let y=0;for(let b=void 0!==i?65535&e[18]:0;b<f;b++)if("number"==typeof t[b+1]){if(y=t[b],null!=i&&y>=i)break}else t[b]<0&&(e[18]+=65536),(y<u||-1==u)&&(tl(e,n,t,b),e[18]=(4294901760&e[18])+b+2),b++}function tl(e,t,n,i){const s=n[i]<0,u=n[i+1],y=e[s?-n[i]:n[i]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{u.call(y)}finally{}}}else try{u.call(y)}finally{}}class wo{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Yn(e,t,n){let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const u=n[i++],f=n[i++],y=n[i++];e.setAttribute(t,f,y,u)}else{const u=s,f=n[++i];Kn(u)?e.setProperty(t,u,f):e.setAttribute(t,u,f),i++}}return i}function Bn(e){return 3===e||4===e||6===e}function Kn(e){return 64===e.charCodeAt(0)}function kn(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 s=t[i];"number"==typeof s?n=s:0===n||Ar(e,n,s,null,-1===n||2===n?t[++i]:null)}}return e}function Ar(e,t,n,i,s){let u=0,f=e.length;if(-1===t)f=-1;else for(;u<e.length;){const y=e[u++];if("number"==typeof y){if(y===t){f=-1;break}if(y>t){f=u-1;break}}}for(;u<e.length;){const y=e[u];if("number"==typeof y)break;if(y===n){if(null===i)return void(null!==s&&(e[u+1]=s));if(i===e[u+1])return void(e[u+2]=s)}u++,null!==i&&u++,null!==s&&u++}-1!==f&&(e.splice(f,0,t),u=f+1),e.splice(u++,0,n),null!==i&&e.splice(u++,0,i),null!==s&&e.splice(u++,0,s)}function yr(e){return-1!==e}function Lr(e){return 32767&e}function Ei(e,t){let n=function bo(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Qi=!0;function hi(e){const t=Qi;return Qi=e,t}let bl=0;const no={};function Is(e,t){const n=Fa(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,rl(i.data,e),rl(t,null),rl(i.blueprint,null));const s=ka(e,t),u=e.injectorIndex;if(yr(s)){const f=Lr(s),y=Ei(s,t),b=y[1].data;for(let A=0;A<8;A++)t[u+A]=y[f+A]|b[f+A]}return t[u+8]=s,u}function rl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ka(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){if(i=sl(s),null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Rs(e,t,n){!function nl(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(fn)&&(i=n[fn]),null==i&&(i=n[fn]=bl++);const s=255&i;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function pi(e,t,n){if(n&Re.Optional||void 0!==e)return e;Ce()}function La(e,t,n,i){if(n&Re.Optional&&void 0===i&&(i=null),0==(n&(Re.Self|Re.Host))){const s=e[9],u=G(void 0);try{return s?s.get(t,i,n&Re.Optional):W(t,i,n&Re.Optional)}finally{G(u)}}return pi(i,0,n)}function Ql(e,t,n,i=Re.Default,s){if(null!==e){if(1024&t[2]){const f=function ol(e,t,n,i,s){let u=e,f=t;for(;null!==u&&null!==f&&1024&f[2]&&!(256&f[2]);){const y=Dl(u,f,n,i|Re.Self,no);if(y!==no)return y;let b=u.parent;if(!b){const A=f[21];if(A){const B=A.get(n,no,i);if(B!==no)return B}b=sl(f),f=f[15]}u=b}return s}(e,t,n,i,no);if(f!==no)return f}const u=Dl(e,t,n,i,no);if(u!==no)return u}return La(t,n,i,s)}function Dl(e,t,n,i,s){const u=function El(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(fn)?e[fn]:void 0;return"number"==typeof t?t>=0?255&t:ui:t}(n);if("function"==typeof u){if(!Ia(t,e,i))return i&Re.Host?pi(s,0,i):La(t,n,i,s);try{const f=u(i);if(null!=f||i&Re.Optional)return f;Ce()}finally{Ra()}}else if("number"==typeof u){let f=null,y=Fa(e,t),b=-1,A=i&Re.Host?t[16][6]:null;for((-1===y||i&Re.SkipSelf)&&(b=-1===y?ka(e,t):t[y+8],-1!==b&&pa(i,!1)?(f=t[1],y=Lr(b),t=Ei(b,t)):y=-1);-1!==y;){const B=t[1];if(qs(u,y,B.data)){const ee=Va(y,t,n,f,i,A);if(ee!==no)return ee}b=t[y+8],-1!==b&&pa(i,t[1].data[y+8]===A)&&qs(u,y,t)?(f=B,y=Lr(b),t=Ei(b,t)):y=-1}}return s}function Va(e,t,n,i,s,u){const f=t[1],y=f.data[e+8],B=Ys(y,f,n,null==i?We(y)&&Qi:i!=f&&0!=(3&y.type),s&Re.Host&&u===y);return null!==B?fs(t,f,B,y):no}function Ys(e,t,n,i,s){const u=e.providerIndexes,f=t.data,y=1048575&u,b=e.directiveStart,B=u>>20,ye=s?y+B:e.directiveEnd;for(let Ue=i?y:y+B;Ue<ye;Ue++){const at=f[Ue];if(Ue<b&&n===at||Ue>=b&&at.type===n)return Ue}if(s){const Ue=f[b];if(Ue&&ct(Ue)&&Ue.type===n)return b}return null}function fs(e,t,n,i){let s=e[n];const u=t.data;if(function w(e){return e instanceof wo}(s)){const f=s;f.resolving&&function Xt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new tt(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Te(e)}(u[n]));const y=hi(f.canSeeViewProviders);f.resolving=!0;const b=f.injectImpl?G(f.injectImpl):null;Ia(e,i,Re.Default);try{s=e[n]=f.factory(void 0,u,e,i),t.firstCreatePass&&n>=i.directiveStart&&function ti(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:u}=t.type.prototype;if(i){const f=Go(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,f),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,f)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),u&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u))}(n,u[n],t)}finally{null!==b&&G(b),hi(y),f.resolving=!1,Ra()}}return s}function qs(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function pa(e,t){return!(e&Re.Self||e&Re.Host&&t)}class Oo{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Ql(this._tNode,this._lView,t,i,n)}}function ui(){return new Oo(Sr(),ft())}function Zs(e){return Pe((()=>{const t=e.prototype.constructor,n=t[At]||il(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const u=s[At]||il(s);if(u&&u!==n)return u;s=Object.getPrototypeOf(s)}return u=>new u}))}function il(e){return $e(e)?()=>{const t=il(Oe(e));return t&&t()}:Vn(e)}function sl(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Ml(e){return function li(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 s=0;for(;s<i;){const u=n[s];if(Bn(u))break;if(0===u)s+=2;else if("number"==typeof u)for(s++;s<i&&"string"==typeof n[s];)s++;else{if(u===t)return n[s+1];s+=2}}}return null}(Sr(),e)}const ko="__parameters__";function Yr(e,t,n){return Pe((()=>{const i=function $(e){return function(...n){if(e){const i=e(...n);for(const s in i)this[s]=i[s]}}}(t);function s(...u){if(this instanceof s)return i.apply(this,u),this;const f=new s(...u);return y.annotation=f,y;function y(b,A,B){const ee=b.hasOwnProperty(ko)?b[ko]:Object.defineProperty(b,ko,{value:[]})[ko];for(;ee.length<=B;)ee.push(null);return(ee[B]=ee[B]||[]).push(f),b}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}class qt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=vr({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ni(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)),ni(i,t)):t!==e&&t.push(i)}return t}function hs(e,t){e.forEach((n=>Array.isArray(n)?hs(n,t):t(n)))}function ma(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ua(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _a(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Oi(e,t,n){let i=_(e,t);return i>=0?e[1|i]=n:(i=~i,function Fs(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function p(e,t){const n=_(e,t);if(n>=0)return e[1|n]}function _(e,t){return function C(e,t,n){let i=0,s=e.length>>n;for(;s!==i;){const u=i+(s-i>>1),f=e[u<<n];if(t===f)return u<<n;f>t?s=u:i=u+1}return~(s<<n)}(e,t,1)}const Vr={},Do="__NG_DI_FLAG__",Ji="ngTempTokenPath",ru=/\n/gm,xl="__source";let Js;function Lo(e){const t=Js;return Js=e,t}function iu(e,t=Re.Default){if(void 0===Js)throw new tt(-203,!1);return null===Js?W(e,void 0,t):Js.get(e,t&Re.Optional?null:void 0,t)}function Jr(e,t=Re.Default){return(function fe(){return He}()||iu)(Oe(e),t)}function Ru(e,t=Re.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Jr(e,t)}function ll(e){const t=[];for(let n=0;n<e.length;n++){const i=Oe(e[n]);if(Array.isArray(i)){if(0===i.length)throw new tt(900,!1);let s,u=Re.Default;for(let f=0;f<i.length;f++){const y=i[f],b=ou(y);"number"==typeof b?-1===b?s=y.token:u|=b:s=y}t.push(Jr(s,u))}else t.push(Jr(i))}return t}function mi(e,t){return e[Do]=t,e.prototype[Do]=t,e}function ou(e){return e[Do]}const va=mi(Yr("Optional"),8),c=mi(Yr("SkipSelf"),4);var Pr=(()=>((Pr=Pr||{})[Pr.Important=1]="Important",Pr[Pr.DashCase=2]="DashCase",Pr))();const Vc=new Map;let Lu=0;const Bu="__ngContext__";function io(e,t){V(t)?(e[Bu]=t[20],function af(e){Vc.set(e[20],e)}(t)):e[Bu]=t}function ju(e,t){return undefined(e,t)}function Nl(e){const t=e[3];return ie(t)?t[3]:t}function zc(e){return uu(e[13])}function Gc(e){return uu(e[4])}function uu(e){for(;null!==e&&!ie(e);)e=e[4];return e}function cl(e,t,n,i,s){if(null!=i){let u,f=!1;ie(i)?u=i:V(i)&&(f=!0,i=i[0]);const y=lr(i);0===e&&null!==n?null==s?qc(t,n,y):dl(t,n,y,s||null,!0):1===e&&null!==n?dl(t,n,y,s||null,!0):2===e?function kl(e,t,n){const i=Yu(e,t);i&&function vf(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,y,f):3===e&&t.destroyNode(y),null!=u&&function Df(e,t,n,i,s){const u=n[7];u!==lr(n)&&cl(t,e,i,u,s);for(let y=R;y<n.length;y++){const b=n[y];Vs(b[1],b,e,t,i,u)}}(t,e,u,n,s)}}function Wa(e,t,n){return e.createElement(t,n)}function fu(e,t){const n=e[9],i=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,Ni(s,-1)),n.splice(i,1)}function hu(e,t){if(e.length<=R)return;const n=R+t,i=e[n];if(i){const s=i[17];null!==s&&s!==e&&fu(s,i),t>0&&(e[n-1][4]=i[4]);const u=Ua(e,R+t);!function du(e,t){Vs(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const f=u[19];null!==f&&f.detachView(u[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function pu(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Vs(e,t,n,3,null,null),function mf(e){let t=e[13];if(!t)return Wc(e[1],e);for(;t;){let n=null;if(V(t))n=t[13];else{const i=t[R];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)V(t)&&Wc(t[1],t),t=t[3];null===t&&(t=e),V(t)&&Wc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Wc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Gu(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const s=t[n[i]];if(!(s instanceof wo)){const u=n[i+1];if(Array.isArray(u))for(let f=0;f<u.length;f+=2){const y=s[u[f]],b=u[f+1];try{b.call(y)}finally{}}else try{u.call(s)}finally{}}}}(e,t),function yf(e,t){const n=e.cleanup,i=t[7];let s=-1;if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const f=n[u+1],y="function"==typeof f?f(t):lr(t[f]),b=i[s=n[u+2]],A=n[u+3];"boolean"==typeof A?y.removeEventListener(n[u],b,A):A>=0?i[s=A]():i[s=-A].unsubscribe(),u+=2}else{const f=i[s=n[u+1]];n[u].call(f)}if(null!==i){for(let u=s+1;u<i.length;u++)(0,i[u])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&ie(t[3])){n!==t[3]&&fu(n,t);const i=t[19];null!==i&&i.detachView(e)}!function ns(e){Vc.delete(e[20])}(t)}}function Yc(e,t,n){return function Wu(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 s=e.data[i.directiveStart].encapsulation;if(s===_t.None||s===_t.Emulated)return null}return ur(i,n)}(e,t.parent,n)}function dl(e,t,n,i,s){e.insertBefore(t,n,i,s)}function qc(e,t,n){e.appendChild(t,n)}function ta(e,t,n,i,s){null!==i?dl(e,t,n,i,s):qc(e,t,n)}function Yu(e,t){return e.parentNode(t)}function wf(e,t,n){return na(e,t,n)}let _u,ho,Ll,na=function bf(e,t,n){return 40&e.type?ur(e,n):null};function Fl(e,t,n,i){const s=Yc(e,i,t),u=t[11],y=wf(i.parent||t[6],i,t);if(null!=s)if(Array.isArray(n))for(let b=0;b<n.length;b++)ta(u,s,n[b],y,!1);else ta(u,s,n,y,!1)}function fl(e,t){if(null!==t){const n=t.type;if(3&n)return ur(t,e);if(4&n)return wn(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return fl(e,i);{const s=e[t.index];return ie(s)?wn(-1,s):lr(s)}}if(32&n)return ju(t,e)()||lr(e[t.index]);{const i=hl(e,t);return null!==i?Array.isArray(i)?i[0]:fl(Nl(e[16]),i):fl(e,t.next)}}return null}function hl(e,t){return null!==t?e[16][6].projection[t.projection]:null}function wn(e,t){const n=R+e+1;if(n<t.length){const i=t[n],s=i[1].firstChild;if(null!==s)return fl(i,s)}return t[7]}function mu(e,t,n,i,s,u,f){for(;null!=n;){const y=i[n.index],b=n.type;if(f&&0===t&&(y&&io(lr(y),i),n.flags|=4),64!=(64&n.flags))if(8&b)mu(e,t,n.child,i,s,u,!1),cl(t,e,s,y,u);else if(32&b){const A=ju(n,i);let B;for(;B=A();)cl(t,e,s,B,u);cl(t,e,s,y,u)}else 16&b?Zu(e,t,i,n,s,u):cl(t,e,s,y,u);n=f?n.projectionNext:n.next}}function Vs(e,t,n,i,s,u){mu(n,i,e.firstChild,t,s,u,!1)}function Zu(e,t,n,i,s,u){const f=n[16],b=f[6].projection[i.projection];if(Array.isArray(b))for(let A=0;A<b.length;A++)cl(t,e,s,b[A],u);else mu(e,t,b,f[3],s,u,!0)}function Ef(e,t,n){e.setAttribute(t,"style",n)}function Zc(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ya(e){return function Kc(){if(void 0===_u&&(_u=null,Ot.trustedTypes))try{_u=Ot.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _u}()?.createHTML(e)||e}function Qc(e){ho=e}function Sf(e){return function Jc(){if(void 0===Ll&&(Ll=null,Ot.trustedTypes))try{Ll=Ot.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ll}()?.createHTML(e)||e}class ed{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function ba(e){return e instanceof ed?e.changingThisBreaksApplicationSecurity:e}function yu(e,t){const n=function td(e){return e instanceof ed&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}class Of{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ya(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ra{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ya(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Ya(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const f=n.item(s).name;("xmlns:ns1"===f||0===f.indexOf("ns1:"))&&t.removeAttribute(f)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const _p=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Qu(e){return(e=String(e)).match(_p)?e:"unsafe:"+e}function Da(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Cu(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const xf=Da("area,br,col,hr,img,wbr"),Af=Da("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),If=Da("rp,rt"),nd=Cu(xf,Cu(Af,Da("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Cu(If,Da("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Cu(If,Af)),rd=Da("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),id=Cu(rd,Da("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Da("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Rf=Da("script,style,template");class vp{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!nd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Rf.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let s=0;s<i.length;s++){const u=i.item(s),f=u.name,y=f.toLowerCase();if(!id.hasOwnProperty(y)){this.sanitizedSomething=!0;continue}let b=u.value;rd[y]&&(b=Qu(b)),this.buf.push(" ",f,'="',od(b),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();nd.hasOwnProperty(n)&&!xf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(od(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Cp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wp=/([^\#-~ |!])/g;function od(e){return e.replace(/&/g,"&amp;").replace(Cp,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(wp,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ju;function sd(e){return"content"in e&&function Dp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Hi=(()=>((Hi=Hi||{})[Hi.NONE=0]="NONE",Hi[Hi.HTML=1]="HTML",Hi[Hi.STYLE=2]="STYLE",Hi[Hi.SCRIPT=3]="SCRIPT",Hi[Hi.URL=4]="URL",Hi[Hi.RESOURCE_URL=5]="RESOURCE_URL",Hi))();function Nf(e){const t=wu();return t?Sf(t.sanitize(Hi.HTML,e)||""):yu(e,"HTML")?Sf(ba(e)):function bp(e,t){let n=null;try{Ju=Ju||function vu(e){const t=new ra(e);return function pl(){try{return!!(new window.DOMParser).parseFromString(Ya(""),"text/html")}catch{return!1}}()?new Of(t):t}(e);let i=t?String(t):"";n=Ju.getInertBodyElement(i);let s=5,u=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=u,u=n.innerHTML,n=Ju.getInertBodyElement(i)}while(i!==u);return Ya((new vp).sanitizeChildren(sd(n)||n))}finally{if(n){const i=sd(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(function Mf(){return void 0!==ho?ho:typeof document<"u"?document:void 0}(),Te(e))}function ad(e){const t=wu();return t?t.sanitize(Hi.URL,e)||"":yu(e,"URL")?ba(e):Qu(Te(e))}function wu(){const e=ft();return e&&e[12]}const ld=new qt("ENVIRONMENT_INITIALIZER"),Vf=new qt("INJECTOR",-1),Bf=new qt("INJECTOR_DEF_TYPES");class Uf{get(t,n=Vr){if(n===Vr){const i=new Error(`NullInjectorError: No provider for ${Ae(t)}!`);throw i.name="NullInjectorError",i}return n}}function Pp(...e){return{"ɵproviders":Hf(0,e)}}function Hf(e,...t){const n=[],i=new Set;let s;return hs(t,(u=>{const f=u;ud(f,n,[],i)&&(s||(s=[]),s.push(f))})),void 0!==s&&jf(s,n),n}function jf(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];hs(s,(u=>{t.push(u)}))}}function ud(e,t,n,i){if(!(e=Oe(e)))return!1;let s=null,u=Gt(e);const f=!u&&ln(e);if(u||f){if(f&&!f.standalone)return!1;s=e}else{const b=e.ngModule;if(u=Gt(b),!u)return!1;s=b}const y=i.has(s);if(f){if(y)return!1;if(i.add(s),f.dependencies){const b="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const A of b)ud(A,t,n,i)}}else{if(!u)return!1;{if(null!=u.imports&&!y){let A;i.add(s);try{hs(u.imports,(B=>{ud(B,t,n,i)&&(A||(A=[]),A.push(B))}))}finally{}void 0!==A&&jf(A,t)}if(!y){const A=Vn(s)||(()=>new s);t.push({provide:s,useFactory:A,deps:xt},{provide:Bf,useValue:s,multi:!0},{provide:ld,useValue:()=>Jr(s),multi:!0})}const b=u.providers;null==b||y||hs(b,(B=>{t.push(B)}))}}return s!==e&&void 0!==e.providers}const Op=oe({provide:String,useValue:oe});function cd(e){return null!==e&&"object"==typeof e&&Op in e}function gl(e){return"function"==typeof e}const dd=new qt("Set Injector scope."),Xu={},Ap={};let fd;function Bl(){return void 0===fd&&(fd=new Uf),fd}class qa{}class Gf extends qa{constructor(t,n,i,s){super(),this.parent=n,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Hl(t,(f=>this.processProvider(f))),this.records.set(Vf,Ul(void 0,this)),s.has("environment")&&this.records.set(qa,Ul(void 0,this));const u=this.records.get(dd);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(Bf.multi,xt,Re.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Lo(this),i=G(void 0);try{return t()}finally{Lo(n),G(i)}}get(t,n=Vr,i=Re.Default){this.assertNotDestroyed();const s=Lo(this),u=G(void 0);try{if(!(i&Re.SkipSelf)){let y=this.records.get(t);if(void 0===y){const b=function Yf(e){return"function"==typeof e||"object"==typeof e&&e instanceof qt}(t)&&Nr(t);y=b&&this.injectableDefInScope(b)?Ul(hd(t),Xu):null,this.records.set(t,y)}if(null!=y)return this.hydrate(t,y)}return(i&Re.Self?Bl():this.parent).get(t,n=i&Re.Optional&&n===Vr?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[Ji]=f[Ji]||[]).unshift(Ae(t)),s)throw f;return function Nu(e,t,n,i){const s=e[Ji];throw t[xl]&&s.unshift(t[xl]),e.message=function ks(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let s=Ae(t);if(Array.isArray(t))s=t.map(Ae).join(" -> ");else if("object"==typeof t){let u=[];for(let f in t)if(t.hasOwnProperty(f)){let y=t[f];u.push(f+":"+("string"==typeof y?JSON.stringify(y):Ae(y)))}s=`{${u.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(ru,"\n  ")}`}("\n"+e.message,s,n,i),e.ngTokenPath=s,e[Ji]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{G(u),Lo(s)}}resolveInjectorInitializers(){const t=Lo(this),n=G(void 0);try{const i=this.get(ld.multi,xt,Re.Self);for(const s of i)s()}finally{Lo(t),G(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(Ae(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new tt(205,!1)}processProvider(t){let n=gl(t=Oe(t))?t:Oe(t&&t.provide);const i=function Rp(e){return cd(e)?Ul(void 0,e.useValue):Ul(Wf(e),Xu)}(t);if(gl(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=Ul(void 0,Xu,!0),s.factory=()=>ll(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Xu&&(n.value=Ap,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Fp(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Oe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function hd(e){const t=Nr(e),n=null!==t?t.factory:Vn(e);if(null!==n)return n;if(e instanceof qt)throw new tt(204,!1);if(e instanceof Function)return function Ip(e){const t=e.length;if(t>0)throw _a(t,"?"),new tt(204,!1);const n=function Xr(e){const t=e&&(e[Kr]||e[de]);if(t){const n=function Cr(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 tt(204,!1)}function Wf(e,t,n){let i;if(gl(e)){const s=Oe(e);return Vn(s)||hd(s)}if(cd(e))i=()=>Oe(e.useValue);else if(function zf(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ll(e.deps||[]));else if(function $f(e){return!(!e||!e.useExisting)}(e))i=()=>Jr(Oe(e.useExisting));else{const s=Oe(e&&(e.useClass||e.provide));if(!function Np(e){return!!e.deps}(e))return Vn(s)||hd(s);i=()=>new s(...ll(e.deps))}return i}function Ul(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kp(e){return!!e.ɵproviders}function Hl(e,t){for(const n of e)Array.isArray(n)?Hl(n,t):kp(n)?Hl(n.ɵproviders,t):t(n)}class qf{}class Bp{resolveComponentFactory(t){throw function Vp(e){const t=Error(`No component factory found for ${Ae(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let bu=(()=>{class e{}return e.NULL=new Bp,e})();function Up(){return jl(Sr(),ft())}function jl(e,t){return new Du(ur(e,t))}let Du=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Up,e})();function Hp(e){return e instanceof Du?e.nativeElement:e}class Kf{}let jp=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function $p(){const e=ft(),n=$r(Sr().index,e);return(V(n)?n:e)[11]}(),e})(),zp=(()=>{class e{}return e.ɵprov=vr({token:e,providedIn:"root",factory:()=>null}),e})();class pd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Qf=new pd("14.3.0"),gd={};function _d(e){return e.ngOriginalError}class Za{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&_d(t);for(;n&&_d(n);)n=_d(n);return n||null}}function Ea(e){return e instanceof Function?e():e}function ec(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const u=t.length;if(s+u===i||e.charCodeAt(s+u)<=32)return s}n=s+1}}const Cd="ng-template";function Jf(e,t,n){let i=0;for(;i<e.length;){let s=e[i++];if(n&&"class"===s){if(s=e[i],-1!==ec(s.toLowerCase(),t,0))return!0}else if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function wd(e){return 4===e.type&&e.value!==Cd}function rg(e,t,n){return t===(4!==e.type||n?e.value:Cd)}function ig(e,t,n){let i=4;const s=e.attrs||[],u=function sg(e){for(let t=0;t<e.length;t++)if(Bn(e[t]))return t;return e.length}(s);let f=!1;for(let y=0;y<t.length;y++){const b=t[y];if("number"!=typeof b){if(!f)if(4&i){if(i=2|1&i,""!==b&&!rg(e,b,n)||""===b&&1===t.length){if(Bs(i))return!1;f=!0}}else{const A=8&i?b:t[++y];if(8&i&&null!==e.attrs){if(!Jf(e.attrs,A,n)){if(Bs(i))return!1;f=!0}continue}const ee=tc(8&i?"class":b,s,wd(e),n);if(-1===ee){if(Bs(i))return!1;f=!0;continue}if(""!==A){let ye;ye=ee>u?"":s[ee+1].toLowerCase();const Ue=8&i?ye:null;if(Ue&&-1!==ec(Ue,A,0)||2&i&&A!==ye){if(Bs(i))return!1;f=!0}}}}else{if(!f&&!Bs(i)&&!Bs(b))return!1;if(f&&Bs(b))continue;f=!1,i=b|1&i}}return Bs(i)||f}function Bs(e){return 0==(1&e)}function tc(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let u=!1;for(;s<t.length;){const f=t[s];if(f===e)return s;if(3===f||6===f)u=!0;else{if(1===f||2===f){let y=t[++s];for(;"string"==typeof y;)y=t[++s];continue}if(4===f)break;if(0===f){s+=4;continue}}s+=u?1:2}return-1}return function bd(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 Eu(e,t,n=!1){for(let i=0;i<t.length;i++)if(ig(e,t[i],n))return!0;return!1}function Xf(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let s=0;s<e.length;s++)if(e[s]!==i[s])continue e;return!0}}return!1}function eh(e,t){return e?":not("+t.trim()+")":t}function ag(e){let t=e[0],n=1,i=2,s="",u=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&i){const y=e[++n];s+="["+f+(y.length>0?'="'+y+'"':"")+"]"}else 8&i?s+="."+f:4&i&&(s+=" "+f);else""!==s&&!Bs(f)&&(t+=eh(u,s),s=""),i=f,u=u||!Bs(i);n++}return""!==s&&(t+=eh(u,s)),t}const Un={};function th(e){nh(Fn(),ft(),ki()+e,!1)}function nh(e,t,n,i){if(!i)if(3==(3&t[2])){const u=e.preOrderCheckHooks;null!==u&&cs(t,u,n)}else{const u=e.preOrderHooks;null!==u&&ha(t,u,0,n)}Co(n)}function Hn(e,t=null,n=null,i){const s=oh(e,t,n,i);return s.resolveInjectorInitializers(),s}function oh(e,t=null,n=null,i,s=new Set){const u=[n||xt,Pp(e)];return i=i||("object"==typeof e?void 0:Ae(e)),new Gf(u,t||Bl(),i||null,s)}let ji=(()=>{class e{static create(n,i){if(Array.isArray(n))return Hn({name:""},i,n,"");{const s=n.name??"";return Hn({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Vr,e.NULL=new Uf,e.ɵprov=vr({token:e,providedIn:"any",factory:()=>Jr(Vf)}),e.__NG_ELEMENT_ID__=-1,e})();function Wl(e,t=Re.Default){const n=ft();return null===n?Jr(e,t):Ql(Sr(),n,Oe(e),t)}function uh(){throw new Error("invalid")}function sc(e,t){return e<<17|t<<2}function vs(e){return e>>17&32767}function ac(e){return 2|e}function $i(e){return(131068&e)>>2}function lc(e,t){return-131069&e|t<<2}function Er(e){return 1|e}function _h(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],u=n[i+1];if(-1!==u){const f=e.data[u];Ps(s),f.contentQueries(2,t[u],u)}}}function hc(e,t,n,i,s,u,f,y,b,A,B){const ee=t.blueprint.slice();return ee[0]=s,ee[2]=76|i,(null!==B||e&&1024&e[2])&&(ee[2]|=1024),uo(ee),ee[3]=ee[15]=e,ee[8]=n,ee[10]=f||e&&e[10],ee[11]=y||e&&e[11],ee[12]=b||e&&e[12]||null,ee[9]=A||e&&e[9]||null,ee[6]=u,ee[20]=function Bc(){return Lu++}(),ee[21]=B,ee[16]=2==t.type?e[16]:ee,ee}function _l(e,t,n,i,s){let u=e.data[t];if(null===u)u=function pc(e,t,n,i,s){const u=Jo(),f=T(),b=e.data[t]=function kg(e,t,n,i,s,u){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:s,attrs:u,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,f?u:u&&u.parent,n,t,i,s);return null===e.firstChild&&(e.firstChild=b),null!==u&&(f?null==u.child&&null!==b.parent&&(u.child=b):null===u.next&&(u.next=b)),b}(e,t,n,i,s),function es(){return gn.lFrame.inI18n}()&&(u.flags|=64);else if(64&u.type){u.type=n,u.value=i,u.attrs=s;const f=function hr(){const e=gn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===f?-1:f.injectorIndex}return O(u,!0),u}function ql(e,t,n,i){if(0===n)return-1;const s=t.length;for(let u=0;u<n;u++)t.push(i),e.blueprint.push(i),e.data.push(null);return s}function Fd(e,t,n){Gs(t);try{const i=e.viewQuery;null!==i&&Wd(1,i,n);const s=e.template;null!==s&&yh(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&_h(e,t),e.staticViewQueries&&Wd(2,e.viewQuery,n);const u=e.components;null!==u&&function Rg(e,t){for(let n=0;n<t.length;n++)Yg(e,t[n])}(t,u)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,fa()}}function gc(e,t,n,i){const s=t[2];if(128!=(128&s)){Gs(t);try{uo(t),function Xo(e){return gn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&yh(e,t,n,2,i);const f=3==(3&s);if(f){const A=e.preOrderCheckHooks;null!==A&&cs(t,A,null)}else{const A=e.preOrderHooks;null!==A&&ha(t,A,0,null),Ki(t,0)}if(function Wg(e){for(let t=zc(e);null!==t;t=Gc(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const s=n[i],u=s[3];0==(512&s[2])&&Ni(u,1),s[2]|=512}}}(t),function $d(e){for(let t=zc(e);null!==t;t=Gc(t))for(let n=R;n<t.length;n++){const i=t[n],s=i[1];Yi(i)&&gc(s,i,s.template,i[8])}}(t),null!==e.contentQueries&&_h(e,t),f){const A=e.contentCheckHooks;null!==A&&cs(t,A)}else{const A=e.contentHooks;null!==A&&ha(t,A,1),Ki(t,1)}!function Ag(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const s=n[i];if(s<0)Co(~s);else{const u=s,f=n[++i],y=n[++i];us(f,u),y(2,t[u])}}}finally{Co(-1)}}(e,t);const y=e.components;null!==y&&function Ig(e,t){for(let n=0;n<t.length;n++)zd(e,t[n])}(t,y);const b=e.viewQuery;if(null!==b&&Wd(2,b,i),f){const A=e.viewCheckHooks;null!==A&&cs(t,A)}else{const A=e.viewHooks;null!==A&&ha(t,A,2),Ki(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ni(t[3],-1))}finally{fa()}}}function yh(e,t,n,i,s){const u=ki(),f=2&i;try{Co(-1),f&&t.length>22&&nh(e,t,22,!1),n(i,s)}finally{Co(u)}}function vh(e,t,n){if(Qe(t)){const s=t.directiveEnd;for(let u=t.directiveStart;u<s;u++){const f=e.data[u];f.contentQueries&&f.contentQueries(1,n[u],u)}}}function kd(e,t,n){!Fi()||(function Ud(e,t,n,i){const s=n.directiveStart,u=n.directiveEnd;e.firstCreatePass||Is(n,t),io(i,t);const f=n.initialInputs;for(let y=s;y<u;y++){const b=e.data[y],A=ct(b);A&&$g(t,n,b);const B=fs(t,e,y,n);io(B,t),null!==f&&zg(0,y-s,B,b,0,f),A&&($r(n.index,t)[8]=B)}}(e,t,n,ur(n,t)),128==(128&n.flags)&&function Sh(e,t,n){const i=n.directiveStart,s=n.directiveEnd,u=n.index,f=function Cl(){return gn.lFrame.currentDirectiveIndex}();try{Co(u);for(let y=i;y<s;y++){const b=e.data[y],A=t[y];Ss(y),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&Hd(b,A)}}finally{Co(-1),Ss(f)}}(e,t,n))}function Ld(e,t,n=ur){const i=t.localNames;if(null!==i){let s=t.index+1;for(let u=0;u<i.length;u+=2){const f=i[u+1],y=-1===f?n(t,e):e[f];e[s++]=y}}}function Ch(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Vd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Vd(e,t,n,i,s,u,f,y,b,A){const B=22+i,ee=B+s,ye=function Ng(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Un);return n}(B,ee),Ue="function"==typeof A?A():A;return ye[1]={type:e,blueprint:ye,template:n,queries:null,viewQuery:y,declTNode:t,data:ye.slice().fill(null,B),bindingStartIndex:B,expandoStartIndex:ee,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 u?u():u,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:b,consts:Ue,incompleteFirstPass:!1}}function wh(e,t,n,i){const s=vc(t);null===n?s.push(i):(s.push(n),e.firstCreatePass&&Ih(e).push(i,s.length-1))}function bh(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const s=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,s):n[i]=[t,s]}return n}function Dh(e,t){const i=t.directiveEnd,s=e.data,u=t.attrs,f=[];let y=null,b=null;for(let A=t.directiveStart;A<i;A++){const B=s[A],ee=B.inputs,ye=null===u||wd(t)?null:Gg(ee,u);f.push(ye),y=bh(ee,A,y),b=bh(B.outputs,A,b)}null!==y&&(y.hasOwnProperty("class")&&(t.flags|=16),y.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=f,t.inputs=y,t.outputs=b}function is(e,t,n,i,s,u,f,y){const b=ur(t,n);let B,A=t.inputs;!y&&null!=A&&(B=A[i])?(Yd(e,n,B,i,s),We(t)&&Eh(n,t.index)):3&t.type&&(i=function Lg(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),s=null!=f?f(s,t.value||"",i):s,u.setProperty(b,i,s))}function Eh(e,t){const n=$r(t,e);16&n[2]||(n[2]|=32)}function Bd(e,t,n,i){let s=!1;if(Fi()){const u=function Hg(e,t,n){const i=e.directiveRegistry;let s=null;if(i)for(let u=0;u<i.length;u++){const f=i[u];Eu(n,f.selectors,!1)&&(s||(s=[]),Rs(Is(n,t),e,f.type),ct(f)?(Th(e,n),s.unshift(f)):s.push(f))}return s}(e,t,n),f=null===i?null:{"":-1};if(null!==u){s=!0,Ph(n,e.data.length,u.length);for(let B=0;B<u.length;B++){const ee=u[B];ee.providersResolver&&ee.providersResolver(ee)}let y=!1,b=!1,A=ql(e,t,u.length,null);for(let B=0;B<u.length;B++){const ee=u[B];n.mergedAttrs=kn(n.mergedAttrs,ee.hostAttrs),Oh(e,n,t,A,ee),jd(A,ee,f),null!==ee.contentQueries&&(n.flags|=8),(null!==ee.hostBindings||null!==ee.hostAttrs||0!==ee.hostVars)&&(n.flags|=128);const ye=ee.type.prototype;!y&&(ye.ngOnChanges||ye.ngOnInit||ye.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),y=!0),!b&&(ye.ngOnChanges||ye.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),b=!0),A++}Dh(e,n)}f&&function jg(e,t,n){if(t){const i=e.localNames=[];for(let s=0;s<t.length;s+=2){const u=n[t[s+1]];if(null==u)throw new tt(-301,!1);i.push(t[s],u)}}}(n,i,f)}return n.mergedAttrs=kn(n.mergedAttrs,n.attrs),s}function Mh(e,t,n,i,s,u){const f=u.hostBindings;if(f){let y=e.hostBindingOpCodes;null===y&&(y=e.hostBindingOpCodes=[]);const b=~t.index;(function Ug(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(y)!=b&&y.push(b),y.push(i,s,f)}}function Hd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Th(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function jd(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;ct(t)&&(n[""]=e)}}function Ph(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Oh(e,t,n,i,s){e.data[i]=s;const u=s.factory||(s.factory=Vn(s.type)),f=new wo(u,ct(s),Wl);e.blueprint[i]=f,n[i]=f,Mh(e,t,0,i,ql(e,n,s.hostVars,Un),s)}function $g(e,t,n){const i=ur(t,e),s=Ch(n),u=e[10],f=mc(e,hc(e,s,null,n.onPush?32:16,i,t,u,u.createRenderer(i,n),null,null,null));e[t.index]=f}function _i(e,t,n,i,s,u){const f=ur(e,t);!function Su(e,t,n,i,s,u,f){if(null==u)e.removeAttribute(t,s,n);else{const y=null==f?Te(u):f(u,i||"",s);e.setAttribute(t,s,y,n)}}(t[11],f,u,e.value,n,i,s)}function zg(e,t,n,i,s,u){const f=u[t];if(null!==f){const y=i.setInput;for(let b=0;b<f.length;){const A=f[b++],B=f[b++],ee=f[b++];null!==y?i.setInput(n,ee,A,B):n[B]=ee}}}function Gg(e,t){let n=null,i=0;for(;i<t.length;){const s=t[i];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[i+1])),i+=2}else i+=2;else i+=4}return n}function xh(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function zd(e,t){const n=$r(t,e);if(Yi(n)){const i=n[1];48&n[2]?gc(i,n,i.template,n[8]):n[5]>0&&Gd(n)}}function Gd(e){for(let i=zc(e);null!==i;i=Gc(i))for(let s=R;s<i.length;s++){const u=i[s];if(Yi(u))if(512&u[2]){const f=u[1];gc(f,u,f.template,u[8])}else u[5]>0&&Gd(u)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const s=$r(n[i],e);Yi(s)&&s[5]>0&&Gd(s)}}function Yg(e,t){const n=$r(t,e),i=n[1];(function qg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Fd(i,n,n[8])}function mc(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function _c(e){for(;e;){e[2]|=32;const t=Nl(e);if(ut(e)&&!t)return e;e=t}return null}function yc(e,t,n,i=!0){const s=t[10];s.begin&&s.begin();try{gc(e,t,e.template,n)}catch(f){throw i&&Nh(t,f),f}finally{s.end&&s.end()}}function Wd(e,t,n){Ps(0),t(e,n)}function vc(e){return e[7]||(e[7]=[])}function Ih(e){return e.cleanup||(e.cleanup=[])}function Nh(e,t){const n=e[9],i=n?n.get(Za,null):null;i&&i.handleError(t)}function Yd(e,t,n,i,s){for(let u=0;u<n.length;){const f=n[u++],y=n[u++],b=t[f],A=e.data[f];null!==A.setInput?A.setInput(b,s,i,y):b[y]=s}}function Cc(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,u=0;if(null!==t)for(let f=0;f<t.length;f++){const y=t[f];"number"==typeof y?u=y:1==u?s=Le(s,y):2==u&&(i=Le(i,y+": "+t[++f]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=s:e.classesWithoutHost=s}function wc(e,t,n,i,s=!1){for(;null!==n;){const u=t[n.index];if(null!==u&&i.push(lr(u)),ie(u))for(let y=R;y<u.length;y++){const b=u[y],A=b[1].firstChild;null!==A&&wc(b[1],b,A,i)}const f=n.type;if(8&f)wc(e,t,n.child,i);else if(32&f){const y=ju(n,t);let b;for(;b=y();)i.push(b)}else if(16&f){const y=hl(t,n);if(Array.isArray(y))i.push(...y);else{const b=Nl(t[16]);wc(b[1],b,y,i,!0)}}n=s?n.projectionNext:n.next}return i}class Tu{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 wc(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ie(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(hu(t,i),Ua(n,i))}this._attachedToViewContainer=!1}pu(this._lView[1],this._lView)}onDestroy(t){wh(this._lView[1],this._lView,null,t)}markForCheck(){_c(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){yc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new tt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function gf(e,t){Vs(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new tt(902,!1);this._appRef=t}}class Zg extends Tu{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;yc(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class qd extends bu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ln(t);return new Pu(n,this.ngModule)}}function Fh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Qg{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const s=this.injector.get(t,gd,i);return s!==gd||n===gd?s:this.parentInjector.get(t,n,i)}}class Pu extends qf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function lg(e){return e.map(ag).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Fh(this.componentDef.inputs)}get outputs(){return Fh(this.componentDef.outputs)}create(t,n,i,s){let u=(s=s||this.ngModule)instanceof qa?s:s?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const f=u?new Qg(t,u):t,y=f.get(Kf,null);if(null===y)throw new tt(407,!1);const b=f.get(zp,null),A=y.createRenderer(null,this.componentDef),B=this.componentDef.selectors[0][0]||"div",ee=i?function Fg(e,t,n){return e.selectRootElement(t,n===_t.ShadowDom)}(A,i,this.componentDef.encapsulation):Wa(A,B,function Kg(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(B)),ye=this.componentDef.onPush?288:272,Ue=Vd(0,null,null,1,0,null,null,null,null,null),at=hc(null,Ue,null,ye,null,null,y,A,b,f,null);let Tt,Lt;Gs(at);try{const Qt=function em(e,t,n,i,s,u){const f=n[1];n[22]=e;const b=_l(f,22,2,"#host",null),A=b.mergedAttrs=t.hostAttrs;null!==A&&(Cc(b,A,!0),null!==e&&(Yn(s,e,A),null!==b.classes&&Zc(s,e,b.classes),null!==b.styles&&Ef(s,e,b.styles)));const B=i.createRenderer(e,t),ee=hc(n,Ch(t),null,t.onPush?32:16,n[22],b,i,B,u||null,null,null);return f.firstCreatePass&&(Rs(Is(b,n),f,t.type),Th(f,b),Ph(b,n.length,1)),mc(n,ee),n[22]=ee}(ee,this.componentDef,at,y,A);if(ee)if(i)Yn(A,ee,["ng-version",Qf.full]);else{const{attrs:pn,classes:Ct}=function ug(e){const t=[],n=[];let i=1,s=2;for(;i<e.length;){let u=e[i];if("string"==typeof u)2===s?""!==u&&t.push(u,e[++i]):8===s&&n.push(u);else{if(!Bs(s))break;s=u}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);pn&&Yn(A,ee,pn),Ct&&Ct.length>0&&Zc(A,ee,Ct.join(" "))}if(Lt=wi(Ue,22),void 0!==n){const pn=Lt.projection=[];for(let Ct=0;Ct<this.ngContentSelectors.length;Ct++){const An=n[Ct];pn.push(null!=An?Array.from(An):null)}}Tt=function tm(e,t,n,i){const s=n[1],u=function Bg(e,t,n){const i=Sr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Oh(e,i,t,ql(e,t,1,null),n),Dh(e,i));const s=fs(t,e,i.directiveStart,i);io(s,t);const u=ur(i,t);return u&&io(u,t),s}(s,n,t);if(e[8]=n[8]=u,null!==i)for(const y of i)y(u,t);if(t.contentQueries){const y=Sr();t.contentQueries(1,u,y.directiveStart)}const f=Sr();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Co(f.index),Mh(n[1],f,0,f.directiveStart,f.directiveEnd,t),Hd(t,u)),u}(Qt,this.componentDef,at,[nm]),Fd(Ue,at,null)}finally{fa()}return new Xg(this.componentType,Tt,jl(Lt,at),at,Lt)}}class Xg extends class Lp{}{constructor(t,n,i,s,u){super(),this.location=i,this._rootLView=s,this._tNode=u,this.instance=n,this.hostView=this.changeDetectorRef=new Zg(s),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let s;if(null!==i&&(s=i[t])){const u=this._rootLView;Yd(u[1],u,s,t,n),Eh(u,this._tNode.index)}}get injector(){return new Oo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function nm(){const e=Sr();Xn(ft()[1],e)}function a(e){let t=function r(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let s;if(ct(e))s=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new tt(903,!1);s=t.ɵdir}if(s){if(n){i.push(s);const f=e;f.inputs=M(e.inputs),f.declaredInputs=M(e.declaredInputs),f.outputs=M(e.outputs);const y=s.hostBindings;y&&he(e,y);const b=s.viewQuery,A=s.contentQueries;if(b&&N(e,b),A&&Z(e,A),Se(e.inputs,s.inputs),Se(e.declaredInputs,s.declaredInputs),Se(e.outputs,s.outputs),ct(s)&&s.data.animation){const B=e.data;B.animation=(B.animation||[]).concat(s.data.animation)}}const u=s.features;if(u)for(let f=0;f<u.length;f++){const y=u[f];y&&y.ngInherit&&y(e),y===a&&(n=!1)}}t=Object.getPrototypeOf(t)}!function d(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=kn(s.hostAttrs,n=kn(n,s.hostAttrs))}}(i)}function M(e){return e===Vt?{}:e===xt?[]:e}function N(e,t){const n=e.viewQuery;e.viewQuery=n?(i,s)=>{t(i,s),n(i,s)}:t}function Z(e,t){const n=e.contentQueries;e.contentQueries=n?(i,s,u)=>{t(i,s,u),n(i,s,u)}:t}function he(e,t){const n=e.hostBindings;e.hostBindings=n?(i,s)=>{t(i,s),n(i,s)}:t}let ht=null;function yt(){if(!ht){const e=Ot.Symbol;if(e&&e.iterator)ht=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&&(ht=i)}}}return ht}function rn(e){return!!En(e)&&(Array.isArray(e)||!(e instanceof Map)&&yt()in e)}function En(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function jn(e,t,n){return e[t]=n}function Rr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xi(e,t,n,i){const s=Rr(e,t,n);return Rr(e,t+1,i)||s}function Us(e,t,n,i){const s=ft();return Rr(s,eo(),t)&&(Fn(),_i(De(),s,e,t,n,i)),Us}function bc(e,t,n,i){return Rr(e,eo(),n)?t+Te(n)+i:Un}function z_(e,t,n,i,s,u,f,y){const b=ft(),A=Fn(),B=e+22,ee=A.firstCreatePass?function qC(e,t,n,i,s,u,f,y,b){const A=t.consts,B=_l(t,e,4,f||null,Tn(A,y));Bd(t,n,B,Tn(A,b)),Xn(t,B);const ee=B.tViews=Vd(2,B,i,s,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,A);return null!==t.queries&&(t.queries.template(t,B),ee.queries=t.queries.embeddedTView(B)),B}(B,A,b,t,n,i,s,u,f):A.data[B];O(ee,!1);const ye=b[11].createComment("");Fl(A,b,ye,ee),io(ye,b),mc(b,b[B]=xh(ye,b,ye,ee)),lt(ee)&&kd(A,b,ee),null!=f&&Ld(b,ee,y)}function G_(e){return function _o(e,t){return e[t]}(function Ke(){return gn.lFrame.contextLView}(),22+e)}function rm(e,t,n){const i=ft();return Rr(i,eo(),t)&&is(Fn(),De(),i,e,t,i[11],n,!1),rm}function im(e,t,n,i,s){const f=s?"class":"style";Yd(e,n,t.inputs[f],f,i)}function kh(e,t,n,i){const s=ft(),u=Fn(),f=22+e,y=s[11],b=s[f]=Wa(y,t,function Jn(){return gn.lFrame.currentNamespace}()),A=u.firstCreatePass?function KC(e,t,n,i,s,u,f){const y=t.consts,A=_l(t,e,2,s,Tn(y,u));return Bd(t,n,A,Tn(y,f)),null!==A.attrs&&Cc(A,A.attrs,!1),null!==A.mergedAttrs&&Cc(A,A.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,A),A}(f,u,s,0,t,n,i):u.data[f];O(A,!0);const B=A.mergedAttrs;null!==B&&Yn(y,b,B);const ee=A.classes;null!==ee&&Zc(y,b,ee);const ye=A.styles;return null!==ye&&Ef(y,b,ye),64!=(64&A.flags)&&Fl(u,s,b,A),0===function Es(){return gn.lFrame.elementDepthCount}()&&io(b,s),function qi(){gn.lFrame.elementDepthCount++}(),lt(A)&&(kd(u,s,A),vh(u,A,s)),null!==i&&Ld(s,A),kh}function Lh(){let e=Sr();T()?E():(e=e.parent,O(e,!1));const t=e;!function Ms(){gn.lFrame.elementDepthCount--}();const n=Fn();return n.firstCreatePass&&(Xn(n,e),Qe(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _e(e){return 0!=(16&e.flags)}(t)&&im(n,t,ft(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ge(e){return 0!=(32&e.flags)}(t)&&im(n,t,ft(),t.stylesWithoutHost,!1),Lh}function om(e,t,n,i){return kh(e,t,n,i),Lh(),om}function Vh(e,t,n){const i=ft(),s=Fn(),u=e+22,f=s.firstCreatePass?function QC(e,t,n,i,s){const u=t.consts,f=Tn(u,i),y=_l(t,e,8,"ng-container",f);return null!==f&&Cc(y,f,!0),Bd(t,n,y,Tn(u,s)),null!==t.queries&&t.queries.elementStart(t,y),y}(u,s,i,t,n):s.data[u];O(f,!0);const y=i[u]=i[11].createComment("");return Fl(s,i,y,f),io(y,i),lt(f)&&(kd(s,i,f),vh(s,f,i)),null!=n&&Ld(i,f),Vh}function Bh(){let e=Sr();const t=Fn();return T()?E():(e=e.parent,O(e,!1)),t.firstCreatePass&&(Xn(t,e),Qe(e)&&t.queries.elementEnd(e)),Bh}function sm(e,t,n){return Vh(e,t,n),Bh(),sm}function W_(){return ft()}function am(e){return!!e&&"function"==typeof e.then}function Y_(e){return!!e&&"function"==typeof e.subscribe}const q_=Y_;function lm(e,t,n,i){const s=ft(),u=Fn(),f=Sr();return function K_(e,t,n,i,s,u,f,y){const b=lt(i),B=e.firstCreatePass&&Ih(e),ee=t[8],ye=vc(t);let Ue=!0;if(3&i.type||y){const Lt=ur(i,t),Qt=y?y(Lt):Lt,pn=ye.length,Ct=y?Ur=>y(lr(Ur[i.index])):i.index;let An=null;if(!y&&b&&(An=function JC(e,t,n,i){const s=e.cleanup;if(null!=s)for(let u=0;u<s.length-1;u+=2){const f=s[u];if(f===n&&s[u+1]===i){const y=t[7],b=s[u+2];return y.length>b?y[b]:null}"string"==typeof f&&(u+=2)}return null}(e,t,s,i.index)),null!==An)(An.__ngLastListenerFn__||An).__ngNextListenerFn__=u,An.__ngLastListenerFn__=u,Ue=!1;else{u=J_(i,t,ee,u,!1);const Ur=n.listen(Qt,s,u);ye.push(u,Ur),B&&B.push(s,Ct,pn,pn+1)}}else u=J_(i,t,ee,u,!1);const at=i.outputs;let Tt;if(Ue&&null!==at&&(Tt=at[s])){const Lt=Tt.length;if(Lt)for(let Qt=0;Qt<Lt;Qt+=2){const Si=t[Tt[Qt]][Tt[Qt+1]].subscribe(u),Au=ye.length;ye.push(u,Si),B&&B.push(s,i.index,Au,-(Au+1))}}}(u,s,s[11],f,e,t,0,i),lm}function Q_(e,t,n,i){try{return!1!==n(i)}catch(s){return Nh(e,s),!1}}function J_(e,t,n,i,s){return function u(f){if(f===Function)return i;_c(2&e.flags?$r(e.index,t):t);let b=Q_(t,0,i,f),A=u.__ngNextListenerFn__;for(;A;)b=Q_(t,0,A,f)&&b,A=A.__ngNextListenerFn__;return s&&!1===b&&(f.preventDefault(),f.returnValue=!1),b}}function X_(e=1){return function Na(e){return(gn.lFrame.contextLView=function Kl(e,t){for(;e>0;)t=t[15],e--;return t}(e,gn.lFrame.contextLView))[8]}(e)}function XC(e,t){let n=null;const i=function og(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 s=0;s<t.length;s++){const u=t[s];if("*"!==u){if(null===i?Eu(e,u,!0):Xf(i,u))return s}else n=s}return n}function ey(e){const t=ft()[16][6];if(!t.projection){const i=t.projection=_a(e?e.length:1,null),s=i.slice();let u=t.child;for(;null!==u;){const f=e?XC(u,e):0;null!==f&&(s[f]?s[f].projectionNext=u:i[f]=u,s[f]=u),u=u.next}}}function ty(e,t=0,n){const i=ft(),s=Fn(),u=_l(s,22+e,16,null,n||null);null===u.projection&&(u.projection=t),E(),64!=(64&u.flags)&&function ap(e,t,n){Zu(t[11],0,t,n,Yc(e,n,t),wf(n.parent||t[6],n,t))}(s,i,u)}function um(e,t,n){return Uh(e,"",t,"",n),um}function Uh(e,t,n,i,s){const u=ft(),f=bc(u,t,n,i);return f!==Un&&is(Fn(),De(),u,e,f,u[11],s,!1),Uh}function cy(e,t,n,i,s){const u=e[n+1],f=null===t;let y=i?vs(u):$i(u),b=!1;for(;0!==y&&(!1===b||f);){const B=e[y+1];n0(e[y],t)&&(b=!0,e[y+1]=i?Er(B):ac(B)),y=i?vs(B):$i(B)}b&&(e[n+1]=i?ac(u):Er(u))}function n0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_(e,t)>=0}const mo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dy(e){return e.substring(mo.key,mo.keyEnd)}function fy(e,t){const n=mo.textEnd;return n===t?-1:(t=mo.keyEnd=function a0(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,mo.key=t,n),xc(e,t,n))}function xc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function cm(e,t){return function Pa(e,t,n,i){const s=ft(),u=Fn(),f=Pi(2);u.firstUpdatePass&&Cy(u,e,f,i),t!==Un&&Rr(s,f,t)&&by(u,u.data[ki()],s,s[11],e,s[f+1]=function _0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ae(ba(e)))),e}(t,n),i,f)}(e,t,null,!0),cm}function yy(e){Oa(Oi,Ja,e,!0)}function Ja(e,t){for(let n=function o0(e){return function py(e){mo.key=0,mo.keyEnd=0,mo.value=0,mo.valueEnd=0,mo.textEnd=e.length}(e),fy(e,xc(e,0,mo.textEnd))}(t);n>=0;n=fy(t,n))Oi(e,dy(t),!0)}function Oa(e,t,n,i){const s=Fn(),u=Pi(2);s.firstUpdatePass&&Cy(s,null,u,i);const f=ft();if(n!==Un&&Rr(f,u,n)){const y=s.data[ki()];if(Ey(y,i)&&!vy(s,u)){let b=i?y.classesWithoutHost:y.stylesWithoutHost;null!==b&&(n=Le(b,n||"")),im(s,y,f,n,i)}else!function m0(e,t,n,i,s,u,f,y){s===Un&&(s=xt);let b=0,A=0,B=0<s.length?s[0]:null,ee=0<u.length?u[0]:null;for(;null!==B||null!==ee;){const ye=b<s.length?s[b+1]:void 0,Ue=A<u.length?u[A+1]:void 0;let Tt,at=null;B===ee?(b+=2,A+=2,ye!==Ue&&(at=ee,Tt=Ue)):null===ee||null!==B&&B<ee?(b+=2,at=B):(A+=2,at=ee,Tt=Ue),null!==at&&by(e,t,n,i,at,Tt,f,y),B=b<s.length?s[b]:null,ee=A<u.length?u[A]:null}}(s,y,f,f[11],f[u+1],f[u+1]=function g0(e,t,n){if(null==n||""===n)return xt;const i=[],s=ba(n);if(Array.isArray(s))for(let u=0;u<s.length;u++)e(i,s[u],!0);else if("object"==typeof s)for(const u in s)s.hasOwnProperty(u)&&e(i,u,s[u]);else"string"==typeof s&&t(i,s);return i}(e,t,n),i,u)}}function vy(e,t){return t>=e.expandoStartIndex}function Cy(e,t,n,i){const s=e.data;if(null===s[n+1]){const u=s[ki()],f=vy(e,n);Ey(u,i)&&null===t&&!f&&(t=!1),t=function d0(e,t,n,i){const s=function Ts(e){const t=gn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let u=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=Zd(n=dm(null,e,t,n,i),t.attrs,i),u=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==s)if(n=dm(s,e,t,n,i),null===u){let b=function f0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==$i(i))return e[vs(i)]}(e,t,i);void 0!==b&&Array.isArray(b)&&(b=dm(null,e,t,b[1],i),b=Zd(b,t.attrs,i),function h0(e,t,n,i){e[vs(n?t.classBindings:t.styleBindings)]=i}(e,t,i,b))}else u=function p0(e,t,n){let i;const s=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<s;u++)i=Zd(i,e[u].hostAttrs,n);return Zd(i,t.attrs,n)}(e,t,i)}return void 0!==u&&(i?t.residualClasses=u:t.residualStyles=u),n}(s,u,t,i),function e0(e,t,n,i,s,u){let f=u?t.classBindings:t.styleBindings,y=vs(f),b=$i(f);e[i]=n;let B,A=!1;if(Array.isArray(n)){const ee=n;B=ee[1],(null===B||_(ee,B)>0)&&(A=!0)}else B=n;if(s)if(0!==b){const ye=vs(e[y+1]);e[i+1]=sc(ye,y),0!==ye&&(e[ye+1]=lc(e[ye+1],i)),e[y+1]=function Zn(e,t){return 131071&e|t<<17}(e[y+1],i)}else e[i+1]=sc(y,0),0!==y&&(e[y+1]=lc(e[y+1],i)),y=i;else e[i+1]=sc(b,0),0===y?y=i:e[b+1]=lc(e[b+1],i),b=i;A&&(e[i+1]=ac(e[i+1])),cy(e,B,i,!0),cy(e,B,i,!1),function t0(e,t,n,i,s){const u=s?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&_(u,t)>=0&&(n[i+1]=Er(n[i+1]))}(t,B,e,i,u),f=sc(y,b),u?t.classBindings=f:t.styleBindings=f}(s,u,t,n,f,i)}}function dm(e,t,n,i,s){let u=null;const f=n.directiveEnd;let y=n.directiveStylingLast;for(-1===y?y=n.directiveStart:y++;y<f&&(u=t[y],i=Zd(i,u.hostAttrs,s),u!==e);)y++;return null!==e&&(n.directiveStylingLast=y),i}function Zd(e,t,n){const i=n?1:2;let s=-1;if(null!==t)for(let u=0;u<t.length;u++){const f=t[u];"number"==typeof f?s=f:s===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Oi(e,f,!!n||t[++u]))}return void 0===e?null:e}function by(e,t,n,i,s,u,f,y){if(!(3&t.type))return;const b=e.data,A=b[y+1];Hh(function dh(e){return 1==(1&e)}(A)?Dy(b,t,n,s,$i(A),f):void 0)||(Hh(u)||function oa(e){return 2==(2&e)}(A)&&(u=Dy(b,null,n,s,y,f)),function So(e,t,n,i,s){if(t)s?e.addClass(n,i):e.removeClass(n,i);else{let u=-1===i.indexOf("-")?void 0:Pr.DashCase;null==s?e.removeStyle(n,i,u):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),u|=Pr.Important),e.setStyle(n,i,s,u))}}(i,f,Ri(ki(),n),s,u))}function Dy(e,t,n,i,s,u){const f=null===t;let y;for(;s>0;){const b=e[s],A=Array.isArray(b),B=A?b[1]:b,ee=null===B;let ye=n[s+1];ye===Un&&(ye=ee?xt:void 0);let Ue=ee?p(ye,i):B===i?ye:void 0;if(A&&!Hh(Ue)&&(Ue=p(b,i)),Hh(Ue)&&(y=Ue,f))return y;const at=e[s+1];s=f?vs(at):$i(at)}if(null!==t){let b=u?t.residualClasses:t.residualStyles;null!=b&&(y=p(b,i))}return y}function Hh(e){return void 0!==e}function Ey(e,t){return 0!=(e.flags&(t?16:32))}function My(e,t=""){const n=ft(),i=Fn(),s=e+22,u=i.firstCreatePass?_l(i,s,1,t,null):i.data[s],f=n[s]=function $u(e,t){return e.createText(t)}(n[11],t);Fl(i,n,f,u),O(u,!1)}function fm(e){return jh("",e,""),fm}function jh(e,t,n){const i=ft(),s=bc(i,e,t,n);return s!==Un&&function Ta(e,t,n){const i=Ri(t,e);!function hf(e,t,n){e.setValue(t,n)}(e[11],i,n)}(i,ki(),s),jh}function Ny(e,t,n){Oa(Oi,Ja,bc(ft(),e,t,n),!0)}function hm(e,t,n){const i=ft();return Rr(i,eo(),t)&&is(Fn(),De(),i,e,t,i[11],n,!0),hm}const Ou=void 0;var k0=["en",[["a","p"],["AM","PM"],Ou],[["AM","PM"],Ou,Ou],[["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"]],Ou,[["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"]],Ou,[["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}",Ou,"{1} 'at' {0}",Ou],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function F0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Ac={};function pm(e){const t=function L0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wy(t);if(n)return n;const i=t.split("-")[0];if(n=Wy(i),n)return n;if("en"===i)return k0;throw new tt(701,!1)}function Gy(e){return pm(e)[xn.PluralCase]}function Wy(e){return e in Ac||(Ac[e]=Ot.ng&&Ot.ng.common&&Ot.ng.common.locales&&Ot.ng.common.locales[e]),Ac[e]}var xn=(()=>((xn=xn||{})[xn.LocaleId=0]="LocaleId",xn[xn.DayPeriodsFormat=1]="DayPeriodsFormat",xn[xn.DayPeriodsStandalone=2]="DayPeriodsStandalone",xn[xn.DaysFormat=3]="DaysFormat",xn[xn.DaysStandalone=4]="DaysStandalone",xn[xn.MonthsFormat=5]="MonthsFormat",xn[xn.MonthsStandalone=6]="MonthsStandalone",xn[xn.Eras=7]="Eras",xn[xn.FirstDayOfWeek=8]="FirstDayOfWeek",xn[xn.WeekendRange=9]="WeekendRange",xn[xn.DateFormat=10]="DateFormat",xn[xn.TimeFormat=11]="TimeFormat",xn[xn.DateTimeFormat=12]="DateTimeFormat",xn[xn.NumberSymbols=13]="NumberSymbols",xn[xn.NumberFormats=14]="NumberFormats",xn[xn.CurrencyCode=15]="CurrencyCode",xn[xn.CurrencySymbol=16]="CurrencySymbol",xn[xn.CurrencyName=17]="CurrencyName",xn[xn.Currencies=18]="Currencies",xn[xn.Directionality=19]="Directionality",xn[xn.PluralCase=20]="PluralCase",xn[xn.ExtraData=21]="ExtraData",xn))();const Ic="en-US";let Yy=Ic;function _m(e,t,n,i,s){if(e=Oe(e),Array.isArray(e))for(let u=0;u<e.length;u++)_m(e[u],t,n,i,s);else{const u=Fn(),f=ft();let y=gl(e)?e:Oe(e.provide),b=Wf(e);const A=Sr(),B=1048575&A.providerIndexes,ee=A.directiveStart,ye=A.providerIndexes>>20;if(gl(e)||!e.multi){const Ue=new wo(b,s,Wl),at=vm(y,t,s?B:B+ye,ee);-1===at?(Rs(Is(A,f),u,y),ym(u,e,t.length),t.push(y),A.directiveStart++,A.directiveEnd++,s&&(A.providerIndexes+=1048576),n.push(Ue),f.push(Ue)):(n[at]=Ue,f[at]=Ue)}else{const Ue=vm(y,t,B+ye,ee),at=vm(y,t,B,B+ye),Tt=Ue>=0&&n[Ue],Lt=at>=0&&n[at];if(s&&!Lt||!s&&!Tt){Rs(Is(A,f),u,y);const Qt=function Nw(e,t,n,i,s){const u=new wo(e,n,Wl);return u.multi=[],u.index=t,u.componentProviders=0,yv(u,s,i&&!n),u}(s?Rw:Iw,n.length,s,i,b);!s&&Lt&&(n[at].providerFactory=Qt),ym(u,e,t.length,0),t.push(y),A.directiveStart++,A.directiveEnd++,s&&(A.providerIndexes+=1048576),n.push(Qt),f.push(Qt)}else ym(u,e,Ue>-1?Ue:at,yv(n[s?at:Ue],b,!s&&i));!s&&i&&Lt&&n[at].componentProviders++}}}function ym(e,t,n,i){const s=gl(t),u=function xp(e){return!!e.useClass}(t);if(s||u){const b=(u?Oe(t.useClass):t).prototype.ngOnDestroy;if(b){const A=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const B=A.indexOf(n);-1===B?A.push(n,[i,b]):A[B+1].push(i,b)}else A.push(n,b)}}}function yv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vm(e,t,n,i){for(let s=n;s<i;s++)if(t[s]===e)return s;return-1}function Iw(e,t,n,i){return Cm(this.multi,[])}function Rw(e,t,n,i){const s=this.multi;let u;if(this.providerFactory){const f=this.providerFactory.componentProviders,y=fs(n,n[1],this.providerFactory.index,i);u=y.slice(0,f),Cm(s,u);for(let b=f;b<y.length;b++)u.push(y[b])}else u=[],Cm(s,u);return u}function Cm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function vv(e,t=[]){return n=>{n.providersResolver=(i,s)=>function Aw(e,t,n){const i=Fn();if(i.firstCreatePass){const s=ct(e);_m(n,i.data,i.blueprint,s,!0),_m(t,i.data,i.blueprint,s,!1)}}(i,s?s(e):e,t)}}class Rc{}class Cv{}function Fw(e,t){return new wv(e,t??null)}class wv extends Rc{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qd(this);const i=U(t);this._bootstrapComponents=Ea(i.bootstrap),this._r3Injector=oh(t,n,[{provide:Rc,useValue:this},{provide:bu,useValue:this.componentFactoryResolver}],Ae(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((n=>n())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class wm extends Cv{constructor(t){super(),this.moduleType=t}create(t){return new wv(this.moduleType,t)}}class kw extends Rc{constructor(t,n,i){super(),this.componentFactoryResolver=new qd(this),this.instance=null;const s=new Gf([...t,{provide:Rc,useValue:this},{provide:bu,useValue:this.componentFactoryResolver}],n||Bl(),i,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function bm(e,t,n=null){return new kw(e,t,n).injector}let Lw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=Hf(0,n.type),s=i.length>0?bm([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.ɵprov=vr({token:e,providedIn:"environment",factory:()=>new e(Jr(qa))}),e})();function bv(e){e.getStandaloneInjector=t=>t.get(Lw).getOrCreateStandaloneInjector(e)}function Ov(e,t,n,i){return function Iv(e,t,n,i,s,u){const f=t+n;return Rr(e,f,s)?jn(e,f+1,u?i.call(u,s):i(s)):tf(e,f+1)}(ft(),_r(),e,t,n,i)}function xv(e,t,n,i,s){return function Rv(e,t,n,i,s,u,f){const y=t+n;return Xi(e,y,s,u)?jn(e,y+2,f?i.call(f,s,u):i(s,u)):tf(e,y+2)}(ft(),_r(),e,t,n,i,s)}function Av(e,t,n,i,s,u){return function Nv(e,t,n,i,s,u,f,y){const b=t+n;return function di(e,t,n,i,s){const u=Xi(e,t,n,i);return Rr(e,t+2,s)||u}(e,b,s,u,f)?jn(e,b+3,y?i.call(y,s,u,f):i(s,u,f)):tf(e,b+3)}(ft(),_r(),e,t,n,i,s,u)}function tf(e,t){const n=e[t];return n===Un?void 0:n}function Em(e){return t=>{setTimeout(e,void 0,t)}}const Xa=class sb extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let s=t,u=n||(()=>null),f=i;if(t&&"object"==typeof t){const b=t;s=b.next?.bind(b),u=b.error?.bind(b),f=b.complete?.bind(b)}this.__isAsync&&(u=Em(u),s&&(s=Em(s)),f&&(f=Em(f)));const y=super.subscribe({next:s,error:u,complete:f});return t instanceof v.w0&&t.add(y),y}};function ab(){return this._results[yt()]()}class Mm{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=yt(),i=Mm.prototype;i[n]||(i[n]=ab)}get changes(){return this._changes||(this._changes=new Xa)}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 s=ni(t);(this._changesDetected=!function Lc(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let s=e[i],u=t[i];if(n&&(s=n(s),u=n(u)),u!==s)return!1}return!0}(i._results,s,n))&&(i._results=s,i.length=s.length,i.last=s[this.length-1],i.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let rf=(()=>{class e{}return e.__NG_ELEMENT_ID__=cb,e})();const lb=rf,ub=class extends lb{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,s=hc(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const f=this._declarationLView[19];return null!==f&&(s[19]=f.createEmbeddedView(i)),Fd(i,s,t),new Tu(s)}};function cb(){return Yh(Sr(),ft())}function Yh(e,t){return 4&e.type?new ub(t,e,jl(e,t)):null}let qh=(()=>{class e{}return e.__NG_ELEMENT_ID__=db,e})();function db(){return Bv(Sr(),ft())}const fb=qh,Lv=class extends fb{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return jl(this._hostTNode,this._hostLView)}get injector(){return new Oo(this._hostTNode,this._hostLView)}get parentInjector(){const t=ka(this._hostTNode,this._hostLView);if(yr(t)){const n=Ei(t,this._hostLView),i=Lr(t);return new Oo(n[1].data[i+8],n)}return new Oo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Vv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-R}createEmbeddedView(t,n,i){let s,u;"number"==typeof i?s=i:null!=i&&(s=i.index,u=i.injector);const f=t.createEmbeddedView(n||{},u);return this.insert(f,s),f}createComponent(t,n,i,s,u){const f=t&&!function al(e){return"function"==typeof e}(t);let y;if(f)y=n;else{const ee=n||{};y=ee.index,i=ee.injector,s=ee.projectableNodes,u=ee.environmentInjector||ee.ngModuleRef}const b=f?t:new Pu(ln(t)),A=i||this.parentInjector;if(!u&&null==b.ngModule){const ye=(f?A:this.parentInjector).get(qa,null);ye&&(u=ye)}const B=b.create(A,s,void 0,u);return this.insert(B.hostView,y),B}insert(t,n){const i=t._lView,s=i[1];if(function zs(e){return ie(e[3])}(i)){const B=this.indexOf(t);if(-1!==B)this.detach(B);else{const ee=i[3],ye=new Lv(ee,ee[6],ee[3]);ye.detach(ye.indexOf(t))}}const u=this._adjustIndex(n),f=this._lContainer;!function zu(e,t,n,i){const s=R+i,u=n.length;i>0&&(n[s-1][4]=t),i<u-R?(t[4]=n[s],ma(n,R+i,t)):(n.push(t),t[4]=null),t[3]=n;const f=t[17];null!==f&&n!==f&&function _f(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(f,t);const y=t[19];null!==y&&y.insertView(e),t[2]|=64}(s,i,f,u);const y=wn(u,f),b=i[11],A=Yu(b,f[7]);return null!==A&&function op(e,t,n,i,s,u){i[0]=s,i[6]=t,Vs(e,i,n,1,s,u)}(s,f[6],b,i,A,y),t.attachToViewContainerRef(),ma(Sm(f),u,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Vv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=hu(this._lContainer,n);i&&(Ua(Sm(this._lContainer),n),pu(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=hu(this._lContainer,n);return i&&null!=Ua(Sm(this._lContainer),n)?new Tu(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Vv(e){return e[8]}function Sm(e){return e[8]||(e[8]=[])}function Bv(e,t){let n;const i=t[e.index];if(ie(i))n=i;else{let s;if(8&e.type)s=lr(i);else{const u=t[11];s=u.createComment("");const f=ur(e,t);dl(u,Yu(u,f),s,function Cf(e,t){return e.nextSibling(t)}(u,f),!1)}t[e.index]=n=xh(i,t,s,e),mc(t,n)}return new Lv(n,e,t)}class Tm{constructor(t){this.queryList=t,this.matches=null}clone(){return new Tm(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,s=[];for(let u=0;u<i;u++){const f=n.getByIndex(u);s.push(this.queries[f.indexInDeclarationView].clone())}return new Pm(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==qv(t,n).matches&&this.queries[n].setDirty()}}class Uv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Om{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 s=null!==n?n.length:0,u=this.getByIndex(i).embeddedTView(t,s);u&&(u.indexInDeclarationView=i,null!==n?n.push(u):n=[u])}return null!==n?new Om(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 xm{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 xm(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 s=0;s<i.length;s++){const u=i[s];this.matchTNodeWithReadOption(t,n,gb(n,u)),this.matchTNodeWithReadOption(t,n,Ys(n,t,u,!1,!1))}else i===rf?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ys(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const s=this.metadata.read;if(null!==s)if(s===Du||s===qh||s===rf&&4&n.type)this.addMatch(n.index,-2);else{const u=Ys(n,t,s,!1,!1);null!==u&&this.addMatch(n.index,u)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function gb(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 _b(e,t,n,i){return-1===n?function mb(e,t){return 11&e.type?jl(e,t):4&e.type?Yh(e,t):null}(t,e):-2===n?function yb(e,t,n){return n===Du?jl(t,e):n===rf?Yh(t,e):n===qh?Bv(t,e):void 0}(e,t,i):fs(e,e[1],n,t)}function Hv(e,t,n,i){const s=t[19].queries[i];if(null===s.matches){const u=e.data,f=n.matches,y=[];for(let b=0;b<f.length;b+=2){const A=f[b];y.push(A<0?null:_b(t,u[A],f[b+1],n.metadata.read))}s.matches=y}return s.matches}function Am(e,t,n,i){const s=e.queries.getByIndex(n),u=s.matches;if(null!==u){const f=Hv(e,t,s,n);for(let y=0;y<u.length;y+=2){const b=u[y];if(b>0)i.push(f[y/2]);else{const A=u[y+1],B=t[-b];for(let ee=R;ee<B.length;ee++){const ye=B[ee];ye[17]===ye[3]&&Am(ye[1],ye,A,i)}if(null!==B[9]){const ee=B[9];for(let ye=0;ye<ee.length;ye++){const Ue=ee[ye];Am(Ue[1],Ue,A,i)}}}}}return i}function jv(e){const t=ft(),n=Fn(),i=vo();Ps(i+1);const s=qv(n,i);if(e.dirty&&function lo(e){return 4==(4&e[2])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const u=s.crossesNgTemplate?Am(n,t,i,[]):Hv(n,t,s,i);e.reset(u,Hp),e.notifyOnChanges()}return!0}return!1}function $v(e,t,n){const i=Fn();i.firstCreatePass&&(Yv(i,new Uv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Wv(i,ft(),t)}function zv(e,t,n,i){const s=Fn();if(s.firstCreatePass){const u=Sr();Yv(s,new Uv(t,n,i),u.index),function Cb(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Wv(s,ft(),n)}function Gv(){return function vb(e,t){return e[19].queries[t].queryList}(ft(),vo())}function Wv(e,t,n){const i=new Mm(4==(4&n));wh(e,t,i,i.destroy),null===t[19]&&(t[19]=new Pm),t[19].queries.push(new Tm(i))}function Yv(e,t,n){null===e.queries&&(e.queries=new Om),e.queries.track(new xm(t,n))}function qv(e,t){return e.queries.getByIndex(t)}function Zv(e,t){return Yh(e,t)}function Kh(...e){}const pC=new qt("Application Initializer");let Qh=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Kh,this.reject=Kh,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((i,s)=>{this.resolve=i,this.reject=s}))}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const u=this.appInits[s]();if(am(u))n.push(u);else if(q_(u)){const f=new Promise(((y,b)=>{u.subscribe({complete:y,error:b})}));n.push(f)}}Promise.all(n).then((()=>{i()})).catch((s=>{this.reject(s)})),0===n.length&&i(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(Jr(pC,8))},e.ɵprov=vr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const gC=new qt("AppId",{providedIn:"root",factory:function mC(){return`${km()}${km()}${km()}`}});function km(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const _C=new qt("Platform Initializer"),Ub=new qt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),yC=new qt("appBootstrapListener"),Hb=new qt("AnimationModuleType");let jb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=vr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const Jh=new qt("LocaleId",{providedIn:"root",factory:()=>Ru(Jh,Re.Optional|Re.SkipSelf)||function $b(){return typeof $localize<"u"&&$localize.locale||Ic}()}),zb=new qt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Gb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Wb=(()=>{class e{compileModuleSync(n){return new wm(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),u=Ea(U(n).declarations).reduce(((f,y)=>{const b=ln(y);return b&&f.push(new Pu(b)),f}),[]);return new Gb(i,u)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=vr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Zb=(()=>Promise.resolve(0))();function Lm(e){typeof Zone>"u"?Zb.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class sa{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Xa(!1),this.onMicrotaskEmpty=new Xa(!1),this.onStable=new Xa(!1),this.onError=new Xa(!1),typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const s=this;if(s._nesting=0,s._outer=s._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const u=Zone.AsyncStackTaggingZoneSpec;s._inner=s._inner.fork(new u("Angular"))}Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function Kb(){let e=Ot.requestAnimationFrame,t=Ot.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 Xb(e){const t=()=>{!function Jb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ot,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Bm(e),e.isCheckStableRunning=!0,Vm(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Bm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,u,f,y)=>{try{return wC(e),n.invokeTask(s,u,f,y)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),bC(e)}},onInvoke:(n,i,s,u,f,y,b)=>{try{return wC(e),n.invoke(s,u,f,y,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),bC(e)}},onHasTask:(n,i,s,u)=>{n.hasTask(s,u),i===s&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Bm(e),Vm(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,i,s,u)=>(n.handleError(s,u),e.runOutsideAngular((()=>e.onError.emit(u))),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!sa.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(sa.isInAngularZone())throw new tt(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,s){const u=this._inner,f=u.scheduleEventTask("NgZoneEvent: "+s,t,Qb,Kh,Kh);try{return u.runTask(f,n,i)}finally{u.cancelTask(f)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Qb={};function Vm(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 Bm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function wC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bC(e){e._nesting--,Vm(e)}class eD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xa,this.onMicrotaskEmpty=new Xa,this.onStable=new Xa,this.onError=new Xa}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,s){return t.apply(n,i)}}const DC=new qt(""),EC=new qt("");let Um,tD=(()=>{class e{constructor(n,i,s){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Um||(function nD(e){Um=e}(s),s.addToWindow(i)),this._watchAngularEvents(),n.run((()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{sa.assertNotInAngularZone(),Lm((()=>{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())Lm((()=>{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,s){let u=-1;i&&i>0&&(u=setTimeout((()=>{this._callbacks=this._callbacks.filter((f=>f.timeoutId!==u)),n(this._didWork,this.getPendingTasks())}),i)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:s})}whenStable(n,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,s){return[]}}return e.ɵfac=function(n){return new(n||e)(Jr(sa),Jr(MC),Jr(EC))},e.ɵprov=vr({token:e,factory:e.ɵfac}),e})(),MC=(()=>{class e{constructor(){this._applications=new Map}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 Um?.findTestabilityInTree(this,n,i)??null}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=vr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})(),Zl=null;const SC=new qt("AllowMultipleToken"),Hm=new qt("PlatformDestroyListeners");class oD{constructor(t,n){this.name=t,this.token=n}}function PC(e,t,n=[]){const i=`Platform: ${t}`,s=new qt(i);return(u=[])=>{let f=jm();if(!f||f.injector.get(SC,!1)){const y=[...n,...u,{provide:s,useValue:!0}];e?e(y):function sD(e){if(Zl&&!Zl.get(SC,!1))throw new tt(400,!1);Zl=e;const t=e.get(xC);(function TC(e){const t=e.get(_C,null);t&&t.forEach((n=>n()))})(e)}(function OC(e=[],t){return ji.create({name:t,providers:[{provide:dd,useValue:"platform"},{provide:Hm,useValue:new Set([()=>Zl=null])},...e]})}(y,i))}return function lD(e){const t=jm();if(!t)throw new tt(401,!1);return t}()}}function jm(){return Zl?.get(xC)??null}let xC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const s=function IC(e,t){let n;return n="noop"===e?new eD:("zone.js"===e?void 0:e)||new sa(t),n}(i?.ngZone,function AC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),u=[{provide:sa,useValue:s}];return s.run((()=>{const f=ji.create({providers:u,parent:this.injector,name:n.moduleType.name}),y=n.create(f),b=y.injector.get(Za,null);if(!b)throw new tt(402,!1);return s.runOutsideAngular((()=>{const A=s.onError.subscribe({next:B=>{b.handleError(B)}});y.onDestroy((()=>{ep(this._modules,y),A.unsubscribe()}))})),function RC(e,t,n){try{const i=n();return am(i)?i.catch((s=>{throw t.runOutsideAngular((()=>e.handleError(s))),s})):i}catch(i){throw t.runOutsideAngular((()=>e.handleError(i))),i}}(b,s,(()=>{const A=y.injector.get(Qh);return A.runInitializers(),A.donePromise.then((()=>(function qy(e){zn(e,"Expected localeId to be defined"),"string"==typeof e&&(Yy=e.toLowerCase().replace(/_/g,"-"))}(y.injector.get(Jh,Ic)||Ic),this._moduleDoBootstrap(y),y)))}))}))}bootstrapModule(n,i=[]){const s=NC({},i);return function rD(e,t,n){const i=new wm(n);return Promise.resolve(i)}(0,0,n).then((u=>this.bootstrapModuleFactory(u,s)))}_moduleDoBootstrap(n){const i=n.injector.get(Xh);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((s=>i.bootstrap(s)));else{if(!n.instance.ngDoBootstrap)throw new tt(403,!1);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 tt(404,!1);this._modules.slice().forEach((i=>i.destroy())),this._destroyListeners.forEach((i=>i()));const n=this._injector.get(Hm,null);n&&(n.forEach((i=>i())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(Jr(ji))},e.ɵprov=vr({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function NC(e,t){return Array.isArray(t)?t.reduce(NC,e):{...e,...t}}let Xh=(()=>{class e{constructor(n,i,s){this._zone=n,this._injector=i,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const u=new z.y((y=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{y.next(this._stable),y.complete()}))})),f=new z.y((y=>{let b;this._zone.runOutsideAngular((()=>{b=this._zone.onStable.subscribe((()=>{sa.assertNotInAngularZone(),Lm((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,y.next(!0))}))}))}));const A=this._zone.onUnstable.subscribe((()=>{sa.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{y.next(!1)})))}));return()=>{b.unsubscribe(),A.unsubscribe()}}));this.isStable=(0,X.T)(u,f.pipe(function ve(e={}){const{connector:t=(()=>new o.x),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:s=!0}=e;return u=>{let f=null,y=null,b=null,A=0,B=!1,ee=!1;const ye=()=>{y?.unsubscribe(),y=null},Ue=()=>{ye(),f=b=null,B=ee=!1},at=()=>{const Tt=f;Ue(),Tt?.unsubscribe()};return(0,ue.e)(((Tt,Lt)=>{A++,!ee&&!B&&ye();const Qt=b=b??t();Lt.add((()=>{A--,0===A&&!ee&&!B&&(y=q(at,s))})),Qt.subscribe(Lt),f||(f=new re.Hp({next:pn=>Qt.next(pn),error:pn=>{ee=!0,ye(),y=q(Ue,n,pn),Qt.error(pn)},complete:()=>{B=!0,ye(),y=q(Ue,i),Qt.complete()}}),(0,K.D)(Tt).subscribe(f))}))(u)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const s=n instanceof qf;if(!this._injector.get(Qh).done)throw!s&&Y(n),new tt(405,false);let f;f=s?n:this._injector.get(bu).resolveComponentFactory(n),this.componentTypes.push(f.componentType);const y=function iD(e){return e.isBoundToModule}(f)?void 0:this._injector.get(Rc),A=f.create(ji.NULL,[],i||f.selector,y),B=A.location.nativeElement,ee=A.injector.get(DC,null);return ee?.registerApplication(B),A.onDestroy((()=>{this.detachView(A.hostView),ep(this.components,A),ee?.unregisterApplication(B)})),this._loadComponent(A),A}tick(){if(this._runningTick)throw new tt(101,!1);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;ep(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(yC,[]).concat(this._bootstrapListeners).forEach((s=>s(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ep(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new tt(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.ɵfac=function(n){return new(n||e)(Jr(sa),Jr(qa),Jr(Za))},e.ɵprov=vr({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function ep(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let kC=!0,LC=!1;function cD(){return LC=!0,kC}function dD(){if(LC)throw new Error("Cannot enable prod mode after platform setup.");kC=!1}let fD=(()=>{class e{}return e.__NG_ELEMENT_ID__=hD,e})();function hD(e){return function pD(e,t,n){if(We(e)&&!n){const i=$r(e.index,t);return new Tu(i,i)}return 47&e.type?new Tu(t[16],t):null}(Sr(),ft(),16==(16&e))}class HC{constructor(){}supports(t){return rn(t)}create(t){return new CD(t)}}const vD=(e,t)=>t;class CD{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||vD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,s=0,u=null;for(;n||i;){const f=!i||n&&n.currentIndex<$C(i,s,u)?n:i,y=$C(f,s,u),b=f.currentIndex;if(f===i)s--,i=i._nextRemoved;else if(n=n._next,null==f.previousIndex)s++;else{u||(u=[]);const A=y-s,B=b-s;if(A!=B){for(let ye=0;ye<A;ye++){const Ue=ye<u.length?u[ye]:u[ye]=0,at=Ue+ye;B<=at&&at<A&&(u[ye]=Ue+1)}u[f.previousIndex]=B-A}}y!==b&&t(f,y,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=[]),!rn(t))throw new tt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,u,f,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let y=0;y<this.length;y++)u=t[y],f=this._trackByFn(y,u),null!==n&&Object.is(n.trackById,f)?(i&&(n=this._verifyReinsertion(n,u,f,y)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,f,y),i=!0),n=n._next}else s=0,function Qn(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[yt()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,(y=>{f=this._trackByFn(s,y),null!==n&&Object.is(n.trackById,f)?(i&&(n=this._verifyReinsertion(n,y,f,s)),Object.is(n.item,y)||this._addIdentityChange(n,y)):(n=this._mismatch(n,y,f,s),i=!0),n=n._next,s++})),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,s){let u;return null===t?u=this._itTail:(u=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,u,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,s)):t=this._addAfter(new wD(n,i),u,s),t}_verifyReinsertion(t,n,i,s){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==u?t=this._reinsertAfter(u,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,u=t._nextRemoved;return null===s?this._removalsHead=u:s._nextRemoved=u,null===u?this._removalsTail=s:u._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new jC),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 jC),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 wD{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 bD{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 jC{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new bD,this.map.set(n,i)),i.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $C(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+t+s}class zC{constructor(){}supports(t){return t instanceof Map||En(t)}create(){return new DD}}class DD{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||En(t)))throw new tt(900,!1)}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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(s,i);n=this._insertBeforeOrAppend(n,u)}})),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 s=this._records.get(t);this._maybeAddToChanges(s,n);const u=s._prev,f=s._next;return u&&(u._next=f),f&&(f._prev=u),s._next=null,s._prev=null,s}const i=new ED(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 ED{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 GC(){return new Ym([new HC])}let Ym=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||GC()),deps:[[e,new c,new va]]}}find(n){const i=this.factories.find((s=>s.supports(n)));if(null!=i)return i;throw new tt(901,!1)}}return e.ɵprov=vr({token:e,providedIn:"root",factory:GC}),e})();function WC(){return new qm([new zC])}let qm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||WC()),deps:[[e,new c,new va]]}}find(n){const i=this.factories.find((s=>s.supports(n)));if(i)return i;throw new tt(901,!1)}}return e.ɵprov=vr({token:e,providedIn:"root",factory:WC}),e})();const TD=PC(null,"core",[]);let PD=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(Jr(Xh))},e.ɵmod=gr({type:e}),e.ɵinj=Hr({}),e})();function OD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(xe,J,P)=>{"use strict";P.d(J,{Wl:()=>Oe,Fj:()=>qe,u5:()=>Fi,JU:()=>ce,JJ:()=>fe,On:()=>Qr});var o=P(1571),v=P(6895),z=P(2076),X=P(9751),K=P(4742),pe=P(8421),re=P(3269),ue=P(5403),ve=P(3268),q=P(1810),Se=P(4004);let Ae=(()=>{class O{constructor(E,H){this._renderer=E,this._elementRef=H,this.onChange=Ke=>{},this.onTouched=()=>{}}setProperty(E,H){this._renderer.setProperty(this._elementRef.nativeElement,E,H)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}}return O.ɵfac=function(E){return new(E||O)(o.Y36(o.Qsj),o.Y36(o.SBq))},O.ɵdir=o.lG2({type:O}),O})(),Le=(()=>{class O extends Ae{}return O.ɵfac=function(){let T;return function(H){return(T||(T=o.n5z(O)))(H||O)}}(),O.ɵdir=o.lG2({type:O,features:[o.qOj]}),O})();const ce=new o.OlP("NgValueAccessor"),Xe={provide:ce,useExisting:(0,o.Gpc)((()=>Oe)),multi:!0};let Oe=(()=>{class O extends Le{writeValue(E){this.setProperty("checked",E)}}return O.ɵfac=function(){let T;return function(H){return(T||(T=o.n5z(O)))(H||O)}}(),O.ɵdir=o.lG2({type:O,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(E,H){1&E&&o.NdJ("change",(function(Wt){return H.onChange(Wt.target.checked)}))("blur",(function(){return H.onTouched()}))},features:[o._Bn([Xe]),o.qOj]}),O})();const $e={provide:ce,useExisting:(0,o.Gpc)((()=>qe)),multi:!0},tt=new o.OlP("CompositionEventMode");let qe=(()=>{class O extends Ae{constructor(E,H,Ke){super(E,H),this._compositionMode=Ke,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function et(){const O=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(O.toLowerCase())}())}writeValue(E){this.setProperty("value",E??"")}_handleInput(E){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(E)}_compositionStart(){this._composing=!0}_compositionEnd(E){this._composing=!1,this._compositionMode&&this.onChange(E)}}return O.ɵfac=function(E){return new(E||O)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(tt,8))},O.ɵdir=o.lG2({type:O,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(E,H){1&E&&o.NdJ("input",(function(Wt){return H._handleInput(Wt.target.value)}))("blur",(function(){return H.onTouched()}))("compositionstart",(function(){return H._compositionStart()}))("compositionend",(function(Wt){return H._compositionEnd(Wt.target.value)}))},features:[o._Bn([$e]),o.qOj]}),O})();const bt=new o.OlP("NgValidators"),mt=new o.OlP("NgAsyncValidators");function ir(O){return null!=O}function Sn(O){return(0,o.QGY)(O)?(0,z.D)(O):O}function Or(O){let T={};return O.forEach((E=>{T=null!=E?{...T,...E}:T})),0===Object.keys(T).length?null:T}function zn(O,T){return T.map((E=>E(O)))}function or(O){return O.map((T=>function an(O){return!O.validate}(T)?T:E=>T.validate(E)))}function zr(O){return null!=O?function Gn(O){if(!O)return null;const T=O.filter(ir);return 0==T.length?null:function(E){return Or(zn(E,T))}}(or(O)):null}function Ai(O){return null!=O?function vr(O){if(!O)return null;const T=O.filter(ir);return 0==T.length?null:function(E){return function oe(...O){const T=(0,re.jO)(O),{args:E,keys:H}=(0,K.D)(O),Ke=new X.y((Wt=>{const{length:Dr}=E;if(!Dr)return void Wt.complete();const _r=new Array(Dr);let Di=Dr,Xo=Dr;for(let eo=0;eo<Dr;eo++){let Pi=!1;(0,pe.Xf)(E[eo]).subscribe(new ue.Q(Wt,(es=>{Pi||(Pi=!0,Xo--),_r[eo]=es}),(()=>Di--),void 0,(()=>{(!Di||!Pi)&&(Xo||Wt.next(H?(0,q.n)(H,_r):_r),Wt.complete())})))}}));return T?Ke.pipe((0,ve.Z)(T)):Ke}(zn(E,T).map(Sn)).pipe((0,Se.U)(Or))}}(or(O)):null}function Hr(O,T){return null===O?[T]:Array.isArray(O)?[...O,T]:[O,T]}function Zr(O){return O?Array.isArray(O)?O:[O]:[]}function Xr(O,T){return Array.isArray(O)?O.includes(T):O===T}function Cr(O,T){const E=Zr(T);return Zr(O).forEach((Ke=>{Xr(E,Ke)||E.push(Ke)})),E}function Gt(O,T){return Zr(T).filter((E=>!Xr(O,E)))}class Kr{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(T){this._rawValidators=T||[],this._composedValidatorFn=zr(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=Ai(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((T=>T())),this._onDestroyCallbacks=[]}reset(T){this.control&&this.control.reset(T)}hasError(T,E){return!!this.control&&this.control.hasError(T,E)}getError(T,E){return this.control?this.control.getError(T,E):null}}class sr extends Kr{get formDirective(){return null}get path(){return null}}class de extends Kr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let fe=(()=>{class O extends class Ve{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}{constructor(E){super(E)}}return O.ɵfac=function(E){return new(E||O)(o.Y36(de,2))},O.ɵdir=o.lG2({type:O,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(E,H){2&E&&o.ekj("ng-untouched",H.isUntouched)("ng-touched",H.isTouched)("ng-pristine",H.isPristine)("ng-dirty",H.isDirty)("ng-valid",H.isValid)("ng-invalid",H.isInvalid)("ng-pending",H.isPending)},features:[o.qOj]}),O})();const Nt="VALID",yn="INVALID",Rt="PENDING",hn="DISABLED";function gr(O){return Array.isArray(O)?zr(O):O||null}function Wn(O){return Array.isArray(O)?Ai(O):O||null}function Nn(O){return null!=O&&!Array.isArray(O)&&"object"==typeof O}function Bt(O,T){(function vt(O,T){const E=function Nr(O){return O._rawValidators}(O);null!==T.validator?O.setValidators(Hr(E,T.validator)):"function"==typeof E&&O.setValidators([E]);const H=function pr(O){return O._rawAsyncValidators}(O);null!==T.asyncValidator?O.setAsyncValidators(Hr(H,T.asyncValidator)):"function"==typeof H&&O.setAsyncValidators([H]);const Ke=()=>O.updateValueAndValidity();Et(T._rawValidators,Ke),Et(T._rawAsyncValidators,Ke)})(O,T),T.valueAccessor.writeValue(O.value),O.disabled&&T.valueAccessor.setDisabledState?.(!0),function zt(O,T){T.valueAccessor.registerOnChange((E=>{O._pendingValue=E,O._pendingChange=!0,O._pendingDirty=!0,"change"===O.updateOn&&Mt(O,T)}))}(O,T),function tn(O,T){const E=(H,Ke)=>{T.valueAccessor.writeValue(H),Ke&&T.viewToModelUpdate(H)};O.registerOnChange(E),T._registerOnDestroy((()=>{O._unregisterOnChange(E)}))}(O,T),function Ut(O,T){T.valueAccessor.registerOnTouched((()=>{O._pendingTouched=!0,"blur"===O.updateOn&&O._pendingChange&&Mt(O,T),"submit"!==O.updateOn&&O.markAsTouched()}))}(O,T),function ze(O,T){if(T.valueAccessor.setDisabledState){const E=H=>{T.valueAccessor.setDisabledState(H)};O.registerOnDisabledChange(E),T._registerOnDestroy((()=>{O._unregisterOnDisabledChange(E)}))}}(O,T)}function Et(O,T){O.forEach((E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(T)}))}function Mt(O,T){O._pendingDirty&&O.markAsDirty(),O.setValue(O._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(O._pendingValue),O._pendingChange=!1}function ei(O,T){const E=O.indexOf(T);E>-1&&O.splice(E,1)}function dr(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}const bn={provide:de,useExisting:(0,o.Gpc)((()=>Qr))},Fr=(()=>Promise.resolve())();let Qr=(()=>{class O extends de{constructor(E,H,Ke,Wt,Dr){super(),this._changeDetectorRef=Dr,this.control=new class extends class we{constructor(T,E){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=T,this._rawAsyncValidators=E,this._composedValidatorFn=gr(this._rawValidators),this._composedAsyncValidatorFn=Wn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===Nt}get invalid(){return this.status===yn}get pending(){return this.status==Rt}get disabled(){return this.status===hn}get enabled(){return this.status!==hn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._rawValidators=T,this._composedValidatorFn=gr(T)}setAsyncValidators(T){this._rawAsyncValidators=T,this._composedAsyncValidatorFn=Wn(T)}addValidators(T){this.setValidators(Cr(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(Cr(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(Gt(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(Gt(T,this._rawAsyncValidators))}hasValidator(T){return Xr(this._rawValidators,T)}hasAsyncValidator(T){return Xr(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((T=>T.markAllAsTouched()))}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((E=>{E.markAsUntouched({onlySelf:!0})})),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((E=>{E.markAsPristine({onlySelf:!0})})),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=Rt,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const E=this._parentMarkedDirty(T.onlySelf);this.status=hn,this.errors=null,this._forEachChild((H=>{H.disable({...T,onlySelf:!0})})),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:E}),this._onDisabledChange.forEach((H=>H(!0)))}enable(T={}){const E=this._parentMarkedDirty(T.onlySelf);this.status=Nt,this._forEachChild((H=>{H.enable({...T,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:E}),this._onDisabledChange.forEach((H=>H(!1)))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Nt||this.status===Rt)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild((E=>E._updateTreeValidity(T))),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hn:Nt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=Rt,this._hasOwnPendingAsyncValidator=!0;const E=Sn(this.asyncValidator(this));this._asyncValidationSubscription=E.subscribe((H=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(H,{emitEvent:T})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,E={}){this.errors=T,this._updateControlsErrors(!1!==E.emitEvent)}get(T){let E=T;return null==E||(Array.isArray(E)||(E=E.split(".")),0===E.length)?null:E.reduce(((H,Ke)=>H&&H._find(Ke)),this)}getError(T,E){const H=E?this.get(E):this;return H&&H.errors?H.errors[T]:null}hasError(T,E){return!!this.getError(T,E)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?hn:this.errors?yn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Rt)?Rt:this._anyControlsHaveStatus(yn)?yn:Nt}_anyControlsHaveStatus(T){return this._anyControls((E=>E.status===T))}_anyControlsDirty(){return this._anyControls((T=>T.dirty))}_anyControlsTouched(){return this._anyControls((T=>T.touched))}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){Nn(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}}{constructor(T=null,E,H){super(function on(O){return(Nn(O)?O.validators:O)||null}(E),function wr(O,T){return(Nn(T)?T.asyncValidators:O)||null}(H,E)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Nn(E)&&(E.nonNullable||E.initialValueIsDefault)&&(this.defaultValue=dr(T)?T.value:T)}setValue(T,E={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach((H=>H(this.value,!1!==E.emitViewToModelChange))),this.updateValueAndValidity(E)}patchValue(T,E={}){this.setValue(T,E)}reset(T=this.defaultValue,E={}){this._applyFormState(T),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){ei(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){ei(this._onDisabledChange,T)}_forEachChild(T){}_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(T){dr(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},this._registered=!1,this.update=new o.vpe,this._parent=E,this._setValidators(H),this._setAsyncValidators(Ke),this.valueAccessor=function vn(O,T){if(!T)return null;let E,H,Ke;return Array.isArray(T),T.forEach((Wt=>{Wt.constructor===qe?E=Wt:function ar(O){return Object.getPrototypeOf(O.constructor)===Le}(Wt)?H=Wt:Ke=Wt})),Ke||H||E||null}(0,Wt)}ngOnChanges(E){if(this._checkForErrors(),!this._registered||"name"in E){if(this._registered&&(this._checkName(),this.formDirective)){const H=E.name.previousValue;this.formDirective.removeControl({name:H,path:this._getPath(H)})}this._setUpControl()}"isDisabled"in E&&this._updateDisabled(E),function Mr(O,T){if(!O.hasOwnProperty("model"))return!1;const E=O.model;return!!E.isFirstChange()||!Object.is(T,E.currentValue)}(E,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Bt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(E){Fr.then((()=>{this.control.setValue(E,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(E){const H=E.isDisabled.currentValue,Ke=0!==H&&(0,o.D6c)(H);Fr.then((()=>{Ke&&!this.control.disabled?this.control.disable():!Ke&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(E){return this._parent?function it(O,T){return[...T.path,O]}(E,this._parent):[E]}}return O.ɵfac=function(E){return new(E||O)(o.Y36(sr,9),o.Y36(bt,10),o.Y36(mt,10),o.Y36(ce,10),o.Y36(o.sBO,8))},O.ɵdir=o.lG2({type:O,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([bn]),o.qOj,o.TTD]}),O})(),Ro=(()=>{class O{}return O.ɵfac=function(E){return new(E||O)},O.ɵmod=o.oAB({type:O}),O.ɵinj=o.cJS({}),O})(),Ms=(()=>{class O{}return O.ɵfac=function(E){return new(E||O)},O.ɵmod=o.oAB({type:O}),O.ɵinj=o.cJS({imports:[Ro]}),O})(),Fi=(()=>{class O{}return O.ɵfac=function(E){return new(E||O)},O.ɵmod=o.oAB({type:O}),O.ɵinj=o.cJS({imports:[Ms]}),O})()},1481:(xe,J,P)=>{"use strict";P.d(J,{Dx:()=>fe,b2:()=>sr,q6:()=>Xr,se:()=>be});var o=P(6895),v=P(1571);class z extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class X extends z{static makeCurrent(){(0,o.HT)(new X)}onAndCancel(ae,Y,U){return ae.addEventListener(Y,U,!1),()=>{ae.removeEventListener(Y,U,!1)}}dispatchEvent(ae,Y){ae.dispatchEvent(Y)}remove(ae){ae.parentNode&&ae.parentNode.removeChild(ae)}createElement(ae,Y){return(Y=Y||this.getDefaultDocument()).createElement(ae)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ae){return ae.nodeType===Node.ELEMENT_NODE}isShadowRoot(ae){return ae instanceof DocumentFragment}getGlobalEventTarget(ae,Y){return"window"===Y?window:"document"===Y?ae:"body"===Y?ae.body:null}getBaseHref(ae){const Y=function pe(){return K=K||document.querySelector("base"),K?K.getAttribute("href"):null}();return null==Y?null:function ue(we){re=re||document.createElement("a"),re.setAttribute("href",we);const ae=re.pathname;return"/"===ae.charAt(0)?ae:`/${ae}`}(Y)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(ae){return(0,o.Mx)(document.cookie,ae)}}let re,K=null;const ve=new v.OlP("TRANSITION_ID"),oe=[{provide:v.ip1,useFactory:function q(we,ae,Y){return()=>{Y.get(v.CZH).donePromise.then((()=>{const U=(0,o.q)(),ne=ae.querySelectorAll(`style[ng-transition="${we}"]`);for(let Fe=0;Fe<ne.length;Fe++)U.remove(ne[Fe])}))}},deps:[ve,o.K0,v.zs3],multi:!0}];let Ae=(()=>{class we{build(){return new XMLHttpRequest}}return we.ɵfac=function(Y){return new(Y||we)},we.ɵprov=v.Yz7({token:we,factory:we.ɵfac}),we})();const Le=new v.OlP("EventManagerPlugins");let ce=(()=>{class we{constructor(Y,U){this._zone=U,this._eventNameToPlugin=new Map,Y.forEach((ne=>ne.manager=this)),this._plugins=Y.slice().reverse()}addEventListener(Y,U,ne){return this._findPluginFor(U).addEventListener(Y,U,ne)}addGlobalEventListener(Y,U,ne){return this._findPluginFor(U).addGlobalEventListener(Y,U,ne)}getZone(){return this._zone}_findPluginFor(Y){const U=this._eventNameToPlugin.get(Y);if(U)return U;const ne=this._plugins;for(let Fe=0;Fe<ne.length;Fe++){const it=ne[Fe];if(it.supports(Y))return this._eventNameToPlugin.set(Y,it),it}throw new Error(`No event manager plugin found for event ${Y}`)}}return we.ɵfac=function(Y){return new(Y||we)(v.LFG(Le),v.LFG(v.R0b))},we.ɵprov=v.Yz7({token:we,factory:we.ɵfac}),we})();class Xe{constructor(ae){this._doc=ae}addGlobalEventListener(ae,Y,U){const ne=(0,o.q)().getGlobalEventTarget(this._doc,ae);if(!ne)throw new Error(`Unsupported event target ${ne} for event ${Y}`);return this.addEventListener(ne,Y,U)}}let Oe=(()=>{class we{constructor(){this._stylesSet=new Set}addStyles(Y){const U=new Set;Y.forEach((ne=>{this._stylesSet.has(ne)||(this._stylesSet.add(ne),U.add(ne))})),this.onStylesAdded(U)}onStylesAdded(Y){}getAllStyles(){return Array.from(this._stylesSet)}}return we.ɵfac=function(Y){return new(Y||we)},we.ɵprov=v.Yz7({token:we,factory:we.ɵfac}),we})(),$e=(()=>{class we extends Oe{constructor(Y){super(),this._doc=Y,this._hostNodes=new Map,this._hostNodes.set(Y.head,[])}_addStylesToHost(Y,U,ne){Y.forEach((Fe=>{const it=this._doc.createElement("style");it.textContent=Fe,ne.push(U.appendChild(it))}))}addHost(Y){const U=[];this._addStylesToHost(this._stylesSet,Y,U),this._hostNodes.set(Y,U)}removeHost(Y){const U=this._hostNodes.get(Y);U&&U.forEach(et),this._hostNodes.delete(Y)}onStylesAdded(Y){this._hostNodes.forEach(((U,ne)=>{this._addStylesToHost(Y,ne,U)}))}ngOnDestroy(){this._hostNodes.forEach((Y=>Y.forEach(et)))}}return we.ɵfac=function(Y){return new(Y||we)(v.LFG(o.K0))},we.ɵprov=v.Yz7({token:we,factory:we.ɵfac}),we})();function et(we){(0,o.q)().remove(we)}const tt={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/"},qe=/%COMP%/g;function Q(we,ae,Y){for(let U=0;U<ae.length;U++){let ne=ae[U];Array.isArray(ne)?Q(we,ne,Y):(ne=ne.replace(qe,we),Y.push(ne))}return Y}function me(we){return ae=>{if("__ngUnwrap__"===ae)return we;!1===we(ae)&&(ae.preventDefault(),ae.returnValue=!1)}}let be=(()=>{class we{constructor(Y,U,ne){this.eventManager=Y,this.sharedStylesHost=U,this.appId=ne,this.rendererByCompId=new Map,this.defaultRenderer=new Ne(Y)}createRenderer(Y,U){if(!Y||!U)return this.defaultRenderer;switch(U.encapsulation){case v.ifc.Emulated:{let ne=this.rendererByCompId.get(U.id);return ne||(ne=new cn(this.eventManager,this.sharedStylesHost,U,this.appId),this.rendererByCompId.set(U.id,ne)),ne.applyToHost(Y),ne}case 1:case v.ifc.ShadowDom:return new dn(this.eventManager,this.sharedStylesHost,Y,U);default:if(!this.rendererByCompId.has(U.id)){const ne=Q(U.id,U.styles,[]);this.sharedStylesHost.addStyles(ne),this.rendererByCompId.set(U.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return we.ɵfac=function(Y){return new(Y||we)(v.LFG(ce),v.LFG($e),v.LFG(v.AFp))},we.ɵprov=v.Yz7({token:we,factory:we.ɵfac}),we})();class Ne{constructor(ae){this.eventManager=ae,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ae,Y){return Y?document.createElementNS(tt[Y]||Y,ae):document.createElement(ae)}createComment(ae){return document.createComment(ae)}createText(ae){return document.createTextNode(ae)}appendChild(ae,Y){(er(ae)?ae.content:ae).appendChild(Y)}insertBefore(ae,Y,U){ae&&(er(ae)?ae.content:ae).insertBefore(Y,U)}removeChild(ae,Y){ae&&ae.removeChild(Y)}selectRootElement(ae,Y){let U="string"==typeof ae?document.querySelector(ae):ae;if(!U)throw new Error(`The selector "${ae}" did not match any elements`);return Y||(U.textContent=""),U}parentNode(ae){return ae.parentNode}nextSibling(ae){return ae.nextSibling}setAttribute(ae,Y,U,ne){if(ne){Y=ne+":"+Y;const Fe=tt[ne];Fe?ae.setAttributeNS(Fe,Y,U):ae.setAttribute(Y,U)}else ae.setAttribute(Y,U)}removeAttribute(ae,Y,U){if(U){const ne=tt[U];ne?ae.removeAttributeNS(ne,Y):ae.removeAttribute(`${U}:${Y}`)}else ae.removeAttribute(Y)}addClass(ae,Y){ae.classList.add(Y)}removeClass(ae,Y){ae.classList.remove(Y)}setStyle(ae,Y,U,ne){ne&(v.JOm.DashCase|v.JOm.Important)?ae.style.setProperty(Y,U,ne&v.JOm.Important?"important":""):ae.style[Y]=U}removeStyle(ae,Y,U){U&v.JOm.DashCase?ae.style.removeProperty(Y):ae.style[Y]=""}setProperty(ae,Y,U){ae[Y]=U}setValue(ae,Y){ae.nodeValue=Y}listen(ae,Y,U){return"string"==typeof ae?this.eventManager.addGlobalEventListener(ae,Y,me(U)):this.eventManager.addEventListener(ae,Y,me(U))}}function er(we){return"TEMPLATE"===we.tagName&&void 0!==we.content}class cn extends Ne{constructor(ae,Y,U,ne){super(ae),this.component=U;const Fe=Q(ne+"-"+U.id,U.styles,[]);Y.addStyles(Fe),this.contentAttr=function mt(we){return"_ngcontent-%COMP%".replace(qe,we)}(ne+"-"+U.id),this.hostAttr=function Ce(we){return"_nghost-%COMP%".replace(qe,we)}(ne+"-"+U.id)}applyToHost(ae){super.setAttribute(ae,this.hostAttr,"")}createElement(ae,Y){const U=super.createElement(ae,Y);return super.setAttribute(U,this.contentAttr,""),U}}class dn extends Ne{constructor(ae,Y,U,ne){super(ae),this.sharedStylesHost=Y,this.hostEl=U,this.shadowRoot=U.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Fe=Q(ne.id,ne.styles,[]);for(let it=0;it<Fe.length;it++){const Bt=document.createElement("style");Bt.textContent=Fe[it],this.shadowRoot.appendChild(Bt)}}nodeOrShadowRoot(ae){return ae===this.hostEl?this.shadowRoot:ae}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ae,Y){return super.appendChild(this.nodeOrShadowRoot(ae),Y)}insertBefore(ae,Y,U){return super.insertBefore(this.nodeOrShadowRoot(ae),Y,U)}removeChild(ae,Y){return super.removeChild(this.nodeOrShadowRoot(ae),Y)}parentNode(ae){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ae)))}}let ir=(()=>{class we extends Xe{constructor(Y){super(Y)}supports(Y){return!0}addEventListener(Y,U,ne){return Y.addEventListener(U,ne,!1),()=>this.removeEventListener(Y,U,ne)}removeEventListener(Y,U,ne){return Y.removeEventListener(U,ne)}}return we.ɵfac=function(Y){return new(Y||we)(v.LFG(o.K0))},we.ɵprov=v.Yz7({token:we,factory:we.ɵfac}),we})();const Sn=["alt","control","meta","shift"],Or={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zn={alt:we=>we.altKey,control:we=>we.ctrlKey,meta:we=>we.metaKey,shift:we=>we.shiftKey};let an=(()=>{class we extends Xe{constructor(Y){super(Y)}supports(Y){return null!=we.parseEventName(Y)}addEventListener(Y,U,ne){const Fe=we.parseEventName(U),it=we.eventCallback(Fe.fullKey,ne,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,o.q)().onAndCancel(Y,Fe.domEventName,it)))}static parseEventName(Y){const U=Y.toLowerCase().split("."),ne=U.shift();if(0===U.length||"keydown"!==ne&&"keyup"!==ne)return null;const Fe=we._normalizeKey(U.pop());let it="",Bt=U.indexOf("code");if(Bt>-1&&(U.splice(Bt,1),it="code."),Sn.forEach((Et=>{const ze=U.indexOf(Et);ze>-1&&(U.splice(ze,1),it+=Et+".")})),it+=Fe,0!=U.length||0===Fe.length)return null;const st={};return st.domEventName=ne,st.fullKey=it,st}static matchEventFullKeyCode(Y,U){let ne=Or[Y.key]||Y.key,Fe="";return U.indexOf("code.")>-1&&(ne=Y.code,Fe="code."),!(null==ne||!ne)&&(ne=ne.toLowerCase()," "===ne?ne="space":"."===ne&&(ne="dot"),Sn.forEach((it=>{it!==ne&&(0,zn[it])(Y)&&(Fe+=it+".")})),Fe+=ne,Fe===U)}static eventCallback(Y,U,ne){return Fe=>{we.matchEventFullKeyCode(Fe,Y)&&ne.runGuarded((()=>U(Fe)))}}static _normalizeKey(Y){return"esc"===Y?"escape":Y}}return we.ɵfac=function(Y){return new(Y||we)(v.LFG(o.K0))},we.ɵprov=v.Yz7({token:we,factory:we.ɵfac}),we})();const Xr=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:o.bD},{provide:v.g9A,useValue:function Hr(){X.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function pr(){return(0,v.RDi)(document),document},deps:[]}]),Cr=new v.OlP(""),Gt=[{provide:v.rWj,useClass:class Se{addToWindow(ae){v.dqk.getAngularTestability=(U,ne=!0)=>{const Fe=ae.findTestabilityInTree(U,ne);if(null==Fe)throw new Error("Could not find testability for element.");return Fe},v.dqk.getAllAngularTestabilities=()=>ae.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>ae.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push((U=>{const ne=v.dqk.getAllAngularTestabilities();let Fe=ne.length,it=!1;const Bt=function(st){it=it||st,Fe--,0==Fe&&U(it)};ne.forEach((function(st){st.whenStable(Bt)}))}))}findTestabilityInTree(ae,Y,U){return null==Y?null:ae.getTestability(Y)??(U?(0,o.q)().isShadowRoot(Y)?this.findTestabilityInTree(ae,Y.host,!0):this.findTestabilityInTree(ae,Y.parentElement,!0):null)}},deps:[]},{provide:v.lri,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]}],Kr=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function Nr(){return new v.qLn},deps:[]},{provide:Le,useClass:ir,multi:!0,deps:[o.K0,v.R0b,v.Lbi]},{provide:Le,useClass:an,multi:!0,deps:[o.K0]},{provide:be,useClass:be,deps:[ce,$e,v.AFp]},{provide:v.FYo,useExisting:be},{provide:Oe,useExisting:$e},{provide:$e,useClass:$e,deps:[o.K0]},{provide:ce,useClass:ce,deps:[Le,v.R0b]},{provide:o.JF,useClass:Ae,deps:[]},[]];let sr=(()=>{class we{constructor(Y){}static withServerTransition(Y){return{ngModule:we,providers:[{provide:v.AFp,useValue:Y.appId},{provide:ve,useExisting:v.AFp},oe]}}}return we.ɵfac=function(Y){return new(Y||we)(v.LFG(Cr,12))},we.ɵmod=v.oAB({type:we}),we.ɵinj=v.cJS({providers:[...Kr,...Gt],imports:[o.ez,v.hGG]}),we})(),fe=(()=>{class we{constructor(Y){this._doc=Y}getTitle(){return this._doc.title}setTitle(Y){this._doc.title=Y||""}}return we.ɵfac=function(Y){return new(Y||we)(v.LFG(o.K0))},we.ɵprov=v.Yz7({token:we,factory:function(Y){let U=null;return U=Y?new Y:function He(){return new fe((0,v.LFG)(o.K0))}(),U},providedIn:"root"}),we})();typeof window<"u"&&window},2304:(xe,J,P)=>{"use strict";P.d(J,{gz:()=>ao,m2:()=>ut,F0:()=>ui,rH:()=>ol,Bz:()=>Ua,lC:()=>Zo});var o=P(1571),v=P(2076),z=P(9646),X=P(7579);class K extends X.x{constructor(_){super(),this._value=_}get value(){return this.getValue()}_subscribe(_){const h=super._subscribe(_);return!h.closed&&_.next(this._value),h}getValue(){const{hasError:_,thrownError:h,_value:C}=this;if(_)throw h;return this._throwIfClosed(),C}next(_){super.next(this._value=_)}}const re=(0,P(3888).d)((p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"}));var ue=P(9751),ve=P(4742),q=P(4671),oe=P(3268),Se=P(3269),Ae=P(1810),Le=P(5403),ce=P(9672);function Xe(...p){const _=(0,Se.yG)(p),h=(0,Se.jO)(p),{args:C,keys:S}=(0,ve.D)(p);if(0===C.length)return(0,v.D)([],_);const k=new ue.y(function Oe(p,_,h=q.y){return C=>{$e(_,(()=>{const{length:S}=p,k=new Array(S);let te=S,le=S;for(let je=0;je<S;je++)$e(_,(()=>{const wt=(0,v.D)(p[je],_);let mn=!1;wt.subscribe(new Le.Q(C,(kt=>{k[je]=kt,mn||(mn=!0,le--),le||C.next(h(k.slice()))}),(()=>{--te||C.complete()})))}),C)}),C)}}(C,_,S?te=>(0,Ae.n)(S,te):q.y));return h?k.pipe((0,oe.Z)(h)):k}function $e(p,_,h){p?(0,ce.f)(h,p,_):_()}var et=P(8189);function qe(...p){return function tt(){return(0,et.J)(1)}()((0,v.D)(p,(0,Se.yG)(p)))}var Te=P(8421);function Ze(p){return new ue.y((_=>{(0,Te.Xf)(p()).subscribe(_)}))}var Xt=P(9635),bt=P(576);function mt(p,_){const h=(0,bt.m)(p)?p:()=>p,C=S=>S.error(h());return new ue.y(_?S=>_.schedule(C,0,S):C)}var Ce=P(515),Q=P(727),me=P(4482);function Ie(){return(0,me.e)(((p,_)=>{let h=null;p._refCount++;const C=new Le.Q(_,void 0,void 0,void 0,(()=>{if(!p||p._refCount<=0||0<--p._refCount)return void(h=null);const S=p._connection,k=h;h=null,S&&(!k||S===k)&&S.unsubscribe(),_.unsubscribe()}));p.subscribe(C),C.closed||(h=p.connect())}))}class be extends ue.y{constructor(_,h){super(),this.source=_,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,me.A)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new Q.w0;const h=this.getSubject();_.add(this.source.subscribe(new Le.Q(h,void 0,(()=>{this._teardown(),h.complete()}),(C=>{this._teardown(),h.error(C)}),(()=>this._teardown())))),_.closed&&(this._connection=null,_=Q.w0.EMPTY)}return _}refCount(){return Ie()(this)}}var Ne=P(6895),nt=P(4004);function Pt(p,_){return(0,me.e)(((h,C)=>{let S=null,k=0,te=!1;const le=()=>te&&!S&&C.complete();h.subscribe(new Le.Q(C,(je=>{S?.unsubscribe();let wt=0;const mn=k++;(0,Te.Xf)(p(je,mn)).subscribe(S=new Le.Q(C,(kt=>C.next(_?_(je,kt,mn,wt++):kt)),(()=>{S=null,le()})))}),(()=>{te=!0,le()})))}))}var er=P(5698),dn=P(9300),ir=P(5577);function Sn(p){return(0,me.e)(((_,h)=>{let C=!1;_.subscribe(new Le.Q(h,(S=>{C=!0,h.next(S)}),(()=>{C||h.next(p),h.complete()})))}))}function Or(p=zn){return(0,me.e)(((_,h)=>{let C=!1;_.subscribe(new Le.Q(h,(S=>{C=!0,h.next(S)}),(()=>C?h.complete():h.error(p()))))}))}function zn(){return new re}function an(p,_){const h=arguments.length>=2;return C=>C.pipe(p?(0,dn.h)(((S,k)=>p(S,k,C))):q.y,(0,er.q)(1),h?Sn(_):Or((()=>new re)))}var or=P(4351);function Gn(p,_,h){const C=(0,bt.m)(p)||_||h?{next:p,error:_,complete:h}:p;return C?(0,me.e)(((S,k)=>{var te;null===(te=C.subscribe)||void 0===te||te.call(C);let le=!0;S.subscribe(new Le.Q(k,(je=>{var wt;null===(wt=C.next)||void 0===wt||wt.call(C,je),k.next(je)}),(()=>{var je;le=!1,null===(je=C.complete)||void 0===je||je.call(C),k.complete()}),(je=>{var wt;le=!1,null===(wt=C.error)||void 0===wt||wt.call(C,je),k.error(je)}),(()=>{var je,wt;le&&(null===(je=C.unsubscribe)||void 0===je||je.call(C)),null===(wt=C.finalize)||void 0===wt||wt.call(C)})))})):q.y}function zr(p){return(0,me.e)(((_,h)=>{let k,C=null,S=!1;C=_.subscribe(new Le.Q(h,void 0,void 0,(te=>{k=(0,Te.Xf)(p(te,zr(p)(_))),C?(C.unsubscribe(),C=null,k.subscribe(h)):S=!0}))),S&&(C.unsubscribe(),C=null,k.subscribe(h))}))}function vr(p,_,h,C,S){return(k,te)=>{let le=h,je=_,wt=0;k.subscribe(new Le.Q(te,(mn=>{const kt=wt++;je=le?p(je,mn,kt):(le=!0,mn),C&&te.next(je)}),S&&(()=>{le&&te.next(je),te.complete()})))}}function Ai(p,_){return(0,me.e)(vr(p,_,arguments.length>=2,!0))}function Hr(p){return p<=0?()=>Ce.E:(0,me.e)(((_,h)=>{let C=[];_.subscribe(new Le.Q(h,(S=>{C.push(S),p<C.length&&C.shift()}),(()=>{for(const S of C)h.next(S);h.complete()}),void 0,(()=>{C=null})))}))}function Nr(p,_){const h=arguments.length>=2;return C=>C.pipe(p?(0,dn.h)(((S,k)=>p(S,k,C))):q.y,Hr(1),h?Sn(_):Or((()=>new re)))}var Xr=P(8746),Cr=P(1481);const Gt="primary",Kr=Symbol("RouteTitle");class sr{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const h=this.params[_];return Array.isArray(h)?h[0]:h}return null}getAll(_){if(this.has(_)){const h=this.params[_];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function de(p){return new sr(p)}function Ve(p,_,h){const C=h.path.split("/");if(C.length>p.length||"full"===h.pathMatch&&(_.hasChildren()||C.length<p.length))return null;const S={};for(let k=0;k<C.length;k++){const te=C[k],le=p[k];if(te.startsWith(":"))S[te.substring(1)]=le;else if(te!==le.path)return null}return{consumed:p.slice(0,C.length),posParams:S}}function He(p,_){const h=p?Object.keys(p):void 0,C=_?Object.keys(_):void 0;if(!h||!C||h.length!=C.length)return!1;let S;for(let k=0;k<h.length;k++)if(S=h[k],!fe(p[S],_[S]))return!1;return!0}function fe(p,_){if(Array.isArray(p)&&Array.isArray(_)){if(p.length!==_.length)return!1;const h=[...p].sort(),C=[..._].sort();return h.every(((S,k)=>C[k]===S))}return p===_}function G(p){return Array.prototype.concat.apply([],p)}function W(p){return p.length>0?p[p.length-1]:null}function Pe(p,_){for(const h in p)p.hasOwnProperty(h)&&_(p[h],h)}function rt(p){return(0,o.CqO)(p)?p:(0,o.QGY)(p)?(0,v.D)(Promise.resolve(p)):(0,z.of)(p)}const _t={exact:function Vt(p,_,h){if(!yn(p.segments,_.segments)||!$n(p.segments,_.segments,h)||p.numberOfChildren!==_.numberOfChildren)return!1;for(const C in _.children)if(!p.children[C]||!Vt(p.children[C],_.children[C],h))return!1;return!0},subset:It},Ot={exact:function Mn(p,_){return He(p,_)},subset:function xt(p,_){return Object.keys(_).length<=Object.keys(p).length&&Object.keys(_).every((h=>fe(p[h],_[h])))},ignored:()=>!0};function en(p,_,h){return _t[h.paths](p.root,_.root,h.matrixParams)&&Ot[h.queryParams](p.queryParams,_.queryParams)&&!("exact"===h.fragment&&p.fragment!==_.fragment)}function It(p,_,h){return Dt(p,_,_.segments,h)}function Dt(p,_,h,C){if(p.segments.length>h.length){const S=p.segments.slice(0,h.length);return!(!yn(S,h)||_.hasChildren()||!$n(S,h,C))}if(p.segments.length===h.length){if(!yn(p.segments,h)||!$n(p.segments,h,C))return!1;for(const S in _.children)if(!p.children[S]||!It(p.children[S],_.children[S],C))return!1;return!0}{const S=h.slice(0,p.segments.length),k=h.slice(p.segments.length);return!!(yn(p.segments,S)&&$n(p.segments,S,C)&&p.children[Gt])&&Dt(p.children[Gt],_,k,C)}}function $n(p,_,h){return _.every(((C,S)=>Ot[h](p[S].parameters,C.parameters)))}class Zt{constructor(_,h,C){this.root=_,this.queryParams=h,this.fragment=C}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=de(this.queryParams)),this._queryParamMap}toString(){return gr.serialize(this)}}class At{constructor(_,h){this.segments=_,this.children=h,this.parent=null,Pe(h,((C,S)=>C.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wr(this)}}class fn{constructor(_,h){this.path=_,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=de(this.parameters)),this._parameterMap}toString(){return U(this)}}function yn(p,_){return p.length===_.length&&p.every(((h,C)=>h.path===_[C].path))}let hn=(()=>{class p{}return p.ɵfac=function(h){return new(h||p)},p.ɵprov=o.Yz7({token:p,factory:function(){return new on},providedIn:"root"}),p})();class on{parse(_){const h=new St(_);return new Zt(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(_){const h=`/${Wn(_.root,!0)}`,C=function Fe(p){const _=Object.keys(p).map((h=>{const C=p[h];return Array.isArray(C)?C.map((S=>`${mr(h)}=${mr(S)}`)).join("&"):`${mr(h)}=${mr(C)}`})).filter((h=>!!h));return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${h}${C}${"string"==typeof _.fragment?`#${function ln(p){return encodeURI(p)}(_.fragment)}`:""}`}}const gr=new on;function wr(p){return p.segments.map((_=>U(_))).join("/")}function Wn(p,_){if(!p.hasChildren())return wr(p);if(_){const h=p.children[Gt]?Wn(p.children[Gt],!1):"",C=[];return Pe(p.children,((S,k)=>{k!==Gt&&C.push(`${k}:${Wn(S,!1)}`)})),C.length>0?`${h}(${C.join("//")})`:h}{const h=function Rt(p,_){let h=[];return Pe(p.children,((C,S)=>{S===Gt&&(h=h.concat(_(C,S)))})),Pe(p.children,((C,S)=>{S!==Gt&&(h=h.concat(_(C,S)))})),h}(p,((C,S)=>S===Gt?[Wn(p.children[Gt],!1)]:[`${S}:${Wn(C,!1)}`]));return 1===Object.keys(p.children).length&&null!=p.children[Gt]?`${wr(p)}/${h[0]}`:`${wr(p)}/(${h.join("//")})`}}function Nn(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mr(p){return Nn(p).replace(/%3B/gi,";")}function we(p){return Nn(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ae(p){return decodeURIComponent(p)}function Y(p){return ae(p.replace(/\+/g,"%20"))}function U(p){return`${we(p.path)}${function ne(p){return Object.keys(p).map((_=>`;${we(_)}=${we(p[_])}`)).join("")}(p.parameters)}`}const it=/^[^\/()?;=#]+/;function Bt(p){const _=p.match(it);return _?_[0]:""}const st=/^[^=?&#]+/,ze=/^[^&#]+/;class St{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(_.length>0||Object.keys(h).length>0)&&(C[Gt]=new At(_,h)),C}parseSegment(){const _=Bt(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(_),new fn(ae(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const h=Bt(this.remaining);if(!h)return;this.capture(h);let C="";if(this.consumeOptional("=")){const S=Bt(this.remaining);S&&(C=S,this.capture(C))}_[ae(h)]=ae(C)}parseQueryParam(_){const h=function Et(p){const _=p.match(st);return _?_[0]:""}(this.remaining);if(!h)return;this.capture(h);let C="";if(this.consumeOptional("=")){const te=function vt(p){const _=p.match(ze);return _?_[0]:""}(this.remaining);te&&(C=te,this.capture(C))}const S=Y(h),k=Y(C);if(_.hasOwnProperty(S)){let te=_[S];Array.isArray(te)||(te=[te],_[S]=te),te.push(k)}else _[S]=k}parseParens(_){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=Bt(this.remaining),S=this.remaining[C.length];if("/"!==S&&")"!==S&&";"!==S)throw new o.vHH(4010,!1);let k;C.indexOf(":")>-1?(k=C.slice(0,C.indexOf(":")),this.capture(k),this.capture(":")):_&&(k=Gt);const te=this.parseChildren();h[k]=1===Object.keys(te).length?te[Gt]:new At([],te),this.consumeOptional("//")}return h}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new o.vHH(4011,!1)}}function zt(p){return p.segments.length>0?new At([],{[Gt]:p}):p}function Ut(p){const _={};for(const C of Object.keys(p.children)){const k=Ut(p.children[C]);(k.segments.length>0||k.hasChildren())&&(_[C]=k)}return function Mt(p){if(1===p.numberOfChildren&&p.children[Gt]){const _=p.children[Gt];return new At(p.segments.concat(_.segments),_.children)}return p}(new At(p.segments,_))}function tn(p){return p instanceof Zt}function xr(p,_,h,C,S){if(0===h.length)return ar(_.root,_.root,_.root,C,S);const k=function oi(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new vn(!0,0,p);let _=0,h=!1;const C=p.reduce(((S,k,te)=>{if("object"==typeof k&&null!=k){if(k.outlets){const le={};return Pe(k.outlets,((je,wt)=>{le[wt]="string"==typeof je?je.split("/"):je})),[...S,{outlets:le}]}if(k.segmentPath)return[...S,k.segmentPath]}return"string"!=typeof k?[...S,k]:0===te?(k.split("/").forEach(((le,je)=>{0==je&&"."===le||(0==je&&""===le?h=!0:".."===le?_++:""!=le&&S.push(le))})),S):[...S,k]}),[]);return new vn(h,_,C)}(h);return k.toRoot()?ar(_.root,_.root,new At([],{}),C,S):function te(je){const wt=function Ti(p,_,h,C){if(p.isAbsolute)return new Ii(_.root,!0,0);if(-1===C)return new Ii(h,h===_.root,0);return function vi(p,_,h){let C=p,S=_,k=h;for(;k>S;){if(k-=S,C=C.parent,!C)throw new o.vHH(4005,!1);S=C.segments.length}return new Ii(C,!1,S-k)}(h,C+(Gr(p.commands[0])?0:1),p.numberOfDoubleDots)}(k,_,p.snapshot?._urlSegment,je),mn=wt.processChildren?R(wt.segmentGroup,wt.index,k.commands):dr(wt.segmentGroup,wt.index,k.commands);return ar(_.root,wt.segmentGroup,mn,C,S)}(p.snapshot?._lastPathIndex)}function Gr(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function Mr(p){return"object"==typeof p&&null!=p&&p.outlets}function ar(p,_,h,C,S){let te,k={};C&&Pe(C,((je,wt)=>{k[wt]=Array.isArray(je)?je.map((mn=>`${mn}`)):`${je}`})),te=p===_?h:Gi(p,_,h);const le=zt(Ut(te));return new Zt(le,k,S)}function Gi(p,_,h){const C={};return Pe(p.children,((S,k)=>{C[k]=S===_?h:Gi(S,_,h)})),new At(p.segments,C)}class vn{constructor(_,h,C){if(this.isAbsolute=_,this.numberOfDoubleDots=h,this.commands=C,_&&C.length>0&&Gr(C[0]))throw new o.vHH(4003,!1);const S=C.find(Mr);if(S&&S!==W(C))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ii{constructor(_,h,C){this.segmentGroup=_,this.processChildren=h,this.index=C}}function dr(p,_,h){if(p||(p=new At([],{})),0===p.segments.length&&p.hasChildren())return R(p,_,h);const C=function j(p,_,h){let C=0,S=_;const k={match:!1,pathIndex:0,commandIndex:0};for(;S<p.segments.length;){if(C>=h.length)return k;const te=p.segments[S],le=h[C];if(Mr(le))break;const je=`${le}`,wt=C<h.length-1?h[C+1]:null;if(S>0&&void 0===je)break;if(je&&wt&&"object"==typeof wt&&void 0===wt.outlets){if(!We(je,wt,te))return k;C+=2}else{if(!We(je,{},te))return k;C++}S++}return{match:!0,pathIndex:S,commandIndex:C}}(p,_,h),S=h.slice(C.commandIndex);if(C.match&&C.pathIndex<p.segments.length){const k=new At(p.segments.slice(0,C.pathIndex),{});return k.children[Gt]=new At(p.segments.slice(C.pathIndex),p.children),R(k,0,S)}return C.match&&0===S.length?new At(p.segments,{}):C.match&&!p.hasChildren()?V(p,_,h):C.match?R(p,0,S):V(p,_,h)}function R(p,_,h){if(0===h.length)return new At(p.segments,{});{const C=function ei(p){return Mr(p[0])?p[0].outlets:{[Gt]:p}}(h),S={};return Pe(C,((k,te)=>{"string"==typeof k&&(k=[k]),null!==k&&(S[te]=dr(p.children[te],_,k))})),Pe(p.children,((k,te)=>{void 0===C[te]&&(S[te]=k)})),new At(p.segments,S)}}function V(p,_,h){const C=p.segments.slice(0,_);let S=0;for(;S<h.length;){const k=h[S];if(Mr(k)){const je=ie(k.outlets);return new At(C,je)}if(0===S&&Gr(h[0])){C.push(new fn(p.segments[_].path,Qe(h[0]))),S++;continue}const te=Mr(k)?k.outlets[Gt]:`${k}`,le=S<h.length-1?h[S+1]:null;te&&le&&Gr(le)?(C.push(new fn(te,Qe(le))),S+=2):(C.push(new fn(te,{})),S++)}return new At(C,{})}function ie(p){const _={};return Pe(p,((h,C)=>{"string"==typeof h&&(h=[h]),null!==h&&(_[C]=V(new At([],{}),0,h))})),_}function Qe(p){const _={};return Pe(p,((h,C)=>_[C]=`${h}`)),_}function We(p,_,h){return p==h.path&&He(_,h.parameters)}class lt{constructor(_,h){this.id=_,this.url=h}}class ct extends lt{constructor(_,h,C="imperative",S=null){super(_,h),this.type=0,this.navigationTrigger=C,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ut extends lt{constructor(_,h,C){super(_,h),this.urlAfterRedirects=C,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class un extends lt{constructor(_,h,C,S){super(_,h),this.reason=C,this.code=S,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class bn extends lt{constructor(_,h,C,S){super(_,h),this.error=C,this.target=S,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Fr extends lt{constructor(_,h,C,S){super(_,h),this.urlAfterRedirects=C,this.state=S,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qr extends lt{constructor(_,h,C,S){super(_,h),this.urlAfterRedirects=C,this.state=S,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jr extends lt{constructor(_,h,C,S,k){super(_,h),this.urlAfterRedirects=C,this.state=S,this.shouldActivate=k,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ci extends lt{constructor(_,h,C,S){super(_,h),this.urlAfterRedirects=C,this.state=S,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oo extends lt{constructor(_,h,C,S){super(_,h),this.urlAfterRedirects=C,this.state=S,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wi{constructor(_){this.route=_,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class so{constructor(_){this.route=_,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ro{constructor(_){this.snapshot=_,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ss{constructor(_){this.snapshot=_,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aa{constructor(_){this.snapshot=_,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Aa{constructor(_){this.snapshot=_,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hs{constructor(_,h,C){this.routerEvent=_,this.position=h,this.anchor=C,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Cs{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const h=this.pathFromRoot(_);return h.length>1?h[h.length-2]:null}children(_){const h=$o(_,this._root);return h?h.children.map((C=>C.value)):[]}firstChild(_){const h=$o(_,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(_){const h=zo(_,this._root);return h.length<2?[]:h[h.length-2].children.map((S=>S.value)).filter((S=>S!==_))}pathFromRoot(_){return zo(_,this._root).map((h=>h.value))}}function $o(p,_){if(p===_.value)return _;for(const h of _.children){const C=$o(p,h);if(C)return C}return null}function zo(p,_){if(p===_.value)return[_];for(const h of _.children){const C=zo(p,h);if(C.length)return C.unshift(_),C}return[]}class si{constructor(_,h){this.value=_,this.children=h}toString(){return`TreeNode(${this.value})`}}function To(p){const _={};return p&&p.children.forEach((h=>_[h.value.outlet]=h)),_}class No extends Cs{constructor(_,h){super(_),this.snapshot=h,ls(this,_)}toString(){return this.snapshot.toString()}}function fr(p,_){const h=function Vn(p,_){const te=new as([],{},{},"",{},Gt,_,null,p.root,-1,{});return new ws("",new si(te,[]))}(p,_),C=new K([new fn("",{})]),S=new K({}),k=new K({}),te=new K({}),le=new K(""),je=new ao(C,S,te,le,k,Gt,_,h.root);return je.snapshot=h.root,new No(new si(je,[]),h)}class ao{constructor(_,h,C,S,k,te,le,je){this.url=_,this.params=h,this.queryParams=C,this.fragment=S,this.data=k,this.outlet=te,this.component=le,this.title=this.data?.pipe((0,nt.U)((wt=>wt[Kr])))??(0,z.of)(void 0),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,nt.U)((_=>de(_))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,nt.U)((_=>de(_))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function js(p,_="emptyOnly"){const h=p.pathFromRoot;let C=0;if("always"!==_)for(C=h.length-1;C>=1;){const S=h[C],k=h[C-1];if(S.routeConfig&&""===S.routeConfig.path)C--;else{if(k.component)break;C--}}return function Go(p){return p.reduce(((_,h)=>({params:{..._.params,...h.params},data:{..._.data,...h.data},resolve:{...h.data,..._.resolve,...h.routeConfig?.data,...h._resolvedData}})),{params:{},data:{},resolve:{}})}(h.slice(C))}class as{constructor(_,h,C,S,k,te,le,je,wt,mn,kt,Tr){this.url=_,this.params=h,this.queryParams=C,this.fragment=S,this.data=k,this.outlet=te,this.component=le,this.title=this.data?.[Kr],this.routeConfig=je,this._urlSegment=wt,this._lastPathIndex=mn,this._correctedLastPathIndex=Tr??mn,this._resolve=kt}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=de(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=de(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((C=>C.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ws extends Cs{constructor(_,h){super(h),this.url=_,ls(this,h)}toString(){return Po(this._root)}}function ls(p,_){_.value._routerState=p,_.children.forEach((h=>ls(p,h)))}function Po(p){const _=p.children.length>0?` { ${p.children.map(Po).join(", ")} } `:"";return`${p.value}${_}`}function Wo(p){if(p.snapshot){const _=p.snapshot,h=p._futureSnapshot;p.snapshot=h,He(_.queryParams,h.queryParams)||p.queryParams.next(h.queryParams),_.fragment!==h.fragment&&p.fragment.next(h.fragment),He(_.params,h.params)||p.params.next(h.params),function Re(p,_){if(p.length!==_.length)return!1;for(let h=0;h<p.length;++h)if(!He(p[h],_[h]))return!1;return!0}(_.url,h.url)||p.url.next(h.url),He(_.data,h.data)||p.data.next(h.data)}else p.snapshot=p._futureSnapshot,p.data.next(p._futureSnapshot.data)}function kr(p,_){const h=He(p.params,_.params)&&function Nt(p,_){return yn(p,_)&&p.every(((h,C)=>He(h.parameters,_[C].parameters)))}(p.url,_.url);return h&&!(!p.parent!=!_.parent)&&(!p.parent||kr(p.parent,_.parent))}function Wr(p,_,h){if(h&&p.shouldReuseRoute(_.value,h.value.snapshot)){const C=h.value;C._futureSnapshot=_.value;const S=function $s(p,_,h){return _.children.map((C=>{for(const S of h.children)if(p.shouldReuseRoute(C.value,S.value.snapshot))return Wr(p,C,S);return Wr(p,C)}))}(p,_,h);return new si(C,S)}{if(p.shouldAttach(_.value)){const k=p.retrieve(_.value);if(null!==k){const te=k.route;return te.value._futureSnapshot=_.value,te.children=_.children.map((le=>Wr(p,le))),te}}const C=function Yo(p){return new ao(new K(p.url),new K(p.params),new K(p.queryParams),new K(p.fragment),new K(p.data),p.outlet,p.component,p)}(_.value),S=_.children.map((k=>Wr(p,k)));return new si(C,S)}}const ai="ngNavigationCancelingError";function qo(p,_){const{redirectTo:h,navigationBehaviorOptions:C}=tn(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,S=bs(!1,0,_);return S.url=h,S.navigationBehaviorOptions=C,S}function bs(p,_,h){const C=new Error("NavigationCancelingError: "+(p||""));return C[ai]=!0,C.cancellationCode=_,h&&(C.url=h),C}function lr(p){return Ds(p)&&tn(p.url)}function Ds(p){return p&&p[ai]}class ca{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ri,this.attachRef=null}}let Ri=(()=>{class p{constructor(){this.contexts=new Map}onChildOutletCreated(h,C){const S=this.getOrCreateContext(h);S.outlet=C,this.contexts.set(h,S)}onChildOutletDestroyed(h){const C=this.getContext(h);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let C=this.getContext(h);return C||(C=new ca,this.contexts.set(h,C)),C}getContext(h){return this.contexts.get(h)||null}}return p.ɵfac=function(h){return new(h||p)},p.ɵprov=o.Yz7({token:p,factory:p.ɵfac,providedIn:"root"}),p})();const ur=!1;let Zo=(()=>{class p{constructor(h,C,S,k,te){this.parentContexts=h,this.location=C,this.changeDetector=k,this.environmentInjector=te,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.name=S||Gt,h.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&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.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,ur);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,ur);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,ur);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,C){this.activated=h,this._activatedRoute=C,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,C){if(this.isActivated)throw new o.vHH(4013,ur);this._activatedRoute=h;const S=this.location,te=h._futureSnapshot.component,le=this.parentContexts.getOrCreateContext(this.name).children,je=new wi(h,le,S.injector);if(C&&function _o(p){return!!p.resolveComponentFactory}(C)){const wt=C.resolveComponentFactory(te);this.activated=S.createComponent(wt,S.length,je)}else this.activated=S.createComponent(te,{index:S.length,injector:je,environmentInjector:C??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return p.ɵfac=function(h){return new(h||p)(o.Y36(Ri),o.Y36(o.s_b),o.$8M("name"),o.Y36(o.sBO),o.Y36(o.lqb))},p.ɵdir=o.lG2({type:p,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),p})();class wi{constructor(_,h,C){this.route=_,this.childContexts=h,this.parent=C}get(_,h){return _===ao?this.route:_===Ri?this.childContexts:this.parent.get(_,h)}}let $r=(()=>{class p{}return p.ɵfac=function(h){return new(h||p)},p.ɵcmp=o.Xpm({type:p,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(h,C){1&h&&o._UZ(0,"router-outlet")},dependencies:[Zo],encapsulation:2}),p})();function lo(p,_){return p.providers&&!p._injector&&(p._injector=(0,o.MMx)(p.providers,_,`Route: ${p.path}`)),p._injector??_}function Es(p){const _=p.children&&p.children.map(Es),h=_?{...p,children:_}:{...p};return!h.component&&!h.loadComponent&&(_||h.loadChildren)&&h.outlet&&h.outlet!==Gt&&(h.component=$r),h}function qi(p){return p.outlet||Gt}function Ms(p,_){const h=p.filter((C=>qi(C)===_));return h.push(...p.filter((C=>qi(C)!==_))),h}function Fi(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let _=p.parent;_;_=_.parent){const h=_.routeConfig;if(h?._loadedInjector)return h._loadedInjector;if(h?._injector)return h._injector}return null}class da{constructor(_,h,C,S){this.routeReuseStrategy=_,this.futureState=h,this.currState=C,this.forwardEvent=S}activate(_){const h=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,C,_),Wo(this.futureState.root),this.activateChildRoutes(h,C,_)}deactivateChildRoutes(_,h,C){const S=To(h);_.children.forEach((k=>{const te=k.value.outlet;this.deactivateRoutes(k,S[te],C),delete S[te]})),Pe(S,((k,te)=>{this.deactivateRouteAndItsChildren(k,C)}))}deactivateRoutes(_,h,C){const S=_.value,k=h?h.value:null;if(S===k)if(S.component){const te=C.getContext(S.outlet);te&&this.deactivateChildRoutes(_,h,te.children)}else this.deactivateChildRoutes(_,h,C);else k&&this.deactivateRouteAndItsChildren(h,C)}deactivateRouteAndItsChildren(_,h){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,h):this.deactivateRouteAndOutlet(_,h)}detachAndStoreRouteSubtree(_,h){const C=h.getContext(_.value.outlet),S=C&&_.value.component?C.children:h,k=To(_);for(const te of Object.keys(k))this.deactivateRouteAndItsChildren(k[te],S);if(C&&C.outlet){const te=C.outlet.detach(),le=C.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:te,route:_,contexts:le})}}deactivateRouteAndOutlet(_,h){const C=h.getContext(_.value.outlet),S=C&&_.value.component?C.children:h,k=To(_);for(const te of Object.keys(k))this.deactivateRouteAndItsChildren(k[te],S);C&&C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated(),C.attachRef=null,C.resolver=null,C.route=null)}activateChildRoutes(_,h,C){const S=To(h);_.children.forEach((k=>{this.activateRoutes(k,S[k.value.outlet],C),this.forwardEvent(new Aa(k.value.snapshot))})),_.children.length&&this.forwardEvent(new ss(_.value.snapshot))}activateRoutes(_,h,C){const S=_.value,k=h?h.value:null;if(Wo(S),S===k)if(S.component){const te=C.getOrCreateContext(S.outlet);this.activateChildRoutes(_,h,te.children)}else this.activateChildRoutes(_,h,C);else if(S.component){const te=C.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const le=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),te.children.onOutletReAttached(le.contexts),te.attachRef=le.componentRef,te.route=le.route.value,te.outlet&&te.outlet.attach(le.componentRef,le.route.value),Wo(le.route.value),this.activateChildRoutes(_,null,te.children)}else{const le=Fi(S.snapshot),je=le?.get(o._Vd)??null;te.attachRef=null,te.route=S,te.resolver=je,te.injector=le,te.outlet&&te.outlet.activateWith(S,te.injector),this.activateChildRoutes(_,null,te.children)}}else this.activateChildRoutes(_,null,C)}}class ft{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class Fn{constructor(_,h){this.component=_,this.route=h}}function bi(p,_,h){const C=p._root;return Jo(C,_?_._root:null,h,[C.value])}function Sr(p,_){const h=Symbol(),C=_.get(p,h);return C===h?"function"!=typeof p||(0,o.Z0I)(p)?_.get(p):p:C}function Jo(p,_,h,C,S={canDeactivateChecks:[],canActivateChecks:[]}){const k=To(_);return p.children.forEach((te=>{(function hr(p,_,h,C,S={canDeactivateChecks:[],canActivateChecks:[]}){const k=p.value,te=_?_.value:null,le=h?h.getContext(p.value.outlet):null;if(te&&k.routeConfig===te.routeConfig){const je=function O(p,_,h){if("function"==typeof h)return h(p,_);switch(h){case"pathParamsChange":return!yn(p.url,_.url);case"pathParamsOrQueryParamsChange":return!yn(p.url,_.url)||!He(p.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!kr(p,_)||!He(p.queryParams,_.queryParams);default:return!kr(p,_)}}(te,k,k.routeConfig.runGuardsAndResolvers);je?S.canActivateChecks.push(new ft(C)):(k.data=te.data,k._resolvedData=te._resolvedData),Jo(p,_,k.component?le?le.children:null:h,C,S),je&&le&&le.outlet&&le.outlet.isActivated&&S.canDeactivateChecks.push(new Fn(le.outlet.component,te))}else te&&T(_,le,S),S.canActivateChecks.push(new ft(C)),Jo(p,null,k.component?le?le.children:null:h,C,S)})(te,k[te.value.outlet],h,C.concat([te.value]),S),delete k[te.value.outlet]})),Pe(k,((te,le)=>T(te,h.getContext(le),S))),S}function T(p,_,h){const C=To(p),S=p.value;Pe(C,((k,te)=>{T(k,S.component?_?_.children.getContext(te):null:_,h)})),h.canDeactivateChecks.push(new Fn(S.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,S))}function E(p){return"function"==typeof p}function Pi(p){return p instanceof re||"EmptyError"===p?.name}const es=Symbol("INITIAL_VALUE");function fi(){return Pt((p=>Xe(p.map((_=>_.pipe((0,er.q)(1),function cn(...p){const _=(0,Se.yG)(p);return(0,me.e)(((h,C)=>{(_?qe(p,h,_):qe(p,h)).subscribe(C)}))}(es))))).pipe((0,nt.U)((_=>{for(const h of _)if(!0!==h){if(h===es)return es;if(!1===h||h instanceof Zt)return h}return!0})),(0,dn.h)((_=>_!==es)),(0,er.q)(1))))}function Fo(p){return(0,Xt.z)(Gn((_=>{if(tn(_))throw qo(0,_)})),(0,nt.U)((_=>!0===_)))}const Os={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ra(p,_,h,C,S){const k=fa(p,_,h);return k.matched?function Zi(p,_,h,C){const S=_.canMatch;if(!S||0===S.length)return(0,z.of)(!0);const k=S.map((te=>{const le=Sr(te,p);return rt(function Di(p){return p&&E(p.canMatch)}(le)?le.canMatch(_,h):p.runInContext((()=>le(_,h))))}));return(0,z.of)(k).pipe(fi(),Fo())}(C=lo(_,C),_,h).pipe((0,nt.U)((te=>!0===te?k:{...Os}))):(0,z.of)(k)}function fa(p,_,h){if(""===_.path)return"full"===_.pathMatch&&(p.hasChildren()||h.length>0)?{...Os}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const S=(_.matcher||Ve)(h,p,_);if(!S)return{...Os};const k={};Pe(S.posParams,((le,je)=>{k[je]=le.path}));const te=S.consumed.length>0?{...k,...S.consumed[S.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:S.consumed,remainingSegments:h.slice(S.consumed.length),parameters:te,positionalParamSegments:S.posParams??{}}}function Na(p,_,h,C,S="corrected"){if(h.length>0&&function Co(p,_,h){return h.some((C=>ot(p,_,C)&&qi(C)!==Gt))}(p,h,C)){const te=new At(_,function ki(p,_,h,C){const S={};S[Gt]=C,C._sourceSegment=p,C._segmentIndexShift=_.length;for(const k of h)if(""===k.path&&qi(k)!==Gt){const te=new At([],{});te._sourceSegment=p,te._segmentIndexShift=_.length,S[qi(k)]=te}return S}(p,_,C,new At(h,p.children)));return te._sourceSegment=p,te._segmentIndexShift=_.length,{segmentGroup:te,slicedSegments:[]}}if(0===h.length&&function De(p,_,h){return h.some((C=>ot(p,_,C)))}(p,h,C)){const te=new At(p.segments,function Kl(p,_,h,C,S,k){const te={};for(const le of C)if(ot(p,h,le)&&!S[qi(le)]){const je=new At([],{});je._sourceSegment=p,je._segmentIndexShift="legacy"===k?p.segments.length:_.length,te[qi(le)]=je}return{...S,...te}}(p,_,h,C,p.children,S));return te._sourceSegment=p,te._segmentIndexShift=_.length,{segmentGroup:te,slicedSegments:h}}const k=new At(p.segments,p.children);return k._sourceSegment=p,k._segmentIndexShift=_.length,{segmentGroup:k,slicedSegments:h}}function ot(p,_,h){return(!(p.hasChildren()||_.length>0)||"full"!==h.pathMatch)&&""===h.path}function Ye(p,_,h,C){return!!(qi(p)===C||C!==Gt&&ot(_,h,p))&&("**"===p.path||fa(_,p,h).matched)}function Ht(p,_,h){return 0===_.length&&!p.children[h]}const Cn=!1;class Jn{constructor(_){this.segmentGroup=_||null}}class ti{constructor(_){this.urlTree=_}}function Xn(p){return mt(new Jn(p))}function cs(p){return mt(new ti(p))}class tl{constructor(_,h,C,S,k){this.injector=_,this.configLoader=h,this.urlSerializer=C,this.urlTree=S,this.config=k,this.allowRedirects=!0}apply(){const _=Na(this.urlTree.root,[],[],this.config).segmentGroup,h=new At(_.segments,_.children);return this.expandSegmentGroup(this.injector,this.config,h,Gt).pipe((0,nt.U)((k=>this.createUrlTree(Ut(k),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(zr((k=>{if(k instanceof ti)return this.allowRedirects=!1,this.match(k.urlTree);throw k instanceof Jn?this.noMatchError(k):k})))}match(_){return this.expandSegmentGroup(this.injector,this.config,_.root,Gt).pipe((0,nt.U)((S=>this.createUrlTree(Ut(S),_.queryParams,_.fragment)))).pipe(zr((S=>{throw S instanceof Jn?this.noMatchError(S):S})))}noMatchError(_){return new o.vHH(4002,Cn)}createUrlTree(_,h,C){const S=zt(_);return new Zt(S,h,C)}expandSegmentGroup(_,h,C,S){return 0===C.segments.length&&C.hasChildren()?this.expandChildren(_,h,C).pipe((0,nt.U)((k=>new At([],k)))):this.expandSegment(_,C,h,C.segments,S,!0)}expandChildren(_,h,C){const S=[];for(const k of Object.keys(C.children))"primary"===k?S.unshift(k):S.push(k);return(0,v.D)(S).pipe((0,or.b)((k=>{const te=C.children[k],le=Ms(h,k);return this.expandSegmentGroup(_,le,te,k).pipe((0,nt.U)((je=>({segment:je,outlet:k}))))})),Ai(((k,te)=>(k[te.outlet]=te.segment,k)),{}),Nr())}expandSegment(_,h,C,S,k,te){return(0,v.D)(C).pipe((0,or.b)((le=>this.expandSegmentAgainstRoute(_,h,C,le,S,k,te).pipe(zr((wt=>{if(wt instanceof Jn)return(0,z.of)(null);throw wt}))))),an((le=>!!le)),zr(((le,je)=>{if(Pi(le))return Ht(h,S,k)?(0,z.of)(new At([],{})):Xn(h);throw le})))}expandSegmentAgainstRoute(_,h,C,S,k,te,le){return Ye(S,h,k,te)?void 0===S.redirectTo?this.matchSegmentAgainstRoute(_,h,S,k,te):le&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(_,h,C,S,k,te):Xn(h):Xn(h)}expandSegmentAgainstRouteUsingRedirect(_,h,C,S,k,te){return"**"===S.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(_,C,S,te):this.expandRegularSegmentAgainstRouteUsingRedirect(_,h,C,S,k,te)}expandWildCardWithParamsAgainstRouteUsingRedirect(_,h,C,S){const k=this.applyRedirectCommands([],C.redirectTo,{});return C.redirectTo.startsWith("/")?cs(k):this.lineralizeSegments(C,k).pipe((0,ir.z)((te=>{const le=new At(te,{});return this.expandSegment(_,le,h,te,S,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(_,h,C,S,k,te){const{matched:le,consumedSegments:je,remainingSegments:wt,positionalParamSegments:mn}=fa(h,S,k);if(!le)return Xn(h);const kt=this.applyRedirectCommands(je,S.redirectTo,mn);return S.redirectTo.startsWith("/")?cs(kt):this.lineralizeSegments(S,kt).pipe((0,ir.z)((Tr=>this.expandSegment(_,h,C,Tr.concat(wt),te,!1))))}matchSegmentAgainstRoute(_,h,C,S,k){return"**"===C.path?(_=lo(C,_),C.loadChildren?(C._loadedRoutes?(0,z.of)({routes:C._loadedRoutes,injector:C._loadedInjector}):this.configLoader.loadChildren(_,C)).pipe((0,nt.U)((le=>(C._loadedRoutes=le.routes,C._loadedInjector=le.injector,new At(S,{}))))):(0,z.of)(new At(S,{}))):Ra(h,C,S,_).pipe(Pt((({matched:te,consumedSegments:le,remainingSegments:je})=>te?this.getChildConfig(_=C._injector??_,C,S).pipe((0,ir.z)((mn=>{const kt=mn.injector??_,Tr=mn.routes,{segmentGroup:Vr,slicedSegments:Do}=Na(h,le,je,Tr),Ji=new At(Vr.segments,Vr.children);if(0===Do.length&&Ji.hasChildren())return this.expandChildren(kt,Tr,Ji).pipe((0,nt.U)((xl=>new At(le,xl))));if(0===Tr.length&&0===Do.length)return(0,z.of)(new At(le,{}));const ri=qi(C)===k;return this.expandSegment(kt,Ji,Tr,Do,ri?Gt:k,!0).pipe((0,nt.U)((ya=>new At(le.concat(ya.segments),ya.children))))}))):Xn(h))))}getChildConfig(_,h,C){return h.children?(0,z.of)({routes:h.children,injector:_}):h.loadChildren?void 0!==h._loadedRoutes?(0,z.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):function Gs(p,_,h,C){const S=_.canLoad;if(void 0===S||0===S.length)return(0,z.of)(!0);const k=S.map((te=>{const le=Sr(te,p);return rt(function Ke(p){return p&&E(p.canLoad)}(le)?le.canLoad(_,h):p.runInContext((()=>le(_,h))))}));return(0,z.of)(k).pipe(fi(),Fo())}(_,h,C).pipe((0,ir.z)((S=>S?this.configLoader.loadChildren(_,h).pipe(Gn((k=>{h._loadedRoutes=k.routes,h._loadedInjector=k.injector}))):function Ki(p){return mt(bs(Cn,3))}()))):(0,z.of)({routes:[],injector:_})}lineralizeSegments(_,h){let C=[],S=h.root;for(;;){if(C=C.concat(S.segments),0===S.numberOfChildren)return(0,z.of)(C);if(S.numberOfChildren>1||!S.children[Gt])return mt(new o.vHH(4e3,Cn));S=S.children[Gt]}}applyRedirectCommands(_,h,C){return this.applyRedirectCreateUrlTree(h,this.urlSerializer.parse(h),_,C)}applyRedirectCreateUrlTree(_,h,C,S){const k=this.createSegmentGroup(_,h.root,C,S);return new Zt(k,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(_,h){const C={};return Pe(_,((S,k)=>{if("string"==typeof S&&S.startsWith(":")){const le=S.substring(1);C[k]=h[le]}else C[k]=S})),C}createSegmentGroup(_,h,C,S){const k=this.createSegments(_,h.segments,C,S);let te={};return Pe(h.children,((le,je)=>{te[je]=this.createSegmentGroup(_,le,C,S)})),new At(k,te)}createSegments(_,h,C,S){return h.map((k=>k.path.startsWith(":")?this.findPosParam(_,k,S):this.findOrReturn(k,C)))}findPosParam(_,h,C){const S=C[h.path.substring(1)];if(!S)throw new o.vHH(4001,Cn);return S}findOrReturn(_,h){let C=0;for(const S of h){if(S.path===_.path)return h.splice(C),S;C++}return _}}class w{}class L{constructor(_,h,C,S,k,te,le,je){this.injector=_,this.rootComponentType=h,this.config=C,this.urlTree=S,this.url=k,this.paramsInheritanceStrategy=te,this.relativeLinkResolution=le,this.urlSerializer=je}recognize(){const _=Na(this.urlTree.root,[],[],this.config.filter((h=>void 0===h.redirectTo)),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,_,Gt).pipe((0,nt.U)((h=>{if(null===h)return null;const C=new as([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Gt,this.rootComponentType,null,this.urlTree.root,-1,{}),S=new si(C,h),k=new ws(this.url,S);return this.inheritParamsAndData(k._root),k})))}inheritParamsAndData(_){const h=_.value,C=js(h,this.paramsInheritanceStrategy);h.params=Object.freeze(C.params),h.data=Object.freeze(C.data),_.children.forEach((S=>this.inheritParamsAndData(S)))}processSegmentGroup(_,h,C,S){return 0===C.segments.length&&C.hasChildren()?this.processChildren(_,h,C):this.processSegment(_,h,C,C.segments,S)}processChildren(_,h,C){return(0,v.D)(Object.keys(C.children)).pipe((0,or.b)((S=>{const k=C.children[S],te=Ms(h,S);return this.processSegmentGroup(_,te,k,S)})),Ai(((S,k)=>S&&k?(S.push(...k),S):null)),function pr(p,_=!1){return(0,me.e)(((h,C)=>{let S=0;h.subscribe(new Le.Q(C,(k=>{const te=p(k,S++);(te||_)&&C.next(k),!te&&C.complete()})))}))}((S=>null!==S)),Sn(null),Nr(),(0,nt.U)((S=>{if(null===S)return null;const k=Jt(S);return function _e(p){p.sort(((_,h)=>_.value.outlet===Gt?-1:h.value.outlet===Gt?1:_.value.outlet.localeCompare(h.value.outlet)))}(k),k})))}processSegment(_,h,C,S,k){return(0,v.D)(h).pipe((0,or.b)((te=>this.processSegmentAgainstRoute(te._injector??_,te,C,S,k))),an((te=>!!te)),zr((te=>{if(Pi(te))return Ht(C,S,k)?(0,z.of)([]):(0,z.of)(null);throw te})))}processSegmentAgainstRoute(_,h,C,S,k){if(h.redirectTo||!Ye(h,C,S,k))return(0,z.of)(null);let te;if("**"===h.path){const le=S.length>0?W(S).parameters:{},je=Kn(C)+S.length,wt=new as(S,le,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ar(h),qi(h),h.component??h._loadedComponent??null,h,Bn(C),je,yr(h),je);te=(0,z.of)({snapshot:wt,consumedSegments:[],remainingSegments:[]})}else te=Ra(C,h,S,_).pipe((0,nt.U)((({matched:le,consumedSegments:je,remainingSegments:wt,parameters:mn})=>{if(!le)return null;const kt=Kn(C)+je.length;return{snapshot:new as(je,mn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ar(h),qi(h),h.component??h._loadedComponent??null,h,Bn(C),kt,yr(h),kt),consumedSegments:je,remainingSegments:wt}})));return te.pipe(Pt((le=>{if(null===le)return(0,z.of)(null);const{snapshot:je,consumedSegments:wt,remainingSegments:mn}=le;_=h._injector??_;const kt=h._loadedInjector??_,Tr=function Ge(p){return p.children?p.children:p.loadChildren?p._loadedRoutes:[]}(h),{segmentGroup:Vr,slicedSegments:Do}=Na(C,wt,mn,Tr.filter((ri=>void 0===ri.redirectTo)),this.relativeLinkResolution);if(0===Do.length&&Vr.hasChildren())return this.processChildren(kt,Tr,Vr).pipe((0,nt.U)((ri=>null===ri?null:[new si(je,ri)])));if(0===Tr.length&&0===Do.length)return(0,z.of)([new si(je,[])]);const Ji=qi(h)===k;return this.processSegment(kt,Tr,Vr,Do,Ji?Gt:k).pipe((0,nt.U)((ri=>null===ri?null:[new si(je,ri)])))})))}}function dt(p){const _=p.value.routeConfig;return _&&""===_.path&&void 0===_.redirectTo}function Jt(p){const _=[],h=new Set;for(const C of p){if(!dt(C)){_.push(C);continue}const S=_.find((k=>C.value.routeConfig===k.value.routeConfig));void 0!==S?(S.children.push(...C.children),h.add(S)):_.push(C)}for(const C of h){const S=Jt(C.children);_.push(new si(C.value,S))}return _.filter((C=>!h.has(C)))}function Bn(p){let _=p;for(;_._sourceSegment;)_=_._sourceSegment;return _}function Kn(p){let _=p,h=_._segmentIndexShift??0;for(;_._sourceSegment;)_=_._sourceSegment,h+=_._segmentIndexShift??0;return h-1}function Ar(p){return p.data||{}}function yr(p){return p.resolve||{}}function xs(p){return"string"==typeof p.title||null===p.title}function As(p){return Pt((_=>{const h=p(_);return h?(0,v.D)(h).pipe((0,nt.U)((()=>_))):(0,z.of)(_)}))}let bl=(()=>{class p{buildTitle(h){let C,S=h.root;for(;void 0!==S;)C=this.getResolvedTitleForRoute(S)??C,S=S.children.find((k=>k.outlet===Gt));return C}getResolvedTitleForRoute(h){return h.data[Kr]}}return p.ɵfac=function(h){return new(h||p)},p.ɵprov=o.Yz7({token:p,factory:function(){return(0,o.f3M)(no)},providedIn:"root"}),p})(),no=(()=>{class p extends bl{constructor(h){super(),this.title=h}updateTitle(h){const C=this.buildTitle(h);void 0!==C&&this.title.setTitle(C)}}return p.ɵfac=function(h){return new(h||p)(o.LFG(Cr.Dx))},p.ɵprov=o.Yz7({token:p,factory:p.ɵfac,providedIn:"root"}),p})();class Is{}class Fa extends class rl{shouldDetach(_){return!1}store(_,h){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,h){return _.routeConfig===h.routeConfig}}{}const Rs=new o.OlP("",{providedIn:"root",factory:()=>({})}),pi=new o.OlP("ROUTES");let La=(()=>{class p{constructor(h,C){this.injector=h,this.compiler=C,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,z.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const C=rt(h.loadComponent()).pipe(Gn((k=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=k})),(0,Xr.x)((()=>{this.componentLoaders.delete(h)}))),S=new be(C,(()=>new X.x)).pipe(Ie());return this.componentLoaders.set(h,S),S}loadChildren(h,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,z.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const k=this.loadModuleFactoryOrRoutes(C.loadChildren).pipe((0,nt.U)((le=>{this.onLoadEndListener&&this.onLoadEndListener(C);let je,wt,mn=!1;Array.isArray(le)?wt=le:(je=le.create(h).injector,wt=G(je.get(pi,[],o.XFs.Self|o.XFs.Optional)));return{routes:wt.map(Es),injector:je}})),(0,Xr.x)((()=>{this.childrenLoaders.delete(C)}))),te=new be(k,(()=>new X.x)).pipe(Ie());return this.childrenLoaders.set(C,te),te}loadModuleFactoryOrRoutes(h){return rt(h()).pipe((0,ir.z)((C=>C instanceof o.YKP||Array.isArray(C)?(0,z.of)(C):(0,v.D)(this.compiler.compileModuleAsync(C)))))}}return p.ɵfac=function(h){return new(h||p)(o.LFG(o.zs3),o.LFG(o.Sil))},p.ɵprov=o.Yz7({token:p,factory:p.ɵfac,providedIn:"root"}),p})();class Ql{}class Dl{shouldProcessUrl(_){return!0}extract(_){return _}merge(_,h){return _}}function Ys(p){throw p}function fs(p,_,h){return _.parse("/")}const El={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},qs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Oo(){const p=(0,o.f3M)(hn),_=(0,o.f3M)(Ri),h=(0,o.f3M)(Ne.Ye),C=(0,o.f3M)(o.zs3),S=(0,o.f3M)(o.Sil),k=(0,o.f3M)(pi,{optional:!0})??[],te=(0,o.f3M)(Rs,{optional:!0})??{},le=(0,o.f3M)(no),je=(0,o.f3M)(bl,{optional:!0}),wt=(0,o.f3M)(Ql,{optional:!0}),mn=(0,o.f3M)(Is,{optional:!0}),kt=new ui(null,p,_,h,C,S,G(k));return wt&&(kt.urlHandlingStrategy=wt),mn&&(kt.routeReuseStrategy=mn),kt.titleStrategy=je??le,function pa(p,_){p.errorHandler&&(_.errorHandler=p.errorHandler),p.malformedUriErrorHandler&&(_.malformedUriErrorHandler=p.malformedUriErrorHandler),p.onSameUrlNavigation&&(_.onSameUrlNavigation=p.onSameUrlNavigation),p.paramsInheritanceStrategy&&(_.paramsInheritanceStrategy=p.paramsInheritanceStrategy),p.relativeLinkResolution&&(_.relativeLinkResolution=p.relativeLinkResolution),p.urlUpdateStrategy&&(_.urlUpdateStrategy=p.urlUpdateStrategy),p.canceledNavigationResolution&&(_.canceledNavigationResolution=p.canceledNavigationResolution)}(te,kt),kt}let ui=(()=>{class p{constructor(h,C,S,k,te,le,je){this.rootComponentType=h,this.urlSerializer=C,this.rootContexts=S,this.location=k,this.config=je,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new X.x,this.errorHandler=Ys,this.malformedUriErrorHandler=fs,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,z.of)(void 0),this.urlHandlingStrategy=new Dl,this.routeReuseStrategy=new Fa,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=te.get(La),this.configLoader.onLoadEndListener=Tr=>this.triggerEvent(new so(Tr)),this.configLoader.onLoadStartListener=Tr=>this.triggerEvent(new Wi(Tr)),this.ngModule=te.get(o.h0i),this.console=te.get(o.c2e);const kt=te.get(o.R0b);this.isNgZoneEnabled=kt instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(je),this.currentUrlTree=function $t(){return new Zt(new At([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=fr(this.currentUrlTree,this.rootComponentType),this.transitions=new K({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.ɵrouterPageId}setupNavigations(h){const C=this.events;return h.pipe((0,dn.h)((S=>0!==S.id)),(0,nt.U)((S=>({...S,extractedUrl:this.urlHandlingStrategy.extract(S.rawUrl)}))),Pt((S=>{let k=!1,te=!1;return(0,z.of)(S).pipe(Gn((le=>{this.currentNavigation={id:le.id,initialUrl:le.rawUrl,extractedUrl:le.extractedUrl,trigger:le.source,extras:le.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),Pt((le=>{const je=this.browserUrlTree.toString(),wt=!this.navigated||le.extractedUrl.toString()!==je||je!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||wt)&&this.urlHandlingStrategy.shouldProcessUrl(le.rawUrl))return il(le.source)&&(this.browserUrlTree=le.extractedUrl),(0,z.of)(le).pipe(Pt((kt=>{const Tr=this.transitions.getValue();return C.next(new ct(kt.id,this.serializeUrl(kt.extractedUrl),kt.source,kt.restoredState)),Tr!==this.transitions.getValue()?Ce.E:Promise.resolve(kt)})),function to(p,_,h,C){return Pt((S=>function Ws(p,_,h,C,S){return new tl(p,_,h,C,S).apply()}(p,_,h,S.extractedUrl,C).pipe((0,nt.U)((k=>({...S,urlAfterRedirects:k}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Gn((kt=>{this.currentNavigation={...this.currentNavigation,finalUrl:kt.urlAfterRedirects},S.urlAfterRedirects=kt.urlAfterRedirects})),function Lr(p,_,h,C,S,k){return(0,ir.z)((te=>function D(p,_,h,C,S,k,te="emptyOnly",le="legacy"){return new L(p,_,h,C,S,te,le,k).recognize().pipe(Pt((je=>null===je?function I(p){return new ue.y((_=>_.error(p)))}(new w):(0,z.of)(je))))}(p,_,h,te.urlAfterRedirects,C.serialize(te.urlAfterRedirects),C,S,k).pipe((0,nt.U)((le=>({...te,targetSnapshot:le}))))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Gn((kt=>{if(S.targetSnapshot=kt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!kt.extras.skipLocationChange){const Vr=this.urlHandlingStrategy.merge(kt.urlAfterRedirects,kt.rawUrl);this.setBrowserUrl(Vr,kt)}this.browserUrlTree=kt.urlAfterRedirects}const Tr=new Fr(kt.id,this.serializeUrl(kt.extractedUrl),this.serializeUrl(kt.urlAfterRedirects),kt.targetSnapshot);C.next(Tr)})));if(wt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Tr,extractedUrl:Vr,source:Do,restoredState:Ji,extras:ri}=le,ru=new ct(Tr,this.serializeUrl(Vr),Do,Ji);C.next(ru);const ya=fr(Vr,this.rootComponentType).snapshot;return S={...le,targetSnapshot:ya,urlAfterRedirects:Vr,extras:{...ri,skipLocationChange:!1,replaceUrl:!1}},(0,z.of)(S)}return this.rawUrlTree=le.rawUrl,le.resolve(null),Ce.E})),Gn((le=>{const je=new Qr(le.id,this.serializeUrl(le.extractedUrl),this.serializeUrl(le.urlAfterRedirects),le.targetSnapshot);this.triggerEvent(je)})),(0,nt.U)((le=>S={...le,guards:bi(le.targetSnapshot,le.currentSnapshot,this.rootContexts)})),function us(p,_){return(0,ir.z)((h=>{const{targetSnapshot:C,currentSnapshot:S,guards:{canActivateChecks:k,canDeactivateChecks:te}}=h;return 0===te.length&&0===k.length?(0,z.of)({...h,guardsResult:!0}):function Cl(p,_,h,C){return(0,v.D)(p).pipe((0,ir.z)((S=>function Ia(p,_,h,C,S){const k=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,z.of)(!0);const te=k.map((le=>{const je=Fi(_)??S,wt=Sr(le,je);return rt(function _r(p){return p&&E(p.canDeactivate)}(wt)?wt.canDeactivate(p,_,h,C):je.runInContext((()=>wt(p,_,h,C)))).pipe(an())}));return(0,z.of)(te).pipe(fi())}(S.component,S.route,h,_,C))),an((S=>!0!==S),!0))}(te,C,S,p).pipe((0,ir.z)((le=>le&&function H(p){return"boolean"==typeof p}(le)?function Ss(p,_,h,C){return(0,v.D)(_).pipe((0,or.b)((S=>qe(function vo(p,_){return null!==p&&_&&_(new Ro(p)),(0,z.of)(!0)}(S.route.parent,C),function Ts(p,_){return null!==p&&_&&_(new aa(p)),(0,z.of)(!0)}(S.route,C),function wl(p,_,h){const C=_[_.length-1],k=_.slice(0,_.length-1).reverse().map((te=>function yo(p){const _=p.routeConfig?p.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:p,guards:_}:null}(te))).filter((te=>null!==te)).map((te=>Ze((()=>{const le=te.guards.map((je=>{const wt=Fi(te.node)??h,mn=Sr(je,wt);return rt(function Dr(p){return p&&E(p.canActivateChild)}(mn)?mn.canActivateChild(C,p):wt.runInContext((()=>mn(C,p)))).pipe(an())}));return(0,z.of)(le).pipe(fi())}))));return(0,z.of)(k).pipe(fi())}(p,S.path,h),function Ps(p,_,h){const C=_.routeConfig?_.routeConfig.canActivate:null;if(!C||0===C.length)return(0,z.of)(!0);const S=C.map((k=>Ze((()=>{const te=Fi(_)??h,le=Sr(k,te);return rt(function Wt(p){return p&&E(p.canActivate)}(le)?le.canActivate(_,p):te.runInContext((()=>le(_,p)))).pipe(an())}))));return(0,z.of)(S).pipe(fi())}(p,S.route,h)))),an((S=>!0!==S),!0))}(C,k,p,_):(0,z.of)(le))),(0,nt.U)((le=>({...h,guardsResult:le}))))}))}(this.ngModule.injector,(le=>this.triggerEvent(le))),Gn((le=>{if(S.guardsResult=le.guardsResult,tn(le.guardsResult))throw qo(0,le.guardsResult);const je=new jr(le.id,this.serializeUrl(le.extractedUrl),this.serializeUrl(le.urlAfterRedirects),le.targetSnapshot,!!le.guardsResult);this.triggerEvent(je)})),(0,dn.h)((le=>!!le.guardsResult||(this.restoreHistory(le),this.cancelNavigationTransition(le,"",3),!1))),As((le=>{if(le.guards.canActivateChecks.length)return(0,z.of)(le).pipe(Gn((je=>{const wt=new Ci(je.id,this.serializeUrl(je.extractedUrl),this.serializeUrl(je.urlAfterRedirects),je.targetSnapshot);this.triggerEvent(wt)})),Pt((je=>{let wt=!1;return(0,z.of)(je).pipe(function bo(p,_){return(0,ir.z)((h=>{const{targetSnapshot:C,guards:{canActivateChecks:S}}=h;if(!S.length)return(0,z.of)(h);let k=0;return(0,v.D)(S).pipe((0,or.b)((te=>function Ei(p,_,h,C){const S=p.routeConfig,k=p._resolve;return void 0!==S?.title&&!xs(S)&&(k[Kr]=S.title),function Qi(p,_,h,C){const S=function hi(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}(p);if(0===S.length)return(0,z.of)({});const k={};return(0,v.D)(S).pipe((0,ir.z)((te=>function ds(p,_,h,C){const S=Fi(_)??C,k=Sr(p,S);return rt(k.resolve?k.resolve(_,h):S.runInContext((()=>k(_,h))))}(p[te],_,h,C).pipe(an(),Gn((le=>{k[te]=le}))))),Hr(1),function Zr(p){return(0,nt.U)((()=>p))}(k),zr((te=>Pi(te)?Ce.E:mt(te))))}(k,p,_,C).pipe((0,nt.U)((te=>(p._resolvedData=te,p.data=js(p,h).resolve,S&&xs(S)&&(p.data[Kr]=S.title),null))))}(te.route,C,p,_))),Gn((()=>k++)),Hr(1),(0,ir.z)((te=>k===S.length?(0,z.of)(h):Ce.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),Gn({next:()=>wt=!0,complete:()=>{wt||(this.restoreHistory(je),this.cancelNavigationTransition(je,"",2))}}))})),Gn((je=>{const wt=new oo(je.id,this.serializeUrl(je.extractedUrl),this.serializeUrl(je.urlAfterRedirects),je.targetSnapshot);this.triggerEvent(wt)})))})),As((le=>{const je=wt=>{const mn=[];wt.routeConfig?.loadComponent&&!wt.routeConfig._loadedComponent&&mn.push(this.configLoader.loadComponent(wt.routeConfig).pipe(Gn((kt=>{wt.component=kt})),(0,nt.U)((()=>{}))));for(const kt of wt.children)mn.push(...je(kt));return mn};return Xe(je(le.targetSnapshot.root)).pipe(Sn(),(0,er.q)(1))})),As((()=>this.afterPreactivation())),(0,nt.U)((le=>{const je=function ua(p,_,h){const C=Wr(p,_._root,h?h._root:void 0);return new No(C,_)}(this.routeReuseStrategy,le.targetSnapshot,le.currentRouterState);return S={...le,targetRouterState:je}})),Gn((le=>{this.currentUrlTree=le.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(le.urlAfterRedirects,le.rawUrl),this.routerState=le.targetRouterState,"deferred"===this.urlUpdateStrategy&&(le.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,le),this.browserUrlTree=le.urlAfterRedirects)})),((p,_,h)=>(0,nt.U)((C=>(new da(_,C.targetRouterState,C.currentRouterState,h).activate(p),C))))(this.rootContexts,this.routeReuseStrategy,(le=>this.triggerEvent(le))),Gn({next(){k=!0},complete(){k=!0}}),(0,Xr.x)((()=>{k||te||this.cancelNavigationTransition(S,"",1),this.currentNavigation?.id===S.id&&(this.currentNavigation=null)})),zr((le=>{if(te=!0,Ds(le)){lr(le)||(this.navigated=!0,this.restoreHistory(S,!0));const je=new un(S.id,this.serializeUrl(S.extractedUrl),le.message,le.cancellationCode);if(C.next(je),lr(le)){const wt=this.urlHandlingStrategy.merge(le.url,this.rawUrlTree),mn={skipLocationChange:S.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||il(S.source)};this.scheduleNavigation(wt,"imperative",null,mn,{resolve:S.resolve,reject:S.reject,promise:S.promise})}else S.resolve(!1)}else{this.restoreHistory(S,!0);const je=new bn(S.id,this.serializeUrl(S.extractedUrl),le,S.targetSnapshot??void 0);C.next(je);try{S.resolve(this.errorHandler(le))}catch(wt){S.reject(wt)}}return Ce.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 C="popstate"===h.type?"popstate":"hashchange";"popstate"===C&&setTimeout((()=>{const S={replaceUrl:!0},k=h.state?.navigationId?h.state:null;if(k){const le={...k};delete le.navigationId,delete le.ɵrouterPageId,0!==Object.keys(le).length&&(S.state=le)}const te=this.parseUrl(h.url);this.scheduleNavigation(te,C,k,S)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(h){this.events.next(h)}resetConfig(h){this.config=h.map(Es),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,C={}){const{relativeTo:S,queryParams:k,fragment:te,queryParamsHandling:le,preserveFragment:je}=C,wt=S||this.routerState.root,mn=je?this.currentUrlTree.fragment:te;let kt=null;switch(le){case"merge":kt={...this.currentUrlTree.queryParams,...k};break;case"preserve":kt=this.currentUrlTree.queryParams;break;default:kt=k||null}return null!==kt&&(kt=this.removeEmptyProps(kt)),xr(wt,this.currentUrlTree,h,kt,mn??null)}navigateByUrl(h,C={skipLocationChange:!1}){const S=tn(h)?h:this.parseUrl(h),k=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(k,"imperative",null,C)}navigate(h,C={skipLocationChange:!1}){return function Zs(p){for(let _=0;_<p.length;_++){if(null==p[_])throw new o.vHH(4008,false)}}(h),this.navigateByUrl(this.createUrlTree(h,C),C)}serializeUrl(h){return this.urlSerializer.serialize(h)}parseUrl(h){let C;try{C=this.urlSerializer.parse(h)}catch(S){C=this.malformedUriErrorHandler(S,this.urlSerializer,h)}return C}isActive(h,C){let S;if(S=!0===C?{...El}:!1===C?{...qs}:C,tn(h))return en(this.currentUrlTree,h,S);const k=this.parseUrl(h);return en(this.currentUrlTree,k,S)}removeEmptyProps(h){return Object.keys(h).reduce(((C,S)=>{const k=h[S];return null!=k&&(C[S]=k),C}),{})}processNavigations(){this.navigations.subscribe((h=>{this.navigated=!0,this.lastSuccessfulId=h.id,this.currentPageId=h.targetPageId,this.events.next(new ut(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),h.resolve(!0)}),(h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)}))}scheduleNavigation(h,C,S,k,te){if(this.disposed)return Promise.resolve(!1);let le,je,wt;te?(le=te.resolve,je=te.reject,wt=te.promise):wt=new Promise(((Tr,Vr)=>{le=Tr,je=Vr}));const mn=++this.navigationId;let kt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(S=this.location.getState()),kt=S&&S.ɵrouterPageId?S.ɵrouterPageId:k.replaceUrl||k.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):kt=0,this.setTransition({id:mn,targetPageId:kt,source:C,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:h,extras:k,resolve:le,reject:je,promise:wt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),wt.catch((Tr=>Promise.reject(Tr)))}setBrowserUrl(h,C){const S=this.urlSerializer.serialize(h),k={...C.extras.state,...this.generateNgRouterState(C.id,C.targetPageId)};this.location.isCurrentPathEqualTo(S)||C.extras.replaceUrl?this.location.replaceState(S,"",k):this.location.go(S,"",k)}restoreHistory(h,C=!1){if("computed"===this.canceledNavigationResolution){const S=this.currentPageId-h.targetPageId;"popstate"!==h.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===S?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===S&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(S)}else"replace"===this.canceledNavigationResolution&&(C&&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,C,S){const k=new un(h.id,this.serializeUrl(h.extractedUrl),C,S);this.triggerEvent(k),h.resolve(!1)}generateNgRouterState(h,C){return"computed"===this.canceledNavigationResolution?{navigationId:h,"ɵrouterPageId":C}:{navigationId:h}}}return p.ɵfac=function(h){o.$Z()},p.ɵprov=o.Yz7({token:p,factory:function(){return Oo()},providedIn:"root"}),p})();function il(p){return"imperative"!==p}let ol=(()=>{class p{constructor(h,C,S,k,te){this.router=h,this.route=C,this.tabIndexAttribute=S,this.renderer=k,this.el=te,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new X.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(h){this._preserveFragment=(0,o.D6c)(h)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(h){this._skipLocationChange=(0,o.D6c)(h)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(h){this._replaceUrl=(0,o.D6c)(h)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(h){if(null!=this.tabIndexAttribute)return;const C=this.renderer,S=this.el.nativeElement;null!==h?C.setAttribute(S,"tabindex",h):C.removeAttribute(S,"tabindex")}ngOnChanges(h){this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}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:this.preserveFragment})}}return p.ɵfac=function(h){return new(h||p)(o.Y36(ui),o.Y36(ao),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq))},p.ɵdir=o.lG2({type:p,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(h,C){1&h&&o.NdJ("click",(function(){return C.onClick()}))},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[o.TTD]}),p})();class ko{}let $=(()=>{class p{constructor(h,C,S,k,te){this.router=h,this.injector=S,this.preloadingStrategy=k,this.loader=te}setUpPreloading(){this.subscription=this.router.events.pipe((0,dn.h)((h=>h instanceof ut)),(0,or.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,C){const S=[];for(const k of C){k.providers&&!k._injector&&(k._injector=(0,o.MMx)(k.providers,h,`Route: ${k.path}`));const te=k._injector??h,le=k._loadedInjector??te;k.loadChildren&&!k._loadedRoutes&&void 0===k.canLoad||k.loadComponent&&!k._loadedComponent?S.push(this.preloadConfig(te,k)):(k.children||k._loadedRoutes)&&S.push(this.processRoutes(le,k.children??k._loadedRoutes))}return(0,v.D)(S).pipe((0,et.J)())}preloadConfig(h,C){return this.preloadingStrategy.preload(C,(()=>{let S;S=C.loadChildren&&void 0===C.canLoad?this.loader.loadChildren(h,C):(0,z.of)(null);const k=S.pipe((0,ir.z)((te=>null===te?(0,z.of)(void 0):(C._loadedRoutes=te.routes,C._loadedInjector=te.injector,this.processRoutes(te.injector??h,te.routes)))));if(C.loadComponent&&!C._loadedComponent){const te=this.loader.loadComponent(C);return(0,v.D)([k,te]).pipe((0,et.J)())}return k}))}}return p.ɵfac=function(h){return new(h||p)(o.LFG(ui),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(ko),o.LFG(La))},p.ɵprov=o.Yz7({token:p,factory:p.ɵfac,providedIn:"root"}),p})();const Yr=new o.OlP("");let Ir=(()=>{class p{constructor(h,C,S={}){this.router=h,this.viewportScroller=C,this.options=S,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},S.scrollPositionRestoration=S.scrollPositionRestoration||"disabled",S.anchorScrolling=S.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 ct?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof ut&&(this.lastId=h.id,this.scheduleScrollEvent(h,this.router.parseUrl(h.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((h=>{h instanceof Hs&&(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,C){this.router.triggerEvent(new Hs(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return p.ɵfac=function(h){o.$Z()},p.ɵprov=o.Yz7({token:p,factory:p.ɵfac}),p})();function ro(p,_){return{"ɵkind":p,"ɵproviders":_}}function Tl(p){return[{provide:pi,multi:!0,useValue:p}]}function Xl(){const p=(0,o.f3M)(o.zs3);return _=>{const h=p.get(o.z2F);if(_!==h.components[0])return;const C=p.get(ui),S=p.get(eu);1===p.get(tu)&&C.initialNavigation(),p.get(gi,null,o.XFs.Optional)?.setUpPreloading(),p.get(Yr,null,o.XFs.Optional)?.init(),C.resetRootComponentType(h.componentTypes[0]),S.closed||(S.next(),S.unsubscribe())}}const eu=new o.OlP("",{factory:()=>new X.x}),tu=new o.OlP("",{providedIn:"root",factory:()=>1});const gi=new o.OlP("");function Pl(p){return ro(0,[{provide:gi,useExisting:$},{provide:ko,useExisting:p}])}const ni=new o.OlP("ROUTER_FORROOT_GUARD"),hs=[Ne.Ye,{provide:hn,useClass:on},{provide:ui,useFactory:Oo},Ri,{provide:ao,useFactory:function Jl(p){return p.routerState.root},deps:[ui]},La];function ma(){return new o.PXZ("Router",ui)}let Ua=(()=>{class p{constructor(h){}static forRoot(h,C){return{ngModule:p,providers:[hs,[],Tl(h),{provide:ni,useFactory:Fs,deps:[[ui,new o.FiY,new o.tp0]]},{provide:Rs,useValue:C||{}},C?.useHash?{provide:Ne.S$,useClass:Ne.Do}:{provide:Ne.S$,useClass:Ne.b0},{provide:Yr,useFactory:()=>{const p=(0,o.f3M)(ui),_=(0,o.f3M)(Ne.EM),h=(0,o.f3M)(Rs);return h.scrollOffset&&_.setOffset(h.scrollOffset),new Ir(p,_,h)}},C?.preloadingStrategy?Pl(C.preloadingStrategy).ɵproviders:[],{provide:o.PXZ,multi:!0,useFactory:ma},C?.initialNavigation?Iu(C):[],[{provide:xo,useFactory:Xl},{provide:o.tb,multi:!0,useExisting:xo}]]}}static forChild(h){return{ngModule:p,providers:[Tl(h)]}}}return p.ɵfac=function(h){return new(h||p)(o.LFG(ni,8))},p.ɵmod=o.oAB({type:p}),p.ɵinj=o.cJS({imports:[$r]}),p})();function Fs(p){return"guarded"}function Iu(p){return["disabled"===p.initialNavigation?ro(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const _=(0,o.f3M)(ui);return()=>{_.setUpLocationChangeListener()}}},{provide:tu,useValue:2}]).ɵproviders:[],"enabledBlocking"===p.initialNavigation?ro(2,[{provide:tu,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:_=>{const h=_.get(Ne.V_,Promise.resolve());let C=!1;return()=>h.then((()=>new Promise((k=>{const te=_.get(ui),le=_.get(eu);(function S(k){_.get(ui).events.pipe((0,dn.h)((le=>le instanceof ut||le instanceof un||le instanceof bn)),(0,nt.U)((le=>le instanceof ut||le instanceof un&&(0===le.code||1===le.code)&&null)),(0,dn.h)((le=>null!==le)),(0,er.q)(1)).subscribe((()=>{k()}))})((()=>{k(!0),C=!0})),te.afterPreactivation=()=>(k(!0),C||le.closed?(0,z.of)(void 0):le),te.initialNavigation()}))))}}]).ɵproviders:[]]}const xo=new o.OlP("")},5419:(xe,J,P)=>{"use strict";P.d(J,{A4:()=>me});var o=P(1571),v=P(529),z=P(4004),X=P(109),K=P(3022);const q={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 oe{constructor(be){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=be.protocol;let Ne=be.port;Ne||(function pe(Ie){return/^https:$/i.test(Ie)}(this.protocol)?Ne="443":function re(Ie){return/^http:$/i.test(Ie)}(this.protocol)&&(Ne="80")),this.domain=be.hostname,this.port=parseInt(Ne,10),this.path=be.pathname;const nt=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?q[2087]:/^cpanel\./.test(this.domain)?q[2083]:/^webmail\./.test(this.domain)?q[2095]:q[Ne.toString()]||q[nt[2]]||"whostmgr",this.securityToken=nt[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const er=this.path.split("/");this.theme=er[3]}this.themePath="";let Pt=this.securityToken+"/";this.isUnprotected?Pt="/":this.isCpanel?Pt+="frontend/"+this.theme+"/":this.isWebmail?Pt+="webmail/"+this.theme+"/":this.isOther&&(Pt="/"),this.themePath=Pt,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 ue(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(be){return this.themePath+be}buildFullPath(be){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(be)}buildTokenPath(be){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+be}}class Se{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 Ae=P(4235),Le=P.n(Ae),ce=P(1305),Xe=P.n(ce),Oe=(()=>{return(Ie=Oe||(Oe={}))[Ie.Error=0]="Error",Ie[Ie.Warning=1]="Warning",Ie[Ie.Information=2]="Information",Ie[Ie.Unknown=3]="Unknown",Oe;var Ie})();const $e={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class qe{constructor(be){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={},be.chunk&&(this.isPaged=!0,this.record=parseInt(be.chunk.start,10)||0,this.page=parseInt(be.chunk.current,10)||0,this.pageSize=parseInt(be.chunk.size,10)||0,this.totalPages=parseInt(be.chunk.chunks,10)||0,this.totalRecords=parseInt(be.chunk.records,10)||0),be.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(be.filter.filtered,10)||0);const Ne=new Set(["paginate","filter"]);Object.keys(be).filter((nt=>!Ne.has(nt))).forEach((nt=>{this.properties[nt]=be[nt]}))}}class Te extends class tt{constructor(be,Ne){if(this.status=0,this.messages=[],this.meta=function et(Ie){return JSON.parse(JSON.stringify(Ie))}($e),this.options={keepUnprocessedResponse:!1},Le()(be)||Xe()(be))throw new Error("The response was unexpectedly undefined or null");Ne&&(this.options=Ne),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(be)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(be){return this.messages.filter((Ne=>Ne.type===be))}get errors(){return this._getMessages(Oe.Error)}get warnings(){return this._getMessages(Oe.Warning)}get infoMessages(){return this._getMessages(Oe.Information)}_hasMessages(be){return this.messages.filter((Ne=>Ne.type===be)).length>0}get hasErrors(){return this._hasMessages(Oe.Error)}get hasWarnings(){return this._hasMessages(Oe.Warning)}get hasInfoMessages(){return this._hasMessages(Oe.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(be){if(this.status=0,typeof be.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(be.result,10)}_parseMessages(be){if(!be.result){const Ne=[be.reason];Ne&&Ne.length&&Ne.forEach((nt=>{this.messages.push({type:Oe.Error,message:nt})}))}}_reduce_list_data(be){if("object"==typeof be&&!(be instanceof Array)){const Ne=Object.keys(be);if(1===Ne.length){const nt=be[Ne[0]];nt?nt instanceof Array&&(be=nt):be=[]}}return be}constructor(be,Ne){if(super(be,Ne),!be)throw new Error("Response object should be defined.");be.metadata&&(this._parseStatus(be.metadata),this._parseMessages(be.metadata),this.meta=new qe(be.metadata)),this.data=this._reduce_list_data(be.data)}}let me=(()=>{class Ie{constructor(Ne){this.http=Ne}get(Ne){const nt=Ne.generate({verb:X.F.GET,encoder:new K.VN}),Pt=this.packageUrl(nt);return this.http.get(Pt,{headers:this.packageHeaders(nt)}).pipe((0,z.U)(this.packageResponseHandler(Pt)))}post(Ne){const nt=Ne.generate(),Pt=this.packageUrl(nt);return this.http.post(Pt,nt.body,{headers:this.packageHeaders(nt)}).pipe((0,z.U)(this.packageResponseHandler(Pt)))}packageHeaders(Ne){const nt={};return Ne.headers.forEach((Pt=>{nt[Pt.name]=Pt.value})),new v.WM(nt)}packageUrl(Ne){return new oe(new Se).buildTokenPath(Ne.url)}packageResponseHandler(Ne){return nt=>{const Pt=new Te(nt);return Pt.meta.properties.url=Ne,Pt}}}return Ie.ɵfac=function(Ne){return new(Ne||Ie)(o.LFG(v.eN))},Ie.ɵprov=o.Yz7({token:Ie,factory:Ie.ɵfac,providedIn:"root"}),Ie})()},348:(xe,J,P)=>{"use strict";P.d(J,{m:()=>K});var o=P(1571),v=P(269);const z=new o.OlP("window"),X=pe=>new v.g(pe.CLDR,pe.LEXICON);let K=(()=>{class pe{}return pe.ɵfac=function(ue){return new(ue||pe)},pe.ɵmod=o.oAB({type:pe}),pe.ɵinj=o.cJS({providers:[{provide:z,useValue:window},{provide:v.g,useFactory:X,deps:[z]}]}),pe})()},9415:(xe,J,P)=>{"use strict";P.d(J,{xV:()=>Iu,zr:()=>xo,FP:()=>Fs,hF:()=>je,CQ:()=>wt,nM:()=>Jl,c9:()=>qt,Oc:()=>Ua,df:()=>_a,k6:()=>ll,RV:()=>mi,Qt:()=>ou,u3:()=>Nu,gS:()=>mn,t8:()=>kt,Gy:()=>Oi,Yg:()=>ps,MF:()=>p,Op:()=>_});var o=P(1571),v=P(6895),z=P(7579),X=P(9300),K=P(4482),pe=P(5403),re=P(8421),ue=P(5032),q=P(4986),Se=P(4671);function Le(m,c){return m===c}var ce=P(433),Xe=P(348),Oe=P(269),$e=P(7340),et=P(1481);function qe(m){return new o.vHH(3e3,!1)}function Ve(){return typeof window<"u"&&typeof window.document<"u"}function Re(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function He(m){switch(m.length){case 0:return new $e.ZN;case 1:return m[0];default:return new $e.ZE(m)}}function fe(m,c,l,g,x=new Map,F=new Map){const se=[],ge=[];let ke=-1,Je=null;if(g.forEach((Ft=>{const Yt=Ft.get("offset"),nr=Yt==ke,Rn=nr&&Je||new Map;Ft.forEach(((Dn,Ln)=>{let br=Ln,Br=Dn;if("offset"!==Ln)switch(br=c.normalizePropertyName(br,se),Br){case $e.k1:Br=x.get(Ln);break;case $e.l3:Br=F.get(Ln);break;default:Br=c.normalizeStyleValue(Ln,br,Br,se)}Rn.set(br,Br)})),nr||ge.push(Rn),Je=Rn,ke=Yt})),se.length)throw function zr(m){return new o.vHH(3502,!1)}();return ge}function G(m,c,l,g){switch(c){case"start":m.onStart((()=>g(l&&W(l,"start",m))));break;case"done":m.onDone((()=>g(l&&W(l,"done",m))));break;case"destroy":m.onDestroy((()=>g(l&&W(l,"destroy",m))))}}function W(m,c,l){const F=Ee(m.element,m.triggerName,m.fromState,m.toState,c||m.phaseName,l.totalTime??m.totalTime,!!l.disabled),se=m._data;return null!=se&&(F._data=se),F}function Ee(m,c,l,g,x="",F=0,se){return{element:m,triggerName:c,fromState:l,toState:g,phaseName:x,totalTime:F,disabled:!!se}}function Pe(m,c,l){let g=m.get(c);return g||m.set(c,g=l),g}function rt(m){const c=m.indexOf(":");return[m.substring(1,c),m.slice(c+1)]}let pt=(m,c)=>!1,$t=(m,c,l)=>[],_t=null;function Ot(m){const c=m.parentNode||m.host;return c===_t?null:c}(Re()||typeof Element<"u")&&(Ve()?(_t=(()=>document.documentElement)(),pt=(m,c)=>{for(;c;){if(c===m)return!0;c=Ot(c)}return!1}):pt=(m,c)=>m.contains(c),$t=(m,c,l)=>{if(l)return Array.from(m.querySelectorAll(c));const g=m.querySelector(c);return g?[g]:[]});let Vt=null,xt=!1;const Zt=pt,At=$t;let Nt=(()=>{class m{validateStyleProperty(l){return function It(m){Vt||(Vt=function $n(){return typeof document<"u"?document.body:null}()||{},xt=!!Vt.style&&"WebkitAppearance"in Vt.style);let c=!0;return Vt.style&&!function Mn(m){return"ebkit"==m.substring(1,6)}(m)&&(c=m in Vt.style,!c&&xt&&(c="Webkit"+m.charAt(0).toUpperCase()+m.slice(1)in Vt.style)),c}(l)}matchesElement(l,g){return!1}containsElement(l,g){return Zt(l,g)}getParentElement(l){return Ot(l)}query(l,g,x){return At(l,g,x)}computeStyle(l,g,x){return x||""}animate(l,g,x,F,se,ge=[],ke){return new $e.ZN(x,F)}}return m.ɵfac=function(l){return new(l||m)},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac}),m})(),yn=(()=>{class m{}return m.NOOP=new Nt,m})();const gr="ng-enter",wr="ng-leave",Wn="ng-trigger",Nn=".ng-trigger",mr="ng-animating",ln=".ng-animating";function we(m){if("number"==typeof m)return m;const c=m.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:ae(parseFloat(c[1]),c[2])}function ae(m,c){return"s"===c?1e3*m:m}function Y(m,c,l){return m.hasOwnProperty("duration")?m:function U(m,c,l){let x,F=0,se="";if("string"==typeof m){const ge=m.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ge)return c.push(qe()),{duration:0,delay:0,easing:""};x=ae(parseFloat(ge[1]),ge[2]);const ke=ge[3];null!=ke&&(F=ae(parseFloat(ke),ge[4]));const Je=ge[5];Je&&(se=Je)}else x=m;if(!l){let ge=!1,ke=c.length;x<0&&(c.push(function Te(){return new o.vHH(3100,!1)}()),ge=!0),F<0&&(c.push(function Ze(){return new o.vHH(3101,!1)}()),ge=!0),ge&&c.splice(ke,0,qe())}return{duration:x,delay:F,easing:se}}(m,c,l)}function ne(m,c={}){return Object.keys(m).forEach((l=>{c[l]=m[l]})),c}function Fe(m){const c=new Map;return Object.keys(m).forEach((l=>{c.set(l,m[l])})),c}function st(m,c=new Map,l){if(l)for(let[g,x]of l)c.set(g,x);for(let[g,x]of m)c.set(g,x);return c}function Et(m,c,l){return l?c+":"+l+";":""}function ze(m){let c="";for(let l=0;l<m.style.length;l++){const g=m.style.item(l);c+=Et(0,g,m.style.getPropertyValue(g))}for(const l in m.style)m.style.hasOwnProperty(l)&&!l.startsWith("_")&&(c+=Et(0,xr(l),m.style[l]));m.setAttribute("style",c)}function vt(m,c,l){m.style&&(c.forEach(((g,x)=>{const F=tr(x);l&&!l.has(x)&&l.set(x,m.style[F]),m.style[F]=g})),Re()&&ze(m))}function St(m,c){m.style&&(c.forEach(((l,g)=>{const x=tr(g);m.style[x]=""})),Re()&&ze(m))}function zt(m){return Array.isArray(m)?1==m.length?m[0]:(0,$e.vP)(m):m}const Mt=new RegExp("{{\\s*(.+?)\\s*}}","g");function tn(m){let c=[];if("string"==typeof m){let l;for(;l=Mt.exec(m);)c.push(l[1]);Mt.lastIndex=0}return c}function Kt(m,c,l){const g=m.toString(),x=g.replace(Mt,((F,se)=>{let ge=c[se];return null==ge&&(l.push(function bt(m){return new o.vHH(3003,!1)}()),ge=""),ge.toString()}));return x==g?m:x}function qn(m){const c=[];let l=m.next();for(;!l.done;)c.push(l.value),l=m.next();return c}const In=/-+([a-z0-9])/g;function tr(m){return m.replace(In,((...c)=>c[1].toUpperCase()))}function xr(m){return m.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ar(m,c,l){switch(c.type){case 7:return m.visitTrigger(c,l);case 0:return m.visitState(c,l);case 1:return m.visitTransition(c,l);case 2:return m.visitSequence(c,l);case 3:return m.visitGroup(c,l);case 4:return m.visitAnimate(c,l);case 5:return m.visitKeyframes(c,l);case 6:return m.visitStyle(c,l);case 8:return m.visitReference(c,l);case 9:return m.visitAnimateChild(c,l);case 10:return m.visitAnimateRef(c,l);case 11:return m.visitQuery(c,l);case 12:return m.visitStagger(c,l);default:throw function mt(m){return new o.vHH(3004,!1)}()}}function Gi(m,c){return window.getComputedStyle(m)[c]}function R(m,c){const l=[];return"string"==typeof m?m.split(/\s*,\s*/).forEach((g=>function j(m,c,l){if(":"==m[0]){const ke=function V(m,c){switch(m){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,g)=>parseFloat(g)>parseFloat(l);case":decrement":return(l,g)=>parseFloat(g)<parseFloat(l);default:return c.push(function zn(m){return new o.vHH(3016,!1)}()),"* => *"}}(m,l);if("function"==typeof ke)return void c.push(ke);m=ke}const g=m.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return l.push(function Or(m){return new o.vHH(3015,!1)}()),c;const x=g[1],F=g[2],se=g[3];c.push(We(x,se));"<"==F[0]&&!("*"==x&&"*"==se)&&c.push(We(se,x))}(g,l,c))):l.push(m),l}const ie=new Set(["true","1"]),Qe=new Set(["false","0"]);function We(m,c){const l=ie.has(m)||Qe.has(m),g=ie.has(c)||Qe.has(c);return(x,F)=>{let se="*"==m||m==x,ge="*"==c||c==F;return!se&&l&&"boolean"==typeof x&&(se=x?ie.has(m):Qe.has(m)),!ge&&g&&"boolean"==typeof F&&(ge=F?ie.has(c):Qe.has(c)),se&&ge}}const ct=new RegExp("s*:selfs*,?","g");function ut(m,c,l,g){return new bn(m).build(c,l,g)}class bn{constructor(c){this._driver=c}build(c,l,g){const x=new jr(l);return this._resetContextStyleTimingState(x),ar(this,zt(c),x)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,l){let g=l.queryCount=0,x=l.depCount=0;const F=[],se=[];return"@"==c.name.charAt(0)&&l.errors.push(function Q(){return new o.vHH(3006,!1)}()),c.definitions.forEach((ge=>{if(this._resetContextStyleTimingState(l),0==ge.type){const ke=ge,Je=ke.name;Je.toString().split(/\s*,\s*/).forEach((Ft=>{ke.name=Ft,F.push(this.visitState(ke,l))})),ke.name=Je}else if(1==ge.type){const ke=this.visitTransition(ge,l);g+=ke.queryCount,x+=ke.depCount,se.push(ke)}else l.errors.push(function me(){return new o.vHH(3007,!1)}())})),{type:7,name:c.name,states:F,transitions:se,queryCount:g,depCount:x,options:null}}visitState(c,l){const g=this.visitStyle(c.styles,l),x=c.options&&c.options.params||null;if(g.containsDynamicStyles){const F=new Set,se=x||{};g.styles.forEach((ge=>{ge instanceof Map&&ge.forEach((ke=>{tn(ke).forEach((Je=>{se.hasOwnProperty(Je)||F.add(Je)}))}))})),F.size&&(qn(F.values()),l.errors.push(function Ie(m,c){return new o.vHH(3008,!1)}()))}return{type:0,name:c.name,style:g,options:x?{params:x}:null}}visitTransition(c,l){l.queryCount=0,l.depCount=0;const g=ar(this,zt(c.animation),l);return{type:1,matchers:R(c.expr,l.errors),animation:g,queryCount:l.queryCount,depCount:l.depCount,options:Wi(c.options)}}visitSequence(c,l){return{type:2,steps:c.steps.map((g=>ar(this,g,l))),options:Wi(c.options)}}visitGroup(c,l){const g=l.currentTime;let x=0;const F=c.steps.map((se=>{l.currentTime=g;const ge=ar(this,se,l);return x=Math.max(x,l.currentTime),ge}));return l.currentTime=x,{type:3,steps:F,options:Wi(c.options)}}visitAnimate(c,l){const g=function oo(m,c){if(m.hasOwnProperty("duration"))return m;if("number"==typeof m)return so(Y(m,c).duration,0,"");const l=m;if(l.split(/\s+/).some((F=>"{"==F.charAt(0)&&"{"==F.charAt(1)))){const F=so(0,0,"");return F.dynamic=!0,F.strValue=l,F}const x=Y(l,c);return so(x.duration,x.delay,x.easing)}(c.timings,l.errors);l.currentAnimateTimings=g;let x,F=c.styles?c.styles:(0,$e.oB)({});if(5==F.type)x=this.visitKeyframes(F,l);else{let se=c.styles,ge=!1;if(!se){ge=!0;const Je={};g.easing&&(Je.easing=g.easing),se=(0,$e.oB)(Je)}l.currentTime+=g.duration+g.delay;const ke=this.visitStyle(se,l);ke.isEmptyStep=ge,x=ke}return l.currentAnimateTimings=null,{type:4,timings:g,style:x,options:null}}visitStyle(c,l){const g=this._makeStyleAst(c,l);return this._validateStyleAst(g,l),g}_makeStyleAst(c,l){const g=[],x=Array.isArray(c.styles)?c.styles:[c.styles];for(let ge of x)"string"==typeof ge?ge===$e.l3?g.push(ge):l.errors.push(new o.vHH(3002,!1)):g.push(Fe(ge));let F=!1,se=null;return g.forEach((ge=>{if(ge instanceof Map&&(ge.has("easing")&&(se=ge.get("easing"),ge.delete("easing")),!F))for(let ke of ge.values())if(ke.toString().indexOf("{{")>=0){F=!0;break}})),{type:6,styles:g,easing:se,offset:c.offset,containsDynamicStyles:F,options:null}}_validateStyleAst(c,l){const g=l.currentAnimateTimings;let x=l.currentTime,F=l.currentTime;g&&F>0&&(F-=g.duration+g.delay),c.styles.forEach((se=>{"string"!=typeof se&&se.forEach(((ge,ke)=>{const Je=l.collectedStyles.get(l.currentQuerySelector),Ft=Je.get(ke);let Yt=!0;Ft&&(F!=x&&F>=Ft.startTime&&x<=Ft.endTime&&(l.errors.push(function nt(m,c,l,g,x){return new o.vHH(3010,!1)}()),Yt=!1),F=Ft.startTime),Yt&&Je.set(ke,{startTime:F,endTime:x}),l.options&&function Ut(m,c,l){const g=c.params||{},x=tn(m);x.length&&x.forEach((F=>{g.hasOwnProperty(F)||l.push(function Xt(m){return new o.vHH(3001,!1)}())}))}(ge,l.options,l.errors)}))}))}visitKeyframes(c,l){const g={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Pt(){return new o.vHH(3011,!1)}()),g;let F=0;const se=[];let ge=!1,ke=!1,Je=0;const Ft=c.steps.map((Br=>{const Li=this._makeStyleAst(Br,l);let Vi=null!=Li.offset?Li.offset:function Ci(m){if("string"==typeof m)return null;let c=null;if(Array.isArray(m))m.forEach((l=>{if(l instanceof Map&&l.has("offset")){const g=l;c=parseFloat(g.get("offset")),g.delete("offset")}}));else if(m instanceof Map&&m.has("offset")){const l=m;c=parseFloat(l.get("offset")),l.delete("offset")}return c}(Li.styles),Bi=0;return null!=Vi&&(F++,Bi=Li.offset=Vi),ke=ke||Bi<0||Bi>1,ge=ge||Bi<Je,Je=Bi,se.push(Bi),Li}));ke&&l.errors.push(function er(){return new o.vHH(3012,!1)}()),ge&&l.errors.push(function cn(){return new o.vHH(3200,!1)}());const Yt=c.steps.length;let nr=0;F>0&&F<Yt?l.errors.push(function dn(){return new o.vHH(3202,!1)}()):0==F&&(nr=1/(Yt-1));const Rn=Yt-1,Dn=l.currentTime,Ln=l.currentAnimateTimings,br=Ln.duration;return Ft.forEach(((Br,Li)=>{const Vi=nr>0?Li==Rn?1:nr*Li:se[Li],Bi=Vi*br;l.currentTime=Dn+Ln.delay+Bi,Ln.duration=Bi,this._validateStyleAst(Br,l),Br.offset=Vi,g.styles.push(Br)})),g}visitReference(c,l){return{type:8,animation:ar(this,zt(c.animation),l),options:Wi(c.options)}}visitAnimateChild(c,l){return l.depCount++,{type:9,options:Wi(c.options)}}visitAnimateRef(c,l){return{type:10,animation:this.visitReference(c.animation,l),options:Wi(c.options)}}visitQuery(c,l){const g=l.currentQuerySelector,x=c.options||{};l.queryCount++,l.currentQuery=c;const[F,se]=function Fr(m){const c=!!m.split(/\s*,\s*/).find((l=>":self"==l));return c&&(m=m.replace(ct,"")),m=m.replace(/@\*/g,Nn).replace(/@\w+/g,(l=>Nn+"-"+l.slice(1))).replace(/:animating/g,ln),[m,c]}(c.selector);l.currentQuerySelector=g.length?g+" "+F:F,Pe(l.collectedStyles,l.currentQuerySelector,new Map);const ge=ar(this,zt(c.animation),l);return l.currentQuery=null,l.currentQuerySelector=g,{type:11,selector:F,limit:x.limit||0,optional:!!x.optional,includeSelf:se,animation:ge,originalSelector:c.selector,options:Wi(c.options)}}visitStagger(c,l){l.currentQuery||l.errors.push(function ir(){return new o.vHH(3013,!1)}());const g="full"===c.timings?{duration:0,delay:0,easing:"full"}:Y(c.timings,l.errors,!0);return{type:12,animation:ar(this,zt(c.animation),l),timings:g,options:null}}}class jr{constructor(c){this.errors=c,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Wi(m){return m?(m=ne(m)).params&&(m.params=function Qr(m){return m?ne(m):null}(m.params)):m={},m}function so(m,c,l){return{duration:m,delay:c,easing:l}}function Ro(m,c,l,g,x,F,se=null,ge=!1){return{type:1,element:m,keyframes:c,preStyleProps:l,postStyleProps:g,duration:x,delay:F,totalTime:x+F,easing:se,subTimeline:ge}}class ss{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,l){let g=this._map.get(c);g||this._map.set(c,g=[]),g.push(...l)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const Hs=new RegExp(":enter","g"),Cs=new RegExp(":leave","g");function $o(m,c,l,g,x,F=new Map,se=new Map,ge,ke,Je=[]){return(new zo).buildKeyframes(m,c,l,g,x,F,se,ge,ke,Je)}class zo{buildKeyframes(c,l,g,x,F,se,ge,ke,Je,Ft=[]){Je=Je||new ss;const Yt=new To(c,l,Je,x,F,Ft,[]);Yt.options=ke;const nr=ke.delay?we(ke.delay):0;Yt.currentTimeline.delayNextStep(nr),Yt.currentTimeline.setStyles([se],null,Yt.errors,ke),ar(this,g,Yt);const Rn=Yt.timelines.filter((Dn=>Dn.containsAnimation()));if(Rn.length&&ge.size){let Dn;for(let Ln=Rn.length-1;Ln>=0;Ln--){const br=Rn[Ln];if(br.element===l){Dn=br;break}}Dn&&!Dn.allowOnlyTimelineStyles()&&Dn.setStyles([ge],null,Yt.errors,ke)}return Rn.length?Rn.map((Dn=>Dn.buildKeyframes())):[Ro(l,[],[],[],0,nr,"",!1)]}visitTrigger(c,l){}visitState(c,l){}visitTransition(c,l){}visitAnimateChild(c,l){const g=l.subInstructions.get(l.element);if(g){const x=l.createSubContext(c.options),F=l.currentTimeline.currentTime,se=this._visitSubInstructions(g,x,x.options);F!=se&&l.transformIntoNewTimeline(se)}l.previousNode=c}visitAnimateRef(c,l){const g=l.createSubContext(c.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],l,g),this.visitReference(c.animation,g),l.transformIntoNewTimeline(g.currentTimeline.currentTime),l.previousNode=c}_applyAnimationRefDelays(c,l,g){for(const x of c){const F=x?.delay;if(F){const se="number"==typeof F?F:we(Kt(F,x?.params??{},l.errors));g.delayNextStep(se)}}}_visitSubInstructions(c,l,g){let F=l.currentTimeline.currentTime;const se=null!=g.duration?we(g.duration):null,ge=null!=g.delay?we(g.delay):null;return 0!==se&&c.forEach((ke=>{const Je=l.appendInstructionToTimeline(ke,se,ge);F=Math.max(F,Je.duration+Je.delay)})),F}visitReference(c,l){l.updateOptions(c.options,!0),ar(this,c.animation,l),l.previousNode=c}visitSequence(c,l){const g=l.subContextCount;let x=l;const F=c.options;if(F&&(F.params||F.delay)&&(x=l.createSubContext(F),x.transformIntoNewTimeline(),null!=F.delay)){6==x.previousNode.type&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=si);const se=we(F.delay);x.delayNextStep(se)}c.steps.length&&(c.steps.forEach((se=>ar(this,se,x))),x.currentTimeline.applyStylesToKeyframe(),x.subContextCount>g&&x.transformIntoNewTimeline()),l.previousNode=c}visitGroup(c,l){const g=[];let x=l.currentTimeline.currentTime;const F=c.options&&c.options.delay?we(c.options.delay):0;c.steps.forEach((se=>{const ge=l.createSubContext(c.options);F&&ge.delayNextStep(F),ar(this,se,ge),x=Math.max(x,ge.currentTimeline.currentTime),g.push(ge.currentTimeline)})),g.forEach((se=>l.currentTimeline.mergeTimelineCollectedStyles(se))),l.transformIntoNewTimeline(x),l.previousNode=c}_visitTiming(c,l){if(c.dynamic){const g=c.strValue;return Y(l.params?Kt(g,l.params,l.errors):g,l.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,l){const g=l.currentAnimateTimings=this._visitTiming(c.timings,l),x=l.currentTimeline;g.delay&&(l.incrementTime(g.delay),x.snapshotCurrentStyles());const F=c.style;5==F.type?this.visitKeyframes(F,l):(l.incrementTime(g.duration),this.visitStyle(F,l),x.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=c}visitStyle(c,l){const g=l.currentTimeline,x=l.currentAnimateTimings;!x&&g.hasCurrentStyleProperties()&&g.forwardFrame();const F=x&&x.easing||c.easing;c.isEmptyStep?g.applyEmptyStep(F):g.setStyles(c.styles,F,l.errors,l.options),l.previousNode=c}visitKeyframes(c,l){const g=l.currentAnimateTimings,x=l.currentTimeline.duration,F=g.duration,ge=l.createSubContext().currentTimeline;ge.easing=g.easing,c.styles.forEach((ke=>{ge.forwardTime((ke.offset||0)*F),ge.setStyles(ke.styles,ke.easing,l.errors,l.options),ge.applyStylesToKeyframe()})),l.currentTimeline.mergeTimelineCollectedStyles(ge),l.transformIntoNewTimeline(x+F),l.previousNode=c}visitQuery(c,l){const g=l.currentTimeline.currentTime,x=c.options||{},F=x.delay?we(x.delay):0;F&&(6===l.previousNode.type||0==g&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=si);let se=g;const ge=l.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!x.optional,l.errors);l.currentQueryTotal=ge.length;let ke=null;ge.forEach(((Je,Ft)=>{l.currentQueryIndex=Ft;const Yt=l.createSubContext(c.options,Je);F&&Yt.delayNextStep(F),Je===l.element&&(ke=Yt.currentTimeline),ar(this,c.animation,Yt),Yt.currentTimeline.applyStylesToKeyframe(),se=Math.max(se,Yt.currentTimeline.currentTime)})),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(se),ke&&(l.currentTimeline.mergeTimelineCollectedStyles(ke),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=c}visitStagger(c,l){const g=l.parentContext,x=l.currentTimeline,F=c.timings,se=Math.abs(F.duration),ge=se*(l.currentQueryTotal-1);let ke=se*l.currentQueryIndex;switch(F.duration<0?"reverse":F.easing){case"reverse":ke=ge-ke;break;case"full":ke=g.currentStaggerTime}const Ft=l.currentTimeline;ke&&Ft.delayNextStep(ke);const Yt=Ft.currentTime;ar(this,c.animation,l),l.previousNode=c,g.currentStaggerTime=x.currentTime-Yt+(x.startTime-g.currentTimeline.startTime)}}const si={};class To{constructor(c,l,g,x,F,se,ge,ke){this._driver=c,this.element=l,this.subInstructions=g,this._enterClassName=x,this._leaveClassName=F,this.errors=se,this.timelines=ge,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=si,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ke||new No(this._driver,l,0),ge.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,l){if(!c)return;const g=c;let x=this.options;null!=g.duration&&(x.duration=we(g.duration)),null!=g.delay&&(x.delay=we(g.delay));const F=g.params;if(F){let se=x.params;se||(se=this.options.params={}),Object.keys(F).forEach((ge=>{(!l||!se.hasOwnProperty(ge))&&(se[ge]=Kt(F[ge],se,this.errors))}))}}_copyOptions(){const c={};if(this.options){const l=this.options.params;if(l){const g=c.params={};Object.keys(l).forEach((x=>{g[x]=l[x]}))}}return c}createSubContext(c=null,l,g){const x=l||this.element,F=new To(this._driver,x,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(x,g||0));return F.previousNode=this.previousNode,F.currentAnimateTimings=this.currentAnimateTimings,F.options=this._copyOptions(),F.updateOptions(c),F.currentQueryIndex=this.currentQueryIndex,F.currentQueryTotal=this.currentQueryTotal,F.parentContext=this,this.subContextCount++,F}transformIntoNewTimeline(c){return this.previousNode=si,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,l,g){const x={duration:l??c.duration,delay:this.currentTimeline.currentTime+(g??0)+c.delay,easing:""},F=new fr(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,x,c.stretchStartingKeyframe);return this.timelines.push(F),x}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,l,g,x,F,se){let ge=[];if(x&&ge.push(this.element),c.length>0){c=(c=c.replace(Hs,"."+this._enterClassName)).replace(Cs,"."+this._leaveClassName);let Je=this._driver.query(this.element,c,1!=g);0!==g&&(Je=g<0?Je.slice(Je.length+g,Je.length):Je.slice(0,g)),ge.push(...Je)}return!F&&0==ge.length&&se.push(function Sn(m){return new o.vHH(3014,!1)}()),ge}}class No{constructor(c,l,g,x){this._driver=c,this.element=l,this.startTime=g,this._elementTimelineStylesLookup=x,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(c){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+c),l&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,l){return this.applyStylesToKeyframe(),new No(this._driver,c,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,l){this._localTimelineStyles.set(c,l),this._globalTimelineStyles.set(c,l),this._styleSummary.set(c,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[l,g]of this._globalTimelineStyles)this._backFill.set(l,g||$e.l3),this._currentKeyframe.set(l,$e.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,l,g,x){l&&this._previousKeyframe.set("easing",l);const F=x&&x.params||{},se=function ao(m,c){const l=new Map;let g;return m.forEach((x=>{if("*"===x){g=g||c.keys();for(let F of g)l.set(F,$e.l3)}else st(x,l)})),l}(c,this._globalTimelineStyles);for(let[ge,ke]of se){const Je=Kt(ke,F,g);this._pendingStyles.set(ge,Je),this._localTimelineStyles.has(ge)||this._backFill.set(ge,this._globalTimelineStyles.get(ge)??$e.l3),this._updateStyle(ge,Je)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((c,l)=>{this._currentKeyframe.set(l,c)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((c,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,c)})))}snapshotCurrentStyles(){for(let[c,l]of this._localTimelineStyles)this._pendingStyles.set(c,l),this._updateStyle(c,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let l in this._currentKeyframe)c.push(l);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach(((l,g)=>{const x=this._styleSummary.get(g);(!x||l.time>x.time)&&this._updateStyle(g,l.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,l=new Set,g=1===this._keyframes.size&&0===this.duration;let x=[];this._keyframes.forEach(((ge,ke)=>{const Je=st(ge,new Map,this._backFill);Je.forEach(((Ft,Yt)=>{Ft===$e.k1?c.add(Yt):Ft===$e.l3&&l.add(Yt)})),g||Je.set("offset",ke/this.duration),x.push(Je)}));const F=c.size?qn(c.values()):[],se=l.size?qn(l.values()):[];if(g){const ge=x[0],ke=new Map(ge);ge.set("offset",0),ke.set("offset",1),x=[ge,ke]}return Ro(this.element,x,F,se,this.duration,this.startTime,this.easing,!1)}}class fr extends No{constructor(c,l,g,x,F,se,ge=!1){super(c,l,se.delay),this.keyframes=g,this.preStyleProps=x,this.postStyleProps=F,this._stretchStartingKeyframe=ge,this.timings={duration:se.duration,delay:se.delay,easing:se.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:l,duration:g,easing:x}=this.timings;if(this._stretchStartingKeyframe&&l){const F=[],se=g+l,ge=l/se,ke=st(c[0]);ke.set("offset",0),F.push(ke);const Je=st(c[0]);Je.set("offset",Vn(ge)),F.push(Je);const Ft=c.length-1;for(let Yt=1;Yt<=Ft;Yt++){let nr=st(c[Yt]);const Rn=nr.get("offset");nr.set("offset",Vn((l+Rn*g)/se)),F.push(nr)}g=se,l=0,x="",c=F}return Ro(this.element,c,this.preStyleProps,this.postStyleProps,g,l,x,!0)}}function Vn(m,c=3){const l=Math.pow(10,c-1);return Math.round(m*l)/l}class Go{}const ws=new Set(["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"]);class ls extends Go{normalizePropertyName(c,l){return tr(c)}normalizeStyleValue(c,l,g,x){let F="";const se=g.toString().trim();if(ws.has(l)&&0!==g&&"0"!==g)if("number"==typeof g)F="px";else{const ge=g.match(/^[+-]?[\d\.]+([a-z]*)$/);ge&&0==ge[1].length&&x.push(function Ce(m,c){return new o.vHH(3005,!1)}())}return se+F}}function Po(m,c,l,g,x,F,se,ge,ke,Je,Ft,Yt,nr){return{type:0,element:m,triggerName:c,isRemovalTransition:x,fromState:l,fromStyles:F,toState:g,toStyles:se,timelines:ge,queriedElements:ke,preStyleProps:Je,postStyleProps:Ft,totalTime:Yt,errors:nr}}const Wo={};class kr{constructor(c,l,g){this._triggerName=c,this.ast=l,this._stateStyles=g}match(c,l,g,x){return function Wr(m,c,l,g,x){return m.some((F=>F(c,l,g,x)))}(this.ast.matchers,c,l,g,x)}buildStyles(c,l,g){let x=this._stateStyles.get("*");return void 0!==c&&(x=this._stateStyles.get(c?.toString())||x),x?x.buildStyles(l,g):new Map}build(c,l,g,x,F,se,ge,ke,Je,Ft){const Yt=[],nr=this.ast.options&&this.ast.options.params||Wo,Dn=this.buildStyles(g,ge&&ge.params||Wo,Yt),Ln=ke&&ke.params||Wo,br=this.buildStyles(x,Ln,Yt),Br=new Set,Li=new Map,Vi=new Map,Bi="void"===x,Ca={params:$s(Ln,nr),delay:this.ast.options?.delay},Ao=Ft?[]:$o(c,l,this.ast.animation,F,se,Dn,br,Ca,Je,Yt);let Eo=0;if(Ao.forEach((Ls=>{Eo=Math.max(Ls.duration+Ls.delay,Eo)})),Yt.length)return Po(l,this._triggerName,g,x,Bi,Dn,br,[],[],Li,Vi,Eo,Yt);Ao.forEach((Ls=>{const gs=Ls.element,su=Pe(Li,gs,new Set);Ls.preStyleProps.forEach((ja=>su.add(ja)));const ms=Pe(Vi,gs,new Set);Ls.postStyleProps.forEach((ja=>ms.add(ja))),gs!==l&&Br.add(gs)}));const Vo=qn(Br.values());return Po(l,this._triggerName,g,x,Bi,Dn,br,Ao,Vo,Li,Vi,Eo)}}function $s(m,c){const l=ne(c);for(const g in m)m.hasOwnProperty(g)&&null!=m[g]&&(l[g]=m[g]);return l}class Yo{constructor(c,l,g){this.styles=c,this.defaultParams=l,this.normalizer=g}buildStyles(c,l){const g=new Map,x=ne(this.defaultParams);return Object.keys(c).forEach((F=>{const se=c[F];null!==se&&(x[F]=se)})),this.styles.styles.forEach((F=>{"string"!=typeof F&&F.forEach(((se,ge)=>{se&&(se=Kt(se,x,l));const ke=this.normalizer.normalizePropertyName(ge,l);se=this.normalizer.normalizeStyleValue(ge,ke,se,l),g.set(ke,se)}))})),g}}class qo{constructor(c,l,g){this.name=c,this.ast=l,this._normalizer=g,this.transitionFactories=[],this.states=new Map,l.states.forEach((x=>{this.states.set(x.name,new Yo(x.style,x.options&&x.options.params||{},g))})),lr(this.states,"true","1"),lr(this.states,"false","0"),l.transitions.forEach((x=>{this.transitionFactories.push(new kr(c,x,this.states))})),this.fallbackTransition=function bs(m,c,l){return new kr(m,{type:1,animation:{type:2,steps:[],options:null},matchers:[(se,ge)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,l,g,x){return this.transitionFactories.find((se=>se.match(c,l,g,x)))||null}matchStyles(c,l,g){return this.fallbackTransition.buildStyles(c,l,g)}}function lr(m,c,l){m.has(c)?m.has(l)||m.set(l,m.get(c)):m.has(l)&&m.set(c,m.get(l))}const Ds=new ss;class ca{constructor(c,l,g){this.bodyNode=c,this._driver=l,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,l){const g=[],F=ut(this._driver,l,g,[]);if(g.length)throw function vr(m){return new o.vHH(3503,!1)}();this._animations.set(c,F)}_buildPlayer(c,l,g){const x=c.element,F=fe(0,this._normalizer,0,c.keyframes,l,g);return this._driver.animate(x,F,c.duration,c.delay,c.easing,[],!0)}create(c,l,g={}){const x=[],F=this._animations.get(c);let se;const ge=new Map;if(F?(se=$o(this._driver,l,F,gr,wr,new Map,new Map,g,Ds,x),se.forEach((Ft=>{const Yt=Pe(ge,Ft.element,new Map);Ft.postStyleProps.forEach((nr=>Yt.set(nr,null)))}))):(x.push(function Ai(){return new o.vHH(3300,!1)}()),se=[]),x.length)throw function Hr(m){return new o.vHH(3504,!1)}();ge.forEach(((Ft,Yt)=>{Ft.forEach(((nr,Rn)=>{Ft.set(Rn,this._driver.computeStyle(Yt,Rn,$e.l3))}))}));const Je=He(se.map((Ft=>{const Yt=ge.get(Ft.element);return this._buildPlayer(Ft,new Map,Yt)})));return this._playersById.set(c,Je),Je.onDestroy((()=>this.destroy(c))),this.players.push(Je),Je}destroy(c){const l=this._getPlayer(c);l.destroy(),this._playersById.delete(c);const g=this.players.indexOf(l);g>=0&&this.players.splice(g,1)}_getPlayer(c){const l=this._playersById.get(c);if(!l)throw function Nr(m){return new o.vHH(3301,!1)}();return l}listen(c,l,g,x){const F=Ee(l,"","","");return G(this._getPlayer(c),g,F,x),()=>{}}command(c,l,g,x){if("register"==g)return void this.register(c,x[0]);if("create"==g)return void this.create(c,l,x[0]||{});const F=this._getPlayer(c);switch(g){case"play":F.play();break;case"pause":F.pause();break;case"reset":F.reset();break;case"restart":F.restart();break;case"finish":F.finish();break;case"init":F.init();break;case"setPosition":F.setPosition(parseFloat(x[0]));break;case"destroy":this.destroy(c)}}}const Ri="ng-animate-queued",Zo="ng-animate-disabled",lo=[],Yi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},zs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tn="__ng_removed";class uo{constructor(c,l=""){this.namespaceId=l;const g=c&&c.hasOwnProperty("value");if(this.value=function Ms(m){return m??null}(g?c.value:c),g){const F=ne(c);delete F.value,this.options=F}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const l=c.params;if(l){const g=this.options.params;Object.keys(l).forEach((x=>{null==g[x]&&(g[x]=l[x])}))}}}const Ni="void",gn=new uo(Ni);class Ko{constructor(c,l,g){this.id=c,this.hostElement=l,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,bi(l,this._hostClassName)}listen(c,l,g,x){if(!this._triggers.has(l))throw function pr(m,c){return new o.vHH(3302,!1)}();if(null==g||0==g.length)throw function Zr(m){return new o.vHH(3303,!1)}();if(!function Qo(m){return"start"==m||"done"==m}(g))throw function Xr(m,c){return new o.vHH(3400,!1)}();const F=Pe(this._elementListeners,c,[]),se={name:l,phase:g,callback:x};F.push(se);const ge=Pe(this._engine.statesByElement,c,new Map);return ge.has(l)||(bi(c,Wn),bi(c,Wn+"-"+l),ge.set(l,gn)),()=>{this._engine.afterFlush((()=>{const ke=F.indexOf(se);ke>=0&&F.splice(ke,1),this._triggers.has(l)||ge.delete(l)}))}}register(c,l){return!this._triggers.has(c)&&(this._triggers.set(c,l),!0)}_getTrigger(c){const l=this._triggers.get(c);if(!l)throw function Cr(m){return new o.vHH(3401,!1)}();return l}trigger(c,l,g,x=!0){const F=this._getTrigger(l),se=new Es(this.id,l,c);let ge=this._engine.statesByElement.get(c);ge||(bi(c,Wn),bi(c,Wn+"-"+l),this._engine.statesByElement.set(c,ge=new Map));let ke=ge.get(l);const Je=new uo(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&ke&&Je.absorbOptions(ke.options),ge.set(l,Je),ke||(ke=gn),Je.value!==Ni&&ke.value===Je.value){if(!function O(m,c){const l=Object.keys(m),g=Object.keys(c);if(l.length!=g.length)return!1;for(let x=0;x<l.length;x++){const F=l[x];if(!c.hasOwnProperty(F)||m[F]!==c[F])return!1}return!0}(ke.params,Je.params)){const Ln=[],br=F.matchStyles(ke.value,ke.params,Ln),Br=F.matchStyles(Je.value,Je.params,Ln);Ln.length?this._engine.reportError(Ln):this._engine.afterFlush((()=>{St(c,br),vt(c,Br)}))}return}const nr=Pe(this._engine.playersByElement,c,[]);nr.forEach((Ln=>{Ln.namespaceId==this.id&&Ln.triggerName==l&&Ln.queued&&Ln.destroy()}));let Rn=F.matchTransition(ke.value,Je.value,c,Je.params),Dn=!1;if(!Rn){if(!x)return;Rn=F.fallbackTransition,Dn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:l,transition:Rn,fromState:ke,toState:Je,player:se,isFallbackTransition:Dn}),Dn||(bi(c,Ri),se.onStart((()=>{yo(c,Ri)}))),se.onDone((()=>{let Ln=this.players.indexOf(se);Ln>=0&&this.players.splice(Ln,1);const br=this._engine.playersByElement.get(c);if(br){let Br=br.indexOf(se);Br>=0&&br.splice(Br,1)}})),this.players.push(se),nr.push(se),se}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach((l=>l.delete(c))),this._elementListeners.forEach(((l,g)=>{this._elementListeners.set(g,l.filter((x=>x.name!=c)))}))}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const l=this._engine.playersByElement.get(c);l&&(l.forEach((g=>g.destroy())),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,l){const g=this._engine.driver.query(c,Nn,!0);g.forEach((x=>{if(x[Tn])return;const F=this._engine.fetchNamespacesByElement(x);F.size?F.forEach((se=>se.triggerLeaveAnimation(x,l,!1,!0))):this.clearElementCache(x)})),this._engine.afterFlushAnimationsDone((()=>g.forEach((x=>this.clearElementCache(x)))))}triggerLeaveAnimation(c,l,g,x){const F=this._engine.statesByElement.get(c),se=new Map;if(F){const ge=[];if(F.forEach(((ke,Je)=>{if(se.set(Je,ke.value),this._triggers.has(Je)){const Ft=this.trigger(c,Je,Ni,x);Ft&&ge.push(Ft)}})),ge.length)return this._engine.markElementAsRemoved(this.id,c,!0,l,se),g&&He(ge).onDone((()=>this._engine.processLeaveNode(c))),!0}return!1}prepareLeaveAnimationListeners(c){const l=this._elementListeners.get(c),g=this._engine.statesByElement.get(c);if(l&&g){const x=new Set;l.forEach((F=>{const se=F.name;if(x.has(se))return;x.add(se);const ke=this._triggers.get(se).fallbackTransition,Je=g.get(se)||gn,Ft=new uo(Ni),Yt=new Es(this.id,se,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:se,transition:ke,fromState:Je,toState:Ft,player:Yt,isFallbackTransition:!0})}))}}removeNode(c,l){const g=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,l),this.triggerLeaveAnimation(c,l,!0))return;let x=!1;if(g.totalAnimations){const F=g.players.length?g.playersByQueriedElement.get(c):[];if(F&&F.length)x=!0;else{let se=c;for(;se=se.parentNode;)if(g.statesByElement.get(se)){x=!0;break}}}if(this.prepareLeaveAnimationListeners(c),x)g.markElementAsRemoved(this.id,c,!1,l);else{const F=c[Tn];(!F||F===Yi)&&(g.afterFlush((()=>this.clearElementCache(c))),g.destroyInnerAnimations(c),g._onRemovalComplete(c,l))}}insertNode(c,l){bi(c,this._hostClassName)}drainQueuedTransitions(c){const l=[];return this._queue.forEach((g=>{const x=g.player;if(x.destroyed)return;const F=g.element,se=this._elementListeners.get(F);se&&se.forEach((ge=>{if(ge.name==g.triggerName){const ke=Ee(F,g.triggerName,g.fromState.value,g.toState.value);ke._data=c,G(g.player,ge.phase,ke,ge.callback)}})),x.markedForDestroy?this._engine.afterFlush((()=>{x.destroy()})):l.push(g)})),this._queue=[],l.sort(((g,x)=>{const F=g.transition.ast.depCount,se=x.transition.ast.depCount;return 0==F||0==se?F-se:this._engine.driver.containsElement(g.element,x.element)?1:-1}))}destroy(c){this.players.forEach((l=>l.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let l=!1;return this._elementListeners.has(c)&&(l=!0),l=!!this._queue.find((g=>g.element===c))||l,l}}class el{constructor(c,l,g){this.bodyNode=c,this.driver=l,this._normalizer=g,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(x,F)=>{}}_onRemovalComplete(c,l){this.onRemovalComplete(c,l)}get queuedPlayers(){const c=[];return this._namespaceList.forEach((l=>{l.players.forEach((g=>{g.queued&&c.push(g)}))})),c}createNamespace(c,l){const g=new Ko(c,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(g,l):(this.newHostElements.set(l,g),this.collectEnterElement(l)),this._namespaceLookup[c]=g}_balanceNamespaceList(c,l){const g=this._namespaceList,x=this.namespacesByHostElement;if(g.length-1>=0){let se=!1,ge=this.driver.getParentElement(l);for(;ge;){const ke=x.get(ge);if(ke){const Je=g.indexOf(ke);g.splice(Je+1,0,c),se=!0;break}ge=this.driver.getParentElement(ge)}se||g.unshift(c)}else g.push(c);return x.set(l,c),c}register(c,l){let g=this._namespaceLookup[c];return g||(g=this.createNamespace(c,l)),g}registerTrigger(c,l,g){let x=this._namespaceLookup[c];x&&x.register(l,g)&&this.totalAnimations++}destroy(c,l){if(!c)return;const g=this._fetchNamespace(c);this.afterFlush((()=>{this.namespacesByHostElement.delete(g.hostElement),delete this._namespaceLookup[c];const x=this._namespaceList.indexOf(g);x>=0&&this._namespaceList.splice(x,1)})),this.afterFlushAnimationsDone((()=>g.destroy(l)))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const l=new Set,g=this.statesByElement.get(c);if(g)for(let x of g.values())if(x.namespaceId){const F=this._fetchNamespace(x.namespaceId);F&&l.add(F)}return l}trigger(c,l,g,x){if(Fi(l)){const F=this._fetchNamespace(c);if(F)return F.trigger(l,g,x),!0}return!1}insertNode(c,l,g,x){if(!Fi(l))return;const F=l[Tn];if(F&&F.setForRemoval){F.setForRemoval=!1,F.setForMove=!0;const se=this.collectedLeaveElements.indexOf(l);se>=0&&this.collectedLeaveElements.splice(se,1)}if(c){const se=this._fetchNamespace(c);se&&se.insertNode(l,g)}x&&this.collectEnterElement(l)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,l){l?this.disabledNodes.has(c)||(this.disabledNodes.add(c),bi(c,Zo)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),yo(c,Zo))}removeNode(c,l,g,x){if(Fi(l)){const F=c?this._fetchNamespace(c):null;if(F?F.removeNode(l,x):this.markElementAsRemoved(c,l,!1,x),g){const se=this.namespacesByHostElement.get(l);se&&se.id!==c&&se.removeNode(l,x)}}else this._onRemovalComplete(l,x)}markElementAsRemoved(c,l,g,x,F){this.collectedLeaveElements.push(l),l[Tn]={namespaceId:c,setForRemoval:x,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:F}}listen(c,l,g,x,F){return Fi(l)?this._fetchNamespace(c).listen(l,g,x,F):()=>{}}_buildInstruction(c,l,g,x,F){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,g,x,c.fromState.options,c.toState.options,l,F)}destroyInnerAnimations(c){let l=this.driver.query(c,Nn,!0);l.forEach((g=>this.destroyActiveAnimationsForElement(g))),0!=this.playersByQueriedElement.size&&(l=this.driver.query(c,ln,!0),l.forEach((g=>this.finishActiveQueriedAnimationOnElement(g))))}destroyActiveAnimationsForElement(c){const l=this.playersByElement.get(c);l&&l.forEach((g=>{g.queued?g.markedForDestroy=!0:g.destroy()}))}finishActiveQueriedAnimationOnElement(c){const l=this.playersByQueriedElement.get(c);l&&l.forEach((g=>g.finish()))}whenRenderingDone(){return new Promise((c=>{if(this.players.length)return He(this.players).onDone((()=>c()));c()}))}processLeaveNode(c){const l=c[Tn];if(l&&l.setForRemoval){if(c[Tn]=Yi,l.namespaceId){this.destroyInnerAnimations(c);const g=this._fetchNamespace(l.namespaceId);g&&g.clearElementCache(c)}this._onRemovalComplete(c,l.setForRemoval)}c.classList?.contains(Zo)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach((g=>{this.markElementAsDisabled(g,!1)}))}flush(c=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((g,x)=>this._balanceNamespaceList(g,x))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)bi(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{l=this._flushAnimations(g,c)}finally{for(let x=0;x<g.length;x++)g[x]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((g=>g())),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],l.length?He(l).onDone((()=>{g.forEach((x=>x()))})):g.forEach((x=>x()))}}reportError(c){throw function Gt(m){return new o.vHH(3402,!1)}()}_flushAnimations(c,l){const g=new ss,x=[],F=new Map,se=[],ge=new Map,ke=new Map,Je=new Map,Ft=new Set;this.disabledNodes.forEach((sn=>{Ft.add(sn);const _n=this.driver.query(sn,".ng-animate-queued",!0);for(let Pn=0;Pn<_n.length;Pn++)Ft.add(_n[Pn])}));const Yt=this.bodyNode,nr=Array.from(this.statesByElement.keys()),Rn=Fn(nr,this.collectedEnterElements),Dn=new Map;let Ln=0;Rn.forEach(((sn,_n)=>{const Pn=gr+Ln++;Dn.set(_n,Pn),sn.forEach((cr=>bi(cr,Pn)))}));const br=[],Br=new Set,Li=new Set;for(let sn=0;sn<this.collectedLeaveElements.length;sn++){const _n=this.collectedLeaveElements[sn],Pn=_n[Tn];Pn&&Pn.setForRemoval&&(br.push(_n),Br.add(_n),Pn.hasAnimation?this.driver.query(_n,".ng-star-inserted",!0).forEach((cr=>Br.add(cr))):Li.add(_n))}const Vi=new Map,Bi=Fn(nr,Array.from(Br));Bi.forEach(((sn,_n)=>{const Pn=wr+Ln++;Vi.set(_n,Pn),sn.forEach((cr=>bi(cr,Pn)))})),c.push((()=>{Rn.forEach(((sn,_n)=>{const Pn=Dn.get(_n);sn.forEach((cr=>yo(cr,Pn)))})),Bi.forEach(((sn,_n)=>{const Pn=Vi.get(_n);sn.forEach((cr=>yo(cr,Pn)))})),br.forEach((sn=>{this.processLeaveNode(sn)}))}));const Ca=[],Ao=[];for(let sn=this._namespaceList.length-1;sn>=0;sn--)this._namespaceList[sn].drainQueuedTransitions(l).forEach((Pn=>{const cr=Pn.player,Ui=Pn.element;if(Ca.push(cr),this.collectedEnterElements.length){const Pr=Ui[Tn];if(Pr&&Pr.setForMove){if(Pr.previousTriggersValues&&Pr.previousTriggersValues.has(Pn.triggerName)){const Xs=Pr.previousTriggersValues.get(Pn.triggerName),Ho=this.statesByElement.get(Pn.element);if(Ho&&Ho.has(Pn.triggerName)){const Il=Ho.get(Pn.triggerName);Il.value=Xs,Ho.set(Pn.triggerName,Il)}}return void cr.destroy()}}const Bo=!Yt||!this.driver.containsElement(Yt,Ui),Mo=Vi.get(Ui),Uo=Dn.get(Ui),nn=this._buildInstruction(Pn,g,Uo,Mo,Bo);if(nn.errors&&nn.errors.length)return void Ao.push(nn);if(Bo)return cr.onStart((()=>St(Ui,nn.fromStyles))),cr.onDestroy((()=>vt(Ui,nn.toStyles))),void x.push(cr);if(Pn.isFallbackTransition)return cr.onStart((()=>St(Ui,nn.fromStyles))),cr.onDestroy((()=>vt(Ui,nn.toStyles))),void x.push(cr);const au=[];nn.timelines.forEach((Pr=>{Pr.stretchStartingKeyframe=!0,this.disabledNodes.has(Pr.element)||au.push(Pr)})),nn.timelines=au,g.append(Ui,nn.timelines),se.push({instruction:nn,player:cr,element:Ui}),nn.queriedElements.forEach((Pr=>Pe(ge,Pr,[]).push(cr))),nn.preStyleProps.forEach(((Pr,Xs)=>{if(Pr.size){let Ho=ke.get(Xs);Ho||ke.set(Xs,Ho=new Set),Pr.forEach(((Il,co)=>Ho.add(co)))}})),nn.postStyleProps.forEach(((Pr,Xs)=>{let Ho=Je.get(Xs);Ho||Je.set(Xs,Ho=new Set),Pr.forEach(((Il,co)=>Ho.add(co)))}))}));if(Ao.length){const sn=[];Ao.forEach((_n=>{sn.push(function sr(m,c){return new o.vHH(3505,!1)}())})),Ca.forEach((_n=>_n.destroy())),this.reportError(sn)}const Eo=new Map,Vo=new Map;se.forEach((sn=>{const _n=sn.element;g.has(_n)&&(Vo.set(_n,_n),this._beforeAnimationBuild(sn.player.namespaceId,sn.instruction,Eo))})),x.forEach((sn=>{const _n=sn.element;this._getPreviousPlayers(_n,!1,sn.namespaceId,sn.triggerName,null).forEach((cr=>{Pe(Eo,_n,[]).push(cr),cr.destroy()}))}));const Ls=br.filter((sn=>T(sn,ke,Je))),gs=new Map;ft(gs,this.driver,Li,Je,$e.l3).forEach((sn=>{T(sn,ke,Je)&&Ls.push(sn)}));const ms=new Map;Rn.forEach(((sn,_n)=>{ft(ms,this.driver,new Set(sn),ke,$e.k1)})),Ls.forEach((sn=>{const _n=gs.get(sn),Pn=ms.get(sn);gs.set(sn,new Map([...Array.from(_n?.entries()??[]),...Array.from(Pn?.entries()??[])]))}));const ja=[],Fu=[],ul={};se.forEach((sn=>{const{element:_n,player:Pn,instruction:cr}=sn;if(g.has(_n)){if(Ft.has(_n))return Pn.onDestroy((()=>vt(_n,cr.toStyles))),Pn.disabled=!0,Pn.overrideTotalTime(cr.totalTime),void x.push(Pn);let Ui=ul;if(Vo.size>1){let Mo=_n;const Uo=[];for(;Mo=Mo.parentNode;){const nn=Vo.get(Mo);if(nn){Ui=nn;break}Uo.push(Mo)}Uo.forEach((nn=>Vo.set(nn,Ui)))}const Bo=this._buildAnimation(Pn.namespaceId,cr,Eo,F,ms,gs);if(Pn.setRealPlayer(Bo),Ui===ul)ja.push(Pn);else{const Mo=this.playersByElement.get(Ui);Mo&&Mo.length&&(Pn.parentPlayer=He(Mo)),x.push(Pn)}}else St(_n,cr.fromStyles),Pn.onDestroy((()=>vt(_n,cr.toStyles))),Fu.push(Pn),Ft.has(_n)&&x.push(Pn)})),Fu.forEach((sn=>{const _n=F.get(sn.element);if(_n&&_n.length){const Pn=He(_n);sn.setRealPlayer(Pn)}})),x.forEach((sn=>{sn.parentPlayer?sn.syncPlayerEvents(sn.parentPlayer):sn.destroy()}));for(let sn=0;sn<br.length;sn++){const _n=br[sn],Pn=_n[Tn];if(yo(_n,wr),Pn&&Pn.hasAnimation)continue;let cr=[];if(ge.size){let Bo=ge.get(_n);Bo&&Bo.length&&cr.push(...Bo);let Mo=this.driver.query(_n,ln,!0);for(let Uo=0;Uo<Mo.length;Uo++){let nn=ge.get(Mo[Uo]);nn&&nn.length&&cr.push(...nn)}}const Ui=cr.filter((Bo=>!Bo.destroyed));Ui.length?Sr(this,_n,Ui):this.processLeaveNode(_n)}return br.length=0,ja.forEach((sn=>{this.players.push(sn),sn.onDone((()=>{sn.destroy();const _n=this.players.indexOf(sn);this.players.splice(_n,1)})),sn.play()})),ja}elementContainsData(c,l){let g=!1;const x=l[Tn];return x&&x.setForRemoval&&(g=!0),this.playersByElement.has(l)&&(g=!0),this.playersByQueriedElement.has(l)&&(g=!0),this.statesByElement.has(l)&&(g=!0),this._fetchNamespace(c).elementContainsData(l)||g}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,l,g,x,F){let se=[];if(l){const ge=this.playersByQueriedElement.get(c);ge&&(se=ge)}else{const ge=this.playersByElement.get(c);if(ge){const ke=!F||F==Ni;ge.forEach((Je=>{Je.queued||!ke&&Je.triggerName!=x||se.push(Je)}))}}return(g||x)&&(se=se.filter((ge=>!(g&&g!=ge.namespaceId||x&&x!=ge.triggerName)))),se}_beforeAnimationBuild(c,l,g){const F=l.element,se=l.isRemovalTransition?void 0:c,ge=l.isRemovalTransition?void 0:l.triggerName;for(const ke of l.timelines){const Je=ke.element,Ft=Je!==F,Yt=Pe(g,Je,[]);this._getPreviousPlayers(Je,Ft,se,ge,l.toState).forEach((Rn=>{const Dn=Rn.getRealPlayer();Dn.beforeDestroy&&Dn.beforeDestroy(),Rn.destroy(),Yt.push(Rn)}))}St(F,l.fromStyles)}_buildAnimation(c,l,g,x,F,se){const ge=l.triggerName,ke=l.element,Je=[],Ft=new Set,Yt=new Set,nr=l.timelines.map((Dn=>{const Ln=Dn.element;Ft.add(Ln);const br=Ln[Tn];if(br&&br.removedBeforeQueried)return new $e.ZN(Dn.duration,Dn.delay);const Br=Ln!==ke,Li=function Jo(m){const c=[];return hr(m,c),c}((g.get(Ln)||lo).map((Eo=>Eo.getRealPlayer()))).filter((Eo=>!!Eo.element&&Eo.element===Ln)),Vi=F.get(Ln),Bi=se.get(Ln),Ca=fe(0,this._normalizer,0,Dn.keyframes,Vi,Bi),Ao=this._buildPlayer(Dn,Ca,Li);if(Dn.subTimeline&&x&&Yt.add(Ln),Br){const Eo=new Es(c,ge,Ln);Eo.setRealPlayer(Ao),Je.push(Eo)}return Ao}));Je.forEach((Dn=>{Pe(this.playersByQueriedElement,Dn.element,[]).push(Dn),Dn.onDone((()=>function qi(m,c,l){let g=m.get(c);if(g){if(g.length){const x=g.indexOf(l);g.splice(x,1)}0==g.length&&m.delete(c)}return g}(this.playersByQueriedElement,Dn.element,Dn)))})),Ft.forEach((Dn=>bi(Dn,mr)));const Rn=He(nr);return Rn.onDestroy((()=>{Ft.forEach((Dn=>yo(Dn,mr))),vt(ke,l.toStyles)})),Yt.forEach((Dn=>{Pe(x,Dn,[]).push(Rn)})),Rn}_buildPlayer(c,l,g){return l.length>0?this.driver.animate(c.element,l,c.duration,c.delay,c.easing,g):new $e.ZN(c.duration,c.delay)}}class Es{constructor(c,l,g){this.namespaceId=c,this.triggerName=l,this.element=g,this._player=new $e.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach(((l,g)=>{l.forEach((x=>G(c,g,void 0,x)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const l=this._player;l.triggerCallback&&c.onStart((()=>l.triggerCallback("start"))),c.onDone((()=>this.finish())),c.onDestroy((()=>this.destroy()))}_queueEvent(c,l){Pe(this._queuedCallbacks,c,[]).push(l)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}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(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const l=this._player;l.triggerCallback&&l.triggerCallback(c)}}function Fi(m){return m&&1===m.nodeType}function da(m,c){const l=m.style.display;return m.style.display=c??"none",l}function ft(m,c,l,g,x){const F=[];l.forEach((ke=>F.push(da(ke))));const se=[];g.forEach(((ke,Je)=>{const Ft=new Map;ke.forEach((Yt=>{const nr=c.computeStyle(Je,Yt,x);Ft.set(Yt,nr),(!nr||0==nr.length)&&(Je[Tn]=zs,se.push(Je))})),m.set(Je,Ft)}));let ge=0;return l.forEach((ke=>da(ke,F[ge++]))),se}function Fn(m,c){const l=new Map;if(m.forEach((ge=>l.set(ge,[]))),0==c.length)return l;const x=new Set(c),F=new Map;function se(ge){if(!ge)return 1;let ke=F.get(ge);if(ke)return ke;const Je=ge.parentNode;return ke=l.has(Je)?Je:x.has(Je)?1:se(Je),F.set(ge,ke),ke}return c.forEach((ge=>{const ke=se(ge);1!==ke&&l.get(ke).push(ge)})),l}function bi(m,c){m.classList?.add(c)}function yo(m,c){m.classList?.remove(c)}function Sr(m,c,l){He(l).onDone((()=>m.processLeaveNode(c)))}function hr(m,c){for(let l=0;l<m.length;l++){const g=m[l];g instanceof $e.ZE?hr(g.players,c):c.push(g)}}function T(m,c,l){const g=l.get(m);if(!g)return!1;let x=c.get(m);return x?g.forEach((F=>x.add(F))):c.set(m,g),l.delete(m),!0}class E{constructor(c,l,g){this.bodyNode=c,this._driver=l,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(x,F)=>{},this._transitionEngine=new el(c,l,g),this._timelineEngine=new ca(c,l,g),this._transitionEngine.onRemovalComplete=(x,F)=>this.onRemovalComplete(x,F)}registerTrigger(c,l,g,x,F){const se=c+"-"+x;let ge=this._triggerCache[se];if(!ge){const ke=[],Ft=ut(this._driver,F,ke,[]);if(ke.length)throw function Gn(m,c){return new o.vHH(3404,!1)}();ge=function ai(m,c,l){return new qo(m,c,l)}(x,Ft,this._normalizer),this._triggerCache[se]=ge}this._transitionEngine.registerTrigger(l,x,ge)}register(c,l){this._transitionEngine.register(c,l)}destroy(c,l){this._transitionEngine.destroy(c,l)}onInsert(c,l,g,x){this._transitionEngine.insertNode(c,l,g,x)}onRemove(c,l,g,x){this._transitionEngine.removeNode(c,l,x||!1,g)}disableAnimations(c,l){this._transitionEngine.markElementAsDisabled(c,l)}process(c,l,g,x){if("@"==g.charAt(0)){const[F,se]=rt(g);this._timelineEngine.command(F,l,se,x)}else this._transitionEngine.trigger(c,l,g,x)}listen(c,l,g,x,F){if("@"==g.charAt(0)){const[se,ge]=rt(g);return this._timelineEngine.listen(se,l,ge,F)}return this._transitionEngine.listen(c,l,g,x,F)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ke=(()=>{class m{constructor(l,g,x){this._element=l,this._startStyles=g,this._endStyles=x,this._state=0;let F=m.initialStylesByElement.get(l);F||m.initialStylesByElement.set(l,F=new Map),this._initialStyles=F}start(){this._state<1&&(this._startStyles&&vt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(vt(this._element,this._initialStyles),this._endStyles&&(vt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(m.initialStylesByElement.delete(this._element),this._startStyles&&(St(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(St(this._element,this._endStyles),this._endStyles=null),vt(this._element,this._initialStyles),this._state=3)}}return m.initialStylesByElement=new WeakMap,m})();function Wt(m){let c=null;return m.forEach(((l,g)=>{(function Dr(m){return"display"===m||"position"===m})(g)&&(c=c||new Map,c.set(g,l))})),c}class _r{constructor(c,l,g,x){this.element=c,this.keyframes=l,this.options=g,this._specialStyles=x,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((c=>c())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:new Map,this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(c){const l=[];return c.forEach((g=>{l.push(Object.fromEntries(g))})),l}_triggerWebAnimation(c,l,g){return c.animate(this._convertKeyframesToObject(l),g)}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((c=>c())),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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((c=>c())),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((g,x)=>{"offset"!==x&&c.set(x,this._finished?g:Gi(this.element,x))})),this.currentSnapshot=c}triggerCallback(c){const l="start"===c?this._onStartFns:this._onDoneFns;l.forEach((g=>g())),l.length=0}}class Di{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,l){return!1}containsElement(c,l){return Zt(c,l)}getParentElement(c){return Ot(c)}query(c,l,g){return At(c,l,g)}computeStyle(c,l,g){return window.getComputedStyle(c)[l]}animate(c,l,g,x,F,se=[]){const ke={duration:g,delay:x,fill:0==x?"both":"forwards"};F&&(ke.easing=F);const Je=new Map,Ft=se.filter((Rn=>Rn instanceof _r));(function Gr(m,c){return 0===m||0===c})(g,x)&&Ft.forEach((Rn=>{Rn.currentSnapshot.forEach(((Dn,Ln)=>Je.set(Ln,Dn)))}));let Yt=function it(m){return m.length?m[0]instanceof Map?m:m.map((c=>Fe(c))):[]}(l).map((Rn=>st(Rn)));Yt=function Mr(m,c,l){if(l.size&&c.length){let g=c[0],x=[];if(l.forEach(((F,se)=>{g.has(se)||x.push(se),g.set(se,F)})),x.length)for(let F=1;F<c.length;F++){let se=c[F];x.forEach((ge=>se.set(ge,Gi(m,ge))))}}return c}(c,Yt,Je);const nr=function H(m,c){let l=null,g=null;return Array.isArray(c)&&c.length?(l=Wt(c[0]),c.length>1&&(g=Wt(c[c.length-1]))):c instanceof Map&&(l=Wt(c)),l||g?new Ke(m,l,g):null}(c,Yt);return new _r(c,Yt,ke,nr)}}let Xo=(()=>{class m extends $e._j{constructor(l,g){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(g.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(l){const g=this._nextAnimationId.toString();this._nextAnimationId++;const x=Array.isArray(l)?(0,$e.vP)(l):l;return es(this._renderer,null,g,"register",[x]),new eo(g,this._renderer)}}return m.ɵfac=function(l){return new(l||m)(o.LFG(o.FYo),o.LFG(v.K0))},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac}),m})();class eo extends $e.LC{constructor(c,l){super(),this._id=c,this._renderer=l}create(c,l){return new Pi(this._id,c,l||{},this._renderer)}}class Pi{constructor(c,l,g,x){this.id=c,this.element=l,this._renderer=x,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(c,l){return this._renderer.listen(this.element,`@@${this.id}:${c}`,l)}_command(c,...l){return es(this._renderer,this.element,this.id,c,l)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}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(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function es(m,c,l,g,x){return m.setProperty(c,`@@${l}:${g}`,x)}const us="@.disabled";let Cl=(()=>{class m{constructor(l,g,x){this.delegate=l,this.engine=g,this._zone=x,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),g.onRemovalComplete=(F,se)=>{const ge=se?.parentNode(F);ge&&se.removeChild(ge,F)}}createRenderer(l,g){const F=this.delegate.createRenderer(l,g);if(!(l&&g&&g.data&&g.data.animation)){let Ft=this._rendererCache.get(F);return Ft||(Ft=new Ss("",F,this.engine,(()=>this._rendererCache.delete(F))),this._rendererCache.set(F,Ft)),Ft}const se=g.id,ge=g.id+"-"+this._currentId;this._currentId++,this.engine.register(ge,l);const ke=Ft=>{Array.isArray(Ft)?Ft.forEach(ke):this.engine.registerTrigger(se,ge,l,Ft.name,Ft)};return g.data.animation.forEach(ke),new Ts(this,ge,F,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(l,g,x){l>=0&&l<this._microtaskId?this._zone.run((()=>g(x))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((F=>{const[se,ge]=F;se(ge)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([g,x]))}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 m.ɵfac=function(l){return new(l||m)(o.LFG(o.FYo),o.LFG(E),o.LFG(o.R0b))},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac}),m})();class Ss{constructor(c,l,g,x){this.namespaceId=c,this.delegate=l,this.engine=g,this._onDestroy=x,this.destroyNode=this.delegate.destroyNode?F=>l.destroyNode(F):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(c,l){return this.delegate.createElement(c,l)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,l){this.delegate.appendChild(c,l),this.engine.onInsert(this.namespaceId,l,c,!1)}insertBefore(c,l,g,x=!0){this.delegate.insertBefore(c,l,g),this.engine.onInsert(this.namespaceId,l,c,x)}removeChild(c,l,g){this.engine.onRemove(this.namespaceId,l,this.delegate,g)}selectRootElement(c,l){return this.delegate.selectRootElement(c,l)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,l,g,x){this.delegate.setAttribute(c,l,g,x)}removeAttribute(c,l,g){this.delegate.removeAttribute(c,l,g)}addClass(c,l){this.delegate.addClass(c,l)}removeClass(c,l){this.delegate.removeClass(c,l)}setStyle(c,l,g,x){this.delegate.setStyle(c,l,g,x)}removeStyle(c,l,g){this.delegate.removeStyle(c,l,g)}setProperty(c,l,g){"@"==l.charAt(0)&&l==us?this.disableAnimations(c,!!g):this.delegate.setProperty(c,l,g)}setValue(c,l){this.delegate.setValue(c,l)}listen(c,l,g){return this.delegate.listen(c,l,g)}disableAnimations(c,l){this.engine.disableAnimations(c,l)}}class Ts extends Ss{constructor(c,l,g,x,F){super(l,g,x,F),this.factory=c,this.namespaceId=l}setProperty(c,l,g){"@"==l.charAt(0)?"."==l.charAt(1)&&l==us?this.disableAnimations(c,g=void 0===g||!!g):this.engine.process(this.namespaceId,c,l.slice(1),g):this.delegate.setProperty(c,l,g)}listen(c,l,g){if("@"==l.charAt(0)){const x=function vo(m){switch(m){case"body":return document.body;case"document":return document;case"window":return window;default:return m}}(c);let F=l.slice(1),se="";return"@"!=F.charAt(0)&&([F,se]=function Ps(m){const c=m.indexOf(".");return[m.substring(0,c),m.slice(c+1)]}(F)),this.engine.listen(this.namespaceId,x,F,se,(ge=>{this.factory.scheduleListenerCallback(ge._data||-1,g,ge)}))}return this.delegate.listen(c,l,g)}}const Fo=[{provide:$e._j,useClass:Xo},{provide:Go,useFactory:function Ia(){return new ls}},{provide:E,useClass:(()=>{class m extends E{constructor(l,g,x,F){super(l.body,g,x)}ngOnDestroy(){this.flush()}}return m.ɵfac=function(l){return new(l||m)(o.LFG(v.K0),o.LFG(yn),o.LFG(Go),o.LFG(o.z2F))},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac}),m})()},{provide:o.FYo,useFactory:function Gs(m,c,l){return new Cl(m,c,l)},deps:[et.se,E,o.R0b]}],Zi=[{provide:yn,useFactory:()=>new Di},{provide:o.QbO,useValue:"BrowserAnimations"},...Fo],Os=[{provide:yn,useClass:Nt},{provide:o.QbO,useValue:"NoopAnimations"},...Fo];let Ra=(()=>{class m{static withConfig(l){return{ngModule:m,providers:l.disableAnimations?Os:Zi}}}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({providers:Zi,imports:[et.b2]}),m})();const ki=function(m,c){return{"pull-left":m,"float-left":c}},Co=function(m,c){return{"pull-right":m,"float-right":c}},De=function(m,c){return{disabled:m,currentPage:c}};function ot(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"li",11)(1,"a",12),o.NdJ("click",(function(x){o.CHM(l);const F=o.oxw();return o.KtG(F.selectPage(1,x))})),o.GkF(2,13),o.qZA()()}if(2&m){const l=o.oxw(),g=o.MAs(13);o.ekj("disabled",l.noPrevious()||l.disabled),o.xp6(2),o.Q6J("ngTemplateOutlet",l.customFirstTemplate||g)("ngTemplateOutletContext",o.WLB(4,De,l.noPrevious()||l.disabled,l.page))}}function Ye(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"li",14)(1,"a",12),o.NdJ("click",(function(x){o.CHM(l);const F=o.oxw();return o.KtG(F.selectPage(F.page-1,x))})),o.GkF(2,13),o.qZA()()}if(2&m){const l=o.oxw(),g=o.MAs(11);o.ekj("disabled",l.noPrevious()||l.disabled),o.xp6(2),o.Q6J("ngTemplateOutlet",l.customPreviousTemplate||g)("ngTemplateOutletContext",o.WLB(4,De,l.noPrevious()||l.disabled,l.page))}}const Ht=function(m,c,l){return{disabled:m,$implicit:c,currentPage:l}};function Cn(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"li",15)(1,"a",12),o.NdJ("click",(function(x){const se=o.CHM(l).$implicit,ge=o.oxw();return o.KtG(ge.selectPage(se.number,x))})),o.GkF(2,13),o.qZA()()}if(2&m){const l=c.$implicit,g=o.oxw(),x=o.MAs(7);o.ekj("active",l.active)("disabled",g.disabled&&!l.active),o.xp6(2),o.Q6J("ngTemplateOutlet",g.customPageTemplate||x)("ngTemplateOutletContext",o.kEZ(6,Ht,g.disabled,l,g.page))}}function Jn(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"li",16)(1,"a",12),o.NdJ("click",(function(x){o.CHM(l);const F=o.oxw();return o.KtG(F.selectPage(F.page+1,x))})),o.GkF(2,13),o.qZA()()}if(2&m){const l=o.oxw(),g=o.MAs(9);o.ekj("disabled",l.noNext()||l.disabled),o.xp6(2),o.Q6J("ngTemplateOutlet",l.customNextTemplate||g)("ngTemplateOutletContext",o.WLB(4,De,l.noNext()||l.disabled,l.page))}}function ti(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"li",17)(1,"a",12),o.NdJ("click",(function(x){o.CHM(l);const F=o.oxw();return o.KtG(F.selectPage(F.totalPages,x))})),o.GkF(2,13),o.qZA()()}if(2&m){const l=o.oxw(),g=o.MAs(15);o.ekj("disabled",l.noNext()||l.disabled),o.xp6(2),o.Q6J("ngTemplateOutlet",l.customLastTemplate||g)("ngTemplateOutletContext",o.WLB(4,De,l.noNext()||l.disabled,l.page))}}function Xn(m,c){1&m&&o._uU(0),2&m&&o.Oqu(c.$implicit.text)}function cs(m,c){if(1&m&&o._uU(0),2&m){const l=o.oxw();o.Oqu(l.getText("next"))}}function ha(m,c){if(1&m&&o._uU(0),2&m){const l=o.oxw();o.Oqu(l.getText("previous"))}}function Ki(m,c){if(1&m&&o._uU(0),2&m){const l=o.oxw();o.Oqu(l.getText("first"))}}function Ws(m,c){if(1&m&&o._uU(0),2&m){const l=o.oxw();o.Oqu(l.getText("last"))}}let tl=(()=>{class m{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:"« Previous",nextText:"Next »",pageBtnClass:"",align:!0}}}return m.ɵfac=function(l){return new(l||m)},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac,providedIn:"root"}),m})();const to={provide:ce.JU,useExisting:(0,o.Gpc)((()=>wo)),multi:!0};let wo=(()=>{class m{constructor(l,g,x){this.elementRef=l,this.changeDetection=x,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="« Previous",this.nextText="Next »",this.lastText="Last",this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new o.vpe,this.pageChanged=new o.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=l,this.config||this.configureOptions(Object.assign({},g.main,g.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(l){this._itemsPerPage=l,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(l){this._totalItems=l,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(l){this._totalPages=l,this.numPages.emit(l),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(l){const g=this._page;this._page=l>this.totalPages?this.totalPages:l||1,this.changeDetection.markForCheck(),!(g===this._page||typeof g>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(l){this.config=Object.assign({},l)}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(l){this.page=l,this.pages=this.getPages(this.page,this.totalPages)}getText(l){return this[`${l}Text`]||this.config[`${l}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}selectPage(l,g){g&&g.preventDefault(),this.disabled||(g&&g.target&&g.target.blur(),this.writeValue(l),this.onChange(this.page))}makePage(l,g,x){return{text:g,number:l,active:x}}getPages(l,g){const x=[];let F=1,se=g;const ge=typeof this.maxSize<"u"&&this.maxSize<g;ge&&this.maxSize&&(this.rotate?(F=Math.max(l-Math.floor(this.maxSize/2),1),se=F+this.maxSize-1,se>g&&(se=g,F=se-this.maxSize+1)):(F=(Math.ceil(l/this.maxSize)-1)*this.maxSize+1,se=Math.min(F+this.maxSize-1,g)));for(let ke=F;ke<=se;ke++){const Je=this.makePage(ke,ke.toString(),ke===l);x.push(Je)}if(ge&&!this.rotate){if(F>1){const ke=this.makePage(F-1,"...",!1);x.unshift(ke)}if(se<g){const ke=this.makePage(se+1,"...",!1);x.push(ke)}}return x}calculateTotalPages(){const l=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(l||0,1)}}return m.ɵfac=function(l){return new(l||m)(o.Y36(o.SBq),o.Y36(tl),o.Y36(o.sBO))},m.ɵcmp=o.Xpm({type:m,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:[o._Bn([to])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(l,g){1&l&&(o.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),o.NdJ("click",(function(F){return g.selectPage(g.page-1,F)})),o._uU(3),o.qZA()(),o.TgZ(4,"li",1)(5,"a",2),o.NdJ("click",(function(F){return g.selectPage(g.page+1,F)})),o._uU(6),o.qZA()()()),2&l&&(o.xp6(1),o.Tol(g.pageBtnClass),o.ekj("disabled",g.noPrevious())("previous",g.align),o.Q6J("ngClass",o.WLB(18,ki,g.align,g.align)),o.xp6(2),o.Oqu(g.getText("previous")),o.xp6(1),o.Tol(g.pageBtnClass),o.ekj("disabled",g.noNext())("next",g.align),o.Q6J("ngClass",o.WLB(21,Co,g.align,g.align)),o.xp6(2),o.Oqu(g.getText("next")))},dependencies:[v.mk],encapsulation:2}),m})();const w={provide:ce.JU,useExisting:(0,o.Gpc)((()=>I)),multi:!0};let I=(()=>{class m{constructor(l,g,x){this.elementRef=l,this.changeDetection=x,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new o.vpe,this.pageChanged=new o.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=l,this.config||this.configureOptions(g.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(l){this._itemsPerPage=l,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(l){this._totalItems=l,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(l){this._totalPages=l,this.numPages.emit(l),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(l){const g=this._page;this._page=l>this.totalPages?this.totalPages:l||1,this.changeDetection.markForCheck(),!(g===this._page||typeof g>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(l){this.config=Object.assign({},l)}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(l){this.page=l,this.pages=this.getPages(this.page,this.totalPages)}getText(l){return this[`${l}Text`]||this.config[`${l}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}selectPage(l,g){g&&g.preventDefault(),this.disabled||(g&&g.target&&g.target.blur(),this.writeValue(l),this.onChange(this.page))}makePage(l,g,x){return{text:g,number:l,active:x}}getPages(l,g){const x=[];let F=1,se=g;const ge=typeof this.maxSize<"u"&&this.maxSize<g;ge&&this.maxSize&&(this.rotate?(F=Math.max(l-Math.floor(this.maxSize/2),1),se=F+this.maxSize-1,se>g&&(se=g,F=se-this.maxSize+1)):(F=(Math.ceil(l/this.maxSize)-1)*this.maxSize+1,se=Math.min(F+this.maxSize-1,g)));for(let ke=F;ke<=se;ke++){const Je=this.makePage(ke,ke.toString(),ke===l);x.push(Je)}if(ge&&!this.rotate){if(F>1){const ke=this.makePage(F-1,"...",!1);x.unshift(ke)}if(se<g){const ke=this.makePage(se+1,"...",!1);x.push(ke)}}return x}calculateTotalPages(){const l=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(l||0,1)}}return m.ɵfac=function(l){return new(l||m)(o.Y36(o.SBq),o.Y36(tl),o.Y36(o.sBO))},m.ɵcmp=o.Xpm({type:m,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:[o._Bn([w])],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(l,g){1&l&&(o.TgZ(0,"ul",0),o.YNc(1,ot,3,7,"li",1),o.YNc(2,Ye,3,7,"li",2),o.YNc(3,Cn,3,10,"li",3),o.YNc(4,Jn,3,7,"li",4),o.YNc(5,ti,3,7,"li",5),o.qZA(),o.YNc(6,Xn,1,1,"ng-template",null,6,o.W1O),o.YNc(8,cs,1,1,"ng-template",null,7,o.W1O),o.YNc(10,ha,1,1,"ng-template",null,8,o.W1O),o.YNc(12,Ki,1,1,"ng-template",null,9,o.W1O),o.YNc(14,Ws,1,1,"ng-template",null,10,o.W1O)),2&l&&(o.Q6J("ngClass",g.classMap),o.xp6(1),o.Q6J("ngIf",g.boundaryLinks),o.xp6(1),o.Q6J("ngIf",g.directionLinks),o.xp6(1),o.Q6J("ngForOf",g.pages),o.xp6(1),o.Q6J("ngIf",g.directionLinks),o.xp6(1),o.Q6J("ngIf",g.boundaryLinks))},dependencies:[v.mk,v.sg,v.O5,v.tP],encapsulation:2}),m})(),D=(()=>{class m{static forRoot(){return{ngModule:m,providers:[]}}}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez]}),m})();const Ge=["*"],Yn=["header"];function Bn(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"button",4),o.NdJ("click",(function(){o.CHM(l);const x=o.oxw();return o.KtG(x.closeClicked())})),o._UZ(1,"i",5),o.qZA()}if(2&m){const l=o.oxw();o.uIk("id",l.buttonID)}}const Kn=[[["","callout-heading",""]],"*"],kn=["[callout-heading]","*"],Lr=function(m){return{visibility:m}};function bo(m,c){if(1&m&&(o.TgZ(0,"label",10)(1,"span",11),o._uU(2),o.qZA()()),2&m){const l=o.oxw();o.s9C("for",l.toggleID),o.uIk("aria-label",l.labelValue),o.xp6(1),o.uIk("id",l.onTextID),o.xp6(1),o.hij(" ",l.isToggleOff?l.offText:l.onText," ")}}function Ei(m,c){if(1&m&&o._UZ(0,"i",12),2&m){const l=o.oxw();o.uIk("id",l.leftSpinnerID)}}function Qi(m,c){if(1&m&&(o.TgZ(0,"label",13)(1,"span",14),o._uU(2),o.qZA()()),2&m){const l=o.oxw();o.s9C("for",l.toggleID),o.uIk("aria-label",l.labelValue),o.xp6(1),o.uIk("id",l.offTextID),o.xp6(1),o.hij(" ",l.isToggleOff?l.offText:l.onText," ")}}function hi(m,c){if(1&m&&o._UZ(0,"i",15),2&m){const l=o.oxw();o.uIk("id",l.rightSpinnerID)}}const ds=function(m,c,l){return{"switch-on":m,"switch-off":c,disabled:l}},xs=function(m){return{disabled:m}},As=function(m,c){return{"switch-on":m,"switch-off":c}};function bl(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",(function(){o.CHM(l);const x=o.oxw(2);return o.KtG(x.fireClose())})),o.TgZ(1,"span"),o._uU(2,"×"),o.qZA()()}if(2&m){const l=o.oxw(2);o.Q6J("id",l.closeButtonID)("title",l.closeLabel),o.uIk("aria-label",l.closeLabel),o.xp6(1),o.uIk("aria-hidden",!0)}}function no(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"button",10),o.NdJ("click",(function(){o.CHM(l);const x=o.oxw(2);return o.KtG(x.fireToggleMore())})),o._uU(1),o.qZA()}if(2&m){const l=o.oxw(2);o.Q6J("id",l.moreButtonID),o.xp6(1),o.hij(" ",l.moreLabel," ")}}function nl(m,c){if(1&m&&(o.TgZ(0,"strong",11),o._uU(1),o.qZA()),2&m){const l=o.oxw(2);o.xp6(1),o.Oqu(l.label)}}function Is(m,c){if(1&m&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&m){const l=o.oxw(2);o.Q6J("id",l.textMessageID),o.xp6(1),o.hij(" ",l.message," ")}}function rl(m,c){if(1&m&&(o.TgZ(0,"li")(1,"span",12),o._uU(2),o.qZA()()),2&m){const l=c.$implicit,g=c.index,x=o.oxw(3);o.xp6(1),o.s9C("id",x.textListID+"_"+g),o.xp6(1),o.hij(" ",l," ")}}function Fa(m,c){if(1&m&&(o.TgZ(0,"ul",13),o.YNc(1,rl,3,2,"li",14),o.qZA()),2&m){const l=o.oxw(2);o.xp6(1),o.Q6J("ngForOf",l.alert.list)}}function ka(m,c){if(1&m&&(o.TgZ(0,"div",1),o.YNc(1,bl,3,4,"button",2),o.YNc(2,no,2,2,"button",3),o._UZ(3,"span"),o.TgZ(4,"div",4),o.YNc(5,nl,2,1,"strong",5),o.TgZ(6,"span",6),o.YNc(7,Is,2,2,"span",7),o.qZA(),o.YNc(8,Fa,2,1,"ul",8),o.qZA()()),2&m){const l=o.oxw();o.Gre("alert alert-",l.type," ng-hide"),o.Q6J("@openClose",l.animationClass),o.xp6(1),o.Q6J("ngIf",l.showCloseButton),o.xp6(1),o.Q6J("ngIf",l.showMoreButton),o.xp6(1),o.Tol(l.icon),o.uIk("aria-hidden",!0),o.xp6(2),o.Q6J("ngIf",l.hasLabel),o.xp6(2),o.Q6J("ngIf",l.message),o.xp6(1),o.Q6J("ngIf",l.alert&&l.alert.list&&l.alert.list.length)}}function Rs(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"div",6)(1,"cp-alert",7),o.NdJ("close",(function(){const F=o.CHM(l).$implicit,se=o.oxw();return o.KtG(se.alertClosed(F))})),o.qZA()()}if(2&m){const l=c.$implicit;o.xp6(1),o.Q6J("alert",l)}}function li(m,c){if(1&m&&o._UZ(0,"div",8),2&m){const l=o.oxw();o.Q6J("ngClass",l.positionClasses)}}const pi=["searchInput"];function La(m,c){if(1&m&&(o.TgZ(0,"span",6),o._uU(1),o.qZA()),2&m){const l=o.oxw();o.xp6(1),o.Oqu(l.clearIconLabel)}}function Ks(m,c){if(1&m){const l=o.EpF();o.TgZ(0,"button",3),o.NdJ("click",(function(){const F=o.CHM(l).$implicit,se=o.oxw();return o.KtG(se.onOptionClicked(F))})),o.qZA()}if(2&m){const l=c.$implicit,g=o.oxw();o.Q6J("disabled",g.disabled)("selected",g.isOptionSelected(l))("value",l)}}function ko(m,c){1&m&&o._uU(0," >\n")}function ts(m,c){1&m&&o._uU(0," <\n")}function Sl(m,c){1&m&&o._uU(0," >>\n")}function $(m,c){1&m&&o._uU(0," <<\n")}class Yr{constructor(c,l,g=Yr.defaultOptions){this._message=c,this._type=l;const x=g.id?g.id:Math.random().toString(36).substr(2,9);this._id=x,this._closable=g.isCloseable??!0,this._autoClosePeriod=g.autoClosePeriod,this._list=g.list,this._showMore=g.showMore||Yr.defaultShowMore,this._ts=g.createdOn??Date.now()}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(c){const{message:l,type:g,...x}=c;return new Yr(l,g,x)}}Yr.defaultShowMore=!1,Yr.defaultAutoClosePeriod=0,Yr.defaultOptions={autoClosePeriod:Yr.defaultAutoClosePeriod,list:[]};var Ir=(()=>{return(m=Ir||(Ir={}))[m.error=0]="error",m[m.success=1]="success",m[m.warning=2]="warning",m[m.information=3]="information",Ir;var m})(),qr=(()=>{return(m=qr||(qr={})).add="add",m.remove="remove",m.clear="clear",qr;var m})();let qt=(()=>{class m{constructor(){this._alertEventsSource=new z.x,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(l,g=m.defaultGroup){this._alerts[g]||(this._alerts[g]=[]);const x=l instanceof Yr?l:Yr.makeAlert(l);if(this.list(g).push(x),this._alertEventsSource.next({type:qr.add,group:g,alert:x}),(0,o.X6Q)())switch(x.type){case Ir.error:console.error(x.message,x);break;case Ir.warning:console.warn(x.message,x);break;default:console.log(x.message,x)}return x}success(l,g=m.defaultGroup){return this.add(new Yr(l,Ir.success,m.defaultSuccessOptions),g)}error(l,g=m.defaultGroup){return this.add({message:l,type:Ir.error},g)}info(l,g=m.defaultGroup){return this.add({message:l,type:Ir.information},g)}warn(l,g=m.defaultGroup){return this.add({message:l,type:Ir.warning},g)}removeById(l,g=m.defaultGroup){const x=this.list(g),F=x.findIndex((se=>se.id===l),0);if(-1!==F){const se=x[F];x.splice(F,1),this._alertEventsSource.next({type:qr.remove,group:g,alert:se})}}clear(l=m.defaultGroup){this._alerts[l]=[],this._alertEventsSource.next({type:qr.clear,group:l})}list(l=m.defaultGroup){return null==this._alerts[l]&&(this._alerts[l]=[]),this._alerts[l]}}return m.defaultGroup="__DEFAULT__",m.defaultSuccessOptions={autoClosePeriod:1e4},m.ɵfac=function(l){return new(l||m)},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac,providedIn:"root"}),m})(),Jl=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({providers:[qt],imports:[v.ez]}),m})();var ro=(()=>{return(m=ro||(ro={})).inline="inline",m.topLeft="top-left",m.topMiddle="top-middle",m.topRight="top-right",m.bottomLeft="bottom-left",m.bottomMiddle="bottom-middle",m.bottomRight="bottom-right",m.middleLeft="middle-left",m.middleMiddle="middle-middle",m.middleRight="middle-right",ro;var m})();const ga=ro.topRight,Xl=ro.topLeft;var ma=(()=>{return(m=ma||(ma={})).warnings="warnings",m.danger="danger",m.info="info",m.default="info",ma;var m})();let Ua=(()=>{class m{constructor(){this.calloutType=ma.default,this.closeable=!1,this.close=new o.vpe}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}}return m.ɵfac=function(l){return new(l||m)},m.ɵcmp=o.Xpm({type:m,selectors:[["cp-callout"]],viewQuery:function(l,g){if(1&l&&o.Gf(Yn,5),2&l){let x;o.iGM(x=o.CRH())&&(g.header=x.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:kn,decls:7,vars:7,consts:[["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["header",""],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(l,g){1&l&&(o.F$t(Kn),o.TgZ(0,"div",0),o.YNc(1,Bn,2,1,"button",1),o.TgZ(2,"div",2,3),o.Hsn(4),o.qZA(),o.TgZ(5,"div"),o.Hsn(6,1),o.qZA()()),2&l&&(o.Gre("callout callout-",g.calloutType,""),o.uIk("aria-label",g.calloutType),o.xp6(1),o.Q6J("ngIf",g.closeable),o.xp6(1),o.uIk("id",g.headingID),o.xp6(3),o.uIk("id",g.contentID))},dependencies:[v.O5],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%]   .callout[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%]   .callout-danger[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%]   .callout-success[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%]   .callout-warning[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%]   .callout-info[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']}),m})(),_a=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez]}),m})();var Fs=(()=>{return(m=Fs||(Fs={})).loading="loading",m.disabled="disabled",m.enabled="enabled",Fs;var m})();let Iu=(()=>{class m{constructor(){this.click=new o.vpe,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(l){switch(l){case Fs.enabled:this.setToEnabled();break;case Fs.loading:this.setToLoading();break;case Fs.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(l){l.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}}return m.ɵfac=function(l){return new(l||m)},m.ɵcmp=o.Xpm({type:m,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:Ge,decls:3,vars:8,consts:[[1,"btn","action-button",3,"id","type","ngClass","disabled","click"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(l,g){1&l&&(o.F$t(),o.TgZ(0,"button",0),o.NdJ("click",(function(F){return g.onClick(F)})),o._UZ(1,"i",1),o.Hsn(2),o.qZA()),2&l&&(o.MGl("id","",g.id,"-button"),o.s9C("type",g.type),o.Q6J("ngClass",g.buttonClass)("disabled",g.isDisabled),o.xp6(1),o.MGl("id","",g.id,"-spinner"),o.Q6J("ngStyle",o.VKq(6,Lr,g.showSpinner?"visible":"hidden")))},dependencies:[v.mk,v.PC],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%]   .action-button[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']}),m})(),xo=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez]}),m})();var ps=(()=>{return(m=ps||(ps={})).toggleOn="toggleSwitchOn",m.toggleOff="toggleSwitchOff",m.toggleUpdating="toggleSwitchUpdating",ps;var m})(),Oi=(()=>{return(m=Oi||(Oi={})).left="left",m.right="right",Oi;var m})();let p=(()=>{class m{constructor(l){this.locale=l,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new o.vpe,this._isToggleUpdating=!1,this._hasSpinner=!1}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return Oi.left}get rightLabelPosition(){return Oi.right}get isLTR(){return this.locale.isLtr}set toggleState(l){switch(this._toggleState=l,l){case ps.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case ps.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case ps.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(l){this.isDisabled||this._isToggleUpdating||("click"===l.type?this.toggleStatus.emit(l):"keyup"===l.type&&((13===l.keyCode||32===l.keyCode)&&this.toggleStatus.emit(l),this.isLTR?37!==l.keyCode||this._isToggleOffStatus?39===l.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(l):this.toggleStatus.emit(l):(37===l.keyCode&&this._isToggleOffStatus||39===l.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(l)))}isLabelVisible(l){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||l!==this.labelPosition)||void 0)}isSpinnerVisible(l){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||l!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}}return m.ɵfac=function(l){return new(l||m)(o.Y36(Oe.g))},m.ɵcmp=o.Xpm({type:m,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"ngClass","click","keyup"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(l,g){1&l&&(o.TgZ(0,"div",0),o.NdJ("click",(function(F){return g.checkToggle(F)}))("keyup",(function(F){return g.checkToggle(F)})),o.YNc(1,bo,3,4,"label",1),o.YNc(2,Ei,1,1,"i",2),o.TgZ(3,"div",3)(4,"div",4),o._UZ(5,"span",5)(6,"span",6)(7,"span",7),o.qZA()(),o.YNc(8,Qi,3,4,"label",8),o.YNc(9,hi,1,1,"i",9),o.qZA()),2&l&&(o.Q6J("ngClass",o.kEZ(10,ds,!g.isToggleOff,g.isToggleOff,g.isDisabled||g.isToggleUpdating)),o.uIk("id",g.toggleID)("value",g.labelValue)("aria-checked",!g.isToggleOff),o.xp6(1),o.Q6J("ngIf",g.isLabelVisible(g.leftLabelPosition)),o.xp6(1),o.Q6J("ngIf",g.isSpinnerVisible(g.leftLabelPosition)),o.xp6(1),o.Q6J("ngClass",o.VKq(14,xs,g.isDisabled||g.isToggleUpdating)),o.xp6(1),o.Q6J("ngClass",o.WLB(16,As,!g.isToggleOff,g.isToggleOff)),o.xp6(4),o.Q6J("ngIf",g.isLabelVisible(g.rightLabelPosition)),o.xp6(1),o.Q6J("ngIf",g.isSpinnerVisible(g.rightLabelPosition)))},dependencies:[v.mk,v.O5],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]   .toggle-switch-animate[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]   .toggle-switch-animate[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch.disabled[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']}),m})(),_=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez,Xe.m]}),m})();var S=(()=>{return(m=S||(S={})).new="new",m.closed="closed",m.open="open",S;var m})();let k=(()=>{class m{constructor(l){this.locale=l,this.close=new o.vpe,this.toggleMore=new o.vpe,this.animationClass=S.new}get icon(){switch(this.alert.type){case Ir.error:return"type-icon fas fa-times-circle";case Ir.warning:return"type-icon fas fa-exclamation-triangle";case Ir.information:return"type-icon fas fa-info-circle";case Ir.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Ir.error:return"danger";case Ir.warning:return"warning";case Ir.information:return"info";case Ir.success:return"success"}}get hasLabel(){const l=this.label;return null!==l&&""!==l}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}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 Ir.success:this.label=this.locale.maketext("Success:");break;case Ir.error:this.label=this.locale.maketext("Error:");break;case Ir.information:this.label=this.locale.maketext("Information:");break;case Ir.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=S.open}),.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=S.closed,setTimeout((()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0}),250)}fireTimeout(){this.fireClose(),this.clearTimer()}startTimer(){this._timeout=setTimeout((()=>this.fireTimeout()),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}_buildID(...l){return l.join("_")}}return m.ɵfac=function(l){return new(l||m)(o.Y36(Oe.g))},m.ɵcmp=o.Xpm({type:m,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(l,g){1&l&&o.YNc(0,ka,9,13,"div",0),2&l&&o.Q6J("ngIf",!g.isClosed)},dependencies:[v.sg,v.O5],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,$e.X$)("openClose",[(0,$e.SB)(S.new,(0,$e.oB)({opacity:0})),(0,$e.SB)(S.open,(0,$e.oB)({opacity:1})),(0,$e.SB)(S.closed,(0,$e.oB)({opacity:0,transform:"translateX(25%)"})),(0,$e.eR)(`${S.open} => ${S.closed}`,[(0,$e.jt)("0.25s")]),(0,$e.eR)(`${S.new} => ${S.open}`,[(0,$e.jt)("0.25s")]),(0,$e.eR)(`${S.closed} => ${S.open}`,[(0,$e.jt)("0.25s")])])]}}),m})(),te=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez,Ra,Xe.m]}),m})(),le=(()=>{class m{constructor(l){this.locale=l}get position(){return this.locale.isLtr?ga:Xl}}return m.ɵfac=function(l){return new(l||m)(o.LFG(Oe.g))},m.ɵprov=o.Yz7({token:m,factory:m.ɵfac,providedIn:"root"}),m})(),je=(()=>{class m{constructor(l,g){this._alertService=l,this._positionService=g,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?m.positionPrefix+ro.inline.toString():m.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(l){this._position=((m,c=ro.topRight)=>{if(m){const l=(m=>{const c=Object.keys(ro),g=Object.values(ro).indexOf(m);return-1!==g?c[g]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(m);if(l)return ro[l]}return c})(l)}alertClosed(l){this._alertService.removeById(l.id,this.group)}ngOnInit(){this.group||(this.group=qt.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((g=>this._addAlert(g))),this._groupEvents=this._alertService.alertEvents.pipe((0,X.h)((g=>g.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(l){return this.alerts.findIndex((g=>g.id===l))}_addAlert(l){return this.alerts.push(l),this.alerts}_removeAlert(l){const g=this._findAlertIndexById(l.id);return g>-1&&(this.alerts.splice(g,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(l){switch(l.type){case qr.add:this._addAlert(l.alert);break;case qr.clear:this._clearAlerts();break;case qr.remove:this._removeAlert(l.alert)}}}return m.positionPrefix="position-",m.ɵfac=function(l){return new(l||m)(o.Y36(qt),o.Y36(le))},m.ɵcmp=o.Xpm({type:m,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(l,g){1&l&&(o.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),o.YNc(5,Rs,2,1,"div",4),o.qZA()(),o.YNc(6,li,1,1,"div",5),o.qZA()),2&l&&(o.xp6(1),o.Q6J("ngClass",g.positionClasses),o.xp6(4),o.Q6J("ngForOf",g.alerts),o.xp6(1),o.Q6J("ngIf",g.hasAlerts))},dependencies:[v.mk,v.sg,v.O5,k],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;inset: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;inset:0 auto auto 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}}"]}),m})(),wt=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez,te]}),m})(),mn=(()=>{class m{constructor(l){this.locale=l,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new o.vpe,this._searchSubject=new z.x,this._unsubscribe=new z.x,delete this.label,delete this.placeholder}get value(){return this._value}set value(l){this._value=l,this._searchSubject.next(l)}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 ve(m){return(0,K.e)(((c,l)=>{(0,re.Xf)(m).subscribe(new pe.Q(l,(()=>l.complete()),ue.Z)),!l.closed&&c.subscribe(l)}))}(this._unsubscribe),function oe(m,c=q.z){return(0,K.e)(((l,g)=>{let x=null,F=null,se=null;const ge=()=>{if(x){x.unsubscribe(),x=null;const Je=F;F=null,g.next(Je)}};function ke(){const Je=se+m,Ft=c.now();if(Ft<Je)return x=this.schedule(void 0,Je-Ft),void g.add(x);ge()}l.subscribe(new pe.Q(g,(Je=>{F=Je,se=c.now(),x||(x=c.schedule(ke,m),g.add(x))}),(()=>{ge(),g.complete()}),void 0,(()=>{F=x=null})))}))}(this.debounce),function Ae(m,c=Se.y){return m=m??Le,(0,K.e)(((l,g)=>{let x,F=!0;l.subscribe(new pe.Q(g,(se=>{const ge=c(se);(F||!m(x,ge))&&(F=!1,x=ge,g.next(se))})))}))}()).subscribe((l=>{this.valueChange.emit(l)}))}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return m.ɵfac=function(l){return new(l||m)(o.Y36(Oe.g))},m.ɵcmp=o.Xpm({type:m,selectors:[["cp-search"]],viewQuery:function(l,g){if(1&l&&o.Gf(pi,5),2&l){let x;o.iGM(x=o.CRH())&&(g.searchInput=x.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(l,g){1&l&&(o.TgZ(0,"div",0)(1,"input",1,2),o.NdJ("ngModelChange",(function(F){return g.value=F}))("keyup.esc",(function(){return g.clearValue()})),o.qZA(),o.TgZ(3,"span",3),o.NdJ("click",(function(){return g.clearValue()})),o._UZ(4,"span",4),o.YNc(5,La,2,1,"span",5),o.qZA()()),2&l&&(o.xp6(1),o.MGl("id","",g.id,"-search-input"),o.Q6J("ngModel",g.value)("disabled",g.disabled)("placeholder",g.placeholder)("title",g.label),o.uIk("aria-label",g.label)("list",g.list),o.xp6(2),o.MGl("id","",g.id,"-search-input-addon"),o.xp6(1),o.MGl("id","",g.id,"-search-input-icon"),o.Q6J("ngClass",(null==g.value?null:g.value.length)>0?"fas fa-times":"fas fa-search"),o.xp6(1),o.Q6J("ngIf",(null==g.value?null:g.value.length)>0))},dependencies:[v.mk,v.O5,ce.Fj,ce.JJ,ce.On],changeDetection:0}),m})(),kt=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez,ce.u5,Xe.m]}),m})(),iu=(()=>{class m{constructor(l,g=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(g),this.selectorName=l.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach((l=>{if(!this[l])throw new Error(`"${l}" must be defined for "${this.selectorName}"`)})),this._initiate()}_initiate(){}}return m.ɵfac=function(l){o.$Z()},m.ɵdir=o.lG2({type:m,inputs:{id:"id"}}),m})();var Jr=(()=>{return(m=Jr||(Jr={}))[m.all=-1]="all",Jr;var m})();const Ha="pageSizeOption";let Ru=(()=>{class m{constructor(l){this.locale=l,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===Jr.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${Ha}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${Ha}_${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 m.ɵfac=function(l){return new(l||m)(o.Y36(Oe.g))},m.ɵdir=o.lG2({type:m,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(l,g){2&l&&(o.Ikx("id",g.id)("innerText",g.label),o.uIk("aria-label",g.description)("aria-pressed",g.ariaPressed),o.Tol(g.cssClasses))},inputs:{value:"value",selected:"selected"},features:[o.TTD]}),m})(),ll=(()=>{class m extends iu{constructor(l,g){super(l),this.locale=g,this.selectedPageSize=m.defaultPageSize,this.pageSizeOptions=m.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new o.vpe,this.displayedPageSizeOptions=[]}isOptionSelected(l){return l===this.selectedPageSize}onOptionClicked(l){this._dispatchChange(l)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const l=this.pageSizeOptions.slice(0).sort(((x,F)=>x-F));this.showOptionAll&&l.push(Jr.all),-1!==l.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=l:this._dispatchChange(l[0])}_dispatchChange(l){this.optionSelected.emit(l)}}return m.defaultPageSizeOptions=[20,50,100,500],m.defaultPageSize=20,m.ɵfac=function(l){return new(l||m)(o.Y36(o.SBq),o.Y36(Oe.g))},m.ɵcmp=o.Xpm({type:m,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[o.qOj,o.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(l,g){1&l&&(o.TgZ(0,"div")(1,"div",0),o._uU(2),o.qZA(),o.TgZ(3,"div",1),o.YNc(4,Ks,1,3,"button",2),o.qZA()()),2&l&&(o.xp6(2),o.hij(" ",g.locale.maketext("Entries Per Page")," "),o.xp6(2),o.Q6J("ngForOf",g.displayedPageSizeOptions))},dependencies:[v.sg,Ru],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]}),m})(),mi=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez,Xe.m]}),m})(),ou=(()=>{class m extends iu{constructor(l,g){super(l),this.locale=g,this.maxPagesVisible=m.defaultMaxPagesVisible,this.selectedPage=m.firstPageIndex,this.pageSize=ll.defaultPageSize,this.disabled=!1,this.pageChanged=new o.vpe}onPageChanged(l){this._dispatchChange(l)}onNumPagesChanged(l){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(l){const g=this.pageSize*(l-1),x=Math.min(g+this.pageSize,this.totalItems);this.pageChanged.emit({page:l,firstItem:g,lastItem:x}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",g+1,x,this.totalItems)}}return m.defaultMaxPagesVisible=5,m.firstPageIndex=1,m.ɵfac=function(l){return new(l||m)(o.Y36(o.SBq),o.Y36(Oe.g))},m.ɵcmp=o.Xpm({type:m,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[o.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(l,g){if(1&l&&(o.TgZ(0,"div",0)(1,"pagination",1),o.NdJ("ngModelChange",(function(F){return g.selectedPage=F}))("pageChanged",(function(F){return g.onPageChanged(F.page)}))("numPages",(function(F){return g.onNumPagesChanged(F)})),o.qZA(),o.TgZ(2,"p",2),o._uU(3),o.qZA()(),o.YNc(4,ko,1,0,"ng-template",null,3,o.W1O),o.YNc(6,ts,1,0,"ng-template",null,4,o.W1O),o.YNc(8,Sl,1,0,"ng-template",null,5,o.W1O),o.YNc(10,$,1,0,"ng-template",null,6,o.W1O)),2&l){const x=o.MAs(5),F=o.MAs(7),se=o.MAs(9),ge=o.MAs(11);o.Q6J("id",g.id),o.xp6(1),o.MGl("id","",g.id,"_ngx_paginator"),o.Q6J("totalItems",g.totalItems)("maxSize",g.maxPagesVisible)("disabled",g.disabled)("itemsPerPage",g.pageSize)("ngModel",g.selectedPage)("boundaryLinks",!0)("customFirstTemplate",ge)("customLastTemplate",se)("customPreviousTemplate",F)("customNextTemplate",x),o.xp6(2),o.hij(" ",g.itemsDetails," ")}},dependencies:[ce.JJ,ce.On,I],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]}),m})(),Nu=(()=>{class m{}return m.ɵfac=function(l){return new(l||m)},m.ɵmod=o.oAB({type:m}),m.ɵinj=o.cJS({imports:[v.ez,ce.u5,D.forRoot(),Xe.m]}),m})()},8523:(xe,J,P)=>{"use strict";P.d(J,{TO:()=>Ti,Hz:()=>vi,mr:()=>dr,Mq:()=>ei});var o=P(1571),v=P(9300);class z{constructor(j,V){this.open=j,this.close=V||j}isManual(){return"manual"===this.open||"manual"===this.close}}const X={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const q=typeof window<"u"&&window||{};let Ze;function Xt(){if(typeof q.document>"u")return"bs4";const R=q.document.createElement("span");R.innerText="testing bs version",R.classList.add("d-none"),R.classList.add("pl-1"),q.document.head.appendChild(R);const j=R.getBoundingClientRect(),V=q.getComputedStyle(R).paddingLeft;return!j||j&&0!==j.top?(q.document.head.removeChild(R),"bs3"):V&&parseFloat(V)?(q.document.head.removeChild(R),"bs4"):(q.document.head.removeChild(R),"bs5")}function mt(){return typeof q>"u"||(typeof q.__theme>"u"?(Ze||(Ze=Xt()),"bs3"===Ze):"bs3"===q.__theme)}function Ce(){return!mt()&&(Ze||(Ze=Xt()),"bs4"===Ze)}function me(){return{isBs3:mt(),isBs4:Ce(),isBs5:!mt()&&!Ce()&&(Ze||(Ze=Xt()),"bs5"===Ze)}}typeof console>"u"||console;var dn=P(6895),ir=P(7579),Sn=P(6451),Or=P(8421),zn=P(9751),an=P(5577),or=P(1144),Gn=P(576),zr=P(3268);const vr=["addListener","removeListener"],Ai=["addEventListener","removeEventListener"],Hr=["on","off"];function Nr(R,j,V,ie){if((0,Gn.m)(V)&&(ie=V,V=void 0),ie)return Nr(R,j,V).pipe((0,zr.Z)(ie));const[Qe,We]=function Cr(R){return(0,Gn.m)(R.addEventListener)&&(0,Gn.m)(R.removeEventListener)}(R)?Ai.map((lt=>ct=>R[lt](j,ct,V))):function Zr(R){return(0,Gn.m)(R.addListener)&&(0,Gn.m)(R.removeListener)}(R)?vr.map(pr(R,j)):function Xr(R){return(0,Gn.m)(R.on)&&(0,Gn.m)(R.off)}(R)?Hr.map(pr(R,j)):[];if(!Qe&&(0,or.z)(R))return(0,an.z)((lt=>Nr(lt,j,V)))((0,Or.Xf)(R));if(!Qe)throw new TypeError("Invalid event target");return new zn.y((lt=>{const ct=(...ut)=>lt.next(1<ut.length?ut:ut[0]);return Qe(ct),()=>We(ct)}))}function pr(R,j){return V=>ie=>R[V](j,ie)}var Gt=P(9646),Kr=P(4408),sr=P(727);const de={schedule(R){let j=requestAnimationFrame,V=cancelAnimationFrame;const{delegate:ie}=de;ie&&(j=ie.requestAnimationFrame,V=ie.cancelAnimationFrame);const Qe=j((We=>{V=void 0,R(We)}));return new sr.w0((()=>V?.(Qe)))},requestAnimationFrame(...R){const{delegate:j}=de;return(j?.requestAnimationFrame||requestAnimationFrame)(...R)},cancelAnimationFrame(...R){const{delegate:j}=de;return(j?.cancelAnimationFrame||cancelAnimationFrame)(...R)},delegate:void 0};var Re=P(640);const fe=new class He extends Re.v{flush(j){this._active=!0,this._scheduled=void 0;const{actions:V}=this;let ie,Qe=-1;j=j||V.shift();const We=V.length;do{if(ie=j.execute(j.state,j.delay))break}while(++Qe<We&&(j=V.shift()));if(this._active=!1,ie){for(;++Qe<We&&(j=V.shift());)j.unsubscribe();throw ie}}}(class Ve extends Kr.o{constructor(j,V){super(j,V),this.scheduler=j,this.work=V}requestAsyncId(j,V,ie=0){return null!==ie&&ie>0?super.requestAsyncId(j,V,ie):(j.actions.push(this),j._scheduled||(j._scheduled=de.requestAnimationFrame((()=>j.flush(void 0)))))}recycleAsyncId(j,V,ie=0){if(null!=ie&&ie>0||null==ie&&this.delay>0)return super.recycleAsyncId(j,V,ie);0===j.actions.length&&(de.cancelAnimationFrame(V),j._scheduled=void 0)}});var W=(()=>{return(R=W||(W={})).top="top",R.bottom="bottom",R.left="left",R.right="right",R.auto="auto",R.end="right",R.start="left",R["top left"]="top left",R["top right"]="top right",R["right top"]="right top",R["right bottom"]="right bottom",R["bottom right"]="bottom right",R["bottom left"]="bottom left",R["left bottom"]="left bottom",R["left top"]="left top",R["top start"]="top left",R["top end"]="top right",R["end top"]="right top",R["end bottom"]="right bottom",R["bottom end"]="bottom right",R["bottom start"]="bottom left",R["start bottom"]="start bottom",R["start top"]="left top",W;var R})(),Ee=(()=>{return(R=Ee||(Ee={})).top="top",R.bottom="bottom",R.left="start",R.right="end",R.auto="auto",R.end="end",R.start="start",R["top left"]="top start",R["top right"]="top end",R["right top"]="end top",R["right bottom"]="end bottom",R["bottom right"]="bottom end",R["bottom left"]="bottom start",R["left bottom"]="start bottom",R["left top"]="start top",R["top start"]="top start",R["top end"]="top end",R["end top"]="end top",R["end bottom"]="end bottom",R["bottom end"]="bottom end",R["bottom start"]="bottom start",R["start bottom"]="start bottom",R["start top"]="start top",Ee;var R})();function Pe(R,j){if(1!==R.nodeType)return[];const ie=R.ownerDocument.defaultView?.getComputedStyle(R,null);return j?ie&&ie[j]:ie}function rt(R){if(!R)return document.documentElement;let ie,V=R?.offsetParent;for(;null===V&&R.nextElementSibling&&ie!==R.nextElementSibling;)ie=R.nextElementSibling,V=ie.offsetParent;const Qe=V&&V.nodeName;return Qe&&"BODY"!==Qe&&"HTML"!==Qe?V&&-1!==["TH","TD","TABLE"].indexOf(V.nodeName)&&"static"===Pe(V,"position")?rt(V):V:ie?ie.ownerDocument.documentElement:document.documentElement}function $t(R){return null!==R.parentNode?$t(R.parentNode):R}function _t(R,j){if(!(R&&R.nodeType&&j&&j.nodeType))return document.documentElement;const V=R.compareDocumentPosition(j)&Node.DOCUMENT_POSITION_FOLLOWING,ie=V?R:j,Qe=V?j:R,We=document.createRange();We.setStart(ie,0),We.setEnd(Qe,0);const lt=We.commonAncestorContainer;if(R!==lt&&j!==lt||ie.contains(Qe))return function pt(R){const{nodeName:j}=R;return"BODY"!==j&&("HTML"===j||rt(R.firstElementChild)===R)}(lt)?lt:rt(lt);const ct=$t(R);return ct.host?_t(ct.host,j):_t(R,$t(j).host)}function Ot(R){if(!R||!R.parentElement)return document.documentElement;let j=R.parentElement;for(;j?.parentElement&&"none"===Pe(j,"transform");)j=j.parentElement;return j||document.documentElement}function en(R,j){const V="x"===j?"Left":"Top",ie="Left"===V?"Right":"Bottom";return parseFloat(R[`border${V}Width`])+parseFloat(R[`border${ie}Width`])}function Mn(R,j,V,ie){return Math.max(j[`offset${R}`],j[`scroll${R}`],V[`client${R}`],V[`offset${R}`],V[`scroll${R}`],0)}function Vt(R){const j=R.body,V=R.documentElement;return{height:Mn("Height",j,V),width:Mn("Width",j,V)}}function xt(R){return{...R,right:(R.left||0)+R.width,bottom:(R.top||0)+R.height}}function Dt(R){return"number"==typeof R||"[object Number]"===Object.prototype.toString.call(R)}function $n(R){const j=R.getBoundingClientRect();if(!(j&&Dt(j.top)&&Dt(j.left)&&Dt(j.bottom)&&Dt(j.right)))return j;const V={left:j.left,top:j.top,width:j.right-j.left,height:j.bottom-j.top},ie="HTML"===R.nodeName?Vt(R.ownerDocument):void 0,Qe=ie?.width||R.clientWidth||Dt(j.right)&&Dt(V.left)&&j.right-V.left||0,We=ie?.height||R.clientHeight||Dt(j.bottom)&&Dt(V.top)&&j.bottom-V.top||0;let lt=R.offsetWidth-Qe,ct=R.offsetHeight-We;if(lt||ct){const ut=Pe(R);lt-=en(ut,"x"),ct-=en(ut,"y"),V.width-=lt,V.height-=ct}return xt(V)}function Zt(R){return"HTML"===R.nodeName?R:R.parentNode||R.host}function At(R){if(!R)return document.body;switch(R.nodeName){case"HTML":case"BODY":return R.ownerDocument.body;case"#document":return R.body}const{overflow:j,overflowX:V,overflowY:ie}=Pe(R);return/(auto|scroll|overlay)/.test(String(j)+String(ie)+String(V))?R:At(Zt(R))}function fn(R,j,V=!1){const ie="HTML"===j.nodeName,Qe=$n(R),We=$n(j),ct=(At(R),Pe(j)),ut=parseFloat(ct.borderTopWidth),un=parseFloat(ct.borderLeftWidth);V&&ie&&(We.top=Math.max(We.top??0,0),We.left=Math.max(We.left??0,0));const bn=xt({top:(Qe.top??0)-(We.top??0)-ut,left:(Qe.left??0)-(We.left??0)-un,width:Qe.width,height:Qe.height});if(bn.marginTop=0,bn.marginLeft=0,ie){const Fr=parseFloat(ct.marginTop),Qr=parseFloat(ct.marginLeft);Dt(bn.top)&&(bn.top-=ut-Fr),Dt(bn.bottom)&&(bn.bottom-=ut-Fr),Dt(bn.left)&&(bn.left-=un-Qr),Dt(bn.right)&&(bn.right-=un-Qr),bn.marginTop=Fr,bn.marginLeft=Qr}return bn}function Nt(R,j="top"){const V="top"===j?"scrollTop":"scrollLeft",ie=R.nodeName;if("BODY"===ie||"HTML"===ie){const Qe=R.ownerDocument.documentElement;return(R.ownerDocument.scrollingElement||Qe)[V]}return R[V]}function Rt(R){const j=R.nodeName;return"BODY"!==j&&"HTML"!==j&&("fixed"===Pe(R,"position")||Rt(Zt(R)))}function hn(R,j,V=0,ie,Qe=!1){let We={top:0,left:0};const lt=Qe?Ot(R):_t(R,j);if("viewport"===ie)We=function yn(R,j=!1){const V=R.ownerDocument.documentElement,ie=fn(R,V),Qe=Math.max(V.clientWidth,window.innerWidth||0),We=Math.max(V.clientHeight,window.innerHeight||0),lt=j?0:Nt(V),ct=j?0:Nt(V,"left");return xt({top:lt-Number(ie?.top)+Number(ie?.marginTop),left:ct-Number(ie?.left)+Number(ie?.marginLeft),width:Qe,height:We})}(lt,Qe);else{let ct;"scrollParent"===ie?(ct=At(Zt(j)),"BODY"===ct.nodeName&&(ct=R.ownerDocument.documentElement)):ct="window"===ie?R.ownerDocument.documentElement:ie;const ut=fn(ct,lt,Qe);if(ut&&"HTML"===ct.nodeName&&!Rt(lt)){const{height:un,width:bn}=Vt(R.ownerDocument);Dt(We.top)&&Dt(ut.top)&&Dt(ut.marginTop)&&(We.top+=ut.top-ut.marginTop),Dt(We.top)&&(We.bottom=Number(un)+Number(ut.top)),Dt(We.left)&&Dt(ut.left)&&Dt(ut.marginLeft)&&(We.left+=ut.left-ut.marginLeft),Dt(We.top)&&(We.right=Number(bn)+Number(ut.left))}else ut&&(We=ut)}return Dt(We.left)&&(We.left+=V),Dt(We.top)&&(We.top+=V),Dt(We.right)&&(We.right-=V),Dt(We.bottom)&&(We.bottom-=V),We}function on({width:R,height:j}){return R*j}function gr(R,j,V,ie,Qe=["top","bottom","right","left"],We="viewport",lt=0){if(-1===R.indexOf("auto"))return R;const ct=hn(V,ie,lt,We),ut={top:{width:ct?.width??0,height:(j?.top??0)-(ct?.top??0)},right:{width:(ct?.right??0)-(j?.right??0),height:ct?.height??0},bottom:{width:ct?.width??0,height:(ct?.bottom??0)-(j?.bottom??0)},left:{width:(j.left??0)-(ct?.left??0),height:ct?.height??0}},un=Object.keys(ut).map((jr=>({position:jr,...ut[jr],area:on(ut[jr])}))).sort(((jr,Ci)=>Ci.area-jr.area));let bn=un.filter((({width:jr,height:Ci})=>jr>=V.clientWidth&&Ci>=V.clientHeight));bn=bn.filter((({position:jr})=>Qe.some((Ci=>Ci===jr))));const Fr=bn.length>0?bn[0].position:un[0].position,Qr=R.split(" ")[1];return V.className=V.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${me().isBs5?Ee[Fr]:Fr}`),Fr+(Qr?`-${Qr}`:"")}const mr=(R,j=0)=>R?parseFloat(R):j;function ln(R){const V=R.ownerDocument.defaultView?.getComputedStyle(R),ie=mr(V?.marginTop)+mr(V?.marginBottom),Qe=mr(V?.marginLeft)+mr(V?.marginRight);return{width:Number(R.offsetWidth)+Qe,height:Number(R.offsetHeight)+ie}}function we(R,j,V){return fn(j,V?Ot(R):_t(R,j),V)}function ae(R,j,V){const ie=V.split(" ")[0],Qe=ln(R),We={width:Qe.width,height:Qe.height},lt=-1!==["right","left"].indexOf(ie),ct=lt?"top":"left",ut=lt?"left":"top",un=lt?"height":"width",bn=lt?"width":"height";return We[ct]=(j[ct]??0)+j[un]/2-Qe[un]/2,We[ut]=ie===ut?(j[ut]??0)-Qe[bn]:j[function Wn(R){const j={left:"right",right:"left",bottom:"top",top:"bottom"};return R.replace(/left|right|bottom|top/g,(V=>j[V]))}(ut)]??0,We}function Y(R,j){return!!R.modifiers[j]?.enabled}const U={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 ne(R,j){return!!me().isBs5&&U[j].includes(R)}function Bt(R,j,V){!R||!j||Object.keys(j).forEach((ie=>{let Qe="";-1!==["width","height","top","right","bottom","left"].indexOf(ie)&&function It(R){return""!==R&&!isNaN(parseFloat(R))&&isFinite(Number(R))}(j[ie])&&(Qe="px"),V?V.setStyle(R,ie,`${String(j[ie])}${Qe}`):R.style[ie]=String(j[ie])+Qe}))}function st(R){let j=R.offsets.target;const V=R.instance.target.querySelector(".arrow");if(!V)return R;const ie=-1!==["left","right"].indexOf(R.placement.split(" ")[0]),Qe=ie?"height":"width",We=ie?"Top":"Left",lt=We.toLowerCase(),ct=ie?"left":"top",ut=ie?"bottom":"right",un=ln(V)[Qe],bn=R.placement.split(" ")[1];(R.offsets.host[ut]??0)-un<(j[lt]??0)&&(j[lt]-=(j[lt]??0)-((R.offsets.host[ut]??0)-un)),Number(R.offsets.host[lt])+Number(un)>(j[ut]??0)&&(j[lt]+=Number(R.offsets.host[lt])+Number(un)-Number(j[ut])),j=xt(j);const Fr=Pe(R.instance.target),Qr=parseFloat(Fr[`margin${We}`])||0,jr=parseFloat(Fr[`border${We}Width`])||0;let Ci;if(bn){const Wi=parseFloat(Fr.borderRadius)||0,so=Number(Qr+jr+Wi);Ci=lt===bn?Number(R.offsets.host[lt])+so:Number(R.offsets.host[lt])+Number(R.offsets.host[Qe]-so)}else Ci=Number(R.offsets.host[lt])+Number(R.offsets.host[Qe]/2-un/2);let oo=Ci-(j[lt]??0)-Qr-jr;return oo=Math.max(Math.min(j[Qe]-(un+5),oo),0),R.offsets.arrow={[lt]:Math.round(oo),[ct]:""},R.instance.arrow=V,R}function Et(R){if(R.offsets.target=xt(R.offsets.target),!Y(R.options,"flip"))return R.offsets.target={...R.offsets.target,...ae(R.instance.target,R.offsets.host,R.placement)},R;const j=hn(R.instance.target,R.instance.host,0,"viewport",!1);let V=R.placement.split(" ")[0],ie=R.placement.split(" ")[1]||"";const ct=gr("auto",R.offsets.host,R.instance.target,R.instance.host,R.options.allowedPositions),ut=[V,ct];return ut.forEach(((un,bn)=>{if(V!==un||ut.length===bn+1)return;V=R.placement.split(" ")[0];const Fr="left"===V&&Math.floor(R.offsets.target.right??0)>Math.floor(R.offsets.host.left??0)||"right"===V&&Math.floor(R.offsets.target.left??0)<Math.floor(R.offsets.host.right??0)||"top"===V&&Math.floor(R.offsets.target.bottom??0)>Math.floor(R.offsets.host.top??0)||"bottom"===V&&Math.floor(R.offsets.target.top??0)<Math.floor(R.offsets.host.bottom??0),Qr=Math.floor(R.offsets.target.left??0)<Math.floor(j.left??0),jr=Math.floor(R.offsets.target.right??0)>Math.floor(j.right??0),Ci=Math.floor(R.offsets.target.top??0)<Math.floor(j.top??0),oo=Math.floor(R.offsets.target.bottom??0)>Math.floor(j.bottom??0),Wi="left"===V&&Qr||"right"===V&&jr||"top"===V&&Ci||"bottom"===V&&oo,so=-1!==["top","bottom"].indexOf(V),Ro=so&&"left"===ie&&Qr||so&&"right"===ie&&jr||!so&&"left"===ie&&Ci||!so&&"right"===ie&&oo;(Fr||Wi||Ro)&&((Fr||Wi)&&(V=ut[bn+1]),Ro&&(ie=function Nn(R){return"right"===R?"left":"left"===R?"right":R}(ie)),R.placement=V+(ie?` ${ie}`:""),R.offsets.target={...R.offsets.target,...ae(R.instance.target,R.offsets.host,R.placement)})})),R}function vt(R){if(!Y(R.options,"preventOverflow"))return R;const j="transform",V=R.instance.target.style,{top:ie,left:Qe,[j]:We}=V;V.top="",V.left="",V[j]="";const lt=hn(R.instance.target,R.instance.host,0,R.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);V.top=ie,V.left=Qe,V[j]=We;const ut={primary(un){let bn=R.offsets.target[un];return(R.offsets.target[un]??0)<(lt[un]??0)&&(bn=Math.max(R.offsets.target[un]??0,lt[un]??0)),{[un]:bn}},secondary(un){const bn="right"===un,Fr=bn?"left":"top";let jr=R.offsets.target[Fr];return(R.offsets.target[un]??0)>(lt[un]??0)&&(jr=Math.min(R.offsets.target[Fr]??0,(lt[un]??0)-R.offsets.target[bn?"width":"height"])),{[Fr]:jr}}};return["left","right","top","bottom"].forEach((un=>{const bn=-1!==["left","top","start"].indexOf(un)?ut.primary:ut.secondary;R.offsets.target={...R.offsets.target,...bn(un)}})),R}function St(R){const j=R.placement,V=j.split(" ")[0],ie=j.split(" ")[1];if(ie){const{host:Qe,target:We}=R.offsets,lt=-1!==["bottom","top"].indexOf(V),ct=lt?"left":"top",ut=lt?"width":"height",un={start:{[ct]:Qe[ct]},end:{[ct]:(Qe[ct]??0)+Qe[ut]-We[ut]}};R.offsets.target={...We,[ct]:ct===ie?un.start[ct]:un.end[ct]}}return R}const Ut=new class zt{position(j,V){return this.offset(j,V)}offset(j,V){return we(V,j)}positionElements(j,V,ie,Qe,We){const lt=[Et,St,vt,st],ut=function ze(R,j,V,ie){if(!R||!j)return;const Qe=we(R,j);!V.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!V.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(V="auto");const We=!!V.match(/auto/g);let lt=V.match(/auto\s(left|right|top|bottom|start|end)/)?V.split(" ")[1]||"auto":V;const ct=lt.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return ct&&(lt=ct[1]+(ct[2]?` ${ct[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(lt)&&(lt="auto"),lt=gr(lt,Qe,R,j,ie?ie.allowedPositions:void 0),{options:ie||{modifiers:{}},instance:{target:R,host:j,arrow:void 0},offsets:{target:ae(R,Qe,lt),host:Qe,arrow:void 0},positionFixed:!1,placement:lt,placementAuto:We}}(V,j,W[ie],We);if(ut)return lt.reduce(((un,bn)=>bn(un)),ut)}};function Mt(R,j,V,ie,Qe,We){const lt=Ut.positionElements(R,j,V,ie,Qe);if(!lt)return;const ct=function wr(R){return{width:R.offsets.target.width,height:R.offsets.target.height,left:Math.floor(R.offsets.target.left??0),top:Math.round(R.offsets.target.top??0),bottom:Math.round(R.offsets.target.bottom??0),right:Math.floor(R.offsets.target.right??0)}}(lt);Bt(j,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${ct.left}px, ${ct.top}px, 0px)`},We),lt.instance.arrow&&Bt(lt.instance.arrow,lt.offsets.arrow,We),function it(R,j){const V=R.instance.target;let ie=V.className;const Qe=me().isBs5?Ee[R.placement]:R.placement;R.placementAuto&&(ie=ie.replace(/bs-popover-auto/g,`bs-popover-${Qe}`),ie=ie.replace(/ms-2|me-2|mb-2|mt-2/g,""),ie=ie.replace(/bs-tooltip-auto/g,`bs-tooltip-${Qe}`),ie=ie.replace(/\sauto/g,` ${Qe}`),-1!==ie.indexOf("popover")&&(ie=ie+" "+function Fe(R){return me().isBs5?ne(R,"end")?"ms-2":ne(R,"start")?"me-2":ne(R,"top")?"mb-2":ne(R,"bottom")?"mt-2":"":""}(Qe)),-1!==ie.indexOf("popover")&&-1===ie.indexOf("popover-auto")&&(ie+=" popover-auto"),-1!==ie.indexOf("tooltip")&&-1===ie.indexOf("tooltip-auto")&&(ie+=" tooltip-auto")),ie=ie.replace(/left|right|top|bottom|end|start/g,`${Qe.split(" ")[0]}`),j?j.setAttribute(V,"class",ie):V.className=ie}(lt,We)}let tn=(()=>{class R{constructor(V,ie,Qe){this.update$$=new ir.x,this.positionElements=new Map,this.isDisabled=!1,(0,dn.NF)(Qe)&&V.runOutsideAngular((()=>{this.triggerEvent$=(0,Sn.T)(Nr(window,"scroll",{passive:!0}),Nr(window,"resize",{passive:!0}),(0,Gt.of)(0,fe),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((We=>{Mt(Kt(We.target),Kt(We.element),We.attachment,We.appendToBody,this.options,ie.createRenderer(null,null))}))}))}))}position(V){this.addPositionElement(V)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(V){this.positionElements.set(Kt(V.element),V)}calcPosition(){this.update$$.next(null)}deletePositionElement(V){this.positionElements.delete(Kt(V))}setOptions(V){this.options=V}}return R.ɵfac=function(V){return new(V||R)(o.LFG(o.R0b),o.LFG(o.FYo),o.LFG(o.Lbi))},R.ɵprov=o.Yz7({token:R,factory:R.ɵfac,providedIn:"root"}),R})();function Kt(R){return"string"==typeof R?document.querySelector(R):R instanceof o.SBq?R.nativeElement:R??null}class In{constructor(j,V,ie){this.nodes=j,this.viewRef=V,this.componentRef=ie}}class tr{constructor(j,V,ie,Qe,We,lt,ct,ut,un){this._viewContainerRef=j,this._renderer=V,this._elementRef=ie,this._injector=Qe,this._componentFactoryResolver=We,this._ngZone=lt,this._applicationRef=ct,this._posService=ut,this._document=un,this.onBeforeShow=new o.vpe,this.onShown=new o.vpe,this.onBeforeHide=new o.vpe,this.onHidden=new o.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(j){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(j),this}to(j){return this.container=j||this.container,this}position(j){return j?(this.attachment=j.attachment||this.attachment,this._elementRef=j.target||this._elementRef,this):this}provide(j){return this._providers.push(j),this}show(j={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(j.content,j.context,j.initialState);const V=o.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(V,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,j),this.container instanceof o.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const ie=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!ie)return;ie.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(j.id?{id:j.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(j){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const V=this._componentRef.location.nativeElement;return V.parentNode?.removeChild(V),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(j?{id:j}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(j){this.triggers=j.triggers||this.triggers,this._listenOpts.outsideClick=j.outsideClick,this._listenOpts.outsideEsc=j.outsideEsc,j.target=j.target||this._elementRef?.nativeElement;const V=this._listenOpts.hide=()=>j.hide?j.hide():void this.hide(),ie=this._listenOpts.show=We=>{j.show?j.show(We):this.show(We),We()};return this._renderer&&(this._unregisterListenersFn=function re(R,j){const V=function K(R,j=X){const V=(R||"").trim();if(0===V.length)return[];const ie=V.split(/\s+/).map((We=>We.split(":"))).map((We=>{const lt=j[We[0]]||We;return new z(lt[0],lt[1])})),Qe=ie.filter((We=>We.isManual()));if(Qe.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Qe.length&&ie.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ie}(j.triggers),ie=j.target;if(1===V.length&&V[0].isManual())return Function.prototype;const Qe=[],We=[],lt=()=>{We.forEach((ct=>Qe.push(ct()))),We.length=0};return V.forEach((ct=>{const ut=ct.open===ct.close,un=ut?j.toggle:j.show;if(!ut&&ct.close&&j.hide){const bn=R.listen(ie,ct.close,j.hide);We.push((()=>bn))}un&&Qe.push(R.listen(ie,ct.open,(()=>un(lt))))})),()=>{Qe.forEach((ct=>ct()))}}(this._renderer,{target:j.target,triggers:j.triggers,show:ie,hide:V,toggle:We=>{this.isShown?V():ie(We)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(j,V){return j&&V&&(this._inlineViewRef=j.createEmbeddedView(V)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const j=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(this._globalListener=function ue(R,j){return j.outsideClick?R.listen("document","click",(V=>{j.target&&j.target.contains(V.target)||j.targets&&j.targets.some((ie=>ie.contains(V.target)))||j.hide&&j.hide()})):Function.prototype}(this._renderer,{targets:[j,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function ve(R,j){return j.outsideEsc?R.listen("document","keyup.esc",(V=>{j.target&&j.target.contains(V.target)||j.targets&&j.targets.some((ie=>ie.contains(V.target)))||j.hide&&j.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(j,V,ie){if(!j)return new In([]);if(j instanceof o.Rgc){if(this._viewContainerRef){const lt=this._viewContainerRef.createEmbeddedView(j,V);return lt.markForCheck(),new In([lt.rootNodes],lt)}const We=j.createEmbeddedView({});return this._applicationRef.attachView(We),new In([We.rootNodes],We)}if("function"==typeof j){const We=this._componentFactoryResolver.resolveComponentFactory(j),lt=o.zs3.create({providers:this._providers,parent:this._injector}),ct=We.create(lt);return Object.assign(ct.instance,ie),this._applicationRef.attachView(ct.hostView),new In([[ct.location.nativeElement]],ct.hostView,ct)}const Qe=this._renderer?[this._renderer.createText(`${j}`)]:[];return new In([Qe])}}let xr=(()=>{class R{constructor(V,ie,Qe,We,lt,ct){this._componentFactoryResolver=V,this._ngZone=ie,this._injector=Qe,this._posService=We,this._applicationRef=lt,this._document=ct}createLoader(V,ie,Qe){return new tr(ie,Qe,V,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}}return R.ɵfac=function(V){return new(V||R)(o.LFG(o._Vd),o.LFG(o.R0b),o.LFG(o.zs3),o.LFG(tn),o.LFG(o.z2F),o.LFG(dn.K0))},R.ɵprov=o.Yz7({token:R,factory:R.ɵfac,providedIn:"root"}),R})();var Gr=P(7340);const Mr=function(R){return{dropdown:R}},ar=["*"];let Gi=(()=>{class R{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return R.ɵfac=function(V){return new(V||R)},R.ɵprov=o.Yz7({token:R,factory:R.ɵfac,providedIn:"root"}),R})(),vn=(()=>{class R{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new o.vpe,this.isDisabledChange=new o.vpe,this.toggleClick=new o.vpe,this.counts=0,this.dropdownMenu=new Promise((V=>{this.resolveDropdownMenu=V}))}}return R.ɵfac=function(V){return new(V||R)},R.ɵprov=o.Yz7({token:R,factory:R.ɵfac,providedIn:"platform"}),R})();const Ii=[(0,Gr.oB)({height:0,overflow:"hidden"}),(0,Gr.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,Gr.oB)({height:"*",overflow:"hidden"}))];let yi=(()=>{class R{constructor(V,ie,Qe,We,lt){this._state=V,this.cd=ie,this._renderer=Qe,this._element=We,this.isOpen=!1,this._factoryDropDownAnimation=lt.build(Ii),this._subscription=V.isOpenChange.subscribe((ct=>{this.isOpen=ct;const ut=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),ut&&!mt()&&(this._renderer.addClass(ut,"show"),(ut.classList.contains("dropdown-menu-right")||ut.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(ut,"left","auto"),this._renderer.setStyle(ut,"right","0")),"up"===this.direction&&(this._renderer.setStyle(ut,"top","auto"),this._renderer.setStyle(ut,"transform","translateY(-101%)"))),ut&&this._state.isAnimated&&this._factoryDropDownAnimation.create(ut).play(),this.cd.markForCheck(),this.cd.detectChanges()}))}get direction(){return this._state.direction}_contains(V){return this._element.nativeElement.contains(V)}ngOnDestroy(){this._subscription.unsubscribe()}}return R.ɵfac=function(V){return new(V||R)(o.Y36(vn),o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Gr._j))},R.ɵcmp=o.Xpm({type:R,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:ar,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(V,ie){1&V&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA()),2&V&&(o.ekj("dropup","up"===ie.direction)("show",ie.isOpen)("open",ie.isOpen),o.Q6J("ngClass",o.VKq(7,Mr,"down"===ie.direction)))},dependencies:[dn.mk],encapsulation:2,changeDetection:0}),R})(),Ti=(()=>{class R{constructor(V,ie,Qe,We,lt,ct,ut){this._elementRef=V,this._renderer=ie,this._viewContainerRef=Qe,this._cis=We,this._state=lt,this._config=ct,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=ut.build(Ii),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:vn,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(V){this._state.autoClose=V}get autoClose(){return this._state.autoClose}set isAnimated(V){this._state.isAnimated=V}get isAnimated(){return this._state.isAnimated}set insideClick(V){this._state.insideClick=V}get insideClick(){return this._state.insideClick}set isDisabled(V){this._isDisabled=V,this._state.isDisabledChange.emit(V),V&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(V){V?this.show():this.hide()}get isBs4(){return!mt()}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((V=>this.toggle(V)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,v.h)((V=>V))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then((V=>{this._dropdown.attachInline(V.viewContainer,V.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((V=>{const ie=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ie?"up":"down";const Qe=this.placement||(ie?"top start":"bottom start");this._dropdown.attach(yi).to(this.container).position({attachment:Qe}).show({content:V.templateRef,placement:Qe}),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(V){return this.isOpen||!V?this.hide():this.show()}_contains(V){return this._elementRef.nativeElement.contains(V.target)||this._dropdown.instance&&this._dropdown.instance._contains(V.target)}navigationClick(V){const ie=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ie)return;const Qe=this._elementRef.nativeElement.ownerDocument.activeElement,We=ie.querySelectorAll(".dropdown-item");switch(V.keyCode){case 38:this._state.counts>0&&We[--this._state.counts].focus();break;case 40:this._state.counts+1<We.length&&(Qe.classList!==We[this._state.counts].classList?We[this._state.counts].focus():We[++this._state.counts].focus())}V.preventDefault()}ngOnDestroy(){for(const V of this._subscriptions)V.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){mt()||(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 V=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",V?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",V?"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 R.ɵfac=function(V){return new(V||R)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.s_b),o.Y36(xr),o.Y36(vn),o.Y36(Gi),o.Y36(Gr._j))},R.ɵdir=o.lG2({type:R,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(V,ie){1&V&&o.NdJ("keydown.arrowDown",(function(We){return ie.navigationClick(We)}))("keydown.arrowUp",(function(We){return ie.navigationClick(We)})),2&V&&o.ekj("dropup",ie.dropup)("open",ie.isOpen)("show",ie.isOpen&&ie.isBs4)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[o._Bn([vn])]}),R})(),vi=(()=>{class R{constructor(V,ie,Qe){V.resolveDropdownMenu({templateRef:Qe,viewContainer:ie})}}return R.ɵfac=function(V){return new(V||R)(o.Y36(vn),o.Y36(o.s_b),o.Y36(o.Rgc))},R.ɵdir=o.lG2({type:R,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),R})(),ei=(()=>{class R{constructor(V,ie,Qe,We,lt){this._changeDetectorRef=V,this._dropdown=ie,this._element=Qe,this._renderer=We,this._state=lt,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((ct=>{this.isOpen=ct,ct?(this._documentClickListener=this._renderer.listen("document","click",(ut=>{this._state.autoClose&&2!==ut.button&&!this._element.nativeElement.contains(ut.target)&&(!this._state.insideClick||!this._dropdown._contains(ut))&&(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((ct=>this.isDisabled=ct||void 0)))}onClick(V){this._state.stopOnClickPropagation&&V.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const V of this._subscriptions)V.unsubscribe()}}return R.ɵfac=function(V){return new(V||R)(o.Y36(o.sBO),o.Y36(Ti),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(vn))},R.ɵdir=o.lG2({type:R,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(V,ie){1&V&&o.NdJ("click",(function(We){return ie.onClick(We)})),2&V&&o.uIk("aria-haspopup",!0)("disabled",ie.isDisabled)("aria-expanded",ie.isOpen)},exportAs:["bs-dropdown-toggle"]}),R})(),dr=(()=>{class R{static forRoot(){return{ngModule:R,providers:[xr,tn,vn]}}}return R.ɵfac=function(V){return new(V||R)},R.ɵmod=o.oAB({type:R}),R.ɵinj=o.cJS({imports:[dn.ez]}),R})()},9241:(xe,J,P)=>{"use strict";P.d(J,{AH:()=>ve,P4:()=>Se,wW:()=>q});var o=P(1571),v=P(6895);function z(Ae,Le){if(1&Ae){const ce=o.EpF();o.TgZ(0,"span",7),o.NdJ("click",(function(Oe){o.CHM(ce);const $e=o.oxw().$implicit,et=o.oxw();return Oe.preventDefault(),o.KtG(et.removeTab($e))})),o._uU(1," ❌"),o.qZA()}}const X=function(Ae){return["nav-item",Ae]};function K(Ae,Le){if(1&Ae){const ce=o.EpF();o.TgZ(0,"li",3),o.NdJ("keydown",(function(Oe){const et=o.CHM(ce).index,tt=o.oxw();return o.KtG(tt.keyNavActions(Oe,et))})),o.TgZ(1,"a",4),o.NdJ("click",(function(){const $e=o.CHM(ce).$implicit;return o.KtG($e.active=!0)})),o.TgZ(2,"span",5),o._uU(3),o.qZA(),o.YNc(4,z,2,0,"span",6),o.qZA()()}if(2&Ae){const ce=Le.$implicit;o.ekj("active",ce.active)("disabled",ce.disabled),o.Q6J("ngClass",o.VKq(15,X,ce.customClass||"")),o.xp6(1),o.ekj("active",ce.active)("disabled",ce.disabled),o.uIk("aria-controls",ce.id?ce.id:"")("aria-selected",!!ce.active)("id",ce.id?ce.id+"-link":""),o.xp6(1),o.Q6J("ngTransclude",ce.headingRef),o.xp6(1),o.Oqu(ce.heading),o.xp6(1),o.Q6J("ngIf",ce.removable)}}const pe=["*"];let re=(()=>{class Ae{constructor(ce){this.viewRef=ce}set ngTransclude(ce){this._ngTransclude=ce,ce&&this.viewRef.createEmbeddedView(ce)}get ngTransclude(){return this._ngTransclude}}return Ae.ɵfac=function(ce){return new(ce||Ae)(o.Y36(o.s_b))},Ae.ɵdir=o.lG2({type:Ae,selectors:[["","ngTransclude",""]],inputs:{ngTransclude:"ngTransclude"}}),Ae})(),ue=(()=>{class Ae{constructor(){this.type="tabs",this.isKeysAllowed=!0,this.ariaLabel="Tabs"}}return Ae.ɵfac=function(ce){return new(ce||Ae)},Ae.ɵprov=o.Yz7({token:Ae,factory:Ae.ɵfac,providedIn:"root"}),Ae})(),ve=(()=>{class Ae{constructor(ce,Xe,Oe){this.renderer=Xe,this.elementRef=Oe,this.clazz=!0,this.tabs=[],this.classMap={},this.ariaLabel="Tabs",this.isDestroyed=!1,this._vertical=!1,this._justified=!1,this._type="tabs",this._isKeysAllowed=!0,Object.assign(this,ce)}get vertical(){return this._vertical}set vertical(ce){this._vertical=ce,this.setClassMap()}get justified(){return this._justified}set justified(ce){this._justified=ce,this.setClassMap()}get type(){return this._type}set type(ce){this._type=ce,this.setClassMap()}get isKeysAllowed(){return this._isKeysAllowed}set isKeysAllowed(ce){this._isKeysAllowed=ce}ngOnDestroy(){this.isDestroyed=!0}addTab(ce){this.tabs.push(ce),ce.active=1===this.tabs.length&&!ce.active}removeTab(ce,Xe={reselect:!0,emit:!0}){const Oe=this.tabs.indexOf(ce);if(-1!==Oe&&!this.isDestroyed){if(Xe.reselect&&ce.active&&this.hasAvailableTabs(Oe)){const $e=this.getClosestTabIndex(Oe);this.tabs[$e].active=!0}Xe.emit&&ce.removed.emit(ce),this.tabs.splice(Oe,1),ce.elementRef.nativeElement.parentNode&&this.renderer.removeChild(ce.elementRef.nativeElement.parentNode,ce.elementRef.nativeElement)}}keyNavActions(ce,Xe){if(!this.isKeysAllowed)return;const Oe=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13===ce.keyCode||"Enter"===ce.key||32===ce.keyCode||"Space"===ce.key)return ce.preventDefault(),void Oe[Xe%Oe.length].click();if(39!==ce.keyCode&&"RightArrow"!==ce.key)if(37!==ce.keyCode&&"LeftArrow"!==ce.key)if(36!==ce.keyCode&&"Home"!==ce.key)if(35!==ce.keyCode&&"End"!==ce.key){if((46===ce.keyCode||"Delete"===ce.key)&&this.tabs[Xe].removable){if(this.removeTab(this.tabs[Xe]),Oe[Xe+1])return void Oe[(Xe+1)%Oe.length].focus();Oe[Oe.length-1]&&Oe[0].focus()}}else{ce.preventDefault();let $e,et=1,tt=Xe;do{tt-et<0?(tt=Oe.length-1,$e=Oe[tt],et=0):$e=Oe[tt-et],et++}while($e.classList.contains("disabled"));$e.focus()}else{ce.preventDefault();let $e,et=0;do{$e=Oe[et%Oe.length],et++}while($e.classList.contains("disabled"));$e.focus()}else{let $e,et=1,tt=Xe;do{tt-et<0?(tt=Oe.length-1,$e=Oe[tt],et=0):$e=Oe[tt-et],et++}while($e.classList.contains("disabled"));$e.focus()}else{let $e,et=1;do{$e=Oe[(Xe+et)%Oe.length],et++}while($e.classList.contains("disabled"));$e.focus()}}getClosestTabIndex(ce){const Xe=this.tabs.length;if(!Xe)return-1;for(let Oe=1;Oe<=Xe;Oe+=1){const $e=ce-Oe,et=ce+Oe;if(this.tabs[$e]&&!this.tabs[$e].disabled)return $e;if(this.tabs[et]&&!this.tabs[et].disabled)return et}return-1}hasAvailableTabs(ce){const Xe=this.tabs.length;if(!Xe)return!1;for(let Oe=0;Oe<Xe;Oe+=1)if(!this.tabs[Oe].disabled&&Oe!==ce)return!0;return!1}setClassMap(){this.classMap={"nav-stacked":this.vertical,"flex-column":this.vertical,"nav-justified":this.justified,[`nav-${this.type}`]:!0}}}return Ae.ɵfac=function(ce){return new(ce||Ae)(o.Y36(ue),o.Y36(o.Qsj),o.Y36(o.SBq))},Ae.ɵcmp=o.Xpm({type:Ae,selectors:[["tabset"]],hostVars:2,hostBindings:function(ce,Xe){2&ce&&o.ekj("tab-container",Xe.clazz)},inputs:{vertical:"vertical",justified:"justified",type:"type"},ngContentSelectors:pe,decls:4,vars:3,consts:[["role","tablist",1,"nav",3,"ngClass","click"],[3,"ngClass","active","disabled","keydown",4,"ngFor","ngForOf"],[1,"tab-content"],[3,"ngClass","keydown"],["href","javascript:void(0);","role","tab",1,"nav-link",3,"click"],[3,"ngTransclude"],["class","bs-remove-tab",3,"click",4,"ngIf"],[1,"bs-remove-tab",3,"click"]],template:function(ce,Xe){1&ce&&(o.F$t(),o.TgZ(0,"ul",0),o.NdJ("click",(function($e){return $e.preventDefault()})),o.YNc(1,K,5,17,"li",1),o.qZA(),o.TgZ(2,"div",2),o.Hsn(3),o.qZA()),2&ce&&(o.Q6J("ngClass",Xe.classMap),o.uIk("aria-label",Xe.ariaLabel),o.xp6(1),o.Q6J("ngForOf",Xe.tabs))},dependencies:[v.mk,v.sg,v.O5,re],styles:["[_nghost-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item.disabled[_ngcontent-%COMP%]   a.disabled[_ngcontent-%COMP%]{cursor:default}"]}),Ae})(),q=(()=>{class Ae{constructor(ce,Xe,Oe){this.elementRef=Xe,this.renderer=Oe,this.disabled=!1,this.removable=!1,this.selectTab=new o.vpe,this.deselect=new o.vpe,this.removed=new o.vpe,this.addClass=!0,this.role="tabpanel",this._active=!1,this._customClass="",this.tabset=ce,this.tabset.addTab(this)}get customClass(){return this._customClass}set customClass(ce){this.customClass&&this.customClass.split(" ").forEach((Xe=>{this.renderer.removeClass(this.elementRef.nativeElement,Xe)})),this._customClass=ce?ce.trim():"",this.customClass&&this.customClass.split(" ").forEach((Xe=>{this.renderer.addClass(this.elementRef.nativeElement,Xe)}))}get active(){return this._active}set active(ce){if(this._active!==ce){if(this.disabled&&ce||!ce)return void(this._active&&!ce&&(this.deselect.emit(this),this._active=ce));this._active=ce,this.selectTab.emit(this),this.tabset.tabs.forEach((Xe=>{Xe!==this&&(Xe.active=!1)}))}}get ariaLabelledby(){return this.id?`${this.id}-link`:""}ngOnInit(){this.removable=!!this.removable}ngOnDestroy(){this.tabset.removeTab(this,{reselect:!1,emit:!1})}}return Ae.ɵfac=function(ce){return new(ce||Ae)(o.Y36(ve),o.Y36(o.SBq),o.Y36(o.Qsj))},Ae.ɵdir=o.lG2({type:Ae,selectors:[["tab"],["","tab",""]],hostVars:7,hostBindings:function(ce,Xe){2&ce&&(o.uIk("id",Xe.id)("role",Xe.role)("aria-labelledby",Xe.ariaLabelledby),o.ekj("active",Xe.active)("tab-pane",Xe.addClass))},inputs:{heading:"heading",id:"id",disabled:"disabled",removable:"removable",customClass:"customClass",active:"active"},outputs:{selectTab:"selectTab",deselect:"deselect",removed:"removed"},exportAs:["tab"]}),Ae})(),Se=(()=>{class Ae{static forRoot(){return{ngModule:Ae,providers:[]}}}return Ae.ɵfac=function(ce){return new(ce||Ae)},Ae.ɵmod=o.oAB({type:Ae}),Ae.ɵinj=o.cJS({imports:[v.ez]}),Ae})()}}]);
Back to Directory File Manager