Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/nginx-manager/vendor.js
(self.webpackChunknginx_manager=self.webpackChunknginx_manager||[]).push([[736],{109:(xe,K,x)=>{"use strict";x.d(K,{F:()=>l});var l=(()=>{return(_=l||(l={}))[_.GET=0]="GET",_[_.HEAD=1]="HEAD",_[_.POST=2]="POST",_[_.PUT=3]="PUT",_[_.DELETE=4]="DELETE",_[_.CONNECT=5]="CONNECT",_[_.OPTIONS=6]="OPTIONS",_[_.TRACE=7]="TRACE",_[_.PATCH=8]="PATCH",l;var _})()},7709:(xe,K,x)=>{"use strict";x.d(K,{h:()=>l});class l{constructor(J,Y){if(!J)throw new Error("You must provide a name when creating a name/value argument");this.name=J,this.value=Y}}},3022:(xe,K,x)=>{"use strict";x.d(K,{tO:()=>mt,VN:()=>Fe});var l=x(4235),_=x.n(l),re=x(1305),J=x.n(re),Y=x(4798),Z=x.n(Y),te=x(9138),ae=x.n(te),ve=x(248),$=x.n(ve),q=x(1503),le=x.n(q),ue=x(7614),Ve=x.n(ue);function ne(We){if(_()(We)||J()(We)||Z()(We)||ae()(We)||$()(We))return!0;if(!Ve()(We)&&!le()(We))return!1;for(const $e in We)if(!ne(We[$e]))return!1;return!0}class Fe{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode($e,rt,Ce){if(!$e)throw new Error("Name must have a non-empty value");return`${$e}=${encodeURIComponent(rt.toString())}`+(Ce?"":this.recordSeparator)}}class mt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode($e,rt,Ce){if(!$e)throw new Error("Name must have a non-empty value");if(!ne(rt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify($e)+":"+JSON.stringify(rt)+(Ce?"":this.recordSeparator)}}},3357:(xe,K,x)=>{"use strict";x.d(K,{p:()=>l,w:()=>_});var l=(()=>{return(re=l||(l={}))[re.Contains=0]="Contains",re[re.Begins=1]="Begins",re[re.Ends=2]="Ends",re[re.Matches=3]="Matches",re[re.Equal=4]="Equal",re[re.NotEqual=5]="NotEqual",re[re.LessThan=6]="LessThan",re[re.LessThanUnlimited=7]="LessThanUnlimited",re[re.GreaterThan=8]="GreaterThan",re[re.GreaterThanUnlimited=9]="GreaterThanUnlimited",re[re.Defined=10]="Defined",re[re.Undefined=11]="Undefined",l;var re})();class _{constructor(J,Y,Z){if(!J)throw new Error("You must define a non-empty column name.");this.column=J,this.operator=Y,this.value=Z}}},5380:(xe,K,x)=>{"use strict";x.d(K,{uE:()=>re});const _=Number.POSITIVE_INFINITY;class re{constructor(Y=1,Z=20){if(Y<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(Z<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=Y,this.pageSize=Z}all(){return this.pageSize===_}}},755:(xe,K,x)=>{"use strict";x.d(K,{ER:()=>_,PE:()=>re,Sr:()=>l});var l=(()=>{return(J=l||(l={}))[J.Ascending=0]="Ascending",J[J.Descending=1]="Descending",l;var J})(),_=(()=>{return(J=_||(_={}))[J.Lexicographic=0]="Lexicographic",J[J.Ipv4=1]="Ipv4",J[J.Numeric=2]="Numeric",J[J.NumericZeroAsMax=3]="NumericZeroAsMax",_;var J})();class re{constructor(Y,Z=l.Ascending,te=_.Lexicographic){if(!Y)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=Y,this.direction=Z,this.type=te}}},5397:(xe,K,x)=>{"use strict";x.d(K,{r:()=>on,N:()=>gn});var l=x(1978),_=x.n(l);function re(en){return en?"1":"0"}var Z=x(755),te=x(3357),ae=x(7709),ve=x(5380);class ${constructor(Ee=[]){this.headers=Ee}push(Ee){this.headers.push(Ee)}forEach(Ee,lt){this.headers.forEach(Ee,lt)}toArray(){const Ee=[];return this.headers.forEach(lt=>Ee.push({name:lt.name,value:lt.value})),Ee}toObject(){return this.headers.reduce((Ee,lt)=>(Ee[lt.name]=lt.value,Ee),{})}}class q{constructor(Ee){this._header=Ee}get name(){return this._header.name}get value(){return this._header.value}}class le extends Error{constructor(Ee){super(Ee),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,le.prototype)}}class ue extends Error{constructor(Ee){super(Ee),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,ue.prototype)}}class Ve extends q{constructor(Ee,lt){if(!Ee)throw new le("You must pass a valid token to the constructor.");if(!lt&&!/^.+[:]/.test(Ee))throw new le("You must pass a cPanel username associated with the cPanel API token.");if(!lt&&!/[:].+$/.test(Ee))throw new le("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${lt?lt+":":""}${Ee}`})}}Error,Error;var We=x(109);const rt=new class $e{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[We.F.GET,We.F.DELETE,We.F.HEAD].forEach(Ee=>{const lt=We.F[Ee].toString();this.map[lt]={verb:lt,dataInBody:!1}}),[We.F.POST,We.F.PUT,We.F.PATCH].forEach(Ee=>{const lt=We.F[Ee].toString();this.map[lt]={verb:lt,dataInBody:!0}})}getRule(Ee){const lt="string"==typeof Ee?Ee:We.F[Ee].toString();let et=this.map[lt];return et||(et=this.map.DEFAULT),et}};var Ce=x(3022),_t=x(8448),Ct=x.n(_t),gn=(()=>{return(en=gn||(gn={})).JsonApi="json-api",en.XmlApi="xml-api",gn;var en})();class on extends class mt{constructor(Ee){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ve.uE,this.headers=new $,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,Ee&&(this.method=Ee.method,Ee.namespace&&(this.namespace=Ee.namespace),Ee.arguments&&Ee.arguments.forEach(lt=>{this.addArgument(lt)}),Ee.sorts&&Ee.sorts.forEach(lt=>{this.addSort(lt)}),Ee.filters&&Ee.filters.forEach(lt=>{this.addFilter(lt)}),Ee.columns&&Ee.columns.forEach(lt=>this.addColumn(lt)),Ee.pager&&this.paginate(Ee.pager),this.config=Ee.config?Ee.config:this.defaultConfig,Ee.headers&&Ee.headers.forEach(lt=>{this.addHeader(lt)}))}get usePager(){return this._usePager}addArgument(Ee){return this.arguments.push(Ee instanceof ae.h?Ee:new ae.h(Ee.name,Ee.value)),this}addSort(Ee){return this.sorts.push(Ee instanceof Z.PE?Ee:new Z.PE(Ee.column,Ee.direction,Ee.type)),this}addFilter(Ee){return this.filters.push(Ee instanceof te.w?Ee:new te.w(Ee.column,Ee.operator,Ee.value)),this}addColumn(Ee){return this.columns.push(Ee),this}addHeader(Ee){return this.headers.push(Ee instanceof q?Ee:new q(Ee)),this}paginate(Ee){return this.pager=Ee instanceof ve.uE?Ee:new ve.uE(Ee.page,Ee.pageSize||20),this._usePager=!0,this}}{constructor(Ee,lt){if(super(lt),this.apiType=gn.JsonApi,Ee!=gn.JsonApi&&Ee!=gn.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=Ee,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(Ee){if(Ee instanceof Ve)throw new ue("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(Ee),this}_build(Ee,lt){let et="";return Ee.forEach((ze,Be,zt)=>{et+=lt.encode(ze.name,ze.value,Be===zt.length-1)}),lt.separatorStart+et+lt.separatorEnd}_make_whm_api_fieldspec_from_number(Ee){return Ct()("",Math.floor(Ee/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(Ee%26)}_generateArguments(Ee){Ee.push({name:"api.version",value:1}),this.arguments.forEach(et=>Ee.push(et))}_generateSorts(Ee){this.sorts.forEach((lt,et)=>{0===et&&Ee.push({name:"api.sort.enable",value:re(!0)});const ze=`api.sort.${this._make_whm_api_fieldspec_from_number(et)}`;Ee.push({name:`${ze}.field`,value:lt.column}),Ee.push({name:`${ze}.reverse`,value:re(lt.direction!==Z.Sr.Ascending)}),Ee.push({name:`${ze}.method`,value:_()(Z.ER[lt.type])})})}_lookupFilterOperator(Ee){switch(Ee){case te.p.GreaterThanUnlimited:return"gt_handle_unlimited";case te.p.GreaterThan:return"gt";case te.p.LessThanUnlimited:return"lt_handle_unlimited";case te.p.LessThan:return"lt";case te.p.Equal:return"eq";case te.p.Begins:return"begins";case te.p.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${te.p[Ee]} for WHM API 1`)}}_generateFilters(Ee){this.filters.forEach((lt,et)=>{0===et&&(Ee.push({name:"api.filter.enable",value:re(!0)}),Ee.push({name:"api.filter.verbose",value:re(!0)}));const ze=`api.filter.${this._make_whm_api_fieldspec_from_number(et)}`;Ee.push({name:`${ze}.field`,value:lt.column}),Ee.push({name:`${ze}.type`,value:this._lookupFilterOperator(lt.operator)}),Ee.push({name:`${ze}.arg0`,value:lt.value})})}_translatePageToStart(Ee){return(Ee.page-1)*Ee.pageSize+1}_generatePagination(Ee){if(!this.usePager)return;const lt=this.pager.all();Ee.push({name:"api.chunk.enable",value:re(!0)}),Ee.push({name:"api.chunk.verbose",value:re(!0)}),Ee.push({name:"api.chunk.start",value:lt?-1:this._translatePageToStart(this.pager)}),lt||Ee.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(Ee){Ee||(Ee={verb:We.F.POST,encoder:this.config.json?new Ce.tO:new Ce.VN}),Ee.encoder||(Ee.encoder=this.config.json?new Ce.tO:new Ce.VN);const lt=rt.getRule(Ee.verb),et={headers:new $([{name:"Content-Type",value:Ee.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},ze=[];this._generateArguments(ze),this._generateSorts(ze),this._generateFilters(ze),this._generatePagination(ze);const Be=this._build(ze,Ee.encoder);return lt.dataInBody?et.body=Be:et.url+=Ee.verb===We.F.GET?`?${Be}`:Be,this.headers.forEach(zt=>{et.headers.push({name:zt.name,value:zt.value})}),et}}},269:(xe,K,x)=>{"use strict";K.g=void 0;const _=x(1680);Object.defineProperty(K,"g",{enumerable:!0,get:function(){return _.Locale}})},5074:(xe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.CLDR=void 0,K.CLDR=class x{constructor(_){this.rawData=_,this.validateCLDR(this.rawData)}validateCLDR(_){if(!_)throw new Error("CLDR data cannot be null");if(!_.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(_,"functions")||Object.prototype.hasOwnProperty.call(_,"get_plural_form")||"function"!=typeof _.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(_,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(_,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(_.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(_.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(_,...re){return this.rawData.functions.get_plural_form(_,...re)}getDateTimeInfo(){return this.rawData.datetime_info}getFormats(){return this.rawData.misc_info.cldr_formats}getDelimiters(){return this.rawData.misc_info.delimiters}isRtl(){return"right-to-left"===this.rawData.misc_info.orientation.characters}isLtr(){return"left-to-right"===this.rawData.misc_info.orientation.characters}}},1680:(xe,K,x)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.Locale=void 0;const l=x(2889),_=x(9483),re=x(741),J=x(786),Y=x(5074);K.Locale=class Z{constructor(ae,ve={}){this.lexicon=ve,this._cldr=new Y.CLDR(ae)}maketext(ae,...ve){return l.maketext({cldr:this._cldr,lexicon:this.lexicon,template:ae,args:ve})}localDatetime(ae,ve){return this._datetimeWrapper(_.local_datetime,ae,ve)}datetime(ae,ve){return this._datetimeWrapper(_.datetime,ae,ve)}_datetimeWrapper(ae,ve,$){return ae({cldr:this._cldr,args:[ve,$]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(ae,ve){return this._formatNumber(re.numf,ae,ve)}format_bytes(ae,ve){return this._formatNumber(re.format_bytes,ae,ve)}_formatNumber(ae,...ve){return this._callCLDRFunc(ae,ve)}list_and(...ae){return this._callCLDRFunc(J.list_and,ae)}list_and_quoted(...ae){return this._callCLDRFunc(J.list_and_quoted,ae)}list_or(...ae){return this._callCLDRFunc(J.list_or,ae)}list_or_quoted(...ae){return this._callCLDRFunc(J.list_or_quoted,ae)}_callCLDRFunc(ae,ve){return ae({cldr:this._cldr,args:ve})}}},7296:(xe,K,x)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.asis=void 0;const l=x(5247);K.asis=function _({args:[re,...J]}){if(!re||J.length>0||"string"!=typeof re)throw new Error("asis function accepts one non translatable string.");return(re=re.replace(/chr\((\d+)\)/g,function(Y,Z){return l.functions.chr(Number(Z))})).replace(/amp\(\)/g,function(Y){return l.functions.amp()})}},527:(xe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.boolean=void 0,K.boolean=function x({args:[l,_,re,J]}){if(null==_||0===_.length||null==re||0===re.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof l<"u"&&l?_:J&&null==l?J:re)}},9076:(xe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.comment=void 0,K.comment=function x({args:[l]}){return""}},9483:(xe,K,x)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.local_datetime=K.datetime=K.dateToLocalDayNum=void 0;const l=x(5074),_=function($){const q=$.getUTCDay()-1;return q<0?6:q},re=[7,1,2,3,4,5,6];function J($,q){return(re[$.getUTCDay()]+7-q)%7+1}K.dateToLocalDayNum=J;const Y=function($,q,le){let ue="",Ve=0;return q=q||0,le=String(void 0===le?" ":le),Ve=q-String($).length,Ve>0&&(ue=[...Array(Ve)].map(String.prototype.valueOf,le).join("")),ue+$};function Z({cldr:$,args:[q=new Date,le],tzString:ue="UTC"}){if("number"==typeof q&&/^-?\d+$/.test(q.toString())&&(q=new Date(1e3*q)),!(q instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!($ instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ve=$.getDateTimeInfo();return"string"==typeof le&&/^(?:date|time|datetime|special)_format_/.test(le)&&(le=Ve[le]),le||(le=Ve.date_format_long),le.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(ne,Se,Fe){return Se?function te($){return $.substr(1,$.length-2)}(Se):function ae($,q,le,ue){switch(le){case"yy":return Math.abs($.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs($.getUTCFullYear()));case"MMMMM":return q.month_format_narrow[$.getUTCMonth()];case"LLLLL":return q.month_stand_alone_narrow[$.getUTCMonth()];case"MMMM":return q.month_format_wide[$.getUTCMonth()];case"LLLL":return q.month_stand_alone_wide[$.getUTCMonth()];case"MMM":return q.month_format_abbreviated[$.getUTCMonth()];case"LLL":return q.month_stand_alone_abbreviated[$.getUTCMonth()];case"MM":case"LL":return Y(($.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String($.getUTCMonth()+1);case"EEEE":return q.day_format_wide[_($)];case"EEE":case"EE":case"E":return q.day_format_abbreviated[_($)];case"EEEEE":return q.day_format_narrow[_($)];case"cccc":return q.day_stand_alone_wide[_($)];case"ccc":return q.day_stand_alone_abbreviated[_($)];case"cc":case"c":return String(J($,Number(q.first_day_of_week)));case"ccccc":return q.day_stand_alone_narrow[_($)];case"dd":return Y($.getUTCDate().toString(),2,"0");case"d":return String($.getUTCDate());case"h":case"hh":{let Ve=$.getUTCHours();Ve>12&&(Ve-=12),0===Ve&&(Ve=12);const ne="hh"===le?Y(Ve.toString(),2,"0"):Ve;return String(ne)}case"H":return String($.getUTCHours());case"HH":return Y($.getUTCHours().toString(),2,"0");case"m":return String($.getUTCMinutes());case"mm":return Y($.getUTCMinutes().toString(),2,"0");case"s":return String($.getUTCSeconds());case"ss":return Y($.getUTCSeconds().toString(),2,"0");case"a":return $.getUTCHours()<12?q.am_pm_abbreviated[0]:q.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return ue;case"G":case"GG":case"GGG":return q.era_abbreviated[$.getUTCFullYear()<0?0:1];case"GGGGG":return q.era_narrow[$.getUTCFullYear()<0?0:1];case"GGGG":return q.era_wide[$.getUTCFullYear()<0?0:1]}return le}(q,Ve,Fe,ue)})}K.datetime=Z,K.local_datetime=function ve({cldr:$,args:[q=new Date,le]}){if("number"==typeof q&&/^-?\d+$/.test(q.toString())&&(q=new Date(1e3*q)),!(q instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!($ instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ue=q.getTimezoneOffset();(q=new Date(q)).setMinutes(q.getMinutes()-ue);const Ve=ue>0?"-":"+",ne=Math.floor(Math.abs(ue)/60),Se=Math.abs(ue%60);return Z({cldr:$,args:[q,le],tzString:"GMT"+Ve+Y(ne.toString(),2,"0")+Y(Se.toString(),2,"0")})}},40:(xe,K,x)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.functions=void 0;const l=x(7296),_=x(5247),re=x(9076),J=x(527),Y=x(741),Z=x(9483),te=x(786);K.functions={asis:l.asis,output:_.output,comment:re.comment,boolean:J.boolean,numf:Y.numf,numerate:Y.numerate,quant:Y.quant,format_bytes:Y.format_bytes,datetime:Z.datetime,local_datetime:Z.local_datetime,list_and:te.list_and,list_or:te.list_or,list_or_quoted:te.list_or_quoted,list_and_quoted:te.list_and_quoted}},786:(xe,K)=>{"use strict";function l(te,ae,...ve){let $=ve.slice();switch(1===$.length&&Array.isArray($[0])&&($=$[0].slice()),(typeof $>"u"||0===$.length)&&($=[""]),$=$.map(q=>function x(te,ae){const ve=te.getDelimiters();return ve&&Object.prototype.hasOwnProperty.call(ve,"quotation_start")&&Object.prototype.hasOwnProperty.call(ve,"quotation_end")?ve.quotation_start+ae+ve.quotation_end:ae}(te,q)),ae){case"list_and":return Y({cldr:te,args:$});case"list_or":return Z({cldr:te,args:$});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function J(te,ae,...ve){let $=ve.slice();1===$.length&&Array.isArray($[0])&&($=$[0].slice());const q=$.length;let le,ue,Ve,ne;try{le=te.getFormats()[ae]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Se=function(Fe,mt){switch(mt){case"0":return Ve;case"1":return $[ne++]}};switch(q){case 0:return"";case 1:return String($[0]);default:if(Ve=2===q?le[2]:le.start,Ve=Ve.replace(/\{([01])\}/g,function(Fe,mt){return $[mt]}),2===q)return Ve;for(ne=2;ne<q;)ue=le[ne===q-1?"end":"middle"],Ve=ue.replace(/\{([01])\}/g,Se);return Ve}}function Y({cldr:te,args:[...ae]}){return J(te,"list",...ae)}function Z({cldr:te,args:[...ae]}){return J(te,"list_or",...ae)}Object.defineProperty(K,"__esModule",{value:!0}),K.list_or=K.list_and=K.list_or_quoted=K.list_and_quoted=void 0,K.list_and_quoted=function _({cldr:te,args:[...ae]}){return l(te,"list_and",...ae)},K.list_or_quoted=function re({cldr:te,args:[...ae]}){return l(te,"list_or",...ae)},K.list_and=Y,K.list_or=Z},5247:(xe,K,x)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.functions=K.output=void 0;const l=x(7906),_=x(8533);K.output=function re({args:[J,...Y]}){if(Y&&"string"==typeof Y[0]&&(Y[0]=Y[0].replace(/chr\((\d+)\)/g,function(Z,te){return K.functions.chr(Number(te))}),Y[0]=Y[0].replace(/amp\(\)/g,function(Z){return K.functions.amp()})),"function"==typeof K.functions[J])return K.functions[J](...Y);throw new Error(`Locale output function '${J}' is not implemented.`)},K.functions={amp:()=>l.htmlEscape("&"),apos:()=>l.htmlEscape("'"),quot:()=>l.htmlEscape('"'),underline:J=>`<u>${J}</u>`,strong:J=>`<strong>${J}</strong>`,em:J=>`<em>${J}</em>`,abbr:(J,Y)=>`<abbr title="${Y}">${J}</abbr>`,acronym:(J,Y)=>`<abbr title="${Y}" class="initialism">${J}</abbr>`,class:(J,...Y)=>`<span class="${Y.join(" ")}">${J}</span>`,chr(J){if("string"==typeof J&&(J=Number(J)),"number"!=typeof J||isNaN(J))throw new Error("chr needs a number as argument");return l.htmlEscape(String.fromCharCode(J))},url(J,...Y){let Z,te;if("object"==typeof Y[Y.length-1])if(Z=Y[Y.length-1],2===Y.length){if(Z.html)throw new Error("Cannot provide both text and configuration with html attribute");te=Y[0]}else Z&&Z.html?(te=Z.html,delete Z.html):te=J;else Y.length%2==0?(Z=_.listToObject(...Y),Z&&"html"in Z&&""!==Z.html?(te=Z.html,delete Z.html):te=J):(te=Y.shift(),Z=_.listToObject(...Y));"_type"in Z&&"offsite"===Z._type&&(Z.class="offsite",Z.target="_blank",delete Z._type);let ae=`<a href="${J}"`;if("object"==typeof Z)for(const ve in Z)Object.prototype.hasOwnProperty.call(Z,ve)&&(ae+=` ${ve}="${Z[ve]}"`);return ae+=`>${te}</a>`,ae}}},741:(xe,K,x)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.format_bytes=K.numf=K.quant=K.numerate=void 0;const l=x(5074);function re({cldr:te,args:[ae,...ve]}){if(!(te instanceof l.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let $,q=3;ae instanceof Array?(q=ae[1],$=ae[0]):$=ae;const le=te.getPluralForm($,...ve),ue=le[0]?le[0]:ve[ve.length-1];if(le&&le.length>=2&&le[1])return ue;const ne=Y({cldr:te,args:[$,q]});return-1!==ue.indexOf("%s")?ue.replace(/%s/g,ne):te.isRtl()?ue+" "+ne:ne+" "+ue}function Y({cldr:te,args:[ae,ve=6]}){if(!(te instanceof l.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(ae.toString()))return String(ae);const{decimalFormat:$,decimalGroup:q,decimalDecimal:le}=function J(te){const ae={},ve=te.getFormats();return Object.prototype.hasOwnProperty.call(ve,"decimal")&&(ae.decimalFormat=ve.decimal),Object.prototype.hasOwnProperty.call(ve,"_decimal_format_group")&&(ae.decimalGroup=ve._decimal_format_group),Object.prototype.hasOwnProperty.call(ve,"_decimal_format_decimal")&&(ae.decimalDecimal=ve._decimal_format_decimal),ae}(te);if(!$||!q||!le)throw new Error("CLDR Data is missing information related to formatting decimals.");const ue=ae<0;ae=Math.abs(ae);let ne,Se,Ve=Math.floor(ae);/(?!')\.(?!')/.test(ae.toString())&&(ne=String(ae).replace(/^[^.]+/,"0"),ne=Number(ne).toFixed(ve),/^1/.test(ne)?(Ve++,ae=Ve,ne=void 0):ne=ne.replace(/^.*\./,"").replace(/0+$/,"")),Se=/(?!');(?!')/.test($)?$.split(/(?!');(?!')/)[ue?1:0]:(ue?"-":"")+$;const We=Se.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let $e;1===We.length?$e="":(We.pop(),$e=q);const rt=String(Ve).split("").reverse(),Ce=[];let _t;const Ct=function(on){switch(on){case"#":return rt.shift()||"";case"0":return rt.shift()||"0"}};for(;rt.length;){We.length&&(_t=We.shift());const on=_t.replace(/(?!')[0#]|[0#](?!')/g,Ct).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Ce.push(on)}const gn=Ce.join($e).split("").reverse().join("")+(ne?le+ne:"");return Se.replace(/[0#].*[0#]/,gn)}K.numerate=function _({cldr:te,args:[ae,...ve]}){if(!(te instanceof l.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const $=te.getPluralForm(ae,...ve);return $?$[0]:ve[ve.length-1]},K.quant=re,K.numf=Y,K.format_bytes=function Z({cldr:te,args:[ae,ve=2]}){if(!(te instanceof l.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const $=["KB","MB","GB","TB","PB","EB","ZB","YB"],le=ae&&Math.min(Math.floor(Math.log(ae)/Math.log(1024)),$.length);return le?Y({cldr:te,args:[ae/Math.pow(1024,le),ve]})+"\xa0"+$[le-1]:re({cldr:te,args:[ae,"%s\xa0byte","%s\xa0bytes"]})}},2889:(xe,K,x)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.maketext=K.functions=K.config=void 0;const l=x(40);function Y(Z,te){const ae=[];let ve=!1,$=!1;return Z.forEach((q,le)=>{if("_"===q.charAt(0))if("_*"===q){if($)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";ae.push(...te),ve=!0}else{const ue=q.match(K.config.underscoreDigitRe);if(ue){if(ve)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ve,ne]=ue,Se=Number(ne)-1;if(!(Se in te))throw`The "${Ve}" substitution argument was not passed to the maketext function.`;ae.push(te[Se]),$=!0}}else ae.push(q)}),ae}K.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},K.functions={...l.functions},K.maketext=function re({cldr:Z,lexicon:te,template:ae,args:ve}){if("string"!=typeof ae)throw"You must pass a string template to the maketext function.";if(-1===(ae=te&&te[ae]||ae).indexOf("["))return ae;const $=ae.match(K.config.bracketRe)||[],q=[];let le=!1,ue="";if($.forEach(Ve=>{if("["===Ve){if(le)throw Error(`Invalid maketext string: ${ae} \nThe string contains nested brackets.`);le=!0}else if("]"===Ve){if(!le)throw Error(`Invalid maketext string: ${ae} \nThe string contains an unmatched closing bracket character (]).`);if(!ue)throw Error(`Invalid maketext string: ${ae} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let ne;le=!1;try{ne=function J(Z,te,ae){let ve=te.split(",");if(ve=ve.map(le=>le.replace(K.config.fauxCommaRe,",")),1===ve.length){if(!K.config.underscoreDigitRe.test(ve[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[le]=Y(ve,ae);return String(le)}const $=ve.shift();if(!$||"function"!=typeof K.functions[$])throw`Invalid function "${$}" in maketext string.`;const q=Y(ve,ae);return K.functions[$]({cldr:Z,args:q})}(Z,ue,ve)}catch(Se){throw Error(`Invalid maketext string: ${ae} \n${Se}`)}ue="",q.push(ne)}else if("~"===Ve.charAt(0)){const ne=Ve.charAt(1)||"~";le?ue+=","===ne?K.config.fauxComma:ne:K.config.tildeChars.has(ne)?q.push(ne):q.push(Ve)}else le?ue+=Ve:q.push(Ve)}),le)throw Error(`Invalid maketext string: ${ae} \nThe string contains an unmatched opening bracket character ([).`);return q.join("")}},7906:(xe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.htmlEscape=K.entityMap=void 0,K.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},K.htmlEscape=function x(l){return String(l).replace(/[&<>"'\/]/g,_=>K.entityMap[_])}},8533:(xe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.listToObject=void 0,K.listToObject=function _(...re){let J={};return function x(re){if(re.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let Y=0,Z=re.length;Y<Z;Y+=2){const te=re[Y];if("string"!=typeof te||""===te)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(re)&&(J=function l(re){const J=re.length,Y={};let te,ae,Z=0;for(;Z<J;)te=re[Z],ae=re[++Z],Y[te]=ae,Z++;return Y}(re)),J}},443:(xe,K,x)=>{var l=x(2119);xe.exports=l.Symbol},4633:xe=>{xe.exports=function K(x,l){for(var _=-1,re=null==x?0:x.length,J=Array(re);++_<re;)J[_]=l(x[_],_,x);return J}},8745:xe=>{xe.exports=function K(x,l,_,re){var J=-1,Y=null==x?0:x.length;for(re&&Y&&(_=x[++J]);++J<Y;)_=l(_,x[J],J,x);return _}},5481:(xe,K,x)=>{var _=x(1847)("length");xe.exports=_},6422:xe=>{xe.exports=function K(x){return x.split("")}},69:xe=>{var K=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;xe.exports=function x(l){return l.match(K)||[]}},3337:(xe,K,x)=>{var l=x(443),_=x(1318),re=x(2902),Z=l?l.toStringTag:void 0;xe.exports=function te(ae){return null==ae?void 0===ae?"[object Undefined]":"[object Null]":Z&&Z in Object(ae)?_(ae):re(ae)}},1847:xe=>{xe.exports=function K(x){return function(l){return null==l?void 0:l[x]}}},2724:xe=>{xe.exports=function K(x){return function(l){return null==x?void 0:x[l]}}},7065:xe=>{var x=Math.floor;xe.exports=function l(_,re){var J="";if(!_||re<1||re>9007199254740991)return J;do{re%2&&(J+=_),(re=x(re/2))&&(_+=_)}while(re);return J}},4363:xe=>{xe.exports=function K(x,l,_){var re=-1,J=x.length;l<0&&(l=-l>J?0:J+l),(_=_>J?J:_)<0&&(_+=J),J=l>_?0:_-l>>>0,l>>>=0;for(var Y=Array(J);++re<J;)Y[re]=x[re+l];return Y}},3935:(xe,K,x)=>{var l=x(443),_=x(4633),re=x(1503),J=x(4129),Z=l?l.prototype:void 0,te=Z?Z.toString:void 0;xe.exports=function ae(ve){if("string"==typeof ve)return ve;if(re(ve))return _(ve,ae)+"";if(J(ve))return te?te.call(ve):"";var $=ve+"";return"0"==$&&1/ve==-1/0?"-0":$}},3348:(xe,K,x)=>{var l=x(2760),_=/^\s+/;xe.exports=function re(J){return J&&J.slice(0,l(J)+1).replace(_,"")}},2329:(xe,K,x)=>{var l=x(4363);xe.exports=function _(re,J,Y){var Z=re.length;return Y=void 0===Y?Z:Y,!J&&Y>=Z?re:l(re,J,Y)}},1491:(xe,K,x)=>{var l=x(8745),_=x(4707),re=x(7188),Y=RegExp("['\u2019]","g");xe.exports=function Z(te){return function(ae){return l(re(_(ae).replace(Y,"")),te,"")}}},5171:(xe,K,x)=>{var l=x(7065),_=x(3935),re=x(2329),J=x(7609),Y=x(2315),Z=x(6007),te=Math.ceil;xe.exports=function ae(ve,$){var q=($=void 0===$?" ":_($)).length;if(q<2)return q?l($,ve):$;var le=l($,te(ve/Y($)));return J($)?re(Z(le),0,ve).join(""):le.slice(0,ve)}},9148:(xe,K,x)=>{var re=x(2724)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});xe.exports=re},9122:xe=>{var K="object"==typeof global&&global&&global.Object===Object&&global;xe.exports=K},9519:(xe,K,x)=>{var _=x(9385)(Object.getPrototypeOf,Object);xe.exports=_},1318:(xe,K,x)=>{var l=x(443),_=Object.prototype,re=_.hasOwnProperty,J=_.toString,Y=l?l.toStringTag:void 0;xe.exports=function Z(te){var ae=re.call(te,Y),ve=te[Y];try{te[Y]=void 0;var $=!0}catch{}var q=J.call(te);return $&&(ae?te[Y]=ve:delete te[Y]),q}},7609:xe=>{var Z=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");xe.exports=function te(ae){return Z.test(ae)}},9062:xe=>{var K=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;xe.exports=function x(l){return K.test(l)}},2902:xe=>{var x=Object.prototype.toString;xe.exports=function l(_){return x.call(_)}},9385:xe=>{xe.exports=function K(x,l){return function(_){return x(l(_))}}},2119:(xe,K,x)=>{var l=x(9122),_="object"==typeof self&&self&&self.Object===Object&&self,re=l||_||Function("return this")();xe.exports=re},2315:(xe,K,x)=>{var l=x(5481),_=x(7609),re=x(1149);xe.exports=function J(Y){return _(Y)?re(Y):l(Y)}},6007:(xe,K,x)=>{var l=x(6422),_=x(7609),re=x(6319);xe.exports=function J(Y){return _(Y)?re(Y):l(Y)}},2760:xe=>{var K=/\s/;xe.exports=function x(l){for(var _=l.length;_--&&K.test(l.charAt(_)););return _}},1149:xe=>{var K="\\ud800-\\udfff",Y="["+K+"]",Z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",te="\\ud83c[\\udffb-\\udfff]",ve="[^"+K+"]",$="(?:\\ud83c[\\udde6-\\uddff]){2}",q="[\\ud800-\\udbff][\\udc00-\\udfff]",ue="(?:"+Z+"|"+te+")?",Ve="[\\ufe0e\\ufe0f]?",Se=Ve+ue+"(?:\\u200d(?:"+[ve,$,q].join("|")+")"+Ve+ue+")*",Fe="(?:"+[ve+Z+"?",Z,$,q,Y].join("|")+")",mt=RegExp(te+"(?="+te+")|"+Fe+Se,"g");xe.exports=function We($e){for(var rt=mt.lastIndex=0;mt.test($e);)++rt;return rt}},6319:xe=>{var K="\\ud800-\\udfff",Y="["+K+"]",Z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",te="\\ud83c[\\udffb-\\udfff]",ve="[^"+K+"]",$="(?:\\ud83c[\\udde6-\\uddff]){2}",q="[\\ud800-\\udbff][\\udc00-\\udfff]",ue="(?:"+Z+"|"+te+")?",Ve="[\\ufe0e\\ufe0f]?",Se=Ve+ue+"(?:\\u200d(?:"+[ve,$,q].join("|")+")"+Ve+ue+")*",Fe="(?:"+[ve+Z+"?",Z,$,q,Y].join("|")+")",mt=RegExp(te+"(?="+te+")|"+Fe+Se,"g");xe.exports=function We($e){return $e.match(mt)||[]}},910:xe=>{var K="\\ud800-\\udfff",J="\\u2700-\\u27bf",Y="a-z\\xdf-\\xf6\\xf8-\\xff",$="A-Z\\xc0-\\xd6\\xd8-\\xde",le="\\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",Ve="["+le+"]",Se="\\d+",Fe="["+J+"]",mt="["+Y+"]",We="[^"+K+le+Se+J+Y+$+"]",_t="(?:\\ud83c[\\udde6-\\uddff]){2}",Ct="[\\ud800-\\udbff][\\udc00-\\udfff]",gn="["+$+"]",en="(?:"+mt+"|"+We+")",Ee="(?:"+gn+"|"+We+")",lt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",et="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ze="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Be="[\\ufe0e\\ufe0f]?",ri=Be+ze+"(?:\\u200d(?:"+["[^"+K+"]",_t,Ct].join("|")+")"+Be+ze+")*",rr="(?:"+[Fe,_t,Ct].join("|")+")"+ri,ii=RegExp([gn+"?"+mt+"+"+lt+"(?="+[Ve,gn,"$"].join("|")+")",Ee+"+"+et+"(?="+[Ve,gn+en,"$"].join("|")+")",gn+"?"+en+"+"+lt,gn+"+"+et,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Se,rr].join("|"),"g");xe.exports=function Sr(vi){return vi.match(ii)||[]}},4707:(xe,K,x)=>{var l=x(9148),_=x(3943),re=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ve=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");xe.exports=function $(q){return(q=_(q))&&q.replace(re,l).replace(ve,"")}},1503:xe=>{xe.exports=Array.isArray},4798:(xe,K,x)=>{var l=x(3337),_=x(2671);xe.exports=function J(Y){return!0===Y||!1===Y||_(Y)&&"[object Boolean]"==l(Y)}},1305:xe=>{xe.exports=function K(x){return null===x}},9138:(xe,K,x)=>{var l=x(3337),_=x(2671);xe.exports=function J(Y){return"number"==typeof Y||_(Y)&&"[object Number]"==l(Y)}},5940:xe=>{xe.exports=function K(x){var l=typeof x;return null!=x&&("object"==l||"function"==l)}},2671:xe=>{xe.exports=function K(x){return null!=x&&"object"==typeof x}},7614:(xe,K,x)=>{var l=x(3337),_=x(9519),re=x(2671),te=Function.prototype.toString,ae=Object.prototype.hasOwnProperty,ve=te.call(Object);xe.exports=function $(q){if(!re(q)||"[object Object]"!=l(q))return!1;var le=_(q);if(null===le)return!0;var ue=ae.call(le,"constructor")&&le.constructor;return"function"==typeof ue&&ue instanceof ue&&te.call(ue)==ve}},248:(xe,K,x)=>{var l=x(3337),_=x(1503),re=x(2671);xe.exports=function Y(Z){return"string"==typeof Z||!_(Z)&&re(Z)&&"[object String]"==l(Z)}},4129:(xe,K,x)=>{var l=x(3337),_=x(2671);xe.exports=function J(Y){return"symbol"==typeof Y||_(Y)&&"[object Symbol]"==l(Y)}},4235:xe=>{xe.exports=function K(x){return void 0===x}},7489:function(xe,K,x){var l;xe=x.nmd(xe),function(){var _,Z="Expected a function",ae="__lodash_hash_undefined__",$="__lodash_placeholder__",zt=1/0,rn=9007199254740991,rr=4294967295,vi=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Gn="[object Arguments]",En="[object Array]",Cr="[object Boolean]",_r="[object Date]",qr="[object Error]",pr="[object Function]",Fr="[object GeneratorFunction]",wr="[object Map]",kr="[object Number]",Xn="[object Object]",hi="[object Promise]",Rr="[object RegExp]",pe="[object Set]",me="[object String]",ce="[object Symbol]",z="[object WeakMap]",Pe="[object ArrayBuffer]",De="[object DataView]",Ye="[object Float32Array]",Pt="[object Float64Array]",st="[object Int8Array]",vt="[object Int16Array]",yt="[object Int32Array]",Ut="[object Uint8Array]",Qt="[object Uint8ClampedArray]",bt="[object Uint16Array]",Rt="[object Uint32Array]",Wt=/\b__p \+= '';/g,un=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ht=/&(?:amp|lt|gt|quot|#39);/g,mn=/[&<>"']/g,Wn=RegExp(Ht.source),xn=RegExp(mn.source),Ft=/<%-([\s\S]+?)%>/g,yn=/<%([\s\S]+?)%>/g,Ot=/<%=([\s\S]+?)%>/g,Dn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zt=/^\w*$/,br=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Le=/[\\^$.*+?()[\]{}|]/g,se=RegExp(Le.source),X=/^\s+/,Re=/\s/,Qe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Et=/\{\n\/\* \[wrapped with (.+)\] \*/,It=/,? & /,wt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,Oe=/\\(\\)?/g,jt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qt=/\w*$/,Mn=/^[-+]0x[0-9a-f]+$/i,ke=/^0b[01]+$/i,He=/^\[object .+?Constructor\]$/,Ae=/^0o[0-7]+$/i,pt=/^(?:0|[1-9]\d*)$/,Dt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Tt=/($^)/,At=/['\n\r\u2028\u2029\\]/g,Nt="\\ud800-\\udfff",vn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Pr="\\u2700-\\u27bf",ir="a-z\\xdf-\\xf6\\xf8-\\xff",Nr="A-Z\\xc0-\\xd6\\xd8-\\xde",A="\\ufe0e\\ufe0f",U="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ie="["+Nt+"]",je="["+U+"]",Ue="["+vn+"]",Xe="\\d+",it="["+Pr+"]",dt="["+ir+"]",cn="[^"+Nt+U+Xe+Pr+ir+Nr+"]",tn="\\ud83c[\\udffb-\\udfff]",gr="[^"+Nt+"]",mr="(?:\\ud83c[\\udde6-\\uddff]){2}",Yn="[\\ud800-\\udbff][\\udc00-\\udfff]",sr="["+Nr+"]",Pi="(?:"+dt+"|"+cn+")",ps="(?:"+sr+"|"+cn+")",wo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",bo="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Eo="(?:"+Ue+"|"+tn+")?",Ls="["+A+"]?",Vs=Ls+Eo+"(?:\\u200d(?:"+[gr,mr,Yn].join("|")+")"+Ls+Eo+")*",gs="(?:"+[it,mr,Yn].join("|")+")"+Vs,oo="(?:"+[gr+Ue+"?",Ue,mr,Yn,ie].join("|")+")",ki=RegExp("['\u2019]","g"),$o=RegExp(Ue,"g"),Bs=RegExp(tn+"(?="+tn+")|"+oo+Vs,"g"),ms=RegExp([sr+"?"+dt+"+"+wo+"(?="+[je,sr,"$"].join("|")+")",ps+"+"+bo+"(?="+[je,sr+Pi,"$"].join("|")+")",sr+"?"+Pi+"+"+wo,sr+"+"+bo,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xe,gs].join("|"),"g"),Go=RegExp("[\\u200d"+Nt+vn+A+"]"),qi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Us=["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"],Li=-1,Zn={};Zn[Ye]=Zn[Pt]=Zn[st]=Zn[vt]=Zn[yt]=Zn[Ut]=Zn[Qt]=Zn[bt]=Zn[Rt]=!0,Zn[Gn]=Zn[En]=Zn[Pe]=Zn[Cr]=Zn[De]=Zn[_r]=Zn[qr]=Zn[pr]=Zn[wr]=Zn[kr]=Zn[Xn]=Zn[Rr]=Zn[pe]=Zn[me]=Zn[z]=!1;var Kn={};Kn[Gn]=Kn[En]=Kn[Pe]=Kn[De]=Kn[Cr]=Kn[_r]=Kn[Ye]=Kn[Pt]=Kn[st]=Kn[vt]=Kn[yt]=Kn[wr]=Kn[kr]=Kn[Xn]=Kn[Rr]=Kn[pe]=Kn[me]=Kn[ce]=Kn[Ut]=Kn[Qt]=Kn[bt]=Kn[Rt]=!0,Kn[qr]=Kn[pr]=Kn[z]=!1;var zo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ys=parseFloat,ns=parseInt,vs="object"==typeof global&&global&&global.Object===Object&&global,ao="object"==typeof self&&self&&self.Object===Object&&self,Lr=vs||ao||Function("return this")(),Cs=K&&!K.nodeType&&K,Yr=Cs&&xe&&!xe.nodeType&&xe,Zr=Yr&&Yr.exports===Cs,rs=Zr&&vs.process,ei=function(){try{return Yr&&Yr.require&&Yr.require("util").types||rs&&rs.binding&&rs.binding("util")}catch{}}(),is=ei&&ei.isArrayBuffer,Hs=ei&&ei.isDate,Mo=ei&&ei.isMap,M=ei&&ei.isRegExp,V=ei&&ei.isSet,T=ei&&ei.isTypedArray;function H(Me,Je,qe){switch(qe.length){case 0:return Me.call(Je);case 1:return Me.call(Je,qe[0]);case 2:return Me.call(Je,qe[0],qe[1]);case 3:return Me.call(Je,qe[0],qe[1],qe[2])}return Me.apply(Je,qe)}function ge(Me,Je,qe,$t){for(var An=-1,On=null==Me?0:Me.length;++An<On;){var Dr=Me[An];Je($t,Dr,qe(Dr),Me)}return $t}function Ge(Me,Je){for(var qe=-1,$t=null==Me?0:Me.length;++qe<$t&&!1!==Je(Me[qe],qe,Me););return Me}function ft(Me,Je){for(var qe=null==Me?0:Me.length;qe--&&!1!==Je(Me[qe],qe,Me););return Me}function St(Me,Je){for(var qe=-1,$t=null==Me?0:Me.length;++qe<$t;)if(!Je(Me[qe],qe,Me))return!1;return!0}function Rn(Me,Je){for(var qe=-1,$t=null==Me?0:Me.length,An=0,On=[];++qe<$t;){var Dr=Me[qe];Je(Dr,qe,Me)&&(On[An++]=Dr)}return On}function or(Me,Je){return!(null==Me||!Me.length)&&w(Me,Je,0)>-1}function Ln(Me,Je,qe){for(var $t=-1,An=null==Me?0:Me.length;++$t<An;)if(qe(Je,Me[$t]))return!0;return!1}function Bt(Me,Je){for(var qe=-1,$t=null==Me?0:Me.length,An=Array($t);++qe<$t;)An[qe]=Je(Me[qe],qe,Me);return An}function $n(Me,Je){for(var qe=-1,$t=Je.length,An=Me.length;++qe<$t;)Me[An+qe]=Je[qe];return Me}function er(Me,Je,qe,$t){var An=-1,On=null==Me?0:Me.length;for($t&&On&&(qe=Me[++An]);++An<On;)qe=Je(qe,Me[An],An,Me);return qe}function yr(Me,Je,qe,$t){var An=null==Me?0:Me.length;for($t&&An&&(qe=Me[--An]);An--;)qe=Je(qe,Me[An],An,Me);return qe}function vr(Me,Je){for(var qe=-1,$t=null==Me?0:Me.length;++qe<$t;)if(Je(Me[qe],qe,Me))return!0;return!1}var pi=Er("length");function S(Me,Je,qe){var $t;return qe(Me,function(An,On,Dr){if(Je(An,On,Dr))return $t=On,!1}),$t}function D(Me,Je,qe,$t){for(var An=Me.length,On=qe+($t?1:-1);$t?On--:++On<An;)if(Je(Me[On],On,Me))return On;return-1}function w(Me,Je,qe){return Je==Je?function tu(Me,Je,qe){for(var $t=qe-1,An=Me.length;++$t<An;)if(Me[$t]===Je)return $t;return-1}(Me,Je,qe):D(Me,Ke,qe)}function N(Me,Je,qe,$t){for(var An=qe-1,On=Me.length;++An<On;)if($t(Me[An],Je))return An;return-1}function Ke(Me){return Me!=Me}function nn(Me,Je){var qe=null==Me?0:Me.length;return qe?Oi(Me,Je)/qe:NaN}function Er(Me){return function(Je){return null==Je?_:Je[Me]}}function Vn(Me){return function(Je){return null==Me?_:Me[Je]}}function mi(Me,Je,qe,$t,An){return An(Me,function(On,Dr,Cn){qe=$t?($t=!1,On):Je(qe,On,Dr,Cn)}),qe}function Oi(Me,Je){for(var qe,$t=-1,An=Me.length;++$t<An;){var On=Je(Me[$t]);On!==_&&(qe=qe===_?On:qe+On)}return qe}function bs(Me,Je){for(var qe=-1,$t=Array(Me);++qe<Me;)$t[qe]=Je(qe);return $t}function zn(Me){return Me&&Me.slice(0,js(Me)+1).replace(X,"")}function ti(Me){return function(Je){return Me(Je)}}function Vr(Me,Je){return Bt(Je,function(qe){return Me[qe]})}function Es(Me,Je){return Me.has(Je)}function Ds(Me,Je){for(var qe=-1,$t=Me.length;++qe<$t&&w(Je,Me[qe],0)>-1;);return qe}function Vi(Me,Je){for(var qe=Me.length;qe--&&w(Je,Me[qe],0)>-1;);return qe}function lo(Me,Je){for(var qe=Me.length,$t=0;qe--;)Me[qe]===Je&&++$t;return $t}var fa=Vn({\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"}),ha=Vn({"&":"&","<":"<",">":">",'"':""","'":"'"});function hl(Me){return"\\"+zo[Me]}function ss(Me){return Go.test(Me)}function pa(Me){var Je=-1,qe=Array(Me.size);return Me.forEach(function($t,An){qe[++Je]=[An,$t]}),qe}function as(Me,Je){return function(qe){return Me(Je(qe))}}function oi(Me,Je){for(var qe=-1,$t=Me.length,An=0,On=[];++qe<$t;){var Dr=Me[qe];(Dr===Je||Dr===$)&&(Me[qe]=$,On[An++]=qe)}return On}function Wo(Me){var Je=-1,qe=Array(Me.size);return Me.forEach(function($t){qe[++Je]=$t}),qe}function Zi(Me){return ss(Me)?function ru(Me){for(var Je=Bs.lastIndex=0;Bs.test(Me);)++Je;return Je}(Me):pi(Me)}function bi(Me){return ss(Me)?function To(Me){return Me.match(Bs)||[]}(Me):function ws(Me){return Me.split("")}(Me)}function js(Me){for(var Je=Me.length;Je--&&Re.test(Me.charAt(Je)););return Je}var ga=Vn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Yo=function Me(Je){var r,qe=(Je=null==Je?Lr:Yo.defaults(Lr.Object(),Je,Yo.pick(Lr,Us))).Array,$t=Je.Date,An=Je.Error,On=Je.Function,Dr=Je.Math,Cn=Je.Object,Ha=Je.RegExp,iu=Je.String,Bi=Je.TypeError,ma=qe.prototype,Zo=Cn.prototype,$s=Je["__core-js_shared__"],Gs=On.prototype.toString,Qn=Zo.hasOwnProperty,_a=0,$a=(r=/[^.]+$/.exec($s&&$s.keys&&$s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Ga=Zo.toString,zs=Gs.call(Cn),ya=Lr._,su=Ha("^"+Gs.call(Qn).replace(Le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),va=Zr?Je.Buffer:_,Ei=Je.Symbol,So=Je.Uint8Array,gl=va?va.allocUnsafe:_,Ca=as(Cn.getPrototypeOf,Cn),ml=Cn.create,_l=Zo.propertyIsEnumerable,uo=ma.splice,za=Ei?Ei.isConcatSpreadable:_,co=Ei?Ei.iterator:_,ls=Ei?Ei.toStringTag:_,Po=function(){try{var r=al(Cn,"defineProperty");return r({},"",{}),r}catch{}}(),yl=Je.clearTimeout!==Lr.clearTimeout&&Je.clearTimeout,Oo=$t&&$t.now!==Lr.Date.now&&$t.now,Di=Je.setTimeout!==Lr.setTimeout&&Je.setTimeout,Ms=Dr.ceil,fo=Dr.floor,Ts=Cn.getOwnPropertySymbols,vl=va?va.isBuffer:_,Ws=Je.isFinite,Cl=ma.join,ou=as(Cn.keys,Cn),Ur=Dr.max,Hr=Dr.min,wa=$t.now,Wa=Je.parseInt,xo=Dr.random,qa=ma.reverse,Ss=al(Je,"DataView"),Ao=al(Je,"Map"),Ya=al(Je,"Promise"),Io=al(Je,"Set"),Ko=al(Je,"WeakMap"),Qo=al(Cn,"create"),Za=Ko&&new Ko,qs={},Jo=Pa(Ss),ku=Pa(Ao),au=Pa(Ya),lu=Pa(Io),Ys=Pa(Ko),Xo=Ei?Ei.prototype:_,ho=Xo?Xo.valueOf:_,ea=Xo?Xo.toString:_;function j(r){if(Jr(r)&&!Un(r)&&!(r instanceof d)){if(r instanceof p)return r;if(Qn.call(r,"__wrapped__"))return Yc(r)}return new p(r)}var jr=function(){function r(){}return function(o){if(!Br(o))return{};if(ml)return ml(o);r.prototype=o;var f=new r;return r.prototype=_,f}}();function y(){}function p(r,o){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!o,this.__index__=0,this.__values__=_}function d(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=rr,this.__views__=[]}function Q(r){var o=-1,f=null==r?0:r.length;for(this.clear();++o<f;){var E=r[o];this.set(E[0],E[1])}}function Jn(r){var o=-1,f=null==r?0:r.length;for(this.clear();++o<f;){var E=r[o];this.set(E[0],E[1])}}function ai(r){var o=-1,f=null==r?0:r.length;for(this.clear();++o<f;){var E=r[o];this.set(E[0],E[1])}}function po(r){var o=-1,f=null==r?0:r.length;for(this.__data__=new ai;++o<f;)this.add(r[o])}function Os(r){var o=this.__data__=new Jn(r);this.size=o.size}function Xa(r,o){var f=Un(r),E=!f&&Aa(r),R=!f&&!E&&Ia(r),W=!f&&!E&&!R&&fl(r),fe=f||E||R||W,be=fe?bs(r.length,iu):[],Ie=be.length;for(var ot in r)(o||Qn.call(r,ot))&&(!fe||!("length"==ot||R&&("offset"==ot||"parent"==ot)||W&&("buffer"==ot||"byteLength"==ot||"byteOffset"==ot)||Sa(ot,Ie)))&&be.push(ot);return be}function Gr(r){var o=r.length;return o?r[ds(0,o-1)]:_}function Qd(r,o){return Xu(fs(r),nl(o,0,r.length))}function Bu(r){return Xu(fs(r))}function uu(r,o,f){(f!==_&&!yo(r[o],f)||f===_&&!(o in r))&&Qs(r,o,f)}function el(r,o,f){var E=r[o];(!Qn.call(r,o)||!yo(E,f)||f===_&&!(o in r))&&Qs(r,o,f)}function bl(r,o){for(var f=r.length;f--;)if(yo(r[f][0],o))return f;return-1}function Mc(r,o,f,E){return na(r,function(R,W,fe){o(E,R,f(R),fe)}),E}function Uu(r,o){return r&&no(o,Mi(o),r)}function Qs(r,o,f){"__proto__"==o&&Po?Po(r,o,{configurable:!0,enumerable:!0,value:f,writable:!0}):r[o]=f}function tl(r,o){for(var f=-1,E=o.length,R=qe(E),W=null==r;++f<E;)R[f]=W?_:Ra(r,o[f]);return R}function nl(r,o,f){return r==r&&(f!==_&&(r=r<=f?r:f),o!==_&&(r=r>=o?r:o)),r}function Ai(r,o,f,E,R,W){var fe,be=1&o,Ie=2&o,ot=4&o;if(f&&(fe=R?f(r,E,R,W):f(r)),fe!==_)return fe;if(!Br(r))return r;var at=Un(r);if(at){if(fe=function _p(r){var o=r.length,f=new r.constructor(o);return o&&"string"==typeof r[0]&&Qn.call(r,"index")&&(f.index=r.index,f.input=r.input),f}(r),!be)return fs(r,fe)}else{var ht=$i(r),Lt=ht==pr||ht==Fr;if(Ia(r))return Yu(r,be);if(ht==Xn||ht==Gn||Lt&&!R){if(fe=Ie||Lt?{}:_f(r),!be)return Ie?function di(r,o){return no(r,gf(r),o)}(r,function Tc(r,o){return r&&no(o,hs(o),r)}(fe,r)):function lp(r,o){return no(r,Uc(r),o)}(r,Uu(fe,r))}else{if(!Kn[ht])return R?r:{};fe=function kl(r,o,f){var E=r.constructor;switch(o){case Pe:return nf(r);case Cr:case _r:return new E(+r);case De:return function Qm(r,o){var f=o?nf(r.buffer):r.buffer;return new r.constructor(f,r.byteOffset,r.byteLength)}(r,f);case Ye:case Pt:case st:case vt:case yt:case Ut:case Qt:case bt:case Rt:return sf(r,f);case wr:return new E;case kr:case me:return new E(r);case Rr:return function rf(r){var o=new r.constructor(r.source,qt.exec(r));return o.lastIndex=r.lastIndex,o}(r);case pe:return new E;case ce:return function op(r){return ho?Cn(ho.call(r)):{}}(r)}}(r,ht,be)}}W||(W=new Os);var sn=W.get(r);if(sn)return sn;W.set(r,fe),uh(r)?r.forEach(function(bn){fe.add(Ai(bn,o,f,bn,r,W))}):oh(r)&&r.forEach(function(bn,nr){fe.set(nr,Ai(bn,o,f,nr,r,W))});var qn=at?_:(ot?Ie?Lc:_u:Ie?hs:Mi)(r);return Ge(qn||r,function(bn,nr){qn&&(bn=r[nr=bn]),el(fe,nr,Ai(bn,o,f,nr,r,W))}),fe}function El(r,o,f){var E=f.length;if(null==r)return!E;for(r=Cn(r);E--;){var R=f[E],fe=r[R];if(fe===_&&!(R in r)||!(0,o[R])(fe))return!1}return!0}function Sc(r,o,f){if("function"!=typeof r)throw new Bi(Z);return ul(function(){r.apply(_,f)},o)}function Dl(r,o,f,E){var R=-1,W=or,fe=!0,be=r.length,Ie=[],ot=o.length;if(!be)return Ie;f&&(o=Bt(o,ti(f))),E?(W=Ln,fe=!1):o.length>=200&&(W=Es,fe=!1,o=new po(o));e:for(;++R<be;){var at=r[R],ht=null==f?at:f(at);if(at=E||0!==at?at:0,fe&&ht==ht){for(var Lt=ot;Lt--;)if(o[Lt]===ht)continue e;Ie.push(at)}else W(o,ht,E)||Ie.push(at)}return Ie}j.templateSettings={escape:Ft,evaluate:yn,interpolate:Ot,variable:"",imports:{_:j}},(j.prototype=y.prototype).constructor=j,(p.prototype=jr(y.prototype)).constructor=p,(d.prototype=jr(y.prototype)).constructor=d,Q.prototype.clear=function _e(){this.__data__=Qo?Qo(null):{},this.size=0},Q.prototype.delete=function nt(r){var o=this.has(r)&&delete this.__data__[r];return this.size-=o?1:0,o},Q.prototype.get=function Yt(r){var o=this.__data__;if(Qo){var f=o[r];return f===ae?_:f}return Qn.call(o,r)?o[r]:_},Q.prototype.has=function dr(r){var o=this.__data__;return Qo?o[r]!==_:Qn.call(o,r)},Q.prototype.set=function pn(r,o){var f=this.__data__;return this.size+=this.has(r)?0:1,f[r]=Qo&&o===_?ae:o,this},Jn.prototype.clear=function xr(){this.__data__=[],this.size=0},Jn.prototype.delete=function Zs(r){var o=this.__data__,f=bl(o,r);return!(f<0||(f==o.length-1?o.pop():uo.call(o,f,1),--this.size,0))},Jn.prototype.get=function Ka(r){var o=this.__data__,f=bl(o,r);return f<0?_:o[f][1]},Jn.prototype.has=function $r(r){return bl(this.__data__,r)>-1},Jn.prototype.set=function Qa(r,o){var f=this.__data__,E=bl(f,r);return E<0?(++this.size,f.push([r,o])):f[E][1]=o,this},ai.prototype.clear=function Ec(){this.size=0,this.__data__={hash:new Q,map:new(Ao||Jn),string:new Q}},ai.prototype.delete=function wl(r){var o=Qu(this,r).delete(r);return this.size-=o?1:0,o},ai.prototype.get=function us(r){return Qu(this,r).get(r)},ai.prototype.has=function Ks(r){return Qu(this,r).has(r)},ai.prototype.set=function Dc(r,o){var f=Qu(this,r),E=f.size;return f.set(r,o),this.size+=f.size==E?0:1,this},po.prototype.add=po.prototype.push=function Ps(r){return this.__data__.set(r,ae),this},po.prototype.has=function Lu(r){return this.__data__.has(r)},Os.prototype.clear=function ta(){this.__data__=new Jn,this.size=0},Os.prototype.delete=function Ja(r){var o=this.__data__,f=o.delete(r);return this.size=o.size,f},Os.prototype.get=function Kd(r){return this.__data__.get(r)},Os.prototype.has=function Vu(r){return this.__data__.has(r)},Os.prototype.set=function xi(r,o){var f=this.__data__;if(f instanceof Jn){var E=f.__data__;if(!Ao||E.length<199)return E.push([r,o]),this.size=++f.size,this;f=this.__data__=new ai(E)}return f.set(r,o),this.size=f.size,this};var na=Zu(xs),Ml=Zu(ba,!0);function rl(r,o){var f=!0;return na(r,function(E,R,W){return f=!!o(E,R,W)}),f}function go(r,o,f){for(var E=-1,R=r.length;++E<R;){var W=r[E],fe=o(W);if(null!=fe&&(be===_?fe==fe&&!Xi(fe):f(fe,be)))var be=fe,Ie=W}return Ie}function cu(r,o){var f=[];return na(r,function(E,R,W){o(E,R,W)&&f.push(E)}),f}function ar(r,o,f,E,R){var W=-1,fe=r.length;for(f||(f=Jm),R||(R=[]);++W<fe;){var be=r[W];o>0&&f(be)?o>1?ar(be,o-1,f,E,R):$n(R,be):E||(R[R.length]=be)}return R}var Tl=Rc(),$u=Rc(!0);function xs(r,o){return r&&Tl(r,o,Mi)}function ba(r,o){return r&&$u(r,o,Mi)}function du(r,o){return Rn(o,function(f){return Vo(r[f])})}function m(r,o){for(var f=0,E=(o=sl(o,r)).length;null!=r&&f<E;)r=r[Lo(o[f++])];return f&&f==E?r:_}function c(r,o,f){var E=o(r);return Un(r)?E:$n(E,f(r))}function a(r){return null==r?r===_?"[object Undefined]":"[object Null]":ls&&ls in Cn(r)?function pf(r){var o=Qn.call(r,ls),f=r[ls];try{r[ls]=_;var E=!0}catch{}var R=Ga.call(r);return E&&(o?r[ls]=f:delete r[ls]),R}(r):function Cf(r){return Ga.call(r)}(r)}function g(r,o){return r>o}function O(r,o){return null!=r&&Qn.call(r,o)}function k(r,o){return null!=r&&o in Cn(r)}function he(r,o,f){for(var E=f?Ln:or,R=r[0].length,W=r.length,fe=W,be=qe(W),Ie=1/0,ot=[];fe--;){var at=r[fe];fe&&o&&(at=Bt(at,ti(o))),Ie=Hr(at.length,Ie),be[fe]=!f&&(o||R>=120&&at.length>=120)?new po(fe&&at):_}at=r[0];var ht=-1,Lt=be[0];e:for(;++ht<R&&ot.length<Ie;){var sn=at[ht],wn=o?o(sn):sn;if(sn=f||0!==sn?sn:0,!(Lt?Es(Lt,wn):E(ot,wn,f))){for(fe=W;--fe;){var qn=be[fe];if(!(qn?Es(qn,wn):E(r[fe],wn,f)))continue e}Lt&&Lt.push(wn),ot.push(sn)}}return ot}function Ze(r,o,f){var E=null==(r=ll(r,o=sl(o,r)))?r:r[Lo(Is(o))];return null==E?_:H(E,r,f)}function Vt(r){return Jr(r)&&a(r)==Gn}function In(r,o,f,E,R){return r===o||(null==r||null==o||!Jr(r)&&!Jr(o)?r!=r&&o!=o:function fn(r,o,f,E,R,W){var fe=Un(r),be=Un(o),Ie=fe?En:$i(r),ot=be?En:$i(o),at=(Ie=Ie==Gn?Xn:Ie)==Xn,ht=(ot=ot==Gn?Xn:ot)==Xn,Lt=Ie==ot;if(Lt&&Ia(r)){if(!Ia(o))return!1;fe=!0,at=!1}if(Lt&&!at)return W||(W=new Os),fe||fl(r)?hf(r,o,f,E,R,W):function kc(r,o,f,E,R,W,fe){switch(f){case De:if(r.byteLength!=o.byteLength||r.byteOffset!=o.byteOffset)return!1;r=r.buffer,o=o.buffer;case Pe:return!(r.byteLength!=o.byteLength||!W(new So(r),new So(o)));case Cr:case _r:case kr:return yo(+r,+o);case qr:return r.name==o.name&&r.message==o.message;case Rr:case me:return r==o+"";case wr:var be=pa;case pe:if(be||(be=Wo),r.size!=o.size&&!(1&E))return!1;var ot=fe.get(r);if(ot)return ot==o;E|=2,fe.set(r,o);var at=hf(be(r),be(o),E,R,W,fe);return fe.delete(r),at;case ce:if(ho)return ho.call(r)==ho.call(o)}return!1}(r,o,Ie,f,E,R,W);if(!(1&f)){var sn=at&&Qn.call(r,"__wrapped__"),wn=ht&&Qn.call(o,"__wrapped__");if(sn||wn){var qn=sn?r.value():r,bn=wn?o.value():o;return W||(W=new Os),R(qn,bn,f,E,W)}}return!!Lt&&(W||(W=new Os),function pp(r,o,f,E,R,W){var fe=1&f,be=_u(r),Ie=be.length;if(Ie!=_u(o).length&&!fe)return!1;for(var ht=Ie;ht--;){var Lt=be[ht];if(!(fe?Lt in o:Qn.call(o,Lt)))return!1}var sn=W.get(r),wn=W.get(o);if(sn&&wn)return sn==o&&wn==r;var qn=!0;W.set(r,o),W.set(o,r);for(var bn=fe;++ht<Ie;){var nr=r[Lt=be[ht]],fr=o[Lt];if(E)var Ri=fe?E(fr,nr,Lt,o,r,W):E(nr,fr,Lt,r,o,W);if(!(Ri===_?nr===fr||R(nr,fr,f,E,W):Ri)){qn=!1;break}bn||(bn="constructor"==Lt)}if(qn&&!bn){var Wi=r.constructor,es=o.constructor;Wi!=es&&"constructor"in r&&"constructor"in o&&!("function"==typeof Wi&&Wi instanceof Wi&&"function"==typeof es&&es instanceof es)&&(qn=!1)}return W.delete(r),W.delete(o),qn}(r,o,f,E,R,W))}(r,o,f,E,In,R))}function Mr(r,o,f,E){var R=f.length,W=R,fe=!E;if(null==r)return!W;for(r=Cn(r);R--;){var be=f[R];if(fe&&be[2]?be[1]!==r[be[0]]:!(be[0]in r))return!1}for(;++R<W;){var Ie=(be=f[R])[0],ot=r[Ie],at=be[1];if(fe&&be[2]){if(ot===_&&!(Ie in r))return!1}else{var ht=new Os;if(E)var Lt=E(ot,at,Ie,r,o,ht);if(!(Lt===_?In(at,ot,3,E,ht):Lt))return!1}}return!0}function zr(r){return!(!Br(r)||function Hc(r){return!!$a&&$a in r}(r))&&(Vo(r)?su:He).test(Pa(r))}function ra(r){return"function"==typeof r?r:null==r?yi:"object"==typeof r?Un(r)?fu(r[0],r[1]):Js(r):Nh(r)}function cs(r){if(!Ll(r))return ou(r);var o=[];for(var f in Cn(r))Qn.call(r,f)&&"constructor"!=f&&o.push(f);return o}function Ki(r,o){return r<o}function Ii(r,o){var f=-1,E=zi(r)?qe(r.length):[];return na(r,function(R,W,fe){E[++f]=o(R,W,fe)}),E}function Js(r){var o=Bc(r);return 1==o.length&&o[0][2]?jc(o[0][0],o[0][1]):function(f){return f===r||Mr(f,r,o)}}function fu(r,o){return yf(r)&&Vl(o)?jc(Lo(r),o):function(f){var E=Ra(f,r);return E===_&&E===o?Td(f,r):In(o,E,3)}}function ia(r,o,f,E,R){r!==o&&Tl(o,function(W,fe){if(R||(R=new Os),Br(W))!function Xs(r,o,f,E,R,W,fe){var be=Ju(r,f),Ie=Ju(o,f),ot=fe.get(Ie);if(ot)uu(r,f,ot);else{var at=W?W(be,Ie,f+"",r,o,fe):_,ht=at===_;if(ht){var Lt=Un(Ie),sn=!Lt&&Ia(Ie),wn=!Lt&&!sn&&fl(Ie);at=Ie,Lt||sn||wn?Un(be)?at=be:Qr(be)?at=fs(be):sn?(ht=!1,at=Yu(Ie,!0)):wn?(ht=!1,at=sf(Ie,!0)):at=[]:Mu(Ie)||Aa(Ie)?(at=be,Aa(be)?at=Uo(be):(!Br(be)||Vo(be))&&(at=_f(Ie))):ht=!1}ht&&(fe.set(Ie,at),R(at,Ie,E,W,fe),fe.delete(Ie)),uu(r,f,at)}}(r,o,fe,f,ia,E,R);else{var be=E?E(Ju(r,fe),W,fe+"",r,o,R):_;be===_&&(be=W),uu(r,fe,be)}},hs)}function il(r,o){var f=r.length;if(f)return Sa(o+=o<0?f:0,f)?r[o]:_}function Sl(r,o,f){o=o.length?Bt(o,function(W){return Un(W)?function(fe){return m(fe,1===W.length?W[0]:W)}:W}):[yi];var E=-1;return o=Bt(o,ti(Sn())),function Yi(Me,Je){var qe=Me.length;for(Me.sort(Je);qe--;)Me[qe]=Me[qe].value;return Me}(Ii(r,function(W,fe,be){return{criteria:Bt(o,function(ot){return ot(W)}),index:++E,value:W}}),function(W,fe){return function ap(r,o,f){for(var E=-1,R=r.criteria,W=o.criteria,fe=R.length,be=f.length;++E<fe;){var Ie=af(R[E],W[E]);if(Ie)return E>=be?Ie:Ie*("desc"==f[E]?-1:1)}return r.index-o.index}(W,fe,f)})}function hn(r,o,f){for(var E=-1,R=o.length,W={};++E<R;){var fe=o[E],be=m(r,fe);f(be,fe)&&ci(W,sl(fe,r),be)}return W}function tr(r,o,f,E){var R=E?N:w,W=-1,fe=o.length,be=r;for(r===o&&(o=fs(o)),f&&(be=Bt(r,ti(f)));++W<fe;)for(var Ie=0,ot=o[W],at=f?f(ot):ot;(Ie=R(be,at,Ie,E))>-1;)be!==r&&uo.call(be,Ie,1),uo.call(r,Ie,1);return r}function ni(r,o){for(var f=r?o.length:0,E=f-1;f--;){var R=o[f];if(f==E||R!==W){var W=R;Sa(R)?uo.call(r,R,1):Pl(r,R)}}return r}function ds(r,o){return r+fo(xo()*(o-r+1))}function eo(r,o){var f="";if(!r||o<1||o>rn)return f;do{o%2&&(f+=r),(o=fo(o/2))&&(r+=r)}while(o);return f}function Gt(r,o){return Wc(vp(r,o,yi),r+"")}function Ea(r){return Gr(Su(r))}function Pc(r,o){var f=Su(r);return Xu(f,nl(o,0,f.length))}function ci(r,o,f,E){if(!Br(r))return r;for(var R=-1,W=(o=sl(o,r)).length,fe=W-1,be=r;null!=be&&++R<W;){var Ie=Lo(o[R]),ot=f;if("__proto__"===Ie||"constructor"===Ie||"prototype"===Ie)return r;if(R!=fe){var at=be[Ie];(ot=E?E(at,Ie,be):_)===_&&(ot=Br(at)?at:Sa(o[R+1])?[]:{})}el(be,Ie,ot),be=be[Ie]}return r}var sa=Za?function(r,o){return Za.set(r,o),r}:yi,oa=Po?function(r,o){return Po(r,"toString",{configurable:!0,enumerable:!1,value:Fa(o),writable:!0})}:yi;function Da(r){return Xu(Su(r))}function Ji(r,o,f){var E=-1,R=r.length;o<0&&(o=-o>R?0:R+o),(f=f>R?R:f)<0&&(f+=R),R=o>f?0:f-o>>>0,o>>>=0;for(var W=qe(R);++E<R;)W[E]=r[E+o];return W}function Jd(r,o){var f;return na(r,function(E,R,W){return!(f=o(E,R,W))}),!!f}function Gu(r,o,f){var E=0,R=null==r?E:r.length;if("number"==typeof o&&o==o&&R<=2147483647){for(;E<R;){var W=E+R>>>1,fe=r[W];null!==fe&&!Xi(fe)&&(f?fe<=o:fe<o)?E=W+1:R=W}return R}return Oc(r,o,yi,f)}function Oc(r,o,f,E){var R=0,W=null==r?0:r.length;if(0===W)return 0;for(var fe=(o=f(o))!=o,be=null===o,Ie=Xi(o),ot=o===_;R<W;){var at=fo((R+W)/2),ht=f(r[at]),Lt=ht!==_,sn=null===ht,wn=ht==ht,qn=Xi(ht);if(fe)var bn=E||wn;else bn=ot?wn&&(E||Lt):be?wn&&Lt&&(E||!sn):Ie?wn&&Lt&&!sn&&(E||!qn):!sn&&!qn&&(E?ht<=o:ht<o);bn?R=at+1:W=at}return Hr(W,4294967294)}function Xd(r,o){for(var f=-1,E=r.length,R=0,W=[];++f<E;){var fe=r[f],be=o?o(fe):fe;if(!f||!yo(be,Ie)){var Ie=be;W[R++]=0===fe?0:fe}}return W}function ef(r){return"number"==typeof r?r:Xi(r)?NaN:+r}function to(r){if("string"==typeof r)return r;if(Un(r))return Bt(r,to)+"";if(Xi(r))return ea?ea.call(r):"";var o=r+"";return"0"==o&&1/r==-zt?"-0":o}function Ma(r,o,f){var E=-1,R=or,W=r.length,fe=!0,be=[],Ie=be;if(f)fe=!1,R=Ln;else if(W>=200){var ot=o?null:cf(r);if(ot)return Wo(ot);fe=!1,R=Es,Ie=new po}else Ie=o?[]:be;e:for(;++E<W;){var at=r[E],ht=o?o(at):at;if(at=f||0!==at?at:0,fe&&ht==ht){for(var Lt=Ie.length;Lt--;)if(Ie[Lt]===ht)continue e;o&&Ie.push(ht),be.push(at)}else R(Ie,ht,f)||(Ie!==be&&Ie.push(ht),be.push(at))}return be}function Pl(r,o){return null==(r=ll(r,o=sl(o,r)))||delete r[Lo(Is(o))]}function xc(r,o,f,E){return ci(r,o,f(m(r,o)),E)}function As(r,o,f,E){for(var R=r.length,W=E?R:-1;(E?W--:++W<R)&&o(r[W],W,r););return f?Ji(r,E?0:W,E?W+1:R):Ji(r,E?W+1:0,E?R:W)}function Ol(r,o){var f=r;return f instanceof d&&(f=f.value()),er(o,function(E,R){return R.func.apply(R.thisArg,$n([E],R.args))},f)}function zu(r,o,f){var E=r.length;if(E<2)return E?Ma(r[0]):[];for(var R=-1,W=qe(E);++R<E;)for(var fe=r[R],be=-1;++be<E;)be!=R&&(W[R]=Dl(W[R]||fe,r[be],o,f));return Ma(ar(W,1),o,f)}function Ac(r,o,f){for(var E=-1,R=r.length,W=o.length,fe={};++E<R;)f(fe,r[E],E<W?o[E]:_);return fe}function Wu(r){return Qr(r)?r:[]}function tf(r){return"function"==typeof r?r:yi}function sl(r,o){return Un(r)?r:yf(r,o)?[r]:Df(Tr(r))}var Km=Gt;function Ro(r,o,f){var E=r.length;return f=f===_?E:f,!o&&f>=E?r:Ji(r,o,f)}var qu=yl||function(r){return Lr.clearTimeout(r)};function Yu(r,o){if(o)return r.slice();var f=r.length,E=gl?gl(f):new r.constructor(f);return r.copy(E),E}function nf(r){var o=new r.constructor(r.byteLength);return new So(o).set(new So(r)),o}function sf(r,o){var f=o?nf(r.buffer):r.buffer;return new r.constructor(f,r.byteOffset,r.length)}function af(r,o){if(r!==o){var f=r!==_,E=null===r,R=r==r,W=Xi(r),fe=o!==_,be=null===o,Ie=o==o,ot=Xi(o);if(!be&&!ot&&!W&&r>o||W&&fe&&Ie&&!be&&!ot||E&&fe&&Ie||!f&&Ie||!R)return 1;if(!E&&!W&&!ot&&r<o||ot&&f&&R&&!E&&!W||be&&f&&R||!fe&&R||!Ie)return-1}return 0}function Ic(r,o,f,E){for(var R=-1,W=r.length,fe=f.length,be=-1,Ie=o.length,ot=Ur(W-fe,0),at=qe(Ie+ot),ht=!E;++be<Ie;)at[be]=o[be];for(;++R<fe;)(ht||R<W)&&(at[f[R]]=r[R]);for(;ot--;)at[be++]=r[R++];return at}function hu(r,o,f,E){for(var R=-1,W=r.length,fe=-1,be=f.length,Ie=-1,ot=o.length,at=Ur(W-be,0),ht=qe(at+ot),Lt=!E;++R<at;)ht[R]=r[R];for(var sn=R;++Ie<ot;)ht[sn+Ie]=o[Ie];for(;++fe<be;)(Lt||R<W)&&(ht[sn+f[fe]]=r[R++]);return ht}function fs(r,o){var f=-1,E=r.length;for(o||(o=qe(E));++f<E;)o[f]=r[f];return o}function no(r,o,f,E){var R=!f;f||(f={});for(var W=-1,fe=o.length;++W<fe;){var be=o[W],Ie=E?E(f[be],r[be],be,f,r):_;Ie===_&&(Ie=r[be]),R?Qs(f,be,Ie):el(f,be,Ie)}return f}function pu(r,o){return function(f,E){var R=Un(f)?ge:Mc,W=o?o():{};return R(f,r,Sn(E,2),W)}}function xl(r){return Gt(function(o,f){var E=-1,R=f.length,W=R>1?f[R-1]:_,fe=R>2?f[2]:_;for(W=r.length>3&&"function"==typeof W?(R--,W):_,fe&&Gi(f[0],f[1],fe)&&(W=R<3?_:W,R=1),o=Cn(o);++E<R;){var be=f[E];be&&r(o,be,E,W)}return o})}function Zu(r,o){return function(f,E){if(null==f)return f;if(!zi(f))return r(f,E);for(var R=f.length,W=o?R:-1,fe=Cn(f);(o?W--:++W<R)&&!1!==E(fe[W],W,fe););return f}}function Rc(r){return function(o,f,E){for(var R=-1,W=Cn(o),fe=E(o),be=fe.length;be--;){var Ie=fe[r?be:++R];if(!1===f(W[Ie],Ie,W))break}return o}}function lf(r){return function(o){var f=ss(o=Tr(o))?bi(o):_,E=f?f[0]:o.charAt(0),R=f?Ro(f,1).join(""):o.slice(1);return E[r]()+R}}function Al(r){return function(o){return er(Na(Dg(o).replace(ki,"")),r,"")}}function gu(r){return function(){var o=arguments;switch(o.length){case 0:return new r;case 1:return new r(o[0]);case 2:return new r(o[0],o[1]);case 3:return new r(o[0],o[1],o[2]);case 4:return new r(o[0],o[1],o[2],o[3]);case 5:return new r(o[0],o[1],o[2],o[3],o[4]);case 6:return new r(o[0],o[1],o[2],o[3],o[4],o[5]);case 7:return new r(o[0],o[1],o[2],o[3],o[4],o[5],o[6])}var f=jr(r.prototype),E=r.apply(f,o);return Br(E)?E:f}}function dp(r){return function(o,f,E){var R=Cn(o);if(!zi(o)){var W=Sn(f,3);o=Mi(o),f=function(be){return W(R[be],be,R)}}var fe=r(o,f,E);return fe>-1?R[W?o[fe]:fe]:_}}function fp(r){return aa(function(o){var f=o.length,E=f,R=p.prototype.thru;for(r&&o.reverse();E--;){var W=o[E];if("function"!=typeof W)throw new Bi(Z);if(R&&!fe&&"wrapper"==ol(W))var fe=new p([],!0)}for(E=fe?E:f;++E<f;){var be=ol(W=o[E]),Ie="wrapper"==be?Vc(W):_;fe=Ie&&yu(Ie[0])&&424==Ie[1]&&!Ie[4].length&&1==Ie[9]?fe[ol(Ie[0])].apply(fe,Ie[3]):1==W.length&&yu(W)?fe[be]():fe.thru(W)}return function(){var ot=arguments,at=ot[0];if(fe&&1==ot.length&&Un(at))return fe.plant(at).value();for(var ht=0,Lt=f?o[ht].apply(this,ot):at;++ht<f;)Lt=o[ht].call(this,Lt);return Lt}})}function Ta(r,o,f,E,R,W,fe,be,Ie,ot){var at=128&o,ht=1&o,Lt=2&o,sn=24&o,wn=512&o,qn=Lt?_:gu(r);return function bn(){for(var nr=arguments.length,fr=qe(nr),Ri=nr;Ri--;)fr[Ri]=arguments[Ri];if(sn)var Wi=Fl(bn),es=lo(fr,Wi);if(E&&(fr=Ic(fr,E,R,sn)),W&&(fr=hu(fr,W,fe,sn)),nr-=es,sn&&nr<ot){var Wr=oi(fr,Wi);return uf(r,o,Ta,bn.placeholder,f,fr,Wr,be,Ie,ot-nr)}var vo=ht?f:this,so=Lt?vo[r]:r;return nr=fr.length,be?fr=zc(fr,be):wn&&nr>1&&fr.reverse(),at&&Ie<nr&&(fr.length=Ie),this&&this!==Lr&&this instanceof bn&&(so=qn||gu(so)),so.apply(vo,fr)}}function Hi(r,o){return function(f,E){return function Te(r,o,f,E){return xs(r,function(R,W,fe){o(E,f(R),W,fe)}),E}(f,r,o(E),{})}}function Il(r,o){return function(f,E){var R;if(f===_&&E===_)return o;if(f!==_&&(R=f),E!==_){if(R===_)return E;"string"==typeof f||"string"==typeof E?(f=to(f),E=to(E)):(f=ef(f),E=ef(E)),R=r(f,E)}return R}}function Ku(r){return aa(function(o){return o=Bt(o,ti(Sn())),Gt(function(f){var E=this;return r(o,function(R){return H(R,E,f)})})})}function mu(r,o){var f=(o=o===_?" ":to(o)).length;if(f<2)return f?eo(o,r):o;var E=eo(o,Ms(r/Zi(o)));return ss(o)?Ro(bi(E),0,r).join(""):E.slice(0,r)}function Rl(r){return function(o,f,E){return E&&"number"!=typeof E&&Gi(o,f,E)&&(f=E=_),o=Bo(o),f===_?(f=o,o=0):f=Bo(f),function Qi(r,o,f,E){for(var R=-1,W=Ur(Ms((o-r)/(f||1)),0),fe=qe(W);W--;)fe[E?W:++R]=r,r+=f;return fe}(o,f,E=E===_?o<f?1:-1:Bo(E),r)}}function Nl(r){return function(o,f){return"string"==typeof o&&"string"==typeof f||(o=Fs(o),f=Fs(f)),r(o,f)}}function uf(r,o,f,E,R,W,fe,be,Ie,ot){var at=8&o;o|=at?32:64,4&(o&=~(at?64:32))||(o&=-4);var qn=[r,o,R,at?W:_,at?fe:_,at?_:W,at?_:fe,be,Ie,ot],bn=f.apply(_,qn);return yu(r)&&wf(bn,qn),bn.placeholder=E,bf(bn,r,o)}function Nc(r){var o=Dr[r];return function(f,E){if(f=Fs(f),(E=null==E?0:Hr(Hn(E),292))&&Ws(f)){var R=(Tr(f)+"e").split("e");return+((R=(Tr(o(R[0]+"e"+(+R[1]+E)))+"e").split("e"))[0]+"e"+(+R[1]-E))}return o(f)}}var cf=Io&&1/Wo(new Io([,-0]))[1]==zt?function(r){return new Io(r)}:pc;function df(r){return function(o){var f=$i(o);return f==wr?pa(o):f==pe?function qo(Me){var Je=-1,qe=Array(Me.size);return Me.forEach(function($t){qe[++Je]=[$t,$t]}),qe}(o):function ut(Me,Je){return Bt(Je,function(qe){return[qe,Me[qe]]})}(o,r(o))}}function No(r,o,f,E,R,W,fe,be){var Ie=2&o;if(!Ie&&"function"!=typeof r)throw new Bi(Z);var ot=E?E.length:0;if(ot||(o&=-97,E=R=_),fe=fe===_?fe:Ur(Hn(fe),0),be=be===_?be:Hn(be),ot-=R?R.length:0,64&o){var at=E,ht=R;E=R=_}var Lt=Ie?_:Vc(r),sn=[r,o,f,E,R,at,ht,W,fe,be];if(Lt&&function $c(r,o){var f=r[1],E=o[1],R=f|E;if(!(R<131||(128==E&&8==f||128==E&&256==f&&r[7].length<=o[8]||384==E&&o[7].length<=o[8]&&8==f)))return r;1&E&&(r[2]=o[2],R|=1&f?0:4);var be=o[3];if(be){var Ie=r[3];r[3]=Ie?Ic(Ie,be,o[4]):be,r[4]=Ie?oi(r[3],$):o[4]}(be=o[5])&&(r[5]=(Ie=r[5])?hu(Ie,be,o[6]):be,r[6]=Ie?oi(r[5],$):o[6]),(be=o[7])&&(r[7]=be),128&E&&(r[8]=null==r[8]?o[8]:Hr(r[8],o[8])),null==r[9]&&(r[9]=o[9]),r[0]=o[0],r[1]=R}(sn,Lt),r=sn[0],o=sn[1],f=sn[2],E=sn[3],R=sn[4],!(be=sn[9]=sn[9]===_?Ie?0:r.length:Ur(sn[9]-ot,0))&&24&o&&(o&=-25),o&&1!=o)wn=8==o||16==o?function cp(r,o,f){var E=gu(r);return function R(){for(var W=arguments.length,fe=qe(W),be=W,Ie=Fl(R);be--;)fe[be]=arguments[be];var ot=W<3&&fe[0]!==Ie&&fe[W-1]!==Ie?[]:oi(fe,Ie);return(W-=ot.length)<f?uf(r,o,Ta,R.placeholder,_,fe,ot,_,_,f-W):H(this&&this!==Lr&&this instanceof R?E:r,this,fe)}}(r,o,be):32!=o&&33!=o||R.length?Ta.apply(_,sn):function ji(r,o,f,E){var R=1&o,W=gu(r);return function fe(){for(var be=-1,Ie=arguments.length,ot=-1,at=E.length,ht=qe(at+Ie),Lt=this&&this!==Lr&&this instanceof fe?W:r;++ot<at;)ht[ot]=E[ot];for(;Ie--;)ht[ot++]=arguments[++be];return H(Lt,R?f:this,ht)}}(r,o,f,E);else var wn=function up(r,o,f){var E=1&o,R=gu(r);return function W(){return(this&&this!==Lr&&this instanceof W?R:r).apply(E?f:this,arguments)}}(r,o,f);return bf((Lt?sa:wf)(wn,sn),r,o)}function ff(r,o,f,E){return r===_||yo(r,Zo[f])&&!Qn.call(E,f)?o:r}function Fc(r,o,f,E,R,W){return Br(r)&&Br(o)&&(W.set(o,r),ia(r,o,_,Fc,W),W.delete(o)),r}function hp(r){return Mu(r)?_:r}function hf(r,o,f,E,R,W){var fe=1&f,be=r.length,Ie=o.length;if(be!=Ie&&!(fe&&Ie>be))return!1;var ot=W.get(r),at=W.get(o);if(ot&&at)return ot==o&&at==r;var ht=-1,Lt=!0,sn=2&f?new po:_;for(W.set(r,o),W.set(o,r);++ht<be;){var wn=r[ht],qn=o[ht];if(E)var bn=fe?E(qn,wn,ht,o,r,W):E(wn,qn,ht,r,o,W);if(bn!==_){if(bn)continue;Lt=!1;break}if(sn){if(!vr(o,function(nr,fr){if(!Es(sn,fr)&&(wn===nr||R(wn,nr,f,E,W)))return sn.push(fr)})){Lt=!1;break}}else if(wn!==qn&&!R(wn,qn,f,E,W)){Lt=!1;break}}return W.delete(r),W.delete(o),Lt}function aa(r){return Wc(vp(r,_,Jc),r+"")}function _u(r){return c(r,Mi,Uc)}function Lc(r){return c(r,hs,gf)}var Vc=Za?function(r){return Za.get(r)}:pc;function ol(r){for(var o=r.name+"",f=qs[o],E=Qn.call(qs,o)?f.length:0;E--;){var R=f[E],W=R.func;if(null==W||W==r)return R.name}return o}function Fl(r){return(Qn.call(j,"placeholder")?j:r).placeholder}function Sn(){var r=j.iteratee||ka;return r=r===ka?ra:r,arguments.length?r(arguments[0],arguments[1]):r}function Qu(r,o){var f=r.__data__;return function ko(r){var o=typeof r;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r}(o)?f["string"==typeof o?"string":"hash"]:f.map}function Bc(r){for(var o=Mi(r),f=o.length;f--;){var E=o[f],R=r[E];o[f]=[E,R,Vl(R)]}return o}function al(r,o){var f=function Fu(Me,Je){return null==Me?_:Me[Je]}(r,o);return zr(f)?f:_}var Uc=Ts?function(r){return null==r?[]:(r=Cn(r),Rn(Ts(r),function(o){return _l.call(r,o)}))}:gc,gf=Ts?function(r){for(var o=[];r;)$n(o,Uc(r)),r=Ca(r);return o}:gc,$i=a;function mf(r,o,f){for(var E=-1,R=(o=sl(o,r)).length,W=!1;++E<R;){var fe=Lo(o[E]);if(!(W=null!=r&&f(r,fe)))break;r=r[fe]}return W||++E!=R?W:!!(R=null==r?0:r.length)&&Ns(R)&&Sa(fe,R)&&(Un(r)||Aa(r))}function _f(r){return"function"!=typeof r.constructor||Ll(r)?{}:jr(Ca(r))}function Jm(r){return Un(r)||Aa(r)||!!(za&&r&&r[za])}function Sa(r,o){var f=typeof r;return!!(o=o??rn)&&("number"==f||"symbol"!=f&&pt.test(r))&&r>-1&&r%1==0&&r<o}function Gi(r,o,f){if(!Br(f))return!1;var E=typeof o;return!!("number"==E?zi(f)&&Sa(o,f.length):"string"==E&&o in f)&&yo(f[o],r)}function yf(r,o){if(Un(r))return!1;var f=typeof r;return!("number"!=f&&"symbol"!=f&&"boolean"!=f&&null!=r&&!Xi(r))||Zt.test(r)||!Dn.test(r)||null!=o&&r in Cn(o)}function yu(r){var o=ol(r),f=j[o];if("function"!=typeof f||!(o in d.prototype))return!1;if(r===f)return!0;var E=Vc(f);return!!E&&r===E[0]}(Ss&&$i(new Ss(new ArrayBuffer(1)))!=De||Ao&&$i(new Ao)!=wr||Ya&&$i(Ya.resolve())!=hi||Io&&$i(new Io)!=pe||Ko&&$i(new Ko)!=z)&&($i=function(r){var o=a(r),f=o==Xn?r.constructor:_,E=f?Pa(f):"";if(E)switch(E){case Jo:return De;case ku:return wr;case au:return hi;case lu:return pe;case Ys:return z}return o});var yp=$s?Vo:Fd;function Ll(r){var o=r&&r.constructor;return r===("function"==typeof o&&o.prototype||Zo)}function Vl(r){return r==r&&!Br(r)}function jc(r,o){return function(f){return null!=f&&f[r]===o&&(o!==_||r in Cn(f))}}function vp(r,o,f){return o=Ur(o===_?r.length-1:o,0),function(){for(var E=arguments,R=-1,W=Ur(E.length-o,0),fe=qe(W);++R<W;)fe[R]=E[o+R];R=-1;for(var be=qe(o+1);++R<o;)be[R]=E[R];return be[o]=f(fe),H(r,this,be)}}function ll(r,o){return o.length<2?r:m(r,Ji(o,0,-1))}function zc(r,o){for(var f=r.length,E=Hr(o.length,f),R=fs(r);E--;){var W=o[E];r[E]=Sa(W,f)?R[W]:_}return r}function Ju(r,o){if(("constructor"!==o||"function"!=typeof r[o])&&"__proto__"!=o)return r[o]}var wf=Ef(sa),ul=Di||function(r,o){return Lr.setTimeout(r,o)},Wc=Ef(oa);function bf(r,o,f){var E=o+"";return Wc(r,function Fo(r,o){var f=o.length;if(!f)return r;var E=f-1;return o[E]=(f>1?"& ":"")+o[E],o=o.join(f>2?", ":" "),r.replace(Qe,"{\n/* [wrapped with "+o+"] */\n")}(E,function qc(r,o){return Ge(vi,function(f){var E="_."+f[0];o&f[1]&&!or(r,E)&&r.push(E)}),r.sort()}(function mp(r){var o=r.match(Et);return o?o[1].split(It):[]}(E),f)))}function Ef(r){var o=0,f=0;return function(){var E=wa(),R=16-(E-f);if(f=E,R>0){if(++o>=800)return arguments[0]}else o=0;return r.apply(_,arguments)}}function Xu(r,o){var f=-1,E=r.length,R=E-1;for(o=o===_?E:o;++f<o;){var W=ds(f,R),fe=r[W];r[W]=r[f],r[f]=fe}return r.length=o,r}var Df=function vf(r){var o=uc(r,function(E){return 500===f.size&&f.clear(),E}),f=o.cache;return o}(function(r){var o=[];return 46===r.charCodeAt(0)&&o.push(""),r.replace(br,function(f,E,R,W){o.push(R?W.replace(Oe,"$1"):E||f)}),o});function Lo(r){if("string"==typeof r||Xi(r))return r;var o=r+"";return"0"==o&&1/r==-zt?"-0":o}function Pa(r){if(null!=r){try{return Gs.call(r)}catch{}try{return r+""}catch{}}return""}function Yc(r){if(r instanceof d)return r.clone();var o=new p(r.__wrapped__,r.__chain__);return o.__actions__=fs(r.__actions__),o.__index__=r.__index__,o.__values__=r.__values__,o}var Mf=Gt(function(r,o){return Qr(r)?Dl(r,ar(o,1,Qr,!0)):[]}),Tf=Gt(function(r,o){var f=Is(o);return Qr(f)&&(f=_),Qr(r)?Dl(r,ar(o,1,Qr,!0),Sn(f,2)):[]}),cl=Gt(function(r,o){var f=Is(o);return Qr(f)&&(f=_),Qr(r)?Dl(r,ar(o,1,Qr,!0),_,f):[]});function Kc(r,o,f){var E=null==r?0:r.length;if(!E)return-1;var R=null==f?0:Hn(f);return R<0&&(R=Ur(E+R,0)),D(r,Sn(o,3),R)}function Qc(r,o,f){var E=null==r?0:r.length;if(!E)return-1;var R=E-1;return f!==_&&(R=Hn(f),R=f<0?Ur(E+R,0):Hr(R,E-1)),D(r,Sn(o,3),R,!0)}function Jc(r){return null!=r&&r.length?ar(r,1):[]}function vu(r){return r&&r.length?r[0]:_}var Af=Gt(function(r){var o=Bt(r,Wu);return o.length&&o[0]===r[0]?he(o):[]}),td=Gt(function(r){var o=Is(r),f=Bt(r,Wu);return o===Is(f)?o=_:f.pop(),f.length&&f[0]===r[0]?he(f,Sn(o,2)):[]}),Cu=Gt(function(r){var o=Is(r),f=Bt(r,Wu);return(o="function"==typeof o?o:_)&&f.pop(),f.length&&f[0]===r[0]?he(f,_,o):[]});function Is(r){var o=null==r?0:r.length;return o?r[o-1]:_}var If=Gt(nc);function nc(r,o){return r&&r.length&&o&&o.length?tr(r,o):r}var Nf=aa(function(r,o){var f=null==r?0:r.length,E=tl(r,o);return ni(r,Bt(o,function(R){return Sa(R,f)?+R:R}).sort(af)),E});function rc(r){return null==r?r:qa.call(r)}var Lf=Gt(function(r){return Ma(ar(r,1,Qr,!0))}),Vf=Gt(function(r){var o=Is(r);return Qr(o)&&(o=_),Ma(ar(r,1,Qr,!0),Sn(o,2))}),Bf=Gt(function(r){var o=Is(r);return o="function"==typeof o?o:_,Ma(ar(r,1,Qr,!0),_,o)});function nd(r){if(!r||!r.length)return[];var o=0;return r=Rn(r,function(f){if(Qr(f))return o=Ur(f.length,o),!0}),bs(o,function(f){return Bt(r,Er(f))})}function sc(r,o){if(!r||!r.length)return[];var f=nd(r);return null==o?f:Bt(f,function(E){return H(o,_,E)})}var la=Gt(function(r,o){return Qr(r)?Dl(r,o):[]}),rd=Gt(function(r){return zu(Rn(r,Qr))}),Hf=Gt(function(r){var o=Is(r);return Qr(o)&&(o=_),zu(Rn(r,Qr),Sn(o,2))}),id=Gt(function(r){var o=Is(r);return o="function"==typeof o?o:_,zu(Rn(r,Qr),_,o)}),e_=Gt(nd),oc=Gt(function(r){var o=r.length,f=o>1?r[o-1]:_;return f="function"==typeof f?(r.pop(),f):_,sc(r,f)});function wu(r){var o=j(r);return o.__chain__=!0,o}function Bl(r,o){return o(r)}var od=aa(function(r){var o=r.length,f=o?r[0]:0,E=this.__wrapped__,R=function(W){return tl(W,r)};return!(o>1||this.__actions__.length)&&E instanceof d&&Sa(f)?((E=E.slice(f,+f+(o?1:0))).__actions__.push({func:Bl,args:[R],thisArg:_}),new p(E,this.__chain__).thru(function(W){return o&&!W.length&&W.push(_),W})):this.thru(R)}),jp=pu(function(r,o,f){Qn.call(r,f)?++r[f]:Qs(r,f,1)}),zf=dp(Kc),$p=dp(Qc);function Gp(r,o){return(Un(r)?Ge:na)(r,Sn(o,3))}function zp(r,o){return(Un(r)?ft:Ml)(r,Sn(o,3))}var a_=pu(function(r,o,f){Qn.call(r,f)?r[f].push(o):Qs(r,f,[o])}),u_=Gt(function(r,o,f){var E=-1,R="function"==typeof o,W=zi(r)?qe(r.length):[];return na(r,function(fe){W[++E]=R?H(o,fe,f):Ze(fe,o,f)}),W}),c_=pu(function(r,o,f){Qs(r,f,o)});function ld(r,o){return(Un(r)?Bt:Ii)(r,Sn(o,3))}var Oa=pu(function(r,o,f){r[f?0:1].push(o)},function(){return[[],[]]}),Yf=Gt(function(r,o){if(null==r)return[];var f=o.length;return f>1&&Gi(r,o[0],o[1])?o=[]:f>2&&Gi(o[0],o[1],o[2])&&(o=[o[0]]),Sl(r,ar(o,1),[])}),ac=Oo||function(){return Lr.Date.now()};function Zf(r,o,f){return o=f?_:o,No(r,128,_,_,_,_,o=r&&null==o?r.length:o)}function hd(r,o){var f;if("function"!=typeof o)throw new Bi(Z);return r=Hn(r),function(){return--r>0&&(f=o.apply(this,arguments)),r<=1&&(o=_),f}}var pd=Gt(function(r,o,f){var E=1;if(f.length){var R=oi(f,Fl(pd));E|=32}return No(r,E,o,f,R)}),Kf=Gt(function(r,o,f){var E=3;if(f.length){var R=oi(f,Fl(Kf));E|=32}return No(o,E,r,f,R)});function lc(r,o,f){var E,R,W,fe,be,Ie,ot=0,at=!1,ht=!1,Lt=!0;if("function"!=typeof r)throw new Bi(Z);function sn(Wr){var vo=E,so=R;return E=R=_,ot=Wr,fe=r.apply(so,vo)}function wn(Wr){return ot=Wr,be=ul(nr,o),at?sn(Wr):fe}function bn(Wr){var vo=Wr-Ie;return Ie===_||vo>=o||vo<0||ht&&Wr-ot>=W}function nr(){var Wr=ac();if(bn(Wr))return fr(Wr);be=ul(nr,function qn(Wr){var Au=o-(Wr-Ie);return ht?Hr(Au,W-(Wr-ot)):Au}(Wr))}function fr(Wr){return be=_,Lt&&E?sn(Wr):(E=R=_,fe)}function es(){var Wr=ac(),vo=bn(Wr);if(E=arguments,R=this,Ie=Wr,vo){if(be===_)return wn(Ie);if(ht)return qu(be),be=ul(nr,o),sn(Ie)}return be===_&&(be=ul(nr,o)),fe}return o=Fs(o)||0,Br(f)&&(at=!!f.leading,W=(ht="maxWait"in f)?Ur(Fs(f.maxWait)||0,o):W,Lt="trailing"in f?!!f.trailing:Lt),es.cancel=function Ri(){be!==_&&qu(be),ot=0,E=Ie=R=be=_},es.flush=function Wi(){return be===_?fe:fr(ac())},es}var Hl=Gt(function(r,o){return Sc(r,1,o)}),bu=Gt(function(r,o,f){return Sc(r,Fs(o)||0,f)});function uc(r,o){if("function"!=typeof r||null!=o&&"function"!=typeof o)throw new Bi(Z);var f=function(){var E=arguments,R=o?o.apply(this,E):E[0],W=f.cache;if(W.has(R))return W.get(R);var fe=r.apply(this,E);return f.cache=W.set(R,fe)||W,fe};return f.cache=new(uc.Cache||ai),f}function Eu(r){if("function"!=typeof r)throw new Bi(Z);return function(){var o=arguments;switch(o.length){case 0:return!r.call(this);case 1:return!r.call(this,o[0]);case 2:return!r.call(this,o[0],o[1]);case 3:return!r.call(this,o[0],o[1],o[2])}return!r.apply(this,o)}}uc.Cache=ai;var gd=Km(function(r,o){var f=(o=1==o.length&&Un(o[0])?Bt(o[0],ti(Sn())):Bt(ar(o,1),ti(Sn()))).length;return Gt(function(E){for(var R=-1,W=Hr(E.length,f);++R<W;)E[R]=o[R].call(this,E[R]);return H(r,this,E)})}),Du=Gt(function(r,o){var f=oi(o,Fl(Du));return No(r,32,_,o,f)}),md=Gt(function(r,o){var f=oi(o,Fl(md));return No(r,64,_,o,f)}),cc=aa(function(r,o){return No(r,256,_,_,_,o)});function yo(r,o){return r===o||r!=r&&o!=o}var h_=Nl(g),p_=Nl(function(r,o){return r>=o}),Aa=Vt(function(){return arguments}())?Vt:function(r){return Jr(r)&&Qn.call(r,"callee")&&!_l.call(r,"callee")},Un=qe.isArray,Xp=is?ti(is):function ln(r){return Jr(r)&&a(r)==Pe};function zi(r){return null!=r&&Ns(r.length)&&!Vo(r)}function Qr(r){return Jr(r)&&zi(r)}var Ia=vl||Fd,tg=Hs?ti(Hs):function Nn(r){return Jr(r)&&a(r)==_r};function _d(r){if(!Jr(r))return!1;var o=a(r);return o==qr||"[object DOMException]"==o||"string"==typeof r.message&&"string"==typeof r.name&&!Mu(r)}function Vo(r){if(!Br(r))return!1;var o=a(r);return o==pr||o==Fr||"[object AsyncFunction]"==o||"[object Proxy]"==o}function sh(r){return"number"==typeof r&&r==Hn(r)}function Ns(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=rn}function Br(r){var o=typeof r;return null!=r&&("object"==o||"function"==o)}function Jr(r){return null!=r&&"object"==typeof r}var oh=Mo?ti(Mo):function Bn(r){return Jr(r)&&$i(r)==wr};function lh(r){return"number"==typeof r||Jr(r)&&a(r)==kr}function Mu(r){if(!Jr(r)||a(r)!=Xn)return!1;var o=Ca(r);if(null===o)return!0;var f=Qn.call(o,"constructor")&&o.constructor;return"function"==typeof f&&f instanceof f&&Gs.call(f)==zs}var $l=M?ti(M):function li(r){return Jr(r)&&a(r)==Rr},uh=V?ti(V):function Ui(r){return Jr(r)&&$i(r)==pe};function Gl(r){return"string"==typeof r||!Un(r)&&Jr(r)&&a(r)==me}function Xi(r){return"symbol"==typeof r||Jr(r)&&a(r)==ce}var fl=T?ti(T):function _i(r){return Jr(r)&&Ns(r.length)&&!!Zn[a(r)]},y_=Nl(Ki),ag=Nl(function(r,o){return r<=o});function wd(r){if(!r)return[];if(zi(r))return Gl(r)?bi(r):fs(r);if(co&&r[co])return function os(Me){for(var Je,qe=[];!(Je=Me.next()).done;)qe.push(Je.value);return qe}(r[co]());var o=$i(r);return(o==wr?pa:o==pe?Wo:Su)(r)}function Bo(r){return r?(r=Fs(r))===zt||r===-zt?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function Hn(r){var o=Bo(r),f=o%1;return o==o?f?o-f:o:0}function bd(r){return r?nl(Hn(r),0,rr):0}function Fs(r){if("number"==typeof r)return r;if(Xi(r))return NaN;if(Br(r)){var o="function"==typeof r.valueOf?r.valueOf():r;r=Br(o)?o+"":o}if("string"!=typeof r)return 0===r?r:+r;r=zn(r);var f=ke.test(r);return f||Ae.test(r)?ns(r.slice(2),f?2:8):Mn.test(r)?NaN:+r}function Uo(r){return no(r,hs(r))}function Tr(r){return null==r?"":to(r)}var lg=xl(function(r,o){if(Ll(o)||zi(o))no(o,Mi(o),r);else for(var f in o)Qn.call(o,f)&&el(r,f,o[f])}),ug=xl(function(r,o){no(o,hs(o),r)}),zl=xl(function(r,o,f,E){no(o,hs(o),r,E)}),ch=xl(function(r,o,f,E){no(o,Mi(o),r,E)}),Ed=aa(tl),cg=Gt(function(r,o){r=Cn(r);var f=-1,E=o.length,R=E>2?o[2]:_;for(R&&Gi(o[0],o[1],R)&&(E=1);++f<E;)for(var W=o[f],fe=hs(W),be=-1,Ie=fe.length;++be<Ie;){var ot=fe[be],at=r[ot];(at===_||yo(at,Zo[ot])&&!Qn.call(r,ot))&&(r[ot]=W[ot])}return r}),Dd=Gt(function(r){return r.push(_,Fc),H(Pd,_,r)});function Ra(r,o,f){var E=null==r?_:m(r,o);return E===_?f:E}function Td(r,o){return null!=r&&mf(r,o,k)}var pg=Hi(function(r,o,f){null!=o&&"function"!=typeof o.toString&&(o=Ga.call(o)),r[o]=f},Fa(yi)),Wl=Hi(function(r,o,f){null!=o&&"function"!=typeof o.toString&&(o=Ga.call(o)),Qn.call(r,o)?r[o].push(f):r[o]=[f]},Sn),gg=Gt(Ze);function Mi(r){return zi(r)?Xa(r):cs(r)}function hs(r){return zi(r)?Xa(r,!0):function ui(r){if(!Br(r))return function Gc(r){var o=[];if(null!=r)for(var f in Cn(r))o.push(f);return o}(r);var o=Ll(r),f=[];for(var E in r)"constructor"==E&&(o||!Qn.call(r,E))||f.push(E);return f}(r)}var Sd=xl(function(r,o,f){ia(r,o,f)}),Pd=xl(function(r,o,f,E){ia(r,o,f,E)}),mh=aa(function(r,o){var f={};if(null==r)return f;var E=!1;o=Bt(o,function(W){return W=sl(W,r),E||(E=W.length>1),W}),no(r,Lc(r),f),E&&(f=Ai(f,7,hp));for(var R=o.length;R--;)Pl(f,o[R]);return f}),yh=aa(function(r,o){return null==r?{}:function Kt(r,o){return hn(r,o,function(f,E){return Td(r,E)})}(r,o)});function vh(r,o){if(null==r)return{};var f=Bt(Lc(r),function(E){return[E]});return o=Sn(o),hn(r,f,function(E,R){return o(E,R[0])})}var Od=df(Mi),Cg=df(hs);function Su(r){return null==r?[]:Vr(r,Mi(r))}var C_=Al(function(r,o,f){return o=o.toLowerCase(),r+(f?ro(o):o)});function ro(r){return Ti(Tr(r).toLowerCase())}function Dg(r){return(r=Tr(r))&&r.replace(Dt,fa).replace($o,"")}var Mh=Al(function(r,o,f){return r+(f?"-":"")+o.toLowerCase()}),Mg=Al(function(r,o,f){return r+(f?" ":"")+o.toLowerCase()}),b_=lf("toLowerCase"),Og=Al(function(r,o,f){return r+(f?"_":"")+o.toLowerCase()}),Ag=Al(function(r,o,f){return r+(f?" ":"")+Ti(o)}),Ou=Al(function(r,o,f){return r+(f?" ":"")+o.toUpperCase()}),Ti=lf("toUpperCase");function Na(r,o,f){return r=Tr(r),(o=f?_:o)===_?function Kr(Me){return qi.test(Me)}(r)?function Ua(Me){return Me.match(ms)||[]}(r):function gi(Me){return Me.match(wt)||[]}(r):r.match(o)||[]}var xu=Gt(function(r,o){try{return H(r,_,o)}catch(f){return _d(f)?f:new An(f)}}),io=aa(function(r,o){return Ge(o,function(f){f=Lo(f),Qs(r,f,pd(r[f],r))}),r});function Fa(r){return function(){return r}}var Kl=fp(),Ql=fp(!0);function yi(r){return r}function ka(r){return ra("function"==typeof r?r:Ai(r,1))}var Sh=Gt(function(r,o){return function(f){return Ze(f,r,o)}}),Ph=Gt(function(r,o){return function(f){return Ze(r,f,o)}});function hc(r,o,f){var E=Mi(o),R=du(o,E);null==f&&(!Br(o)||!R.length&&E.length)&&(f=o,o=r,r=this,R=du(o,Mi(o)));var W=!(Br(f)&&"chain"in f&&!f.chain),fe=Vo(r);return Ge(R,function(be){var Ie=o[be];r[be]=Ie,fe&&(r.prototype[be]=function(){var ot=this.__chain__;if(W||ot){var at=r(this.__wrapped__),ht=at.__actions__=fs(this.__actions__);return ht.push({func:Ie,args:arguments,thisArg:r}),at.__chain__=ot,at}return Ie.apply(r,$n([this.value()],arguments))})}),r}function pc(){}var Ah=Ku(Bt),Ih=Ku(St),Rh=Ku(vr);function Nh(r){return yf(r)?Er(Lo(r)):function Tn(r){return function(o){return m(o,r)}}(r)}var kg=Rl(),kh=Rl(!0);function gc(){return[]}function Fd(){return!1}var E_=Il(function(r,o){return r+o},0),Hg=Nc("ceil"),kd=Il(function(r,o){return r/o},1),Ld=Nc("floor"),S_=Il(function(r,o){return r*o},1),Gg=Nc("round"),eu=Il(function(r,o){return r-o},0);return j.after=function fd(r,o){if("function"!=typeof o)throw new Bi(Z);return r=Hn(r),function(){if(--r<1)return o.apply(this,arguments)}},j.ary=Zf,j.assign=lg,j.assignIn=ug,j.assignInWith=zl,j.assignWith=ch,j.at=Ed,j.before=hd,j.bind=pd,j.bindAll=io,j.bindKey=Kf,j.castArray=function Zp(){if(!arguments.length)return[];var r=arguments[0];return Un(r)?r:[r]},j.chain=wu,j.chunk=function Zc(r,o,f){o=(f?Gi(r,o,f):o===_)?1:Ur(Hn(o),0);var E=null==r?0:r.length;if(!E||o<1)return[];for(var R=0,W=0,fe=qe(Ms(E/o));R<E;)fe[W++]=Ji(r,R,R+=o);return fe},j.compact=function Cp(r){for(var o=-1,f=null==r?0:r.length,E=0,R=[];++o<f;){var W=r[o];W&&(R[E++]=W)}return R},j.concat=function wp(){var r=arguments.length;if(!r)return[];for(var o=qe(r-1),f=arguments[0],E=r;E--;)o[E-1]=arguments[E];return $n(Un(f)?fs(f):[f],ar(o,1))},j.cond=function Nd(r){var o=null==r?0:r.length,f=Sn();return r=o?Bt(r,function(E){if("function"!=typeof E[1])throw new Bi(Z);return[f(E[0]),E[1]]}):[],Gt(function(E){for(var R=-1;++R<o;){var W=r[R];if(H(W[0],this,E))return H(W[1],this,E)}})},j.conforms=function Yl(r){return function Hu(r){var o=Mi(r);return function(f){return El(f,r,o)}}(Ai(r,1))},j.constant=Fa,j.countBy=jp,j.create=function Tu(r,o){var f=jr(r);return null==o?f:Uu(f,o)},j.curry=function Ul(r,o,f){var E=No(r,8,_,_,_,_,_,o=f?_:o);return E.placeholder=Ul.placeholder,E},j.curryRight=function dl(r,o,f){var E=No(r,16,_,_,_,_,_,o=f?_:o);return E.placeholder=dl.placeholder,E},j.debounce=lc,j.defaults=cg,j.defaultsDeep=Dd,j.defer=Hl,j.delay=bu,j.difference=Mf,j.differenceBy=Tf,j.differenceWith=cl,j.drop=function Sf(r,o,f){var E=null==r?0:r.length;return E?Ji(r,(o=f||o===_?1:Hn(o))<0?0:o,E):[]},j.dropRight=function Pf(r,o,f){var E=null==r?0:r.length;return E?Ji(r,0,(o=E-(o=f||o===_?1:Hn(o)))<0?0:o):[]},j.dropRightWhile=function bp(r,o){return r&&r.length?As(r,Sn(o,3),!0,!0):[]},j.dropWhile=function ec(r,o){return r&&r.length?As(r,Sn(o,3),!0):[]},j.fill=function Ep(r,o,f,E){var R=null==r?0:r.length;return R?(f&&"number"!=typeof f&&Gi(r,o,f)&&(f=0,E=R),function ju(r,o,f,E){var R=r.length;for((f=Hn(f))<0&&(f=-f>R?0:R+f),(E=E===_||E>R?R:Hn(E))<0&&(E+=R),E=f>E?0:bd(E);f<E;)r[f++]=o;return r}(r,o,f,E)):[]},j.filter=function Gf(r,o){return(Un(r)?Rn:cu)(r,Sn(o,3))},j.flatMap=function ad(r,o){return ar(ld(r,o),1)},j.flatMapDeep=function s_(r,o){return ar(ld(r,o),zt)},j.flatMapDepth=function o_(r,o,f){return f=f===_?1:Hn(f),ar(ld(r,o),f)},j.flatten=Jc,j.flattenDeep=function Xc(r){return null!=r&&r.length?ar(r,zt):[]},j.flattenDepth=function Of(r,o){return null!=r&&r.length?ar(r,o=o===_?1:Hn(o)):[]},j.flip=function jl(r){return No(r,512)},j.flow=Kl,j.flowRight=Ql,j.fromPairs=function tc(r){for(var o=-1,f=null==r?0:r.length,E={};++o<f;){var R=r[o];E[R[0]]=R[1]}return E},j.functions=function hg(r){return null==r?[]:du(r,Mi(r))},j.functionsIn=function ph(r){return null==r?[]:du(r,hs(r))},j.groupBy=a_,j.initial=function ed(r){return null!=r&&r.length?Ji(r,0,-1):[]},j.intersection=Af,j.intersectionBy=td,j.intersectionWith=Cu,j.invert=pg,j.invertBy=Wl,j.invokeMap=u_,j.iteratee=ka,j.keyBy=c_,j.keys=Mi,j.keysIn=hs,j.map=ld,j.mapKeys=function mg(r,o){var f={};return o=Sn(o,3),xs(r,function(E,R,W){Qs(f,o(E,R,W),E)}),f},j.mapValues=function Ho(r,o){var f={};return o=Sn(o,3),xs(r,function(E,R,W){Qs(f,R,o(E,R,W))}),f},j.matches=function Jl(r){return Js(Ai(r,1))},j.matchesProperty=function Xl(r,o){return fu(r,Ai(o,1))},j.memoize=uc,j.merge=Sd,j.mergeWith=Pd,j.method=Sh,j.methodOf=Ph,j.mixin=hc,j.negate=Eu,j.nthArg=function xh(r){return r=Hn(r),Gt(function(o){return il(o,r)})},j.omit=mh,j.omitBy=function _h(r,o){return vh(r,Eu(Sn(o)))},j.once=function Qf(r){return hd(2,r)},j.orderBy=function d_(r,o,f,E){return null==r?[]:(Un(o)||(o=null==o?[]:[o]),Un(f=E?_:f)||(f=null==f?[]:[f]),Sl(r,o,f))},j.over=Ah,j.overArgs=gd,j.overEvery=Ih,j.overSome=Rh,j.partial=Du,j.partialRight=md,j.partition=Oa,j.pick=yh,j.pickBy=vh,j.property=Nh,j.propertyOf=function Fh(r){return function(o){return null==r?_:m(r,o)}},j.pull=If,j.pullAll=nc,j.pullAllBy=function Rf(r,o,f){return r&&r.length&&o&&o.length?tr(r,o,Sn(f,2)):r},j.pullAllWith=function Xm(r,o,f){return r&&r.length&&o&&o.length?tr(r,o,_,f):r},j.pullAt=Nf,j.range=kg,j.rangeRight=kh,j.rearg=cc,j.reject=function Wf(r,o){return(Un(r)?Rn:cu)(r,Eu(Sn(o,3)))},j.remove=function Sp(r,o){var f=[];if(!r||!r.length)return f;var E=-1,R=[],W=r.length;for(o=Sn(o,3);++E<W;){var fe=r[E];o(fe,E,r)&&(f.push(fe),R.push(E))}return ni(r,R),f},j.rest=function Yp(r,o){if("function"!=typeof r)throw new Bi(Z);return Gt(r,o=o===_?o:Hn(o))},j.reverse=rc,j.sampleSize=function qf(r,o,f){return o=(f?Gi(r,o,f):o===_)?1:Hn(o),(Un(r)?Qd:Pc)(r,o)},j.set=function yg(r,o,f){return null==r?r:ci(r,o,f)},j.setWith=function vg(r,o,f,E){return E="function"==typeof E?E:_,null==r?r:ci(r,o,f,E)},j.shuffle=function dd(r){return(Un(r)?Bu:Da)(r)},j.slice=function Pp(r,o,f){var E=null==r?0:r.length;return E?(f&&"number"!=typeof f&&Gi(r,o,f)?(o=0,f=E):(o=null==o?0:Hn(o),f=f===_?E:Hn(f)),Ji(r,o,f)):[]},j.sortBy=Yf,j.sortedUniq=function Rp(r){return r&&r.length?Xd(r):[]},j.sortedUniqBy=function Np(r,o){return r&&r.length?Xd(r,Sn(o,2)):[]},j.split=function xg(r,o,f){return f&&"number"!=typeof f&&Gi(r,o,f)&&(o=f=_),(f=f===_?rr:f>>>0)?(r=Tr(r))&&("string"==typeof o||null!=o&&!$l(o))&&!(o=to(o))&&ss(r)?Ro(bi(r),0,f):r.split(o,f):[]},j.spread=function Jf(r,o){if("function"!=typeof r)throw new Bi(Z);return o=null==o?0:Ur(Hn(o),0),Gt(function(f){var E=f[o],R=Ro(f,0,o);return E&&$n(R,E),H(r,this,R)})},j.tail=function kf(r){var o=null==r?0:r.length;return o?Ji(r,1,o):[]},j.take=function Fp(r,o,f){return r&&r.length?Ji(r,0,(o=f||o===_?1:Hn(o))<0?0:o):[]},j.takeRight=function kp(r,o,f){var E=null==r?0:r.length;return E?Ji(r,(o=E-(o=f||o===_?1:Hn(o)))<0?0:o,E):[]},j.takeRightWhile=function Lp(r,o){return r&&r.length?As(r,Sn(o,3),!1,!0):[]},j.takeWhile=function kn(r,o){return r&&r.length?As(r,Sn(o,3)):[]},j.tap=function sd(r,o){return o(r),r},j.throttle=function f_(r,o,f){var E=!0,R=!0;if("function"!=typeof r)throw new Bi(Z);return Br(f)&&(E="leading"in f?!!f.leading:E,R="trailing"in f?!!f.trailing:R),lc(r,o,{leading:E,maxWait:o,trailing:R})},j.thru=Bl,j.toArray=wd,j.toPairs=Od,j.toPairsIn=Cg,j.toPath=function Bg(r){return Un(r)?Bt(r,Lo):Xi(r)?[r]:fs(Df(Tr(r)))},j.toPlainObject=Uo,j.transform=function Ch(r,o,f){var E=Un(r),R=E||Ia(r)||fl(r);if(o=Sn(o,4),null==f){var W=r&&r.constructor;f=R?E?new W:[]:Br(r)&&Vo(W)?jr(Ca(r)):{}}return(R?Ge:xs)(r,function(fe,be,Ie){return o(f,fe,be,Ie)}),f},j.unary=function Xf(r){return Zf(r,1)},j.union=Lf,j.unionBy=Vf,j.unionWith=Bf,j.uniq=function ic(r){return r&&r.length?Ma(r):[]},j.uniqBy=function _o(r,o){return r&&r.length?Ma(r,Sn(o,2)):[]},j.uniqWith=function Uf(r,o){return o="function"==typeof o?o:_,r&&r.length?Ma(r,_,o):[]},j.unset=function wg(r,o){return null==r||Pl(r,o)},j.unzip=nd,j.unzipWith=sc,j.update=function bg(r,o,f){return null==r?r:xc(r,o,tf(f))},j.updateWith=function v_(r,o,f,E){return E="function"==typeof E?E:_,null==r?r:xc(r,o,tf(f),E)},j.values=Su,j.valuesIn=function xd(r){return null==r?[]:Vr(r,hs(r))},j.without=la,j.words=Na,j.wrap=function eh(r,o){return Du(tf(o),r)},j.xor=rd,j.xorBy=Hf,j.xorWith=id,j.zip=e_,j.zipObject=function jf(r,o){return Ac(r||[],o||[],el)},j.zipObjectDeep=function t_(r,o){return Ac(r||[],o||[],ci)},j.zipWith=oc,j.entries=Od,j.entriesIn=Cg,j.extend=ug,j.extendWith=zl,hc(j,j),j.add=E_,j.attempt=xu,j.camelCase=C_,j.capitalize=ro,j.ceil=Hg,j.clamp=function Eg(r,o,f){return f===_&&(f=o,o=_),f!==_&&(f=(f=Fs(f))==f?f:0),o!==_&&(o=(o=Fs(o))==o?o:0),nl(Fs(r),o,f)},j.clone=function th(r){return Ai(r,4)},j.cloneDeep=function Qp(r){return Ai(r,5)},j.cloneDeepWith=function Rs(r,o){return Ai(r,5,o="function"==typeof o?o:_)},j.cloneWith=function Kp(r,o){return Ai(r,4,o="function"==typeof o?o:_)},j.conformsTo=function Jp(r,o){return null==o||El(r,o,Mi(o))},j.deburr=Dg,j.defaultTo=function Zl(r,o){return null==r||r!=r?o:r},j.divide=kd,j.endsWith=function w_(r,o,f){r=Tr(r),o=to(o);var E=r.length,R=f=f===_?E:nl(Hn(f),0,E);return(f-=o.length)>=0&&r.slice(f,R)==o},j.eq=yo,j.escape=function Eh(r){return(r=Tr(r))&&xn.test(r)?r.replace(mn,ha):r},j.escapeRegExp=function Dh(r){return(r=Tr(r))&&se.test(r)?r.replace(Le,"\\$&"):r},j.every=function i_(r,o,f){var E=Un(r)?St:rl;return f&&Gi(r,o,f)&&(o=_),E(r,Sn(o,3))},j.find=zf,j.findIndex=Kc,j.findKey=function dh(r,o){return S(r,Sn(o,3),xs)},j.findLast=$p,j.findLastIndex=Qc,j.findLastKey=function fh(r,o){return S(r,Sn(o,3),ba)},j.floor=Ld,j.forEach=Gp,j.forEachRight=zp,j.forIn=function hh(r,o){return null==r?r:Tl(r,Sn(o,3),hs)},j.forInRight=function dg(r,o){return null==r?r:$u(r,Sn(o,3),hs)},j.forOwn=function Md(r,o){return r&&xs(r,Sn(o,3))},j.forOwnRight=function fg(r,o){return r&&ba(r,Sn(o,3))},j.get=Ra,j.gt=h_,j.gte=p_,j.has=function gh(r,o){return null!=r&&mf(r,o,O)},j.hasIn=Td,j.head=vu,j.identity=yi,j.includes=function l_(r,o,f,E){r=zi(r)?r:Su(r),f=f&&!E?Hn(f):0;var R=r.length;return f<0&&(f=Ur(R+f,0)),Gl(r)?f<=R&&r.indexOf(o,f)>-1:!!R&&w(r,o,f)>-1},j.indexOf=function xf(r,o,f){var E=null==r?0:r.length;if(!E)return-1;var R=null==f?0:Hn(f);return R<0&&(R=Ur(E+R,0)),w(r,o,R)},j.inRange=function wh(r,o,f){return o=Bo(o),f===_?(f=o,o=0):f=Bo(f),function oe(r,o,f){return r>=Hr(o,f)&&r<Ur(o,f)}(r=Fs(r),o,f)},j.invoke=gg,j.isArguments=Aa,j.isArray=Un,j.isArrayBuffer=Xp,j.isArrayLike=zi,j.isArrayLikeObject=Qr,j.isBoolean=function eg(r){return!0===r||!1===r||Jr(r)&&a(r)==Cr},j.isBuffer=Ia,j.isDate=tg,j.isElement=function nh(r){return Jr(r)&&1===r.nodeType&&!Mu(r)},j.isEmpty=function ng(r){if(null==r)return!0;if(zi(r)&&(Un(r)||"string"==typeof r||"function"==typeof r.splice||Ia(r)||fl(r)||Aa(r)))return!r.length;var o=$i(r);if(o==wr||o==pe)return!r.size;if(Ll(r))return!cs(r).length;for(var f in r)if(Qn.call(r,f))return!1;return!0},j.isEqual=function rh(r,o){return In(r,o)},j.isEqualWith=function rg(r,o,f){var E=(f="function"==typeof f?f:_)?f(r,o):_;return E===_?In(r,o,_,f):!!E},j.isError=_d,j.isFinite=function ih(r){return"number"==typeof r&&Ws(r)},j.isFunction=Vo,j.isInteger=sh,j.isLength=Ns,j.isMap=oh,j.isMatch=function g_(r,o){return r===o||Mr(r,o,Bc(o))},j.isMatchWith=function ah(r,o,f){return f="function"==typeof f?f:_,Mr(r,o,Bc(o),f)},j.isNaN=function ig(r){return lh(r)&&r!=+r},j.isNative=function sg(r){if(yp(r))throw new An("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return zr(r)},j.isNil=function yd(r){return null==r},j.isNull=function og(r){return null===r},j.isNumber=lh,j.isObject=Br,j.isObjectLike=Jr,j.isPlainObject=Mu,j.isRegExp=$l,j.isSafeInteger=function vd(r){return sh(r)&&r>=-rn&&r<=rn},j.isSet=uh,j.isString=Gl,j.isSymbol=Xi,j.isTypedArray=fl,j.isUndefined=function m_(r){return r===_},j.isWeakMap=function __(r){return Jr(r)&&$i(r)==z},j.isWeakSet=function Cd(r){return Jr(r)&&"[object WeakSet]"==a(r)},j.join=function Dp(r,o){return null==r?"":Cl.call(r,o)},j.kebabCase=Mh,j.last=Is,j.lastIndexOf=function Mp(r,o,f){var E=null==r?0:r.length;if(!E)return-1;var R=E;return f!==_&&(R=(R=Hn(f))<0?Ur(E+R,0):Hr(R,E-1)),o==o?function nu(Me,Je,qe){for(var $t=qe+1;$t--;)if(Me[$t]===Je)return $t;return $t}(r,o,R):D(r,Ke,R,!0)},j.lowerCase=Mg,j.lowerFirst=b_,j.lt=y_,j.lte=ag,j.max=function jg(r){return r&&r.length?go(r,yi,g):_},j.maxBy=function D_(r,o){return r&&r.length?go(r,Sn(o,2),g):_},j.mean=function M_(r){return nn(r,yi)},j.meanBy=function T_(r,o){return nn(r,Sn(o,2))},j.min=function $g(r){return r&&r.length?go(r,yi,Ki):_},j.minBy=function Bh(r,o){return r&&r.length?go(r,Sn(o,2),Ki):_},j.stubArray=gc,j.stubFalse=Fd,j.stubObject=function Lg(){return{}},j.stubString=function Lh(){return""},j.stubTrue=function Vg(){return!0},j.multiply=S_,j.nth=function Tp(r,o){return r&&r.length?il(r,Hn(o)):_},j.noConflict=function Oh(){return Lr._===this&&(Lr._=ya),this},j.noop=pc,j.now=ac,j.pad=function Th(r,o,f){r=Tr(r);var E=(o=Hn(o))?Zi(r):0;if(!o||E>=o)return r;var R=(o-E)/2;return mu(fo(R),f)+r+mu(Ms(R),f)},j.padEnd=function Ad(r,o,f){r=Tr(r);var E=(o=Hn(o))?Zi(r):0;return o&&E<o?r+mu(o-E,f):r},j.padStart=function Tg(r,o,f){r=Tr(r);var E=(o=Hn(o))?Zi(r):0;return o&&E<o?mu(o-E,f)+r:r},j.parseInt=function Id(r,o,f){return f||null==o?o=0:o&&(o=+o),Wa(Tr(r).replace(X,""),o||0)},j.random=function bh(r,o,f){if(f&&"boolean"!=typeof f&&Gi(r,o,f)&&(o=f=_),f===_&&("boolean"==typeof o?(f=o,o=_):"boolean"==typeof r&&(f=r,r=_)),r===_&&o===_?(r=0,o=1):(r=Bo(r),o===_?(o=r,r=0):o=Bo(o)),r>o){var E=r;r=o,o=E}if(f||r%1||o%1){var R=xo();return Hr(r+R*(o-r+ys("1e-"+((R+"").length-1))),o)}return ds(r,o)},j.reduce=function ud(r,o,f){var E=Un(r)?er:mi,R=arguments.length<3;return E(r,Sn(o,4),f,R,na)},j.reduceRight=function Wp(r,o,f){var E=Un(r)?yr:mi,R=arguments.length<3;return E(r,Sn(o,4),f,R,Ml)},j.repeat=function Sg(r,o,f){return o=(f?Gi(r,o,f):o===_)?1:Hn(o),eo(Tr(r),o)},j.replace=function Pg(){var r=arguments,o=Tr(r[0]);return r.length<3?o:o.replace(r[1],r[2])},j.result=function _g(r,o,f){var E=-1,R=(o=sl(o,r)).length;for(R||(R=1,r=_);++E<R;){var W=null==r?_:r[Lo(o[E])];W===_&&(E=R,W=f),r=Vo(W)?W.call(r):W}return r},j.round=Gg,j.runInContext=Me,j.sample=function cd(r){return(Un(r)?Gr:Ea)(r)},j.size=function qp(r){if(null==r)return 0;if(zi(r))return Gl(r)?Zi(r):r.length;var o=$i(r);return o==wr||o==pe?r.size:cs(r).length},j.snakeCase=Og,j.some=function xa(r,o,f){var E=Un(r)?vr:Jd;return f&&Gi(r,o,f)&&(o=_),E(r,Sn(o,3))},j.sortedIndex=function Op(r,o){return Gu(r,o)},j.sortedIndexBy=function mo(r,o,f){return Oc(r,o,Sn(f,2))},j.sortedIndexOf=function xp(r,o){var f=null==r?0:r.length;if(f){var E=Gu(r,o);if(E<f&&yo(r[E],o))return E}return-1},j.sortedLastIndex=function Ff(r,o){return Gu(r,o,!0)},j.sortedLastIndexBy=function Ap(r,o,f){return Oc(r,o,Sn(f,2),!0)},j.sortedLastIndexOf=function Ip(r,o){if(null!=r&&r.length){var E=Gu(r,o,!0)-1;if(yo(r[E],o))return E}return-1},j.startCase=Ag,j.startsWith=function Ig(r,o,f){return r=Tr(r),f=null==f?0:nl(Hn(f),0,r.length),o=to(o),r.slice(f,f+o.length)==o},j.subtract=eu,j.sum=function zg(r){return r&&r.length?Oi(r,yi):0},j.sumBy=function Uh(r,o){return r&&r.length?Oi(r,Sn(o,2)):0},j.template=function fc(r,o,f){var E=j.templateSettings;f&&Gi(r,o,f)&&(o=_),r=Tr(r),o=zl({},o,E,ff);var be,Ie,R=zl({},o.imports,E.imports,ff),W=Mi(R),fe=Vr(R,W),ot=0,at=o.interpolate||Tt,ht="__p += '",Lt=Ha((o.escape||Tt).source+"|"+at.source+"|"+(at===Ot?jt:Tt).source+"|"+(o.evaluate||Tt).source+"|$","g"),sn="//# sourceURL="+(Qn.call(o,"sourceURL")?(o.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Li+"]")+"\n";r.replace(Lt,function(bn,nr,fr,Ri,Wi,es){return fr||(fr=Ri),ht+=r.slice(ot,es).replace(At,hl),nr&&(be=!0,ht+="' +\n__e("+nr+") +\n'"),Wi&&(Ie=!0,ht+="';\n"+Wi+";\n__p += '"),fr&&(ht+="' +\n((__t = ("+fr+")) == null ? '' : __t) +\n'"),ot=es+bn.length,bn}),ht+="';\n";var wn=Qn.call(o,"variable")&&o.variable;if(wn){if(de.test(wn))throw new An("Invalid `variable` option passed into `_.template`")}else ht="with (obj) {\n"+ht+"\n}\n";ht=(Ie?ht.replace(Wt,""):ht).replace(un,"$1").replace(gt,"$1;"),ht="function("+(wn||"obj")+") {\n"+(wn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(be?", __e = _.escape":"")+(Ie?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+ht+"return __p\n}";var qn=xu(function(){return On(W,sn+"return "+ht).apply(_,fe)});if(qn.source=ht,_d(qn))throw qn;return qn},j.times=function Vh(r,o){if((r=Hn(r))<1||r>rn)return[];var f=rr,E=Hr(r,rr);o=Sn(o),r-=rr;for(var R=bs(E,o);++f<r;)o(f);return R},j.toFinite=Bo,j.toInteger=Hn,j.toLength=bd,j.toLower=function ql(r){return Tr(r).toLowerCase()},j.toNumber=Fs,j.toSafeInteger=function dc(r){return r?nl(Hn(r),-rn,rn):0===r?r:0},j.toString=Tr,j.toUpper=function Rg(r){return Tr(r).toUpperCase()},j.trim=function Pu(r,o,f){if((r=Tr(r))&&(f||o===_))return zn(r);if(!r||!(o=to(o)))return r;var E=bi(r),R=bi(o);return Ro(E,Ds(E,R),Vi(E,R)+1).join("")},j.trimEnd=function Ng(r,o,f){if((r=Tr(r))&&(f||o===_))return r.slice(0,js(r)+1);if(!r||!(o=to(o)))return r;var E=bi(r);return Ro(E,0,Vi(E,bi(o))+1).join("")},j.trimStart=function Fg(r,o,f){if((r=Tr(r))&&(f||o===_))return r.replace(X,"");if(!r||!(o=to(o)))return r;var E=bi(r);return Ro(E,Ds(E,bi(o))).join("")},j.truncate=function Rd(r,o){var f=30,E="...";if(Br(o)){var R="separator"in o?o.separator:R;f="length"in o?Hn(o.length):f,E="omission"in o?to(o.omission):E}var W=(r=Tr(r)).length;if(ss(r)){var fe=bi(r);W=fe.length}if(f>=W)return r;var be=f-Zi(E);if(be<1)return E;var Ie=fe?Ro(fe,0,be).join(""):r.slice(0,be);if(R===_)return Ie+E;if(fe&&(be+=Ie.length-be),$l(R)){if(r.slice(be).search(R)){var ot,at=Ie;for(R.global||(R=Ha(R.source,Tr(qt.exec(R))+"g")),R.lastIndex=0;ot=R.exec(at);)var ht=ot.index;Ie=Ie.slice(0,ht===_?be:ht)}}else if(r.indexOf(to(R),be)!=be){var Lt=Ie.lastIndexOf(R);Lt>-1&&(Ie=Ie.slice(0,Lt))}return Ie+E},j.unescape=function jo(r){return(r=Tr(r))&&Wn.test(r)?r.replace(Ht,ga):r},j.uniqueId=function Ug(r){var o=++_a;return Tr(r)+o},j.upperCase=Ou,j.upperFirst=Ti,j.each=Gp,j.eachRight=zp,j.first=vu,hc(j,function(){var r={};return xs(j,function(o,f){Qn.call(j.prototype,f)||(r[f]=o)}),r}(),{chain:!1}),j.VERSION="4.17.21",Ge(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){j[r].placeholder=j}),Ge(["drop","take"],function(r,o){d.prototype[r]=function(f){f=f===_?1:Ur(Hn(f),0);var E=this.__filtered__&&!o?new d(this):this.clone();return E.__filtered__?E.__takeCount__=Hr(f,E.__takeCount__):E.__views__.push({size:Hr(f,rr),type:r+(E.__dir__<0?"Right":"")}),E},d.prototype[r+"Right"]=function(f){return this.reverse()[r](f).reverse()}}),Ge(["filter","map","takeWhile"],function(r,o){var f=o+1,E=1==f||3==f;d.prototype[r]=function(R){var W=this.clone();return W.__iteratees__.push({iteratee:Sn(R,3),type:f}),W.__filtered__=W.__filtered__||E,W}}),Ge(["head","last"],function(r,o){var f="take"+(o?"Right":"");d.prototype[r]=function(){return this[f](1).value()[0]}}),Ge(["initial","tail"],function(r,o){var f="drop"+(o?"":"Right");d.prototype[r]=function(){return this.__filtered__?new d(this):this[f](1)}}),d.prototype.compact=function(){return this.filter(yi)},d.prototype.find=function(r){return this.filter(r).head()},d.prototype.findLast=function(r){return this.reverse().find(r)},d.prototype.invokeMap=Gt(function(r,o){return"function"==typeof r?new d(this):this.map(function(f){return Ze(f,r,o)})}),d.prototype.reject=function(r){return this.filter(Eu(Sn(r)))},d.prototype.slice=function(r,o){r=Hn(r);var f=this;return f.__filtered__&&(r>0||o<0)?new d(f):(r<0?f=f.takeRight(-r):r&&(f=f.drop(r)),o!==_&&(f=(o=Hn(o))<0?f.dropRight(-o):f.take(o-r)),f)},d.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},d.prototype.toArray=function(){return this.take(rr)},xs(d.prototype,function(r,o){var f=/^(?:filter|find|map|reject)|While$/.test(o),E=/^(?:head|last)$/.test(o),R=j[E?"take"+("last"==o?"Right":""):o],W=E||/^find/.test(o);!R||(j.prototype[o]=function(){var fe=this.__wrapped__,be=E?[1]:arguments,Ie=fe instanceof d,ot=be[0],at=Ie||Un(fe),ht=function(nr){var fr=R.apply(j,$n([nr],be));return E&&Lt?fr[0]:fr};at&&f&&"function"==typeof ot&&1!=ot.length&&(Ie=at=!1);var Lt=this.__chain__,sn=!!this.__actions__.length,wn=W&&!Lt,qn=Ie&&!sn;if(!W&&at){fe=qn?fe:new d(this);var bn=r.apply(fe,be);return bn.__actions__.push({func:Bl,args:[ht],thisArg:_}),new p(bn,Lt)}return wn&&qn?r.apply(this,be):(bn=this.thru(ht),wn?E?bn.value()[0]:bn.value():bn)})}),Ge(["pop","push","shift","sort","splice","unshift"],function(r){var o=ma[r],f=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",E=/^(?:pop|shift)$/.test(r);j.prototype[r]=function(){var R=arguments;if(E&&!this.__chain__){var W=this.value();return o.apply(Un(W)?W:[],R)}return this[f](function(fe){return o.apply(Un(fe)?fe:[],R)})}}),xs(d.prototype,function(r,o){var f=j[o];if(f){var E=f.name+"";Qn.call(qs,E)||(qs[E]=[]),qs[E].push({name:o,func:f})}}),qs[Ta(_,2).name]=[{name:"wrapper",func:_}],d.prototype.clone=function b(){var r=new d(this.__wrapped__);return r.__actions__=fs(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=fs(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=fs(this.__views__),r},d.prototype.reverse=function P(){if(this.__filtered__){var r=new d(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},d.prototype.value=function B(){var r=this.__wrapped__.value(),o=this.__dir__,f=Un(r),E=o<0,R=f?r.length:0,W=function gp(r,o,f){for(var E=-1,R=f.length;++E<R;){var W=f[E],fe=W.size;switch(W.type){case"drop":r+=fe;break;case"dropRight":o-=fe;break;case"take":o=Hr(o,r+fe);break;case"takeRight":r=Ur(r,o-fe)}}return{start:r,end:o}}(0,R,this.__views__),fe=W.start,be=W.end,Ie=be-fe,ot=E?be:fe-1,at=this.__iteratees__,ht=at.length,Lt=0,sn=Hr(Ie,this.__takeCount__);if(!f||!E&&R==Ie&&sn==Ie)return Ol(r,this.__actions__);var wn=[];e:for(;Ie--&&Lt<sn;){for(var qn=-1,bn=r[ot+=o];++qn<ht;){var nr=at[qn],Ri=nr.type,Wi=(0,nr.iteratee)(bn);if(2==Ri)bn=Wi;else if(!Wi){if(1==Ri)continue e;break e}}wn[Lt++]=bn}return wn},j.prototype.at=od,j.prototype.chain=function n_(){return wu(this)},j.prototype.commit=function Vp(){return new p(this.value(),this.__chain__)},j.prototype.next=function Bp(){this.__values__===_&&(this.__values__=wd(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?_:this.__values__[this.__index__++]}},j.prototype.plant=function Hp(r){for(var o,f=this;f instanceof y;){var E=Yc(f);E.__index__=0,E.__values__=_,o?R.__wrapped__=E:o=E;var R=E;f=f.__wrapped__}return R.__wrapped__=r,o},j.prototype.reverse=function $f(){var r=this.__wrapped__;if(r instanceof d){var o=r;return this.__actions__.length&&(o=new d(this)),(o=o.reverse()).__actions__.push({func:Bl,args:[rc],thisArg:_}),new p(o,this.__chain__)}return this.thru(rc)},j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=function r_(){return Ol(this.__wrapped__,this.__actions__)},j.prototype.first=j.prototype.head,co&&(j.prototype[co]=function Up(){return this}),j}();Lr._=Yo,(l=function(){return Yo}.call(K,x,K,xe))!==_&&(xe.exports=l)}.call(this)},8448:(xe,K,x)=>{var l=x(5171),_=x(2315),re=x(4401),J=x(3943);xe.exports=function Y(Z,te,ae){Z=J(Z);var ve=(te=re(te))?_(Z):0;return te&&ve<te?l(te-ve,ae)+Z:Z}},1978:(xe,K,x)=>{var _=x(1491)(function(re,J,Y){return re+(Y?"_":"")+J.toLowerCase()});xe.exports=_},2232:(xe,K,x)=>{var l=x(1467),_=1/0;xe.exports=function J(Y){return Y?(Y=l(Y))===_||Y===-_?17976931348623157e292*(Y<0?-1:1):Y==Y?Y:0:0===Y?Y:0}},4401:(xe,K,x)=>{var l=x(2232);xe.exports=function _(re){var J=l(re),Y=J%1;return J==J?Y?J-Y:J:0}},1467:(xe,K,x)=>{var l=x(3348),_=x(5940),re=x(4129),Y=/^[-+]0x[0-9a-f]+$/i,Z=/^0b[01]+$/i,te=/^0o[0-7]+$/i,ae=parseInt;xe.exports=function ve($){if("number"==typeof $)return $;if(re($))return NaN;if(_($)){var q="function"==typeof $.valueOf?$.valueOf():$;$=_(q)?q+"":q}if("string"!=typeof $)return 0===$?$:+$;$=l($);var le=Z.test($);return le||te.test($)?ae($.slice(2),le?2:8):Y.test($)?NaN:+$}},3943:(xe,K,x)=>{var l=x(3935);xe.exports=function _(re){return null==re?"":l(re)}},7188:(xe,K,x)=>{var l=x(69),_=x(9062),re=x(3943),J=x(910);xe.exports=function Y(Z,te,ae){return Z=re(Z),void 0===(te=ae?void 0:te)?_(Z)?J(Z):l(Z):Z.match(te)||[]}},1869:(xe,K,x)=>{"use strict";x.d(K,{d:()=>_});var l=x(3489);class _ extends l.L{constructor(J,Y,Z){super(),this.parent=J,this.outerValue=Y,this.outerIndex=Z,this.index=0}_next(J){this.parent.notifyNext(this.outerValue,J,this.outerIndex,this.index++,this)}_error(J){this.parent.notifyError(J,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(xe,K,x)=>{"use strict";x.d(K,{y:()=>q});var l=x(3489),re=x(7668),J=x(3292),Z=x(3821),te=x(5379);var $=x(2830);let q=(()=>{class ue{constructor(ne){this._isScalar=!1,ne&&(this._subscribe=ne)}lift(ne){const Se=new ue;return Se.source=this,Se.operator=ne,Se}subscribe(ne,Se,Fe){const{operator:mt}=this,We=function Y(ue,Ve,ne){if(ue){if(ue instanceof l.L)return ue;if(ue[re.b])return ue[re.b]()}return ue||Ve||ne?new l.L(ue,Ve,ne):new l.L(J.c)}(ne,Se,Fe);if(We.add(mt?mt.call(We,this.source):this.source||$.v.useDeprecatedSynchronousErrorHandling&&!We.syncErrorThrowable?this._subscribe(We):this._trySubscribe(We)),$.v.useDeprecatedSynchronousErrorHandling&&We.syncErrorThrowable&&(We.syncErrorThrowable=!1,We.syncErrorThrown))throw We.syncErrorValue;return We}_trySubscribe(ne){try{return this._subscribe(ne)}catch(Se){$.v.useDeprecatedSynchronousErrorHandling&&(ne.syncErrorThrown=!0,ne.syncErrorValue=Se),function _(ue){for(;ue;){const{closed:Ve,destination:ne,isStopped:Se}=ue;if(Ve||Se)return!1;ue=ne&&ne instanceof l.L?ne:null}return!0}(ne)?ne.error(Se):console.warn(Se)}}forEach(ne,Se){return new(Se=le(Se))((Fe,mt)=>{let We;We=this.subscribe($e=>{try{ne($e)}catch(rt){mt(rt),We&&We.unsubscribe()}},mt,Fe)})}_subscribe(ne){const{source:Se}=this;return Se&&Se.subscribe(ne)}[Z.L](){return this}pipe(...ne){return 0===ne.length?this:function ve(ue){return 0===ue.length?te.y:1===ue.length?ue[0]:function(ne){return ue.reduce((Se,Fe)=>Fe(Se),ne)}}(ne)(this)}toPromise(ne){return new(ne=le(ne))((Se,Fe)=>{let mt;this.subscribe(We=>mt=We,We=>Fe(We),()=>Se(mt))})}}return ue.create=Ve=>new ue(Ve),ue})();function le(ue){if(ue||(ue=$.v.Promise||Promise),!ue)throw new Error("no Promise impl found");return ue}},3292:(xe,K,x)=>{"use strict";x.d(K,{c:()=>re});var l=x(2830),_=x(2782);const re={closed:!0,next(J){},error(J){if(l.v.useDeprecatedSynchronousErrorHandling)throw J;(0,_.z)(J)},complete(){}}},826:(xe,K,x)=>{"use strict";x.d(K,{L:()=>_});var l=x(3489);class _ extends l.L{notifyNext(J,Y,Z,te,ae){this.destination.next(Y)}notifyError(J,Y){this.destination.error(J)}notifyComplete(J){this.destination.complete()}}},5529:(xe,K,x)=>{"use strict";x.d(K,{xQ:()=>ae,Yc:()=>te});var l=x(2916),_=x(3489),re=x(2654),J=x(5279);class Y extends re.w{constructor(q,le){super(),this.subject=q,this.subscriber=le,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const q=this.subject,le=q.observers;if(this.subject=null,!le||0===le.length||q.isStopped||q.closed)return;const ue=le.indexOf(this.subscriber);-1!==ue&&le.splice(ue,1)}}var Z=x(7668);class te extends _.L{constructor(q){super(q),this.destination=q}}let ae=(()=>{class $ extends l.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Z.b](){return new te(this)}lift(le){const ue=new ve(this,this);return ue.operator=le,ue}next(le){if(this.closed)throw new J.N;if(!this.isStopped){const{observers:ue}=this,Ve=ue.length,ne=ue.slice();for(let Se=0;Se<Ve;Se++)ne[Se].next(le)}}error(le){if(this.closed)throw new J.N;this.hasError=!0,this.thrownError=le,this.isStopped=!0;const{observers:ue}=this,Ve=ue.length,ne=ue.slice();for(let Se=0;Se<Ve;Se++)ne[Se].error(le);this.observers.length=0}complete(){if(this.closed)throw new J.N;this.isStopped=!0;const{observers:le}=this,ue=le.length,Ve=le.slice();for(let ne=0;ne<ue;ne++)Ve[ne].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(le){if(this.closed)throw new J.N;return super._trySubscribe(le)}_subscribe(le){if(this.closed)throw new J.N;return this.hasError?(le.error(this.thrownError),re.w.EMPTY):this.isStopped?(le.complete(),re.w.EMPTY):(this.observers.push(le),new Y(this,le))}asObservable(){const le=new l.y;return le.source=this,le}}return $.create=(q,le)=>new ve(q,le),$})();class ve extends ae{constructor(q,le){super(),this.destination=q,this.source=le}next(q){const{destination:le}=this;le&&le.next&&le.next(q)}error(q){const{destination:le}=this;le&&le.error&&this.destination.error(q)}complete(){const{destination:q}=this;q&&q.complete&&this.destination.complete()}_subscribe(q){const{source:le}=this;return le?this.source.subscribe(q):re.w.EMPTY}}},3489:(xe,K,x)=>{"use strict";x.d(K,{L:()=>te});var l=x(7043),_=x(3292),re=x(2654),J=x(7668),Y=x(2830),Z=x(2782);class te extends re.w{constructor($,q,le){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=_.c;break;case 1:if(!$){this.destination=_.c;break}if("object"==typeof $){$ instanceof te?(this.syncErrorThrowable=$.syncErrorThrowable,this.destination=$,$.add(this)):(this.syncErrorThrowable=!0,this.destination=new ae(this,$));break}default:this.syncErrorThrowable=!0,this.destination=new ae(this,$,q,le)}}[J.b](){return this}static create($,q,le){const ue=new te($,q,le);return ue.syncErrorThrowable=!1,ue}next($){this.isStopped||this._next($)}error($){this.isStopped||(this.isStopped=!0,this._error($))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next($){this.destination.next($)}_error($){this.destination.error($),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:$}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=$,this}}class ae extends te{constructor($,q,le,ue){super(),this._parentSubscriber=$;let Ve,ne=this;(0,l.m)(q)?Ve=q:q&&(Ve=q.next,le=q.error,ue=q.complete,q!==_.c&&(ne=Object.create(q),(0,l.m)(ne.unsubscribe)&&this.add(ne.unsubscribe.bind(ne)),ne.unsubscribe=this.unsubscribe.bind(this))),this._context=ne,this._next=Ve,this._error=le,this._complete=ue}next($){if(!this.isStopped&&this._next){const{_parentSubscriber:q}=this;Y.v.useDeprecatedSynchronousErrorHandling&&q.syncErrorThrowable?this.__tryOrSetError(q,this._next,$)&&this.unsubscribe():this.__tryOrUnsub(this._next,$)}}error($){if(!this.isStopped){const{_parentSubscriber:q}=this,{useDeprecatedSynchronousErrorHandling:le}=Y.v;if(this._error)le&&q.syncErrorThrowable?(this.__tryOrSetError(q,this._error,$),this.unsubscribe()):(this.__tryOrUnsub(this._error,$),this.unsubscribe());else if(q.syncErrorThrowable)le?(q.syncErrorValue=$,q.syncErrorThrown=!0):(0,Z.z)($),this.unsubscribe();else{if(this.unsubscribe(),le)throw $;(0,Z.z)($)}}}complete(){if(!this.isStopped){const{_parentSubscriber:$}=this;if(this._complete){const q=()=>this._complete.call(this._context);Y.v.useDeprecatedSynchronousErrorHandling&&$.syncErrorThrowable?(this.__tryOrSetError($,q),this.unsubscribe()):(this.__tryOrUnsub(q),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub($,q){try{$.call(this._context,q)}catch(le){if(this.unsubscribe(),Y.v.useDeprecatedSynchronousErrorHandling)throw le;(0,Z.z)(le)}}__tryOrSetError($,q,le){if(!Y.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{q.call(this._context,le)}catch(ue){return Y.v.useDeprecatedSynchronousErrorHandling?($.syncErrorValue=ue,$.syncErrorThrown=!0,!0):((0,Z.z)(ue),!0)}return!1}_unsubscribe(){const{_parentSubscriber:$}=this;this._context=null,this._parentSubscriber=null,$.unsubscribe()}}},2654:(xe,K,x)=>{"use strict";x.d(K,{w:()=>Z});var l=x(6688),_=x(7830),re=x(7043);const Y=(()=>{function ae(ve){return Error.call(this),this.message=ve?`${ve.length} errors occurred during unsubscription:\n${ve.map(($,q)=>`${q+1}) ${$.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ve,this}return ae.prototype=Object.create(Error.prototype),ae})();class Z{constructor(ve){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,ve&&(this._unsubscribe=ve)}unsubscribe(){let ve;if(this.closed)return;let{_parentOrParents:$,_unsubscribe:q,_subscriptions:le}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,$ instanceof Z)$.remove(this);else if(null!==$)for(let ue=0;ue<$.length;++ue)$[ue].remove(this);if((0,re.m)(q))try{q.call(this)}catch(ue){ve=ue instanceof Y?te(ue.errors):[ue]}if((0,l.k)(le)){let ue=-1,Ve=le.length;for(;++ue<Ve;){const ne=le[ue];if((0,_.K)(ne))try{ne.unsubscribe()}catch(Se){ve=ve||[],Se instanceof Y?ve=ve.concat(te(Se.errors)):ve.push(Se)}}}if(ve)throw new Y(ve)}add(ve){let $=ve;if(!ve)return Z.EMPTY;switch(typeof ve){case"function":$=new Z(ve);case"object":if($===this||$.closed||"function"!=typeof $.unsubscribe)return $;if(this.closed)return $.unsubscribe(),$;if(!($ instanceof Z)){const ue=$;$=new Z,$._subscriptions=[ue]}break;default:throw new Error("unrecognized teardown "+ve+" added to Subscription.")}let{_parentOrParents:q}=$;if(null===q)$._parentOrParents=this;else if(q instanceof Z){if(q===this)return $;$._parentOrParents=[q,this]}else{if(-1!==q.indexOf(this))return $;q.push(this)}const le=this._subscriptions;return null===le?this._subscriptions=[$]:le.push($),$}remove(ve){const $=this._subscriptions;if($){const q=$.indexOf(ve);-1!==q&&$.splice(q,1)}}}var ae;function te(ae){return ae.reduce((ve,$)=>ve.concat($ instanceof Y?$.errors:$),[])}Z.EMPTY=((ae=new Z).closed=!0,ae)},2830:(xe,K,x)=>{"use strict";x.d(K,{v:()=>_});let l=!1;const _={Promise:void 0,set useDeprecatedSynchronousErrorHandling(re){if(re){const J=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+J.stack)}else l&&console.log("RxJS: Back to a better error behavior. Thank you. <3");l=re},get useDeprecatedSynchronousErrorHandling(){return l}}},1762:(xe,K,x)=>{"use strict";x.d(K,{N:()=>Z,c:()=>Y});var l=x(5529),_=x(2916),re=x(2654),J=x(4327);class Y extends _.y{constructor(q,le){super(),this.source=q,this.subjectFactory=le,this._refCount=0,this._isComplete=!1}_subscribe(q){return this.getSubject().subscribe(q)}getSubject(){const q=this._subject;return(!q||q.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let q=this._connection;return q||(this._isComplete=!1,q=this._connection=new re.w,q.add(this.source.subscribe(new te(this.getSubject(),this))),q.closed&&(this._connection=null,q=re.w.EMPTY)),q}refCount(){return(0,J.x)()(this)}}const Z=(()=>{const $=Y.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:$._subscribe},_isComplete:{value:$._isComplete,writable:!0},getSubject:{value:$.getSubject},connect:{value:$.connect},refCount:{value:$.refCount}}})();class te extends l.Yc{constructor(q,le){super(q),this.connectable=le}_error(q){this._unsubscribe(),super._error(q)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const q=this.connectable;if(q){this.connectable=null;const le=q._connection;q._refCount=0,q._subject=null,q._connection=null,le&&le.unsubscribe()}}}},5254:(xe,K,x)=>{"use strict";x.d(K,{D:()=>ne});var l=x(2916),_=x(9249),re=x(2654),J=x(3821),te=x(6454),ae=x(5430),q=x(8955),le=x(8515);function ne(Se,Fe){return Fe?function Ve(Se,Fe){if(null!=Se){if(function $(Se){return Se&&"function"==typeof Se[J.L]}(Se))return function Y(Se,Fe){return new l.y(mt=>{const We=new re.w;return We.add(Fe.schedule(()=>{const $e=Se[J.L]();We.add($e.subscribe({next(rt){We.add(Fe.schedule(()=>mt.next(rt)))},error(rt){We.add(Fe.schedule(()=>mt.error(rt)))},complete(){We.add(Fe.schedule(()=>mt.complete()))}}))})),We})}(Se,Fe);if((0,q.t)(Se))return function Z(Se,Fe){return new l.y(mt=>{const We=new re.w;return We.add(Fe.schedule(()=>Se.then($e=>{We.add(Fe.schedule(()=>{mt.next($e),We.add(Fe.schedule(()=>mt.complete()))}))},$e=>{We.add(Fe.schedule(()=>mt.error($e)))}))),We})}(Se,Fe);if((0,le.z)(Se))return(0,te.r)(Se,Fe);if(function ue(Se){return Se&&"function"==typeof Se[ae.hZ]}(Se)||"string"==typeof Se)return function ve(Se,Fe){if(!Se)throw new Error("Iterable cannot be null");return new l.y(mt=>{const We=new re.w;let $e;return We.add(()=>{$e&&"function"==typeof $e.return&&$e.return()}),We.add(Fe.schedule(()=>{$e=Se[ae.hZ](),We.add(Fe.schedule(function(){if(mt.closed)return;let rt,Ce;try{const _t=$e.next();rt=_t.value,Ce=_t.done}catch(_t){return void mt.error(_t)}Ce?mt.complete():(mt.next(rt),this.schedule())}))})),We})}(Se,Fe)}throw new TypeError((null!==Se&&typeof Se||Se)+" is not observable")}(Se,Fe):Se instanceof l.y?Se:new l.y((0,_.s)(Se))}},3009:(xe,K,x)=>{"use strict";x.d(K,{n:()=>J});var l=x(2916),_=x(3650),re=x(6454);function J(Y,Z){return Z?(0,re.r)(Y,Z):new l.y((0,_.V)(Y))}},7100:(xe,K,x)=>{"use strict";x.d(K,{F:()=>Y});var l=x(2916),_=x(353),re=x(6688);function Y(te=0,ae=_.P){return(!function J(te){return!(0,re.k)(te)&&te-parseFloat(te)+1>=0}(te)||te<0)&&(te=0),(!ae||"function"!=typeof ae.schedule)&&(ae=_.P),new l.y(ve=>(ve.add(ae.schedule(Z,te,{subscriber:ve,counter:0,period:te})),ve))}function Z(te){const{subscriber:ae,counter:ve,period:$}=te;ae.next(ve),this.schedule({subscriber:ae,counter:ve+1,period:$},$)}},6787:(xe,K,x)=>{"use strict";x.d(K,{T:()=>Y});var l=x(2916),_=x(2866),re=x(9146),J=x(3009);function Y(...Z){let te=Number.POSITIVE_INFINITY,ae=null,ve=Z[Z.length-1];return(0,_.K)(ve)?(ae=Z.pop(),Z.length>1&&"number"==typeof Z[Z.length-1]&&(te=Z.pop())):"number"==typeof ve&&(te=Z.pop()),null===ae&&1===Z.length&&Z[0]instanceof l.y?Z[0]:(0,re.J)(te)((0,J.n)(Z,ae))}},1086:(xe,K,x)=>{"use strict";x.d(K,{of:()=>J});var l=x(2866),_=x(3009),re=x(6454);function J(...Y){let Z=Y[Y.length-1];return(0,l.K)(Z)?(Y.pop(),(0,re.r)(Y,Z)):(0,_.n)(Y)}},1406:(xe,K,x)=>{"use strict";x.d(K,{b:()=>_});var l=x(1709);function _(re,J){return(0,l.zg)(re,J,1)}},2198:(xe,K,x)=>{"use strict";x.d(K,{h:()=>_});var l=x(3489);function _(Y,Z){return function(ae){return ae.lift(new re(Y,Z))}}class re{constructor(Z,te){this.predicate=Z,this.thisArg=te}call(Z,te){return te.subscribe(new J(Z,this.predicate,this.thisArg))}}class J extends l.L{constructor(Z,te,ae){super(Z),this.predicate=te,this.thisArg=ae,this.count=0}_next(Z){let te;try{te=this.predicate.call(this.thisArg,Z,this.count++)}catch(ae){return void this.destination.error(ae)}te&&this.destination.next(Z)}}},537:(xe,K,x)=>{"use strict";x.d(K,{x:()=>re});var l=x(3489),_=x(2654);function re(Z){return te=>te.lift(new J(Z))}class J{constructor(te){this.callback=te}call(te,ae){return ae.subscribe(new Y(te,this.callback))}}class Y extends l.L{constructor(te,ae){super(te),this.add(new _.w(ae))}}},4850:(xe,K,x)=>{"use strict";x.d(K,{U:()=>_});var l=x(3489);function _(Y,Z){return function(ae){if("function"!=typeof Y)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return ae.lift(new re(Y,Z))}}class re{constructor(Z,te){this.project=Z,this.thisArg=te}call(Z,te){return te.subscribe(new J(Z,this.project,this.thisArg))}}class J extends l.L{constructor(Z,te,ae){super(Z),this.project=te,this.count=0,this.thisArg=ae||this}_next(Z){let te;try{te=this.project.call(this.thisArg,Z,this.count++)}catch(ae){return void this.destination.error(ae)}this.destination.next(te)}}},9146:(xe,K,x)=>{"use strict";x.d(K,{J:()=>re});var l=x(1709),_=x(5379);function re(J=Number.POSITIVE_INFINITY){return(0,l.zg)(_.y,J)}},1709:(xe,K,x)=>{"use strict";x.d(K,{zg:()=>Z});var l=x(9054),_=x(826),re=x(1869),J=x(4850),Y=x(5254);function Z(ve,$,q=Number.POSITIVE_INFINITY){return"function"==typeof $?le=>le.pipe(Z((ue,Ve)=>(0,Y.D)(ve(ue,Ve)).pipe((0,J.U)((ne,Se)=>$(ue,ne,Ve,Se))),q)):("number"==typeof $&&(q=$),le=>le.lift(new te(ve,q)))}class te{constructor($,q=Number.POSITIVE_INFINITY){this.project=$,this.concurrent=q}call($,q){return q.subscribe(new ae($,this.project,this.concurrent))}}class ae extends _.L{constructor($,q,le=Number.POSITIVE_INFINITY){super($),this.project=q,this.concurrent=le,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next($){this.active<this.concurrent?this._tryNext($):this.buffer.push($)}_tryNext($){let q;const le=this.index++;try{q=this.project($,le)}catch(ue){return void this.destination.error(ue)}this.active++,this._innerSub(q,$,le)}_innerSub($,q,le){const ue=new re.d(this,q,le),Ve=this.destination;Ve.add(ue);const ne=(0,l.D)(this,$,void 0,void 0,ue);ne!==ue&&Ve.add(ne)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext($,q,le,ue,Ve){this.destination.next(q)}notifyComplete($){const q=this.buffer;this.remove($),this.active--,q.length>0?this._next(q.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(xe,K,x)=>{"use strict";x.d(K,{x:()=>_});var l=x(3489);function _(){return function(Z){return Z.lift(new re(Z))}}class re{constructor(Z){this.connectable=Z}call(Z,te){const{connectable:ae}=this;ae._refCount++;const ve=new J(Z,ae),$=te.subscribe(ve);return ve.closed||(ve.connection=ae.connect()),$}}class J extends l.L{constructor(Z,te){super(Z),this.connectable=te}_unsubscribe(){const{connectable:Z}=this;if(!Z)return void(this.connection=null);this.connectable=null;const te=Z._refCount;if(te<=0)return void(this.connection=null);if(Z._refCount=te-1,te>1)return void(this.connection=null);const{connection:ae}=this,ve=Z._connection;this.connection=null,ve&&(!ae||ve===ae)&&ve.unsubscribe()}}},6454:(xe,K,x)=>{"use strict";x.d(K,{r:()=>re});var l=x(2916),_=x(2654);function re(J,Y){return new l.y(Z=>{const te=new _.w;let ae=0;return te.add(Y.schedule(function(){ae!==J.length?(Z.next(J[ae++]),Z.closed||te.add(this.schedule())):Z.complete()})),te})}},6686:(xe,K,x)=>{"use strict";x.d(K,{o:()=>re});var l=x(2654);class _ extends l.w{constructor(Y,Z){super()}schedule(Y,Z=0){return this}}class re extends _{constructor(Y,Z){super(Y,Z),this.scheduler=Y,this.work=Z,this.pending=!1}schedule(Y,Z=0){if(this.closed)return this;this.state=Y;const te=this.id,ae=this.scheduler;return null!=te&&(this.id=this.recycleAsyncId(ae,te,Z)),this.pending=!0,this.delay=Z,this.id=this.id||this.requestAsyncId(ae,this.id,Z),this}requestAsyncId(Y,Z,te=0){return setInterval(Y.flush.bind(Y,this),te)}recycleAsyncId(Y,Z,te=0){if(null!==te&&this.delay===te&&!1===this.pending)return Z;clearInterval(Z)}execute(Y,Z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(Y,Z);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Y,Z){let ae,te=!1;try{this.work(Y)}catch(ve){te=!0,ae=!!ve&&ve||new Error(ve)}if(te)return this.unsubscribe(),ae}_unsubscribe(){const Y=this.id,Z=this.scheduler,te=Z.actions,ae=te.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==ae&&te.splice(ae,1),null!=Y&&(this.id=this.recycleAsyncId(Z,Y,null)),this.delay=null}}},2268:(xe,K,x)=>{"use strict";x.d(K,{v:()=>_});let l=(()=>{class re{constructor(Y,Z=re.now){this.SchedulerAction=Y,this.now=Z}schedule(Y,Z=0,te){return new this.SchedulerAction(this,Y).schedule(te,Z)}}return re.now=()=>Date.now(),re})();class _ extends l{constructor(J,Y=l.now){super(J,()=>_.delegate&&_.delegate!==this?_.delegate.now():Y()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(J,Y=0,Z){return _.delegate&&_.delegate!==this?_.delegate.schedule(J,Y,Z):super.schedule(J,Y,Z)}flush(J){const{actions:Y}=this;if(this.active)return void Y.push(J);let Z;this.active=!0;do{if(Z=J.execute(J.state,J.delay))break}while(J=Y.shift());if(this.active=!1,Z){for(;J=Y.shift();)J.unsubscribe();throw Z}}}},353:(xe,K,x)=>{"use strict";x.d(K,{P:()=>re});var l=x(6686);const re=new(x(2268).v)(l.o)},5430:(xe,K,x)=>{"use strict";x.d(K,{hZ:()=>_});const _=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(xe,K,x)=>{"use strict";x.d(K,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(xe,K,x)=>{"use strict";x.d(K,{b:()=>l});const l="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(xe,K,x)=>{"use strict";x.d(K,{N:()=>_});const _=(()=>{function re(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return re.prototype=Object.create(Error.prototype),re})()},2782:(xe,K,x)=>{"use strict";function l(_){setTimeout(()=>{throw _},0)}x.d(K,{z:()=>l})},5379:(xe,K,x)=>{"use strict";function l(_){return _}x.d(K,{y:()=>l})},6688:(xe,K,x)=>{"use strict";x.d(K,{k:()=>l});const l=Array.isArray||(_=>_&&"number"==typeof _.length)},8515:(xe,K,x)=>{"use strict";x.d(K,{z:()=>l});const l=_=>_&&"number"==typeof _.length&&"function"!=typeof _},7043:(xe,K,x)=>{"use strict";function l(_){return"function"==typeof _}x.d(K,{m:()=>l})},7830:(xe,K,x)=>{"use strict";function l(_){return null!==_&&"object"==typeof _}x.d(K,{K:()=>l})},8955:(xe,K,x)=>{"use strict";function l(_){return!!_&&"function"!=typeof _.subscribe&&"function"==typeof _.then}x.d(K,{t:()=>l})},2866:(xe,K,x)=>{"use strict";function l(_){return _&&"function"==typeof _.schedule}x.d(K,{K:()=>l})},9249:(xe,K,x)=>{"use strict";x.d(K,{s:()=>q});var l=x(3650),_=x(2782),J=x(5430),Z=x(3821),ae=x(8515),ve=x(8955),$=x(7830);const q=le=>{if(le&&"function"==typeof le[Z.L])return(le=>ue=>{const Ve=le[Z.L]();if("function"!=typeof Ve.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Ve.subscribe(ue)})(le);if((0,ae.z)(le))return(0,l.V)(le);if((0,ve.t)(le))return(le=>ue=>(le.then(Ve=>{ue.closed||(ue.next(Ve),ue.complete())},Ve=>ue.error(Ve)).then(null,_.z),ue))(le);if(le&&"function"==typeof le[J.hZ])return(le=>ue=>{const Ve=le[J.hZ]();for(;;){const ne=Ve.next();if(ne.done){ue.complete();break}if(ue.next(ne.value),ue.closed)break}return"function"==typeof Ve.return&&ue.add(()=>{Ve.return&&Ve.return()}),ue})(le);{const Ve=`You provided ${(0,$.K)(le)?"an invalid object":`'${le}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Ve)}}},3650:(xe,K,x)=>{"use strict";x.d(K,{V:()=>l});const l=_=>re=>{for(let J=0,Y=_.length;J<Y&&!re.closed;J++)re.next(_[J]);re.complete()}},9054:(xe,K,x)=>{"use strict";x.d(K,{D:()=>J});var l=x(1869),_=x(9249),re=x(2916);function J(Y,Z,te,ae,ve=new l.d(Y,te,ae)){if(!ve.closed)return Z instanceof re.y?Z.subscribe(ve):(0,_.s)(Z)(ve)}},8583:()=>{"use strict";!function(pe){const me=pe.performance;function ce(It){me&&me.mark&&me.mark(It)}function G(It,wt){me&&me.measure&&me.measure(It,wt)}ce("Zone");const z=pe.__Zone_symbol_prefix||"__zone_symbol__";function we(It){return z+It}const Pe=!0===pe[we("forceDuplicateZoneCheck")];if(pe.Zone){if(Pe||"function"!=typeof pe.Zone.__symbol__)throw new Error("Zone already loaded.");return pe.Zone}let De=(()=>{class It{constructor(de,Oe){this._parent=de,this._name=Oe?Oe.name||"unnamed":"<root>",this._properties=Oe&&Oe.properties||{},this._zoneDelegate=new Pt(this,this._parent&&this._parent._zoneDelegate,Oe)}static assertZonePatched(){if(pe.Promise!==Le.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 de=It.current;for(;de.parent;)de=de.parent;return de}static get current(){return X.zone}static get currentTask(){return Re}static __load_patch(de,Oe,jt=!1){if(Le.hasOwnProperty(de)){if(!jt&&Pe)throw Error("Already loaded patch: "+de)}else if(!pe["__Zone_disable_"+de]){const qt="Zone:"+de;ce(qt),Le[de]=Oe(pe,It,se),G(qt,qt)}}get parent(){return this._parent}get name(){return this._name}get(de){const Oe=this.getZoneWith(de);if(Oe)return Oe._properties[de]}getZoneWith(de){let Oe=this;for(;Oe;){if(Oe._properties.hasOwnProperty(de))return Oe;Oe=Oe._parent}return null}fork(de){if(!de)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,de)}wrap(de,Oe){if("function"!=typeof de)throw new Error("Expecting function got: "+de);const jt=this._zoneDelegate.intercept(this,de,Oe),qt=this;return function(){return qt.runGuarded(jt,this,arguments,Oe)}}run(de,Oe,jt,qt){X={parent:X,zone:this};try{return this._zoneDelegate.invoke(this,de,Oe,jt,qt)}finally{X=X.parent}}runGuarded(de,Oe=null,jt,qt){X={parent:X,zone:this};try{try{return this._zoneDelegate.invoke(this,de,Oe,jt,qt)}catch(Mn){if(this._zoneDelegate.handleError(this,Mn))throw Mn}}finally{X=X.parent}}runTask(de,Oe,jt){if(de.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(de.zone||Ht).name+"; Execution: "+this.name+")");if(de.state===mn&&(de.type===br||de.type===Zt))return;const qt=de.state!=Ft;qt&&de._transitionTo(Ft,xn),de.runCount++;const Mn=Re;Re=de,X={parent:X,zone:this};try{de.type==Zt&&de.data&&!de.data.isPeriodic&&(de.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,de,Oe,jt)}catch(ke){if(this._zoneDelegate.handleError(this,ke))throw ke}}finally{de.state!==mn&&de.state!==Ot&&(de.type==br||de.data&&de.data.isPeriodic?qt&&de._transitionTo(xn,Ft):(de.runCount=0,this._updateTaskCount(de,-1),qt&&de._transitionTo(mn,Ft,mn))),X=X.parent,Re=Mn}}scheduleTask(de){if(de.zone&&de.zone!==this){let jt=this;for(;jt;){if(jt===de.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${de.zone.name}`);jt=jt.parent}}de._transitionTo(Wn,mn);const Oe=[];de._zoneDelegates=Oe,de._zone=this;try{de=this._zoneDelegate.scheduleTask(this,de)}catch(jt){throw de._transitionTo(Ot,Wn,mn),this._zoneDelegate.handleError(this,jt),jt}return de._zoneDelegates===Oe&&this._updateTaskCount(de,1),de.state==Wn&&de._transitionTo(xn,Wn),de}scheduleMicroTask(de,Oe,jt,qt){return this.scheduleTask(new st(Dn,de,Oe,jt,qt,void 0))}scheduleMacroTask(de,Oe,jt,qt,Mn){return this.scheduleTask(new st(Zt,de,Oe,jt,qt,Mn))}scheduleEventTask(de,Oe,jt,qt,Mn){return this.scheduleTask(new st(br,de,Oe,jt,qt,Mn))}cancelTask(de){if(de.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(de.zone||Ht).name+"; Execution: "+this.name+")");de._transitionTo(yn,xn,Ft);try{this._zoneDelegate.cancelTask(this,de)}catch(Oe){throw de._transitionTo(Ot,yn),this._zoneDelegate.handleError(this,Oe),Oe}return this._updateTaskCount(de,-1),de._transitionTo(mn,yn),de.runCount=0,de}_updateTaskCount(de,Oe){const jt=de._zoneDelegates;-1==Oe&&(de._zoneDelegates=null);for(let qt=0;qt<jt.length;qt++)jt[qt]._updateTaskCount(de.type,Oe)}}return It.__symbol__=we,It})();const Ye={name:"",onHasTask:(It,wt,de,Oe)=>It.hasTask(de,Oe),onScheduleTask:(It,wt,de,Oe)=>It.scheduleTask(de,Oe),onInvokeTask:(It,wt,de,Oe,jt,qt)=>It.invokeTask(de,Oe,jt,qt),onCancelTask:(It,wt,de,Oe)=>It.cancelTask(de,Oe)};class Pt{constructor(wt,de,Oe){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=wt,this._parentDelegate=de,this._forkZS=Oe&&(Oe&&Oe.onFork?Oe:de._forkZS),this._forkDlgt=Oe&&(Oe.onFork?de:de._forkDlgt),this._forkCurrZone=Oe&&(Oe.onFork?this.zone:de._forkCurrZone),this._interceptZS=Oe&&(Oe.onIntercept?Oe:de._interceptZS),this._interceptDlgt=Oe&&(Oe.onIntercept?de:de._interceptDlgt),this._interceptCurrZone=Oe&&(Oe.onIntercept?this.zone:de._interceptCurrZone),this._invokeZS=Oe&&(Oe.onInvoke?Oe:de._invokeZS),this._invokeDlgt=Oe&&(Oe.onInvoke?de:de._invokeDlgt),this._invokeCurrZone=Oe&&(Oe.onInvoke?this.zone:de._invokeCurrZone),this._handleErrorZS=Oe&&(Oe.onHandleError?Oe:de._handleErrorZS),this._handleErrorDlgt=Oe&&(Oe.onHandleError?de:de._handleErrorDlgt),this._handleErrorCurrZone=Oe&&(Oe.onHandleError?this.zone:de._handleErrorCurrZone),this._scheduleTaskZS=Oe&&(Oe.onScheduleTask?Oe:de._scheduleTaskZS),this._scheduleTaskDlgt=Oe&&(Oe.onScheduleTask?de:de._scheduleTaskDlgt),this._scheduleTaskCurrZone=Oe&&(Oe.onScheduleTask?this.zone:de._scheduleTaskCurrZone),this._invokeTaskZS=Oe&&(Oe.onInvokeTask?Oe:de._invokeTaskZS),this._invokeTaskDlgt=Oe&&(Oe.onInvokeTask?de:de._invokeTaskDlgt),this._invokeTaskCurrZone=Oe&&(Oe.onInvokeTask?this.zone:de._invokeTaskCurrZone),this._cancelTaskZS=Oe&&(Oe.onCancelTask?Oe:de._cancelTaskZS),this._cancelTaskDlgt=Oe&&(Oe.onCancelTask?de:de._cancelTaskDlgt),this._cancelTaskCurrZone=Oe&&(Oe.onCancelTask?this.zone:de._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const jt=Oe&&Oe.onHasTask;(jt||de&&de._hasTaskZS)&&(this._hasTaskZS=jt?Oe:Ye,this._hasTaskDlgt=de,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=wt,Oe.onScheduleTask||(this._scheduleTaskZS=Ye,this._scheduleTaskDlgt=de,this._scheduleTaskCurrZone=this.zone),Oe.onInvokeTask||(this._invokeTaskZS=Ye,this._invokeTaskDlgt=de,this._invokeTaskCurrZone=this.zone),Oe.onCancelTask||(this._cancelTaskZS=Ye,this._cancelTaskDlgt=de,this._cancelTaskCurrZone=this.zone))}fork(wt,de){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,wt,de):new De(wt,de)}intercept(wt,de,Oe){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,wt,de,Oe):de}invoke(wt,de,Oe,jt,qt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,wt,de,Oe,jt,qt):de.apply(Oe,jt)}handleError(wt,de){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,wt,de)}scheduleTask(wt,de){let Oe=de;if(this._scheduleTaskZS)this._hasTaskZS&&Oe._zoneDelegates.push(this._hasTaskDlgtOwner),Oe=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,wt,de),Oe||(Oe=de);else if(de.scheduleFn)de.scheduleFn(de);else{if(de.type!=Dn)throw new Error("Task is missing scheduleFn.");un(de)}return Oe}invokeTask(wt,de,Oe,jt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,wt,de,Oe,jt):de.callback.apply(Oe,jt)}cancelTask(wt,de){let Oe;if(this._cancelTaskZS)Oe=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,wt,de);else{if(!de.cancelFn)throw Error("Task is not cancelable");Oe=de.cancelFn(de)}return Oe}hasTask(wt,de){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,wt,de)}catch(Oe){this.handleError(wt,Oe)}}_updateTaskCount(wt,de){const Oe=this._taskCounts,jt=Oe[wt],qt=Oe[wt]=jt+de;if(qt<0)throw new Error("More tasks executed then were scheduled.");0!=jt&&0!=qt||this.hasTask(this.zone,{microTask:Oe.microTask>0,macroTask:Oe.macroTask>0,eventTask:Oe.eventTask>0,change:wt})}}class st{constructor(wt,de,Oe,jt,qt,Mn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=wt,this.source=de,this.data=jt,this.scheduleFn=qt,this.cancelFn=Mn,!Oe)throw new Error("callback is not defined");this.callback=Oe;const ke=this;this.invoke=wt===br&&jt&&jt.useG?st.invokeTask:function(){return st.invokeTask.call(pe,ke,this,arguments)}}static invokeTask(wt,de,Oe){wt||(wt=this),Qe++;try{return wt.runCount++,wt.zone.runTask(wt,de,Oe)}finally{1==Qe&>(),Qe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(mn,Wn)}_transitionTo(wt,de,Oe){if(this._state!==de&&this._state!==Oe)throw new Error(`${this.type} '${this.source}': can not transition to '${wt}', expecting state '${de}'${Oe?" or '"+Oe+"'":""}, was '${this._state}'.`);this._state=wt,wt==mn&&(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 vt=we("setTimeout"),yt=we("Promise"),Ut=we("then");let Rt,Qt=[],bt=!1;function Wt(It){if(Rt||pe[yt]&&(Rt=pe[yt].resolve(0)),Rt){let wt=Rt[Ut];wt||(wt=Rt.then),wt.call(Rt,It)}else pe[vt](It,0)}function un(It){0===Qe&&0===Qt.length&&Wt(gt),It&&Qt.push(It)}function gt(){if(!bt){for(bt=!0;Qt.length;){const It=Qt;Qt=[];for(let wt=0;wt<It.length;wt++){const de=It[wt];try{de.zone.runTask(de,null,null)}catch(Oe){se.onUnhandledError(Oe)}}}se.microtaskDrainDone(),bt=!1}}const Ht={name:"NO ZONE"},mn="notScheduled",Wn="scheduling",xn="scheduled",Ft="running",yn="canceling",Ot="unknown",Dn="microTask",Zt="macroTask",br="eventTask",Le={},se={symbol:we,currentZoneFrame:()=>X,onUnhandledError:Et,microtaskDrainDone:Et,scheduleMicroTask:un,showUncaughtError:()=>!De[we("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Et,patchMethod:()=>Et,bindArguments:()=>[],patchThen:()=>Et,patchMacroTask:()=>Et,patchEventPrototype:()=>Et,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Et,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Et,wrapWithCurrentZone:()=>Et,filterProperties:()=>[],attachOriginToPatched:()=>Et,_redefineProperty:()=>Et,patchCallbacks:()=>Et,nativeScheduleMicroTask:Wt};let X={parent:null,zone:new De(null,null)},Re=null,Qe=0;function Et(){}G("Zone","Zone"),pe.Zone=De}(typeof window<"u"&&window||typeof self<"u"&&self||global);const xe=Object.getOwnPropertyDescriptor,K=Object.defineProperty,x=Object.getPrototypeOf,l=Object.create,_=Array.prototype.slice,re="addEventListener",J="removeEventListener",Y=Zone.__symbol__(re),Z=Zone.__symbol__(J),te="true",ae="false",ve=Zone.__symbol__("");function $(pe,me){return Zone.current.wrap(pe,me)}function q(pe,me,ce,G,z){return Zone.current.scheduleMacroTask(pe,me,ce,G,z)}const le=Zone.__symbol__,ue=typeof window<"u",Ve=ue?window:void 0,ne=ue&&Ve||"object"==typeof self&&self||global;function Fe(pe,me){for(let ce=pe.length-1;ce>=0;ce--)"function"==typeof pe[ce]&&(pe[ce]=$(pe[ce],me+"_"+ce));return pe}function We(pe){return!pe||!1!==pe.writable&&!("function"==typeof pe.get&&typeof pe.set>"u")}const $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,rt=!("nw"in ne)&&typeof ne.process<"u"&&"[object process]"==={}.toString.call(ne.process),Ce=!rt&&!$e&&!(!ue||!Ve.HTMLElement),_t=typeof ne.process<"u"&&"[object process]"==={}.toString.call(ne.process)&&!$e&&!(!ue||!Ve.HTMLElement),Ct={},gn=function(pe){if(!(pe=pe||ne.event))return;let me=Ct[pe.type];me||(me=Ct[pe.type]=le("ON_PROPERTY"+pe.type));const ce=this||pe.target||ne,G=ce[me];let z;if(Ce&&ce===Ve&&"error"===pe.type){const we=pe;z=G&&G.call(this,we.message,we.filename,we.lineno,we.colno,we.error),!0===z&&pe.preventDefault()}else z=G&&G.apply(this,arguments),null!=z&&!z&&pe.preventDefault();return z};function on(pe,me,ce){let G=xe(pe,me);if(!G&&ce&&xe(ce,me)&&(G={enumerable:!0,configurable:!0}),!G||!G.configurable)return;const z=le("on"+me+"patched");if(pe.hasOwnProperty(z)&&pe[z])return;delete G.writable,delete G.value;const we=G.get,Pe=G.set,De=me.slice(2);let Ye=Ct[De];Ye||(Ye=Ct[De]=le("ON_PROPERTY"+De)),G.set=function(Pt){let st=this;!st&&pe===ne&&(st=ne),st&&("function"==typeof st[Ye]&&st.removeEventListener(De,gn),Pe&&Pe.call(st,null),st[Ye]=Pt,"function"==typeof Pt&&st.addEventListener(De,gn,!1))},G.get=function(){let Pt=this;if(!Pt&&pe===ne&&(Pt=ne),!Pt)return null;const st=Pt[Ye];if(st)return st;if(we){let vt=we.call(this);if(vt)return G.set.call(this,vt),"function"==typeof Pt.removeAttribute&&Pt.removeAttribute(me),vt}return null},K(pe,me,G),pe[z]=!0}function en(pe,me,ce){if(me)for(let G=0;G<me.length;G++)on(pe,"on"+me[G],ce);else{const G=[];for(const z in pe)"on"==z.slice(0,2)&&G.push(z);for(let z=0;z<G.length;z++)on(pe,G[z],ce)}}const Ee=le("originalInstance");function lt(pe){const me=ne[pe];if(!me)return;ne[le(pe)]=me,ne[pe]=function(){const z=Fe(arguments,pe);switch(z.length){case 0:this[Ee]=new me;break;case 1:this[Ee]=new me(z[0]);break;case 2:this[Ee]=new me(z[0],z[1]);break;case 3:this[Ee]=new me(z[0],z[1],z[2]);break;case 4:this[Ee]=new me(z[0],z[1],z[2],z[3]);break;default:throw new Error("Arg list too long.")}},Be(ne[pe],me);const ce=new me(function(){});let G;for(G in ce)"XMLHttpRequest"===pe&&"responseBlob"===G||function(z){"function"==typeof ce[z]?ne[pe].prototype[z]=function(){return this[Ee][z].apply(this[Ee],arguments)}:K(ne[pe].prototype,z,{set:function(we){"function"==typeof we?(this[Ee][z]=$(we,pe+"."+z),Be(this[Ee][z],we)):this[Ee][z]=we},get:function(){return this[Ee][z]}})}(G);for(G in me)"prototype"!==G&&me.hasOwnProperty(G)&&(ne[pe][G]=me[G])}function et(pe,me,ce){let G=pe;for(;G&&!G.hasOwnProperty(me);)G=x(G);!G&&pe[me]&&(G=pe);const z=le(me);let we=null;if(G&&(!(we=G[z])||!G.hasOwnProperty(z))&&(we=G[z]=G[me],We(G&&xe(G,me)))){const De=ce(we,z,me);G[me]=function(){return De(this,arguments)},Be(G[me],we)}return we}function ze(pe,me,ce){let G=null;function z(we){const Pe=we.data;return Pe.args[Pe.cbIdx]=function(){we.invoke.apply(this,arguments)},G.apply(Pe.target,Pe.args),we}G=et(pe,me,we=>function(Pe,De){const Ye=ce(Pe,De);return Ye.cbIdx>=0&&"function"==typeof De[Ye.cbIdx]?q(Ye.name,De[Ye.cbIdx],Ye,z):we.apply(Pe,De)})}function Be(pe,me){pe[le("OriginalDelegate")]=me}let zt=!1,rn=!1;function ri(){if(zt)return rn;zt=!0;try{const pe=Ve.navigator.userAgent;(-1!==pe.indexOf("MSIE ")||-1!==pe.indexOf("Trident/")||-1!==pe.indexOf("Edge/"))&&(rn=!0)}catch{}return rn}Zone.__load_patch("ZoneAwarePromise",(pe,me,ce)=>{const G=Object.getOwnPropertyDescriptor,z=Object.defineProperty,Pe=ce.symbol,De=[],Ye=!0===pe[Pe("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Pt=Pe("Promise"),st=Pe("then");ce.onUnhandledError=ke=>{if(ce.showUncaughtError()){const He=ke&&ke.rejection;He?console.error("Unhandled Promise rejection:",He instanceof Error?He.message:He,"; Zone:",ke.zone.name,"; Task:",ke.task&&ke.task.source,"; Value:",He,He instanceof Error?He.stack:void 0):console.error(ke)}},ce.microtaskDrainDone=()=>{for(;De.length;){const ke=De.shift();try{ke.zone.runGuarded(()=>{throw ke.throwOriginal?ke.rejection:ke})}catch(He){Ut(He)}}};const yt=Pe("unhandledPromiseRejectionHandler");function Ut(ke){ce.onUnhandledError(ke);try{const He=me[yt];"function"==typeof He&&He.call(this,ke)}catch{}}function Qt(ke){return ke&&ke.then}function bt(ke){return ke}function Rt(ke){return de.reject(ke)}const Wt=Pe("state"),un=Pe("value"),gt=Pe("finally"),Ht=Pe("parentPromiseValue"),mn=Pe("parentPromiseState"),xn=null,yn=!1;function Dn(ke,He){return Ae=>{try{se(ke,He,Ae)}catch(pt){se(ke,!1,pt)}}}const Zt=function(){let ke=!1;return function(Ae){return function(){ke||(ke=!0,Ae.apply(null,arguments))}}},Le=Pe("currentTaskTrace");function se(ke,He,Ae){const pt=Zt();if(ke===Ae)throw new TypeError("Promise resolved with itself");if(ke[Wt]===xn){let Dt=null;try{("object"==typeof Ae||"function"==typeof Ae)&&(Dt=Ae&&Ae.then)}catch(Tt){return pt(()=>{se(ke,!1,Tt)})(),ke}if(He!==yn&&Ae instanceof de&&Ae.hasOwnProperty(Wt)&&Ae.hasOwnProperty(un)&&Ae[Wt]!==xn)Re(Ae),se(ke,Ae[Wt],Ae[un]);else if(He!==yn&&"function"==typeof Dt)try{Dt.call(Ae,pt(Dn(ke,He)),pt(Dn(ke,!1)))}catch(Tt){pt(()=>{se(ke,!1,Tt)})()}else{ke[Wt]=He;const Tt=ke[un];if(ke[un]=Ae,ke[gt]===gt&&!0===He&&(ke[Wt]=ke[mn],ke[un]=ke[Ht]),He===yn&&Ae instanceof Error){const At=me.currentTask&&me.currentTask.data&&me.currentTask.data.__creationTrace__;At&&z(Ae,Le,{configurable:!0,enumerable:!1,writable:!0,value:At})}for(let At=0;At<Tt.length;)Qe(ke,Tt[At++],Tt[At++],Tt[At++],Tt[At++]);if(0==Tt.length&&He==yn){ke[Wt]=0;let At=Ae;try{throw new Error("Uncaught (in promise): "+function we(ke){return ke&&ke.toString===Object.prototype.toString?(ke.constructor&&ke.constructor.name||"")+": "+JSON.stringify(ke):ke?ke.toString():Object.prototype.toString.call(ke)}(Ae)+(Ae&&Ae.stack?"\n"+Ae.stack:""))}catch(Nt){At=Nt}Ye&&(At.throwOriginal=!0),At.rejection=Ae,At.promise=ke,At.zone=me.current,At.task=me.currentTask,De.push(At),ce.scheduleMicroTask()}}}return ke}const X=Pe("rejectionHandledHandler");function Re(ke){if(0===ke[Wt]){try{const He=me[X];He&&"function"==typeof He&&He.call(this,{rejection:ke[un],promise:ke})}catch{}ke[Wt]=yn;for(let He=0;He<De.length;He++)ke===De[He].promise&&De.splice(He,1)}}function Qe(ke,He,Ae,pt,Dt){Re(ke);const Tt=ke[Wt],At=Tt?"function"==typeof pt?pt:bt:"function"==typeof Dt?Dt:Rt;He.scheduleMicroTask("Promise.then",()=>{try{const Nt=ke[un],Xt=!!Ae&>===Ae[gt];Xt&&(Ae[Ht]=Nt,Ae[mn]=Tt);const an=He.run(At,void 0,Xt&&At!==Rt&&At!==bt?[]:[Nt]);se(Ae,!0,an)}catch(Nt){se(Ae,!1,Nt)}},Ae)}const It=function(){},wt=pe.AggregateError;class de{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(He){return se(new this(null),!0,He)}static reject(He){return se(new this(null),yn,He)}static any(He){if(!He||"function"!=typeof He[Symbol.iterator])return Promise.reject(new wt([],"All promises were rejected"));const Ae=[];let pt=0;try{for(let At of He)pt++,Ae.push(de.resolve(At))}catch{return Promise.reject(new wt([],"All promises were rejected"))}if(0===pt)return Promise.reject(new wt([],"All promises were rejected"));let Dt=!1;const Tt=[];return new de((At,Nt)=>{for(let Xt=0;Xt<Ae.length;Xt++)Ae[Xt].then(an=>{Dt||(Dt=!0,At(an))},an=>{Tt.push(an),pt--,0===pt&&(Dt=!0,Nt(new wt(Tt,"All promises were rejected")))})})}static race(He){let Ae,pt,Dt=new this((Nt,Xt)=>{Ae=Nt,pt=Xt});function Tt(Nt){Ae(Nt)}function At(Nt){pt(Nt)}for(let Nt of He)Qt(Nt)||(Nt=this.resolve(Nt)),Nt.then(Tt,At);return Dt}static all(He){return de.allWithCallback(He)}static allSettled(He){return(this&&this.prototype instanceof de?this:de).allWithCallback(He,{thenCallback:pt=>({status:"fulfilled",value:pt}),errorCallback:pt=>({status:"rejected",reason:pt})})}static allWithCallback(He,Ae){let pt,Dt,Tt=new this((an,xt)=>{pt=an,Dt=xt}),At=2,Nt=0;const Xt=[];for(let an of He){Qt(an)||(an=this.resolve(an));const xt=Nt;try{an.then(vn=>{Xt[xt]=Ae?Ae.thenCallback(vn):vn,At--,0===At&&pt(Xt)},vn=>{Ae?(Xt[xt]=Ae.errorCallback(vn),At--,0===At&&pt(Xt)):Dt(vn)})}catch(vn){Dt(vn)}At++,Nt++}return At-=2,0===At&&pt(Xt),Tt}constructor(He){const Ae=this;if(!(Ae instanceof de))throw new Error("Must be an instanceof Promise.");Ae[Wt]=xn,Ae[un]=[];try{const pt=Zt();He&&He(pt(Dn(Ae,!0)),pt(Dn(Ae,yn)))}catch(pt){se(Ae,!1,pt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return de}then(He,Ae){var pt;let Dt=null===(pt=this.constructor)||void 0===pt?void 0:pt[Symbol.species];(!Dt||"function"!=typeof Dt)&&(Dt=this.constructor||de);const Tt=new Dt(It),At=me.current;return this[Wt]==xn?this[un].push(At,Tt,He,Ae):Qe(this,At,Tt,He,Ae),Tt}catch(He){return this.then(null,He)}finally(He){var Ae;let pt=null===(Ae=this.constructor)||void 0===Ae?void 0:Ae[Symbol.species];(!pt||"function"!=typeof pt)&&(pt=de);const Dt=new pt(It);Dt[gt]=gt;const Tt=me.current;return this[Wt]==xn?this[un].push(Tt,Dt,He,He):Qe(this,Tt,Dt,He,He),Dt}}de.resolve=de.resolve,de.reject=de.reject,de.race=de.race,de.all=de.all;const Oe=pe[Pt]=pe.Promise;pe.Promise=de;const jt=Pe("thenPatched");function qt(ke){const He=ke.prototype,Ae=G(He,"then");if(Ae&&(!1===Ae.writable||!Ae.configurable))return;const pt=He.then;He[st]=pt,ke.prototype.then=function(Dt,Tt){return new de((Nt,Xt)=>{pt.call(this,Nt,Xt)}).then(Dt,Tt)},ke[jt]=!0}return ce.patchThen=qt,Oe&&(qt(Oe),et(pe,"fetch",ke=>function Mn(ke){return function(He,Ae){let pt=ke.apply(He,Ae);if(pt instanceof de)return pt;let Dt=pt.constructor;return Dt[jt]||qt(Dt),pt}}(ke))),Promise[me.__symbol__("uncaughtPromiseErrors")]=De,de}),Zone.__load_patch("toString",pe=>{const me=Function.prototype.toString,ce=le("OriginalDelegate"),G=le("Promise"),z=le("Error"),we=function(){if("function"==typeof this){const Pt=this[ce];if(Pt)return"function"==typeof Pt?me.call(Pt):Object.prototype.toString.call(Pt);if(this===Promise){const st=pe[G];if(st)return me.call(st)}if(this===Error){const st=pe[z];if(st)return me.call(st)}}return me.call(this)};we[ce]=me,Function.prototype.toString=we;const Pe=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":Pe.call(this)}});let rr=!1;if(typeof window<"u")try{const pe=Object.defineProperty({},"passive",{get:function(){rr=!0}});window.addEventListener("test",pe,pe),window.removeEventListener("test",pe,pe)}catch{rr=!1}const ii={useG:!0},Sr={},vi={},Gn=new RegExp("^"+ve+"(\\w+)(true|false)$"),En=le("propagationStopped");function Xr(pe,me){const ce=(me?me(pe):pe)+ae,G=(me?me(pe):pe)+te,z=ve+ce,we=ve+G;Sr[pe]={},Sr[pe][ae]=z,Sr[pe][te]=we}function Cr(pe,me,ce,G){const z=G&&G.add||re,we=G&&G.rm||J,Pe=G&&G.listeners||"eventListeners",De=G&&G.rmAll||"removeAllListeners",Ye=le(z),Pt="."+z+":",yt=function(un,gt,Ht){if(un.isRemoved)return;const mn=un.callback;let Wn;"object"==typeof mn&&mn.handleEvent&&(un.callback=Ft=>mn.handleEvent(Ft),un.originalDelegate=mn);try{un.invoke(un,gt,[Ht])}catch(Ft){Wn=Ft}const xn=un.options;return xn&&"object"==typeof xn&&xn.once&>[we].call(gt,Ht.type,un.originalDelegate?un.originalDelegate:un.callback,xn),Wn};function Ut(un,gt,Ht){if(!(gt=gt||pe.event))return;const mn=un||gt.target||pe,Wn=mn[Sr[gt.type][Ht?te:ae]];if(Wn){const xn=[];if(1===Wn.length){const Ft=yt(Wn[0],mn,gt);Ft&&xn.push(Ft)}else{const Ft=Wn.slice();for(let yn=0;yn<Ft.length&&(!gt||!0!==gt[En]);yn++){const Ot=yt(Ft[yn],mn,gt);Ot&&xn.push(Ot)}}if(1===xn.length)throw xn[0];for(let Ft=0;Ft<xn.length;Ft++){const yn=xn[Ft];me.nativeScheduleMicroTask(()=>{throw yn})}}}const Qt=function(un){return Ut(this,un,!1)},bt=function(un){return Ut(this,un,!0)};function Rt(un,gt){if(!un)return!1;let Ht=!0;gt&&void 0!==gt.useG&&(Ht=gt.useG);const mn=gt&>.vh;let Wn=!0;gt&&void 0!==gt.chkDup&&(Wn=gt.chkDup);let xn=!1;gt&&void 0!==gt.rt&&(xn=gt.rt);let Ft=un;for(;Ft&&!Ft.hasOwnProperty(z);)Ft=x(Ft);if(!Ft&&un[z]&&(Ft=un),!Ft||Ft[Ye])return!1;const yn=gt&>.eventNameToString,Ot={},Dn=Ft[Ye]=Ft[z],Zt=Ft[le(we)]=Ft[we],br=Ft[le(Pe)]=Ft[Pe],Le=Ft[le(De)]=Ft[De];let se;function X(Ae,pt){return!rr&&"object"==typeof Ae&&Ae?!!Ae.capture:rr&&pt?"boolean"==typeof Ae?{capture:Ae,passive:!0}:Ae?"object"==typeof Ae&&!1!==Ae.passive?Object.assign(Object.assign({},Ae),{passive:!0}):Ae:{passive:!0}:Ae}gt&>.prepend&&(se=Ft[le(gt.prepend)]=Ft[gt.prepend]);const de=Ht?function(Ae){if(!Ot.isExisting)return Dn.call(Ot.target,Ot.eventName,Ot.capture?bt:Qt,Ot.options)}:function(Ae){return Dn.call(Ot.target,Ot.eventName,Ae.invoke,Ot.options)},Oe=Ht?function(Ae){if(!Ae.isRemoved){const pt=Sr[Ae.eventName];let Dt;pt&&(Dt=pt[Ae.capture?te:ae]);const Tt=Dt&&Ae.target[Dt];if(Tt)for(let At=0;At<Tt.length;At++)if(Tt[At]===Ae){Tt.splice(At,1),Ae.isRemoved=!0,0===Tt.length&&(Ae.allRemoved=!0,Ae.target[Dt]=null);break}}if(Ae.allRemoved)return Zt.call(Ae.target,Ae.eventName,Ae.capture?bt:Qt,Ae.options)}:function(Ae){return Zt.call(Ae.target,Ae.eventName,Ae.invoke,Ae.options)},qt=gt&>.diff?gt.diff:function(Ae,pt){const Dt=typeof pt;return"function"===Dt&&Ae.callback===pt||"object"===Dt&&Ae.originalDelegate===pt},Mn=Zone[le("UNPATCHED_EVENTS")],ke=pe[le("PASSIVE_EVENTS")],He=function(Ae,pt,Dt,Tt,At=!1,Nt=!1){return function(){const Xt=this||pe;let an=arguments[0];gt&>.transferEventName&&(an=gt.transferEventName(an));let xt=arguments[1];if(!xt)return Ae.apply(this,arguments);if(rt&&"uncaughtException"===an)return Ae.apply(this,arguments);let vn=!1;if("function"!=typeof xt){if(!xt.handleEvent)return Ae.apply(this,arguments);vn=!0}if(mn&&!mn(Ae,xt,Xt,arguments))return;const Pr=rr&&!!ke&&-1!==ke.indexOf(an),ir=X(arguments[2],Pr);if(Mn)for(let it=0;it<Mn.length;it++)if(an===Mn[it])return Pr?Ae.call(Xt,an,xt,ir):Ae.apply(this,arguments);const dn=!!ir&&("boolean"==typeof ir||ir.capture),cr=!(!ir||"object"!=typeof ir)&&ir.once,Ci=Zone.current;let jn=Sr[an];jn||(Xr(an,yn),jn=Sr[an]);const Nr=jn[dn?te:ae];let L,A=Xt[Nr],U=!1;if(A){if(U=!0,Wn)for(let it=0;it<A.length;it++)if(qt(A[it],xt))return}else A=Xt[Nr]=[];const ie=Xt.constructor.name,je=vi[ie];je&&(L=je[an]),L||(L=ie+pt+(yn?yn(an):an)),Ot.options=ir,cr&&(Ot.options.once=!1),Ot.target=Xt,Ot.capture=dn,Ot.eventName=an,Ot.isExisting=U;const Ue=Ht?ii:void 0;Ue&&(Ue.taskData=Ot);const Xe=Ci.scheduleEventTask(L,xt,Ue,Dt,Tt);return Ot.target=null,Ue&&(Ue.taskData=null),cr&&(ir.once=!0),!rr&&"boolean"==typeof Xe.options||(Xe.options=ir),Xe.target=Xt,Xe.capture=dn,Xe.eventName=an,vn&&(Xe.originalDelegate=xt),Nt?A.unshift(Xe):A.push(Xe),At?Xt:void 0}};return Ft[z]=He(Dn,Pt,de,Oe,xn),se&&(Ft.prependListener=He(se,".prependListener:",function(Ae){return se.call(Ot.target,Ot.eventName,Ae.invoke,Ot.options)},Oe,xn,!0)),Ft[we]=function(){const Ae=this||pe;let pt=arguments[0];gt&>.transferEventName&&(pt=gt.transferEventName(pt));const Dt=arguments[2],Tt=!!Dt&&("boolean"==typeof Dt||Dt.capture),At=arguments[1];if(!At)return Zt.apply(this,arguments);if(mn&&!mn(Zt,At,Ae,arguments))return;const Nt=Sr[pt];let Xt;Nt&&(Xt=Nt[Tt?te:ae]);const an=Xt&&Ae[Xt];if(an)for(let xt=0;xt<an.length;xt++){const vn=an[xt];if(qt(vn,At))return an.splice(xt,1),vn.isRemoved=!0,0===an.length&&(vn.allRemoved=!0,Ae[Xt]=null,"string"==typeof pt)&&(Ae[ve+"ON_PROPERTY"+pt]=null),vn.zone.cancelTask(vn),xn?Ae:void 0}return Zt.apply(this,arguments)},Ft[Pe]=function(){const Ae=this||pe;let pt=arguments[0];gt&>.transferEventName&&(pt=gt.transferEventName(pt));const Dt=[],Tt=_r(Ae,yn?yn(pt):pt);for(let At=0;At<Tt.length;At++){const Nt=Tt[At];Dt.push(Nt.originalDelegate?Nt.originalDelegate:Nt.callback)}return Dt},Ft[De]=function(){const Ae=this||pe;let pt=arguments[0];if(pt){gt&>.transferEventName&&(pt=gt.transferEventName(pt));const Dt=Sr[pt];if(Dt){const Nt=Ae[Dt[ae]],Xt=Ae[Dt[te]];if(Nt){const an=Nt.slice();for(let xt=0;xt<an.length;xt++){const vn=an[xt];this[we].call(this,pt,vn.originalDelegate?vn.originalDelegate:vn.callback,vn.options)}}if(Xt){const an=Xt.slice();for(let xt=0;xt<an.length;xt++){const vn=an[xt];this[we].call(this,pt,vn.originalDelegate?vn.originalDelegate:vn.callback,vn.options)}}}}else{const Dt=Object.keys(Ae);for(let Tt=0;Tt<Dt.length;Tt++){const Nt=Gn.exec(Dt[Tt]);let Xt=Nt&&Nt[1];Xt&&"removeListener"!==Xt&&this[De].call(this,Xt)}this[De].call(this,"removeListener")}if(xn)return this},Be(Ft[z],Dn),Be(Ft[we],Zt),Le&&Be(Ft[De],Le),br&&Be(Ft[Pe],br),!0}let Wt=[];for(let un=0;un<ce.length;un++)Wt[un]=Rt(ce[un],G);return Wt}function _r(pe,me){if(!me){const we=[];for(let Pe in pe){const De=Gn.exec(Pe);let Ye=De&&De[1];if(Ye&&(!me||Ye===me)){const Pt=pe[Pe];if(Pt)for(let st=0;st<Pt.length;st++)we.push(Pt[st])}}return we}let ce=Sr[me];ce||(Xr(me),ce=Sr[me]);const G=pe[ce[ae]],z=pe[ce[te]];return G?z?G.concat(z):G.slice():z?z.slice():[]}function hr(pe,me){const ce=pe.Event;ce&&ce.prototype&&me.patchMethod(ce.prototype,"stopImmediatePropagation",G=>function(z,we){z[En]=!0,G&&G.apply(z,we)})}function qr(pe,me,ce,G,z){const we=Zone.__symbol__(G);if(me[we])return;const Pe=me[we]=me[G];me[G]=function(De,Ye,Pt){return Ye&&Ye.prototype&&z.forEach(function(st){const vt=`${ce}.${G}::`+st,yt=Ye.prototype;try{if(yt.hasOwnProperty(st)){const Ut=pe.ObjectGetOwnPropertyDescriptor(yt,st);Ut&&Ut.value?(Ut.value=pe.wrapWithCurrentZone(Ut.value,vt),pe._redefineProperty(Ye.prototype,st,Ut)):yt[st]&&(yt[st]=pe.wrapWithCurrentZone(yt[st],vt))}else yt[st]&&(yt[st]=pe.wrapWithCurrentZone(yt[st],vt))}catch{}}),Pe.call(me,De,Ye,Pt)},pe.attachOriginToPatched(me[G],Pe)}function pr(pe,me,ce){if(!ce||0===ce.length)return me;const G=ce.filter(we=>we.target===pe);if(!G||0===G.length)return me;const z=G[0].ignoreProperties;return me.filter(we=>-1===z.indexOf(we))}function Fr(pe,me,ce,G){pe&&en(pe,pr(pe,me,ce),G)}function wr(pe){return Object.getOwnPropertyNames(pe).filter(me=>me.startsWith("on")&&me.length>2).map(me=>me.substring(2))}Zone.__load_patch("util",(pe,me,ce)=>{const G=wr(pe);ce.patchOnProperties=en,ce.patchMethod=et,ce.bindArguments=Fe,ce.patchMacroTask=ze;const z=me.__symbol__("BLACK_LISTED_EVENTS"),we=me.__symbol__("UNPATCHED_EVENTS");pe[we]&&(pe[z]=pe[we]),pe[z]&&(me[z]=me[we]=pe[z]),ce.patchEventPrototype=hr,ce.patchEventTarget=Cr,ce.isIEOrEdge=ri,ce.ObjectDefineProperty=K,ce.ObjectGetOwnPropertyDescriptor=xe,ce.ObjectCreate=l,ce.ArraySlice=_,ce.patchClass=lt,ce.wrapWithCurrentZone=$,ce.filterProperties=pr,ce.attachOriginToPatched=Be,ce._redefineProperty=Object.defineProperty,ce.patchCallbacks=qr,ce.getGlobalObjects=()=>({globalSources:vi,zoneSymbolEventNames:Sr,eventNames:G,isBrowser:Ce,isMix:_t,isNode:rt,TRUE_STR:te,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:re,REMOVE_EVENT_LISTENER_STR:J})});const ur=le("zoneTask");function Xn(pe,me,ce,G){let z=null,we=null;ce+=G;const Pe={};function De(Pt){const st=Pt.data;return st.args[0]=function(){return Pt.invoke.apply(this,arguments)},st.handleId=z.apply(pe,st.args),Pt}function Ye(Pt){return we.call(pe,Pt.data.handleId)}z=et(pe,me+=G,Pt=>function(st,vt){if("function"==typeof vt[0]){const yt={isPeriodic:"Interval"===G,delay:"Timeout"===G||"Interval"===G?vt[1]||0:void 0,args:vt},Ut=vt[0];vt[0]=function(){try{return Ut.apply(this,arguments)}finally{yt.isPeriodic||("number"==typeof yt.handleId?delete Pe[yt.handleId]:yt.handleId&&(yt.handleId[ur]=null))}};const Qt=q(me,vt[0],yt,De,Ye);if(!Qt)return Qt;const bt=Qt.data.handleId;return"number"==typeof bt?Pe[bt]=Qt:bt&&(bt[ur]=Qt),bt&&bt.ref&&bt.unref&&"function"==typeof bt.ref&&"function"==typeof bt.unref&&(Qt.ref=bt.ref.bind(bt),Qt.unref=bt.unref.bind(bt)),"number"==typeof bt||bt?bt:Qt}return Pt.apply(pe,vt)}),we=et(pe,ce,Pt=>function(st,vt){const yt=vt[0];let Ut;"number"==typeof yt?Ut=Pe[yt]:(Ut=yt&&yt[ur],Ut||(Ut=yt)),Ut&&"string"==typeof Ut.type?"notScheduled"!==Ut.state&&(Ut.cancelFn&&Ut.data.isPeriodic||0===Ut.runCount)&&("number"==typeof yt?delete Pe[yt]:yt&&(yt[ur]=null),Ut.zone.cancelTask(Ut)):Pt.apply(pe,vt)})}Zone.__load_patch("legacy",pe=>{const me=pe[Zone.__symbol__("legacyPatch")];me&&me()}),Zone.__load_patch("queueMicrotask",(pe,me,ce)=>{ce.patchMethod(pe,"queueMicrotask",G=>function(z,we){me.current.scheduleMicroTask("queueMicrotask",we[0])})}),Zone.__load_patch("timers",pe=>{const ce="clear";Xn(pe,"set",ce,"Timeout"),Xn(pe,"set",ce,"Interval"),Xn(pe,"set",ce,"Immediate")}),Zone.__load_patch("requestAnimationFrame",pe=>{Xn(pe,"request","cancel","AnimationFrame"),Xn(pe,"mozRequest","mozCancel","AnimationFrame"),Xn(pe,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(pe,me)=>{const ce=["alert","prompt","confirm"];for(let G=0;G<ce.length;G++)et(pe,ce[G],(we,Pe,De)=>function(Ye,Pt){return me.current.run(we,pe,Pt,De)})}),Zone.__load_patch("EventTarget",(pe,me,ce)=>{(function Rr(pe,me){me.patchEventPrototype(pe,me)})(pe,ce),function Or(pe,me){if(Zone[me.symbol("patchEventTarget")])return;const{eventNames:ce,zoneSymbolEventNames:G,TRUE_STR:z,FALSE_STR:we,ZONE_SYMBOL_PREFIX:Pe}=me.getGlobalObjects();for(let Ye=0;Ye<ce.length;Ye++){const Pt=ce[Ye],yt=Pe+(Pt+we),Ut=Pe+(Pt+z);G[Pt]={},G[Pt][we]=yt,G[Pt][z]=Ut}const De=pe.EventTarget;De&&De.prototype&&me.patchEventTarget(pe,me,[De&&De.prototype])}(pe,ce);const G=pe.XMLHttpRequestEventTarget;G&&G.prototype&&ce.patchEventTarget(pe,ce,[G.prototype])}),Zone.__load_patch("MutationObserver",(pe,me,ce)=>{lt("MutationObserver"),lt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(pe,me,ce)=>{lt("IntersectionObserver")}),Zone.__load_patch("FileReader",(pe,me,ce)=>{lt("FileReader")}),Zone.__load_patch("on_property",(pe,me,ce)=>{!function kr(pe,me){if(rt&&!_t||Zone[pe.symbol("patchEvents")])return;const ce=me.__Zone_ignore_on_properties;let G=[];if(Ce){const z=window;G=G.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const we=function Ir(){try{const pe=Ve.navigator.userAgent;if(-1!==pe.indexOf("MSIE ")||-1!==pe.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:z,ignoreProperties:["error"]}]:[];Fr(z,wr(z),ce&&ce.concat(we),x(z))}G=G.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let z=0;z<G.length;z++){const we=me[G[z]];we&&we.prototype&&Fr(we.prototype,wr(we.prototype),ce)}}(ce,pe)}),Zone.__load_patch("customElements",(pe,me,ce)=>{!function hi(pe,me){const{isBrowser:ce,isMix:G}=me.getGlobalObjects();(ce||G)&&pe.customElements&&"customElements"in pe&&me.patchCallbacks(me,pe.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(pe,ce)}),Zone.__load_patch("XHR",(pe,me)=>{!function Ye(Pt){const st=Pt.XMLHttpRequest;if(!st)return;const vt=st.prototype;let Ut=vt[Y],Qt=vt[Z];if(!Ut){const Ot=Pt.XMLHttpRequestEventTarget;if(Ot){const Dn=Ot.prototype;Ut=Dn[Y],Qt=Dn[Z]}}const bt="readystatechange",Rt="scheduled";function Wt(Ot){const Dn=Ot.data,Zt=Dn.target;Zt[we]=!1,Zt[De]=!1;const br=Zt[z];Ut||(Ut=Zt[Y],Qt=Zt[Z]),br&&Qt.call(Zt,bt,br);const Le=Zt[z]=()=>{if(Zt.readyState===Zt.DONE)if(!Dn.aborted&&Zt[we]&&Ot.state===Rt){const X=Zt[me.__symbol__("loadfalse")];if(0!==Zt.status&&X&&X.length>0){const Re=Ot.invoke;Ot.invoke=function(){const Qe=Zt[me.__symbol__("loadfalse")];for(let Et=0;Et<Qe.length;Et++)Qe[Et]===Ot&&Qe.splice(Et,1);!Dn.aborted&&Ot.state===Rt&&Re.call(Ot)},X.push(Ot)}else Ot.invoke()}else!Dn.aborted&&!1===Zt[we]&&(Zt[De]=!0)};return Ut.call(Zt,bt,Le),Zt[ce]||(Zt[ce]=Ot),Ft.apply(Zt,Dn.args),Zt[we]=!0,Ot}function un(){}function gt(Ot){const Dn=Ot.data;return Dn.aborted=!0,yn.apply(Dn.target,Dn.args)}const Ht=et(vt,"open",()=>function(Ot,Dn){return Ot[G]=0==Dn[2],Ot[Pe]=Dn[1],Ht.apply(Ot,Dn)}),Wn=le("fetchTaskAborting"),xn=le("fetchTaskScheduling"),Ft=et(vt,"send",()=>function(Ot,Dn){if(!0===me.current[xn]||Ot[G])return Ft.apply(Ot,Dn);{const Zt={target:Ot,url:Ot[Pe],isPeriodic:!1,args:Dn,aborted:!1},br=q("XMLHttpRequest.send",un,Zt,Wt,gt);Ot&&!0===Ot[De]&&!Zt.aborted&&br.state===Rt&&br.invoke()}}),yn=et(vt,"abort",()=>function(Ot,Dn){const Zt=function yt(Ot){return Ot[ce]}(Ot);if(Zt&&"string"==typeof Zt.type){if(null==Zt.cancelFn||Zt.data&&Zt.data.aborted)return;Zt.zone.cancelTask(Zt)}else if(!0===me.current[Wn])return yn.apply(Ot,Dn)})}(pe);const ce=le("xhrTask"),G=le("xhrSync"),z=le("xhrListener"),we=le("xhrScheduled"),Pe=le("xhrURL"),De=le("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",pe=>{pe.navigator&&pe.navigator.geolocation&&function mt(pe,me){const ce=pe.constructor.name;for(let G=0;G<me.length;G++){const z=me[G],we=pe[z];if(we){if(!We(xe(pe,z)))continue;pe[z]=(De=>{const Ye=function(){return De.apply(this,Fe(arguments,ce+"."+z))};return Be(Ye,De),Ye})(we)}}}(pe.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(pe,me)=>{function ce(G){return function(z){_r(pe,G).forEach(Pe=>{const De=pe.PromiseRejectionEvent;if(De){const Ye=new De(G,{promise:z.promise,reason:z.rejection});Pe.invoke(Ye)}})}}pe.PromiseRejectionEvent&&(me[le("unhandledPromiseRejectionHandler")]=ce("unhandledrejection"),me[le("rejectionHandledHandler")]=ce("rejectionhandled"))})},7340:(xe,K,x)=>{"use strict";x.d(K,{LC:()=>_,SB:()=>ve,X$:()=>J,ZE:()=>We,ZN:()=>mt,_j:()=>l,eR:()=>q,jt:()=>Y,k1:()=>$e,l3:()=>re,oB:()=>ae,vP:()=>te});class l{}class _{}const re="*";function J(rt,Ce){return{type:7,name:rt,definitions:Ce,options:{}}}function Y(rt,Ce=null){return{type:4,styles:Ce,timings:rt}}function te(rt,Ce=null){return{type:2,steps:rt,options:Ce}}function ae(rt){return{type:6,styles:rt,offset:null}}function ve(rt,Ce,_t){return{type:0,name:rt,styles:Ce,options:_t}}function q(rt,Ce,_t=null){return{type:1,expr:rt,animation:Ce,options:_t}}function Fe(rt){Promise.resolve(null).then(rt)}class mt{constructor(Ce=0,_t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Ce+_t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ce=>Ce()),this._onDoneFns=[])}onStart(Ce){this._onStartFns.push(Ce)}onDone(Ce){this._onDoneFns.push(Ce)}onDestroy(Ce){this._onDestroyFns.push(Ce)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Fe(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Ce=>Ce()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Ce=>Ce()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(Ce){this._position=this.totalTime?Ce*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Ce){const _t="start"==Ce?this._onStartFns:this._onDoneFns;_t.forEach(Ct=>Ct()),_t.length=0}}class We{constructor(Ce){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ce;let _t=0,Ct=0,gn=0;const on=this.players.length;0==on?Fe(()=>this._onFinish()):this.players.forEach(en=>{en.onDone(()=>{++_t==on&&this._onFinish()}),en.onDestroy(()=>{++Ct==on&&this._onDestroy()}),en.onStart(()=>{++gn==on&&this._onStart()})}),this.totalTime=this.players.reduce((en,Ee)=>Math.max(en,Ee.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ce=>Ce()),this._onDoneFns=[])}init(){this.players.forEach(Ce=>Ce.init())}onStart(Ce){this._onStartFns.push(Ce)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Ce=>Ce()),this._onStartFns=[])}onDone(Ce){this._onDoneFns.push(Ce)}onDestroy(Ce){this._onDestroyFns.push(Ce)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Ce=>Ce.play())}pause(){this.players.forEach(Ce=>Ce.pause())}restart(){this.players.forEach(Ce=>Ce.restart())}finish(){this._onFinish(),this.players.forEach(Ce=>Ce.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Ce=>Ce.destroy()),this._onDestroyFns.forEach(Ce=>Ce()),this._onDestroyFns=[])}reset(){this.players.forEach(Ce=>Ce.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Ce){const _t=Ce*this.totalTime;this.players.forEach(Ct=>{const gn=Ct.totalTime?Math.min(1,_t/Ct.totalTime):1;Ct.setPosition(gn)})}getPosition(){const Ce=this.players.reduce((_t,Ct)=>null===_t||Ct.totalTime>_t.totalTime?Ct:_t,null);return null!=Ce?Ce.getPosition():0}beforeDestroy(){this.players.forEach(Ce=>{Ce.beforeDestroy&&Ce.beforeDestroy()})}triggerCallback(Ce){const _t="start"==Ce?this._onStartFns:this._onDoneFns;_t.forEach(Ct=>Ct()),_t.length=0}}const $e="!"},6895:(xe,K,x)=>{"use strict";x.d(K,{Do:()=>rt,EM:()=>Zr,HT:()=>Y,JF:()=>Mo,K0:()=>te,Mx:()=>ir,NF:()=>vs,O5:()=>U,PC:()=>Fn,S$:()=>Fe,V_:()=>$,Ye:()=>Ce,b0:()=>$e,bD:()=>_s,ez:()=>Do,lw:()=>ae,mk:()=>dn,mr:()=>We,q:()=>re,sg:()=>jn,tP:()=>gr,w_:()=>Z});var l=x(5062);let _=null;function re(){return _}function Y(M){_||(_=M)}class Z{}const te=new l.OlP("DocumentToken");let ae=(()=>{class M{historyGo(T){throw new Error("Not implemented")}}return M.\u0275fac=function(T){return new(T||M)},M.\u0275prov=l.Yz7({token:M,factory:function(){return function ve(){return(0,l.LFG)(q)}()},providedIn:"platform"}),M})();const $=new l.OlP("Location Initialized");let q=(()=>{class M extends ae{constructor(T){super(),this._doc=T,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return re().getBaseHref(this._doc)}onPopState(T){const H=re().getGlobalEventTarget(this._doc,"window");return H.addEventListener("popstate",T,!1),()=>H.removeEventListener("popstate",T)}onHashChange(T){const H=re().getGlobalEventTarget(this._doc,"window");return H.addEventListener("hashchange",T,!1),()=>H.removeEventListener("hashchange",T)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(T){this.location.pathname=T}pushState(T,H,ge){le()?this._history.pushState(T,H,ge):this.location.hash=ge}replaceState(T,H,ge){le()?this._history.replaceState(T,H,ge):this.location.hash=ge}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}}return M.\u0275fac=function(T){return new(T||M)(l.LFG(te))},M.\u0275prov=l.Yz7({token:M,factory:function(){return function ue(){return new q((0,l.LFG)(te))}()},providedIn:"platform"}),M})();function le(){return!!window.history.pushState}function Ve(M,V){if(0==M.length)return V;if(0==V.length)return M;let T=0;return M.endsWith("/")&&T++,V.startsWith("/")&&T++,2==T?M+V.substring(1):1==T?M+V:M+"/"+V}function ne(M){const V=M.match(/#|\?|$/),T=V&&V.index||M.length;return M.slice(0,T-("/"===M[T-1]?1:0))+M.slice(T)}function Se(M){return M&&"?"!==M[0]?"?"+M:M}let Fe=(()=>{class M{historyGo(T){throw new Error("Not implemented")}}return M.\u0275fac=function(T){return new(T||M)},M.\u0275prov=l.Yz7({token:M,factory:function(){return function mt(M){const V=(0,l.LFG)(te).location;return new $e((0,l.LFG)(ae),V&&V.origin||"")}()},providedIn:"root"}),M})();const We=new l.OlP("appBaseHref");let $e=(()=>{class M extends Fe{constructor(T,H){if(super(),this._platformLocation=T,this._removeListenerFns=[],null==H&&(H=this._platformLocation.getBaseHrefFromDOM()),null==H)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=H}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return Ve(this._baseHref,T)}path(T=!1){const H=this._platformLocation.pathname+Se(this._platformLocation.search),ge=this._platformLocation.hash;return ge&&T?`${H}${ge}`:H}pushState(T,H,ge,Ge){const ft=this.prepareExternalUrl(ge+Se(Ge));this._platformLocation.pushState(T,H,ft)}replaceState(T,H,ge,Ge){const ft=this.prepareExternalUrl(ge+Se(Ge));this._platformLocation.replaceState(T,H,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){this._platformLocation.historyGo?.(T)}}return M.\u0275fac=function(T){return new(T||M)(l.LFG(ae),l.LFG(We,8))},M.\u0275prov=l.Yz7({token:M,factory:M.\u0275fac}),M})(),rt=(()=>{class M extends Fe{constructor(T,H){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=H&&(this._baseHref=H)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}path(T=!1){let H=this._platformLocation.hash;return null==H&&(H="#"),H.length>0?H.substring(1):H}prepareExternalUrl(T){const H=Ve(this._baseHref,T);return H.length>0?"#"+H:H}pushState(T,H,ge,Ge){let ft=this.prepareExternalUrl(ge+Se(Ge));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.pushState(T,H,ft)}replaceState(T,H,ge,Ge){let ft=this.prepareExternalUrl(ge+Se(Ge));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.replaceState(T,H,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){this._platformLocation.historyGo?.(T)}}return M.\u0275fac=function(T){return new(T||M)(l.LFG(ae),l.LFG(We,8))},M.\u0275prov=l.Yz7({token:M,factory:M.\u0275fac}),M})(),Ce=(()=>{class M{constructor(T,H){this._subject=new l.vpe,this._urlChangeListeners=[],this._platformStrategy=T;const ge=this._platformStrategy.getBaseHref();this._platformLocation=H,this._baseHref=ne(gn(ge)),this._platformStrategy.onPopState(Ge=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ge.state,type:Ge.type})})}path(T=!1){return this.normalize(this._platformStrategy.path(T))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(T,H=""){return this.path()==this.normalize(T+Se(H))}normalize(T){return M.stripTrailingSlash(function Ct(M,V){return M&&V.startsWith(M)?V.substring(M.length):V}(this._baseHref,gn(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._platformStrategy.prepareExternalUrl(T)}go(T,H="",ge=null){this._platformStrategy.pushState(ge,"",T,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Se(H)),ge)}replaceState(T,H="",ge=null){this._platformStrategy.replaceState(ge,"",T,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Se(H)),ge)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(T=0){this._platformStrategy.historyGo?.(T)}onUrlChange(T){this._urlChangeListeners.push(T),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(H=>{this._notifyUrlChangeListeners(H.url,H.state)}))}_notifyUrlChangeListeners(T="",H){this._urlChangeListeners.forEach(ge=>ge(T,H))}subscribe(T,H,ge){return this._subject.subscribe({next:T,error:H,complete:ge})}}return M.normalizeQueryParams=Se,M.joinWithSlash=Ve,M.stripTrailingSlash=ne,M.\u0275fac=function(T){return new(T||M)(l.LFG(Fe),l.LFG(ae))},M.\u0275prov=l.Yz7({token:M,factory:function(){return function _t(){return new Ce((0,l.LFG)(Fe),(0,l.LFG)(ae))}()},providedIn:"root"}),M})();function gn(M){return M.replace(/\/index.html$/,"")}function ir(M,V){V=encodeURIComponent(V);for(const T of M.split(";")){const H=T.indexOf("="),[ge,Ge]=-1==H?[T,""]:[T.slice(0,H),T.slice(H+1)];if(ge.trim()===V)return decodeURIComponent(Ge)}return null}let dn=(()=>{class M{constructor(T,H,ge,Ge){this._iterableDiffers=T,this._keyValueDiffers=H,this._ngEl=ge,this._renderer=Ge,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(T){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof T?T.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(T){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof T?T.split(/\s+/):T,this._rawClass&&((0,l.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const T=this._iterableDiffer.diff(this._rawClass);T&&this._applyIterableChanges(T)}else if(this._keyValueDiffer){const T=this._keyValueDiffer.diff(this._rawClass);T&&this._applyKeyValueChanges(T)}}_applyKeyValueChanges(T){T.forEachAddedItem(H=>this._toggleClass(H.key,H.currentValue)),T.forEachChangedItem(H=>this._toggleClass(H.key,H.currentValue)),T.forEachRemovedItem(H=>{H.previousValue&&this._toggleClass(H.key,!1)})}_applyIterableChanges(T){T.forEachAddedItem(H=>{if("string"!=typeof H.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(H.item)}`);this._toggleClass(H.item,!0)}),T.forEachRemovedItem(H=>this._toggleClass(H.item,!1))}_applyClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(H=>this._toggleClass(H,!0)):Object.keys(T).forEach(H=>this._toggleClass(H,!!T[H])))}_removeClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(H=>this._toggleClass(H,!1)):Object.keys(T).forEach(H=>this._toggleClass(H,!1)))}_toggleClass(T,H){(T=T.trim())&&T.split(/\s+/g).forEach(ge=>{H?this._renderer.addClass(this._ngEl.nativeElement,ge):this._renderer.removeClass(this._ngEl.nativeElement,ge)})}}return M.\u0275fac=function(T){return new(T||M)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},M.\u0275dir=l.lG2({type:M,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),M})();class Ci{constructor(V,T,H,ge){this.$implicit=V,this.ngForOf=T,this.index=H,this.count=ge}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let jn=(()=>{class M{constructor(T,H,ge){this._viewContainer=T,this._template=H,this._differs=ge,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;!this._differ&&T&&(this._differ=this._differs.find(T).create(this.ngForTrackBy))}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const H=this._viewContainer;T.forEachOperation((ge,Ge,ft)=>{if(null==ge.previousIndex)H.createEmbeddedView(this._template,new Ci(ge.item,this._ngForOf,-1,-1),null===ft?void 0:ft);else if(null==ft)H.remove(null===Ge?void 0:Ge);else if(null!==Ge){const St=H.get(Ge);H.move(St,ft),Nr(St,ge)}});for(let ge=0,Ge=H.length;ge<Ge;ge++){const St=H.get(ge).context;St.index=ge,St.count=Ge,St.ngForOf=this._ngForOf}T.forEachIdentityChange(ge=>{Nr(H.get(ge.currentIndex),ge)})}static ngTemplateContextGuard(T,H){return!0}}return M.\u0275fac=function(T){return new(T||M)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},M.\u0275dir=l.lG2({type:M,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),M})();function Nr(M,V){M.context.$implicit=V.item}let U=(()=>{class M{constructor(T,H){this._viewContainer=T,this._context=new L,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=H}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){ie("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){ie("ngIfElse",T),this._elseTemplateRef=T,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(T,H){return!0}}return M.\u0275fac=function(T){return new(T||M)(l.Y36(l.s_b),l.Y36(l.Rgc))},M.\u0275dir=l.lG2({type:M,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),M})();class L{constructor(){this.$implicit=null,this.ngIf=null}}function ie(M,V){if(V&&!V.createEmbeddedView)throw new Error(`${M} must be a TemplateRef, but received '${(0,l.AaK)(V)}'.`)}let Fn=(()=>{class M{constructor(T,H,ge){this._ngEl=T,this._differs=H,this._renderer=ge,this._ngStyle=null,this._differ=null}set ngStyle(T){this._ngStyle=T,!this._differ&&T&&(this._differ=this._differs.find(T).create())}ngDoCheck(){if(this._differ){const T=this._differ.diff(this._ngStyle);T&&this._applyChanges(T)}}_setStyle(T,H){const[ge,Ge]=T.split(".");null!=(H=null!=H&&Ge?`${H}${Ge}`:H)?this._renderer.setStyle(this._ngEl.nativeElement,ge,H):this._renderer.removeStyle(this._ngEl.nativeElement,ge)}_applyChanges(T){T.forEachRemovedItem(H=>this._setStyle(H.key,null)),T.forEachAddedItem(H=>this._setStyle(H.key,H.currentValue)),T.forEachChangedItem(H=>this._setStyle(H.key,H.currentValue))}}return M.\u0275fac=function(T){return new(T||M)(l.Y36(l.SBq),l.Y36(l.aQg),l.Y36(l.Qsj))},M.\u0275dir=l.lG2({type:M,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),M})(),gr=(()=>{class M{constructor(T){this._viewContainerRef=T,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(T){if(T.ngTemplateOutlet){const H=this._viewContainerRef;this._viewRef&&H.remove(H.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?H.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&T.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return M.\u0275fac=function(T){return new(T||M)(l.Y36(l.s_b))},M.\u0275dir=l.lG2({type:M,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[l.TTD]}),M})(),Do=(()=>{class M{}return M.\u0275fac=function(T){return new(T||M)},M.\u0275mod=l.oAB({type:M}),M.\u0275inj=l.cJS({}),M})();const _s="browser";function vs(M){return M===_s}let Zr=(()=>{class M{}return M.\u0275prov=(0,l.Yz7)({token:M,providedIn:"root",factory:()=>new rs((0,l.LFG)(te),window)}),M})();class rs{constructor(V,T){this.document=V,this.window=T,this.offset=()=>[0,0]}setOffset(V){this.offset=Array.isArray(V)?()=>V:V}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(V){this.supportsScrolling()&&this.window.scrollTo(V[0],V[1])}scrollToAnchor(V){if(!this.supportsScrolling())return;const T=function is(M,V){const T=M.getElementById(V)||M.getElementsByName(V)[0];if(T)return T;if("function"==typeof M.createTreeWalker&&M.body&&(M.body.createShadowRoot||M.body.attachShadow)){const H=M.createTreeWalker(M.body,NodeFilter.SHOW_ELEMENT);let ge=H.currentNode;for(;ge;){const Ge=ge.shadowRoot;if(Ge){const ft=Ge.getElementById(V)||Ge.querySelector(`[name="${V}"]`);if(ft)return ft}ge=H.nextNode()}}return null}(this.document,V);T&&(this.scrollToElement(T),T.focus())}setHistoryScrollRestoration(V){if(this.supportScrollRestoration()){const T=this.window.history;T&&T.scrollRestoration&&(T.scrollRestoration=V)}}scrollToElement(V){const T=V.getBoundingClientRect(),H=T.left+this.window.pageXOffset,ge=T.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(H-Ge[0],ge-Ge[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const V=ei(this.window.history)||ei(Object.getPrototypeOf(this.window.history));return!(!V||!V.writable&&!V.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ei(M){return Object.getOwnPropertyDescriptor(M,"scrollRestoration")}class Mo{}},529:(xe,K,x)=>{"use strict";x.d(K,{JF:()=>Rr,WM:()=>$,eN:()=>Be});var l=x(6895),_=x(5062),re=x(1086),J=x(2916),Y=x(1406),Z=x(2198),te=x(4850);class ae{}class ve{}class ${constructor(G){this.normalizedNames=new Map,this.lazyUpdate=null,G?this.lazyInit="string"==typeof G?()=>{this.headers=new Map,G.split("\n").forEach(z=>{const we=z.indexOf(":");if(we>0){const Pe=z.slice(0,we),De=Pe.toLowerCase(),Ye=z.slice(we+1).trim();this.maybeSetNormalizedName(Pe,De),this.headers.has(De)?this.headers.get(De).push(Ye):this.headers.set(De,[Ye])}})}:()=>{this.headers=new Map,Object.keys(G).forEach(z=>{let we=G[z];const Pe=z.toLowerCase();"string"==typeof we&&(we=[we]),we.length>0&&(this.headers.set(Pe,we),this.maybeSetNormalizedName(z,Pe))})}:this.headers=new Map}has(G){return this.init(),this.headers.has(G.toLowerCase())}get(G){this.init();const z=this.headers.get(G.toLowerCase());return z&&z.length>0?z[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(G){return this.init(),this.headers.get(G.toLowerCase())||null}append(G,z){return this.clone({name:G,value:z,op:"a"})}set(G,z){return this.clone({name:G,value:z,op:"s"})}delete(G,z){return this.clone({name:G,value:z,op:"d"})}maybeSetNormalizedName(G,z){this.normalizedNames.has(z)||this.normalizedNames.set(z,G)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(G=>this.applyUpdate(G)),this.lazyUpdate=null))}copyFrom(G){G.init(),Array.from(G.headers.keys()).forEach(z=>{this.headers.set(z,G.headers.get(z)),this.normalizedNames.set(z,G.normalizedNames.get(z))})}clone(G){const z=new $;return z.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,z.lazyUpdate=(this.lazyUpdate||[]).concat([G]),z}applyUpdate(G){const z=G.name.toLowerCase();switch(G.op){case"a":case"s":let we=G.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(G.name,z);const Pe=("a"===G.op?this.headers.get(z):void 0)||[];Pe.push(...we),this.headers.set(z,Pe);break;case"d":const De=G.value;if(De){let Ye=this.headers.get(z);if(!Ye)return;Ye=Ye.filter(Pt=>-1===De.indexOf(Pt)),0===Ye.length?(this.headers.delete(z),this.normalizedNames.delete(z)):this.headers.set(z,Ye)}else this.headers.delete(z),this.normalizedNames.delete(z)}}forEach(G){this.init(),Array.from(this.normalizedNames.keys()).forEach(z=>G(this.normalizedNames.get(z),this.headers.get(z)))}}class q{encodeKey(G){return ne(G)}encodeValue(G){return ne(G)}decodeKey(G){return decodeURIComponent(G)}decodeValue(G){return decodeURIComponent(G)}}const ue=/%(\d[a-f0-9])/gi,Ve={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ne(ce){return encodeURIComponent(ce).replace(ue,(G,z)=>Ve[z]??G)}function Se(ce){return`${ce}`}class Fe{constructor(G={}){if(this.updates=null,this.cloneFrom=null,this.encoder=G.encoder||new q,G.fromString){if(G.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function le(ce,G){const z=new Map;return ce.length>0&&ce.replace(/^\?/,"").split("&").forEach(Pe=>{const De=Pe.indexOf("="),[Ye,Pt]=-1==De?[G.decodeKey(Pe),""]:[G.decodeKey(Pe.slice(0,De)),G.decodeValue(Pe.slice(De+1))],st=z.get(Ye)||[];st.push(Pt),z.set(Ye,st)}),z}(G.fromString,this.encoder)}else G.fromObject?(this.map=new Map,Object.keys(G.fromObject).forEach(z=>{const we=G.fromObject[z];this.map.set(z,Array.isArray(we)?we:[we])})):this.map=null}has(G){return this.init(),this.map.has(G)}get(G){this.init();const z=this.map.get(G);return z?z[0]:null}getAll(G){return this.init(),this.map.get(G)||null}keys(){return this.init(),Array.from(this.map.keys())}append(G,z){return this.clone({param:G,value:z,op:"a"})}appendAll(G){const z=[];return Object.keys(G).forEach(we=>{const Pe=G[we];Array.isArray(Pe)?Pe.forEach(De=>{z.push({param:we,value:De,op:"a"})}):z.push({param:we,value:Pe,op:"a"})}),this.clone(z)}set(G,z){return this.clone({param:G,value:z,op:"s"})}delete(G,z){return this.clone({param:G,value:z,op:"d"})}toString(){return this.init(),this.keys().map(G=>{const z=this.encoder.encodeKey(G);return this.map.get(G).map(we=>z+"="+this.encoder.encodeValue(we)).join("&")}).filter(G=>""!==G).join("&")}clone(G){const z=new Fe({encoder:this.encoder});return z.cloneFrom=this.cloneFrom||this,z.updates=(this.updates||[]).concat(G),z}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(G=>this.map.set(G,this.cloneFrom.map.get(G))),this.updates.forEach(G=>{switch(G.op){case"a":case"s":const z=("a"===G.op?this.map.get(G.param):void 0)||[];z.push(Se(G.value)),this.map.set(G.param,z);break;case"d":if(void 0===G.value){this.map.delete(G.param);break}{let we=this.map.get(G.param)||[];const Pe=we.indexOf(Se(G.value));-1!==Pe&&we.splice(Pe,1),we.length>0?this.map.set(G.param,we):this.map.delete(G.param)}}}),this.cloneFrom=this.updates=null)}}class We{constructor(){this.map=new Map}set(G,z){return this.map.set(G,z),this}get(G){return this.map.has(G)||this.map.set(G,G.defaultValue()),this.map.get(G)}delete(G){return this.map.delete(G),this}has(G){return this.map.has(G)}keys(){return this.map.keys()}}function rt(ce){return typeof ArrayBuffer<"u"&&ce instanceof ArrayBuffer}function Ce(ce){return typeof Blob<"u"&&ce instanceof Blob}function _t(ce){return typeof FormData<"u"&&ce instanceof FormData}class gn{constructor(G,z,we,Pe){let De;if(this.url=z,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=G.toUpperCase(),function $e(ce){switch(ce){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==we?we:null,De=Pe):De=we,De&&(this.reportProgress=!!De.reportProgress,this.withCredentials=!!De.withCredentials,De.responseType&&(this.responseType=De.responseType),De.headers&&(this.headers=De.headers),De.context&&(this.context=De.context),De.params&&(this.params=De.params)),this.headers||(this.headers=new $),this.context||(this.context=new We),this.params){const Ye=this.params.toString();if(0===Ye.length)this.urlWithParams=z;else{const Pt=z.indexOf("?");this.urlWithParams=z+(-1===Pt?"?":Pt<z.length-1?"&":"")+Ye}}else this.params=new Fe,this.urlWithParams=z}serializeBody(){return null===this.body?null:rt(this.body)||Ce(this.body)||_t(this.body)||function Ct(ce){return typeof URLSearchParams<"u"&&ce instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Fe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_t(this.body)?null:Ce(this.body)?this.body.type||null:rt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Fe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(G={}){const z=G.method||this.method,we=G.url||this.url,Pe=G.responseType||this.responseType,De=void 0!==G.body?G.body:this.body,Ye=void 0!==G.withCredentials?G.withCredentials:this.withCredentials,Pt=void 0!==G.reportProgress?G.reportProgress:this.reportProgress;let st=G.headers||this.headers,vt=G.params||this.params;const yt=G.context??this.context;return void 0!==G.setHeaders&&(st=Object.keys(G.setHeaders).reduce((Ut,Qt)=>Ut.set(Qt,G.setHeaders[Qt]),st)),G.setParams&&(vt=Object.keys(G.setParams).reduce((Ut,Qt)=>Ut.set(Qt,G.setParams[Qt]),vt)),new gn(z,we,De,{params:vt,headers:st,context:yt,reportProgress:Pt,responseType:Pe,withCredentials:Ye})}}var on=(()=>((on=on||{})[on.Sent=0]="Sent",on[on.UploadProgress=1]="UploadProgress",on[on.ResponseHeader=2]="ResponseHeader",on[on.DownloadProgress=3]="DownloadProgress",on[on.Response=4]="Response",on[on.User=5]="User",on))();class en{constructor(G,z=200,we="OK"){this.headers=G.headers||new $,this.status=void 0!==G.status?G.status:z,this.statusText=G.statusText||we,this.url=G.url||null,this.ok=this.status>=200&&this.status<300}}class Ee extends en{constructor(G={}){super(G),this.type=on.ResponseHeader}clone(G={}){return new Ee({headers:G.headers||this.headers,status:void 0!==G.status?G.status:this.status,statusText:G.statusText||this.statusText,url:G.url||this.url||void 0})}}class lt extends en{constructor(G={}){super(G),this.type=on.Response,this.body=void 0!==G.body?G.body:null}clone(G={}){return new lt({body:void 0!==G.body?G.body:this.body,headers:G.headers||this.headers,status:void 0!==G.status?G.status:this.status,statusText:G.statusText||this.statusText,url:G.url||this.url||void 0})}}class et extends en{constructor(G){super(G,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${G.url||"(unknown url)"}`:`Http failure response for ${G.url||"(unknown url)"}: ${G.status} ${G.statusText}`,this.error=G.error||null}}function ze(ce,G){return{body:G,headers:ce.headers,context:ce.context,observe:ce.observe,params:ce.params,reportProgress:ce.reportProgress,responseType:ce.responseType,withCredentials:ce.withCredentials}}let Be=(()=>{class ce{constructor(z){this.handler=z}request(z,we,Pe={}){let De;if(z instanceof gn)De=z;else{let st,vt;st=Pe.headers instanceof $?Pe.headers:new $(Pe.headers),Pe.params&&(vt=Pe.params instanceof Fe?Pe.params:new Fe({fromObject:Pe.params})),De=new gn(z,we,void 0!==Pe.body?Pe.body:null,{headers:st,context:Pe.context,params:vt,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials})}const Ye=(0,re.of)(De).pipe((0,Y.b)(st=>this.handler.handle(st)));if(z instanceof gn||"events"===Pe.observe)return Ye;const Pt=Ye.pipe((0,Z.h)(st=>st instanceof lt));switch(Pe.observe||"body"){case"body":switch(De.responseType){case"arraybuffer":return Pt.pipe((0,te.U)(st=>{if(null!==st.body&&!(st.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return st.body}));case"blob":return Pt.pipe((0,te.U)(st=>{if(null!==st.body&&!(st.body instanceof Blob))throw new Error("Response is not a Blob.");return st.body}));case"text":return Pt.pipe((0,te.U)(st=>{if(null!==st.body&&"string"!=typeof st.body)throw new Error("Response is not a string.");return st.body}));default:return Pt.pipe((0,te.U)(st=>st.body))}case"response":return Pt;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(z,we={}){return this.request("DELETE",z,we)}get(z,we={}){return this.request("GET",z,we)}head(z,we={}){return this.request("HEAD",z,we)}jsonp(z,we){return this.request("JSONP",z,{params:(new Fe).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(z,we={}){return this.request("OPTIONS",z,we)}patch(z,we,Pe={}){return this.request("PATCH",z,ze(Pe,we))}post(z,we,Pe={}){return this.request("POST",z,ze(Pe,we))}put(z,we,Pe={}){return this.request("PUT",z,ze(Pe,we))}}return ce.\u0275fac=function(z){return new(z||ce)(_.LFG(ae))},ce.\u0275prov=_.Yz7({token:ce,factory:ce.\u0275fac}),ce})();class zt{constructor(G,z){this.next=G,this.interceptor=z}handle(G){return this.interceptor.intercept(G,this.next)}}const rn=new _.OlP("HTTP_INTERCEPTORS");let Ir=(()=>{class ce{intercept(z,we){return we.handle(z)}}return ce.\u0275fac=function(z){return new(z||ce)},ce.\u0275prov=_.Yz7({token:ce,factory:ce.\u0275fac}),ce})();const Cr=/^\)\]\}',?\n/;let hr=(()=>{class ce{constructor(z){this.xhrFactory=z}handle(z){if("JSONP"===z.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new J.y(we=>{const Pe=this.xhrFactory.build();if(Pe.open(z.method,z.urlWithParams),z.withCredentials&&(Pe.withCredentials=!0),z.headers.forEach((bt,Rt)=>Pe.setRequestHeader(bt,Rt.join(","))),z.headers.has("Accept")||Pe.setRequestHeader("Accept","application/json, text/plain, */*"),!z.headers.has("Content-Type")){const bt=z.detectContentTypeHeader();null!==bt&&Pe.setRequestHeader("Content-Type",bt)}if(z.responseType){const bt=z.responseType.toLowerCase();Pe.responseType="json"!==bt?bt:"text"}const De=z.serializeBody();let Ye=null;const Pt=()=>{if(null!==Ye)return Ye;const bt=Pe.statusText||"OK",Rt=new $(Pe.getAllResponseHeaders()),Wt=function _r(ce){return"responseURL"in ce&&ce.responseURL?ce.responseURL:/^X-Request-URL:/m.test(ce.getAllResponseHeaders())?ce.getResponseHeader("X-Request-URL"):null}(Pe)||z.url;return Ye=new Ee({headers:Rt,status:Pe.status,statusText:bt,url:Wt}),Ye},st=()=>{let{headers:bt,status:Rt,statusText:Wt,url:un}=Pt(),gt=null;204!==Rt&&(gt=typeof Pe.response>"u"?Pe.responseText:Pe.response),0===Rt&&(Rt=gt?200:0);let Ht=Rt>=200&&Rt<300;if("json"===z.responseType&&"string"==typeof gt){const mn=gt;gt=gt.replace(Cr,"");try{gt=""!==gt?JSON.parse(gt):null}catch(Wn){gt=mn,Ht&&(Ht=!1,gt={error:Wn,text:gt})}}Ht?(we.next(new lt({body:gt,headers:bt,status:Rt,statusText:Wt,url:un||void 0})),we.complete()):we.error(new et({error:gt,headers:bt,status:Rt,statusText:Wt,url:un||void 0}))},vt=bt=>{const{url:Rt}=Pt(),Wt=new et({error:bt,status:Pe.status||0,statusText:Pe.statusText||"Unknown Error",url:Rt||void 0});we.error(Wt)};let yt=!1;const Ut=bt=>{yt||(we.next(Pt()),yt=!0);let Rt={type:on.DownloadProgress,loaded:bt.loaded};bt.lengthComputable&&(Rt.total=bt.total),"text"===z.responseType&&!!Pe.responseText&&(Rt.partialText=Pe.responseText),we.next(Rt)},Qt=bt=>{let Rt={type:on.UploadProgress,loaded:bt.loaded};bt.lengthComputable&&(Rt.total=bt.total),we.next(Rt)};return Pe.addEventListener("load",st),Pe.addEventListener("error",vt),Pe.addEventListener("timeout",vt),Pe.addEventListener("abort",vt),z.reportProgress&&(Pe.addEventListener("progress",Ut),null!==De&&Pe.upload&&Pe.upload.addEventListener("progress",Qt)),Pe.send(De),we.next({type:on.Sent}),()=>{Pe.removeEventListener("error",vt),Pe.removeEventListener("abort",vt),Pe.removeEventListener("load",st),Pe.removeEventListener("timeout",vt),z.reportProgress&&(Pe.removeEventListener("progress",Ut),null!==De&&Pe.upload&&Pe.upload.removeEventListener("progress",Qt)),Pe.readyState!==Pe.DONE&&Pe.abort()}})}}return ce.\u0275fac=function(z){return new(z||ce)(_.LFG(l.JF))},ce.\u0275prov=_.Yz7({token:ce,factory:ce.\u0275fac}),ce})();const qr=new _.OlP("XSRF_COOKIE_NAME"),pr=new _.OlP("XSRF_HEADER_NAME");class Fr{}let wr=(()=>{class ce{constructor(z,we,Pe){this.doc=z,this.platform=we,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const z=this.doc.cookie||"";return z!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.Mx)(z,this.cookieName),this.lastCookieString=z),this.lastToken}}return ce.\u0275fac=function(z){return new(z||ce)(_.LFG(l.K0),_.LFG(_.Lbi),_.LFG(qr))},ce.\u0275prov=_.Yz7({token:ce,factory:ce.\u0275fac}),ce})(),kr=(()=>{class ce{constructor(z,we){this.tokenService=z,this.headerName=we}intercept(z,we){const Pe=z.url.toLowerCase();if("GET"===z.method||"HEAD"===z.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return we.handle(z);const De=this.tokenService.getToken();return null!==De&&!z.headers.has(this.headerName)&&(z=z.clone({headers:z.headers.set(this.headerName,De)})),we.handle(z)}}return ce.\u0275fac=function(z){return new(z||ce)(_.LFG(Fr),_.LFG(pr))},ce.\u0275prov=_.Yz7({token:ce,factory:ce.\u0275fac}),ce})(),ur=(()=>{class ce{constructor(z,we){this.backend=z,this.injector=we,this.chain=null}handle(z){if(null===this.chain){const we=this.injector.get(rn,[]);this.chain=we.reduceRight((Pe,De)=>new zt(Pe,De),this.backend)}return this.chain.handle(z)}}return ce.\u0275fac=function(z){return new(z||ce)(_.LFG(ve),_.LFG(_.zs3))},ce.\u0275prov=_.Yz7({token:ce,factory:ce.\u0275fac}),ce})(),Or=(()=>{class ce{static disable(){return{ngModule:ce,providers:[{provide:kr,useClass:Ir}]}}static withOptions(z={}){return{ngModule:ce,providers:[z.cookieName?{provide:qr,useValue:z.cookieName}:[],z.headerName?{provide:pr,useValue:z.headerName}:[]]}}}return ce.\u0275fac=function(z){return new(z||ce)},ce.\u0275mod=_.oAB({type:ce}),ce.\u0275inj=_.cJS({providers:[kr,{provide:rn,useExisting:kr,multi:!0},{provide:Fr,useClass:wr},{provide:qr,useValue:"XSRF-TOKEN"},{provide:pr,useValue:"X-XSRF-TOKEN"}]}),ce})(),Rr=(()=>{class ce{}return ce.\u0275fac=function(z){return new(z||ce)},ce.\u0275mod=_.oAB({type:ce}),ce.\u0275inj=_.cJS({providers:[Be,{provide:ae,useClass:ur},hr,{provide:ve,useExisting:hr}],imports:[[Or.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ce})()},5062:(xe,K,x)=>{"use strict";x.d(K,{deG:()=>_e,tb:()=>Qv,AFp:()=>Yv,ip1:()=>qv,CZH:()=>Mm,hGG:()=>eE,z2F:()=>Rm,sBO:()=>Vb,Sil:()=>mb,_Vd:()=>Qh,EJc:()=>pb,SBq:()=>$d,qLn:()=>ol,vpe:()=>Ba,tBr:()=>a,XFs:()=>me,OlP:()=>Q,zs3:()=>Ho,ZZ4:()=>Bm,aQg:()=>Um,soG:()=>Sm,YKP:()=>ov,h0i:()=>Cc,PXZ:()=>Ob,R0b:()=>da,FiY:()=>g,Lbi:()=>db,g9A:()=>Kv,Qsj:()=>lw,FYo:()=>nv,JOm:()=>ko,tp0:()=>k,Rgc:()=>qd,dDg:()=>eC,GfV:()=>rv,s_b:()=>ep,ifc:()=>vt,eFA:()=>rC,G48:()=>Lb,Gpc:()=>Se,X6Q:()=>kb,_c5:()=>Xb,VLi:()=>Tb,c2e:()=>fb,zSh:()=>Ed,wAp:()=>Pn,vHH:()=>$e,cg1:()=>nm,kL8:()=>Ty,dqk:()=>Rt,sIi:()=>Pu,CqO:()=>x_,QGY:()=>Yg,F4k:()=>O_,RDi:()=>V,AaK:()=>ue,qOj:()=>Ad,TTD:()=>_s,_Bn:()=>Xy,xp6:()=>Lf,uIk:()=>Nd,Tol:()=>X_,Gre:()=>gy,ekj:()=>Jg,Suo:()=>Mv,Xpm:()=>Zt,lG2:()=>It,Yz7:()=>hr,cJS:()=>pr,oAB:()=>Re,Yjl:()=>wt,Y36:()=>Ri,_UZ:()=>Wg,GkF:()=>qg,BQk:()=>jh,ynx:()=>Hh,qZA:()=>Au,TgZ:()=>so,EpF:()=>P_,n5z:()=>Xo,Ikx:()=>tm,LFG:()=>ar,$8M:()=>ea,$Z:()=>Wi,NdJ:()=>Zg,CRH:()=>Tv,oxw:()=>N_,Hsn:()=>k_,F$t:()=>F_,Q6J:()=>es,s9C:()=>Qg,MGl:()=>$h,VKq:()=>cv,WLB:()=>dv,kEZ:()=>fv,iGM:()=>Ev,MAs:()=>kh,CHM:()=>ti,oJD:()=>pu,LSH:()=>Zu,YNc:()=>Fh,W1O:()=>xv,_uU:()=>oy,Oqu:()=>em,hij:()=>zh,Gf:()=>Dv});var l=x(5529),_=x(2654),re=x(2916),J=x(6787),Y=x(1762);class te{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:i}=this,s=this.subjectFactory(),u=i(s).subscribe(t);return u.add(n.subscribe(s)),u}}var ae=x(4327);function ve(){return new l.xQ}function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function le(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).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 Ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ne=q({__forward_ref__:q});function Se(e){return e.__forward_ref__=Se,e.toString=function(){return ue(this())},e}function Fe(e){return mt(e)?e():e}function mt(e){return"function"==typeof e&&e.hasOwnProperty(ne)&&e.__forward_ref__===Se}class $e extends Error{constructor(t,n){super(function rt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Ce(e){return"string"==typeof e?e:null==e?"":String(e)}function _t(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ce(e)}function en(e,t){const n=t?` in ${t}`:"";throw new $e(-201,`No provider for ${_t(e)} found${n}`)}function Gn(e,t){null==e&&function En(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function hr(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fr(e){return wr(e,hi)||wr(e,Rr)}function wr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Xn(e){return e&&(e.hasOwnProperty(Or)||e.hasOwnProperty(pe))?e[Or]:null}const hi=q({\u0275prov:q}),Or=q({\u0275inj:q}),Rr=q({ngInjectableDef:q}),pe=q({ngInjectorDef:q});var me=(()=>((me=me||{})[me.Default=0]="Default",me[me.Host=1]="Host",me[me.Self=2]="Self",me[me.SkipSelf=4]="SkipSelf",me[me.Optional=8]="Optional",me))();let ce;function z(e){const t=ce;return ce=e,t}function we(e,t,n){const i=Fr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&me.Optional?null:void 0!==t?t:void en(ue(e),"Injector")}function De(e){return{toString:e}.toString()}var Ye=(()=>((Ye=Ye||{})[Ye.OnPush=0]="OnPush",Ye[Ye.Default=1]="Default",Ye))(),vt=(()=>{return(e=vt||(vt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",vt;var e})();const yt=typeof globalThis<"u"&&globalThis,Ut=typeof window<"u"&&window,Qt=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Rt=yt||typeof global<"u"&&global||Ut||Qt,gt={},Ht=[],mn=q({\u0275cmp:q}),Wn=q({\u0275dir:q}),xn=q({\u0275pipe:q}),Ft=q({\u0275mod:q}),yn=q({\u0275fac:q}),Ot=q({__NG_ELEMENT_ID__:q});let Dn=0;function Zt(e){return De(()=>{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===Ye.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ht,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||vt.Emulated,id:"c",styles:e.styles||Ht,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,u=e.features,h=e.pipes;return i.id+=Dn++,i.inputs=Et(e.inputs,n),i.outputs=Et(e.outputs),u&&u.forEach(v=>v(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(Le):null,i.pipeDefs=h?()=>("function"==typeof h?h():h).map(se):null,i})}function Le(e){return de(e)||function Oe(e){return e[Wn]||null}(e)}function se(e){return function jt(e){return e[xn]||null}(e)}const X={};function Re(e){return De(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ht,declarations:e.declarations||Ht,imports:e.imports||Ht,exports:e.exports||Ht,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(X[e.id]=e.type),t})}function Et(e,t){if(null==e)return gt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],u=s;Array.isArray(s)&&(u=s[1],s=s[0]),n[s]=i,t&&(t[s]=u)}return n}const It=Zt;function wt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function de(e){return e[mn]||null}function qt(e,t){const n=e[Ft]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}const A=20;function tn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Fn(e){return Array.isArray(e)&&!0===e[1]}function gr(e){return 0!=(8&e.flags)}function mr(e){return 2==(2&e.flags)}function Yn(e){return 1==(1&e.flags)}function sr(e){return null!==e.template}function Si(e){return 0!=(512&e[2])}function wi(e,t){return e.hasOwnProperty(yn)?e[yn]:null}class Do{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function _s(){return zo}function zo(e){return e.type.prototype.ngOnChanges&&(e.setInput=ns),ys}function ys(){const e=ao(this),t=e?.current;if(t){const n=e.previous;if(n===gt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function ns(e,t,n,i){const s=ao(e)||function Lr(e,t){return e[vs]=t}(e,{previous:gt,current:null}),u=s.current||(s.current={}),h=s.previous,v=this.declaredInputs[n],C=h[v];u[v]=new Do(C&&C.currentValue,t,h===gt),e[i]=t}_s.ngInherit=!0;const vs="__ngSimpleChanges__";function ao(e){return e[vs]||null}let M;function V(e){M=e}function T(){return void 0!==M?M:typeof document<"u"?document:void 0}function ge(e){return!!e.listen}const Ge={createRenderer:(e,t)=>T()};function St(e){for(;Array.isArray(e);)e=e[0];return e}function Ln(e,t){return St(t[e])}function Bt(e,t){return St(t[e.index])}function er(e,t){return e.data[t]}function vr(e,t){const n=t[e];return tn(n)?n:n[0]}function pi(e){return 4==(4&e[2])}function ws(e){return 128==(128&e[2])}function S(e,t){return null==t?null:e[t]}function D(e){e[18]=0}function w(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 N={lFrame:Yo(null),bindingsEnabled:!0};function Yi(){return N.bindingsEnabled}function ut(){return N.lFrame.lView}function zn(){return N.lFrame.tView}function ti(e){return N.lFrame.contextLView=e,e[8]}function Vr(){let e=Es();for(;null!==e&&64===e.type;)e=e.parent;return e}function Es(){return N.lFrame.currentTNode}function Vi(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function lo(){return N.lFrame.isParent}function fa(){N.lFrame.isParent=!1}function Kr(){const e=N.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function as(){return N.lFrame.bindingIndex++}function oi(e){const t=N.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function tu(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zi(t)}function Zi(e){N.lFrame.currentDirectiveIndex=e}function js(){return N.lFrame.currentQueryIndex}function ga(e){N.lFrame.currentQueryIndex=e}function ru(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function To(e,t,n){if(n&me.SkipSelf){let s=t,u=e;for(;!(s=s.parent,null!==s||n&me.Host||(s=ru(u),null===s||(u=u[15],10&s.type))););if(null===s)return!1;t=s,e=u}const i=N.lFrame=pl();return i.currentTNode=t,i.lView=e,!0}function Ua(e){const t=pl(),n=e[1];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function pl(){const e=N.lFrame,t=null===e?null:e.child;return null===t?Yo(e):t}function Yo(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 Me(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Je=Me;function qe(){const e=Me();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 On(){return N.lFrame.selectedIndex}function Dr(e){N.lFrame.selectedIndex=e}function Cn(){const e=N.lFrame;return er(e.tView,e.selectedIndex)}function $s(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const u=e.data[n].type.prototype,{ngAfterContentInit:h,ngAfterContentChecked:v,ngAfterViewInit:C,ngAfterViewChecked:I,ngOnDestroy:F}=u;h&&(e.contentHooks||(e.contentHooks=[])).push(-n,h),v&&((e.contentHooks||(e.contentHooks=[])).push(n,v),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,v)),C&&(e.viewHooks||(e.viewHooks=[])).push(-n,C),I&&((e.viewHooks||(e.viewHooks=[])).push(n,I),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,I)),null!=F&&(e.destroyHooks||(e.destroyHooks=[])).push(n,F)}}function Gs(e,t,n){$a(e,t,3,n)}function Qn(e,t,n,i){(3&e[2])===n&&$a(e,t,n,i)}function _a(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function $a(e,t,n,i){const u=i??-1,h=t.length-1;let v=0;for(let C=void 0!==i?65535&e[18]:0;C<h;C++)if("number"==typeof t[C+1]){if(v=t[C],null!=i&&v>=i)break}else t[C]<0&&(e[18]+=65536),(v<u||-1==u)&&(Ga(e,n,t,C),e[18]=(4294901760&e[18])+C+2),C++}function Ga(e,t,n,i){const s=n[i]<0,u=n[i+1],v=e[s?-n[i]:n[i]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{u.call(v)}finally{}}}else try{u.call(v)}finally{}}class ya{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function uo(e,t,n){const i=ge(e);let s=0;for(;s<n.length;){const u=n[s];if("number"==typeof u){if(0!==u)break;s++;const h=n[s++],v=n[s++],C=n[s++];i?e.setAttribute(t,v,C,h):t.setAttributeNS(h,v,C)}else{const h=u,v=n[++s];co(h)?i&&e.setProperty(t,h,v):i?e.setAttribute(t,h,v):t.setAttribute(h,v),s++}}return s}function za(e){return 3===e||4===e||6===e}function co(e){return 64===e.charCodeAt(0)}function ls(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?n=s:0===n||Po(e,n,s,null,-1===n||2===n?t[++i]:null)}}return e}function Po(e,t,n,i,s){let u=0,h=e.length;if(-1===t)h=-1;else for(;u<e.length;){const v=e[u++];if("number"==typeof v){if(v===t){h=-1;break}if(v>t){h=u-1;break}}}for(;u<e.length;){const v=e[u];if("number"==typeof v)break;if(v===n){if(null===i)return void(null!==s&&(e[u+1]=s));if(i===e[u+1])return void(e[u+2]=s)}u++,null!==i&&u++,null!==s&&u++}-1!==h&&(e.splice(h,0,t),u=h+1),e.splice(u++,0,n),null!==i&&e.splice(u++,0,i),null!==s&&e.splice(u++,0,s)}function yl(e){return-1!==e}function Oo(e){return 32767&e}function Ms(e,t){let n=function Di(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let fo=!0;function Ts(e){const t=fo;return fo=e,t}let ou=0;function Hr(e,t){const n=Wa(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,wa(i.data,e),wa(t,null),wa(i.blueprint,null));const s=xo(e,t),u=e.injectorIndex;if(yl(s)){const h=Oo(s),v=Ms(s,t),C=v[1].data;for(let I=0;I<8;I++)t[u+I]=v[h+I]|C[h+I]}return t[u+8]=s,u}function wa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function xo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){const u=s[1],h=u.type;if(i=2===h?u.declTNode:1===h?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function qa(e,t,n){!function Ur(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Ot)&&(i=n[Ot]),null==i&&(i=n[Ot]=ou++);const s=255&i;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function Ao(e,t,n){if(n&me.Optional)return e;en(t,"NodeInjector")}function Ya(e,t,n,i){if(n&me.Optional&&void 0===i&&(i=null),0==(n&(me.Self|me.Host))){const s=e[9],u=z(void 0);try{return s?s.get(t,i,n&me.Optional):we(t,i,n&me.Optional)}finally{z(u)}}return Ao(i,t,n)}function Io(e,t,n,i=me.Default,s){if(null!==e){const u=function ku(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ot)?e[Ot]:void 0;return"number"==typeof t?t>=0?255&t:Qo:t}(n);if("function"==typeof u){if(!To(t,e,i))return i&me.Host?Ao(s,n,i):Ya(t,n,i,s);try{const h=u(i);if(null!=h||i&me.Optional)return h;en(n)}finally{Je()}}else if("number"==typeof u){let h=null,v=Wa(e,t),C=-1,I=i&me.Host?t[16][6]:null;for((-1===v||i&me.SkipSelf)&&(C=-1===v?xo(e,t):t[v+8],-1!==C&&lu(i,!1)?(h=t[1],v=Oo(C),t=Ms(C,t)):v=-1);-1!==v;){const F=t[1];if(au(u,v,F.data)){const ee=Za(v,t,n,h,i,I);if(ee!==Ko)return ee}C=t[v+8],-1!==C&&lu(i,t[1].data[v+8]===I)&&au(u,v,t)?(h=F,v=Oo(C),t=Ms(C,t)):v=-1}}}return Ya(t,n,i,s)}const Ko={};function Qo(){return new Ys(Vr(),ut())}function Za(e,t,n,i,s,u){const h=t[1],v=h.data[e+8],F=qs(v,h,n,null==i?mr(v)&&fo:i!=h&&0!=(3&v.type),s&me.Host&&u===v);return null!==F?Jo(t,h,F,v):Ko}function qs(e,t,n,i,s){const u=e.providerIndexes,h=t.data,v=1048575&u,C=e.directiveStart,F=u>>20,ye=s?v+F:e.directiveEnd;for(let Ne=i?v:v+F;Ne<ye;Ne++){const tt=h[Ne];if(Ne<C&&n===tt||Ne>=C&&tt.type===n)return Ne}if(s){const Ne=h[C];if(Ne&&sr(Ne)&&Ne.type===n)return C}return null}function Jo(e,t,n,i){let s=e[n];const u=t.data;if(function su(e){return e instanceof ya}(s)){const h=s;h.resolving&&function Ct(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new $e(-200,`Circular dependency in DI detected for ${e}${n}`)}(_t(u[n]));const v=Ts(h.canSeeViewProviders);h.resolving=!0;const C=h.injectImpl?z(h.injectImpl):null;To(e,i,me.Default);try{s=e[n]=h.factory(void 0,u,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Zo(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:u}=t.type.prototype;if(i){const h=zo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,h),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,h)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),u&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u))}(n,u[n],t)}finally{null!==C&&z(C),Ts(v),h.resolving=!1,Je()}}return s}function au(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function lu(e,t){return!(e&me.Self||e&me.Host&&t)}class Ys{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Io(this._tNode,this._lView,t,i,n)}}function Xo(e){return De(()=>{const t=e.prototype.constructor,n=t[yn]||ho(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const u=s[yn]||ho(s);if(u&&u!==n)return u;s=Object.getPrototypeOf(s)}return u=>new u})}function ho(e){return mt(e)?()=>{const t=ho(Fe(e));return t&&t()}:wi(e)}function ea(e){return function Ss(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let s=0;for(;s<i;){const u=n[s];if(za(u))break;if(0===u)s+=2;else if("number"==typeof u)for(s++;s<i&&"string"==typeof n[s];)s++;else{if(u===t)return n[s+1];s+=2}}}return null}(Vr(),e)}const jr="__parameters__";function b(e,t,n){return De(()=>{const i=function d(e){return function(...n){if(e){const i=e(...n);for(const s in i)this[s]=i[s]}}}(t);function s(...u){if(this instanceof s)return i.apply(this,u),this;const h=new s(...u);return v.annotation=h,v;function v(C,I,F){const ee=C.hasOwnProperty(jr)?C[jr]:Object.defineProperty(C,jr,{value:[]})[jr];for(;ee.length<=F;)ee.push(null);return(ee[F]=ee[F]||[]).push(h),C}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class Q{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=hr({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const _e=new Q("AnalyzeForEntryComponents");function us(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)),us(i,t)):t!==e&&t.push(i)}return t}function Ks(e,t){e.forEach(n=>Array.isArray(n)?Ks(n,t):t(n))}function Dc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function po(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ps(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function xi(e,t,n){let i=Gr(e,t);return i>=0?e[1|i]=n:(i=~i,function ta(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Xa(e,t){const n=Gr(e,t);if(n>=0)return e[1|n]}function Gr(e,t){return function Bu(e,t,n){let i=0,s=e.length>>n;for(;s!==i;){const u=i+(s-i>>1),h=e[u<<n];if(t===h)return u<<n;h>t?s=u:i=u+1}return~(s<<n)}(e,t,1)}const Ai={},Hu="__NG_DI_FLAG__",El="ngTempTokenPath",Dl=/\n/gm,Ml="__source",rl=q({provide:String,useValue:q});let go;function ju(e){const t=go;return go=e,t}function cu(e,t=me.Default){if(void 0===go)throw new $e(203,"");return null===go?we(e,void 0,t):go.get(e,t&me.Optional?null:void 0,t)}function ar(e,t=me.Default){return(function G(){return ce}()||cu)(Fe(e),t)}const $u=ar;function xs(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 $e(900,"");let s,u=me.Default;for(let h=0;h<i.length;h++){const v=i[h],C=du(v);"number"==typeof C?-1===C?s=v.token:u|=C:s=v}t.push(ar(s,u))}else t.push(ar(i))}return t}function ba(e,t){return e[Hu]=t,e.prototype[Hu]=t,e}function du(e){return e[Hu]}const a=ba(b("Inject",e=>({token:e})),-1),g=ba(b("Optional"),8),k=ba(b("SkipSelf"),4);let ui,Xs;function Ii(e){return function Ki(){if(void 0===ui&&(ui=null,Rt.trustedTypes))try{ui=Rt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ui}()?.createHTML(e)||e}function Sl(e){return function il(){if(void 0===Xs&&(Xs=null,Rt.trustedTypes))try{Xs=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xs}()?.createHTML(e)||e}class Tn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Gt(e){return e instanceof Tn?e.changingThisBreaksApplicationSecurity:e}function Ea(e,t){const n=function Pc(e){return e instanceof Tn&&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 Gu{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ii(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Oc{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=Ii(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Ii(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const h=n.item(s).name;("xmlns:ns1"===h||0===h.indexOf("ns1:"))&&t.removeAttribute(h)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const ef=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Ma=/^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 Pl(e){return(e=String(e)).match(ef)||e.match(Ma)?e:"unsafe:"+e}function As(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ol(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const zu=As("area,br,col,hr,img,wbr"),Ac=As("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wu=As("rp,rt"),Ro=Ol(zu,Ol(Ac,As("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")),Ol(Wu,As("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")),Ol(Wu,Ac)),qu=As("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Yu=As("srcset"),rf=Ol(qu,Yu,As("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"),As("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")),op=As("script,style,template");class sf{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ro.hasOwnProperty(n))return this.sanitizedSomething=!0,!op.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let s=0;s<i.length;s++){const u=i.item(s),h=u.name,v=h.toLowerCase();if(!rf.hasOwnProperty(v)){this.sanitizedSomething=!0;continue}let C=u.value;qu[v]&&(C=Pl(C)),Yu[v]&&(e=C,C=(e=String(e)).split(",").map(t=>Pl(t.trim())).join(", ")),this.buf.push(" ",h,'="',Ic(C),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ro.hasOwnProperty(n)&&!zu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ic(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 af=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ap=/([^\#-~ |!])/g;function Ic(e){return e.replace(/&/g,"&").replace(af,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ap,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let hu;function no(e){return"content"in e&&function lp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var di=(()=>((di=di||{})[di.NONE=0]="NONE",di[di.HTML=1]="HTML",di[di.STYLE=2]="STYLE",di[di.SCRIPT=3]="SCRIPT",di[di.URL=4]="URL",di[di.RESOURCE_URL=5]="RESOURCE_URL",di))();function pu(e){const t=Ta();return t?Sl(t.sanitize(di.HTML,e)||""):Ea(e,"HTML")?Sl(Gt(e)):function fs(e,t){let n=null;try{hu=hu||function Jd(e){const t=new Oc(e);return function Xd(){try{return!!(new window.DOMParser).parseFromString(Ii(""),"text/html")}catch{return!1}}()?new Gu(t):t}(e);let i=t?String(t):"";n=hu.getInertBodyElement(i);let s=5,u=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=u,u=n.innerHTML,n=hu.getInertBodyElement(i)}while(i!==u);return Ii((new sf).sanitizeChildren(no(n)||n))}finally{if(n){const i=no(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(T(),Ce(e))}function Zu(e){const t=Ta();return t?t.sanitize(di.URL,e)||"":Ea(e,"URL")?Gt(e):Pl(Ce(e))}function Ta(){const e=ut();return e&&e[12]}const mu="__ngContext__";function ji(e,t){e[mu]=t}function Nl(e){const t=function Rl(e){return e[mu]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function _u(e){return e.ngOriginalError}function Vc(e,...t){e.error(...t)}class ol{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function Lc(e){return e&&e.ngErrorLogger||Vc}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&_u(t);for(;n&&_u(n);)n=_u(n);return n||null}}const mp=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Rt))();function Fo(e){return e instanceof Function?e():e}var ko=(()=>((ko=ko||{})[ko.Important=1]="Important",ko[ko.DashCase=2]="DashCase",ko))();function Hc(e,t){return undefined(e,t)}function Vl(e){const t=e[3];return Fn(t)?t[3]:t}function $c(e){return Cf(e[13])}function Gc(e){return Cf(e[4])}function Cf(e){for(;null!==e&&!Fn(e);)e=e[4];return e}function ll(e,t,n,i,s){if(null!=i){let u,h=!1;Fn(i)?u=i:tn(i)&&(h=!0,i=i[0]);const v=St(i);0===e&&null!==n?null==s?Sf(t,n,v):cl(t,n,v,s||null,!0):1===e&&null!==n?cl(t,n,v,s||null,!0):2===e?function Af(e,t,n){const i=ec(e,t);i&&function bp(e,t,n,i){ge(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,v,h):3===e&&t.destroyNode(v),null!=u&&function Mp(e,t,n,i,s){const u=n[7];u!==St(n)&&ll(t,e,i,u,s);for(let v=10;v<n.length;v++){const C=n[v];Cu(C[1],C,e,t,i,u)}}(t,e,u,n,s)}}function ul(e,t,n){if(ge(e))return e.createElement(t,n);{const i=null!==n?function Mo(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 Pa(e,t){const n=e[9],i=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,w(s,-1)),n.splice(i,1)}function qc(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const s=i[17];null!==s&&s!==e&&Pa(s,i),t>0&&(e[n-1][4]=i[4]);const u=po(e,10+t);!function Wc(e,t){Cu(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const h=u[19];null!==h&&h.detachView(u[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Yc(e,t){if(!(256&t[2])){const n=t[11];ge(n)&&n.destroyNode&&Cu(e,t,n,3,null,null),function Xu(e){let t=e[13];if(!t)return Zc(e[1],e);for(;t;){let n=null;if(tn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)tn(t)&&Zc(t[1],t),t=t[3];null===t&&(t=e),tn(t)&&Zc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Zc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function wp(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const s=t[n[i]];if(!(s instanceof ya)){const u=n[i+1];if(Array.isArray(u))for(let h=0;h<u.length;h+=2){const v=s[u[h]],C=u[h+1];try{C.call(v)}finally{}}else try{u.call(s)}finally{}}}}(e,t),function Cp(e,t){const n=e.cleanup,i=t[7];let s=-1;if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const h=n[u+1],v="function"==typeof h?h(t):St(t[h]),C=i[s=n[u+2]],I=n[u+3];"boolean"==typeof I?v.removeEventListener(n[u],C,I):I>=0?i[s=I]():i[s=-I].unsubscribe(),u+=2}else{const h=i[s=n[u+1]];n[u].call(h)}if(null!==i){for(let u=s+1;u<i.length;u++)i[u]();t[7]=null}}(e,t),1===t[1].type&&ge(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Fn(t[3])){n!==t[3]&&Pa(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Mf(e,t,n){return function Tf(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const s=e.data[i.directiveStart].encapsulation;if(s===vt.None||s===vt.Emulated)return null}return Bt(i,n)}(e,t.parent,n)}function cl(e,t,n,i,s){ge(e)?e.insertBefore(t,n,i,s):t.insertBefore(n,i,s)}function Sf(e,t,n){ge(e)?e.appendChild(t,n):t.appendChild(n)}function Pf(e,t,n,i,s){null!==i?cl(e,t,n,i,s):Sf(e,t,n)}function ec(e,t){return ge(e)?e.parentNode(t):t.parentNode}function Kc(e,t,n){return Jc(e,t,n)}let Jc=function Qc(e,t,n){return 40&e.type?Bt(e,n):null};function tc(e,t,n,i){const s=Mf(e,i,t),u=t[11],v=Kc(i.parent||t[6],i,t);if(null!=s)if(Array.isArray(n))for(let C=0;C<n.length;C++)Pf(u,s,n[C],v,!1);else Pf(u,s,n,v,!1)}function vu(e,t){if(null!==t){const n=t.type;if(3&n)return Bt(t,e);if(4&n)return ed(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return vu(e,i);{const s=e[t.index];return Fn(s)?ed(-1,s):St(s)}}if(32&n)return Hc(t,e)()||St(e[t.index]);{const i=xf(e,t);return null!==i?Array.isArray(i)?i[0]:vu(Vl(e[16]),i):vu(e,t.next)}}return null}function xf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ed(e,t){const n=10+e+1;if(n<t.length){const i=t[n],s=i[1].firstChild;if(null!==s)return vu(i,s)}return t[7]}function td(e,t,n,i,s,u,h){for(;null!=n;){const v=i[n.index],C=n.type;if(h&&0===t&&(v&&ji(St(v),i),n.flags|=4),64!=(64&n.flags))if(8&C)td(e,t,n.child,i,s,u,!1),ll(t,e,s,v,u);else if(32&C){const I=Hc(n,i);let F;for(;F=I();)ll(t,e,s,F,u);ll(t,e,s,v,u)}else 16&C?Is(e,t,i,n,s,u):ll(t,e,s,v,u);n=h?n.projectionNext:n.next}}function Cu(e,t,n,i,s,u){td(n,i,e.firstChild,t,s,u,!1)}function Is(e,t,n,i,s,u){const h=n[16],C=h[6].projection[i.projection];if(Array.isArray(C))for(let I=0;I<C.length;I++)ll(t,e,s,C[I],u);else td(e,t,C,h[3],s,u,!0)}function If(e,t,n){ge(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function nc(e,t,n){ge(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Rf(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const u=t.length;if(s+u===i||e.charCodeAt(s+u)<=32)return s}n=s+1}}const Nf="ng-template";function Sp(e,t,n){let i=0;for(;i<e.length;){let s=e[i++];if(n&&"class"===s){if(s=e[i],-1!==Rf(s.toLowerCase(),t,0))return!0}else if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function rc(e){return 4===e.type&&e.value!==Nf}function Pp(e,t,n){return t===(4!==e.type||n?e.value:Nf)}function Op(e,t,n){let i=4;const s=e.attrs||[],u=function Ip(e){for(let t=0;t<e.length;t++)if(za(e[t]))return t;return e.length}(s);let h=!1;for(let v=0;v<t.length;v++){const C=t[v];if("number"!=typeof C){if(!h)if(4&i){if(i=2|1&i,""!==C&&!Pp(e,C,n)||""===C&&1===t.length){if(mo(i))return!1;h=!0}}else{const I=8&i?C:t[++v];if(8&i&&null!==e.attrs){if(!Sp(e.attrs,I,n)){if(mo(i))return!1;h=!0}continue}const ee=xp(8&i?"class":C,s,rc(e),n);if(-1===ee){if(mo(i))return!1;h=!0;continue}if(""!==I){let ye;ye=ee>u?"":s[ee+1].toLowerCase();const Ne=8&i?ye:null;if(Ne&&-1!==Rf(Ne,I,0)||2&i&&I!==ye){if(mo(i))return!1;h=!0}}}}else{if(!h&&!mo(i)&&!mo(C))return!1;if(h&&mo(C))continue;h=!1,i=C|1&i}}return mo(i)||h}function mo(e){return 0==(1&e)}function xp(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let u=!1;for(;s<t.length;){const h=t[s];if(h===e)return s;if(3===h||6===h)u=!0;else{if(1===h||2===h){let v=t[++s];for(;"string"==typeof v;)v=t[++s];continue}if(4===h)break;if(0===h){s+=4;continue}}s+=u?1:2}return-1}return function Rp(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 Ff(e,t,n=!1){for(let i=0;i<t.length;i++)if(Op(e,t[i],n))return!0;return!1}function Np(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let s=0;s<e.length;s++)if(e[s]!==i[s])continue e;return!0}}return!1}function kf(e,t){return e?":not("+t.trim()+")":t}function Fp(e){let t=e[0],n=1,i=2,s="",u=!1;for(;n<e.length;){let h=e[n];if("string"==typeof h)if(2&i){const v=e[++n];s+="["+h+(v.length>0?'="'+v+'"':"")+"]"}else 8&i?s+="."+h:4&i&&(s+=" "+h);else""!==s&&!mo(h)&&(t+=kf(u,s),s=""),i=h,u=u||!mo(i);n++}return""!==s&&(t+=kf(u,s)),t}const kn={};function Lf(e){Vf(zn(),ut(),On()+e,!1)}function Vf(e,t,n,i){if(!i)if(3==(3&t[2])){const u=e.preOrderCheckHooks;null!==u&&Gs(t,u,n)}else{const u=e.preOrderHooks;null!==u&&Qn(t,u,0,n)}Dr(n)}function ic(e,t){return e<<17|t<<2}function _o(e){return e>>17&32767}function sc(e){return 2|e}function la(e){return(131068&e)>>2}function rd(e,t){return-131069&e|t<<2}function id(e){return 1|e}function hd(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],u=n[i+1];if(-1!==u){const h=e.data[u];ga(s),h.contentQueries(2,t[u],u)}}}function Ul(e,t,n,i,s,u,h,v,C,I){const F=t.blueprint.slice();return F[0]=s,F[2]=140|i,D(F),F[3]=F[15]=e,F[8]=n,F[10]=h||e&&e[10],F[11]=v||e&&e[11],F[12]=C||e&&e[12]||null,F[9]=I||e&&e[9]||null,F[6]=u,F[16]=2==t.type?e[16]:F,F}function dl(e,t,n,i,s){let u=e.data[t];if(null===u)u=function lc(e,t,n,i,s){const u=Es(),h=lo(),C=e.data[t]=function Zp(e,t,n,i,s,u){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:u,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,h?u:u&&u.parent,n,t,i,s);return null===e.firstChild&&(e.firstChild=C),null!==u&&(h?null==u.child&&null!==C.parent&&(u.child=C):null===u.next&&(u.next=C)),C}(e,t,n,i,s),function Wo(){return N.lFrame.inI18n}()&&(u.flags|=64);else if(64&u.type){u.type=n,u.value=i,u.attrs=s;const h=function Ds(){const e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===h?-1:h.injectorIndex}return Vi(u,!0),u}function Hl(e,t,n,i){if(0===n)return-1;const s=t.length;for(let u=0;u<n;u++)t.push(i),e.blueprint.push(i),e.data.push(null);return s}function bu(e,t,n){Ua(t);try{const i=e.viewQuery;null!==i&&Cd(1,i,n);const s=e.template;null!==s&&Eu(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&hd(e,t),e.staticViewQueries&&Cd(2,e.viewQuery,n);const u=e.components;null!==u&&function Kf(e,t){for(let n=0;n<t.length;n++)lh(e,t[n])}(t,u)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,qe()}}function jl(e,t,n,i){const s=t[2];if(256!=(256&s)){Ua(t);try{D(t),function pa(e){return N.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Eu(e,t,n,2,i);const h=3==(3&s);if(h){const I=e.preOrderCheckHooks;null!==I&&Gs(t,I,null)}else{const I=e.preOrderHooks;null!==I&&Qn(t,I,0,null),_a(t,0)}if(function sg(e){for(let t=$c(e);null!==t;t=Gc(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const s=n[i],u=s[3];0==(1024&s[2])&&w(u,1),s[2]|=1024}}}(t),function ig(e){for(let t=$c(e);null!==t;t=Gc(t))for(let n=10;n<t.length;n++){const i=t[n],s=i[1];ws(i)&&jl(s,i,s.template,i[8])}}(t),null!==e.contentQueries&&hd(e,t),h){const I=e.contentCheckHooks;null!==I&&Gs(t,I)}else{const I=e.contentHooks;null!==I&&Qn(t,I,1),_a(t,1)}!function Zf(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const s=n[i];if(s<0)Dr(~s);else{const u=s,h=n[++i],v=n[++i];tu(h,u),v(2,t[u])}}}finally{Dr(-1)}}(e,t);const v=e.components;null!==v&&function pd(e,t){for(let n=0;n<t.length;n++)og(e,t[n])}(t,v);const C=e.viewQuery;if(null!==C&&Cd(2,C,i),h){const I=e.viewCheckHooks;null!==I&&Gs(t,I)}else{const I=e.viewHooks;null!==I&&Qn(t,I,2),_a(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,w(t[3],-1))}finally{qe()}}}function uc(e,t,n,i){const s=t[10],h=pi(t);try{!h&&s.begin&&s.begin(),h&&bu(e,t,i),jl(e,t,n,i)}finally{!h&&s.end&&s.end()}}function Eu(e,t,n,i,s){const u=On(),h=2&i;try{Dr(-1),h&&t.length>A&&Vf(e,t,A,!1),n(i,s)}finally{Dr(u)}}function Qf(e,t,n){if(gr(t)){const s=t.directiveEnd;for(let u=t.directiveStart;u<s;u++){const h=e.data[u];h.contentQueries&&h.contentQueries(1,n[u],u)}}}function gd(e,t,n){!Yi()||(function Ia(e,t,n,i){const s=n.directiveStart,u=n.directiveEnd;e.firstCreatePass||Hr(n,t),ji(i,t);const h=n.initialInputs;for(let v=s;v<u;v++){const C=e.data[v],I=sr(C);I&&sh(t,n,C);const F=Jo(t,e,v,n);ji(F,t),null!==h&&Jr(0,v-s,F,C,0,h),I&&(vr(n.index,t)[8]=F)}}(e,t,n,Bt(n,t)),128==(128&n.flags)&&function tg(e,t,n){const i=n.directiveStart,s=n.directiveEnd,h=n.index,v=function nu(){return N.lFrame.currentDirectiveIndex}();try{Dr(h);for(let C=i;C<s;C++){const I=e.data[C],F=t[C];Zi(C),(null!==I.hostBindings||0!==I.hostVars||null!==I.hostAttrs)&&nh(I,F)}}finally{Dr(-1),Zi(v)}}(e,t,n))}function Du(e,t,n=Bt){const i=t.localNames;if(null!==i){let s=t.index+1;for(let u=0;u<i.length;u+=2){const h=i[u+1],v=-1===h?n(t,e):e[h];e[s++]=v}}}function md(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=cc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function cc(e,t,n,i,s,u,h,v,C,I){const F=A+i,ee=F+s,ye=function Yp(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:kn);return n}(F,ee),Ne="function"==typeof I?I():I;return ye[1]={type:e,blueprint:ye,template:n,queries:null,viewQuery:v,declTNode:t,data:ye.slice().fill(null,F),bindingStartIndex:F,expandoStartIndex:ee,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof u?u():u,pipeRegistry:"function"==typeof h?h():h,firstChild:null,schemas:C,consts:Ne,incompleteFirstPass:!1}}function eh(e,t,n,i){const s=wd(t);null===n?s.push(i):(s.push(n),e.firstCreatePass&&Bo(e).push(i,s.length-1))}function th(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const s=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,s):n[i]=[t,s]}return n}function Rs(e,t,n,i,s,u,h,v){const C=Bt(t,n);let F,I=t.inputs;!v&&null!=I&&(F=I[i])?(Fs(e,n,F,i,s),mr(t)&&function Jp(e,t){const n=vr(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function Qp(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),s=null!=h?h(s,t.value||"",i):s,ge(u)?u.setProperty(C,i,s):co(i)||(C.setProperty?C.setProperty(i,s):C[i]=s))}function zi(e,t,n,i){let s=!1;if(Yi()){const u=function ng(e,t,n){const i=e.directiveRegistry;let s=null;if(i)for(let u=0;u<i.length;u++){const h=i[u];Ff(n,h.selectors,!1)&&(s||(s=[]),qa(Hr(n,t),e,h.type),sr(h)?(rh(e,n),s.unshift(h)):s.push(h))}return s}(e,t,n),h=null===i?null:{"":-1};if(null!==u){s=!0,ih(n,e.data.length,u.length);for(let F=0;F<u.length;F++){const ee=u[F];ee.providersResolver&&ee.providersResolver(ee)}let v=!1,C=!1,I=Hl(e,t,u.length,null);for(let F=0;F<u.length;F++){const ee=u[F];n.mergedAttrs=ls(n.mergedAttrs,ee.hostAttrs),Vo(e,n,t,I,ee),_d(I,ee,h),null!==ee.contentQueries&&(n.flags|=8),(null!==ee.hostBindings||null!==ee.hostAttrs||0!==ee.hostVars)&&(n.flags|=128);const ye=ee.type.prototype;!v&&(ye.ngOnChanges||ye.ngOnInit||ye.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),v=!0),!C&&(ye.ngOnChanges||ye.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),C=!0),I++}!function Kp(e,t){const i=t.directiveEnd,s=e.data,u=t.attrs,h=[];let v=null,C=null;for(let I=t.directiveStart;I<i;I++){const F=s[I],ee=F.inputs,ye=null===u||rc(t)?null:oh(ee,u);h.push(ye),v=th(ee,I,v),C=th(F.outputs,I,C)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=16),v.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=h,t.inputs=v,t.outputs=C}(e,n)}h&&function rg(e,t,n){if(t){const i=e.localNames=[];for(let s=0;s<t.length;s+=2){const u=n[t[s+1]];if(null==u)throw new $e(-301,!1);i.push(t[s],u)}}}(n,i,h)}return n.mergedAttrs=ls(n.mergedAttrs,n.attrs),s}function Qr(e,t,n,i,s,u){const h=u.hostBindings;if(h){let v=e.hostBindingOpCodes;null===v&&(v=e.hostBindingOpCodes=[]);const C=~t.index;(function eg(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(v)!=C&&v.push(C),v.push(i,s,h)}}function nh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function rh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function _d(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;sr(t)&&(n[""]=e)}}function ih(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Vo(e,t,n,i,s){e.data[i]=s;const u=s.factory||(s.factory=wi(s.type)),h=new ya(u,sr(s),null);e.blueprint[i]=h,n[i]=h,Qr(e,t,0,i,Hl(e,n,s.hostVars,kn),s)}function sh(e,t,n){const i=Bt(t,e),s=md(n),u=e[10],h=$l(e,Ul(e,s,null,n.onPush?64:16,i,t,u,u.createRenderer(i,n),null,null));e[t.index]=h}function Ns(e,t,n,i,s,u){const h=Bt(e,t);!function Br(e,t,n,i,s,u,h){if(null==u)ge(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const v=null==h?Ce(u):h(u,i||"",s);ge(e)?e.setAttribute(t,s,v,n):n?t.setAttributeNS(n,s,v):t.setAttribute(s,v)}}(t[11],h,u,e.value,n,i,s)}function Jr(e,t,n,i,s,u){const h=u[t];if(null!==h){const v=i.setInput;for(let C=0;C<h.length;){const I=h[C++],F=h[C++],ee=h[C++];null!==v?i.setInput(n,ee,I,F):n[F]=ee}}}function oh(e,t){let n=null,i=0;for(;i<t.length;){const s=t[i];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[i+1])),i+=2}else i+=2;else i+=4}return n}function ah(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function og(e,t){const n=vr(t,e);if(ws(n)){const i=n[1];80&n[2]?jl(i,n,i.template,n[8]):n[5]>0&&yd(n)}}function yd(e){for(let i=$c(e);null!==i;i=Gc(i))for(let s=10;s<i.length;s++){const u=i[s];if(1024&u[2]){const h=u[1];jl(h,u,h.template,u[8])}else u[5]>0&&yd(u)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const s=vr(n[i],e);ws(s)&&s[5]>0&&yd(s)}}function lh(e,t){const n=vr(t,e),i=n[1];(function Mu(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),bu(i,n,n[8])}function $l(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function vd(e){for(;e;){e[2]|=64;const t=Vl(e);if(Si(e)&&!t)return e;e=t}return null}function fl(e){!function Gl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=Nl(n),s=i[1];uc(s,i,s.template,n)}}(e[8])}function Cd(e,t,n){ga(0),t(e,n)}const ag=(()=>Promise.resolve(null))();function wd(e){return e[7]||(e[7]=[])}function Bo(e){return e.cleanup||(e.cleanup=[])}function bd(e,t){const n=e[9],i=n?n.get(ol,null):null;i&&i.handleError(t)}function Fs(e,t,n,i,s){for(let u=0;u<n.length;){const h=n[u++],v=n[u++],C=t[h],I=e.data[h];null!==I.setInput?I.setInput(C,s,i,v):C[v]=s}}function Uo(e,t,n){const i=Ln(t,e);!function Ju(e,t,n){ge(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function dc(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,u=0;if(null!==t)for(let h=0;h<t.length;h++){const v=t[h];"number"==typeof v?u=v:1==u?s=Ve(s,v):2==u&&(i=Ve(i,v+": "+t[++h]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=s:e.classesWithoutHost=s}const zl=new Q("INJECTOR",-1);class ch{get(t,n=Ai){if(n===Ai){const i=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw i.name="NullInjectorError",i}return n}}const Ed=new Q("Set Injector scope."),Tu={},cg={};let Dd;function dh(){return void 0===Dd&&(Dd=new ch),Dd}function fh(e,t=null,n=null,i){const s=hh(e,t,n,i);return s._resolveInjectorDefTypes(),s}function hh(e,t=null,n=null,i){return new dg(e,n,t||dh(),i)}class dg{constructor(t,n,i,s=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const u=[];n&&Ks(n,v=>this.processProvider(v,t,n)),Ks([t],v=>this.processInjectorType(v,[],u)),this.records.set(zl,Ra(void 0,this));const h=this.records.get(Ed);this.scope=null!=h?h.value:null,this.source=s||("object"==typeof t?null:ue(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=Ai,i=me.Default){this.assertNotDestroyed();const s=ju(this),u=z(void 0);try{if(!(i&me.SkipSelf)){let v=this.records.get(t);if(void 0===v){const C=function mg(e){return"function"==typeof e||"object"==typeof e&&e instanceof Q}(t)&&Fr(t);v=C&&this.injectableDefInScope(C)?Ra(Md(t),Tu):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(i&me.Self?dh():this.parent).get(t,n=i&me.Optional&&n===Ai?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[El]=h[El]||[]).unshift(ue(t)),s)throw h;return function m(e,t,n,i){const s=e[El];throw t[Ml]&&s.unshift(t[Ml]),e.message=function c(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=ue(t);if(Array.isArray(t))s=t.map(ue).join(" -> ");else if("object"==typeof t){let u=[];for(let h in t)if(t.hasOwnProperty(h)){let v=t[h];u.push(h+":"+("string"==typeof v?JSON.stringify(v):ue(v)))}s=`{${u.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(Dl,"\n ")}`}("\n"+e.message,s,n,i),e.ngTokenPath=s,e[El]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{z(u),ju(s)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,s)=>t.push(ue(s))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $e(205,!1)}processInjectorType(t,n,i){if(!(t=Fe(t)))return!1;let s=Xn(t);const u=null==s&&t.ngModule||void 0,h=void 0===u?t:u,v=-1!==i.indexOf(h);if(void 0!==u&&(s=Xn(u)),null==s)return!1;if(null!=s.imports&&!v){let F;i.push(h);try{Ks(s.imports,ee=>{this.processInjectorType(ee,n,i)&&(void 0===F&&(F=[]),F.push(ee))})}finally{}if(void 0!==F)for(let ee=0;ee<F.length;ee++){const{ngModule:ye,providers:Ne}=F[ee];Ks(Ne,tt=>this.processProvider(tt,ye,Ne||Ht))}}this.injectorDefTypes.add(h);const C=wi(h)||(()=>new h);this.records.set(h,Ra(C,Tu));const I=s.providers;if(null!=I&&!v){const F=t;Ks(I,ee=>this.processProvider(ee,F,I))}return void 0!==u&&void 0!==t.providers}processProvider(t,n,i){let s=Wl(t=Fe(t))?t:Fe(t&&t.provide);const u=function hg(e,t,n){return gh(e)?Ra(void 0,e.useValue):Ra(ph(e),Tu)}(t);if(Wl(t)||!0!==t.multi)this.records.get(s);else{let h=this.records.get(s);h||(h=Ra(void 0,Tu,!0),h.factory=()=>xs(h.multi),this.records.set(s,h)),s=t,h.multi.push(t)}this.records.set(s,u)}hydrate(t,n){return n.value===Tu&&(n.value=cg,n.value=n.factory()),"object"==typeof n.value&&n.value&&function hs(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 Md(e){const t=Fr(e),n=null!==t?t.factory:wi(e);if(null!==n)return n;if(e instanceof Q)throw new $e(204,!1);if(e instanceof Function)return function fg(e){const t=e.length;if(t>0)throw Ps(t,"?"),new $e(204,!1);const n=function kr(e){const t=e&&(e[hi]||e[Rr]);if(t){const n=function ur(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 $e(204,!1)}function ph(e,t,n){let i;if(Wl(e)){const s=Fe(e);return wi(s)||Md(s)}if(gh(e))i=()=>Fe(e.useValue);else if(function pg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...xs(e.deps||[]));else if(function Td(e){return!(!e||!e.useExisting)}(e))i=()=>ar(Fe(e.useExisting));else{const s=Fe(e&&(e.useClass||e.provide));if(!function Mi(e){return!!e.deps}(e))return wi(s)||Md(s);i=()=>new s(...xs(e.deps))}return i}function Ra(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gh(e){return null!==e&&"object"==typeof e&&rl in e}function Wl(e){return"function"==typeof e}let Ho=(()=>{class e{static create(n,i){if(Array.isArray(n))return fh({name:""},i,n,"");{const s=n.name??"";return fh({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Ai,e.NULL=new ch,e.\u0275prov=hr({token:e,providedIn:"any",factory:()=>ar(zl)}),e.__NG_ELEMENT_ID__=-1,e})();function Mg(e,t){$s(Nl(e)[1],Vr())}function Ad(e){let t=function Th(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let s;if(sr(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new $e(903,"");s=t.\u0275dir}if(s){if(n){i.push(s);const h=e;h.inputs=Id(e.inputs),h.declaredInputs=Id(e.declaredInputs),h.outputs=Id(e.outputs);const v=s.hostBindings;v&&Og(e,v);const C=s.viewQuery,I=s.contentQueries;if(C&&Sg(e,C),I&&Pg(e,I),le(e.inputs,s.inputs),le(e.declaredInputs,s.declaredInputs),le(e.outputs,s.outputs),sr(s)&&s.data.animation){const F=e.data;F.animation=(F.animation||[]).concat(s.data.animation)}}const u=s.features;if(u)for(let h=0;h<u.length;h++){const v=u[h];v&&v.ngInherit&&v(e),v===Ad&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Tg(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=ls(s.hostAttrs,n=ls(n,s.hostAttrs))}}(i)}function Id(e){return e===gt?{}:e===Ht?[]:e}function Sg(e,t){const n=e.viewQuery;e.viewQuery=n?(i,s)=>{t(i,s),n(i,s)}:t}function Pg(e,t){const n=e.contentQueries;e.contentQueries=n?(i,s,u)=>{t(i,s,u),n(i,s,u)}:t}function Og(e,t){const n=e.hostBindings;e.hostBindings=n?(i,s)=>{t(i,s),n(i,s)}:t}let fc=null;function ql(){if(!fc){const e=Rt.Symbol;if(e&&e.iterator)fc=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&&(fc=i)}}}return fc}function Pu(e){return!!Rd(e)&&(Array.isArray(e)||!(e instanceof Map)&&ql()in e)}function Rd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function jo(e,t,n){return e[t]=n}function Ti(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Na(e,t,n,i){const s=Ti(e,t,n);return Ti(e,t+1,i)||s}function Nd(e,t,n,i){const s=ut();return Ti(s,as(),t)&&(zn(),Ns(Cn(),s,e,t,n,i)),Nd}function Fa(e,t,n,i){return Ti(e,as(),n)?t+Ce(n)+i:kn}function Fh(e,t,n,i,s,u,h,v){const C=ut(),I=zn(),F=e+A,ee=I.firstCreatePass?function Nh(e,t,n,i,s,u,h,v,C){const I=t.consts,F=dl(t,e,4,h||null,S(I,v));zi(t,n,F,S(I,C)),$s(t,F);const ee=F.tViews=cc(2,F,i,s,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,I);return null!==t.queries&&(t.queries.template(t,F),ee.queries=t.queries.embeddedTView(F)),F}(F,I,C,t,n,i,s,u,h):I.data[F];Vi(ee,!1);const ye=C[11].createComment("");tc(I,C,ye,ee),ji(ye,C),$l(C,C[F]=ah(ye,C,ye,ee)),Yn(ee)&&gd(I,C,ee),null!=h&&Du(C,ee,v)}function kh(e){return function yr(e,t){return e[t]}(function hl(){return N.lFrame.contextLView}(),A+e)}function Ri(e,t=me.Default){const n=ut();return null===n?ar(e,t):Io(Vr(),n,Fe(e),t)}function Wi(){throw new Error("invalid")}function es(e,t,n){const i=ut();return Ti(i,as(),t)&&Rs(zn(),Cn(),i,e,t,i[11],n,!1),es}function Wr(e,t,n,i,s){const h=s?"class":"style";Fs(e,n,t.inputs[h],h,i)}function so(e,t,n,i){const s=ut(),u=zn(),h=A+e,v=s[11],C=s[h]=ul(v,t,function ja(){return N.lFrame.currentNamespace}()),I=u.firstCreatePass?function vo(e,t,n,i,s,u,h){const v=t.consts,I=dl(t,e,2,s,S(v,u));return zi(t,n,I,S(v,h)),null!==I.attrs&&dc(I,I.attrs,!1),null!==I.mergedAttrs&&dc(I,I.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,I),I}(h,u,s,0,t,n,i):u.data[h];Vi(I,!0);const F=I.mergedAttrs;null!==F&&uo(v,C,F);const ee=I.classes;null!==ee&&nc(v,C,ee);const ye=I.styles;return null!==ye&&If(v,C,ye),64!=(64&I.flags)&&tc(u,s,C,I),0===function Er(){return N.lFrame.elementDepthCount}()&&ji(C,s),function Vn(){N.lFrame.elementDepthCount++}(),Yn(I)&&(gd(u,s,I),Qf(u,I,s)),null!==i&&Du(s,I),so}function Au(){let e=Vr();lo()?fa():(e=e.parent,Vi(e,!1));const t=e;!function mi(){N.lFrame.elementDepthCount--}();const n=zn();return n.firstCreatePass&&($s(n,e),gr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gl(e){return 0!=(16&e.flags)}(t)&&Wr(n,t,ut(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ca(e){return 0!=(32&e.flags)}(t)&&Wr(n,t,ut(),t.stylesWithoutHost,!1),Au}function Wg(e,t,n,i){return so(e,t,n,i),Au(),Wg}function Hh(e,t,n){const i=ut(),s=zn(),u=e+A,h=s.firstCreatePass?function yC(e,t,n,i,s){const u=t.consts,h=S(u,i),v=dl(t,e,8,"ng-container",h);return null!==h&&dc(v,h,!0),zi(t,n,v,S(u,s)),null!==t.queries&&t.queries.elementStart(t,v),v}(u,s,i,t,n):s.data[u];Vi(h,!0);const v=i[u]=i[11].createComment("");return tc(s,i,v,h),ji(v,i),Yn(h)&&(gd(s,i,h),Qf(s,h,i)),null!=n&&Du(i,h),Hh}function jh(){let e=Vr();const t=zn();return lo()?fa():(e=e.parent,Vi(e,!1)),t.firstCreatePass&&($s(t,e),gr(e)&&t.queries.elementEnd(e)),jh}function qg(e,t,n){return Hh(e,t,n),jh(),qg}function P_(){return ut()}function Yg(e){return!!e&&"function"==typeof e.then}function O_(e){return!!e&&"function"==typeof e.subscribe}const x_=O_;function Zg(e,t,n,i){const s=ut(),u=zn(),h=Vr();return function I_(e,t,n,i,s,u,h,v){const C=Yn(i),F=e.firstCreatePass&&Bo(e),ee=t[8],ye=wd(t);let Ne=!0;if(3&i.type||v){const kt=Bt(i,t),Jt=v?v(kt):kt,ct=ye.length,_n=v?lr=>v(St(lr[i.index])):i.index;if(ge(n)){let lr=null;if(!v&&C&&(lr=function vC(e,t,n,i){const s=e.cleanup;if(null!=s)for(let u=0;u<s.length-1;u+=2){const h=s[u];if(h===n&&s[u+1]===i){const v=t[7],C=s[u+2];return v.length>C?v[C]:null}"string"==typeof h&&(u+=2)}return null}(e,t,s,i.index)),null!==lr)(lr.__ngLastListenerFn__||lr).__ngNextListenerFn__=u,lr.__ngLastListenerFn__=u,Ne=!1;else{u=Kg(i,t,ee,u,!1);const Ar=n.listen(Jt,s,u);ye.push(u,Ar),F&&F.push(s,_n,ct,ct+1)}}else u=Kg(i,t,ee,u,!0),Jt.addEventListener(s,u,h),ye.push(u),F&&F.push(s,_n,ct,h)}else u=Kg(i,t,ee,u,!1);const tt=i.outputs;let Mt;if(Ne&&null!==tt&&(Mt=tt[s])){const kt=Mt.length;if(kt)for(let Jt=0;Jt<kt;Jt+=2){const Co=t[Mt[Jt]][Mt[Jt+1]].subscribe(u),Nu=ye.length;ye.push(u,Co),F&&F.push(s,i.index,Nu,-(Nu+1))}}}(u,s,s[11],h,e,t,!!n,i),Zg}function R_(e,t,n,i){try{return!1!==n(i)}catch(s){return bd(e,s),!1}}function Kg(e,t,n,i,s){return function u(h){if(h===Function)return i;const v=2&e.flags?vr(e.index,t):t;0==(32&t[2])&&vd(v);let C=R_(t,0,i,h),I=u.__ngNextListenerFn__;for(;I;)C=R_(t,0,I,h)&&C,I=I.__ngNextListenerFn__;return s&&!1===C&&(h.preventDefault(),h.returnValue=!1),C}}function N_(e=1){return function $t(e){return(N.lFrame.contextLView=function An(e,t){for(;e>0;)t=t[15],e--;return t}(e,N.lFrame.contextLView))[8]}(e)}function CC(e,t){let n=null;const i=function Ap(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const u=t[s];if("*"!==u){if(null===i?Ff(e,u,!0):Np(i,u))return s}else n=s}return n}function F_(e){const t=ut()[16][6];if(!t.projection){const i=t.projection=Ps(e?e.length:1,null),s=i.slice();let u=t.child;for(;null!==u;){const h=e?CC(u,e):0;null!==h&&(s[h]?s[h].projectionNext=u:i[h]=u,s[h]=u),u=u.next}}}function k_(e,t=0,n){const i=ut(),s=zn(),u=dl(s,A+e,16,null,n||null);null===u.projection&&(u.projection=t),fa(),64!=(64&u.flags)&&function Dp(e,t,n){Is(t[11],0,t,n,Mf(e,n,t),Kc(n.parent||t[6],n,t))}(s,i,u)}function Qg(e,t,n){return $h(e,"",t,"",n),Qg}function $h(e,t,n,i,s){const u=ut(),h=Fa(u,t,n,i);return h!==kn&&Rs(zn(),Cn(),u,e,h,u[11],s,!1),$h}function z_(e,t,n,i,s){const u=e[n+1],h=null===t;let v=i?_o(u):la(u),C=!1;for(;0!==v&&(!1===C||h);){const F=e[v+1];EC(e[v],t)&&(C=!0,e[v+1]=i?id(F):sc(F)),v=i?_o(F):la(F)}C&&(e[n+1]=i?sc(u):id(u))}function EC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Gr(e,t)>=0}const Ni={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function W_(e){return e.substring(Ni.key,Ni.keyEnd)}function q_(e,t){const n=Ni.textEnd;return n===t?-1:(t=Ni.keyEnd=function SC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ni.key=t,n),mc(e,t,n))}function mc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Jg(e,t){return function ua(e,t,n,i){const s=ut(),u=zn(),h=oi(2);u.firstUpdatePass&&ty(u,e,h,i),t!==kn&&Ti(s,h,t)&&ry(u,u.data[On()],s,s[11],e,s[h+1]=function LC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ue(Gt(e)))),e}(t,n),i,h)}(e,t,null,!0),Jg}function X_(e){ca(xi,Va,e,!0)}function Va(e,t){for(let n=function MC(e){return function Z_(e){Ni.key=0,Ni.keyEnd=0,Ni.value=0,Ni.valueEnd=0,Ni.textEnd=e.length}(e),q_(e,mc(e,0,Ni.textEnd))}(t);n>=0;n=q_(t,n))xi(e,W_(t),!0)}function ca(e,t,n,i){const s=zn(),u=oi(2);s.firstUpdatePass&&ty(s,null,u,i);const h=ut();if(n!==kn&&Ti(h,u,n)){const v=s.data[On()];if(sy(v,i)&&!ey(s,u)){let C=i?v.classesWithoutHost:v.stylesWithoutHost;null!==C&&(n=Ve(C,n||"")),Wr(s,v,h,n,i)}else!function kC(e,t,n,i,s,u,h,v){s===kn&&(s=Ht);let C=0,I=0,F=0<s.length?s[0]:null,ee=0<u.length?u[0]:null;for(;null!==F||null!==ee;){const ye=C<s.length?s[C+1]:void 0,Ne=I<u.length?u[I+1]:void 0;let Mt,tt=null;F===ee?(C+=2,I+=2,ye!==Ne&&(tt=ee,Mt=Ne)):null===ee||null!==F&&F<ee?(C+=2,tt=F):(I+=2,tt=ee,Mt=Ne),null!==tt&&ry(e,t,n,i,tt,Mt,h,v),F=C<s.length?s[C]:null,ee=I<u.length?u[I]:null}}(s,v,h,h[11],h[u+1],h[u+1]=function FC(e,t,n){if(null==n||""===n)return Ht;const i=[],s=Gt(n);if(Array.isArray(s))for(let u=0;u<s.length;u++)e(i,s[u],!0);else if("object"==typeof s)for(const u in s)s.hasOwnProperty(u)&&e(i,u,s[u]);else"string"==typeof s&&t(i,s);return i}(e,t,n),i,u)}}function ey(e,t){return t>=e.expandoStartIndex}function ty(e,t,n,i){const s=e.data;if(null===s[n+1]){const u=s[On()],h=ey(e,n);sy(u,i)&&null===t&&!h&&(t=!1),t=function AC(e,t,n,i){const s=function bi(e){const t=N.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let u=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=Vd(n=Xg(null,e,t,n,i),t.attrs,i),u=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==s)if(n=Xg(s,e,t,n,i),null===u){let C=function IC(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==la(i))return e[_o(i)]}(e,t,i);void 0!==C&&Array.isArray(C)&&(C=Xg(null,e,t,C[1],i),C=Vd(C,t.attrs,i),function RC(e,t,n,i){e[_o(n?t.classBindings:t.styleBindings)]=i}(e,t,i,C))}else u=function NC(e,t,n){let i;const s=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<s;u++)i=Vd(i,e[u].hostAttrs,n);return Vd(i,t.attrs,n)}(e,t,i)}return void 0!==u&&(i?t.residualClasses=u:t.residualStyles=u),n}(s,u,t,i),function wC(e,t,n,i,s,u){let h=u?t.classBindings:t.styleBindings,v=_o(h),C=la(h);e[i]=n;let F,I=!1;if(Array.isArray(n)){const ee=n;F=ee[1],(null===F||Gr(ee,F)>0)&&(I=!0)}else F=n;if(s)if(0!==C){const ye=_o(e[v+1]);e[i+1]=ic(ye,v),0!==ye&&(e[ye+1]=rd(e[ye+1],i)),e[v+1]=function nd(e,t){return 131071&e|t<<17}(e[v+1],i)}else e[i+1]=ic(v,0),0!==v&&(e[v+1]=rd(e[v+1],i)),v=i;else e[i+1]=ic(C,0),0===v?v=i:e[C+1]=rd(e[C+1],i),C=i;I&&(e[i+1]=sc(e[i+1])),z_(e,F,i,!0),z_(e,F,i,!1),function bC(e,t,n,i,s){const u=s?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&Gr(u,t)>=0&&(n[i+1]=id(n[i+1]))}(t,F,e,i,u),h=ic(v,C),u?t.classBindings=h:t.styleBindings=h}(s,u,t,n,h,i)}}function Xg(e,t,n,i,s){let u=null;const h=n.directiveEnd;let v=n.directiveStylingLast;for(-1===v?v=n.directiveStart:v++;v<h&&(u=t[v],i=Vd(i,u.hostAttrs,s),u!==e);)v++;return null!==e&&(n.directiveStylingLast=v),i}function Vd(e,t,n){const i=n?1:2;let s=-1;if(null!==t)for(let u=0;u<t.length;u++){const h=t[u];"number"==typeof h?s=h:s===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),xi(e,h,!!n||t[++u]))}return void 0===e?null:e}function ry(e,t,n,i,s,u,h,v){if(!(3&t.type))return;const C=e.data,I=C[v+1];Gh(function Hf(e){return 1==(1&e)}(I)?iy(C,t,n,s,la(I),h):void 0)||(Gh(u)||function Uf(e){return 2==(2&e)}(I)&&(u=iy(C,null,n,s,v,h)),function Tp(e,t,n,i,s){const u=ge(e);if(t)s?u?e.addClass(n,i):n.classList.add(i):u?e.removeClass(n,i):n.classList.remove(i);else{let h=-1===i.indexOf("-")?void 0:ko.DashCase;if(null==s)u?e.removeStyle(n,i,h):n.style.removeProperty(i);else{const v="string"==typeof s&&s.endsWith("!important");v&&(s=s.slice(0,-10),h|=ko.Important),u?e.setStyle(n,i,s,h):n.style.setProperty(i,s,v?"important":"")}}}(i,h,Ln(On(),n),s,u))}function iy(e,t,n,i,s,u){const h=null===t;let v;for(;s>0;){const C=e[s],I=Array.isArray(C),F=I?C[1]:C,ee=null===F;let ye=n[s+1];ye===kn&&(ye=ee?Ht:void 0);let Ne=ee?Xa(ye,i):F===i?ye:void 0;if(I&&!Gh(Ne)&&(Ne=Xa(C,i)),Gh(Ne)&&(v=Ne,h))return v;const tt=e[s+1];s=h?_o(tt):la(tt)}if(null!==t){let C=u?t.residualClasses:t.residualStyles;null!=C&&(v=Xa(C,i))}return v}function Gh(e){return void 0!==e}function sy(e,t){return 0!=(e.flags&(t?16:32))}function oy(e,t=""){const n=ut(),i=zn(),s=e+A,u=i.firstCreatePass?dl(i,s,1,t,null):i.data[s],h=n[s]=function zc(e,t){return ge(e)?e.createText(t):e.createTextNode(t)}(n[11],t);tc(i,n,h,u),Vi(u,!1)}function em(e){return zh("",e,""),em}function zh(e,t,n){const i=ut(),s=Fa(i,e,t,n);return s!==kn&&Uo(i,On(),s),zh}function gy(e,t,n){ca(xi,Va,Fa(ut(),e,t,n),!0)}function tm(e,t,n){const i=ut();return Ti(i,as(),t)&&Rs(zn(),Cn(),i,e,t,i[11],n,!0),tm}const Iu=void 0;var n0=["en",[["a","p"],["AM","PM"],Iu],[["AM","PM"],Iu,Iu],[["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"]],Iu,[["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"]],Iu,[["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}",Iu,"{1} 'at' {0}",Iu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function t0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let _c={};function nm(e){const t=function r0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Sy(t);if(n)return n;const i=t.split("-")[0];if(n=Sy(i),n)return n;if("en"===i)return n0;throw new Error(`Missing locale data for the locale "${e}".`)}function Ty(e){return nm(e)[Pn.PluralCase]}function Sy(e){return e in _c||(_c[e]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[e]),_c[e]}var Pn=(()=>((Pn=Pn||{})[Pn.LocaleId=0]="LocaleId",Pn[Pn.DayPeriodsFormat=1]="DayPeriodsFormat",Pn[Pn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Pn[Pn.DaysFormat=3]="DaysFormat",Pn[Pn.DaysStandalone=4]="DaysStandalone",Pn[Pn.MonthsFormat=5]="MonthsFormat",Pn[Pn.MonthsStandalone=6]="MonthsStandalone",Pn[Pn.Eras=7]="Eras",Pn[Pn.FirstDayOfWeek=8]="FirstDayOfWeek",Pn[Pn.WeekendRange=9]="WeekendRange",Pn[Pn.DateFormat=10]="DateFormat",Pn[Pn.TimeFormat=11]="TimeFormat",Pn[Pn.DateTimeFormat=12]="DateTimeFormat",Pn[Pn.NumberSymbols=13]="NumberSymbols",Pn[Pn.NumberFormats=14]="NumberFormats",Pn[Pn.CurrencyCode=15]="CurrencyCode",Pn[Pn.CurrencySymbol=16]="CurrencySymbol",Pn[Pn.CurrencyName=17]="CurrencyName",Pn[Pn.Currencies=18]="Currencies",Pn[Pn.Directionality=19]="Directionality",Pn[Pn.PluralCase=20]="PluralCase",Pn[Pn.ExtraData=21]="ExtraData",Pn))();const Wh="en-US";let Py=Wh;function sm(e,t,n,i,s){if(e=Fe(e),Array.isArray(e))for(let u=0;u<e.length;u++)sm(e[u],t,n,i,s);else{const u=zn(),h=ut();let v=Wl(e)?e:Fe(e.provide),C=ph(e);const I=Vr(),F=1048575&I.providerIndexes,ee=I.directiveStart,ye=I.providerIndexes>>20;if(Wl(e)||!e.multi){const Ne=new ya(C,s,Ri),tt=am(v,t,s?F:F+ye,ee);-1===tt?(qa(Hr(I,h),u,v),om(u,e,t.length),t.push(v),I.directiveStart++,I.directiveEnd++,s&&(I.providerIndexes+=1048576),n.push(Ne),h.push(Ne)):(n[tt]=Ne,h[tt]=Ne)}else{const Ne=am(v,t,F+ye,ee),tt=am(v,t,F,F+ye),Mt=Ne>=0&&n[Ne],kt=tt>=0&&n[tt];if(s&&!kt||!s&&!Mt){qa(Hr(I,h),u,v);const Jt=function nw(e,t,n,i,s){const u=new ya(e,n,Ri);return u.multi=[],u.index=t,u.componentProviders=0,Jy(u,s,i&&!n),u}(s?tw:ew,n.length,s,i,C);!s&&kt&&(n[tt].providerFactory=Jt),om(u,e,t.length,0),t.push(v),I.directiveStart++,I.directiveEnd++,s&&(I.providerIndexes+=1048576),n.push(Jt),h.push(Jt)}else om(u,e,Ne>-1?Ne:tt,Jy(n[s?tt:Ne],C,!s&&i));!s&&i&&kt&&n[tt].componentProviders++}}}function om(e,t,n,i){const s=Wl(t),u=function gg(e){return!!e.useClass}(t);if(s||u){const C=(u?Fe(t.useClass):t).prototype.ngOnDestroy;if(C){const I=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const F=I.indexOf(n);-1===F?I.push(n,[i,C]):I[F+1].push(i,C)}else I.push(n,C)}}}function Jy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function am(e,t,n,i){for(let s=n;s<i;s++)if(t[s]===e)return s;return-1}function ew(e,t,n,i){return lm(this.multi,[])}function tw(e,t,n,i){const s=this.multi;let u;if(this.providerFactory){const h=this.providerFactory.componentProviders,v=Jo(n,n[1],this.providerFactory.index,i);u=v.slice(0,h),lm(s,u);for(let C=h;C<v.length;C++)u.push(v[C])}else u=[],lm(s,u);return u}function lm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Xy(e,t=[]){return n=>{n.providersResolver=(i,s)=>function X0(e,t,n){const i=zn();if(i.firstCreatePass){const s=sr(e);sm(n,i.data,i.blueprint,s,!0),sm(t,i.data,i.blueprint,s,!1)}}(i,s?s(e):e,t)}}class ev{}class sw{resolveComponentFactory(t){throw function iw(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Qh=(()=>{class e{}return e.NULL=new sw,e})();function ow(){return vc(Vr(),ut())}function vc(e,t){return new $d(Bt(e,t))}let $d=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ow,e})();function aw(e){return e instanceof $d?e.nativeElement:e}class nv{}let lw=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function cw(){const e=ut(),n=vr(Vr().index,e);return function uw(e){return e[11]}(tn(n)?n:e)}(),e})(),dw=(()=>{class e{}return e.\u0275prov=hr({token:e,providedIn:"root",factory:()=>null}),e})();class rv{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const fw=new rv("13.3.11"),um={};function Jh(e,t,n,i,s=!1){for(;null!==n;){const u=t[n.index];if(null!==u&&i.push(St(u)),Fn(u))for(let v=10;v<u.length;v++){const C=u[v],I=C[1].firstChild;null!==I&&Jh(C[1],C,I,i)}const h=n.type;if(8&h)Jh(e,t,n.child,i);else if(32&h){const v=Hc(n,t);let C;for(;C=v();)i.push(C)}else if(16&h){const v=xf(t,n);if(Array.isArray(v))i.push(...v);else{const C=Vl(t[16]);Jh(C[1],C,v,i,!0)}}n=s?n.projectionNext:n.next}return i}class Gd{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 Jh(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(Fn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(qc(t,i),po(n,i))}this._attachedToViewContainer=!1}Yc(this._lView[1],this._lView)}onDestroy(t){eh(this._lView[1],this._lView,null,t)}markForCheck(){vd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Xi(e,t,n){const i=t[10];i.begin&&i.begin();try{jl(e,t,e.template,n)}catch(s){throw bd(t,s),s}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $e(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ef(e,t){Cu(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new $e(902,"");this._appRef=t}}class hw extends Gd{constructor(t){super(t),this._view=t}detectChanges(){fl(this._view)}checkNoChanges(){}get context(){return null}}class iv extends Qh{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=de(t);return new cm(n,this.ngModule)}}function sv(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class cm extends ev{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function kp(e){return e.map(Fp).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return sv(this.componentDef.inputs)}get outputs(){return sv(this.componentDef.outputs)}create(t,n,i,s){const u=(s=s||this.ngModule)?function gw(e,t){return{get:(n,i,s)=>{const u=e.get(n,um,s);return u!==um||i===um?u:t.get(n,i,s)}}}(t,s.injector):t,h=u.get(nv,Ge),v=u.get(dw,null),C=h.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",F=i?function Xf(e,t,n){if(ge(e))return e.selectRootElement(t,n===vt.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(C,i,this.componentDef.encapsulation):ul(h.createRenderer(null,this.componentDef),I,function pw(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),ee=this.componentDef.onPush?576:528,ye=function Mh(e,t){return{components:[],scheduler:e||mp,clean:ag,playerHandler:t||null,flags:0}}(),Ne=cc(0,null,null,1,0,null,null,null,null,null),tt=Ul(null,Ne,ye,ee,null,null,h,C,v,u);let Mt,kt;Ua(tt);try{const Jt=function Eh(e,t,n,i,s,u){const h=n[1];n[20]=e;const C=dl(h,20,2,"#host",null),I=C.mergedAttrs=t.hostAttrs;null!==I&&(dc(C,I,!0),null!==e&&(uo(s,e,I),null!==C.classes&&nc(s,e,C.classes),null!==C.styles&&If(s,e,C.styles)));const F=i.createRenderer(e,t),ee=Ul(n,md(t),null,t.onPush?64:16,n[20],C,i,F,u||null,null);return h.firstCreatePass&&(qa(Hr(C,n),h,t.type),rh(h,C),ih(C,n.length,1)),$l(n,ee),n[20]=ee}(F,this.componentDef,tt,h,C);if(F)if(i)uo(C,F,["ng-version",fw.full]);else{const{attrs:ct,classes:_n}=function Lp(e){const t=[],n=[];let i=1,s=2;for(;i<e.length;){let u=e[i];if("string"==typeof u)2===s?""!==u&&t.push(u,e[++i]):8===s&&n.push(u);else{if(!mo(s))break;s=u}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);ct&&uo(C,F,ct),_n&&_n.length>0&&nc(C,F,_n.join(" "))}if(kt=er(Ne,A),void 0!==n){const ct=kt.projection=[];for(let _n=0;_n<this.ngContentSelectors.length;_n++){const lr=n[_n];ct.push(null!=lr?Array.from(lr):null)}}Mt=function Dh(e,t,n,i,s){const u=n[1],h=function Xp(e,t,n){const i=Vr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Vo(e,i,t,Hl(e,t,1,null),n));const s=Jo(t,e,i.directiveStart,i);ji(s,t);const u=Bt(i,t);return u&&ji(u,t),s}(u,n,t);if(i.components.push(h),e[8]=h,s&&s.forEach(C=>C(h,t)),t.contentQueries){const C=Vr();t.contentQueries(1,h,C.directiveStart)}const v=Vr();return!u.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Dr(v.index),Qr(n[1],v,0,v.directiveStart,v.directiveEnd,t),nh(t,h)),h}(Jt,this.componentDef,tt,ye,[Mg]),bu(Ne,tt,null)}finally{qe()}return new _w(this.componentType,Mt,vc(kt,tt),tt,kt)}}class _w extends class rw{}{constructor(t,n,i,s,u){super(),this.location=i,this._rootLView=s,this._tNode=u,this.instance=n,this.hostView=this.changeDetectorRef=new hw(s),this.componentType=t}get injector(){return new Ys(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Cc{}class ov{}const wc=new Map;class uv extends Cc{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new iv(this);const i=qt(t);this._bootstrapComponents=Fo(i.bootstrap),this._r3Injector=hh(t,n,[{provide:Cc,useValue:this},{provide:Qh,useValue:this.componentFactoryResolver}],ue(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Ho.THROW_IF_NOT_FOUND,i=me.Default){return t===Ho||t===Cc||t===zl?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 dm extends ov{constructor(t){super(),this.moduleType=t,null!==qt(t)&&function vw(e){const t=new Set;!function n(i){const s=qt(i,!0),u=s.id;null!==u&&(function av(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ue(t)} vs ${ue(t.name)}`)}(u,wc.get(u),i),wc.set(u,i));const h=Fo(s.imports);for(const v of h)t.has(v)||(t.add(v),n(v))}(e)}(t)}create(t){return new uv(this.moduleType,t)}}function cv(e,t,n,i){return function hv(e,t,n,i,s,u){const h=t+n;return Ti(e,h,s)?jo(e,h+1,u?i.call(u,s):i(s)):zd(e,h+1)}(ut(),Kr(),e,t,n,i)}function dv(e,t,n,i,s){return function pv(e,t,n,i,s,u,h){const v=t+n;return Na(e,v,s,u)?jo(e,v+2,h?i.call(h,s,u):i(s,u)):zd(e,v+2)}(ut(),Kr(),e,t,n,i,s)}function fv(e,t,n,i,s,u){return function gv(e,t,n,i,s,u,h,v){const C=t+n;return function xu(e,t,n,i,s){const u=Na(e,t,n,i);return Ti(e,t+2,s)||u}(e,C,s,u,h)?jo(e,C+3,v?i.call(v,s,u,h):i(s,u,h)):zd(e,C+3)}(ut(),Kr(),e,t,n,i,s,u)}function zd(e,t){const n=e[t];return n===kn?void 0:n}function fm(e){return t=>{setTimeout(e,void 0,t)}}const Ba=class Nw extends l.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let s=t,u=n||(()=>null),h=i;if(t&&"object"==typeof t){const C=t;s=C.next?.bind(C),u=C.error?.bind(C),h=C.complete?.bind(C)}this.__isAsync&&(u=fm(u),s&&(s=fm(s)),h&&(h=fm(h)));const v=super.subscribe({next:s,error:u,complete:h});return t instanceof _.w&&t.add(v),v}};function Fw(){return this._results[ql()]()}class hm{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=ql(),i=hm.prototype;i[n]||(i[n]=Fw)}get changes(){return this._changes||(this._changes=new Ba)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const s=us(t);(this._changesDetected=!function wl(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let s=e[i],u=t[i];if(n&&(s=n(s),u=n(u)),u!==s)return!1}return!0}(i._results,s,n))&&(i._results=s,i.length=s.length,i.last=s[this.length-1],i.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let qd=(()=>{class e{}return e.__NG_ELEMENT_ID__=Vw,e})();const kw=qd,Lw=class extends kw{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=Ul(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)),bu(n,i,t),new Gd(i)}};function Vw(){return Xh(Vr(),ut())}function Xh(e,t){return 4&e.type?new Lw(t,e,vc(e,t)):null}let ep=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bw,e})();function Bw(){return Cv(Vr(),ut())}const Uw=ep,yv=class extends Uw{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return vc(this._hostTNode,this._hostLView)}get injector(){return new Ys(this._hostTNode,this._hostLView)}get parentInjector(){const t=xo(this._hostTNode,this._hostLView);if(yl(t)){const n=Ms(t,this._hostLView),i=Oo(t);return new Ys(n[1].data[i+8],n)}return new Ys(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=vv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const s=t.createEmbeddedView(n||{});return this.insert(s,i),s}createComponent(t,n,i,s,u){const h=t&&!function ai(e){return"function"==typeof e}(t);let v;if(h)v=n;else{const ee=n||{};v=ee.index,i=ee.injector,s=ee.projectableNodes,u=ee.ngModuleRef}const C=h?t:new cm(de(t)),I=i||this.parentInjector;if(!u&&null==C.ngModule){const ye=(h?I:this.parentInjector).get(Cc,null);ye&&(u=ye)}const F=C.create(I,s,void 0,u);return this.insert(F.hostView,v),F}insert(t,n){const i=t._lView,s=i[1];if(function gi(e){return Fn(e[3])}(i)){const F=this.indexOf(t);if(-1!==F)this.detach(F);else{const ee=i[3],ye=new yv(ee,ee[6],ee[3]);ye.detach(ye.indexOf(t))}}const u=this._adjustIndex(n),h=this._lContainer;!function Df(e,t,n,i){const s=10+i,u=n.length;i>0&&(n[s-1][4]=t),i<u-10?(t[4]=n[s],Dc(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const h=t[17];null!==h&&n!==h&&function Lo(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(h,t);const v=t[19];null!==v&&v.insertView(e),t[2]|=128}(s,i,h,u);const v=ed(u,h),C=i[11],I=ec(C,h[7]);return null!==I&&function bf(e,t,n,i,s,u){i[0]=s,i[6]=t,Cu(e,i,n,1,s,u)}(s,h[6],C,i,I,v),t.attachToViewContainerRef(),Dc(pm(h),u,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=vv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=qc(this._lContainer,n);i&&(po(pm(this._lContainer),n),Yc(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=qc(this._lContainer,n);return i&&null!=po(pm(this._lContainer),n)?new Gd(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function vv(e){return e[8]}function pm(e){return e[8]||(e[8]=[])}function Cv(e,t){let n;const i=t[e.index];if(Fn(i))n=i;else{let s;if(8&e.type)s=St(i);else{const u=t[11];s=u.createComment("");const h=Bt(e,t);cl(u,ec(u,h),s,function Ep(e,t){return ge(e)?e.nextSibling(t):t.nextSibling}(u,h),!1)}t[e.index]=n=ah(i,t,s,e),$l(t,n)}return new yv(n,e,t)}class gm{constructor(t){this.queryList=t,this.matches=null}clone(){return new gm(this.queryList)}setDirty(){this.queryList.setDirty()}}class mm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let u=0;u<i;u++){const h=n.getByIndex(u);s.push(this.queries[h.indexInDeclarationView].clone())}return new mm(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Ov(t,n).matches&&this.queries[n].setDirty()}}class wv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class _m{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const s=null!==n?n.length:0,u=this.getByIndex(i).embeddedTView(t,s);u&&(u.indexInDeclarationView=i,null!==n?n.push(u):n=[u])}return null!==n?new _m(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 ym{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 ym(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let s=0;s<i.length;s++){const u=i[s];this.matchTNodeWithReadOption(t,n,$w(n,u)),this.matchTNodeWithReadOption(t,n,qs(n,t,u,!1,!1))}else i===qd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,qs(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const s=this.metadata.read;if(null!==s)if(s===$d||s===ep||s===qd&&4&n.type)this.addMatch(n.index,-2);else{const u=qs(n,t,s,!1,!1);null!==u&&this.addMatch(n.index,u)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function $w(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function zw(e,t,n,i){return-1===n?function Gw(e,t){return 11&e.type?vc(e,t):4&e.type?Xh(e,t):null}(t,e):-2===n?function Ww(e,t,n){return n===$d?vc(t,e):n===qd?Xh(t,e):n===ep?Cv(t,e):void 0}(e,t,i):Jo(e,e[1],n,t)}function bv(e,t,n,i){const s=t[19].queries[i];if(null===s.matches){const u=e.data,h=n.matches,v=[];for(let C=0;C<h.length;C+=2){const I=h[C];v.push(I<0?null:zw(t,u[I],h[C+1],n.metadata.read))}s.matches=v}return s.matches}function vm(e,t,n,i){const s=e.queries.getByIndex(n),u=s.matches;if(null!==u){const h=bv(e,t,s,n);for(let v=0;v<u.length;v+=2){const C=u[v];if(C>0)i.push(h[v/2]);else{const I=u[v+1],F=t[-C];for(let ee=10;ee<F.length;ee++){const ye=F[ee];ye[17]===ye[3]&&vm(ye[1],ye,I,i)}if(null!==F[9]){const ee=F[9];for(let ye=0;ye<ee.length;ye++){const Ne=ee[ye];vm(Ne[1],Ne,I,i)}}}}}return i}function Ev(e){const t=ut(),n=zn(),i=js();ga(i+1);const s=Ov(n,i);if(e.dirty&&pi(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const u=s.crossesNgTemplate?vm(n,t,i,[]):bv(n,t,s,i);e.reset(u,aw),e.notifyOnChanges()}return!0}return!1}function Dv(e,t,n){const i=zn();i.firstCreatePass&&(Pv(i,new wv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Sv(i,ut(),t)}function Mv(e,t,n,i){const s=zn();if(s.firstCreatePass){const u=Vr();Pv(s,new wv(t,n,i),u.index),function Yw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Sv(s,ut(),n)}function Tv(){return function qw(e,t){return e[19].queries[t].queryList}(ut(),js())}function Sv(e,t,n){const i=new hm(4==(4&n));eh(e,t,i,i.destroy),null===t[19]&&(t[19]=new mm),t[19].queries.push(new gm(i))}function Pv(e,t,n){null===e.queries&&(e.queries=new _m),e.queries.track(new ym(t,n))}function Ov(e,t){return e.queries.getByIndex(t)}function xv(e,t){return Xh(e,t)}function rp(...e){}const qv=new Q("Application Initializer");let Mm=(()=>{class e{constructor(n){this.appInits=n,this.resolve=rp,this.reject=rp,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,s)=>{this.resolve=i,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const u=this.appInits[s]();if(Yg(u))n.push(u);else if(x_(u)){const h=new Promise((v,C)=>{u.subscribe({complete:v,error:C})});n.push(h)}}Promise.all(n).then(()=>{i()}).catch(s=>{this.reject(s)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ar(qv,8))},e.\u0275prov=hr({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yv=new Q("AppId",{providedIn:"root",factory:function Zv(){return`${Tm()}${Tm()}${Tm()}`}});function Tm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kv=new Q("Platform Initializer"),db=new Q("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Qv=new Q("appBootstrapListener");let fb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=hr({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Sm=new Q("LocaleId",{providedIn:"root",factory:()=>$u(Sm,me.Optional|me.SkipSelf)||function hb(){return typeof $localize<"u"&&$localize.locale||Wh}()}),pb=new Q("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class gb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let mb=(()=>{class e{compileModuleSync(n){return new dm(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),u=Fo(qt(n).declarations).reduce((h,v)=>{const C=de(v);return C&&h.push(new cm(C)),h},[]);return new gb(i,u)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=hr({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const yb=(()=>Promise.resolve(0))();function Pm(e){typeof Zone>"u"?yb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class da{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ba(!1),this.onMicrotaskEmpty=new Ba(!1),this.onStable=new Ba(!1),this.onError=new Ba(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function vb(){let e=Rt.requestAnimationFrame,t=Rt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function bb(e){const t=()=>{!function wb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Rt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,xm(e),e.isCheckStableRunning=!0,Om(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),xm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,u,h,v)=>{try{return Jv(e),n.invokeTask(s,u,h,v)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),Xv(e)}},onInvoke:(n,i,s,u,h,v,C)=>{try{return Jv(e),n.invoke(s,u,h,v,C)}finally{e.shouldCoalesceRunChangeDetection&&t(),Xv(e)}},onHasTask:(n,i,s,u)=>{n.hasTask(s,u),i===s&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,xm(e),Om(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,i,s,u)=>(n.handleError(s,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!da.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(da.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,s){const u=this._inner,h=u.scheduleEventTask("NgZoneEvent: "+s,t,Cb,rp,rp);try{return u.runTask(h,n,i)}finally{u.cancelTask(h)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Cb={};function Om(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 xm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Jv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xv(e){e._nesting--,Om(e)}class Eb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ba,this.onMicrotaskEmpty=new Ba,this.onStable=new Ba,this.onError=new Ba}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,s){return t.apply(n,i)}}let eC=(()=>{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:()=>{da.assertNotInAngularZone(),Pm(()=>{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())Pm(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,s){let u=-1;i&&i>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==u),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:s})}whenStable(n,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(ar(da))},e.\u0275prov=hr({token:e,factory:e.\u0275fac}),e})(),Db=(()=>{class e{constructor(){this._applications=new Map,Am.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 Am.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=hr({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class Mb{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function Tb(e){Am=e}let Am=new Mb,Zd=null;const tC=new Q("AllowMultipleToken"),nC=new Q("PlatformOnDestroy");class Ob{constructor(t,n){this.name=t,this.token=n}}function rC(e,t,n=[]){const i=`Platform: ${t}`,s=new Q(i);return(u=[])=>{let h=Im();if(!h||h.injector.get(tC,!1)){const v=[...n,...u,{provide:s,useValue:!0}];e?e(v):function xb(e){if(Zd&&!Zd.get(tC,!1))throw new $e(400,"");Zd=e;const t=e.get(iC),n=e.get(Kv,null);n&&n.forEach(i=>i())}(function Ib(e=[],t){return Ho.create({name:t,providers:[{provide:Ed,useValue:"platform"},{provide:nC,useValue:()=>Zd=null},...e]})}(v,i))}return function Ab(e){const t=Im();if(!t)throw new $e(401,"");return t}()}}function Im(){return Zd?.get(iC)??null}let iC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const v=function Rb(e,t){let n;return n="noop"===e?new Eb:("zone.js"===e?void 0:e)||new da({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),C=[{provide:da,useValue:v}];return v.run(()=>{const I=Ho.create({providers:C,parent:this.injector,name:n.moduleType.name}),F=n.create(I),ee=F.injector.get(ol,null);if(!ee)throw new $e(402,"");return v.runOutsideAngular(()=>{const ye=v.onError.subscribe({next:Ne=>{ee.handleError(Ne)}});F.onDestroy(()=>{Nm(this._modules,F),ye.unsubscribe()})}),function Nb(e,t,n){try{const i=n();return Yg(i)?i.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(ee,v,()=>{const ye=F.injector.get(Mm);return ye.runInitializers(),ye.donePromise.then(()=>(function l0(e){Gn(e,"Expected localeId to be defined"),"string"==typeof e&&(Py=e.toLowerCase().replace(/_/g,"-"))}(F.injector.get(Sm,Wh)||Wh),this._moduleDoBootstrap(F),F))})})}bootstrapModule(n,i=[]){const s=sC({},i);return function Sb(e,t,n){const i=new dm(n);return Promise.resolve(i)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,s))}_moduleDoBootstrap(n){const i=n.injector.get(Rm);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new $e(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 $e(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(nC,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ar(Ho))},e.\u0275prov=hr({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function sC(e,t){return Array.isArray(t)?t.reduce(sC,e):{...e,...t}}let Rm=(()=>{class e{constructor(n,i,s,u){this._zone=n,this._injector=i,this._exceptionHandler=s,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 h=new re.y(C=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{C.next(this._stable),C.complete()})}),v=new re.y(C=>{let I;this._zone.runOutsideAngular(()=>{I=this._zone.onStable.subscribe(()=>{da.assertNotInAngularZone(),Pm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,C.next(!0))})})});const F=this._zone.onUnstable.subscribe(()=>{da.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{C.next(!1)}))});return()=>{I.unsubscribe(),F.unsubscribe()}});this.isStable=(0,J.T)(h,v.pipe(function $(){return e=>(0,ae.x)()(function Z(e,t){return function(i){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new te(s,t));const u=Object.create(i,Y.N);return u.source=i,u.subjectFactory=s,u}}(ve)(e))}()))}bootstrap(n,i){if(!this._initStatus.done)throw new $e(405,"");let s;s=n instanceof ev?n:this._injector.get(Qh).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const u=function Pb(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Cc),v=s.create(Ho.NULL,[],i||s.selector,u),C=v.location.nativeElement,I=v.injector.get(eC,null),F=I&&v.injector.get(Db);return I&&F&&F.registerApplication(C,I),v.onDestroy(()=>{this.detachView(v.hostView),Nm(this.components,v),F&&F.unregisterApplication(C)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new $e(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;Nm(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Qv,[]).concat(this._bootstrapListeners).forEach(s=>s(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)(ar(da),ar(Ho),ar(ol),ar(Mm))},e.\u0275prov=hr({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Nm(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let aC=!0,lC=!1;function kb(){return lC=!0,aC}function Lb(){if(lC)throw new Error("Cannot enable prod mode after platform setup.");aC=!1}let Vb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bb,e})();function Bb(e){return function Ub(e,t,n){if(mr(e)&&!n){const i=vr(e.index,t);return new Gd(i,i)}return 47&e.type?new Gd(t[16],t):null}(Vr(),ut(),16==(16&e))}class fC{constructor(){}supports(t){return Pu(t)}create(t){return new Wb(t)}}const zb=(e,t)=>t;class Wb{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||zb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,s=0,u=null;for(;n||i;){const h=!i||n&&n.currentIndex<pC(i,s,u)?n:i,v=pC(h,s,u),C=h.currentIndex;if(h===i)s--,i=i._nextRemoved;else if(n=n._next,null==h.previousIndex)s++;else{u||(u=[]);const I=v-s,F=C-s;if(I!=F){for(let ye=0;ye<I;ye++){const Ne=ye<u.length?u[ye]:u[ye]=0,tt=Ne+ye;F<=tt&&tt<I&&(u[ye]=Ne+1)}u[h.previousIndex]=F-I}}v!==C&&t(h,v,C)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Pu(t))throw new $e(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,u,h,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let v=0;v<this.length;v++)u=t[v],h=this._trackByFn(v,u),null!==n&&Object.is(n.trackById,h)?(i&&(n=this._verifyReinsertion(n,u,h,v)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,h,v),i=!0),n=n._next}else s=0,function Fg(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[ql()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,v=>{h=this._trackByFn(s,v),null!==n&&Object.is(n.trackById,h)?(i&&(n=this._verifyReinsertion(n,v,h,s)),Object.is(n.item,v)||this._addIdentityChange(n,v)):(n=this._mismatch(n,v,h,s),i=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,s){let u;return null===t?u=this._itTail:(u=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,u,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,s)):t=this._addAfter(new qb(n,i),u,s),t}_verifyReinsertion(t,n,i,s){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==u?t=this._reinsertAfter(u,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,u=t._nextRemoved;return null===s?this._removalsHead=u:s._nextRemoved=u,null===u?this._removalsTail=s:u._prevRemoved=s,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new hC),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 hC),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class qb{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Yb{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class hC{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Yb,this.map.set(n,i)),i.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pC(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+t+s}class gC{constructor(){}supports(t){return t instanceof Map||Rd(t)}create(){return new Zb}}class Zb{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Rd(t)))throw new $e(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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(s,i);n=this._insertBeforeOrAppend(n,u)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const u=s._prev,h=s._next;return u&&(u._next=h),h&&(h._prev=u),s._next=null,s._prev=null,s}const i=new Kb(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class Kb{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function mC(){return new Bm([new fC])}let Bm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||mC()),deps:[[e,new k,new g]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(null!=i)return i;throw new $e(901,"")}}return e.\u0275prov=hr({token:e,providedIn:"root",factory:mC}),e})();function _C(){return new Um([new gC])}let Um=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||_C()),deps:[[e,new k,new g]]}}find(n){const i=this.factories.find(u=>u.supports(n));if(i)return i;throw new $e(901,"")}}return e.\u0275prov=hr({token:e,providedIn:"root",factory:_C}),e})();const Xb=rC(null,"core",[]);let eE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ar(Rm))},e.\u0275mod=Re({type:e}),e.\u0275inj=pr({}),e})()},4719:(xe,K,x)=>{"use strict";x.d(K,{Wl:()=>Ve,Fj:()=>mt,u5:()=>yr,JU:()=>le,JJ:()=>pe,On:()=>gr});var l=x(5062),_=x(6895),re=x(2916),J=x(6688),Y=x(4850),Z=x(7830),te=x(5254);function ve(S,D){return new re.y(w=>{const N=S.length;if(0===N)return void w.complete();const Ke=new Array(N);let nn=0,Er=0;for(let Vn=0;Vn<N;Vn++){const mi=(0,te.D)(S[Vn]);let Yi=!1;w.add(mi.subscribe({next:Oi=>{Yi||(Yi=!0,Er++),Ke[Vn]=Oi},error:Oi=>w.error(Oi),complete:()=>{nn++,(nn===N||!Yi)&&(Er===N&&w.next(D?D.reduce((Oi,bs,ut)=>(Oi[bs]=Ke[ut],Oi),{}):Ke),w.complete())}}))}})}let $=(()=>{class S{constructor(w,N){this._renderer=w,this._elementRef=N,this.onChange=Ke=>{},this.onTouched=()=>{}}setProperty(w,N){this._renderer.setProperty(this._elementRef.nativeElement,w,N)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}}return S.\u0275fac=function(w){return new(w||S)(l.Y36(l.Qsj),l.Y36(l.SBq))},S.\u0275dir=l.lG2({type:S}),S})(),q=(()=>{class S extends ${}return S.\u0275fac=function(){let D;return function(N){return(D||(D=l.n5z(S)))(N||S)}}(),S.\u0275dir=l.lG2({type:S,features:[l.qOj]}),S})();const le=new l.OlP("NgValueAccessor"),ue={provide:le,useExisting:(0,l.Gpc)(()=>Ve),multi:!0};let Ve=(()=>{class S extends q{writeValue(w){this.setProperty("checked",w)}}return S.\u0275fac=function(){let D;return function(N){return(D||(D=l.n5z(S)))(N||S)}}(),S.\u0275dir=l.lG2({type:S,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(w,N){1&w&&l.NdJ("change",function(nn){return N.onChange(nn.target.checked)})("blur",function(){return N.onTouched()})},features:[l._Bn([ue]),l.qOj]}),S})();const ne={provide:le,useExisting:(0,l.Gpc)(()=>mt),multi:!0},Fe=new l.OlP("CompositionEventMode");let mt=(()=>{class S extends ${constructor(w,N,Ke){super(w,N),this._compositionMode=Ke,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Se(){const S=(0,_.q)()?(0,_.q)().getUserAgent():"";return/android (\d+)/.test(S.toLowerCase())}())}writeValue(w){this.setProperty("value",w??"")}_handleInput(w){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(w)}_compositionStart(){this._composing=!0}_compositionEnd(w){this._composing=!1,this._compositionMode&&this.onChange(w)}}return S.\u0275fac=function(w){return new(w||S)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(Fe,8))},S.\u0275dir=l.lG2({type:S,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(w,N){1&w&&l.NdJ("input",function(nn){return N._handleInput(nn.target.value)})("blur",function(){return N.onTouched()})("compositionstart",function(){return N._compositionStart()})("compositionend",function(nn){return N._compositionEnd(nn.target.value)})},features:[l._Bn([ne]),l.qOj]}),S})();const rt=new l.OlP("NgValidators"),Ce=new l.OlP("NgAsyncValidators");function rn(S){return null!=S}function Ir(S){const D=(0,l.QGY)(S)?(0,te.D)(S):S;return(0,l.CqO)(D),D}function ri(S){let D={};return S.forEach(w=>{D=null!=w?{...D,...w}:D}),0===Object.keys(D).length?null:D}function rr(S,D){return D.map(w=>w(S))}function Sr(S){return S.map(D=>function ii(S){return!S.validate}(D)?D:w=>D.validate(w))}function Gn(S){return null!=S?function vi(S){if(!S)return null;const D=S.filter(rn);return 0==D.length?null:function(w){return ri(rr(w,D))}}(Sr(S)):null}function Xr(S){return null!=S?function En(S){if(!S)return null;const D=S.filter(rn);return 0==D.length?null:function(w){return function ae(...S){if(1===S.length){const D=S[0];if((0,J.k)(D))return ve(D,null);if((0,Z.K)(D)&&Object.getPrototypeOf(D)===Object.prototype){const w=Object.keys(D);return ve(w.map(N=>D[N]),w)}}if("function"==typeof S[S.length-1]){const D=S.pop();return ve(S=1===S.length&&(0,J.k)(S[0])?S[0]:S,null).pipe((0,Y.U)(w=>D(...w)))}return ve(S,null)}(rr(w,D).map(Ir)).pipe((0,Y.U)(ri))}}(Sr(S)):null}function Cr(S,D){return null===S?[D]:Array.isArray(S)?[...S,D]:[S,D]}function qr(S){return S?Array.isArray(S)?S:[S]:[]}function pr(S,D){return Array.isArray(S)?S.includes(D):S===D}function Fr(S,D){const w=qr(D);return qr(S).forEach(Ke=>{pr(w,Ke)||w.push(Ke)}),w}function wr(S,D){return qr(D).filter(w=>!pr(S,w))}class kr{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(D){this._rawValidators=D||[],this._composedValidatorFn=Gn(this._rawValidators)}_setAsyncValidators(D){this._rawAsyncValidators=D||[],this._composedAsyncValidatorFn=Xr(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(D){this._onDestroyCallbacks.push(D)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(D=>D()),this._onDestroyCallbacks=[]}reset(D){this.control&&this.control.reset(D)}hasError(D,w){return!!this.control&&this.control.hasError(D,w)}getError(D,w){return this.control?this.control.getError(D,w):null}}class ur extends kr{get formDirective(){return null}get path(){return null}}class Xn extends kr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let pe=(()=>{class S extends class hi{constructor(D){this._cd=D}is(D){return"submitted"===D?!!this._cd?.submitted:!!this._cd?.control?.[D]}}{constructor(w){super(w)}}return S.\u0275fac=function(w){return new(w||S)(l.Y36(Xn,2))},S.\u0275dir=l.lG2({type:S,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(w,N){2&w&&l.ekj("ng-untouched",N.is("untouched"))("ng-touched",N.is("touched"))("ng-pristine",N.is("pristine"))("ng-dirty",N.is("dirty"))("ng-valid",N.is("valid"))("ng-invalid",N.is("invalid"))("ng-pending",N.is("pending"))},features:[l.qOj]}),S})();function gt(S,D){(function xn(S,D){const w=function _r(S){return S._rawValidators}(S);null!==D.validator?S.setValidators(Cr(w,D.validator)):"function"==typeof w&&S.setValidators([w]);const N=function hr(S){return S._rawAsyncValidators}(S);null!==D.asyncValidator?S.setAsyncValidators(Cr(N,D.asyncValidator)):"function"==typeof N&&S.setAsyncValidators([N]);const Ke=()=>S.updateValueAndValidity();mn(D._rawValidators,Ke),mn(D._rawAsyncValidators,Ke)})(S,D),D.valueAccessor.writeValue(S.value),function yn(S,D){D.valueAccessor.registerOnChange(w=>{S._pendingValue=w,S._pendingChange=!0,S._pendingDirty=!0,"change"===S.updateOn&&Dn(S,D)})}(S,D),function Zt(S,D){const w=(N,Ke)=>{D.valueAccessor.writeValue(N),Ke&&D.viewToModelUpdate(N)};S.registerOnChange(w),D._registerOnDestroy(()=>{S._unregisterOnChange(w)})}(S,D),function Ot(S,D){D.valueAccessor.registerOnTouched(()=>{S._pendingTouched=!0,"blur"===S.updateOn&&S._pendingChange&&Dn(S,D),"submit"!==S.updateOn&&S.markAsTouched()})}(S,D),function Wn(S,D){if(D.valueAccessor.setDisabledState){const w=N=>{D.valueAccessor.setDisabledState(N)};S.registerOnDisabledChange(w),D._registerOnDestroy(()=>{S._unregisterOnDisabledChange(w)})}}(S,D)}function mn(S,D){S.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(D)})}function Dn(S,D){S._pendingDirty&&S.markAsDirty(),S.setValue(S._pendingValue,{emitModelToViewChange:!1}),D.viewToModelUpdate(S._pendingValue),S._pendingChange=!1}function Oe(S,D){const w=S.indexOf(D);w>-1&&S.splice(w,1)}const Mn="VALID",ke="INVALID",He="PENDING",Ae="DISABLED";function Dt(S){return(Xt(S)?S.validators:S)||null}function Tt(S){return Array.isArray(S)?Gn(S):S||null}function At(S,D){return(Xt(D)?D.asyncValidators:S)||null}function Nt(S){return Array.isArray(S)?Xr(S):S||null}function Xt(S){return null!=S&&!Array.isArray(S)&&"object"==typeof S}const xt=S=>S instanceof jn;function Pr(S){return(S=>S instanceof Ci)(S)?S.value:S.getRawValue()}function ir(S,D){const w=xt(S),N=S.controls;if(!(w?Object.keys(N):N).length)throw new l.vHH(1e3,"");if(!N[D])throw new l.vHH(1001,"")}function dn(S,D){xt(S),S._forEachChild((N,Ke)=>{if(void 0===D[Ke])throw new l.vHH(1002,"")})}class cr{constructor(D,w){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=D,this._rawAsyncValidators=w,this._composedValidatorFn=Tt(this._rawValidators),this._composedAsyncValidatorFn=Nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(D){this._rawValidators=this._composedValidatorFn=D}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(D){this._rawAsyncValidators=this._composedAsyncValidatorFn=D}get parent(){return this._parent}get valid(){return this.status===Mn}get invalid(){return this.status===ke}get pending(){return this.status==He}get disabled(){return this.status===Ae}get enabled(){return this.status!==Ae}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(D){this._rawValidators=D,this._composedValidatorFn=Tt(D)}setAsyncValidators(D){this._rawAsyncValidators=D,this._composedAsyncValidatorFn=Nt(D)}addValidators(D){this.setValidators(Fr(D,this._rawValidators))}addAsyncValidators(D){this.setAsyncValidators(Fr(D,this._rawAsyncValidators))}removeValidators(D){this.setValidators(wr(D,this._rawValidators))}removeAsyncValidators(D){this.setAsyncValidators(wr(D,this._rawAsyncValidators))}hasValidator(D){return pr(this._rawValidators,D)}hasAsyncValidator(D){return pr(this._rawAsyncValidators,D)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(D={}){this.touched=!0,this._parent&&!D.onlySelf&&this._parent.markAsTouched(D)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(D=>D.markAllAsTouched())}markAsUntouched(D={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(w=>{w.markAsUntouched({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}markAsDirty(D={}){this.pristine=!1,this._parent&&!D.onlySelf&&this._parent.markAsDirty(D)}markAsPristine(D={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(w=>{w.markAsPristine({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}markAsPending(D={}){this.status=He,!1!==D.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!D.onlySelf&&this._parent.markAsPending(D)}disable(D={}){const w=this._parentMarkedDirty(D.onlySelf);this.status=Ae,this.errors=null,this._forEachChild(N=>{N.disable({...D,onlySelf:!0})}),this._updateValue(),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...D,skipPristineCheck:w}),this._onDisabledChange.forEach(N=>N(!0))}enable(D={}){const w=this._parentMarkedDirty(D.onlySelf);this.status=Mn,this._forEachChild(N=>{N.enable({...D,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent}),this._updateAncestors({...D,skipPristineCheck:w}),this._onDisabledChange.forEach(N=>N(!1))}_updateAncestors(D){this._parent&&!D.onlySelf&&(this._parent.updateValueAndValidity(D),D.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(D){this._parent=D}updateValueAndValidity(D={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Mn||this.status===He)&&this._runAsyncValidator(D.emitEvent)),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.updateValueAndValidity(D)}_updateTreeValidity(D={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(D)),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ae:Mn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(D){if(this.asyncValidator){this.status=He,this._hasOwnPendingAsyncValidator=!0;const w=Ir(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(N=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(N,{emitEvent:D})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(D,w={}){this.errors=D,this._updateControlsErrors(!1!==w.emitEvent)}get(D){return function pt(S,D,w){if(null==D||(Array.isArray(D)||(D=D.split(w)),Array.isArray(D)&&0===D.length))return null;let N=S;return D.forEach(Ke=>{N=xt(N)?N.controls.hasOwnProperty(Ke)?N.controls[Ke]:null:(S=>S instanceof Nr)(N)&&N.at(Ke)||null}),N}(this,D,".")}getError(D,w){const N=w?this.get(w):this;return N&&N.errors?N.errors[D]:null}hasError(D,w){return!!this.getError(D,w)}get root(){let D=this;for(;D._parent;)D=D._parent;return D}_updateControlsErrors(D){this.status=this._calculateStatus(),D&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(D)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?Ae:this.errors?ke:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(He)?He:this._anyControlsHaveStatus(ke)?ke:Mn}_anyControlsHaveStatus(D){return this._anyControls(w=>w.status===D)}_anyControlsDirty(){return this._anyControls(D=>D.dirty)}_anyControlsTouched(){return this._anyControls(D=>D.touched)}_updatePristine(D={}){this.pristine=!this._anyControlsDirty(),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}_updateTouched(D={}){this.touched=this._anyControlsTouched(),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}_isBoxedValue(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}_registerOnCollectionChange(D){this._onCollectionChange=D}_setUpdateStrategy(D){Xt(D)&&null!=D.updateOn&&(this._updateOn=D.updateOn)}_parentMarkedDirty(D){return!D&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ci extends cr{constructor(D=null,w,N){super(Dt(w),At(N,w)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(D),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Xt(w)&&w.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(D)?D.value:D)}setValue(D,w={}){this.value=this._pendingValue=D,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(N=>N(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(D,w={}){this.setValue(D,w)}reset(D=this.defaultValue,w={}){this._applyFormState(D),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(D){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(D){this._onChange.push(D)}_unregisterOnChange(D){Oe(this._onChange,D)}registerOnDisabledChange(D){this._onDisabledChange.push(D)}_unregisterOnDisabledChange(D){Oe(this._onDisabledChange,D)}_forEachChild(D){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(D){this._isBoxedValue(D)?(this.value=this._pendingValue=D.value,D.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=D}}class jn extends cr{constructor(D,w,N){super(Dt(w),At(N,w)),this.controls=D,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(D,w){return this.controls[D]?this.controls[D]:(this.controls[D]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(D,w,N={}){this.registerControl(D,w),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}removeControl(D,w={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(D,w,N={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],w&&this.registerControl(D,w),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}contains(D){return this.controls.hasOwnProperty(D)&&this.controls[D].enabled}setValue(D,w={}){dn(this,D),Object.keys(D).forEach(N=>{ir(this,N),this.controls[N].setValue(D[N],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(D,w={}){null!=D&&(Object.keys(D).forEach(N=>{this.controls[N]&&this.controls[N].patchValue(D[N],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(D={},w={}){this._forEachChild((N,Ke)=>{N.reset(D[Ke],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(D,w,N)=>(D[N]=Pr(w),D))}_syncPendingControls(){let D=this._reduceChildren(!1,(w,N)=>!!N._syncPendingControls()||w);return D&&this.updateValueAndValidity({onlySelf:!0}),D}_forEachChild(D){Object.keys(this.controls).forEach(w=>{const N=this.controls[w];N&&D(N,w)})}_setUpControls(){this._forEachChild(D=>{D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(D){for(const w of Object.keys(this.controls)){const N=this.controls[w];if(this.contains(w)&&D(N))return!0}return!1}_reduceValue(){return this._reduceChildren({},(D,w,N)=>((w.enabled||this.disabled)&&(D[N]=w.value),D))}_reduceChildren(D,w){let N=D;return this._forEachChild((Ke,nn)=>{N=w(N,Ke,nn)}),N}_allControlsDisabled(){for(const D of Object.keys(this.controls))if(this.controls[D].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Nr extends cr{constructor(D,w,N){super(Dt(w),At(N,w)),this.controls=D,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(D){return this.controls[D]}push(D,w={}){this.controls.push(D),this._registerControl(D),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}insert(D,w,N={}){this.controls.splice(D,0,w),this._registerControl(w),this.updateValueAndValidity({emitEvent:N.emitEvent})}removeAt(D,w={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),this.controls.splice(D,1),this.updateValueAndValidity({emitEvent:w.emitEvent})}setControl(D,w,N={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),this.controls.splice(D,1),w&&(this.controls.splice(D,0,w),this._registerControl(w)),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(D,w={}){dn(this,D),D.forEach((N,Ke)=>{ir(this,Ke),this.at(Ke).setValue(N,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(D,w={}){null!=D&&(D.forEach((N,Ke)=>{this.at(Ke)&&this.at(Ke).patchValue(N,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(D=[],w={}){this._forEachChild((N,Ke)=>{N.reset(D[Ke],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this.controls.map(D=>Pr(D))}clear(D={}){this.controls.length<1||(this._forEachChild(w=>w._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:D.emitEvent}))}_syncPendingControls(){let D=this.controls.reduce((w,N)=>!!N._syncPendingControls()||w,!1);return D&&this.updateValueAndValidity({onlySelf:!0}),D}_forEachChild(D){this.controls.forEach((w,N)=>{D(w,N)})}_updateValue(){this.value=this.controls.filter(D=>D.enabled||this.disabled).map(D=>D.value)}_anyControls(D){return this.controls.some(w=>w.enabled&&D(w))}_setUpControls(){this._forEachChild(D=>this._registerControl(D))}_allControlsDisabled(){for(const D of this.controls)if(D.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(D){D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)}}const tn={provide:Xn,useExisting:(0,l.Gpc)(()=>gr)},Fn=(()=>Promise.resolve(null))();let gr=(()=>{class S extends Xn{constructor(w,N,Ke,nn,Er){super(),this._changeDetectorRef=Er,this.control=new Ci,this._registered=!1,this.update=new l.vpe,this._parent=w,this._setValidators(N),this._setAsyncValidators(Ke),this.valueAccessor=function de(S,D){if(!D)return null;let w,N,Ke;return Array.isArray(D),D.forEach(nn=>{nn.constructor===mt?w=nn:function It(S){return Object.getPrototypeOf(S.constructor)===q}(nn)?N=nn:Ke=nn}),Ke||N||w||null}(0,nn)}ngOnChanges(w){if(this._checkForErrors(),!this._registered||"name"in w){if(this._registered&&(this._checkName(),this.formDirective)){const N=w.name.previousValue;this.formDirective.removeControl({name:N,path:this._getPath(N)})}this._setUpControl()}"isDisabled"in w&&this._updateDisabled(w),function Et(S,D){if(!S.hasOwnProperty("model"))return!1;const w=S.model;return!!w.isFirstChange()||!Object.is(D,w.currentValue)}(w,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(w){this.viewModel=w,this.update.emit(w)}_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(){gt(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(w){Fn.then(()=>{this.control.setValue(w,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(w){const N=w.isDisabled.currentValue,Ke=""===N||N&&"false"!==N;Fn.then(()=>{Ke&&!this.control.disabled?this.control.disable():!Ke&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(w){return this._parent?function un(S,D){return[...D.path,S]}(w,this._parent):[w]}}return S.\u0275fac=function(w){return new(w||S)(l.Y36(ur,9),l.Y36(rt,10),l.Y36(Ce,10),l.Y36(le,10),l.Y36(l.sBO,8))},S.\u0275dir=l.lG2({type:S,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([tn]),l.qOj,l.TTD]}),S})(),ps=(()=>{class S{}return S.\u0275fac=function(w){return new(w||S)},S.\u0275mod=l.oAB({type:S}),S.\u0275inj=l.cJS({}),S})(),er=(()=>{class S{}return S.\u0275fac=function(w){return new(w||S)},S.\u0275mod=l.oAB({type:S}),S.\u0275inj=l.cJS({imports:[[ps]]}),S})(),yr=(()=>{class S{}return S.\u0275fac=function(w){return new(w||S)},S.\u0275mod=l.oAB({type:S}),S.\u0275inj=l.cJS({imports:[er]}),S})()},1481:(xe,K,x)=>{"use strict";x.d(K,{b2:()=>kr,q6:()=>Fr,se:()=>ze});var l=x(6895),_=x(5062);class re extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class J extends re{static makeCurrent(){(0,l.HT)(new J)}onAndCancel(se,X,Re){return se.addEventListener(X,Re,!1),()=>{se.removeEventListener(X,Re,!1)}}dispatchEvent(se,X){se.dispatchEvent(X)}remove(se){se.parentNode&&se.parentNode.removeChild(se)}createElement(se,X){return(X=X||this.getDefaultDocument()).createElement(se)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(se){return se.nodeType===Node.ELEMENT_NODE}isShadowRoot(se){return se instanceof DocumentFragment}getGlobalEventTarget(se,X){return"window"===X?window:"document"===X?se:"body"===X?se.body:null}getBaseHref(se){const X=function Z(){return Y=Y||document.querySelector("base"),Y?Y.getAttribute("href"):null}();return null==X?null:function ae(Le){te=te||document.createElement("a"),te.setAttribute("href",Le);const se=te.pathname;return"/"===se.charAt(0)?se:`/${se}`}(X)}resetBaseElement(){Y=null}getUserAgent(){return window.navigator.userAgent}getCookie(se){return(0,l.Mx)(document.cookie,se)}}let te,Y=null;const ve=new _.OlP("TRANSITION_ID"),q=[{provide:_.ip1,useFactory:function $(Le,se,X){return()=>{X.get(_.CZH).donePromise.then(()=>{const Re=(0,l.q)(),Qe=se.querySelectorAll(`style[ng-transition="${Le}"]`);for(let Et=0;Et<Qe.length;Et++)Re.remove(Qe[Et])})}},deps:[ve,l.K0,_.zs3],multi:!0}];class le{static init(){(0,_.VLi)(new le)}addToWindow(se){_.dqk.getAngularTestability=(Re,Qe=!0)=>{const Et=se.findTestabilityInTree(Re,Qe);if(null==Et)throw new Error("Could not find testability for element.");return Et},_.dqk.getAllAngularTestabilities=()=>se.getAllTestabilities(),_.dqk.getAllAngularRootElements=()=>se.getAllRootElements(),_.dqk.frameworkStabilizers||(_.dqk.frameworkStabilizers=[]),_.dqk.frameworkStabilizers.push(Re=>{const Qe=_.dqk.getAllAngularTestabilities();let Et=Qe.length,It=!1;const wt=function(de){It=It||de,Et--,0==Et&&Re(It)};Qe.forEach(function(de){de.whenStable(wt)})})}findTestabilityInTree(se,X,Re){return null==X?null:se.getTestability(X)??(Re?(0,l.q)().isShadowRoot(X)?this.findTestabilityInTree(se,X.host,!0):this.findTestabilityInTree(se,X.parentElement,!0):null)}}let ue=(()=>{class Le{build(){return new XMLHttpRequest}}return Le.\u0275fac=function(X){return new(X||Le)},Le.\u0275prov=_.Yz7({token:Le,factory:Le.\u0275fac}),Le})();const Ve=new _.OlP("EventManagerPlugins");let ne=(()=>{class Le{constructor(X,Re){this._zone=Re,this._eventNameToPlugin=new Map,X.forEach(Qe=>Qe.manager=this),this._plugins=X.slice().reverse()}addEventListener(X,Re,Qe){return this._findPluginFor(Re).addEventListener(X,Re,Qe)}addGlobalEventListener(X,Re,Qe){return this._findPluginFor(Re).addGlobalEventListener(X,Re,Qe)}getZone(){return this._zone}_findPluginFor(X){const Re=this._eventNameToPlugin.get(X);if(Re)return Re;const Qe=this._plugins;for(let Et=0;Et<Qe.length;Et++){const It=Qe[Et];if(It.supports(X))return this._eventNameToPlugin.set(X,It),It}throw new Error(`No event manager plugin found for event ${X}`)}}return Le.\u0275fac=function(X){return new(X||Le)(_.LFG(Ve),_.LFG(_.R0b))},Le.\u0275prov=_.Yz7({token:Le,factory:Le.\u0275fac}),Le})();class Se{constructor(se){this._doc=se}addGlobalEventListener(se,X,Re){const Qe=(0,l.q)().getGlobalEventTarget(this._doc,se);if(!Qe)throw new Error(`Unsupported event target ${Qe} for event ${X}`);return this.addEventListener(Qe,X,Re)}}let Fe=(()=>{class Le{constructor(){this._stylesSet=new Set}addStyles(X){const Re=new Set;X.forEach(Qe=>{this._stylesSet.has(Qe)||(this._stylesSet.add(Qe),Re.add(Qe))}),this.onStylesAdded(Re)}onStylesAdded(X){}getAllStyles(){return Array.from(this._stylesSet)}}return Le.\u0275fac=function(X){return new(X||Le)},Le.\u0275prov=_.Yz7({token:Le,factory:Le.\u0275fac}),Le})(),mt=(()=>{class Le extends Fe{constructor(X){super(),this._doc=X,this._hostNodes=new Map,this._hostNodes.set(X.head,[])}_addStylesToHost(X,Re,Qe){X.forEach(Et=>{const It=this._doc.createElement("style");It.textContent=Et,Qe.push(Re.appendChild(It))})}addHost(X){const Re=[];this._addStylesToHost(this._stylesSet,X,Re),this._hostNodes.set(X,Re)}removeHost(X){const Re=this._hostNodes.get(X);Re&&Re.forEach(We),this._hostNodes.delete(X)}onStylesAdded(X){this._hostNodes.forEach((Re,Qe)=>{this._addStylesToHost(X,Qe,Re)})}ngOnDestroy(){this._hostNodes.forEach(X=>X.forEach(We))}}return Le.\u0275fac=function(X){return new(X||Le)(_.LFG(l.K0))},Le.\u0275prov=_.Yz7({token:Le,factory:Le.\u0275fac}),Le})();function We(Le){(0,l.q)().remove(Le)}const $e={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/"},rt=/%COMP%/g;function Ee(Le,se,X){for(let Re=0;Re<se.length;Re++){let Qe=se[Re];Array.isArray(Qe)?Ee(Le,Qe,X):(Qe=Qe.replace(rt,Le),X.push(Qe))}return X}function lt(Le){return se=>{if("__ngUnwrap__"===se)return Le;!1===Le(se)&&(se.preventDefault(),se.returnValue=!1)}}let ze=(()=>{class Le{constructor(X,Re,Qe){this.eventManager=X,this.sharedStylesHost=Re,this.appId=Qe,this.rendererByCompId=new Map,this.defaultRenderer=new Be(X)}createRenderer(X,Re){if(!X||!Re)return this.defaultRenderer;switch(Re.encapsulation){case _.ifc.Emulated:{let Qe=this.rendererByCompId.get(Re.id);return Qe||(Qe=new Ir(this.eventManager,this.sharedStylesHost,Re,this.appId),this.rendererByCompId.set(Re.id,Qe)),Qe.applyToHost(X),Qe}case 1:case _.ifc.ShadowDom:return new ri(this.eventManager,this.sharedStylesHost,X,Re);default:if(!this.rendererByCompId.has(Re.id)){const Qe=Ee(Re.id,Re.styles,[]);this.sharedStylesHost.addStyles(Qe),this.rendererByCompId.set(Re.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Le.\u0275fac=function(X){return new(X||Le)(_.LFG(ne),_.LFG(mt),_.LFG(_.AFp))},Le.\u0275prov=_.Yz7({token:Le,factory:Le.\u0275fac}),Le})();class Be{constructor(se){this.eventManager=se,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(se,X){return X?document.createElementNS($e[X]||X,se):document.createElement(se)}createComment(se){return document.createComment(se)}createText(se){return document.createTextNode(se)}appendChild(se,X){se.appendChild(X)}insertBefore(se,X,Re){se&&se.insertBefore(X,Re)}removeChild(se,X){se&&se.removeChild(X)}selectRootElement(se,X){let Re="string"==typeof se?document.querySelector(se):se;if(!Re)throw new Error(`The selector "${se}" did not match any elements`);return X||(Re.textContent=""),Re}parentNode(se){return se.parentNode}nextSibling(se){return se.nextSibling}setAttribute(se,X,Re,Qe){if(Qe){X=Qe+":"+X;const Et=$e[Qe];Et?se.setAttributeNS(Et,X,Re):se.setAttribute(X,Re)}else se.setAttribute(X,Re)}removeAttribute(se,X,Re){if(Re){const Qe=$e[Re];Qe?se.removeAttributeNS(Qe,X):se.removeAttribute(`${Re}:${X}`)}else se.removeAttribute(X)}addClass(se,X){se.classList.add(X)}removeClass(se,X){se.classList.remove(X)}setStyle(se,X,Re,Qe){Qe&(_.JOm.DashCase|_.JOm.Important)?se.style.setProperty(X,Re,Qe&_.JOm.Important?"important":""):se.style[X]=Re}removeStyle(se,X,Re){Re&_.JOm.DashCase?se.style.removeProperty(X):se.style[X]=""}setProperty(se,X,Re){se[X]=Re}setValue(se,X){se.nodeValue=X}listen(se,X,Re){return"string"==typeof se?this.eventManager.addGlobalEventListener(se,X,lt(Re)):this.eventManager.addEventListener(se,X,lt(Re))}}class Ir extends Be{constructor(se,X,Re,Qe){super(se),this.component=Re;const Et=Ee(Qe+"-"+Re.id,Re.styles,[]);X.addStyles(Et),this.contentAttr=function on(Le){return"_ngcontent-%COMP%".replace(rt,Le)}(Qe+"-"+Re.id),this.hostAttr=function en(Le){return"_nghost-%COMP%".replace(rt,Le)}(Qe+"-"+Re.id)}applyToHost(se){super.setAttribute(se,this.hostAttr,"")}createElement(se,X){const Re=super.createElement(se,X);return super.setAttribute(Re,this.contentAttr,""),Re}}class ri extends Be{constructor(se,X,Re,Qe){super(se),this.sharedStylesHost=X,this.hostEl=Re,this.shadowRoot=Re.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Et=Ee(Qe.id,Qe.styles,[]);for(let It=0;It<Et.length;It++){const wt=document.createElement("style");wt.textContent=Et[It],this.shadowRoot.appendChild(wt)}}nodeOrShadowRoot(se){return se===this.hostEl?this.shadowRoot:se}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(se,X){return super.appendChild(this.nodeOrShadowRoot(se),X)}insertBefore(se,X,Re){return super.insertBefore(this.nodeOrShadowRoot(se),X,Re)}removeChild(se,X){return super.removeChild(this.nodeOrShadowRoot(se),X)}parentNode(se){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(se)))}}let rr=(()=>{class Le extends Se{constructor(X){super(X)}supports(X){return!0}addEventListener(X,Re,Qe){return X.addEventListener(Re,Qe,!1),()=>this.removeEventListener(X,Re,Qe)}removeEventListener(X,Re,Qe){return X.removeEventListener(Re,Qe)}}return Le.\u0275fac=function(X){return new(X||Le)(_.LFG(l.K0))},Le.\u0275prov=_.Yz7({token:Le,factory:Le.\u0275fac}),Le})();const ii=["alt","control","meta","shift"],vi={"\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"},Gn={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"},En={alt:Le=>Le.altKey,control:Le=>Le.ctrlKey,meta:Le=>Le.metaKey,shift:Le=>Le.shiftKey};let Xr=(()=>{class Le extends Se{constructor(X){super(X)}supports(X){return null!=Le.parseEventName(X)}addEventListener(X,Re,Qe){const Et=Le.parseEventName(Re),It=Le.eventCallback(Et.fullKey,Qe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(X,Et.domEventName,It))}static parseEventName(X){const Re=X.toLowerCase().split("."),Qe=Re.shift();if(0===Re.length||"keydown"!==Qe&&"keyup"!==Qe)return null;const Et=Le._normalizeKey(Re.pop());let It="";if(ii.forEach(de=>{const Oe=Re.indexOf(de);Oe>-1&&(Re.splice(Oe,1),It+=de+".")}),It+=Et,0!=Re.length||0===Et.length)return null;const wt={};return wt.domEventName=Qe,wt.fullKey=It,wt}static getEventFullKey(X){let Re="",Qe=function Cr(Le){let se=Le.key;if(null==se){if(se=Le.keyIdentifier,null==se)return"Unidentified";se.startsWith("U+")&&(se=String.fromCharCode(parseInt(se.substring(2),16)),3===Le.location&&Gn.hasOwnProperty(se)&&(se=Gn[se]))}return vi[se]||se}(X);return Qe=Qe.toLowerCase()," "===Qe?Qe="space":"."===Qe&&(Qe="dot"),ii.forEach(Et=>{Et!=Qe&&En[Et](X)&&(Re+=Et+".")}),Re+=Qe,Re}static eventCallback(X,Re,Qe){return Et=>{Le.getEventFullKey(Et)===X&&Qe.runGuarded(()=>Re(Et))}}static _normalizeKey(X){return"esc"===X?"escape":X}}return Le.\u0275fac=function(X){return new(X||Le)(_.LFG(l.K0))},Le.\u0275prov=_.Yz7({token:Le,factory:Le.\u0275fac}),Le})();const Fr=(0,_.eFA)(_._c5,"browser",[{provide:_.Lbi,useValue:l.bD},{provide:_.g9A,useValue:function _r(){J.makeCurrent(),le.init()},multi:!0},{provide:l.K0,useFactory:function qr(){return(0,_.RDi)(document),document},deps:[]}]),wr=[{provide:_.zSh,useValue:"root"},{provide:_.qLn,useFactory:function hr(){return new _.qLn},deps:[]},{provide:Ve,useClass:rr,multi:!0,deps:[l.K0,_.R0b,_.Lbi]},{provide:Ve,useClass:Xr,multi:!0,deps:[l.K0]},{provide:ze,useClass:ze,deps:[ne,mt,_.AFp]},{provide:_.FYo,useExisting:ze},{provide:Fe,useExisting:mt},{provide:mt,useClass:mt,deps:[l.K0]},{provide:_.dDg,useClass:_.dDg,deps:[_.R0b]},{provide:ne,useClass:ne,deps:[Ve,_.R0b]},{provide:l.JF,useClass:ue,deps:[]}];let kr=(()=>{class Le{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:Le,providers:[{provide:_.AFp,useValue:X.appId},{provide:ve,useExisting:_.AFp},q]}}}return Le.\u0275fac=function(X){return new(X||Le)(_.LFG(Le,12))},Le.\u0275mod=_.oAB({type:Le}),Le.\u0275inj=_.cJS({providers:wr,imports:[l.ez,_.hGG]}),Le})();typeof window<"u"&&window},2904:(xe,K,x)=>{"use strict";x.d(K,{gz:()=>ki,m2:()=>Rt,F0:()=>Di,rH:()=>Ts,Bz:()=>Ko,lC:()=>S});var l=x(6895),_=x(5062),re=x(5529),J=x(5279);class Y extends re.xQ{constructor(p){super(),this._value=p}get value(){return this.getValue()}_subscribe(p){const d=super._subscribe(p);return d&&!d.closed&&p.next(this._value),d}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new J.N;return this._value}next(p){super.next(this._value=p)}}var Z=x(2866),te=x(6688),ae=x(826),ve=x(9054),$=x(3009);const q={};class ue{constructor(p){this.resultSelector=p}call(p,d){return d.subscribe(new Ve(p,this.resultSelector))}}class Ve extends ae.L{constructor(p,d){super(p),this.resultSelector=d,this.active=0,this.values=[],this.observables=[]}_next(p){this.values.push(q),this.observables.push(p)}_complete(){const p=this.observables,d=p.length;if(0===d)this.destination.complete();else{this.active=d,this.toRespond=d;for(let b=0;b<d;b++){const P=p[b];this.add((0,ve.D)(this,P,P,b))}}}notifyComplete(p){0==(this.active-=1)&&this.destination.complete()}notifyNext(p,d,b,P,B){const Q=this.values,nt=this.toRespond?Q[b]===q?--this.toRespond:this.toRespond:0;Q[b]=d,0===nt&&(this.resultSelector?this._tryResultSelector(Q):this.destination.next(Q.slice()))}_tryResultSelector(p){let d;try{d=this.resultSelector.apply(this,p)}catch(b){return void this.destination.error(b)}this.destination.next(d)}}var ne=x(2916);function Se(y,p){return new ne.y(p?d=>p.schedule(Fe,0,{error:y,subscriber:d}):d=>d.error(y))}function Fe({error:y,subscriber:p}){p.error(y)}const We=(()=>{function y(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return y.prototype=Object.create(Error.prototype),y})();var $e=x(1086),rt=x(9146);function _t(...y){return function Ce(){return(0,rt.J)(1)}()((0,$e.of)(...y))}var Ct=x(5254);const gn=new ne.y(y=>y.complete());function on(y){return y?function en(y){return new ne.y(p=>y.schedule(()=>p.complete()))}(y):gn}function Ee(y){return new ne.y(p=>{let d;try{d=y()}catch(P){return void p.error(P)}return(d?(0,Ct.D)(d):on()).subscribe(p)})}var lt=x(1762),et=x(1869),ze=x(4850);function Be(y,p){return"function"==typeof p?d=>d.pipe(Be((b,P)=>(0,Ct.D)(y(b,P)).pipe((0,ze.U)((B,Q)=>p(b,B,P,Q))))):d=>d.lift(new zt(y))}class zt{constructor(p){this.project=p}call(p,d){return d.subscribe(new rn(p,this.project))}}class rn extends ae.L{constructor(p,d){super(p),this.project=d,this.index=0}_next(p){let d;const b=this.index++;try{d=this.project(p,b)}catch(P){return void this.destination.error(P)}this._innerSub(d,p,b)}_innerSub(p,d,b){const P=this.innerSubscription;P&&P.unsubscribe();const B=new et.d(this,d,b),Q=this.destination;Q.add(B),this.innerSubscription=(0,ve.D)(this,p,void 0,void 0,B),this.innerSubscription!==B&&Q.add(this.innerSubscription)}_complete(){const{innerSubscription:p}=this;(!p||p.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(p){this.destination.remove(p),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(p,d,b,P,B){this.destination.next(d)}}var Ir=x(3489);const rr=(()=>{function y(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return y.prototype=Object.create(Error.prototype),y})();function ii(y){return p=>0===y?on():p.lift(new Sr(y))}class Sr{constructor(p){if(this.total=p,this.total<0)throw new rr}call(p,d){return d.subscribe(new vi(p,this.total))}}class vi extends Ir.L{constructor(p,d){super(p),this.total=d,this.count=0}_next(p){const d=this.total,b=++this.count;b<=d&&(this.destination.next(p),b===d&&(this.destination.complete(),this.unsubscribe()))}}function En(y,p){let d=!1;return arguments.length>=2&&(d=!0),function(P){return P.lift(new Xr(y,p,d))}}class Xr{constructor(p,d,b=!1){this.accumulator=p,this.seed=d,this.hasSeed=b}call(p,d){return d.subscribe(new Cr(p,this.accumulator,this.seed,this.hasSeed))}}class Cr extends Ir.L{constructor(p,d,b,P){super(p),this.accumulator=d,this._seed=b,this.hasSeed=P,this.index=0}get seed(){return this._seed}set seed(p){this.hasSeed=!0,this._seed=p}_next(p){if(this.hasSeed)return this._tryNext(p);this.seed=p,this.destination.next(p)}_tryNext(p){const d=this.index++;let b;try{b=this.accumulator(this.seed,p,d)}catch(P){this.destination.error(P)}this.seed=b,this.destination.next(b)}}function _r(y){return function(d){const b=new hr(y),P=d.lift(b);return b.caught=P}}class hr{constructor(p){this.selector=p}call(p,d){return d.subscribe(new qr(p,this.selector,this.caught))}}class qr extends ae.L{constructor(p,d,b){super(p),this.selector=d,this.caught=b}error(p){if(!this.isStopped){let d;try{d=this.selector(p,this.caught)}catch(B){return void super.error(B)}this._unsubscribeAndRecycle();const b=new et.d(this,void 0,void 0);this.add(b);const P=(0,ve.D)(this,d,void 0,void 0,b);P!==b&&this.add(P)}}}var pr=x(2198);function Fr(y){return function(d){return 0===y?on():d.lift(new wr(y))}}class wr{constructor(p){if(this.total=p,this.total<0)throw new rr}call(p,d){return d.subscribe(new kr(p,this.total))}}class kr extends Ir.L{constructor(p,d){super(p),this.total=d,this.ring=new Array,this.count=0}_next(p){const d=this.ring,b=this.total,P=this.count++;d.length<b?d.push(p):d[P%b]=p}_complete(){const p=this.destination;let d=this.count;if(d>0){const b=this.count>=this.total?this.total:this.count,P=this.ring;for(let B=0;B<b;B++){const Q=d++%b;p.next(P[Q])}}p.complete()}}function ur(y=Or){return p=>p.lift(new Xn(y))}class Xn{constructor(p){this.errorFactory=p}call(p,d){return d.subscribe(new hi(p,this.errorFactory))}}class hi extends Ir.L{constructor(p,d){super(p),this.errorFactory=d,this.hasValue=!1}_next(p){this.hasValue=!0,this.destination.next(p)}_complete(){if(this.hasValue)return this.destination.complete();{let p;try{p=this.errorFactory()}catch(d){p=d}this.destination.error(p)}}}function Or(){return new We}function Rr(y=null){return p=>p.lift(new pe(y))}class pe{constructor(p){this.defaultValue=p}call(p,d){return d.subscribe(new me(p,this.defaultValue))}}class me extends Ir.L{constructor(p,d){super(p),this.defaultValue=d,this.isEmpty=!0}_next(p){this.isEmpty=!1,this.destination.next(p)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var ce=x(5379);function z(y,p){const d=arguments.length>=2;return b=>b.pipe(y?(0,pr.h)((P,B)=>y(P,B,b)):ce.y,ii(1),d?Rr(p):ur(()=>new We))}function we(){}var Pe=x(7043);function De(y,p,d){return function(P){return P.lift(new Ye(y,p,d))}}class Ye{constructor(p,d,b){this.nextOrObserver=p,this.error=d,this.complete=b}call(p,d){return d.subscribe(new Pt(p,this.nextOrObserver,this.error,this.complete))}}class Pt extends Ir.L{constructor(p,d,b,P){super(p),this._tapNext=we,this._tapError=we,this._tapComplete=we,this._tapError=b||we,this._tapComplete=P||we,(0,Pe.m)(d)?(this._context=this,this._tapNext=d):d&&(this._context=d,this._tapNext=d.next||we,this._tapError=d.error||we,this._tapComplete=d.complete||we)}_next(p){try{this._tapNext.call(this._context,p)}catch(d){return void this.destination.error(d)}this.destination.next(p)}_error(p){try{this._tapError.call(this._context,p)}catch(d){return void this.destination.error(d)}this.destination.error(p)}_complete(){try{this._tapComplete.call(this._context)}catch(p){return void this.destination.error(p)}return this.destination.complete()}}var st=x(1406),vt=x(1709),yt=x(4327),Ut=x(537);class Qt{constructor(p,d){this.id=p,this.url=d}}class bt extends Qt{constructor(p,d,b="imperative",P=null){super(p,d),this.navigationTrigger=b,this.restoredState=P}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Rt extends Qt{constructor(p,d,b){super(p,d),this.urlAfterRedirects=b}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Wt extends Qt{constructor(p,d,b){super(p,d),this.reason=b}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class un extends Qt{constructor(p,d,b){super(p,d),this.error=b}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class gt extends Qt{constructor(p,d,b,P){super(p,d),this.urlAfterRedirects=b,this.state=P}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ht extends Qt{constructor(p,d,b,P){super(p,d),this.urlAfterRedirects=b,this.state=P}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mn extends Qt{constructor(p,d,b,P,B){super(p,d),this.urlAfterRedirects=b,this.state=P,this.shouldActivate=B}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Wn extends Qt{constructor(p,d,b,P){super(p,d),this.urlAfterRedirects=b,this.state=P}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xn extends Qt{constructor(p,d,b,P){super(p,d),this.urlAfterRedirects=b,this.state=P}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ft{constructor(p){this.route=p}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yn{constructor(p){this.route=p}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ot{constructor(p){this.snapshot=p}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dn{constructor(p){this.snapshot=p}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zt{constructor(p){this.snapshot=p}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class br{constructor(p){this.snapshot=p}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Le{constructor(p,d,b){this.routerEvent=p,this.position=d,this.anchor=b}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const se="primary";class X{constructor(p){this.params=p||{}}has(p){return Object.prototype.hasOwnProperty.call(this.params,p)}get(p){if(this.has(p)){const d=this.params[p];return Array.isArray(d)?d[0]:d}return null}getAll(p){if(this.has(p)){const d=this.params[p];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function Re(y){return new X(y)}const Qe="ngNavigationCancelingError";function Et(y){const p=Error("NavigationCancelingError: "+y);return p[Qe]=!0,p}function wt(y,p,d){const b=d.path.split("/");if(b.length>y.length||"full"===d.pathMatch&&(p.hasChildren()||b.length<y.length))return null;const P={};for(let B=0;B<b.length;B++){const Q=b[B],_e=y[B];if(Q.startsWith(":"))P[Q.substring(1)]=_e;else if(Q!==_e.path)return null}return{consumed:y.slice(0,b.length),posParams:P}}function Oe(y,p){const d=y?Object.keys(y):void 0,b=p?Object.keys(p):void 0;if(!d||!b||d.length!=b.length)return!1;let P;for(let B=0;B<d.length;B++)if(P=d[B],!jt(y[P],p[P]))return!1;return!0}function jt(y,p){if(Array.isArray(y)&&Array.isArray(p)){if(y.length!==p.length)return!1;const d=[...y].sort(),b=[...p].sort();return d.every((P,B)=>b[B]===P)}return y===p}function qt(y){return Array.prototype.concat.apply([],y)}function Mn(y){return y.length>0?y[y.length-1]:null}function He(y,p){for(const d in y)y.hasOwnProperty(d)&&p(y[d],d)}function Ae(y){return(0,_.CqO)(y)?y:(0,_.QGY)(y)?(0,Ct.D)(Promise.resolve(y)):(0,$e.of)(y)}const Dt={exact:function Xt(y,p,d){if(!jn(y.segments,p.segments)||!Pr(y.segments,p.segments,d)||y.numberOfChildren!==p.numberOfChildren)return!1;for(const b in p.children)if(!y.children[b]||!Xt(y.children[b],p.children[b],d))return!1;return!0},subset:xt},Tt={exact:function Nt(y,p){return Oe(y,p)},subset:function an(y,p){return Object.keys(p).length<=Object.keys(y).length&&Object.keys(p).every(d=>jt(y[d],p[d]))},ignored:()=>!0};function At(y,p,d){return Dt[d.paths](y.root,p.root,d.matrixParams)&&Tt[d.queryParams](y.queryParams,p.queryParams)&&!("exact"===d.fragment&&y.fragment!==p.fragment)}function xt(y,p,d){return vn(y,p,p.segments,d)}function vn(y,p,d,b){if(y.segments.length>d.length){const P=y.segments.slice(0,d.length);return!(!jn(P,d)||p.hasChildren()||!Pr(P,d,b))}if(y.segments.length===d.length){if(!jn(y.segments,d)||!Pr(y.segments,d,b))return!1;for(const P in p.children)if(!y.children[P]||!xt(y.children[P],p.children[P],b))return!1;return!0}{const P=d.slice(0,y.segments.length),B=d.slice(y.segments.length);return!!(jn(y.segments,P)&&Pr(y.segments,P,b)&&y.children[se])&&vn(y.children[se],p,B,b)}}function Pr(y,p,d){return p.every((b,P)=>Tt[d](y[P].parameters,b.parameters))}class ir{constructor(p,d,b){this.root=p,this.queryParams=d,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Re(this.queryParams)),this._queryParamMap}toString(){return L.serialize(this)}}class dn{constructor(p,d){this.segments=p,this.children=d,this.parent=null,He(d,(b,P)=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ie(this)}}class cr{constructor(p,d){this.path=p,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=Re(this.parameters)),this._parameterMap}toString(){return Fn(this)}}function jn(y,p){return y.length===p.length&&y.every((d,b)=>d.path===p[b].path)}class A{}class U{parse(p){const d=new bo(p);return new ir(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(p){const d=`/${je(p.root,!0)}`,b=function mr(y){const p=Object.keys(y).map(d=>{const b=y[d];return Array.isArray(b)?b.map(P=>`${Xe(d)}=${Xe(P)}`).join("&"):`${Xe(d)}=${Xe(b)}`}).filter(d=>!!d);return p.length?`?${p.join("&")}`:""}(p.queryParams);return`${d}${b}${"string"==typeof p.fragment?`#${function it(y){return encodeURI(y)}(p.fragment)}`:""}`}}const L=new U;function ie(y){return y.segments.map(p=>Fn(p)).join("/")}function je(y,p){if(!y.hasChildren())return ie(y);if(p){const d=y.children[se]?je(y.children[se],!1):"",b=[];return He(y.children,(P,B)=>{B!==se&&b.push(`${B}:${je(P,!1)}`)}),b.length>0?`${d}(${b.join("//")})`:d}{const d=function Nr(y,p){let d=[];return He(y.children,(b,P)=>{P===se&&(d=d.concat(p(b,P)))}),He(y.children,(b,P)=>{P!==se&&(d=d.concat(p(b,P)))}),d}(y,(b,P)=>P===se?[je(y.children[se],!1)]:[`${P}:${je(b,!1)}`]);return 1===Object.keys(y.children).length&&null!=y.children[se]?`${ie(y)}/${d[0]}`:`${ie(y)}/(${d.join("//")})`}}function Ue(y){return encodeURIComponent(y).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xe(y){return Ue(y).replace(/%3B/gi,";")}function dt(y){return Ue(y).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cn(y){return decodeURIComponent(y)}function tn(y){return cn(y.replace(/\+/g,"%20"))}function Fn(y){return`${dt(y.path)}${function gr(y){return Object.keys(y).map(p=>`;${dt(p)}=${dt(y[p])}`).join("")}(y.parameters)}`}const Yn=/^[^\/()?;=#]+/;function sr(y){const p=y.match(Yn);return p?p[0]:""}const Si=/^[^=?&#]+/,ps=/^[^&#]+/;class bo{constructor(p){this.url=p,this.remaining=p}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new dn([],{}):new dn([],this.parseChildren())}parseQueryParams(){const p={};if(this.consumeOptional("?"))do{this.parseQueryParam(p)}while(this.consumeOptional("&"));return p}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const p=[];for(this.peekStartsWith("(")||p.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),p.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(p.length>0||Object.keys(d).length>0)&&(b[se]=new dn(p,d)),b}parseSegment(){const p=sr(this.remaining);if(""===p&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(p),new cr(cn(p),this.parseMatrixParams())}parseMatrixParams(){const p={};for(;this.consumeOptional(";");)this.parseParam(p);return p}parseParam(p){const d=sr(this.remaining);if(!d)return;this.capture(d);let b="";if(this.consumeOptional("=")){const P=sr(this.remaining);P&&(b=P,this.capture(b))}p[cn(d)]=cn(b)}parseQueryParam(p){const d=function Pi(y){const p=y.match(Si);return p?p[0]:""}(this.remaining);if(!d)return;this.capture(d);let b="";if(this.consumeOptional("=")){const Q=function wo(y){const p=y.match(ps);return p?p[0]:""}(this.remaining);Q&&(b=Q,this.capture(b))}const P=tn(d),B=tn(b);if(p.hasOwnProperty(P)){let Q=p[P];Array.isArray(Q)||(Q=[Q],p[P]=Q),Q.push(B)}else p[P]=B}parseParens(p){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=sr(this.remaining),P=this.remaining[b.length];if("/"!==P&&")"!==P&&";"!==P)throw new Error(`Cannot parse url '${this.url}'`);let B;b.indexOf(":")>-1?(B=b.substr(0,b.indexOf(":")),this.capture(B),this.capture(":")):p&&(B=se);const Q=this.parseChildren();d[B]=1===Object.keys(Q).length?Q[se]:new dn([],Q),this.consumeOptional("//")}return d}peekStartsWith(p){return this.remaining.startsWith(p)}consumeOptional(p){return!!this.peekStartsWith(p)&&(this.remaining=this.remaining.substring(p.length),!0)}capture(p){if(!this.consumeOptional(p))throw new Error(`Expected "${p}".`)}}class Eo{constructor(p){this._root=p}get root(){return this._root.value}parent(p){const d=this.pathFromRoot(p);return d.length>1?d[d.length-2]:null}children(p){const d=Ls(p,this._root);return d?d.children.map(b=>b.value):[]}firstChild(p){const d=Ls(p,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(p){const d=ts(p,this._root);return d.length<2?[]:d[d.length-2].children.map(P=>P.value).filter(P=>P!==p)}pathFromRoot(p){return ts(p,this._root).map(d=>d.value)}}function Ls(y,p){if(y===p.value)return p;for(const d of p.children){const b=Ls(y,d);if(b)return b}return null}function ts(y,p){if(y===p.value)return[p];for(const d of p.children){const b=ts(y,d);if(b.length)return b.unshift(p),b}return[]}class Fi{constructor(p,d){this.value=p,this.children=d}toString(){return`TreeNode(${this.value})`}}function si(y){const p={};return y&&y.children.forEach(d=>p[d.value.outlet]=d),p}class Vs extends Eo{constructor(p,d){super(p),this.snapshot=d,qi(this,p)}toString(){return this.snapshot.toString()}}function gs(y,p){const d=function oo(y,p){const Q=new ms([],{},{},"",{},se,p,null,y.root,-1,{});return new Go("",new Fi(Q,[]))}(y,p),b=new Y([new cr("",{})]),P=new Y({}),B=new Y({}),Q=new Y({}),_e=new Y(""),nt=new ki(b,P,Q,_e,B,se,p,d.root);return nt.snapshot=d.root,new Vs(new Fi(nt,[]),d)}class ki{constructor(p,d,b,P,B,Q,_e,nt){this.url=p,this.params=d,this.queryParams=b,this.fragment=P,this.data=B,this.outlet=Q,this.component=_e,this._futureSnapshot=nt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ze.U)(p=>Re(p)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ze.U)(p=>Re(p)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $o(y,p="emptyOnly"){const d=y.pathFromRoot;let b=0;if("always"!==p)for(b=d.length-1;b>=1;){const P=d[b],B=d[b-1];if(P.routeConfig&&""===P.routeConfig.path)b--;else{if(B.component)break;b--}}return function Bs(y){return y.reduce((p,d)=>({params:{...p.params,...d.params},data:{...p.data,...d.data},resolve:{...p.resolve,...d._resolvedData}}),{params:{},data:{},resolve:{}})}(d.slice(b))}class ms{constructor(p,d,b,P,B,Q,_e,nt,Yt,dr,pn){this.url=p,this.params=d,this.queryParams=b,this.fragment=P,this.data=B,this.outlet=Q,this.component=_e,this.routeConfig=nt,this._urlSegment=Yt,this._lastPathIndex=dr,this._resolve=pn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Re(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Re(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Go extends Eo{constructor(p,d){super(d),this.url=p,qi(this,d)}toString(){return Us(this._root)}}function qi(y,p){p.value._routerState=y,p.children.forEach(d=>qi(y,d))}function Us(y){const p=y.children.length>0?` { ${y.children.map(Us).join(", ")} } `:"";return`${y.value}${p}`}function Li(y){if(y.snapshot){const p=y.snapshot,d=y._futureSnapshot;y.snapshot=d,Oe(p.queryParams,d.queryParams)||y.queryParams.next(d.queryParams),p.fragment!==d.fragment&&y.fragment.next(d.fragment),Oe(p.params,d.params)||y.params.next(d.params),function de(y,p){if(y.length!==p.length)return!1;for(let d=0;d<y.length;++d)if(!Oe(y[d],p[d]))return!1;return!0}(p.url,d.url)||y.url.next(d.url),Oe(p.data,d.data)||y.data.next(d.data)}else y.snapshot=y._futureSnapshot,y.data.next(y._futureSnapshot.data)}function Zn(y,p){const d=Oe(y.params,p.params)&&function Ci(y,p){return jn(y,p)&&y.every((d,b)=>Oe(d.parameters,p[b].parameters))}(y.url,p.url);return d&&!(!y.parent!=!p.parent)&&(!y.parent||Zn(y.parent,p.parent))}function wi(y,p,d){if(d&&y.shouldReuseRoute(p.value,d.value.snapshot)){const b=d.value;b._futureSnapshot=p.value;const P=function Do(y,p,d){return p.children.map(b=>{for(const P of d.children)if(y.shouldReuseRoute(b.value,P.value.snapshot))return wi(y,b,P);return wi(y,b)})}(y,p,d);return new Fi(b,P)}{if(y.shouldAttach(p.value)){const B=y.retrieve(p.value);if(null!==B){const Q=B.route;return Q.value._futureSnapshot=p.value,Q.children=p.children.map(_e=>wi(y,_e)),Q}}const b=function _s(y){return new ki(new Y(y.url),new Y(y.params),new Y(y.queryParams),new Y(y.fragment),new Y(y.data),y.outlet,y.component,y)}(p.value),P=p.children.map(B=>wi(y,B));return new Fi(b,P)}}function ys(y){return"object"==typeof y&&null!=y&&!y.outlets&&!y.segmentPath}function ns(y){return"object"==typeof y&&null!=y&&y.outlets}function vs(y,p,d,b,P){let B={};if(b&&He(b,(_e,nt)=>{B[nt]=Array.isArray(_e)?_e.map(Yt=>`${Yt}`):`${_e}`}),y===p)return new ir(d,B,P);const Q=ao(y,p,d);return new ir(Q,B,P)}function ao(y,p,d){const b={};return He(y.children,(P,B)=>{b[B]=P===p?d:ao(P,p,d)}),new dn(y.segments,b)}class Lr{constructor(p,d,b){if(this.isAbsolute=p,this.numberOfDoubleDots=d,this.commands=b,p&&b.length>0&&ys(b[0]))throw new Error("Root segment cannot have matrix parameters");const P=b.find(ns);if(P&&P!==Mn(b))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Yr{constructor(p,d,b){this.segmentGroup=p,this.processChildren=d,this.index=b}}function is(y,p,d){if(y||(y=new dn([],{})),0===y.segments.length&&y.hasChildren())return Hs(y,p,d);const b=function Mo(y,p,d){let b=0,P=p;const B={match:!1,pathIndex:0,commandIndex:0};for(;P<y.segments.length;){if(b>=d.length)return B;const Q=y.segments[P],_e=d[b];if(ns(_e))break;const nt=`${_e}`,Yt=b<d.length-1?d[b+1]:null;if(P>0&&void 0===nt)break;if(nt&&Yt&&"object"==typeof Yt&&void 0===Yt.outlets){if(!H(nt,Yt,Q))return B;b+=2}else{if(!H(nt,{},Q))return B;b++}P++}return{match:!0,pathIndex:P,commandIndex:b}}(y,p,d),P=d.slice(b.commandIndex);if(b.match&&b.pathIndex<y.segments.length){const B=new dn(y.segments.slice(0,b.pathIndex),{});return B.children[se]=new dn(y.segments.slice(b.pathIndex),y.children),Hs(B,0,P)}return b.match&&0===P.length?new dn(y.segments,{}):b.match&&!y.hasChildren()?M(y,p,d):b.match?Hs(y,0,P):M(y,p,d)}function Hs(y,p,d){if(0===d.length)return new dn(y.segments,{});{const b=function ei(y){return ns(y[0])?y[0].outlets:{[se]:y}}(d),P={};return He(b,(B,Q)=>{"string"==typeof B&&(B=[B]),null!==B&&(P[Q]=is(y.children[Q],p,B))}),He(y.children,(B,Q)=>{void 0===b[Q]&&(P[Q]=B)}),new dn(y.segments,P)}}function M(y,p,d){const b=y.segments.slice(0,p);let P=0;for(;P<d.length;){const B=d[P];if(ns(B)){const nt=V(B.outlets);return new dn(b,nt)}if(0===P&&ys(d[0])){b.push(new cr(y.segments[p].path,T(d[0]))),P++;continue}const Q=ns(B)?B.outlets[se]:`${B}`,_e=P<d.length-1?d[P+1]:null;Q&&_e&&ys(_e)?(b.push(new cr(Q,T(_e))),P+=2):(b.push(new cr(Q,{})),P++)}return new dn(b,{})}function V(y){const p={};return He(y,(d,b)=>{"string"==typeof d&&(d=[d]),null!==d&&(p[b]=M(new dn([],{}),0,d))}),p}function T(y){const p={};return He(y,(d,b)=>p[b]=`${d}`),p}function H(y,p,d){return y==d.path&&Oe(p,d.parameters)}class Ge{constructor(p,d,b,P){this.routeReuseStrategy=p,this.futureState=d,this.currState=b,this.forwardEvent=P}activate(p){const d=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,b,p),Li(this.futureState.root),this.activateChildRoutes(d,b,p)}deactivateChildRoutes(p,d,b){const P=si(d);p.children.forEach(B=>{const Q=B.value.outlet;this.deactivateRoutes(B,P[Q],b),delete P[Q]}),He(P,(B,Q)=>{this.deactivateRouteAndItsChildren(B,b)})}deactivateRoutes(p,d,b){const P=p.value,B=d?d.value:null;if(P===B)if(P.component){const Q=b.getContext(P.outlet);Q&&this.deactivateChildRoutes(p,d,Q.children)}else this.deactivateChildRoutes(p,d,b);else B&&this.deactivateRouteAndItsChildren(d,b)}deactivateRouteAndItsChildren(p,d){p.value.component&&this.routeReuseStrategy.shouldDetach(p.value.snapshot)?this.detachAndStoreRouteSubtree(p,d):this.deactivateRouteAndOutlet(p,d)}detachAndStoreRouteSubtree(p,d){const b=d.getContext(p.value.outlet),P=b&&p.value.component?b.children:d,B=si(p);for(const Q of Object.keys(B))this.deactivateRouteAndItsChildren(B[Q],P);if(b&&b.outlet){const Q=b.outlet.detach(),_e=b.children.onOutletDeactivated();this.routeReuseStrategy.store(p.value.snapshot,{componentRef:Q,route:p,contexts:_e})}}deactivateRouteAndOutlet(p,d){const b=d.getContext(p.value.outlet),P=b&&p.value.component?b.children:d,B=si(p);for(const Q of Object.keys(B))this.deactivateRouteAndItsChildren(B[Q],P);b&&b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated(),b.attachRef=null,b.resolver=null,b.route=null)}activateChildRoutes(p,d,b){const P=si(d);p.children.forEach(B=>{this.activateRoutes(B,P[B.value.outlet],b),this.forwardEvent(new br(B.value.snapshot))}),p.children.length&&this.forwardEvent(new Dn(p.value.snapshot))}activateRoutes(p,d,b){const P=p.value,B=d?d.value:null;if(Li(P),P===B)if(P.component){const Q=b.getOrCreateContext(P.outlet);this.activateChildRoutes(p,d,Q.children)}else this.activateChildRoutes(p,d,b);else if(P.component){const Q=b.getOrCreateContext(P.outlet);if(this.routeReuseStrategy.shouldAttach(P.snapshot)){const _e=this.routeReuseStrategy.retrieve(P.snapshot);this.routeReuseStrategy.store(P.snapshot,null),Q.children.onOutletReAttached(_e.contexts),Q.attachRef=_e.componentRef,Q.route=_e.route.value,Q.outlet&&Q.outlet.attach(_e.componentRef,_e.route.value),Li(_e.route.value),this.activateChildRoutes(p,null,Q.children)}else{const _e=function ft(y){for(let p=y.parent;p;p=p.parent){const d=p.routeConfig;if(d&&d._loadedConfig)return d._loadedConfig;if(d&&d.component)return null}return null}(P.snapshot),nt=_e?_e.module.componentFactoryResolver:null;Q.attachRef=null,Q.route=P,Q.resolver=nt,Q.outlet&&Q.outlet.activateWith(P,nt),this.activateChildRoutes(p,null,Q.children)}}else this.activateChildRoutes(p,null,b)}}class St{constructor(p,d){this.routes=p,this.module=d}}function Rn(y){return"function"==typeof y}function Ln(y){return y instanceof ir}const vr=Symbol("INITIAL_VALUE");function pi(){return Be(y=>function le(...y){let p=null,d=null;return(0,Z.K)(y[y.length-1])&&(d=y.pop()),"function"==typeof y[y.length-1]&&(p=y.pop()),1===y.length&&(0,te.k)(y[0])&&(y=y[0]),(0,$.n)(y,d).lift(new ue(p))}(y.map(p=>p.pipe(ii(1),function Gn(...y){const p=y[y.length-1];return(0,Z.K)(p)?(y.pop(),d=>_t(y,d,p)):d=>_t(y,d)}(vr)))).pipe(En((p,d)=>{let b=!1;return d.reduce((P,B,Q)=>P!==vr?P:(B===vr&&(b=!0),b||!1!==B&&Q!==d.length-1&&!Ln(B)?P:B),p)},vr),(0,pr.h)(p=>p!==vr),(0,ze.U)(p=>Ln(p)?p:!0===p),ii(1)))}class ws{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new gi,this.attachRef=null}}class gi{constructor(){this.contexts=new Map}onChildOutletCreated(p,d){const b=this.getOrCreateContext(p);b.outlet=d,this.contexts.set(p,b)}onChildOutletDestroyed(p){const d=this.getContext(p);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let d=this.getContext(p);return d||(d=new ws,this.contexts.set(p,d)),d}getContext(p){return this.contexts.get(p)||null}}let S=(()=>{class y{constructor(d,b,P,B,Q){this.parentContexts=d,this.location=b,this.resolver=P,this.changeDetector=Q,this.activated=null,this._activatedRoute=null,this.activateEvents=new _.vpe,this.deactivateEvents=new _.vpe,this.attachEvents=new _.vpe,this.detachEvents=new _.vpe,this.name=B||se,d.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const d=this.parentContexts.getContext(this.name);d&&d.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,b){this.activated=d,this._activatedRoute=b,this.location.insert(d.hostView),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,b){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=d;const Q=(b=b||this.resolver).resolveComponentFactory(d._futureSnapshot.routeConfig.component),_e=this.parentContexts.getOrCreateContext(this.name).children,nt=new D(d,_e,this.location.injector);this.activated=this.location.createComponent(Q,this.location.length,nt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return y.\u0275fac=function(d){return new(d||y)(_.Y36(gi),_.Y36(_.s_b),_.Y36(_._Vd),_.$8M("name"),_.Y36(_.sBO))},y.\u0275dir=_.lG2({type:y,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),y})();class D{constructor(p,d,b){this.route=p,this.childContexts=d,this.parent=b}get(p,d){return p===ki?this.route:p===gi?this.childContexts:this.parent.get(p,d)}}let w=(()=>{class y{}return y.\u0275fac=function(d){return new(d||y)},y.\u0275cmp=_.Xpm({type:y,selectors:[["ng-component"]],decls:1,vars:0,template:function(d,b){1&d&&_._UZ(0,"router-outlet")},directives:[S],encapsulation:2}),y})();function N(y,p=""){for(let d=0;d<y.length;d++){const b=y[d];Ke(b,nn(p,b))}}function Ke(y,p){y.children&&N(y.children,p)}function nn(y,p){return p?y||p.path?y&&!p.path?`${y}/`:!y&&p.path?p.path:`${y}/${p.path}`:"":y}function Er(y){const p=y.children&&y.children.map(Er),d=p?{...y,children:p}:{...y};return!d.component&&(p||d.loadChildren)&&d.outlet&&d.outlet!==se&&(d.component=w),d}function Vn(y){return y.outlet||se}function mi(y,p){const d=y.filter(b=>Vn(b)===p);return d.push(...y.filter(b=>Vn(b)!==p)),d}const Yi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Oi(y,p,d){if(""===p.path)return"full"===p.pathMatch&&(y.hasChildren()||d.length>0)?{...Yi}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const P=(p.matcher||wt)(d,y,p);if(!P)return{...Yi};const B={};He(P.posParams,(_e,nt)=>{B[nt]=_e.path});const Q=P.consumed.length>0?{...B,...P.consumed[P.consumed.length-1].parameters}:B;return{matched:!0,consumedSegments:P.consumed,remainingSegments:d.slice(P.consumed.length),parameters:Q,positionalParamSegments:P.posParams??{}}}function bs(y,p,d,b,P="corrected"){if(d.length>0&&function ti(y,p,d){return d.some(b=>Es(y,p,b)&&Vn(b)!==se)}(y,d,b)){const Q=new dn(p,function zn(y,p,d,b){const P={};P[se]=b,b._sourceSegment=y,b._segmentIndexShift=p.length;for(const B of d)if(""===B.path&&Vn(B)!==se){const Q=new dn([],{});Q._sourceSegment=y,Q._segmentIndexShift=p.length,P[Vn(B)]=Q}return P}(y,p,b,new dn(d,y.children)));return Q._sourceSegment=y,Q._segmentIndexShift=p.length,{segmentGroup:Q,slicedSegments:[]}}if(0===d.length&&function Vr(y,p,d){return d.some(b=>Es(y,p,b))}(y,d,b)){const Q=new dn(y.segments,function ut(y,p,d,b,P,B){const Q={};for(const _e of b)if(Es(y,d,_e)&&!P[Vn(_e)]){const nt=new dn([],{});nt._sourceSegment=y,nt._segmentIndexShift="legacy"===B?y.segments.length:p.length,Q[Vn(_e)]=nt}return{...P,...Q}}(y,p,d,b,y.children,P));return Q._sourceSegment=y,Q._segmentIndexShift=p.length,{segmentGroup:Q,slicedSegments:d}}const B=new dn(y.segments,y.children);return B._sourceSegment=y,B._segmentIndexShift=p.length,{segmentGroup:B,slicedSegments:d}}function Es(y,p,d){return(!(y.hasChildren()||p.length>0)||"full"!==d.pathMatch)&&""===d.path}function Ds(y,p,d,b){return!!(Vn(y)===b||b!==se&&Es(p,d,y))&&("**"===y.path||Oi(p,y,d).matched)}function Vi(y,p,d){return 0===p.length&&!y.children[d]}class lo{constructor(p){this.segmentGroup=p||null}}class fa{constructor(p){this.urlTree=p}}function ha(y){return Se(new lo(y))}function hl(y){return Se(new fa(y))}class os{constructor(p,d,b,P,B){this.configLoader=d,this.urlSerializer=b,this.urlTree=P,this.config=B,this.allowRedirects=!0,this.ngModule=p.get(_.h0i)}apply(){const p=bs(this.urlTree.root,[],[],this.config).segmentGroup,d=new dn(p.segments,p.children);return this.expandSegmentGroup(this.ngModule,this.config,d,se).pipe((0,ze.U)(B=>this.createUrlTree(as(B),this.urlTree.queryParams,this.urlTree.fragment))).pipe(_r(B=>{if(B instanceof fa)return this.allowRedirects=!1,this.match(B.urlTree);throw B instanceof lo?this.noMatchError(B):B}))}match(p){return this.expandSegmentGroup(this.ngModule,this.config,p.root,se).pipe((0,ze.U)(P=>this.createUrlTree(as(P),p.queryParams,p.fragment))).pipe(_r(P=>{throw P instanceof lo?this.noMatchError(P):P}))}noMatchError(p){return new Error(`Cannot match any routes. URL Segment: '${p.segmentGroup}'`)}createUrlTree(p,d,b){const P=p.segments.length>0?new dn([],{[se]:p}):p;return new ir(P,d,b)}expandSegmentGroup(p,d,b,P){return 0===b.segments.length&&b.hasChildren()?this.expandChildren(p,d,b).pipe((0,ze.U)(B=>new dn([],B))):this.expandSegment(p,b,d,b.segments,P,!0)}expandChildren(p,d,b){const P=[];for(const B of Object.keys(b.children))"primary"===B?P.unshift(B):P.push(B);return(0,Ct.D)(P).pipe((0,st.b)(B=>{const Q=b.children[B],_e=mi(d,B);return this.expandSegmentGroup(p,_e,Q,B).pipe((0,ze.U)(nt=>({segment:nt,outlet:B})))}),En((B,Q)=>(B[Q.outlet]=Q.segment,B),{}),function G(y,p){const d=arguments.length>=2;return b=>b.pipe(y?(0,pr.h)((P,B)=>y(P,B,b)):ce.y,Fr(1),d?Rr(p):ur(()=>new We))}())}expandSegment(p,d,b,P,B,Q){return(0,Ct.D)(b).pipe((0,st.b)(_e=>this.expandSegmentAgainstRoute(p,d,b,_e,P,B,Q).pipe(_r(Yt=>{if(Yt instanceof lo)return(0,$e.of)(null);throw Yt}))),z(_e=>!!_e),_r((_e,nt)=>{if(_e instanceof We||"EmptyError"===_e.name)return Vi(d,P,B)?(0,$e.of)(new dn([],{})):ha(d);throw _e}))}expandSegmentAgainstRoute(p,d,b,P,B,Q,_e){return Ds(P,d,B,Q)?void 0===P.redirectTo?this.matchSegmentAgainstRoute(p,d,P,B,Q):_e&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(p,d,b,P,B,Q):ha(d):ha(d)}expandSegmentAgainstRouteUsingRedirect(p,d,b,P,B,Q){return"**"===P.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(p,b,P,Q):this.expandRegularSegmentAgainstRouteUsingRedirect(p,d,b,P,B,Q)}expandWildCardWithParamsAgainstRouteUsingRedirect(p,d,b,P){const B=this.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?hl(B):this.lineralizeSegments(b,B).pipe((0,vt.zg)(Q=>{const _e=new dn(Q,{});return this.expandSegment(p,_e,d,Q,P,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(p,d,b,P,B,Q){const{matched:_e,consumedSegments:nt,remainingSegments:Yt,positionalParamSegments:dr}=Oi(d,P,B);if(!_e)return ha(d);const pn=this.applyRedirectCommands(nt,P.redirectTo,dr);return P.redirectTo.startsWith("/")?hl(pn):this.lineralizeSegments(P,pn).pipe((0,vt.zg)(Jn=>this.expandSegment(p,d,b,Jn.concat(Yt),Q,!1)))}matchSegmentAgainstRoute(p,d,b,P,B){if("**"===b.path)return b.loadChildren?(b._loadedConfig?(0,$e.of)(b._loadedConfig):this.configLoader.load(p.injector,b)).pipe((0,ze.U)(pn=>(b._loadedConfig=pn,new dn(P,{})))):(0,$e.of)(new dn(P,{}));const{matched:Q,consumedSegments:_e,remainingSegments:nt}=Oi(d,b,P);return Q?this.getChildConfig(p,b,P).pipe((0,vt.zg)(dr=>{const pn=dr.module,Jn=dr.routes,{segmentGroup:xr,slicedSegments:Zs}=bs(d,_e,nt,Jn),Ka=new dn(xr.segments,xr.children);if(0===Zs.length&&Ka.hasChildren())return this.expandChildren(pn,Jn,Ka).pipe((0,ze.U)(Ec=>new dn(_e,Ec)));if(0===Jn.length&&0===Zs.length)return(0,$e.of)(new dn(_e,{}));const $r=Vn(b)===B;return this.expandSegment(pn,Ka,Jn,Zs,$r?se:B,!0).pipe((0,ze.U)(ai=>new dn(_e.concat(ai.segments),ai.children)))})):ha(d)}getChildConfig(p,d,b){return d.children?(0,$e.of)(new St(d.children,p)):d.loadChildren?void 0!==d._loadedConfig?(0,$e.of)(d._loadedConfig):this.runCanLoadGuards(p.injector,d,b).pipe((0,vt.zg)(P=>P?this.configLoader.load(p.injector,d).pipe((0,ze.U)(B=>(d._loadedConfig=B,B))):function ss(y){return Se(Et(`Cannot load children because the guard of the route "path: '${y.path}'" returned false`))}(d))):(0,$e.of)(new St([],p))}runCanLoadGuards(p,d,b){const P=d.canLoad;if(!P||0===P.length)return(0,$e.of)(!0);const B=P.map(Q=>{const _e=p.get(Q);let nt;if(function Bt(y){return y&&Rn(y.canLoad)}(_e))nt=_e.canLoad(d,b);else{if(!Rn(_e))throw new Error("Invalid CanLoad guard");nt=_e(d,b)}return Ae(nt)});return(0,$e.of)(B).pipe(pi(),De(Q=>{if(!Ln(Q))return;const _e=Et(`Redirecting to "${this.urlSerializer.serialize(Q)}"`);throw _e.url=Q,_e}),(0,ze.U)(Q=>!0===Q))}lineralizeSegments(p,d){let b=[],P=d.root;for(;;){if(b=b.concat(P.segments),0===P.numberOfChildren)return(0,$e.of)(b);if(P.numberOfChildren>1||!P.children[se])return Se(new Error(`Only absolute redirects can have named outlets. redirectTo: '${p.redirectTo}'`));P=P.children[se]}}applyRedirectCommands(p,d,b){return this.applyRedirectCreatreUrlTree(d,this.urlSerializer.parse(d),p,b)}applyRedirectCreatreUrlTree(p,d,b,P){const B=this.createSegmentGroup(p,d.root,b,P);return new ir(B,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(p,d){const b={};return He(p,(P,B)=>{if("string"==typeof P&&P.startsWith(":")){const _e=P.substring(1);b[B]=d[_e]}else b[B]=P}),b}createSegmentGroup(p,d,b,P){const B=this.createSegments(p,d.segments,b,P);let Q={};return He(d.children,(_e,nt)=>{Q[nt]=this.createSegmentGroup(p,_e,b,P)}),new dn(B,Q)}createSegments(p,d,b,P){return d.map(B=>B.path.startsWith(":")?this.findPosParam(p,B,P):this.findOrReturn(B,b))}findPosParam(p,d,b){const P=b[d.path.substring(1)];if(!P)throw new Error(`Cannot redirect to '${p}'. Cannot find '${d.path}'.`);return P}findOrReturn(p,d){let b=0;for(const P of d){if(P.path===p.path)return d.splice(b),P;b++}return p}}function as(y){const p={};for(const b of Object.keys(y.children)){const B=as(y.children[b]);(B.segments.length>0||B.hasChildren())&&(p[b]=B)}return function pa(y){if(1===y.numberOfChildren&&y.children[se]){const p=y.children[se];return new dn(y.segments.concat(p.segments),p.children)}return y}(new dn(y.segments,p))}class Wo{constructor(p){this.path=p,this.route=this.path[this.path.length-1]}}class qo{constructor(p,d){this.component=p,this.route=d}}function tu(y,p,d){const b=y._root;return js(b,p?p._root:null,d,[b.value])}function Zi(y,p,d){const b=function bi(y){if(!y)return null;for(let p=y.parent;p;p=p.parent){const d=p.routeConfig;if(d&&d._loadedConfig)return d._loadedConfig}return null}(p);return(b?b.module.injector:d).get(y)}function js(y,p,d,b,P={canDeactivateChecks:[],canActivateChecks:[]}){const B=si(p);return y.children.forEach(Q=>{(function ga(y,p,d,b,P={canDeactivateChecks:[],canActivateChecks:[]}){const B=y.value,Q=p?p.value:null,_e=d?d.getContext(y.value.outlet):null;if(Q&&B.routeConfig===Q.routeConfig){const nt=function ru(y,p,d){if("function"==typeof d)return d(y,p);switch(d){case"pathParamsChange":return!jn(y.url,p.url);case"pathParamsOrQueryParamsChange":return!jn(y.url,p.url)||!Oe(y.queryParams,p.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zn(y,p)||!Oe(y.queryParams,p.queryParams);default:return!Zn(y,p)}}(Q,B,B.routeConfig.runGuardsAndResolvers);nt?P.canActivateChecks.push(new Wo(b)):(B.data=Q.data,B._resolvedData=Q._resolvedData),js(y,p,B.component?_e?_e.children:null:d,b,P),nt&&_e&&_e.outlet&&_e.outlet.isActivated&&P.canDeactivateChecks.push(new qo(_e.outlet.component,Q))}else Q&&To(p,_e,P),P.canActivateChecks.push(new Wo(b)),js(y,null,B.component?_e?_e.children:null:d,b,P)})(Q,B[Q.value.outlet],d,b.concat([Q.value]),P),delete B[Q.value.outlet]}),He(B,(Q,_e)=>To(Q,d.getContext(_e),P)),P}function To(y,p,d){const b=si(y),P=y.value;He(b,(B,Q)=>{To(B,P.component?p?p.children.getContext(Q):null:p,d)}),d.canDeactivateChecks.push(new qo(P.component&&p&&p.outlet&&p.outlet.isActivated?p.outlet.component:null,P))}class On{}function Dr(y){return new ne.y(p=>p.error(y))}class Ha{constructor(p,d,b,P,B,Q){this.rootComponentType=p,this.config=d,this.urlTree=b,this.url=P,this.paramsInheritanceStrategy=B,this.relativeLinkResolution=Q}recognize(){const p=bs(this.urlTree.root,[],[],this.config.filter(Q=>void 0===Q.redirectTo),this.relativeLinkResolution).segmentGroup,d=this.processSegmentGroup(this.config,p,se);if(null===d)return null;const b=new ms([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},se,this.rootComponentType,null,this.urlTree.root,-1,{}),P=new Fi(b,d),B=new Go(this.url,P);return this.inheritParamsAndData(B._root),B}inheritParamsAndData(p){const d=p.value,b=$o(d,this.paramsInheritanceStrategy);d.params=Object.freeze(b.params),d.data=Object.freeze(b.data),p.children.forEach(P=>this.inheritParamsAndData(P))}processSegmentGroup(p,d,b){return 0===d.segments.length&&d.hasChildren()?this.processChildren(p,d):this.processSegment(p,d,d.segments,b)}processChildren(p,d){const b=[];for(const B of Object.keys(d.children)){const Q=d.children[B],_e=mi(p,B),nt=this.processSegmentGroup(_e,Q,B);if(null===nt)return null;b.push(...nt)}const P=ja(b);return function iu(y){y.sort((p,d)=>p.value.outlet===se?-1:d.value.outlet===se?1:p.value.outlet.localeCompare(d.value.outlet))}(P),P}processSegment(p,d,b,P){for(const B of p){const Q=this.processSegmentAgainstRoute(B,d,b,P);if(null!==Q)return Q}return Vi(d,b,P)?[]:null}processSegmentAgainstRoute(p,d,b,P){if(p.redirectTo||!Ds(p,d,b,P))return null;let B,Q=[],_e=[];if("**"===p.path){const xr=b.length>0?Mn(b).parameters:{};B=new ms(b,xr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Qn(p),Vn(p),p.component,p,$s(d),Gs(d)+b.length,_a(p))}else{const xr=Oi(d,p,b);if(!xr.matched)return null;Q=xr.consumedSegments,_e=xr.remainingSegments,B=new ms(Q,xr.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Qn(p),Vn(p),p.component,p,$s(d),Gs(d)+Q.length,_a(p))}const nt=function Bi(y){return y.children?y.children:y.loadChildren?y._loadedConfig.routes:[]}(p),{segmentGroup:Yt,slicedSegments:dr}=bs(d,Q,_e,nt.filter(xr=>void 0===xr.redirectTo),this.relativeLinkResolution);if(0===dr.length&&Yt.hasChildren()){const xr=this.processChildren(nt,Yt);return null===xr?null:[new Fi(B,xr)]}if(0===nt.length&&0===dr.length)return[new Fi(B,[])];const pn=Vn(p)===P,Jn=this.processSegment(nt,Yt,dr,pn?se:P);return null===Jn?null:[new Fi(B,Jn)]}}function ma(y){const p=y.value.routeConfig;return p&&""===p.path&&void 0===p.redirectTo}function ja(y){const p=[],d=new Set;for(const b of y){if(!ma(b)){p.push(b);continue}const P=p.find(B=>b.value.routeConfig===B.value.routeConfig);void 0!==P?(P.children.push(...b.children),d.add(P)):p.push(b)}for(const b of d){const P=ja(b.children);p.push(new Fi(b.value,P))}return p.filter(b=>!d.has(b))}function $s(y){let p=y;for(;p._sourceSegment;)p=p._sourceSegment;return p}function Gs(y){let p=y,d=p._segmentIndexShift?p._segmentIndexShift:0;for(;p._sourceSegment;)p=p._sourceSegment,d+=p._segmentIndexShift?p._segmentIndexShift:0;return d-1}function Qn(y){return y.data||{}}function _a(y){return y.resolve||{}}function su(y){return[...Object.keys(y),...Object.getOwnPropertySymbols(y)]}function Ei(y){return Be(p=>{const d=y(p);return d?(0,Ct.D)(d).pipe((0,ze.U)(()=>p)):(0,$e.of)(p)})}class Ca extends class gl{shouldDetach(p){return!1}store(p,d){}shouldAttach(p){return!1}retrieve(p){return null}shouldReuseRoute(p,d){return p.routeConfig===d.routeConfig}}{}const ml=new _.OlP("ROUTES");class _l{constructor(p,d,b,P){this.injector=p,this.compiler=d,this.onLoadStartListener=b,this.onLoadEndListener=P}load(p,d){if(d._loader$)return d._loader$;this.onLoadStartListener&&this.onLoadStartListener(d);const P=this.loadModuleFactory(d.loadChildren).pipe((0,ze.U)(B=>{this.onLoadEndListener&&this.onLoadEndListener(d);const Q=B.create(p);return new St(qt(Q.injector.get(ml,void 0,_.XFs.Self|_.XFs.Optional)).map(Er),Q)}),_r(B=>{throw d._loader$=void 0,B}));return d._loader$=new lt.c(P,()=>new re.xQ).pipe((0,yt.x)()),d._loader$}loadModuleFactory(p){return Ae(p()).pipe((0,vt.zg)(d=>d instanceof _.YKP?(0,$e.of)(d):(0,Ct.D)(this.compiler.compileModuleAsync(d))))}}class za{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,d){return p}}function co(y){throw y}function ls(y,p,d){return p.parse("/")}function Po(y,p){return(0,$e.of)(null)}const yl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Oo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Di=(()=>{class y{constructor(d,b,P,B,Q,_e,nt){this.rootComponentType=d,this.urlSerializer=b,this.rootContexts=P,this.location=B,this.config=nt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new re.xQ,this.errorHandler=co,this.malformedUriErrorHandler=ls,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Po,afterPreactivation:Po},this.urlHandlingStrategy=new za,this.routeReuseStrategy=new Ca,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Q.get(_.h0i),this.console=Q.get(_.c2e);const pn=Q.get(_.R0b);this.isNgZoneEnabled=pn instanceof _.R0b&&_.R0b.isInAngularZone(),this.resetConfig(nt),this.currentUrlTree=function pt(){return new ir(new dn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new _l(Q,_e,Jn=>this.triggerEvent(new Ft(Jn)),Jn=>this.triggerEvent(new yn(Jn))),this.routerState=gs(this.currentUrlTree,this.rootComponentType),this.transitions=new Y({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(d){const b=this.events;return d.pipe((0,pr.h)(P=>0!==P.id),(0,ze.U)(P=>({...P,extractedUrl:this.urlHandlingStrategy.extract(P.rawUrl)})),Be(P=>{let B=!1,Q=!1;return(0,$e.of)(P).pipe(De(_e=>{this.currentNavigation={id:_e.id,initialUrl:_e.currentRawUrl,extractedUrl:_e.extractedUrl,trigger:_e.source,extras:_e.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Be(_e=>{const nt=this.browserUrlTree.toString(),Yt=!this.navigated||_e.extractedUrl.toString()!==nt||nt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Yt)&&this.urlHandlingStrategy.shouldProcessUrl(_e.rawUrl))return fo(_e.source)&&(this.browserUrlTree=_e.extractedUrl),(0,$e.of)(_e).pipe(Be(pn=>{const Jn=this.transitions.getValue();return b.next(new bt(pn.id,this.serializeUrl(pn.extractedUrl),pn.source,pn.restoredState)),Jn!==this.transitions.getValue()?gn:Promise.resolve(pn)}),function oi(y,p,d,b){return Be(P=>function Kr(y,p,d,b,P){return new os(y,p,d,b,P).apply()}(y,p,d,P.extractedUrl,b).pipe((0,ze.U)(B=>({...P,urlAfterRedirects:B}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),De(pn=>{this.currentNavigation={...this.currentNavigation,finalUrl:pn.urlAfterRedirects}}),function $a(y,p,d,b,P){return(0,vt.zg)(B=>function Cn(y,p,d,b,P="emptyOnly",B="legacy"){try{const Q=new Ha(y,p,d,b,P,B).recognize();return null===Q?Dr(new On):(0,$e.of)(Q)}catch(Q){return Dr(Q)}}(y,p,B.urlAfterRedirects,d(B.urlAfterRedirects),b,P).pipe((0,ze.U)(Q=>({...B,targetSnapshot:Q}))))}(this.rootComponentType,this.config,pn=>this.serializeUrl(pn),this.paramsInheritanceStrategy,this.relativeLinkResolution),De(pn=>{if("eager"===this.urlUpdateStrategy){if(!pn.extras.skipLocationChange){const xr=this.urlHandlingStrategy.merge(pn.urlAfterRedirects,pn.rawUrl);this.setBrowserUrl(xr,pn)}this.browserUrlTree=pn.urlAfterRedirects}const Jn=new gt(pn.id,this.serializeUrl(pn.extractedUrl),this.serializeUrl(pn.urlAfterRedirects),pn.targetSnapshot);b.next(Jn)}));if(Yt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Jn,extractedUrl:xr,source:Zs,restoredState:Ka,extras:$r}=_e,Qa=new bt(Jn,this.serializeUrl(xr),Zs,Ka);b.next(Qa);const ai=gs(xr,this.rootComponentType).snapshot;return(0,$e.of)({..._e,targetSnapshot:ai,urlAfterRedirects:xr,extras:{...$r,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=_e.rawUrl,_e.resolve(null),gn}),Ei(_e=>{const{targetSnapshot:nt,id:Yt,extractedUrl:dr,rawUrl:pn,extras:{skipLocationChange:Jn,replaceUrl:xr}}=_e;return this.hooks.beforePreactivation(nt,{navigationId:Yt,appliedUrlTree:dr,rawUrlTree:pn,skipLocationChange:!!Jn,replaceUrl:!!xr})}),De(_e=>{const nt=new Ht(_e.id,this.serializeUrl(_e.extractedUrl),this.serializeUrl(_e.urlAfterRedirects),_e.targetSnapshot);this.triggerEvent(nt)}),(0,ze.U)(_e=>({..._e,guards:tu(_e.targetSnapshot,_e.currentSnapshot,this.rootContexts)})),function Ua(y,p){return(0,vt.zg)(d=>{const{targetSnapshot:b,currentSnapshot:P,guards:{canActivateChecks:B,canDeactivateChecks:Q}}=d;return 0===Q.length&&0===B.length?(0,$e.of)({...d,guardsResult:!0}):function pl(y,p,d,b){return(0,Ct.D)(y).pipe((0,vt.zg)(P=>function An(y,p,d,b,P){const B=p&&p.routeConfig?p.routeConfig.canDeactivate:null;if(!B||0===B.length)return(0,$e.of)(!0);const Q=B.map(_e=>{const nt=Zi(_e,p,P);let Yt;if(function yr(y){return y&&Rn(y.canDeactivate)}(nt))Yt=Ae(nt.canDeactivate(y,p,d,b));else{if(!Rn(nt))throw new Error("Invalid CanDeactivate guard");Yt=Ae(nt(y,p,d,b))}return Yt.pipe(z())});return(0,$e.of)(Q).pipe(pi())}(P.component,P.route,d,p,b)),z(P=>!0!==P,!0))}(Q,b,P,y).pipe((0,vt.zg)(_e=>_e&&function or(y){return"boolean"==typeof y}(_e)?function Yo(y,p,d,b){return(0,Ct.D)(p).pipe((0,st.b)(P=>_t(function Je(y,p){return null!==y&&p&&p(new Ot(y)),(0,$e.of)(!0)}(P.route.parent,b),function Me(y,p){return null!==y&&p&&p(new Zt(y)),(0,$e.of)(!0)}(P.route,b),function $t(y,p,d){const b=p[p.length-1],B=p.slice(0,p.length-1).reverse().map(Q=>function nu(y){const p=y.routeConfig?y.routeConfig.canActivateChild:null;return p&&0!==p.length?{node:y,guards:p}:null}(Q)).filter(Q=>null!==Q).map(Q=>Ee(()=>{const _e=Q.guards.map(nt=>{const Yt=Zi(nt,Q.node,d);let dr;if(function er(y){return y&&Rn(y.canActivateChild)}(Yt))dr=Ae(Yt.canActivateChild(b,y));else{if(!Rn(Yt))throw new Error("Invalid CanActivateChild guard");dr=Ae(Yt(b,y))}return dr.pipe(z())});return(0,$e.of)(_e).pipe(pi())}));return(0,$e.of)(B).pipe(pi())}(y,P.path,d),function qe(y,p,d){const b=p.routeConfig?p.routeConfig.canActivate:null;if(!b||0===b.length)return(0,$e.of)(!0);const P=b.map(B=>Ee(()=>{const Q=Zi(B,p,d);let _e;if(function $n(y){return y&&Rn(y.canActivate)}(Q))_e=Ae(Q.canActivate(p,y));else{if(!Rn(Q))throw new Error("Invalid CanActivate guard");_e=Ae(Q(p,y))}return _e.pipe(z())}));return(0,$e.of)(P).pipe(pi())}(y,P.route,d))),z(P=>!0!==P,!0))}(b,B,y,p):(0,$e.of)(_e)),(0,ze.U)(_e=>({...d,guardsResult:_e})))})}(this.ngModule.injector,_e=>this.triggerEvent(_e)),De(_e=>{if(Ln(_e.guardsResult)){const Yt=Et(`Redirecting to "${this.serializeUrl(_e.guardsResult)}"`);throw Yt.url=_e.guardsResult,Yt}const nt=new mn(_e.id,this.serializeUrl(_e.extractedUrl),this.serializeUrl(_e.urlAfterRedirects),_e.targetSnapshot,!!_e.guardsResult);this.triggerEvent(nt)}),(0,pr.h)(_e=>!!_e.guardsResult||(this.restoreHistory(_e),this.cancelNavigationTransition(_e,""),!1)),Ei(_e=>{if(_e.guards.canActivateChecks.length)return(0,$e.of)(_e).pipe(De(nt=>{const Yt=new Wn(nt.id,this.serializeUrl(nt.extractedUrl),this.serializeUrl(nt.urlAfterRedirects),nt.targetSnapshot);this.triggerEvent(Yt)}),Be(nt=>{let Yt=!1;return(0,$e.of)(nt).pipe(function Ga(y,p){return(0,vt.zg)(d=>{const{targetSnapshot:b,guards:{canActivateChecks:P}}=d;if(!P.length)return(0,$e.of)(d);let B=0;return(0,Ct.D)(P).pipe((0,st.b)(Q=>function zs(y,p,d,b){return function ya(y,p,d,b){const P=su(y);if(0===P.length)return(0,$e.of)({});const B={};return(0,Ct.D)(P).pipe((0,vt.zg)(Q=>function va(y,p,d,b){const P=Zi(y,p,b);return Ae(P.resolve?P.resolve(p,d):P(p,d))}(y[Q],p,d,b).pipe(De(_e=>{B[Q]=_e}))),Fr(1),(0,vt.zg)(()=>su(B).length===P.length?(0,$e.of)(B):gn))}(y._resolve,y,p,b).pipe((0,ze.U)(B=>(y._resolvedData=B,y.data={...y.data,...$o(y,d).resolve},null)))}(Q.route,b,y,p)),De(()=>B++),Fr(1),(0,vt.zg)(Q=>B===P.length?(0,$e.of)(d):gn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),De({next:()=>Yt=!0,complete:()=>{Yt||(this.restoreHistory(nt),this.cancelNavigationTransition(nt,"At least one route resolver didn't emit any value."))}}))}),De(nt=>{const Yt=new xn(nt.id,this.serializeUrl(nt.extractedUrl),this.serializeUrl(nt.urlAfterRedirects),nt.targetSnapshot);this.triggerEvent(Yt)}))}),Ei(_e=>{const{targetSnapshot:nt,id:Yt,extractedUrl:dr,rawUrl:pn,extras:{skipLocationChange:Jn,replaceUrl:xr}}=_e;return this.hooks.afterPreactivation(nt,{navigationId:Yt,appliedUrlTree:dr,rawUrlTree:pn,skipLocationChange:!!Jn,replaceUrl:!!xr})}),(0,ze.U)(_e=>{const nt=function Kn(y,p,d){const b=wi(y,p._root,d?d._root:void 0);return new Vs(b,p)}(this.routeReuseStrategy,_e.targetSnapshot,_e.currentRouterState);return{..._e,targetRouterState:nt}}),De(_e=>{this.currentUrlTree=_e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(_e.urlAfterRedirects,_e.rawUrl),this.routerState=_e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(_e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,_e),this.browserUrlTree=_e.urlAfterRedirects)}),((y,p,d)=>(0,ze.U)(b=>(new Ge(p,b.targetRouterState,b.currentRouterState,d).activate(y),b)))(this.rootContexts,this.routeReuseStrategy,_e=>this.triggerEvent(_e)),De({next(){B=!0},complete(){B=!0}}),(0,Ut.x)(()=>{B||Q||this.cancelNavigationTransition(P,`Navigation ID ${P.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===P.id&&(this.currentNavigation=null)}),_r(_e=>{if(Q=!0,function It(y){return y&&y[Qe]}(_e)){const nt=Ln(_e.url);nt||(this.navigated=!0,this.restoreHistory(P,!0));const Yt=new Wt(P.id,this.serializeUrl(P.extractedUrl),_e.message);b.next(Yt),nt?setTimeout(()=>{const dr=this.urlHandlingStrategy.merge(_e.url,this.rawUrlTree),pn={skipLocationChange:P.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||fo(P.source)};this.scheduleNavigation(dr,"imperative",null,pn,{resolve:P.resolve,reject:P.reject,promise:P.promise})},0):P.resolve(!1)}else{this.restoreHistory(P,!0);const nt=new un(P.id,this.serializeUrl(P.extractedUrl),_e);b.next(nt);try{P.resolve(this.errorHandler(_e))}catch(Yt){P.reject(Yt)}}return gn}))}))}resetRootComponentType(d){this.rootComponentType=d,this.routerState.root.component=this.rootComponentType}setTransition(d){this.transitions.next({...this.transitions.value,...d})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(d=>{const b="popstate"===d.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{const P={replaceUrl:!0},B=d.state?.navigationId?d.state:null;if(B){const _e={...B};delete _e.navigationId,delete _e.\u0275routerPageId,0!==Object.keys(_e).length&&(P.state=_e)}const Q=this.parseUrl(d.url);this.scheduleNavigation(Q,b,B,P)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(d){this.events.next(d)}resetConfig(d){N(d),this.config=d.map(Er),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(d,b={}){const{relativeTo:P,queryParams:B,fragment:Q,queryParamsHandling:_e,preserveFragment:nt}=b,Yt=P||this.routerState.root,dr=nt?this.currentUrlTree.fragment:Q;let pn=null;switch(_e){case"merge":pn={...this.currentUrlTree.queryParams,...B};break;case"preserve":pn=this.currentUrlTree.queryParams;break;default:pn=B||null}return null!==pn&&(pn=this.removeEmptyProps(pn)),function zo(y,p,d,b,P){if(0===d.length)return vs(p.root,p.root,p.root,b,P);const B=function Cs(y){if("string"==typeof y[0]&&1===y.length&&"/"===y[0])return new Lr(!0,0,y);let p=0,d=!1;const b=y.reduce((P,B,Q)=>{if("object"==typeof B&&null!=B){if(B.outlets){const _e={};return He(B.outlets,(nt,Yt)=>{_e[Yt]="string"==typeof nt?nt.split("/"):nt}),[...P,{outlets:_e}]}if(B.segmentPath)return[...P,B.segmentPath]}return"string"!=typeof B?[...P,B]:0===Q?(B.split("/").forEach((_e,nt)=>{0==nt&&"."===_e||(0==nt&&""===_e?d=!0:".."===_e?p++:""!=_e&&P.push(_e))}),P):[...P,B]},[]);return new Lr(d,p,b)}(d);if(B.toRoot())return vs(p.root,p.root,new dn([],{}),b,P);const Q=function Zr(y,p,d){if(y.isAbsolute)return new Yr(p.root,!0,0);if(-1===d.snapshot._lastPathIndex){const B=d.snapshot._urlSegment;return new Yr(B,B===p.root,0)}const b=ys(y.commands[0])?0:1;return function rs(y,p,d){let b=y,P=p,B=d;for(;B>P;){if(B-=P,b=b.parent,!b)throw new Error("Invalid number of '../'");P=b.segments.length}return new Yr(b,!1,P-B)}(d.snapshot._urlSegment,d.snapshot._lastPathIndex+b,y.numberOfDoubleDots)}(B,p,y),_e=Q.processChildren?Hs(Q.segmentGroup,Q.index,B.commands):is(Q.segmentGroup,Q.index,B.commands);return vs(p.root,Q.segmentGroup,_e,b,P)}(Yt,this.currentUrlTree,d,pn,dr??null)}navigateByUrl(d,b={skipLocationChange:!1}){const P=Ln(d)?d:this.parseUrl(d),B=this.urlHandlingStrategy.merge(P,this.rawUrlTree);return this.scheduleNavigation(B,"imperative",null,b)}navigate(d,b={skipLocationChange:!1}){return function Ms(y){for(let p=0;p<y.length;p++){const d=y[p];if(null==d)throw new Error(`The requested path contains ${d} segment at index ${p}`)}}(d),this.navigateByUrl(this.createUrlTree(d,b),b)}serializeUrl(d){return this.urlSerializer.serialize(d)}parseUrl(d){let b;try{b=this.urlSerializer.parse(d)}catch(P){b=this.malformedUriErrorHandler(P,this.urlSerializer,d)}return b}isActive(d,b){let P;if(P=!0===b?{...yl}:!1===b?{...Oo}:b,Ln(d))return At(this.currentUrlTree,d,P);const B=this.parseUrl(d);return At(this.currentUrlTree,B,P)}removeEmptyProps(d){return Object.keys(d).reduce((b,P)=>{const B=d[P];return null!=B&&(b[P]=B),b},{})}processNavigations(){this.navigations.subscribe(d=>{this.navigated=!0,this.lastSuccessfulId=d.id,this.currentPageId=d.targetPageId,this.events.next(new Rt(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,d.resolve(!0)},d=>{this.console.warn(`Unhandled Navigation Error: ${d}`)})}scheduleNavigation(d,b,P,B,Q){if(this.disposed)return Promise.resolve(!1);let _e,nt,Yt;Q?(_e=Q.resolve,nt=Q.reject,Yt=Q.promise):Yt=new Promise((Jn,xr)=>{_e=Jn,nt=xr});const dr=++this.navigationId;let pn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(P=this.location.getState()),pn=P&&P.\u0275routerPageId?P.\u0275routerPageId:B.replaceUrl||B.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):pn=0,this.setTransition({id:dr,targetPageId:pn,source:b,restoredState:P,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:d,extras:B,resolve:_e,reject:nt,promise:Yt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Yt.catch(Jn=>Promise.reject(Jn))}setBrowserUrl(d,b){const P=this.urlSerializer.serialize(d),B={...b.extras.state,...this.generateNgRouterState(b.id,b.targetPageId)};this.location.isCurrentPathEqualTo(P)||b.extras.replaceUrl?this.location.replaceState(P,"",B):this.location.go(P,"",B)}restoreHistory(d,b=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-d.targetPageId;"popstate"!==d.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===P?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===P&&(this.resetState(d),this.browserUrlTree=d.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(P)}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=d.currentRouterState,this.currentUrlTree=d.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(d,b){const P=new Wt(d.id,this.serializeUrl(d.extractedUrl),b);this.triggerEvent(P),d.resolve(!1)}generateNgRouterState(d,b){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:b}:{navigationId:d}}}return y.\u0275fac=function(d){_.$Z()},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac}),y})();function fo(y){return"imperative"!==y}let Ts=(()=>{class y{constructor(d,b,P,B,Q){this.router=d,this.route=b,this.tabIndexAttribute=P,this.renderer=B,this.el=Q,this.commands=null,this.onChanges=new re.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(d){if(null!=this.tabIndexAttribute)return;const b=this.renderer,P=this.el.nativeElement;null!==d?b.setAttribute(P,"tabindex",d):b.removeAttribute(P,"tabindex")}ngOnChanges(d){this.onChanges.next(this)}set routerLink(d){null!=d?(this.commands=Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const d={skipLocationChange:Ws(this.skipLocationChange),replaceUrl:Ws(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,d),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ws(this.preserveFragment)})}}return y.\u0275fac=function(d){return new(d||y)(_.Y36(Di),_.Y36(ki),_.$8M("tabindex"),_.Y36(_.Qsj),_.Y36(_.SBq))},y.\u0275dir=_.lG2({type:y,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(d,b){1&d&&_.NdJ("click",function(){return b.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[_.TTD]}),y})();function Ws(y){return""===y||!!y}class Ur{}class wa{preload(p,d){return(0,$e.of)(null)}}let Wa=(()=>{class y{constructor(d,b,P,B){this.router=d,this.injector=P,this.preloadingStrategy=B,this.loader=new _l(P,b,nt=>d.triggerEvent(new Ft(nt)),nt=>d.triggerEvent(new yn(nt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,pr.h)(d=>d instanceof Rt),(0,st.b)(()=>this.preload())).subscribe(()=>{})}preload(){const d=this.injector.get(_.h0i);return this.processRoutes(d,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,b){const P=[];for(const B of b)if(B.loadChildren&&!B.canLoad&&B._loadedConfig){const Q=B._loadedConfig;P.push(this.processRoutes(Q.module,Q.routes))}else B.loadChildren&&!B.canLoad?P.push(this.preloadConfig(d,B)):B.children&&P.push(this.processRoutes(d,B.children));return(0,Ct.D)(P).pipe((0,rt.J)(),(0,ze.U)(B=>{}))}preloadConfig(d,b){return this.preloadingStrategy.preload(b,()=>(b._loadedConfig?(0,$e.of)(b._loadedConfig):this.loader.load(d.injector,b)).pipe((0,vt.zg)(B=>(b._loadedConfig=B,this.processRoutes(B.module,B.routes)))))}}return y.\u0275fac=function(d){return new(d||y)(_.LFG(Di),_.LFG(_.Sil),_.LFG(_.zs3),_.LFG(Ur))},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac}),y})(),xo=(()=>{class y{constructor(d,b,P={}){this.router=d,this.viewportScroller=b,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(d=>{d instanceof bt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof Rt&&(this.lastId=d.id,this.scheduleScrollEvent(d,this.router.parseUrl(d.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(d=>{d instanceof Le&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,b){this.router.triggerEvent(new Le(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return y.\u0275fac=function(d){_.$Z()},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac}),y})();const Ss=new _.OlP("ROUTER_CONFIGURATION"),Ao=new _.OlP("ROUTER_FORROOT_GUARD"),Ya=[l.Ye,{provide:A,useClass:U},{provide:Di,useFactory:function ku(y,p,d,b,P,B,Q={},_e,nt){const Yt=new Di(null,y,p,d,b,P,qt(B));return _e&&(Yt.urlHandlingStrategy=_e),nt&&(Yt.routeReuseStrategy=nt),function au(y,p){y.errorHandler&&(p.errorHandler=y.errorHandler),y.malformedUriErrorHandler&&(p.malformedUriErrorHandler=y.malformedUriErrorHandler),y.onSameUrlNavigation&&(p.onSameUrlNavigation=y.onSameUrlNavigation),y.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=y.paramsInheritanceStrategy),y.relativeLinkResolution&&(p.relativeLinkResolution=y.relativeLinkResolution),y.urlUpdateStrategy&&(p.urlUpdateStrategy=y.urlUpdateStrategy),y.canceledNavigationResolution&&(p.canceledNavigationResolution=y.canceledNavigationResolution)}(Q,Yt),Q.enableTracing&&Yt.events.subscribe(dr=>{console.group?.(`Router Event: ${dr.constructor.name}`),console.log(dr.toString()),console.log(dr),console.groupEnd?.()}),Yt},deps:[A,gi,l.Ye,_.zs3,_.Sil,ml,Ss,[class uo{},new _.FiY],[class So{},new _.FiY]]},gi,{provide:ki,useFactory:function lu(y){return y.routerState.root},deps:[Di]},Wa,wa,class Hr{preload(p,d){return d().pipe(_r(()=>(0,$e.of)(null)))}},{provide:Ss,useValue:{enableTracing:!1}}];function Io(){return new _.PXZ("Router",Di)}let Ko=(()=>{class y{constructor(d,b){}static forRoot(d,b){return{ngModule:y,providers:[Ya,Jo(d),{provide:Ao,useFactory:qs,deps:[[Di,new _.FiY,new _.tp0]]},{provide:Ss,useValue:b||{}},{provide:l.S$,useFactory:Za,deps:[l.lw,[new _.tBr(l.mr),new _.FiY],Ss]},{provide:xo,useFactory:Qo,deps:[Di,l.EM,Ss]},{provide:Ur,useExisting:b&&b.preloadingStrategy?b.preloadingStrategy:wa},{provide:_.PXZ,multi:!0,useFactory:Io},[Ys,{provide:_.ip1,multi:!0,useFactory:Xo,deps:[Ys]},{provide:ea,useFactory:ho,deps:[Ys]},{provide:_.tb,multi:!0,useExisting:ea}]]}}static forChild(d){return{ngModule:y,providers:[Jo(d)]}}}return y.\u0275fac=function(d){return new(d||y)(_.LFG(Ao,8),_.LFG(Di,8))},y.\u0275mod=_.oAB({type:y}),y.\u0275inj=_.cJS({}),y})();function Qo(y,p,d){return d.scrollOffset&&p.setOffset(d.scrollOffset),new xo(y,p,d)}function Za(y,p,d={}){return d.useHash?new l.Do(y,p):new l.b0(y,p)}function qs(y){return"guarded"}function Jo(y){return[{provide:_.deG,multi:!0,useValue:y},{provide:ml,multi:!0,useValue:y}]}let Ys=(()=>{class y{constructor(d){this.injector=d,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new re.xQ}appInitializer(){return this.injector.get(l.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let b=null;const P=new Promise(_e=>b=_e),B=this.injector.get(Di),Q=this.injector.get(Ss);return"disabled"===Q.initialNavigation?(B.setUpLocationChangeListener(),b(!0)):"enabled"===Q.initialNavigation||"enabledBlocking"===Q.initialNavigation?(B.hooks.afterPreactivation=()=>this.initNavigation?(0,$e.of)(null):(this.initNavigation=!0,b(!0),this.resultOfPreactivationDone),B.initialNavigation()):b(!0),P})}bootstrapListener(d){const b=this.injector.get(Ss),P=this.injector.get(Wa),B=this.injector.get(xo),Q=this.injector.get(Di),_e=this.injector.get(_.z2F);d===_e.components[0]&&(("enabledNonBlocking"===b.initialNavigation||void 0===b.initialNavigation)&&Q.initialNavigation(),P.setUpPreloading(),B.init(),Q.resetRootComponentType(_e.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return y.\u0275fac=function(d){return new(d||y)(_.LFG(_.zs3))},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac}),y})();function Xo(y){return y.appInitializer.bind(y)}function ho(y){return y.bootstrapListener.bind(y)}const ea=new _.OlP("Router Initializer")},5419:(xe,K,x)=>{"use strict";x.d(K,{A4:()=>lt});var l=x(5062),_=x(529),re=x(4850);const ae={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 ve{constructor(ze){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ze.protocol;let Be=ze.port;Be||(function J(et){return/^https:$/i.test(et)}(this.protocol)?Be="443":function Y(et){return/^http:$/i.test(et)}(this.protocol)&&(Be="80")),this.domain=ze.hostname,this.port=parseInt(Be,10),this.path=ze.pathname;const zt=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?ae[2087]:/^cpanel\./.test(this.domain)?ae[2083]:/^webmail\./.test(this.domain)?ae[2095]:ae[Be.toString()]||ae[zt[2]]||"whostmgr",this.securityToken=zt[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Ir=this.path.split("/");this.theme=Ir[3]}this.themePath="";let rn=this.securityToken+"/";this.isUnprotected?rn="/":this.isCpanel?rn+="frontend/"+this.theme+"/":this.isWebmail?rn+="webmail/"+this.theme+"/":this.isOther&&(rn="/"),this.themePath=rn,this.rootUrl=this.protocol+"//"+this.domain+":"+this.port}get isOther(){return/other/i.test(this.applicationName)}get isUnprotected(){return!this.securityToken&&-1!==this.unprotectedPaths.indexOf(function Z(et){return et&&et.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(ze){return this.themePath+ze}buildFullPath(ze){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ze)}buildTokenPath(ze){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ze}}class ${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 q=x(4235),le=x.n(q),ue=x(1305),Ve=x.n(ue),ne=(()=>{return(et=ne||(ne={}))[et.Error=0]="Error",et[et.Warning=1]="Warning",et[et.Information=2]="Information",et[et.Unknown=3]="Unknown",ne;var et})();const Se={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class We{constructor(ze){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={},ze.chunk&&(this.isPaged=!0,this.record=parseInt(ze.chunk.start,10)||0,this.page=parseInt(ze.chunk.current,10)||0,this.pageSize=parseInt(ze.chunk.size,10)||0,this.totalPages=parseInt(ze.chunk.chunks,10)||0,this.totalRecords=parseInt(ze.chunk.records,10)||0),ze.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ze.filter.filtered,10)||0);const Be=new Set(["paginate","filter"]);Object.keys(ze).filter(zt=>!Be.has(zt)).forEach(zt=>{this.properties[zt]=ze[zt]})}}class $e extends class mt{constructor(ze,Be){if(this.status=0,this.messages=[],this.meta=function Fe(et){return JSON.parse(JSON.stringify(et))}(Se),this.options={keepUnprocessedResponse:!1},le()(ze)||Ve()(ze))throw new Error("The response was unexpectedly undefined or null");Be&&(this.options=Be),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ze)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ze){return this.messages.filter(Be=>Be.type===ze)}get errors(){return this._getMessages(ne.Error)}get warnings(){return this._getMessages(ne.Warning)}get infoMessages(){return this._getMessages(ne.Information)}_hasMessages(ze){return this.messages.filter(Be=>Be.type===ze).length>0}get hasErrors(){return this._hasMessages(ne.Error)}get hasWarnings(){return this._hasMessages(ne.Warning)}get hasInfoMessages(){return this._hasMessages(ne.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(ze){if(this.status=0,typeof ze.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ze.result,10)}_parseMessages(ze){if(!ze.result){const Be=[ze.reason];Be&&Be.length&&Be.forEach(zt=>{this.messages.push({type:ne.Error,message:zt})})}}_reduce_list_data(ze){if("object"==typeof ze&&!(ze instanceof Array)){const Be=Object.keys(ze);if(1===Be.length){const zt=ze[Be[0]];zt?zt instanceof Array&&(ze=zt):ze=[]}}return ze}constructor(ze,Be){if(super(ze,Be),!ze)throw new Error("Response object should be defined.");ze.metadata&&(this._parseStatus(ze.metadata),this._parseMessages(ze.metadata),this.meta=new We(ze.metadata)),this.data=this._reduce_list_data(ze.data)}}var rt=x(109),Ce=x(3022);let lt=(()=>{class et{constructor(Be){this.http=Be}get(Be){const zt=Be.generate({verb:rt.F.GET,encoder:new Ce.VN}),rn=this.packageUrl(zt);return this.http.get(rn,{headers:this.packageHeaders(zt)}).pipe((0,re.U)(this.packageResponseHandler(rn)))}post(Be){const zt=Be.generate(),rn=this.packageUrl(zt);return this.http.post(rn,zt.body,{headers:this.packageHeaders(zt)}).pipe((0,re.U)(this.packageResponseHandler(rn)))}packageHeaders(Be){const zt={};return Be.headers.forEach(rn=>{zt[rn.name]=rn.value}),new _.WM(zt)}packageUrl(Be){return new ve(new $).buildTokenPath(Be.url)}packageResponseHandler(Be){return zt=>{const rn=new $e(zt);return rn.meta.properties.url=Be,rn}}}return et.\u0275fac=function(Be){return new(Be||et)(l.LFG(_.eN))},et.\u0275prov=l.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"}),et})()},348:(xe,K,x)=>{"use strict";x.d(K,{m:()=>Y});var l=x(5062),_=x(269);const re=new l.OlP("window"),J=Z=>new _.g(Z.CLDR,Z.LEXICON);let Y=(()=>{class Z{}return Z.\u0275fac=function(ae){return new(ae||Z)},Z.\u0275mod=l.oAB({type:Z}),Z.\u0275inj=l.cJS({providers:[{provide:re,useValue:window},{provide:_.g,useFactory:J,deps:[re]}],imports:[[]]}),Z})()},8738:(xe,K,x)=>{"use strict";x.d(K,{xV:()=>Lu,zr:()=>Os,FP:()=>Ps,hF:()=>el,CQ:()=>bl,nM:()=>b,c9:()=>d,Oc:()=>us,df:()=>Ks,k6:()=>cu,RV:()=>ar,Qt:()=>Tl,u3:()=>$u,gS:()=>Mc,t8:()=>Uu,Gy:()=>Ja,Yg:()=>ta,MF:()=>Kd,Op:()=>Vu});var l=x(5062),_=x(6895),re=x(5529),J=x(826),Y=x(9054);class te{constructor(c){this.notifier=c}call(c,a){const g=new ae(c),O=(0,Y.D)(g,this.notifier);return O&&!g.seenValue?(g.add(O),a.subscribe(g)):g}}class ae extends J.L{constructor(c){super(c),this.seenValue=!1}notifyNext(c,a,g,O,k){this.seenValue=!0,this.complete()}notifyComplete(){}}var ve=x(3489),$=x(353);class le{constructor(c,a){this.dueTime=c,this.scheduler=a}call(c,a){return a.subscribe(new ue(c,this.dueTime,this.scheduler))}}class ue extends ve.L{constructor(c,a,g){super(c),this.dueTime=a,this.scheduler=g,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(Ve,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 Ve(m){m.debouncedNext()}class Se{constructor(c,a){this.compare=c,this.keySelector=a}call(c,a){return a.subscribe(new Fe(c,this.compare,this.keySelector))}}class Fe extends ve.L{constructor(c,a,g){super(c),this.keySelector=g,this.hasKey=!1,"function"==typeof a&&(this.compare=a)}compare(c,a){return c===a}_next(c){let a;try{const{keySelector:O}=this;a=O?O(c):c}catch(O){return this.destination.error(O)}let g=!1;if(this.hasKey)try{const{compare:O}=this;g=O(this.key,a)}catch(O){return this.destination.error(O)}else this.hasKey=!0;g||(this.key=a,this.destination.next(c))}}var mt=x(2198),We=x(4719),$e=x(348),rt=x(269),Ce=x(7340),_t=x(1481);const Ct=!1;function on(m){return new l.vHH(3e3,Ct)}function we(){return typeof window<"u"&&typeof window.document<"u"}function Pe(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function De(m){switch(m.length){case 0:return new Ce.ZN;case 1:return m[0];default:return new Ce.ZE(m)}}function Ye(m,c,a,g,O={},k={}){const oe=[],he=[];let Te=-1,Ze=null;if(g.forEach(Vt=>{const ln=Vt.offset,Nn=ln==Te,In=Nn&&Ze||{};Object.keys(Vt).forEach(fn=>{let Bn=fn,Mr=Vt[fn];if("offset"!==fn)switch(Bn=c.normalizePropertyName(Bn,oe),Mr){case Ce.k1:Mr=O[fn];break;case Ce.l3:Mr=k[fn];break;default:Mr=c.normalizeStyleValue(fn,Bn,Mr,oe)}In[Bn]=Mr}),Nn||he.push(In),Ze=In,Te=ln}),oe.length)throw function wr(m){return new l.vHH(3502,Ct)}();return he}function Pt(m,c,a,g){switch(c){case"start":m.onStart(()=>g(a&&st(a,"start",m)));break;case"done":m.onDone(()=>g(a&&st(a,"done",m)));break;case"destroy":m.onDestroy(()=>g(a&&st(a,"destroy",m)))}}function st(m,c,a){const k=vt(m.element,m.triggerName,m.fromState,m.toState,c||m.phaseName,a.totalTime??m.totalTime,!!a.disabled),oe=m._data;return null!=oe&&(k._data=oe),k}function vt(m,c,a,g,O="",k=0,oe){return{element:m,triggerName:c,fromState:a,toState:g,phaseName:O,totalTime:k,disabled:!!oe}}function yt(m,c,a){let g;return m instanceof Map?(g=m.get(c),g||m.set(c,g=a)):(g=m[c],g||(g=m[c]=a)),g}function Ut(m){const c=m.indexOf(":");return[m.substring(1,c),m.substr(c+1)]}let Qt=(m,c)=>!1,bt=(m,c,a)=>[],Rt=null;function Wt(m){const c=m.parentNode||m.host;return c===Rt?null:c}(Pe()||typeof Element<"u")&&(we()?(Rt=(()=>document.documentElement)(),Qt=(m,c)=>{for(;c;){if(c===m)return!0;c=Wt(c)}return!1}):Qt=(m,c)=>m.contains(c),bt=(m,c,a)=>{if(a)return Array.from(m.querySelectorAll(c));const g=m.querySelector(c);return g?[g]:[]});let Ht=null,mn=!1;function Wn(m){Ht||(Ht=function xn(){return typeof document<"u"?document.body:null}()||{},mn=!!Ht.style&&"WebkitAppearance"in Ht.style);let c=!0;return Ht.style&&!function gt(m){return"ebkit"==m.substring(1,6)}(m)&&(c=m in Ht.style,!c&&mn&&(c="Webkit"+m.charAt(0).toUpperCase()+m.substr(1)in Ht.style)),c}const Ft=Qt,yn=bt;let Dn=(()=>{class m{validateStyleProperty(a){return Wn(a)}matchesElement(a,g){return!1}containsElement(a,g){return Ft(a,g)}getParentElement(a){return Wt(a)}query(a,g,O){return yn(a,g,O)}computeStyle(a,g,O){return O||""}animate(a,g,O,k,oe,he=[],Te){return new Ce.ZN(O,k)}}return m.\u0275fac=function(a){return new(a||m)},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac}),m})(),Zt=(()=>{class m{}return m.NOOP=new Dn,m})();const X="ng-enter",Re="ng-leave",Qe="ng-trigger",Et=".ng-trigger",It="ng-animating",wt=".ng-animating";function de(m){if("number"==typeof m)return m;const c=m.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:Oe(parseFloat(c[1]),c[2])}function Oe(m,c){return"s"===c?1e3*m:m}function jt(m,c,a){return m.hasOwnProperty("duration")?m:function qt(m,c,a){let O,k=0,oe="";if("string"==typeof m){const he=m.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===he)return c.push(on()),{duration:0,delay:0,easing:""};O=Oe(parseFloat(he[1]),he[2]);const Te=he[3];null!=Te&&(k=Oe(parseFloat(Te),he[4]));const Ze=he[5];Ze&&(oe=Ze)}else O=m;if(!a){let he=!1,Te=c.length;O<0&&(c.push(function en(){return new l.vHH(3100,Ct)}()),he=!0),k<0&&(c.push(function Ee(){return new l.vHH(3101,Ct)}()),he=!0),he&&c.splice(Te,0,on())}return{duration:O,delay:k,easing:oe}}(m,c,a)}function Mn(m,c={}){return Object.keys(m).forEach(a=>{c[a]=m[a]}),c}function He(m,c,a={}){if(c)for(let g in m)a[g]=m[g];else Mn(m,a);return a}function Ae(m,c,a){return a?c+":"+a+";":""}function pt(m){let c="";for(let a=0;a<m.style.length;a++){const g=m.style.item(a);c+=Ae(0,g,m.style.getPropertyValue(g))}for(const a in m.style)m.style.hasOwnProperty(a)&&!a.startsWith("_")&&(c+=Ae(0,dn(a),m.style[a]));m.setAttribute("style",c)}function Dt(m,c,a){m.style&&(Object.keys(c).forEach(g=>{const O=ir(g);a&&!a.hasOwnProperty(g)&&(a[g]=m.style[O]),m.style[O]=c[g]}),Pe()&&pt(m))}function Tt(m,c){m.style&&(Object.keys(c).forEach(a=>{const g=ir(a);m.style[g]=""}),Pe()&&pt(m))}function At(m){return Array.isArray(m)?1==m.length?m[0]:(0,Ce.vP)(m):m}const Xt=new RegExp("{{\\s*(.+?)\\s*}}","g");function an(m){let c=[];if("string"==typeof m){let a;for(;a=Xt.exec(m);)c.push(a[1]);Xt.lastIndex=0}return c}function xt(m,c,a){const g=m.toString(),O=g.replace(Xt,(k,oe)=>{let he=c[oe];return c.hasOwnProperty(oe)||(a.push(function et(m){return new l.vHH(3003,Ct)}()),he=""),he.toString()});return O==g?m:O}function vn(m){const c=[];let a=m.next();for(;!a.done;)c.push(a.value),a=m.next();return c}const Pr=/-+([a-z0-9])/g;function ir(m){return m.replace(Pr,(...c)=>c[1].toUpperCase())}function dn(m){return m.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function jn(m,c,a){switch(c.type){case 7:return m.visitTrigger(c,a);case 0:return m.visitState(c,a);case 1:return m.visitTransition(c,a);case 2:return m.visitSequence(c,a);case 3:return m.visitGroup(c,a);case 4:return m.visitAnimate(c,a);case 5:return m.visitKeyframes(c,a);case 6:return m.visitStyle(c,a);case 8:return m.visitReference(c,a);case 9:return m.visitAnimateChild(c,a);case 10:return m.visitAnimateRef(c,a);case 11:return m.visitQuery(c,a);case 12:return m.visitStagger(c,a);default:throw function ze(m){return new l.vHH(3004,Ct)}()}}function Nr(m,c){return window.getComputedStyle(m)[c]}function dt(m,c){const a=[];return"string"==typeof m?m.split(/\s*,\s*/).forEach(g=>function cn(m,c,a){if(":"==m[0]){const Te=function tn(m,c){switch(m){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,g)=>parseFloat(g)>parseFloat(a);case":decrement":return(a,g)=>parseFloat(g)<parseFloat(a);default:return c.push(function hr(m){return new l.vHH(3016,Ct)}()),"* => *"}}(m,a);if("function"==typeof Te)return void c.push(Te);m=Te}const g=m.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return a.push(function _r(m){return new l.vHH(3015,Ct)}()),c;const O=g[1],k=g[2],oe=g[3];c.push(mr(O,oe));"<"==k[0]&&!("*"==O&&"*"==oe)&&c.push(mr(oe,O))}(g,a,c)):a.push(m),a}const Fn=new Set(["true","1"]),gr=new Set(["false","0"]);function mr(m,c){const a=Fn.has(m)||gr.has(m),g=Fn.has(c)||gr.has(c);return(O,k)=>{let oe="*"==m||m==O,he="*"==c||c==k;return!oe&&a&&"boolean"==typeof O&&(oe=O?Fn.has(m):gr.has(m)),!he&&g&&"boolean"==typeof k&&(he=k?Fn.has(c):gr.has(c)),oe&&he}}const sr=new RegExp("s*:selfs*,?","g");function Si(m,c,a,g){return new ps(m).build(c,a,g)}class ps{constructor(c){this._driver=c}build(c,a,g){const O=new Eo(a);this._resetContextStyleTimingState(O);const k=jn(this,At(c),O);return O.unsupportedCSSPropertiesFound.size&&O.unsupportedCSSPropertiesFound.keys(),k}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles={},c.collectedStyles[""]={},c.currentTime=0}visitTrigger(c,a){let g=a.queryCount=0,O=a.depCount=0;const k=[],oe=[];return"@"==c.name.charAt(0)&&a.errors.push(function zt(){return new l.vHH(3006,Ct)}()),c.definitions.forEach(he=>{if(this._resetContextStyleTimingState(a),0==he.type){const Te=he,Ze=Te.name;Ze.toString().split(/\s*,\s*/).forEach(Vt=>{Te.name=Vt,k.push(this.visitState(Te,a))}),Te.name=Ze}else if(1==he.type){const Te=this.visitTransition(he,a);g+=Te.queryCount,O+=Te.depCount,oe.push(Te)}else a.errors.push(function rn(){return new l.vHH(3007,Ct)}())}),{type:7,name:c.name,states:k,transitions:oe,queryCount:g,depCount:O,options:null}}visitState(c,a){const g=this.visitStyle(c.styles,a),O=c.options&&c.options.params||null;if(g.containsDynamicStyles){const k=new Set,oe=O||{};g.styles.forEach(he=>{if(ts(he)){const Te=he;Object.keys(Te).forEach(Ze=>{an(Te[Ze]).forEach(Vt=>{oe.hasOwnProperty(Vt)||k.add(Vt)})})}}),k.size&&(vn(k.values()),a.errors.push(function Ir(m,c){return new l.vHH(3008,Ct)}()))}return{type:0,name:c.name,style:g,options:O?{params:O}:null}}visitTransition(c,a){a.queryCount=0,a.depCount=0;const g=jn(this,At(c.animation),a);return{type:1,matchers:dt(c.expr,a.errors),animation:g,queryCount:a.queryCount,depCount:a.depCount,options:si(c.options)}}visitSequence(c,a){return{type:2,steps:c.steps.map(g=>jn(this,g,a)),options:si(c.options)}}visitGroup(c,a){const g=a.currentTime;let O=0;const k=c.steps.map(oe=>{a.currentTime=g;const he=jn(this,oe,a);return O=Math.max(O,a.currentTime),he});return a.currentTime=O,{type:3,steps:k,options:si(c.options)}}visitAnimate(c,a){const g=function Fi(m,c){if(m.hasOwnProperty("duration"))return m;if("number"==typeof m)return Vs(jt(m,c).duration,0,"");const a=m;if(a.split(/\s+/).some(k=>"{"==k.charAt(0)&&"{"==k.charAt(1))){const k=Vs(0,0,"");return k.dynamic=!0,k.strValue=a,k}const O=jt(a,c);return Vs(O.duration,O.delay,O.easing)}(c.timings,a.errors);a.currentAnimateTimings=g;let O,k=c.styles?c.styles:(0,Ce.oB)({});if(5==k.type)O=this.visitKeyframes(k,a);else{let oe=c.styles,he=!1;if(!oe){he=!0;const Ze={};g.easing&&(Ze.easing=g.easing),oe=(0,Ce.oB)(Ze)}a.currentTime+=g.duration+g.delay;const Te=this.visitStyle(oe,a);Te.isEmptyStep=he,O=Te}return a.currentAnimateTimings=null,{type:4,timings:g,style:O,options:null}}visitStyle(c,a){const g=this._makeStyleAst(c,a);return this._validateStyleAst(g,a),g}_makeStyleAst(c,a){const g=[];Array.isArray(c.styles)?c.styles.forEach(oe=>{"string"==typeof oe?oe==Ce.l3?g.push(oe):a.errors.push(function ri(m){return new l.vHH(3002,Ct)}()):g.push(oe)}):g.push(c.styles);let O=!1,k=null;return g.forEach(oe=>{if(ts(oe)){const he=oe,Te=he.easing;if(Te&&(k=Te,delete he.easing),!O)for(let Ze in he)if(he[Ze].toString().indexOf("{{")>=0){O=!0;break}}}),{type:6,styles:g,easing:k,offset:c.offset,containsDynamicStyles:O,options:null}}_validateStyleAst(c,a){const g=a.currentAnimateTimings;let O=a.currentTime,k=a.currentTime;g&&k>0&&(k-=g.duration+g.delay),c.styles.forEach(oe=>{"string"!=typeof oe&&Object.keys(oe).forEach(he=>{if(!this._driver.validateStyleProperty(he))return delete oe[he],void a.unsupportedCSSPropertiesFound.add(he);const Te=a.collectedStyles[a.currentQuerySelector],Ze=Te[he];let Vt=!0;Ze&&(k!=O&&k>=Ze.startTime&&O<=Ze.endTime&&(a.errors.push(function ii(m,c,a,g,O){return new l.vHH(3010,Ct)}()),Vt=!1),k=Ze.startTime),Vt&&(Te[he]={startTime:k,endTime:O}),a.options&&function Nt(m,c,a){const g=c.params||{},O=an(m);O.length&&O.forEach(k=>{g.hasOwnProperty(k)||a.push(function lt(m){return new l.vHH(3001,Ct)}())})}(oe[he],a.options,a.errors)})})}visitKeyframes(c,a){const g={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function Sr(){return new l.vHH(3011,Ct)}()),g;let k=0;const oe=[];let he=!1,Te=!1,Ze=0;const Vt=c.steps.map(zr=>{const li=this._makeStyleAst(zr,a);let Ui=null!=li.offset?li.offset:function Ls(m){if("string"==typeof m)return null;let c=null;if(Array.isArray(m))m.forEach(a=>{if(ts(a)&&a.hasOwnProperty("offset")){const g=a;c=parseFloat(g.offset),delete g.offset}});else if(ts(m)&&m.hasOwnProperty("offset")){const a=m;c=parseFloat(a.offset),delete a.offset}return c}(li.styles),_i=0;return null!=Ui&&(k++,_i=li.offset=Ui),Te=Te||_i<0||_i>1,he=he||_i<Ze,Ze=_i,oe.push(_i),li});Te&&a.errors.push(function vi(){return new l.vHH(3012,Ct)}()),he&&a.errors.push(function Gn(){return new l.vHH(3200,Ct)}());const ln=c.steps.length;let Nn=0;k>0&&k<ln?a.errors.push(function En(){return new l.vHH(3202,Ct)}()):0==k&&(Nn=1/(ln-1));const In=ln-1,fn=a.currentTime,Bn=a.currentAnimateTimings,Mr=Bn.duration;return Vt.forEach((zr,li)=>{const Ui=Nn>0?li==In?1:Nn*li:oe[li],_i=Ui*Mr;a.currentTime=fn+Bn.delay+_i,Bn.duration=_i,this._validateStyleAst(zr,a),zr.offset=Ui,g.styles.push(zr)}),g}visitReference(c,a){return{type:8,animation:jn(this,At(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 g=a.currentQuerySelector,O=c.options||{};a.queryCount++,a.currentQuery=c;const[k,oe]=function wo(m){const c=!!m.split(/\s*,\s*/).find(a=>":self"==a);return c&&(m=m.replace(sr,"")),m=m.replace(/@\*/g,Et).replace(/@\w+/g,a=>Et+"-"+a.substr(1)).replace(/:animating/g,wt),[m,c]}(c.selector);a.currentQuerySelector=g.length?g+" "+k:k,yt(a.collectedStyles,a.currentQuerySelector,{});const he=jn(this,At(c.animation),a);return a.currentQuery=null,a.currentQuerySelector=g,{type:11,selector:k,limit:O.limit||0,optional:!!O.optional,includeSelf:oe,animation:he,originalSelector:c.selector,options:si(c.options)}}visitStagger(c,a){a.currentQuery||a.errors.push(function Xr(){return new l.vHH(3013,Ct)}());const g="full"===c.timings?{duration:0,delay:0,easing:"full"}:jt(c.timings,a.errors,!0);return{type:12,animation:jn(this,At(c.animation),a),timings:g,options:null}}}class Eo{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 ts(m){return!Array.isArray(m)&&"object"==typeof m}function si(m){return m?(m=Mn(m)).params&&(m.params=function bo(m){return m?Mn(m):null}(m.params)):m={},m}function Vs(m,c,a){return{duration:m,delay:c,easing:a}}function gs(m,c,a,g,O,k,oe=null,he=!1){return{type:1,element:m,keyframes:c,preStyleProps:a,postStyleProps:g,duration:O,delay:k,totalTime:O+k,easing:oe,subTimeline:he}}class oo{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,a){let g=this._map.get(c);g||this._map.set(c,g=[]),g.push(...a)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const Bs=new RegExp(":enter","g"),Go=new RegExp(":leave","g");function qi(m,c,a,g,O,k={},oe={},he,Te,Ze=[]){return(new Us).buildKeyframes(m,c,a,g,O,k,oe,he,Te,Ze)}class Us{buildKeyframes(c,a,g,O,k,oe,he,Te,Ze,Vt=[]){Ze=Ze||new oo;const ln=new Zn(c,a,Ze,O,k,Vt,[]);ln.options=Te,ln.currentTimeline.setStyles([oe],null,ln.errors,Te),jn(this,g,ln);const Nn=ln.timelines.filter(In=>In.containsAnimation());if(Object.keys(he).length){let In;for(let fn=Nn.length-1;fn>=0;fn--){const Bn=Nn[fn];if(Bn.element===a){In=Bn;break}}In&&!In.allowOnlyTimelineStyles()&&In.setStyles([he],null,ln.errors,Te)}return Nn.length?Nn.map(In=>In.buildKeyframes()):[gs(a,[],[],[],0,0,"",!1)]}visitTrigger(c,a){}visitState(c,a){}visitTransition(c,a){}visitAnimateChild(c,a){const g=a.subInstructions.get(a.element);if(g){const O=a.createSubContext(c.options),k=a.currentTimeline.currentTime,oe=this._visitSubInstructions(g,O,O.options);k!=oe&&a.transformIntoNewTimeline(oe)}a.previousNode=c}visitAnimateRef(c,a){const g=a.createSubContext(c.options);g.transformIntoNewTimeline(),this.visitReference(c.animation,g),a.transformIntoNewTimeline(g.currentTimeline.currentTime),a.previousNode=c}_visitSubInstructions(c,a,g){let k=a.currentTimeline.currentTime;const oe=null!=g.duration?de(g.duration):null,he=null!=g.delay?de(g.delay):null;return 0!==oe&&c.forEach(Te=>{const Ze=a.appendInstructionToTimeline(Te,oe,he);k=Math.max(k,Ze.duration+Ze.delay)}),k}visitReference(c,a){a.updateOptions(c.options,!0),jn(this,c.animation,a),a.previousNode=c}visitSequence(c,a){const g=a.subContextCount;let O=a;const k=c.options;if(k&&(k.params||k.delay)&&(O=a.createSubContext(k),O.transformIntoNewTimeline(),null!=k.delay)){6==O.previousNode.type&&(O.currentTimeline.snapshotCurrentStyles(),O.previousNode=Li);const oe=de(k.delay);O.delayNextStep(oe)}c.steps.length&&(c.steps.forEach(oe=>jn(this,oe,O)),O.currentTimeline.applyStylesToKeyframe(),O.subContextCount>g&&O.transformIntoNewTimeline()),a.previousNode=c}visitGroup(c,a){const g=[];let O=a.currentTimeline.currentTime;const k=c.options&&c.options.delay?de(c.options.delay):0;c.steps.forEach(oe=>{const he=a.createSubContext(c.options);k&&he.delayNextStep(k),jn(this,oe,he),O=Math.max(O,he.currentTimeline.currentTime),g.push(he.currentTimeline)}),g.forEach(oe=>a.currentTimeline.mergeTimelineCollectedStyles(oe)),a.transformIntoNewTimeline(O),a.previousNode=c}_visitTiming(c,a){if(c.dynamic){const g=c.strValue;return jt(a.params?xt(g,a.params,a.errors):g,a.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,a){const g=a.currentAnimateTimings=this._visitTiming(c.timings,a),O=a.currentTimeline;g.delay&&(a.incrementTime(g.delay),O.snapshotCurrentStyles());const k=c.style;5==k.type?this.visitKeyframes(k,a):(a.incrementTime(g.duration),this.visitStyle(k,a),O.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=c}visitStyle(c,a){const g=a.currentTimeline,O=a.currentAnimateTimings;!O&&g.getCurrentStyleProperties().length&&g.forwardFrame();const k=O&&O.easing||c.easing;c.isEmptyStep?g.applyEmptyStep(k):g.setStyles(c.styles,k,a.errors,a.options),a.previousNode=c}visitKeyframes(c,a){const g=a.currentAnimateTimings,O=a.currentTimeline.duration,k=g.duration,he=a.createSubContext().currentTimeline;he.easing=g.easing,c.styles.forEach(Te=>{he.forwardTime((Te.offset||0)*k),he.setStyles(Te.styles,Te.easing,a.errors,a.options),he.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(he),a.transformIntoNewTimeline(O+k),a.previousNode=c}visitQuery(c,a){const g=a.currentTimeline.currentTime,O=c.options||{},k=O.delay?de(O.delay):0;k&&(6===a.previousNode.type||0==g&&a.currentTimeline.getCurrentStyleProperties().length)&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Li);let oe=g;const he=a.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!O.optional,a.errors);a.currentQueryTotal=he.length;let Te=null;he.forEach((Ze,Vt)=>{a.currentQueryIndex=Vt;const ln=a.createSubContext(c.options,Ze);k&&ln.delayNextStep(k),Ze===a.element&&(Te=ln.currentTimeline),jn(this,c.animation,ln),ln.currentTimeline.applyStylesToKeyframe(),oe=Math.max(oe,ln.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(oe),Te&&(a.currentTimeline.mergeTimelineCollectedStyles(Te),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=c}visitStagger(c,a){const g=a.parentContext,O=a.currentTimeline,k=c.timings,oe=Math.abs(k.duration),he=oe*(a.currentQueryTotal-1);let Te=oe*a.currentQueryIndex;switch(k.duration<0?"reverse":k.easing){case"reverse":Te=he-Te;break;case"full":Te=g.currentStaggerTime}const Vt=a.currentTimeline;Te&&Vt.delayNextStep(Te);const ln=Vt.currentTime;jn(this,c.animation,a),a.previousNode=c,g.currentStaggerTime=O.currentTime-ln+(O.startTime-g.currentTimeline.startTime)}}const Li={};class Zn{constructor(c,a,g,O,k,oe,he,Te){this._driver=c,this.element=a,this.subInstructions=g,this._enterClassName=O,this._leaveClassName=k,this.errors=oe,this.timelines=he,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Li,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Te||new Kn(this._driver,a,0),he.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,a){if(!c)return;const g=c;let O=this.options;null!=g.duration&&(O.duration=de(g.duration)),null!=g.delay&&(O.delay=de(g.delay));const k=g.params;if(k){let oe=O.params;oe||(oe=this.options.params={}),Object.keys(k).forEach(he=>{(!a||!oe.hasOwnProperty(he))&&(oe[he]=xt(k[he],oe,this.errors))})}}_copyOptions(){const c={};if(this.options){const a=this.options.params;if(a){const g=c.params={};Object.keys(a).forEach(O=>{g[O]=a[O]})}}return c}createSubContext(c=null,a,g){const O=a||this.element,k=new Zn(this._driver,O,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(O,g||0));return k.previousNode=this.previousNode,k.currentAnimateTimings=this.currentAnimateTimings,k.options=this._copyOptions(),k.updateOptions(c),k.currentQueryIndex=this.currentQueryIndex,k.currentQueryTotal=this.currentQueryTotal,k.parentContext=this,this.subContextCount++,k}transformIntoNewTimeline(c){return this.previousNode=Li,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,a,g){const O={duration:a??c.duration,delay:this.currentTimeline.currentTime+(g??0)+c.delay,easing:""},k=new wi(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,O,c.stretchStartingKeyframe);return this.timelines.push(k),O}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,a,g,O,k,oe){let he=[];if(O&&he.push(this.element),c.length>0){c=(c=c.replace(Bs,"."+this._enterClassName)).replace(Go,"."+this._leaveClassName);let Ze=this._driver.query(this.element,c,1!=g);0!==g&&(Ze=g<0?Ze.slice(Ze.length+g,Ze.length):Ze.slice(0,g)),he.push(...Ze)}return!k&&0==he.length&&oe.push(function Cr(m){return new l.vHH(3014,Ct)}()),he}}class Kn{constructor(c,a,g,O){this._driver=c,this.element=a,this.startTime=g,this._elementTimelineStylesLookup=O,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(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 Kn(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]||Ce.l3,this._currentKeyframe[a]=Ce.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,a,g,O){a&&(this._previousKeyframe.easing=a);const k=O&&O.params||{},oe=function _s(m,c){const a={};let g;return m.forEach(O=>{"*"===O?(g=g||Object.keys(c),g.forEach(k=>{a[k]=Ce.l3})):He(O,!1,a)}),a}(c,this._globalTimelineStyles);Object.keys(oe).forEach(he=>{const Te=xt(oe[he],k,g);this._pendingStyles[he]=Te,this._localTimelineStyles.hasOwnProperty(he)||(this._backFill[he]=this._globalTimelineStyles.hasOwnProperty(he)?this._globalTimelineStyles[he]:Ce.l3),this._updateStyle(he,Te)})}applyStylesToKeyframe(){const c=this._pendingStyles,a=Object.keys(c);0!=a.length&&(this._pendingStyles={},a.forEach(g=>{this._currentKeyframe[g]=c[g]}),Object.keys(this._localTimelineStyles).forEach(g=>{this._currentKeyframe.hasOwnProperty(g)||(this._currentKeyframe[g]=this._localTimelineStyles[g])}))}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 g=this._styleSummary[a],O=c._styleSummary[a];(!g||O.time>g.time)&&this._updateStyle(a,O.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,a=new Set,g=1===this._keyframes.size&&0===this.duration;let O=[];this._keyframes.forEach((he,Te)=>{const Ze=He(he,!0);Object.keys(Ze).forEach(Vt=>{const ln=Ze[Vt];ln==Ce.k1?c.add(Vt):ln==Ce.l3&&a.add(Vt)}),g||(Ze.offset=Te/this.duration),O.push(Ze)});const k=c.size?vn(c.values()):[],oe=a.size?vn(a.values()):[];if(g){const he=O[0],Te=Mn(he);he.offset=0,Te.offset=1,O=[he,Te]}return gs(this.element,O,k,oe,this.duration,this.startTime,this.easing,!1)}}class wi extends Kn{constructor(c,a,g,O,k,oe,he=!1){super(c,a,oe.delay),this.keyframes=g,this.preStyleProps=O,this.postStyleProps=k,this._stretchStartingKeyframe=he,this.timings={duration:oe.duration,delay:oe.delay,easing:oe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:a,duration:g,easing:O}=this.timings;if(this._stretchStartingKeyframe&&a){const k=[],oe=g+a,he=a/oe,Te=He(c[0],!1);Te.offset=0,k.push(Te);const Ze=He(c[0],!1);Ze.offset=Do(he),k.push(Ze);const Vt=c.length-1;for(let ln=1;ln<=Vt;ln++){let Nn=He(c[ln],!1);Nn.offset=Do((a+Nn.offset*g)/oe),k.push(Nn)}g=oe,a=0,O="",c=k}return gs(this.element,c,this.preStyleProps,this.postStyleProps,g,a,O,!0)}}function Do(m,c=3){const a=Math.pow(10,c-1);return Math.round(m*a)/a}class ys{}class vs extends ys{normalizePropertyName(c,a){return ir(c)}normalizeStyleValue(c,a,g,O){let k="";const oe=g.toString().trim();if(ao[a]&&0!==g&&"0"!==g)if("number"==typeof g)k="px";else{const he=g.match(/^[+-]?[\d\.]+([a-z]*)$/);he&&0==he[1].length&&O.push(function Be(m,c){return new l.vHH(3005,Ct)}())}return oe+k}}const ao=(()=>function Lr(m){const c={};return m.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 Cs(m,c,a,g,O,k,oe,he,Te,Ze,Vt,ln,Nn){return{type:0,element:m,triggerName:c,isRemovalTransition:O,fromState:a,fromStyles:k,toState:g,toStyles:oe,timelines:he,queriedElements:Te,preStyleProps:Ze,postStyleProps:Vt,totalTime:ln,errors:Nn}}const Yr={};class Zr{constructor(c,a,g){this._triggerName=c,this.ast=a,this._stateStyles=g}match(c,a,g,O){return function rs(m,c,a,g,O){return m.some(k=>k(c,a,g,O))}(this.ast.matchers,c,a,g,O)}buildStyles(c,a,g){const O=this._stateStyles["*"],k=this._stateStyles[c],oe=O?O.buildStyles(a,g):{};return k?k.buildStyles(a,g):oe}build(c,a,g,O,k,oe,he,Te,Ze,Vt){const ln=[],Nn=this.ast.options&&this.ast.options.params||Yr,fn=this.buildStyles(g,he&&he.params||Yr,ln),Bn=Te&&Te.params||Yr,Mr=this.buildStyles(O,Bn,ln),zr=new Set,li=new Map,Ui=new Map,_i="void"===O,ra={params:{...Nn,...Bn}},cs=Vt?[]:qi(c,a,this.ast.animation,k,oe,fn,Mr,ra,Ze,ln);let ui=0;if(cs.forEach(Ii=>{ui=Math.max(Ii.duration+Ii.delay,ui)}),ln.length)return Cs(a,this._triggerName,g,O,_i,fn,Mr,[],[],li,Ui,ui,ln);cs.forEach(Ii=>{const Js=Ii.element,fu=yt(li,Js,{});Ii.preStyleProps.forEach(Xs=>fu[Xs]=!0);const ia=yt(Ui,Js,{});Ii.postStyleProps.forEach(Xs=>ia[Xs]=!0),Js!==a&&zr.add(Js)});const Ki=vn(zr.values());return Cs(a,this._triggerName,g,O,_i,fn,Mr,cs,Ki,li,Ui,ui)}}class ei{constructor(c,a,g){this.styles=c,this.defaultParams=a,this.normalizer=g}buildStyles(c,a){const g={},O=Mn(this.defaultParams);return Object.keys(c).forEach(k=>{const oe=c[k];null!=oe&&(O[k]=oe)}),this.styles.styles.forEach(k=>{if("string"!=typeof k){const oe=k;Object.keys(oe).forEach(he=>{let Te=oe[he];Te.length>1&&(Te=xt(Te,O,a));const Ze=this.normalizer.normalizePropertyName(he,a);Te=this.normalizer.normalizeStyleValue(he,Ze,Te,a),g[Ze]=Te})}}),g}}class Hs{constructor(c,a,g){this.name=c,this.ast=a,this._normalizer=g,this.transitionFactories=[],this.states={},a.states.forEach(O=>{this.states[O.name]=new ei(O.style,O.options&&O.options.params||{},g)}),M(this.states,"true","1"),M(this.states,"false","0"),a.transitions.forEach(O=>{this.transitionFactories.push(new Zr(c,O,this.states))}),this.fallbackTransition=function Mo(m,c,a){return new Zr(m,{type:1,animation:{type:2,steps:[],options:null},matchers:[(oe,he)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,a,g,O){return this.transitionFactories.find(oe=>oe.match(c,a,g,O))||null}matchStyles(c,a,g){return this.fallbackTransition.buildStyles(c,a,g)}}function M(m,c,a){m.hasOwnProperty(c)?m.hasOwnProperty(a)||(m[a]=m[c]):m.hasOwnProperty(a)&&(m[c]=m[a])}const V=new oo;class T{constructor(c,a,g){this.bodyNode=c,this._driver=a,this._normalizer=g,this._animations={},this._playersById={},this.players=[]}register(c,a){const g=[],k=Si(this._driver,a,g,[]);if(g.length)throw function kr(m){return new l.vHH(3503,Ct)}();this._animations[c]=k}_buildPlayer(c,a,g){const O=c.element,k=Ye(0,this._normalizer,0,c.keyframes,a,g);return this._driver.animate(O,k,c.duration,c.delay,c.easing,[],!0)}create(c,a,g={}){const O=[],k=this._animations[c];let oe;const he=new Map;if(k?(oe=qi(this._driver,a,k,X,Re,{},{},g,V,O),oe.forEach(Vt=>{const ln=yt(he,Vt.element,{});Vt.postStyleProps.forEach(Nn=>ln[Nn]=null)})):(O.push(function ur(){return new l.vHH(3300,Ct)}()),oe=[]),O.length)throw function Xn(m){return new l.vHH(3504,Ct)}();he.forEach((Vt,ln)=>{Object.keys(Vt).forEach(Nn=>{Vt[Nn]=this._driver.computeStyle(ln,Nn,Ce.l3)})});const Ze=De(oe.map(Vt=>{const ln=he.get(Vt.element);return this._buildPlayer(Vt,{},ln)}));return this._playersById[c]=Ze,Ze.onDestroy(()=>this.destroy(c)),this.players.push(Ze),Ze}destroy(c){const a=this._getPlayer(c);a.destroy(),delete this._playersById[c];const g=this.players.indexOf(a);g>=0&&this.players.splice(g,1)}_getPlayer(c){const a=this._playersById[c];if(!a)throw function hi(m){return new l.vHH(3301,Ct)}();return a}listen(c,a,g,O){const k=vt(a,"","","");return Pt(this._getPlayer(c),g,k,O),()=>{}}command(c,a,g,O){if("register"==g)return void this.register(c,O[0]);if("create"==g)return void this.create(c,a,O[0]||{});const k=this._getPlayer(c);switch(g){case"play":k.play();break;case"pause":k.pause();break;case"reset":k.reset();break;case"restart":k.restart();break;case"finish":k.finish();break;case"init":k.init();break;case"setPosition":k.setPosition(parseFloat(O[0]));break;case"destroy":this.destroy(c)}}}const H="ng-animate-queued",Ge="ng-animate-disabled",or=[],Ln={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$n="__ng_removed";class er{constructor(c,a=""){this.namespaceId=a;const g=c&&c.hasOwnProperty("value");if(this.value=function D(m){return m??null}(g?c.value:c),g){const k=Mn(c);delete k.value,this.options=k}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const a=c.params;if(a){const g=this.options.params;Object.keys(a).forEach(O=>{null==g[O]&&(g[O]=a[O])})}}}const yr="void",vr=new er(yr);class pi{constructor(c,a,g){this.id=c,this.hostElement=a,this._engine=g,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,Vn(a,this._hostClassName)}listen(c,a,g,O){if(!this._triggers.hasOwnProperty(a))throw function Or(m,c){return new l.vHH(3302,Ct)}();if(null==g||0==g.length)throw function Rr(m){return new l.vHH(3303,Ct)}();if(!function N(m){return"start"==m||"done"==m}(g))throw function pe(m,c){return new l.vHH(3400,Ct)}();const k=yt(this._elementListeners,c,[]),oe={name:a,phase:g,callback:O};k.push(oe);const he=yt(this._engine.statesByElement,c,{});return he.hasOwnProperty(a)||(Vn(c,Qe),Vn(c,Qe+"-"+a),he[a]=vr),()=>{this._engine.afterFlush(()=>{const Te=k.indexOf(oe);Te>=0&&k.splice(Te,1),this._triggers[a]||delete he[a]})}}register(c,a){return!this._triggers[c]&&(this._triggers[c]=a,!0)}_getTrigger(c){const a=this._triggers[c];if(!a)throw function me(m){return new l.vHH(3401,Ct)}();return a}trigger(c,a,g,O=!0){const k=this._getTrigger(a),oe=new gi(this.id,a,c);let he=this._engine.statesByElement.get(c);he||(Vn(c,Qe),Vn(c,Qe+"-"+a),this._engine.statesByElement.set(c,he={}));let Te=he[a];const Ze=new er(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&Te&&Ze.absorbOptions(Te.options),he[a]=Ze,Te||(Te=vr),Ze.value!==yr&&Te.value===Ze.value){if(!function ut(m,c){const a=Object.keys(m),g=Object.keys(c);if(a.length!=g.length)return!1;for(let O=0;O<a.length;O++){const k=a[O];if(!c.hasOwnProperty(k)||m[k]!==c[k])return!1}return!0}(Te.params,Ze.params)){const Bn=[],Mr=k.matchStyles(Te.value,Te.params,Bn),zr=k.matchStyles(Ze.value,Ze.params,Bn);Bn.length?this._engine.reportError(Bn):this._engine.afterFlush(()=>{Tt(c,Mr),Dt(c,zr)})}return}const Nn=yt(this._engine.playersByElement,c,[]);Nn.forEach(Bn=>{Bn.namespaceId==this.id&&Bn.triggerName==a&&Bn.queued&&Bn.destroy()});let In=k.matchTransition(Te.value,Ze.value,c,Ze.params),fn=!1;if(!In){if(!O)return;In=k.fallbackTransition,fn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:a,transition:In,fromState:Te,toState:Ze,player:oe,isFallbackTransition:fn}),fn||(Vn(c,H),oe.onStart(()=>{mi(c,H)})),oe.onDone(()=>{let Bn=this.players.indexOf(oe);Bn>=0&&this.players.splice(Bn,1);const Mr=this._engine.playersByElement.get(c);if(Mr){let zr=Mr.indexOf(oe);zr>=0&&Mr.splice(zr,1)}}),this.players.push(oe),Nn.push(oe),oe}deregister(c){delete this._triggers[c],this._engine.statesByElement.forEach((a,g)=>{delete a[c]}),this._elementListeners.forEach((a,g)=>{this._elementListeners.set(g,a.filter(O=>O.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const a=this._engine.playersByElement.get(c);a&&(a.forEach(g=>g.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,a){const g=this._engine.driver.query(c,Et,!0);g.forEach(O=>{if(O[$n])return;const k=this._engine.fetchNamespacesByElement(O);k.size?k.forEach(oe=>oe.triggerLeaveAnimation(O,a,!1,!0)):this.clearElementCache(O)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(O=>this.clearElementCache(O)))}triggerLeaveAnimation(c,a,g,O){const k=this._engine.statesByElement.get(c),oe=new Map;if(k){const he=[];if(Object.keys(k).forEach(Te=>{if(oe.set(Te,k[Te].value),this._triggers[Te]){const Ze=this.trigger(c,Te,yr,O);Ze&&he.push(Ze)}}),he.length)return this._engine.markElementAsRemoved(this.id,c,!0,a,oe),g&&De(he).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const a=this._elementListeners.get(c),g=this._engine.statesByElement.get(c);if(a&&g){const O=new Set;a.forEach(k=>{const oe=k.name;if(O.has(oe))return;O.add(oe);const Te=this._triggers[oe].fallbackTransition,Ze=g[oe]||vr,Vt=new er(yr),ln=new gi(this.id,oe,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:oe,transition:Te,fromState:Ze,toState:Vt,player:ln,isFallbackTransition:!0})})}}removeNode(c,a){const g=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,a),this.triggerLeaveAnimation(c,a,!0))return;let O=!1;if(g.totalAnimations){const k=g.players.length?g.playersByQueriedElement.get(c):[];if(k&&k.length)O=!0;else{let oe=c;for(;oe=oe.parentNode;)if(g.statesByElement.get(oe)){O=!0;break}}}if(this.prepareLeaveAnimationListeners(c),O)g.markElementAsRemoved(this.id,c,!1,a);else{const k=c[$n];(!k||k===Ln)&&(g.afterFlush(()=>this.clearElementCache(c)),g.destroyInnerAnimations(c),g._onRemovalComplete(c,a))}}insertNode(c,a){Vn(c,this._hostClassName)}drainQueuedTransitions(c){const a=[];return this._queue.forEach(g=>{const O=g.player;if(O.destroyed)return;const k=g.element,oe=this._elementListeners.get(k);oe&&oe.forEach(he=>{if(he.name==g.triggerName){const Te=vt(k,g.triggerName,g.fromState.value,g.toState.value);Te._data=c,Pt(g.player,he.phase,Te,he.callback)}}),O.markedForDestroy?this._engine.afterFlush(()=>{O.destroy()}):a.push(g)}),this._queue=[],a.sort((g,O)=>{const k=g.transition.ast.depCount,oe=O.transition.ast.depCount;return 0==k||0==oe?k-oe:this._engine.driver.containsElement(g.element,O.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(g=>g.element===c)||a,a}}class ws{constructor(c,a,g){this.bodyNode=c,this.driver=a,this._normalizer=g,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(O,k)=>{}}_onRemovalComplete(c,a){this.onRemovalComplete(c,a)}get queuedPlayers(){const c=[];return this._namespaceList.forEach(a=>{a.players.forEach(g=>{g.queued&&c.push(g)})}),c}createNamespace(c,a){const g=new pi(c,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(g,a):(this.newHostElements.set(a,g),this.collectEnterElement(a)),this._namespaceLookup[c]=g}_balanceNamespaceList(c,a){const g=this._namespaceList,O=this.namespacesByHostElement,k=g.length-1;if(k>=0){let oe=!1;if(void 0!==this.driver.getParentElement){let he=this.driver.getParentElement(a);for(;he;){const Te=O.get(he);if(Te){const Ze=g.indexOf(Te);g.splice(Ze+1,0,c),oe=!0;break}he=this.driver.getParentElement(he)}}else for(let he=k;he>=0;he--)if(this.driver.containsElement(g[he].hostElement,a)){g.splice(he+1,0,c),oe=!0;break}oe||g.unshift(c)}else g.push(c);return O.set(a,c),c}register(c,a){let g=this._namespaceLookup[c];return g||(g=this.createNamespace(c,a)),g}registerTrigger(c,a,g){let O=this._namespaceLookup[c];O&&O.register(a,g)&&this.totalAnimations++}destroy(c,a){if(!c)return;const g=this._fetchNamespace(c);this.afterFlush(()=>{this.namespacesByHostElement.delete(g.hostElement),delete this._namespaceLookup[c];const O=this._namespaceList.indexOf(g);O>=0&&this._namespaceList.splice(O,1)}),this.afterFlushAnimationsDone(()=>g.destroy(a))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const a=new Set,g=this.statesByElement.get(c);if(g){const O=Object.keys(g);for(let k=0;k<O.length;k++){const oe=g[O[k]].namespaceId;if(oe){const he=this._fetchNamespace(oe);he&&a.add(he)}}}return a}trigger(c,a,g,O){if(w(a)){const k=this._fetchNamespace(c);if(k)return k.trigger(a,g,O),!0}return!1}insertNode(c,a,g,O){if(!w(a))return;const k=a[$n];if(k&&k.setForRemoval){k.setForRemoval=!1,k.setForMove=!0;const oe=this.collectedLeaveElements.indexOf(a);oe>=0&&this.collectedLeaveElements.splice(oe,1)}if(c){const oe=this._fetchNamespace(c);oe&&oe.insertNode(a,g)}O&&this.collectEnterElement(a)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,a){a?this.disabledNodes.has(c)||(this.disabledNodes.add(c),Vn(c,Ge)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),mi(c,Ge))}removeNode(c,a,g,O){if(w(a)){const k=c?this._fetchNamespace(c):null;if(k?k.removeNode(a,O):this.markElementAsRemoved(c,a,!1,O),g){const oe=this.namespacesByHostElement.get(a);oe&&oe.id!==c&&oe.removeNode(a,O)}}else this._onRemovalComplete(a,O)}markElementAsRemoved(c,a,g,O,k){this.collectedLeaveElements.push(a),a[$n]={namespaceId:c,setForRemoval:O,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:k}}listen(c,a,g,O,k){return w(a)?this._fetchNamespace(c).listen(a,g,O,k):()=>{}}_buildInstruction(c,a,g,O,k){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,g,O,c.fromState.options,c.toState.options,a,k)}destroyInnerAnimations(c){let a=this.driver.query(c,Et,!0);a.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(c,wt,!0),a.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(c){const a=this.playersByElement.get(c);a&&a.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(c){const a=this.playersByQueriedElement.get(c);a&&a.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return De(this.players).onDone(()=>c());c()})}processLeaveNode(c){const a=c[$n];if(a&&a.setForRemoval){if(c[$n]=Ln,a.namespaceId){this.destroyInnerAnimations(c);const g=this._fetchNamespace(a.namespaceId);g&&g.clearElementCache(c)}this._onRemovalComplete(c,a.setForRemoval)}c.classList?.contains(Ge)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(c=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,O)=>this._balanceNamespaceList(g,O)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)Vn(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{a=this._flushAnimations(g,c)}finally{for(let O=0;O<g.length;O++)g[O]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],a.length?De(a).onDone(()=>{g.forEach(O=>O())}):g.forEach(O=>O())}}reportError(c){throw function ce(m){return new l.vHH(3402,Ct)}()}_flushAnimations(c,a){const g=new oo,O=[],k=new Map,oe=[],he=new Map,Te=new Map,Ze=new Map,Vt=new Set;this.disabledNodes.forEach(Kt=>{Vt.add(Kt);const hn=this.driver.query(Kt,".ng-animate-queued",!0);for(let Tn=0;Tn<hn.length;Tn++)Vt.add(hn[Tn])});const ln=this.bodyNode,Nn=Array.from(this.statesByElement.keys()),In=Er(Nn,this.collectedEnterElements),fn=new Map;let Bn=0;In.forEach((Kt,hn)=>{const Tn=X+Bn++;fn.set(hn,Tn),Kt.forEach(tr=>Vn(tr,Tn))});const Mr=[],zr=new Set,li=new Set;for(let Kt=0;Kt<this.collectedLeaveElements.length;Kt++){const hn=this.collectedLeaveElements[Kt],Tn=hn[$n];Tn&&Tn.setForRemoval&&(Mr.push(hn),zr.add(hn),Tn.hasAnimation?this.driver.query(hn,".ng-star-inserted",!0).forEach(tr=>zr.add(tr)):li.add(hn))}const Ui=new Map,_i=Er(Nn,Array.from(zr));_i.forEach((Kt,hn)=>{const Tn=Re+Bn++;Ui.set(hn,Tn),Kt.forEach(tr=>Vn(tr,Tn))}),c.push(()=>{In.forEach((Kt,hn)=>{const Tn=fn.get(hn);Kt.forEach(tr=>mi(tr,Tn))}),_i.forEach((Kt,hn)=>{const Tn=Ui.get(hn);Kt.forEach(tr=>mi(tr,Tn))}),Mr.forEach(Kt=>{this.processLeaveNode(Kt)})});const ra=[],cs=[];for(let Kt=this._namespaceList.length-1;Kt>=0;Kt--)this._namespaceList[Kt].drainQueuedTransitions(a).forEach(Tn=>{const tr=Tn.player,ni=Tn.element;if(ra.push(tr),this.collectedEnterElements.length){const ci=ni[$n];if(ci&&ci.setForMove){if(ci.previousTriggersValues&&ci.previousTriggersValues.has(Tn.triggerName)){const sa=ci.previousTriggersValues.get(Tn.triggerName),oa=this.statesByElement.get(Tn.element);oa&&oa[Tn.triggerName]&&(oa[Tn.triggerName].value=sa)}return void tr.destroy()}}const ds=!ln||!this.driver.containsElement(ln,ni),Qi=Ui.get(ni),eo=fn.get(ni),Gt=this._buildInstruction(Tn,g,eo,Qi,ds);if(Gt.errors&&Gt.errors.length)return void cs.push(Gt);if(ds)return tr.onStart(()=>Tt(ni,Gt.fromStyles)),tr.onDestroy(()=>Dt(ni,Gt.toStyles)),void O.push(tr);if(Tn.isFallbackTransition)return tr.onStart(()=>Tt(ni,Gt.fromStyles)),tr.onDestroy(()=>Dt(ni,Gt.toStyles)),void O.push(tr);const Ea=[];Gt.timelines.forEach(ci=>{ci.stretchStartingKeyframe=!0,this.disabledNodes.has(ci.element)||Ea.push(ci)}),Gt.timelines=Ea,g.append(ni,Gt.timelines),oe.push({instruction:Gt,player:tr,element:ni}),Gt.queriedElements.forEach(ci=>yt(he,ci,[]).push(tr)),Gt.preStyleProps.forEach((ci,sa)=>{const oa=Object.keys(ci);if(oa.length){let Da=Te.get(sa);Da||Te.set(sa,Da=new Set),oa.forEach(Ji=>Da.add(Ji))}}),Gt.postStyleProps.forEach((ci,sa)=>{const oa=Object.keys(ci);let Da=Ze.get(sa);Da||Ze.set(sa,Da=new Set),oa.forEach(Ji=>Da.add(Ji))})});if(cs.length){const Kt=[];cs.forEach(hn=>{Kt.push(function z(m,c){return new l.vHH(3505,Ct)}())}),ra.forEach(hn=>hn.destroy()),this.reportError(Kt)}const ui=new Map,Ki=new Map;oe.forEach(Kt=>{const hn=Kt.element;g.has(hn)&&(Ki.set(hn,hn),this._beforeAnimationBuild(Kt.player.namespaceId,Kt.instruction,ui))}),O.forEach(Kt=>{const hn=Kt.element;this._getPreviousPlayers(hn,!1,Kt.namespaceId,Kt.triggerName,null).forEach(tr=>{yt(ui,hn,[]).push(tr),tr.destroy()})});const Ii=Mr.filter(Kt=>zn(Kt,Te,Ze)),Js=new Map;nn(Js,this.driver,li,Ze,Ce.l3).forEach(Kt=>{zn(Kt,Te,Ze)&&Ii.push(Kt)});const ia=new Map;In.forEach((Kt,hn)=>{nn(ia,this.driver,new Set(Kt),Te,Ce.k1)}),Ii.forEach(Kt=>{const hn=Js.get(Kt),Tn=ia.get(Kt);Js.set(Kt,{...hn,...Tn})});const Xs=[],il=[],Sl={};oe.forEach(Kt=>{const{element:hn,player:Tn,instruction:tr}=Kt;if(g.has(hn)){if(Vt.has(hn))return Tn.onDestroy(()=>Dt(hn,tr.toStyles)),Tn.disabled=!0,Tn.overrideTotalTime(tr.totalTime),void O.push(Tn);let ni=Sl;if(Ki.size>1){let Qi=hn;const eo=[];for(;Qi=Qi.parentNode;){const Gt=Ki.get(Qi);if(Gt){ni=Gt;break}eo.push(Qi)}eo.forEach(Gt=>Ki.set(Gt,ni))}const ds=this._buildAnimation(Tn.namespaceId,tr,ui,k,ia,Js);if(Tn.setRealPlayer(ds),ni===Sl)Xs.push(Tn);else{const Qi=this.playersByElement.get(ni);Qi&&Qi.length&&(Tn.parentPlayer=De(Qi)),O.push(Tn)}}else Tt(hn,tr.fromStyles),Tn.onDestroy(()=>Dt(hn,tr.toStyles)),il.push(Tn),Vt.has(hn)&&O.push(Tn)}),il.forEach(Kt=>{const hn=k.get(Kt.element);if(hn&&hn.length){const Tn=De(hn);Kt.setRealPlayer(Tn)}}),O.forEach(Kt=>{Kt.parentPlayer?Kt.syncPlayerEvents(Kt.parentPlayer):Kt.destroy()});for(let Kt=0;Kt<Mr.length;Kt++){const hn=Mr[Kt],Tn=hn[$n];if(mi(hn,Re),Tn&&Tn.hasAnimation)continue;let tr=[];if(he.size){let ds=he.get(hn);ds&&ds.length&&tr.push(...ds);let Qi=this.driver.query(hn,wt,!0);for(let eo=0;eo<Qi.length;eo++){let Gt=he.get(Qi[eo]);Gt&&Gt.length&&tr.push(...Gt)}}const ni=tr.filter(ds=>!ds.destroyed);ni.length?Yi(this,hn,ni):this.processLeaveNode(hn)}return Mr.length=0,Xs.forEach(Kt=>{this.players.push(Kt),Kt.onDone(()=>{Kt.destroy();const hn=this.players.indexOf(Kt);this.players.splice(hn,1)}),Kt.play()}),Xs}elementContainsData(c,a){let g=!1;const O=a[$n];return O&&O.setForRemoval&&(g=!0),this.playersByElement.has(a)&&(g=!0),this.playersByQueriedElement.has(a)&&(g=!0),this.statesByElement.has(a)&&(g=!0),this._fetchNamespace(c).elementContainsData(a)||g}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,a,g,O,k){let oe=[];if(a){const he=this.playersByQueriedElement.get(c);he&&(oe=he)}else{const he=this.playersByElement.get(c);if(he){const Te=!k||k==yr;he.forEach(Ze=>{Ze.queued||!Te&&Ze.triggerName!=O||oe.push(Ze)})}}return(g||O)&&(oe=oe.filter(he=>!(g&&g!=he.namespaceId||O&&O!=he.triggerName))),oe}_beforeAnimationBuild(c,a,g){const k=a.element,oe=a.isRemovalTransition?void 0:c,he=a.isRemovalTransition?void 0:a.triggerName;for(const Te of a.timelines){const Ze=Te.element,Vt=Ze!==k,ln=yt(g,Ze,[]);this._getPreviousPlayers(Ze,Vt,oe,he,a.toState).forEach(In=>{const fn=In.getRealPlayer();fn.beforeDestroy&&fn.beforeDestroy(),In.destroy(),ln.push(In)})}Tt(k,a.fromStyles)}_buildAnimation(c,a,g,O,k,oe){const he=a.triggerName,Te=a.element,Ze=[],Vt=new Set,ln=new Set,Nn=a.timelines.map(fn=>{const Bn=fn.element;Vt.add(Bn);const Mr=Bn[$n];if(Mr&&Mr.removedBeforeQueried)return new Ce.ZN(fn.duration,fn.delay);const zr=Bn!==Te,li=function Oi(m){const c=[];return bs(m,c),c}((g.get(Bn)||or).map(ui=>ui.getRealPlayer())).filter(ui=>!!ui.element&&ui.element===Bn),Ui=k.get(Bn),_i=oe.get(Bn),ra=Ye(0,this._normalizer,0,fn.keyframes,Ui,_i),cs=this._buildPlayer(fn,ra,li);if(fn.subTimeline&&O&&ln.add(Bn),zr){const ui=new gi(c,he,Bn);ui.setRealPlayer(cs),Ze.push(ui)}return cs});Ze.forEach(fn=>{yt(this.playersByQueriedElement,fn.element,[]).push(fn),fn.onDone(()=>function S(m,c,a){let g;if(m instanceof Map){if(g=m.get(c),g){if(g.length){const O=g.indexOf(a);g.splice(O,1)}0==g.length&&m.delete(c)}}else if(g=m[c],g){if(g.length){const O=g.indexOf(a);g.splice(O,1)}0==g.length&&delete m[c]}return g}(this.playersByQueriedElement,fn.element,fn))}),Vt.forEach(fn=>Vn(fn,It));const In=De(Nn);return In.onDestroy(()=>{Vt.forEach(fn=>mi(fn,It)),Dt(Te,a.toStyles)}),ln.forEach(fn=>{yt(O,fn,[]).push(In)}),In}_buildPlayer(c,a,g){return a.length>0?this.driver.animate(c.element,a,c.duration,c.delay,c.easing,g):new Ce.ZN(c.duration,c.delay)}}class gi{constructor(c,a,g){this.namespaceId=c,this.triggerName=a,this.element=g,this._player=new Ce.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(g=>Pt(c,a,void 0,g))}),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){yt(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 w(m){return m&&1===m.nodeType}function Ke(m,c){const a=m.style.display;return m.style.display=c??"none",a}function nn(m,c,a,g,O){const k=[];a.forEach(Te=>k.push(Ke(Te)));const oe=[];g.forEach((Te,Ze)=>{const Vt={};Te.forEach(ln=>{const Nn=Vt[ln]=c.computeStyle(Ze,ln,O);(!Nn||0==Nn.length)&&(Ze[$n]=Bt,oe.push(Ze))}),m.set(Ze,Vt)});let he=0;return a.forEach(Te=>Ke(Te,k[he++])),oe}function Er(m,c){const a=new Map;if(m.forEach(he=>a.set(he,[])),0==c.length)return a;const O=new Set(c),k=new Map;function oe(he){if(!he)return 1;let Te=k.get(he);if(Te)return Te;const Ze=he.parentNode;return Te=a.has(Ze)?Ze:O.has(Ze)?1:oe(Ze),k.set(he,Te),Te}return c.forEach(he=>{const Te=oe(he);1!==Te&&a.get(Te).push(he)}),a}function Vn(m,c){m.classList?.add(c)}function mi(m,c){m.classList?.remove(c)}function Yi(m,c,a){De(a).onDone(()=>m.processLeaveNode(c))}function bs(m,c){for(let a=0;a<m.length;a++){const g=m[a];g instanceof Ce.ZE?bs(g.players,c):c.push(g)}}function zn(m,c,a){const g=a.get(m);if(!g)return!1;let O=c.get(m);return O?g.forEach(k=>O.add(k)):c.set(m,g),a.delete(m),!0}class ti{constructor(c,a,g){this.bodyNode=c,this._driver=a,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(O,k)=>{},this._transitionEngine=new ws(c,a,g),this._timelineEngine=new T(c,a,g),this._transitionEngine.onRemovalComplete=(O,k)=>this.onRemovalComplete(O,k)}registerTrigger(c,a,g,O,k){const oe=c+"-"+O;let he=this._triggerCache[oe];if(!he){const Te=[],Vt=Si(this._driver,k,Te,[]);if(Te.length)throw function Fr(m,c){return new l.vHH(3404,Ct)}();he=function is(m,c,a){return new Hs(m,c,a)}(O,Vt,this._normalizer),this._triggerCache[oe]=he}this._transitionEngine.registerTrigger(a,O,he)}register(c,a){this._transitionEngine.register(c,a)}destroy(c,a){this._transitionEngine.destroy(c,a)}onInsert(c,a,g,O){this._transitionEngine.insertNode(c,a,g,O)}onRemove(c,a,g,O){this._transitionEngine.removeNode(c,a,O||!1,g)}disableAnimations(c,a){this._transitionEngine.markElementAsDisabled(c,a)}process(c,a,g,O){if("@"==g.charAt(0)){const[k,oe]=Ut(g);this._timelineEngine.command(k,a,oe,O)}else this._transitionEngine.trigger(c,a,g,O)}listen(c,a,g,O,k){if("@"==g.charAt(0)){const[oe,he]=Ut(g);return this._timelineEngine.listen(oe,a,he,k)}return this._transitionEngine.listen(c,a,g,O,k)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Es=(()=>{class m{constructor(a,g,O){this._element=a,this._startStyles=g,this._endStyles=O,this._state=0;let k=m.initialStylesByElement.get(a);k||m.initialStylesByElement.set(a,k={}),this._initialStyles=k}start(){this._state<1&&(this._startStyles&&Dt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Dt(this._element,this._initialStyles),this._endStyles&&(Dt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(m.initialStylesByElement.delete(this._element),this._startStyles&&(Tt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tt(this._element,this._endStyles),this._endStyles=null),Dt(this._element,this._initialStyles),this._state=3)}}return m.initialStylesByElement=new WeakMap,m})();function Ds(m){let c=null;const a=Object.keys(m);for(let g=0;g<a.length;g++){const O=a[g];Vi(O)&&(c=c||{},c[O]=m[O])}return c}function Vi(m){return"display"===m||"position"===m}class lo{constructor(c,a,g,O){this.element=c,this.keyframes=a,this.options=g,this._specialStyles=O,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(c=>c()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(c,a,g){return c.animate(a,g)}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(g=>{"offset"!=g&&(c[g]=this._finished?a[g]:Nr(this.element,g))})}this.currentSnapshot=c}triggerCallback(c){const a="start"==c?this._onStartFns:this._onDoneFns;a.forEach(g=>g()),a.length=0}}class fa{validateStyleProperty(c){return Wn(c)}matchesElement(c,a){return!1}containsElement(c,a){return Ft(c,a)}getParentElement(c){return Wt(c)}query(c,a,g){return yn(c,a,g)}computeStyle(c,a,g){return window.getComputedStyle(c)[a]}animate(c,a,g,O,k,oe=[]){const Te={duration:g,delay:O,fill:0==O?"both":"forwards"};k&&(Te.easing=k);const Ze={},Vt=oe.filter(Nn=>Nn instanceof lo);(function cr(m,c){return 0===m||0===c})(g,O)&&Vt.forEach(Nn=>{let In=Nn.currentSnapshot;Object.keys(In).forEach(fn=>Ze[fn]=In[fn])}),a=function Ci(m,c,a){const g=Object.keys(a);if(g.length&&c.length){let k=c[0],oe=[];if(g.forEach(he=>{k.hasOwnProperty(he)||oe.push(he),k[he]=a[he]}),oe.length)for(var O=1;O<c.length;O++){let he=c[O];oe.forEach(function(Te){he[Te]=Nr(m,Te)})}}return c}(c,a=a.map(Nn=>He(Nn,!1)),Ze);const ln=function Vr(m,c){let a=null,g=null;return Array.isArray(c)&&c.length?(a=Ds(c[0]),c.length>1&&(g=Ds(c[c.length-1]))):c&&(a=Ds(c)),a||g?new Es(m,a,g):null}(c,a);return new lo(c,a,Te,ln)}}let ha=(()=>{class m extends Ce._j{constructor(a,g){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(g.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(a){const g=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(a)?(0,Ce.vP)(a):a;return ss(this._renderer,null,g,"register",[O]),new hl(g,this._renderer)}}return m.\u0275fac=function(a){return new(a||m)(l.LFG(l.FYo),l.LFG(_.K0))},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac}),m})();class hl extends Ce.LC{constructor(c,a){super(),this._id=c,this._renderer=a}create(c,a){return new Fu(this._id,c,a||{},this._renderer)}}class Fu{constructor(c,a,g,O){this.id=c,this.element=a,this._renderer=O,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(c,a){return this._renderer.listen(this.element,`@@${this.id}:${c}`,a)}_command(c,...a){return ss(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 ss(m,c,a,g,O){return m.setProperty(c,`@@${a}:${g}`,O)}const os="@.disabled";let pa=(()=>{class m{constructor(a,g,O){this.delegate=a,this.engine=g,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),g.onRemovalComplete=(k,oe)=>{const he=oe?.parentNode(k);he&&oe.removeChild(he,k)}}createRenderer(a,g){const k=this.delegate.createRenderer(a,g);if(!(a&&g&&g.data&&g.data.animation)){let Vt=this._rendererCache.get(k);return Vt||(Vt=new as("",k,this.engine),this._rendererCache.set(k,Vt)),Vt}const oe=g.id,he=g.id+"-"+this._currentId;this._currentId++,this.engine.register(he,a);const Te=Vt=>{Array.isArray(Vt)?Vt.forEach(Te):this.engine.registerTrigger(oe,he,a,Vt.name,Vt)};return g.data.animation.forEach(Te),new oi(this,he,k,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,g,O){a>=0&&a<this._microtaskId?this._zone.run(()=>g(O)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(k=>{const[oe,he]=k;oe(he)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([g,O]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return m.\u0275fac=function(a){return new(a||m)(l.LFG(l.FYo),l.LFG(ti),l.LFG(l.R0b))},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac}),m})();class as{constructor(c,a,g){this.namespaceId=c,this.delegate=a,this.engine=g,this.destroyNode=this.delegate.destroyNode?O=>a.destroyNode(O):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(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,g,O=!0){this.delegate.insertBefore(c,a,g),this.engine.onInsert(this.namespaceId,a,c,O)}removeChild(c,a,g){this.engine.onRemove(this.namespaceId,a,this.delegate,g)}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,g,O){this.delegate.setAttribute(c,a,g,O)}removeAttribute(c,a,g){this.delegate.removeAttribute(c,a,g)}addClass(c,a){this.delegate.addClass(c,a)}removeClass(c,a){this.delegate.removeClass(c,a)}setStyle(c,a,g,O){this.delegate.setStyle(c,a,g,O)}removeStyle(c,a,g){this.delegate.removeStyle(c,a,g)}setProperty(c,a,g){"@"==a.charAt(0)&&a==os?this.disableAnimations(c,!!g):this.delegate.setProperty(c,a,g)}setValue(c,a){this.delegate.setValue(c,a)}listen(c,a,g){return this.delegate.listen(c,a,g)}disableAnimations(c,a){this.engine.disableAnimations(c,a)}}class oi extends as{constructor(c,a,g,O){super(a,g,O),this.factory=c,this.namespaceId=a}setProperty(c,a,g){"@"==a.charAt(0)?"."==a.charAt(1)&&a==os?this.disableAnimations(c,g=void 0===g||!!g):this.engine.process(this.namespaceId,c,a.substr(1),g):this.delegate.setProperty(c,a,g)}listen(c,a,g){if("@"==a.charAt(0)){const O=function Wo(m){switch(m){case"body":return document.body;case"document":return document;case"window":return window;default:return m}}(c);let k=a.substr(1),oe="";return"@"!=k.charAt(0)&&([k,oe]=function qo(m){const c=m.indexOf(".");return[m.substring(0,c),m.substr(c+1)]}(k)),this.engine.listen(this.namespaceId,O,k,oe,he=>{this.factory.scheduleListenerCallback(he._data||-1,g,he)})}return this.delegate.listen(c,a,g)}}let tu=(()=>{class m extends ti{constructor(a,g,O){super(a.body,g,O)}ngOnDestroy(){this.flush()}}return m.\u0275fac=function(a){return new(a||m)(l.LFG(_.K0),l.LFG(Zt),l.LFG(ys))},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac}),m})();const bi=new l.OlP("AnimationModuleType"),js=[{provide:Ce._j,useClass:ha},{provide:ys,useFactory:function nu(){return new vs}},{provide:ti,useClass:tu},{provide:l.FYo,useFactory:function Zi(m,c,a){return new pa(m,c,a)},deps:[_t.se,ti,l.R0b]}],ga=[{provide:Zt,useFactory:()=>new fa},{provide:bi,useValue:"BrowserAnimations"},...js],ru=[{provide:Zt,useClass:Dn},{provide:bi,useValue:"NoopAnimations"},...js];let To=(()=>{class m{static withConfig(a){return{ngModule:m,providers:a.disableAnimations?ru:ga}}}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({providers:ga,imports:[_t.b2]}),m})();const pl=function(m,c){return{"pull-left":m,"float-left":c}},Yo=function(m,c){return{"pull-right":m,"float-right":c}},Me=function(m,c){return{disabled:m,currentPage:c}};function Je(m,c){if(1&m){const a=l.EpF();l.TgZ(0,"li",11)(1,"a",12),l.NdJ("click",function(O){return l.CHM(a),l.oxw().selectPage(1,O)}),l.GkF(2,13),l.qZA()()}if(2&m){const a=l.oxw(),g=l.MAs(13);l.ekj("disabled",a.noPrevious()||a.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",a.customFirstTemplate||g)("ngTemplateOutletContext",l.WLB(4,Me,a.noPrevious()||a.disabled,a.page))}}function qe(m,c){if(1&m){const a=l.EpF();l.TgZ(0,"li",14)(1,"a",12),l.NdJ("click",function(O){l.CHM(a);const k=l.oxw();return k.selectPage(k.page-1,O)}),l.GkF(2,13),l.qZA()()}if(2&m){const a=l.oxw(),g=l.MAs(11);l.ekj("disabled",a.noPrevious()||a.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",a.customPreviousTemplate||g)("ngTemplateOutletContext",l.WLB(4,Me,a.noPrevious()||a.disabled,a.page))}}const $t=function(m,c,a){return{disabled:m,$implicit:c,currentPage:a}};function An(m,c){if(1&m){const a=l.EpF();l.TgZ(0,"li",15)(1,"a",12),l.NdJ("click",function(O){const oe=l.CHM(a).$implicit;return l.oxw().selectPage(oe.number,O)}),l.GkF(2,13),l.qZA()()}if(2&m){const a=c.$implicit,g=l.oxw(),O=l.MAs(7);l.ekj("active",a.active)("disabled",g.disabled&&!a.active),l.xp6(2),l.Q6J("ngTemplateOutlet",g.customPageTemplate||O)("ngTemplateOutletContext",l.kEZ(6,$t,g.disabled,a,g.page))}}function On(m,c){if(1&m){const a=l.EpF();l.TgZ(0,"li",16)(1,"a",12),l.NdJ("click",function(O){l.CHM(a);const k=l.oxw();return k.selectPage(k.page+1,O)}),l.GkF(2,13),l.qZA()()}if(2&m){const a=l.oxw(),g=l.MAs(9);l.ekj("disabled",a.noNext()||a.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",a.customNextTemplate||g)("ngTemplateOutletContext",l.WLB(4,Me,a.noNext()||a.disabled,a.page))}}function Dr(m,c){if(1&m){const a=l.EpF();l.TgZ(0,"li",17)(1,"a",12),l.NdJ("click",function(O){l.CHM(a);const k=l.oxw();return k.selectPage(k.totalPages,O)}),l.GkF(2,13),l.qZA()()}if(2&m){const a=l.oxw(),g=l.MAs(15);l.ekj("disabled",a.noNext()||a.disabled),l.xp6(2),l.Q6J("ngTemplateOutlet",a.customLastTemplate||g)("ngTemplateOutletContext",l.WLB(4,Me,a.noNext()||a.disabled,a.page))}}function Cn(m,c){1&m&&l._uU(0),2&m&&l.Oqu(c.$implicit.text)}function Ha(m,c){if(1&m&&l._uU(0),2&m){const a=l.oxw();l.Oqu(a.getText("next"))}}function iu(m,c){if(1&m&&l._uU(0),2&m){const a=l.oxw();l.Oqu(a.getText("previous"))}}function Bi(m,c){if(1&m&&l._uU(0),2&m){const a=l.oxw();l.Oqu(a.getText("first"))}}function ma(m,c){if(1&m&&l._uU(0),2&m){const a=l.oxw();l.Oqu(a.getText("last"))}}let ja=(()=>{class m{constructor(){this.main={itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"\xab Previous",nextText:"Next \xbb",pageBtnClass:"",align:!0}}}return m.\u0275fac=function(a){return new(a||m)},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const Zo={provide:We.JU,useExisting:(0,l.Gpc)(()=>$s),multi:!0};let $s=(()=>{class m{constructor(a,g,O){this.elementRef=a,this.changeDetection=O,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({},g.main,g.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 g=this._page;this._page=a>this.totalPages?this.totalPages:a||1,this.changeDetection.markForCheck(),!(g===this._page||typeof g>"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,g){g&&g.preventDefault(),this.disabled||(g&&g.target&&g.target.blur(),this.writeValue(a),this.onChange(this.page))}makePage(a,g,O){return{text:g,number:a,active:O}}getPages(a,g){const O=[];let k=1,oe=g;const he=typeof this.maxSize<"u"&&this.maxSize<g;he&&this.maxSize&&(this.rotate?(k=Math.max(a-Math.floor(this.maxSize/2),1),oe=k+this.maxSize-1,oe>g&&(oe=g,k=oe-this.maxSize+1)):(k=(Math.ceil(a/this.maxSize)-1)*this.maxSize+1,oe=Math.min(k+this.maxSize-1,g)));for(let Te=k;Te<=oe;Te++){const Ze=this.makePage(Te,Te.toString(),Te===a);O.push(Ze)}if(he&&!this.rotate){if(k>1){const Te=this.makePage(k-1,"...",!1);O.unshift(Te)}if(oe<g){const Te=this.makePage(oe+1,"...",!1);O.push(Te)}}return O}calculateTotalPages(){const a=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(a||0,1)}}return m.\u0275fac=function(a){return new(a||m)(l.Y36(l.SBq),l.Y36(ja),l.Y36(l.sBO))},m.\u0275cmp=l.Xpm({type:m,selectors:[["pager"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[l._Bn([Zo])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(a,g){1&a&&(l.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),l.NdJ("click",function(k){return g.selectPage(g.page-1,k)}),l._uU(3),l.qZA()(),l.TgZ(4,"li",1)(5,"a",2),l.NdJ("click",function(k){return g.selectPage(g.page+1,k)}),l._uU(6),l.qZA()()()),2&a&&(l.xp6(1),l.Tol(g.pageBtnClass),l.ekj("disabled",g.noPrevious())("previous",g.align),l.Q6J("ngClass",l.WLB(18,pl,g.align,g.align)),l.xp6(2),l.Oqu(g.getText("previous")),l.xp6(1),l.Tol(g.pageBtnClass),l.ekj("disabled",g.noNext())("next",g.align),l.Q6J("ngClass",l.WLB(21,Yo,g.align,g.align)),l.xp6(2),l.Oqu(g.getText("next")))},directives:[_.mk],encapsulation:2}),m})();const Gs={provide:We.JU,useExisting:(0,l.Gpc)(()=>Qn),multi:!0};let Qn=(()=>{class m{constructor(a,g,O){this.elementRef=a,this.changeDetection=O,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(g.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 g=this._page;this._page=a>this.totalPages?this.totalPages:a||1,this.changeDetection.markForCheck(),!(g===this._page||typeof g>"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,g){g&&g.preventDefault(),this.disabled||(g&&g.target&&g.target.blur(),this.writeValue(a),this.onChange(this.page))}makePage(a,g,O){return{text:g,number:a,active:O}}getPages(a,g){const O=[];let k=1,oe=g;const he=typeof this.maxSize<"u"&&this.maxSize<g;he&&this.maxSize&&(this.rotate?(k=Math.max(a-Math.floor(this.maxSize/2),1),oe=k+this.maxSize-1,oe>g&&(oe=g,k=oe-this.maxSize+1)):(k=(Math.ceil(a/this.maxSize)-1)*this.maxSize+1,oe=Math.min(k+this.maxSize-1,g)));for(let Te=k;Te<=oe;Te++){const Ze=this.makePage(Te,Te.toString(),Te===a);O.push(Ze)}if(he&&!this.rotate){if(k>1){const Te=this.makePage(k-1,"...",!1);O.unshift(Te)}if(oe<g){const Te=this.makePage(oe+1,"...",!1);O.push(Te)}}return O}calculateTotalPages(){const a=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(a||0,1)}}return m.\u0275fac=function(a){return new(a||m)(l.Y36(l.SBq),l.Y36(ja),l.Y36(l.sBO))},m.\u0275cmp=l.Xpm({type:m,selectors:[["pagination"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",customPageTemplate:"customPageTemplate",customNextTemplate:"customNextTemplate",customPreviousTemplate:"customPreviousTemplate",customFirstTemplate:"customFirstTemplate",customLastTemplate:"customLastTemplate",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[l._Bn([Gs])],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,g){1&a&&(l.TgZ(0,"ul",0),l.YNc(1,Je,3,7,"li",1),l.YNc(2,qe,3,7,"li",2),l.YNc(3,An,3,10,"li",3),l.YNc(4,On,3,7,"li",4),l.YNc(5,Dr,3,7,"li",5),l.qZA(),l.YNc(6,Cn,1,1,"ng-template",null,6,l.W1O),l.YNc(8,Ha,1,1,"ng-template",null,7,l.W1O),l.YNc(10,iu,1,1,"ng-template",null,8,l.W1O),l.YNc(12,Bi,1,1,"ng-template",null,9,l.W1O),l.YNc(14,ma,1,1,"ng-template",null,10,l.W1O)),2&a&&(l.Q6J("ngClass",g.classMap),l.xp6(1),l.Q6J("ngIf",g.boundaryLinks),l.xp6(1),l.Q6J("ngIf",g.directionLinks),l.xp6(1),l.Q6J("ngForOf",g.pages),l.xp6(1),l.Q6J("ngIf",g.directionLinks),l.xp6(1),l.Q6J("ngIf",g.boundaryLinks))},directives:[_.mk,_.O5,_.tP,_.sg],encapsulation:2}),m})(),_a=(()=>{class m{static forRoot(){return{ngModule:m,providers:[]}}}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez]]}),m})();const zs=["*"],va=["header"];function Ei(m,c){if(1&m){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&m){const a=l.oxw();l.uIk("id",a.buttonID)}}const So=[[["","callout-heading",""]],"*"],gl=["[callout-heading]","*"],_l=function(m){return{visibility:m}};function uo(m,c){if(1&m&&(l.TgZ(0,"label",10)(1,"span",11),l._uU(2),l.qZA()()),2&m){const a=l.oxw();l.s9C("for",a.toggleID),l.uIk("aria-label",a.labelValue),l.xp6(1),l.uIk("id",a.onTextID),l.xp6(1),l.hij(" ",a.isToggleOff?a.offText:a.onText," ")}}function za(m,c){if(1&m&&l._UZ(0,"i",12),2&m){const a=l.oxw();l.uIk("id",a.leftSpinnerID)}}function co(m,c){if(1&m&&(l.TgZ(0,"label",13)(1,"span",14),l._uU(2),l.qZA()()),2&m){const a=l.oxw();l.s9C("for",a.toggleID),l.uIk("aria-label",a.labelValue),l.xp6(1),l.uIk("id",a.offTextID),l.xp6(1),l.hij(" ",a.isToggleOff?a.offText:a.onText," ")}}function ls(m,c){if(1&m&&l._UZ(0,"i",15),2&m){const a=l.oxw();l.uIk("id",a.rightSpinnerID)}}const Po=function(m,c,a){return{"switch-on":m,"switch-off":c,disabled:a}},yl=function(m){return{disabled:m}},Oo=function(m,c){return{"switch-on":m,"switch-off":c}};function Di(m,c){if(1&m){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&m){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 Ms(m,c){if(1&m){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&m){const a=l.oxw(2);l.Q6J("id",a.moreButtonID),l.xp6(1),l.hij(" ",a.moreLabel," ")}}function fo(m,c){if(1&m&&(l.TgZ(0,"strong",11),l._uU(1),l.qZA()),2&m){const a=l.oxw(2);l.xp6(1),l.Oqu(a.label)}}function Ts(m,c){if(1&m&&(l.TgZ(0,"span",12),l._uU(1),l.qZA()),2&m){const a=l.oxw(2);l.Q6J("id",a.textMessageID),l.xp6(1),l.hij(" ",a.message," ")}}function vl(m,c){if(1&m&&(l.TgZ(0,"li")(1,"span",12),l._uU(2),l.qZA()()),2&m){const a=c.$implicit,g=c.index,O=l.oxw(3);l.xp6(1),l.s9C("id",O.textListID+"_"+g),l.xp6(1),l.hij(" ",a," ")}}function Ws(m,c){if(1&m&&(l.TgZ(0,"ul",13),l.YNc(1,vl,3,2,"li",14),l.qZA()),2&m){const a=l.oxw(2);l.xp6(1),l.Q6J("ngForOf",a.alert.list)}}function Cl(m,c){if(1&m&&(l.TgZ(0,"div",1),l.YNc(1,Di,3,4,"button",2),l.YNc(2,Ms,2,2,"button",3),l._UZ(3,"span"),l.TgZ(4,"div",4),l.YNc(5,fo,2,1,"strong",5),l.TgZ(6,"span",6),l.YNc(7,Ts,2,2,"span",7),l.qZA(),l.YNc(8,Ws,2,1,"ul",8),l.qZA()()),2&m){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 ou(m,c){if(1&m){const a=l.EpF();l.TgZ(0,"div",6)(1,"cp-alert",7),l.NdJ("close",function(){const k=l.CHM(a).$implicit;return l.oxw().alertClosed(k)}),l.qZA()()}if(2&m){const a=c.$implicit;l.xp6(1),l.Q6J("alert",a)}}function Ur(m,c){if(1&m&&l._UZ(0,"div",8),2&m){const a=l.oxw();l.Q6J("ngClass",a.positionClasses)}}const Hr=["searchInput"];function wa(m,c){if(1&m&&(l.TgZ(0,"span",6),l._uU(1),l.qZA()),2&m){const a=l.oxw();l.xp6(1),l.Oqu(a.clearIconLabel)}}function Ys(m,c){if(1&m){const a=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){const k=l.CHM(a).$implicit;return l.oxw().onOptionClicked(k)}),l.qZA()}if(2&m){const a=c.$implicit,g=l.oxw();l.Q6J("disabled",g.disabled)("selected",g.isOptionSelected(a))("value",a)}}function Xo(m,c){1&m&&l._uU(0," >\n")}function ho(m,c){1&m&&l._uU(0," <\n")}function ea(m,c){1&m&&l._uU(0," >>\n")}function j(m,c){1&m&&l._uU(0," <<\n")}class jr{constructor(c,a,g=jr.defaultOptions){this._message=c,this._type=a;const O=g.id?g.id:Math.random().toString(36).substr(2,9);this._id=O,this._closable=g.isCloseable??!0,this._autoClosePeriod=g.autoClosePeriod,this._list=g.list,this._showMore=g.showMore||jr.defaultShowMore,this._ts=g.createdOn??Date.now()}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(c){const{message:a,type:g,...O}=c;return new jr(a,g,O)}}jr.defaultShowMore=!1,jr.defaultAutoClosePeriod=0,jr.defaultOptions={autoClosePeriod:jr.defaultAutoClosePeriod,list:[]};var y=(()=>{return(m=y||(y={}))[m.error=0]="error",m[m.success=1]="success",m[m.warning=2]="warning",m[m.information=3]="information",y;var m})(),p=(()=>{return(m=p||(p={})).add="add",m.remove="remove",m.clear="clear",p;var m})();let d=(()=>{class m{constructor(){this._alertEventsSource=new re.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(a,g=m.defaultGroup){this._alerts[g]||(this._alerts[g]=[]);const O=a instanceof jr?a:jr.makeAlert(a);if(this.list(g).push(O),this._alertEventsSource.next({type:p.add,group:g,alert:O}),(0,l.X6Q)())switch(O.type){case y.error:console.error(O.message,O);break;case y.warning:console.warn(O.message,O);break;default:console.log(O.message,O)}return O}success(a,g=m.defaultGroup){return this.add(new jr(a,y.success,m.defaultSuccessOptions),g)}error(a,g=m.defaultGroup){return this.add({message:a,type:y.error},g)}info(a,g=m.defaultGroup){return this.add({message:a,type:y.information},g)}warn(a,g=m.defaultGroup){return this.add({message:a,type:y.warning},g)}removeById(a,g=m.defaultGroup){const O=this.list(g),k=O.findIndex(oe=>oe.id===a,0);if(-1!==k){const oe=O[k];O.splice(k,1),this._alertEventsSource.next({type:p.remove,group:g,alert:oe})}}clear(a=m.defaultGroup){this._alerts[a]=[],this._alertEventsSource.next({type:p.clear,group:a})}list(a=m.defaultGroup){return null==this._alerts[a]&&(this._alerts[a]=[]),this._alerts[a]}}return m.defaultGroup="__DEFAULT__",m.defaultSuccessOptions={autoClosePeriod:1e4},m.\u0275fac=function(a){return new(a||m)},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),b=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({providers:[d],imports:[[_.ez]]}),m})();var P=(()=>{return(m=P||(P={})).inline="inline",m.topLeft="top-left",m.topMiddle="top-middle",m.topRight="top-right",m.bottomLeft="bottom-left",m.bottomMiddle="bottom-middle",m.bottomRight="bottom-right",m.middleLeft="middle-left",m.middleMiddle="middle-middle",m.middleRight="middle-right",P;var m})();const Q=P.topRight,_e=P.topLeft;var wl=(()=>{return(m=wl||(wl={})).warnings="warnings",m.danger="danger",m.info="info",m.default="info",wl;var m})();let us=(()=>{class m{constructor(){this.calloutType=wl.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 m.\u0275fac=function(a){return new(a||m)},m.\u0275cmp=l.Xpm({type:m,selectors:[["cp-callout"]],viewQuery:function(a,g){if(1&a&&l.Gf(va,5),2&a){let O;l.iGM(O=l.CRH())&&(g.header=O.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:gl,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,g){1&a&&(l.F$t(So),l.TgZ(0,"div",0),l.YNc(1,Ei,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-",g.calloutType,""),l.uIk("aria-label",g.calloutType),l.xp6(1),l.Q6J("ngIf",g.closeable),l.xp6(1),l.uIk("id",g.headingID),l.xp6(3),l.uIk("id",g.contentID))},directives:[_.O5],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']}),m})(),Ks=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez]]}),m})();var Ps=(()=>{return(m=Ps||(Ps={})).loading="loading",m.disabled="disabled",m.enabled="enabled",Ps;var m})();let Lu=(()=>{class m{constructor(){this.click=new l.vpe,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(a){switch(a){case Ps.enabled:this.setToEnabled();break;case Ps.loading:this.setToLoading();break;case Ps.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(a){a.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}}return m.\u0275fac=function(a){return new(a||m)},m.\u0275cmp=l.Xpm({type:m,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:zs,decls:3,vars:8,consts:[[1,"btn","action-button",3,"id","type","ngClass","disabled","click"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(a,g){1&a&&(l.F$t(),l.TgZ(0,"button",0),l.NdJ("click",function(k){return g.onClick(k)}),l._UZ(1,"i",1),l.Hsn(2),l.qZA()),2&a&&(l.MGl("id","",g.id,"-button"),l.s9C("type",g.type),l.Q6J("ngClass",g.buttonClass)("disabled",g.isDisabled),l.xp6(1),l.MGl("id","",g.id,"-spinner"),l.Q6J("ngStyle",l.VKq(6,_l,g.showSpinner?"visible":"hidden")))},directives:[_.mk,_.PC],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']}),m})(),Os=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez]]}),m})();var ta=(()=>{return(m=ta||(ta={})).toggleOn="toggleSwitchOn",m.toggleOff="toggleSwitchOff",m.toggleUpdating="toggleSwitchUpdating",ta;var m})(),Ja=(()=>{return(m=Ja||(Ja={})).left="left",m.right="right",Ja;var m})();let Kd=(()=>{class m{constructor(a){this.locale=a,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new l.vpe,this._isToggleUpdating=!1,this._hasSpinner=!1}set toggleState(a){switch(this._toggleState=a,a){case ta.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case ta.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case ta.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(a){this.isDisabled||this._isToggleUpdating||("click"===a.type?this.toggleStatus.emit(a):"keyup"===a.type&&((13===a.keyCode||32===a.keyCode)&&this.toggleStatus.emit(a),this.isLTR?37!==a.keyCode||this._isToggleOffStatus?39===a.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(a):this.toggleStatus.emit(a):(37===a.keyCode&&this._isToggleOffStatus||39===a.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(a)))}isLabelVisible(a){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||a!==this.labelPosition)||void 0)}isSpinnerVisible(a){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||a!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return Ja.left}get rightLabelPosition(){return Ja.right}get isLTR(){return this.locale.isLtr}}return m.\u0275fac=function(a){return new(a||m)(l.Y36(rt.g))},m.\u0275cmp=l.Xpm({type:m,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"ngClass","click","keyup"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(a,g){1&a&&(l.TgZ(0,"div",0),l.NdJ("click",function(k){return g.checkToggle(k)})("keyup",function(k){return g.checkToggle(k)}),l.YNc(1,uo,3,4,"label",1),l.YNc(2,za,1,1,"i",2),l.TgZ(3,"div",3)(4,"div",4),l._UZ(5,"span",5)(6,"span",6)(7,"span",7),l.qZA()(),l.YNc(8,co,3,4,"label",8),l.YNc(9,ls,1,1,"i",9),l.qZA()),2&a&&(l.Q6J("ngClass",l.kEZ(10,Po,!g.isToggleOff,g.isToggleOff,g.isDisabled||g.isToggleUpdating)),l.uIk("id",g.toggleID)("value",g.labelValue)("aria-checked",!g.isToggleOff),l.xp6(1),l.Q6J("ngIf",g.isLabelVisible(g.leftLabelPosition)),l.xp6(1),l.Q6J("ngIf",g.isSpinnerVisible(g.leftLabelPosition)),l.xp6(1),l.Q6J("ngClass",l.VKq(14,yl,g.isDisabled||g.isToggleUpdating)),l.xp6(1),l.Q6J("ngClass",l.WLB(16,Oo,!g.isToggleOff,g.isToggleOff)),l.xp6(4),l.Q6J("ngIf",g.isLabelVisible(g.rightLabelPosition)),l.xp6(1),l.Q6J("ngIf",g.isSpinnerVisible(g.rightLabelPosition)))},directives:[_.mk,_.O5],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']}),m})(),Vu=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez,$e.m]]}),m})();var Gr=(()=>{return(m=Gr||(Gr={})).new="new",m.closed="closed",m.open="open",Gr;var m})();let Qd=(()=>{class m{constructor(a){this.locale=a,this.close=new l.vpe,this.toggleMore=new l.vpe,this.animationClass=Gr.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 y.success:this.label=this.locale.maketext("Success:");break;case y.error:this.label=this.locale.maketext("Error:");break;case y.information:this.label=this.locale.maketext("Information:");break;case y.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=Gr.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case y.error:return"type-icon fas fa-times-circle";case y.warning:return"type-icon fas fa-exclamation-triangle";case y.information:return"type-icon fas fa-info-circle";case y.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case y.error:return"danger";case y.warning:return"warning";case y.information:return"info";case y.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=Gr.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 m.\u0275fac=function(a){return new(a||m)(l.Y36(rt.g))},m.\u0275cmp=l.Xpm({type:m,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"id","title","click"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"id","click"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(a,g){1&a&&l.YNc(0,Cl,9,13,"div",0),2&a&&l.Q6J("ngIf",!g.isClosed)},directives:[_.O5,_.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,Ce.X$)("openClose",[(0,Ce.SB)(Gr.new,(0,Ce.oB)({opacity:0})),(0,Ce.SB)(Gr.open,(0,Ce.oB)({opacity:1})),(0,Ce.SB)(Gr.closed,(0,Ce.oB)({opacity:0,transform:"translateX(25%)"})),(0,Ce.eR)(`${Gr.open} => ${Gr.closed}`,[(0,Ce.jt)("0.25s")]),(0,Ce.eR)(`${Gr.new} => ${Gr.open}`,[(0,Ce.jt)("0.25s")]),(0,Ce.eR)(`${Gr.closed} => ${Gr.open}`,[(0,Ce.jt)("0.25s")])])]}}),m})(),Bu=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez,To,$e.m]]}),m})(),uu=(()=>{class m{constructor(a){this.locale=a}get position(){return this.locale.isLtr?Q:_e}}return m.\u0275fac=function(a){return new(a||m)(l.LFG(rt.g))},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),el=(()=>{class m{constructor(a,g){this._alertService=a,this._positionService=g,this.alerts=this.alerts?this.alerts:[]}set position(a){this._position=((m,c=P.topRight)=>{if(m){const a=(m=>{const c=Object.keys(P),g=Object.values(P).indexOf(m);return-1!==g?c[g]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(m);if(a)return P[a]}return c})(a)}get position(){return this._position.toString()}alertClosed(a){this._alertService.removeById(a.id,this.group)}ngOnInit(){this.group||(this.group=d.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(g=>this._addAlert(g)),this._groupEvents=this._alertService.alertEvents.pipe((0,mt.h)(g=>g.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(g=>g.id===a)}_addAlert(a){return this.alerts.push(a),this.alerts}_removeAlert(a){const g=this._findAlertIndexById(a.id);return g>-1&&(this.alerts.splice(g,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(a){switch(a.type){case p.add:this._addAlert(a.alert);break;case p.clear:this._clearAlerts();break;case p.remove:this._removeAlert(a.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?m.positionPrefix+P.inline.toString():m.positionPrefix+this.position.toString()}}return m.positionPrefix="position-",m.\u0275fac=function(a){return new(a||m)(l.Y36(d),l.Y36(uu))},m.\u0275cmp=l.Xpm({type:m,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[[1,"alert-list-container",3,"ngClass"],["container",""],[1,"alert-list"],["list",""],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"alert","close"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(a,g){1&a&&(l.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),l.YNc(5,ou,2,1,"div",4),l.qZA()(),l.YNc(6,Ur,1,1,"div",5),l.qZA()),2&a&&(l.xp6(1),l.Q6J("ngClass",g.positionClasses),l.xp6(4),l.Q6J("ngForOf",g.alerts),l.xp6(1),l.Q6J("ngIf",g.hasAlerts))},directives:[Qd,_.mk,_.sg,_.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}}"]}),m})(),bl=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez,Bu]]}),m})(),Mc=(()=>{class m{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 re.xQ,this._unsubscribe=new re.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(m){return c=>c.lift(new te(m))}(this._unsubscribe),function q(m,c=$.P){return a=>a.lift(new le(m,c))}(this.debounce),function ne(m,c){return a=>a.lift(new Se(m,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 m.\u0275fac=function(a){return new(a||m)(l.Y36(rt.g))},m.\u0275cmp=l.Xpm({type:m,selectors:[["cp-search"]],viewQuery:function(a,g){if(1&a&&l.Gf(Hr,5),2&a){let O;l.iGM(O=l.CRH())&&(g.searchInput=O.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,g){1&a&&(l.TgZ(0,"div",0)(1,"input",1,2),l.NdJ("ngModelChange",function(k){return g.value=k})("keyup.esc",function(){return g.clearValue()}),l.qZA(),l.TgZ(3,"span",3),l.NdJ("click",function(){return g.clearValue()}),l._UZ(4,"span",4),l.YNc(5,wa,2,1,"span",5),l.qZA()()),2&a&&(l.xp6(1),l.MGl("id","",g.id,"-search-input"),l.Q6J("ngModel",g.value)("disabled",g.disabled)("placeholder",g.placeholder)("title",g.label),l.uIk("aria-label",g.label)("list",g.list),l.xp6(2),l.MGl("id","",g.id,"-search-input-addon"),l.xp6(1),l.MGl("id","",g.id,"-search-input-icon"),l.Q6J("ngClass",(null==g.value?null:g.value.length)>0?"fas fa-times":"fas fa-search"),l.xp6(1),l.Q6J("ngIf",(null==g.value?null:g.value.length)>0))},directives:[We.Fj,We.JJ,We.On,_.mk,_.O5],styles:[""],changeDetection:0}),m})(),Uu=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez,We.u5,$e.m]]}),m})(),Ml=(()=>{class m{constructor(a,g=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(g),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 m.\u0275fac=function(a){l.$Z()},m.\u0275dir=l.lG2({type:m,inputs:{id:"id"}}),m})();var rl=(()=>{return(m=rl||(rl={}))[m.all=-1]="all",rl;var m})();const go="pageSizeOption";let ju=(()=>{class m{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===rl.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${go}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${go}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}}return m.\u0275fac=function(a){return new(a||m)(l.Y36(rt.g))},m.\u0275dir=l.lG2({type:m,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(a,g){2&a&&(l.Ikx("id",g.id)("innerText",g.label),l.uIk("aria-label",g.description)("aria-pressed",g.ariaPressed),l.Tol(g.cssClasses))},inputs:{value:"value",selected:"selected"},features:[l.TTD]}),m})(),cu=(()=>{class m extends Ml{constructor(a,g){super(a),this.locale=g,this.selectedPageSize=m.defaultPageSize,this.pageSizeOptions=m.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((O,k)=>O-k);this.showOptionAll&&a.push(rl.all),-1!==a.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=a:this._dispatchChange(a[0])}_dispatchChange(a){this.optionSelected.emit(a)}}return m.defaultPageSizeOptions=[20,50,100,500],m.defaultPageSize=20,m.\u0275fac=function(a){return new(a||m)(l.Y36(l.SBq),l.Y36(rt.g))},m.\u0275cmp=l.Xpm({type:m,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,g){1&a&&(l.TgZ(0,"div")(1,"div",0),l._uU(2),l.qZA(),l.TgZ(3,"div",1),l.YNc(4,Ys,1,3,"button",2),l.qZA()()),2&a&&(l.xp6(2),l.hij(" ",g.locale.maketext("Entries Per Page")," "),l.xp6(2),l.Q6J("ngForOf",g.displayedPageSizeOptions))},directives:[_.sg,ju],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]}),m})(),ar=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez,$e.m]]}),m})(),Tl=(()=>{class m extends Ml{constructor(a,g){super(a),this.locale=g,this.maxPagesVisible=m.defaultMaxPagesVisible,this.selectedPage=m.firstPageIndex,this.pageSize=cu.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 g=this.pageSize*(a-1),O=Math.min(g+this.pageSize,this.totalItems);this.pageChanged.emit({page:a,firstItem:g,lastItem:O}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",g+1,O,this.totalItems)}}return m.defaultMaxPagesVisible=5,m.firstPageIndex=1,m.\u0275fac=function(a){return new(a||m)(l.Y36(l.SBq),l.Y36(rt.g))},m.\u0275cmp=l.Xpm({type:m,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,g){if(1&a&&(l.TgZ(0,"div",0)(1,"pagination",1),l.NdJ("ngModelChange",function(k){return g.selectedPage=k})("pageChanged",function(k){return g.onPageChanged(k.page)})("numPages",function(k){return g.onNumPagesChanged(k)}),l.qZA(),l.TgZ(2,"p",2),l._uU(3),l.qZA()(),l.YNc(4,Xo,1,0,"ng-template",null,3,l.W1O),l.YNc(6,ho,1,0,"ng-template",null,4,l.W1O),l.YNc(8,ea,1,0,"ng-template",null,5,l.W1O),l.YNc(10,j,1,0,"ng-template",null,6,l.W1O)),2&a){const O=l.MAs(5),k=l.MAs(7),oe=l.MAs(9),he=l.MAs(11);l.Q6J("id",g.id),l.xp6(1),l.MGl("id","",g.id,"_ngx_paginator"),l.Q6J("totalItems",g.totalItems)("maxSize",g.maxPagesVisible)("disabled",g.disabled)("itemsPerPage",g.pageSize)("ngModel",g.selectedPage)("boundaryLinks",!0)("customFirstTemplate",he)("customLastTemplate",oe)("customPreviousTemplate",k)("customNextTemplate",O),l.xp6(2),l.hij(" ",g.itemsDetails," ")}},directives:[Qn,We.JJ,We.On],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]}),m})(),$u=(()=>{class m{}return m.\u0275fac=function(a){return new(a||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[[_.ez,We.u5,_a.forRoot(),$e.m]]}),m})()},6775:(xe,K,x)=>{"use strict";x.d(K,{TO:()=>cr,Hz:()=>Ci,mr:()=>Nr,Mq:()=>jn});var l=x(5062),_=x(2198);class re{constructor(U,L){this.open=U,this.close=L||U}isManual(){return"manual"===this.open||"manual"===this.close}}const J={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const $=typeof window<"u"&&window||{};let _t;function Ct(){if(typeof $.document>"u")return"bs4";const A=$.document.createElement("span");A.innerText="testing bs version",A.classList.add("d-none"),A.classList.add("pl-1"),$.document.head.appendChild(A);const U=A.getBoundingClientRect(),L=$.getComputedStyle(A).paddingLeft;return!U||U&&0!==U.top?($.document.head.removeChild(A),"bs3"):L&&parseFloat(L)?($.document.head.removeChild(A),"bs4"):($.document.head.removeChild(A),"bs5")}function on(){return typeof $>"u"||(typeof $.__theme>"u"?(_t||(_t=Ct()),"bs3"===_t):"bs3"===$.__theme)}function en(){return!on()&&(_t||(_t=Ct()),"bs4"===_t)}function lt(){return{isBs3:on(),isBs4:en(),isBs5:!on()&&!en()&&(_t||(_t=Ct()),"bs5"===_t)}}typeof console>"u"||console;var rr=x(6895),ii=x(5529),Sr=x(6787),vi=x(2916),Gn=x(6688),En=x(7043),Xr=x(4850);function _r(A,U,L,ie){return(0,En.m)(L)&&(ie=L,L=void 0),ie?_r(A,U,L).pipe((0,Xr.U)(je=>(0,Gn.k)(je)?ie(...je):ie(je))):new vi.y(je=>{hr(A,U,function Ue(Xe){je.next(arguments.length>1?Array.prototype.slice.call(arguments):Xe)},je,L)})}function hr(A,U,L,ie,je){let Ue;if(function Fr(A){return A&&"function"==typeof A.addEventListener&&"function"==typeof A.removeEventListener}(A)){const Xe=A;A.addEventListener(U,L,je),Ue=()=>Xe.removeEventListener(U,L,je)}else if(function pr(A){return A&&"function"==typeof A.on&&"function"==typeof A.off}(A)){const Xe=A;A.on(U,L),Ue=()=>Xe.off(U,L)}else if(function qr(A){return A&&"function"==typeof A.addListener&&"function"==typeof A.removeListener}(A)){const Xe=A;A.addListener(U,L),Ue=()=>Xe.removeListener(U,L)}else{if(!A||!A.length)throw new TypeError("Invalid event target");for(let Xe=0,it=A.length;Xe<it;Xe++)hr(A[Xe],U,L,ie,je)}ie.add(Ue)}var wr=x(1086),kr=x(6686),Xn=x(2268);const Or=new class hi extends Xn.v{flush(U){this.active=!0,this.scheduled=void 0;const{actions:L}=this;let ie,je=-1,Ue=L.length;U=U||L.shift();do{if(ie=U.execute(U.state,U.delay))break}while(++je<Ue&&(U=L.shift()));if(this.active=!1,ie){for(;++je<Ue&&(U=L.shift());)U.unsubscribe();throw ie}}}(class ur extends kr.o{constructor(U,L){super(U,L),this.scheduler=U,this.work=L}requestAsyncId(U,L,ie=0){return null!==ie&&ie>0?super.requestAsyncId(U,L,ie):(U.actions.push(this),U.scheduled||(U.scheduled=requestAnimationFrame(()=>U.flush(null))))}recycleAsyncId(U,L,ie=0){if(null!==ie&&ie>0||null===ie&&this.delay>0)return super.recycleAsyncId(U,L,ie);0===U.actions.length&&(cancelAnimationFrame(L),U.scheduled=void 0)}});var Rr=(()=>{return(A=Rr||(Rr={})).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",Rr;var A})(),pe=(()=>{return(A=pe||(pe={})).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",pe;var A})();function me(A,U){if(1!==A.nodeType)return[];const ie=A.ownerDocument.defaultView?.getComputedStyle(A,null);return U?ie&&ie[U]:ie}function ce(A){if(!A)return document.documentElement;let ie,L=A?.offsetParent;for(;null===L&&A.nextElementSibling&&ie!==A.nextElementSibling;)ie=A.nextElementSibling,L=ie.offsetParent;const je=L&&L.nodeName;return je&&"BODY"!==je&&"HTML"!==je?L&&-1!==["TH","TD","TABLE"].indexOf(L.nodeName)&&"static"===me(L,"position")?ce(L):L:ie?ie.ownerDocument.documentElement:document.documentElement}function z(A){return null!==A.parentNode?z(A.parentNode):A}function we(A,U){if(!(A&&A.nodeType&&U&&U.nodeType))return document.documentElement;const L=A.compareDocumentPosition(U)&Node.DOCUMENT_POSITION_FOLLOWING,ie=L?A:U,je=L?U:A,Ue=document.createRange();Ue.setStart(ie,0),Ue.setEnd(je,0);const Xe=Ue.commonAncestorContainer;if(A!==Xe&&U!==Xe||ie.contains(je))return function G(A){const{nodeName:U}=A;return"BODY"!==U&&("HTML"===U||ce(A.firstElementChild)===A)}(Xe)?Xe:ce(Xe);const it=z(A);return it.host?we(it.host,U):we(A,z(U).host)}function Pe(A){if(!A||!A.parentElement)return document.documentElement;let U=A.parentElement;for(;U?.parentElement&&"none"===me(U,"transform");)U=U.parentElement;return U||document.documentElement}function De(A,U){const L="x"===U?"Left":"Top",ie="Left"===L?"Right":"Bottom";return parseFloat(A[`border${L}Width`])+parseFloat(A[`border${ie}Width`])}function Ye(A,U,L,ie){return Math.max(U[`offset${A}`],U[`scroll${A}`],L[`client${A}`],L[`offset${A}`],L[`scroll${A}`],0)}function Pt(A){const U=A.body,L=A.documentElement;return{height:Ye("Height",U,L),width:Ye("Width",U,L)}}function st(A){return{...A,right:(A.left||0)+A.width,bottom:(A.top||0)+A.height}}function yt(A){return"number"==typeof A||"[object Number]"===Object.prototype.toString.call(A)}function Ut(A){const U=A.getBoundingClientRect();if(!(U&&yt(U.top)&&yt(U.left)&&yt(U.bottom)&&yt(U.right)))return U;const L={left:U.left,top:U.top,width:U.right-U.left,height:U.bottom-U.top},ie="HTML"===A.nodeName?Pt(A.ownerDocument):void 0,je=ie?.width||A.clientWidth||yt(U.right)&&yt(L.left)&&U.right-L.left||0,Ue=ie?.height||A.clientHeight||yt(U.bottom)&&yt(L.top)&&U.bottom-L.top||0;let Xe=A.offsetWidth-je,it=A.offsetHeight-Ue;if(Xe||it){const dt=me(A);Xe-=De(dt,"x"),it-=De(dt,"y"),L.width-=Xe,L.height-=it}return st(L)}function Qt(A){return"HTML"===A.nodeName?A:A.parentNode||A.host}function bt(A){if(!A)return document.body;switch(A.nodeName){case"HTML":case"BODY":return A.ownerDocument.body;case"#document":return A.body}const{overflow:U,overflowX:L,overflowY:ie}=me(A);return/(auto|scroll|overlay)/.test(String(U)+String(ie)+String(L))?A:bt(Qt(A))}function Rt(A,U,L=!1){const ie="HTML"===U.nodeName,je=Ut(A),Ue=Ut(U),it=(bt(A),me(U)),dt=parseFloat(it.borderTopWidth),cn=parseFloat(it.borderLeftWidth);L&&ie&&(Ue.top=Math.max(Ue.top??0,0),Ue.left=Math.max(Ue.left??0,0));const tn=st({top:(je.top??0)-(Ue.top??0)-dt,left:(je.left??0)-(Ue.left??0)-cn,width:je.width,height:je.height});if(tn.marginTop=0,tn.marginLeft=0,ie){const Fn=parseFloat(it.marginTop),gr=parseFloat(it.marginLeft);yt(tn.top)&&(tn.top-=dt-Fn),yt(tn.bottom)&&(tn.bottom-=dt-Fn),yt(tn.left)&&(tn.left-=cn-gr),yt(tn.right)&&(tn.right-=cn-gr),tn.marginTop=Fn,tn.marginLeft=gr}return tn}function Wt(A,U="top"){const L="top"===U?"scrollTop":"scrollLeft",ie=A.nodeName;if("BODY"===ie||"HTML"===ie){const je=A.ownerDocument.documentElement;return(A.ownerDocument.scrollingElement||je)[L]}return A[L]}function gt(A){const U=A.nodeName;return"BODY"!==U&&"HTML"!==U&&("fixed"===me(A,"position")||gt(Qt(A)))}function Ht(A,U,L=0,ie,je=!1){let Ue={top:0,left:0};const Xe=je?Pe(A):we(A,U);if("viewport"===ie)Ue=function un(A,U=!1){const L=A.ownerDocument.documentElement,ie=Rt(A,L),je=Math.max(L.clientWidth,window.innerWidth||0),Ue=Math.max(L.clientHeight,window.innerHeight||0),Xe=U?0:Wt(L),it=U?0:Wt(L,"left");return st({top:Xe-Number(ie?.top)+Number(ie?.marginTop),left:it-Number(ie?.left)+Number(ie?.marginLeft),width:je,height:Ue})}(Xe,je);else{let it;"scrollParent"===ie?(it=bt(Qt(U)),"BODY"===it.nodeName&&(it=A.ownerDocument.documentElement)):it="window"===ie?A.ownerDocument.documentElement:ie;const dt=Rt(it,Xe,je);if(dt&&"HTML"===it.nodeName&&!gt(Xe)){const{height:cn,width:tn}=Pt(A.ownerDocument);yt(Ue.top)&&yt(dt.top)&&yt(dt.marginTop)&&(Ue.top+=dt.top-dt.marginTop),yt(Ue.top)&&(Ue.bottom=Number(cn)+Number(dt.top)),yt(Ue.left)&&yt(dt.left)&&yt(dt.marginLeft)&&(Ue.left+=dt.left-dt.marginLeft),yt(Ue.top)&&(Ue.right=Number(tn)+Number(dt.left))}else dt&&(Ue=dt)}return yt(Ue.left)&&(Ue.left+=L),yt(Ue.top)&&(Ue.top+=L),yt(Ue.right)&&(Ue.right-=L),yt(Ue.bottom)&&(Ue.bottom-=L),Ue}function mn({width:A,height:U}){return A*U}function Wn(A,U,L,ie,je=["top","bottom","right","left"],Ue="viewport",Xe=0){if(-1===A.indexOf("auto"))return A;const it=Ht(L,ie,Xe,Ue),dt={top:{width:it?.width??0,height:(U?.top??0)-(it?.top??0)},right:{width:(it?.right??0)-(U?.right??0),height:it?.height??0},bottom:{width:it?.width??0,height:(it?.bottom??0)-(U?.bottom??0)},left:{width:(U.left??0)-(it?.left??0),height:it?.height??0}},cn=Object.keys(dt).map(mr=>({position:mr,...dt[mr],area:mn(dt[mr])})).sort((mr,Yn)=>Yn.area-mr.area);let tn=cn.filter(({width:mr,height:Yn})=>mr>=L.clientWidth&&Yn>=L.clientHeight);tn=tn.filter(({position:mr})=>je.some(Yn=>Yn===mr));const Fn=tn.length>0?tn[0].position:cn[0].position,gr=A.split(" ")[1];return L.className=L.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${lt().isBs5?pe[Fn]:Fn}`),Fn+(gr?`-${gr}`:"")}const Ot=(A,U=0)=>A?parseFloat(A):U;function Dn(A){const L=A.ownerDocument.defaultView?.getComputedStyle(A),ie=Ot(L?.marginTop)+Ot(L?.marginBottom),je=Ot(L?.marginLeft)+Ot(L?.marginRight);return{width:Number(A.offsetWidth)+je,height:Number(A.offsetHeight)+ie}}function Zt(A,U,L){return Rt(U,L?Pe(A):we(A,U),L)}function br(A,U,L){const ie=L.split(" ")[0],je=Dn(A),Ue={width:je.width,height:je.height},Xe=-1!==["right","left"].indexOf(ie),it=Xe?"top":"left",dt=Xe?"left":"top",cn=Xe?"height":"width",tn=Xe?"width":"height";return Ue[it]=(U[it]??0)+U[cn]/2-je[cn]/2,Ue[dt]=ie===dt?(U[dt]??0)-je[tn]:U[function Ft(A){const U={left:"right",right:"left",bottom:"top",top:"bottom"};return A.replace(/left|right|bottom|top/g,L=>U[L])}(dt)]??0,Ue}function Le(A,U){return!!A.modifiers[U]?.enabled}const se={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 X(A,U){return!!lt().isBs5&&se[U].includes(A)}function Et(A,U,L){!A||!U||Object.keys(U).forEach(ie=>{let je="";-1!==["width","height","top","right","bottom","left"].indexOf(ie)&&function vt(A){return""!==A&&!isNaN(parseFloat(A))&&isFinite(Number(A))}(U[ie])&&(je="px"),L?L.setStyle(A,ie,`${String(U[ie])}${je}`):A.style[ie]=String(U[ie])+je})}function It(A){let U=A.offsets.target;const L=A.instance.target.querySelector(".arrow");if(!L)return A;const ie=-1!==["left","right"].indexOf(A.placement.split(" ")[0]),je=ie?"height":"width",Ue=ie?"Top":"Left",Xe=Ue.toLowerCase(),it=ie?"left":"top",dt=ie?"bottom":"right",cn=Dn(L)[je],tn=A.placement.split(" ")[1];(A.offsets.host[dt]??0)-cn<(U[Xe]??0)&&(U[Xe]-=(U[Xe]??0)-((A.offsets.host[dt]??0)-cn)),Number(A.offsets.host[Xe])+Number(cn)>(U[dt]??0)&&(U[Xe]+=Number(A.offsets.host[Xe])+Number(cn)-Number(U[dt])),U=st(U);const Fn=me(A.instance.target),gr=parseFloat(Fn[`margin${Ue}`])||0,mr=parseFloat(Fn[`border${Ue}Width`])||0;let Yn;if(tn){const Si=parseFloat(Fn.borderRadius)||0,Pi=Number(gr+mr+Si);Yn=Xe===tn?Number(A.offsets.host[Xe])+Pi:Number(A.offsets.host[Xe])+Number(A.offsets.host[je]-Pi)}else Yn=Number(A.offsets.host[Xe])+Number(A.offsets.host[je]/2-cn/2);let sr=Yn-(U[Xe]??0)-gr-mr;return sr=Math.max(Math.min(U[je]-(cn+5),sr),0),A.offsets.arrow={[Xe]:Math.round(sr),[it]:""},A.instance.arrow=L,A}function wt(A){if(A.offsets.target=st(A.offsets.target),!Le(A.options,"flip"))return A.offsets.target={...A.offsets.target,...br(A.instance.target,A.offsets.host,A.placement)},A;const U=Ht(A.instance.target,A.instance.host,0,"viewport",!1);let L=A.placement.split(" ")[0],ie=A.placement.split(" ")[1]||"";const it=Wn("auto",A.offsets.host,A.instance.target,A.instance.host,A.options.allowedPositions),dt=[L,it];return dt.forEach((cn,tn)=>{if(L!==cn||dt.length===tn+1)return;L=A.placement.split(" ")[0];const Fn="left"===L&&Math.floor(A.offsets.target.right??0)>Math.floor(A.offsets.host.left??0)||"right"===L&&Math.floor(A.offsets.target.left??0)<Math.floor(A.offsets.host.right??0)||"top"===L&&Math.floor(A.offsets.target.bottom??0)>Math.floor(A.offsets.host.top??0)||"bottom"===L&&Math.floor(A.offsets.target.top??0)<Math.floor(A.offsets.host.bottom??0),gr=Math.floor(A.offsets.target.left??0)<Math.floor(U.left??0),mr=Math.floor(A.offsets.target.right??0)>Math.floor(U.right??0),Yn=Math.floor(A.offsets.target.top??0)<Math.floor(U.top??0),sr=Math.floor(A.offsets.target.bottom??0)>Math.floor(U.bottom??0),Si="left"===L&&gr||"right"===L&&mr||"top"===L&&Yn||"bottom"===L&&sr,Pi=-1!==["top","bottom"].indexOf(L),ps=Pi&&"left"===ie&&gr||Pi&&"right"===ie&&mr||!Pi&&"left"===ie&&Yn||!Pi&&"right"===ie&&sr;(Fn||Si||ps)&&((Fn||Si)&&(L=dt[tn+1]),ps&&(ie=function yn(A){return"right"===A?"left":"left"===A?"right":A}(ie)),A.placement=L+(ie?` ${ie}`:""),A.offsets.target={...A.offsets.target,...br(A.instance.target,A.offsets.host,A.placement)})}),A}function Oe(A){if(!Le(A.options,"preventOverflow"))return A;const U="transform",L=A.instance.target.style,{top:ie,left:je,[U]:Ue}=L;L.top="",L.left="",L[U]="";const Xe=Ht(A.instance.target,A.instance.host,0,A.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);L.top=ie,L.left=je,L[U]=Ue;const dt={primary(cn){let tn=A.offsets.target[cn];return(A.offsets.target[cn]??0)<(Xe[cn]??0)&&(tn=Math.max(A.offsets.target[cn]??0,Xe[cn]??0)),{[cn]:tn}},secondary(cn){const tn="right"===cn,Fn=tn?"left":"top";let mr=A.offsets.target[Fn];return(A.offsets.target[cn]??0)>(Xe[cn]??0)&&(mr=Math.min(A.offsets.target[Fn]??0,(Xe[cn]??0)-A.offsets.target[tn?"width":"height"])),{[Fn]:mr}}};return["left","right","top","bottom"].forEach(cn=>{const tn=-1!==["left","top","start"].indexOf(cn)?dt.primary:dt.secondary;A.offsets.target={...A.offsets.target,...tn(cn)}}),A}function jt(A){const U=A.placement,L=U.split(" ")[0],ie=U.split(" ")[1];if(ie){const{host:je,target:Ue}=A.offsets,Xe=-1!==["bottom","top"].indexOf(L),it=Xe?"left":"top",dt=Xe?"width":"height",cn={start:{[it]:je[it]},end:{[it]:(je[it]??0)+je[dt]-Ue[dt]}};A.offsets.target={...Ue,[it]:it===ie?cn.start[it]:cn.end[it]}}return A}const Mn=new class qt{position(U,L){return this.offset(U,L)}offset(U,L){return Zt(L,U)}positionElements(U,L,ie,je,Ue){const Xe=[wt,jt,Oe,It],dt=function de(A,U,L,ie){if(!A||!U)return;const je=Zt(A,U);!L.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!L.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(L="auto");const Ue=!!L.match(/auto/g);let Xe=L.match(/auto\s(left|right|top|bottom|start|end)/)?L.split(" ")[1]||"auto":L;const it=Xe.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return it&&(Xe=it[1]+(it[2]?` ${it[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(Xe)&&(Xe="auto"),Xe=Wn(Xe,je,A,U,ie?ie.allowedPositions:void 0),{options:ie||{modifiers:{}},instance:{target:A,host:U,arrow:void 0},offsets:{target:br(A,je,Xe),host:je,arrow:void 0},positionFixed:!1,placement:Xe,placementAuto:Ue}}(L,U,Rr[ie],Ue);if(dt)return Xe.reduce((cn,tn)=>tn(cn),dt)}};function ke(A,U,L,ie,je,Ue){const Xe=Mn.positionElements(A,U,L,ie,je);if(!Xe)return;const it=function xn(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)}}(Xe);Et(U,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${it.left}px, ${it.top}px, 0px)`},Ue),Xe.instance.arrow&&Et(Xe.instance.arrow,Xe.offsets.arrow,Ue),function Qe(A,U){const L=A.instance.target;let ie=L.className;const je=lt().isBs5?pe[A.placement]:A.placement;A.placementAuto&&(ie=ie.replace(/bs-popover-auto/g,`bs-popover-${je}`),ie=ie.replace(/ms-2|me-2|mb-2|mt-2/g,""),ie=ie.replace(/bs-tooltip-auto/g,`bs-tooltip-${je}`),ie=ie.replace(/\sauto/g,` ${je}`),-1!==ie.indexOf("popover")&&(ie=ie+" "+function Re(A){return lt().isBs5?X(A,"end")?"ms-2":X(A,"start")?"me-2":X(A,"top")?"mb-2":X(A,"bottom")?"mt-2":"":""}(je)),-1!==ie.indexOf("popover")&&-1===ie.indexOf("popover-auto")&&(ie+=" popover-auto"),-1!==ie.indexOf("tooltip")&&-1===ie.indexOf("tooltip-auto")&&(ie+=" tooltip-auto")),ie=ie.replace(/left|right|top|bottom|end|start/g,`${je.split(" ")[0]}`),U?U.setAttribute(L,"class",ie):L.className=ie}(Xe,Ue)}let He=(()=>{class A{constructor(L,ie,je){this.update$$=new ii.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,rr.NF)(je)&&L.runOutsideAngular(()=>{this.triggerEvent$=(0,Sr.T)(_r(window,"scroll",{passive:!0}),_r(window,"resize",{passive:!0}),(0,wr.of)(0,Or),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Ue=>{ke(Ae(Ue.target),Ae(Ue.element),Ue.attachment,Ue.appendToBody,this.options,ie.createRenderer(null,null))})})})}position(L){this.addPositionElement(L)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(L){this.positionElements.set(Ae(L.element),L)}calcPosition(){this.update$$.next(null)}deletePositionElement(L){this.positionElements.delete(Ae(L))}setOptions(L){this.options=L}}return A.\u0275fac=function(L){return new(L||A)(l.LFG(l.R0b),l.LFG(l.FYo),l.LFG(l.Lbi))},A.\u0275prov=l.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();function Ae(A){return"string"==typeof A?document.querySelector(A):A instanceof l.SBq?A.nativeElement:A??null}class Dt{constructor(U,L,ie){this.nodes=U,this.viewRef=L,this.componentRef=ie}}class Tt{constructor(U,L,ie,je,Ue,Xe,it,dt){this._viewContainerRef=U,this._renderer=L,this._elementRef=ie,this._injector=je,this._componentFactoryResolver=Ue,this._ngZone=Xe,this._applicationRef=it,this._posService=dt,this.onBeforeShow=new l.vpe,this.onShown=new l.vpe,this.onBeforeHide=new l.vpe,this.onHidden=new l.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(U){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(U),this}to(U){return this.container=U||this.container,this}position(U){return U?(this.attachment=U.attachment||this.attachment,this._elementRef=U.target||this._elementRef,this):this}provide(U){return this._providers.push(U),this}show(U={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(U.content,U.context,U.initialState);const L=l.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(L,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,U),this.container instanceof l.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const ie=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!ie)return;ie.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(U.id?{id:U.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(U){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const L=this._componentRef.location.nativeElement;return L.parentNode?.removeChild(L),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(U?{id:U}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(U){this.triggers=U.triggers||this.triggers,this._listenOpts.outsideClick=U.outsideClick,this._listenOpts.outsideEsc=U.outsideEsc,U.target=U.target||this._elementRef?.nativeElement;const L=this._listenOpts.hide=()=>U.hide?U.hide():void this.hide(),ie=this._listenOpts.show=Ue=>{U.show?U.show(Ue):this.show(Ue),Ue()};return this._renderer&&(this._unregisterListenersFn=function te(A,U){const L=function Y(A,U=J){const L=(A||"").trim();if(0===L.length)return[];const ie=L.split(/\s+/).map(Ue=>Ue.split(":")).map(Ue=>{const Xe=U[Ue[0]]||Ue;return new re(Xe[0],Xe[1])}),je=ie.filter(Ue=>Ue.isManual());if(je.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===je.length&&ie.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ie}(U.triggers),ie=U.target;if(1===L.length&&L[0].isManual())return Function.prototype;const je=[],Ue=[],Xe=()=>{Ue.forEach(it=>je.push(it())),Ue.length=0};return L.forEach(it=>{const dt=it.open===it.close,cn=dt?U.toggle:U.show;if(!dt&&it.close&&U.hide){const tn=A.listen(ie,it.close,U.hide);Ue.push(()=>tn)}cn&&je.push(A.listen(ie,it.open,()=>cn(Xe)))}),()=>{je.forEach(it=>it())}}(this._renderer,{target:U.target,triggers:U.triggers,show:ie,hide:L,toggle:Ue=>{this.isShown?L():ie(Ue)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(U,L){return U&&L&&(this._inlineViewRef=U.createEmbeddedView(L)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const U=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function ae(A,U){return U.outsideClick?A.listen("document","click",L=>{U.target&&U.target.contains(L.target)||U.targets&&U.targets.some(ie=>ie.contains(L.target))||U.hide&&U.hide()}):Function.prototype}(this._renderer,{targets:[U,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function ve(A,U){return U.outsideEsc?A.listen("document","keyup.esc",L=>{U.target&&U.target.contains(L.target)||U.targets&&U.targets.some(ie=>ie.contains(L.target))||U.hide&&U.hide()}):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{!this._componentRef||this._posService.calcPosition()}))}_unsubscribePositioning(){!this._zoneSubscription||(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(U,L,ie){if(!U)return new Dt([]);if(U instanceof l.Rgc){if(this._viewContainerRef){const Xe=this._viewContainerRef.createEmbeddedView(U,L);return Xe.markForCheck(),new Dt([Xe.rootNodes],Xe)}const Ue=U.createEmbeddedView({});return this._applicationRef.attachView(Ue),new Dt([Ue.rootNodes],Ue)}if("function"==typeof U){const Ue=this._componentFactoryResolver.resolveComponentFactory(U),Xe=l.zs3.create({providers:this._providers,parent:this._injector}),it=Ue.create(Xe);return Object.assign(it.instance,ie),this._applicationRef.attachView(it.hostView),new Dt([[it.location.nativeElement]],it.hostView,it)}const je=this._renderer?[this._renderer.createText(`${U}`)]:[];return new Dt([je])}}let At=(()=>{class A{constructor(L,ie,je,Ue,Xe){this._componentFactoryResolver=L,this._ngZone=ie,this._injector=je,this._posService=Ue,this._applicationRef=Xe}createLoader(L,ie,je){return new Tt(ie,je,L,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return A.\u0275fac=function(L){return new(L||A)(l.LFG(l._Vd),l.LFG(l.R0b),l.LFG(l.zs3),l.LFG(He),l.LFG(l.z2F))},A.\u0275prov=l.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();var Nt=x(7340);const Xt=function(A){return{dropdown:A}},an=["*"];let xt=(()=>{class A{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return A.\u0275fac=function(L){return new(L||A)},A.\u0275prov=l.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})(),vn=(()=>{class A{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new l.vpe,this.isDisabledChange=new l.vpe,this.toggleClick=new l.vpe,this.counts=0,this.dropdownMenu=new Promise(L=>{this.resolveDropdownMenu=L})}}return A.\u0275fac=function(L){return new(L||A)},A.\u0275prov=l.Yz7({token:A,factory:A.\u0275fac,providedIn:"platform"}),A})();const ir=[(0,Nt.oB)({height:0,overflow:"hidden"}),(0,Nt.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,Nt.oB)({height:"*",overflow:"hidden"}))];let dn=(()=>{class A{constructor(L,ie,je,Ue,Xe){this._state=L,this.cd=ie,this._renderer=je,this._element=Ue,this.isOpen=!1,this._factoryDropDownAnimation=Xe.build(ir),this._subscription=L.isOpenChange.subscribe(it=>{this.isOpen=it;const dt=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),dt&&!on()&&(this._renderer.addClass(dt,"show"),(dt.classList.contains("dropdown-menu-right")||dt.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(dt,"left","auto"),this._renderer.setStyle(dt,"right","0")),"up"===this.direction&&(this._renderer.setStyle(dt,"top","auto"),this._renderer.setStyle(dt,"transform","translateY(-101%)"))),dt&&this._state.isAnimated&&this._factoryDropDownAnimation.create(dt).play(),this.cd.markForCheck(),this.cd.detectChanges()})}get direction(){return this._state.direction}_contains(L){return this._element.nativeElement.contains(L)}ngOnDestroy(){this._subscription.unsubscribe()}}return A.\u0275fac=function(L){return new(L||A)(l.Y36(vn),l.Y36(l.sBO),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(Nt._j))},A.\u0275cmp=l.Xpm({type:A,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:an,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(L,ie){1&L&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA()),2&L&&(l.ekj("dropup","up"===ie.direction)("show",ie.isOpen)("open",ie.isOpen),l.Q6J("ngClass",l.VKq(7,Xt,"down"===ie.direction)))},directives:[rr.mk],encapsulation:2,changeDetection:0}),A})(),cr=(()=>{class A{constructor(L,ie,je,Ue,Xe,it,dt){this._elementRef=L,this._renderer=ie,this._viewContainerRef=je,this._cis=Ue,this._state=Xe,this._config=it,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=dt.build(ir),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:vn,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(L){this._state.autoClose=L}get autoClose(){return this._state.autoClose}set isAnimated(L){this._state.isAnimated=L}get isAnimated(){return this._state.isAnimated}set insideClick(L){this._state.insideClick=L}get insideClick(){return this._state.insideClick}set isDisabled(L){this._isDisabled=L,this._state.isDisabledChange.emit(L),L&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(L){L?this.show():this.hide()}get isBs4(){return!on()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(L=>this.toggle(L))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,_.h)(L=>L)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(L=>{this._dropdown.attachInline(L.viewContainer,L.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(L=>{const ie=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ie?"up":"down";const je=this.placement||(ie?"top start":"bottom start");this._dropdown.attach(dn).to(this.container).position({attachment:je}).show({content:L.templateRef,placement:je}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){!this.isOpen||(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(L){return this.isOpen||!L?this.hide():this.show()}_contains(L){return this._elementRef.nativeElement.contains(L.target)||this._dropdown.instance&&this._dropdown.instance._contains(L.target)}navigationClick(L){const ie=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ie)return;const je=this._elementRef.nativeElement.ownerDocument.activeElement,Ue=ie.querySelectorAll(".dropdown-item");switch(L.keyCode){case 38:this._state.counts>0&&Ue[--this._state.counts].focus();break;case 40:this._state.counts+1<Ue.length&&(je.classList!==Ue[this._state.counts].classList?Ue[this._state.counts].focus():Ue[++this._state.counts].focus())}L.preventDefault()}ngOnDestroy(){for(const L of this._subscriptions)L.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){on()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout(()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const L=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",L?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",L?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return A.\u0275fac=function(L){return new(L||A)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.s_b),l.Y36(At),l.Y36(vn),l.Y36(xt),l.Y36(Nt._j))},A.\u0275dir=l.lG2({type:A,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(L,ie){1&L&&l.NdJ("keydown.arrowDown",function(Ue){return ie.navigationClick(Ue)})("keydown.arrowUp",function(Ue){return ie.navigationClick(Ue)}),2&L&&l.ekj("dropup",ie.dropup)("open",ie.isOpen)("show",ie.isOpen&&ie.isBs4)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[l._Bn([vn])]}),A})(),Ci=(()=>{class A{constructor(L,ie,je){L.resolveDropdownMenu({templateRef:je,viewContainer:ie})}}return A.\u0275fac=function(L){return new(L||A)(l.Y36(vn),l.Y36(l.s_b),l.Y36(l.Rgc))},A.\u0275dir=l.lG2({type:A,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),A})(),jn=(()=>{class A{constructor(L,ie,je,Ue,Xe){this._changeDetectorRef=L,this._dropdown=ie,this._element=je,this._renderer=Ue,this._state=Xe,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(it=>{this.isOpen=it,it?(this._documentClickListener=this._renderer.listen("document","click",dt=>{this._state.autoClose&&2!==dt.button&&!this._element.nativeElement.contains(dt.target)&&(!this._state.insideClick||!this._dropdown._contains(dt))&&(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(it=>this.isDisabled=it||void 0))}onClick(L){this._state.stopOnClickPropagation&&L.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const L of this._subscriptions)L.unsubscribe()}}return A.\u0275fac=function(L){return new(L||A)(l.Y36(l.sBO),l.Y36(cr),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(vn))},A.\u0275dir=l.lG2({type:A,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(L,ie){1&L&&l.NdJ("click",function(Ue){return ie.onClick(Ue)}),2&L&&l.uIk("aria-haspopup",!0)("disabled",ie.isDisabled)("aria-expanded",ie.isOpen)},exportAs:["bs-dropdown-toggle"]}),A})(),Nr=(()=>{class A{static forRoot(){return{ngModule:A,providers:[At,He,vn]}}}return A.\u0275fac=function(L){return new(L||A)},A.\u0275mod=l.oAB({type:A}),A.\u0275inj=l.cJS({imports:[[rr.ez]]}),A})()},9241:(xe,K,x)=>{"use strict";x.d(K,{AH:()=>ve,P4:()=>le,wW:()=>$});var l=x(5062),_=x(6895);function re(ue,Ve){if(1&ue){const ne=l.EpF();l.TgZ(0,"span",7),l.NdJ("click",function(Fe){l.CHM(ne);const mt=l.oxw().$implicit,We=l.oxw();return Fe.preventDefault(),We.removeTab(mt)}),l._uU(1," \u274c"),l.qZA()}}const J=function(ue){return["nav-item",ue]};function Y(ue,Ve){if(1&ue){const ne=l.EpF();l.TgZ(0,"li",3),l.NdJ("keydown",function(Fe){const We=l.CHM(ne).index;return l.oxw().keyNavActions(Fe,We)}),l.TgZ(1,"a",4),l.NdJ("click",function(){return l.CHM(ne).$implicit.active=!0}),l.TgZ(2,"span",5),l._uU(3),l.qZA(),l.YNc(4,re,2,0,"span",6),l.qZA()()}if(2&ue){const ne=Ve.$implicit;l.ekj("active",ne.active)("disabled",ne.disabled),l.Q6J("ngClass",l.VKq(15,J,ne.customClass||"")),l.xp6(1),l.ekj("active",ne.active)("disabled",ne.disabled),l.uIk("aria-controls",ne.id?ne.id:"")("aria-selected",!!ne.active)("id",ne.id?ne.id+"-link":""),l.xp6(1),l.Q6J("ngTransclude",ne.headingRef),l.xp6(1),l.Oqu(ne.heading),l.xp6(1),l.Q6J("ngIf",ne.removable)}}const Z=["*"];let te=(()=>{class ue{constructor(ne){this.viewRef=ne}set ngTransclude(ne){this._ngTransclude=ne,ne&&this.viewRef.createEmbeddedView(ne)}get ngTransclude(){return this._ngTransclude}}return ue.\u0275fac=function(ne){return new(ne||ue)(l.Y36(l.s_b))},ue.\u0275dir=l.lG2({type:ue,selectors:[["","ngTransclude",""]],inputs:{ngTransclude:"ngTransclude"}}),ue})(),ae=(()=>{class ue{constructor(){this.type="tabs",this.isKeysAllowed=!0,this.ariaLabel="Tabs"}}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275prov=l.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),ve=(()=>{class ue{constructor(ne,Se,Fe){this.renderer=Se,this.elementRef=Fe,this.clazz=!0,this.tabs=[],this.classMap={},this.ariaLabel="Tabs",this.isDestroyed=!1,this._vertical=!1,this._justified=!1,this._type="tabs",this._isKeysAllowed=!0,Object.assign(this,ne)}get vertical(){return this._vertical}set vertical(ne){this._vertical=ne,this.setClassMap()}get justified(){return this._justified}set justified(ne){this._justified=ne,this.setClassMap()}get type(){return this._type}set type(ne){this._type=ne,this.setClassMap()}get isKeysAllowed(){return this._isKeysAllowed}set isKeysAllowed(ne){this._isKeysAllowed=ne}ngOnDestroy(){this.isDestroyed=!0}addTab(ne){this.tabs.push(ne),ne.active=1===this.tabs.length&&!ne.active}removeTab(ne,Se={reselect:!0,emit:!0}){const Fe=this.tabs.indexOf(ne);if(-1!==Fe&&!this.isDestroyed){if(Se.reselect&&ne.active&&this.hasAvailableTabs(Fe)){const mt=this.getClosestTabIndex(Fe);this.tabs[mt].active=!0}Se.emit&&ne.removed.emit(ne),this.tabs.splice(Fe,1),ne.elementRef.nativeElement.parentNode&&this.renderer.removeChild(ne.elementRef.nativeElement.parentNode,ne.elementRef.nativeElement)}}keyNavActions(ne,Se){if(!this.isKeysAllowed)return;const Fe=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13===ne.keyCode||"Enter"===ne.key||32===ne.keyCode||"Space"===ne.key)return ne.preventDefault(),void Fe[Se%Fe.length].click();if(39!==ne.keyCode&&"RightArrow"!==ne.key)if(37!==ne.keyCode&&"LeftArrow"!==ne.key)if(36!==ne.keyCode&&"Home"!==ne.key)if(35!==ne.keyCode&&"End"!==ne.key){if((46===ne.keyCode||"Delete"===ne.key)&&this.tabs[Se].removable){if(this.removeTab(this.tabs[Se]),Fe[Se+1])return void Fe[(Se+1)%Fe.length].focus();Fe[Fe.length-1]&&Fe[0].focus()}}else{ne.preventDefault();let mt,We=1,$e=Se;do{$e-We<0?($e=Fe.length-1,mt=Fe[$e],We=0):mt=Fe[$e-We],We++}while(mt.classList.contains("disabled"));mt.focus()}else{ne.preventDefault();let mt,We=0;do{mt=Fe[We%Fe.length],We++}while(mt.classList.contains("disabled"));mt.focus()}else{let mt,We=1,$e=Se;do{$e-We<0?($e=Fe.length-1,mt=Fe[$e],We=0):mt=Fe[$e-We],We++}while(mt.classList.contains("disabled"));mt.focus()}else{let mt,We=1;do{mt=Fe[(Se+We)%Fe.length],We++}while(mt.classList.contains("disabled"));mt.focus()}}getClosestTabIndex(ne){const Se=this.tabs.length;if(!Se)return-1;for(let Fe=1;Fe<=Se;Fe+=1){const mt=ne-Fe,We=ne+Fe;if(this.tabs[mt]&&!this.tabs[mt].disabled)return mt;if(this.tabs[We]&&!this.tabs[We].disabled)return We}return-1}hasAvailableTabs(ne){const Se=this.tabs.length;if(!Se)return!1;for(let Fe=0;Fe<Se;Fe+=1)if(!this.tabs[Fe].disabled&&Fe!==ne)return!0;return!1}setClassMap(){this.classMap={"nav-stacked":this.vertical,"flex-column":this.vertical,"nav-justified":this.justified,[`nav-${this.type}`]:!0}}}return ue.\u0275fac=function(ne){return new(ne||ue)(l.Y36(ae),l.Y36(l.Qsj),l.Y36(l.SBq))},ue.\u0275cmp=l.Xpm({type:ue,selectors:[["tabset"]],hostVars:2,hostBindings:function(ne,Se){2&ne&&l.ekj("tab-container",Se.clazz)},inputs:{vertical:"vertical",justified:"justified",type:"type"},ngContentSelectors:Z,decls:4,vars:3,consts:[["role","tablist",1,"nav",3,"ngClass","click"],[3,"ngClass","active","disabled","keydown",4,"ngFor","ngForOf"],[1,"tab-content"],[3,"ngClass","keydown"],["href","javascript:void(0);","role","tab",1,"nav-link",3,"click"],[3,"ngTransclude"],["class","bs-remove-tab",3,"click",4,"ngIf"],[1,"bs-remove-tab",3,"click"]],template:function(ne,Se){1&ne&&(l.F$t(),l.TgZ(0,"ul",0),l.NdJ("click",function(mt){return mt.preventDefault()}),l.YNc(1,Y,5,17,"li",1),l.qZA(),l.TgZ(2,"div",2),l.Hsn(3),l.qZA()),2&ne&&(l.Q6J("ngClass",Se.classMap),l.uIk("aria-label",Se.ariaLabel),l.xp6(1),l.Q6J("ngForOf",Se.tabs))},directives:[_.mk,_.sg,te,_.O5],styles:["[_nghost-%COMP%] .nav-tabs[_ngcontent-%COMP%] .nav-item.disabled[_ngcontent-%COMP%] a.disabled[_ngcontent-%COMP%]{cursor:default}"]}),ue})(),$=(()=>{class ue{constructor(ne,Se,Fe){this.elementRef=Se,this.renderer=Fe,this.disabled=!1,this.removable=!1,this.selectTab=new l.vpe,this.deselect=new l.vpe,this.removed=new l.vpe,this.addClass=!0,this.role="tabpanel",this._active=!1,this._customClass="",this.tabset=ne,this.tabset.addTab(this)}get customClass(){return this._customClass}set customClass(ne){this.customClass&&this.customClass.split(" ").forEach(Se=>{this.renderer.removeClass(this.elementRef.nativeElement,Se)}),this._customClass=ne?ne.trim():"",this.customClass&&this.customClass.split(" ").forEach(Se=>{this.renderer.addClass(this.elementRef.nativeElement,Se)})}get active(){return this._active}set active(ne){if(this._active!==ne){if(this.disabled&&ne||!ne)return void(this._active&&!ne&&(this.deselect.emit(this),this._active=ne));this._active=ne,this.selectTab.emit(this),this.tabset.tabs.forEach(Se=>{Se!==this&&(Se.active=!1)})}}get ariaLabelledby(){return this.id?`${this.id}-link`:""}ngOnInit(){this.removable=!!this.removable}ngOnDestroy(){this.tabset.removeTab(this,{reselect:!1,emit:!1})}}return ue.\u0275fac=function(ne){return new(ne||ue)(l.Y36(ve),l.Y36(l.SBq),l.Y36(l.Qsj))},ue.\u0275dir=l.lG2({type:ue,selectors:[["tab"],["","tab",""]],hostVars:7,hostBindings:function(ne,Se){2&ne&&(l.uIk("id",Se.id)("role",Se.role)("aria-labelledby",Se.ariaLabelledby),l.ekj("active",Se.active)("tab-pane",Se.addClass))},inputs:{heading:"heading",id:"id",disabled:"disabled",removable:"removable",customClass:"customClass",active:"active"},outputs:{selectTab:"selectTab",deselect:"deselect",removed:"removed"},exportAs:["tab"]}),ue})(),le=(()=>{class ue{static forRoot(){return{ngModule:ue,providers:[]}}}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275mod=l.oAB({type:ue}),ue.\u0275inj=l.cJS({imports:[[_.ez]]}),ue})()}}]);
Back to Directory
File Manager