Viewing File: /usr/local/cpanel/base/frontend/jupiter/clam-av/vendor.js
(self.webpackChunkclam_av=self.webpackChunkclam_av||[]).push([[736],{109:(Ae,q,O)=>{"use strict";O.d(q,{F:()=>l});var l=(()=>{return(S=l||(l={}))[S.GET=0]="GET",S[S.HEAD=1]="HEAD",S[S.POST=2]="POST",S[S.PUT=3]="PUT",S[S.DELETE=4]="DELETE",S[S.CONNECT=5]="CONNECT",S[S.OPTIONS=6]="OPTIONS",S[S.TRACE=7]="TRACE",S[S.PATCH=8]="PATCH",l;var S})()},2291:(Ae,q,O)=>{"use strict";O.d(q,{j:()=>Qe});var l=O(1978),S=O.n(l);function te(Ke){return Ke?"1":"0"}var H=(()=>{return(Ke=H||(H={}))[Ke.Ascending=0]="Ascending",Ke[Ke.Descending=1]="Descending",H;var Ke})(),z=(()=>{return(Ke=z||(z={}))[Ke.Lexicographic=0]="Lexicographic",Ke[Ke.Ipv4=1]="Ipv4",Ke[Ke.Numeric=2]="Numeric",Ke[Ke.NumericZeroAsMax=3]="NumericZeroAsMax",z;var Ke})();class F{constructor(X,ye=H.Ascending,me=z.Lexicographic){if(!X)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=X,this.direction=ye,this.type=me}}var U=(()=>{return(Ke=U||(U={}))[Ke.Contains=0]="Contains",Ke[Ke.Begins=1]="Begins",Ke[Ke.Ends=2]="Ends",Ke[Ke.Matches=3]="Matches",Ke[Ke.Equal=4]="Equal",Ke[Ke.NotEqual=5]="NotEqual",Ke[Ke.LessThan=6]="LessThan",Ke[Ke.LessThanUnlimited=7]="LessThanUnlimited",Ke[Ke.GreaterThan=8]="GreaterThan",Ke[Ke.GreaterThanUnlimited=9]="GreaterThanUnlimited",Ke[Ke.Defined=10]="Defined",Ke[Ke.Undefined=11]="Undefined",U;var Ke})();class B{constructor(X,ye,me){if(!X)throw new Error("You must define a non-empty column name.");this.column=X,this.operator=ye,this.value=me}}var j=O(7709);const Y=Number.POSITIVE_INFINITY;class Ee{constructor(X=1,ye=20){if(X<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(ye<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=X,this.pageSize=ye}all(){return this.pageSize===Y}}class de{constructor(X=[]){this.headers=X}push(X){this.headers.push(X)}forEach(X,ye){this.headers.forEach(X,ye)}toArray(){const X=[];return this.headers.forEach(ye=>X.push({name:ye.name,value:ye.value})),X}toObject(){return this.headers.reduce((X,ye)=>(X[ye.name]=ye.value,X),{})}}class be{constructor(X){this._header=X}get name(){return this._header.name}get value(){return this._header.value}}Error,Error;class Xe extends Error{constructor(X){super(X),this.name="WhmApiTokenInvalidError",Object.setPrototypeOf(this,Xe.prototype)}}class Ye extends Error{constructor(X){super(X),this.name="WhmApiTokenMismatchError",Object.setPrototypeOf(this,Ye.prototype)}}class it extends be{constructor(X,ye){if(!X)throw new Xe("You must pass a valid token to the constructor.");if(!ye&&!/^.+:/.test(X))throw new Xe("You must pass a WHM username associated with the WHM API token.");if(!ye&&!/:.+$/.test(X))throw new Xe("You must pass a valid WHM API token.");super({name:"Authorization",value:`whm ${ye?ye+":":""}${X}`})}}var un=O(109);const $t=new class sn{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[un.F.GET,un.F.DELETE,un.F.HEAD].forEach(X=>{const ye=un.F[X].toString();this.map[ye]={verb:ye,dataInBody:!1}}),[un.F.POST,un.F.PUT,un.F.PATCH].forEach(X=>{const ye=un.F[X].toString();this.map[ye]={verb:ye,dataInBody:!0}})}getRule(X){const ye="string"==typeof X?X:un.F[X].toString();let me=this.map[ye];return me||(me=this.map.DEFAULT),me}};var Qt=O(3022);class Qe extends class Wt{constructor(X){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new Ee,this.headers=new de,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,X&&(this.method=X.method,X.namespace&&(this.namespace=X.namespace),X.arguments&&X.arguments.forEach(ye=>{this.addArgument(ye)}),X.sorts&&X.sorts.forEach(ye=>{this.addSort(ye)}),X.filters&&X.filters.forEach(ye=>{this.addFilter(ye)}),X.columns&&X.columns.forEach(ye=>this.addColumn(ye)),X.pager&&this.paginate(X.pager),this.config=X.config?X.config:this.defaultConfig,X.headers&&X.headers.forEach(ye=>{this.addHeader(ye)}))}get usePager(){return this._usePager}addArgument(X){return this.arguments.push(X instanceof j.h?X:new j.h(X.name,X.value)),this}addSort(X){return this.sorts.push(X instanceof F?X:new F(X.column,X.direction,X.type)),this}addFilter(X){return this.filters.push(X instanceof B?X:new B(X.column,X.operator,X.value)),this}addColumn(X){return this.columns.push(X),this}addHeader(X){return this.headers.push(X instanceof be?X:new be(X)),this}paginate(X){return this.pager=X instanceof Ee?X:new Ee(X.page,X.pageSize||20),this._usePager=!0,this}}{addHeader(X){if(X instanceof it)throw new Ye("A WhmApiTokenHeader cannot be used on a CpanelApiRequest");return super.addHeader(X),this}_build(X,ye){let me="";return X.forEach((vt,gt,Tt)=>{me+=ye.encode(vt.name,vt.value,gt===Tt.length-1)}),ye.separatorStart+me+ye.separatorEnd}_generateArguments(X){this.arguments.forEach(ye=>X.push(ye))}_generateSorts(X){this.sorts.forEach((ye,me)=>{0===me&&X.push({name:"api.sort",value:te(!0)}),X.push({name:"api.sort_column_"+me,value:ye.column}),X.push({name:"api.sort_reverse_"+me,value:te(ye.direction!==H.Ascending)}),X.push({name:"api.sort_method_"+me,value:S()(z[ye.type])})})}_lookupFilterOperator(X){switch(X){case U.GreaterThanUnlimited:return"gt_handle_unlimited";case U.GreaterThan:return"gt";case U.LessThanUnlimited:return"lt_handle_unlimited";case U.LessThan:return"lt";case U.NotEqual:return"ne";case U.Equal:return"eq";case U.Defined:return"defined";case U.Undefined:return"undefined";case U.Matches:return"matches";case U.Ends:return"ends";case U.Begins:return"begins";case U.Contains:return"contains";default:throw new Error(`Unrecognized FilterOperator ${U[X]} for UAPI`)}}_generateFilters(X){this.filters.forEach((ye,me)=>{X.push({name:"api.filter_column_"+me,value:ye.column}),X.push({name:"api.filter_type_"+me,value:this._lookupFilterOperator(ye.operator)}),X.push({name:"api.filter_term_"+me,value:ye.value})})}_traslatePageToStart(X){return(X.page-1)*X.pageSize+1}_generatePagination(X){if(!this.usePager)return;const ye=this.pager.all();X.push({name:"api.paginate",value:te(!0)}),X.push({name:"api.paginate_start",value:ye?-1:this._traslatePageToStart(this.pager)}),ye||X.push({name:"api.paginate_size",value:this.pager.pageSize})}_generateConfiguration(X){this.config&&this.config.analytics&&X.push({name:"api.analytics",value:te(this.config.analytics)})}constructor(X){super(X)}generate(X){if(!this.namespace)throw new Error("You must define a namespace for the UAPI call before you generate a request");if(!this.method)throw new Error("You must define a method for the UAPI call before you generate a request");X||(X={verb:un.F.POST,encoder:this.config.json?new Qt.tO:new Qt.VN}),X.encoder||(X.encoder=this.config.json?new Qt.tO:new Qt.VN);const ye=$t.getRule(X.verb),me={headers:new de([{name:"Content-Type",value:X.encoder.contentType}]),url:["","execute",this.namespace,this.method].map(encodeURIComponent).join("/"),body:""},vt=[];this._generateArguments(vt),this._generateSorts(vt),this._generateFilters(vt),this._generatePagination(vt),this._generateConfiguration(vt);const gt=this._build(vt,X.encoder);return ye.dataInBody?me.body=gt:me.url+=X.verb===un.F.GET?`?${gt}`:gt,this.headers.forEach(Tt=>{me.headers.push({name:Tt.name,value:Tt.value})}),me}}},7709:(Ae,q,O)=>{"use strict";O.d(q,{h:()=>l});class l{constructor(ie,W){if(!ie)throw new Error("You must provide a name when creating a name/value argument");this.name=ie,this.value=W}}},3022:(Ae,q,O)=>{"use strict";O.d(q,{tO:()=>yt,VN:()=>Pe});var l=O(4235),S=O.n(l),te=O(1305),ie=O.n(te),W=O(4798),H=O.n(W),z=O(9138),F=O.n(z),U=O(248),B=O.n(U),j=O(1503),ae=O.n(j),Y=O(7614),Ee=O.n(Y);function de(ct){if(S()(ct)||ie()(ct)||H()(ct)||F()(ct)||B()(ct))return!0;if(!Ee()(ct)&&!ae()(ct))return!1;for(const Xe in ct)if(!de(ct[Xe]))return!1;return!0}class Pe{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Xe,Ye,it){if(!Xe)throw new Error("Name must have a non-empty value");return`${Xe}=${encodeURIComponent(Ye.toString())}`+(it?"":this.recordSeparator)}}class yt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Xe,Ye,it){if(!Xe)throw new Error("Name must have a non-empty value");if(!de(Ye))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Xe)+":"+JSON.stringify(Ye)+(it?"":this.recordSeparator)}}},269:(Ae,q,O)=>{"use strict";q.g=void 0;const S=O(1680);Object.defineProperty(q,"g",{enumerable:!0,get:function(){return S.Locale}})},5074:(Ae,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.CLDR=void 0,q.CLDR=class O{constructor(S){this.rawData=S,this.validateCLDR(this.rawData)}validateCLDR(S){if(!S)throw new Error("CLDR data cannot be null");if(!S.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(S,"functions")||Object.prototype.hasOwnProperty.call(S,"get_plural_form")||"function"!=typeof S.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(S,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(S,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(S.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(S.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(S.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(S.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(S,...te){return this.rawData.functions.get_plural_form(S,...te)}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:(Ae,q,O)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.Locale=void 0;const l=O(2889),S=O(9483),te=O(741),ie=O(786),W=O(5074);q.Locale=class H{constructor(F,U={}){this.lexicon=U,this._cldr=new W.CLDR(F)}maketext(F,...U){return l.maketext({cldr:this._cldr,lexicon:this.lexicon,template:F,args:U})}localDatetime(F,U){return this._datetimeWrapper(S.local_datetime,F,U)}datetime(F,U){return this._datetimeWrapper(S.datetime,F,U)}_datetimeWrapper(F,U,B){return F({cldr:this._cldr,args:[U,B]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(F,U){return this._formatNumber(te.numf,F,U)}format_bytes(F,U){return this._formatNumber(te.format_bytes,F,U)}_formatNumber(F,...U){return this._callCLDRFunc(F,U)}list_and(...F){return this._callCLDRFunc(ie.list_and,F)}list_and_quoted(...F){return this._callCLDRFunc(ie.list_and_quoted,F)}list_or(...F){return this._callCLDRFunc(ie.list_or,F)}list_or_quoted(...F){return this._callCLDRFunc(ie.list_or_quoted,F)}_callCLDRFunc(F,U){return F({cldr:this._cldr,args:U})}}},7296:(Ae,q,O)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.asis=void 0;const l=O(5247);q.asis=function S({args:[te,...ie]}){if(!te||ie.length>0||"string"!=typeof te)throw new Error("asis function accepts one non translatable string.");return(te=te.replace(/chr\((\d+)\)/g,function(W,H){return l.functions.chr(Number(H))})).replace(/amp\(\)/g,function(W){return l.functions.amp()})}},527:(Ae,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.boolean=void 0,q.boolean=function O({args:[l,S,te,ie]}){if(null==S||0===S.length||null==te||0===te.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof l<"u"&&l?S:ie&&null==l?ie:te)}},9076:(Ae,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.comment=void 0,q.comment=function O({args:[l]}){return""}},9483:(Ae,q,O)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.local_datetime=q.datetime=q.dateToLocalDayNum=void 0;const l=O(5074),S=function(B){const j=B.getUTCDay()-1;return j<0?6:j},te=[7,1,2,3,4,5,6];function ie(B,j){return(te[B.getUTCDay()]+7-j)%7+1}q.dateToLocalDayNum=ie;const W=function(B,j,ae){let Y="",Ee=0;return j=j||0,ae=String(void 0===ae?" ":ae),Ee=j-String(B).length,Ee>0&&(Y=[...Array(Ee)].map(String.prototype.valueOf,ae).join("")),Y+B};function H({cldr:B,args:[j=new Date,ae],tzString:Y="UTC"}){if("number"==typeof j&&/^-?\d+$/.test(j.toString())&&(j=new Date(1e3*j)),!(j instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(B instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ee=B.getDateTimeInfo();return"string"==typeof ae&&/^(?:date|time|datetime|special)_format_/.test(ae)&&(ae=Ee[ae]),ae||(ae=Ee.date_format_long),ae.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(de,be,Pe){return be?function z(B){return B.substr(1,B.length-2)}(be):function F(B,j,ae,Y){switch(ae){case"yy":return Math.abs(B.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(B.getUTCFullYear()));case"MMMMM":return j.month_format_narrow[B.getUTCMonth()];case"LLLLL":return j.month_stand_alone_narrow[B.getUTCMonth()];case"MMMM":return j.month_format_wide[B.getUTCMonth()];case"LLLL":return j.month_stand_alone_wide[B.getUTCMonth()];case"MMM":return j.month_format_abbreviated[B.getUTCMonth()];case"LLL":return j.month_stand_alone_abbreviated[B.getUTCMonth()];case"MM":case"LL":return W((B.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(B.getUTCMonth()+1);case"EEEE":return j.day_format_wide[S(B)];case"EEE":case"EE":case"E":return j.day_format_abbreviated[S(B)];case"EEEEE":return j.day_format_narrow[S(B)];case"cccc":return j.day_stand_alone_wide[S(B)];case"ccc":return j.day_stand_alone_abbreviated[S(B)];case"cc":case"c":return String(ie(B,Number(j.first_day_of_week)));case"ccccc":return j.day_stand_alone_narrow[S(B)];case"dd":return W(B.getUTCDate().toString(),2,"0");case"d":return String(B.getUTCDate());case"h":case"hh":{let Ee=B.getUTCHours();Ee>12&&(Ee-=12),0===Ee&&(Ee=12);const de="hh"===ae?W(Ee.toString(),2,"0"):Ee;return String(de)}case"H":return String(B.getUTCHours());case"HH":return W(B.getUTCHours().toString(),2,"0");case"m":return String(B.getUTCMinutes());case"mm":return W(B.getUTCMinutes().toString(),2,"0");case"s":return String(B.getUTCSeconds());case"ss":return W(B.getUTCSeconds().toString(),2,"0");case"a":return B.getUTCHours()<12?j.am_pm_abbreviated[0]:j.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Y;case"G":case"GG":case"GGG":return j.era_abbreviated[B.getUTCFullYear()<0?0:1];case"GGGGG":return j.era_narrow[B.getUTCFullYear()<0?0:1];case"GGGG":return j.era_wide[B.getUTCFullYear()<0?0:1]}return ae}(j,Ee,Pe,Y)})}q.datetime=H,q.local_datetime=function U({cldr:B,args:[j=new Date,ae]}){if("number"==typeof j&&/^-?\d+$/.test(j.toString())&&(j=new Date(1e3*j)),!(j instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(B instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Y=j.getTimezoneOffset();(j=new Date(j)).setMinutes(j.getMinutes()-Y);const Ee=Y>0?"-":"+",de=Math.floor(Math.abs(Y)/60),be=Math.abs(Y%60);return H({cldr:B,args:[j,ae],tzString:"GMT"+Ee+W(de.toString(),2,"0")+W(be.toString(),2,"0")})}},40:(Ae,q,O)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.functions=void 0;const l=O(7296),S=O(5247),te=O(9076),ie=O(527),W=O(741),H=O(9483),z=O(786);q.functions={asis:l.asis,output:S.output,comment:te.comment,boolean:ie.boolean,numf:W.numf,numerate:W.numerate,quant:W.quant,format_bytes:W.format_bytes,datetime:H.datetime,local_datetime:H.local_datetime,list_and:z.list_and,list_or:z.list_or,list_or_quoted:z.list_or_quoted,list_and_quoted:z.list_and_quoted}},786:(Ae,q)=>{"use strict";function l(z,F,...U){let B=U.slice();switch(1===B.length&&Array.isArray(B[0])&&(B=B[0].slice()),(typeof B>"u"||0===B.length)&&(B=[""]),B=B.map(j=>function O(z,F){const U=z.getDelimiters();return U&&Object.prototype.hasOwnProperty.call(U,"quotation_start")&&Object.prototype.hasOwnProperty.call(U,"quotation_end")?U.quotation_start+F+U.quotation_end:F}(z,j)),F){case"list_and":return W({cldr:z,args:B});case"list_or":return H({cldr:z,args:B});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function ie(z,F,...U){let B=U.slice();1===B.length&&Array.isArray(B[0])&&(B=B[0].slice());const j=B.length;let ae,Y,Ee,de;try{ae=z.getFormats()[F]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const be=function(Pe,yt){switch(yt){case"0":return Ee;case"1":return B[de++]}};switch(j){case 0:return"";case 1:return String(B[0]);default:if(Ee=2===j?ae[2]:ae.start,Ee=Ee.replace(/\{([01])\}/g,function(Pe,yt){return B[yt]}),2===j)return Ee;for(de=2;de<j;)Y=ae[de===j-1?"end":"middle"],Ee=Y.replace(/\{([01])\}/g,be);return Ee}}function W({cldr:z,args:[...F]}){return ie(z,"list",...F)}function H({cldr:z,args:[...F]}){return ie(z,"list_or",...F)}Object.defineProperty(q,"__esModule",{value:!0}),q.list_or=q.list_and=q.list_or_quoted=q.list_and_quoted=void 0,q.list_and_quoted=function S({cldr:z,args:[...F]}){return l(z,"list_and",...F)},q.list_or_quoted=function te({cldr:z,args:[...F]}){return l(z,"list_or",...F)},q.list_and=W,q.list_or=H},5247:(Ae,q,O)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.functions=q.output=void 0;const l=O(7906),S=O(8533);q.output=function te({args:[ie,...W]}){if(W&&"string"==typeof W[0]&&(W[0]=W[0].replace(/chr\((\d+)\)/g,function(H,z){return q.functions.chr(Number(z))}),W[0]=W[0].replace(/amp\(\)/g,function(H){return q.functions.amp()})),"function"==typeof q.functions[ie])return q.functions[ie](...W);throw new Error(`Locale output function '${ie}' is not implemented.`)},q.functions={amp:()=>l.htmlEscape("&"),apos:()=>l.htmlEscape("'"),quot:()=>l.htmlEscape('"'),underline:ie=>`<u>${ie}</u>`,strong:ie=>`<strong>${ie}</strong>`,em:ie=>`<em>${ie}</em>`,abbr:(ie,W)=>`<abbr title="${W}">${ie}</abbr>`,acronym:(ie,W)=>`<abbr title="${W}" class="initialism">${ie}</abbr>`,class:(ie,...W)=>`<span class="${W.join(" ")}">${ie}</span>`,chr(ie){if("string"==typeof ie&&(ie=Number(ie)),"number"!=typeof ie||isNaN(ie))throw new Error("chr needs a number as argument");return l.htmlEscape(String.fromCharCode(ie))},url(ie,...W){let H,z;if("object"==typeof W[W.length-1])if(H=W[W.length-1],2===W.length){if(H.html)throw new Error("Cannot provide both text and configuration with html attribute");z=W[0]}else H&&H.html?(z=H.html,delete H.html):z=ie;else W.length%2==0?(H=S.listToObject(...W),H&&"html"in H&&""!==H.html?(z=H.html,delete H.html):z=ie):(z=W.shift(),H=S.listToObject(...W));"_type"in H&&"offsite"===H._type&&(H.class="offsite",H.target="_blank",delete H._type);let F=`<a href="${ie}"`;if("object"==typeof H)for(const U in H)Object.prototype.hasOwnProperty.call(H,U)&&(F+=` ${U}="${H[U]}"`);return F+=`>${z}</a>`,F}}},741:(Ae,q,O)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.format_bytes=q.numf=q.quant=q.numerate=void 0;const l=O(5074);function te({cldr:z,args:[F,...U]}){if(!(z instanceof l.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let B,j=3;F instanceof Array?(j=F[1],B=F[0]):B=F;const ae=z.getPluralForm(B,...U),Y=ae[0]?ae[0]:U[U.length-1];if(ae&&ae.length>=2&&ae[1])return Y;const de=W({cldr:z,args:[B,j]});return-1!==Y.indexOf("%s")?Y.replace(/%s/g,de):z.isRtl()?Y+" "+de:de+" "+Y}function W({cldr:z,args:[F,U=6]}){if(!(z instanceof l.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(F.toString()))return String(F);const{decimalFormat:B,decimalGroup:j,decimalDecimal:ae}=function ie(z){const F={},U=z.getFormats();return Object.prototype.hasOwnProperty.call(U,"decimal")&&(F.decimalFormat=U.decimal),Object.prototype.hasOwnProperty.call(U,"_decimal_format_group")&&(F.decimalGroup=U._decimal_format_group),Object.prototype.hasOwnProperty.call(U,"_decimal_format_decimal")&&(F.decimalDecimal=U._decimal_format_decimal),F}(z);if(!B||!j||!ae)throw new Error("CLDR Data is missing information related to formatting decimals.");const Y=F<0;F=Math.abs(F);let de,be,Ee=Math.floor(F);/(?!')\.(?!')/.test(F.toString())&&(de=String(F).replace(/^[^.]+/,"0"),de=Number(de).toFixed(U),/^1/.test(de)?(Ee++,F=Ee,de=void 0):de=de.replace(/^.*\./,"").replace(/0+$/,"")),be=/(?!');(?!')/.test(B)?B.split(/(?!');(?!')/)[Y?1:0]:(Y?"-":"")+B;const ct=be.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Xe;1===ct.length?Xe="":(ct.pop(),Xe=j);const Ye=String(Ee).split("").reverse(),it=[];let Wt;const un=function($t){switch($t){case"#":return Ye.shift()||"";case"0":return Ye.shift()||"0"}};for(;Ye.length;){ct.length&&(Wt=ct.shift());const $t=Wt.replace(/(?!')[0#]|[0#](?!')/g,un).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");it.push($t)}const sn=it.join(Xe).split("").reverse().join("")+(de?ae+de:"");return be.replace(/[0#].*[0#]/,sn)}q.numerate=function S({cldr:z,args:[F,...U]}){if(!(z instanceof l.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const B=z.getPluralForm(F,...U);return B?B[0]:U[U.length-1]},q.quant=te,q.numf=W,q.format_bytes=function H({cldr:z,args:[F,U=2]}){if(!(z instanceof l.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const B=["KB","MB","GB","TB","PB","EB","ZB","YB"],ae=F&&Math.min(Math.floor(Math.log(F)/Math.log(1024)),B.length);return ae?W({cldr:z,args:[F/Math.pow(1024,ae),U]})+"\xa0"+B[ae-1]:te({cldr:z,args:[F,"%s\xa0byte","%s\xa0bytes"]})}},2889:(Ae,q,O)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.maketext=q.functions=q.config=void 0;const l=O(40);function W(H,z){const F=[];let U=!1,B=!1;return H.forEach((j,ae)=>{if("_"===j.charAt(0))if("_*"===j){if(B)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";F.push(...z),U=!0}else{const Y=j.match(q.config.underscoreDigitRe);if(Y){if(U)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ee,de]=Y,be=Number(de)-1;if(!(be in z))throw`The "${Ee}" substitution argument was not passed to the maketext function.`;F.push(z[be]),B=!0}}else F.push(j)}),F}q.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},q.functions={...l.functions},q.maketext=function te({cldr:H,lexicon:z,template:F,args:U}){if("string"!=typeof F)throw"You must pass a string template to the maketext function.";if(-1===(F=z&&z[F]||F).indexOf("["))return F;const B=F.match(q.config.bracketRe)||[],j=[];let ae=!1,Y="";if(B.forEach(Ee=>{if("["===Ee){if(ae)throw Error(`Invalid maketext string: ${F} \nThe string contains nested brackets.`);ae=!0}else if("]"===Ee){if(!ae)throw Error(`Invalid maketext string: ${F} \nThe string contains an unmatched closing bracket character (]).`);if(!Y)throw Error(`Invalid maketext string: ${F} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let de;ae=!1;try{de=function ie(H,z,F){let U=z.split(",");if(U=U.map(ae=>ae.replace(q.config.fauxCommaRe,",")),1===U.length){if(!q.config.underscoreDigitRe.test(U[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ae]=W(U,F);return String(ae)}const B=U.shift();if(!B||"function"!=typeof q.functions[B])throw`Invalid function "${B}" in maketext string.`;const j=W(U,F);return q.functions[B]({cldr:H,args:j})}(H,Y,U)}catch(be){throw Error(`Invalid maketext string: ${F} \n${be}`)}Y="",j.push(de)}else if("~"===Ee.charAt(0)){const de=Ee.charAt(1)||"~";ae?Y+=","===de?q.config.fauxComma:de:q.config.tildeChars.has(de)?j.push(de):j.push(Ee)}else ae?Y+=Ee:j.push(Ee)}),ae)throw Error(`Invalid maketext string: ${F} \nThe string contains an unmatched opening bracket character ([).`);return j.join("")}},7906:(Ae,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.htmlEscape=q.entityMap=void 0,q.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},q.htmlEscape=function O(l){return String(l).replace(/[&<>"'\/]/g,S=>q.entityMap[S])}},8533:(Ae,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.listToObject=void 0,q.listToObject=function S(...te){let ie={};return function O(te){if(te.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let W=0,H=te.length;W<H;W+=2){const z=te[W];if("string"!=typeof z||""===z)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(te)&&(ie=function l(te){const ie=te.length,W={};let z,F,H=0;for(;H<ie;)z=te[H],F=te[++H],W[z]=F,H++;return W}(te)),ie}},443:(Ae,q,O)=>{var l=O(2119);Ae.exports=l.Symbol},4633:Ae=>{Ae.exports=function q(O,l){for(var S=-1,te=null==O?0:O.length,ie=Array(te);++S<te;)ie[S]=l(O[S],S,O);return ie}},8745:Ae=>{Ae.exports=function q(O,l,S,te){var ie=-1,W=null==O?0:O.length;for(te&&W&&(S=O[++ie]);++ie<W;)S=l(S,O[ie],ie,O);return S}},69:Ae=>{var q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Ae.exports=function O(l){return l.match(q)||[]}},3337:(Ae,q,O)=>{var l=O(443),S=O(1318),te=O(2902),H=l?l.toStringTag:void 0;Ae.exports=function z(F){return null==F?void 0===F?"[object Undefined]":"[object Null]":H&&H in Object(F)?S(F):te(F)}},2724:Ae=>{Ae.exports=function q(O){return function(l){return null==O?void 0:O[l]}}},3935:(Ae,q,O)=>{var l=O(443),S=O(4633),te=O(1503),ie=O(4129),H=l?l.prototype:void 0,z=H?H.toString:void 0;Ae.exports=function F(U){if("string"==typeof U)return U;if(te(U))return S(U,F)+"";if(ie(U))return z?z.call(U):"";var B=U+"";return"0"==B&&1/U==-1/0?"-0":B}},1491:(Ae,q,O)=>{var l=O(8745),S=O(4707),te=O(7188),W=RegExp("['\u2019]","g");Ae.exports=function H(z){return function(F){return l(te(S(F).replace(W,"")),z,"")}}},9148:(Ae,q,O)=>{var te=O(2724)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});Ae.exports=te},9122:Ae=>{var q="object"==typeof global&&global&&global.Object===Object&&global;Ae.exports=q},9519:(Ae,q,O)=>{var S=O(9385)(Object.getPrototypeOf,Object);Ae.exports=S},1318:(Ae,q,O)=>{var l=O(443),S=Object.prototype,te=S.hasOwnProperty,ie=S.toString,W=l?l.toStringTag:void 0;Ae.exports=function H(z){var F=te.call(z,W),U=z[W];try{z[W]=void 0;var B=!0}catch{}var j=ie.call(z);return B&&(F?z[W]=U:delete z[W]),j}},9062:Ae=>{var q=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Ae.exports=function O(l){return q.test(l)}},2902:Ae=>{var O=Object.prototype.toString;Ae.exports=function l(S){return O.call(S)}},9385:Ae=>{Ae.exports=function q(O,l){return function(S){return O(l(S))}}},2119:(Ae,q,O)=>{var l=O(9122),S="object"==typeof self&&self&&self.Object===Object&&self,te=l||S||Function("return this")();Ae.exports=te},910:Ae=>{var q="\\ud800-\\udfff",ie="\\u2700-\\u27bf",W="a-z\\xdf-\\xf6\\xf8-\\xff",B="A-Z\\xc0-\\xd6\\xd8-\\xde",ae="\\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",Ee="["+ae+"]",be="\\d+",Pe="["+ie+"]",yt="["+W+"]",ct="[^"+q+ae+be+ie+W+B+"]",Wt="(?:\\ud83c[\\udde6-\\uddff]){2}",un="[\\ud800-\\udbff][\\udc00-\\udfff]",sn="["+B+"]",Qt="(?:"+yt+"|"+ct+")",Qe="(?:"+sn+"|"+ct+")",Ke="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",X="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ye="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",me="[\\ufe0e\\ufe0f]?",je=me+ye+"(?:\\u200d(?:"+["[^"+q+"]",Wt,un].join("|")+")"+me+ye+")*",He="(?:"+[Pe,Wt,un].join("|")+")"+je,ot=RegExp([sn+"?"+yt+"+"+Ke+"(?="+[Ee,sn,"$"].join("|")+")",Qe+"+"+X+"(?="+[Ee,sn+Qt,"$"].join("|")+")",sn+"?"+Qt+"+"+Ke,sn+"+"+X,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",be,He].join("|"),"g");Ae.exports=function Jt(Sn){return Sn.match(ot)||[]}},4707:(Ae,q,O)=>{var l=O(9148),S=O(3943),te=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,U=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Ae.exports=function B(j){return(j=S(j))&&j.replace(te,l).replace(U,"")}},1503:Ae=>{Ae.exports=Array.isArray},4798:(Ae,q,O)=>{var l=O(3337),S=O(2671);Ae.exports=function ie(W){return!0===W||!1===W||S(W)&&"[object Boolean]"==l(W)}},1305:Ae=>{Ae.exports=function q(O){return null===O}},9138:(Ae,q,O)=>{var l=O(3337),S=O(2671);Ae.exports=function ie(W){return"number"==typeof W||S(W)&&"[object Number]"==l(W)}},2671:Ae=>{Ae.exports=function q(O){return null!=O&&"object"==typeof O}},7614:(Ae,q,O)=>{var l=O(3337),S=O(9519),te=O(2671),z=Function.prototype.toString,F=Object.prototype.hasOwnProperty,U=z.call(Object);Ae.exports=function B(j){if(!te(j)||"[object Object]"!=l(j))return!1;var ae=S(j);if(null===ae)return!0;var Y=F.call(ae,"constructor")&&ae.constructor;return"function"==typeof Y&&Y instanceof Y&&z.call(Y)==U}},248:(Ae,q,O)=>{var l=O(3337),S=O(1503),te=O(2671);Ae.exports=function W(H){return"string"==typeof H||!S(H)&&te(H)&&"[object String]"==l(H)}},4129:(Ae,q,O)=>{var l=O(3337),S=O(2671);Ae.exports=function ie(W){return"symbol"==typeof W||S(W)&&"[object Symbol]"==l(W)}},4235:Ae=>{Ae.exports=function q(O){return void 0===O}},1978:(Ae,q,O)=>{var S=O(1491)(function(te,ie,W){return te+(W?"_":"")+ie.toLowerCase()});Ae.exports=S},3943:(Ae,q,O)=>{var l=O(3935);Ae.exports=function S(te){return null==te?"":l(te)}},7188:(Ae,q,O)=>{var l=O(69),S=O(9062),te=O(3943),ie=O(910);Ae.exports=function W(H,z,F){return H=te(H),void 0===(z=F?void 0:z)?S(H)?ie(H):l(H):H.match(z)||[]}},2916:(Ae,q,O)=>{"use strict";O.d(q,{y:()=>j});var l=O(3489),te=O(7668),ie=O(3292),H=O(3821),z=O(5379);var B=O(2830);let j=(()=>{class Y{constructor(de){this._isScalar=!1,de&&(this._subscribe=de)}lift(de){const be=new Y;return be.source=this,be.operator=de,be}subscribe(de,be,Pe){const{operator:yt}=this,ct=function W(Y,Ee,de){if(Y){if(Y instanceof l.L)return Y;if(Y[te.b])return Y[te.b]()}return Y||Ee||de?new l.L(Y,Ee,de):new l.L(ie.c)}(de,be,Pe);if(ct.add(yt?yt.call(ct,this.source):this.source||B.v.useDeprecatedSynchronousErrorHandling&&!ct.syncErrorThrowable?this._subscribe(ct):this._trySubscribe(ct)),B.v.useDeprecatedSynchronousErrorHandling&&ct.syncErrorThrowable&&(ct.syncErrorThrowable=!1,ct.syncErrorThrown))throw ct.syncErrorValue;return ct}_trySubscribe(de){try{return this._subscribe(de)}catch(be){B.v.useDeprecatedSynchronousErrorHandling&&(de.syncErrorThrown=!0,de.syncErrorValue=be),function S(Y){for(;Y;){const{closed:Ee,destination:de,isStopped:be}=Y;if(Ee||be)return!1;Y=de&&de instanceof l.L?de:null}return!0}(de)?de.error(be):console.warn(be)}}forEach(de,be){return new(be=ae(be))((Pe,yt)=>{let ct;ct=this.subscribe(Xe=>{try{de(Xe)}catch(Ye){yt(Ye),ct&&ct.unsubscribe()}},yt,Pe)})}_subscribe(de){const{source:be}=this;return be&&be.subscribe(de)}[H.L](){return this}pipe(...de){return 0===de.length?this:function U(Y){return 0===Y.length?z.y:1===Y.length?Y[0]:function(de){return Y.reduce((be,Pe)=>Pe(be),de)}}(de)(this)}toPromise(de){return new(de=ae(de))((be,Pe)=>{let yt;this.subscribe(ct=>yt=ct,ct=>Pe(ct),()=>be(yt))})}}return Y.create=Ee=>new Y(Ee),Y})();function ae(Y){if(Y||(Y=B.v.Promise||Promise),!Y)throw new Error("no Promise impl found");return Y}},3292:(Ae,q,O)=>{"use strict";O.d(q,{c:()=>te});var l=O(2830),S=O(2782);const te={closed:!0,next(ie){},error(ie){if(l.v.useDeprecatedSynchronousErrorHandling)throw ie;(0,S.z)(ie)},complete(){}}},5529:(Ae,q,O)=>{"use strict";O.d(q,{xQ:()=>F,Yc:()=>z});var l=O(2916),S=O(3489),te=O(2654),ie=O(5279);class W extends te.w{constructor(j,ae){super(),this.subject=j,this.subscriber=ae,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const j=this.subject,ae=j.observers;if(this.subject=null,!ae||0===ae.length||j.isStopped||j.closed)return;const Y=ae.indexOf(this.subscriber);-1!==Y&&ae.splice(Y,1)}}var H=O(7668);class z extends S.L{constructor(j){super(j),this.destination=j}}let F=(()=>{class B extends l.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[H.b](){return new z(this)}lift(ae){const Y=new U(this,this);return Y.operator=ae,Y}next(ae){if(this.closed)throw new ie.N;if(!this.isStopped){const{observers:Y}=this,Ee=Y.length,de=Y.slice();for(let be=0;be<Ee;be++)de[be].next(ae)}}error(ae){if(this.closed)throw new ie.N;this.hasError=!0,this.thrownError=ae,this.isStopped=!0;const{observers:Y}=this,Ee=Y.length,de=Y.slice();for(let be=0;be<Ee;be++)de[be].error(ae);this.observers.length=0}complete(){if(this.closed)throw new ie.N;this.isStopped=!0;const{observers:ae}=this,Y=ae.length,Ee=ae.slice();for(let de=0;de<Y;de++)Ee[de].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(ae){if(this.closed)throw new ie.N;return super._trySubscribe(ae)}_subscribe(ae){if(this.closed)throw new ie.N;return this.hasError?(ae.error(this.thrownError),te.w.EMPTY):this.isStopped?(ae.complete(),te.w.EMPTY):(this.observers.push(ae),new W(this,ae))}asObservable(){const ae=new l.y;return ae.source=this,ae}}return B.create=(j,ae)=>new U(j,ae),B})();class U extends F{constructor(j,ae){super(),this.destination=j,this.source=ae}next(j){const{destination:ae}=this;ae&&ae.next&&ae.next(j)}error(j){const{destination:ae}=this;ae&&ae.error&&this.destination.error(j)}complete(){const{destination:j}=this;j&&j.complete&&this.destination.complete()}_subscribe(j){const{source:ae}=this;return ae?this.source.subscribe(j):te.w.EMPTY}}},3489:(Ae,q,O)=>{"use strict";O.d(q,{L:()=>z});var l=O(7043),S=O(3292),te=O(2654),ie=O(7668),W=O(2830),H=O(2782);class z extends te.w{constructor(B,j,ae){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=S.c;break;case 1:if(!B){this.destination=S.c;break}if("object"==typeof B){B instanceof z?(this.syncErrorThrowable=B.syncErrorThrowable,this.destination=B,B.add(this)):(this.syncErrorThrowable=!0,this.destination=new F(this,B));break}default:this.syncErrorThrowable=!0,this.destination=new F(this,B,j,ae)}}[ie.b](){return this}static create(B,j,ae){const Y=new z(B,j,ae);return Y.syncErrorThrowable=!1,Y}next(B){this.isStopped||this._next(B)}error(B){this.isStopped||(this.isStopped=!0,this._error(B))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(B){this.destination.next(B)}_error(B){this.destination.error(B),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:B}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=B,this}}class F extends z{constructor(B,j,ae,Y){super(),this._parentSubscriber=B;let Ee,de=this;(0,l.m)(j)?Ee=j:j&&(Ee=j.next,ae=j.error,Y=j.complete,j!==S.c&&(de=Object.create(j),(0,l.m)(de.unsubscribe)&&this.add(de.unsubscribe.bind(de)),de.unsubscribe=this.unsubscribe.bind(this))),this._context=de,this._next=Ee,this._error=ae,this._complete=Y}next(B){if(!this.isStopped&&this._next){const{_parentSubscriber:j}=this;W.v.useDeprecatedSynchronousErrorHandling&&j.syncErrorThrowable?this.__tryOrSetError(j,this._next,B)&&this.unsubscribe():this.__tryOrUnsub(this._next,B)}}error(B){if(!this.isStopped){const{_parentSubscriber:j}=this,{useDeprecatedSynchronousErrorHandling:ae}=W.v;if(this._error)ae&&j.syncErrorThrowable?(this.__tryOrSetError(j,this._error,B),this.unsubscribe()):(this.__tryOrUnsub(this._error,B),this.unsubscribe());else if(j.syncErrorThrowable)ae?(j.syncErrorValue=B,j.syncErrorThrown=!0):(0,H.z)(B),this.unsubscribe();else{if(this.unsubscribe(),ae)throw B;(0,H.z)(B)}}}complete(){if(!this.isStopped){const{_parentSubscriber:B}=this;if(this._complete){const j=()=>this._complete.call(this._context);W.v.useDeprecatedSynchronousErrorHandling&&B.syncErrorThrowable?(this.__tryOrSetError(B,j),this.unsubscribe()):(this.__tryOrUnsub(j),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(B,j){try{B.call(this._context,j)}catch(ae){if(this.unsubscribe(),W.v.useDeprecatedSynchronousErrorHandling)throw ae;(0,H.z)(ae)}}__tryOrSetError(B,j,ae){if(!W.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{j.call(this._context,ae)}catch(Y){return W.v.useDeprecatedSynchronousErrorHandling?(B.syncErrorValue=Y,B.syncErrorThrown=!0,!0):((0,H.z)(Y),!0)}return!1}_unsubscribe(){const{_parentSubscriber:B}=this;this._context=null,this._parentSubscriber=null,B.unsubscribe()}}},2654:(Ae,q,O)=>{"use strict";O.d(q,{w:()=>H});var l=O(6688),S=O(7830),te=O(7043);const W=(()=>{function F(U){return Error.call(this),this.message=U?`${U.length} errors occurred during unsubscription:\n${U.map((B,j)=>`${j+1}) ${B.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=U,this}return F.prototype=Object.create(Error.prototype),F})();class H{constructor(U){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,U&&(this._ctorUnsubscribe=!0,this._unsubscribe=U)}unsubscribe(){let U;if(this.closed)return;let{_parentOrParents:B,_ctorUnsubscribe:j,_unsubscribe:ae,_subscriptions:Y}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,B instanceof H)B.remove(this);else if(null!==B)for(let Ee=0;Ee<B.length;++Ee)B[Ee].remove(this);if((0,te.m)(ae)){j&&(this._unsubscribe=void 0);try{ae.call(this)}catch(Ee){U=Ee instanceof W?z(Ee.errors):[Ee]}}if((0,l.k)(Y)){let Ee=-1,de=Y.length;for(;++Ee<de;){const be=Y[Ee];if((0,S.K)(be))try{be.unsubscribe()}catch(Pe){U=U||[],Pe instanceof W?U=U.concat(z(Pe.errors)):U.push(Pe)}}}if(U)throw new W(U)}add(U){let B=U;if(!U)return H.EMPTY;switch(typeof U){case"function":B=new H(U);case"object":if(B===this||B.closed||"function"!=typeof B.unsubscribe)return B;if(this.closed)return B.unsubscribe(),B;if(!(B instanceof H)){const Y=B;B=new H,B._subscriptions=[Y]}break;default:throw new Error("unrecognized teardown "+U+" added to Subscription.")}let{_parentOrParents:j}=B;if(null===j)B._parentOrParents=this;else if(j instanceof H){if(j===this)return B;B._parentOrParents=[j,this]}else{if(-1!==j.indexOf(this))return B;j.push(this)}const ae=this._subscriptions;return null===ae?this._subscriptions=[B]:ae.push(B),B}remove(U){const B=this._subscriptions;if(B){const j=B.indexOf(U);-1!==j&&B.splice(j,1)}}}var F;function z(F){return F.reduce((U,B)=>U.concat(B instanceof W?B.errors:B),[])}H.EMPTY=((F=new H).closed=!0,F)},2830:(Ae,q,O)=>{"use strict";O.d(q,{v:()=>S});let l=!1;const S={Promise:void 0,set useDeprecatedSynchronousErrorHandling(te){if(te){const ie=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+ie.stack)}else l&&console.log("RxJS: Back to a better error behavior. Thank you. <3");l=te},get useDeprecatedSynchronousErrorHandling(){return l}}},1177:(Ae,q,O)=>{"use strict";O.d(q,{Ds:()=>H,IY:()=>ie,ft:()=>F});var l=O(3489),S=O(2916),te=O(9249);class ie extends l.L{constructor(B){super(),this.parent=B}_next(B){this.parent.notifyNext(B)}_error(B){this.parent.notifyError(B),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class H extends l.L{notifyNext(B){this.destination.next(B)}notifyError(B){this.destination.error(B)}notifyComplete(){this.destination.complete()}}function F(U,B){if(B.closed)return;if(U instanceof S.y)return U.subscribe(B);let j;try{j=(0,te.s)(U)(B)}catch(ae){B.error(ae)}return j}},1762:(Ae,q,O)=>{"use strict";O.d(q,{N:()=>H,c:()=>W});var l=O(5529),S=O(2916),te=O(2654),ie=O(4327);class W extends S.y{constructor(j,ae){super(),this.source=j,this.subjectFactory=ae,this._refCount=0,this._isComplete=!1}_subscribe(j){return this.getSubject().subscribe(j)}getSubject(){const j=this._subject;return(!j||j.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let j=this._connection;return j||(this._isComplete=!1,j=this._connection=new te.w,j.add(this.source.subscribe(new z(this.getSubject(),this))),j.closed&&(this._connection=null,j=te.w.EMPTY)),j}refCount(){return(0,ie.x)()(this)}}const H=(()=>{const B=W.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:B._subscribe},_isComplete:{value:B._isComplete,writable:!0},getSubject:{value:B.getSubject},connect:{value:B.connect},refCount:{value:B.refCount}}})();class z extends l.Yc{constructor(j,ae){super(j),this.connectable=ae}_error(j){this._unsubscribe(),super._error(j)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const j=this.connectable;if(j){this.connectable=null;const ae=j._connection;j._refCount=0,j._subject=null,j._connection=null,ae&&ae.unsubscribe()}}}},8896:(Ae,q,O)=>{"use strict";O.d(q,{E:()=>S,c:()=>te});var l=O(2916);const S=new l.y(W=>W.complete());function te(W){return W?function ie(W){return new l.y(H=>W.schedule(()=>H.complete()))}(W):S}},567:(Ae,q,O)=>{"use strict";O.d(q,{D:()=>H});var l=O(2916),S=O(6688),te=O(4850),ie=O(7830),W=O(5254);function H(...F){if(1===F.length){const U=F[0];if((0,S.k)(U))return z(U,null);if((0,ie.K)(U)&&Object.getPrototypeOf(U)===Object.prototype){const B=Object.keys(U);return z(B.map(j=>U[j]),B)}}if("function"==typeof F[F.length-1]){const U=F.pop();return z(F=1===F.length&&(0,S.k)(F[0])?F[0]:F,null).pipe((0,te.U)(B=>U(...B)))}return z(F,null)}function z(F,U){return new l.y(B=>{const j=F.length;if(0===j)return void B.complete();const ae=new Array(j);let Y=0,Ee=0;for(let de=0;de<j;de++){const be=(0,W.D)(F[de]);let Pe=!1;B.add(be.subscribe({next:yt=>{Pe||(Pe=!0,Ee++),ae[de]=yt},error:yt=>B.error(yt),complete:()=>{Y++,(Y===j||!Pe)&&(Ee===j&&B.next(U?U.reduce((yt,ct,Xe)=>(yt[ct]=ae[Xe],yt),{}):ae),B.complete())}}))}})}},5254:(Ae,q,O)=>{"use strict";O.d(q,{D:()=>de});var l=O(2916),S=O(9249),te=O(2654),ie=O(3821),z=O(6454),F=O(5430),j=O(8955),ae=O(8515);function de(be,Pe){return Pe?function Ee(be,Pe){if(null!=be){if(function B(be){return be&&"function"==typeof be[ie.L]}(be))return function W(be,Pe){return new l.y(yt=>{const ct=new te.w;return ct.add(Pe.schedule(()=>{const Xe=be[ie.L]();ct.add(Xe.subscribe({next(Ye){ct.add(Pe.schedule(()=>yt.next(Ye)))},error(Ye){ct.add(Pe.schedule(()=>yt.error(Ye)))},complete(){ct.add(Pe.schedule(()=>yt.complete()))}}))})),ct})}(be,Pe);if((0,j.t)(be))return function H(be,Pe){return new l.y(yt=>{const ct=new te.w;return ct.add(Pe.schedule(()=>be.then(Xe=>{ct.add(Pe.schedule(()=>{yt.next(Xe),ct.add(Pe.schedule(()=>yt.complete()))}))},Xe=>{ct.add(Pe.schedule(()=>yt.error(Xe)))}))),ct})}(be,Pe);if((0,ae.z)(be))return(0,z.r)(be,Pe);if(function Y(be){return be&&"function"==typeof be[F.hZ]}(be)||"string"==typeof be)return function U(be,Pe){if(!be)throw new Error("Iterable cannot be null");return new l.y(yt=>{const ct=new te.w;let Xe;return ct.add(()=>{Xe&&"function"==typeof Xe.return&&Xe.return()}),ct.add(Pe.schedule(()=>{Xe=be[F.hZ](),ct.add(Pe.schedule(function(){if(yt.closed)return;let Ye,it;try{const Wt=Xe.next();Ye=Wt.value,it=Wt.done}catch(Wt){return void yt.error(Wt)}it?yt.complete():(yt.next(Ye),this.schedule())}))})),ct})}(be,Pe)}throw new TypeError((null!==be&&typeof be||be)+" is not observable")}(be,Pe):be instanceof l.y?be:new l.y((0,S.s)(be))}},3009:(Ae,q,O)=>{"use strict";O.d(q,{n:()=>ie});var l=O(2916),S=O(3650),te=O(6454);function ie(W,H){return H?(0,te.r)(W,H):new l.y((0,S.V)(W))}},6787:(Ae,q,O)=>{"use strict";O.d(q,{T:()=>W});var l=O(2916),S=O(2866),te=O(9146),ie=O(3009);function W(...H){let z=Number.POSITIVE_INFINITY,F=null,U=H[H.length-1];return(0,S.K)(U)?(F=H.pop(),H.length>1&&"number"==typeof H[H.length-1]&&(z=H.pop())):"number"==typeof U&&(z=H.pop()),null===F&&1===H.length&&H[0]instanceof l.y?H[0]:(0,te.J)(z)((0,ie.n)(H,F))}},1086:(Ae,q,O)=>{"use strict";O.d(q,{of:()=>ie});var l=O(2866),S=O(3009),te=O(6454);function ie(...W){let H=W[W.length-1];return(0,l.K)(H)?(W.pop(),(0,te.r)(W,H)):(0,S.n)(W)}},1737:(Ae,q,O)=>{"use strict";O.d(q,{_:()=>S});var l=O(2916);function S(ie,W){return new l.y(W?H=>W.schedule(te,0,{error:ie,subscriber:H}):H=>H.error(ie))}function te({error:ie,subscriber:W}){W.error(ie)}},9194:(Ae,q,O)=>{"use strict";O.d(q,{H:()=>U});var l=O(2916),S=O(6686);const W=new(O(2268).v)(S.o);var H=O(6688);function z(j){return!(0,H.k)(j)&&j-parseFloat(j)+1>=0}var F=O(2866);function U(j=0,ae,Y){let Ee=-1;return z(ae)?Ee=Number(ae)<1?1:Number(ae):(0,F.K)(ae)&&(Y=ae),(0,F.K)(Y)||(Y=W),new l.y(de=>{const be=z(j)?j:+j-Y.now();return Y.schedule(B,be,{index:0,period:Ee,subscriber:de})})}function B(j){const{index:ae,period:Y,subscriber:Ee}=j;if(Ee.next(ae),!Ee.closed){if(-1===Y)return Ee.complete();j.index=ae+1,this.schedule(j,Y)}}},7221:(Ae,q,O)=>{"use strict";O.d(q,{K:()=>S});var l=O(1177);function S(W){return function(z){const F=new te(W),U=z.lift(F);return F.caught=U}}class te{constructor(H){this.selector=H}call(H,z){return z.subscribe(new ie(H,this.selector,this.caught))}}class ie extends l.Ds{constructor(H,z,F){super(H),this.selector=z,this.caught=F}error(H){if(!this.isStopped){let z;try{z=this.selector(H,this.caught)}catch(B){return void super.error(B)}this._unsubscribeAndRecycle();const F=new l.IY(this);this.add(F);const U=(0,l.ft)(z,F);U!==F&&this.add(U)}}}},1406:(Ae,q,O)=>{"use strict";O.d(q,{b:()=>S});var l=O(1709);function S(te,ie){return(0,l.zg)(te,ie,1)}},2198:(Ae,q,O)=>{"use strict";O.d(q,{h:()=>S});var l=O(3489);function S(W,H){return function(F){return F.lift(new te(W,H))}}class te{constructor(H,z){this.predicate=H,this.thisArg=z}call(H,z){return z.subscribe(new ie(H,this.predicate,this.thisArg))}}class ie extends l.L{constructor(H,z,F){super(H),this.predicate=z,this.thisArg=F,this.count=0}_next(H){let z;try{z=this.predicate.call(this.thisArg,H,this.count++)}catch(F){return void this.destination.error(F)}z&&this.destination.next(H)}}},537:(Ae,q,O)=>{"use strict";O.d(q,{x:()=>te});var l=O(3489),S=O(2654);function te(H){return z=>z.lift(new ie(H))}class ie{constructor(z){this.callback=z}call(z,F){return F.subscribe(new W(z,this.callback))}}class W extends l.L{constructor(z,F){super(z),this.add(new S.w(F))}}},4850:(Ae,q,O)=>{"use strict";O.d(q,{U:()=>S});var l=O(3489);function S(W,H){return function(F){if("function"!=typeof W)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return F.lift(new te(W,H))}}class te{constructor(H,z){this.project=H,this.thisArg=z}call(H,z){return z.subscribe(new ie(H,this.project,this.thisArg))}}class ie extends l.L{constructor(H,z,F){super(H),this.project=z,this.count=0,this.thisArg=F||this}_next(H){let z;try{z=this.project.call(this.thisArg,H,this.count++)}catch(F){return void this.destination.error(F)}this.destination.next(z)}}},9146:(Ae,q,O)=>{"use strict";O.d(q,{J:()=>te});var l=O(1709),S=O(5379);function te(ie=Number.POSITIVE_INFINITY){return(0,l.zg)(S.y,ie)}},1709:(Ae,q,O)=>{"use strict";O.d(q,{zg:()=>ie});var l=O(4850),S=O(5254),te=O(1177);function ie(F,U,B=Number.POSITIVE_INFINITY){return"function"==typeof U?j=>j.pipe(ie((ae,Y)=>(0,S.D)(F(ae,Y)).pipe((0,l.U)((Ee,de)=>U(ae,Ee,Y,de))),B)):("number"==typeof U&&(B=U),j=>j.lift(new W(F,B)))}class W{constructor(U,B=Number.POSITIVE_INFINITY){this.project=U,this.concurrent=B}call(U,B){return B.subscribe(new H(U,this.project,this.concurrent))}}class H extends te.Ds{constructor(U,B,j=Number.POSITIVE_INFINITY){super(U),this.project=B,this.concurrent=j,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(U){this.active<this.concurrent?this._tryNext(U):this.buffer.push(U)}_tryNext(U){let B;const j=this.index++;try{B=this.project(U,j)}catch(ae){return void this.destination.error(ae)}this.active++,this._innerSub(B)}_innerSub(U){const B=new te.IY(this),j=this.destination;j.add(B);const ae=(0,te.ft)(U,B);ae!==B&&j.add(ae)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(U){this.destination.next(U)}notifyComplete(){const U=this.buffer;this.active--,U.length>0?this._next(U.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Ae,q,O)=>{"use strict";O.d(q,{x:()=>S});var l=O(3489);function S(){return function(H){return H.lift(new te(H))}}class te{constructor(H){this.connectable=H}call(H,z){const{connectable:F}=this;F._refCount++;const U=new ie(H,F),B=z.subscribe(U);return U.closed||(U.connection=F.connect()),B}}class ie extends l.L{constructor(H,z){super(H),this.connectable=z}_unsubscribe(){const{connectable:H}=this;if(!H)return void(this.connection=null);this.connectable=null;const z=H._refCount;if(z<=0)return void(this.connection=null);if(H._refCount=z-1,z>1)return void(this.connection=null);const{connection:F}=this,U=H._connection;this.connection=null,U&&(!F||U===F)&&U.unsubscribe()}}},7545:(Ae,q,O)=>{"use strict";O.d(q,{w:()=>ie});var l=O(4850),S=O(5254),te=O(1177);function ie(z,F){return"function"==typeof F?U=>U.pipe(ie((B,j)=>(0,S.D)(z(B,j)).pipe((0,l.U)((ae,Y)=>F(B,ae,j,Y))))):U=>U.lift(new W(z))}class W{constructor(F){this.project=F}call(F,U){return U.subscribe(new H(F,this.project))}}class H extends te.Ds{constructor(F,U){super(F),this.project=U,this.index=0}_next(F){let U;const B=this.index++;try{U=this.project(F,B)}catch(j){return void this.destination.error(j)}this._innerSub(U)}_innerSub(F){const U=this.innerSubscription;U&&U.unsubscribe();const B=new te.IY(this),j=this.destination;j.add(B),this.innerSubscription=(0,te.ft)(F,B),this.innerSubscription!==B&&j.add(this.innerSubscription)}_complete(){const{innerSubscription:F}=this;(!F||F.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(F){this.destination.next(F)}}},2313:(Ae,q,O)=>{"use strict";O.d(q,{c:()=>S});var l=O(7545);function S(te,ie){return ie?(0,l.w)(()=>te,ie):(0,l.w)(()=>te)}},2986:(Ae,q,O)=>{"use strict";O.d(q,{q:()=>ie});var l=O(3489),S=O(4231),te=O(8896);function ie(z){return F=>0===z?(0,te.c)():F.lift(new W(z))}class W{constructor(F){if(this.total=F,this.total<0)throw new S.W}call(F,U){return U.subscribe(new H(F,this.total))}}class H extends l.L{constructor(F,U){super(F),this.total=U,this.count=0}_next(F){const U=this.total,B=++this.count;B<=U&&(this.destination.next(F),B===U&&(this.destination.complete(),this.unsubscribe()))}}},7625:(Ae,q,O)=>{"use strict";O.d(q,{R:()=>S});var l=O(1177);function S(W){return H=>H.lift(new te(W))}class te{constructor(H){this.notifier=H}call(H,z){const F=new ie(H),U=(0,l.ft)(this.notifier,new l.IY(F));return U&&!F.seenValue?(F.add(U),z.subscribe(F)):F}}class ie extends l.Ds{constructor(H){super(H),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},4290:(Ae,q,O)=>{"use strict";O.d(q,{o:()=>S});var l=O(3489);function S(W,H=!1){return z=>z.lift(new te(W,H))}class te{constructor(H,z){this.predicate=H,this.inclusive=z}call(H,z){return z.subscribe(new ie(H,this.predicate,this.inclusive))}}class ie extends l.L{constructor(H,z,F){super(H),this.predicate=z,this.inclusive=F,this.index=0}_next(H){const z=this.destination;let F;try{F=this.predicate(H,this.index++)}catch(U){return void z.error(U)}this.nextOrComplete(H,F)}nextOrComplete(H,z){const F=this.destination;Boolean(z)?F.next(H):(this.inclusive&&F.next(H),F.complete())}}},2868:(Ae,q,O)=>{"use strict";O.d(q,{b:()=>ie});var l=O(3489);function S(){}var te=O(7043);function ie(z,F,U){return function(j){return j.lift(new W(z,F,U))}}class W{constructor(F,U,B){this.nextOrObserver=F,this.error=U,this.complete=B}call(F,U){return U.subscribe(new H(F,this.nextOrObserver,this.error,this.complete))}}class H extends l.L{constructor(F,U,B,j){super(F),this._tapNext=S,this._tapError=S,this._tapComplete=S,this._tapError=B||S,this._tapComplete=j||S,(0,te.m)(U)?(this._context=this,this._tapNext=U):U&&(this._context=U,this._tapNext=U.next||S,this._tapError=U.error||S,this._tapComplete=U.complete||S)}_next(F){try{this._tapNext.call(this._context,F)}catch(U){return void this.destination.error(U)}this.destination.next(F)}_error(F){try{this._tapError.call(this._context,F)}catch(U){return void this.destination.error(U)}this.destination.error(F)}_complete(){try{this._tapComplete.call(this._context)}catch(F){return void this.destination.error(F)}return this.destination.complete()}}},6454:(Ae,q,O)=>{"use strict";O.d(q,{r:()=>te});var l=O(2916),S=O(2654);function te(ie,W){return new l.y(H=>{const z=new S.w;let F=0;return z.add(W.schedule(function(){F!==ie.length?(H.next(ie[F++]),H.closed||z.add(this.schedule())):H.complete()})),z})}},6686:(Ae,q,O)=>{"use strict";O.d(q,{o:()=>te});var l=O(2654);class S extends l.w{constructor(W,H){super()}schedule(W,H=0){return this}}class te extends S{constructor(W,H){super(W,H),this.scheduler=W,this.work=H,this.pending=!1}schedule(W,H=0){if(this.closed)return this;this.state=W;const z=this.id,F=this.scheduler;return null!=z&&(this.id=this.recycleAsyncId(F,z,H)),this.pending=!0,this.delay=H,this.id=this.id||this.requestAsyncId(F,this.id,H),this}requestAsyncId(W,H,z=0){return setInterval(W.flush.bind(W,this),z)}recycleAsyncId(W,H,z=0){if(null!==z&&this.delay===z&&!1===this.pending)return H;clearInterval(H)}execute(W,H){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(W,H);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(W,H){let F,z=!1;try{this.work(W)}catch(U){z=!0,F=!!U&&U||new Error(U)}if(z)return this.unsubscribe(),F}_unsubscribe(){const W=this.id,H=this.scheduler,z=H.actions,F=z.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==F&&z.splice(F,1),null!=W&&(this.id=this.recycleAsyncId(H,W,null)),this.delay=null}}},2268:(Ae,q,O)=>{"use strict";O.d(q,{v:()=>S});let l=(()=>{class te{constructor(W,H=te.now){this.SchedulerAction=W,this.now=H}schedule(W,H=0,z){return new this.SchedulerAction(this,W).schedule(z,H)}}return te.now=()=>Date.now(),te})();class S extends l{constructor(ie,W=l.now){super(ie,()=>S.delegate&&S.delegate!==this?S.delegate.now():W()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(ie,W=0,H){return S.delegate&&S.delegate!==this?S.delegate.schedule(ie,W,H):super.schedule(ie,W,H)}flush(ie){const{actions:W}=this;if(this.active)return void W.push(ie);let H;this.active=!0;do{if(H=ie.execute(ie.state,ie.delay))break}while(ie=W.shift());if(this.active=!1,H){for(;ie=W.shift();)ie.unsubscribe();throw H}}}},5430:(Ae,q,O)=>{"use strict";O.d(q,{hZ:()=>S});const S=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Ae,q,O)=>{"use strict";O.d(q,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Ae,q,O)=>{"use strict";O.d(q,{b:()=>l});const l="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Ae,q,O)=>{"use strict";O.d(q,{W:()=>S});const S=(()=>{function te(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return te.prototype=Object.create(Error.prototype),te})()},5279:(Ae,q,O)=>{"use strict";O.d(q,{N:()=>S});const S=(()=>{function te(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return te.prototype=Object.create(Error.prototype),te})()},2782:(Ae,q,O)=>{"use strict";function l(S){setTimeout(()=>{throw S},0)}O.d(q,{z:()=>l})},5379:(Ae,q,O)=>{"use strict";function l(S){return S}O.d(q,{y:()=>l})},6688:(Ae,q,O)=>{"use strict";O.d(q,{k:()=>l});const l=Array.isArray||(S=>S&&"number"==typeof S.length)},8515:(Ae,q,O)=>{"use strict";O.d(q,{z:()=>l});const l=S=>S&&"number"==typeof S.length&&"function"!=typeof S},7043:(Ae,q,O)=>{"use strict";function l(S){return"function"==typeof S}O.d(q,{m:()=>l})},7830:(Ae,q,O)=>{"use strict";function l(S){return null!==S&&"object"==typeof S}O.d(q,{K:()=>l})},8955:(Ae,q,O)=>{"use strict";function l(S){return!!S&&"function"!=typeof S.subscribe&&"function"==typeof S.then}O.d(q,{t:()=>l})},2866:(Ae,q,O)=>{"use strict";function l(S){return S&&"function"==typeof S.schedule}O.d(q,{K:()=>l})},9249:(Ae,q,O)=>{"use strict";O.d(q,{s:()=>j});var l=O(3650),S=O(2782),ie=O(5430),H=O(3821),F=O(8515),U=O(8955),B=O(7830);const j=ae=>{if(ae&&"function"==typeof ae[H.L])return(ae=>Y=>{const Ee=ae[H.L]();if("function"!=typeof Ee.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Ee.subscribe(Y)})(ae);if((0,F.z)(ae))return(0,l.V)(ae);if((0,U.t)(ae))return(ae=>Y=>(ae.then(Ee=>{Y.closed||(Y.next(Ee),Y.complete())},Ee=>Y.error(Ee)).then(null,S.z),Y))(ae);if(ae&&"function"==typeof ae[ie.hZ])return(ae=>Y=>{const Ee=ae[ie.hZ]();for(;;){let de;try{de=Ee.next()}catch(be){return Y.error(be),Y}if(de.done){Y.complete();break}if(Y.next(de.value),Y.closed)break}return"function"==typeof Ee.return&&Y.add(()=>{Ee.return&&Ee.return()}),Y})(ae);{const Ee=`You provided ${(0,B.K)(ae)?"an invalid object":`'${ae}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Ee)}}},3650:(Ae,q,O)=>{"use strict";O.d(q,{V:()=>l});const l=S=>te=>{for(let ie=0,W=S.length;ie<W&&!te.closed;ie++)te.next(S[ie]);te.complete()}},8583:()=>{"use strict";!function(Z){const he=Z.performance;function _e(et){he&&he.mark&&he.mark(et)}function ve(et,Dt){he&&he.measure&&he.measure(et,Dt)}_e("Zone");const ke=Z.__Zone_symbol_prefix||"__zone_symbol__";function Je(et){return ke+et}const st=!0===Z[Je("forceDuplicateZoneCheck")];if(Z.Zone){if(st||"function"!=typeof Z.Zone.__symbol__)throw new Error("Zone already loaded.");return Z.Zone}let ht=(()=>{class et{constructor(oe,Me){this._parent=oe,this._name=Me?Me.name||"unnamed":"<root>",this._properties=Me&&Me.properties||{},this._zoneDelegate=new Nt(this,this._parent&&this._parent._zoneDelegate,Me)}static assertZonePatched(){if(Z.Promise!==gn.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 oe=et.current;for(;oe.parent;)oe=oe.parent;return oe}static get current(){return Zt.zone}static get currentTask(){return fn}static __load_patch(oe,Me,Mt=!1){if(gn.hasOwnProperty(oe)){if(!Mt&&st)throw Error("Already loaded patch: "+oe)}else if(!Z["__Zone_disable_"+oe]){const St="Zone:"+oe;_e(St),gn[oe]=Me(Z,et,ln),ve(St,St)}}get parent(){return this._parent}get name(){return this._name}get(oe){const Me=this.getZoneWith(oe);if(Me)return Me._properties[oe]}getZoneWith(oe){let Me=this;for(;Me;){if(Me._properties.hasOwnProperty(oe))return Me;Me=Me._parent}return null}fork(oe){if(!oe)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,oe)}wrap(oe,Me){if("function"!=typeof oe)throw new Error("Expecting function got: "+oe);const Mt=this._zoneDelegate.intercept(this,oe,Me),St=this;return function(){return St.runGuarded(Mt,this,arguments,Me)}}run(oe,Me,Mt,St){Zt={parent:Zt,zone:this};try{return this._zoneDelegate.invoke(this,oe,Me,Mt,St)}finally{Zt=Zt.parent}}runGuarded(oe,Me=null,Mt,St){Zt={parent:Zt,zone:this};try{try{return this._zoneDelegate.invoke(this,oe,Me,Mt,St)}catch(D){if(this._zoneDelegate.handleError(this,D))throw D}}finally{Zt=Zt.parent}}runTask(oe,Me,Mt){if(oe.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(oe.zone||It).name+"; Execution: "+this.name+")");if(oe.state===_t&&(oe.type===ut||oe.type===Ct))return;const St=oe.state!=en;St&&oe._transitionTo(en,kt),oe.runCount++;const D=fn;fn=oe,Zt={parent:Zt,zone:this};try{oe.type==Ct&&oe.data&&!oe.data.isPeriodic&&(oe.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,oe,Me,Mt)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{oe.state!==_t&&oe.state!==$e&&(oe.type==ut||oe.data&&oe.data.isPeriodic?St&&oe._transitionTo(kt,en):(oe.runCount=0,this._updateTaskCount(oe,-1),St&&oe._transitionTo(_t,en,_t))),Zt=Zt.parent,fn=D}}scheduleTask(oe){if(oe.zone&&oe.zone!==this){let Mt=this;for(;Mt;){if(Mt===oe.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${oe.zone.name}`);Mt=Mt.parent}}oe._transitionTo(an,_t);const Me=[];oe._zoneDelegates=Me,oe._zone=this;try{oe=this._zoneDelegate.scheduleTask(this,oe)}catch(Mt){throw oe._transitionTo($e,an,_t),this._zoneDelegate.handleError(this,Mt),Mt}return oe._zoneDelegates===Me&&this._updateTaskCount(oe,1),oe.state==an&&oe._transitionTo(kt,an),oe}scheduleMicroTask(oe,Me,Mt,St){return this.scheduleTask(new Et(Ie,oe,Me,Mt,St,void 0))}scheduleMacroTask(oe,Me,Mt,St,D){return this.scheduleTask(new Et(Ct,oe,Me,Mt,St,D))}scheduleEventTask(oe,Me,Mt,St,D){return this.scheduleTask(new Et(ut,oe,Me,Mt,St,D))}cancelTask(oe){if(oe.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(oe.zone||It).name+"; Execution: "+this.name+")");oe._transitionTo(jt,kt,en);try{this._zoneDelegate.cancelTask(this,oe)}catch(Me){throw oe._transitionTo($e,jt),this._zoneDelegate.handleError(this,Me),Me}return this._updateTaskCount(oe,-1),oe._transitionTo(_t,jt),oe.runCount=0,oe}_updateTaskCount(oe,Me){const Mt=oe._zoneDelegates;-1==Me&&(oe._zoneDelegates=null);for(let St=0;St<Mt.length;St++)Mt[St]._updateTaskCount(oe.type,Me)}}return et.__symbol__=Je,et})();const mt={name:"",onHasTask:(et,Dt,oe,Me)=>et.hasTask(oe,Me),onScheduleTask:(et,Dt,oe,Me)=>et.scheduleTask(oe,Me),onInvokeTask:(et,Dt,oe,Me,Mt,St)=>et.invokeTask(oe,Me,Mt,St),onCancelTask:(et,Dt,oe,Me)=>et.cancelTask(oe,Me)};class Nt{constructor(Dt,oe,Me){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=Dt,this._parentDelegate=oe,this._forkZS=Me&&(Me&&Me.onFork?Me:oe._forkZS),this._forkDlgt=Me&&(Me.onFork?oe:oe._forkDlgt),this._forkCurrZone=Me&&(Me.onFork?this.zone:oe._forkCurrZone),this._interceptZS=Me&&(Me.onIntercept?Me:oe._interceptZS),this._interceptDlgt=Me&&(Me.onIntercept?oe:oe._interceptDlgt),this._interceptCurrZone=Me&&(Me.onIntercept?this.zone:oe._interceptCurrZone),this._invokeZS=Me&&(Me.onInvoke?Me:oe._invokeZS),this._invokeDlgt=Me&&(Me.onInvoke?oe:oe._invokeDlgt),this._invokeCurrZone=Me&&(Me.onInvoke?this.zone:oe._invokeCurrZone),this._handleErrorZS=Me&&(Me.onHandleError?Me:oe._handleErrorZS),this._handleErrorDlgt=Me&&(Me.onHandleError?oe:oe._handleErrorDlgt),this._handleErrorCurrZone=Me&&(Me.onHandleError?this.zone:oe._handleErrorCurrZone),this._scheduleTaskZS=Me&&(Me.onScheduleTask?Me:oe._scheduleTaskZS),this._scheduleTaskDlgt=Me&&(Me.onScheduleTask?oe:oe._scheduleTaskDlgt),this._scheduleTaskCurrZone=Me&&(Me.onScheduleTask?this.zone:oe._scheduleTaskCurrZone),this._invokeTaskZS=Me&&(Me.onInvokeTask?Me:oe._invokeTaskZS),this._invokeTaskDlgt=Me&&(Me.onInvokeTask?oe:oe._invokeTaskDlgt),this._invokeTaskCurrZone=Me&&(Me.onInvokeTask?this.zone:oe._invokeTaskCurrZone),this._cancelTaskZS=Me&&(Me.onCancelTask?Me:oe._cancelTaskZS),this._cancelTaskDlgt=Me&&(Me.onCancelTask?oe:oe._cancelTaskDlgt),this._cancelTaskCurrZone=Me&&(Me.onCancelTask?this.zone:oe._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Mt=Me&&Me.onHasTask;(Mt||oe&&oe._hasTaskZS)&&(this._hasTaskZS=Mt?Me:mt,this._hasTaskDlgt=oe,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=Dt,Me.onScheduleTask||(this._scheduleTaskZS=mt,this._scheduleTaskDlgt=oe,this._scheduleTaskCurrZone=this.zone),Me.onInvokeTask||(this._invokeTaskZS=mt,this._invokeTaskDlgt=oe,this._invokeTaskCurrZone=this.zone),Me.onCancelTask||(this._cancelTaskZS=mt,this._cancelTaskDlgt=oe,this._cancelTaskCurrZone=this.zone))}fork(Dt,oe){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Dt,oe):new ht(Dt,oe)}intercept(Dt,oe,Me){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Dt,oe,Me):oe}invoke(Dt,oe,Me,Mt,St){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Dt,oe,Me,Mt,St):oe.apply(Me,Mt)}handleError(Dt,oe){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Dt,oe)}scheduleTask(Dt,oe){let Me=oe;if(this._scheduleTaskZS)this._hasTaskZS&&Me._zoneDelegates.push(this._hasTaskDlgtOwner),Me=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Dt,oe),Me||(Me=oe);else if(oe.scheduleFn)oe.scheduleFn(oe);else{if(oe.type!=Ie)throw new Error("Task is missing scheduleFn.");Fe(oe)}return Me}invokeTask(Dt,oe,Me,Mt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Dt,oe,Me,Mt):oe.callback.apply(Me,Mt)}cancelTask(Dt,oe){let Me;if(this._cancelTaskZS)Me=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Dt,oe);else{if(!oe.cancelFn)throw Error("Task is not cancelable");Me=oe.cancelFn(oe)}return Me}hasTask(Dt,oe){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Dt,oe)}catch(Me){this.handleError(Dt,Me)}}_updateTaskCount(Dt,oe){const Me=this._taskCounts,Mt=Me[Dt],St=Me[Dt]=Mt+oe;if(St<0)throw new Error("More tasks executed then were scheduled.");0!=Mt&&0!=St||this.hasTask(this.zone,{microTask:Me.microTask>0,macroTask:Me.macroTask>0,eventTask:Me.eventTask>0,change:Dt})}}class Et{constructor(Dt,oe,Me,Mt,St,D){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Dt,this.source=oe,this.data=Mt,this.scheduleFn=St,this.cancelFn=D,!Me)throw new Error("callback is not defined");this.callback=Me;const x=this;this.invoke=Dt===ut&&Mt&&Mt.useG?Et.invokeTask:function(){return Et.invokeTask.call(Z,x,this,arguments)}}static invokeTask(Dt,oe,Me){Dt||(Dt=this),Mn++;try{return Dt.runCount++,Dt.zone.runTask(Dt,oe,Me)}finally{1==Mn&&ft(),Mn--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(_t,an)}_transitionTo(Dt,oe,Me){if(this._state!==oe&&this._state!==Me)throw new Error(`${this.type} '${this.source}': can not transition to '${Dt}', expecting state '${oe}'${Me?" or '"+Me+"'":""}, was '${this._state}'.`);this._state=Dt,Dt==_t&&(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 Xt=Je("setTimeout"),pe=Je("Promise"),K=Je("then");let we,$=[],ge=!1;function Fe(et){if(0===Mn&&0===$.length)if(we||Z[pe]&&(we=Z[pe].resolve(0)),we){let Dt=we[K];Dt||(Dt=we.then),Dt.call(we,ft)}else Z[Xt](ft,0);et&&$.push(et)}function ft(){if(!ge){for(ge=!0;$.length;){const et=$;$=[];for(let Dt=0;Dt<et.length;Dt++){const oe=et[Dt];try{oe.zone.runTask(oe,null,null)}catch(Me){ln.onUnhandledError(Me)}}}ln.microtaskDrainDone(),ge=!1}}const It={name:"NO ZONE"},_t="notScheduled",an="scheduling",kt="scheduled",en="running",jt="canceling",$e="unknown",Ie="microTask",Ct="macroTask",ut="eventTask",gn={},ln={symbol:Je,currentZoneFrame:()=>Zt,onUnhandledError:on,microtaskDrainDone:on,scheduleMicroTask:Fe,showUncaughtError:()=>!ht[Je("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:on,patchMethod:()=>on,bindArguments:()=>[],patchThen:()=>on,patchMacroTask:()=>on,patchEventPrototype:()=>on,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>on,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>on,wrapWithCurrentZone:()=>on,filterProperties:()=>[],attachOriginToPatched:()=>on,_redefineProperty:()=>on,patchCallbacks:()=>on};let Zt={parent:null,zone:new ht(null,null)},fn=null,Mn=0;function on(){}ve("Zone","Zone"),Z.Zone=ht}(typeof window<"u"&&window||typeof self<"u"&&self||global);const q=Object.getOwnPropertyDescriptor,O=Object.defineProperty,l=Object.getPrototypeOf,S=Object.create,te=Array.prototype.slice,ie="addEventListener",W="removeEventListener",H=Zone.__symbol__(ie),z=Zone.__symbol__(W),F="true",U="false",B=Zone.__symbol__("");function j(Z,he){return Zone.current.wrap(Z,he)}function ae(Z,he,_e,ve,ke){return Zone.current.scheduleMacroTask(Z,he,_e,ve,ke)}const Y=Zone.__symbol__,Ee=typeof window<"u",de=Ee?window:void 0,be=Ee&&de||"object"==typeof self&&self||global,yt=[null];function ct(Z,he){for(let _e=Z.length-1;_e>=0;_e--)"function"==typeof Z[_e]&&(Z[_e]=j(Z[_e],he+"_"+_e));return Z}function Ye(Z){return!Z||!1!==Z.writable&&!("function"==typeof Z.get&&typeof Z.set>"u")}const it=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Wt=!("nw"in be)&&typeof be.process<"u"&&"[object process]"==={}.toString.call(be.process),un=!Wt&&!it&&!(!Ee||!de.HTMLElement),sn=typeof be.process<"u"&&"[object process]"==={}.toString.call(be.process)&&!it&&!(!Ee||!de.HTMLElement),$t={},Qt=function(Z){if(!(Z=Z||be.event))return;let he=$t[Z.type];he||(he=$t[Z.type]=Y("ON_PROPERTY"+Z.type));const _e=this||Z.target||be,ve=_e[he];let ke;if(un&&_e===de&&"error"===Z.type){const Je=Z;ke=ve&&ve.call(this,Je.message,Je.filename,Je.lineno,Je.colno,Je.error),!0===ke&&Z.preventDefault()}else ke=ve&&ve.apply(this,arguments),null!=ke&&!ke&&Z.preventDefault();return ke};function Qe(Z,he,_e){let ve=q(Z,he);if(!ve&&_e&&q(_e,he)&&(ve={enumerable:!0,configurable:!0}),!ve||!ve.configurable)return;const ke=Y("on"+he+"patched");if(Z.hasOwnProperty(ke)&&Z[ke])return;delete ve.writable,delete ve.value;const Je=ve.get,st=ve.set,ht=he.substr(2);let mt=$t[ht];mt||(mt=$t[ht]=Y("ON_PROPERTY"+ht)),ve.set=function(Nt){let Et=this;!Et&&Z===be&&(Et=be),Et&&(Et[mt]&&Et.removeEventListener(ht,Qt),st&&st.apply(Et,yt),"function"==typeof Nt?(Et[mt]=Nt,Et.addEventListener(ht,Qt,!1)):Et[mt]=null)},ve.get=function(){let Nt=this;if(!Nt&&Z===be&&(Nt=be),!Nt)return null;const Et=Nt[mt];if(Et)return Et;if(Je){let Xt=Je&&Je.call(this);if(Xt)return ve.set.call(this,Xt),"function"==typeof Nt.removeAttribute&&Nt.removeAttribute(he),Xt}return null},O(Z,he,ve),Z[ke]=!0}function Ke(Z,he,_e){if(he)for(let ve=0;ve<he.length;ve++)Qe(Z,"on"+he[ve],_e);else{const ve=[];for(const ke in Z)"on"==ke.substr(0,2)&&ve.push(ke);for(let ke=0;ke<ve.length;ke++)Qe(Z,ve[ke],_e)}}const X=Y("originalInstance");function ye(Z){const he=be[Z];if(!he)return;be[Y(Z)]=he,be[Z]=function(){const ke=ct(arguments,Z);switch(ke.length){case 0:this[X]=new he;break;case 1:this[X]=new he(ke[0]);break;case 2:this[X]=new he(ke[0],ke[1]);break;case 3:this[X]=new he(ke[0],ke[1],ke[2]);break;case 4:this[X]=new he(ke[0],ke[1],ke[2],ke[3]);break;default:throw new Error("Arg list too long.")}},gt(be[Z],he);const _e=new he(function(){});let ve;for(ve in _e)"XMLHttpRequest"===Z&&"responseBlob"===ve||function(ke){"function"==typeof _e[ke]?be[Z].prototype[ke]=function(){return this[X][ke].apply(this[X],arguments)}:O(be[Z].prototype,ke,{set:function(Je){"function"==typeof Je?(this[X][ke]=j(Je,Z+"."+ke),gt(this[X][ke],Je)):this[X][ke]=Je},get:function(){return this[X][ke]}})}(ve);for(ve in he)"prototype"!==ve&&he.hasOwnProperty(ve)&&(be[Z][ve]=he[ve])}function me(Z,he,_e){let ve=Z;for(;ve&&!ve.hasOwnProperty(he);)ve=l(ve);!ve&&Z[he]&&(ve=Z);const ke=Y(he);let Je=null;if(ve&&(!(Je=ve[ke])||!ve.hasOwnProperty(ke))&&(Je=ve[ke]=ve[he],Ye(ve&&q(ve,he)))){const ht=_e(Je,ke,he);ve[he]=function(){return ht(this,arguments)},gt(ve[he],Je)}return Je}function vt(Z,he,_e){let ve=null;function ke(Je){const st=Je.data;return st.args[st.cbIdx]=function(){Je.invoke.apply(this,arguments)},ve.apply(st.target,st.args),Je}ve=me(Z,he,Je=>function(st,ht){const mt=_e(st,ht);return mt.cbIdx>=0&&"function"==typeof ht[mt.cbIdx]?ae(mt.name,ht[mt.cbIdx],mt,ke):Je.apply(st,ht)})}function gt(Z,he){Z[Y("OriginalDelegate")]=he}let Tt=!1,je=!1;function ot(){if(Tt)return je;Tt=!0;try{const Z=de.navigator.userAgent;(-1!==Z.indexOf("MSIE ")||-1!==Z.indexOf("Trident/")||-1!==Z.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(Z,he,_e)=>{const ve=Object.getOwnPropertyDescriptor,ke=Object.defineProperty,st=_e.symbol,ht=[],mt=!0===Z[st("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Nt=st("Promise"),Et=st("then");_e.onUnhandledError=x=>{if(_e.showUncaughtError()){const E=x&&x.rejection;E?console.error("Unhandled Promise rejection:",E instanceof Error?E.message:E,"; Zone:",x.zone.name,"; Task:",x.task&&x.task.source,"; Value:",E,E instanceof Error?E.stack:void 0):console.error(x)}},_e.microtaskDrainDone=()=>{for(;ht.length;){const x=ht.shift();try{x.zone.runGuarded(()=>{throw x.throwOriginal?x.rejection:x})}catch(E){K(E)}}};const pe=st("unhandledPromiseRejectionHandler");function K(x){_e.onUnhandledError(x);try{const E=he[pe];"function"==typeof E&&E.call(this,x)}catch{}}function $(x){return x&&x.then}function ge(x){return x}function we(x){return oe.reject(x)}const Fe=st("state"),ft=st("value"),It=st("finally"),_t=st("parentPromiseValue"),an=st("parentPromiseState"),en=null,$e=!1;function Ct(x,E){return N=>{try{Zt(x,E,N)}catch(re){Zt(x,!1,re)}}}const ln=st("currentTaskTrace");function Zt(x,E,N){const re=function(){let x=!1;return function(N){return function(){x||(x=!0,N.apply(null,arguments))}}}();if(x===N)throw new TypeError("Promise resolved with itself");if(x[Fe]===en){let fe=null;try{("object"==typeof N||"function"==typeof N)&&(fe=N&&N.then)}catch(Te){return re(()=>{Zt(x,!1,Te)})(),x}if(E!==$e&&N instanceof oe&&N.hasOwnProperty(Fe)&&N.hasOwnProperty(ft)&&N[Fe]!==en)Mn(N),Zt(x,N[Fe],N[ft]);else if(E!==$e&&"function"==typeof fe)try{fe.call(N,re(Ct(x,E)),re(Ct(x,!1)))}catch(Te){re(()=>{Zt(x,!1,Te)})()}else{x[Fe]=E;const Te=x[ft];if(x[ft]=N,x[It]===It&&!0===E&&(x[Fe]=x[an],x[ft]=x[_t]),E===$e&&N instanceof Error){const Re=he.currentTask&&he.currentTask.data&&he.currentTask.data.__creationTrace__;Re&&ke(N,ln,{configurable:!0,enumerable:!1,writable:!0,value:Re})}for(let Re=0;Re<Te.length;)on(x,Te[Re++],Te[Re++],Te[Re++],Te[Re++]);if(0==Te.length&&E==$e){x[Fe]=0;let Re=N;try{throw new Error("Uncaught (in promise): "+function Je(x){return x&&x.toString===Object.prototype.toString?(x.constructor&&x.constructor.name||"")+": "+JSON.stringify(x):x?x.toString():Object.prototype.toString.call(x)}(N)+(N&&N.stack?"\n"+N.stack:""))}catch(Ue){Re=Ue}mt&&(Re.throwOriginal=!0),Re.rejection=N,Re.promise=x,Re.zone=he.current,Re.task=he.currentTask,ht.push(Re),_e.scheduleMicroTask()}}}return x}const fn=st("rejectionHandledHandler");function Mn(x){if(0===x[Fe]){try{const E=he[fn];E&&"function"==typeof E&&E.call(this,{rejection:x[ft],promise:x})}catch{}x[Fe]=$e;for(let E=0;E<ht.length;E++)x===ht[E].promise&&ht.splice(E,1)}}function on(x,E,N,re,fe){Mn(x);const Te=x[Fe],Re=Te?"function"==typeof re?re:ge:"function"==typeof fe?fe:we;E.scheduleMicroTask("Promise.then",()=>{try{const Ue=x[ft],tt=!!N&&It===N[It];tt&&(N[_t]=Ue,N[an]=Te);const lt=E.run(Re,void 0,tt&&Re!==we&&Re!==ge?[]:[Ue]);Zt(N,!0,lt)}catch(Ue){Zt(N,!1,Ue)}},N)}const Dt=function(){};class oe{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(E){return Zt(new this(null),!0,E)}static reject(E){return Zt(new this(null),$e,E)}static race(E){let N,re,fe=new this((Ue,tt)=>{N=Ue,re=tt});function Te(Ue){N(Ue)}function Re(Ue){re(Ue)}for(let Ue of E)$(Ue)||(Ue=this.resolve(Ue)),Ue.then(Te,Re);return fe}static all(E){return oe.allWithCallback(E)}static allSettled(E){return(this&&this.prototype instanceof oe?this:oe).allWithCallback(E,{thenCallback:re=>({status:"fulfilled",value:re}),errorCallback:re=>({status:"rejected",reason:re})})}static allWithCallback(E,N){let re,fe,Te=new this((lt,xt)=>{re=lt,fe=xt}),Re=2,Ue=0;const tt=[];for(let lt of E){$(lt)||(lt=this.resolve(lt));const xt=Ue;try{lt.then(_n=>{tt[xt]=N?N.thenCallback(_n):_n,Re--,0===Re&&re(tt)},_n=>{N?(tt[xt]=N.errorCallback(_n),Re--,0===Re&&re(tt)):fe(_n)})}catch(_n){fe(_n)}Re++,Ue++}return Re-=2,0===Re&&re(tt),Te}constructor(E){const N=this;if(!(N instanceof oe))throw new Error("Must be an instanceof Promise.");N[Fe]=en,N[ft]=[];try{E&&E(Ct(N,!0),Ct(N,$e))}catch(re){Zt(N,!1,re)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return oe}then(E,N){let re=this.constructor[Symbol.species];(!re||"function"!=typeof re)&&(re=this.constructor||oe);const fe=new re(Dt),Te=he.current;return this[Fe]==en?this[ft].push(Te,fe,E,N):on(this,Te,fe,E,N),fe}catch(E){return this.then(null,E)}finally(E){let N=this.constructor[Symbol.species];(!N||"function"!=typeof N)&&(N=oe);const re=new N(Dt);re[It]=It;const fe=he.current;return this[Fe]==en?this[ft].push(fe,re,E,E):on(this,fe,re,E,E),re}}oe.resolve=oe.resolve,oe.reject=oe.reject,oe.race=oe.race,oe.all=oe.all;const Me=Z[Nt]=Z.Promise;Z.Promise=oe;const Mt=st("thenPatched");function St(x){const E=x.prototype,N=ve(E,"then");if(N&&(!1===N.writable||!N.configurable))return;const re=E.then;E[Et]=re,x.prototype.then=function(fe,Te){return new oe((Ue,tt)=>{re.call(this,Ue,tt)}).then(fe,Te)},x[Mt]=!0}return _e.patchThen=St,Me&&(St(Me),me(Z,"fetch",x=>function D(x){return function(E,N){let re=x.apply(E,N);if(re instanceof oe)return re;let fe=re.constructor;return fe[Mt]||St(fe),re}}(x))),Promise[he.__symbol__("uncaughtPromiseErrors")]=ht,oe}),Zone.__load_patch("toString",Z=>{const he=Function.prototype.toString,_e=Y("OriginalDelegate"),ve=Y("Promise"),ke=Y("Error"),Je=function(){if("function"==typeof this){const Nt=this[_e];if(Nt)return"function"==typeof Nt?he.call(Nt):Object.prototype.toString.call(Nt);if(this===Promise){const Et=Z[ve];if(Et)return he.call(Et)}if(this===Error){const Et=Z[ke];if(Et)return he.call(Et)}}return he.call(this)};Je[_e]=he,Function.prototype.toString=Je;const st=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":st.call(this)}});let Jt=!1;if(typeof window<"u")try{const Z=Object.defineProperty({},"passive",{get:function(){Jt=!0}});window.addEventListener("test",Z,Z),window.removeEventListener("test",Z,Z)}catch{Jt=!1}const Sn={useG:!0},Yt={},Vt={},Vn=new RegExp("^"+B+"(\\w+)(true|false)$"),Fn=Y("propagationStopped");function pr(Z,he){const _e=(he?he(Z):Z)+U,ve=(he?he(Z):Z)+F,ke=B+_e,Je=B+ve;Yt[Z]={},Yt[Z][U]=ke,Yt[Z][F]=Je}function An(Z,he,_e){const ve=_e&&_e.add||ie,ke=_e&&_e.rm||W,Je=_e&&_e.listeners||"eventListeners",st=_e&&_e.rmAll||"removeAllListeners",ht=Y(ve),mt="."+ve+":",Xt=function(we,Fe,ft){if(we.isRemoved)return;const It=we.callback;"object"==typeof It&&It.handleEvent&&(we.callback=an=>It.handleEvent(an),we.originalDelegate=It),we.invoke(we,Fe,[ft]);const _t=we.options;_t&&"object"==typeof _t&&_t.once&&Fe[ke].call(Fe,ft.type,we.originalDelegate?we.originalDelegate:we.callback,_t)},pe=function(we){if(!(we=we||Z.event))return;const Fe=this||we.target||Z,ft=Fe[Yt[we.type][U]];if(ft)if(1===ft.length)Xt(ft[0],Fe,we);else{const It=ft.slice();for(let _t=0;_t<It.length&&(!we||!0!==we[Fn]);_t++)Xt(It[_t],Fe,we)}},K=function(we){if(!(we=we||Z.event))return;const Fe=this||we.target||Z,ft=Fe[Yt[we.type][F]];if(ft)if(1===ft.length)Xt(ft[0],Fe,we);else{const It=ft.slice();for(let _t=0;_t<It.length&&(!we||!0!==we[Fn]);_t++)Xt(It[_t],Fe,we)}};function $(we,Fe){if(!we)return!1;let ft=!0;Fe&&void 0!==Fe.useG&&(ft=Fe.useG);const It=Fe&&Fe.vh;let _t=!0;Fe&&void 0!==Fe.chkDup&&(_t=Fe.chkDup);let an=!1;Fe&&void 0!==Fe.rt&&(an=Fe.rt);let kt=we;for(;kt&&!kt.hasOwnProperty(ve);)kt=l(kt);if(!kt&&we[ve]&&(kt=we),!kt||kt[ht])return!1;const en=Fe&&Fe.eventNameToString,jt={},$e=kt[ht]=kt[ve],Ie=kt[Y(ke)]=kt[ke],Ct=kt[Y(Je)]=kt[Je],ut=kt[Y(st)]=kt[st];let gn;function ln(E,N){return!Jt&&"object"==typeof E&&E?!!E.capture:Jt&&N?"boolean"==typeof E?{capture:E,passive:!0}:E?"object"==typeof E&&!1!==E.passive?Object.assign(Object.assign({},E),{passive:!0}):E:{passive:!0}:E}Fe&&Fe.prepend&&(gn=kt[Y(Fe.prepend)]=kt[Fe.prepend]);const Dt=ft?function(E){if(!jt.isExisting)return $e.call(jt.target,jt.eventName,jt.capture?K:pe,jt.options)}:function(E){return $e.call(jt.target,jt.eventName,E.invoke,jt.options)},oe=ft?function(E){if(!E.isRemoved){const N=Yt[E.eventName];let re;N&&(re=N[E.capture?F:U]);const fe=re&&E.target[re];if(fe)for(let Te=0;Te<fe.length;Te++)if(fe[Te]===E){fe.splice(Te,1),E.isRemoved=!0,0===fe.length&&(E.allRemoved=!0,E.target[re]=null);break}}if(E.allRemoved)return Ie.call(E.target,E.eventName,E.capture?K:pe,E.options)}:function(E){return Ie.call(E.target,E.eventName,E.invoke,E.options)},Mt=Fe&&Fe.diff?Fe.diff:function(E,N){const re=typeof N;return"function"===re&&E.callback===N||"object"===re&&E.originalDelegate===N},St=Zone[Y("UNPATCHED_EVENTS")],D=Z[Y("PASSIVE_EVENTS")],x=function(E,N,re,fe,Te=!1,Re=!1){return function(){const Ue=this||Z;let tt=arguments[0];Fe&&Fe.transferEventName&&(tt=Fe.transferEventName(tt));let lt=arguments[1];if(!lt)return E.apply(this,arguments);if(Wt&&"uncaughtException"===tt)return E.apply(this,arguments);let xt=!1;if("function"!=typeof lt){if(!lt.handleEvent)return E.apply(this,arguments);xt=!0}if(It&&!It(E,lt,Ue,arguments))return;const _n=Jt&&!!D&&-1!==D.indexOf(tt),dn=ln(arguments[2],_n);if(St)for(let gr=0;gr<St.length;gr++)if(tt===St[gr])return _n?E.call(Ue,tt,lt,dn):E.apply(this,arguments);const hn=!!dn&&("boolean"==typeof dn||dn.capture),Qn=!(!dn||"object"!=typeof dn)&&dn.once,Pr=Zone.current;let Rn=Yt[tt];Rn||(pr(tt,en),Rn=Yt[tt]);const Kn=Rn[hn?F:U];let Br,Jn=Ue[Kn],ai=!1;if(Jn){if(ai=!0,_t)for(let gr=0;gr<Jn.length;gr++)if(Mt(Jn[gr],lt))return}else Jn=Ue[Kn]=[];const Or=Ue.constructor.name,Qr=Vt[Or];Qr&&(Br=Qr[tt]),Br||(Br=Or+N+(en?en(tt):tt)),jt.options=dn,Qn&&(jt.options.once=!1),jt.target=Ue,jt.capture=hn,jt.eventName=tt,jt.isExisting=ai;const xr=ft?Sn:void 0;xr&&(xr.taskData=jt);const Ar=Pr.scheduleEventTask(Br,lt,xr,re,fe);return jt.target=null,xr&&(xr.taskData=null),Qn&&(dn.once=!0),!Jt&&"boolean"==typeof Ar.options||(Ar.options=dn),Ar.target=Ue,Ar.capture=hn,Ar.eventName=tt,xt&&(Ar.originalDelegate=lt),Re?Jn.unshift(Ar):Jn.push(Ar),Te?Ue:void 0}};return kt[ve]=x($e,mt,Dt,oe,an),gn&&(kt.prependListener=x(gn,".prependListener:",function(E){return gn.call(jt.target,jt.eventName,E.invoke,jt.options)},oe,an,!0)),kt[ke]=function(){const E=this||Z;let N=arguments[0];Fe&&Fe.transferEventName&&(N=Fe.transferEventName(N));const re=arguments[2],fe=!!re&&("boolean"==typeof re||re.capture),Te=arguments[1];if(!Te)return Ie.apply(this,arguments);if(It&&!It(Ie,Te,E,arguments))return;const Re=Yt[N];let Ue;Re&&(Ue=Re[fe?F:U]);const tt=Ue&&E[Ue];if(tt)for(let lt=0;lt<tt.length;lt++){const xt=tt[lt];if(Mt(xt,Te))return tt.splice(lt,1),xt.isRemoved=!0,0===tt.length&&(xt.allRemoved=!0,E[Ue]=null,"string"==typeof N)&&(E[B+"ON_PROPERTY"+N]=null),xt.zone.cancelTask(xt),an?E:void 0}return Ie.apply(this,arguments)},kt[Je]=function(){const E=this||Z;let N=arguments[0];Fe&&Fe.transferEventName&&(N=Fe.transferEventName(N));const re=[],fe=ar(E,en?en(N):N);for(let Te=0;Te<fe.length;Te++){const Re=fe[Te];re.push(Re.originalDelegate?Re.originalDelegate:Re.callback)}return re},kt[st]=function(){const E=this||Z;let N=arguments[0];if(N){Fe&&Fe.transferEventName&&(N=Fe.transferEventName(N));const re=Yt[N];if(re){const Re=E[re[U]],Ue=E[re[F]];if(Re){const tt=Re.slice();for(let lt=0;lt<tt.length;lt++){const xt=tt[lt];this[ke].call(this,N,xt.originalDelegate?xt.originalDelegate:xt.callback,xt.options)}}if(Ue){const tt=Ue.slice();for(let lt=0;lt<tt.length;lt++){const xt=tt[lt];this[ke].call(this,N,xt.originalDelegate?xt.originalDelegate:xt.callback,xt.options)}}}}else{const re=Object.keys(E);for(let fe=0;fe<re.length;fe++){const Re=Vn.exec(re[fe]);let Ue=Re&&Re[1];Ue&&"removeListener"!==Ue&&this[st].call(this,Ue)}this[st].call(this,"removeListener")}if(an)return this},gt(kt[ve],$e),gt(kt[ke],Ie),ut&>(kt[st],ut),Ct&>(kt[Je],Ct),!0}let ge=[];for(let we=0;we<he.length;we++)ge[we]=$(he[we],_e);return ge}function ar(Z,he){if(!he){const Je=[];for(let st in Z){const ht=Vn.exec(st);let mt=ht&&ht[1];if(mt&&(!he||mt===he)){const Nt=Z[st];if(Nt)for(let Et=0;Et<Nt.length;Et++)Je.push(Nt[Et])}}return Je}let _e=Yt[he];_e||(pr(he),_e=Yt[he]);const ve=Z[_e[U]],ke=Z[_e[F]];return ve?ke?ve.concat(ke):ve.slice():ke?ke.slice():[]}function Cn(Z,he){const _e=Z.Event;_e&&_e.prototype&&he.patchMethod(_e.prototype,"stopImmediatePropagation",ve=>function(ke,Je){ke[Fn]=!0,ve&&ve.apply(ke,Je)})}function Bn(Z,he,_e,ve,ke){const Je=Zone.__symbol__(ve);if(he[Je])return;const st=he[Je]=he[ve];he[ve]=function(ht,mt,Nt){return mt&&mt.prototype&&ke.forEach(function(Et){const Xt=`${_e}.${ve}::`+Et,pe=mt.prototype;if(pe.hasOwnProperty(Et)){const K=Z.ObjectGetOwnPropertyDescriptor(pe,Et);K&&K.value?(K.value=Z.wrapWithCurrentZone(K.value,Xt),Z._redefineProperty(mt.prototype,Et,K)):pe[Et]&&(pe[Et]=Z.wrapWithCurrentZone(pe[Et],Xt))}else pe[Et]&&(pe[Et]=Z.wrapWithCurrentZone(pe[Et],Xt))}),st.call(he,ht,mt,Nt)},Z.attachOriginToPatched(he[ve],st)}const er=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],Un=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Se=["load"],ue=["blur","error","focus","load","resize","scroll","messageerror"],ce=["bounce","finish","start"],qe=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ne=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Ge=["close","error","open","message"],nt=["error","message"],En=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],er,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function Gt(Z,he,_e){if(!_e||0===_e.length)return he;const ve=_e.filter(Je=>Je.target===Z);if(!ve||0===ve.length)return he;const ke=ve[0].ignoreProperties;return he.filter(Je=>-1===ke.indexOf(Je))}function bt(Z,he,_e,ve){Z&&Ke(Z,Gt(Z,he,_e),ve)}Zone.__load_patch("util",(Z,he,_e)=>{_e.patchOnProperties=Ke,_e.patchMethod=me,_e.bindArguments=ct,_e.patchMacroTask=vt;const ve=he.__symbol__("BLACK_LISTED_EVENTS"),ke=he.__symbol__("UNPATCHED_EVENTS");Z[ke]&&(Z[ve]=Z[ke]),Z[ve]&&(he[ve]=he[ke]=Z[ve]),_e.patchEventPrototype=Cn,_e.patchEventTarget=An,_e.isIEOrEdge=ot,_e.ObjectDefineProperty=O,_e.ObjectGetOwnPropertyDescriptor=q,_e.ObjectCreate=S,_e.ArraySlice=te,_e.patchClass=ye,_e.wrapWithCurrentZone=j,_e.filterProperties=Gt,_e.attachOriginToPatched=gt,_e._redefineProperty=Object.defineProperty,_e.patchCallbacks=Bn,_e.getGlobalObjects=()=>({globalSources:Vt,zoneSymbolEventNames:Yt,eventNames:En,isBrowser:un,isMix:sn,isNode:Wt,TRUE_STR:F,FALSE_STR:U,ZONE_SYMBOL_PREFIX:B,ADD_EVENT_LISTENER_STR:ie,REMOVE_EVENT_LISTENER_STR:W})});const Tn=Y("zoneTask");function In(Z,he,_e,ve){let ke=null,Je=null;_e+=ve;const st={};function ht(Nt){const Et=Nt.data;return Et.args[0]=function(){return Nt.invoke.apply(this,arguments)},Et.handleId=ke.apply(Z,Et.args),Nt}function mt(Nt){return Je.call(Z,Nt.data.handleId)}ke=me(Z,he+=ve,Nt=>function(Et,Xt){if("function"==typeof Xt[0]){const pe={isPeriodic:"Interval"===ve,delay:"Timeout"===ve||"Interval"===ve?Xt[1]||0:void 0,args:Xt},K=Xt[0];Xt[0]=function(){try{return K.apply(this,arguments)}finally{pe.isPeriodic||("number"==typeof pe.handleId?delete st[pe.handleId]:pe.handleId&&(pe.handleId[Tn]=null))}};const $=ae(he,Xt[0],pe,ht,mt);if(!$)return $;const ge=$.data.handleId;return"number"==typeof ge?st[ge]=$:ge&&(ge[Tn]=$),ge&&ge.ref&&ge.unref&&"function"==typeof ge.ref&&"function"==typeof ge.unref&&($.ref=ge.ref.bind(ge),$.unref=ge.unref.bind(ge)),"number"==typeof ge||ge?ge:$}return Nt.apply(Z,Xt)}),Je=me(Z,_e,Nt=>function(Et,Xt){const pe=Xt[0];let K;"number"==typeof pe?K=st[pe]:(K=pe&&pe[Tn],K||(K=pe)),K&&"string"==typeof K.type?"notScheduled"!==K.state&&(K.cancelFn&&K.data.isPeriodic||0===K.runCount)&&("number"==typeof pe?delete st[pe]:pe&&(pe[Tn]=null),K.zone.cancelTask(K)):Nt.apply(Z,Xt)})}Zone.__load_patch("legacy",Z=>{const he=Z[Zone.__symbol__("legacyPatch")];he&&he()}),Zone.__load_patch("queueMicrotask",(Z,he,_e)=>{_e.patchMethod(Z,"queueMicrotask",ve=>function(ke,Je){he.current.scheduleMicroTask("queueMicrotask",Je[0])})}),Zone.__load_patch("timers",Z=>{const _e="clear";In(Z,"set",_e,"Timeout"),In(Z,"set",_e,"Interval"),In(Z,"set",_e,"Immediate")}),Zone.__load_patch("requestAnimationFrame",Z=>{In(Z,"request","cancel","AnimationFrame"),In(Z,"mozRequest","mozCancel","AnimationFrame"),In(Z,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(Z,he)=>{const _e=["alert","prompt","confirm"];for(let ve=0;ve<_e.length;ve++)me(Z,_e[ve],(Je,st,ht)=>function(mt,Nt){return he.current.run(Je,Z,Nt,ht)})}),Zone.__load_patch("EventTarget",(Z,he,_e)=>{(function rn(Z,he){he.patchEventPrototype(Z,he)})(Z,_e),function wt(Z,he){if(Zone[he.symbol("patchEventTarget")])return;const{eventNames:_e,zoneSymbolEventNames:ve,TRUE_STR:ke,FALSE_STR:Je,ZONE_SYMBOL_PREFIX:st}=he.getGlobalObjects();for(let mt=0;mt<_e.length;mt++){const Nt=_e[mt],pe=st+(Nt+Je),K=st+(Nt+ke);ve[Nt]={},ve[Nt][Je]=pe,ve[Nt][ke]=K}const ht=Z.EventTarget;ht&&ht.prototype&&he.patchEventTarget(Z,[ht&&ht.prototype])}(Z,_e);const ve=Z.XMLHttpRequestEventTarget;ve&&ve.prototype&&_e.patchEventTarget(Z,[ve.prototype])}),Zone.__load_patch("MutationObserver",(Z,he,_e)=>{ye("MutationObserver"),ye("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(Z,he,_e)=>{ye("IntersectionObserver")}),Zone.__load_patch("FileReader",(Z,he,_e)=>{ye("FileReader")}),Zone.__load_patch("on_property",(Z,he,_e)=>{!function tr(Z,he){if(Wt&&!sn||Zone[Z.symbol("patchEvents")])return;const _e=typeof WebSocket<"u",ve=he.__Zone_ignore_on_properties;if(un){const st=window,ht=function He(){try{const Z=de.navigator.userAgent;if(-1!==Z.indexOf("MSIE ")||-1!==Z.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:st,ignoreProperties:["error"]}]:[];bt(st,En.concat(["messageerror"]),ve&&ve.concat(ht),l(st)),bt(Document.prototype,En,ve),typeof st.SVGElement<"u"&&bt(st.SVGElement.prototype,En,ve),bt(Element.prototype,En,ve),bt(HTMLElement.prototype,En,ve),bt(HTMLMediaElement.prototype,Un,ve),bt(HTMLFrameSetElement.prototype,er.concat(ue),ve),bt(HTMLBodyElement.prototype,er.concat(ue),ve),bt(HTMLFrameElement.prototype,Se,ve),bt(HTMLIFrameElement.prototype,Se,ve);const mt=st.HTMLMarqueeElement;mt&&bt(mt.prototype,ce,ve);const Nt=st.Worker;Nt&&bt(Nt.prototype,nt,ve)}const ke=he.XMLHttpRequest;ke&&bt(ke.prototype,qe,ve);const Je=he.XMLHttpRequestEventTarget;Je&&bt(Je&&Je.prototype,qe,ve),typeof IDBIndex<"u"&&(bt(IDBIndex.prototype,Ne,ve),bt(IDBRequest.prototype,Ne,ve),bt(IDBOpenDBRequest.prototype,Ne,ve),bt(IDBDatabase.prototype,Ne,ve),bt(IDBTransaction.prototype,Ne,ve),bt(IDBCursor.prototype,Ne,ve)),_e&&bt(WebSocket.prototype,Ge,ve)}(_e,Z)}),Zone.__load_patch("customElements",(Z,he,_e)=>{!function Bt(Z,he){const{isBrowser:_e,isMix:ve}=he.getGlobalObjects();(_e||ve)&&Z.customElements&&"customElements"in Z&&he.patchCallbacks(he,Z.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(Z,_e)}),Zone.__load_patch("XHR",(Z,he)=>{!function mt(Nt){const Et=Nt.XMLHttpRequest;if(!Et)return;const Xt=Et.prototype;let K=Xt[H],$=Xt[z];if(!K){const Ie=Nt.XMLHttpRequestEventTarget;if(Ie){const Ct=Ie.prototype;K=Ct[H],$=Ct[z]}}const ge="readystatechange",we="scheduled";function Fe(Ie){const Ct=Ie.data,ut=Ct.target;ut[Je]=!1,ut[ht]=!1;const gn=ut[ke];K||(K=ut[H],$=ut[z]),gn&&$.call(ut,ge,gn);const ln=ut[ke]=()=>{if(ut.readyState===ut.DONE)if(!Ct.aborted&&ut[Je]&&Ie.state===we){const fn=ut[he.__symbol__("loadfalse")];if(0!==ut.status&&fn&&fn.length>0){const Mn=Ie.invoke;Ie.invoke=function(){const on=ut[he.__symbol__("loadfalse")];for(let et=0;et<on.length;et++)on[et]===Ie&&on.splice(et,1);!Ct.aborted&&Ie.state===we&&Mn.call(Ie)},fn.push(Ie)}else Ie.invoke()}else!Ct.aborted&&!1===ut[Je]&&(ut[ht]=!0)};return K.call(ut,ge,ln),ut[_e]||(ut[_e]=Ie),jt.apply(ut,Ct.args),ut[Je]=!0,Ie}function ft(){}function It(Ie){const Ct=Ie.data;return Ct.aborted=!0,$e.apply(Ct.target,Ct.args)}const _t=me(Xt,"open",()=>function(Ie,Ct){return Ie[ve]=0==Ct[2],Ie[st]=Ct[1],_t.apply(Ie,Ct)}),kt=Y("fetchTaskAborting"),en=Y("fetchTaskScheduling"),jt=me(Xt,"send",()=>function(Ie,Ct){if(!0===he.current[en]||Ie[ve])return jt.apply(Ie,Ct);{const ut={target:Ie,url:Ie[st],isPeriodic:!1,args:Ct,aborted:!1},gn=ae("XMLHttpRequest.send",ft,ut,Fe,It);Ie&&!0===Ie[ht]&&!ut.aborted&&gn.state===we&&gn.invoke()}}),$e=me(Xt,"abort",()=>function(Ie,Ct){const ut=function pe(Ie){return Ie[_e]}(Ie);if(ut&&"string"==typeof ut.type){if(null==ut.cancelFn||ut.data&&ut.data.aborted)return;ut.zone.cancelTask(ut)}else if(!0===he.current[kt])return $e.apply(Ie,Ct)})}(Z);const _e=Y("xhrTask"),ve=Y("xhrSync"),ke=Y("xhrListener"),Je=Y("xhrScheduled"),st=Y("xhrURL"),ht=Y("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",Z=>{Z.navigator&&Z.navigator.geolocation&&function Xe(Z,he){const _e=Z.constructor.name;for(let ve=0;ve<he.length;ve++){const ke=he[ve],Je=Z[ke];if(Je){if(!Ye(q(Z,ke)))continue;Z[ke]=(ht=>{const mt=function(){return ht.apply(this,ct(arguments,_e+"."+ke))};return gt(mt,ht),mt})(Je)}}}(Z.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(Z,he)=>{function _e(ve){return function(ke){ar(Z,ve).forEach(st=>{const ht=Z.PromiseRejectionEvent;if(ht){const mt=new ht(ve,{promise:ke.promise,reason:ke.rejection});st.invoke(mt)}})}}Z.PromiseRejectionEvent&&(he[Y("unhandledPromiseRejectionHandler")]=_e("unhandledrejection"),he[Y("rejectionHandledHandler")]=_e("rejectionhandled"))})},6895:(Ae,q,O)=>{"use strict";O.d(q,{Do:()=>Ye,ED:()=>lt,EM:()=>dr,HT:()=>W,JF:()=>Yi,K0:()=>z,Mx:()=>Me,NF:()=>Fr,O5:()=>re,Ov:()=>Or,RF:()=>Ue,S$:()=>Pe,V_:()=>B,Ye:()=>it,b0:()=>Xe,bD:()=>Ir,ez:()=>Wr,lw:()=>F,mk:()=>Mt,mr:()=>ct,n9:()=>tt,q:()=>te,sg:()=>x,tP:()=>Qn,w_:()=>H});var l=O(5062);let S=null;function te(){return S}function W(C){S||(S=C)}class H{}const z=new l.OlP("DocumentToken");let F=(()=>{class C{historyGo(b){throw new Error("Not implemented")}}return C.\u0275fac=function(b){return new(b||C)},C.\u0275prov=l.Yz7({token:C,factory:function(){return function U(){return(0,l.LFG)(j)}()},providedIn:"platform"}),C})();const B=new l.OlP("Location Initialized");let j=(()=>{class C extends F{constructor(b){super(),this._doc=b,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return te().getBaseHref(this._doc)}onPopState(b){const L=te().getGlobalEventTarget(this._doc,"window");return L.addEventListener("popstate",b,!1),()=>L.removeEventListener("popstate",b)}onHashChange(b){const L=te().getGlobalEventTarget(this._doc,"window");return L.addEventListener("hashchange",b,!1),()=>L.removeEventListener("hashchange",b)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(b){this.location.pathname=b}pushState(b,L,ne){ae()?this._history.pushState(b,L,ne):this.location.hash=ne}replaceState(b,L,ne){ae()?this._history.replaceState(b,L,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return C.\u0275fac=function(b){return new(b||C)(l.LFG(z))},C.\u0275prov=l.Yz7({token:C,factory:function(){return function Y(){return new j((0,l.LFG)(z))}()},providedIn:"platform"}),C})();function ae(){return!!window.history.pushState}function Ee(C,I){if(0==C.length)return I;if(0==I.length)return C;let b=0;return C.endsWith("/")&&b++,I.startsWith("/")&&b++,2==b?C+I.substring(1):1==b?C+I:C+"/"+I}function de(C){const I=C.match(/#|\?|$/),b=I&&I.index||C.length;return C.slice(0,b-("/"===C[b-1]?1:0))+C.slice(b)}function be(C){return C&&"?"!==C[0]?"?"+C:C}let Pe=(()=>{class C{historyGo(b){throw new Error("Not implemented")}}return C.\u0275fac=function(b){return new(b||C)},C.\u0275prov=l.Yz7({token:C,factory:function(){return function yt(C){const I=(0,l.LFG)(z).location;return new Xe((0,l.LFG)(F),I&&I.origin||"")}()},providedIn:"root"}),C})();const ct=new l.OlP("appBaseHref");let Xe=(()=>{class C extends Pe{constructor(b,L){if(super(),this._platformLocation=b,this._removeListenerFns=[],null==L&&(L=this._platformLocation.getBaseHrefFromDOM()),null==L)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=L}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}prepareExternalUrl(b){return Ee(this._baseHref,b)}path(b=!1){const L=this._platformLocation.pathname+be(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&b?`${L}${ne}`:L}pushState(b,L,ne,Oe){const Ze=this.prepareExternalUrl(ne+be(Oe));this._platformLocation.pushState(b,L,Ze)}replaceState(b,L,ne,Oe){const Ze=this.prepareExternalUrl(ne+be(Oe));this._platformLocation.replaceState(b,L,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return C.\u0275fac=function(b){return new(b||C)(l.LFG(F),l.LFG(ct,8))},C.\u0275prov=l.Yz7({token:C,factory:C.\u0275fac}),C})(),Ye=(()=>{class C extends Pe{constructor(b,L){super(),this._platformLocation=b,this._baseHref="",this._removeListenerFns=[],null!=L&&(this._baseHref=L)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}path(b=!1){let L=this._platformLocation.hash;return null==L&&(L="#"),L.length>0?L.substring(1):L}prepareExternalUrl(b){const L=Ee(this._baseHref,b);return L.length>0?"#"+L:L}pushState(b,L,ne,Oe){let Ze=this.prepareExternalUrl(ne+be(Oe));0==Ze.length&&(Ze=this._platformLocation.pathname),this._platformLocation.pushState(b,L,Ze)}replaceState(b,L,ne,Oe){let Ze=this.prepareExternalUrl(ne+be(Oe));0==Ze.length&&(Ze=this._platformLocation.pathname),this._platformLocation.replaceState(b,L,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return C.\u0275fac=function(b){return new(b||C)(l.LFG(F),l.LFG(ct,8))},C.\u0275prov=l.Yz7({token:C,factory:C.\u0275fac}),C})(),it=(()=>{class C{constructor(b,L){this._subject=new l.vpe,this._urlChangeListeners=[],this._platformStrategy=b;const ne=this._platformStrategy.getBaseHref();this._platformLocation=L,this._baseHref=de(sn(ne)),this._platformStrategy.onPopState(Oe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Oe.state,type:Oe.type})})}path(b=!1){return this.normalize(this._platformStrategy.path(b))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(b,L=""){return this.path()==this.normalize(b+be(L))}normalize(b){return C.stripTrailingSlash(function un(C,I){return C&&I.startsWith(C)?I.substring(C.length):I}(this._baseHref,sn(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._platformStrategy.prepareExternalUrl(b)}go(b,L="",ne=null){this._platformStrategy.pushState(ne,"",b,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+be(L)),ne)}replaceState(b,L="",ne=null){this._platformStrategy.replaceState(ne,"",b,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+be(L)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(b=0){this._platformStrategy.historyGo?.(b)}onUrlChange(b){this._urlChangeListeners.push(b),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(L=>{this._notifyUrlChangeListeners(L.url,L.state)}))}_notifyUrlChangeListeners(b="",L){this._urlChangeListeners.forEach(ne=>ne(b,L))}subscribe(b,L,ne){return this._subject.subscribe({next:b,error:L,complete:ne})}}return C.normalizeQueryParams=be,C.joinWithSlash=Ee,C.stripTrailingSlash=de,C.\u0275fac=function(b){return new(b||C)(l.LFG(Pe),l.LFG(F))},C.\u0275prov=l.Yz7({token:C,factory:function(){return function Wt(){return new it((0,l.LFG)(Pe),(0,l.LFG)(F))}()},providedIn:"root"}),C})();function sn(C){return C.replace(/\/index.html$/,"")}function Me(C,I){I=encodeURIComponent(I);for(const b of C.split(";")){const L=b.indexOf("="),[ne,Oe]=-1==L?[b,""]:[b.slice(0,L),b.slice(L+1)];if(ne.trim()===I)return decodeURIComponent(Oe)}return null}let Mt=(()=>{class C{constructor(b,L,ne,Oe){this._iterableDiffers=b,this._keyValueDiffers=L,this._ngEl=ne,this._renderer=Oe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(b){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof b?b.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(b){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof b?b.split(/\s+/):b,this._rawClass&&((0,l.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const b=this._iterableDiffer.diff(this._rawClass);b&&this._applyIterableChanges(b)}else if(this._keyValueDiffer){const b=this._keyValueDiffer.diff(this._rawClass);b&&this._applyKeyValueChanges(b)}}_applyKeyValueChanges(b){b.forEachAddedItem(L=>this._toggleClass(L.key,L.currentValue)),b.forEachChangedItem(L=>this._toggleClass(L.key,L.currentValue)),b.forEachRemovedItem(L=>{L.previousValue&&this._toggleClass(L.key,!1)})}_applyIterableChanges(b){b.forEachAddedItem(L=>{if("string"!=typeof L.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(L.item)}`);this._toggleClass(L.item,!0)}),b.forEachRemovedItem(L=>this._toggleClass(L.item,!1))}_applyClasses(b){b&&(Array.isArray(b)||b instanceof Set?b.forEach(L=>this._toggleClass(L,!0)):Object.keys(b).forEach(L=>this._toggleClass(L,!!b[L])))}_removeClasses(b){b&&(Array.isArray(b)||b instanceof Set?b.forEach(L=>this._toggleClass(L,!1)):Object.keys(b).forEach(L=>this._toggleClass(L,!1)))}_toggleClass(b,L){(b=b.trim())&&b.split(/\s+/g).forEach(ne=>{L?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return C.\u0275fac=function(b){return new(b||C)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),C})();class D{constructor(I,b,L,ne){this.$implicit=I,this.ngForOf=b,this.index=L,this.count=ne}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let x=(()=>{class C{constructor(b,L,ne){this._viewContainer=b,this._template=L,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(b){b&&(this._template=b)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const b=this._ngForOf;!this._differ&&b&&(this._differ=this._differs.find(b).create(this.ngForTrackBy))}if(this._differ){const b=this._differ.diff(this._ngForOf);b&&this._applyChanges(b)}}_applyChanges(b){const L=this._viewContainer;b.forEachOperation((ne,Oe,Ze)=>{if(null==ne.previousIndex)L.createEmbeddedView(this._template,new D(ne.item,this._ngForOf,-1,-1),null===Ze?void 0:Ze);else if(null==Ze)L.remove(null===Oe?void 0:Oe);else if(null!==Oe){const dt=L.get(Oe);L.move(dt,Ze),E(dt,ne)}});for(let ne=0,Oe=L.length;ne<Oe;ne++){const dt=L.get(ne).context;dt.index=ne,dt.count=Oe,dt.ngForOf=this._ngForOf}b.forEachIdentityChange(ne=>{E(L.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(b,L){return!0}}return C.\u0275fac=function(b){return new(b||C)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),C})();function E(C,I){C.context.$implicit=I.item}let re=(()=>{class C{constructor(b,L){this._viewContainer=b,this._context=new fe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=L}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){Te("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){Te("ngIfElse",b),this._elseTemplateRef=b,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(b,L){return!0}}return C.\u0275fac=function(b){return new(b||C)(l.Y36(l.s_b),l.Y36(l.Rgc))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),C})();class fe{constructor(){this.$implicit=null,this.ngIf=null}}function Te(C,I){if(I&&!I.createEmbeddedView)throw new Error(`${C} must be a TemplateRef, but received '${(0,l.AaK)(I)}'.`)}class Re{constructor(I,b){this._viewContainerRef=I,this._templateRef=b,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(I){I&&!this._created?this.create():!I&&this._created&&this.destroy()}}let Ue=(()=>{class C{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(b){this._ngSwitch=b,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(b){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(b)}_matchCase(b){const L=b==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||L,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),L}_updateDefaultCases(b){if(this._defaultViews&&b!==this._defaultUsed){this._defaultUsed=b;for(let L=0;L<this._defaultViews.length;L++)this._defaultViews[L].enforceState(b)}}}return C.\u0275fac=function(b){return new(b||C)},C.\u0275dir=l.lG2({type:C,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),C})(),tt=(()=>{class C{constructor(b,L,ne){this.ngSwitch=ne,ne._addCase(),this._view=new Re(b,L)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return C.\u0275fac=function(b){return new(b||C)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(Ue,9))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),C})(),lt=(()=>{class C{constructor(b,L,ne){ne._addDefault(new Re(b,L))}}return C.\u0275fac=function(b){return new(b||C)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(Ue,9))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngSwitchDefault",""]]}),C})(),Qn=(()=>{class C{constructor(b){this._viewContainerRef=b,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(b){if(b.ngTemplateOutlet){const L=this._viewContainerRef;this._viewRef&&L.remove(L.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?L.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&b.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return C.\u0275fac=function(b){return new(b||C)(l.Y36(l.s_b))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[l.TTD]}),C})();class Kn{createSubscription(I,b){return I.subscribe({next:b,error:L=>{throw L}})}dispose(I){I.unsubscribe()}onDestroy(I){I.unsubscribe()}}class Jn{createSubscription(I,b){return I.then(b,L=>{throw L})}dispose(I){}onDestroy(I){}}const ai=new Jn,Br=new Kn;let Or=(()=>{class C{constructor(b){this._ref=b,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(b){return this._obj?b!==this._obj?(this._dispose(),this.transform(b)):this._latestValue:(b&&this._subscribe(b),this._latestValue)}_subscribe(b){this._obj=b,this._strategy=this._selectStrategy(b),this._subscription=this._strategy.createSubscription(b,L=>this._updateLatestValue(b,L))}_selectStrategy(b){if((0,l.QGY)(b))return ai;if((0,l.F4k)(b))return Br;throw function Rn(C,I){return new l.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,L){b===this._obj&&(this._latestValue=L,this._ref.markForCheck())}}return C.\u0275fac=function(b){return new(b||C)(l.Y36(l.sBO,16))},C.\u0275pipe=l.Yjl({name:"async",type:C,pure:!1}),C})(),Wr=(()=>{class C{}return C.\u0275fac=function(b){return new(b||C)},C.\u0275mod=l.oAB({type:C}),C.\u0275inj=l.cJS({}),C})();const Ir="browser";function Fr(C){return C===Ir}let dr=(()=>{class C{}return C.\u0275prov=(0,l.Yz7)({token:C,providedIn:"root",factory:()=>new Rr((0,l.LFG)(z),window)}),C})();class Rr{constructor(I,b){this.document=I,this.window=b,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 b=function Cr(C,I){const b=C.getElementById(I)||C.getElementsByName(I)[0];if(b)return b;if("function"==typeof C.createTreeWalker&&C.body&&(C.body.createShadowRoot||C.body.attachShadow)){const L=C.createTreeWalker(C.body,NodeFilter.SHOW_ELEMENT);let ne=L.currentNode;for(;ne;){const Oe=ne.shadowRoot;if(Oe){const Ze=Oe.getElementById(I)||Oe.querySelector(`[name="${I}"]`);if(Ze)return Ze}ne=L.nextNode()}}return null}(this.document,I);b&&(this.scrollToElement(b),b.focus())}setHistoryScrollRestoration(I){if(this.supportScrollRestoration()){const b=this.window.history;b&&b.scrollRestoration&&(b.scrollRestoration=I)}}scrollToElement(I){const b=I.getBoundingClientRect(),L=b.left+this.window.pageXOffset,ne=b.top+this.window.pageYOffset,Oe=this.offset();this.window.scrollTo(L-Oe[0],ne-Oe[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const I=ui(this.window.history)||ui(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 ui(C){return Object.getOwnPropertyDescriptor(C,"scrollRestoration")}class Yi{}},529:(Ae,q,O)=>{"use strict";O.d(q,{JF:()=>sr,WM:()=>B,eN:()=>me});var l=O(6895),S=O(5062),te=O(1086),ie=O(2916),W=O(1406),H=O(2198),z=O(4850);class F{}class U{}class B{constructor(ue){this.normalizedNames=new Map,this.lazyUpdate=null,ue?this.lazyInit="string"==typeof ue?()=>{this.headers=new Map,ue.split("\n").forEach(ce=>{const qe=ce.indexOf(":");if(qe>0){const Ne=ce.slice(0,qe),Ge=Ne.toLowerCase(),nt=ce.slice(qe+1).trim();this.maybeSetNormalizedName(Ne,Ge),this.headers.has(Ge)?this.headers.get(Ge).push(nt):this.headers.set(Ge,[nt])}})}:()=>{this.headers=new Map,Object.keys(ue).forEach(ce=>{let qe=ue[ce];const Ne=ce.toLowerCase();"string"==typeof qe&&(qe=[qe]),qe.length>0&&(this.headers.set(Ne,qe),this.maybeSetNormalizedName(ce,Ne))})}:this.headers=new Map}has(ue){return this.init(),this.headers.has(ue.toLowerCase())}get(ue){this.init();const ce=this.headers.get(ue.toLowerCase());return ce&&ce.length>0?ce[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ue){return this.init(),this.headers.get(ue.toLowerCase())||null}append(ue,ce){return this.clone({name:ue,value:ce,op:"a"})}set(ue,ce){return this.clone({name:ue,value:ce,op:"s"})}delete(ue,ce){return this.clone({name:ue,value:ce,op:"d"})}maybeSetNormalizedName(ue,ce){this.normalizedNames.has(ce)||this.normalizedNames.set(ce,ue)}init(){this.lazyInit&&(this.lazyInit instanceof B?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ue=>this.applyUpdate(ue)),this.lazyUpdate=null))}copyFrom(ue){ue.init(),Array.from(ue.headers.keys()).forEach(ce=>{this.headers.set(ce,ue.headers.get(ce)),this.normalizedNames.set(ce,ue.normalizedNames.get(ce))})}clone(ue){const ce=new B;return ce.lazyInit=this.lazyInit&&this.lazyInit instanceof B?this.lazyInit:this,ce.lazyUpdate=(this.lazyUpdate||[]).concat([ue]),ce}applyUpdate(ue){const ce=ue.name.toLowerCase();switch(ue.op){case"a":case"s":let qe=ue.value;if("string"==typeof qe&&(qe=[qe]),0===qe.length)return;this.maybeSetNormalizedName(ue.name,ce);const Ne=("a"===ue.op?this.headers.get(ce):void 0)||[];Ne.push(...qe),this.headers.set(ce,Ne);break;case"d":const Ge=ue.value;if(Ge){let nt=this.headers.get(ce);if(!nt)return;nt=nt.filter(En=>-1===Ge.indexOf(En)),0===nt.length?(this.headers.delete(ce),this.normalizedNames.delete(ce)):this.headers.set(ce,nt)}else this.headers.delete(ce),this.normalizedNames.delete(ce)}}forEach(ue){this.init(),Array.from(this.normalizedNames.keys()).forEach(ce=>ue(this.normalizedNames.get(ce),this.headers.get(ce)))}}class j{encodeKey(ue){return de(ue)}encodeValue(ue){return de(ue)}decodeKey(ue){return decodeURIComponent(ue)}decodeValue(ue){return decodeURIComponent(ue)}}const Y=/%(\d[a-f0-9])/gi,Ee={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function de(Se){return encodeURIComponent(Se).replace(Y,(ue,ce)=>Ee[ce]??ue)}function be(Se){return`${Se}`}class Pe{constructor(ue={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ue.encoder||new j,ue.fromString){if(ue.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ae(Se,ue){const ce=new Map;return Se.length>0&&Se.replace(/^\?/,"").split("&").forEach(Ne=>{const Ge=Ne.indexOf("="),[nt,En]=-1==Ge?[ue.decodeKey(Ne),""]:[ue.decodeKey(Ne.slice(0,Ge)),ue.decodeValue(Ne.slice(Ge+1))],Gt=ce.get(nt)||[];Gt.push(En),ce.set(nt,Gt)}),ce}(ue.fromString,this.encoder)}else ue.fromObject?(this.map=new Map,Object.keys(ue.fromObject).forEach(ce=>{const qe=ue.fromObject[ce];this.map.set(ce,Array.isArray(qe)?qe:[qe])})):this.map=null}has(ue){return this.init(),this.map.has(ue)}get(ue){this.init();const ce=this.map.get(ue);return ce?ce[0]:null}getAll(ue){return this.init(),this.map.get(ue)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ue,ce){return this.clone({param:ue,value:ce,op:"a"})}appendAll(ue){const ce=[];return Object.keys(ue).forEach(qe=>{const Ne=ue[qe];Array.isArray(Ne)?Ne.forEach(Ge=>{ce.push({param:qe,value:Ge,op:"a"})}):ce.push({param:qe,value:Ne,op:"a"})}),this.clone(ce)}set(ue,ce){return this.clone({param:ue,value:ce,op:"s"})}delete(ue,ce){return this.clone({param:ue,value:ce,op:"d"})}toString(){return this.init(),this.keys().map(ue=>{const ce=this.encoder.encodeKey(ue);return this.map.get(ue).map(qe=>ce+"="+this.encoder.encodeValue(qe)).join("&")}).filter(ue=>""!==ue).join("&")}clone(ue){const ce=new Pe({encoder:this.encoder});return ce.cloneFrom=this.cloneFrom||this,ce.updates=(this.updates||[]).concat(ue),ce}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ue=>this.map.set(ue,this.cloneFrom.map.get(ue))),this.updates.forEach(ue=>{switch(ue.op){case"a":case"s":const ce=("a"===ue.op?this.map.get(ue.param):void 0)||[];ce.push(be(ue.value)),this.map.set(ue.param,ce);break;case"d":if(void 0===ue.value){this.map.delete(ue.param);break}{let qe=this.map.get(ue.param)||[];const Ne=qe.indexOf(be(ue.value));-1!==Ne&&qe.splice(Ne,1),qe.length>0?this.map.set(ue.param,qe):this.map.delete(ue.param)}}}),this.cloneFrom=this.updates=null)}}class ct{constructor(){this.map=new Map}set(ue,ce){return this.map.set(ue,ce),this}get(ue){return this.map.has(ue)||this.map.set(ue,ue.defaultValue()),this.map.get(ue)}delete(ue){return this.map.delete(ue),this}has(ue){return this.map.has(ue)}keys(){return this.map.keys()}}function Ye(Se){return typeof ArrayBuffer<"u"&&Se instanceof ArrayBuffer}function it(Se){return typeof Blob<"u"&&Se instanceof Blob}function Wt(Se){return typeof FormData<"u"&&Se instanceof FormData}class sn{constructor(ue,ce,qe,Ne){let Ge;if(this.url=ce,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ue.toUpperCase(),function Xe(Se){switch(Se){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ne?(this.body=void 0!==qe?qe:null,Ge=Ne):Ge=qe,Ge&&(this.reportProgress=!!Ge.reportProgress,this.withCredentials=!!Ge.withCredentials,Ge.responseType&&(this.responseType=Ge.responseType),Ge.headers&&(this.headers=Ge.headers),Ge.context&&(this.context=Ge.context),Ge.params&&(this.params=Ge.params)),this.headers||(this.headers=new B),this.context||(this.context=new ct),this.params){const nt=this.params.toString();if(0===nt.length)this.urlWithParams=ce;else{const En=ce.indexOf("?");this.urlWithParams=ce+(-1===En?"?":En<ce.length-1?"&":"")+nt}}else this.params=new Pe,this.urlWithParams=ce}serializeBody(){return null===this.body?null:Ye(this.body)||it(this.body)||Wt(this.body)||function un(Se){return typeof URLSearchParams<"u"&&Se instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Pe?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||Wt(this.body)?null:it(this.body)?this.body.type||null:Ye(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Pe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ue={}){const ce=ue.method||this.method,qe=ue.url||this.url,Ne=ue.responseType||this.responseType,Ge=void 0!==ue.body?ue.body:this.body,nt=void 0!==ue.withCredentials?ue.withCredentials:this.withCredentials,En=void 0!==ue.reportProgress?ue.reportProgress:this.reportProgress;let Gt=ue.headers||this.headers,bt=ue.params||this.params;const tr=ue.context??this.context;return void 0!==ue.setHeaders&&(Gt=Object.keys(ue.setHeaders).reduce((Tn,In)=>Tn.set(In,ue.setHeaders[In]),Gt)),ue.setParams&&(bt=Object.keys(ue.setParams).reduce((Tn,In)=>Tn.set(In,ue.setParams[In]),bt)),new sn(ce,qe,Ge,{params:bt,headers:Gt,context:tr,reportProgress:En,responseType:Ne,withCredentials:nt})}}var $t=(()=>(($t=$t||{})[$t.Sent=0]="Sent",$t[$t.UploadProgress=1]="UploadProgress",$t[$t.ResponseHeader=2]="ResponseHeader",$t[$t.DownloadProgress=3]="DownloadProgress",$t[$t.Response=4]="Response",$t[$t.User=5]="User",$t))();class Qt{constructor(ue,ce=200,qe="OK"){this.headers=ue.headers||new B,this.status=void 0!==ue.status?ue.status:ce,this.statusText=ue.statusText||qe,this.url=ue.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends Qt{constructor(ue={}){super(ue),this.type=$t.ResponseHeader}clone(ue={}){return new Qe({headers:ue.headers||this.headers,status:void 0!==ue.status?ue.status:this.status,statusText:ue.statusText||this.statusText,url:ue.url||this.url||void 0})}}class Ke extends Qt{constructor(ue={}){super(ue),this.type=$t.Response,this.body=void 0!==ue.body?ue.body:null}clone(ue={}){return new Ke({body:void 0!==ue.body?ue.body:this.body,headers:ue.headers||this.headers,status:void 0!==ue.status?ue.status:this.status,statusText:ue.statusText||this.statusText,url:ue.url||this.url||void 0})}}class X extends Qt{constructor(ue){super(ue,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ue.url||"(unknown url)"}`:`Http failure response for ${ue.url||"(unknown url)"}: ${ue.status} ${ue.statusText}`,this.error=ue.error||null}}function ye(Se,ue){return{body:ue,headers:Se.headers,context:Se.context,observe:Se.observe,params:Se.params,reportProgress:Se.reportProgress,responseType:Se.responseType,withCredentials:Se.withCredentials}}let me=(()=>{class Se{constructor(ce){this.handler=ce}request(ce,qe,Ne={}){let Ge;if(ce instanceof sn)Ge=ce;else{let Gt,bt;Gt=Ne.headers instanceof B?Ne.headers:new B(Ne.headers),Ne.params&&(bt=Ne.params instanceof Pe?Ne.params:new Pe({fromObject:Ne.params})),Ge=new sn(ce,qe,void 0!==Ne.body?Ne.body:null,{headers:Gt,context:Ne.context,params:bt,reportProgress:Ne.reportProgress,responseType:Ne.responseType||"json",withCredentials:Ne.withCredentials})}const nt=(0,te.of)(Ge).pipe((0,W.b)(Gt=>this.handler.handle(Gt)));if(ce instanceof sn||"events"===Ne.observe)return nt;const En=nt.pipe((0,H.h)(Gt=>Gt instanceof Ke));switch(Ne.observe||"body"){case"body":switch(Ge.responseType){case"arraybuffer":return En.pipe((0,z.U)(Gt=>{if(null!==Gt.body&&!(Gt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Gt.body}));case"blob":return En.pipe((0,z.U)(Gt=>{if(null!==Gt.body&&!(Gt.body instanceof Blob))throw new Error("Response is not a Blob.");return Gt.body}));case"text":return En.pipe((0,z.U)(Gt=>{if(null!==Gt.body&&"string"!=typeof Gt.body)throw new Error("Response is not a string.");return Gt.body}));default:return En.pipe((0,z.U)(Gt=>Gt.body))}case"response":return En;default:throw new Error(`Unreachable: unhandled observe type ${Ne.observe}}`)}}delete(ce,qe={}){return this.request("DELETE",ce,qe)}get(ce,qe={}){return this.request("GET",ce,qe)}head(ce,qe={}){return this.request("HEAD",ce,qe)}jsonp(ce,qe){return this.request("JSONP",ce,{params:(new Pe).append(qe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ce,qe={}){return this.request("OPTIONS",ce,qe)}patch(ce,qe,Ne={}){return this.request("PATCH",ce,ye(Ne,qe))}post(ce,qe,Ne={}){return this.request("POST",ce,ye(Ne,qe))}put(ce,qe,Ne={}){return this.request("PUT",ce,ye(Ne,qe))}}return Se.\u0275fac=function(ce){return new(ce||Se)(S.LFG(F))},Se.\u0275prov=S.Yz7({token:Se,factory:Se.\u0275fac}),Se})();class vt{constructor(ue,ce){this.next=ue,this.interceptor=ce}handle(ue){return this.interceptor.intercept(ue,this.next)}}const gt=new S.OlP("HTTP_INTERCEPTORS");let Tt=(()=>{class Se{intercept(ce,qe){return qe.handle(ce)}}return Se.\u0275fac=function(ce){return new(ce||Se)},Se.\u0275prov=S.Yz7({token:Se,factory:Se.\u0275fac}),Se})();const Fn=/^\)\]\}',?\n/;let An=(()=>{class Se{constructor(ce){this.xhrFactory=ce}handle(ce){if("JSONP"===ce.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ie.y(qe=>{const Ne=this.xhrFactory.build();if(Ne.open(ce.method,ce.urlWithParams),ce.withCredentials&&(Ne.withCredentials=!0),ce.headers.forEach((Bt,wt)=>Ne.setRequestHeader(Bt,wt.join(","))),ce.headers.has("Accept")||Ne.setRequestHeader("Accept","application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const Bt=ce.detectContentTypeHeader();null!==Bt&&Ne.setRequestHeader("Content-Type",Bt)}if(ce.responseType){const Bt=ce.responseType.toLowerCase();Ne.responseType="json"!==Bt?Bt:"text"}const Ge=ce.serializeBody();let nt=null;const En=()=>{if(null!==nt)return nt;const Bt=Ne.statusText||"OK",wt=new B(Ne.getAllResponseHeaders()),rn=function pr(Se){return"responseURL"in Se&&Se.responseURL?Se.responseURL:/^X-Request-URL:/m.test(Se.getAllResponseHeaders())?Se.getResponseHeader("X-Request-URL"):null}(Ne)||ce.url;return nt=new Qe({headers:wt,status:Ne.status,statusText:Bt,url:rn}),nt},Gt=()=>{let{headers:Bt,status:wt,statusText:rn,url:Z}=En(),he=null;204!==wt&&(he=typeof Ne.response>"u"?Ne.responseText:Ne.response),0===wt&&(wt=he?200:0);let _e=wt>=200&&wt<300;if("json"===ce.responseType&&"string"==typeof he){const ve=he;he=he.replace(Fn,"");try{he=""!==he?JSON.parse(he):null}catch(ke){he=ve,_e&&(_e=!1,he={error:ke,text:he})}}_e?(qe.next(new Ke({body:he,headers:Bt,status:wt,statusText:rn,url:Z||void 0})),qe.complete()):qe.error(new X({error:he,headers:Bt,status:wt,statusText:rn,url:Z||void 0}))},bt=Bt=>{const{url:wt}=En(),rn=new X({error:Bt,status:Ne.status||0,statusText:Ne.statusText||"Unknown Error",url:wt||void 0});qe.error(rn)};let tr=!1;const Tn=Bt=>{tr||(qe.next(En()),tr=!0);let wt={type:$t.DownloadProgress,loaded:Bt.loaded};Bt.lengthComputable&&(wt.total=Bt.total),"text"===ce.responseType&&!!Ne.responseText&&(wt.partialText=Ne.responseText),qe.next(wt)},In=Bt=>{let wt={type:$t.UploadProgress,loaded:Bt.loaded};Bt.lengthComputable&&(wt.total=Bt.total),qe.next(wt)};return Ne.addEventListener("load",Gt),Ne.addEventListener("error",bt),Ne.addEventListener("timeout",bt),Ne.addEventListener("abort",bt),ce.reportProgress&&(Ne.addEventListener("progress",Tn),null!==Ge&&Ne.upload&&Ne.upload.addEventListener("progress",In)),Ne.send(Ge),qe.next({type:$t.Sent}),()=>{Ne.removeEventListener("error",bt),Ne.removeEventListener("abort",bt),Ne.removeEventListener("load",Gt),Ne.removeEventListener("timeout",bt),ce.reportProgress&&(Ne.removeEventListener("progress",Tn),null!==Ge&&Ne.upload&&Ne.upload.removeEventListener("progress",In)),Ne.readyState!==Ne.DONE&&Ne.abort()}})}}return Se.\u0275fac=function(ce){return new(ce||Se)(S.LFG(l.JF))},Se.\u0275prov=S.Yz7({token:Se,factory:Se.\u0275fac}),Se})();const ar=new S.OlP("XSRF_COOKIE_NAME"),Cn=new S.OlP("XSRF_HEADER_NAME");class Bn{}let wn=(()=>{class Se{constructor(ce,qe,Ne){this.doc=ce,this.platform=qe,this.cookieName=Ne,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ce=this.doc.cookie||"";return ce!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.Mx)(ce,this.cookieName),this.lastCookieString=ce),this.lastToken}}return Se.\u0275fac=function(ce){return new(ce||Se)(S.LFG(l.K0),S.LFG(S.Lbi),S.LFG(ar))},Se.\u0275prov=S.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),Zn=(()=>{class Se{constructor(ce,qe){this.tokenService=ce,this.headerName=qe}intercept(ce,qe){const Ne=ce.url.toLowerCase();if("GET"===ce.method||"HEAD"===ce.method||Ne.startsWith("http://")||Ne.startsWith("https://"))return qe.handle(ce);const Ge=this.tokenService.getToken();return null!==Ge&&!ce.headers.has(this.headerName)&&(ce=ce.clone({headers:ce.headers.set(this.headerName,Ge)})),qe.handle(ce)}}return Se.\u0275fac=function(ce){return new(ce||Se)(S.LFG(Bn),S.LFG(Cn))},Se.\u0275prov=S.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),er=(()=>{class Se{constructor(ce,qe){this.backend=ce,this.injector=qe,this.chain=null}handle(ce){if(null===this.chain){const qe=this.injector.get(gt,[]);this.chain=qe.reduceRight((Ne,Ge)=>new vt(Ne,Ge),this.backend)}return this.chain.handle(ce)}}return Se.\u0275fac=function(ce){return new(ce||Se)(S.LFG(U),S.LFG(S.zs3))},Se.\u0275prov=S.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),mn=(()=>{class Se{static disable(){return{ngModule:Se,providers:[{provide:Zn,useClass:Tt}]}}static withOptions(ce={}){return{ngModule:Se,providers:[ce.cookieName?{provide:ar,useValue:ce.cookieName}:[],ce.headerName?{provide:Cn,useValue:ce.headerName}:[]]}}}return Se.\u0275fac=function(ce){return new(ce||Se)},Se.\u0275mod=S.oAB({type:Se}),Se.\u0275inj=S.cJS({providers:[Zn,{provide:gt,useExisting:Zn,multi:!0},{provide:Bn,useClass:wn},{provide:ar,useValue:"XSRF-TOKEN"},{provide:Cn,useValue:"X-XSRF-TOKEN"}]}),Se})(),sr=(()=>{class Se{}return Se.\u0275fac=function(ce){return new(ce||Se)},Se.\u0275mod=S.oAB({type:Se}),Se.\u0275inj=S.cJS({providers:[me,{provide:F,useClass:er},An,{provide:U,useExisting:An}],imports:[[mn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Se})()},5062:(Ae,q,O)=>{"use strict";O.d(q,{deG:()=>Ju,tb:()=>Vg,AFp:()=>Fg,ip1:()=>Ng,CZH:()=>Tu,hGG:()=>Qw,z2F:()=>Fu,sBO:()=>Fw,Sil:()=>fw,_Vd:()=>Sl,EJc:()=>dw,SBq:()=>Fa,qLn:()=>nl,vpe:()=>oo,tBr:()=>ur,XFs:()=>Ot,OlP:()=>or,zs3:()=>to,ZZ4:()=>Hu,aQg:()=>Uu,soG:()=>Ou,YKP:()=>Yp,h0i:()=>Xs,PXZ:()=>Sw,R0b:()=>zi,FiY:()=>yr,Lbi:()=>lw,g9A:()=>Lg,Qsj:()=>ib,FYo:()=>Gp,JOm:()=>Xi,tp0:()=>Ei,Rgc:()=>Ba,dDg:()=>Hg,GfV:()=>zp,s_b:()=>Ol,ifc:()=>bt,eFA:()=>Gg,G48:()=>Nw,Gpc:()=>be,X6Q:()=>Rw,_c5:()=>Zw,VLi:()=>Ew,c2e:()=>cw,zSh:()=>Ic,wAp:()=>nn,vHH:()=>Xe,cg1:()=>iu,kL8:()=>pp,dqk:()=>wt,sIi:()=>Ta,CqO:()=>yf,QGY:()=>Kc,F4k:()=>_f,RDi:()=>I,AaK:()=>Y,qOj:()=>Lc,TTD:()=>Ir,_Bn:()=>Hp,xp6:()=>Kd,uIk:()=>jc,Tol:()=>jf,Gre:()=>np,ekj:()=>tu,Suo:()=>hg,Xpm:()=>Et,lG2:()=>ft,Yz7:()=>An,cJS:()=>Cn,oAB:()=>ge,Yjl:()=>It,Y36:()=>Oa,_UZ:()=>qc,GkF:()=>Yc,BQk:()=>yl,ynx:()=>_l,qZA:()=>ml,TgZ:()=>gl,EpF:()=>mf,n5z:()=>Be,LFG:()=>at,$8M:()=>On,$Z:()=>gf,NdJ:()=>Zc,CRH:()=>fg,oxw:()=>wf,ALo:()=>rg,lcZ:()=>ig,Hsn:()=>Df,F$t:()=>Ef,Q6J:()=>zc,s9C:()=>Jc,iGM:()=>ug,MAs:()=>nf,Jf7:()=>Ed,CHM:()=>ps,LSH:()=>ql,Udp:()=>eu,YNc:()=>tf,W1O:()=>_g,_uU:()=>qf,Oqu:()=>ru,hij:()=>Cl,Gf:()=>dg});var l=O(5529),S=O(2654),te=O(2916),ie=O(6787),W=O(1762);class z{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,i=this.subjectFactory(),o=r(i).subscribe(t);return o.add(n.subscribe(i)),o}}var F=O(4327);function U(){return new l.xQ}function j(e){for(let t in e)if(e[t]===j)return t;throw Error("Could not find renamed property on target object.")}function ae(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Y(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Y).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 Ee(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const de=j({__forward_ref__:j});function be(e){return e.__forward_ref__=be,e.toString=function(){return Y(this())},e}function Pe(e){return yt(e)?e():e}function yt(e){return"function"==typeof e&&e.hasOwnProperty(de)&&e.__forward_ref__===be}class Xe extends Error{constructor(t,n){super(function Ye(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function it(e){return"string"==typeof e?e:null==e?"":String(e)}function Wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():it(e)}function Qt(e,t){const n=t?` in ${t}`:"";throw new Xe(-201,`No provider for ${Wt(e)} found${n}`)}function Yt(e,t){null==e&&function Vt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function An(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Bn(e){return wn(e,Un)||wn(e,sr)}function wn(e,t){return e.hasOwnProperty(t)?e[t]:null}function lr(e){return e&&(e.hasOwnProperty(mn)||e.hasOwnProperty(vr))?e[mn]:null}const Un=j({\u0275prov:j}),mn=j({\u0275inj:j}),sr=j({ngInjectableDef:j}),vr=j({ngInjectorDef:j});var Ot=(()=>((Ot=Ot||{})[Ot.Default=0]="Default",Ot[Ot.Host=1]="Host",Ot[Ot.Self=2]="Self",Ot[Ot.SkipSelf=4]="SkipSelf",Ot[Ot.Optional=8]="Optional",Ot))();let Se;function ce(e){const t=Se;return Se=e,t}function qe(e,t,n){const r=Bn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ot.Optional?null:void 0!==t?t:void Qt(Y(e),"Injector")}function Ge(e){return{toString:e}.toString()}var nt=(()=>((nt=nt||{})[nt.OnPush=0]="OnPush",nt[nt.Default=1]="Default",nt))(),bt=(()=>{return(e=bt||(bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",bt;var e})();const tr=typeof globalThis<"u"&&globalThis,Tn=typeof window<"u"&&window,In=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,wt=tr||typeof global<"u"&&global||Tn||In,he={},_e=[],ve=j({\u0275cmp:j}),ke=j({\u0275dir:j}),Je=j({\u0275pipe:j}),st=j({\u0275mod:j}),ht=j({\u0275fac:j}),mt=j({__NG_ELEMENT_ID__:j});let Nt=0;function Et(e){return Ge(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===nt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||_e,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||bt.Emulated,id:"c",styles:e.styles||_e,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,o=e.features,c=e.pipes;return r.id+=Nt++,r.inputs=Fe(e.inputs,n),r.outputs=Fe(e.outputs),o&&o.forEach(f=>f(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(pe):null,r.pipeDefs=c?()=>("function"==typeof c?c():c).map(K):null,r})}function pe(e){return _t(e)||function an(e){return e[ke]||null}(e)}function K(e){return function kt(e){return e[Je]||null}(e)}const $={};function ge(e){return Ge(()=>{const t={type:e.type,bootstrap:e.bootstrap||_e,declarations:e.declarations||_e,imports:e.imports||_e,exports:e.exports||_e,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&($[e.id]=e.type),t})}function Fe(e,t){if(null==e)return he;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const ft=Et;function It(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function _t(e){return e[ve]||null}function en(e,t){const n=e[st]||null;if(!n&&!0===t)throw new Error(`Type ${Y(e)} does not have '\u0275mod' property.`);return n}const x=18,E=19,N=20;function dn(e){return Array.isArray(e)&&"object"==typeof e[1]}function hn(e){return Array.isArray(e)&&!0===e[1]}function Qn(e){return 0!=(8&e.flags)}function Pr(e){return 2==(2&e.flags)}function Rn(e){return 1==(1&e.flags)}function Kn(e){return null!==e.template}function Jn(e){return 0!=(512&e[2])}function ci(e,t){return e.hasOwnProperty(ht)?e[ht]:null}class Wr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ir(){return ti}function ti(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ai),xi}function xi(){const e=lo(this),t=e?.current;if(t){const n=e.previous;if(n===he)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ai(e,t,n,r){const i=lo(e)||function Ii(e,t){return e[Fr]=t}(e,{previous:he,current:null}),o=i.current||(i.current={}),c=i.previous,f=this.declaredInputs[n],m=c[f];o[f]=new Wr(m&&m.currentValue,t,c===he),e[r]=t}Ir.ngInherit=!0;const Fr="__ngSimpleChanges__";function lo(e){return e[Fr]||null}let C;function I(e){C=e}function ne(e){return!!e.listen}const Oe={createRenderer:(e,t)=>function b(){return void 0!==C?C:typeof document<"u"?document:void 0}()};function dt(e){for(;Array.isArray(e);)e=e[0];return e}function Ln(e,t){return dt(t[e])}function tn(e,t){return dt(t[e.index])}function yn(e,t){return e.data[t]}function Yn(e,t){return e[t]}function w(e,t){const n=t[e];return dn(n)?n:n[0]}function y(e){return 4==(4&e[2])}function _(e){return 128==(128&e[2])}function xe(e,t){return null==t?null:e[t]}function At(e){e[x]=0}function Gn(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Ft={lFrame:zo(null),bindingsEnabled:!0};function To(){return Ft.bindingsEnabled}function ze(){return Ft.lFrame.lView}function Pn(){return Ft.lFrame.tView}function ps(e){return Ft.lFrame.contextLView=e,e[8]}function rr(){let e=gs();for(;null!==e&&64===e.type;)e=e.parent;return e}function gs(){return Ft.lFrame.currentTNode}function br(e,t){const n=Ft.lFrame;n.currentTNode=e,n.isParent=t}function Lo(){return Ft.lFrame.isParent}function Vo(){Ft.lFrame.isParent=!1}function Fi(){return Ft.lFrame.bindingIndex++}function Hr(e){const t=Ft.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function vs(e,t){const n=Ft.lFrame;n.bindingIndex=n.bindingRootIndex=e,Bo(t)}function Bo(e){Ft.lFrame.currentDirectiveIndex=e}function Ho(){return Ft.lFrame.currentQueryIndex}function Uo(e){Ft.lFrame.currentQueryIndex=e}function ia(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function $o(e,t,n){if(n&Ot.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Ot.Host||(i=ia(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=Ft.lFrame=Go();return r.currentTNode=t,r.lView=e,!0}function mo(e){const t=Go(),n=e[1];Ft.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Go(){const e=Ft.lFrame,t=null===e?null:e.child;return null===t?zo(e):t}function zo(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 oa(){const e=Ft.lFrame;return Ft.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Cs=oa;function _o(){const e=oa();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 Sr(){return Ft.lFrame.selectedIndex}function Ci(e){Ft.lFrame.selectedIndex=e}function ir(){const e=Ft.lFrame;return yn(e.tView,e.selectedIndex)}function qo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:f,ngAfterViewInit:m,ngAfterViewChecked:P,ngOnDestroy:A}=o;c&&(e.contentHooks||(e.contentHooks=[])).push(-n,c),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),m&&(e.viewHooks||(e.viewHooks=[])).push(-n,m),P&&((e.viewHooks||(e.viewHooks=[])).push(n,P),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,P)),null!=A&&(e.destroyHooks||(e.destroyHooks=[])).push(n,A)}}function yo(e,t,n){ua(e,t,3,n)}function Oo(e,t,n,r){(3&e[2])===n&&ua(e,t,n,r)}function ws(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ua(e,t,n,r){const o=r??-1,c=t.length-1;let f=0;for(let m=void 0!==r?65535&e[x]:0;m<c;m++)if("number"==typeof t[m+1]){if(f=t[m],null!=r&&f>=r)break}else t[m]<0&&(e[x]+=65536),(f<o||-1==o)&&(Ga(e,n,t,m),e[x]=(4294901760&e[x])+m+2),m++}function Ga(e,t,n,r){const i=n[r]<0,o=n[r+1],f=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[x]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(f)}finally{}}}else try{o.call(f)}finally{}}class Zi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Qo(e,t,n){const r=ne(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const c=n[i++],f=n[i++],m=n[i++];r?e.setAttribute(t,f,m,c):t.setAttributeNS(c,f,m)}else{const c=o,f=n[++i];Jo(c)?r&&e.setProperty(t,c,f):r?e.setAttribute(t,c,f):t.setAttribute(c,f),i++}}return i}function fa(e){return 3===e||4===e||6===e}function Jo(e){return 64===e.charCodeAt(0)}function Xo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||es(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function es(e,t,n,r,i){let o=0,c=e.length;if(-1===t)c=-1;else for(;o<e.length;){const f=e[o++];if("number"==typeof f){if(f===t){c=-1;break}if(f>t){c=o-1;break}}}for(;o<e.length;){const f=e[o];if("number"==typeof f)break;if(f===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==c&&(e.splice(c,0,t),o=c+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function ts(e){return-1!==e}function Li(e){return 32767&e}function qr(e,t){let n=function Fl(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ns=!0;function xo(e){const t=ns;return ns=e,t}let za=0;function Co(e,t){const n=Ms(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ds(r.data,e),Ds(t,null),Ds(r.blueprint,null));const i=rs(e,t),o=e.injectorIndex;if(ts(i)){const c=Li(i),f=qr(i,t),m=f[1].data;for(let P=0;P<8;P++)t[o+P]=f[c+P]|m[c+P]}return t[o+8]=i,o}function Ds(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ms(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function rs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const o=i[1],c=o.type;if(r=2===c?o.declTNode:1===c?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function bo(e,t,n){!function Wa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(mt)&&(r=n[mt]),null==r&&(r=n[mt]=za++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Lr(e,t,n){if(n&Ot.Optional)return e;Qt(t,"NodeInjector")}function zn(e,t,n,r){if(n&Ot.Optional&&void 0===r&&(r=null),0==(n&(Ot.Self|Ot.Host))){const i=e[9],o=ce(void 0);try{return i?i.get(t,r,n&Ot.Optional):qe(t,r,n&Ot.Optional)}finally{ce(o)}}return Lr(r,t,n)}function ni(e,t,n,r=Ot.Default,i){if(null!==e){const o=function M(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(mt)?e[mt]:void 0;return"number"==typeof t?t>=0?255&t:g:t}(n);if("function"==typeof o){if(!$o(t,e,r))return r&Ot.Host?Lr(i,n,r):zn(t,n,r,i);try{const c=o(r);if(null!=c||r&Ot.Optional)return c;Qt(n)}finally{Cs()}}else if("number"==typeof o){let c=null,f=Ms(e,t),m=-1,P=r&Ot.Host?t[16][6]:null;for((-1===f||r&Ot.SkipSelf)&&(m=-1===f?rs(e,t):t[f+8],-1!==m&&Q(r,!1)?(c=t[1],f=Li(m),t=qr(m,t)):f=-1);-1!==f;){const A=t[1];if(k(o,f,A.data)){const G=d(f,t,n,c,r,P);if(G!==is)return G}m=t[f+8],-1!==m&&Q(r,t[1].data[f+8]===P)&&k(o,f,t)?(c=A,f=Li(m),t=qr(m,t)):f=-1}}}return zn(t,n,r,i)}const is={};function g(){return new se(rr(),ze())}function d(e,t,n,r,i,o){const c=t[1],f=c.data[e+8],A=u(f,c,n,null==r?Pr(f)&&ns:r!=c&&0!=(3&f.type),i&Ot.Host&&o===f);return null!==A?v(t,c,A,f):is}function u(e,t,n,r,i){const o=e.providerIndexes,c=t.data,f=1048575&o,m=e.directiveStart,A=o>>20,le=i?f+A:e.directiveEnd;for(let Ce=r?f:f+A;Ce<le;Ce++){const Le=c[Ce];if(Ce<m&&n===Le||Ce>=m&&Le.type===n)return Ce}if(i){const Ce=c[m];if(Ce&&Kn(Ce)&&Ce.type===n)return m}return null}function v(e,t,n,r){let i=e[n];const o=t.data;if(function da(e){return e instanceof Zi}(i)){const c=i;c.resolving&&function un(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Xe(-200,`Circular dependency in DI detected for ${e}${n}`)}(Wt(o[n]));const f=xo(c.canSeeViewProviders);c.resolving=!0;const m=c.injectImpl?ce(c.injectImpl):null;$o(e,r,Ot.Default);try{i=e[n]=c.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function $a(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const c=ti(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,c)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==m&&ce(m),xo(f),c.resolving=!1,Cs()}}return i}function k(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Q(e,t){return!(e&Ot.Self||e&Ot.Host&&t)}class se{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ni(this._tNode,this._lView,t,r,n)}}function Be(e){return Ge(()=>{const t=e.prototype.constructor,n=t[ht]||Pt(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ht]||Pt(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pt(e){return yt(e)?()=>{const t=Pt(Pe(e));return t&&t()}:ci(e)}function On(e){return function qa(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(fa(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(rr(),e)}const Nn="__parameters__";function bi(e,t,n){return Ge(()=>{const r=function Vi(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const c=new i(...o);return f.annotation=c,f;function f(m,P,A){const G=m.hasOwnProperty(Nn)?m[Nn]:Object.defineProperty(m,Nn,{value:[]})[Nn];for(;G.length<=A;)G.push(null);return(G[A]=G[A]||[]).push(c),m}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class or{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=An({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Ju=new or("AnalyzeForEntryComponents");function ri(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),ri(r,t)):t!==e&&t.push(r)}return t}function wi(e,t){e.forEach(n=>Array.isArray(n)?wi(n,t):t(n))}function Ka(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ma(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ps(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ii(e,t,n){let r=os(e,t);return r>=0?e[1|r]=n:(r=~r,function ed(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Za(e,t){const n=os(e,t);if(n>=0)return e[1|n]}function os(e,t){return function jl(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),c=e[o<<n];if(t===c)return o<<n;c>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const Os={},h="__NG_DI_FLAG__",a="ngTempTokenPath",p=/\n/gm,V="__source",J=j({provide:String,useValue:j});let ee;function De(e){const t=ee;return ee=e,t}function Ve(e,t=Ot.Default){if(void 0===ee)throw new Xe(203,"");return null===ee?qe(e,void 0,t):ee.get(e,t&Ot.Optional?null:void 0,t)}function at(e,t=Ot.Default){return(function ue(){return Se}()||Ve)(Pe(e),t)}const pn=at;function Dn(e){const t=[];for(let n=0;n<e.length;n++){const r=Pe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Xe(900,"");let i,o=Ot.Default;for(let c=0;c<r.length;c++){const f=r[c],m=bn(f);"number"==typeof m?-1===m?i=f.token:o|=m:i=f}t.push(at(i,o))}else t.push(at(r))}return t}function zt(e,t){return e[h]=t,e.prototype[h]=t,e}function bn(e){return e[h]}const ur=zt(bi("Inject",e=>({token:e})),-1),yr=zt(bi("Optional"),8),Ei=zt(bi("SkipSelf"),4);class ld{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function No(e){return e instanceof ld?e.changingThisBreaksApplicationSecurity:e}const Mm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Sm=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var Dr=(()=>((Dr=Dr||{})[Dr.NONE=0]="NONE",Dr[Dr.HTML=1]="HTML",Dr[Dr.STYLE=2]="STYLE",Dr[Dr.SCRIPT=3]="SCRIPT",Dr[Dr.URL=4]="URL",Dr[Dr.RESOURCE_URL=5]="RESOURCE_URL",Dr))();function ql(e){const t=function Ca(){const e=ze();return e&&e[12]}();return t?t.sanitize(Dr.URL,e)||"":function ya(e,t){const n=function bm(e){return e instanceof ld&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?No(e):function el(e){return(e=String(e)).match(Mm)||e.match(Sm)?e:"unsafe:"+e}(it(e))}const yd="__ngContext__";function Ur(e,t){e[yd]=t}function Kl(e){const t=function ba(e){return e[yd]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ql(e){return e.ngOriginalError}function Km(e,...t){e.error(...t)}class nl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Ym(e){return e&&e.ngErrorLogger||Km}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ql(t);for(;n&&Ql(n);)n=Ql(n);return n||null}}const o_=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(wt))();function Ed(e){return e.ownerDocument.defaultView}function Ji(e){return e instanceof Function?e():e}var Xi=(()=>((Xi=Xi||{})[Xi.Important=1]="Important",Xi[Xi.DashCase=2]="DashCase",Xi))();function Xl(e,t){return undefined(e,t)}function wa(e){const t=e[3];return hn(t)?t[3]:t}function ec(e){return Pd(e[13])}function tc(e){return Pd(e[4])}function Pd(e){for(;null!==e&&!hn(e);)e=e[4];return e}function Is(e,t,n,r,i){if(null!=r){let o,c=!1;hn(r)?o=r:dn(r)&&(c=!0,r=r[0]);const f=dt(r);0===e&&null!==n?null==i?Nd(t,n,f):as(t,n,f,i||null,!0):1===e&&null!==n?as(t,n,f,i||null,!0):2===e?function Hd(e,t,n){const r=rl(e,t);r&&function y_(e,t,n,r){ne(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,f,c):3===e&&t.destroyNode(f),null!=o&&function b_(e,t,n,r,i){const o=n[7];o!==dt(n)&&Is(t,e,r,o,i);for(let f=10;f<n.length;f++){const m=n[f];Ea(m[1],m,e,t,r,o)}}(t,e,o,n,i)}}function rc(e,t,n){if(ne(e))return e.createElement(t,n);{const r=null!==n?function Yi(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function xd(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Gn(i,-1)),n.splice(r,1)}function ic(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&xd(i,r),t>0&&(e[n-1][4]=r[4]);const o=ma(e,10+t);!function u_(e,t){Ea(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const c=o[E];null!==c&&c.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Ad(e,t){if(!(256&t[2])){const n=t[11];ne(n)&&n.destroyNode&&Ea(e,t,n,3,null,null),function f_(e){let t=e[13];if(!t)return oc(e[1],e);for(;t;){let n=null;if(dn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)dn(t)&&oc(t[1],t),t=t[3];null===t&&(t=e),dn(t)&&oc(t[1],t),n=t&&t[4]}t=n}}(t)}}function oc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function __(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Zi)){const o=n[r+1];if(Array.isArray(o))for(let c=0;c<o.length;c+=2){const f=i[o[c]],m=o[c+1];try{m.call(f)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function m_(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const c=n[o+1],f="function"==typeof c?c(t):dt(t[c]),m=r[i=n[o+2]],P=n[o+3];"boolean"==typeof P?f.removeEventListener(n[o],m,P):P>=0?r[i=P]():r[i=-P].unsubscribe(),o+=2}else{const c=r[i=n[o+1]];n[o].call(c)}if(null!==r){for(let o=i+1;o<r.length;o++)r[o]();t[7]=null}}(e,t),1===t[1].type&&ne(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&hn(t[3])){n!==t[3]&&xd(n,t);const r=t[E];null!==r&&r.detachView(e)}}}function Id(e,t,n){return function Rd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===bt.None||i===bt.Emulated)return null}return tn(r,n)}(e,t.parent,n)}function as(e,t,n,r,i){ne(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Nd(e,t,n){ne(e)?e.appendChild(t,n):t.appendChild(n)}function Fd(e,t,n,r,i){null!==r?as(e,t,n,r,i):Nd(e,t,n)}function rl(e,t){return ne(e)?e.parentNode(t):t.parentNode}function kd(e,t,n){return Vd(e,t,n)}let Vd=function Ld(e,t,n){return 40&e.type?tn(e,n):null};function il(e,t,n,r){const i=Id(e,r,t),o=t[11],f=kd(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let m=0;m<n.length;m++)Fd(o,i,n[m],f,!1);else Fd(o,i,n,f,!1)}function ol(e,t){if(null!==t){const n=t.type;if(3&n)return tn(t,e);if(4&n)return ac(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ol(e,r);{const i=e[t.index];return hn(i)?ac(-1,i):dt(i)}}if(32&n)return Xl(t,e)()||dt(e[t.index]);{const r=jd(e,t);return null!==r?Array.isArray(r)?r[0]:ol(wa(e[16]),r):ol(e,t.next)}}return null}function jd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ac(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return ol(r,i)}return t[7]}function lc(e,t,n,r,i,o,c){for(;null!=n;){const f=r[n.index],m=n.type;if(c&&0===t&&(f&&Ur(dt(f),r),n.flags|=4),64!=(64&n.flags))if(8&m)lc(e,t,n.child,r,i,o,!1),Is(t,e,i,f,o);else if(32&m){const P=Xl(n,r);let A;for(;A=P();)Is(t,e,i,A,o);Is(t,e,i,f,o)}else 16&m?Ud(e,t,r,n,i,o):Is(t,e,i,f,o);n=c?n.projectionNext:n.next}}function Ea(e,t,n,r,i,o){lc(n,r,e.firstChild,t,i,o,!1)}function Ud(e,t,n,r,i,o){const c=n[16],m=c[6].projection[r.projection];if(Array.isArray(m))for(let P=0;P<m.length;P++)Is(t,e,i,m[P],o);else lc(e,t,m,c[3],i,o,!0)}function $d(e,t,n){ne(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function cc(e,t,n){ne(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Gd(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const zd="ng-template";function E_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Gd(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Wd(e){return 4===e.type&&e.value!==zd}function D_(e,t,n){return t===(4!==e.type||n?e.value:zd)}function M_(e,t,n){let r=4;const i=e.attrs||[],o=function P_(e){for(let t=0;t<e.length;t++)if(fa(e[t]))return t;return e.length}(i);let c=!1;for(let f=0;f<t.length;f++){const m=t[f];if("number"!=typeof m){if(!c)if(4&r){if(r=2|1&r,""!==m&&!D_(e,m,n)||""===m&&1===t.length){if(ji(r))return!1;c=!0}}else{const P=8&r?m:t[++f];if(8&r&&null!==e.attrs){if(!E_(e.attrs,P,n)){if(ji(r))return!1;c=!0}continue}const G=S_(8&r?"class":m,i,Wd(e),n);if(-1===G){if(ji(r))return!1;c=!0;continue}if(""!==P){let le;le=G>o?"":i[G+1].toLowerCase();const Ce=8&r?le:null;if(Ce&&-1!==Gd(Ce,P,0)||2&r&&P!==le){if(ji(r))return!1;c=!0}}}}else{if(!c&&!ji(r)&&!ji(m))return!1;if(c&&ji(m))continue;c=!1,r=m|1&r}}return ji(r)||c}function ji(e){return 0==(1&e)}function S_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const c=t[i];if(c===e)return i;if(3===c||6===c)o=!0;else{if(1===c||2===c){let f=t[++i];for(;"string"==typeof f;)f=t[++i];continue}if(4===c)break;if(0===c){i+=4;continue}}i+=o?1:2}return-1}return function O_(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function qd(e,t,n=!1){for(let r=0;r<t.length;r++)if(M_(e,t[r],n))return!0;return!1}function x_(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Yd(e,t){return e?":not("+t.trim()+")":t}function A_(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const f=e[++n];i+="["+c+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!ji(c)&&(t+=Yd(o,i),i=""),r=c,o=o||!ji(r);n++}return""!==i&&(t+=Yd(o,i)),t}const vn={};function Kd(e){Zd(Pn(),ze(),Sr()+e,!1)}function Zd(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&yo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Oo(t,o,0,n)}Ci(n)}function sl(e,t){return e<<17|t<<2}function Hi(e){return e>>17&32767}function uc(e){return 2|e}function Mo(e){return(131068&e)>>2}function dc(e,t){return-131069&e|t<<2}function hc(e){return 1|e}function ah(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const c=e.data[o];Uo(i),c.contentQueries(2,t[o],o)}}}function Da(e,t,n,r,i,o,c,f,m,P){const A=t.blueprint.slice();return A[0]=i,A[2]=140|r,At(A),A[3]=A[15]=e,A[8]=n,A[10]=c||e&&e[10],A[11]=f||e&&e[11],A[12]=m||e&&e[12]||null,A[9]=P||e&&e[9]||null,A[6]=o,A[16]=2==t.type?e[16]:A,A}function Rs(e,t,n,r,i){let o=e.data[t];if(null===o)o=function bc(e,t,n,r,i){const o=gs(),c=Lo(),m=e.data[t]=function K_(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=m),null!==o&&(c?null==o.child&&null!==m.parent&&(o.child=m):null===o.next&&(o.next=m)),m}(e,t,n,r,i),function _s(){return Ft.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const c=function Ni(){const e=Ft.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===c?-1:c.injectorIndex}return br(o,!0),o}function Ns(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Ma(e,t,n){mo(t);try{const r=e.viewQuery;null!==r&&xc(1,r,n);const i=e.template;null!==i&&lh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ah(e,t),e.staticViewQueries&&xc(2,e.viewQuery,n);const o=e.components;null!==o&&function W_(e,t){for(let n=0;n<t.length;n++)fy(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,_o()}}function Fs(e,t,n,r){const i=t[2];if(256!=(256&i)){mo(t);try{At(t),function ms(e){return Ft.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&lh(e,t,n,2,r);const c=3==(3&i);if(c){const P=e.preOrderCheckHooks;null!==P&&yo(t,P,null)}else{const P=e.preOrderHooks;null!==P&&Oo(t,P,0,null),ws(t,0)}if(function dy(e){for(let t=ec(e);null!==t;t=tc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(1024&i[2])&&Gn(o,1),i[2]|=1024}}}(t),function uy(e){for(let t=ec(e);null!==t;t=tc(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];_(r)&&Fs(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&ah(e,t),c){const P=e.contentCheckHooks;null!==P&&yo(t,P)}else{const P=e.contentHooks;null!==P&&Oo(t,P,1),ws(t,1)}!function G_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Ci(~i);else{const o=i,c=n[++r],f=n[++r];vs(c,o),f(2,t[o])}}}finally{Ci(-1)}}(e,t);const f=e.components;null!==f&&function z_(e,t){for(let n=0;n<t.length;n++)hy(e,t[n])}(t,f);const m=e.viewQuery;if(null!==m&&xc(2,m,r),c){const P=e.viewCheckHooks;null!==P&&yo(t,P)}else{const P=e.viewHooks;null!==P&&Oo(t,P,2),ws(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,Gn(t[3],-1))}finally{_o()}}}function q_(e,t,n,r){const i=t[10],c=y(t);try{!c&&i.begin&&i.begin(),c&&Ma(e,t,r),Fs(e,t,n,r)}finally{!c&&i.end&&i.end()}}function lh(e,t,n,r,i){const o=Sr(),c=2&r;try{Ci(-1),c&&t.length>N&&Zd(e,t,N,!1),n(r,i)}finally{Ci(o)}}function ch(e,t,n){if(Qn(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const c=e.data[o];c.contentQueries&&c.contentQueries(1,n[o],o)}}}function wc(e,t,n){!To()||(function ny(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Co(n,t),Ur(r,t);const c=n.initialInputs;for(let f=i;f<o;f++){const m=e.data[f],P=Kn(m);P&&ay(t,n,m);const A=v(t,e,f,n);Ur(A,t),null!==c&&ly(0,f-i,A,m,0,c),P&&(w(n.index,t)[8]=A)}}(e,t,n,tn(n,t)),128==(128&n.flags)&&function ry(e,t,n){const r=n.directiveStart,i=n.directiveEnd,c=n.index,f=function ra(){return Ft.lFrame.currentDirectiveIndex}();try{Ci(c);for(let m=r;m<i;m++){const P=e.data[m],A=t[m];Bo(m),(null!==P.hostBindings||0!==P.hostVars||null!==P.hostAttrs)&&_h(P,A)}}finally{Ci(-1),Bo(f)}}(e,t,n))}function Ec(e,t,n=tn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const c=r[o+1],f=-1===c?n(t,e):e[c];e[i++]=f}}}function uh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=cl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function cl(e,t,n,r,i,o,c,f,m,P){const A=N+r,G=A+i,le=function Y_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:vn);return n}(A,G),Ce="function"==typeof P?P():P;return le[1]={type:e,blueprint:le,template:n,queries:null,viewQuery:f,declTNode:t,data:le.slice().fill(null,A),bindingStartIndex:A,expandoStartIndex:G,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:m,consts:Ce,incompleteFirstPass:!1}}function fh(e,t,n,r){const i=Eh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Dh(e).push(r,i.length-1))}function ph(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function pi(e,t,n,r,i,o,c,f){const m=tn(t,n);let A,P=t.inputs;!f&&null!=P&&(A=P[r])?(Th(e,n,A,r,i),Pr(t)&&function J_(e,t){const n=w(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function Q_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=c?c(i,t.value||"",r):i,ne(o)?o.setProperty(m,r,i):Jo(r)||(m.setProperty?m.setProperty(r,i):m[r]=i))}function Dc(e,t,n,r){let i=!1;if(To()){const o=function iy(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const c=r[o];qd(n,c.selectors,!1)&&(i||(i=[]),bo(Co(n,t),e,c.type),Kn(c)?(yh(e,n),i.unshift(c)):i.push(c))}return i}(e,t,n),c=null===r?null:{"":-1};if(null!==o){i=!0,vh(n,e.data.length,o.length);for(let A=0;A<o.length;A++){const G=o[A];G.providersResolver&&G.providersResolver(G)}let f=!1,m=!1,P=Ns(e,t,o.length,null);for(let A=0;A<o.length;A++){const G=o[A];n.mergedAttrs=Xo(n.mergedAttrs,G.hostAttrs),Ch(e,n,t,P,G),sy(P,G,c),null!==G.contentQueries&&(n.flags|=8),(null!==G.hostBindings||null!==G.hostAttrs||0!==G.hostVars)&&(n.flags|=128);const le=G.type.prototype;!f&&(le.ngOnChanges||le.ngOnInit||le.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!m&&(le.ngOnChanges||le.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),m=!0),P++}!function Z_(e,t){const r=t.directiveEnd,i=e.data,o=t.attrs,c=[];let f=null,m=null;for(let P=t.directiveStart;P<r;P++){const A=i[P],G=A.inputs,le=null===o||Wd(t)?null:cy(G,o);c.push(le),f=ph(G,P,f),m=ph(A.outputs,P,m)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=c,t.inputs=f,t.outputs=m}(e,n)}c&&function oy(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new Xe(-301,!1);r.push(t[i],o)}}}(n,r,c)}return n.mergedAttrs=Xo(n.mergedAttrs,n.attrs),i}function mh(e,t,n,r,i,o){const c=o.hostBindings;if(c){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const m=~t.index;(function ty(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=m&&f.push(m),f.push(r,i,c)}}function _h(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function yh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function sy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Kn(t)&&(n[""]=e)}}function vh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ch(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=ci(i.type)),c=new Zi(o,Kn(i),null);e.blueprint[r]=c,n[r]=c,mh(e,t,0,r,Ns(e,n,i.hostVars,vn),i)}function ay(e,t,n){const r=tn(t,e),i=uh(n),o=e[10],c=ul(e,Da(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=c}function eo(e,t,n,r,i,o){const c=tn(e,t);!function Mc(e,t,n,r,i,o,c){if(null==o)ne(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const f=null==c?it(o):c(o,r||"",i);ne(e)?e.setAttribute(t,i,f,n):n?t.setAttributeNS(n,i,f):t.setAttribute(i,f)}}(t[11],c,o,e.value,n,r,i)}function ly(e,t,n,r,i,o){const c=o[t];if(null!==c){const f=r.setInput;for(let m=0;m<c.length;){const P=c[m++],A=c[m++],G=c[m++];null!==f?r.setInput(n,G,P,A):n[A]=G}}}function cy(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function bh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function hy(e,t){const n=w(t,e);if(_(n)){const r=n[1];80&n[2]?Fs(r,n,r.template,n[8]):n[5]>0&&Sc(n)}}function Sc(e){for(let r=ec(e);null!==r;r=tc(r))for(let i=10;i<r.length;i++){const o=r[i];if(1024&o[2]){const c=o[1];Fs(c,o,c.template,o[8])}else o[5]>0&&Sc(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=w(n[r],e);_(i)&&i[5]>0&&Sc(i)}}function fy(e,t){const n=w(t,e),r=n[1];(function py(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ma(r,n,n[8])}function ul(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Tc(e){for(;e;){e[2]|=64;const t=wa(e);if(Jn(e)&&!t)return e;e=t}return null}function wh(e){!function Pc(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Kl(n),i=r[1];q_(i,r,i.template,n)}}(e[8])}function xc(e,t,n){Uo(0),t(e,n)}const my=(()=>Promise.resolve(null))();function Eh(e){return e[7]||(e[7]=[])}function Dh(e){return e.cleanup||(e.cleanup=[])}function Sh(e,t){const n=e[9],r=n?n.get(nl,null):null;r&&r.handleError(t)}function Th(e,t,n,r,i){for(let o=0;o<n.length;){const c=n[o++],f=n[o++],m=t[c],P=e.data[c];null!==P.setInput?P.setInput(m,i,r,f):m[f]=i}}function So(e,t,n){const r=Ln(t,e);!function Od(e,t,n){ne(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function dl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let c=0;c<t.length;c++){const f=t[c];"number"==typeof f?o=f:1==o?i=Ee(i,f):2==o&&(r=Ee(r,f+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Ac=new or("INJECTOR",-1);class Ph{get(t,n=Os){if(n===Os){const r=new Error(`NullInjectorError: No provider for ${Y(t)}!`);throw r.name="NullInjectorError",r}return n}}const Ic=new or("Set Injector scope."),Sa={},vy={};let Rc;function Oh(){return void 0===Rc&&(Rc=new Ph),Rc}function xh(e,t=null,n=null,r){const i=Ah(e,t,n,r);return i._resolveInjectorDefTypes(),i}function Ah(e,t=null,n=null,r){return new Cy(e,n,t||Oh(),r)}class Cy{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];n&&wi(n,f=>this.processProvider(f,t,n)),wi([t],f=>this.processInjectorType(f,[],o)),this.records.set(Ac,ks(void 0,this));const c=this.records.get(Ic);this.scope=null!=c?c.value:null,this.source=i||("object"==typeof t?null:Y(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Os,r=Ot.Default){this.assertNotDestroyed();const i=De(this),o=ce(void 0);try{if(!(r&Ot.SkipSelf)){let f=this.records.get(t);if(void 0===f){const m=function Py(e){return"function"==typeof e||"object"==typeof e&&e instanceof or}(t)&&Bn(t);f=m&&this.injectableDefInScope(m)?ks(Nc(t),Sa):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&Ot.Self?Oh():this.parent).get(t,n=r&Ot.Optional&&n===Os?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[a]=c[a]||[]).unshift(Y(t)),i)throw c;return function Wn(e,t,n,r){const i=e[a];throw t[V]&&i.unshift(t[V]),e.message=function _r(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=Y(t);if(Array.isArray(t))i=t.map(Y).join(" -> ");else if("object"==typeof t){let o=[];for(let c in t)if(t.hasOwnProperty(c)){let f=t[c];o.push(c+":"+("string"==typeof f?JSON.stringify(f):Y(f)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(p,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[a]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{ce(o),De(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(Y(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Xe(205,!1)}processInjectorType(t,n,r){if(!(t=Pe(t)))return!1;let i=lr(t);const o=null==i&&t.ngModule||void 0,c=void 0===o?t:o,f=-1!==r.indexOf(c);if(void 0!==o&&(i=lr(o)),null==i)return!1;if(null!=i.imports&&!f){let A;r.push(c);try{wi(i.imports,G=>{this.processInjectorType(G,n,r)&&(void 0===A&&(A=[]),A.push(G))})}finally{}if(void 0!==A)for(let G=0;G<A.length;G++){const{ngModule:le,providers:Ce}=A[G];wi(Ce,Le=>this.processProvider(Le,le,Ce||_e))}}this.injectorDefTypes.add(c);const m=ci(c)||(()=>new c);this.records.set(c,ks(m,Sa));const P=i.providers;if(null!=P&&!f){const A=t;wi(P,G=>this.processProvider(G,A,P))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,r){let i=Ls(t=Pe(t))?t:Pe(t&&t.provide);const o=function wy(e,t,n){return Rh(e)?ks(void 0,e.useValue):ks(Ih(e),Sa)}(t);if(Ls(t)||!0!==t.multi)this.records.get(i);else{let c=this.records.get(i);c||(c=ks(void 0,Sa,!0),c.factory=()=>Dn(c.multi),this.records.set(i,c)),i=t,c.multi.push(t)}this.records.set(i,o)}hydrate(t,n){return n.value===Sa&&(n.value=vy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ty(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Pe(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Nc(e){const t=Bn(e),n=null!==t?t.factory:ci(e);if(null!==n)return n;if(e instanceof or)throw new Xe(204,!1);if(e instanceof Function)return function by(e){const t=e.length;if(t>0)throw Ps(t,"?"),new Xe(204,!1);const n=function Zn(e){const t=e&&(e[Un]||e[sr]);if(t){const n=function er(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 Xe(204,!1)}function Ih(e,t,n){let r;if(Ls(e)){const i=Pe(e);return ci(i)||Nc(i)}if(Rh(e))r=()=>Pe(e.useValue);else if(function Dy(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Dn(e.deps||[]));else if(function Ey(e){return!(!e||!e.useExisting)}(e))r=()=>at(Pe(e.useExisting));else{const i=Pe(e&&(e.useClass||e.provide));if(!function Sy(e){return!!e.deps}(e))return ci(i)||Nc(i);r=()=>new i(...Dn(e.deps))}return r}function ks(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Rh(e){return null!==e&&"object"==typeof e&&J in e}function Ls(e){return"function"==typeof e}let to=(()=>{class e{static create(n,r){if(Array.isArray(n))return xh({name:""},r,n,"");{const i=n.name??"";return xh({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Os,e.NULL=new Ph,e.\u0275prov=An({token:e,providedIn:"any",factory:()=>at(Ac)}),e.__NG_ELEMENT_ID__=-1,e})();function ky(e,t){qo(Kl(e)[1],rr())}function Lc(e){let t=function zh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Kn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Xe(903,"");i=t.\u0275dir}if(i){if(n){r.push(i);const c=e;c.inputs=Vc(e.inputs),c.declaredInputs=Vc(e.declaredInputs),c.outputs=Vc(e.outputs);const f=i.hostBindings;f&&jy(e,f);const m=i.viewQuery,P=i.contentQueries;if(m&&Vy(e,m),P&&By(e,P),ae(e.inputs,i.inputs),ae(e.declaredInputs,i.declaredInputs),ae(e.outputs,i.outputs),Kn(i)&&i.data.animation){const A=e.data;A.animation=(A.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let c=0;c<o.length;c++){const f=o[c];f&&f.ngInherit&&f(e),f===Lc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Ly(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Xo(i.hostAttrs,n=Xo(n,i.hostAttrs))}}(r)}function Vc(e){return e===he?{}:e===_e?[]:e}function Vy(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function By(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function jy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let hl=null;function Vs(){if(!hl){const e=wt.Symbol;if(e&&e.iterator)hl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(hl=r)}}}return hl}function Ta(e){return!!Bc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Vs()in e)}function Bc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $r(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function jc(e,t,n,r){const i=ze();return $r(i,Fi(),t)&&(Pn(),eo(ir(),i,e,t,n,r)),jc}function js(e,t,n,r){return $r(e,Fi(),n)?t+it(n)+r:vn}function tf(e,t,n,r,i,o,c,f){const m=ze(),P=Pn(),A=e+N,G=P.firstCreatePass?function qy(e,t,n,r,i,o,c,f,m){const P=t.consts,A=Rs(t,e,4,c||null,xe(P,f));Dc(t,n,A,xe(P,m)),qo(t,A);const G=A.tViews=cl(2,A,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,P);return null!==t.queries&&(t.queries.template(t,A),G.queries=t.queries.embeddedTView(A)),A}(A,P,m,t,n,r,i,o,c):P.data[A];br(G,!1);const le=m[11].createComment("");il(P,m,le,G),Ur(le,m),ul(m,m[A]=bh(le,m,le,G)),Rn(G)&&wc(P,m,G),null!=c&&Ec(m,G,f)}function nf(e){return Yn(function na(){return Ft.lFrame.contextLView}(),N+e)}function Oa(e,t=Ot.Default){const n=ze();return null===n?at(e,t):ni(rr(),n,Pe(e),t)}function gf(){throw new Error("invalid")}function zc(e,t,n){const r=ze();return $r(r,Fi(),t)&&pi(Pn(),ir(),r,e,t,r[11],n,!1),zc}function Wc(e,t,n,r,i){const c=i?"class":"style";Th(e,n,t.inputs[c],c,r)}function gl(e,t,n,r){const i=ze(),o=Pn(),c=N+e,f=i[11],m=i[c]=rc(f,t,function Ua(){return Ft.lFrame.currentNamespace}()),P=o.firstCreatePass?function pv(e,t,n,r,i,o,c){const f=t.consts,P=Rs(t,e,2,i,xe(f,o));return Dc(t,n,P,xe(f,c)),null!==P.attrs&&dl(P,P.attrs,!1),null!==P.mergedAttrs&&dl(P,P.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,P),P}(c,o,i,0,t,n,r):o.data[c];br(P,!0);const A=P.mergedAttrs;null!==A&&Qo(f,m,A);const G=P.classes;null!==G&&cc(f,m,G);const le=P.styles;return null!==le&&$d(f,m,le),64!=(64&P.flags)&&il(o,i,m,P),0===function Ri(){return Ft.lFrame.elementDepthCount}()&&Ur(m,i),function hs(){Ft.lFrame.elementDepthCount++}(),Rn(P)&&(wc(o,i,P),ch(o,P,i)),null!==r&&Ec(i,P),gl}function ml(){let e=rr();Lo()?Vo():(e=e.parent,br(e,!1));const t=e;!function Ki(){Ft.lFrame.elementDepthCount--}();const n=Pn();return n.firstCreatePass&&(qo(n,e),Qn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Es(e){return 0!=(16&e.flags)}(t)&&Wc(n,t,ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ko(e){return 0!=(32&e.flags)}(t)&&Wc(n,t,ze(),t.stylesWithoutHost,!1),ml}function qc(e,t,n,r){return gl(e,t,n,r),ml(),qc}function _l(e,t,n){const r=ze(),i=Pn(),o=e+N,c=i.firstCreatePass?function gv(e,t,n,r,i){const o=t.consts,c=xe(o,r),f=Rs(t,e,8,"ng-container",c);return null!==c&&dl(f,c,!0),Dc(t,n,f,xe(o,i)),null!==t.queries&&t.queries.elementStart(t,f),f}(o,i,r,t,n):i.data[o];br(c,!0);const f=r[o]=r[11].createComment("");return il(i,r,f,c),Ur(f,r),Rn(c)&&(wc(i,r,c),ch(i,c,r)),null!=n&&Ec(r,c),_l}function yl(){let e=rr();const t=Pn();return Lo()?Vo():(e=e.parent,br(e,!1)),t.firstCreatePass&&(qo(t,e),Qn(e)&&t.queries.elementEnd(e)),yl}function Yc(e,t,n){return _l(e,t,n),yl(),Yc}function mf(){return ze()}function Kc(e){return!!e&&"function"==typeof e.then}function _f(e){return!!e&&"function"==typeof e.subscribe}const yf=_f;function Zc(e,t,n,r){const i=ze(),o=Pn(),c=rr();return function Cf(e,t,n,r,i,o,c,f){const m=Rn(r),A=e.firstCreatePass&&Dh(e),G=t[8],le=Eh(t);let Ce=!0;if(3&r.type||f){const pt=tn(r,t),Rt=f?f(pt):pt,We=le.length,Kt=f?xn=>f(dt(xn[r.index])):r.index;if(ne(n)){let xn=null;if(!f&&m&&(xn=function mv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const c=i[o];if(c===n&&i[o+1]===r){const f=t[7],m=i[o+2];return f.length>m?f[m]:null}"string"==typeof c&&(o+=2)}return null}(e,t,i,r.index)),null!==xn)(xn.__ngLastListenerFn__||xn).__ngNextListenerFn__=o,xn.__ngLastListenerFn__=o,Ce=!1;else{o=Qc(r,t,G,o,!1);const qn=n.listen(Rt,i,o);le.push(o,qn),A&&A.push(i,Kt,We,We+1)}}else o=Qc(r,t,G,o,!0),Rt.addEventListener(i,o,c),le.push(o),A&&A.push(i,Kt,We,c)}else o=Qc(r,t,G,o,!1);const Le=r.outputs;let rt;if(Ce&&null!==Le&&(rt=Le[i])){const pt=rt.length;if(pt)for(let Rt=0;Rt<pt;Rt+=2){const gi=t[rt[Rt]][rt[Rt+1]].subscribe(o),ds=le.length;le.push(o,gi),A&&A.push(i,r.index,ds,-(ds+1))}}}(o,i,i[11],c,e,t,!!n,r),Zc}function bf(e,t,n,r){try{return!1!==n(r)}catch(i){return Sh(e,i),!1}}function Qc(e,t,n,r,i){return function o(c){if(c===Function)return r;const f=2&e.flags?w(e.index,t):t;0==(32&t[2])&&Tc(f);let m=bf(t,0,r,c),P=o.__ngNextListenerFn__;for(;P;)m=bf(t,0,P,c)&&m,P=P.__ngNextListenerFn__;return i&&!1===m&&(c.preventDefault(),c.returnValue=!1),m}}function wf(e=1){return function sa(e){return(Ft.lFrame.contextLView=function aa(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ft.lFrame.contextLView))[8]}(e)}function _v(e,t){let n=null;const r=function T_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?qd(e,o,!0):x_(r,o))return i}else n=i}return n}function Ef(e){const t=ze()[16][6];if(!t.projection){const r=t.projection=Ps(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const c=e?_v(o,e):0;null!==c&&(i[c]?i[c].projectionNext=o:r[c]=o,i[c]=o),o=o.next}}}function Df(e,t=0,n){const r=ze(),i=Pn(),o=Rs(i,N+e,16,null,n||null);null===o.projection&&(o.projection=t),Vo(),64!=(64&o.flags)&&function C_(e,t,n){Ud(t[11],0,t,n,Id(e,n,t),kd(n.parent||t[6],n,t))}(i,r,o)}function Jc(e,t,n){return Xc(e,"",t,"",n),Jc}function Xc(e,t,n,r,i){const o=ze(),c=js(o,t,n,r);return c!==vn&&pi(Pn(),ir(),o,e,c,o[11],i,!1),Xc}function Rf(e,t,n,r,i){const o=e[n+1],c=null===t;let f=r?Hi(o):Mo(o),m=!1;for(;0!==f&&(!1===m||c);){const A=e[f+1];Cv(e[f],t)&&(m=!0,e[f+1]=r?hc(A):uc(A)),f=r?Hi(A):Mo(A)}m&&(e[n+1]=r?uc(o):hc(o))}function Cv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&os(e,t)>=0}const Tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nf(e){return e.substring(Tr.key,Tr.keyEnd)}function Ff(e,t){const n=Tr.textEnd;return n===t?-1:(t=Tr.keyEnd=function Dv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Tr.key=t,n),Ks(e,t,n))}function Ks(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function eu(e,t,n){return $i(e,t,n,!1),eu}function tu(e,t){return $i(e,t,null,!0),tu}function jf(e){Gi(ii,io,e,!0)}function io(e,t){for(let n=function wv(e){return function Lf(e){Tr.key=0,Tr.keyEnd=0,Tr.value=0,Tr.valueEnd=0,Tr.textEnd=e.length}(e),Ff(e,Ks(e,0,Tr.textEnd))}(t);n>=0;n=Ff(t,n))ii(e,Nf(t),!0)}function $i(e,t,n,r){const i=ze(),o=Pn(),c=Hr(2);o.firstUpdatePass&&Uf(o,e,c,r),t!==vn&&$r(i,c,t)&&Gf(o,o.data[Sr()],i,i[11],e,i[c+1]=function Nv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Y(No(e)))),e}(t,n),r,c)}function Gi(e,t,n,r){const i=Pn(),o=Hr(2);i.firstUpdatePass&&Uf(i,null,o,r);const c=ze();if(n!==vn&&$r(c,o,n)){const f=i.data[Sr()];if(Wf(f,r)&&!Hf(i,o)){let m=r?f.classesWithoutHost:f.stylesWithoutHost;null!==m&&(n=Ee(m,n||"")),Wc(i,f,c,n,r)}else!function Rv(e,t,n,r,i,o,c,f){i===vn&&(i=_e);let m=0,P=0,A=0<i.length?i[0]:null,G=0<o.length?o[0]:null;for(;null!==A||null!==G;){const le=m<i.length?i[m+1]:void 0,Ce=P<o.length?o[P+1]:void 0;let rt,Le=null;A===G?(m+=2,P+=2,le!==Ce&&(Le=G,rt=Ce)):null===G||null!==A&&A<G?(m+=2,Le=A):(P+=2,Le=G,rt=Ce),null!==Le&&Gf(e,t,n,r,Le,rt,c,f),A=m<i.length?i[m]:null,G=P<o.length?o[P]:null}}(i,f,c,c[11],c[o+1],c[o+1]=function Iv(e,t,n){if(null==n||""===n)return _e;const r=[],i=No(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function Hf(e,t){return t>=e.expandoStartIndex}function Uf(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Sr()],c=Hf(e,n);Wf(o,r)&&null===t&&!c&&(t=!1),t=function Pv(e,t,n,r){const i=function jo(e){const t=Ft.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=xa(n=nu(null,e,t,n,r),t.attrs,r),o=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=nu(i,e,t,n,r),null===o){let m=function Ov(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mo(r))return e[Hi(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=nu(null,e,t,m[1],r),m=xa(m,t.attrs,r),function xv(e,t,n,r){e[Hi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else o=function Av(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=xa(r,e[o].hostAttrs,n);return xa(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function yv(e,t,n,r,i,o){let c=o?t.classBindings:t.styleBindings,f=Hi(c),m=Mo(c);e[r]=n;let A,P=!1;if(Array.isArray(n)){const G=n;A=G[1],(null===A||os(G,A)>0)&&(P=!0)}else A=n;if(i)if(0!==m){const le=Hi(e[f+1]);e[r+1]=sl(le,f),0!==le&&(e[le+1]=dc(e[le+1],r)),e[f+1]=function N_(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=sl(f,0),0!==f&&(e[f+1]=dc(e[f+1],r)),f=r;else e[r+1]=sl(m,0),0===f?f=r:e[m+1]=dc(e[m+1],r),m=r;P&&(e[r+1]=uc(e[r+1])),Rf(e,A,r,!0),Rf(e,A,r,!1),function vv(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&os(o,t)>=0&&(n[r+1]=hc(n[r+1]))}(t,A,e,r,o),c=sl(f,m),o?t.classBindings=c:t.styleBindings=c}(i,o,t,n,c,r)}}function nu(e,t,n,r,i){let o=null;const c=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<c&&(o=t[f],r=xa(r,o.hostAttrs,i),o!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function xa(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const c=t[o];"number"==typeof c?i=c:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ii(e,c,!!n||t[++o]))}return void 0===e?null:e}function Gf(e,t,n,r,i,o,c,f){if(!(3&t.type))return;const m=e.data,P=m[f+1];vl(function Xd(e){return 1==(1&e)}(P)?zf(m,t,n,i,Mo(P),c):void 0)||(vl(o)||function Jd(e){return 2==(2&e)}(P)&&(o=zf(m,null,n,i,f,c)),function w_(e,t,n,r,i){const o=ne(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{let c=-1===r.indexOf("-")?void 0:Xi.DashCase;if(null==i)o?e.removeStyle(n,r,c):n.style.removeProperty(r);else{const f="string"==typeof i&&i.endsWith("!important");f&&(i=i.slice(0,-10),c|=Xi.Important),o?e.setStyle(n,r,i,c):n.style.setProperty(r,i,f?"important":"")}}}(r,c,Ln(Sr(),n),i,o))}function zf(e,t,n,r,i,o){const c=null===t;let f;for(;i>0;){const m=e[i],P=Array.isArray(m),A=P?m[1]:m,G=null===A;let le=n[i+1];le===vn&&(le=G?_e:void 0);let Ce=G?Za(le,r):A===r?le:void 0;if(P&&!vl(Ce)&&(Ce=Za(m,r)),vl(Ce)&&(f=Ce,c))return f;const Le=e[i+1];i=c?Hi(Le):Mo(Le)}if(null!==t){let m=o?t.residualClasses:t.residualStyles;null!=m&&(f=Za(m,r))}return f}function vl(e){return void 0!==e}function Wf(e,t){return 0!=(e.flags&(t?16:32))}function qf(e,t=""){const n=ze(),r=Pn(),i=e+N,o=r.firstCreatePass?Rs(r,i,1,t,null):r.data[i],c=n[i]=function nc(e,t){return ne(e)?e.createText(t):e.createTextNode(t)}(n[11],t);il(r,n,c,o),br(o,!1)}function ru(e){return Cl("",e,""),ru}function Cl(e,t,n){const r=ze(),i=js(r,e,t,n);return i!==vn&&So(r,Sr(),i),Cl}function np(e,t,n){Gi(ii,io,js(ze(),e,t,n),!0)}const cs=void 0;var Xv=["en",[["a","p"],["AM","PM"],cs],[["AM","PM"],cs,cs],[["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"]],cs,[["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"]],cs,[["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}",cs,"{1} 'at' {0}",cs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Jv(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Zs={};function iu(e){const t=function eC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=gp(t);if(n)return n;const r=t.split("-")[0];if(n=gp(r),n)return n;if("en"===r)return Xv;throw new Error(`Missing locale data for the locale "${e}".`)}function pp(e){return iu(e)[nn.PluralCase]}function gp(e){return e in Zs||(Zs[e]=wt.ng&&wt.ng.common&&wt.ng.common.locales&&wt.ng.common.locales[e]),Zs[e]}var nn=(()=>((nn=nn||{})[nn.LocaleId=0]="LocaleId",nn[nn.DayPeriodsFormat=1]="DayPeriodsFormat",nn[nn.DayPeriodsStandalone=2]="DayPeriodsStandalone",nn[nn.DaysFormat=3]="DaysFormat",nn[nn.DaysStandalone=4]="DaysStandalone",nn[nn.MonthsFormat=5]="MonthsFormat",nn[nn.MonthsStandalone=6]="MonthsStandalone",nn[nn.Eras=7]="Eras",nn[nn.FirstDayOfWeek=8]="FirstDayOfWeek",nn[nn.WeekendRange=9]="WeekendRange",nn[nn.DateFormat=10]="DateFormat",nn[nn.TimeFormat=11]="TimeFormat",nn[nn.DateTimeFormat=12]="DateTimeFormat",nn[nn.NumberSymbols=13]="NumberSymbols",nn[nn.NumberFormats=14]="NumberFormats",nn[nn.CurrencyCode=15]="CurrencyCode",nn[nn.CurrencySymbol=16]="CurrencySymbol",nn[nn.CurrencyName=17]="CurrencyName",nn[nn.Currencies=18]="Currencies",nn[nn.Directionality=19]="Directionality",nn[nn.PluralCase=20]="PluralCase",nn[nn.ExtraData=21]="ExtraData",nn))();const bl="en-US";let mp=bl;function au(e,t,n,r,i){if(e=Pe(e),Array.isArray(e))for(let o=0;o<e.length;o++)au(e[o],t,n,r,i);else{const o=Pn(),c=ze();let f=Ls(e)?e:Pe(e.provide),m=Ih(e);const P=rr(),A=1048575&P.providerIndexes,G=P.directiveStart,le=P.providerIndexes>>20;if(Ls(e)||!e.multi){const Ce=new Zi(m,i,Oa),Le=cu(f,t,i?A:A+le,G);-1===Le?(bo(Co(P,c),o,f),lu(o,e,t.length),t.push(f),P.directiveStart++,P.directiveEnd++,i&&(P.providerIndexes+=1048576),n.push(Ce),c.push(Ce)):(n[Le]=Ce,c[Le]=Ce)}else{const Ce=cu(f,t,A+le,G),Le=cu(f,t,A,A+le),rt=Ce>=0&&n[Ce],pt=Le>=0&&n[Le];if(i&&!pt||!i&&!rt){bo(Co(P,c),o,f);const Rt=function JC(e,t,n,r,i){const o=new Zi(e,n,Oa);return o.multi=[],o.index=t,o.componentProviders=0,jp(o,i,r&&!n),o}(i?QC:ZC,n.length,i,r,m);!i&&pt&&(n[Le].providerFactory=Rt),lu(o,e,t.length,0),t.push(f),P.directiveStart++,P.directiveEnd++,i&&(P.providerIndexes+=1048576),n.push(Rt),c.push(Rt)}else lu(o,e,Ce>-1?Ce:Le,jp(n[i?Le:Ce],m,!i&&r));!i&&r&&pt&&n[Le].componentProviders++}}}function lu(e,t,n,r){const i=Ls(t),o=function My(e){return!!e.useClass}(t);if(i||o){const m=(o?Pe(t.useClass):t).prototype.ngOnDestroy;if(m){const P=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const A=P.indexOf(n);-1===A?P.push(n,[r,m]):P[A+1].push(r,m)}else P.push(n,m)}}}function jp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function cu(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function ZC(e,t,n,r){return uu(this.multi,[])}function QC(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const c=this.providerFactory.componentProviders,f=v(n,n[1],this.providerFactory.index,r);o=f.slice(0,c),uu(i,o);for(let m=c;m<f.length;m++)o.push(f[m])}else o=[],uu(i,o);return o}function uu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Hp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function KC(e,t,n){const r=Pn();if(r.firstCreatePass){const i=Kn(e);au(n,r.data,r.blueprint,i,!0),au(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Up{}class tb{resolveComponentFactory(t){throw function eb(e){const t=Error(`No component factory found for ${Y(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Sl=(()=>{class e{}return e.NULL=new tb,e})();function nb(){return Js(rr(),ze())}function Js(e,t){return new Fa(tn(e,t))}let Fa=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=nb,e})();function rb(e){return e instanceof Fa?e.nativeElement:e}class Gp{}let ib=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function sb(){const e=ze(),n=w(rr().index,e);return function ob(e){return e[11]}(dn(n)?n:e)}(),e})(),ab=(()=>{class e{}return e.\u0275prov=An({token:e,providedIn:"root",factory:()=>null}),e})();class zp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const lb=new zp("13.3.11"),du={};function Tl(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(dt(o)),hn(o))for(let f=10;f<o.length;f++){const m=o[f],P=m[1].firstChild;null!==P&&Tl(m[1],m,P,r)}const c=n.type;if(8&c)Tl(e,t,n.child,r);else if(32&c){const f=Xl(n,t);let m;for(;m=f();)r.push(m)}else if(16&c){const f=jd(t,n);if(Array.isArray(f))r.push(...f);else{const m=wa(t[16]);Tl(m[1],m,f,r,!0)}}n=i?n.projectionNext:n.next}return r}class ka{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 Tl(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(hn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ic(t,r),ma(n,r))}this._attachedToViewContainer=!1}Ad(this._lView[1],this._lView)}onDestroy(t){fh(this._lView[1],this._lView,null,t)}markForCheck(){Tc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Oc(e,t,n){const r=t[10];r.begin&&r.begin();try{Fs(e,t,e.template,n)}catch(i){throw Sh(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Xe(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function h_(e,t){Ea(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Xe(902,"");this._appRef=t}}class cb extends ka{constructor(t){super(t),this._view=t}detectChanges(){wh(this._view)}checkNoChanges(){}get context(){return null}}class Wp extends Sl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=_t(t);return new hu(n,this.ngModule)}}function qp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class hu extends Up{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function I_(e){return e.map(A_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return qp(this.componentDef.inputs)}get outputs(){return qp(this.componentDef.outputs)}create(t,n,r,i){const o=(i=i||this.ngModule)?function db(e,t){return{get:(n,r,i)=>{const o=e.get(n,du,i);return o!==du||r===du?o:t.get(n,r,i)}}}(t,i.injector):t,c=o.get(Gp,Oe),f=o.get(ab,null),m=c.createRenderer(null,this.componentDef),P=this.componentDef.selectors[0][0]||"div",A=r?function hh(e,t,n){if(ne(e))return e.selectRootElement(t,n===bt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(m,r,this.componentDef.encapsulation):rc(c.createRenderer(null,this.componentDef),P,function ub(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(P)),G=this.componentDef.onPush?576:528,le=function Gh(e,t){return{components:[],scheduler:e||o_,clean:my,playerHandler:t||null,flags:0}}(),Ce=cl(0,null,null,1,0,null,null,null,null,null),Le=Da(null,Ce,le,G,null,null,c,m,f,o);let rt,pt;mo(Le);try{const Rt=function Uh(e,t,n,r,i,o){const c=n[1];n[20]=e;const m=Rs(c,20,2,"#host",null),P=m.mergedAttrs=t.hostAttrs;null!==P&&(dl(m,P,!0),null!==e&&(Qo(i,e,P),null!==m.classes&&cc(i,e,m.classes),null!==m.styles&&$d(i,e,m.styles)));const A=r.createRenderer(e,t),G=Da(n,uh(t),null,t.onPush?64:16,n[20],m,r,A,o||null,null);return c.firstCreatePass&&(bo(Co(m,n),c,t.type),yh(c,m),vh(m,n.length,1)),ul(n,G),n[20]=G}(A,this.componentDef,Le,c,m);if(A)if(r)Qo(m,A,["ng-version",lb.full]);else{const{attrs:We,classes:Kt}=function R_(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!ji(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);We&&Qo(m,A,We),Kt&&Kt.length>0&&cc(m,A,Kt.join(" "))}if(pt=yn(Ce,N),void 0!==n){const We=pt.projection=[];for(let Kt=0;Kt<this.ngContentSelectors.length;Kt++){const xn=n[Kt];We.push(null!=xn?Array.from(xn):null)}}rt=function $h(e,t,n,r,i){const o=n[1],c=function ey(e,t,n){const r=rr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ch(e,r,t,Ns(e,t,1,null),n));const i=v(t,e,r.directiveStart,r);Ur(i,t);const o=tn(r,t);return o&&Ur(o,t),i}(o,n,t);if(r.components.push(c),e[8]=c,i&&i.forEach(m=>m(c,t)),t.contentQueries){const m=rr();t.contentQueries(1,c,m.directiveStart)}const f=rr();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ci(f.index),mh(n[1],f,0,f.directiveStart,f.directiveEnd,t),_h(t,c)),c}(Rt,this.componentDef,Le,le,[ky]),Ma(Ce,Le,null)}finally{_o()}return new fb(this.componentType,rt,Js(pt,Le),Le,pt)}}class fb extends class XC{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new cb(i),this.componentType=t}get injector(){return new se(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Xs{}class Yp{}const ea=new Map;class Qp extends Xs{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Wp(this);const r=en(t);this._bootstrapComponents=Ji(r.bootstrap),this._r3Injector=Ah(t,n,[{provide:Xs,useValue:this},{provide:Sl,useValue:this.componentFactoryResolver}],Y(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=to.THROW_IF_NOT_FOUND,r=Ot.Default){return t===to||t===Xs||t===Ac?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class fu extends Yp{constructor(t){super(),this.moduleType=t,null!==en(t)&&function gb(e){const t=new Set;!function n(r){const i=en(r,!0),o=i.id;null!==o&&(function Kp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${Y(t)} vs ${Y(t.name)}`)}(o,ea.get(o),r),ea.set(o,r));const c=Ji(i.imports);for(const f of c)t.has(f)||(t.add(f),n(f))}(e)}(t)}create(t){return new Qp(this.moduleType,t)}}function Jp(e,t,n,r,i,o){const c=t+n;return $r(e,c,i)?function no(e,t,n){return e[t]=n}(e,c+1,o?r.call(o,i):r(i)):function La(e,t){const n=e[t];return n===vn?void 0:n}(e,c+1)}function rg(e,t){const n=Pn();let r;const i=e+N;n.firstCreatePass?(r=function Sb(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=ci(r.type)),c=ce(Oa);try{const f=xo(!1),m=o();return xo(f),function Yy(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ze(),i,m),m}finally{ce(c)}}function ig(e,t,n){const r=e+N,i=ze(),o=Yn(i,r);return function Va(e,t){return e[1].data[t].pure}(i,r)?Jp(i,function Mr(){const e=Ft.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,o.transform,n,o):o.transform(n)}function pu(e){return t=>{setTimeout(e,void 0,t)}}const oo=class Ab extends l.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),c=r;if(t&&"object"==typeof t){const m=t;i=m.next?.bind(m),o=m.error?.bind(m),c=m.complete?.bind(m)}this.__isAsync&&(o=pu(o),i&&(i=pu(i)),c&&(c=pu(c)));const f=super.subscribe({next:i,error:o,complete:c});return t instanceof S.w&&t.add(f),f}};function Ib(){return this._results[Vs()]()}class gu{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=Vs(),r=gu.prototype;r[n]||(r[n]=Ib)}get changes(){return this._changes||(this._changes=new oo)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=ri(t);(this._changesDetected=!function Ya(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Ba=(()=>{class e{}return e.__NG_ELEMENT_ID__=Fb,e})();const Rb=Ba,Nb=class extends Rb{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Da(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[E];return null!==o&&(r[E]=o.createEmbeddedView(n)),Ma(n,r,t),new ka(r)}};function Fb(){return Pl(rr(),ze())}function Pl(e,t){return 4&e.type?new Nb(t,e,Js(e,t)):null}let Ol=(()=>{class e{}return e.__NG_ELEMENT_ID__=kb,e})();function kb(){return ag(rr(),ze())}const Lb=Ol,og=class extends Lb{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Js(this._hostTNode,this._hostLView)}get injector(){return new se(this._hostTNode,this._hostLView)}get parentInjector(){const t=rs(this._hostTNode,this._hostLView);if(ts(t)){const n=qr(t,this._hostLView),r=Li(t);return new se(n[1].data[r+8],n)}return new se(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=sg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,o){const c=t&&!function mr(e){return"function"==typeof e}(t);let f;if(c)f=n;else{const G=n||{};f=G.index,r=G.injector,i=G.projectableNodes,o=G.ngModuleRef}const m=c?t:new hu(_t(t)),P=r||this.parentInjector;if(!o&&null==m.ngModule){const le=(c?P:this.parentInjector).get(Xs,null);le&&(o=le)}const A=m.create(P,i,void 0,o);return this.insert(A.hostView,f),A}insert(t,n){const r=t._lView,i=r[1];if(function R(e){return hn(e[3])}(r)){const A=this.indexOf(t);if(-1!==A)this.detach(A);else{const G=r[3],le=new og(G,G[6],G[3]);le.detach(le.indexOf(t))}}const o=this._adjustIndex(n),c=this._lContainer;!function p_(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],Ka(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const c=t[17];null!==c&&n!==c&&function g_(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(c,t);const f=t[E];null!==f&&f.insertView(e),t[2]|=128}(i,r,c,o);const f=ac(o,c),m=r[11],P=rl(m,c[7]);return null!==P&&function d_(e,t,n,r,i,o){r[0]=i,r[6]=t,Ea(e,r,n,1,i,o)}(i,c[6],m,r,P,f),t.attachToViewContainerRef(),Ka(mu(c),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=sg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ic(this._lContainer,n);r&&(ma(mu(this._lContainer),n),Ad(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ic(this._lContainer,n);return r&&null!=ma(mu(this._lContainer),n)?new ka(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function sg(e){return e[8]}function mu(e){return e[8]||(e[8]=[])}function ag(e,t){let n;const r=t[e.index];if(hn(r))n=r;else{let i;if(8&e.type)i=dt(r);else{const o=t[11];i=o.createComment("");const c=tn(e,t);as(o,rl(o,c),i,function v_(e,t){return ne(e)?e.nextSibling(t):t.nextSibling}(o,c),!1)}t[e.index]=n=bh(r,t,i,e),ul(t,n)}return new og(n,e,t)}class _u{constructor(t){this.queryList=t,this.matches=null}clone(){return new _u(this.queryList)}setDirty(){this.queryList.setDirty()}}class yu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const c=n.getByIndex(o);i.push(this.queries[c.indexInDeclarationView].clone())}return new yu(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==mg(t,n).matches&&this.queries[n].setDirty()}}class lg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class vu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new vu(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Cu{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 Cu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,jb(n,o)),this.matchTNodeWithReadOption(t,n,u(n,t,o,!1,!1))}else r===Ba?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,u(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Fa||i===Ol||i===Ba&&4&n.type)this.addMatch(n.index,-2);else{const o=u(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function jb(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Ub(e,t,n,r){return-1===n?function Hb(e,t){return 11&e.type?Js(e,t):4&e.type?Pl(e,t):null}(t,e):-2===n?function $b(e,t,n){return n===Fa?Js(t,e):n===Ba?Pl(t,e):n===Ol?ag(t,e):void 0}(e,t,r):v(e,e[1],n,t)}function cg(e,t,n,r){const i=t[E].queries[r];if(null===i.matches){const o=e.data,c=n.matches,f=[];for(let m=0;m<c.length;m+=2){const P=c[m];f.push(P<0?null:Ub(t,o[P],c[m+1],n.metadata.read))}i.matches=f}return i.matches}function bu(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const c=cg(e,t,i,n);for(let f=0;f<o.length;f+=2){const m=o[f];if(m>0)r.push(c[f/2]);else{const P=o[f+1],A=t[-m];for(let G=10;G<A.length;G++){const le=A[G];le[17]===le[3]&&bu(le[1],le,P,r)}if(null!==A[9]){const G=A[9];for(let le=0;le<G.length;le++){const Ce=G[le];bu(Ce[1],Ce,P,r)}}}}}return r}function ug(e){const t=ze(),n=Pn(),r=Ho();Uo(r+1);const i=mg(n,r);if(e.dirty&&y(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?bu(n,t,r,[]):cg(n,t,i,r);e.reset(o,rb),e.notifyOnChanges()}return!0}return!1}function dg(e,t,n){const r=Pn();r.firstCreatePass&&(gg(r,new lg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),pg(r,ze(),t)}function hg(e,t,n,r){const i=Pn();if(i.firstCreatePass){const o=rr();gg(i,new lg(t,n,r),o.index),function zb(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}pg(i,ze(),n)}function fg(){return function Gb(e,t){return e[E].queries[t].queryList}(ze(),Ho())}function pg(e,t,n){const r=new gu(4==(4&n));fh(e,t,r,r.destroy),null===t[E]&&(t[E]=new yu),t[E].queries.push(new _u(r))}function gg(e,t,n){null===e.queries&&(e.queries=new vu),e.queries.track(new Cu(t,n))}function mg(e,t){return e.queries.getByIndex(t)}function _g(e,t){return Pl(e,t)}function Il(...e){}const Ng=new or("Application Initializer");let Tu=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Il,this.reject=Il,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(Kc(o))n.push(o);else if(yf(o)){const c=new Promise((f,m)=>{o.subscribe({complete:f,error:m})});n.push(c)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(at(Ng,8))},e.\u0275prov=An({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Fg=new or("AppId",{providedIn:"root",factory:function kg(){return`${Pu()}${Pu()}${Pu()}`}});function Pu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Lg=new or("Platform Initializer"),lw=new or("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Vg=new or("appBootstrapListener");let cw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=An({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Ou=new or("LocaleId",{providedIn:"root",factory:()=>pn(Ou,Ot.Optional|Ot.SkipSelf)||function uw(){return typeof $localize<"u"&&$localize.locale||bl}()}),dw=new or("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class hw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let fw=(()=>{class e{compileModuleSync(n){return new fu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Ji(en(n).declarations).reduce((c,f)=>{const m=_t(f);return m&&c.push(new hu(m)),c},[]);return new hw(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=An({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const gw=(()=>Promise.resolve(0))();function xu(e){typeof Zone>"u"?gw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oo(!1),this.onMicrotaskEmpty=new oo(!1),this.onStable=new oo(!1),this.onError=new oo(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function mw(){let e=wt.requestAnimationFrame,t=wt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function vw(e){const t=()=>{!function yw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(wt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Iu(e),e.isCheckStableRunning=!0,Au(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Iu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,c,f)=>{try{return Bg(e),n.invokeTask(i,o,c,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),jg(e)}},onInvoke:(n,r,i,o,c,f,m)=>{try{return Bg(e),n.invoke(i,o,c,f,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),jg(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Iu(e),Au(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,c=o.scheduleEventTask("NgZoneEvent: "+i,t,_w,Il,Il);try{return o.runTask(c,n,r)}finally{o.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const _w={};function Au(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 Iu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function jg(e){e._nesting--,Au(e)}class Cw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oo,this.onMicrotaskEmpty=new oo,this.onStable=new oo,this.onError=new oo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let Hg=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zi.assertNotInAngularZone(),xu(()=>{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())xu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(at(zi))},e.\u0275prov=An({token:e,factory:e.\u0275fac}),e})(),bw=(()=>{class e{constructor(){this._applications=new Map,Ru.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Ru.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=An({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class ww{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function Ew(e){Ru=e}let Ru=new ww,Ha=null;const Ug=new or("AllowMultipleToken"),$g=new or("PlatformOnDestroy");class Sw{constructor(t,n){this.name=t,this.token=n}}function Gg(e,t,n=[]){const r=`Platform: ${t}`,i=new or(r);return(o=[])=>{let c=Nu();if(!c||c.injector.get(Ug,!1)){const f=[...n,...o,{provide:i,useValue:!0}];e?e(f):function Tw(e){if(Ha&&!Ha.get(Ug,!1))throw new Xe(400,"");Ha=e;const t=e.get(zg),n=e.get(Lg,null);n&&n.forEach(r=>r())}(function Ow(e=[],t){return to.create({name:t,providers:[{provide:Ic,useValue:"platform"},{provide:$g,useValue:()=>Ha=null},...e]})}(f,r))}return function Pw(e){const t=Nu();if(!t)throw new Xe(401,"");return t}()}}function Nu(){return Ha?.get(zg)??null}let zg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const f=function xw(e,t){let n;return n="noop"===e?new Cw:("zone.js"===e?void 0:e)||new zi({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),m=[{provide:zi,useValue:f}];return f.run(()=>{const P=to.create({providers:m,parent:this.injector,name:n.moduleType.name}),A=n.create(P),G=A.injector.get(nl,null);if(!G)throw new Xe(402,"");return f.runOutsideAngular(()=>{const le=f.onError.subscribe({next:Ce=>{G.handleError(Ce)}});A.onDestroy(()=>{ku(this._modules,A),le.unsubscribe()})}),function Aw(e,t,n){try{const r=n();return Kc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(G,f,()=>{const le=A.injector.get(Tu);return le.runInitializers(),le.donePromise.then(()=>(function iC(e){Yt(e,"Expected localeId to be defined"),"string"==typeof e&&(mp=e.toLowerCase().replace(/_/g,"-"))}(A.injector.get(Ou,bl)||bl),this._moduleDoBootstrap(A),A))})})}bootstrapModule(n,r=[]){const i=Wg({},r);return function Dw(e,t,n){const r=new fu(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Fu);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Xe(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Xe(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r()),this._injector.get($g,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(at(to))},e.\u0275prov=An({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Wg(e,t){return Array.isArray(t)?t.reduce(Wg,e):{...e,...t}}let Fu=(()=>{class e{constructor(n,r,i,o){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new te.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),f=new te.y(m=>{let P;this._zone.runOutsideAngular(()=>{P=this._zone.onStable.subscribe(()=>{zi.assertNotInAngularZone(),xu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const A=this._zone.onUnstable.subscribe(()=>{zi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{P.unsubscribe(),A.unsubscribe()}});this.isStable=(0,ie.T)(c,f.pipe(function B(){return e=>(0,F.x)()(function H(e,t){return function(r){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new z(i,t));const o=Object.create(r,W.N);return o.source=r,o.subjectFactory=i,o}}(U)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Xe(405,"");let i;i=n instanceof Up?n:this._injector.get(Sl).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function Mw(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Xs),f=i.create(to.NULL,[],r||i.selector,o),m=f.location.nativeElement,P=f.injector.get(Hg,null),A=P&&f.injector.get(bw);return P&&A&&A.registerApplication(m,P),f.onDestroy(()=>{this.detachView(f.hostView),ku(this.components,f),A&&A.unregisterApplication(m)}),this._loadComponent(f),f}tick(){if(this._runningTick)throw new Xe(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ku(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Vg,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(at(zi),at(to),at(nl),at(Tu))},e.\u0275prov=An({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ku(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Yg=!0,Kg=!1;function Rw(){return Kg=!0,Yg}function Nw(){if(Kg)throw new Error("Cannot enable prod mode after platform setup.");Yg=!1}let Fw=(()=>{class e{}return e.__NG_ELEMENT_ID__=kw,e})();function kw(e){return function Lw(e,t,n){if(Pr(e)&&!n){const r=w(e.index,t);return new ka(r,r)}return 47&e.type?new ka(t[16],t):null}(rr(),ze(),16==(16&e))}class Xg{constructor(){}supports(t){return Ta(t)}create(t){return new $w(t)}}const Uw=(e,t)=>t;class $w{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||Uw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const c=!r||n&&n.currentIndex<tm(r,i,o)?n:r,f=tm(c,i,o),m=c.currentIndex;if(c===r)i--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)i++;else{o||(o=[]);const P=f-i,A=m-i;if(P!=A){for(let le=0;le<P;le++){const Ce=le<o.length?o[le]:o[le]=0,Le=Ce+le;A<=Le&&Le<P&&(o[le]=Ce+1)}o[c.previousIndex]=A-P}}f!==m&&t(c,f,m)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ta(t))throw new Xe(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)o=t[f],c=this._trackByFn(f,o),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,o,c,f)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,c,f),r=!0),n=n._next}else i=0,function Wy(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Vs()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,f=>{c=this._trackByFn(i,f),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,f,c,i)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,c,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new Gw(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new em),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new em),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 Gw{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 zw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class em{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new zw,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function tm(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class nm{constructor(){}supports(t){return t instanceof Map||Bc(t)}create(){return new Ww}}class Ww{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||Bc(t)))throw new Xe(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,c=i._next;return o&&(o._next=c),c&&(c._prev=o),i._next=null,i._prev=null,i}const r=new qw(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class qw{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 rm(){return new Hu([new Xg])}let Hu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||rm()),deps:[[e,new Ei,new yr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Xe(901,"")}}return e.\u0275prov=An({token:e,providedIn:"root",factory:rm}),e})();function im(){return new Uu([new nm])}let Uu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||im()),deps:[[e,new Ei,new yr]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Xe(901,"")}}return e.\u0275prov=An({token:e,providedIn:"root",factory:im}),e})();const Zw=Gg(null,"core",[]);let Qw=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(at(Fu))},e.\u0275mod=ge({type:e}),e.\u0275inj=Cn({}),e})()},4006:(Ae,q,O)=>{"use strict";O.d(q,{CE:()=>Jr,F:()=>x,Fj:()=>Ee,JJ:()=>lr,JL:()=>Un,Kr:()=>Ir,UX:()=>tn,YN:()=>_i,_:()=>Jn,_Y:()=>_n,kI:()=>Xe,qu:()=>yn,sg:()=>gr,u:()=>Gr,u5:()=>Ln,x0:()=>Pi});var l=O(5062),S=O(6895),te=O(5254),ie=O(567),W=O(4850);let H=(()=>{class w{constructor(_,R){this._renderer=_,this._elementRef=R,this.onChange=xe=>{},this.onTouched=()=>{}}setProperty(_,R){this._renderer.setProperty(this._elementRef.nativeElement,_,R)}registerOnTouched(_){this.onTouched=_}registerOnChange(_){this.onChange=_}setDisabledState(_){this.setProperty("disabled",_)}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(l.Qsj),l.Y36(l.SBq))},w.\u0275dir=l.lG2({type:w}),w})(),z=(()=>{class w extends H{}return w.\u0275fac=function(){let y;return function(R){return(y||(y=l.n5z(w)))(R||w)}}(),w.\u0275dir=l.lG2({type:w,features:[l.qOj]}),w})();const F=new l.OlP("NgValueAccessor"),j={provide:F,useExisting:(0,l.Gpc)(()=>Ee),multi:!0},Y=new l.OlP("CompositionEventMode");let Ee=(()=>{class w extends H{constructor(_,R,xe){super(_,R),this._compositionMode=xe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ae(){const w=(0,S.q)()?(0,S.q)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(_){this.setProperty("value",_??"")}_handleInput(_){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(_)}_compositionStart(){this._composing=!0}_compositionEnd(_){this._composing=!1,this._compositionMode&&this.onChange(_)}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(Y,8))},w.\u0275dir=l.lG2({type:w,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(_,R){1&_&&l.NdJ("input",function(At){return R._handleInput(At.target.value)})("blur",function(){return R.onTouched()})("compositionstart",function(){return R._compositionStart()})("compositionend",function(At){return R._compositionEnd(At.target.value)})},features:[l._Bn([j]),l.qOj]}),w})();function de(w){return null==w||0===w.length}function be(w){return null!=w&&"number"==typeof w.length}const Pe=new l.OlP("NgValidators"),yt=new l.OlP("NgAsyncValidators"),ct=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Xe{static min(y){return function Ye(w){return y=>{if(de(y.value)||de(w))return null;const _=parseFloat(y.value);return!isNaN(_)&&_<w?{min:{min:w,actual:y.value}}:null}}(y)}static max(y){return function it(w){return y=>{if(de(y.value)||de(w))return null;const _=parseFloat(y.value);return!isNaN(_)&&_>w?{max:{max:w,actual:y.value}}:null}}(y)}static required(y){return function Wt(w){return de(w.value)?{required:!0}:null}(y)}static requiredTrue(y){return function un(w){return!0===w.value?null:{required:!0}}(y)}static email(y){return function sn(w){return de(w.value)||ct.test(w.value)?null:{email:!0}}(y)}static minLength(y){return function $t(w){return y=>de(y.value)||!be(y.value)?null:y.value.length<w?{minlength:{requiredLength:w,actualLength:y.value.length}}:null}(y)}static maxLength(y){return function Qt(w){return y=>be(y.value)&&y.value.length>w?{maxlength:{requiredLength:w,actualLength:y.value.length}}:null}(y)}static pattern(y){return function Qe(w){if(!w)return Ke;let y,_;return"string"==typeof w?(_="","^"!==w.charAt(0)&&(_+="^"),_+=w,"$"!==w.charAt(w.length-1)&&(_+="$"),y=new RegExp(_)):(_=w.toString(),y=w),R=>{if(de(R.value))return null;const xe=R.value;return y.test(xe)?null:{pattern:{requiredPattern:_,actualValue:xe}}}}(y)}static nullValidator(y){return null}static compose(y){return je(y)}static composeAsync(y){return ot(y)}}function Ke(w){return null}function X(w){return null!=w}function ye(w){const y=(0,l.QGY)(w)?(0,te.D)(w):w;return(0,l.CqO)(y),y}function me(w){let y={};return w.forEach(_=>{y=null!=_?{...y,..._}:y}),0===Object.keys(y).length?null:y}function vt(w,y){return y.map(_=>_(w))}function Tt(w){return w.map(y=>function gt(w){return!w.validate}(y)?y:_=>y.validate(_))}function je(w){if(!w)return null;const y=w.filter(X);return 0==y.length?null:function(_){return me(vt(_,y))}}function He(w){return null!=w?je(Tt(w)):null}function ot(w){if(!w)return null;const y=w.filter(X);return 0==y.length?null:function(_){const R=vt(_,y).map(ye);return(0,ie.D)(R).pipe((0,W.U)(me))}}function Jt(w){return null!=w?ot(Tt(w)):null}function Sn(w,y){return null===w?[y]:Array.isArray(w)?[...w,y]:[w,y]}function Yt(w){return w._rawValidators}function Vt(w){return w._rawAsyncValidators}function Vn(w){return w?Array.isArray(w)?w:[w]:[]}function Fn(w,y){return Array.isArray(w)?w.includes(y):w===y}function pr(w,y){const _=Vn(y);return Vn(w).forEach(xe=>{Fn(_,xe)||_.push(xe)}),_}function An(w,y){return Vn(y).filter(_=>!Fn(w,_))}class ar{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(y){this._rawValidators=y||[],this._composedValidatorFn=He(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=Jt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(y=>y()),this._onDestroyCallbacks=[]}reset(y){this.control&&this.control.reset(y)}hasError(y,_){return!!this.control&&this.control.hasError(y,_)}getError(y,_){return this.control?this.control.getError(y,_):null}}class Cn extends ar{get formDirective(){return null}get path(){return null}}class Bn extends ar{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wn{constructor(y){this._cd=y}is(y){return"submitted"===y?!!this._cd?.submitted:!!this._cd?.control?.[y]}}let lr=(()=>{class w extends wn{constructor(_){super(_)}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(Bn,2))},w.\u0275dir=l.lG2({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(_,R){2&_&&l.ekj("ng-untouched",R.is("untouched"))("ng-touched",R.is("touched"))("ng-pristine",R.is("pristine"))("ng-dirty",R.is("dirty"))("ng-valid",R.is("valid"))("ng-invalid",R.is("invalid"))("ng-pending",R.is("pending"))},features:[l.qOj]}),w})(),Un=(()=>{class w extends wn{constructor(_){super(_)}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(Cn,10))},w.\u0275dir=l.lG2({type:w,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(_,R){2&_&&l.ekj("ng-untouched",R.is("untouched"))("ng-touched",R.is("touched"))("ng-pristine",R.is("pristine"))("ng-dirty",R.is("dirty"))("ng-valid",R.is("valid"))("ng-invalid",R.is("invalid"))("ng-pending",R.is("pending"))("ng-submitted",R.is("submitted"))},features:[l.qOj]}),w})();function In(w,y){return[...y.path,w]}function Bt(w,y){he(w,y),y.valueAccessor.writeValue(w.value),function ve(w,y){y.valueAccessor.registerOnChange(_=>{w._pendingValue=_,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&Je(w,y)})}(w,y),function st(w,y){const _=(R,xe)=>{y.valueAccessor.writeValue(R),xe&&y.viewToModelUpdate(R)};w.registerOnChange(_),y._registerOnDestroy(()=>{w._unregisterOnChange(_)})}(w,y),function ke(w,y){y.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&Je(w,y),"submit"!==w.updateOn&&w.markAsTouched()})}(w,y),function Z(w,y){if(y.valueAccessor.setDisabledState){const _=R=>{y.valueAccessor.setDisabledState(R)};w.registerOnDisabledChange(_),y._registerOnDestroy(()=>{w._unregisterOnDisabledChange(_)})}}(w,y)}function wt(w,y,_=!0){const R=()=>{};y.valueAccessor&&(y.valueAccessor.registerOnChange(R),y.valueAccessor.registerOnTouched(R)),_e(w,y),w&&(y._invokeOnDestroyCallbacks(),w._registerOnCollectionChange(()=>{}))}function rn(w,y){w.forEach(_=>{_.registerOnValidatorChange&&_.registerOnValidatorChange(y)})}function he(w,y){const _=Yt(w);null!==y.validator?w.setValidators(Sn(_,y.validator)):"function"==typeof _&&w.setValidators([_]);const R=Vt(w);null!==y.asyncValidator?w.setAsyncValidators(Sn(R,y.asyncValidator)):"function"==typeof R&&w.setAsyncValidators([R]);const xe=()=>w.updateValueAndValidity();rn(y._rawValidators,xe),rn(y._rawAsyncValidators,xe)}function _e(w,y){let _=!1;if(null!==w){if(null!==y.validator){const xe=Yt(w);if(Array.isArray(xe)&&xe.length>0){const At=xe.filter(Gn=>Gn!==y.validator);At.length!==xe.length&&(_=!0,w.setValidators(At))}}if(null!==y.asyncValidator){const xe=Vt(w);if(Array.isArray(xe)&&xe.length>0){const At=xe.filter(Gn=>Gn!==y.asyncValidator);At.length!==xe.length&&(_=!0,w.setAsyncValidators(At))}}}const R=()=>{};return rn(y._rawValidators,R),rn(y._rawAsyncValidators,R),_}function Je(w,y){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),y.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function ht(w,y){he(w,y)}function ge(w,y){w._syncPendingControls(),y.forEach(_=>{const R=_.control;"submit"===R.updateOn&&R._pendingChange&&(_.viewToModelUpdate(R._pendingValue),R._pendingChange=!1)})}function Fe(w,y){const _=w.indexOf(y);_>-1&&w.splice(_,1)}const _t="VALID",an="INVALID",kt="PENDING",en="DISABLED";function $e(w){return(gn(w)?w.validators:w)||null}function Ie(w){return Array.isArray(w)?He(w):w||null}function Ct(w,y){return(gn(y)?y.asyncValidators:w)||null}function ut(w){return Array.isArray(w)?Jt(w):w||null}function gn(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}const ln=w=>w instanceof oe,Zt=w=>w instanceof Me,fn=w=>w instanceof Mt;function Mn(w){return ln(w)?w.value:w.getRawValue()}function on(w,y){const _=Zt(w),R=w.controls;if(!(_?Object.keys(R):R).length)throw new l.vHH(1e3,"");if(!R[y])throw new l.vHH(1001,"")}function et(w,y){Zt(w),w._forEachChild((R,xe)=>{if(void 0===y[xe])throw new l.vHH(1002,"")})}class Dt{constructor(y,_){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=y,this._rawAsyncValidators=_,this._composedValidatorFn=Ie(this._rawValidators),this._composedAsyncValidatorFn=ut(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(y){this._rawValidators=this._composedValidatorFn=y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(y){this._rawAsyncValidators=this._composedAsyncValidatorFn=y}get parent(){return this._parent}get valid(){return this.status===_t}get invalid(){return this.status===an}get pending(){return this.status==kt}get disabled(){return this.status===en}get enabled(){return this.status!==en}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(y){this._rawValidators=y,this._composedValidatorFn=Ie(y)}setAsyncValidators(y){this._rawAsyncValidators=y,this._composedAsyncValidatorFn=ut(y)}addValidators(y){this.setValidators(pr(y,this._rawValidators))}addAsyncValidators(y){this.setAsyncValidators(pr(y,this._rawAsyncValidators))}removeValidators(y){this.setValidators(An(y,this._rawValidators))}removeAsyncValidators(y){this.setAsyncValidators(An(y,this._rawAsyncValidators))}hasValidator(y){return Fn(this._rawValidators,y)}hasAsyncValidator(y){return Fn(this._rawAsyncValidators,y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(y={}){this.touched=!0,this._parent&&!y.onlySelf&&this._parent.markAsTouched(y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(y=>y.markAllAsTouched())}markAsUntouched(y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(_=>{_.markAsUntouched({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}markAsDirty(y={}){this.pristine=!1,this._parent&&!y.onlySelf&&this._parent.markAsDirty(y)}markAsPristine(y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(_=>{_.markAsPristine({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}markAsPending(y={}){this.status=kt,!1!==y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!y.onlySelf&&this._parent.markAsPending(y)}disable(y={}){const _=this._parentMarkedDirty(y.onlySelf);this.status=en,this.errors=null,this._forEachChild(R=>{R.disable({...y,onlySelf:!0})}),this._updateValue(),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...y,skipPristineCheck:_}),this._onDisabledChange.forEach(R=>R(!0))}enable(y={}){const _=this._parentMarkedDirty(y.onlySelf);this.status=_t,this._forEachChild(R=>{R.enable({...y,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent}),this._updateAncestors({...y,skipPristineCheck:_}),this._onDisabledChange.forEach(R=>R(!1))}_updateAncestors(y){this._parent&&!y.onlySelf&&(this._parent.updateValueAndValidity(y),y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(y){this._parent=y}updateValueAndValidity(y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_t||this.status===kt)&&this._runAsyncValidator(y.emitEvent)),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!y.onlySelf&&this._parent.updateValueAndValidity(y)}_updateTreeValidity(y={emitEvent:!0}){this._forEachChild(_=>_._updateTreeValidity(y)),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?en:_t}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(y){if(this.asyncValidator){this.status=kt,this._hasOwnPendingAsyncValidator=!0;const _=ye(this.asyncValidator(this));this._asyncValidationSubscription=_.subscribe(R=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(R,{emitEvent:y})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(y,_={}){this.errors=y,this._updateControlsErrors(!1!==_.emitEvent)}get(y){return function jt(w,y,_){if(null==y||(Array.isArray(y)||(y=y.split(_)),Array.isArray(y)&&0===y.length))return null;let R=w;return y.forEach(xe=>{R=Zt(R)?R.controls.hasOwnProperty(xe)?R.controls[xe]:null:fn(R)&&R.at(xe)||null}),R}(this,y,".")}getError(y,_){const R=_?this.get(_):this;return R&&R.errors?R.errors[y]:null}hasError(y,_){return!!this.getError(y,_)}get root(){let y=this;for(;y._parent;)y=y._parent;return y}_updateControlsErrors(y){this.status=this._calculateStatus(),y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(y)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?en:this.errors?an:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kt)?kt:this._anyControlsHaveStatus(an)?an:_t}_anyControlsHaveStatus(y){return this._anyControls(_=>_.status===y)}_anyControlsDirty(){return this._anyControls(y=>y.dirty)}_anyControlsTouched(){return this._anyControls(y=>y.touched)}_updatePristine(y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}_updateTouched(y={}){this.touched=this._anyControlsTouched(),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}_isBoxedValue(y){return"object"==typeof y&&null!==y&&2===Object.keys(y).length&&"value"in y&&"disabled"in y}_registerOnCollectionChange(y){this._onCollectionChange=y}_setUpdateStrategy(y){gn(y)&&null!=y.updateOn&&(this._updateOn=y.updateOn)}_parentMarkedDirty(y){return!y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class oe extends Dt{constructor(y=null,_,R){super($e(_),Ct(R,_)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(y),this._setUpdateStrategy(_),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),gn(_)&&_.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(y)?y.value:y)}setValue(y,_={}){this.value=this._pendingValue=y,this._onChange.length&&!1!==_.emitModelToViewChange&&this._onChange.forEach(R=>R(this.value,!1!==_.emitViewToModelChange)),this.updateValueAndValidity(_)}patchValue(y,_={}){this.setValue(y,_)}reset(y=this.defaultValue,_={}){this._applyFormState(y),this.markAsPristine(_),this.markAsUntouched(_),this.setValue(this.value,_),this._pendingChange=!1}_updateValue(){}_anyControls(y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(y){this._onChange.push(y)}_unregisterOnChange(y){Fe(this._onChange,y)}registerOnDisabledChange(y){this._onDisabledChange.push(y)}_unregisterOnDisabledChange(y){Fe(this._onDisabledChange,y)}_forEachChild(y){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(y){this._isBoxedValue(y)?(this.value=this._pendingValue=y.value,y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=y}}class Me extends Dt{constructor(y,_,R){super($e(_),Ct(R,_)),this.controls=y,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(y,_){return this.controls[y]?this.controls[y]:(this.controls[y]=_,_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange),_)}addControl(y,_,R={}){this.registerControl(y,_),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}removeControl(y,_={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}setControl(y,_,R={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],_&&this.registerControl(y,_),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}contains(y){return this.controls.hasOwnProperty(y)&&this.controls[y].enabled}setValue(y,_={}){et(this,y),Object.keys(y).forEach(R=>{on(this,R),this.controls[R].setValue(y[R],{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_)}patchValue(y,_={}){null!=y&&(Object.keys(y).forEach(R=>{this.controls[R]&&this.controls[R].patchValue(y[R],{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_))}reset(y={},_={}){this._forEachChild((R,xe)=>{R.reset(y[xe],{onlySelf:!0,emitEvent:_.emitEvent})}),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this._reduceChildren({},(y,_,R)=>(y[R]=Mn(_),y))}_syncPendingControls(){let y=this._reduceChildren(!1,(_,R)=>!!R._syncPendingControls()||_);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){Object.keys(this.controls).forEach(_=>{const R=this.controls[_];R&&y(R,_)})}_setUpControls(){this._forEachChild(y=>{y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(y){for(const _ of Object.keys(this.controls)){const R=this.controls[_];if(this.contains(_)&&y(R))return!0}return!1}_reduceValue(){return this._reduceChildren({},(y,_,R)=>((_.enabled||this.disabled)&&(y[R]=_.value),y))}_reduceChildren(y,_){let R=y;return this._forEachChild((xe,At)=>{R=_(R,xe,At)}),R}_allControlsDisabled(){for(const y of Object.keys(this.controls))if(this.controls[y].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Mt extends Dt{constructor(y,_,R){super($e(_),Ct(R,_)),this.controls=y,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(y){return this.controls[y]}push(y,_={}){this.controls.push(y),this._registerControl(y),this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}insert(y,_,R={}){this.controls.splice(y,0,_),this._registerControl(_),this.updateValueAndValidity({emitEvent:R.emitEvent})}removeAt(y,_={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),this.controls.splice(y,1),this.updateValueAndValidity({emitEvent:_.emitEvent})}setControl(y,_,R={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),this.controls.splice(y,1),_&&(this.controls.splice(y,0,_),this._registerControl(_)),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(y,_={}){et(this,y),y.forEach((R,xe)=>{on(this,xe),this.at(xe).setValue(R,{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_)}patchValue(y,_={}){null!=y&&(y.forEach((R,xe)=>{this.at(xe)&&this.at(xe).patchValue(R,{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_))}reset(y=[],_={}){this._forEachChild((R,xe)=>{R.reset(y[xe],{onlySelf:!0,emitEvent:_.emitEvent})}),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this.controls.map(y=>Mn(y))}clear(y={}){this.controls.length<1||(this._forEachChild(_=>_._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:y.emitEvent}))}_syncPendingControls(){let y=this.controls.reduce((_,R)=>!!R._syncPendingControls()||_,!1);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){this.controls.forEach((_,R)=>{y(_,R)})}_updateValue(){this.value=this.controls.filter(y=>y.enabled||this.disabled).map(y=>y.value)}_anyControls(y){return this.controls.some(_=>_.enabled&&y(_))}_setUpControls(){this._forEachChild(y=>this._registerControl(y))}_allControlsDisabled(){for(const y of this.controls)if(y.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(y){y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)}}const St={provide:Cn,useExisting:(0,l.Gpc)(()=>x)},D=(()=>Promise.resolve(null))();let x=(()=>{class w extends Cn{constructor(_,R){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.vpe,this.form=new Me({},He(_),Jt(R))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(_){D.then(()=>{const R=this._findContainer(_.path);_.control=R.registerControl(_.name,_.control),Bt(_.control,_),_.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(_)})}getControl(_){return this.form.get(_.path)}removeControl(_){D.then(()=>{const R=this._findContainer(_.path);R&&R.removeControl(_.name),this._directives.delete(_)})}addFormGroup(_){D.then(()=>{const R=this._findContainer(_.path),xe=new Me({});ht(xe,_),R.registerControl(_.name,xe),xe.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(_){D.then(()=>{const R=this._findContainer(_.path);R&&R.removeControl(_.name)})}getFormGroup(_){return this.form.get(_.path)}updateModel(_,R){D.then(()=>{this.form.get(_.path).setValue(R)})}setValue(_){this.control.setValue(_)}onSubmit(_){return this.submitted=!0,ge(this.form,this._directives),this.ngSubmit.emit(_),!1}onReset(){this.resetForm()}resetForm(_){this.form.reset(_),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(_){return _.pop(),_.length?this.form.get(_):this.form}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(Pe,10),l.Y36(yt,10))},w.\u0275dir=l.lG2({type:w,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(_,R){1&_&&l.NdJ("submit",function(At){return R.onSubmit(At)})("reset",function(){return R.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([St]),l.qOj]}),w})(),E=(()=>{class w extends Cn{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return In(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return w.\u0275fac=function(){let y;return function(R){return(y||(y=l.n5z(w)))(R||w)}}(),w.\u0275dir=l.lG2({type:w,features:[l.qOj]}),w})(),_n=(()=>{class w{}return w.\u0275fac=function(_){return new(_||w)},w.\u0275dir=l.lG2({type:w,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),w})();const Qn={provide:F,useExisting:(0,l.Gpc)(()=>Jn),multi:!0};let Rn=(()=>{class w{}return w.\u0275fac=function(_){return new(_||w)},w.\u0275mod=l.oAB({type:w}),w.\u0275inj=l.cJS({}),w})(),Kn=(()=>{class w{constructor(){this._accessors=[]}add(_,R){this._accessors.push([_,R])}remove(_){for(let R=this._accessors.length-1;R>=0;--R)if(this._accessors[R][1]===_)return void this._accessors.splice(R,1)}select(_){this._accessors.forEach(R=>{this._isSameGroup(R,_)&&R[1]!==_&&R[1].fireUncheck(_.value)})}_isSameGroup(_,R){return!!_[0].control&&_[0]._parent===R._control._parent&&_[1].name===R.name}}return w.\u0275fac=function(_){return new(_||w)},w.\u0275prov=l.Yz7({token:w,factory:w.\u0275fac,providedIn:Rn}),w})(),Jn=(()=>{class w extends z{constructor(_,R,xe,At){super(_,R),this._registry=xe,this._injector=At,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Bn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(_){this._state=_===this.value,this.setProperty("checked",this._state)}registerOnChange(_){this._fn=_,this.onChange=()=>{_(this.value),this._registry.select(this)}}fireUncheck(_){this.writeValue(_)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(Kn),l.Y36(l.zs3))},w.\u0275dir=l.lG2({type:w,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(_,R){1&_&&l.NdJ("change",function(){return R.onChange()})("blur",function(){return R.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[l._Bn([Qn]),l.qOj]}),w})();const Or=new l.OlP("NgModelWithFormControlWarning"),Ar={provide:Cn,useExisting:(0,l.Gpc)(()=>gr)};let gr=(()=>{class w extends Cn{constructor(_,R){super(),this.validators=_,this.asyncValidators=R,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(_),this._setAsyncValidators(R)}ngOnChanges(_){this._checkFormPresent(),_.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(_e(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(_){const R=this.form.get(_.path);return Bt(R,_),R.updateValueAndValidity({emitEvent:!1}),this.directives.push(_),R}getControl(_){return this.form.get(_.path)}removeControl(_){wt(_.control||null,_,!1),Fe(this.directives,_)}addFormGroup(_){this._setUpFormContainer(_)}removeFormGroup(_){this._cleanUpFormContainer(_)}getFormGroup(_){return this.form.get(_.path)}addFormArray(_){this._setUpFormContainer(_)}removeFormArray(_){this._cleanUpFormContainer(_)}getFormArray(_){return this.form.get(_.path)}updateModel(_,R){this.form.get(_.path).setValue(R)}onSubmit(_){return this.submitted=!0,ge(this.form,this.directives),this.ngSubmit.emit(_),!1}onReset(){this.resetForm()}resetForm(_){this.form.reset(_),this.submitted=!1}_updateDomValue(){this.directives.forEach(_=>{const R=_.control,xe=this.form.get(_.path);R!==xe&&(wt(R||null,_),ln(xe)&&(Bt(xe,_),_.control=xe))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(_){const R=this.form.get(_.path);ht(R,_),R.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(_){if(this.form){const R=this.form.get(_.path);R&&function mt(w,y){return _e(w,y)}(R,_)&&R.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){he(this.form,this),this._oldForm&&_e(this._oldForm,this)}_checkFormPresent(){}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(Pe,10),l.Y36(yt,10))},w.\u0275dir=l.lG2({type:w,selectors:[["","formGroup",""]],hostBindings:function(_,R){1&_&&l.NdJ("submit",function(At){return R.onSubmit(At)})("reset",function(){return R.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([Ar]),l.qOj,l.TTD]}),w})();const Wi={provide:Cn,useExisting:(0,l.Gpc)(()=>Pi)};let Pi=(()=>{class w extends E{constructor(_,R,xe){super(),this._parent=_,this._setValidators(R),this._setAsyncValidators(xe)}_checkParentType(){so(this._parent)}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(Cn,13),l.Y36(Pe,10),l.Y36(yt,10))},w.\u0275dir=l.lG2({type:w,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[l._Bn([Wi]),l.qOj]}),w})();const mi={provide:Cn,useExisting:(0,l.Gpc)(()=>Jr)};let Jr=(()=>{class w extends Cn{constructor(_,R,xe){super(),this._parent=_,this._setValidators(R),this._setAsyncValidators(xe)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return In(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){so(this._parent)}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(Cn,13),l.Y36(Pe,10),l.Y36(yt,10))},w.\u0275dir=l.lG2({type:w,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[l._Bn([mi]),l.qOj]}),w})();function so(w){return!(w instanceof Pi||w instanceof gr||w instanceof Jr)}const Xr={provide:Bn,useExisting:(0,l.Gpc)(()=>Gr)};let Gr=(()=>{class w extends Bn{constructor(_,R,xe,At,Gn){super(),this._ngModelWarningConfig=Gn,this._added=!1,this.update=new l.vpe,this._ngModelWarningSent=!1,this._parent=_,this._setValidators(R),this._setAsyncValidators(xe),this.valueAccessor=function we(w,y){if(!y)return null;let _,R,xe;return Array.isArray(y),y.forEach(At=>{At.constructor===Ee?_=At:function $(w){return Object.getPrototypeOf(w.constructor)===z}(At)?R=At:xe=At}),xe||R||_||null}(0,At)}set isDisabled(_){}ngOnChanges(_){this._added||this._setUpControl(),function K(w,y){if(!w.hasOwnProperty("model"))return!1;const _=w.model;return!!_.isFirstChange()||!Object.is(y,_.currentValue)}(_,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(_){this.viewModel=_,this.update.emit(_)}get path(){return In(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return w._ngModelWarningSentOnce=!1,w.\u0275fac=function(_){return new(_||w)(l.Y36(Cn,13),l.Y36(Pe,10),l.Y36(yt,10),l.Y36(F,10),l.Y36(Or,8))},w.\u0275dir=l.lG2({type:w,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[l._Bn([Xr]),l.qOj,l.TTD]}),w})();const ei={provide:F,useExisting:(0,l.Gpc)(()=>li),multi:!0};function zr(w,y){return null==w?`${y}`:(y&&"object"==typeof y&&(y="Object"),`${w}: ${y}`.slice(0,50))}let li=(()=>{class w extends z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(_){this._compareWith=_}writeValue(_){this.value=_;const xe=zr(this._getOptionId(_),_);this.setProperty("value",xe)}registerOnChange(_){this.onChange=R=>{this.value=this._getOptionValue(R),_(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(_){for(const R of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(R),_))return R;return null}_getOptionValue(_){const R=function ao(w){return w.split(":")[0]}(_);return this._optionMap.has(R)?this._optionMap.get(R):_}}return w.\u0275fac=function(){let y;return function(R){return(y||(y=l.n5z(w)))(R||w)}}(),w.\u0275dir=l.lG2({type:w,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(_,R){1&_&&l.NdJ("change",function(At){return R.onChange(At.target.value)})("blur",function(){return R.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([ei]),l.qOj]}),w})(),_i=(()=>{class w{constructor(_,R,xe){this._element=_,this._renderer=R,this._select=xe,this._select&&(this.id=this._select._registerOption())}set ngValue(_){null!=this._select&&(this._select._optionMap.set(this.id,_),this._setElementValue(zr(this.id,_)),this._select.writeValue(this._select.value))}set value(_){this._setElementValue(_),this._select&&this._select.writeValue(this._select.value)}_setElementValue(_){this._renderer.setProperty(this._element.nativeElement,"value",_)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(li,9))},w.\u0275dir=l.lG2({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();const yi={provide:F,useExisting:(0,l.Gpc)(()=>Wr),multi:!0};function Oi(w,y){return null==w?`${y}`:("string"==typeof y&&(y=`'${y}'`),y&&"object"==typeof y&&(y="Object"),`${w}: ${y}`.slice(0,50))}let Wr=(()=>{class w extends z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(_){this._compareWith=_}writeValue(_){let R;if(this.value=_,Array.isArray(_)){const xe=_.map(At=>this._getOptionId(At));R=(At,Gn)=>{At._setSelected(xe.indexOf(Gn.toString())>-1)}}else R=(xe,At)=>{xe._setSelected(!1)};this._optionMap.forEach(R)}registerOnChange(_){this.onChange=R=>{const xe=[],At=R.selectedOptions;if(void 0!==At){const Gn=At;for(let Ft=0;Ft<Gn.length;Ft++){const fo=this._getOptionValue(Gn[Ft].value);xe.push(fo)}}else{const Gn=R.options;for(let Ft=0;Ft<Gn.length;Ft++){const vi=Gn[Ft];if(vi.selected){const fo=this._getOptionValue(vi.value);xe.push(fo)}}}this.value=xe,_(xe)}}_registerOption(_){const R=(this._idCounter++).toString();return this._optionMap.set(R,_),R}_getOptionId(_){for(const R of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(R)._value,_))return R;return null}_getOptionValue(_){const R=function qi(w){return w.split(":")[0]}(_);return this._optionMap.has(R)?this._optionMap.get(R)._value:_}}return w.\u0275fac=function(){let y;return function(R){return(y||(y=l.n5z(w)))(R||w)}}(),w.\u0275dir=l.lG2({type:w,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(_,R){1&_&&l.NdJ("change",function(At){return R.onChange(At.target)})("blur",function(){return R.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([yi]),l.qOj]}),w})(),Ir=(()=>{class w{constructor(_,R,xe){this._element=_,this._renderer=R,this._select=xe,this._select&&(this.id=this._select._registerOption(this))}set ngValue(_){null!=this._select&&(this._value=_,this._setElementValue(Oi(this.id,_)),this._select.writeValue(this._select.value))}set value(_){this._select?(this._value=_,this._setElementValue(Oi(this.id,_)),this._select.writeValue(this._select.value)):this._setElementValue(_)}_setElementValue(_){this._renderer.setProperty(this._element.nativeElement,"value",_)}_setSelected(_){this._renderer.setProperty(this._element.nativeElement,"selected",_)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return w.\u0275fac=function(_){return new(_||w)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Wr,9))},w.\u0275dir=l.lG2({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})(),kn=(()=>{class w{}return w.\u0275fac=function(_){return new(_||w)},w.\u0275mod=l.oAB({type:w}),w.\u0275inj=l.cJS({imports:[[Rn]]}),w})(),Ln=(()=>{class w{}return w.\u0275fac=function(_){return new(_||w)},w.\u0275mod=l.oAB({type:w}),w.\u0275inj=l.cJS({imports:[kn]}),w})(),tn=(()=>{class w{static withConfig(_){return{ngModule:w,providers:[{provide:Or,useValue:_.warnOnNgModelWithFormControl}]}}}return w.\u0275fac=function(_){return new(_||w)},w.\u0275mod=l.oAB({type:w}),w.\u0275inj=l.cJS({imports:[kn]}),w})(),yn=(()=>{class w{group(_,R=null){const xe=this._reduceControls(_);let Ft,At=null,Gn=null;return null!=R&&(function nr(w){return void 0!==w.asyncValidators||void 0!==w.validators||void 0!==w.updateOn}(R)?(At=null!=R.validators?R.validators:null,Gn=null!=R.asyncValidators?R.asyncValidators:null,Ft=null!=R.updateOn?R.updateOn:void 0):(At=null!=R.validator?R.validator:null,Gn=null!=R.asyncValidator?R.asyncValidator:null)),new Me(xe,{asyncValidators:Gn,updateOn:Ft,validators:At})}control(_,R,xe){return new oe(_,R,xe)}array(_,R,xe){const At=_.map(Gn=>this._createControl(Gn));return new Mt(At,R,xe)}_reduceControls(_){const R={};return Object.keys(_).forEach(xe=>{R[xe]=this._createControl(_[xe])}),R}_createControl(_){return ln(_)||Zt(_)||fn(_)?_:Array.isArray(_)?this.control(_[0],_.length>1?_[1]:null,_.length>2?_[2]:null):this.control(_)}}return w.\u0275fac=function(_){return new(_||w)},w.\u0275prov=l.Yz7({token:w,factory:w.\u0275fac,providedIn:tn}),w})()},1481:(Ae,q,O)=>{"use strict";O.d(q,{b2:()=>Zn,q6:()=>Bn,se:()=>ye});var l=O(6895),S=O(5062);class te extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ie extends te{static makeCurrent(){(0,l.HT)(new ie)}onAndCancel(K,$,ge){return K.addEventListener($,ge,!1),()=>{K.removeEventListener($,ge,!1)}}dispatchEvent(K,$){K.dispatchEvent($)}remove(K){K.parentNode&&K.parentNode.removeChild(K)}createElement(K,$){return($=$||this.getDefaultDocument()).createElement(K)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(K){return K.nodeType===Node.ELEMENT_NODE}isShadowRoot(K){return K instanceof DocumentFragment}getGlobalEventTarget(K,$){return"window"===$?window:"document"===$?K:"body"===$?K.body:null}getBaseHref(K){const $=function H(){return W=W||document.querySelector("base"),W?W.getAttribute("href"):null}();return null==$?null:function F(pe){z=z||document.createElement("a"),z.setAttribute("href",pe);const K=z.pathname;return"/"===K.charAt(0)?K:`/${K}`}($)}resetBaseElement(){W=null}getUserAgent(){return window.navigator.userAgent}getCookie(K){return(0,l.Mx)(document.cookie,K)}}let z,W=null;const U=new S.OlP("TRANSITION_ID"),j=[{provide:S.ip1,useFactory:function B(pe,K,$){return()=>{$.get(S.CZH).donePromise.then(()=>{const ge=(0,l.q)(),we=K.querySelectorAll(`style[ng-transition="${pe}"]`);for(let Fe=0;Fe<we.length;Fe++)ge.remove(we[Fe])})}},deps:[U,l.K0,S.zs3],multi:!0}];class ae{static init(){(0,S.VLi)(new ae)}addToWindow(K){S.dqk.getAngularTestability=(ge,we=!0)=>{const Fe=K.findTestabilityInTree(ge,we);if(null==Fe)throw new Error("Could not find testability for element.");return Fe},S.dqk.getAllAngularTestabilities=()=>K.getAllTestabilities(),S.dqk.getAllAngularRootElements=()=>K.getAllRootElements(),S.dqk.frameworkStabilizers||(S.dqk.frameworkStabilizers=[]),S.dqk.frameworkStabilizers.push(ge=>{const we=S.dqk.getAllAngularTestabilities();let Fe=we.length,ft=!1;const It=function(_t){ft=ft||_t,Fe--,0==Fe&&ge(ft)};we.forEach(function(_t){_t.whenStable(It)})})}findTestabilityInTree(K,$,ge){return null==$?null:K.getTestability($)??(ge?(0,l.q)().isShadowRoot($)?this.findTestabilityInTree(K,$.host,!0):this.findTestabilityInTree(K,$.parentElement,!0):null)}}let Y=(()=>{class pe{build(){return new XMLHttpRequest}}return pe.\u0275fac=function($){return new($||pe)},pe.\u0275prov=S.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const Ee=new S.OlP("EventManagerPlugins");let de=(()=>{class pe{constructor($,ge){this._zone=ge,this._eventNameToPlugin=new Map,$.forEach(we=>we.manager=this),this._plugins=$.slice().reverse()}addEventListener($,ge,we){return this._findPluginFor(ge).addEventListener($,ge,we)}addGlobalEventListener($,ge,we){return this._findPluginFor(ge).addGlobalEventListener($,ge,we)}getZone(){return this._zone}_findPluginFor($){const ge=this._eventNameToPlugin.get($);if(ge)return ge;const we=this._plugins;for(let Fe=0;Fe<we.length;Fe++){const ft=we[Fe];if(ft.supports($))return this._eventNameToPlugin.set($,ft),ft}throw new Error(`No event manager plugin found for event ${$}`)}}return pe.\u0275fac=function($){return new($||pe)(S.LFG(Ee),S.LFG(S.R0b))},pe.\u0275prov=S.Yz7({token:pe,factory:pe.\u0275fac}),pe})();class be{constructor(K){this._doc=K}addGlobalEventListener(K,$,ge){const we=(0,l.q)().getGlobalEventTarget(this._doc,K);if(!we)throw new Error(`Unsupported event target ${we} for event ${$}`);return this.addEventListener(we,$,ge)}}let Pe=(()=>{class pe{constructor(){this._stylesSet=new Set}addStyles($){const ge=new Set;$.forEach(we=>{this._stylesSet.has(we)||(this._stylesSet.add(we),ge.add(we))}),this.onStylesAdded(ge)}onStylesAdded($){}getAllStyles(){return Array.from(this._stylesSet)}}return pe.\u0275fac=function($){return new($||pe)},pe.\u0275prov=S.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),yt=(()=>{class pe extends Pe{constructor($){super(),this._doc=$,this._hostNodes=new Map,this._hostNodes.set($.head,[])}_addStylesToHost($,ge,we){$.forEach(Fe=>{const ft=this._doc.createElement("style");ft.textContent=Fe,we.push(ge.appendChild(ft))})}addHost($){const ge=[];this._addStylesToHost(this._stylesSet,$,ge),this._hostNodes.set($,ge)}removeHost($){const ge=this._hostNodes.get($);ge&&ge.forEach(ct),this._hostNodes.delete($)}onStylesAdded($){this._hostNodes.forEach((ge,we)=>{this._addStylesToHost($,we,ge)})}ngOnDestroy(){this._hostNodes.forEach($=>$.forEach(ct))}}return pe.\u0275fac=function($){return new($||pe)(S.LFG(l.K0))},pe.\u0275prov=S.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function ct(pe){(0,l.q)().remove(pe)}const Xe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ye=/%COMP%/g;function Qe(pe,K,$){for(let ge=0;ge<K.length;ge++){let we=K[ge];Array.isArray(we)?Qe(pe,we,$):(we=we.replace(Ye,pe),$.push(we))}return $}function Ke(pe){return K=>{if("__ngUnwrap__"===K)return pe;!1===pe(K)&&(K.preventDefault(),K.returnValue=!1)}}let ye=(()=>{class pe{constructor($,ge,we){this.eventManager=$,this.sharedStylesHost=ge,this.appId=we,this.rendererByCompId=new Map,this.defaultRenderer=new me($)}createRenderer($,ge){if(!$||!ge)return this.defaultRenderer;switch(ge.encapsulation){case S.ifc.Emulated:{let we=this.rendererByCompId.get(ge.id);return we||(we=new Tt(this.eventManager,this.sharedStylesHost,ge,this.appId),this.rendererByCompId.set(ge.id,we)),we.applyToHost($),we}case 1:case S.ifc.ShadowDom:return new je(this.eventManager,this.sharedStylesHost,$,ge);default:if(!this.rendererByCompId.has(ge.id)){const we=Qe(ge.id,ge.styles,[]);this.sharedStylesHost.addStyles(we),this.rendererByCompId.set(ge.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return pe.\u0275fac=function($){return new($||pe)(S.LFG(de),S.LFG(yt),S.LFG(S.AFp))},pe.\u0275prov=S.Yz7({token:pe,factory:pe.\u0275fac}),pe})();class me{constructor(K){this.eventManager=K,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(K,$){return $?document.createElementNS(Xe[$]||$,K):document.createElement(K)}createComment(K){return document.createComment(K)}createText(K){return document.createTextNode(K)}appendChild(K,$){K.appendChild($)}insertBefore(K,$,ge){K&&K.insertBefore($,ge)}removeChild(K,$){K&&K.removeChild($)}selectRootElement(K,$){let ge="string"==typeof K?document.querySelector(K):K;if(!ge)throw new Error(`The selector "${K}" did not match any elements`);return $||(ge.textContent=""),ge}parentNode(K){return K.parentNode}nextSibling(K){return K.nextSibling}setAttribute(K,$,ge,we){if(we){$=we+":"+$;const Fe=Xe[we];Fe?K.setAttributeNS(Fe,$,ge):K.setAttribute($,ge)}else K.setAttribute($,ge)}removeAttribute(K,$,ge){if(ge){const we=Xe[ge];we?K.removeAttributeNS(we,$):K.removeAttribute(`${ge}:${$}`)}else K.removeAttribute($)}addClass(K,$){K.classList.add($)}removeClass(K,$){K.classList.remove($)}setStyle(K,$,ge,we){we&(S.JOm.DashCase|S.JOm.Important)?K.style.setProperty($,ge,we&S.JOm.Important?"important":""):K.style[$]=ge}removeStyle(K,$,ge){ge&S.JOm.DashCase?K.style.removeProperty($):K.style[$]=""}setProperty(K,$,ge){K[$]=ge}setValue(K,$){K.nodeValue=$}listen(K,$,ge){return"string"==typeof K?this.eventManager.addGlobalEventListener(K,$,Ke(ge)):this.eventManager.addEventListener(K,$,Ke(ge))}}class Tt extends me{constructor(K,$,ge,we){super(K),this.component=ge;const Fe=Qe(we+"-"+ge.id,ge.styles,[]);$.addStyles(Fe),this.contentAttr=function $t(pe){return"_ngcontent-%COMP%".replace(Ye,pe)}(we+"-"+ge.id),this.hostAttr=function Qt(pe){return"_nghost-%COMP%".replace(Ye,pe)}(we+"-"+ge.id)}applyToHost(K){super.setAttribute(K,this.hostAttr,"")}createElement(K,$){const ge=super.createElement(K,$);return super.setAttribute(ge,this.contentAttr,""),ge}}class je extends me{constructor(K,$,ge,we){super(K),this.sharedStylesHost=$,this.hostEl=ge,this.shadowRoot=ge.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Fe=Qe(we.id,we.styles,[]);for(let ft=0;ft<Fe.length;ft++){const It=document.createElement("style");It.textContent=Fe[ft],this.shadowRoot.appendChild(It)}}nodeOrShadowRoot(K){return K===this.hostEl?this.shadowRoot:K}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(K,$){return super.appendChild(this.nodeOrShadowRoot(K),$)}insertBefore(K,$,ge){return super.insertBefore(this.nodeOrShadowRoot(K),$,ge)}removeChild(K,$){return super.removeChild(this.nodeOrShadowRoot(K),$)}parentNode(K){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(K)))}}let He=(()=>{class pe extends be{constructor($){super($)}supports($){return!0}addEventListener($,ge,we){return $.addEventListener(ge,we,!1),()=>this.removeEventListener($,ge,we)}removeEventListener($,ge,we){return $.removeEventListener(ge,we)}}return pe.\u0275fac=function($){return new($||pe)(S.LFG(l.K0))},pe.\u0275prov=S.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const ot=["alt","control","meta","shift"],Sn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Yt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Vt={alt:pe=>pe.altKey,control:pe=>pe.ctrlKey,meta:pe=>pe.metaKey,shift:pe=>pe.shiftKey};let Vn=(()=>{class pe extends be{constructor($){super($)}supports($){return null!=pe.parseEventName($)}addEventListener($,ge,we){const Fe=pe.parseEventName(ge),ft=pe.eventCallback(Fe.fullKey,we,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel($,Fe.domEventName,ft))}static parseEventName($){const ge=$.toLowerCase().split("."),we=ge.shift();if(0===ge.length||"keydown"!==we&&"keyup"!==we)return null;const Fe=pe._normalizeKey(ge.pop());let ft="";if(ot.forEach(_t=>{const an=ge.indexOf(_t);an>-1&&(ge.splice(an,1),ft+=_t+".")}),ft+=Fe,0!=ge.length||0===Fe.length)return null;const It={};return It.domEventName=we,It.fullKey=ft,It}static getEventFullKey($){let ge="",we=function Fn(pe){let K=pe.key;if(null==K){if(K=pe.keyIdentifier,null==K)return"Unidentified";K.startsWith("U+")&&(K=String.fromCharCode(parseInt(K.substring(2),16)),3===pe.location&&Yt.hasOwnProperty(K)&&(K=Yt[K]))}return Sn[K]||K}($);return we=we.toLowerCase()," "===we?we="space":"."===we&&(we="dot"),ot.forEach(Fe=>{Fe!=we&&Vt[Fe]($)&&(ge+=Fe+".")}),ge+=we,ge}static eventCallback($,ge,we){return Fe=>{pe.getEventFullKey(Fe)===$&&we.runGuarded(()=>ge(Fe))}}static _normalizeKey($){return"esc"===$?"escape":$}}return pe.\u0275fac=function($){return new($||pe)(S.LFG(l.K0))},pe.\u0275prov=S.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const Bn=(0,S.eFA)(S._c5,"browser",[{provide:S.Lbi,useValue:l.bD},{provide:S.g9A,useValue:function pr(){ie.makeCurrent(),ae.init()},multi:!0},{provide:l.K0,useFactory:function ar(){return(0,S.RDi)(document),document},deps:[]}]),wn=[{provide:S.zSh,useValue:"root"},{provide:S.qLn,useFactory:function An(){return new S.qLn},deps:[]},{provide:Ee,useClass:He,multi:!0,deps:[l.K0,S.R0b,S.Lbi]},{provide:Ee,useClass:Vn,multi:!0,deps:[l.K0]},{provide:ye,useClass:ye,deps:[de,yt,S.AFp]},{provide:S.FYo,useExisting:ye},{provide:Pe,useExisting:yt},{provide:yt,useClass:yt,deps:[l.K0]},{provide:S.dDg,useClass:S.dDg,deps:[S.R0b]},{provide:de,useClass:de,deps:[Ee,S.R0b]},{provide:l.JF,useClass:Y,deps:[]}];let Zn=(()=>{class pe{constructor($){if($)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition($){return{ngModule:pe,providers:[{provide:S.AFp,useValue:$.appId},{provide:U,useExisting:S.AFp},j]}}}return pe.\u0275fac=function($){return new($||pe)(S.LFG(pe,12))},pe.\u0275mod=S.oAB({type:pe}),pe.\u0275inj=S.cJS({providers:wn,imports:[l.ez,S.hGG]}),pe})();typeof window<"u"&&window},3990:(Ae,q,O)=>{"use strict";O.d(q,{gz:()=>Jn,F0:()=>hr,yS:()=>Zo,Bz:()=>pa,lC:()=>Ze});var l=O(6895),S=O(5062),te=O(5529),ie=O(5279);class W extends te.xQ{constructor(d){super(),this._value=d}get value(){return this.getValue()}_subscribe(d){const u=super._subscribe(d);return u&&!u.closed&&d.next(this._value),u}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ie.N;return this._value}next(d){super.next(this._value=d)}}var H=O(2866),z=O(6688),F=O(3489);class U extends F.L{notifyNext(d,u,v,M,k){this.destination.next(u)}notifyError(d,u){this.destination.error(d)}notifyComplete(d){this.destination.complete()}}class B extends F.L{constructor(d,u,v){super(),this.parent=d,this.outerValue=u,this.outerIndex=v,this.index=0}_next(d){this.parent.notifyNext(this.outerValue,d,this.outerIndex,this.index++,this)}_error(d){this.parent.notifyError(d,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var j=O(9249),ae=O(2916);function Y(g,d,u,v,M=new B(g,u,v)){if(!M.closed)return d instanceof ae.y?d.subscribe(M):(0,j.s)(d)(M)}var Ee=O(3009);const de={};class Pe{constructor(d){this.resultSelector=d}call(d,u){return u.subscribe(new yt(d,this.resultSelector))}}class yt extends U{constructor(d,u){super(d),this.resultSelector=u,this.active=0,this.values=[],this.observables=[]}_next(d){this.values.push(de),this.observables.push(d)}_complete(){const d=this.observables,u=d.length;if(0===u)this.destination.complete();else{this.active=u,this.toRespond=u;for(let v=0;v<u;v++)this.add(Y(this,d[v],void 0,v))}}notifyComplete(d){0==(this.active-=1)&&this.destination.complete()}notifyNext(d,u,v){const M=this.values,Q=this.toRespond?M[v]===de?--this.toRespond:this.toRespond:0;M[v]=u,0===Q&&(this.resultSelector?this._tryResultSelector(M):this.destination.next(M.slice()))}_tryResultSelector(d){let u;try{u=this.resultSelector.apply(this,d)}catch(v){return void this.destination.error(v)}this.destination.next(u)}}const Xe=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})();var Ye=O(1086),it=O(9146);function un(...g){return function Wt(){return(0,it.J)(1)}()((0,Ye.of)(...g))}var sn=O(5254),$t=O(8896);function Qt(g){return new ae.y(d=>{let u;try{u=g()}catch(M){return void d.error(M)}return(u?(0,sn.D)(u):(0,$t.c)()).subscribe(d)})}var Qe=O(1737),Ke=O(1762);function ye(g,d){let u=!1;return arguments.length>=2&&(u=!0),function(M){return M.lift(new me(g,d,u))}}class me{constructor(d,u,v=!1){this.accumulator=d,this.seed=u,this.hasSeed=v}call(d,u){return u.subscribe(new vt(d,this.accumulator,this.seed,this.hasSeed))}}class vt extends F.L{constructor(d,u,v,M){super(d),this.accumulator=u,this._seed=v,this.hasSeed=M,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const u=this.index++;let v;try{v=this.accumulator(this.seed,d,u)}catch(M){this.destination.error(M)}this.seed=v,this.destination.next(v)}}var gt=O(2198),Tt=O(4231);function je(g){return function(u){return 0===g?(0,$t.c)():u.lift(new He(g))}}class He{constructor(d){if(this.total=d,this.total<0)throw new Tt.W}call(d,u){return u.subscribe(new ot(d,this.total))}}class ot extends F.L{constructor(d,u){super(d),this.total=u,this.ring=new Array,this.count=0}_next(d){const u=this.ring,v=this.total,M=this.count++;u.length<v?u.push(d):u[M%v]=d}_complete(){const d=this.destination;let u=this.count;if(u>0){const v=this.count>=this.total?this.total:this.count,M=this.ring;for(let k=0;k<v;k++){const Q=u++%v;d.next(M[Q])}}d.complete()}}function Jt(g=Vt){return d=>d.lift(new Sn(g))}class Sn{constructor(d){this.errorFactory=d}call(d,u){return u.subscribe(new Yt(d,this.errorFactory))}}class Yt extends F.L{constructor(d,u){super(d),this.errorFactory=u,this.hasValue=!1}_next(d){this.hasValue=!0,this.destination.next(d)}_complete(){if(this.hasValue)return this.destination.complete();{let d;try{d=this.errorFactory()}catch(u){d=u}this.destination.error(d)}}}function Vt(){return new Xe}function Vn(g=null){return d=>d.lift(new Fn(g))}class Fn{constructor(d){this.defaultValue=d}call(d,u){return u.subscribe(new pr(d,this.defaultValue))}}class pr extends F.L{constructor(d,u){super(d),this.defaultValue=u,this.isEmpty=!0}_next(d){this.isEmpty=!1,this.destination.next(d)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var An=O(5379),Cn=O(2986);function Bn(g,d){const u=arguments.length>=2;return v=>v.pipe(g?(0,gt.h)((M,k)=>g(M,k,v)):An.y,(0,Cn.q)(1),u?Vn(d):Jt(()=>new Xe))}var wn=O(4850),Zn=O(7545),er=O(7221),lr=O(1406),Un=O(1709),mn=O(2868),sr=O(4327),vr=O(537);class Ot{constructor(d,u){this.id=d,this.url=u}}class Se extends Ot{constructor(d,u,v="imperative",M=null){super(d,u),this.navigationTrigger=v,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ue extends Ot{constructor(d,u,v){super(d,u),this.urlAfterRedirects=v}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ce extends Ot{constructor(d,u,v){super(d,u),this.reason=v}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class qe extends Ot{constructor(d,u,v){super(d,u),this.error=v}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ne extends Ot{constructor(d,u,v,M){super(d,u),this.urlAfterRedirects=v,this.state=M}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ge extends Ot{constructor(d,u,v,M){super(d,u),this.urlAfterRedirects=v,this.state=M}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends Ot{constructor(d,u,v,M,k){super(d,u),this.urlAfterRedirects=v,this.state=M,this.shouldActivate=k}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class En extends Ot{constructor(d,u,v,M){super(d,u),this.urlAfterRedirects=v,this.state=M}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gt extends Ot{constructor(d,u,v,M){super(d,u),this.urlAfterRedirects=v,this.state=M}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bt{constructor(d){this.route=d}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class tr{constructor(d){this.route=d}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Tn{constructor(d){this.snapshot=d}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class In{constructor(d){this.snapshot=d}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bt{constructor(d){this.snapshot=d}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wt{constructor(d){this.snapshot=d}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rn{constructor(d,u,v){this.routerEvent=d,this.position=u,this.anchor=v}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Z="primary";class he{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const u=this.params[d];return Array.isArray(u)?u[0]:u}return null}getAll(d){if(this.has(d)){const u=this.params[d];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function _e(g){return new he(g)}const ve="ngNavigationCancelingError";function ke(g){const d=Error("NavigationCancelingError: "+g);return d[ve]=!0,d}function st(g,d,u){const v=u.path.split("/");if(v.length>g.length||"full"===u.pathMatch&&(d.hasChildren()||v.length<g.length))return null;const M={};for(let k=0;k<v.length;k++){const Q=v[k],se=g[k];if(Q.startsWith(":"))M[Q.substring(1)]=se;else if(Q!==se.path)return null}return{consumed:g.slice(0,v.length),posParams:M}}function mt(g,d){const u=g?Object.keys(g):void 0,v=d?Object.keys(d):void 0;if(!u||!v||u.length!=v.length)return!1;let M;for(let k=0;k<u.length;k++)if(M=u[k],!Nt(g[M],d[M]))return!1;return!0}function Nt(g,d){if(Array.isArray(g)&&Array.isArray(d)){if(g.length!==d.length)return!1;const u=[...g].sort(),v=[...d].sort();return u.every((M,k)=>v[k]===M)}return g===d}function Et(g){return Array.prototype.concat.apply([],g)}function Xt(g){return g.length>0?g[g.length-1]:null}function K(g,d){for(const u in g)g.hasOwnProperty(u)&&d(g[u],u)}function $(g){return(0,S.CqO)(g)?g:(0,S.QGY)(g)?(0,sn.D)(Promise.resolve(g)):(0,Ye.of)(g)}const we={exact:function _t(g,d,u){if(!gn(g.segments,d.segments)||!jt(g.segments,d.segments,u)||g.numberOfChildren!==d.numberOfChildren)return!1;for(const v in d.children)if(!g.children[v]||!_t(g.children[v],d.children[v],u))return!1;return!0},subset:kt},Fe={exact:function It(g,d){return mt(g,d)},subset:function an(g,d){return Object.keys(d).length<=Object.keys(g).length&&Object.keys(d).every(u=>Nt(g[u],d[u]))},ignored:()=>!0};function ft(g,d,u){return we[u.paths](g.root,d.root,u.matrixParams)&&Fe[u.queryParams](g.queryParams,d.queryParams)&&!("exact"===u.fragment&&g.fragment!==d.fragment)}function kt(g,d,u){return en(g,d,d.segments,u)}function en(g,d,u,v){if(g.segments.length>u.length){const M=g.segments.slice(0,u.length);return!(!gn(M,u)||d.hasChildren()||!jt(M,u,v))}if(g.segments.length===u.length){if(!gn(g.segments,u)||!jt(g.segments,u,v))return!1;for(const M in d.children)if(!g.children[M]||!kt(g.children[M],d.children[M],v))return!1;return!0}{const M=u.slice(0,g.segments.length),k=u.slice(g.segments.length);return!!(gn(g.segments,M)&&jt(g.segments,M,v)&&g.children[Z])&&en(g.children[Z],d,k,v)}}function jt(g,d,u){return d.every((v,M)=>Fe[u](g[M].parameters,v.parameters))}class $e{constructor(d,u,v){this.root=d,this.queryParams=u,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_e(this.queryParams)),this._queryParamMap}toString(){return Mn.serialize(this)}}class Ie{constructor(d,u){this.segments=d,this.children=u,this.parent=null,K(u,(v,M)=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return on(this)}}class Ct{constructor(d,u){this.path=d,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=_e(this.parameters)),this._parameterMap}toString(){return x(this)}}function gn(g,d){return g.length===d.length&&g.every((u,v)=>u.path===d[v].path)}class Zt{}class fn{parse(d){const u=new lt(d);return new $e(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(d){const u=`/${et(d.root,!0)}`,v=function N(g){const d=Object.keys(g).map(u=>{const v=g[u];return Array.isArray(v)?v.map(M=>`${oe(u)}=${oe(M)}`).join("&"):`${oe(u)}=${oe(v)}`}).filter(u=>!!u);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${u}${v}${"string"==typeof d.fragment?`#${function Me(g){return encodeURI(g)}(d.fragment)}`:""}`}}const Mn=new fn;function on(g){return g.segments.map(d=>x(d)).join("/")}function et(g,d){if(!g.hasChildren())return on(g);if(d){const u=g.children[Z]?et(g.children[Z],!1):"",v=[];return K(g.children,(M,k)=>{k!==Z&&v.push(`${k}:${et(M,!1)}`)}),v.length>0?`${u}(${v.join("//")})`:u}{const u=function ln(g,d){let u=[];return K(g.children,(v,M)=>{M===Z&&(u=u.concat(d(v,M)))}),K(g.children,(v,M)=>{M!==Z&&(u=u.concat(d(v,M)))}),u}(g,(v,M)=>M===Z?[et(g.children[Z],!1)]:[`${M}:${et(v,!1)}`]);return 1===Object.keys(g.children).length&&null!=g.children[Z]?`${on(g)}/${u[0]}`:`${on(g)}/(${u.join("//")})`}}function Dt(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function oe(g){return Dt(g).replace(/%3B/gi,";")}function Mt(g){return Dt(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function St(g){return decodeURIComponent(g)}function D(g){return St(g.replace(/\+/g,"%20"))}function x(g){return`${Mt(g.path)}${function E(g){return Object.keys(g).map(d=>`;${Mt(d)}=${Mt(g[d])}`).join("")}(g.parameters)}`}const re=/^[^\/()?;=#]+/;function fe(g){const d=g.match(re);return d?d[0]:""}const Te=/^[^=?&#]+/,Ue=/^[^&#]+/;class lt{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ie([],{}):new Ie([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(d.length>0||Object.keys(u).length>0)&&(v[Z]=new Ie(d,u)),v}parseSegment(){const d=fe(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(d),new Ct(St(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const u=fe(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const M=fe(this.remaining);M&&(v=M,this.capture(v))}d[St(u)]=St(v)}parseQueryParam(d){const u=function Re(g){const d=g.match(Te);return d?d[0]:""}(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const Q=function tt(g){const d=g.match(Ue);return d?d[0]:""}(this.remaining);Q&&(v=Q,this.capture(v))}const M=D(u),k=D(v);if(d.hasOwnProperty(M)){let Q=d[M];Array.isArray(Q)||(Q=[Q],d[M]=Q),Q.push(k)}else d[M]=k}parseParens(d){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=fe(this.remaining),M=this.remaining[v.length];if("/"!==M&&")"!==M&&";"!==M)throw new Error(`Cannot parse url '${this.url}'`);let k;v.indexOf(":")>-1?(k=v.substr(0,v.indexOf(":")),this.capture(k),this.capture(":")):d&&(k=Z);const Q=this.parseChildren();u[k]=1===Object.keys(Q).length?Q[Z]:new Ie([],Q),this.consumeOptional("//")}return u}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new Error(`Expected "${d}".`)}}class xt{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const u=this.pathFromRoot(d);return u.length>1?u[u.length-2]:null}children(d){const u=_n(d,this._root);return u?u.children.map(v=>v.value):[]}firstChild(d){const u=_n(d,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(d){const u=dn(d,this._root);return u.length<2?[]:u[u.length-2].children.map(M=>M.value).filter(M=>M!==d)}pathFromRoot(d){return dn(d,this._root).map(u=>u.value)}}function _n(g,d){if(g===d.value)return d;for(const u of d.children){const v=_n(g,u);if(v)return v}return null}function dn(g,d){if(g===d.value)return[d];for(const u of d.children){const v=dn(g,u);if(v.length)return v.unshift(d),v}return[]}class hn{constructor(d,u){this.value=d,this.children=u}toString(){return`TreeNode(${this.value})`}}function Qn(g){const d={};return g&&g.children.forEach(u=>d[u.value.outlet]=u),d}class Pr extends xt{constructor(d,u){super(d),this.snapshot=u,xr(this,d)}toString(){return this.snapshot.toString()}}function Rn(g,d){const u=function Kn(g,d){const Q=new Or([],{},{},"",{},Z,d,null,g.root,-1,{});return new Qr("",new hn(Q,[]))}(g,d),v=new W([new Ct("",{})]),M=new W({}),k=new W({}),Q=new W({}),se=new W(""),Be=new Jn(v,M,Q,se,k,Z,d,u.root);return Be.snapshot=u.root,new Pr(new hn(Be,[]),u)}class Jn{constructor(d,u,v,M,k,Q,se,Be){this.url=d,this.params=u,this.queryParams=v,this.fragment=M,this.data=k,this.outlet=Q,this.component=se,this._futureSnapshot=Be}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,wn.U)(d=>_e(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,wn.U)(d=>_e(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ai(g,d="emptyOnly"){const u=g.pathFromRoot;let v=0;if("always"!==d)for(v=u.length-1;v>=1;){const M=u[v],k=u[v-1];if(M.routeConfig&&""===M.routeConfig.path)v--;else{if(k.component)break;v--}}return function Br(g){return g.reduce((d,u)=>({params:{...d.params,...u.params},data:{...d.data,...u.data},resolve:{...d.resolve,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(v))}class Or{constructor(d,u,v,M,k,Q,se,Be,Pt,On,Ht){this.url=d,this.params=u,this.queryParams=v,this.fragment=M,this.data=k,this.outlet=Q,this.component=se,this.routeConfig=Be,this._urlSegment=Pt,this._lastPathIndex=On,this._resolve=Ht}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=_e(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_e(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Qr extends xt{constructor(d,u){super(u),this.url=d,xr(this,u)}toString(){return Ar(this._root)}}function xr(g,d){d.value._routerState=g,d.children.forEach(u=>xr(g,u))}function Ar(g){const d=g.children.length>0?` { ${g.children.map(Ar).join(", ")} } `:"";return`${g.value}${d}`}function gr(g){if(g.snapshot){const d=g.snapshot,u=g._futureSnapshot;g.snapshot=u,mt(d.queryParams,u.queryParams)||g.queryParams.next(u.queryParams),d.fragment!==u.fragment&&g.fragment.next(u.fragment),mt(d.params,u.params)||g.params.next(u.params),function ht(g,d){if(g.length!==d.length)return!1;for(let u=0;u<g.length;++u)if(!mt(g[u],d[u]))return!1;return!0}(d.url,u.url)||g.url.next(u.url),mt(d.data,u.data)||g.data.next(u.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function Wi(g,d){const u=mt(g.params,d.params)&&function ut(g,d){return gn(g,d)&&g.every((u,v)=>mt(u.parameters,d[v].parameters))}(g.url,d.url);return u&&!(!g.parent!=!d.parent)&&(!g.parent||Wi(g.parent,d.parent))}function mi(g,d,u){if(u&&g.shouldReuseRoute(d.value,u.value.snapshot)){const v=u.value;v._futureSnapshot=d.value;const M=function Jr(g,d,u){return d.children.map(v=>{for(const M of u.children)if(g.shouldReuseRoute(v.value,M.value.snapshot))return mi(g,v,M);return mi(g,v)})}(g,d,u);return new hn(v,M)}{if(g.shouldAttach(d.value)){const k=g.retrieve(d.value);if(null!==k){const Q=k.route;return Q.value._futureSnapshot=d.value,Q.children=d.children.map(se=>mi(g,se)),Q}}const v=function so(g){return new Jn(new W(g.url),new W(g.params),new W(g.queryParams),new W(g.fragment),new W(g.data),g.outlet,g.component,g)}(d.value),M=d.children.map(k=>mi(g,k));return new hn(v,M)}}function Gr(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function ei(g){return"object"==typeof g&&null!=g&&g.outlets}function zr(g,d,u,v,M){let k={};if(v&&K(v,(se,Be)=>{k[Be]=Array.isArray(se)?se.map(Pt=>`${Pt}`):`${se}`}),g===d)return new $e(u,k,M);const Q=ao(g,d,u);return new $e(Q,k,M)}function ao(g,d,u){const v={};return K(g.children,(M,k)=>{v[k]=M===d?u:ao(M,d,u)}),new Ie(g.segments,v)}class li{constructor(d,u,v){if(this.isAbsolute=d,this.numberOfDoubleDots=u,this.commands=v,d&&v.length>0&&Gr(v[0]))throw new Error("Root segment cannot have matrix parameters");const M=v.find(ei);if(M&&M!==Xt(v))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yi{constructor(d,u,v){this.segmentGroup=d,this.processChildren=u,this.index=v}}function Wr(g,d,u){if(g||(g=new Ie([],{})),0===g.segments.length&&g.hasChildren())return Ir(g,d,u);const v=function ti(g,d,u){let v=0,M=d;const k={match:!1,pathIndex:0,commandIndex:0};for(;M<g.segments.length;){if(v>=u.length)return k;const Q=g.segments[M],se=u[v];if(ei(se))break;const Be=`${se}`,Pt=v<u.length-1?u[v+1]:null;if(M>0&&void 0===Be)break;if(Be&&Pt&&"object"==typeof Pt&&void 0===Pt.outlets){if(!lo(Be,Pt,Q))return k;v+=2}else{if(!lo(Be,{},Q))return k;v++}M++}return{match:!0,pathIndex:M,commandIndex:v}}(g,d,u),M=u.slice(v.commandIndex);if(v.match&&v.pathIndex<g.segments.length){const k=new Ie(g.segments.slice(0,v.pathIndex),{});return k.children[Z]=new Ie(g.segments.slice(v.pathIndex),g.children),Ir(k,0,M)}return v.match&&0===M.length?new Ie(g.segments,{}):v.match&&!g.hasChildren()?xi(g,d,u):v.match?Ir(g,0,M):xi(g,d,u)}function Ir(g,d,u){if(0===u.length)return new Ie(g.segments,{});{const v=function ci(g){return ei(g[0])?g[0].outlets:{[Z]:g}}(u),M={};return K(v,(k,Q)=>{"string"==typeof k&&(k=[k]),null!==k&&(M[Q]=Wr(g.children[Q],d,k))}),K(g.children,(k,Q)=>{void 0===v[Q]&&(M[Q]=k)}),new Ie(g.segments,M)}}function xi(g,d,u){const v=g.segments.slice(0,d);let M=0;for(;M<u.length;){const k=u[M];if(ei(k)){const Be=Ai(k.outlets);return new Ie(v,Be)}if(0===M&&Gr(u[0])){v.push(new Ct(g.segments[d].path,Fr(u[0]))),M++;continue}const Q=ei(k)?k.outlets[Z]:`${k}`,se=M<u.length-1?u[M+1]:null;Q&&se&&Gr(se)?(v.push(new Ct(Q,Fr(se))),M+=2):(v.push(new Ct(Q,{})),M++)}return new Ie(v,{})}function Ai(g){const d={};return K(g,(u,v)=>{"string"==typeof u&&(u=[u]),null!==u&&(d[v]=xi(new Ie([],{}),0,u))}),d}function Fr(g){const d={};return K(g,(u,v)=>d[v]=`${u}`),d}function lo(g,d,u){return g==u.path&&mt(d,u.parameters)}class co{constructor(d,u,v,M){this.routeReuseStrategy=d,this.futureState=u,this.currState=v,this.forwardEvent=M}activate(d){const u=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,v,d),gr(this.futureState.root),this.activateChildRoutes(u,v,d)}deactivateChildRoutes(d,u,v){const M=Qn(u);d.children.forEach(k=>{const Q=k.value.outlet;this.deactivateRoutes(k,M[Q],v),delete M[Q]}),K(M,(k,Q)=>{this.deactivateRouteAndItsChildren(k,v)})}deactivateRoutes(d,u,v){const M=d.value,k=u?u.value:null;if(M===k)if(M.component){const Q=v.getContext(M.outlet);Q&&this.deactivateChildRoutes(d,u,Q.children)}else this.deactivateChildRoutes(d,u,v);else k&&this.deactivateRouteAndItsChildren(u,v)}deactivateRouteAndItsChildren(d,u){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,u):this.deactivateRouteAndOutlet(d,u)}detachAndStoreRouteSubtree(d,u){const v=u.getContext(d.value.outlet),M=v&&d.value.component?v.children:u,k=Qn(d);for(const Q of Object.keys(k))this.deactivateRouteAndItsChildren(k[Q],M);if(v&&v.outlet){const Q=v.outlet.detach(),se=v.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:Q,route:d,contexts:se})}}deactivateRouteAndOutlet(d,u){const v=u.getContext(d.value.outlet),M=v&&d.value.component?v.children:u,k=Qn(d);for(const Q of Object.keys(k))this.deactivateRouteAndItsChildren(k[Q],M);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(d,u,v){const M=Qn(u);d.children.forEach(k=>{this.activateRoutes(k,M[k.value.outlet],v),this.forwardEvent(new wt(k.value.snapshot))}),d.children.length&&this.forwardEvent(new In(d.value.snapshot))}activateRoutes(d,u,v){const M=d.value,k=u?u.value:null;if(gr(M),M===k)if(M.component){const Q=v.getOrCreateContext(M.outlet);this.activateChildRoutes(d,u,Q.children)}else this.activateChildRoutes(d,u,v);else if(M.component){const Q=v.getOrCreateContext(M.outlet);if(this.routeReuseStrategy.shouldAttach(M.snapshot)){const se=this.routeReuseStrategy.retrieve(M.snapshot);this.routeReuseStrategy.store(M.snapshot,null),Q.children.onOutletReAttached(se.contexts),Q.attachRef=se.componentRef,Q.route=se.route.value,Q.outlet&&Q.outlet.attach(se.componentRef,se.route.value),gr(se.route.value),this.activateChildRoutes(d,null,Q.children)}else{const se=function uo(g){for(let d=g.parent;d;d=d.parent){const u=d.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig;if(u&&u.component)return null}return null}(M.snapshot),Be=se?se.module.componentFactoryResolver:null;Q.attachRef=null,Q.route=M,Q.resolver=Be,Q.outlet&&Q.outlet.activateWith(M,Be),this.activateChildRoutes(d,null,Q.children)}}else this.activateChildRoutes(d,null,v)}}class dr{constructor(d,u){this.routes=d,this.module=u}}function Rr(g){return"function"==typeof g}function Cr(g){return g instanceof $e}const b=Symbol("INITIAL_VALUE");function L(){return(0,Zn.w)(g=>function be(...g){let d,u;return(0,H.K)(g[g.length-1])&&(u=g.pop()),"function"==typeof g[g.length-1]&&(d=g.pop()),1===g.length&&(0,z.k)(g[0])&&(g=g[0]),(0,Ee.n)(g,u).lift(new Pe(d))}(g.map(d=>d.pipe((0,Cn.q)(1),function X(...g){const d=g[g.length-1];return(0,H.K)(d)?(g.pop(),u=>un(g,u,d)):u=>un(g,u)}(b)))).pipe(ye((d,u)=>{let v=!1;return u.reduce((M,k,Q)=>M!==b?M:(k===b&&(v=!0),v||!1!==k&&Q!==u.length-1&&!Cr(k)?M:k),d)},b),(0,gt.h)(d=>d!==b),(0,wn.U)(d=>Cr(d)?d:!0===d),(0,Cn.q)(1)))}class ne{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Oe,this.attachRef=null}}class Oe{constructor(){this.contexts=new Map}onChildOutletCreated(d,u){const v=this.getOrCreateContext(d);v.outlet=u,this.contexts.set(d,v)}onChildOutletDestroyed(d){const u=this.getContext(d);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let u=this.getContext(d);return u||(u=new ne,this.contexts.set(d,u)),u}getContext(d){return this.contexts.get(d)||null}}let Ze=(()=>{class g{constructor(u,v,M,k,Q){this.parentContexts=u,this.location=v,this.resolver=M,this.changeDetector=Q,this.activated=null,this._activatedRoute=null,this.activateEvents=new S.vpe,this.deactivateEvents=new S.vpe,this.attachEvents=new S.vpe,this.detachEvents=new S.vpe,this.name=k||Z,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,v){this.activated=u,this._activatedRoute=v,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,v){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;const Q=(v=v||this.resolver).resolveComponentFactory(u._futureSnapshot.routeConfig.component),se=this.parentContexts.getOrCreateContext(this.name).children,Be=new dt(u,se,this.location.injector);this.activated=this.location.createComponent(Q,this.location.length,Be),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.\u0275fac=function(u){return new(u||g)(S.Y36(Oe),S.Y36(S.s_b),S.Y36(S._Vd),S.$8M("name"),S.Y36(S.sBO))},g.\u0275dir=S.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),g})();class dt{constructor(d,u,v){this.route=d,this.childContexts=u,this.parent=v}get(d,u){return d===Jn?this.route:d===Oe?this.childContexts:this.parent.get(d,u)}}let $n=(()=>{class g{}return g.\u0275fac=function(u){return new(u||g)},g.\u0275cmp=S.Xpm({type:g,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,v){1&u&&S._UZ(0,"router-outlet")},directives:[Ze],encapsulation:2}),g})();function kn(g,d=""){for(let u=0;u<g.length;u++){const v=g[u];Ln(v,tn(d,v))}}function Ln(g,d){g.children&&kn(g.children,d)}function tn(g,d){return d?g||d.path?g&&!d.path?`${g}/`:!g&&d.path?d.path:`${g}/${d.path}`:"":g}function nr(g){const d=g.children&&g.children.map(nr),u=d?{...g,children:d}:{...g};return!u.component&&(d||u.loadChildren)&&u.outlet&&u.outlet!==Z&&(u.component=$n),u}function yn(g){return g.outlet||Z}function Yn(g,d){const u=g.filter(v=>yn(v)===d);return u.push(...g.filter(v=>yn(v)!==d)),u}const w={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function y(g,d,u){if(""===d.path)return"full"===d.pathMatch&&(g.hasChildren()||u.length>0)?{...w}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const M=(d.matcher||st)(u,g,d);if(!M)return{...w};const k={};K(M.posParams,(se,Be)=>{k[Be]=se.path});const Q=M.consumed.length>0?{...k,...M.consumed[M.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:M.consumed,remainingSegments:u.slice(M.consumed.length),parameters:Q,positionalParamSegments:M.posParams??{}}}function _(g,d,u,v,M="corrected"){if(u.length>0&&function At(g,d,u){return u.some(v=>Ft(g,d,v)&&yn(v)!==Z)}(g,u,v)){const Q=new Ie(d,function xe(g,d,u,v){const M={};M[Z]=v,v._sourceSegment=g,v._segmentIndexShift=d.length;for(const k of u)if(""===k.path&&yn(k)!==Z){const Q=new Ie([],{});Q._sourceSegment=g,Q._segmentIndexShift=d.length,M[yn(k)]=Q}return M}(g,d,v,new Ie(u,g.children)));return Q._sourceSegment=g,Q._segmentIndexShift=d.length,{segmentGroup:Q,slicedSegments:[]}}if(0===u.length&&function Gn(g,d,u){return u.some(v=>Ft(g,d,v))}(g,u,v)){const Q=new Ie(g.segments,function R(g,d,u,v,M,k){const Q={};for(const se of v)if(Ft(g,u,se)&&!M[yn(se)]){const Be=new Ie([],{});Be._sourceSegment=g,Be._segmentIndexShift="legacy"===k?g.segments.length:d.length,Q[yn(se)]=Be}return{...M,...Q}}(g,d,u,v,g.children,M));return Q._sourceSegment=g,Q._segmentIndexShift=d.length,{segmentGroup:Q,slicedSegments:u}}const k=new Ie(g.segments,g.children);return k._sourceSegment=g,k._segmentIndexShift=d.length,{segmentGroup:k,slicedSegments:u}}function Ft(g,d,u){return(!(g.hasChildren()||d.length>0)||"full"!==u.pathMatch)&&""===u.path}function vi(g,d,u,v){return!!(yn(g)===v||v!==Z&&Ft(d,u,g))&&("**"===g.path||y(d,g,u).matched)}function fo(g,d,u){return 0===d.length&&!g.children[u]}class Ri{constructor(d){this.segmentGroup=d||null}}class hs{constructor(d){this.urlTree=d}}function Ki(g){return(0,Qe._)(new Ri(g))}function To(g){return(0,Qe._)(new hs(g))}class Pn{constructor(d,u,v,M,k){this.configLoader=u,this.urlSerializer=v,this.urlTree=M,this.config=k,this.allowRedirects=!0,this.ngModule=d.get(S.h0i)}apply(){const d=_(this.urlTree.root,[],[],this.config).segmentGroup,u=new Ie(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,u,Z).pipe((0,wn.U)(k=>this.createUrlTree(rr(k),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,er.K)(k=>{if(k instanceof hs)return this.allowRedirects=!1,this.match(k.urlTree);throw k instanceof Ri?this.noMatchError(k):k}))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,Z).pipe((0,wn.U)(M=>this.createUrlTree(rr(M),d.queryParams,d.fragment))).pipe((0,er.K)(M=>{throw M instanceof Ri?this.noMatchError(M):M}))}noMatchError(d){return new Error(`Cannot match any routes. URL Segment: '${d.segmentGroup}'`)}createUrlTree(d,u,v){const M=d.segments.length>0?new Ie([],{[Z]:d}):d;return new $e(M,u,v)}expandSegmentGroup(d,u,v,M){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(d,u,v).pipe((0,wn.U)(k=>new Ie([],k))):this.expandSegment(d,v,u,v.segments,M,!0)}expandChildren(d,u,v){const M=[];for(const k of Object.keys(v.children))"primary"===k?M.unshift(k):M.push(k);return(0,sn.D)(M).pipe((0,lr.b)(k=>{const Q=v.children[k],se=Yn(u,k);return this.expandSegmentGroup(d,se,Q,k).pipe((0,wn.U)(Be=>({segment:Be,outlet:k})))}),ye((k,Q)=>(k[Q.outlet]=Q.segment,k),{}),function ar(g,d){const u=arguments.length>=2;return v=>v.pipe(g?(0,gt.h)((M,k)=>g(M,k,v)):An.y,je(1),u?Vn(d):Jt(()=>new Xe))}())}expandSegment(d,u,v,M,k,Q){return(0,sn.D)(v).pipe((0,lr.b)(se=>this.expandSegmentAgainstRoute(d,u,v,se,M,k,Q).pipe((0,er.K)(Pt=>{if(Pt instanceof Ri)return(0,Ye.of)(null);throw Pt}))),Bn(se=>!!se),(0,er.K)((se,Be)=>{if(se instanceof Xe||"EmptyError"===se.name)return fo(u,M,k)?(0,Ye.of)(new Ie([],{})):Ki(u);throw se}))}expandSegmentAgainstRoute(d,u,v,M,k,Q,se){return vi(M,u,k,Q)?void 0===M.redirectTo?this.matchSegmentAgainstRoute(d,u,M,k,Q):se&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,u,v,M,k,Q):Ki(u):Ki(u)}expandSegmentAgainstRouteUsingRedirect(d,u,v,M,k,Q){return"**"===M.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,v,M,Q):this.expandRegularSegmentAgainstRouteUsingRedirect(d,u,v,M,k,Q)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,u,v,M){const k=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?To(k):this.lineralizeSegments(v,k).pipe((0,Un.zg)(Q=>{const se=new Ie(Q,{});return this.expandSegment(d,se,u,Q,M,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,u,v,M,k,Q){const{matched:se,consumedSegments:Be,remainingSegments:Pt,positionalParamSegments:On}=y(u,M,k);if(!se)return Ki(u);const Ht=this.applyRedirectCommands(Be,M.redirectTo,On);return M.redirectTo.startsWith("/")?To(Ht):this.lineralizeSegments(M,Ht).pipe((0,Un.zg)(Nn=>this.expandSegment(d,u,v,Nn.concat(Pt),Q,!1)))}matchSegmentAgainstRoute(d,u,v,M,k){if("**"===v.path)return v.loadChildren?(v._loadedConfig?(0,Ye.of)(v._loadedConfig):this.configLoader.load(d.injector,v)).pipe((0,wn.U)(Ht=>(v._loadedConfig=Ht,new Ie(M,{})))):(0,Ye.of)(new Ie(M,{}));const{matched:Q,consumedSegments:se,remainingSegments:Be}=y(u,v,M);return Q?this.getChildConfig(d,v,M).pipe((0,Un.zg)(On=>{const Ht=On.module,Nn=On.routes,{segmentGroup:jn,slicedSegments:wo}=_(u,se,Be,Nn),Vi=new Ie(jn.segments,jn.children);if(0===wo.length&&Vi.hasChildren())return this.expandChildren(Ht,Nn,Vi).pipe((0,wn.U)(or=>new Ie(se,or)));if(0===Nn.length&&0===wo.length)return(0,Ye.of)(new Ie(se,{}));const bi=yn(v)===k;return this.expandSegment(Ht,Vi,Nn,wo,bi?Z:k,!0).pipe((0,wn.U)(Eo=>new Ie(se.concat(Eo.segments),Eo.children)))})):Ki(u)}getChildConfig(d,u,v){return u.children?(0,Ye.of)(new dr(u.children,d)):u.loadChildren?void 0!==u._loadedConfig?(0,Ye.of)(u._loadedConfig):this.runCanLoadGuards(d.injector,u,v).pipe((0,Un.zg)(M=>M?this.configLoader.load(d.injector,u).pipe((0,wn.U)(k=>(u._loadedConfig=k,k))):function jr(g){return(0,Qe._)(ke(`Cannot load children because the guard of the route "path: '${g.path}'" returned false`))}(u))):(0,Ye.of)(new dr([],d))}runCanLoadGuards(d,u,v){const M=u.canLoad;if(!M||0===M.length)return(0,Ye.of)(!0);const k=M.map(Q=>{const se=d.get(Q);let Be;if(function ho(g){return g&&Rr(g.canLoad)}(se))Be=se.canLoad(u,v);else{if(!Rr(se))throw new Error("Invalid CanLoad guard");Be=se(u,v)}return $(Be)});return(0,Ye.of)(k).pipe(L(),(0,mn.b)(Q=>{if(!Cr(Q))return;const se=ke(`Redirecting to "${this.urlSerializer.serialize(Q)}"`);throw se.url=Q,se}),(0,wn.U)(Q=>!0===Q))}lineralizeSegments(d,u){let v=[],M=u.root;for(;;){if(v=v.concat(M.segments),0===M.numberOfChildren)return(0,Ye.of)(v);if(M.numberOfChildren>1||!M.children[Z])return(0,Qe._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${d.redirectTo}'`));M=M.children[Z]}}applyRedirectCommands(d,u,v){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),d,v)}applyRedirectCreatreUrlTree(d,u,v,M){const k=this.createSegmentGroup(d,u.root,v,M);return new $e(k,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(d,u){const v={};return K(d,(M,k)=>{if("string"==typeof M&&M.startsWith(":")){const se=M.substring(1);v[k]=u[se]}else v[k]=M}),v}createSegmentGroup(d,u,v,M){const k=this.createSegments(d,u.segments,v,M);let Q={};return K(u.children,(se,Be)=>{Q[Be]=this.createSegmentGroup(d,se,v,M)}),new Ie(k,Q)}createSegments(d,u,v,M){return u.map(k=>k.path.startsWith(":")?this.findPosParam(d,k,M):this.findOrReturn(k,v))}findPosParam(d,u,v){const M=v[u.path.substring(1)];if(!M)throw new Error(`Cannot redirect to '${d}'. Cannot find '${u.path}'.`);return M}findOrReturn(d,u){let v=0;for(const M of u){if(M.path===d.path)return u.splice(v),M;v++}return d}}function rr(g){const d={};for(const v of Object.keys(g.children)){const k=rr(g.children[v]);(k.segments.length>0||k.hasChildren())&&(d[v]=k)}return function ps(g){if(1===g.numberOfChildren&&g.children[Z]){const d=g.children[Z];return new Ie(g.segments.concat(d.segments),d.children)}return g}(new Ie(g.segments,d))}class Ni{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class br{constructor(d,u){this.component=d,this.route=u}}function Lo(g,d,u){const v=g._root;return go(v,d?d._root:null,u,[v.value])}function po(g,d,u){const v=function na(g){if(!g)return null;for(let d=g.parent;d;d=d.parent){const u=d.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig}return null}(d);return(v?v.module.injector:u).get(g)}function go(g,d,u,v,M={canDeactivateChecks:[],canActivateChecks:[]}){const k=Qn(d);return g.children.forEach(Q=>{(function Po(g,d,u,v,M={canDeactivateChecks:[],canActivateChecks:[]}){const k=g.value,Q=d?d.value:null,se=u?u.getContext(g.value.outlet):null;if(Q&&k.routeConfig===Q.routeConfig){const Be=function Mr(g,d,u){if("function"==typeof u)return u(g,d);switch(u){case"pathParamsChange":return!gn(g.url,d.url);case"pathParamsOrQueryParamsChange":return!gn(g.url,d.url)||!mt(g.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wi(g,d)||!mt(g.queryParams,d.queryParams);default:return!Wi(g,d)}}(Q,k,k.routeConfig.runGuardsAndResolvers);Be?M.canActivateChecks.push(new Ni(v)):(k.data=Q.data,k._resolvedData=Q._resolvedData),go(g,d,k.component?se?se.children:null:u,v,M),Be&&se&&se.outlet&&se.outlet.isActivated&&M.canDeactivateChecks.push(new br(se.outlet.component,Q))}else Q&&kr(d,se,M),M.canActivateChecks.push(new Ni(v)),go(g,null,k.component?se?se.children:null:u,v,M)})(Q,k[Q.value.outlet],u,v.concat([Q.value]),M),delete k[Q.value.outlet]}),K(k,(Q,se)=>kr(Q,u.getContext(se),M)),M}function kr(g,d,u){const v=Qn(g),M=g.value;K(v,(k,Q)=>{kr(k,M.component?d?d.children.getContext(Q):null:d,u)}),u.canDeactivateChecks.push(new br(M.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,M))}class jo{}function Ho(g){return new ae.y(d=>d.error(g))}class ia{constructor(d,u,v,M,k,Q){this.rootComponentType=d,this.config=u,this.urlTree=v,this.url=M,this.paramsInheritanceStrategy=k,this.relativeLinkResolution=Q}recognize(){const d=_(this.urlTree.root,[],[],this.config.filter(Q=>void 0===Q.redirectTo),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,d,Z);if(null===u)return null;const v=new Or([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Z,this.rootComponentType,null,this.urlTree.root,-1,{}),M=new hn(v,u),k=new Qr(this.url,M);return this.inheritParamsAndData(k._root),k}inheritParamsAndData(d){const u=d.value,v=ai(u,this.paramsInheritanceStrategy);u.params=Object.freeze(v.params),u.data=Object.freeze(v.data),d.children.forEach(M=>this.inheritParamsAndData(M))}processSegmentGroup(d,u,v){return 0===u.segments.length&&u.hasChildren()?this.processChildren(d,u):this.processSegment(d,u,u.segments,v)}processChildren(d,u){const v=[];for(const k of Object.keys(u.children)){const Q=u.children[k],se=Yn(d,k),Be=this.processSegmentGroup(se,Q,k);if(null===Be)return null;v.push(...Be)}const M=zo(v);return function $o(g){g.sort((d,u)=>d.value.outlet===Z?-1:u.value.outlet===Z?1:d.value.outlet.localeCompare(u.value.outlet))}(M),M}processSegment(d,u,v,M){for(const k of d){const Q=this.processSegmentAgainstRoute(k,u,v,M);if(null!==Q)return Q}return fo(u,v,M)?[]:null}processSegmentAgainstRoute(d,u,v,M){if(d.redirectTo||!vi(d,u,v,M))return null;let k,Q=[],se=[];if("**"===d.path){const jn=v.length>0?Xt(v).parameters:{};k=new Or(v,jn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sa(d),yn(d),d.component,d,Cs(u),_o(u)+v.length,aa(d))}else{const jn=y(u,d,v);if(!jn.matched)return null;Q=jn.consumedSegments,se=jn.remainingSegments,k=new Or(Q,jn.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sa(d),yn(d),d.component,d,Cs(u),_o(u)+Q.length,aa(d))}const Be=function mo(g){return g.children?g.children:g.loadChildren?g._loadedConfig.routes:[]}(d),{segmentGroup:Pt,slicedSegments:On}=_(u,Q,se,Be.filter(jn=>void 0===jn.redirectTo),this.relativeLinkResolution);if(0===On.length&&Pt.hasChildren()){const jn=this.processChildren(Be,Pt);return null===jn?null:[new hn(k,jn)]}if(0===Be.length&&0===On.length)return[new hn(k,[])];const Ht=yn(d)===M,Nn=this.processSegment(Be,Pt,On,Ht?Z:M);return null===Nn?null:[new hn(k,Nn)]}}function Go(g){const d=g.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function zo(g){const d=[],u=new Set;for(const v of g){if(!Go(v)){d.push(v);continue}const M=d.find(k=>v.value.routeConfig===k.value.routeConfig);void 0!==M?(M.children.push(...v.children),u.add(M)):d.push(v)}for(const v of u){const M=zo(v.children);d.push(new hn(v.value,M))}return d.filter(v=>!u.has(v))}function Cs(g){let d=g;for(;d._sourceSegment;)d=d._sourceSegment;return d}function _o(g){let d=g,u=d._segmentIndexShift?d._segmentIndexShift:0;for(;d._sourceSegment;)d=d._sourceSegment,u+=d._segmentIndexShift?d._segmentIndexShift:0;return u-1}function sa(g){return g.data||{}}function aa(g){return g.resolve||{}}function bs(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}function Wo(g){return(0,Zn.w)(d=>{const u=g(d);return u?(0,sn.D)(u).pipe((0,wn.U)(()=>d)):(0,Ye.of)(d)})}class qo extends class $a{shouldDetach(d){return!1}store(d,u){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,u){return d.routeConfig===u.routeConfig}}{}const yo=new S.OlP("ROUTES");class Oo{constructor(d,u,v,M){this.injector=d,this.compiler=u,this.onLoadStartListener=v,this.onLoadEndListener=M}load(d,u){if(u._loader$)return u._loader$;this.onLoadStartListener&&this.onLoadStartListener(u);const M=this.loadModuleFactory(u.loadChildren).pipe((0,wn.U)(k=>{this.onLoadEndListener&&this.onLoadEndListener(u);const Q=k.create(d);return new dr(Et(Q.injector.get(yo,void 0,S.XFs.Self|S.XFs.Optional)).map(nr),Q)}),(0,er.K)(k=>{throw u._loader$=void 0,k}));return u._loader$=new Ke.c(M,()=>new te.xQ).pipe((0,sr.x)()),u._loader$}loadModuleFactory(d){return $(d()).pipe((0,Un.zg)(u=>u instanceof S.YKP?(0,Ye.of)(u):(0,sn.D)(this.compiler.compileModuleAsync(u))))}}class ua{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,u){return d}}function Ga(g){throw g}function ki(g,d,u){return d.parse("/")}function Zi(g,d){return(0,Ye.of)(null)}const da={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ha={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hr=(()=>{class g{constructor(u,v,M,k,Q,se,Be){this.rootComponentType=u,this.urlSerializer=v,this.rootContexts=M,this.location=k,this.config=Be,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new te.xQ,this.errorHandler=Ga,this.malformedUriErrorHandler=ki,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Zi,afterPreactivation:Zi},this.urlHandlingStrategy=new ua,this.routeReuseStrategy=new qo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Q.get(S.h0i),this.console=Q.get(S.c2e);const Ht=Q.get(S.R0b);this.isNgZoneEnabled=Ht instanceof S.R0b&&S.R0b.isInAngularZone(),this.resetConfig(Be),this.currentUrlTree=function ge(){return new $e(new Ie([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Oo(Q,se,Nn=>this.triggerEvent(new bt(Nn)),Nn=>this.triggerEvent(new tr(Nn))),this.routerState=Rn(this.currentUrlTree,this.rootComponentType),this.transitions=new W({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(u){const v=this.events;return u.pipe((0,gt.h)(M=>0!==M.id),(0,wn.U)(M=>({...M,extractedUrl:this.urlHandlingStrategy.extract(M.rawUrl)})),(0,Zn.w)(M=>{let k=!1,Q=!1;return(0,Ye.of)(M).pipe((0,mn.b)(se=>{this.currentNavigation={id:se.id,initialUrl:se.currentRawUrl,extractedUrl:se.extractedUrl,trigger:se.source,extras:se.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Zn.w)(se=>{const Be=this.browserUrlTree.toString(),Pt=!this.navigated||se.extractedUrl.toString()!==Be||Be!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Pt)&&this.urlHandlingStrategy.shouldProcessUrl(se.rawUrl))return Es(se.source)&&(this.browserUrlTree=se.extractedUrl),(0,Ye.of)(se).pipe((0,Zn.w)(Ht=>{const Nn=this.transitions.getValue();return v.next(new Se(Ht.id,this.serializeUrl(Ht.extractedUrl),Ht.source,Ht.restoredState)),Nn!==this.transitions.getValue()?$t.E:Promise.resolve(Ht)}),function gs(g,d,u,v){return(0,Zn.w)(M=>function ze(g,d,u,v,M){return new Pn(g,d,u,v,M).apply()}(g,d,u,M.extractedUrl,v).pipe((0,wn.U)(k=>({...M,urlAfterRedirects:k}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,mn.b)(Ht=>{this.currentNavigation={...this.currentNavigation,finalUrl:Ht.urlAfterRedirects}}),function Sr(g,d,u,v,M){return(0,Un.zg)(k=>function Uo(g,d,u,v,M="emptyOnly",k="legacy"){try{const Q=new ia(g,d,u,v,M,k).recognize();return null===Q?Ho(new jo):(0,Ye.of)(Q)}catch(Q){return Ho(Q)}}(g,d,k.urlAfterRedirects,u(k.urlAfterRedirects),v,M).pipe((0,wn.U)(Q=>({...k,targetSnapshot:Q}))))}(this.rootComponentType,this.config,Ht=>this.serializeUrl(Ht),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,mn.b)(Ht=>{if("eager"===this.urlUpdateStrategy){if(!Ht.extras.skipLocationChange){const jn=this.urlHandlingStrategy.merge(Ht.urlAfterRedirects,Ht.rawUrl);this.setBrowserUrl(jn,Ht)}this.browserUrlTree=Ht.urlAfterRedirects}const Nn=new Ne(Ht.id,this.serializeUrl(Ht.extractedUrl),this.serializeUrl(Ht.urlAfterRedirects),Ht.targetSnapshot);v.next(Nn)}));if(Pt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Nn,extractedUrl:jn,source:wo,restoredState:Vi,extras:bi}=se,Ao=new Se(Nn,this.serializeUrl(jn),wo,Vi);v.next(Ao);const Eo=Rn(jn,this.rootComponentType).snapshot;return(0,Ye.of)({...se,targetSnapshot:Eo,urlAfterRedirects:jn,extras:{...bi,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=se.rawUrl,se.resolve(null),$t.E}),Wo(se=>{const{targetSnapshot:Be,id:Pt,extractedUrl:On,rawUrl:Ht,extras:{skipLocationChange:Nn,replaceUrl:jn}}=se;return this.hooks.beforePreactivation(Be,{navigationId:Pt,appliedUrlTree:On,rawUrlTree:Ht,skipLocationChange:!!Nn,replaceUrl:!!jn})}),(0,mn.b)(se=>{const Be=new Ge(se.id,this.serializeUrl(se.extractedUrl),this.serializeUrl(se.urlAfterRedirects),se.targetSnapshot);this.triggerEvent(Be)}),(0,wn.U)(se=>({...se,guards:Lo(se.targetSnapshot,se.currentSnapshot,this.rootContexts)})),function ms(g,d){return(0,Un.zg)(u=>{const{targetSnapshot:v,currentSnapshot:M,guards:{canActivateChecks:k,canDeactivateChecks:Q}}=u;return 0===Q.length&&0===k.length?(0,Ye.of)({...u,guardsResult:!0}):function Fi(g,d,u,v){return(0,sn.D)(g).pipe((0,Un.zg)(M=>function Bo(g,d,u,v,M){const k=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,Ye.of)(!0);const Q=k.map(se=>{const Be=po(se,d,M);let Pt;if(function I(g){return g&&Rr(g.canDeactivate)}(Be))Pt=$(Be.canDeactivate(g,d,u,v));else{if(!Rr(Be))throw new Error("Invalid CanDeactivate guard");Pt=$(Be(g,d,u,v))}return Pt.pipe(Bn())});return(0,Ye.of)(Q).pipe(L())}(M.component,M.route,u,d,v)),Bn(M=>!0!==M,!0))}(Q,v,M,g).pipe((0,Un.zg)(se=>se&&function ui(g){return"boolean"==typeof g}(se)?function Hr(g,d,u,v){return(0,sn.D)(d).pipe((0,lr.b)(M=>un(function ys(g,d){return null!==g&&d&&d(new Tn(g)),(0,Ye.of)(!0)}(M.route.parent,v),function _s(g,d){return null!==g&&d&&d(new Bt(g)),(0,Ye.of)(!0)}(M.route,v),function ra(g,d,u){const v=d[d.length-1],k=d.slice(0,d.length-1).reverse().map(Q=>function Vo(g){const d=g.routeConfig?g.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:g,guards:d}:null}(Q)).filter(Q=>null!==Q).map(Q=>Qt(()=>{const se=Q.guards.map(Be=>{const Pt=po(Be,Q.node,u);let On;if(function C(g){return g&&Rr(g.canActivateChild)}(Pt))On=$(Pt.canActivateChild(v,g));else{if(!Rr(Pt))throw new Error("Invalid CanActivateChild guard");On=$(Pt(v,g))}return On.pipe(Bn())});return(0,Ye.of)(se).pipe(L())}));return(0,Ye.of)(k).pipe(L())}(g,M.path,u),function vs(g,d,u){const v=d.routeConfig?d.routeConfig.canActivate:null;if(!v||0===v.length)return(0,Ye.of)(!0);const M=v.map(k=>Qt(()=>{const Q=po(k,d,u);let se;if(function Yi(g){return g&&Rr(g.canActivate)}(Q))se=$(Q.canActivate(d,g));else{if(!Rr(Q))throw new Error("Invalid CanActivate guard");se=$(Q(d,g))}return se.pipe(Bn())}));return(0,Ye.of)(M).pipe(L())}(g,M.route,u))),Bn(M=>!0!==M,!0))}(v,k,g,d):(0,Ye.of)(se)),(0,wn.U)(se=>({...u,guardsResult:se})))})}(this.ngModule.injector,se=>this.triggerEvent(se)),(0,mn.b)(se=>{if(Cr(se.guardsResult)){const Pt=ke(`Redirecting to "${this.serializeUrl(se.guardsResult)}"`);throw Pt.url=se.guardsResult,Pt}const Be=new nt(se.id,this.serializeUrl(se.extractedUrl),this.serializeUrl(se.urlAfterRedirects),se.targetSnapshot,!!se.guardsResult);this.triggerEvent(Be)}),(0,gt.h)(se=>!!se.guardsResult||(this.restoreHistory(se),this.cancelNavigationTransition(se,""),!1)),Wo(se=>{if(se.guards.canActivateChecks.length)return(0,Ye.of)(se).pipe((0,mn.b)(Be=>{const Pt=new En(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot);this.triggerEvent(Pt)}),(0,Zn.w)(Be=>{let Pt=!1;return(0,Ye.of)(Be).pipe(function Ci(g,d){return(0,Un.zg)(u=>{const{targetSnapshot:v,guards:{canActivateChecks:M}}=u;if(!M.length)return(0,Ye.of)(u);let k=0;return(0,sn.D)(M).pipe((0,lr.b)(Q=>function ir(g,d,u,v){return function la(g,d,u,v){const M=bs(g);if(0===M.length)return(0,Ye.of)({});const k={};return(0,sn.D)(M).pipe((0,Un.zg)(Q=>function ca(g,d,u,v){const M=po(g,d,v);return $(M.resolve?M.resolve(d,u):M(d,u))}(g[Q],d,u,v).pipe((0,mn.b)(se=>{k[Q]=se}))),je(1),(0,Un.zg)(()=>bs(k).length===M.length?(0,Ye.of)(k):$t.E))}(g._resolve,g,d,v).pipe((0,wn.U)(k=>(g._resolvedData=k,g.data={...g.data,...ai(g,u).resolve},null)))}(Q.route,v,g,d)),(0,mn.b)(()=>k++),je(1),(0,Un.zg)(Q=>k===M.length?(0,Ye.of)(u):$t.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,mn.b)({next:()=>Pt=!0,complete:()=>{Pt||(this.restoreHistory(Be),this.cancelNavigationTransition(Be,"At least one route resolver didn't emit any value."))}}))}),(0,mn.b)(Be=>{const Pt=new Gt(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot);this.triggerEvent(Pt)}))}),Wo(se=>{const{targetSnapshot:Be,id:Pt,extractedUrl:On,rawUrl:Ht,extras:{skipLocationChange:Nn,replaceUrl:jn}}=se;return this.hooks.afterPreactivation(Be,{navigationId:Pt,appliedUrlTree:On,rawUrlTree:Ht,skipLocationChange:!!Nn,replaceUrl:!!jn})}),(0,wn.U)(se=>{const Be=function Pi(g,d,u){const v=mi(g,d._root,u?u._root:void 0);return new Pr(v,d)}(this.routeReuseStrategy,se.targetSnapshot,se.currentRouterState);return{...se,targetRouterState:Be}}),(0,mn.b)(se=>{this.currentUrlTree=se.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(se.urlAfterRedirects,se.rawUrl),this.routerState=se.targetRouterState,"deferred"===this.urlUpdateStrategy&&(se.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,se),this.browserUrlTree=se.urlAfterRedirects)}),((g,d,u)=>(0,wn.U)(v=>(new co(d,v.targetRouterState,v.currentRouterState,u).activate(g),v)))(this.rootContexts,this.routeReuseStrategy,se=>this.triggerEvent(se)),(0,mn.b)({next(){k=!0},complete(){k=!0}}),(0,vr.x)(()=>{k||Q||this.cancelNavigationTransition(M,`Navigation ID ${M.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===M.id&&(this.currentNavigation=null)}),(0,er.K)(se=>{if(Q=!0,function Je(g){return g&&g[ve]}(se)){const Be=Cr(se.url);Be||(this.navigated=!0,this.restoreHistory(M,!0));const Pt=new ce(M.id,this.serializeUrl(M.extractedUrl),se.message);v.next(Pt),Be?setTimeout(()=>{const On=this.urlHandlingStrategy.merge(se.url,this.rawUrlTree),Ht={skipLocationChange:M.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Es(M.source)};this.scheduleNavigation(On,"imperative",null,Ht,{resolve:M.resolve,reject:M.reject,promise:M.promise})},0):M.resolve(!1)}else{this.restoreHistory(M,!0);const Be=new qe(M.id,this.serializeUrl(M.extractedUrl),se);v.next(Be);try{M.resolve(this.errorHandler(se))}catch(Pt){M.reject(Pt)}}return $t.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const v="popstate"===u.type?"popstate":"hashchange";"popstate"===v&&setTimeout(()=>{const M={replaceUrl:!0},k=u.state?.navigationId?u.state:null;if(k){const se={...k};delete se.navigationId,delete se.\u0275routerPageId,0!==Object.keys(se).length&&(M.state=se)}const Q=this.parseUrl(u.url);this.scheduleNavigation(Q,v,k,M)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){kn(u),this.config=u.map(nr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,v={}){const{relativeTo:M,queryParams:k,fragment:Q,queryParamsHandling:se,preserveFragment:Be}=v,Pt=M||this.routerState.root,On=Be?this.currentUrlTree.fragment:Q;let Ht=null;switch(se){case"merge":Ht={...this.currentUrlTree.queryParams,...k};break;case"preserve":Ht=this.currentUrlTree.queryParams;break;default:Ht=k||null}return null!==Ht&&(Ht=this.removeEmptyProps(Ht)),function Xr(g,d,u,v,M){if(0===u.length)return zr(d.root,d.root,d.root,v,M);const k=function _i(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new li(!0,0,g);let d=0,u=!1;const v=g.reduce((M,k,Q)=>{if("object"==typeof k&&null!=k){if(k.outlets){const se={};return K(k.outlets,(Be,Pt)=>{se[Pt]="string"==typeof Be?Be.split("/"):Be}),[...M,{outlets:se}]}if(k.segmentPath)return[...M,k.segmentPath]}return"string"!=typeof k?[...M,k]:0===Q?(k.split("/").forEach((se,Be)=>{0==Be&&"."===se||(0==Be&&""===se?u=!0:".."===se?d++:""!=se&&M.push(se))}),M):[...M,k]},[]);return new li(u,d,v)}(u);if(k.toRoot())return zr(d.root,d.root,new Ie([],{}),v,M);const Q=function Oi(g,d,u){if(g.isAbsolute)return new yi(d.root,!0,0);if(-1===u.snapshot._lastPathIndex){const k=u.snapshot._urlSegment;return new yi(k,k===d.root,0)}const v=Gr(g.commands[0])?0:1;return function qi(g,d,u){let v=g,M=d,k=u;for(;k>M;){if(k-=M,v=v.parent,!v)throw new Error("Invalid number of '../'");M=v.segments.length}return new yi(v,!1,M-k)}(u.snapshot._urlSegment,u.snapshot._lastPathIndex+v,g.numberOfDoubleDots)}(k,d,g),se=Q.processChildren?Ir(Q.segmentGroup,Q.index,k.commands):Wr(Q.segmentGroup,Q.index,k.commands);return zr(d.root,Q.segmentGroup,se,v,M)}(Pt,this.currentUrlTree,u,Ht,On??null)}navigateByUrl(u,v={skipLocationChange:!1}){const M=Cr(u)?u:this.parseUrl(u),k=this.urlHandlingStrategy.merge(M,this.rawUrlTree);return this.scheduleNavigation(k,"imperative",null,v)}navigate(u,v={skipLocationChange:!1}){return function Yo(g){for(let d=0;d<g.length;d++){const u=g[d];if(null==u)throw new Error(`The requested path contains ${u} segment at index ${d}`)}}(u),this.navigateByUrl(this.createUrlTree(u,v),v)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let v;try{v=this.urlSerializer.parse(u)}catch(M){v=this.malformedUriErrorHandler(M,this.urlSerializer,u)}return v}isActive(u,v){let M;if(M=!0===v?{...da}:!1===v?{...ha}:v,Cr(u))return ft(this.currentUrlTree,u,M);const k=this.parseUrl(u);return ft(this.currentUrlTree,k,M)}removeEmptyProps(u){return Object.keys(u).reduce((v,M)=>{const k=u[M];return null!=k&&(v[M]=k),v},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new ue(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,v,M,k,Q){if(this.disposed)return Promise.resolve(!1);let se,Be,Pt;Q?(se=Q.resolve,Be=Q.reject,Pt=Q.promise):Pt=new Promise((Nn,jn)=>{se=Nn,Be=jn});const On=++this.navigationId;let Ht;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(M=this.location.getState()),Ht=M&&M.\u0275routerPageId?M.\u0275routerPageId:k.replaceUrl||k.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Ht=0,this.setTransition({id:On,targetPageId:Ht,source:v,restoredState:M,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:k,resolve:se,reject:Be,promise:Pt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Pt.catch(Nn=>Promise.reject(Nn))}setBrowserUrl(u,v){const M=this.urlSerializer.serialize(u),k={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(M)||v.extras.replaceUrl?this.location.replaceState(M,"",k):this.location.go(M,"",k)}restoreHistory(u,v=!1){if("computed"===this.canceledNavigationResolution){const M=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===M?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===M&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(M)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,v){const M=new ce(u.id,this.serializeUrl(u.extractedUrl),v);this.triggerEvent(M),u.resolve(!1)}generateNgRouterState(u,v){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:v}:{navigationId:u}}}return g.\u0275fac=function(u){S.$Z()},g.\u0275prov=S.Yz7({token:g,factory:g.\u0275fac}),g})();function Es(g){return"imperative"!==g}let Zo=(()=>{class g{constructor(u,v,M){this.router=u,this.route=v,this.locationStrategy=M,this.commands=null,this.href=null,this.onChanges=new te.xQ,this.subscription=u.events.subscribe(k=>{k instanceof ue&&this.updateTargetUrlAndHref()})}set routerLink(u){this.commands=null!=u?Array.isArray(u)?u:[u]:null}ngOnChanges(u){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(u,v,M,k,Q){if(0!==u||v||M||k||Q||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const se={skipLocationChange:vo(this.skipLocationChange),replaceUrl:vo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,se),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:vo(this.preserveFragment)})}}return g.\u0275fac=function(u){return new(u||g)(S.Y36(hr),S.Y36(Jn),S.Y36(l.S$))},g.\u0275dir=S.lG2({type:g,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,v){1&u&&S.NdJ("click",function(k){return v.onClick(k.button,k.ctrlKey,k.shiftKey,k.altKey,k.metaKey)}),2&u&&S.uIk("target",v.target)("href",v.href,S.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[S.TTD]}),g})();function vo(g){return""===g||!!g}class Jo{}class es{preload(d,u){return(0,Ye.of)(null)}}let ts=(()=>{class g{constructor(u,v,M,k){this.router=u,this.injector=M,this.preloadingStrategy=k,this.loader=new Oo(M,v,Be=>u.triggerEvent(new bt(Be)),Be=>u.triggerEvent(new tr(Be)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,gt.h)(u=>u instanceof ue),(0,lr.b)(()=>this.preload())).subscribe(()=>{})}preload(){const u=this.injector.get(S.h0i);return this.processRoutes(u,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,v){const M=[];for(const k of v)if(k.loadChildren&&!k.canLoad&&k._loadedConfig){const Q=k._loadedConfig;M.push(this.processRoutes(Q.module,Q.routes))}else k.loadChildren&&!k.canLoad?M.push(this.preloadConfig(u,k)):k.children&&M.push(this.processRoutes(u,k.children));return(0,sn.D)(M).pipe((0,it.J)(),(0,wn.U)(k=>{}))}preloadConfig(u,v){return this.preloadingStrategy.preload(v,()=>(v._loadedConfig?(0,Ye.of)(v._loadedConfig):this.loader.load(u.injector,v)).pipe((0,Un.zg)(k=>(v._loadedConfig=k,this.processRoutes(k.module,k.routes)))))}}return g.\u0275fac=function(u){return new(u||g)(S.LFG(hr),S.LFG(S.Sil),S.LFG(S.zs3),S.LFG(Jo))},g.\u0275prov=S.Yz7({token:g,factory:g.\u0275fac}),g})(),Li=(()=>{class g{constructor(u,v,M={}){this.router=u,this.viewportScroller=v,this.options=M,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},M.scrollPositionRestoration=M.scrollPositionRestoration||"disabled",M.anchorScrolling=M.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(u=>{u instanceof Se?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof ue&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof rn&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,v){this.router.triggerEvent(new rn(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.\u0275fac=function(u){S.$Z()},g.\u0275prov=S.Yz7({token:g,factory:g.\u0275fac}),g})();const qr=new S.OlP("ROUTER_CONFIGURATION"),ns=new S.OlP("ROUTER_FORROOT_GUARD"),xo=[l.Ye,{provide:Zt,useClass:fn},{provide:hr,useFactory:function Ds(g,d,u,v,M,k,Q={},se,Be){const Pt=new hr(null,g,d,u,v,M,Et(k));return se&&(Pt.urlHandlingStrategy=se),Be&&(Pt.routeReuseStrategy=Be),function Ms(g,d){g.errorHandler&&(d.errorHandler=g.errorHandler),g.malformedUriErrorHandler&&(d.malformedUriErrorHandler=g.malformedUriErrorHandler),g.onSameUrlNavigation&&(d.onSameUrlNavigation=g.onSameUrlNavigation),g.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=g.paramsInheritanceStrategy),g.relativeLinkResolution&&(d.relativeLinkResolution=g.relativeLinkResolution),g.urlUpdateStrategy&&(d.urlUpdateStrategy=g.urlUpdateStrategy),g.canceledNavigationResolution&&(d.canceledNavigationResolution=g.canceledNavigationResolution)}(Q,Pt),Q.enableTracing&&Pt.events.subscribe(On=>{console.group?.(`Router Event: ${On.constructor.name}`),console.log(On.toString()),console.log(On),console.groupEnd?.()}),Pt},deps:[Zt,Oe,l.Ye,S.zs3,S.Sil,yo,qr,[class ws{},new S.FiY],[class Ua{},new S.FiY]]},Oe,{provide:Jn,useFactory:function rs(g){return g.routerState.root},deps:[hr]},ts,es,class Xo{preload(d,u){return u().pipe((0,er.K)(()=>(0,Ye.of)(null)))}},{provide:qr,useValue:{enableTracing:!1}}];function kl(){return new S.PXZ("Router",hr)}let pa=(()=>{class g{constructor(u,v){}static forRoot(u,v){return{ngModule:g,providers:[xo,Co(u),{provide:ns,useFactory:Wa,deps:[[hr,new S.FiY,new S.tp0]]},{provide:qr,useValue:v||{}},{provide:l.S$,useFactory:za,deps:[l.lw,[new S.tBr(l.mr),new S.FiY],qr]},{provide:Li,useFactory:ga,deps:[hr,l.EM,qr]},{provide:Jo,useExisting:v&&v.preloadingStrategy?v.preloadingStrategy:es},{provide:S.PXZ,multi:!0,useFactory:kl},[bo,{provide:S.ip1,multi:!0,useFactory:qa,deps:[bo]},{provide:zn,useFactory:Lr,deps:[bo]},{provide:S.tb,multi:!0,useExisting:zn}]]}}static forChild(u){return{ngModule:g,providers:[Co(u)]}}}return g.\u0275fac=function(u){return new(u||g)(S.LFG(ns,8),S.LFG(hr,8))},g.\u0275mod=S.oAB({type:g}),g.\u0275inj=S.cJS({}),g})();function ga(g,d,u){return u.scrollOffset&&d.setOffset(u.scrollOffset),new Li(g,d,u)}function za(g,d,u={}){return u.useHash?new l.Do(g,d):new l.b0(g,d)}function Wa(g){return"guarded"}function Co(g){return[{provide:S.deG,multi:!0,useValue:g},{provide:yo,multi:!0,useValue:g}]}let bo=(()=>{class g{constructor(u){this.injector=u,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new te.xQ}appInitializer(){return this.injector.get(l.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let v=null;const M=new Promise(se=>v=se),k=this.injector.get(hr),Q=this.injector.get(qr);return"disabled"===Q.initialNavigation?(k.setUpLocationChangeListener(),v(!0)):"enabled"===Q.initialNavigation||"enabledBlocking"===Q.initialNavigation?(k.hooks.afterPreactivation=()=>this.initNavigation?(0,Ye.of)(null):(this.initNavigation=!0,v(!0),this.resultOfPreactivationDone),k.initialNavigation()):v(!0),M})}bootstrapListener(u){const v=this.injector.get(qr),M=this.injector.get(ts),k=this.injector.get(Li),Q=this.injector.get(hr),se=this.injector.get(S.z2F);u===se.components[0]&&(("enabledNonBlocking"===v.initialNavigation||void 0===v.initialNavigation)&&Q.initialNavigation(),M.setUpPreloading(),k.init(),Q.resetRootComponentType(se.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return g.\u0275fac=function(u){return new(u||g)(S.LFG(S.zs3))},g.\u0275prov=S.Yz7({token:g,factory:g.\u0275fac}),g})();function qa(g){return g.appInitializer.bind(g)}function Lr(g){return g.bootstrapListener.bind(g)}const zn=new S.OlP("Router Initializer")},8638:(Ae,q,O)=>{"use strict";O.d(q,{Tr:()=>Qt});var l=O(5062),S=O(529),te=O(4850);const F={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 U{constructor(ye){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ye.protocol;let me=ye.port;me||(function ie(X){return/^https:$/i.test(X)}(this.protocol)?me="443":function W(X){return/^http:$/i.test(X)}(this.protocol)&&(me="80")),this.domain=ye.hostname,this.port=parseInt(me,10),this.path=ye.pathname;const vt=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?F[2087]:/^cpanel\./.test(this.domain)?F[2083]:/^webmail\./.test(this.domain)?F[2095]:F[me.toString()]||F[vt[2]]||"whostmgr",this.securityToken=vt[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Tt=this.path.split("/");this.theme=Tt[3]}this.themePath="";let gt=this.securityToken+"/";this.isUnprotected?gt="/":this.isCpanel?gt+="frontend/"+this.theme+"/":this.isWebmail?gt+="webmail/"+this.theme+"/":this.isOther&&(gt="/"),this.themePath=gt,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 H(X){return X&&X.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(ye){return this.themePath+ye}buildFullPath(ye){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ye)}buildTokenPath(ye){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ye}}class B{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 j=O(4235),ae=O.n(j),Y=O(1305),Ee=O.n(Y),de=(()=>{return(X=de||(de={}))[X.Error=0]="Error",X[X.Warning=1]="Warning",X[X.Information=2]="Information",X[X.Unknown=3]="Unknown",de;var X})();const be={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class ct{constructor(ye){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={},ye.paginate&&(this.isPaged=!0,this.record=parseInt(ye.paginate.start_result,10)||0,this.page=parseInt(ye.paginate.current_page,10)||0,this.pageSize=parseInt(ye.paginate.results_per_page,10)||0,this.totalPages=parseInt(ye.paginate.total_pages,10)||0,this.totalRecords=parseInt(ye.paginate.total_results,10)||0),ye.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ye.filter.records_before_filter,10)||0);const me=new Set(["paginate","filter"]);Object.keys(ye).filter(vt=>!me.has(vt)).forEach(vt=>{this.properties[vt]=ye[vt]})}}class Xe extends class yt{constructor(ye,me){if(this.status=0,this.messages=[],this.meta=function Pe(X){return JSON.parse(JSON.stringify(X))}(be),this.options={keepUnprocessedResponse:!1},ae()(ye)||Ee()(ye))throw new Error("The response was unexpectedly undefined or null");me&&(this.options=me),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ye)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ye){return this.messages.filter(me=>me.type===ye)}get errors(){return this._getMessages(de.Error)}get warnings(){return this._getMessages(de.Warning)}get infoMessages(){return this._getMessages(de.Information)}_hasMessages(ye){return this.messages.filter(me=>me.type===ye).length>0}get hasErrors(){return this._hasMessages(de.Error)}get hasWarnings(){return this._hasMessages(de.Warning)}get hasInfoMessages(){return this._hasMessages(de.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(ye){if(this.status=0,typeof ye.status>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ye.status,10)}_parseMessages(ye){if("errors"in ye){const me=ye.errors;me&&me.length&&me.forEach(vt=>{this.messages.push({type:de.Error,message:vt})})}if("messages"in ye){const me=ye.messages;me&&me.forEach(vt=>{this.messages.push({type:de.Information,message:vt})})}}constructor(ye,me){if(super(ye,me),this._parseStatus(ye),this._parseMessages(ye),!ye||!Object.prototype.hasOwnProperty.call(ye,"data"))throw new Error("Expected response to contain a data property, but it is missing");this.data=ye.data,ye.metadata&&(this.meta=new ct(ye.metadata))}}var Ye=O(109),it=O(3022);let Qt=(()=>{class X{constructor(me){this.http=me}delete(me){const vt=me.generate(),gt=this.packageUrl(vt);return this.http.delete(gt,{headers:this.packageHeaders(vt)}).pipe((0,te.U)(this.packageResponseHandler(gt)))}get(me){const vt=me.generate({verb:Ye.F.GET,encoder:new it.VN}),gt=this.packageUrl(vt);return this.http.get(gt,{headers:this.packageHeaders(vt)}).pipe((0,te.U)(this.packageResponseHandler(gt)))}options(me){const vt=me.generate(),gt=this.packageUrl(vt);return this.http.options(gt,{headers:this.packageHeaders(vt)}).pipe((0,te.U)(this.packageResponseHandler(gt)))}patch(me){const vt=me.generate(),gt=this.packageUrl(vt);return this.http.patch(gt,vt.body,{headers:this.packageHeaders(vt)}).pipe((0,te.U)(this.packageResponseHandler(gt)))}put(me){const vt=me.generate(),gt=this.packageUrl(vt);return this.http.put(gt,vt.body,{headers:this.packageHeaders(vt)}).pipe((0,te.U)(this.packageResponseHandler(gt)))}post(me){const vt=me.generate(),gt=this.packageUrl(vt);return this.http.post(gt,vt.body,{headers:this.packageHeaders(vt)}).pipe((0,te.U)(this.packageResponseHandler(gt)))}packageHeaders(me){const vt={};return me.headers.forEach(gt=>{vt[gt.name]=gt.value}),new S.WM(vt)}packageUrl(me){return new U(new B).buildTokenPath(me.url)}packageResponseHandler(me){return vt=>{const gt=new Xe(vt);return gt.meta.properties.url=me,gt}}}return X.\u0275fac=function(me){return new(me||X)(l.LFG(S.eN))},X.\u0275prov=l.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})()},348:(Ae,q,O)=>{"use strict";O.d(q,{m:()=>W});var l=O(5062),S=O(269);const te=new l.OlP("window"),ie=H=>new S.g(H.CLDR,H.LEXICON);let W=(()=>{class H{}return H.\u0275fac=function(F){return new(F||H)},H.\u0275mod=l.oAB({type:H}),H.\u0275inj=l.cJS({providers:[{provide:te,useValue:window},{provide:S.g,useFactory:ie,deps:[te]}],imports:[[]]}),H})()},3063:(Ae,q,O)=>{"use strict";O.d(q,{bZ:()=>Lr,wx:()=>Ll,Sw:()=>Ya,hF:()=>wi,CQ:()=>Ka,c9:()=>is,NK:()=>zn,Oc:()=>Eo,df:()=>or,go:()=>Vi,zf:()=>bi});var l=O(5062),S=O(6895),te=O(5529),ie=O(2198),W=O(348),H=O(269);class z{}const U="*";function B(h,a){return{type:7,name:h,definitions:a,options:{}}}function j(h,a=null){return{type:4,styles:a,timings:h}}function Y(h,a=null){return{type:2,steps:h,options:a}}function Ee(h){return{type:6,styles:h,offset:null}}function de(h,a,s){return{type:0,name:h,styles:a,options:s}}function Pe(h,a,s=null){return{type:1,expr:h,animation:a,options:s}}function Wt(h){Promise.resolve(null).then(h)}class un{constructor(a=0,s=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=a+s}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Wt(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const s="start"==a?this._onStartFns:this._onDoneFns;s.forEach(p=>p()),s.length=0}}class sn{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let s=0,p=0,T=0;const V=this.players.length;0==V?Wt(()=>this._onFinish()):this.players.forEach(J=>{J.onDone(()=>{++s==V&&this._onFinish()}),J.onDestroy(()=>{++p==V&&this._onDestroy()}),J.onStart(()=>{++T==V&&this._onStart()})}),this.totalTime=this.players.reduce((J,ee)=>Math.max(J,ee.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const s=a*this.totalTime;this.players.forEach(p=>{const T=p.totalTime?Math.min(1,s/p.totalTime):1;p.setPosition(T)})}getPosition(){const a=this.players.reduce((s,p)=>null===s||p.totalTime>s.totalTime?p:s,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const s="start"==a?this._onStartFns:this._onDoneFns;s.forEach(p=>p()),s.length=0}}var Qt=O(1481);const Qe=!1;function X(h){return new l.vHH(3e3,Qe)}function En(){return typeof window<"u"&&typeof window.document<"u"}function Gt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function bt(h){switch(h.length){case 0:return new un;case 1:return h[0];default:return new sn(h)}}function tr(h,a,s,p,T={},V={}){const J=[],ee=[];let De=-1,Ve=null;if(p.forEach(at=>{const Ut=at.offset,pn=Ut==De,Dn=pn&&Ve||{};Object.keys(at).forEach(zt=>{let bn=zt,Wn=at[zt];if("offset"!==zt)switch(bn=a.normalizePropertyName(bn,J),Wn){case"!":Wn=T[zt];break;case U:Wn=V[zt];break;default:Wn=a.normalizeStyleValue(zt,bn,Wn,J)}Dn[bn]=Wn}),pn||ee.push(Dn),Ve=Dn,De=Ut}),J.length)throw function Un(h){return new l.vHH(3502,Qe)}();return ee}function Tn(h,a,s,p){switch(a){case"start":h.onStart(()=>p(s&&In(s,"start",h)));break;case"done":h.onDone(()=>p(s&&In(s,"done",h)));break;case"destroy":h.onDestroy(()=>p(s&&In(s,"destroy",h)))}}function In(h,a,s){const V=Bt(h.element,h.triggerName,h.fromState,h.toState,a||h.phaseName,s.totalTime??h.totalTime,!!s.disabled),J=h._data;return null!=J&&(V._data=J),V}function Bt(h,a,s,p,T="",V=0,J){return{element:h,triggerName:a,fromState:s,toState:p,phaseName:T,totalTime:V,disabled:!!J}}function wt(h,a,s){let p;return h instanceof Map?(p=h.get(a),p||h.set(a,p=s)):(p=h[a],p||(p=h[a]=s)),p}function rn(h){const a=h.indexOf(":");return[h.substring(1,a),h.substr(a+1)]}let Z=(h,a)=>!1,he=(h,a,s)=>[],_e=null;function ve(h){const a=h.parentNode||h.host;return a===_e?null:a}(Gt()||typeof Element<"u")&&(En()?(_e=(()=>document.documentElement)(),Z=(h,a)=>{for(;a;){if(a===h)return!0;a=ve(a)}return!1}):Z=(h,a)=>h.contains(a),he=(h,a,s)=>{if(s)return Array.from(h.querySelectorAll(a));const p=h.querySelector(a);return p?[p]:[]});let st=null,ht=!1;function mt(h){st||(st=function Nt(){return typeof document<"u"?document.body:null}()||{},ht=!!st.style&&"WebkitAppearance"in st.style);let a=!0;return st.style&&!function Je(h){return"ebkit"==h.substring(1,6)}(h)&&(a=h in st.style,!a&&ht&&(a="Webkit"+h.charAt(0).toUpperCase()+h.substr(1)in st.style)),a}const Et=Z,Xt=he;let K=(()=>{class h{validateStyleProperty(s){return mt(s)}matchesElement(s,p){return!1}containsElement(s,p){return Et(s,p)}getParentElement(s){return ve(s)}query(s,p,T){return Xt(s,p,T)}computeStyle(s,p,T){return T||""}animate(s,p,T,V,J,ee=[],De){return new un(T,V)}}return h.\u0275fac=function(s){return new(s||h)},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})(),$=(()=>{class h{}return h.NOOP=new K,h})();const ft="ng-enter",It="ng-leave",_t="ng-trigger",an=".ng-trigger",kt="ng-animating",en=".ng-animating";function jt(h){if("number"==typeof h)return h;const a=h.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:$e(parseFloat(a[1]),a[2])}function $e(h,a){return"s"===a?1e3*h:h}function Ie(h,a,s){return h.hasOwnProperty("duration")?h:function Ct(h,a,s){let T,V=0,J="";if("string"==typeof h){const ee=h.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ee)return a.push(X()),{duration:0,delay:0,easing:""};T=$e(parseFloat(ee[1]),ee[2]);const De=ee[3];null!=De&&(V=$e(parseFloat(De),ee[4]));const Ve=ee[5];Ve&&(J=Ve)}else T=h;if(!s){let ee=!1,De=a.length;T<0&&(a.push(function ye(){return new l.vHH(3100,Qe)}()),ee=!0),V<0&&(a.push(function me(){return new l.vHH(3101,Qe)}()),ee=!0),ee&&a.splice(De,0,X())}return{duration:T,delay:V,easing:J}}(h,a,s)}function ut(h,a={}){return Object.keys(h).forEach(s=>{a[s]=h[s]}),a}function ln(h,a,s={}){if(a)for(let p in h)s[p]=h[p];else ut(h,s);return s}function Zt(h,a,s){return s?a+":"+s+";":""}function fn(h){let a="";for(let s=0;s<h.style.length;s++){const p=h.style.item(s);a+=Zt(0,p,h.style.getPropertyValue(p))}for(const s in h.style)h.style.hasOwnProperty(s)&&!s.startsWith("_")&&(a+=Zt(0,E(s),h.style[s]));h.setAttribute("style",a)}function Mn(h,a,s){h.style&&(Object.keys(a).forEach(p=>{const T=x(p);s&&!s.hasOwnProperty(p)&&(s[p]=h.style[T]),h.style[T]=a[p]}),Gt()&&fn(h))}function on(h,a){h.style&&(Object.keys(a).forEach(s=>{const p=x(s);h.style[p]=""}),Gt()&&fn(h))}function et(h){return Array.isArray(h)?1==h.length?h[0]:Y(h):h}const oe=new RegExp("{{\\s*(.+?)\\s*}}","g");function Me(h){let a=[];if("string"==typeof h){let s;for(;s=oe.exec(h);)a.push(s[1]);oe.lastIndex=0}return a}function Mt(h,a,s){const p=h.toString(),T=p.replace(oe,(V,J)=>{let ee=a[J];return a.hasOwnProperty(J)||(s.push(function gt(h){return new l.vHH(3003,Qe)}()),ee=""),ee.toString()});return T==p?h:T}function St(h){const a=[];let s=h.next();for(;!s.done;)a.push(s.value),s=h.next();return a}const D=/-+([a-z0-9])/g;function x(h){return h.replace(D,(...a)=>a[1].toUpperCase())}function E(h){return h.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function fe(h,a,s){switch(a.type){case 7:return h.visitTrigger(a,s);case 0:return h.visitState(a,s);case 1:return h.visitTransition(a,s);case 2:return h.visitSequence(a,s);case 3:return h.visitGroup(a,s);case 4:return h.visitAnimate(a,s);case 5:return h.visitKeyframes(a,s);case 6:return h.visitStyle(a,s);case 8:return h.visitReference(a,s);case 9:return h.visitAnimateChild(a,s);case 10:return h.visitAnimateRef(a,s);case 11:return h.visitQuery(a,s);case 12:return h.visitStagger(a,s);default:throw function Tt(h){return new l.vHH(3004,Qe)}()}}function Te(h,a){return window.getComputedStyle(h)[a]}function Qn(h,a){const s=[];return"string"==typeof h?h.split(/\s*,\s*/).forEach(p=>function Pr(h,a,s){if(":"==h[0]){const De=function Rn(h,a){switch(h){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,p)=>parseFloat(p)>parseFloat(s);case":decrement":return(s,p)=>parseFloat(p)<parseFloat(s);default:return a.push(function wn(h){return new l.vHH(3016,Qe)}()),"* => *"}}(h,s);if("function"==typeof De)return void a.push(De);h=De}const p=h.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return s.push(function Bn(h){return new l.vHH(3015,Qe)}()),a;const T=p[1],V=p[2],J=p[3];a.push(ai(T,J));"<"==V[0]&&!("*"==T&&"*"==J)&&a.push(ai(J,T))}(p,s,a)):s.push(h),s}const Kn=new Set(["true","1"]),Jn=new Set(["false","0"]);function ai(h,a){const s=Kn.has(h)||Jn.has(h),p=Kn.has(a)||Jn.has(a);return(T,V)=>{let J="*"==h||h==T,ee="*"==a||a==V;return!J&&s&&"boolean"==typeof T&&(J=T?Kn.has(h):Jn.has(h)),!ee&&p&&"boolean"==typeof V&&(ee=V?Kn.has(a):Jn.has(a)),J&&ee}}const Or=new RegExp("s*:selfs*,?","g");function Qr(h,a,s,p){return new Ar(h).build(a,s,p)}class Ar{constructor(a){this._driver=a}build(a,s,p){const T=new Pi(s);this._resetContextStyleTimingState(T);const V=fe(this,et(a),T);return T.unsupportedCSSPropertiesFound.size&&T.unsupportedCSSPropertiesFound.keys(),V}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,s){let p=s.queryCount=0,T=s.depCount=0;const V=[],J=[];return"@"==a.name.charAt(0)&&s.errors.push(function He(){return new l.vHH(3006,Qe)}()),a.definitions.forEach(ee=>{if(this._resetContextStyleTimingState(s),0==ee.type){const De=ee,Ve=De.name;Ve.toString().split(/\s*,\s*/).forEach(at=>{De.name=at,V.push(this.visitState(De,s))}),De.name=Ve}else if(1==ee.type){const De=this.visitTransition(ee,s);p+=De.queryCount,T+=De.depCount,J.push(De)}else s.errors.push(function ot(){return new l.vHH(3007,Qe)}())}),{type:7,name:a.name,states:V,transitions:J,queryCount:p,depCount:T,options:null}}visitState(a,s){const p=this.visitStyle(a.styles,s),T=a.options&&a.options.params||null;if(p.containsDynamicStyles){const V=new Set,J=T||{};p.styles.forEach(ee=>{if(Jr(ee)){const De=ee;Object.keys(De).forEach(Ve=>{Me(De[Ve]).forEach(at=>{J.hasOwnProperty(at)||V.add(at)})})}}),V.size&&(St(V.values()),s.errors.push(function Jt(h,a){return new l.vHH(3008,Qe)}()))}return{type:0,name:a.name,style:p,options:T?{params:T}:null}}visitTransition(a,s){s.queryCount=0,s.depCount=0;const p=fe(this,et(a.animation),s);return{type:1,matchers:Qn(a.expr,s.errors),animation:p,queryCount:s.queryCount,depCount:s.depCount,options:Xr(a.options)}}visitSequence(a,s){return{type:2,steps:a.steps.map(p=>fe(this,p,s)),options:Xr(a.options)}}visitGroup(a,s){const p=s.currentTime;let T=0;const V=a.steps.map(J=>{s.currentTime=p;const ee=fe(this,J,s);return T=Math.max(T,s.currentTime),ee});return s.currentTime=T,{type:3,steps:V,options:Xr(a.options)}}visitAnimate(a,s){const p=function so(h,a){if(h.hasOwnProperty("duration"))return h;if("number"==typeof h)return Gr(Ie(h,a).duration,0,"");const s=h;if(s.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=Gr(0,0,"");return V.dynamic=!0,V.strValue=s,V}const T=Ie(s,a);return Gr(T.duration,T.delay,T.easing)}(a.timings,s.errors);s.currentAnimateTimings=p;let T,V=a.styles?a.styles:Ee({});if(5==V.type)T=this.visitKeyframes(V,s);else{let J=a.styles,ee=!1;if(!J){ee=!0;const Ve={};p.easing&&(Ve.easing=p.easing),J=Ee(Ve)}s.currentTime+=p.duration+p.delay;const De=this.visitStyle(J,s);De.isEmptyStep=ee,T=De}return s.currentAnimateTimings=null,{type:4,timings:p,style:T,options:null}}visitStyle(a,s){const p=this._makeStyleAst(a,s);return this._validateStyleAst(p,s),p}_makeStyleAst(a,s){const p=[];Array.isArray(a.styles)?a.styles.forEach(J=>{"string"==typeof J?J==U?p.push(J):s.errors.push(function Sn(h){return new l.vHH(3002,Qe)}()):p.push(J)}):p.push(a.styles);let T=!1,V=null;return p.forEach(J=>{if(Jr(J)){const ee=J,De=ee.easing;if(De&&(V=De,delete ee.easing),!T)for(let Ve in ee)if(ee[Ve].toString().indexOf("{{")>=0){T=!0;break}}}),{type:6,styles:p,easing:V,offset:a.offset,containsDynamicStyles:T,options:null}}_validateStyleAst(a,s){const p=s.currentAnimateTimings;let T=s.currentTime,V=s.currentTime;p&&V>0&&(V-=p.duration+p.delay),a.styles.forEach(J=>{"string"!=typeof J&&Object.keys(J).forEach(ee=>{if(!this._driver.validateStyleProperty(ee))return delete J[ee],void s.unsupportedCSSPropertiesFound.add(ee);const De=s.collectedStyles[s.currentQuerySelector],Ve=De[ee];let at=!0;Ve&&(V!=T&&V>=Ve.startTime&&T<=Ve.endTime&&(s.errors.push(function Vt(h,a,s,p,T){return new l.vHH(3010,Qe)}()),at=!1),V=Ve.startTime),at&&(De[ee]={startTime:V,endTime:T}),s.options&&function Dt(h,a,s){const p=a.params||{},T=Me(h);T.length&&T.forEach(V=>{p.hasOwnProperty(V)||s.push(function vt(h){return new l.vHH(3001,Qe)}())})}(J[ee],s.options,s.errors)})})}visitKeyframes(a,s){const p={type:5,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function Vn(){return new l.vHH(3011,Qe)}()),p;let V=0;const J=[];let ee=!1,De=!1,Ve=0;const at=a.steps.map(_r=>{const ur=this._makeStyleAst(_r,s);let yr=null!=ur.offset?ur.offset:function mi(h){if("string"==typeof h)return null;let a=null;if(Array.isArray(h))h.forEach(s=>{if(Jr(s)&&s.hasOwnProperty("offset")){const p=s;a=parseFloat(p.offset),delete p.offset}});else if(Jr(h)&&h.hasOwnProperty("offset")){const s=h;a=parseFloat(s.offset),delete s.offset}return a}(ur.styles),wr=0;return null!=yr&&(V++,wr=ur.offset=yr),De=De||wr<0||wr>1,ee=ee||wr<Ve,Ve=wr,J.push(wr),ur});De&&s.errors.push(function Fn(){return new l.vHH(3012,Qe)}()),ee&&s.errors.push(function pr(){return new l.vHH(3200,Qe)}());const Ut=a.steps.length;let pn=0;V>0&&V<Ut?s.errors.push(function An(){return new l.vHH(3202,Qe)}()):0==V&&(pn=1/(Ut-1));const Dn=Ut-1,zt=s.currentTime,bn=s.currentAnimateTimings,Wn=bn.duration;return at.forEach((_r,ur)=>{const yr=pn>0?ur==Dn?1:pn*ur:J[ur],wr=yr*Wn;s.currentTime=zt+bn.delay+wr,bn.duration=wr,this._validateStyleAst(_r,s),_r.offset=yr,p.styles.push(_r)}),p}visitReference(a,s){return{type:8,animation:fe(this,et(a.animation),s),options:Xr(a.options)}}visitAnimateChild(a,s){return s.depCount++,{type:9,options:Xr(a.options)}}visitAnimateRef(a,s){return{type:10,animation:this.visitReference(a.animation,s),options:Xr(a.options)}}visitQuery(a,s){const p=s.currentQuerySelector,T=a.options||{};s.queryCount++,s.currentQuery=a;const[V,J]=function gr(h){const a=!!h.split(/\s*,\s*/).find(s=>":self"==s);return a&&(h=h.replace(Or,"")),h=h.replace(/@\*/g,an).replace(/@\w+/g,s=>an+"-"+s.substr(1)).replace(/:animating/g,en),[h,a]}(a.selector);s.currentQuerySelector=p.length?p+" "+V:V,wt(s.collectedStyles,s.currentQuerySelector,{});const ee=fe(this,et(a.animation),s);return s.currentQuery=null,s.currentQuerySelector=p,{type:11,selector:V,limit:T.limit||0,optional:!!T.optional,includeSelf:J,animation:ee,originalSelector:a.selector,options:Xr(a.options)}}visitStagger(a,s){s.currentQuery||s.errors.push(function ar(){return new l.vHH(3013,Qe)}());const p="full"===a.timings?{duration:0,delay:0,easing:"full"}:Ie(a.timings,s.errors,!0);return{type:12,animation:fe(this,et(a.animation),s),timings:p,options:null}}}class Pi{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Jr(h){return!Array.isArray(h)&&"object"==typeof h}function Xr(h){return h?(h=ut(h)).params&&(h.params=function Wi(h){return h?ut(h):null}(h.params)):h={},h}function Gr(h,a,s){return{duration:h,delay:a,easing:s}}function ei(h,a,s,p,T,V,J=null,ee=!1){return{type:1,element:h,keyframes:a,preStyleProps:s,postStyleProps:p,duration:T,delay:V,totalTime:T+V,easing:J,subTimeline:ee}}class zr{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,s){let p=this._map.get(a);p||this._map.set(a,p=[]),p.push(...s)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const _i=new RegExp(":enter","g"),Oi=new RegExp(":leave","g");function qi(h,a,s,p,T,V={},J={},ee,De,Ve=[]){return(new ci).buildKeyframes(h,a,s,p,T,V,J,ee,De,Ve)}class ci{buildKeyframes(a,s,p,T,V,J,ee,De,Ve,at=[]){Ve=Ve||new zr;const Ut=new Ir(a,s,Ve,T,V,at,[]);Ut.options=De,Ut.currentTimeline.setStyles([J],null,Ut.errors,De),fe(this,p,Ut);const pn=Ut.timelines.filter(Dn=>Dn.containsAnimation());if(Object.keys(ee).length){let Dn;for(let zt=pn.length-1;zt>=0;zt--){const bn=pn[zt];if(bn.element===s){Dn=bn;break}}Dn&&!Dn.allowOnlyTimelineStyles()&&Dn.setStyles([ee],null,Ut.errors,De)}return pn.length?pn.map(Dn=>Dn.buildKeyframes()):[ei(s,[],[],[],0,0,"",!1)]}visitTrigger(a,s){}visitState(a,s){}visitTransition(a,s){}visitAnimateChild(a,s){const p=s.subInstructions.get(s.element);if(p){const T=s.createSubContext(a.options),V=s.currentTimeline.currentTime,J=this._visitSubInstructions(p,T,T.options);V!=J&&s.transformIntoNewTimeline(J)}s.previousNode=a}visitAnimateRef(a,s){const p=s.createSubContext(a.options);p.transformIntoNewTimeline(),this.visitReference(a.animation,p),s.transformIntoNewTimeline(p.currentTimeline.currentTime),s.previousNode=a}_visitSubInstructions(a,s,p){let V=s.currentTimeline.currentTime;const J=null!=p.duration?jt(p.duration):null,ee=null!=p.delay?jt(p.delay):null;return 0!==J&&a.forEach(De=>{const Ve=s.appendInstructionToTimeline(De,J,ee);V=Math.max(V,Ve.duration+Ve.delay)}),V}visitReference(a,s){s.updateOptions(a.options,!0),fe(this,a.animation,s),s.previousNode=a}visitSequence(a,s){const p=s.subContextCount;let T=s;const V=a.options;if(V&&(V.params||V.delay)&&(T=s.createSubContext(V),T.transformIntoNewTimeline(),null!=V.delay)){6==T.previousNode.type&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=Wr);const J=jt(V.delay);T.delayNextStep(J)}a.steps.length&&(a.steps.forEach(J=>fe(this,J,T)),T.currentTimeline.applyStylesToKeyframe(),T.subContextCount>p&&T.transformIntoNewTimeline()),s.previousNode=a}visitGroup(a,s){const p=[];let T=s.currentTimeline.currentTime;const V=a.options&&a.options.delay?jt(a.options.delay):0;a.steps.forEach(J=>{const ee=s.createSubContext(a.options);V&&ee.delayNextStep(V),fe(this,J,ee),T=Math.max(T,ee.currentTimeline.currentTime),p.push(ee.currentTimeline)}),p.forEach(J=>s.currentTimeline.mergeTimelineCollectedStyles(J)),s.transformIntoNewTimeline(T),s.previousNode=a}_visitTiming(a,s){if(a.dynamic){const p=a.strValue;return Ie(s.params?Mt(p,s.params,s.errors):p,s.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,s){const p=s.currentAnimateTimings=this._visitTiming(a.timings,s),T=s.currentTimeline;p.delay&&(s.incrementTime(p.delay),T.snapshotCurrentStyles());const V=a.style;5==V.type?this.visitKeyframes(V,s):(s.incrementTime(p.duration),this.visitStyle(V,s),T.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=a}visitStyle(a,s){const p=s.currentTimeline,T=s.currentAnimateTimings;!T&&p.getCurrentStyleProperties().length&&p.forwardFrame();const V=T&&T.easing||a.easing;a.isEmptyStep?p.applyEmptyStep(V):p.setStyles(a.styles,V,s.errors,s.options),s.previousNode=a}visitKeyframes(a,s){const p=s.currentAnimateTimings,T=s.currentTimeline.duration,V=p.duration,ee=s.createSubContext().currentTimeline;ee.easing=p.easing,a.styles.forEach(De=>{ee.forwardTime((De.offset||0)*V),ee.setStyles(De.styles,De.easing,s.errors,s.options),ee.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(ee),s.transformIntoNewTimeline(T+V),s.previousNode=a}visitQuery(a,s){const p=s.currentTimeline.currentTime,T=a.options||{},V=T.delay?jt(T.delay):0;V&&(6===s.previousNode.type||0==p&&s.currentTimeline.getCurrentStyleProperties().length)&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Wr);let J=p;const ee=s.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!T.optional,s.errors);s.currentQueryTotal=ee.length;let De=null;ee.forEach((Ve,at)=>{s.currentQueryIndex=at;const Ut=s.createSubContext(a.options,Ve);V&&Ut.delayNextStep(V),Ve===s.element&&(De=Ut.currentTimeline),fe(this,a.animation,Ut),Ut.currentTimeline.applyStylesToKeyframe(),J=Math.max(J,Ut.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(J),De&&(s.currentTimeline.mergeTimelineCollectedStyles(De),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=a}visitStagger(a,s){const p=s.parentContext,T=s.currentTimeline,V=a.timings,J=Math.abs(V.duration),ee=J*(s.currentQueryTotal-1);let De=J*s.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":De=ee-De;break;case"full":De=p.currentStaggerTime}const at=s.currentTimeline;De&&at.delayNextStep(De);const Ut=at.currentTime;fe(this,a.animation,s),s.previousNode=a,p.currentStaggerTime=T.currentTime-Ut+(T.startTime-p.currentTimeline.startTime)}}const Wr={};class Ir{constructor(a,s,p,T,V,J,ee,De){this._driver=a,this.element=s,this.subInstructions=p,this._enterClassName=T,this._leaveClassName=V,this.errors=J,this.timelines=ee,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=De||new ti(this._driver,s,0),ee.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,s){if(!a)return;const p=a;let T=this.options;null!=p.duration&&(T.duration=jt(p.duration)),null!=p.delay&&(T.delay=jt(p.delay));const V=p.params;if(V){let J=T.params;J||(J=this.options.params={}),Object.keys(V).forEach(ee=>{(!s||!J.hasOwnProperty(ee))&&(J[ee]=Mt(V[ee],J,this.errors))})}}_copyOptions(){const a={};if(this.options){const s=this.options.params;if(s){const p=a.params={};Object.keys(s).forEach(T=>{p[T]=s[T]})}}return a}createSubContext(a=null,s,p){const T=s||this.element,V=new Ir(this._driver,T,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(T,p||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(a),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(a){return this.previousNode=Wr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,s,p){const T={duration:s??a.duration,delay:this.currentTimeline.currentTime+(p??0)+a.delay,easing:""},V=new xi(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,T,a.stretchStartingKeyframe);return this.timelines.push(V),T}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,s,p,T,V,J){let ee=[];if(T&&ee.push(this.element),a.length>0){a=(a=a.replace(_i,"."+this._enterClassName)).replace(Oi,"."+this._leaveClassName);let Ve=this._driver.query(this.element,a,1!=p);0!==p&&(Ve=p<0?Ve.slice(Ve.length+p,Ve.length):Ve.slice(0,p)),ee.push(...Ve)}return!V&&0==ee.length&&J.push(function Cn(h){return new l.vHH(3014,Qe)}()),ee}}class ti{constructor(a,s,p,T){this._driver=a,this.element=s,this.startTime=p,this._elementTimelineStylesLookup=T,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const s=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||s?(this.forwardTime(this.currentTime+a),s&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,s){return this.applyStylesToKeyframe(),new ti(this._driver,a,s||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,s){this._localTimelineStyles[a]=s,this._globalTimelineStyles[a]=s,this._styleSummary[a]={time:this.currentTime,value:s}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(s=>{this._backFill[s]=this._globalTimelineStyles[s]||U,this._currentKeyframe[s]=U}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,s,p,T){s&&(this._previousKeyframe.easing=s);const V=T&&T.params||{},J=function Fr(h,a){const s={};let p;return h.forEach(T=>{"*"===T?(p=p||Object.keys(a),p.forEach(V=>{s[V]=U})):ln(T,!1,s)}),s}(a,this._globalTimelineStyles);Object.keys(J).forEach(ee=>{const De=Mt(J[ee],V,p);this._pendingStyles[ee]=De,this._localTimelineStyles.hasOwnProperty(ee)||(this._backFill[ee]=this._globalTimelineStyles.hasOwnProperty(ee)?this._globalTimelineStyles[ee]:U),this._updateStyle(ee,De)})}applyStylesToKeyframe(){const a=this._pendingStyles,s=Object.keys(a);0!=s.length&&(this._pendingStyles={},s.forEach(p=>{this._currentKeyframe[p]=a[p]}),Object.keys(this._localTimelineStyles).forEach(p=>{this._currentKeyframe.hasOwnProperty(p)||(this._currentKeyframe[p]=this._localTimelineStyles[p])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const s=this._localTimelineStyles[a];this._pendingStyles[a]=s,this._updateStyle(a,s)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let s in this._currentKeyframe)a.push(s);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(s=>{const p=this._styleSummary[s],T=a._styleSummary[s];(!p||T.time>p.time)&&this._updateStyle(s,T.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,s=new Set,p=1===this._keyframes.size&&0===this.duration;let T=[];this._keyframes.forEach((ee,De)=>{const Ve=ln(ee,!0);Object.keys(Ve).forEach(at=>{const Ut=Ve[at];"!"==Ut?a.add(at):Ut==U&&s.add(at)}),p||(Ve.offset=De/this.duration),T.push(Ve)});const V=a.size?St(a.values()):[],J=s.size?St(s.values()):[];if(p){const ee=T[0],De=ut(ee);ee.offset=0,De.offset=1,T=[ee,De]}return ei(this.element,T,V,J,this.duration,this.startTime,this.easing,!1)}}class xi extends ti{constructor(a,s,p,T,V,J,ee=!1){super(a,s,J.delay),this.keyframes=p,this.preStyleProps=T,this.postStyleProps=V,this._stretchStartingKeyframe=ee,this.timings={duration:J.duration,delay:J.delay,easing:J.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:s,duration:p,easing:T}=this.timings;if(this._stretchStartingKeyframe&&s){const V=[],J=p+s,ee=s/J,De=ln(a[0],!1);De.offset=0,V.push(De);const Ve=ln(a[0],!1);Ve.offset=Ai(ee),V.push(Ve);const at=a.length-1;for(let Ut=1;Ut<=at;Ut++){let pn=ln(a[Ut],!1);pn.offset=Ai((s+pn.offset*p)/J),V.push(pn)}p=J,s=0,T="",a=V}return ei(this.element,a,this.preStyleProps,this.postStyleProps,p,s,T,!0)}}function Ai(h,a=3){const s=Math.pow(10,a-1);return Math.round(h*s)/s}class Ii{}class uo extends Ii{normalizePropertyName(a,s){return x(a)}normalizeStyleValue(a,s,p,T){let V="";const J=p.toString().trim();if(dr[s]&&0!==p&&"0"!==p)if("number"==typeof p)V="px";else{const ee=p.match(/^[+-]?[\d\.]+([a-z]*)$/);ee&&0==ee[1].length&&T.push(function je(h,a){return new l.vHH(3005,Qe)}())}return J+V}}const dr=(()=>function Rr(h){const a={};return h.forEach(s=>a[s]=!0),a}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function ui(h,a,s,p,T,V,J,ee,De,Ve,at,Ut,pn){return{type:0,element:h,triggerName:a,isRemovalTransition:T,fromState:s,fromStyles:V,toState:p,toStyles:J,timelines:ee,queriedElements:De,preStyleProps:Ve,postStyleProps:at,totalTime:Ut,errors:pn}}const Cr={};class ho{constructor(a,s,p){this._triggerName=a,this.ast=s,this._stateStyles=p}match(a,s,p,T){return function Yi(h,a,s,p,T){return h.some(V=>V(a,s,p,T))}(this.ast.matchers,a,s,p,T)}buildStyles(a,s,p){const T=this._stateStyles["*"],V=this._stateStyles[a],J=T?T.buildStyles(s,p):{};return V?V.buildStyles(s,p):J}build(a,s,p,T,V,J,ee,De,Ve,at){const Ut=[],pn=this.ast.options&&this.ast.options.params||Cr,zt=this.buildStyles(p,ee&&ee.params||Cr,Ut),bn=De&&De.params||Cr,Wn=this.buildStyles(T,bn,Ut),_r=new Set,ur=new Map,yr=new Map,wr="void"===T,Ei={params:{...pn,...bn}},Di=at?[]:qi(a,s,this.ast.animation,V,J,zt,Wn,Ei,Ve,Ut);let Nr=0;if(Di.forEach(oi=>{Nr=Math.max(oi.duration+oi.delay,Nr)}),Ut.length)return ui(s,this._triggerName,p,T,wr,zt,Wn,[],[],ur,yr,Nr,Ut);Di.forEach(oi=>{const Mi=oi.element,Ja=wt(ur,Mi,{});oi.preStyleProps.forEach(si=>Ja[si]=!0);const ss=wt(yr,Mi,{});oi.postStyleProps.forEach(si=>ss[si]=!0),Mi!==s&&_r.add(Mi)});const di=St(_r.values());return ui(s,this._triggerName,p,T,wr,zt,Wn,Di,di,ur,yr,Nr)}}class C{constructor(a,s,p){this.styles=a,this.defaultParams=s,this.normalizer=p}buildStyles(a,s){const p={},T=ut(this.defaultParams);return Object.keys(a).forEach(V=>{const J=a[V];null!=J&&(T[V]=J)}),this.styles.styles.forEach(V=>{if("string"!=typeof V){const J=V;Object.keys(J).forEach(ee=>{let De=J[ee];De.length>1&&(De=Mt(De,T,s));const Ve=this.normalizer.normalizePropertyName(ee,s);De=this.normalizer.normalizeStyleValue(ee,Ve,De,s),p[Ve]=De})}}),p}}class b{constructor(a,s,p){this.name=a,this.ast=s,this._normalizer=p,this.transitionFactories=[],this.states={},s.states.forEach(T=>{this.states[T.name]=new C(T.style,T.options&&T.options.params||{},p)}),ne(this.states,"true","1"),ne(this.states,"false","0"),s.transitions.forEach(T=>{this.transitionFactories.push(new ho(a,T,this.states))}),this.fallbackTransition=function L(h,a,s){return new ho(h,{type:1,animation:{type:2,steps:[],options:null},matchers:[(J,ee)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,s,p,T){return this.transitionFactories.find(J=>J.match(a,s,p,T))||null}matchStyles(a,s,p){return this.fallbackTransition.buildStyles(a,s,p)}}function ne(h,a,s){h.hasOwnProperty(a)?h.hasOwnProperty(s)||(h[s]=h[a]):h.hasOwnProperty(s)&&(h[a]=h[s])}const Oe=new zr;class Ze{constructor(a,s,p){this.bodyNode=a,this._driver=s,this._normalizer=p,this._animations={},this._playersById={},this.players=[]}register(a,s){const p=[],V=Qr(this._driver,s,p,[]);if(p.length)throw function mn(h){return new l.vHH(3503,Qe)}();this._animations[a]=V}_buildPlayer(a,s,p){const T=a.element,V=tr(0,this._normalizer,0,a.keyframes,s,p);return this._driver.animate(T,V,a.duration,a.delay,a.easing,[],!0)}create(a,s,p={}){const T=[],V=this._animations[a];let J;const ee=new Map;if(V?(J=qi(this._driver,s,V,ft,It,{},{},p,Oe,T),J.forEach(at=>{const Ut=wt(ee,at.element,{});at.postStyleProps.forEach(pn=>Ut[pn]=null)})):(T.push(function sr(){return new l.vHH(3300,Qe)}()),J=[]),T.length)throw function vr(h){return new l.vHH(3504,Qe)}();ee.forEach((at,Ut)=>{Object.keys(at).forEach(pn=>{at[pn]=this._driver.computeStyle(Ut,pn,U)})});const Ve=bt(J.map(at=>{const Ut=ee.get(at.element);return this._buildPlayer(at,{},Ut)}));return this._playersById[a]=Ve,Ve.onDestroy(()=>this.destroy(a)),this.players.push(Ve),Ve}destroy(a){const s=this._getPlayer(a);s.destroy(),delete this._playersById[a];const p=this.players.indexOf(s);p>=0&&this.players.splice(p,1)}_getPlayer(a){const s=this._playersById[a];if(!s)throw function Ot(h){return new l.vHH(3301,Qe)}();return s}listen(a,s,p,T){const V=Bt(s,"","","");return Tn(this._getPlayer(a),p,V,T),()=>{}}command(a,s,p,T){if("register"==p)return void this.register(a,T[0]);if("create"==p)return void this.create(a,s,T[0]||{});const V=this._getPlayer(a);switch(p){case"play":V.play();break;case"pause":V.pause();break;case"reset":V.reset();break;case"restart":V.restart();break;case"finish":V.finish();break;case"init":V.init();break;case"setPosition":V.setPosition(parseFloat(T[0]));break;case"destroy":this.destroy(a)}}}const dt="ng-animate-queued",kn="ng-animate-disabled",yn=[],Yn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},w={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},y="__ng_removed";class _{constructor(a,s=""){this.namespaceId=s;const p=a&&a.hasOwnProperty("value");if(this.value=function fo(h){return h??null}(p?a.value:a),p){const V=ut(a);delete V.value,this.options=V}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const s=a.params;if(s){const p=this.options.params;Object.keys(s).forEach(T=>{null==p[T]&&(p[T]=s[T])})}}}const R="void",xe=new _(R);class At{constructor(a,s,p){this.id=a,this.hostElement=s,this._engine=p,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,jr(s,this._hostClassName)}listen(a,s,p,T){if(!this._triggers.hasOwnProperty(s))throw function Se(h,a){return new l.vHH(3302,Qe)}();if(null==p||0==p.length)throw function ue(h){return new l.vHH(3303,Qe)}();if(!function hs(h){return"start"==h||"done"==h}(p))throw function ce(h,a){return new l.vHH(3400,Qe)}();const V=wt(this._elementListeners,a,[]),J={name:s,phase:p,callback:T};V.push(J);const ee=wt(this._engine.statesByElement,a,{});return ee.hasOwnProperty(s)||(jr(a,_t),jr(a,_t+"-"+s),ee[s]=xe),()=>{this._engine.afterFlush(()=>{const De=V.indexOf(J);De>=0&&V.splice(De,1),this._triggers[s]||delete ee[s]})}}register(a,s){return!this._triggers[a]&&(this._triggers[a]=s,!0)}_getTrigger(a){const s=this._triggers[a];if(!s)throw function qe(h){return new l.vHH(3401,Qe)}();return s}trigger(a,s,p,T=!0){const V=this._getTrigger(s),J=new Ft(this.id,s,a);let ee=this._engine.statesByElement.get(a);ee||(jr(a,_t),jr(a,_t+"-"+s),this._engine.statesByElement.set(a,ee={}));let De=ee[s];const Ve=new _(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&De&&Ve.absorbOptions(De.options),ee[s]=Ve,De||(De=xe),Ve.value!==R&&De.value===Ve.value){if(!function gs(h,a){const s=Object.keys(h),p=Object.keys(a);if(s.length!=p.length)return!1;for(let T=0;T<s.length;T++){const V=s[T];if(!a.hasOwnProperty(V)||h[V]!==a[V])return!1}return!0}(De.params,Ve.params)){const bn=[],Wn=V.matchStyles(De.value,De.params,bn),_r=V.matchStyles(Ve.value,Ve.params,bn);bn.length?this._engine.reportError(bn):this._engine.afterFlush(()=>{on(a,Wn),Mn(a,_r)})}return}const pn=wt(this._engine.playersByElement,a,[]);pn.forEach(bn=>{bn.namespaceId==this.id&&bn.triggerName==s&&bn.queued&&bn.destroy()});let Dn=V.matchTransition(De.value,Ve.value,a,Ve.params),zt=!1;if(!Dn){if(!T)return;Dn=V.fallbackTransition,zt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:s,transition:Dn,fromState:De,toState:Ve,player:J,isFallbackTransition:zt}),zt||(jr(a,dt),J.onStart(()=>{ze(a,dt)})),J.onDone(()=>{let bn=this.players.indexOf(J);bn>=0&&this.players.splice(bn,1);const Wn=this._engine.playersByElement.get(a);if(Wn){let _r=Wn.indexOf(J);_r>=0&&Wn.splice(_r,1)}}),this.players.push(J),pn.push(J),J}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((s,p)=>{delete s[a]}),this._elementListeners.forEach((s,p)=>{this._elementListeners.set(p,s.filter(T=>T.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const s=this._engine.playersByElement.get(a);s&&(s.forEach(p=>p.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,s){const p=this._engine.driver.query(a,an,!0);p.forEach(T=>{if(T[y])return;const V=this._engine.fetchNamespacesByElement(T);V.size?V.forEach(J=>J.triggerLeaveAnimation(T,s,!1,!0)):this.clearElementCache(T)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(T=>this.clearElementCache(T)))}triggerLeaveAnimation(a,s,p,T){const V=this._engine.statesByElement.get(a),J=new Map;if(V){const ee=[];if(Object.keys(V).forEach(De=>{if(J.set(De,V[De].value),this._triggers[De]){const Ve=this.trigger(a,De,R,T);Ve&&ee.push(Ve)}}),ee.length)return this._engine.markElementAsRemoved(this.id,a,!0,s,J),p&&bt(ee).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const s=this._elementListeners.get(a),p=this._engine.statesByElement.get(a);if(s&&p){const T=new Set;s.forEach(V=>{const J=V.name;if(T.has(J))return;T.add(J);const De=this._triggers[J].fallbackTransition,Ve=p[J]||xe,at=new _(R),Ut=new Ft(this.id,J,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:J,transition:De,fromState:Ve,toState:at,player:Ut,isFallbackTransition:!0})})}}removeNode(a,s){const p=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,s),this.triggerLeaveAnimation(a,s,!0))return;let T=!1;if(p.totalAnimations){const V=p.players.length?p.playersByQueriedElement.get(a):[];if(V&&V.length)T=!0;else{let J=a;for(;J=J.parentNode;)if(p.statesByElement.get(J)){T=!0;break}}}if(this.prepareLeaveAnimationListeners(a),T)p.markElementAsRemoved(this.id,a,!1,s);else{const V=a[y];(!V||V===Yn)&&(p.afterFlush(()=>this.clearElementCache(a)),p.destroyInnerAnimations(a),p._onRemovalComplete(a,s))}}insertNode(a,s){jr(a,this._hostClassName)}drainQueuedTransitions(a){const s=[];return this._queue.forEach(p=>{const T=p.player;if(T.destroyed)return;const V=p.element,J=this._elementListeners.get(V);J&&J.forEach(ee=>{if(ee.name==p.triggerName){const De=Bt(V,p.triggerName,p.fromState.value,p.toState.value);De._data=a,Tn(p.player,ee.phase,De,ee.callback)}}),T.markedForDestroy?this._engine.afterFlush(()=>{T.destroy()}):s.push(p)}),this._queue=[],s.sort((p,T)=>{const V=p.transition.ast.depCount,J=T.transition.ast.depCount;return 0==V||0==J?V-J:this._engine.driver.containsElement(p.element,T.element)?1:-1})}destroy(a){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let s=!1;return this._elementListeners.has(a)&&(s=!0),s=!!this._queue.find(p=>p.element===a)||s,s}}class Gn{constructor(a,s,p){this.bodyNode=a,this.driver=s,this._normalizer=p,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=(T,V)=>{}}_onRemovalComplete(a,s){this.onRemovalComplete(a,s)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(s=>{s.players.forEach(p=>{p.queued&&a.push(p)})}),a}createNamespace(a,s){const p=new At(a,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(p,s):(this.newHostElements.set(s,p),this.collectEnterElement(s)),this._namespaceLookup[a]=p}_balanceNamespaceList(a,s){const p=this._namespaceList,T=this.namespacesByHostElement,V=p.length-1;if(V>=0){let J=!1;if(void 0!==this.driver.getParentElement){let ee=this.driver.getParentElement(s);for(;ee;){const De=T.get(ee);if(De){const Ve=p.indexOf(De);p.splice(Ve+1,0,a),J=!0;break}ee=this.driver.getParentElement(ee)}}else for(let ee=V;ee>=0;ee--)if(this.driver.containsElement(p[ee].hostElement,s)){p.splice(ee+1,0,a),J=!0;break}J||p.unshift(a)}else p.push(a);return T.set(s,a),a}register(a,s){let p=this._namespaceLookup[a];return p||(p=this.createNamespace(a,s)),p}registerTrigger(a,s,p){let T=this._namespaceLookup[a];T&&T.register(s,p)&&this.totalAnimations++}destroy(a,s){if(!a)return;const p=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[a];const T=this._namespaceList.indexOf(p);T>=0&&this._namespaceList.splice(T,1)}),this.afterFlushAnimationsDone(()=>p.destroy(s))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const s=new Set,p=this.statesByElement.get(a);if(p){const T=Object.keys(p);for(let V=0;V<T.length;V++){const J=p[T[V]].namespaceId;if(J){const ee=this._fetchNamespace(J);ee&&s.add(ee)}}}return s}trigger(a,s,p,T){if(Ri(s)){const V=this._fetchNamespace(a);if(V)return V.trigger(s,p,T),!0}return!1}insertNode(a,s,p,T){if(!Ri(s))return;const V=s[y];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const J=this.collectedLeaveElements.indexOf(s);J>=0&&this.collectedLeaveElements.splice(J,1)}if(a){const J=this._fetchNamespace(a);J&&J.insertNode(s,p)}T&&this.collectEnterElement(s)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,s){s?this.disabledNodes.has(a)||(this.disabledNodes.add(a),jr(a,kn)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),ze(a,kn))}removeNode(a,s,p,T){if(Ri(s)){const V=a?this._fetchNamespace(a):null;if(V?V.removeNode(s,T):this.markElementAsRemoved(a,s,!1,T),p){const J=this.namespacesByHostElement.get(s);J&&J.id!==a&&J.removeNode(s,T)}}else this._onRemovalComplete(s,T)}markElementAsRemoved(a,s,p,T,V){this.collectedLeaveElements.push(s),s[y]={namespaceId:a,setForRemoval:T,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:V}}listen(a,s,p,T,V){return Ri(s)?this._fetchNamespace(a).listen(s,p,T,V):()=>{}}_buildInstruction(a,s,p,T,V){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,p,T,a.fromState.options,a.toState.options,s,V)}destroyInnerAnimations(a){let s=this.driver.query(a,an,!0);s.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(a,en,!0),s.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(a){const s=this.playersByElement.get(a);s&&s.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(a){const s=this.playersByQueriedElement.get(a);s&&s.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return bt(this.players).onDone(()=>a());a()})}processLeaveNode(a){const s=a[y];if(s&&s.setForRemoval){if(a[y]=Yn,s.namespaceId){this.destroyInnerAnimations(a);const p=this._fetchNamespace(s.namespaceId);p&&p.clearElementCache(a)}this._onRemovalComplete(a,s.setForRemoval)}a.classList?.contains(kn)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(a=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,T)=>this._balanceNamespaceList(p,T)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)jr(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{s=this._flushAnimations(p,a)}finally{for(let T=0;T<p.length;T++)p[T]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],s.length?bt(s).onDone(()=>{p.forEach(T=>T())}):p.forEach(T=>T())}}reportError(a){throw function Ne(h){return new l.vHH(3402,Qe)}()}_flushAnimations(a,s){const p=new zr,T=[],V=new Map,J=[],ee=new Map,De=new Map,Ve=new Map,at=new Set;this.disabledNodes.forEach(Lt=>{at.add(Lt);const qt=this.driver.query(Lt,".ng-animate-queued",!0);for(let cn=0;cn<qt.length;cn++)at.add(qt[cn])});const Ut=this.bodyNode,pn=Array.from(this.statesByElement.keys()),Dn=fs(pn,this.collectedEnterElements),zt=new Map;let bn=0;Dn.forEach((Lt,qt)=>{const cn=ft+bn++;zt.set(qt,cn),Lt.forEach(Hn=>jr(Hn,cn))});const Wn=[],_r=new Set,ur=new Set;for(let Lt=0;Lt<this.collectedLeaveElements.length;Lt++){const qt=this.collectedLeaveElements[Lt],cn=qt[y];cn&&cn.setForRemoval&&(Wn.push(qt),_r.add(qt),cn.hasAnimation?this.driver.query(qt,".ng-star-inserted",!0).forEach(Hn=>_r.add(Hn)):ur.add(qt))}const yr=new Map,wr=fs(pn,Array.from(_r));wr.forEach((Lt,qt)=>{const cn=It+bn++;yr.set(qt,cn),Lt.forEach(Hn=>jr(Hn,cn))}),a.push(()=>{Dn.forEach((Lt,qt)=>{const cn=zt.get(qt);Lt.forEach(Hn=>ze(Hn,cn))}),wr.forEach((Lt,qt)=>{const cn=yr.get(qt);Lt.forEach(Hn=>ze(Hn,cn))}),Wn.forEach(Lt=>{this.processLeaveNode(Lt)})});const Ei=[],Di=[];for(let Lt=this._namespaceList.length-1;Lt>=0;Lt--)this._namespaceList[Lt].drainQueuedTransitions(s).forEach(cn=>{const Hn=cn.player,Er=cn.element;if(Ei.push(Hn),this.collectedEnterElements.length){const Vr=Er[y];if(Vr&&Vr.setForMove){if(Vr.previousTriggersValues&&Vr.previousTriggersValues.has(cn.triggerName)){const Ro=Vr.previousTriggersValues.get(cn.triggerName),fi=this.statesByElement.get(cn.element);fi&&fi[cn.triggerName]&&(fi[cn.triggerName].value=Ro)}return void Hn.destroy()}}const Si=!Ut||!this.driver.containsElement(Ut,Er),Yr=yr.get(Er),hi=zt.get(Er),Xn=this._buildInstruction(cn,p,hi,Yr,Si);if(Xn.errors&&Xn.errors.length)return void Di.push(Xn);if(Si)return Hn.onStart(()=>on(Er,Xn.fromStyles)),Hn.onDestroy(()=>Mn(Er,Xn.toStyles)),void T.push(Hn);if(cn.isFallbackTransition)return Hn.onStart(()=>on(Er,Xn.fromStyles)),Hn.onDestroy(()=>Mn(Er,Xn.toStyles)),void T.push(Hn);const Do=[];Xn.timelines.forEach(Vr=>{Vr.stretchStartingKeyframe=!0,this.disabledNodes.has(Vr.element)||Do.push(Vr)}),Xn.timelines=Do,p.append(Er,Xn.timelines),J.push({instruction:Xn,player:Hn,element:Er}),Xn.queriedElements.forEach(Vr=>wt(ee,Vr,[]).push(Hn)),Xn.preStyleProps.forEach((Vr,Ro)=>{const fi=Object.keys(Vr);if(fi.length){let Bi=De.get(Ro);Bi||De.set(Ro,Bi=new Set),fi.forEach(xs=>Bi.add(xs))}}),Xn.postStyleProps.forEach((Vr,Ro)=>{const fi=Object.keys(Vr);let Bi=Ve.get(Ro);Bi||Ve.set(Ro,Bi=new Set),fi.forEach(xs=>Bi.add(xs))})});if(Di.length){const Lt=[];Di.forEach(qt=>{Lt.push(function nt(h,a){return new l.vHH(3505,Qe)}())}),Ei.forEach(qt=>qt.destroy()),this.reportError(Lt)}const Nr=new Map,di=new Map;J.forEach(Lt=>{const qt=Lt.element;p.has(qt)&&(di.set(qt,qt),this._beforeAnimationBuild(Lt.player.namespaceId,Lt.instruction,Nr))}),T.forEach(Lt=>{const qt=Lt.element;this._getPreviousPlayers(qt,!1,Lt.namespaceId,Lt.triggerName,null).forEach(Hn=>{wt(Nr,qt,[]).push(Hn),Hn.destroy()})});const oi=Wn.filter(Lt=>Ni(Lt,De,Ve)),Mi=new Map;To(Mi,this.driver,ur,Ve,U).forEach(Lt=>{Ni(Lt,De,Ve)&&oi.push(Lt)});const ss=new Map;Dn.forEach((Lt,qt)=>{To(ss,this.driver,new Set(Lt),De,"!")}),oi.forEach(Lt=>{const qt=Mi.get(Lt),cn=ss.get(Lt);Mi.set(Lt,{...qt,...cn})});const si=[],Io=[],Xa={};J.forEach(Lt=>{const{element:qt,player:cn,instruction:Hn}=Lt;if(p.has(qt)){if(at.has(qt))return cn.onDestroy(()=>Mn(qt,Hn.toStyles)),cn.disabled=!0,cn.overrideTotalTime(Hn.totalTime),void T.push(cn);let Er=Xa;if(di.size>1){let Yr=qt;const hi=[];for(;Yr=Yr.parentNode;){const Xn=di.get(Yr);if(Xn){Er=Xn;break}hi.push(Yr)}hi.forEach(Xn=>di.set(Xn,Er))}const Si=this._buildAnimation(cn.namespaceId,Hn,Nr,V,ss,Mi);if(cn.setRealPlayer(Si),Er===Xa)si.push(cn);else{const Yr=this.playersByElement.get(Er);Yr&&Yr.length&&(cn.parentPlayer=bt(Yr)),T.push(cn)}}else on(qt,Hn.fromStyles),cn.onDestroy(()=>Mn(qt,Hn.toStyles)),Io.push(cn),at.has(qt)&&T.push(cn)}),Io.forEach(Lt=>{const qt=V.get(Lt.element);if(qt&&qt.length){const cn=bt(qt);Lt.setRealPlayer(cn)}}),T.forEach(Lt=>{Lt.parentPlayer?Lt.syncPlayerEvents(Lt.parentPlayer):Lt.destroy()});for(let Lt=0;Lt<Wn.length;Lt++){const qt=Wn[Lt],cn=qt[y];if(ze(qt,It),cn&&cn.hasAnimation)continue;let Hn=[];if(ee.size){let Si=ee.get(qt);Si&&Si.length&&Hn.push(...Si);let Yr=this.driver.query(qt,en,!0);for(let hi=0;hi<Yr.length;hi++){let Xn=ee.get(Yr[hi]);Xn&&Xn.length&&Hn.push(...Xn)}}const Er=Hn.filter(Si=>!Si.destroyed);Er.length?Pn(this,qt,Er):this.processLeaveNode(qt)}return Wn.length=0,si.forEach(Lt=>{this.players.push(Lt),Lt.onDone(()=>{Lt.destroy();const qt=this.players.indexOf(Lt);this.players.splice(qt,1)}),Lt.play()}),si}elementContainsData(a,s){let p=!1;const T=s[y];return T&&T.setForRemoval&&(p=!0),this.playersByElement.has(s)&&(p=!0),this.playersByQueriedElement.has(s)&&(p=!0),this.statesByElement.has(s)&&(p=!0),this._fetchNamespace(a).elementContainsData(s)||p}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,s,p,T,V){let J=[];if(s){const ee=this.playersByQueriedElement.get(a);ee&&(J=ee)}else{const ee=this.playersByElement.get(a);if(ee){const De=!V||V==R;ee.forEach(Ve=>{Ve.queued||!De&&Ve.triggerName!=T||J.push(Ve)})}}return(p||T)&&(J=J.filter(ee=>!(p&&p!=ee.namespaceId||T&&T!=ee.triggerName))),J}_beforeAnimationBuild(a,s,p){const V=s.element,J=s.isRemovalTransition?void 0:a,ee=s.isRemovalTransition?void 0:s.triggerName;for(const De of s.timelines){const Ve=De.element,at=Ve!==V,Ut=wt(p,Ve,[]);this._getPreviousPlayers(Ve,at,J,ee,s.toState).forEach(Dn=>{const zt=Dn.getRealPlayer();zt.beforeDestroy&&zt.beforeDestroy(),Dn.destroy(),Ut.push(Dn)})}on(V,s.fromStyles)}_buildAnimation(a,s,p,T,V,J){const ee=s.triggerName,De=s.element,Ve=[],at=new Set,Ut=new Set,pn=s.timelines.map(zt=>{const bn=zt.element;at.add(bn);const Wn=bn[y];if(Wn&&Wn.removedBeforeQueried)return new un(zt.duration,zt.delay);const _r=bn!==De,ur=function ps(h){const a=[];return rr(h,a),a}((p.get(bn)||yn).map(Nr=>Nr.getRealPlayer())).filter(Nr=>!!Nr.element&&Nr.element===bn),yr=V.get(bn),wr=J.get(bn),Ei=tr(0,this._normalizer,0,zt.keyframes,yr,wr),Di=this._buildPlayer(zt,Ei,ur);if(zt.subTimeline&&T&&Ut.add(bn),_r){const Nr=new Ft(a,ee,bn);Nr.setRealPlayer(Di),Ve.push(Nr)}return Di});Ve.forEach(zt=>{wt(this.playersByQueriedElement,zt.element,[]).push(zt),zt.onDone(()=>function vi(h,a,s){let p;if(h instanceof Map){if(p=h.get(a),p){if(p.length){const T=p.indexOf(s);p.splice(T,1)}0==p.length&&h.delete(a)}}else if(p=h[a],p){if(p.length){const T=p.indexOf(s);p.splice(T,1)}0==p.length&&delete h[a]}return p}(this.playersByQueriedElement,zt.element,zt))}),at.forEach(zt=>jr(zt,kt));const Dn=bt(pn);return Dn.onDestroy(()=>{at.forEach(zt=>ze(zt,kt)),Mn(De,s.toStyles)}),Ut.forEach(zt=>{wt(T,zt,[]).push(Dn)}),Dn}_buildPlayer(a,s,p){return s.length>0?this.driver.animate(a.element,s,a.duration,a.delay,a.easing,p):new un(a.duration,a.delay)}}class Ft{constructor(a,s,p){this.namespaceId=a,this.triggerName=s,this.element=p,this._player=new un,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(s=>{this._queuedCallbacks[s].forEach(p=>Tn(a,s,void 0,p))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const s=this._player;s.triggerCallback&&a.onStart(()=>s.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,s){wt(this._queuedCallbacks,a,[]).push(s)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const s=this._player;s.triggerCallback&&s.triggerCallback(a)}}function Ri(h){return h&&1===h.nodeType}function Ki(h,a){const s=h.style.display;return h.style.display=a??"none",s}function To(h,a,s,p,T){const V=[];s.forEach(De=>V.push(Ki(De)));const J=[];p.forEach((De,Ve)=>{const at={};De.forEach(Ut=>{const pn=at[Ut]=a.computeStyle(Ve,Ut,T);(!pn||0==pn.length)&&(Ve[y]=w,J.push(Ve))}),h.set(Ve,at)});let ee=0;return s.forEach(De=>Ki(De,V[ee++])),J}function fs(h,a){const s=new Map;if(h.forEach(ee=>s.set(ee,[])),0==a.length)return s;const T=new Set(a),V=new Map;function J(ee){if(!ee)return 1;let De=V.get(ee);if(De)return De;const Ve=ee.parentNode;return De=s.has(Ve)?Ve:T.has(Ve)?1:J(Ve),V.set(ee,De),De}return a.forEach(ee=>{const De=J(ee);1!==De&&s.get(De).push(ee)}),s}function jr(h,a){h.classList?.add(a)}function ze(h,a){h.classList?.remove(a)}function Pn(h,a,s){bt(s).onDone(()=>h.processLeaveNode(a))}function rr(h,a){for(let s=0;s<h.length;s++){const p=h[s];p instanceof sn?rr(p.players,a):a.push(p)}}function Ni(h,a,s){const p=s.get(h);if(!p)return!1;let T=a.get(h);return T?p.forEach(V=>T.add(V)):a.set(h,p),s.delete(h),!0}class br{constructor(a,s,p){this.bodyNode=a,this._driver=s,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(T,V)=>{},this._transitionEngine=new Gn(a,s,p),this._timelineEngine=new Ze(a,s,p),this._transitionEngine.onRemovalComplete=(T,V)=>this.onRemovalComplete(T,V)}registerTrigger(a,s,p,T,V){const J=a+"-"+T;let ee=this._triggerCache[J];if(!ee){const De=[],at=Qr(this._driver,V,De,[]);if(De.length)throw function lr(h,a){return new l.vHH(3404,Qe)}();ee=function I(h,a,s){return new b(h,a,s)}(T,at,this._normalizer),this._triggerCache[J]=ee}this._transitionEngine.registerTrigger(s,T,ee)}register(a,s){this._transitionEngine.register(a,s)}destroy(a,s){this._transitionEngine.destroy(a,s)}onInsert(a,s,p,T){this._transitionEngine.insertNode(a,s,p,T)}onRemove(a,s,p,T){this._transitionEngine.removeNode(a,s,T||!1,p)}disableAnimations(a,s){this._transitionEngine.markElementAsDisabled(a,s)}process(a,s,p,T){if("@"==p.charAt(0)){const[V,J]=rn(p);this._timelineEngine.command(V,s,J,T)}else this._transitionEngine.trigger(a,s,p,T)}listen(a,s,p,T,V){if("@"==p.charAt(0)){const[J,ee]=rn(p);return this._timelineEngine.listen(J,s,ee,V)}return this._transitionEngine.listen(a,s,p,T,V)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Vo=(()=>{class h{constructor(s,p,T){this._element=s,this._startStyles=p,this._endStyles=T,this._state=0;let V=h.initialStylesByElement.get(s);V||h.initialStylesByElement.set(s,V={}),this._initialStyles=V}start(){this._state<1&&(this._startStyles&&Mn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mn(this._element,this._initialStyles),this._endStyles&&(Mn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(h.initialStylesByElement.delete(this._element),this._startStyles&&(on(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),Mn(this._element,this._initialStyles),this._state=3)}}return h.initialStylesByElement=new WeakMap,h})();function po(h){let a=null;const s=Object.keys(h);for(let p=0;p<s.length;p++){const T=s[p];na(T)&&(a=a||{},a[T]=h[T])}return a}function na(h){return"display"===h||"position"===h}class go{constructor(a,s,p,T){this.element=a,this.keyframes=s,this.options=p,this._specialStyles=T,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,s,p){return a.animate(s,p)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const s=this._finalKeyframe;Object.keys(s).forEach(p=>{"offset"!=p&&(a[p]=this._finished?s[p]:Te(this.element,p))})}this.currentSnapshot=a}triggerCallback(a){const s="start"==a?this._onStartFns:this._onDoneFns;s.forEach(p=>p()),s.length=0}}class Po{validateStyleProperty(a){return mt(a)}matchesElement(a,s){return!1}containsElement(a,s){return Et(a,s)}getParentElement(a){return ve(a)}query(a,s,p){return Xt(a,s,p)}computeStyle(a,s,p){return window.getComputedStyle(a)[s]}animate(a,s,p,T,V,J=[]){const De={duration:p,delay:T,fill:0==T?"both":"forwards"};V&&(De.easing=V);const Ve={},at=J.filter(pn=>pn instanceof go);(function N(h,a){return 0===h||0===a})(p,T)&&at.forEach(pn=>{let Dn=pn.currentSnapshot;Object.keys(Dn).forEach(zt=>Ve[zt]=Dn[zt])}),s=function re(h,a,s){const p=Object.keys(s);if(p.length&&a.length){let V=a[0],J=[];if(p.forEach(ee=>{V.hasOwnProperty(ee)||J.push(ee),V[ee]=s[ee]}),J.length)for(var T=1;T<a.length;T++){let ee=a[T];J.forEach(function(De){ee[De]=Te(h,De)})}}return a}(a,s=s.map(pn=>ln(pn,!1)),Ve);const Ut=function Lo(h,a){let s=null,p=null;return Array.isArray(a)&&a.length?(s=po(a[0]),a.length>1&&(p=po(a[a.length-1]))):a&&(s=po(a)),s||p?new Vo(h,s,p):null}(a,s);return new go(a,s,De,Ut)}}let Mr=(()=>{class h extends z{constructor(s,p){super(),this._nextAnimationId=0,this._renderer=s.createRenderer(p.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(s){const p=this._nextAnimationId.toString();this._nextAnimationId++;const T=Array.isArray(s)?Y(s):s;return Fi(this._renderer,null,p,"register",[T]),new kr(p,this._renderer)}}return h.\u0275fac=function(s){return new(s||h)(l.LFG(l.FYo),l.LFG(S.K0))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})();class kr extends class F{}{constructor(a,s){super(),this._id=a,this._renderer=s}create(a,s){return new ms(this._id,a,s||{},this._renderer)}}class ms{constructor(a,s,p,T){this.id=a,this.element=s,this._renderer=T,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(a,s){return this._renderer.listen(this.element,`@@${this.id}:${a}`,s)}_command(a,...s){return Fi(this._renderer,this.element,this.id,a,s)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Fi(h,a,s,p,T){return h.setProperty(a,`@@${s}:${p}`,T)}const _s="@.disabled";let ys=(()=>{class h{constructor(s,p,T){this.delegate=s,this.engine=p,this._zone=T,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(V,J)=>{const ee=J?.parentNode(V);ee&&J.removeChild(ee,V)}}createRenderer(s,p){const V=this.delegate.createRenderer(s,p);if(!(s&&p&&p.data&&p.data.animation)){let at=this._rendererCache.get(V);return at||(at=new vs("",V,this.engine),this._rendererCache.set(V,at)),at}const J=p.id,ee=p.id+"-"+this._currentId;this._currentId++,this.engine.register(ee,s);const De=at=>{Array.isArray(at)?at.forEach(De):this.engine.registerTrigger(J,ee,s,at.name,at)};return p.data.animation.forEach(De),new ra(this,ee,V,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(s,p,T){s>=0&&s<this._microtaskId?this._zone.run(()=>p(T)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(V=>{const[J,ee]=V;J(ee)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,T]))}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 h.\u0275fac=function(s){return new(s||h)(l.LFG(l.FYo),l.LFG(br),l.LFG(l.R0b))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})();class vs{constructor(a,s,p){this.namespaceId=a,this.delegate=s,this.engine=p,this.destroyNode=this.delegate.destroyNode?T=>s.destroyNode(T):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,s){return this.delegate.createElement(a,s)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,s){this.delegate.appendChild(a,s),this.engine.onInsert(this.namespaceId,s,a,!1)}insertBefore(a,s,p,T=!0){this.delegate.insertBefore(a,s,p),this.engine.onInsert(this.namespaceId,s,a,T)}removeChild(a,s,p){this.engine.onRemove(this.namespaceId,s,this.delegate,p)}selectRootElement(a,s){return this.delegate.selectRootElement(a,s)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,s,p,T){this.delegate.setAttribute(a,s,p,T)}removeAttribute(a,s,p){this.delegate.removeAttribute(a,s,p)}addClass(a,s){this.delegate.addClass(a,s)}removeClass(a,s){this.delegate.removeClass(a,s)}setStyle(a,s,p,T){this.delegate.setStyle(a,s,p,T)}removeStyle(a,s,p){this.delegate.removeStyle(a,s,p)}setProperty(a,s,p){"@"==s.charAt(0)&&s==_s?this.disableAnimations(a,!!p):this.delegate.setProperty(a,s,p)}setValue(a,s){this.delegate.setValue(a,s)}listen(a,s,p){return this.delegate.listen(a,s,p)}disableAnimations(a,s){this.engine.disableAnimations(a,s)}}class ra extends vs{constructor(a,s,p,T){super(s,p,T),this.factory=a,this.namespaceId=s}setProperty(a,s,p){"@"==s.charAt(0)?"."==s.charAt(1)&&s==_s?this.disableAnimations(a,p=void 0===p||!!p):this.engine.process(this.namespaceId,a,s.substr(1),p):this.delegate.setProperty(a,s,p)}listen(a,s,p){if("@"==s.charAt(0)){const T=function Bo(h){switch(h){case"body":return document.body;case"document":return document;case"window":return window;default:return h}}(a);let V=s.substr(1),J="";return"@"!=V.charAt(0)&&([V,J]=function jo(h){const a=h.indexOf(".");return[h.substring(0,a),h.substr(a+1)]}(V)),this.engine.listen(this.namespaceId,T,V,J,ee=>{this.factory.scheduleListenerCallback(ee._data||-1,p,ee)})}return this.delegate.listen(a,s,p)}}let Ho=(()=>{class h extends br{constructor(s,p,T){super(s.body,p,T)}ngOnDestroy(){this.flush()}}return h.\u0275fac=function(s){return new(s||h)(l.LFG(S.K0),l.LFG($),l.LFG(Ii))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})();const $o=new l.OlP("AnimationModuleType"),mo=[{provide:z,useClass:Mr},{provide:Ii,useFactory:function Uo(){return new uo}},{provide:br,useClass:Ho},{provide:l.FYo,useFactory:function ia(h,a,s){return new ys(h,a,s)},deps:[Qt.se,br,l.R0b]}],Go=[{provide:$,useFactory:()=>new Po},{provide:$o,useValue:"BrowserAnimations"},...mo],zo=[{provide:$,useClass:K},{provide:$o,useValue:"NoopAnimations"},...mo];let oa=(()=>{class h{static withConfig(s){return{ngModule:h,providers:s.disableAnimations?zo:Go}}}return h.\u0275fac=function(s){return new(s||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({providers:Go,imports:[Qt.b2]}),h})();function Sr(h,a){if(1&h&&l._uU(0),2&h){const s=l.oxw();l.hij(" ",s.locale.maketext("Loading \u2026"),"\n")}}function Ci(h,a){1&h&&l.GkF(0)}const ir=["header"];function la(h,a){if(1&h){const s=l.EpF();l.TgZ(0,"button",4),l.NdJ("click",function(){return l.CHM(s),l.oxw().closeClicked()}),l._UZ(1,"i",5),l.qZA()}if(2&h){const s=l.oxw();l.uIk("id",s.buttonID)}}const bs=[[["","callout-heading",""]],"*"],ca=["[callout-heading]","*"];function Zi(h,a){if(1&h){const s=l.EpF();l.TgZ(0,"button",9),l.NdJ("click",function(){return l.CHM(s),l.oxw(2).fireClose()}),l.TgZ(1,"span"),l._uU(2,"\xd7"),l.qZA()()}if(2&h){const s=l.oxw(2);l.Q6J("id",s.closeButtonID)("title",s.closeLabel),l.uIk("aria-label",s.closeLabel),l.xp6(1),l.uIk("aria-hidden",!0)}}function da(h,a){if(1&h){const s=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(s),l.oxw(2).fireToggleMore()}),l._uU(1),l.qZA()}if(2&h){const s=l.oxw(2);l.Q6J("id",s.moreButtonID),l.xp6(1),l.hij(" ",s.moreLabel," ")}}function ha(h,a){if(1&h&&(l.TgZ(0,"strong",11),l._uU(1),l.qZA()),2&h){const s=l.oxw(2);l.xp6(1),l.Oqu(s.label)}}function hr(h,a){if(1&h&&(l.TgZ(0,"span",12),l._uU(1),l.qZA()),2&h){const s=l.oxw(2);l.Q6J("id",s.textMessageID),l.xp6(1),l.hij(" ",s.message," ")}}function Yo(h,a){if(1&h&&(l.TgZ(0,"li")(1,"span",12),l._uU(2),l.qZA()()),2&h){const s=a.$implicit,p=a.index,T=l.oxw(3);l.xp6(1),l.s9C("id",T.textListID+"_"+p),l.xp6(1),l.hij(" ",s," ")}}function Es(h,a){if(1&h&&(l.TgZ(0,"ul",13),l.YNc(1,Yo,3,2,"li",14),l.qZA()),2&h){const s=l.oxw(2);l.xp6(1),l.Q6J("ngForOf",s.alert.list)}}function Ko(h,a){if(1&h&&(l.TgZ(0,"div",1),l.YNc(1,Zi,3,4,"button",2),l.YNc(2,da,2,2,"button",3),l._UZ(3,"span"),l.TgZ(4,"div",4),l.YNc(5,ha,2,1,"strong",5),l.TgZ(6,"span",6),l.YNc(7,hr,2,2,"span",7),l.qZA(),l.YNc(8,Es,2,1,"ul",8),l.qZA()()),2&h){const s=l.oxw();l.Gre("alert alert-",s.type," ng-hide"),l.Q6J("@openClose",s.animationClass),l.xp6(1),l.Q6J("ngIf",s.showCloseButton),l.xp6(1),l.Q6J("ngIf",s.showMoreButton),l.xp6(1),l.Tol(s.icon),l.uIk("aria-hidden",!0),l.xp6(2),l.Q6J("ngIf",s.hasLabel),l.xp6(2),l.Q6J("ngIf",s.message),l.xp6(1),l.Q6J("ngIf",s.alert&&s.alert.list&&s.alert.list.length)}}function Zo(h,a){if(1&h){const s=l.EpF();l.TgZ(0,"div",6)(1,"cp-alert",7),l.NdJ("close",function(){const V=l.CHM(s).$implicit;return l.oxw().alertClosed(V)}),l.qZA()()}if(2&h){const s=a.$implicit;l.xp6(1),l.Q6J("alert",s)}}function vo(h,a){if(1&h&&l._UZ(0,"div",8),2&h){const s=l.oxw();l.Q6J("ngClass",s.positionClasses)}}class Lr{constructor(a,s,p=Lr.defaultOptions){this._message=a,this._type=s;const T=p.id?p.id:Math.random().toString(36).substr(2,9);this._id=T,this._closable=p.isCloseable??!0,this._autoClosePeriod=p.autoClosePeriod,this._list=p.list,this._showMore=p.showMore||Lr.defaultShowMore,this._ts=p.createdOn??Date.now()}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(a){const{message:s,type:p,...T}=a;return new Lr(s,p,T)}}Lr.defaultShowMore=!1,Lr.defaultAutoClosePeriod=0,Lr.defaultOptions={autoClosePeriod:Lr.defaultAutoClosePeriod,list:[]};var zn=(()=>{return(h=zn||(zn={}))[h.error=0]="error",h[h.success=1]="success",h[h.warning=2]="warning",h[h.information=3]="information",zn;var h})(),ni=(()=>{return(h=ni||(ni={})).add="add",h.remove="remove",h.clear="clear",ni;var h})();let is=(()=>{class h{constructor(){this._alertEventsSource=new te.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(s,p=h.defaultGroup){this._alerts[p]||(this._alerts[p]=[]);const T=s instanceof Lr?s:Lr.makeAlert(s);if(this.list(p).push(T),this._alertEventsSource.next({type:ni.add,group:p,alert:T}),(0,l.X6Q)())switch(T.type){case zn.error:console.error(T.message,T);break;case zn.warning:console.warn(T.message,T);break;default:console.log(T.message,T)}return T}success(s,p=h.defaultGroup){return this.add(new Lr(s,zn.success,h.defaultSuccessOptions),p)}error(s,p=h.defaultGroup){return this.add({message:s,type:zn.error},p)}info(s,p=h.defaultGroup){return this.add({message:s,type:zn.information},p)}warn(s,p=h.defaultGroup){return this.add({message:s,type:zn.warning},p)}removeById(s,p=h.defaultGroup){const T=this.list(p),V=T.findIndex(J=>J.id===s,0);if(-1!==V){const J=T[V];T.splice(V,1),this._alertEventsSource.next({type:ni.remove,group:p,alert:J})}}clear(s=h.defaultGroup){this._alerts[s]=[],this._alertEventsSource.next({type:ni.clear,group:s})}list(s=h.defaultGroup){return null==this._alerts[s]&&(this._alerts[s]=[]),this._alerts[s]}}return h.defaultGroup="__DEFAULT__",h.defaultSuccessOptions={autoClosePeriod:1e4},h.\u0275fac=function(s){return new(s||h)},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();var d=(()=>{return(h=d||(d={})).inline="inline",h.topLeft="top-left",h.topMiddle="top-middle",h.topRight="top-right",h.bottomLeft="bottom-left",h.bottomMiddle="bottom-middle",h.bottomRight="bottom-right",h.middleLeft="middle-left",h.middleMiddle="middle-middle",h.middleRight="middle-right",d;var h})();const v=d.topRight,M=d.topLeft;let Vi=(()=>{class h{constructor(s){this.locale=s,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}}return h.\u0275fac=function(s){return new(s||h)(l.Y36(H.g))},h.\u0275cmp=l.Xpm({type:h,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(s,p){if(1&s&&(l.YNc(0,Sr,1,1,"ng-template",null,0,l.W1O),l.TgZ(2,"div",1),l._UZ(3,"i",2),l.TgZ(4,"div",3),l.YNc(5,Ci,1,0,"ng-container",4),l.qZA()()),2&s){const T=l.MAs(1);l.xp6(2),l.uIk("id",p.containerId),l.xp6(1),l.uIk("id",p.spinnerId),l.xp6(1),l.uIk("id",p.messageId),l.xp6(1),l.Q6J("ngTemplateOutlet",p.loadingTemplate?p.loadingTemplate:T)}},directives:[S.tP],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']}),h})(),bi=(()=>{class h{}return h.\u0275fac=function(s){return new(s||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[S.ez,W.m]]}),h})();var Ao=(()=>{return(h=Ao||(Ao={})).warnings="warnings",h.danger="danger",h.info="info",h.default="info",Ao;var h})();let Eo=(()=>{class h{constructor(){this.calloutType=Ao.default,this.closeable=!1,this.close=new l.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 h.\u0275fac=function(s){return new(s||h)},h.\u0275cmp=l.Xpm({type:h,selectors:[["cp-callout"]],viewQuery:function(s,p){if(1&s&&l.Gf(ir,5),2&s){let T;l.iGM(T=l.CRH())&&(p.header=T.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:ca,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(s,p){1&s&&(l.F$t(bs),l.TgZ(0,"div",0),l.YNc(1,la,2,1,"button",1),l.TgZ(2,"div",2,3),l.Hsn(4),l.qZA(),l.TgZ(5,"div"),l.Hsn(6,1),l.qZA()()),2&s&&(l.Gre("callout callout-",p.calloutType,""),l.uIk("aria-label",p.calloutType),l.xp6(1),l.Q6J("ngIf",p.closeable),l.xp6(1),l.uIk("id",p.headingID),l.xp6(3),l.uIk("id",p.contentID))},directives:[S.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}']}),h})(),or=(()=>{class h{}return h.\u0275fac=function(s){return new(s||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[S.ez]]}),h})();var mr=(()=>{return(h=mr||(mr={})).new="new",h.closed="closed",h.open="open",mr;var h})();let Ll=(()=>{class h{constructor(s){this.locale=s,this.close=new l.vpe,this.toggleMore=new l.vpe,this.animationClass=mr.new}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case zn.success:this.label=this.locale.maketext("Success:");break;case zn.error:this.label=this.locale.maketext("Error:");break;case zn.information:this.label=this.locale.maketext("Information:");break;case zn.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=mr.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case zn.error:return"type-icon fas fa-times-circle";case zn.warning:return"type-icon fas fa-exclamation-triangle";case zn.information:return"type-icon fas fa-info-circle";case zn.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case zn.error:return"danger";case zn.warning:return"warning";case zn.information:return"info";case zn.success:return"success"}}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=mr.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const s=this.label;return null!==s&&""!==s}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}startTimer(){this._timeout=setTimeout(()=>this.fireTimeout(),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}_buildID(...s){return s.join("_")}}return h.\u0275fac=function(s){return new(s||h)(l.Y36(H.g))},h.\u0275cmp=l.Xpm({type:h,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(s,p){1&s&&l.YNc(0,Ko,9,13,"div",0),2&s&&l.Q6J("ngIf",!p.isClosed)},directives:[S.O5,S.sg],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[B("openClose",[de(mr.new,Ee({opacity:0})),de(mr.open,Ee({opacity:1})),de(mr.closed,Ee({opacity:0,transform:"translateX(25%)"})),Pe(`${mr.open} => ${mr.closed}`,[j("0.25s")]),Pe(`${mr.new} => ${mr.open}`,[j("0.25s")]),Pe(`${mr.closed} => ${mr.open}`,[j("0.25s")])])]}}),h})(),Ya=(()=>{class h{}return h.\u0275fac=function(s){return new(s||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[S.ez,oa,W.m]]}),h})(),ri=(()=>{class h{constructor(s){this.locale=s}get position(){return this.locale.isLtr?v:M}}return h.\u0275fac=function(s){return new(s||h)(l.LFG(H.g))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),wi=(()=>{class h{constructor(s,p){this._alertService=s,this._positionService=p,this.alerts=this.alerts?this.alerts:[]}set position(s){this._position=((h,a=d.topRight)=>{if(h){const s=(h=>{const a=Object.keys(d),p=Object.values(d).indexOf(h);return-1!==p?a[p]:(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)})(h);if(s)return d[s]}return a})(s)}get position(){return this._position.toString()}alertClosed(s){this._alertService.removeById(s.id,this.group)}ngOnInit(){this.group||(this.group=is.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(p=>this._addAlert(p)),this._groupEvents=this._alertService.alertEvents.pipe((0,ie.h)(p=>p.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(s){return this.alerts.findIndex(p=>p.id===s)}_addAlert(s){return this.alerts.push(s),this.alerts}_removeAlert(s){const p=this._findAlertIndexById(s.id);return p>-1&&(this.alerts.splice(p,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(s){switch(s.type){case ni.add:this._addAlert(s.alert);break;case ni.clear:this._clearAlerts();break;case ni.remove:this._removeAlert(s.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?h.positionPrefix+d.inline.toString():h.positionPrefix+this.position.toString()}}return h.positionPrefix="position-",h.\u0275fac=function(s){return new(s||h)(l.Y36(is),l.Y36(ri))},h.\u0275cmp=l.Xpm({type:h,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(s,p){1&s&&(l.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),l.YNc(5,Zo,2,1,"div",4),l.qZA()(),l.YNc(6,vo,1,1,"div",5),l.qZA()),2&s&&(l.xp6(1),l.Q6J("ngClass",p.positionClasses),l.xp6(4),l.Q6J("ngForOf",p.alerts),l.xp6(1),l.Q6J("ngIf",p.hasAlerts))},directives:[Ll,S.mk,S.sg,S.O5],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;bottom:auto;right:auto;left:0;top:0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]}),h})(),Ka=(()=>{class h{}return h.\u0275fac=function(s){return new(s||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[S.ez,Ya]]}),h})()},7618:(Ae,q,O)=>{"use strict";O.d(q,{UZ:()=>en,tT:()=>Me,zk:()=>St});var l=O(5062),S=O(1607),te=O(6895),ie=O(2986);let H,W=(()=>{class D{constructor(){this._focusTrapStack=[]}register(E){this._focusTrapStack=this._focusTrapStack.filter(re=>re!==E);let N=this._focusTrapStack;N.length&&N[N.length-1]._disable(),N.push(E),E._enable()}deregister(E){E._disable();const N=this._focusTrapStack,re=N.indexOf(E);-1!==re&&(N.splice(re,1),N.length&&N[N.length-1]._enable())}}return D.\u0275fac=function(E){return new(E||D)},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();try{H=typeof Intl<"u"&&Intl.v8BreakIterator}catch{H=!1}let z=(()=>{class D{constructor(E){this._platformId=E,this.isBrowser=this._platformId?(0,te.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!H)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return D.\u0275fac=function(E){return new(E||D)(l.LFG(l.Lbi))},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),U=(()=>{class D{constructor(E){this._platform=E}isDisabled(E){return E.hasAttribute("disabled")}isVisible(E){return function j(D){return!!(D.offsetWidth||D.offsetHeight||"function"==typeof D.getClientRects&&D.getClientRects().length)}(E)&&"visible"===getComputedStyle(E).visibility}isTabbable(E){if(!this._platform.isBrowser)return!1;const N=function B(D){try{return D.frameElement}catch{return null}}(function Ye(D){return D.ownerDocument&&D.ownerDocument.defaultView||window}(E));if(N&&(-1===yt(N)||!this.isVisible(N)))return!1;let re=E.nodeName.toLowerCase(),fe=yt(E);return E.hasAttribute("contenteditable")?-1!==fe:!("iframe"===re||"object"===re||this._platform.WEBKIT&&this._platform.IOS&&!function ct(D){let x=D.nodeName.toLowerCase(),E="input"===x&&D.type;return"text"===E||"password"===E||"select"===x||"textarea"===x}(E))&&("audio"===re?!!E.hasAttribute("controls")&&-1!==fe:"video"===re?-1!==fe&&(null!==fe||this._platform.FIREFOX||E.hasAttribute("controls")):E.tabIndex>=0)}isFocusable(E,N){return function Xe(D){return!function Y(D){return function de(D){return"input"==D.nodeName.toLowerCase()}(D)&&"hidden"==D.type}(D)&&(function ae(D){let x=D.nodeName.toLowerCase();return"input"===x||"select"===x||"button"===x||"textarea"===x}(D)||function Ee(D){return function be(D){return"a"==D.nodeName.toLowerCase()}(D)&&D.hasAttribute("href")}(D)||D.hasAttribute("contenteditable")||Pe(D))}(E)&&!this.isDisabled(E)&&(N?.ignoreVisibility||this.isVisible(E))}}return D.\u0275fac=function(E){return new(E||D)(l.LFG(z))},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();function Pe(D){if(!D.hasAttribute("tabindex")||void 0===D.tabIndex)return!1;let x=D.getAttribute("tabindex");return"-32768"!=x&&!(!x||isNaN(parseInt(x,10)))}function yt(D){if(!Pe(D))return null;const x=parseInt(D.getAttribute("tabindex")||"",10);return isNaN(x)?-1:x}function it(D){return null!=D&&"false"!=`${D}`}class Wt{constructor(x,E,N,re,fe=!1){this._element=x,this._checker=E,this._ngZone=N,this._document=re,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,fe||this.attachAnchors()}get enabled(){return this._enabled}set enabled(x){this._enabled=x,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(x,this._startAnchor),this._toggleAnchorTabIndex(x,this._endAnchor))}destroy(){const x=this._startAnchor,E=this._endAnchor;x&&(x.removeEventListener("focus",this.startAnchorListener),x.parentNode&&x.parentNode.removeChild(x)),E&&(E.removeEventListener("focus",this.endAnchorListener),E.parentNode&&E.parentNode.removeChild(E)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(x=>{this._executeOnStable(()=>x(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(x=>{this._executeOnStable(()=>x(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(x=>{this._executeOnStable(()=>x(this.focusLastTabbableElement()))})}_getRegionBoundary(x){let E=this._element.querySelectorAll(`[cdk-focus-region-${x}], [cdkFocusRegion${x}], [cdk-focus-${x}]`);for(let N=0;N<E.length;N++)E[N].hasAttribute(`cdk-focus-${x}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${x}', use 'cdkFocusRegion${x}' instead. The deprecated attribute will be removed in 8.0.0.`,E[N]):E[N].hasAttribute(`cdk-focus-region-${x}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${x}', use 'cdkFocusRegion${x}' instead. The deprecated attribute will be removed in 8.0.0.`,E[N]);return"start"==x?E.length?E[0]:this._getFirstTabbableElement(this._element):E.length?E[E.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const x=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(x){if(x.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",x),!this._checker.isFocusable(x)){const E=this._getFirstTabbableElement(x);return E?.focus(),!!E}return x.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const x=this._getRegionBoundary("start");return x&&x.focus(),!!x}focusLastTabbableElement(){const x=this._getRegionBoundary("end");return x&&x.focus(),!!x}hasAttached(){return this._hasAttached}_getFirstTabbableElement(x){if(this._checker.isFocusable(x)&&this._checker.isTabbable(x))return x;let E=x.children||x.childNodes;for(let N=0;N<E.length;N++){let re=E[N].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(E[N]):null;if(re)return re}return null}_getLastTabbableElement(x){if(this._checker.isFocusable(x)&&this._checker.isTabbable(x))return x;let E=x.children||x.childNodes;for(let N=E.length-1;N>=0;N--){let re=E[N].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(E[N]):null;if(re)return re}return null}_createAnchor(){const x=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,x),x.classList.add("cdk-visually-hidden"),x.classList.add("cdk-focus-trap-anchor"),x.setAttribute("aria-hidden","true"),x}_toggleAnchorTabIndex(x,E){x?E.setAttribute("tabindex","0"):E.removeAttribute("tabindex")}toggleAnchors(x){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(x,this._startAnchor),this._toggleAnchorTabIndex(x,this._endAnchor))}_executeOnStable(x){this._ngZone.isStable?x():this._ngZone.onStable.pipe((0,ie.q)(1)).subscribe(x)}}let un=(()=>{class D{constructor(E,N,re){this._checker=E,this._ngZone=N,this._document=re}create(E,N=!1){return new Wt(E,this._checker,this._ngZone,this._document,N)}}return D.\u0275fac=function(E){return new(E||D)(l.LFG(U),l.LFG(l.R0b),l.LFG(te.K0))},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),sn=(()=>{class D{constructor(E,N,re){this._elementRef=E,this._focusTrapFactory=N,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=re,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(E){this.focusTrap.enabled=it(E)}get autoCapture(){return this._autoCapture}set autoCapture(E){this._autoCapture=it(E)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(E){const N=E.autoCapture;N&&!N.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return D.\u0275fac=function(E){return new(E||D)(l.Y36(l.SBq),l.Y36(un),l.Y36(te.K0))},D.\u0275dir=l.lG2({type:D,selectors:[["","focusTrap",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[l.TTD]}),D})(),$t=(()=>{class D{static forRoot(){return{ngModule:D,providers:[W,z,U]}}}return D.\u0275fac=function(E){return new(E||D)},D.\u0275mod=l.oAB({type:D}),D.\u0275inj=l.cJS({imports:[[te.ez]]}),D})();var Qt=O(5529),Qe=O(6787),Ke=O(2916),X=O(6688),ye=O(7043),me=O(4850);function gt(D,x,E,N){return(0,ye.m)(E)&&(N=E,E=void 0),N?gt(D,x,E).pipe((0,me.U)(re=>(0,X.k)(re)?N(...re):N(re))):new Ke.y(re=>{Tt(D,x,function fe(Te){re.next(arguments.length>1?Array.prototype.slice.call(arguments):Te)},re,E)})}function Tt(D,x,E,N,re){let fe;if(function ot(D){return D&&"function"==typeof D.addEventListener&&"function"==typeof D.removeEventListener}(D)){const Te=D;D.addEventListener(x,E,re),fe=()=>Te.removeEventListener(x,E,re)}else if(function He(D){return D&&"function"==typeof D.on&&"function"==typeof D.off}(D)){const Te=D;D.on(x,E),fe=()=>Te.off(x,E)}else if(function je(D){return D&&"function"==typeof D.addListener&&"function"==typeof D.removeListener}(D)){const Te=D;D.addListener(x,E),fe=()=>Te.removeListener(x,E)}else{if(!D||!D.length)throw new TypeError("Invalid event target");for(let Te=0,Re=D.length;Te<Re;Te++)Tt(D[Te],x,E,N,re)}N.add(fe)}var Jt=O(1086),Sn=O(6686),Vt=O(2268);const Fn=new class Vn extends Vt.v{flush(x){this.active=!0,this.scheduled=void 0;const{actions:E}=this;let N,re=-1,fe=E.length;x=x||E.shift();do{if(N=x.execute(x.state,x.delay))break}while(++re<fe&&(x=E.shift()));if(this.active=!1,N){for(;++re<fe&&(x=E.shift());)x.unsubscribe();throw N}}}(class Yt extends Sn.o{constructor(x,E){super(x,E),this.scheduler=x,this.work=E}requestAsyncId(x,E,N=0){return null!==N&&N>0?super.requestAsyncId(x,E,N):(x.actions.push(this),x.scheduled||(x.scheduled=requestAnimationFrame(()=>x.flush(null))))}recycleAsyncId(x,E,N=0){if(null!==N&&N>0||null===N&&this.delay>0)return super.recycleAsyncId(x,E,N);0===x.actions.length&&(cancelAnimationFrame(E),x.scheduled=void 0)}});var An=(()=>{return(D=An||(An={})).top="top",D.bottom="bottom",D.left="left",D.right="right",D.auto="auto",D.end="right",D.start="left",D["top left"]="top left",D["top right"]="top right",D["right top"]="right top",D["right bottom"]="right bottom",D["bottom right"]="bottom right",D["bottom left"]="bottom left",D["left bottom"]="left bottom",D["left top"]="left top",D["top start"]="top left",D["top end"]="top right",D["end top"]="right top",D["end bottom"]="right bottom",D["bottom end"]="bottom right",D["bottom start"]="bottom left",D["start bottom"]="start bottom",D["start top"]="left top",An;var D})(),ar=(()=>{return(D=ar||(ar={})).top="top",D.bottom="bottom",D.left="start",D.right="end",D.auto="auto",D.end="end",D.start="start",D["top left"]="top start",D["top right"]="top end",D["right top"]="end top",D["right bottom"]="end bottom",D["bottom right"]="bottom end",D["bottom left"]="bottom start",D["left bottom"]="start bottom",D["left top"]="start top",D["top start"]="top start",D["top end"]="top end",D["end top"]="end top",D["end bottom"]="end bottom",D["bottom end"]="bottom end",D["bottom start"]="bottom start",D["start bottom"]="start bottom",D["start top"]="start top",ar;var D})();function Cn(D,x){if(1!==D.nodeType)return[];const N=D.ownerDocument.defaultView?.getComputedStyle(D,null);return x?N&&N[x]:N}function Bn(D){if(!D)return document.documentElement;let N,E=D?.offsetParent;for(;null===E&&D.nextElementSibling&&N!==D.nextElementSibling;)N=D.nextElementSibling,E=N.offsetParent;const re=E&&E.nodeName;return re&&"BODY"!==re&&"HTML"!==re?E&&-1!==["TH","TD","TABLE"].indexOf(E.nodeName)&&"static"===Cn(E,"position")?Bn(E):E:N?N.ownerDocument.documentElement:document.documentElement}function Zn(D){return null!==D.parentNode?Zn(D.parentNode):D}function er(D,x){if(!(D&&D.nodeType&&x&&x.nodeType))return document.documentElement;const E=D.compareDocumentPosition(x)&Node.DOCUMENT_POSITION_FOLLOWING,N=E?D:x,re=E?x:D,fe=document.createRange();fe.setStart(N,0),fe.setEnd(re,0);const Te=fe.commonAncestorContainer;if(D!==Te&&x!==Te||N.contains(re))return function wn(D){const{nodeName:x}=D;return"BODY"!==x&&("HTML"===x||Bn(D.firstElementChild)===D)}(Te)?Te:Bn(Te);const Re=Zn(D);return Re.host?er(Re.host,x):er(D,Zn(x).host)}function lr(D){if(!D||!D.parentElement)return document.documentElement;let x=D.parentElement;for(;x?.parentElement&&"none"===Cn(x,"transform");)x=x.parentElement;return x||document.documentElement}function Un(D,x){const E="x"===x?"Left":"Top",N="Left"===E?"Right":"Bottom";return parseFloat(D[`border${E}Width`])+parseFloat(D[`border${N}Width`])}function mn(D,x,E,N){return Math.max(x[`offset${D}`],x[`scroll${D}`],E[`client${D}`],E[`offset${D}`],E[`scroll${D}`],0)}function sr(D){const x=D.body,E=D.documentElement;return{height:mn("Height",x,E),width:mn("Width",x,E)}}function vr(D){return{...D,right:(D.left||0)+D.width,bottom:(D.top||0)+D.height}}function Se(D){return"number"==typeof D||"[object Number]"===Object.prototype.toString.call(D)}function ue(D){const x=D.getBoundingClientRect();if(!(x&&Se(x.top)&&Se(x.left)&&Se(x.bottom)&&Se(x.right)))return x;const E={left:x.left,top:x.top,width:x.right-x.left,height:x.bottom-x.top},N="HTML"===D.nodeName?sr(D.ownerDocument):void 0,re=N?.width||D.clientWidth||Se(x.right)&&Se(E.left)&&x.right-E.left||0,fe=N?.height||D.clientHeight||Se(x.bottom)&&Se(E.top)&&x.bottom-E.top||0;let Te=D.offsetWidth-re,Re=D.offsetHeight-fe;if(Te||Re){const Ue=Cn(D);Te-=Un(Ue,"x"),Re-=Un(Ue,"y"),E.width-=Te,E.height-=Re}return vr(E)}function ce(D){return"HTML"===D.nodeName?D:D.parentNode||D.host}function qe(D){if(!D)return document.body;switch(D.nodeName){case"HTML":case"BODY":return D.ownerDocument.body;case"#document":return D.body}const{overflow:x,overflowX:E,overflowY:N}=Cn(D);return/(auto|scroll|overlay)/.test(String(x)+String(N)+String(E))?D:qe(ce(D))}function Ne(D,x,E=!1){const N="HTML"===x.nodeName,re=ue(D),fe=ue(x),Re=(qe(D),Cn(x)),Ue=parseFloat(Re.borderTopWidth),tt=parseFloat(Re.borderLeftWidth);E&&N&&(fe.top=Math.max(fe.top??0,0),fe.left=Math.max(fe.left??0,0));const lt=vr({top:(re.top??0)-(fe.top??0)-Ue,left:(re.left??0)-(fe.left??0)-tt,width:re.width,height:re.height});if(lt.marginTop=0,lt.marginLeft=0,N){const xt=parseFloat(Re.marginTop),_n=parseFloat(Re.marginLeft);Se(lt.top)&&(lt.top-=Ue-xt),Se(lt.bottom)&&(lt.bottom-=Ue-xt),Se(lt.left)&&(lt.left-=tt-_n),Se(lt.right)&&(lt.right-=tt-_n),lt.marginTop=xt,lt.marginLeft=_n}return lt}function Ge(D,x="top"){const E="top"===x?"scrollTop":"scrollLeft",N=D.nodeName;if("BODY"===N||"HTML"===N){const re=D.ownerDocument.documentElement;return(D.ownerDocument.scrollingElement||re)[E]}return D[E]}function En(D){const x=D.nodeName;return"BODY"!==x&&"HTML"!==x&&("fixed"===Cn(D,"position")||En(ce(D)))}function Gt(D,x,E=0,N,re=!1){let fe={top:0,left:0};const Te=re?lr(D):er(D,x);if("viewport"===N)fe=function nt(D,x=!1){const E=D.ownerDocument.documentElement,N=Ne(D,E),re=Math.max(E.clientWidth,window.innerWidth||0),fe=Math.max(E.clientHeight,window.innerHeight||0),Te=x?0:Ge(E),Re=x?0:Ge(E,"left");return vr({top:Te-Number(N?.top)+Number(N?.marginTop),left:Re-Number(N?.left)+Number(N?.marginLeft),width:re,height:fe})}(Te,re);else{let Re;"scrollParent"===N?(Re=qe(ce(x)),"BODY"===Re.nodeName&&(Re=D.ownerDocument.documentElement)):Re="window"===N?D.ownerDocument.documentElement:N;const Ue=Ne(Re,Te,re);if(Ue&&"HTML"===Re.nodeName&&!En(Te)){const{height:tt,width:lt}=sr(D.ownerDocument);Se(fe.top)&&Se(Ue.top)&&Se(Ue.marginTop)&&(fe.top+=Ue.top-Ue.marginTop),Se(fe.top)&&(fe.bottom=Number(tt)+Number(Ue.top)),Se(fe.left)&&Se(Ue.left)&&Se(Ue.marginLeft)&&(fe.left+=Ue.left-Ue.marginLeft),Se(fe.top)&&(fe.right=Number(lt)+Number(Ue.left))}else Ue&&(fe=Ue)}return Se(fe.left)&&(fe.left+=E),Se(fe.top)&&(fe.top+=E),Se(fe.right)&&(fe.right-=E),Se(fe.bottom)&&(fe.bottom-=E),fe}function bt({width:D,height:x}){return D*x}function tr(D,x,E,N,re=["top","bottom","right","left"],fe="viewport",Te=0){if(-1===D.indexOf("auto"))return D;const Re=Gt(E,N,Te,fe),Ue={top:{width:Re?.width??0,height:(x?.top??0)-(Re?.top??0)},right:{width:(Re?.right??0)-(x?.right??0),height:Re?.height??0},bottom:{width:Re?.width??0,height:(Re?.bottom??0)-(x?.bottom??0)},left:{width:(x.left??0)-(Re?.left??0),height:Re?.height??0}},tt=Object.keys(Ue).map(dn=>({position:dn,...Ue[dn],area:bt(Ue[dn])})).sort((dn,hn)=>hn.area-dn.area);let lt=tt.filter(({width:dn,height:hn})=>dn>=E.clientWidth&&hn>=E.clientHeight);lt=lt.filter(({position:dn})=>re.some(hn=>hn===dn));const xt=lt.length>0?lt[0].position:tt[0].position,_n=D.split(" ")[1];return E.className=E.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,S.Wl)().isBs5?ar[xt]:xt}`),xt+(_n?`-${_n}`:"")}const wt=(D,x=0)=>D?parseFloat(D):x;function rn(D){const E=D.ownerDocument.defaultView?.getComputedStyle(D),N=wt(E?.marginTop)+wt(E?.marginBottom),re=wt(E?.marginLeft)+wt(E?.marginRight);return{width:Number(D.offsetWidth)+re,height:Number(D.offsetHeight)+N}}function Z(D,x,E){return Ne(x,E?lr(D):er(D,x),E)}function he(D,x,E){const N=E.split(" ")[0],re=rn(D),fe={width:re.width,height:re.height},Te=-1!==["right","left"].indexOf(N),Re=Te?"top":"left",Ue=Te?"left":"top",tt=Te?"height":"width",lt=Te?"width":"height";return fe[Re]=(x[Re]??0)+x[tt]/2-re[tt]/2,fe[Ue]=N===Ue?(x[Ue]??0)-re[lt]:x[function In(D){const x={left:"right",right:"left",bottom:"top",top:"bottom"};return D.replace(/left|right|bottom|top/g,E=>x[E])}(Ue)]??0,fe}function _e(D,x){return!!D.modifiers[x]?.enabled}const ve={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 ke(D,x){return!!(0,S.Wl)().isBs5&&ve[x].includes(D)}function ht(D,x,E){!D||!x||Object.keys(x).forEach(N=>{let re="";-1!==["width","height","top","right","bottom","left"].indexOf(N)&&function Ot(D){return""!==D&&!isNaN(parseFloat(D))&&isFinite(Number(D))}(x[N])&&(re="px"),E?E.setStyle(D,N,`${String(x[N])}${re}`):D.style[N]=String(x[N])+re})}function mt(D){let x=D.offsets.target;const E=D.instance.target.querySelector(".arrow");if(!E)return D;const N=-1!==["left","right"].indexOf(D.placement.split(" ")[0]),re=N?"height":"width",fe=N?"Top":"Left",Te=fe.toLowerCase(),Re=N?"left":"top",Ue=N?"bottom":"right",tt=rn(E)[re],lt=D.placement.split(" ")[1];(D.offsets.host[Ue]??0)-tt<(x[Te]??0)&&(x[Te]-=(x[Te]??0)-((D.offsets.host[Ue]??0)-tt)),Number(D.offsets.host[Te])+Number(tt)>(x[Ue]??0)&&(x[Te]+=Number(D.offsets.host[Te])+Number(tt)-Number(x[Ue])),x=vr(x);const xt=Cn(D.instance.target),_n=parseFloat(xt[`margin${fe}`])||0,dn=parseFloat(xt[`border${fe}Width`])||0;let hn;if(lt){const Pr=parseFloat(xt.borderRadius)||0,Rn=Number(_n+dn+Pr);hn=Te===lt?Number(D.offsets.host[Te])+Rn:Number(D.offsets.host[Te])+Number(D.offsets.host[re]-Rn)}else hn=Number(D.offsets.host[Te])+Number(D.offsets.host[re]/2-tt/2);let Qn=hn-(x[Te]??0)-_n-dn;return Qn=Math.max(Math.min(x[re]-(tt+5),Qn),0),D.offsets.arrow={[Te]:Math.round(Qn),[Re]:""},D.instance.arrow=E,D}function Nt(D){if(D.offsets.target=vr(D.offsets.target),!_e(D.options,"flip"))return D.offsets.target={...D.offsets.target,...he(D.instance.target,D.offsets.host,D.placement)},D;const x=Gt(D.instance.target,D.instance.host,0,"viewport",!1);let E=D.placement.split(" ")[0],N=D.placement.split(" ")[1]||"";const Re=tr("auto",D.offsets.host,D.instance.target,D.instance.host,D.options.allowedPositions),Ue=[E,Re];return Ue.forEach((tt,lt)=>{if(E!==tt||Ue.length===lt+1)return;E=D.placement.split(" ")[0];const xt="left"===E&&Math.floor(D.offsets.target.right??0)>Math.floor(D.offsets.host.left??0)||"right"===E&&Math.floor(D.offsets.target.left??0)<Math.floor(D.offsets.host.right??0)||"top"===E&&Math.floor(D.offsets.target.bottom??0)>Math.floor(D.offsets.host.top??0)||"bottom"===E&&Math.floor(D.offsets.target.top??0)<Math.floor(D.offsets.host.bottom??0),_n=Math.floor(D.offsets.target.left??0)<Math.floor(x.left??0),dn=Math.floor(D.offsets.target.right??0)>Math.floor(x.right??0),hn=Math.floor(D.offsets.target.top??0)<Math.floor(x.top??0),Qn=Math.floor(D.offsets.target.bottom??0)>Math.floor(x.bottom??0),Pr="left"===E&&_n||"right"===E&&dn||"top"===E&&hn||"bottom"===E&&Qn,Rn=-1!==["top","bottom"].indexOf(E),Kn=Rn&&"left"===N&&_n||Rn&&"right"===N&&dn||!Rn&&"left"===N&&hn||!Rn&&"right"===N&&Qn;(xt||Pr||Kn)&&((xt||Pr)&&(E=Ue[lt+1]),Kn&&(N=function Bt(D){return"right"===D?"left":"left"===D?"right":D}(N)),D.placement=E+(N?` ${N}`:""),D.offsets.target={...D.offsets.target,...he(D.instance.target,D.offsets.host,D.placement)})}),D}function Xt(D){if(!_e(D.options,"preventOverflow"))return D;const x="transform",E=D.instance.target.style,{top:N,left:re,[x]:fe}=E;E.top="",E.left="",E[x]="";const Te=Gt(D.instance.target,D.instance.host,0,D.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);E.top=N,E.left=re,E[x]=fe;const Ue={primary(tt){let lt=D.offsets.target[tt];return(D.offsets.target[tt]??0)<(Te[tt]??0)&&(lt=Math.max(D.offsets.target[tt]??0,Te[tt]??0)),{[tt]:lt}},secondary(tt){const lt="right"===tt,xt=lt?"left":"top";let dn=D.offsets.target[xt];return(D.offsets.target[tt]??0)>(Te[tt]??0)&&(dn=Math.min(D.offsets.target[xt]??0,(Te[tt]??0)-D.offsets.target[lt?"width":"height"])),{[xt]:dn}}};return["left","right","top","bottom"].forEach(tt=>{const lt=-1!==["left","top","start"].indexOf(tt)?Ue.primary:Ue.secondary;D.offsets.target={...D.offsets.target,...lt(tt)}}),D}function pe(D){const x=D.placement,E=x.split(" ")[0],N=x.split(" ")[1];if(N){const{host:re,target:fe}=D.offsets,Te=-1!==["bottom","top"].indexOf(E),Re=Te?"left":"top",Ue=Te?"width":"height",tt={start:{[Re]:re[Re]},end:{[Re]:(re[Re]??0)+re[Ue]-fe[Ue]}};D.offsets.target={...fe,[Re]:Re===N?tt.start[Re]:tt.end[Re]}}return D}const $=new class K{position(x,E){return this.offset(x,E)}offset(x,E){return Z(E,x)}positionElements(x,E,N,re,fe){const Te=[Nt,pe,Xt,mt],Ue=function Et(D,x,E,N){if(!D||!x)return;const re=Z(D,x);!E.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!E.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(E="auto");const fe=!!E.match(/auto/g);let Te=E.match(/auto\s(left|right|top|bottom|start|end)/)?E.split(" ")[1]||"auto":E;const Re=Te.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return Re&&(Te=Re[1]+(Re[2]?` ${Re[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(Te)&&(Te="auto"),Te=tr(Te,re,D,x,N?N.allowedPositions:void 0),{options:N||{modifiers:{}},instance:{target:D,host:x,arrow:void 0},offsets:{target:he(D,re,Te),host:re,arrow:void 0},positionFixed:!1,placement:Te,placementAuto:fe}}(E,x,An[N],fe);if(Ue)return Te.reduce((tt,lt)=>lt(tt),Ue)}};function ge(D,x,E,N,re,fe){const Te=$.positionElements(D,x,E,N,re);if(!Te)return;const Re=function Tn(D){return{width:D.offsets.target.width,height:D.offsets.target.height,left:Math.floor(D.offsets.target.left??0),top:Math.round(D.offsets.target.top??0),bottom:Math.round(D.offsets.target.bottom??0),right:Math.floor(D.offsets.target.right??0)}}(Te);ht(x,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${Re.left}px, ${Re.top}px, 0px)`},fe),Te.instance.arrow&&ht(Te.instance.arrow,Te.offsets.arrow,fe),function st(D,x){const E=D.instance.target;let N=E.className;const re=(0,S.Wl)().isBs5?ar[D.placement]:D.placement;D.placementAuto&&(N=N.replace(/bs-popover-auto/g,`bs-popover-${re}`),N=N.replace(/ms-2|me-2|mb-2|mt-2/g,""),N=N.replace(/bs-tooltip-auto/g,`bs-tooltip-${re}`),N=N.replace(/\sauto/g,` ${re}`),-1!==N.indexOf("popover")&&(N=N+" "+function Je(D){return(0,S.Wl)().isBs5?ke(D,"end")?"ms-2":ke(D,"start")?"me-2":ke(D,"top")?"mb-2":ke(D,"bottom")?"mt-2":"":""}(re)),-1!==N.indexOf("popover")&&-1===N.indexOf("popover-auto")&&(N+=" popover-auto"),-1!==N.indexOf("tooltip")&&-1===N.indexOf("tooltip-auto")&&(N+=" tooltip-auto")),N=N.replace(/left|right|top|bottom|end|start/g,`${re.split(" ")[0]}`),x?x.setAttribute(E,"class",N):E.className=N}(Te,fe)}let we=(()=>{class D{constructor(E,N,re){this.update$$=new Qt.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,te.NF)(re)&&E.runOutsideAngular(()=>{this.triggerEvent$=(0,Qe.T)(gt(window,"scroll",{passive:!0}),gt(window,"resize",{passive:!0}),(0,Jt.of)(0,Fn),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(fe=>{ge(Fe(fe.target),Fe(fe.element),fe.attachment,fe.appendToBody,this.options,N.createRenderer(null,null))})})})}position(E){this.addPositionElement(E)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(E){this.positionElements.set(Fe(E.element),E)}calcPosition(){this.update$$.next(null)}deletePositionElement(E){this.positionElements.delete(Fe(E))}setOptions(E){this.options=E}}return D.\u0275fac=function(E){return new(E||D)(l.LFG(l.R0b),l.LFG(l.FYo),l.LFG(l.Lbi))},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();function Fe(D){return"string"==typeof D?document.querySelector(D):D instanceof l.SBq?D.nativeElement:D??null}class It{constructor(x,E,N){this.nodes=x,this.viewRef=E,this.componentRef=N}}class _t{constructor(x,E,N,re,fe,Te,Re,Ue){this._viewContainerRef=x,this._renderer=E,this._elementRef=N,this._injector=re,this._componentFactoryResolver=fe,this._ngZone=Te,this._applicationRef=Re,this._posService=Ue,this.onBeforeShow=new l.vpe,this.onShown=new l.vpe,this.onBeforeHide=new l.vpe,this.onHidden=new l.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(x){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(x),this}to(x){return this.container=x||this.container,this}position(x){return x?(this.attachment=x.attachment||this.attachment,this._elementRef=x.target||this._elementRef,this):this}provide(x){return this._providers.push(x),this}show(x={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(x.content,x.context,x.initialState);const E=l.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(E,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,x),this.container instanceof l.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const N=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!N)return;N.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(x.id?{id:x.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(x){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const E=this._componentRef.location.nativeElement;return E.parentNode?.removeChild(E),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(x?{id:x}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(x){this.triggers=x.triggers||this.triggers,this._listenOpts.outsideClick=x.outsideClick,this._listenOpts.outsideEsc=x.outsideEsc,x.target=x.target||this._elementRef?.nativeElement;const E=this._listenOpts.hide=()=>x.hide?x.hide():void this.hide(),N=this._listenOpts.show=fe=>{x.show?x.show(fe):this.show(fe),fe()};return this._renderer&&(this._unregisterListenersFn=(0,S.wo)(this._renderer,{target:x.target,triggers:x.triggers,show:N,hide:E,toggle:fe=>{this.isShown?E():N(fe)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(x,E){return x&&E&&(this._inlineViewRef=x.createEmbeddedView(E)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const x=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,S.Rg)(this._renderer,{targets:[x,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,S.C)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{!this._componentRef||this._posService.calcPosition()}))}_unsubscribePositioning(){!this._zoneSubscription||(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(x,E,N){if(!x)return new It([]);if(x instanceof l.Rgc){if(this._viewContainerRef){const Te=this._viewContainerRef.createEmbeddedView(x,E);return Te.markForCheck(),new It([Te.rootNodes],Te)}const fe=x.createEmbeddedView({});return this._applicationRef.attachView(fe),new It([fe.rootNodes],fe)}if("function"==typeof x){const fe=this._componentFactoryResolver.resolveComponentFactory(x),Te=l.zs3.create({providers:this._providers,parent:this._injector}),Re=fe.create(Te);return Object.assign(Re.instance,N),this._applicationRef.attachView(Re.hostView),new It([[Re.location.nativeElement]],Re.hostView,Re)}const re=this._renderer?[this._renderer.createText(`${x}`)]:[];return new It([re])}}let an=(()=>{class D{constructor(E,N,re,fe,Te){this._componentFactoryResolver=E,this._ngZone=N,this._injector=re,this._posService=fe,this._applicationRef=Te}createLoader(E,N,re){return new _t(N,re,E,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return D.\u0275fac=function(E){return new(E||D)(l.LFG(l._Vd),l.LFG(l.R0b),l.LFG(l.zs3),l.LFG(we),l.LFG(l.z2F))},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const kt=["*"];let en=(()=>{class D{constructor(){this.hide=()=>{},this.setClass=()=>{}}}return D.\u0275fac=function(E){return new(E||D)},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"platform"}),D})(),$e=(()=>{class D{}return D.\u0275fac=function(E){return new(E||D)},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"platform"}),D})();const Ie={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},Ct=new l.OlP("override-default-config");let fn=(()=>{class D{constructor(E,N,re){this._element=N,this._renderer=re,this.isShown=!1,this.isAnimated=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},E)}ngOnInit(){this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,(0,S.XA)()?"in":"show")},this.isAnimated?150:0),document&&document.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(E){this.clickStartedInContent=E.target!==this._element.nativeElement}onClickStop(E){this.config.ignoreBackdropClick||"static"===this.config.backdrop||E.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(E){!this.isShown||((27===E.keyCode||"Escape"===E.key)&&E.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding&&this.isShown){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,(0,S.XA)()?"in":"show"),setTimeout(()=>{this.isShown=!1,document&&document.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1},this.isAnimated?300:0)}}return D.\u0275fac=function(E){return new(E||D)(l.Y36($e),l.Y36(l.SBq),l.Y36(l.Qsj))},D.\u0275cmp=l.Xpm({type:D,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(E,N){1&E&&l.NdJ("mousedown",function(fe){return N.onClickStarted(fe)})("click",function(fe){return N.onClickStop(fe)})("popstate",function(){return N.onPopState()},!1,l.Jf7)("keydown.esc",function(fe){return N.onEsc(fe)},!1,l.Jf7),2&E&&l.uIk("aria-modal",!0)("aria-labelledby",N.config.ariaLabelledBy)("aria-describedby",N.config.ariaDescribedby)},ngContentSelectors:kt,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(E,N){1&E&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1),l.Hsn(2),l.qZA()()),2&E&&l.Tol("modal-dialog"+(N.config.class?" "+N.config.class:""))},directives:[sn],encapsulation:2}),D})(),Mn=(()=>{class D{constructor(E,N){this._isAnimated=!1,this._isShown=!1,this.element=E,this.renderer=N}get isAnimated(){return this._isAnimated}set isAnimated(E){this._isAnimated=E}get isShown(){return this._isShown}set isShown(E){this._isShown=E,E?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),(0,S.XA)()||(E?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),S.cQ.reflow(this.element.nativeElement)),this.isShown=!0}}return D.\u0275fac=function(E){return new(E||D)(l.Y36(l.SBq),l.Y36(l.Qsj))},D.\u0275cmp=l.Xpm({type:D,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(E,N){},encapsulation:2}),D})(),oe=1,Me=(()=>{class D{constructor(E,N,re){this.clf=N,this.modalDefaultOption=re,this.onShow=new l.vpe,this.onShown=new l.vpe,this.onHide=new l.vpe,this.onHidden=new l.vpe,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._backdropLoader=this.clf.createLoader(),this._renderer=E.createRenderer(null,null),this.config=re?Object.assign({},Ie,re):Ie}show(E,N){this.modalsCount++,this._createLoaders();const re=N?.id||oe++;return this.config=this.modalDefaultOption?Object.assign({},Ie,this.modalDefaultOption,N):Object.assign({},Ie,N),this.config.id=re,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(E)}hide(E){(1===this.modalsCount||null==E)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=E?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(E),this.removeLoaders(E)},this.config.animated?150:0)}_showBackdrop(){const E=!0===this.config.backdrop||"static"===this.config.backdrop,N=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),E&&N&&(this._backdropLoader.attach(Mn).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(E){const N=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const Te of this.config.providers)N.provide(Te);const re=new en,fe=N.provide({provide:$e,useValue:this.config}).provide({provide:en,useValue:re}).attach(fn).to("body");return re.hide=()=>fe.instance?.hide(),re.setClass=Te=>{fe.instance&&(fe.instance.config.class=Te)},re.onHidden=new l.vpe,re.onHide=new l.vpe,this.copyEvent(N.onBeforeHide,re.onHide),this.copyEvent(N.onHidden,re.onHidden),fe.show({content:E,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),fe.instance&&(fe.instance.level=this.getModalsCount(),re.content=N.getInnerComponent(),re.id=fe.instance.config?.id),re}_hideModal(E){if(null!=E){const N=this.loaders.findIndex(fe=>fe.instance?.config.id===E),re=this.loaders[N];re&&re.hide(E)}else this.loaders.forEach(N=>{N.instance&&N.hide(N.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(E){this.lastDismissReason=E}removeBackdrop(){this._renderer.removeClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){!document||(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){document.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const E=this._renderer.createElement("div");this._renderer.addClass(E,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,E);const N=E.offsetWidth-E.clientWidth;return this._renderer.removeChild(document.body,E),N}_createLoaders(){const E=this.clf.createLoader();this.copyEvent(E.onBeforeShow,this.onShow),this.copyEvent(E.onShown,this.onShown),this.copyEvent(E.onBeforeHide,this.onHide),this.copyEvent(E.onHidden,this.onHidden),this.loaders.push(E)}removeLoaders(E){if(null!=E){const N=this.loaders.findIndex(re=>re.instance?.config.id===E);N>=0&&(this.loaders.splice(N,1),this.loaders.forEach((re,fe)=>{re.instance&&(re.instance.level=fe+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(E,N){E.subscribe(re=>{N.emit(this.lastDismissReason||re)})}}return D.\u0275fac=function(E){return new(E||D)(l.LFG(l.FYo),l.LFG(an),l.LFG(Ct,8))},D.\u0275prov=l.Yz7({token:D,factory:D.\u0275fac,providedIn:"platform"}),D})();$t.forRoot();let St=(()=>{class D{static forRoot(){return{ngModule:D,providers:[Me,an,we]}}static forChild(){return{ngModule:D,providers:[Me,an,we]}}}return D.\u0275fac=function(E){return new(E||D)},D.\u0275mod=l.oAB({type:D}),D.\u0275inj=l.cJS({imports:[[$t]]}),D})()},4175:(Ae,q,O)=>{"use strict";O.d(q,{HC:()=>ae,O1:()=>j});var l=O(5062),S=O(1607),te=O(6895);const ie=["*"];function W(Y,Ee){1&Y&&l.GkF(0)}function H(Y,Ee){if(1&Y&&(l.TgZ(0,"bar",3),l.Hsn(1),l.qZA()),2&Y){const de=l.oxw();l.Q6J("type",de.type)("value",de._value)("max",de.max)("animate",de.animate)("striped",de.striped)}}function z(Y,Ee){if(1&Y&&(l.TgZ(0,"bar",3),l._uU(1),l.qZA()),2&Y){const de=Ee.$implicit,be=l.oxw(2);l.Q6J("type",de.type)("value",de.value)("max",de.max||be.max)("animate",be.animate)("striped",be.striped),l.xp6(1),l.Oqu(de.label)}}function F(Y,Ee){if(1&Y&&l.YNc(0,z,2,6,"bar",4),2&Y){const de=l.oxw();l.Q6J("ngForOf",de._values)}}let U=(()=>{class Y{constructor(de,be){this.el=de,this.renderer=be,this.max=100,this.value=0,this.animate=!1,this.striped=!1,this.type="info",this.percent=100}get isBs3(){return(0,S.XA)()}ngOnChanges(de){(de.value||de.max)&&(this.percent=Number(de.value?.currentValue||this.value)/Number(de.max?.currentValue||this.max||100)*100),de.type&&this.applyTypeClasses()}applyTypeClasses(){if(this._prevType){const be=`bg-${this._prevType}`;this.renderer.removeClass(this.el.nativeElement,`progress-bar-${this._prevType}`),this.renderer.removeClass(this.el.nativeElement,be),this._prevType=void 0}if(this.type){const be=`bg-${this.type}`;this.renderer.addClass(this.el.nativeElement,`progress-bar-${this.type}`),this.renderer.addClass(this.el.nativeElement,be),this._prevType=this.type}}}return Y.\u0275fac=function(de){return new(de||Y)(l.Y36(l.SBq),l.Y36(l.Qsj))},Y.\u0275cmp=l.Xpm({type:Y,selectors:[["bar"]],hostAttrs:["role","progressbar","aria-valuemin","0"],hostVars:15,hostBindings:function(de,be){2&de&&(l.uIk("aria-valuenow",be.value)("aria-valuetext",be.percent?be.percent.toFixed(0)+"%":"")("aria-valuemax",be.max),l.Udp("height","100","%")("width",be.percent,"%"),l.ekj("progress-bar",!0)("progress-bar-animated",!be.isBs3&&be.animate)("progress-bar-striped",be.striped)("active",be.isBs3&&be.animate))},inputs:{max:"max",value:"value",animate:"animate",striped:"striped",type:"type"},features:[l.TTD],ngContentSelectors:ie,decls:1,vars:0,template:function(de,be){1&de&&(l.F$t(),l.Hsn(0))},encapsulation:2,changeDetection:0}),Y})(),B=(()=>{class Y{constructor(){this.animate=!1,this.max=100}}return Y.\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),j=(()=>{class Y{constructor(de){this.max=100,this.animate=!1,this.striped=!1,this.isStacked=!1,this._value=0,Object.assign(this,de)}set value(de){this.isStacked=Array.isArray(de),"number"==typeof de?(this._value=de,this._values=void 0):(this._value=void 0,this._values=de)}}return Y.\u0275fac=function(de){return new(de||Y)(l.Y36(B))},Y.\u0275cmp=l.Xpm({type:Y,selectors:[["progressbar"]],hostVars:3,hostBindings:function(de,be){2&de&&(l.uIk("max",be.max),l.ekj("progress",!0))},inputs:{max:"max",animate:"animate",striped:"striped",type:"type",value:"value"},ngContentSelectors:ie,decls:5,vars:3,consts:[[4,"ngIf","ngIfThen","ngIfElse"],["NotStacked",""],["Stacked",""],[3,"type","value","max","animate","striped"],[3,"type","value","max","animate","striped",4,"ngFor","ngForOf"]],template:function(de,be){if(1&de&&(l.F$t(),l.YNc(0,W,1,0,"ng-container",0),l.YNc(1,H,2,5,"ng-template",null,1,l.W1O),l.YNc(3,F,1,1,"ng-template",null,2,l.W1O)),2&de){const Pe=l.MAs(2),yt=l.MAs(4);l.Q6J("ngIf",!be.isStacked)("ngIfThen",Pe)("ngIfElse",yt)}},directives:[U,te.O5,te.sg],styles:["[_nghost-%COMP%]{width:100%;display:flex}"],changeDetection:0}),Y})(),ae=(()=>{class Y{static forRoot(){return{ngModule:Y,providers:[]}}}return Y.\u0275fac=function(de){return new(de||Y)},Y.\u0275mod=l.oAB({type:Y}),Y.\u0275inj=l.cJS({imports:[[te.ez]]}),Y})()},1607:(Ae,q,O)=>{"use strict";O.d(q,{C:()=>z,Dc:()=>Wt,Rg:()=>H,Wl:()=>Qt,XA:()=>un,cQ:()=>ye,wo:()=>W});class l{constructor(je,He){this.open=je,this.close=He||je}isManual(){return"manual"===this.open||"manual"===this.close}}const S={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function W(Tt,je){const He=function te(Tt,je=S){const He=(Tt||"").trim();if(0===He.length)return[];const ot=He.split(/\s+/).map(Sn=>Sn.split(":")).map(Sn=>{const Yt=je[Sn[0]]||Sn;return new l(Yt[0],Yt[1])}),Jt=ot.filter(Sn=>Sn.isManual());if(Jt.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Jt.length&&ot.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ot}(je.triggers),ot=je.target;if(1===He.length&&He[0].isManual())return Function.prototype;const Jt=[],Sn=[],Yt=()=>{Sn.forEach(Vt=>Jt.push(Vt())),Sn.length=0};return He.forEach(Vt=>{const Vn=Vt.open===Vt.close,Fn=Vn?je.toggle:je.show;if(!Vn&&Vt.close&&je.hide){const pr=Tt.listen(ot,Vt.close,je.hide);Sn.push(()=>pr)}Fn&&Jt.push(Tt.listen(ot,Vt.open,()=>Fn(Yt)))}),()=>{Jt.forEach(Vt=>Vt())}}function H(Tt,je){return je.outsideClick?Tt.listen("document","click",He=>{je.target&&je.target.contains(He.target)||je.targets&&je.targets.some(ot=>ot.contains(He.target))||je.hide&&je.hide()}):Function.prototype}function z(Tt,je){return je.outsideEsc?Tt.listen("document","keyup.esc",He=>{je.target&&je.target.contains(He.target)||je.targets&&je.targets.some(ot=>ot.contains(He.target))||je.hide&&je.hide()}):Function.prototype}const F=typeof window<"u"&&window||{};var Xe=(()=>{return(Tt=Xe||(Xe={})).isBs3="bs3",Tt.isBs4="bs4",Tt.isBs5="bs5",Xe;var Tt})();let Ye;function it(){if(typeof F.document>"u")return"bs4";const Tt=F.document.createElement("span");Tt.innerText="testing bs version",Tt.classList.add("d-none"),Tt.classList.add("pl-1"),F.document.head.appendChild(Tt);const je=Tt.getBoundingClientRect(),He=F.getComputedStyle(Tt).paddingLeft;return!je||je&&0!==je.top?(F.document.head.removeChild(Tt),"bs3"):He&&parseFloat(He)?(F.document.head.removeChild(Tt),"bs4"):(F.document.head.removeChild(Tt),"bs5")}function Wt(Tt){Ye=Tt}function un(){return typeof F>"u"||(typeof F.__theme>"u"?(Ye||(Ye=it()),"bs3"===Ye):"bs3"===F.__theme)}function sn(){return!un()&&(Ye||(Ye=it()),"bs4"===Ye)}function Qt(){return{isBs3:un(),isBs4:sn(),isBs5:!un()&&!sn()&&(Ye||(Ye=it()),"bs5"===Ye)}}class ye{static reflow(je){}static getStyles(je){let He=je.ownerDocument.defaultView;return(!He||!He.opener)&&(He=F),He.getComputedStyle(je)}static stackOverflowConfig(){const je=function Qe(){const Tt=Qt(),je=Object.keys(Tt).find(He=>Tt[He]);return Xe[je]}();return{crossorigin:"bs3"!==je?"anonymous":void 0,integrity:"bs5"===je?"sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We":"bs4"===je?"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2":void 0,cdnLink:"bs5"===je?"https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css":"bs4"===je?"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css":"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"}}}typeof console>"u"||console}}]);
Back to Directory
File Manager