Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/accounts-manager/vendor.42837c72313f0440.js
(self.webpackChunkaccounts_manager=self.webpackChunkaccounts_manager||[]).push([[736],{109:(_e,U,S)=>{"use strict";S.d(U,{F:()=>l});var l=(()=>{return(m=l||(l={}))[m.GET=0]="GET",m[m.HEAD=1]="HEAD",m[m.POST=2]="POST",m[m.PUT=3]="PUT",m[m.DELETE=4]="DELETE",m[m.CONNECT=5]="CONNECT",m[m.OPTIONS=6]="OPTIONS",m[m.TRACE=7]="TRACE",m[m.PATCH=8]="PATCH",l;var m})()},7709:(_e,U,S)=>{"use strict";S.d(U,{h:()=>l});class l{constructor($,H){if(!$)throw new Error("You must provide a name when creating a name/value argument");this.name=$,this.value=H}}},3022:(_e,U,S)=>{"use strict";S.d(U,{tO:()=>gt,VN:()=>Et});var l=S(4235),m=S.n(l),ne=S(1305),$=S.n(ne),H=S(4798),z=S.n(H),X=S(9138),Z=S.n(X),W=S(248),L=S.n(W),Y=S(1503),ie=S.n(Y),oe=S(7614),Se=S.n(oe);function Me(Ee){if(m()(Ee)||$()(Ee)||z()(Ee)||Z()(Ee)||L()(Ee))return!0;if(!Se()(Ee)&&!ie()(Ee))return!1;for(const qe in Ee)if(!Me(Ee[qe]))return!1;return!0}class Et{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(qe,me,le){if(!qe)throw new Error("Name must have a non-empty value");return`${qe}=${encodeURIComponent(me.toString())}`+(le?"":this.recordSeparator)}}class gt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(qe,me,le){if(!qe)throw new Error("Name must have a non-empty value");if(!Me(me))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(qe)+":"+JSON.stringify(me)+(le?"":this.recordSeparator)}}},8635:(_e,U,S)=>{"use strict";function l($){return $?"1":"0"}S.d(U,{O:()=>l,s:()=>ne});const m=new Set(["","0",0]);function ne($){return!m.has($)}},755:(_e,U,S)=>{"use strict";S.d(U,{ER:()=>m,PE:()=>ne,Sr:()=>l});var l=(()=>{return($=l||(l={}))[$.Ascending=0]="Ascending",$[$.Descending=1]="Descending",l;var $})(),m=(()=>{return($=m||(m={}))[$.Lexicographic=0]="Lexicographic",$[$.Ipv4=1]="Ipv4",$[$.Numeric=2]="Numeric",$[$.NumericZeroAsMax=3]="NumericZeroAsMax",m;var $})();class ne{constructor(H,z=l.Ascending,X=m.Lexicographic){if(!H)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=H,this.direction=z,this.type=X}}},3576:(_e,U,S)=>{"use strict";S.d(U,{r:()=>nt,N:()=>cn});var l=S(1978),m=S.n(l),ne=S(8635),$=S(755),H=(()=>{return(pt=H||(H={}))[pt.Contains=0]="Contains",pt[pt.Begins=1]="Begins",pt[pt.Ends=2]="Ends",pt[pt.Matches=3]="Matches",pt[pt.Equal=4]="Equal",pt[pt.NotEqual=5]="NotEqual",pt[pt.LessThan=6]="LessThan",pt[pt.LessThanUnlimited=7]="LessThanUnlimited",pt[pt.GreaterThan=8]="GreaterThan",pt[pt.GreaterThanUnlimited=9]="GreaterThanUnlimited",pt[pt.Defined=10]="Defined",pt[pt.Undefined=11]="Undefined",H;var pt})();class z{constructor(te,xe,Lt){if(!te)throw new Error("You must define a non-empty column name.");this.column=te,this.operator=xe,this.value=Lt}}var X=S(7709);const W=Number.POSITIVE_INFINITY;class L{constructor(te=1,xe=20){if(te<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(xe<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=te,this.pageSize=xe}all(){return this.pageSize===W}}class Y{constructor(te=[]){this.headers=te}push(te){this.headers.push(te)}forEach(te,xe){this.headers.forEach(te,xe)}toArray(){const te=[];return this.headers.forEach(xe=>te.push({name:xe.name,value:xe.value})),te}toObject(){return this.headers.reduce((te,xe)=>(te[xe.name]=xe.value,te),{})}}class ie{constructor(te){this._header=te}get name(){return this._header.name}get value(){return this._header.value}}class oe extends Error{constructor(te){super(te),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,oe.prototype)}}class Se extends Error{constructor(te){super(te),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Se.prototype)}}class Me extends ie{constructor(te,xe){if(!te)throw new oe("You must pass a valid token to the constructor.");if(!xe&&!/^.+[:]/.test(te))throw new oe("You must pass a cPanel username associated with the cPanel API token.");if(!xe&&!/[:].+$/.test(te))throw new oe("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${xe?xe+":":""}${te}`})}}Error,Error;var qe=S(109);const le=new class me{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[qe.F.GET,qe.F.DELETE,qe.F.HEAD].forEach(te=>{const xe=qe.F[te].toString();this.map[xe]={verb:xe,dataInBody:!1}}),[qe.F.POST,qe.F.PUT,qe.F.PATCH].forEach(te=>{const xe=qe.F[te].toString();this.map[xe]={verb:xe,dataInBody:!0}})}getRule(te){const xe="string"==typeof te?te:qe.F[te].toString();let Lt=this.map[xe];return Lt||(Lt=this.map.DEFAULT),Lt}};var yt=S(3022),Fe=S(8448),fn=S.n(Fe),cn=(()=>{return(pt=cn||(cn={})).JsonApi="json-api",pt.XmlApi="xml-api",cn;var pt})();class nt extends class Ee{constructor(te){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new L,this.headers=new Y,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,te&&(this.method=te.method,te.namespace&&(this.namespace=te.namespace),te.arguments&&te.arguments.forEach(xe=>{this.addArgument(xe)}),te.sorts&&te.sorts.forEach(xe=>{this.addSort(xe)}),te.filters&&te.filters.forEach(xe=>{this.addFilter(xe)}),te.columns&&te.columns.forEach(xe=>this.addColumn(xe)),te.pager&&this.paginate(te.pager),this.config=te.config?te.config:this.defaultConfig,te.headers&&te.headers.forEach(xe=>{this.addHeader(xe)}))}get usePager(){return this._usePager}addArgument(te){return this.arguments.push(te instanceof X.h?te:new X.h(te.name,te.value)),this}addSort(te){return this.sorts.push(te instanceof $.PE?te:new $.PE(te.column,te.direction,te.type)),this}addFilter(te){return this.filters.push(te instanceof z?te:new z(te.column,te.operator,te.value)),this}addColumn(te){return this.columns.push(te),this}addHeader(te){return this.headers.push(te instanceof ie?te:new ie(te)),this}paginate(te){return this.pager=te instanceof L?te:new L(te.page,te.pageSize||20),this._usePager=!0,this}}{constructor(te,xe){if(super(xe),this.apiType=cn.JsonApi,te!=cn.JsonApi&&te!=cn.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=te,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(te){if(te instanceof Me)throw new Se("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(te),this}_build(te,xe){let Lt="";return te.forEach((ht,In,Nn)=>{Lt+=xe.encode(ht.name,ht.value,In===Nn.length-1)}),xe.separatorStart+Lt+xe.separatorEnd}_make_whm_api_fieldspec_from_number(te){return fn()("",Math.floor(te/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(te%26)}_generateArguments(te){te.push({name:"api.version",value:1}),this.arguments.forEach(Lt=>te.push(Lt))}_generateSorts(te){this.sorts.forEach((xe,Lt)=>{0===Lt&&te.push({name:"api.sort.enable",value:ne.O(!0)});const ht=`api.sort.${this._make_whm_api_fieldspec_from_number(Lt)}`;te.push({name:`${ht}.field`,value:xe.column}),te.push({name:`${ht}.reverse`,value:ne.O(xe.direction!==$.Sr.Ascending)}),te.push({name:`${ht}.method`,value:m()($.ER[xe.type])})})}_lookupFilterOperator(te){switch(te){case H.GreaterThanUnlimited:return"gt_handle_unlimited";case H.GreaterThan:return"gt";case H.LessThanUnlimited:return"lt_handle_unlimited";case H.LessThan:return"lt";case H.Equal:return"eq";case H.Begins:return"begins";case H.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${H[te]} for WHM API 1`)}}_generateFilters(te){this.filters.forEach((xe,Lt)=>{0===Lt&&(te.push({name:"api.filter.enable",value:ne.O(!0)}),te.push({name:"api.filter.verbose",value:ne.O(!0)}));const ht=`api.filter.${this._make_whm_api_fieldspec_from_number(Lt)}`;te.push({name:`${ht}.field`,value:xe.column}),te.push({name:`${ht}.type`,value:this._lookupFilterOperator(xe.operator)}),te.push({name:`${ht}.arg0`,value:xe.value})})}_translatePageToStart(te){return(te.page-1)*te.pageSize+1}_generatePagination(te){if(!this.usePager)return;const xe=this.pager.all();te.push({name:"api.chunk.enable",value:ne.O(!0)}),te.push({name:"api.chunk.verbose",value:ne.O(!0)}),te.push({name:"api.chunk.start",value:xe?-1:this._translatePageToStart(this.pager)}),xe||te.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(te){te||(te={verb:qe.F.POST,encoder:this.config.json?new yt.tO:new yt.VN}),te.encoder||(te.encoder=this.config.json?new yt.tO:new yt.VN);const xe=le.getRule(te.verb),Lt={headers:new Y([{name:"Content-Type",value:te.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},ht=[];this._generateArguments(ht),this._generateSorts(ht),this._generateFilters(ht),this._generatePagination(ht);const In=this._build(ht,te.encoder);return xe.dataInBody?Lt.body=In:Lt.url+=te.verb===qe.F.GET?`?${In}`:In,this.headers.forEach(Nn=>{Lt.headers.push({name:Nn.name,value:Nn.value})}),Lt}}},269:(_e,U,S)=>{"use strict";U.g=void 0;const m=S(1680);Object.defineProperty(U,"g",{enumerable:!0,get:function(){return m.Locale}})},5074:(_e,U)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.CLDR=void 0,U.CLDR=class S{constructor(m){this.rawData=m,this.validateCLDR(this.rawData)}validateCLDR(m){if(!m)throw new Error("CLDR data cannot be null");if(!m.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(m,"functions")||Object.prototype.hasOwnProperty.call(m,"get_plural_form")||"function"!=typeof m.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(m,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(m,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(m.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(m,...ne){return this.rawData.functions.get_plural_form(m,...ne)}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:(_e,U,S)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.Locale=void 0;const l=S(2889),m=S(9483),ne=S(741),$=S(786),H=S(5074);U.Locale=class z{constructor(Z,W={}){this.lexicon=W,this._cldr=new H.CLDR(Z)}maketext(Z,...W){return l.maketext({cldr:this._cldr,lexicon:this.lexicon,template:Z,args:W})}localDatetime(Z,W){return this._datetimeWrapper(m.local_datetime,Z,W)}datetime(Z,W){return this._datetimeWrapper(m.datetime,Z,W)}_datetimeWrapper(Z,W,L){return Z({cldr:this._cldr,args:[W,L]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(Z,W){return this._formatNumber(ne.numf,Z,W)}format_bytes(Z,W){return this._formatNumber(ne.format_bytes,Z,W)}_formatNumber(Z,...W){return this._callCLDRFunc(Z,W)}list_and(...Z){return this._callCLDRFunc($.list_and,Z)}list_and_quoted(...Z){return this._callCLDRFunc($.list_and_quoted,Z)}list_or(...Z){return this._callCLDRFunc($.list_or,Z)}list_or_quoted(...Z){return this._callCLDRFunc($.list_or_quoted,Z)}_callCLDRFunc(Z,W){return Z({cldr:this._cldr,args:W})}}},7296:(_e,U,S)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.asis=void 0;const l=S(5247);U.asis=function m({args:[ne,...$]}){if(!ne||$.length>0||"string"!=typeof ne)throw new Error("asis function accepts one non translatable string.");return(ne=ne.replace(/chr\((\d+)\)/g,function(H,z){return l.functions.chr(Number(z))})).replace(/amp\(\)/g,function(H){return l.functions.amp()})}},527:(_e,U)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.boolean=void 0,U.boolean=function S({args:[l,m,ne,$]}){if(null==m||0===m.length||null==ne||0===ne.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof l<"u"&&l?m:$&&null==l?$:ne)}},9076:(_e,U)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.comment=void 0,U.comment=function S({args:[l]}){return""}},9483:(_e,U,S)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.local_datetime=U.datetime=U.dateToLocalDayNum=void 0;const l=S(5074),m=function(L){const Y=L.getUTCDay()-1;return Y<0?6:Y},ne=[7,1,2,3,4,5,6];function $(L,Y){return(ne[L.getUTCDay()]+7-Y)%7+1}U.dateToLocalDayNum=$;const H=function(L,Y,ie){let oe="",Se=0;return Y=Y||0,ie=String(void 0===ie?" ":ie),Se=Y-String(L).length,Se>0&&(oe=[...Array(Se)].map(String.prototype.valueOf,ie).join("")),oe+L};function z({cldr:L,args:[Y=new Date,ie],tzString:oe="UTC"}){if("number"==typeof Y&&/^-?\d+$/.test(Y.toString())&&(Y=new Date(1e3*Y)),!(Y instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(L instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Se=L.getDateTimeInfo();return"string"==typeof ie&&/^(?:date|time|datetime|special)_format_/.test(ie)&&(ie=Se[ie]),ie||(ie=Se.date_format_long),ie.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(Me,je,Et){return je?function X(L){return L.substr(1,L.length-2)}(je):function Z(L,Y,ie,oe){switch(ie){case"yy":return Math.abs(L.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(L.getUTCFullYear()));case"MMMMM":return Y.month_format_narrow[L.getUTCMonth()];case"LLLLL":return Y.month_stand_alone_narrow[L.getUTCMonth()];case"MMMM":return Y.month_format_wide[L.getUTCMonth()];case"LLLL":return Y.month_stand_alone_wide[L.getUTCMonth()];case"MMM":return Y.month_format_abbreviated[L.getUTCMonth()];case"LLL":return Y.month_stand_alone_abbreviated[L.getUTCMonth()];case"MM":case"LL":return H((L.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(L.getUTCMonth()+1);case"EEEE":return Y.day_format_wide[m(L)];case"EEE":case"EE":case"E":return Y.day_format_abbreviated[m(L)];case"EEEEE":return Y.day_format_narrow[m(L)];case"cccc":return Y.day_stand_alone_wide[m(L)];case"ccc":return Y.day_stand_alone_abbreviated[m(L)];case"cc":case"c":return String($(L,Number(Y.first_day_of_week)));case"ccccc":return Y.day_stand_alone_narrow[m(L)];case"dd":return H(L.getUTCDate().toString(),2,"0");case"d":return String(L.getUTCDate());case"h":case"hh":{let Se=L.getUTCHours();Se>12&&(Se-=12),0===Se&&(Se=12);const Me="hh"===ie?H(Se.toString(),2,"0"):Se;return String(Me)}case"H":return String(L.getUTCHours());case"HH":return H(L.getUTCHours().toString(),2,"0");case"m":return String(L.getUTCMinutes());case"mm":return H(L.getUTCMinutes().toString(),2,"0");case"s":return String(L.getUTCSeconds());case"ss":return H(L.getUTCSeconds().toString(),2,"0");case"a":return L.getUTCHours()<12?Y.am_pm_abbreviated[0]:Y.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return oe;case"G":case"GG":case"GGG":return Y.era_abbreviated[L.getUTCFullYear()<0?0:1];case"GGGGG":return Y.era_narrow[L.getUTCFullYear()<0?0:1];case"GGGG":return Y.era_wide[L.getUTCFullYear()<0?0:1]}return ie}(Y,Se,Et,oe)})}U.datetime=z,U.local_datetime=function W({cldr:L,args:[Y=new Date,ie]}){if("number"==typeof Y&&/^-?\d+$/.test(Y.toString())&&(Y=new Date(1e3*Y)),!(Y instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(L instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const oe=Y.getTimezoneOffset();(Y=new Date(Y)).setMinutes(Y.getMinutes()-oe);const Se=oe>0?"-":"+",Me=Math.floor(Math.abs(oe)/60),je=Math.abs(oe%60);return z({cldr:L,args:[Y,ie],tzString:"GMT"+Se+H(Me.toString(),2,"0")+H(je.toString(),2,"0")})}},40:(_e,U,S)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.functions=void 0;const l=S(7296),m=S(5247),ne=S(9076),$=S(527),H=S(741),z=S(9483),X=S(786);U.functions={asis:l.asis,output:m.output,comment:ne.comment,boolean:$.boolean,numf:H.numf,numerate:H.numerate,quant:H.quant,format_bytes:H.format_bytes,datetime:z.datetime,local_datetime:z.local_datetime,list_and:X.list_and,list_or:X.list_or,list_or_quoted:X.list_or_quoted,list_and_quoted:X.list_and_quoted}},786:(_e,U)=>{"use strict";function l(X,Z,...W){let L=W.slice();switch(1===L.length&&Array.isArray(L[0])&&(L=L[0].slice()),(typeof L>"u"||0===L.length)&&(L=[""]),L=L.map(Y=>function S(X,Z){const W=X.getDelimiters();return W&&Object.prototype.hasOwnProperty.call(W,"quotation_start")&&Object.prototype.hasOwnProperty.call(W,"quotation_end")?W.quotation_start+Z+W.quotation_end:Z}(X,Y)),Z){case"list_and":return H({cldr:X,args:L});case"list_or":return z({cldr:X,args:L});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function $(X,Z,...W){let L=W.slice();1===L.length&&Array.isArray(L[0])&&(L=L[0].slice());const Y=L.length;let ie,oe,Se,Me;try{ie=X.getFormats()[Z]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const je=function(Et,gt){switch(gt){case"0":return Se;case"1":return L[Me++]}};switch(Y){case 0:return"";case 1:return String(L[0]);default:if(Se=2===Y?ie[2]:ie.start,Se=Se.replace(/\{([01])\}/g,function(Et,gt){return L[gt]}),2===Y)return Se;for(Me=2;Me<Y;)oe=ie[Me===Y-1?"end":"middle"],Se=oe.replace(/\{([01])\}/g,je);return Se}}function H({cldr:X,args:[...Z]}){return $(X,"list",...Z)}function z({cldr:X,args:[...Z]}){return $(X,"list_or",...Z)}Object.defineProperty(U,"__esModule",{value:!0}),U.list_or=U.list_and=U.list_or_quoted=U.list_and_quoted=void 0,U.list_and_quoted=function m({cldr:X,args:[...Z]}){return l(X,"list_and",...Z)},U.list_or_quoted=function ne({cldr:X,args:[...Z]}){return l(X,"list_or",...Z)},U.list_and=H,U.list_or=z},5247:(_e,U,S)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.functions=U.output=void 0;const l=S(7906),m=S(8533);U.output=function ne({args:[$,...H]}){if(H&&"string"==typeof H[0]&&(H[0]=H[0].replace(/chr\((\d+)\)/g,function(z,X){return U.functions.chr(Number(X))}),H[0]=H[0].replace(/amp\(\)/g,function(z){return U.functions.amp()})),"function"==typeof U.functions[$])return U.functions[$](...H);throw new Error(`Locale output function '${$}' is not implemented.`)},U.functions={amp:()=>l.htmlEscape("&"),apos:()=>l.htmlEscape("'"),quot:()=>l.htmlEscape('"'),underline:$=>`<u>${$}</u>`,strong:$=>`<strong>${$}</strong>`,em:$=>`<em>${$}</em>`,abbr:($,H)=>`<abbr title="${H}">${$}</abbr>`,acronym:($,H)=>`<abbr title="${H}" class="initialism">${$}</abbr>`,class:($,...H)=>`<span class="${H.join(" ")}">${$}</span>`,chr($){if("string"==typeof $&&($=Number($)),"number"!=typeof $||isNaN($))throw new Error("chr needs a number as argument");return l.htmlEscape(String.fromCharCode($))},url($,...H){let z,X;if("object"==typeof H[H.length-1])if(z=H[H.length-1],2===H.length){if(z.html)throw new Error("Cannot provide both text and configuration with html attribute");X=H[0]}else z&&z.html?(X=z.html,delete z.html):X=$;else H.length%2==0?(z=m.listToObject(...H),z&&"html"in z&&""!==z.html?(X=z.html,delete z.html):X=$):(X=H.shift(),z=m.listToObject(...H));"_type"in z&&"offsite"===z._type&&(z.class="offsite",z.target="_blank",delete z._type);let Z=`<a href="${$}"`;if("object"==typeof z)for(const W in z)Object.prototype.hasOwnProperty.call(z,W)&&(Z+=` ${W}="${z[W]}"`);return Z+=`>${X}</a>`,Z}}},741:(_e,U,S)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.format_bytes=U.numf=U.quant=U.numerate=void 0;const l=S(5074);function ne({cldr:X,args:[Z,...W]}){if(!(X instanceof l.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let L,Y=3;Z instanceof Array?(Y=Z[1],L=Z[0]):L=Z;const ie=X.getPluralForm(L,...W),oe=ie[0]?ie[0]:W[W.length-1];if(ie&&ie.length>=2&&ie[1])return oe;const Me=H({cldr:X,args:[L,Y]});return-1!==oe.indexOf("%s")?oe.replace(/%s/g,Me):X.isRtl()?oe+" "+Me:Me+" "+oe}function H({cldr:X,args:[Z,W=6]}){if(!(X instanceof l.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(Z.toString()))return String(Z);const{decimalFormat:L,decimalGroup:Y,decimalDecimal:ie}=function $(X){const Z={},W=X.getFormats();return Object.prototype.hasOwnProperty.call(W,"decimal")&&(Z.decimalFormat=W.decimal),Object.prototype.hasOwnProperty.call(W,"_decimal_format_group")&&(Z.decimalGroup=W._decimal_format_group),Object.prototype.hasOwnProperty.call(W,"_decimal_format_decimal")&&(Z.decimalDecimal=W._decimal_format_decimal),Z}(X);if(!L||!Y||!ie)throw new Error("CLDR Data is missing information related to formatting decimals.");const oe=Z<0;Z=Math.abs(Z);let Me,je,Se=Math.floor(Z);/(?!')\.(?!')/.test(Z.toString())&&(Me=String(Z).replace(/^[^.]+/,"0"),Me=Number(Me).toFixed(W),/^1/.test(Me)?(Se++,Z=Se,Me=void 0):Me=Me.replace(/^.*\./,"").replace(/0+$/,"")),je=/(?!');(?!')/.test(L)?L.split(/(?!');(?!')/)[oe?1:0]:(oe?"-":"")+L;const Ee=je.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let qe;1===Ee.length?qe="":(Ee.pop(),qe=Y);const me=String(Se).split("").reverse(),le=[];let yt;const Fe=function(cn){switch(cn){case"#":return me.shift()||"";case"0":return me.shift()||"0"}};for(;me.length;){Ee.length&&(yt=Ee.shift());const cn=yt.replace(/(?!')[0#]|[0#](?!')/g,Fe).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");le.push(cn)}const fn=le.join(qe).split("").reverse().join("")+(Me?ie+Me:"");return je.replace(/[0#].*[0#]/,fn)}U.numerate=function m({cldr:X,args:[Z,...W]}){if(!(X instanceof l.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const L=X.getPluralForm(Z,...W);return L?L[0]:W[W.length-1]},U.quant=ne,U.numf=H,U.format_bytes=function z({cldr:X,args:[Z,W=2]}){if(!(X instanceof l.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const L=["KB","MB","GB","TB","PB","EB","ZB","YB"],ie=Z&&Math.min(Math.floor(Math.log(Z)/Math.log(1024)),L.length);return ie?H({cldr:X,args:[Z/Math.pow(1024,ie),W]})+"\xa0"+L[ie-1]:ne({cldr:X,args:[Z,"%s\xa0byte","%s\xa0bytes"]})}},2889:(_e,U,S)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.maketext=U.functions=U.config=void 0;const l=S(40);function H(z,X){const Z=[];let W=!1,L=!1;return z.forEach((Y,ie)=>{if("_"===Y.charAt(0))if("_*"===Y){if(L)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";Z.push(...X),W=!0}else{const oe=Y.match(U.config.underscoreDigitRe);if(oe){if(W)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Se,Me]=oe,je=Number(Me)-1;if(!(je in X))throw`The "${Se}" substitution argument was not passed to the maketext function.`;Z.push(X[je]),L=!0}}else Z.push(Y)}),Z}U.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},U.functions={...l.functions},U.maketext=function ne({cldr:z,lexicon:X,template:Z,args:W}){if("string"!=typeof Z)throw"You must pass a string template to the maketext function.";if(-1===(Z=X&&X[Z]||Z).indexOf("["))return Z;const L=Z.match(U.config.bracketRe)||[],Y=[];let ie=!1,oe="";if(L.forEach(Se=>{if("["===Se){if(ie)throw Error(`Invalid maketext string: ${Z} \nThe string contains nested brackets.`);ie=!0}else if("]"===Se){if(!ie)throw Error(`Invalid maketext string: ${Z} \nThe string contains an unmatched closing bracket character (]).`);if(!oe)throw Error(`Invalid maketext string: ${Z} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Me;ie=!1;try{Me=function $(z,X,Z){let W=X.split(",");if(W=W.map(ie=>ie.replace(U.config.fauxCommaRe,",")),1===W.length){if(!U.config.underscoreDigitRe.test(W[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ie]=H(W,Z);return String(ie)}const L=W.shift();if(!L||"function"!=typeof U.functions[L])throw`Invalid function "${L}" in maketext string.`;const Y=H(W,Z);return U.functions[L]({cldr:z,args:Y})}(z,oe,W)}catch(je){throw Error(`Invalid maketext string: ${Z} \n${je}`)}oe="",Y.push(Me)}else if("~"===Se.charAt(0)){const Me=Se.charAt(1)||"~";ie?oe+=","===Me?U.config.fauxComma:Me:U.config.tildeChars.has(Me)?Y.push(Me):Y.push(Se)}else ie?oe+=Se:Y.push(Se)}),ie)throw Error(`Invalid maketext string: ${Z} \nThe string contains an unmatched opening bracket character ([).`);return Y.join("")}},7906:(_e,U)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.htmlEscape=U.entityMap=void 0,U.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},U.htmlEscape=function S(l){return String(l).replace(/[&<>"'\/]/g,m=>U.entityMap[m])}},8533:(_e,U)=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.listToObject=void 0,U.listToObject=function m(...ne){let $={};return function S(ne){if(ne.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let H=0,z=ne.length;H<z;H+=2){const X=ne[H];if("string"!=typeof X||""===X)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(ne)&&($=function l(ne){const $=ne.length,H={};let X,Z,z=0;for(;z<$;)X=ne[z],Z=ne[++z],H[X]=Z,z++;return H}(ne)),$}},443:(_e,U,S)=>{var l=S(2119);_e.exports=l.Symbol},4633:_e=>{_e.exports=function U(S,l){for(var m=-1,ne=null==S?0:S.length,$=Array(ne);++m<ne;)$[m]=l(S[m],m,S);return $}},8745:_e=>{_e.exports=function U(S,l,m,ne){var $=-1,H=null==S?0:S.length;for(ne&&H&&(m=S[++$]);++$<H;)m=l(m,S[$],$,S);return m}},5481:(_e,U,S)=>{var m=S(1847)("length");_e.exports=m},6422:_e=>{_e.exports=function U(S){return S.split("")}},69:_e=>{var U=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;_e.exports=function S(l){return l.match(U)||[]}},3337:(_e,U,S)=>{var l=S(443),m=S(1318),ne=S(2902),z=l?l.toStringTag:void 0;_e.exports=function X(Z){return null==Z?void 0===Z?"[object Undefined]":"[object Null]":z&&z in Object(Z)?m(Z):ne(Z)}},1847:_e=>{_e.exports=function U(S){return function(l){return null==l?void 0:l[S]}}},2724:_e=>{_e.exports=function U(S){return function(l){return null==S?void 0:S[l]}}},7065:_e=>{var S=Math.floor;_e.exports=function l(m,ne){var $="";if(!m||ne<1||ne>9007199254740991)return $;do{ne%2&&($+=m),(ne=S(ne/2))&&(m+=m)}while(ne);return $}},4363:_e=>{_e.exports=function U(S,l,m){var ne=-1,$=S.length;l<0&&(l=-l>$?0:$+l),(m=m>$?$:m)<0&&(m+=$),$=l>m?0:m-l>>>0,l>>>=0;for(var H=Array($);++ne<$;)H[ne]=S[ne+l];return H}},3935:(_e,U,S)=>{var l=S(443),m=S(4633),ne=S(1503),$=S(4129),z=l?l.prototype:void 0,X=z?z.toString:void 0;_e.exports=function Z(W){if("string"==typeof W)return W;if(ne(W))return m(W,Z)+"";if($(W))return X?X.call(W):"";var L=W+"";return"0"==L&&1/W==-1/0?"-0":L}},3348:(_e,U,S)=>{var l=S(2760),m=/^\s+/;_e.exports=function ne($){return $&&$.slice(0,l($)+1).replace(m,"")}},2329:(_e,U,S)=>{var l=S(4363);_e.exports=function m(ne,$,H){var z=ne.length;return H=void 0===H?z:H,!$&&H>=z?ne:l(ne,$,H)}},1491:(_e,U,S)=>{var l=S(8745),m=S(4707),ne=S(7188),H=RegExp("['\u2019]","g");_e.exports=function z(X){return function(Z){return l(ne(m(Z).replace(H,"")),X,"")}}},5171:(_e,U,S)=>{var l=S(7065),m=S(3935),ne=S(2329),$=S(7609),H=S(2315),z=S(6007),X=Math.ceil;_e.exports=function Z(W,L){var Y=(L=void 0===L?" ":m(L)).length;if(Y<2)return Y?l(L,W):L;var ie=l(L,X(W/H(L)));return $(L)?ne(z(ie),0,W).join(""):ie.slice(0,W)}},9148:(_e,U,S)=>{var ne=S(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"});_e.exports=ne},9122:_e=>{var U="object"==typeof global&&global&&global.Object===Object&&global;_e.exports=U},9519:(_e,U,S)=>{var m=S(9385)(Object.getPrototypeOf,Object);_e.exports=m},1318:(_e,U,S)=>{var l=S(443),m=Object.prototype,ne=m.hasOwnProperty,$=m.toString,H=l?l.toStringTag:void 0;_e.exports=function z(X){var Z=ne.call(X,H),W=X[H];try{X[H]=void 0;var L=!0}catch{}var Y=$.call(X);return L&&(Z?X[H]=W:delete X[H]),Y}},7609:_e=>{var z=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");_e.exports=function X(Z){return z.test(Z)}},9062:_e=>{var U=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;_e.exports=function S(l){return U.test(l)}},2902:_e=>{var S=Object.prototype.toString;_e.exports=function l(m){return S.call(m)}},9385:_e=>{_e.exports=function U(S,l){return function(m){return S(l(m))}}},2119:(_e,U,S)=>{var l=S(9122),m="object"==typeof self&&self&&self.Object===Object&&self,ne=l||m||Function("return this")();_e.exports=ne},2315:(_e,U,S)=>{var l=S(5481),m=S(7609),ne=S(1149);_e.exports=function $(H){return m(H)?ne(H):l(H)}},6007:(_e,U,S)=>{var l=S(6422),m=S(7609),ne=S(6319);_e.exports=function $(H){return m(H)?ne(H):l(H)}},2760:_e=>{var U=/\s/;_e.exports=function S(l){for(var m=l.length;m--&&U.test(l.charAt(m)););return m}},1149:_e=>{var U="\\ud800-\\udfff",H="["+U+"]",z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",X="\\ud83c[\\udffb-\\udfff]",W="[^"+U+"]",L="(?:\\ud83c[\\udde6-\\uddff]){2}",Y="[\\ud800-\\udbff][\\udc00-\\udfff]",oe="(?:"+z+"|"+X+")?",Se="[\\ufe0e\\ufe0f]?",je=Se+oe+"(?:\\u200d(?:"+[W,L,Y].join("|")+")"+Se+oe+")*",Et="(?:"+[W+z+"?",z,L,Y,H].join("|")+")",gt=RegExp(X+"(?="+X+")|"+Et+je,"g");_e.exports=function Ee(qe){for(var me=gt.lastIndex=0;gt.test(qe);)++me;return me}},6319:_e=>{var U="\\ud800-\\udfff",H="["+U+"]",z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",X="\\ud83c[\\udffb-\\udfff]",W="[^"+U+"]",L="(?:\\ud83c[\\udde6-\\uddff]){2}",Y="[\\ud800-\\udbff][\\udc00-\\udfff]",oe="(?:"+z+"|"+X+")?",Se="[\\ufe0e\\ufe0f]?",je=Se+oe+"(?:\\u200d(?:"+[W,L,Y].join("|")+")"+Se+oe+")*",Et="(?:"+[W+z+"?",z,L,Y,H].join("|")+")",gt=RegExp(X+"(?="+X+")|"+Et+je,"g");_e.exports=function Ee(qe){return qe.match(gt)||[]}},910:_e=>{var U="\\ud800-\\udfff",$="\\u2700-\\u27bf",H="a-z\\xdf-\\xf6\\xf8-\\xff",L="A-Z\\xc0-\\xd6\\xd8-\\xde",ie="\\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",Se="["+ie+"]",je="\\d+",Et="["+$+"]",gt="["+H+"]",Ee="[^"+U+ie+je+$+H+L+"]",yt="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",fn="["+L+"]",nt="(?:"+gt+"|"+Ee+")",pt="(?:"+fn+"|"+Ee+")",te="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",xe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Lt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ht="[\\ufe0e\\ufe0f]?",en=ht+Lt+"(?:\\u200d(?:"+["[^"+U+"]",yt,Fe].join("|")+")"+ht+Lt+")*",Ge="(?:"+[Et,yt,Fe].join("|")+")"+en,Qe=RegExp([fn+"?"+gt+"+"+te+"(?="+[Se,fn,"$"].join("|")+")",pt+"+"+xe+"(?="+[Se,fn+nt,"$"].join("|")+")",fn+"?"+nt+"+"+te,fn+"+"+xe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",je,Ge].join("|"),"g");_e.exports=function it(Dn){return Dn.match(Qe)||[]}},4707:(_e,U,S)=>{var l=S(9148),m=S(3943),ne=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,W=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");_e.exports=function L(Y){return(Y=m(Y))&&Y.replace(ne,l).replace(W,"")}},1503:_e=>{_e.exports=Array.isArray},4798:(_e,U,S)=>{var l=S(3337),m=S(2671);_e.exports=function $(H){return!0===H||!1===H||m(H)&&"[object Boolean]"==l(H)}},1305:_e=>{_e.exports=function U(S){return null===S}},9138:(_e,U,S)=>{var l=S(3337),m=S(2671);_e.exports=function $(H){return"number"==typeof H||m(H)&&"[object Number]"==l(H)}},5940:_e=>{_e.exports=function U(S){var l=typeof S;return null!=S&&("object"==l||"function"==l)}},2671:_e=>{_e.exports=function U(S){return null!=S&&"object"==typeof S}},7614:(_e,U,S)=>{var l=S(3337),m=S(9519),ne=S(2671),X=Function.prototype.toString,Z=Object.prototype.hasOwnProperty,W=X.call(Object);_e.exports=function L(Y){if(!ne(Y)||"[object Object]"!=l(Y))return!1;var ie=m(Y);if(null===ie)return!0;var oe=Z.call(ie,"constructor")&&ie.constructor;return"function"==typeof oe&&oe instanceof oe&&X.call(oe)==W}},248:(_e,U,S)=>{var l=S(3337),m=S(1503),ne=S(2671);_e.exports=function H(z){return"string"==typeof z||!m(z)&&ne(z)&&"[object String]"==l(z)}},4129:(_e,U,S)=>{var l=S(3337),m=S(2671);_e.exports=function $(H){return"symbol"==typeof H||m(H)&&"[object Symbol]"==l(H)}},4235:_e=>{_e.exports=function U(S){return void 0===S}},7489:function(_e,U,S){var l;_e=S.nmd(_e),function(){var m,z="Expected a function",Z="__lodash_hash_undefined__",L="__lodash_placeholder__",In=1/0,Nn=9007199254740991,Ge=4294967295,Dn=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],mn="[object Arguments]",qn="[object Array]",Tn="[object Boolean]",ar="[object Date]",Ve="[object Error]",ve="[object Function]",Pe="[object GeneratorFunction]",ct="[object Map]",ft="[object Number]",Rt="[object Object]",Mr="[object Promise]",Un="[object RegExp]",ee="[object Set]",de="[object String]",Ae="[object Symbol]",Re="[object WeakMap]",_t="[object ArrayBuffer]",Ue="[object DataView]",Ie="[object Float32Array]",zt="[object Float64Array]",Vt="[object Int8Array]",qt="[object Int16Array]",A="[object Int32Array]",re="[object Uint8Array]",ae="[object Uint8ClampedArray]",ce="[object Uint16Array]",ot="[object Uint32Array]",Be=/\b__p \+= '';/g,Le=/\b(__p \+=) '' \+/g,He=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bt=/&(?:amp|lt|gt|quot|#39);/g,Mt=/[&<>"']/g,Ut=RegExp(bt.source),Ot=RegExp(Mt.source),Tt=/<%-([\s\S]+?)%>/g,an=/<%([\s\S]+?)%>/g,vt=/<%=([\s\S]+?)%>/g,At=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wt=/^\w*$/,pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/[\\^$.*+?()[\]{}|]/g,M=RegExp(P.source),x=/^\s+/,j=/\s/,Ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,rt=/\{\n\/\* \[wrapped with (.+)\] \*/,mt=/,? & /,Ze=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,K=/[()=,{}\[\]\/\s]/,be=/\\(\\)?/g,jt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qt=/\w*$/,sn=/^[-+]0x[0-9a-f]+$/i,Je=/^0b[01]+$/i,ut=/^\[object .+?Constructor\]$/,Te=/^0o[0-7]+$/i,at=/^(?:0|[1-9]\d*)$/,St=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,It=/($^)/,Pt=/['\n\r\u2028\u2029\\]/g,Ke="\\ud800-\\udfff",Sn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qn="\\u2700-\\u27bf",lr="a-z\\xdf-\\xf6\\xf8-\\xff",ci="A-Z\\xc0-\\xd6\\xd8-\\xde",Or="\\ufe0e\\ufe0f",Nr="\\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",mr="["+Ke+"]",di="["+Nr+"]",Rr="["+Sn+"]",_r="\\d+",An="["+Qn+"]",ea="["+lr+"]",Do="[^"+Ke+Nr+_r+Qn+lr+ci+"]",Qi="\\ud83c[\\udffb-\\udfff]",Jr="[^"+Ke+"]",Ji="(?:\\ud83c[\\udde6-\\uddff]){2}",pr="[\\ud800-\\udbff][\\udc00-\\udfff]",ur="["+ci+"]",ii="(?:"+ea+"|"+Do+")",Xr="(?:"+ur+"|"+Do+")",Mo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Xi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",lo="(?:"+Rr+"|"+Qi+")?",zr="["+Or+"]?",To=zr+lo+"(?:\\u200d(?:"+[Jr,Ji,pr].join("|")+")"+zr+lo+")*",So="(?:"+[An,Ji,pr].join("|")+")"+To,Ko="(?:"+[Jr+Rr+"?",Rr,Ji,pr,mr].join("|")+")",ws=RegExp("['\u2019]","g"),Ta=RegExp(Rr,"g"),Po=RegExp(Qi+"(?="+Qi+")|"+Ko+To,"g"),bs=RegExp([ur+"?"+ea+"+"+Mo+"(?="+[di,ur,"$"].join("|")+")",Xr+"+"+Xi+"(?="+[di,ur+ii,"$"].join("|")+")",ur+"?"+ii+"+"+Mo,ur+"+"+Xi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_r,So].join("|"),"g"),Sa=RegExp("[\\u200d"+Ke+Sn+Or+"]"),Qo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pa=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eo=-1,Jn={};Jn[Ie]=Jn[zt]=Jn[Vt]=Jn[qt]=Jn[A]=Jn[re]=Jn[ae]=Jn[ce]=Jn[ot]=!0,Jn[mn]=Jn[qn]=Jn[_t]=Jn[Tn]=Jn[Ue]=Jn[ar]=Jn[Ve]=Jn[ve]=Jn[ct]=Jn[ft]=Jn[Rt]=Jn[Un]=Jn[ee]=Jn[de]=Jn[Re]=!1;var $n={};$n[mn]=$n[qn]=$n[_t]=$n[Ue]=$n[Tn]=$n[ar]=$n[Ie]=$n[zt]=$n[Vt]=$n[qt]=$n[A]=$n[ct]=$n[ft]=$n[Rt]=$n[Un]=$n[ee]=$n[de]=$n[Ae]=$n[re]=$n[ae]=$n[ce]=$n[ot]=!0,$n[Ve]=$n[ve]=$n[Re]=!1;var Ds={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},na=parseFloat,ra=parseInt,ia="object"==typeof global&&global&&global.Object===Object&&global,Bi="object"==typeof self&&self&&self.Object===Object&&self,xr=ia||Bi||Function("return this")(),co=U&&!U.nodeType&&U,Wr=co&&_e&&!_e.nodeType&&_e,Es=Wr&&Wr.exports===co,Jo=Es&&ia.process,Br=function(){try{return Wr&&Wr.require&&Wr.require("util").types||Jo&&Jo.binding&&Jo.binding("util")}catch{}}(),xo=Br&&Br.isArrayBuffer,oa=Br&&Br.isDate,Ao=Br&&Br.isMap,D=Br&&Br.isRegExp,N=Br&&Br.isSet,E=Br&&Br.isTypedArray;function B(he,We,Ne){switch(Ne.length){case 0:return he.call(We);case 1:return he.call(We,Ne[0]);case 2:return he.call(We,Ne[0],Ne[1]);case 3:return he.call(We,Ne[0],Ne[1],Ne[2])}return he.apply(We,Ne)}function fe(he,We,Ne,$t){for(var wn=-1,Xn=null==he?0:he.length;++wn<Xn;){var Ar=he[wn];We($t,Ar,Ne(Ar),he)}return $t}function ke(he,We){for(var Ne=-1,$t=null==he?0:he.length;++Ne<$t&&!1!==We(he[Ne],Ne,he););return he}function Ct(he,We){for(var Ne=null==he?0:he.length;Ne--&&!1!==We(he[Ne],Ne,he););return he}function Yt(he,We){for(var Ne=-1,$t=null==he?0:he.length;++Ne<$t;)if(!We(he[Ne],Ne,he))return!1;return!0}function Hn(he,We){for(var Ne=-1,$t=null==he?0:he.length,wn=0,Xn=[];++Ne<$t;){var Ar=he[Ne];We(Ar,Ne,he)&&(Xn[wn++]=Ar)}return Xn}function Gn(he,We){return!(null==he||!he.length)&&y(he,We,0)>-1}function rr(he,We,Ne){for(var $t=-1,wn=null==he?0:he.length;++$t<wn;)if(Ne(We,he[$t]))return!0;return!1}function xt(he,We){for(var Ne=-1,$t=null==he?0:he.length,wn=Array($t);++Ne<$t;)wn[Ne]=We(he[Ne],Ne,he);return wn}function Rn(he,We){for(var Ne=-1,$t=We.length,wn=he.length;++Ne<$t;)he[wn+Ne]=We[Ne];return he}function tr(he,We,Ne,$t){var wn=-1,Xn=null==he?0:he.length;for($t&&Xn&&(Ne=he[++wn]);++wn<Xn;)Ne=We(Ne,he[wn],wn,he);return Ne}function Pn(he,We,Ne,$t){var wn=null==he?0:he.length;for($t&&wn&&(Ne=he[--wn]);wn--;)Ne=We(Ne,he[wn],wn,he);return Ne}function Pi(he,We){for(var Ne=-1,$t=null==he?0:he.length;++Ne<$t;)if(We(he[Ne],Ne,he))return!0;return!1}var fo=dr("length");function w(he,We,Ne){var $t;return Ne(he,function(wn,Xn,Ar){if(We(wn,Xn,Ar))return $t=Xn,!1}),$t}function C(he,We,Ne,$t){for(var wn=he.length,Xn=Ne+($t?1:-1);$t?Xn--:++Xn<wn;)if(We(he[Xn],Xn,he))return Xn;return-1}function y(he,We,Ne){return We==We?function si(he,We,Ne){for(var $t=Ne-1,wn=he.length;++$t<wn;)if(he[$t]===We)return $t;return-1}(he,We,Ne):C(he,ze,Ne)}function R(he,We,Ne,$t){for(var wn=Ne-1,Xn=he.length;++wn<Xn;)if($t(he[wn],We))return wn;return-1}function ze(he){return he!=he}function tn(he,We){var Ne=null==he?0:he.length;return Ne?un(he,We)/Ne:NaN}function dr(he){return function(We){return null==We?m:We[he]}}function jn(he){return function(We){return null==he?m:he[We]}}function oi(he,We,Ne,$t,wn){return wn(he,function(Xn,Ar,or){Ne=$t?($t=!1,Xn):We(Ne,Xn,Ar,or)}),Ne}function un(he,We){for(var Ne,$t=-1,wn=he.length;++$t<wn;){var Xn=We(he[$t]);Xn!==m&&(Ne=Ne===m?Xn:Ne+Xn)}return Ne}function Xo(he,We){for(var Ne=-1,$t=Array(he);++Ne<he;)$t[Ne]=We(Ne);return $t}function fl(he){return he&&he.slice(0,Ui(he)+1).replace(x,"")}function ei(he){return function(We){return he(We)}}function hl(he,We){return xt(We,function(Ne){return he[Ne]})}function Ms(he,We){return he.has(We)}function Oa(he,We){for(var Ne=-1,$t=he.length;++Ne<$t&&y(We,he[Ne],0)>-1;);return Ne}function Gl(he,We){for(var Ne=he.length;Ne--&&y(We,he[Ne],0)>-1;);return Ne}function lt(he,We){for(var Ne=he.length,$t=0;Ne--;)he[Ne]===We&&++$t;return $t}var zn=jn({\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"}),zl=jn({"&":"&","<":"<",">":">",'"':""","'":"'"});function kr(he){return"\\"+Ds[he]}function ji(he){return Sa.test(he)}function sa(he){var We=-1,Ne=Array(he.size);return he.forEach(function($t,wn){Ne[++We]=[wn,$t]}),Ne}function ql(he,We){return function(Ne){return he(We(Ne))}}function Io(he,We){for(var Ne=-1,$t=he.length,wn=0,Xn=[];++Ne<$t;){var Ar=he[Ne];(Ar===We||Ar===L)&&(he[Ne]=L,Xn[wn++]=Ne)}return Xn}function pl(he){var We=-1,Ne=Array(he.size);return he.forEach(function($t){Ne[++We]=$t}),Ne}function es(he){return ji(he)?function Zl(he){for(var We=Po.lastIndex=0;Po.test(he);)++We;return We}(he):fo(he)}function qr(he){return ji(he)?function rc(he){return he.match(Po)||[]}(he):function to(he){return he.split("")}(he)}function Ui(he){for(var We=he.length;We--&&j.test(he.charAt(We)););return We}var Yl=jn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ts=function he(We){var r,Ne=(We=null==We?xr:Ts.defaults(xr.Object(),We,Ts.pick(xr,Pa))).Array,$t=We.Date,wn=We.Error,Xn=We.Function,Ar=We.Math,or=We.Object,Ia=We.RegExp,Na=We.String,Oi=We.TypeError,Fa=Ne.prototype,wi=or.prototype,fr=We["__core-js_shared__"],Ra=Xn.prototype.toString,nr=wi.hasOwnProperty,ic=0,Kl=(r=/[^.]+$/.exec(fr&&fr.keys&&fr.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",ml=wi.toString,jd=Ra.call(or),_l=xr._,yl=Ia("^"+Ra.call(nr).replace(P,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ts=Es?We.Buffer:m,no=We.Symbol,aa=We.Uint8Array,Ql=ts?ts.allocUnsafe:m,$i=ql(or.getPrototypeOf,or),la=or.create,oc=wi.propertyIsEnumerable,vl=Fa.splice,ua=no?no.isConcatSpreadable:m,Ss=no?no.iterator:m,Ps=no?no.toStringTag:m,Cl=function(){try{var r=_a(or,"defineProperty");return r({},"",{}),r}catch{}}(),Gh=We.clearTimeout!==xr.clearTimeout&&We.clearTimeout,zh=$t&&$t.now!==xr.Date.now&&$t.now,ka=We.setTimeout!==xr.setTimeout&&We.setTimeout,ca=Ar.ceil,Os=Ar.floor,xs=or.getOwnPropertySymbols,Jl=ts?ts.isBuffer:m,wl=We.isFinite,As=Fa.join,sc=ql(or.keys,or),gr=Ar.max,Hr=Ar.min,La=$t.now,Wh=We.parseInt,Xl=Ar.random,eu=Fa.reverse,bl=_a(We,"DataView"),Va=_a(We,"Map"),Is=_a(We,"Promise"),ns=_a(We,"Set"),rs=_a(We,"WeakMap"),No=_a(or,"create"),Ns=rs&&new rs,da={},ac=fs(bl),lc=fs(Va),uc=fs(Is),cc=fs(ns),dc=fs(rs),Ba=no?no.prototype:m,Fo=Ba?Ba.valueOf:m,Fs=Ba?Ba.toString:m;function k(r){if(Ir(r)&&!xn(r)&&!(r instanceof Fn)){if(r instanceof hr)return r;if(nr.call(r,"__wrapped__"))return af(r)}return new hr(r)}var Yr=function(){function r(){}return function(s){if(!Er(s))return{};if(la)return la(s);r.prototype=s;var d=new r;return r.prototype=m,d}}();function sr(){}function hr(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=m}function Fn(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ge,this.__views__=[]}function Ai(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var v=r[s];this.set(v[0],v[1])}}function Ro(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var v=r[s];this.set(v[0],v[1])}}function is(r){var s=-1,d=null==r?0:r.length;for(this.clear();++s<d;){var v=r[s];this.set(v[0],v[1])}}function ko(r){var s=-1,d=null==r?0:r.length;for(this.__data__=new is;++s<d;)this.add(r[s])}function Gi(r){var s=this.__data__=new Ro(r);this.size=s.size}function ja(r,s){var d=xn(r),v=!d&&Ca(r),O=!d&&!v&&wa(r),V=!d&&!v&&!O&&el(r),Q=d||v||O||V,ue=Q?Xo(r.length,Na):[],ye=ue.length;for(var Xe in r)(s||nr.call(r,Xe))&&(!Q||!("length"==Xe||O&&("offset"==Xe||"parent"==Xe)||V&&("buffer"==Xe||"byteLength"==Xe||"byteOffset"==Xe)||ds(Xe,ye)))&&ue.push(Xe);return ue}function ni(r){var s=r.length;return s?r[hi(0,s-1)]:m}function hc(r,s){return Za(bi(r),Vs(s,0,r.length))}function Gd(r){return Za(bi(r))}function iu(r,s,d){(d!==m&&!ao(r[s],d)||d===m&&!(s in r))&&go(r,s,d)}function Ls(r,s,d){var v=r[s];(!nr.call(r,s)||!ao(v,d)||d===m&&!(s in r))&&go(r,s,d)}function ri(r,s){for(var d=r.length;d--;)if(ao(r[d][0],s))return d;return-1}function Ml(r,s,d,v){return ro(r,function(O,V,Q){s(v,O,d(O),Q)}),v}function ss(r,s){return r&&jo(s,Kr(s),r)}function go(r,s,d){"__proto__"==s&&Cl?Cl(r,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):r[s]=d}function ou(r,s){for(var d=-1,v=s.length,O=Ne(v),V=null==r;++d<v;)O[d]=V?m:zu(r,s[d]);return O}function Vs(r,s,d){return r==r&&(d!==m&&(r=r<=d?r:d),s!==m&&(r=r>=s?r:s)),r}function Ii(r,s,d,v,O,V){var Q,ue=1&s,ye=2&s,Xe=4&s;if(d&&(Q=O?d(r,v,O,V):d(r)),Q!==m)return Q;if(!Er(r))return r;var tt=xn(r);if(tt){if(Q=function nf(r){var s=r.length,d=new r.constructor(s);return s&&"string"==typeof r[0]&&nr.call(r,"index")&&(d.index=r.index,d.input=r.input),d}(r),!ue)return bi(r,Q)}else{var dt=mi(r),kt=dt==ve||dt==Pe;if(wa(r))return Cc(r,ue);if(dt==Rt||dt==mn||kt&&!O){if(Q=ye||kt?{}:rf(r),!ue)return ye?function sp(r,s){return jo(r,ef(r),s)}(r,function Xh(r,s){return r&&jo(s,Qr(s),r)}(Q,r)):function op(r,s){return jo(r,qa(r),s)}(r,ss(Q,r))}else{if(!$n[dt])return O?r:{};Q=function pp(r,s,d){var v=r.constructor;switch(s){case _t:return du(r);case Tn:case ar:return new v(+r);case Ue:return function i_(r,s){var d=s?du(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.byteLength)}(r,d);case Ie:case zt:case Vt:case qt:case A:case re:case ae:case ce:case ot:return fu(r,d);case ct:return new v;case ft:case de:return new v(r);case Un:return function o_(r){var s=new r.constructor(r.source,Qt.exec(r));return s.lastIndex=r.lastIndex,s}(r);case ee:return new v;case Ae:return function s_(r){return Fo?or(Fo.call(r)):{}}(r)}}(r,dt,ue)}}V||(V=new Gi);var on=V.get(r);if(on)return on;V.set(r,Q),qf(r)?r.forEach(function(vn){Q.add(Ii(vn,s,d,vn,r,V))}):$f(r)&&r.forEach(function(vn,Bn){Q.set(Bn,Ii(vn,s,d,Bn,r,V))});var Ln=tt?m:(Xe?ye?Cu:Tc:ye?Qr:Kr)(r);return ke(Ln||r,function(vn,Bn){Ln&&(vn=r[Bn=vn]),Ls(Q,Bn,Ii(vn,s,d,Bn,r,V))}),Q}function gc(r,s,d){var v=d.length;if(null==r)return!v;for(r=or(r);v--;){var O=d[v],Q=r[O];if(Q===m&&!(O in r)||!(0,s[O])(Q))return!1}return!0}function su(r,s,d){if("function"!=typeof r)throw new Oi(z);return ya(function(){r.apply(m,d)},s)}function Bs(r,s,d,v){var O=-1,V=Gn,Q=!0,ue=r.length,ye=[],Xe=s.length;if(!ue)return ye;d&&(s=xt(s,ei(d))),v?(V=rr,Q=!1):s.length>=200&&(V=Ms,Q=!1,s=new ko(s));e:for(;++O<ue;){var tt=r[O],dt=null==d?tt:d(tt);if(tt=v||0!==tt?tt:0,Q&&dt==dt){for(var kt=Xe;kt--;)if(s[kt]===dt)continue e;ye.push(tt)}else V(s,dt,v)||ye.push(tt)}return ye}k.templateSettings={escape:Tt,evaluate:an,interpolate:vt,variable:"",imports:{_:k}},(k.prototype=sr.prototype).constructor=k,(hr.prototype=Yr(sr.prototype)).constructor=hr,(Fn.prototype=Yr(sr.prototype)).constructor=Fn,Ai.prototype.clear=function ks(){this.__data__=No?No(null):{},this.size=0},Ai.prototype.delete=function nu(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s},Ai.prototype.get=function ru(r){var s=this.__data__;if(No){var d=s[r];return d===Z?m:d}return nr.call(s,r)?s[r]:m},Ai.prototype.has=function fa(r){var s=this.__data__;return No?s[r]!==m:nr.call(s,r)},Ai.prototype.set=function qh(r,s){var d=this.__data__;return this.size+=this.has(r)?0:1,d[r]=No&&s===m?Z:s,this},Ro.prototype.clear=function Tr(){this.__data__=[],this.size=0},Ro.prototype.delete=function Yh(r){var s=this.__data__,d=ri(s,r);return!(d<0||(d==s.length-1?s.pop():vl.call(s,d,1),--this.size,0))},Ro.prototype.get=function Zh(r){var s=this.__data__,d=ri(s,r);return d<0?m:s[d][1]},Ro.prototype.has=function Kh(r){return ri(this.__data__,r)>-1},Ro.prototype.set=function Ud(r,s){var d=this.__data__,v=ri(d,r);return v<0?(++this.size,d.push([r,s])):d[v][1]=s,this},is.prototype.clear=function Qh(){this.size=0,this.__data__={hash:new Ai,map:new(Va||Ro),string:new Ai}},is.prototype.delete=function Dl(r){var s=bu(this,r).delete(r);return this.size-=s?1:0,s},is.prototype.get=function ha(r){return bu(this,r).get(r)},is.prototype.has=function $d(r){return bu(this,r).has(r)},is.prototype.set=function jr(r,s){var d=bu(this,r),v=d.size;return d.set(r,s),this.size+=d.size==v?0:1,this},ko.prototype.add=ko.prototype.push=function Ha(r){return this.__data__.set(r,Z),this},ko.prototype.has=function Jh(r){return this.__data__.has(r)},Gi.prototype.clear=function zi(){this.__data__=new Ro,this.size=0},Gi.prototype.delete=function po(r){var s=this.__data__,d=s.delete(r);return this.size=s.size,d},Gi.prototype.get=function fc(r){return this.__data__.get(r)},Gi.prototype.has=function El(r){return this.__data__.has(r)},Gi.prototype.set=function os(r,s){var d=this.__data__;if(d instanceof Ro){var v=d.__data__;if(!Va||v.length<199)return v.push([r,s]),this.size=++d.size,this;d=this.__data__=new is(v)}return d.set(r,s),this.size=d.size,this};var ro=Il(_o),au=Il(Hs,!0);function mo(r,s){var d=!0;return ro(r,function(v,O,V){return d=!!s(v,O,V)}),d}function as(r,s,d){for(var v=-1,O=r.length;++v<O;){var V=r[v],Q=s(V);if(null!=Q&&(ue===m?Q==Q&&!Mi(Q):d(Q,ue)))var ue=Q,ye=V}return ye}function Tl(r,s){var d=[];return ro(r,function(v,O,V){s(v,O,V)&&d.push(v)}),d}function Zr(r,s,d,v,O){var V=-1,Q=r.length;for(d||(d=mp),O||(O=[]);++V<Q;){var ue=r[V];s>0&&d(ue)?s>1?Zr(ue,s-1,d,v,O):Rn(O,ue):v||(O[O.length]=ue)}return O}var Sl=Yd(),Pl=Yd(!0);function _o(r,s){return r&&Sl(r,s,Kr)}function Hs(r,s){return r&&Pl(r,s,Kr)}function $a(r,s){return Hn(s,function(d){return gs(r[d])})}function h(r,s){for(var d=0,v=(s=cs(s,r)).length;null!=r&&d<v;)r=r[zo(s[d++])];return d&&d==v?r:m}function c(r,s,d){var v=s(r);return xn(r)?v:Rn(v,d(r))}function a(r){return null==r?r===m?"[object Undefined]":"[object Null]":Ps&&Ps in or(r)?function dp(r){var s=nr.call(r,Ps),d=r[Ps];try{r[Ps]=m;var v=!0}catch{}var O=ml.call(r);return v&&(s?r[Ps]=d:delete r[Ps]),O}(r):function vp(r){return ml.call(r)}(r)}function p(r,s){return r>s}function b(r,s){return null!=r&&nr.call(r,s)}function F(r,s){return null!=r&&s in or(r)}function J(r,s,d){for(var v=d?rr:Gn,O=r[0].length,V=r.length,Q=V,ue=Ne(V),ye=1/0,Xe=[];Q--;){var tt=r[Q];Q&&s&&(tt=xt(tt,ei(s))),ye=Hr(tt.length,ye),ue[Q]=!d&&(s||O>=120&&tt.length>=120)?new ko(Q&&tt):m}tt=r[0];var dt=-1,kt=ue[0];e:for(;++dt<O&&Xe.length<ye;){var on=tt[dt],yn=s?s(on):on;if(on=d||0!==on?on:0,!(kt?Ms(kt,yn):v(Xe,yn,d))){for(Q=V;--Q;){var Ln=ue[Q];if(!(Ln?Ms(Ln,yn):v(r[Q],yn,d)))continue e}kt&&kt.push(yn),Xe.push(on)}}return Xe}function $e(r,s,d){var v=null==(r=Ya(r,s=cs(s,r)))?r:r[zo(Ei(s))];return null==v?m:B(v,r,d)}function Ft(r){return Ir(r)&&a(r)==mn}function On(r,s,d,v,O){return r===s||(null==r||null==s||!Ir(r)&&!Ir(s)?r!=r&&s!=s:function dn(r,s,d,v,O,V){var Q=xn(r),ue=xn(s),ye=Q?qn:mi(r),Xe=ue?qn:mi(s),tt=(ye=ye==mn?Rt:ye)==Rt,dt=(Xe=Xe==mn?Rt:Xe)==Rt,kt=ye==Xe;if(kt&&wa(r)){if(!wa(s))return!1;Q=!0,tt=!1}if(kt&&!tt)return V||(V=new Gi),Q||el(r)?Jd(r,s,d,v,O,V):function Xd(r,s,d,v,O,V,Q){switch(d){case Ue:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case _t:return!(r.byteLength!=s.byteLength||!V(new aa(r),new aa(s)));case Tn:case ar:case ft:return ao(+r,+s);case Ve:return r.name==s.name&&r.message==s.message;case Un:case de:return r==s+"";case ct:var ue=sa;case ee:if(ue||(ue=pl),r.size!=s.size&&!(1&v))return!1;var Xe=Q.get(r);if(Xe)return Xe==s;v|=2,Q.set(r,s);var tt=Jd(ue(r),ue(s),v,O,V,Q);return Q.delete(r),tt;case Ae:if(Fo)return Fo.call(r)==Fo.call(s)}return!1}(r,s,ye,d,v,O,V);if(!(1&d)){var on=tt&&nr.call(r,"__wrapped__"),yn=dt&&nr.call(s,"__wrapped__");if(on||yn){var Ln=on?r.value():r,vn=yn?s.value():s;return V||(V=new Gi),O(Ln,vn,d,v,V)}}return!!kt&&(V||(V=new Gi),function cp(r,s,d,v,O,V){var Q=1&d,ue=Tc(r),ye=ue.length;if(ye!=Tc(s).length&&!Q)return!1;for(var dt=ye;dt--;){var kt=ue[dt];if(!(Q?kt in s:nr.call(s,kt)))return!1}var on=V.get(r),yn=V.get(s);if(on&&yn)return on==s&&yn==r;var Ln=!0;V.set(r,s),V.set(s,r);for(var vn=Q;++dt<ye;){var Bn=r[kt=ue[dt]],Zn=s[kt];if(v)var Li=Q?v(Zn,Bn,kt,s,r,V):v(Bn,Zn,kt,r,s,V);if(!(Li===m?Bn===Zn||O(Bn,Zn,d,v,V):Li)){Ln=!1;break}vn||(vn="constructor"==kt)}if(Ln&&!vn){var yi=r.constructor,Ti=s.constructor;yi!=Ti&&"constructor"in r&&"constructor"in s&&!("function"==typeof yi&&yi instanceof yi&&"function"==typeof Ti&&Ti instanceof Ti)&&(Ln=!1)}return V.delete(r),V.delete(s),Ln}(r,s,d,v,O,V))}(r,s,d,v,On,O))}function Yn(r,s,d,v){var O=d.length,V=O,Q=!v;if(null==r)return!V;for(r=or(r);O--;){var ue=d[O];if(Q&&ue[2]?ue[1]!==r[ue[0]]:!(ue[0]in r))return!1}for(;++O<V;){var ye=(ue=d[O])[0],Xe=r[ye],tt=ue[1];if(Q&&ue[2]){if(Xe===m&&!(ye in r))return!1}else{var dt=new Gi;if(v)var kt=v(Xe,tt,ye,r,s,dt);if(!(kt===m?On(tt,Xe,3,v,dt):kt))return!1}}return!0}function Sr(r){return!(!Er(r)||function $o(r){return!!Kl&&Kl in r}(r))&&(gs(r)?yl:ut).test(fs(r))}function Wi(r){return"function"==typeof r?r:null==r?vr:"object"==typeof r?xn(r)?Ol(r[0],r[1]):yo(r):Ed(r)}function Ni(r){if(!Du(r))return sc(r);var s=[];for(var d in or(r))nr.call(r,d)&&"constructor"!=d&&s.push(d);return s}function Fi(r,s){return r<s}function io(r,s){var d=-1,v=Ri(r)?Ne(r.length):[];return ro(r,function(O,V,Q){v[++d]=s(O,V,Q)}),v}function yo(r){var s=Fl(r);return 1==s.length&&s[0][2]?yp(s[0][0],s[0][1]):function(d){return d===r||Yn(d,r,s)}}function Ol(r,s){return Pc(r)&&Oc(s)?yp(zo(r),s):function(d){var v=zu(d,r);return v===m&&v===s?pd(d,r):On(s,v,3)}}function Lo(r,s,d,v,O){r!==s&&Sl(s,function(V,Q){if(O||(O=new Gi),Er(V))!function ls(r,s,d,v,O,V,Q){var ue=Eu(r,d),ye=Eu(s,d),Xe=Q.get(ye);if(Xe)iu(r,d,Xe);else{var tt=V?V(ue,ye,d+"",r,s,Q):m,dt=tt===m;if(dt){var kt=xn(ye),on=!kt&&wa(ye),yn=!kt&&!on&&el(ye);tt=ye,kt||on||yn?xn(ue)?tt=ue:Vr(ue)?tt=bi(ue):on?(dt=!1,tt=Cc(ye,!0)):yn?(dt=!1,tt=fu(ye,!0)):tt=[]:Bu(ye)||Ca(ye)?(tt=ue,Ca(ue)?tt=cg(ue):(!Er(ue)||gs(ue))&&(tt=rf(ye))):dt=!1}dt&&(Q.set(ye,tt),O(tt,ye,v,V,Q),Q.delete(ye)),iu(r,d,tt)}}(r,s,Q,d,Lo,v,O);else{var ue=v?v(Eu(r,Q),V,Q+"",r,s,O):m;ue===m&&(ue=V),iu(r,Q,ue)}},Qr)}function js(r,s){var d=r.length;if(d)return ds(s+=s<0?d:0,d)?r[s]:m}function pa(r,s,d){s=s.length?xt(s,function(V){return xn(V)?function(Q){return h(Q,1===V.length?V[0]:V)}:V}):[vr];var v=-1;return s=xt(s,ei(gn())),function Hi(he,We){var Ne=he.length;for(he.sort(We);Ne--;)he[Ne]=he[Ne].value;return he}(io(r,function(V,Q,ue){return{criteria:xt(s,function(Xe){return Xe(V)}),index:++v,value:V}}),function(V,Q){return function wc(r,s,d){for(var v=-1,O=r.criteria,V=s.criteria,Q=O.length,ue=d.length;++v<Q;){var ye=hu(O[v],V[v]);if(ye)return v>=ue?ye:ye*("desc"==d[v]?-1:1)}return r.index-s.index}(V,Q,d)})}function ln(r,s,d){for(var v=-1,O=s.length,V={};++v<O;){var Q=s[v],ue=h(r,Q);d(ue,Q)&&Lr(V,cs(Q,r),ue)}return V}function Wn(r,s,d,v){var O=v?R:y,V=-1,Q=s.length,ue=r;for(r===s&&(s=bi(s)),d&&(ue=xt(r,ei(d)));++V<Q;)for(var ye=0,Xe=s[V],tt=d?d(Xe):Xe;(ye=O(ue,tt,ye,v))>-1;)ue!==r&&vl.call(ue,ye,1),vl.call(r,ye,1);return r}function br(r,s){for(var d=r?s.length:0,v=d-1;d--;){var O=s[d];if(d==v||O!==V){var V=O;ds(O)?vl.call(r,O,1):uu(r,O)}}return r}function hi(r,s){return r+Os(Xl()*(s-r+1))}function qi(r,s){var d="";if(!r||s<1||s>Nn)return d;do{s%2&&(d+=r),(s=Os(s/2))&&(r+=r)}while(s);return d}function Jt(r,s){return Tu(Ic(r,s,vr),r+"")}function xl(r){return ni(tl(r))}function mc(r,s){var d=tl(r);return Za(d,Vs(s,0,d.length))}function Lr(r,s,d,v){if(!Er(r))return r;for(var O=-1,V=(s=cs(s,r)).length,Q=V-1,ue=r;null!=ue&&++O<V;){var ye=zo(s[O]),Xe=d;if("__proto__"===ye||"constructor"===ye||"prototype"===ye)return r;if(O!=Q){var tt=ue[ye];(Xe=v?v(tt,ye,ue):m)===m&&(Xe=Er(tt)?tt:ds(s[O+1])?[]:{})}Ls(ue,ye,Xe),ue=ue[ye]}return r}var Vo=Ns?function(r,s){return Ns.set(r,s),r}:vr,Bo=Cl?function(r,s){return Cl(r,"toString",{configurable:!0,enumerable:!1,value:Da(s),writable:!0})}:vr;function us(r){return Za(tl(r))}function Pr(r,s,d){var v=-1,O=r.length;s<0&&(s=-s>O?0:O+s),(d=d>O?O:d)<0&&(d+=O),O=s>d?0:d-s>>>0,s>>>=0;for(var V=Ne(O);++v<O;)V[v]=r[v+s];return V}function Al(r,s){var d;return ro(r,function(v,O,V){return!(d=s(v,O,V))}),!!d}function lu(r,s,d){var v=0,O=null==r?v:r.length;if("number"==typeof s&&s==s&&O<=2147483647){for(;v<O;){var V=v+O>>>1,Q=r[V];null!==Q&&!Mi(Q)&&(d?Q<=s:Q<s)?v=V+1:O=V}return O}return zd(r,s,vr,d)}function zd(r,s,d,v){var O=0,V=null==r?0:r.length;if(0===V)return 0;for(var Q=(s=d(s))!=s,ue=null===s,ye=Mi(s),Xe=s===m;O<V;){var tt=Os((O+V)/2),dt=d(r[tt]),kt=dt!==m,on=null===dt,yn=dt==dt,Ln=Mi(dt);if(Q)var vn=v||yn;else vn=Xe?yn&&(v||kt):ue?yn&&kt&&(v||!on):ye?yn&&kt&&!on&&(v||!Ln):!on&&!Ln&&(v?dt<=s:dt<s);vn?O=tt+1:V=tt}return Hr(V,4294967294)}function ep(r,s){for(var d=-1,v=r.length,O=0,V=[];++d<v;){var Q=r[d],ue=s?s(Q):Q;if(!d||!ao(ue,ye)){var ye=ue;V[O++]=0===Q?0:Q}}return V}function tp(r){return"number"==typeof r?r:Mi(r)?NaN:+r}function oo(r){if("string"==typeof r)return r;if(xn(r))return xt(r,oo)+"";if(Mi(r))return Fs?Fs.call(r):"";var s=r+"";return"0"==s&&1/r==-In?"-0":s}function ga(r,s,d){var v=-1,O=Gn,V=r.length,Q=!0,ue=[],ye=ue;if(d)Q=!1,O=rr;else if(V>=200){var Xe=s?null:Qd(r);if(Xe)return pl(Xe);Q=!1,O=Ms,ye=new ko}else ye=s?[]:ue;e:for(;++v<V;){var tt=r[v],dt=s?s(tt):tt;if(tt=d||0!==tt?tt:0,Q&&dt==dt){for(var kt=ye.length;kt--;)if(ye[kt]===dt)continue e;s&&ye.push(dt),ue.push(tt)}else O(ye,dt,d)||(ye!==ue&&ye.push(dt),ue.push(tt))}return ue}function uu(r,s){return null==(r=Ya(r,s=cs(s,r)))||delete r[zo(Ei(s))]}function Wd(r,s,d,v){return Lr(r,s,d(h(r,s)),v)}function cu(r,s,d,v){for(var O=r.length,V=v?O:-1;(v?V--:++V<O)&&s(r[V],V,r););return d?Pr(r,v?0:V,v?V+1:O):Pr(r,v?V+1:0,v?O:V)}function qd(r,s){var d=r;return d instanceof Fn&&(d=d.value()),tr(s,function(v,O){return O.func.apply(O.thisArg,Rn([v],O.args))},d)}function _c(r,s,d){var v=r.length;if(v<2)return v?ga(r[0]):[];for(var O=-1,V=Ne(v);++O<v;)for(var Q=r[O],ue=-1;++ue<v;)ue!=O&&(V[O]=Bs(V[O]||Q,r[ue],s,d));return ga(Zr(V,1),s,d)}function np(r,s,d){for(var v=-1,O=r.length,V=s.length,Q={};++v<O;)d(Q,r[v],v<V?s[v]:m);return Q}function yc(r){return Vr(r)?r:[]}function Ga(r){return"function"==typeof r?r:vr}function cs(r,s){return xn(r)?r:Pc(r,s)?[r]:Nc(ir(r))}var Ho=Jt;function so(r,s,d){var v=r.length;return d=d===m?v:d,!s&&d>=v?r:Pr(r,s,d)}var vc=Gh||function(r){return xr.clearTimeout(r)};function Cc(r,s){if(s)return r.slice();var d=r.length,v=Ql?Ql(d):new r.constructor(d);return r.copy(v),v}function du(r){var s=new r.constructor(r.byteLength);return new aa(s).set(new aa(r)),s}function fu(r,s){var d=s?du(r.buffer):r.buffer;return new r.constructor(d,r.byteOffset,r.length)}function hu(r,s){if(r!==s){var d=r!==m,v=null===r,O=r==r,V=Mi(r),Q=s!==m,ue=null===s,ye=s==s,Xe=Mi(s);if(!ue&&!Xe&&!V&&r>s||V&&Q&&ye&&!ue&&!Xe||v&&Q&&ye||!d&&ye||!O)return 1;if(!v&&!V&&!Xe&&r<s||Xe&&d&&O&&!v&&!V||ue&&d&&O||!Q&&O||!ye)return-1}return 0}function rp(r,s,d,v){for(var O=-1,V=r.length,Q=d.length,ue=-1,ye=s.length,Xe=gr(V-Q,0),tt=Ne(ye+Xe),dt=!v;++ue<ye;)tt[ue]=s[ue];for(;++O<Q;)(dt||O<V)&&(tt[d[O]]=r[O]);for(;Xe--;)tt[ue++]=r[O++];return tt}function ip(r,s,d,v){for(var O=-1,V=r.length,Q=-1,ue=d.length,ye=-1,Xe=s.length,tt=gr(V-ue,0),dt=Ne(tt+Xe),kt=!v;++O<tt;)dt[O]=r[O];for(var on=O;++ye<Xe;)dt[on+ye]=s[ye];for(;++Q<ue;)(kt||O<V)&&(dt[on+d[Q]]=r[O++]);return dt}function bi(r,s){var d=-1,v=r.length;for(s||(s=Ne(v));++d<v;)s[d]=r[d];return s}function jo(r,s,d,v){var O=!d;d||(d={});for(var V=-1,Q=s.length;++V<Q;){var ue=s[V],ye=v?v(d[ue],r[ue],ue,d,r):m;ye===m&&(ye=r[ue]),O?go(d,ue,ye):Ls(d,ue,ye)}return d}function pu(r,s){return function(d,v){var O=xn(d)?fe:Ml,V=s?s():{};return O(d,r,gn(v,2),V)}}function ma(r){return Jt(function(s,d){var v=-1,O=d.length,V=O>1?d[O-1]:m,Q=O>2?d[2]:m;for(V=r.length>3&&"function"==typeof V?(O--,V):m,Q&&Di(d[0],d[1],Q)&&(V=O<3?m:V,O=1),s=or(s);++v<O;){var ue=d[v];ue&&r(s,ue,v,V)}return s})}function Il(r,s){return function(d,v){if(null==d)return d;if(!Ri(d))return r(d,v);for(var O=d.length,V=s?O:-1,Q=or(d);(s?V--:++V<O)&&!1!==v(Q[V],V,Q););return d}}function Yd(r){return function(s,d,v){for(var O=-1,V=or(s),Q=v(s),ue=Q.length;ue--;){var ye=Q[r?ue:++O];if(!1===d(V[ye],ye,V))break}return s}}function Zd(r){return function(s){var d=ji(s=ir(s))?qr(s):m,v=d?d[0]:s.charAt(0),O=d?so(d,1).join(""):s.slice(1);return v[r]()+O}}function yr(r){return function(s){return tr(rl(Pg(s).replace(ws,"")),r,"")}}function za(r){return function(){var s=arguments;switch(s.length){case 0:return new r;case 1:return new r(s[0]);case 2:return new r(s[0],s[1]);case 3:return new r(s[0],s[1],s[2]);case 4:return new r(s[0],s[1],s[2],s[3]);case 5:return new r(s[0],s[1],s[2],s[3],s[4]);case 6:return new r(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new r(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=Yr(r.prototype),v=r.apply(d,s);return Er(v)?v:d}}function gu(r){return function(s,d,v){var O=or(s);if(!Ri(s)){var V=gn(d,3);s=Kr(s),d=function(ue){return V(O[ue],ue,O)}}var Q=r(s,d,v);return Q>-1?O[V?s[Q]:Q]:m}}function Dc(r){return Uo(function(s){var d=s.length,v=d,O=hr.prototype.thru;for(r&&s.reverse();v--;){var V=s[v];if("function"!=typeof V)throw new Oi(z);if(O&&!Q&&"wrapper"==wu(V))var Q=new hr([],!0)}for(v=Q?v:d;++v<d;){var ue=wu(V=s[v]),ye="wrapper"==ue?Sc(V):m;Q=ye&&Gs(ye[0])&&424==ye[1]&&!ye[4].length&&1==ye[9]?Q[wu(ye[0])].apply(Q,ye[3]):1==V.length&&Gs(V)?Q[ue]():Q.thru(V)}return function(){var Xe=arguments,tt=Xe[0];if(Q&&1==Xe.length&&xn(tt))return Q.plant(tt).value();for(var dt=0,kt=d?s[dt].apply(this,Xe):tt;++dt<d;)kt=s[dt].call(this,kt);return kt}})}function mu(r,s,d,v,O,V,Q,ue,ye,Xe){var tt=128&s,dt=1&s,kt=2&s,on=24&s,yn=512&s,Ln=kt?m:za(r);return function vn(){for(var Bn=arguments.length,Zn=Ne(Bn),Li=Bn;Li--;)Zn[Li]=arguments[Li];if(on)var yi=$s(vn),Ti=lt(Zn,yi);if(v&&(Zn=rp(Zn,v,O,on)),V&&(Zn=ip(Zn,V,Q,on)),Bn-=Ti,on&&Bn<Xe){var $r=Io(Zn,yi);return gi(r,s,mu,vn.placeholder,d,Zn,$r,ue,ye,Xe-Bn)}var Zi=dt?d:this,_s=kt?Zi[r]:r;return Bn=Zn.length,ue?Zn=sf(Zn,ue):yn&&Bn>1&&Zn.reverse(),tt&&ye<Bn&&(Zn.length=ye),this&&this!==xr&&this instanceof vn&&(_s=Ln||za(_s)),_s.apply(Zi,Zn)}}function Kd(r,s){return function(d,v){return function ge(r,s,d,v){return _o(r,function(O,V,Q){s(v,d(O),V,Q)}),v}(d,r,s(v),{})}}function _u(r,s){return function(d,v){var O;if(d===m&&v===m)return s;if(d!==m&&(O=d),v!==m){if(O===m)return v;"string"==typeof d||"string"==typeof v?(d=oo(d),v=oo(v)):(d=tp(d),v=tp(v)),O=r(d,v)}return O}}function Ec(r){return Uo(function(s){return s=xt(s,ei(gn())),Jt(function(d){var v=this;return r(s,function(O){return B(O,v,d)})})})}function yu(r,s){var d=(s=s===m?" ":oo(s)).length;if(d<2)return d?qi(s,r):s;var v=qi(s,ca(r/es(s)));return ji(s)?so(qr(v),0,r).join(""):v.slice(0,r)}function lp(r){return function(s,d,v){return v&&"number"!=typeof v&&Di(s,d,v)&&(d=v=m),s=qo(s),d===m?(d=s,s=0):d=qo(d),function pi(r,s,d,v){for(var O=-1,V=gr(ca((s-r)/(d||1)),0),Q=Ne(V);V--;)Q[v?V:++O]=r,r+=d;return Q}(s,d,v=v===m?s<d?1:-1:qo(v),r)}}function Us(r){return function(s,d){return"string"==typeof s&&"string"==typeof d||(s=ki(s),d=ki(d)),r(s,d)}}function gi(r,s,d,v,O,V,Q,ue,ye,Xe){var tt=8&s;s|=tt?32:64,4&(s&=~(tt?64:32))||(s&=-4);var Ln=[r,s,O,tt?V:m,tt?Q:m,tt?m:V,tt?m:Q,ue,ye,Xe],vn=d.apply(m,Ln);return Gs(r)&&Mu(vn,Ln),vn.placeholder=v,Cp(vn,r,s)}function Nl(r){var s=Ar[r];return function(d,v){if(d=ki(d),(v=null==v?0:Hr(kn(v),292))&&wl(d)){var O=(ir(d)+"e").split("e");return+((O=(ir(s(O[0]+"e"+(+O[1]+v)))+"e").split("e"))[0]+"e"+(+O[1]-v))}return s(d)}}var Qd=ns&&1/pl(new ns([,-0]))[1]==In?function(r){return new ns(r)}:Ks;function Mc(r){return function(s){var d=mi(s);return d==ct?sa(s):d==ee?function Aa(he){var We=-1,Ne=Array(he.size);return he.forEach(function($t){Ne[++We]=[$t,$t]}),Ne}(s):function $l(he,We){return xt(We,function(Ne){return[Ne,he[Ne]]})}(s,r(s))}}function Dr(r,s,d,v,O,V,Q,ue){var ye=2&s;if(!ye&&"function"!=typeof r)throw new Oi(z);var Xe=v?v.length:0;if(Xe||(s&=-97,v=O=m),Q=Q===m?Q:gr(kn(Q),0),ue=ue===m?ue:kn(ue),Xe-=O?O.length:0,64&s){var tt=v,dt=O;v=O=m}var kt=ye?m:Sc(r),on=[r,s,d,v,O,tt,dt,V,Q,ue];if(kt&&function xc(r,s){var d=r[1],v=s[1],O=d|v;if(!(O<131||(128==v&&8==d||128==v&&256==d&&r[7].length<=s[8]||384==v&&s[7].length<=s[8]&&8==d)))return r;1&v&&(r[2]=s[2],O|=1&d?0:4);var ue=s[3];if(ue){var ye=r[3];r[3]=ye?rp(ye,ue,s[4]):ue,r[4]=ye?Io(r[3],L):s[4]}(ue=s[5])&&(r[5]=(ye=r[5])?ip(ye,ue,s[6]):ue,r[6]=ye?Io(r[5],L):s[6]),(ue=s[7])&&(r[7]=ue),128&v&&(r[8]=null==r[8]?s[8]:Hr(r[8],s[8])),null==r[9]&&(r[9]=s[9]),r[0]=s[0],r[1]=O}(on,kt),r=on[0],s=on[1],d=on[2],v=on[3],O=on[4],!(ue=on[9]=on[9]===m?ye?0:r.length:gr(on[9]-Xe,0))&&24&s&&(s&=-25),s&&1!=s)yn=8==s||16==s?function ap(r,s,d){var v=za(r);return function O(){for(var V=arguments.length,Q=Ne(V),ue=V,ye=$s(O);ue--;)Q[ue]=arguments[ue];var Xe=V<3&&Q[0]!==ye&&Q[V-1]!==ye?[]:Io(Q,ye);return(V-=Xe.length)<d?gi(r,s,mu,O.placeholder,m,Q,Xe,m,m,d-V):B(this&&this!==xr&&this instanceof O?v:r,this,Q)}}(r,s,ue):32!=s&&33!=s||O.length?mu.apply(m,on):function a_(r,s,d,v){var O=1&s,V=za(r);return function Q(){for(var ue=-1,ye=arguments.length,Xe=-1,tt=v.length,dt=Ne(tt+ye),kt=this&&this!==xr&&this instanceof Q?V:r;++Xe<tt;)dt[Xe]=v[Xe];for(;ye--;)dt[Xe++]=arguments[++ue];return B(kt,O?d:this,dt)}}(r,s,d,v);else var yn=function bc(r,s,d){var v=1&s,O=za(r);return function V(){return(this&&this!==xr&&this instanceof V?O:r).apply(v?d:this,arguments)}}(r,s,d);return Cp((kt?Vo:Mu)(yn,on),r,s)}function Wa(r,s,d,v){return r===m||ao(r,wi[d])&&!nr.call(v,d)?s:r}function vu(r,s,d,v,O,V){return Er(r)&&Er(s)&&(V.set(s,r),Lo(r,s,m,vu,V),V.delete(s)),r}function up(r){return Bu(r)?m:r}function Jd(r,s,d,v,O,V){var Q=1&d,ue=r.length,ye=s.length;if(ue!=ye&&!(Q&&ye>ue))return!1;var Xe=V.get(r),tt=V.get(s);if(Xe&&tt)return Xe==s&&tt==r;var dt=-1,kt=!0,on=2&d?new ko:m;for(V.set(r,s),V.set(s,r);++dt<ue;){var yn=r[dt],Ln=s[dt];if(v)var vn=Q?v(Ln,yn,dt,s,r,V):v(yn,Ln,dt,r,s,V);if(vn!==m){if(vn)continue;kt=!1;break}if(on){if(!Pi(s,function(Bn,Zn){if(!Ms(on,Zn)&&(yn===Bn||O(yn,Bn,d,v,V)))return on.push(Zn)})){kt=!1;break}}else if(yn!==Ln&&!O(yn,Ln,d,v,V)){kt=!1;break}}return V.delete(r),V.delete(s),kt}function Uo(r){return Tu(Ic(r,m,Lc),r+"")}function Tc(r){return c(r,Kr,qa)}function Cu(r){return c(r,Qr,ef)}var Sc=Ns?function(r){return Ns.get(r)}:Ks;function wu(r){for(var s=r.name+"",d=da[s],v=nr.call(da,s)?d.length:0;v--;){var O=d[v],V=O.func;if(null==V||V==r)return O.name}return s}function $s(r){return(nr.call(k,"placeholder")?k:r).placeholder}function gn(){var r=k.iteratee||Bl;return r=r===Bl?Wi:r,arguments.length?r(arguments[0],arguments[1]):r}function bu(r,s){var d=r.__data__;return function _p(r){var s=typeof r;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==r:null===r}(s)?d["string"==typeof s?"string":"hash"]:d.map}function Fl(r){for(var s=Kr(r),d=s.length;d--;){var v=s[d],O=r[v];s[d]=[v,O,Oc(O)]}return s}function _a(r,s){var d=function Wl(he,We){return null==he?m:he[We]}(r,s);return Sr(d)?d:m}var qa=xs?function(r){return null==r?[]:(r=or(r),Hn(xs(r),function(s){return oc.call(r,s)}))}:Yu,ef=xs?function(r){for(var s=[];r;)Rn(s,qa(r)),r=$i(r);return s}:Yu,mi=a;function tf(r,s,d){for(var v=-1,O=(s=cs(s,r)).length,V=!1;++v<O;){var Q=zo(s[v]);if(!(V=null!=r&&d(r,Q)))break;r=r[Q]}return V||++v!=O?V:!!(O=null==r?0:r.length)&&Vu(O)&&ds(Q,O)&&(xn(r)||Ca(r))}function rf(r){return"function"!=typeof r.constructor||Du(r)?{}:Yr($i(r))}function mp(r){return xn(r)||Ca(r)||!!(ua&&r&&r[ua])}function ds(r,s){var d=typeof r;return!!(s=s??Nn)&&("number"==d||"symbol"!=d&&at.test(r))&&r>-1&&r%1==0&&r<s}function Di(r,s,d){if(!Er(d))return!1;var v=typeof s;return!!("number"==v?Ri(d)&&ds(s,d.length):"string"==v&&s in d)&&ao(d[s],r)}function Pc(r,s){if(xn(r))return!1;var d=typeof r;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=r&&!Mi(r))||Wt.test(r)||!At.test(r)||null!=s&&r in or(s)}function Gs(r){var s=wu(r),d=k[s];if("function"!=typeof d||!(s in Fn.prototype))return!1;if(r===d)return!0;var v=Sc(d);return!!v&&r===v[0]}(bl&&mi(new bl(new ArrayBuffer(1)))!=Ue||Va&&mi(new Va)!=ct||Is&&mi(Is.resolve())!=Mr||ns&&mi(new ns)!=ee||rs&&mi(new rs)!=Re)&&(mi=function(r){var s=a(r),d=s==Rt?r.constructor:m,v=d?fs(d):"";if(v)switch(v){case ac:return Ue;case lc:return ct;case uc:return Mr;case cc:return ee;case dc:return Re}return s});var l_=fr?gs:Zu;function Du(r){var s=r&&r.constructor;return r===("function"==typeof s&&s.prototype||wi)}function Oc(r){return r==r&&!Er(r)}function yp(r,s){return function(d){return null!=d&&d[r]===s&&(s!==m||r in or(d))}}function Ic(r,s,d){return s=gr(s===m?r.length-1:s,0),function(){for(var v=arguments,O=-1,V=gr(v.length-s,0),Q=Ne(V);++O<V;)Q[O]=v[s+O];O=-1;for(var ue=Ne(s+1);++O<s;)ue[O]=v[O];return ue[s]=d(Q),B(r,this,ue)}}function Ya(r,s){return s.length<2?r:h(r,Pr(s,0,-1))}function sf(r,s){for(var d=r.length,v=Hr(s.length,d),O=bi(r);v--;){var V=s[v];r[v]=ds(V,d)?O[V]:m}return r}function Eu(r,s){if(("constructor"!==s||"function"!=typeof r[s])&&"__proto__"!=s)return r[s]}var Mu=va(Vo),ya=ka||function(r,s){return xr.setTimeout(r,s)},Tu=va(Bo);function Cp(r,s,d){var v=s+"";return Tu(r,function gp(r,s){var d=s.length;if(!d)return r;var v=d-1;return s[v]=(d>1?"& ":"")+s[v],s=s.join(d>2?", ":" "),r.replace(Ce,"{\n/* [wrapped with "+s+"] */\n")}(v,function wp(r,s){return ke(Dn,function(d){var v="_."+d[0];s&d[1]&&!Gn(r,v)&&r.push(v)}),r.sort()}(function hp(r){var s=r.match(rt);return s?s[1].split(mt):[]}(v),d)))}function va(r){var s=0,d=0;return function(){var v=La(),O=16-(v-d);if(d=v,O>0){if(++s>=800)return arguments[0]}else s=0;return r.apply(m,arguments)}}function Za(r,s){var d=-1,v=r.length,O=v-1;for(s=s===m?v:s;++d<s;){var V=hi(d,O),Q=r[V];r[V]=r[d],r[d]=Q}return r.length=s,r}var Nc=function Go(r){var s=ku(r,function(v){return 500===d.size&&d.clear(),v}),d=s.cache;return s}(function(r){var s=[];return 46===r.charCodeAt(0)&&s.push(""),r.replace(pe,function(d,v,O,V){s.push(O?V.replace(be,"$1"):v||d)}),s});function zo(r){if("string"==typeof r||Mi(r))return r;var s=r+"";return"0"==s&&1/r==-In?"-0":s}function fs(r){if(null!=r){try{return Ra.call(r)}catch{}try{return r+""}catch{}}return""}function af(r){if(r instanceof Fn)return r.clone();var s=new hr(r.__wrapped__,r.__chain__);return s.__actions__=bi(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}var Mp=Jt(function(r,s){return Vr(r)?Bs(r,Zr(s,1,Vr,!0)):[]}),lf=Jt(function(r,s){var d=Ei(s);return Vr(d)&&(d=m),Vr(r)?Bs(r,Zr(s,1,Vr,!0),gn(d,2)):[]}),Fc=Jt(function(r,s){var d=Ei(s);return Vr(d)&&(d=m),Vr(r)?Bs(r,Zr(s,1,Vr,!0),m,d):[]});function kc(r,s,d){var v=null==r?0:r.length;if(!v)return-1;var O=null==d?0:kn(d);return O<0&&(O=gr(v+O,0)),C(r,gn(s,3),O)}function zs(r,s,d){var v=null==r?0:r.length;if(!v)return-1;var O=v-1;return d!==m&&(O=kn(d),O=d<0?gr(v+O,0):Hr(O,v-1)),C(r,gn(s,3),O,!0)}function Lc(r){return null!=r&&r.length?Zr(r,1):[]}function ff(r){return r&&r.length?r[0]:m}var gf=Jt(function(r){var s=xt(r,yc);return s.length&&s[0]===r[0]?J(s):[]}),Vc=Jt(function(r){var s=Ei(r),d=xt(r,yc);return s===Ei(d)?s=m:d.pop(),d.length&&d[0]===r[0]?J(d,gn(s,2)):[]}),mf=Jt(function(r){var s=Ei(r),d=xt(r,yc);return(s="function"==typeof s?s:m)&&d.pop(),d.length&&d[0]===r[0]?J(d,m,s):[]});function Ei(r){var s=null==r?0:r.length;return s?r[s-1]:m}var yf=Jt(Ou);function Ou(r,s){return r&&r.length&&s&&s.length?Wn(r,s):r}var vf=Uo(function(r,s){var d=null==r?0:r.length,v=ou(r,s);return br(r,xt(s,function(O){return ds(O,d)?+O:O}).sort(hu)),v});function Hc(r){return null==r?r:eu.call(r)}var Lp=Jt(function(r){return ga(Zr(r,1,Vr,!0))}),Vp=Jt(function(r){var s=Ei(r);return Vr(s)&&(s=m),ga(Zr(r,1,Vr,!0),gn(s,2))}),Mf=Jt(function(r){var s=Ei(r);return s="function"==typeof s?s:m,ga(Zr(r,1,Vr,!0),m,s)});function En(r){if(!r||!r.length)return[];var s=0;return r=Hn(r,function(d){if(Vr(d))return s=gr(d.length,s),!0}),Xo(s,function(d){return xt(r,dr(d))})}function Uc(r,s){if(!r||!r.length)return[];var d=En(r);return null==s?d:xt(d,function(v){return B(s,m,v)})}var Tf=Jt(function(r,s){return Vr(r)?Bs(r,s):[]}),Sf=Jt(function(r){return _c(Hn(r,Vr))}),xu=Jt(function(r){var s=Ei(r);return Vr(s)&&(s=m),_c(Hn(r,Vr),gn(s,2))}),Co=Jt(function(r){var s=Ei(r);return s="function"==typeof s?s:m,_c(Hn(r,Vr),m,s)}),Pf=Jt(En),hs=Jt(function(r){var s=r.length,d=s>1?r[s-1]:m;return d="function"==typeof d?(r.pop(),d):m,Uc(r,d)});function Au(r){var s=k(r);return s.__chain__=!0,s}function Ka(r,s){return s(r)}var c_=Uo(function(r){var s=r.length,d=s?r[0]:0,v=this.__wrapped__,O=function(V){return ou(V,r)};return!(s>1||this.__actions__.length)&&v instanceof Fn&&ds(d)?((v=v.slice(d,+d+(s?1:0))).__actions__.push({func:Ka,args:[O],thisArg:m}),new hr(v,this.__chain__).thru(function(V){return s&&!V.length&&V.push(m),V})):this.thru(O)}),f_=pu(function(r,s,d){nr.call(r,d)?++r[d]:go(r,d,1)}),zp=gu(kc),Wp=gu(zs);function Yp(r,s){return(xn(r)?ke:ro)(r,gn(s,3))}function qc(r,s){return(xn(r)?Ct:au)(r,gn(s,3))}var If=pu(function(r,s,d){nr.call(r,d)?r[d].push(s):go(r,d,[s])}),Yc=Jt(function(r,s,d){var v=-1,O="function"==typeof s,V=Ri(r)?Ne(r.length):[];return ro(r,function(Q){V[++v]=O?B(s,Q,d):$e(Q,s,d)}),V}),p_=pu(function(r,s,d){go(r,d,s)});function Zc(r,s){return(xn(r)?xt:io)(r,gn(s,3))}var m_=pu(function(r,s,d){r[d?0:1].push(s)},function(){return[[],[]]}),Kp=Jt(function(r,s){if(null==r)return[];var d=s.length;return d>1&&Di(r,s[0],s[1])?s=[]:d>2&&Di(s[0],s[1],s[2])&&(s=[s[0]]),pa(r,Zr(s,1),[])}),kl=zh||function(){return xr.Date.now()};function Jc(r,s,d){return s=d?m:s,Dr(r,128,m,m,m,m,s=r&&null==s?r.length:s)}function Fu(r,s){var d;if("function"!=typeof s)throw new Oi(z);return r=kn(r),function(){return--r>0&&(d=s.apply(this,arguments)),r<=1&&(s=m),d}}var Xc=Jt(function(r,s,d){var v=1;if(d.length){var O=Io(d,$s(Xc));v|=32}return Dr(r,v,s,d,O)}),ps=Jt(function(r,s,d){var v=3;if(d.length){var O=Io(d,$s(ps));v|=32}return Dr(s,v,r,d,O)});function Ru(r,s,d){var v,O,V,Q,ue,ye,Xe=0,tt=!1,dt=!1,kt=!0;if("function"!=typeof r)throw new Oi(z);function on($r){var Zi=v,_s=O;return v=O=m,Xe=$r,Q=r.apply(_s,Zi)}function yn($r){return Xe=$r,ue=ya(Bn,s),tt?on($r):Q}function vn($r){var Zi=$r-ye;return ye===m||Zi>=s||Zi<0||dt&&$r-Xe>=V}function Bn(){var $r=kl();if(vn($r))return Zn($r);ue=ya(Bn,function Ln($r){var Yg=s-($r-ye);return dt?Hr(Yg,V-($r-Xe)):Yg}($r))}function Zn($r){return ue=m,kt&&v?on($r):(v=O=m,Q)}function Ti(){var $r=kl(),Zi=vn($r);if(v=arguments,O=this,ye=$r,Zi){if(ue===m)return yn(ye);if(dt)return vc(ue),ue=ya(Bn,s),on(ye)}return ue===m&&(ue=ya(Bn,s)),Q}return s=ki(s)||0,Er(d)&&(tt=!!d.leading,V=(dt="maxWait"in d)?gr(ki(d.maxWait)||0,s):V,kt="trailing"in d?!!d.trailing:kt),Ti.cancel=function Li(){ue!==m&&vc(ue),Xe=0,v=ye=O=ue=m},Ti.flush=function yi(){return ue===m?Q:Zn(kl())},Ti}var Qp=Jt(function(r,s){return su(r,1,s)}),Ff=Jt(function(r,s,d){return su(r,ki(s)||0,d)});function ku(r,s){if("function"!=typeof r||null!=s&&"function"!=typeof s)throw new Oi(z);var d=function(){var v=arguments,O=s?s.apply(this,v):v[0],V=d.cache;if(V.has(O))return V.get(O);var Q=r.apply(this,v);return d.cache=V.set(O,Q)||V,Q};return d.cache=new(ku.Cache||is),d}function qs(r){if("function"!=typeof r)throw new Oi(z);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}ku.Cache=is;var td=Ho(function(r,s){var d=(s=1==s.length&&xn(s[0])?xt(s[0],ei(gn())):xt(Zr(s,1),ei(gn()))).length;return Jt(function(v){for(var O=-1,V=Hr(v.length,d);++O<V;)v[O]=s[O].call(this,v[O]);return B(r,this,v)})}),Ys=Jt(function(r,s){var d=Io(s,$s(Ys));return Dr(r,32,m,s,d)}),Ja=Jt(function(r,s){var d=Io(s,$s(Ja));return Dr(r,64,m,s,d)}),Xa=Uo(function(r,s){return Dr(r,256,m,m,m,s)});function ao(r,s){return r===s||r!=r&&s!=s}var tg=Us(p),Hf=Us(function(r,s){return r>=s}),Ca=Ft(function(){return arguments}())?Ft:function(r){return Ir(r)&&nr.call(r,"callee")&&!oc.call(r,"callee")},xn=Ne.isArray,Yi=xo?ei(xo):function rn(r){return Ir(r)&&a(r)==_t};function Ri(r){return null!=r&&Vu(r.length)&&!gs(r)}function Vr(r){return Ir(r)&&Ri(r)}var wa=Jl||Zu,jf=oa?ei(oa):function bn(r){return Ir(r)&&a(r)==ar};function od(r){if(!Ir(r))return!1;var s=a(r);return s==Ve||"[object DOMException]"==s||"string"==typeof r.message&&"string"==typeof r.name&&!Bu(r)}function gs(r){if(!Er(r))return!1;var s=a(r);return s==ve||s==Pe||"[object AsyncFunction]"==s||"[object Proxy]"==s}function sd(r){return"number"==typeof r&&r==kn(r)}function Vu(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=Nn}function Er(r){var s=typeof r;return null!=r&&("object"==s||"function"==s)}function Ir(r){return null!=r&&"object"==typeof r}var $f=Ao?ei(Ao):function Mn(r){return Ir(r)&&mi(r)==ct};function Wf(r){return"number"==typeof r||Ir(r)&&a(r)==ft}function Bu(r){if(!Ir(r)||a(r)!=Rt)return!1;var s=$i(r);if(null===s)return!0;var d=nr.call(s,"constructor")&&s.constructor;return"function"==typeof d&&d instanceof d&&Ra.call(d)==jd}var Hu=D?ei(D):function Ur(r){return Ir(r)&&a(r)==Un},qf=N?ei(N):function ai(r){return Ir(r)&&mi(r)==ee};function ju(r){return"string"==typeof r||!xn(r)&&Ir(r)&&a(r)==de}function Mi(r){return"symbol"==typeof r||Ir(r)&&a(r)==Ae}var el=E?ei(E):function wr(r){return Ir(r)&&Vu(r.length)&&!!Jn[a(r)]},lg=Us(Fi),ud=Us(function(r,s){return r<=s});function $u(r){if(!r)return[];if(Ri(r))return ju(r)?qr(r):bi(r);if(Ss&&r[Ss])return function xa(he){for(var We,Ne=[];!(We=he.next()).done;)Ne.push(We.value);return Ne}(r[Ss]());var s=mi(r);return(s==ct?sa:s==ee?pl:tl)(r)}function qo(r){return r?(r=ki(r))===In||r===-In?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function kn(r){var s=qo(r),d=s%1;return s==s?d?s-d:s:0}function ug(r){return r?Vs(kn(r),0,Ge):0}function ki(r){if("number"==typeof r)return r;if(Mi(r))return NaN;if(Er(r)){var s="function"==typeof r.valueOf?r.valueOf():r;r=Er(s)?s+"":s}if("string"!=typeof r)return 0===r?r:+r;r=fl(r);var d=Je.test(r);return d||Te.test(r)?ra(r.slice(2),d?2:8):sn.test(r)?NaN:+r}function cg(r){return jo(r,Qr(r))}function ir(r){return null==r?"":oo(r)}var Yf=ma(function(r,s){if(Du(s)||Ri(s))jo(s,Kr(s),r);else for(var d in s)nr.call(s,d)&&Ls(r,d,s[d])}),cd=ma(function(r,s){jo(s,Qr(s),r)}),Ll=ma(function(r,s,d,v){jo(s,Qr(s),r,v)}),Zf=ma(function(r,s,d,v){jo(s,Kr(s),r,v)}),ms=Uo(ou),fg=Jt(function(r,s){r=or(r);var d=-1,v=s.length,O=v>2?s[2]:m;for(O&&Di(s[0],s[1],O)&&(v=1);++d<v;)for(var V=s[d],Q=Qr(V),ue=-1,ye=Q.length;++ue<ye;){var Xe=Q[ue],tt=r[Xe];(tt===m||ao(tt,wi[Xe])&&!nr.call(r,Xe))&&(r[Xe]=V[Xe])}return r}),hg=Jt(function(r){return r.push(m,vu),B(ba,m,r)});function zu(r,s,d){var v=null==r?m:h(r,s);return v===m?d:v}function pd(r,s){return null!=r&&tf(r,s,F)}var gd=Kd(function(r,s,d){null!=s&&"function"!=typeof s.toString&&(s=ml.call(s)),r[s]=d},Da(vr)),gg=Kd(function(r,s,d){null!=s&&"function"!=typeof s.toString&&(s=ml.call(s)),nr.call(r,s)?r[s].push(d):r[s]=[d]},gn),mg=Jt($e);function Kr(r){return Ri(r)?ja(r):Ni(r)}function Qr(r){return Ri(r)?ja(r,!0):function fi(r){if(!Er(r))return function Ac(r){var s=[];if(null!=r)for(var d in or(r))s.push(d);return s}(r);var s=Du(r),d=[];for(var v in r)"constructor"==v&&(s||!nr.call(r,v))||d.push(v);return d}(r)}var yg=ma(function(r,s,d){Lo(r,s,d)}),ba=ma(function(r,s,d,v){Lo(r,s,d,v)}),vg=Uo(function(r,s){var d={};if(null==r)return d;var v=!1;s=xt(s,function(V){return V=cs(V,r),v||(v=V.length>1),V}),jo(r,Cu(r),d),v&&(d=Ii(d,7,up));for(var O=s.length;O--;)uu(d,s[O]);return d}),wg=Uo(function(r,s){return null==r?{}:function Gt(r,s){return ln(r,s,function(d,v){return pd(r,v)})}(r,s)});function eh(r,s){if(null==r)return{};var d=xt(Cu(r),function(v){return[v]});return s=gn(s),ln(r,d,function(v,O){return s(v,O[0])})}var _d=Mc(Kr),yd=Mc(Qr);function tl(r){return null==r?[]:hl(r,Kr(r))}var Tg=yr(function(r,s,d){return s=s.toLowerCase(),r+(d?Sg(s):s)});function Sg(r){return bd(ir(r).toLowerCase())}function Pg(r){return(r=ir(r))&&r.replace(St,zn).replace(Ta,"")}var sh=yr(function(r,s,d){return r+(d?"-":"")+s.toLowerCase()}),P_=yr(function(r,s,d){return r+(d?" ":"")+s.toLowerCase()}),wo=Zd("toLowerCase"),A_=yr(function(r,s,d){return r+(d?"_":"")+s.toLowerCase()}),Cd=yr(function(r,s,d){return r+(d?" ":"")+bd(s)}),nl=yr(function(r,s,d){return r+(d?" ":"")+s.toUpperCase()}),bd=Zd("toUpperCase");function rl(r,s,d){return r=ir(r),(s=d?m:s)===m?function Ci(he){return Qo.test(he)}(r)?function Hd(he){return he.match(bs)||[]}(r):function Cr(he){return he.match(Ze)||[]}(r):r.match(s)||[]}var dh=Jt(function(r,s){try{return B(r,m,s)}catch(d){return od(d)?d:new wn(d)}}),Vg=Uo(function(r,s){return ke(s,function(d){d=zo(d),go(r,d,Xc(r[d],r))}),r});function Da(r){return function(){return r}}var Ea=Dc(),qu=Dc(!0);function vr(r){return r}function Bl(r){return Wi("function"==typeof r?r:Ii(r,1))}var sl=Jt(function(r,s){return function(d){return $e(d,r,s)}}),al=Jt(function(r,s){return function(d){return $e(r,d,s)}});function Zs(r,s,d){var v=Kr(s),O=$a(s,v);null==d&&(!Er(s)||!O.length&&v.length)&&(d=s,s=r,r=this,O=$a(s,Kr(s)));var V=!(Er(d)&&"chain"in d&&!d.chain),Q=gs(r);return ke(O,function(ue){var ye=s[ue];r[ue]=ye,Q&&(r.prototype[ue]=function(){var Xe=this.__chain__;if(V||Xe){var tt=r(this.__wrapped__),dt=tt.__actions__=bi(this.__actions__);return dt.push({func:ye,args:arguments,thisArg:r}),tt.__chain__=Xe,tt}return ye.apply(r,Rn([this.value()],arguments))})}),r}function Ks(){}var cl=Ec(xt),fh=Ec(Yt),hh=Ec(Pi);function Ed(r){return Pc(r)?dr(zo(r)):function _n(r){return function(s){return h(s,r)}}(r)}var gh=lp(),mh=lp(!0);function Yu(){return[]}function Zu(){return!1}var jg=_u(function(r,s){return r+s},0),Ug=Nl("ceil"),wh=_u(function(r,s){return r/s},1),$g=Nl("floor"),Td=_u(function(r,s){return r*s},1),qg=Nl("round"),N_=_u(function(r,s){return r-s},0);return k.after=function Qc(r,s){if("function"!=typeof s)throw new Oi(z);return r=kn(r),function(){if(--r<1)return s.apply(this,arguments)}},k.ary=Jc,k.assign=Yf,k.assignIn=cd,k.assignInWith=Ll,k.assignWith=Zf,k.at=ms,k.before=Fu,k.bind=Xc,k.bindAll=Vg,k.bindKey=ps,k.castArray=function Lf(){if(!arguments.length)return[];var r=arguments[0];return xn(r)?r:[r]},k.chain=Au,k.chunk=function bp(r,s,d){s=(d?Di(r,s,d):s===m)?1:gr(kn(s),0);var v=null==r?0:r.length;if(!v||s<1)return[];for(var O=0,V=0,Q=Ne(ca(v/s));O<v;)Q[V++]=Pr(r,O,O+=s);return Q},k.compact=function Dp(r){for(var s=-1,d=null==r?0:r.length,v=0,O=[];++s<d;){var V=r[s];V&&(O[v++]=V)}return O},k.concat=function Ep(){var r=arguments.length;if(!r)return[];for(var s=Ne(r-1),d=arguments[0],v=r;v--;)s[v-1]=arguments[v];return Rn(xn(d)?bi(d):[d],Zr(s,1))},k.cond=function Dd(r){var s=null==r?0:r.length,d=gn();return r=s?xt(r,function(v){if("function"!=typeof v[1])throw new Oi(z);return[d(v[0]),v[1]]}):[],Jt(function(v){for(var O=-1;++O<s;){var V=r[O];if(B(V[0],this,v))return B(V[1],this,v)}})},k.conforms=function Zo(r){return function pc(r){var s=Kr(r);return function(d){return gc(d,r,s)}}(Ii(r,1))},k.constant=Da,k.countBy=f_,k.create=function Gu(r,s){var d=Yr(r);return null==s?d:ss(d,s)},k.curry=function ed(r,s,d){var v=Dr(r,8,m,m,m,m,m,s=d?m:s);return v.placeholder=ed.placeholder,v},k.curryRight=function Nf(r,s,d){var v=Dr(r,16,m,m,m,m,m,s=d?m:s);return v.placeholder=Nf.placeholder,v},k.debounce=Ru,k.defaults=fg,k.defaultsDeep=hg,k.defer=Qp,k.delay=Ff,k.difference=Mp,k.differenceBy=lf,k.differenceWith=Fc,k.drop=function uf(r,s,d){var v=null==r?0:r.length;return v?Pr(r,(s=d||s===m?1:kn(s))<0?0:s,v):[]},k.dropRight=function Rc(r,s,d){var v=null==r?0:r.length;return v?Pr(r,0,(s=v-(s=d||s===m?1:kn(s)))<0?0:s):[]},k.dropRightWhile=function Tp(r,s){return r&&r.length?cu(r,gn(s,3),!0,!0):[]},k.dropWhile=function Sp(r,s){return r&&r.length?cu(r,gn(s,3),!0):[]},k.fill=function cf(r,s,d,v){var O=null==r?0:r.length;return O?(d&&"number"!=typeof d&&Di(r,s,d)&&(d=0,v=O),function Ua(r,s,d,v){var O=r.length;for((d=kn(d))<0&&(d=-d>O?0:O+d),(v=v===m||v>O?O:kn(v))<0&&(v+=O),v=d>v?0:ug(v);d<v;)r[d++]=s;return r}(r,s,d,v)):[]},k.filter=function Gp(r,s){return(xn(r)?Hn:Tl)(r,gn(s,3))},k.flatMap=function Af(r,s){return Zr(Zc(r,s),1)},k.flatMapDeep=function h_(r,s){return Zr(Zc(r,s),In)},k.flatMapDepth=function qp(r,s,d){return d=d===m?1:kn(d),Zr(Zc(r,s),d)},k.flatten=Lc,k.flattenDeep=function df(r){return null!=r&&r.length?Zr(r,In):[]},k.flattenDepth=function Pp(r,s){return null!=r&&r.length?Zr(r,s=s===m?1:kn(s)):[]},k.flip=function Jp(r){return Dr(r,512)},k.flow=Ea,k.flowRight=qu,k.fromPairs=function Su(r){for(var s=-1,d=null==r?0:r.length,v={};++s<d;){var O=r[s];v[O[0]]=O[1]}return v},k.functions=function hd(r){return null==r?[]:$a(r,Kr(r))},k.functionsIn=function Qf(r){return null==r?[]:$a(r,Qr(r))},k.groupBy=If,k.initial=function pf(r){return null!=r&&r.length?Pr(r,0,-1):[]},k.intersection=gf,k.intersectionBy=Vc,k.intersectionWith=mf,k.invert=gd,k.invertBy=gg,k.invokeMap=Yc,k.iteratee=Bl,k.keyBy=p_,k.keys=Kr,k.keysIn=Qr,k.map=Zc,k.mapKeys=function Xf(r,s){var d={};return s=gn(s,3),_o(r,function(v,O,V){go(d,s(v,O,V),v)}),d},k.mapValues=function _g(r,s){var d={};return s=gn(s,3),_o(r,function(v,O,V){go(d,O,s(v,O,V))}),d},k.matches=function il(r){return yo(Ii(r,1))},k.matchesProperty=function ol(r,s){return Ol(r,Ii(s,1))},k.memoize=ku,k.merge=yg,k.mergeWith=ba,k.method=sl,k.methodOf=al,k.mixin=Zs,k.negate=qs,k.nthArg=function ul(r){return r=kn(r),Jt(function(s){return js(s,r)})},k.omit=vg,k.omitBy=function Cg(r,s){return eh(r,qs(gn(s)))},k.once=function Qa(r){return Fu(2,r)},k.orderBy=function g_(r,s,d,v){return null==r?[]:(xn(s)||(s=null==s?[]:[s]),xn(d=v?m:d)||(d=null==d?[]:[d]),pa(r,s,d))},k.over=cl,k.overArgs=td,k.overEvery=fh,k.overSome=hh,k.partial=Ys,k.partialRight=Ja,k.partition=m_,k.pick=wg,k.pickBy=eh,k.property=Ed,k.propertyOf=function ph(r){return function(s){return null==r?m:h(r,s)}},k.pull=yf,k.pullAll=Ou,k.pullAllBy=function Rl(r,s,d){return r&&r.length&&s&&s.length?Wn(r,s,gn(d,2)):r},k.pullAllWith=function Op(r,s,d){return r&&r.length&&s&&s.length?Wn(r,s,m,d):r},k.pullAt=vf,k.range=gh,k.rangeRight=mh,k.rearg=Xa,k.reject=function v_(r,s){return(xn(r)?Hn:Tl)(r,qs(gn(s,3)))},k.remove=function xp(r,s){var d=[];if(!r||!r.length)return d;var v=-1,O=[],V=r.length;for(s=gn(s,3);++v<V;){var Q=r[v];s(Q,v,r)&&(d.push(Q),O.push(v))}return br(r,O),d},k.rest=function Xp(r,s){if("function"!=typeof r)throw new Oi(z);return Jt(r,s=s===m?s:kn(s))},k.reverse=Hc,k.sampleSize=function w_(r,s,d){return s=(d?Di(r,s,d):s===m)?1:kn(s),(xn(r)?hc:mc)(r,s)},k.set=function md(r,s,d){return null==r?r:Lr(r,s,d)},k.setWith=function th(r,s,d,v){return v="function"==typeof v?v:m,null==r?r:Lr(r,s,d,v)},k.shuffle=function b_(r){return(xn(r)?Gd:us)(r)},k.slice=function Cf(r,s,d){var v=null==r?0:r.length;return v?(d&&"number"!=typeof d&&Di(r,s,d)?(s=0,d=v):(s=null==s?0:kn(s),d=d===m?v:kn(d)),Pr(r,s,d)):[]},k.sortBy=Kp,k.sortedUniq=function Ip(r){return r&&r.length?ep(r):[]},k.sortedUniqBy=function Np(r,s){return r&&r.length?ep(r,gn(s,2)):[]},k.split=function ch(r,s,d){return d&&"number"!=typeof d&&Di(r,s,d)&&(s=d=m),(d=d===m?Ge:d>>>0)?(r=ir(r))&&("string"==typeof s||null!=s&&!Hu(s))&&!(s=oo(s))&&ji(r)?so(qr(r),0,d):r.split(s,d):[]},k.spread=function Rf(r,s){if("function"!=typeof r)throw new Oi(z);return s=null==s?0:gr(kn(s),0),Jt(function(d){var v=d[s],O=so(d,0,s);return v&&Rn(O,v),B(r,this,O)})},k.tail=function vo(r){var s=null==r?0:r.length;return s?Pr(r,1,s):[]},k.take=function Fp(r,s,d){return r&&r.length?Pr(r,0,(s=d||s===m?1:kn(s))<0?0:s):[]},k.takeRight=function Ef(r,s,d){var v=null==r?0:r.length;return v?Pr(r,(s=v-(s=d||s===m?1:kn(s)))<0?0:s,v):[]},k.takeRightWhile=function Rp(r,s){return r&&r.length?cu(r,gn(s,3),!1,!0):[]},k.takeWhile=function kp(r,s){return r&&r.length?cu(r,gn(s,3)):[]},k.tap=function Of(r,s){return s(r),r},k.throttle=function kf(r,s,d){var v=!0,O=!0;if("function"!=typeof r)throw new Oi(z);return Er(d)&&(v="leading"in d?!!d.leading:v,O="trailing"in d?!!d.trailing:O),Ru(r,s,{leading:v,maxWait:s,trailing:O})},k.thru=Ka,k.toArray=$u,k.toPairs=_d,k.toPairsIn=yd,k.toPath=function vh(r){return xn(r)?xt(r,zo):Mi(r)?[r]:bi(Nc(ir(r)))},k.toPlainObject=cg,k.transform=function nh(r,s,d){var v=xn(r),O=v||wa(r)||el(r);if(s=gn(s,4),null==d){var V=r&&r.constructor;d=O?v?new V:[]:Er(r)&&gs(V)?Yr($i(r)):{}}return(O?ke:_o)(r,function(Q,ue,ye){return s(d,Q,ue,ye)}),d},k.unary=function nd(r){return Jc(r,1)},k.union=Lp,k.unionBy=Vp,k.unionWith=Mf,k.uniq=function Bp(r){return r&&r.length?ga(r):[]},k.uniqBy=function Hp(r,s){return r&&r.length?ga(r,gn(s,2)):[]},k.uniqWith=function jp(r,s){return s="function"==typeof s?s:m,r&&r.length?ga(r,m,s):[]},k.unset=function bg(r,s){return null==r||uu(r,s)},k.unzip=En,k.unzipWith=Uc,k.update=function Dg(r,s,d){return null==r?r:Wd(r,s,Ga(d))},k.updateWith=function Eg(r,s,d,v){return v="function"==typeof v?v:m,null==r?r:Wd(r,s,Ga(d),v)},k.values=tl,k.valuesIn=function rh(r){return null==r?[]:hl(r,Qr(r))},k.without=Tf,k.words=rl,k.wrap=function rd(r,s){return Ys(Ga(s),r)},k.xor=Sf,k.xorBy=xu,k.xorWith=Co,k.zip=Pf,k.zipObject=function Up(r,s){return np(r||[],s||[],Ls)},k.zipObjectDeep=function $c(r,s){return np(r||[],s||[],Lr)},k.zipWith=hs,k.entries=_d,k.entriesIn=yd,k.extend=cd,k.extendWith=Ll,Zs(k,k),k.add=jg,k.attempt=dh,k.camelCase=Tg,k.capitalize=Sg,k.ceil=Ug,k.clamp=function S_(r,s,d){return d===m&&(d=s,s=m),d!==m&&(d=(d=ki(d))==d?d:0),s!==m&&(s=(s=ki(s))==s?s:0),Vs(ki(r),s,d)},k.clone=function Lu(r){return Ii(r,4)},k.cloneDeep=function Vf(r){return Ii(r,5)},k.cloneDeepWith=function D_(r,s){return Ii(r,5,s="function"==typeof s?s:m)},k.cloneWith=function eg(r,s){return Ii(r,4,s="function"==typeof s?s:m)},k.conformsTo=function Bf(r,s){return null==s||gc(r,s,Kr(s))},k.deburr=Pg,k.defaultTo=function _i(r,s){return null==r||r!=r?s:r},k.divide=wh,k.endsWith=function vd(r,s,d){r=ir(r),s=oo(s);var v=r.length,O=d=d===m?v:Vs(kn(d),0,v);return(d-=s.length)>=0&&r.slice(d,O)==s},k.eq=ao,k.escape=function Og(r){return(r=ir(r))&&Ot.test(r)?r.replace(Mt,zl):r},k.escapeRegExp=function oh(r){return(r=ir(r))&&M.test(r)?r.replace(P,"\\$&"):r},k.every=function $p(r,s,d){var v=xn(r)?Yt:mo;return d&&Di(r,s,d)&&(s=m),v(r,gn(s,3))},k.find=zp,k.findIndex=kc,k.findKey=function T_(r,s){return w(r,gn(s,3),_o)},k.findLast=Wp,k.findLastIndex=zs,k.findLastKey=function dd(r,s){return w(r,gn(s,3),Hs)},k.floor=$g,k.forEach=Yp,k.forEachRight=qc,k.forIn=function Kf(r,s){return null==r?r:Sl(r,gn(s,3),Qr)},k.forInRight=function fd(r,s){return null==r?r:Pl(r,gn(s,3),Qr)},k.forOwn=function Vl(r,s){return r&&_o(r,gn(s,3))},k.forOwnRight=function pg(r,s){return r&&Hs(r,gn(s,3))},k.get=zu,k.gt=tg,k.gte=Hf,k.has=function Jf(r,s){return null!=r&&tf(r,s,b)},k.hasIn=pd,k.head=ff,k.identity=vr,k.includes=function Zp(r,s,d,v){r=Ri(r)?r:tl(r),d=d&&!v?kn(d):0;var O=r.length;return d<0&&(d=gr(O+d,0)),ju(r)?d<=O&&r.indexOf(s,d)>-1:!!O&&y(r,s,d)>-1},k.indexOf=function hf(r,s,d){var v=null==r?0:r.length;if(!v)return-1;var O=null==d?0:kn(d);return O<0&&(O=gr(v+O,0)),y(r,s,O)},k.inRange=function ih(r,s,d){return s=qo(s),d===m?(d=s,s=0):d=qo(d),function q(r,s,d){return r>=Hr(s,d)&&r<gr(s,d)}(r=ki(r),s,d)},k.invoke=mg,k.isArguments=Ca,k.isArray=xn,k.isArrayBuffer=Yi,k.isArrayLike=Ri,k.isArrayLikeObject=Vr,k.isBoolean=function E_(r){return!0===r||!1===r||Ir(r)&&a(r)==Tn},k.isBuffer=wa,k.isDate=jf,k.isElement=function M_(r){return Ir(r)&&1===r.nodeType&&!Bu(r)},k.isEmpty=function ng(r){if(null==r)return!0;if(Ri(r)&&(xn(r)||"string"==typeof r||"function"==typeof r.splice||wa(r)||el(r)||Ca(r)))return!r.length;var s=mi(r);if(s==ct||s==ee)return!r.size;if(Du(r))return!Ni(r).length;for(var d in r)if(nr.call(r,d))return!1;return!0},k.isEqual=function id(r,s){return On(r,s)},k.isEqualWith=function Uf(r,s,d){var v=(d="function"==typeof d?d:m)?d(r,s):m;return v===m?On(r,s,m,d):!!v},k.isError=od,k.isFinite=function rg(r){return"number"==typeof r&&wl(r)},k.isFunction=gs,k.isInteger=sd,k.isLength=Vu,k.isMap=$f,k.isMatch=function Gf(r,s){return r===s||Yn(r,s,Fl(s))},k.isMatchWith=function zf(r,s,d){return d="function"==typeof d?d:m,Yn(r,s,Fl(s),d)},k.isNaN=function ig(r){return Wf(r)&&r!=+r},k.isNative=function Wo(r){if(l_(r))throw new wn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Sr(r)},k.isNil=function og(r){return null==r},k.isNull=function ad(r){return null===r},k.isNumber=Wf,k.isObject=Er,k.isObjectLike=Ir,k.isPlainObject=Bu,k.isRegExp=Hu,k.isSafeInteger=function sg(r){return sd(r)&&r>=-Nn&&r<=Nn},k.isSet=qf,k.isString=ju,k.isSymbol=Mi,k.isTypedArray=el,k.isUndefined=function ag(r){return r===m},k.isWeakMap=function Uu(r){return Ir(r)&&mi(r)==Re},k.isWeakSet=function ld(r){return Ir(r)&&"[object WeakSet]"==a(r)},k.join=function Pu(r,s){return null==r?"":As.call(r,s)},k.kebabCase=sh,k.last=Ei,k.lastIndexOf=function _f(r,s,d){var v=null==r?0:r.length;if(!v)return-1;var O=v;return d!==m&&(O=(O=kn(d))<0?gr(v+O,0):Hr(O,v-1)),s==s?function ho(he,We,Ne){for(var $t=Ne+1;$t--;)if(he[$t]===We)return $t;return $t}(r,s,O):C(r,ze,O,!0)},k.lowerCase=P_,k.lowerFirst=wo,k.lt=lg,k.lte=ud,k.max=function bh(r){return r&&r.length?as(r,vr,p):m},k.maxBy=function Gg(r,s){return r&&r.length?as(r,gn(s,2),p):m},k.mean=function zg(r){return tn(r,vr)},k.meanBy=function I_(r,s){return tn(r,gn(s,2))},k.min=function Wg(r){return r&&r.length?as(r,vr,Fi):m},k.minBy=function Md(r,s){return r&&r.length?as(r,gn(s,2),Fi):m},k.stubArray=Yu,k.stubFalse=Zu,k.stubObject=function _h(){return{}},k.stubString=function Bg(){return""},k.stubTrue=function yh(){return!0},k.multiply=Td,k.nth=function Bc(r,s){return r&&r.length?js(r,kn(s)):m},k.noConflict=function ll(){return xr._===this&&(xr._=_l),this},k.noop=Ks,k.now=kl,k.pad=function O_(r,s,d){r=ir(r);var v=(s=kn(s))?es(r):0;if(!s||v>=s)return r;var O=(s-v)/2;return yu(Os(O),d)+r+yu(ca(O),d)},k.padEnd=function x_(r,s,d){r=ir(r);var v=(s=kn(s))?es(r):0;return s&&v<s?r+yu(s-v,d):r},k.padStart=function ah(r,s,d){r=ir(r);var v=(s=kn(s))?es(r):0;return s&&v<s?yu(s-v,d)+r:r},k.parseInt=function lh(r,s,d){return d||null==s?s=0:s&&(s=+s),Wh(ir(r).replace(x,""),s||0)},k.random=function Mg(r,s,d){if(d&&"boolean"!=typeof d&&Di(r,s,d)&&(s=d=m),d===m&&("boolean"==typeof s?(d=s,s=m):"boolean"==typeof r&&(d=r,r=m)),r===m&&s===m?(r=0,s=1):(r=qo(r),s===m?(s=r,r=0):s=qo(s)),r>s){var v=r;r=s,s=v}if(d||r%1||s%1){var O=Xl();return Hr(r+O*(s-r+na("1e-"+((O+"").length-1))),s)}return hi(r,s)},k.reduce=function __(r,s,d){var v=xn(r)?tr:oi,O=arguments.length<3;return v(r,gn(s,4),d,O,ro)},k.reduceRight=function y_(r,s,d){var v=xn(r)?Pn:oi,O=arguments.length<3;return v(r,gn(s,4),d,O,au)},k.repeat=function uh(r,s,d){return s=(d?Di(r,s,d):s===m)?1:kn(s),qi(ir(r),s)},k.replace=function xg(){var r=arguments,s=ir(r[0]);return r.length<3?s:s.replace(r[1],r[2])},k.result=function Yo(r,s,d){var v=-1,O=(s=cs(s,r)).length;for(O||(O=1,r=m);++v<O;){var V=null==r?m:r[zo(s[v])];V===m&&(v=O,V=d),r=gs(V)?V.call(r):V}return r},k.round=qg,k.runInContext=he,k.sample=function C_(r){return(xn(r)?ni:xl)(r)},k.size=function Ws(r){if(null==r)return 0;if(Ri(r))return ju(r)?es(r):r.length;var s=mi(r);return s==ct||s==ee?r.size:Ni(r).length},k.snakeCase=A_,k.some=function Kc(r,s,d){var v=xn(r)?Pi:Al;return d&&Di(r,s,d)&&(s=m),v(r,gn(s,3))},k.sortedIndex=function jc(r,s){return lu(r,s)},k.sortedIndexBy=function wf(r,s,d){return zd(r,s,gn(d,2))},k.sortedIndexOf=function u_(r,s){var d=null==r?0:r.length;if(d){var v=lu(r,s);if(v<d&&ao(r[v],s))return v}return-1},k.sortedLastIndex=function bf(r,s){return lu(r,s,!0)},k.sortedLastIndexBy=function Ap(r,s,d){return zd(r,s,gn(d,2),!0)},k.sortedLastIndexOf=function Df(r,s){if(null!=r&&r.length){var v=lu(r,s,!0)-1;if(ao(r[v],s))return v}return-1},k.startCase=Cd,k.startsWith=function Ag(r,s,d){return r=ir(r),d=null==d?0:Vs(kn(d),0,r.length),s=oo(s),r.slice(d,d+s.length)==s},k.subtract=N_,k.sum=function F_(r){return r&&r.length?un(r,vr):0},k.sumBy=function R_(r,s){return r&&r.length?un(r,gn(s,2)):0},k.template=function wd(r,s,d){var v=k.templateSettings;d&&Di(r,s,d)&&(s=m),r=ir(r),s=Ll({},s,v,Wa);var ue,ye,O=Ll({},s.imports,v.imports,Wa),V=Kr(O),Q=hl(O,V),Xe=0,tt=s.interpolate||It,dt="__p += '",kt=Ia((s.escape||It).source+"|"+tt.source+"|"+(tt===vt?jt:It).source+"|"+(s.evaluate||It).source+"|$","g"),on="//# sourceURL="+(nr.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++eo+"]")+"\n";r.replace(kt,function(vn,Bn,Zn,Li,yi,Ti){return Zn||(Zn=Li),dt+=r.slice(Xe,Ti).replace(Pt,kr),Bn&&(ue=!0,dt+="' +\n__e("+Bn+") +\n'"),yi&&(ye=!0,dt+="';\n"+yi+";\n__p += '"),Zn&&(dt+="' +\n((__t = ("+Zn+")) == null ? '' : __t) +\n'"),Xe=Ti+vn.length,vn}),dt+="';\n";var yn=nr.call(s,"variable")&&s.variable;if(yn){if(K.test(yn))throw new wn("Invalid `variable` option passed into `_.template`")}else dt="with (obj) {\n"+dt+"\n}\n";dt=(ye?dt.replace(Be,""):dt).replace(Le,"$1").replace(He,"$1;"),dt="function("+(yn||"obj")+") {\n"+(yn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(ye?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+dt+"return __p\n}";var Ln=dh(function(){return Xn(V,on+"return "+dt).apply(m,Q)});if(Ln.source=dt,od(Ln))throw Ln;return Ln},k.times=function Hg(r,s){if((r=kn(r))<1||r>Nn)return[];var d=Ge,v=Hr(r,Ge);s=gn(s),r-=Ge;for(var O=Xo(v,s);++d<r;)s(d);return O},k.toFinite=qo,k.toInteger=kn,k.toLength=ug,k.toLower=function Ig(r){return ir(r).toLowerCase()},k.toNumber=ki,k.toSafeInteger=function dg(r){return r?Vs(kn(r),-Nn,Nn):0===r?r:0},k.toString=ir,k.toUpper=function Ng(r){return ir(r).toUpperCase()},k.trim=function Fg(r,s,d){if((r=ir(r))&&(d||s===m))return fl(r);if(!r||!(s=oo(s)))return r;var v=qr(r),O=qr(s);return so(v,Oa(v,O),Gl(v,O)+1).join("")},k.trimEnd=function Rg(r,s,d){if((r=ir(r))&&(d||s===m))return r.slice(0,Ui(r)+1);if(!r||!(s=oo(s)))return r;var v=qr(r);return so(v,0,Gl(v,qr(s))+1).join("")},k.trimStart=function kg(r,s,d){if((r=ir(r))&&(d||s===m))return r.replace(x,"");if(!r||!(s=oo(s)))return r;var v=qr(r);return so(v,Oa(v,qr(s))).join("")},k.truncate=function Lg(r,s){var d=30,v="...";if(Er(s)){var O="separator"in s?s.separator:O;d="length"in s?kn(s.length):d,v="omission"in s?oo(s.omission):v}var V=(r=ir(r)).length;if(ji(r)){var Q=qr(r);V=Q.length}if(d>=V)return r;var ue=d-es(v);if(ue<1)return v;var ye=Q?so(Q,0,ue).join(""):r.slice(0,ue);if(O===m)return ye+v;if(Q&&(ue+=ye.length-ue),Hu(O)){if(r.slice(ue).search(O)){var Xe,tt=ye;for(O.global||(O=Ia(O.source,ir(Qt.exec(O))+"g")),O.lastIndex=0;Xe=O.exec(tt);)var dt=Xe.index;ye=ye.slice(0,dt===m?ue:dt)}}else if(r.indexOf(oo(O),ue)!=ue){var kt=ye.lastIndexOf(O);kt>-1&&(ye=ye.slice(0,kt))}return ye+v},k.unescape=function Wu(r){return(r=ir(r))&&Ut.test(r)?r.replace(bt,Yl):r},k.uniqueId=function Ch(r){var s=++ic;return ir(r)+s},k.upperCase=nl,k.upperFirst=bd,k.each=Yp,k.eachRight=qc,k.first=ff,Zs(k,function(){var r={};return _o(k,function(s,d){nr.call(k.prototype,d)||(r[d]=s)}),r}(),{chain:!1}),k.VERSION="4.17.21",ke(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){k[r].placeholder=k}),ke(["drop","take"],function(r,s){Fn.prototype[r]=function(d){d=d===m?1:gr(kn(d),0);var v=this.__filtered__&&!s?new Fn(this):this.clone();return v.__filtered__?v.__takeCount__=Hr(d,v.__takeCount__):v.__views__.push({size:Hr(d,Ge),type:r+(v.__dir__<0?"Right":"")}),v},Fn.prototype[r+"Right"]=function(d){return this.reverse()[r](d).reverse()}}),ke(["filter","map","takeWhile"],function(r,s){var d=s+1,v=1==d||3==d;Fn.prototype[r]=function(O){var V=this.clone();return V.__iteratees__.push({iteratee:gn(O,3),type:d}),V.__filtered__=V.__filtered__||v,V}}),ke(["head","last"],function(r,s){var d="take"+(s?"Right":"");Fn.prototype[r]=function(){return this[d](1).value()[0]}}),ke(["initial","tail"],function(r,s){var d="drop"+(s?"":"Right");Fn.prototype[r]=function(){return this.__filtered__?new Fn(this):this[d](1)}}),Fn.prototype.compact=function(){return this.filter(vr)},Fn.prototype.find=function(r){return this.filter(r).head()},Fn.prototype.findLast=function(r){return this.reverse().find(r)},Fn.prototype.invokeMap=Jt(function(r,s){return"function"==typeof r?new Fn(this):this.map(function(d){return $e(d,r,s)})}),Fn.prototype.reject=function(r){return this.filter(qs(gn(r)))},Fn.prototype.slice=function(r,s){r=kn(r);var d=this;return d.__filtered__&&(r>0||s<0)?new Fn(d):(r<0?d=d.takeRight(-r):r&&(d=d.drop(r)),s!==m&&(d=(s=kn(s))<0?d.dropRight(-s):d.take(s-r)),d)},Fn.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Fn.prototype.toArray=function(){return this.take(Ge)},_o(Fn.prototype,function(r,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),v=/^(?:head|last)$/.test(s),O=k[v?"take"+("last"==s?"Right":""):s],V=v||/^find/.test(s);!O||(k.prototype[s]=function(){var Q=this.__wrapped__,ue=v?[1]:arguments,ye=Q instanceof Fn,Xe=ue[0],tt=ye||xn(Q),dt=function(Bn){var Zn=O.apply(k,Rn([Bn],ue));return v&&kt?Zn[0]:Zn};tt&&d&&"function"==typeof Xe&&1!=Xe.length&&(ye=tt=!1);var kt=this.__chain__,on=!!this.__actions__.length,yn=V&&!kt,Ln=ye&&!on;if(!V&&tt){Q=Ln?Q:new Fn(this);var vn=r.apply(Q,ue);return vn.__actions__.push({func:Ka,args:[dt],thisArg:m}),new hr(vn,kt)}return yn&&Ln?r.apply(this,ue):(vn=this.thru(dt),yn?v?vn.value()[0]:vn.value():vn)})}),ke(["pop","push","shift","sort","splice","unshift"],function(r){var s=Fa[r],d=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",v=/^(?:pop|shift)$/.test(r);k.prototype[r]=function(){var O=arguments;if(v&&!this.__chain__){var V=this.value();return s.apply(xn(V)?V:[],O)}return this[d](function(Q){return s.apply(xn(Q)?Q:[],O)})}}),_o(Fn.prototype,function(r,s){var d=k[s];if(d){var v=d.name+"";nr.call(da,v)||(da[v]=[]),da[v].push({name:s,func:d})}}),da[mu(m,2).name]=[{name:"wrapper",func:m}],Fn.prototype.clone=function tu(){var r=new Fn(this.__wrapped__);return r.__actions__=bi(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=bi(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=bi(this.__views__),r},Fn.prototype.reverse=function xi(){if(this.__filtered__){var r=new Fn(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},Fn.prototype.value=function Rs(){var r=this.__wrapped__.value(),s=this.__dir__,d=xn(r),v=s<0,O=d?r.length:0,V=function fp(r,s,d){for(var v=-1,O=d.length;++v<O;){var V=d[v],Q=V.size;switch(V.type){case"drop":r+=Q;break;case"dropRight":s-=Q;break;case"take":s=Hr(s,r+Q);break;case"takeRight":r=gr(r,s-Q)}}return{start:r,end:s}}(0,O,this.__views__),Q=V.start,ue=V.end,ye=ue-Q,Xe=v?ue:Q-1,tt=this.__iteratees__,dt=tt.length,kt=0,on=Hr(ye,this.__takeCount__);if(!d||!v&&O==ye&&on==ye)return qd(r,this.__actions__);var yn=[];e:for(;ye--&&kt<on;){for(var Ln=-1,vn=r[Xe+=s];++Ln<dt;){var Bn=tt[Ln],Li=Bn.type,yi=(0,Bn.iteratee)(vn);if(2==Li)vn=yi;else if(!yi){if(1==Li)continue e;break e}}yn[kt++]=vn}return yn},k.prototype.at=c_,k.prototype.chain=function xf(){return Au(this)},k.prototype.commit=function d_(){return new hr(this.value(),this.__chain__)},k.prototype.next=function Iu(){this.__values__===m&&(this.__values__=$u(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?m:this.__values__[this.__index__++]}},k.prototype.plant=function Gc(r){for(var s,d=this;d instanceof sr;){var v=af(d);v.__index__=0,v.__values__=m,s?O.__wrapped__=v:s=v;var O=v;d=d.__wrapped__}return O.__wrapped__=r,s},k.prototype.reverse=function zc(){var r=this.__wrapped__;if(r instanceof Fn){var s=r;return this.__actions__.length&&(s=new Fn(this)),(s=s.reverse()).__actions__.push({func:Ka,args:[Hc],thisArg:m}),new hr(s,this.__chain__)}return this.thru(Hc)},k.prototype.toJSON=k.prototype.valueOf=k.prototype.value=function Wc(){return qd(this.__wrapped__,this.__actions__)},k.prototype.first=k.prototype.head,Ss&&(k.prototype[Ss]=function Nu(){return this}),k}();xr._=Ts,(l=function(){return Ts}.call(U,S,U,_e))!==m&&(_e.exports=l)}.call(this)},8448:(_e,U,S)=>{var l=S(5171),m=S(2315),ne=S(4401),$=S(3943);_e.exports=function H(z,X,Z){z=$(z);var W=(X=ne(X))?m(z):0;return X&&W<X?l(X-W,Z)+z:z}},1978:(_e,U,S)=>{var m=S(1491)(function(ne,$,H){return ne+(H?"_":"")+$.toLowerCase()});_e.exports=m},2232:(_e,U,S)=>{var l=S(1467),m=1/0;_e.exports=function $(H){return H?(H=l(H))===m||H===-m?17976931348623157e292*(H<0?-1:1):H==H?H:0:0===H?H:0}},4401:(_e,U,S)=>{var l=S(2232);_e.exports=function m(ne){var $=l(ne),H=$%1;return $==$?H?$-H:$:0}},1467:(_e,U,S)=>{var l=S(3348),m=S(5940),ne=S(4129),H=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,X=/^0o[0-7]+$/i,Z=parseInt;_e.exports=function W(L){if("number"==typeof L)return L;if(ne(L))return NaN;if(m(L)){var Y="function"==typeof L.valueOf?L.valueOf():L;L=m(Y)?Y+"":Y}if("string"!=typeof L)return 0===L?L:+L;L=l(L);var ie=z.test(L);return ie||X.test(L)?Z(L.slice(2),ie?2:8):H.test(L)?NaN:+L}},3943:(_e,U,S)=>{var l=S(3935);_e.exports=function m(ne){return null==ne?"":l(ne)}},7188:(_e,U,S)=>{var l=S(69),m=S(9062),ne=S(3943),$=S(910);_e.exports=function H(z,X,Z){return z=ne(z),void 0===(X=Z?void 0:X)?m(z)?$(z):l(z):z.match(X)||[]}},1869:(_e,U,S)=>{"use strict";S.d(U,{d:()=>m});var l=S(3489);class m extends l.L{constructor($,H,z){super(),this.parent=$,this.outerValue=H,this.outerIndex=z,this.index=0}_next($){this.parent.notifyNext(this.outerValue,$,this.outerIndex,this.index++,this)}_error($){this.parent.notifyError($,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(_e,U,S)=>{"use strict";S.d(U,{y:()=>Y});var l=S(3489),ne=S(7668),$=S(3292),z=S(3821),X=S(5379);var L=S(2830);let Y=(()=>{class oe{constructor(Me){this._isScalar=!1,Me&&(this._subscribe=Me)}lift(Me){const je=new oe;return je.source=this,je.operator=Me,je}subscribe(Me,je,Et){const{operator:gt}=this,Ee=function H(oe,Se,Me){if(oe){if(oe instanceof l.L)return oe;if(oe[ne.b])return oe[ne.b]()}return oe||Se||Me?new l.L(oe,Se,Me):new l.L($.c)}(Me,je,Et);if(Ee.add(gt?gt.call(Ee,this.source):this.source||L.v.useDeprecatedSynchronousErrorHandling&&!Ee.syncErrorThrowable?this._subscribe(Ee):this._trySubscribe(Ee)),L.v.useDeprecatedSynchronousErrorHandling&&Ee.syncErrorThrowable&&(Ee.syncErrorThrowable=!1,Ee.syncErrorThrown))throw Ee.syncErrorValue;return Ee}_trySubscribe(Me){try{return this._subscribe(Me)}catch(je){L.v.useDeprecatedSynchronousErrorHandling&&(Me.syncErrorThrown=!0,Me.syncErrorValue=je),function m(oe){for(;oe;){const{closed:Se,destination:Me,isStopped:je}=oe;if(Se||je)return!1;oe=Me&&Me instanceof l.L?Me:null}return!0}(Me)?Me.error(je):console.warn(je)}}forEach(Me,je){return new(je=ie(je))((Et,gt)=>{let Ee;Ee=this.subscribe(qe=>{try{Me(qe)}catch(me){gt(me),Ee&&Ee.unsubscribe()}},gt,Et)})}_subscribe(Me){const{source:je}=this;return je&&je.subscribe(Me)}[z.L](){return this}pipe(...Me){return 0===Me.length?this:function W(oe){return 0===oe.length?X.y:1===oe.length?oe[0]:function(Me){return oe.reduce((je,Et)=>Et(je),Me)}}(Me)(this)}toPromise(Me){return new(Me=ie(Me))((je,Et)=>{let gt;this.subscribe(Ee=>gt=Ee,Ee=>Et(Ee),()=>je(gt))})}}return oe.create=Se=>new oe(Se),oe})();function ie(oe){if(oe||(oe=L.v.Promise||Promise),!oe)throw new Error("no Promise impl found");return oe}},3292:(_e,U,S)=>{"use strict";S.d(U,{c:()=>ne});var l=S(2830),m=S(2782);const ne={closed:!0,next($){},error($){if(l.v.useDeprecatedSynchronousErrorHandling)throw $;(0,m.z)($)},complete(){}}},826:(_e,U,S)=>{"use strict";S.d(U,{L:()=>m});var l=S(3489);class m extends l.L{notifyNext($,H,z,X,Z){this.destination.next(H)}notifyError($,H){this.destination.error($)}notifyComplete($){this.destination.complete()}}},6729:(_e,U,S)=>{"use strict";S.d(U,{xQ:()=>W,Yc:()=>Z});var l=S(2916),m=S(3489),ne=S(2654);const H=(()=>{function Y(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return Y.prototype=Object.create(Error.prototype),Y})();class z extends ne.w{constructor(ie,oe){super(),this.subject=ie,this.subscriber=oe,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const ie=this.subject,oe=ie.observers;if(this.subject=null,!oe||0===oe.length||ie.isStopped||ie.closed)return;const Se=oe.indexOf(this.subscriber);-1!==Se&&oe.splice(Se,1)}}var X=S(7668);class Z extends m.L{constructor(ie){super(ie),this.destination=ie}}let W=(()=>{class Y extends l.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[X.b](){return new Z(this)}lift(oe){const Se=new L(this,this);return Se.operator=oe,Se}next(oe){if(this.closed)throw new H;if(!this.isStopped){const{observers:Se}=this,Me=Se.length,je=Se.slice();for(let Et=0;Et<Me;Et++)je[Et].next(oe)}}error(oe){if(this.closed)throw new H;this.hasError=!0,this.thrownError=oe,this.isStopped=!0;const{observers:Se}=this,Me=Se.length,je=Se.slice();for(let Et=0;Et<Me;Et++)je[Et].error(oe);this.observers.length=0}complete(){if(this.closed)throw new H;this.isStopped=!0;const{observers:oe}=this,Se=oe.length,Me=oe.slice();for(let je=0;je<Se;je++)Me[je].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(oe){if(this.closed)throw new H;return super._trySubscribe(oe)}_subscribe(oe){if(this.closed)throw new H;return this.hasError?(oe.error(this.thrownError),ne.w.EMPTY):this.isStopped?(oe.complete(),ne.w.EMPTY):(this.observers.push(oe),new z(this,oe))}asObservable(){const oe=new l.y;return oe.source=this,oe}}return Y.create=(ie,oe)=>new L(ie,oe),Y})();class L extends W{constructor(ie,oe){super(),this.destination=ie,this.source=oe}next(ie){const{destination:oe}=this;oe&&oe.next&&oe.next(ie)}error(ie){const{destination:oe}=this;oe&&oe.error&&this.destination.error(ie)}complete(){const{destination:ie}=this;ie&&ie.complete&&this.destination.complete()}_subscribe(ie){const{source:oe}=this;return oe?this.source.subscribe(ie):ne.w.EMPTY}}},3489:(_e,U,S)=>{"use strict";S.d(U,{L:()=>X});var l=S(7043),m=S(3292),ne=S(2654),$=S(7668),H=S(2830),z=S(2782);class X extends ne.w{constructor(L,Y,ie){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=m.c;break;case 1:if(!L){this.destination=m.c;break}if("object"==typeof L){L instanceof X?(this.syncErrorThrowable=L.syncErrorThrowable,this.destination=L,L.add(this)):(this.syncErrorThrowable=!0,this.destination=new Z(this,L));break}default:this.syncErrorThrowable=!0,this.destination=new Z(this,L,Y,ie)}}[$.b](){return this}static create(L,Y,ie){const oe=new X(L,Y,ie);return oe.syncErrorThrowable=!1,oe}next(L){this.isStopped||this._next(L)}error(L){this.isStopped||(this.isStopped=!0,this._error(L))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(L){this.destination.next(L)}_error(L){this.destination.error(L),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:L}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=L,this}}class Z extends X{constructor(L,Y,ie,oe){super(),this._parentSubscriber=L;let Se,Me=this;(0,l.m)(Y)?Se=Y:Y&&(Se=Y.next,ie=Y.error,oe=Y.complete,Y!==m.c&&(Me=Object.create(Y),(0,l.m)(Me.unsubscribe)&&this.add(Me.unsubscribe.bind(Me)),Me.unsubscribe=this.unsubscribe.bind(this))),this._context=Me,this._next=Se,this._error=ie,this._complete=oe}next(L){if(!this.isStopped&&this._next){const{_parentSubscriber:Y}=this;H.v.useDeprecatedSynchronousErrorHandling&&Y.syncErrorThrowable?this.__tryOrSetError(Y,this._next,L)&&this.unsubscribe():this.__tryOrUnsub(this._next,L)}}error(L){if(!this.isStopped){const{_parentSubscriber:Y}=this,{useDeprecatedSynchronousErrorHandling:ie}=H.v;if(this._error)ie&&Y.syncErrorThrowable?(this.__tryOrSetError(Y,this._error,L),this.unsubscribe()):(this.__tryOrUnsub(this._error,L),this.unsubscribe());else if(Y.syncErrorThrowable)ie?(Y.syncErrorValue=L,Y.syncErrorThrown=!0):(0,z.z)(L),this.unsubscribe();else{if(this.unsubscribe(),ie)throw L;(0,z.z)(L)}}}complete(){if(!this.isStopped){const{_parentSubscriber:L}=this;if(this._complete){const Y=()=>this._complete.call(this._context);H.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable?(this.__tryOrSetError(L,Y),this.unsubscribe()):(this.__tryOrUnsub(Y),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(L,Y){try{L.call(this._context,Y)}catch(ie){if(this.unsubscribe(),H.v.useDeprecatedSynchronousErrorHandling)throw ie;(0,z.z)(ie)}}__tryOrSetError(L,Y,ie){if(!H.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{Y.call(this._context,ie)}catch(oe){return H.v.useDeprecatedSynchronousErrorHandling?(L.syncErrorValue=oe,L.syncErrorThrown=!0,!0):((0,z.z)(oe),!0)}return!1}_unsubscribe(){const{_parentSubscriber:L}=this;this._context=null,this._parentSubscriber=null,L.unsubscribe()}}},2654:(_e,U,S)=>{"use strict";S.d(U,{w:()=>z});var l=S(6688),m=S(7830),ne=S(7043);const H=(()=>{function Z(W){return Error.call(this),this.message=W?`${W.length} errors occurred during unsubscription:\n${W.map((L,Y)=>`${Y+1}) ${L.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=W,this}return Z.prototype=Object.create(Error.prototype),Z})();class z{constructor(W){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,W&&(this._unsubscribe=W)}unsubscribe(){let W;if(this.closed)return;let{_parentOrParents:L,_unsubscribe:Y,_subscriptions:ie}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,L instanceof z)L.remove(this);else if(null!==L)for(let oe=0;oe<L.length;++oe)L[oe].remove(this);if((0,ne.m)(Y))try{Y.call(this)}catch(oe){W=oe instanceof H?X(oe.errors):[oe]}if((0,l.k)(ie)){let oe=-1,Se=ie.length;for(;++oe<Se;){const Me=ie[oe];if((0,m.K)(Me))try{Me.unsubscribe()}catch(je){W=W||[],je instanceof H?W=W.concat(X(je.errors)):W.push(je)}}}if(W)throw new H(W)}add(W){let L=W;if(!W)return z.EMPTY;switch(typeof W){case"function":L=new z(W);case"object":if(L===this||L.closed||"function"!=typeof L.unsubscribe)return L;if(this.closed)return L.unsubscribe(),L;if(!(L instanceof z)){const oe=L;L=new z,L._subscriptions=[oe]}break;default:throw new Error("unrecognized teardown "+W+" added to Subscription.")}let{_parentOrParents:Y}=L;if(null===Y)L._parentOrParents=this;else if(Y instanceof z){if(Y===this)return L;L._parentOrParents=[Y,this]}else{if(-1!==Y.indexOf(this))return L;Y.push(this)}const ie=this._subscriptions;return null===ie?this._subscriptions=[L]:ie.push(L),L}remove(W){const L=this._subscriptions;if(L){const Y=L.indexOf(W);-1!==Y&&L.splice(Y,1)}}}var Z;function X(Z){return Z.reduce((W,L)=>W.concat(L instanceof H?L.errors:L),[])}z.EMPTY=((Z=new z).closed=!0,Z)},2830:(_e,U,S)=>{"use strict";S.d(U,{v:()=>m});let l=!1;const m={Promise:void 0,set useDeprecatedSynchronousErrorHandling(ne){if(ne){const $=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+$.stack)}else l&&console.log("RxJS: Back to a better error behavior. Thank you. <3");l=ne},get useDeprecatedSynchronousErrorHandling(){return l}}},5254:(_e,U,S)=>{"use strict";S.d(U,{D:()=>Me});var l=S(2916),m=S(9249),ne=S(2654),$=S(3821),X=S(6454),Z=S(5430),Y=S(8955),ie=S(8515);function Me(je,Et){return Et?function Se(je,Et){if(null!=je){if(function L(je){return je&&"function"==typeof je[$.L]}(je))return function H(je,Et){return new l.y(gt=>{const Ee=new ne.w;return Ee.add(Et.schedule(()=>{const qe=je[$.L]();Ee.add(qe.subscribe({next(me){Ee.add(Et.schedule(()=>gt.next(me)))},error(me){Ee.add(Et.schedule(()=>gt.error(me)))},complete(){Ee.add(Et.schedule(()=>gt.complete()))}}))})),Ee})}(je,Et);if((0,Y.t)(je))return function z(je,Et){return new l.y(gt=>{const Ee=new ne.w;return Ee.add(Et.schedule(()=>je.then(qe=>{Ee.add(Et.schedule(()=>{gt.next(qe),Ee.add(Et.schedule(()=>gt.complete()))}))},qe=>{Ee.add(Et.schedule(()=>gt.error(qe)))}))),Ee})}(je,Et);if((0,ie.z)(je))return(0,X.r)(je,Et);if(function oe(je){return je&&"function"==typeof je[Z.hZ]}(je)||"string"==typeof je)return function W(je,Et){if(!je)throw new Error("Iterable cannot be null");return new l.y(gt=>{const Ee=new ne.w;let qe;return Ee.add(()=>{qe&&"function"==typeof qe.return&&qe.return()}),Ee.add(Et.schedule(()=>{qe=je[Z.hZ](),Ee.add(Et.schedule(function(){if(gt.closed)return;let me,le;try{const yt=qe.next();me=yt.value,le=yt.done}catch(yt){return void gt.error(yt)}le?gt.complete():(gt.next(me),this.schedule())}))})),Ee})}(je,Et)}throw new TypeError((null!==je&&typeof je||je)+" is not observable")}(je,Et):je instanceof l.y?je:new l.y((0,m.s)(je))}},3009:(_e,U,S)=>{"use strict";S.d(U,{n:()=>$});var l=S(2916),m=S(3650),ne=S(6454);function $(H,z){return z?(0,ne.r)(H,z):new l.y((0,m.V)(H))}},7138:(_e,U,S)=>{"use strict";S.d(U,{T:()=>X});var l=S(2916),m=S(2866),ne=S(1709),$=S(5379),z=S(3009);function X(...Z){let W=Number.POSITIVE_INFINITY,L=null,Y=Z[Z.length-1];return(0,m.K)(Y)?(L=Z.pop(),Z.length>1&&"number"==typeof Z[Z.length-1]&&(W=Z.pop())):"number"==typeof Y&&(W=Z.pop()),null===L&&1===Z.length&&Z[0]instanceof l.y?Z[0]:function H(Z=Number.POSITIVE_INFINITY){return(0,ne.zg)($.y,Z)}(W)((0,z.n)(Z,L))}},1086:(_e,U,S)=>{"use strict";S.d(U,{of:()=>$});var l=S(2866),m=S(3009),ne=S(6454);function $(...H){let z=H[H.length-1];return(0,l.K)(z)?(H.pop(),(0,ne.r)(H,z)):(0,m.n)(H)}},1737:(_e,U,S)=>{"use strict";S.d(U,{_:()=>m});var l=S(2916);function m($,H){return new l.y(H?z=>H.schedule(ne,0,{error:$,subscriber:z}):z=>z.error($))}function ne({error:$,subscriber:H}){H.error($)}},2198:(_e,U,S)=>{"use strict";S.d(U,{h:()=>m});var l=S(3489);function m(H,z){return function(Z){return Z.lift(new ne(H,z))}}class ne{constructor(z,X){this.predicate=z,this.thisArg=X}call(z,X){return X.subscribe(new $(z,this.predicate,this.thisArg))}}class $ extends l.L{constructor(z,X,Z){super(z),this.predicate=X,this.thisArg=Z,this.count=0}_next(z){let X;try{X=this.predicate.call(this.thisArg,z,this.count++)}catch(Z){return void this.destination.error(Z)}X&&this.destination.next(z)}}},537:(_e,U,S)=>{"use strict";S.d(U,{x:()=>ne});var l=S(3489),m=S(2654);function ne(z){return X=>X.lift(new $(z))}class ${constructor(X){this.callback=X}call(X,Z){return Z.subscribe(new H(X,this.callback))}}class H extends l.L{constructor(X,Z){super(X),this.add(new m.w(Z))}}},4850:(_e,U,S)=>{"use strict";S.d(U,{U:()=>m});var l=S(3489);function m(H,z){return function(Z){if("function"!=typeof H)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return Z.lift(new ne(H,z))}}class ne{constructor(z,X){this.project=z,this.thisArg=X}call(z,X){return X.subscribe(new $(z,this.project,this.thisArg))}}class $ extends l.L{constructor(z,X,Z){super(z),this.project=X,this.count=0,this.thisArg=Z||this}_next(z){let X;try{X=this.project.call(this.thisArg,z,this.count++)}catch(Z){return void this.destination.error(Z)}this.destination.next(X)}}},1709:(_e,U,S)=>{"use strict";S.d(U,{zg:()=>z});var l=S(9054),m=S(826),ne=S(1869),$=S(4850),H=S(5254);function z(W,L,Y=Number.POSITIVE_INFINITY){return"function"==typeof L?ie=>ie.pipe(z((oe,Se)=>(0,H.D)(W(oe,Se)).pipe((0,$.U)((Me,je)=>L(oe,Me,Se,je))),Y)):("number"==typeof L&&(Y=L),ie=>ie.lift(new X(W,Y)))}class X{constructor(L,Y=Number.POSITIVE_INFINITY){this.project=L,this.concurrent=Y}call(L,Y){return Y.subscribe(new Z(L,this.project,this.concurrent))}}class Z extends m.L{constructor(L,Y,ie=Number.POSITIVE_INFINITY){super(L),this.project=Y,this.concurrent=ie,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(L){this.active<this.concurrent?this._tryNext(L):this.buffer.push(L)}_tryNext(L){let Y;const ie=this.index++;try{Y=this.project(L,ie)}catch(oe){return void this.destination.error(oe)}this.active++,this._innerSub(Y,L,ie)}_innerSub(L,Y,ie){const oe=new ne.d(this,Y,ie),Se=this.destination;Se.add(oe);const Me=(0,l.D)(this,L,void 0,void 0,oe);Me!==oe&&Se.add(Me)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(L,Y,ie,oe,Se){this.destination.next(Y)}notifyComplete(L){const Y=this.buffer;this.remove(L),this.active--,Y.length>0?this._next(Y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},6454:(_e,U,S)=>{"use strict";S.d(U,{r:()=>ne});var l=S(2916),m=S(2654);function ne($,H){return new l.y(z=>{const X=new m.w;let Z=0;return X.add(H.schedule(function(){Z!==$.length?(z.next($[Z++]),z.closed||X.add(this.schedule())):z.complete()})),X})}},6686:(_e,U,S)=>{"use strict";S.d(U,{o:()=>ne});var l=S(2654);class m extends l.w{constructor(H,z){super()}schedule(H,z=0){return this}}class ne extends m{constructor(H,z){super(H,z),this.scheduler=H,this.work=z,this.pending=!1}schedule(H,z=0){if(this.closed)return this;this.state=H;const X=this.id,Z=this.scheduler;return null!=X&&(this.id=this.recycleAsyncId(Z,X,z)),this.pending=!0,this.delay=z,this.id=this.id||this.requestAsyncId(Z,this.id,z),this}requestAsyncId(H,z,X=0){return setInterval(H.flush.bind(H,this),X)}recycleAsyncId(H,z,X=0){if(null!==X&&this.delay===X&&!1===this.pending)return z;clearInterval(z)}execute(H,z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const X=this._execute(H,z);if(X)return X;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(H,z){let Z,X=!1;try{this.work(H)}catch(W){X=!0,Z=!!W&&W||new Error(W)}if(X)return this.unsubscribe(),Z}_unsubscribe(){const H=this.id,z=this.scheduler,X=z.actions,Z=X.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==Z&&X.splice(Z,1),null!=H&&(this.id=this.recycleAsyncId(z,H,null)),this.delay=null}}},2268:(_e,U,S)=>{"use strict";S.d(U,{v:()=>m});let l=(()=>{class ne{constructor(H,z=ne.now){this.SchedulerAction=H,this.now=z}schedule(H,z=0,X){return new this.SchedulerAction(this,H).schedule(X,z)}}return ne.now=()=>Date.now(),ne})();class m extends l{constructor($,H=l.now){super($,()=>m.delegate&&m.delegate!==this?m.delegate.now():H()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule($,H=0,z){return m.delegate&&m.delegate!==this?m.delegate.schedule($,H,z):super.schedule($,H,z)}flush($){const{actions:H}=this;if(this.active)return void H.push($);let z;this.active=!0;do{if(z=$.execute($.state,$.delay))break}while($=H.shift());if(this.active=!1,z){for(;$=H.shift();)$.unsubscribe();throw z}}}},353:(_e,U,S)=>{"use strict";S.d(U,{P:()=>ne});var l=S(6686);const ne=new(S(2268).v)(l.o)},5430:(_e,U,S)=>{"use strict";S.d(U,{hZ:()=>m});const m=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(_e,U,S)=>{"use strict";S.d(U,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(_e,U,S)=>{"use strict";S.d(U,{b:()=>l});const l="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},2782:(_e,U,S)=>{"use strict";function l(m){setTimeout(()=>{throw m},0)}S.d(U,{z:()=>l})},5379:(_e,U,S)=>{"use strict";function l(m){return m}S.d(U,{y:()=>l})},6688:(_e,U,S)=>{"use strict";S.d(U,{k:()=>l});const l=Array.isArray||(m=>m&&"number"==typeof m.length)},8515:(_e,U,S)=>{"use strict";S.d(U,{z:()=>l});const l=m=>m&&"number"==typeof m.length&&"function"!=typeof m},7043:(_e,U,S)=>{"use strict";function l(m){return"function"==typeof m}S.d(U,{m:()=>l})},7830:(_e,U,S)=>{"use strict";function l(m){return null!==m&&"object"==typeof m}S.d(U,{K:()=>l})},8955:(_e,U,S)=>{"use strict";function l(m){return!!m&&"function"!=typeof m.subscribe&&"function"==typeof m.then}S.d(U,{t:()=>l})},2866:(_e,U,S)=>{"use strict";function l(m){return m&&"function"==typeof m.schedule}S.d(U,{K:()=>l})},9249:(_e,U,S)=>{"use strict";S.d(U,{s:()=>Y});var l=S(3650),m=S(2782),$=S(5430),z=S(3821),Z=S(8515),W=S(8955),L=S(7830);const Y=ie=>{if(ie&&"function"==typeof ie[z.L])return(ie=>oe=>{const Se=ie[z.L]();if("function"!=typeof Se.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Se.subscribe(oe)})(ie);if((0,Z.z)(ie))return(0,l.V)(ie);if((0,W.t)(ie))return(ie=>oe=>(ie.then(Se=>{oe.closed||(oe.next(Se),oe.complete())},Se=>oe.error(Se)).then(null,m.z),oe))(ie);if(ie&&"function"==typeof ie[$.hZ])return(ie=>oe=>{const Se=ie[$.hZ]();for(;;){const Me=Se.next();if(Me.done){oe.complete();break}if(oe.next(Me.value),oe.closed)break}return"function"==typeof Se.return&&oe.add(()=>{Se.return&&Se.return()}),oe})(ie);{const Se=`You provided ${(0,L.K)(ie)?"an invalid object":`'${ie}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Se)}}},3650:(_e,U,S)=>{"use strict";S.d(U,{V:()=>l});const l=m=>ne=>{for(let $=0,H=m.length;$<H&&!ne.closed;$++)ne.next(m[$]);ne.complete()}},9054:(_e,U,S)=>{"use strict";S.d(U,{D:()=>$});var l=S(1869),m=S(9249),ne=S(2916);function $(H,z,X,Z,W=new l.d(H,X,Z)){if(!W.closed)return z instanceof ne.y?z.subscribe(W):(0,m.s)(z)(W)}},8583:()=>{"use strict";!function(ee){const de=ee.performance;function Ae(mt){de&&de.mark&&de.mark(mt)}function Oe(mt,Ze){de&&de.measure&&de.measure(mt,Ze)}Ae("Zone");const Re=ee.__Zone_symbol_prefix||"__zone_symbol__";function et(mt){return Re+mt}const _t=!0===ee[et("forceDuplicateZoneCheck")];if(ee.Zone){if(_t||"function"!=typeof ee.Zone.__symbol__)throw new Error("Zone already loaded.");return ee.Zone}let Ue=(()=>{class mt{constructor(K,be){this._parent=K,this._name=be?be.name||"unnamed":"<root>",this._properties=be&&be.properties||{},this._zoneDelegate=new zt(this,this._parent&&this._parent._zoneDelegate,be)}static assertZonePatched(){if(ee.Promise!==P.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 K=mt.current;for(;K.parent;)K=K.parent;return K}static get current(){return x.zone}static get currentTask(){return j}static __load_patch(K,be,jt=!1){if(P.hasOwnProperty(K)){if(!jt&&_t)throw Error("Already loaded patch: "+K)}else if(!ee["__Zone_disable_"+K]){const Qt="Zone:"+K;Ae(Qt),P[K]=be(ee,mt,M),Oe(Qt,Qt)}}get parent(){return this._parent}get name(){return this._name}get(K){const be=this.getZoneWith(K);if(be)return be._properties[K]}getZoneWith(K){let be=this;for(;be;){if(be._properties.hasOwnProperty(K))return be;be=be._parent}return null}fork(K){if(!K)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,K)}wrap(K,be){if("function"!=typeof K)throw new Error("Expecting function got: "+K);const jt=this._zoneDelegate.intercept(this,K,be),Qt=this;return function(){return Qt.runGuarded(jt,this,arguments,be)}}run(K,be,jt,Qt){x={parent:x,zone:this};try{return this._zoneDelegate.invoke(this,K,be,jt,Qt)}finally{x=x.parent}}runGuarded(K,be=null,jt,Qt){x={parent:x,zone:this};try{try{return this._zoneDelegate.invoke(this,K,be,jt,Qt)}catch(sn){if(this._zoneDelegate.handleError(this,sn))throw sn}}finally{x=x.parent}}runTask(K,be,jt){if(K.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(K.zone||bt).name+"; Execution: "+this.name+")");if(K.state===Mt&&(K.type===pe||K.type===Wt))return;const Qt=K.state!=Tt;Qt&&K._transitionTo(Tt,Ot),K.runCount++;const sn=j;j=K,x={parent:x,zone:this};try{K.type==Wt&&K.data&&!K.data.isPeriodic&&(K.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,K,be,jt)}catch(Je){if(this._zoneDelegate.handleError(this,Je))throw Je}}finally{K.state!==Mt&&K.state!==vt&&(K.type==pe||K.data&&K.data.isPeriodic?Qt&&K._transitionTo(Ot,Tt):(K.runCount=0,this._updateTaskCount(K,-1),Qt&&K._transitionTo(Mt,Tt,Mt))),x=x.parent,j=sn}}scheduleTask(K){if(K.zone&&K.zone!==this){let jt=this;for(;jt;){if(jt===K.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${K.zone.name}`);jt=jt.parent}}K._transitionTo(Ut,Mt);const be=[];K._zoneDelegates=be,K._zone=this;try{K=this._zoneDelegate.scheduleTask(this,K)}catch(jt){throw K._transitionTo(vt,Ut,Mt),this._zoneDelegate.handleError(this,jt),jt}return K._zoneDelegates===be&&this._updateTaskCount(K,1),K.state==Ut&&K._transitionTo(Ot,Ut),K}scheduleMicroTask(K,be,jt,Qt){return this.scheduleTask(new Vt(At,K,be,jt,Qt,void 0))}scheduleMacroTask(K,be,jt,Qt,sn){return this.scheduleTask(new Vt(Wt,K,be,jt,Qt,sn))}scheduleEventTask(K,be,jt,Qt,sn){return this.scheduleTask(new Vt(pe,K,be,jt,Qt,sn))}cancelTask(K){if(K.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(K.zone||bt).name+"; Execution: "+this.name+")");K._transitionTo(an,Ot,Tt);try{this._zoneDelegate.cancelTask(this,K)}catch(be){throw K._transitionTo(vt,an),this._zoneDelegate.handleError(this,be),be}return this._updateTaskCount(K,-1),K._transitionTo(Mt,an),K.runCount=0,K}_updateTaskCount(K,be){const jt=K._zoneDelegates;-1==be&&(K._zoneDelegates=null);for(let Qt=0;Qt<jt.length;Qt++)jt[Qt]._updateTaskCount(K.type,be)}}return mt.__symbol__=et,mt})();const Ie={name:"",onHasTask:(mt,Ze,K,be)=>mt.hasTask(K,be),onScheduleTask:(mt,Ze,K,be)=>mt.scheduleTask(K,be),onInvokeTask:(mt,Ze,K,be,jt,Qt)=>mt.invokeTask(K,be,jt,Qt),onCancelTask:(mt,Ze,K,be)=>mt.cancelTask(K,be)};class zt{constructor(Ze,K,be){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=Ze,this._parentDelegate=K,this._forkZS=be&&(be&&be.onFork?be:K._forkZS),this._forkDlgt=be&&(be.onFork?K:K._forkDlgt),this._forkCurrZone=be&&(be.onFork?this.zone:K._forkCurrZone),this._interceptZS=be&&(be.onIntercept?be:K._interceptZS),this._interceptDlgt=be&&(be.onIntercept?K:K._interceptDlgt),this._interceptCurrZone=be&&(be.onIntercept?this.zone:K._interceptCurrZone),this._invokeZS=be&&(be.onInvoke?be:K._invokeZS),this._invokeDlgt=be&&(be.onInvoke?K:K._invokeDlgt),this._invokeCurrZone=be&&(be.onInvoke?this.zone:K._invokeCurrZone),this._handleErrorZS=be&&(be.onHandleError?be:K._handleErrorZS),this._handleErrorDlgt=be&&(be.onHandleError?K:K._handleErrorDlgt),this._handleErrorCurrZone=be&&(be.onHandleError?this.zone:K._handleErrorCurrZone),this._scheduleTaskZS=be&&(be.onScheduleTask?be:K._scheduleTaskZS),this._scheduleTaskDlgt=be&&(be.onScheduleTask?K:K._scheduleTaskDlgt),this._scheduleTaskCurrZone=be&&(be.onScheduleTask?this.zone:K._scheduleTaskCurrZone),this._invokeTaskZS=be&&(be.onInvokeTask?be:K._invokeTaskZS),this._invokeTaskDlgt=be&&(be.onInvokeTask?K:K._invokeTaskDlgt),this._invokeTaskCurrZone=be&&(be.onInvokeTask?this.zone:K._invokeTaskCurrZone),this._cancelTaskZS=be&&(be.onCancelTask?be:K._cancelTaskZS),this._cancelTaskDlgt=be&&(be.onCancelTask?K:K._cancelTaskDlgt),this._cancelTaskCurrZone=be&&(be.onCancelTask?this.zone:K._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const jt=be&&be.onHasTask;(jt||K&&K._hasTaskZS)&&(this._hasTaskZS=jt?be:Ie,this._hasTaskDlgt=K,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=Ze,be.onScheduleTask||(this._scheduleTaskZS=Ie,this._scheduleTaskDlgt=K,this._scheduleTaskCurrZone=this.zone),be.onInvokeTask||(this._invokeTaskZS=Ie,this._invokeTaskDlgt=K,this._invokeTaskCurrZone=this.zone),be.onCancelTask||(this._cancelTaskZS=Ie,this._cancelTaskDlgt=K,this._cancelTaskCurrZone=this.zone))}fork(Ze,K){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Ze,K):new Ue(Ze,K)}intercept(Ze,K,be){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Ze,K,be):K}invoke(Ze,K,be,jt,Qt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Ze,K,be,jt,Qt):K.apply(be,jt)}handleError(Ze,K){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Ze,K)}scheduleTask(Ze,K){let be=K;if(this._scheduleTaskZS)this._hasTaskZS&&be._zoneDelegates.push(this._hasTaskDlgtOwner),be=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Ze,K),be||(be=K);else if(K.scheduleFn)K.scheduleFn(K);else{if(K.type!=At)throw new Error("Task is missing scheduleFn.");Le(K)}return be}invokeTask(Ze,K,be,jt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Ze,K,be,jt):K.callback.apply(be,jt)}cancelTask(Ze,K){let be;if(this._cancelTaskZS)be=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Ze,K);else{if(!K.cancelFn)throw Error("Task is not cancelable");be=K.cancelFn(K)}return be}hasTask(Ze,K){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Ze,K)}catch(be){this.handleError(Ze,be)}}_updateTaskCount(Ze,K){const be=this._taskCounts,jt=be[Ze],Qt=be[Ze]=jt+K;if(Qt<0)throw new Error("More tasks executed then were scheduled.");0!=jt&&0!=Qt||this.hasTask(this.zone,{microTask:be.microTask>0,macroTask:be.macroTask>0,eventTask:be.eventTask>0,change:Ze})}}class Vt{constructor(Ze,K,be,jt,Qt,sn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Ze,this.source=K,this.data=jt,this.scheduleFn=Qt,this.cancelFn=sn,!be)throw new Error("callback is not defined");this.callback=be;const Je=this;this.invoke=Ze===pe&&jt&&jt.useG?Vt.invokeTask:function(){return Vt.invokeTask.call(ee,Je,this,arguments)}}static invokeTask(Ze,K,be){Ze||(Ze=this),Ce++;try{return Ze.runCount++,Ze.zone.runTask(Ze,K,be)}finally{1==Ce&&He(),Ce--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Mt,Ut)}_transitionTo(Ze,K,be){if(this._state!==K&&this._state!==be)throw new Error(`${this.type} '${this.source}': can not transition to '${Ze}', expecting state '${K}'${be?" or '"+be+"'":""}, was '${this._state}'.`);this._state=Ze,Ze==Mt&&(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 qt=et("setTimeout"),A=et("Promise"),re=et("then");let ot,ae=[],ce=!1;function Be(mt){if(ot||ee[A]&&(ot=ee[A].resolve(0)),ot){let Ze=ot[re];Ze||(Ze=ot.then),Ze.call(ot,mt)}else ee[qt](mt,0)}function Le(mt){0===Ce&&0===ae.length&&Be(He),mt&&ae.push(mt)}function He(){if(!ce){for(ce=!0;ae.length;){const mt=ae;ae=[];for(let Ze=0;Ze<mt.length;Ze++){const K=mt[Ze];try{K.zone.runTask(K,null,null)}catch(be){M.onUnhandledError(be)}}}M.microtaskDrainDone(),ce=!1}}const bt={name:"NO ZONE"},Mt="notScheduled",Ut="scheduling",Ot="scheduled",Tt="running",an="canceling",vt="unknown",At="microTask",Wt="macroTask",pe="eventTask",P={},M={symbol:et,currentZoneFrame:()=>x,onUnhandledError:rt,microtaskDrainDone:rt,scheduleMicroTask:Le,showUncaughtError:()=>!Ue[et("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:rt,patchMethod:()=>rt,bindArguments:()=>[],patchThen:()=>rt,patchMacroTask:()=>rt,patchEventPrototype:()=>rt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>rt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>rt,wrapWithCurrentZone:()=>rt,filterProperties:()=>[],attachOriginToPatched:()=>rt,_redefineProperty:()=>rt,patchCallbacks:()=>rt,nativeScheduleMicroTask:Be};let x={parent:null,zone:new Ue(null,null)},j=null,Ce=0;function rt(){}Oe("Zone","Zone"),ee.Zone=Ue}(typeof window<"u"&&window||typeof self<"u"&&self||global);const _e=Object.getOwnPropertyDescriptor,U=Object.defineProperty,S=Object.getPrototypeOf,l=Object.create,m=Array.prototype.slice,ne="addEventListener",$="removeEventListener",H=Zone.__symbol__(ne),z=Zone.__symbol__($),X="true",Z="false",W=Zone.__symbol__("");function L(ee,de){return Zone.current.wrap(ee,de)}function Y(ee,de,Ae,Oe,Re){return Zone.current.scheduleMacroTask(ee,de,Ae,Oe,Re)}const ie=Zone.__symbol__,oe=typeof window<"u",Se=oe?window:void 0,Me=oe&&Se||"object"==typeof self&&self||global;function Et(ee,de){for(let Ae=ee.length-1;Ae>=0;Ae--)"function"==typeof ee[Ae]&&(ee[Ae]=L(ee[Ae],de+"_"+Ae));return ee}function Ee(ee){return!ee||!1!==ee.writable&&!("function"==typeof ee.get&&typeof ee.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,me=!("nw"in Me)&&typeof Me.process<"u"&&"[object process]"==={}.toString.call(Me.process),le=!me&&!qe&&!(!oe||!Se.HTMLElement),yt=typeof Me.process<"u"&&"[object process]"==={}.toString.call(Me.process)&&!qe&&!(!oe||!Se.HTMLElement),Fe={},fn=function(ee){if(!(ee=ee||Me.event))return;let de=Fe[ee.type];de||(de=Fe[ee.type]=ie("ON_PROPERTY"+ee.type));const Ae=this||ee.target||Me,Oe=Ae[de];let Re;if(le&&Ae===Se&&"error"===ee.type){const et=ee;Re=Oe&&Oe.call(this,et.message,et.filename,et.lineno,et.colno,et.error),!0===Re&&ee.preventDefault()}else Re=Oe&&Oe.apply(this,arguments),null!=Re&&!Re&&ee.preventDefault();return Re};function cn(ee,de,Ae){let Oe=_e(ee,de);if(!Oe&&Ae&&_e(Ae,de)&&(Oe={enumerable:!0,configurable:!0}),!Oe||!Oe.configurable)return;const Re=ie("on"+de+"patched");if(ee.hasOwnProperty(Re)&&ee[Re])return;delete Oe.writable,delete Oe.value;const et=Oe.get,_t=Oe.set,Ue=de.slice(2);let Ie=Fe[Ue];Ie||(Ie=Fe[Ue]=ie("ON_PROPERTY"+Ue)),Oe.set=function(zt){let Vt=this;!Vt&&ee===Me&&(Vt=Me),Vt&&("function"==typeof Vt[Ie]&&Vt.removeEventListener(Ue,fn),_t&&_t.call(Vt,null),Vt[Ie]=zt,"function"==typeof zt&&Vt.addEventListener(Ue,fn,!1))},Oe.get=function(){let zt=this;if(!zt&&ee===Me&&(zt=Me),!zt)return null;const Vt=zt[Ie];if(Vt)return Vt;if(et){let qt=et.call(this);if(qt)return Oe.set.call(this,qt),"function"==typeof zt.removeAttribute&&zt.removeAttribute(de),qt}return null},U(ee,de,Oe),ee[Re]=!0}function nt(ee,de,Ae){if(de)for(let Oe=0;Oe<de.length;Oe++)cn(ee,"on"+de[Oe],Ae);else{const Oe=[];for(const Re in ee)"on"==Re.slice(0,2)&&Oe.push(Re);for(let Re=0;Re<Oe.length;Re++)cn(ee,Oe[Re],Ae)}}const pt=ie("originalInstance");function te(ee){const de=Me[ee];if(!de)return;Me[ie(ee)]=de,Me[ee]=function(){const Re=Et(arguments,ee);switch(Re.length){case 0:this[pt]=new de;break;case 1:this[pt]=new de(Re[0]);break;case 2:this[pt]=new de(Re[0],Re[1]);break;case 3:this[pt]=new de(Re[0],Re[1],Re[2]);break;case 4:this[pt]=new de(Re[0],Re[1],Re[2],Re[3]);break;default:throw new Error("Arg list too long.")}},ht(Me[ee],de);const Ae=new de(function(){});let Oe;for(Oe in Ae)"XMLHttpRequest"===ee&&"responseBlob"===Oe||function(Re){"function"==typeof Ae[Re]?Me[ee].prototype[Re]=function(){return this[pt][Re].apply(this[pt],arguments)}:U(Me[ee].prototype,Re,{set:function(et){"function"==typeof et?(this[pt][Re]=L(et,ee+"."+Re),ht(this[pt][Re],et)):this[pt][Re]=et},get:function(){return this[pt][Re]}})}(Oe);for(Oe in de)"prototype"!==Oe&&de.hasOwnProperty(Oe)&&(Me[ee][Oe]=de[Oe])}function xe(ee,de,Ae){let Oe=ee;for(;Oe&&!Oe.hasOwnProperty(de);)Oe=S(Oe);!Oe&&ee[de]&&(Oe=ee);const Re=ie(de);let et=null;if(Oe&&(!(et=Oe[Re])||!Oe.hasOwnProperty(Re))&&(et=Oe[Re]=Oe[de],Ee(Oe&&_e(Oe,de)))){const Ue=Ae(et,Re,de);Oe[de]=function(){return Ue(this,arguments)},ht(Oe[de],et)}return et}function Lt(ee,de,Ae){let Oe=null;function Re(et){const _t=et.data;return _t.args[_t.cbIdx]=function(){et.invoke.apply(this,arguments)},Oe.apply(_t.target,_t.args),et}Oe=xe(ee,de,et=>function(_t,Ue){const Ie=Ae(_t,Ue);return Ie.cbIdx>=0&&"function"==typeof Ue[Ie.cbIdx]?Y(Ie.name,Ue[Ie.cbIdx],Ie,Re):et.apply(_t,Ue)})}function ht(ee,de){ee[ie("OriginalDelegate")]=de}let In=!1,Nn=!1;function en(){if(In)return Nn;In=!0;try{const ee=Se.navigator.userAgent;(-1!==ee.indexOf("MSIE ")||-1!==ee.indexOf("Trident/")||-1!==ee.indexOf("Edge/"))&&(Nn=!0)}catch{}return Nn}Zone.__load_patch("ZoneAwarePromise",(ee,de,Ae)=>{const Oe=Object.getOwnPropertyDescriptor,Re=Object.defineProperty,_t=Ae.symbol,Ue=[],Ie=!0===ee[_t("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],zt=_t("Promise"),Vt=_t("then");Ae.onUnhandledError=Je=>{if(Ae.showUncaughtError()){const ut=Je&&Je.rejection;ut?console.error("Unhandled Promise rejection:",ut instanceof Error?ut.message:ut,"; Zone:",Je.zone.name,"; Task:",Je.task&&Je.task.source,"; Value:",ut,ut instanceof Error?ut.stack:void 0):console.error(Je)}},Ae.microtaskDrainDone=()=>{for(;Ue.length;){const Je=Ue.shift();try{Je.zone.runGuarded(()=>{throw Je.throwOriginal?Je.rejection:Je})}catch(ut){re(ut)}}};const A=_t("unhandledPromiseRejectionHandler");function re(Je){Ae.onUnhandledError(Je);try{const ut=de[A];"function"==typeof ut&&ut.call(this,Je)}catch{}}function ae(Je){return Je&&Je.then}function ce(Je){return Je}function ot(Je){return K.reject(Je)}const Be=_t("state"),Le=_t("value"),He=_t("finally"),bt=_t("parentPromiseValue"),Mt=_t("parentPromiseState"),Ot=null,an=!1;function At(Je,ut){return Te=>{try{M(Je,ut,Te)}catch(at){M(Je,!1,at)}}}const Wt=function(){let Je=!1;return function(Te){return function(){Je||(Je=!0,Te.apply(null,arguments))}}},P=_t("currentTaskTrace");function M(Je,ut,Te){const at=Wt();if(Je===Te)throw new TypeError("Promise resolved with itself");if(Je[Be]===Ot){let St=null;try{("object"==typeof Te||"function"==typeof Te)&&(St=Te&&Te.then)}catch(It){return at(()=>{M(Je,!1,It)})(),Je}if(ut!==an&&Te instanceof K&&Te.hasOwnProperty(Be)&&Te.hasOwnProperty(Le)&&Te[Be]!==Ot)j(Te),M(Je,Te[Be],Te[Le]);else if(ut!==an&&"function"==typeof St)try{St.call(Te,at(At(Je,ut)),at(At(Je,!1)))}catch(It){at(()=>{M(Je,!1,It)})()}else{Je[Be]=ut;const It=Je[Le];if(Je[Le]=Te,Je[He]===He&&!0===ut&&(Je[Be]=Je[Mt],Je[Le]=Je[bt]),ut===an&&Te instanceof Error){const Pt=de.currentTask&&de.currentTask.data&&de.currentTask.data.__creationTrace__;Pt&&Re(Te,P,{configurable:!0,enumerable:!1,writable:!0,value:Pt})}for(let Pt=0;Pt<It.length;)Ce(Je,It[Pt++],It[Pt++],It[Pt++],It[Pt++]);if(0==It.length&&ut==an){Je[Be]=0;let Pt=Te;try{throw new Error("Uncaught (in promise): "+function et(Je){return Je&&Je.toString===Object.prototype.toString?(Je.constructor&&Je.constructor.name||"")+": "+JSON.stringify(Je):Je?Je.toString():Object.prototype.toString.call(Je)}(Te)+(Te&&Te.stack?"\n"+Te.stack:""))}catch(Ke){Pt=Ke}Ie&&(Pt.throwOriginal=!0),Pt.rejection=Te,Pt.promise=Je,Pt.zone=de.current,Pt.task=de.currentTask,Ue.push(Pt),Ae.scheduleMicroTask()}}}return Je}const x=_t("rejectionHandledHandler");function j(Je){if(0===Je[Be]){try{const ut=de[x];ut&&"function"==typeof ut&&ut.call(this,{rejection:Je[Le],promise:Je})}catch{}Je[Be]=an;for(let ut=0;ut<Ue.length;ut++)Je===Ue[ut].promise&&Ue.splice(ut,1)}}function Ce(Je,ut,Te,at,St){j(Je);const It=Je[Be],Pt=It?"function"==typeof at?at:ce:"function"==typeof St?St:ot;ut.scheduleMicroTask("Promise.then",()=>{try{const Ke=Je[Le],wt=!!Te&&He===Te[He];wt&&(Te[bt]=Ke,Te[Mt]=It);const Bt=ut.run(Pt,void 0,wt&&Pt!==ot&&Pt!==ce?[]:[Ke]);M(Te,!0,Bt)}catch(Ke){M(Te,!1,Ke)}},Te)}const mt=function(){},Ze=ee.AggregateError;class K{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(ut){return M(new this(null),!0,ut)}static reject(ut){return M(new this(null),an,ut)}static any(ut){if(!ut||"function"!=typeof ut[Symbol.iterator])return Promise.reject(new Ze([],"All promises were rejected"));const Te=[];let at=0;try{for(let Pt of ut)at++,Te.push(K.resolve(Pt))}catch{return Promise.reject(new Ze([],"All promises were rejected"))}if(0===at)return Promise.reject(new Ze([],"All promises were rejected"));let St=!1;const It=[];return new K((Pt,Ke)=>{for(let wt=0;wt<Te.length;wt++)Te[wt].then(Bt=>{St||(St=!0,Pt(Bt))},Bt=>{It.push(Bt),at--,0===at&&(St=!0,Ke(new Ze(It,"All promises were rejected")))})})}static race(ut){let Te,at,St=new this((Ke,wt)=>{Te=Ke,at=wt});function It(Ke){Te(Ke)}function Pt(Ke){at(Ke)}for(let Ke of ut)ae(Ke)||(Ke=this.resolve(Ke)),Ke.then(It,Pt);return St}static all(ut){return K.allWithCallback(ut)}static allSettled(ut){return(this&&this.prototype instanceof K?this:K).allWithCallback(ut,{thenCallback:at=>({status:"fulfilled",value:at}),errorCallback:at=>({status:"rejected",reason:at})})}static allWithCallback(ut,Te){let at,St,It=new this((Bt,pn)=>{at=Bt,St=pn}),Pt=2,Ke=0;const wt=[];for(let Bt of ut){ae(Bt)||(Bt=this.resolve(Bt));const pn=Ke;try{Bt.then(Sn=>{wt[pn]=Te?Te.thenCallback(Sn):Sn,Pt--,0===Pt&&at(wt)},Sn=>{Te?(wt[pn]=Te.errorCallback(Sn),Pt--,0===Pt&&at(wt)):St(Sn)})}catch(Sn){St(Sn)}Pt++,Ke++}return Pt-=2,0===Pt&&at(wt),It}constructor(ut){const Te=this;if(!(Te instanceof K))throw new Error("Must be an instanceof Promise.");Te[Be]=Ot,Te[Le]=[];try{const at=Wt();ut&&ut(at(At(Te,!0)),at(At(Te,an)))}catch(at){M(Te,!1,at)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return K}then(ut,Te){var at;let St=null===(at=this.constructor)||void 0===at?void 0:at[Symbol.species];(!St||"function"!=typeof St)&&(St=this.constructor||K);const It=new St(mt),Pt=de.current;return this[Be]==Ot?this[Le].push(Pt,It,ut,Te):Ce(this,Pt,It,ut,Te),It}catch(ut){return this.then(null,ut)}finally(ut){var Te;let at=null===(Te=this.constructor)||void 0===Te?void 0:Te[Symbol.species];(!at||"function"!=typeof at)&&(at=K);const St=new at(mt);St[He]=He;const It=de.current;return this[Be]==Ot?this[Le].push(It,St,ut,ut):Ce(this,It,St,ut,ut),St}}K.resolve=K.resolve,K.reject=K.reject,K.race=K.race,K.all=K.all;const be=ee[zt]=ee.Promise;ee.Promise=K;const jt=_t("thenPatched");function Qt(Je){const ut=Je.prototype,Te=Oe(ut,"then");if(Te&&(!1===Te.writable||!Te.configurable))return;const at=ut.then;ut[Vt]=at,Je.prototype.then=function(St,It){return new K((Ke,wt)=>{at.call(this,Ke,wt)}).then(St,It)},Je[jt]=!0}return Ae.patchThen=Qt,be&&(Qt(be),xe(ee,"fetch",Je=>function sn(Je){return function(ut,Te){let at=Je.apply(ut,Te);if(at instanceof K)return at;let St=at.constructor;return St[jt]||Qt(St),at}}(Je))),Promise[de.__symbol__("uncaughtPromiseErrors")]=Ue,K}),Zone.__load_patch("toString",ee=>{const de=Function.prototype.toString,Ae=ie("OriginalDelegate"),Oe=ie("Promise"),Re=ie("Error"),et=function(){if("function"==typeof this){const zt=this[Ae];if(zt)return"function"==typeof zt?de.call(zt):Object.prototype.toString.call(zt);if(this===Promise){const Vt=ee[Oe];if(Vt)return de.call(Vt)}if(this===Error){const Vt=ee[Re];if(Vt)return de.call(Vt)}}return de.call(this)};et[Ae]=de,Function.prototype.toString=et;const _t=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":_t.call(this)}});let Ge=!1;if(typeof window<"u")try{const ee=Object.defineProperty({},"passive",{get:function(){Ge=!0}});window.addEventListener("test",ee,ee),window.removeEventListener("test",ee,ee)}catch{Ge=!1}const Qe={useG:!0},it={},Dn={},mn=new RegExp("^"+W+"(\\w+)(true|false)$"),qn=ie("propagationStopped");function Vn(ee,de){const Ae=(de?de(ee):ee)+Z,Oe=(de?de(ee):ee)+X,Re=W+Ae,et=W+Oe;it[ee]={},it[ee][Z]=Re,it[ee][X]=et}function Tn(ee,de,Ae,Oe){const Re=Oe&&Oe.add||ne,et=Oe&&Oe.rm||$,_t=Oe&&Oe.listeners||"eventListeners",Ue=Oe&&Oe.rmAll||"removeAllListeners",Ie=ie(Re),zt="."+Re+":",A=function(Le,He,bt){if(Le.isRemoved)return;const Mt=Le.callback;let Ut;"object"==typeof Mt&&Mt.handleEvent&&(Le.callback=Tt=>Mt.handleEvent(Tt),Le.originalDelegate=Mt);try{Le.invoke(Le,He,[bt])}catch(Tt){Ut=Tt}const Ot=Le.options;return Ot&&"object"==typeof Ot&&Ot.once&&He[et].call(He,bt.type,Le.originalDelegate?Le.originalDelegate:Le.callback,Ot),Ut};function re(Le,He,bt){if(!(He=He||ee.event))return;const Mt=Le||He.target||ee,Ut=Mt[it[He.type][bt?X:Z]];if(Ut){const Ot=[];if(1===Ut.length){const Tt=A(Ut[0],Mt,He);Tt&&Ot.push(Tt)}else{const Tt=Ut.slice();for(let an=0;an<Tt.length&&(!He||!0!==He[qn]);an++){const vt=A(Tt[an],Mt,He);vt&&Ot.push(vt)}}if(1===Ot.length)throw Ot[0];for(let Tt=0;Tt<Ot.length;Tt++){const an=Ot[Tt];de.nativeScheduleMicroTask(()=>{throw an})}}}const ae=function(Le){return re(this,Le,!1)},ce=function(Le){return re(this,Le,!0)};function ot(Le,He){if(!Le)return!1;let bt=!0;He&&void 0!==He.useG&&(bt=He.useG);const Mt=He&&He.vh;let Ut=!0;He&&void 0!==He.chkDup&&(Ut=He.chkDup);let Ot=!1;He&&void 0!==He.rt&&(Ot=He.rt);let Tt=Le;for(;Tt&&!Tt.hasOwnProperty(Re);)Tt=S(Tt);if(!Tt&&Le[Re]&&(Tt=Le),!Tt||Tt[Ie])return!1;const an=He&&He.eventNameToString,vt={},At=Tt[Ie]=Tt[Re],Wt=Tt[ie(et)]=Tt[et],pe=Tt[ie(_t)]=Tt[_t],P=Tt[ie(Ue)]=Tt[Ue];let M;function x(Te,at){return!Ge&&"object"==typeof Te&&Te?!!Te.capture:Ge&&at?"boolean"==typeof Te?{capture:Te,passive:!0}:Te?"object"==typeof Te&&!1!==Te.passive?Object.assign(Object.assign({},Te),{passive:!0}):Te:{passive:!0}:Te}He&&He.prepend&&(M=Tt[ie(He.prepend)]=Tt[He.prepend]);const K=bt?function(Te){if(!vt.isExisting)return At.call(vt.target,vt.eventName,vt.capture?ce:ae,vt.options)}:function(Te){return At.call(vt.target,vt.eventName,Te.invoke,vt.options)},be=bt?function(Te){if(!Te.isRemoved){const at=it[Te.eventName];let St;at&&(St=at[Te.capture?X:Z]);const It=St&&Te.target[St];if(It)for(let Pt=0;Pt<It.length;Pt++)if(It[Pt]===Te){It.splice(Pt,1),Te.isRemoved=!0,0===It.length&&(Te.allRemoved=!0,Te.target[St]=null);break}}if(Te.allRemoved)return Wt.call(Te.target,Te.eventName,Te.capture?ce:ae,Te.options)}:function(Te){return Wt.call(Te.target,Te.eventName,Te.invoke,Te.options)},Qt=He&&He.diff?He.diff:function(Te,at){const St=typeof at;return"function"===St&&Te.callback===at||"object"===St&&Te.originalDelegate===at},sn=Zone[ie("UNPATCHED_EVENTS")],Je=ee[ie("PASSIVE_EVENTS")],ut=function(Te,at,St,It,Pt=!1,Ke=!1){return function(){const wt=this||ee;let Bt=arguments[0];He&&He.transferEventName&&(Bt=He.transferEventName(Bt));let pn=arguments[1];if(!pn)return Te.apply(this,arguments);if(me&&"uncaughtException"===Bt)return Te.apply(this,arguments);let Sn=!1;if("function"!=typeof pn){if(!pn.handleEvent)return Te.apply(this,arguments);Sn=!0}if(Mt&&!Mt(Te,pn,wt,arguments))return;const Qn=Ge&&!!Je&&-1!==Je.indexOf(Bt),lr=x(arguments[2],Qn);if(sn)for(let An=0;An<sn.length;An++)if(Bt===sn[An])return Qn?Te.call(wt,Bt,pn,lr):Te.apply(this,arguments);const er=!!lr&&("boolean"==typeof lr||lr.capture),ui=!(!lr||"object"!=typeof lr)&&lr.once,vi=Zone.current;let Kt=it[Bt];Kt||(Vn(Bt,an),Kt=it[Bt]);const ci=Kt[er?X:Z];let Fr,Or=wt[ci],Nr=!1;if(Or){if(Nr=!0,Ut)for(let An=0;An<Or.length;An++)if(Qt(Or[An],pn))return}else Or=wt[ci]=[];const mr=wt.constructor.name,di=Dn[mr];di&&(Fr=di[Bt]),Fr||(Fr=mr+at+(an?an(Bt):Bt)),vt.options=lr,ui&&(vt.options.once=!1),vt.target=wt,vt.capture=er,vt.eventName=Bt,vt.isExisting=Nr;const Rr=bt?Qe:void 0;Rr&&(Rr.taskData=vt);const _r=vi.scheduleEventTask(Fr,pn,Rr,St,It);return vt.target=null,Rr&&(Rr.taskData=null),ui&&(lr.once=!0),!Ge&&"boolean"==typeof _r.options||(_r.options=lr),_r.target=wt,_r.capture=er,_r.eventName=Bt,Sn&&(_r.originalDelegate=pn),Ke?Or.unshift(_r):Or.push(_r),Pt?wt:void 0}};return Tt[Re]=ut(At,zt,K,be,Ot),M&&(Tt.prependListener=ut(M,".prependListener:",function(Te){return M.call(vt.target,vt.eventName,Te.invoke,vt.options)},be,Ot,!0)),Tt[et]=function(){const Te=this||ee;let at=arguments[0];He&&He.transferEventName&&(at=He.transferEventName(at));const St=arguments[2],It=!!St&&("boolean"==typeof St||St.capture),Pt=arguments[1];if(!Pt)return Wt.apply(this,arguments);if(Mt&&!Mt(Wt,Pt,Te,arguments))return;const Ke=it[at];let wt;Ke&&(wt=Ke[It?X:Z]);const Bt=wt&&Te[wt];if(Bt)for(let pn=0;pn<Bt.length;pn++){const Sn=Bt[pn];if(Qt(Sn,Pt))return Bt.splice(pn,1),Sn.isRemoved=!0,0===Bt.length&&(Sn.allRemoved=!0,Te[wt]=null,"string"==typeof at)&&(Te[W+"ON_PROPERTY"+at]=null),Sn.zone.cancelTask(Sn),Ot?Te:void 0}return Wt.apply(this,arguments)},Tt[_t]=function(){const Te=this||ee;let at=arguments[0];He&&He.transferEventName&&(at=He.transferEventName(at));const St=[],It=ar(Te,an?an(at):at);for(let Pt=0;Pt<It.length;Pt++){const Ke=It[Pt];St.push(Ke.originalDelegate?Ke.originalDelegate:Ke.callback)}return St},Tt[Ue]=function(){const Te=this||ee;let at=arguments[0];if(at){He&&He.transferEventName&&(at=He.transferEventName(at));const St=it[at];if(St){const Ke=Te[St[Z]],wt=Te[St[X]];if(Ke){const Bt=Ke.slice();for(let pn=0;pn<Bt.length;pn++){const Sn=Bt[pn];this[et].call(this,at,Sn.originalDelegate?Sn.originalDelegate:Sn.callback,Sn.options)}}if(wt){const Bt=wt.slice();for(let pn=0;pn<Bt.length;pn++){const Sn=Bt[pn];this[et].call(this,at,Sn.originalDelegate?Sn.originalDelegate:Sn.callback,Sn.options)}}}}else{const St=Object.keys(Te);for(let It=0;It<St.length;It++){const Ke=mn.exec(St[It]);let wt=Ke&&Ke[1];wt&&"removeListener"!==wt&&this[Ue].call(this,wt)}this[Ue].call(this,"removeListener")}if(Ot)return this},ht(Tt[Re],At),ht(Tt[et],Wt),P&&ht(Tt[Ue],P),pe&&ht(Tt[_t],pe),!0}let Be=[];for(let Le=0;Le<Ae.length;Le++)Be[Le]=ot(Ae[Le],Oe);return Be}function ar(ee,de){if(!de){const et=[];for(let _t in ee){const Ue=mn.exec(_t);let Ie=Ue&&Ue[1];if(Ie&&(!de||Ie===de)){const zt=ee[_t];if(zt)for(let Vt=0;Vt<zt.length;Vt++)et.push(zt[Vt])}}return et}let Ae=it[de];Ae||(Vn(de),Ae=it[de]);const Oe=ee[Ae[Z]],Re=ee[Ae[X]];return Oe?Re?Oe.concat(Re):Oe.slice():Re?Re.slice():[]}function De(ee,de){const Ae=ee.Event;Ae&&Ae.prototype&&de.patchMethod(Ae.prototype,"stopImmediatePropagation",Oe=>function(Re,et){Re[qn]=!0,Oe&&Oe.apply(Re,et)})}function Ve(ee,de,Ae,Oe,Re){const et=Zone.__symbol__(Oe);if(de[et])return;const _t=de[et]=de[Oe];de[Oe]=function(Ue,Ie,zt){return Ie&&Ie.prototype&&Re.forEach(function(Vt){const qt=`${Ae}.${Oe}::`+Vt,A=Ie.prototype;try{if(A.hasOwnProperty(Vt)){const re=ee.ObjectGetOwnPropertyDescriptor(A,Vt);re&&re.value?(re.value=ee.wrapWithCurrentZone(re.value,qt),ee._redefineProperty(Ie.prototype,Vt,re)):A[Vt]&&(A[Vt]=ee.wrapWithCurrentZone(A[Vt],qt))}else A[Vt]&&(A[Vt]=ee.wrapWithCurrentZone(A[Vt],qt))}catch{}}),_t.call(de,Ue,Ie,zt)},ee.attachOriginToPatched(de[Oe],_t)}function ve(ee,de,Ae){if(!Ae||0===Ae.length)return de;const Oe=Ae.filter(et=>et.target===ee);if(!Oe||0===Oe.length)return de;const Re=Oe[0].ignoreProperties;return de.filter(et=>-1===Re.indexOf(et))}function Pe(ee,de,Ae,Oe){ee&&nt(ee,ve(ee,de,Ae),Oe)}function ct(ee){return Object.getOwnPropertyNames(ee).filter(de=>de.startsWith("on")&&de.length>2).map(de=>de.substring(2))}Zone.__load_patch("util",(ee,de,Ae)=>{const Oe=ct(ee);Ae.patchOnProperties=nt,Ae.patchMethod=xe,Ae.bindArguments=Et,Ae.patchMacroTask=Lt;const Re=de.__symbol__("BLACK_LISTED_EVENTS"),et=de.__symbol__("UNPATCHED_EVENTS");ee[et]&&(ee[Re]=ee[et]),ee[Re]&&(de[Re]=de[et]=ee[Re]),Ae.patchEventPrototype=De,Ae.patchEventTarget=Tn,Ae.isIEOrEdge=en,Ae.ObjectDefineProperty=U,Ae.ObjectGetOwnPropertyDescriptor=_e,Ae.ObjectCreate=l,Ae.ArraySlice=m,Ae.patchClass=te,Ae.wrapWithCurrentZone=L,Ae.filterProperties=ve,Ae.attachOriginToPatched=ht,Ae._redefineProperty=Object.defineProperty,Ae.patchCallbacks=Ve,Ae.getGlobalObjects=()=>({globalSources:Dn,zoneSymbolEventNames:it,eventNames:Oe,isBrowser:le,isMix:yt,isNode:me,TRUE_STR:X,FALSE_STR:Z,ZONE_SYMBOL_PREFIX:W,ADD_EVENT_LISTENER_STR:ne,REMOVE_EVENT_LISTENER_STR:$})});const Ht=ie("zoneTask");function Rt(ee,de,Ae,Oe){let Re=null,et=null;Ae+=Oe;const _t={};function Ue(zt){const Vt=zt.data;return Vt.args[0]=function(){return zt.invoke.apply(this,arguments)},Vt.handleId=Re.apply(ee,Vt.args),zt}function Ie(zt){return et.call(ee,zt.data.handleId)}Re=xe(ee,de+=Oe,zt=>function(Vt,qt){if("function"==typeof qt[0]){const A={isPeriodic:"Interval"===Oe,delay:"Timeout"===Oe||"Interval"===Oe?qt[1]||0:void 0,args:qt},re=qt[0];qt[0]=function(){try{return re.apply(this,arguments)}finally{A.isPeriodic||("number"==typeof A.handleId?delete _t[A.handleId]:A.handleId&&(A.handleId[Ht]=null))}};const ae=Y(de,qt[0],A,Ue,Ie);if(!ae)return ae;const ce=ae.data.handleId;return"number"==typeof ce?_t[ce]=ae:ce&&(ce[Ht]=ae),ce&&ce.ref&&ce.unref&&"function"==typeof ce.ref&&"function"==typeof ce.unref&&(ae.ref=ce.ref.bind(ce),ae.unref=ce.unref.bind(ce)),"number"==typeof ce||ce?ce:ae}return zt.apply(ee,qt)}),et=xe(ee,Ae,zt=>function(Vt,qt){const A=qt[0];let re;"number"==typeof A?re=_t[A]:(re=A&&A[Ht],re||(re=A)),re&&"string"==typeof re.type?"notScheduled"!==re.state&&(re.cancelFn&&re.data.isPeriodic||0===re.runCount)&&("number"==typeof A?delete _t[A]:A&&(A[Ht]=null),re.zone.cancelTask(re)):zt.apply(ee,qt)})}Zone.__load_patch("legacy",ee=>{const de=ee[Zone.__symbol__("legacyPatch")];de&&de()}),Zone.__load_patch("queueMicrotask",(ee,de,Ae)=>{Ae.patchMethod(ee,"queueMicrotask",Oe=>function(Re,et){de.current.scheduleMicroTask("queueMicrotask",et[0])})}),Zone.__load_patch("timers",ee=>{const Ae="clear";Rt(ee,"set",Ae,"Timeout"),Rt(ee,"set",Ae,"Interval"),Rt(ee,"set",Ae,"Immediate")}),Zone.__load_patch("requestAnimationFrame",ee=>{Rt(ee,"request","cancel","AnimationFrame"),Rt(ee,"mozRequest","mozCancel","AnimationFrame"),Rt(ee,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(ee,de)=>{const Ae=["alert","prompt","confirm"];for(let Oe=0;Oe<Ae.length;Oe++)xe(ee,Ae[Oe],(et,_t,Ue)=>function(Ie,zt){return de.current.run(et,ee,zt,Ue)})}),Zone.__load_patch("EventTarget",(ee,de,Ae)=>{(function Un(ee,de){de.patchEventPrototype(ee,de)})(ee,Ae),function Zt(ee,de){if(Zone[de.symbol("patchEventTarget")])return;const{eventNames:Ae,zoneSymbolEventNames:Oe,TRUE_STR:Re,FALSE_STR:et,ZONE_SYMBOL_PREFIX:_t}=de.getGlobalObjects();for(let Ie=0;Ie<Ae.length;Ie++){const zt=Ae[Ie],A=_t+(zt+et),re=_t+(zt+Re);Oe[zt]={},Oe[zt][et]=A,Oe[zt][Re]=re}const Ue=ee.EventTarget;Ue&&Ue.prototype&&de.patchEventTarget(ee,de,[Ue&&Ue.prototype])}(ee,Ae);const Oe=ee.XMLHttpRequestEventTarget;Oe&&Oe.prototype&&Ae.patchEventTarget(ee,Ae,[Oe.prototype])}),Zone.__load_patch("MutationObserver",(ee,de,Ae)=>{te("MutationObserver"),te("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(ee,de,Ae)=>{te("IntersectionObserver")}),Zone.__load_patch("FileReader",(ee,de,Ae)=>{te("FileReader")}),Zone.__load_patch("on_property",(ee,de,Ae)=>{!function ft(ee,de){if(me&&!yt||Zone[ee.symbol("patchEvents")])return;const Ae=de.__Zone_ignore_on_properties;let Oe=[];if(le){const Re=window;Oe=Oe.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const et=function nn(){try{const ee=Se.navigator.userAgent;if(-1!==ee.indexOf("MSIE ")||-1!==ee.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:Re,ignoreProperties:["error"]}]:[];Pe(Re,ct(Re),Ae&&Ae.concat(et),S(Re))}Oe=Oe.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let Re=0;Re<Oe.length;Re++){const et=de[Oe[Re]];et&&et.prototype&&Pe(et.prototype,ct(et.prototype),Ae)}}(Ae,ee)}),Zone.__load_patch("customElements",(ee,de,Ae)=>{!function Mr(ee,de){const{isBrowser:Ae,isMix:Oe}=de.getGlobalObjects();(Ae||Oe)&&ee.customElements&&"customElements"in ee&&de.patchCallbacks(de,ee.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(ee,Ae)}),Zone.__load_patch("XHR",(ee,de)=>{!function Ie(zt){const Vt=zt.XMLHttpRequest;if(!Vt)return;const qt=Vt.prototype;let re=qt[H],ae=qt[z];if(!re){const vt=zt.XMLHttpRequestEventTarget;if(vt){const At=vt.prototype;re=At[H],ae=At[z]}}const ce="readystatechange",ot="scheduled";function Be(vt){const At=vt.data,Wt=At.target;Wt[et]=!1,Wt[Ue]=!1;const pe=Wt[Re];re||(re=Wt[H],ae=Wt[z]),pe&&ae.call(Wt,ce,pe);const P=Wt[Re]=()=>{if(Wt.readyState===Wt.DONE)if(!At.aborted&&Wt[et]&&vt.state===ot){const x=Wt[de.__symbol__("loadfalse")];if(0!==Wt.status&&x&&x.length>0){const j=vt.invoke;vt.invoke=function(){const Ce=Wt[de.__symbol__("loadfalse")];for(let rt=0;rt<Ce.length;rt++)Ce[rt]===vt&&Ce.splice(rt,1);!At.aborted&&vt.state===ot&&j.call(vt)},x.push(vt)}else vt.invoke()}else!At.aborted&&!1===Wt[et]&&(Wt[Ue]=!0)};return re.call(Wt,ce,P),Wt[Ae]||(Wt[Ae]=vt),Tt.apply(Wt,At.args),Wt[et]=!0,vt}function Le(){}function He(vt){const At=vt.data;return At.aborted=!0,an.apply(At.target,At.args)}const bt=xe(qt,"open",()=>function(vt,At){return vt[Oe]=0==At[2],vt[_t]=At[1],bt.apply(vt,At)}),Ut=ie("fetchTaskAborting"),Ot=ie("fetchTaskScheduling"),Tt=xe(qt,"send",()=>function(vt,At){if(!0===de.current[Ot]||vt[Oe])return Tt.apply(vt,At);{const Wt={target:vt,url:vt[_t],isPeriodic:!1,args:At,aborted:!1},pe=Y("XMLHttpRequest.send",Le,Wt,Be,He);vt&&!0===vt[Ue]&&!Wt.aborted&&pe.state===ot&&pe.invoke()}}),an=xe(qt,"abort",()=>function(vt,At){const Wt=function A(vt){return vt[Ae]}(vt);if(Wt&&"string"==typeof Wt.type){if(null==Wt.cancelFn||Wt.data&&Wt.data.aborted)return;Wt.zone.cancelTask(Wt)}else if(!0===de.current[Ut])return an.apply(vt,At)})}(ee);const Ae=ie("xhrTask"),Oe=ie("xhrSync"),Re=ie("xhrListener"),et=ie("xhrScheduled"),_t=ie("xhrURL"),Ue=ie("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",ee=>{ee.navigator&&ee.navigator.geolocation&&function gt(ee,de){const Ae=ee.constructor.name;for(let Oe=0;Oe<de.length;Oe++){const Re=de[Oe],et=ee[Re];if(et){if(!Ee(_e(ee,Re)))continue;ee[Re]=(Ue=>{const Ie=function(){return Ue.apply(this,Et(arguments,Ae+"."+Re))};return ht(Ie,Ue),Ie})(et)}}}(ee.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(ee,de)=>{function Ae(Oe){return function(Re){ar(ee,Oe).forEach(_t=>{const Ue=ee.PromiseRejectionEvent;if(Ue){const Ie=new Ue(Oe,{promise:Re.promise,reason:Re.rejection});_t.invoke(Ie)}})}}ee.PromiseRejectionEvent&&(de[ie("unhandledPromiseRejectionHandler")]=Ae("unhandledrejection"),de[ie("rejectionHandledHandler")]=Ae("rejectionhandled"))})},7340:(_e,U,S)=>{"use strict";S.d(U,{LC:()=>m,SB:()=>W,X$:()=>$,ZE:()=>Ee,ZN:()=>gt,_j:()=>l,eR:()=>Y,jt:()=>H,k1:()=>qe,l3:()=>ne,oB:()=>Z,vP:()=>X});class l{}class m{}const ne="*";function $(me,le){return{type:7,name:me,definitions:le,options:{}}}function H(me,le=null){return{type:4,styles:le,timings:me}}function X(me,le=null){return{type:2,steps:me,options:le}}function Z(me){return{type:6,styles:me,offset:null}}function W(me,le,yt){return{type:0,name:me,styles:le,options:yt}}function Y(me,le,yt=null){return{type:1,expr:me,animation:le,options:yt}}function Et(me){Promise.resolve(null).then(me)}class gt{constructor(le=0,yt=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=le+yt}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}onStart(le){this._onStartFns.push(le)}onDone(le){this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Et(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(le=>le()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(le){this._position=this.totalTime?le*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(le){const yt="start"==le?this._onStartFns:this._onDoneFns;yt.forEach(Fe=>Fe()),yt.length=0}}class Ee{constructor(le){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=le;let yt=0,Fe=0,fn=0;const cn=this.players.length;0==cn?Et(()=>this._onFinish()):this.players.forEach(nt=>{nt.onDone(()=>{++yt==cn&&this._onFinish()}),nt.onDestroy(()=>{++Fe==cn&&this._onDestroy()}),nt.onStart(()=>{++fn==cn&&this._onStart()})}),this.totalTime=this.players.reduce((nt,pt)=>Math.max(nt,pt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}init(){this.players.forEach(le=>le.init())}onStart(le){this._onStartFns.push(le)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(le=>le()),this._onStartFns=[])}onDone(le){this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(le=>le.play())}pause(){this.players.forEach(le=>le.pause())}restart(){this.players.forEach(le=>le.restart())}finish(){this._onFinish(),this.players.forEach(le=>le.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(le=>le.destroy()),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this.players.forEach(le=>le.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(le){const yt=le*this.totalTime;this.players.forEach(Fe=>{const fn=Fe.totalTime?Math.min(1,yt/Fe.totalTime):1;Fe.setPosition(fn)})}getPosition(){const le=this.players.reduce((yt,Fe)=>null===yt||Fe.totalTime>yt.totalTime?Fe:yt,null);return null!=le?le.getPosition():0}beforeDestroy(){this.players.forEach(le=>{le.beforeDestroy&&le.beforeDestroy()})}triggerCallback(le){const yt="start"==le?this._onStartFns:this._onDoneFns;yt.forEach(Fe=>Fe()),yt.length=0}}const qe="!"},6895:(_e,U,S)=>{"use strict";S.d(U,{HT:()=>H,JF:()=>Ao,K0:()=>X,Mx:()=>lr,NF:()=>ia,O5:()=>Nr,bD:()=>Oo,ez:()=>ta,mk:()=>er,q:()=>ne,sg:()=>Kt,tP:()=>Jr,w_:()=>z});var l=S(3071);let m=null;function ne(){return m}function H(D){m||(m=D)}class z{}const X=new l.OlP("DocumentToken");function lr(D,N){N=encodeURIComponent(N);for(const E of D.split(";")){const B=E.indexOf("="),[fe,ke]=-1==B?[E,""]:[E.slice(0,B),E.slice(B+1)];if(fe.trim()===N)return decodeURIComponent(ke)}return null}let er=(()=>{class D{constructor(E,B,fe,ke){this._iterableDiffers=E,this._keyValueDiffers=B,this._ngEl=fe,this._renderer=ke,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,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 E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(B=>this._toggleClass(B.key,B.currentValue)),E.forEachChangedItem(B=>this._toggleClass(B.key,B.currentValue)),E.forEachRemovedItem(B=>{B.previousValue&&this._toggleClass(B.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(B=>{if("string"!=typeof B.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(B.item)}`);this._toggleClass(B.item,!0)}),E.forEachRemovedItem(B=>this._toggleClass(B.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(B=>this._toggleClass(B,!0)):Object.keys(E).forEach(B=>this._toggleClass(B,!!E[B])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(B=>this._toggleClass(B,!1)):Object.keys(E).forEach(B=>this._toggleClass(B,!1)))}_toggleClass(E,B){(E=E.trim())&&E.split(/\s+/g).forEach(fe=>{B?this._renderer.addClass(this._ngEl.nativeElement,fe):this._renderer.removeClass(this._ngEl.nativeElement,fe)})}}return D.\u0275fac=function(E){return new(E||D)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},D.\u0275dir=l.lG2({type:D,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),D})();class vi{constructor(N,E,B,fe){this.$implicit=N,this.ngForOf=E,this.index=B,this.count=fe}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Kt=(()=>{class D{constructor(E,B,fe){this._viewContainer=E,this._template=B,this._differs=fe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const B=this._viewContainer;E.forEachOperation((fe,ke,Ct)=>{if(null==fe.previousIndex)B.createEmbeddedView(this._template,new vi(fe.item,this._ngForOf,-1,-1),null===Ct?void 0:Ct);else if(null==Ct)B.remove(null===ke?void 0:ke);else if(null!==ke){const Yt=B.get(ke);B.move(Yt,Ct),ci(Yt,fe)}});for(let fe=0,ke=B.length;fe<ke;fe++){const Yt=B.get(fe).context;Yt.index=fe,Yt.count=ke,Yt.ngForOf=this._ngForOf}E.forEachIdentityChange(fe=>{ci(B.get(fe.currentIndex),fe)})}static ngTemplateContextGuard(E,B){return!0}}return D.\u0275fac=function(E){return new(E||D)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},D.\u0275dir=l.lG2({type:D,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),D})();function ci(D,N){D.context.$implicit=N.item}let Nr=(()=>{class D{constructor(E,B){this._viewContainer=E,this._context=new Fr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=B}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){mr("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){mr("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,B){return!0}}return D.\u0275fac=function(E){return new(E||D)(l.Y36(l.s_b),l.Y36(l.Rgc))},D.\u0275dir=l.lG2({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),D})();class Fr{constructor(){this.$implicit=null,this.ngIf=null}}function mr(D,N){if(N&&!N.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,l.AaK)(N)}'.`)}let Jr=(()=>{class D{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(E){if(E.ngTemplateOutlet){const B=this._viewContainerRef;this._viewRef&&B.remove(B.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?B.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return D.\u0275fac=function(E){return new(E||D)(l.Y36(l.s_b))},D.\u0275dir=l.lG2({type:D,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[l.TTD]}),D})(),ta=(()=>{class D{}return D.\u0275fac=function(E){return new(E||D)},D.\u0275mod=l.oAB({type:D}),D.\u0275inj=l.cJS({}),D})();const Oo="browser";function ia(D){return D===Oo}class Ao{}},3071:(_e,U,S)=>{"use strict";S.d(U,{AFp:()=>Jv,ip1:()=>Qv,CZH:()=>Nm,hGG:()=>iD,z2F:()=>jm,sBO:()=>Ub,_Vd:()=>Rh,EJc:()=>Cb,SBq:()=>Nd,qLn:()=>qa,vpe:()=>Xs,OlP:()=>Tr,zs3:()=>Yo,ZZ4:()=>qm,aQg:()=>Ym,soG:()=>Rm,h0i:()=>ec,R0b:()=>Cs,Lbi:()=>_b,g9A:()=>eC,Qsj:()=>fw,FYo:()=>lv,JOm:()=>Go,Rgc:()=>Ld,dDg:()=>rC,GfV:()=>uv,s_b:()=>Vh,ifc:()=>Le,eFA:()=>sC,G48:()=>jb,Gpc:()=>yt,X6Q:()=>Hb,_c5:()=>rD,VLi:()=>Ab,zSh:()=>fd,wAp:()=>Cn,vHH:()=>nt,cg1:()=>cm,kL8:()=>Iy,dqk:()=>Ot,sIi:()=>rl,CqO:()=>B_,QGY:()=>Xg,F4k:()=>V_,RDi:()=>Hn,AaK:()=>qe,qOj:()=>Cd,TTD:()=>co,_Bn:()=>ov,xp6:()=>Uc,uIk:()=>Bl,Tol:()=>ay,Gre:()=>wy,ekj:()=>im,Xpm:()=>rt,lG2:()=>Je,Yz7:()=>Rt,cJS:()=>Zt,oAB:()=>jt,Yjl:()=>ut,Y36:()=>Sd,_UZ:()=>Qg,GkF:()=>Jg,BQk:()=>Th,ynx:()=>Mh,qZA:()=>Eh,TgZ:()=>Dh,EpF:()=>L_,n5z:()=>Fn,Ikx:()=>um,LFG:()=>c,$8M:()=>xi,$Z:()=>k_,NdJ:()=>em,CRH:()=>xv,oxw:()=>$_,Hsn:()=>z_,F$t:()=>G_,Q6J:()=>Zg,s9C:()=>nm,MGl:()=>Sh,hYB:()=>rm,VKq:()=>gv,WLB:()=>mv,kEZ:()=>_v,iGM:()=>Pv,MAs:()=>vh,CHM:()=>zl,oJD:()=>za,LSH:()=>gu,YNc:()=>yh,W1O:()=>Fv,_uU:()=>py,Oqu:()=>sm,hij:()=>Oh,AsE:()=>am,lnq:()=>lm,Gf:()=>Ov});var l=S(6729),m=S(2654),ne=S(2916),$=S(7138),H=S(3489);function z(){return function(t){return t.lift(new X(t))}}class X{constructor(t){this.connectable=t}call(t,n){const{connectable:i}=this;i._refCount++;const o=new Z(t,i),u=n.subscribe(o);return o.closed||(o.connection=i.connect()),u}}class Z extends H.L{constructor(t,n){super(t),this.connectable=n}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const n=t._refCount;if(n<=0)return void(this.connection=null);if(t._refCount=n-1,n>1)return void(this.connection=null);const{connection:i}=this,o=t._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()}}class W extends ne.y{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new m.w,t.add(this.source.subscribe(new Y(this.getSubject(),this))),t.closed&&(this._connection=null,t=m.w.EMPTY)),t}refCount(){return z()(this)}}const L=(()=>{const e=W.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class Y extends l.Yc{constructor(t,n){super(t),this.connectable=n}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const n=t._connection;t._refCount=0,t._subject=null,t._connection=null,n&&n.unsubscribe()}}}class Me{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:i}=this,o=this.subjectFactory(),u=i(o).subscribe(t);return u.add(n.subscribe(o)),u}}function je(){return new l.xQ}function gt(e){for(let t in e)if(e[t]===gt)return t;throw Error("Could not find renamed property on target object.")}function Ee(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function qe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(qe).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 me(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const le=gt({__forward_ref__:gt});function yt(e){return e.__forward_ref__=yt,e.toString=function(){return qe(this())},e}function Fe(e){return fn(e)?e():e}function fn(e){return"function"==typeof e&&e.hasOwnProperty(le)&&e.__forward_ref__===yt}class nt extends Error{constructor(t,n){super(function pt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function te(e){return"string"==typeof e?e:null==e?"":String(e)}function xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():te(e)}function Nn(e,t){const n=t?` in ${t}`:"";throw new nt(-201,`No provider for ${xe(e)} found${n}`)}function ve(e,t){null==e&&function Pe(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Rt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Un(e){return ee(e,Re)||ee(e,_t)}function ee(e,t){return e.hasOwnProperty(t)?e[t]:null}function Oe(e){return e&&(e.hasOwnProperty(et)||e.hasOwnProperty(Ue))?e[et]:null}const Re=gt({\u0275prov:gt}),et=gt({\u0275inj:gt}),_t=gt({ngInjectableDef:gt}),Ue=gt({ngInjectorDef:gt});var Ie=(()=>((Ie=Ie||{})[Ie.Default=0]="Default",Ie[Ie.Host=1]="Host",Ie[Ie.Self=2]="Self",Ie[Ie.SkipSelf=4]="SkipSelf",Ie[Ie.Optional=8]="Optional",Ie))();let zt;function qt(e){const t=zt;return zt=e,t}function A(e,t,n){const i=Un(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ie.Optional?null:void 0!==t?t:void Nn(qe(e),"Injector")}function ae(e){return{toString:e}.toString()}var ce=(()=>((ce=ce||{})[ce.OnPush=0]="OnPush",ce[ce.Default=1]="Default",ce))(),Le=(()=>{return(e=Le||(Le={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Le;var e})();const He=typeof globalThis<"u"&&globalThis,bt=typeof window<"u"&&window,Mt=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Ot=He||typeof global<"u"&&global||bt||Mt,vt={},At=[],Wt=gt({\u0275cmp:gt}),pe=gt({\u0275dir:gt}),P=gt({\u0275pipe:gt}),M=gt({\u0275mod:gt}),x=gt({\u0275fac:gt}),j=gt({__NG_ELEMENT_ID__:gt});let Ce=0;function rt(e){return ae(()=>{const n={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ce.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||At,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Le.Emulated,id:"c",styles:e.styles||At,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,u=e.features,f=e.pipes;return i.id+=Ce++,i.inputs=sn(e.inputs,n),i.outputs=sn(e.outputs),u&&u.forEach(g=>g(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Ze):null,i.pipeDefs=f?()=>("function"==typeof f?f():f).map(K):null,i})}function Ze(e){return Te(e)||function at(e){return e[pe]||null}(e)}function K(e){return function St(e){return e[P]||null}(e)}const be={};function jt(e){return ae(()=>{const t={type:e.type,bootstrap:e.bootstrap||At,declarations:e.declarations||At,imports:e.imports||At,exports:e.exports||At,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(be[e.id]=e.type),t})}function sn(e,t){if(null==e)return vt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],u=o;Array.isArray(o)&&(u=o[1],o=o[0]),n[o]=i,t&&(t[o]=u)}return n}const Je=rt;function ut(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Te(e){return e[Wt]||null}function It(e,t){const n=e[M]||null;if(!n&&!0===t)throw new Error(`Type ${qe(e)} does not have '\u0275mod' property.`);return n}function ii(e){return Array.isArray(e)&&"object"==typeof e[1]}function Xr(e){return Array.isArray(e)&&!0===e[1]}function Mo(e){return 0!=(8&e.flags)}function Xi(e){return 2==(2&e.flags)}function lo(e){return 1==(1&e.flags)}function zr(e){return null!==e.template}function uo(e){return 0!=(512&e[2])}function Bi(e,t){return e.hasOwnProperty(x)?e[x]:null}class xr{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function co(){return Wr}function Wr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Jo),Es}function Es(){const e=xo(this),t=e?.current;if(t){const n=e.previous;if(n===vt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Jo(e,t,n,i){const o=xo(e)||function oa(e,t){return e[Br]=t}(e,{previous:vt,current:null}),u=o.current||(o.current={}),f=o.previous,g=this.declaredInputs[n],_=f[g];u[g]=new xr(_&&_.currentValue,t,f===vt),e[i]=t}co.ngInherit=!0;const Br="__ngSimpleChanges__";function xo(e){return e[Br]||null}let Yt;function Hn(e){Yt=e}function Gn(){return void 0!==Yt?Yt:typeof document<"u"?document:void 0}function xt(e){return!!e.listen}const Rn={createRenderer:(e,t)=>Gn()};function Pn(e){for(;Array.isArray(e);)e=e[0];return e}function to(e,t){return Pn(t[e])}function Cr(e,t){return Pn(t[e.index])}function C(e,t){return e.data[t]}function R(e,t){const n=t[e];return ii(n)?n:n[0]}function ze(e){return 4==(4&e[2])}function tn(e){return 128==(128&e[2])}function jn(e,t){return null==t?null:e[t]}function oi(e){e[18]=0}function Hi(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const un={lFrame:Ar(null),bindingsEnabled:!0};function Ms(){return un.bindingsEnabled}function lt(){return un.lFrame.lView}function zn(){return un.lFrame.tView}function zl(e){return un.lFrame.contextLView=e,e[8]}function kr(){let e=Wl();for(;null!==e&&64===e.type;)e=e.parent;return e}function Wl(){return un.lFrame.currentTNode}function Ci(e,t){const n=un.lFrame;n.currentTNode=e,n.isParent=t}function xa(){return un.lFrame.isParent}function sa(){un.lFrame.isParent=!1}function si(){const e=un.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ho(){return un.lFrame.bindingIndex}function qr(){return un.lFrame.bindingIndex++}function Ui(e){const t=un.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function rc(e,t){const n=un.lFrame;n.bindingIndex=n.bindingRootIndex=e,gl(t)}function gl(e){un.lFrame.currentDirectiveIndex=e}function he(){return un.lFrame.currentQueryIndex}function We(e){un.lFrame.currentQueryIndex=e}function Ne(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function $t(e,t,n){if(n&Ie.SkipSelf){let o=t,u=e;for(;!(o=o.parent,null!==o||n&Ie.Host||(o=Ne(u),null===o||(u=u[15],10&o.type))););if(null===o)return!1;t=o,e=u}const i=un.lFrame=Xn();return i.currentTNode=t,i.lView=e,!0}function wn(e){const t=Xn(),n=e[1];un.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xn(){const e=un.lFrame,t=null===e?null:e.child;return null===t?Ar(e):t}function Ar(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 or(){const e=un.lFrame;return un.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ia=or;function Na(){const e=or();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 ti(){return un.lFrame.selectedIndex}function wi(e){un.lFrame.selectedIndex=e}function fr(){const e=un.lFrame;return C(e.tView,e.selectedIndex)}function _l(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const u=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:g,ngAfterViewInit:_,ngAfterViewChecked:T,ngOnDestroy:I}=u;f&&(e.contentHooks||(e.contentHooks=[])).push(-n,f),g&&((e.contentHooks||(e.contentHooks=[])).push(n,g),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,g)),_&&(e.viewHooks||(e.viewHooks=[])).push(-n,_),T&&((e.viewHooks||(e.viewHooks=[])).push(n,T),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,T)),null!=I&&(e.destroyHooks||(e.destroyHooks=[])).push(n,I)}}function yl(e,t,n){aa(e,t,3,n)}function ts(e,t,n,i){(3&e[2])===n&&aa(e,t,n,i)}function no(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function aa(e,t,n,i){const u=i??-1,f=t.length-1;let g=0;for(let _=void 0!==i?65535&e[18]:0;_<f;_++)if("number"==typeof t[_+1]){if(g=t[_],null!=i&&g>=i)break}else t[_]<0&&(e[18]+=65536),(g<u||-1==u)&&(Ql(e,n,t,_),e[18]=(4294901760&e[18])+_+2),_++}function Ql(e,t,n,i){const o=n[i]<0,u=n[i+1],g=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{u.call(g)}finally{}}}else try{u.call(g)}finally{}}class la{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function ka(e,t,n){const i=xt(e);let o=0;for(;o<n.length;){const u=n[o];if("number"==typeof u){if(0!==u)break;o++;const f=n[o++],g=n[o++],_=n[o++];i?e.setAttribute(t,g,_,f):t.setAttributeNS(f,g,_)}else{const f=u,g=n[++o];Os(f)?i&&e.setProperty(t,f,g):i?e.setAttribute(t,f,g):t.setAttribute(f,g),o++}}return o}function ca(e){return 3===e||4===e||6===e}function Os(e){return 64===e.charCodeAt(0)}function xs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||Jl(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function Jl(e,t,n,i,o){let u=0,f=e.length;if(-1===t)f=-1;else for(;u<e.length;){const g=e[u++];if("number"==typeof g){if(g===t){f=-1;break}if(g>t){f=u-1;break}}}for(;u<e.length;){const g=e[u];if("number"==typeof g)break;if(g===n){if(null===i)return void(null!==o&&(e[u+1]=o));if(i===e[u+1])return void(e[u+2]=o)}u++,null!==i&&u++,null!==o&&u++}-1!==f&&(e.splice(f,0,t),u=f+1),e.splice(u++,0,n),null!==i&&e.splice(u++,0,i),null!==o&&e.splice(u++,0,o)}function wl(e){return-1!==e}function As(e){return 32767&e}function gr(e,t){let n=function sc(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Hr=!0;function La(e){const t=Hr;return Hr=e,t}let bl=0;function Is(e,t){const n=rs(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,ns(i.data,e),ns(t,null),ns(i.blueprint,null));const o=No(e,t),u=e.injectorIndex;if(wl(o)){const f=As(o),g=gr(o,t),_=g[1].data;for(let T=0;T<8;T++)t[u+T]=g[f+T]|_[f+T]}return t[u+8]=o,u}function ns(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function No(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){const u=o[1],f=u.type;if(i=2===f?u.declTNode:1===f?o[6]:null,null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Ns(e,t,n){!function Va(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(j)&&(i=n[j]),null==i&&(i=n[j]=bl++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function ac(e,t,n){if(n&Ie.Optional)return e;Nn(t,"NodeInjector")}function lc(e,t,n,i){if(n&Ie.Optional&&void 0===i&&(i=null),0==(n&(Ie.Self|Ie.Host))){const o=e[9],u=qt(void 0);try{return o?o.get(t,i,n&Ie.Optional):A(t,i,n&Ie.Optional)}finally{qt(u)}}return ac(i,t,n)}function uc(e,t,n,i=Ie.Default,o){if(null!==e){const u=function k(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(j)?e[j]:void 0;return"number"==typeof t?t>=0?255&t:dc:t}(n);if("function"==typeof u){if(!$t(t,e,i))return i&Ie.Host?ac(o,n,i):lc(t,n,i,o);try{const f=u(i);if(null!=f||i&Ie.Optional)return f;Nn(n)}finally{Ia()}}else if("number"==typeof u){let f=null,g=rs(e,t),_=-1,T=i&Ie.Host?t[16][6]:null;for((-1===g||i&Ie.SkipSelf)&&(_=-1===g?No(e,t):t[g+8],-1!==_&&sr(i,!1)?(f=t[1],g=As(_),t=gr(_,t)):g=-1);-1!==g;){const I=t[1];if(Yr(u,g,I.data)){const G=Ba(g,t,n,f,i,T);if(G!==cc)return G}_=t[g+8],-1!==_&&sr(i,t[1].data[g+8]===T)&&Yr(u,g,t)?(f=I,g=As(_),t=gr(_,t)):g=-1}}}return lc(t,n,i,o)}const cc={};function dc(){return new hr(kr(),lt())}function Ba(e,t,n,i,o,u){const f=t[1],g=f.data[e+8],I=Fo(g,f,n,null==i?Xi(g)&&Hr:i!=f&&0!=(3&g.type),o&Ie.Host&&u===g);return null!==I?Fs(t,f,I,g):cc}function Fo(e,t,n,i,o){const u=e.providerIndexes,f=t.data,g=1048575&u,_=e.directiveStart,I=u>>20,se=o?g+I:e.directiveEnd;for(let we=i?g:g+I;we<se;we++){const Ye=f[we];if(we<_&&n===Ye||we>=_&&Ye.type===n)return we}if(o){const we=f[_];if(we&&zr(we)&&we.type===n)return _}return null}function Fs(e,t,n,i){let o=e[n];const u=t.data;if(function oc(e){return e instanceof la}(o)){const f=o;f.resolving&&function Lt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new nt(-200,`Circular dependency in DI detected for ${e}${n}`)}(xe(u[n]));const g=La(f.canSeeViewProviders);f.resolving=!0;const _=f.injectImpl?qt(f.injectImpl):null;$t(e,i,Ie.Default);try{o=e[n]=f.factory(void 0,u,e,i),t.firstCreatePass&&n>=i.directiveStart&&function jd(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:u}=t.type.prototype;if(i){const f=Wr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,f),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,f)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),u&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u))}(n,u[n],t)}finally{null!==_&&qt(_),La(g),f.resolving=!1,Ia()}}return o}function Yr(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function sr(e,t){return!(e&Ie.Self||e&Ie.Host&&t)}class hr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return uc(this._tNode,this._lView,t,i,n)}}function Fn(e){return ae(()=>{const t=e.prototype.constructor,n=t[x]||tu(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const u=o[x]||tu(o);if(u&&u!==n)return u;o=Object.getPrototypeOf(o)}return u=>new u})}function tu(e){return fn(e)?()=>{const t=tu(Fe(e));return t&&t()}:Bi(e)}function xi(e){return function da(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const u=n[o];if(ca(u))break;if(0===u)o+=2;else if("number"==typeof u)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(u===t)return n[o+1];o+=2}}}return null}(kr(),e)}const Ai="__parameters__";function fa(e,t,n){return ae(()=>{const i=function ru(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...u){if(this instanceof o)return i.apply(this,u),this;const f=new o(...u);return g.annotation=f,g;function g(_,T,I){const G=_.hasOwnProperty(Ai)?_[Ai]:Object.defineProperty(_,Ai,{value:[]})[Ai];for(;G.length<=I;)G.push(null);return(G[I]=G[I]||[]).push(f),_}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class Tr{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=Rt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function zi(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),zi(i,t)):t!==e&&t.push(i)}return t}function po(e,t){e.forEach(n=>Array.isArray(n)?po(n,t):t(n))}function fc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function El(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function os(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function ri(e,t,n){let i=ss(e,t);return i>=0?e[1|i]=n:(i=~i,function hc(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ml(e,t){const n=ss(e,t);if(n>=0)return e[1|n]}function ss(e,t){return function go(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const u=i+(o-i>>1),f=e[u<<n];if(t===f)return u<<n;f>t?o=u:i=u+1}return~(o<<n)}(e,t,1)}const mo={},as="__NG_DI_FLAG__",Ua="ngTempTokenPath",Zr=/\n/gm,Pl="__source",_o=gt({provide:String,useValue:gt});let Hs;function $a(e){const t=Hs;return Hs=e,t}function h(e,t=Ie.Default){if(void 0===Hs)throw new nt(203,"");return null===Hs?A(e,void 0,t):Hs.get(e,t&Ie.Optional?null:void 0,t)}function c(e,t=Ie.Default){return(function Vt(){return zt}()||h)(Fe(e),t)}const p=c;function b(e){const t=[];for(let n=0;n<e.length;n++){const i=Fe(e[n]);if(Array.isArray(i)){if(0===i.length)throw new nt(900,"");let o,u=Ie.Default;for(let f=0;f<i.length;f++){const g=i[f],_=q(g);"number"==typeof _?-1===_?o=g.token:u|=_:o=g}t.push(c(o,u))}else t.push(c(i))}return t}function F(e,t){return e[as]=t,e.prototype[as]=t,e}function q(e){return e[as]}const Ft=F(fa("Optional"),8),bn=F(fa("SkipSelf"),4);let js,br;function Gt(e){return function pa(){if(void 0===js&&(js=null,Ot.trustedTypes))try{js=Ot.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return js}()?.createHTML(e)||e}function pi(e){return function hi(){if(void 0===br&&(br=null,Ot.trustedTypes))try{br=Ot.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return br}()?.createHTML(e)||e}class xl{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Pr(e){return e instanceof xl?e.changingThisBreaksApplicationSecurity:e}function Al(e,t){const n=function lu(e){return e instanceof xl&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}class Wd{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Gt(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class cu{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Gt(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Gt(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const f=n.item(o).name;("xmlns:ns1"===f||0===f.indexOf("ns1:"))&&t.removeAttribute(f)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const _c=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,yc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ga(e){return(e=String(e)).match(_c)||e.match(yc)?e:"unsafe:"+e}function Ho(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function so(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const vc=Ho("area,br,col,hr,img,wbr"),Cc=Ho("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),du=Ho("rp,rt"),fu=so(vc,so(Cc,Ho("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),so(du,Ho("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),so(du,Cc)),hu=Ho("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wc=Ho("srcset"),bi=so(hu,wc,Ho("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ho("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),jo=Ho("script,style,template");class op{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!fu.hasOwnProperty(n))return this.sanitizedSomething=!0,!jo.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const u=i.item(o),f=u.name,g=f.toLowerCase();if(!bi.hasOwnProperty(g)){this.sanitizedSomething=!0;continue}let _=u.value;hu[g]&&(_=Ga(_)),wc[g]&&(e=_,_=(e=String(e)).split(",").map(t=>Ga(t.trim())).join(", ")),this.buf.push(" ",f,'="',ma(_),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();fu.hasOwnProperty(n)&&!vc.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ma(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const sp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pu=/([^\#-~ |!])/g;function ma(e){return e.replace(/&/g,"&").replace(sp,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(pu,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Il;function bc(e){return"content"in e&&function Zd(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var yr=(()=>((yr=yr||{})[yr.NONE=0]="NONE",yr[yr.HTML=1]="HTML",yr[yr.STYLE=2]="STYLE",yr[yr.SCRIPT=3]="SCRIPT",yr[yr.URL=4]="URL",yr[yr.RESOURCE_URL=5]="RESOURCE_URL",yr))();function za(e){const t=Us();return t?pi(t.sanitize(yr.HTML,e)||""):Al(e,"HTML")?pi(Pr(e)):function Yd(e,t){let n=null;try{Il=Il||function uu(e){const t=new cu(e);return function qd(){try{return!!(new window.DOMParser).parseFromString(Gt(""),"text/html")}catch{return!1}}()?new Wd(t):t}(e);let i=t?String(t):"";n=Il.getInertBodyElement(i);let o=5,u=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=u,u=n.innerHTML,n=Il.getInertBodyElement(i)}while(i!==u);return Gt((new op).sanitizeChildren(bc(n)||n))}finally{if(n){const i=bc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Gn(),te(e))}function gu(e){const t=Us();return t?t.sanitize(yr.URL,e)||"":Al(e,"URL")?Pr(e):Ga(te(e))}function Us(){const e=lt();return e&&e[12]}const Mc="__ngContext__";function Dr(e,t){e[Mc]=t}function vu(e){const t=function Wa(e){return e[Mc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Fl(e){return e.ngOriginalError}function dp(e,...t){e.error(...t)}class qa{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function _a(e){return e&&e.ngErrorLogger||dp}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Fl(t);for(;n&&Fl(n);)n=Fl(n);return n||null}}const ds=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Ot))();function $o(e){return e instanceof Function?e():e}var Go=(()=>((Go=Go||{})[Go.Important=1]="Important",Go[Go.DashCase=2]="DashCase",Go))();function Ac(e,t){return undefined(e,t)}function Ya(e){const t=e[3];return Xr(t)?t[3]:t}function Mu(e){return Tu(e[13])}function ya(e){return Tu(e[4])}function Tu(e){for(;null!==e&&!Xr(e);)e=e[4];return e}function va(e,t,n,i,o){if(null!=i){let u,f=!1;Xr(i)?u=i:ii(i)&&(f=!0,i=i[0]);const g=Pn(i);0===e&&null!==n?null==o?Lc(t,n,g):zs(t,n,g,o||null,!0):1===e&&null!==n?zs(t,n,g,o||null,!0):2===e?function yf(e,t,n){const i=Su(e,t);i&&function Pp(e,t,n,i){xt(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,g,f):3===e&&t.destroyNode(g),null!=u&&function xp(e,t,n,i,o){const u=n[7];u!==Pn(n)&&va(t,e,i,u,o);for(let g=10;g<n.length;g++){const _=n[g];Rl(_[1],_,e,t,i,u)}}(t,e,u,n,o)}}function fs(e,t,n){if(xt(e))return e.createElement(t,n);{const i=null!==n?function Ct(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===i?e.createElement(t):e.createElementNS(i,t)}}function lf(e,t){const n=e[9],i=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Hi(o,-1)),n.splice(i,1)}function Fc(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&lf(o,i),t>0&&(e[n-1][4]=i[4]);const u=El(e,10+t);!function wp(e,t){Rl(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const f=u[19];null!==f&&f.detachView(u[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function uf(e,t){if(!(256&t[2])){const n=t[11];xt(n)&&n.destroyNode&&Rl(e,t,n,3,null,null),function Dp(e){let t=e[13];if(!t)return Rc(e[1],e);for(;t;){let n=null;if(ii(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)ii(t)&&Rc(t[1],t),t=t[3];null===t&&(t=e),ii(t)&&Rc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Rc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function Sp(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof la)){const u=n[i+1];if(Array.isArray(u))for(let f=0;f<u.length;f+=2){const g=o[u[f]],_=u[f+1];try{_.call(g)}finally{}}else try{u.call(o)}finally{}}}}(e,t),function Tp(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const f=n[u+1],g="function"==typeof f?f(t):Pn(t[f]),_=i[o=n[u+2]],T=n[u+3];"boolean"==typeof T?g.removeEventListener(n[u],_,T):T>=0?i[o=T]():i[o=-T].unsubscribe(),u+=2}else{const f=i[o=n[u+1]];n[u].call(f)}if(null!==i){for(let u=o+1;u<i.length;u++)i[u]();t[7]=null}}(e,t),1===t[1].type&&xt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Xr(t[3])){n!==t[3]&&lf(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function cf(e,t,n){return function kc(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const o=e.data[i.directiveStart].encapsulation;if(o===Le.None||o===Le.Emulated)return null}return Cr(i,n)}(e,t.parent,n)}function zs(e,t,n,i,o){xt(e)?e.insertBefore(t,n,i,o):t.insertBefore(n,i,o)}function Lc(e,t,n){xt(e)?e.appendChild(t,n):t.appendChild(n)}function df(e,t,n,i,o){null!==i?zs(e,t,n,i,o):Lc(e,t,n)}function Su(e,t){return xt(e)?e.parentNode(t):t.parentNode}function hf(e,t,n){return gf(e,t,n)}let gf=function pf(e,t,n){return 40&e.type?Cr(e,n):null};function Pu(e,t,n,i){const o=cf(e,i,t),u=t[11],g=hf(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let _=0;_<n.length;_++)df(u,o,n[_],g,!1);else df(u,o,n,g,!1)}function Ei(e,t){if(null!==t){const n=t.type;if(3&n)return Cr(t,e);if(4&n)return Bc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Ei(e,i);{const o=e[t.index];return Xr(o)?Bc(-1,o):Pn(o)}}if(32&n)return Ac(t,e)()||Pn(e[t.index]);{const i=_f(e,t);return null!==i?Array.isArray(i)?i[0]:Ei(Ya(e[16]),i):Ei(e,t.next)}}return null}function _f(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Bc(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return Ei(i,o)}return t[7]}function Ou(e,t,n,i,o,u,f){for(;null!=n;){const g=i[n.index],_=n.type;if(f&&0===t&&(g&&Dr(Pn(g),i),n.flags|=4),64!=(64&n.flags))if(8&_)Ou(e,t,n.child,i,o,u,!1),va(t,e,o,g,u);else if(32&_){const T=Ac(n,i);let I;for(;I=T();)va(t,e,o,I,u);va(t,e,o,g,u)}else 16&_?vf(e,t,i,n,o,u):va(t,e,o,g,u);n=f?n.projectionNext:n.next}}function Rl(e,t,n,i,o,u){Ou(n,i,e.firstChild,t,o,u,!1)}function vf(e,t,n,i,o,u){const f=n[16],_=f[6].projection[i.projection];if(Array.isArray(_))for(let T=0;T<_.length;T++)va(t,e,o,_[T],u);else Ou(e,t,_,f[3],o,u,!0)}function Cf(e,t,n){xt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function jc(e,t,n){xt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function wf(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const u=t.length;if(o+u===i||e.charCodeAt(o+u)<=32)return o}n=o+1}}const bf="ng-template";function Ap(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==wf(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Df(e){return 4===e.type&&e.value!==bf}function Ip(e,t,n){return t===(4!==e.type||n?e.value:bf)}function Np(e,t,n){let i=4;const o=e.attrs||[],u=function kp(e){for(let t=0;t<e.length;t++)if(ca(e[t]))return t;return e.length}(o);let f=!1;for(let g=0;g<t.length;g++){const _=t[g];if("number"!=typeof _){if(!f)if(4&i){if(i=2|1&i,""!==_&&!Ip(e,_,n)||""===_&&1===t.length){if(vo(i))return!1;f=!0}}else{const T=8&i?_:t[++g];if(8&i&&null!==e.attrs){if(!Ap(e.attrs,T,n)){if(vo(i))return!1;f=!0}continue}const G=Fp(8&i?"class":_,o,Df(e),n);if(-1===G){if(vo(i))return!1;f=!0;continue}if(""!==T){let se;se=G>u?"":o[G+1].toLowerCase();const we=8&i?se:null;if(we&&-1!==wf(we,T,0)||2&i&&T!==se){if(vo(i))return!1;f=!0}}}}else{if(!f&&!vo(i)&&!vo(_))return!1;if(f&&vo(_))continue;f=!1,i=_|1&i}}return vo(i)||f}function vo(e){return 0==(1&e)}function Fp(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let u=!1;for(;o<t.length;){const f=t[o];if(f===e)return o;if(3===f||6===f)u=!0;else{if(1===f||2===f){let g=t[++o];for(;"string"==typeof g;)g=t[++o];continue}if(4===f)break;if(0===f){o+=4;continue}}o+=u?1:2}return-1}return function Lp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Ef(e,t,n=!1){for(let i=0;i<t.length;i++)if(Np(e,t[i],n))return!0;return!1}function Vp(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function Mf(e,t){return e?":not("+t.trim()+")":t}function Bp(e){let t=e[0],n=1,i=2,o="",u=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&i){const g=e[++n];o+="["+f+(g.length>0?'="'+g+'"':"")+"]"}else 8&i?o+="."+f:4&i&&(o+=" "+f);else""!==o&&!vo(f)&&(t+=Mf(u,o),o=""),i=f,u=u||!vo(i);n++}return""!==o&&(t+=Mf(u,o)),t}const En={};function Uc(e){Tf(zn(),lt(),ti()+e,!1)}function Tf(e,t,n,i){if(!i)if(3==(3&t[2])){const u=e.preOrderCheckHooks;null!==u&&yl(t,u,n)}else{const u=e.preOrderHooks;null!==u&&ts(t,u,0,n)}wi(n)}function xu(e,t){return e<<17|t<<2}function Co(e){return e>>17&32767}function $c(e){return 2|e}function hs(e){return(131068&e)>>2}function Au(e,t){return-131069&e|t<<2}function Ka(e){return 1|e}function Ff(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],u=n[i+1];if(-1!==u){const f=e.data[u];We(o),f.contentQueries(2,t[u],u)}}}function qs(e,t,n,i,o,u,f,g,_,T){const I=t.blueprint.slice();return I[0]=o,I[2]=140|i,oi(I),I[3]=I[15]=e,I[8]=n,I[10]=f||e&&e[10],I[11]=g||e&&e[11],I[12]=_||e&&e[12]||null,I[9]=T||e&&e[9]||null,I[6]=u,I[16]=2==t.type?e[16]:I,I}function Qa(e,t,n,i,o){let u=e.data[t];if(null===u)u=function td(e,t,n,i,o){const u=Wl(),f=xa(),_=e.data[t]=function tg(e,t,n,i,o,u){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:u,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?u:u&&u.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=_),null!==u&&(f?null==u.child&&null!==_.parent&&(u.child=_):null===u.next&&(u.next=_)),_}(e,t,n,i,o),function Yl(){return un.lFrame.inI18n}()&&(u.flags|=64);else if(64&u.type){u.type=n,u.value=i,u.attrs=o;const f=function ji(){const e=un.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===f?-1:f.injectorIndex}return Ci(u,!0),u}function Ys(e,t,n,i){if(0===n)return-1;const o=t.length;for(let u=0;u<n;u++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function Ja(e,t,n){wn(t);try{const i=e.viewQuery;null!==i&&ki(1,i,n);const o=e.template;null!==o&&Rf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ff(e,t),e.staticViewQueries&&ki(2,e.viewQuery,n);const u=e.components;null!==u&&function ku(e,t){for(let n=0;n<t.length;n++)el(e,t[n])}(t,u)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Na()}}function Xa(e,t,n,i){const o=t[2];if(256!=(256&o)){wn(t);try{oi(t),function es(e){return un.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Rf(e,t,n,2,i);const f=3==(3&o);if(f){const T=e.preOrderCheckHooks;null!==T&&yl(t,T,null)}else{const T=e.preOrderHooks;null!==T&&ts(t,T,0,null),no(t,0)}if(function qf(e){for(let t=Mu(e);null!==t;t=ya(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],u=o[3];0==(1024&o[2])&&Hi(u,1),o[2]|=1024}}}(t),function sg(e){for(let t=Mu(e);null!==t;t=ya(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];tn(i)&&Xa(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&Ff(e,t),f){const T=e.contentCheckHooks;null!==T&&yl(t,T)}else{const T=e.contentHooks;null!==T&&ts(t,T,1),no(t,1)}!function Qp(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)wi(~o);else{const u=o,f=n[++i],g=n[++i];rc(f,u),g(2,t[u])}}}finally{wi(-1)}}(e,t);const g=e.components;null!==g&&function Jp(e,t){for(let n=0;n<t.length;n++)ju(e,t[n])}(t,g);const _=e.viewQuery;if(null!==_&&ki(2,_,i),f){const T=e.viewCheckHooks;null!==T&&yl(t,T)}else{const T=e.viewHooks;null!==T&&ts(t,T,2),no(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,Hi(t[3],-1))}finally{Na()}}}function Xp(e,t,n,i){const o=t[10],f=ze(t);try{!f&&o.begin&&o.begin(),f&&Ja(e,t,i),Xa(e,t,n,i)}finally{!f&&o.end&&o.end()}}function Rf(e,t,n,i,o){const u=ti(),f=2&i;try{wi(-1),f&&t.length>20&&Tf(e,t,20,!1),n(i,o)}finally{wi(u)}}function kf(e,t,n){if(Mo(t)){const o=t.directiveEnd;for(let u=t.directiveStart;u<o;u++){const f=e.data[u];f.contentQueries&&f.contentQueries(1,n[u],u)}}}function nd(e,t,n){!Ms()||(function rg(e,t,n,i){const o=n.directiveStart,u=n.directiveEnd;e.firstCreatePass||Is(n,t),Dr(i,t);const f=n.initialInputs;for(let g=o;g<u;g++){const _=e.data[g],T=zr(_);T&&ig(t,n,_);const I=Fs(t,e,g,n);Dr(I,t),null!==f&&og(0,g-o,I,_,0,f),T&&(R(n.index,t)[8]=I)}}(e,t,n,Cr(n,t)),128==(128&n.flags)&&function gs(e,t,n){const i=n.directiveStart,o=n.directiveEnd,f=n.index,g=function Hd(){return un.lFrame.currentDirectiveIndex}();try{wi(f);for(let _=i;_<o;_++){const T=e.data[_],I=t[_];gl(_),(null!==T.hostBindings||0!==T.hostVars||null!==T.hostAttrs)&&sd(T,I)}}finally{wi(-1),gl(g)}}(e,t,n))}function rd(e,t,n=Cr){const i=t.localNames;if(null!==i){let o=t.index+1;for(let u=0;u<i.length;u+=2){const f=i[u+1],g=-1===f?n(t,e):e[f];e[o++]=g}}}function Lf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Lu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Lu(e,t,n,i,o,u,f,g,_,T){const I=20+i,G=I+o,se=function eg(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:En);return n}(I,G),we="function"==typeof T?T():T;return se[1]={type:e,blueprint:se,template:n,queries:null,viewQuery:g,declTNode:t,data:se.slice().fill(null,I),bindingStartIndex:I,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 u?u():u,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:_,consts:we,incompleteFirstPass:!1}}function ao(e,t,n,i){const o=ir(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&Yf(e).push(i,o.length-1))}function Hf(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const o=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,o):n[i]=[t,o]}return n}function Yi(e,t,n,i,o,u,f,g){const _=Cr(t,n);let I,T=t.inputs;!g&&null!=T&&(I=T[i])?(Zf(e,n,I,i,o),Xi(t)&&function Ri(e,t){const n=R(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function xn(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=f?f(o,t.value||"",i):o,xt(u)?u.setProperty(_,i,o):Os(i)||(_.setProperty?_.setProperty(i,o):_[i]=o))}function id(e,t,n,i){let o=!1;if(Ms()){const u=function Vu(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let u=0;u<i.length;u++){const f=i[u];Ef(n,f.selectors,!1)&&(o||(o=[]),Ns(Is(n,t),e,f.type),zr(f)?(Er(e,n),o.unshift(f)):o.push(f))}return o}(e,t,n),f=null===i?null:{"":-1};if(null!==u){o=!0,Gf(n,e.data.length,u.length);for(let I=0;I<u.length;I++){const G=u[I];G.providersResolver&&G.providersResolver(G)}let g=!1,_=!1,T=Ys(e,t,u.length,null);for(let I=0;I<u.length;I++){const G=u[I];n.mergedAttrs=xs(n.mergedAttrs,G.hostAttrs),zf(e,n,t,T,G),$f(T,G,f),null!==G.contentQueries&&(n.flags|=8),(null!==G.hostBindings||null!==G.hostAttrs||0!==G.hostVars)&&(n.flags|=128);const se=G.type.prototype;!g&&(se.ngOnChanges||se.ngOnInit||se.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),g=!0),!_&&(se.ngOnChanges||se.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),_=!0),T++}!function Ca(e,t){const i=t.directiveEnd,o=e.data,u=t.attrs,f=[];let g=null,_=null;for(let T=t.directiveStart;T<i;T++){const I=o[T],G=I.inputs,se=null===u||Df(t)?null:Wf(G,u);f.push(se),g=Hf(G,T,g),_=Hf(I.outputs,T,_)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=16),g.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=f,t.inputs=g,t.outputs=_}(e,n)}f&&function Ir(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const u=n[t[o+1]];if(null==u)throw new nt(-301,!1);i.push(t[o],u)}}}(n,i,f)}return n.mergedAttrs=xs(n.mergedAttrs,n.attrs),o}function Uf(e,t,n,i,o,u){const f=u.hostBindings;if(f){let g=e.hostBindingOpCodes;null===g&&(g=e.hostBindingOpCodes=[]);const _=~t.index;(function od(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(g)!=_&&g.push(_),g.push(i,o,f)}}function sd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Er(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function $f(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;zr(t)&&(n[""]=e)}}function Gf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function zf(e,t,n,i,o){e.data[i]=o;const u=o.factory||(o.factory=Bi(o.type)),f=new la(u,zr(o),null);e.blueprint[i]=f,n[i]=f,Uf(e,t,0,i,Ys(e,n,o.hostVars,En),o)}function ig(e,t,n){const i=Cr(t,e),o=Lf(n),u=e[10],f=Uu(e,qs(e,o,null,n.onPush?64:16,i,t,u,u.createRenderer(i,n),null,null));e[t.index]=f}function Wo(e,t,n,i,o,u){const f=Cr(e,t);!function ad(e,t,n,i,o,u,f){if(null==u)xt(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const g=null==f?te(u):f(u,i||"",o);xt(e)?e.setAttribute(t,o,g,n):n?t.setAttributeNS(n,o,g):t.setAttribute(o,g)}}(t[11],f,u,e.value,n,i,o)}function og(e,t,n,i,o,u){const f=u[t];if(null!==f){const g=i.setInput;for(let _=0;_<f.length;){const T=f[_++],I=f[_++],G=f[_++];null!==g?i.setInput(n,G,T,I):n[I]=G}}}function Wf(e,t){let n=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Hu(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function ju(e,t){const n=R(t,e);if(tn(n)){const i=n[1];80&n[2]?Xa(i,n,i.template,n[8]):n[5]>0&&Mi(n)}}function Mi(e){for(let i=Mu(e);null!==i;i=ya(i))for(let o=10;o<i.length;o++){const u=i[o];if(1024&u[2]){const f=u[1];Xa(f,u,f.template,u[8])}else u[5]>0&&Mi(u)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=R(n[i],e);tn(o)&&o[5]>0&&Mi(o)}}function el(e,t){const n=R(t,e),i=n[1];(function ag(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Ja(i,n,n[8])}function Uu(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ld(e){for(;e;){e[2]|=64;const t=Ya(e);if(uo(e)&&!t)return e;e=t}return null}function qo(e){!function ud(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=vu(n),o=i[1];Xp(o,i,o.template,n)}}(e[8])}function ki(e,t,n){We(0),t(e,n)}const dg=(()=>Promise.resolve(null))();function ir(e){return e[7]||(e[7]=[])}function Yf(e){return e.cleanup||(e.cleanup=[])}function Ll(e,t){const n=e[9],i=n?n.get(qa,null):null;i&&i.handleError(t)}function Zf(e,t,n,i,o){for(let u=0;u<n.length;){const f=n[u++],g=n[u++],_=t[f],T=e.data[f];null!==T.setInput?T.setInput(_,o,i,g):_[g]=o}}function ms(e,t,n){const i=to(t,e);!function Nc(e,t,n){xt(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function Gu(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,u=0;if(null!==t)for(let f=0;f<t.length;f++){const g=t[f];"number"==typeof g?u=g:1==u?o=me(o,g):2==u&&(i=me(i,g+": "+t[++f]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}const dd=new Tr("INJECTOR",-1);class Kf{get(t,n=mo){if(n===mo){const i=new Error(`NullInjectorError: No provider for ${qe(t)}!`);throw i.name="NullInjectorError",i}return n}}const fd=new Tr("Set Injector scope."),Vl={},pg={};let hd;function Qf(){return void 0===hd&&(hd=new Kf),hd}function zu(e,t=null,n=null,i){const o=Jf(e,t,n,i);return o._resolveInjectorDefTypes(),o}function Jf(e,t=null,n=null,i){return new pd(e,n,t||Qf(),i)}class pd{constructor(t,n,i,o=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const u=[];n&&po(n,g=>this.processProvider(g,t,n)),po([t],g=>this.processInjectorType(g,[],u)),this.records.set(dd,Qr(void 0,this));const f=this.records.get(fd);this.scope=null!=f?f.value:null,this.source=o||("object"==typeof t?null:qe(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=mo,i=Ie.Default){this.assertNotDestroyed();const o=$a(this),u=qt(void 0);try{if(!(i&Ie.SkipSelf)){let g=this.records.get(t);if(void 0===g){const _=function eh(e){return"function"==typeof e||"object"==typeof e&&e instanceof Tr}(t)&&Un(t);g=_&&this.injectableDefInScope(_)?Qr(gd(t),Vl):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(i&Ie.Self?Qf():this.parent).get(t,n=i&Ie.Optional&&n===mo?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[Ua]=f[Ua]||[]).unshift(qe(t)),o)throw f;return function J(e,t,n,i){const o=e[Ua];throw t[Pl]&&o.unshift(t[Pl]),e.message=function ge(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=qe(t);if(Array.isArray(t))o=t.map(qe).join(" -> ");else if("object"==typeof t){let u=[];for(let f in t)if(t.hasOwnProperty(f)){let g=t[f];u.push(f+":"+("string"==typeof g?JSON.stringify(g):qe(g)))}o=`{${u.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(Zr,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[Ua]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{qt(u),$a(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,o)=>t.push(qe(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new nt(205,!1)}processInjectorType(t,n,i){if(!(t=Fe(t)))return!1;let o=Oe(t);const u=null==o&&t.ngModule||void 0,f=void 0===u?t:u,g=-1!==i.indexOf(f);if(void 0!==u&&(o=Oe(u)),null==o)return!1;if(null!=o.imports&&!g){let I;i.push(f);try{po(o.imports,G=>{this.processInjectorType(G,n,i)&&(void 0===I&&(I=[]),I.push(G))})}finally{}if(void 0!==I)for(let G=0;G<I.length;G++){const{ngModule:se,providers:we}=I[G];po(we,Ye=>this.processProvider(Ye,se,we||At))}}this.injectorDefTypes.add(f);const _=Bi(f)||(()=>new f);this.records.set(f,Qr(_,Vl));const T=o.providers;if(null!=T&&!g){const I=t;po(T,G=>this.processProvider(G,I,T))}return void 0!==u&&void 0!==t.providers}processProvider(t,n,i){let o=ba(t=Fe(t))?t:Fe(t&&t.provide);const u=function mg(e,t,n){return Xf(e)?Qr(void 0,e.useValue):Qr(Kr(e),Vl)}(t);if(ba(t)||!0!==t.multi)this.records.get(o);else{let f=this.records.get(o);f||(f=Qr(void 0,Vl,!0),f.factory=()=>b(f.multi),this.records.set(o,f)),o=t,f.multi.push(t)}this.records.set(o,u)}hydrate(t,n){return n.value===Vl&&(n.value=pg,n.value=n.factory()),"object"==typeof n.value&&n.value&&function wg(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=Fe(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function gd(e){const t=Un(e),n=null!==t?t.factory:Bi(e);if(null!==n)return n;if(e instanceof Tr)throw new nt(204,!1);if(e instanceof Function)return function gg(e){const t=e.length;if(t>0)throw os(t,"?"),new nt(204,!1);const n=function de(e){const t=e&&(e[Re]||e[_t]);if(t){const n=function Ae(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 nt(204,!1)}function Kr(e,t,n){let i;if(ba(e)){const o=Fe(e);return Bi(o)||gd(o)}if(Xf(e))i=()=>Fe(e.useValue);else if(function yg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...b(e.deps||[]));else if(function _g(e){return!(!e||!e.useExisting)}(e))i=()=>c(Fe(e.useExisting));else{const o=Fe(e&&(e.useClass||e.provide));if(!function Cg(e){return!!e.deps}(e))return Bi(o)||gd(o);i=()=>new o(...b(e.deps))}return i}function Qr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xf(e){return null!==e&&"object"==typeof e&&_o in e}function ba(e){return"function"==typeof e}let Yo=(()=>{class e{static create(n,i){if(Array.isArray(n))return zu({name:""},i,n,"");{const o=n.name??"";return zu({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=mo,e.NULL=new Kf,e.\u0275prov=Rt({token:e,providedIn:"any",factory:()=>c(dd)}),e.__NG_ELEMENT_ID__=-1,e})();function xg(e,t){_l(vu(e)[1],kr())}function Cd(e){let t=function ch(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(zr(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new nt(903,"");o=t.\u0275dir}if(o){if(n){i.push(o);const f=e;f.inputs=wd(e.inputs),f.declaredInputs=wd(e.declaredInputs),f.outputs=wd(e.outputs);const g=o.hostBindings;g&&Fg(e,g);const _=o.viewQuery,T=o.contentQueries;if(_&&Ig(e,_),T&&Ng(e,T),Ee(e.inputs,o.inputs),Ee(e.declaredInputs,o.declaredInputs),Ee(e.outputs,o.outputs),zr(o)&&o.data.animation){const I=e.data;I.animation=(I.animation||[]).concat(o.data.animation)}}const u=o.features;if(u)for(let f=0;f<u.length;f++){const g=u[f];g&&g.ngInherit&&g(e),g===Cd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Ag(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=xs(o.hostAttrs,n=xs(n,o.hostAttrs))}}(i)}function wd(e){return e===vt?{}:e===At?[]:e}function Ig(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function Ng(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,u)=>{t(i,o,u),n(i,o,u)}:t}function Fg(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let Wu=null;function nl(){if(!Wu){const e=Ot.Symbol;if(e&&e.iterator)Wu=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Wu=i)}}}return Wu}function rl(e){return!!Dd(e)&&(Array.isArray(e)||!(e instanceof Map)&&nl()in e)}function Dd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Zo(e,t,n){return e[t]=n}function _i(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ea(e,t,n,i){const o=_i(e,t,n);return _i(e,t+1,i)||o}function qu(e,t,n,i,o){const u=Ea(e,t,n,i);return _i(e,t+2,o)||u}function Bl(e,t,n,i){const o=lt();return _i(o,qr(),t)&&(zn(),Wo(fr(),o,e,t,n,i)),Bl}function ol(e,t,n,i){return _i(e,qr(),n)?t+te(n)+i:En}function sl(e,t,n,i,o,u){const g=Ea(e,ho(),n,o);return Ui(2),g?t+te(n)+i+te(o)+u:En}function yh(e,t,n,i,o,u,f,g){const _=lt(),T=zn(),I=e+20,G=T.firstCreatePass?function Bg(e,t,n,i,o,u,f,g,_){const T=t.consts,I=Qa(t,e,4,f||null,jn(T,g));id(t,n,I,jn(T,_)),_l(t,I);const G=I.tViews=Lu(2,I,i,o,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,T);return null!==t.queries&&(t.queries.template(t,I),G.queries=t.queries.embeddedTView(I)),I}(I,T,_,t,n,i,o,u,f):T.data[I];Ci(G,!1);const se=_[11].createComment("");Pu(T,_,se,G),Dr(se,_),Uu(_,_[I]=Hu(se,_,se,G)),lo(G)&&nd(T,_,G),null!=f&&rd(_,G,g)}function vh(e){return function y(e,t){return e[t]}(function Io(){return un.lFrame.contextLView}(),20+e)}function Sd(e,t=Ie.Default){const n=lt();return null===n?c(e,t):uc(kr(),n,Fe(e),t)}function k_(){throw new Error("invalid")}function Zg(e,t,n){const i=lt();return _i(i,qr(),t)&&Yi(zn(),fr(),i,e,t,i[11],n,!1),Zg}function Kg(e,t,n,i,o){const f=o?"class":"style";Zf(e,n,t.inputs[f],f,i)}function Dh(e,t,n,i){const o=lt(),u=zn(),f=20+e,g=o[11],_=o[f]=fs(g,t,function ml(){return un.lFrame.currentNamespace}()),T=u.firstCreatePass?function wC(e,t,n,i,o,u,f){const g=t.consts,T=Qa(t,e,2,o,jn(g,u));return id(t,n,T,jn(g,f)),null!==T.attrs&&Gu(T,T.attrs,!1),null!==T.mergedAttrs&&Gu(T,T.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,T),T}(f,u,o,0,t,n,i):u.data[f];Ci(T,!0);const I=T.mergedAttrs;null!==I&&ka(g,_,I);const G=T.classes;null!==G&&jc(g,_,G);const se=T.styles;return null!==se&&Cf(g,_,se),64!=(64&T.flags)&&Pu(u,o,_,T),0===function fl(){return un.lFrame.elementDepthCount}()&&Dr(_,o),function ei(){un.lFrame.elementDepthCount++}(),lo(T)&&(nd(u,o,T),kf(u,T,o)),null!==i&&rd(o,T),Dh}function Eh(){let e=kr();xa()?sa():(e=e.parent,Ci(e,!1));const t=e;!function hl(){un.lFrame.elementDepthCount--}();const n=zn();return n.firstCreatePass&&(_l(n,e),Mo(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ps(e){return 0!=(16&e.flags)}(t)&&Kg(n,t,lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cl(e){return 0!=(32&e.flags)}(t)&&Kg(n,t,lt(),t.stylesWithoutHost,!1),Eh}function Qg(e,t,n,i){return Dh(e,t,n,i),Eh(),Qg}function Mh(e,t,n){const i=lt(),o=zn(),u=e+20,f=o.firstCreatePass?function bC(e,t,n,i,o){const u=t.consts,f=jn(u,i),g=Qa(t,e,8,"ng-container",f);return null!==f&&Gu(g,f,!0),id(t,n,g,jn(u,o)),null!==t.queries&&t.queries.elementStart(t,g),g}(u,o,i,t,n):o.data[u];Ci(f,!0);const g=i[u]=i[11].createComment("");return Pu(o,i,g,f),Dr(g,i),lo(f)&&(nd(o,i,f),kf(o,f,i)),null!=n&&rd(i,f),Mh}function Th(){let e=kr();const t=zn();return xa()?sa():(e=e.parent,Ci(e,!1)),t.firstCreatePass&&(_l(t,e),Mo(e)&&t.queries.elementEnd(e)),Th}function Jg(e,t,n){return Mh(e,t,n),Th(),Jg}function L_(){return lt()}function Xg(e){return!!e&&"function"==typeof e.then}function V_(e){return!!e&&"function"==typeof e.subscribe}const B_=V_;function em(e,t,n,i){const o=lt(),u=zn(),f=kr();return function j_(e,t,n,i,o,u,f,g){const _=lo(i),I=e.firstCreatePass&&Yf(e),G=t[8],se=ir(t);let we=!0;if(3&i.type||g){const Nt=Cr(i,t),Xt=g?g(Nt):Nt,st=se.length,hn=g?Kn=>g(Pn(Kn[i.index])):i.index;if(xt(n)){let Kn=null;if(!g&&_&&(Kn=function DC(e,t,n,i){const o=e.cleanup;if(null!=o)for(let u=0;u<o.length-1;u+=2){const f=o[u];if(f===n&&o[u+1]===i){const g=t[7],_=o[u+2];return g.length>_?g[_]:null}"string"==typeof f&&(u+=2)}return null}(e,t,o,i.index)),null!==Kn)(Kn.__ngLastListenerFn__||Kn).__ngNextListenerFn__=u,Kn.__ngLastListenerFn__=u,we=!1;else{u=tm(i,t,G,u,!1);const cr=n.listen(Xt,o,u);se.push(u,cr),I&&I.push(o,hn,st,st+1)}}else u=tm(i,t,G,u,!0),Xt.addEventListener(o,u,f),se.push(u),I&&I.push(o,hn,st,f)}else u=tm(i,t,G,u,!1);const Ye=i.outputs;let Dt;if(we&&null!==Ye&&(Dt=Ye[o])){const Nt=Dt.length;if(Nt)for(let Xt=0;Xt<Nt;Xt+=2){const bo=t[Dt[Xt]][Dt[Xt+1]].subscribe(u),Ul=se.length;se.push(u,bo),I&&I.push(o,i.index,Ul,-(Ul+1))}}}(u,o,o[11],f,e,t,!!n,i),em}function U_(e,t,n,i){try{return!1!==n(i)}catch(o){return Ll(e,o),!1}}function tm(e,t,n,i,o){return function u(f){if(f===Function)return i;const g=2&e.flags?R(e.index,t):t;0==(32&t[2])&&ld(g);let _=U_(t,0,i,f),T=u.__ngNextListenerFn__;for(;T;)_=U_(t,0,T,f)&&_,T=T.__ngNextListenerFn__;return o&&!1===_&&(f.preventDefault(),f.returnValue=!1),_}}function $_(e=1){return function Oi(e){return(un.lFrame.contextLView=function Fa(e,t){for(;e>0;)t=t[15],e--;return t}(e,un.lFrame.contextLView))[8]}(e)}function EC(e,t){let n=null;const i=function Rp(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const u=t[o];if("*"!==u){if(null===i?Ef(e,u,!0):Vp(i,u))return o}else n=o}return n}function G_(e){const t=lt()[16][6];if(!t.projection){const i=t.projection=os(e?e.length:1,null),o=i.slice();let u=t.child;for(;null!==u;){const f=e?EC(u,e):0;null!==f&&(o[f]?o[f].projectionNext=u:i[f]=u,o[f]=u),u=u.next}}}function z_(e,t=0,n){const i=lt(),o=zn(),u=Qa(o,20+e,16,null,n||null);null===u.projection&&(u.projection=t),sa(),64!=(64&u.flags)&&function Op(e,t,n){vf(t[11],0,t,n,cf(e,n,t),hf(n.parent||t[6],n,t))}(o,i,u)}function nm(e,t,n){return Sh(e,"",t,"",n),nm}function Sh(e,t,n,i,o){const u=lt(),f=ol(u,t,n,i);return f!==En&&Yi(zn(),fr(),u,e,f,u[11],o,!1),Sh}function rm(e,t,n,i,o,u,f){const g=lt(),_=sl(g,t,n,i,o,u);return _!==En&&Yi(zn(),fr(),g,e,_,g[11],f,!1),rm}function X_(e,t,n,i,o){const u=e[n+1],f=null===t;let g=i?Co(u):hs(u),_=!1;for(;0!==g&&(!1===_||f);){const I=e[g+1];SC(e[g],t)&&(_=!0,e[g+1]=i?Ka(I):$c(I)),g=i?Co(I):hs(I)}_&&(e[n+1]=i?$c(u):Ka(u))}function SC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ss(e,t)>=0}const li={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ey(e){return e.substring(li.key,li.keyEnd)}function ty(e,t){const n=li.textEnd;return n===t?-1:(t=li.keyEnd=function AC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,li.key=t,n),Ku(e,t,n))}function Ku(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function im(e,t){return function ys(e,t,n,i){const o=lt(),u=zn(),f=Ui(2);u.firstUpdatePass&&uy(u,e,f,i),t!==En&&_i(o,f,t)&&dy(u,u.data[ti()],o,o[11],e,o[f+1]=function jC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=qe(Pr(e)))),e}(t,n),i,f)}(e,t,null,!0),im}function ay(e){vs(ri,Js,e,!0)}function Js(e,t){for(let n=function OC(e){return function ry(e){li.key=0,li.keyEnd=0,li.value=0,li.valueEnd=0,li.textEnd=e.length}(e),ty(e,Ku(e,0,li.textEnd))}(t);n>=0;n=ty(t,n))ri(e,ey(t),!0)}function vs(e,t,n,i){const o=zn(),u=Ui(2);o.firstUpdatePass&&uy(o,null,u,i);const f=lt();if(n!==En&&_i(f,u,n)){const g=o.data[ti()];if(hy(g,i)&&!ly(o,u)){let _=i?g.classesWithoutHost:g.stylesWithoutHost;null!==_&&(n=me(_,n||"")),Kg(o,g,f,n,i)}else!function HC(e,t,n,i,o,u,f,g){o===En&&(o=At);let _=0,T=0,I=0<o.length?o[0]:null,G=0<u.length?u[0]:null;for(;null!==I||null!==G;){const se=_<o.length?o[_+1]:void 0,we=T<u.length?u[T+1]:void 0;let Dt,Ye=null;I===G?(_+=2,T+=2,se!==we&&(Ye=G,Dt=we)):null===G||null!==I&&I<G?(_+=2,Ye=I):(T+=2,Ye=G,Dt=we),null!==Ye&&dy(e,t,n,i,Ye,Dt,f,g),I=_<o.length?o[_]:null,G=T<u.length?u[T]:null}}(o,g,f,f[11],f[u+1],f[u+1]=function BC(e,t,n){if(null==n||""===n)return At;const i=[],o=Pr(n);if(Array.isArray(o))for(let u=0;u<o.length;u++)e(i,o[u],!0);else if("object"==typeof o)for(const u in o)o.hasOwnProperty(u)&&e(i,u,o[u]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,u)}}function ly(e,t){return t>=e.expandoStartIndex}function uy(e,t,n,i){const o=e.data;if(null===o[n+1]){const u=o[ti()],f=ly(e,n);hy(u,i)&&null===t&&!f&&(t=!1),t=function RC(e,t,n,i){const o=function Ts(e){const t=un.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let u=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=Pd(n=om(null,e,t,n,i),t.attrs,i),u=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==o)if(n=om(o,e,t,n,i),null===u){let _=function kC(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==hs(i))return e[Co(i)]}(e,t,i);void 0!==_&&Array.isArray(_)&&(_=om(null,e,t,_[1],i),_=Pd(_,t.attrs,i),function LC(e,t,n,i){e[Co(n?t.classBindings:t.styleBindings)]=i}(e,t,i,_))}else u=function VC(e,t,n){let i;const o=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<o;u++)i=Pd(i,e[u].hostAttrs,n);return Pd(i,t.attrs,n)}(e,t,i)}return void 0!==u&&(i?t.residualClasses=u:t.residualStyles=u),n}(o,u,t,i),function MC(e,t,n,i,o,u){let f=u?t.classBindings:t.styleBindings,g=Co(f),_=hs(f);e[i]=n;let I,T=!1;if(Array.isArray(n)){const G=n;I=G[1],(null===I||ss(G,I)>0)&&(T=!0)}else I=n;if(o)if(0!==_){const se=Co(e[g+1]);e[i+1]=xu(se,g),0!==se&&(e[se+1]=Au(e[se+1],i)),e[g+1]=function Up(e,t){return 131071&e|t<<17}(e[g+1],i)}else e[i+1]=xu(g,0),0!==g&&(e[g+1]=Au(e[g+1],i)),g=i;else e[i+1]=xu(_,0),0===g?g=i:e[_+1]=Au(e[_+1],i),_=i;T&&(e[i+1]=$c(e[i+1])),X_(e,I,i,!0),X_(e,I,i,!1),function TC(e,t,n,i,o){const u=o?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&ss(u,t)>=0&&(n[i+1]=Ka(n[i+1]))}(t,I,e,i,u),f=xu(g,_),u?t.classBindings=f:t.styleBindings=f}(o,u,t,n,f,i)}}function om(e,t,n,i,o){let u=null;const f=n.directiveEnd;let g=n.directiveStylingLast;for(-1===g?g=n.directiveStart:g++;g<f&&(u=t[g],i=Pd(i,u.hostAttrs,o),u!==e);)g++;return null!==e&&(n.directiveStylingLast=g),i}function Pd(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let u=0;u<t.length;u++){const f=t[u];"number"==typeof f?o=f:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ri(e,f,!!n||t[++u]))}return void 0===e?null:e}function dy(e,t,n,i,o,u,f,g){if(!(3&t.type))return;const _=e.data,T=_[g+1];Ph(function Of(e){return 1==(1&e)}(T)?fy(_,t,n,o,hs(T),f):void 0)||(Ph(u)||function Pf(e){return 2==(2&e)}(T)&&(u=fy(_,null,n,o,g,f)),function Hc(e,t,n,i,o){const u=xt(e);if(t)o?u?e.addClass(n,i):n.classList.add(i):u?e.removeClass(n,i):n.classList.remove(i);else{let f=-1===i.indexOf("-")?void 0:Go.DashCase;if(null==o)u?e.removeStyle(n,i,f):n.style.removeProperty(i);else{const g="string"==typeof o&&o.endsWith("!important");g&&(o=o.slice(0,-10),f|=Go.Important),u?e.setStyle(n,i,o,f):n.style.setProperty(i,o,g?"important":"")}}}(i,f,to(ti(),n),o,u))}function fy(e,t,n,i,o,u){const f=null===t;let g;for(;o>0;){const _=e[o],T=Array.isArray(_),I=T?_[1]:_,G=null===I;let se=n[o+1];se===En&&(se=G?At:void 0);let we=G?Ml(se,i):I===i?se:void 0;if(T&&!Ph(we)&&(we=Ml(_,i)),Ph(we)&&(g=we,f))return g;const Ye=e[o+1];o=f?Co(Ye):hs(Ye)}if(null!==t){let _=u?t.residualClasses:t.residualStyles;null!=_&&(g=Ml(_,i))}return g}function Ph(e){return void 0!==e}function hy(e,t){return 0!=(e.flags&(t?16:32))}function py(e,t=""){const n=lt(),i=zn(),o=e+20,u=i.firstCreatePass?Qa(i,o,1,t,null):i.data[o],f=n[o]=function Za(e,t){return xt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Pu(i,n,f,u),Ci(u,!1)}function sm(e){return Oh("",e,""),sm}function Oh(e,t,n){const i=lt(),o=ol(i,e,t,n);return o!==En&&ms(i,ti(),o),Oh}function am(e,t,n,i,o){const u=lt(),f=sl(u,e,t,n,i,o);return f!==En&&ms(u,ti(),f),am}function lm(e,t,n,i,o,u,f){const g=lt(),_=function al(e,t,n,i,o,u,f,g){const T=qu(e,ho(),n,o,f);return Ui(3),T?t+te(n)+i+te(o)+u+te(f)+g:En}(g,e,t,n,i,o,u,f);return _!==En&&ms(g,ti(),_),lm}function wy(e,t,n){vs(ri,Js,ol(lt(),e,t,n),!0)}function um(e,t,n){const i=lt();return _i(i,qr(),t)&&Yi(zn(),fr(),i,e,t,i[11],n,!0),um}const Hl=void 0;var a0=["en",[["a","p"],["AM","PM"],Hl],[["AM","PM"],Hl,Hl],[["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"]],Hl,[["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"]],Hl,[["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}",Hl,"{1} 'at' {0}",Hl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function s0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Qu={};function cm(e){const t=function l0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ny(t);if(n)return n;const i=t.split("-")[0];if(n=Ny(i),n)return n;if("en"===i)return a0;throw new Error(`Missing locale data for the locale "${e}".`)}function Iy(e){return cm(e)[Cn.PluralCase]}function Ny(e){return e in Qu||(Qu[e]=Ot.ng&&Ot.ng.common&&Ot.ng.common.locales&&Ot.ng.common.locales[e]),Qu[e]}var Cn=(()=>((Cn=Cn||{})[Cn.LocaleId=0]="LocaleId",Cn[Cn.DayPeriodsFormat=1]="DayPeriodsFormat",Cn[Cn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Cn[Cn.DaysFormat=3]="DaysFormat",Cn[Cn.DaysStandalone=4]="DaysStandalone",Cn[Cn.MonthsFormat=5]="MonthsFormat",Cn[Cn.MonthsStandalone=6]="MonthsStandalone",Cn[Cn.Eras=7]="Eras",Cn[Cn.FirstDayOfWeek=8]="FirstDayOfWeek",Cn[Cn.WeekendRange=9]="WeekendRange",Cn[Cn.DateFormat=10]="DateFormat",Cn[Cn.TimeFormat=11]="TimeFormat",Cn[Cn.DateTimeFormat=12]="DateTimeFormat",Cn[Cn.NumberSymbols=13]="NumberSymbols",Cn[Cn.NumberFormats=14]="NumberFormats",Cn[Cn.CurrencyCode=15]="CurrencyCode",Cn[Cn.CurrencySymbol=16]="CurrencySymbol",Cn[Cn.CurrencyName=17]="CurrencyName",Cn[Cn.Currencies=18]="Currencies",Cn[Cn.Directionality=19]="Directionality",Cn[Cn.PluralCase=20]="PluralCase",Cn[Cn.ExtraData=21]="ExtraData",Cn))();const xh="en-US";let Fy=xh;function hm(e,t,n,i,o){if(e=Fe(e),Array.isArray(e))for(let u=0;u<e.length;u++)hm(e[u],t,n,i,o);else{const u=zn(),f=lt();let g=ba(e)?e:Fe(e.provide),_=Kr(e);const T=kr(),I=1048575&T.providerIndexes,G=T.directiveStart,se=T.providerIndexes>>20;if(ba(e)||!e.multi){const we=new la(_,o,Sd),Ye=gm(g,t,o?I:I+se,G);-1===Ye?(Ns(Is(T,f),u,g),pm(u,e,t.length),t.push(g),T.directiveStart++,T.directiveEnd++,o&&(T.providerIndexes+=1048576),n.push(we),f.push(we)):(n[Ye]=we,f[Ye]=we)}else{const we=gm(g,t,I+se,G),Ye=gm(g,t,I,I+se),Dt=we>=0&&n[we],Nt=Ye>=0&&n[Ye];if(o&&!Nt||!o&&!Dt){Ns(Is(T,f),u,g);const Xt=function sw(e,t,n,i,o){const u=new la(e,n,Sd);return u.multi=[],u.index=t,u.componentProviders=0,iv(u,o,i&&!n),u}(o?ow:iw,n.length,o,i,_);!o&&Nt&&(n[Ye].providerFactory=Xt),pm(u,e,t.length,0),t.push(g),T.directiveStart++,T.directiveEnd++,o&&(T.providerIndexes+=1048576),n.push(Xt),f.push(Xt)}else pm(u,e,we>-1?we:Ye,iv(n[o?Ye:we],_,!o&&i));!o&&i&&Nt&&n[Ye].componentProviders++}}}function pm(e,t,n,i){const o=ba(t),u=function vg(e){return!!e.useClass}(t);if(o||u){const _=(u?Fe(t.useClass):t).prototype.ngOnDestroy;if(_){const T=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const I=T.indexOf(n);-1===I?T.push(n,[i,_]):T[I+1].push(i,_)}else T.push(n,_)}}}function iv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gm(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function iw(e,t,n,i){return mm(this.multi,[])}function ow(e,t,n,i){const o=this.multi;let u;if(this.providerFactory){const f=this.providerFactory.componentProviders,g=Fs(n,n[1],this.providerFactory.index,i);u=g.slice(0,f),mm(o,u);for(let _=f;_<g.length;_++)u.push(g[_])}else u=[],mm(o,u);return u}function mm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ov(e,t=[]){return n=>{n.providersResolver=(i,o)=>function rw(e,t,n){const i=zn();if(i.firstCreatePass){const o=zr(e);hm(n,i.data,i.blueprint,o,!0),hm(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class sv{}class uw{resolveComponentFactory(t){throw function lw(e){const t=Error(`No component factory found for ${qe(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Rh=(()=>{class e{}return e.NULL=new uw,e})();function cw(){return Xu(kr(),lt())}function Xu(e,t){return new Nd(Cr(e,t))}let Nd=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=cw,e})();function dw(e){return e instanceof Nd?e.nativeElement:e}class lv{}let fw=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function pw(){const e=lt(),n=R(kr().index,e);return function hw(e){return e[11]}(ii(n)?n:e)}(),e})(),gw=(()=>{class e{}return e.\u0275prov=Rt({token:e,providedIn:"root",factory:()=>null}),e})();class uv{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mw=new uv("13.3.11"),_m={};function kh(e,t,n,i,o=!1){for(;null!==n;){const u=t[n.index];if(null!==u&&i.push(Pn(u)),Xr(u))for(let g=10;g<u.length;g++){const _=u[g],T=_[1].firstChild;null!==T&&kh(_[1],_,T,i)}const f=n.type;if(8&f)kh(e,t,n.child,i);else if(32&f){const g=Ac(n,t);let _;for(;_=g();)i.push(_)}else if(16&f){const g=_f(t,n);if(Array.isArray(g))i.push(...g);else{const _=Ya(t[16]);kh(_[1],_,g,i,!0)}}n=o?n.projectionNext:n.next}return i}class Fd{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 kh(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(Xr(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Fc(t,i),El(n,i))}this._attachedToViewContainer=!1}uf(this._lView[1],this._lView)}onDestroy(t){ao(this._lView[1],this._lView,null,t)}markForCheck(){ld(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function $u(e,t,n){const i=t[10];i.begin&&i.begin();try{Xa(e,t,e.template,n)}catch(o){throw Ll(t,o),o}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new nt(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function bp(e,t){Rl(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new nt(902,"");this._appRef=t}}class _w extends Fd{constructor(t){super(t),this._view=t}detectChanges(){qo(this._view)}checkNoChanges(){}get context(){return null}}class cv extends Rh{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Te(t);return new ym(n,this.ngModule)}}function dv(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class ym extends sv{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Hp(e){return e.map(Bp).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return dv(this.componentDef.inputs)}get outputs(){return dv(this.componentDef.outputs)}create(t,n,i,o){const u=(o=o||this.ngModule)?function vw(e,t){return{get:(n,i,o)=>{const u=e.get(n,_m,o);return u!==_m||i===_m?u:t.get(n,i,o)}}}(t,o.injector):t,f=u.get(lv,Rn),g=u.get(gw,null),_=f.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",I=i?function Bf(e,t,n){if(xt(e))return e.selectRootElement(t,n===Le.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(_,i,this.componentDef.encapsulation):fs(f.createRenderer(null,this.componentDef),T,function yw(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(T)),G=this.componentDef.onPush?576:528,se=function uh(e,t){return{components:[],scheduler:e||ds,clean:dg,playerHandler:t||null,flags:0}}(),we=Lu(0,null,null,1,0,null,null,null,null,null),Ye=qs(null,we,se,G,null,null,f,_,g,u);let Dt,Nt;wn(Ye);try{const Xt=function ah(e,t,n,i,o,u){const f=n[1];n[20]=e;const _=Qa(f,20,2,"#host",null),T=_.mergedAttrs=t.hostAttrs;null!==T&&(Gu(_,T,!0),null!==e&&(ka(o,e,T),null!==_.classes&&jc(o,e,_.classes),null!==_.styles&&Cf(o,e,_.styles)));const I=i.createRenderer(e,t),G=qs(n,Lf(t),null,t.onPush?64:16,n[20],_,i,I,u||null,null);return f.firstCreatePass&&(Ns(Is(_,n),f,t.type),Er(f,_),Gf(_,n.length,1)),Uu(n,G),n[20]=G}(I,this.componentDef,Ye,f,_);if(I)if(i)ka(_,I,["ng-version",mw.full]);else{const{attrs:st,classes:hn}=function jp(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let u=e[i];if("string"==typeof u)2===o?""!==u&&t.push(u,e[++i]):8===o&&n.push(u);else{if(!vo(o))break;o=u}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);st&&ka(_,I,st),hn&&hn.length>0&&jc(_,I,hn.join(" "))}if(Nt=C(we,20),void 0!==n){const st=Nt.projection=[];for(let hn=0;hn<this.ngContentSelectors.length;hn++){const Kn=n[hn];st.push(null!=Kn?Array.from(Kn):null)}}Dt=function lh(e,t,n,i,o){const u=n[1],f=function ng(e,t,n){const i=kr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),zf(e,i,t,Ys(e,t,1,null),n));const o=Fs(t,e,i.directiveStart,i);Dr(o,t);const u=Cr(i,t);return u&&Dr(u,t),o}(u,n,t);if(i.components.push(f),e[8]=f,o&&o.forEach(_=>_(f,t)),t.contentQueries){const _=kr();t.contentQueries(1,f,_.directiveStart)}const g=kr();return!u.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(wi(g.index),Uf(n[1],g,0,g.directiveStart,g.directiveEnd,t),sd(t,f)),f}(Xt,this.componentDef,Ye,se,[xg]),Ja(we,Ye,null)}finally{Na()}return new ww(this.componentType,Dt,Xu(Nt,Ye),Ye,Nt)}}class ww extends class aw{}{constructor(t,n,i,o,u){super(),this.location=i,this._rootLView=o,this._tNode=u,this.instance=n,this.hostView=this.changeDetectorRef=new _w(o),this.componentType=t}get injector(){return new hr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class ec{}const tc=new Map;class pv extends ec{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new cv(this);const i=It(t);this._bootstrapComponents=$o(i.bootstrap),this._r3Injector=Jf(t,n,[{provide:ec,useValue:this},{provide:Rh,useValue:this.componentFactoryResolver}],qe(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Yo.THROW_IF_NOT_FOUND,i=Ie.Default){return t===Yo||t===ec||t===dd?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class vm extends class Dw{}{constructor(t){super(),this.moduleType=t,null!==It(t)&&function Ew(e){const t=new Set;!function n(i){const o=It(i,!0),u=o.id;null!==u&&(function fv(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${qe(t)} vs ${qe(t.name)}`)}(u,tc.get(u),i),tc.set(u,i));const f=$o(o.imports);for(const g of f)t.has(g)||(t.add(g),n(g))}(e)}(t)}create(t){return new pv(this.moduleType,t)}}function gv(e,t,n,i){return function yv(e,t,n,i,o,u){const f=t+n;return _i(e,f,o)?Zo(e,f+1,u?i.call(u,o):i(o)):Rd(e,f+1)}(lt(),si(),e,t,n,i)}function mv(e,t,n,i,o){return function vv(e,t,n,i,o,u,f){const g=t+n;return Ea(e,g,o,u)?Zo(e,g+2,f?i.call(f,o,u):i(o,u)):Rd(e,g+2)}(lt(),si(),e,t,n,i,o)}function _v(e,t,n,i,o,u){return function Cv(e,t,n,i,o,u,f,g){const _=t+n;return qu(e,_,o,u,f)?Zo(e,_+3,g?i.call(g,o,u,f):i(o,u,f)):Rd(e,_+3)}(lt(),si(),e,t,n,i,o,u)}function Rd(e,t){const n=e[t];return n===En?void 0:n}function Cm(e){return t=>{setTimeout(e,void 0,t)}}const Xs=class Bw extends l.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,u=n||(()=>null),f=i;if(t&&"object"==typeof t){const _=t;o=_.next?.bind(_),u=_.error?.bind(_),f=_.complete?.bind(_)}this.__isAsync&&(u=Cm(u),o&&(o=Cm(o)),f&&(f=Cm(f)));const g=super.subscribe({next:o,error:u,complete:f});return t instanceof m.w&&t.add(g),g}};function Hw(){return this._results[nl()]()}class wm{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=nl(),i=wm.prototype;i[n]||(i[n]=Hw)}get changes(){return this._changes||(this._changes=new Xs)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const o=zi(t);(this._changesDetected=!function Gi(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],u=t[i];if(n&&(o=n(o),u=n(u)),u!==o)return!1}return!0}(i._results,o,n))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Ld=(()=>{class e{}return e.__NG_ELEMENT_ID__=$w,e})();const jw=Ld,Uw=class extends jw{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=qs(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(i[19]=u.createEmbeddedView(n)),Ja(n,i,t),new Fd(i)}};function $w(){return Lh(kr(),lt())}function Lh(e,t){return 4&e.type?new Uw(t,e,Xu(e,t)):null}let Vh=(()=>{class e{}return e.__NG_ELEMENT_ID__=Gw,e})();function Gw(){return Mv(kr(),lt())}const zw=Vh,Dv=class extends zw{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Xu(this._hostTNode,this._hostLView)}get injector(){return new hr(this._hostTNode,this._hostLView)}get parentInjector(){const t=No(this._hostTNode,this._hostLView);if(wl(t)){const n=gr(t,this._hostLView),i=As(t);return new hr(n[1].data[i+8],n)}return new hr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ev(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const o=t.createEmbeddedView(n||{});return this.insert(o,i),o}createComponent(t,n,i,o,u){const f=t&&!function Ha(e){return"function"==typeof e}(t);let g;if(f)g=n;else{const G=n||{};g=G.index,i=G.injector,o=G.projectableNodes,u=G.ngModuleRef}const _=f?t:new ym(Te(t)),T=i||this.parentInjector;if(!u&&null==_.ngModule){const se=(f?T:this.parentInjector).get(ec,null);se&&(u=se)}const I=_.create(T,o,void 0,u);return this.insert(I.hostView,g),I}insert(t,n){const i=t._lView,o=i[1];if(function dr(e){return Xr(e[3])}(i)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const G=i[3],se=new Dv(G,G[6],G[3]);se.detach(se.indexOf(t))}}const u=this._adjustIndex(n),f=this._lContainer;!function Ep(e,t,n,i){const o=10+i,u=n.length;i>0&&(n[o-1][4]=t),i<u-10?(t[4]=n[o],fc(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const f=t[17];null!==f&&n!==f&&function Mp(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(f,t);const g=t[19];null!==g&&g.insertView(e),t[2]|=128}(o,i,f,u);const g=Bc(u,f),_=i[11],T=Su(_,f[7]);return null!==T&&function af(e,t,n,i,o,u){i[0]=o,i[6]=t,Rl(e,i,n,1,o,u)}(o,f[6],_,i,T,g),t.attachToViewContainerRef(),fc(bm(f),u,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ev(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Fc(this._lContainer,n);i&&(El(bm(this._lContainer),n),uf(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=Fc(this._lContainer,n);return i&&null!=El(bm(this._lContainer),n)?new Fd(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ev(e){return e[8]}function bm(e){return e[8]||(e[8]=[])}function Mv(e,t){let n;const i=t[e.index];if(Xr(i))n=i;else{let o;if(8&e.type)o=Pn(i);else{const u=t[11];o=u.createComment("");const f=Cr(e,t);zs(u,Su(u,f),o,function ff(e,t){return xt(e)?e.nextSibling(t):t.nextSibling}(u,f),!1)}t[e.index]=n=Hu(i,t,o,e),Uu(t,n)}return new Dv(n,e,t)}class Dm{constructor(t){this.queryList=t,this.matches=null}clone(){return new Dm(this.queryList)}setDirty(){this.queryList.setDirty()}}class Em{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let u=0;u<i;u++){const f=n.getByIndex(u);o.push(this.queries[f.indexInDeclarationView].clone())}return new Em(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Nv(t,n).matches&&this.queries[n].setDirty()}}class Tv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Mm{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const o=null!==n?n.length:0,u=this.getByIndex(i).embeddedTView(t,o);u&&(u.indexInDeclarationView=i,null!==n?n.push(u):n=[u])}return null!==n?new Mm(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Tm{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 Tm(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const u=i[o];this.matchTNodeWithReadOption(t,n,Yw(n,u)),this.matchTNodeWithReadOption(t,n,Fo(n,t,u,!1,!1))}else i===Ld?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fo(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Nd||o===Vh||o===Ld&&4&n.type)this.addMatch(n.index,-2);else{const u=Fo(n,t,o,!1,!1);null!==u&&this.addMatch(n.index,u)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Yw(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Kw(e,t,n,i){return-1===n?function Zw(e,t){return 11&e.type?Xu(e,t):4&e.type?Lh(e,t):null}(t,e):-2===n?function Qw(e,t,n){return n===Nd?Xu(t,e):n===Ld?Lh(t,e):n===Vh?Mv(t,e):void 0}(e,t,i):Fs(e,e[1],n,t)}function Sv(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const u=e.data,f=n.matches,g=[];for(let _=0;_<f.length;_+=2){const T=f[_];g.push(T<0?null:Kw(t,u[T],f[_+1],n.metadata.read))}o.matches=g}return o.matches}function Sm(e,t,n,i){const o=e.queries.getByIndex(n),u=o.matches;if(null!==u){const f=Sv(e,t,o,n);for(let g=0;g<u.length;g+=2){const _=u[g];if(_>0)i.push(f[g/2]);else{const T=u[g+1],I=t[-_];for(let G=10;G<I.length;G++){const se=I[G];se[17]===se[3]&&Sm(se[1],se,T,i)}if(null!==I[9]){const G=I[9];for(let se=0;se<G.length;se++){const we=G[se];Sm(we[1],we,T,i)}}}}}return i}function Pv(e){const t=lt(),n=zn(),i=he();We(i+1);const o=Nv(n,i);if(e.dirty&&ze(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const u=o.crossesNgTemplate?Sm(n,t,i,[]):Sv(n,t,o,i);e.reset(u,dw),e.notifyOnChanges()}return!0}return!1}function Ov(e,t,n){const i=zn();i.firstCreatePass&&(function Iv(e,t,n){null===e.queries&&(e.queries=new Mm),e.queries.track(new Tm(t,n))}(i,new Tv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),function Av(e,t,n){const i=new wm(4==(4&n));ao(e,t,i,i.destroy),null===t[19]&&(t[19]=new Em),t[19].queries.push(new Dm(i))}(i,lt(),t)}function xv(){return function Xw(e,t){return e[19].queries[t].queryList}(lt(),he())}function Nv(e,t){return e.queries.getByIndex(t)}function Fv(e,t){return Lh(e,t)}function jh(...e){}const Qv=new Tr("Application Initializer");let Nm=(()=>{class e{constructor(n){this.appInits=n,this.resolve=jh,this.reject=jh,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const u=this.appInits[o]();if(Xg(u))n.push(u);else if(B_(u)){const f=new Promise((g,_)=>{u.subscribe({complete:g,error:_})});n.push(f)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(c(Qv,8))},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Jv=new Tr("AppId",{providedIn:"root",factory:function Xv(){return`${Fm()}${Fm()}${Fm()}`}});function Fm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const eC=new Tr("Platform Initializer"),_b=new Tr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),yb=new Tr("appBootstrapListener"),Rm=new Tr("LocaleId",{providedIn:"root",factory:()=>p(Rm,Ie.Optional|Ie.SkipSelf)||function vb(){return typeof $localize<"u"&&$localize.locale||xh}()}),Cb=new Tr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),Db=(()=>Promise.resolve(0))();function km(e){typeof Zone>"u"?Db.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Cs{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Xs(!1),this.onMicrotaskEmpty=new Xs(!1),this.onStable=new Xs(!1),this.onError=new Xs(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Eb(){let e=Ot.requestAnimationFrame,t=Ot.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Sb(e){const t=()=>{!function Tb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ot,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Vm(e),e.isCheckStableRunning=!0,Lm(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Vm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,u,f,g)=>{try{return tC(e),n.invokeTask(o,u,f,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),nC(e)}},onInvoke:(n,i,o,u,f,g,_)=>{try{return tC(e),n.invoke(o,u,f,g,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),nC(e)}},onHasTask:(n,i,o,u)=>{n.hasTask(o,u),i===o&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Vm(e),Lm(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,i,o,u)=>(n.handleError(o,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Cs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Cs.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const u=this._inner,f=u.scheduleEventTask("NgZoneEvent: "+o,t,Mb,jh,jh);try{return u.runTask(f,n,i)}finally{u.cancelTask(f)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Mb={};function Lm(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 Vm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function tC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nC(e){e._nesting--,Lm(e)}class Pb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xs,this.onMicrotaskEmpty=new Xs,this.onStable=new Xs,this.onError=new Xs}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}let rC=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Cs.assertNotInAngularZone(),km(()=>{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())km(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let u=-1;i&&i>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==u),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(c(Cs))},e.\u0275prov=Rt({token:e,factory:e.\u0275fac}),e})(),Ob=(()=>{class e{constructor(){this._applications=new Map,Bm.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Bm.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class xb{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function Ab(e){Bm=e}let Bm=new xb,Bd=null;const iC=new Tr("AllowMultipleToken"),oC=new Tr("PlatformOnDestroy");function sC(e,t,n=[]){const i=`Platform: ${t}`,o=new Tr(i);return(u=[])=>{let f=Hm();if(!f||f.injector.get(iC,!1)){const g=[...n,...u,{provide:o,useValue:!0}];e?e(g):function Fb(e){if(Bd&&!Bd.get(iC,!1))throw new nt(400,"");Bd=e;const t=e.get(aC),n=e.get(eC,null);n&&n.forEach(i=>i())}(function kb(e=[],t){return Yo.create({name:t,providers:[{provide:fd,useValue:"platform"},{provide:oC,useValue:()=>Bd=null},...e]})}(g,i))}return function Rb(e){const t=Hm();if(!t)throw new nt(401,"");return t}()}}function Hm(){return Bd?.get(aC)??null}let aC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const g=function Lb(e,t){let n;return n="noop"===e?new Pb:("zone.js"===e?void 0:e)||new Cs({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),_=[{provide:Cs,useValue:g}];return g.run(()=>{const T=Yo.create({providers:_,parent:this.injector,name:n.moduleType.name}),I=n.create(T),G=I.injector.get(qa,null);if(!G)throw new nt(402,"");return g.runOutsideAngular(()=>{const se=g.onError.subscribe({next:we=>{G.handleError(we)}});I.onDestroy(()=>{Um(this._modules,I),se.unsubscribe()})}),function Vb(e,t,n){try{const i=n();return Xg(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(G,g,()=>{const se=I.injector.get(Nm);return se.runInitializers(),se.donePromise.then(()=>(function f0(e){ve(e,"Expected localeId to be defined"),"string"==typeof e&&(Fy=e.toLowerCase().replace(/_/g,"-"))}(I.injector.get(Rm,xh)||xh),this._moduleDoBootstrap(I),I))})})}bootstrapModule(n,i=[]){const o=lC({},i);return function Ib(e,t,n){const i=new vm(n);return Promise.resolve(i)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,o))}_moduleDoBootstrap(n){const i=n.injector.get(jm);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new nt(403,"");n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new nt(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(oC,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(c(Yo))},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function lC(e,t){return Array.isArray(t)?t.reduce(lC,e):{...e,...t}}let jm=(()=>{class e{constructor(n,i,o,u){this._zone=n,this._injector=i,this._exceptionHandler=o,this._initStatus=u,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 f=new ne.y(_=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{_.next(this._stable),_.complete()})}),g=new ne.y(_=>{let T;this._zone.runOutsideAngular(()=>{T=this._zone.onStable.subscribe(()=>{Cs.assertNotInAngularZone(),km(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,_.next(!0))})})});const I=this._zone.onUnstable.subscribe(()=>{Cs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{_.next(!1)}))});return()=>{T.unsubscribe(),I.unsubscribe()}});this.isStable=(0,$.T)(f,g.pipe(function Et(){return e=>z()(function Se(e,t){return function(i){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new Me(o,t));const u=Object.create(i,L);return u.source=i,u.subjectFactory=o,u}}(je)(e))}()))}bootstrap(n,i){if(!this._initStatus.done)throw new nt(405,"");let o;o=n instanceof sv?n:this._injector.get(Rh).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const u=function Nb(e){return e.isBoundToModule}(o)?void 0:this._injector.get(ec),g=o.create(Yo.NULL,[],i||o.selector,u),_=g.location.nativeElement,T=g.injector.get(rC,null),I=T&&g.injector.get(Ob);return T&&I&&I.registerApplication(_,T),g.onDestroy(()=>{this.detachView(g.hostView),Um(this.components,g),I&&I.unregisterApplication(_)}),this._loadComponent(g),g}tick(){if(this._runningTick)throw new nt(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Um(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(yb,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(c(Cs),c(Yo),c(qa),c(Nm))},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Um(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let cC=!0,dC=!1;function Hb(){return dC=!0,cC}function jb(){if(dC)throw new Error("Cannot enable prod mode after platform setup.");cC=!1}let Ub=(()=>{class e{}return e.__NG_ELEMENT_ID__=$b,e})();function $b(e){return function Gb(e,t,n){if(Xi(e)&&!n){const i=R(e.index,t);return new Fd(i,i)}return 47&e.type?new Fd(t[16],t):null}(kr(),lt(),16==(16&e))}class gC{constructor(){}supports(t){return rl(t)}create(t){return new Kb(t)}}const Zb=(e,t)=>t;class Kb{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Zb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,u=null;for(;n||i;){const f=!i||n&&n.currentIndex<_C(i,o,u)?n:i,g=_C(f,o,u),_=f.currentIndex;if(f===i)o--,i=i._nextRemoved;else if(n=n._next,null==f.previousIndex)o++;else{u||(u=[]);const T=g-o,I=_-o;if(T!=I){for(let se=0;se<T;se++){const we=se<u.length?u[se]:u[se]=0,Ye=we+se;I<=Ye&&Ye<T&&(u[se]=we+1)}u[f.previousIndex]=I-T}}g!==_&&t(f,g,_)}}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=[]),!rl(t))throw new nt(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,u,f,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let g=0;g<this.length;g++)u=t[g],f=this._trackByFn(g,u),null!==n&&Object.is(n.trackById,f)?(i&&(n=this._verifyReinsertion(n,u,f,g)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,f,g),i=!0),n=n._next}else o=0,function Vg(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[nl()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,g=>{f=this._trackByFn(o,g),null!==n&&Object.is(n.trackById,f)?(i&&(n=this._verifyReinsertion(n,g,f,o)),Object.is(n.item,g)||this._addIdentityChange(n,g)):(n=this._mismatch(n,g,f,o),i=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,o){let u;return null===t?u=this._itTail:(u=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,u,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,o)):t=this._addAfter(new Qb(n,i),u,o),t}_verifyReinsertion(t,n,i,o){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==u?t=this._reinsertAfter(u,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,u=t._nextRemoved;return null===o?this._removalsHead=u:o._nextRemoved=u,null===u?this._removalsTail=o:u._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new mC),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new mC),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Qb{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Jb{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class mC{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Jb,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _C(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class yC{constructor(){}supports(t){return t instanceof Map||Dd(t)}create(){return new Xb}}class Xb{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||Dd(t)))throw new nt(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,u)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const u=o._prev,f=o._next;return u&&(u._next=f),f&&(f._prev=u),o._next=null,o._prev=null,o}const i=new eD(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class eD{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function vC(){return new qm([new gC])}let qm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||vC()),deps:[[e,new bn,new Ft]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new nt(901,"")}}return e.\u0275prov=Rt({token:e,providedIn:"root",factory:vC}),e})();function CC(){return new Ym([new yC])}let Ym=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||CC()),deps:[[e,new bn,new Ft]]}}find(n){const i=this.factories.find(u=>u.supports(n));if(i)return i;throw new nt(901,"")}}return e.\u0275prov=Rt({token:e,providedIn:"root",factory:CC}),e})();const rD=sC(null,"core",[]);let iD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(c(jm))},e.\u0275mod=jt({type:e}),e.\u0275inj=Zt({}),e})()},4719:(_e,U,S)=>{"use strict";S.d(U,{Fj:()=>gt,u5:()=>Pn,JU:()=>ie,JJ:()=>ee,On:()=>Jr});var l=S(3071),m=S(6895),ne=S(2916),$=S(6688),H=S(4850),z=S(7830),X=S(5254);function W(w,C){return new ne.y(y=>{const R=w.length;if(0===R)return void y.complete();const ze=new Array(R);let tn=0,dr=0;for(let jn=0;jn<R;jn++){const oi=(0,X.D)(w[jn]);let Hi=!1;y.add(oi.subscribe({next:un=>{Hi||(Hi=!0,dr++),ze[jn]=un},error:un=>y.error(un),complete:()=>{tn++,(tn===R||!Hi)&&(dr===R&&y.next(C?C.reduce((un,Xo,$l)=>(un[Xo]=ze[$l],un),{}):ze),y.complete())}}))}})}let L=(()=>{class w{constructor(y,R){this._renderer=y,this._elementRef=R,this.onChange=ze=>{},this.onTouched=()=>{}}setProperty(y,R){this._renderer.setProperty(this._elementRef.nativeElement,y,R)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}}return w.\u0275fac=function(y){return new(y||w)(l.Y36(l.Qsj),l.Y36(l.SBq))},w.\u0275dir=l.lG2({type:w}),w})(),Y=(()=>{class w extends L{}return w.\u0275fac=function(){let C;return function(R){return(C||(C=l.n5z(w)))(R||w)}}(),w.\u0275dir=l.lG2({type:w,features:[l.qOj]}),w})();const ie=new l.OlP("NgValueAccessor"),Me={provide:ie,useExisting:(0,l.Gpc)(()=>gt),multi:!0},Et=new l.OlP("CompositionEventMode");let gt=(()=>{class w extends L{constructor(y,R,ze){super(y,R),this._compositionMode=ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function je(){const w=(0,m.q)()?(0,m.q)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}}return w.\u0275fac=function(y){return new(y||w)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(Et,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(y,R){1&y&&l.NdJ("input",function(tn){return R._handleInput(tn.target.value)})("blur",function(){return R.onTouched()})("compositionstart",function(){return R._compositionStart()})("compositionend",function(tn){return R._compositionEnd(tn.target.value)})},features:[l._Bn([Me]),l.qOj]}),w})();const me=new l.OlP("NgValidators"),le=new l.OlP("NgAsyncValidators");function Nn(w){return null!=w}function nn(w){const C=(0,l.QGY)(w)?(0,X.D)(w):w;return(0,l.CqO)(C),C}function en(w){let C={};return w.forEach(y=>{C=null!=y?{...C,...y}:C}),0===Object.keys(C).length?null:C}function Ge(w,C){return C.map(y=>y(w))}function it(w){return w.map(C=>function Qe(w){return!w.validate}(C)?C:y=>C.validate(y))}function mn(w){return null!=w?function Dn(w){if(!w)return null;const C=w.filter(Nn);return 0==C.length?null:function(y){return en(Ge(y,C))}}(it(w)):null}function Vn(w){return null!=w?function qn(w){if(!w)return null;const C=w.filter(Nn);return 0==C.length?null:function(y){return function Z(...w){if(1===w.length){const C=w[0];if((0,$.k)(C))return W(C,null);if((0,z.K)(C)&&Object.getPrototypeOf(C)===Object.prototype){const y=Object.keys(C);return W(y.map(R=>C[R]),y)}}if("function"==typeof w[w.length-1]){const C=w.pop();return W(w=1===w.length&&(0,$.k)(w[0])?w[0]:w,null).pipe((0,H.U)(y=>C(...y)))}return W(w,null)}(Ge(y,C).map(nn)).pipe((0,H.U)(en))}}(it(w)):null}function Tn(w,C){return null===w?[C]:Array.isArray(w)?[...w,C]:[w,C]}function Ve(w){return w?Array.isArray(w)?w:[w]:[]}function ve(w,C){return Array.isArray(w)?w.includes(C):w===C}function Pe(w,C){const y=Ve(C);return Ve(w).forEach(ze=>{ve(y,ze)||y.push(ze)}),y}function ct(w,C){return Ve(C).filter(y=>!ve(w,y))}class ft{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(C){this._rawValidators=C||[],this._composedValidatorFn=mn(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=Vn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C){this.control&&this.control.reset(C)}hasError(C,y){return!!this.control&&this.control.hasError(C,y)}getError(C,y){return this.control?this.control.getError(C,y):null}}class Ht extends ft{get formDirective(){return null}get path(){return null}}class Rt extends ft{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let ee=(()=>{class w extends class Mr{constructor(C){this._cd=C}is(C){return"submitted"===C?!!this._cd?.submitted:!!this._cd?.control?.[C]}}{constructor(y){super(y)}}return w.\u0275fac=function(y){return new(y||w)(l.Y36(Rt,2))},w.\u0275dir=l.lG2({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(y,R){2&y&&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})();function He(w,C){(function Ot(w,C){const y=function ar(w){return w._rawValidators}(w);null!==C.validator?w.setValidators(Tn(y,C.validator)):"function"==typeof y&&w.setValidators([y]);const R=function De(w){return w._rawAsyncValidators}(w);null!==C.asyncValidator?w.setAsyncValidators(Tn(R,C.asyncValidator)):"function"==typeof R&&w.setAsyncValidators([R]);const ze=()=>w.updateValueAndValidity();Mt(C._rawValidators,ze),Mt(C._rawAsyncValidators,ze)})(w,C),C.valueAccessor.writeValue(w.value),function an(w,C){C.valueAccessor.registerOnChange(y=>{w._pendingValue=y,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&At(w,C)})}(w,C),function Wt(w,C){const y=(R,ze)=>{C.valueAccessor.writeValue(R),ze&&C.viewToModelUpdate(R)};w.registerOnChange(y),C._registerOnDestroy(()=>{w._unregisterOnChange(y)})}(w,C),function vt(w,C){C.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&At(w,C),"submit"!==w.updateOn&&w.markAsTouched()})}(w,C),function Ut(w,C){if(C.valueAccessor.setDisabledState){const y=R=>{C.valueAccessor.setDisabledState(R)};w.registerOnDisabledChange(y),C._registerOnDestroy(()=>{w._unregisterOnDisabledChange(y)})}}(w,C)}function Mt(w,C){w.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(C)})}function At(w,C){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function be(w,C){const y=w.indexOf(C);y>-1&&w.splice(y,1)}const sn="VALID",Je="INVALID",ut="PENDING",Te="DISABLED";function St(w){return(wt(w)?w.validators:w)||null}function It(w){return Array.isArray(w)?mn(w):w||null}function Pt(w,C){return(wt(C)?C.asyncValidators:w)||null}function Ke(w){return Array.isArray(w)?Vn(w):w||null}function wt(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}const pn=w=>w instanceof Kt;function Qn(w){return(w=>w instanceof vi)(w)?w.value:w.getRawValue()}function lr(w,C){const y=pn(w),R=w.controls;if(!(y?Object.keys(R):R).length)throw new l.vHH(1e3,"");if(!R[C])throw new l.vHH(1001,"")}function er(w,C){pn(w),w._forEachChild((R,ze)=>{if(void 0===C[ze])throw new l.vHH(1002,"")})}class ui{constructor(C,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=C,this._rawAsyncValidators=y,this._composedValidatorFn=It(this._rawValidators),this._composedAsyncValidatorFn=Ke(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===sn}get invalid(){return this.status===Je}get pending(){return this.status==ut}get disabled(){return this.status===Te}get enabled(){return this.status!==Te}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._rawValidators=C,this._composedValidatorFn=It(C)}setAsyncValidators(C){this._rawAsyncValidators=C,this._composedAsyncValidatorFn=Ke(C)}addValidators(C){this.setValidators(Pe(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(Pe(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(ct(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(ct(C,this._rawAsyncValidators))}hasValidator(C){return ve(this._rawValidators,C)}hasAsyncValidator(C){return ve(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(y=>{y.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=ut,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const y=this._parentMarkedDirty(C.onlySelf);this.status=Te,this.errors=null,this._forEachChild(R=>{R.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:y}),this._onDisabledChange.forEach(R=>R(!0))}enable(C={}){const y=this._parentMarkedDirty(C.onlySelf);this.status=sn,this._forEachChild(R=>{R.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:y}),this._onDisabledChange.forEach(R=>R(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sn||this.status===ut)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Te:sn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=ut,this._hasOwnPendingAsyncValidator=!0;const y=nn(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe(R=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(R,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,y={}){this.errors=C,this._updateControlsErrors(!1!==y.emitEvent)}get(C){return function at(w,C,y){if(null==C||(Array.isArray(C)||(C=C.split(y)),Array.isArray(C)&&0===C.length))return null;let R=w;return C.forEach(ze=>{R=pn(R)?R.controls.hasOwnProperty(ze)?R.controls[ze]:null:(w=>w instanceof ci)(R)&&R.at(ze)||null}),R}(this,C,".")}getError(C,y){const R=y?this.get(y):this;return R&&R.errors?R.errors[C]:null}hasError(C,y){return!!this.getError(C,y)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?Te:this.errors?Je:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ut)?ut:this._anyControlsHaveStatus(Je)?Je:sn}_anyControlsHaveStatus(C){return this._anyControls(y=>y.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_isBoxedValue(C){return"object"==typeof C&&null!==C&&2===Object.keys(C).length&&"value"in C&&"disabled"in C}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){wt(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class vi extends ui{constructor(C=null,y,R){super(St(y),Pt(R,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),wt(y)&&y.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(C)?C.value:C)}setValue(C,y={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(R=>R(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(C,y={}){this.setValue(C,y)}reset(C=this.defaultValue,y={}){this._applyFormState(C),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){be(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){be(this._onDisabledChange,C)}_forEachChild(C){}_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(C){this._isBoxedValue(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}}class Kt extends ui{constructor(C,y,R){super(St(y),Pt(R,y)),this.controls=C,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,y){return this.controls[C]?this.controls[C]:(this.controls[C]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(C,y,R={}){this.registerControl(C,y),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}removeControl(C,y={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(C,y,R={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],y&&this.registerControl(C,y),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,y={}){er(this,C),Object.keys(C).forEach(R=>{lr(this,R),this.controls[R].setValue(C[R],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(C,y={}){null!=C&&(Object.keys(C).forEach(R=>{this.controls[R]&&this.controls[R].patchValue(C[R],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(C={},y={}){this._forEachChild((R,ze)=>{R.reset(C[ze],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(C,y,R)=>(C[R]=Qn(y),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(y,R)=>!!R._syncPendingControls()||y);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(y=>{const R=this.controls[y];R&&C(R,y)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const y of Object.keys(this.controls)){const R=this.controls[y];if(this.contains(y)&&C(R))return!0}return!1}_reduceValue(){return this._reduceChildren({},(C,y,R)=>((y.enabled||this.disabled)&&(C[R]=y.value),C))}_reduceChildren(C,y){let R=C;return this._forEachChild((ze,tn)=>{R=y(R,ze,tn)}),R}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class ci extends ui{constructor(C,y,R){super(St(y),Pt(R,y)),this.controls=C,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(C){return this.controls[C]}push(C,y={}){this.controls.push(C),this._registerControl(C),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(C,y,R={}){this.controls.splice(C,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:R.emitEvent})}removeAt(C,y={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),this.controls.splice(C,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(C,y,R={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),this.controls.splice(C,1),y&&(this.controls.splice(C,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(C,y={}){er(this,C),C.forEach((R,ze)=>{lr(this,ze),this.at(ze).setValue(R,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(C,y={}){null!=C&&(C.forEach((R,ze)=>{this.at(ze)&&this.at(ze).patchValue(R,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(C=[],y={}){this._forEachChild((R,ze)=>{R.reset(C[ze],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(C=>Qn(C))}clear(C={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:C.emitEvent}))}_syncPendingControls(){let C=this.controls.reduce((y,R)=>!!R._syncPendingControls()||y,!1);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){this.controls.forEach((y,R)=>{C(y,R)})}_updateValue(){this.value=this.controls.filter(C=>C.enabled||this.disabled).map(C=>C.value)}_anyControls(C){return this.controls.some(y=>y.enabled&&C(y))}_setUpControls(){this._forEachChild(C=>this._registerControl(C))}_allControlsDisabled(){for(const C of this.controls)if(C.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(C){C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)}}const Qi={provide:Rt,useExisting:(0,l.Gpc)(()=>Jr)},Vi=(()=>Promise.resolve(null))();let Jr=(()=>{class w extends Rt{constructor(y,R,ze,tn,dr){super(),this._changeDetectorRef=dr,this.control=new vi,this._registered=!1,this.update=new l.vpe,this._parent=y,this._setValidators(R),this._setAsyncValidators(ze),this.valueAccessor=function K(w,C){if(!C)return null;let y,R,ze;return Array.isArray(C),C.forEach(tn=>{tn.constructor===gt?y=tn:function mt(w){return Object.getPrototypeOf(w.constructor)===Y}(tn)?R=tn:ze=tn}),ze||R||y||null}(0,tn)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const R=y.name.previousValue;this.formDirective.removeControl({name:R,path:this._getPath(R)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),function rt(w,C){if(!w.hasOwnProperty("model"))return!1;const y=w.model;return!!y.isFirstChange()||!Object.is(C,y.currentValue)}(y,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){He(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(y){Vi.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(y){const R=y.isDisabled.currentValue,ze=""===R||R&&"false"!==R;Vi.then(()=>{ze&&!this.control.disabled?this.control.disable():!ze&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(y){return this._parent?function Le(w,C){return[...C.path,w]}(y,this._parent):[y]}}return w.\u0275fac=function(y){return new(y||w)(l.Y36(Ht,9),l.Y36(me,10),l.Y36(le,10),l.Y36(ie,10),l.Y36(l.sBO,8))},w.\u0275dir=l.lG2({type:w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([Qi]),l.qOj,l.TTD]}),w})(),Xr=(()=>{class w{}return w.\u0275fac=function(y){return new(y||w)},w.\u0275mod=l.oAB({type:w}),w.\u0275inj=l.cJS({}),w})(),tr=(()=>{class w{}return w.\u0275fac=function(y){return new(y||w)},w.\u0275mod=l.oAB({type:w}),w.\u0275inj=l.cJS({imports:[[Xr]]}),w})(),Pn=(()=>{class w{}return w.\u0275fac=function(y){return new(y||w)},w.\u0275mod=l.oAB({type:w}),w.\u0275inj=l.cJS({imports:[tr]}),w})()},1481:(_e,U,S)=>{"use strict";S.d(U,{b2:()=>ft,q6:()=>Pe,se:()=>Lt});var l=S(6895),m=S(3071);class ne extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class $ extends ne{static makeCurrent(){(0,l.HT)(new $)}onAndCancel(M,x,j){return M.addEventListener(x,j,!1),()=>{M.removeEventListener(x,j,!1)}}dispatchEvent(M,x){M.dispatchEvent(x)}remove(M){M.parentNode&&M.parentNode.removeChild(M)}createElement(M,x){return(x=x||this.getDefaultDocument()).createElement(M)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(M){return M.nodeType===Node.ELEMENT_NODE}isShadowRoot(M){return M instanceof DocumentFragment}getGlobalEventTarget(M,x){return"window"===x?window:"document"===x?M:"body"===x?M.body:null}getBaseHref(M){const x=function z(){return H=H||document.querySelector("base"),H?H.getAttribute("href"):null}();return null==x?null:function Z(P){X=X||document.createElement("a"),X.setAttribute("href",P);const M=X.pathname;return"/"===M.charAt(0)?M:`/${M}`}(x)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie(M){return(0,l.Mx)(document.cookie,M)}}let X,H=null;const W=new m.OlP("TRANSITION_ID"),Y=[{provide:m.ip1,useFactory:function L(P,M,x){return()=>{x.get(m.CZH).donePromise.then(()=>{const j=(0,l.q)(),Ce=M.querySelectorAll(`style[ng-transition="${P}"]`);for(let rt=0;rt<Ce.length;rt++)j.remove(Ce[rt])})}},deps:[W,l.K0,m.zs3],multi:!0}];class ie{static init(){(0,m.VLi)(new ie)}addToWindow(M){m.dqk.getAngularTestability=(j,Ce=!0)=>{const rt=M.findTestabilityInTree(j,Ce);if(null==rt)throw new Error("Could not find testability for element.");return rt},m.dqk.getAllAngularTestabilities=()=>M.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>M.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(j=>{const Ce=m.dqk.getAllAngularTestabilities();let rt=Ce.length,mt=!1;const Ze=function(K){mt=mt||K,rt--,0==rt&&j(mt)};Ce.forEach(function(K){K.whenStable(Ze)})})}findTestabilityInTree(M,x,j){return null==x?null:M.getTestability(x)??(j?(0,l.q)().isShadowRoot(x)?this.findTestabilityInTree(M,x.host,!0):this.findTestabilityInTree(M,x.parentElement,!0):null)}}let oe=(()=>{class P{build(){return new XMLHttpRequest}}return P.\u0275fac=function(x){return new(x||P)},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac}),P})();const Se=new m.OlP("EventManagerPlugins");let Me=(()=>{class P{constructor(x,j){this._zone=j,this._eventNameToPlugin=new Map,x.forEach(Ce=>Ce.manager=this),this._plugins=x.slice().reverse()}addEventListener(x,j,Ce){return this._findPluginFor(j).addEventListener(x,j,Ce)}addGlobalEventListener(x,j,Ce){return this._findPluginFor(j).addGlobalEventListener(x,j,Ce)}getZone(){return this._zone}_findPluginFor(x){const j=this._eventNameToPlugin.get(x);if(j)return j;const Ce=this._plugins;for(let rt=0;rt<Ce.length;rt++){const mt=Ce[rt];if(mt.supports(x))return this._eventNameToPlugin.set(x,mt),mt}throw new Error(`No event manager plugin found for event ${x}`)}}return P.\u0275fac=function(x){return new(x||P)(m.LFG(Se),m.LFG(m.R0b))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac}),P})();class je{constructor(M){this._doc=M}addGlobalEventListener(M,x,j){const Ce=(0,l.q)().getGlobalEventTarget(this._doc,M);if(!Ce)throw new Error(`Unsupported event target ${Ce} for event ${x}`);return this.addEventListener(Ce,x,j)}}let Et=(()=>{class P{constructor(){this._stylesSet=new Set}addStyles(x){const j=new Set;x.forEach(Ce=>{this._stylesSet.has(Ce)||(this._stylesSet.add(Ce),j.add(Ce))}),this.onStylesAdded(j)}onStylesAdded(x){}getAllStyles(){return Array.from(this._stylesSet)}}return P.\u0275fac=function(x){return new(x||P)},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac}),P})(),gt=(()=>{class P extends Et{constructor(x){super(),this._doc=x,this._hostNodes=new Map,this._hostNodes.set(x.head,[])}_addStylesToHost(x,j,Ce){x.forEach(rt=>{const mt=this._doc.createElement("style");mt.textContent=rt,Ce.push(j.appendChild(mt))})}addHost(x){const j=[];this._addStylesToHost(this._stylesSet,x,j),this._hostNodes.set(x,j)}removeHost(x){const j=this._hostNodes.get(x);j&&j.forEach(Ee),this._hostNodes.delete(x)}onStylesAdded(x){this._hostNodes.forEach((j,Ce)=>{this._addStylesToHost(x,Ce,j)})}ngOnDestroy(){this._hostNodes.forEach(x=>x.forEach(Ee))}}return P.\u0275fac=function(x){return new(x||P)(m.LFG(l.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac}),P})();function Ee(P){(0,l.q)().remove(P)}const qe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},me=/%COMP%/g;function pt(P,M,x){for(let j=0;j<M.length;j++){let Ce=M[j];Array.isArray(Ce)?pt(P,Ce,x):(Ce=Ce.replace(me,P),x.push(Ce))}return x}function te(P){return M=>{if("__ngUnwrap__"===M)return P;!1===P(M)&&(M.preventDefault(),M.returnValue=!1)}}let Lt=(()=>{class P{constructor(x,j,Ce){this.eventManager=x,this.sharedStylesHost=j,this.appId=Ce,this.rendererByCompId=new Map,this.defaultRenderer=new ht(x)}createRenderer(x,j){if(!x||!j)return this.defaultRenderer;switch(j.encapsulation){case m.ifc.Emulated:{let Ce=this.rendererByCompId.get(j.id);return Ce||(Ce=new nn(this.eventManager,this.sharedStylesHost,j,this.appId),this.rendererByCompId.set(j.id,Ce)),Ce.applyToHost(x),Ce}case 1:case m.ifc.ShadowDom:return new en(this.eventManager,this.sharedStylesHost,x,j);default:if(!this.rendererByCompId.has(j.id)){const Ce=pt(j.id,j.styles,[]);this.sharedStylesHost.addStyles(Ce),this.rendererByCompId.set(j.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return P.\u0275fac=function(x){return new(x||P)(m.LFG(Me),m.LFG(gt),m.LFG(m.AFp))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac}),P})();class ht{constructor(M){this.eventManager=M,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(M,x){return x?document.createElementNS(qe[x]||x,M):document.createElement(M)}createComment(M){return document.createComment(M)}createText(M){return document.createTextNode(M)}appendChild(M,x){M.appendChild(x)}insertBefore(M,x,j){M&&M.insertBefore(x,j)}removeChild(M,x){M&&M.removeChild(x)}selectRootElement(M,x){let j="string"==typeof M?document.querySelector(M):M;if(!j)throw new Error(`The selector "${M}" did not match any elements`);return x||(j.textContent=""),j}parentNode(M){return M.parentNode}nextSibling(M){return M.nextSibling}setAttribute(M,x,j,Ce){if(Ce){x=Ce+":"+x;const rt=qe[Ce];rt?M.setAttributeNS(rt,x,j):M.setAttribute(x,j)}else M.setAttribute(x,j)}removeAttribute(M,x,j){if(j){const Ce=qe[j];Ce?M.removeAttributeNS(Ce,x):M.removeAttribute(`${j}:${x}`)}else M.removeAttribute(x)}addClass(M,x){M.classList.add(x)}removeClass(M,x){M.classList.remove(x)}setStyle(M,x,j,Ce){Ce&(m.JOm.DashCase|m.JOm.Important)?M.style.setProperty(x,j,Ce&m.JOm.Important?"important":""):M.style[x]=j}removeStyle(M,x,j){j&m.JOm.DashCase?M.style.removeProperty(x):M.style[x]=""}setProperty(M,x,j){M[x]=j}setValue(M,x){M.nodeValue=x}listen(M,x,j){return"string"==typeof M?this.eventManager.addGlobalEventListener(M,x,te(j)):this.eventManager.addEventListener(M,x,te(j))}}class nn extends ht{constructor(M,x,j,Ce){super(M),this.component=j;const rt=pt(Ce+"-"+j.id,j.styles,[]);x.addStyles(rt),this.contentAttr=function cn(P){return"_ngcontent-%COMP%".replace(me,P)}(Ce+"-"+j.id),this.hostAttr=function nt(P){return"_nghost-%COMP%".replace(me,P)}(Ce+"-"+j.id)}applyToHost(M){super.setAttribute(M,this.hostAttr,"")}createElement(M,x){const j=super.createElement(M,x);return super.setAttribute(j,this.contentAttr,""),j}}class en extends ht{constructor(M,x,j,Ce){super(M),this.sharedStylesHost=x,this.hostEl=j,this.shadowRoot=j.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const rt=pt(Ce.id,Ce.styles,[]);for(let mt=0;mt<rt.length;mt++){const Ze=document.createElement("style");Ze.textContent=rt[mt],this.shadowRoot.appendChild(Ze)}}nodeOrShadowRoot(M){return M===this.hostEl?this.shadowRoot:M}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(M,x){return super.appendChild(this.nodeOrShadowRoot(M),x)}insertBefore(M,x,j){return super.insertBefore(this.nodeOrShadowRoot(M),x,j)}removeChild(M,x){return super.removeChild(this.nodeOrShadowRoot(M),x)}parentNode(M){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(M)))}}let Ge=(()=>{class P extends je{constructor(x){super(x)}supports(x){return!0}addEventListener(x,j,Ce){return x.addEventListener(j,Ce,!1),()=>this.removeEventListener(x,j,Ce)}removeEventListener(x,j,Ce){return x.removeEventListener(j,Ce)}}return P.\u0275fac=function(x){return new(x||P)(m.LFG(l.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac}),P})();const Qe=["alt","control","meta","shift"],Dn={"\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"},mn={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"},qn={alt:P=>P.altKey,control:P=>P.ctrlKey,meta:P=>P.metaKey,shift:P=>P.shiftKey};let Vn=(()=>{class P extends je{constructor(x){super(x)}supports(x){return null!=P.parseEventName(x)}addEventListener(x,j,Ce){const rt=P.parseEventName(j),mt=P.eventCallback(rt.fullKey,Ce,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(x,rt.domEventName,mt))}static parseEventName(x){const j=x.toLowerCase().split("."),Ce=j.shift();if(0===j.length||"keydown"!==Ce&&"keyup"!==Ce)return null;const rt=P._normalizeKey(j.pop());let mt="";if(Qe.forEach(K=>{const be=j.indexOf(K);be>-1&&(j.splice(be,1),mt+=K+".")}),mt+=rt,0!=j.length||0===rt.length)return null;const Ze={};return Ze.domEventName=Ce,Ze.fullKey=mt,Ze}static getEventFullKey(x){let j="",Ce=function Tn(P){let M=P.key;if(null==M){if(M=P.keyIdentifier,null==M)return"Unidentified";M.startsWith("U+")&&(M=String.fromCharCode(parseInt(M.substring(2),16)),3===P.location&&mn.hasOwnProperty(M)&&(M=mn[M]))}return Dn[M]||M}(x);return Ce=Ce.toLowerCase()," "===Ce?Ce="space":"."===Ce&&(Ce="dot"),Qe.forEach(rt=>{rt!=Ce&&qn[rt](x)&&(j+=rt+".")}),j+=Ce,j}static eventCallback(x,j,Ce){return rt=>{P.getEventFullKey(rt)===x&&Ce.runGuarded(()=>j(rt))}}static _normalizeKey(x){return"esc"===x?"escape":x}}return P.\u0275fac=function(x){return new(x||P)(m.LFG(l.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac}),P})();const Pe=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:l.bD},{provide:m.g9A,useValue:function ar(){$.makeCurrent(),ie.init()},multi:!0},{provide:l.K0,useFactory:function Ve(){return(0,m.RDi)(document),document},deps:[]}]),ct=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function De(){return new m.qLn},deps:[]},{provide:Se,useClass:Ge,multi:!0,deps:[l.K0,m.R0b,m.Lbi]},{provide:Se,useClass:Vn,multi:!0,deps:[l.K0]},{provide:Lt,useClass:Lt,deps:[Me,gt,m.AFp]},{provide:m.FYo,useExisting:Lt},{provide:Et,useExisting:gt},{provide:gt,useClass:gt,deps:[l.K0]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b]},{provide:Me,useClass:Me,deps:[Se,m.R0b]},{provide:l.JF,useClass:oe,deps:[]}];let ft=(()=>{class P{constructor(x){if(x)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(x){return{ngModule:P,providers:[{provide:m.AFp,useValue:x.appId},{provide:W,useExisting:m.AFp},Y]}}}return P.\u0275fac=function(x){return new(x||P)(m.LFG(P,12))},P.\u0275mod=m.oAB({type:P}),P.\u0275inj=m.cJS({providers:ct,imports:[l.ez,m.hGG]}),P})();typeof window<"u"&&window},4514:(_e,U,S)=>{"use strict";S.d(U,{au:()=>Ut,A4:()=>Wt});var l=S(3071),m=S(6895),ne=S(1086),$=S(2916),H=S(1709),X=S(2198),Z=S(4850);class W{}class L{}class Y{constructor(P){this.normalizedNames=new Map,this.lazyUpdate=null,P?this.lazyInit="string"==typeof P?()=>{this.headers=new Map,P.split("\n").forEach(M=>{const x=M.indexOf(":");if(x>0){const j=M.slice(0,x),Ce=j.toLowerCase(),rt=M.slice(x+1).trim();this.maybeSetNormalizedName(j,Ce),this.headers.has(Ce)?this.headers.get(Ce).push(rt):this.headers.set(Ce,[rt])}})}:()=>{this.headers=new Map,Object.keys(P).forEach(M=>{let x=P[M];const j=M.toLowerCase();"string"==typeof x&&(x=[x]),x.length>0&&(this.headers.set(j,x),this.maybeSetNormalizedName(M,j))})}:this.headers=new Map}has(P){return this.init(),this.headers.has(P.toLowerCase())}get(P){this.init();const M=this.headers.get(P.toLowerCase());return M&&M.length>0?M[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(P){return this.init(),this.headers.get(P.toLowerCase())||null}append(P,M){return this.clone({name:P,value:M,op:"a"})}set(P,M){return this.clone({name:P,value:M,op:"s"})}delete(P,M){return this.clone({name:P,value:M,op:"d"})}maybeSetNormalizedName(P,M){this.normalizedNames.has(M)||this.normalizedNames.set(M,P)}init(){this.lazyInit&&(this.lazyInit instanceof Y?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(P=>this.applyUpdate(P)),this.lazyUpdate=null))}copyFrom(P){P.init(),Array.from(P.headers.keys()).forEach(M=>{this.headers.set(M,P.headers.get(M)),this.normalizedNames.set(M,P.normalizedNames.get(M))})}clone(P){const M=new Y;return M.lazyInit=this.lazyInit&&this.lazyInit instanceof Y?this.lazyInit:this,M.lazyUpdate=(this.lazyUpdate||[]).concat([P]),M}applyUpdate(P){const M=P.name.toLowerCase();switch(P.op){case"a":case"s":let x=P.value;if("string"==typeof x&&(x=[x]),0===x.length)return;this.maybeSetNormalizedName(P.name,M);const j=("a"===P.op?this.headers.get(M):void 0)||[];j.push(...x),this.headers.set(M,j);break;case"d":const Ce=P.value;if(Ce){let rt=this.headers.get(M);if(!rt)return;rt=rt.filter(mt=>-1===Ce.indexOf(mt)),0===rt.length?(this.headers.delete(M),this.normalizedNames.delete(M)):this.headers.set(M,rt)}else this.headers.delete(M),this.normalizedNames.delete(M)}}forEach(P){this.init(),Array.from(this.normalizedNames.keys()).forEach(M=>P(this.normalizedNames.get(M),this.headers.get(M)))}}class ie{encodeKey(P){return je(P)}encodeValue(P){return je(P)}decodeKey(P){return decodeURIComponent(P)}decodeValue(P){return decodeURIComponent(P)}}const Se=/%(\d[a-f0-9])/gi,Me={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function je(pe){return encodeURIComponent(pe).replace(Se,(P,M)=>Me[M]??P)}function Et(pe){return`${pe}`}class gt{constructor(P={}){if(this.updates=null,this.cloneFrom=null,this.encoder=P.encoder||new ie,P.fromString){if(P.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oe(pe,P){const M=new Map;return pe.length>0&&pe.replace(/^\?/,"").split("&").forEach(j=>{const Ce=j.indexOf("="),[rt,mt]=-1==Ce?[P.decodeKey(j),""]:[P.decodeKey(j.slice(0,Ce)),P.decodeValue(j.slice(Ce+1))],Ze=M.get(rt)||[];Ze.push(mt),M.set(rt,Ze)}),M}(P.fromString,this.encoder)}else P.fromObject?(this.map=new Map,Object.keys(P.fromObject).forEach(M=>{const x=P.fromObject[M];this.map.set(M,Array.isArray(x)?x:[x])})):this.map=null}has(P){return this.init(),this.map.has(P)}get(P){this.init();const M=this.map.get(P);return M?M[0]:null}getAll(P){return this.init(),this.map.get(P)||null}keys(){return this.init(),Array.from(this.map.keys())}append(P,M){return this.clone({param:P,value:M,op:"a"})}appendAll(P){const M=[];return Object.keys(P).forEach(x=>{const j=P[x];Array.isArray(j)?j.forEach(Ce=>{M.push({param:x,value:Ce,op:"a"})}):M.push({param:x,value:j,op:"a"})}),this.clone(M)}set(P,M){return this.clone({param:P,value:M,op:"s"})}delete(P,M){return this.clone({param:P,value:M,op:"d"})}toString(){return this.init(),this.keys().map(P=>{const M=this.encoder.encodeKey(P);return this.map.get(P).map(x=>M+"="+this.encoder.encodeValue(x)).join("&")}).filter(P=>""!==P).join("&")}clone(P){const M=new gt({encoder:this.encoder});return M.cloneFrom=this.cloneFrom||this,M.updates=(this.updates||[]).concat(P),M}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(P=>this.map.set(P,this.cloneFrom.map.get(P))),this.updates.forEach(P=>{switch(P.op){case"a":case"s":const M=("a"===P.op?this.map.get(P.param):void 0)||[];M.push(Et(P.value)),this.map.set(P.param,M);break;case"d":if(void 0===P.value){this.map.delete(P.param);break}{let x=this.map.get(P.param)||[];const j=x.indexOf(Et(P.value));-1!==j&&x.splice(j,1),x.length>0?this.map.set(P.param,x):this.map.delete(P.param)}}}),this.cloneFrom=this.updates=null)}}class qe{constructor(){this.map=new Map}set(P,M){return this.map.set(P,M),this}get(P){return this.map.has(P)||this.map.set(P,P.defaultValue()),this.map.get(P)}delete(P){return this.map.delete(P),this}has(P){return this.map.has(P)}keys(){return this.map.keys()}}function le(pe){return typeof ArrayBuffer<"u"&&pe instanceof ArrayBuffer}function yt(pe){return typeof Blob<"u"&&pe instanceof Blob}function Fe(pe){return typeof FormData<"u"&&pe instanceof FormData}class cn{constructor(P,M,x,j){let Ce;if(this.url=M,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=P.toUpperCase(),function me(pe){switch(pe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||j?(this.body=void 0!==x?x:null,Ce=j):Ce=x,Ce&&(this.reportProgress=!!Ce.reportProgress,this.withCredentials=!!Ce.withCredentials,Ce.responseType&&(this.responseType=Ce.responseType),Ce.headers&&(this.headers=Ce.headers),Ce.context&&(this.context=Ce.context),Ce.params&&(this.params=Ce.params)),this.headers||(this.headers=new Y),this.context||(this.context=new qe),this.params){const rt=this.params.toString();if(0===rt.length)this.urlWithParams=M;else{const mt=M.indexOf("?");this.urlWithParams=M+(-1===mt?"?":mt<M.length-1?"&":"")+rt}}else this.params=new gt,this.urlWithParams=M}serializeBody(){return null===this.body?null:le(this.body)||yt(this.body)||Fe(this.body)||function fn(pe){return typeof URLSearchParams<"u"&&pe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof gt?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||Fe(this.body)?null:yt(this.body)?this.body.type||null:le(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof gt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(P={}){const M=P.method||this.method,x=P.url||this.url,j=P.responseType||this.responseType,Ce=void 0!==P.body?P.body:this.body,rt=void 0!==P.withCredentials?P.withCredentials:this.withCredentials,mt=void 0!==P.reportProgress?P.reportProgress:this.reportProgress;let Ze=P.headers||this.headers,K=P.params||this.params;const be=P.context??this.context;return void 0!==P.setHeaders&&(Ze=Object.keys(P.setHeaders).reduce((jt,Qt)=>jt.set(Qt,P.setHeaders[Qt]),Ze)),P.setParams&&(K=Object.keys(P.setParams).reduce((jt,Qt)=>jt.set(Qt,P.setParams[Qt]),K)),new cn(M,x,Ce,{params:K,headers:Ze,context:be,reportProgress:mt,responseType:j,withCredentials:rt})}}var nt=(()=>((nt=nt||{})[nt.Sent=0]="Sent",nt[nt.UploadProgress=1]="UploadProgress",nt[nt.ResponseHeader=2]="ResponseHeader",nt[nt.DownloadProgress=3]="DownloadProgress",nt[nt.Response=4]="Response",nt[nt.User=5]="User",nt))();class pt{constructor(P,M=200,x="OK"){this.headers=P.headers||new Y,this.status=void 0!==P.status?P.status:M,this.statusText=P.statusText||x,this.url=P.url||null,this.ok=this.status>=200&&this.status<300}}class te extends pt{constructor(P={}){super(P),this.type=nt.ResponseHeader}clone(P={}){return new te({headers:P.headers||this.headers,status:void 0!==P.status?P.status:this.status,statusText:P.statusText||this.statusText,url:P.url||this.url||void 0})}}class xe extends pt{constructor(P={}){super(P),this.type=nt.Response,this.body=void 0!==P.body?P.body:null}clone(P={}){return new xe({body:void 0!==P.body?P.body:this.body,headers:P.headers||this.headers,status:void 0!==P.status?P.status:this.status,statusText:P.statusText||this.statusText,url:P.url||this.url||void 0})}}class Lt extends pt{constructor(P){super(P,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${P.url||"(unknown url)"}`:`Http failure response for ${P.url||"(unknown url)"}: ${P.status} ${P.statusText}`,this.error=P.error||null}}function ht(pe,P){return{body:P,headers:pe.headers,context:pe.context,observe:pe.observe,params:pe.params,reportProgress:pe.reportProgress,responseType:pe.responseType,withCredentials:pe.withCredentials}}let In=(()=>{class pe{constructor(M){this.handler=M}request(M,x,j={}){let Ce;if(M instanceof cn)Ce=M;else{let Ze,K;Ze=j.headers instanceof Y?j.headers:new Y(j.headers),j.params&&(K=j.params instanceof gt?j.params:new gt({fromObject:j.params})),Ce=new cn(M,x,void 0!==j.body?j.body:null,{headers:Ze,context:j.context,params:K,reportProgress:j.reportProgress,responseType:j.responseType||"json",withCredentials:j.withCredentials})}const rt=(0,ne.of)(Ce).pipe(function z(pe,P){return(0,H.zg)(pe,P,1)}(Ze=>this.handler.handle(Ze)));if(M instanceof cn||"events"===j.observe)return rt;const mt=rt.pipe((0,X.h)(Ze=>Ze instanceof xe));switch(j.observe||"body"){case"body":switch(Ce.responseType){case"arraybuffer":return mt.pipe((0,Z.U)(Ze=>{if(null!==Ze.body&&!(Ze.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ze.body}));case"blob":return mt.pipe((0,Z.U)(Ze=>{if(null!==Ze.body&&!(Ze.body instanceof Blob))throw new Error("Response is not a Blob.");return Ze.body}));case"text":return mt.pipe((0,Z.U)(Ze=>{if(null!==Ze.body&&"string"!=typeof Ze.body)throw new Error("Response is not a string.");return Ze.body}));default:return mt.pipe((0,Z.U)(Ze=>Ze.body))}case"response":return mt;default:throw new Error(`Unreachable: unhandled observe type ${j.observe}}`)}}delete(M,x={}){return this.request("DELETE",M,x)}get(M,x={}){return this.request("GET",M,x)}head(M,x={}){return this.request("HEAD",M,x)}jsonp(M,x){return this.request("JSONP",M,{params:(new gt).append(x,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(M,x={}){return this.request("OPTIONS",M,x)}patch(M,x,j={}){return this.request("PATCH",M,ht(j,x))}post(M,x,j={}){return this.request("POST",M,ht(j,x))}put(M,x,j={}){return this.request("PUT",M,ht(j,x))}}return pe.\u0275fac=function(M){return new(M||pe)(l.LFG(W))},pe.\u0275prov=l.Yz7({token:pe,factory:pe.\u0275fac}),pe})();class Nn{constructor(P,M){this.next=P,this.interceptor=M}handle(P){return this.interceptor.intercept(P,this.next)}}const nn=new l.OlP("HTTP_INTERCEPTORS");let en=(()=>{class pe{intercept(M,x){return x.handle(M)}}return pe.\u0275fac=function(M){return new(M||pe)},pe.\u0275prov=l.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const ar=/^\)\]\}',?\n/;let Ve=(()=>{class pe{constructor(M){this.xhrFactory=M}handle(M){if("JSONP"===M.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new $.y(x=>{const j=this.xhrFactory.build();if(j.open(M.method,M.urlWithParams),M.withCredentials&&(j.withCredentials=!0),M.headers.forEach((sn,Je)=>j.setRequestHeader(sn,Je.join(","))),M.headers.has("Accept")||j.setRequestHeader("Accept","application/json, text/plain, */*"),!M.headers.has("Content-Type")){const sn=M.detectContentTypeHeader();null!==sn&&j.setRequestHeader("Content-Type",sn)}if(M.responseType){const sn=M.responseType.toLowerCase();j.responseType="json"!==sn?sn:"text"}const Ce=M.serializeBody();let rt=null;const mt=()=>{if(null!==rt)return rt;const sn=j.statusText||"OK",Je=new Y(j.getAllResponseHeaders()),ut=function De(pe){return"responseURL"in pe&&pe.responseURL?pe.responseURL:/^X-Request-URL:/m.test(pe.getAllResponseHeaders())?pe.getResponseHeader("X-Request-URL"):null}(j)||M.url;return rt=new te({headers:Je,status:j.status,statusText:sn,url:ut}),rt},Ze=()=>{let{headers:sn,status:Je,statusText:ut,url:Te}=mt(),at=null;204!==Je&&(at=typeof j.response>"u"?j.responseText:j.response),0===Je&&(Je=at?200:0);let St=Je>=200&&Je<300;if("json"===M.responseType&&"string"==typeof at){const It=at;at=at.replace(ar,"");try{at=""!==at?JSON.parse(at):null}catch(Pt){at=It,St&&(St=!1,at={error:Pt,text:at})}}St?(x.next(new xe({body:at,headers:sn,status:Je,statusText:ut,url:Te||void 0})),x.complete()):x.error(new Lt({error:at,headers:sn,status:Je,statusText:ut,url:Te||void 0}))},K=sn=>{const{url:Je}=mt(),ut=new Lt({error:sn,status:j.status||0,statusText:j.statusText||"Unknown Error",url:Je||void 0});x.error(ut)};let be=!1;const jt=sn=>{be||(x.next(mt()),be=!0);let Je={type:nt.DownloadProgress,loaded:sn.loaded};sn.lengthComputable&&(Je.total=sn.total),"text"===M.responseType&&!!j.responseText&&(Je.partialText=j.responseText),x.next(Je)},Qt=sn=>{let Je={type:nt.UploadProgress,loaded:sn.loaded};sn.lengthComputable&&(Je.total=sn.total),x.next(Je)};return j.addEventListener("load",Ze),j.addEventListener("error",K),j.addEventListener("timeout",K),j.addEventListener("abort",K),M.reportProgress&&(j.addEventListener("progress",jt),null!==Ce&&j.upload&&j.upload.addEventListener("progress",Qt)),j.send(Ce),x.next({type:nt.Sent}),()=>{j.removeEventListener("error",K),j.removeEventListener("abort",K),j.removeEventListener("load",Ze),j.removeEventListener("timeout",K),M.reportProgress&&(j.removeEventListener("progress",jt),null!==Ce&&j.upload&&j.upload.removeEventListener("progress",Qt)),j.readyState!==j.DONE&&j.abort()}})}}return pe.\u0275fac=function(M){return new(M||pe)(l.LFG(m.JF))},pe.\u0275prov=l.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const ve=new l.OlP("XSRF_COOKIE_NAME"),Pe=new l.OlP("XSRF_HEADER_NAME");class ct{}let ft=(()=>{class pe{constructor(M,x,j){this.doc=M,this.platform=x,this.cookieName=j,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const M=this.doc.cookie||"";return M!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,m.Mx)(M,this.cookieName),this.lastCookieString=M),this.lastToken}}return pe.\u0275fac=function(M){return new(M||pe)(l.LFG(m.K0),l.LFG(l.Lbi),l.LFG(ve))},pe.\u0275prov=l.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),Ht=(()=>{class pe{constructor(M,x){this.tokenService=M,this.headerName=x}intercept(M,x){const j=M.url.toLowerCase();if("GET"===M.method||"HEAD"===M.method||j.startsWith("http://")||j.startsWith("https://"))return x.handle(M);const Ce=this.tokenService.getToken();return null!==Ce&&!M.headers.has(this.headerName)&&(M=M.clone({headers:M.headers.set(this.headerName,Ce)})),x.handle(M)}}return pe.\u0275fac=function(M){return new(M||pe)(l.LFG(ct),l.LFG(Pe))},pe.\u0275prov=l.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),Rt=(()=>{class pe{constructor(M,x){this.backend=M,this.injector=x,this.chain=null}handle(M){if(null===this.chain){const x=this.injector.get(nn,[]);this.chain=x.reduceRight((j,Ce)=>new Nn(j,Ce),this.backend)}return this.chain.handle(M)}}return pe.\u0275fac=function(M){return new(M||pe)(l.LFG(L),l.LFG(l.zs3))},pe.\u0275prov=l.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),Un=(()=>{class pe{static disable(){return{ngModule:pe,providers:[{provide:Ht,useClass:en}]}}static withOptions(M={}){return{ngModule:pe,providers:[M.cookieName?{provide:ve,useValue:M.cookieName}:[],M.headerName?{provide:Pe,useValue:M.headerName}:[]]}}}return pe.\u0275fac=function(M){return new(M||pe)},pe.\u0275mod=l.oAB({type:pe}),pe.\u0275inj=l.cJS({providers:[Ht,{provide:nn,useExisting:Ht,multi:!0},{provide:ct,useClass:ft},{provide:ve,useValue:"XSRF-TOKEN"},{provide:Pe,useValue:"X-XSRF-TOKEN"}]}),pe})(),ee=(()=>{class pe{}return pe.\u0275fac=function(M){return new(M||pe)},pe.\u0275mod=l.oAB({type:pe}),pe.\u0275inj=l.cJS({providers:[In,{provide:W,useClass:Rt},Ve,{provide:L,useExisting:Ve}],imports:[[Un.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),pe})();const Ue={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 Ie{constructor(P){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=P.protocol;let M=P.port;M||(function Oe(pe){return/^https:$/i.test(pe)}(this.protocol)?M="443":function Re(pe){return/^http:$/i.test(pe)}(this.protocol)&&(M="80")),this.domain=P.hostname,this.port=parseInt(M,10),this.path=P.pathname;const x=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Ue[2087]:/^cpanel\./.test(this.domain)?Ue[2083]:/^webmail\./.test(this.domain)?Ue[2095]:Ue[M.toString()]||Ue[x[2]]||"whostmgr",this.securityToken=x[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Ce=this.path.split("/");this.theme=Ce[3]}this.themePath="";let j=this.securityToken+"/";this.isUnprotected?j="/":this.isCpanel?j+="frontend/"+this.theme+"/":this.isWebmail?j+="webmail/"+this.theme+"/":this.isOther&&(j="/"),this.themePath=j,this.rootUrl=this.protocol+"//"+this.domain+":"+this.port}get isOther(){return/other/i.test(this.applicationName)}get isUnprotected(){return!this.securityToken&&-1!==this.unprotectedPaths.indexOf(function et(pe){return pe&&pe.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(P){return this.themePath+P}buildFullPath(P){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(P)}buildTokenPath(P){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+P}}class zt{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 Vt=S(4235),qt=S.n(Vt),A=S(1305),re=S.n(A),ae=(()=>{return(pe=ae||(ae={}))[pe.Error=0]="Error",pe[pe.Warning=1]="Warning",pe[pe.Information=2]="Information",pe[pe.Unknown=3]="Unknown",ae;var pe})();const ce={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Le{constructor(P){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={},P.chunk&&(this.isPaged=!0,this.record=parseInt(P.chunk.start,10)||0,this.page=parseInt(P.chunk.current,10)||0,this.pageSize=parseInt(P.chunk.size,10)||0,this.totalPages=parseInt(P.chunk.chunks,10)||0,this.totalRecords=parseInt(P.chunk.records,10)||0),P.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(P.filter.filtered,10)||0);const M=new Set(["paginate","filter"]);Object.keys(P).filter(x=>!M.has(x)).forEach(x=>{this.properties[x]=P[x]})}}class He extends class Be{constructor(P,M){if(this.status=0,this.messages=[],this.meta=function ot(pe){return JSON.parse(JSON.stringify(pe))}(ce),this.options={keepUnprocessedResponse:!1},qt()(P)||re()(P))throw new Error("The response was unexpectedly undefined or null");M&&(this.options=M),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(P)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(P){return this.messages.filter(M=>M.type===P)}get errors(){return this._getMessages(ae.Error)}get warnings(){return this._getMessages(ae.Warning)}get infoMessages(){return this._getMessages(ae.Information)}_hasMessages(P){return this.messages.filter(M=>M.type===P).length>0}get hasErrors(){return this._hasMessages(ae.Error)}get hasWarnings(){return this._hasMessages(ae.Warning)}get hasInfoMessages(){return this._hasMessages(ae.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(P){if(this.status=0,typeof P.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(P.result,10)}_parseMessages(P){if(!P.result){const M=[P.reason];M&&M.length&&M.forEach(x=>{this.messages.push({type:ae.Error,message:x})})}}_reduce_list_data(P){if("object"==typeof P&&!(P instanceof Array)){const M=Object.keys(P);if(1===M.length){const x=P[M[0]];x?x instanceof Array&&(P=x):P=[]}}return P}constructor(P,M){if(super(P,M),!P)throw new Error("Response object should be defined.");P.metadata&&(this._parseStatus(P.metadata),this._parseMessages(P.metadata),this.meta=new Le(P.metadata)),this.data=this._reduce_list_data(P.data)}}var bt=S(109),Mt=S(3022);let Ut=(()=>{class pe{}return pe.\u0275fac=function(M){return new(M||pe)},pe.\u0275mod=l.oAB({type:pe}),pe.\u0275inj=l.cJS({imports:[[ee]]}),pe})(),Wt=(()=>{class pe{constructor(M){this.http=M}get(M){const x=M.generate({verb:bt.F.GET,encoder:new Mt.VN}),j=this.packageUrl(x);return this.http.get(j,{headers:this.packageHeaders(x)}).pipe((0,Z.U)(this.packageResponseHandler(j)))}post(M){const x=M.generate(),j=this.packageUrl(x);return this.http.post(j,x.body,{headers:this.packageHeaders(x)}).pipe((0,Z.U)(this.packageResponseHandler(j)))}packageHeaders(M){const x={};return M.headers.forEach(j=>{x[j.name]=j.value}),new Y(x)}packageUrl(M){return new Ie(new zt).buildTokenPath(M.url)}packageResponseHandler(M){return x=>{const j=new He(x);return j.meta.properties.url=M,j}}}return pe.\u0275fac=function(M){return new(M||pe)(l.LFG(In))},pe.\u0275prov=l.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})()},348:(_e,U,S)=>{"use strict";S.d(U,{m:()=>H});var l=S(3071),m=S(269);const ne=new l.OlP("window"),$=z=>new m.g(z.CLDR,z.LEXICON);let H=(()=>{class z{}return z.\u0275fac=function(Z){return new(Z||z)},z.\u0275mod=l.oAB({type:z}),z.\u0275inj=l.cJS({providers:[{provide:ne,useValue:window},{provide:m.g,useFactory:$,deps:[ne]}],imports:[[]]}),z})()},8738:(_e,U,S)=>{"use strict";S.d(U,{zr:()=>Gi,hF:()=>Ls,CQ:()=>ri,c9:()=>Fn,Oc:()=>ha,df:()=>$d,kM:()=>Ud,k6:()=>Tl,RV:()=>Zr,Qt:()=>Sl,u3:()=>Pl,QG:()=>Ii,_z:()=>pc,gS:()=>Ml,t8:()=>ss});var l=S(3071),m=S(6895),ne=S(6729),$=S(826),H=S(9054);class X{constructor(c){this.notifier=c}call(c,a){const p=new Z(c),b=(0,H.D)(p,this.notifier);return b&&!p.seenValue?(p.add(b),a.subscribe(p)):p}}class Z extends $.L{constructor(c){super(c),this.seenValue=!1}notifyNext(c,a,p,b,F){this.seenValue=!0,this.complete()}notifyComplete(){}}var W=S(3489),L=S(353);class ie{constructor(c,a){this.dueTime=c,this.scheduler=a}call(c,a){return a.subscribe(new oe(c,this.dueTime,this.scheduler))}}class oe extends W.L{constructor(c,a,p){super(c),this.dueTime=a,this.scheduler=p,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(c){this.clearDebounce(),this.lastValue=c,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Se,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:c}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(c)}}clearDebounce(){const c=this.debouncedSubscription;null!==c&&(this.remove(c),c.unsubscribe(),this.debouncedSubscription=null)}}function Se(h){h.debouncedNext()}class je{constructor(c,a){this.compare=c,this.keySelector=a}call(c,a){return a.subscribe(new Et(c,this.compare,this.keySelector))}}class Et extends W.L{constructor(c,a,p){super(c),this.keySelector=p,this.hasKey=!1,"function"==typeof a&&(this.compare=a)}compare(c,a){return c===a}_next(c){let a;try{const{keySelector:b}=this;a=b?b(c):c}catch(b){return this.destination.error(b)}let p=!1;if(this.hasKey)try{const{compare:b}=this;p=b(this.key,a)}catch(b){return this.destination.error(b)}else this.hasKey=!0;p||(this.key=a,this.destination.next(c))}}var gt=S(2198),Ee=S(4719),qe=S(348),me=S(269),le=S(7340),yt=S(1481);const Fe=!1;function cn(h){return new l.vHH(3e3,Fe)}function et(){return typeof window<"u"&&typeof window.document<"u"}function _t(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ue(h){switch(h.length){case 0:return new le.ZN;case 1:return h[0];default:return new le.ZE(h)}}function Ie(h,c,a,p,b={},F={}){const q=[],J=[];let ge=-1,$e=null;if(p.forEach(Ft=>{const rn=Ft.offset,bn=rn==ge,On=bn&&$e||{};Object.keys(Ft).forEach(dn=>{let Mn=dn,Yn=Ft[dn];if("offset"!==dn)switch(Mn=c.normalizePropertyName(Mn,q),Yn){case le.k1:Yn=b[dn];break;case le.l3:Yn=F[dn];break;default:Yn=c.normalizeStyleValue(dn,Mn,Yn,q)}On[Mn]=Yn}),bn||J.push(On),$e=On,ge=rn}),q.length)throw function ct(h){return new l.vHH(3502,Fe)}();return J}function zt(h,c,a,p){switch(c){case"start":h.onStart(()=>p(a&&Vt(a,"start",h)));break;case"done":h.onDone(()=>p(a&&Vt(a,"done",h)));break;case"destroy":h.onDestroy(()=>p(a&&Vt(a,"destroy",h)))}}function Vt(h,c,a){const F=qt(h.element,h.triggerName,h.fromState,h.toState,c||h.phaseName,a.totalTime??h.totalTime,!!a.disabled),q=h._data;return null!=q&&(F._data=q),F}function qt(h,c,a,p,b="",F=0,q){return{element:h,triggerName:c,fromState:a,toState:p,phaseName:b,totalTime:F,disabled:!!q}}function A(h,c,a){let p;return h instanceof Map?(p=h.get(c),p||h.set(c,p=a)):(p=h[c],p||(p=h[c]=a)),p}function re(h){const c=h.indexOf(":");return[h.substring(1,c),h.substr(c+1)]}let ae=(h,c)=>!1,ce=(h,c,a)=>[],ot=null;function Be(h){const c=h.parentNode||h.host;return c===ot?null:c}(_t()||typeof Element<"u")&&(et()?(ot=(()=>document.documentElement)(),ae=(h,c)=>{for(;c;){if(c===h)return!0;c=Be(c)}return!1}):ae=(h,c)=>h.contains(c),ce=(h,c,a)=>{if(a)return Array.from(h.querySelectorAll(c));const p=h.querySelector(c);return p?[p]:[]});let bt=null,Mt=!1;function Ut(h){bt||(bt=function Ot(){return typeof document<"u"?document.body:null}()||{},Mt=!!bt.style&&"WebkitAppearance"in bt.style);let c=!0;return bt.style&&!function He(h){return"ebkit"==h.substring(1,6)}(h)&&(c=h in bt.style,!c&&Mt&&(c="Webkit"+h.charAt(0).toUpperCase()+h.substr(1)in bt.style)),c}const Tt=ae,an=ce;let At=(()=>{class h{validateStyleProperty(a){return Ut(a)}matchesElement(a,p){return!1}containsElement(a,p){return Tt(a,p)}getParentElement(a){return Be(a)}query(a,p,b){return an(a,p,b)}computeStyle(a,p,b){return b||""}animate(a,p,b,F,q,J=[],ge){return new le.ZN(b,F)}}return h.\u0275fac=function(a){return new(a||h)},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})(),Wt=(()=>{class h{}return h.NOOP=new At,h})();const x="ng-enter",j="ng-leave",Ce="ng-trigger",rt=".ng-trigger",mt="ng-animating",Ze=".ng-animating";function K(h){if("number"==typeof h)return h;const c=h.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:be(parseFloat(c[1]),c[2])}function be(h,c){return"s"===c?1e3*h:h}function jt(h,c,a){return h.hasOwnProperty("duration")?h:function Qt(h,c,a){let b,F=0,q="";if("string"==typeof h){const J=h.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===J)return c.push(cn()),{duration:0,delay:0,easing:""};b=be(parseFloat(J[1]),J[2]);const ge=J[3];null!=ge&&(F=be(parseFloat(ge),J[4]));const $e=J[5];$e&&(q=$e)}else b=h;if(!a){let J=!1,ge=c.length;b<0&&(c.push(function nt(){return new l.vHH(3100,Fe)}()),J=!0),F<0&&(c.push(function pt(){return new l.vHH(3101,Fe)}()),J=!0),J&&c.splice(ge,0,cn())}return{duration:b,delay:F,easing:q}}(h,c,a)}function sn(h,c={}){return Object.keys(h).forEach(a=>{c[a]=h[a]}),c}function ut(h,c,a={}){if(c)for(let p in h)a[p]=h[p];else sn(h,a);return a}function Te(h,c,a){return a?c+":"+a+";":""}function at(h){let c="";for(let a=0;a<h.style.length;a++){const p=h.style.item(a);c+=Te(0,p,h.style.getPropertyValue(p))}for(const a in h.style)h.style.hasOwnProperty(a)&&!a.startsWith("_")&&(c+=Te(0,er(a),h.style[a]));h.setAttribute("style",c)}function St(h,c,a){h.style&&(Object.keys(c).forEach(p=>{const b=lr(p);a&&!a.hasOwnProperty(p)&&(a[p]=h.style[b]),h.style[b]=c[p]}),_t()&&at(h))}function It(h,c){h.style&&(Object.keys(c).forEach(a=>{const p=lr(a);h.style[p]=""}),_t()&&at(h))}function Pt(h){return Array.isArray(h)?1==h.length?h[0]:(0,le.vP)(h):h}const wt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Bt(h){let c=[];if("string"==typeof h){let a;for(;a=wt.exec(h);)c.push(a[1]);wt.lastIndex=0}return c}function pn(h,c,a){const p=h.toString(),b=p.replace(wt,(F,q)=>{let J=c[q];return c.hasOwnProperty(q)||(a.push(function xe(h){return new l.vHH(3003,Fe)}()),J=""),J.toString()});return b==p?h:b}function Sn(h){const c=[];let a=h.next();for(;!a.done;)c.push(a.value),a=h.next();return c}const Qn=/-+([a-z0-9])/g;function lr(h){return h.replace(Qn,(...c)=>c[1].toUpperCase())}function er(h){return h.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Kt(h,c,a){switch(c.type){case 7:return h.visitTrigger(c,a);case 0:return h.visitState(c,a);case 1:return h.visitTransition(c,a);case 2:return h.visitSequence(c,a);case 3:return h.visitGroup(c,a);case 4:return h.visitAnimate(c,a);case 5:return h.visitKeyframes(c,a);case 6:return h.visitStyle(c,a);case 8:return h.visitReference(c,a);case 9:return h.visitAnimateChild(c,a);case 10:return h.visitAnimateRef(c,a);case 11:return h.visitQuery(c,a);case 12:return h.visitStagger(c,a);default:throw function Lt(h){return new l.vHH(3004,Fe)}()}}function ci(h,c){return window.getComputedStyle(h)[c]}function ea(h,c){const a=[];return"string"==typeof h?h.split(/\s*,\s*/).forEach(p=>function Do(h,c,a){if(":"==h[0]){const ge=function Qi(h,c){switch(h){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,p)=>parseFloat(p)>parseFloat(a);case":decrement":return(a,p)=>parseFloat(p)<parseFloat(a);default:return c.push(function De(h){return new l.vHH(3016,Fe)}()),"* => *"}}(h,a);if("function"==typeof ge)return void c.push(ge);h=ge}const p=h.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return a.push(function ar(h){return new l.vHH(3015,Fe)}()),c;const b=p[1],F=p[2],q=p[3];c.push(Ji(b,q));"<"==F[0]&&!("*"==b&&"*"==q)&&c.push(Ji(q,b))}(p,a,c)):a.push(h),a}const Vi=new Set(["true","1"]),Jr=new Set(["false","0"]);function Ji(h,c){const a=Vi.has(h)||Jr.has(h),p=Vi.has(c)||Jr.has(c);return(b,F)=>{let q="*"==h||h==b,J="*"==c||c==F;return!q&&a&&"boolean"==typeof b&&(q=b?Vi.has(h):Jr.has(h)),!J&&p&&"boolean"==typeof F&&(J=F?Vi.has(c):Jr.has(c)),q&&J}}const ur=new RegExp("s*:selfs*,?","g");function Eo(h,c,a,p){return new Xr(h).build(c,a,p)}class Xr{constructor(c){this._driver=c}build(c,a,p){const b=new lo(a);this._resetContextStyleTimingState(b);const F=Kt(this,Pt(c),b);return b.unsupportedCSSPropertiesFound.size&&b.unsupportedCSSPropertiesFound.keys(),F}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles={},c.collectedStyles[""]={},c.currentTime=0}visitTrigger(c,a){let p=a.queryCount=0,b=a.depCount=0;const F=[],q=[];return"@"==c.name.charAt(0)&&a.errors.push(function In(){return new l.vHH(3006,Fe)}()),c.definitions.forEach(J=>{if(this._resetContextStyleTimingState(a),0==J.type){const ge=J,$e=ge.name;$e.toString().split(/\s*,\s*/).forEach(Ft=>{ge.name=Ft,F.push(this.visitState(ge,a))}),ge.name=$e}else if(1==J.type){const ge=this.visitTransition(J,a);p+=ge.queryCount,b+=ge.depCount,q.push(ge)}else a.errors.push(function Nn(){return new l.vHH(3007,Fe)}())}),{type:7,name:c.name,states:F,transitions:q,queryCount:p,depCount:b,options:null}}visitState(c,a){const p=this.visitStyle(c.styles,a),b=c.options&&c.options.params||null;if(p.containsDynamicStyles){const F=new Set,q=b||{};p.styles.forEach(J=>{if(uo(J)){const ge=J;Object.keys(ge).forEach($e=>{Bt(ge[$e]).forEach(Ft=>{q.hasOwnProperty(Ft)||F.add(Ft)})})}}),F.size&&(Sn(F.values()),a.errors.push(function nn(h,c){return new l.vHH(3008,Fe)}()))}return{type:0,name:c.name,style:p,options:b?{params:b}:null}}visitTransition(c,a){a.queryCount=0,a.depCount=0;const p=Kt(this,Pt(c.animation),a);return{type:1,matchers:ea(c.expr,a.errors),animation:p,queryCount:a.queryCount,depCount:a.depCount,options:Si(c.options)}}visitSequence(c,a){return{type:2,steps:c.steps.map(p=>Kt(this,p,a)),options:Si(c.options)}}visitGroup(c,a){const p=a.currentTime;let b=0;const F=c.steps.map(q=>{a.currentTime=p;const J=Kt(this,q,a);return b=Math.max(b,a.currentTime),J});return a.currentTime=b,{type:3,steps:F,options:Si(c.options)}}visitAnimate(c,a){const p=function Ma(h,c){if(h.hasOwnProperty("duration"))return h;if("number"==typeof h)return To(jt(h,c).duration,0,"");const a=h;if(a.split(/\s+/).some(F=>"{"==F.charAt(0)&&"{"==F.charAt(1))){const F=To(0,0,"");return F.dynamic=!0,F.strValue=a,F}const b=jt(a,c);return To(b.duration,b.delay,b.easing)}(c.timings,a.errors);a.currentAnimateTimings=p;let b,F=c.styles?c.styles:(0,le.oB)({});if(5==F.type)b=this.visitKeyframes(F,a);else{let q=c.styles,J=!1;if(!q){J=!0;const $e={};p.easing&&($e.easing=p.easing),q=(0,le.oB)($e)}a.currentTime+=p.duration+p.delay;const ge=this.visitStyle(q,a);ge.isEmptyStep=J,b=ge}return a.currentAnimateTimings=null,{type:4,timings:p,style:b,options:null}}visitStyle(c,a){const p=this._makeStyleAst(c,a);return this._validateStyleAst(p,a),p}_makeStyleAst(c,a){const p=[];Array.isArray(c.styles)?c.styles.forEach(q=>{"string"==typeof q?q==le.l3?p.push(q):a.errors.push(function en(h){return new l.vHH(3002,Fe)}()):p.push(q)}):p.push(c.styles);let b=!1,F=null;return p.forEach(q=>{if(uo(q)){const J=q,ge=J.easing;if(ge&&(F=ge,delete J.easing),!b)for(let $e in J)if(J[$e].toString().indexOf("{{")>=0){b=!0;break}}}),{type:6,styles:p,easing:F,offset:c.offset,containsDynamicStyles:b,options:null}}_validateStyleAst(c,a){const p=a.currentAnimateTimings;let b=a.currentTime,F=a.currentTime;p&&F>0&&(F-=p.duration+p.delay),c.styles.forEach(q=>{"string"!=typeof q&&Object.keys(q).forEach(J=>{if(!this._driver.validateStyleProperty(J))return delete q[J],void a.unsupportedCSSPropertiesFound.add(J);const ge=a.collectedStyles[a.currentQuerySelector],$e=ge[J];let Ft=!0;$e&&(F!=b&&F>=$e.startTime&&b<=$e.endTime&&(a.errors.push(function Qe(h,c,a,p,b){return new l.vHH(3010,Fe)}()),Ft=!1),F=$e.startTime),Ft&&(ge[J]={startTime:F,endTime:b}),a.options&&function Ke(h,c,a){const p=c.params||{},b=Bt(h);b.length&&b.forEach(F=>{p.hasOwnProperty(F)||a.push(function te(h){return new l.vHH(3001,Fe)}())})}(q[J],a.options,a.errors)})})}visitKeyframes(c,a){const p={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function it(){return new l.vHH(3011,Fe)}()),p;let F=0;const q=[];let J=!1,ge=!1,$e=0;const Ft=c.steps.map(Sr=>{const Ur=this._makeStyleAst(Sr,a);let ai=null!=Ur.offset?Ur.offset:function zr(h){if("string"==typeof h)return null;let c=null;if(Array.isArray(h))h.forEach(a=>{if(uo(a)&&a.hasOwnProperty("offset")){const p=a;c=parseFloat(p.offset),delete p.offset}});else if(uo(h)&&h.hasOwnProperty("offset")){const a=h;c=parseFloat(a.offset),delete a.offset}return c}(Ur.styles),wr=0;return null!=ai&&(F++,wr=Ur.offset=ai),ge=ge||wr<0||wr>1,J=J||wr<$e,$e=wr,q.push(wr),Ur});ge&&a.errors.push(function Dn(){return new l.vHH(3012,Fe)}()),J&&a.errors.push(function mn(){return new l.vHH(3200,Fe)}());const rn=c.steps.length;let bn=0;F>0&&F<rn?a.errors.push(function qn(){return new l.vHH(3202,Fe)}()):0==F&&(bn=1/(rn-1));const On=rn-1,dn=a.currentTime,Mn=a.currentAnimateTimings,Yn=Mn.duration;return Ft.forEach((Sr,Ur)=>{const ai=bn>0?Ur==On?1:bn*Ur:q[Ur],wr=ai*Yn;a.currentTime=dn+Mn.delay+wr,Mn.duration=wr,this._validateStyleAst(Sr,a),Sr.offset=ai,p.styles.push(Sr)}),p}visitReference(c,a){return{type:8,animation:Kt(this,Pt(c.animation),a),options:Si(c.options)}}visitAnimateChild(c,a){return a.depCount++,{type:9,options:Si(c.options)}}visitAnimateRef(c,a){return{type:10,animation:this.visitReference(c.animation,a),options:Si(c.options)}}visitQuery(c,a){const p=a.currentQuerySelector,b=c.options||{};a.queryCount++,a.currentQuery=c;const[F,q]=function Mo(h){const c=!!h.split(/\s*,\s*/).find(a=>":self"==a);return c&&(h=h.replace(ur,"")),h=h.replace(/@\*/g,rt).replace(/@\w+/g,a=>rt+"-"+a.substr(1)).replace(/:animating/g,Ze),[h,c]}(c.selector);a.currentQuerySelector=p.length?p+" "+F:F,A(a.collectedStyles,a.currentQuerySelector,{});const J=Kt(this,Pt(c.animation),a);return a.currentQuery=null,a.currentQuerySelector=p,{type:11,selector:F,limit:b.limit||0,optional:!!b.optional,includeSelf:q,animation:J,originalSelector:c.selector,options:Si(c.options)}}visitStagger(c,a){a.currentQuery||a.errors.push(function Vn(){return new l.vHH(3013,Fe)}());const p="full"===c.timings?{duration:0,delay:0,easing:"full"}:jt(c.timings,a.errors,!0);return{type:12,animation:Kt(this,Pt(c.animation),a),timings:p,options:null}}}class lo{constructor(c){this.errors=c,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function uo(h){return!Array.isArray(h)&&"object"==typeof h}function Si(h){return h?(h=sn(h)).params&&(h.params=function Xi(h){return h?sn(h):null}(h.params)):h={},h}function To(h,c,a){return{duration:h,delay:c,easing:a}}function So(h,c,a,p,b,F,q=null,J=!1){return{type:1,element:h,keyframes:c,preStyleProps:a,postStyleProps:p,duration:b,delay:F,totalTime:b+F,easing:q,subTimeline:J}}class Ko{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,a){let p=this._map.get(c);p||this._map.set(c,p=[]),p.push(...a)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const Po=new RegExp(":enter","g"),Sa=new RegExp(":leave","g");function Qo(h,c,a,p,b,F={},q={},J,ge,$e=[]){return(new Pa).buildKeyframes(h,c,a,p,b,F,q,J,ge,$e)}class Pa{buildKeyframes(c,a,p,b,F,q,J,ge,$e,Ft=[]){$e=$e||new Ko;const rn=new Jn(c,a,$e,b,F,Ft,[]);rn.options=ge,rn.currentTimeline.setStyles([q],null,rn.errors,ge),Kt(this,p,rn);const bn=rn.timelines.filter(On=>On.containsAnimation());if(Object.keys(J).length){let On;for(let dn=bn.length-1;dn>=0;dn--){const Mn=bn[dn];if(Mn.element===a){On=Mn;break}}On&&!On.allowOnlyTimelineStyles()&&On.setStyles([J],null,rn.errors,ge)}return bn.length?bn.map(On=>On.buildKeyframes()):[So(a,[],[],[],0,0,"",!1)]}visitTrigger(c,a){}visitState(c,a){}visitTransition(c,a){}visitAnimateChild(c,a){const p=a.subInstructions.get(a.element);if(p){const b=a.createSubContext(c.options),F=a.currentTimeline.currentTime,q=this._visitSubInstructions(p,b,b.options);F!=q&&a.transformIntoNewTimeline(q)}a.previousNode=c}visitAnimateRef(c,a){const p=a.createSubContext(c.options);p.transformIntoNewTimeline(),this.visitReference(c.animation,p),a.transformIntoNewTimeline(p.currentTimeline.currentTime),a.previousNode=c}_visitSubInstructions(c,a,p){let F=a.currentTimeline.currentTime;const q=null!=p.duration?K(p.duration):null,J=null!=p.delay?K(p.delay):null;return 0!==q&&c.forEach(ge=>{const $e=a.appendInstructionToTimeline(ge,q,J);F=Math.max(F,$e.duration+$e.delay)}),F}visitReference(c,a){a.updateOptions(c.options,!0),Kt(this,c.animation,a),a.previousNode=c}visitSequence(c,a){const p=a.subContextCount;let b=a;const F=c.options;if(F&&(F.params||F.delay)&&(b=a.createSubContext(F),b.transformIntoNewTimeline(),null!=F.delay)){6==b.previousNode.type&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=eo);const q=K(F.delay);b.delayNextStep(q)}c.steps.length&&(c.steps.forEach(q=>Kt(this,q,b)),b.currentTimeline.applyStylesToKeyframe(),b.subContextCount>p&&b.transformIntoNewTimeline()),a.previousNode=c}visitGroup(c,a){const p=[];let b=a.currentTimeline.currentTime;const F=c.options&&c.options.delay?K(c.options.delay):0;c.steps.forEach(q=>{const J=a.createSubContext(c.options);F&&J.delayNextStep(F),Kt(this,q,J),b=Math.max(b,J.currentTimeline.currentTime),p.push(J.currentTimeline)}),p.forEach(q=>a.currentTimeline.mergeTimelineCollectedStyles(q)),a.transformIntoNewTimeline(b),a.previousNode=c}_visitTiming(c,a){if(c.dynamic){const p=c.strValue;return jt(a.params?pn(p,a.params,a.errors):p,a.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,a){const p=a.currentAnimateTimings=this._visitTiming(c.timings,a),b=a.currentTimeline;p.delay&&(a.incrementTime(p.delay),b.snapshotCurrentStyles());const F=c.style;5==F.type?this.visitKeyframes(F,a):(a.incrementTime(p.duration),this.visitStyle(F,a),b.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=c}visitStyle(c,a){const p=a.currentTimeline,b=a.currentAnimateTimings;!b&&p.getCurrentStyleProperties().length&&p.forwardFrame();const F=b&&b.easing||c.easing;c.isEmptyStep?p.applyEmptyStep(F):p.setStyles(c.styles,F,a.errors,a.options),a.previousNode=c}visitKeyframes(c,a){const p=a.currentAnimateTimings,b=a.currentTimeline.duration,F=p.duration,J=a.createSubContext().currentTimeline;J.easing=p.easing,c.styles.forEach(ge=>{J.forwardTime((ge.offset||0)*F),J.setStyles(ge.styles,ge.easing,a.errors,a.options),J.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(J),a.transformIntoNewTimeline(b+F),a.previousNode=c}visitQuery(c,a){const p=a.currentTimeline.currentTime,b=c.options||{},F=b.delay?K(b.delay):0;F&&(6===a.previousNode.type||0==p&&a.currentTimeline.getCurrentStyleProperties().length)&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=eo);let q=p;const J=a.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!b.optional,a.errors);a.currentQueryTotal=J.length;let ge=null;J.forEach(($e,Ft)=>{a.currentQueryIndex=Ft;const rn=a.createSubContext(c.options,$e);F&&rn.delayNextStep(F),$e===a.element&&(ge=rn.currentTimeline),Kt(this,c.animation,rn),rn.currentTimeline.applyStylesToKeyframe(),q=Math.max(q,rn.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(q),ge&&(a.currentTimeline.mergeTimelineCollectedStyles(ge),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=c}visitStagger(c,a){const p=a.parentContext,b=a.currentTimeline,F=c.timings,q=Math.abs(F.duration),J=q*(a.currentQueryTotal-1);let ge=q*a.currentQueryIndex;switch(F.duration<0?"reverse":F.easing){case"reverse":ge=J-ge;break;case"full":ge=p.currentStaggerTime}const Ft=a.currentTimeline;ge&&Ft.delayNextStep(ge);const rn=Ft.currentTime;Kt(this,c.animation,a),a.previousNode=c,p.currentStaggerTime=b.currentTime-rn+(b.startTime-p.currentTimeline.startTime)}}const eo={};class Jn{constructor(c,a,p,b,F,q,J,ge){this._driver=c,this.element=a,this.subInstructions=p,this._enterClassName=b,this._leaveClassName=F,this.errors=q,this.timelines=J,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=eo,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ge||new $n(this._driver,a,0),J.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,a){if(!c)return;const p=c;let b=this.options;null!=p.duration&&(b.duration=K(p.duration)),null!=p.delay&&(b.delay=K(p.delay));const F=p.params;if(F){let q=b.params;q||(q=this.options.params={}),Object.keys(F).forEach(J=>{(!a||!q.hasOwnProperty(J))&&(q[J]=pn(F[J],q,this.errors))})}}_copyOptions(){const c={};if(this.options){const a=this.options.params;if(a){const p=c.params={};Object.keys(a).forEach(b=>{p[b]=a[b]})}}return c}createSubContext(c=null,a,p){const b=a||this.element,F=new Jn(this._driver,b,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(b,p||0));return F.previousNode=this.previousNode,F.currentAnimateTimings=this.currentAnimateTimings,F.options=this._copyOptions(),F.updateOptions(c),F.currentQueryIndex=this.currentQueryIndex,F.currentQueryTotal=this.currentQueryTotal,F.parentContext=this,this.subContextCount++,F}transformIntoNewTimeline(c){return this.previousNode=eo,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,a,p){const b={duration:a??c.duration,delay:this.currentTimeline.currentTime+(p??0)+c.delay,easing:""},F=new dl(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,b,c.stretchStartingKeyframe);return this.timelines.push(F),b}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,a,p,b,F,q){let J=[];if(b&&J.push(this.element),c.length>0){c=(c=c.replace(Po,"."+this._enterClassName)).replace(Sa,"."+this._leaveClassName);let $e=this._driver.query(this.element,c,1!=p);0!==p&&($e=p<0?$e.slice($e.length+p,$e.length):$e.slice(0,p)),J.push(...$e)}return!F&&0==J.length&&q.push(function Tn(h){return new l.vHH(3014,Fe)}()),J}}class $n{constructor(c,a,p,b){this._driver=c,this.element=a,this.startTime=p,this._elementTimelineStylesLookup=b,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(c){const a=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||a?(this.forwardTime(this.currentTime+c),a&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,a){return this.applyStylesToKeyframe(),new $n(this._driver,c,a||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,a){this._localTimelineStyles[c]=a,this._globalTimelineStyles[c]=a,this._styleSummary[c]={time:this.currentTime,value:a}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&(this._previousKeyframe.easing=c),Object.keys(this._globalTimelineStyles).forEach(a=>{this._backFill[a]=this._globalTimelineStyles[a]||le.l3,this._currentKeyframe[a]=le.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,a,p,b){a&&(this._previousKeyframe.easing=a);const F=b&&b.params||{},q=function Oo(h,c){const a={};let p;return h.forEach(b=>{"*"===b?(p=p||Object.keys(c),p.forEach(F=>{a[F]=le.l3})):ut(b,!1,a)}),a}(c,this._globalTimelineStyles);Object.keys(q).forEach(J=>{const ge=pn(q[J],F,p);this._pendingStyles[J]=ge,this._localTimelineStyles.hasOwnProperty(J)||(this._backFill[J]=this._globalTimelineStyles.hasOwnProperty(J)?this._globalTimelineStyles[J]:le.l3),this._updateStyle(J,ge)})}applyStylesToKeyframe(){const c=this._pendingStyles,a=Object.keys(c);0!=a.length&&(this._pendingStyles={},a.forEach(p=>{this._currentKeyframe[p]=c[p]}),Object.keys(this._localTimelineStyles).forEach(p=>{this._currentKeyframe.hasOwnProperty(p)||(this._currentKeyframe[p]=this._localTimelineStyles[p])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(c=>{const a=this._localTimelineStyles[c];this._pendingStyles[c]=a,this._updateStyle(c,a)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let a in this._currentKeyframe)c.push(a);return c}mergeTimelineCollectedStyles(c){Object.keys(c._styleSummary).forEach(a=>{const p=this._styleSummary[a],b=c._styleSummary[a];(!p||b.time>p.time)&&this._updateStyle(a,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,a=new Set,p=1===this._keyframes.size&&0===this.duration;let b=[];this._keyframes.forEach((J,ge)=>{const $e=ut(J,!0);Object.keys($e).forEach(Ft=>{const rn=$e[Ft];rn==le.k1?c.add(Ft):rn==le.l3&&a.add(Ft)}),p||($e.offset=ge/this.duration),b.push($e)});const F=c.size?Sn(c.values()):[],q=a.size?Sn(a.values()):[];if(p){const J=b[0],ge=sn(J);J.offset=0,ge.offset=1,b=[J,ge]}return So(this.element,b,F,q,this.duration,this.startTime,this.easing,!1)}}class dl extends $n{constructor(c,a,p,b,F,q,J=!1){super(c,a,q.delay),this.keyframes=p,this.preStyleProps=b,this.postStyleProps=F,this._stretchStartingKeyframe=J,this.timings={duration:q.duration,delay:q.delay,easing:q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:a,duration:p,easing:b}=this.timings;if(this._stretchStartingKeyframe&&a){const F=[],q=p+a,J=a/q,ge=ut(c[0],!1);ge.offset=0,F.push(ge);const $e=ut(c[0],!1);$e.offset=ta(J),F.push($e);const Ft=c.length-1;for(let rn=1;rn<=Ft;rn++){let bn=ut(c[rn],!1);bn.offset=ta((a+bn.offset*p)/q),F.push(bn)}p=q,a=0,b="",c=F}return So(this.element,c,this.preStyleProps,this.postStyleProps,p,a,b,!0)}}function ta(h,c=3){const a=Math.pow(10,c-1);return Math.round(h*a)/a}class na{}class ia extends na{normalizePropertyName(c,a){return lr(c)}normalizeStyleValue(c,a,p,b){let F="";const q=p.toString().trim();if(Bi[a]&&0!==p&&"0"!==p)if("number"==typeof p)F="px";else{const J=p.match(/^[+-]?[\d\.]+([a-z]*)$/);J&&0==J[1].length&&b.push(function ht(h,c){return new l.vHH(3005,Fe)}())}return q+F}}const Bi=(()=>function xr(h){const c={};return h.forEach(a=>c[a]=!0),c}("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 co(h,c,a,p,b,F,q,J,ge,$e,Ft,rn,bn){return{type:0,element:h,triggerName:c,isRemovalTransition:b,fromState:a,fromStyles:F,toState:p,toStyles:q,timelines:J,queriedElements:ge,preStyleProps:$e,postStyleProps:Ft,totalTime:rn,errors:bn}}const Wr={};class Es{constructor(c,a,p){this._triggerName=c,this.ast=a,this._stateStyles=p}match(c,a,p,b){return function Jo(h,c,a,p,b){return h.some(F=>F(c,a,p,b))}(this.ast.matchers,c,a,p,b)}buildStyles(c,a,p){const b=this._stateStyles["*"],F=this._stateStyles[c],q=b?b.buildStyles(a,p):{};return F?F.buildStyles(a,p):q}build(c,a,p,b,F,q,J,ge,$e,Ft){const rn=[],bn=this.ast.options&&this.ast.options.params||Wr,dn=this.buildStyles(p,J&&J.params||Wr,rn),Mn=ge&&ge.params||Wr,Yn=this.buildStyles(b,Mn,rn),Sr=new Set,Ur=new Map,ai=new Map,wr="void"===b,Wi={params:{...bn,...Mn}},Ni=Ft?[]:Qo(c,a,this.ast.animation,F,q,dn,Yn,Wi,$e,rn);let fi=0;if(Ni.forEach(io=>{fi=Math.max(io.duration+io.delay,fi)}),rn.length)return co(a,this._triggerName,p,b,wr,dn,Yn,[],[],Ur,ai,fi,rn);Ni.forEach(io=>{const yo=io.element,Ol=A(Ur,yo,{});io.preStyleProps.forEach(ls=>Ol[ls]=!0);const Lo=A(ai,yo,{});io.postStyleProps.forEach(ls=>Lo[ls]=!0),yo!==a&&Sr.add(yo)});const Fi=Sn(Sr.values());return co(a,this._triggerName,p,b,wr,dn,Yn,Ni,Fi,Ur,ai,fi)}}class Br{constructor(c,a,p){this.styles=c,this.defaultParams=a,this.normalizer=p}buildStyles(c,a){const p={},b=sn(this.defaultParams);return Object.keys(c).forEach(F=>{const q=c[F];null!=q&&(b[F]=q)}),this.styles.styles.forEach(F=>{if("string"!=typeof F){const q=F;Object.keys(q).forEach(J=>{let ge=q[J];ge.length>1&&(ge=pn(ge,b,a));const $e=this.normalizer.normalizePropertyName(J,a);ge=this.normalizer.normalizeStyleValue(J,$e,ge,a),p[$e]=ge})}}),p}}class oa{constructor(c,a,p){this.name=c,this.ast=a,this._normalizer=p,this.transitionFactories=[],this.states={},a.states.forEach(b=>{this.states[b.name]=new Br(b.style,b.options&&b.options.params||{},p)}),D(this.states,"true","1"),D(this.states,"false","0"),a.transitions.forEach(b=>{this.transitionFactories.push(new Es(c,b,this.states))}),this.fallbackTransition=function Ao(h,c,a){return new Es(h,{type:1,animation:{type:2,steps:[],options:null},matchers:[(q,J)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,a,p,b){return this.transitionFactories.find(q=>q.match(c,a,p,b))||null}matchStyles(c,a,p){return this.fallbackTransition.buildStyles(c,a,p)}}function D(h,c,a){h.hasOwnProperty(c)?h.hasOwnProperty(a)||(h[a]=h[c]):h.hasOwnProperty(a)&&(h[c]=h[a])}const N=new Ko;class E{constructor(c,a,p){this.bodyNode=c,this._driver=a,this._normalizer=p,this._animations={},this._playersById={},this.players=[]}register(c,a){const p=[],F=Eo(this._driver,a,p,[]);if(p.length)throw function ft(h){return new l.vHH(3503,Fe)}();this._animations[c]=F}_buildPlayer(c,a,p){const b=c.element,F=Ie(0,this._normalizer,0,c.keyframes,a,p);return this._driver.animate(b,F,c.duration,c.delay,c.easing,[],!0)}create(c,a,p={}){const b=[],F=this._animations[c];let q;const J=new Map;if(F?(q=Qo(this._driver,a,F,x,j,{},{},p,N,b),q.forEach(Ft=>{const rn=A(J,Ft.element,{});Ft.postStyleProps.forEach(bn=>rn[bn]=null)})):(b.push(function Ht(){return new l.vHH(3300,Fe)}()),q=[]),b.length)throw function Rt(h){return new l.vHH(3504,Fe)}();J.forEach((Ft,rn)=>{Object.keys(Ft).forEach(bn=>{Ft[bn]=this._driver.computeStyle(rn,bn,le.l3)})});const $e=Ue(q.map(Ft=>{const rn=J.get(Ft.element);return this._buildPlayer(Ft,{},rn)}));return this._playersById[c]=$e,$e.onDestroy(()=>this.destroy(c)),this.players.push($e),$e}destroy(c){const a=this._getPlayer(c);a.destroy(),delete this._playersById[c];const p=this.players.indexOf(a);p>=0&&this.players.splice(p,1)}_getPlayer(c){const a=this._playersById[c];if(!a)throw function Mr(h){return new l.vHH(3301,Fe)}();return a}listen(c,a,p,b){const F=qt(a,"","","");return zt(this._getPlayer(c),p,F,b),()=>{}}command(c,a,p,b){if("register"==p)return void this.register(c,b[0]);if("create"==p)return void this.create(c,a,b[0]||{});const F=this._getPlayer(c);switch(p){case"play":F.play();break;case"pause":F.pause();break;case"reset":F.reset();break;case"restart":F.restart();break;case"finish":F.finish();break;case"init":F.init();break;case"setPosition":F.setPosition(parseFloat(b[0]));break;case"destroy":this.destroy(c)}}}const B="ng-animate-queued",ke="ng-animate-disabled",Gn=[],rr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Rn="__ng_removed";class tr{constructor(c,a=""){this.namespaceId=a;const p=c&&c.hasOwnProperty("value");if(this.value=function C(h){return h??null}(p?c.value:c),p){const F=sn(c);delete F.value,this.options=F}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const a=c.params;if(a){const p=this.options.params;Object.keys(a).forEach(b=>{null==p[b]&&(p[b]=a[b])})}}}const Pn="void",Pi=new tr(Pn);class fo{constructor(c,a,p){this.id=c,this.hostElement=a,this._engine=p,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,jn(a,this._hostClassName)}listen(c,a,p,b){if(!this._triggers.hasOwnProperty(a))throw function Zt(h,c){return new l.vHH(3302,Fe)}();if(null==p||0==p.length)throw function Un(h){return new l.vHH(3303,Fe)}();if(!function R(h){return"start"==h||"done"==h}(p))throw function ee(h,c){return new l.vHH(3400,Fe)}();const F=A(this._elementListeners,c,[]),q={name:a,phase:p,callback:b};F.push(q);const J=A(this._engine.statesByElement,c,{});return J.hasOwnProperty(a)||(jn(c,Ce),jn(c,Ce+"-"+a),J[a]=Pi),()=>{this._engine.afterFlush(()=>{const ge=F.indexOf(q);ge>=0&&F.splice(ge,1),this._triggers[a]||delete J[a]})}}register(c,a){return!this._triggers[c]&&(this._triggers[c]=a,!0)}_getTrigger(c){const a=this._triggers[c];if(!a)throw function de(h){return new l.vHH(3401,Fe)}();return a}trigger(c,a,p,b=!0){const F=this._getTrigger(a),q=new Cr(this.id,a,c);let J=this._engine.statesByElement.get(c);J||(jn(c,Ce),jn(c,Ce+"-"+a),this._engine.statesByElement.set(c,J={}));let ge=J[a];const $e=new tr(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&ge&&$e.absorbOptions(ge.options),J[a]=$e,ge||(ge=Pi),$e.value!==Pn&&ge.value===$e.value){if(!function $l(h,c){const a=Object.keys(h),p=Object.keys(c);if(a.length!=p.length)return!1;for(let b=0;b<a.length;b++){const F=a[b];if(!c.hasOwnProperty(F)||h[F]!==c[F])return!1}return!0}(ge.params,$e.params)){const Mn=[],Yn=F.matchStyles(ge.value,ge.params,Mn),Sr=F.matchStyles($e.value,$e.params,Mn);Mn.length?this._engine.reportError(Mn):this._engine.afterFlush(()=>{It(c,Yn),St(c,Sr)})}return}const bn=A(this._engine.playersByElement,c,[]);bn.forEach(Mn=>{Mn.namespaceId==this.id&&Mn.triggerName==a&&Mn.queued&&Mn.destroy()});let On=F.matchTransition(ge.value,$e.value,c,$e.params),dn=!1;if(!On){if(!b)return;On=F.fallbackTransition,dn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:a,transition:On,fromState:ge,toState:$e,player:q,isFallbackTransition:dn}),dn||(jn(c,B),q.onStart(()=>{oi(c,B)})),q.onDone(()=>{let Mn=this.players.indexOf(q);Mn>=0&&this.players.splice(Mn,1);const Yn=this._engine.playersByElement.get(c);if(Yn){let Sr=Yn.indexOf(q);Sr>=0&&Yn.splice(Sr,1)}}),this.players.push(q),bn.push(q),q}deregister(c){delete this._triggers[c],this._engine.statesByElement.forEach((a,p)=>{delete a[c]}),this._elementListeners.forEach((a,p)=>{this._elementListeners.set(p,a.filter(b=>b.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const a=this._engine.playersByElement.get(c);a&&(a.forEach(p=>p.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,a){const p=this._engine.driver.query(c,rt,!0);p.forEach(b=>{if(b[Rn])return;const F=this._engine.fetchNamespacesByElement(b);F.size?F.forEach(q=>q.triggerLeaveAnimation(b,a,!1,!0)):this.clearElementCache(b)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(b=>this.clearElementCache(b)))}triggerLeaveAnimation(c,a,p,b){const F=this._engine.statesByElement.get(c),q=new Map;if(F){const J=[];if(Object.keys(F).forEach(ge=>{if(q.set(ge,F[ge].value),this._triggers[ge]){const $e=this.trigger(c,ge,Pn,b);$e&&J.push($e)}}),J.length)return this._engine.markElementAsRemoved(this.id,c,!0,a,q),p&&Ue(J).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const a=this._elementListeners.get(c),p=this._engine.statesByElement.get(c);if(a&&p){const b=new Set;a.forEach(F=>{const q=F.name;if(b.has(q))return;b.add(q);const ge=this._triggers[q].fallbackTransition,$e=p[q]||Pi,Ft=new tr(Pn),rn=new Cr(this.id,q,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:q,transition:ge,fromState:$e,toState:Ft,player:rn,isFallbackTransition:!0})})}}removeNode(c,a){const p=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,a),this.triggerLeaveAnimation(c,a,!0))return;let b=!1;if(p.totalAnimations){const F=p.players.length?p.playersByQueriedElement.get(c):[];if(F&&F.length)b=!0;else{let q=c;for(;q=q.parentNode;)if(p.statesByElement.get(q)){b=!0;break}}}if(this.prepareLeaveAnimationListeners(c),b)p.markElementAsRemoved(this.id,c,!1,a);else{const F=c[Rn];(!F||F===rr)&&(p.afterFlush(()=>this.clearElementCache(c)),p.destroyInnerAnimations(c),p._onRemovalComplete(c,a))}}insertNode(c,a){jn(c,this._hostClassName)}drainQueuedTransitions(c){const a=[];return this._queue.forEach(p=>{const b=p.player;if(b.destroyed)return;const F=p.element,q=this._elementListeners.get(F);q&&q.forEach(J=>{if(J.name==p.triggerName){const ge=qt(F,p.triggerName,p.fromState.value,p.toState.value);ge._data=c,zt(p.player,J.phase,ge,J.callback)}}),b.markedForDestroy?this._engine.afterFlush(()=>{b.destroy()}):a.push(p)}),this._queue=[],a.sort((p,b)=>{const F=p.transition.ast.depCount,q=b.transition.ast.depCount;return 0==F||0==q?F-q:this._engine.driver.containsElement(p.element,b.element)?1:-1})}destroy(c){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let a=!1;return this._elementListeners.has(c)&&(a=!0),a=!!this._queue.find(p=>p.element===c)||a,a}}class to{constructor(c,a,p){this.bodyNode=c,this.driver=a,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=(b,F)=>{}}_onRemovalComplete(c,a){this.onRemovalComplete(c,a)}get queuedPlayers(){const c=[];return this._namespaceList.forEach(a=>{a.players.forEach(p=>{p.queued&&c.push(p)})}),c}createNamespace(c,a){const p=new fo(c,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(p,a):(this.newHostElements.set(a,p),this.collectEnterElement(a)),this._namespaceLookup[c]=p}_balanceNamespaceList(c,a){const p=this._namespaceList,b=this.namespacesByHostElement,F=p.length-1;if(F>=0){let q=!1;if(void 0!==this.driver.getParentElement){let J=this.driver.getParentElement(a);for(;J;){const ge=b.get(J);if(ge){const $e=p.indexOf(ge);p.splice($e+1,0,c),q=!0;break}J=this.driver.getParentElement(J)}}else for(let J=F;J>=0;J--)if(this.driver.containsElement(p[J].hostElement,a)){p.splice(J+1,0,c),q=!0;break}q||p.unshift(c)}else p.push(c);return b.set(a,c),c}register(c,a){let p=this._namespaceLookup[c];return p||(p=this.createNamespace(c,a)),p}registerTrigger(c,a,p){let b=this._namespaceLookup[c];b&&b.register(a,p)&&this.totalAnimations++}destroy(c,a){if(!c)return;const p=this._fetchNamespace(c);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[c];const b=this._namespaceList.indexOf(p);b>=0&&this._namespaceList.splice(b,1)}),this.afterFlushAnimationsDone(()=>p.destroy(a))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const a=new Set,p=this.statesByElement.get(c);if(p){const b=Object.keys(p);for(let F=0;F<b.length;F++){const q=p[b[F]].namespaceId;if(q){const J=this._fetchNamespace(q);J&&a.add(J)}}}return a}trigger(c,a,p,b){if(y(a)){const F=this._fetchNamespace(c);if(F)return F.trigger(a,p,b),!0}return!1}insertNode(c,a,p,b){if(!y(a))return;const F=a[Rn];if(F&&F.setForRemoval){F.setForRemoval=!1,F.setForMove=!0;const q=this.collectedLeaveElements.indexOf(a);q>=0&&this.collectedLeaveElements.splice(q,1)}if(c){const q=this._fetchNamespace(c);q&&q.insertNode(a,p)}b&&this.collectEnterElement(a)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,a){a?this.disabledNodes.has(c)||(this.disabledNodes.add(c),jn(c,ke)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),oi(c,ke))}removeNode(c,a,p,b){if(y(a)){const F=c?this._fetchNamespace(c):null;if(F?F.removeNode(a,b):this.markElementAsRemoved(c,a,!1,b),p){const q=this.namespacesByHostElement.get(a);q&&q.id!==c&&q.removeNode(a,b)}}else this._onRemovalComplete(a,b)}markElementAsRemoved(c,a,p,b,F){this.collectedLeaveElements.push(a),a[Rn]={namespaceId:c,setForRemoval:b,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:F}}listen(c,a,p,b,F){return y(a)?this._fetchNamespace(c).listen(a,p,b,F):()=>{}}_buildInstruction(c,a,p,b,F){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,p,b,c.fromState.options,c.toState.options,a,F)}destroyInnerAnimations(c){let a=this.driver.query(c,rt,!0);a.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(c,Ze,!0),a.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(c){const a=this.playersByElement.get(c);a&&a.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(c){const a=this.playersByQueriedElement.get(c);a&&a.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return Ue(this.players).onDone(()=>c());c()})}processLeaveNode(c){const a=c[Rn];if(a&&a.setForRemoval){if(c[Rn]=rr,a.namespaceId){this.destroyInnerAnimations(c);const p=this._fetchNamespace(a.namespaceId);p&&p.clearElementCache(c)}this._onRemovalComplete(c,a.setForRemoval)}c.classList?.contains(ke)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(c=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,b)=>this._balanceNamespaceList(p,b)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)jn(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{a=this._flushAnimations(p,c)}finally{for(let b=0;b<p.length;b++)p[b]()}}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=[],a.length?Ue(a).onDone(()=>{p.forEach(b=>b())}):p.forEach(b=>b())}}reportError(c){throw function Ae(h){return new l.vHH(3402,Fe)}()}_flushAnimations(c,a){const p=new Ko,b=[],F=new Map,q=[],J=new Map,ge=new Map,$e=new Map,Ft=new Set;this.disabledNodes.forEach(Gt=>{Ft.add(Gt);const ln=this.driver.query(Gt,".ng-animate-queued",!0);for(let _n=0;_n<ln.length;_n++)Ft.add(ln[_n])});const rn=this.bodyNode,bn=Array.from(this.statesByElement.keys()),On=dr(bn,this.collectedEnterElements),dn=new Map;let Mn=0;On.forEach((Gt,ln)=>{const _n=x+Mn++;dn.set(ln,_n),Gt.forEach(Wn=>jn(Wn,_n))});const Yn=[],Sr=new Set,Ur=new Set;for(let Gt=0;Gt<this.collectedLeaveElements.length;Gt++){const ln=this.collectedLeaveElements[Gt],_n=ln[Rn];_n&&_n.setForRemoval&&(Yn.push(ln),Sr.add(ln),_n.hasAnimation?this.driver.query(ln,".ng-star-inserted",!0).forEach(Wn=>Sr.add(Wn)):Ur.add(ln))}const ai=new Map,wr=dr(bn,Array.from(Sr));wr.forEach((Gt,ln)=>{const _n=j+Mn++;ai.set(ln,_n),Gt.forEach(Wn=>jn(Wn,_n))}),c.push(()=>{On.forEach((Gt,ln)=>{const _n=dn.get(ln);Gt.forEach(Wn=>oi(Wn,_n))}),wr.forEach((Gt,ln)=>{const _n=ai.get(ln);Gt.forEach(Wn=>oi(Wn,_n))}),Yn.forEach(Gt=>{this.processLeaveNode(Gt)})});const Wi=[],Ni=[];for(let Gt=this._namespaceList.length-1;Gt>=0;Gt--)this._namespaceList[Gt].drainQueuedTransitions(a).forEach(_n=>{const Wn=_n.player,br=_n.element;if(Wi.push(Wn),this.collectedEnterElements.length){const Lr=br[Rn];if(Lr&&Lr.setForMove){if(Lr.previousTriggersValues&&Lr.previousTriggersValues.has(_n.triggerName)){const Vo=Lr.previousTriggersValues.get(_n.triggerName),Bo=this.statesByElement.get(_n.element);Bo&&Bo[_n.triggerName]&&(Bo[_n.triggerName].value=Vo)}return void Wn.destroy()}}const hi=!rn||!this.driver.containsElement(rn,br),pi=ai.get(br),qi=dn.get(br),Jt=this._buildInstruction(_n,p,qi,pi,hi);if(Jt.errors&&Jt.errors.length)return void Ni.push(Jt);if(hi)return Wn.onStart(()=>It(br,Jt.fromStyles)),Wn.onDestroy(()=>St(br,Jt.toStyles)),void b.push(Wn);if(_n.isFallbackTransition)return Wn.onStart(()=>It(br,Jt.fromStyles)),Wn.onDestroy(()=>St(br,Jt.toStyles)),void b.push(Wn);const xl=[];Jt.timelines.forEach(Lr=>{Lr.stretchStartingKeyframe=!0,this.disabledNodes.has(Lr.element)||xl.push(Lr)}),Jt.timelines=xl,p.append(br,Jt.timelines),q.push({instruction:Jt,player:Wn,element:br}),Jt.queriedElements.forEach(Lr=>A(J,Lr,[]).push(Wn)),Jt.preStyleProps.forEach((Lr,Vo)=>{const Bo=Object.keys(Lr);if(Bo.length){let us=ge.get(Vo);us||ge.set(Vo,us=new Set),Bo.forEach(Pr=>us.add(Pr))}}),Jt.postStyleProps.forEach((Lr,Vo)=>{const Bo=Object.keys(Lr);let us=$e.get(Vo);us||$e.set(Vo,us=new Set),Bo.forEach(Pr=>us.add(Pr))})});if(Ni.length){const Gt=[];Ni.forEach(ln=>{Gt.push(function Re(h,c){return new l.vHH(3505,Fe)}())}),Wi.forEach(ln=>ln.destroy()),this.reportError(Gt)}const fi=new Map,Fi=new Map;q.forEach(Gt=>{const ln=Gt.element;p.has(ln)&&(Fi.set(ln,ln),this._beforeAnimationBuild(Gt.player.namespaceId,Gt.instruction,fi))}),b.forEach(Gt=>{const ln=Gt.element;this._getPreviousPlayers(ln,!1,Gt.namespaceId,Gt.triggerName,null).forEach(Wn=>{A(fi,ln,[]).push(Wn),Wn.destroy()})});const io=Yn.filter(Gt=>fl(Gt,ge,$e)),yo=new Map;tn(yo,this.driver,Ur,$e,le.l3).forEach(Gt=>{fl(Gt,ge,$e)&&io.push(Gt)});const Lo=new Map;On.forEach((Gt,ln)=>{tn(Lo,this.driver,new Set(Gt),ge,le.k1)}),io.forEach(Gt=>{const ln=yo.get(Gt),_n=Lo.get(Gt);yo.set(Gt,{...ln,..._n})});const ls=[],js=[],pa={};q.forEach(Gt=>{const{element:ln,player:_n,instruction:Wn}=Gt;if(p.has(ln)){if(Ft.has(ln))return _n.onDestroy(()=>St(ln,Wn.toStyles)),_n.disabled=!0,_n.overrideTotalTime(Wn.totalTime),void b.push(_n);let br=pa;if(Fi.size>1){let pi=ln;const qi=[];for(;pi=pi.parentNode;){const Jt=Fi.get(pi);if(Jt){br=Jt;break}qi.push(pi)}qi.forEach(Jt=>Fi.set(Jt,br))}const hi=this._buildAnimation(_n.namespaceId,Wn,fi,F,Lo,yo);if(_n.setRealPlayer(hi),br===pa)ls.push(_n);else{const pi=this.playersByElement.get(br);pi&&pi.length&&(_n.parentPlayer=Ue(pi)),b.push(_n)}}else It(ln,Wn.fromStyles),_n.onDestroy(()=>St(ln,Wn.toStyles)),js.push(_n),Ft.has(ln)&&b.push(_n)}),js.forEach(Gt=>{const ln=F.get(Gt.element);if(ln&&ln.length){const _n=Ue(ln);Gt.setRealPlayer(_n)}}),b.forEach(Gt=>{Gt.parentPlayer?Gt.syncPlayerEvents(Gt.parentPlayer):Gt.destroy()});for(let Gt=0;Gt<Yn.length;Gt++){const ln=Yn[Gt],_n=ln[Rn];if(oi(ln,j),_n&&_n.hasAnimation)continue;let Wn=[];if(J.size){let hi=J.get(ln);hi&&hi.length&&Wn.push(...hi);let pi=this.driver.query(ln,Ze,!0);for(let qi=0;qi<pi.length;qi++){let Jt=J.get(pi[qi]);Jt&&Jt.length&&Wn.push(...Jt)}}const br=Wn.filter(hi=>!hi.destroyed);br.length?Hi(this,ln,br):this.processLeaveNode(ln)}return Yn.length=0,ls.forEach(Gt=>{this.players.push(Gt),Gt.onDone(()=>{Gt.destroy();const ln=this.players.indexOf(Gt);this.players.splice(ln,1)}),Gt.play()}),ls}elementContainsData(c,a){let p=!1;const b=a[Rn];return b&&b.setForRemoval&&(p=!0),this.playersByElement.has(a)&&(p=!0),this.playersByQueriedElement.has(a)&&(p=!0),this.statesByElement.has(a)&&(p=!0),this._fetchNamespace(c).elementContainsData(a)||p}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,a,p,b,F){let q=[];if(a){const J=this.playersByQueriedElement.get(c);J&&(q=J)}else{const J=this.playersByElement.get(c);if(J){const ge=!F||F==Pn;J.forEach($e=>{$e.queued||!ge&&$e.triggerName!=b||q.push($e)})}}return(p||b)&&(q=q.filter(J=>!(p&&p!=J.namespaceId||b&&b!=J.triggerName))),q}_beforeAnimationBuild(c,a,p){const F=a.element,q=a.isRemovalTransition?void 0:c,J=a.isRemovalTransition?void 0:a.triggerName;for(const ge of a.timelines){const $e=ge.element,Ft=$e!==F,rn=A(p,$e,[]);this._getPreviousPlayers($e,Ft,q,J,a.toState).forEach(On=>{const dn=On.getRealPlayer();dn.beforeDestroy&&dn.beforeDestroy(),On.destroy(),rn.push(On)})}It(F,a.fromStyles)}_buildAnimation(c,a,p,b,F,q){const J=a.triggerName,ge=a.element,$e=[],Ft=new Set,rn=new Set,bn=a.timelines.map(dn=>{const Mn=dn.element;Ft.add(Mn);const Yn=Mn[Rn];if(Yn&&Yn.removedBeforeQueried)return new le.ZN(dn.duration,dn.delay);const Sr=Mn!==ge,Ur=function un(h){const c=[];return Xo(h,c),c}((p.get(Mn)||Gn).map(fi=>fi.getRealPlayer())).filter(fi=>!!fi.element&&fi.element===Mn),ai=F.get(Mn),wr=q.get(Mn),Wi=Ie(0,this._normalizer,0,dn.keyframes,ai,wr),Ni=this._buildPlayer(dn,Wi,Ur);if(dn.subTimeline&&b&&rn.add(Mn),Sr){const fi=new Cr(c,J,Mn);fi.setRealPlayer(Ni),$e.push(fi)}return Ni});$e.forEach(dn=>{A(this.playersByQueriedElement,dn.element,[]).push(dn),dn.onDone(()=>function w(h,c,a){let p;if(h instanceof Map){if(p=h.get(c),p){if(p.length){const b=p.indexOf(a);p.splice(b,1)}0==p.length&&h.delete(c)}}else if(p=h[c],p){if(p.length){const b=p.indexOf(a);p.splice(b,1)}0==p.length&&delete h[c]}return p}(this.playersByQueriedElement,dn.element,dn))}),Ft.forEach(dn=>jn(dn,mt));const On=Ue(bn);return On.onDestroy(()=>{Ft.forEach(dn=>oi(dn,mt)),St(ge,a.toStyles)}),rn.forEach(dn=>{A(b,dn,[]).push(On)}),On}_buildPlayer(c,a,p){return a.length>0?this.driver.animate(c.element,a,c.duration,c.delay,c.easing,p):new le.ZN(c.duration,c.delay)}}class Cr{constructor(c,a,p){this.namespaceId=c,this.triggerName=a,this.element=p,this._player=new le.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,Object.keys(this._queuedCallbacks).forEach(a=>{this._queuedCallbacks[a].forEach(p=>zt(c,a,void 0,p))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const a=this._player;a.triggerCallback&&c.onStart(()=>a.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,a){A(this._queuedCallbacks,c,[]).push(a)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const a=this._player;a.triggerCallback&&a.triggerCallback(c)}}function y(h){return h&&1===h.nodeType}function ze(h,c){const a=h.style.display;return h.style.display=c??"none",a}function tn(h,c,a,p,b){const F=[];a.forEach(ge=>F.push(ze(ge)));const q=[];p.forEach((ge,$e)=>{const Ft={};ge.forEach(rn=>{const bn=Ft[rn]=c.computeStyle($e,rn,b);(!bn||0==bn.length)&&($e[Rn]=xt,q.push($e))}),h.set($e,Ft)});let J=0;return a.forEach(ge=>ze(ge,F[J++])),q}function dr(h,c){const a=new Map;if(h.forEach(J=>a.set(J,[])),0==c.length)return a;const b=new Set(c),F=new Map;function q(J){if(!J)return 1;let ge=F.get(J);if(ge)return ge;const $e=J.parentNode;return ge=a.has($e)?$e:b.has($e)?1:q($e),F.set(J,ge),ge}return c.forEach(J=>{const ge=q(J);1!==ge&&a.get(ge).push(J)}),a}function jn(h,c){h.classList?.add(c)}function oi(h,c){h.classList?.remove(c)}function Hi(h,c,a){Ue(a).onDone(()=>h.processLeaveNode(c))}function Xo(h,c){for(let a=0;a<h.length;a++){const p=h[a];p instanceof le.ZE?Xo(p.players,c):c.push(p)}}function fl(h,c,a){const p=a.get(h);if(!p)return!1;let b=c.get(h);return b?p.forEach(F=>b.add(F)):c.set(h,p),a.delete(h),!0}class ei{constructor(c,a,p){this.bodyNode=c,this._driver=a,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(b,F)=>{},this._transitionEngine=new to(c,a,p),this._timelineEngine=new E(c,a,p),this._transitionEngine.onRemovalComplete=(b,F)=>this.onRemovalComplete(b,F)}registerTrigger(c,a,p,b,F){const q=c+"-"+b;let J=this._triggerCache[q];if(!J){const ge=[],Ft=Eo(this._driver,F,ge,[]);if(ge.length)throw function Pe(h,c){return new l.vHH(3404,Fe)}();J=function xo(h,c,a){return new oa(h,c,a)}(b,Ft,this._normalizer),this._triggerCache[q]=J}this._transitionEngine.registerTrigger(a,b,J)}register(c,a){this._transitionEngine.register(c,a)}destroy(c,a){this._transitionEngine.destroy(c,a)}onInsert(c,a,p,b){this._transitionEngine.insertNode(c,a,p,b)}onRemove(c,a,p,b){this._transitionEngine.removeNode(c,a,b||!1,p)}disableAnimations(c,a){this._transitionEngine.markElementAsDisabled(c,a)}process(c,a,p,b){if("@"==p.charAt(0)){const[F,q]=re(p);this._timelineEngine.command(F,a,q,b)}else this._transitionEngine.trigger(c,a,p,b)}listen(c,a,p,b,F){if("@"==p.charAt(0)){const[q,J]=re(p);return this._timelineEngine.listen(q,a,J,F)}return this._transitionEngine.listen(c,a,p,b,F)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ms=(()=>{class h{constructor(a,p,b){this._element=a,this._startStyles=p,this._endStyles=b,this._state=0;let F=h.initialStylesByElement.get(a);F||h.initialStylesByElement.set(a,F={}),this._initialStyles=F}start(){this._state<1&&(this._startStyles&&St(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(St(this._element,this._initialStyles),this._endStyles&&(St(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(h.initialStylesByElement.delete(this._element),this._startStyles&&(It(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(It(this._element,this._endStyles),this._endStyles=null),St(this._element,this._initialStyles),this._state=3)}}return h.initialStylesByElement=new WeakMap,h})();function Oa(h){let c=null;const a=Object.keys(h);for(let p=0;p<a.length;p++){const b=a[p];Gl(b)&&(c=c||{},c[b]=h[b])}return c}function Gl(h){return"display"===h||"position"===h}class lt{constructor(c,a,p,b){this.element=c,this.keyframes=a,this.options=p,this._specialStyles=b,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(c=>c()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(c,a,p){return c.animate(a,p)}onStart(c){this._onStartFns.push(c)}onDone(c){this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(c=>c()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(c=>c()),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c={};if(this.hasStarted()){const a=this._finalKeyframe;Object.keys(a).forEach(p=>{"offset"!=p&&(c[p]=this._finished?a[p]:ci(this.element,p))})}this.currentSnapshot=c}triggerCallback(c){const a="start"==c?this._onStartFns:this._onDoneFns;a.forEach(p=>p()),a.length=0}}class zn{validateStyleProperty(c){return Ut(c)}matchesElement(c,a){return!1}containsElement(c,a){return Tt(c,a)}getParentElement(c){return Be(c)}query(c,a,p){return an(c,a,p)}computeStyle(c,a,p){return window.getComputedStyle(c)[a]}animate(c,a,p,b,F,q=[]){const ge={duration:p,delay:b,fill:0==b?"both":"forwards"};F&&(ge.easing=F);const $e={},Ft=q.filter(bn=>bn instanceof lt);(function ui(h,c){return 0===h||0===c})(p,b)&&Ft.forEach(bn=>{let On=bn.currentSnapshot;Object.keys(On).forEach(dn=>$e[dn]=On[dn])}),a=function vi(h,c,a){const p=Object.keys(a);if(p.length&&c.length){let F=c[0],q=[];if(p.forEach(J=>{F.hasOwnProperty(J)||q.push(J),F[J]=a[J]}),q.length)for(var b=1;b<c.length;b++){let J=c[b];q.forEach(function(ge){J[ge]=ci(h,ge)})}}return c}(c,a=a.map(bn=>ut(bn,!1)),$e);const rn=function hl(h,c){let a=null,p=null;return Array.isArray(c)&&c.length?(a=Oa(c[0]),c.length>1&&(p=Oa(c[c.length-1]))):c&&(a=Oa(c)),a||p?new Ms(h,a,p):null}(c,a);return new lt(c,a,ge,rn)}}let zl=(()=>{class h extends le._j{constructor(a,p){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(p.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(a){const p=this._nextAnimationId.toString();this._nextAnimationId++;const b=Array.isArray(a)?(0,le.vP)(a):a;return ji(this._renderer,null,p,"register",[b]),new kr(p,this._renderer)}}return h.\u0275fac=function(a){return new(a||h)(l.LFG(l.FYo),l.LFG(m.K0))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})();class kr extends le.LC{constructor(c,a){super(),this._id=c,this._renderer=a}create(c,a){return new Wl(this._id,c,a||{},this._renderer)}}class Wl{constructor(c,a,p,b){this.id=c,this.element=a,this._renderer=b,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(c,a){return this._renderer.listen(this.element,`@@${this.id}:${c}`,a)}_command(c,...a){return ji(this._renderer,this.element,this.id,c,a)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ji(h,c,a,p,b){return h.setProperty(c,`@@${a}:${p}`,b)}const xa="@.disabled";let sa=(()=>{class h{constructor(a,p,b){this.delegate=a,this.engine=p,this._zone=b,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(F,q)=>{const J=q?.parentNode(F);J&&q.removeChild(J,F)}}createRenderer(a,p){const F=this.delegate.createRenderer(a,p);if(!(a&&p&&p.data&&p.data.animation)){let Ft=this._rendererCache.get(F);return Ft||(Ft=new ql("",F,this.engine),this._rendererCache.set(F,Ft)),Ft}const q=p.id,J=p.id+"-"+this._currentId;this._currentId++,this.engine.register(J,a);const ge=Ft=>{Array.isArray(Ft)?Ft.forEach(ge):this.engine.registerTrigger(q,J,a,Ft.name,Ft)};return p.data.animation.forEach(ge),new Io(this,J,F,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,p,b){a>=0&&a<this._microtaskId?this._zone.run(()=>p(b)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(F=>{const[q,J]=F;q(J)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,b]))}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(a){return new(a||h)(l.LFG(l.FYo),l.LFG(ei),l.LFG(l.R0b))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})();class ql{constructor(c,a,p){this.namespaceId=c,this.delegate=a,this.engine=p,this.destroyNode=this.delegate.destroyNode?b=>a.destroyNode(b):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(c,a){return this.delegate.createElement(c,a)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,a){this.delegate.appendChild(c,a),this.engine.onInsert(this.namespaceId,a,c,!1)}insertBefore(c,a,p,b=!0){this.delegate.insertBefore(c,a,p),this.engine.onInsert(this.namespaceId,a,c,b)}removeChild(c,a,p){this.engine.onRemove(this.namespaceId,a,this.delegate,p)}selectRootElement(c,a){return this.delegate.selectRootElement(c,a)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,a,p,b){this.delegate.setAttribute(c,a,p,b)}removeAttribute(c,a,p){this.delegate.removeAttribute(c,a,p)}addClass(c,a){this.delegate.addClass(c,a)}removeClass(c,a){this.delegate.removeClass(c,a)}setStyle(c,a,p,b){this.delegate.setStyle(c,a,p,b)}removeStyle(c,a,p){this.delegate.removeStyle(c,a,p)}setProperty(c,a,p){"@"==a.charAt(0)&&a==xa?this.disableAnimations(c,!!p):this.delegate.setProperty(c,a,p)}setValue(c,a){this.delegate.setValue(c,a)}listen(c,a,p){return this.delegate.listen(c,a,p)}disableAnimations(c,a){this.engine.disableAnimations(c,a)}}class Io extends ql{constructor(c,a,p,b){super(a,p,b),this.factory=c,this.namespaceId=a}setProperty(c,a,p){"@"==a.charAt(0)?"."==a.charAt(1)&&a==xa?this.disableAnimations(c,p=void 0===p||!!p):this.engine.process(this.namespaceId,c,a.substr(1),p):this.delegate.setProperty(c,a,p)}listen(c,a,p){if("@"==a.charAt(0)){const b=function pl(h){switch(h){case"body":return document.body;case"document":return document;case"window":return window;default:return h}}(c);let F=a.substr(1),q="";return"@"!=F.charAt(0)&&([F,q]=function Aa(h){const c=h.indexOf(".");return[h.substring(0,c),h.substr(c+1)]}(F)),this.engine.listen(this.namespaceId,b,F,q,J=>{this.factory.scheduleListenerCallback(J._data||-1,p,J)})}return this.delegate.listen(c,a,p)}}let si=(()=>{class h extends ei{constructor(a,p,b){super(a.body,p,b)}ngOnDestroy(){this.flush()}}return h.\u0275fac=function(a){return new(a||h)(l.LFG(m.K0),l.LFG(Wt),l.LFG(na))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})();const qr=new l.OlP("AnimationModuleType"),Ui=[{provide:le._j,useClass:zl},{provide:na,useFactory:function ho(){return new ia}},{provide:ei,useClass:si},{provide:l.FYo,useFactory:function es(h,c,a){return new sa(h,c,a)},deps:[yt.se,ei,l.R0b]}],Yl=[{provide:Wt,useFactory:()=>new zn},{provide:qr,useValue:"BrowserAnimations"},...Ui],Zl=[{provide:Wt,useClass:At},{provide:qr,useValue:"NoopAnimations"},...Ui];let rc=(()=>{class h{static withConfig(a){return{ngModule:h,providers:a.disableAnimations?Zl:Yl}}}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({providers:Yl,imports:[yt.b2]}),h})();const gl=function(h,c){return{"pull-left":h,"float-left":c}},Ts=function(h,c){return{"pull-right":h,"float-right":c}},he=function(h,c){return{disabled:h,currentPage:c}};function We(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"li",11)(1,"a",12),l.NdJ("click",function(b){return l.CHM(a),l.oxw().selectPage(1,b)}),l.GkF(2,13),l.qZA()()}if(2&h){const a=l.oxw(),p=l.MAs(13);l.ekj("disabled",a.noPrevious()||a.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",a.customFirstTemplate||p)("ngTemplateOutletContext",l.WLB(4,he,a.noPrevious()||a.disabled,a.page))}}function Ne(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"li",14)(1,"a",12),l.NdJ("click",function(b){l.CHM(a);const F=l.oxw();return F.selectPage(F.page-1,b)}),l.GkF(2,13),l.qZA()()}if(2&h){const a=l.oxw(),p=l.MAs(11);l.ekj("disabled",a.noPrevious()||a.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",a.customPreviousTemplate||p)("ngTemplateOutletContext",l.WLB(4,he,a.noPrevious()||a.disabled,a.page))}}const $t=function(h,c,a){return{disabled:h,$implicit:c,currentPage:a}};function wn(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"li",15)(1,"a",12),l.NdJ("click",function(b){const q=l.CHM(a).$implicit;return l.oxw().selectPage(q.number,b)}),l.GkF(2,13),l.qZA()()}if(2&h){const a=c.$implicit,p=l.oxw(),b=l.MAs(7);l.ekj("active",a.active)("disabled",p.disabled&&!a.active),l.xp6(2),l.Q6J("ngTemplateOutlet",p.customPageTemplate||b)("ngTemplateOutletContext",l.kEZ(6,$t,p.disabled,a,p.page))}}function Xn(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"li",16)(1,"a",12),l.NdJ("click",function(b){l.CHM(a);const F=l.oxw();return F.selectPage(F.page+1,b)}),l.GkF(2,13),l.qZA()()}if(2&h){const a=l.oxw(),p=l.MAs(9);l.ekj("disabled",a.noNext()||a.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",a.customNextTemplate||p)("ngTemplateOutletContext",l.WLB(4,he,a.noNext()||a.disabled,a.page))}}function Ar(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"li",17)(1,"a",12),l.NdJ("click",function(b){l.CHM(a);const F=l.oxw();return F.selectPage(F.totalPages,b)}),l.GkF(2,13),l.qZA()()}if(2&h){const a=l.oxw(),p=l.MAs(15);l.ekj("disabled",a.noNext()||a.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",a.customLastTemplate||p)("ngTemplateOutletContext",l.WLB(4,he,a.noNext()||a.disabled,a.page))}}function or(h,c){1&h&&l._uU(0),2&h&&l.Oqu(c.$implicit.text)}function Ia(h,c){if(1&h&&l._uU(0),2&h){const a=l.oxw();l.Oqu(a.getText("next"))}}function Na(h,c){if(1&h&&l._uU(0),2&h){const a=l.oxw();l.Oqu(a.getText("previous"))}}function Oi(h,c){if(1&h&&l._uU(0),2&h){const a=l.oxw();l.Oqu(a.getText("first"))}}function Fa(h,c){if(1&h&&l._uU(0),2&h){const a=l.oxw();l.Oqu(a.getText("last"))}}let ti=(()=>{class h{constructor(){this.main={itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"\xab Previous",nextText:"Next \xbb",pageBtnClass:"",align:!0}}}return h.\u0275fac=function(a){return new(a||h)},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const wi={provide:Ee.JU,useExisting:(0,l.Gpc)(()=>fr),multi:!0};let fr=(()=>{class h{constructor(a,p,b){this.elementRef=a,this.changeDetection=b,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="\xab Previous",this.nextText="Next \xbb",this.lastText="Last",this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new l.vpe,this.pageChanged=new l.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=15,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=a,this.config||this.configureOptions(Object.assign({},p.main,p.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(a){this._itemsPerPage=a,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(a){this._totalItems=a,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(a){this._totalPages=a,this.numPages.emit(a),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(a){const p=this._page;this._page=a>this.totalPages?this.totalPages:a||1,this.changeDetection.markForCheck(),!(p===this._page||typeof p>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(a){this.config=Object.assign({},a)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(a){this.page=a,this.pages=this.getPages(this.page,this.totalPages)}getText(a){return this[`${a}Text`]||this.config[`${a}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(a){this.onChange=a}registerOnTouched(a){this.onTouched=a}selectPage(a,p){p&&p.preventDefault(),this.disabled||(p&&p.target&&p.target.blur(),this.writeValue(a),this.onChange(this.page))}makePage(a,p,b){return{text:p,number:a,active:b}}getPages(a,p){const b=[];let F=1,q=p;const J=typeof this.maxSize<"u"&&this.maxSize<p;J&&this.maxSize&&(this.rotate?(F=Math.max(a-Math.floor(this.maxSize/2),1),q=F+this.maxSize-1,q>p&&(q=p,F=q-this.maxSize+1)):(F=(Math.ceil(a/this.maxSize)-1)*this.maxSize+1,q=Math.min(F+this.maxSize-1,p)));for(let ge=F;ge<=q;ge++){const $e=this.makePage(ge,ge.toString(),ge===a);b.push($e)}if(J&&!this.rotate){if(F>1){const ge=this.makePage(F-1,"...",!1);b.unshift(ge)}if(q<p){const ge=this.makePage(q+1,"...",!1);b.push(ge)}}return b}calculateTotalPages(){const a=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(a||0,1)}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(l.SBq),l.Y36(ti),l.Y36(l.sBO))},h.\u0275cmp=l.Xpm({type:h,selectors:[["pager"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[l._Bn([wi])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(a,p){1&a&&(l.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),l.NdJ("click",function(F){return p.selectPage(p.page-1,F)}),l._uU(3),l.qZA()(),l.TgZ(4,"li",1)(5,"a",2),l.NdJ("click",function(F){return p.selectPage(p.page+1,F)}),l._uU(6),l.qZA()()()),2&a&&(l.xp6(1),l.Tol(p.pageBtnClass),l.ekj("disabled",p.noPrevious())("previous",p.align),l.Q6J("ngClass",l.WLB(18,gl,p.align,p.align)),l.xp6(2),l.Oqu(p.getText("previous")),l.xp6(1),l.Tol(p.pageBtnClass),l.ekj("disabled",p.noNext())("next",p.align),l.Q6J("ngClass",l.WLB(21,Ts,p.align,p.align)),l.xp6(2),l.Oqu(p.getText("next")))},directives:[m.mk],encapsulation:2}),h})();const Ra={provide:Ee.JU,useExisting:(0,l.Gpc)(()=>nr),multi:!0};let nr=(()=>{class h{constructor(a,p,b){this.elementRef=a,this.changeDetection=b,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new l.vpe,this.pageChanged=new l.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=10,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=a,this.config||this.configureOptions(p.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(a){this._itemsPerPage=a,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(a){this._totalItems=a,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(a){this._totalPages=a,this.numPages.emit(a),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(a){const p=this._page;this._page=a>this.totalPages?this.totalPages:a||1,this.changeDetection.markForCheck(),!(p===this._page||typeof p>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(a){this.config=Object.assign({},a)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(a){this.page=a,this.pages=this.getPages(this.page,this.totalPages)}getText(a){return this[`${a}Text`]||this.config[`${a}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(a){this.onChange=a}registerOnTouched(a){this.onTouched=a}selectPage(a,p){p&&p.preventDefault(),this.disabled||(p&&p.target&&p.target.blur(),this.writeValue(a),this.onChange(this.page))}makePage(a,p,b){return{text:p,number:a,active:b}}getPages(a,p){const b=[];let F=1,q=p;const J=typeof this.maxSize<"u"&&this.maxSize<p;J&&this.maxSize&&(this.rotate?(F=Math.max(a-Math.floor(this.maxSize/2),1),q=F+this.maxSize-1,q>p&&(q=p,F=q-this.maxSize+1)):(F=(Math.ceil(a/this.maxSize)-1)*this.maxSize+1,q=Math.min(F+this.maxSize-1,p)));for(let ge=F;ge<=q;ge++){const $e=this.makePage(ge,ge.toString(),ge===a);b.push($e)}if(J&&!this.rotate){if(F>1){const ge=this.makePage(F-1,"...",!1);b.unshift(ge)}if(q<p){const ge=this.makePage(q+1,"...",!1);b.push(ge)}}return b}calculateTotalPages(){const a=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(a||0,1)}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(l.SBq),l.Y36(ti),l.Y36(l.sBO))},h.\u0275cmp=l.Xpm({type:h,selectors:[["pagination"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",customPageTemplate:"customPageTemplate",customNextTemplate:"customNextTemplate",customPreviousTemplate:"customPreviousTemplate",customFirstTemplate:"customFirstTemplate",customLastTemplate:"customLastTemplate",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[l._Bn([Ra])],decls:16,vars:6,consts:[[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],["defaultPageTemplate",""],["defaultNextTemplate",""],["defaultPreviousTemplate",""],["defaultFirstTemplate",""],["defaultLastTemplate",""],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(a,p){1&a&&(l.TgZ(0,"ul",0),l.YNc(1,We,3,7,"li",1),l.YNc(2,Ne,3,7,"li",2),l.YNc(3,wn,3,10,"li",3),l.YNc(4,Xn,3,7,"li",4),l.YNc(5,Ar,3,7,"li",5),l.qZA(),l.YNc(6,or,1,1,"ng-template",null,6,l.W1O),l.YNc(8,Ia,1,1,"ng-template",null,7,l.W1O),l.YNc(10,Na,1,1,"ng-template",null,8,l.W1O),l.YNc(12,Oi,1,1,"ng-template",null,9,l.W1O),l.YNc(14,Fa,1,1,"ng-template",null,10,l.W1O)),2&a&&(l.Q6J("ngClass",p.classMap),l.xp6(1),l.Q6J("ngIf",p.boundaryLinks),l.xp6(1),l.Q6J("ngIf",p.directionLinks),l.xp6(1),l.Q6J("ngForOf",p.pages),l.xp6(1),l.Q6J("ngIf",p.directionLinks),l.xp6(1),l.Q6J("ngIf",p.boundaryLinks))},directives:[m.mk,m.O5,m.tP,m.sg],encapsulation:2}),h})(),ic=(()=>{class h{static forRoot(){return{ngModule:h,providers:[]}}}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez]]}),h})();const ts=["header"];function no(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"button",4),l.NdJ("click",function(){return l.CHM(a),l.oxw().closeClicked()}),l._UZ(1,"i",5),l.qZA()}if(2&h){const a=l.oxw();l.uIk("id",a.buttonID)}}const aa=[[["","callout-heading",""]],"*"],Ql=["[callout-heading]","*"];function ka(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"button",9),l.NdJ("click",function(){return l.CHM(a),l.oxw(2).fireClose()}),l.TgZ(1,"span"),l._uU(2,"\xd7"),l.qZA()()}if(2&h){const a=l.oxw(2);l.Q6J("id",a.closeButtonID)("title",a.closeLabel),l.uIk("aria-label",a.closeLabel),l.xp6(1),l.uIk("aria-hidden",!0)}}function ca(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(a),l.oxw(2).fireToggleMore()}),l._uU(1),l.qZA()}if(2&h){const a=l.oxw(2);l.Q6J("id",a.moreButtonID),l.xp6(1),l.hij(" ",a.moreLabel," ")}}function Os(h,c){if(1&h&&(l.TgZ(0,"strong",11),l._uU(1),l.qZA()),2&h){const a=l.oxw(2);l.xp6(1),l.Oqu(a.label)}}function xs(h,c){if(1&h&&(l.TgZ(0,"span",12),l._uU(1),l.qZA()),2&h){const a=l.oxw(2);l.Q6J("id",a.textMessageID),l.xp6(1),l.hij(" ",a.message," ")}}function Jl(h,c){if(1&h&&(l.TgZ(0,"li")(1,"span",12),l._uU(2),l.qZA()()),2&h){const a=c.$implicit,p=c.index,b=l.oxw(3);l.xp6(1),l.s9C("id",b.textListID+"_"+p),l.xp6(1),l.hij(" ",a," ")}}function wl(h,c){if(1&h&&(l.TgZ(0,"ul",13),l.YNc(1,Jl,3,2,"li",14),l.qZA()),2&h){const a=l.oxw(2);l.xp6(1),l.Q6J("ngForOf",a.alert.list)}}function As(h,c){if(1&h&&(l.TgZ(0,"div",1),l.YNc(1,ka,3,4,"button",2),l.YNc(2,ca,2,2,"button",3),l._UZ(3,"span"),l.TgZ(4,"div",4),l.YNc(5,Os,2,1,"strong",5),l.TgZ(6,"span",6),l.YNc(7,xs,2,2,"span",7),l.qZA(),l.YNc(8,wl,2,1,"ul",8),l.qZA()()),2&h){const a=l.oxw();l.Gre("alert alert-",a.type," ng-hide"),l.Q6J("@openClose",a.animationClass),l.xp6(1),l.Q6J("ngIf",a.showCloseButton),l.xp6(1),l.Q6J("ngIf",a.showMoreButton),l.xp6(1),l.Tol(a.icon),l.uIk("aria-hidden",!0),l.xp6(2),l.Q6J("ngIf",a.hasLabel),l.xp6(2),l.Q6J("ngIf",a.message),l.xp6(1),l.Q6J("ngIf",a.alert&&a.alert.list&&a.alert.list.length)}}function sc(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"div",6)(1,"cp-alert",7),l.NdJ("close",function(){const F=l.CHM(a).$implicit;return l.oxw().alertClosed(F)}),l.qZA()()}if(2&h){const a=c.$implicit;l.xp6(1),l.Q6J("alert",a)}}function gr(h,c){if(1&h&&l._UZ(0,"div",8),2&h){const a=l.oxw();l.Q6J("ngClass",a.positionClasses)}}const Hr=["searchInput"];function La(h,c){if(1&h&&(l.TgZ(0,"span",6),l._uU(1),l.qZA()),2&h){const a=l.oxw();l.xp6(1),l.Oqu(a.clearIconLabel)}}function rs(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"li",6)(1,"a",4),l.NdJ("click",function(){const F=l.CHM(a).$implicit;return l.oxw().selectFilter(F.filter)}),l._uU(2),l.qZA()()}if(2&h){const a=c.$implicit,p=l.oxw();l.MGl("id","",a.filter,"-item"),l.Q6J("ngClass",p.setActiveClass(a.filter)),l.xp6(1),l.hYB("id","",p.id,"-",a.filter,""),l.xp6(1),l.Oqu(a.filterText)}}function dc(h,c){if(1&h){const a=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){const F=l.CHM(a).$implicit;return l.oxw().onOptionClicked(F)}),l.qZA()}if(2&h){const a=c.$implicit,p=l.oxw();l.Q6J("disabled",p.disabled)("selected",p.isOptionSelected(a))("value",a)}}function Ba(h,c){1&h&&l._uU(0," >\n")}function Fo(h,c){1&h&&l._uU(0," <\n")}function Fs(h,c){1&h&&l._uU(0," >>\n")}function k(h,c){1&h&&l._uU(0," <<\n")}class Yr{constructor(c,a,p=Yr.defaultOptions){this._message=c,this._type=a;const b=p.id?p.id:Math.random().toString(36).substr(2,9);this._id=b,this._closable=p.isCloseable??!0,this._autoClosePeriod=p.autoClosePeriod,this._list=p.list,this._showMore=p.showMore||Yr.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(c){const{message:a,type:p,...b}=c;return new Yr(a,p,b)}}Yr.defaultShowMore=!1,Yr.defaultAutoClosePeriod=0,Yr.defaultOptions={autoClosePeriod:Yr.defaultAutoClosePeriod,list:[]};var sr=(()=>{return(h=sr||(sr={}))[h.error=0]="error",h[h.success=1]="success",h[h.warning=2]="warning",h[h.information=3]="information",sr;var h})(),hr=(()=>{return(h=hr||(hr={})).add="add",h.remove="remove",h.clear="clear",hr;var h})();let Fn=(()=>{class h{constructor(){this._alertEventsSource=new ne.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(a,p=h.defaultGroup){this._alerts[p]||(this._alerts[p]=[]);const b=a instanceof Yr?a:Yr.makeAlert(a);if(this.list(p).push(b),this._alertEventsSource.next({type:hr.add,group:p,alert:b}),(0,l.X6Q)())switch(b.type){case sr.error:console.error(b.message,b);break;case sr.warning:console.warn(b.message,b);break;default:console.log(b.message,b)}return b}success(a,p=h.defaultGroup){return this.add(new Yr(a,sr.success,h.defaultSuccessOptions),p)}error(a,p=h.defaultGroup){return this.add({message:a,type:sr.error},p)}info(a,p=h.defaultGroup){return this.add({message:a,type:sr.information},p)}warn(a,p=h.defaultGroup){return this.add({message:a,type:sr.warning},p)}removeById(a,p=h.defaultGroup){const b=this.list(p),F=b.findIndex(q=>q.id===a,0);if(-1!==F){const q=b[F];b.splice(F,1),this._alertEventsSource.next({type:hr.remove,group:p,alert:q})}}clear(a=h.defaultGroup){this._alerts[a]=[],this._alertEventsSource.next({type:hr.clear,group:a})}list(a=h.defaultGroup){return null==this._alerts[a]&&(this._alerts[a]=[]),this._alerts[a]}}return h.defaultGroup="__DEFAULT__",h.defaultSuccessOptions={autoClosePeriod:1e4},h.\u0275fac=function(a){return new(a||h)},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();var xi=(()=>{return(h=xi||(xi={})).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",xi;var h})();const Ai=xi.topRight,ks=xi.topLeft;let Ud=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez,qe.m]]}),h})();var Dl=(()=>{return(h=Dl||(Dl={})).warnings="warnings",h.danger="danger",h.info="info",h.default="info",Dl;var h})();let ha=(()=>{class h{constructor(){this.calloutType=Dl.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(a){return new(a||h)},h.\u0275cmp=l.Xpm({type:h,selectors:[["cp-callout"]],viewQuery:function(a,p){if(1&a&&l.Gf(ts,5),2&a){let b;l.iGM(b=l.CRH())&&(p.header=b.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Ql,decls:7,vars:7,consts:[["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["header",""],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(a,p){1&a&&(l.F$t(aa),l.TgZ(0,"div",0),l.YNc(1,no,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&a&&(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:[m.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})(),$d=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez]]}),h})(),Gi=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez]]}),h})();var ni=(()=>{return(h=ni||(ni={})).new="new",h.closed="closed",h.open="open",ni;var h})();let hc=(()=>{class h{constructor(a){this.locale=a,this.close=new l.vpe,this.toggleMore=new l.vpe,this.animationClass=ni.new}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case sr.success:this.label=this.locale.maketext("Success:");break;case sr.error:this.label=this.locale.maketext("Error:");break;case sr.information:this.label=this.locale.maketext("Information:");break;case sr.warning:this.label=this.locale.maketext("Warning:")}this.moreLabel||(this.moreLabel=this.locale.maketext("More")),this.closeLabel||(this.closeLabel=this.locale.maketext("Close")),setTimeout(()=>{this.animationClass=ni.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case sr.error:return"type-icon fas fa-times-circle";case sr.warning:return"type-icon fas fa-exclamation-triangle";case sr.information:return"type-icon fas fa-info-circle";case sr.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case sr.error:return"danger";case sr.warning:return"warning";case sr.information:return"info";case sr.success:return"success"}}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=ni.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const a=this.label;return null!==a&&""!==a}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}startTimer(){this._timeout=setTimeout(()=>this.fireTimeout(),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}_buildID(...a){return a.join("_")}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(me.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(a,p){1&a&&l.YNc(0,As,9,13,"div",0),2&a&&l.Q6J("ngIf",!p.isClosed)},directives:[m.O5,m.sg],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,le.X$)("openClose",[(0,le.SB)(ni.new,(0,le.oB)({opacity:0})),(0,le.SB)(ni.open,(0,le.oB)({opacity:1})),(0,le.SB)(ni.closed,(0,le.oB)({opacity:0,transform:"translateX(25%)"})),(0,le.eR)(`${ni.open} => ${ni.closed}`,[(0,le.jt)("0.25s")]),(0,le.eR)(`${ni.new} => ${ni.open}`,[(0,le.jt)("0.25s")]),(0,le.eR)(`${ni.closed} => ${ni.open}`,[(0,le.jt)("0.25s")])])]}}),h})(),Gd=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez,rc,qe.m]]}),h})(),iu=(()=>{class h{constructor(a){this.locale=a}get position(){return this.locale.isLtr?Ai:ks}}return h.\u0275fac=function(a){return new(a||h)(l.LFG(me.g))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Ls=(()=>{class h{constructor(a,p){this._alertService=a,this._positionService=p,this.alerts=this.alerts?this.alerts:[]}set position(a){this._position=((h,c=xi.topRight)=>{if(h){const a=(h=>{const c=Object.keys(xi),p=Object.values(xi).indexOf(h);return-1!==p?c[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(a)return xi[a]}return c})(a)}get position(){return this._position.toString()}alertClosed(a){this._alertService.removeById(a.id,this.group)}ngOnInit(){this.group||(this.group=Fn.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,gt.h)(p=>p.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(a){return this.alerts.findIndex(p=>p.id===a)}_addAlert(a){return this.alerts.push(a),this.alerts}_removeAlert(a){const p=this._findAlertIndexById(a.id);return p>-1&&(this.alerts.splice(p,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(a){switch(a.type){case hr.add:this._addAlert(a.alert);break;case hr.clear:this._clearAlerts();break;case hr.remove:this._removeAlert(a.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?h.positionPrefix+xi.inline.toString():h.positionPrefix+this.position.toString()}}return h.positionPrefix="position-",h.\u0275fac=function(a){return new(a||h)(l.Y36(Fn),l.Y36(iu))},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(a,p){1&a&&(l.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),l.YNc(5,sc,2,1,"div",4),l.qZA()(),l.YNc(6,gr,1,1,"div",5),l.qZA()),2&a&&(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:[hc,m.mk,m.sg,m.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})(),ri=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez,Gd]]}),h})(),Ml=(()=>{class h{constructor(a){this.locale=a,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new l.vpe,this._searchSubject=new ne.xQ,this._unsubscribe=new ne.xQ,delete this.label,delete this.placeholder}set value(a){this._value=a,this._searchSubject.next(a)}get value(){return this._value}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe(function z(h){return c=>c.lift(new X(h))}(this._unsubscribe),function Y(h,c=L.P){return a=>a.lift(new ie(h,c))}(this.debounce),function Me(h,c){return a=>a.lift(new je(h,c))}()).subscribe(a=>{this.valueChange.emit(a)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(me.g))},h.\u0275cmp=l.Xpm({type:h,selectors:[["cp-search"]],viewQuery:function(a,p){if(1&a&&l.Gf(Hr,5),2&a){let b;l.iGM(b=l.CRH())&&(p.searchInput=b.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:11,consts:[["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModel","disabled","id","placeholder","title","ngModelChange","keyup.esc"],["searchInput",""],["data-test","addon",1,"input-group-addon",3,"id","click"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(a,p){1&a&&(l.TgZ(0,"div",0)(1,"input",1,2),l.NdJ("ngModelChange",function(F){return p.value=F})("keyup.esc",function(){return p.clearValue()}),l.qZA(),l.TgZ(3,"span",3),l.NdJ("click",function(){return p.clearValue()}),l._UZ(4,"span",4),l.YNc(5,La,2,1,"span",5),l.qZA()()),2&a&&(l.xp6(1),l.MGl("id","",p.id,"-search-input"),l.Q6J("ngModel",p.value)("disabled",p.disabled)("placeholder",p.placeholder)("title",p.label),l.uIk("aria-label",p.label)("list",p.list),l.xp6(2),l.MGl("id","",p.id,"-search-input-addon"),l.xp6(1),l.MGl("id","",p.id,"-search-input-icon"),l.Q6J("ngClass",(null==p.value?null:p.value.length)>0?"fas fa-times":"fas fa-search"),l.xp6(1),l.Q6J("ngIf",(null==p.value?null:p.value.length)>0))},directives:[Ee.Fj,Ee.JJ,Ee.On,m.mk,m.O5],styles:[""],changeDetection:0}),h})(),ss=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez,Ee.u5,qe.m]]}),h})(),Ii=(()=>{class h{constructor(a){this.locale=a,this.filterValueChange=new l.vpe}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-quick-filter`");if(this.quickFilterLabel||(this.quickFilterLabel=this.locale.maketext("Filter:")),this.selectedFilter?this.selectFilter(this.selectedFilter):this.selectedFilter="All",!this.filterList)throw new Error("filterList must be defined for `cp-quick-filter`")}selectFilter(a){this.selectedFilter=a,this.filterValueChange.emit(a)}setActiveClass(a){return a===this.selectedFilter?"active":""}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(me.g))},h.\u0275cmp=l.Xpm({type:h,selectors:[["cp-quick-filter"]],inputs:{id:"id",quickFilterLabel:"quickFilterLabel",filterList:"filterList",selectedFilter:"selectedFilter"},outputs:{filterValueChange:"filterValueChange"},decls:8,vars:6,consts:[[1,"filter-nav",3,"id"],["data-test","label",1,"filter-title","hidden-xs"],[1,"nav","nav-pills"],["data-test","filter-item-all",3,"ngClass"],["href","javascript:void(0)",3,"id","click"],[3,"ngClass","id",4,"ngFor","ngForOf"],[3,"ngClass","id"]],template:function(a,p){1&a&&(l.TgZ(0,"div",0)(1,"span",1),l._uU(2),l.qZA(),l.TgZ(3,"ul",2)(4,"li",3)(5,"a",4),l.NdJ("click",function(){return p.selectFilter("All")}),l._uU(6),l.qZA()(),l.YNc(7,rs,3,5,"li",5),l.qZA()()),2&a&&(l.MGl("id","",p.id,"-quick-filter"),l.xp6(2),l.Oqu(p.quickFilterLabel),l.xp6(2),l.Q6J("ngClass",p.setActiveClass("All")),l.xp6(1),l.MGl("id","",p.id,"-all"),l.xp6(1),l.Oqu(p.locale.maketext("All")),l.xp6(1),l.Q6J("ngForOf",p.filterList))},directives:[m.mk,m.sg],styles:['.filters-nav[_ngcontent-%COMP%]{margin:0 0 5px}.nav-pills[_ngcontent-%COMP%]{padding:2px 5px 2px 0;margin:2px 5px 2px 0;font-size:12px;display:inline-block;vertical-align:middle}.nav-pills[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:pointer}.nav-pills[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:2px 5px;margin:2px 5px;font-size:12px}.nav-pills[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{cursor:default}.filter-title[_ngcontent-%COMP%]{font-weight:bolder;padding:5px;display:inline-block}html[dir="rtl"][_nghost-%COMP%] .nav-pills[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .nav-pills[_ngcontent-%COMP%]{padding:2px 0 2px 5px;margin:2px 0 2px 5px}']}),h})(),pc=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez,qe.m]]}),h})(),au=(()=>{class h{constructor(a,p=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(p),this.selectorName=a.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(a=>{if(!this[a])throw new Error(`"${a}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}}return h.\u0275fac=function(a){l.$Z()},h.\u0275dir=l.lG2({type:h,inputs:{id:"id"}}),h})();var mo=(()=>{return(h=mo||(mo={}))[h.all=-1]="all",mo;var h})();const as="pageSizeOption";let Ua=(()=>{class h{constructor(a){this.locale=a,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===mo.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${as}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${as}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(me.g))},h.\u0275dir=l.lG2({type:h,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(a,p){2&a&&(l.Ikx("id",p.id)("innerText",p.label),l.uIk("aria-label",p.description)("aria-pressed",p.ariaPressed),l.Tol(p.cssClasses))},inputs:{value:"value",selected:"selected"},features:[l.TTD]}),h})(),Tl=(()=>{class h extends au{constructor(a,p){super(a),this.locale=p,this.selectedPageSize=h.defaultPageSize,this.pageSizeOptions=h.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new l.vpe,this.displayedPageSizeOptions=[]}isOptionSelected(a){return a===this.selectedPageSize}onOptionClicked(a){this._dispatchChange(a)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const a=this.pageSizeOptions.slice(0).sort((b,F)=>b-F);this.showOptionAll&&a.push(mo.all),-1!==a.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=a:this._dispatchChange(a[0])}_dispatchChange(a){this.optionSelected.emit(a)}}return h.defaultPageSizeOptions=[20,50,100,500],h.defaultPageSize=20,h.\u0275fac=function(a){return new(a||h)(l.Y36(l.SBq),l.Y36(me.g))},h.\u0275cmp=l.Xpm({type:h,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[l.qOj,l.TTD],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click"]],template:function(a,p){1&a&&(l.TgZ(0,"div")(1,"div",0),l._uU(2),l.qZA(),l.TgZ(3,"div",1),l.YNc(4,dc,1,3,"button",2),l.qZA()()),2&a&&(l.xp6(2),l.hij(" ",p.locale.maketext("Entries Per Page")," "),l.xp6(2),l.Q6J("ngForOf",p.displayedPageSizeOptions))},directives:[m.sg,Ua],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]}),h})(),Zr=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez,qe.m]]}),h})(),Sl=(()=>{class h extends au{constructor(a,p){super(a),this.locale=p,this.maxPagesVisible=h.defaultMaxPagesVisible,this.selectedPage=h.firstPageIndex,this.pageSize=Tl.defaultPageSize,this.disabled=!1,this.pageChanged=new l.vpe}onPageChanged(a){this._dispatchChange(a)}onNumPagesChanged(a){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(a){const p=this.pageSize*(a-1),b=Math.min(p+this.pageSize,this.totalItems);this.pageChanged.emit({page:a,firstItem:p,lastItem:b}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",p+1,b,this.totalItems)}}return h.defaultMaxPagesVisible=5,h.firstPageIndex=1,h.\u0275fac=function(a){return new(a||h)(l.Y36(l.SBq),l.Y36(me.g))},h.\u0275cmp=l.Xpm({type:h,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[l.qOj],decls:12,vars:13,consts:[[3,"id"],[3,"id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate","ngModelChange","pageChanged","numPages"],[1,"pagination-item-details","text-small","text-right","flip"],["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""]],template:function(a,p){if(1&a&&(l.TgZ(0,"div",0)(1,"pagination",1),l.NdJ("ngModelChange",function(F){return p.selectedPage=F})("pageChanged",function(F){return p.onPageChanged(F.page)})("numPages",function(F){return p.onNumPagesChanged(F)}),l.qZA(),l.TgZ(2,"p",2),l._uU(3),l.qZA()(),l.YNc(4,Ba,1,0,"ng-template",null,3,l.W1O),l.YNc(6,Fo,1,0,"ng-template",null,4,l.W1O),l.YNc(8,Fs,1,0,"ng-template",null,5,l.W1O),l.YNc(10,k,1,0,"ng-template",null,6,l.W1O)),2&a){const b=l.MAs(5),F=l.MAs(7),q=l.MAs(9),J=l.MAs(11);l.Q6J("id",p.id),l.xp6(1),l.MGl("id","",p.id,"_ngx_paginator"),l.Q6J("totalItems",p.totalItems)("maxSize",p.maxPagesVisible)("disabled",p.disabled)("itemsPerPage",p.pageSize)("ngModel",p.selectedPage)("boundaryLinks",!0)("customFirstTemplate",J)("customLastTemplate",q)("customPreviousTemplate",F)("customNextTemplate",b),l.xp6(2),l.hij(" ",p.itemsDetails," ")}},directives:[nr,Ee.JJ,Ee.On],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]}),h})(),Pl=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[m.ez,Ee.u5,ic.forRoot(),qe.m]]}),h})()},2381:(_e,U,S)=>{"use strict";S.d(U,{oj:()=>X});var l=S(3071),m=S(1607),ne=S(9668);class H{constructor(W,L,Y){this.nodes=W,this.viewRef=L,this.componentRef=Y}}class z{constructor(W,L,Y,ie,oe,Se,Me,je){this._viewContainerRef=W,this._renderer=L,this._elementRef=Y,this._injector=ie,this._componentFactoryResolver=oe,this._ngZone=Se,this._applicationRef=Me,this._posService=je,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(W){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(W),this}to(W){return this.container=W||this.container,this}position(W){return W?(this.attachment=W.attachment||this.attachment,this._elementRef=W.target||this._elementRef,this):this}provide(W){return this._providers.push(W),this}show(W={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(W.content,W.context,W.initialState);const L=l.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(L,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,W),this.container instanceof l.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const Y=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!Y)return;Y.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(W.id?{id:W.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(W){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const L=this._componentRef.location.nativeElement;return L.parentNode?.removeChild(L),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(W?{id:W}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(W){this.triggers=W.triggers||this.triggers,this._listenOpts.outsideClick=W.outsideClick,this._listenOpts.outsideEsc=W.outsideEsc,W.target=W.target||this._elementRef?.nativeElement;const L=this._listenOpts.hide=()=>W.hide?W.hide():void this.hide(),Y=this._listenOpts.show=oe=>{W.show?W.show(oe):this.show(oe),oe()};return this._renderer&&(this._unregisterListenersFn=(0,m.wo)(this._renderer,{target:W.target,triggers:W.triggers,show:Y,hide:L,toggle:oe=>{this.isShown?L():Y(oe)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(W,L){return W&&L&&(this._inlineViewRef=W.createEmbeddedView(L)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const W=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,m.Rg)(this._renderer,{targets:[W,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,m.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(W,L,Y){if(!W)return new H([]);if(W instanceof l.Rgc){if(this._viewContainerRef){const Se=this._viewContainerRef.createEmbeddedView(W,L);return Se.markForCheck(),new H([Se.rootNodes],Se)}const oe=W.createEmbeddedView({});return this._applicationRef.attachView(oe),new H([oe.rootNodes],oe)}if("function"==typeof W){const oe=this._componentFactoryResolver.resolveComponentFactory(W),Se=l.zs3.create({providers:this._providers,parent:this._injector}),Me=oe.create(Se);return Object.assign(Me.instance,Y),this._applicationRef.attachView(Me.hostView),new H([[Me.location.nativeElement]],Me.hostView,Me)}const ie=this._renderer?[this._renderer.createText(`${W}`)]:[];return new H([ie])}}let X=(()=>{class Z{constructor(L,Y,ie,oe,Se){this._componentFactoryResolver=L,this._ngZone=Y,this._injector=ie,this._posService=oe,this._applicationRef=Se}createLoader(L,Y,ie){return new z(Y,ie,L,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return Z.\u0275fac=function(L){return new(L||Z)(l.LFG(l._Vd),l.LFG(l.R0b),l.LFG(l.zs3),l.LFG(ne.sA),l.LFG(l.z2F))},Z.\u0275prov=l.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})()},9245:(_e,U,S)=>{"use strict";S.d(U,{Hz:()=>je,Mq:()=>Et,TO:()=>Me,mr:()=>gt});var l=S(3071),m=S(2198),ne=S(2381),$=S(1607),H=S(7340),z=S(6895),X=S(9668);const Z=function(Ee){return{dropdown:Ee}},W=["*"];let L=(()=>{class Ee{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return Ee.\u0275fac=function(me){return new(me||Ee)},Ee.\u0275prov=l.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Y=(()=>{class Ee{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new l.vpe,this.isDisabledChange=new l.vpe,this.toggleClick=new l.vpe,this.counts=0,this.dropdownMenu=new Promise(me=>{this.resolveDropdownMenu=me})}}return Ee.\u0275fac=function(me){return new(me||Ee)},Ee.\u0275prov=l.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"platform"}),Ee})();const oe=[(0,H.oB)({height:0,overflow:"hidden"}),(0,H.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,H.oB)({height:"*",overflow:"hidden"}))];let Se=(()=>{class Ee{constructor(me,le,yt,Fe,fn){this._state=me,this.cd=le,this._renderer=yt,this._element=Fe,this.isOpen=!1,this._factoryDropDownAnimation=fn.build(oe),this._subscription=me.isOpenChange.subscribe(cn=>{this.isOpen=cn;const nt=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),nt&&!(0,$.XA)()&&(this._renderer.addClass(nt,"show"),(nt.classList.contains("dropdown-menu-right")||nt.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(nt,"left","auto"),this._renderer.setStyle(nt,"right","0")),"up"===this.direction&&(this._renderer.setStyle(nt,"top","auto"),this._renderer.setStyle(nt,"transform","translateY(-101%)"))),nt&&this._state.isAnimated&&this._factoryDropDownAnimation.create(nt).play(),this.cd.markForCheck(),this.cd.detectChanges()})}get direction(){return this._state.direction}_contains(me){return this._element.nativeElement.contains(me)}ngOnDestroy(){this._subscription.unsubscribe()}}return Ee.\u0275fac=function(me){return new(me||Ee)(l.Y36(Y),l.Y36(l.sBO),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(H._j))},Ee.\u0275cmp=l.Xpm({type:Ee,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:W,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(me,le){1&me&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA()),2&me&&(l.ekj("dropup","up"===le.direction)("show",le.isOpen)("open",le.isOpen),l.Q6J("ngClass",l.VKq(7,Z,"down"===le.direction)))},directives:[z.mk],encapsulation:2,changeDetection:0}),Ee})(),Me=(()=>{class Ee{constructor(me,le,yt,Fe,fn,cn,nt){this._elementRef=me,this._renderer=le,this._viewContainerRef=yt,this._cis=Fe,this._state=fn,this._config=cn,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=nt.build(oe),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Y,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(me){this._state.autoClose=me}get autoClose(){return this._state.autoClose}set isAnimated(me){this._state.isAnimated=me}get isAnimated(){return this._state.isAnimated}set insideClick(me){this._state.insideClick=me}get insideClick(){return this._state.insideClick}set isDisabled(me){this._isDisabled=me,this._state.isDisabledChange.emit(me),me&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(me){me?this.show():this.hide()}get isBs4(){return!(0,$.XA)()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(me=>this.toggle(me))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,m.h)(me=>me)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(me=>{this._dropdown.attachInline(me.viewContainer,me.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(me=>{const le=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=le?"up":"down";const yt=this.placement||(le?"top start":"bottom start");this._dropdown.attach(Se).to(this.container).position({attachment:yt}).show({content:me.templateRef,placement:yt}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){!this.isOpen||(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(me){return this.isOpen||!me?this.hide():this.show()}_contains(me){return this._elementRef.nativeElement.contains(me.target)||this._dropdown.instance&&this._dropdown.instance._contains(me.target)}navigationClick(me){const le=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!le)return;const yt=this._elementRef.nativeElement.ownerDocument.activeElement,Fe=le.querySelectorAll(".dropdown-item");switch(me.keyCode){case 38:this._state.counts>0&&Fe[--this._state.counts].focus();break;case 40:this._state.counts+1<Fe.length&&(yt.classList!==Fe[this._state.counts].classList?Fe[this._state.counts].focus():Fe[++this._state.counts].focus())}me.preventDefault()}ngOnDestroy(){for(const me of this._subscriptions)me.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){(0,$.XA)()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout(()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const me=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",me?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",me?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return Ee.\u0275fac=function(me){return new(me||Ee)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.s_b),l.Y36(ne.oj),l.Y36(Y),l.Y36(L),l.Y36(H._j))},Ee.\u0275dir=l.lG2({type:Ee,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(me,le){1&me&&l.NdJ("keydown.arrowDown",function(Fe){return le.navigationClick(Fe)})("keydown.arrowUp",function(Fe){return le.navigationClick(Fe)}),2&me&&l.ekj("dropup",le.dropup)("open",le.isOpen)("show",le.isOpen&&le.isBs4)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[l._Bn([Y])]}),Ee})(),je=(()=>{class Ee{constructor(me,le,yt){me.resolveDropdownMenu({templateRef:yt,viewContainer:le})}}return Ee.\u0275fac=function(me){return new(me||Ee)(l.Y36(Y),l.Y36(l.s_b),l.Y36(l.Rgc))},Ee.\u0275dir=l.lG2({type:Ee,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),Ee})(),Et=(()=>{class Ee{constructor(me,le,yt,Fe,fn){this._changeDetectorRef=me,this._dropdown=le,this._element=yt,this._renderer=Fe,this._state=fn,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(cn=>{this.isOpen=cn,cn?(this._documentClickListener=this._renderer.listen("document","click",nt=>{this._state.autoClose&&2!==nt.button&&!this._element.nativeElement.contains(nt.target)&&(!this._state.insideClick||!this._dropdown._contains(nt))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(cn=>this.isDisabled=cn||void 0))}onClick(me){this._state.stopOnClickPropagation&&me.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const me of this._subscriptions)me.unsubscribe()}}return Ee.\u0275fac=function(me){return new(me||Ee)(l.Y36(l.sBO),l.Y36(Me),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Y))},Ee.\u0275dir=l.lG2({type:Ee,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(me,le){1&me&&l.NdJ("click",function(Fe){return le.onClick(Fe)}),2&me&&l.uIk("aria-haspopup",!0)("disabled",le.isDisabled)("aria-expanded",le.isOpen)},exportAs:["bs-dropdown-toggle"]}),Ee})(),gt=(()=>{class Ee{static forRoot(){return{ngModule:Ee,providers:[ne.oj,X.sA,Y]}}}return Ee.\u0275fac=function(me){return new(me||Ee)},Ee.\u0275mod=l.oAB({type:Ee}),Ee.\u0275inj=l.cJS({imports:[[z.ez]]}),Ee})()},9668:(_e,U,S)=>{"use strict";S.d(U,{Bz:()=>yt,sA:()=>Vt});var l=S(1607),m=S(3071),ne=S(6895),$=S(2916),H=S(6688),z=S(7043),X=S(4850);function W(A,re,ae,ce){return(0,z.m)(ae)&&(ce=ae,ae=void 0),ce?W(A,re,ae).pipe((0,X.U)(ot=>(0,H.k)(ot)?ce(...ot):ce(ot))):new $.y(ot=>{L(A,re,function Be(Le){ot.next(arguments.length>1?Array.prototype.slice.call(arguments):Le)},ot,ae)})}function L(A,re,ae,ce,ot){let Be;if(function oe(A){return A&&"function"==typeof A.addEventListener&&"function"==typeof A.removeEventListener}(A)){const Le=A;A.addEventListener(re,ae,ot),Be=()=>Le.removeEventListener(re,ae,ot)}else if(function ie(A){return A&&"function"==typeof A.on&&"function"==typeof A.off}(A)){const Le=A;A.on(re,ae),Be=()=>Le.off(re,ae)}else if(function Y(A){return A&&"function"==typeof A.addListener&&"function"==typeof A.removeListener}(A)){const Le=A;A.addListener(re,ae),Be=()=>Le.removeListener(re,ae)}else{if(!A||!A.length)throw new TypeError("Invalid event target");for(let Le=0,He=A.length;Le<He;Le++)L(A[Le],re,ae,ce,ot)}ce.add(Be)}var Se=S(6686),je=S(2268);const gt=new class Et extends je.v{flush(re){this.active=!0,this.scheduled=void 0;const{actions:ae}=this;let ce,ot=-1,Be=ae.length;re=re||ae.shift();do{if(ce=re.execute(re.state,re.delay))break}while(++ot<Be&&(re=ae.shift()));if(this.active=!1,ce){for(;++ot<Be&&(re=ae.shift());)re.unsubscribe();throw ce}}}(class Me extends Se.o{constructor(re,ae){super(re,ae),this.scheduler=re,this.work=ae}requestAsyncId(re,ae,ce=0){return null!==ce&&ce>0?super.requestAsyncId(re,ae,ce):(re.actions.push(this),re.scheduled||(re.scheduled=requestAnimationFrame(()=>re.flush(null))))}recycleAsyncId(re,ae,ce=0){if(null!==ce&&ce>0||null===ce&&this.delay>0)return super.recycleAsyncId(re,ae,ce);0===re.actions.length&&(cancelAnimationFrame(ae),re.scheduled=void 0)}});var Ee=S(6729),qe=S(7138),me=S(1086),le=(()=>{return(A=le||(le={})).top="top",A.bottom="bottom",A.left="left",A.right="right",A.auto="auto",A.end="right",A.start="left",A["top left"]="top left",A["top right"]="top right",A["right top"]="right top",A["right bottom"]="right bottom",A["bottom right"]="bottom right",A["bottom left"]="bottom left",A["left bottom"]="left bottom",A["left top"]="left top",A["top start"]="top left",A["top end"]="top right",A["end top"]="right top",A["end bottom"]="right bottom",A["bottom end"]="bottom right",A["bottom start"]="bottom left",A["start bottom"]="start bottom",A["start top"]="left top",le;var A})(),yt=(()=>{return(A=yt||(yt={})).top="top",A.bottom="bottom",A.left="start",A.right="end",A.auto="auto",A.end="end",A.start="start",A["top left"]="top start",A["top right"]="top end",A["right top"]="end top",A["right bottom"]="end bottom",A["bottom right"]="bottom end",A["bottom left"]="bottom start",A["left bottom"]="start bottom",A["left top"]="start top",A["top start"]="top start",A["top end"]="top end",A["end top"]="end top",A["end bottom"]="end bottom",A["bottom end"]="bottom end",A["bottom start"]="bottom start",A["start bottom"]="start bottom",A["start top"]="start top",yt;var A})();function Fe(A,re){if(1!==A.nodeType)return[];const ce=A.ownerDocument.defaultView?.getComputedStyle(A,null);return re?ce&&ce[re]:ce}function fn(A){if(!A)return document.documentElement;let ce,ae=A?.offsetParent;for(;null===ae&&A.nextElementSibling&&ce!==A.nextElementSibling;)ce=A.nextElementSibling,ae=ce.offsetParent;const ot=ae&&ae.nodeName;return ot&&"BODY"!==ot&&"HTML"!==ot?ae&&-1!==["TH","TD","TABLE"].indexOf(ae.nodeName)&&"static"===Fe(ae,"position")?fn(ae):ae:ce?ce.ownerDocument.documentElement:document.documentElement}function nt(A){return null!==A.parentNode?nt(A.parentNode):A}function pt(A,re){if(!(A&&A.nodeType&&re&&re.nodeType))return document.documentElement;const ae=A.compareDocumentPosition(re)&Node.DOCUMENT_POSITION_FOLLOWING,ce=ae?A:re,ot=ae?re:A,Be=document.createRange();Be.setStart(ce,0),Be.setEnd(ot,0);const Le=Be.commonAncestorContainer;if(A!==Le&&re!==Le||ce.contains(ot))return function cn(A){const{nodeName:re}=A;return"BODY"!==re&&("HTML"===re||fn(A.firstElementChild)===A)}(Le)?Le:fn(Le);const He=nt(A);return He.host?pt(He.host,re):pt(A,nt(re).host)}function te(A){if(!A||!A.parentElement)return document.documentElement;let re=A.parentElement;for(;re?.parentElement&&"none"===Fe(re,"transform");)re=re.parentElement;return re||document.documentElement}function xe(A,re){const ae="x"===re?"Left":"Top",ce="Left"===ae?"Right":"Bottom";return parseFloat(A[`border${ae}Width`])+parseFloat(A[`border${ce}Width`])}function Lt(A,re,ae,ce){return Math.max(re[`offset${A}`],re[`scroll${A}`],ae[`client${A}`],ae[`offset${A}`],ae[`scroll${A}`],0)}function ht(A){const re=A.body,ae=A.documentElement;return{height:Lt("Height",re,ae),width:Lt("Width",re,ae)}}function In(A){return{...A,right:(A.left||0)+A.width,bottom:(A.top||0)+A.height}}function nn(A){return"number"==typeof A||"[object Number]"===Object.prototype.toString.call(A)}function en(A){const re=A.getBoundingClientRect();if(!(re&&nn(re.top)&&nn(re.left)&&nn(re.bottom)&&nn(re.right)))return re;const ae={left:re.left,top:re.top,width:re.right-re.left,height:re.bottom-re.top},ce="HTML"===A.nodeName?ht(A.ownerDocument):void 0,ot=ce?.width||A.clientWidth||nn(re.right)&&nn(ae.left)&&re.right-ae.left||0,Be=ce?.height||A.clientHeight||nn(re.bottom)&&nn(ae.top)&&re.bottom-ae.top||0;let Le=A.offsetWidth-ot,He=A.offsetHeight-Be;if(Le||He){const bt=Fe(A);Le-=xe(bt,"x"),He-=xe(bt,"y"),ae.width-=Le,ae.height-=He}return In(ae)}function Ge(A){return"HTML"===A.nodeName?A:A.parentNode||A.host}function Qe(A){if(!A)return document.body;switch(A.nodeName){case"HTML":case"BODY":return A.ownerDocument.body;case"#document":return A.body}const{overflow:re,overflowX:ae,overflowY:ce}=Fe(A);return/(auto|scroll|overlay)/.test(String(re)+String(ce)+String(ae))?A:Qe(Ge(A))}function it(A,re,ae=!1){const ce="HTML"===re.nodeName,ot=en(A),Be=en(re),He=(Qe(A),Fe(re)),bt=parseFloat(He.borderTopWidth),Mt=parseFloat(He.borderLeftWidth);ae&&ce&&(Be.top=Math.max(Be.top??0,0),Be.left=Math.max(Be.left??0,0));const Ut=In({top:(ot.top??0)-(Be.top??0)-bt,left:(ot.left??0)-(Be.left??0)-Mt,width:ot.width,height:ot.height});if(Ut.marginTop=0,Ut.marginLeft=0,ce){const Ot=parseFloat(He.marginTop),Tt=parseFloat(He.marginLeft);nn(Ut.top)&&(Ut.top-=bt-Ot),nn(Ut.bottom)&&(Ut.bottom-=bt-Ot),nn(Ut.left)&&(Ut.left-=Mt-Tt),nn(Ut.right)&&(Ut.right-=Mt-Tt),Ut.marginTop=Ot,Ut.marginLeft=Tt}return Ut}function Dn(A,re="top"){const ae="top"===re?"scrollTop":"scrollLeft",ce=A.nodeName;if("BODY"===ce||"HTML"===ce){const ot=A.ownerDocument.documentElement;return(A.ownerDocument.scrollingElement||ot)[ae]}return A[ae]}function qn(A){const re=A.nodeName;return"BODY"!==re&&"HTML"!==re&&("fixed"===Fe(A,"position")||qn(Ge(A)))}function Vn(A,re,ae=0,ce,ot=!1){let Be={top:0,left:0};const Le=ot?te(A):pt(A,re);if("viewport"===ce)Be=function mn(A,re=!1){const ae=A.ownerDocument.documentElement,ce=it(A,ae),ot=Math.max(ae.clientWidth,window.innerWidth||0),Be=Math.max(ae.clientHeight,window.innerHeight||0),Le=re?0:Dn(ae),He=re?0:Dn(ae,"left");return In({top:Le-Number(ce?.top)+Number(ce?.marginTop),left:He-Number(ce?.left)+Number(ce?.marginLeft),width:ot,height:Be})}(Le,ot);else{let He;"scrollParent"===ce?(He=Qe(Ge(re)),"BODY"===He.nodeName&&(He=A.ownerDocument.documentElement)):He="window"===ce?A.ownerDocument.documentElement:ce;const bt=it(He,Le,ot);if(bt&&"HTML"===He.nodeName&&!qn(Le)){const{height:Mt,width:Ut}=ht(A.ownerDocument);nn(Be.top)&&nn(bt.top)&&nn(bt.marginTop)&&(Be.top+=bt.top-bt.marginTop),nn(Be.top)&&(Be.bottom=Number(Mt)+Number(bt.top)),nn(Be.left)&&nn(bt.left)&&nn(bt.marginLeft)&&(Be.left+=bt.left-bt.marginLeft),nn(Be.top)&&(Be.right=Number(Ut)+Number(bt.left))}else bt&&(Be=bt)}return nn(Be.left)&&(Be.left+=ae),nn(Be.top)&&(Be.top+=ae),nn(Be.right)&&(Be.right-=ae),nn(Be.bottom)&&(Be.bottom-=ae),Be}function Tn({width:A,height:re}){return A*re}function ar(A,re,ae,ce,ot=["top","bottom","right","left"],Be="viewport",Le=0){if(-1===A.indexOf("auto"))return A;const He=Vn(ae,ce,Le,Be),bt={top:{width:He?.width??0,height:(re?.top??0)-(He?.top??0)},right:{width:(He?.right??0)-(re?.right??0),height:He?.height??0},bottom:{width:He?.width??0,height:(He?.bottom??0)-(re?.bottom??0)},left:{width:(re.left??0)-(He?.left??0),height:He?.height??0}},Mt=Object.keys(bt).map(an=>({position:an,...bt[an],area:Tn(bt[an])})).sort((an,vt)=>vt.area-an.area);let Ut=Mt.filter(({width:an,height:vt})=>an>=ae.clientWidth&&vt>=ae.clientHeight);Ut=Ut.filter(({position:an})=>ot.some(vt=>vt===an));const Ot=Ut.length>0?Ut[0].position:Mt[0].position,Tt=A.split(" ")[1];return ae.className=ae.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,l.Wl)().isBs5?yt[Ot]:Ot}`),Ot+(Tt?`-${Tt}`:"")}const Pe=(A,re=0)=>A?parseFloat(A):re;function ct(A){const ae=A.ownerDocument.defaultView?.getComputedStyle(A),ce=Pe(ae?.marginTop)+Pe(ae?.marginBottom),ot=Pe(ae?.marginLeft)+Pe(ae?.marginRight);return{width:Number(A.offsetWidth)+ot,height:Number(A.offsetHeight)+ce}}function ft(A,re,ae){return it(re,ae?te(A):pt(A,re),ae)}function Ht(A,re,ae){const ce=ae.split(" ")[0],ot=ct(A),Be={width:ot.width,height:ot.height},Le=-1!==["right","left"].indexOf(ce),He=Le?"top":"left",bt=Le?"left":"top",Mt=Le?"height":"width",Ut=Le?"width":"height";return Be[He]=(re[He]??0)+re[Mt]/2-ot[Mt]/2,Be[bt]=ce===bt?(re[bt]??0)-ot[Ut]:re[function Ve(A){const re={left:"right",right:"left",bottom:"top",top:"bottom"};return A.replace(/left|right|bottom|top/g,ae=>re[ae])}(bt)]??0,Be}function Rt(A,re){return!!A.modifiers[re]?.enabled}const Mr={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 Zt(A,re){return!!(0,l.Wl)().isBs5&&Mr[re].includes(A)}function de(A,re,ae){!A||!re||Object.keys(re).forEach(ce=>{let ot="";-1!==["width","height","top","right","bottom","left"].indexOf(ce)&&function Nn(A){return""!==A&&!isNaN(parseFloat(A))&&isFinite(Number(A))}(re[ce])&&(ot="px"),ae?ae.setStyle(A,ce,`${String(re[ce])}${ot}`):A.style[ce]=String(re[ce])+ot})}function Ae(A){let re=A.offsets.target;const ae=A.instance.target.querySelector(".arrow");if(!ae)return A;const ce=-1!==["left","right"].indexOf(A.placement.split(" ")[0]),ot=ce?"height":"width",Be=ce?"Top":"Left",Le=Be.toLowerCase(),He=ce?"left":"top",bt=ce?"bottom":"right",Mt=ct(ae)[ot],Ut=A.placement.split(" ")[1];(A.offsets.host[bt]??0)-Mt<(re[Le]??0)&&(re[Le]-=(re[Le]??0)-((A.offsets.host[bt]??0)-Mt)),Number(A.offsets.host[Le])+Number(Mt)>(re[bt]??0)&&(re[Le]+=Number(A.offsets.host[Le])+Number(Mt)-Number(re[bt])),re=In(re);const Ot=Fe(A.instance.target),Tt=parseFloat(Ot[`margin${Be}`])||0,an=parseFloat(Ot[`border${Be}Width`])||0;let vt;if(Ut){const Wt=parseFloat(Ot.borderRadius)||0,pe=Number(Tt+an+Wt);vt=Le===Ut?Number(A.offsets.host[Le])+pe:Number(A.offsets.host[Le])+Number(A.offsets.host[ot]-pe)}else vt=Number(A.offsets.host[Le])+Number(A.offsets.host[ot]/2-Mt/2);let At=vt-(re[Le]??0)-Tt-an;return At=Math.max(Math.min(re[ot]-(Mt+5),At),0),A.offsets.arrow={[Le]:Math.round(At),[He]:""},A.instance.arrow=ae,A}function Oe(A){if(A.offsets.target=In(A.offsets.target),!Rt(A.options,"flip"))return A.offsets.target={...A.offsets.target,...Ht(A.instance.target,A.offsets.host,A.placement)},A;const re=Vn(A.instance.target,A.instance.host,0,"viewport",!1);let ae=A.placement.split(" ")[0],ce=A.placement.split(" ")[1]||"";const He=ar("auto",A.offsets.host,A.instance.target,A.instance.host,A.options.allowedPositions),bt=[ae,He];return bt.forEach((Mt,Ut)=>{if(ae!==Mt||bt.length===Ut+1)return;ae=A.placement.split(" ")[0];const Ot="left"===ae&&Math.floor(A.offsets.target.right??0)>Math.floor(A.offsets.host.left??0)||"right"===ae&&Math.floor(A.offsets.target.left??0)<Math.floor(A.offsets.host.right??0)||"top"===ae&&Math.floor(A.offsets.target.bottom??0)>Math.floor(A.offsets.host.top??0)||"bottom"===ae&&Math.floor(A.offsets.target.top??0)<Math.floor(A.offsets.host.bottom??0),Tt=Math.floor(A.offsets.target.left??0)<Math.floor(re.left??0),an=Math.floor(A.offsets.target.right??0)>Math.floor(re.right??0),vt=Math.floor(A.offsets.target.top??0)<Math.floor(re.top??0),At=Math.floor(A.offsets.target.bottom??0)>Math.floor(re.bottom??0),Wt="left"===ae&&Tt||"right"===ae&&an||"top"===ae&&vt||"bottom"===ae&&At,pe=-1!==["top","bottom"].indexOf(ae),P=pe&&"left"===ce&&Tt||pe&&"right"===ce&&an||!pe&&"left"===ce&&vt||!pe&&"right"===ce&&At;(Ot||Wt||P)&&((Ot||Wt)&&(ae=bt[Ut+1]),P&&(ce=function ve(A){return"right"===A?"left":"left"===A?"right":A}(ce)),A.placement=ae+(ce?` ${ce}`:""),A.offsets.target={...A.offsets.target,...Ht(A.instance.target,A.offsets.host,A.placement)})}),A}function et(A){if(!Rt(A.options,"preventOverflow"))return A;const re="transform",ae=A.instance.target.style,{top:ce,left:ot,[re]:Be}=ae;ae.top="",ae.left="",ae[re]="";const Le=Vn(A.instance.target,A.instance.host,0,A.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);ae.top=ce,ae.left=ot,ae[re]=Be;const bt={primary(Mt){let Ut=A.offsets.target[Mt];return(A.offsets.target[Mt]??0)<(Le[Mt]??0)&&(Ut=Math.max(A.offsets.target[Mt]??0,Le[Mt]??0)),{[Mt]:Ut}},secondary(Mt){const Ut="right"===Mt,Ot=Ut?"left":"top";let an=A.offsets.target[Ot];return(A.offsets.target[Mt]??0)>(Le[Mt]??0)&&(an=Math.min(A.offsets.target[Ot]??0,(Le[Mt]??0)-A.offsets.target[Ut?"width":"height"])),{[Ot]:an}}};return["left","right","top","bottom"].forEach(Mt=>{const Ut=-1!==["left","top","start"].indexOf(Mt)?bt.primary:bt.secondary;A.offsets.target={...A.offsets.target,...Ut(Mt)}}),A}function _t(A){const re=A.placement,ae=re.split(" ")[0],ce=re.split(" ")[1];if(ce){const{host:ot,target:Be}=A.offsets,Le=-1!==["bottom","top"].indexOf(ae),He=Le?"left":"top",bt=Le?"width":"height",Mt={start:{[He]:ot[He]},end:{[He]:(ot[He]??0)+ot[bt]-Be[bt]}};A.offsets.target={...Be,[He]:He===ce?Mt.start[He]:Mt.end[He]}}return A}const Ie=new class Ue{position(re,ae){return this.offset(re,ae)}offset(re,ae){return ft(ae,re)}positionElements(re,ae,ce,ot,Be){const Le=[Oe,_t,et,Ae],bt=function Re(A,re,ae,ce){if(!A||!re)return;const ot=ft(A,re);!ae.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!ae.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(ae="auto");const Be=!!ae.match(/auto/g);let Le=ae.match(/auto\s(left|right|top|bottom|start|end)/)?ae.split(" ")[1]||"auto":ae;const He=Le.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return He&&(Le=He[1]+(He[2]?` ${He[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(Le)&&(Le="auto"),Le=ar(Le,ot,A,re,ce?ce.allowedPositions:void 0),{options:ce||{modifiers:{}},instance:{target:A,host:re,arrow:void 0},offsets:{target:Ht(A,ot,Le),host:ot,arrow:void 0},positionFixed:!1,placement:Le,placementAuto:Be}}(ae,re,le[ce],Be);if(bt)return Le.reduce((Mt,Ut)=>Ut(Mt),bt)}};function zt(A,re,ae,ce,ot,Be){const Le=Ie.positionElements(A,re,ae,ce,ot);if(!Le)return;const He=function De(A){return{width:A.offsets.target.width,height:A.offsets.target.height,left:Math.floor(A.offsets.target.left??0),top:Math.round(A.offsets.target.top??0),bottom:Math.round(A.offsets.target.bottom??0),right:Math.floor(A.offsets.target.right??0)}}(Le);de(re,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${He.left}px, ${He.top}px, 0px)`},Be),Le.instance.arrow&&de(Le.instance.arrow,Le.offsets.arrow,Be),function ee(A,re){const ae=A.instance.target;let ce=ae.className;const ot=(0,l.Wl)().isBs5?yt[A.placement]:A.placement;A.placementAuto&&(ce=ce.replace(/bs-popover-auto/g,`bs-popover-${ot}`),ce=ce.replace(/ms-2|me-2|mb-2|mt-2/g,""),ce=ce.replace(/bs-tooltip-auto/g,`bs-tooltip-${ot}`),ce=ce.replace(/\sauto/g,` ${ot}`),-1!==ce.indexOf("popover")&&(ce=ce+" "+function Un(A){return(0,l.Wl)().isBs5?Zt(A,"end")?"ms-2":Zt(A,"start")?"me-2":Zt(A,"top")?"mb-2":Zt(A,"bottom")?"mt-2":"":""}(ot)),-1!==ce.indexOf("popover")&&-1===ce.indexOf("popover-auto")&&(ce+=" popover-auto"),-1!==ce.indexOf("tooltip")&&-1===ce.indexOf("tooltip-auto")&&(ce+=" tooltip-auto")),ce=ce.replace(/left|right|top|bottom|end|start/g,`${ot.split(" ")[0]}`),re?re.setAttribute(ae,"class",ce):ae.className=ce}(Le,Be)}let Vt=(()=>{class A{constructor(ae,ce,ot){this.update$$=new Ee.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,ne.NF)(ot)&&ae.runOutsideAngular(()=>{this.triggerEvent$=(0,qe.T)(W(window,"scroll",{passive:!0}),W(window,"resize",{passive:!0}),(0,me.of)(0,gt),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Be=>{zt(qt(Be.target),qt(Be.element),Be.attachment,Be.appendToBody,this.options,ce.createRenderer(null,null))})})})}position(ae){this.addPositionElement(ae)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(ae){this.positionElements.set(qt(ae.element),ae)}calcPosition(){this.update$$.next(null)}deletePositionElement(ae){this.positionElements.delete(qt(ae))}setOptions(ae){this.options=ae}}return A.\u0275fac=function(ae){return new(ae||A)(m.LFG(m.R0b),m.LFG(m.FYo),m.LFG(m.Lbi))},A.\u0275prov=m.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();function qt(A){return"string"==typeof A?document.querySelector(A):A instanceof m.SBq?A.nativeElement:A??null}},9079:(_e,U,S)=>{"use strict";S.d(U,{i9:()=>Tn,z8:()=>ar});var l=S(3071),m=S(1607),ne=S(9668);function L(De,Ve){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(De,Ve)}var Lt=S(2381),ht=S(2916),In=S(353),Nn=S(6688);function nn(De){return!(0,Nn.k)(De)&&De-parseFloat(De)+1>=0}var en=S(2866);function Qe(De){const{index:Ve,period:ve,subscriber:Pe}=De;if(Pe.next(Ve),!Pe.closed){if(-1===ve)return Pe.complete();De.index=Ve+1,this.schedule(De,ve)}}var it=S(6895);const Dn=["*"];let mn=(()=>{class De{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}}return De.\u0275fac=function(ve){return new(ve||De)},De.\u0275prov=l.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),qn=(()=>{class De{constructor(ve){Object.assign(this,ve)}get _bsVersions(){return(0,m.Wl)()}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=ne.Bz[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}}return De.\u0275fac=function(ve){return new(ve||De)(l.Y36(mn))},De.\u0275cmp=l.Xpm({type:De,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:7,hostBindings:function(ve,Pe){2&ve&&(l.uIk("id",Pe.id),l.Tol("tooltip in tooltip-"+Pe.placement+" bs-tooltip-"+Pe.placement+" "+Pe.placement+" "+Pe.containerClass),l.ekj("show",!Pe._bsVersions.isBs3)("bs3",Pe._bsVersions.isBs3))},ngContentSelectors:Dn,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(ve,Pe){1&ve&&(l.F$t(),l._UZ(0,"div",0),l.TgZ(1,"div",1),l.Hsn(2),l.qZA())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none}.bs3.tooltip.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-2px}.bs3.tooltip.bottom[_nghost-%COMP%]{margin-top:0}.bs3.bs-tooltip-left[_nghost-%COMP%], .bs3.bs-tooltip-right[_nghost-%COMP%]{margin:0}.bs3.bs-tooltip-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs3.bs-tooltip-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{margin:.3rem 0}"],changeDetection:0}),De})(),Vn=0,Tn=(()=>{class De{constructor(ve,Pe,ct,ft,Ht,Rt){this._elementRef=ft,this._renderer=Ht,this._positionService=Rt,this.tooltipId=Vn++,this.adaptivePosition=!0,this.tooltipChange=new l.vpe,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new l.vpe,this._tooltip=Pe.createLoader(this._elementRef,ve,this._renderer).provide({provide:mn,useValue:ct}),Object.assign(this,ct),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}get isOpen(){return this._tooltip.isShown}set isOpen(ve){ve?this.show():this.hide()}set htmlContent(ve){(0,m.O4)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=ve}set _placement(ve){(0,m.O4)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=ve}set _isOpen(ve){(0,m.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=ve}get _isOpen(){return(0,m.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(ve){(0,m.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!ve}get _enable(){return(0,m.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(ve){(0,m.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=ve?"body":this.container}get _appendToBody(){return(0,m.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(ve){(0,m.O4)("tooltipClass deprecated")}set _tooltipContext(ve){(0,m.O4)("tooltipContext deprecated")}set _tooltipPopupDelay(ve){(0,m.O4)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=ve}get _tooltipTrigger(){return(0,m.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(ve){(0,m.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(ve||"").toString()}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe(ve=>{ve||this._tooltip.hide()}),this.onShown.subscribe(()=>{this.setAriaDescribedBy()}),this.onHidden.subscribe(()=>{this.setAriaDescribedBy()})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const ve=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(qn).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},Pe=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=function Ge(De=0,Ve,ve){let Pe=-1;return nn(Ve)?Pe=Number(Ve)<1?1:Number(Ve):(0,en.K)(Ve)&&(ve=Ve),(0,en.K)(ve)||(ve=In.P),new ht.y(ct=>{const ft=nn(De)?De:+De-ve.now();return ve.schedule(Qe,ft,{index:0,period:Pe,subscriber:ct})})}(this.delay).subscribe(()=>{ve(),Pe()}),this.triggers&&(0,m.AL)(this.triggers).forEach(ct=>{!ct.close||(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,ct.close,()=>{this._delaySubscription?.unsubscribe(),Pe()}))})):ve()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance?.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout(()=>{this._tooltip.hide()},this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}}return De.\u0275fac=function(ve){return new(ve||De)(l.Y36(l.s_b),l.Y36(Lt.oj),l.Y36(mn),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(ne.sA))},De.\u0275dir=l.lG2({type:De,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:["tooltipHtml","htmlContent"],_placement:["tooltipPlacement","_placement"],_isOpen:["tooltipIsOpen","_isOpen"],_enable:["tooltipEnable","_enable"],_appendToBody:["tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:["tooltipClass","_popupClass"],_tooltipContext:["tooltipContext","_tooltipContext"],_tooltipPopupDelay:["tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:["tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"]}),function Z(De,Ve,ve,Pe){var Ht,ct=arguments.length,ft=ct<3?Ve:null===Pe?Pe=Object.getOwnPropertyDescriptor(Ve,ve):Pe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ft=Reflect.decorate(De,Ve,ve,Pe);else for(var Rt=De.length-1;Rt>=0;Rt--)(Ht=De[Rt])&&(ft=(ct<3?Ht(ft):ct>3?Ht(Ve,ve,ft):Ht(Ve,ve))||ft);ct>3&&ft&&Object.defineProperty(Ve,ve,ft)}([(0,m.GU)(),L("design:type",Object)],De.prototype,"tooltip",void 0),De})(),ar=(()=>{class De{static forRoot(){return{ngModule:De,providers:[Lt.oj,ne.sA]}}}return De.\u0275fac=function(ve){return new(ve||De)},De.\u0275mod=l.oAB({type:De}),De.\u0275inj=l.cJS({imports:[[it.ez]]}),De})()},1607:(_e,U,S)=>{"use strict";S.d(U,{AL:()=>$,C:()=>Z,GU:()=>Lt,O4:()=>nn,Rg:()=>X,Wl:()=>pt,XA:()=>fn,wo:()=>z});var l=S(3071);class m{constructor(Ge,Qe){this.open=Ge,this.close=Qe||Ge}isManual(){return"manual"===this.open||"manual"===this.close}}const ne={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function $(en,Ge=ne){const Qe=(en||"").trim();if(0===Qe.length)return[];const it=Qe.split(/\s+/).map(mn=>mn.split(":")).map(mn=>{const qn=Ge[mn[0]]||mn;return new m(qn[0],qn[1])}),Dn=it.filter(mn=>mn.isManual());if(Dn.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Dn.length&&it.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return it}function z(en,Ge){const Qe=$(Ge.triggers),it=Ge.target;if(1===Qe.length&&Qe[0].isManual())return Function.prototype;const Dn=[],mn=[],qn=()=>{mn.forEach(Vn=>Dn.push(Vn())),mn.length=0};return Qe.forEach(Vn=>{const Tn=Vn.open===Vn.close,ar=Tn?Ge.toggle:Ge.show;if(!Tn&&Vn.close&&Ge.hide){const De=en.listen(it,Vn.close,Ge.hide);mn.push(()=>De)}ar&&Dn.push(en.listen(it,Vn.open,()=>ar(qn)))}),()=>{Dn.forEach(Vn=>Vn())}}function X(en,Ge){return Ge.outsideClick?en.listen("document","click",Qe=>{Ge.target&&Ge.target.contains(Qe.target)||Ge.targets&&Ge.targets.some(it=>it.contains(Qe.target))||Ge.hide&&Ge.hide()}):Function.prototype}function Z(en,Ge){return Ge.outsideEsc?en.listen("document","keyup.esc",Qe=>{Ge.target&&Ge.target.contains(Qe.target)||Ge.targets&&Ge.targets.some(it=>it.contains(Qe.target))||Ge.hide&&Ge.hide()}):Function.prototype}const W=typeof window<"u"&&window||{};let le;function yt(){if(typeof W.document>"u")return"bs4";const en=W.document.createElement("span");en.innerText="testing bs version",en.classList.add("d-none"),en.classList.add("pl-1"),W.document.head.appendChild(en);const Ge=en.getBoundingClientRect(),Qe=W.getComputedStyle(en).paddingLeft;return!Ge||Ge&&0!==Ge.top?(W.document.head.removeChild(en),"bs3"):Qe&&parseFloat(Qe)?(W.document.head.removeChild(en),"bs4"):(W.document.head.removeChild(en),"bs5")}function fn(){return typeof W>"u"||(typeof W.__theme>"u"?(le||(le=yt()),"bs3"===le):"bs3"===W.__theme)}function cn(){return!fn()&&(le||(le=yt()),"bs4"===le)}function pt(){return{isBs3:fn(),isBs4:cn(),isBs5:!fn()&&!cn()&&(le||(le=yt()),"bs5"===le)}}function Lt(){return function(Qe,it){const Dn=` __${it}Value`;Object.defineProperty(Qe,it,{get(){return this[Dn]},set(mn){const qn=this[Dn];this[Dn]=mn,qn!==mn&&this[it+"Change"]&&this[it+"Change"].emit(mn)}})}}const In={},Nn=typeof console>"u"||!("warn"in console);function nn(en){!(0,l.X6Q)()||Nn||en in In||(In[en]=!0,console.warn(en))}}}]);
Back to Directory
File Manager