Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/link-server-nodes/vendor.js
(self.webpackChunklink_server_nodes=self.webpackChunklink_server_nodes||[]).push([[736],{109:(Z,N,y)=>{"use strict";y.d(N,{F:()=>s});var s=(()=>{return(h=s||(s={}))[h.GET=0]="GET",h[h.HEAD=1]="HEAD",h[h.POST=2]="POST",h[h.PUT=3]="PUT",h[h.DELETE=4]="DELETE",h[h.CONNECT=5]="CONNECT",h[h.OPTIONS=6]="OPTIONS",h[h.TRACE=7]="TRACE",h[h.PATCH=8]="PATCH",s;var h})()},7709:(Z,N,y)=>{"use strict";y.d(N,{h:()=>s});class s{constructor(V,A){if(!V)throw new Error("You must provide a name when creating a name/value argument");this.name=V,this.value=A}}},3022:(Z,N,y)=>{"use strict";y.d(N,{tO:()=>Vt,VN:()=>Ve});var s=y(4235),h=y.n(s),L=y(1305),V=y.n(L),A=y(4798),I=y.n(A),B=y(9138),U=y.n(B),ee=y(248),k=y.n(ee),Y=y(1503),q=y.n(Y),le=y(7614),De=y.n(le);function be(Ze){if(h()(Ze)||V()(Ze)||I()(Ze)||U()(Ze)||k()(Ze))return!0;if(!De()(Ze)&&!q()(Ze))return!1;for(const He in Ze)if(!be(Ze[He]))return!1;return!0}class Ve{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(He,rt,Ce){if(!He)throw new Error("Name must have a non-empty value");return`${He}=${encodeURIComponent(rt.toString())}`+(Ce?"":this.recordSeparator)}}class Vt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(He,rt,Ce){if(!He)throw new Error("Name must have a non-empty value");if(!be(rt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(He)+":"+JSON.stringify(rt)+(Ce?"":this.recordSeparator)}}},3357:(Z,N,y)=>{"use strict";y.d(N,{p:()=>s,w:()=>h});var s=(()=>{return(L=s||(s={}))[L.Contains=0]="Contains",L[L.Begins=1]="Begins",L[L.Ends=2]="Ends",L[L.Matches=3]="Matches",L[L.Equal=4]="Equal",L[L.NotEqual=5]="NotEqual",L[L.LessThan=6]="LessThan",L[L.LessThanUnlimited=7]="LessThanUnlimited",L[L.GreaterThan=8]="GreaterThan",L[L.GreaterThanUnlimited=9]="GreaterThanUnlimited",L[L.Defined=10]="Defined",L[L.Undefined=11]="Undefined",s;var L})();class h{constructor(V,A,I){if(!V)throw new Error("You must define a non-empty column name.");this.column=V,this.operator=A,this.value=I}}},6962:(Z,N,y)=>{"use strict";y.d(N,{a:()=>s});class s{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}},5380:(Z,N,y)=>{"use strict";y.d(N,{uE:()=>L});const h=Number.POSITIVE_INFINITY;class L{constructor(A=1,I=20){if(A<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(I<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=A,this.pageSize=I}all(){return this.pageSize===h}}},5712:(Z,N,y)=>{"use strict";y.d(N,{b5:()=>I});const A={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 I{constructor(U){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=U.protocol;let ee=U.port;ee||(function s(B){return/^https:$/i.test(B)}(this.protocol)?ee="443":function h(B){return/^http:$/i.test(B)}(this.protocol)&&(ee="80")),this.domain=U.hostname,this.port=parseInt(ee,10),this.path=U.pathname;const k=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?A[2087]:/^cpanel\./.test(this.domain)?A[2083]:/^webmail\./.test(this.domain)?A[2095]:A[ee.toString()]||A[k[2]]||"whostmgr",this.securityToken=k[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const q=this.path.split("/");this.theme=q[3]}this.themePath="";let Y=this.securityToken+"/";this.isUnprotected?Y="/":this.isCpanel?Y+="frontend/"+this.theme+"/":this.isWebmail?Y+="webmail/"+this.theme+"/":this.isOther&&(Y="/"),this.themePath=Y,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 L(B){return B&&B.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(U){return this.themePath+U}buildFullPath(U){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(U)}buildTokenPath(U){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+U}}},755:(Z,N,y)=>{"use strict";y.d(N,{ER:()=>h,PE:()=>L,Sr:()=>s});var s=(()=>{return(V=s||(s={}))[V.Ascending=0]="Ascending",V[V.Descending=1]="Descending",s;var V})(),h=(()=>{return(V=h||(h={}))[V.Lexicographic=0]="Lexicographic",V[V.Ipv4=1]="Ipv4",V[V.Numeric=2]="Numeric",V[V.NumericZeroAsMax=3]="NumericZeroAsMax",h;var V})();class L{constructor(A,I=s.Ascending,B=h.Lexicographic){if(!A)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=A,this.direction=I,this.type=B}}},5397:(Z,N,y)=>{"use strict";y.d(N,{r:()=>Kt,N:()=>un});var s=y(1978),h=y.n(s);function L(qt){return qt?"1":"0"}var I=y(755),B=y(3357),U=y(7709),ee=y(5380);class k{constructor(ge=[]){this.headers=ge}push(ge){this.headers.push(ge)}forEach(ge,lt){this.headers.forEach(ge,lt)}toArray(){const ge=[];return this.headers.forEach(lt=>ge.push({name:lt.name,value:lt.value})),ge}toObject(){return this.headers.reduce((ge,lt)=>(ge[lt.name]=lt.value,ge),{})}}class Y{constructor(ge){this._header=ge}get name(){return this._header.name}get value(){return this._header.value}}class q extends Error{constructor(ge){super(ge),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,q.prototype)}}class le extends Error{constructor(ge){super(ge),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,le.prototype)}}class De extends Y{constructor(ge,lt){if(!ge)throw new q("You must pass a valid token to the constructor.");if(!lt&&!/^.+[:]/.test(ge))throw new q("You must pass a cPanel username associated with the cPanel API token.");if(!lt&&!/[:].+$/.test(ge))throw new q("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${lt?lt+":":""}${ge}`})}}Error,Error;var Ze=y(109);const rt=new class He{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ze.F.GET,Ze.F.DELETE,Ze.F.HEAD].forEach(ge=>{const lt=Ze.F[ge].toString();this.map[lt]={verb:lt,dataInBody:!1}}),[Ze.F.POST,Ze.F.PUT,Ze.F.PATCH].forEach(ge=>{const lt=Ze.F[ge].toString();this.map[lt]={verb:lt,dataInBody:!0}})}getRule(ge){const lt="string"==typeof ge?ge:Ze.F[ge].toString();let Dt=this.map[lt];return Dt||(Dt=this.map.DEFAULT),Dt}};var Ce=y(3022),wt=y(8448),Et=y.n(wt),un=(()=>{return(qt=un||(un={})).JsonApi="json-api",qt.XmlApi="xml-api",un;var qt})();class Kt extends class Vt{constructor(ge){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ee.uE,this.headers=new k,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ge&&(this.method=ge.method,ge.namespace&&(this.namespace=ge.namespace),ge.arguments&&ge.arguments.forEach(lt=>{this.addArgument(lt)}),ge.sorts&&ge.sorts.forEach(lt=>{this.addSort(lt)}),ge.filters&&ge.filters.forEach(lt=>{this.addFilter(lt)}),ge.columns&&ge.columns.forEach(lt=>this.addColumn(lt)),ge.pager&&this.paginate(ge.pager),this.config=ge.config?ge.config:this.defaultConfig,ge.headers&&ge.headers.forEach(lt=>{this.addHeader(lt)}))}get usePager(){return this._usePager}addArgument(ge){return this.arguments.push(ge instanceof U.h?ge:new U.h(ge.name,ge.value)),this}addSort(ge){return this.sorts.push(ge instanceof I.PE?ge:new I.PE(ge.column,ge.direction,ge.type)),this}addFilter(ge){return this.filters.push(ge instanceof B.w?ge:new B.w(ge.column,ge.operator,ge.value)),this}addColumn(ge){return this.columns.push(ge),this}addHeader(ge){return this.headers.push(ge instanceof Y?ge:new Y(ge)),this}paginate(ge){return this.pager=ge instanceof ee.uE?ge:new ee.uE(ge.page,ge.pageSize||20),this._usePager=!0,this}}{constructor(ge,lt){if(super(lt),this.apiType=un.JsonApi,ge!=un.JsonApi&&ge!=un.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=ge,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(ge){if(ge instanceof De)throw new le("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(ge),this}_build(ge,lt){let Dt="";return ge.forEach((qe,Ke,En)=>{Dt+=lt.encode(qe.name,qe.value,Ke===En.length-1)}),lt.separatorStart+Dt+lt.separatorEnd}_make_whm_api_fieldspec_from_number(ge){return Et()("",Math.floor(ge/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(ge%26)}_generateArguments(ge){ge.push({name:"api.version",value:1}),this.arguments.forEach(Dt=>ge.push(Dt))}_generateSorts(ge){this.sorts.forEach((lt,Dt)=>{0===Dt&&ge.push({name:"api.sort.enable",value:L(!0)});const qe=`api.sort.${this._make_whm_api_fieldspec_from_number(Dt)}`;ge.push({name:`${qe}.field`,value:lt.column}),ge.push({name:`${qe}.reverse`,value:L(lt.direction!==I.Sr.Ascending)}),ge.push({name:`${qe}.method`,value:h()(I.ER[lt.type])})})}_lookupFilterOperator(ge){switch(ge){case B.p.GreaterThanUnlimited:return"gt_handle_unlimited";case B.p.GreaterThan:return"gt";case B.p.LessThanUnlimited:return"lt_handle_unlimited";case B.p.LessThan:return"lt";case B.p.Equal:return"eq";case B.p.Begins:return"begins";case B.p.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${B.p[ge]} for WHM API 1`)}}_generateFilters(ge){this.filters.forEach((lt,Dt)=>{0===Dt&&(ge.push({name:"api.filter.enable",value:L(!0)}),ge.push({name:"api.filter.verbose",value:L(!0)}));const qe=`api.filter.${this._make_whm_api_fieldspec_from_number(Dt)}`;ge.push({name:`${qe}.field`,value:lt.column}),ge.push({name:`${qe}.type`,value:this._lookupFilterOperator(lt.operator)}),ge.push({name:`${qe}.arg0`,value:lt.value})})}_translatePageToStart(ge){return(ge.page-1)*ge.pageSize+1}_generatePagination(ge){if(!this.usePager)return;const lt=this.pager.all();ge.push({name:"api.chunk.enable",value:L(!0)}),ge.push({name:"api.chunk.verbose",value:L(!0)}),ge.push({name:"api.chunk.start",value:lt?-1:this._translatePageToStart(this.pager)}),lt||ge.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(ge){ge||(ge={verb:Ze.F.POST,encoder:this.config.json?new Ce.tO:new Ce.VN}),ge.encoder||(ge.encoder=this.config.json?new Ce.tO:new Ce.VN);const lt=rt.getRule(ge.verb),Dt={headers:new k([{name:"Content-Type",value:ge.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},qe=[];this._generateArguments(qe),this._generateSorts(qe),this._generateFilters(qe),this._generatePagination(qe);const Ke=this._build(qe,ge.encoder);return lt.dataInBody?Dt.body=Ke:Dt.url+=ge.verb===Ze.F.GET?`?${Ke}`:Ke,this.headers.forEach(En=>{Dt.headers.push({name:En.name,value:En.value})}),Dt}}},269:(Z,N,y)=>{"use strict";N.g=void 0;const h=y(1680);Object.defineProperty(N,"g",{enumerable:!0,get:function(){return h.Locale}})},5074:(Z,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.CLDR=void 0,N.CLDR=class y{constructor(h){this.rawData=h,this.validateCLDR(this.rawData)}validateCLDR(h){if(!h)throw new Error("CLDR data cannot be null");if(!h.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(h,"functions")||Object.prototype.hasOwnProperty.call(h,"get_plural_form")||"function"!=typeof h.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(h,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(h,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(h.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(h.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(h.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(h.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(h,...L){return this.rawData.functions.get_plural_form(h,...L)}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:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.Locale=void 0;const s=y(2889),h=y(9483),L=y(741),V=y(786),A=y(5074);N.Locale=class I{constructor(U,ee={}){this.lexicon=ee,this._cldr=new A.CLDR(U)}maketext(U,...ee){return s.maketext({cldr:this._cldr,lexicon:this.lexicon,template:U,args:ee})}localDatetime(U,ee){return this._datetimeWrapper(h.local_datetime,U,ee)}datetime(U,ee){return this._datetimeWrapper(h.datetime,U,ee)}_datetimeWrapper(U,ee,k){return U({cldr:this._cldr,args:[ee,k]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(U,ee){return this._formatNumber(L.numf,U,ee)}format_bytes(U,ee){return this._formatNumber(L.format_bytes,U,ee)}_formatNumber(U,...ee){return this._callCLDRFunc(U,ee)}list_and(...U){return this._callCLDRFunc(V.list_and,U)}list_and_quoted(...U){return this._callCLDRFunc(V.list_and_quoted,U)}list_or(...U){return this._callCLDRFunc(V.list_or,U)}list_or_quoted(...U){return this._callCLDRFunc(V.list_or_quoted,U)}_callCLDRFunc(U,ee){return U({cldr:this._cldr,args:ee})}}},7296:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.asis=void 0;const s=y(5247);N.asis=function h({args:[L,...V]}){if(!L||V.length>0||"string"!=typeof L)throw new Error("asis function accepts one non translatable string.");return(L=L.replace(/chr\((\d+)\)/g,function(A,I){return s.functions.chr(Number(I))})).replace(/amp\(\)/g,function(A){return s.functions.amp()})}},527:(Z,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.boolean=void 0,N.boolean=function y({args:[s,h,L,V]}){if(null==h||0===h.length||null==L||0===L.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof s<"u"&&s?h:V&&null==s?V:L)}},9076:(Z,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.comment=void 0,N.comment=function y({args:[s]}){return""}},9483:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.local_datetime=N.datetime=N.dateToLocalDayNum=void 0;const s=y(5074),h=function(k){const Y=k.getUTCDay()-1;return Y<0?6:Y},L=[7,1,2,3,4,5,6];function V(k,Y){return(L[k.getUTCDay()]+7-Y)%7+1}N.dateToLocalDayNum=V;const A=function(k,Y,q){let le="",De=0;return Y=Y||0,q=String(void 0===q?" ":q),De=Y-String(k).length,De>0&&(le=[...Array(De)].map(String.prototype.valueOf,q).join("")),le+k};function I({cldr:k,args:[Y=new Date,q],tzString:le="UTC"}){if("number"==typeof Y&&/^-?\d+$/.test(Y.toString())&&(Y=new Date(1e3*Y)),!(Y instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(k instanceof s.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const De=k.getDateTimeInfo();return"string"==typeof q&&/^(?:date|time|datetime|special)_format_/.test(q)&&(q=De[q]),q||(q=De.date_format_long),q.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(be,Fe,Ve){return Fe?function B(k){return k.substr(1,k.length-2)}(Fe):function U(k,Y,q,le){switch(q){case"yy":return Math.abs(k.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(k.getUTCFullYear()));case"MMMMM":return Y.month_format_narrow[k.getUTCMonth()];case"LLLLL":return Y.month_stand_alone_narrow[k.getUTCMonth()];case"MMMM":return Y.month_format_wide[k.getUTCMonth()];case"LLLL":return Y.month_stand_alone_wide[k.getUTCMonth()];case"MMM":return Y.month_format_abbreviated[k.getUTCMonth()];case"LLL":return Y.month_stand_alone_abbreviated[k.getUTCMonth()];case"MM":case"LL":return A((k.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(k.getUTCMonth()+1);case"EEEE":return Y.day_format_wide[h(k)];case"EEE":case"EE":case"E":return Y.day_format_abbreviated[h(k)];case"EEEEE":return Y.day_format_narrow[h(k)];case"cccc":return Y.day_stand_alone_wide[h(k)];case"ccc":return Y.day_stand_alone_abbreviated[h(k)];case"cc":case"c":return String(V(k,Number(Y.first_day_of_week)));case"ccccc":return Y.day_stand_alone_narrow[h(k)];case"dd":return A(k.getUTCDate().toString(),2,"0");case"d":return String(k.getUTCDate());case"h":case"hh":{let De=k.getUTCHours();De>12&&(De-=12),0===De&&(De=12);const be="hh"===q?A(De.toString(),2,"0"):De;return String(be)}case"H":return String(k.getUTCHours());case"HH":return A(k.getUTCHours().toString(),2,"0");case"m":return String(k.getUTCMinutes());case"mm":return A(k.getUTCMinutes().toString(),2,"0");case"s":return String(k.getUTCSeconds());case"ss":return A(k.getUTCSeconds().toString(),2,"0");case"a":return k.getUTCHours()<12?Y.am_pm_abbreviated[0]:Y.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return le;case"G":case"GG":case"GGG":return Y.era_abbreviated[k.getUTCFullYear()<0?0:1];case"GGGGG":return Y.era_narrow[k.getUTCFullYear()<0?0:1];case"GGGG":return Y.era_wide[k.getUTCFullYear()<0?0:1]}return q}(Y,De,Ve,le)})}N.datetime=I,N.local_datetime=function ee({cldr:k,args:[Y=new Date,q]}){if("number"==typeof Y&&/^-?\d+$/.test(Y.toString())&&(Y=new Date(1e3*Y)),!(Y instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(k instanceof s.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const le=Y.getTimezoneOffset();(Y=new Date(Y)).setMinutes(Y.getMinutes()-le);const De=le>0?"-":"+",be=Math.floor(Math.abs(le)/60),Fe=Math.abs(le%60);return I({cldr:k,args:[Y,q],tzString:"GMT"+De+A(be.toString(),2,"0")+A(Fe.toString(),2,"0")})}},40:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.functions=void 0;const s=y(7296),h=y(5247),L=y(9076),V=y(527),A=y(741),I=y(9483),B=y(786);N.functions={asis:s.asis,output:h.output,comment:L.comment,boolean:V.boolean,numf:A.numf,numerate:A.numerate,quant:A.quant,format_bytes:A.format_bytes,datetime:I.datetime,local_datetime:I.local_datetime,list_and:B.list_and,list_or:B.list_or,list_or_quoted:B.list_or_quoted,list_and_quoted:B.list_and_quoted}},786:(Z,N)=>{"use strict";function s(B,U,...ee){let k=ee.slice();switch(1===k.length&&Array.isArray(k[0])&&(k=k[0].slice()),(typeof k>"u"||0===k.length)&&(k=[""]),k=k.map(Y=>function y(B,U){const ee=B.getDelimiters();return ee&&Object.prototype.hasOwnProperty.call(ee,"quotation_start")&&Object.prototype.hasOwnProperty.call(ee,"quotation_end")?ee.quotation_start+U+ee.quotation_end:U}(B,Y)),U){case"list_and":return A({cldr:B,args:k});case"list_or":return I({cldr:B,args:k});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function V(B,U,...ee){let k=ee.slice();1===k.length&&Array.isArray(k[0])&&(k=k[0].slice());const Y=k.length;let q,le,De,be;try{q=B.getFormats()[U]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Fe=function(Ve,Vt){switch(Vt){case"0":return De;case"1":return k[be++]}};switch(Y){case 0:return"";case 1:return String(k[0]);default:if(De=2===Y?q[2]:q.start,De=De.replace(/\{([01])\}/g,function(Ve,Vt){return k[Vt]}),2===Y)return De;for(be=2;be<Y;)le=q[be===Y-1?"end":"middle"],De=le.replace(/\{([01])\}/g,Fe);return De}}function A({cldr:B,args:[...U]}){return V(B,"list",...U)}function I({cldr:B,args:[...U]}){return V(B,"list_or",...U)}Object.defineProperty(N,"__esModule",{value:!0}),N.list_or=N.list_and=N.list_or_quoted=N.list_and_quoted=void 0,N.list_and_quoted=function h({cldr:B,args:[...U]}){return s(B,"list_and",...U)},N.list_or_quoted=function L({cldr:B,args:[...U]}){return s(B,"list_or",...U)},N.list_and=A,N.list_or=I},5247:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.functions=N.output=void 0;const s=y(7906),h=y(8533);N.output=function L({args:[V,...A]}){if(A&&"string"==typeof A[0]&&(A[0]=A[0].replace(/chr\((\d+)\)/g,function(I,B){return N.functions.chr(Number(B))}),A[0]=A[0].replace(/amp\(\)/g,function(I){return N.functions.amp()})),"function"==typeof N.functions[V])return N.functions[V](...A);throw new Error(`Locale output function '${V}' is not implemented.`)},N.functions={amp:()=>s.htmlEscape("&"),apos:()=>s.htmlEscape("'"),quot:()=>s.htmlEscape('"'),underline:V=>`<u>${V}</u>`,strong:V=>`<strong>${V}</strong>`,em:V=>`<em>${V}</em>`,abbr:(V,A)=>`<abbr title="${A}">${V}</abbr>`,acronym:(V,A)=>`<abbr title="${A}" class="initialism">${V}</abbr>`,class:(V,...A)=>`<span class="${A.join(" ")}">${V}</span>`,chr(V){if("string"==typeof V&&(V=Number(V)),"number"!=typeof V||isNaN(V))throw new Error("chr needs a number as argument");return s.htmlEscape(String.fromCharCode(V))},url(V,...A){let I,B;if("object"==typeof A[A.length-1])if(I=A[A.length-1],2===A.length){if(I.html)throw new Error("Cannot provide both text and configuration with html attribute");B=A[0]}else I&&I.html?(B=I.html,delete I.html):B=V;else A.length%2==0?(I=h.listToObject(...A),I&&"html"in I&&""!==I.html?(B=I.html,delete I.html):B=V):(B=A.shift(),I=h.listToObject(...A));"_type"in I&&"offsite"===I._type&&(I.class="offsite",I.target="_blank",delete I._type);let U=`<a href="${V}"`;if("object"==typeof I)for(const ee in I)Object.prototype.hasOwnProperty.call(I,ee)&&(U+=` ${ee}="${I[ee]}"`);return U+=`>${B}</a>`,U}}},741:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.format_bytes=N.numf=N.quant=N.numerate=void 0;const s=y(5074);function L({cldr:B,args:[U,...ee]}){if(!(B instanceof s.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let k,Y=3;U instanceof Array?(Y=U[1],k=U[0]):k=U;const q=B.getPluralForm(k,...ee),le=q[0]?q[0]:ee[ee.length-1];if(q&&q.length>=2&&q[1])return le;const be=A({cldr:B,args:[k,Y]});return-1!==le.indexOf("%s")?le.replace(/%s/g,be):B.isRtl()?le+" "+be:be+" "+le}function A({cldr:B,args:[U,ee=6]}){if(!(B instanceof s.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(U.toString()))return String(U);const{decimalFormat:k,decimalGroup:Y,decimalDecimal:q}=function V(B){const U={},ee=B.getFormats();return Object.prototype.hasOwnProperty.call(ee,"decimal")&&(U.decimalFormat=ee.decimal),Object.prototype.hasOwnProperty.call(ee,"_decimal_format_group")&&(U.decimalGroup=ee._decimal_format_group),Object.prototype.hasOwnProperty.call(ee,"_decimal_format_decimal")&&(U.decimalDecimal=ee._decimal_format_decimal),U}(B);if(!k||!Y||!q)throw new Error("CLDR Data is missing information related to formatting decimals.");const le=U<0;U=Math.abs(U);let be,Fe,De=Math.floor(U);/(?!')\.(?!')/.test(U.toString())&&(be=String(U).replace(/^[^.]+/,"0"),be=Number(be).toFixed(ee),/^1/.test(be)?(De++,U=De,be=void 0):be=be.replace(/^.*\./,"").replace(/0+$/,"")),Fe=/(?!');(?!')/.test(k)?k.split(/(?!');(?!')/)[le?1:0]:(le?"-":"")+k;const Ze=Fe.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let He;1===Ze.length?He="":(Ze.pop(),He=Y);const rt=String(De).split("").reverse(),Ce=[];let wt;const Et=function(Kt){switch(Kt){case"#":return rt.shift()||"";case"0":return rt.shift()||"0"}};for(;rt.length;){Ze.length&&(wt=Ze.shift());const Kt=wt.replace(/(?!')[0#]|[0#](?!')/g,Et).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Ce.push(Kt)}const un=Ce.join(He).split("").reverse().join("")+(be?q+be:"");return Fe.replace(/[0#].*[0#]/,un)}N.numerate=function h({cldr:B,args:[U,...ee]}){if(!(B instanceof s.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const k=B.getPluralForm(U,...ee);return k?k[0]:ee[ee.length-1]},N.quant=L,N.numf=A,N.format_bytes=function I({cldr:B,args:[U,ee=2]}){if(!(B instanceof s.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const k=["KB","MB","GB","TB","PB","EB","ZB","YB"],q=U&&Math.min(Math.floor(Math.log(U)/Math.log(1024)),k.length);return q?A({cldr:B,args:[U/Math.pow(1024,q),ee]})+"\xa0"+k[q-1]:L({cldr:B,args:[U,"%s\xa0byte","%s\xa0bytes"]})}},2889:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.maketext=N.functions=N.config=void 0;const s=y(40);function A(I,B){const U=[];let ee=!1,k=!1;return I.forEach((Y,q)=>{if("_"===Y.charAt(0))if("_*"===Y){if(k)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";U.push(...B),ee=!0}else{const le=Y.match(N.config.underscoreDigitRe);if(le){if(ee)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[De,be]=le,Fe=Number(be)-1;if(!(Fe in B))throw`The "${De}" substitution argument was not passed to the maketext function.`;U.push(B[Fe]),k=!0}}else U.push(Y)}),U}N.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},N.functions={...s.functions},N.maketext=function L({cldr:I,lexicon:B,template:U,args:ee}){if("string"!=typeof U)throw"You must pass a string template to the maketext function.";if(-1===(U=B&&B[U]||U).indexOf("["))return U;const k=U.match(N.config.bracketRe)||[],Y=[];let q=!1,le="";if(k.forEach(De=>{if("["===De){if(q)throw Error(`Invalid maketext string: ${U} \nThe string contains nested brackets.`);q=!0}else if("]"===De){if(!q)throw Error(`Invalid maketext string: ${U} \nThe string contains an unmatched closing bracket character (]).`);if(!le)throw Error(`Invalid maketext string: ${U} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let be;q=!1;try{be=function V(I,B,U){let ee=B.split(",");if(ee=ee.map(q=>q.replace(N.config.fauxCommaRe,",")),1===ee.length){if(!N.config.underscoreDigitRe.test(ee[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[q]=A(ee,U);return String(q)}const k=ee.shift();if(!k||"function"!=typeof N.functions[k])throw`Invalid function "${k}" in maketext string.`;const Y=A(ee,U);return N.functions[k]({cldr:I,args:Y})}(I,le,ee)}catch(Fe){throw Error(`Invalid maketext string: ${U} \n${Fe}`)}le="",Y.push(be)}else if("~"===De.charAt(0)){const be=De.charAt(1)||"~";q?le+=","===be?N.config.fauxComma:be:N.config.tildeChars.has(be)?Y.push(be):Y.push(De)}else q?le+=De:Y.push(De)}),q)throw Error(`Invalid maketext string: ${U} \nThe string contains an unmatched opening bracket character ([).`);return Y.join("")}},7906:(Z,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.htmlEscape=N.entityMap=void 0,N.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},N.htmlEscape=function y(s){return String(s).replace(/[&<>"'\/]/g,h=>N.entityMap[h])}},8533:(Z,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.listToObject=void 0,N.listToObject=function h(...L){let V={};return function y(L){if(L.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let A=0,I=L.length;A<I;A+=2){const B=L[A];if("string"!=typeof B||""===B)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(L)&&(V=function s(L){const V=L.length,A={};let B,U,I=0;for(;I<V;)B=L[I],U=L[++I],A[B]=U,I++;return A}(L)),V}},50:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.commonValidators=void 0;const s=y(2257);N.commonValidators=new class h extends s.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(V){const A=V||this.locale.maketext("This field is required.");return I=>{let B={},U=I.value;return U&&(U=U.toString()),U&&U.length?null:(B=this.addError(B,"required",A),B)}}requiredTrue(V){const A=V||this.locale.maketext("This control's value should be true.");return I=>{let B={};return!0!==I.value?(B=this.addError(B,"requiredTrue",A),B):null}}startsWithLetter(V){return A=>{let I={};return A.value&&!this.STARTS_WITH_LETTER.test(A.value)?(I=this.addError(I,"doesNotStartWithLetter",V),I):null}}containsSpaces(V){return A=>{let I={};return A.value&&!this.CONTAINS_SPACES.test(A.value)?(I=this.addError(I,"containsSpace",V),I):null}}minLength(V,A){return I=>{let B={};return I.value&&I.value.length<A?(B=this.addError(B,"minLength",V),B):null}}maxLength(V,A){return I=>{let B={};return I.value&&I.value.length>A?(B=this.addError(B,"maxLength",V),B):null}}}},7414:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.cPUserNoteValidators=void 0;const s=y(2257),h=y(9761),V=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;N.cPUserNoteValidators=new class A extends s.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(B=250,U=""){return ee=>{let k=h.stringValidators.validUnicode()(ee);if(!k){const Y=this.locale.maketext("This note is too long.");k=h.stringValidators.maxCharacterLength(Y)(B,ee)}if(!k){const Y=ee.match(V);if(Y){k={};const q=Y.index,le=Y[0].codePointAt(0);this.addError(k,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",le,1+q))}}return k}}}},6128:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.cpanelUsernameValidators=void 0;const s=y(2257);N.cpanelUsernameValidators=new class h extends s.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(V){const A=V||this.locale.maketext("This is not a valid username.");return I=>{let B={};return I.value&&!this.VALID_USERNAME.test(I.value)?(B=this.addError(B,"invalidUsername",A),B):null}}}},6156:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.databaseValidators=void 0;const s=y(2257),h=y(6369);N.databaseValidators=new class L extends s.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName(A,I,B){return U=>A===h.DatabaseType.MySQL?(this._dbPrefix=I||"",this.validateMySQLDatabaseName(U.value,B||"")):null}validateMySQLDatabaseName(A,I){const B=this._performMySqlDatabaseNameValidation(A,I);let U={};return B?(U=this.addError(U,"databaseName",B),U):null}_performMySqlDatabaseNameValidation(A,I){let B=null;return B=this._verifyNameLengthLimit(A),null!==B||(B=this._verifyDatabaseNameIgnoreLength(A),null!==B)||(B=this._verifyDatabaseName(A,I)),B}_verifyNameLengthLimit(A){let I=null,B=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(B-=this._dbPrefix.length+1);const U=unescape(encodeURIComponent(A)).length-B;return U>0&&(I={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",U,B)}),I}_verifyDatabaseNameIgnoreLength(A){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(A)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(A)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName(A,I){if(null!==A&&A.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const B=this._verifySpecialWildcardsInDatabaseNames(A);return null!==B?B:I&&this._convertVersionStringToNumber(I)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(A)?{message:this.locale.maketext("This system\u2019s [asis,MySQL] version ([_1]) prohibits the character \u201c[_2]\u201d in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",I,".")}:null}_convertVersionStringToNumber(A){return A.match(/mariadb/i)&&(A=A.replace(/^[^-]+-/,"")),parseInt(A.replace(/-.*/,"").split(/\./).map(function(I){return I.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(A){if(null===A)return null;const I=A.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let B=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(B-=this._dbPrefix.length+1);const U=I-B;return U>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],B,I,U)}:null}}},4559:function(Z,N,y){"use strict";var s=this&&this.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(N,"__esModule",{value:!0}),N.domainValidators=void 0;const h=y(549),L=s(y(4879)),V=s(y(836)),A=y(2257);N.domainValidators=new class I extends A.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(U){const ee=[],k=L.default.ucs2.decode(U);for(let Y=0;Y<k.length;Y++)k[Y]>this.UNICODE_ASCII_CUTOFF&&ee.push(L.default.ucs2.encode([k[Y]]));return V.default(ee)}_validateLabelBasics(){return U=>{let ee={};if(U.value&&0!==U.value.length){if(U.value.length>this.MAX_LABEL_BYTES)ee=this.addError(ee,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===U.value[0])ee=this.addError(ee,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===U.value[U.value.length-1])ee=this.addError(ee,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(L.default.toASCII(U.value).length>this.MAX_LABEL_BYTES){const k=this._getNonASCII(U.value);ee=this.addError(ee,"length",this.locale.maketext("The label\u2019s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,k[0]))}}else ee=this.addError(ee,"length",this.locale.maketext("A label must not be empty."));return ee}}validDomainLength(){return U=>{let ee={};if(U.value.length>this.MAX_DOMAIN_BYTES)return ee=this.addError(ee,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),ee;if(L.default.toASCII(U.value).length>this.MAX_DOMAIN_BYTES){const Y=this._getNonASCII(U.value);return ee=this.addError(ee,"length",this.locale.maketext("The domain name\u2019s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,Y[0])),ee}return null}}validateLabel(){return U=>h.runValidationGroup(U,[this._validateLabelBasics(),ee=>{let k={};return this.NONINITIAL_LABEL_REGEX.test(ee.value)||(k=this.addError(k,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),k}])}validateTLD(){return U=>{let ee={};return!this.VALID_TLD_REGEX.test(U.value)&&!this.VALID_IDN_TLD_REGEX.test(U.value)&&(ee=this.addError(ee,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),ee}}fqdn(){return U=>{const ee=U.value.split("."),k=ee[ee.length-1],Y=ee[0],q=U.value,le=[()=>{let De={};const be=this.IPv4_REGEX.test(q),Fe=this.IPv6_REGEX.test(q);return be||Fe?De=this.addError(De,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):ee.length<2?De=this.addError(De,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:Y}),this.validateTLD().bind(this,{value:"."+k})];return ee.forEach(De=>{le.push(this.validateLabel().bind(this,{value:De}))}),h.runValidationGroup(U,le)}}fqdnOrIP(){return U=>{const ee=h.runValidationGroup(U,[this.anyIP()]),k=U.value.split("."),Y=k[k.length-1],q=k[0],le=[be=>{let Fe={};return k.length<2&&(Fe=this.addError(Fe,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Fe},this.validDomainLength(),this.validateLabel().bind(this,{value:q}),this.validateTLD().bind(this,{value:"."+Y})];k.forEach(be=>{le.push(this.validateLabel().bind(this,{value:be}))});const De=h.runValidationGroup(U,le);return ee&&De?{...ee,...De}:null}}ipv4(){return U=>{let ee={};return U.value&&!this.IPv4_REGEX.test(U.value)?(ee=this.addError(ee,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),ee):null}}ipv6(){return U=>{let ee={};return U.value&&!this.IPv6_REGEX.test(U.value)?(ee=this.addError(ee,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),ee):null}}anyIP(){return U=>{let ee={};return!U.value||this.IPv4_REGEX.test(U.value)||this.IPv6_REGEX.test(U.value)?null:(ee=this.addError(ee,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),ee)}}}},8415:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.emailValidators=void 0;const s=y(2257);N.emailValidators=new class h extends s.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(V){const A=V||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return I=>{let B={};return I.value&&!this.VALID_EMAIL.test(I.value)?(B=this.addError(B,"invalidEmail",A),B):null}}}},7348:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.equalityValidators=void 0;const s=y(2257);N.equalityValidators=new class h extends s.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(V,A,I){return B=>{const U=B.get(A).value;let k={};return U===B.get(I).value&&""!==U?(k=this.addError(k,"equalFields",V),k):null}}}},2502:(Z,N,y)=>{"use strict";N.uZ=N.Xz=void 0;y(50);const L=y(4559);Object.defineProperty(N,"Xz",{enumerable:!0,get:function(){return L.domainValidators}});const V=y(2257);Object.defineProperty(N,"uZ",{enumerable:!0,get:function(){return V.BaseValidator}});y(6156),y(6369),y(6128),y(8415),y(7348),y(7414),y(9761)},2257:(Z,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.BaseValidator=void 0;let y,s=!0;N.BaseValidator=class L{constructor(){this.prefix="",y={maketext:A=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(A){y=A}get locale(){return y}_buildKey(A){return s?`cpanel.${this.prefix}.${A}`:A}static disablePrefixing(){s=!1}static enablePrefixing(){s=!0}addError(A={},I,B){return"string"==typeof B&&(B={message:B}),A[this._buildKey(I)]=B,A}}},6369:(Z,N)=>{"use strict";var s;Object.defineProperty(N,"__esModule",{value:!0}),N.DatabaseType=void 0,(s=N.DatabaseType||(N.DatabaseType={})).MySQL="MySQL",s.PostgreSQL="PostgreSQL"},91:(Z,N)=>{"use strict";function L(A){return"0x"+A.toString(16)}Object.defineProperty(N,"__esModule",{value:!0}),N.characterLength=void 0,N.characterLength=function V(A,I){let B=0;for(let U=0;U<A.length;U++){B++;const ee=A.charCodeAt(U);if(55296==(64512&ee)){if(U++,U===A.length)throw new Error(I.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",L(ee)));const k=A.charCodeAt(U);if(56320!=(64512&k))throw new Error(I.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[ee,k].map(L),U))}}return B}},549:function(Z,N,y){"use strict";var s=this&&this.__importDefault||function(V){return V&&V.__esModule?V:{default:V}};Object.defineProperty(N,"__esModule",{value:!0}),N.runValidationGroup=void 0;const h=s(y(9721));N.runValidationGroup=function L(V,A){const I={};return A.forEach(B=>{h.default(I,B(V))}),Object.keys(I).length?I:null}},9761:(Z,N,y)=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.stringValidators=void 0;const s=y(2257),h=y(91);N.stringValidators=new class V extends s.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return I=>{let B;try{B=h.characterLength(I,this.locale)}catch(U){const ee={};return this.addError(ee,"unicode",U.message),ee}return null}}maxCharacterLength(I){return(B,U)=>{if(h.characterLength(U,this.locale)>B){const q={};return this.addError(q,"length",I),q}return null}}maxUTF8Length(I){return(B,U)=>{if(function L(A){return unescape(encodeURIComponent(A)).length}(U)>B){const ee={};return this.addError(ee,"length",I),ee}return null}}}},4994:(Z,N,y)=>{var s=y(4312),h=y(6421),L=y(5764),V=y(8685),A=y(6676);function I(B){var U=-1,ee=null==B?0:B.length;for(this.clear();++U<ee;){var k=B[U];this.set(k[0],k[1])}}I.prototype.clear=s,I.prototype.delete=h,I.prototype.get=L,I.prototype.has=V,I.prototype.set=A,Z.exports=I},9215:(Z,N,y)=>{var s=y(1840),h=y(4378),L=y(4981),V=y(7343),A=y(8895);function I(B){var U=-1,ee=null==B?0:B.length;for(this.clear();++U<ee;){var k=B[U];this.set(k[0],k[1])}}I.prototype.clear=s,I.prototype.delete=h,I.prototype.get=L,I.prototype.has=V,I.prototype.set=A,Z.exports=I},1501:(Z,N,y)=>{var L=y(3436)(y(2119),"Map");Z.exports=L},9850:(Z,N,y)=>{var s=y(638),h=y(1184),L=y(866),V=y(3771),A=y(1772);function I(B){var U=-1,ee=null==B?0:B.length;for(this.clear();++U<ee;){var k=B[U];this.set(k[0],k[1])}}I.prototype.clear=s,I.prototype.delete=h,I.prototype.get=L,I.prototype.has=V,I.prototype.set=A,Z.exports=I},6323:(Z,N,y)=>{var L=y(3436)(y(2119),"Set");Z.exports=L},8849:(Z,N,y)=>{var s=y(9850),h=y(4600),L=y(1387);function V(A){var I=-1,B=null==A?0:A.length;for(this.__data__=new s;++I<B;)this.add(A[I])}V.prototype.add=V.prototype.push=h,V.prototype.has=L,Z.exports=V},443:(Z,N,y)=>{var s=y(2119);Z.exports=s.Symbol},6999:Z=>{Z.exports=function N(y,s,h){switch(h.length){case 0:return y.call(s);case 1:return y.call(s,h[0]);case 2:return y.call(s,h[0],h[1]);case 3:return y.call(s,h[0],h[1],h[2])}return y.apply(s,h)}},1253:(Z,N,y)=>{var s=y(4164);Z.exports=function h(L,V){return!(null==L||!L.length)&&s(L,V,0)>-1}},7609:Z=>{Z.exports=function N(y,s,h){for(var L=-1,V=null==y?0:y.length;++L<V;)if(h(s,y[L]))return!0;return!1}},2271:(Z,N,y)=>{var s=y(5334),h=y(7151),L=y(1503),V=y(891),A=y(8442),I=y(8159),U=Object.prototype.hasOwnProperty;Z.exports=function ee(k,Y){var q=L(k),le=!q&&h(k),De=!q&&!le&&V(k),be=!q&&!le&&!De&&I(k),Fe=q||le||De||be,Ve=Fe?s(k.length,String):[],Vt=Ve.length;for(var Ze in k)(Y||U.call(k,Ze))&&(!Fe||!("length"==Ze||De&&("offset"==Ze||"parent"==Ze)||be&&("buffer"==Ze||"byteLength"==Ze||"byteOffset"==Ze)||A(Ze,Vt)))&&Ve.push(Ze);return Ve}},4633:Z=>{Z.exports=function N(y,s){for(var h=-1,L=null==y?0:y.length,V=Array(L);++h<L;)V[h]=s(y[h],h,y);return V}},8745:Z=>{Z.exports=function N(y,s,h,L){var V=-1,A=null==y?0:y.length;for(L&&A&&(h=y[++V]);++V<A;)h=s(h,y[V],V,y);return h}},5481:(Z,N,y)=>{var h=y(1847)("length");Z.exports=h},6422:Z=>{Z.exports=function N(y){return y.split("")}},69:Z=>{var N=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Z.exports=function y(s){return s.match(N)||[]}},9719:(Z,N,y)=>{var s=y(5683),h=y(217),V=Object.prototype.hasOwnProperty;Z.exports=function A(I,B,U){var ee=I[B];(!V.call(I,B)||!h(ee,U)||void 0===U&&!(B in I))&&s(I,B,U)}},3503:(Z,N,y)=>{var s=y(217);Z.exports=function h(L,V){for(var A=L.length;A--;)if(s(L[A][0],V))return A;return-1}},5683:(Z,N,y)=>{var s=y(6713);Z.exports=function h(L,V,A){"__proto__"==V&&s?s(L,V,{configurable:!0,enumerable:!0,value:A,writable:!0}):L[V]=A}},5317:Z=>{Z.exports=function N(y,s,h,L){for(var V=y.length,A=h+(L?1:-1);L?A--:++A<V;)if(s(y[A],A,y))return A;return-1}},3337:(Z,N,y)=>{var s=y(443),h=y(1318),L=y(2902),I=s?s.toStringTag:void 0;Z.exports=function B(U){return null==U?void 0===U?"[object Undefined]":"[object Null]":I&&I in Object(U)?h(U):L(U)}},4164:(Z,N,y)=>{var s=y(5317),h=y(968),L=y(4977);Z.exports=function V(A,I,B){return I==I?L(A,I,B):s(A,h,B)}},186:(Z,N,y)=>{var s=y(3337),h=y(2671);Z.exports=function V(A){return h(A)&&"[object Arguments]"==s(A)}},968:Z=>{Z.exports=function N(y){return y!=y}},7304:(Z,N,y)=>{var s=y(5946),h=y(1943),L=y(5940),V=y(2827),I=/^\[object .+?Constructor\]$/,Y=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");Z.exports=function q(le){return!(!L(le)||h(le))&&(s(le)?Y:I).test(V(le))}},1083:(Z,N,y)=>{var s=y(3337),h=y(6231),L=y(2671),ge={};ge["[object Float32Array]"]=ge["[object Float64Array]"]=ge["[object Int8Array]"]=ge["[object Int16Array]"]=ge["[object Int32Array]"]=ge["[object Uint8Array]"]=ge["[object Uint8ClampedArray]"]=ge["[object Uint16Array]"]=ge["[object Uint32Array]"]=!0,ge["[object Arguments]"]=ge["[object Array]"]=ge["[object ArrayBuffer]"]=ge["[object Boolean]"]=ge["[object DataView]"]=ge["[object Date]"]=ge["[object Error]"]=ge["[object Function]"]=ge["[object Map]"]=ge["[object Number]"]=ge["[object Object]"]=ge["[object RegExp]"]=ge["[object Set]"]=ge["[object String]"]=ge["[object WeakMap]"]=!1,Z.exports=function lt(Dt){return L(Dt)&&h(Dt.length)&&!!ge[s(Dt)]}},2809:(Z,N,y)=>{var s=y(5940),h=y(5488),L=y(2158),A=Object.prototype.hasOwnProperty;Z.exports=function I(B){if(!s(B))return L(B);var U=h(B),ee=[];for(var k in B)"constructor"==k&&(U||!A.call(B,k))||ee.push(k);return ee}},1847:Z=>{Z.exports=function N(y){return function(s){return null==s?void 0:s[y]}}},2724:Z=>{Z.exports=function N(y){return function(s){return null==y?void 0:y[s]}}},7065:Z=>{var y=Math.floor;Z.exports=function s(h,L){var V="";if(!h||L<1||L>9007199254740991)return V;do{L%2&&(V+=h),(L=y(L/2))&&(h+=h)}while(L);return V}},3269:(Z,N,y)=>{var s=y(2608),h=y(3983),L=y(2185);Z.exports=function V(A,I){return L(h(A,I,s),A+"")}},9510:(Z,N,y)=>{var s=y(6684),h=y(6713),L=y(2608);Z.exports=h?function(A,I){return h(A,"toString",{configurable:!0,enumerable:!1,value:s(I),writable:!0})}:L},4363:Z=>{Z.exports=function N(y,s,h){var L=-1,V=y.length;s<0&&(s=-s>V?0:V+s),(h=h>V?V:h)<0&&(h+=V),V=s>h?0:h-s>>>0,s>>>=0;for(var A=Array(V);++L<V;)A[L]=y[L+s];return A}},5334:Z=>{Z.exports=function N(y,s){for(var h=-1,L=Array(y);++h<y;)L[h]=s(h);return L}},3935:(Z,N,y)=>{var s=y(443),h=y(4633),L=y(1503),V=y(4129),I=s?s.prototype:void 0,B=I?I.toString:void 0;Z.exports=function U(ee){if("string"==typeof ee)return ee;if(L(ee))return h(ee,U)+"";if(V(ee))return B?B.call(ee):"";var k=ee+"";return"0"==k&&1/ee==-1/0?"-0":k}},3348:(Z,N,y)=>{var s=y(2760),h=/^\s+/;Z.exports=function L(V){return V&&V.slice(0,s(V)+1).replace(h,"")}},5647:Z=>{Z.exports=function N(y){return function(s){return y(s)}}},707:(Z,N,y)=>{var s=y(8849),h=y(1253),L=y(7609),V=y(5972),A=y(4575),I=y(4174);Z.exports=function U(ee,k,Y){var q=-1,le=h,De=ee.length,be=!0,Fe=[],Ve=Fe;if(Y)be=!1,le=L;else if(De>=200){var Vt=k?null:A(ee);if(Vt)return I(Vt);be=!1,le=V,Ve=new s}else Ve=k?[]:Fe;e:for(;++q<De;){var Ze=ee[q],He=k?k(Ze):Ze;if(Ze=Y||0!==Ze?Ze:0,be&&He==He){for(var rt=Ve.length;rt--;)if(Ve[rt]===He)continue e;k&&Ve.push(He),Fe.push(Ze)}else le(Ve,He,Y)||(Ve!==Fe&&Ve.push(He),Fe.push(Ze))}return Fe}},5972:Z=>{Z.exports=function N(y,s){return y.has(s)}},2329:(Z,N,y)=>{var s=y(4363);Z.exports=function h(L,V,A){var I=L.length;return A=void 0===A?I:A,!V&&A>=I?L:s(L,V,A)}},1989:(Z,N,y)=>{var s=y(9719),h=y(5683);Z.exports=function L(V,A,I,B){var U=!I;I||(I={});for(var ee=-1,k=A.length;++ee<k;){var Y=A[ee],q=B?B(I[Y],V[Y],Y,I,V):void 0;void 0===q&&(q=V[Y]),U?h(I,Y,q):s(I,Y,q)}return I}},4610:(Z,N,y)=>{var s=y(2119);Z.exports=s["__core-js_shared__"]},4944:(Z,N,y)=>{var s=y(3269),h=y(3342);Z.exports=function L(V){return s(function(A,I){var B=-1,U=I.length,ee=U>1?I[U-1]:void 0,k=U>2?I[2]:void 0;for(ee=V.length>3&&"function"==typeof ee?(U--,ee):void 0,k&&h(I[0],I[1],k)&&(ee=U<3?void 0:ee,U=1),A=Object(A);++B<U;){var Y=I[B];Y&&V(A,Y,B,ee)}return A})}},1491:(Z,N,y)=>{var s=y(8745),h=y(4707),L=y(7188),A=RegExp("['\u2019]","g");Z.exports=function I(B){return function(U){return s(L(h(U).replace(A,"")),B,"")}}},5171:(Z,N,y)=>{var s=y(7065),h=y(3935),L=y(2329),V=y(7247),A=y(2315),I=y(6007),B=Math.ceil;Z.exports=function U(ee,k){var Y=(k=void 0===k?" ":h(k)).length;if(Y<2)return Y?s(k,ee):k;var q=s(k,B(ee/A(k)));return V(k)?L(I(q),0,ee).join(""):q.slice(0,ee)}},4575:(Z,N,y)=>{var s=y(6323),h=y(2552),L=y(4174),A=s&&1/L(new s([,-0]))[1]==1/0?function(I){return new s(I)}:h;Z.exports=A},9148:(Z,N,y)=>{var L=y(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"});Z.exports=L},6713:(Z,N,y)=>{var s=y(3436),h=function(){try{var L=s(Object,"defineProperty");return L({},"",{}),L}catch{}}();Z.exports=h},9122:Z=>{var N="object"==typeof global&&global&&global.Object===Object&&global;Z.exports=N},4537:(Z,N,y)=>{var s=y(3819);Z.exports=function h(L,V){var A=L.__data__;return s(V)?A["string"==typeof V?"string":"hash"]:A.map}},3436:(Z,N,y)=>{var s=y(7304),h=y(1990);Z.exports=function L(V,A){var I=h(V,A);return s(I)?I:void 0}},9519:(Z,N,y)=>{var h=y(9385)(Object.getPrototypeOf,Object);Z.exports=h},1318:(Z,N,y)=>{var s=y(443),h=Object.prototype,L=h.hasOwnProperty,V=h.toString,A=s?s.toStringTag:void 0;Z.exports=function I(B){var U=L.call(B,A),ee=B[A];try{B[A]=void 0;var k=!0}catch{}var Y=V.call(B);return k&&(U?B[A]=ee:delete B[A]),Y}},1990:Z=>{Z.exports=function N(y,s){return null==y?void 0:y[s]}},7247:Z=>{var I=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");Z.exports=function B(U){return I.test(U)}},9062:Z=>{var N=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Z.exports=function y(s){return N.test(s)}},4312:(Z,N,y)=>{var s=y(862);Z.exports=function h(){this.__data__=s?s(null):{},this.size=0}},6421:Z=>{Z.exports=function N(y){var s=this.has(y)&&delete this.__data__[y];return this.size-=s?1:0,s}},5764:(Z,N,y)=>{var s=y(862),V=Object.prototype.hasOwnProperty;Z.exports=function A(I){var B=this.__data__;if(s){var U=B[I];return"__lodash_hash_undefined__"===U?void 0:U}return V.call(B,I)?B[I]:void 0}},8685:(Z,N,y)=>{var s=y(862),L=Object.prototype.hasOwnProperty;Z.exports=function V(A){var I=this.__data__;return s?void 0!==I[A]:L.call(I,A)}},6676:(Z,N,y)=>{var s=y(862);Z.exports=function L(V,A){var I=this.__data__;return this.size+=this.has(V)?0:1,I[V]=s&&void 0===A?"__lodash_hash_undefined__":A,this}},8442:Z=>{var y=/^(?:0|[1-9]\d*)$/;Z.exports=function s(h,L){var V=typeof h;return!!(L=L??9007199254740991)&&("number"==V||"symbol"!=V&&y.test(h))&&h>-1&&h%1==0&&h<L}},3342:(Z,N,y)=>{var s=y(217),h=y(6507),L=y(8442),V=y(5940);Z.exports=function A(I,B,U){if(!V(U))return!1;var ee=typeof B;return!!("number"==ee?h(U)&&L(B,U.length):"string"==ee&&B in U)&&s(U[B],I)}},3819:Z=>{Z.exports=function N(y){var s=typeof y;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==y:null===y}},1943:(Z,N,y)=>{var V,s=y(4610),h=(V=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";Z.exports=function L(V){return!!h&&h in V}},5488:Z=>{var N=Object.prototype;Z.exports=function y(s){var h=s&&s.constructor;return s===("function"==typeof h&&h.prototype||N)}},1840:Z=>{Z.exports=function N(){this.__data__=[],this.size=0}},4378:(Z,N,y)=>{var s=y(3503),L=Array.prototype.splice;Z.exports=function V(A){var I=this.__data__,B=s(I,A);return!(B<0||(B==I.length-1?I.pop():L.call(I,B,1),--this.size,0))}},4981:(Z,N,y)=>{var s=y(3503);Z.exports=function h(L){var V=this.__data__,A=s(V,L);return A<0?void 0:V[A][1]}},7343:(Z,N,y)=>{var s=y(3503);Z.exports=function h(L){return s(this.__data__,L)>-1}},8895:(Z,N,y)=>{var s=y(3503);Z.exports=function h(L,V){var A=this.__data__,I=s(A,L);return I<0?(++this.size,A.push([L,V])):A[I][1]=V,this}},638:(Z,N,y)=>{var s=y(4994),h=y(9215),L=y(1501);Z.exports=function V(){this.size=0,this.__data__={hash:new s,map:new(L||h),string:new s}}},1184:(Z,N,y)=>{var s=y(4537);Z.exports=function h(L){var V=s(this,L).delete(L);return this.size-=V?1:0,V}},866:(Z,N,y)=>{var s=y(4537);Z.exports=function h(L){return s(this,L).get(L)}},3771:(Z,N,y)=>{var s=y(4537);Z.exports=function h(L){return s(this,L).has(L)}},1772:(Z,N,y)=>{var s=y(4537);Z.exports=function h(L,V){var A=s(this,L),I=A.size;return A.set(L,V),this.size+=A.size==I?0:1,this}},862:(Z,N,y)=>{var h=y(3436)(Object,"create");Z.exports=h},2158:Z=>{Z.exports=function N(y){var s=[];if(null!=y)for(var h in Object(y))s.push(h);return s}},3597:(Z,N,y)=>{Z=y.nmd(Z);var s=y(9122),h=N&&!N.nodeType&&N,L=h&&Z&&!Z.nodeType&&Z,A=L&&L.exports===h&&s.process,I=function(){try{return L&&L.require&&L.require("util").types||A&&A.binding&&A.binding("util")}catch{}}();Z.exports=I},2902:Z=>{var y=Object.prototype.toString;Z.exports=function s(h){return y.call(h)}},9385:Z=>{Z.exports=function N(y,s){return function(h){return y(s(h))}}},3983:(Z,N,y)=>{var s=y(6999),h=Math.max;Z.exports=function L(V,A,I){return A=h(void 0===A?V.length-1:A,0),function(){for(var B=arguments,U=-1,ee=h(B.length-A,0),k=Array(ee);++U<ee;)k[U]=B[A+U];U=-1;for(var Y=Array(A+1);++U<A;)Y[U]=B[U];return Y[A]=I(k),s(V,this,Y)}}},2119:(Z,N,y)=>{var s=y(9122),h="object"==typeof self&&self&&self.Object===Object&&self,L=s||h||Function("return this")();Z.exports=L},4600:Z=>{Z.exports=function y(s){return this.__data__.set(s,"__lodash_hash_undefined__"),this}},1387:Z=>{Z.exports=function N(y){return this.__data__.has(y)}},4174:Z=>{Z.exports=function N(y){var s=-1,h=Array(y.size);return y.forEach(function(L){h[++s]=L}),h}},2185:(Z,N,y)=>{var s=y(9510),L=y(29)(s);Z.exports=L},29:Z=>{var s=Date.now;Z.exports=function h(L){var V=0,A=0;return function(){var I=s(),B=16-(I-A);if(A=I,B>0){if(++V>=800)return arguments[0]}else V=0;return L.apply(void 0,arguments)}}},4977:Z=>{Z.exports=function N(y,s,h){for(var L=h-1,V=y.length;++L<V;)if(y[L]===s)return L;return-1}},2315:(Z,N,y)=>{var s=y(5481),h=y(7247),L=y(1149);Z.exports=function V(A){return h(A)?L(A):s(A)}},6007:(Z,N,y)=>{var s=y(6422),h=y(7247),L=y(6319);Z.exports=function V(A){return h(A)?L(A):s(A)}},2827:Z=>{var y=Function.prototype.toString;Z.exports=function s(h){if(null!=h){try{return y.call(h)}catch{}try{return h+""}catch{}}return""}},2760:Z=>{var N=/\s/;Z.exports=function y(s){for(var h=s.length;h--&&N.test(s.charAt(h)););return h}},1149:Z=>{var N="\\ud800-\\udfff",A="["+N+"]",I="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",B="\\ud83c[\\udffb-\\udfff]",ee="[^"+N+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",Y="[\\ud800-\\udbff][\\udc00-\\udfff]",le="(?:"+I+"|"+B+")?",De="[\\ufe0e\\ufe0f]?",Fe=De+le+"(?:\\u200d(?:"+[ee,k,Y].join("|")+")"+De+le+")*",Ve="(?:"+[ee+I+"?",I,k,Y,A].join("|")+")",Vt=RegExp(B+"(?="+B+")|"+Ve+Fe,"g");Z.exports=function Ze(He){for(var rt=Vt.lastIndex=0;Vt.test(He);)++rt;return rt}},6319:Z=>{var N="\\ud800-\\udfff",A="["+N+"]",I="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",B="\\ud83c[\\udffb-\\udfff]",ee="[^"+N+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",Y="[\\ud800-\\udbff][\\udc00-\\udfff]",le="(?:"+I+"|"+B+")?",De="[\\ufe0e\\ufe0f]?",Fe=De+le+"(?:\\u200d(?:"+[ee,k,Y].join("|")+")"+De+le+")*",Ve="(?:"+[ee+I+"?",I,k,Y,A].join("|")+")",Vt=RegExp(B+"(?="+B+")|"+Ve+Fe,"g");Z.exports=function Ze(He){return He.match(Vt)||[]}},910:Z=>{var N="\\ud800-\\udfff",V="\\u2700-\\u27bf",A="a-z\\xdf-\\xf6\\xf8-\\xff",k="A-Z\\xc0-\\xd6\\xd8-\\xde",q="\\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",De="["+q+"]",Fe="\\d+",Ve="["+V+"]",Vt="["+A+"]",Ze="[^"+N+q+Fe+V+A+k+"]",wt="(?:\\ud83c[\\udde6-\\uddff]){2}",Et="[\\ud800-\\udbff][\\udc00-\\udfff]",un="["+k+"]",qt="(?:"+Vt+"|"+Ze+")",ge="(?:"+un+"|"+Ze+")",lt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Dt="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",qe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Ke="[\\ufe0e\\ufe0f]?",gr=Ke+qe+"(?:\\u200d(?:"+["[^"+N+"]",wt,Et].join("|")+")"+Ke+qe+")*",Ln="(?:"+[Ve,wt,Et].join("|")+")"+gr,mr=RegExp([un+"?"+Vt+"+"+lt+"(?="+[De,un,"$"].join("|")+")",ge+"+"+Dt+"(?="+[De,un+qt,"$"].join("|")+")",un+"?"+qt+"+"+lt,un+"+"+Dt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe,Ln].join("|"),"g");Z.exports=function Yn(kr){return kr.match(mr)||[]}},9919:(Z,N,y)=>{var s=y(1989),h=y(4944),L=y(6555),V=h(function(A,I){s(I,L(I),A)});Z.exports=V},6684:Z=>{Z.exports=function N(y){return function(){return y}}},4707:(Z,N,y)=>{var s=y(9148),h=y(3943),L=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ee=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Z.exports=function k(Y){return(Y=h(Y))&&Y.replace(L,s).replace(ee,"")}},217:Z=>{Z.exports=function N(y,s){return y===s||y!=y&&s!=s}},9721:(Z,N,y)=>{Z.exports=y(9919)},2608:Z=>{Z.exports=function N(y){return y}},7151:(Z,N,y)=>{var s=y(186),h=y(2671),L=Object.prototype,V=L.hasOwnProperty,A=L.propertyIsEnumerable,I=s(function(){return arguments}())?s:function(B){return h(B)&&V.call(B,"callee")&&!A.call(B,"callee")};Z.exports=I},1503:Z=>{Z.exports=Array.isArray},6507:(Z,N,y)=>{var s=y(5946),h=y(6231);Z.exports=function L(V){return null!=V&&h(V.length)&&!s(V)}},4798:(Z,N,y)=>{var s=y(3337),h=y(2671);Z.exports=function V(A){return!0===A||!1===A||h(A)&&"[object Boolean]"==s(A)}},891:(Z,N,y)=>{Z=y.nmd(Z);var s=y(2119),h=y(3580),L=N&&!N.nodeType&&N,V=L&&Z&&!Z.nodeType&&Z,I=V&&V.exports===L?s.Buffer:void 0;Z.exports=(I?I.isBuffer:void 0)||h},5946:(Z,N,y)=>{var s=y(3337),h=y(5940);Z.exports=function B(U){if(!h(U))return!1;var ee=s(U);return"[object Function]"==ee||"[object GeneratorFunction]"==ee||"[object AsyncFunction]"==ee||"[object Proxy]"==ee}},6231:Z=>{Z.exports=function y(s){return"number"==typeof s&&s>-1&&s%1==0&&s<=9007199254740991}},1305:Z=>{Z.exports=function N(y){return null===y}},9138:(Z,N,y)=>{var s=y(3337),h=y(2671);Z.exports=function V(A){return"number"==typeof A||h(A)&&"[object Number]"==s(A)}},5940:Z=>{Z.exports=function N(y){var s=typeof y;return null!=y&&("object"==s||"function"==s)}},2671:Z=>{Z.exports=function N(y){return null!=y&&"object"==typeof y}},7614:(Z,N,y)=>{var s=y(3337),h=y(9519),L=y(2671),B=Function.prototype.toString,U=Object.prototype.hasOwnProperty,ee=B.call(Object);Z.exports=function k(Y){if(!L(Y)||"[object Object]"!=s(Y))return!1;var q=h(Y);if(null===q)return!0;var le=U.call(q,"constructor")&&q.constructor;return"function"==typeof le&&le instanceof le&&B.call(le)==ee}},248:(Z,N,y)=>{var s=y(3337),h=y(1503),L=y(2671);Z.exports=function A(I){return"string"==typeof I||!h(I)&&L(I)&&"[object String]"==s(I)}},4129:(Z,N,y)=>{var s=y(3337),h=y(2671);Z.exports=function V(A){return"symbol"==typeof A||h(A)&&"[object Symbol]"==s(A)}},8159:(Z,N,y)=>{var s=y(1083),h=y(5647),L=y(3597),V=L&&L.isTypedArray,A=V?h(V):s;Z.exports=A},4235:Z=>{Z.exports=function N(y){return void 0===y}},6555:(Z,N,y)=>{var s=y(2271),h=y(2809),L=y(6507);Z.exports=function V(A){return L(A)?s(A,!0):h(A)}},7489:function(Z,N,y){var s;Z=y.nmd(Z),function(){var h,I="Expected a function",U="__lodash_hash_undefined__",k="__lodash_placeholder__",En=1/0,en=9007199254740991,Ln=4294967295,kr=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Dn="[object Arguments]",an="[object Array]",Qn="[object Boolean]",Xn="[object Date]",Kr="[object Error]",wr="[object Function]",Br="[object GeneratorFunction]",Tr="[object Map]",Ur="[object Number]",or="[object Object]",pi="[object Promise]",Lr="[object RegExp]",pe="[object Set]",_e="[object String]",Ye="[object Symbol]",je="[object WeakMap]",mt="[object ArrayBuffer]",$e="[object DataView]",at="[object Float32Array]",Yt="[object Float64Array]",Nt="[object Int8Array]",Ft="[object Int16Array]",Mt="[object Int32Array]",Qt="[object Uint8Array]",vn="[object Uint8ClampedArray]",$t="[object Uint16Array]",rn="[object Uint32Array]",tn=/\b__p \+= '';/g,pn=/\b(__p \+=) '' \+/g,At=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Wt=/&(?:amp|lt|gt|quot|#39);/g,Cn=/[&<>"']/g,Kn=RegExp(Wt.source),Pe=RegExp(Cn.source),te=/<%-([\s\S]+?)%>/g,se=/<%([\s\S]+?)%>/g,Ee=/<%=([\s\S]+?)%>/g,ke=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ft=/^\w*$/,hn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Te=/[\\^$.*+?()[\]{}|]/g,re=RegExp(Te.source),ie=/^\s+/,Oe=/\s/,Qe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ct=/\{\n\/\* \[wrapped with (.+)\] \*/,_t=/,? & /,dt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,xe=/\\(\\)?/g,Ot=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ht=/\w*$/,bn=/^[-+]0x[0-9a-f]+$/i,Re=/^0b[01]+$/i,Be=/^\[object .+?Constructor\]$/,Ae=/^0o[0-7]+$/i,bt=/^(?:0|[1-9]\d*)$/,St=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pt=/($^)/,Rt=/['\n\r\u2028\u2029\\]/g,kt="\\ud800-\\udfff",Mn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ir="\\u2700-\\u27bf",cr="a-z\\xdf-\\xf6\\xf8-\\xff",Vr="A-Z\\xc0-\\xd6\\xd8-\\xde",R="\\ufe0e\\ufe0f",K="\\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",ue="["+kt+"]",Ue="["+K+"]",Le="["+Mn+"]",tt="\\d+",ot="["+Ir+"]",gt="["+cr+"]",fn="[^"+kt+K+tt+Ir+cr+Vr+"]",sn="\\ud83c[\\udffb-\\udfff]",Er="[^"+kt+"]",vr="(?:\\ud83c[\\udde6-\\uddff]){2}",er="[\\ud800-\\udbff][\\udc00-\\udfff]",dr="["+Vr+"]",Pi="(?:"+gt+"|"+fn+")",ps="(?:"+dr+"|"+fn+")",Co="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ao="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",bo="(?:"+Le+"|"+sn+")?",Vs="["+R+"]?",Bs=Vs+bo+"(?:\\u200d(?:"+[Er,vr,er].join("|")+")"+Vs+bo+")*",ns="(?:"+[ot,vr,er].join("|")+")"+Bs,lo="(?:"+[Er+Le+"?",Le,vr,er,ue].join("|")+")",ki=RegExp("['\u2019]","g"),Ho=RegExp(Le,"g"),Us=RegExp(sn+"(?="+sn+")|"+lo+Bs,"g"),gs=RegExp([dr+"?"+gt+"+"+Co+"(?="+[Ue,dr,"$"].join("|")+")",ps+"+"+ao+"(?="+[Ue,dr+Pi,"$"].join("|")+")",dr+"?"+Pi+"+"+Co,dr+"+"+ao,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tt,ns].join("|"),"g"),jo=RegExp("[\\u200d"+kt+Mn+R+"]"),Li=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hs=["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"],Vi=-1,tr={};tr[at]=tr[Yt]=tr[Nt]=tr[Ft]=tr[Mt]=tr[Qt]=tr[vn]=tr[$t]=tr[rn]=!0,tr[Dn]=tr[an]=tr[mt]=tr[Qn]=tr[$e]=tr[Xn]=tr[Kr]=tr[wr]=tr[Tr]=tr[Ur]=tr[or]=tr[Lr]=tr[pe]=tr[_e]=tr[je]=!1;var nr={};nr[Dn]=nr[an]=nr[mt]=nr[$e]=nr[Qn]=nr[Xn]=nr[at]=nr[Yt]=nr[Nt]=nr[Ft]=nr[Mt]=nr[Tr]=nr[Ur]=nr[or]=nr[Lr]=nr[pe]=nr[_e]=nr[Ye]=nr[Qt]=nr[vn]=nr[$t]=nr[rn]=!0,nr[Kr]=nr[wr]=nr[je]=!1;var $o={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_s=parseFloat,rs=parseInt,ys="object"==typeof global&&global&&global.Object===Object&&global,uo="object"==typeof self&&self&&self.Object===Object&&self,Hr=ys||uo||Function("return this")(),vs=N&&!N.nodeType&&N,Jr=vs&&Z&&!Z.nodeType&&Z,Xr=Jr&&Jr.exports===vs,is=Xr&&ys.process,ri=function(){try{return Jr&&Jr.require&&Jr.require("util").types||is&&is.binding&&is.binding("util")}catch{}}(),ss=ri&&ri.isArrayBuffer,js=ri&&ri.isDate,Eo=ri&&ri.isMap,S=ri&&ri.isRegExp,W=ri&&ri.isSet,P=ri&&ri.isTypedArray;function J(Me,et,We){switch(We.length){case 0:return Me.call(et);case 1:return Me.call(et,We[0]);case 2:return Me.call(et,We[0],We[1]);case 3:return Me.call(et,We[0],We[1],We[2])}return Me.apply(et,We)}function me(Me,et,We,Gt){for(var Rn=-1,In=null==Me?0:Me.length;++Rn<In;){var xr=Me[Rn];et(Gt,xr,We(xr),Me)}return Gt}function Ge(Me,et){for(var We=-1,Gt=null==Me?0:Me.length;++We<Gt&&!1!==et(Me[We],We,Me););return Me}function yt(Me,et){for(var We=null==Me?0:Me.length;We--&&!1!==et(Me[We],We,Me););return Me}function xt(Me,et){for(var We=-1,Gt=null==Me?0:Me.length;++We<Gt;)if(!et(Me[We],We,Me))return!1;return!0}function Fn(Me,et){for(var We=-1,Gt=null==Me?0:Me.length,Rn=0,In=[];++We<Gt;){var xr=Me[We];et(xr,We,Me)&&(In[Rn++]=xr)}return In}function fr(Me,et){return!(null==Me||!Me.length)&&w(Me,et,0)>-1}function Hn(Me,et,We){for(var Gt=-1,Rn=null==Me?0:Me.length;++Gt<Rn;)if(We(et,Me[Gt]))return!0;return!1}function jt(Me,et){for(var We=-1,Gt=null==Me?0:Me.length,Rn=Array(Gt);++We<Gt;)Rn[We]=et(Me[We],We,Me);return Rn}function Zn(Me,et){for(var We=-1,Gt=et.length,Rn=Me.length;++We<Gt;)Me[Rn+We]=et[We];return Me}function rr(Me,et,We,Gt){var Rn=-1,In=null==Me?0:Me.length;for(Gt&&In&&(We=Me[++Rn]);++Rn<In;)We=et(We,Me[Rn],Rn,Me);return We}function Mr(Me,et,We,Gt){var Rn=null==Me?0:Me.length;for(Gt&&Rn&&(We=Me[--Rn]);Rn--;)We=et(We,Me[Rn],Rn,Me);return We}function Dr(Me,et){for(var We=-1,Gt=null==Me?0:Me.length;++We<Gt;)if(et(Me[We],We,Me))return!0;return!1}var mi=Pr("length");function T(Me,et,We){var Gt;return We(Me,function(Rn,In,xr){if(et(Rn,In,xr))return Gt=In,!1}),Gt}function M(Me,et,We,Gt){for(var Rn=Me.length,In=We+(Gt?1:-1);Gt?In--:++In<Rn;)if(et(Me[In],In,Me))return In;return-1}function w(Me,et,We){return et==et?function Xl(Me,et,We){for(var Gt=We-1,Rn=Me.length;++Gt<Rn;)if(Me[Gt]===et)return Gt;return-1}(Me,et,We):M(Me,Xe,We)}function j(Me,et,We,Gt){for(var Rn=We-1,In=Me.length;++Rn<In;)if(Gt(Me[Rn],et))return Rn;return-1}function Xe(Me){return Me!=Me}function on(Me,et){var We=null==Me?0:Me.length;return We?xi(Me,et)/We:NaN}function Pr(Me){return function(et){return null==et?h:et[Me]}}function jn(Me){return function(et){return null==Me?h:Me[et]}}function yi(Me,et,We,Gt,Rn){return Rn(Me,function(In,xr,Sn){We=Gt?(Gt=!1,In):et(We,In,xr,Sn)}),We}function xi(Me,et){for(var We,Gt=-1,Rn=Me.length;++Gt<Rn;){var In=et(Me[Gt]);In!==h&&(We=We===h?In:We+In)}return We}function bs(Me,et){for(var We=-1,Gt=Array(Me);++We<Me;)Gt[We]=et(We);return Gt}function qn(Me){return Me&&Me.slice(0,$s(Me)+1).replace(ie,"")}function ii(Me){return function(et){return Me(et)}}function jr(Me,et){return jt(et,function(We){return Me[We]})}function ws(Me,et){return Me.has(et)}function Es(Me,et){for(var We=-1,Gt=Me.length;++We<Gt&&w(et,Me[We],0)>-1;);return We}function Bi(Me,et){for(var We=Me.length;We--&&w(et,Me[We],0)>-1;);return We}function co(Me,et){for(var We=Me.length,Gt=0;We--;)Me[We]===et&&++Gt;return Gt}var fa=jn({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),ha=jn({"&":"&","<":"<",">":">",'"':""","'":"'"});function fl(Me){return"\\"+$o[Me]}function os(Me){return jo.test(Me)}function pa(Me){var et=-1,We=Array(Me.size);return Me.forEach(function(Gt,Rn){We[++et]=[Rn,Gt]}),We}function ls(Me,et){return function(We){return Me(et(We))}}function li(Me,et){for(var We=-1,Gt=Me.length,Rn=0,In=[];++We<Gt;){var xr=Me[We];(xr===et||xr===k)&&(Me[We]=k,In[Rn++]=We)}return In}function Go(Me){var et=-1,We=Array(Me.size);return Me.forEach(function(Gt){We[++et]=Gt}),We}function Qi(Me){return os(Me)?function tu(Me){for(var et=Us.lastIndex=0;Us.test(Me);)++et;return et}(Me):mi(Me)}function wi(Me){return os(Me)?function Do(Me){return Me.match(Us)||[]}(Me):function Cs(Me){return Me.split("")}(Me)}function $s(Me){for(var et=Me.length;et--&&Oe.test(Me.charAt(et)););return et}var ga=jn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Wo=function Me(et){var r,We=(et=null==et?Hr:Wo.defaults(Hr.Object(),et,Wo.pick(Hr,Hs))).Array,Gt=et.Date,Rn=et.Error,In=et.Function,xr=et.Math,Sn=et.Object,$a=et.RegExp,nu=et.String,Ui=et.TypeError,ma=We.prototype,Yo=Sn.prototype,Gs=et["__core-js_shared__"],zs=In.prototype.toString,ir=Yo.hasOwnProperty,_a=0,za=(r=/[^.]+$/.exec(Gs&&Gs.keys&&Gs.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",ya=Yo.toString,Ds=zs.call(Sn),Zo=Hr._,pl=$a("^"+zs.call(ir).replace(Te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),va=Xr?et.Buffer:h,Ei=et.Symbol,Mo=et.Uint8Array,gl=va?va.allocUnsafe:h,Ca=ls(Sn.getPrototypeOf,Sn),Wa=Sn.create,ml=Yo.propertyIsEnumerable,So=ma.splice,_l=Ei?Ei.isConcatSpreadable:h,To=Ei?Ei.iterator:h,Ms=Ei?Ei.toStringTag:h,qo=function(){try{var r=ol(Sn,"defineProperty");return r({},"",{}),r}catch{}}(),ru=et.clearTimeout!==Hr.clearTimeout&&et.clearTimeout,Qo=Gt&&Gt.now!==Hr.Date.now&&Gt.now,Di=et.setTimeout!==Hr.setTimeout&&et.setTimeout,Ss=xr.ceil,fo=xr.floor,Ts=Sn.getOwnPropertySymbols,Ya=va?va.isBuffer:h,Ws=et.isFinite,yl=ma.join,iu=ls(Sn.keys,Sn),zr=xr.max,Wr=xr.min,ba=Gt.now,Za=et.parseInt,Po=xr.random,qa=ma.reverse,Ps=ol(et,"DataView"),xo=ol(et,"Map"),Qa=ol(et,"Promise"),Oo=ol(et,"Set"),Ko=ol(et,"WeakMap"),Jo=ol(Sn,"create"),Ka=Ko&&new Ko,Ys={},Xo=Oa(Ps),Nu=Oa(xo),su=Oa(Qa),ou=Oa(Oo),Zs=Oa(Ko),ea=Ei?Ei.prototype:h,ho=ea?ea.valueOf:h,ta=ea?ea.toString:h;function X(r){if(ni(r)&&!zn(r)&&!(r instanceof d)){if(r instanceof g)return r;if(ir.call(r,"__wrapped__"))return Wc(r)}return new g(r)}var Yr=function(){function r(){}return function(a){if(!Gr(a))return{};if(Wa)return Wa(a);r.prototype=a;var f=new r;return r.prototype=h,f}}();function v(){}function g(r,a){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=h}function d(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ln,this.__views__=[]}function oe(r){var a=-1,f=null==r?0:r.length;for(this.clear();++a<f;){var D=r[a];this.set(D[0],D[1])}}function sr(r){var a=-1,f=null==r?0:r.length;for(this.clear();++a<f;){var D=r[a];this.set(D[0],D[1])}}function si(r){var a=-1,f=null==r?0:r.length;for(this.clear();++a<f;){var D=r[a];this.set(D[0],D[1])}}function Ks(r){var a=-1,f=null==r?0:r.length;for(this.__data__=new si;++a<f;)this.add(r[a])}function Os(r){var a=this.__data__=new sr(r);this.size=a.size}function Ja(r,a){var f=zn(r),D=!f&&Ra(r),H=!f&&!D&&Na(r),ne=!f&&!D&&!H&&dl(r),fe=f||D||H||ne,we=fe?bs(r.length,nu):[],Ie=we.length;for(var ut in r)(a||ir.call(r,ut))&&(!fe||!("length"==ut||H&&("offset"==ut||"parent"==ut)||ne&&("buffer"==ut||"byteLength"==ut||"byteOffset"==ut)||xa(ut,Ie)))&&we.push(ut);return we}function Zr(r){var a=r.length;return a?r[ds(0,a-1)]:h}function qd(r,a){return Ju(fs(r),tl(a,0,r.length))}function Vu(r){return Ju(fs(r))}function au(r,a,f){(f!==h&&!_o(r[a],f)||f===h&&!(a in r))&&Js(r,a,f)}function Xa(r,a,f){var D=r[a];(!ir.call(r,a)||!_o(D,f)||f===h&&!(a in r))&&Js(r,a,f)}function Cl(r,a){for(var f=r.length;f--;)if(_o(r[f][0],a))return f;return-1}function Ec(r,a,f,D){return na(r,function(H,ne,fe){a(D,H,f(H),fe)}),D}function Bu(r,a){return r&&ro(a,Mi(a),r)}function Js(r,a,f){"__proto__"==a&&qo?qo(r,a,{configurable:!0,enumerable:!0,value:f,writable:!0}):r[a]=f}function el(r,a){for(var f=-1,D=a.length,H=We(D),ne=null==r;++f<D;)H[f]=ne?h:Fa(r,a[f]);return H}function tl(r,a,f){return r==r&&(f!==h&&(r=r<=f?r:f),a!==h&&(r=r>=a?r:a)),r}function Ai(r,a,f,D,H,ne){var fe,we=1&a,Ie=2&a,ut=4&a;if(f&&(fe=H?f(r,D,H,ne):f(r)),fe!==h)return fe;if(!Gr(r))return r;var ct=zn(r);if(ct){if(fe=function _p(r){var a=r.length,f=new r.constructor(a);return a&&"string"==typeof r[0]&&ir.call(r,"index")&&(f.index=r.index,f.input=r.input),f}(r),!we)return fs(r,fe)}else{var vt=Gi(r),Bt=vt==wr||vt==Br;if(Na(r))return Yu(r,we);if(vt==or||vt==Dn||Bt&&!H){if(fe=Ie||Bt?{}:gf(r),!we)return Ie?function fi(r,a){return ro(r,hf(r),a)}(r,function Dc(r,a){return r&&ro(a,hs(a),r)}(fe,r)):function lp(r,a){return ro(r,Vc(r),a)}(r,Bu(fe,r))}else{if(!nr[vt])return H?r:{};fe=function Nl(r,a,f){var D=r.constructor;switch(a){case mt:return ef(r);case Qn:case Xn:return new D(+r);case $e:return function Jm(r,a){var f=a?ef(r.buffer):r.buffer;return new r.constructor(f,r.byteOffset,r.byteLength)}(r,f);case at:case Yt:case Nt:case Ft:case Mt:case Qt:case vn:case $t:case rn:return nf(r,f);case Tr:return new D;case Ur:case _e:return new D(r);case Lr:return function tf(r){var a=new r.constructor(r.source,Ht.exec(r));return a.lastIndex=r.lastIndex,a}(r);case pe:return new D;case Ye:return function op(r){return ho?Sn(ho.call(r)):{}}(r)}}(r,vt,we)}}ne||(ne=new Os);var ln=ne.get(r);if(ln)return ln;ne.set(r,fe),ah(r)?r.forEach(function(Pn){fe.add(Ai(Pn,a,f,Pn,r,ne))}):ih(r)&&r.forEach(function(Pn,lr){fe.set(lr,Ai(Pn,a,f,lr,r,ne))});var Jn=ct?h:(ut?Ie?Fc:gu:Ie?hs:Mi)(r);return Ge(Jn||r,function(Pn,lr){Jn&&(Pn=r[lr=Pn]),Xa(fe,lr,Ai(Pn,a,f,lr,r,ne))}),fe}function bl(r,a,f){var D=f.length;if(null==r)return!D;for(r=Sn(r);D--;){var H=f[D],fe=r[H];if(fe===h&&!(H in r)||!(0,a[H])(fe))return!1}return!0}function Mc(r,a,f){if("function"!=typeof r)throw new Ui(I);return ll(function(){r.apply(h,f)},a)}function wl(r,a,f,D){var H=-1,ne=fr,fe=!0,we=r.length,Ie=[],ut=a.length;if(!we)return Ie;f&&(a=jt(a,ii(f))),D?(ne=Hn,fe=!1):a.length>=200&&(ne=ws,fe=!1,a=new Ks(a));e:for(;++H<we;){var ct=r[H],vt=null==f?ct:f(ct);if(ct=D||0!==ct?ct:0,fe&&vt==vt){for(var Bt=ut;Bt--;)if(a[Bt]===vt)continue e;Ie.push(ct)}else ne(a,vt,D)||Ie.push(ct)}return Ie}X.templateSettings={escape:te,evaluate:se,interpolate:Ee,variable:"",imports:{_:X}},(X.prototype=v.prototype).constructor=X,(g.prototype=Yr(v.prototype)).constructor=g,(d.prototype=Yr(v.prototype)).constructor=d,oe.prototype.clear=function ye(){this.__data__=Jo?Jo(null):{},this.size=0},oe.prototype.delete=function st(r){var a=this.has(r)&&delete this.__data__[r];return this.size-=a?1:0,a},oe.prototype.get=function Zt(r){var a=this.__data__;if(Jo){var f=a[r];return f===U?h:f}return ir.call(a,r)?a[r]:h},oe.prototype.has=function Cr(r){var a=this.__data__;return Jo?a[r]!==h:ir.call(a,r)},oe.prototype.set=function yn(r,a){var f=this.__data__;return this.size+=this.has(r)?0:1,f[r]=Jo&&a===h?U:a,this},sr.prototype.clear=function Nr(){this.__data__=[],this.size=0},sr.prototype.delete=function qs(r){var a=this.__data__,f=Cl(a,r);return!(f<0||(f==a.length-1?a.pop():So.call(a,f,1),--this.size,0))},sr.prototype.get=function wa(r){var a=this.__data__,f=Cl(a,r);return f<0?h:a[f][1]},sr.prototype.has=function $r(r){return Cl(this.__data__,r)>-1},sr.prototype.set=function Ea(r,a){var f=this.__data__,D=Cl(f,r);return D<0?(++this.size,f.push([r,a])):f[D][1]=a,this},si.prototype.clear=function Fu(){this.size=0,this.__data__={hash:new oe,map:new(xo||sr),string:new oe}},si.prototype.delete=function vl(r){var a=Qu(this,r).delete(r);return this.size-=a?1:0,a},si.prototype.get=function us(r){return Qu(this,r).get(r)},si.prototype.has=function Qs(r){return Qu(this,r).has(r)},si.prototype.set=function ku(r,a){var f=Qu(this,r),D=f.size;return f.set(r,a),this.size+=f.size==D?0:1,this},Ks.prototype.add=Ks.prototype.push=function xs(r){return this.__data__.set(r,U),this},Ks.prototype.has=function Lu(r){return this.__data__.has(r)},Os.prototype.clear=function Zd(){this.__data__=new sr,this.size=0},Os.prototype.delete=function ip(r){var a=this.__data__,f=a.delete(r);return this.size=a.size,f},Os.prototype.get=function sp(r){return this.__data__.get(r)},Os.prototype.has=function wc(r){return this.__data__.has(r)},Os.prototype.set=function Oi(r,a){var f=this.__data__;if(f instanceof sr){var D=f.__data__;if(!xo||D.length<199)return D.push([r,a]),this.size=++f.size,this;f=this.__data__=new si(D)}return f.set(r,a),this.size=f.size,this};var na=Zu(As),El=Zu(Da,!0);function nl(r,a){var f=!0;return na(r,function(D,H,ne){return f=!!a(D,H,ne)}),f}function po(r,a,f){for(var D=-1,H=r.length;++D<H;){var ne=r[D],fe=a(ne);if(null!=fe&&(we===h?fe==fe&&!es(fe):f(fe,we)))var we=fe,Ie=ne}return Ie}function lu(r,a){var f=[];return na(r,function(D,H,ne){a(D,H,ne)&&f.push(D)}),f}function hr(r,a,f,D,H){var ne=-1,fe=r.length;for(f||(f=Xm),H||(H=[]);++ne<fe;){var we=r[ne];a>0&&f(we)?a>1?hr(we,a-1,f,D,H):Zn(H,we):D||(H[H.length]=we)}return H}var Dl=Ac(),ju=Ac(!0);function As(r,a){return r&&Dl(r,a,Mi)}function Da(r,a){return r&&ju(r,a,Mi)}function uu(r,a){return Fn(a,function(f){return ko(r[f])})}function m(r,a){for(var f=0,D=(a=il(a,r)).length;null!=r&&f<D;)r=r[Fo(a[f++])];return f&&f==D?r:h}function c(r,a,f){var D=a(r);return zn(r)?D:Zn(D,f(r))}function l(r){return null==r?r===h?"[object Undefined]":"[object Null]":Ms&&Ms in Sn(r)?function ff(r){var a=ir.call(r,Ms),f=r[Ms];try{r[Ms]=h;var D=!0}catch{}var H=ya.call(r);return D&&(a?r[Ms]=f:delete r[Ms]),H}(r):function yf(r){return ya.call(r)}(r)}function _(r,a){return r>a}function O(r,a){return null!=r&&ir.call(r,a)}function G(r,a){return null!=r&&a in Sn(r)}function he(r,a,f){for(var D=f?Hn:fr,H=r[0].length,ne=r.length,fe=ne,we=We(ne),Ie=1/0,ut=[];fe--;){var ct=r[fe];fe&&a&&(ct=jt(ct,ii(a))),Ie=Wr(ct.length,Ie),we[fe]=!f&&(a||H>=120&&ct.length>=120)?new Ks(fe&&ct):h}ct=r[0];var vt=-1,Bt=we[0];e:for(;++vt<H&&ut.length<Ie;){var ln=ct[vt],Tn=a?a(ln):ln;if(ln=f||0!==ln?ln:0,!(Bt?ws(Bt,Tn):D(ut,Tn,f))){for(fe=ne;--fe;){var Jn=we[fe];if(!(Jn?ws(Jn,Tn):D(r[fe],Tn,f)))continue e}Bt&&Bt.push(Tn),ut.push(ln)}}return ut}function Je(r,a,f){var D=null==(r=al(r,a=il(a,r)))?r:r[Fo(Rs(a))];return null==D?h:J(D,r,f)}function Ut(r){return ni(r)&&l(r)==Dn}function Nn(r,a,f,D,H){return r===a||(null==r||null==a||!ni(r)&&!ni(a)?r!=r&&a!=a:function mn(r,a,f,D,H,ne){var fe=zn(r),we=zn(a),Ie=fe?an:Gi(r),ut=we?an:Gi(a),ct=(Ie=Ie==Dn?or:Ie)==or,vt=(ut=ut==Dn?or:ut)==or,Bt=Ie==ut;if(Bt&&Na(r)){if(!Na(a))return!1;fe=!0,ct=!1}if(Bt&&!ct)return ne||(ne=new Os),fe||dl(r)?df(r,a,f,D,H,ne):function Nc(r,a,f,D,H,ne,fe){switch(f){case $e:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case mt:return!(r.byteLength!=a.byteLength||!ne(new Mo(r),new Mo(a)));case Qn:case Xn:case Ur:return _o(+r,+a);case Kr:return r.name==a.name&&r.message==a.message;case Lr:case _e:return r==a+"";case Tr:var we=pa;case pe:if(we||(we=Go),r.size!=a.size&&!(1&D))return!1;var ut=fe.get(r);if(ut)return ut==a;D|=2,fe.set(r,a);var ct=df(we(r),we(a),D,H,ne,fe);return fe.delete(r),ct;case Ye:if(ho)return ho.call(r)==ho.call(a)}return!1}(r,a,Ie,f,D,H,ne);if(!(1&f)){var ln=ct&&ir.call(r,"__wrapped__"),Tn=vt&&ir.call(a,"__wrapped__");if(ln||Tn){var Jn=ln?r.value():r,Pn=Tn?a.value():a;return ne||(ne=new Os),H(Jn,Pn,f,D,ne)}}return!!Bt&&(ne||(ne=new Os),function pp(r,a,f,D,H,ne){var fe=1&f,we=gu(r),Ie=we.length;if(Ie!=gu(a).length&&!fe)return!1;for(var vt=Ie;vt--;){var Bt=we[vt];if(!(fe?Bt in a:ir.call(a,Bt)))return!1}var ln=ne.get(r),Tn=ne.get(a);if(ln&&Tn)return ln==a&&Tn==r;var Jn=!0;ne.set(r,a),ne.set(a,r);for(var Pn=fe;++vt<Ie;){var lr=r[Bt=we[vt]],br=a[Bt];if(D)var Ri=fe?D(br,lr,Bt,a,r,ne):D(lr,br,Bt,r,a,ne);if(!(Ri===h?lr===br||H(lr,br,f,D,ne):Ri)){Jn=!1;break}Pn||(Pn="constructor"==Bt)}if(Jn&&!Pn){var Yi=r.constructor,ts=a.constructor;Yi!=ts&&"constructor"in r&&"constructor"in a&&!("function"==typeof Yi&&Yi instanceof Yi&&"function"==typeof ts&&ts instanceof ts)&&(Jn=!1)}return ne.delete(r),ne.delete(a),Jn}(r,a,f,D,H,ne))}(r,a,f,D,Nn,H))}function Or(r,a,f,D){var H=f.length,ne=H,fe=!D;if(null==r)return!ne;for(r=Sn(r);H--;){var we=f[H];if(fe&&we[2]?we[1]!==r[we[0]]:!(we[0]in r))return!1}for(;++H<ne;){var Ie=(we=f[H])[0],ut=r[Ie],ct=we[1];if(fe&&we[2]){if(ut===h&&!(Ie in r))return!1}else{var vt=new Os;if(D)var Bt=D(ut,ct,Ie,r,a,vt);if(!(Bt===h?Nn(ct,ut,3,D,vt):Bt))return!1}}return!0}function qr(r){return!(!Gr(r)||function Bc(r){return!!za&&za in r}(r))&&(ko(r)?pl:Be).test(Oa(r))}function ra(r){return"function"==typeof r?r:null==r?Ci:"object"==typeof r?zn(r)?cu(r[0],r[1]):Xs(r):Ih(r)}function cs(r){if(!Fl(r))return iu(r);var a=[];for(var f in Sn(r))ir.call(r,f)&&"constructor"!=f&&a.push(f);return a}function Ki(r,a){return r<a}function Ii(r,a){var f=-1,D=Wi(r)?We(r.length):[];return na(r,function(H,ne,fe){D[++f]=a(H,ne,fe)}),D}function Xs(r){var a=Lc(r);return 1==a.length&&a[0][2]?Uc(a[0][0],a[0][1]):function(f){return f===r||Or(f,r,a)}}function cu(r,a){return mf(r)&&kl(a)?Uc(Fo(r),a):function(f){var D=Fa(f,r);return D===h&&D===a?Dd(f,r):Nn(a,D,3)}}function ia(r,a,f,D,H){r!==a&&Dl(a,function(ne,fe){if(H||(H=new Os),Gr(ne))!function eo(r,a,f,D,H,ne,fe){var we=Ku(r,f),Ie=Ku(a,f),ut=fe.get(Ie);if(ut)au(r,f,ut);else{var ct=ne?ne(we,Ie,f+"",r,a,fe):h,vt=ct===h;if(vt){var Bt=zn(Ie),ln=!Bt&&Na(Ie),Tn=!Bt&&!ln&&dl(Ie);ct=Ie,Bt||ln||Tn?zn(we)?ct=we:ti(we)?ct=fs(we):ln?(vt=!1,ct=Yu(Ie,!0)):Tn?(vt=!1,ct=nf(Ie,!0)):ct=[]:Eu(Ie)||Ra(Ie)?(ct=we,Ra(we)?ct=Vo(we):(!Gr(we)||ko(we))&&(ct=gf(Ie))):vt=!1}vt&&(fe.set(Ie,ct),H(ct,Ie,D,ne,fe),fe.delete(Ie)),au(r,f,ct)}}(r,a,fe,f,ia,D,H);else{var we=D?D(Ku(r,fe),ne,fe+"",r,a,H):h;we===h&&(we=ne),au(r,fe,we)}},hs)}function rl(r,a){var f=r.length;if(f)return xa(a+=a<0?f:0,f)?r[a]:h}function Ml(r,a,f){a=a.length?jt(a,function(ne){return zn(ne)?function(fe){return m(fe,1===ne.length?ne[0]:ne)}:ne}):[Ci];var D=-1;return a=jt(a,ii(On())),function qi(Me,et){var We=Me.length;for(Me.sort(et);We--;)Me[We]=Me[We].value;return Me}(Ii(r,function(ne,fe,we){return{criteria:jt(a,function(ut){return ut(ne)}),index:++D,value:ne}}),function(ne,fe){return function ap(r,a,f){for(var D=-1,H=r.criteria,ne=a.criteria,fe=H.length,we=f.length;++D<fe;){var Ie=rf(H[D],ne[D]);if(Ie)return D>=we?Ie:Ie*("desc"==f[D]?-1:1)}return r.index-a.index}(ne,fe,f)})}function _n(r,a,f){for(var D=-1,H=a.length,ne={};++D<H;){var fe=a[D],we=m(r,fe);f(we,fe)&&di(ne,il(fe,r),we)}return ne}function ar(r,a,f,D){var H=D?j:w,ne=-1,fe=a.length,we=r;for(r===a&&(a=fs(a)),f&&(we=jt(r,ii(f)));++ne<fe;)for(var Ie=0,ut=a[ne],ct=f?f(ut):ut;(Ie=H(we,ct,Ie,D))>-1;)we!==r&&So.call(we,Ie,1),So.call(r,Ie,1);return r}function oi(r,a){for(var f=r?a.length:0,D=f-1;f--;){var H=a[f];if(f==D||H!==ne){var ne=H;xa(H)?So.call(r,H,1):Sl(r,H)}}return r}function ds(r,a){return r+fo(Po()*(a-r+1))}function to(r,a){var f="";if(!r||a<1||a>en)return f;do{a%2&&(f+=r),(a=fo(a/2))&&(r+=r)}while(a);return f}function zt(r,a){return Gc(vp(r,a,Ci),r+"")}function Ma(r){return Zr(Mu(r))}function Sc(r,a){var f=Mu(r);return Ju(f,tl(a,0,f.length))}function di(r,a,f,D){if(!Gr(r))return r;for(var H=-1,ne=(a=il(a,r)).length,fe=ne-1,we=r;null!=we&&++H<ne;){var Ie=Fo(a[H]),ut=f;if("__proto__"===Ie||"constructor"===Ie||"prototype"===Ie)return r;if(H!=fe){var ct=we[Ie];(ut=D?D(ct,Ie,we):h)===h&&(ut=Gr(ct)?ct:xa(a[H+1])?[]:{})}Xa(we,Ie,ut),we=we[Ie]}return r}var sa=Ka?function(r,a){return Ka.set(r,a),r}:Ci,oa=qo?function(r,a){return qo(r,"toString",{configurable:!0,enumerable:!1,value:La(a),writable:!0})}:Ci;function Sa(r){return Ju(Mu(r))}function Xi(r,a,f){var D=-1,H=r.length;a<0&&(a=-a>H?0:H+a),(f=f>H?H:f)<0&&(f+=H),H=a>f?0:f-a>>>0,a>>>=0;for(var ne=We(H);++D<H;)ne[D]=r[D+a];return ne}function Qd(r,a){var f;return na(r,function(D,H,ne){return!(f=a(D,H,ne))}),!!f}function $u(r,a,f){var D=0,H=null==r?D:r.length;if("number"==typeof a&&a==a&&H<=2147483647){for(;D<H;){var ne=D+H>>>1,fe=r[ne];null!==fe&&!es(fe)&&(f?fe<=a:fe<a)?D=ne+1:H=ne}return H}return Tc(r,a,Ci,f)}function Tc(r,a,f,D){var H=0,ne=null==r?0:r.length;if(0===ne)return 0;for(var fe=(a=f(a))!=a,we=null===a,Ie=es(a),ut=a===h;H<ne;){var ct=fo((H+ne)/2),vt=f(r[ct]),Bt=vt!==h,ln=null===vt,Tn=vt==vt,Jn=es(vt);if(fe)var Pn=D||Tn;else Pn=ut?Tn&&(D||Bt):we?Tn&&Bt&&(D||!ln):Ie?Tn&&Bt&&!ln&&(D||!Jn):!ln&&!Jn&&(D?vt<=a:vt<a);Pn?H=ct+1:ne=ct}return Wr(ne,4294967294)}function Kd(r,a){for(var f=-1,D=r.length,H=0,ne=[];++f<D;){var fe=r[f],we=a?a(fe):fe;if(!f||!_o(we,Ie)){var Ie=we;ne[H++]=0===fe?0:fe}}return ne}function Jd(r){return"number"==typeof r?r:es(r)?NaN:+r}function no(r){if("string"==typeof r)return r;if(zn(r))return jt(r,no)+"";if(es(r))return ta?ta.call(r):"";var a=r+"";return"0"==a&&1/r==-En?"-0":a}function Ta(r,a,f){var D=-1,H=fr,ne=r.length,fe=!0,we=[],Ie=we;if(f)fe=!1,H=Hn;else if(ne>=200){var ut=a?null:lf(r);if(ut)return Go(ut);fe=!1,H=ws,Ie=new Ks}else Ie=a?[]:we;e:for(;++D<ne;){var ct=r[D],vt=a?a(ct):ct;if(ct=f||0!==ct?ct:0,fe&&vt==vt){for(var Bt=Ie.length;Bt--;)if(Ie[Bt]===vt)continue e;a&&Ie.push(vt),we.push(ct)}else H(Ie,vt,f)||(Ie!==we&&Ie.push(vt),we.push(ct))}return we}function Sl(r,a){return null==(r=al(r,a=il(a,r)))||delete r[Fo(Rs(a))]}function Pc(r,a,f,D){return di(r,a,f(m(r,a)),D)}function Is(r,a,f,D){for(var H=r.length,ne=D?H:-1;(D?ne--:++ne<H)&&a(r[ne],ne,r););return f?Xi(r,D?0:ne,D?ne+1:H):Xi(r,D?ne+1:0,D?H:ne)}function Tl(r,a){var f=r;return f instanceof d&&(f=f.value()),rr(a,function(D,H){return H.func.apply(H.thisArg,Zn([D],H.args))},f)}function Gu(r,a,f){var D=r.length;if(D<2)return D?Ta(r[0]):[];for(var H=-1,ne=We(D);++H<D;)for(var fe=r[H],we=-1;++we<D;)we!=H&&(ne[H]=wl(ne[H]||fe,r[we],a,f));return Ta(hr(ne,1),a,f)}function xc(r,a,f){for(var D=-1,H=r.length,ne=a.length,fe={};++D<H;)f(fe,r[D],D<ne?a[D]:h);return fe}function zu(r){return ti(r)?r:[]}function Xd(r){return"function"==typeof r?r:Ci}function il(r,a){return zn(r)?r:mf(r,a)?[r]:wf(Ar(r))}var Km=zt;function Ao(r,a,f){var D=r.length;return f=f===h?D:f,!a&&f>=D?r:Xi(r,a,f)}var Wu=ru||function(r){return Hr.clearTimeout(r)};function Yu(r,a){if(a)return r.slice();var f=r.length,D=gl?gl(f):new r.constructor(f);return r.copy(D),D}function ef(r){var a=new r.constructor(r.byteLength);return new Mo(a).set(new Mo(r)),a}function nf(r,a){var f=a?ef(r.buffer):r.buffer;return new r.constructor(f,r.byteOffset,r.length)}function rf(r,a){if(r!==a){var f=r!==h,D=null===r,H=r==r,ne=es(r),fe=a!==h,we=null===a,Ie=a==a,ut=es(a);if(!we&&!ut&&!ne&&r>a||ne&&fe&&Ie&&!we&&!ut||D&&fe&&Ie||!f&&Ie||!H)return 1;if(!D&&!ne&&!ut&&r<a||ut&&f&&H&&!D&&!ne||we&&f&&H||!fe&&H||!Ie)return-1}return 0}function Oc(r,a,f,D){for(var H=-1,ne=r.length,fe=f.length,we=-1,Ie=a.length,ut=zr(ne-fe,0),ct=We(Ie+ut),vt=!D;++we<Ie;)ct[we]=a[we];for(;++H<fe;)(vt||H<ne)&&(ct[f[H]]=r[H]);for(;ut--;)ct[we++]=r[H++];return ct}function du(r,a,f,D){for(var H=-1,ne=r.length,fe=-1,we=f.length,Ie=-1,ut=a.length,ct=zr(ne-we,0),vt=We(ct+ut),Bt=!D;++H<ct;)vt[H]=r[H];for(var ln=H;++Ie<ut;)vt[ln+Ie]=a[Ie];for(;++fe<we;)(Bt||H<ne)&&(vt[ln+f[fe]]=r[H++]);return vt}function fs(r,a){var f=-1,D=r.length;for(a||(a=We(D));++f<D;)a[f]=r[f];return a}function ro(r,a,f,D){var H=!f;f||(f={});for(var ne=-1,fe=a.length;++ne<fe;){var we=a[ne],Ie=D?D(f[we],r[we],we,f,r):h;Ie===h&&(Ie=r[we]),H?Js(f,we,Ie):Xa(f,we,Ie)}return f}function fu(r,a){return function(f,D){var H=zn(f)?me:Ec,ne=a?a():{};return H(f,r,On(D,2),ne)}}function Pl(r){return zt(function(a,f){var D=-1,H=f.length,ne=H>1?f[H-1]:h,fe=H>2?f[2]:h;for(ne=r.length>3&&"function"==typeof ne?(H--,ne):h,fe&&zi(f[0],f[1],fe)&&(ne=H<3?h:ne,H=1),a=Sn(a);++D<H;){var we=f[D];we&&r(a,we,D,ne)}return a})}function Zu(r,a){return function(f,D){if(null==f)return f;if(!Wi(f))return r(f,D);for(var H=f.length,ne=a?H:-1,fe=Sn(f);(a?ne--:++ne<H)&&!1!==D(fe[ne],ne,fe););return f}}function Ac(r){return function(a,f,D){for(var H=-1,ne=Sn(a),fe=D(a),we=fe.length;we--;){var Ie=fe[r?we:++H];if(!1===f(ne[Ie],Ie,ne))break}return a}}function sf(r){return function(a){var f=os(a=Ar(a))?wi(a):h,D=f?f[0]:a.charAt(0),H=f?Ao(f,1).join(""):a.slice(1);return D[r]()+H}}function xl(r){return function(a){return rr(ka(Dg(a).replace(ki,"")),r,"")}}function hu(r){return function(){var a=arguments;switch(a.length){case 0:return new r;case 1:return new r(a[0]);case 2:return new r(a[0],a[1]);case 3:return new r(a[0],a[1],a[2]);case 4:return new r(a[0],a[1],a[2],a[3]);case 5:return new r(a[0],a[1],a[2],a[3],a[4]);case 6:return new r(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new r(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var f=Yr(r.prototype),D=r.apply(f,a);return Gr(D)?D:f}}function dp(r){return function(a,f,D){var H=Sn(a);if(!Wi(a)){var ne=On(f,3);a=Mi(a),f=function(we){return ne(H[we],we,H)}}var fe=r(a,f,D);return fe>-1?H[ne?a[fe]:fe]:h}}function fp(r){return aa(function(a){var f=a.length,D=f,H=g.prototype.thru;for(r&&a.reverse();D--;){var ne=a[D];if("function"!=typeof ne)throw new Ui(I);if(H&&!fe&&"wrapper"==sl(ne))var fe=new g([],!0)}for(D=fe?D:f;++D<f;){var we=sl(ne=a[D]),Ie="wrapper"==we?kc(ne):h;fe=Ie&&mu(Ie[0])&&424==Ie[1]&&!Ie[4].length&&1==Ie[9]?fe[sl(Ie[0])].apply(fe,Ie[3]):1==ne.length&&mu(ne)?fe[we]():fe.thru(ne)}return function(){var ut=arguments,ct=ut[0];if(fe&&1==ut.length&&zn(ct))return fe.plant(ct).value();for(var vt=0,Bt=f?a[vt].apply(this,ut):ct;++vt<f;)Bt=a[vt].call(this,Bt);return Bt}})}function Pa(r,a,f,D,H,ne,fe,we,Ie,ut){var ct=128&a,vt=1&a,Bt=2&a,ln=24&a,Tn=512&a,Jn=Bt?h:hu(r);return function Pn(){for(var lr=arguments.length,br=We(lr),Ri=lr;Ri--;)br[Ri]=arguments[Ri];if(ln)var Yi=Rl(Pn),ts=co(br,Yi);if(D&&(br=Oc(br,D,H,ln)),ne&&(br=du(br,ne,fe,ln)),lr-=ts,ln&&lr<ut){var Qr=li(br,Yi);return af(r,a,Pa,Pn.placeholder,f,br,Qr,we,Ie,ut-lr)}var yo=vt?f:this,oo=Bt?yo[r]:r;return lr=br.length,we?br=$c(br,we):Tn&&lr>1&&br.reverse(),ct&&Ie<lr&&(br.length=Ie),this&&this!==Hr&&this instanceof Pn&&(oo=Jn||hu(oo)),oo.apply(yo,br)}}function ji(r,a){return function(f,D){return function Se(r,a,f,D){return As(r,function(H,ne,fe){a(D,f(H),ne,fe)}),D}(f,r,a(D),{})}}function Ol(r,a){return function(f,D){var H;if(f===h&&D===h)return a;if(f!==h&&(H=f),D!==h){if(H===h)return D;"string"==typeof f||"string"==typeof D?(f=no(f),D=no(D)):(f=Jd(f),D=Jd(D)),H=r(f,D)}return H}}function qu(r){return aa(function(a){return a=jt(a,ii(On())),zt(function(f){var D=this;return r(a,function(H){return J(H,D,f)})})})}function pu(r,a){var f=(a=a===h?" ":no(a)).length;if(f<2)return f?to(a,r):a;var D=to(a,Ss(r/Qi(a)));return os(a)?Ao(wi(D),0,r).join(""):D.slice(0,r)}function Al(r){return function(a,f,D){return D&&"number"!=typeof D&&zi(a,f,D)&&(f=D=h),a=Lo(a),f===h?(f=a,a=0):f=Lo(f),function Ji(r,a,f,D){for(var H=-1,ne=zr(Ss((a-r)/(f||1)),0),fe=We(ne);ne--;)fe[D?ne:++H]=r,r+=f;return fe}(a,f,D=D===h?a<f?1:-1:Lo(D),r)}}function Il(r){return function(a,f){return"string"==typeof a&&"string"==typeof f||(a=ks(a),f=ks(f)),r(a,f)}}function af(r,a,f,D,H,ne,fe,we,Ie,ut){var ct=8&a;a|=ct?32:64,4&(a&=~(ct?64:32))||(a&=-4);var Jn=[r,a,H,ct?ne:h,ct?fe:h,ct?h:ne,ct?h:fe,we,Ie,ut],Pn=f.apply(h,Jn);return mu(r)&&vf(Pn,Jn),Pn.placeholder=D,Cf(Pn,r,a)}function Ic(r){var a=xr[r];return function(f,D){if(f=ks(f),(D=null==D?0:Wr(Wn(D),292))&&Ws(f)){var H=(Ar(f)+"e").split("e");return+((H=(Ar(a(H[0]+"e"+(+H[1]+D)))+"e").split("e"))[0]+"e"+(+H[1]-D))}return a(f)}}var lf=Oo&&1/Go(new Oo([,-0]))[1]==En?function(r){return new Oo(r)}:hc;function uf(r){return function(a){var f=Gi(a);return f==Tr?pa(a):f==pe?function zo(Me){var et=-1,We=Array(Me.size);return Me.forEach(function(Gt){We[++et]=[Gt,Gt]}),We}(a):function ht(Me,et){return jt(et,function(We){return[We,Me[We]]})}(a,r(a))}}function Io(r,a,f,D,H,ne,fe,we){var Ie=2&a;if(!Ie&&"function"!=typeof r)throw new Ui(I);var ut=D?D.length:0;if(ut||(a&=-97,D=H=h),fe=fe===h?fe:zr(Wn(fe),0),we=we===h?we:Wn(we),ut-=H?H.length:0,64&a){var ct=D,vt=H;D=H=h}var Bt=Ie?h:kc(r),ln=[r,a,f,D,H,ct,vt,ne,fe,we];if(Bt&&function Hc(r,a){var f=r[1],D=a[1],H=f|D;if(!(H<131||(128==D&&8==f||128==D&&256==f&&r[7].length<=a[8]||384==D&&a[7].length<=a[8]&&8==f)))return r;1&D&&(r[2]=a[2],H|=1&f?0:4);var we=a[3];if(we){var Ie=r[3];r[3]=Ie?Oc(Ie,we,a[4]):we,r[4]=Ie?li(r[3],k):a[4]}(we=a[5])&&(r[5]=(Ie=r[5])?du(Ie,we,a[6]):we,r[6]=Ie?li(r[5],k):a[6]),(we=a[7])&&(r[7]=we),128&D&&(r[8]=null==r[8]?a[8]:Wr(r[8],a[8])),null==r[9]&&(r[9]=a[9]),r[0]=a[0],r[1]=H}(ln,Bt),r=ln[0],a=ln[1],f=ln[2],D=ln[3],H=ln[4],!(we=ln[9]=ln[9]===h?Ie?0:r.length:zr(ln[9]-ut,0))&&24&a&&(a&=-25),a&&1!=a)Tn=8==a||16==a?function cp(r,a,f){var D=hu(r);return function H(){for(var ne=arguments.length,fe=We(ne),we=ne,Ie=Rl(H);we--;)fe[we]=arguments[we];var ut=ne<3&&fe[0]!==Ie&&fe[ne-1]!==Ie?[]:li(fe,Ie);return(ne-=ut.length)<f?af(r,a,Pa,H.placeholder,h,fe,ut,h,h,f-ne):J(this&&this!==Hr&&this instanceof H?D:r,this,fe)}}(r,a,we):32!=a&&33!=a||H.length?Pa.apply(h,ln):function $i(r,a,f,D){var H=1&a,ne=hu(r);return function fe(){for(var we=-1,Ie=arguments.length,ut=-1,ct=D.length,vt=We(ct+Ie),Bt=this&&this!==Hr&&this instanceof fe?ne:r;++ut<ct;)vt[ut]=D[ut];for(;Ie--;)vt[ut++]=arguments[++we];return J(Bt,H?f:this,vt)}}(r,a,f,D);else var Tn=function up(r,a,f){var D=1&a,H=hu(r);return function ne(){return(this&&this!==Hr&&this instanceof ne?H:r).apply(D?f:this,arguments)}}(r,a,f);return Cf((Bt?sa:vf)(Tn,ln),r,a)}function cf(r,a,f,D){return r===h||_o(r,Yo[f])&&!ir.call(D,f)?a:r}function Rc(r,a,f,D,H,ne){return Gr(r)&&Gr(a)&&(ne.set(a,r),ia(r,a,h,Rc,ne),ne.delete(a)),r}function hp(r){return Eu(r)?h:r}function df(r,a,f,D,H,ne){var fe=1&f,we=r.length,Ie=a.length;if(we!=Ie&&!(fe&&Ie>we))return!1;var ut=ne.get(r),ct=ne.get(a);if(ut&&ct)return ut==a&&ct==r;var vt=-1,Bt=!0,ln=2&f?new Ks:h;for(ne.set(r,a),ne.set(a,r);++vt<we;){var Tn=r[vt],Jn=a[vt];if(D)var Pn=fe?D(Jn,Tn,vt,a,r,ne):D(Tn,Jn,vt,r,a,ne);if(Pn!==h){if(Pn)continue;Bt=!1;break}if(ln){if(!Dr(a,function(lr,br){if(!ws(ln,br)&&(Tn===lr||H(Tn,lr,f,D,ne)))return ln.push(br)})){Bt=!1;break}}else if(Tn!==Jn&&!H(Tn,Jn,f,D,ne)){Bt=!1;break}}return ne.delete(r),ne.delete(a),Bt}function aa(r){return Gc(vp(r,h,Qc),r+"")}function gu(r){return c(r,Mi,Vc)}function Fc(r){return c(r,hs,hf)}var kc=Ka?function(r){return Ka.get(r)}:hc;function sl(r){for(var a=r.name+"",f=Ys[a],D=ir.call(Ys,a)?f.length:0;D--;){var H=f[D],ne=H.func;if(null==ne||ne==r)return H.name}return a}function Rl(r){return(ir.call(X,"placeholder")?X:r).placeholder}function On(){var r=X.iteratee||Va;return r=r===Va?ra:r,arguments.length?r(arguments[0],arguments[1]):r}function Qu(r,a){var f=r.__data__;return function No(r){var a=typeof r;return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==r:null===r}(a)?f["string"==typeof a?"string":"hash"]:f.map}function Lc(r){for(var a=Mi(r),f=a.length;f--;){var D=a[f],H=r[D];a[f]=[D,H,kl(H)]}return a}function ol(r,a){var f=function Ru(Me,et){return null==Me?h:Me[et]}(r,a);return qr(f)?f:h}var Vc=Ts?function(r){return null==r?[]:(r=Sn(r),Fn(Ts(r),function(a){return ml.call(r,a)}))}:pc,hf=Ts?function(r){for(var a=[];r;)Zn(a,Vc(r)),r=Ca(r);return a}:pc,Gi=l;function pf(r,a,f){for(var D=-1,H=(a=il(a,r)).length,ne=!1;++D<H;){var fe=Fo(a[D]);if(!(ne=null!=r&&f(r,fe)))break;r=r[fe]}return ne||++D!=H?ne:!!(H=null==r?0:r.length)&&Fs(H)&&xa(fe,H)&&(zn(r)||Ra(r))}function gf(r){return"function"!=typeof r.constructor||Fl(r)?{}:Yr(Ca(r))}function Xm(r){return zn(r)||Ra(r)||!!(_l&&r&&r[_l])}function xa(r,a){var f=typeof r;return!!(a=a??en)&&("number"==f||"symbol"!=f&&bt.test(r))&&r>-1&&r%1==0&&r<a}function zi(r,a,f){if(!Gr(f))return!1;var D=typeof a;return!!("number"==D?Wi(f)&&xa(a,f.length):"string"==D&&a in f)&&_o(f[a],r)}function mf(r,a){if(zn(r))return!1;var f=typeof r;return!("number"!=f&&"symbol"!=f&&"boolean"!=f&&null!=r&&!es(r))||ft.test(r)||!ke.test(r)||null!=a&&r in Sn(a)}function mu(r){var a=sl(r),f=X[a];if("function"!=typeof f||!(a in d.prototype))return!1;if(r===f)return!0;var D=kc(f);return!!D&&r===D[0]}(Ps&&Gi(new Ps(new ArrayBuffer(1)))!=$e||xo&&Gi(new xo)!=Tr||Qa&&Gi(Qa.resolve())!=pi||Oo&&Gi(new Oo)!=pe||Ko&&Gi(new Ko)!=je)&&(Gi=function(r){var a=l(r),f=a==or?r.constructor:h,D=f?Oa(f):"";if(D)switch(D){case Xo:return $e;case Nu:return Tr;case su:return pi;case ou:return pe;case Zs:return je}return a});var yp=Gs?ko:Rd;function Fl(r){var a=r&&r.constructor;return r===("function"==typeof a&&a.prototype||Yo)}function kl(r){return r==r&&!Gr(r)}function Uc(r,a){return function(f){return null!=f&&f[r]===a&&(a!==h||r in Sn(f))}}function vp(r,a,f){return a=zr(a===h?r.length-1:a,0),function(){for(var D=arguments,H=-1,ne=zr(D.length-a,0),fe=We(ne);++H<ne;)fe[H]=D[a+H];H=-1;for(var we=We(a+1);++H<a;)we[H]=D[H];return we[a]=f(fe),J(r,this,we)}}function al(r,a){return a.length<2?r:m(r,Xi(a,0,-1))}function $c(r,a){for(var f=r.length,D=Wr(a.length,f),H=fs(r);D--;){var ne=a[D];r[D]=xa(ne,f)?H[ne]:h}return r}function Ku(r,a){if(("constructor"!==a||"function"!=typeof r[a])&&"__proto__"!=a)return r[a]}var vf=bf(sa),ll=Di||function(r,a){return Hr.setTimeout(r,a)},Gc=bf(oa);function Cf(r,a,f){var D=a+"";return Gc(r,function Ro(r,a){var f=a.length;if(!f)return r;var D=f-1;return a[D]=(f>1?"& ":"")+a[D],a=a.join(f>2?", ":" "),r.replace(Qe,"{\n/* [wrapped with "+a+"] */\n")}(D,function zc(r,a){return Ge(kr,function(f){var D="_."+f[0];a&f[1]&&!fr(r,D)&&r.push(D)}),r.sort()}(function mp(r){var a=r.match(Ct);return a?a[1].split(_t):[]}(D),f)))}function bf(r){var a=0,f=0;return function(){var D=ba(),H=16-(D-f);if(f=D,H>0){if(++a>=800)return arguments[0]}else a=0;return r.apply(h,arguments)}}function Ju(r,a){var f=-1,D=r.length,H=D-1;for(a=a===h?D:a;++f<a;){var ne=ds(f,H),fe=r[ne];r[ne]=r[f],r[f]=fe}return r.length=a,r}var wf=function _f(r){var a=lc(r,function(D){return 500===f.size&&f.clear(),D}),f=a.cache;return a}(function(r){var a=[];return 46===r.charCodeAt(0)&&a.push(""),r.replace(hn,function(f,D,H,ne){a.push(H?ne.replace(xe,"$1"):D||f)}),a});function Fo(r){if("string"==typeof r||es(r))return r;var a=r+"";return"0"==a&&1/r==-En?"-0":a}function Oa(r){if(null!=r){try{return zs.call(r)}catch{}try{return r+""}catch{}}return""}function Wc(r){if(r instanceof d)return r.clone();var a=new g(r.__wrapped__,r.__chain__);return a.__actions__=fs(r.__actions__),a.__index__=r.__index__,a.__values__=r.__values__,a}var Ef=zt(function(r,a){return ti(r)?wl(r,hr(a,1,ti,!0)):[]}),Df=zt(function(r,a){var f=Rs(a);return ti(f)&&(f=h),ti(r)?wl(r,hr(a,1,ti,!0),On(f,2)):[]}),ul=zt(function(r,a){var f=Rs(a);return ti(f)&&(f=h),ti(r)?wl(r,hr(a,1,ti,!0),h,f):[]});function Zc(r,a,f){var D=null==r?0:r.length;if(!D)return-1;var H=null==f?0:Wn(f);return H<0&&(H=zr(D+H,0)),M(r,On(a,3),H)}function qc(r,a,f){var D=null==r?0:r.length;if(!D)return-1;var H=D-1;return f!==h&&(H=Wn(f),H=f<0?zr(D+H,0):Wr(H,D-1)),M(r,On(a,3),H,!0)}function Qc(r){return null!=r&&r.length?hr(r,1):[]}function _u(r){return r&&r.length?r[0]:h}var xf=zt(function(r){var a=jt(r,zu);return a.length&&a[0]===r[0]?he(a):[]}),Xc=zt(function(r){var a=Rs(r),f=jt(r,zu);return a===Rs(f)?a=h:f.pop(),f.length&&f[0]===r[0]?he(f,On(a,2)):[]}),yu=zt(function(r){var a=Rs(r),f=jt(r,zu);return(a="function"==typeof a?a:h)&&f.pop(),f.length&&f[0]===r[0]?he(f,h,a):[]});function Rs(r){var a=null==r?0:r.length;return a?r[a-1]:h}var Of=zt(tc);function tc(r,a){return r&&r.length&&a&&a.length?ar(r,a):r}var If=aa(function(r,a){var f=null==r?0:r.length,D=el(r,a);return oi(r,jt(a,function(H){return xa(H,f)?+H:H}).sort(rf)),D});function nc(r){return null==r?r:qa.call(r)}var Ff=zt(function(r){return Ta(hr(r,1,ti,!0))}),kf=zt(function(r){var a=Rs(r);return ti(a)&&(a=h),Ta(hr(r,1,ti,!0),On(a,2))}),Lf=zt(function(r){var a=Rs(r);return a="function"==typeof a?a:h,Ta(hr(r,1,ti,!0),h,a)});function ed(r){if(!r||!r.length)return[];var a=0;return r=Fn(r,function(f){if(ti(f))return a=zr(f.length,a),!0}),bs(a,function(f){return jt(r,Pr(f))})}function ic(r,a){if(!r||!r.length)return[];var f=ed(r);return null==a?f:jt(f,function(D){return J(a,h,D)})}var la=zt(function(r,a){return ti(r)?wl(r,a):[]}),td=zt(function(r){return Gu(Fn(r,ti))}),Bf=zt(function(r){var a=Rs(r);return ti(a)&&(a=h),Gu(Fn(r,ti),On(a,2))}),nd=zt(function(r){var a=Rs(r);return a="function"==typeof a?a:h,Gu(Fn(r,ti),h,a)}),t_=zt(ed),sc=zt(function(r){var a=r.length,f=a>1?r[a-1]:h;return f="function"==typeof f?(r.pop(),f):h,ic(r,f)});function vu(r){var a=X(r);return a.__chain__=!0,a}function Ll(r,a){return a(r)}var id=aa(function(r){var a=r.length,f=a?r[0]:0,D=this.__wrapped__,H=function(ne){return el(ne,r)};return!(a>1||this.__actions__.length)&&D instanceof d&&xa(f)?((D=D.slice(f,+f+(a?1:0))).__actions__.push({func:Ll,args:[H],thisArg:h}),new g(D,this.__chain__).thru(function(ne){return a&&!ne.length&&ne.push(h),ne})):this.thru(H)}),jp=fu(function(r,a,f){ir.call(r,f)?++r[f]:Js(r,f,1)}),$f=dp(Zc),$p=dp(qc);function Gp(r,a){return(zn(r)?Ge:na)(r,On(a,3))}function zp(r,a){return(zn(r)?yt:El)(r,On(a,3))}var l_=fu(function(r,a,f){ir.call(r,f)?r[f].push(a):Js(r,f,[a])}),c_=zt(function(r,a,f){var D=-1,H="function"==typeof a,ne=Wi(r)?We(r.length):[];return na(r,function(fe){ne[++D]=H?J(a,fe,f):Je(fe,a,f)}),ne}),d_=fu(function(r,a,f){Js(r,f,a)});function od(r,a){return(zn(r)?jt:Ii)(r,On(a,3))}var Aa=fu(function(r,a,f){r[f?0:1].push(a)},function(){return[[],[]]}),Wf=zt(function(r,a){if(null==r)return[];var f=a.length;return f>1&&zi(r,a[0],a[1])?a=[]:f>2&&zi(a[0],a[1],a[2])&&(a=[a[0]]),Ml(r,hr(a,1),[])}),oc=Qo||function(){return Hr.Date.now()};function Yf(r,a,f){return a=f?h:a,Io(r,128,h,h,h,h,a=r&&null==a?r.length:a)}function dd(r,a){var f;if("function"!=typeof a)throw new Ui(I);return r=Wn(r),function(){return--r>0&&(f=a.apply(this,arguments)),r<=1&&(a=h),f}}var fd=zt(function(r,a,f){var D=1;if(f.length){var H=li(f,Rl(fd));D|=32}return Io(r,D,a,f,H)}),Zf=zt(function(r,a,f){var D=3;if(f.length){var H=li(f,Rl(Zf));D|=32}return Io(a,D,r,f,H)});function ac(r,a,f){var D,H,ne,fe,we,Ie,ut=0,ct=!1,vt=!1,Bt=!0;if("function"!=typeof r)throw new Ui(I);function ln(Qr){var yo=D,oo=H;return D=H=h,ut=Qr,fe=r.apply(oo,yo)}function Tn(Qr){return ut=Qr,we=ll(lr,a),ct?ln(Qr):fe}function Pn(Qr){var yo=Qr-Ie;return Ie===h||yo>=a||yo<0||vt&&Qr-ut>=ne}function lr(){var Qr=oc();if(Pn(Qr))return br(Qr);we=ll(lr,function Jn(Qr){var xu=a-(Qr-Ie);return vt?Wr(xu,ne-(Qr-ut)):xu}(Qr))}function br(Qr){return we=h,Bt&&D?ln(Qr):(D=H=h,fe)}function ts(){var Qr=oc(),yo=Pn(Qr);if(D=arguments,H=this,Ie=Qr,yo){if(we===h)return Tn(Ie);if(vt)return Wu(we),we=ll(lr,a),ln(Ie)}return we===h&&(we=ll(lr,a)),fe}return a=ks(a)||0,Gr(f)&&(ct=!!f.leading,ne=(vt="maxWait"in f)?zr(ks(f.maxWait)||0,a):ne,Bt="trailing"in f?!!f.trailing:Bt),ts.cancel=function Ri(){we!==h&&Wu(we),ut=0,D=Ie=H=we=h},ts.flush=function Yi(){return we===h?fe:br(oc())},ts}var Bl=zt(function(r,a){return Mc(r,1,a)}),Cu=zt(function(r,a,f){return Mc(r,ks(a)||0,f)});function lc(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new Ui(I);var f=function(){var D=arguments,H=a?a.apply(this,D):D[0],ne=f.cache;if(ne.has(H))return ne.get(H);var fe=r.apply(this,D);return f.cache=ne.set(H,fe)||ne,fe};return f.cache=new(lc.Cache||si),f}function bu(r){if("function"!=typeof r)throw new Ui(I);return function(){var a=arguments;switch(a.length){case 0:return!r.call(this);case 1:return!r.call(this,a[0]);case 2:return!r.call(this,a[0],a[1]);case 3:return!r.call(this,a[0],a[1],a[2])}return!r.apply(this,a)}}lc.Cache=si;var hd=Km(function(r,a){var f=(a=1==a.length&&zn(a[0])?jt(a[0],ii(On())):jt(hr(a,1),ii(On()))).length;return zt(function(D){for(var H=-1,ne=Wr(D.length,f);++H<ne;)D[H]=a[H].call(this,D[H]);return J(r,this,D)})}),wu=zt(function(r,a){var f=li(a,Rl(wu));return Io(r,32,h,a,f)}),pd=zt(function(r,a){var f=li(a,Rl(pd));return Io(r,64,h,a,f)}),uc=aa(function(r,a){return Io(r,256,h,h,h,a)});function _o(r,a){return r===a||r!=r&&a!=a}var p_=Il(_),g_=Il(function(r,a){return r>=a}),Ra=Ut(function(){return arguments}())?Ut:function(r){return ni(r)&&ir.call(r,"callee")&&!ml.call(r,"callee")},zn=We.isArray,Xp=ss?ii(ss):function dn(r){return ni(r)&&l(r)==mt};function Wi(r){return null!=r&&Fs(r.length)&&!ko(r)}function ti(r){return ni(r)&&Wi(r)}var Na=Ya||Rd,tg=js?ii(js):function kn(r){return ni(r)&&l(r)==Xn};function gd(r){if(!ni(r))return!1;var a=l(r);return a==Kr||"[object DOMException]"==a||"string"==typeof r.message&&"string"==typeof r.name&&!Eu(r)}function ko(r){if(!Gr(r))return!1;var a=l(r);return a==wr||a==Br||"[object AsyncFunction]"==a||"[object Proxy]"==a}function rh(r){return"number"==typeof r&&r==Wn(r)}function Fs(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=en}function Gr(r){var a=typeof r;return null!=r&&("object"==a||"function"==a)}function ni(r){return null!=r&&"object"==typeof r}var ih=Eo?ii(Eo):function $n(r){return ni(r)&&Gi(r)==Tr};function oh(r){return"number"==typeof r||ni(r)&&l(r)==Ur}function Eu(r){if(!ni(r)||l(r)!=or)return!1;var a=Ca(r);if(null===a)return!0;var f=ir.call(a,"constructor")&&a.constructor;return"function"==typeof f&&f instanceof f&&zs.call(f)==Ds}var Hl=S?ii(S):function ui(r){return ni(r)&&l(r)==Lr},ah=W?ii(W):function Hi(r){return ni(r)&&Gi(r)==pe};function jl(r){return"string"==typeof r||!zn(r)&&ni(r)&&l(r)==_e}function es(r){return"symbol"==typeof r||ni(r)&&l(r)==Ye}var dl=P?ii(P):function vi(r){return ni(r)&&Fs(r.length)&&!!tr[l(r)]},v_=Il(Ki),ag=Il(function(r,a){return r<=a});function vd(r){if(!r)return[];if(Wi(r))return jl(r)?wi(r):fs(r);if(To&&r[To])return function as(Me){for(var et,We=[];!(et=Me.next()).done;)We.push(et.value);return We}(r[To]());var a=Gi(r);return(a==Tr?pa:a==pe?Go:Mu)(r)}function Lo(r){return r?(r=ks(r))===En||r===-En?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function Wn(r){var a=Lo(r),f=a%1;return a==a?f?a-f:a:0}function Cd(r){return r?tl(Wn(r),0,Ln):0}function ks(r){if("number"==typeof r)return r;if(es(r))return NaN;if(Gr(r)){var a="function"==typeof r.valueOf?r.valueOf():r;r=Gr(a)?a+"":a}if("string"!=typeof r)return 0===r?r:+r;r=qn(r);var f=Re.test(r);return f||Ae.test(r)?rs(r.slice(2),f?2:8):bn.test(r)?NaN:+r}function Vo(r){return ro(r,hs(r))}function Ar(r){return null==r?"":no(r)}var lg=Pl(function(r,a){if(Fl(a)||Wi(a))ro(a,Mi(a),r);else for(var f in a)ir.call(a,f)&&Xa(r,f,a[f])}),ug=Pl(function(r,a){ro(a,hs(a),r)}),$l=Pl(function(r,a,f,D){ro(a,hs(a),r,D)}),lh=Pl(function(r,a,f,D){ro(a,Mi(a),r,D)}),bd=aa(el),cg=zt(function(r,a){r=Sn(r);var f=-1,D=a.length,H=D>2?a[2]:h;for(H&&zi(a[0],a[1],H)&&(D=1);++f<D;)for(var ne=a[f],fe=hs(ne),we=-1,Ie=fe.length;++we<Ie;){var ut=fe[we],ct=r[ut];(ct===h||_o(ct,Yo[ut])&&!ir.call(r,ut))&&(r[ut]=ne[ut])}return r}),wd=zt(function(r){return r.push(h,Rc),J(Sd,h,r)});function Fa(r,a,f){var D=null==r?h:m(r,a);return D===h?f:D}function Dd(r,a){return null!=r&&pf(r,a,G)}var pg=ji(function(r,a,f){null!=a&&"function"!=typeof a.toString&&(a=ya.call(a)),r[a]=f},La(Ci)),Gl=ji(function(r,a,f){null!=a&&"function"!=typeof a.toString&&(a=ya.call(a)),ir.call(r,a)?r[a].push(f):r[a]=[f]},On),gg=zt(Je);function Mi(r){return Wi(r)?Ja(r):cs(r)}function hs(r){return Wi(r)?Ja(r,!0):function ci(r){if(!Gr(r))return function jc(r){var a=[];if(null!=r)for(var f in Sn(r))a.push(f);return a}(r);var a=Fl(r),f=[];for(var D in r)"constructor"==D&&(a||!ir.call(r,D))||f.push(D);return f}(r)}var Md=Pl(function(r,a,f){ia(r,a,f)}),Sd=Pl(function(r,a,f,D){ia(r,a,f,D)}),ph=aa(function(r,a){var f={};if(null==r)return f;var D=!1;a=jt(a,function(ne){return ne=il(ne,r),D||(D=ne.length>1),ne}),ro(r,Fc(r),f),D&&(f=Ai(f,7,hp));for(var H=a.length;H--;)Sl(f,a[H]);return f}),mh=aa(function(r,a){return null==r?{}:function Jt(r,a){return _n(r,a,function(f,D){return Dd(r,D)})}(r,a)});function _h(r,a){if(null==r)return{};var f=jt(Fc(r),function(D){return[D]});return a=On(a),_n(r,f,function(D,H){return a(D,H[0])})}var Td=uf(Mi),Cg=uf(hs);function Mu(r){return null==r?[]:jr(r,Mi(r))}var b_=xl(function(r,a,f){return a=a.toLowerCase(),r+(f?io(a):a)});function io(r){return Si(Ar(r).toLowerCase())}function Dg(r){return(r=Ar(r))&&r.replace(St,fa).replace(Ho,"")}var Eh=xl(function(r,a,f){return r+(f?"-":"")+a.toLowerCase()}),Mg=xl(function(r,a,f){return r+(f?" ":"")+a.toLowerCase()}),E_=sf("toLowerCase"),xg=xl(function(r,a,f){return r+(f?"_":"")+a.toLowerCase()}),Ag=xl(function(r,a,f){return r+(f?" ":"")+Si(a)}),Tu=xl(function(r,a,f){return r+(f?" ":"")+a.toUpperCase()}),Si=sf("toUpperCase");function ka(r,a,f){return r=Ar(r),(a=f?h:a)===h?function ei(Me){return Li.test(Me)}(r)?function ja(Me){return Me.match(gs)||[]}(r):function _i(Me){return Me.match(dt)||[]}(r):r.match(a)||[]}var Pu=zt(function(r,a){try{return J(r,h,a)}catch(f){return gd(f)?f:new Rn(f)}}),so=aa(function(r,a){return Ge(a,function(f){f=Fo(f),Js(r,f,fd(r[f],r))}),r});function La(r){return function(){return r}}var Zl=fp(),ql=fp(!0);function Ci(r){return r}function Va(r){return ra("function"==typeof r?r:Ai(r,1))}var Mh=zt(function(r,a){return function(f){return Je(f,r,a)}}),Sh=zt(function(r,a){return function(f){return Je(r,f,a)}});function fc(r,a,f){var D=Mi(a),H=uu(a,D);null==f&&(!Gr(a)||!H.length&&D.length)&&(f=a,a=r,r=this,H=uu(a,Mi(a)));var ne=!(Gr(f)&&"chain"in f&&!f.chain),fe=ko(r);return Ge(H,function(we){var Ie=a[we];r[we]=Ie,fe&&(r.prototype[we]=function(){var ut=this.__chain__;if(ne||ut){var ct=r(this.__wrapped__),vt=ct.__actions__=fs(this.__actions__);return vt.push({func:Ie,args:arguments,thisArg:r}),ct.__chain__=ut,ct}return Ie.apply(r,Zn([this.value()],arguments))})}),r}function hc(){}var xh=qu(jt),Oh=qu(xt),Ah=qu(Dr);function Ih(r){return mf(r)?Pr(Fo(r)):function xn(r){return function(a){return m(a,r)}}(r)}var kg=Al(),Nh=Al(!0);function pc(){return[]}function Rd(){return!1}var D_=Ol(function(r,a){return r+a},0),Hg=Ic("ceil"),Nd=Ol(function(r,a){return r/a},1),Fd=Ic("floor"),P_=Ol(function(r,a){return r*a},1),Gg=Ic("round"),Jl=Ol(function(r,a){return r-a},0);return X.after=function cd(r,a){if("function"!=typeof a)throw new Ui(I);return r=Wn(r),function(){if(--r<1)return a.apply(this,arguments)}},X.ary=Yf,X.assign=lg,X.assignIn=ug,X.assignInWith=$l,X.assignWith=lh,X.at=bd,X.before=dd,X.bind=fd,X.bindAll=so,X.bindKey=Zf,X.castArray=function qp(){if(!arguments.length)return[];var r=arguments[0];return zn(r)?r:[r]},X.chain=vu,X.chunk=function Yc(r,a,f){a=(f?zi(r,a,f):a===h)?1:zr(Wn(a),0);var D=null==r?0:r.length;if(!D||a<1)return[];for(var H=0,ne=0,fe=We(Ss(D/a));H<D;)fe[ne++]=Xi(r,H,H+=a);return fe},X.compact=function Cp(r){for(var a=-1,f=null==r?0:r.length,D=0,H=[];++a<f;){var ne=r[a];ne&&(H[D++]=ne)}return H},X.concat=function bp(){var r=arguments.length;if(!r)return[];for(var a=We(r-1),f=arguments[0],D=r;D--;)a[D-1]=arguments[D];return Zn(zn(f)?fs(f):[f],hr(a,1))},X.cond=function Id(r){var a=null==r?0:r.length,f=On();return r=a?jt(r,function(D){if("function"!=typeof D[1])throw new Ui(I);return[f(D[0]),D[1]]}):[],zt(function(D){for(var H=-1;++H<a;){var ne=r[H];if(J(ne[0],this,D))return J(ne[1],this,D)}})},X.conforms=function Wl(r){return function Uu(r){var a=Mi(r);return function(f){return bl(f,r,a)}}(Ai(r,1))},X.constant=La,X.countBy=jp,X.create=function Du(r,a){var f=Yr(r);return null==a?f:Bu(f,a)},X.curry=function Vl(r,a,f){var D=Io(r,8,h,h,h,h,h,a=f?h:a);return D.placeholder=Vl.placeholder,D},X.curryRight=function cl(r,a,f){var D=Io(r,16,h,h,h,h,h,a=f?h:a);return D.placeholder=cl.placeholder,D},X.debounce=ac,X.defaults=cg,X.defaultsDeep=wd,X.defer=Bl,X.delay=Cu,X.difference=Ef,X.differenceBy=Df,X.differenceWith=ul,X.drop=function Mf(r,a,f){var D=null==r?0:r.length;return D?Xi(r,(a=f||a===h?1:Wn(a))<0?0:a,D):[]},X.dropRight=function Sf(r,a,f){var D=null==r?0:r.length;return D?Xi(r,0,(a=D-(a=f||a===h?1:Wn(a)))<0?0:a):[]},X.dropRightWhile=function wp(r,a){return r&&r.length?Is(r,On(a,3),!0,!0):[]},X.dropWhile=function Xu(r,a){return r&&r.length?Is(r,On(a,3),!0):[]},X.fill=function Ep(r,a,f,D){var H=null==r?0:r.length;return H?(f&&"number"!=typeof f&&zi(r,a,f)&&(f=0,D=H),function Hu(r,a,f,D){var H=r.length;for((f=Wn(f))<0&&(f=-f>H?0:H+f),(D=D===h||D>H?H:Wn(D))<0&&(D+=H),D=f>D?0:Cd(D);f<D;)r[f++]=a;return r}(r,a,f,D)):[]},X.filter=function jf(r,a){return(zn(r)?Fn:lu)(r,On(a,3))},X.flatMap=function sd(r,a){return hr(od(r,a),1)},X.flatMapDeep=function o_(r,a){return hr(od(r,a),En)},X.flatMapDepth=function a_(r,a,f){return f=f===h?1:Wn(f),hr(od(r,a),f)},X.flatten=Qc,X.flattenDeep=function Kc(r){return null!=r&&r.length?hr(r,En):[]},X.flattenDepth=function Tf(r,a){return null!=r&&r.length?hr(r,a=a===h?1:Wn(a)):[]},X.flip=function Ul(r){return Io(r,512)},X.flow=Zl,X.flowRight=ql,X.fromPairs=function ec(r){for(var a=-1,f=null==r?0:r.length,D={};++a<f;){var H=r[a];D[H[0]]=H[1]}return D},X.functions=function hg(r){return null==r?[]:uu(r,Mi(r))},X.functionsIn=function fh(r){return null==r?[]:uu(r,hs(r))},X.groupBy=l_,X.initial=function Jc(r){return null!=r&&r.length?Xi(r,0,-1):[]},X.intersection=xf,X.intersectionBy=Xc,X.intersectionWith=yu,X.invert=pg,X.invertBy=Gl,X.invokeMap=c_,X.iteratee=Va,X.keyBy=d_,X.keys=Mi,X.keysIn=hs,X.map=od,X.mapKeys=function mg(r,a){var f={};return a=On(a,3),As(r,function(D,H,ne){Js(f,a(D,H,ne),D)}),f},X.mapValues=function Bo(r,a){var f={};return a=On(a,3),As(r,function(D,H,ne){Js(f,H,a(D,H,ne))}),f},X.matches=function Ql(r){return Xs(Ai(r,1))},X.matchesProperty=function Kl(r,a){return cu(r,Ai(a,1))},X.memoize=lc,X.merge=Md,X.mergeWith=Sd,X.method=Mh,X.methodOf=Sh,X.mixin=fc,X.negate=bu,X.nthArg=function Ph(r){return r=Wn(r),zt(function(a){return rl(a,r)})},X.omit=ph,X.omitBy=function gh(r,a){return _h(r,bu(On(a)))},X.once=function qf(r){return dd(2,r)},X.orderBy=function f_(r,a,f,D){return null==r?[]:(zn(a)||(a=null==a?[]:[a]),zn(f=D?h:f)||(f=null==f?[]:[f]),Ml(r,a,f))},X.over=xh,X.overArgs=hd,X.overEvery=Oh,X.overSome=Ah,X.partial=wu,X.partialRight=pd,X.partition=Aa,X.pick=mh,X.pickBy=_h,X.property=Ih,X.propertyOf=function Rh(r){return function(a){return null==r?h:m(r,a)}},X.pull=Of,X.pullAll=tc,X.pullAllBy=function Af(r,a,f){return r&&r.length&&a&&a.length?ar(r,a,On(f,2)):r},X.pullAllWith=function e_(r,a,f){return r&&r.length&&a&&a.length?ar(r,a,h,f):r},X.pullAt=If,X.range=kg,X.rangeRight=Nh,X.rearg=uc,X.reject=function Gf(r,a){return(zn(r)?Fn:lu)(r,bu(On(a,3)))},X.remove=function Tp(r,a){var f=[];if(!r||!r.length)return f;var D=-1,H=[],ne=r.length;for(a=On(a,3);++D<ne;){var fe=r[D];a(fe,D,r)&&(f.push(fe),H.push(D))}return oi(r,H),f},X.rest=function Zp(r,a){if("function"!=typeof r)throw new Ui(I);return zt(r,a=a===h?a:Wn(a))},X.reverse=nc,X.sampleSize=function zf(r,a,f){return a=(f?zi(r,a,f):a===h)?1:Wn(a),(zn(r)?qd:Sc)(r,a)},X.set=function yg(r,a,f){return null==r?r:di(r,a,f)},X.setWith=function vg(r,a,f,D){return D="function"==typeof D?D:h,null==r?r:di(r,a,f,D)},X.shuffle=function ud(r){return(zn(r)?Vu:Sa)(r)},X.slice=function Pp(r,a,f){var D=null==r?0:r.length;return D?(f&&"number"!=typeof f&&zi(r,a,f)?(a=0,f=D):(a=null==a?0:Wn(a),f=f===h?D:Wn(f)),Xi(r,a,f)):[]},X.sortBy=Wf,X.sortedUniq=function Rp(r){return r&&r.length?Kd(r):[]},X.sortedUniqBy=function Np(r,a){return r&&r.length?Kd(r,On(a,2)):[]},X.split=function Og(r,a,f){return f&&"number"!=typeof f&&zi(r,a,f)&&(a=f=h),(f=f===h?Ln:f>>>0)?(r=Ar(r))&&("string"==typeof a||null!=a&&!Hl(a))&&!(a=no(a))&&os(r)?Ao(wi(r),0,f):r.split(a,f):[]},X.spread=function Qf(r,a){if("function"!=typeof r)throw new Ui(I);return a=null==a?0:zr(Wn(a),0),zt(function(f){var D=f[a],H=Ao(f,0,a);return D&&Zn(H,D),J(r,this,H)})},X.tail=function Nf(r){var a=null==r?0:r.length;return a?Xi(r,1,a):[]},X.take=function Fp(r,a,f){return r&&r.length?Xi(r,0,(a=f||a===h?1:Wn(a))<0?0:a):[]},X.takeRight=function kp(r,a,f){var D=null==r?0:r.length;return D?Xi(r,(a=D-(a=f||a===h?1:Wn(a)))<0?0:a,D):[]},X.takeRightWhile=function Lp(r,a){return r&&r.length?Is(r,On(a,3),!1,!0):[]},X.takeWhile=function Un(r,a){return r&&r.length?Is(r,On(a,3)):[]},X.tap=function rd(r,a){return a(r),r},X.throttle=function h_(r,a,f){var D=!0,H=!0;if("function"!=typeof r)throw new Ui(I);return Gr(f)&&(D="leading"in f?!!f.leading:D,H="trailing"in f?!!f.trailing:H),ac(r,a,{leading:D,maxWait:a,trailing:H})},X.thru=Ll,X.toArray=vd,X.toPairs=Td,X.toPairsIn=Cg,X.toPath=function Bg(r){return zn(r)?jt(r,Fo):es(r)?[r]:fs(wf(Ar(r)))},X.toPlainObject=Vo,X.transform=function yh(r,a,f){var D=zn(r),H=D||Na(r)||dl(r);if(a=On(a,4),null==f){var ne=r&&r.constructor;f=H?D?new ne:[]:Gr(r)&&ko(ne)?Yr(Ca(r)):{}}return(H?Ge:As)(r,function(fe,we,Ie){return a(f,fe,we,Ie)}),f},X.unary=function Kf(r){return Yf(r,1)},X.union=Ff,X.unionBy=kf,X.unionWith=Lf,X.uniq=function rc(r){return r&&r.length?Ta(r):[]},X.uniqBy=function mo(r,a){return r&&r.length?Ta(r,On(a,2)):[]},X.uniqWith=function Vf(r,a){return a="function"==typeof a?a:h,r&&r.length?Ta(r,h,a):[]},X.unset=function bg(r,a){return null==r||Sl(r,a)},X.unzip=ed,X.unzipWith=ic,X.update=function wg(r,a,f){return null==r?r:Pc(r,a,Xd(f))},X.updateWith=function C_(r,a,f,D){return D="function"==typeof D?D:h,null==r?r:Pc(r,a,Xd(f),D)},X.values=Mu,X.valuesIn=function Pd(r){return null==r?[]:jr(r,hs(r))},X.without=la,X.words=ka,X.wrap=function Jf(r,a){return wu(Xd(a),r)},X.xor=td,X.xorBy=Bf,X.xorWith=nd,X.zip=t_,X.zipObject=function Uf(r,a){return xc(r||[],a||[],Xa)},X.zipObjectDeep=function n_(r,a){return xc(r||[],a||[],di)},X.zipWith=sc,X.entries=Td,X.entriesIn=Cg,X.extend=ug,X.extendWith=$l,fc(X,X),X.add=D_,X.attempt=Pu,X.camelCase=b_,X.capitalize=io,X.ceil=Hg,X.clamp=function Eg(r,a,f){return f===h&&(f=a,a=h),f!==h&&(f=(f=ks(f))==f?f:0),a!==h&&(a=(a=ks(a))==a?a:0),tl(ks(r),a,f)},X.clone=function Xf(r){return Ai(r,4)},X.cloneDeep=function Kp(r){return Ai(r,5)},X.cloneDeepWith=function Ns(r,a){return Ai(r,5,a="function"==typeof a?a:h)},X.cloneWith=function Qp(r,a){return Ai(r,4,a="function"==typeof a?a:h)},X.conformsTo=function Jp(r,a){return null==a||bl(r,a,Mi(a))},X.deburr=Dg,X.defaultTo=function Yl(r,a){return null==r||r!=r?a:r},X.divide=Nd,X.endsWith=function w_(r,a,f){r=Ar(r),a=no(a);var D=r.length,H=f=f===h?D:tl(Wn(f),0,D);return(f-=a.length)>=0&&r.slice(f,H)==a},X.eq=_o,X.escape=function bh(r){return(r=Ar(r))&&Pe.test(r)?r.replace(Cn,ha):r},X.escapeRegExp=function wh(r){return(r=Ar(r))&&re.test(r)?r.replace(Te,"\\$&"):r},X.every=function s_(r,a,f){var D=zn(r)?xt:nl;return f&&zi(r,a,f)&&(a=h),D(r,On(a,3))},X.find=$f,X.findIndex=Zc,X.findKey=function uh(r,a){return T(r,On(a,3),As)},X.findLast=$p,X.findLastIndex=qc,X.findLastKey=function ch(r,a){return T(r,On(a,3),Da)},X.floor=Fd,X.forEach=Gp,X.forEachRight=zp,X.forIn=function dh(r,a){return null==r?r:Dl(r,On(a,3),hs)},X.forInRight=function dg(r,a){return null==r?r:ju(r,On(a,3),hs)},X.forOwn=function Ed(r,a){return r&&As(r,On(a,3))},X.forOwnRight=function fg(r,a){return r&&Da(r,On(a,3))},X.get=Fa,X.gt=p_,X.gte=g_,X.has=function hh(r,a){return null!=r&&pf(r,a,O)},X.hasIn=Dd,X.head=_u,X.identity=Ci,X.includes=function u_(r,a,f,D){r=Wi(r)?r:Mu(r),f=f&&!D?Wn(f):0;var H=r.length;return f<0&&(f=zr(H+f,0)),jl(r)?f<=H&&r.indexOf(a,f)>-1:!!H&&w(r,a,f)>-1},X.indexOf=function Pf(r,a,f){var D=null==r?0:r.length;if(!D)return-1;var H=null==f?0:Wn(f);return H<0&&(H=zr(D+H,0)),w(r,a,H)},X.inRange=function vh(r,a,f){return a=Lo(a),f===h?(f=a,a=0):f=Lo(f),function ce(r,a,f){return r>=Wr(a,f)&&r<zr(a,f)}(r=ks(r),a,f)},X.invoke=gg,X.isArguments=Ra,X.isArray=zn,X.isArrayBuffer=Xp,X.isArrayLike=Wi,X.isArrayLikeObject=ti,X.isBoolean=function eg(r){return!0===r||!1===r||ni(r)&&l(r)==Qn},X.isBuffer=Na,X.isDate=tg,X.isElement=function eh(r){return ni(r)&&1===r.nodeType&&!Eu(r)},X.isEmpty=function ng(r){if(null==r)return!0;if(Wi(r)&&(zn(r)||"string"==typeof r||"function"==typeof r.splice||Na(r)||dl(r)||Ra(r)))return!r.length;var a=Gi(r);if(a==Tr||a==pe)return!r.size;if(Fl(r))return!cs(r).length;for(var f in r)if(ir.call(r,f))return!1;return!0},X.isEqual=function th(r,a){return Nn(r,a)},X.isEqualWith=function rg(r,a,f){var D=(f="function"==typeof f?f:h)?f(r,a):h;return D===h?Nn(r,a,h,f):!!D},X.isError=gd,X.isFinite=function nh(r){return"number"==typeof r&&Ws(r)},X.isFunction=ko,X.isInteger=rh,X.isLength=Fs,X.isMap=ih,X.isMatch=function m_(r,a){return r===a||Or(r,a,Lc(a))},X.isMatchWith=function sh(r,a,f){return f="function"==typeof f?f:h,Or(r,a,Lc(a),f)},X.isNaN=function ig(r){return oh(r)&&r!=+r},X.isNative=function sg(r){if(yp(r))throw new Rn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return qr(r)},X.isNil=function md(r){return null==r},X.isNull=function og(r){return null===r},X.isNumber=oh,X.isObject=Gr,X.isObjectLike=ni,X.isPlainObject=Eu,X.isRegExp=Hl,X.isSafeInteger=function _d(r){return rh(r)&&r>=-en&&r<=en},X.isSet=ah,X.isString=jl,X.isSymbol=es,X.isTypedArray=dl,X.isUndefined=function __(r){return r===h},X.isWeakMap=function y_(r){return ni(r)&&Gi(r)==je},X.isWeakSet=function yd(r){return ni(r)&&"[object WeakSet]"==l(r)},X.join=function Dp(r,a){return null==r?"":yl.call(r,a)},X.kebabCase=Eh,X.last=Rs,X.lastIndexOf=function Mp(r,a,f){var D=null==r?0:r.length;if(!D)return-1;var H=D;return f!==h&&(H=(H=Wn(f))<0?zr(D+H,0):Wr(H,D-1)),a==a?function eu(Me,et,We){for(var Gt=We+1;Gt--;)if(Me[Gt]===et)return Gt;return Gt}(r,a,H):M(r,Xe,H,!0)},X.lowerCase=Mg,X.lowerFirst=E_,X.lt=v_,X.lte=ag,X.max=function jg(r){return r&&r.length?po(r,Ci,_):h},X.maxBy=function M_(r,a){return r&&r.length?po(r,On(a,2),_):h},X.mean=function S_(r){return on(r,Ci)},X.meanBy=function T_(r,a){return on(r,On(a,2))},X.min=function $g(r){return r&&r.length?po(r,Ci,Ki):h},X.minBy=function Lh(r,a){return r&&r.length?po(r,On(a,2),Ki):h},X.stubArray=pc,X.stubFalse=Rd,X.stubObject=function Lg(){return{}},X.stubString=function Fh(){return""},X.stubTrue=function Vg(){return!0},X.multiply=P_,X.nth=function Sp(r,a){return r&&r.length?rl(r,Wn(a)):h},X.noConflict=function Th(){return Hr._===this&&(Hr._=Zo),this},X.noop=hc,X.now=oc,X.pad=function Dh(r,a,f){r=Ar(r);var D=(a=Wn(a))?Qi(r):0;if(!a||D>=a)return r;var H=(a-D)/2;return pu(fo(H),f)+r+pu(Ss(H),f)},X.padEnd=function xd(r,a,f){r=Ar(r);var D=(a=Wn(a))?Qi(r):0;return a&&D<a?r+pu(a-D,f):r},X.padStart=function Sg(r,a,f){r=Ar(r);var D=(a=Wn(a))?Qi(r):0;return a&&D<a?pu(a-D,f)+r:r},X.parseInt=function Od(r,a,f){return f||null==a?a=0:a&&(a=+a),Za(Ar(r).replace(ie,""),a||0)},X.random=function Ch(r,a,f){if(f&&"boolean"!=typeof f&&zi(r,a,f)&&(a=f=h),f===h&&("boolean"==typeof a?(f=a,a=h):"boolean"==typeof r&&(f=r,r=h)),r===h&&a===h?(r=0,a=1):(r=Lo(r),a===h?(a=r,r=0):a=Lo(a)),r>a){var D=r;r=a,a=D}if(f||r%1||a%1){var H=Po();return Wr(r+H*(a-r+_s("1e-"+((H+"").length-1))),a)}return ds(r,a)},X.reduce=function ad(r,a,f){var D=zn(r)?rr:yi,H=arguments.length<3;return D(r,On(a,4),f,H,na)},X.reduceRight=function Wp(r,a,f){var D=zn(r)?Mr:yi,H=arguments.length<3;return D(r,On(a,4),f,H,El)},X.repeat=function Tg(r,a,f){return a=(f?zi(r,a,f):a===h)?1:Wn(a),to(Ar(r),a)},X.replace=function Pg(){var r=arguments,a=Ar(r[0]);return r.length<3?a:a.replace(r[1],r[2])},X.result=function _g(r,a,f){var D=-1,H=(a=il(a,r)).length;for(H||(H=1,r=h);++D<H;){var ne=null==r?h:r[Fo(a[D])];ne===h&&(D=H,ne=f),r=ko(ne)?ne.call(r):ne}return r},X.round=Gg,X.runInContext=Me,X.sample=function ld(r){return(zn(r)?Zr:Ma)(r)},X.size=function Yp(r){if(null==r)return 0;if(Wi(r))return jl(r)?Qi(r):r.length;var a=Gi(r);return a==Tr||a==pe?r.size:cs(r).length},X.snakeCase=xg,X.some=function Ia(r,a,f){var D=zn(r)?Dr:Qd;return f&&zi(r,a,f)&&(a=h),D(r,On(a,3))},X.sortedIndex=function xp(r,a){return $u(r,a)},X.sortedIndexBy=function go(r,a,f){return Tc(r,a,On(f,2))},X.sortedIndexOf=function Op(r,a){var f=null==r?0:r.length;if(f){var D=$u(r,a);if(D<f&&_o(r[D],a))return D}return-1},X.sortedLastIndex=function Rf(r,a){return $u(r,a,!0)},X.sortedLastIndexBy=function Ap(r,a,f){return Tc(r,a,On(f,2),!0)},X.sortedLastIndexOf=function Ip(r,a){if(null!=r&&r.length){var D=$u(r,a,!0)-1;if(_o(r[D],a))return D}return-1},X.startCase=Ag,X.startsWith=function Ig(r,a,f){return r=Ar(r),f=null==f?0:tl(Wn(f),0,r.length),a=no(a),r.slice(f,f+a.length)==a},X.subtract=Jl,X.sum=function zg(r){return r&&r.length?xi(r,Ci):0},X.sumBy=function Vh(r,a){return r&&r.length?xi(r,On(a,2)):0},X.template=function dc(r,a,f){var D=X.templateSettings;f&&zi(r,a,f)&&(a=h),r=Ar(r),a=$l({},a,D,cf);var we,Ie,H=$l({},a.imports,D.imports,cf),ne=Mi(H),fe=jr(H,ne),ut=0,ct=a.interpolate||Pt,vt="__p += '",Bt=$a((a.escape||Pt).source+"|"+ct.source+"|"+(ct===Ee?Ot:Pt).source+"|"+(a.evaluate||Pt).source+"|$","g"),ln="//# sourceURL="+(ir.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vi+"]")+"\n";r.replace(Bt,function(Pn,lr,br,Ri,Yi,ts){return br||(br=Ri),vt+=r.slice(ut,ts).replace(Rt,fl),lr&&(we=!0,vt+="' +\n__e("+lr+") +\n'"),Yi&&(Ie=!0,vt+="';\n"+Yi+";\n__p += '"),br&&(vt+="' +\n((__t = ("+br+")) == null ? '' : __t) +\n'"),ut=ts+Pn.length,Pn}),vt+="';\n";var Tn=ir.call(a,"variable")&&a.variable;if(Tn){if(de.test(Tn))throw new Rn("Invalid `variable` option passed into `_.template`")}else vt="with (obj) {\n"+vt+"\n}\n";vt=(Ie?vt.replace(tn,""):vt).replace(pn,"$1").replace(At,"$1;"),vt="function("+(Tn||"obj")+") {\n"+(Tn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(we?", __e = _.escape":"")+(Ie?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+vt+"return __p\n}";var Jn=Pu(function(){return In(ne,ln+"return "+vt).apply(h,fe)});if(Jn.source=vt,gd(Jn))throw Jn;return Jn},X.times=function kh(r,a){if((r=Wn(r))<1||r>en)return[];var f=Ln,D=Wr(r,Ln);a=On(a),r-=Ln;for(var H=bs(D,a);++f<r;)a(f);return H},X.toFinite=Lo,X.toInteger=Wn,X.toLength=Cd,X.toLower=function zl(r){return Ar(r).toLowerCase()},X.toNumber=ks,X.toSafeInteger=function cc(r){return r?tl(Wn(r),-en,en):0===r?r:0},X.toString=Ar,X.toUpper=function Rg(r){return Ar(r).toUpperCase()},X.trim=function Su(r,a,f){if((r=Ar(r))&&(f||a===h))return qn(r);if(!r||!(a=no(a)))return r;var D=wi(r),H=wi(a);return Ao(D,Es(D,H),Bi(D,H)+1).join("")},X.trimEnd=function Ng(r,a,f){if((r=Ar(r))&&(f||a===h))return r.slice(0,$s(r)+1);if(!r||!(a=no(a)))return r;var D=wi(r);return Ao(D,0,Bi(D,wi(a))+1).join("")},X.trimStart=function Fg(r,a,f){if((r=Ar(r))&&(f||a===h))return r.replace(ie,"");if(!r||!(a=no(a)))return r;var D=wi(r);return Ao(D,Es(D,wi(a))).join("")},X.truncate=function Ad(r,a){var f=30,D="...";if(Gr(a)){var H="separator"in a?a.separator:H;f="length"in a?Wn(a.length):f,D="omission"in a?no(a.omission):D}var ne=(r=Ar(r)).length;if(os(r)){var fe=wi(r);ne=fe.length}if(f>=ne)return r;var we=f-Qi(D);if(we<1)return D;var Ie=fe?Ao(fe,0,we).join(""):r.slice(0,we);if(H===h)return Ie+D;if(fe&&(we+=Ie.length-we),Hl(H)){if(r.slice(we).search(H)){var ut,ct=Ie;for(H.global||(H=$a(H.source,Ar(Ht.exec(H))+"g")),H.lastIndex=0;ut=H.exec(ct);)var vt=ut.index;Ie=Ie.slice(0,vt===h?we:vt)}}else if(r.indexOf(no(H),we)!=we){var Bt=Ie.lastIndexOf(H);Bt>-1&&(Ie=Ie.slice(0,Bt))}return Ie+D},X.unescape=function Uo(r){return(r=Ar(r))&&Kn.test(r)?r.replace(Wt,ga):r},X.uniqueId=function Ug(r){var a=++_a;return Ar(r)+a},X.upperCase=Tu,X.upperFirst=Si,X.each=Gp,X.eachRight=zp,X.first=_u,fc(X,function(){var r={};return As(X,function(a,f){ir.call(X.prototype,f)||(r[f]=a)}),r}(),{chain:!1}),X.VERSION="4.17.21",Ge(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){X[r].placeholder=X}),Ge(["drop","take"],function(r,a){d.prototype[r]=function(f){f=f===h?1:zr(Wn(f),0);var D=this.__filtered__&&!a?new d(this):this.clone();return D.__filtered__?D.__takeCount__=Wr(f,D.__takeCount__):D.__views__.push({size:Wr(f,Ln),type:r+(D.__dir__<0?"Right":"")}),D},d.prototype[r+"Right"]=function(f){return this.reverse()[r](f).reverse()}}),Ge(["filter","map","takeWhile"],function(r,a){var f=a+1,D=1==f||3==f;d.prototype[r]=function(H){var ne=this.clone();return ne.__iteratees__.push({iteratee:On(H,3),type:f}),ne.__filtered__=ne.__filtered__||D,ne}}),Ge(["head","last"],function(r,a){var f="take"+(a?"Right":"");d.prototype[r]=function(){return this[f](1).value()[0]}}),Ge(["initial","tail"],function(r,a){var f="drop"+(a?"":"Right");d.prototype[r]=function(){return this.__filtered__?new d(this):this[f](1)}}),d.prototype.compact=function(){return this.filter(Ci)},d.prototype.find=function(r){return this.filter(r).head()},d.prototype.findLast=function(r){return this.reverse().find(r)},d.prototype.invokeMap=zt(function(r,a){return"function"==typeof r?new d(this):this.map(function(f){return Je(f,r,a)})}),d.prototype.reject=function(r){return this.filter(bu(On(r)))},d.prototype.slice=function(r,a){r=Wn(r);var f=this;return f.__filtered__&&(r>0||a<0)?new d(f):(r<0?f=f.takeRight(-r):r&&(f=f.drop(r)),a!==h&&(f=(a=Wn(a))<0?f.dropRight(-a):f.take(a-r)),f)},d.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},d.prototype.toArray=function(){return this.take(Ln)},As(d.prototype,function(r,a){var f=/^(?:filter|find|map|reject)|While$/.test(a),D=/^(?:head|last)$/.test(a),H=X[D?"take"+("last"==a?"Right":""):a],ne=D||/^find/.test(a);!H||(X.prototype[a]=function(){var fe=this.__wrapped__,we=D?[1]:arguments,Ie=fe instanceof d,ut=we[0],ct=Ie||zn(fe),vt=function(lr){var br=H.apply(X,Zn([lr],we));return D&&Bt?br[0]:br};ct&&f&&"function"==typeof ut&&1!=ut.length&&(Ie=ct=!1);var Bt=this.__chain__,ln=!!this.__actions__.length,Tn=ne&&!Bt,Jn=Ie&&!ln;if(!ne&&ct){fe=Jn?fe:new d(this);var Pn=r.apply(fe,we);return Pn.__actions__.push({func:Ll,args:[vt],thisArg:h}),new g(Pn,Bt)}return Tn&&Jn?r.apply(this,we):(Pn=this.thru(vt),Tn?D?Pn.value()[0]:Pn.value():Pn)})}),Ge(["pop","push","shift","sort","splice","unshift"],function(r){var a=ma[r],f=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",D=/^(?:pop|shift)$/.test(r);X.prototype[r]=function(){var H=arguments;if(D&&!this.__chain__){var ne=this.value();return a.apply(zn(ne)?ne:[],H)}return this[f](function(fe){return a.apply(zn(fe)?fe:[],H)})}}),As(d.prototype,function(r,a){var f=X[a];if(f){var D=f.name+"";ir.call(Ys,D)||(Ys[D]=[]),Ys[D].push({name:a,func:f})}}),Ys[Pa(h,2).name]=[{name:"wrapper",func:h}],d.prototype.clone=function E(){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 x(){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 Q(){var r=this.__wrapped__.value(),a=this.__dir__,f=zn(r),D=a<0,H=f?r.length:0,ne=function gp(r,a,f){for(var D=-1,H=f.length;++D<H;){var ne=f[D],fe=ne.size;switch(ne.type){case"drop":r+=fe;break;case"dropRight":a-=fe;break;case"take":a=Wr(a,r+fe);break;case"takeRight":r=zr(r,a-fe)}}return{start:r,end:a}}(0,H,this.__views__),fe=ne.start,we=ne.end,Ie=we-fe,ut=D?we:fe-1,ct=this.__iteratees__,vt=ct.length,Bt=0,ln=Wr(Ie,this.__takeCount__);if(!f||!D&&H==Ie&&ln==Ie)return Tl(r,this.__actions__);var Tn=[];e:for(;Ie--&&Bt<ln;){for(var Jn=-1,Pn=r[ut+=a];++Jn<vt;){var lr=ct[Jn],Ri=lr.type,Yi=(0,lr.iteratee)(Pn);if(2==Ri)Pn=Yi;else if(!Yi){if(1==Ri)continue e;break e}}Tn[Bt++]=Pn}return Tn},X.prototype.at=id,X.prototype.chain=function r_(){return vu(this)},X.prototype.commit=function Vp(){return new g(this.value(),this.__chain__)},X.prototype.next=function Bp(){this.__values__===h&&(this.__values__=vd(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?h:this.__values__[this.__index__++]}},X.prototype.plant=function Hp(r){for(var a,f=this;f instanceof v;){var D=Wc(f);D.__index__=0,D.__values__=h,a?H.__wrapped__=D:a=D;var H=D;f=f.__wrapped__}return H.__wrapped__=r,a},X.prototype.reverse=function Hf(){var r=this.__wrapped__;if(r instanceof d){var a=r;return this.__actions__.length&&(a=new d(this)),(a=a.reverse()).__actions__.push({func:Ll,args:[nc],thisArg:h}),new g(a,this.__chain__)}return this.thru(nc)},X.prototype.toJSON=X.prototype.valueOf=X.prototype.value=function i_(){return Tl(this.__wrapped__,this.__actions__)},X.prototype.first=X.prototype.head,To&&(X.prototype[To]=function Up(){return this}),X}();Hr._=Wo,(s=function(){return Wo}.call(N,y,N,Z))!==h&&(Z.exports=s)}.call(this)},2552:Z=>{Z.exports=function N(){}},8448:(Z,N,y)=>{var s=y(5171),h=y(2315),L=y(4401),V=y(3943);Z.exports=function A(I,B,U){I=V(I);var ee=(B=L(B))?h(I):0;return B&&ee<B?s(B-ee,U)+I:I}},1978:(Z,N,y)=>{var h=y(1491)(function(L,V,A){return L+(A?"_":"")+V.toLowerCase()});Z.exports=h},3580:Z=>{Z.exports=function N(){return!1}},2232:(Z,N,y)=>{var s=y(1467),h=1/0;Z.exports=function V(A){return A?(A=s(A))===h||A===-h?17976931348623157e292*(A<0?-1:1):A==A?A:0:0===A?A:0}},4401:(Z,N,y)=>{var s=y(2232);Z.exports=function h(L){var V=s(L),A=V%1;return V==V?A?V-A:V:0}},1467:(Z,N,y)=>{var s=y(3348),h=y(5940),L=y(4129),A=/^[-+]0x[0-9a-f]+$/i,I=/^0b[01]+$/i,B=/^0o[0-7]+$/i,U=parseInt;Z.exports=function ee(k){if("number"==typeof k)return k;if(L(k))return NaN;if(h(k)){var Y="function"==typeof k.valueOf?k.valueOf():k;k=h(Y)?Y+"":Y}if("string"!=typeof k)return 0===k?k:+k;k=s(k);var q=I.test(k);return q||B.test(k)?U(k.slice(2),q?2:8):A.test(k)?NaN:+k}},3943:(Z,N,y)=>{var s=y(3935);Z.exports=function h(L){return null==L?"":s(L)}},836:(Z,N,y)=>{var s=y(707);Z.exports=function h(L){return L&&L.length?s(L):[]}},7188:(Z,N,y)=>{var s=y(69),h=y(9062),L=y(3943),V=y(910);Z.exports=function A(I,B,U){return I=L(I),void 0===(B=U?void 0:B)?h(I)?V(I):s(I):I.match(B)||[]}},4879:(Z,N,y)=>{"use strict";y.r(N),y.d(N,{decode:()=>un,default:()=>Dt,encode:()=>Kt,toASCII:()=>ge,toUnicode:()=>qt,ucs2decode:()=>He,ucs2encode:()=>rt});const s=2147483647,h=36,k=/^xn--/,Y=/[^\0-\x7E]/,q=/[\x2E\u3002\uFF0E\uFF61]/g,le={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},be=Math.floor,Fe=String.fromCharCode;function Ve(qe){throw new RangeError(le[qe])}function Ze(qe,Ke){const En=qe.split("@");let en="";En.length>1&&(en=En[0]+"@",qe=En[1]);const gr=function Vt(qe,Ke){const En=[];let en=qe.length;for(;en--;)En[en]=Ke(qe[en]);return En}((qe=qe.replace(q,".")).split("."),Ke).join(".");return en+gr}function He(qe){const Ke=[];let En=0;const en=qe.length;for(;En<en;){const Vn=qe.charCodeAt(En++);if(Vn>=55296&&Vn<=56319&&En<en){const gr=qe.charCodeAt(En++);56320==(64512&gr)?Ke.push(((1023&Vn)<<10)+(1023&gr)+65536):(Ke.push(Vn),En--)}else Ke.push(Vn)}return Ke}const rt=qe=>String.fromCodePoint(...qe),Ce=function(qe){return qe-48<10?qe-22:qe-65<26?qe-65:qe-97<26?qe-97:h},wt=function(qe,Ke){return qe+22+75*(qe<26)-((0!=Ke)<<5)},Et=function(qe,Ke,En){let en=0;for(qe=En?be(qe/700):qe>>1,qe+=be(qe/Ke);qe>455;en+=h)qe=be(qe/35);return be(en+36*qe/(qe+38))},un=function(qe){const Ke=[],En=qe.length;let en=0,Vn=128,gr=72,Ln=qe.lastIndexOf("-");Ln<0&&(Ln=0);for(let mr=0;mr<Ln;++mr)qe.charCodeAt(mr)>=128&&Ve("not-basic"),Ke.push(qe.charCodeAt(mr));for(let mr=Ln>0?Ln+1:0;mr<En;){let Yn=en;for(let Dn=1,an=h;;an+=h){mr>=En&&Ve("invalid-input");const Sr=Ce(qe.charCodeAt(mr++));(Sr>=h||Sr>be((s-en)/Dn))&&Ve("overflow"),en+=Sr*Dn;const Qn=an<=gr?1:an>=gr+26?26:an-gr;if(Sr<Qn)break;const Xn=h-Qn;Dn>be(s/Xn)&&Ve("overflow"),Dn*=Xn}const kr=Ke.length+1;gr=Et(en-Yn,kr,0==Yn),be(en/kr)>s-Vn&&Ve("overflow"),Vn+=be(en/kr),en%=kr,Ke.splice(en++,0,Vn)}return String.fromCodePoint(...Ke)},Kt=function(qe){const Ke=[];let En=(qe=He(qe)).length,en=128,Vn=0,gr=72;for(const Yn of qe)Yn<128&&Ke.push(Fe(Yn));let Ln=Ke.length,mr=Ln;for(Ln&&Ke.push("-");mr<En;){let Yn=s;for(const Dn of qe)Dn>=en&&Dn<Yn&&(Yn=Dn);const kr=mr+1;Yn-en>be((s-Vn)/kr)&&Ve("overflow"),Vn+=(Yn-en)*kr,en=Yn;for(const Dn of qe)if(Dn<en&&++Vn>s&&Ve("overflow"),Dn==en){let an=Vn;for(let Sr=h;;Sr+=h){const Qn=Sr<=gr?1:Sr>=gr+26?26:Sr-gr;if(an<Qn)break;const Xn=an-Qn,ur=h-Qn;Ke.push(Fe(wt(Qn+Xn%ur,0))),an=be(Xn/ur)}Ke.push(Fe(wt(an,0))),gr=Et(Vn,kr,mr==Ln),Vn=0,++mr}++Vn,++en}return Ke.join("")},qt=function(qe){return Ze(qe,function(Ke){return k.test(Ke)?un(Ke.slice(4).toLowerCase()):Ke})},ge=function(qe){return Ze(qe,function(Ke){return Y.test(Ke)?"xn--"+Kt(Ke):Ke})},Dt={version:"2.1.0",ucs2:{decode:He,encode:rt},decode:un,encode:Kt,toASCII:ge,toUnicode:qt}},1869:(Z,N,y)=>{"use strict";y.d(N,{d:()=>h});var s=y(3489);class h extends s.L{constructor(V,A,I){super(),this.parent=V,this.outerValue=A,this.outerIndex=I,this.index=0}_next(V){this.parent.notifyNext(this.outerValue,V,this.outerIndex,this.index++,this)}_error(V){this.parent.notifyError(V,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(Z,N,y)=>{"use strict";y.d(N,{y:()=>Y});var s=y(3489),L=y(7668),V=y(3292),I=y(3821),B=y(5379);var k=y(2830);let Y=(()=>{class le{constructor(be){this._isScalar=!1,be&&(this._subscribe=be)}lift(be){const Fe=new le;return Fe.source=this,Fe.operator=be,Fe}subscribe(be,Fe,Ve){const{operator:Vt}=this,Ze=function A(le,De,be){if(le){if(le instanceof s.L)return le;if(le[L.b])return le[L.b]()}return le||De||be?new s.L(le,De,be):new s.L(V.c)}(be,Fe,Ve);if(Ze.add(Vt?Vt.call(Ze,this.source):this.source||k.v.useDeprecatedSynchronousErrorHandling&&!Ze.syncErrorThrowable?this._subscribe(Ze):this._trySubscribe(Ze)),k.v.useDeprecatedSynchronousErrorHandling&&Ze.syncErrorThrowable&&(Ze.syncErrorThrowable=!1,Ze.syncErrorThrown))throw Ze.syncErrorValue;return Ze}_trySubscribe(be){try{return this._subscribe(be)}catch(Fe){k.v.useDeprecatedSynchronousErrorHandling&&(be.syncErrorThrown=!0,be.syncErrorValue=Fe),function h(le){for(;le;){const{closed:De,destination:be,isStopped:Fe}=le;if(De||Fe)return!1;le=be&&be instanceof s.L?be:null}return!0}(be)?be.error(Fe):console.warn(Fe)}}forEach(be,Fe){return new(Fe=q(Fe))((Ve,Vt)=>{let Ze;Ze=this.subscribe(He=>{try{be(He)}catch(rt){Vt(rt),Ze&&Ze.unsubscribe()}},Vt,Ve)})}_subscribe(be){const{source:Fe}=this;return Fe&&Fe.subscribe(be)}[I.L](){return this}pipe(...be){return 0===be.length?this:function ee(le){return 0===le.length?B.y:1===le.length?le[0]:function(be){return le.reduce((Fe,Ve)=>Ve(Fe),be)}}(be)(this)}toPromise(be){return new(be=q(be))((Fe,Ve)=>{let Vt;this.subscribe(Ze=>Vt=Ze,Ze=>Ve(Ze),()=>Fe(Vt))})}}return le.create=De=>new le(De),le})();function q(le){if(le||(le=k.v.Promise||Promise),!le)throw new Error("no Promise impl found");return le}},3292:(Z,N,y)=>{"use strict";y.d(N,{c:()=>L});var s=y(2830),h=y(2782);const L={closed:!0,next(V){},error(V){if(s.v.useDeprecatedSynchronousErrorHandling)throw V;(0,h.z)(V)},complete(){}}},826:(Z,N,y)=>{"use strict";y.d(N,{L:()=>h});var s=y(3489);class h extends s.L{notifyNext(V,A,I,B,U){this.destination.next(A)}notifyError(V,A){this.destination.error(V)}notifyComplete(V){this.destination.complete()}}},5529:(Z,N,y)=>{"use strict";y.d(N,{xQ:()=>U,Yc:()=>B});var s=y(2916),h=y(3489),L=y(2654),V=y(5279);class A extends L.w{constructor(Y,q){super(),this.subject=Y,this.subscriber=q,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const Y=this.subject,q=Y.observers;if(this.subject=null,!q||0===q.length||Y.isStopped||Y.closed)return;const le=q.indexOf(this.subscriber);-1!==le&&q.splice(le,1)}}var I=y(7668);class B extends h.L{constructor(Y){super(Y),this.destination=Y}}let U=(()=>{class k extends s.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[I.b](){return new B(this)}lift(q){const le=new ee(this,this);return le.operator=q,le}next(q){if(this.closed)throw new V.N;if(!this.isStopped){const{observers:le}=this,De=le.length,be=le.slice();for(let Fe=0;Fe<De;Fe++)be[Fe].next(q)}}error(q){if(this.closed)throw new V.N;this.hasError=!0,this.thrownError=q,this.isStopped=!0;const{observers:le}=this,De=le.length,be=le.slice();for(let Fe=0;Fe<De;Fe++)be[Fe].error(q);this.observers.length=0}complete(){if(this.closed)throw new V.N;this.isStopped=!0;const{observers:q}=this,le=q.length,De=q.slice();for(let be=0;be<le;be++)De[be].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(q){if(this.closed)throw new V.N;return super._trySubscribe(q)}_subscribe(q){if(this.closed)throw new V.N;return this.hasError?(q.error(this.thrownError),L.w.EMPTY):this.isStopped?(q.complete(),L.w.EMPTY):(this.observers.push(q),new A(this,q))}asObservable(){const q=new s.y;return q.source=this,q}}return k.create=(Y,q)=>new ee(Y,q),k})();class ee extends U{constructor(Y,q){super(),this.destination=Y,this.source=q}next(Y){const{destination:q}=this;q&&q.next&&q.next(Y)}error(Y){const{destination:q}=this;q&&q.error&&this.destination.error(Y)}complete(){const{destination:Y}=this;Y&&Y.complete&&this.destination.complete()}_subscribe(Y){const{source:q}=this;return q?this.source.subscribe(Y):L.w.EMPTY}}},3489:(Z,N,y)=>{"use strict";y.d(N,{L:()=>B});var s=y(7043),h=y(3292),L=y(2654),V=y(7668),A=y(2830),I=y(2782);class B extends L.w{constructor(k,Y,q){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h.c;break;case 1:if(!k){this.destination=h.c;break}if("object"==typeof k){k instanceof B?(this.syncErrorThrowable=k.syncErrorThrowable,this.destination=k,k.add(this)):(this.syncErrorThrowable=!0,this.destination=new U(this,k));break}default:this.syncErrorThrowable=!0,this.destination=new U(this,k,Y,q)}}[V.b](){return this}static create(k,Y,q){const le=new B(k,Y,q);return le.syncErrorThrowable=!1,le}next(k){this.isStopped||this._next(k)}error(k){this.isStopped||(this.isStopped=!0,this._error(k))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(k){this.destination.next(k)}_error(k){this.destination.error(k),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:k}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=k,this}}class U extends B{constructor(k,Y,q,le){super(),this._parentSubscriber=k;let De,be=this;(0,s.m)(Y)?De=Y:Y&&(De=Y.next,q=Y.error,le=Y.complete,Y!==h.c&&(be=Object.create(Y),(0,s.m)(be.unsubscribe)&&this.add(be.unsubscribe.bind(be)),be.unsubscribe=this.unsubscribe.bind(this))),this._context=be,this._next=De,this._error=q,this._complete=le}next(k){if(!this.isStopped&&this._next){const{_parentSubscriber:Y}=this;A.v.useDeprecatedSynchronousErrorHandling&&Y.syncErrorThrowable?this.__tryOrSetError(Y,this._next,k)&&this.unsubscribe():this.__tryOrUnsub(this._next,k)}}error(k){if(!this.isStopped){const{_parentSubscriber:Y}=this,{useDeprecatedSynchronousErrorHandling:q}=A.v;if(this._error)q&&Y.syncErrorThrowable?(this.__tryOrSetError(Y,this._error,k),this.unsubscribe()):(this.__tryOrUnsub(this._error,k),this.unsubscribe());else if(Y.syncErrorThrowable)q?(Y.syncErrorValue=k,Y.syncErrorThrown=!0):(0,I.z)(k),this.unsubscribe();else{if(this.unsubscribe(),q)throw k;(0,I.z)(k)}}}complete(){if(!this.isStopped){const{_parentSubscriber:k}=this;if(this._complete){const Y=()=>this._complete.call(this._context);A.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?(this.__tryOrSetError(k,Y),this.unsubscribe()):(this.__tryOrUnsub(Y),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(k,Y){try{k.call(this._context,Y)}catch(q){if(this.unsubscribe(),A.v.useDeprecatedSynchronousErrorHandling)throw q;(0,I.z)(q)}}__tryOrSetError(k,Y,q){if(!A.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{Y.call(this._context,q)}catch(le){return A.v.useDeprecatedSynchronousErrorHandling?(k.syncErrorValue=le,k.syncErrorThrown=!0,!0):((0,I.z)(le),!0)}return!1}_unsubscribe(){const{_parentSubscriber:k}=this;this._context=null,this._parentSubscriber=null,k.unsubscribe()}}},2654:(Z,N,y)=>{"use strict";y.d(N,{w:()=>I});var s=y(6688),h=y(7830),L=y(7043);const A=(()=>{function U(ee){return Error.call(this),this.message=ee?`${ee.length} errors occurred during unsubscription:\n${ee.map((k,Y)=>`${Y+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ee,this}return U.prototype=Object.create(Error.prototype),U})();class I{constructor(ee){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,ee&&(this._unsubscribe=ee)}unsubscribe(){let ee;if(this.closed)return;let{_parentOrParents:k,_unsubscribe:Y,_subscriptions:q}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,k instanceof I)k.remove(this);else if(null!==k)for(let le=0;le<k.length;++le)k[le].remove(this);if((0,L.m)(Y))try{Y.call(this)}catch(le){ee=le instanceof A?B(le.errors):[le]}if((0,s.k)(q)){let le=-1,De=q.length;for(;++le<De;){const be=q[le];if((0,h.K)(be))try{be.unsubscribe()}catch(Fe){ee=ee||[],Fe instanceof A?ee=ee.concat(B(Fe.errors)):ee.push(Fe)}}}if(ee)throw new A(ee)}add(ee){let k=ee;if(!ee)return I.EMPTY;switch(typeof ee){case"function":k=new I(ee);case"object":if(k===this||k.closed||"function"!=typeof k.unsubscribe)return k;if(this.closed)return k.unsubscribe(),k;if(!(k instanceof I)){const le=k;k=new I,k._subscriptions=[le]}break;default:throw new Error("unrecognized teardown "+ee+" added to Subscription.")}let{_parentOrParents:Y}=k;if(null===Y)k._parentOrParents=this;else if(Y instanceof I){if(Y===this)return k;k._parentOrParents=[Y,this]}else{if(-1!==Y.indexOf(this))return k;Y.push(this)}const q=this._subscriptions;return null===q?this._subscriptions=[k]:q.push(k),k}remove(ee){const k=this._subscriptions;if(k){const Y=k.indexOf(ee);-1!==Y&&k.splice(Y,1)}}}var U;function B(U){return U.reduce((ee,k)=>ee.concat(k instanceof A?k.errors:k),[])}I.EMPTY=((U=new I).closed=!0,U)},2830:(Z,N,y)=>{"use strict";y.d(N,{v:()=>h});let s=!1;const h={Promise:void 0,set useDeprecatedSynchronousErrorHandling(L){if(L){const V=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+V.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=L},get useDeprecatedSynchronousErrorHandling(){return s}}},1762:(Z,N,y)=>{"use strict";y.d(N,{N:()=>I,c:()=>A});var s=y(5529),h=y(2916),L=y(2654),V=y(4327);class A extends h.y{constructor(Y,q){super(),this.source=Y,this.subjectFactory=q,this._refCount=0,this._isComplete=!1}_subscribe(Y){return this.getSubject().subscribe(Y)}getSubject(){const Y=this._subject;return(!Y||Y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let Y=this._connection;return Y||(this._isComplete=!1,Y=this._connection=new L.w,Y.add(this.source.subscribe(new B(this.getSubject(),this))),Y.closed&&(this._connection=null,Y=L.w.EMPTY)),Y}refCount(){return(0,V.x)()(this)}}const I=(()=>{const k=A.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:k._subscribe},_isComplete:{value:k._isComplete,writable:!0},getSubject:{value:k.getSubject},connect:{value:k.connect},refCount:{value:k.refCount}}})();class B extends s.Yc{constructor(Y,q){super(Y),this.connectable=q}_error(Y){this._unsubscribe(),super._error(Y)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const Y=this.connectable;if(Y){this.connectable=null;const q=Y._connection;Y._refCount=0,Y._subject=null,Y._connection=null,q&&q.unsubscribe()}}}},5254:(Z,N,y)=>{"use strict";y.d(N,{D:()=>be});var s=y(2916),h=y(9249),L=y(2654),V=y(3821),B=y(6454),U=y(5430),Y=y(8955),q=y(8515);function be(Fe,Ve){return Ve?function De(Fe,Ve){if(null!=Fe){if(function k(Fe){return Fe&&"function"==typeof Fe[V.L]}(Fe))return function A(Fe,Ve){return new s.y(Vt=>{const Ze=new L.w;return Ze.add(Ve.schedule(()=>{const He=Fe[V.L]();Ze.add(He.subscribe({next(rt){Ze.add(Ve.schedule(()=>Vt.next(rt)))},error(rt){Ze.add(Ve.schedule(()=>Vt.error(rt)))},complete(){Ze.add(Ve.schedule(()=>Vt.complete()))}}))})),Ze})}(Fe,Ve);if((0,Y.t)(Fe))return function I(Fe,Ve){return new s.y(Vt=>{const Ze=new L.w;return Ze.add(Ve.schedule(()=>Fe.then(He=>{Ze.add(Ve.schedule(()=>{Vt.next(He),Ze.add(Ve.schedule(()=>Vt.complete()))}))},He=>{Ze.add(Ve.schedule(()=>Vt.error(He)))}))),Ze})}(Fe,Ve);if((0,q.z)(Fe))return(0,B.r)(Fe,Ve);if(function le(Fe){return Fe&&"function"==typeof Fe[U.hZ]}(Fe)||"string"==typeof Fe)return function ee(Fe,Ve){if(!Fe)throw new Error("Iterable cannot be null");return new s.y(Vt=>{const Ze=new L.w;let He;return Ze.add(()=>{He&&"function"==typeof He.return&&He.return()}),Ze.add(Ve.schedule(()=>{He=Fe[U.hZ](),Ze.add(Ve.schedule(function(){if(Vt.closed)return;let rt,Ce;try{const wt=He.next();rt=wt.value,Ce=wt.done}catch(wt){return void Vt.error(wt)}Ce?Vt.complete():(Vt.next(rt),this.schedule())}))})),Ze})}(Fe,Ve)}throw new TypeError((null!==Fe&&typeof Fe||Fe)+" is not observable")}(Fe,Ve):Fe instanceof s.y?Fe:new s.y((0,h.s)(Fe))}},3009:(Z,N,y)=>{"use strict";y.d(N,{n:()=>V});var s=y(2916),h=y(3650),L=y(6454);function V(A,I){return I?(0,L.r)(A,I):new s.y((0,h.V)(A))}},6787:(Z,N,y)=>{"use strict";y.d(N,{T:()=>A});var s=y(2916),h=y(2866),L=y(9146),V=y(3009);function A(...I){let B=Number.POSITIVE_INFINITY,U=null,ee=I[I.length-1];return(0,h.K)(ee)?(U=I.pop(),I.length>1&&"number"==typeof I[I.length-1]&&(B=I.pop())):"number"==typeof ee&&(B=I.pop()),null===U&&1===I.length&&I[0]instanceof s.y?I[0]:(0,L.J)(B)((0,V.n)(I,U))}},1086:(Z,N,y)=>{"use strict";y.d(N,{of:()=>V});var s=y(2866),h=y(3009),L=y(6454);function V(...A){let I=A[A.length-1];return(0,s.K)(I)?(A.pop(),(0,L.r)(A,I)):(0,h.n)(A)}},7739:(Z,N,y)=>{"use strict";y.d(N,{H:()=>I});var s=y(2916),h=y(353),L=y(6688);function V(U){return!(0,L.k)(U)&&U-parseFloat(U)+1>=0}var A=y(2866);function I(U=0,ee,k){let Y=-1;return V(ee)?Y=Number(ee)<1?1:Number(ee):(0,A.K)(ee)&&(k=ee),(0,A.K)(k)||(k=h.P),new s.y(q=>{const le=V(U)?U:+U-k.now();return k.schedule(B,le,{index:0,period:Y,subscriber:q})})}function B(U){const{index:ee,period:k,subscriber:Y}=U;if(Y.next(ee),!Y.closed){if(-1===k)return Y.complete();U.index=ee+1,this.schedule(U,k)}}},1406:(Z,N,y)=>{"use strict";y.d(N,{b:()=>h});var s=y(1709);function h(L,V){return(0,s.zg)(L,V,1)}},5229:(Z,N,y)=>{"use strict";y.d(N,{D:()=>L});var s=y(826),h=y(9054);function L(I){return B=>B.lift(new V(I))}class V{constructor(B){this.durationSelector=B}call(B,U){return U.subscribe(new A(B,this.durationSelector))}}class A extends s.L{constructor(B,U){super(B),this.durationSelector=U,this.hasValue=!1,this.durationSubscription=null}_next(B){try{const U=this.durationSelector.call(this,B);U&&this._tryNext(B,U)}catch(U){this.destination.error(U)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(B,U){let ee=this.durationSubscription;this.value=B,this.hasValue=!0,ee&&(ee.unsubscribe(),this.remove(ee)),ee=(0,h.D)(this,U),ee&&!ee.closed&&this.add(this.durationSubscription=ee)}notifyNext(B,U,ee,k,Y){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const B=this.value,U=this.durationSubscription;U&&(this.durationSubscription=null,U.unsubscribe(),this.remove(U)),this.value=null,this.hasValue=!1,super._next(B)}}}},2198:(Z,N,y)=>{"use strict";y.d(N,{h:()=>h});var s=y(3489);function h(A,I){return function(U){return U.lift(new L(A,I))}}class L{constructor(I,B){this.predicate=I,this.thisArg=B}call(I,B){return B.subscribe(new V(I,this.predicate,this.thisArg))}}class V extends s.L{constructor(I,B,U){super(I),this.predicate=B,this.thisArg=U,this.count=0}_next(I){let B;try{B=this.predicate.call(this.thisArg,I,this.count++)}catch(U){return void this.destination.error(U)}B&&this.destination.next(I)}}},537:(Z,N,y)=>{"use strict";y.d(N,{x:()=>L});var s=y(3489),h=y(2654);function L(I){return B=>B.lift(new V(I))}class V{constructor(B){this.callback=B}call(B,U){return U.subscribe(new A(B,this.callback))}}class A extends s.L{constructor(B,U){super(B),this.add(new h.w(U))}}},4850:(Z,N,y)=>{"use strict";y.d(N,{U:()=>h});var s=y(3489);function h(A,I){return function(U){if("function"!=typeof A)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return U.lift(new L(A,I))}}class L{constructor(I,B){this.project=I,this.thisArg=B}call(I,B){return B.subscribe(new V(I,this.project,this.thisArg))}}class V extends s.L{constructor(I,B,U){super(I),this.project=B,this.count=0,this.thisArg=U||this}_next(I){let B;try{B=this.project.call(this.thisArg,I,this.count++)}catch(U){return void this.destination.error(U)}this.destination.next(B)}}},9146:(Z,N,y)=>{"use strict";y.d(N,{J:()=>L});var s=y(1709),h=y(5379);function L(V=Number.POSITIVE_INFINITY){return(0,s.zg)(h.y,V)}},1709:(Z,N,y)=>{"use strict";y.d(N,{zg:()=>I});var s=y(9054),h=y(826),L=y(1869),V=y(4850),A=y(5254);function I(ee,k,Y=Number.POSITIVE_INFINITY){return"function"==typeof k?q=>q.pipe(I((le,De)=>(0,A.D)(ee(le,De)).pipe((0,V.U)((be,Fe)=>k(le,be,De,Fe))),Y)):("number"==typeof k&&(Y=k),q=>q.lift(new B(ee,Y)))}class B{constructor(k,Y=Number.POSITIVE_INFINITY){this.project=k,this.concurrent=Y}call(k,Y){return Y.subscribe(new U(k,this.project,this.concurrent))}}class U extends h.L{constructor(k,Y,q=Number.POSITIVE_INFINITY){super(k),this.project=Y,this.concurrent=q,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(k){this.active<this.concurrent?this._tryNext(k):this.buffer.push(k)}_tryNext(k){let Y;const q=this.index++;try{Y=this.project(k,q)}catch(le){return void this.destination.error(le)}this.active++,this._innerSub(Y,k,q)}_innerSub(k,Y,q){const le=new L.d(this,Y,q),De=this.destination;De.add(le);const be=(0,s.D)(this,k,void 0,void 0,le);be!==le&&De.add(be)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(k,Y,q,le,De){this.destination.next(Y)}notifyComplete(k){const Y=this.buffer;this.remove(k),this.active--,Y.length>0?this._next(Y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Z,N,y)=>{"use strict";y.d(N,{x:()=>h});var s=y(3489);function h(){return function(I){return I.lift(new L(I))}}class L{constructor(I){this.connectable=I}call(I,B){const{connectable:U}=this;U._refCount++;const ee=new V(I,U),k=B.subscribe(ee);return ee.closed||(ee.connection=U.connect()),k}}class V extends s.L{constructor(I,B){super(I),this.connectable=B}_unsubscribe(){const{connectable:I}=this;if(!I)return void(this.connection=null);this.connectable=null;const B=I._refCount;if(B<=0)return void(this.connection=null);if(I._refCount=B-1,B>1)return void(this.connection=null);const{connection:U}=this,ee=I._connection;this.connection=null,ee&&(!U||ee===U)&&ee.unsubscribe()}}},6454:(Z,N,y)=>{"use strict";y.d(N,{r:()=>L});var s=y(2916),h=y(2654);function L(V,A){return new s.y(I=>{const B=new h.w;let U=0;return B.add(A.schedule(function(){U!==V.length?(I.next(V[U++]),I.closed||B.add(this.schedule())):I.complete()})),B})}},6686:(Z,N,y)=>{"use strict";y.d(N,{o:()=>L});var s=y(2654);class h extends s.w{constructor(A,I){super()}schedule(A,I=0){return this}}class L extends h{constructor(A,I){super(A,I),this.scheduler=A,this.work=I,this.pending=!1}schedule(A,I=0){if(this.closed)return this;this.state=A;const B=this.id,U=this.scheduler;return null!=B&&(this.id=this.recycleAsyncId(U,B,I)),this.pending=!0,this.delay=I,this.id=this.id||this.requestAsyncId(U,this.id,I),this}requestAsyncId(A,I,B=0){return setInterval(A.flush.bind(A,this),B)}recycleAsyncId(A,I,B=0){if(null!==B&&this.delay===B&&!1===this.pending)return I;clearInterval(I)}execute(A,I){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const B=this._execute(A,I);if(B)return B;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(A,I){let U,B=!1;try{this.work(A)}catch(ee){B=!0,U=!!ee&&ee||new Error(ee)}if(B)return this.unsubscribe(),U}_unsubscribe(){const A=this.id,I=this.scheduler,B=I.actions,U=B.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==U&&B.splice(U,1),null!=A&&(this.id=this.recycleAsyncId(I,A,null)),this.delay=null}}},2268:(Z,N,y)=>{"use strict";y.d(N,{v:()=>h});let s=(()=>{class L{constructor(A,I=L.now){this.SchedulerAction=A,this.now=I}schedule(A,I=0,B){return new this.SchedulerAction(this,A).schedule(B,I)}}return L.now=()=>Date.now(),L})();class h extends s{constructor(V,A=s.now){super(V,()=>h.delegate&&h.delegate!==this?h.delegate.now():A()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(V,A=0,I){return h.delegate&&h.delegate!==this?h.delegate.schedule(V,A,I):super.schedule(V,A,I)}flush(V){const{actions:A}=this;if(this.active)return void A.push(V);let I;this.active=!0;do{if(I=V.execute(V.state,V.delay))break}while(V=A.shift());if(this.active=!1,I){for(;V=A.shift();)V.unsubscribe();throw I}}}},353:(Z,N,y)=>{"use strict";y.d(N,{P:()=>L});var s=y(6686);const L=new(y(2268).v)(s.o)},5430:(Z,N,y)=>{"use strict";y.d(N,{hZ:()=>h});const h=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Z,N,y)=>{"use strict";y.d(N,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Z,N,y)=>{"use strict";y.d(N,{b:()=>s});const s="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(Z,N,y)=>{"use strict";y.d(N,{N:()=>h});const h=(()=>{function L(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return L.prototype=Object.create(Error.prototype),L})()},2782:(Z,N,y)=>{"use strict";function s(h){setTimeout(()=>{throw h},0)}y.d(N,{z:()=>s})},5379:(Z,N,y)=>{"use strict";function s(h){return h}y.d(N,{y:()=>s})},6688:(Z,N,y)=>{"use strict";y.d(N,{k:()=>s});const s=Array.isArray||(h=>h&&"number"==typeof h.length)},8515:(Z,N,y)=>{"use strict";y.d(N,{z:()=>s});const s=h=>h&&"number"==typeof h.length&&"function"!=typeof h},7043:(Z,N,y)=>{"use strict";function s(h){return"function"==typeof h}y.d(N,{m:()=>s})},7830:(Z,N,y)=>{"use strict";function s(h){return null!==h&&"object"==typeof h}y.d(N,{K:()=>s})},8955:(Z,N,y)=>{"use strict";function s(h){return!!h&&"function"!=typeof h.subscribe&&"function"==typeof h.then}y.d(N,{t:()=>s})},2866:(Z,N,y)=>{"use strict";function s(h){return h&&"function"==typeof h.schedule}y.d(N,{K:()=>s})},9249:(Z,N,y)=>{"use strict";y.d(N,{s:()=>Y});var s=y(3650),h=y(2782),V=y(5430),I=y(3821),U=y(8515),ee=y(8955),k=y(7830);const Y=q=>{if(q&&"function"==typeof q[I.L])return(q=>le=>{const De=q[I.L]();if("function"!=typeof De.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return De.subscribe(le)})(q);if((0,U.z)(q))return(0,s.V)(q);if((0,ee.t)(q))return(q=>le=>(q.then(De=>{le.closed||(le.next(De),le.complete())},De=>le.error(De)).then(null,h.z),le))(q);if(q&&"function"==typeof q[V.hZ])return(q=>le=>{const De=q[V.hZ]();for(;;){const be=De.next();if(be.done){le.complete();break}if(le.next(be.value),le.closed)break}return"function"==typeof De.return&&le.add(()=>{De.return&&De.return()}),le})(q);{const De=`You provided ${(0,k.K)(q)?"an invalid object":`'${q}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(De)}}},3650:(Z,N,y)=>{"use strict";y.d(N,{V:()=>s});const s=h=>L=>{for(let V=0,A=h.length;V<A&&!L.closed;V++)L.next(h[V]);L.complete()}},9054:(Z,N,y)=>{"use strict";y.d(N,{D:()=>V});var s=y(1869),h=y(9249),L=y(2916);function V(A,I,B,U,ee=new s.d(A,B,U)){if(!ee.closed)return I instanceof L.y?I.subscribe(ee):(0,h.s)(I)(ee)}},8583:()=>{"use strict";!function(pe){const _e=pe.performance;function Ye(_t){_e&&_e.mark&&_e.mark(_t)}function ze(_t,dt){_e&&_e.measure&&_e.measure(_t,dt)}Ye("Zone");const je=pe.__Zone_symbol_prefix||"__zone_symbol__";function nt(_t){return je+_t}const mt=!0===pe[nt("forceDuplicateZoneCheck")];if(pe.Zone){if(mt||"function"!=typeof pe.Zone.__symbol__)throw new Error("Zone already loaded.");return pe.Zone}let $e=(()=>{class _t{constructor(de,xe){this._parent=de,this._name=xe?xe.name||"unnamed":"<root>",this._properties=xe&&xe.properties||{},this._zoneDelegate=new Yt(this,this._parent&&this._parent._zoneDelegate,xe)}static assertZonePatched(){if(pe.Promise!==Te.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=_t.current;for(;de.parent;)de=de.parent;return de}static get current(){return ie.zone}static get currentTask(){return Oe}static __load_patch(de,xe,Ot=!1){if(Te.hasOwnProperty(de)){if(!Ot&&mt)throw Error("Already loaded patch: "+de)}else if(!pe["__Zone_disable_"+de]){const Ht="Zone:"+de;Ye(Ht),Te[de]=xe(pe,_t,re),ze(Ht,Ht)}}get parent(){return this._parent}get name(){return this._name}get(de){const xe=this.getZoneWith(de);if(xe)return xe._properties[de]}getZoneWith(de){let xe=this;for(;xe;){if(xe._properties.hasOwnProperty(de))return xe;xe=xe._parent}return null}fork(de){if(!de)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,de)}wrap(de,xe){if("function"!=typeof de)throw new Error("Expecting function got: "+de);const Ot=this._zoneDelegate.intercept(this,de,xe),Ht=this;return function(){return Ht.runGuarded(Ot,this,arguments,xe)}}run(de,xe,Ot,Ht){ie={parent:ie,zone:this};try{return this._zoneDelegate.invoke(this,de,xe,Ot,Ht)}finally{ie=ie.parent}}runGuarded(de,xe=null,Ot,Ht){ie={parent:ie,zone:this};try{try{return this._zoneDelegate.invoke(this,de,xe,Ot,Ht)}catch(bn){if(this._zoneDelegate.handleError(this,bn))throw bn}}finally{ie=ie.parent}}runTask(de,xe,Ot){if(de.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(de.zone||Wt).name+"; Execution: "+this.name+")");if(de.state===Cn&&(de.type===hn||de.type===ft))return;const Ht=de.state!=te;Ht&&de._transitionTo(te,Pe),de.runCount++;const bn=Oe;Oe=de,ie={parent:ie,zone:this};try{de.type==ft&&de.data&&!de.data.isPeriodic&&(de.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,de,xe,Ot)}catch(Re){if(this._zoneDelegate.handleError(this,Re))throw Re}}finally{de.state!==Cn&&de.state!==Ee&&(de.type==hn||de.data&&de.data.isPeriodic?Ht&&de._transitionTo(Pe,te):(de.runCount=0,this._updateTaskCount(de,-1),Ht&&de._transitionTo(Cn,te,Cn))),ie=ie.parent,Oe=bn}}scheduleTask(de){if(de.zone&&de.zone!==this){let Ot=this;for(;Ot;){if(Ot===de.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${de.zone.name}`);Ot=Ot.parent}}de._transitionTo(Kn,Cn);const xe=[];de._zoneDelegates=xe,de._zone=this;try{de=this._zoneDelegate.scheduleTask(this,de)}catch(Ot){throw de._transitionTo(Ee,Kn,Cn),this._zoneDelegate.handleError(this,Ot),Ot}return de._zoneDelegates===xe&&this._updateTaskCount(de,1),de.state==Kn&&de._transitionTo(Pe,Kn),de}scheduleMicroTask(de,xe,Ot,Ht){return this.scheduleTask(new Nt(ke,de,xe,Ot,Ht,void 0))}scheduleMacroTask(de,xe,Ot,Ht,bn){return this.scheduleTask(new Nt(ft,de,xe,Ot,Ht,bn))}scheduleEventTask(de,xe,Ot,Ht,bn){return this.scheduleTask(new Nt(hn,de,xe,Ot,Ht,bn))}cancelTask(de){if(de.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(de.zone||Wt).name+"; Execution: "+this.name+")");de._transitionTo(se,Pe,te);try{this._zoneDelegate.cancelTask(this,de)}catch(xe){throw de._transitionTo(Ee,se),this._zoneDelegate.handleError(this,xe),xe}return this._updateTaskCount(de,-1),de._transitionTo(Cn,se),de.runCount=0,de}_updateTaskCount(de,xe){const Ot=de._zoneDelegates;-1==xe&&(de._zoneDelegates=null);for(let Ht=0;Ht<Ot.length;Ht++)Ot[Ht]._updateTaskCount(de.type,xe)}}return _t.__symbol__=nt,_t})();const at={name:"",onHasTask:(_t,dt,de,xe)=>_t.hasTask(de,xe),onScheduleTask:(_t,dt,de,xe)=>_t.scheduleTask(de,xe),onInvokeTask:(_t,dt,de,xe,Ot,Ht)=>_t.invokeTask(de,xe,Ot,Ht),onCancelTask:(_t,dt,de,xe)=>_t.cancelTask(de,xe)};class Yt{constructor(dt,de,xe){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=dt,this._parentDelegate=de,this._forkZS=xe&&(xe&&xe.onFork?xe:de._forkZS),this._forkDlgt=xe&&(xe.onFork?de:de._forkDlgt),this._forkCurrZone=xe&&(xe.onFork?this.zone:de._forkCurrZone),this._interceptZS=xe&&(xe.onIntercept?xe:de._interceptZS),this._interceptDlgt=xe&&(xe.onIntercept?de:de._interceptDlgt),this._interceptCurrZone=xe&&(xe.onIntercept?this.zone:de._interceptCurrZone),this._invokeZS=xe&&(xe.onInvoke?xe:de._invokeZS),this._invokeDlgt=xe&&(xe.onInvoke?de:de._invokeDlgt),this._invokeCurrZone=xe&&(xe.onInvoke?this.zone:de._invokeCurrZone),this._handleErrorZS=xe&&(xe.onHandleError?xe:de._handleErrorZS),this._handleErrorDlgt=xe&&(xe.onHandleError?de:de._handleErrorDlgt),this._handleErrorCurrZone=xe&&(xe.onHandleError?this.zone:de._handleErrorCurrZone),this._scheduleTaskZS=xe&&(xe.onScheduleTask?xe:de._scheduleTaskZS),this._scheduleTaskDlgt=xe&&(xe.onScheduleTask?de:de._scheduleTaskDlgt),this._scheduleTaskCurrZone=xe&&(xe.onScheduleTask?this.zone:de._scheduleTaskCurrZone),this._invokeTaskZS=xe&&(xe.onInvokeTask?xe:de._invokeTaskZS),this._invokeTaskDlgt=xe&&(xe.onInvokeTask?de:de._invokeTaskDlgt),this._invokeTaskCurrZone=xe&&(xe.onInvokeTask?this.zone:de._invokeTaskCurrZone),this._cancelTaskZS=xe&&(xe.onCancelTask?xe:de._cancelTaskZS),this._cancelTaskDlgt=xe&&(xe.onCancelTask?de:de._cancelTaskDlgt),this._cancelTaskCurrZone=xe&&(xe.onCancelTask?this.zone:de._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ot=xe&&xe.onHasTask;(Ot||de&&de._hasTaskZS)&&(this._hasTaskZS=Ot?xe:at,this._hasTaskDlgt=de,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=dt,xe.onScheduleTask||(this._scheduleTaskZS=at,this._scheduleTaskDlgt=de,this._scheduleTaskCurrZone=this.zone),xe.onInvokeTask||(this._invokeTaskZS=at,this._invokeTaskDlgt=de,this._invokeTaskCurrZone=this.zone),xe.onCancelTask||(this._cancelTaskZS=at,this._cancelTaskDlgt=de,this._cancelTaskCurrZone=this.zone))}fork(dt,de){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,dt,de):new $e(dt,de)}intercept(dt,de,xe){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,dt,de,xe):de}invoke(dt,de,xe,Ot,Ht){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,dt,de,xe,Ot,Ht):de.apply(xe,Ot)}handleError(dt,de){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,dt,de)}scheduleTask(dt,de){let xe=de;if(this._scheduleTaskZS)this._hasTaskZS&&xe._zoneDelegates.push(this._hasTaskDlgtOwner),xe=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,dt,de),xe||(xe=de);else if(de.scheduleFn)de.scheduleFn(de);else{if(de.type!=ke)throw new Error("Task is missing scheduleFn.");pn(de)}return xe}invokeTask(dt,de,xe,Ot){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,dt,de,xe,Ot):de.callback.apply(xe,Ot)}cancelTask(dt,de){let xe;if(this._cancelTaskZS)xe=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,dt,de);else{if(!de.cancelFn)throw Error("Task is not cancelable");xe=de.cancelFn(de)}return xe}hasTask(dt,de){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,dt,de)}catch(xe){this.handleError(dt,xe)}}_updateTaskCount(dt,de){const xe=this._taskCounts,Ot=xe[dt],Ht=xe[dt]=Ot+de;if(Ht<0)throw new Error("More tasks executed then were scheduled.");0!=Ot&&0!=Ht||this.hasTask(this.zone,{microTask:xe.microTask>0,macroTask:xe.macroTask>0,eventTask:xe.eventTask>0,change:dt})}}class Nt{constructor(dt,de,xe,Ot,Ht,bn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=dt,this.source=de,this.data=Ot,this.scheduleFn=Ht,this.cancelFn=bn,!xe)throw new Error("callback is not defined");this.callback=xe;const Re=this;this.invoke=dt===hn&&Ot&&Ot.useG?Nt.invokeTask:function(){return Nt.invokeTask.call(pe,Re,this,arguments)}}static invokeTask(dt,de,xe){dt||(dt=this),Qe++;try{return dt.runCount++,dt.zone.runTask(dt,de,xe)}finally{1==Qe&&At(),Qe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Cn,Kn)}_transitionTo(dt,de,xe){if(this._state!==de&&this._state!==xe)throw new Error(`${this.type} '${this.source}': can not transition to '${dt}', expecting state '${de}'${xe?" or '"+xe+"'":""}, was '${this._state}'.`);this._state=dt,dt==Cn&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const Ft=nt("setTimeout"),Mt=nt("Promise"),Qt=nt("then");let rn,vn=[],$t=!1;function tn(_t){if(rn||pe[Mt]&&(rn=pe[Mt].resolve(0)),rn){let dt=rn[Qt];dt||(dt=rn.then),dt.call(rn,_t)}else pe[Ft](_t,0)}function pn(_t){0===Qe&&0===vn.length&&tn(At),_t&&vn.push(_t)}function At(){if(!$t){for($t=!0;vn.length;){const _t=vn;vn=[];for(let dt=0;dt<_t.length;dt++){const de=_t[dt];try{de.zone.runTask(de,null,null)}catch(xe){re.onUnhandledError(xe)}}}re.microtaskDrainDone(),$t=!1}}const Wt={name:"NO ZONE"},Cn="notScheduled",Kn="scheduling",Pe="scheduled",te="running",se="canceling",Ee="unknown",ke="microTask",ft="macroTask",hn="eventTask",Te={},re={symbol:nt,currentZoneFrame:()=>ie,onUnhandledError:Ct,microtaskDrainDone:Ct,scheduleMicroTask:pn,showUncaughtError:()=>!$e[nt("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ct,patchMethod:()=>Ct,bindArguments:()=>[],patchThen:()=>Ct,patchMacroTask:()=>Ct,patchEventPrototype:()=>Ct,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ct,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ct,wrapWithCurrentZone:()=>Ct,filterProperties:()=>[],attachOriginToPatched:()=>Ct,_redefineProperty:()=>Ct,patchCallbacks:()=>Ct,nativeScheduleMicroTask:tn};let ie={parent:null,zone:new $e(null,null)},Oe=null,Qe=0;function Ct(){}ze("Zone","Zone"),pe.Zone=$e}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Z=Object.getOwnPropertyDescriptor,N=Object.defineProperty,y=Object.getPrototypeOf,s=Object.create,h=Array.prototype.slice,L="addEventListener",V="removeEventListener",A=Zone.__symbol__(L),I=Zone.__symbol__(V),B="true",U="false",ee=Zone.__symbol__("");function k(pe,_e){return Zone.current.wrap(pe,_e)}function Y(pe,_e,Ye,ze,je){return Zone.current.scheduleMacroTask(pe,_e,Ye,ze,je)}const q=Zone.__symbol__,le=typeof window<"u",De=le?window:void 0,be=le&&De||"object"==typeof self&&self||global;function Ve(pe,_e){for(let Ye=pe.length-1;Ye>=0;Ye--)"function"==typeof pe[Ye]&&(pe[Ye]=k(pe[Ye],_e+"_"+Ye));return pe}function Ze(pe){return!pe||!1!==pe.writable&&!("function"==typeof pe.get&&typeof pe.set>"u")}const He=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,rt=!("nw"in be)&&typeof be.process<"u"&&"[object process]"==={}.toString.call(be.process),Ce=!rt&&!He&&!(!le||!De.HTMLElement),wt=typeof be.process<"u"&&"[object process]"==={}.toString.call(be.process)&&!He&&!(!le||!De.HTMLElement),Et={},un=function(pe){if(!(pe=pe||be.event))return;let _e=Et[pe.type];_e||(_e=Et[pe.type]=q("ON_PROPERTY"+pe.type));const Ye=this||pe.target||be,ze=Ye[_e];let je;if(Ce&&Ye===De&&"error"===pe.type){const nt=pe;je=ze&&ze.call(this,nt.message,nt.filename,nt.lineno,nt.colno,nt.error),!0===je&&pe.preventDefault()}else je=ze&&ze.apply(this,arguments),null!=je&&!je&&pe.preventDefault();return je};function Kt(pe,_e,Ye){let ze=Z(pe,_e);if(!ze&&Ye&&Z(Ye,_e)&&(ze={enumerable:!0,configurable:!0}),!ze||!ze.configurable)return;const je=q("on"+_e+"patched");if(pe.hasOwnProperty(je)&&pe[je])return;delete ze.writable,delete ze.value;const nt=ze.get,mt=ze.set,$e=_e.slice(2);let at=Et[$e];at||(at=Et[$e]=q("ON_PROPERTY"+$e)),ze.set=function(Yt){let Nt=this;!Nt&&pe===be&&(Nt=be),Nt&&("function"==typeof Nt[at]&&Nt.removeEventListener($e,un),mt&&mt.call(Nt,null),Nt[at]=Yt,"function"==typeof Yt&&Nt.addEventListener($e,un,!1))},ze.get=function(){let Yt=this;if(!Yt&&pe===be&&(Yt=be),!Yt)return null;const Nt=Yt[at];if(Nt)return Nt;if(nt){let Ft=nt.call(this);if(Ft)return ze.set.call(this,Ft),"function"==typeof Yt.removeAttribute&&Yt.removeAttribute(_e),Ft}return null},N(pe,_e,ze),pe[je]=!0}function qt(pe,_e,Ye){if(_e)for(let ze=0;ze<_e.length;ze++)Kt(pe,"on"+_e[ze],Ye);else{const ze=[];for(const je in pe)"on"==je.slice(0,2)&&ze.push(je);for(let je=0;je<ze.length;je++)Kt(pe,ze[je],Ye)}}const ge=q("originalInstance");function lt(pe){const _e=be[pe];if(!_e)return;be[q(pe)]=_e,be[pe]=function(){const je=Ve(arguments,pe);switch(je.length){case 0:this[ge]=new _e;break;case 1:this[ge]=new _e(je[0]);break;case 2:this[ge]=new _e(je[0],je[1]);break;case 3:this[ge]=new _e(je[0],je[1],je[2]);break;case 4:this[ge]=new _e(je[0],je[1],je[2],je[3]);break;default:throw new Error("Arg list too long.")}},Ke(be[pe],_e);const Ye=new _e(function(){});let ze;for(ze in Ye)"XMLHttpRequest"===pe&&"responseBlob"===ze||function(je){"function"==typeof Ye[je]?be[pe].prototype[je]=function(){return this[ge][je].apply(this[ge],arguments)}:N(be[pe].prototype,je,{set:function(nt){"function"==typeof nt?(this[ge][je]=k(nt,pe+"."+je),Ke(this[ge][je],nt)):this[ge][je]=nt},get:function(){return this[ge][je]}})}(ze);for(ze in _e)"prototype"!==ze&&_e.hasOwnProperty(ze)&&(be[pe][ze]=_e[ze])}function Dt(pe,_e,Ye){let ze=pe;for(;ze&&!ze.hasOwnProperty(_e);)ze=y(ze);!ze&&pe[_e]&&(ze=pe);const je=q(_e);let nt=null;if(ze&&(!(nt=ze[je])||!ze.hasOwnProperty(je))&&(nt=ze[je]=ze[_e],Ze(ze&&Z(ze,_e)))){const $e=Ye(nt,je,_e);ze[_e]=function(){return $e(this,arguments)},Ke(ze[_e],nt)}return nt}function qe(pe,_e,Ye){let ze=null;function je(nt){const mt=nt.data;return mt.args[mt.cbIdx]=function(){nt.invoke.apply(this,arguments)},ze.apply(mt.target,mt.args),nt}ze=Dt(pe,_e,nt=>function(mt,$e){const at=Ye(mt,$e);return at.cbIdx>=0&&"function"==typeof $e[at.cbIdx]?Y(at.name,$e[at.cbIdx],at,je):nt.apply(mt,$e)})}function Ke(pe,_e){pe[q("OriginalDelegate")]=_e}let En=!1,en=!1;function gr(){if(En)return en;En=!0;try{const pe=De.navigator.userAgent;(-1!==pe.indexOf("MSIE ")||-1!==pe.indexOf("Trident/")||-1!==pe.indexOf("Edge/"))&&(en=!0)}catch{}return en}Zone.__load_patch("ZoneAwarePromise",(pe,_e,Ye)=>{const ze=Object.getOwnPropertyDescriptor,je=Object.defineProperty,mt=Ye.symbol,$e=[],at=!0===pe[mt("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Yt=mt("Promise"),Nt=mt("then");Ye.onUnhandledError=Re=>{if(Ye.showUncaughtError()){const Be=Re&&Re.rejection;Be?console.error("Unhandled Promise rejection:",Be instanceof Error?Be.message:Be,"; Zone:",Re.zone.name,"; Task:",Re.task&&Re.task.source,"; Value:",Be,Be instanceof Error?Be.stack:void 0):console.error(Re)}},Ye.microtaskDrainDone=()=>{for(;$e.length;){const Re=$e.shift();try{Re.zone.runGuarded(()=>{throw Re.throwOriginal?Re.rejection:Re})}catch(Be){Qt(Be)}}};const Mt=mt("unhandledPromiseRejectionHandler");function Qt(Re){Ye.onUnhandledError(Re);try{const Be=_e[Mt];"function"==typeof Be&&Be.call(this,Re)}catch{}}function vn(Re){return Re&&Re.then}function $t(Re){return Re}function rn(Re){return de.reject(Re)}const tn=mt("state"),pn=mt("value"),At=mt("finally"),Wt=mt("parentPromiseValue"),Cn=mt("parentPromiseState"),Pe=null,se=!1;function ke(Re,Be){return Ae=>{try{re(Re,Be,Ae)}catch(bt){re(Re,!1,bt)}}}const ft=function(){let Re=!1;return function(Ae){return function(){Re||(Re=!0,Ae.apply(null,arguments))}}},Te=mt("currentTaskTrace");function re(Re,Be,Ae){const bt=ft();if(Re===Ae)throw new TypeError("Promise resolved with itself");if(Re[tn]===Pe){let St=null;try{("object"==typeof Ae||"function"==typeof Ae)&&(St=Ae&&Ae.then)}catch(Pt){return bt(()=>{re(Re,!1,Pt)})(),Re}if(Be!==se&&Ae instanceof de&&Ae.hasOwnProperty(tn)&&Ae.hasOwnProperty(pn)&&Ae[tn]!==Pe)Oe(Ae),re(Re,Ae[tn],Ae[pn]);else if(Be!==se&&"function"==typeof St)try{St.call(Ae,bt(ke(Re,Be)),bt(ke(Re,!1)))}catch(Pt){bt(()=>{re(Re,!1,Pt)})()}else{Re[tn]=Be;const Pt=Re[pn];if(Re[pn]=Ae,Re[At]===At&&!0===Be&&(Re[tn]=Re[Cn],Re[pn]=Re[Wt]),Be===se&&Ae instanceof Error){const Rt=_e.currentTask&&_e.currentTask.data&&_e.currentTask.data.__creationTrace__;Rt&&je(Ae,Te,{configurable:!0,enumerable:!1,writable:!0,value:Rt})}for(let Rt=0;Rt<Pt.length;)Qe(Re,Pt[Rt++],Pt[Rt++],Pt[Rt++],Pt[Rt++]);if(0==Pt.length&&Be==se){Re[tn]=0;let Rt=Ae;try{throw new Error("Uncaught (in promise): "+function nt(Re){return Re&&Re.toString===Object.prototype.toString?(Re.constructor&&Re.constructor.name||"")+": "+JSON.stringify(Re):Re?Re.toString():Object.prototype.toString.call(Re)}(Ae)+(Ae&&Ae.stack?"\n"+Ae.stack:""))}catch(kt){Rt=kt}at&&(Rt.throwOriginal=!0),Rt.rejection=Ae,Rt.promise=Re,Rt.zone=_e.current,Rt.task=_e.currentTask,$e.push(Rt),Ye.scheduleMicroTask()}}}return Re}const ie=mt("rejectionHandledHandler");function Oe(Re){if(0===Re[tn]){try{const Be=_e[ie];Be&&"function"==typeof Be&&Be.call(this,{rejection:Re[pn],promise:Re})}catch{}Re[tn]=se;for(let Be=0;Be<$e.length;Be++)Re===$e[Be].promise&&$e.splice(Be,1)}}function Qe(Re,Be,Ae,bt,St){Oe(Re);const Pt=Re[tn],Rt=Pt?"function"==typeof bt?bt:$t:"function"==typeof St?St:rn;Be.scheduleMicroTask("Promise.then",()=>{try{const kt=Re[pn],nn=!!Ae&&At===Ae[At];nn&&(Ae[Wt]=kt,Ae[Cn]=Pt);const cn=Be.run(Rt,void 0,nn&&Rt!==rn&&Rt!==$t?[]:[kt]);re(Ae,!0,cn)}catch(kt){re(Ae,!1,kt)}},Ae)}const _t=function(){},dt=pe.AggregateError;class de{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Be){return re(new this(null),!0,Be)}static reject(Be){return re(new this(null),se,Be)}static any(Be){if(!Be||"function"!=typeof Be[Symbol.iterator])return Promise.reject(new dt([],"All promises were rejected"));const Ae=[];let bt=0;try{for(let Rt of Be)bt++,Ae.push(de.resolve(Rt))}catch{return Promise.reject(new dt([],"All promises were rejected"))}if(0===bt)return Promise.reject(new dt([],"All promises were rejected"));let St=!1;const Pt=[];return new de((Rt,kt)=>{for(let nn=0;nn<Ae.length;nn++)Ae[nn].then(cn=>{St||(St=!0,Rt(cn))},cn=>{Pt.push(cn),bt--,0===bt&&(St=!0,kt(new dt(Pt,"All promises were rejected")))})})}static race(Be){let Ae,bt,St=new this((kt,nn)=>{Ae=kt,bt=nn});function Pt(kt){Ae(kt)}function Rt(kt){bt(kt)}for(let kt of Be)vn(kt)||(kt=this.resolve(kt)),kt.then(Pt,Rt);return St}static all(Be){return de.allWithCallback(Be)}static allSettled(Be){return(this&&this.prototype instanceof de?this:de).allWithCallback(Be,{thenCallback:bt=>({status:"fulfilled",value:bt}),errorCallback:bt=>({status:"rejected",reason:bt})})}static allWithCallback(Be,Ae){let bt,St,Pt=new this((cn,It)=>{bt=cn,St=It}),Rt=2,kt=0;const nn=[];for(let cn of Be){vn(cn)||(cn=this.resolve(cn));const It=kt;try{cn.then(Mn=>{nn[It]=Ae?Ae.thenCallback(Mn):Mn,Rt--,0===Rt&&bt(nn)},Mn=>{Ae?(nn[It]=Ae.errorCallback(Mn),Rt--,0===Rt&&bt(nn)):St(Mn)})}catch(Mn){St(Mn)}Rt++,kt++}return Rt-=2,0===Rt&&bt(nn),Pt}constructor(Be){const Ae=this;if(!(Ae instanceof de))throw new Error("Must be an instanceof Promise.");Ae[tn]=Pe,Ae[pn]=[];try{const bt=ft();Be&&Be(bt(ke(Ae,!0)),bt(ke(Ae,se)))}catch(bt){re(Ae,!1,bt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return de}then(Be,Ae){var bt;let St=null===(bt=this.constructor)||void 0===bt?void 0:bt[Symbol.species];(!St||"function"!=typeof St)&&(St=this.constructor||de);const Pt=new St(_t),Rt=_e.current;return this[tn]==Pe?this[pn].push(Rt,Pt,Be,Ae):Qe(this,Rt,Pt,Be,Ae),Pt}catch(Be){return this.then(null,Be)}finally(Be){var Ae;let bt=null===(Ae=this.constructor)||void 0===Ae?void 0:Ae[Symbol.species];(!bt||"function"!=typeof bt)&&(bt=de);const St=new bt(_t);St[At]=At;const Pt=_e.current;return this[tn]==Pe?this[pn].push(Pt,St,Be,Be):Qe(this,Pt,St,Be,Be),St}}de.resolve=de.resolve,de.reject=de.reject,de.race=de.race,de.all=de.all;const xe=pe[Yt]=pe.Promise;pe.Promise=de;const Ot=mt("thenPatched");function Ht(Re){const Be=Re.prototype,Ae=ze(Be,"then");if(Ae&&(!1===Ae.writable||!Ae.configurable))return;const bt=Be.then;Be[Nt]=bt,Re.prototype.then=function(St,Pt){return new de((kt,nn)=>{bt.call(this,kt,nn)}).then(St,Pt)},Re[Ot]=!0}return Ye.patchThen=Ht,xe&&(Ht(xe),Dt(pe,"fetch",Re=>function bn(Re){return function(Be,Ae){let bt=Re.apply(Be,Ae);if(bt instanceof de)return bt;let St=bt.constructor;return St[Ot]||Ht(St),bt}}(Re))),Promise[_e.__symbol__("uncaughtPromiseErrors")]=$e,de}),Zone.__load_patch("toString",pe=>{const _e=Function.prototype.toString,Ye=q("OriginalDelegate"),ze=q("Promise"),je=q("Error"),nt=function(){if("function"==typeof this){const Yt=this[Ye];if(Yt)return"function"==typeof Yt?_e.call(Yt):Object.prototype.toString.call(Yt);if(this===Promise){const Nt=pe[ze];if(Nt)return _e.call(Nt)}if(this===Error){const Nt=pe[je];if(Nt)return _e.call(Nt)}}return _e.call(this)};nt[Ye]=_e,Function.prototype.toString=nt;const mt=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":mt.call(this)}});let Ln=!1;if(typeof window<"u")try{const pe=Object.defineProperty({},"passive",{get:function(){Ln=!0}});window.addEventListener("test",pe,pe),window.removeEventListener("test",pe,pe)}catch{Ln=!1}const mr={useG:!0},Yn={},kr={},Dn=new RegExp("^"+ee+"(\\w+)(true|false)$"),an=q("propagationStopped");function Sr(pe,_e){const Ye=(_e?_e(pe):pe)+U,ze=(_e?_e(pe):pe)+B,je=ee+Ye,nt=ee+ze;Yn[pe]={},Yn[pe][U]=je,Yn[pe][B]=nt}function Qn(pe,_e,Ye,ze){const je=ze&&ze.add||L,nt=ze&&ze.rm||V,mt=ze&&ze.listeners||"eventListeners",$e=ze&&ze.rmAll||"removeAllListeners",at=q(je),Yt="."+je+":",Mt=function(pn,At,Wt){if(pn.isRemoved)return;const Cn=pn.callback;let Kn;"object"==typeof Cn&&Cn.handleEvent&&(pn.callback=te=>Cn.handleEvent(te),pn.originalDelegate=Cn);try{pn.invoke(pn,At,[Wt])}catch(te){Kn=te}const Pe=pn.options;return Pe&&"object"==typeof Pe&&Pe.once&&At[nt].call(At,Wt.type,pn.originalDelegate?pn.originalDelegate:pn.callback,Pe),Kn};function Qt(pn,At,Wt){if(!(At=At||pe.event))return;const Cn=pn||At.target||pe,Kn=Cn[Yn[At.type][Wt?B:U]];if(Kn){const Pe=[];if(1===Kn.length){const te=Mt(Kn[0],Cn,At);te&&Pe.push(te)}else{const te=Kn.slice();for(let se=0;se<te.length&&(!At||!0!==At[an]);se++){const Ee=Mt(te[se],Cn,At);Ee&&Pe.push(Ee)}}if(1===Pe.length)throw Pe[0];for(let te=0;te<Pe.length;te++){const se=Pe[te];_e.nativeScheduleMicroTask(()=>{throw se})}}}const vn=function(pn){return Qt(this,pn,!1)},$t=function(pn){return Qt(this,pn,!0)};function rn(pn,At){if(!pn)return!1;let Wt=!0;At&&void 0!==At.useG&&(Wt=At.useG);const Cn=At&&At.vh;let Kn=!0;At&&void 0!==At.chkDup&&(Kn=At.chkDup);let Pe=!1;At&&void 0!==At.rt&&(Pe=At.rt);let te=pn;for(;te&&!te.hasOwnProperty(je);)te=y(te);if(!te&&pn[je]&&(te=pn),!te||te[at])return!1;const se=At&&At.eventNameToString,Ee={},ke=te[at]=te[je],ft=te[q(nt)]=te[nt],hn=te[q(mt)]=te[mt],Te=te[q($e)]=te[$e];let re;function ie(Ae,bt){return!Ln&&"object"==typeof Ae&&Ae?!!Ae.capture:Ln&&bt?"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}At&&At.prepend&&(re=te[q(At.prepend)]=te[At.prepend]);const de=Wt?function(Ae){if(!Ee.isExisting)return ke.call(Ee.target,Ee.eventName,Ee.capture?$t:vn,Ee.options)}:function(Ae){return ke.call(Ee.target,Ee.eventName,Ae.invoke,Ee.options)},xe=Wt?function(Ae){if(!Ae.isRemoved){const bt=Yn[Ae.eventName];let St;bt&&(St=bt[Ae.capture?B:U]);const Pt=St&&Ae.target[St];if(Pt)for(let Rt=0;Rt<Pt.length;Rt++)if(Pt[Rt]===Ae){Pt.splice(Rt,1),Ae.isRemoved=!0,0===Pt.length&&(Ae.allRemoved=!0,Ae.target[St]=null);break}}if(Ae.allRemoved)return ft.call(Ae.target,Ae.eventName,Ae.capture?$t:vn,Ae.options)}:function(Ae){return ft.call(Ae.target,Ae.eventName,Ae.invoke,Ae.options)},Ht=At&&At.diff?At.diff:function(Ae,bt){const St=typeof bt;return"function"===St&&Ae.callback===bt||"object"===St&&Ae.originalDelegate===bt},bn=Zone[q("UNPATCHED_EVENTS")],Re=pe[q("PASSIVE_EVENTS")],Be=function(Ae,bt,St,Pt,Rt=!1,kt=!1){return function(){const nn=this||pe;let cn=arguments[0];At&&At.transferEventName&&(cn=At.transferEventName(cn));let It=arguments[1];if(!It)return Ae.apply(this,arguments);if(rt&&"uncaughtException"===cn)return Ae.apply(this,arguments);let Mn=!1;if("function"!=typeof It){if(!It.handleEvent)return Ae.apply(this,arguments);Mn=!0}if(Cn&&!Cn(Ae,It,nn,arguments))return;const Ir=Ln&&!!Re&&-1!==Re.indexOf(cn),cr=ie(arguments[2],Ir);if(bn)for(let ot=0;ot<bn.length;ot++)if(cn===bn[ot])return Ir?Ae.call(nn,cn,It,cr):Ae.apply(this,arguments);const gn=!!cr&&("boolean"==typeof cr||cr.capture),yr=!(!cr||"object"!=typeof cr)&&cr.once,gi=Zone.current;let Gn=Yn[cn];Gn||(Sr(cn,se),Gn=Yn[cn]);const Vr=Gn[gn?B:U];let z,R=nn[Vr],K=!1;if(R){if(K=!0,Kn)for(let ot=0;ot<R.length;ot++)if(Ht(R[ot],It))return}else R=nn[Vr]=[];const ue=nn.constructor.name,Ue=kr[ue];Ue&&(z=Ue[cn]),z||(z=ue+bt+(se?se(cn):cn)),Ee.options=cr,yr&&(Ee.options.once=!1),Ee.target=nn,Ee.capture=gn,Ee.eventName=cn,Ee.isExisting=K;const Le=Wt?mr:void 0;Le&&(Le.taskData=Ee);const tt=gi.scheduleEventTask(z,It,Le,St,Pt);return Ee.target=null,Le&&(Le.taskData=null),yr&&(cr.once=!0),!Ln&&"boolean"==typeof tt.options||(tt.options=cr),tt.target=nn,tt.capture=gn,tt.eventName=cn,Mn&&(tt.originalDelegate=It),kt?R.unshift(tt):R.push(tt),Rt?nn:void 0}};return te[je]=Be(ke,Yt,de,xe,Pe),re&&(te.prependListener=Be(re,".prependListener:",function(Ae){return re.call(Ee.target,Ee.eventName,Ae.invoke,Ee.options)},xe,Pe,!0)),te[nt]=function(){const Ae=this||pe;let bt=arguments[0];At&&At.transferEventName&&(bt=At.transferEventName(bt));const St=arguments[2],Pt=!!St&&("boolean"==typeof St||St.capture),Rt=arguments[1];if(!Rt)return ft.apply(this,arguments);if(Cn&&!Cn(ft,Rt,Ae,arguments))return;const kt=Yn[bt];let nn;kt&&(nn=kt[Pt?B:U]);const cn=nn&&Ae[nn];if(cn)for(let It=0;It<cn.length;It++){const Mn=cn[It];if(Ht(Mn,Rt))return cn.splice(It,1),Mn.isRemoved=!0,0===cn.length&&(Mn.allRemoved=!0,Ae[nn]=null,"string"==typeof bt)&&(Ae[ee+"ON_PROPERTY"+bt]=null),Mn.zone.cancelTask(Mn),Pe?Ae:void 0}return ft.apply(this,arguments)},te[mt]=function(){const Ae=this||pe;let bt=arguments[0];At&&At.transferEventName&&(bt=At.transferEventName(bt));const St=[],Pt=Xn(Ae,se?se(bt):bt);for(let Rt=0;Rt<Pt.length;Rt++){const kt=Pt[Rt];St.push(kt.originalDelegate?kt.originalDelegate:kt.callback)}return St},te[$e]=function(){const Ae=this||pe;let bt=arguments[0];if(bt){At&&At.transferEventName&&(bt=At.transferEventName(bt));const St=Yn[bt];if(St){const kt=Ae[St[U]],nn=Ae[St[B]];if(kt){const cn=kt.slice();for(let It=0;It<cn.length;It++){const Mn=cn[It];this[nt].call(this,bt,Mn.originalDelegate?Mn.originalDelegate:Mn.callback,Mn.options)}}if(nn){const cn=nn.slice();for(let It=0;It<cn.length;It++){const Mn=cn[It];this[nt].call(this,bt,Mn.originalDelegate?Mn.originalDelegate:Mn.callback,Mn.options)}}}}else{const St=Object.keys(Ae);for(let Pt=0;Pt<St.length;Pt++){const kt=Dn.exec(St[Pt]);let nn=kt&&kt[1];nn&&"removeListener"!==nn&&this[$e].call(this,nn)}this[$e].call(this,"removeListener")}if(Pe)return this},Ke(te[je],ke),Ke(te[nt],ft),Te&&Ke(te[$e],Te),hn&&Ke(te[mt],hn),!0}let tn=[];for(let pn=0;pn<Ye.length;pn++)tn[pn]=rn(Ye[pn],ze);return tn}function Xn(pe,_e){if(!_e){const nt=[];for(let mt in pe){const $e=Dn.exec(mt);let at=$e&&$e[1];if(at&&(!_e||at===_e)){const Yt=pe[mt];if(Yt)for(let Nt=0;Nt<Yt.length;Nt++)nt.push(Yt[Nt])}}return nt}let Ye=Yn[_e];Ye||(Sr(_e),Ye=Yn[_e]);const ze=pe[Ye[U]],je=pe[Ye[B]];return ze?je?ze.concat(je):ze.slice():je?je.slice():[]}function ur(pe,_e){const Ye=pe.Event;Ye&&Ye.prototype&&_e.patchMethod(Ye.prototype,"stopImmediatePropagation",ze=>function(je,nt){je[an]=!0,ze&&ze.apply(je,nt)})}function Kr(pe,_e,Ye,ze,je){const nt=Zone.__symbol__(ze);if(_e[nt])return;const mt=_e[nt]=_e[ze];_e[ze]=function($e,at,Yt){return at&&at.prototype&&je.forEach(function(Nt){const Ft=`${Ye}.${ze}::`+Nt,Mt=at.prototype;try{if(Mt.hasOwnProperty(Nt)){const Qt=pe.ObjectGetOwnPropertyDescriptor(Mt,Nt);Qt&&Qt.value?(Qt.value=pe.wrapWithCurrentZone(Qt.value,Ft),pe._redefineProperty(at.prototype,Nt,Qt)):Mt[Nt]&&(Mt[Nt]=pe.wrapWithCurrentZone(Mt[Nt],Ft))}else Mt[Nt]&&(Mt[Nt]=pe.wrapWithCurrentZone(Mt[Nt],Ft))}catch{}}),mt.call(_e,$e,at,Yt)},pe.attachOriginToPatched(_e[ze],mt)}function wr(pe,_e,Ye){if(!Ye||0===Ye.length)return _e;const ze=Ye.filter(nt=>nt.target===pe);if(!ze||0===ze.length)return _e;const je=ze[0].ignoreProperties;return _e.filter(nt=>-1===je.indexOf(nt))}function Br(pe,_e,Ye,ze){pe&&qt(pe,wr(pe,_e,Ye),ze)}function Tr(pe){return Object.getOwnPropertyNames(pe).filter(_e=>_e.startsWith("on")&&_e.length>2).map(_e=>_e.substring(2))}Zone.__load_patch("util",(pe,_e,Ye)=>{const ze=Tr(pe);Ye.patchOnProperties=qt,Ye.patchMethod=Dt,Ye.bindArguments=Ve,Ye.patchMacroTask=qe;const je=_e.__symbol__("BLACK_LISTED_EVENTS"),nt=_e.__symbol__("UNPATCHED_EVENTS");pe[nt]&&(pe[je]=pe[nt]),pe[je]&&(_e[je]=_e[nt]=pe[je]),Ye.patchEventPrototype=ur,Ye.patchEventTarget=Qn,Ye.isIEOrEdge=gr,Ye.ObjectDefineProperty=N,Ye.ObjectGetOwnPropertyDescriptor=Z,Ye.ObjectCreate=s,Ye.ArraySlice=h,Ye.patchClass=lt,Ye.wrapWithCurrentZone=k,Ye.filterProperties=wr,Ye.attachOriginToPatched=Ke,Ye._redefineProperty=Object.defineProperty,Ye.patchCallbacks=Kr,Ye.getGlobalObjects=()=>({globalSources:kr,zoneSymbolEventNames:Yn,eventNames:ze,isBrowser:Ce,isMix:wt,isNode:rt,TRUE_STR:B,FALSE_STR:U,ZONE_SYMBOL_PREFIX:ee,ADD_EVENT_LISTENER_STR:L,REMOVE_EVENT_LISTENER_STR:V})});const _r=q("zoneTask");function or(pe,_e,Ye,ze){let je=null,nt=null;Ye+=ze;const mt={};function $e(Yt){const Nt=Yt.data;return Nt.args[0]=function(){return Yt.invoke.apply(this,arguments)},Nt.handleId=je.apply(pe,Nt.args),Yt}function at(Yt){return nt.call(pe,Yt.data.handleId)}je=Dt(pe,_e+=ze,Yt=>function(Nt,Ft){if("function"==typeof Ft[0]){const Mt={isPeriodic:"Interval"===ze,delay:"Timeout"===ze||"Interval"===ze?Ft[1]||0:void 0,args:Ft},Qt=Ft[0];Ft[0]=function(){try{return Qt.apply(this,arguments)}finally{Mt.isPeriodic||("number"==typeof Mt.handleId?delete mt[Mt.handleId]:Mt.handleId&&(Mt.handleId[_r]=null))}};const vn=Y(_e,Ft[0],Mt,$e,at);if(!vn)return vn;const $t=vn.data.handleId;return"number"==typeof $t?mt[$t]=vn:$t&&($t[_r]=vn),$t&&$t.ref&&$t.unref&&"function"==typeof $t.ref&&"function"==typeof $t.unref&&(vn.ref=$t.ref.bind($t),vn.unref=$t.unref.bind($t)),"number"==typeof $t||$t?$t:vn}return Yt.apply(pe,Ft)}),nt=Dt(pe,Ye,Yt=>function(Nt,Ft){const Mt=Ft[0];let Qt;"number"==typeof Mt?Qt=mt[Mt]:(Qt=Mt&&Mt[_r],Qt||(Qt=Mt)),Qt&&"string"==typeof Qt.type?"notScheduled"!==Qt.state&&(Qt.cancelFn&&Qt.data.isPeriodic||0===Qt.runCount)&&("number"==typeof Mt?delete mt[Mt]:Mt&&(Mt[_r]=null),Qt.zone.cancelTask(Qt)):Yt.apply(pe,Ft)})}Zone.__load_patch("legacy",pe=>{const _e=pe[Zone.__symbol__("legacyPatch")];_e&&_e()}),Zone.__load_patch("queueMicrotask",(pe,_e,Ye)=>{Ye.patchMethod(pe,"queueMicrotask",ze=>function(je,nt){_e.current.scheduleMicroTask("queueMicrotask",nt[0])})}),Zone.__load_patch("timers",pe=>{const Ye="clear";or(pe,"set",Ye,"Timeout"),or(pe,"set",Ye,"Interval"),or(pe,"set",Ye,"Immediate")}),Zone.__load_patch("requestAnimationFrame",pe=>{or(pe,"request","cancel","AnimationFrame"),or(pe,"mozRequest","mozCancel","AnimationFrame"),or(pe,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(pe,_e)=>{const Ye=["alert","prompt","confirm"];for(let ze=0;ze<Ye.length;ze++)Dt(pe,Ye[ze],(nt,mt,$e)=>function(at,Yt){return _e.current.run(nt,pe,Yt,$e)})}),Zone.__load_patch("EventTarget",(pe,_e,Ye)=>{(function Lr(pe,_e){_e.patchEventPrototype(pe,_e)})(pe,Ye),function Rr(pe,_e){if(Zone[_e.symbol("patchEventTarget")])return;const{eventNames:Ye,zoneSymbolEventNames:ze,TRUE_STR:je,FALSE_STR:nt,ZONE_SYMBOL_PREFIX:mt}=_e.getGlobalObjects();for(let at=0;at<Ye.length;at++){const Yt=Ye[at],Mt=mt+(Yt+nt),Qt=mt+(Yt+je);ze[Yt]={},ze[Yt][nt]=Mt,ze[Yt][je]=Qt}const $e=pe.EventTarget;$e&&$e.prototype&&_e.patchEventTarget(pe,_e,[$e&&$e.prototype])}(pe,Ye);const ze=pe.XMLHttpRequestEventTarget;ze&&ze.prototype&&Ye.patchEventTarget(pe,Ye,[ze.prototype])}),Zone.__load_patch("MutationObserver",(pe,_e,Ye)=>{lt("MutationObserver"),lt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(pe,_e,Ye)=>{lt("IntersectionObserver")}),Zone.__load_patch("FileReader",(pe,_e,Ye)=>{lt("FileReader")}),Zone.__load_patch("on_property",(pe,_e,Ye)=>{!function Ur(pe,_e){if(rt&&!wt||Zone[pe.symbol("patchEvents")])return;const Ye=_e.__Zone_ignore_on_properties;let ze=[];if(Ce){const je=window;ze=ze.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const nt=function Vn(){try{const pe=De.navigator.userAgent;if(-1!==pe.indexOf("MSIE ")||-1!==pe.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:je,ignoreProperties:["error"]}]:[];Br(je,Tr(je),Ye&&Ye.concat(nt),y(je))}ze=ze.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let je=0;je<ze.length;je++){const nt=_e[ze[je]];nt&&nt.prototype&&Br(nt.prototype,Tr(nt.prototype),Ye)}}(Ye,pe)}),Zone.__load_patch("customElements",(pe,_e,Ye)=>{!function pi(pe,_e){const{isBrowser:Ye,isMix:ze}=_e.getGlobalObjects();(Ye||ze)&&pe.customElements&&"customElements"in pe&&_e.patchCallbacks(_e,pe.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(pe,Ye)}),Zone.__load_patch("XHR",(pe,_e)=>{!function at(Yt){const Nt=Yt.XMLHttpRequest;if(!Nt)return;const Ft=Nt.prototype;let Qt=Ft[A],vn=Ft[I];if(!Qt){const Ee=Yt.XMLHttpRequestEventTarget;if(Ee){const ke=Ee.prototype;Qt=ke[A],vn=ke[I]}}const $t="readystatechange",rn="scheduled";function tn(Ee){const ke=Ee.data,ft=ke.target;ft[nt]=!1,ft[$e]=!1;const hn=ft[je];Qt||(Qt=ft[A],vn=ft[I]),hn&&vn.call(ft,$t,hn);const Te=ft[je]=()=>{if(ft.readyState===ft.DONE)if(!ke.aborted&&ft[nt]&&Ee.state===rn){const ie=ft[_e.__symbol__("loadfalse")];if(0!==ft.status&&ie&&ie.length>0){const Oe=Ee.invoke;Ee.invoke=function(){const Qe=ft[_e.__symbol__("loadfalse")];for(let Ct=0;Ct<Qe.length;Ct++)Qe[Ct]===Ee&&Qe.splice(Ct,1);!ke.aborted&&Ee.state===rn&&Oe.call(Ee)},ie.push(Ee)}else Ee.invoke()}else!ke.aborted&&!1===ft[nt]&&(ft[$e]=!0)};return Qt.call(ft,$t,Te),ft[Ye]||(ft[Ye]=Ee),te.apply(ft,ke.args),ft[nt]=!0,Ee}function pn(){}function At(Ee){const ke=Ee.data;return ke.aborted=!0,se.apply(ke.target,ke.args)}const Wt=Dt(Ft,"open",()=>function(Ee,ke){return Ee[ze]=0==ke[2],Ee[mt]=ke[1],Wt.apply(Ee,ke)}),Kn=q("fetchTaskAborting"),Pe=q("fetchTaskScheduling"),te=Dt(Ft,"send",()=>function(Ee,ke){if(!0===_e.current[Pe]||Ee[ze])return te.apply(Ee,ke);{const ft={target:Ee,url:Ee[mt],isPeriodic:!1,args:ke,aborted:!1},hn=Y("XMLHttpRequest.send",pn,ft,tn,At);Ee&&!0===Ee[$e]&&!ft.aborted&&hn.state===rn&&hn.invoke()}}),se=Dt(Ft,"abort",()=>function(Ee,ke){const ft=function Mt(Ee){return Ee[Ye]}(Ee);if(ft&&"string"==typeof ft.type){if(null==ft.cancelFn||ft.data&&ft.data.aborted)return;ft.zone.cancelTask(ft)}else if(!0===_e.current[Kn])return se.apply(Ee,ke)})}(pe);const Ye=q("xhrTask"),ze=q("xhrSync"),je=q("xhrListener"),nt=q("xhrScheduled"),mt=q("xhrURL"),$e=q("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",pe=>{pe.navigator&&pe.navigator.geolocation&&function Vt(pe,_e){const Ye=pe.constructor.name;for(let ze=0;ze<_e.length;ze++){const je=_e[ze],nt=pe[je];if(nt){if(!Ze(Z(pe,je)))continue;pe[je]=($e=>{const at=function(){return $e.apply(this,Ve(arguments,Ye+"."+je))};return Ke(at,$e),at})(nt)}}}(pe.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(pe,_e)=>{function Ye(ze){return function(je){Xn(pe,ze).forEach(mt=>{const $e=pe.PromiseRejectionEvent;if($e){const at=new $e(ze,{promise:je.promise,reason:je.rejection});mt.invoke(at)}})}}pe.PromiseRejectionEvent&&(_e[q("unhandledPromiseRejectionHandler")]=Ye("unhandledrejection"),_e[q("rejectionHandledHandler")]=Ye("rejectionhandled"))})},7340:(Z,N,y)=>{"use strict";y.d(N,{LC:()=>h,SB:()=>ee,X$:()=>V,ZE:()=>Ze,ZN:()=>Vt,_j:()=>s,eR:()=>Y,jt:()=>A,k1:()=>He,l3:()=>L,oB:()=>U,vP:()=>B});class s{}class h{}const L="*";function V(rt,Ce){return{type:7,name:rt,definitions:Ce,options:{}}}function A(rt,Ce=null){return{type:4,styles:Ce,timings:rt}}function B(rt,Ce=null){return{type:2,steps:rt,options:Ce}}function U(rt){return{type:6,styles:rt,offset:null}}function ee(rt,Ce,wt){return{type:0,name:rt,styles:Ce,options:wt}}function Y(rt,Ce,wt=null){return{type:1,expr:rt,animation:Ce,options:wt}}function Ve(rt){Promise.resolve(null).then(rt)}class Vt{constructor(Ce=0,wt=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+wt}_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(){Ve(()=>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 wt="start"==Ce?this._onStartFns:this._onDoneFns;wt.forEach(Et=>Et()),wt.length=0}}class Ze{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 wt=0,Et=0,un=0;const Kt=this.players.length;0==Kt?Ve(()=>this._onFinish()):this.players.forEach(qt=>{qt.onDone(()=>{++wt==Kt&&this._onFinish()}),qt.onDestroy(()=>{++Et==Kt&&this._onDestroy()}),qt.onStart(()=>{++un==Kt&&this._onStart()})}),this.totalTime=this.players.reduce((qt,ge)=>Math.max(qt,ge.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 wt=Ce*this.totalTime;this.players.forEach(Et=>{const un=Et.totalTime?Math.min(1,wt/Et.totalTime):1;Et.setPosition(un)})}getPosition(){const Ce=this.players.reduce((wt,Et)=>null===wt||Et.totalTime>wt.totalTime?Et:wt,null);return null!=Ce?Ce.getPosition():0}beforeDestroy(){this.players.forEach(Ce=>{Ce.beforeDestroy&&Ce.beforeDestroy()})}triggerCallback(Ce){const wt="start"==Ce?this._onStartFns:this._onDoneFns;wt.forEach(Et=>Et()),wt.length=0}}const He="!"},6895:(Z,N,y)=>{"use strict";y.d(N,{Do:()=>rt,EM:()=>Xr,HT:()=>A,JF:()=>Eo,K0:()=>B,Mx:()=>cr,NF:()=>ys,O5:()=>K,PC:()=>Bn,S$:()=>Ve,V_:()=>k,Ye:()=>Ce,b0:()=>He,bD:()=>ms,ez:()=>wo,lw:()=>U,mk:()=>gn,mr:()=>Ze,q:()=>L,sg:()=>Gn,tP:()=>Er,w_:()=>I});var s=y(5062);let h=null;function L(){return h}function A(S){h||(h=S)}class I{}const B=new s.OlP("DocumentToken");let U=(()=>{class S{historyGo(P){throw new Error("Not implemented")}}return S.\u0275fac=function(P){return new(P||S)},S.\u0275prov=s.Yz7({token:S,factory:function(){return function ee(){return(0,s.LFG)(Y)}()},providedIn:"platform"}),S})();const k=new s.OlP("Location Initialized");let Y=(()=>{class S extends U{constructor(P){super(),this._doc=P,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return L().getBaseHref(this._doc)}onPopState(P){const J=L().getGlobalEventTarget(this._doc,"window");return J.addEventListener("popstate",P,!1),()=>J.removeEventListener("popstate",P)}onHashChange(P){const J=L().getGlobalEventTarget(this._doc,"window");return J.addEventListener("hashchange",P,!1),()=>J.removeEventListener("hashchange",P)}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(P){this.location.pathname=P}pushState(P,J,me){q()?this._history.pushState(P,J,me):this.location.hash=me}replaceState(P,J,me){q()?this._history.replaceState(P,J,me):this.location.hash=me}forward(){this._history.forward()}back(){this._history.back()}historyGo(P=0){this._history.go(P)}getState(){return this._history.state}}return S.\u0275fac=function(P){return new(P||S)(s.LFG(B))},S.\u0275prov=s.Yz7({token:S,factory:function(){return function le(){return new Y((0,s.LFG)(B))}()},providedIn:"platform"}),S})();function q(){return!!window.history.pushState}function De(S,W){if(0==S.length)return W;if(0==W.length)return S;let P=0;return S.endsWith("/")&&P++,W.startsWith("/")&&P++,2==P?S+W.substring(1):1==P?S+W:S+"/"+W}function be(S){const W=S.match(/#|\?|$/),P=W&&W.index||S.length;return S.slice(0,P-("/"===S[P-1]?1:0))+S.slice(P)}function Fe(S){return S&&"?"!==S[0]?"?"+S:S}let Ve=(()=>{class S{historyGo(P){throw new Error("Not implemented")}}return S.\u0275fac=function(P){return new(P||S)},S.\u0275prov=s.Yz7({token:S,factory:function(){return function Vt(S){const W=(0,s.LFG)(B).location;return new He((0,s.LFG)(U),W&&W.origin||"")}()},providedIn:"root"}),S})();const Ze=new s.OlP("appBaseHref");let He=(()=>{class S extends Ve{constructor(P,J){if(super(),this._platformLocation=P,this._removeListenerFns=[],null==J&&(J=this._platformLocation.getBaseHrefFromDOM()),null==J)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=J}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(P){this._removeListenerFns.push(this._platformLocation.onPopState(P),this._platformLocation.onHashChange(P))}getBaseHref(){return this._baseHref}prepareExternalUrl(P){return De(this._baseHref,P)}path(P=!1){const J=this._platformLocation.pathname+Fe(this._platformLocation.search),me=this._platformLocation.hash;return me&&P?`${J}${me}`:J}pushState(P,J,me,Ge){const yt=this.prepareExternalUrl(me+Fe(Ge));this._platformLocation.pushState(P,J,yt)}replaceState(P,J,me,Ge){const yt=this.prepareExternalUrl(me+Fe(Ge));this._platformLocation.replaceState(P,J,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(P=0){this._platformLocation.historyGo?.(P)}}return S.\u0275fac=function(P){return new(P||S)(s.LFG(U),s.LFG(Ze,8))},S.\u0275prov=s.Yz7({token:S,factory:S.\u0275fac}),S})(),rt=(()=>{class S extends Ve{constructor(P,J){super(),this._platformLocation=P,this._baseHref="",this._removeListenerFns=[],null!=J&&(this._baseHref=J)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(P){this._removeListenerFns.push(this._platformLocation.onPopState(P),this._platformLocation.onHashChange(P))}getBaseHref(){return this._baseHref}path(P=!1){let J=this._platformLocation.hash;return null==J&&(J="#"),J.length>0?J.substring(1):J}prepareExternalUrl(P){const J=De(this._baseHref,P);return J.length>0?"#"+J:J}pushState(P,J,me,Ge){let yt=this.prepareExternalUrl(me+Fe(Ge));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.pushState(P,J,yt)}replaceState(P,J,me,Ge){let yt=this.prepareExternalUrl(me+Fe(Ge));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.replaceState(P,J,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(P=0){this._platformLocation.historyGo?.(P)}}return S.\u0275fac=function(P){return new(P||S)(s.LFG(U),s.LFG(Ze,8))},S.\u0275prov=s.Yz7({token:S,factory:S.\u0275fac}),S})(),Ce=(()=>{class S{constructor(P,J){this._subject=new s.vpe,this._urlChangeListeners=[],this._platformStrategy=P;const me=this._platformStrategy.getBaseHref();this._platformLocation=J,this._baseHref=be(un(me)),this._platformStrategy.onPopState(Ge=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ge.state,type:Ge.type})})}path(P=!1){return this.normalize(this._platformStrategy.path(P))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(P,J=""){return this.path()==this.normalize(P+Fe(J))}normalize(P){return S.stripTrailingSlash(function Et(S,W){return S&&W.startsWith(S)?W.substring(S.length):W}(this._baseHref,un(P)))}prepareExternalUrl(P){return P&&"/"!==P[0]&&(P="/"+P),this._platformStrategy.prepareExternalUrl(P)}go(P,J="",me=null){this._platformStrategy.pushState(me,"",P,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(P+Fe(J)),me)}replaceState(P,J="",me=null){this._platformStrategy.replaceState(me,"",P,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(P+Fe(J)),me)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(P=0){this._platformStrategy.historyGo?.(P)}onUrlChange(P){this._urlChangeListeners.push(P),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(J=>{this._notifyUrlChangeListeners(J.url,J.state)}))}_notifyUrlChangeListeners(P="",J){this._urlChangeListeners.forEach(me=>me(P,J))}subscribe(P,J,me){return this._subject.subscribe({next:P,error:J,complete:me})}}return S.normalizeQueryParams=Fe,S.joinWithSlash=De,S.stripTrailingSlash=be,S.\u0275fac=function(P){return new(P||S)(s.LFG(Ve),s.LFG(U))},S.\u0275prov=s.Yz7({token:S,factory:function(){return function wt(){return new Ce((0,s.LFG)(Ve),(0,s.LFG)(U))}()},providedIn:"root"}),S})();function un(S){return S.replace(/\/index.html$/,"")}function cr(S,W){W=encodeURIComponent(W);for(const P of S.split(";")){const J=P.indexOf("="),[me,Ge]=-1==J?[P,""]:[P.slice(0,J),P.slice(J+1)];if(me.trim()===W)return decodeURIComponent(Ge)}return null}let gn=(()=>{class S{constructor(P,J,me,Ge){this._iterableDiffers=P,this._keyValueDiffers=J,this._ngEl=me,this._renderer=Ge,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(P){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof P?P.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(P){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof P?P.split(/\s+/):P,this._rawClass&&((0,s.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const P=this._iterableDiffer.diff(this._rawClass);P&&this._applyIterableChanges(P)}else if(this._keyValueDiffer){const P=this._keyValueDiffer.diff(this._rawClass);P&&this._applyKeyValueChanges(P)}}_applyKeyValueChanges(P){P.forEachAddedItem(J=>this._toggleClass(J.key,J.currentValue)),P.forEachChangedItem(J=>this._toggleClass(J.key,J.currentValue)),P.forEachRemovedItem(J=>{J.previousValue&&this._toggleClass(J.key,!1)})}_applyIterableChanges(P){P.forEachAddedItem(J=>{if("string"!=typeof J.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,s.AaK)(J.item)}`);this._toggleClass(J.item,!0)}),P.forEachRemovedItem(J=>this._toggleClass(J.item,!1))}_applyClasses(P){P&&(Array.isArray(P)||P instanceof Set?P.forEach(J=>this._toggleClass(J,!0)):Object.keys(P).forEach(J=>this._toggleClass(J,!!P[J])))}_removeClasses(P){P&&(Array.isArray(P)||P instanceof Set?P.forEach(J=>this._toggleClass(J,!1)):Object.keys(P).forEach(J=>this._toggleClass(J,!1)))}_toggleClass(P,J){(P=P.trim())&&P.split(/\s+/g).forEach(me=>{J?this._renderer.addClass(this._ngEl.nativeElement,me):this._renderer.removeClass(this._ngEl.nativeElement,me)})}}return S.\u0275fac=function(P){return new(P||S)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},S.\u0275dir=s.lG2({type:S,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),S})();class gi{constructor(W,P,J,me){this.$implicit=W,this.ngForOf=P,this.index=J,this.count=me}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 Gn=(()=>{class S{constructor(P,J,me){this._viewContainer=P,this._template=J,this._differs=me,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(P){this._ngForOf=P,this._ngForOfDirty=!0}set ngForTrackBy(P){this._trackByFn=P}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(P){P&&(this._template=P)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const P=this._ngForOf;!this._differ&&P&&(this._differ=this._differs.find(P).create(this.ngForTrackBy))}if(this._differ){const P=this._differ.diff(this._ngForOf);P&&this._applyChanges(P)}}_applyChanges(P){const J=this._viewContainer;P.forEachOperation((me,Ge,yt)=>{if(null==me.previousIndex)J.createEmbeddedView(this._template,new gi(me.item,this._ngForOf,-1,-1),null===yt?void 0:yt);else if(null==yt)J.remove(null===Ge?void 0:Ge);else if(null!==Ge){const xt=J.get(Ge);J.move(xt,yt),Vr(xt,me)}});for(let me=0,Ge=J.length;me<Ge;me++){const xt=J.get(me).context;xt.index=me,xt.count=Ge,xt.ngForOf=this._ngForOf}P.forEachIdentityChange(me=>{Vr(J.get(me.currentIndex),me)})}static ngTemplateContextGuard(P,J){return!0}}return S.\u0275fac=function(P){return new(P||S)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},S.\u0275dir=s.lG2({type:S,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),S})();function Vr(S,W){S.context.$implicit=W.item}let K=(()=>{class S{constructor(P,J){this._viewContainer=P,this._context=new z,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=J}set ngIf(P){this._context.$implicit=this._context.ngIf=P,this._updateView()}set ngIfThen(P){ue("ngIfThen",P),this._thenTemplateRef=P,this._thenViewRef=null,this._updateView()}set ngIfElse(P){ue("ngIfElse",P),this._elseTemplateRef=P,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(P,J){return!0}}return S.\u0275fac=function(P){return new(P||S)(s.Y36(s.s_b),s.Y36(s.Rgc))},S.\u0275dir=s.lG2({type:S,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),S})();class z{constructor(){this.$implicit=null,this.ngIf=null}}function ue(S,W){if(W&&!W.createEmbeddedView)throw new Error(`${S} must be a TemplateRef, but received '${(0,s.AaK)(W)}'.`)}let Bn=(()=>{class S{constructor(P,J,me){this._ngEl=P,this._differs=J,this._renderer=me,this._ngStyle=null,this._differ=null}set ngStyle(P){this._ngStyle=P,!this._differ&&P&&(this._differ=this._differs.find(P).create())}ngDoCheck(){if(this._differ){const P=this._differ.diff(this._ngStyle);P&&this._applyChanges(P)}}_setStyle(P,J){const[me,Ge]=P.split(".");null!=(J=null!=J&&Ge?`${J}${Ge}`:J)?this._renderer.setStyle(this._ngEl.nativeElement,me,J):this._renderer.removeStyle(this._ngEl.nativeElement,me)}_applyChanges(P){P.forEachRemovedItem(J=>this._setStyle(J.key,null)),P.forEachAddedItem(J=>this._setStyle(J.key,J.currentValue)),P.forEachChangedItem(J=>this._setStyle(J.key,J.currentValue))}}return S.\u0275fac=function(P){return new(P||S)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},S.\u0275dir=s.lG2({type:S,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),S})(),Er=(()=>{class S{constructor(P){this._viewContainerRef=P,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(P){if(P.ngTemplateOutlet){const J=this._viewContainerRef;this._viewRef&&J.remove(J.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?J.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&P.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return S.\u0275fac=function(P){return new(P||S)(s.Y36(s.s_b))},S.\u0275dir=s.lG2({type:S,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[s.TTD]}),S})(),wo=(()=>{class S{}return S.\u0275fac=function(P){return new(P||S)},S.\u0275mod=s.oAB({type:S}),S.\u0275inj=s.cJS({}),S})();const ms="browser";function ys(S){return S===ms}let Xr=(()=>{class S{}return S.\u0275prov=(0,s.Yz7)({token:S,providedIn:"root",factory:()=>new is((0,s.LFG)(B),window)}),S})();class is{constructor(W,P){this.document=W,this.window=P,this.offset=()=>[0,0]}setOffset(W){this.offset=Array.isArray(W)?()=>W:W}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(W){this.supportsScrolling()&&this.window.scrollTo(W[0],W[1])}scrollToAnchor(W){if(!this.supportsScrolling())return;const P=function ss(S,W){const P=S.getElementById(W)||S.getElementsByName(W)[0];if(P)return P;if("function"==typeof S.createTreeWalker&&S.body&&(S.body.createShadowRoot||S.body.attachShadow)){const J=S.createTreeWalker(S.body,NodeFilter.SHOW_ELEMENT);let me=J.currentNode;for(;me;){const Ge=me.shadowRoot;if(Ge){const yt=Ge.getElementById(W)||Ge.querySelector(`[name="${W}"]`);if(yt)return yt}me=J.nextNode()}}return null}(this.document,W);P&&(this.scrollToElement(P),P.focus())}setHistoryScrollRestoration(W){if(this.supportScrollRestoration()){const P=this.window.history;P&&P.scrollRestoration&&(P.scrollRestoration=W)}}scrollToElement(W){const P=W.getBoundingClientRect(),J=P.left+this.window.pageXOffset,me=P.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(J-Ge[0],me-Ge[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const W=ri(this.window.history)||ri(Object.getPrototypeOf(this.window.history));return!(!W||!W.writable&&!W.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ri(S){return Object.getOwnPropertyDescriptor(S,"scrollRestoration")}class Eo{}},5062:(Z,N,y)=>{"use strict";y.d(N,{deG:()=>ye,tb:()=>Jv,AFp:()=>qv,ip1:()=>Zv,CZH:()=>Sm,hGG:()=>eE,z2F:()=>Nm,sBO:()=>Vw,Sil:()=>mw,_Vd:()=>qh,EJc:()=>pw,SBq:()=>Hd,qLn:()=>sl,vpe:()=>Ha,tBr:()=>l,XFs:()=>_e,OlP:()=>oe,zs3:()=>Bo,ZZ4:()=>Um,aQg:()=>Hm,soG:()=>Pm,YKP:()=>ov,h0i:()=>vc,PXZ:()=>xw,R0b:()=>da,FiY:()=>_,Lbi:()=>dw,g9A:()=>Kv,Qsj:()=>ub,FYo:()=>nv,JOm:()=>No,tp0:()=>G,Rgc:()=>zd,dDg:()=>tC,GfV:()=>rv,s_b:()=>Jh,ifc:()=>Ft,eFA:()=>iC,G48:()=>Lw,Gpc:()=>Fe,X6Q:()=>kw,_c5:()=>Xw,VLi:()=>Sw,c2e:()=>fw,zSh:()=>bd,wAp:()=>An,vHH:()=>He,cg1:()=>rm,kL8:()=>Sy,dqk:()=>rn,sIi:()=>Su,CqO:()=>A_,QGY:()=>Zg,F4k:()=>O_,RDi:()=>W,AaK:()=>le,qOj:()=>xd,TTD:()=>ms,_Bn:()=>Xy,xp6:()=>Ff,uIk:()=>Id,Tol:()=>ey,Gre:()=>gy,ekj:()=>Jg,Suo:()=>Sv,Xpm:()=>ft,lG2:()=>_t,Yz7:()=>ur,cJS:()=>wr,oAB:()=>Oe,Yjl:()=>dt,Y36:()=>Ri,_UZ:()=>Wg,GkF:()=>Yg,BQk:()=>Uh,ynx:()=>Bh,qZA:()=>xu,TgZ:()=>oo,EpF:()=>x_,n5z:()=>ea,Ikx:()=>nm,LFG:()=>hr,$8M:()=>ta,$Z:()=>Yi,NdJ:()=>qg,CRH:()=>Tv,oxw:()=>F_,Hsn:()=>L_,F$t:()=>k_,Q6J:()=>ts,s9C:()=>Kg,MGl:()=>Hh,DdM:()=>cv,VKq:()=>dv,WLB:()=>fv,kEZ:()=>hv,iGM:()=>Dv,MAs:()=>Nh,CHM:()=>ii,oJD:()=>fu,LSH:()=>Zu,YNc:()=>Rh,W1O:()=>Av,_uU:()=>ay,Oqu:()=>em,hij:()=>$h,AsE:()=>tm,Gf:()=>Mv});var s=y(5529),h=y(2654),L=y(2916),V=y(6787),A=y(1762);class B{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:i}=this,o=this.subjectFactory(),u=i(o).subscribe(t);return u.add(n.subscribe(o)),u}}var U=y(4327);function ee(){return new s.xQ}function Y(e){for(let t in e)if(e[t]===Y)return t;throw Error("Could not find renamed property on target object.")}function q(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function le(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(le).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 De(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const be=Y({__forward_ref__:Y});function Fe(e){return e.__forward_ref__=Fe,e.toString=function(){return le(this())},e}function Ve(e){return Vt(e)?e():e}function Vt(e){return"function"==typeof e&&e.hasOwnProperty(be)&&e.__forward_ref__===Fe}class He 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 wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ce(e)}function qt(e,t){const n=t?` in ${t}`:"";throw new He(-201,`No provider for ${wt(e)} found${n}`)}function Dn(e,t){null==e&&function an(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function ur(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Br(e){return Tr(e,pi)||Tr(e,Lr)}function Tr(e,t){return e.hasOwnProperty(t)?e[t]:null}function or(e){return e&&(e.hasOwnProperty(Rr)||e.hasOwnProperty(pe))?e[Rr]:null}const pi=Y({\u0275prov:Y}),Rr=Y({\u0275inj:Y}),Lr=Y({ngInjectableDef:Y}),pe=Y({ngInjectorDef:Y});var _e=(()=>((_e=_e||{})[_e.Default=0]="Default",_e[_e.Host=1]="Host",_e[_e.Self=2]="Self",_e[_e.SkipSelf=4]="SkipSelf",_e[_e.Optional=8]="Optional",_e))();let Ye;function je(e){const t=Ye;return Ye=e,t}function nt(e,t,n){const i=Br(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&_e.Optional?null:void 0!==t?t:void qt(le(e),"Injector")}function $e(e){return{toString:e}.toString()}var at=(()=>((at=at||{})[at.OnPush=0]="OnPush",at[at.Default=1]="Default",at))(),Ft=(()=>{return(e=Ft||(Ft={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ft;var e})();const Mt=typeof globalThis<"u"&&globalThis,Qt=typeof window<"u"&&window,vn=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,rn=Mt||typeof global<"u"&&global||Qt||vn,At={},Wt=[],Cn=Y({\u0275cmp:Y}),Kn=Y({\u0275dir:Y}),Pe=Y({\u0275pipe:Y}),te=Y({\u0275mod:Y}),se=Y({\u0275fac:Y}),Ee=Y({__NG_ELEMENT_ID__:Y});let ke=0;function ft(e){return $e(()=>{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===at.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Wt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,id:"c",styles:e.styles||Wt,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,u=e.features,p=e.pipes;return i.id+=ke++,i.inputs=Ct(e.inputs,n),i.outputs=Ct(e.outputs),u&&u.forEach(C=>C(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Te):null,i.pipeDefs=p?()=>("function"==typeof p?p():p).map(re):null,i})}function Te(e){return de(e)||function xe(e){return e[Kn]||null}(e)}function re(e){return function Ot(e){return e[Pe]||null}(e)}const ie={};function Oe(e){return $e(()=>{const t={type:e.type,bootstrap:e.bootstrap||Wt,declarations:e.declarations||Wt,imports:e.imports||Wt,exports:e.exports||Wt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ie[e.id]=e.type),t})}function Ct(e,t){if(null==e)return At;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],u=o;Array.isArray(o)&&(u=o[1],o=o[0]),n[o]=i,t&&(t[o]=u)}return n}const _t=ft;function dt(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[Cn]||null}function Ht(e,t){const n=e[te]||null;if(!n&&!0===t)throw new Error(`Type ${le(e)} does not have '\u0275mod' property.`);return n}const R=20;function sn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bn(e){return Array.isArray(e)&&!0===e[1]}function Er(e){return 0!=(8&e.flags)}function vr(e){return 2==(2&e.flags)}function er(e){return 1==(1&e.flags)}function dr(e){return null!==e.template}function Ti(e){return 0!=(512&e[2])}function bi(e,t){return e.hasOwnProperty(se)?e[se]:null}class wo{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function ms(){return $o}function $o(e){return e.type.prototype.ngOnChanges&&(e.setInput=rs),_s}function _s(){const e=uo(this),t=e?.current;if(t){const n=e.previous;if(n===At)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function rs(e,t,n,i){const o=uo(e)||function Hr(e,t){return e[ys]=t}(e,{previous:At,current:null}),u=o.current||(o.current={}),p=o.previous,C=this.declaredInputs[n],b=p[C];u[C]=new wo(b&&b.currentValue,t,p===At),e[i]=t}ms.ngInherit=!0;const ys="__ngSimpleChanges__";function uo(e){return e[ys]||null}let S;function W(e){S=e}function P(){return void 0!==S?S:typeof document<"u"?document:void 0}function me(e){return!!e.listen}const Ge={createRenderer:(e,t)=>P()};function xt(e){for(;Array.isArray(e);)e=e[0];return e}function Hn(e,t){return xt(t[e])}function jt(e,t){return xt(t[e.index])}function rr(e,t){return e.data[t]}function Dr(e,t){const n=t[e];return sn(n)?n:n[0]}function mi(e){return 4==(4&e[2])}function Cs(e){return 128==(128&e[2])}function T(e,t){return null==t?null:e[t]}function M(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 j={lFrame:Wo(null),bindingsEnabled:!0};function qi(){return j.bindingsEnabled}function ht(){return j.lFrame.lView}function qn(){return j.lFrame.tView}function ii(e){return j.lFrame.contextLView=e,e[8]}function jr(){let e=ws();for(;null!==e&&64===e.type;)e=e.parent;return e}function ws(){return j.lFrame.currentTNode}function Bi(e,t){const n=j.lFrame;n.currentTNode=e,n.isParent=t}function co(){return j.lFrame.isParent}function fa(){j.lFrame.isParent=!1}function ei(){const e=j.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ls(){return j.lFrame.bindingIndex++}function li(e){const t=j.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Xl(e,t){const n=j.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qi(t)}function Qi(e){j.lFrame.currentDirectiveIndex=e}function $s(){return j.lFrame.currentQueryIndex}function ga(e){j.lFrame.currentQueryIndex=e}function tu(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Do(e,t,n){if(n&_e.SkipSelf){let o=t,u=e;for(;!(o=o.parent,null!==o||n&_e.Host||(o=tu(u),null===o||(u=u[15],10&o.type))););if(null===o)return!1;t=o,e=u}const i=j.lFrame=hl();return i.currentTNode=t,i.lView=e,!0}function ja(e){const t=hl(),n=e[1];j.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function hl(){const e=j.lFrame,t=null===e?null:e.child;return null===t?Wo(e):t}function Wo(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=j.lFrame;return j.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const et=Me;function We(){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 In(){return j.lFrame.selectedIndex}function xr(e){j.lFrame.selectedIndex=e}function Sn(){const e=j.lFrame;return rr(e.tView,e.selectedIndex)}function Gs(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const u=e.data[n].type.prototype,{ngAfterContentInit:p,ngAfterContentChecked:C,ngAfterViewInit:b,ngAfterViewChecked:F,ngOnDestroy:$}=u;p&&(e.contentHooks||(e.contentHooks=[])).push(-n,p),C&&((e.contentHooks||(e.contentHooks=[])).push(n,C),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,C)),b&&(e.viewHooks||(e.viewHooks=[])).push(-n,b),F&&((e.viewHooks||(e.viewHooks=[])).push(n,F),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,F)),null!=$&&(e.destroyHooks||(e.destroyHooks=[])).push(n,$)}}function zs(e,t,n){za(e,t,3,n)}function ir(e,t,n,i){(3&e[2])===n&&za(e,t,n,i)}function _a(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function za(e,t,n,i){const u=i??-1,p=t.length-1;let C=0;for(let b=void 0!==i?65535&e[18]:0;b<p;b++)if("number"==typeof t[b+1]){if(C=t[b],null!=i&&C>=i)break}else t[b]<0&&(e[18]+=65536),(C<u||-1==u)&&(ya(e,n,t,b),e[18]=(4294901760&e[18])+b+2),b++}function ya(e,t,n,i){const o=n[i]<0,u=n[i+1],C=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{u.call(C)}finally{}}}else try{u.call(C)}finally{}}class Zo{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function So(e,t,n){const i=me(e);let o=0;for(;o<n.length;){const u=n[o];if("number"==typeof u){if(0!==u)break;o++;const p=n[o++],C=n[o++],b=n[o++];i?e.setAttribute(t,C,b,p):t.setAttributeNS(p,C,b)}else{const p=u,C=n[++o];To(p)?i&&e.setProperty(t,p,C):i?e.setAttribute(t,p,C):t.setAttribute(p,C),o++}}return o}function _l(e){return 3===e||4===e||6===e}function To(e){return 64===e.charCodeAt(0)}function Ms(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||qo(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function qo(e,t,n,i,o){let u=0,p=e.length;if(-1===t)p=-1;else for(;u<e.length;){const C=e[u++];if("number"==typeof C){if(C===t){p=-1;break}if(C>t){p=u-1;break}}}for(;u<e.length;){const C=e[u];if("number"==typeof C)break;if(C===n){if(null===i)return void(null!==o&&(e[u+1]=o));if(i===e[u+1])return void(e[u+2]=o)}u++,null!==i&&u++,null!==o&&u++}-1!==p&&(e.splice(p,0,t),u=p+1),e.splice(u++,0,n),null!==i&&e.splice(u++,0,i),null!==o&&e.splice(u++,0,o)}function ru(e){return-1!==e}function Qo(e){return 32767&e}function Ss(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 iu=0;function Wr(e,t){const n=Za(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,ba(i.data,e),ba(t,null),ba(i.blueprint,null));const o=Po(e,t),u=e.injectorIndex;if(ru(o)){const p=Qo(o),C=Ss(o,t),b=C[1].data;for(let F=0;F<8;F++)t[u+F]=C[p+F]|b[p+F]}return t[u+8]=o,u}function ba(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Za(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Po(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){const u=o[1],p=u.type;if(i=2===p?u.declTNode:1===p?o[6]:null,null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function qa(e,t,n){!function zr(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Ee)&&(i=n[Ee]),null==i&&(i=n[Ee]=iu++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function xo(e,t,n){if(n&_e.Optional)return e;qt(t,"NodeInjector")}function Qa(e,t,n,i){if(n&_e.Optional&&void 0===i&&(i=null),0==(n&(_e.Self|_e.Host))){const o=e[9],u=je(void 0);try{return o?o.get(t,i,n&_e.Optional):nt(t,i,n&_e.Optional)}finally{je(u)}}return xo(i,t,n)}function Oo(e,t,n,i=_e.Default,o){if(null!==e){const u=function Nu(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ee)?e[Ee]:void 0;return"number"==typeof t?t>=0?255&t:Jo:t}(n);if("function"==typeof u){if(!Do(t,e,i))return i&_e.Host?xo(o,n,i):Qa(t,n,i,o);try{const p=u(i);if(null!=p||i&_e.Optional)return p;qt(n)}finally{et()}}else if("number"==typeof u){let p=null,C=Za(e,t),b=-1,F=i&_e.Host?t[16][6]:null;for((-1===C||i&_e.SkipSelf)&&(b=-1===C?Po(e,t):t[C+8],-1!==b&&ou(i,!1)?(p=t[1],C=Qo(b),t=Ss(b,t)):C=-1);-1!==C;){const $=t[1];if(su(u,C,$.data)){const ae=Ka(C,t,n,p,i,F);if(ae!==Ko)return ae}b=t[C+8],-1!==b&&ou(i,t[1].data[C+8]===F)&&su(u,C,t)?(p=$,C=Qo(b),t=Ss(b,t)):C=-1}}}return Qa(t,n,i,o)}const Ko={};function Jo(){return new Zs(jr(),ht())}function Ka(e,t,n,i,o,u){const p=t[1],C=p.data[e+8],$=Ys(C,p,n,null==i?vr(C)&&fo:i!=p&&0!=(3&C.type),o&_e.Host&&u===C);return null!==$?Xo(t,p,$,C):Ko}function Ys(e,t,n,i,o){const u=e.providerIndexes,p=t.data,C=1048575&u,b=e.directiveStart,$=u>>20,ve=o?C+$:e.directiveEnd;for(let Ne=i?C:C+$;Ne<ve;Ne++){const it=p[Ne];if(Ne<b&&n===it||Ne>=b&&it.type===n)return Ne}if(o){const Ne=p[b];if(Ne&&dr(Ne)&&Ne.type===n)return b}return null}function Xo(e,t,n,i){let o=e[n];const u=t.data;if(function pl(e){return e instanceof Zo}(o)){const p=o;p.resolving&&function Et(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new He(-200,`Circular dependency in DI detected for ${e}${n}`)}(wt(u[n]));const C=Ts(p.canSeeViewProviders);p.resolving=!0;const b=p.injectImpl?je(p.injectImpl):null;Do(e,i,_e.Default);try{o=e[n]=p.factory(void 0,u,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Yo(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:u}=t.type.prototype;if(i){const p=$o(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,p),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,p)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),u&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u))}(n,u[n],t)}finally{null!==b&&je(b),Ts(C),p.resolving=!1,et()}}return o}function su(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function ou(e,t){return!(e&_e.Self||e&_e.Host&&t)}class Zs{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Oo(this._tNode,this._lView,t,i,n)}}function ea(e){return $e(()=>{const t=e.prototype.constructor,n=t[se]||ho(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const u=o[se]||ho(o);if(u&&u!==n)return u;o=Object.getPrototypeOf(o)}return u=>new u})}function ho(e){return Vt(e)?()=>{const t=ho(Ve(e));return t&&t()}:bi(e)}function ta(e){return function Ps(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const u=n[o];if(_l(u))break;if(0===u)o+=2;else if("number"==typeof u)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(u===t)return n[o+1];o+=2}}}return null}(jr(),e)}const Yr="__parameters__";function E(e,t,n){return $e(()=>{const i=function d(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...u){if(this instanceof o)return i.apply(this,u),this;const p=new o(...u);return C.annotation=p,C;function C(b,F,$){const ae=b.hasOwnProperty(Yr)?b[Yr]:Object.defineProperty(b,Yr,{value:[]})[Yr];for(;ae.length<=$;)ae.push(null);return(ae[$]=ae[$]||[]).push(p),b}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class oe{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=ur({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ye=new oe("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 Qs(e,t){e.forEach(n=>Array.isArray(n)?Qs(n,t):t(n))}function ku(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ks(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function xs(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Oi(e,t,n){let i=Zr(e,t);return i>=0?e[1|i]=n:(i=~i,function Zd(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ja(e,t){const n=Zr(e,t);if(n>=0)return e[1|n]}function Zr(e,t){return function Vu(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const u=i+(o-i>>1),p=e[u<<n];if(t===p)return u<<n;p>t?o=u:i=u+1}return~(o<<n)}(e,t,1)}const Ai={},Uu="__NG_DI_FLAG__",bl="ngTempTokenPath",wl=/\n/gm,El="__source",nl=Y({provide:String,useValue:Y});let po;function Hu(e){const t=po;return po=e,t}function lu(e,t=_e.Default){if(void 0===po)throw new He(203,"");return null===po?nt(e,void 0,t):po.get(e,t&_e.Optional?null:void 0,t)}function hr(e,t=_e.Default){return(function ze(){return Ye}()||lu)(Ve(e),t)}const ju=hr;function As(e){const t=[];for(let n=0;n<e.length;n++){const i=Ve(e[n]);if(Array.isArray(i)){if(0===i.length)throw new He(900,"");let o,u=_e.Default;for(let p=0;p<i.length;p++){const C=i[p],b=uu(C);"number"==typeof b?-1===b?o=C.token:u|=b:o=C}t.push(hr(o,u))}else t.push(hr(i))}return t}function Da(e,t){return e[Uu]=t,e.prototype[Uu]=t,e}function uu(e){return e[Uu]}const l=Da(E("Inject",e=>({token:e})),-1),_=Da(E("Optional"),8),G=Da(E("SkipSelf"),4);let ci,eo;function Ii(e){return function Ki(){if(void 0===ci&&(ci=null,rn.trustedTypes))try{ci=rn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ci}()?.createHTML(e)||e}function Ml(e){return function rl(){if(void 0===eo&&(eo=null,rn.trustedTypes))try{eo=rn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return eo}()?.createHTML(e)||e}class xn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function zt(e){return e instanceof xn?e.changingThisBreaksApplicationSecurity:e}function Ma(e,t){const n=function Sc(e){return e instanceof xn&&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 $u{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 Tc{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 o=n.length-1;0<o;o--){const p=n.item(o).name;("xmlns:ns1"===p||0===p.indexOf("ns1:"))&&t.removeAttribute(p)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const Jd=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Ta=/^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 Sl(e){return(e=String(e)).match(Jd)||e.match(Ta)?e:"unsafe:"+e}function Is(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Tl(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Gu=Is("area,br,col,hr,img,wbr"),xc=Is("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),zu=Is("rp,rt"),Ao=Tl(Gu,Tl(xc,Is("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")),Tl(zu,Is("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")),Tl(zu,xc)),Wu=Is("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Yu=Is("srcset"),tf=Tl(Wu,Yu,Is("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"),Is("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=Is("script,style,template");class nf{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ao.hasOwnProperty(n))return this.sanitizedSomething=!0,!op.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const u=i.item(o),p=u.name,C=p.toLowerCase();if(!tf.hasOwnProperty(C)){this.sanitizedSomething=!0;continue}let b=u.value;Wu[C]&&(b=Sl(b)),Yu[C]&&(e=b,b=(e=String(e)).split(",").map(t=>Sl(t.trim())).join(", ")),this.buf.push(" ",p,'="',Oc(b),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ao.hasOwnProperty(n)&&!Gu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Oc(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 rf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ap=/([^\#-~ |!])/g;function Oc(e){return e.replace(/&/g,"&").replace(rf,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 du;function ro(e){return"content"in e&&function lp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var fi=(()=>((fi=fi||{})[fi.NONE=0]="NONE",fi[fi.HTML=1]="HTML",fi[fi.STYLE=2]="STYLE",fi[fi.SCRIPT=3]="SCRIPT",fi[fi.URL=4]="URL",fi[fi.RESOURCE_URL=5]="RESOURCE_URL",fi))();function fu(e){const t=Pa();return t?Ml(t.sanitize(fi.HTML,e)||""):Ma(e,"HTML")?Ml(zt(e)):function fs(e,t){let n=null;try{du=du||function Qd(e){const t=new Tc(e);return function Kd(){try{return!!(new window.DOMParser).parseFromString(Ii(""),"text/html")}catch{return!1}}()?new $u(t):t}(e);let i=t?String(t):"";n=du.getInertBodyElement(i);let o=5,u=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=u,u=n.innerHTML,n=du.getInertBodyElement(i)}while(i!==u);return Ii((new nf).sanitizeChildren(ro(n)||n))}finally{if(n){const i=ro(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(P(),Ce(e))}function Zu(e){const t=Pa();return t?t.sanitize(fi.URL,e)||"":Ma(e,"URL")?zt(e):Sl(Ce(e))}function Pa(){const e=ht();return e&&e[12]}const pu="__ngContext__";function $i(e,t){e[pu]=t}function Il(e){const t=function Al(e){return e[pu]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function gu(e){return e.ngOriginalError}function kc(e,...t){e.error(...t)}class sl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function Fc(e){return e&&e.ngErrorLogger||kc}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&gu(t);for(;n&&gu(n);)n=gu(n);return n||null}}const mp=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(rn))();function Ro(e){return e instanceof Function?e():e}var No=(()=>((No=No||{})[No.Important=1]="Important",No[No.DashCase=2]="DashCase",No))();function Bc(e,t){return undefined(e,t)}function kl(e){const t=e[3];return Bn(t)?t[3]:t}function Hc(e){return yf(e[13])}function jc(e){return yf(e[4])}function yf(e){for(;null!==e&&!Bn(e);)e=e[4];return e}function al(e,t,n,i,o){if(null!=i){let u,p=!1;Bn(i)?u=i:sn(i)&&(p=!0,i=i[0]);const C=xt(i);0===e&&null!==n?null==o?Mf(t,n,C):ul(t,n,C,o||null,!0):1===e&&null!==n?ul(t,n,C,o||null,!0):2===e?function xf(e,t,n){const i=Xu(e,t);i&&function wp(e,t,n,i){me(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,C,p):3===e&&t.destroyNode(C),null!=u&&function Mp(e,t,n,i,o){const u=n[7];u!==xt(n)&&al(t,e,i,u,o);for(let C=10;C<n.length;C++){const b=n[C];yu(b[1],b,e,t,i,u)}}(t,e,u,n,o)}}function ll(e,t,n){if(me(e))return e.createElement(t,n);{const i=null!==n?function Eo(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 Oa(e,t){const n=e[9],i=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,w(o,-1)),n.splice(i,1)}function zc(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&Oa(o,i),t>0&&(e[n-1][4]=i[4]);const u=Ks(e,10+t);!function Gc(e,t){yu(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const p=u[19];null!==p&&p.detachView(u[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Wc(e,t){if(!(256&t[2])){const n=t[11];me(n)&&n.destroyNode&&yu(e,t,n,3,null,null),function Ju(e){let t=e[13];if(!t)return Yc(e[1],e);for(;t;){let n=null;if(sn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)sn(t)&&Yc(t[1],t),t=t[3];null===t&&(t=e),sn(t)&&Yc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Yc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function bp(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof Zo)){const u=n[i+1];if(Array.isArray(u))for(let p=0;p<u.length;p+=2){const C=o[u[p]],b=u[p+1];try{b.call(C)}finally{}}else try{u.call(o)}finally{}}}}(e,t),function Cp(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const p=n[u+1],C="function"==typeof p?p(t):xt(t[p]),b=i[o=n[u+2]],F=n[u+3];"boolean"==typeof F?C.removeEventListener(n[u],b,F):F>=0?i[o=F]():i[o=-F].unsubscribe(),u+=2}else{const p=i[o=n[u+1]];n[u].call(p)}if(null!==i){for(let u=o+1;u<i.length;u++)i[u]();t[7]=null}}(e,t),1===t[1].type&&me(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Bn(t[3])){n!==t[3]&&Oa(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Ef(e,t,n){return function Df(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const o=e.data[i.directiveStart].encapsulation;if(o===Ft.None||o===Ft.Emulated)return null}return jt(i,n)}(e,t.parent,n)}function ul(e,t,n,i,o){me(e)?e.insertBefore(t,n,i,o):t.insertBefore(n,i,o)}function Mf(e,t,n){me(e)?e.appendChild(t,n):t.appendChild(n)}function Sf(e,t,n,i,o){null!==i?ul(e,t,n,i,o):Mf(e,t,n)}function Xu(e,t){return me(e)?e.parentNode(t):t.parentNode}function Zc(e,t,n){return Qc(e,t,n)}let Qc=function qc(e,t,n){return 40&e.type?jt(e,n):null};function ec(e,t,n,i){const o=Ef(e,i,t),u=t[11],C=Zc(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let b=0;b<n.length;b++)Sf(u,o,n[b],C,!1);else Sf(u,o,n,C,!1)}function _u(e,t){if(null!==t){const n=t.type;if(3&n)return jt(t,e);if(4&n)return Jc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return _u(e,i);{const o=e[t.index];return Bn(o)?Jc(-1,o):xt(o)}}if(32&n)return Bc(t,e)()||xt(e[t.index]);{const i=Pf(e,t);return null!==i?Array.isArray(i)?i[0]:_u(kl(e[16]),i):_u(e,t.next)}}return null}function Pf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Jc(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return _u(i,o)}return t[7]}function Xc(e,t,n,i,o,u,p){for(;null!=n;){const C=i[n.index],b=n.type;if(p&&0===t&&(C&&$i(xt(C),i),n.flags|=4),64!=(64&n.flags))if(8&b)Xc(e,t,n.child,i,o,u,!1),al(t,e,o,C,u);else if(32&b){const F=Bc(n,i);let $;for(;$=F();)al(t,e,o,$,u);al(t,e,o,C,u)}else 16&b?Rs(e,t,i,n,o,u):al(t,e,o,C,u);n=p?n.projectionNext:n.next}}function yu(e,t,n,i,o,u){Xc(n,i,e.firstChild,t,o,u,!1)}function Rs(e,t,n,i,o,u){const p=n[16],b=p[6].projection[i.projection];if(Array.isArray(b))for(let F=0;F<b.length;F++)al(t,e,o,b[F],u);else Xc(e,t,b,p[3],o,u,!0)}function Of(e,t,n){me(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function tc(e,t,n){me(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Af(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const u=t.length;if(o+u===i||e.charCodeAt(o+u)<=32)return o}n=o+1}}const If="ng-template";function Tp(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==Af(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function nc(e){return 4===e.type&&e.value!==If}function Pp(e,t,n){return t===(4!==e.type||n?e.value:If)}function xp(e,t,n){let i=4;const o=e.attrs||[],u=function Ip(e){for(let t=0;t<e.length;t++)if(_l(e[t]))return t;return e.length}(o);let p=!1;for(let C=0;C<t.length;C++){const b=t[C];if("number"!=typeof b){if(!p)if(4&i){if(i=2|1&i,""!==b&&!Pp(e,b,n)||""===b&&1===t.length){if(go(i))return!1;p=!0}}else{const F=8&i?b:t[++C];if(8&i&&null!==e.attrs){if(!Tp(e.attrs,F,n)){if(go(i))return!1;p=!0}continue}const ae=Op(8&i?"class":b,o,nc(e),n);if(-1===ae){if(go(i))return!1;p=!0;continue}if(""!==F){let ve;ve=ae>u?"":o[ae+1].toLowerCase();const Ne=8&i?ve:null;if(Ne&&-1!==Af(Ne,F,0)||2&i&&F!==ve){if(go(i))return!1;p=!0}}}}else{if(!p&&!go(i)&&!go(b))return!1;if(p&&go(b))continue;p=!1,i=b|1&i}}return go(i)||p}function go(e){return 0==(1&e)}function Op(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let u=!1;for(;o<t.length;){const p=t[o];if(p===e)return o;if(3===p||6===p)u=!0;else{if(1===p||2===p){let C=t[++o];for(;"string"==typeof C;)C=t[++o];continue}if(4===p)break;if(0===p){o+=4;continue}}o+=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 Rf(e,t,n=!1){for(let i=0;i<t.length;i++)if(xp(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 o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function Nf(e,t){return e?":not("+t.trim()+")":t}function Fp(e){let t=e[0],n=1,i=2,o="",u=!1;for(;n<e.length;){let p=e[n];if("string"==typeof p)if(2&i){const C=e[++n];o+="["+p+(C.length>0?'="'+C+'"':"")+"]"}else 8&i?o+="."+p:4&i&&(o+=" "+p);else""!==o&&!go(p)&&(t+=Nf(u,o),o=""),i=p,u=u||!go(i);n++}return""!==o&&(t+=Nf(u,o)),t}const Un={};function Ff(e){kf(qn(),ht(),In()+e,!1)}function kf(e,t,n,i){if(!i)if(3==(3&t[2])){const u=e.preOrderCheckHooks;null!==u&&zs(t,u,n)}else{const u=e.preOrderHooks;null!==u&&ir(t,u,0,n)}xr(n)}function rc(e,t){return e<<17|t<<2}function mo(e){return e>>17&32767}function ic(e){return 2|e}function la(e){return(131068&e)>>2}function td(e,t){return-131069&e|t<<2}function nd(e){return 1|e}function dd(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],u=n[i+1];if(-1!==u){const p=e.data[u];ga(o),p.contentQueries(2,t[u],u)}}}function Vl(e,t,n,i,o,u,p,C,b,F){const $=t.blueprint.slice();return $[0]=o,$[2]=140|i,M($),$[3]=$[15]=e,$[8]=n,$[10]=p||e&&e[10],$[11]=C||e&&e[11],$[12]=b||e&&e[12]||null,$[9]=F||e&&e[9]||null,$[6]=u,$[16]=2==t.type?e[16]:$,$}function cl(e,t,n,i,o){let u=e.data[t];if(null===u)u=function ac(e,t,n,i,o){const u=ws(),p=co(),b=e.data[t]=function qp(e,t,n,i,o,u){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:u,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,p?u:u&&u.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=b),null!==u&&(p?null==u.child&&null!==b.parent&&(u.child=b):null===u.next&&(u.next=b)),b}(e,t,n,i,o),function Go(){return j.lFrame.inI18n}()&&(u.flags|=64);else if(64&u.type){u.type=n,u.value=i,u.attrs=o;const p=function Es(){const e=j.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===p?-1:p.injectorIndex}return Bi(u,!0),u}function Bl(e,t,n,i){if(0===n)return-1;const o=t.length;for(let u=0;u<n;u++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function Cu(e,t,n){ja(t);try{const i=e.viewQuery;null!==i&&yd(1,i,n);const o=e.template;null!==o&&bu(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&dd(e,t),e.staticViewQueries&&yd(2,e.viewQuery,n);const u=e.components;null!==u&&function Zf(e,t){for(let n=0;n<t.length;n++)oh(e,t[n])}(t,u)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,We()}}function Ul(e,t,n,i){const o=t[2];if(256!=(256&o)){ja(t);try{M(t),function pa(e){return j.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&bu(e,t,n,2,i);const p=3==(3&o);if(p){const F=e.preOrderCheckHooks;null!==F&&zs(t,F,null)}else{const F=e.preOrderHooks;null!==F&&ir(t,F,0,null),_a(t,0)}if(function sg(e){for(let t=Hc(e);null!==t;t=jc(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],u=o[3];0==(1024&o[2])&&w(u,1),o[2]|=1024}}}(t),function ig(e){for(let t=Hc(e);null!==t;t=jc(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];Cs(i)&&Ul(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&dd(e,t),p){const F=e.contentCheckHooks;null!==F&&zs(t,F)}else{const F=e.contentHooks;null!==F&&ir(t,F,1),_a(t,1)}!function Yf(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)xr(~o);else{const u=o,p=n[++i],C=n[++i];Xl(p,u),C(2,t[u])}}}finally{xr(-1)}}(e,t);const C=e.components;null!==C&&function fd(e,t){for(let n=0;n<t.length;n++)og(e,t[n])}(t,C);const b=e.viewQuery;if(null!==b&&yd(2,b,i),p){const F=e.viewCheckHooks;null!==F&&zs(t,F)}else{const F=e.viewHooks;null!==F&&ir(t,F,2),_a(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,w(t[3],-1))}finally{We()}}}function lc(e,t,n,i){const o=t[10],p=mi(t);try{!p&&o.begin&&o.begin(),p&&Cu(e,t,i),Ul(e,t,n,i)}finally{!p&&o.end&&o.end()}}function bu(e,t,n,i,o){const u=In(),p=2&i;try{xr(-1),p&&t.length>R&&kf(e,t,R,!1),n(i,o)}finally{xr(u)}}function qf(e,t,n){if(Er(t)){const o=t.directiveEnd;for(let u=t.directiveStart;u<o;u++){const p=e.data[u];p.contentQueries&&p.contentQueries(1,n[u],u)}}}function hd(e,t,n){!qi()||(function Na(e,t,n,i){const o=n.directiveStart,u=n.directiveEnd;e.firstCreatePass||Wr(n,t),$i(i,t);const p=n.initialInputs;for(let C=o;C<u;C++){const b=e.data[C],F=dr(b);F&&rh(t,n,b);const $=Xo(t,e,C,n);$i($,t),null!==p&&ni(0,C-o,$,b,0,p),F&&(Dr(n.index,t)[8]=$)}}(e,t,n,jt(n,t)),128==(128&n.flags)&&function tg(e,t,n){const i=n.directiveStart,o=n.directiveEnd,p=n.index,C=function eu(){return j.lFrame.currentDirectiveIndex}();try{xr(p);for(let b=i;b<o;b++){const F=e.data[b],$=t[b];Qi(b),(null!==F.hostBindings||0!==F.hostVars||null!==F.hostAttrs)&&eh(F,$)}}finally{xr(-1),Qi(C)}}(e,t,n))}function wu(e,t,n=jt){const i=t.localNames;if(null!==i){let o=t.index+1;for(let u=0;u<i.length;u+=2){const p=i[u+1],C=-1===p?n(t,e):e[p];e[o++]=C}}}function pd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=uc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function uc(e,t,n,i,o,u,p,C,b,F){const $=R+i,ae=$+o,ve=function Zp(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Un);return n}($,ae),Ne="function"==typeof F?F():F;return ve[1]={type:e,blueprint:ve,template:n,queries:null,viewQuery:C,declTNode:t,data:ve.slice().fill(null,$),bindingStartIndex:$,expandoStartIndex:ae,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 p?p():p,firstChild:null,schemas:b,consts:Ne,incompleteFirstPass:!1}}function Jf(e,t,n,i){const o=vd(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&Lo(e).push(i,o.length-1))}function Xf(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const o=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,o):n[i]=[t,o]}return n}function Ns(e,t,n,i,o,u,p,C){const b=jt(t,n);let $,F=t.inputs;!C&&null!=F&&($=F[i])?(ks(e,n,$,i,o),vr(t)&&function Jp(e,t){const n=Dr(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function Kp(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=p?p(o,t.value||"",i):o,me(u)?u.setProperty(b,i,o):To(i)||(b.setProperty?b.setProperty(i,o):b[i]=o))}function Wi(e,t,n,i){let o=!1;if(qi()){const u=function ng(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let u=0;u<i.length;u++){const p=i[u];Rf(n,p.selectors,!1)&&(o||(o=[]),qa(Wr(n,t),e,p.type),dr(p)?(th(e,n),o.unshift(p)):o.push(p))}return o}(e,t,n),p=null===i?null:{"":-1};if(null!==u){o=!0,nh(n,e.data.length,u.length);for(let $=0;$<u.length;$++){const ae=u[$];ae.providersResolver&&ae.providersResolver(ae)}let C=!1,b=!1,F=Bl(e,t,u.length,null);for(let $=0;$<u.length;$++){const ae=u[$];n.mergedAttrs=Ms(n.mergedAttrs,ae.hostAttrs),ko(e,n,t,F,ae),gd(F,ae,p),null!==ae.contentQueries&&(n.flags|=8),(null!==ae.hostBindings||null!==ae.hostAttrs||0!==ae.hostVars)&&(n.flags|=128);const ve=ae.type.prototype;!C&&(ve.ngOnChanges||ve.ngOnInit||ve.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),C=!0),!b&&(ve.ngOnChanges||ve.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),b=!0),F++}!function Qp(e,t){const i=t.directiveEnd,o=e.data,u=t.attrs,p=[];let C=null,b=null;for(let F=t.directiveStart;F<i;F++){const $=o[F],ae=$.inputs,ve=null===u||nc(t)?null:ih(ae,u);p.push(ve),C=Xf(ae,F,C),b=Xf($.outputs,F,b)}null!==C&&(C.hasOwnProperty("class")&&(t.flags|=16),C.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=p,t.inputs=C,t.outputs=b}(e,n)}p&&function rg(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const u=n[t[o+1]];if(null==u)throw new He(-301,!1);i.push(t[o],u)}}}(n,i,p)}return n.mergedAttrs=Ms(n.mergedAttrs,n.attrs),o}function ti(e,t,n,i,o,u){const p=u.hostBindings;if(p){let C=e.hostBindingOpCodes;null===C&&(C=e.hostBindingOpCodes=[]);const b=~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})(C)!=b&&C.push(b),C.push(i,o,p)}}function eh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function th(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function gd(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;dr(t)&&(n[""]=e)}}function nh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ko(e,t,n,i,o){e.data[i]=o;const u=o.factory||(o.factory=bi(o.type)),p=new Zo(u,dr(o),null);e.blueprint[i]=p,n[i]=p,ti(e,t,0,i,Bl(e,n,o.hostVars,Un),o)}function rh(e,t,n){const i=jt(t,e),o=pd(n),u=e[10],p=Hl(e,Vl(e,o,null,n.onPush?64:16,i,t,u,u.createRenderer(i,n),null,null));e[t.index]=p}function Fs(e,t,n,i,o,u){const p=jt(e,t);!function Gr(e,t,n,i,o,u,p){if(null==u)me(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const C=null==p?Ce(u):p(u,i||"",o);me(e)?e.setAttribute(t,o,C,n):n?t.setAttributeNS(n,o,C):t.setAttribute(o,C)}}(t[11],p,u,e.value,n,i,o)}function ni(e,t,n,i,o,u){const p=u[t];if(null!==p){const C=i.setInput;for(let b=0;b<p.length;){const F=p[b++],$=p[b++],ae=p[b++];null!==C?i.setInput(n,ae,F,$):n[$]=ae}}}function ih(e,t){let n=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[i+1])),i+=2}else i+=2;else i+=4}return n}function sh(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function og(e,t){const n=Dr(t,e);if(Cs(n)){const i=n[1];80&n[2]?Ul(i,n,i.template,n[8]):n[5]>0&&md(n)}}function md(e){for(let i=Hc(e);null!==i;i=jc(i))for(let o=10;o<i.length;o++){const u=i[o];if(1024&u[2]){const p=u[1];Ul(p,u,p.template,u[8])}else u[5]>0&&md(u)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=Dr(n[i],e);Cs(o)&&o[5]>0&&md(o)}}function oh(e,t){const n=Dr(t,e),i=n[1];(function Eu(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Cu(i,n,n[8])}function Hl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function _d(e){for(;e;){e[2]|=64;const t=kl(e);if(Ti(e)&&!t)return e;e=t}return null}function dl(e){!function jl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=Il(n),o=i[1];lc(o,i,o.template,n)}}(e[8])}function yd(e,t,n){ga(0),t(e,n)}const ag=(()=>Promise.resolve(null))();function vd(e){return e[7]||(e[7]=[])}function Lo(e){return e.cleanup||(e.cleanup=[])}function Cd(e,t){const n=e[9],i=n?n.get(sl,null):null;i&&i.handleError(t)}function ks(e,t,n,i,o){for(let u=0;u<n.length;){const p=n[u++],C=n[u++],b=t[p],F=e.data[p];null!==F.setInput?F.setInput(b,o,i,C):b[C]=o}}function Vo(e,t,n){const i=Hn(t,e);!function Ku(e,t,n){me(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function cc(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,u=0;if(null!==t)for(let p=0;p<t.length;p++){const C=t[p];"number"==typeof C?u=C:1==u?o=De(o,C):2==u&&(i=De(i,C+": "+t[++p]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}const $l=new oe("INJECTOR",-1);class lh{get(t,n=Ai){if(n===Ai){const i=new Error(`NullInjectorError: No provider for ${le(t)}!`);throw i.name="NullInjectorError",i}return n}}const bd=new oe("Set Injector scope."),Du={},cg={};let wd;function uh(){return void 0===wd&&(wd=new lh),wd}function ch(e,t=null,n=null,i){const o=dh(e,t,n,i);return o._resolveInjectorDefTypes(),o}function dh(e,t=null,n=null,i){return new dg(e,n,t||uh(),i)}class dg{constructor(t,n,i,o=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const u=[];n&&Qs(n,C=>this.processProvider(C,t,n)),Qs([t],C=>this.processInjectorType(C,[],u)),this.records.set($l,Fa(void 0,this));const p=this.records.get(bd);this.scope=null!=p?p.value:null,this.source=o||("object"==typeof t?null:le(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=_e.Default){this.assertNotDestroyed();const o=Hu(this),u=je(void 0);try{if(!(i&_e.SkipSelf)){let C=this.records.get(t);if(void 0===C){const b=function mg(e){return"function"==typeof e||"object"==typeof e&&e instanceof oe}(t)&&Br(t);C=b&&this.injectableDefInScope(b)?Fa(Ed(t),Du):null,this.records.set(t,C)}if(null!=C)return this.hydrate(t,C)}return(i&_e.Self?uh():this.parent).get(t,n=i&_e.Optional&&n===Ai?null:n)}catch(p){if("NullInjectorError"===p.name){if((p[bl]=p[bl]||[]).unshift(le(t)),o)throw p;return function m(e,t,n,i){const o=e[bl];throw t[El]&&o.unshift(t[El]),e.message=function c(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=le(t);if(Array.isArray(t))o=t.map(le).join(" -> ");else if("object"==typeof t){let u=[];for(let p in t)if(t.hasOwnProperty(p)){let C=t[p];u.push(p+":"+("string"==typeof C?JSON.stringify(C):le(C)))}o=`{${u.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(wl,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[bl]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{je(u),Hu(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,o)=>t.push(le(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new He(205,!1)}processInjectorType(t,n,i){if(!(t=Ve(t)))return!1;let o=or(t);const u=null==o&&t.ngModule||void 0,p=void 0===u?t:u,C=-1!==i.indexOf(p);if(void 0!==u&&(o=or(u)),null==o)return!1;if(null!=o.imports&&!C){let $;i.push(p);try{Qs(o.imports,ae=>{this.processInjectorType(ae,n,i)&&(void 0===$&&($=[]),$.push(ae))})}finally{}if(void 0!==$)for(let ae=0;ae<$.length;ae++){const{ngModule:ve,providers:Ne}=$[ae];Qs(Ne,it=>this.processProvider(it,ve,Ne||Wt))}}this.injectorDefTypes.add(p);const b=bi(p)||(()=>new p);this.records.set(p,Fa(b,Du));const F=o.providers;if(null!=F&&!C){const $=t;Qs(F,ae=>this.processProvider(ae,$,F))}return void 0!==u&&void 0!==t.providers}processProvider(t,n,i){let o=Gl(t=Ve(t))?t:Ve(t&&t.provide);const u=function hg(e,t,n){return hh(e)?Fa(void 0,e.useValue):Fa(fh(e),Du)}(t);if(Gl(t)||!0!==t.multi)this.records.get(o);else{let p=this.records.get(o);p||(p=Fa(void 0,Du,!0),p.factory=()=>As(p.multi),this.records.set(o,p)),o=t,p.multi.push(t)}this.records.set(o,u)}hydrate(t,n){return n.value===Du&&(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=Ve(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Ed(e){const t=Br(e),n=null!==t?t.factory:bi(e);if(null!==n)return n;if(e instanceof oe)throw new He(204,!1);if(e instanceof Function)return function fg(e){const t=e.length;if(t>0)throw xs(t,"?"),new He(204,!1);const n=function Ur(e){const t=e&&(e[pi]||e[Lr]);if(t){const n=function _r(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 He(204,!1)}function fh(e,t,n){let i;if(Gl(e)){const o=Ve(e);return bi(o)||Ed(o)}if(hh(e))i=()=>Ve(e.useValue);else if(function pg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...As(e.deps||[]));else if(function Dd(e){return!(!e||!e.useExisting)}(e))i=()=>hr(Ve(e.useExisting));else{const o=Ve(e&&(e.useClass||e.provide));if(!function Mi(e){return!!e.deps}(e))return bi(o)||Ed(o);i=()=>new o(...As(e.deps))}return i}function Fa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hh(e){return null!==e&&"object"==typeof e&&nl in e}function Gl(e){return"function"==typeof e}let Bo=(()=>{class e{static create(n,i){if(Array.isArray(n))return ch({name:""},i,n,"");{const o=n.name??"";return ch({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Ai,e.NULL=new lh,e.\u0275prov=ur({token:e,providedIn:"any",factory:()=>hr($l)}),e.__NG_ELEMENT_ID__=-1,e})();function Mg(e,t){Gs(Il(e)[1],jr())}function xd(e){let t=function Dh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(dr(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new He(903,"");o=t.\u0275dir}if(o){if(n){i.push(o);const p=e;p.inputs=Od(e.inputs),p.declaredInputs=Od(e.declaredInputs),p.outputs=Od(e.outputs);const C=o.hostBindings;C&&xg(e,C);const b=o.viewQuery,F=o.contentQueries;if(b&&Tg(e,b),F&&Pg(e,F),q(e.inputs,o.inputs),q(e.declaredInputs,o.declaredInputs),q(e.outputs,o.outputs),dr(o)&&o.data.animation){const $=e.data;$.animation=($.animation||[]).concat(o.data.animation)}}const u=o.features;if(u)for(let p=0;p<u.length;p++){const C=u[p];C&&C.ngInherit&&C(e),C===xd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Sg(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Ms(o.hostAttrs,n=Ms(n,o.hostAttrs))}}(i)}function Od(e){return e===At?{}:e===Wt?[]:e}function Tg(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function Pg(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,u)=>{t(i,o,u),n(i,o,u)}:t}function xg(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let dc=null;function zl(){if(!dc){const e=rn.Symbol;if(e&&e.iterator)dc=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&&(dc=i)}}}return dc}function Su(e){return!!Ad(e)&&(Array.isArray(e)||!(e instanceof Map)&&zl()in e)}function Ad(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Uo(e,t,n){return e[t]=n}function Si(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ka(e,t,n,i){const o=Si(e,t,n);return Si(e,t+1,i)||o}function Id(e,t,n,i){const o=ht();return Si(o,ls(),t)&&(qn(),Fs(Sn(),o,e,t,n,i)),Id}function La(e,t,n,i){return Si(e,ls(),n)?t+Ce(n)+i:Un}function Yl(e,t,n,i,o,u){const C=ka(e,function as(){return j.lFrame.bindingIndex}(),n,o);return li(2),C?t+Ce(n)+i+Ce(o)+u:Un}function Rh(e,t,n,i,o,u,p,C){const b=ht(),F=qn(),$=e+R,ae=F.firstCreatePass?function Ih(e,t,n,i,o,u,p,C,b){const F=t.consts,$=cl(t,e,4,p||null,T(F,C));Wi(t,n,$,T(F,b)),Gs(t,$);const ae=$.tViews=uc(2,$,i,o,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,F);return null!==t.queries&&(t.queries.template(t,$),ae.queries=t.queries.embeddedTView($)),$}($,F,b,t,n,i,o,u,p):F.data[$];Bi(ae,!1);const ve=b[11].createComment("");ec(F,b,ve,ae),$i(ve,b),Hl(b,b[$]=sh(ve,b,ve,ae)),er(ae)&&hd(F,b,ae),null!=p&&wu(b,ae,C)}function Nh(e){return function Mr(e,t){return e[t]}(function fl(){return j.lFrame.contextLView}(),R+e)}function Ri(e,t=_e.Default){const n=ht();return null===n?hr(e,t):Oo(jr(),n,Ve(e),t)}function Yi(){throw new Error("invalid")}function ts(e,t,n){const i=ht();return Si(i,ls(),t)&&Ns(qn(),Sn(),i,e,t,i[11],n,!1),ts}function Qr(e,t,n,i,o){const p=o?"class":"style";ks(e,n,t.inputs[p],p,i)}function oo(e,t,n,i){const o=ht(),u=qn(),p=R+e,C=o[11],b=o[p]=ll(C,t,function Ga(){return j.lFrame.currentNamespace}()),F=u.firstCreatePass?function yo(e,t,n,i,o,u,p){const C=t.consts,F=cl(t,e,2,o,T(C,u));return Wi(t,n,F,T(C,p)),null!==F.attrs&&cc(F,F.attrs,!1),null!==F.mergedAttrs&&cc(F,F.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,F),F}(p,u,o,0,t,n,i):u.data[p];Bi(F,!0);const $=F.mergedAttrs;null!==$&&So(C,b,$);const ae=F.classes;null!==ae&&tc(C,b,ae);const ve=F.styles;return null!==ve&&Of(C,b,ve),64!=(64&F.flags)&&ec(u,o,b,F),0===function Pr(){return j.lFrame.elementDepthCount}()&&$i(b,o),function jn(){j.lFrame.elementDepthCount++}(),er(F)&&(hd(u,o,F),qf(u,F,o)),null!==i&&wu(o,F),oo}function xu(){let e=jr();co()?fa():(e=e.parent,Bi(e,!1));const t=e;!function yi(){j.lFrame.elementDepthCount--}();const n=qn();return n.firstCreatePass&&(Gs(n,e),Er(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gl(e){return 0!=(16&e.flags)}(t)&&Qr(n,t,ht(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ca(e){return 0!=(32&e.flags)}(t)&&Qr(n,t,ht(),t.stylesWithoutHost,!1),xu}function Wg(e,t,n,i){return oo(e,t,n,i),xu(),Wg}function Bh(e,t,n){const i=ht(),o=qn(),u=e+R,p=o.firstCreatePass?function vC(e,t,n,i,o){const u=t.consts,p=T(u,i),C=cl(t,e,8,"ng-container",p);return null!==p&&cc(C,p,!0),Wi(t,n,C,T(u,o)),null!==t.queries&&t.queries.elementStart(t,C),C}(u,o,i,t,n):o.data[u];Bi(p,!0);const C=i[u]=i[11].createComment("");return ec(o,i,C,p),$i(C,i),er(p)&&(hd(o,i,p),qf(o,p,i)),null!=n&&wu(i,p),Bh}function Uh(){let e=jr();const t=qn();return co()?fa():(e=e.parent,Bi(e,!1)),t.firstCreatePass&&(Gs(t,e),Er(e)&&t.queries.elementEnd(e)),Uh}function Yg(e,t,n){return Bh(e,t,n),Uh(),Yg}function x_(){return ht()}function Zg(e){return!!e&&"function"==typeof e.then}function O_(e){return!!e&&"function"==typeof e.subscribe}const A_=O_;function qg(e,t,n,i){const o=ht(),u=qn(),p=jr();return function R_(e,t,n,i,o,u,p,C){const b=er(i),$=e.firstCreatePass&&Lo(e),ae=t[8],ve=vd(t);let Ne=!0;if(3&i.type||C){const Lt=jt(i,t),Xt=C?C(Lt):Lt,pt=ve.length,wn=C?pr=>C(xt(pr[i.index])):i.index;if(me(n)){let pr=null;if(!C&&b&&(pr=function CC(e,t,n,i){const o=e.cleanup;if(null!=o)for(let u=0;u<o.length-1;u+=2){const p=o[u];if(p===n&&o[u+1]===i){const C=t[7],b=o[u+2];return C.length>b?C[b]:null}"string"==typeof p&&(u+=2)}return null}(e,t,o,i.index)),null!==pr)(pr.__ngLastListenerFn__||pr).__ngNextListenerFn__=u,pr.__ngLastListenerFn__=u,Ne=!1;else{u=Qg(i,t,ae,u,!1);const Fr=n.listen(Xt,o,u);ve.push(u,Fr),$&&$.push(o,wn,pt,pt+1)}}else u=Qg(i,t,ae,u,!0),Xt.addEventListener(o,u,p),ve.push(u),$&&$.push(o,wn,pt,p)}else u=Qg(i,t,ae,u,!1);const it=i.outputs;let Tt;if(Ne&&null!==it&&(Tt=it[o])){const Lt=Tt.length;if(Lt)for(let Xt=0;Xt<Lt;Xt+=2){const vo=t[Tt[Xt]][Tt[Xt+1]].subscribe(u),Iu=ve.length;ve.push(u,vo),$&&$.push(o,i.index,Iu,-(Iu+1))}}}(u,o,o[11],p,e,t,!!n,i),qg}function N_(e,t,n,i){try{return!1!==n(i)}catch(o){return Cd(e,o),!1}}function Qg(e,t,n,i,o){return function u(p){if(p===Function)return i;const C=2&e.flags?Dr(e.index,t):t;0==(32&t[2])&&_d(C);let b=N_(t,0,i,p),F=u.__ngNextListenerFn__;for(;F;)b=N_(t,0,F,p)&&b,F=F.__ngNextListenerFn__;return o&&!1===b&&(p.preventDefault(),p.returnValue=!1),b}}function F_(e=1){return function Gt(e){return(j.lFrame.contextLView=function Rn(e,t){for(;e>0;)t=t[15],e--;return t}(e,j.lFrame.contextLView))[8]}(e)}function bC(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 o=0;o<t.length;o++){const u=t[o];if("*"!==u){if(null===i?Rf(e,u,!0):Np(i,u))return o}else n=o}return n}function k_(e){const t=ht()[16][6];if(!t.projection){const i=t.projection=xs(e?e.length:1,null),o=i.slice();let u=t.child;for(;null!==u;){const p=e?bC(u,e):0;null!==p&&(o[p]?o[p].projectionNext=u:i[p]=u,o[p]=u),u=u.next}}}function L_(e,t=0,n){const i=ht(),o=qn(),u=cl(o,R+e,16,null,n||null);null===u.projection&&(u.projection=t),fa(),64!=(64&u.flags)&&function Dp(e,t,n){Rs(t[11],0,t,n,Ef(e,n,t),Zc(n.parent||t[6],n,t))}(o,i,u)}function Kg(e,t,n){return Hh(e,"",t,"",n),Kg}function Hh(e,t,n,i,o){const u=ht(),p=La(u,t,n,i);return p!==Un&&Ns(qn(),Sn(),u,e,p,u[11],o,!1),Hh}function W_(e,t,n,i,o){const u=e[n+1],p=null===t;let C=i?mo(u):la(u),b=!1;for(;0!==C&&(!1===b||p);){const $=e[C+1];DC(e[C],t)&&(b=!0,e[C+1]=i?nd($):ic($)),C=i?mo($):la($)}b&&(e[n+1]=i?ic(u):nd(u))}function DC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Zr(e,t)>=0}const Ni={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Y_(e){return e.substring(Ni.key,Ni.keyEnd)}function Z_(e,t){const n=Ni.textEnd;return n===t?-1:(t=Ni.keyEnd=function PC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ni.key=t,n),gc(e,t,n))}function gc(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 o=ht(),u=qn(),p=li(2);u.firstUpdatePass&&ny(u,e,p,i),t!==Un&&Si(o,p,t)&&iy(u,u.data[In()],o,o[11],e,o[p+1]=function VC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=le(zt(e)))),e}(t,n),i,p)}(e,t,null,!0),Jg}function ey(e){ca(Oi,Ua,e,!0)}function Ua(e,t){for(let n=function SC(e){return function Q_(e){Ni.key=0,Ni.keyEnd=0,Ni.value=0,Ni.valueEnd=0,Ni.textEnd=e.length}(e),Z_(e,gc(e,0,Ni.textEnd))}(t);n>=0;n=Z_(t,n))Oi(e,Y_(t),!0)}function ca(e,t,n,i){const o=qn(),u=li(2);o.firstUpdatePass&&ny(o,null,u,i);const p=ht();if(n!==Un&&Si(p,u,n)){const C=o.data[In()];if(oy(C,i)&&!ty(o,u)){let b=i?C.classesWithoutHost:C.stylesWithoutHost;null!==b&&(n=De(b,n||"")),Qr(o,C,p,n,i)}else!function LC(e,t,n,i,o,u,p,C){o===Un&&(o=Wt);let b=0,F=0,$=0<o.length?o[0]:null,ae=0<u.length?u[0]:null;for(;null!==$||null!==ae;){const ve=b<o.length?o[b+1]:void 0,Ne=F<u.length?u[F+1]:void 0;let Tt,it=null;$===ae?(b+=2,F+=2,ve!==Ne&&(it=ae,Tt=Ne)):null===ae||null!==$&&$<ae?(b+=2,it=$):(F+=2,it=ae,Tt=Ne),null!==it&&iy(e,t,n,i,it,Tt,p,C),$=b<o.length?o[b]:null,ae=F<u.length?u[F]:null}}(o,C,p,p[11],p[u+1],p[u+1]=function kC(e,t,n){if(null==n||""===n)return Wt;const i=[],o=zt(n);if(Array.isArray(o))for(let u=0;u<o.length;u++)e(i,o[u],!0);else if("object"==typeof o)for(const u in o)o.hasOwnProperty(u)&&e(i,u,o[u]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,u)}}function ty(e,t){return t>=e.expandoStartIndex}function ny(e,t,n,i){const o=e.data;if(null===o[n+1]){const u=o[In()],p=ty(e,n);oy(u,i)&&null===t&&!p&&(t=!1),t=function IC(e,t,n,i){const o=function wi(e){const t=j.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let u=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=kd(n=Xg(null,e,t,n,i),t.attrs,i),u=null);else{const p=t.directiveStylingLast;if(-1===p||e[p]!==o)if(n=Xg(o,e,t,n,i),null===u){let b=function RC(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==la(i))return e[mo(i)]}(e,t,i);void 0!==b&&Array.isArray(b)&&(b=Xg(null,e,t,b[1],i),b=kd(b,t.attrs,i),function NC(e,t,n,i){e[mo(n?t.classBindings:t.styleBindings)]=i}(e,t,i,b))}else u=function FC(e,t,n){let i;const o=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<o;u++)i=kd(i,e[u].hostAttrs,n);return kd(i,t.attrs,n)}(e,t,i)}return void 0!==u&&(i?t.residualClasses=u:t.residualStyles=u),n}(o,u,t,i),function wC(e,t,n,i,o,u){let p=u?t.classBindings:t.styleBindings,C=mo(p),b=la(p);e[i]=n;let $,F=!1;if(Array.isArray(n)){const ae=n;$=ae[1],(null===$||Zr(ae,$)>0)&&(F=!0)}else $=n;if(o)if(0!==b){const ve=mo(e[C+1]);e[i+1]=rc(ve,C),0!==ve&&(e[ve+1]=td(e[ve+1],i)),e[C+1]=function ed(e,t){return 131071&e|t<<17}(e[C+1],i)}else e[i+1]=rc(C,0),0!==C&&(e[C+1]=td(e[C+1],i)),C=i;else e[i+1]=rc(b,0),0===C?C=i:e[b+1]=td(e[b+1],i),b=i;F&&(e[i+1]=ic(e[i+1])),W_(e,$,i,!0),W_(e,$,i,!1),function EC(e,t,n,i,o){const u=o?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&Zr(u,t)>=0&&(n[i+1]=nd(n[i+1]))}(t,$,e,i,u),p=rc(C,b),u?t.classBindings=p:t.styleBindings=p}(o,u,t,n,p,i)}}function Xg(e,t,n,i,o){let u=null;const p=n.directiveEnd;let C=n.directiveStylingLast;for(-1===C?C=n.directiveStart:C++;C<p&&(u=t[C],i=kd(i,u.hostAttrs,o),u!==e);)C++;return null!==e&&(n.directiveStylingLast=C),i}function kd(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let u=0;u<t.length;u++){const p=t[u];"number"==typeof p?o=p:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Oi(e,p,!!n||t[++u]))}return void 0===e?null:e}function iy(e,t,n,i,o,u,p,C){if(!(3&t.type))return;const b=e.data,F=b[C+1];jh(function Bf(e){return 1==(1&e)}(F)?sy(b,t,n,o,la(F),p):void 0)||(jh(u)||function Vf(e){return 2==(2&e)}(F)&&(u=sy(b,null,n,o,C,p)),function Sp(e,t,n,i,o){const u=me(e);if(t)o?u?e.addClass(n,i):n.classList.add(i):u?e.removeClass(n,i):n.classList.remove(i);else{let p=-1===i.indexOf("-")?void 0:No.DashCase;if(null==o)u?e.removeStyle(n,i,p):n.style.removeProperty(i);else{const C="string"==typeof o&&o.endsWith("!important");C&&(o=o.slice(0,-10),p|=No.Important),u?e.setStyle(n,i,o,p):n.style.setProperty(i,o,C?"important":"")}}}(i,p,Hn(In(),n),o,u))}function sy(e,t,n,i,o,u){const p=null===t;let C;for(;o>0;){const b=e[o],F=Array.isArray(b),$=F?b[1]:b,ae=null===$;let ve=n[o+1];ve===Un&&(ve=ae?Wt:void 0);let Ne=ae?Ja(ve,i):$===i?ve:void 0;if(F&&!jh(Ne)&&(Ne=Ja(b,i)),jh(Ne)&&(C=Ne,p))return C;const it=e[o+1];o=p?mo(it):la(it)}if(null!==t){let b=u?t.residualClasses:t.residualStyles;null!=b&&(C=Ja(b,i))}return C}function jh(e){return void 0!==e}function oy(e,t){return 0!=(e.flags&(t?16:32))}function ay(e,t=""){const n=ht(),i=qn(),o=e+R,u=i.firstCreatePass?cl(i,o,1,t,null):i.data[o],p=n[o]=function $c(e,t){return me(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ec(i,n,p,u),Bi(u,!1)}function em(e){return $h("",e,""),em}function $h(e,t,n){const i=ht(),o=La(i,e,t,n);return o!==Un&&Vo(i,In(),o),$h}function tm(e,t,n,i,o){const u=ht(),p=Yl(u,e,t,n,i,o);return p!==Un&&Vo(u,In(),p),tm}function gy(e,t,n){ca(Oi,Ua,La(ht(),e,t,n),!0)}function nm(e,t,n){const i=ht();return Si(i,ls(),t)&&Ns(qn(),Sn(),i,e,t,i[11],n,!0),nm}const Ou=void 0;var r0=["en",[["a","p"],["AM","PM"],Ou],[["AM","PM"],Ou,Ou],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ou,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ou,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ou,"{1} 'at' {0}",Ou],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function n0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let mc={};function rm(e){const t=function s0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ty(t);if(n)return n;const i=t.split("-")[0];if(n=Ty(i),n)return n;if("en"===i)return r0;throw new Error(`Missing locale data for the locale "${e}".`)}function Sy(e){return rm(e)[An.PluralCase]}function Ty(e){return e in mc||(mc[e]=rn.ng&&rn.ng.common&&rn.ng.common.locales&&rn.ng.common.locales[e]),mc[e]}var An=(()=>((An=An||{})[An.LocaleId=0]="LocaleId",An[An.DayPeriodsFormat=1]="DayPeriodsFormat",An[An.DayPeriodsStandalone=2]="DayPeriodsStandalone",An[An.DaysFormat=3]="DaysFormat",An[An.DaysStandalone=4]="DaysStandalone",An[An.MonthsFormat=5]="MonthsFormat",An[An.MonthsStandalone=6]="MonthsStandalone",An[An.Eras=7]="Eras",An[An.FirstDayOfWeek=8]="FirstDayOfWeek",An[An.WeekendRange=9]="WeekendRange",An[An.DateFormat=10]="DateFormat",An[An.TimeFormat=11]="TimeFormat",An[An.DateTimeFormat=12]="DateTimeFormat",An[An.NumberSymbols=13]="NumberSymbols",An[An.NumberFormats=14]="NumberFormats",An[An.CurrencyCode=15]="CurrencyCode",An[An.CurrencySymbol=16]="CurrencySymbol",An[An.CurrencyName=17]="CurrencyName",An[An.Currencies=18]="Currencies",An[An.Directionality=19]="Directionality",An[An.PluralCase=20]="PluralCase",An[An.ExtraData=21]="ExtraData",An))();const Gh="en-US";let Py=Gh;function om(e,t,n,i,o){if(e=Ve(e),Array.isArray(e))for(let u=0;u<e.length;u++)om(e[u],t,n,i,o);else{const u=qn(),p=ht();let C=Gl(e)?e:Ve(e.provide),b=fh(e);const F=jr(),$=1048575&F.providerIndexes,ae=F.directiveStart,ve=F.providerIndexes>>20;if(Gl(e)||!e.multi){const Ne=new Zo(b,o,Ri),it=lm(C,t,o?$:$+ve,ae);-1===it?(qa(Wr(F,p),u,C),am(u,e,t.length),t.push(C),F.directiveStart++,F.directiveEnd++,o&&(F.providerIndexes+=1048576),n.push(Ne),p.push(Ne)):(n[it]=Ne,p[it]=Ne)}else{const Ne=lm(C,t,$+ve,ae),it=lm(C,t,$,$+ve),Tt=Ne>=0&&n[Ne],Lt=it>=0&&n[it];if(o&&!Lt||!o&&!Tt){qa(Wr(F,p),u,C);const Xt=function rb(e,t,n,i,o){const u=new Zo(e,n,Ri);return u.multi=[],u.index=t,u.componentProviders=0,Jy(u,o,i&&!n),u}(o?nb:tb,n.length,o,i,b);!o&&Lt&&(n[it].providerFactory=Xt),am(u,e,t.length,0),t.push(C),F.directiveStart++,F.directiveEnd++,o&&(F.providerIndexes+=1048576),n.push(Xt),p.push(Xt)}else am(u,e,Ne>-1?Ne:it,Jy(n[o?it:Ne],b,!o&&i));!o&&i&&Lt&&n[it].componentProviders++}}}function am(e,t,n,i){const o=Gl(t),u=function gg(e){return!!e.useClass}(t);if(o||u){const b=(u?Ve(t.useClass):t).prototype.ngOnDestroy;if(b){const F=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const $=F.indexOf(n);-1===$?F.push(n,[i,b]):F[$+1].push(i,b)}else F.push(n,b)}}}function Jy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function lm(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function tb(e,t,n,i){return um(this.multi,[])}function nb(e,t,n,i){const o=this.multi;let u;if(this.providerFactory){const p=this.providerFactory.componentProviders,C=Xo(n,n[1],this.providerFactory.index,i);u=C.slice(0,p),um(o,u);for(let b=p;b<C.length;b++)u.push(C[b])}else u=[],um(o,u);return u}function um(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Xy(e,t=[]){return n=>{n.providersResolver=(i,o)=>function eb(e,t,n){const i=qn();if(i.firstCreatePass){const o=dr(e);om(n,i.data,i.blueprint,o,!0),om(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class ev{}class ob{resolveComponentFactory(t){throw function sb(e){const t=Error(`No component factory found for ${le(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let qh=(()=>{class e{}return e.NULL=new ob,e})();function ab(){return yc(jr(),ht())}function yc(e,t){return new Hd(jt(e,t))}let Hd=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ab,e})();function lb(e){return e instanceof Hd?e.nativeElement:e}class nv{}let ub=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function db(){const e=ht(),n=Dr(jr().index,e);return function cb(e){return e[11]}(sn(n)?n:e)}(),e})(),fb=(()=>{class e{}return e.\u0275prov=ur({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 hb=new rv("13.3.11"),cm={};function Qh(e,t,n,i,o=!1){for(;null!==n;){const u=t[n.index];if(null!==u&&i.push(xt(u)),Bn(u))for(let C=10;C<u.length;C++){const b=u[C],F=b[1].firstChild;null!==F&&Qh(b[1],b,F,i)}const p=n.type;if(8&p)Qh(e,t,n.child,i);else if(32&p){const C=Bc(n,t);let b;for(;b=C();)i.push(b)}else if(16&p){const C=Pf(t,n);if(Array.isArray(C))i.push(...C);else{const b=kl(t[16]);Qh(b[1],b,C,i,!0)}}n=o?n.projectionNext:n.next}return i}class jd{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 Qh(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(Bn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(zc(t,i),Ks(n,i))}this._attachedToViewContainer=!1}Wc(this._lView[1],this._lView)}onDestroy(t){Jf(this._lView[1],this._lView,null,t)}markForCheck(){_d(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function es(e,t,n){const i=t[10];i.begin&&i.begin();try{Ul(e,t,e.template,n)}catch(o){throw Cd(t,o),o}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new He(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function bf(e,t){yu(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new He(902,"");this._appRef=t}}class pb extends jd{constructor(t){super(t),this._view=t}detectChanges(){dl(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 dm(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 dm 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,o){const u=(o=o||this.ngModule)?function mb(e,t){return{get:(n,i,o)=>{const u=e.get(n,cm,o);return u!==cm||i===cm?u:t.get(n,i,o)}}}(t,o.injector):t,p=u.get(nv,Ge),C=u.get(fb,null),b=p.createRenderer(null,this.componentDef),F=this.componentDef.selectors[0][0]||"div",$=i?function Kf(e,t,n){if(me(e))return e.selectRootElement(t,n===Ft.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(b,i,this.componentDef.encapsulation):ll(p.createRenderer(null,this.componentDef),F,function gb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(F)),ae=this.componentDef.onPush?576:528,ve=function Eh(e,t){return{components:[],scheduler:e||mp,clean:ag,playerHandler:t||null,flags:0}}(),Ne=uc(0,null,null,1,0,null,null,null,null,null),it=Vl(null,Ne,ve,ae,null,null,p,b,C,u);let Tt,Lt;ja(it);try{const Xt=function bh(e,t,n,i,o,u){const p=n[1];n[20]=e;const b=cl(p,20,2,"#host",null),F=b.mergedAttrs=t.hostAttrs;null!==F&&(cc(b,F,!0),null!==e&&(So(o,e,F),null!==b.classes&&tc(o,e,b.classes),null!==b.styles&&Of(o,e,b.styles)));const $=i.createRenderer(e,t),ae=Vl(n,pd(t),null,t.onPush?64:16,n[20],b,i,$,u||null,null);return p.firstCreatePass&&(qa(Wr(b,n),p,t.type),th(p,b),nh(b,n.length,1)),Hl(n,ae),n[20]=ae}($,this.componentDef,it,p,b);if($)if(i)So(b,$,["ng-version",hb.full]);else{const{attrs:pt,classes:wn}=function Lp(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let u=e[i];if("string"==typeof u)2===o?""!==u&&t.push(u,e[++i]):8===o&&n.push(u);else{if(!go(o))break;o=u}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);pt&&So(b,$,pt),wn&&wn.length>0&&tc(b,$,wn.join(" "))}if(Lt=rr(Ne,R),void 0!==n){const pt=Lt.projection=[];for(let wn=0;wn<this.ngContentSelectors.length;wn++){const pr=n[wn];pt.push(null!=pr?Array.from(pr):null)}}Tt=function wh(e,t,n,i,o){const u=n[1],p=function Xp(e,t,n){const i=jr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ko(e,i,t,Bl(e,t,1,null),n));const o=Xo(t,e,i.directiveStart,i);$i(o,t);const u=jt(i,t);return u&&$i(u,t),o}(u,n,t);if(i.components.push(p),e[8]=p,o&&o.forEach(b=>b(p,t)),t.contentQueries){const b=jr();t.contentQueries(1,p,b.directiveStart)}const C=jr();return!u.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(xr(C.index),ti(n[1],C,0,C.directiveStart,C.directiveEnd,t),eh(t,p)),p}(Xt,this.componentDef,it,ve,[Mg]),Cu(Ne,it,null)}finally{We()}return new yb(this.componentType,Tt,yc(Lt,it),it,Lt)}}class yb extends class ib{}{constructor(t,n,i,o,u){super(),this.location=i,this._rootLView=o,this._tNode=u,this.instance=n,this.hostView=this.changeDetectorRef=new pb(o),this.componentType=t}get injector(){return new Zs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class vc{}class ov{}const Cc=new Map;class uv extends vc{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new iv(this);const i=Ht(t);this._bootstrapComponents=Ro(i.bootstrap),this._r3Injector=dh(t,n,[{provide:vc,useValue:this},{provide:qh,useValue:this.componentFactoryResolver}],le(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Bo.THROW_IF_NOT_FOUND,i=_e.Default){return t===Bo||t===vc||t===$l?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 fm extends ov{constructor(t){super(),this.moduleType=t,null!==Ht(t)&&function Cb(e){const t=new Set;!function n(i){const o=Ht(i,!0),u=o.id;null!==u&&(function av(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${le(t)} vs ${le(t.name)}`)}(u,Cc.get(u),i),Cc.set(u,i));const p=Ro(o.imports);for(const C of p)t.has(C)||(t.add(C),n(C))}(e)}(t)}create(t){return new uv(this.moduleType,t)}}function cv(e,t,n){const i=ei()+e,o=ht();return o[i]===Un?Uo(o,i,n?t.call(n):t()):function Tu(e,t){return e[t]}(o,i)}function dv(e,t,n,i){return function pv(e,t,n,i,o,u){const p=t+n;return Si(e,p,o)?Uo(e,p+1,u?i.call(u,o):i(o)):$d(e,p+1)}(ht(),ei(),e,t,n,i)}function fv(e,t,n,i,o){return function gv(e,t,n,i,o,u,p){const C=t+n;return ka(e,C,o,u)?Uo(e,C+2,p?i.call(p,o,u):i(o,u)):$d(e,C+2)}(ht(),ei(),e,t,n,i,o)}function hv(e,t,n,i,o,u){return function mv(e,t,n,i,o,u,p,C){const b=t+n;return function Pu(e,t,n,i,o){const u=ka(e,t,n,i);return Si(e,t+2,o)||u}(e,b,o,u,p)?Uo(e,b+3,C?i.call(C,o,u,p):i(o,u,p)):$d(e,b+3)}(ht(),ei(),e,t,n,i,o,u)}function $d(e,t){const n=e[t];return n===Un?void 0:n}function hm(e){return t=>{setTimeout(e,void 0,t)}}const Ha=class Nb extends s.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,u=n||(()=>null),p=i;if(t&&"object"==typeof t){const b=t;o=b.next?.bind(b),u=b.error?.bind(b),p=b.complete?.bind(b)}this.__isAsync&&(u=hm(u),o&&(o=hm(o)),p&&(p=hm(p)));const C=super.subscribe({next:o,error:u,complete:p});return t instanceof h.w&&t.add(C),C}};function Fb(){return this._results[zl()]()}class pm{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=zl(),i=pm.prototype;i[n]||(i[n]=Fb)}get changes(){return this._changes||(this._changes=new Ha)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const o=us(t);(this._changesDetected=!function vl(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],u=t[i];if(n&&(o=n(o),u=n(u)),u!==o)return!1}return!0}(i._results,o,n))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let zd=(()=>{class e{}return e.__NG_ELEMENT_ID__=Vb,e})();const kb=zd,Lb=class extends kb{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=Vl(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)),Cu(n,i,t),new jd(i)}};function Vb(){return Kh(jr(),ht())}function Kh(e,t){return 4&e.type?new Lb(t,e,yc(e,t)):null}let Jh=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bb,e})();function Bb(){return bv(jr(),ht())}const Ub=Jh,vv=class extends Ub{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return yc(this._hostTNode,this._hostLView)}get injector(){return new Zs(this._hostTNode,this._hostLView)}get parentInjector(){const t=Po(this._hostTNode,this._hostLView);if(ru(t)){const n=Ss(t,this._hostLView),i=Qo(t);return new Zs(n[1].data[i+8],n)}return new Zs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Cv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const o=t.createEmbeddedView(n||{});return this.insert(o,i),o}createComponent(t,n,i,o,u){const p=t&&!function si(e){return"function"==typeof e}(t);let C;if(p)C=n;else{const ae=n||{};C=ae.index,i=ae.injector,o=ae.projectableNodes,u=ae.ngModuleRef}const b=p?t:new dm(de(t)),F=i||this.parentInjector;if(!u&&null==b.ngModule){const ve=(p?F:this.parentInjector).get(vc,null);ve&&(u=ve)}const $=b.create(F,o,void 0,u);return this.insert($.hostView,C),$}insert(t,n){const i=t._lView,o=i[1];if(function _i(e){return Bn(e[3])}(i)){const $=this.indexOf(t);if(-1!==$)this.detach($);else{const ae=i[3],ve=new vv(ae,ae[6],ae[3]);ve.detach(ve.indexOf(t))}}const u=this._adjustIndex(n),p=this._lContainer;!function wf(e,t,n,i){const o=10+i,u=n.length;i>0&&(n[o-1][4]=t),i<u-10?(t[4]=n[o],ku(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const p=t[17];null!==p&&n!==p&&function Fo(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(p,t);const C=t[19];null!==C&&C.insertView(e),t[2]|=128}(o,i,p,u);const C=Jc(u,p),b=i[11],F=Xu(b,p[7]);return null!==F&&function Cf(e,t,n,i,o,u){i[0]=o,i[6]=t,yu(e,i,n,1,o,u)}(o,p[6],b,i,F,C),t.attachToViewContainerRef(),ku(gm(p),u,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Cv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=zc(this._lContainer,n);i&&(Ks(gm(this._lContainer),n),Wc(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=zc(this._lContainer,n);return i&&null!=Ks(gm(this._lContainer),n)?new jd(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cv(e){return e[8]}function gm(e){return e[8]||(e[8]=[])}function bv(e,t){let n;const i=t[e.index];if(Bn(i))n=i;else{let o;if(8&e.type)o=xt(i);else{const u=t[11];o=u.createComment("");const p=jt(e,t);ul(u,Xu(u,p),o,function Ep(e,t){return me(e)?e.nextSibling(t):t.nextSibling}(u,p),!1)}t[e.index]=n=sh(i,t,o,e),Hl(t,n)}return new vv(n,e,t)}class mm{constructor(t){this.queryList=t,this.matches=null}clone(){return new mm(this.queryList)}setDirty(){this.queryList.setDirty()}}class _m{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let u=0;u<i;u++){const p=n.getByIndex(u);o.push(this.queries[p.indexInDeclarationView].clone())}return new _m(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Ov(t,n).matches&&this.queries[n].setDirty()}}class wv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class ym{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const o=null!==n?n.length:0,u=this.getByIndex(i).embeddedTView(t,o);u&&(u.indexInDeclarationView=i,null!==n?n.push(u):n=[u])}return null!==n?new ym(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 vm{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 vm(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const u=i[o];this.matchTNodeWithReadOption(t,n,$b(n,u)),this.matchTNodeWithReadOption(t,n,Ys(n,t,u,!1,!1))}else i===zd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ys(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Hd||o===Jh||o===zd&&4&n.type)this.addMatch(n.index,-2);else{const u=Ys(n,t,o,!1,!1);null!==u&&this.addMatch(n.index,u)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function $b(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 zb(e,t,n,i){return-1===n?function Gb(e,t){return 11&e.type?yc(e,t):4&e.type?Kh(e,t):null}(t,e):-2===n?function Wb(e,t,n){return n===Hd?yc(t,e):n===zd?Kh(t,e):n===Jh?bv(t,e):void 0}(e,t,i):Xo(e,e[1],n,t)}function Ev(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const u=e.data,p=n.matches,C=[];for(let b=0;b<p.length;b+=2){const F=p[b];C.push(F<0?null:zb(t,u[F],p[b+1],n.metadata.read))}o.matches=C}return o.matches}function Cm(e,t,n,i){const o=e.queries.getByIndex(n),u=o.matches;if(null!==u){const p=Ev(e,t,o,n);for(let C=0;C<u.length;C+=2){const b=u[C];if(b>0)i.push(p[C/2]);else{const F=u[C+1],$=t[-b];for(let ae=10;ae<$.length;ae++){const ve=$[ae];ve[17]===ve[3]&&Cm(ve[1],ve,F,i)}if(null!==$[9]){const ae=$[9];for(let ve=0;ve<ae.length;ve++){const Ne=ae[ve];Cm(Ne[1],Ne,F,i)}}}}}return i}function Dv(e){const t=ht(),n=qn(),i=$s();ga(i+1);const o=Ov(n,i);if(e.dirty&&mi(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const u=o.crossesNgTemplate?Cm(n,t,i,[]):Ev(n,t,o,i);e.reset(u,lb),e.notifyOnChanges()}return!0}return!1}function Mv(e,t,n){const i=qn();i.firstCreatePass&&(xv(i,new wv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Pv(i,ht(),t)}function Sv(e,t,n,i){const o=qn();if(o.firstCreatePass){const u=jr();xv(o,new wv(t,n,i),u.index),function Zb(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}Pv(o,ht(),n)}function Tv(){return function Yb(e,t){return e[19].queries[t].queryList}(ht(),$s())}function Pv(e,t,n){const i=new pm(4==(4&n));Jf(e,t,i,i.destroy),null===t[19]&&(t[19]=new _m),t[19].queries.push(new mm(i))}function xv(e,t,n){null===e.queries&&(e.queries=new ym),e.queries.track(new vm(t,n))}function Ov(e,t){return e.queries.getByIndex(t)}function Av(e,t){return Kh(e,t)}function tp(...e){}const Zv=new oe("Application Initializer");let Sm=(()=>{class e{constructor(n){this.appInits=n,this.resolve=tp,this.reject=tp,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const u=this.appInits[o]();if(Zg(u))n.push(u);else if(A_(u)){const p=new Promise((C,b)=>{u.subscribe({complete:C,error:b})});n.push(p)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(hr(Zv,8))},e.\u0275prov=ur({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const qv=new oe("AppId",{providedIn:"root",factory:function Qv(){return`${Tm()}${Tm()}${Tm()}`}});function Tm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kv=new oe("Platform Initializer"),dw=new oe("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jv=new oe("appBootstrapListener");let fw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ur({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Pm=new oe("LocaleId",{providedIn:"root",factory:()=>ju(Pm,_e.Optional|_e.SkipSelf)||function hw(){return typeof $localize<"u"&&$localize.locale||Gh}()}),pw=new oe("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class gw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let mw=(()=>{class e{compileModuleSync(n){return new fm(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),u=Ro(Ht(n).declarations).reduce((p,C)=>{const b=de(C);return b&&p.push(new dm(b)),p},[]);return new gw(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=ur({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const yw=(()=>Promise.resolve(0))();function xm(e){typeof Zone>"u"?yw.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 Ha(!1),this.onMicrotaskEmpty=new Ha(!1),this.onStable=new Ha(!1),this.onError=new Ha(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function vw(){let e=rn.requestAnimationFrame,t=rn.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 ww(e){const t=()=>{!function bw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(rn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Am(e),e.isCheckStableRunning=!0,Om(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Am(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,u,p,C)=>{try{return Xv(e),n.invokeTask(o,u,p,C)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),eC(e)}},onInvoke:(n,i,o,u,p,C,b)=>{try{return Xv(e),n.invoke(o,u,p,C,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),eC(e)}},onHasTask:(n,i,o,u)=>{n.hasTask(o,u),i===o&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Am(e),Om(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,i,o,u)=>(n.handleError(o,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!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,o){const u=this._inner,p=u.scheduleEventTask("NgZoneEvent: "+o,t,Cw,tp,tp);try{return u.runTask(p,n,i)}finally{u.cancelTask(p)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Cw={};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 Am(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eC(e){e._nesting--,Om(e)}class Ew{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ha,this.onMicrotaskEmpty=new Ha,this.onStable=new Ha,this.onError=new Ha}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}let tC=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{da.assertNotInAngularZone(),xm(()=>{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())xm(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let u=-1;i&&i>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==u),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(hr(da))},e.\u0275prov=ur({token:e,factory:e.\u0275fac}),e})(),Dw=(()=>{class e{constructor(){this._applications=new Map,Im.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 Im.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ur({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class Mw{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function Sw(e){Im=e}let Im=new Mw,Yd=null;const nC=new oe("AllowMultipleToken"),rC=new oe("PlatformOnDestroy");class xw{constructor(t,n){this.name=t,this.token=n}}function iC(e,t,n=[]){const i=`Platform: ${t}`,o=new oe(i);return(u=[])=>{let p=Rm();if(!p||p.injector.get(nC,!1)){const C=[...n,...u,{provide:o,useValue:!0}];e?e(C):function Ow(e){if(Yd&&!Yd.get(nC,!1))throw new He(400,"");Yd=e;const t=e.get(sC),n=e.get(Kv,null);n&&n.forEach(i=>i())}(function Iw(e=[],t){return Bo.create({name:t,providers:[{provide:bd,useValue:"platform"},{provide:rC,useValue:()=>Yd=null},...e]})}(C,i))}return function Aw(e){const t=Rm();if(!t)throw new He(401,"");return t}()}}function Rm(){return Yd?.get(sC)??null}let sC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const C=function Rw(e,t){let n;return n="noop"===e?new Ew:("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}),b=[{provide:da,useValue:C}];return C.run(()=>{const F=Bo.create({providers:b,parent:this.injector,name:n.moduleType.name}),$=n.create(F),ae=$.injector.get(sl,null);if(!ae)throw new He(402,"");return C.runOutsideAngular(()=>{const ve=C.onError.subscribe({next:Ne=>{ae.handleError(Ne)}});$.onDestroy(()=>{Fm(this._modules,$),ve.unsubscribe()})}),function Nw(e,t,n){try{const i=n();return Zg(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(ae,C,()=>{const ve=$.injector.get(Sm);return ve.runInitializers(),ve.donePromise.then(()=>(function u0(e){Dn(e,"Expected localeId to be defined"),"string"==typeof e&&(Py=e.toLowerCase().replace(/_/g,"-"))}($.injector.get(Pm,Gh)||Gh),this._moduleDoBootstrap($),$))})})}bootstrapModule(n,i=[]){const o=oC({},i);return function Tw(e,t,n){const i=new fm(n);return Promise.resolve(i)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,o))}_moduleDoBootstrap(n){const i=n.injector.get(Nm);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new He(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 He(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(rC,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(hr(Bo))},e.\u0275prov=ur({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function oC(e,t){return Array.isArray(t)?t.reduce(oC,e):{...e,...t}}let Nm=(()=>{class e{constructor(n,i,o,u){this._zone=n,this._injector=i,this._exceptionHandler=o,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const p=new L.y(b=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{b.next(this._stable),b.complete()})}),C=new L.y(b=>{let F;this._zone.runOutsideAngular(()=>{F=this._zone.onStable.subscribe(()=>{da.assertNotInAngularZone(),xm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,b.next(!0))})})});const $=this._zone.onUnstable.subscribe(()=>{da.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{b.next(!1)}))});return()=>{F.unsubscribe(),$.unsubscribe()}});this.isStable=(0,V.T)(p,C.pipe(function k(){return e=>(0,U.x)()(function I(e,t){return function(i){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new B(o,t));const u=Object.create(i,A.N);return u.source=i,u.subjectFactory=o,u}}(ee)(e))}()))}bootstrap(n,i){if(!this._initStatus.done)throw new He(405,"");let o;o=n instanceof ev?n:this._injector.get(qh).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const u=function Pw(e){return e.isBoundToModule}(o)?void 0:this._injector.get(vc),C=o.create(Bo.NULL,[],i||o.selector,u),b=C.location.nativeElement,F=C.injector.get(tC,null),$=F&&C.injector.get(Dw);return F&&$&&$.registerApplication(b,F),C.onDestroy(()=>{this.detachView(C.hostView),Fm(this.components,C),$&&$.unregisterApplication(b)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new He(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;Fm(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Jv,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(hr(da),hr(Bo),hr(sl),hr(Sm))},e.\u0275prov=ur({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Fm(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let lC=!0,uC=!1;function kw(){return uC=!0,lC}function Lw(){if(uC)throw new Error("Cannot enable prod mode after platform setup.");lC=!1}let Vw=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bw,e})();function Bw(e){return function Uw(e,t,n){if(vr(e)&&!n){const i=Dr(e.index,t);return new jd(i,i)}return 47&e.type?new jd(t[16],t):null}(jr(),ht(),16==(16&e))}class hC{constructor(){}supports(t){return Su(t)}create(t){return new Ww(t)}}const zw=(e,t)=>t;class Ww{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||zw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,u=null;for(;n||i;){const p=!i||n&&n.currentIndex<gC(i,o,u)?n:i,C=gC(p,o,u),b=p.currentIndex;if(p===i)o--,i=i._nextRemoved;else if(n=n._next,null==p.previousIndex)o++;else{u||(u=[]);const F=C-o,$=b-o;if(F!=$){for(let ve=0;ve<F;ve++){const Ne=ve<u.length?u[ve]:u[ve]=0,it=Ne+ve;$<=it&&it<F&&(u[ve]=Ne+1)}u[p.previousIndex]=$-F}}C!==b&&t(p,C,b)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Su(t))throw new He(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,u,p,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let C=0;C<this.length;C++)u=t[C],p=this._trackByFn(C,u),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,u,p,C)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,p,C),i=!0),n=n._next}else o=0,function Fg(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[zl()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,C=>{p=this._trackByFn(o,C),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,C,p,o)),Object.is(n.item,C)||this._addIdentityChange(n,C)):(n=this._mismatch(n,C,p,o),i=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,o){let u;return null===t?u=this._itTail:(u=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,u,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,o)):t=this._addAfter(new Yw(n,i),u,o),t}_verifyReinsertion(t,n,i,o){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==u?t=this._reinsertAfter(u,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,u=t._nextRemoved;return null===o?this._removalsHead=u:o._nextRemoved=u,null===u?this._removalsTail=o:u._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new pC),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new pC),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Yw{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Zw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class pC{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Zw,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gC(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class mC{constructor(){}supports(t){return t instanceof Map||Ad(t)}create(){return new qw}}class qw{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||Ad(t)))throw new He(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,u)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const u=o._prev,p=o._next;return u&&(u._next=p),p&&(p._prev=u),o._next=null,o._prev=null,o}const i=new Qw(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 Qw{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function _C(){return new Um([new hC])}let Um=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||_C()),deps:[[e,new G,new _]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new He(901,"")}}return e.\u0275prov=ur({token:e,providedIn:"root",factory:_C}),e})();function yC(){return new Hm([new mC])}let Hm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||yC()),deps:[[e,new G,new _]]}}find(n){const i=this.factories.find(u=>u.supports(n));if(i)return i;throw new He(901,"")}}return e.\u0275prov=ur({token:e,providedIn:"root",factory:yC}),e})();const Xw=iC(null,"core",[]);let eE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(hr(Nm))},e.\u0275mod=Oe({type:e}),e.\u0275inj=wr({}),e})()},4719:(Z,N,y)=>{"use strict";y.d(N,{Wl:()=>De,Fj:()=>Vt,NI:()=>gi,u:()=>Li,cw:()=>Gn,sg:()=>ns,u5:()=>Mr,JU:()=>q,JJ:()=>pe,JL:()=>_e,F:()=>z,On:()=>Er,_:()=>ao,UX:()=>Dr,kI:()=>Et,_Y:()=>vr});var s=y(5062),h=y(6895),L=y(2916),V=y(6688),A=y(4850),I=y(7830),B=y(5254);function ee(T,M){return new L.y(w=>{const j=T.length;if(0===j)return void w.complete();const Xe=new Array(j);let on=0,Pr=0;for(let jn=0;jn<j;jn++){const yi=(0,B.D)(T[jn]);let qi=!1;w.add(yi.subscribe({next:xi=>{qi||(qi=!0,Pr++),Xe[jn]=xi},error:xi=>w.error(xi),complete:()=>{on++,(on===j||!qi)&&(Pr===j&&w.next(M?M.reduce((xi,bs,ht)=>(xi[bs]=Xe[ht],xi),{}):Xe),w.complete())}}))}})}let k=(()=>{class T{constructor(w,j){this._renderer=w,this._elementRef=j,this.onChange=Xe=>{},this.onTouched=()=>{}}setProperty(w,j){this._renderer.setProperty(this._elementRef.nativeElement,w,j)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}}return T.\u0275fac=function(w){return new(w||T)(s.Y36(s.Qsj),s.Y36(s.SBq))},T.\u0275dir=s.lG2({type:T}),T})(),Y=(()=>{class T extends k{}return T.\u0275fac=function(){let M;return function(j){return(M||(M=s.n5z(T)))(j||T)}}(),T.\u0275dir=s.lG2({type:T,features:[s.qOj]}),T})();const q=new s.OlP("NgValueAccessor"),le={provide:q,useExisting:(0,s.Gpc)(()=>De),multi:!0};let De=(()=>{class T extends Y{writeValue(w){this.setProperty("checked",w)}}return T.\u0275fac=function(){let M;return function(j){return(M||(M=s.n5z(T)))(j||T)}}(),T.\u0275dir=s.lG2({type:T,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(w,j){1&w&&s.NdJ("change",function(on){return j.onChange(on.target.checked)})("blur",function(){return j.onTouched()})},features:[s._Bn([le]),s.qOj]}),T})();const be={provide:q,useExisting:(0,s.Gpc)(()=>Vt),multi:!0},Ve=new s.OlP("CompositionEventMode");let Vt=(()=>{class T extends k{constructor(w,j,Xe){super(w,j),this._compositionMode=Xe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Fe(){const T=(0,h.q)()?(0,h.q)().getUserAgent():"";return/android (\d+)/.test(T.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 T.\u0275fac=function(w){return new(w||T)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Ve,8))},T.\u0275dir=s.lG2({type:T,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,j){1&w&&s.NdJ("input",function(on){return j._handleInput(on.target.value)})("blur",function(){return j.onTouched()})("compositionstart",function(){return j._compositionStart()})("compositionend",function(on){return j._compositionEnd(on.target.value)})},features:[s._Bn([be]),s.qOj]}),T})();function Ze(T){return null==T||0===T.length}function He(T){return null!=T&&"number"==typeof T.length}const rt=new s.OlP("NgValidators"),Ce=new s.OlP("NgAsyncValidators"),wt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Et{static min(M){return function un(T){return M=>{if(Ze(M.value)||Ze(T))return null;const w=parseFloat(M.value);return!isNaN(w)&&w<T?{min:{min:T,actual:M.value}}:null}}(M)}static max(M){return function Kt(T){return M=>{if(Ze(M.value)||Ze(T))return null;const w=parseFloat(M.value);return!isNaN(w)&&w>T?{max:{max:T,actual:M.value}}:null}}(M)}static required(M){return function qt(T){return Ze(T.value)?{required:!0}:null}(M)}static requiredTrue(M){return function ge(T){return!0===T.value?null:{required:!0}}(M)}static email(M){return function lt(T){return Ze(T.value)||wt.test(T.value)?null:{email:!0}}(M)}static minLength(M){return function Dt(T){return M=>Ze(M.value)||!He(M.value)?null:M.value.length<T?{minlength:{requiredLength:T,actualLength:M.value.length}}:null}(M)}static maxLength(M){return function qe(T){return M=>He(M.value)&&M.value.length>T?{maxlength:{requiredLength:T,actualLength:M.value.length}}:null}(M)}static pattern(M){return function Ke(T){if(!T)return En;let M,w;return"string"==typeof T?(w="","^"!==T.charAt(0)&&(w+="^"),w+=T,"$"!==T.charAt(T.length-1)&&(w+="$"),M=new RegExp(w)):(w=T.toString(),M=T),j=>{if(Ze(j.value))return null;const Xe=j.value;return M.test(Xe)?null:{pattern:{requiredPattern:w,actualValue:Xe}}}}(M)}static nullValidator(M){return null}static compose(M){return kr(M)}static composeAsync(M){return an(M)}}function En(T){return null}function en(T){return null!=T}function Vn(T){const M=(0,s.QGY)(T)?(0,B.D)(T):T;return(0,s.CqO)(M),M}function gr(T){let M={};return T.forEach(w=>{M=null!=w?{...M,...w}:M}),0===Object.keys(M).length?null:M}function Ln(T,M){return M.map(w=>w(T))}function Yn(T){return T.map(M=>function mr(T){return!T.validate}(M)?M:w=>M.validate(w))}function kr(T){if(!T)return null;const M=T.filter(en);return 0==M.length?null:function(w){return gr(Ln(w,M))}}function Dn(T){return null!=T?kr(Yn(T)):null}function an(T){if(!T)return null;const M=T.filter(en);return 0==M.length?null:function(w){return function U(...T){if(1===T.length){const M=T[0];if((0,V.k)(M))return ee(M,null);if((0,I.K)(M)&&Object.getPrototypeOf(M)===Object.prototype){const w=Object.keys(M);return ee(w.map(j=>M[j]),w)}}if("function"==typeof T[T.length-1]){const M=T.pop();return ee(T=1===T.length&&(0,V.k)(T[0])?T[0]:T,null).pipe((0,A.U)(w=>M(...w)))}return ee(T,null)}(Ln(w,M).map(Vn)).pipe((0,A.U)(gr))}}function Sr(T){return null!=T?an(Yn(T)):null}function Qn(T,M){return null===T?[M]:Array.isArray(T)?[...T,M]:[T,M]}function Xn(T){return T._rawValidators}function ur(T){return T._rawAsyncValidators}function Kr(T){return T?Array.isArray(T)?T:[T]:[]}function wr(T,M){return Array.isArray(T)?T.includes(M):T===M}function Br(T,M){const w=Kr(M);return Kr(T).forEach(Xe=>{wr(w,Xe)||w.push(Xe)}),w}function Tr(T,M){return Kr(M).filter(w=>!wr(T,w))}class Ur{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(M){this._rawValidators=M||[],this._composedValidatorFn=Dn(this._rawValidators)}_setAsyncValidators(M){this._rawAsyncValidators=M||[],this._composedAsyncValidatorFn=Sr(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(M){this._onDestroyCallbacks.push(M)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(M=>M()),this._onDestroyCallbacks=[]}reset(M){this.control&&this.control.reset(M)}hasError(M,w){return!!this.control&&this.control.hasError(M,w)}getError(M,w){return this.control?this.control.getError(M,w):null}}class _r extends Ur{get formDirective(){return null}get path(){return null}}class or extends Ur{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class pi{constructor(M){this._cd=M}is(M){return"submitted"===M?!!this._cd?.submitted:!!this._cd?.control?.[M]}}let pe=(()=>{class T extends pi{constructor(w){super(w)}}return T.\u0275fac=function(w){return new(w||T)(s.Y36(or,2))},T.\u0275dir=s.lG2({type:T,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(w,j){2&w&&s.ekj("ng-untouched",j.is("untouched"))("ng-touched",j.is("touched"))("ng-pristine",j.is("pristine"))("ng-dirty",j.is("dirty"))("ng-valid",j.is("valid"))("ng-invalid",j.is("invalid"))("ng-pending",j.is("pending"))},features:[s.qOj]}),T})(),_e=(()=>{class T extends pi{constructor(w){super(w)}}return T.\u0275fac=function(w){return new(w||T)(s.Y36(_r,10))},T.\u0275dir=s.lG2({type:T,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(w,j){2&w&&s.ekj("ng-untouched",j.is("untouched"))("ng-touched",j.is("touched"))("ng-pristine",j.is("pristine"))("ng-dirty",j.is("dirty"))("ng-valid",j.is("valid"))("ng-invalid",j.is("invalid"))("ng-pending",j.is("pending"))("ng-submitted",j.is("submitted"))},features:[s.qOj]}),T})();function pn(T,M){return[...M.path,T]}function At(T,M){Pe(T,M),M.valueAccessor.writeValue(T.value),function se(T,M){M.valueAccessor.registerOnChange(w=>{T._pendingValue=w,T._pendingChange=!0,T._pendingDirty=!0,"change"===T.updateOn&&ke(T,M)})}(T,M),function ft(T,M){const w=(j,Xe)=>{M.valueAccessor.writeValue(j),Xe&&M.viewToModelUpdate(j)};T.registerOnChange(w),M._registerOnDestroy(()=>{T._unregisterOnChange(w)})}(T,M),function Ee(T,M){M.valueAccessor.registerOnTouched(()=>{T._pendingTouched=!0,"blur"===T.updateOn&&T._pendingChange&&ke(T,M),"submit"!==T.updateOn&&T.markAsTouched()})}(T,M),function Kn(T,M){if(M.valueAccessor.setDisabledState){const w=j=>{M.valueAccessor.setDisabledState(j)};T.registerOnDisabledChange(w),M._registerOnDestroy(()=>{T._unregisterOnDisabledChange(w)})}}(T,M)}function Wt(T,M,w=!0){const j=()=>{};M.valueAccessor&&(M.valueAccessor.registerOnChange(j),M.valueAccessor.registerOnTouched(j)),te(T,M),T&&(M._invokeOnDestroyCallbacks(),T._registerOnCollectionChange(()=>{}))}function Cn(T,M){T.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(M)})}function Pe(T,M){const w=Xn(T);null!==M.validator?T.setValidators(Qn(w,M.validator)):"function"==typeof w&&T.setValidators([w]);const j=ur(T);null!==M.asyncValidator?T.setAsyncValidators(Qn(j,M.asyncValidator)):"function"==typeof j&&T.setAsyncValidators([j]);const Xe=()=>T.updateValueAndValidity();Cn(M._rawValidators,Xe),Cn(M._rawAsyncValidators,Xe)}function te(T,M){let w=!1;if(null!==T){if(null!==M.validator){const Xe=Xn(T);if(Array.isArray(Xe)&&Xe.length>0){const on=Xe.filter(Pr=>Pr!==M.validator);on.length!==Xe.length&&(w=!0,T.setValidators(on))}}if(null!==M.asyncValidator){const Xe=ur(T);if(Array.isArray(Xe)&&Xe.length>0){const on=Xe.filter(Pr=>Pr!==M.asyncValidator);on.length!==Xe.length&&(w=!0,T.setAsyncValidators(on))}}}const j=()=>{};return Cn(M._rawValidators,j),Cn(M._rawAsyncValidators,j),w}function ke(T,M){T._pendingDirty&&T.markAsDirty(),T.setValue(T._pendingValue,{emitModelToViewChange:!1}),M.viewToModelUpdate(T._pendingValue),T._pendingChange=!1}function hn(T,M){Pe(T,M)}function Ct(T,M){if(!T.hasOwnProperty("model"))return!1;const w=T.model;return!!w.isFirstChange()||!Object.is(M,w.currentValue)}function dt(T,M){T._syncPendingControls(),M.forEach(w=>{const j=w.control;"submit"===j.updateOn&&j._pendingChange&&(w.viewToModelUpdate(j._pendingValue),j._pendingChange=!1)})}function de(T,M){if(!M)return null;let w,j,Xe;return Array.isArray(M),M.forEach(on=>{on.constructor===Vt?w=on:function _t(T){return Object.getPrototypeOf(T.constructor)===Y}(on)?j=on:Xe=on}),Xe||j||w||null}function xe(T,M){const w=T.indexOf(M);w>-1&&T.splice(w,1)}const bn="VALID",Re="INVALID",Be="PENDING",Ae="DISABLED";function St(T){return(nn(T)?T.validators:T)||null}function Pt(T){return Array.isArray(T)?Dn(T):T||null}function Rt(T,M){return(nn(M)?M.asyncValidators:T)||null}function kt(T){return Array.isArray(T)?Sr(T):T||null}function nn(T){return null!=T&&!Array.isArray(T)&&"object"==typeof T}const cn=T=>T instanceof gi,It=T=>T instanceof Gn;function Ir(T){return cn(T)?T.value:T.getRawValue()}function cr(T,M){const w=It(T),j=T.controls;if(!(w?Object.keys(j):j).length)throw new s.vHH(1e3,"");if(!j[M])throw new s.vHH(1001,"")}function gn(T,M){It(T),T._forEachChild((j,Xe)=>{if(void 0===M[Xe])throw new s.vHH(1002,"")})}class yr{constructor(M,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=M,this._rawAsyncValidators=w,this._composedValidatorFn=Pt(this._rawValidators),this._composedAsyncValidatorFn=kt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(M){this._rawValidators=this._composedValidatorFn=M}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(M){this._rawAsyncValidators=this._composedAsyncValidatorFn=M}get parent(){return this._parent}get valid(){return this.status===bn}get invalid(){return this.status===Re}get pending(){return this.status==Be}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(M){this._rawValidators=M,this._composedValidatorFn=Pt(M)}setAsyncValidators(M){this._rawAsyncValidators=M,this._composedAsyncValidatorFn=kt(M)}addValidators(M){this.setValidators(Br(M,this._rawValidators))}addAsyncValidators(M){this.setAsyncValidators(Br(M,this._rawAsyncValidators))}removeValidators(M){this.setValidators(Tr(M,this._rawValidators))}removeAsyncValidators(M){this.setAsyncValidators(Tr(M,this._rawAsyncValidators))}hasValidator(M){return wr(this._rawValidators,M)}hasAsyncValidator(M){return wr(this._rawAsyncValidators,M)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(M={}){this.touched=!0,this._parent&&!M.onlySelf&&this._parent.markAsTouched(M)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(M=>M.markAllAsTouched())}markAsUntouched(M={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(w=>{w.markAsUntouched({onlySelf:!0})}),this._parent&&!M.onlySelf&&this._parent._updateTouched(M)}markAsDirty(M={}){this.pristine=!1,this._parent&&!M.onlySelf&&this._parent.markAsDirty(M)}markAsPristine(M={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(w=>{w.markAsPristine({onlySelf:!0})}),this._parent&&!M.onlySelf&&this._parent._updatePristine(M)}markAsPending(M={}){this.status=Be,!1!==M.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!M.onlySelf&&this._parent.markAsPending(M)}disable(M={}){const w=this._parentMarkedDirty(M.onlySelf);this.status=Ae,this.errors=null,this._forEachChild(j=>{j.disable({...M,onlySelf:!0})}),this._updateValue(),!1!==M.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...M,skipPristineCheck:w}),this._onDisabledChange.forEach(j=>j(!0))}enable(M={}){const w=this._parentMarkedDirty(M.onlySelf);this.status=bn,this._forEachChild(j=>{j.enable({...M,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent}),this._updateAncestors({...M,skipPristineCheck:w}),this._onDisabledChange.forEach(j=>j(!1))}_updateAncestors(M){this._parent&&!M.onlySelf&&(this._parent.updateValueAndValidity(M),M.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(M){this._parent=M}updateValueAndValidity(M={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bn||this.status===Be)&&this._runAsyncValidator(M.emitEvent)),!1!==M.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!M.onlySelf&&this._parent.updateValueAndValidity(M)}_updateTreeValidity(M={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(M)),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ae:bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(M){if(this.asyncValidator){this.status=Be,this._hasOwnPendingAsyncValidator=!0;const w=Vn(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(j=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(j,{emitEvent:M})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(M,w={}){this.errors=M,this._updateControlsErrors(!1!==w.emitEvent)}get(M){return function bt(T,M,w){if(null==M||(Array.isArray(M)||(M=M.split(w)),Array.isArray(M)&&0===M.length))return null;let j=T;return M.forEach(Xe=>{j=It(j)?j.controls.hasOwnProperty(Xe)?j.controls[Xe]:null:(T=>T instanceof Vr)(j)&&j.at(Xe)||null}),j}(this,M,".")}getError(M,w){const j=w?this.get(w):this;return j&&j.errors?j.errors[M]:null}hasError(M,w){return!!this.getError(M,w)}get root(){let M=this;for(;M._parent;)M=M._parent;return M}_updateControlsErrors(M){this.status=this._calculateStatus(),M&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(M)}_initObservables(){this.valueChanges=new s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?Ae:this.errors?Re:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Be)?Be:this._anyControlsHaveStatus(Re)?Re:bn}_anyControlsHaveStatus(M){return this._anyControls(w=>w.status===M)}_anyControlsDirty(){return this._anyControls(M=>M.dirty)}_anyControlsTouched(){return this._anyControls(M=>M.touched)}_updatePristine(M={}){this.pristine=!this._anyControlsDirty(),this._parent&&!M.onlySelf&&this._parent._updatePristine(M)}_updateTouched(M={}){this.touched=this._anyControlsTouched(),this._parent&&!M.onlySelf&&this._parent._updateTouched(M)}_isBoxedValue(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}_registerOnCollectionChange(M){this._onCollectionChange=M}_setUpdateStrategy(M){nn(M)&&null!=M.updateOn&&(this._updateOn=M.updateOn)}_parentMarkedDirty(M){return!M&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class gi extends yr{constructor(M=null,w,j){super(St(w),Rt(j,w)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(M),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nn(w)&&w.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(M)?M.value:M)}setValue(M,w={}){this.value=this._pendingValue=M,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(j=>j(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(M,w={}){this.setValue(M,w)}reset(M=this.defaultValue,w={}){this._applyFormState(M),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(M){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(M){this._onChange.push(M)}_unregisterOnChange(M){xe(this._onChange,M)}registerOnDisabledChange(M){this._onDisabledChange.push(M)}_unregisterOnDisabledChange(M){xe(this._onDisabledChange,M)}_forEachChild(M){}_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(M){this._isBoxedValue(M)?(this.value=this._pendingValue=M.value,M.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=M}}class Gn extends yr{constructor(M,w,j){super(St(w),Rt(j,w)),this.controls=M,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(M,w){return this.controls[M]?this.controls[M]:(this.controls[M]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(M,w,j={}){this.registerControl(M,w),this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}removeControl(M,w={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),delete this.controls[M],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(M,w,j={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),delete this.controls[M],w&&this.registerControl(M,w),this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}contains(M){return this.controls.hasOwnProperty(M)&&this.controls[M].enabled}setValue(M,w={}){gn(this,M),Object.keys(M).forEach(j=>{cr(this,j),this.controls[j].setValue(M[j],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(M,w={}){null!=M&&(Object.keys(M).forEach(j=>{this.controls[j]&&this.controls[j].patchValue(M[j],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(M={},w={}){this._forEachChild((j,Xe)=>{j.reset(M[Xe],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(M,w,j)=>(M[j]=Ir(w),M))}_syncPendingControls(){let M=this._reduceChildren(!1,(w,j)=>!!j._syncPendingControls()||w);return M&&this.updateValueAndValidity({onlySelf:!0}),M}_forEachChild(M){Object.keys(this.controls).forEach(w=>{const j=this.controls[w];j&&M(j,w)})}_setUpControls(){this._forEachChild(M=>{M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(M){for(const w of Object.keys(this.controls)){const j=this.controls[w];if(this.contains(w)&&M(j))return!0}return!1}_reduceValue(){return this._reduceChildren({},(M,w,j)=>((w.enabled||this.disabled)&&(M[j]=w.value),M))}_reduceChildren(M,w){let j=M;return this._forEachChild((Xe,on)=>{j=w(j,Xe,on)}),j}_allControlsDisabled(){for(const M of Object.keys(this.controls))if(this.controls[M].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Vr extends yr{constructor(M,w,j){super(St(w),Rt(j,w)),this.controls=M,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(M){return this.controls[M]}push(M,w={}){this.controls.push(M),this._registerControl(M),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}insert(M,w,j={}){this.controls.splice(M,0,w),this._registerControl(w),this.updateValueAndValidity({emitEvent:j.emitEvent})}removeAt(M,w={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),this.controls.splice(M,1),this.updateValueAndValidity({emitEvent:w.emitEvent})}setControl(M,w,j={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),this.controls.splice(M,1),w&&(this.controls.splice(M,0,w),this._registerControl(w)),this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(M,w={}){gn(this,M),M.forEach((j,Xe)=>{cr(this,Xe),this.at(Xe).setValue(j,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(M,w={}){null!=M&&(M.forEach((j,Xe)=>{this.at(Xe)&&this.at(Xe).patchValue(j,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(M=[],w={}){this._forEachChild((j,Xe)=>{j.reset(M[Xe],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this.controls.map(M=>Ir(M))}clear(M={}){this.controls.length<1||(this._forEachChild(w=>w._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:M.emitEvent}))}_syncPendingControls(){let M=this.controls.reduce((w,j)=>!!j._syncPendingControls()||w,!1);return M&&this.updateValueAndValidity({onlySelf:!0}),M}_forEachChild(M){this.controls.forEach((w,j)=>{M(w,j)})}_updateValue(){this.value=this.controls.filter(M=>M.enabled||this.disabled).map(M=>M.value)}_anyControls(M){return this.controls.some(w=>w.enabled&&M(w))}_setUpControls(){this._forEachChild(M=>this._registerControl(M))}_allControlsDisabled(){for(const M of this.controls)if(M.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(M){M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange)}}const R={provide:_r,useExisting:(0,s.Gpc)(()=>z)},K=(()=>Promise.resolve(null))();let z=(()=>{class T extends _r{constructor(w,j){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new s.vpe,this.form=new Gn({},Dn(w),Sr(j))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(w){K.then(()=>{const j=this._findContainer(w.path);w.control=j.registerControl(w.name,w.control),At(w.control,w),w.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(w)})}getControl(w){return this.form.get(w.path)}removeControl(w){K.then(()=>{const j=this._findContainer(w.path);j&&j.removeControl(w.name),this._directives.delete(w)})}addFormGroup(w){K.then(()=>{const j=this._findContainer(w.path),Xe=new Gn({});hn(Xe,w),j.registerControl(w.name,Xe),Xe.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(w){K.then(()=>{const j=this._findContainer(w.path);j&&j.removeControl(w.name)})}getFormGroup(w){return this.form.get(w.path)}updateModel(w,j){K.then(()=>{this.form.get(w.path).setValue(j)})}setValue(w){this.control.setValue(w)}onSubmit(w){return this.submitted=!0,dt(this.form,this._directives),this.ngSubmit.emit(w),!1}onReset(){this.resetForm()}resetForm(w){this.form.reset(w),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(w){return w.pop(),w.length?this.form.get(w):this.form}}return T.\u0275fac=function(w){return new(w||T)(s.Y36(rt,10),s.Y36(Ce,10))},T.\u0275dir=s.lG2({type:T,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(w,j){1&w&&s.NdJ("submit",function(on){return j.onSubmit(on)})("reset",function(){return j.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([R]),s.qOj]}),T})();const sn={provide:or,useExisting:(0,s.Gpc)(()=>Er)},Bn=(()=>Promise.resolve(null))();let Er=(()=>{class T extends or{constructor(w,j,Xe,on,Pr){super(),this._changeDetectorRef=Pr,this.control=new gi,this._registered=!1,this.update=new s.vpe,this._parent=w,this._setValidators(j),this._setAsyncValidators(Xe),this.valueAccessor=de(0,on)}ngOnChanges(w){if(this._checkForErrors(),!this._registered||"name"in w){if(this._registered&&(this._checkName(),this.formDirective)){const j=w.name.previousValue;this.formDirective.removeControl({name:j,path:this._getPath(j)})}this._setUpControl()}"isDisabled"in w&&this._updateDisabled(w),Ct(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(){At(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){Bn.then(()=>{this.control.setValue(w,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(w){const j=w.isDisabled.currentValue,Xe=""===j||j&&"false"!==j;Bn.then(()=>{Xe&&!this.control.disabled?this.control.disable():!Xe&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(w){return this._parent?pn(w,this._parent):[w]}}return T.\u0275fac=function(w){return new(w||T)(s.Y36(_r,9),s.Y36(rt,10),s.Y36(Ce,10),s.Y36(q,10),s.Y36(s.sBO,8))},T.\u0275dir=s.lG2({type:T,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s._Bn([sn]),s.qOj,s.TTD]}),T})(),vr=(()=>{class T{}return T.\u0275fac=function(w){return new(w||T)},T.\u0275dir=s.lG2({type:T,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),T})();const Ti={provide:q,useExisting:(0,s.Gpc)(()=>ao),multi:!0};let ps=(()=>{class T{}return T.\u0275fac=function(w){return new(w||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({}),T})(),Co=(()=>{class T{constructor(){this._accessors=[]}add(w,j){this._accessors.push([w,j])}remove(w){for(let j=this._accessors.length-1;j>=0;--j)if(this._accessors[j][1]===w)return void this._accessors.splice(j,1)}select(w){this._accessors.forEach(j=>{this._isSameGroup(j,w)&&j[1]!==w&&j[1].fireUncheck(w.value)})}_isSameGroup(w,j){return!!w[0].control&&w[0]._parent===j._control._parent&&w[1].name===j.name}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275prov=s.Yz7({token:T,factory:T.\u0275fac,providedIn:ps}),T})(),ao=(()=>{class T extends Y{constructor(w,j,Xe,on){super(w,j),this._registry=Xe,this._injector=on,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(or),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(w){this._state=w===this.value,this.setProperty("checked",this._state)}registerOnChange(w){this._fn=w,this.onChange=()=>{w(this.value),this._registry.select(this)}}fireUncheck(w){this.writeValue(w)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return T.\u0275fac=function(w){return new(w||T)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Co),s.Y36(s.zs3))},T.\u0275dir=s.lG2({type:T,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(w,j){1&w&&s.NdJ("change",function(){return j.onChange()})("blur",function(){return j.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[s._Bn([Ti]),s.qOj]}),T})();const Zi=new s.OlP("NgModelWithFormControlWarning"),Bs={provide:_r,useExisting:(0,s.Gpc)(()=>ns)};let ns=(()=>{class T extends _r{constructor(w,j){super(),this.validators=w,this.asyncValidators=j,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.vpe,this._setValidators(w),this._setAsyncValidators(j)}ngOnChanges(w){this._checkFormPresent(),w.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(te(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(w){const j=this.form.get(w.path);return At(j,w),j.updateValueAndValidity({emitEvent:!1}),this.directives.push(w),j}getControl(w){return this.form.get(w.path)}removeControl(w){Wt(w.control||null,w,!1),xe(this.directives,w)}addFormGroup(w){this._setUpFormContainer(w)}removeFormGroup(w){this._cleanUpFormContainer(w)}getFormGroup(w){return this.form.get(w.path)}addFormArray(w){this._setUpFormContainer(w)}removeFormArray(w){this._cleanUpFormContainer(w)}getFormArray(w){return this.form.get(w.path)}updateModel(w,j){this.form.get(w.path).setValue(j)}onSubmit(w){return this.submitted=!0,dt(this.form,this.directives),this.ngSubmit.emit(w),!1}onReset(){this.resetForm()}resetForm(w){this.form.reset(w),this.submitted=!1}_updateDomValue(){this.directives.forEach(w=>{const j=w.control,Xe=this.form.get(w.path);j!==Xe&&(Wt(j||null,w),cn(Xe)&&(At(Xe,w),w.control=Xe))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(w){const j=this.form.get(w.path);hn(j,w),j.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(w){if(this.form){const j=this.form.get(w.path);j&&function Te(T,M){return te(T,M)}(j,w)&&j.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Pe(this.form,this),this._oldForm&&te(this._oldForm,this)}_checkFormPresent(){}}return T.\u0275fac=function(w){return new(w||T)(s.Y36(rt,10),s.Y36(Ce,10))},T.\u0275dir=s.lG2({type:T,selectors:[["","formGroup",""]],hostBindings:function(w,j){1&w&&s.NdJ("submit",function(on){return j.onSubmit(on)})("reset",function(){return j.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([Bs]),s.qOj,s.TTD]}),T})();const jo={provide:or,useExisting:(0,s.Gpc)(()=>Li)};let Li=(()=>{class T extends or{constructor(w,j,Xe,on,Pr){super(),this._ngModelWarningConfig=Pr,this._added=!1,this.update=new s.vpe,this._ngModelWarningSent=!1,this._parent=w,this._setValidators(j),this._setAsyncValidators(Xe),this.valueAccessor=de(0,on)}set isDisabled(w){}ngOnChanges(w){this._added||this._setUpControl(),Ct(w,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}get path(){return pn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return T._ngModelWarningSentOnce=!1,T.\u0275fac=function(w){return new(w||T)(s.Y36(_r,13),s.Y36(rt,10),s.Y36(Ce,10),s.Y36(q,10),s.Y36(Zi,8))},T.\u0275dir=s.lG2({type:T,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[s._Bn([jo]),s.qOj,s.TTD]}),T})(),rr=(()=>{class T{}return T.\u0275fac=function(w){return new(w||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({imports:[[ps]]}),T})(),Mr=(()=>{class T{}return T.\u0275fac=function(w){return new(w||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({imports:[rr]}),T})(),Dr=(()=>{class T{static withConfig(w){return{ngModule:T,providers:[{provide:Zi,useValue:w.warnOnNgModelWithFormControl}]}}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({imports:[rr]}),T})()},1481:(Z,N,y)=>{"use strict";y.d(N,{b2:()=>Ur,q6:()=>Br,se:()=>qe});var s=y(6895),h=y(5062);class L extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class V extends L{static makeCurrent(){(0,s.HT)(new V)}onAndCancel(re,ie,Oe){return re.addEventListener(ie,Oe,!1),()=>{re.removeEventListener(ie,Oe,!1)}}dispatchEvent(re,ie){re.dispatchEvent(ie)}remove(re){re.parentNode&&re.parentNode.removeChild(re)}createElement(re,ie){return(ie=ie||this.getDefaultDocument()).createElement(re)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(re){return re.nodeType===Node.ELEMENT_NODE}isShadowRoot(re){return re instanceof DocumentFragment}getGlobalEventTarget(re,ie){return"window"===ie?window:"document"===ie?re:"body"===ie?re.body:null}getBaseHref(re){const ie=function I(){return A=A||document.querySelector("base"),A?A.getAttribute("href"):null}();return null==ie?null:function U(Te){B=B||document.createElement("a"),B.setAttribute("href",Te);const re=B.pathname;return"/"===re.charAt(0)?re:`/${re}`}(ie)}resetBaseElement(){A=null}getUserAgent(){return window.navigator.userAgent}getCookie(re){return(0,s.Mx)(document.cookie,re)}}let B,A=null;const ee=new h.OlP("TRANSITION_ID"),Y=[{provide:h.ip1,useFactory:function k(Te,re,ie){return()=>{ie.get(h.CZH).donePromise.then(()=>{const Oe=(0,s.q)(),Qe=re.querySelectorAll(`style[ng-transition="${Te}"]`);for(let Ct=0;Ct<Qe.length;Ct++)Oe.remove(Qe[Ct])})}},deps:[ee,s.K0,h.zs3],multi:!0}];class q{static init(){(0,h.VLi)(new q)}addToWindow(re){h.dqk.getAngularTestability=(Oe,Qe=!0)=>{const Ct=re.findTestabilityInTree(Oe,Qe);if(null==Ct)throw new Error("Could not find testability for element.");return Ct},h.dqk.getAllAngularTestabilities=()=>re.getAllTestabilities(),h.dqk.getAllAngularRootElements=()=>re.getAllRootElements(),h.dqk.frameworkStabilizers||(h.dqk.frameworkStabilizers=[]),h.dqk.frameworkStabilizers.push(Oe=>{const Qe=h.dqk.getAllAngularTestabilities();let Ct=Qe.length,_t=!1;const dt=function(de){_t=_t||de,Ct--,0==Ct&&Oe(_t)};Qe.forEach(function(de){de.whenStable(dt)})})}findTestabilityInTree(re,ie,Oe){return null==ie?null:re.getTestability(ie)??(Oe?(0,s.q)().isShadowRoot(ie)?this.findTestabilityInTree(re,ie.host,!0):this.findTestabilityInTree(re,ie.parentElement,!0):null)}}let le=(()=>{class Te{build(){return new XMLHttpRequest}}return Te.\u0275fac=function(ie){return new(ie||Te)},Te.\u0275prov=h.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const De=new h.OlP("EventManagerPlugins");let be=(()=>{class Te{constructor(ie,Oe){this._zone=Oe,this._eventNameToPlugin=new Map,ie.forEach(Qe=>Qe.manager=this),this._plugins=ie.slice().reverse()}addEventListener(ie,Oe,Qe){return this._findPluginFor(Oe).addEventListener(ie,Oe,Qe)}addGlobalEventListener(ie,Oe,Qe){return this._findPluginFor(Oe).addGlobalEventListener(ie,Oe,Qe)}getZone(){return this._zone}_findPluginFor(ie){const Oe=this._eventNameToPlugin.get(ie);if(Oe)return Oe;const Qe=this._plugins;for(let Ct=0;Ct<Qe.length;Ct++){const _t=Qe[Ct];if(_t.supports(ie))return this._eventNameToPlugin.set(ie,_t),_t}throw new Error(`No event manager plugin found for event ${ie}`)}}return Te.\u0275fac=function(ie){return new(ie||Te)(h.LFG(De),h.LFG(h.R0b))},Te.\u0275prov=h.Yz7({token:Te,factory:Te.\u0275fac}),Te})();class Fe{constructor(re){this._doc=re}addGlobalEventListener(re,ie,Oe){const Qe=(0,s.q)().getGlobalEventTarget(this._doc,re);if(!Qe)throw new Error(`Unsupported event target ${Qe} for event ${ie}`);return this.addEventListener(Qe,ie,Oe)}}let Ve=(()=>{class Te{constructor(){this._stylesSet=new Set}addStyles(ie){const Oe=new Set;ie.forEach(Qe=>{this._stylesSet.has(Qe)||(this._stylesSet.add(Qe),Oe.add(Qe))}),this.onStylesAdded(Oe)}onStylesAdded(ie){}getAllStyles(){return Array.from(this._stylesSet)}}return Te.\u0275fac=function(ie){return new(ie||Te)},Te.\u0275prov=h.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),Vt=(()=>{class Te extends Ve{constructor(ie){super(),this._doc=ie,this._hostNodes=new Map,this._hostNodes.set(ie.head,[])}_addStylesToHost(ie,Oe,Qe){ie.forEach(Ct=>{const _t=this._doc.createElement("style");_t.textContent=Ct,Qe.push(Oe.appendChild(_t))})}addHost(ie){const Oe=[];this._addStylesToHost(this._stylesSet,ie,Oe),this._hostNodes.set(ie,Oe)}removeHost(ie){const Oe=this._hostNodes.get(ie);Oe&&Oe.forEach(Ze),this._hostNodes.delete(ie)}onStylesAdded(ie){this._hostNodes.forEach((Oe,Qe)=>{this._addStylesToHost(ie,Qe,Oe)})}ngOnDestroy(){this._hostNodes.forEach(ie=>ie.forEach(Ze))}}return Te.\u0275fac=function(ie){return new(ie||Te)(h.LFG(s.K0))},Te.\u0275prov=h.Yz7({token:Te,factory:Te.\u0275fac}),Te})();function Ze(Te){(0,s.q)().remove(Te)}const He={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 ge(Te,re,ie){for(let Oe=0;Oe<re.length;Oe++){let Qe=re[Oe];Array.isArray(Qe)?ge(Te,Qe,ie):(Qe=Qe.replace(rt,Te),ie.push(Qe))}return ie}function lt(Te){return re=>{if("__ngUnwrap__"===re)return Te;!1===Te(re)&&(re.preventDefault(),re.returnValue=!1)}}let qe=(()=>{class Te{constructor(ie,Oe,Qe){this.eventManager=ie,this.sharedStylesHost=Oe,this.appId=Qe,this.rendererByCompId=new Map,this.defaultRenderer=new Ke(ie)}createRenderer(ie,Oe){if(!ie||!Oe)return this.defaultRenderer;switch(Oe.encapsulation){case h.ifc.Emulated:{let Qe=this.rendererByCompId.get(Oe.id);return Qe||(Qe=new Vn(this.eventManager,this.sharedStylesHost,Oe,this.appId),this.rendererByCompId.set(Oe.id,Qe)),Qe.applyToHost(ie),Qe}case 1:case h.ifc.ShadowDom:return new gr(this.eventManager,this.sharedStylesHost,ie,Oe);default:if(!this.rendererByCompId.has(Oe.id)){const Qe=ge(Oe.id,Oe.styles,[]);this.sharedStylesHost.addStyles(Qe),this.rendererByCompId.set(Oe.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Te.\u0275fac=function(ie){return new(ie||Te)(h.LFG(be),h.LFG(Vt),h.LFG(h.AFp))},Te.\u0275prov=h.Yz7({token:Te,factory:Te.\u0275fac}),Te})();class Ke{constructor(re){this.eventManager=re,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(re,ie){return ie?document.createElementNS(He[ie]||ie,re):document.createElement(re)}createComment(re){return document.createComment(re)}createText(re){return document.createTextNode(re)}appendChild(re,ie){re.appendChild(ie)}insertBefore(re,ie,Oe){re&&re.insertBefore(ie,Oe)}removeChild(re,ie){re&&re.removeChild(ie)}selectRootElement(re,ie){let Oe="string"==typeof re?document.querySelector(re):re;if(!Oe)throw new Error(`The selector "${re}" did not match any elements`);return ie||(Oe.textContent=""),Oe}parentNode(re){return re.parentNode}nextSibling(re){return re.nextSibling}setAttribute(re,ie,Oe,Qe){if(Qe){ie=Qe+":"+ie;const Ct=He[Qe];Ct?re.setAttributeNS(Ct,ie,Oe):re.setAttribute(ie,Oe)}else re.setAttribute(ie,Oe)}removeAttribute(re,ie,Oe){if(Oe){const Qe=He[Oe];Qe?re.removeAttributeNS(Qe,ie):re.removeAttribute(`${Oe}:${ie}`)}else re.removeAttribute(ie)}addClass(re,ie){re.classList.add(ie)}removeClass(re,ie){re.classList.remove(ie)}setStyle(re,ie,Oe,Qe){Qe&(h.JOm.DashCase|h.JOm.Important)?re.style.setProperty(ie,Oe,Qe&h.JOm.Important?"important":""):re.style[ie]=Oe}removeStyle(re,ie,Oe){Oe&h.JOm.DashCase?re.style.removeProperty(ie):re.style[ie]=""}setProperty(re,ie,Oe){re[ie]=Oe}setValue(re,ie){re.nodeValue=ie}listen(re,ie,Oe){return"string"==typeof re?this.eventManager.addGlobalEventListener(re,ie,lt(Oe)):this.eventManager.addEventListener(re,ie,lt(Oe))}}class Vn extends Ke{constructor(re,ie,Oe,Qe){super(re),this.component=Oe;const Ct=ge(Qe+"-"+Oe.id,Oe.styles,[]);ie.addStyles(Ct),this.contentAttr=function Kt(Te){return"_ngcontent-%COMP%".replace(rt,Te)}(Qe+"-"+Oe.id),this.hostAttr=function qt(Te){return"_nghost-%COMP%".replace(rt,Te)}(Qe+"-"+Oe.id)}applyToHost(re){super.setAttribute(re,this.hostAttr,"")}createElement(re,ie){const Oe=super.createElement(re,ie);return super.setAttribute(Oe,this.contentAttr,""),Oe}}class gr extends Ke{constructor(re,ie,Oe,Qe){super(re),this.sharedStylesHost=ie,this.hostEl=Oe,this.shadowRoot=Oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ct=ge(Qe.id,Qe.styles,[]);for(let _t=0;_t<Ct.length;_t++){const dt=document.createElement("style");dt.textContent=Ct[_t],this.shadowRoot.appendChild(dt)}}nodeOrShadowRoot(re){return re===this.hostEl?this.shadowRoot:re}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(re,ie){return super.appendChild(this.nodeOrShadowRoot(re),ie)}insertBefore(re,ie,Oe){return super.insertBefore(this.nodeOrShadowRoot(re),ie,Oe)}removeChild(re,ie){return super.removeChild(this.nodeOrShadowRoot(re),ie)}parentNode(re){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(re)))}}let Ln=(()=>{class Te extends Fe{constructor(ie){super(ie)}supports(ie){return!0}addEventListener(ie,Oe,Qe){return ie.addEventListener(Oe,Qe,!1),()=>this.removeEventListener(ie,Oe,Qe)}removeEventListener(ie,Oe,Qe){return ie.removeEventListener(Oe,Qe)}}return Te.\u0275fac=function(ie){return new(ie||Te)(h.LFG(s.K0))},Te.\u0275prov=h.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const mr=["alt","control","meta","shift"],kr={"\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"},Dn={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},an={alt:Te=>Te.altKey,control:Te=>Te.ctrlKey,meta:Te=>Te.metaKey,shift:Te=>Te.shiftKey};let Sr=(()=>{class Te extends Fe{constructor(ie){super(ie)}supports(ie){return null!=Te.parseEventName(ie)}addEventListener(ie,Oe,Qe){const Ct=Te.parseEventName(Oe),_t=Te.eventCallback(Ct.fullKey,Qe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(ie,Ct.domEventName,_t))}static parseEventName(ie){const Oe=ie.toLowerCase().split("."),Qe=Oe.shift();if(0===Oe.length||"keydown"!==Qe&&"keyup"!==Qe)return null;const Ct=Te._normalizeKey(Oe.pop());let _t="";if(mr.forEach(de=>{const xe=Oe.indexOf(de);xe>-1&&(Oe.splice(xe,1),_t+=de+".")}),_t+=Ct,0!=Oe.length||0===Ct.length)return null;const dt={};return dt.domEventName=Qe,dt.fullKey=_t,dt}static getEventFullKey(ie){let Oe="",Qe=function Qn(Te){let re=Te.key;if(null==re){if(re=Te.keyIdentifier,null==re)return"Unidentified";re.startsWith("U+")&&(re=String.fromCharCode(parseInt(re.substring(2),16)),3===Te.location&&Dn.hasOwnProperty(re)&&(re=Dn[re]))}return kr[re]||re}(ie);return Qe=Qe.toLowerCase()," "===Qe?Qe="space":"."===Qe&&(Qe="dot"),mr.forEach(Ct=>{Ct!=Qe&&an[Ct](ie)&&(Oe+=Ct+".")}),Oe+=Qe,Oe}static eventCallback(ie,Oe,Qe){return Ct=>{Te.getEventFullKey(Ct)===ie&&Qe.runGuarded(()=>Oe(Ct))}}static _normalizeKey(ie){return"esc"===ie?"escape":ie}}return Te.\u0275fac=function(ie){return new(ie||Te)(h.LFG(s.K0))},Te.\u0275prov=h.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const Br=(0,h.eFA)(h._c5,"browser",[{provide:h.Lbi,useValue:s.bD},{provide:h.g9A,useValue:function Xn(){V.makeCurrent(),q.init()},multi:!0},{provide:s.K0,useFactory:function Kr(){return(0,h.RDi)(document),document},deps:[]}]),Tr=[{provide:h.zSh,useValue:"root"},{provide:h.qLn,useFactory:function ur(){return new h.qLn},deps:[]},{provide:De,useClass:Ln,multi:!0,deps:[s.K0,h.R0b,h.Lbi]},{provide:De,useClass:Sr,multi:!0,deps:[s.K0]},{provide:qe,useClass:qe,deps:[be,Vt,h.AFp]},{provide:h.FYo,useExisting:qe},{provide:Ve,useExisting:Vt},{provide:Vt,useClass:Vt,deps:[s.K0]},{provide:h.dDg,useClass:h.dDg,deps:[h.R0b]},{provide:be,useClass:be,deps:[De,h.R0b]},{provide:s.JF,useClass:le,deps:[]}];let Ur=(()=>{class Te{constructor(ie){if(ie)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(ie){return{ngModule:Te,providers:[{provide:h.AFp,useValue:ie.appId},{provide:ee,useExisting:h.AFp},Y]}}}return Te.\u0275fac=function(ie){return new(ie||Te)(h.LFG(Te,12))},Te.\u0275mod=h.oAB({type:Te}),Te.\u0275inj=h.cJS({providers:Tr,imports:[s.ez,h.hGG]}),Te})();typeof window<"u"&&window},2904:(Z,N,y)=>{"use strict";y.d(N,{gz:()=>ki,m2:()=>rn,OD:()=>$t,F0:()=>Di,rH:()=>Ts,yS:()=>Ya,Bz:()=>Ko,lC:()=>T});var s=y(6895),h=y(5062),L=y(5529),V=y(5279);class A extends L.xQ{constructor(g){super(),this._value=g}get value(){return this.getValue()}_subscribe(g){const d=super._subscribe(g);return d&&!d.closed&&g.next(this._value),d}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new V.N;return this._value}next(g){super.next(this._value=g)}}var I=y(2866),B=y(6688),U=y(826),ee=y(9054),k=y(3009);const Y={};class le{constructor(g){this.resultSelector=g}call(g,d){return d.subscribe(new De(g,this.resultSelector))}}class De extends U.L{constructor(g,d){super(g),this.resultSelector=d,this.active=0,this.values=[],this.observables=[]}_next(g){this.values.push(Y),this.observables.push(g)}_complete(){const g=this.observables,d=g.length;if(0===d)this.destination.complete();else{this.active=d,this.toRespond=d;for(let E=0;E<d;E++){const x=g[E];this.add((0,ee.D)(this,x,x,E))}}}notifyComplete(g){0==(this.active-=1)&&this.destination.complete()}notifyNext(g,d,E,x,Q){const oe=this.values,st=this.toRespond?oe[E]===Y?--this.toRespond:this.toRespond:0;oe[E]=d,0===st&&(this.resultSelector?this._tryResultSelector(oe):this.destination.next(oe.slice()))}_tryResultSelector(g){let d;try{d=this.resultSelector.apply(this,g)}catch(E){return void this.destination.error(E)}this.destination.next(d)}}var be=y(2916);function Fe(v,g){return new be.y(g?d=>g.schedule(Ve,0,{error:v,subscriber:d}):d=>d.error(v))}function Ve({error:v,subscriber:g}){g.error(v)}const Ze=(()=>{function v(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return v.prototype=Object.create(Error.prototype),v})();var He=y(1086),rt=y(9146);function wt(...v){return function Ce(){return(0,rt.J)(1)}()((0,He.of)(...v))}var Et=y(5254);const un=new be.y(v=>v.complete());function Kt(v){return v?function qt(v){return new be.y(g=>v.schedule(()=>g.complete()))}(v):un}function ge(v){return new be.y(g=>{let d;try{d=v()}catch(x){return void g.error(x)}return(d?(0,Et.D)(d):Kt()).subscribe(g)})}var lt=y(1762),Dt=y(1869),qe=y(4850);function Ke(v,g){return"function"==typeof g?d=>d.pipe(Ke((E,x)=>(0,Et.D)(v(E,x)).pipe((0,qe.U)((Q,oe)=>g(E,Q,x,oe))))):d=>d.lift(new En(v))}class En{constructor(g){this.project=g}call(g,d){return d.subscribe(new en(g,this.project))}}class en extends U.L{constructor(g,d){super(g),this.project=d,this.index=0}_next(g){let d;const E=this.index++;try{d=this.project(g,E)}catch(x){return void this.destination.error(x)}this._innerSub(d,g,E)}_innerSub(g,d,E){const x=this.innerSubscription;x&&x.unsubscribe();const Q=new Dt.d(this,d,E),oe=this.destination;oe.add(Q),this.innerSubscription=(0,ee.D)(this,g,void 0,void 0,Q),this.innerSubscription!==Q&&oe.add(this.innerSubscription)}_complete(){const{innerSubscription:g}=this;(!g||g.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(g){this.destination.remove(g),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(g,d,E,x,Q){this.destination.next(d)}}var Vn=y(3489);const Ln=(()=>{function v(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return v.prototype=Object.create(Error.prototype),v})();function mr(v){return g=>0===v?Kt():g.lift(new Yn(v))}class Yn{constructor(g){if(this.total=g,this.total<0)throw new Ln}call(g,d){return d.subscribe(new kr(g,this.total))}}class kr extends Vn.L{constructor(g,d){super(g),this.total=d,this.count=0}_next(g){const d=this.total,E=++this.count;E<=d&&(this.destination.next(g),E===d&&(this.destination.complete(),this.unsubscribe()))}}function an(v,g){let d=!1;return arguments.length>=2&&(d=!0),function(x){return x.lift(new Sr(v,g,d))}}class Sr{constructor(g,d,E=!1){this.accumulator=g,this.seed=d,this.hasSeed=E}call(g,d){return d.subscribe(new Qn(g,this.accumulator,this.seed,this.hasSeed))}}class Qn extends Vn.L{constructor(g,d,E,x){super(g),this.accumulator=d,this._seed=E,this.hasSeed=x,this.index=0}get seed(){return this._seed}set seed(g){this.hasSeed=!0,this._seed=g}_next(g){if(this.hasSeed)return this._tryNext(g);this.seed=g,this.destination.next(g)}_tryNext(g){const d=this.index++;let E;try{E=this.accumulator(this.seed,g,d)}catch(x){this.destination.error(x)}this.seed=E,this.destination.next(E)}}function Xn(v){return function(d){const E=new ur(v),x=d.lift(E);return E.caught=x}}class ur{constructor(g){this.selector=g}call(g,d){return d.subscribe(new Kr(g,this.selector,this.caught))}}class Kr extends U.L{constructor(g,d,E){super(g),this.selector=d,this.caught=E}error(g){if(!this.isStopped){let d;try{d=this.selector(g,this.caught)}catch(Q){return void super.error(Q)}this._unsubscribeAndRecycle();const E=new Dt.d(this,void 0,void 0);this.add(E);const x=(0,ee.D)(this,d,void 0,void 0,E);x!==E&&this.add(x)}}}var wr=y(2198);function Br(v){return function(d){return 0===v?Kt():d.lift(new Tr(v))}}class Tr{constructor(g){if(this.total=g,this.total<0)throw new Ln}call(g,d){return d.subscribe(new Ur(g,this.total))}}class Ur extends Vn.L{constructor(g,d){super(g),this.total=d,this.ring=new Array,this.count=0}_next(g){const d=this.ring,E=this.total,x=this.count++;d.length<E?d.push(g):d[x%E]=g}_complete(){const g=this.destination;let d=this.count;if(d>0){const E=this.count>=this.total?this.total:this.count,x=this.ring;for(let Q=0;Q<E;Q++){const oe=d++%E;g.next(x[oe])}}g.complete()}}function _r(v=Rr){return g=>g.lift(new or(v))}class or{constructor(g){this.errorFactory=g}call(g,d){return d.subscribe(new pi(g,this.errorFactory))}}class pi extends Vn.L{constructor(g,d){super(g),this.errorFactory=d,this.hasValue=!1}_next(g){this.hasValue=!0,this.destination.next(g)}_complete(){if(this.hasValue)return this.destination.complete();{let g;try{g=this.errorFactory()}catch(d){g=d}this.destination.error(g)}}}function Rr(){return new Ze}function Lr(v=null){return g=>g.lift(new pe(v))}class pe{constructor(g){this.defaultValue=g}call(g,d){return d.subscribe(new _e(g,this.defaultValue))}}class _e extends Vn.L{constructor(g,d){super(g),this.defaultValue=d,this.isEmpty=!0}_next(g){this.isEmpty=!1,this.destination.next(g)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Ye=y(5379);function je(v,g){const d=arguments.length>=2;return E=>E.pipe(v?(0,wr.h)((x,Q)=>v(x,Q,E)):Ye.y,mr(1),d?Lr(g):_r(()=>new Ze))}function nt(){}var mt=y(7043);function $e(v,g,d){return function(x){return x.lift(new at(v,g,d))}}class at{constructor(g,d,E){this.nextOrObserver=g,this.error=d,this.complete=E}call(g,d){return d.subscribe(new Yt(g,this.nextOrObserver,this.error,this.complete))}}class Yt extends Vn.L{constructor(g,d,E,x){super(g),this._tapNext=nt,this._tapError=nt,this._tapComplete=nt,this._tapError=E||nt,this._tapComplete=x||nt,(0,mt.m)(d)?(this._context=this,this._tapNext=d):d&&(this._context=d,this._tapNext=d.next||nt,this._tapError=d.error||nt,this._tapComplete=d.complete||nt)}_next(g){try{this._tapNext.call(this._context,g)}catch(d){return void this.destination.error(d)}this.destination.next(g)}_error(g){try{this._tapError.call(this._context,g)}catch(d){return void this.destination.error(d)}this.destination.error(g)}_complete(){try{this._tapComplete.call(this._context)}catch(g){return void this.destination.error(g)}return this.destination.complete()}}var Nt=y(1406),Ft=y(1709),Mt=y(4327),Qt=y(537);class vn{constructor(g,d){this.id=g,this.url=d}}class $t extends vn{constructor(g,d,E="imperative",x=null){super(g,d),this.navigationTrigger=E,this.restoredState=x}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rn extends vn{constructor(g,d,E){super(g,d),this.urlAfterRedirects=E}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tn extends vn{constructor(g,d,E){super(g,d),this.reason=E}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class pn extends vn{constructor(g,d,E){super(g,d),this.error=E}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class At extends vn{constructor(g,d,E,x){super(g,d),this.urlAfterRedirects=E,this.state=x}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wt extends vn{constructor(g,d,E,x){super(g,d),this.urlAfterRedirects=E,this.state=x}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Cn extends vn{constructor(g,d,E,x,Q){super(g,d),this.urlAfterRedirects=E,this.state=x,this.shouldActivate=Q}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Kn extends vn{constructor(g,d,E,x){super(g,d),this.urlAfterRedirects=E,this.state=x}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pe extends vn{constructor(g,d,E,x){super(g,d),this.urlAfterRedirects=E,this.state=x}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te{constructor(g){this.route=g}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class se{constructor(g){this.route=g}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ee{constructor(g){this.snapshot=g}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ke{constructor(g){this.snapshot=g}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ft{constructor(g){this.snapshot=g}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hn{constructor(g){this.snapshot=g}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Te{constructor(g,d,E){this.routerEvent=g,this.position=d,this.anchor=E}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const re="primary";class ie{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const d=this.params[g];return Array.isArray(d)?d[0]:d}return null}getAll(g){if(this.has(g)){const d=this.params[g];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function Oe(v){return new ie(v)}const Qe="ngNavigationCancelingError";function Ct(v){const g=Error("NavigationCancelingError: "+v);return g[Qe]=!0,g}function dt(v,g,d){const E=d.path.split("/");if(E.length>v.length||"full"===d.pathMatch&&(g.hasChildren()||E.length<v.length))return null;const x={};for(let Q=0;Q<E.length;Q++){const oe=E[Q],ye=v[Q];if(oe.startsWith(":"))x[oe.substring(1)]=ye;else if(oe!==ye.path)return null}return{consumed:v.slice(0,E.length),posParams:x}}function xe(v,g){const d=v?Object.keys(v):void 0,E=g?Object.keys(g):void 0;if(!d||!E||d.length!=E.length)return!1;let x;for(let Q=0;Q<d.length;Q++)if(x=d[Q],!Ot(v[x],g[x]))return!1;return!0}function Ot(v,g){if(Array.isArray(v)&&Array.isArray(g)){if(v.length!==g.length)return!1;const d=[...v].sort(),E=[...g].sort();return d.every((x,Q)=>E[Q]===x)}return v===g}function Ht(v){return Array.prototype.concat.apply([],v)}function bn(v){return v.length>0?v[v.length-1]:null}function Be(v,g){for(const d in v)v.hasOwnProperty(d)&&g(v[d],d)}function Ae(v){return(0,h.CqO)(v)?v:(0,h.QGY)(v)?(0,Et.D)(Promise.resolve(v)):(0,He.of)(v)}const St={exact:function nn(v,g,d){if(!Gn(v.segments,g.segments)||!Ir(v.segments,g.segments,d)||v.numberOfChildren!==g.numberOfChildren)return!1;for(const E in g.children)if(!v.children[E]||!nn(v.children[E],g.children[E],d))return!1;return!0},subset:It},Pt={exact:function kt(v,g){return xe(v,g)},subset:function cn(v,g){return Object.keys(g).length<=Object.keys(v).length&&Object.keys(g).every(d=>Ot(v[d],g[d]))},ignored:()=>!0};function Rt(v,g,d){return St[d.paths](v.root,g.root,d.matrixParams)&&Pt[d.queryParams](v.queryParams,g.queryParams)&&!("exact"===d.fragment&&v.fragment!==g.fragment)}function It(v,g,d){return Mn(v,g,g.segments,d)}function Mn(v,g,d,E){if(v.segments.length>d.length){const x=v.segments.slice(0,d.length);return!(!Gn(x,d)||g.hasChildren()||!Ir(x,d,E))}if(v.segments.length===d.length){if(!Gn(v.segments,d)||!Ir(v.segments,d,E))return!1;for(const x in g.children)if(!v.children[x]||!It(v.children[x],g.children[x],E))return!1;return!0}{const x=d.slice(0,v.segments.length),Q=d.slice(v.segments.length);return!!(Gn(v.segments,x)&&Ir(v.segments,x,E)&&v.children[re])&&Mn(v.children[re],g,Q,E)}}function Ir(v,g,d){return g.every((E,x)=>Pt[d](v[x].parameters,E.parameters))}class cr{constructor(g,d,E){this.root=g,this.queryParams=d,this.fragment=E}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return z.serialize(this)}}class gn{constructor(g,d){this.segments=g,this.children=d,this.parent=null,Be(d,(E,x)=>E.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ue(this)}}class yr{constructor(g,d){this.path=g,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=Oe(this.parameters)),this._parameterMap}toString(){return Bn(this)}}function Gn(v,g){return v.length===g.length&&v.every((d,E)=>d.path===g[E].path)}class R{}class K{parse(g){const d=new ao(g);return new cr(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(g){const d=`/${Ue(g.root,!0)}`,E=function vr(v){const g=Object.keys(v).map(d=>{const E=v[d];return Array.isArray(E)?E.map(x=>`${tt(d)}=${tt(x)}`).join("&"):`${tt(d)}=${tt(E)}`}).filter(d=>!!d);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${d}${E}${"string"==typeof g.fragment?`#${function ot(v){return encodeURI(v)}(g.fragment)}`:""}`}}const z=new K;function ue(v){return v.segments.map(g=>Bn(g)).join("/")}function Ue(v,g){if(!v.hasChildren())return ue(v);if(g){const d=v.children[re]?Ue(v.children[re],!1):"",E=[];return Be(v.children,(x,Q)=>{Q!==re&&E.push(`${Q}:${Ue(x,!1)}`)}),E.length>0?`${d}(${E.join("//")})`:d}{const d=function Vr(v,g){let d=[];return Be(v.children,(E,x)=>{x===re&&(d=d.concat(g(E,x)))}),Be(v.children,(E,x)=>{x!==re&&(d=d.concat(g(E,x)))}),d}(v,(E,x)=>x===re?[Ue(v.children[re],!1)]:[`${x}:${Ue(E,!1)}`]);return 1===Object.keys(v.children).length&&null!=v.children[re]?`${ue(v)}/${d[0]}`:`${ue(v)}/(${d.join("//")})`}}function Le(v){return encodeURIComponent(v).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function tt(v){return Le(v).replace(/%3B/gi,";")}function gt(v){return Le(v).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fn(v){return decodeURIComponent(v)}function sn(v){return fn(v.replace(/\+/g,"%20"))}function Bn(v){return`${gt(v.path)}${function Er(v){return Object.keys(v).map(g=>`;${gt(g)}=${gt(v[g])}`).join("")}(v.parameters)}`}const er=/^[^\/()?;=#]+/;function dr(v){const g=v.match(er);return g?g[0]:""}const Ti=/^[^=?&#]+/,ps=/^[^&#]+/;class ao{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gn([],{}):new gn([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let E={};return this.peekStartsWith("(")&&(E=this.parseParens(!1)),(g.length>0||Object.keys(d).length>0)&&(E[re]=new gn(g,d)),E}parseSegment(){const g=dr(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(g),new yr(fn(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const d=dr(this.remaining);if(!d)return;this.capture(d);let E="";if(this.consumeOptional("=")){const x=dr(this.remaining);x&&(E=x,this.capture(E))}g[fn(d)]=fn(E)}parseQueryParam(g){const d=function Pi(v){const g=v.match(Ti);return g?g[0]:""}(this.remaining);if(!d)return;this.capture(d);let E="";if(this.consumeOptional("=")){const oe=function Co(v){const g=v.match(ps);return g?g[0]:""}(this.remaining);oe&&(E=oe,this.capture(E))}const x=sn(d),Q=sn(E);if(g.hasOwnProperty(x)){let oe=g[x];Array.isArray(oe)||(oe=[oe],g[x]=oe),oe.push(Q)}else g[x]=Q}parseParens(g){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const E=dr(this.remaining),x=this.remaining[E.length];if("/"!==x&&")"!==x&&";"!==x)throw new Error(`Cannot parse url '${this.url}'`);let Q;E.indexOf(":")>-1?(Q=E.substr(0,E.indexOf(":")),this.capture(Q),this.capture(":")):g&&(Q=re);const oe=this.parseChildren();d[Q]=1===Object.keys(oe).length?oe[re]:new gn([],oe),this.consumeOptional("//")}return d}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new Error(`Expected "${g}".`)}}class bo{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const d=this.pathFromRoot(g);return d.length>1?d[d.length-2]:null}children(g){const d=Vs(g,this._root);return d?d.children.map(E=>E.value):[]}firstChild(g){const d=Vs(g,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(g){const d=Zi(g,this._root);return d.length<2?[]:d[d.length-2].children.map(x=>x.value).filter(x=>x!==g)}pathFromRoot(g){return Zi(g,this._root).map(d=>d.value)}}function Vs(v,g){if(v===g.value)return g;for(const d of g.children){const E=Vs(v,d);if(E)return E}return null}function Zi(v,g){if(v===g.value)return[g];for(const d of g.children){const E=Zi(v,d);if(E.length)return E.unshift(g),E}return[]}class Fi{constructor(g,d){this.value=g,this.children=d}toString(){return`TreeNode(${this.value})`}}function ai(v){const g={};return v&&v.children.forEach(d=>g[d.value.outlet]=d),g}class Bs extends bo{constructor(g,d){super(g),this.snapshot=d,Li(this,g)}toString(){return this.snapshot.toString()}}function ns(v,g){const d=function lo(v,g){const oe=new gs([],{},{},"",{},re,g,null,v.root,-1,{});return new jo("",new Fi(oe,[]))}(v,g),E=new A([new yr("",{})]),x=new A({}),Q=new A({}),oe=new A({}),ye=new A(""),st=new ki(E,x,oe,ye,Q,re,g,d.root);return st.snapshot=d.root,new Bs(new Fi(st,[]),d)}class ki{constructor(g,d,E,x,Q,oe,ye,st){this.url=g,this.params=d,this.queryParams=E,this.fragment=x,this.data=Q,this.outlet=oe,this.component=ye,this._futureSnapshot=st}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,qe.U)(g=>Oe(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,qe.U)(g=>Oe(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ho(v,g="emptyOnly"){const d=v.pathFromRoot;let E=0;if("always"!==g)for(E=d.length-1;E>=1;){const x=d[E],Q=d[E-1];if(x.routeConfig&&""===x.routeConfig.path)E--;else{if(Q.component)break;E--}}return function Us(v){return v.reduce((g,d)=>({params:{...g.params,...d.params},data:{...g.data,...d.data},resolve:{...g.resolve,...d._resolvedData}}),{params:{},data:{},resolve:{}})}(d.slice(E))}class gs{constructor(g,d,E,x,Q,oe,ye,st,Zt,Cr,yn){this.url=g,this.params=d,this.queryParams=E,this.fragment=x,this.data=Q,this.outlet=oe,this.component=ye,this.routeConfig=st,this._urlSegment=Zt,this._lastPathIndex=Cr,this._resolve=yn}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=Oe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(E=>E.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class jo extends bo{constructor(g,d){super(d),this.url=g,Li(this,d)}toString(){return Hs(this._root)}}function Li(v,g){g.value._routerState=v,g.children.forEach(d=>Li(v,d))}function Hs(v){const g=v.children.length>0?` { ${v.children.map(Hs).join(", ")} } `:"";return`${v.value}${g}`}function Vi(v){if(v.snapshot){const g=v.snapshot,d=v._futureSnapshot;v.snapshot=d,xe(g.queryParams,d.queryParams)||v.queryParams.next(d.queryParams),g.fragment!==d.fragment&&v.fragment.next(d.fragment),xe(g.params,d.params)||v.params.next(d.params),function de(v,g){if(v.length!==g.length)return!1;for(let d=0;d<v.length;++d)if(!xe(v[d],g[d]))return!1;return!0}(g.url,d.url)||v.url.next(d.url),xe(g.data,d.data)||v.data.next(d.data)}else v.snapshot=v._futureSnapshot,v.data.next(v._futureSnapshot.data)}function tr(v,g){const d=xe(v.params,g.params)&&function gi(v,g){return Gn(v,g)&&v.every((d,E)=>xe(d.parameters,g[E].parameters))}(v.url,g.url);return d&&!(!v.parent!=!g.parent)&&(!v.parent||tr(v.parent,g.parent))}function bi(v,g,d){if(d&&v.shouldReuseRoute(g.value,d.value.snapshot)){const E=d.value;E._futureSnapshot=g.value;const x=function wo(v,g,d){return g.children.map(E=>{for(const x of d.children)if(v.shouldReuseRoute(E.value,x.value.snapshot))return bi(v,E,x);return bi(v,E)})}(v,g,d);return new Fi(E,x)}{if(v.shouldAttach(g.value)){const Q=v.retrieve(g.value);if(null!==Q){const oe=Q.route;return oe.value._futureSnapshot=g.value,oe.children=g.children.map(ye=>bi(v,ye)),oe}}const E=function ms(v){return new ki(new A(v.url),new A(v.params),new A(v.queryParams),new A(v.fragment),new A(v.data),v.outlet,v.component,v)}(g.value),x=g.children.map(Q=>bi(v,Q));return new Fi(E,x)}}function _s(v){return"object"==typeof v&&null!=v&&!v.outlets&&!v.segmentPath}function rs(v){return"object"==typeof v&&null!=v&&v.outlets}function ys(v,g,d,E,x){let Q={};if(E&&Be(E,(ye,st)=>{Q[st]=Array.isArray(ye)?ye.map(Zt=>`${Zt}`):`${ye}`}),v===g)return new cr(d,Q,x);const oe=uo(v,g,d);return new cr(oe,Q,x)}function uo(v,g,d){const E={};return Be(v.children,(x,Q)=>{E[Q]=x===g?d:uo(x,g,d)}),new gn(v.segments,E)}class Hr{constructor(g,d,E){if(this.isAbsolute=g,this.numberOfDoubleDots=d,this.commands=E,g&&E.length>0&&_s(E[0]))throw new Error("Root segment cannot have matrix parameters");const x=E.find(rs);if(x&&x!==bn(E))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jr{constructor(g,d,E){this.segmentGroup=g,this.processChildren=d,this.index=E}}function ss(v,g,d){if(v||(v=new gn([],{})),0===v.segments.length&&v.hasChildren())return js(v,g,d);const E=function Eo(v,g,d){let E=0,x=g;const Q={match:!1,pathIndex:0,commandIndex:0};for(;x<v.segments.length;){if(E>=d.length)return Q;const oe=v.segments[x],ye=d[E];if(rs(ye))break;const st=`${ye}`,Zt=E<d.length-1?d[E+1]:null;if(x>0&&void 0===st)break;if(st&&Zt&&"object"==typeof Zt&&void 0===Zt.outlets){if(!J(st,Zt,oe))return Q;E+=2}else{if(!J(st,{},oe))return Q;E++}x++}return{match:!0,pathIndex:x,commandIndex:E}}(v,g,d),x=d.slice(E.commandIndex);if(E.match&&E.pathIndex<v.segments.length){const Q=new gn(v.segments.slice(0,E.pathIndex),{});return Q.children[re]=new gn(v.segments.slice(E.pathIndex),v.children),js(Q,0,x)}return E.match&&0===x.length?new gn(v.segments,{}):E.match&&!v.hasChildren()?S(v,g,d):E.match?js(v,0,x):S(v,g,d)}function js(v,g,d){if(0===d.length)return new gn(v.segments,{});{const E=function ri(v){return rs(v[0])?v[0].outlets:{[re]:v}}(d),x={};return Be(E,(Q,oe)=>{"string"==typeof Q&&(Q=[Q]),null!==Q&&(x[oe]=ss(v.children[oe],g,Q))}),Be(v.children,(Q,oe)=>{void 0===E[oe]&&(x[oe]=Q)}),new gn(v.segments,x)}}function S(v,g,d){const E=v.segments.slice(0,g);let x=0;for(;x<d.length;){const Q=d[x];if(rs(Q)){const st=W(Q.outlets);return new gn(E,st)}if(0===x&&_s(d[0])){E.push(new yr(v.segments[g].path,P(d[0]))),x++;continue}const oe=rs(Q)?Q.outlets[re]:`${Q}`,ye=x<d.length-1?d[x+1]:null;oe&&ye&&_s(ye)?(E.push(new yr(oe,P(ye))),x+=2):(E.push(new yr(oe,{})),x++)}return new gn(E,{})}function W(v){const g={};return Be(v,(d,E)=>{"string"==typeof d&&(d=[d]),null!==d&&(g[E]=S(new gn([],{}),0,d))}),g}function P(v){const g={};return Be(v,(d,E)=>g[E]=`${d}`),g}function J(v,g,d){return v==d.path&&xe(g,d.parameters)}class Ge{constructor(g,d,E,x){this.routeReuseStrategy=g,this.futureState=d,this.currState=E,this.forwardEvent=x}activate(g){const d=this.futureState._root,E=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,E,g),Vi(this.futureState.root),this.activateChildRoutes(d,E,g)}deactivateChildRoutes(g,d,E){const x=ai(d);g.children.forEach(Q=>{const oe=Q.value.outlet;this.deactivateRoutes(Q,x[oe],E),delete x[oe]}),Be(x,(Q,oe)=>{this.deactivateRouteAndItsChildren(Q,E)})}deactivateRoutes(g,d,E){const x=g.value,Q=d?d.value:null;if(x===Q)if(x.component){const oe=E.getContext(x.outlet);oe&&this.deactivateChildRoutes(g,d,oe.children)}else this.deactivateChildRoutes(g,d,E);else Q&&this.deactivateRouteAndItsChildren(d,E)}deactivateRouteAndItsChildren(g,d){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,d):this.deactivateRouteAndOutlet(g,d)}detachAndStoreRouteSubtree(g,d){const E=d.getContext(g.value.outlet),x=E&&g.value.component?E.children:d,Q=ai(g);for(const oe of Object.keys(Q))this.deactivateRouteAndItsChildren(Q[oe],x);if(E&&E.outlet){const oe=E.outlet.detach(),ye=E.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:oe,route:g,contexts:ye})}}deactivateRouteAndOutlet(g,d){const E=d.getContext(g.value.outlet),x=E&&g.value.component?E.children:d,Q=ai(g);for(const oe of Object.keys(Q))this.deactivateRouteAndItsChildren(Q[oe],x);E&&E.outlet&&(E.outlet.deactivate(),E.children.onOutletDeactivated(),E.attachRef=null,E.resolver=null,E.route=null)}activateChildRoutes(g,d,E){const x=ai(d);g.children.forEach(Q=>{this.activateRoutes(Q,x[Q.value.outlet],E),this.forwardEvent(new hn(Q.value.snapshot))}),g.children.length&&this.forwardEvent(new ke(g.value.snapshot))}activateRoutes(g,d,E){const x=g.value,Q=d?d.value:null;if(Vi(x),x===Q)if(x.component){const oe=E.getOrCreateContext(x.outlet);this.activateChildRoutes(g,d,oe.children)}else this.activateChildRoutes(g,d,E);else if(x.component){const oe=E.getOrCreateContext(x.outlet);if(this.routeReuseStrategy.shouldAttach(x.snapshot)){const ye=this.routeReuseStrategy.retrieve(x.snapshot);this.routeReuseStrategy.store(x.snapshot,null),oe.children.onOutletReAttached(ye.contexts),oe.attachRef=ye.componentRef,oe.route=ye.route.value,oe.outlet&&oe.outlet.attach(ye.componentRef,ye.route.value),Vi(ye.route.value),this.activateChildRoutes(g,null,oe.children)}else{const ye=function yt(v){for(let g=v.parent;g;g=g.parent){const d=g.routeConfig;if(d&&d._loadedConfig)return d._loadedConfig;if(d&&d.component)return null}return null}(x.snapshot),st=ye?ye.module.componentFactoryResolver:null;oe.attachRef=null,oe.route=x,oe.resolver=st,oe.outlet&&oe.outlet.activateWith(x,st),this.activateChildRoutes(g,null,oe.children)}}else this.activateChildRoutes(g,null,E)}}class xt{constructor(g,d){this.routes=g,this.module=d}}function Fn(v){return"function"==typeof v}function Hn(v){return v instanceof cr}const Dr=Symbol("INITIAL_VALUE");function mi(){return Ke(v=>function q(...v){let g=null,d=null;return(0,I.K)(v[v.length-1])&&(d=v.pop()),"function"==typeof v[v.length-1]&&(g=v.pop()),1===v.length&&(0,B.k)(v[0])&&(v=v[0]),(0,k.n)(v,d).lift(new le(g))}(v.map(g=>g.pipe(mr(1),function Dn(...v){const g=v[v.length-1];return(0,I.K)(g)?(v.pop(),d=>wt(v,d,g)):d=>wt(v,d)}(Dr)))).pipe(an((g,d)=>{let E=!1;return d.reduce((x,Q,oe)=>x!==Dr?x:(Q===Dr&&(E=!0),E||!1!==Q&&oe!==d.length-1&&!Hn(Q)?x:Q),g)},Dr),(0,wr.h)(g=>g!==Dr),(0,qe.U)(g=>Hn(g)?g:!0===g),mr(1)))}class Cs{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new _i,this.attachRef=null}}class _i{constructor(){this.contexts=new Map}onChildOutletCreated(g,d){const E=this.getOrCreateContext(g);E.outlet=d,this.contexts.set(g,E)}onChildOutletDestroyed(g){const d=this.getContext(g);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const g=this.contexts;return this.contexts=new Map,g}onOutletReAttached(g){this.contexts=g}getOrCreateContext(g){let d=this.getContext(g);return d||(d=new Cs,this.contexts.set(g,d)),d}getContext(g){return this.contexts.get(g)||null}}let T=(()=>{class v{constructor(d,E,x,Q,oe){this.parentContexts=d,this.location=E,this.resolver=x,this.changeDetector=oe,this.activated=null,this._activatedRoute=null,this.activateEvents=new h.vpe,this.deactivateEvents=new h.vpe,this.attachEvents=new h.vpe,this.detachEvents=new h.vpe,this.name=Q||re,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,E){this.activated=d,this._activatedRoute=E,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,E){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=d;const oe=(E=E||this.resolver).resolveComponentFactory(d._futureSnapshot.routeConfig.component),ye=this.parentContexts.getOrCreateContext(this.name).children,st=new M(d,ye,this.location.injector);this.activated=this.location.createComponent(oe,this.location.length,st),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return v.\u0275fac=function(d){return new(d||v)(h.Y36(_i),h.Y36(h.s_b),h.Y36(h._Vd),h.$8M("name"),h.Y36(h.sBO))},v.\u0275dir=h.lG2({type:v,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),v})();class M{constructor(g,d,E){this.route=g,this.childContexts=d,this.parent=E}get(g,d){return g===ki?this.route:g===_i?this.childContexts:this.parent.get(g,d)}}let w=(()=>{class v{}return v.\u0275fac=function(d){return new(d||v)},v.\u0275cmp=h.Xpm({type:v,selectors:[["ng-component"]],decls:1,vars:0,template:function(d,E){1&d&&h._UZ(0,"router-outlet")},directives:[T],encapsulation:2}),v})();function j(v,g=""){for(let d=0;d<v.length;d++){const E=v[d];Xe(E,on(g,E))}}function Xe(v,g){v.children&&j(v.children,g)}function on(v,g){return g?v||g.path?v&&!g.path?`${v}/`:!v&&g.path?g.path:`${v}/${g.path}`:"":v}function Pr(v){const g=v.children&&v.children.map(Pr),d=g?{...v,children:g}:{...v};return!d.component&&(g||d.loadChildren)&&d.outlet&&d.outlet!==re&&(d.component=w),d}function jn(v){return v.outlet||re}function yi(v,g){const d=v.filter(E=>jn(E)===g);return d.push(...v.filter(E=>jn(E)!==g)),d}const qi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xi(v,g,d){if(""===g.path)return"full"===g.pathMatch&&(v.hasChildren()||d.length>0)?{...qi}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const x=(g.matcher||dt)(d,v,g);if(!x)return{...qi};const Q={};Be(x.posParams,(ye,st)=>{Q[st]=ye.path});const oe=x.consumed.length>0?{...Q,...x.consumed[x.consumed.length-1].parameters}:Q;return{matched:!0,consumedSegments:x.consumed,remainingSegments:d.slice(x.consumed.length),parameters:oe,positionalParamSegments:x.posParams??{}}}function bs(v,g,d,E,x="corrected"){if(d.length>0&&function ii(v,g,d){return d.some(E=>ws(v,g,E)&&jn(E)!==re)}(v,d,E)){const oe=new gn(g,function qn(v,g,d,E){const x={};x[re]=E,E._sourceSegment=v,E._segmentIndexShift=g.length;for(const Q of d)if(""===Q.path&&jn(Q)!==re){const oe=new gn([],{});oe._sourceSegment=v,oe._segmentIndexShift=g.length,x[jn(Q)]=oe}return x}(v,g,E,new gn(d,v.children)));return oe._sourceSegment=v,oe._segmentIndexShift=g.length,{segmentGroup:oe,slicedSegments:[]}}if(0===d.length&&function jr(v,g,d){return d.some(E=>ws(v,g,E))}(v,d,E)){const oe=new gn(v.segments,function ht(v,g,d,E,x,Q){const oe={};for(const ye of E)if(ws(v,d,ye)&&!x[jn(ye)]){const st=new gn([],{});st._sourceSegment=v,st._segmentIndexShift="legacy"===Q?v.segments.length:g.length,oe[jn(ye)]=st}return{...x,...oe}}(v,g,d,E,v.children,x));return oe._sourceSegment=v,oe._segmentIndexShift=g.length,{segmentGroup:oe,slicedSegments:d}}const Q=new gn(v.segments,v.children);return Q._sourceSegment=v,Q._segmentIndexShift=g.length,{segmentGroup:Q,slicedSegments:d}}function ws(v,g,d){return(!(v.hasChildren()||g.length>0)||"full"!==d.pathMatch)&&""===d.path}function Es(v,g,d,E){return!!(jn(v)===E||E!==re&&ws(g,d,v))&&("**"===v.path||xi(g,v,d).matched)}function Bi(v,g,d){return 0===g.length&&!v.children[d]}class co{constructor(g){this.segmentGroup=g||null}}class fa{constructor(g){this.urlTree=g}}function ha(v){return Fe(new co(v))}function fl(v){return Fe(new fa(v))}class as{constructor(g,d,E,x,Q){this.configLoader=d,this.urlSerializer=E,this.urlTree=x,this.config=Q,this.allowRedirects=!0,this.ngModule=g.get(h.h0i)}apply(){const g=bs(this.urlTree.root,[],[],this.config).segmentGroup,d=new gn(g.segments,g.children);return this.expandSegmentGroup(this.ngModule,this.config,d,re).pipe((0,qe.U)(Q=>this.createUrlTree(ls(Q),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Xn(Q=>{if(Q instanceof fa)return this.allowRedirects=!1,this.match(Q.urlTree);throw Q instanceof co?this.noMatchError(Q):Q}))}match(g){return this.expandSegmentGroup(this.ngModule,this.config,g.root,re).pipe((0,qe.U)(x=>this.createUrlTree(ls(x),g.queryParams,g.fragment))).pipe(Xn(x=>{throw x instanceof co?this.noMatchError(x):x}))}noMatchError(g){return new Error(`Cannot match any routes. URL Segment: '${g.segmentGroup}'`)}createUrlTree(g,d,E){const x=g.segments.length>0?new gn([],{[re]:g}):g;return new cr(x,d,E)}expandSegmentGroup(g,d,E,x){return 0===E.segments.length&&E.hasChildren()?this.expandChildren(g,d,E).pipe((0,qe.U)(Q=>new gn([],Q))):this.expandSegment(g,E,d,E.segments,x,!0)}expandChildren(g,d,E){const x=[];for(const Q of Object.keys(E.children))"primary"===Q?x.unshift(Q):x.push(Q);return(0,Et.D)(x).pipe((0,Nt.b)(Q=>{const oe=E.children[Q],ye=yi(d,Q);return this.expandSegmentGroup(g,ye,oe,Q).pipe((0,qe.U)(st=>({segment:st,outlet:Q})))}),an((Q,oe)=>(Q[oe.outlet]=oe.segment,Q),{}),function ze(v,g){const d=arguments.length>=2;return E=>E.pipe(v?(0,wr.h)((x,Q)=>v(x,Q,E)):Ye.y,Br(1),d?Lr(g):_r(()=>new Ze))}())}expandSegment(g,d,E,x,Q,oe){return(0,Et.D)(E).pipe((0,Nt.b)(ye=>this.expandSegmentAgainstRoute(g,d,E,ye,x,Q,oe).pipe(Xn(Zt=>{if(Zt instanceof co)return(0,He.of)(null);throw Zt}))),je(ye=>!!ye),Xn((ye,st)=>{if(ye instanceof Ze||"EmptyError"===ye.name)return Bi(d,x,Q)?(0,He.of)(new gn([],{})):ha(d);throw ye}))}expandSegmentAgainstRoute(g,d,E,x,Q,oe,ye){return Es(x,d,Q,oe)?void 0===x.redirectTo?this.matchSegmentAgainstRoute(g,d,x,Q,oe):ye&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,d,E,x,Q,oe):ha(d):ha(d)}expandSegmentAgainstRouteUsingRedirect(g,d,E,x,Q,oe){return"**"===x.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,E,x,oe):this.expandRegularSegmentAgainstRouteUsingRedirect(g,d,E,x,Q,oe)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,d,E,x){const Q=this.applyRedirectCommands([],E.redirectTo,{});return E.redirectTo.startsWith("/")?fl(Q):this.lineralizeSegments(E,Q).pipe((0,Ft.zg)(oe=>{const ye=new gn(oe,{});return this.expandSegment(g,ye,d,oe,x,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,d,E,x,Q,oe){const{matched:ye,consumedSegments:st,remainingSegments:Zt,positionalParamSegments:Cr}=xi(d,x,Q);if(!ye)return ha(d);const yn=this.applyRedirectCommands(st,x.redirectTo,Cr);return x.redirectTo.startsWith("/")?fl(yn):this.lineralizeSegments(x,yn).pipe((0,Ft.zg)(sr=>this.expandSegment(g,d,E,sr.concat(Zt),oe,!1)))}matchSegmentAgainstRoute(g,d,E,x,Q){if("**"===E.path)return E.loadChildren?(E._loadedConfig?(0,He.of)(E._loadedConfig):this.configLoader.load(g.injector,E)).pipe((0,qe.U)(yn=>(E._loadedConfig=yn,new gn(x,{})))):(0,He.of)(new gn(x,{}));const{matched:oe,consumedSegments:ye,remainingSegments:st}=xi(d,E,x);return oe?this.getChildConfig(g,E,x).pipe((0,Ft.zg)(Cr=>{const yn=Cr.module,sr=Cr.routes,{segmentGroup:Nr,slicedSegments:qs}=bs(d,ye,st,sr),wa=new gn(Nr.segments,Nr.children);if(0===qs.length&&wa.hasChildren())return this.expandChildren(yn,sr,wa).pipe((0,qe.U)(Fu=>new gn(ye,Fu)));if(0===sr.length&&0===qs.length)return(0,He.of)(new gn(ye,{}));const $r=jn(E)===Q;return this.expandSegment(yn,wa,sr,qs,$r?re:Q,!0).pipe((0,qe.U)(si=>new gn(ye.concat(si.segments),si.children)))})):ha(d)}getChildConfig(g,d,E){return d.children?(0,He.of)(new xt(d.children,g)):d.loadChildren?void 0!==d._loadedConfig?(0,He.of)(d._loadedConfig):this.runCanLoadGuards(g.injector,d,E).pipe((0,Ft.zg)(x=>x?this.configLoader.load(g.injector,d).pipe((0,qe.U)(Q=>(d._loadedConfig=Q,Q))):function os(v){return Fe(Ct(`Cannot load children because the guard of the route "path: '${v.path}'" returned false`))}(d))):(0,He.of)(new xt([],g))}runCanLoadGuards(g,d,E){const x=d.canLoad;if(!x||0===x.length)return(0,He.of)(!0);const Q=x.map(oe=>{const ye=g.get(oe);let st;if(function jt(v){return v&&Fn(v.canLoad)}(ye))st=ye.canLoad(d,E);else{if(!Fn(ye))throw new Error("Invalid CanLoad guard");st=ye(d,E)}return Ae(st)});return(0,He.of)(Q).pipe(mi(),$e(oe=>{if(!Hn(oe))return;const ye=Ct(`Redirecting to "${this.urlSerializer.serialize(oe)}"`);throw ye.url=oe,ye}),(0,qe.U)(oe=>!0===oe))}lineralizeSegments(g,d){let E=[],x=d.root;for(;;){if(E=E.concat(x.segments),0===x.numberOfChildren)return(0,He.of)(E);if(x.numberOfChildren>1||!x.children[re])return Fe(new Error(`Only absolute redirects can have named outlets. redirectTo: '${g.redirectTo}'`));x=x.children[re]}}applyRedirectCommands(g,d,E){return this.applyRedirectCreatreUrlTree(d,this.urlSerializer.parse(d),g,E)}applyRedirectCreatreUrlTree(g,d,E,x){const Q=this.createSegmentGroup(g,d.root,E,x);return new cr(Q,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(g,d){const E={};return Be(g,(x,Q)=>{if("string"==typeof x&&x.startsWith(":")){const ye=x.substring(1);E[Q]=d[ye]}else E[Q]=x}),E}createSegmentGroup(g,d,E,x){const Q=this.createSegments(g,d.segments,E,x);let oe={};return Be(d.children,(ye,st)=>{oe[st]=this.createSegmentGroup(g,ye,E,x)}),new gn(Q,oe)}createSegments(g,d,E,x){return d.map(Q=>Q.path.startsWith(":")?this.findPosParam(g,Q,x):this.findOrReturn(Q,E))}findPosParam(g,d,E){const x=E[d.path.substring(1)];if(!x)throw new Error(`Cannot redirect to '${g}'. Cannot find '${d.path}'.`);return x}findOrReturn(g,d){let E=0;for(const x of d){if(x.path===g.path)return d.splice(E),x;E++}return g}}function ls(v){const g={};for(const E of Object.keys(v.children)){const Q=ls(v.children[E]);(Q.segments.length>0||Q.hasChildren())&&(g[E]=Q)}return function pa(v){if(1===v.numberOfChildren&&v.children[re]){const g=v.children[re];return new gn(v.segments.concat(g.segments),g.children)}return v}(new gn(v.segments,g))}class Go{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class zo{constructor(g,d){this.component=g,this.route=d}}function Xl(v,g,d){const E=v._root;return $s(E,g?g._root:null,d,[E.value])}function Qi(v,g,d){const E=function wi(v){if(!v)return null;for(let g=v.parent;g;g=g.parent){const d=g.routeConfig;if(d&&d._loadedConfig)return d._loadedConfig}return null}(g);return(E?E.module.injector:d).get(v)}function $s(v,g,d,E,x={canDeactivateChecks:[],canActivateChecks:[]}){const Q=ai(g);return v.children.forEach(oe=>{(function ga(v,g,d,E,x={canDeactivateChecks:[],canActivateChecks:[]}){const Q=v.value,oe=g?g.value:null,ye=d?d.getContext(v.value.outlet):null;if(oe&&Q.routeConfig===oe.routeConfig){const st=function tu(v,g,d){if("function"==typeof d)return d(v,g);switch(d){case"pathParamsChange":return!Gn(v.url,g.url);case"pathParamsOrQueryParamsChange":return!Gn(v.url,g.url)||!xe(v.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!tr(v,g)||!xe(v.queryParams,g.queryParams);default:return!tr(v,g)}}(oe,Q,Q.routeConfig.runGuardsAndResolvers);st?x.canActivateChecks.push(new Go(E)):(Q.data=oe.data,Q._resolvedData=oe._resolvedData),$s(v,g,Q.component?ye?ye.children:null:d,E,x),st&&ye&&ye.outlet&&ye.outlet.isActivated&&x.canDeactivateChecks.push(new zo(ye.outlet.component,oe))}else oe&&Do(g,ye,x),x.canActivateChecks.push(new Go(E)),$s(v,null,Q.component?ye?ye.children:null:d,E,x)})(oe,Q[oe.value.outlet],d,E.concat([oe.value]),x),delete Q[oe.value.outlet]}),Be(Q,(oe,ye)=>Do(oe,d.getContext(ye),x)),x}function Do(v,g,d){const E=ai(v),x=v.value;Be(E,(Q,oe)=>{Do(Q,x.component?g?g.children.getContext(oe):null:g,d)}),d.canDeactivateChecks.push(new zo(x.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,x))}class In{}function xr(v){return new be.y(g=>g.error(v))}class $a{constructor(g,d,E,x,Q,oe){this.rootComponentType=g,this.config=d,this.urlTree=E,this.url=x,this.paramsInheritanceStrategy=Q,this.relativeLinkResolution=oe}recognize(){const g=bs(this.urlTree.root,[],[],this.config.filter(oe=>void 0===oe.redirectTo),this.relativeLinkResolution).segmentGroup,d=this.processSegmentGroup(this.config,g,re);if(null===d)return null;const E=new gs([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},re,this.rootComponentType,null,this.urlTree.root,-1,{}),x=new Fi(E,d),Q=new jo(this.url,x);return this.inheritParamsAndData(Q._root),Q}inheritParamsAndData(g){const d=g.value,E=Ho(d,this.paramsInheritanceStrategy);d.params=Object.freeze(E.params),d.data=Object.freeze(E.data),g.children.forEach(x=>this.inheritParamsAndData(x))}processSegmentGroup(g,d,E){return 0===d.segments.length&&d.hasChildren()?this.processChildren(g,d):this.processSegment(g,d,d.segments,E)}processChildren(g,d){const E=[];for(const Q of Object.keys(d.children)){const oe=d.children[Q],ye=yi(g,Q),st=this.processSegmentGroup(ye,oe,Q);if(null===st)return null;E.push(...st)}const x=Ga(E);return function nu(v){v.sort((g,d)=>g.value.outlet===re?-1:d.value.outlet===re?1:g.value.outlet.localeCompare(d.value.outlet))}(x),x}processSegment(g,d,E,x){for(const Q of g){const oe=this.processSegmentAgainstRoute(Q,d,E,x);if(null!==oe)return oe}return Bi(d,E,x)?[]:null}processSegmentAgainstRoute(g,d,E,x){if(g.redirectTo||!Es(g,d,E,x))return null;let Q,oe=[],ye=[];if("**"===g.path){const Nr=E.length>0?bn(E).parameters:{};Q=new gs(E,Nr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ir(g),jn(g),g.component,g,Gs(d),zs(d)+E.length,_a(g))}else{const Nr=xi(d,g,E);if(!Nr.matched)return null;oe=Nr.consumedSegments,ye=Nr.remainingSegments,Q=new gs(oe,Nr.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ir(g),jn(g),g.component,g,Gs(d),zs(d)+oe.length,_a(g))}const st=function Ui(v){return v.children?v.children:v.loadChildren?v._loadedConfig.routes:[]}(g),{segmentGroup:Zt,slicedSegments:Cr}=bs(d,oe,ye,st.filter(Nr=>void 0===Nr.redirectTo),this.relativeLinkResolution);if(0===Cr.length&&Zt.hasChildren()){const Nr=this.processChildren(st,Zt);return null===Nr?null:[new Fi(Q,Nr)]}if(0===st.length&&0===Cr.length)return[new Fi(Q,[])];const yn=jn(g)===x,sr=this.processSegment(st,Zt,Cr,yn?re:x);return null===sr?null:[new Fi(Q,sr)]}}function ma(v){const g=v.value.routeConfig;return g&&""===g.path&&void 0===g.redirectTo}function Ga(v){const g=[],d=new Set;for(const E of v){if(!ma(E)){g.push(E);continue}const x=g.find(Q=>E.value.routeConfig===Q.value.routeConfig);void 0!==x?(x.children.push(...E.children),d.add(x)):g.push(E)}for(const E of d){const x=Ga(E.children);g.push(new Fi(E.value,x))}return g.filter(E=>!d.has(E))}function Gs(v){let g=v;for(;g._sourceSegment;)g=g._sourceSegment;return g}function zs(v){let g=v,d=g._segmentIndexShift?g._segmentIndexShift:0;for(;g._sourceSegment;)g=g._sourceSegment,d+=g._segmentIndexShift?g._segmentIndexShift:0;return d-1}function ir(v){return v.data||{}}function _a(v){return v.resolve||{}}function pl(v){return[...Object.keys(v),...Object.getOwnPropertySymbols(v)]}function Ei(v){return Ke(g=>{const d=v(g);return d?(0,Et.D)(d).pipe((0,qe.U)(()=>g)):(0,He.of)(g)})}class Ca extends class gl{shouldDetach(g){return!1}store(g,d){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,d){return g.routeConfig===d.routeConfig}}{}const Wa=new h.OlP("ROUTES");class ml{constructor(g,d,E,x){this.injector=g,this.compiler=d,this.onLoadStartListener=E,this.onLoadEndListener=x}load(g,d){if(d._loader$)return d._loader$;this.onLoadStartListener&&this.onLoadStartListener(d);const x=this.loadModuleFactory(d.loadChildren).pipe((0,qe.U)(Q=>{this.onLoadEndListener&&this.onLoadEndListener(d);const oe=Q.create(g);return new xt(Ht(oe.injector.get(Wa,void 0,h.XFs.Self|h.XFs.Optional)).map(Pr),oe)}),Xn(Q=>{throw d._loader$=void 0,Q}));return d._loader$=new lt.c(x,()=>new L.xQ).pipe((0,Mt.x)()),d._loader$}loadModuleFactory(g){return Ae(g()).pipe((0,Ft.zg)(d=>d instanceof h.YKP?(0,He.of)(d):(0,Et.D)(this.compiler.compileModuleAsync(d))))}}class _l{shouldProcessUrl(g){return!0}extract(g){return g}merge(g,d){return g}}function To(v){throw v}function Ms(v,g,d){return g.parse("/")}function qo(v,g){return(0,He.of)(null)}const ru={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Qo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Di=(()=>{class v{constructor(d,E,x,Q,oe,ye,st){this.rootComponentType=d,this.urlSerializer=E,this.rootContexts=x,this.location=Q,this.config=st,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new L.xQ,this.errorHandler=To,this.malformedUriErrorHandler=Ms,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:qo,afterPreactivation:qo},this.urlHandlingStrategy=new _l,this.routeReuseStrategy=new Ca,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=oe.get(h.h0i),this.console=oe.get(h.c2e);const yn=oe.get(h.R0b);this.isNgZoneEnabled=yn instanceof h.R0b&&h.R0b.isInAngularZone(),this.resetConfig(st),this.currentUrlTree=function bt(){return new cr(new gn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ml(oe,ye,sr=>this.triggerEvent(new te(sr)),sr=>this.triggerEvent(new se(sr))),this.routerState=ns(this.currentUrlTree,this.rootComponentType),this.transitions=new A({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 E=this.events;return d.pipe((0,wr.h)(x=>0!==x.id),(0,qe.U)(x=>({...x,extractedUrl:this.urlHandlingStrategy.extract(x.rawUrl)})),Ke(x=>{let Q=!1,oe=!1;return(0,He.of)(x).pipe($e(ye=>{this.currentNavigation={id:ye.id,initialUrl:ye.currentRawUrl,extractedUrl:ye.extractedUrl,trigger:ye.source,extras:ye.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Ke(ye=>{const st=this.browserUrlTree.toString(),Zt=!this.navigated||ye.extractedUrl.toString()!==st||st!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Zt)&&this.urlHandlingStrategy.shouldProcessUrl(ye.rawUrl))return fo(ye.source)&&(this.browserUrlTree=ye.extractedUrl),(0,He.of)(ye).pipe(Ke(yn=>{const sr=this.transitions.getValue();return E.next(new $t(yn.id,this.serializeUrl(yn.extractedUrl),yn.source,yn.restoredState)),sr!==this.transitions.getValue()?un:Promise.resolve(yn)}),function li(v,g,d,E){return Ke(x=>function ei(v,g,d,E,x){return new as(v,g,d,E,x).apply()}(v,g,d,x.extractedUrl,E).pipe((0,qe.U)(Q=>({...x,urlAfterRedirects:Q}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),$e(yn=>{this.currentNavigation={...this.currentNavigation,finalUrl:yn.urlAfterRedirects}}),function za(v,g,d,E,x){return(0,Ft.zg)(Q=>function Sn(v,g,d,E,x="emptyOnly",Q="legacy"){try{const oe=new $a(v,g,d,E,x,Q).recognize();return null===oe?xr(new In):(0,He.of)(oe)}catch(oe){return xr(oe)}}(v,g,Q.urlAfterRedirects,d(Q.urlAfterRedirects),E,x).pipe((0,qe.U)(oe=>({...Q,targetSnapshot:oe}))))}(this.rootComponentType,this.config,yn=>this.serializeUrl(yn),this.paramsInheritanceStrategy,this.relativeLinkResolution),$e(yn=>{if("eager"===this.urlUpdateStrategy){if(!yn.extras.skipLocationChange){const Nr=this.urlHandlingStrategy.merge(yn.urlAfterRedirects,yn.rawUrl);this.setBrowserUrl(Nr,yn)}this.browserUrlTree=yn.urlAfterRedirects}const sr=new At(yn.id,this.serializeUrl(yn.extractedUrl),this.serializeUrl(yn.urlAfterRedirects),yn.targetSnapshot);E.next(sr)}));if(Zt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:sr,extractedUrl:Nr,source:qs,restoredState:wa,extras:$r}=ye,Ea=new $t(sr,this.serializeUrl(Nr),qs,wa);E.next(Ea);const si=ns(Nr,this.rootComponentType).snapshot;return(0,He.of)({...ye,targetSnapshot:si,urlAfterRedirects:Nr,extras:{...$r,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=ye.rawUrl,ye.resolve(null),un}),Ei(ye=>{const{targetSnapshot:st,id:Zt,extractedUrl:Cr,rawUrl:yn,extras:{skipLocationChange:sr,replaceUrl:Nr}}=ye;return this.hooks.beforePreactivation(st,{navigationId:Zt,appliedUrlTree:Cr,rawUrlTree:yn,skipLocationChange:!!sr,replaceUrl:!!Nr})}),$e(ye=>{const st=new Wt(ye.id,this.serializeUrl(ye.extractedUrl),this.serializeUrl(ye.urlAfterRedirects),ye.targetSnapshot);this.triggerEvent(st)}),(0,qe.U)(ye=>({...ye,guards:Xl(ye.targetSnapshot,ye.currentSnapshot,this.rootContexts)})),function ja(v,g){return(0,Ft.zg)(d=>{const{targetSnapshot:E,currentSnapshot:x,guards:{canActivateChecks:Q,canDeactivateChecks:oe}}=d;return 0===oe.length&&0===Q.length?(0,He.of)({...d,guardsResult:!0}):function hl(v,g,d,E){return(0,Et.D)(v).pipe((0,Ft.zg)(x=>function Rn(v,g,d,E,x){const Q=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!Q||0===Q.length)return(0,He.of)(!0);const oe=Q.map(ye=>{const st=Qi(ye,g,x);let Zt;if(function Mr(v){return v&&Fn(v.canDeactivate)}(st))Zt=Ae(st.canDeactivate(v,g,d,E));else{if(!Fn(st))throw new Error("Invalid CanDeactivate guard");Zt=Ae(st(v,g,d,E))}return Zt.pipe(je())});return(0,He.of)(oe).pipe(mi())}(x.component,x.route,d,g,E)),je(x=>!0!==x,!0))}(oe,E,x,v).pipe((0,Ft.zg)(ye=>ye&&function fr(v){return"boolean"==typeof v}(ye)?function Wo(v,g,d,E){return(0,Et.D)(g).pipe((0,Nt.b)(x=>wt(function et(v,g){return null!==v&&g&&g(new Ee(v)),(0,He.of)(!0)}(x.route.parent,E),function Me(v,g){return null!==v&&g&&g(new ft(v)),(0,He.of)(!0)}(x.route,E),function Gt(v,g,d){const E=g[g.length-1],Q=g.slice(0,g.length-1).reverse().map(oe=>function eu(v){const g=v.routeConfig?v.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:v,guards:g}:null}(oe)).filter(oe=>null!==oe).map(oe=>ge(()=>{const ye=oe.guards.map(st=>{const Zt=Qi(st,oe.node,d);let Cr;if(function rr(v){return v&&Fn(v.canActivateChild)}(Zt))Cr=Ae(Zt.canActivateChild(E,v));else{if(!Fn(Zt))throw new Error("Invalid CanActivateChild guard");Cr=Ae(Zt(E,v))}return Cr.pipe(je())});return(0,He.of)(ye).pipe(mi())}));return(0,He.of)(Q).pipe(mi())}(v,x.path,d),function We(v,g,d){const E=g.routeConfig?g.routeConfig.canActivate:null;if(!E||0===E.length)return(0,He.of)(!0);const x=E.map(Q=>ge(()=>{const oe=Qi(Q,g,d);let ye;if(function Zn(v){return v&&Fn(v.canActivate)}(oe))ye=Ae(oe.canActivate(g,v));else{if(!Fn(oe))throw new Error("Invalid CanActivate guard");ye=Ae(oe(g,v))}return ye.pipe(je())}));return(0,He.of)(x).pipe(mi())}(v,x.route,d))),je(x=>!0!==x,!0))}(E,Q,v,g):(0,He.of)(ye)),(0,qe.U)(ye=>({...d,guardsResult:ye})))})}(this.ngModule.injector,ye=>this.triggerEvent(ye)),$e(ye=>{if(Hn(ye.guardsResult)){const Zt=Ct(`Redirecting to "${this.serializeUrl(ye.guardsResult)}"`);throw Zt.url=ye.guardsResult,Zt}const st=new Cn(ye.id,this.serializeUrl(ye.extractedUrl),this.serializeUrl(ye.urlAfterRedirects),ye.targetSnapshot,!!ye.guardsResult);this.triggerEvent(st)}),(0,wr.h)(ye=>!!ye.guardsResult||(this.restoreHistory(ye),this.cancelNavigationTransition(ye,""),!1)),Ei(ye=>{if(ye.guards.canActivateChecks.length)return(0,He.of)(ye).pipe($e(st=>{const Zt=new Kn(st.id,this.serializeUrl(st.extractedUrl),this.serializeUrl(st.urlAfterRedirects),st.targetSnapshot);this.triggerEvent(Zt)}),Ke(st=>{let Zt=!1;return(0,He.of)(st).pipe(function ya(v,g){return(0,Ft.zg)(d=>{const{targetSnapshot:E,guards:{canActivateChecks:x}}=d;if(!x.length)return(0,He.of)(d);let Q=0;return(0,Et.D)(x).pipe((0,Nt.b)(oe=>function Ds(v,g,d,E){return function Zo(v,g,d,E){const x=pl(v);if(0===x.length)return(0,He.of)({});const Q={};return(0,Et.D)(x).pipe((0,Ft.zg)(oe=>function va(v,g,d,E){const x=Qi(v,g,E);return Ae(x.resolve?x.resolve(g,d):x(g,d))}(v[oe],g,d,E).pipe($e(ye=>{Q[oe]=ye}))),Br(1),(0,Ft.zg)(()=>pl(Q).length===x.length?(0,He.of)(Q):un))}(v._resolve,v,g,E).pipe((0,qe.U)(Q=>(v._resolvedData=Q,v.data={...v.data,...Ho(v,d).resolve},null)))}(oe.route,E,v,g)),$e(()=>Q++),Br(1),(0,Ft.zg)(oe=>Q===x.length?(0,He.of)(d):un))})}(this.paramsInheritanceStrategy,this.ngModule.injector),$e({next:()=>Zt=!0,complete:()=>{Zt||(this.restoreHistory(st),this.cancelNavigationTransition(st,"At least one route resolver didn't emit any value."))}}))}),$e(st=>{const Zt=new Pe(st.id,this.serializeUrl(st.extractedUrl),this.serializeUrl(st.urlAfterRedirects),st.targetSnapshot);this.triggerEvent(Zt)}))}),Ei(ye=>{const{targetSnapshot:st,id:Zt,extractedUrl:Cr,rawUrl:yn,extras:{skipLocationChange:sr,replaceUrl:Nr}}=ye;return this.hooks.afterPreactivation(st,{navigationId:Zt,appliedUrlTree:Cr,rawUrlTree:yn,skipLocationChange:!!sr,replaceUrl:!!Nr})}),(0,qe.U)(ye=>{const st=function nr(v,g,d){const E=bi(v,g._root,d?d._root:void 0);return new Bs(E,g)}(this.routeReuseStrategy,ye.targetSnapshot,ye.currentRouterState);return{...ye,targetRouterState:st}}),$e(ye=>{this.currentUrlTree=ye.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ye.urlAfterRedirects,ye.rawUrl),this.routerState=ye.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ye.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ye),this.browserUrlTree=ye.urlAfterRedirects)}),((v,g,d)=>(0,qe.U)(E=>(new Ge(g,E.targetRouterState,E.currentRouterState,d).activate(v),E)))(this.rootContexts,this.routeReuseStrategy,ye=>this.triggerEvent(ye)),$e({next(){Q=!0},complete(){Q=!0}}),(0,Qt.x)(()=>{Q||oe||this.cancelNavigationTransition(x,`Navigation ID ${x.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===x.id&&(this.currentNavigation=null)}),Xn(ye=>{if(oe=!0,function _t(v){return v&&v[Qe]}(ye)){const st=Hn(ye.url);st||(this.navigated=!0,this.restoreHistory(x,!0));const Zt=new tn(x.id,this.serializeUrl(x.extractedUrl),ye.message);E.next(Zt),st?setTimeout(()=>{const Cr=this.urlHandlingStrategy.merge(ye.url,this.rawUrlTree),yn={skipLocationChange:x.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||fo(x.source)};this.scheduleNavigation(Cr,"imperative",null,yn,{resolve:x.resolve,reject:x.reject,promise:x.promise})},0):x.resolve(!1)}else{this.restoreHistory(x,!0);const st=new pn(x.id,this.serializeUrl(x.extractedUrl),ye);E.next(st);try{x.resolve(this.errorHandler(ye))}catch(Zt){x.reject(Zt)}}return un}))}))}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 E="popstate"===d.type?"popstate":"hashchange";"popstate"===E&&setTimeout(()=>{const x={replaceUrl:!0},Q=d.state?.navigationId?d.state:null;if(Q){const ye={...Q};delete ye.navigationId,delete ye.\u0275routerPageId,0!==Object.keys(ye).length&&(x.state=ye)}const oe=this.parseUrl(d.url);this.scheduleNavigation(oe,E,Q,x)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(d){this.events.next(d)}resetConfig(d){j(d),this.config=d.map(Pr),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,E={}){const{relativeTo:x,queryParams:Q,fragment:oe,queryParamsHandling:ye,preserveFragment:st}=E,Zt=x||this.routerState.root,Cr=st?this.currentUrlTree.fragment:oe;let yn=null;switch(ye){case"merge":yn={...this.currentUrlTree.queryParams,...Q};break;case"preserve":yn=this.currentUrlTree.queryParams;break;default:yn=Q||null}return null!==yn&&(yn=this.removeEmptyProps(yn)),function $o(v,g,d,E,x){if(0===d.length)return ys(g.root,g.root,g.root,E,x);const Q=function vs(v){if("string"==typeof v[0]&&1===v.length&&"/"===v[0])return new Hr(!0,0,v);let g=0,d=!1;const E=v.reduce((x,Q,oe)=>{if("object"==typeof Q&&null!=Q){if(Q.outlets){const ye={};return Be(Q.outlets,(st,Zt)=>{ye[Zt]="string"==typeof st?st.split("/"):st}),[...x,{outlets:ye}]}if(Q.segmentPath)return[...x,Q.segmentPath]}return"string"!=typeof Q?[...x,Q]:0===oe?(Q.split("/").forEach((ye,st)=>{0==st&&"."===ye||(0==st&&""===ye?d=!0:".."===ye?g++:""!=ye&&x.push(ye))}),x):[...x,Q]},[]);return new Hr(d,g,E)}(d);if(Q.toRoot())return ys(g.root,g.root,new gn([],{}),E,x);const oe=function Xr(v,g,d){if(v.isAbsolute)return new Jr(g.root,!0,0);if(-1===d.snapshot._lastPathIndex){const Q=d.snapshot._urlSegment;return new Jr(Q,Q===g.root,0)}const E=_s(v.commands[0])?0:1;return function is(v,g,d){let E=v,x=g,Q=d;for(;Q>x;){if(Q-=x,E=E.parent,!E)throw new Error("Invalid number of '../'");x=E.segments.length}return new Jr(E,!1,x-Q)}(d.snapshot._urlSegment,d.snapshot._lastPathIndex+E,v.numberOfDoubleDots)}(Q,g,v),ye=oe.processChildren?js(oe.segmentGroup,oe.index,Q.commands):ss(oe.segmentGroup,oe.index,Q.commands);return ys(g.root,oe.segmentGroup,ye,E,x)}(Zt,this.currentUrlTree,d,yn,Cr??null)}navigateByUrl(d,E={skipLocationChange:!1}){const x=Hn(d)?d:this.parseUrl(d),Q=this.urlHandlingStrategy.merge(x,this.rawUrlTree);return this.scheduleNavigation(Q,"imperative",null,E)}navigate(d,E={skipLocationChange:!1}){return function Ss(v){for(let g=0;g<v.length;g++){const d=v[g];if(null==d)throw new Error(`The requested path contains ${d} segment at index ${g}`)}}(d),this.navigateByUrl(this.createUrlTree(d,E),E)}serializeUrl(d){return this.urlSerializer.serialize(d)}parseUrl(d){let E;try{E=this.urlSerializer.parse(d)}catch(x){E=this.malformedUriErrorHandler(x,this.urlSerializer,d)}return E}isActive(d,E){let x;if(x=!0===E?{...ru}:!1===E?{...Qo}:E,Hn(d))return Rt(this.currentUrlTree,d,x);const Q=this.parseUrl(d);return Rt(this.currentUrlTree,Q,x)}removeEmptyProps(d){return Object.keys(d).reduce((E,x)=>{const Q=d[x];return null!=Q&&(E[x]=Q),E},{})}processNavigations(){this.navigations.subscribe(d=>{this.navigated=!0,this.lastSuccessfulId=d.id,this.currentPageId=d.targetPageId,this.events.next(new rn(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,E,x,Q,oe){if(this.disposed)return Promise.resolve(!1);let ye,st,Zt;oe?(ye=oe.resolve,st=oe.reject,Zt=oe.promise):Zt=new Promise((sr,Nr)=>{ye=sr,st=Nr});const Cr=++this.navigationId;let yn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(x=this.location.getState()),yn=x&&x.\u0275routerPageId?x.\u0275routerPageId:Q.replaceUrl||Q.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):yn=0,this.setTransition({id:Cr,targetPageId:yn,source:E,restoredState:x,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:d,extras:Q,resolve:ye,reject:st,promise:Zt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Zt.catch(sr=>Promise.reject(sr))}setBrowserUrl(d,E){const x=this.urlSerializer.serialize(d),Q={...E.extras.state,...this.generateNgRouterState(E.id,E.targetPageId)};this.location.isCurrentPathEqualTo(x)||E.extras.replaceUrl?this.location.replaceState(x,"",Q):this.location.go(x,"",Q)}restoreHistory(d,E=!1){if("computed"===this.canceledNavigationResolution){const x=this.currentPageId-d.targetPageId;"popstate"!==d.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===x?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===x&&(this.resetState(d),this.browserUrlTree=d.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(x)}else"replace"===this.canceledNavigationResolution&&(E&&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,E){const x=new tn(d.id,this.serializeUrl(d.extractedUrl),E);this.triggerEvent(x),d.resolve(!1)}generateNgRouterState(d,E){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:E}:{navigationId:d}}}return v.\u0275fac=function(d){h.$Z()},v.\u0275prov=h.Yz7({token:v,factory:v.\u0275fac}),v})();function fo(v){return"imperative"!==v}let Ts=(()=>{class v{constructor(d,E,x,Q,oe){this.router=d,this.route=E,this.tabIndexAttribute=x,this.renderer=Q,this.el=oe,this.commands=null,this.onChanges=new L.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(d){if(null!=this.tabIndexAttribute)return;const E=this.renderer,x=this.el.nativeElement;null!==d?E.setAttribute(x,"tabindex",d):E.removeAttribute(x,"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 v.\u0275fac=function(d){return new(d||v)(h.Y36(Di),h.Y36(ki),h.$8M("tabindex"),h.Y36(h.Qsj),h.Y36(h.SBq))},v.\u0275dir=h.lG2({type:v,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(d,E){1&d&&h.NdJ("click",function(){return E.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[h.TTD]}),v})(),Ya=(()=>{class v{constructor(d,E,x){this.router=d,this.route=E,this.locationStrategy=x,this.commands=null,this.href=null,this.onChanges=new L.xQ,this.subscription=d.events.subscribe(Q=>{Q instanceof rn&&this.updateTargetUrlAndHref()})}set routerLink(d){this.commands=null!=d?Array.isArray(d)?d:[d]:null}ngOnChanges(d){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(d,E,x,Q,oe){if(0!==d||E||x||Q||oe||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ye={skipLocationChange:Ws(this.skipLocationChange),replaceUrl:Ws(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ye),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ws(this.preserveFragment)})}}return v.\u0275fac=function(d){return new(d||v)(h.Y36(Di),h.Y36(ki),h.Y36(s.S$))},v.\u0275dir=h.lG2({type:v,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(d,E){1&d&&h.NdJ("click",function(Q){return E.onClick(Q.button,Q.ctrlKey,Q.shiftKey,Q.altKey,Q.metaKey)}),2&d&&h.uIk("target",E.target)("href",E.href,h.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[h.TTD]}),v})();function Ws(v){return""===v||!!v}class zr{}class ba{preload(g,d){return(0,He.of)(null)}}let Za=(()=>{class v{constructor(d,E,x,Q){this.router=d,this.injector=x,this.preloadingStrategy=Q,this.loader=new ml(x,E,st=>d.triggerEvent(new te(st)),st=>d.triggerEvent(new se(st)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,wr.h)(d=>d instanceof rn),(0,Nt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const d=this.injector.get(h.h0i);return this.processRoutes(d,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,E){const x=[];for(const Q of E)if(Q.loadChildren&&!Q.canLoad&&Q._loadedConfig){const oe=Q._loadedConfig;x.push(this.processRoutes(oe.module,oe.routes))}else Q.loadChildren&&!Q.canLoad?x.push(this.preloadConfig(d,Q)):Q.children&&x.push(this.processRoutes(d,Q.children));return(0,Et.D)(x).pipe((0,rt.J)(),(0,qe.U)(Q=>{}))}preloadConfig(d,E){return this.preloadingStrategy.preload(E,()=>(E._loadedConfig?(0,He.of)(E._loadedConfig):this.loader.load(d.injector,E)).pipe((0,Ft.zg)(Q=>(E._loadedConfig=Q,this.processRoutes(Q.module,Q.routes)))))}}return v.\u0275fac=function(d){return new(d||v)(h.LFG(Di),h.LFG(h.Sil),h.LFG(h.zs3),h.LFG(zr))},v.\u0275prov=h.Yz7({token:v,factory:v.\u0275fac}),v})(),Po=(()=>{class v{constructor(d,E,x={}){this.router=d,this.viewportScroller=E,this.options=x,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},x.scrollPositionRestoration=x.scrollPositionRestoration||"disabled",x.anchorScrolling=x.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 $t?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof rn&&(this.lastId=d.id,this.scheduleScrollEvent(d,this.router.parseUrl(d.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(d=>{d instanceof Te&&(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,E){this.router.triggerEvent(new Te(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,E))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return v.\u0275fac=function(d){h.$Z()},v.\u0275prov=h.Yz7({token:v,factory:v.\u0275fac}),v})();const Ps=new h.OlP("ROUTER_CONFIGURATION"),xo=new h.OlP("ROUTER_FORROOT_GUARD"),Qa=[s.Ye,{provide:R,useClass:K},{provide:Di,useFactory:function Nu(v,g,d,E,x,Q,oe={},ye,st){const Zt=new Di(null,v,g,d,E,x,Ht(Q));return ye&&(Zt.urlHandlingStrategy=ye),st&&(Zt.routeReuseStrategy=st),function su(v,g){v.errorHandler&&(g.errorHandler=v.errorHandler),v.malformedUriErrorHandler&&(g.malformedUriErrorHandler=v.malformedUriErrorHandler),v.onSameUrlNavigation&&(g.onSameUrlNavigation=v.onSameUrlNavigation),v.paramsInheritanceStrategy&&(g.paramsInheritanceStrategy=v.paramsInheritanceStrategy),v.relativeLinkResolution&&(g.relativeLinkResolution=v.relativeLinkResolution),v.urlUpdateStrategy&&(g.urlUpdateStrategy=v.urlUpdateStrategy),v.canceledNavigationResolution&&(g.canceledNavigationResolution=v.canceledNavigationResolution)}(oe,Zt),oe.enableTracing&&Zt.events.subscribe(Cr=>{console.group?.(`Router Event: ${Cr.constructor.name}`),console.log(Cr.toString()),console.log(Cr),console.groupEnd?.()}),Zt},deps:[R,_i,s.Ye,h.zs3,h.Sil,Wa,Ps,[class So{},new h.FiY],[class Mo{},new h.FiY]]},_i,{provide:ki,useFactory:function ou(v){return v.routerState.root},deps:[Di]},Za,ba,class Wr{preload(g,d){return d().pipe(Xn(()=>(0,He.of)(null)))}},{provide:Ps,useValue:{enableTracing:!1}}];function Oo(){return new h.PXZ("Router",Di)}let Ko=(()=>{class v{constructor(d,E){}static forRoot(d,E){return{ngModule:v,providers:[Qa,Xo(d),{provide:xo,useFactory:Ys,deps:[[Di,new h.FiY,new h.tp0]]},{provide:Ps,useValue:E||{}},{provide:s.S$,useFactory:Ka,deps:[s.lw,[new h.tBr(s.mr),new h.FiY],Ps]},{provide:Po,useFactory:Jo,deps:[Di,s.EM,Ps]},{provide:zr,useExisting:E&&E.preloadingStrategy?E.preloadingStrategy:ba},{provide:h.PXZ,multi:!0,useFactory:Oo},[Zs,{provide:h.ip1,multi:!0,useFactory:ea,deps:[Zs]},{provide:ta,useFactory:ho,deps:[Zs]},{provide:h.tb,multi:!0,useExisting:ta}]]}}static forChild(d){return{ngModule:v,providers:[Xo(d)]}}}return v.\u0275fac=function(d){return new(d||v)(h.LFG(xo,8),h.LFG(Di,8))},v.\u0275mod=h.oAB({type:v}),v.\u0275inj=h.cJS({}),v})();function Jo(v,g,d){return d.scrollOffset&&g.setOffset(d.scrollOffset),new Po(v,g,d)}function Ka(v,g,d={}){return d.useHash?new s.Do(v,g):new s.b0(v,g)}function Ys(v){return"guarded"}function Xo(v){return[{provide:h.deG,multi:!0,useValue:v},{provide:Wa,multi:!0,useValue:v}]}let Zs=(()=>{class v{constructor(d){this.injector=d,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new L.xQ}appInitializer(){return this.injector.get(s.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let E=null;const x=new Promise(ye=>E=ye),Q=this.injector.get(Di),oe=this.injector.get(Ps);return"disabled"===oe.initialNavigation?(Q.setUpLocationChangeListener(),E(!0)):"enabled"===oe.initialNavigation||"enabledBlocking"===oe.initialNavigation?(Q.hooks.afterPreactivation=()=>this.initNavigation?(0,He.of)(null):(this.initNavigation=!0,E(!0),this.resultOfPreactivationDone),Q.initialNavigation()):E(!0),x})}bootstrapListener(d){const E=this.injector.get(Ps),x=this.injector.get(Za),Q=this.injector.get(Po),oe=this.injector.get(Di),ye=this.injector.get(h.z2F);d===ye.components[0]&&(("enabledNonBlocking"===E.initialNavigation||void 0===E.initialNavigation)&&oe.initialNavigation(),x.setUpPreloading(),Q.init(),oe.resetRootComponentType(ye.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return v.\u0275fac=function(d){return new(d||v)(h.LFG(h.zs3))},v.\u0275prov=h.Yz7({token:v,factory:v.\u0275fac}),v})();function ea(v){return v.appInitializer.bind(v)}function ho(v){return v.bootstrapListener.bind(v)}const ta=new h.OlP("Router Initializer")},3327:(Z,N,y)=>{"use strict";y.d(N,{au:()=>rn,A4:()=>Kn});var s=y(5062),h=y(6895),L=y(1086),V=y(2916),A=y(1406),I=y(2198),B=y(4850);class U{}class ee{}class k{constructor(te){this.normalizedNames=new Map,this.lazyUpdate=null,te?this.lazyInit="string"==typeof te?()=>{this.headers=new Map,te.split("\n").forEach(se=>{const Ee=se.indexOf(":");if(Ee>0){const ke=se.slice(0,Ee),ft=ke.toLowerCase(),hn=se.slice(Ee+1).trim();this.maybeSetNormalizedName(ke,ft),this.headers.has(ft)?this.headers.get(ft).push(hn):this.headers.set(ft,[hn])}})}:()=>{this.headers=new Map,Object.keys(te).forEach(se=>{let Ee=te[se];const ke=se.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(ke,Ee),this.maybeSetNormalizedName(se,ke))})}:this.headers=new Map}has(te){return this.init(),this.headers.has(te.toLowerCase())}get(te){this.init();const se=this.headers.get(te.toLowerCase());return se&&se.length>0?se[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(te){return this.init(),this.headers.get(te.toLowerCase())||null}append(te,se){return this.clone({name:te,value:se,op:"a"})}set(te,se){return this.clone({name:te,value:se,op:"s"})}delete(te,se){return this.clone({name:te,value:se,op:"d"})}maybeSetNormalizedName(te,se){this.normalizedNames.has(se)||this.normalizedNames.set(se,te)}init(){this.lazyInit&&(this.lazyInit instanceof k?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(te=>this.applyUpdate(te)),this.lazyUpdate=null))}copyFrom(te){te.init(),Array.from(te.headers.keys()).forEach(se=>{this.headers.set(se,te.headers.get(se)),this.normalizedNames.set(se,te.normalizedNames.get(se))})}clone(te){const se=new k;return se.lazyInit=this.lazyInit&&this.lazyInit instanceof k?this.lazyInit:this,se.lazyUpdate=(this.lazyUpdate||[]).concat([te]),se}applyUpdate(te){const se=te.name.toLowerCase();switch(te.op){case"a":case"s":let Ee=te.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(te.name,se);const ke=("a"===te.op?this.headers.get(se):void 0)||[];ke.push(...Ee),this.headers.set(se,ke);break;case"d":const ft=te.value;if(ft){let hn=this.headers.get(se);if(!hn)return;hn=hn.filter(Te=>-1===ft.indexOf(Te)),0===hn.length?(this.headers.delete(se),this.normalizedNames.delete(se)):this.headers.set(se,hn)}else this.headers.delete(se),this.normalizedNames.delete(se)}}forEach(te){this.init(),Array.from(this.normalizedNames.keys()).forEach(se=>te(this.normalizedNames.get(se),this.headers.get(se)))}}class Y{encodeKey(te){return be(te)}encodeValue(te){return be(te)}decodeKey(te){return decodeURIComponent(te)}decodeValue(te){return decodeURIComponent(te)}}const le=/%(\d[a-f0-9])/gi,De={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function be(Pe){return encodeURIComponent(Pe).replace(le,(te,se)=>De[se]??te)}function Fe(Pe){return`${Pe}`}class Ve{constructor(te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=te.encoder||new Y,te.fromString){if(te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function q(Pe,te){const se=new Map;return Pe.length>0&&Pe.replace(/^\?/,"").split("&").forEach(ke=>{const ft=ke.indexOf("="),[hn,Te]=-1==ft?[te.decodeKey(ke),""]:[te.decodeKey(ke.slice(0,ft)),te.decodeValue(ke.slice(ft+1))],re=se.get(hn)||[];re.push(Te),se.set(hn,re)}),se}(te.fromString,this.encoder)}else te.fromObject?(this.map=new Map,Object.keys(te.fromObject).forEach(se=>{const Ee=te.fromObject[se];this.map.set(se,Array.isArray(Ee)?Ee:[Ee])})):this.map=null}has(te){return this.init(),this.map.has(te)}get(te){this.init();const se=this.map.get(te);return se?se[0]:null}getAll(te){return this.init(),this.map.get(te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(te,se){return this.clone({param:te,value:se,op:"a"})}appendAll(te){const se=[];return Object.keys(te).forEach(Ee=>{const ke=te[Ee];Array.isArray(ke)?ke.forEach(ft=>{se.push({param:Ee,value:ft,op:"a"})}):se.push({param:Ee,value:ke,op:"a"})}),this.clone(se)}set(te,se){return this.clone({param:te,value:se,op:"s"})}delete(te,se){return this.clone({param:te,value:se,op:"d"})}toString(){return this.init(),this.keys().map(te=>{const se=this.encoder.encodeKey(te);return this.map.get(te).map(Ee=>se+"="+this.encoder.encodeValue(Ee)).join("&")}).filter(te=>""!==te).join("&")}clone(te){const se=new Ve({encoder:this.encoder});return se.cloneFrom=this.cloneFrom||this,se.updates=(this.updates||[]).concat(te),se}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(te=>this.map.set(te,this.cloneFrom.map.get(te))),this.updates.forEach(te=>{switch(te.op){case"a":case"s":const se=("a"===te.op?this.map.get(te.param):void 0)||[];se.push(Fe(te.value)),this.map.set(te.param,se);break;case"d":if(void 0===te.value){this.map.delete(te.param);break}{let Ee=this.map.get(te.param)||[];const ke=Ee.indexOf(Fe(te.value));-1!==ke&&Ee.splice(ke,1),Ee.length>0?this.map.set(te.param,Ee):this.map.delete(te.param)}}}),this.cloneFrom=this.updates=null)}}class Ze{constructor(){this.map=new Map}set(te,se){return this.map.set(te,se),this}get(te){return this.map.has(te)||this.map.set(te,te.defaultValue()),this.map.get(te)}delete(te){return this.map.delete(te),this}has(te){return this.map.has(te)}keys(){return this.map.keys()}}function rt(Pe){return typeof ArrayBuffer<"u"&&Pe instanceof ArrayBuffer}function Ce(Pe){return typeof Blob<"u"&&Pe instanceof Blob}function wt(Pe){return typeof FormData<"u"&&Pe instanceof FormData}class un{constructor(te,se,Ee,ke){let ft;if(this.url=se,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=te.toUpperCase(),function He(Pe){switch(Pe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==Ee?Ee:null,ft=ke):ft=Ee,ft&&(this.reportProgress=!!ft.reportProgress,this.withCredentials=!!ft.withCredentials,ft.responseType&&(this.responseType=ft.responseType),ft.headers&&(this.headers=ft.headers),ft.context&&(this.context=ft.context),ft.params&&(this.params=ft.params)),this.headers||(this.headers=new k),this.context||(this.context=new Ze),this.params){const hn=this.params.toString();if(0===hn.length)this.urlWithParams=se;else{const Te=se.indexOf("?");this.urlWithParams=se+(-1===Te?"?":Te<se.length-1?"&":"")+hn}}else this.params=new Ve,this.urlWithParams=se}serializeBody(){return null===this.body?null:rt(this.body)||Ce(this.body)||wt(this.body)||function Et(Pe){return typeof URLSearchParams<"u"&&Pe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ve?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||wt(this.body)?null:Ce(this.body)?this.body.type||null:rt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ve?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(te={}){const se=te.method||this.method,Ee=te.url||this.url,ke=te.responseType||this.responseType,ft=void 0!==te.body?te.body:this.body,hn=void 0!==te.withCredentials?te.withCredentials:this.withCredentials,Te=void 0!==te.reportProgress?te.reportProgress:this.reportProgress;let re=te.headers||this.headers,ie=te.params||this.params;const Oe=te.context??this.context;return void 0!==te.setHeaders&&(re=Object.keys(te.setHeaders).reduce((Qe,Ct)=>Qe.set(Ct,te.setHeaders[Ct]),re)),te.setParams&&(ie=Object.keys(te.setParams).reduce((Qe,Ct)=>Qe.set(Ct,te.setParams[Ct]),ie)),new un(se,Ee,ft,{params:ie,headers:re,context:Oe,reportProgress:Te,responseType:ke,withCredentials:hn})}}var Kt=(()=>((Kt=Kt||{})[Kt.Sent=0]="Sent",Kt[Kt.UploadProgress=1]="UploadProgress",Kt[Kt.ResponseHeader=2]="ResponseHeader",Kt[Kt.DownloadProgress=3]="DownloadProgress",Kt[Kt.Response=4]="Response",Kt[Kt.User=5]="User",Kt))();class qt{constructor(te,se=200,Ee="OK"){this.headers=te.headers||new k,this.status=void 0!==te.status?te.status:se,this.statusText=te.statusText||Ee,this.url=te.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends qt{constructor(te={}){super(te),this.type=Kt.ResponseHeader}clone(te={}){return new ge({headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class lt extends qt{constructor(te={}){super(te),this.type=Kt.Response,this.body=void 0!==te.body?te.body:null}clone(te={}){return new lt({body:void 0!==te.body?te.body:this.body,headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class Dt extends qt{constructor(te){super(te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${te.url||"(unknown url)"}`:`Http failure response for ${te.url||"(unknown url)"}: ${te.status} ${te.statusText}`,this.error=te.error||null}}function qe(Pe,te){return{body:te,headers:Pe.headers,context:Pe.context,observe:Pe.observe,params:Pe.params,reportProgress:Pe.reportProgress,responseType:Pe.responseType,withCredentials:Pe.withCredentials}}let Ke=(()=>{class Pe{constructor(se){this.handler=se}request(se,Ee,ke={}){let ft;if(se instanceof un)ft=se;else{let re,ie;re=ke.headers instanceof k?ke.headers:new k(ke.headers),ke.params&&(ie=ke.params instanceof Ve?ke.params:new Ve({fromObject:ke.params})),ft=new un(se,Ee,void 0!==ke.body?ke.body:null,{headers:re,context:ke.context,params:ie,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const hn=(0,L.of)(ft).pipe((0,A.b)(re=>this.handler.handle(re)));if(se instanceof un||"events"===ke.observe)return hn;const Te=hn.pipe((0,I.h)(re=>re instanceof lt));switch(ke.observe||"body"){case"body":switch(ft.responseType){case"arraybuffer":return Te.pipe((0,B.U)(re=>{if(null!==re.body&&!(re.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return re.body}));case"blob":return Te.pipe((0,B.U)(re=>{if(null!==re.body&&!(re.body instanceof Blob))throw new Error("Response is not a Blob.");return re.body}));case"text":return Te.pipe((0,B.U)(re=>{if(null!==re.body&&"string"!=typeof re.body)throw new Error("Response is not a string.");return re.body}));default:return Te.pipe((0,B.U)(re=>re.body))}case"response":return Te;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(se,Ee={}){return this.request("DELETE",se,Ee)}get(se,Ee={}){return this.request("GET",se,Ee)}head(se,Ee={}){return this.request("HEAD",se,Ee)}jsonp(se,Ee){return this.request("JSONP",se,{params:(new Ve).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(se,Ee={}){return this.request("OPTIONS",se,Ee)}patch(se,Ee,ke={}){return this.request("PATCH",se,qe(ke,Ee))}post(se,Ee,ke={}){return this.request("POST",se,qe(ke,Ee))}put(se,Ee,ke={}){return this.request("PUT",se,qe(ke,Ee))}}return Pe.\u0275fac=function(se){return new(se||Pe)(s.LFG(U))},Pe.\u0275prov=s.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();class En{constructor(te,se){this.next=te,this.interceptor=se}handle(te){return this.interceptor.intercept(te,this.next)}}const en=new s.OlP("HTTP_INTERCEPTORS");let Vn=(()=>{class Pe{intercept(se,Ee){return Ee.handle(se)}}return Pe.\u0275fac=function(se){return new(se||Pe)},Pe.\u0275prov=s.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const Qn=/^\)\]\}',?\n/;let ur=(()=>{class Pe{constructor(se){this.xhrFactory=se}handle(se){if("JSONP"===se.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new V.y(Ee=>{const ke=this.xhrFactory.build();if(ke.open(se.method,se.urlWithParams),se.withCredentials&&(ke.withCredentials=!0),se.headers.forEach((_t,dt)=>ke.setRequestHeader(_t,dt.join(","))),se.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!se.headers.has("Content-Type")){const _t=se.detectContentTypeHeader();null!==_t&&ke.setRequestHeader("Content-Type",_t)}if(se.responseType){const _t=se.responseType.toLowerCase();ke.responseType="json"!==_t?_t:"text"}const ft=se.serializeBody();let hn=null;const Te=()=>{if(null!==hn)return hn;const _t=ke.statusText||"OK",dt=new k(ke.getAllResponseHeaders()),de=function Xn(Pe){return"responseURL"in Pe&&Pe.responseURL?Pe.responseURL:/^X-Request-URL:/m.test(Pe.getAllResponseHeaders())?Pe.getResponseHeader("X-Request-URL"):null}(ke)||se.url;return hn=new ge({headers:dt,status:ke.status,statusText:_t,url:de}),hn},re=()=>{let{headers:_t,status:dt,statusText:de,url:xe}=Te(),Ot=null;204!==dt&&(Ot=typeof ke.response>"u"?ke.responseText:ke.response),0===dt&&(dt=Ot?200:0);let Ht=dt>=200&&dt<300;if("json"===se.responseType&&"string"==typeof Ot){const bn=Ot;Ot=Ot.replace(Qn,"");try{Ot=""!==Ot?JSON.parse(Ot):null}catch(Re){Ot=bn,Ht&&(Ht=!1,Ot={error:Re,text:Ot})}}Ht?(Ee.next(new lt({body:Ot,headers:_t,status:dt,statusText:de,url:xe||void 0})),Ee.complete()):Ee.error(new Dt({error:Ot,headers:_t,status:dt,statusText:de,url:xe||void 0}))},ie=_t=>{const{url:dt}=Te(),de=new Dt({error:_t,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:dt||void 0});Ee.error(de)};let Oe=!1;const Qe=_t=>{Oe||(Ee.next(Te()),Oe=!0);let dt={type:Kt.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(dt.total=_t.total),"text"===se.responseType&&!!ke.responseText&&(dt.partialText=ke.responseText),Ee.next(dt)},Ct=_t=>{let dt={type:Kt.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(dt.total=_t.total),Ee.next(dt)};return ke.addEventListener("load",re),ke.addEventListener("error",ie),ke.addEventListener("timeout",ie),ke.addEventListener("abort",ie),se.reportProgress&&(ke.addEventListener("progress",Qe),null!==ft&&ke.upload&&ke.upload.addEventListener("progress",Ct)),ke.send(ft),Ee.next({type:Kt.Sent}),()=>{ke.removeEventListener("error",ie),ke.removeEventListener("abort",ie),ke.removeEventListener("load",re),ke.removeEventListener("timeout",ie),se.reportProgress&&(ke.removeEventListener("progress",Qe),null!==ft&&ke.upload&&ke.upload.removeEventListener("progress",Ct)),ke.readyState!==ke.DONE&&ke.abort()}})}}return Pe.\u0275fac=function(se){return new(se||Pe)(s.LFG(h.JF))},Pe.\u0275prov=s.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const Kr=new s.OlP("XSRF_COOKIE_NAME"),wr=new s.OlP("XSRF_HEADER_NAME");class Br{}let Tr=(()=>{class Pe{constructor(se,Ee,ke){this.doc=se,this.platform=Ee,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const se=this.doc.cookie||"";return se!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,h.Mx)(se,this.cookieName),this.lastCookieString=se),this.lastToken}}return Pe.\u0275fac=function(se){return new(se||Pe)(s.LFG(h.K0),s.LFG(s.Lbi),s.LFG(Kr))},Pe.\u0275prov=s.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),Ur=(()=>{class Pe{constructor(se,Ee){this.tokenService=se,this.headerName=Ee}intercept(se,Ee){const ke=se.url.toLowerCase();if("GET"===se.method||"HEAD"===se.method||ke.startsWith("http://")||ke.startsWith("https://"))return Ee.handle(se);const ft=this.tokenService.getToken();return null!==ft&&!se.headers.has(this.headerName)&&(se=se.clone({headers:se.headers.set(this.headerName,ft)})),Ee.handle(se)}}return Pe.\u0275fac=function(se){return new(se||Pe)(s.LFG(Br),s.LFG(wr))},Pe.\u0275prov=s.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),_r=(()=>{class Pe{constructor(se,Ee){this.backend=se,this.injector=Ee,this.chain=null}handle(se){if(null===this.chain){const Ee=this.injector.get(en,[]);this.chain=Ee.reduceRight((ke,ft)=>new En(ke,ft),this.backend)}return this.chain.handle(se)}}return Pe.\u0275fac=function(se){return new(se||Pe)(s.LFG(ee),s.LFG(s.zs3))},Pe.\u0275prov=s.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),Rr=(()=>{class Pe{static disable(){return{ngModule:Pe,providers:[{provide:Ur,useClass:Vn}]}}static withOptions(se={}){return{ngModule:Pe,providers:[se.cookieName?{provide:Kr,useValue:se.cookieName}:[],se.headerName?{provide:wr,useValue:se.headerName}:[]]}}}return Pe.\u0275fac=function(se){return new(se||Pe)},Pe.\u0275mod=s.oAB({type:Pe}),Pe.\u0275inj=s.cJS({providers:[Ur,{provide:en,useExisting:Ur,multi:!0},{provide:Br,useClass:Tr},{provide:Kr,useValue:"XSRF-TOKEN"},{provide:wr,useValue:"X-XSRF-TOKEN"}]}),Pe})(),Lr=(()=>{class Pe{}return Pe.\u0275fac=function(se){return new(se||Pe)},Pe.\u0275mod=s.oAB({type:Pe}),Pe.\u0275inj=s.cJS({providers:[Ke,{provide:U,useClass:_r},ur,{provide:ee,useExisting:ur}],imports:[[Rr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Pe})();var Ye=y(4235),ze=y.n(Ye),je=y(1305),nt=y.n(je),mt=(()=>{return(Pe=mt||(mt={}))[Pe.Error=0]="Error",Pe[Pe.Warning=1]="Warning",Pe[Pe.Information=2]="Information",Pe[Pe.Unknown=3]="Unknown",mt;var Pe})();const $e={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Nt{constructor(te){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={},te.chunk&&(this.isPaged=!0,this.record=parseInt(te.chunk.start,10)||0,this.page=parseInt(te.chunk.current,10)||0,this.pageSize=parseInt(te.chunk.size,10)||0,this.totalPages=parseInt(te.chunk.chunks,10)||0,this.totalRecords=parseInt(te.chunk.records,10)||0),te.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(te.filter.filtered,10)||0);const se=new Set(["paginate","filter"]);Object.keys(te).filter(Ee=>!se.has(Ee)).forEach(Ee=>{this.properties[Ee]=te[Ee]})}}class Ft extends class Yt{constructor(te,se){if(this.status=0,this.messages=[],this.meta=function at(Pe){return JSON.parse(JSON.stringify(Pe))}($e),this.options={keepUnprocessedResponse:!1},ze()(te)||nt()(te))throw new Error("The response was unexpectedly undefined or null");se&&(this.options=se),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(te)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(te){return this.messages.filter(se=>se.type===te)}get errors(){return this._getMessages(mt.Error)}get warnings(){return this._getMessages(mt.Warning)}get infoMessages(){return this._getMessages(mt.Information)}_hasMessages(te){return this.messages.filter(se=>se.type===te).length>0}get hasErrors(){return this._hasMessages(mt.Error)}get hasWarnings(){return this._hasMessages(mt.Warning)}get hasInfoMessages(){return this._hasMessages(mt.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(te){if(this.status=0,typeof te.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(te.result,10)}_parseMessages(te){if(!te.result){const se=[te.reason];se&&se.length&&se.forEach(Ee=>{this.messages.push({type:mt.Error,message:Ee})})}}_reduce_list_data(te){if("object"==typeof te&&!(te instanceof Array)){const se=Object.keys(te);if(1===se.length){const Ee=te[se[0]];Ee?Ee instanceof Array&&(te=Ee):te=[]}}return te}constructor(te,se){if(super(te,se),!te)throw new Error("Response object should be defined.");te.metadata&&(this._parseStatus(te.metadata),this._parseMessages(te.metadata),this.meta=new Nt(te.metadata)),this.data=this._reduce_list_data(te.data)}}var Mt=y(109),Qt=y(3022),vn=y(5712),$t=y(6962);let rn=(()=>{class Pe{}return Pe.\u0275fac=function(se){return new(se||Pe)},Pe.\u0275mod=s.oAB({type:Pe}),Pe.\u0275inj=s.cJS({imports:[[Lr]]}),Pe})(),Kn=(()=>{class Pe{constructor(se){this.http=se}get(se){const Ee=se.generate({verb:Mt.F.GET,encoder:new Qt.VN}),ke=this.packageUrl(Ee);return this.http.get(ke,{headers:this.packageHeaders(Ee)}).pipe((0,B.U)(this.packageResponseHandler(ke)))}post(se){const Ee=se.generate(),ke=this.packageUrl(Ee);return this.http.post(ke,Ee.body,{headers:this.packageHeaders(Ee)}).pipe((0,B.U)(this.packageResponseHandler(ke)))}packageHeaders(se){const Ee={};return se.headers.forEach(ke=>{Ee[ke.name]=ke.value}),new k(Ee)}packageUrl(se){return new vn.b5(new $t.a).buildTokenPath(se.url)}packageResponseHandler(se){return Ee=>{const ke=new Ft(Ee);return ke.meta.properties.url=se,ke}}}return Pe.\u0275fac=function(se){return new(se||Pe)(s.LFG(Ke))},Pe.\u0275prov=s.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})()},348:(Z,N,y)=>{"use strict";y.d(N,{m:()=>A});var s=y(5062),h=y(269);const L=new s.OlP("window"),V=I=>new h.g(I.CLDR,I.LEXICON);let A=(()=>{class I{}return I.\u0275fac=function(U){return new(U||I)},I.\u0275mod=s.oAB({type:I}),I.\u0275inj=s.cJS({providers:[{provide:L,useValue:window},{provide:h.g,useFactory:V,deps:[L]}],imports:[[]]}),I})()},8738:(Z,N,y)=>{"use strict";y.d(N,{xV:()=>Lu,zr:()=>Os,FP:()=>xs,hF:()=>Xa,CQ:()=>Cl,c9:()=>d,Oc:()=>us,df:()=>Qs,_P:()=>$r,kM:()=>Ea,go:()=>si,zf:()=>Fu,k6:()=>lu,RV:()=>hr,Qt:()=>Dl,u3:()=>ju,gS:()=>Ec,t8:()=>Bu,fm:()=>ku,wL:()=>Ks});var s=y(5062),h=y(6895),L=y(5529),V=y(826),A=y(9054);class B{constructor(c){this.notifier=c}call(c,l){const _=new U(c),O=(0,A.D)(_,this.notifier);return O&&!_.seenValue?(_.add(O),l.subscribe(_)):_}}class U extends V.L{constructor(c){super(c),this.seenValue=!1}notifyNext(c,l,_,O,G){this.seenValue=!0,this.complete()}notifyComplete(){}}var ee=y(3489),k=y(353);class q{constructor(c,l){this.dueTime=c,this.scheduler=l}call(c,l){return l.subscribe(new le(c,this.dueTime,this.scheduler))}}class le extends ee.L{constructor(c,l,_){super(c),this.dueTime=l,this.scheduler=_,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(De,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 De(m){m.debouncedNext()}class Fe{constructor(c,l){this.compare=c,this.keySelector=l}call(c,l){return l.subscribe(new Ve(c,this.compare,this.keySelector))}}class Ve extends ee.L{constructor(c,l,_){super(c),this.keySelector=_,this.hasKey=!1,"function"==typeof l&&(this.compare=l)}compare(c,l){return c===l}_next(c){let l;try{const{keySelector:O}=this;l=O?O(c):c}catch(O){return this.destination.error(O)}let _=!1;if(this.hasKey)try{const{compare:O}=this;_=O(this.key,l)}catch(O){return this.destination.error(O)}else this.hasKey=!0;_||(this.key=l,this.destination.next(c))}}var Vt=y(2198),Ze=y(4719),He=y(348),rt=y(269),Ce=y(7340),wt=y(1481);const Et=!1;function Kt(m){return new s.vHH(3e3,Et)}function nt(){return typeof window<"u"&&typeof window.document<"u"}function mt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function $e(m){switch(m.length){case 0:return new Ce.ZN;case 1:return m[0];default:return new Ce.ZE(m)}}function at(m,c,l,_,O={},G={}){const ce=[],he=[];let Se=-1,Je=null;if(_.forEach(Ut=>{const dn=Ut.offset,kn=dn==Se,Nn=kn&&Je||{};Object.keys(Ut).forEach(mn=>{let $n=mn,Or=Ut[mn];if("offset"!==mn)switch($n=c.normalizePropertyName($n,ce),Or){case Ce.k1:Or=O[mn];break;case Ce.l3:Or=G[mn];break;default:Or=c.normalizeStyleValue(mn,$n,Or,ce)}Nn[$n]=Or}),kn||he.push(Nn),Je=Nn,Se=dn}),ce.length)throw function Tr(m){return new s.vHH(3502,Et)}();return he}function Yt(m,c,l,_){switch(c){case"start":m.onStart(()=>_(l&&Nt(l,"start",m)));break;case"done":m.onDone(()=>_(l&&Nt(l,"done",m)));break;case"destroy":m.onDestroy(()=>_(l&&Nt(l,"destroy",m)))}}function Nt(m,c,l){const G=Ft(m.element,m.triggerName,m.fromState,m.toState,c||m.phaseName,l.totalTime??m.totalTime,!!l.disabled),ce=m._data;return null!=ce&&(G._data=ce),G}function Ft(m,c,l,_,O="",G=0,ce){return{element:m,triggerName:c,fromState:l,toState:_,phaseName:O,totalTime:G,disabled:!!ce}}function Mt(m,c,l){let _;return m instanceof Map?(_=m.get(c),_||m.set(c,_=l)):(_=m[c],_||(_=m[c]=l)),_}function Qt(m){const c=m.indexOf(":");return[m.substring(1,c),m.substr(c+1)]}let vn=(m,c)=>!1,$t=(m,c,l)=>[],rn=null;function tn(m){const c=m.parentNode||m.host;return c===rn?null:c}(mt()||typeof Element<"u")&&(nt()?(rn=(()=>document.documentElement)(),vn=(m,c)=>{for(;c;){if(c===m)return!0;c=tn(c)}return!1}):vn=(m,c)=>m.contains(c),$t=(m,c,l)=>{if(l)return Array.from(m.querySelectorAll(c));const _=m.querySelector(c);return _?[_]:[]});let Wt=null,Cn=!1;function Kn(m){Wt||(Wt=function Pe(){return typeof document<"u"?document.body:null}()||{},Cn=!!Wt.style&&"WebkitAppearance"in Wt.style);let c=!0;return Wt.style&&!function At(m){return"ebkit"==m.substring(1,6)}(m)&&(c=m in Wt.style,!c&&Cn&&(c="Webkit"+m.charAt(0).toUpperCase()+m.substr(1)in Wt.style)),c}const te=vn,se=$t;let ke=(()=>{class m{validateStyleProperty(l){return Kn(l)}matchesElement(l,_){return!1}containsElement(l,_){return te(l,_)}getParentElement(l){return tn(l)}query(l,_,O){return se(l,_,O)}computeStyle(l,_,O){return O||""}animate(l,_,O,G,ce,he=[],Se){return new Ce.ZN(O,G)}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac}),m})(),ft=(()=>{class m{}return m.NOOP=new ke,m})();const ie="ng-enter",Oe="ng-leave",Qe="ng-trigger",Ct=".ng-trigger",_t="ng-animating",dt=".ng-animating";function de(m){if("number"==typeof m)return m;const c=m.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:xe(parseFloat(c[1]),c[2])}function xe(m,c){return"s"===c?1e3*m:m}function Ot(m,c,l){return m.hasOwnProperty("duration")?m:function Ht(m,c,l){let O,G=0,ce="";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(Kt()),{duration:0,delay:0,easing:""};O=xe(parseFloat(he[1]),he[2]);const Se=he[3];null!=Se&&(G=xe(parseFloat(Se),he[4]));const Je=he[5];Je&&(ce=Je)}else O=m;if(!l){let he=!1,Se=c.length;O<0&&(c.push(function qt(){return new s.vHH(3100,Et)}()),he=!0),G<0&&(c.push(function ge(){return new s.vHH(3101,Et)}()),he=!0),he&&c.splice(Se,0,Kt())}return{duration:O,delay:G,easing:ce}}(m,c,l)}function bn(m,c={}){return Object.keys(m).forEach(l=>{c[l]=m[l]}),c}function Be(m,c,l={}){if(c)for(let _ in m)l[_]=m[_];else bn(m,l);return l}function Ae(m,c,l){return l?c+":"+l+";":""}function bt(m){let c="";for(let l=0;l<m.style.length;l++){const _=m.style.item(l);c+=Ae(0,_,m.style.getPropertyValue(_))}for(const l in m.style)m.style.hasOwnProperty(l)&&!l.startsWith("_")&&(c+=Ae(0,gn(l),m.style[l]));m.setAttribute("style",c)}function St(m,c,l){m.style&&(Object.keys(c).forEach(_=>{const O=cr(_);l&&!l.hasOwnProperty(_)&&(l[_]=m.style[O]),m.style[O]=c[_]}),mt()&&bt(m))}function Pt(m,c){m.style&&(Object.keys(c).forEach(l=>{const _=cr(l);m.style[_]=""}),mt()&&bt(m))}function Rt(m){return Array.isArray(m)?1==m.length?m[0]:(0,Ce.vP)(m):m}const nn=new RegExp("{{\\s*(.+?)\\s*}}","g");function cn(m){let c=[];if("string"==typeof m){let l;for(;l=nn.exec(m);)c.push(l[1]);nn.lastIndex=0}return c}function It(m,c,l){const _=m.toString(),O=_.replace(nn,(G,ce)=>{let he=c[ce];return c.hasOwnProperty(ce)||(l.push(function Dt(m){return new s.vHH(3003,Et)}()),he=""),he.toString()});return O==_?m:O}function Mn(m){const c=[];let l=m.next();for(;!l.done;)c.push(l.value),l=m.next();return c}const Ir=/-+([a-z0-9])/g;function cr(m){return m.replace(Ir,(...c)=>c[1].toUpperCase())}function gn(m){return m.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Gn(m,c,l){switch(c.type){case 7:return m.visitTrigger(c,l);case 0:return m.visitState(c,l);case 1:return m.visitTransition(c,l);case 2:return m.visitSequence(c,l);case 3:return m.visitGroup(c,l);case 4:return m.visitAnimate(c,l);case 5:return m.visitKeyframes(c,l);case 6:return m.visitStyle(c,l);case 8:return m.visitReference(c,l);case 9:return m.visitAnimateChild(c,l);case 10:return m.visitAnimateRef(c,l);case 11:return m.visitQuery(c,l);case 12:return m.visitStagger(c,l);default:throw function qe(m){return new s.vHH(3004,Et)}()}}function Vr(m,c){return window.getComputedStyle(m)[c]}function gt(m,c){const l=[];return"string"==typeof m?m.split(/\s*,\s*/).forEach(_=>function fn(m,c,l){if(":"==m[0]){const Se=function sn(m,c){switch(m){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_)<parseFloat(l);default:return c.push(function ur(m){return new s.vHH(3016,Et)}()),"* => *"}}(m,l);if("function"==typeof Se)return void c.push(Se);m=Se}const _=m.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function Xn(m){return new s.vHH(3015,Et)}()),c;const O=_[1],G=_[2],ce=_[3];c.push(vr(O,ce));"<"==G[0]&&!("*"==O&&"*"==ce)&&c.push(vr(ce,O))}(_,l,c)):l.push(m),l}const Bn=new Set(["true","1"]),Er=new Set(["false","0"]);function vr(m,c){const l=Bn.has(m)||Er.has(m),_=Bn.has(c)||Er.has(c);return(O,G)=>{let ce="*"==m||m==O,he="*"==c||c==G;return!ce&&l&&"boolean"==typeof O&&(ce=O?Bn.has(m):Er.has(m)),!he&&_&&"boolean"==typeof G&&(he=G?Bn.has(c):Er.has(c)),ce&&he}}const dr=new RegExp("s*:selfs*,?","g");function Ti(m,c,l,_){return new ps(m).build(c,l,_)}class ps{constructor(c){this._driver=c}build(c,l,_){const O=new bo(l);this._resetContextStyleTimingState(O);const G=Gn(this,Rt(c),O);return O.unsupportedCSSPropertiesFound.size&&O.unsupportedCSSPropertiesFound.keys(),G}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles={},c.collectedStyles[""]={},c.currentTime=0}visitTrigger(c,l){let _=l.queryCount=0,O=l.depCount=0;const G=[],ce=[];return"@"==c.name.charAt(0)&&l.errors.push(function En(){return new s.vHH(3006,Et)}()),c.definitions.forEach(he=>{if(this._resetContextStyleTimingState(l),0==he.type){const Se=he,Je=Se.name;Je.toString().split(/\s*,\s*/).forEach(Ut=>{Se.name=Ut,G.push(this.visitState(Se,l))}),Se.name=Je}else if(1==he.type){const Se=this.visitTransition(he,l);_+=Se.queryCount,O+=Se.depCount,ce.push(Se)}else l.errors.push(function en(){return new s.vHH(3007,Et)}())}),{type:7,name:c.name,states:G,transitions:ce,queryCount:_,depCount:O,options:null}}visitState(c,l){const _=this.visitStyle(c.styles,l),O=c.options&&c.options.params||null;if(_.containsDynamicStyles){const G=new Set,ce=O||{};_.styles.forEach(he=>{if(Zi(he)){const Se=he;Object.keys(Se).forEach(Je=>{cn(Se[Je]).forEach(Ut=>{ce.hasOwnProperty(Ut)||G.add(Ut)})})}}),G.size&&(Mn(G.values()),l.errors.push(function Vn(m,c){return new s.vHH(3008,Et)}()))}return{type:0,name:c.name,style:_,options:O?{params:O}:null}}visitTransition(c,l){l.queryCount=0,l.depCount=0;const _=Gn(this,Rt(c.animation),l);return{type:1,matchers:gt(c.expr,l.errors),animation:_,queryCount:l.queryCount,depCount:l.depCount,options:ai(c.options)}}visitSequence(c,l){return{type:2,steps:c.steps.map(_=>Gn(this,_,l)),options:ai(c.options)}}visitGroup(c,l){const _=l.currentTime;let O=0;const G=c.steps.map(ce=>{l.currentTime=_;const he=Gn(this,ce,l);return O=Math.max(O,l.currentTime),he});return l.currentTime=O,{type:3,steps:G,options:ai(c.options)}}visitAnimate(c,l){const _=function Fi(m,c){if(m.hasOwnProperty("duration"))return m;if("number"==typeof m)return Bs(Ot(m,c).duration,0,"");const l=m;if(l.split(/\s+/).some(G=>"{"==G.charAt(0)&&"{"==G.charAt(1))){const G=Bs(0,0,"");return G.dynamic=!0,G.strValue=l,G}const O=Ot(l,c);return Bs(O.duration,O.delay,O.easing)}(c.timings,l.errors);l.currentAnimateTimings=_;let O,G=c.styles?c.styles:(0,Ce.oB)({});if(5==G.type)O=this.visitKeyframes(G,l);else{let ce=c.styles,he=!1;if(!ce){he=!0;const Je={};_.easing&&(Je.easing=_.easing),ce=(0,Ce.oB)(Je)}l.currentTime+=_.duration+_.delay;const Se=this.visitStyle(ce,l);Se.isEmptyStep=he,O=Se}return l.currentAnimateTimings=null,{type:4,timings:_,style:O,options:null}}visitStyle(c,l){const _=this._makeStyleAst(c,l);return this._validateStyleAst(_,l),_}_makeStyleAst(c,l){const _=[];Array.isArray(c.styles)?c.styles.forEach(ce=>{"string"==typeof ce?ce==Ce.l3?_.push(ce):l.errors.push(function gr(m){return new s.vHH(3002,Et)}()):_.push(ce)}):_.push(c.styles);let O=!1,G=null;return _.forEach(ce=>{if(Zi(ce)){const he=ce,Se=he.easing;if(Se&&(G=Se,delete he.easing),!O)for(let Je in he)if(he[Je].toString().indexOf("{{")>=0){O=!0;break}}}),{type:6,styles:_,easing:G,offset:c.offset,containsDynamicStyles:O,options:null}}_validateStyleAst(c,l){const _=l.currentAnimateTimings;let O=l.currentTime,G=l.currentTime;_&&G>0&&(G-=_.duration+_.delay),c.styles.forEach(ce=>{"string"!=typeof ce&&Object.keys(ce).forEach(he=>{if(!this._driver.validateStyleProperty(he))return delete ce[he],void l.unsupportedCSSPropertiesFound.add(he);const Se=l.collectedStyles[l.currentQuerySelector],Je=Se[he];let Ut=!0;Je&&(G!=O&&G>=Je.startTime&&O<=Je.endTime&&(l.errors.push(function mr(m,c,l,_,O){return new s.vHH(3010,Et)}()),Ut=!1),G=Je.startTime),Ut&&(Se[he]={startTime:G,endTime:O}),l.options&&function kt(m,c,l){const _=c.params||{},O=cn(m);O.length&&O.forEach(G=>{_.hasOwnProperty(G)||l.push(function lt(m){return new s.vHH(3001,Et)}())})}(ce[he],l.options,l.errors)})})}visitKeyframes(c,l){const _={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Yn(){return new s.vHH(3011,Et)}()),_;let G=0;const ce=[];let he=!1,Se=!1,Je=0;const Ut=c.steps.map(qr=>{const ui=this._makeStyleAst(qr,l);let Hi=null!=ui.offset?ui.offset:function Vs(m){if("string"==typeof m)return null;let c=null;if(Array.isArray(m))m.forEach(l=>{if(Zi(l)&&l.hasOwnProperty("offset")){const _=l;c=parseFloat(_.offset),delete _.offset}});else if(Zi(m)&&m.hasOwnProperty("offset")){const l=m;c=parseFloat(l.offset),delete l.offset}return c}(ui.styles),vi=0;return null!=Hi&&(G++,vi=ui.offset=Hi),Se=Se||vi<0||vi>1,he=he||vi<Je,Je=vi,ce.push(vi),ui});Se&&l.errors.push(function kr(){return new s.vHH(3012,Et)}()),he&&l.errors.push(function Dn(){return new s.vHH(3200,Et)}());const dn=c.steps.length;let kn=0;G>0&&G<dn?l.errors.push(function an(){return new s.vHH(3202,Et)}()):0==G&&(kn=1/(dn-1));const Nn=dn-1,mn=l.currentTime,$n=l.currentAnimateTimings,Or=$n.duration;return Ut.forEach((qr,ui)=>{const Hi=kn>0?ui==Nn?1:kn*ui:ce[ui],vi=Hi*Or;l.currentTime=mn+$n.delay+vi,$n.duration=vi,this._validateStyleAst(qr,l),qr.offset=Hi,_.styles.push(qr)}),_}visitReference(c,l){return{type:8,animation:Gn(this,Rt(c.animation),l),options:ai(c.options)}}visitAnimateChild(c,l){return l.depCount++,{type:9,options:ai(c.options)}}visitAnimateRef(c,l){return{type:10,animation:this.visitReference(c.animation,l),options:ai(c.options)}}visitQuery(c,l){const _=l.currentQuerySelector,O=c.options||{};l.queryCount++,l.currentQuery=c;const[G,ce]=function Co(m){const c=!!m.split(/\s*,\s*/).find(l=>":self"==l);return c&&(m=m.replace(dr,"")),m=m.replace(/@\*/g,Ct).replace(/@\w+/g,l=>Ct+"-"+l.substr(1)).replace(/:animating/g,dt),[m,c]}(c.selector);l.currentQuerySelector=_.length?_+" "+G:G,Mt(l.collectedStyles,l.currentQuerySelector,{});const he=Gn(this,Rt(c.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:11,selector:G,limit:O.limit||0,optional:!!O.optional,includeSelf:ce,animation:he,originalSelector:c.selector,options:ai(c.options)}}visitStagger(c,l){l.currentQuery||l.errors.push(function Sr(){return new s.vHH(3013,Et)}());const _="full"===c.timings?{duration:0,delay:0,easing:"full"}:Ot(c.timings,l.errors,!0);return{type:12,animation:Gn(this,Rt(c.animation),l),timings:_,options:null}}}class bo{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 Zi(m){return!Array.isArray(m)&&"object"==typeof m}function ai(m){return m?(m=bn(m)).params&&(m.params=function ao(m){return m?bn(m):null}(m.params)):m={},m}function Bs(m,c,l){return{duration:m,delay:c,easing:l}}function ns(m,c,l,_,O,G,ce=null,he=!1){return{type:1,element:m,keyframes:c,preStyleProps:l,postStyleProps:_,duration:O,delay:G,totalTime:O+G,easing:ce,subTimeline:he}}class lo{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,l){let _=this._map.get(c);_||this._map.set(c,_=[]),_.push(...l)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const Us=new RegExp(":enter","g"),jo=new RegExp(":leave","g");function Li(m,c,l,_,O,G={},ce={},he,Se,Je=[]){return(new Hs).buildKeyframes(m,c,l,_,O,G,ce,he,Se,Je)}class Hs{buildKeyframes(c,l,_,O,G,ce,he,Se,Je,Ut=[]){Je=Je||new lo;const dn=new tr(c,l,Je,O,G,Ut,[]);dn.options=Se,dn.currentTimeline.setStyles([ce],null,dn.errors,Se),Gn(this,_,dn);const kn=dn.timelines.filter(Nn=>Nn.containsAnimation());if(Object.keys(he).length){let Nn;for(let mn=kn.length-1;mn>=0;mn--){const $n=kn[mn];if($n.element===l){Nn=$n;break}}Nn&&!Nn.allowOnlyTimelineStyles()&&Nn.setStyles([he],null,dn.errors,Se)}return kn.length?kn.map(Nn=>Nn.buildKeyframes()):[ns(l,[],[],[],0,0,"",!1)]}visitTrigger(c,l){}visitState(c,l){}visitTransition(c,l){}visitAnimateChild(c,l){const _=l.subInstructions.get(l.element);if(_){const O=l.createSubContext(c.options),G=l.currentTimeline.currentTime,ce=this._visitSubInstructions(_,O,O.options);G!=ce&&l.transformIntoNewTimeline(ce)}l.previousNode=c}visitAnimateRef(c,l){const _=l.createSubContext(c.options);_.transformIntoNewTimeline(),this.visitReference(c.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=c}_visitSubInstructions(c,l,_){let G=l.currentTimeline.currentTime;const ce=null!=_.duration?de(_.duration):null,he=null!=_.delay?de(_.delay):null;return 0!==ce&&c.forEach(Se=>{const Je=l.appendInstructionToTimeline(Se,ce,he);G=Math.max(G,Je.duration+Je.delay)}),G}visitReference(c,l){l.updateOptions(c.options,!0),Gn(this,c.animation,l),l.previousNode=c}visitSequence(c,l){const _=l.subContextCount;let O=l;const G=c.options;if(G&&(G.params||G.delay)&&(O=l.createSubContext(G),O.transformIntoNewTimeline(),null!=G.delay)){6==O.previousNode.type&&(O.currentTimeline.snapshotCurrentStyles(),O.previousNode=Vi);const ce=de(G.delay);O.delayNextStep(ce)}c.steps.length&&(c.steps.forEach(ce=>Gn(this,ce,O)),O.currentTimeline.applyStylesToKeyframe(),O.subContextCount>_&&O.transformIntoNewTimeline()),l.previousNode=c}visitGroup(c,l){const _=[];let O=l.currentTimeline.currentTime;const G=c.options&&c.options.delay?de(c.options.delay):0;c.steps.forEach(ce=>{const he=l.createSubContext(c.options);G&&he.delayNextStep(G),Gn(this,ce,he),O=Math.max(O,he.currentTimeline.currentTime),_.push(he.currentTimeline)}),_.forEach(ce=>l.currentTimeline.mergeTimelineCollectedStyles(ce)),l.transformIntoNewTimeline(O),l.previousNode=c}_visitTiming(c,l){if(c.dynamic){const _=c.strValue;return Ot(l.params?It(_,l.params,l.errors):_,l.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,l){const _=l.currentAnimateTimings=this._visitTiming(c.timings,l),O=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),O.snapshotCurrentStyles());const G=c.style;5==G.type?this.visitKeyframes(G,l):(l.incrementTime(_.duration),this.visitStyle(G,l),O.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=c}visitStyle(c,l){const _=l.currentTimeline,O=l.currentAnimateTimings;!O&&_.getCurrentStyleProperties().length&&_.forwardFrame();const G=O&&O.easing||c.easing;c.isEmptyStep?_.applyEmptyStep(G):_.setStyles(c.styles,G,l.errors,l.options),l.previousNode=c}visitKeyframes(c,l){const _=l.currentAnimateTimings,O=l.currentTimeline.duration,G=_.duration,he=l.createSubContext().currentTimeline;he.easing=_.easing,c.styles.forEach(Se=>{he.forwardTime((Se.offset||0)*G),he.setStyles(Se.styles,Se.easing,l.errors,l.options),he.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(he),l.transformIntoNewTimeline(O+G),l.previousNode=c}visitQuery(c,l){const _=l.currentTimeline.currentTime,O=c.options||{},G=O.delay?de(O.delay):0;G&&(6===l.previousNode.type||0==_&&l.currentTimeline.getCurrentStyleProperties().length)&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Vi);let ce=_;const he=l.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!O.optional,l.errors);l.currentQueryTotal=he.length;let Se=null;he.forEach((Je,Ut)=>{l.currentQueryIndex=Ut;const dn=l.createSubContext(c.options,Je);G&&dn.delayNextStep(G),Je===l.element&&(Se=dn.currentTimeline),Gn(this,c.animation,dn),dn.currentTimeline.applyStylesToKeyframe(),ce=Math.max(ce,dn.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(ce),Se&&(l.currentTimeline.mergeTimelineCollectedStyles(Se),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=c}visitStagger(c,l){const _=l.parentContext,O=l.currentTimeline,G=c.timings,ce=Math.abs(G.duration),he=ce*(l.currentQueryTotal-1);let Se=ce*l.currentQueryIndex;switch(G.duration<0?"reverse":G.easing){case"reverse":Se=he-Se;break;case"full":Se=_.currentStaggerTime}const Ut=l.currentTimeline;Se&&Ut.delayNextStep(Se);const dn=Ut.currentTime;Gn(this,c.animation,l),l.previousNode=c,_.currentStaggerTime=O.currentTime-dn+(O.startTime-_.currentTimeline.startTime)}}const Vi={};class tr{constructor(c,l,_,O,G,ce,he,Se){this._driver=c,this.element=l,this.subInstructions=_,this._enterClassName=O,this._leaveClassName=G,this.errors=ce,this.timelines=he,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Vi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Se||new nr(this._driver,l,0),he.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,l){if(!c)return;const _=c;let O=this.options;null!=_.duration&&(O.duration=de(_.duration)),null!=_.delay&&(O.delay=de(_.delay));const G=_.params;if(G){let ce=O.params;ce||(ce=this.options.params={}),Object.keys(G).forEach(he=>{(!l||!ce.hasOwnProperty(he))&&(ce[he]=It(G[he],ce,this.errors))})}}_copyOptions(){const c={};if(this.options){const l=this.options.params;if(l){const _=c.params={};Object.keys(l).forEach(O=>{_[O]=l[O]})}}return c}createSubContext(c=null,l,_){const O=l||this.element,G=new tr(this._driver,O,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(O,_||0));return G.previousNode=this.previousNode,G.currentAnimateTimings=this.currentAnimateTimings,G.options=this._copyOptions(),G.updateOptions(c),G.currentQueryIndex=this.currentQueryIndex,G.currentQueryTotal=this.currentQueryTotal,G.parentContext=this,this.subContextCount++,G}transformIntoNewTimeline(c){return this.previousNode=Vi,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,l,_){const O={duration:l??c.duration,delay:this.currentTimeline.currentTime+(_??0)+c.delay,easing:""},G=new bi(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,O,c.stretchStartingKeyframe);return this.timelines.push(G),O}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,l,_,O,G,ce){let he=[];if(O&&he.push(this.element),c.length>0){c=(c=c.replace(Us,"."+this._enterClassName)).replace(jo,"."+this._leaveClassName);let Je=this._driver.query(this.element,c,1!=_);0!==_&&(Je=_<0?Je.slice(Je.length+_,Je.length):Je.slice(0,_)),he.push(...Je)}return!G&&0==he.length&&ce.push(function Qn(m){return new s.vHH(3014,Et)}()),he}}class nr{constructor(c,l,_,O){this._driver=c,this.element=l,this.startTime=_,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(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(c){const l=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||l?(this.forwardTime(this.currentTime+c),l&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,l){return this.applyStylesToKeyframe(),new nr(this._driver,c,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=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,l){this._localTimelineStyles[c]=l,this._globalTimelineStyles[c]=l,this._styleSummary[c]={time:this.currentTime,value:l}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&(this._previousKeyframe.easing=c),Object.keys(this._globalTimelineStyles).forEach(l=>{this._backFill[l]=this._globalTimelineStyles[l]||Ce.l3,this._currentKeyframe[l]=Ce.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,l,_,O){l&&(this._previousKeyframe.easing=l);const G=O&&O.params||{},ce=function ms(m,c){const l={};let _;return m.forEach(O=>{"*"===O?(_=_||Object.keys(c),_.forEach(G=>{l[G]=Ce.l3})):Be(O,!1,l)}),l}(c,this._globalTimelineStyles);Object.keys(ce).forEach(he=>{const Se=It(ce[he],G,_);this._pendingStyles[he]=Se,this._localTimelineStyles.hasOwnProperty(he)||(this._backFill[he]=this._globalTimelineStyles.hasOwnProperty(he)?this._globalTimelineStyles[he]:Ce.l3),this._updateStyle(he,Se)})}applyStylesToKeyframe(){const c=this._pendingStyles,l=Object.keys(c);0!=l.length&&(this._pendingStyles={},l.forEach(_=>{this._currentKeyframe[_]=c[_]}),Object.keys(this._localTimelineStyles).forEach(_=>{this._currentKeyframe.hasOwnProperty(_)||(this._currentKeyframe[_]=this._localTimelineStyles[_])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(c=>{const l=this._localTimelineStyles[c];this._pendingStyles[c]=l,this._updateStyle(c,l)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let l in this._currentKeyframe)c.push(l);return c}mergeTimelineCollectedStyles(c){Object.keys(c._styleSummary).forEach(l=>{const _=this._styleSummary[l],O=c._styleSummary[l];(!_||O.time>_.time)&&this._updateStyle(l,O.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let O=[];this._keyframes.forEach((he,Se)=>{const Je=Be(he,!0);Object.keys(Je).forEach(Ut=>{const dn=Je[Ut];dn==Ce.k1?c.add(Ut):dn==Ce.l3&&l.add(Ut)}),_||(Je.offset=Se/this.duration),O.push(Je)});const G=c.size?Mn(c.values()):[],ce=l.size?Mn(l.values()):[];if(_){const he=O[0],Se=bn(he);he.offset=0,Se.offset=1,O=[he,Se]}return ns(this.element,O,G,ce,this.duration,this.startTime,this.easing,!1)}}class bi extends nr{constructor(c,l,_,O,G,ce,he=!1){super(c,l,ce.delay),this.keyframes=_,this.preStyleProps=O,this.postStyleProps=G,this._stretchStartingKeyframe=he,this.timings={duration:ce.duration,delay:ce.delay,easing:ce.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:l,duration:_,easing:O}=this.timings;if(this._stretchStartingKeyframe&&l){const G=[],ce=_+l,he=l/ce,Se=Be(c[0],!1);Se.offset=0,G.push(Se);const Je=Be(c[0],!1);Je.offset=wo(he),G.push(Je);const Ut=c.length-1;for(let dn=1;dn<=Ut;dn++){let kn=Be(c[dn],!1);kn.offset=wo((l+kn.offset*_)/ce),G.push(kn)}_=ce,l=0,O="",c=G}return ns(this.element,c,this.preStyleProps,this.postStyleProps,_,l,O,!0)}}function wo(m,c=3){const l=Math.pow(10,c-1);return Math.round(m*l)/l}class _s{}class ys extends _s{normalizePropertyName(c,l){return cr(c)}normalizeStyleValue(c,l,_,O){let G="";const ce=_.toString().trim();if(uo[l]&&0!==_&&"0"!==_)if("number"==typeof _)G="px";else{const he=_.match(/^[+-]?[\d\.]+([a-z]*)$/);he&&0==he[1].length&&O.push(function Ke(m,c){return new s.vHH(3005,Et)}())}return ce+G}}const uo=(()=>function Hr(m){const c={};return m.forEach(l=>c[l]=!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 vs(m,c,l,_,O,G,ce,he,Se,Je,Ut,dn,kn){return{type:0,element:m,triggerName:c,isRemovalTransition:O,fromState:l,fromStyles:G,toState:_,toStyles:ce,timelines:he,queriedElements:Se,preStyleProps:Je,postStyleProps:Ut,totalTime:dn,errors:kn}}const Jr={};class Xr{constructor(c,l,_){this._triggerName=c,this.ast=l,this._stateStyles=_}match(c,l,_,O){return function is(m,c,l,_,O){return m.some(G=>G(c,l,_,O))}(this.ast.matchers,c,l,_,O)}buildStyles(c,l,_){const O=this._stateStyles["*"],G=this._stateStyles[c],ce=O?O.buildStyles(l,_):{};return G?G.buildStyles(l,_):ce}build(c,l,_,O,G,ce,he,Se,Je,Ut){const dn=[],kn=this.ast.options&&this.ast.options.params||Jr,mn=this.buildStyles(_,he&&he.params||Jr,dn),$n=Se&&Se.params||Jr,Or=this.buildStyles(O,$n,dn),qr=new Set,ui=new Map,Hi=new Map,vi="void"===O,ra={params:{...kn,...$n}},cs=Ut?[]:Li(c,l,this.ast.animation,G,ce,mn,Or,ra,Je,dn);let ci=0;if(cs.forEach(Ii=>{ci=Math.max(Ii.duration+Ii.delay,ci)}),dn.length)return vs(l,this._triggerName,_,O,vi,mn,Or,[],[],ui,Hi,ci,dn);cs.forEach(Ii=>{const Xs=Ii.element,cu=Mt(ui,Xs,{});Ii.preStyleProps.forEach(eo=>cu[eo]=!0);const ia=Mt(Hi,Xs,{});Ii.postStyleProps.forEach(eo=>ia[eo]=!0),Xs!==l&&qr.add(Xs)});const Ki=Mn(qr.values());return vs(l,this._triggerName,_,O,vi,mn,Or,cs,Ki,ui,Hi,ci)}}class ri{constructor(c,l,_){this.styles=c,this.defaultParams=l,this.normalizer=_}buildStyles(c,l){const _={},O=bn(this.defaultParams);return Object.keys(c).forEach(G=>{const ce=c[G];null!=ce&&(O[G]=ce)}),this.styles.styles.forEach(G=>{if("string"!=typeof G){const ce=G;Object.keys(ce).forEach(he=>{let Se=ce[he];Se.length>1&&(Se=It(Se,O,l));const Je=this.normalizer.normalizePropertyName(he,l);Se=this.normalizer.normalizeStyleValue(he,Je,Se,l),_[Je]=Se})}}),_}}class js{constructor(c,l,_){this.name=c,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states={},l.states.forEach(O=>{this.states[O.name]=new ri(O.style,O.options&&O.options.params||{},_)}),S(this.states,"true","1"),S(this.states,"false","0"),l.transitions.forEach(O=>{this.transitionFactories.push(new Xr(c,O,this.states))}),this.fallbackTransition=function Eo(m,c,l){return new Xr(m,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ce,he)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,l,_,O){return this.transitionFactories.find(ce=>ce.match(c,l,_,O))||null}matchStyles(c,l,_){return this.fallbackTransition.buildStyles(c,l,_)}}function S(m,c,l){m.hasOwnProperty(c)?m.hasOwnProperty(l)||(m[l]=m[c]):m.hasOwnProperty(l)&&(m[c]=m[l])}const W=new lo;class P{constructor(c,l,_){this.bodyNode=c,this._driver=l,this._normalizer=_,this._animations={},this._playersById={},this.players=[]}register(c,l){const _=[],G=Ti(this._driver,l,_,[]);if(_.length)throw function Ur(m){return new s.vHH(3503,Et)}();this._animations[c]=G}_buildPlayer(c,l,_){const O=c.element,G=at(0,this._normalizer,0,c.keyframes,l,_);return this._driver.animate(O,G,c.duration,c.delay,c.easing,[],!0)}create(c,l,_={}){const O=[],G=this._animations[c];let ce;const he=new Map;if(G?(ce=Li(this._driver,l,G,ie,Oe,{},{},_,W,O),ce.forEach(Ut=>{const dn=Mt(he,Ut.element,{});Ut.postStyleProps.forEach(kn=>dn[kn]=null)})):(O.push(function _r(){return new s.vHH(3300,Et)}()),ce=[]),O.length)throw function or(m){return new s.vHH(3504,Et)}();he.forEach((Ut,dn)=>{Object.keys(Ut).forEach(kn=>{Ut[kn]=this._driver.computeStyle(dn,kn,Ce.l3)})});const Je=$e(ce.map(Ut=>{const dn=he.get(Ut.element);return this._buildPlayer(Ut,{},dn)}));return this._playersById[c]=Je,Je.onDestroy(()=>this.destroy(c)),this.players.push(Je),Je}destroy(c){const l=this._getPlayer(c);l.destroy(),delete this._playersById[c];const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(c){const l=this._playersById[c];if(!l)throw function pi(m){return new s.vHH(3301,Et)}();return l}listen(c,l,_,O){const G=Ft(l,"","","");return Yt(this._getPlayer(c),_,G,O),()=>{}}command(c,l,_,O){if("register"==_)return void this.register(c,O[0]);if("create"==_)return void this.create(c,l,O[0]||{});const G=this._getPlayer(c);switch(_){case"play":G.play();break;case"pause":G.pause();break;case"reset":G.reset();break;case"restart":G.restart();break;case"finish":G.finish();break;case"init":G.init();break;case"setPosition":G.setPosition(parseFloat(O[0]));break;case"destroy":this.destroy(c)}}}const J="ng-animate-queued",Ge="ng-animate-disabled",fr=[],Hn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zn="__ng_removed";class rr{constructor(c,l=""){this.namespaceId=l;const _=c&&c.hasOwnProperty("value");if(this.value=function M(m){return m??null}(_?c.value:c),_){const G=bn(c);delete G.value,this.options=G}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const l=c.params;if(l){const _=this.options.params;Object.keys(l).forEach(O=>{null==_[O]&&(_[O]=l[O])})}}}const Mr="void",Dr=new rr(Mr);class mi{constructor(c,l,_){this.id=c,this.hostElement=l,this._engine=_,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,jn(l,this._hostClassName)}listen(c,l,_,O){if(!this._triggers.hasOwnProperty(l))throw function Rr(m,c){return new s.vHH(3302,Et)}();if(null==_||0==_.length)throw function Lr(m){return new s.vHH(3303,Et)}();if(!function j(m){return"start"==m||"done"==m}(_))throw function pe(m,c){return new s.vHH(3400,Et)}();const G=Mt(this._elementListeners,c,[]),ce={name:l,phase:_,callback:O};G.push(ce);const he=Mt(this._engine.statesByElement,c,{});return he.hasOwnProperty(l)||(jn(c,Qe),jn(c,Qe+"-"+l),he[l]=Dr),()=>{this._engine.afterFlush(()=>{const Se=G.indexOf(ce);Se>=0&&G.splice(Se,1),this._triggers[l]||delete he[l]})}}register(c,l){return!this._triggers[c]&&(this._triggers[c]=l,!0)}_getTrigger(c){const l=this._triggers[c];if(!l)throw function _e(m){return new s.vHH(3401,Et)}();return l}trigger(c,l,_,O=!0){const G=this._getTrigger(l),ce=new _i(this.id,l,c);let he=this._engine.statesByElement.get(c);he||(jn(c,Qe),jn(c,Qe+"-"+l),this._engine.statesByElement.set(c,he={}));let Se=he[l];const Je=new rr(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&Se&&Je.absorbOptions(Se.options),he[l]=Je,Se||(Se=Dr),Je.value!==Mr&&Se.value===Je.value){if(!function ht(m,c){const l=Object.keys(m),_=Object.keys(c);if(l.length!=_.length)return!1;for(let O=0;O<l.length;O++){const G=l[O];if(!c.hasOwnProperty(G)||m[G]!==c[G])return!1}return!0}(Se.params,Je.params)){const $n=[],Or=G.matchStyles(Se.value,Se.params,$n),qr=G.matchStyles(Je.value,Je.params,$n);$n.length?this._engine.reportError($n):this._engine.afterFlush(()=>{Pt(c,Or),St(c,qr)})}return}const kn=Mt(this._engine.playersByElement,c,[]);kn.forEach($n=>{$n.namespaceId==this.id&&$n.triggerName==l&&$n.queued&&$n.destroy()});let Nn=G.matchTransition(Se.value,Je.value,c,Je.params),mn=!1;if(!Nn){if(!O)return;Nn=G.fallbackTransition,mn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:l,transition:Nn,fromState:Se,toState:Je,player:ce,isFallbackTransition:mn}),mn||(jn(c,J),ce.onStart(()=>{yi(c,J)})),ce.onDone(()=>{let $n=this.players.indexOf(ce);$n>=0&&this.players.splice($n,1);const Or=this._engine.playersByElement.get(c);if(Or){let qr=Or.indexOf(ce);qr>=0&&Or.splice(qr,1)}}),this.players.push(ce),kn.push(ce),ce}deregister(c){delete this._triggers[c],this._engine.statesByElement.forEach((l,_)=>{delete l[c]}),this._elementListeners.forEach((l,_)=>{this._elementListeners.set(_,l.filter(O=>O.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const l=this._engine.playersByElement.get(c);l&&(l.forEach(_=>_.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,l){const _=this._engine.driver.query(c,Ct,!0);_.forEach(O=>{if(O[Zn])return;const G=this._engine.fetchNamespacesByElement(O);G.size?G.forEach(ce=>ce.triggerLeaveAnimation(O,l,!1,!0)):this.clearElementCache(O)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(O=>this.clearElementCache(O)))}triggerLeaveAnimation(c,l,_,O){const G=this._engine.statesByElement.get(c),ce=new Map;if(G){const he=[];if(Object.keys(G).forEach(Se=>{if(ce.set(Se,G[Se].value),this._triggers[Se]){const Je=this.trigger(c,Se,Mr,O);Je&&he.push(Je)}}),he.length)return this._engine.markElementAsRemoved(this.id,c,!0,l,ce),_&&$e(he).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const l=this._elementListeners.get(c),_=this._engine.statesByElement.get(c);if(l&&_){const O=new Set;l.forEach(G=>{const ce=G.name;if(O.has(ce))return;O.add(ce);const Se=this._triggers[ce].fallbackTransition,Je=_[ce]||Dr,Ut=new rr(Mr),dn=new _i(this.id,ce,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:ce,transition:Se,fromState:Je,toState:Ut,player:dn,isFallbackTransition:!0})})}}removeNode(c,l){const _=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,l),this.triggerLeaveAnimation(c,l,!0))return;let O=!1;if(_.totalAnimations){const G=_.players.length?_.playersByQueriedElement.get(c):[];if(G&&G.length)O=!0;else{let ce=c;for(;ce=ce.parentNode;)if(_.statesByElement.get(ce)){O=!0;break}}}if(this.prepareLeaveAnimationListeners(c),O)_.markElementAsRemoved(this.id,c,!1,l);else{const G=c[Zn];(!G||G===Hn)&&(_.afterFlush(()=>this.clearElementCache(c)),_.destroyInnerAnimations(c),_._onRemovalComplete(c,l))}}insertNode(c,l){jn(c,this._hostClassName)}drainQueuedTransitions(c){const l=[];return this._queue.forEach(_=>{const O=_.player;if(O.destroyed)return;const G=_.element,ce=this._elementListeners.get(G);ce&&ce.forEach(he=>{if(he.name==_.triggerName){const Se=Ft(G,_.triggerName,_.fromState.value,_.toState.value);Se._data=c,Yt(_.player,he.phase,Se,he.callback)}}),O.markedForDestroy?this._engine.afterFlush(()=>{O.destroy()}):l.push(_)}),this._queue=[],l.sort((_,O)=>{const G=_.transition.ast.depCount,ce=O.transition.ast.depCount;return 0==G||0==ce?G-ce:this._engine.driver.containsElement(_.element,O.element)?1:-1})}destroy(c){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let l=!1;return this._elementListeners.has(c)&&(l=!0),l=!!this._queue.find(_=>_.element===c)||l,l}}class Cs{constructor(c,l,_){this.bodyNode=c,this.driver=l,this._normalizer=_,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,G)=>{}}_onRemovalComplete(c,l){this.onRemovalComplete(c,l)}get queuedPlayers(){const c=[];return this._namespaceList.forEach(l=>{l.players.forEach(_=>{_.queued&&c.push(_)})}),c}createNamespace(c,l){const _=new mi(c,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[c]=_}_balanceNamespaceList(c,l){const _=this._namespaceList,O=this.namespacesByHostElement,G=_.length-1;if(G>=0){let ce=!1;if(void 0!==this.driver.getParentElement){let he=this.driver.getParentElement(l);for(;he;){const Se=O.get(he);if(Se){const Je=_.indexOf(Se);_.splice(Je+1,0,c),ce=!0;break}he=this.driver.getParentElement(he)}}else for(let he=G;he>=0;he--)if(this.driver.containsElement(_[he].hostElement,l)){_.splice(he+1,0,c),ce=!0;break}ce||_.unshift(c)}else _.push(c);return O.set(l,c),c}register(c,l){let _=this._namespaceLookup[c];return _||(_=this.createNamespace(c,l)),_}registerTrigger(c,l,_){let O=this._namespaceLookup[c];O&&O.register(l,_)&&this.totalAnimations++}destroy(c,l){if(!c)return;const _=this._fetchNamespace(c);this.afterFlush(()=>{this.namespacesByHostElement.delete(_.hostElement),delete this._namespaceLookup[c];const O=this._namespaceList.indexOf(_);O>=0&&this._namespaceList.splice(O,1)}),this.afterFlushAnimationsDone(()=>_.destroy(l))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const l=new Set,_=this.statesByElement.get(c);if(_){const O=Object.keys(_);for(let G=0;G<O.length;G++){const ce=_[O[G]].namespaceId;if(ce){const he=this._fetchNamespace(ce);he&&l.add(he)}}}return l}trigger(c,l,_,O){if(w(l)){const G=this._fetchNamespace(c);if(G)return G.trigger(l,_,O),!0}return!1}insertNode(c,l,_,O){if(!w(l))return;const G=l[Zn];if(G&&G.setForRemoval){G.setForRemoval=!1,G.setForMove=!0;const ce=this.collectedLeaveElements.indexOf(l);ce>=0&&this.collectedLeaveElements.splice(ce,1)}if(c){const ce=this._fetchNamespace(c);ce&&ce.insertNode(l,_)}O&&this.collectEnterElement(l)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,l){l?this.disabledNodes.has(c)||(this.disabledNodes.add(c),jn(c,Ge)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),yi(c,Ge))}removeNode(c,l,_,O){if(w(l)){const G=c?this._fetchNamespace(c):null;if(G?G.removeNode(l,O):this.markElementAsRemoved(c,l,!1,O),_){const ce=this.namespacesByHostElement.get(l);ce&&ce.id!==c&&ce.removeNode(l,O)}}else this._onRemovalComplete(l,O)}markElementAsRemoved(c,l,_,O,G){this.collectedLeaveElements.push(l),l[Zn]={namespaceId:c,setForRemoval:O,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:G}}listen(c,l,_,O,G){return w(l)?this._fetchNamespace(c).listen(l,_,O,G):()=>{}}_buildInstruction(c,l,_,O,G){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,_,O,c.fromState.options,c.toState.options,l,G)}destroyInnerAnimations(c){let l=this.driver.query(c,Ct,!0);l.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(c,dt,!0),l.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(c){const l=this.playersByElement.get(c);l&&l.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(c){const l=this.playersByQueriedElement.get(c);l&&l.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return $e(this.players).onDone(()=>c());c()})}processLeaveNode(c){const l=c[Zn];if(l&&l.setForRemoval){if(c[Zn]=Hn,l.namespaceId){this.destroyInnerAnimations(c);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(c)}this._onRemovalComplete(c,l.setForRemoval)}c.classList?.contains(Ge)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(c=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,O)=>this._balanceNamespaceList(_,O)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;_<this.collectedEnterElements.length;_++)jn(this.collectedEnterElements[_],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const _=[];try{l=this._flushAnimations(_,c)}finally{for(let O=0;O<_.length;O++)_[O]()}}else for(let _=0;_<this.collectedLeaveElements.length;_++)this.processLeaveNode(this.collectedLeaveElements[_]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(_=>_()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?$e(l).onDone(()=>{_.forEach(O=>O())}):_.forEach(O=>O())}}reportError(c){throw function Ye(m){return new s.vHH(3402,Et)}()}_flushAnimations(c,l){const _=new lo,O=[],G=new Map,ce=[],he=new Map,Se=new Map,Je=new Map,Ut=new Set;this.disabledNodes.forEach(Jt=>{Ut.add(Jt);const _n=this.driver.query(Jt,".ng-animate-queued",!0);for(let xn=0;xn<_n.length;xn++)Ut.add(_n[xn])});const dn=this.bodyNode,kn=Array.from(this.statesByElement.keys()),Nn=Pr(kn,this.collectedEnterElements),mn=new Map;let $n=0;Nn.forEach((Jt,_n)=>{const xn=ie+$n++;mn.set(_n,xn),Jt.forEach(ar=>jn(ar,xn))});const Or=[],qr=new Set,ui=new Set;for(let Jt=0;Jt<this.collectedLeaveElements.length;Jt++){const _n=this.collectedLeaveElements[Jt],xn=_n[Zn];xn&&xn.setForRemoval&&(Or.push(_n),qr.add(_n),xn.hasAnimation?this.driver.query(_n,".ng-star-inserted",!0).forEach(ar=>qr.add(ar)):ui.add(_n))}const Hi=new Map,vi=Pr(kn,Array.from(qr));vi.forEach((Jt,_n)=>{const xn=Oe+$n++;Hi.set(_n,xn),Jt.forEach(ar=>jn(ar,xn))}),c.push(()=>{Nn.forEach((Jt,_n)=>{const xn=mn.get(_n);Jt.forEach(ar=>yi(ar,xn))}),vi.forEach((Jt,_n)=>{const xn=Hi.get(_n);Jt.forEach(ar=>yi(ar,xn))}),Or.forEach(Jt=>{this.processLeaveNode(Jt)})});const ra=[],cs=[];for(let Jt=this._namespaceList.length-1;Jt>=0;Jt--)this._namespaceList[Jt].drainQueuedTransitions(l).forEach(xn=>{const ar=xn.player,oi=xn.element;if(ra.push(ar),this.collectedEnterElements.length){const di=oi[Zn];if(di&&di.setForMove){if(di.previousTriggersValues&&di.previousTriggersValues.has(xn.triggerName)){const sa=di.previousTriggersValues.get(xn.triggerName),oa=this.statesByElement.get(xn.element);oa&&oa[xn.triggerName]&&(oa[xn.triggerName].value=sa)}return void ar.destroy()}}const ds=!dn||!this.driver.containsElement(dn,oi),Ji=Hi.get(oi),to=mn.get(oi),zt=this._buildInstruction(xn,_,to,Ji,ds);if(zt.errors&&zt.errors.length)return void cs.push(zt);if(ds)return ar.onStart(()=>Pt(oi,zt.fromStyles)),ar.onDestroy(()=>St(oi,zt.toStyles)),void O.push(ar);if(xn.isFallbackTransition)return ar.onStart(()=>Pt(oi,zt.fromStyles)),ar.onDestroy(()=>St(oi,zt.toStyles)),void O.push(ar);const Ma=[];zt.timelines.forEach(di=>{di.stretchStartingKeyframe=!0,this.disabledNodes.has(di.element)||Ma.push(di)}),zt.timelines=Ma,_.append(oi,zt.timelines),ce.push({instruction:zt,player:ar,element:oi}),zt.queriedElements.forEach(di=>Mt(he,di,[]).push(ar)),zt.preStyleProps.forEach((di,sa)=>{const oa=Object.keys(di);if(oa.length){let Sa=Se.get(sa);Sa||Se.set(sa,Sa=new Set),oa.forEach(Xi=>Sa.add(Xi))}}),zt.postStyleProps.forEach((di,sa)=>{const oa=Object.keys(di);let Sa=Je.get(sa);Sa||Je.set(sa,Sa=new Set),oa.forEach(Xi=>Sa.add(Xi))})});if(cs.length){const Jt=[];cs.forEach(_n=>{Jt.push(function je(m,c){return new s.vHH(3505,Et)}())}),ra.forEach(_n=>_n.destroy()),this.reportError(Jt)}const ci=new Map,Ki=new Map;ce.forEach(Jt=>{const _n=Jt.element;_.has(_n)&&(Ki.set(_n,_n),this._beforeAnimationBuild(Jt.player.namespaceId,Jt.instruction,ci))}),O.forEach(Jt=>{const _n=Jt.element;this._getPreviousPlayers(_n,!1,Jt.namespaceId,Jt.triggerName,null).forEach(ar=>{Mt(ci,_n,[]).push(ar),ar.destroy()})});const Ii=Or.filter(Jt=>qn(Jt,Se,Je)),Xs=new Map;on(Xs,this.driver,ui,Je,Ce.l3).forEach(Jt=>{qn(Jt,Se,Je)&&Ii.push(Jt)});const ia=new Map;Nn.forEach((Jt,_n)=>{on(ia,this.driver,new Set(Jt),Se,Ce.k1)}),Ii.forEach(Jt=>{const _n=Xs.get(Jt),xn=ia.get(Jt);Xs.set(Jt,{..._n,...xn})});const eo=[],rl=[],Ml={};ce.forEach(Jt=>{const{element:_n,player:xn,instruction:ar}=Jt;if(_.has(_n)){if(Ut.has(_n))return xn.onDestroy(()=>St(_n,ar.toStyles)),xn.disabled=!0,xn.overrideTotalTime(ar.totalTime),void O.push(xn);let oi=Ml;if(Ki.size>1){let Ji=_n;const to=[];for(;Ji=Ji.parentNode;){const zt=Ki.get(Ji);if(zt){oi=zt;break}to.push(Ji)}to.forEach(zt=>Ki.set(zt,oi))}const ds=this._buildAnimation(xn.namespaceId,ar,ci,G,ia,Xs);if(xn.setRealPlayer(ds),oi===Ml)eo.push(xn);else{const Ji=this.playersByElement.get(oi);Ji&&Ji.length&&(xn.parentPlayer=$e(Ji)),O.push(xn)}}else Pt(_n,ar.fromStyles),xn.onDestroy(()=>St(_n,ar.toStyles)),rl.push(xn),Ut.has(_n)&&O.push(xn)}),rl.forEach(Jt=>{const _n=G.get(Jt.element);if(_n&&_n.length){const xn=$e(_n);Jt.setRealPlayer(xn)}}),O.forEach(Jt=>{Jt.parentPlayer?Jt.syncPlayerEvents(Jt.parentPlayer):Jt.destroy()});for(let Jt=0;Jt<Or.length;Jt++){const _n=Or[Jt],xn=_n[Zn];if(yi(_n,Oe),xn&&xn.hasAnimation)continue;let ar=[];if(he.size){let ds=he.get(_n);ds&&ds.length&&ar.push(...ds);let Ji=this.driver.query(_n,dt,!0);for(let to=0;to<Ji.length;to++){let zt=he.get(Ji[to]);zt&&zt.length&&ar.push(...zt)}}const oi=ar.filter(ds=>!ds.destroyed);oi.length?qi(this,_n,oi):this.processLeaveNode(_n)}return Or.length=0,eo.forEach(Jt=>{this.players.push(Jt),Jt.onDone(()=>{Jt.destroy();const _n=this.players.indexOf(Jt);this.players.splice(_n,1)}),Jt.play()}),eo}elementContainsData(c,l){let _=!1;const O=l[Zn];return O&&O.setForRemoval&&(_=!0),this.playersByElement.has(l)&&(_=!0),this.playersByQueriedElement.has(l)&&(_=!0),this.statesByElement.has(l)&&(_=!0),this._fetchNamespace(c).elementContainsData(l)||_}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,l,_,O,G){let ce=[];if(l){const he=this.playersByQueriedElement.get(c);he&&(ce=he)}else{const he=this.playersByElement.get(c);if(he){const Se=!G||G==Mr;he.forEach(Je=>{Je.queued||!Se&&Je.triggerName!=O||ce.push(Je)})}}return(_||O)&&(ce=ce.filter(he=>!(_&&_!=he.namespaceId||O&&O!=he.triggerName))),ce}_beforeAnimationBuild(c,l,_){const G=l.element,ce=l.isRemovalTransition?void 0:c,he=l.isRemovalTransition?void 0:l.triggerName;for(const Se of l.timelines){const Je=Se.element,Ut=Je!==G,dn=Mt(_,Je,[]);this._getPreviousPlayers(Je,Ut,ce,he,l.toState).forEach(Nn=>{const mn=Nn.getRealPlayer();mn.beforeDestroy&&mn.beforeDestroy(),Nn.destroy(),dn.push(Nn)})}Pt(G,l.fromStyles)}_buildAnimation(c,l,_,O,G,ce){const he=l.triggerName,Se=l.element,Je=[],Ut=new Set,dn=new Set,kn=l.timelines.map(mn=>{const $n=mn.element;Ut.add($n);const Or=$n[Zn];if(Or&&Or.removedBeforeQueried)return new Ce.ZN(mn.duration,mn.delay);const qr=$n!==Se,ui=function xi(m){const c=[];return bs(m,c),c}((_.get($n)||fr).map(ci=>ci.getRealPlayer())).filter(ci=>!!ci.element&&ci.element===$n),Hi=G.get($n),vi=ce.get($n),ra=at(0,this._normalizer,0,mn.keyframes,Hi,vi),cs=this._buildPlayer(mn,ra,ui);if(mn.subTimeline&&O&&dn.add($n),qr){const ci=new _i(c,he,$n);ci.setRealPlayer(cs),Je.push(ci)}return cs});Je.forEach(mn=>{Mt(this.playersByQueriedElement,mn.element,[]).push(mn),mn.onDone(()=>function T(m,c,l){let _;if(m instanceof Map){if(_=m.get(c),_){if(_.length){const O=_.indexOf(l);_.splice(O,1)}0==_.length&&m.delete(c)}}else if(_=m[c],_){if(_.length){const O=_.indexOf(l);_.splice(O,1)}0==_.length&&delete m[c]}return _}(this.playersByQueriedElement,mn.element,mn))}),Ut.forEach(mn=>jn(mn,_t));const Nn=$e(kn);return Nn.onDestroy(()=>{Ut.forEach(mn=>yi(mn,_t)),St(Se,l.toStyles)}),dn.forEach(mn=>{Mt(O,mn,[]).push(Nn)}),Nn}_buildPlayer(c,l,_){return l.length>0?this.driver.animate(c.element,l,c.duration,c.delay,c.easing,_):new Ce.ZN(c.duration,c.delay)}}class _i{constructor(c,l,_){this.namespaceId=c,this.triggerName=l,this.element=_,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(l=>{this._queuedCallbacks[l].forEach(_=>Yt(c,l,void 0,_))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const l=this._player;l.triggerCallback&&c.onStart(()=>l.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,l){Mt(this._queuedCallbacks,c,[]).push(l)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const l=this._player;l.triggerCallback&&l.triggerCallback(c)}}function w(m){return m&&1===m.nodeType}function Xe(m,c){const l=m.style.display;return m.style.display=c??"none",l}function on(m,c,l,_,O){const G=[];l.forEach(Se=>G.push(Xe(Se)));const ce=[];_.forEach((Se,Je)=>{const Ut={};Se.forEach(dn=>{const kn=Ut[dn]=c.computeStyle(Je,dn,O);(!kn||0==kn.length)&&(Je[Zn]=jt,ce.push(Je))}),m.set(Je,Ut)});let he=0;return l.forEach(Se=>Xe(Se,G[he++])),ce}function Pr(m,c){const l=new Map;if(m.forEach(he=>l.set(he,[])),0==c.length)return l;const O=new Set(c),G=new Map;function ce(he){if(!he)return 1;let Se=G.get(he);if(Se)return Se;const Je=he.parentNode;return Se=l.has(Je)?Je:O.has(Je)?1:ce(Je),G.set(he,Se),Se}return c.forEach(he=>{const Se=ce(he);1!==Se&&l.get(Se).push(he)}),l}function jn(m,c){m.classList?.add(c)}function yi(m,c){m.classList?.remove(c)}function qi(m,c,l){$e(l).onDone(()=>m.processLeaveNode(c))}function bs(m,c){for(let l=0;l<m.length;l++){const _=m[l];_ instanceof Ce.ZE?bs(_.players,c):c.push(_)}}function qn(m,c,l){const _=l.get(m);if(!_)return!1;let O=c.get(m);return O?_.forEach(G=>O.add(G)):c.set(m,_),l.delete(m),!0}class ii{constructor(c,l,_){this.bodyNode=c,this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(O,G)=>{},this._transitionEngine=new Cs(c,l,_),this._timelineEngine=new P(c,l,_),this._transitionEngine.onRemovalComplete=(O,G)=>this.onRemovalComplete(O,G)}registerTrigger(c,l,_,O,G){const ce=c+"-"+O;let he=this._triggerCache[ce];if(!he){const Se=[],Ut=Ti(this._driver,G,Se,[]);if(Se.length)throw function Br(m,c){return new s.vHH(3404,Et)}();he=function ss(m,c,l){return new js(m,c,l)}(O,Ut,this._normalizer),this._triggerCache[ce]=he}this._transitionEngine.registerTrigger(l,O,he)}register(c,l){this._transitionEngine.register(c,l)}destroy(c,l){this._transitionEngine.destroy(c,l)}onInsert(c,l,_,O){this._transitionEngine.insertNode(c,l,_,O)}onRemove(c,l,_,O){this._transitionEngine.removeNode(c,l,O||!1,_)}disableAnimations(c,l){this._transitionEngine.markElementAsDisabled(c,l)}process(c,l,_,O){if("@"==_.charAt(0)){const[G,ce]=Qt(_);this._timelineEngine.command(G,l,ce,O)}else this._transitionEngine.trigger(c,l,_,O)}listen(c,l,_,O,G){if("@"==_.charAt(0)){const[ce,he]=Qt(_);return this._timelineEngine.listen(ce,l,he,G)}return this._transitionEngine.listen(c,l,_,O,G)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ws=(()=>{class m{constructor(l,_,O){this._element=l,this._startStyles=_,this._endStyles=O,this._state=0;let G=m.initialStylesByElement.get(l);G||m.initialStylesByElement.set(l,G={}),this._initialStyles=G}start(){this._state<1&&(this._startStyles&&St(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(St(this._element,this._initialStyles),this._endStyles&&(St(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(m.initialStylesByElement.delete(this._element),this._startStyles&&(Pt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pt(this._element,this._endStyles),this._endStyles=null),St(this._element,this._initialStyles),this._state=3)}}return m.initialStylesByElement=new WeakMap,m})();function Es(m){let c=null;const l=Object.keys(m);for(let _=0;_<l.length;_++){const O=l[_];Bi(O)&&(c=c||{},c[O]=m[O])}return c}function Bi(m){return"display"===m||"position"===m}class co{constructor(c,l,_,O){this.element=c,this.keyframes=l,this.options=_,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=_.duration,this._delay=_.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,l,_){return c.animate(l,_)}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 l=this._finalKeyframe;Object.keys(l).forEach(_=>{"offset"!=_&&(c[_]=this._finished?l[_]:Vr(this.element,_))})}this.currentSnapshot=c}triggerCallback(c){const l="start"==c?this._onStartFns:this._onDoneFns;l.forEach(_=>_()),l.length=0}}class fa{validateStyleProperty(c){return Kn(c)}matchesElement(c,l){return!1}containsElement(c,l){return te(c,l)}getParentElement(c){return tn(c)}query(c,l,_){return se(c,l,_)}computeStyle(c,l,_){return window.getComputedStyle(c)[l]}animate(c,l,_,O,G,ce=[]){const Se={duration:_,delay:O,fill:0==O?"both":"forwards"};G&&(Se.easing=G);const Je={},Ut=ce.filter(kn=>kn instanceof co);(function yr(m,c){return 0===m||0===c})(_,O)&&Ut.forEach(kn=>{let Nn=kn.currentSnapshot;Object.keys(Nn).forEach(mn=>Je[mn]=Nn[mn])}),l=function gi(m,c,l){const _=Object.keys(l);if(_.length&&c.length){let G=c[0],ce=[];if(_.forEach(he=>{G.hasOwnProperty(he)||ce.push(he),G[he]=l[he]}),ce.length)for(var O=1;O<c.length;O++){let he=c[O];ce.forEach(function(Se){he[Se]=Vr(m,Se)})}}return c}(c,l=l.map(kn=>Be(kn,!1)),Je);const dn=function jr(m,c){let l=null,_=null;return Array.isArray(c)&&c.length?(l=Es(c[0]),c.length>1&&(_=Es(c[c.length-1]))):c&&(l=Es(c)),l||_?new ws(m,l,_):null}(c,l);return new co(c,l,Se,dn)}}let ha=(()=>{class m extends Ce._j{constructor(l,_){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(_.body,{id:"0",encapsulation:s.ifc.None,styles:[],data:{animation:[]}})}build(l){const _=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(l)?(0,Ce.vP)(l):l;return os(this._renderer,null,_,"register",[O]),new fl(_,this._renderer)}}return m.\u0275fac=function(l){return new(l||m)(s.LFG(s.FYo),s.LFG(h.K0))},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac}),m})();class fl extends Ce.LC{constructor(c,l){super(),this._id=c,this._renderer=l}create(c,l){return new Ru(this._id,c,l||{},this._renderer)}}class Ru{constructor(c,l,_,O){this.id=c,this.element=l,this._renderer=O,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_)}_listen(c,l){return this._renderer.listen(this.element,`@@${this.id}:${c}`,l)}_command(c,...l){return os(this._renderer,this.element,this.id,c,l)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function os(m,c,l,_,O){return m.setProperty(c,`@@${l}:${_}`,O)}const as="@.disabled";let pa=(()=>{class m{constructor(l,_,O){this.delegate=l,this.engine=_,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),_.onRemovalComplete=(G,ce)=>{const he=ce?.parentNode(G);he&&ce.removeChild(he,G)}}createRenderer(l,_){const G=this.delegate.createRenderer(l,_);if(!(l&&_&&_.data&&_.data.animation)){let Ut=this._rendererCache.get(G);return Ut||(Ut=new ls("",G,this.engine),this._rendererCache.set(G,Ut)),Ut}const ce=_.id,he=_.id+"-"+this._currentId;this._currentId++,this.engine.register(he,l);const Se=Ut=>{Array.isArray(Ut)?Ut.forEach(Se):this.engine.registerTrigger(ce,he,l,Ut.name,Ut)};return _.data.animation.forEach(Se),new li(this,he,G,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,_,O){l>=0&&l<this._microtaskId?this._zone.run(()=>_(O)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(G=>{const[ce,he]=G;ce(he)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([_,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(l){return new(l||m)(s.LFG(s.FYo),s.LFG(ii),s.LFG(s.R0b))},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac}),m})();class ls{constructor(c,l,_){this.namespaceId=c,this.delegate=l,this.engine=_,this.destroyNode=this.delegate.destroyNode?O=>l.destroyNode(O):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(c,l){return this.delegate.createElement(c,l)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,l){this.delegate.appendChild(c,l),this.engine.onInsert(this.namespaceId,l,c,!1)}insertBefore(c,l,_,O=!0){this.delegate.insertBefore(c,l,_),this.engine.onInsert(this.namespaceId,l,c,O)}removeChild(c,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate,_)}selectRootElement(c,l){return this.delegate.selectRootElement(c,l)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,l,_,O){this.delegate.setAttribute(c,l,_,O)}removeAttribute(c,l,_){this.delegate.removeAttribute(c,l,_)}addClass(c,l){this.delegate.addClass(c,l)}removeClass(c,l){this.delegate.removeClass(c,l)}setStyle(c,l,_,O){this.delegate.setStyle(c,l,_,O)}removeStyle(c,l,_){this.delegate.removeStyle(c,l,_)}setProperty(c,l,_){"@"==l.charAt(0)&&l==as?this.disableAnimations(c,!!_):this.delegate.setProperty(c,l,_)}setValue(c,l){this.delegate.setValue(c,l)}listen(c,l,_){return this.delegate.listen(c,l,_)}disableAnimations(c,l){this.engine.disableAnimations(c,l)}}class li extends ls{constructor(c,l,_,O){super(l,_,O),this.factory=c,this.namespaceId=l}setProperty(c,l,_){"@"==l.charAt(0)?"."==l.charAt(1)&&l==as?this.disableAnimations(c,_=void 0===_||!!_):this.engine.process(this.namespaceId,c,l.substr(1),_):this.delegate.setProperty(c,l,_)}listen(c,l,_){if("@"==l.charAt(0)){const O=function Go(m){switch(m){case"body":return document.body;case"document":return document;case"window":return window;default:return m}}(c);let G=l.substr(1),ce="";return"@"!=G.charAt(0)&&([G,ce]=function zo(m){const c=m.indexOf(".");return[m.substring(0,c),m.substr(c+1)]}(G)),this.engine.listen(this.namespaceId,O,G,ce,he=>{this.factory.scheduleListenerCallback(he._data||-1,_,he)})}return this.delegate.listen(c,l,_)}}let Xl=(()=>{class m extends ii{constructor(l,_,O){super(l.body,_,O)}ngOnDestroy(){this.flush()}}return m.\u0275fac=function(l){return new(l||m)(s.LFG(h.K0),s.LFG(ft),s.LFG(_s))},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac}),m})();const wi=new s.OlP("AnimationModuleType"),$s=[{provide:Ce._j,useClass:ha},{provide:_s,useFactory:function eu(){return new ys}},{provide:ii,useClass:Xl},{provide:s.FYo,useFactory:function Qi(m,c,l){return new pa(m,c,l)},deps:[wt.se,ii,s.R0b]}],ga=[{provide:ft,useFactory:()=>new fa},{provide:wi,useValue:"BrowserAnimations"},...$s],tu=[{provide:ft,useClass:ke},{provide:wi,useValue:"NoopAnimations"},...$s];let Do=(()=>{class m{static withConfig(l){return{ngModule:m,providers:l.disableAnimations?tu:ga}}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({providers:ga,imports:[wt.b2]}),m})();const hl=function(m,c){return{"pull-left":m,"float-left":c}},Wo=function(m,c){return{"pull-right":m,"float-right":c}},Me=function(m,c){return{disabled:m,currentPage:c}};function et(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"li",11)(1,"a",12),s.NdJ("click",function(O){return s.CHM(l),s.oxw().selectPage(1,O)}),s.GkF(2,13),s.qZA()()}if(2&m){const l=s.oxw(),_=s.MAs(13);s.ekj("disabled",l.noPrevious()||l.disabled),s.xp6(2),s.Q6J("ngTemplateOutlet",l.customFirstTemplate||_)("ngTemplateOutletContext",s.WLB(4,Me,l.noPrevious()||l.disabled,l.page))}}function We(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"li",14)(1,"a",12),s.NdJ("click",function(O){s.CHM(l);const G=s.oxw();return G.selectPage(G.page-1,O)}),s.GkF(2,13),s.qZA()()}if(2&m){const l=s.oxw(),_=s.MAs(11);s.ekj("disabled",l.noPrevious()||l.disabled),s.xp6(2),s.Q6J("ngTemplateOutlet",l.customPreviousTemplate||_)("ngTemplateOutletContext",s.WLB(4,Me,l.noPrevious()||l.disabled,l.page))}}const Gt=function(m,c,l){return{disabled:m,$implicit:c,currentPage:l}};function Rn(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"li",15)(1,"a",12),s.NdJ("click",function(O){const ce=s.CHM(l).$implicit;return s.oxw().selectPage(ce.number,O)}),s.GkF(2,13),s.qZA()()}if(2&m){const l=c.$implicit,_=s.oxw(),O=s.MAs(7);s.ekj("active",l.active)("disabled",_.disabled&&!l.active),s.xp6(2),s.Q6J("ngTemplateOutlet",_.customPageTemplate||O)("ngTemplateOutletContext",s.kEZ(6,Gt,_.disabled,l,_.page))}}function In(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"li",16)(1,"a",12),s.NdJ("click",function(O){s.CHM(l);const G=s.oxw();return G.selectPage(G.page+1,O)}),s.GkF(2,13),s.qZA()()}if(2&m){const l=s.oxw(),_=s.MAs(9);s.ekj("disabled",l.noNext()||l.disabled),s.xp6(2),s.Q6J("ngTemplateOutlet",l.customNextTemplate||_)("ngTemplateOutletContext",s.WLB(4,Me,l.noNext()||l.disabled,l.page))}}function xr(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"li",17)(1,"a",12),s.NdJ("click",function(O){s.CHM(l);const G=s.oxw();return G.selectPage(G.totalPages,O)}),s.GkF(2,13),s.qZA()()}if(2&m){const l=s.oxw(),_=s.MAs(15);s.ekj("disabled",l.noNext()||l.disabled),s.xp6(2),s.Q6J("ngTemplateOutlet",l.customLastTemplate||_)("ngTemplateOutletContext",s.WLB(4,Me,l.noNext()||l.disabled,l.page))}}function Sn(m,c){1&m&&s._uU(0),2&m&&s.Oqu(c.$implicit.text)}function $a(m,c){if(1&m&&s._uU(0),2&m){const l=s.oxw();s.Oqu(l.getText("next"))}}function nu(m,c){if(1&m&&s._uU(0),2&m){const l=s.oxw();s.Oqu(l.getText("previous"))}}function Ui(m,c){if(1&m&&s._uU(0),2&m){const l=s.oxw();s.Oqu(l.getText("first"))}}function ma(m,c){if(1&m&&s._uU(0),2&m){const l=s.oxw();s.Oqu(l.getText("last"))}}let Ga=(()=>{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(l){return new(l||m)},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const Yo={provide:Ze.JU,useExisting:(0,s.Gpc)(()=>Gs),multi:!0};let Gs=(()=>{class m{constructor(l,_,O){this.elementRef=l,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 s.vpe,this.pageChanged=new s.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=15,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=l,this.config||this.configureOptions(Object.assign({},_.main,_.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(l){this._itemsPerPage=l,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(l){this._totalItems=l,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(l){this._totalPages=l,this.numPages.emit(l),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(l){const _=this._page;this._page=l>this.totalPages?this.totalPages:l||1,this.changeDetection.markForCheck(),!(_===this._page||typeof _>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(l){this.config=Object.assign({},l)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(l){this.page=l,this.pages=this.getPages(this.page,this.totalPages)}getText(l){return this[`${l}Text`]||this.config[`${l}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}selectPage(l,_){_&&_.preventDefault(),this.disabled||(_&&_.target&&_.target.blur(),this.writeValue(l),this.onChange(this.page))}makePage(l,_,O){return{text:_,number:l,active:O}}getPages(l,_){const O=[];let G=1,ce=_;const he=typeof this.maxSize<"u"&&this.maxSize<_;he&&this.maxSize&&(this.rotate?(G=Math.max(l-Math.floor(this.maxSize/2),1),ce=G+this.maxSize-1,ce>_&&(ce=_,G=ce-this.maxSize+1)):(G=(Math.ceil(l/this.maxSize)-1)*this.maxSize+1,ce=Math.min(G+this.maxSize-1,_)));for(let Se=G;Se<=ce;Se++){const Je=this.makePage(Se,Se.toString(),Se===l);O.push(Je)}if(he&&!this.rotate){if(G>1){const Se=this.makePage(G-1,"...",!1);O.unshift(Se)}if(ce<_){const Se=this.makePage(ce+1,"...",!1);O.push(Se)}}return O}calculateTotalPages(){const l=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(l||0,1)}}return m.\u0275fac=function(l){return new(l||m)(s.Y36(s.SBq),s.Y36(Ga),s.Y36(s.sBO))},m.\u0275cmp=s.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:[s._Bn([Yo])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(l,_){1&l&&(s.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),s.NdJ("click",function(G){return _.selectPage(_.page-1,G)}),s._uU(3),s.qZA()(),s.TgZ(4,"li",1)(5,"a",2),s.NdJ("click",function(G){return _.selectPage(_.page+1,G)}),s._uU(6),s.qZA()()()),2&l&&(s.xp6(1),s.Tol(_.pageBtnClass),s.ekj("disabled",_.noPrevious())("previous",_.align),s.Q6J("ngClass",s.WLB(18,hl,_.align,_.align)),s.xp6(2),s.Oqu(_.getText("previous")),s.xp6(1),s.Tol(_.pageBtnClass),s.ekj("disabled",_.noNext())("next",_.align),s.Q6J("ngClass",s.WLB(21,Wo,_.align,_.align)),s.xp6(2),s.Oqu(_.getText("next")))},directives:[h.mk],encapsulation:2}),m})();const zs={provide:Ze.JU,useExisting:(0,s.Gpc)(()=>ir),multi:!0};let ir=(()=>{class m{constructor(l,_,O){this.elementRef=l,this.changeDetection=O,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new s.vpe,this.pageChanged=new s.vpe,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=10,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=l,this.config||this.configureOptions(_.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(l){this._itemsPerPage=l,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(l){this._totalItems=l,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(l){this._totalPages=l,this.numPages.emit(l),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(l){const _=this._page;this._page=l>this.totalPages?this.totalPages:l||1,this.changeDetection.markForCheck(),!(_===this._page||typeof _>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(l){this.config=Object.assign({},l)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(l){this.page=l,this.pages=this.getPages(this.page,this.totalPages)}getText(l){return this[`${l}Text`]||this.config[`${l}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}selectPage(l,_){_&&_.preventDefault(),this.disabled||(_&&_.target&&_.target.blur(),this.writeValue(l),this.onChange(this.page))}makePage(l,_,O){return{text:_,number:l,active:O}}getPages(l,_){const O=[];let G=1,ce=_;const he=typeof this.maxSize<"u"&&this.maxSize<_;he&&this.maxSize&&(this.rotate?(G=Math.max(l-Math.floor(this.maxSize/2),1),ce=G+this.maxSize-1,ce>_&&(ce=_,G=ce-this.maxSize+1)):(G=(Math.ceil(l/this.maxSize)-1)*this.maxSize+1,ce=Math.min(G+this.maxSize-1,_)));for(let Se=G;Se<=ce;Se++){const Je=this.makePage(Se,Se.toString(),Se===l);O.push(Je)}if(he&&!this.rotate){if(G>1){const Se=this.makePage(G-1,"...",!1);O.unshift(Se)}if(ce<_){const Se=this.makePage(ce+1,"...",!1);O.push(Se)}}return O}calculateTotalPages(){const l=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(l||0,1)}}return m.\u0275fac=function(l){return new(l||m)(s.Y36(s.SBq),s.Y36(Ga),s.Y36(s.sBO))},m.\u0275cmp=s.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:[s._Bn([zs])],decls:16,vars:6,consts:[[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],["defaultPageTemplate",""],["defaultNextTemplate",""],["defaultPreviousTemplate",""],["defaultFirstTemplate",""],["defaultLastTemplate",""],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(l,_){1&l&&(s.TgZ(0,"ul",0),s.YNc(1,et,3,7,"li",1),s.YNc(2,We,3,7,"li",2),s.YNc(3,Rn,3,10,"li",3),s.YNc(4,In,3,7,"li",4),s.YNc(5,xr,3,7,"li",5),s.qZA(),s.YNc(6,Sn,1,1,"ng-template",null,6,s.W1O),s.YNc(8,$a,1,1,"ng-template",null,7,s.W1O),s.YNc(10,nu,1,1,"ng-template",null,8,s.W1O),s.YNc(12,Ui,1,1,"ng-template",null,9,s.W1O),s.YNc(14,ma,1,1,"ng-template",null,10,s.W1O)),2&l&&(s.Q6J("ngClass",_.classMap),s.xp6(1),s.Q6J("ngIf",_.boundaryLinks),s.xp6(1),s.Q6J("ngIf",_.directionLinks),s.xp6(1),s.Q6J("ngForOf",_.pages),s.xp6(1),s.Q6J("ngIf",_.directionLinks),s.xp6(1),s.Q6J("ngIf",_.boundaryLinks))},directives:[h.mk,h.O5,h.tP,h.sg],encapsulation:2}),m})(),_a=(()=>{class m{static forRoot(){return{ngModule:m,providers:[]}}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez]]}),m})();function za(m,c){if(1&m&&(s.TgZ(0,"span",7),s.Hsn(1),s.qZA()),2&m){const l=s.oxw(2);s.uIk("id",l.infoBlockID)}}function ya(m,c){if(1&m){const l=s.EpF();s.ynx(0),s.TgZ(1,"a",3),s.NdJ("click",function(){return s.CHM(l),s.oxw().toggleInfoBlock()}),s._UZ(2,"span",4)(3,"span",5),s.qZA(),s.YNc(4,za,2,1,"span",6),s.BQk()}if(2&m){const l=s.oxw();s.xp6(1),s.uIk("id",l.infoIconID)("title",l.toggleActionTitle),s.xp6(2),s.Q6J("innerHtml",l.toggleActionTitle,s.oJD),s.xp6(1),s.Q6J("ngIf",l.showInfoBlock)}}const Ds=["*"];function Zo(m,c){if(1&m&&s._uU(0),2&m){const l=s.oxw();s.hij(" ",l.locale.maketext("Loading \u2026"),"\n")}}function pl(m,c){1&m&&s.GkF(0)}const va=["header"];function Ei(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"button",4),s.NdJ("click",function(){return s.CHM(l),s.oxw().closeClicked()}),s._UZ(1,"i",5),s.qZA()}if(2&m){const l=s.oxw();s.uIk("id",l.buttonID)}}const Mo=[[["","callout-heading",""]],"*"],gl=["[callout-heading]","*"];function Ca(m,c){if(1&m&&(s.TgZ(0,"li",3),s._UZ(1,"i",4)(2,"span",5),s.qZA()),2&m){const l=c.$implicit;s.uIk("id",l.id),s.xp6(2),s.Q6J("innerHtml",l.message,s.oJD)}}function Wa(m,c){if(1&m&&(s.TgZ(0,"ul",1),s.YNc(1,Ca,3,2,"li",2),s.qZA()),2&m){const l=s.oxw();s.xp6(1),s.Q6J("ngForOf",l.getFieldErrors())}}const ml=function(m){return{visibility:m}};function Di(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(l),s.oxw(2).fireClose()}),s.TgZ(1,"span"),s._uU(2,"\xd7"),s.qZA()()}if(2&m){const l=s.oxw(2);s.Q6J("id",l.closeButtonID)("title",l.closeLabel),s.uIk("aria-label",l.closeLabel),s.xp6(1),s.uIk("aria-hidden",!0)}}function Ss(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(l),s.oxw(2).fireToggleMore()}),s._uU(1),s.qZA()}if(2&m){const l=s.oxw(2);s.Q6J("id",l.moreButtonID),s.xp6(1),s.hij(" ",l.moreLabel," ")}}function fo(m,c){if(1&m&&(s.TgZ(0,"strong",11),s._uU(1),s.qZA()),2&m){const l=s.oxw(2);s.xp6(1),s.Oqu(l.label)}}function Ts(m,c){if(1&m&&(s.TgZ(0,"span",12),s._uU(1),s.qZA()),2&m){const l=s.oxw(2);s.Q6J("id",l.textMessageID),s.xp6(1),s.hij(" ",l.message," ")}}function Ya(m,c){if(1&m&&(s.TgZ(0,"li")(1,"span",12),s._uU(2),s.qZA()()),2&m){const l=c.$implicit,_=c.index,O=s.oxw(3);s.xp6(1),s.s9C("id",O.textListID+"_"+_),s.xp6(1),s.hij(" ",l," ")}}function Ws(m,c){if(1&m&&(s.TgZ(0,"ul",13),s.YNc(1,Ya,3,2,"li",14),s.qZA()),2&m){const l=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",l.alert.list)}}function yl(m,c){if(1&m&&(s.TgZ(0,"div",1),s.YNc(1,Di,3,4,"button",2),s.YNc(2,Ss,2,2,"button",3),s._UZ(3,"span"),s.TgZ(4,"div",4),s.YNc(5,fo,2,1,"strong",5),s.TgZ(6,"span",6),s.YNc(7,Ts,2,2,"span",7),s.qZA(),s.YNc(8,Ws,2,1,"ul",8),s.qZA()()),2&m){const l=s.oxw();s.Gre("alert alert-",l.type," ng-hide"),s.Q6J("@openClose",l.animationClass),s.xp6(1),s.Q6J("ngIf",l.showCloseButton),s.xp6(1),s.Q6J("ngIf",l.showMoreButton),s.xp6(1),s.Tol(l.icon),s.uIk("aria-hidden",!0),s.xp6(2),s.Q6J("ngIf",l.hasLabel),s.xp6(2),s.Q6J("ngIf",l.message),s.xp6(1),s.Q6J("ngIf",l.alert&&l.alert.list&&l.alert.list.length)}}function iu(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"div",6)(1,"cp-alert",7),s.NdJ("close",function(){const G=s.CHM(l).$implicit;return s.oxw().alertClosed(G)}),s.qZA()()}if(2&m){const l=c.$implicit;s.xp6(1),s.Q6J("alert",l)}}function zr(m,c){if(1&m&&s._UZ(0,"div",8),2&m){const l=s.oxw();s.Q6J("ngClass",l.positionClasses)}}const Wr=["searchInput"];function ba(m,c){if(1&m&&(s.TgZ(0,"span",6),s._uU(1),s.qZA()),2&m){const l=s.oxw();s.xp6(1),s.Oqu(l.clearIconLabel)}}function Zs(m,c){if(1&m){const l=s.EpF();s.TgZ(0,"button",3),s.NdJ("click",function(){const G=s.CHM(l).$implicit;return s.oxw().onOptionClicked(G)}),s.qZA()}if(2&m){const l=c.$implicit,_=s.oxw();s.Q6J("disabled",_.disabled)("selected",_.isOptionSelected(l))("value",l)}}function ea(m,c){1&m&&s._uU(0," >\n")}function ho(m,c){1&m&&s._uU(0," <\n")}function ta(m,c){1&m&&s._uU(0," >>\n")}function X(m,c){1&m&&s._uU(0," <<\n")}class Yr{constructor(c,l,_=Yr.defaultOptions){this._message=c,this._type=l;const O=_.id?_.id:Math.random().toString(36).substr(2,9);this._id=O,this._closable=_.isCloseable??!0,this._autoClosePeriod=_.autoClosePeriod,this._list=_.list,this._showMore=_.showMore||Yr.defaultShowMore,this._ts=_.createdOn??Date.now()}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(c){const{message:l,type:_,...O}=c;return new Yr(l,_,O)}}Yr.defaultShowMore=!1,Yr.defaultAutoClosePeriod=0,Yr.defaultOptions={autoClosePeriod:Yr.defaultAutoClosePeriod,list:[]};var v=(()=>{return(m=v||(v={}))[m.error=0]="error",m[m.success=1]="success",m[m.warning=2]="warning",m[m.information=3]="information",v;var m})(),g=(()=>{return(m=g||(g={})).add="add",m.remove="remove",m.clear="clear",g;var m})();let d=(()=>{class m{constructor(){this._alertEventsSource=new L.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(l,_=m.defaultGroup){this._alerts[_]||(this._alerts[_]=[]);const O=l instanceof Yr?l:Yr.makeAlert(l);if(this.list(_).push(O),this._alertEventsSource.next({type:g.add,group:_,alert:O}),(0,s.X6Q)())switch(O.type){case v.error:console.error(O.message,O);break;case v.warning:console.warn(O.message,O);break;default:console.log(O.message,O)}return O}success(l,_=m.defaultGroup){return this.add(new Yr(l,v.success,m.defaultSuccessOptions),_)}error(l,_=m.defaultGroup){return this.add({message:l,type:v.error},_)}info(l,_=m.defaultGroup){return this.add({message:l,type:v.information},_)}warn(l,_=m.defaultGroup){return this.add({message:l,type:v.warning},_)}removeById(l,_=m.defaultGroup){const O=this.list(_),G=O.findIndex(ce=>ce.id===l,0);if(-1!==G){const ce=O[G];O.splice(G,1),this._alertEventsSource.next({type:g.remove,group:_,alert:ce})}}clear(l=m.defaultGroup){this._alerts[l]=[],this._alertEventsSource.next({type:g.clear,group:l})}list(l=m.defaultGroup){return null==this._alerts[l]&&(this._alerts[l]=[]),this._alerts[l]}}return m.defaultGroup="__DEFAULT__",m.defaultSuccessOptions={autoClosePeriod:1e4},m.\u0275fac=function(l){return new(l||m)},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();var x=(()=>{return(m=x||(x={})).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",x;var m})();const oe=x.topRight,ye=x.topLeft;let $r=(()=>{class m{constructor(l){this.locale=l,this.showInfoToggle=!0,this.toggleActionTitleExpand=l.maketext("Expand"),this.toggleActionTitleCollapse=l.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(l){this.toggleActionTitle=l?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}}return m.\u0275fac=function(l){return new(l||m)(s.Y36(rt.g))},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:Ds,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(l,_){1&l&&(s.F$t(),s.TgZ(0,"div",0),s._UZ(1,"label",1),s._uU(2," \xa0 "),s.YNc(3,ya,5,4,"ng-container",2),s.qZA()),2&l&&(s.xp6(1),s.Q6J("innerHtml",_.labelText,s.oJD),s.uIk("id",_.labelID)("for",_.for),s.xp6(2),s.Q6J("ngIf",_.showInfoToggle))},directives:[h.O5],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]}),m})(),Ea=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez,He.m]]}),m})(),si=(()=>{class m{constructor(l){this.locale=l,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}}return m.\u0275fac=function(l){return new(l||m)(s.Y36(rt.g))},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(l,_){if(1&l&&(s.YNc(0,Zo,1,1,"ng-template",null,0,s.W1O),s.TgZ(2,"div",1),s._UZ(3,"i",2),s.TgZ(4,"div",3),s.YNc(5,pl,1,0,"ng-container",4),s.qZA()()),2&l){const O=s.MAs(1);s.xp6(2),s.uIk("id",_.containerId),s.xp6(1),s.uIk("id",_.spinnerId),s.xp6(1),s.uIk("id",_.messageId),s.xp6(1),s.Q6J("ngTemplateOutlet",_.loadingTemplate?_.loadingTemplate:O)}},directives:[h.tP],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']}),m})(),Fu=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez,He.m]]}),m})();var vl=(()=>{return(m=vl||(vl={})).warnings="warnings",m.danger="danger",m.info="info",m.default="info",vl;var m})();let us=(()=>{class m{constructor(){this.calloutType=vl.default,this.closeable=!1,this.close=new s.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(l){return new(l||m)},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-callout"]],viewQuery:function(l,_){if(1&l&&s.Gf(va,5),2&l){let O;s.iGM(O=s.CRH())&&(_.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(l,_){1&l&&(s.F$t(Mo),s.TgZ(0,"div",0),s.YNc(1,Ei,2,1,"button",1),s.TgZ(2,"div",2,3),s.Hsn(4),s.qZA(),s.TgZ(5,"div"),s.Hsn(6,1),s.qZA()()),2&l&&(s.Gre("callout callout-",_.calloutType,""),s.uIk("aria-label",_.calloutType),s.xp6(1),s.Q6J("ngIf",_.closeable),s.xp6(1),s.uIk("id",_.headingID),s.xp6(3),s.uIk("id",_.contentID))},directives:[h.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})(),Qs=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez]]}),m})(),ku=(()=>{class m{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map(l=>(this.control.errors[l].id=`${this.id}_${l}`,this.control.errors[l].key=l,this.control.errors[l])):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(l,_){1&l&&s.YNc(0,Wa,2,1,"ul",0),2&l&&s.Q6J("ngIf",_.hasErrors()&&_.hasChanged())},directives:[h.O5,h.sg],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%] .validation-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']}),m})(),Ks=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez]]}),m})();var xs=(()=>{return(m=xs||(xs={})).loading="loading",m.disabled="disabled",m.enabled="enabled",xs;var m})();let Lu=(()=>{class m{constructor(){this.click=new s.vpe,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(l){switch(l){case xs.enabled:this.setToEnabled();break;case xs.loading:this.setToLoading();break;case xs.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(l){l.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:Ds,decls:3,vars:8,consts:[[1,"btn","action-button",3,"id","type","ngClass","disabled","click"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(l,_){1&l&&(s.F$t(),s.TgZ(0,"button",0),s.NdJ("click",function(G){return _.onClick(G)}),s._UZ(1,"i",1),s.Hsn(2),s.qZA()),2&l&&(s.MGl("id","",_.id,"-button"),s.s9C("type",_.type),s.Q6J("ngClass",_.buttonClass)("disabled",_.isDisabled),s.xp6(1),s.MGl("id","",_.id,"-spinner"),s.Q6J("ngStyle",s.VKq(6,ml,_.showSpinner?"visible":"hidden")))},directives:[h.mk,h.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(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez]]}),m})();var Zr=(()=>{return(m=Zr||(Zr={})).new="new",m.closed="closed",m.open="open",Zr;var m})();let qd=(()=>{class m{constructor(l){this.locale=l,this.close=new s.vpe,this.toggleMore=new s.vpe,this.animationClass=Zr.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 v.success:this.label=this.locale.maketext("Success:");break;case v.error:this.label=this.locale.maketext("Error:");break;case v.information:this.label=this.locale.maketext("Information:");break;case v.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=Zr.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case v.error:return"type-icon fas fa-times-circle";case v.warning:return"type-icon fas fa-exclamation-triangle";case v.information:return"type-icon fas fa-info-circle";case v.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case v.error:return"danger";case v.warning:return"warning";case v.information:return"info";case v.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=Zr.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const l=this.label;return null!==l&&""!==l}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}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(...l){return l.join("_")}}return m.\u0275fac=function(l){return new(l||m)(s.Y36(rt.g))},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"id","title","click"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"id","click"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(l,_){1&l&&s.YNc(0,yl,9,13,"div",0),2&l&&s.Q6J("ngIf",!_.isClosed)},directives:[h.O5,h.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)(Zr.new,(0,Ce.oB)({opacity:0})),(0,Ce.SB)(Zr.open,(0,Ce.oB)({opacity:1})),(0,Ce.SB)(Zr.closed,(0,Ce.oB)({opacity:0,transform:"translateX(25%)"})),(0,Ce.eR)(`${Zr.open} => ${Zr.closed}`,[(0,Ce.jt)("0.25s")]),(0,Ce.eR)(`${Zr.new} => ${Zr.open}`,[(0,Ce.jt)("0.25s")]),(0,Ce.eR)(`${Zr.closed} => ${Zr.open}`,[(0,Ce.jt)("0.25s")])])]}}),m})(),Vu=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez,Do,He.m]]}),m})(),au=(()=>{class m{constructor(l){this.locale=l}get position(){return this.locale.isLtr?oe:ye}}return m.\u0275fac=function(l){return new(l||m)(s.LFG(rt.g))},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),Xa=(()=>{class m{constructor(l,_){this._alertService=l,this._positionService=_,this.alerts=this.alerts?this.alerts:[]}set position(l){this._position=((m,c=x.topRight)=>{if(m){const l=(m=>{const c=Object.keys(x),_=Object.values(x).indexOf(m);return-1!==_?c[_]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(m);if(l)return x[l]}return c})(l)}get position(){return this._position.toString()}alertClosed(l){this._alertService.removeById(l.id,this.group)}ngOnInit(){this.group||(this.group=d.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(_=>this._addAlert(_)),this._groupEvents=this._alertService.alertEvents.pipe((0,Vt.h)(_=>_.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(l){return this.alerts.findIndex(_=>_.id===l)}_addAlert(l){return this.alerts.push(l),this.alerts}_removeAlert(l){const _=this._findAlertIndexById(l.id);return _>-1&&(this.alerts.splice(_,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(l){switch(l.type){case g.add:this._addAlert(l.alert);break;case g.clear:this._clearAlerts();break;case g.remove:this._removeAlert(l.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?m.positionPrefix+x.inline.toString():m.positionPrefix+this.position.toString()}}return m.positionPrefix="position-",m.\u0275fac=function(l){return new(l||m)(s.Y36(d),s.Y36(au))},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[[1,"alert-list-container",3,"ngClass"],["container",""],[1,"alert-list"],["list",""],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"alert","close"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(l,_){1&l&&(s.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),s.YNc(5,iu,2,1,"div",4),s.qZA()(),s.YNc(6,zr,1,1,"div",5),s.qZA()),2&l&&(s.xp6(1),s.Q6J("ngClass",_.positionClasses),s.xp6(4),s.Q6J("ngForOf",_.alerts),s.xp6(1),s.Q6J("ngIf",_.hasAlerts))},directives:[qd,h.mk,h.sg,h.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})(),Cl=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez,Vu]]}),m})(),Ec=(()=>{class m{constructor(l){this.locale=l,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new s.vpe,this._searchSubject=new L.xQ,this._unsubscribe=new L.xQ,delete this.label,delete this.placeholder}set value(l){this._value=l,this._searchSubject.next(l)}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 I(m){return c=>c.lift(new B(m))}(this._unsubscribe),function Y(m,c=k.P){return l=>l.lift(new q(m,c))}(this.debounce),function be(m,c){return l=>l.lift(new Fe(m,c))}()).subscribe(l=>{this.valueChange.emit(l)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return m.\u0275fac=function(l){return new(l||m)(s.Y36(rt.g))},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-search"]],viewQuery:function(l,_){if(1&l&&s.Gf(Wr,5),2&l){let O;s.iGM(O=s.CRH())&&(_.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(l,_){1&l&&(s.TgZ(0,"div",0)(1,"input",1,2),s.NdJ("ngModelChange",function(G){return _.value=G})("keyup.esc",function(){return _.clearValue()}),s.qZA(),s.TgZ(3,"span",3),s.NdJ("click",function(){return _.clearValue()}),s._UZ(4,"span",4),s.YNc(5,ba,2,1,"span",5),s.qZA()()),2&l&&(s.xp6(1),s.MGl("id","",_.id,"-search-input"),s.Q6J("ngModel",_.value)("disabled",_.disabled)("placeholder",_.placeholder)("title",_.label),s.uIk("aria-label",_.label)("list",_.list),s.xp6(2),s.MGl("id","",_.id,"-search-input-addon"),s.xp6(1),s.MGl("id","",_.id,"-search-input-icon"),s.Q6J("ngClass",(null==_.value?null:_.value.length)>0?"fas fa-times":"fas fa-search"),s.xp6(1),s.Q6J("ngIf",(null==_.value?null:_.value.length)>0))},directives:[Ze.Fj,Ze.JJ,Ze.On,h.mk,h.O5],styles:[""],changeDetection:0}),m})(),Bu=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez,Ze.u5,He.m]]}),m})(),El=(()=>{class m{constructor(l,_=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(_),this.selectorName=l.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(l=>{if(!this[l])throw new Error(`"${l}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}}return m.\u0275fac=function(l){s.$Z()},m.\u0275dir=s.lG2({type:m,inputs:{id:"id"}}),m})();var nl=(()=>{return(m=nl||(nl={}))[m.all=-1]="all",nl;var m})();const po="pageSizeOption";let Hu=(()=>{class m{constructor(l){this.locale=l,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===nl.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${po}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${po}_${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(l){return new(l||m)(s.Y36(rt.g))},m.\u0275dir=s.lG2({type:m,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(l,_){2&l&&(s.Ikx("id",_.id)("innerText",_.label),s.uIk("aria-label",_.description)("aria-pressed",_.ariaPressed),s.Tol(_.cssClasses))},inputs:{value:"value",selected:"selected"},features:[s.TTD]}),m})(),lu=(()=>{class m extends El{constructor(l,_){super(l),this.locale=_,this.selectedPageSize=m.defaultPageSize,this.pageSizeOptions=m.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new s.vpe,this.displayedPageSizeOptions=[]}isOptionSelected(l){return l===this.selectedPageSize}onOptionClicked(l){this._dispatchChange(l)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const l=this.pageSizeOptions.slice(0).sort((O,G)=>O-G);this.showOptionAll&&l.push(nl.all),-1!==l.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=l:this._dispatchChange(l[0])}_dispatchChange(l){this.optionSelected.emit(l)}}return m.defaultPageSizeOptions=[20,50,100,500],m.defaultPageSize=20,m.\u0275fac=function(l){return new(l||m)(s.Y36(s.SBq),s.Y36(rt.g))},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[s.qOj,s.TTD],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click"]],template:function(l,_){1&l&&(s.TgZ(0,"div")(1,"div",0),s._uU(2),s.qZA(),s.TgZ(3,"div",1),s.YNc(4,Zs,1,3,"button",2),s.qZA()()),2&l&&(s.xp6(2),s.hij(" ",_.locale.maketext("Entries Per Page")," "),s.xp6(2),s.Q6J("ngForOf",_.displayedPageSizeOptions))},directives:[h.sg,Hu],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]}),m})(),hr=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez,He.m]]}),m})(),Dl=(()=>{class m extends El{constructor(l,_){super(l),this.locale=_,this.maxPagesVisible=m.defaultMaxPagesVisible,this.selectedPage=m.firstPageIndex,this.pageSize=lu.defaultPageSize,this.disabled=!1,this.pageChanged=new s.vpe}onPageChanged(l){this._dispatchChange(l)}onNumPagesChanged(l){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(l){const _=this.pageSize*(l-1),O=Math.min(_+this.pageSize,this.totalItems);this.pageChanged.emit({page:l,firstItem:_,lastItem:O}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",_+1,O,this.totalItems)}}return m.defaultMaxPagesVisible=5,m.firstPageIndex=1,m.\u0275fac=function(l){return new(l||m)(s.Y36(s.SBq),s.Y36(rt.g))},m.\u0275cmp=s.Xpm({type:m,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[s.qOj],decls:12,vars:13,consts:[[3,"id"],[3,"id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate","ngModelChange","pageChanged","numPages"],[1,"pagination-item-details","text-small","text-right","flip"],["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""]],template:function(l,_){if(1&l&&(s.TgZ(0,"div",0)(1,"pagination",1),s.NdJ("ngModelChange",function(G){return _.selectedPage=G})("pageChanged",function(G){return _.onPageChanged(G.page)})("numPages",function(G){return _.onNumPagesChanged(G)}),s.qZA(),s.TgZ(2,"p",2),s._uU(3),s.qZA()(),s.YNc(4,ea,1,0,"ng-template",null,3,s.W1O),s.YNc(6,ho,1,0,"ng-template",null,4,s.W1O),s.YNc(8,ta,1,0,"ng-template",null,5,s.W1O),s.YNc(10,X,1,0,"ng-template",null,6,s.W1O)),2&l){const O=s.MAs(5),G=s.MAs(7),ce=s.MAs(9),he=s.MAs(11);s.Q6J("id",_.id),s.xp6(1),s.MGl("id","",_.id,"_ngx_paginator"),s.Q6J("totalItems",_.totalItems)("maxSize",_.maxPagesVisible)("disabled",_.disabled)("itemsPerPage",_.pageSize)("ngModel",_.selectedPage)("boundaryLinks",!0)("customFirstTemplate",he)("customLastTemplate",ce)("customPreviousTemplate",G)("customNextTemplate",O),s.xp6(2),s.hij(" ",_.itemsDetails," ")}},directives:[ir,Ze.JJ,Ze.On],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]}),m})(),ju=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[[h.ez,Ze.u5,_a.forRoot(),He.m]]}),m})()},835:(Z,N,y)=>{"use strict";y.d(N,{Fq:()=>ee,lz:()=>I,pj:()=>U});var s=y(5062),h=y(4719);const L={provide:h.JU,useExisting:(0,s.Gpc)(()=>V),multi:!0};let V=(()=>{class k{constructor(){this.btnCheckboxTrue=!0,this.btnCheckboxFalse=!1,this.state=!1,this.isDisabled=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype}onClick(){this.isDisabled||(this.toggle(!this.state),this.onChange(this.value))}ngOnInit(){this.toggle(this.trueValue===this.value)}get trueValue(){return!(typeof this.btnCheckboxTrue<"u")||this.btnCheckboxTrue}get falseValue(){return typeof this.btnCheckboxFalse<"u"&&this.btnCheckboxFalse}toggle(q){this.state=q,this.value=this.state?this.trueValue:this.falseValue}writeValue(q){this.state=this.trueValue===q,this.value=q?this.trueValue:this.falseValue}setDisabledState(q){this.isDisabled=q}registerOnChange(q){this.onChange=q}registerOnTouched(q){this.onTouched=q}}return k.\u0275fac=function(q){return new(q||k)},k.\u0275dir=s.lG2({type:k,selectors:[["","btnCheckbox",""]],hostVars:3,hostBindings:function(q,le){1&q&&s.NdJ("click",function(){return le.onClick()}),2&q&&(s.uIk("aria-pressed",le.state),s.ekj("active",le.state))},inputs:{btnCheckboxTrue:"btnCheckboxTrue",btnCheckboxFalse:"btnCheckboxFalse"},features:[s._Bn([L])]}),k})();const A={provide:h.JU,useExisting:(0,s.Gpc)(()=>I),multi:!0};let I=(()=>{class k{constructor(q,le,De,be){this.el=q,this.cdr=le,this.renderer=De,this.group=be,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.uncheckable=!1,this.role="radio",this._disabled=!1,this._hasFocus=!1}get value(){return this.group?this.group.value:this._value}set value(q){this.group?this.group.value=q:(this._value=q,this._onChange(q))}get disabled(){return this._disabled}set disabled(q){this.setDisabledState(q)}get controlOrGroupDisabled(){return!!(this.disabled||this.group&&this.group.disabled)||void 0}get hasDisabledClass(){return this.controlOrGroupDisabled&&!this.isActive}get isActive(){return this.btnRadio===this.value}get tabindex(){if(!this.controlOrGroupDisabled)return this.isActive||null==this.group?0:-1}get hasFocus(){return this._hasFocus}toggleIfAllowed(){!this.canToggle()||(this.value=this.uncheckable&&this.btnRadio===this.value?void 0:this.btnRadio)}onSpacePressed(q){this.toggleIfAllowed(),q.preventDefault()}focus(){this.el.nativeElement.focus()}onFocus(){this._hasFocus=!0}onBlur(){this._hasFocus=!1,this.onTouched()}canToggle(){return!this.controlOrGroupDisabled&&(this.uncheckable||this.btnRadio!==this.value)}ngOnChanges(q){"uncheckable"in q&&(this.uncheckable=!1!==this.uncheckable&&typeof this.uncheckable<"u")}_onChange(q){this.group?this.group.value=q:(this.onTouched(),this.onChange(q))}writeValue(q){this.value=q,this.cdr.markForCheck()}registerOnChange(q){this.onChange=q}registerOnTouched(q){this.onTouched=q}setDisabledState(q){this._disabled=q,q?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")}}return k.\u0275fac=function(q){return new(q||k)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36((0,s.Gpc)(()=>U),8))},k.\u0275dir=s.lG2({type:k,selectors:[["","btnRadio",""]],hostVars:8,hostBindings:function(q,le){1&q&&s.NdJ("click",function(){return le.toggleIfAllowed()})("keydown.space",function(be){return le.onSpacePressed(be)})("focus",function(){return le.onFocus()})("blur",function(){return le.onBlur()}),2&q&&(s.uIk("aria-disabled",le.controlOrGroupDisabled)("aria-checked",le.isActive)("role",le.role)("tabindex",le.tabindex),s.ekj("disabled",le.hasDisabledClass)("active",le.isActive))},inputs:{btnRadio:"btnRadio",uncheckable:"uncheckable",value:"value",disabled:"disabled"},features:[s._Bn([A]),s.TTD]}),k})();const B={provide:h.JU,useExisting:(0,s.Gpc)(()=>U),multi:!0};let U=(()=>{class k{constructor(q){this.cdr=q,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.role="radiogroup",this._disabled=!1}get value(){return this._value}set value(q){this._value=q,this.onChange(q)}get disabled(){return this._disabled}get tabindex(){return this._disabled?null:0}writeValue(q){this._value=q,this.cdr.markForCheck()}registerOnChange(q){this.onChange=q}registerOnTouched(q){this.onTouched=q}setDisabledState(q){this.radioButtons&&(this._disabled=q,this.radioButtons.forEach(le=>{le.setDisabledState(q)}),this.cdr.markForCheck())}onFocus(){if(this._disabled)return;const q=this.getActiveOrFocusedRadio();if(q)q.focus();else if(this.radioButtons){const le=this.radioButtons.find(De=>!De.disabled);le&&le.focus()}}onBlur(){this.onTouched&&this.onTouched()}selectNext(q){this.selectInDirection("next"),q.preventDefault()}selectPrevious(q){this.selectInDirection("previous"),q.preventDefault()}selectInDirection(q){if(this._disabled)return;function le(be,Fe){let Vt=(be+("next"===q?1:-1))%Fe.length;return Vt<0&&(Vt=Fe.length-1),Vt}const De=this.getActiveOrFocusedRadio();if(De&&this.radioButtons){const be=this.radioButtons.toArray(),Fe=be.indexOf(De);for(let Ve=le(Fe,be);Ve!==Fe;Ve=le(Ve,be))if(be[Ve].canToggle()){be[Ve].toggleIfAllowed(),be[Ve].focus();break}}}getActiveOrFocusedRadio(){if(this.radioButtons)return this.radioButtons.find(q=>q.isActive)||this.radioButtons.find(q=>q.hasFocus)}}return k.\u0275fac=function(q){return new(q||k)(s.Y36(s.sBO))},k.\u0275dir=s.lG2({type:k,selectors:[["","btnRadioGroup",""]],contentQueries:function(q,le,De){if(1&q&&s.Suo(De,I,4),2&q){let be;s.iGM(be=s.CRH())&&(le.radioButtons=be)}},hostVars:2,hostBindings:function(q,le){1&q&&s.NdJ("focus",function(){return le.onFocus()})("blur",function(){return le.onBlur()})("keydown.ArrowRight",function(be){return le.selectNext(be)})("keydown.ArrowDown",function(be){return le.selectNext(be)})("keydown.ArrowLeft",function(be){return le.selectPrevious(be)})("keydown.ArrowUp",function(be){return le.selectPrevious(be)}),2&q&&s.uIk("role",le.role)("tabindex",le.tabindex)},features:[s._Bn([B])]}),k})(),ee=(()=>{class k{static forRoot(){return{ngModule:k,providers:[]}}}return k.\u0275fac=function(q){return new(q||k)},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({}),k})()},6775:(Z,N,y)=>{"use strict";y.d(N,{TO:()=>yr,Hz:()=>gi,mr:()=>Vr,Mq:()=>Gn});var s=y(5062),h=y(2198);class L{constructor(K,z){this.open=K,this.close=z||K}isManual(){return"manual"===this.open||"manual"===this.close}}const V={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const k=typeof window<"u"&&window||{};let wt;function Et(){if(typeof k.document>"u")return"bs4";const R=k.document.createElement("span");R.innerText="testing bs version",R.classList.add("d-none"),R.classList.add("pl-1"),k.document.head.appendChild(R);const K=R.getBoundingClientRect(),z=k.getComputedStyle(R).paddingLeft;return!K||K&&0!==K.top?(k.document.head.removeChild(R),"bs3"):z&&parseFloat(z)?(k.document.head.removeChild(R),"bs4"):(k.document.head.removeChild(R),"bs5")}function Kt(){return typeof k>"u"||(typeof k.__theme>"u"?(wt||(wt=Et()),"bs3"===wt):"bs3"===k.__theme)}function qt(){return!Kt()&&(wt||(wt=Et()),"bs4"===wt)}function lt(){return{isBs3:Kt(),isBs4:qt(),isBs5:!Kt()&&!qt()&&(wt||(wt=Et()),"bs5"===wt)}}typeof console>"u"||console;var Ln=y(6895),mr=y(5529),Yn=y(6787),kr=y(2916),Dn=y(6688),an=y(7043),Sr=y(4850);function Xn(R,K,z,ue){return(0,an.m)(z)&&(ue=z,z=void 0),ue?Xn(R,K,z).pipe((0,Sr.U)(Ue=>(0,Dn.k)(Ue)?ue(...Ue):ue(Ue))):new kr.y(Ue=>{ur(R,K,function Le(tt){Ue.next(arguments.length>1?Array.prototype.slice.call(arguments):tt)},Ue,z)})}function ur(R,K,z,ue,Ue){let Le;if(function Br(R){return R&&"function"==typeof R.addEventListener&&"function"==typeof R.removeEventListener}(R)){const tt=R;R.addEventListener(K,z,Ue),Le=()=>tt.removeEventListener(K,z,Ue)}else if(function wr(R){return R&&"function"==typeof R.on&&"function"==typeof R.off}(R)){const tt=R;R.on(K,z),Le=()=>tt.off(K,z)}else if(function Kr(R){return R&&"function"==typeof R.addListener&&"function"==typeof R.removeListener}(R)){const tt=R;R.addListener(K,z),Le=()=>tt.removeListener(K,z)}else{if(!R||!R.length)throw new TypeError("Invalid event target");for(let tt=0,ot=R.length;tt<ot;tt++)ur(R[tt],K,z,ue,Ue)}ue.add(Le)}var Tr=y(1086),Ur=y(6686),or=y(2268);const Rr=new class pi extends or.v{flush(K){this.active=!0,this.scheduled=void 0;const{actions:z}=this;let ue,Ue=-1,Le=z.length;K=K||z.shift();do{if(ue=K.execute(K.state,K.delay))break}while(++Ue<Le&&(K=z.shift()));if(this.active=!1,ue){for(;++Ue<Le&&(K=z.shift());)K.unsubscribe();throw ue}}}(class _r extends Ur.o{constructor(K,z){super(K,z),this.scheduler=K,this.work=z}requestAsyncId(K,z,ue=0){return null!==ue&&ue>0?super.requestAsyncId(K,z,ue):(K.actions.push(this),K.scheduled||(K.scheduled=requestAnimationFrame(()=>K.flush(null))))}recycleAsyncId(K,z,ue=0){if(null!==ue&&ue>0||null===ue&&this.delay>0)return super.recycleAsyncId(K,z,ue);0===K.actions.length&&(cancelAnimationFrame(z),K.scheduled=void 0)}});var Lr=(()=>{return(R=Lr||(Lr={})).top="top",R.bottom="bottom",R.left="left",R.right="right",R.auto="auto",R.end="right",R.start="left",R["top left"]="top left",R["top right"]="top right",R["right top"]="right top",R["right bottom"]="right bottom",R["bottom right"]="bottom right",R["bottom left"]="bottom left",R["left bottom"]="left bottom",R["left top"]="left top",R["top start"]="top left",R["top end"]="top right",R["end top"]="right top",R["end bottom"]="right bottom",R["bottom end"]="bottom right",R["bottom start"]="bottom left",R["start bottom"]="start bottom",R["start top"]="left top",Lr;var R})(),pe=(()=>{return(R=pe||(pe={})).top="top",R.bottom="bottom",R.left="start",R.right="end",R.auto="auto",R.end="end",R.start="start",R["top left"]="top start",R["top right"]="top end",R["right top"]="end top",R["right bottom"]="end bottom",R["bottom right"]="bottom end",R["bottom left"]="bottom start",R["left bottom"]="start bottom",R["left top"]="start top",R["top start"]="top start",R["top end"]="top end",R["end top"]="end top",R["end bottom"]="end bottom",R["bottom end"]="bottom end",R["bottom start"]="bottom start",R["start bottom"]="start bottom",R["start top"]="start top",pe;var R})();function _e(R,K){if(1!==R.nodeType)return[];const ue=R.ownerDocument.defaultView?.getComputedStyle(R,null);return K?ue&&ue[K]:ue}function Ye(R){if(!R)return document.documentElement;let ue,z=R?.offsetParent;for(;null===z&&R.nextElementSibling&&ue!==R.nextElementSibling;)ue=R.nextElementSibling,z=ue.offsetParent;const Ue=z&&z.nodeName;return Ue&&"BODY"!==Ue&&"HTML"!==Ue?z&&-1!==["TH","TD","TABLE"].indexOf(z.nodeName)&&"static"===_e(z,"position")?Ye(z):z:ue?ue.ownerDocument.documentElement:document.documentElement}function je(R){return null!==R.parentNode?je(R.parentNode):R}function nt(R,K){if(!(R&&R.nodeType&&K&&K.nodeType))return document.documentElement;const z=R.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING,ue=z?R:K,Ue=z?K:R,Le=document.createRange();Le.setStart(ue,0),Le.setEnd(Ue,0);const tt=Le.commonAncestorContainer;if(R!==tt&&K!==tt||ue.contains(Ue))return function ze(R){const{nodeName:K}=R;return"BODY"!==K&&("HTML"===K||Ye(R.firstElementChild)===R)}(tt)?tt:Ye(tt);const ot=je(R);return ot.host?nt(ot.host,K):nt(R,je(K).host)}function mt(R){if(!R||!R.parentElement)return document.documentElement;let K=R.parentElement;for(;K?.parentElement&&"none"===_e(K,"transform");)K=K.parentElement;return K||document.documentElement}function $e(R,K){const z="x"===K?"Left":"Top",ue="Left"===z?"Right":"Bottom";return parseFloat(R[`border${z}Width`])+parseFloat(R[`border${ue}Width`])}function at(R,K,z,ue){return Math.max(K[`offset${R}`],K[`scroll${R}`],z[`client${R}`],z[`offset${R}`],z[`scroll${R}`],0)}function Yt(R){const K=R.body,z=R.documentElement;return{height:at("Height",K,z),width:at("Width",K,z)}}function Nt(R){return{...R,right:(R.left||0)+R.width,bottom:(R.top||0)+R.height}}function Mt(R){return"number"==typeof R||"[object Number]"===Object.prototype.toString.call(R)}function Qt(R){const K=R.getBoundingClientRect();if(!(K&&Mt(K.top)&&Mt(K.left)&&Mt(K.bottom)&&Mt(K.right)))return K;const z={left:K.left,top:K.top,width:K.right-K.left,height:K.bottom-K.top},ue="HTML"===R.nodeName?Yt(R.ownerDocument):void 0,Ue=ue?.width||R.clientWidth||Mt(K.right)&&Mt(z.left)&&K.right-z.left||0,Le=ue?.height||R.clientHeight||Mt(K.bottom)&&Mt(z.top)&&K.bottom-z.top||0;let tt=R.offsetWidth-Ue,ot=R.offsetHeight-Le;if(tt||ot){const gt=_e(R);tt-=$e(gt,"x"),ot-=$e(gt,"y"),z.width-=tt,z.height-=ot}return Nt(z)}function vn(R){return"HTML"===R.nodeName?R:R.parentNode||R.host}function $t(R){if(!R)return document.body;switch(R.nodeName){case"HTML":case"BODY":return R.ownerDocument.body;case"#document":return R.body}const{overflow:K,overflowX:z,overflowY:ue}=_e(R);return/(auto|scroll|overlay)/.test(String(K)+String(ue)+String(z))?R:$t(vn(R))}function rn(R,K,z=!1){const ue="HTML"===K.nodeName,Ue=Qt(R),Le=Qt(K),ot=($t(R),_e(K)),gt=parseFloat(ot.borderTopWidth),fn=parseFloat(ot.borderLeftWidth);z&&ue&&(Le.top=Math.max(Le.top??0,0),Le.left=Math.max(Le.left??0,0));const sn=Nt({top:(Ue.top??0)-(Le.top??0)-gt,left:(Ue.left??0)-(Le.left??0)-fn,width:Ue.width,height:Ue.height});if(sn.marginTop=0,sn.marginLeft=0,ue){const Bn=parseFloat(ot.marginTop),Er=parseFloat(ot.marginLeft);Mt(sn.top)&&(sn.top-=gt-Bn),Mt(sn.bottom)&&(sn.bottom-=gt-Bn),Mt(sn.left)&&(sn.left-=fn-Er),Mt(sn.right)&&(sn.right-=fn-Er),sn.marginTop=Bn,sn.marginLeft=Er}return sn}function tn(R,K="top"){const z="top"===K?"scrollTop":"scrollLeft",ue=R.nodeName;if("BODY"===ue||"HTML"===ue){const Ue=R.ownerDocument.documentElement;return(R.ownerDocument.scrollingElement||Ue)[z]}return R[z]}function At(R){const K=R.nodeName;return"BODY"!==K&&"HTML"!==K&&("fixed"===_e(R,"position")||At(vn(R)))}function Wt(R,K,z=0,ue,Ue=!1){let Le={top:0,left:0};const tt=Ue?mt(R):nt(R,K);if("viewport"===ue)Le=function pn(R,K=!1){const z=R.ownerDocument.documentElement,ue=rn(R,z),Ue=Math.max(z.clientWidth,window.innerWidth||0),Le=Math.max(z.clientHeight,window.innerHeight||0),tt=K?0:tn(z),ot=K?0:tn(z,"left");return Nt({top:tt-Number(ue?.top)+Number(ue?.marginTop),left:ot-Number(ue?.left)+Number(ue?.marginLeft),width:Ue,height:Le})}(tt,Ue);else{let ot;"scrollParent"===ue?(ot=$t(vn(K)),"BODY"===ot.nodeName&&(ot=R.ownerDocument.documentElement)):ot="window"===ue?R.ownerDocument.documentElement:ue;const gt=rn(ot,tt,Ue);if(gt&&"HTML"===ot.nodeName&&!At(tt)){const{height:fn,width:sn}=Yt(R.ownerDocument);Mt(Le.top)&&Mt(gt.top)&&Mt(gt.marginTop)&&(Le.top+=gt.top-gt.marginTop),Mt(Le.top)&&(Le.bottom=Number(fn)+Number(gt.top)),Mt(Le.left)&&Mt(gt.left)&&Mt(gt.marginLeft)&&(Le.left+=gt.left-gt.marginLeft),Mt(Le.top)&&(Le.right=Number(sn)+Number(gt.left))}else gt&&(Le=gt)}return Mt(Le.left)&&(Le.left+=z),Mt(Le.top)&&(Le.top+=z),Mt(Le.right)&&(Le.right-=z),Mt(Le.bottom)&&(Le.bottom-=z),Le}function Cn({width:R,height:K}){return R*K}function Kn(R,K,z,ue,Ue=["top","bottom","right","left"],Le="viewport",tt=0){if(-1===R.indexOf("auto"))return R;const ot=Wt(z,ue,tt,Le),gt={top:{width:ot?.width??0,height:(K?.top??0)-(ot?.top??0)},right:{width:(ot?.right??0)-(K?.right??0),height:ot?.height??0},bottom:{width:ot?.width??0,height:(ot?.bottom??0)-(K?.bottom??0)},left:{width:(K.left??0)-(ot?.left??0),height:ot?.height??0}},fn=Object.keys(gt).map(vr=>({position:vr,...gt[vr],area:Cn(gt[vr])})).sort((vr,er)=>er.area-vr.area);let sn=fn.filter(({width:vr,height:er})=>vr>=z.clientWidth&&er>=z.clientHeight);sn=sn.filter(({position:vr})=>Ue.some(er=>er===vr));const Bn=sn.length>0?sn[0].position:fn[0].position,Er=R.split(" ")[1];return z.className=z.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${lt().isBs5?pe[Bn]:Bn}`),Bn+(Er?`-${Er}`:"")}const Ee=(R,K=0)=>R?parseFloat(R):K;function ke(R){const z=R.ownerDocument.defaultView?.getComputedStyle(R),ue=Ee(z?.marginTop)+Ee(z?.marginBottom),Ue=Ee(z?.marginLeft)+Ee(z?.marginRight);return{width:Number(R.offsetWidth)+Ue,height:Number(R.offsetHeight)+ue}}function ft(R,K,z){return rn(K,z?mt(R):nt(R,K),z)}function hn(R,K,z){const ue=z.split(" ")[0],Ue=ke(R),Le={width:Ue.width,height:Ue.height},tt=-1!==["right","left"].indexOf(ue),ot=tt?"top":"left",gt=tt?"left":"top",fn=tt?"height":"width",sn=tt?"width":"height";return Le[ot]=(K[ot]??0)+K[fn]/2-Ue[fn]/2,Le[gt]=ue===gt?(K[gt]??0)-Ue[sn]:K[function te(R){const K={left:"right",right:"left",bottom:"top",top:"bottom"};return R.replace(/left|right|bottom|top/g,z=>K[z])}(gt)]??0,Le}function Te(R,K){return!!R.modifiers[K]?.enabled}const re={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 ie(R,K){return!!lt().isBs5&&re[K].includes(R)}function Ct(R,K,z){!R||!K||Object.keys(K).forEach(ue=>{let Ue="";-1!==["width","height","top","right","bottom","left"].indexOf(ue)&&function Ft(R){return""!==R&&!isNaN(parseFloat(R))&&isFinite(Number(R))}(K[ue])&&(Ue="px"),z?z.setStyle(R,ue,`${String(K[ue])}${Ue}`):R.style[ue]=String(K[ue])+Ue})}function _t(R){let K=R.offsets.target;const z=R.instance.target.querySelector(".arrow");if(!z)return R;const ue=-1!==["left","right"].indexOf(R.placement.split(" ")[0]),Ue=ue?"height":"width",Le=ue?"Top":"Left",tt=Le.toLowerCase(),ot=ue?"left":"top",gt=ue?"bottom":"right",fn=ke(z)[Ue],sn=R.placement.split(" ")[1];(R.offsets.host[gt]??0)-fn<(K[tt]??0)&&(K[tt]-=(K[tt]??0)-((R.offsets.host[gt]??0)-fn)),Number(R.offsets.host[tt])+Number(fn)>(K[gt]??0)&&(K[tt]+=Number(R.offsets.host[tt])+Number(fn)-Number(K[gt])),K=Nt(K);const Bn=_e(R.instance.target),Er=parseFloat(Bn[`margin${Le}`])||0,vr=parseFloat(Bn[`border${Le}Width`])||0;let er;if(sn){const Ti=parseFloat(Bn.borderRadius)||0,Pi=Number(Er+vr+Ti);er=tt===sn?Number(R.offsets.host[tt])+Pi:Number(R.offsets.host[tt])+Number(R.offsets.host[Ue]-Pi)}else er=Number(R.offsets.host[tt])+Number(R.offsets.host[Ue]/2-fn/2);let dr=er-(K[tt]??0)-Er-vr;return dr=Math.max(Math.min(K[Ue]-(fn+5),dr),0),R.offsets.arrow={[tt]:Math.round(dr),[ot]:""},R.instance.arrow=z,R}function dt(R){if(R.offsets.target=Nt(R.offsets.target),!Te(R.options,"flip"))return R.offsets.target={...R.offsets.target,...hn(R.instance.target,R.offsets.host,R.placement)},R;const K=Wt(R.instance.target,R.instance.host,0,"viewport",!1);let z=R.placement.split(" ")[0],ue=R.placement.split(" ")[1]||"";const ot=Kn("auto",R.offsets.host,R.instance.target,R.instance.host,R.options.allowedPositions),gt=[z,ot];return gt.forEach((fn,sn)=>{if(z!==fn||gt.length===sn+1)return;z=R.placement.split(" ")[0];const Bn="left"===z&&Math.floor(R.offsets.target.right??0)>Math.floor(R.offsets.host.left??0)||"right"===z&&Math.floor(R.offsets.target.left??0)<Math.floor(R.offsets.host.right??0)||"top"===z&&Math.floor(R.offsets.target.bottom??0)>Math.floor(R.offsets.host.top??0)||"bottom"===z&&Math.floor(R.offsets.target.top??0)<Math.floor(R.offsets.host.bottom??0),Er=Math.floor(R.offsets.target.left??0)<Math.floor(K.left??0),vr=Math.floor(R.offsets.target.right??0)>Math.floor(K.right??0),er=Math.floor(R.offsets.target.top??0)<Math.floor(K.top??0),dr=Math.floor(R.offsets.target.bottom??0)>Math.floor(K.bottom??0),Ti="left"===z&&Er||"right"===z&&vr||"top"===z&&er||"bottom"===z&&dr,Pi=-1!==["top","bottom"].indexOf(z),ps=Pi&&"left"===ue&&Er||Pi&&"right"===ue&&vr||!Pi&&"left"===ue&&er||!Pi&&"right"===ue&&dr;(Bn||Ti||ps)&&((Bn||Ti)&&(z=gt[sn+1]),ps&&(ue=function se(R){return"right"===R?"left":"left"===R?"right":R}(ue)),R.placement=z+(ue?` ${ue}`:""),R.offsets.target={...R.offsets.target,...hn(R.instance.target,R.offsets.host,R.placement)})}),R}function xe(R){if(!Te(R.options,"preventOverflow"))return R;const K="transform",z=R.instance.target.style,{top:ue,left:Ue,[K]:Le}=z;z.top="",z.left="",z[K]="";const tt=Wt(R.instance.target,R.instance.host,0,R.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);z.top=ue,z.left=Ue,z[K]=Le;const gt={primary(fn){let sn=R.offsets.target[fn];return(R.offsets.target[fn]??0)<(tt[fn]??0)&&(sn=Math.max(R.offsets.target[fn]??0,tt[fn]??0)),{[fn]:sn}},secondary(fn){const sn="right"===fn,Bn=sn?"left":"top";let vr=R.offsets.target[Bn];return(R.offsets.target[fn]??0)>(tt[fn]??0)&&(vr=Math.min(R.offsets.target[Bn]??0,(tt[fn]??0)-R.offsets.target[sn?"width":"height"])),{[Bn]:vr}}};return["left","right","top","bottom"].forEach(fn=>{const sn=-1!==["left","top","start"].indexOf(fn)?gt.primary:gt.secondary;R.offsets.target={...R.offsets.target,...sn(fn)}}),R}function Ot(R){const K=R.placement,z=K.split(" ")[0],ue=K.split(" ")[1];if(ue){const{host:Ue,target:Le}=R.offsets,tt=-1!==["bottom","top"].indexOf(z),ot=tt?"left":"top",gt=tt?"width":"height",fn={start:{[ot]:Ue[ot]},end:{[ot]:(Ue[ot]??0)+Ue[gt]-Le[gt]}};R.offsets.target={...Le,[ot]:ot===ue?fn.start[ot]:fn.end[ot]}}return R}const bn=new class Ht{position(K,z){return this.offset(K,z)}offset(K,z){return ft(z,K)}positionElements(K,z,ue,Ue,Le){const tt=[dt,Ot,xe,_t],gt=function de(R,K,z,ue){if(!R||!K)return;const Ue=ft(R,K);!z.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!z.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(z="auto");const Le=!!z.match(/auto/g);let tt=z.match(/auto\s(left|right|top|bottom|start|end)/)?z.split(" ")[1]||"auto":z;const ot=tt.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return ot&&(tt=ot[1]+(ot[2]?` ${ot[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(tt)&&(tt="auto"),tt=Kn(tt,Ue,R,K,ue?ue.allowedPositions:void 0),{options:ue||{modifiers:{}},instance:{target:R,host:K,arrow:void 0},offsets:{target:hn(R,Ue,tt),host:Ue,arrow:void 0},positionFixed:!1,placement:tt,placementAuto:Le}}(z,K,Lr[ue],Le);if(gt)return tt.reduce((fn,sn)=>sn(fn),gt)}};function Re(R,K,z,ue,Ue,Le){const tt=bn.positionElements(R,K,z,ue,Ue);if(!tt)return;const ot=function Pe(R){return{width:R.offsets.target.width,height:R.offsets.target.height,left:Math.floor(R.offsets.target.left??0),top:Math.round(R.offsets.target.top??0),bottom:Math.round(R.offsets.target.bottom??0),right:Math.floor(R.offsets.target.right??0)}}(tt);Ct(K,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${ot.left}px, ${ot.top}px, 0px)`},Le),tt.instance.arrow&&Ct(tt.instance.arrow,tt.offsets.arrow,Le),function Qe(R,K){const z=R.instance.target;let ue=z.className;const Ue=lt().isBs5?pe[R.placement]:R.placement;R.placementAuto&&(ue=ue.replace(/bs-popover-auto/g,`bs-popover-${Ue}`),ue=ue.replace(/ms-2|me-2|mb-2|mt-2/g,""),ue=ue.replace(/bs-tooltip-auto/g,`bs-tooltip-${Ue}`),ue=ue.replace(/\sauto/g,` ${Ue}`),-1!==ue.indexOf("popover")&&(ue=ue+" "+function Oe(R){return lt().isBs5?ie(R,"end")?"ms-2":ie(R,"start")?"me-2":ie(R,"top")?"mb-2":ie(R,"bottom")?"mt-2":"":""}(Ue)),-1!==ue.indexOf("popover")&&-1===ue.indexOf("popover-auto")&&(ue+=" popover-auto"),-1!==ue.indexOf("tooltip")&&-1===ue.indexOf("tooltip-auto")&&(ue+=" tooltip-auto")),ue=ue.replace(/left|right|top|bottom|end|start/g,`${Ue.split(" ")[0]}`),K?K.setAttribute(z,"class",ue):z.className=ue}(tt,Le)}let Be=(()=>{class R{constructor(z,ue,Ue){this.update$$=new mr.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,Ln.NF)(Ue)&&z.runOutsideAngular(()=>{this.triggerEvent$=(0,Yn.T)(Xn(window,"scroll",{passive:!0}),Xn(window,"resize",{passive:!0}),(0,Tr.of)(0,Rr),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Le=>{Re(Ae(Le.target),Ae(Le.element),Le.attachment,Le.appendToBody,this.options,ue.createRenderer(null,null))})})})}position(z){this.addPositionElement(z)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(z){this.positionElements.set(Ae(z.element),z)}calcPosition(){this.update$$.next(null)}deletePositionElement(z){this.positionElements.delete(Ae(z))}setOptions(z){this.options=z}}return R.\u0275fac=function(z){return new(z||R)(s.LFG(s.R0b),s.LFG(s.FYo),s.LFG(s.Lbi))},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();function Ae(R){return"string"==typeof R?document.querySelector(R):R instanceof s.SBq?R.nativeElement:R??null}class St{constructor(K,z,ue){this.nodes=K,this.viewRef=z,this.componentRef=ue}}class Pt{constructor(K,z,ue,Ue,Le,tt,ot,gt){this._viewContainerRef=K,this._renderer=z,this._elementRef=ue,this._injector=Ue,this._componentFactoryResolver=Le,this._ngZone=tt,this._applicationRef=ot,this._posService=gt,this.onBeforeShow=new s.vpe,this.onShown=new s.vpe,this.onBeforeHide=new s.vpe,this.onHidden=new s.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(K){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(K),this}to(K){return this.container=K||this.container,this}position(K){return K?(this.attachment=K.attachment||this.attachment,this._elementRef=K.target||this._elementRef,this):this}provide(K){return this._providers.push(K),this}show(K={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(K.content,K.context,K.initialState);const z=s.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(z,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,K),this.container instanceof s.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const ue=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!ue)return;ue.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(K.id?{id:K.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(K){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const z=this._componentRef.location.nativeElement;return z.parentNode?.removeChild(z),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(K?{id:K}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(K){this.triggers=K.triggers||this.triggers,this._listenOpts.outsideClick=K.outsideClick,this._listenOpts.outsideEsc=K.outsideEsc,K.target=K.target||this._elementRef?.nativeElement;const z=this._listenOpts.hide=()=>K.hide?K.hide():void this.hide(),ue=this._listenOpts.show=Le=>{K.show?K.show(Le):this.show(Le),Le()};return this._renderer&&(this._unregisterListenersFn=function B(R,K){const z=function A(R,K=V){const z=(R||"").trim();if(0===z.length)return[];const ue=z.split(/\s+/).map(Le=>Le.split(":")).map(Le=>{const tt=K[Le[0]]||Le;return new L(tt[0],tt[1])}),Ue=ue.filter(Le=>Le.isManual());if(Ue.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Ue.length&&ue.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ue}(K.triggers),ue=K.target;if(1===z.length&&z[0].isManual())return Function.prototype;const Ue=[],Le=[],tt=()=>{Le.forEach(ot=>Ue.push(ot())),Le.length=0};return z.forEach(ot=>{const gt=ot.open===ot.close,fn=gt?K.toggle:K.show;if(!gt&&ot.close&&K.hide){const sn=R.listen(ue,ot.close,K.hide);Le.push(()=>sn)}fn&&Ue.push(R.listen(ue,ot.open,()=>fn(tt)))}),()=>{Ue.forEach(ot=>ot())}}(this._renderer,{target:K.target,triggers:K.triggers,show:ue,hide:z,toggle:Le=>{this.isShown?z():ue(Le)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(K,z){return K&&z&&(this._inlineViewRef=K.createEmbeddedView(z)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const K=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function U(R,K){return K.outsideClick?R.listen("document","click",z=>{K.target&&K.target.contains(z.target)||K.targets&&K.targets.some(ue=>ue.contains(z.target))||K.hide&&K.hide()}):Function.prototype}(this._renderer,{targets:[K,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function ee(R,K){return K.outsideEsc?R.listen("document","keyup.esc",z=>{K.target&&K.target.contains(z.target)||K.targets&&K.targets.some(ue=>ue.contains(z.target))||K.hide&&K.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(K,z,ue){if(!K)return new St([]);if(K instanceof s.Rgc){if(this._viewContainerRef){const tt=this._viewContainerRef.createEmbeddedView(K,z);return tt.markForCheck(),new St([tt.rootNodes],tt)}const Le=K.createEmbeddedView({});return this._applicationRef.attachView(Le),new St([Le.rootNodes],Le)}if("function"==typeof K){const Le=this._componentFactoryResolver.resolveComponentFactory(K),tt=s.zs3.create({providers:this._providers,parent:this._injector}),ot=Le.create(tt);return Object.assign(ot.instance,ue),this._applicationRef.attachView(ot.hostView),new St([[ot.location.nativeElement]],ot.hostView,ot)}const Ue=this._renderer?[this._renderer.createText(`${K}`)]:[];return new St([Ue])}}let Rt=(()=>{class R{constructor(z,ue,Ue,Le,tt){this._componentFactoryResolver=z,this._ngZone=ue,this._injector=Ue,this._posService=Le,this._applicationRef=tt}createLoader(z,ue,Ue){return new Pt(ue,Ue,z,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return R.\u0275fac=function(z){return new(z||R)(s.LFG(s._Vd),s.LFG(s.R0b),s.LFG(s.zs3),s.LFG(Be),s.LFG(s.z2F))},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();var kt=y(7340);const nn=function(R){return{dropdown:R}},cn=["*"];let It=(()=>{class R{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return R.\u0275fac=function(z){return new(z||R)},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Mn=(()=>{class R{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new s.vpe,this.isDisabledChange=new s.vpe,this.toggleClick=new s.vpe,this.counts=0,this.dropdownMenu=new Promise(z=>{this.resolveDropdownMenu=z})}}return R.\u0275fac=function(z){return new(z||R)},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"platform"}),R})();const cr=[(0,kt.oB)({height:0,overflow:"hidden"}),(0,kt.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,kt.oB)({height:"*",overflow:"hidden"}))];let gn=(()=>{class R{constructor(z,ue,Ue,Le,tt){this._state=z,this.cd=ue,this._renderer=Ue,this._element=Le,this.isOpen=!1,this._factoryDropDownAnimation=tt.build(cr),this._subscription=z.isOpenChange.subscribe(ot=>{this.isOpen=ot;const gt=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),gt&&!Kt()&&(this._renderer.addClass(gt,"show"),(gt.classList.contains("dropdown-menu-right")||gt.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(gt,"left","auto"),this._renderer.setStyle(gt,"right","0")),"up"===this.direction&&(this._renderer.setStyle(gt,"top","auto"),this._renderer.setStyle(gt,"transform","translateY(-101%)"))),gt&&this._state.isAnimated&&this._factoryDropDownAnimation.create(gt).play(),this.cd.markForCheck(),this.cd.detectChanges()})}get direction(){return this._state.direction}_contains(z){return this._element.nativeElement.contains(z)}ngOnDestroy(){this._subscription.unsubscribe()}}return R.\u0275fac=function(z){return new(z||R)(s.Y36(Mn),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(kt._j))},R.\u0275cmp=s.Xpm({type:R,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:cn,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(z,ue){1&z&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA()),2&z&&(s.ekj("dropup","up"===ue.direction)("show",ue.isOpen)("open",ue.isOpen),s.Q6J("ngClass",s.VKq(7,nn,"down"===ue.direction)))},directives:[Ln.mk],encapsulation:2,changeDetection:0}),R})(),yr=(()=>{class R{constructor(z,ue,Ue,Le,tt,ot,gt){this._elementRef=z,this._renderer=ue,this._viewContainerRef=Ue,this._cis=Le,this._state=tt,this._config=ot,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=gt.build(cr),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Mn,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(z){this._state.autoClose=z}get autoClose(){return this._state.autoClose}set isAnimated(z){this._state.isAnimated=z}get isAnimated(){return this._state.isAnimated}set insideClick(z){this._state.insideClick=z}get insideClick(){return this._state.insideClick}set isDisabled(z){this._isDisabled=z,this._state.isDisabledChange.emit(z),z&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(z){z?this.show():this.hide()}get isBs4(){return!Kt()}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(z=>this.toggle(z))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,h.h)(z=>z)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(z=>{this._dropdown.attachInline(z.viewContainer,z.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(z=>{const ue=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ue?"up":"down";const Ue=this.placement||(ue?"top start":"bottom start");this._dropdown.attach(gn).to(this.container).position({attachment:Ue}).show({content:z.templateRef,placement:Ue}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){!this.isOpen||(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(z){return this.isOpen||!z?this.hide():this.show()}_contains(z){return this._elementRef.nativeElement.contains(z.target)||this._dropdown.instance&&this._dropdown.instance._contains(z.target)}navigationClick(z){const ue=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ue)return;const Ue=this._elementRef.nativeElement.ownerDocument.activeElement,Le=ue.querySelectorAll(".dropdown-item");switch(z.keyCode){case 38:this._state.counts>0&&Le[--this._state.counts].focus();break;case 40:this._state.counts+1<Le.length&&(Ue.classList!==Le[this._state.counts].classList?Le[this._state.counts].focus():Le[++this._state.counts].focus())}z.preventDefault()}ngOnDestroy(){for(const z of this._subscriptions)z.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){Kt()||(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 z=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",z?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",z?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return R.\u0275fac=function(z){return new(z||R)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(Rt),s.Y36(Mn),s.Y36(It),s.Y36(kt._j))},R.\u0275dir=s.lG2({type:R,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(z,ue){1&z&&s.NdJ("keydown.arrowDown",function(Le){return ue.navigationClick(Le)})("keydown.arrowUp",function(Le){return ue.navigationClick(Le)}),2&z&&s.ekj("dropup",ue.dropup)("open",ue.isOpen)("show",ue.isOpen&&ue.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:[s._Bn([Mn])]}),R})(),gi=(()=>{class R{constructor(z,ue,Ue){z.resolveDropdownMenu({templateRef:Ue,viewContainer:ue})}}return R.\u0275fac=function(z){return new(z||R)(s.Y36(Mn),s.Y36(s.s_b),s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),R})(),Gn=(()=>{class R{constructor(z,ue,Ue,Le,tt){this._changeDetectorRef=z,this._dropdown=ue,this._element=Ue,this._renderer=Le,this._state=tt,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(ot=>{this.isOpen=ot,ot?(this._documentClickListener=this._renderer.listen("document","click",gt=>{this._state.autoClose&&2!==gt.button&&!this._element.nativeElement.contains(gt.target)&&(!this._state.insideClick||!this._dropdown._contains(gt))&&(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(ot=>this.isDisabled=ot||void 0))}onClick(z){this._state.stopOnClickPropagation&&z.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const z of this._subscriptions)z.unsubscribe()}}return R.\u0275fac=function(z){return new(z||R)(s.Y36(s.sBO),s.Y36(yr),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(Mn))},R.\u0275dir=s.lG2({type:R,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(z,ue){1&z&&s.NdJ("click",function(Le){return ue.onClick(Le)}),2&z&&s.uIk("aria-haspopup",!0)("disabled",ue.isDisabled)("aria-expanded",ue.isOpen)},exportAs:["bs-dropdown-toggle"]}),R})(),Vr=(()=>{class R{static forRoot(){return{ngModule:R,providers:[Rt,Be,Mn]}}}return R.\u0275fac=function(z){return new(z||R)},R.\u0275mod=s.oAB({type:R}),R.\u0275inj=s.cJS({imports:[[Ln.ez]]}),R})()}}]);
Back to Directory
File Manager