Viewing File: /usr/local/cpanel/base/frontend/jupiter/dynamic-dns/vendor.js
(self.webpackChunkdynamic_dns=self.webpackChunkdynamic_dns||[]).push([[736],{109:(J,F,h)=>{"use strict";h.d(F,{F:()=>r});var r=(()=>{return(m=r||(r={}))[m.GET=0]="GET",m[m.HEAD=1]="HEAD",m[m.POST=2]="POST",m[m.PUT=3]="PUT",m[m.DELETE=4]="DELETE",m[m.CONNECT=5]="CONNECT",m[m.OPTIONS=6]="OPTIONS",m[m.TRACE=7]="TRACE",m[m.PATCH=8]="PATCH",r;var m})()},5259:(J,F,h)=>{"use strict";h.d(F,{j:()=>ke});var r=h(1978),m=h.n(r),B=h(8635),A=h(755),x=(()=>{return(Ye=x||(x={}))[Ye.Contains=0]="Contains",Ye[Ye.Begins=1]="Begins",Ye[Ye.Ends=2]="Ends",Ye[Ye.Matches=3]="Matches",Ye[Ye.Equal=4]="Equal",Ye[Ye.NotEqual=5]="NotEqual",Ye[Ye.LessThan=6]="LessThan",Ye[Ye.LessThanUnlimited=7]="LessThanUnlimited",Ye[Ye.GreaterThan=8]="GreaterThan",Ye[Ye.GreaterThanUnlimited=9]="GreaterThanUnlimited",Ye[Ye.Defined=10]="Defined",Ye[Ye.Undefined=11]="Undefined",x;var Ye})();class R{constructor(_e,je,ve){if(!_e)throw new Error("You must define a non-empty column name.");this.column=_e,this.operator=je,this.value=ve}}var j=h(7709),O=h(5380);class G{constructor(_e=[]){this.headers=_e}push(_e){this.headers.push(_e)}forEach(_e,je){this.headers.forEach(_e,je)}toArray(){const _e=[];return this.headers.forEach(je=>_e.push({name:je.name,value:je.value})),_e}toObject(){return this.headers.reduce((_e,je)=>(_e[je.name]=je.value,_e),{})}}class L{constructor(_e){this._header=_e}get name(){return this._header.name}get value(){return this._header.value}}Error,Error;class Pe extends Error{constructor(_e){super(_e),this.name="WhmApiTokenInvalidError",Object.setPrototypeOf(this,Pe.prototype)}}class Te extends Error{constructor(_e){super(_e),this.name="WhmApiTokenMismatchError",Object.setPrototypeOf(this,Te.prototype)}}class Oe extends L{constructor(_e,je){if(!_e)throw new Pe("You must pass a valid token to the constructor.");if(!je&&!/^.+:/.test(_e))throw new Pe("You must pass a WHM username associated with the WHM API token.");if(!je&&!/:.+$/.test(_e))throw new Pe("You must pass a valid WHM API token.");super({name:"Authorization",value:`whm ${je?je+":":""}${_e}`})}}var mt=h(109);const lt=new class rt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[mt.F.GET,mt.F.DELETE,mt.F.HEAD].forEach(_e=>{const je=mt.F[_e].toString();this.map[je]={verb:je,dataInBody:!1}}),[mt.F.POST,mt.F.PUT,mt.F.PATCH].forEach(_e=>{const je=mt.F[_e].toString();this.map[je]={verb:je,dataInBody:!0}})}getRule(_e){const je="string"==typeof _e?_e:mt.F[_e].toString();let ve=this.map[je];return ve||(ve=this.map.DEFAULT),ve}};var dt=h(3022);class ke extends class Ie{constructor(_e){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new O.uE,this.headers=new G,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,_e&&(this.method=_e.method,_e.namespace&&(this.namespace=_e.namespace),_e.arguments&&_e.arguments.forEach(je=>{this.addArgument(je)}),_e.sorts&&_e.sorts.forEach(je=>{this.addSort(je)}),_e.filters&&_e.filters.forEach(je=>{this.addFilter(je)}),_e.columns&&_e.columns.forEach(je=>this.addColumn(je)),_e.pager&&this.paginate(_e.pager),this.config=_e.config?_e.config:this.defaultConfig,_e.headers&&_e.headers.forEach(je=>{this.addHeader(je)}))}get usePager(){return this._usePager}addArgument(_e){return this.arguments.push(_e instanceof j.h?_e:new j.h(_e.name,_e.value)),this}addSort(_e){return this.sorts.push(_e instanceof A.PE?_e:new A.PE(_e.column,_e.direction,_e.type)),this}addFilter(_e){return this.filters.push(_e instanceof R?_e:new R(_e.column,_e.operator,_e.value)),this}addColumn(_e){return this.columns.push(_e),this}addHeader(_e){return this.headers.push(_e instanceof L?_e:new L(_e)),this}paginate(_e){return this.pager=_e instanceof O.uE?_e:new O.uE(_e.page,_e.pageSize||20),this._usePager=!0,this}}{addHeader(_e){if(_e instanceof Oe)throw new Te("A WhmApiTokenHeader cannot be used on a CpanelApiRequest");return super.addHeader(_e),this}_build(_e,je){let ve="";return _e.forEach((Ve,xe,nt)=>{ve+=je.encode(Ve.name,Ve.value,xe===nt.length-1)}),je.separatorStart+ve+je.separatorEnd}_generateArguments(_e){this.arguments.forEach(je=>_e.push(je))}_generateSorts(_e){this.sorts.forEach((je,ve)=>{0===ve&&_e.push({name:"api.sort",value:B.O(!0)}),_e.push({name:"api.sort_column_"+ve,value:je.column}),_e.push({name:"api.sort_reverse_"+ve,value:B.O(je.direction!==A.Sr.Ascending)}),_e.push({name:"api.sort_method_"+ve,value:m()(A.ER[je.type])})})}_lookupFilterOperator(_e){switch(_e){case x.GreaterThanUnlimited:return"gt_handle_unlimited";case x.GreaterThan:return"gt";case x.LessThanUnlimited:return"lt_handle_unlimited";case x.LessThan:return"lt";case x.NotEqual:return"ne";case x.Equal:return"eq";case x.Defined:return"defined";case x.Undefined:return"undefined";case x.Matches:return"matches";case x.Ends:return"ends";case x.Begins:return"begins";case x.Contains:return"contains";default:throw new Error(`Unrecognized FilterOperator ${x[_e]} for UAPI`)}}_generateFilters(_e){this.filters.forEach((je,ve)=>{_e.push({name:"api.filter_column_"+ve,value:je.column}),_e.push({name:"api.filter_type_"+ve,value:this._lookupFilterOperator(je.operator)}),_e.push({name:"api.filter_term_"+ve,value:je.value})})}_traslatePageToStart(_e){return(_e.page-1)*_e.pageSize+1}_generatePagination(_e){if(!this.usePager)return;const je=this.pager.all();_e.push({name:"api.paginate",value:B.O(!0)}),_e.push({name:"api.paginate_start",value:je?-1:this._traslatePageToStart(this.pager)}),je||_e.push({name:"api.paginate_size",value:this.pager.pageSize})}_generateConfiguration(_e){this.config&&this.config.analytics&&_e.push({name:"api.analytics",value:B.O(this.config.analytics)})}constructor(_e){super(_e)}generate(_e){if(!this.namespace)throw new Error("You must define a namespace for the UAPI call before you generate a request");if(!this.method)throw new Error("You must define a method for the UAPI call before you generate a request");_e||(_e={verb:mt.F.POST,encoder:this.config.json?new dt.tO:new dt.VN}),_e.encoder||(_e.encoder=this.config.json?new dt.tO:new dt.VN);const je=lt.getRule(_e.verb),ve={headers:new G([{name:"Content-Type",value:_e.encoder.contentType}]),url:["","execute",this.namespace,this.method].map(encodeURIComponent).join("/"),body:""},Ve=[];this._generateArguments(Ve),this._generateSorts(Ve),this._generateFilters(Ve),this._generatePagination(Ve),this._generateConfiguration(Ve);const xe=this._build(Ve,_e.encoder);return je.dataInBody?ve.body=xe:ve.url+=_e.verb===mt.F.GET?`?${xe}`:xe,this.headers.forEach(nt=>{ve.headers.push({name:nt.name,value:nt.value})}),ve}}},7709:(J,F,h)=>{"use strict";h.d(F,{h:()=>r});class r{constructor(A,x){if(!A)throw new Error("You must provide a name when creating a name/value argument");this.name=A,this.value=x}}},3022:(J,F,h)=>{"use strict";h.d(F,{tO:()=>mt,VN:()=>Ie});var r=h(4235),m=h.n(r),B=h(1305),A=h.n(B),x=h(4798),R=h.n(x),j=h(9138),O=h.n(j),G=h(248),L=h.n(G),z=h(1503),se=h.n(z),oe=h(7614),Pe=h.n(oe);function Te(rt){if(m()(rt)||A()(rt)||R()(rt)||O()(rt)||L()(rt))return!0;if(!Pe()(rt)&&!se()(rt))return!1;for(const lt in rt)if(!Te(rt[lt]))return!1;return!0}class Ie{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(lt,dt,ke){if(!lt)throw new Error("Name must have a non-empty value");return`${lt}=${encodeURIComponent(dt.toString())}`+(ke?"":this.recordSeparator)}}class mt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(lt,dt,ke){if(!lt)throw new Error("Name must have a non-empty value");if(!Te(dt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(lt)+":"+JSON.stringify(dt)+(ke?"":this.recordSeparator)}}},6962:(J,F,h)=>{"use strict";h.d(F,{a:()=>r});class r{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:(J,F,h)=>{"use strict";h.d(F,{uE:()=>B});const m=Number.POSITIVE_INFINITY;class B{constructor(x=1,R=20){if(x<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(R<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=x,this.pageSize=R}all(){return this.pageSize===m}}},5712:(J,F,h)=>{"use strict";h.d(F,{b5:()=>R});const x={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 R{constructor(O){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=O.protocol;let G=O.port;G||(function r(j){return/^https:$/i.test(j)}(this.protocol)?G="443":function m(j){return/^http:$/i.test(j)}(this.protocol)&&(G="80")),this.domain=O.hostname,this.port=parseInt(G,10),this.path=O.pathname;const L=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?x[2087]:/^cpanel\./.test(this.domain)?x[2083]:/^webmail\./.test(this.domain)?x[2095]:x[G.toString()]||x[L[2]]||"whostmgr",this.securityToken=L[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const se=this.path.split("/");this.theme=se[3]}this.themePath="";let z=this.securityToken+"/";this.isUnprotected?z="/":this.isCpanel?z+="frontend/"+this.theme+"/":this.isWebmail?z+="webmail/"+this.theme+"/":this.isOther&&(z="/"),this.themePath=z,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 B(j){return j&&j.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(O){return this.themePath+O}buildFullPath(O){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(O)}buildTokenPath(O){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+O}}},8635:(J,F,h)=>{"use strict";function r(A){return A?"1":"0"}h.d(F,{O:()=>r,s:()=>B});const m=new Set(["","0",0]);function B(A){return!m.has(A)}},755:(J,F,h)=>{"use strict";h.d(F,{ER:()=>m,PE:()=>B,Sr:()=>r});var r=(()=>{return(A=r||(r={}))[A.Ascending=0]="Ascending",A[A.Descending=1]="Descending",r;var A})(),m=(()=>{return(A=m||(m={}))[A.Lexicographic=0]="Lexicographic",A[A.Ipv4=1]="Ipv4",A[A.Numeric=2]="Numeric",A[A.NumericZeroAsMax=3]="NumericZeroAsMax",m;var A})();class B{constructor(x,R=r.Ascending,j=m.Lexicographic){if(!x)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=x,this.direction=R,this.type=j}}},269:(J,F,h)=>{"use strict";F.g=void 0;const m=h(1680);Object.defineProperty(F,"g",{enumerable:!0,get:function(){return m.Locale}})},5074:(J,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.CLDR=void 0,F.CLDR=class h{constructor(m){this.rawData=m,this.validateCLDR(this.rawData)}validateCLDR(m){if(!m)throw new Error("CLDR data cannot be null");if(!m.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(m,"functions")||Object.prototype.hasOwnProperty.call(m,"get_plural_form")||"function"!=typeof m.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(m,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(m,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(m.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(m,...B){return this.rawData.functions.get_plural_form(m,...B)}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:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.Locale=void 0;const r=h(2889),m=h(9483),B=h(741),A=h(786),x=h(5074);F.Locale=class R{constructor(O,G={}){this.lexicon=G,this._cldr=new x.CLDR(O)}maketext(O,...G){return r.maketext({cldr:this._cldr,lexicon:this.lexicon,template:O,args:G})}localDatetime(O,G){return this._datetimeWrapper(m.local_datetime,O,G)}datetime(O,G){return this._datetimeWrapper(m.datetime,O,G)}_datetimeWrapper(O,G,L){return O({cldr:this._cldr,args:[G,L]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(O,G){return this._formatNumber(B.numf,O,G)}format_bytes(O,G){return this._formatNumber(B.format_bytes,O,G)}_formatNumber(O,...G){return this._callCLDRFunc(O,G)}list_and(...O){return this._callCLDRFunc(A.list_and,O)}list_and_quoted(...O){return this._callCLDRFunc(A.list_and_quoted,O)}list_or(...O){return this._callCLDRFunc(A.list_or,O)}list_or_quoted(...O){return this._callCLDRFunc(A.list_or_quoted,O)}_callCLDRFunc(O,G){return O({cldr:this._cldr,args:G})}}},7296:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.asis=void 0;const r=h(5247);F.asis=function m({args:[B,...A]}){if(!B||A.length>0||"string"!=typeof B)throw new Error("asis function accepts one non translatable string.");return(B=B.replace(/chr\((\d+)\)/g,function(x,R){return r.functions.chr(Number(R))})).replace(/amp\(\)/g,function(x){return r.functions.amp()})}},527:(J,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.boolean=void 0,F.boolean=function h({args:[r,m,B,A]}){if(null==m||0===m.length||null==B||0===B.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof r<"u"&&r?m:A&&null==r?A:B)}},9076:(J,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.comment=void 0,F.comment=function h({args:[r]}){return""}},9483:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.local_datetime=F.datetime=F.dateToLocalDayNum=void 0;const r=h(5074),m=function(L){const z=L.getUTCDay()-1;return z<0?6:z},B=[7,1,2,3,4,5,6];function A(L,z){return(B[L.getUTCDay()]+7-z)%7+1}F.dateToLocalDayNum=A;const x=function(L,z,se){let oe="",Pe=0;return z=z||0,se=String(void 0===se?" ":se),Pe=z-String(L).length,Pe>0&&(oe=[...Array(Pe)].map(String.prototype.valueOf,se).join("")),oe+L};function R({cldr:L,args:[z=new Date,se],tzString:oe="UTC"}){if("number"==typeof z&&/^-?\d+$/.test(z.toString())&&(z=new Date(1e3*z)),!(z instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(L instanceof r.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Pe=L.getDateTimeInfo();return"string"==typeof se&&/^(?:date|time|datetime|special)_format_/.test(se)&&(se=Pe[se]),se||(se=Pe.date_format_long),se.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(Te,Oe,Ie){return Oe?function j(L){return L.substr(1,L.length-2)}(Oe):function O(L,z,se,oe){switch(se){case"yy":return Math.abs(L.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(L.getUTCFullYear()));case"MMMMM":return z.month_format_narrow[L.getUTCMonth()];case"LLLLL":return z.month_stand_alone_narrow[L.getUTCMonth()];case"MMMM":return z.month_format_wide[L.getUTCMonth()];case"LLLL":return z.month_stand_alone_wide[L.getUTCMonth()];case"MMM":return z.month_format_abbreviated[L.getUTCMonth()];case"LLL":return z.month_stand_alone_abbreviated[L.getUTCMonth()];case"MM":case"LL":return x((L.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(L.getUTCMonth()+1);case"EEEE":return z.day_format_wide[m(L)];case"EEE":case"EE":case"E":return z.day_format_abbreviated[m(L)];case"EEEEE":return z.day_format_narrow[m(L)];case"cccc":return z.day_stand_alone_wide[m(L)];case"ccc":return z.day_stand_alone_abbreviated[m(L)];case"cc":case"c":return String(A(L,Number(z.first_day_of_week)));case"ccccc":return z.day_stand_alone_narrow[m(L)];case"dd":return x(L.getUTCDate().toString(),2,"0");case"d":return String(L.getUTCDate());case"h":case"hh":{let Pe=L.getUTCHours();Pe>12&&(Pe-=12),0===Pe&&(Pe=12);const Te="hh"===se?x(Pe.toString(),2,"0"):Pe;return String(Te)}case"H":return String(L.getUTCHours());case"HH":return x(L.getUTCHours().toString(),2,"0");case"m":return String(L.getUTCMinutes());case"mm":return x(L.getUTCMinutes().toString(),2,"0");case"s":return String(L.getUTCSeconds());case"ss":return x(L.getUTCSeconds().toString(),2,"0");case"a":return L.getUTCHours()<12?z.am_pm_abbreviated[0]:z.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return oe;case"G":case"GG":case"GGG":return z.era_abbreviated[L.getUTCFullYear()<0?0:1];case"GGGGG":return z.era_narrow[L.getUTCFullYear()<0?0:1];case"GGGG":return z.era_wide[L.getUTCFullYear()<0?0:1]}return se}(z,Pe,Ie,oe)})}F.datetime=R,F.local_datetime=function G({cldr:L,args:[z=new Date,se]}){if("number"==typeof z&&/^-?\d+$/.test(z.toString())&&(z=new Date(1e3*z)),!(z instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(L instanceof r.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const oe=z.getTimezoneOffset();(z=new Date(z)).setMinutes(z.getMinutes()-oe);const Pe=oe>0?"-":"+",Te=Math.floor(Math.abs(oe)/60),Oe=Math.abs(oe%60);return R({cldr:L,args:[z,se],tzString:"GMT"+Pe+x(Te.toString(),2,"0")+x(Oe.toString(),2,"0")})}},40:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.functions=void 0;const r=h(7296),m=h(5247),B=h(9076),A=h(527),x=h(741),R=h(9483),j=h(786);F.functions={asis:r.asis,output:m.output,comment:B.comment,boolean:A.boolean,numf:x.numf,numerate:x.numerate,quant:x.quant,format_bytes:x.format_bytes,datetime:R.datetime,local_datetime:R.local_datetime,list_and:j.list_and,list_or:j.list_or,list_or_quoted:j.list_or_quoted,list_and_quoted:j.list_and_quoted}},786:(J,F)=>{"use strict";function r(j,O,...G){let L=G.slice();switch(1===L.length&&Array.isArray(L[0])&&(L=L[0].slice()),(typeof L>"u"||0===L.length)&&(L=[""]),L=L.map(z=>function h(j,O){const G=j.getDelimiters();return G&&Object.prototype.hasOwnProperty.call(G,"quotation_start")&&Object.prototype.hasOwnProperty.call(G,"quotation_end")?G.quotation_start+O+G.quotation_end:O}(j,z)),O){case"list_and":return x({cldr:j,args:L});case"list_or":return R({cldr:j,args:L});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function A(j,O,...G){let L=G.slice();1===L.length&&Array.isArray(L[0])&&(L=L[0].slice());const z=L.length;let se,oe,Pe,Te;try{se=j.getFormats()[O]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Oe=function(Ie,mt){switch(mt){case"0":return Pe;case"1":return L[Te++]}};switch(z){case 0:return"";case 1:return String(L[0]);default:if(Pe=2===z?se[2]:se.start,Pe=Pe.replace(/\{([01])\}/g,function(Ie,mt){return L[mt]}),2===z)return Pe;for(Te=2;Te<z;)oe=se[Te===z-1?"end":"middle"],Pe=oe.replace(/\{([01])\}/g,Oe);return Pe}}function x({cldr:j,args:[...O]}){return A(j,"list",...O)}function R({cldr:j,args:[...O]}){return A(j,"list_or",...O)}Object.defineProperty(F,"__esModule",{value:!0}),F.list_or=F.list_and=F.list_or_quoted=F.list_and_quoted=void 0,F.list_and_quoted=function m({cldr:j,args:[...O]}){return r(j,"list_and",...O)},F.list_or_quoted=function B({cldr:j,args:[...O]}){return r(j,"list_or",...O)},F.list_and=x,F.list_or=R},5247:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.functions=F.output=void 0;const r=h(7906),m=h(8533);F.output=function B({args:[A,...x]}){if(x&&"string"==typeof x[0]&&(x[0]=x[0].replace(/chr\((\d+)\)/g,function(R,j){return F.functions.chr(Number(j))}),x[0]=x[0].replace(/amp\(\)/g,function(R){return F.functions.amp()})),"function"==typeof F.functions[A])return F.functions[A](...x);throw new Error(`Locale output function '${A}' is not implemented.`)},F.functions={amp:()=>r.htmlEscape("&"),apos:()=>r.htmlEscape("'"),quot:()=>r.htmlEscape('"'),underline:A=>`<u>${A}</u>`,strong:A=>`<strong>${A}</strong>`,em:A=>`<em>${A}</em>`,abbr:(A,x)=>`<abbr title="${x}">${A}</abbr>`,acronym:(A,x)=>`<abbr title="${x}" class="initialism">${A}</abbr>`,class:(A,...x)=>`<span class="${x.join(" ")}">${A}</span>`,chr(A){if("string"==typeof A&&(A=Number(A)),"number"!=typeof A||isNaN(A))throw new Error("chr needs a number as argument");return r.htmlEscape(String.fromCharCode(A))},url(A,...x){let R,j;if("object"==typeof x[x.length-1])if(R=x[x.length-1],2===x.length){if(R.html)throw new Error("Cannot provide both text and configuration with html attribute");j=x[0]}else R&&R.html?(j=R.html,delete R.html):j=A;else x.length%2==0?(R=m.listToObject(...x),R&&"html"in R&&""!==R.html?(j=R.html,delete R.html):j=A):(j=x.shift(),R=m.listToObject(...x));"_type"in R&&"offsite"===R._type&&(R.class="offsite",R.target="_blank",delete R._type);let O=`<a href="${A}"`;if("object"==typeof R)for(const G in R)Object.prototype.hasOwnProperty.call(R,G)&&(O+=` ${G}="${R[G]}"`);return O+=`>${j}</a>`,O}}},741:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.format_bytes=F.numf=F.quant=F.numerate=void 0;const r=h(5074);function B({cldr:j,args:[O,...G]}){if(!(j instanceof r.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let L,z=3;O instanceof Array?(z=O[1],L=O[0]):L=O;const se=j.getPluralForm(L,...G),oe=se[0]?se[0]:G[G.length-1];if(se&&se.length>=2&&se[1])return oe;const Te=x({cldr:j,args:[L,z]});return-1!==oe.indexOf("%s")?oe.replace(/%s/g,Te):j.isRtl()?oe+" "+Te:Te+" "+oe}function x({cldr:j,args:[O,G=6]}){if(!(j instanceof r.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(O.toString()))return String(O);const{decimalFormat:L,decimalGroup:z,decimalDecimal:se}=function A(j){const O={},G=j.getFormats();return Object.prototype.hasOwnProperty.call(G,"decimal")&&(O.decimalFormat=G.decimal),Object.prototype.hasOwnProperty.call(G,"_decimal_format_group")&&(O.decimalGroup=G._decimal_format_group),Object.prototype.hasOwnProperty.call(G,"_decimal_format_decimal")&&(O.decimalDecimal=G._decimal_format_decimal),O}(j);if(!L||!z||!se)throw new Error("CLDR Data is missing information related to formatting decimals.");const oe=O<0;O=Math.abs(O);let Te,Oe,Pe=Math.floor(O);/(?!')\.(?!')/.test(O.toString())&&(Te=String(O).replace(/^[^.]+/,"0"),Te=Number(Te).toFixed(G),/^1/.test(Te)?(Pe++,O=Pe,Te=void 0):Te=Te.replace(/^.*\./,"").replace(/0+$/,"")),Oe=/(?!');(?!')/.test(L)?L.split(/(?!');(?!')/)[oe?1:0]:(oe?"-":"")+L;const rt=Oe.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let lt;1===rt.length?lt="":(rt.pop(),lt=z);const dt=String(Pe).split("").reverse(),ke=[];let Ye;const _e=function(ve){switch(ve){case"#":return dt.shift()||"";case"0":return dt.shift()||"0"}};for(;dt.length;){rt.length&&(Ye=rt.shift());const ve=Ye.replace(/(?!')[0#]|[0#](?!')/g,_e).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");ke.push(ve)}const je=ke.join(lt).split("").reverse().join("")+(Te?se+Te:"");return Oe.replace(/[0#].*[0#]/,je)}F.numerate=function m({cldr:j,args:[O,...G]}){if(!(j instanceof r.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const L=j.getPluralForm(O,...G);return L?L[0]:G[G.length-1]},F.quant=B,F.numf=x,F.format_bytes=function R({cldr:j,args:[O,G=2]}){if(!(j instanceof r.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const L=["KB","MB","GB","TB","PB","EB","ZB","YB"],se=O&&Math.min(Math.floor(Math.log(O)/Math.log(1024)),L.length);return se?x({cldr:j,args:[O/Math.pow(1024,se),G]})+"\xa0"+L[se-1]:B({cldr:j,args:[O,"%s\xa0byte","%s\xa0bytes"]})}},2889:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.maketext=F.functions=F.config=void 0;const r=h(40);function x(R,j){const O=[];let G=!1,L=!1;return R.forEach((z,se)=>{if("_"===z.charAt(0))if("_*"===z){if(L)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";O.push(...j),G=!0}else{const oe=z.match(F.config.underscoreDigitRe);if(oe){if(G)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Pe,Te]=oe,Oe=Number(Te)-1;if(!(Oe in j))throw`The "${Pe}" substitution argument was not passed to the maketext function.`;O.push(j[Oe]),L=!0}}else O.push(z)}),O}F.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},F.functions={...r.functions},F.maketext=function B({cldr:R,lexicon:j,template:O,args:G}){if("string"!=typeof O)throw"You must pass a string template to the maketext function.";if(-1===(O=j&&j[O]||O).indexOf("["))return O;const L=O.match(F.config.bracketRe)||[],z=[];let se=!1,oe="";if(L.forEach(Pe=>{if("["===Pe){if(se)throw Error(`Invalid maketext string: ${O} \nThe string contains nested brackets.`);se=!0}else if("]"===Pe){if(!se)throw Error(`Invalid maketext string: ${O} \nThe string contains an unmatched closing bracket character (]).`);if(!oe)throw Error(`Invalid maketext string: ${O} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Te;se=!1;try{Te=function A(R,j,O){let G=j.split(",");if(G=G.map(se=>se.replace(F.config.fauxCommaRe,",")),1===G.length){if(!F.config.underscoreDigitRe.test(G[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[se]=x(G,O);return String(se)}const L=G.shift();if(!L||"function"!=typeof F.functions[L])throw`Invalid function "${L}" in maketext string.`;const z=x(G,O);return F.functions[L]({cldr:R,args:z})}(R,oe,G)}catch(Oe){throw Error(`Invalid maketext string: ${O} \n${Oe}`)}oe="",z.push(Te)}else if("~"===Pe.charAt(0)){const Te=Pe.charAt(1)||"~";se?oe+=","===Te?F.config.fauxComma:Te:F.config.tildeChars.has(Te)?z.push(Te):z.push(Pe)}else se?oe+=Pe:z.push(Pe)}),se)throw Error(`Invalid maketext string: ${O} \nThe string contains an unmatched opening bracket character ([).`);return z.join("")}},7906:(J,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.htmlEscape=F.entityMap=void 0,F.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},F.htmlEscape=function h(r){return String(r).replace(/[&<>"'\/]/g,m=>F.entityMap[m])}},8533:(J,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.listToObject=void 0,F.listToObject=function m(...B){let A={};return function h(B){if(B.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let x=0,R=B.length;x<R;x+=2){const j=B[x];if("string"!=typeof j||""===j)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(B)&&(A=function r(B){const A=B.length,x={};let j,O,R=0;for(;R<A;)j=B[R],O=B[++R],x[j]=O,R++;return x}(B)),A}},50:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.commonValidators=void 0;const r=h(2257);F.commonValidators=new class m extends r.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(A){const x=A||this.locale.maketext("This field is required.");return R=>{let j={},O=R.value;return O&&(O=O.toString()),O&&O.length?null:(j=this.addError(j,"required",x),j)}}requiredTrue(A){const x=A||this.locale.maketext("This control's value should be true.");return R=>{let j={};return!0!==R.value?(j=this.addError(j,"requiredTrue",x),j):null}}startsWithLetter(A){return x=>{let R={};return x.value&&!this.STARTS_WITH_LETTER.test(x.value)?(R=this.addError(R,"doesNotStartWithLetter",A),R):null}}containsSpaces(A){return x=>{let R={};return x.value&&!this.CONTAINS_SPACES.test(x.value)?(R=this.addError(R,"containsSpace",A),R):null}}minLength(A,x){return R=>{let j={};return R.value&&R.value.length<x?(j=this.addError(j,"minLength",A),j):null}}maxLength(A,x){return R=>{let j={};return R.value&&R.value.length>x?(j=this.addError(j,"maxLength",A),j):null}}}},7414:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.cPUserNoteValidators=void 0;const r=h(2257),m=h(9761),A=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;F.cPUserNoteValidators=new class x extends r.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(j=250,O=""){return G=>{let L=m.stringValidators.validUnicode()(G);if(!L){const z=this.locale.maketext("This note is too long.");L=m.stringValidators.maxCharacterLength(z)(j,G)}if(!L){const z=G.match(A);if(z){L={};const se=z.index,oe=z[0].codePointAt(0);this.addError(L,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",oe,1+se))}}return L}}}},6128:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.cpanelUsernameValidators=void 0;const r=h(2257);F.cpanelUsernameValidators=new class m extends r.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(A){const x=A||this.locale.maketext("This is not a valid username.");return R=>{let j={};return R.value&&!this.VALID_USERNAME.test(R.value)?(j=this.addError(j,"invalidUsername",x),j):null}}}},6156:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.databaseValidators=void 0;const r=h(2257),m=h(6369);F.databaseValidators=new class B extends r.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(x,R,j){return O=>x===m.DatabaseType.MySQL?(this._dbPrefix=R||"",this.validateMySQLDatabaseName(O.value,j||"")):null}validateMySQLDatabaseName(x,R){const j=this._performMySqlDatabaseNameValidation(x,R);let O={};return j?(O=this.addError(O,"databaseName",j),O):null}_performMySqlDatabaseNameValidation(x,R){let j=null;return j=this._verifyNameLengthLimit(x),null!==j||(j=this._verifyDatabaseNameIgnoreLength(x),null!==j)||(j=this._verifyDatabaseName(x,R)),j}_verifyNameLengthLimit(x){let R=null,j=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(j-=this._dbPrefix.length+1);const O=unescape(encodeURIComponent(x)).length-j;return O>0&&(R={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",O,j)}),R}_verifyDatabaseNameIgnoreLength(x){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(x)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(x)?{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(x,R){if(null!==x&&x.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const j=this._verifySpecialWildcardsInDatabaseNames(x);return null!==j?j:R&&this._convertVersionStringToNumber(R)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(x)?{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.",R,".")}:null}_convertVersionStringToNumber(x){return x.match(/mariadb/i)&&(x=x.replace(/^[^-]+-/,"")),parseInt(x.replace(/-.*/,"").split(/\./).map(function(R){return R.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(x){if(null===x)return null;const R=x.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let j=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(j-=this._dbPrefix.length+1);const O=R-j;return O>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.",["\\","_","%"],j,R,O)}:null}}},4559:function(J,F,h){"use strict";var r=this&&this.__importDefault||function(j){return j&&j.__esModule?j:{default:j}};Object.defineProperty(F,"__esModule",{value:!0}),F.domainValidators=void 0;const m=h(549),B=r(h(4879)),A=r(h(836)),x=h(2257);F.domainValidators=new class R extends x.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(O){const G=[],L=B.default.ucs2.decode(O);for(let z=0;z<L.length;z++)L[z]>this.UNICODE_ASCII_CUTOFF&&G.push(B.default.ucs2.encode([L[z]]));return A.default(G)}_validateLabelBasics(){return O=>{let G={};if(O.value&&0!==O.value.length){if(O.value.length>this.MAX_LABEL_BYTES)G=this.addError(G,"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("-"===O.value[0])G=this.addError(G,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===O.value[O.value.length-1])G=this.addError(G,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(B.default.toASCII(O.value).length>this.MAX_LABEL_BYTES){const L=this._getNonASCII(O.value);G=this.addError(G,"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,L[0]))}}else G=this.addError(G,"length",this.locale.maketext("A label must not be empty."));return G}}validDomainLength(){return O=>{let G={};if(O.value.length>this.MAX_DOMAIN_BYTES)return G=this.addError(G,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),G;if(B.default.toASCII(O.value).length>this.MAX_DOMAIN_BYTES){const z=this._getNonASCII(O.value);return G=this.addError(G,"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,z[0])),G}return null}}validateLabel(){return O=>m.runValidationGroup(O,[this._validateLabelBasics(),G=>{let L={};return this.NONINITIAL_LABEL_REGEX.test(G.value)||(L=this.addError(L,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),L}])}validateTLD(){return O=>{let G={};return!this.VALID_TLD_REGEX.test(O.value)&&!this.VALID_IDN_TLD_REGEX.test(O.value)&&(G=this.addError(G,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),G}}fqdn(){return O=>{const G=O.value.split("."),L=G[G.length-1],z=G[0],se=O.value,oe=[()=>{let Pe={};const Te=this.IPv4_REGEX.test(se),Oe=this.IPv6_REGEX.test(se);return Te||Oe?Pe=this.addError(Pe,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):G.length<2?Pe=this.addError(Pe,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:z}),this.validateTLD().bind(this,{value:"."+L})];return G.forEach(Pe=>{oe.push(this.validateLabel().bind(this,{value:Pe}))}),m.runValidationGroup(O,oe)}}fqdnOrIP(){return O=>{const G=m.runValidationGroup(O,[this.anyIP()]),L=O.value.split("."),z=L[L.length-1],se=L[0],oe=[Te=>{let Oe={};return L.length<2&&(Oe=this.addError(Oe,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Oe},this.validDomainLength(),this.validateLabel().bind(this,{value:se}),this.validateTLD().bind(this,{value:"."+z})];L.forEach(Te=>{oe.push(this.validateLabel().bind(this,{value:Te}))});const Pe=m.runValidationGroup(O,oe);return G&&Pe?{...G,...Pe}:null}}ipv4(){return O=>{let G={};return O.value&&!this.IPv4_REGEX.test(O.value)?(G=this.addError(G,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),G):null}}ipv6(){return O=>{let G={};return O.value&&!this.IPv6_REGEX.test(O.value)?(G=this.addError(G,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),G):null}}anyIP(){return O=>{let G={};return!O.value||this.IPv4_REGEX.test(O.value)||this.IPv6_REGEX.test(O.value)?null:(G=this.addError(G,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),G)}}}},8415:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.emailValidators=void 0;const r=h(2257);F.emailValidators=new class m extends r.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(A){const x=A||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return R=>{let j={};return R.value&&!this.VALID_EMAIL.test(R.value)?(j=this.addError(j,"invalidEmail",x),j):null}}}},7348:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.equalityValidators=void 0;const r=h(2257);F.equalityValidators=new class m extends r.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(A,x,R){return j=>{const O=j.get(x).value;let L={};return O===j.get(R).value&&""!==O?(L=this.addError(L,"equalFields",A),L):null}}}},2502:(J,F,h)=>{"use strict";F.uZ=F.dt=F.Xz=void 0;const m=h(50);Object.defineProperty(F,"dt",{enumerable:!0,get:function(){return m.commonValidators}});const B=h(4559);Object.defineProperty(F,"Xz",{enumerable:!0,get:function(){return B.domainValidators}});const A=h(2257);Object.defineProperty(F,"uZ",{enumerable:!0,get:function(){return A.BaseValidator}});h(6156),h(6369),h(6128),h(8415),h(7348),h(7414),h(9761)},2257:(J,F)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.BaseValidator=void 0;let h,r=!0;F.BaseValidator=class B{constructor(){this.prefix="",h={maketext:x=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(x){h=x}get locale(){return h}_buildKey(x){return r?`cpanel.${this.prefix}.${x}`:x}static disablePrefixing(){r=!1}static enablePrefixing(){r=!0}addError(x={},R,j){return"string"==typeof j&&(j={message:j}),x[this._buildKey(R)]=j,x}}},6369:(J,F)=>{"use strict";var r;Object.defineProperty(F,"__esModule",{value:!0}),F.DatabaseType=void 0,(r=F.DatabaseType||(F.DatabaseType={})).MySQL="MySQL",r.PostgreSQL="PostgreSQL"},91:(J,F)=>{"use strict";function B(x){return"0x"+x.toString(16)}Object.defineProperty(F,"__esModule",{value:!0}),F.characterLength=void 0,F.characterLength=function A(x,R){let j=0;for(let O=0;O<x.length;O++){j++;const G=x.charCodeAt(O);if(55296==(64512&G)){if(O++,O===x.length)throw new Error(R.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",B(G)));const L=x.charCodeAt(O);if(56320!=(64512&L))throw new Error(R.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[G,L].map(B),O))}}return j}},549:function(J,F,h){"use strict";var r=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(F,"__esModule",{value:!0}),F.runValidationGroup=void 0;const m=r(h(9721));F.runValidationGroup=function B(A,x){const R={};return x.forEach(j=>{m.default(R,j(A))}),Object.keys(R).length?R:null}},9761:(J,F,h)=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.stringValidators=void 0;const r=h(2257),m=h(91);F.stringValidators=new class A extends r.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return R=>{let j;try{j=m.characterLength(R,this.locale)}catch(O){const G={};return this.addError(G,"unicode",O.message),G}return null}}maxCharacterLength(R){return(j,O)=>{if(m.characterLength(O,this.locale)>j){const se={};return this.addError(se,"length",R),se}return null}}maxUTF8Length(R){return(j,O)=>{if(function B(x){return unescape(encodeURIComponent(x)).length}(O)>j){const G={};return this.addError(G,"length",R),G}return null}}}},4994:(J,F,h)=>{var r=h(4312),m=h(6421),B=h(5764),A=h(8685),x=h(6676);function R(j){var O=-1,G=null==j?0:j.length;for(this.clear();++O<G;){var L=j[O];this.set(L[0],L[1])}}R.prototype.clear=r,R.prototype.delete=m,R.prototype.get=B,R.prototype.has=A,R.prototype.set=x,J.exports=R},9215:(J,F,h)=>{var r=h(1840),m=h(4378),B=h(4981),A=h(7343),x=h(8895);function R(j){var O=-1,G=null==j?0:j.length;for(this.clear();++O<G;){var L=j[O];this.set(L[0],L[1])}}R.prototype.clear=r,R.prototype.delete=m,R.prototype.get=B,R.prototype.has=A,R.prototype.set=x,J.exports=R},1501:(J,F,h)=>{var B=h(3436)(h(2119),"Map");J.exports=B},9850:(J,F,h)=>{var r=h(638),m=h(1184),B=h(866),A=h(3771),x=h(1772);function R(j){var O=-1,G=null==j?0:j.length;for(this.clear();++O<G;){var L=j[O];this.set(L[0],L[1])}}R.prototype.clear=r,R.prototype.delete=m,R.prototype.get=B,R.prototype.has=A,R.prototype.set=x,J.exports=R},6323:(J,F,h)=>{var B=h(3436)(h(2119),"Set");J.exports=B},8849:(J,F,h)=>{var r=h(9850),m=h(4600),B=h(1387);function A(x){var R=-1,j=null==x?0:x.length;for(this.__data__=new r;++R<j;)this.add(x[R])}A.prototype.add=A.prototype.push=m,A.prototype.has=B,J.exports=A},443:(J,F,h)=>{var r=h(2119);J.exports=r.Symbol},6999:J=>{J.exports=function F(h,r,m){switch(m.length){case 0:return h.call(r);case 1:return h.call(r,m[0]);case 2:return h.call(r,m[0],m[1]);case 3:return h.call(r,m[0],m[1],m[2])}return h.apply(r,m)}},1253:(J,F,h)=>{var r=h(4164);J.exports=function m(B,A){return!(null==B||!B.length)&&r(B,A,0)>-1}},7609:J=>{J.exports=function F(h,r,m){for(var B=-1,A=null==h?0:h.length;++B<A;)if(m(r,h[B]))return!0;return!1}},2271:(J,F,h)=>{var r=h(5334),m=h(7151),B=h(1503),A=h(891),x=h(8442),R=h(8159),O=Object.prototype.hasOwnProperty;J.exports=function G(L,z){var se=B(L),oe=!se&&m(L),Pe=!se&&!oe&&A(L),Te=!se&&!oe&&!Pe&&R(L),Oe=se||oe||Pe||Te,Ie=Oe?r(L.length,String):[],mt=Ie.length;for(var rt in L)(z||O.call(L,rt))&&(!Oe||!("length"==rt||Pe&&("offset"==rt||"parent"==rt)||Te&&("buffer"==rt||"byteLength"==rt||"byteOffset"==rt)||x(rt,mt)))&&Ie.push(rt);return Ie}},4633:J=>{J.exports=function F(h,r){for(var m=-1,B=null==h?0:h.length,A=Array(B);++m<B;)A[m]=r(h[m],m,h);return A}},8745:J=>{J.exports=function F(h,r,m,B){var A=-1,x=null==h?0:h.length;for(B&&x&&(m=h[++A]);++A<x;)m=r(m,h[A],A,h);return m}},69:J=>{var F=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;J.exports=function h(r){return r.match(F)||[]}},9719:(J,F,h)=>{var r=h(5683),m=h(217),A=Object.prototype.hasOwnProperty;J.exports=function x(R,j,O){var G=R[j];(!A.call(R,j)||!m(G,O)||void 0===O&&!(j in R))&&r(R,j,O)}},3503:(J,F,h)=>{var r=h(217);J.exports=function m(B,A){for(var x=B.length;x--;)if(r(B[x][0],A))return x;return-1}},5683:(J,F,h)=>{var r=h(6713);J.exports=function m(B,A,x){"__proto__"==A&&r?r(B,A,{configurable:!0,enumerable:!0,value:x,writable:!0}):B[A]=x}},5317:J=>{J.exports=function F(h,r,m,B){for(var A=h.length,x=m+(B?1:-1);B?x--:++x<A;)if(r(h[x],x,h))return x;return-1}},3337:(J,F,h)=>{var r=h(443),m=h(1318),B=h(2902),R=r?r.toStringTag:void 0;J.exports=function j(O){return null==O?void 0===O?"[object Undefined]":"[object Null]":R&&R in Object(O)?m(O):B(O)}},4164:(J,F,h)=>{var r=h(5317),m=h(968),B=h(4977);J.exports=function A(x,R,j){return R==R?B(x,R,j):r(x,m,j)}},186:(J,F,h)=>{var r=h(3337),m=h(2671);J.exports=function A(x){return m(x)&&"[object Arguments]"==r(x)}},968:J=>{J.exports=function F(h){return h!=h}},7304:(J,F,h)=>{var r=h(5946),m=h(1943),B=h(5940),A=h(2827),R=/^\[object .+?Constructor\]$/,z=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");J.exports=function se(oe){return!(!B(oe)||m(oe))&&(r(oe)?z:R).test(A(oe))}},1083:(J,F,h)=>{var r=h(3337),m=h(6231),B=h(2671),xe={};xe["[object Float32Array]"]=xe["[object Float64Array]"]=xe["[object Int8Array]"]=xe["[object Int16Array]"]=xe["[object Int32Array]"]=xe["[object Uint8Array]"]=xe["[object Uint8ClampedArray]"]=xe["[object Uint16Array]"]=xe["[object Uint32Array]"]=!0,xe["[object Arguments]"]=xe["[object Array]"]=xe["[object ArrayBuffer]"]=xe["[object Boolean]"]=xe["[object DataView]"]=xe["[object Date]"]=xe["[object Error]"]=xe["[object Function]"]=xe["[object Map]"]=xe["[object Number]"]=xe["[object Object]"]=xe["[object RegExp]"]=xe["[object Set]"]=xe["[object String]"]=xe["[object WeakMap]"]=!1,J.exports=function nt(_t){return B(_t)&&m(_t.length)&&!!xe[r(_t)]}},2809:(J,F,h)=>{var r=h(5940),m=h(5488),B=h(2158),x=Object.prototype.hasOwnProperty;J.exports=function R(j){if(!r(j))return B(j);var O=m(j),G=[];for(var L in j)"constructor"==L&&(O||!x.call(j,L))||G.push(L);return G}},2724:J=>{J.exports=function F(h){return function(r){return null==h?void 0:h[r]}}},3269:(J,F,h)=>{var r=h(2608),m=h(3983),B=h(2185);J.exports=function A(x,R){return B(m(x,R,r),x+"")}},9510:(J,F,h)=>{var r=h(6684),m=h(6713),B=h(2608);J.exports=m?function(x,R){return m(x,"toString",{configurable:!0,enumerable:!1,value:r(R),writable:!0})}:B},5334:J=>{J.exports=function F(h,r){for(var m=-1,B=Array(h);++m<h;)B[m]=r(m);return B}},3935:(J,F,h)=>{var r=h(443),m=h(4633),B=h(1503),A=h(4129),R=r?r.prototype:void 0,j=R?R.toString:void 0;J.exports=function O(G){if("string"==typeof G)return G;if(B(G))return m(G,O)+"";if(A(G))return j?j.call(G):"";var L=G+"";return"0"==L&&1/G==-1/0?"-0":L}},5647:J=>{J.exports=function F(h){return function(r){return h(r)}}},707:(J,F,h)=>{var r=h(8849),m=h(1253),B=h(7609),A=h(5972),x=h(4575),R=h(4174);J.exports=function O(G,L,z){var se=-1,oe=m,Pe=G.length,Te=!0,Oe=[],Ie=Oe;if(z)Te=!1,oe=B;else if(Pe>=200){var mt=L?null:x(G);if(mt)return R(mt);Te=!1,oe=A,Ie=new r}else Ie=L?[]:Oe;e:for(;++se<Pe;){var rt=G[se],lt=L?L(rt):rt;if(rt=z||0!==rt?rt:0,Te&<==lt){for(var dt=Ie.length;dt--;)if(Ie[dt]===lt)continue e;L&&Ie.push(lt),Oe.push(rt)}else oe(Ie,lt,z)||(Ie!==Oe&&Ie.push(lt),Oe.push(rt))}return Oe}},5972:J=>{J.exports=function F(h,r){return h.has(r)}},1989:(J,F,h)=>{var r=h(9719),m=h(5683);J.exports=function B(A,x,R,j){var O=!R;R||(R={});for(var G=-1,L=x.length;++G<L;){var z=x[G],se=j?j(R[z],A[z],z,R,A):void 0;void 0===se&&(se=A[z]),O?m(R,z,se):r(R,z,se)}return R}},4610:(J,F,h)=>{var r=h(2119);J.exports=r["__core-js_shared__"]},4944:(J,F,h)=>{var r=h(3269),m=h(3342);J.exports=function B(A){return r(function(x,R){var j=-1,O=R.length,G=O>1?R[O-1]:void 0,L=O>2?R[2]:void 0;for(G=A.length>3&&"function"==typeof G?(O--,G):void 0,L&&m(R[0],R[1],L)&&(G=O<3?void 0:G,O=1),x=Object(x);++j<O;){var z=R[j];z&&A(x,z,j,G)}return x})}},1491:(J,F,h)=>{var r=h(8745),m=h(4707),B=h(7188),x=RegExp("['\u2019]","g");J.exports=function R(j){return function(O){return r(B(m(O).replace(x,"")),j,"")}}},4575:(J,F,h)=>{var r=h(6323),m=h(2552),B=h(4174),x=r&&1/B(new r([,-0]))[1]==1/0?function(R){return new r(R)}:m;J.exports=x},9148:(J,F,h)=>{var B=h(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"});J.exports=B},6713:(J,F,h)=>{var r=h(3436),m=function(){try{var B=r(Object,"defineProperty");return B({},"",{}),B}catch{}}();J.exports=m},9122:J=>{var F="object"==typeof global&&global&&global.Object===Object&&global;J.exports=F},4537:(J,F,h)=>{var r=h(3819);J.exports=function m(B,A){var x=B.__data__;return r(A)?x["string"==typeof A?"string":"hash"]:x.map}},3436:(J,F,h)=>{var r=h(7304),m=h(1990);J.exports=function B(A,x){var R=m(A,x);return r(R)?R:void 0}},9519:(J,F,h)=>{var m=h(9385)(Object.getPrototypeOf,Object);J.exports=m},1318:(J,F,h)=>{var r=h(443),m=Object.prototype,B=m.hasOwnProperty,A=m.toString,x=r?r.toStringTag:void 0;J.exports=function R(j){var O=B.call(j,x),G=j[x];try{j[x]=void 0;var L=!0}catch{}var z=A.call(j);return L&&(O?j[x]=G:delete j[x]),z}},1990:J=>{J.exports=function F(h,r){return null==h?void 0:h[r]}},9062:J=>{var F=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;J.exports=function h(r){return F.test(r)}},4312:(J,F,h)=>{var r=h(862);J.exports=function m(){this.__data__=r?r(null):{},this.size=0}},6421:J=>{J.exports=function F(h){var r=this.has(h)&&delete this.__data__[h];return this.size-=r?1:0,r}},5764:(J,F,h)=>{var r=h(862),A=Object.prototype.hasOwnProperty;J.exports=function x(R){var j=this.__data__;if(r){var O=j[R];return"__lodash_hash_undefined__"===O?void 0:O}return A.call(j,R)?j[R]:void 0}},8685:(J,F,h)=>{var r=h(862),B=Object.prototype.hasOwnProperty;J.exports=function A(x){var R=this.__data__;return r?void 0!==R[x]:B.call(R,x)}},6676:(J,F,h)=>{var r=h(862);J.exports=function B(A,x){var R=this.__data__;return this.size+=this.has(A)?0:1,R[A]=r&&void 0===x?"__lodash_hash_undefined__":x,this}},8442:J=>{var h=/^(?:0|[1-9]\d*)$/;J.exports=function r(m,B){var A=typeof m;return!!(B=B??9007199254740991)&&("number"==A||"symbol"!=A&&h.test(m))&&m>-1&&m%1==0&&m<B}},3342:(J,F,h)=>{var r=h(217),m=h(6507),B=h(8442),A=h(5940);J.exports=function x(R,j,O){if(!A(O))return!1;var G=typeof j;return!!("number"==G?m(O)&&B(j,O.length):"string"==G&&j in O)&&r(O[j],R)}},3819:J=>{J.exports=function F(h){var r=typeof h;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==h:null===h}},1943:(J,F,h)=>{var A,r=h(4610),m=(A=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+A:"";J.exports=function B(A){return!!m&&m in A}},5488:J=>{var F=Object.prototype;J.exports=function h(r){var m=r&&r.constructor;return r===("function"==typeof m&&m.prototype||F)}},1840:J=>{J.exports=function F(){this.__data__=[],this.size=0}},4378:(J,F,h)=>{var r=h(3503),B=Array.prototype.splice;J.exports=function A(x){var R=this.__data__,j=r(R,x);return!(j<0||(j==R.length-1?R.pop():B.call(R,j,1),--this.size,0))}},4981:(J,F,h)=>{var r=h(3503);J.exports=function m(B){var A=this.__data__,x=r(A,B);return x<0?void 0:A[x][1]}},7343:(J,F,h)=>{var r=h(3503);J.exports=function m(B){return r(this.__data__,B)>-1}},8895:(J,F,h)=>{var r=h(3503);J.exports=function m(B,A){var x=this.__data__,R=r(x,B);return R<0?(++this.size,x.push([B,A])):x[R][1]=A,this}},638:(J,F,h)=>{var r=h(4994),m=h(9215),B=h(1501);J.exports=function A(){this.size=0,this.__data__={hash:new r,map:new(B||m),string:new r}}},1184:(J,F,h)=>{var r=h(4537);J.exports=function m(B){var A=r(this,B).delete(B);return this.size-=A?1:0,A}},866:(J,F,h)=>{var r=h(4537);J.exports=function m(B){return r(this,B).get(B)}},3771:(J,F,h)=>{var r=h(4537);J.exports=function m(B){return r(this,B).has(B)}},1772:(J,F,h)=>{var r=h(4537);J.exports=function m(B,A){var x=r(this,B),R=x.size;return x.set(B,A),this.size+=x.size==R?0:1,this}},862:(J,F,h)=>{var m=h(3436)(Object,"create");J.exports=m},2158:J=>{J.exports=function F(h){var r=[];if(null!=h)for(var m in Object(h))r.push(m);return r}},3597:(J,F,h)=>{J=h.nmd(J);var r=h(9122),m=F&&!F.nodeType&&F,B=m&&J&&!J.nodeType&&J,x=B&&B.exports===m&&r.process,R=function(){try{return B&&B.require&&B.require("util").types||x&&x.binding&&x.binding("util")}catch{}}();J.exports=R},2902:J=>{var h=Object.prototype.toString;J.exports=function r(m){return h.call(m)}},9385:J=>{J.exports=function F(h,r){return function(m){return h(r(m))}}},3983:(J,F,h)=>{var r=h(6999),m=Math.max;J.exports=function B(A,x,R){return x=m(void 0===x?A.length-1:x,0),function(){for(var j=arguments,O=-1,G=m(j.length-x,0),L=Array(G);++O<G;)L[O]=j[x+O];O=-1;for(var z=Array(x+1);++O<x;)z[O]=j[O];return z[x]=R(L),r(A,this,z)}}},2119:(J,F,h)=>{var r=h(9122),m="object"==typeof self&&self&&self.Object===Object&&self,B=r||m||Function("return this")();J.exports=B},4600:J=>{J.exports=function h(r){return this.__data__.set(r,"__lodash_hash_undefined__"),this}},1387:J=>{J.exports=function F(h){return this.__data__.has(h)}},4174:J=>{J.exports=function F(h){var r=-1,m=Array(h.size);return h.forEach(function(B){m[++r]=B}),m}},2185:(J,F,h)=>{var r=h(9510),B=h(29)(r);J.exports=B},29:J=>{var r=Date.now;J.exports=function m(B){var A=0,x=0;return function(){var R=r(),j=16-(R-x);if(x=R,j>0){if(++A>=800)return arguments[0]}else A=0;return B.apply(void 0,arguments)}}},4977:J=>{J.exports=function F(h,r,m){for(var B=m-1,A=h.length;++B<A;)if(h[B]===r)return B;return-1}},2827:J=>{var h=Function.prototype.toString;J.exports=function r(m){if(null!=m){try{return h.call(m)}catch{}try{return m+""}catch{}}return""}},910:J=>{var F="\\ud800-\\udfff",A="\\u2700-\\u27bf",x="a-z\\xdf-\\xf6\\xf8-\\xff",L="A-Z\\xc0-\\xd6\\xd8-\\xde",se="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="["+se+"]",Oe="\\d+",Ie="["+A+"]",mt="["+x+"]",rt="[^"+F+se+Oe+A+x+L+"]",Ye="(?:\\ud83c[\\udde6-\\uddff]){2}",_e="[\\ud800-\\udbff][\\udc00-\\udfff]",je="["+L+"]",Ve="(?:"+mt+"|"+rt+")",xe="(?:"+je+"|"+rt+")",nt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",_t="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Ge="[\\ufe0e\\ufe0f]?",Cn=Ge+Qe+"(?:\\u200d(?:"+["[^"+F+"]",Ye,_e].join("|")+")"+Ge+Qe+")*",_n="(?:"+[Ie,Ye,_e].join("|")+")"+Cn,Ln=RegExp([je+"?"+mt+"+"+nt+"(?="+[Pe,je,"$"].join("|")+")",xe+"+"+_t+"(?="+[Pe,je+Ve,"$"].join("|")+")",je+"?"+Ve+"+"+nt,je+"+"+_t,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,_n].join("|"),"g");J.exports=function Nn(Yn){return Yn.match(Ln)||[]}},9919:(J,F,h)=>{var r=h(1989),m=h(4944),B=h(6555),A=m(function(x,R){r(R,B(R),x)});J.exports=A},6684:J=>{J.exports=function F(h){return function(){return h}}},4707:(J,F,h)=>{var r=h(9148),m=h(3943),B=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,G=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");J.exports=function L(z){return(z=m(z))&&z.replace(B,r).replace(G,"")}},217:J=>{J.exports=function F(h,r){return h===r||h!=h&&r!=r}},9721:(J,F,h)=>{J.exports=h(9919)},2608:J=>{J.exports=function F(h){return h}},7151:(J,F,h)=>{var r=h(186),m=h(2671),B=Object.prototype,A=B.hasOwnProperty,x=B.propertyIsEnumerable,R=r(function(){return arguments}())?r:function(j){return m(j)&&A.call(j,"callee")&&!x.call(j,"callee")};J.exports=R},1503:J=>{J.exports=Array.isArray},6507:(J,F,h)=>{var r=h(5946),m=h(6231);J.exports=function B(A){return null!=A&&m(A.length)&&!r(A)}},4798:(J,F,h)=>{var r=h(3337),m=h(2671);J.exports=function A(x){return!0===x||!1===x||m(x)&&"[object Boolean]"==r(x)}},891:(J,F,h)=>{J=h.nmd(J);var r=h(2119),m=h(3580),B=F&&!F.nodeType&&F,A=B&&J&&!J.nodeType&&J,R=A&&A.exports===B?r.Buffer:void 0;J.exports=(R?R.isBuffer:void 0)||m},5946:(J,F,h)=>{var r=h(3337),m=h(5940);J.exports=function j(O){if(!m(O))return!1;var G=r(O);return"[object Function]"==G||"[object GeneratorFunction]"==G||"[object AsyncFunction]"==G||"[object Proxy]"==G}},6231:J=>{J.exports=function h(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}},1305:J=>{J.exports=function F(h){return null===h}},9138:(J,F,h)=>{var r=h(3337),m=h(2671);J.exports=function A(x){return"number"==typeof x||m(x)&&"[object Number]"==r(x)}},5940:J=>{J.exports=function F(h){var r=typeof h;return null!=h&&("object"==r||"function"==r)}},2671:J=>{J.exports=function F(h){return null!=h&&"object"==typeof h}},7614:(J,F,h)=>{var r=h(3337),m=h(9519),B=h(2671),j=Function.prototype.toString,O=Object.prototype.hasOwnProperty,G=j.call(Object);J.exports=function L(z){if(!B(z)||"[object Object]"!=r(z))return!1;var se=m(z);if(null===se)return!0;var oe=O.call(se,"constructor")&&se.constructor;return"function"==typeof oe&&oe instanceof oe&&j.call(oe)==G}},248:(J,F,h)=>{var r=h(3337),m=h(1503),B=h(2671);J.exports=function x(R){return"string"==typeof R||!m(R)&&B(R)&&"[object String]"==r(R)}},4129:(J,F,h)=>{var r=h(3337),m=h(2671);J.exports=function A(x){return"symbol"==typeof x||m(x)&&"[object Symbol]"==r(x)}},8159:(J,F,h)=>{var r=h(1083),m=h(5647),B=h(3597),A=B&&B.isTypedArray,x=A?m(A):r;J.exports=x},4235:J=>{J.exports=function F(h){return void 0===h}},6555:(J,F,h)=>{var r=h(2271),m=h(2809),B=h(6507);J.exports=function A(x){return B(x)?r(x,!0):m(x)}},2552:J=>{J.exports=function F(){}},1978:(J,F,h)=>{var m=h(1491)(function(B,A,x){return B+(x?"_":"")+A.toLowerCase()});J.exports=m},3580:J=>{J.exports=function F(){return!1}},3943:(J,F,h)=>{var r=h(3935);J.exports=function m(B){return null==B?"":r(B)}},836:(J,F,h)=>{var r=h(707);J.exports=function m(B){return B&&B.length?r(B):[]}},7188:(J,F,h)=>{var r=h(69),m=h(9062),B=h(3943),A=h(910);J.exports=function x(R,j,O){return R=B(R),void 0===(j=O?void 0:j)?m(R)?A(R):r(R):R.match(j)||[]}},4879:(J,F,h)=>{"use strict";h.r(F),h.d(F,{decode:()=>je,default:()=>_t,encode:()=>ve,toASCII:()=>xe,toUnicode:()=>Ve,ucs2decode:()=>lt,ucs2encode:()=>dt});const r=2147483647,m=36,L=/^xn--/,z=/[^\0-\x7E]/,se=/[\x2E\u3002\uFF0E\uFF61]/g,oe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Te=Math.floor,Oe=String.fromCharCode;function Ie(Qe){throw new RangeError(oe[Qe])}function rt(Qe,Ge){const wn=Qe.split("@");let Ht="";wn.length>1&&(Ht=wn[0]+"@",Qe=wn[1]);const Cn=function mt(Qe,Ge){const wn=[];let Ht=Qe.length;for(;Ht--;)wn[Ht]=Ge(Qe[Ht]);return wn}((Qe=Qe.replace(se,".")).split("."),Ge).join(".");return Ht+Cn}function lt(Qe){const Ge=[];let wn=0;const Ht=Qe.length;for(;wn<Ht;){const hn=Qe.charCodeAt(wn++);if(hn>=55296&&hn<=56319&&wn<Ht){const Cn=Qe.charCodeAt(wn++);56320==(64512&Cn)?Ge.push(((1023&hn)<<10)+(1023&Cn)+65536):(Ge.push(hn),wn--)}else Ge.push(hn)}return Ge}const dt=Qe=>String.fromCodePoint(...Qe),ke=function(Qe){return Qe-48<10?Qe-22:Qe-65<26?Qe-65:Qe-97<26?Qe-97:m},Ye=function(Qe,Ge){return Qe+22+75*(Qe<26)-((0!=Ge)<<5)},_e=function(Qe,Ge,wn){let Ht=0;for(Qe=wn?Te(Qe/700):Qe>>1,Qe+=Te(Qe/Ge);Qe>455;Ht+=m)Qe=Te(Qe/35);return Te(Ht+36*Qe/(Qe+38))},je=function(Qe){const Ge=[],wn=Qe.length;let Ht=0,hn=128,Cn=72,_n=Qe.lastIndexOf("-");_n<0&&(_n=0);for(let Ln=0;Ln<_n;++Ln)Qe.charCodeAt(Ln)>=128&&Ie("not-basic"),Ge.push(Qe.charCodeAt(Ln));for(let Ln=_n>0?_n+1:0;Ln<wn;){let Nn=Ht;for(let Vt=1,Qt=m;;Qt+=m){Ln>=wn&&Ie("invalid-input");const Fn=ke(Qe.charCodeAt(Ln++));(Fn>=m||Fn>Te((r-Ht)/Vt))&&Ie("overflow"),Ht+=Fn*Vt;const Kt=Qt<=Cn?1:Qt>=Cn+26?26:Qt-Cn;if(Fn<Kt)break;const Rn=m-Kt;Vt>Te(r/Rn)&&Ie("overflow"),Vt*=Rn}const Yn=Ge.length+1;Cn=_e(Ht-Nn,Yn,0==Nn),Te(Ht/Yn)>r-hn&&Ie("overflow"),hn+=Te(Ht/Yn),Ht%=Yn,Ge.splice(Ht++,0,hn)}return String.fromCodePoint(...Ge)},ve=function(Qe){const Ge=[];let wn=(Qe=lt(Qe)).length,Ht=128,hn=0,Cn=72;for(const Nn of Qe)Nn<128&&Ge.push(Oe(Nn));let _n=Ge.length,Ln=_n;for(_n&&Ge.push("-");Ln<wn;){let Nn=r;for(const Vt of Qe)Vt>=Ht&&Vt<Nn&&(Nn=Vt);const Yn=Ln+1;Nn-Ht>Te((r-hn)/Yn)&&Ie("overflow"),hn+=(Nn-Ht)*Yn,Ht=Nn;for(const Vt of Qe)if(Vt<Ht&&++hn>r&&Ie("overflow"),Vt==Ht){let Qt=hn;for(let Fn=m;;Fn+=m){const Kt=Fn<=Cn?1:Fn>=Cn+26?26:Fn-Cn;if(Qt<Kt)break;const Rn=Qt-Kt,Sn=m-Kt;Ge.push(Oe(Ye(Kt+Rn%Sn,0))),Qt=Te(Rn/Sn)}Ge.push(Oe(Ye(Qt,0))),Cn=_e(hn,Yn,Ln==_n),hn=0,++Ln}++hn,++Ht}return Ge.join("")},Ve=function(Qe){return rt(Qe,function(Ge){return L.test(Ge)?je(Ge.slice(4).toLowerCase()):Ge})},xe=function(Qe){return rt(Qe,function(Ge){return z.test(Ge)?"xn--"+ve(Ge):Ge})},_t={version:"2.1.0",ucs2:{decode:lt,encode:dt},decode:je,encode:ve,toASCII:xe,toUnicode:Ve}},2916:(J,F,h)=>{"use strict";h.d(F,{y:()=>z});var r=h(3489),B=h(7668),A=h(3292),R=h(3821),j=h(5379);var L=h(2830);let z=(()=>{class oe{constructor(Te){this._isScalar=!1,Te&&(this._subscribe=Te)}lift(Te){const Oe=new oe;return Oe.source=this,Oe.operator=Te,Oe}subscribe(Te,Oe,Ie){const{operator:mt}=this,rt=function x(oe,Pe,Te){if(oe){if(oe instanceof r.L)return oe;if(oe[B.b])return oe[B.b]()}return oe||Pe||Te?new r.L(oe,Pe,Te):new r.L(A.c)}(Te,Oe,Ie);if(rt.add(mt?mt.call(rt,this.source):this.source||L.v.useDeprecatedSynchronousErrorHandling&&!rt.syncErrorThrowable?this._subscribe(rt):this._trySubscribe(rt)),L.v.useDeprecatedSynchronousErrorHandling&&rt.syncErrorThrowable&&(rt.syncErrorThrowable=!1,rt.syncErrorThrown))throw rt.syncErrorValue;return rt}_trySubscribe(Te){try{return this._subscribe(Te)}catch(Oe){L.v.useDeprecatedSynchronousErrorHandling&&(Te.syncErrorThrown=!0,Te.syncErrorValue=Oe),function m(oe){for(;oe;){const{closed:Pe,destination:Te,isStopped:Oe}=oe;if(Pe||Oe)return!1;oe=Te&&Te instanceof r.L?Te:null}return!0}(Te)?Te.error(Oe):console.warn(Oe)}}forEach(Te,Oe){return new(Oe=se(Oe))((Ie,mt)=>{let rt;rt=this.subscribe(lt=>{try{Te(lt)}catch(dt){mt(dt),rt&&rt.unsubscribe()}},mt,Ie)})}_subscribe(Te){const{source:Oe}=this;return Oe&&Oe.subscribe(Te)}[R.L](){return this}pipe(...Te){return 0===Te.length?this:function G(oe){return 0===oe.length?j.y:1===oe.length?oe[0]:function(Te){return oe.reduce((Oe,Ie)=>Ie(Oe),Te)}}(Te)(this)}toPromise(Te){return new(Te=se(Te))((Oe,Ie)=>{let mt;this.subscribe(rt=>mt=rt,rt=>Ie(rt),()=>Oe(mt))})}}return oe.create=Pe=>new oe(Pe),oe})();function se(oe){if(oe||(oe=L.v.Promise||Promise),!oe)throw new Error("no Promise impl found");return oe}},3292:(J,F,h)=>{"use strict";h.d(F,{c:()=>B});var r=h(2830),m=h(2782);const B={closed:!0,next(A){},error(A){if(r.v.useDeprecatedSynchronousErrorHandling)throw A;(0,m.z)(A)},complete(){}}},8929:(J,F,h)=>{"use strict";h.d(F,{Yc:()=>j,xQ:()=>O});var r=h(2916),m=h(3489),B=h(2654),A=h(5279),x=h(5283),R=h(7668);class j extends m.L{constructor(z){super(z),this.destination=z}}let O=(()=>{class L extends r.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[R.b](){return new j(this)}lift(se){const oe=new G(this,this);return oe.operator=se,oe}next(se){if(this.closed)throw new A.N;if(!this.isStopped){const{observers:oe}=this,Pe=oe.length,Te=oe.slice();for(let Oe=0;Oe<Pe;Oe++)Te[Oe].next(se)}}error(se){if(this.closed)throw new A.N;this.hasError=!0,this.thrownError=se,this.isStopped=!0;const{observers:oe}=this,Pe=oe.length,Te=oe.slice();for(let Oe=0;Oe<Pe;Oe++)Te[Oe].error(se);this.observers.length=0}complete(){if(this.closed)throw new A.N;this.isStopped=!0;const{observers:se}=this,oe=se.length,Pe=se.slice();for(let Te=0;Te<oe;Te++)Pe[Te].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(se){if(this.closed)throw new A.N;return super._trySubscribe(se)}_subscribe(se){if(this.closed)throw new A.N;return this.hasError?(se.error(this.thrownError),B.w.EMPTY):this.isStopped?(se.complete(),B.w.EMPTY):(this.observers.push(se),new x.W(this,se))}asObservable(){const se=new r.y;return se.source=this,se}}return L.create=(z,se)=>new G(z,se),L})();class G extends O{constructor(z,se){super(),this.destination=z,this.source=se}next(z){const{destination:se}=this;se&&se.next&&se.next(z)}error(z){const{destination:se}=this;se&&se.error&&this.destination.error(z)}complete(){const{destination:z}=this;z&&z.complete&&this.destination.complete()}_subscribe(z){const{source:se}=this;return se?this.source.subscribe(z):B.w.EMPTY}}},5283:(J,F,h)=>{"use strict";h.d(F,{W:()=>m});var r=h(2654);class m extends r.w{constructor(A,x){super(),this.subject=A,this.subscriber=x,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const A=this.subject,x=A.observers;if(this.subject=null,!x||0===x.length||A.isStopped||A.closed)return;const R=x.indexOf(this.subscriber);-1!==R&&x.splice(R,1)}}},3489:(J,F,h)=>{"use strict";h.d(F,{L:()=>j});var r=h(7043),m=h(3292),B=h(2654),A=h(7668),x=h(2830),R=h(2782);class j extends B.w{constructor(L,z,se){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=m.c;break;case 1:if(!L){this.destination=m.c;break}if("object"==typeof L){L instanceof j?(this.syncErrorThrowable=L.syncErrorThrowable,this.destination=L,L.add(this)):(this.syncErrorThrowable=!0,this.destination=new O(this,L));break}default:this.syncErrorThrowable=!0,this.destination=new O(this,L,z,se)}}[A.b](){return this}static create(L,z,se){const oe=new j(L,z,se);return oe.syncErrorThrowable=!1,oe}next(L){this.isStopped||this._next(L)}error(L){this.isStopped||(this.isStopped=!0,this._error(L))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(L){this.destination.next(L)}_error(L){this.destination.error(L),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:L}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=L,this}}class O extends j{constructor(L,z,se,oe){super(),this._parentSubscriber=L;let Pe,Te=this;(0,r.m)(z)?Pe=z:z&&(Pe=z.next,se=z.error,oe=z.complete,z!==m.c&&(Te=Object.create(z),(0,r.m)(Te.unsubscribe)&&this.add(Te.unsubscribe.bind(Te)),Te.unsubscribe=this.unsubscribe.bind(this))),this._context=Te,this._next=Pe,this._error=se,this._complete=oe}next(L){if(!this.isStopped&&this._next){const{_parentSubscriber:z}=this;x.v.useDeprecatedSynchronousErrorHandling&&z.syncErrorThrowable?this.__tryOrSetError(z,this._next,L)&&this.unsubscribe():this.__tryOrUnsub(this._next,L)}}error(L){if(!this.isStopped){const{_parentSubscriber:z}=this,{useDeprecatedSynchronousErrorHandling:se}=x.v;if(this._error)se&&z.syncErrorThrowable?(this.__tryOrSetError(z,this._error,L),this.unsubscribe()):(this.__tryOrUnsub(this._error,L),this.unsubscribe());else if(z.syncErrorThrowable)se?(z.syncErrorValue=L,z.syncErrorThrown=!0):(0,R.z)(L),this.unsubscribe();else{if(this.unsubscribe(),se)throw L;(0,R.z)(L)}}}complete(){if(!this.isStopped){const{_parentSubscriber:L}=this;if(this._complete){const z=()=>this._complete.call(this._context);x.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable?(this.__tryOrSetError(L,z),this.unsubscribe()):(this.__tryOrUnsub(z),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(L,z){try{L.call(this._context,z)}catch(se){if(this.unsubscribe(),x.v.useDeprecatedSynchronousErrorHandling)throw se;(0,R.z)(se)}}__tryOrSetError(L,z,se){if(!x.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{z.call(this._context,se)}catch(oe){return x.v.useDeprecatedSynchronousErrorHandling?(L.syncErrorValue=oe,L.syncErrorThrown=!0,!0):((0,R.z)(oe),!0)}return!1}_unsubscribe(){const{_parentSubscriber:L}=this;this._context=null,this._parentSubscriber=null,L.unsubscribe()}}},2654:(J,F,h)=>{"use strict";h.d(F,{w:()=>R});var r=h(6688),m=h(7830),B=h(7043);const x=(()=>{function O(G){return Error.call(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map((L,z)=>`${z+1}) ${L.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=G,this}return O.prototype=Object.create(Error.prototype),O})();class R{constructor(G){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,G&&(this._ctorUnsubscribe=!0,this._unsubscribe=G)}unsubscribe(){let G;if(this.closed)return;let{_parentOrParents:L,_ctorUnsubscribe:z,_unsubscribe:se,_subscriptions:oe}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,L instanceof R)L.remove(this);else if(null!==L)for(let Pe=0;Pe<L.length;++Pe)L[Pe].remove(this);if((0,B.m)(se)){z&&(this._unsubscribe=void 0);try{se.call(this)}catch(Pe){G=Pe instanceof x?j(Pe.errors):[Pe]}}if((0,r.k)(oe)){let Pe=-1,Te=oe.length;for(;++Pe<Te;){const Oe=oe[Pe];if((0,m.K)(Oe))try{Oe.unsubscribe()}catch(Ie){G=G||[],Ie instanceof x?G=G.concat(j(Ie.errors)):G.push(Ie)}}}if(G)throw new x(G)}add(G){let L=G;if(!G)return R.EMPTY;switch(typeof G){case"function":L=new R(G);case"object":if(L===this||L.closed||"function"!=typeof L.unsubscribe)return L;if(this.closed)return L.unsubscribe(),L;if(!(L instanceof R)){const oe=L;L=new R,L._subscriptions=[oe]}break;default:throw new Error("unrecognized teardown "+G+" added to Subscription.")}let{_parentOrParents:z}=L;if(null===z)L._parentOrParents=this;else if(z instanceof R){if(z===this)return L;L._parentOrParents=[z,this]}else{if(-1!==z.indexOf(this))return L;z.push(this)}const se=this._subscriptions;return null===se?this._subscriptions=[L]:se.push(L),L}remove(G){const L=this._subscriptions;if(L){const z=L.indexOf(G);-1!==z&&L.splice(z,1)}}}var O;function j(O){return O.reduce((G,L)=>G.concat(L instanceof x?L.errors:L),[])}R.EMPTY=((O=new R).closed=!0,O)},2830:(J,F,h)=>{"use strict";h.d(F,{v:()=>m});let r=!1;const m={Promise:void 0,set useDeprecatedSynchronousErrorHandling(B){if(B){const A=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+A.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=B},get useDeprecatedSynchronousErrorHandling(){return r}}},1177:(J,F,h)=>{"use strict";h.d(F,{Ds:()=>R,IY:()=>A,ft:()=>O});var r=h(3489),m=h(2916),B=h(9249);class A extends r.L{constructor(L){super(),this.parent=L}_next(L){this.parent.notifyNext(L)}_error(L){this.parent.notifyError(L),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class R extends r.L{notifyNext(L){this.destination.next(L)}notifyError(L){this.destination.error(L)}notifyComplete(){this.destination.complete()}}function O(G,L){if(L.closed)return;if(G instanceof m.y)return G.subscribe(L);let z;try{z=(0,B.s)(G)(L)}catch(se){L.error(se)}return z}},1762:(J,F,h)=>{"use strict";h.d(F,{N:()=>R,c:()=>x});var r=h(8929),m=h(2916),B=h(2654),A=h(4327);class x extends m.y{constructor(z,se){super(),this.source=z,this.subjectFactory=se,this._refCount=0,this._isComplete=!1}_subscribe(z){return this.getSubject().subscribe(z)}getSubject(){const z=this._subject;return(!z||z.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let z=this._connection;return z||(this._isComplete=!1,z=this._connection=new B.w,z.add(this.source.subscribe(new j(this.getSubject(),this))),z.closed&&(this._connection=null,z=B.w.EMPTY)),z}refCount(){return(0,A.x)()(this)}}const R=(()=>{const L=x.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:L._subscribe},_isComplete:{value:L._isComplete,writable:!0},getSubject:{value:L.getSubject},connect:{value:L.connect},refCount:{value:L.refCount}}})();class j extends r.Yc{constructor(z,se){super(z),this.connectable=se}_error(z){this._unsubscribe(),super._error(z)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const z=this.connectable;if(z){this.connectable=null;const se=z._connection;z._refCount=0,z._subject=null,z._connection=null,se&&se.unsubscribe()}}}},1221:(J,F,h)=>{"use strict";h.d(F,{z:()=>A});var r=h(1086),m=h(9146);function A(...x){return function B(){return(0,m.J)(1)}()((0,r.of)(...x))}},8896:(J,F,h)=>{"use strict";h.d(F,{E:()=>m,c:()=>B});var r=h(2916);const m=new r.y(x=>x.complete());function B(x){return x?function A(x){return new r.y(R=>x.schedule(()=>R.complete()))}(x):m}},567:(J,F,h)=>{"use strict";h.d(F,{D:()=>R});var r=h(2916),m=h(6688),B=h(4850),A=h(7830),x=h(5254);function R(...O){if(1===O.length){const G=O[0];if((0,m.k)(G))return j(G,null);if((0,A.K)(G)&&Object.getPrototypeOf(G)===Object.prototype){const L=Object.keys(G);return j(L.map(z=>G[z]),L)}}if("function"==typeof O[O.length-1]){const G=O.pop();return j(O=1===O.length&&(0,m.k)(O[0])?O[0]:O,null).pipe((0,B.U)(L=>G(...L)))}return j(O,null)}function j(O,G){return new r.y(L=>{const z=O.length;if(0===z)return void L.complete();const se=new Array(z);let oe=0,Pe=0;for(let Te=0;Te<z;Te++){const Oe=(0,x.D)(O[Te]);let Ie=!1;L.add(Oe.subscribe({next:mt=>{Ie||(Ie=!0,Pe++),se[Te]=mt},error:mt=>L.error(mt),complete:()=>{oe++,(oe===z||!Ie)&&(Pe===z&&L.next(G?G.reduce((mt,rt,lt)=>(mt[rt]=se[lt],mt),{}):se),L.complete())}}))}})}},5254:(J,F,h)=>{"use strict";h.d(F,{D:()=>Te});var r=h(2916),m=h(9249),B=h(2654),A=h(3821),j=h(6454),O=h(5430),z=h(8955),se=h(8515);function Te(Oe,Ie){return Ie?function Pe(Oe,Ie){if(null!=Oe){if(function L(Oe){return Oe&&"function"==typeof Oe[A.L]}(Oe))return function x(Oe,Ie){return new r.y(mt=>{const rt=new B.w;return rt.add(Ie.schedule(()=>{const lt=Oe[A.L]();rt.add(lt.subscribe({next(dt){rt.add(Ie.schedule(()=>mt.next(dt)))},error(dt){rt.add(Ie.schedule(()=>mt.error(dt)))},complete(){rt.add(Ie.schedule(()=>mt.complete()))}}))})),rt})}(Oe,Ie);if((0,z.t)(Oe))return function R(Oe,Ie){return new r.y(mt=>{const rt=new B.w;return rt.add(Ie.schedule(()=>Oe.then(lt=>{rt.add(Ie.schedule(()=>{mt.next(lt),rt.add(Ie.schedule(()=>mt.complete()))}))},lt=>{rt.add(Ie.schedule(()=>mt.error(lt)))}))),rt})}(Oe,Ie);if((0,se.z)(Oe))return(0,j.r)(Oe,Ie);if(function oe(Oe){return Oe&&"function"==typeof Oe[O.hZ]}(Oe)||"string"==typeof Oe)return function G(Oe,Ie){if(!Oe)throw new Error("Iterable cannot be null");return new r.y(mt=>{const rt=new B.w;let lt;return rt.add(()=>{lt&&"function"==typeof lt.return&<.return()}),rt.add(Ie.schedule(()=>{lt=Oe[O.hZ](),rt.add(Ie.schedule(function(){if(mt.closed)return;let dt,ke;try{const Ye=lt.next();dt=Ye.value,ke=Ye.done}catch(Ye){return void mt.error(Ye)}ke?mt.complete():(mt.next(dt),this.schedule())}))})),rt})}(Oe,Ie)}throw new TypeError((null!==Oe&&typeof Oe||Oe)+" is not observable")}(Oe,Ie):Oe instanceof r.y?Oe:new r.y((0,m.s)(Oe))}},3009:(J,F,h)=>{"use strict";h.d(F,{n:()=>A});var r=h(2916),m=h(3650),B=h(6454);function A(x,R){return R?(0,B.r)(x,R):new r.y((0,m.V)(x))}},3753:(J,F,h)=>{"use strict";h.d(F,{R:()=>R});var r=h(2916),m=h(6688),B=h(7043),A=h(4850);function R(z,se,oe,Pe){return(0,B.m)(oe)&&(Pe=oe,oe=void 0),Pe?R(z,se,oe).pipe((0,A.U)(Te=>(0,m.k)(Te)?Pe(...Te):Pe(Te))):new r.y(Te=>{j(z,se,function Oe(Ie){Te.next(arguments.length>1?Array.prototype.slice.call(arguments):Ie)},Te,oe)})}function j(z,se,oe,Pe,Te){let Oe;if(function L(z){return z&&"function"==typeof z.addEventListener&&"function"==typeof z.removeEventListener}(z)){const Ie=z;z.addEventListener(se,oe,Te),Oe=()=>Ie.removeEventListener(se,oe,Te)}else if(function G(z){return z&&"function"==typeof z.on&&"function"==typeof z.off}(z)){const Ie=z;z.on(se,oe),Oe=()=>Ie.off(se,oe)}else if(function O(z){return z&&"function"==typeof z.addListener&&"function"==typeof z.removeListener}(z)){const Ie=z;z.addListener(se,oe),Oe=()=>Ie.removeListener(se,oe)}else{if(!z||!z.length)throw new TypeError("Invalid event target");for(let Ie=0,mt=z.length;Ie<mt;Ie++)j(z[Ie],se,oe,Pe,Te)}Pe.add(Oe)}},6787:(J,F,h)=>{"use strict";h.d(F,{T:()=>x});var r=h(2916),m=h(2866),B=h(9146),A=h(3009);function x(...R){let j=Number.POSITIVE_INFINITY,O=null,G=R[R.length-1];return(0,m.K)(G)?(O=R.pop(),R.length>1&&"number"==typeof R[R.length-1]&&(j=R.pop())):"number"==typeof G&&(j=R.pop()),null===O&&1===R.length&&R[0]instanceof r.y?R[0]:(0,B.J)(j)((0,A.n)(R,O))}},1086:(J,F,h)=>{"use strict";h.d(F,{of:()=>A});var r=h(2866),m=h(3009),B=h(6454);function A(...x){let R=x[x.length-1];return(0,r.K)(R)?(x.pop(),(0,B.r)(x,R)):(0,m.n)(x)}},1737:(J,F,h)=>{"use strict";h.d(F,{_:()=>m});var r=h(2916);function m(A,x){return new r.y(x?R=>x.schedule(B,0,{error:A,subscriber:R}):R=>R.error(A))}function B({error:A,subscriber:x}){x.error(A)}},1406:(J,F,h)=>{"use strict";h.d(F,{b:()=>m});var r=h(1709);function m(B,A){return(0,r.zg)(B,A,1)}},13:(J,F,h)=>{"use strict";h.d(F,{b:()=>B});var r=h(3489),m=h(353);function B(j,O=m.P){return G=>G.lift(new A(j,O))}class A{constructor(O,G){this.dueTime=O,this.scheduler=G}call(O,G){return G.subscribe(new x(O,this.dueTime,this.scheduler))}}class x extends r.L{constructor(O,G,L){super(O),this.dueTime=G,this.scheduler=L,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(O){this.clearDebounce(),this.lastValue=O,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(R,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:O}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(O)}}clearDebounce(){const O=this.debouncedSubscription;null!==O&&(this.remove(O),O.unsubscribe(),this.debouncedSubscription=null)}}function R(j){j.debouncedNext()}},2198:(J,F,h)=>{"use strict";h.d(F,{h:()=>m});var r=h(3489);function m(x,R){return function(O){return O.lift(new B(x,R))}}class B{constructor(R,j){this.predicate=R,this.thisArg=j}call(R,j){return j.subscribe(new A(R,this.predicate,this.thisArg))}}class A extends r.L{constructor(R,j,O){super(R),this.predicate=j,this.thisArg=O,this.count=0}_next(R){let j;try{j=this.predicate.call(this.thisArg,R,this.count++)}catch(O){return void this.destination.error(O)}j&&this.destination.next(R)}}},4850:(J,F,h)=>{"use strict";h.d(F,{U:()=>m});var r=h(3489);function m(x,R){return function(O){if("function"!=typeof x)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return O.lift(new B(x,R))}}class B{constructor(R,j){this.project=R,this.thisArg=j}call(R,j){return j.subscribe(new A(R,this.project,this.thisArg))}}class A extends r.L{constructor(R,j,O){super(R),this.project=j,this.count=0,this.thisArg=O||this}_next(R){let j;try{j=this.project.call(this.thisArg,R,this.count++)}catch(O){return void this.destination.error(O)}this.destination.next(j)}}},9146:(J,F,h)=>{"use strict";h.d(F,{J:()=>B});var r=h(1709),m=h(5379);function B(A=Number.POSITIVE_INFINITY){return(0,r.zg)(m.y,A)}},1709:(J,F,h)=>{"use strict";h.d(F,{zg:()=>A});var r=h(4850),m=h(5254),B=h(1177);function A(O,G,L=Number.POSITIVE_INFINITY){return"function"==typeof G?z=>z.pipe(A((se,oe)=>(0,m.D)(O(se,oe)).pipe((0,r.U)((Pe,Te)=>G(se,Pe,oe,Te))),L)):("number"==typeof G&&(L=G),z=>z.lift(new x(O,L)))}class x{constructor(G,L=Number.POSITIVE_INFINITY){this.project=G,this.concurrent=L}call(G,L){return L.subscribe(new R(G,this.project,this.concurrent))}}class R extends B.Ds{constructor(G,L,z=Number.POSITIVE_INFINITY){super(G),this.project=L,this.concurrent=z,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(G){this.active<this.concurrent?this._tryNext(G):this.buffer.push(G)}_tryNext(G){let L;const z=this.index++;try{L=this.project(G,z)}catch(se){return void this.destination.error(se)}this.active++,this._innerSub(L)}_innerSub(G){const L=new B.IY(this),z=this.destination;z.add(L);const se=(0,B.ft)(G,L);se!==L&&z.add(se)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(G){this.destination.next(G)}notifyComplete(){const G=this.buffer;this.active--,G.length>0?this._next(G.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(J,F,h)=>{"use strict";h.d(F,{x:()=>m});var r=h(3489);function m(){return function(R){return R.lift(new B(R))}}class B{constructor(R){this.connectable=R}call(R,j){const{connectable:O}=this;O._refCount++;const G=new A(R,O),L=j.subscribe(G);return G.closed||(G.connection=O.connect()),L}}class A extends r.L{constructor(R,j){super(R),this.connectable=j}_unsubscribe(){const{connectable:R}=this;if(!R)return void(this.connection=null);this.connectable=null;const j=R._refCount;if(j<=0)return void(this.connection=null);if(R._refCount=j-1,j>1)return void(this.connection=null);const{connection:O}=this,G=R._connection;this.connection=null,G&&(!O||G===O)&&G.unsubscribe()}}},7803:(J,F,h)=>{"use strict";h.d(F,{d:()=>Ye});var r=h(8929),m=h(6686),A=h(2268);const j=new class x extends A.v{}(class B extends m.o{constructor(ve,Ve){super(ve,Ve),this.scheduler=ve,this.work=Ve}schedule(ve,Ve=0){return Ve>0?super.schedule(ve,Ve):(this.delay=Ve,this.state=ve,this.scheduler.flush(this),this)}execute(ve,Ve){return Ve>0||this.closed?super.execute(ve,Ve):this._execute(ve,Ve)}requestAsyncId(ve,Ve,xe=0){return null!==xe&&xe>0||null===xe&&this.delay>0?super.requestAsyncId(ve,Ve,xe):ve.flush(this)}});var O=h(2654),G=h(3489),L=h(8896),z=h(1086),se=h(1737);class Pe{constructor(ve,Ve,xe){this.kind=ve,this.value=Ve,this.error=xe,this.hasValue="N"===ve}observe(ve){switch(this.kind){case"N":return ve.next&&ve.next(this.value);case"E":return ve.error&&ve.error(this.error);case"C":return ve.complete&&ve.complete()}}do(ve,Ve,xe){switch(this.kind){case"N":return ve&&ve(this.value);case"E":return Ve&&Ve(this.error);case"C":return xe&&xe()}}accept(ve,Ve,xe){return ve&&"function"==typeof ve.next?this.observe(ve):this.do(ve,Ve,xe)}toObservable(){switch(this.kind){case"N":return(0,z.of)(this.value);case"E":return(0,se._)(this.error);case"C":return(0,L.c)()}throw new Error("unexpected notification kind value")}static createNext(ve){return typeof ve<"u"?new Pe("N",ve):Pe.undefinedValueNotification}static createError(ve){return new Pe("E",void 0,ve)}static createComplete(){return Pe.completeNotification}}Pe.completeNotification=new Pe("C"),Pe.undefinedValueNotification=new Pe("N",void 0);class Ie extends G.L{constructor(ve,Ve,xe=0){super(ve),this.scheduler=Ve,this.delay=xe}static dispatch(ve){const{notification:Ve,destination:xe}=ve;Ve.observe(xe),this.unsubscribe()}scheduleMessage(ve){this.destination.add(this.scheduler.schedule(Ie.dispatch,this.delay,new mt(ve,this.destination)))}_next(ve){this.scheduleMessage(Pe.createNext(ve))}_error(ve){this.scheduleMessage(Pe.createError(ve)),this.unsubscribe()}_complete(){this.scheduleMessage(Pe.createComplete()),this.unsubscribe()}}class mt{constructor(ve,Ve){this.notification=ve,this.destination=Ve}}var rt=h(5279),lt=h(5283);class dt extends r.xQ{constructor(ve=Number.POSITIVE_INFINITY,Ve=Number.POSITIVE_INFINITY,xe){super(),this.scheduler=xe,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=ve<1?1:ve,this._windowTime=Ve<1?1:Ve,Ve===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(ve){if(!this.isStopped){const Ve=this._events;Ve.push(ve),Ve.length>this._bufferSize&&Ve.shift()}super.next(ve)}nextTimeWindow(ve){this.isStopped||(this._events.push(new ke(this._getNow(),ve)),this._trimBufferThenGetEvents()),super.next(ve)}_subscribe(ve){const Ve=this._infiniteTimeWindow,xe=Ve?this._events:this._trimBufferThenGetEvents(),nt=this.scheduler,_t=xe.length;let Qe;if(this.closed)throw new rt.N;if(this.isStopped||this.hasError?Qe=O.w.EMPTY:(this.observers.push(ve),Qe=new lt.W(this,ve)),nt&&ve.add(ve=new Ie(ve,nt)),Ve)for(let Ge=0;Ge<_t&&!ve.closed;Ge++)ve.next(xe[Ge]);else for(let Ge=0;Ge<_t&&!ve.closed;Ge++)ve.next(xe[Ge].value);return this.hasError?ve.error(this.thrownError):this.isStopped&&ve.complete(),Qe}_getNow(){return(this.scheduler||j).now()}_trimBufferThenGetEvents(){const ve=this._getNow(),Ve=this._bufferSize,xe=this._windowTime,nt=this._events,_t=nt.length;let Qe=0;for(;Qe<_t&&!(ve-nt[Qe].time<xe);)Qe++;return _t>Ve&&(Qe=Math.max(Qe,_t-Ve)),Qe>0&&nt.splice(0,Qe),nt}}class ke{constructor(ve,Ve){this.time=ve,this.value=Ve}}function Ye(je,ve,Ve){let xe;return xe=je&&"object"==typeof je?je:{bufferSize:je,windowTime:ve,refCount:!1,scheduler:Ve},nt=>nt.lift(function _e({bufferSize:je=Number.POSITIVE_INFINITY,windowTime:ve=Number.POSITIVE_INFINITY,refCount:Ve,scheduler:xe}){let nt,Qe,_t=0,Ge=!1,wn=!1;return function(hn){let Cn;_t++,!nt||Ge?(Ge=!1,nt=new dt(je,ve,xe),Cn=nt.subscribe(this),Qe=hn.subscribe({next(_n){nt.next(_n)},error(_n){Ge=!0,nt.error(_n)},complete(){wn=!0,Qe=void 0,nt.complete()}}),wn&&(Qe=void 0)):Cn=nt.subscribe(this),this.add(()=>{_t--,Cn.unsubscribe(),Cn=void 0,Qe&&!wn&&Ve&&0===_t&&(Qe.unsubscribe(),Qe=void 0,nt=void 0)})}}(xe))}},1059:(J,F,h)=>{"use strict";h.d(F,{O:()=>B});var r=h(1221),m=h(2866);function B(...A){const x=A[A.length-1];return(0,m.K)(x)?(A.pop(),R=>(0,r.z)(A,R,x)):R=>(0,r.z)(A,R)}},7625:(J,F,h)=>{"use strict";h.d(F,{R:()=>m});var r=h(1177);function m(x){return R=>R.lift(new B(x))}class B{constructor(R){this.notifier=R}call(R,j){const O=new A(R),G=(0,r.ft)(this.notifier,new r.IY(O));return G&&!O.seenValue?(O.add(G),j.subscribe(O)):O}}class A extends r.Ds{constructor(R){super(R),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},2868:(J,F,h)=>{"use strict";h.d(F,{b:()=>A});var r=h(3489);function m(){}var B=h(7043);function A(j,O,G){return function(z){return z.lift(new x(j,O,G))}}class x{constructor(O,G,L){this.nextOrObserver=O,this.error=G,this.complete=L}call(O,G){return G.subscribe(new R(O,this.nextOrObserver,this.error,this.complete))}}class R extends r.L{constructor(O,G,L,z){super(O),this._tapNext=m,this._tapError=m,this._tapComplete=m,this._tapError=L||m,this._tapComplete=z||m,(0,B.m)(G)?(this._context=this,this._tapNext=G):G&&(this._context=G,this._tapNext=G.next||m,this._tapError=G.error||m,this._tapComplete=G.complete||m)}_next(O){try{this._tapNext.call(this._context,O)}catch(G){return void this.destination.error(G)}this.destination.next(O)}_error(O){try{this._tapError.call(this._context,O)}catch(G){return void this.destination.error(G)}this.destination.error(O)}_complete(){try{this._tapComplete.call(this._context)}catch(O){return void this.destination.error(O)}return this.destination.complete()}}},6454:(J,F,h)=>{"use strict";h.d(F,{r:()=>B});var r=h(2916),m=h(2654);function B(A,x){return new r.y(R=>{const j=new m.w;let O=0;return j.add(x.schedule(function(){O!==A.length?(R.next(A[O++]),R.closed||j.add(this.schedule())):R.complete()})),j})}},6686:(J,F,h)=>{"use strict";h.d(F,{o:()=>B});var r=h(2654);class m extends r.w{constructor(x,R){super()}schedule(x,R=0){return this}}class B extends m{constructor(x,R){super(x,R),this.scheduler=x,this.work=R,this.pending=!1}schedule(x,R=0){if(this.closed)return this;this.state=x;const j=this.id,O=this.scheduler;return null!=j&&(this.id=this.recycleAsyncId(O,j,R)),this.pending=!0,this.delay=R,this.id=this.id||this.requestAsyncId(O,this.id,R),this}requestAsyncId(x,R,j=0){return setInterval(x.flush.bind(x,this),j)}recycleAsyncId(x,R,j=0){if(null!==j&&this.delay===j&&!1===this.pending)return R;clearInterval(R)}execute(x,R){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const j=this._execute(x,R);if(j)return j;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(x,R){let O,j=!1;try{this.work(x)}catch(G){j=!0,O=!!G&&G||new Error(G)}if(j)return this.unsubscribe(),O}_unsubscribe(){const x=this.id,R=this.scheduler,j=R.actions,O=j.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==O&&j.splice(O,1),null!=x&&(this.id=this.recycleAsyncId(R,x,null)),this.delay=null}}},2268:(J,F,h)=>{"use strict";h.d(F,{v:()=>m});let r=(()=>{class B{constructor(x,R=B.now){this.SchedulerAction=x,this.now=R}schedule(x,R=0,j){return new this.SchedulerAction(this,x).schedule(j,R)}}return B.now=()=>Date.now(),B})();class m extends r{constructor(A,x=r.now){super(A,()=>m.delegate&&m.delegate!==this?m.delegate.now():x()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(A,x=0,R){return m.delegate&&m.delegate!==this?m.delegate.schedule(A,x,R):super.schedule(A,x,R)}flush(A){const{actions:x}=this;if(this.active)return void x.push(A);let R;this.active=!0;do{if(R=A.execute(A.state,A.delay))break}while(A=x.shift());if(this.active=!1,R){for(;A=x.shift();)A.unsubscribe();throw R}}}},352:(J,F,h)=>{"use strict";h.d(F,{Z:()=>x});var r=h(6686),B=h(2268);const x=new class A extends B.v{flush(O){this.active=!0,this.scheduled=void 0;const{actions:G}=this;let L,z=-1,se=G.length;O=O||G.shift();do{if(L=O.execute(O.state,O.delay))break}while(++z<se&&(O=G.shift()));if(this.active=!1,L){for(;++z<se&&(O=G.shift());)O.unsubscribe();throw L}}}(class m extends r.o{constructor(O,G){super(O,G),this.scheduler=O,this.work=G}requestAsyncId(O,G,L=0){return null!==L&&L>0?super.requestAsyncId(O,G,L):(O.actions.push(this),O.scheduled||(O.scheduled=requestAnimationFrame(()=>O.flush(null))))}recycleAsyncId(O,G,L=0){if(null!==L&&L>0||null===L&&this.delay>0)return super.recycleAsyncId(O,G,L);0===O.actions.length&&(cancelAnimationFrame(G),O.scheduled=void 0)}})},353:(J,F,h)=>{"use strict";h.d(F,{P:()=>A});var r=h(6686);const A=new(h(2268).v)(r.o)},5430:(J,F,h)=>{"use strict";h.d(F,{hZ:()=>m});const m=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(J,F,h)=>{"use strict";h.d(F,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(J,F,h)=>{"use strict";h.d(F,{b:()=>r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(J,F,h)=>{"use strict";h.d(F,{N:()=>m});const m=(()=>{function B(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return B.prototype=Object.create(Error.prototype),B})()},2782:(J,F,h)=>{"use strict";function r(m){setTimeout(()=>{throw m},0)}h.d(F,{z:()=>r})},5379:(J,F,h)=>{"use strict";function r(m){return m}h.d(F,{y:()=>r})},6688:(J,F,h)=>{"use strict";h.d(F,{k:()=>r});const r=Array.isArray||(m=>m&&"number"==typeof m.length)},8515:(J,F,h)=>{"use strict";h.d(F,{z:()=>r});const r=m=>m&&"number"==typeof m.length&&"function"!=typeof m},7043:(J,F,h)=>{"use strict";function r(m){return"function"==typeof m}h.d(F,{m:()=>r})},7830:(J,F,h)=>{"use strict";function r(m){return null!==m&&"object"==typeof m}h.d(F,{K:()=>r})},8955:(J,F,h)=>{"use strict";function r(m){return!!m&&"function"!=typeof m.subscribe&&"function"==typeof m.then}h.d(F,{t:()=>r})},2866:(J,F,h)=>{"use strict";function r(m){return m&&"function"==typeof m.schedule}h.d(F,{K:()=>r})},9249:(J,F,h)=>{"use strict";h.d(F,{s:()=>z});var r=h(3650),m=h(2782),A=h(5430),R=h(3821),O=h(8515),G=h(8955),L=h(7830);const z=se=>{if(se&&"function"==typeof se[R.L])return(se=>oe=>{const Pe=se[R.L]();if("function"!=typeof Pe.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Pe.subscribe(oe)})(se);if((0,O.z)(se))return(0,r.V)(se);if((0,G.t)(se))return(se=>oe=>(se.then(Pe=>{oe.closed||(oe.next(Pe),oe.complete())},Pe=>oe.error(Pe)).then(null,m.z),oe))(se);if(se&&"function"==typeof se[A.hZ])return(se=>oe=>{const Pe=se[A.hZ]();for(;;){let Te;try{Te=Pe.next()}catch(Oe){return oe.error(Oe),oe}if(Te.done){oe.complete();break}if(oe.next(Te.value),oe.closed)break}return"function"==typeof Pe.return&&oe.add(()=>{Pe.return&&Pe.return()}),oe})(se);{const Pe=`You provided ${(0,L.K)(se)?"an invalid object":`'${se}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Pe)}}},3650:(J,F,h)=>{"use strict";h.d(F,{V:()=>r});const r=m=>B=>{for(let A=0,x=m.length;A<x&&!B.closed;A++)B.next(m[A]);B.complete()}},8583:()=>{"use strict";!function(ge){const De=ge.performance;function Fe(Ce){De&&De.mark&&De.mark(Ce)}function Re(Ce,ue){De&&De.measure&&De.measure(Ce,ue)}Fe("Zone");const Ue=ge.__Zone_symbol_prefix||"__zone_symbol__";function ft(Ce){return Ue+Ce}const Ct=!0===ge[ft("forceDuplicateZoneCheck")];if(ge.Zone){if(Ct||"function"!=typeof ge.Zone.__symbol__)throw new Error("Zone already loaded.");return ge.Zone}let wt=(()=>{class Ce{constructor(w,S){this._parent=w,this._name=S?S.name||"unnamed":"<root>",this._properties=S&&S.properties||{},this._zoneDelegate=new At(this,this._parent&&this._parent._zoneDelegate,S)}static assertZonePatched(){if(ge.Promise!==On.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 w=Ce.current;for(;w.parent;)w=w.parent;return w}static get current(){return k.zone}static get currentTask(){return Q}static __load_patch(w,S,p=!1){if(On.hasOwnProperty(w)){if(!p&&Ct)throw Error("Already loaded patch: "+w)}else if(!ge["__Zone_disable_"+w]){const U="Zone:"+w;Fe(U),On[w]=S(ge,Ce,Mn),Re(U,U)}}get parent(){return this._parent}get name(){return this._name}get(w){const S=this.getZoneWith(w);if(S)return S._properties[w]}getZoneWith(w){let S=this;for(;S;){if(S._properties.hasOwnProperty(w))return S;S=S._parent}return null}fork(w){if(!w)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,w)}wrap(w,S){if("function"!=typeof w)throw new Error("Expecting function got: "+w);const p=this._zoneDelegate.intercept(this,w,S),U=this;return function(){return U.runGuarded(p,this,arguments,S)}}run(w,S,p,U){k={parent:k,zone:this};try{return this._zoneDelegate.invoke(this,w,S,p,U)}finally{k=k.parent}}runGuarded(w,S=null,p,U){k={parent:k,zone:this};try{try{return this._zoneDelegate.invoke(this,w,S,p,U)}catch(le){if(this._zoneDelegate.handleError(this,le))throw le}}finally{k=k.parent}}runTask(w,S,p){if(w.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(w.zone||jt).name+"; Execution: "+this.name+")");if(w.state===St&&(w.type===Bt||w.type===Ft))return;const U=w.state!=Rt;U&&w._transitionTo(Rt,Pt),w.runCount++;const le=Q;Q=w,k={parent:k,zone:this};try{w.type==Ft&&w.data&&!w.data.isPeriodic&&(w.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,w,S,p)}catch(he){if(this._zoneDelegate.handleError(this,he))throw he}}finally{w.state!==St&&w.state!==it&&(w.type==Bt||w.data&&w.data.isPeriodic?U&&w._transitionTo(Pt,Rt):(w.runCount=0,this._updateTaskCount(w,-1),U&&w._transitionTo(St,Rt,St))),k=k.parent,Q=le}}scheduleTask(w){if(w.zone&&w.zone!==this){let p=this;for(;p;){if(p===w.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${w.zone.name}`);p=p.parent}}w._transitionTo(pn,St);const S=[];w._zoneDelegates=S,w._zone=this;try{w=this._zoneDelegate.scheduleTask(this,w)}catch(p){throw w._transitionTo(it,pn,St),this._zoneDelegate.handleError(this,p),p}return w._zoneDelegates===S&&this._updateTaskCount(w,1),w.state==pn&&w._transitionTo(Pt,pn),w}scheduleMicroTask(w,S,p,U){return this.scheduleTask(new tt(gt,w,S,p,U,void 0))}scheduleMacroTask(w,S,p,U,le){return this.scheduleTask(new tt(Ft,w,S,p,U,le))}scheduleEventTask(w,S,p,U,le){return this.scheduleTask(new tt(Bt,w,S,p,U,le))}cancelTask(w){if(w.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(w.zone||jt).name+"; Execution: "+this.name+")");w._transitionTo(xt,Pt,Rt);try{this._zoneDelegate.cancelTask(this,w)}catch(S){throw w._transitionTo(it,xt),this._zoneDelegate.handleError(this,S),S}return this._updateTaskCount(w,-1),w._transitionTo(St,xt),w.runCount=0,w}_updateTaskCount(w,S){const p=w._zoneDelegates;-1==S&&(w._zoneDelegates=null);for(let U=0;U<p.length;U++)p[U]._updateTaskCount(w.type,S)}}return Ce.__symbol__=ft,Ce})();const Lt={name:"",onHasTask:(Ce,ue,w,S)=>Ce.hasTask(w,S),onScheduleTask:(Ce,ue,w,S)=>Ce.scheduleTask(w,S),onInvokeTask:(Ce,ue,w,S,p,U)=>Ce.invokeTask(w,S,p,U),onCancelTask:(Ce,ue,w,S)=>Ce.cancelTask(w,S)};class At{constructor(ue,w,S){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=ue,this._parentDelegate=w,this._forkZS=S&&(S&&S.onFork?S:w._forkZS),this._forkDlgt=S&&(S.onFork?w:w._forkDlgt),this._forkCurrZone=S&&(S.onFork?this.zone:w._forkCurrZone),this._interceptZS=S&&(S.onIntercept?S:w._interceptZS),this._interceptDlgt=S&&(S.onIntercept?w:w._interceptDlgt),this._interceptCurrZone=S&&(S.onIntercept?this.zone:w._interceptCurrZone),this._invokeZS=S&&(S.onInvoke?S:w._invokeZS),this._invokeDlgt=S&&(S.onInvoke?w:w._invokeDlgt),this._invokeCurrZone=S&&(S.onInvoke?this.zone:w._invokeCurrZone),this._handleErrorZS=S&&(S.onHandleError?S:w._handleErrorZS),this._handleErrorDlgt=S&&(S.onHandleError?w:w._handleErrorDlgt),this._handleErrorCurrZone=S&&(S.onHandleError?this.zone:w._handleErrorCurrZone),this._scheduleTaskZS=S&&(S.onScheduleTask?S:w._scheduleTaskZS),this._scheduleTaskDlgt=S&&(S.onScheduleTask?w:w._scheduleTaskDlgt),this._scheduleTaskCurrZone=S&&(S.onScheduleTask?this.zone:w._scheduleTaskCurrZone),this._invokeTaskZS=S&&(S.onInvokeTask?S:w._invokeTaskZS),this._invokeTaskDlgt=S&&(S.onInvokeTask?w:w._invokeTaskDlgt),this._invokeTaskCurrZone=S&&(S.onInvokeTask?this.zone:w._invokeTaskCurrZone),this._cancelTaskZS=S&&(S.onCancelTask?S:w._cancelTaskZS),this._cancelTaskDlgt=S&&(S.onCancelTask?w:w._cancelTaskDlgt),this._cancelTaskCurrZone=S&&(S.onCancelTask?this.zone:w._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const p=S&&S.onHasTask;(p||w&&w._hasTaskZS)&&(this._hasTaskZS=p?S:Lt,this._hasTaskDlgt=w,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=ue,S.onScheduleTask||(this._scheduleTaskZS=Lt,this._scheduleTaskDlgt=w,this._scheduleTaskCurrZone=this.zone),S.onInvokeTask||(this._invokeTaskZS=Lt,this._invokeTaskDlgt=w,this._invokeTaskCurrZone=this.zone),S.onCancelTask||(this._cancelTaskZS=Lt,this._cancelTaskDlgt=w,this._cancelTaskCurrZone=this.zone))}fork(ue,w){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ue,w):new wt(ue,w)}intercept(ue,w,S){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ue,w,S):w}invoke(ue,w,S,p,U){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ue,w,S,p,U):w.apply(S,p)}handleError(ue,w){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ue,w)}scheduleTask(ue,w){let S=w;if(this._scheduleTaskZS)this._hasTaskZS&&S._zoneDelegates.push(this._hasTaskDlgtOwner),S=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ue,w),S||(S=w);else if(w.scheduleFn)w.scheduleFn(w);else{if(w.type!=gt)throw new Error("Task is missing scheduleFn.");Ke(w)}return S}invokeTask(ue,w,S,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ue,w,S,p):w.callback.apply(S,p)}cancelTask(ue,w){let S;if(this._cancelTaskZS)S=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ue,w);else{if(!w.cancelFn)throw Error("Task is not cancelable");S=w.cancelFn(w)}return S}hasTask(ue,w){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ue,w)}catch(S){this.handleError(ue,S)}}_updateTaskCount(ue,w){const S=this._taskCounts,p=S[ue],U=S[ue]=p+w;if(U<0)throw new Error("More tasks executed then were scheduled.");0!=p&&0!=U||this.hasTask(this.zone,{microTask:S.microTask>0,macroTask:S.macroTask>0,eventTask:S.eventTask>0,change:ue})}}class tt{constructor(ue,w,S,p,U,le){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=ue,this.source=w,this.data=p,this.scheduleFn=U,this.cancelFn=le,!S)throw new Error("callback is not defined");this.callback=S;const he=this;this.invoke=ue===Bt&&p&&p.useG?tt.invokeTask:function(){return tt.invokeTask.call(ge,he,this,arguments)}}static invokeTask(ue,w,S){ue||(ue=this),Z++;try{return ue.runCount++,ue.zone.runTask(ue,w,S)}finally{1==Z&&pt(),Z--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(St,pn)}_transitionTo(ue,w,S){if(this._state!==w&&this._state!==S)throw new Error(`${this.type} '${this.source}': can not transition to '${ue}', expecting state '${w}'${S?" or '"+S+"'":""}, was '${this._state}'.`);this._state=ue,ue==St&&(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 tn=ft("setTimeout"),Me=ft("Promise"),ie=ft("then");let Ae,ee=[],Se=!1;function Ke(Ce){if(0===Z&&0===ee.length)if(Ae||ge[Me]&&(Ae=ge[Me].resolve(0)),Ae){let ue=Ae[ie];ue||(ue=Ae.then),ue.call(Ae,pt)}else ge[tn](pt,0);Ce&&ee.push(Ce)}function pt(){if(!Se){for(Se=!0;ee.length;){const Ce=ee;ee=[];for(let ue=0;ue<Ce.length;ue++){const w=Ce[ue];try{w.zone.runTask(w,null,null)}catch(S){Mn.onUnhandledError(S)}}}Mn.microtaskDrainDone(),Se=!1}}const jt={name:"NO ZONE"},St="notScheduled",pn="scheduling",Pt="scheduled",Rt="running",xt="canceling",it="unknown",gt="microTask",Ft="macroTask",Bt="eventTask",On={},Mn={symbol:ft,currentZoneFrame:()=>k,onUnhandledError:re,microtaskDrainDone:re,scheduleMicroTask:Ke,showUncaughtError:()=>!wt[ft("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:re,patchMethod:()=>re,bindArguments:()=>[],patchThen:()=>re,patchMacroTask:()=>re,patchEventPrototype:()=>re,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>re,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>re,wrapWithCurrentZone:()=>re,filterProperties:()=>[],attachOriginToPatched:()=>re,_redefineProperty:()=>re,patchCallbacks:()=>re};let k={parent:null,zone:new wt(null,null)},Q=null,Z=0;function re(){}Re("Zone","Zone"),ge.Zone=wt}(typeof window<"u"&&window||typeof self<"u"&&self||global);const F=Object.getOwnPropertyDescriptor,h=Object.defineProperty,r=Object.getPrototypeOf,m=Object.create,B=Array.prototype.slice,A="addEventListener",x="removeEventListener",R=Zone.__symbol__(A),j=Zone.__symbol__(x),O="true",G="false",L=Zone.__symbol__("");function z(ge,De){return Zone.current.wrap(ge,De)}function se(ge,De,Fe,Re,Ue){return Zone.current.scheduleMacroTask(ge,De,Fe,Re,Ue)}const oe=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Oe=Pe&&Te||"object"==typeof self&&self||global,mt=[null];function rt(ge,De){for(let Fe=ge.length-1;Fe>=0;Fe--)"function"==typeof ge[Fe]&&(ge[Fe]=z(ge[Fe],De+"_"+Fe));return ge}function dt(ge){return!ge||!1!==ge.writable&&!("function"==typeof ge.get&&typeof ge.set>"u")}const ke=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ye=!("nw"in Oe)&&typeof Oe.process<"u"&&"[object process]"==={}.toString.call(Oe.process),_e=!Ye&&!ke&&!(!Pe||!Te.HTMLElement),je=typeof Oe.process<"u"&&"[object process]"==={}.toString.call(Oe.process)&&!ke&&!(!Pe||!Te.HTMLElement),ve={},Ve=function(ge){if(!(ge=ge||Oe.event))return;let De=ve[ge.type];De||(De=ve[ge.type]=oe("ON_PROPERTY"+ge.type));const Fe=this||ge.target||Oe,Re=Fe[De];let Ue;if(_e&&Fe===Te&&"error"===ge.type){const ft=ge;Ue=Re&&Re.call(this,ft.message,ft.filename,ft.lineno,ft.colno,ft.error),!0===Ue&&ge.preventDefault()}else Ue=Re&&Re.apply(this,arguments),null!=Ue&&!Ue&&ge.preventDefault();return Ue};function xe(ge,De,Fe){let Re=F(ge,De);if(!Re&&Fe&&F(Fe,De)&&(Re={enumerable:!0,configurable:!0}),!Re||!Re.configurable)return;const Ue=oe("on"+De+"patched");if(ge.hasOwnProperty(Ue)&&ge[Ue])return;delete Re.writable,delete Re.value;const ft=Re.get,Ct=Re.set,wt=De.substr(2);let Lt=ve[wt];Lt||(Lt=ve[wt]=oe("ON_PROPERTY"+wt)),Re.set=function(At){let tt=this;!tt&&ge===Oe&&(tt=Oe),tt&&(tt[Lt]&&tt.removeEventListener(wt,Ve),Ct&&Ct.apply(tt,mt),"function"==typeof At?(tt[Lt]=At,tt.addEventListener(wt,Ve,!1)):tt[Lt]=null)},Re.get=function(){let At=this;if(!At&&ge===Oe&&(At=Oe),!At)return null;const tt=At[Lt];if(tt)return tt;if(ft){let tn=ft&&ft.call(this);if(tn)return Re.set.call(this,tn),"function"==typeof At.removeAttribute&&At.removeAttribute(De),tn}return null},h(ge,De,Re),ge[Ue]=!0}function nt(ge,De,Fe){if(De)for(let Re=0;Re<De.length;Re++)xe(ge,"on"+De[Re],Fe);else{const Re=[];for(const Ue in ge)"on"==Ue.substr(0,2)&&Re.push(Ue);for(let Ue=0;Ue<Re.length;Ue++)xe(ge,Re[Ue],Fe)}}const _t=oe("originalInstance");function Qe(ge){const De=Oe[ge];if(!De)return;Oe[oe(ge)]=De,Oe[ge]=function(){const Ue=rt(arguments,ge);switch(Ue.length){case 0:this[_t]=new De;break;case 1:this[_t]=new De(Ue[0]);break;case 2:this[_t]=new De(Ue[0],Ue[1]);break;case 3:this[_t]=new De(Ue[0],Ue[1],Ue[2]);break;case 4:this[_t]=new De(Ue[0],Ue[1],Ue[2],Ue[3]);break;default:throw new Error("Arg list too long.")}},Ht(Oe[ge],De);const Fe=new De(function(){});let Re;for(Re in Fe)"XMLHttpRequest"===ge&&"responseBlob"===Re||function(Ue){"function"==typeof Fe[Ue]?Oe[ge].prototype[Ue]=function(){return this[_t][Ue].apply(this[_t],arguments)}:h(Oe[ge].prototype,Ue,{set:function(ft){"function"==typeof ft?(this[_t][Ue]=z(ft,ge+"."+Ue),Ht(this[_t][Ue],ft)):this[_t][Ue]=ft},get:function(){return this[_t][Ue]}})}(Re);for(Re in De)"prototype"!==Re&&De.hasOwnProperty(Re)&&(Oe[ge][Re]=De[Re])}function Ge(ge,De,Fe){let Re=ge;for(;Re&&!Re.hasOwnProperty(De);)Re=r(Re);!Re&&ge[De]&&(Re=ge);const Ue=oe(De);let ft=null;if(Re&&(!(ft=Re[Ue])||!Re.hasOwnProperty(Ue))&&(ft=Re[Ue]=Re[De],dt(Re&&F(Re,De)))){const wt=Fe(ft,Ue,De);Re[De]=function(){return wt(this,arguments)},Ht(Re[De],ft)}return ft}function wn(ge,De,Fe){let Re=null;function Ue(ft){const Ct=ft.data;return Ct.args[Ct.cbIdx]=function(){ft.invoke.apply(this,arguments)},Re.apply(Ct.target,Ct.args),ft}Re=Ge(ge,De,ft=>function(Ct,wt){const Lt=Fe(Ct,wt);return Lt.cbIdx>=0&&"function"==typeof wt[Lt.cbIdx]?se(Lt.name,wt[Lt.cbIdx],Lt,Ue):ft.apply(Ct,wt)})}function Ht(ge,De){ge[oe("OriginalDelegate")]=De}let hn=!1,Cn=!1;function Ln(){if(hn)return Cn;hn=!0;try{const ge=Te.navigator.userAgent;(-1!==ge.indexOf("MSIE ")||-1!==ge.indexOf("Trident/")||-1!==ge.indexOf("Edge/"))&&(Cn=!0)}catch{}return Cn}Zone.__load_patch("ZoneAwarePromise",(ge,De,Fe)=>{const Re=Object.getOwnPropertyDescriptor,Ue=Object.defineProperty,Ct=Fe.symbol,wt=[],Lt=!0===ge[Ct("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],At=Ct("Promise"),tt=Ct("then");Fe.onUnhandledError=he=>{if(Fe.showUncaughtError()){const de=he&&he.rejection;de?console.error("Unhandled Promise rejection:",de instanceof Error?de.message:de,"; Zone:",he.zone.name,"; Task:",he.task&&he.task.source,"; Value:",de,de instanceof Error?de.stack:void 0):console.error(he)}},Fe.microtaskDrainDone=()=>{for(;wt.length;){const he=wt.shift();try{he.zone.runGuarded(()=>{throw he.throwOriginal?he.rejection:he})}catch(de){ie(de)}}};const Me=Ct("unhandledPromiseRejectionHandler");function ie(he){Fe.onUnhandledError(he);try{const de=De[Me];"function"==typeof de&&de.call(this,he)}catch{}}function ee(he){return he&&he.then}function Se(he){return he}function Ae(he){return w.reject(he)}const Ke=Ct("state"),pt=Ct("value"),jt=Ct("finally"),St=Ct("parentPromiseValue"),pn=Ct("parentPromiseState"),Rt=null,it=!1;function Ft(he,de){return Ne=>{try{k(he,de,Ne)}catch(ut){k(he,!1,ut)}}}const Mn=Ct("currentTaskTrace");function k(he,de,Ne){const ut=function(){let he=!1;return function(Ne){return function(){he||(he=!0,Ne.apply(null,arguments))}}}();if(he===Ne)throw new TypeError("Promise resolved with itself");if(he[Ke]===Rt){let Mt=null;try{("object"==typeof Ne||"function"==typeof Ne)&&(Mt=Ne&&Ne.then)}catch(It){return ut(()=>{k(he,!1,It)})(),he}if(de!==it&&Ne instanceof w&&Ne.hasOwnProperty(Ke)&&Ne.hasOwnProperty(pt)&&Ne[Ke]!==Rt)Z(Ne),k(he,Ne[Ke],Ne[pt]);else if(de!==it&&"function"==typeof Mt)try{Mt.call(Ne,ut(Ft(he,de)),ut(Ft(he,!1)))}catch(It){ut(()=>{k(he,!1,It)})()}else{he[Ke]=de;const It=he[pt];if(he[pt]=Ne,he[jt]===jt&&!0===de&&(he[Ke]=he[pn],he[pt]=he[St]),de===it&&Ne instanceof Error){const yt=De.currentTask&&De.currentTask.data&&De.currentTask.data.__creationTrace__;yt&&Ue(Ne,Mn,{configurable:!0,enumerable:!1,writable:!0,value:yt})}for(let yt=0;yt<It.length;)re(he,It[yt++],It[yt++],It[yt++],It[yt++]);if(0==It.length&&de==it){he[Ke]=0;let yt=Ne;try{throw new Error("Uncaught (in promise): "+function ft(he){return he&&he.toString===Object.prototype.toString?(he.constructor&&he.constructor.name||"")+": "+JSON.stringify(he):he?he.toString():Object.prototype.toString.call(he)}(Ne)+(Ne&&Ne.stack?"\n"+Ne.stack:""))}catch(Et){yt=Et}Lt&&(yt.throwOriginal=!0),yt.rejection=Ne,yt.promise=he,yt.zone=De.current,yt.task=De.currentTask,wt.push(yt),Fe.scheduleMicroTask()}}}return he}const Q=Ct("rejectionHandledHandler");function Z(he){if(0===he[Ke]){try{const de=De[Q];de&&"function"==typeof de&&de.call(this,{rejection:he[pt],promise:he})}catch{}he[Ke]=it;for(let de=0;de<wt.length;de++)he===wt[de].promise&&wt.splice(de,1)}}function re(he,de,Ne,ut,Mt){Z(he);const It=he[Ke],yt=It?"function"==typeof ut?ut:Se:"function"==typeof Mt?Mt:Ae;de.scheduleMicroTask("Promise.then",()=>{try{const Et=he[pt],qt=!!Ne&&jt===Ne[jt];qt&&(Ne[St]=Et,Ne[pn]=It);const cn=de.run(yt,void 0,qt&&yt!==Ae&&yt!==Se?[]:[Et]);k(Ne,!0,cn)}catch(Et){k(Ne,!1,Et)}},Ne)}const ue=function(){};class w{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(de){return k(new this(null),!0,de)}static reject(de){return k(new this(null),it,de)}static race(de){let Ne,ut,Mt=new this((Et,qt)=>{Ne=Et,ut=qt});function It(Et){Ne(Et)}function yt(Et){ut(Et)}for(let Et of de)ee(Et)||(Et=this.resolve(Et)),Et.then(It,yt);return Mt}static all(de){return w.allWithCallback(de)}static allSettled(de){return(this&&this.prototype instanceof w?this:w).allWithCallback(de,{thenCallback:ut=>({status:"fulfilled",value:ut}),errorCallback:ut=>({status:"rejected",reason:ut})})}static allWithCallback(de,Ne){let ut,Mt,It=new this((cn,rn)=>{ut=cn,Mt=rn}),yt=2,Et=0;const qt=[];for(let cn of de){ee(cn)||(cn=this.resolve(cn));const rn=Et;try{cn.then(Kn=>{qt[rn]=Ne?Ne.thenCallback(Kn):Kn,yt--,0===yt&&ut(qt)},Kn=>{Ne?(qt[rn]=Ne.errorCallback(Kn),yt--,0===yt&&ut(qt)):Mt(Kn)})}catch(Kn){Mt(Kn)}yt++,Et++}return yt-=2,0===yt&&ut(qt),It}constructor(de){const Ne=this;if(!(Ne instanceof w))throw new Error("Must be an instanceof Promise.");Ne[Ke]=Rt,Ne[pt]=[];try{de&&de(Ft(Ne,!0),Ft(Ne,it))}catch(ut){k(Ne,!1,ut)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return w}then(de,Ne){let ut=this.constructor[Symbol.species];(!ut||"function"!=typeof ut)&&(ut=this.constructor||w);const Mt=new ut(ue),It=De.current;return this[Ke]==Rt?this[pt].push(It,Mt,de,Ne):re(this,It,Mt,de,Ne),Mt}catch(de){return this.then(null,de)}finally(de){let Ne=this.constructor[Symbol.species];(!Ne||"function"!=typeof Ne)&&(Ne=w);const ut=new Ne(ue);ut[jt]=jt;const Mt=De.current;return this[Ke]==Rt?this[pt].push(Mt,ut,de,de):re(this,Mt,ut,de,de),ut}}w.resolve=w.resolve,w.reject=w.reject,w.race=w.race,w.all=w.all;const S=ge[At]=ge.Promise;ge.Promise=w;const p=Ct("thenPatched");function U(he){const de=he.prototype,Ne=Re(de,"then");if(Ne&&(!1===Ne.writable||!Ne.configurable))return;const ut=de.then;de[tt]=ut,he.prototype.then=function(Mt,It){return new w((Et,qt)=>{ut.call(this,Et,qt)}).then(Mt,It)},he[p]=!0}return Fe.patchThen=U,S&&(U(S),Ge(ge,"fetch",he=>function le(he){return function(de,Ne){let ut=he.apply(de,Ne);if(ut instanceof w)return ut;let Mt=ut.constructor;return Mt[p]||U(Mt),ut}}(he))),Promise[De.__symbol__("uncaughtPromiseErrors")]=wt,w}),Zone.__load_patch("toString",ge=>{const De=Function.prototype.toString,Fe=oe("OriginalDelegate"),Re=oe("Promise"),Ue=oe("Error"),ft=function(){if("function"==typeof this){const At=this[Fe];if(At)return"function"==typeof At?De.call(At):Object.prototype.toString.call(At);if(this===Promise){const tt=ge[Re];if(tt)return De.call(tt)}if(this===Error){const tt=ge[Ue];if(tt)return De.call(tt)}}return De.call(this)};ft[Fe]=De,Function.prototype.toString=ft;const Ct=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":Ct.call(this)}});let Nn=!1;if(typeof window<"u")try{const ge=Object.defineProperty({},"passive",{get:function(){Nn=!0}});window.addEventListener("test",ge,ge),window.removeEventListener("test",ge,ge)}catch{Nn=!1}const Yn={useG:!0},Vt={},Qt={},Fn=new RegExp("^"+L+"(\\w+)(true|false)$"),Kt=oe("propagationStopped");function Rn(ge,De){const Fe=(De?De(ge):ge)+G,Re=(De?De(ge):ge)+O,Ue=L+Fe,ft=L+Re;Vt[ge]={},Vt[ge][G]=Ue,Vt[ge][O]=ft}function Sn(ge,De,Fe){const Re=Fe&&Fe.add||A,Ue=Fe&&Fe.rm||x,ft=Fe&&Fe.listeners||"eventListeners",Ct=Fe&&Fe.rmAll||"removeAllListeners",wt=oe(Re),Lt="."+Re+":",tn=function(Ae,Ke,pt){if(Ae.isRemoved)return;const jt=Ae.callback;"object"==typeof jt&&jt.handleEvent&&(Ae.callback=pn=>jt.handleEvent(pn),Ae.originalDelegate=jt),Ae.invoke(Ae,Ke,[pt]);const St=Ae.options;St&&"object"==typeof St&&St.once&&Ke[Ue].call(Ke,pt.type,Ae.originalDelegate?Ae.originalDelegate:Ae.callback,St)},Me=function(Ae){if(!(Ae=Ae||ge.event))return;const Ke=this||Ae.target||ge,pt=Ke[Vt[Ae.type][G]];if(pt)if(1===pt.length)tn(pt[0],Ke,Ae);else{const jt=pt.slice();for(let St=0;St<jt.length&&(!Ae||!0!==Ae[Kt]);St++)tn(jt[St],Ke,Ae)}},ie=function(Ae){if(!(Ae=Ae||ge.event))return;const Ke=this||Ae.target||ge,pt=Ke[Vt[Ae.type][O]];if(pt)if(1===pt.length)tn(pt[0],Ke,Ae);else{const jt=pt.slice();for(let St=0;St<jt.length&&(!Ae||!0!==Ae[Kt]);St++)tn(jt[St],Ke,Ae)}};function ee(Ae,Ke){if(!Ae)return!1;let pt=!0;Ke&&void 0!==Ke.useG&&(pt=Ke.useG);const jt=Ke&&Ke.vh;let St=!0;Ke&&void 0!==Ke.chkDup&&(St=Ke.chkDup);let pn=!1;Ke&&void 0!==Ke.rt&&(pn=Ke.rt);let Pt=Ae;for(;Pt&&!Pt.hasOwnProperty(Re);)Pt=r(Pt);if(!Pt&&Ae[Re]&&(Pt=Ae),!Pt||Pt[wt])return!1;const Rt=Ke&&Ke.eventNameToString,xt={},it=Pt[wt]=Pt[Re],gt=Pt[oe(Ue)]=Pt[Ue],Ft=Pt[oe(ft)]=Pt[ft],Bt=Pt[oe(Ct)]=Pt[Ct];let On;function Mn(de,Ne){return!Nn&&"object"==typeof de&&de?!!de.capture:Nn&&Ne?"boolean"==typeof de?{capture:de,passive:!0}:de?"object"==typeof de&&!1!==de.passive?Object.assign(Object.assign({},de),{passive:!0}):de:{passive:!0}:de}Ke&&Ke.prepend&&(On=Pt[oe(Ke.prepend)]=Pt[Ke.prepend]);const ue=pt?function(de){if(!xt.isExisting)return it.call(xt.target,xt.eventName,xt.capture?ie:Me,xt.options)}:function(de){return it.call(xt.target,xt.eventName,de.invoke,xt.options)},w=pt?function(de){if(!de.isRemoved){const Ne=Vt[de.eventName];let ut;Ne&&(ut=Ne[de.capture?O:G]);const Mt=ut&&de.target[ut];if(Mt)for(let It=0;It<Mt.length;It++)if(Mt[It]===de){Mt.splice(It,1),de.isRemoved=!0,0===Mt.length&&(de.allRemoved=!0,de.target[ut]=null);break}}if(de.allRemoved)return gt.call(de.target,de.eventName,de.capture?ie:Me,de.options)}:function(de){return gt.call(de.target,de.eventName,de.invoke,de.options)},p=Ke&&Ke.diff?Ke.diff:function(de,Ne){const ut=typeof Ne;return"function"===ut&&de.callback===Ne||"object"===ut&&de.originalDelegate===Ne},U=Zone[oe("UNPATCHED_EVENTS")],le=ge[oe("PASSIVE_EVENTS")],he=function(de,Ne,ut,Mt,It=!1,yt=!1){return function(){const Et=this||ge;let qt=arguments[0];Ke&&Ke.transferEventName&&(qt=Ke.transferEventName(qt));let cn=arguments[1];if(!cn)return de.apply(this,arguments);if(Ye&&"uncaughtException"===qt)return de.apply(this,arguments);let rn=!1;if("function"!=typeof cn){if(!cn.handleEvent)return de.apply(this,arguments);rn=!0}if(jt&&!jt(de,cn,Et,arguments))return;const Kn=Nn&&!!le&&-1!==le.indexOf(qt),Zn=Mn(arguments[2],Kn);if(U)for(let rr=0;rr<U.length;rr++)if(qt===U[rr])return Kn?de.call(Et,qt,cn,Zn):de.apply(this,arguments);const or=!!Zn&&("boolean"==typeof Zn||Zn.capture),Fr=!(!Zn||"object"!=typeof Zn)&&Zn.once,si=Zone.current;let Jn=Vt[qt];Jn||(Rn(qt,Rt),Jn=Vt[qt]);const Er=Jn[or?O:G];let Ar,Pr=Et[Er],ni=!1;if(Pr){if(ni=!0,St)for(let rr=0;rr<Pr.length;rr++)if(p(Pr[rr],cn))return}else Pr=Et[Er]=[];const Br=Et.constructor.name,Qr=Qt[Br];Qr&&(Ar=Qr[qt]),Ar||(Ar=Br+Ne+(Rt?Rt(qt):qt)),xt.options=Zn,Fr&&(xt.options.once=!1),xt.target=Et,xt.capture=or,xt.eventName=qt,xt.isExisting=ni;const mr=pt?Yn:void 0;mr&&(mr.taskData=xt);const _r=si.scheduleEventTask(Ar,cn,mr,ut,Mt);return xt.target=null,mr&&(mr.taskData=null),Fr&&(Zn.once=!0),!Nn&&"boolean"==typeof _r.options||(_r.options=Zn),_r.target=Et,_r.capture=or,_r.eventName=qt,rn&&(_r.originalDelegate=cn),yt?Pr.unshift(_r):Pr.push(_r),It?Et:void 0}};return Pt[Re]=he(it,Lt,ue,w,pn),On&&(Pt.prependListener=he(On,".prependListener:",function(de){return On.call(xt.target,xt.eventName,de.invoke,xt.options)},w,pn,!0)),Pt[Ue]=function(){const de=this||ge;let Ne=arguments[0];Ke&&Ke.transferEventName&&(Ne=Ke.transferEventName(Ne));const ut=arguments[2],Mt=!!ut&&("boolean"==typeof ut||ut.capture),It=arguments[1];if(!It)return gt.apply(this,arguments);if(jt&&!jt(gt,It,de,arguments))return;const yt=Vt[Ne];let Et;yt&&(Et=yt[Mt?O:G]);const qt=Et&&de[Et];if(qt)for(let cn=0;cn<qt.length;cn++){const rn=qt[cn];if(p(rn,It))return qt.splice(cn,1),rn.isRemoved=!0,0===qt.length&&(rn.allRemoved=!0,de[Et]=null,"string"==typeof Ne)&&(de[L+"ON_PROPERTY"+Ne]=null),rn.zone.cancelTask(rn),pn?de:void 0}return gt.apply(this,arguments)},Pt[ft]=function(){const de=this||ge;let Ne=arguments[0];Ke&&Ke.transferEventName&&(Ne=Ke.transferEventName(Ne));const ut=[],Mt=ur(de,Rt?Rt(Ne):Ne);for(let It=0;It<Mt.length;It++){const yt=Mt[It];ut.push(yt.originalDelegate?yt.originalDelegate:yt.callback)}return ut},Pt[Ct]=function(){const de=this||ge;let Ne=arguments[0];if(Ne){Ke&&Ke.transferEventName&&(Ne=Ke.transferEventName(Ne));const ut=Vt[Ne];if(ut){const yt=de[ut[G]],Et=de[ut[O]];if(yt){const qt=yt.slice();for(let cn=0;cn<qt.length;cn++){const rn=qt[cn];this[Ue].call(this,Ne,rn.originalDelegate?rn.originalDelegate:rn.callback,rn.options)}}if(Et){const qt=Et.slice();for(let cn=0;cn<qt.length;cn++){const rn=qt[cn];this[Ue].call(this,Ne,rn.originalDelegate?rn.originalDelegate:rn.callback,rn.options)}}}}else{const ut=Object.keys(de);for(let Mt=0;Mt<ut.length;Mt++){const yt=Fn.exec(ut[Mt]);let Et=yt&&yt[1];Et&&"removeListener"!==Et&&this[Ct].call(this,Et)}this[Ct].call(this,"removeListener")}if(pn)return this},Ht(Pt[Re],it),Ht(Pt[Ue],gt),Bt&&Ht(Pt[Ct],Bt),Ft&&Ht(Pt[ft],Ft),!0}let Se=[];for(let Ae=0;Ae<De.length;Ae++)Se[Ae]=ee(De[Ae],Fe);return Se}function ur(ge,De){if(!De){const ft=[];for(let Ct in ge){const wt=Fn.exec(Ct);let Lt=wt&&wt[1];if(Lt&&(!De||Lt===De)){const At=ge[Ct];if(At)for(let tt=0;tt<At.length;tt++)ft.push(At[tt])}}return ft}let Fe=Vt[De];Fe||(Rn(De),Fe=Vt[De]);const Re=ge[Fe[G]],Ue=ge[Fe[O]];return Re?Ue?Re.concat(Ue):Re.slice():Ue?Ue.slice():[]}function Dn(ge,De){const Fe=ge.Event;Fe&&Fe.prototype&&De.patchMethod(Fe.prototype,"stopImmediatePropagation",Re=>function(Ue,ft){Ue[Kt]=!0,Re&&Re.apply(Ue,ft)})}function bn(ge,De,Fe,Re,Ue){const ft=Zone.__symbol__(Re);if(De[ft])return;const Ct=De[ft]=De[Re];De[Re]=function(wt,Lt,At){return Lt&&Lt.prototype&&Ue.forEach(function(tt){const tn=`${Fe}.${Re}::`+tt,Me=Lt.prototype;if(Me.hasOwnProperty(tt)){const ie=ge.ObjectGetOwnPropertyDescriptor(Me,tt);ie&&ie.value?(ie.value=ge.wrapWithCurrentZone(ie.value,tn),ge._redefineProperty(Lt.prototype,tt,ie)):Me[tt]&&(Me[tt]=ge.wrapWithCurrentZone(Me[tt],tn))}else Me[tt]&&(Me[tt]=ge.wrapWithCurrentZone(Me[tt],tn))}),Ct.call(De,wt,Lt,At)},ge.attachOriginToPatched(De[Re],Ct)}const br=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],sr=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Ze=["load"],Ee=["blur","error","focus","load","resize","scroll","messageerror"],be=["bounce","finish","start"],st=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],ze=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],We=["close","error","open","message"],ct=["error","message"],En=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],br,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function Xt(ge,De,Fe){if(!Fe||0===Fe.length)return De;const Re=Fe.filter(ft=>ft.target===ge);if(!Re||0===Re.length)return De;const Ue=Re[0].ignoreProperties;return De.filter(ft=>-1===Ue.indexOf(ft))}function Nt(ge,De,Fe,Re){ge&&nt(ge,Xt(ge,De,Fe),Re)}Zone.__load_patch("util",(ge,De,Fe)=>{Fe.patchOnProperties=nt,Fe.patchMethod=Ge,Fe.bindArguments=rt,Fe.patchMacroTask=wn;const Re=De.__symbol__("BLACK_LISTED_EVENTS"),Ue=De.__symbol__("UNPATCHED_EVENTS");ge[Ue]&&(ge[Re]=ge[Ue]),ge[Re]&&(De[Re]=De[Ue]=ge[Re]),Fe.patchEventPrototype=Dn,Fe.patchEventTarget=Sn,Fe.isIEOrEdge=Ln,Fe.ObjectDefineProperty=h,Fe.ObjectGetOwnPropertyDescriptor=F,Fe.ObjectCreate=m,Fe.ArraySlice=B,Fe.patchClass=Qe,Fe.wrapWithCurrentZone=z,Fe.filterProperties=Xt,Fe.attachOriginToPatched=Ht,Fe._redefineProperty=Object.defineProperty,Fe.patchCallbacks=bn,Fe.getGlobalObjects=()=>({globalSources:Qt,zoneSymbolEventNames:Vt,eventNames:En,isBrowser:_e,isMix:je,isNode:Ye,TRUE_STR:O,FALSE_STR:G,ZONE_SYMBOL_PREFIX:L,ADD_EVENT_LISTENER_STR:A,REMOVE_EVENT_LISTENER_STR:x})});const fn=oe("zoneTask");function Pn(ge,De,Fe,Re){let Ue=null,ft=null;Fe+=Re;const Ct={};function wt(At){const tt=At.data;return tt.args[0]=function(){return At.invoke.apply(this,arguments)},tt.handleId=Ue.apply(ge,tt.args),At}function Lt(At){return ft.call(ge,At.data.handleId)}Ue=Ge(ge,De+=Re,At=>function(tt,tn){if("function"==typeof tn[0]){const Me={isPeriodic:"Interval"===Re,delay:"Timeout"===Re||"Interval"===Re?tn[1]||0:void 0,args:tn},ie=tn[0];tn[0]=function(){try{return ie.apply(this,arguments)}finally{Me.isPeriodic||("number"==typeof Me.handleId?delete Ct[Me.handleId]:Me.handleId&&(Me.handleId[fn]=null))}};const ee=se(De,tn[0],Me,wt,Lt);if(!ee)return ee;const Se=ee.data.handleId;return"number"==typeof Se?Ct[Se]=ee:Se&&(Se[fn]=ee),Se&&Se.ref&&Se.unref&&"function"==typeof Se.ref&&"function"==typeof Se.unref&&(ee.ref=Se.ref.bind(Se),ee.unref=Se.unref.bind(Se)),"number"==typeof Se||Se?Se:ee}return At.apply(ge,tn)}),ft=Ge(ge,Fe,At=>function(tt,tn){const Me=tn[0];let ie;"number"==typeof Me?ie=Ct[Me]:(ie=Me&&Me[fn],ie||(ie=Me)),ie&&"string"==typeof ie.type?"notScheduled"!==ie.state&&(ie.cancelFn&&ie.data.isPeriodic||0===ie.runCount)&&("number"==typeof Me?delete Ct[Me]:Me&&(Me[fn]=null),ie.zone.cancelTask(ie)):At.apply(ge,tn)})}Zone.__load_patch("legacy",ge=>{const De=ge[Zone.__symbol__("legacyPatch")];De&&De()}),Zone.__load_patch("queueMicrotask",(ge,De,Fe)=>{Fe.patchMethod(ge,"queueMicrotask",Re=>function(Ue,ft){De.current.scheduleMicroTask("queueMicrotask",ft[0])})}),Zone.__load_patch("timers",ge=>{const Fe="clear";Pn(ge,"set",Fe,"Timeout"),Pn(ge,"set",Fe,"Interval"),Pn(ge,"set",Fe,"Immediate")}),Zone.__load_patch("requestAnimationFrame",ge=>{Pn(ge,"request","cancel","AnimationFrame"),Pn(ge,"mozRequest","mozCancel","AnimationFrame"),Pn(ge,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(ge,De)=>{const Fe=["alert","prompt","confirm"];for(let Re=0;Re<Fe.length;Re++)Ge(ge,Fe[Re],(ft,Ct,wt)=>function(Lt,At){return De.current.run(ft,ge,At,wt)})}),Zone.__load_patch("EventTarget",(ge,De,Fe)=>{(function an(ge,De){De.patchEventPrototype(ge,De)})(ge,Fe),function Zt(ge,De){if(Zone[De.symbol("patchEventTarget")])return;const{eventNames:Fe,zoneSymbolEventNames:Re,TRUE_STR:Ue,FALSE_STR:ft,ZONE_SYMBOL_PREFIX:Ct}=De.getGlobalObjects();for(let Lt=0;Lt<Fe.length;Lt++){const At=Fe[Lt],Me=Ct+(At+ft),ie=Ct+(At+Ue);Re[At]={},Re[At][ft]=Me,Re[At][Ue]=ie}const wt=ge.EventTarget;wt&&wt.prototype&&De.patchEventTarget(ge,[wt&&wt.prototype])}(ge,Fe);const Re=ge.XMLHttpRequestEventTarget;Re&&Re.prototype&&Fe.patchEventTarget(ge,[Re.prototype])}),Zone.__load_patch("MutationObserver",(ge,De,Fe)=>{Qe("MutationObserver"),Qe("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(ge,De,Fe)=>{Qe("IntersectionObserver")}),Zone.__load_patch("FileReader",(ge,De,Fe)=>{Qe("FileReader")}),Zone.__load_patch("on_property",(ge,De,Fe)=>{!function Qn(ge,De){if(Ye&&!je||Zone[ge.symbol("patchEvents")])return;const Fe=typeof WebSocket<"u",Re=De.__Zone_ignore_on_properties;if(_e){const Ct=window,wt=function _n(){try{const ge=Te.navigator.userAgent;if(-1!==ge.indexOf("MSIE ")||-1!==ge.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:Ct,ignoreProperties:["error"]}]:[];Nt(Ct,En.concat(["messageerror"]),Re&&Re.concat(wt),r(Ct)),Nt(Document.prototype,En,Re),typeof Ct.SVGElement<"u"&&Nt(Ct.SVGElement.prototype,En,Re),Nt(Element.prototype,En,Re),Nt(HTMLElement.prototype,En,Re),Nt(HTMLMediaElement.prototype,sr,Re),Nt(HTMLFrameSetElement.prototype,br.concat(Ee),Re),Nt(HTMLBodyElement.prototype,br.concat(Ee),Re),Nt(HTMLFrameElement.prototype,Ze,Re),Nt(HTMLIFrameElement.prototype,Ze,Re);const Lt=Ct.HTMLMarqueeElement;Lt&&Nt(Lt.prototype,be,Re);const At=Ct.Worker;At&&Nt(At.prototype,ct,Re)}const Ue=De.XMLHttpRequest;Ue&&Nt(Ue.prototype,st,Re);const ft=De.XMLHttpRequestEventTarget;ft&&Nt(ft&&ft.prototype,st,Re),typeof IDBIndex<"u"&&(Nt(IDBIndex.prototype,ze,Re),Nt(IDBRequest.prototype,ze,Re),Nt(IDBOpenDBRequest.prototype,ze,Re),Nt(IDBDatabase.prototype,ze,Re),Nt(IDBTransaction.prototype,ze,Re),Nt(IDBCursor.prototype,ze,Re)),Fe&&Nt(WebSocket.prototype,We,Re)}(Fe,ge)}),Zone.__load_patch("customElements",(ge,De,Fe)=>{!function Gt(ge,De){const{isBrowser:Fe,isMix:Re}=De.getGlobalObjects();(Fe||Re)&&ge.customElements&&"customElements"in ge&&De.patchCallbacks(De,ge.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(ge,Fe)}),Zone.__load_patch("XHR",(ge,De)=>{!function Lt(At){const tt=At.XMLHttpRequest;if(!tt)return;const tn=tt.prototype;let ie=tn[R],ee=tn[j];if(!ie){const gt=At.XMLHttpRequestEventTarget;if(gt){const Ft=gt.prototype;ie=Ft[R],ee=Ft[j]}}const Se="readystatechange",Ae="scheduled";function Ke(gt){const Ft=gt.data,Bt=Ft.target;Bt[ft]=!1,Bt[wt]=!1;const On=Bt[Ue];ie||(ie=Bt[R],ee=Bt[j]),On&&ee.call(Bt,Se,On);const Mn=Bt[Ue]=()=>{if(Bt.readyState===Bt.DONE)if(!Ft.aborted&&Bt[ft]&>.state===Ae){const Q=Bt[De.__symbol__("loadfalse")];if(0!==Bt.status&&Q&&Q.length>0){const Z=gt.invoke;gt.invoke=function(){const re=Bt[De.__symbol__("loadfalse")];for(let Ce=0;Ce<re.length;Ce++)re[Ce]===gt&&re.splice(Ce,1);!Ft.aborted&>.state===Ae&&Z.call(gt)},Q.push(gt)}else gt.invoke()}else!Ft.aborted&&!1===Bt[ft]&&(Bt[wt]=!0)};return ie.call(Bt,Se,Mn),Bt[Fe]||(Bt[Fe]=gt),xt.apply(Bt,Ft.args),Bt[ft]=!0,gt}function pt(){}function jt(gt){const Ft=gt.data;return Ft.aborted=!0,it.apply(Ft.target,Ft.args)}const St=Ge(tn,"open",()=>function(gt,Ft){return gt[Re]=0==Ft[2],gt[Ct]=Ft[1],St.apply(gt,Ft)}),Pt=oe("fetchTaskAborting"),Rt=oe("fetchTaskScheduling"),xt=Ge(tn,"send",()=>function(gt,Ft){if(!0===De.current[Rt]||gt[Re])return xt.apply(gt,Ft);{const Bt={target:gt,url:gt[Ct],isPeriodic:!1,args:Ft,aborted:!1},On=se("XMLHttpRequest.send",pt,Bt,Ke,jt);gt&&!0===gt[wt]&&!Bt.aborted&&On.state===Ae&&On.invoke()}}),it=Ge(tn,"abort",()=>function(gt,Ft){const Bt=function Me(gt){return gt[Fe]}(gt);if(Bt&&"string"==typeof Bt.type){if(null==Bt.cancelFn||Bt.data&&Bt.data.aborted)return;Bt.zone.cancelTask(Bt)}else if(!0===De.current[Pt])return it.apply(gt,Ft)})}(ge);const Fe=oe("xhrTask"),Re=oe("xhrSync"),Ue=oe("xhrListener"),ft=oe("xhrScheduled"),Ct=oe("xhrURL"),wt=oe("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",ge=>{ge.navigator&&ge.navigator.geolocation&&function lt(ge,De){const Fe=ge.constructor.name;for(let Re=0;Re<De.length;Re++){const Ue=De[Re],ft=ge[Ue];if(ft){if(!dt(F(ge,Ue)))continue;ge[Ue]=(wt=>{const Lt=function(){return wt.apply(this,rt(arguments,Fe+"."+Ue))};return Ht(Lt,wt),Lt})(ft)}}}(ge.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(ge,De)=>{function Fe(Re){return function(Ue){ur(ge,Re).forEach(Ct=>{const wt=ge.PromiseRejectionEvent;if(wt){const Lt=new wt(Re,{promise:Ue.promise,reason:Ue.rejection});Ct.invoke(Lt)}})}}ge.PromiseRejectionEvent&&(De[oe("unhandledPromiseRejectionHandler")]=Fe("unhandledrejection"),De[oe("rejectionHandledHandler")]=Fe("rejectionhandled"))})},7340:(J,F,h)=>{"use strict";h.d(F,{LC:()=>m,SB:()=>G,X$:()=>A,ZE:()=>rt,ZN:()=>mt,_j:()=>r,eR:()=>z,jt:()=>x,k1:()=>lt,l3:()=>B,oB:()=>O,vP:()=>j});class r{}class m{}const B="*";function A(dt,ke){return{type:7,name:dt,definitions:ke,options:{}}}function x(dt,ke=null){return{type:4,styles:ke,timings:dt}}function j(dt,ke=null){return{type:2,steps:dt,options:ke}}function O(dt){return{type:6,styles:dt,offset:null}}function G(dt,ke,Ye){return{type:0,name:dt,styles:ke,options:Ye}}function z(dt,ke,Ye=null){return{type:1,expr:dt,animation:ke,options:Ye}}function Ie(dt){Promise.resolve(null).then(dt)}class mt{constructor(ke=0,Ye=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ke+Ye}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ke=>ke()),this._onDoneFns=[])}onStart(ke){this._onStartFns.push(ke)}onDone(ke){this._onDoneFns.push(ke)}onDestroy(ke){this._onDestroyFns.push(ke)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ie(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ke=>ke()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ke=>ke()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(ke){this._position=this.totalTime?ke*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ke){const Ye="start"==ke?this._onStartFns:this._onDoneFns;Ye.forEach(_e=>_e()),Ye.length=0}}class rt{constructor(ke){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ke;let Ye=0,_e=0,je=0;const ve=this.players.length;0==ve?Ie(()=>this._onFinish()):this.players.forEach(Ve=>{Ve.onDone(()=>{++Ye==ve&&this._onFinish()}),Ve.onDestroy(()=>{++_e==ve&&this._onDestroy()}),Ve.onStart(()=>{++je==ve&&this._onStart()})}),this.totalTime=this.players.reduce((Ve,xe)=>Math.max(Ve,xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ke=>ke()),this._onDoneFns=[])}init(){this.players.forEach(ke=>ke.init())}onStart(ke){this._onStartFns.push(ke)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ke=>ke()),this._onStartFns=[])}onDone(ke){this._onDoneFns.push(ke)}onDestroy(ke){this._onDestroyFns.push(ke)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ke=>ke.play())}pause(){this.players.forEach(ke=>ke.pause())}restart(){this.players.forEach(ke=>ke.restart())}finish(){this._onFinish(),this.players.forEach(ke=>ke.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ke=>ke.destroy()),this._onDestroyFns.forEach(ke=>ke()),this._onDestroyFns=[])}reset(){this.players.forEach(ke=>ke.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ke){const Ye=ke*this.totalTime;this.players.forEach(_e=>{const je=_e.totalTime?Math.min(1,Ye/_e.totalTime):1;_e.setPosition(je)})}getPosition(){const ke=this.players.reduce((Ye,_e)=>null===Ye||_e.totalTime>Ye.totalTime?_e:Ye,null);return null!=ke?ke.getPosition():0}beforeDestroy(){this.players.forEach(ke=>{ke.beforeDestroy&&ke.beforeDestroy()})}triggerCallback(ke){const Ye="start"==ke?this._onStartFns:this._onDoneFns;Ye.forEach(_e=>_e()),Ye.length=0}}const lt="!"},6895:(J,F,h)=>{"use strict";h.d(F,{Do:()=>dt,EM:()=>hr,HT:()=>x,JF:()=>Ti,K0:()=>j,Mx:()=>S,NF:()=>zr,O5:()=>ut,PC:()=>or,S$:()=>Ie,V_:()=>L,Ye:()=>ke,b0:()=>lt,bD:()=>Vn,ez:()=>yr,lw:()=>O,mk:()=>p,mr:()=>rt,q:()=>B,sg:()=>he,tP:()=>Fr,w_:()=>R});var r=h(5062);let m=null;function B(){return m}function x(D){m||(m=D)}class R{}const j=new r.OlP("DocumentToken");let O=(()=>{class D{historyGo(T){throw new Error("Not implemented")}}return D.\u0275fac=function(T){return new(T||D)},D.\u0275prov=r.Yz7({token:D,factory:function(){return function G(){return(0,r.LFG)(z)}()},providedIn:"platform"}),D})();const L=new r.OlP("Location Initialized");let z=(()=>{class D extends O{constructor(T){super(),this._doc=T,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return B().getBaseHref(this._doc)}onPopState(T){const K=B().getGlobalEventTarget(this._doc,"window");return K.addEventListener("popstate",T,!1),()=>K.removeEventListener("popstate",T)}onHashChange(T){const K=B().getGlobalEventTarget(this._doc,"window");return K.addEventListener("hashchange",T,!1),()=>K.removeEventListener("hashchange",T)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(T){this.location.pathname=T}pushState(T,K,pe){se()?this._history.pushState(T,K,pe):this.location.hash=pe}replaceState(T,K,pe){se()?this._history.replaceState(T,K,pe):this.location.hash=pe}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}}return D.\u0275fac=function(T){return new(T||D)(r.LFG(j))},D.\u0275prov=r.Yz7({token:D,factory:function(){return function oe(){return new z((0,r.LFG)(j))}()},providedIn:"platform"}),D})();function se(){return!!window.history.pushState}function Pe(D,W){if(0==D.length)return W;if(0==W.length)return D;let T=0;return D.endsWith("/")&&T++,W.startsWith("/")&&T++,2==T?D+W.substring(1):1==T?D+W:D+"/"+W}function Te(D){const W=D.match(/#|\?|$/),T=W&&W.index||D.length;return D.slice(0,T-("/"===D[T-1]?1:0))+D.slice(T)}function Oe(D){return D&&"?"!==D[0]?"?"+D:D}let Ie=(()=>{class D{historyGo(T){throw new Error("Not implemented")}}return D.\u0275fac=function(T){return new(T||D)},D.\u0275prov=r.Yz7({token:D,factory:function(){return function mt(D){const W=(0,r.LFG)(j).location;return new lt((0,r.LFG)(O),W&&W.origin||"")}()},providedIn:"root"}),D})();const rt=new r.OlP("appBaseHref");let lt=(()=>{class D extends Ie{constructor(T,K){if(super(),this._platformLocation=T,this._removeListenerFns=[],null==K&&(K=this._platformLocation.getBaseHrefFromDOM()),null==K)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=K}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return Pe(this._baseHref,T)}path(T=!1){const K=this._platformLocation.pathname+Oe(this._platformLocation.search),pe=this._platformLocation.hash;return pe&&T?`${K}${pe}`:K}pushState(T,K,pe,He){const ot=this.prepareExternalUrl(pe+Oe(He));this._platformLocation.pushState(T,K,ot)}replaceState(T,K,pe,He){const ot=this.prepareExternalUrl(pe+Oe(He));this._platformLocation.replaceState(T,K,ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){this._platformLocation.historyGo?.(T)}}return D.\u0275fac=function(T){return new(T||D)(r.LFG(O),r.LFG(rt,8))},D.\u0275prov=r.Yz7({token:D,factory:D.\u0275fac}),D})(),dt=(()=>{class D extends Ie{constructor(T,K){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=K&&(this._baseHref=K)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}path(T=!1){let K=this._platformLocation.hash;return null==K&&(K="#"),K.length>0?K.substring(1):K}prepareExternalUrl(T){const K=Pe(this._baseHref,T);return K.length>0?"#"+K:K}pushState(T,K,pe,He){let ot=this.prepareExternalUrl(pe+Oe(He));0==ot.length&&(ot=this._platformLocation.pathname),this._platformLocation.pushState(T,K,ot)}replaceState(T,K,pe,He){let ot=this.prepareExternalUrl(pe+Oe(He));0==ot.length&&(ot=this._platformLocation.pathname),this._platformLocation.replaceState(T,K,ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){this._platformLocation.historyGo?.(T)}}return D.\u0275fac=function(T){return new(T||D)(r.LFG(O),r.LFG(rt,8))},D.\u0275prov=r.Yz7({token:D,factory:D.\u0275fac}),D})(),ke=(()=>{class D{constructor(T,K){this._subject=new r.vpe,this._urlChangeListeners=[],this._platformStrategy=T;const pe=this._platformStrategy.getBaseHref();this._platformLocation=K,this._baseHref=Te(je(pe)),this._platformStrategy.onPopState(He=>{this._subject.emit({url:this.path(!0),pop:!0,state:He.state,type:He.type})})}path(T=!1){return this.normalize(this._platformStrategy.path(T))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(T,K=""){return this.path()==this.normalize(T+Oe(K))}normalize(T){return D.stripTrailingSlash(function _e(D,W){return D&&W.startsWith(D)?W.substring(D.length):W}(this._baseHref,je(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._platformStrategy.prepareExternalUrl(T)}go(T,K="",pe=null){this._platformStrategy.pushState(pe,"",T,K),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Oe(K)),pe)}replaceState(T,K="",pe=null){this._platformStrategy.replaceState(pe,"",T,K),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Oe(K)),pe)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(T=0){this._platformStrategy.historyGo?.(T)}onUrlChange(T){this._urlChangeListeners.push(T),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(K=>{this._notifyUrlChangeListeners(K.url,K.state)}))}_notifyUrlChangeListeners(T="",K){this._urlChangeListeners.forEach(pe=>pe(T,K))}subscribe(T,K,pe){return this._subject.subscribe({next:T,error:K,complete:pe})}}return D.normalizeQueryParams=Oe,D.joinWithSlash=Pe,D.stripTrailingSlash=Te,D.\u0275fac=function(T){return new(T||D)(r.LFG(Ie),r.LFG(O))},D.\u0275prov=r.Yz7({token:D,factory:function(){return function Ye(){return new ke((0,r.LFG)(Ie),(0,r.LFG)(O))}()},providedIn:"root"}),D})();function je(D){return D.replace(/\/index.html$/,"")}function S(D,W){W=encodeURIComponent(W);for(const T of D.split(";")){const K=T.indexOf("="),[pe,He]=-1==K?[T,""]:[T.slice(0,K),T.slice(K+1)];if(pe.trim()===W)return decodeURIComponent(He)}return null}let p=(()=>{class D{constructor(T,K,pe,He){this._iterableDiffers=T,this._keyValueDiffers=K,this._ngEl=pe,this._renderer=He,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(T){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof T?T.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(T){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof T?T.split(/\s+/):T,this._rawClass&&((0,r.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const T=this._iterableDiffer.diff(this._rawClass);T&&this._applyIterableChanges(T)}else if(this._keyValueDiffer){const T=this._keyValueDiffer.diff(this._rawClass);T&&this._applyKeyValueChanges(T)}}_applyKeyValueChanges(T){T.forEachAddedItem(K=>this._toggleClass(K.key,K.currentValue)),T.forEachChangedItem(K=>this._toggleClass(K.key,K.currentValue)),T.forEachRemovedItem(K=>{K.previousValue&&this._toggleClass(K.key,!1)})}_applyIterableChanges(T){T.forEachAddedItem(K=>{if("string"!=typeof K.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,r.AaK)(K.item)}`);this._toggleClass(K.item,!0)}),T.forEachRemovedItem(K=>this._toggleClass(K.item,!1))}_applyClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(K=>this._toggleClass(K,!0)):Object.keys(T).forEach(K=>this._toggleClass(K,!!T[K])))}_removeClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(K=>this._toggleClass(K,!1)):Object.keys(T).forEach(K=>this._toggleClass(K,!1)))}_toggleClass(T,K){(T=T.trim())&&T.split(/\s+/g).forEach(pe=>{K?this._renderer.addClass(this._ngEl.nativeElement,pe):this._renderer.removeClass(this._ngEl.nativeElement,pe)})}}return D.\u0275fac=function(T){return new(T||D)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},D.\u0275dir=r.lG2({type:D,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),D})();class le{constructor(W,T,K,pe){this.$implicit=W,this.ngForOf=T,this.index=K,this.count=pe}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 he=(()=>{class D{constructor(T,K,pe){this._viewContainer=T,this._template=K,this._differs=pe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;!this._differ&&T&&(this._differ=this._differs.find(T).create(this.ngForTrackBy))}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const K=this._viewContainer;T.forEachOperation((pe,He,ot)=>{if(null==pe.previousIndex)K.createEmbeddedView(this._template,new le(pe.item,this._ngForOf,-1,-1),null===ot?void 0:ot);else if(null==ot)K.remove(null===He?void 0:He);else if(null!==He){const vt=K.get(He);K.move(vt,ot),de(vt,pe)}});for(let pe=0,He=K.length;pe<He;pe++){const vt=K.get(pe).context;vt.index=pe,vt.count=He,vt.ngForOf=this._ngForOf}T.forEachIdentityChange(pe=>{de(K.get(pe.currentIndex),pe)})}static ngTemplateContextGuard(T,K){return!0}}return D.\u0275fac=function(T){return new(T||D)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},D.\u0275dir=r.lG2({type:D,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),D})();function de(D,W){D.context.$implicit=W.item}let ut=(()=>{class D{constructor(T,K){this._viewContainer=T,this._context=new Mt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=K}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){It("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){It("ngIfElse",T),this._elseTemplateRef=T,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(T,K){return!0}}return D.\u0275fac=function(T){return new(T||D)(r.Y36(r.s_b),r.Y36(r.Rgc))},D.\u0275dir=r.lG2({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),D})();class Mt{constructor(){this.$implicit=null,this.ngIf=null}}function It(D,W){if(W&&!W.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,r.AaK)(W)}'.`)}let or=(()=>{class D{constructor(T,K,pe){this._ngEl=T,this._differs=K,this._renderer=pe,this._ngStyle=null,this._differ=null}set ngStyle(T){this._ngStyle=T,!this._differ&&T&&(this._differ=this._differs.find(T).create())}ngDoCheck(){if(this._differ){const T=this._differ.diff(this._ngStyle);T&&this._applyChanges(T)}}_setStyle(T,K){const[pe,He]=T.split(".");null!=(K=null!=K&&He?`${K}${He}`:K)?this._renderer.setStyle(this._ngEl.nativeElement,pe,K):this._renderer.removeStyle(this._ngEl.nativeElement,pe)}_applyChanges(T){T.forEachRemovedItem(K=>this._setStyle(K.key,null)),T.forEachAddedItem(K=>this._setStyle(K.key,K.currentValue)),T.forEachChangedItem(K=>this._setStyle(K.key,K.currentValue))}}return D.\u0275fac=function(T){return new(T||D)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},D.\u0275dir=r.lG2({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),D})(),Fr=(()=>{class D{constructor(T){this._viewContainerRef=T,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(T){if(T.ngTemplateOutlet){const K=this._viewContainerRef;this._viewRef&&K.remove(K.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?K.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&T.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return D.\u0275fac=function(T){return new(T||D)(r.Y36(r.s_b))},D.\u0275dir=r.lG2({type:D,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.TTD]}),D})(),yr=(()=>{class D{}return D.\u0275fac=function(T){return new(T||D)},D.\u0275mod=r.oAB({type:D}),D.\u0275inj=r.cJS({}),D})();const Vn="browser";function zr(D){return D===Vn}let hr=(()=>{class D{}return D.\u0275prov=(0,r.Yz7)({token:D,providedIn:"root",factory:()=>new Wr((0,r.LFG)(j),window)}),D})();class Wr{constructor(W,T){this.document=W,this.window=T,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 T=function ri(D,W){const T=D.getElementById(W)||D.getElementsByName(W)[0];if(T)return T;if("function"==typeof D.createTreeWalker&&D.body&&(D.body.createShadowRoot||D.body.attachShadow)){const K=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let pe=K.currentNode;for(;pe;){const He=pe.shadowRoot;if(He){const ot=He.getElementById(W)||He.querySelector(`[name="${W}"]`);if(ot)return ot}pe=K.nextNode()}}return null}(this.document,W);T&&(this.scrollToElement(T),T.focus())}setHistoryScrollRestoration(W){if(this.supportScrollRestoration()){const T=this.window.history;T&&T.scrollRestoration&&(T.scrollRestoration=W)}}scrollToElement(W){const T=W.getBoundingClientRect(),K=T.left+this.window.pageXOffset,pe=T.top+this.window.pageYOffset,He=this.offset();this.window.scrollTo(K-He[0],pe-He[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const W=vi(this.window.history)||vi(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 vi(D){return Object.getOwnPropertyDescriptor(D,"scrollRestoration")}class Ti{}},529:(J,F,h)=>{"use strict";h.d(F,{JF:()=>mn,WM:()=>L,eN:()=>Ge});var r=h(6895),m=h(5062),B=h(1086),A=h(2916),x=h(1406),R=h(2198),j=h(4850);class O{}class G{}class L{constructor(Ee){this.normalizedNames=new Map,this.lazyUpdate=null,Ee?this.lazyInit="string"==typeof Ee?()=>{this.headers=new Map,Ee.split("\n").forEach(be=>{const st=be.indexOf(":");if(st>0){const ze=be.slice(0,st),We=ze.toLowerCase(),ct=be.slice(st+1).trim();this.maybeSetNormalizedName(ze,We),this.headers.has(We)?this.headers.get(We).push(ct):this.headers.set(We,[ct])}})}:()=>{this.headers=new Map,Object.keys(Ee).forEach(be=>{let st=Ee[be];const ze=be.toLowerCase();"string"==typeof st&&(st=[st]),st.length>0&&(this.headers.set(ze,st),this.maybeSetNormalizedName(be,ze))})}:this.headers=new Map}has(Ee){return this.init(),this.headers.has(Ee.toLowerCase())}get(Ee){this.init();const be=this.headers.get(Ee.toLowerCase());return be&&be.length>0?be[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ee){return this.init(),this.headers.get(Ee.toLowerCase())||null}append(Ee,be){return this.clone({name:Ee,value:be,op:"a"})}set(Ee,be){return this.clone({name:Ee,value:be,op:"s"})}delete(Ee,be){return this.clone({name:Ee,value:be,op:"d"})}maybeSetNormalizedName(Ee,be){this.normalizedNames.has(be)||this.normalizedNames.set(be,Ee)}init(){this.lazyInit&&(this.lazyInit instanceof L?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ee=>this.applyUpdate(Ee)),this.lazyUpdate=null))}copyFrom(Ee){Ee.init(),Array.from(Ee.headers.keys()).forEach(be=>{this.headers.set(be,Ee.headers.get(be)),this.normalizedNames.set(be,Ee.normalizedNames.get(be))})}clone(Ee){const be=new L;return be.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,be.lazyUpdate=(this.lazyUpdate||[]).concat([Ee]),be}applyUpdate(Ee){const be=Ee.name.toLowerCase();switch(Ee.op){case"a":case"s":let st=Ee.value;if("string"==typeof st&&(st=[st]),0===st.length)return;this.maybeSetNormalizedName(Ee.name,be);const ze=("a"===Ee.op?this.headers.get(be):void 0)||[];ze.push(...st),this.headers.set(be,ze);break;case"d":const We=Ee.value;if(We){let ct=this.headers.get(be);if(!ct)return;ct=ct.filter(En=>-1===We.indexOf(En)),0===ct.length?(this.headers.delete(be),this.normalizedNames.delete(be)):this.headers.set(be,ct)}else this.headers.delete(be),this.normalizedNames.delete(be)}}forEach(Ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(be=>Ee(this.normalizedNames.get(be),this.headers.get(be)))}}class z{encodeKey(Ee){return Te(Ee)}encodeValue(Ee){return Te(Ee)}decodeKey(Ee){return decodeURIComponent(Ee)}decodeValue(Ee){return decodeURIComponent(Ee)}}const oe=/%(\d[a-f0-9])/gi,Pe={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Te(Ze){return encodeURIComponent(Ze).replace(oe,(Ee,be)=>Pe[be]??Ee)}function Oe(Ze){return`${Ze}`}class Ie{constructor(Ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ee.encoder||new z,Ee.fromString){if(Ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function se(Ze,Ee){const be=new Map;return Ze.length>0&&Ze.replace(/^\?/,"").split("&").forEach(ze=>{const We=ze.indexOf("="),[ct,En]=-1==We?[Ee.decodeKey(ze),""]:[Ee.decodeKey(ze.slice(0,We)),Ee.decodeValue(ze.slice(We+1))],Xt=be.get(ct)||[];Xt.push(En),be.set(ct,Xt)}),be}(Ee.fromString,this.encoder)}else Ee.fromObject?(this.map=new Map,Object.keys(Ee.fromObject).forEach(be=>{const st=Ee.fromObject[be];this.map.set(be,Array.isArray(st)?st:[st])})):this.map=null}has(Ee){return this.init(),this.map.has(Ee)}get(Ee){this.init();const be=this.map.get(Ee);return be?be[0]:null}getAll(Ee){return this.init(),this.map.get(Ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ee,be){return this.clone({param:Ee,value:be,op:"a"})}appendAll(Ee){const be=[];return Object.keys(Ee).forEach(st=>{const ze=Ee[st];Array.isArray(ze)?ze.forEach(We=>{be.push({param:st,value:We,op:"a"})}):be.push({param:st,value:ze,op:"a"})}),this.clone(be)}set(Ee,be){return this.clone({param:Ee,value:be,op:"s"})}delete(Ee,be){return this.clone({param:Ee,value:be,op:"d"})}toString(){return this.init(),this.keys().map(Ee=>{const be=this.encoder.encodeKey(Ee);return this.map.get(Ee).map(st=>be+"="+this.encoder.encodeValue(st)).join("&")}).filter(Ee=>""!==Ee).join("&")}clone(Ee){const be=new Ie({encoder:this.encoder});return be.cloneFrom=this.cloneFrom||this,be.updates=(this.updates||[]).concat(Ee),be}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ee=>this.map.set(Ee,this.cloneFrom.map.get(Ee))),this.updates.forEach(Ee=>{switch(Ee.op){case"a":case"s":const be=("a"===Ee.op?this.map.get(Ee.param):void 0)||[];be.push(Oe(Ee.value)),this.map.set(Ee.param,be);break;case"d":if(void 0===Ee.value){this.map.delete(Ee.param);break}{let st=this.map.get(Ee.param)||[];const ze=st.indexOf(Oe(Ee.value));-1!==ze&&st.splice(ze,1),st.length>0?this.map.set(Ee.param,st):this.map.delete(Ee.param)}}}),this.cloneFrom=this.updates=null)}}class rt{constructor(){this.map=new Map}set(Ee,be){return this.map.set(Ee,be),this}get(Ee){return this.map.has(Ee)||this.map.set(Ee,Ee.defaultValue()),this.map.get(Ee)}delete(Ee){return this.map.delete(Ee),this}has(Ee){return this.map.has(Ee)}keys(){return this.map.keys()}}function dt(Ze){return typeof ArrayBuffer<"u"&&Ze instanceof ArrayBuffer}function ke(Ze){return typeof Blob<"u"&&Ze instanceof Blob}function Ye(Ze){return typeof FormData<"u"&&Ze instanceof FormData}class je{constructor(Ee,be,st,ze){let We;if(this.url=be,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ee.toUpperCase(),function lt(Ze){switch(Ze){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ze?(this.body=void 0!==st?st:null,We=ze):We=st,We&&(this.reportProgress=!!We.reportProgress,this.withCredentials=!!We.withCredentials,We.responseType&&(this.responseType=We.responseType),We.headers&&(this.headers=We.headers),We.context&&(this.context=We.context),We.params&&(this.params=We.params)),this.headers||(this.headers=new L),this.context||(this.context=new rt),this.params){const ct=this.params.toString();if(0===ct.length)this.urlWithParams=be;else{const En=be.indexOf("?");this.urlWithParams=be+(-1===En?"?":En<be.length-1?"&":"")+ct}}else this.params=new Ie,this.urlWithParams=be}serializeBody(){return null===this.body?null:dt(this.body)||ke(this.body)||Ye(this.body)||function _e(Ze){return typeof URLSearchParams<"u"&&Ze instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ie?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||Ye(this.body)?null:ke(this.body)?this.body.type||null:dt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ee={}){const be=Ee.method||this.method,st=Ee.url||this.url,ze=Ee.responseType||this.responseType,We=void 0!==Ee.body?Ee.body:this.body,ct=void 0!==Ee.withCredentials?Ee.withCredentials:this.withCredentials,En=void 0!==Ee.reportProgress?Ee.reportProgress:this.reportProgress;let Xt=Ee.headers||this.headers,Nt=Ee.params||this.params;const Qn=Ee.context??this.context;return void 0!==Ee.setHeaders&&(Xt=Object.keys(Ee.setHeaders).reduce((fn,Pn)=>fn.set(Pn,Ee.setHeaders[Pn]),Xt)),Ee.setParams&&(Nt=Object.keys(Ee.setParams).reduce((fn,Pn)=>fn.set(Pn,Ee.setParams[Pn]),Nt)),new je(be,st,We,{params:Nt,headers:Xt,context:Qn,reportProgress:En,responseType:ze,withCredentials:ct})}}var ve=(()=>((ve=ve||{})[ve.Sent=0]="Sent",ve[ve.UploadProgress=1]="UploadProgress",ve[ve.ResponseHeader=2]="ResponseHeader",ve[ve.DownloadProgress=3]="DownloadProgress",ve[ve.Response=4]="Response",ve[ve.User=5]="User",ve))();class Ve{constructor(Ee,be=200,st="OK"){this.headers=Ee.headers||new L,this.status=void 0!==Ee.status?Ee.status:be,this.statusText=Ee.statusText||st,this.url=Ee.url||null,this.ok=this.status>=200&&this.status<300}}class xe extends Ve{constructor(Ee={}){super(Ee),this.type=ve.ResponseHeader}clone(Ee={}){return new xe({headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class nt extends Ve{constructor(Ee={}){super(Ee),this.type=ve.Response,this.body=void 0!==Ee.body?Ee.body:null}clone(Ee={}){return new nt({body:void 0!==Ee.body?Ee.body:this.body,headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class _t extends Ve{constructor(Ee){super(Ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ee.url||"(unknown url)"}`:`Http failure response for ${Ee.url||"(unknown url)"}: ${Ee.status} ${Ee.statusText}`,this.error=Ee.error||null}}function Qe(Ze,Ee){return{body:Ee,headers:Ze.headers,context:Ze.context,observe:Ze.observe,params:Ze.params,reportProgress:Ze.reportProgress,responseType:Ze.responseType,withCredentials:Ze.withCredentials}}let Ge=(()=>{class Ze{constructor(be){this.handler=be}request(be,st,ze={}){let We;if(be instanceof je)We=be;else{let Xt,Nt;Xt=ze.headers instanceof L?ze.headers:new L(ze.headers),ze.params&&(Nt=ze.params instanceof Ie?ze.params:new Ie({fromObject:ze.params})),We=new je(be,st,void 0!==ze.body?ze.body:null,{headers:Xt,context:ze.context,params:Nt,reportProgress:ze.reportProgress,responseType:ze.responseType||"json",withCredentials:ze.withCredentials})}const ct=(0,B.of)(We).pipe((0,x.b)(Xt=>this.handler.handle(Xt)));if(be instanceof je||"events"===ze.observe)return ct;const En=ct.pipe((0,R.h)(Xt=>Xt instanceof nt));switch(ze.observe||"body"){case"body":switch(We.responseType){case"arraybuffer":return En.pipe((0,j.U)(Xt=>{if(null!==Xt.body&&!(Xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Xt.body}));case"blob":return En.pipe((0,j.U)(Xt=>{if(null!==Xt.body&&!(Xt.body instanceof Blob))throw new Error("Response is not a Blob.");return Xt.body}));case"text":return En.pipe((0,j.U)(Xt=>{if(null!==Xt.body&&"string"!=typeof Xt.body)throw new Error("Response is not a string.");return Xt.body}));default:return En.pipe((0,j.U)(Xt=>Xt.body))}case"response":return En;default:throw new Error(`Unreachable: unhandled observe type ${ze.observe}}`)}}delete(be,st={}){return this.request("DELETE",be,st)}get(be,st={}){return this.request("GET",be,st)}head(be,st={}){return this.request("HEAD",be,st)}jsonp(be,st){return this.request("JSONP",be,{params:(new Ie).append(st,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(be,st={}){return this.request("OPTIONS",be,st)}patch(be,st,ze={}){return this.request("PATCH",be,Qe(ze,st))}post(be,st,ze={}){return this.request("POST",be,Qe(ze,st))}put(be,st,ze={}){return this.request("PUT",be,Qe(ze,st))}}return Ze.\u0275fac=function(be){return new(be||Ze)(m.LFG(O))},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class wn{constructor(Ee,be){this.next=Ee,this.interceptor=be}handle(Ee){return this.interceptor.intercept(Ee,this.next)}}const Ht=new m.OlP("HTTP_INTERCEPTORS");let hn=(()=>{class Ze{intercept(be,st){return st.handle(be)}}return Ze.\u0275fac=function(be){return new(be||Ze)},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const Kt=/^\)\]\}',?\n/;let Sn=(()=>{class Ze{constructor(be){this.xhrFactory=be}handle(be){if("JSONP"===be.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new A.y(st=>{const ze=this.xhrFactory.build();if(ze.open(be.method,be.urlWithParams),be.withCredentials&&(ze.withCredentials=!0),be.headers.forEach((Gt,Zt)=>ze.setRequestHeader(Gt,Zt.join(","))),be.headers.has("Accept")||ze.setRequestHeader("Accept","application/json, text/plain, */*"),!be.headers.has("Content-Type")){const Gt=be.detectContentTypeHeader();null!==Gt&&ze.setRequestHeader("Content-Type",Gt)}if(be.responseType){const Gt=be.responseType.toLowerCase();ze.responseType="json"!==Gt?Gt:"text"}const We=be.serializeBody();let ct=null;const En=()=>{if(null!==ct)return ct;const Gt=ze.statusText||"OK",Zt=new L(ze.getAllResponseHeaders()),an=function Rn(Ze){return"responseURL"in Ze&&Ze.responseURL?Ze.responseURL:/^X-Request-URL:/m.test(Ze.getAllResponseHeaders())?Ze.getResponseHeader("X-Request-URL"):null}(ze)||be.url;return ct=new xe({headers:Zt,status:ze.status,statusText:Gt,url:an}),ct},Xt=()=>{let{headers:Gt,status:Zt,statusText:an,url:ge}=En(),De=null;204!==Zt&&(De=typeof ze.response>"u"?ze.responseText:ze.response),0===Zt&&(Zt=De?200:0);let Fe=Zt>=200&&Zt<300;if("json"===be.responseType&&"string"==typeof De){const Re=De;De=De.replace(Kt,"");try{De=""!==De?JSON.parse(De):null}catch(Ue){De=Re,Fe&&(Fe=!1,De={error:Ue,text:De})}}Fe?(st.next(new nt({body:De,headers:Gt,status:Zt,statusText:an,url:ge||void 0})),st.complete()):st.error(new _t({error:De,headers:Gt,status:Zt,statusText:an,url:ge||void 0}))},Nt=Gt=>{const{url:Zt}=En(),an=new _t({error:Gt,status:ze.status||0,statusText:ze.statusText||"Unknown Error",url:Zt||void 0});st.error(an)};let Qn=!1;const fn=Gt=>{Qn||(st.next(En()),Qn=!0);let Zt={type:ve.DownloadProgress,loaded:Gt.loaded};Gt.lengthComputable&&(Zt.total=Gt.total),"text"===be.responseType&&!!ze.responseText&&(Zt.partialText=ze.responseText),st.next(Zt)},Pn=Gt=>{let Zt={type:ve.UploadProgress,loaded:Gt.loaded};Gt.lengthComputable&&(Zt.total=Gt.total),st.next(Zt)};return ze.addEventListener("load",Xt),ze.addEventListener("error",Nt),ze.addEventListener("timeout",Nt),ze.addEventListener("abort",Nt),be.reportProgress&&(ze.addEventListener("progress",fn),null!==We&&ze.upload&&ze.upload.addEventListener("progress",Pn)),ze.send(We),st.next({type:ve.Sent}),()=>{ze.removeEventListener("error",Nt),ze.removeEventListener("abort",Nt),ze.removeEventListener("load",Xt),ze.removeEventListener("timeout",Nt),be.reportProgress&&(ze.removeEventListener("progress",fn),null!==We&&ze.upload&&ze.upload.removeEventListener("progress",Pn)),ze.readyState!==ze.DONE&&ze.abort()}})}}return Ze.\u0275fac=function(be){return new(be||Ze)(m.LFG(r.JF))},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const ur=new m.OlP("XSRF_COOKIE_NAME"),Dn=new m.OlP("XSRF_HEADER_NAME");class bn{}let gr=(()=>{class Ze{constructor(be,st,ze){this.doc=be,this.platform=st,this.cookieName=ze,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const be=this.doc.cookie||"";return be!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(be,this.cookieName),this.lastCookieString=be),this.lastToken}}return Ze.\u0275fac=function(be){return new(be||Ze)(m.LFG(r.K0),m.LFG(m.Lbi),m.LFG(ur))},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),dr=(()=>{class Ze{constructor(be,st){this.tokenService=be,this.headerName=st}intercept(be,st){const ze=be.url.toLowerCase();if("GET"===be.method||"HEAD"===be.method||ze.startsWith("http://")||ze.startsWith("https://"))return st.handle(be);const We=this.tokenService.getToken();return null!==We&&!be.headers.has(this.headerName)&&(be=be.clone({headers:be.headers.set(this.headerName,We)})),st.handle(be)}}return Ze.\u0275fac=function(be){return new(be||Ze)(m.LFG(bn),m.LFG(Dn))},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),br=(()=>{class Ze{constructor(be,st){this.backend=be,this.injector=st,this.chain=null}handle(be){if(null===this.chain){const st=this.injector.get(Ht,[]);this.chain=st.reduceRight((ze,We)=>new wn(ze,We),this.backend)}return this.chain.handle(be)}}return Ze.\u0275fac=function(be){return new(be||Ze)(m.LFG(G),m.LFG(m.zs3))},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),Un=(()=>{class Ze{static disable(){return{ngModule:Ze,providers:[{provide:dr,useClass:hn}]}}static withOptions(be={}){return{ngModule:Ze,providers:[be.cookieName?{provide:ur,useValue:be.cookieName}:[],be.headerName?{provide:Dn,useValue:be.headerName}:[]]}}}return Ze.\u0275fac=function(be){return new(be||Ze)},Ze.\u0275mod=m.oAB({type:Ze}),Ze.\u0275inj=m.cJS({providers:[dr,{provide:Ht,useExisting:dr,multi:!0},{provide:bn,useClass:gr},{provide:ur,useValue:"XSRF-TOKEN"},{provide:Dn,useValue:"X-XSRF-TOKEN"}]}),Ze})(),mn=(()=>{class Ze{}return Ze.\u0275fac=function(be){return new(be||Ze)},Ze.\u0275mod=m.oAB({type:Ze}),Ze.\u0275inj=m.cJS({providers:[Ge,{provide:O,useClass:br},Sn,{provide:G,useExisting:Sn}],imports:[[Un.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ze})()},5062:(J,F,h)=>{"use strict";h.d(F,{deG:()=>Hn,tb:()=>_g,AFp:()=>pg,ip1:()=>fg,CZH:()=>qc,hGG:()=>Gb,z2F:()=>ru,sBO:()=>Pb,Sil:()=>ob,_Vd:()=>za,EJc:()=>ib,SBq:()=>$o,qLn:()=>Ca,vpe:()=>es,tBr:()=>pa,XFs:()=>$t,OlP:()=>Dt,zs3:()=>Qi,ZZ4:()=>cu,aQg:()=>uu,soG:()=>Kc,YKP:()=>Dp,h0i:()=>oo,PXZ:()=>vb,R0b:()=>Vi,FiY:()=>Eo,Lbi:()=>tb,g9A:()=>mg,Qsj:()=>XC,FYo:()=>Cp,JOm:()=>Zi,tp0:()=>Do,Rgc:()=>Yo,dDg:()=>Cg,GfV:()=>bp,s_b:()=>Za,ifc:()=>Nt,eFA:()=>Eg,G48:()=>Sb,Gpc:()=>Oe,X6Q:()=>Tb,_c5:()=>$b,VLi:()=>mb,c2e:()=>nb,zSh:()=>tc,wAp:()=>dn,vHH:()=>lt,cg1:()=>Tc,kL8:()=>Gf,dqk:()=>Zt,sIi:()=>ko,CqO:()=>Wh,QGY:()=>yc,F4k:()=>zh,RDi:()=>W,AaK:()=>oe,qOj:()=>oc,TTD:()=>Vn,_Bn:()=>_p,xp6:()=>Md,uIk:()=>cc,Tol:()=>_f,Gre:()=>Nf,ekj:()=>wc,Suo:()=>zp,Xpm:()=>tt,lG2:()=>pt,Yz7:()=>Sn,cJS:()=>Dn,oAB:()=>Se,Yjl:()=>jt,Y36:()=>Lo,_UZ:()=>mc,GkF:()=>_c,BQk:()=>Ra,ynx:()=>ka,qZA:()=>Fa,TgZ:()=>Na,EpF:()=>Gh,n5z:()=>la,Ikx:()=>Mc,LFG:()=>Gr,$8M:()=>g,$Z:()=>$h,NdJ:()=>vc,CRH:()=>Wp,oxw:()=>Qh,Hsn:()=>Jh,F$t:()=>Kh,Q6J:()=>pc,s9C:()=>bc,MGl:()=>La,DdM:()=>Pp,VKq:()=>xp,WLB:()=>Op,kEZ:()=>Ap,l5B:()=>Ip,iGM:()=>$p,MAs:()=>Ih,CHM:()=>_s,oJD:()=>Wu,LSH:()=>ml,YNc:()=>Ah,W1O:()=>Qp,_uU:()=>Df,Oqu:()=>Dc,hij:()=>Ba,Gf:()=>Gp});var r=h(8929),m=h(2654),B=h(2916),A=h(6787),x=h(1762);class j{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:i}=this,s=this.subjectFactory(),o=i(s).subscribe(t);return o.add(n.subscribe(s)),o}}var O=h(4327);function G(){return new r.xQ}function z(e){for(let t in e)if(e[t]===z)return t;throw Error("Could not find renamed property on target object.")}function se(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function oe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(oe).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 Pe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Te=z({__forward_ref__:z});function Oe(e){return e.__forward_ref__=Oe,e.toString=function(){return oe(this())},e}function Ie(e){return mt(e)?e():e}function mt(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Oe}class lt extends Error{constructor(t,n){super(function dt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ke(e){return"string"==typeof e?e:null==e?"":String(e)}function Ye(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ke(e)}function Ve(e,t){const n=t?` in ${t}`:"";throw new lt(-201,`No provider for ${Ye(e)} found${n}`)}function Vt(e,t){null==e&&function Qt(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Sn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function bn(e){return gr(e,sr)||gr(e,mn)}function gr(e,t){return e.hasOwnProperty(t)?e[t]:null}function wr(e){return e&&(e.hasOwnProperty(Un)||e.hasOwnProperty($n))?e[Un]:null}const sr=z({\u0275prov:z}),Un=z({\u0275inj:z}),mn=z({ngInjectableDef:z}),$n=z({ngInjectorDef:z});var $t=(()=>(($t=$t||{})[$t.Default=0]="Default",$t[$t.Host=1]="Host",$t[$t.Self=2]="Self",$t[$t.SkipSelf=4]="SkipSelf",$t[$t.Optional=8]="Optional",$t))();let Ze;function be(e){const t=Ze;return Ze=e,t}function st(e,t,n){const i=bn(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&$t.Optional?null:void 0!==t?t:void Ve(oe(e),"Injector")}function We(e){return{toString:e}.toString()}var ct=(()=>((ct=ct||{})[ct.OnPush=0]="OnPush",ct[ct.Default=1]="Default",ct))(),Nt=(()=>{return(e=Nt||(Nt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Nt;var e})();const Qn=typeof globalThis<"u"&&globalThis,fn=typeof window<"u"&&window,Pn=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Zt=Qn||typeof global<"u"&&global||fn||Pn,De={},Fe=[],Re=z({\u0275cmp:z}),Ue=z({\u0275dir:z}),ft=z({\u0275pipe:z}),Ct=z({\u0275mod:z}),wt=z({\u0275fac:z}),Lt=z({__NG_ELEMENT_ID__:z});let At=0;function tt(e){return We(()=>{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===ct.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Fe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Nt.Emulated,id:"c",styles:e.styles||Fe,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,o=e.features,a=e.pipes;return i.id+=At++,i.inputs=Ke(e.inputs,n),i.outputs=Ke(e.outputs),o&&o.forEach(f=>f(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(Me):null,i.pipeDefs=a?()=>("function"==typeof a?a():a).map(ie):null,i})}function Me(e){return St(e)||function pn(e){return e[Ue]||null}(e)}function ie(e){return function Pt(e){return e[ft]||null}(e)}const ee={};function Se(e){return We(()=>{const t={type:e.type,bootstrap:e.bootstrap||Fe,declarations:e.declarations||Fe,imports:e.imports||Fe,exports:e.exports||Fe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ee[e.id]=e.type),t})}function Ke(e,t){if(null==e)return De;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=i,t&&(t[s]=o)}return n}const pt=tt;function jt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function St(e){return e[Re]||null}function Rt(e,t){const n=e[Ct]||null;if(!n&&!0===t)throw new Error(`Type ${oe(e)} does not have '\u0275mod' property.`);return n}const U=16;function Zn(e){return Array.isArray(e)&&"object"==typeof e[1]}function or(e){return Array.isArray(e)&&!0===e[1]}function Fr(e){return 0!=(8&e.flags)}function si(e){return 2==(2&e.flags)}function Jn(e){return 1==(1&e.flags)}function Er(e){return null!==e.template}function Pr(e){return 0!=(512&e[2])}function yn(e,t){return e.hasOwnProperty(wt)?e[wt]:null}class yr{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Vn(){return Ur}function Ur(e){return e.type.prototype.ngOnChanges&&(e.setInput=Di),Bi}function Bi(){const e=yi(this),t=e?.current;if(t){const n=e.previous;if(n===De)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Di(e,t,n,i){const s=yi(e)||function ts(e,t){return e[zr]=t}(e,{previous:De,current:null}),o=s.current||(s.current={}),a=s.previous,f=this.declaredInputs[n],_=a[f];o[f]=new yr(_&&_.currentValue,t,a===De),e[i]=t}Vn.ngInherit=!0;const zr="__ngSimpleChanges__";function yi(e){return e[zr]||null}let D;function W(e){D=e}function T(){return void 0!==D?D:typeof document<"u"?document:void 0}function pe(e){return!!e.listen}const He={createRenderer:(e,t)=>T()};function vt(e){for(;Array.isArray(e);)e=e[0];return e}function jn(e,t){return vt(t[e])}function un(e,t){return vt(t[e.index])}function kn(e,t){return e.data[t]}function M(e,t){const n=t[e];return Zn(n)?n:n[0]}function b(e){return 4==(4&e[2])}function y(e){return 128==(128&e[2])}function $e(e,t){return null==t?null:e[t]}function Ut(e){e[18]=0}function zn(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 Jt={lFrame:Mr(null),bindingsEnabled:!0};function ms(){return Jt.bindingsEnabled}function ht(){return Jt.lFrame.lView}function An(){return Jt.lFrame.tView}function _s(e){return Jt.lFrame.contextLView=e,e[8]}function vr(){let e=Hi();for(;null!==e&&64===e.type;)e=e.parent;return e}function Hi(){return Jt.lFrame.currentTNode}function kr(e,t){const n=Jt.lFrame;n.currentTNode=e,n.isParent=t}function us(){return Jt.lFrame.isParent}function ys(){Jt.lFrame.isParent=!1}function C(){const e=Jt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ce(){return Jt.lFrame.bindingIndex++}function fe(e){const t=Jt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kt(e,t){const n=Jt.lFrame;n.bindingIndex=n.bindingRootIndex=e,gn(t)}function gn(e){Jt.lFrame.currentDirectiveIndex=e}function en(){return Jt.lFrame.currentQueryIndex}function vn(e){Jt.lFrame.currentQueryIndex=e}function Wn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Cr(e,t,n){if(n&$t.SkipSelf){let s=t,o=e;for(;!(s=s.parent,null!==s||n&$t.Host||(s=Wn(o),null===s||(o=o[15],10&s.type))););if(null===s)return!1;t=s,e=o}const i=Jt.lFrame=Ir();return i.currentTNode=t,i.lView=e,!0}function fr(e){const t=Ir(),n=e[1];Jt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ir(){const e=Jt.lFrame,t=null===e?null:e.child;return null===t?Mr(e):t}function Mr(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 Pi(){const e=Jt.lFrame;return Jt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Jr=Pi;function Tr(){const e=Pi();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 lr(){return Jt.lFrame.selectedIndex}function ci(e){Jt.lFrame.selectedIndex=e}function Xn(){const e=Jt.lFrame;return kn(e.tView,e.selectedIndex)}function In(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:f,ngAfterViewInit:_,ngAfterViewChecked:N,ngOnDestroy:$}=o;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),_&&(e.viewHooks||(e.viewHooks=[])).push(-n,_),N&&((e.viewHooks||(e.viewHooks=[])).push(n,N),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,N)),null!=$&&(e.destroyHooks||(e.destroyHooks=[])).push(n,$)}}function pr(e,t,n){ui(e,t,3,n)}function Hr(e,t,n,i){(3&e[2])===n&&ui(e,t,n,i)}function Rr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ui(e,t,n,i){const o=i??-1,a=t.length-1;let f=0;for(let _=void 0!==i?65535&e[18]:0;_<a;_++)if("number"==typeof t[_+1]){if(f=t[_],null!=i&&f>=i)break}else t[_]<0&&(e[18]+=65536),(f<o||-1==o)&&(ir(e,n,t,_),e[18]=(4294901760&e[18])+_+2),_++}function ir(e,t,n,i){const s=n[i]<0,o=n[i+1],f=e[s?-n[i]:n[i]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(f)}finally{}}}else try{o.call(f)}finally{}}class Oi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ss(e,t,n){const i=pe(e);let s=0;for(;s<n.length;){const o=n[s];if("number"==typeof o){if(0!==o)break;s++;const a=n[s++],f=n[s++],_=n[s++];i?e.setAttribute(t,f,_,a):t.setAttributeNS(a,f,_)}else{const a=o,f=n[++s];po(a)?i&&e.setProperty(t,a,f):i?e.setAttribute(t,a,f):t.setAttribute(a,f),s++}}return s}function fo(e){return 3===e||4===e||6===e}function po(e){return 64===e.charCodeAt(0)}function Ps(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?n=s:0===n||$r(e,n,s,null,-1===n||2===n?t[++i]:null)}}return e}function $r(e,t,n,i,s){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const f=e[o++];if("number"==typeof f){if(f===t){a=-1;break}if(f>t){a=o-1;break}}}for(;o<e.length;){const f=e[o];if("number"==typeof f)break;if(f===n){if(null===i)return void(null!==s&&(e[o+1]=s));if(i===e[o+1])return void(e[o+2]=s)}o++,null!==i&&o++,null!==s&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==s&&e.splice(o++,0,s)}function Qo(e){return-1!==e}function is(e){return 32767&e}function $i(e,t){let n=function go(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Gi=!0;function xs(e){const t=Gi;return Gi=e,t}let Jo=0;function ss(e,t){const n=Ii(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,ea(i.data,e),ea(t,null),ea(i.blueprint,null));const s=Cs(e,t),o=e.injectorIndex;if(Qo(s)){const a=is(s),f=$i(s,t),_=f[1].data;for(let N=0;N<8;N++)t[o+N]=f[a+N]|_[a+N]}return t[o+8]=s,o}function ea(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ii(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Cs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){const o=s[1],a=o.type;if(i=2===a?o.declTNode:1===a?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Os(e,t,n){!function Xo(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Lt)&&(i=n[Lt]),null==i&&(i=n[Lt]=Jo++);const s=255&i;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function ta(e,t,n){if(n&$t.Optional)return e;Ve(t,"NodeInjector")}function na(e,t,n,i){if(n&$t.Optional&&void 0===i&&(i=null),0==(n&($t.Self|$t.Host))){const s=e[9],o=be(void 0);try{return s?s.get(t,i,n&$t.Optional):st(t,i,n&$t.Optional)}finally{be(o)}}return ta(i,t,n)}function ra(e,t,n,i=$t.Default,s){if(null!==e){const o=function _o(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Lt)?e[Lt]:void 0;return"number"==typeof t?t>=0?255&t:sa:t}(n);if("function"==typeof o){if(!Cr(t,e,i))return i&$t.Host?ta(s,n,i):na(t,n,i,s);try{const a=o(i);if(null!=a||i&$t.Optional)return a;Ve(n)}finally{Jr()}}else if("number"==typeof o){let a=null,f=Ii(e,t),_=-1,N=i&$t.Host?t[U][6]:null;for((-1===f||i&$t.SkipSelf)&&(_=-1===f?Cs(e,t):t[f+8],-1!==_&&aa(i,!1)?(a=t[1],f=is(_),t=$i(_,t)):f=-1);-1!==f;){const $=t[1];if(oa(o,f,$.data)){const ne=rl(f,t,n,a,i,N);if(ne!==ia)return ne}_=t[f+8],-1!==_&&aa(i,t[1].data[f+8]===N)&&oa(o,f,t)?(a=$,f=is(_),t=$i(_,t)):f=-1}}}return na(t,n,i,s)}const ia={};function sa(){return new os(vr(),ht())}function rl(e,t,n,i,s,o){const a=t[1],f=a.data[e+8],$=As(f,a,n,null==i?si(f)&&Gi:i!=a&&0!=(3&f.type),s&$t.Host&&o===f);return null!==$?bs(t,a,$,f):ia}function As(e,t,n,i,s){const o=e.providerIndexes,a=t.data,f=1048575&o,_=e.directiveStart,$=o>>20,ye=s?f+$:e.directiveEnd;for(let Le=i?f:f+$;Le<ye;Le++){const Je=a[Le];if(Le<_&&n===Je||Le>=_&&Je.type===n)return Le}if(s){const Le=a[_];if(Le&&Er(Le)&&Le.type===n)return _}return null}function bs(e,t,n,i){let s=e[n];const o=t.data;if(function Lr(e){return e instanceof Oi}(s)){const a=s;a.resolving&&function _e(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new lt(-200,`Circular dependency in DI detected for ${e}${n}`)}(Ye(o[n]));const f=xs(a.canSeeViewProviders);a.resolving=!0;const _=a.injectImpl?be(a.injectImpl):null;Cr(e,i,$t.Default);try{s=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function ln(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:o}=t.type.prototype;if(i){const a=Ur(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==_&&be(_),xs(f),a.resolving=!1,Jr()}}return s}function oa(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function aa(e,t){return!(e&$t.Self||e&$t.Host&&t)}class os{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return ra(this._tNode,this._lView,t,i,n)}}function la(e){return We(()=>{const t=e.prototype.constructor,n=t[wt]||ca(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const o=s[wt]||ca(s);if(o&&o!==n)return o;s=Object.getPrototypeOf(s)}return o=>new o})}function ca(e){return mt(e)?()=>{const t=ca(Ie(e));return t&&t()}:yn(e)}function g(e){return function nl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let s=0;for(;s<i;){const o=n[s];if(fo(o))break;if(0===o)s+=2;else if("number"==typeof o)for(s++;s<i&&"string"==typeof n[s];)s++;else{if(o===t)return n[s+1];s+=2}}}return null}(vr(),e)}const l="__parameters__";function ae(e,t,n){return We(()=>{const i=function q(e){return function(...n){if(e){const i=e(...n);for(const s in i)this[s]=i[s]}}}(t);function s(...o){if(this instanceof s)return i.apply(this,o),this;const a=new s(...o);return f.annotation=a,f;function f(_,N,$){const ne=_.hasOwnProperty(l)?_[l]:Object.defineProperty(_,l,{value:[]})[l];for(;ne.length<=$;)ne.push(null);return(ne[$]=ne[$]||[]).push(a),_}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class Dt{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=Sn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Hn=new Dt("AnalyzeForEntryComponents");function Ci(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)),Ci(i,t)):t!==e&&t.push(i)}return t}function zi(e,t){e.forEach(n=>Array.isArray(n)?zi(n,t):t(n))}function Eu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function da(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vo(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function hi(e,t,n){let i=ks(e,t);return i>=0?e[1|i]=n:(i=~i,function jg(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function sl(e,t){const n=ks(e,t);if(n>=0)return e[1|n]}function ks(e,t){return function Tu(e,t,n){let i=0,s=e.length>>n;for(;s!==i;){const o=i+(s-i>>1),a=e[o<<n];if(t===a)return o<<n;a>t?s=o:i=o+1}return~(s<<n)}(e,t,1)}const Co={},al="__NG_DI_FLAG__",fa="ngTempTokenPath",Yg=/\n/gm,Pu="__source",qg=z({provide:String,useValue:z});let bo;function xu(e){const t=bo;return bo=e,t}function Qg(e,t=$t.Default){if(void 0===bo)throw new lt(203,"");return null===bo?st(e,void 0,t):bo.get(e,t&$t.Optional?null:void 0,t)}function Gr(e,t=$t.Default){return(function Ee(){return Ze}()||Qg)(Ie(e),t)}const Kg=Gr;function ll(e){const t=[];for(let n=0;n<e.length;n++){const i=Ie(e[n]);if(Array.isArray(i)){if(0===i.length)throw new lt(900,"");let s,o=$t.Default;for(let a=0;a<i.length;a++){const f=i[a],_=Jg(f);"number"==typeof _?-1===_?s=f.token:o|=_:s=f}t.push(Gr(s,o))}else t.push(Gr(i))}return t}function wo(e,t){return e[al]=t,e.prototype[al]=t,e}function Jg(e){return e[al]}const pa=wo(ae("Inject",e=>({token:e})),-1),Eo=wo(ae("Optional"),8),Do=wo(ae("SkipSelf"),4);let ma,_a;function Ls(e){return function ul(){if(void 0===ma&&(ma=null,Zt.trustedTypes))try{ma=Zt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ma}()?.createHTML(e)||e}function ku(e){return function dl(){if(void 0===_a&&(_a=null,Zt.trustedTypes))try{_a=Zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _a}()?.createHTML(e)||e}class Vu{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function fs(e){return e instanceof Vu?e.changingThisBreaksApplicationSecurity:e}function To(e,t){const n=function mm(e){return e instanceof Vu&&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 _m{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ls(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ym{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=Ls(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Ls(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const a=n.item(s).name;("xmlns:ns1"===a||0===a.indexOf("ns1:"))&&t.removeAttribute(a)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const Cm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,bm=/^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 ya(e){return(e=String(e)).match(Cm)||e.match(bm)?e:"unsafe:"+e}function Wi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function So(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Uu=Wi("area,br,col,hr,img,wbr"),Hu=Wi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$u=Wi("rp,rt"),hl=So(Uu,So(Hu,Wi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),So($u,Wi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),So($u,Hu)),fl=Wi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pl=Wi("srcset"),Gu=So(fl,pl,Wi("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"),Wi("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")),wm=Wi("script,style,template");class Em{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!hl.hasOwnProperty(n))return this.sanitizedSomething=!0,!wm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let s=0;s<i.length;s++){const o=i.item(s),a=o.name,f=a.toLowerCase();if(!Gu.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let _=o.value;fl[f]&&(_=ya(_)),pl[f]&&(e=_,_=(e=String(e)).split(",").map(t=>ya(t.trim())).join(", ")),this.buf.push(" ",a,'="',zu(_),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();hl.hasOwnProperty(n)&&!Uu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(zu(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 Dm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mm=/([^\#-~ |!])/g;function zu(e){return e.replace(/&/g,"&").replace(Dm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Mm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let va;function gl(e){return"content"in e&&function Sm(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Nr=(()=>((Nr=Nr||{})[Nr.NONE=0]="NONE",Nr[Nr.HTML=1]="HTML",Nr[Nr.STYLE=2]="STYLE",Nr[Nr.SCRIPT=3]="SCRIPT",Nr[Nr.URL=4]="URL",Nr[Nr.RESOURCE_URL=5]="RESOURCE_URL",Nr))();function Wu(e){const t=Po();return t?ku(t.sanitize(Nr.HTML,e)||""):To(e,"HTML")?ku(fs(e)):function Tm(e,t){let n=null;try{va=va||function Bu(e){const t=new ym(e);return function vm(){try{return!!(new window.DOMParser).parseFromString(Ls(""),"text/html")}catch{return!1}}()?new _m(t):t}(e);let i=t?String(t):"";n=va.getInertBodyElement(i);let s=5,o=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=o,o=n.innerHTML,n=va.getInertBodyElement(i)}while(i!==o);return Ls((new Em).sanitizeChildren(gl(n)||n))}finally{if(n){const i=gl(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(T(),ke(e))}function ml(e){const t=Po();return t?t.sanitize(Nr.URL,e)||"":To(e,"URL")?fs(e):ya(ke(e))}function Po(){const e=ht();return e&&e[12]}const qu="__ngContext__";function Zr(e,t){e[qu]=t}function yl(e){const t=function xo(e){return e[qu]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Cl(e){return e.ngOriginalError}function $m(e,...t){e.error(...t)}class Ca{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function Hm(e){return e&&e.ngErrorLogger||$m}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Cl(t);for(;n&&Cl(n);)n=Cl(n);return n||null}}const Xm=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Zt))();function Yi(e){return e instanceof Function?e():e}var Zi=(()=>((Zi=Zi||{})[Zi.Important=1]="Important",Zi[Zi.DashCase=2]="DashCase",Zi))();function wl(e,t){return undefined(e,t)}function Oo(e){const t=e[3];return or(t)?t[3]:t}function El(e){return id(e[13])}function Dl(e){return id(e[4])}function id(e){for(;null!==e&&!or(e);)e=e[4];return e}function Bs(e,t,n,i,s){if(null!=i){let o,a=!1;or(i)?o=i:Zn(i)&&(a=!0,i=i[0]);const f=vt(i);0===e&&null!==n?null==s?ud(t,n,f):ws(t,n,f,s||null,!0):1===e&&null!==n?ws(t,n,f,s||null,!0):2===e?function _d(e,t,n){const i=ba(e,t);i&&function f_(e,t,n,i){pe(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,f,a):3===e&&t.destroyNode(f),null!=o&&function m_(e,t,n,i,s){const o=n[7];o!==vt(n)&&Bs(t,e,i,o,s);for(let f=10;f<n.length;f++){const _=n[f];Ao(_[1],_,e,t,i,o)}}(t,e,o,n,s)}}function Tl(e,t,n){if(pe(e))return e.createElement(t,n);{const i=null!==n?function Ti(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 od(e,t){const n=e[9],i=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,zn(s,-1)),n.splice(i,1)}function Sl(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const s=i[17];null!==s&&s!==e&&od(s,i),t>0&&(e[n-1][4]=i[4]);const o=da(e,10+t);!function s_(e,t){Ao(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function ad(e,t){if(!(256&t[2])){const n=t[11];pe(n)&&n.destroyNode&&Ao(e,t,n,3,null,null),function l_(e){let t=e[13];if(!t)return Pl(e[1],e);for(;t;){let n=null;if(Zn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Zn(t)&&Pl(t[1],t),t=t[3];null===t&&(t=e),Zn(t)&&Pl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Pl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function h_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const s=t[n[i]];if(!(s instanceof Oi)){const o=n[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const f=s[o[a]],_=o[a+1];try{_.call(f)}finally{}}else try{o.call(s)}finally{}}}}(e,t),function d_(e,t){const n=e.cleanup,i=t[7];let s=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+1],f="function"==typeof a?a(t):vt(t[a]),_=i[s=n[o+2]],N=n[o+3];"boolean"==typeof N?f.removeEventListener(n[o],_,N):N>=0?i[s=N]():i[s=-N].unsubscribe(),o+=2}else{const a=i[s=n[o+1]];n[o].call(a)}if(null!==i){for(let o=s+1;o<i.length;o++)i[o]();t[7]=null}}(e,t),1===t[1].type&&pe(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&or(t[3])){n!==t[3]&&od(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function ld(e,t,n){return function cd(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const s=e.data[i.directiveStart].encapsulation;if(s===Nt.None||s===Nt.Emulated)return null}return un(i,n)}(e,t.parent,n)}function ws(e,t,n,i,s){pe(e)?e.insertBefore(t,n,i,s):t.insertBefore(n,i,s)}function ud(e,t,n){pe(e)?e.appendChild(t,n):t.appendChild(n)}function dd(e,t,n,i,s){null!==i?ws(e,t,n,i,s):ud(e,t,n)}function ba(e,t){return pe(e)?e.parentNode(t):t.parentNode}function hd(e,t,n){return pd(e,t,n)}let pd=function fd(e,t,n){return 40&e.type?un(e,n):null};function wa(e,t,n,i){const s=ld(e,i,t),o=t[11],f=hd(i.parent||t[6],i,t);if(null!=s)if(Array.isArray(n))for(let _=0;_<n.length;_++)dd(o,s,n[_],f,!1);else dd(o,s,n,f,!1)}function Ea(e,t){if(null!==t){const n=t.type;if(3&n)return un(t,e);if(4&n)return Ol(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Ea(e,i);{const s=e[t.index];return or(s)?Ol(-1,s):vt(s)}}if(32&n)return wl(t,e)()||vt(e[t.index]);{const i=md(e,t);return null!==i?Array.isArray(i)?i[0]:Ea(Oo(e[U]),i):Ea(e,t.next)}}return null}function md(e,t){return null!==t?e[U][6].projection[t.projection]:null}function Ol(e,t){const n=10+e+1;if(n<t.length){const i=t[n],s=i[1].firstChild;if(null!==s)return Ea(i,s)}return t[7]}function Al(e,t,n,i,s,o,a){for(;null!=n;){const f=i[n.index],_=n.type;if(a&&0===t&&(f&&Zr(vt(f),i),n.flags|=4),64!=(64&n.flags))if(8&_)Al(e,t,n.child,i,s,o,!1),Bs(t,e,s,f,o);else if(32&_){const N=wl(n,i);let $;for(;$=N();)Bs(t,e,s,$,o);Bs(t,e,s,f,o)}else 16&_?yd(e,t,i,n,s,o):Bs(t,e,s,f,o);n=a?n.projectionNext:n.next}}function Ao(e,t,n,i,s,o){Al(n,i,e.firstChild,t,s,o,!1)}function yd(e,t,n,i,s,o){const a=n[U],_=a[6].projection[i.projection];if(Array.isArray(_))for(let N=0;N<_.length;N++)Bs(t,e,s,_[N],o);else Al(e,t,_,a[3],s,o,!0)}function vd(e,t,n){pe(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Il(e,t,n){pe(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Cd(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const o=t.length;if(s+o===i||e.charCodeAt(s+o)<=32)return s}n=s+1}}const bd="ng-template";function y_(e,t,n){let i=0;for(;i<e.length;){let s=e[i++];if(n&&"class"===s){if(s=e[i],-1!==Cd(s.toLowerCase(),t,0))return!0}else if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function wd(e){return 4===e.type&&e.value!==bd}function v_(e,t,n){return t===(4!==e.type||n?e.value:bd)}function C_(e,t,n){let i=4;const s=e.attrs||[],o=function E_(e){for(let t=0;t<e.length;t++)if(fo(e[t]))return t;return e.length}(s);let a=!1;for(let f=0;f<t.length;f++){const _=t[f];if("number"!=typeof _){if(!a)if(4&i){if(i=2|1&i,""!==_&&!v_(e,_,n)||""===_&&1===t.length){if(Ni(i))return!1;a=!0}}else{const N=8&i?_:t[++f];if(8&i&&null!==e.attrs){if(!y_(e.attrs,N,n)){if(Ni(i))return!1;a=!0}continue}const ne=b_(8&i?"class":_,s,wd(e),n);if(-1===ne){if(Ni(i))return!1;a=!0;continue}if(""!==N){let ye;ye=ne>o?"":s[ne+1].toLowerCase();const Le=8&i?ye:null;if(Le&&-1!==Cd(Le,N,0)||2&i&&N!==ye){if(Ni(i))return!1;a=!0}}}}else{if(!a&&!Ni(i)&&!Ni(_))return!1;if(a&&Ni(_))continue;a=!1,i=_|1&i}}return Ni(i)||a}function Ni(e){return 0==(1&e)}function b_(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let o=!1;for(;s<t.length;){const a=t[s];if(a===e)return s;if(3===a||6===a)o=!0;else{if(1===a||2===a){let f=t[++s];for(;"string"==typeof f;)f=t[++s];continue}if(4===a)break;if(0===a){s+=4;continue}}s+=o?1:2}return-1}return function D_(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 Ed(e,t,n=!1){for(let i=0;i<t.length;i++)if(C_(e,t[i],n))return!0;return!1}function M_(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let s=0;s<e.length;s++)if(e[s]!==i[s])continue e;return!0}}return!1}function Dd(e,t){return e?":not("+t.trim()+")":t}function T_(e){let t=e[0],n=1,i=2,s="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&i){const f=e[++n];s+="["+a+(f.length>0?'="'+f+'"':"")+"]"}else 8&i?s+="."+a:4&i&&(s+=" "+a);else""!==s&&!Ni(a)&&(t+=Dd(o,s),s=""),i=a,o=o||!Ni(i);n++}return""!==s&&(t+=Dd(o,s)),t}const Tn={};function Md(e){Td(An(),ht(),lr()+e,!1)}function Td(e,t,n,i){if(!i)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&pr(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Hr(t,o,0,n)}ci(n)}function Da(e,t){return e<<17|t<<2}function Fi(e){return e>>17&32767}function Nl(e){return 2|e}function as(e){return(131068&e)>>2}function Fl(e,t){return-131069&e|t<<2}function kl(e){return 1|e}function Ld(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],o=n[i+1];if(-1!==o){const a=e.data[o];vn(s),a.contentQueries(2,t[o],o)}}}function Io(e,t,n,i,s,o,a,f,_,N){const $=t.blueprint.slice();return $[0]=s,$[2]=140|i,Ut($),$[3]=$[15]=e,$[8]=n,$[10]=a||e&&e[10],$[11]=f||e&&e[11],$[12]=_||e&&e[12]||null,$[9]=N||e&&e[9]||null,$[6]=o,$[U]=2==t.type?e[U]:$,$}function js(e,t,n,i,s){let o=e.data[t];if(null===o)o=function Gl(e,t,n,i,s){const o=Hi(),a=us(),_=e.data[t]=function G_(e,t,n,i,s,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,i,s);return null===e.firstChild&&(e.firstChild=_),null!==o&&(a?null==o.child&&null!==_.parent&&(o.child=_):null===o.next&&(o.next=_)),_}(e,t,n,i,s),function Be(){return Jt.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=i,o.attrs=s;const a=function Si(){const e=Jt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return kr(o,!0),o}function Us(e,t,n,i){if(0===n)return-1;const s=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return s}function No(e,t,n){fr(t);try{const i=e.viewQuery;null!==i&&Xl(1,i,n);const s=e.template;null!==s&&Vd(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ld(e,t),e.staticViewQueries&&Xl(2,e.viewQuery,n);const o=e.components;null!==o&&function U_(e,t){for(let n=0;n<t.length;n++)ly(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Tr()}}function Hs(e,t,n,i){const s=t[2];if(256!=(256&s)){fr(t);try{Ut(t),function X(e){return Jt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Vd(e,t,n,2,i);const a=3==(3&s);if(a){const N=e.preOrderCheckHooks;null!==N&&pr(t,N,null)}else{const N=e.preOrderHooks;null!==N&&Hr(t,N,0,null),Rr(t,0)}if(function oy(e){for(let t=El(e);null!==t;t=Dl(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const s=n[i],o=s[3];0==(1024&s[2])&&zn(o,1),s[2]|=1024}}}(t),function sy(e){for(let t=El(e);null!==t;t=Dl(t))for(let n=10;n<t.length;n++){const i=t[n],s=i[1];y(i)&&Hs(s,i,s.template,i[8])}}(t),null!==e.contentQueries&&Ld(e,t),a){const N=e.contentCheckHooks;null!==N&&pr(t,N)}else{const N=e.contentHooks;null!==N&&Hr(t,N,1),Rr(t,1)}!function B_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const s=n[i];if(s<0)ci(~s);else{const o=s,a=n[++i],f=n[++i];kt(a,o),f(2,t[o])}}}finally{ci(-1)}}(e,t);const f=e.components;null!==f&&function j_(e,t){for(let n=0;n<t.length;n++)ay(e,t[n])}(t,f);const _=e.viewQuery;if(null!==_&&Xl(2,_,i),a){const N=e.viewCheckHooks;null!==N&&pr(t,N)}else{const N=e.viewHooks;null!==N&&Hr(t,N,2),Rr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,zn(t[3],-1))}finally{Tr()}}}function H_(e,t,n,i){const s=t[10],a=b(t);try{!a&&s.begin&&s.begin(),a&&No(e,t,i),Hs(e,t,n,i)}finally{!a&&s.end&&s.end()}}function Vd(e,t,n,i,s){const o=lr(),a=2&i;try{ci(-1),a&&t.length>20&&Td(e,t,20,!1),n(i,s)}finally{ci(o)}}function Bd(e,t,n){if(Fr(t)){const s=t.directiveEnd;for(let o=t.directiveStart;o<s;o++){const a=e.data[o];a.contentQueries&&a.contentQueries(1,n[o],o)}}}function zl(e,t,n){!ms()||(function K_(e,t,n,i){const s=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||ss(n,t),Zr(i,t);const a=n.initialInputs;for(let f=s;f<o;f++){const _=e.data[f],N=Er(_);N&&ny(t,n,_);const $=bs(t,e,f,n);Zr($,t),null!==a&&ry(0,f-s,$,_,0,a),N&&(M(n.index,t)[8]=$)}}(e,t,n,un(n,t)),128==(128&n.flags)&&function J_(e,t,n){const i=n.directiveStart,s=n.directiveEnd,a=n.index,f=function Wt(){return Jt.lFrame.currentDirectiveIndex}();try{ci(a);for(let _=i;_<s;_++){const N=e.data[_],$=t[_];gn(_),(null!==N.hostBindings||0!==N.hostVars||null!==N.hostAttrs)&&Yd(N,$)}}finally{ci(-1),gn(f)}}(e,t,n))}function Wl(e,t,n=un){const i=t.localNames;if(null!==i){let s=t.index+1;for(let o=0;o<i.length;o+=2){const a=i[o+1],f=-1===a?n(t,e):e[a];e[s++]=f}}}function jd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Sa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Sa(e,t,n,i,s,o,a,f,_,N){const $=20+i,ne=$+s,ye=function $_(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Tn);return n}($,ne),Le="function"==typeof N?N():N;return ye[1]={type:e,blueprint:ye,template:n,queries:null,viewQuery:f,declTNode:t,data:ye.slice().fill(null,$),bindingStartIndex:$,expandoStartIndex:ne,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:_,consts:Le,incompleteFirstPass:!1}}function $d(e,t,n,i){const s=Xd(t);null===n?s.push(i):(s.push(n),e.firstCreatePass&&eh(e).push(i,s.length-1))}function Gd(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const s=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,s):n[i]=[t,s]}return n}function fi(e,t,n,i,s,o,a,f){const _=un(t,n);let $,N=t.inputs;!f&&null!=N&&($=N[i])?(rh(e,n,$,i,s),si(t)&&function Y_(e,t){const n=M(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function W_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),s=null!=a?a(s,t.value||"",i):s,pe(o)?o.setProperty(_,i,s):po(i)||(_.setProperty?_.setProperty(i,s):_[i]=s))}function Yl(e,t,n,i){let s=!1;if(ms()){const o=function X_(e,t,n){const i=e.directiveRegistry;let s=null;if(i)for(let o=0;o<i.length;o++){const a=i[o];Ed(n,a.selectors,!1)&&(s||(s=[]),Os(ss(n,t),e,a.type),Er(a)?(Zd(e,n),s.unshift(a)):s.push(a))}return s}(e,t,n),a=null===i?null:{"":-1};if(null!==o){s=!0,qd(n,e.data.length,o.length);for(let $=0;$<o.length;$++){const ne=o[$];ne.providersResolver&&ne.providersResolver(ne)}let f=!1,_=!1,N=Us(e,t,o.length,null);for(let $=0;$<o.length;$++){const ne=o[$];n.mergedAttrs=Ps(n.mergedAttrs,ne.hostAttrs),Qd(e,n,t,N,ne),ty(N,ne,a),null!==ne.contentQueries&&(n.flags|=8),(null!==ne.hostBindings||null!==ne.hostAttrs||0!==ne.hostVars)&&(n.flags|=128);const ye=ne.type.prototype;!f&&(ye.ngOnChanges||ye.ngOnInit||ye.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!_&&(ye.ngOnChanges||ye.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),_=!0),N++}!function z_(e,t){const i=t.directiveEnd,s=e.data,o=t.attrs,a=[];let f=null,_=null;for(let N=t.directiveStart;N<i;N++){const $=s[N],ne=$.inputs,ye=null===o||wd(t)?null:iy(ne,o);a.push(ye),f=Gd(ne,N,f),_=Gd($.outputs,N,_)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=f,t.outputs=_}(e,n)}a&&function ey(e,t,n){if(t){const i=e.localNames=[];for(let s=0;s<t.length;s+=2){const o=n[t[s+1]];if(null==o)throw new lt(-301,!1);i.push(t[s],o)}}}(n,i,a)}return n.mergedAttrs=Ps(n.mergedAttrs,n.attrs),s}function Wd(e,t,n,i,s,o){const a=o.hostBindings;if(a){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const _=~t.index;(function Q_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=_&&f.push(_),f.push(i,s,a)}}function Yd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Zd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function ty(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Er(t)&&(n[""]=e)}}function qd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Qd(e,t,n,i,s){e.data[i]=s;const o=s.factory||(s.factory=yn(s.type)),a=new Oi(o,Er(s),null);e.blueprint[i]=a,n[i]=a,Wd(e,t,0,i,Us(e,n,s.hostVars,Tn),s)}function ny(e,t,n){const i=un(t,e),s=jd(n),o=e[10],a=Pa(e,Io(e,s,null,n.onPush?64:16,i,t,o,o.createRenderer(i,n),null,null));e[t.index]=a}function qi(e,t,n,i,s,o){const a=un(e,t);!function Zl(e,t,n,i,s,o,a){if(null==o)pe(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const f=null==a?ke(o):a(o,i||"",s);pe(e)?e.setAttribute(t,s,f,n):n?t.setAttributeNS(n,s,f):t.setAttribute(s,f)}}(t[11],a,o,e.value,n,i,s)}function ry(e,t,n,i,s,o){const a=o[t];if(null!==a){const f=i.setInput;for(let _=0;_<a.length;){const N=a[_++],$=a[_++],ne=a[_++];null!==f?i.setInput(n,ne,N,$):n[$]=ne}}}function iy(e,t){let n=null,i=0;for(;i<t.length;){const s=t[i];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Kd(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function ay(e,t){const n=M(t,e);if(y(n)){const i=n[1];80&n[2]?Hs(i,n,i.template,n[8]):n[5]>0&&ql(n)}}function ql(e){for(let i=El(e);null!==i;i=Dl(i))for(let s=10;s<i.length;s++){const o=i[s];if(1024&o[2]){const a=o[1];Hs(a,o,a.template,o[8])}else o[5]>0&&ql(o)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const s=M(n[i],e);y(s)&&s[5]>0&&ql(s)}}function ly(e,t){const n=M(t,e),i=n[1];(function cy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),No(i,n,n[8])}function Pa(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ql(e){for(;e;){e[2]|=64;const t=Oo(e);if(Pr(e)&&!t)return e;e=t}return null}function Jd(e){!function Kl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=yl(n),s=i[1];H_(s,i,s.template,n)}}(e[8])}function Xl(e,t,n){vn(0),t(e,n)}const dy=(()=>Promise.resolve(null))();function Xd(e){return e[7]||(e[7]=[])}function eh(e){return e.cleanup||(e.cleanup=[])}function nh(e,t){const n=e[9],i=n?n.get(Ca,null):null;i&&i.handleError(t)}function rh(e,t,n,i,s){for(let o=0;o<n.length;){const a=n[o++],f=n[o++],_=t[a],N=e.data[a];null!==N.setInput?N.setInput(_,s,i,f):_[f]=s}}function ls(e,t,n){const i=jn(t,e);!function sd(e,t,n){pe(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function xa(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?o=f:1==o?s=Pe(s,f):2==o&&(i=Pe(i,f+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=s:e.classesWithoutHost=s}const ec=new Dt("INJECTOR",-1);class ih{get(t,n=Co){if(n===Co){const i=new Error(`NullInjectorError: No provider for ${oe(t)}!`);throw i.name="NullInjectorError",i}return n}}const tc=new Dt("Set Injector scope."),Fo={},py={};let nc;function sh(){return void 0===nc&&(nc=new ih),nc}function oh(e,t=null,n=null,i){const s=ah(e,t,n,i);return s._resolveInjectorDefTypes(),s}function ah(e,t=null,n=null,i){return new gy(e,n,t||sh(),i)}class gy{constructor(t,n,i,s=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];n&&zi(n,f=>this.processProvider(f,t,n)),zi([t],f=>this.processInjectorType(f,[],o)),this.records.set(ec,$s(void 0,this));const a=this.records.get(tc);this.scope=null!=a?a.value:null,this.source=s||("object"==typeof t?null:oe(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=Co,i=$t.Default){this.assertNotDestroyed();const s=xu(this),o=be(void 0);try{if(!(i&$t.SkipSelf)){let f=this.records.get(t);if(void 0===f){const _=function Ey(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dt}(t)&&bn(t);f=_&&this.injectableDefInScope(_)?$s(rc(t),Fo):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(i&$t.Self?sh():this.parent).get(t,n=i&$t.Optional&&n===Co?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[fa]=a[fa]||[]).unshift(oe(t)),s)throw a;return function Xg(e,t,n,i){const s=e[fa];throw t[Pu]&&s.unshift(t[Pu]),e.message=function em(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=oe(t);if(Array.isArray(t))s=t.map(oe).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let f=t[a];o.push(a+":"+("string"==typeof f?JSON.stringify(f):oe(f)))}s=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(Yg,"\n ")}`}("\n"+e.message,s,n,i),e.ngTokenPath=s,e[fa]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{be(o),xu(s)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,s)=>t.push(oe(s))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new lt(205,!1)}processInjectorType(t,n,i){if(!(t=Ie(t)))return!1;let s=wr(t);const o=null==s&&t.ngModule||void 0,a=void 0===o?t:o,f=-1!==i.indexOf(a);if(void 0!==o&&(s=wr(o)),null==s)return!1;if(null!=s.imports&&!f){let $;i.push(a);try{zi(s.imports,ne=>{this.processInjectorType(ne,n,i)&&(void 0===$&&($=[]),$.push(ne))})}finally{}if(void 0!==$)for(let ne=0;ne<$.length;ne++){const{ngModule:ye,providers:Le}=$[ne];zi(Le,Je=>this.processProvider(Je,ye,Le||Fe))}}this.injectorDefTypes.add(a);const _=yn(a)||(()=>new a);this.records.set(a,$s(_,Fo));const N=s.providers;if(null!=N&&!f){const $=t;zi(N,ne=>this.processProvider(ne,$,N))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,i){let s=Gs(t=Ie(t))?t:Ie(t&&t.provide);const o=function _y(e,t,n){return ch(e)?$s(void 0,e.useValue):$s(lh(e),Fo)}(t);if(Gs(t)||!0!==t.multi)this.records.get(s);else{let a=this.records.get(s);a||(a=$s(void 0,Fo,!0),a.factory=()=>ll(a.multi),this.records.set(s,a)),s=t,a.multi.push(t)}this.records.set(s,o)}hydrate(t,n){return n.value===Fo&&(n.value=py,n.value=n.factory()),"object"==typeof n.value&&n.value&&function wy(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=Ie(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function rc(e){const t=bn(e),n=null!==t?t.factory:yn(e);if(null!==n)return n;if(e instanceof Dt)throw new lt(204,!1);if(e instanceof Function)return function my(e){const t=e.length;if(t>0)throw vo(t,"?"),new lt(204,!1);const n=function dr(e){const t=e&&(e[sr]||e[mn]);if(t){const n=function br(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 lt(204,!1)}function lh(e,t,n){let i;if(Gs(e)){const s=Ie(e);return yn(s)||rc(s)}if(ch(e))i=()=>Ie(e.useValue);else if(function vy(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ll(e.deps||[]));else if(function yy(e){return!(!e||!e.useExisting)}(e))i=()=>Gr(Ie(e.useExisting));else{const s=Ie(e&&(e.useClass||e.provide));if(!function by(e){return!!e.deps}(e))return yn(s)||rc(s);i=()=>new s(...ll(e.deps))}return i}function $s(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ch(e){return null!==e&&"object"==typeof e&&qg in e}function Gs(e){return"function"==typeof e}let Qi=(()=>{class e{static create(n,i){if(Array.isArray(n))return oh({name:""},i,n,"");{const s=n.name??"";return oh({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Co,e.NULL=new ih,e.\u0275prov=Sn({token:e,providedIn:"any",factory:()=>Gr(ec)}),e.__NG_ELEMENT_ID__=-1,e})();function Ay(e,t){In(yl(e)[1],vr())}function oc(e){let t=function bh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let s;if(Er(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new lt(903,"");s=t.\u0275dir}if(s){if(n){i.push(s);const a=e;a.inputs=ac(e.inputs),a.declaredInputs=ac(e.declaredInputs),a.outputs=ac(e.outputs);const f=s.hostBindings;f&&ky(e,f);const _=s.viewQuery,N=s.contentQueries;if(_&&Ny(e,_),N&&Fy(e,N),se(e.inputs,s.inputs),se(e.declaredInputs,s.declaredInputs),se(e.outputs,s.outputs),Er(s)&&s.data.animation){const $=e.data;$.animation=($.animation||[]).concat(s.data.animation)}}const o=s.features;if(o)for(let a=0;a<o.length;a++){const f=o[a];f&&f.ngInherit&&f(e),f===oc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Iy(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=Ps(s.hostAttrs,n=Ps(n,s.hostAttrs))}}(i)}function ac(e){return e===De?{}:e===Fe?[]:e}function Ny(e,t){const n=e.viewQuery;e.viewQuery=n?(i,s)=>{t(i,s),n(i,s)}:t}function Fy(e,t){const n=e.contentQueries;e.contentQueries=n?(i,s,o)=>{t(i,s,o),n(i,s,o)}:t}function ky(e,t){const n=e.hostBindings;e.hostBindings=n?(i,s)=>{t(i,s),n(i,s)}:t}let Oa=null;function zs(){if(!Oa){const e=Zt.Symbol;if(e&&e.iterator)Oa=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&&(Oa=i)}}}return Oa}function ko(e){return!!lc(e)&&(Array.isArray(e)||!(e instanceof Map)&&zs()in e)}function lc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ki(e,t,n){return e[t]=n}function qr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Es(e,t,n,i){const s=qr(e,t,n);return qr(e,t+1,i)||s}function cc(e,t,n,i){const s=ht();return qr(s,ce(),t)&&(An(),qi(Xn(),s,e,t,n,i)),cc}function Ys(e,t,n,i){return qr(e,ce(),n)?t+ke(n)+i:Tn}function Ah(e,t,n,i,s,o,a,f){const _=ht(),N=An(),$=e+20,ne=N.firstCreatePass?function Hy(e,t,n,i,s,o,a,f,_){const N=t.consts,$=js(t,e,4,a||null,$e(N,f));Yl(t,n,$,$e(N,_)),In(t,$);const ne=$.tViews=Sa(2,$,i,s,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,N);return null!==t.queries&&(t.queries.template(t,$),ne.queries=t.queries.embeddedTView($)),$}($,N,_,t,n,i,s,o,a):N.data[$];kr(ne,!1);const ye=_[11].createComment("");wa(N,_,ye,ne),Zr(ye,_),Pa(_,_[$]=Kd(ye,_,ye,ne)),Jn(ne)&&zl(N,_,ne),null!=a&&Wl(_,ne,f)}function Ih(e){return function ar(e,t){return e[t]}(function V(){return Jt.lFrame.contextLView}(),20+e)}function Lo(e,t=$t.Default){const n=ht();return null===n?Gr(e,t):ra(vr(),n,Ie(e),t)}function $h(){throw new Error("invalid")}function pc(e,t,n){const i=ht();return qr(i,ce(),t)&&fi(An(),Xn(),i,e,t,i[11],n,!1),pc}function gc(e,t,n,i,s){const a=s?"class":"style";rh(e,n,t.inputs[a],a,i)}function Na(e,t,n,i){const s=ht(),o=An(),a=20+e,f=s[11],_=s[a]=Tl(f,t,function nn(){return Jt.lFrame.currentNamespace}()),N=o.firstCreatePass?function cv(e,t,n,i,s,o,a){const f=t.consts,N=js(t,e,2,s,$e(f,o));return Yl(t,n,N,$e(f,a)),null!==N.attrs&&xa(N,N.attrs,!1),null!==N.mergedAttrs&&xa(N,N.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,N),N}(a,o,s,0,t,n,i):o.data[a];kr(N,!0);const $=N.mergedAttrs;null!==$&&Ss(f,_,$);const ne=N.classes;null!==ne&&Il(f,_,ne);const ye=N.styles;return null!==ye&&vd(f,_,ye),64!=(64&N.flags)&&wa(o,s,_,N),0===function ns(){return Jt.lFrame.elementDepthCount}()&&Zr(_,s),function rs(){Jt.lFrame.elementDepthCount++}(),Jn(N)&&(zl(o,s,N),Bd(o,N,s)),null!==i&&Wl(s,N),Na}function Fa(){let e=vr();us()?ys():(e=e.parent,kr(e,!1));const t=e;!function cs(){Jt.lFrame.elementDepthCount--}();const n=An();return n.firstCreatePass&&(In(n,e),Fr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ds(e){return 0!=(16&e.flags)}(t)&&gc(n,t,ht(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function tl(e){return 0!=(32&e.flags)}(t)&&gc(n,t,ht(),t.stylesWithoutHost,!1),Fa}function mc(e,t,n,i){return Na(e,t,n,i),Fa(),mc}function ka(e,t,n){const i=ht(),s=An(),o=e+20,a=s.firstCreatePass?function uv(e,t,n,i,s){const o=t.consts,a=$e(o,i),f=js(t,e,8,"ng-container",a);return null!==a&&xa(f,a,!0),Yl(t,n,f,$e(o,s)),null!==t.queries&&t.queries.elementStart(t,f),f}(o,s,i,t,n):s.data[o];kr(a,!0);const f=i[o]=i[11].createComment("");return wa(s,i,f,a),Zr(f,i),Jn(a)&&(zl(s,i,a),Bd(s,a,i)),null!=n&&Wl(i,a),ka}function Ra(){let e=vr();const t=An();return us()?ys():(e=e.parent,kr(e,!1)),t.firstCreatePass&&(In(t,e),Fr(e)&&t.queries.elementEnd(e)),Ra}function _c(e,t,n){return ka(e,t,n),Ra(),_c}function Gh(){return ht()}function yc(e){return!!e&&"function"==typeof e.then}function zh(e){return!!e&&"function"==typeof e.subscribe}const Wh=zh;function vc(e,t,n,i){const s=ht(),o=An(),a=vr();return function Zh(e,t,n,i,s,o,a,f){const _=Jn(i),$=e.firstCreatePass&&eh(e),ne=t[8],ye=Xd(t);let Le=!0;if(3&i.type||f){const Tt=un(i,t),Yt=f?f(Tt):Tt,at=ye.length,on=f?Bn=>f(vt(Bn[i.index])):i.index;if(pe(n)){let Bn=null;if(!f&&_&&(Bn=function dv(e,t,n,i){const s=e.cleanup;if(null!=s)for(let o=0;o<s.length-1;o+=2){const a=s[o];if(a===n&&s[o+1]===i){const f=t[7],_=s[o+2];return f.length>_?f[_]:null}"string"==typeof a&&(o+=2)}return null}(e,t,s,i.index)),null!==Bn)(Bn.__ngLastListenerFn__||Bn).__ngNextListenerFn__=o,Bn.__ngLastListenerFn__=o,Le=!1;else{o=Cc(i,t,ne,o,!1);const er=n.listen(Yt,s,o);ye.push(o,er),$&&$.push(s,on,at,at+1)}}else o=Cc(i,t,ne,o,!0),Yt.addEventListener(s,o,a),ye.push(o),$&&$.push(s,on,at,a)}else o=Cc(i,t,ne,o,!1);const Je=i.outputs;let bt;if(Le&&null!==Je&&(bt=Je[s])){const Tt=bt.length;if(Tt)for(let Yt=0;Yt<Tt;Yt+=2){const pi=t[bt[Yt]][bt[Yt+1]].subscribe(o),Ts=ye.length;ye.push(o,pi),$&&$.push(s,i.index,Ts,-(Ts+1))}}}(o,s,s[11],a,e,t,!!n,i),vc}function qh(e,t,n,i){try{return!1!==n(i)}catch(s){return nh(e,s),!1}}function Cc(e,t,n,i,s){return function o(a){if(a===Function)return i;const f=2&e.flags?M(e.index,t):t;0==(32&t[2])&&Ql(f);let _=qh(t,0,i,a),N=o.__ngNextListenerFn__;for(;N;)_=qh(t,0,N,a)&&_,N=N.__ngNextListenerFn__;return s&&!1===_&&(a.preventDefault(),a.returnValue=!1),_}}function Qh(e=1){return function ii(e){return(Jt.lFrame.contextLView=function li(e,t){for(;e>0;)t=t[15],e--;return t}(e,Jt.lFrame.contextLView))[8]}(e)}function hv(e,t){let n=null;const i=function w_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const o=t[s];if("*"!==o){if(null===i?Ed(e,o,!0):M_(i,o))return s}else n=s}return n}function Kh(e){const t=ht()[U][6];if(!t.projection){const i=t.projection=vo(e?e.length:1,null),s=i.slice();let o=t.child;for(;null!==o;){const a=e?hv(o,e):0;null!==a&&(s[a]?s[a].projectionNext=o:i[a]=o,s[a]=o),o=o.next}}}function Jh(e,t=0,n){const i=ht(),s=An(),o=js(s,20+e,16,null,n||null);null===o.projection&&(o.projection=t),ys(),64!=(64&o.flags)&&function g_(e,t,n){yd(t[11],0,t,n,ld(e,n,t),hd(n.parent||t[6],n,t))}(s,i,o)}function bc(e,t,n){return La(e,"",t,"",n),bc}function La(e,t,n,i,s){const o=ht(),a=Ys(o,t,n,i);return a!==Tn&&fi(An(),Xn(),o,e,a,o[11],s,!1),La}function cf(e,t,n,i,s){const o=e[n+1],a=null===t;let f=i?Fi(o):as(o),_=!1;for(;0!==f&&(!1===_||a);){const $=e[f+1];gv(e[f],t)&&(_=!0,e[f+1]=i?kl($):Nl($)),f=i?Fi($):as($)}_&&(e[n+1]=i?Nl(o):kl(o))}function gv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ks(e,t)>=0}const Vr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function uf(e){return e.substring(Vr.key,Vr.keyEnd)}function df(e,t){const n=Vr.textEnd;return n===t?-1:(t=Vr.keyEnd=function vv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Vr.key=t,n),no(e,t,n))}function no(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function wc(e,t){return function Ri(e,t,n,i){const s=ht(),o=An(),a=fe(2);o.firstUpdatePass&&vf(o,e,a,i),t!==Tn&&qr(s,a,t)&&bf(o,o.data[lr()],s,s[11],e,s[a+1]=function xv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=oe(fs(e)))),e}(t,n),i,a)}(e,t,null,!0),wc}function _f(e){Li(hi,Xi,e,!0)}function Xi(e,t){for(let n=function _v(e){return function ff(e){Vr.key=0,Vr.keyEnd=0,Vr.value=0,Vr.valueEnd=0,Vr.textEnd=e.length}(e),df(e,no(e,0,Vr.textEnd))}(t);n>=0;n=df(t,n))hi(e,uf(t),!0)}function Li(e,t,n,i){const s=An(),o=fe(2);s.firstUpdatePass&&vf(s,null,o,i);const a=ht();if(n!==Tn&&qr(a,o,n)){const f=s.data[lr()];if(Ef(f,i)&&!yf(s,o)){let _=i?f.classesWithoutHost:f.stylesWithoutHost;null!==_&&(n=Pe(_,n||"")),gc(s,f,a,n,i)}else!function Pv(e,t,n,i,s,o,a,f){s===Tn&&(s=Fe);let _=0,N=0,$=0<s.length?s[0]:null,ne=0<o.length?o[0]:null;for(;null!==$||null!==ne;){const ye=_<s.length?s[_+1]:void 0,Le=N<o.length?o[N+1]:void 0;let bt,Je=null;$===ne?(_+=2,N+=2,ye!==Le&&(Je=ne,bt=Le)):null===ne||null!==$&&$<ne?(_+=2,Je=$):(N+=2,Je=ne,bt=Le),null!==Je&&bf(e,t,n,i,Je,bt,a,f),$=_<s.length?s[_]:null,ne=N<o.length?o[N]:null}}(s,f,a,a[11],a[o+1],a[o+1]=function Sv(e,t,n){if(null==n||""===n)return Fe;const i=[],s=fs(n);if(Array.isArray(s))for(let o=0;o<s.length;o++)e(i,s[o],!0);else if("object"==typeof s)for(const o in s)s.hasOwnProperty(o)&&e(i,o,s[o]);else"string"==typeof s&&t(i,s);return i}(e,t,n),i,o)}}function yf(e,t){return t>=e.expandoStartIndex}function vf(e,t,n,i){const s=e.data;if(null===s[n+1]){const o=s[lr()],a=yf(e,n);Ef(o,i)&&null===t&&!a&&(t=!1),t=function Ev(e,t,n,i){const s=function xn(e){const t=Jt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=Vo(n=Ec(null,e,t,n,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==s)if(n=Ec(s,e,t,n,i),null===o){let _=function Dv(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==as(i))return e[Fi(i)]}(e,t,i);void 0!==_&&Array.isArray(_)&&(_=Ec(null,e,t,_[1],i),_=Vo(_,t.attrs,i),function Mv(e,t,n,i){e[Fi(n?t.classBindings:t.styleBindings)]=i}(e,t,i,_))}else o=function Tv(e,t,n){let i;const s=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<s;o++)i=Vo(i,e[o].hostAttrs,n);return Vo(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(s,o,t,i),function fv(e,t,n,i,s,o){let a=o?t.classBindings:t.styleBindings,f=Fi(a),_=as(a);e[i]=n;let $,N=!1;if(Array.isArray(n)){const ne=n;$=ne[1],(null===$||ks(ne,$)>0)&&(N=!0)}else $=n;if(s)if(0!==_){const ye=Fi(e[f+1]);e[i+1]=Da(ye,f),0!==ye&&(e[ye+1]=Fl(e[ye+1],i)),e[f+1]=function x_(e,t){return 131071&e|t<<17}(e[f+1],i)}else e[i+1]=Da(f,0),0!==f&&(e[f+1]=Fl(e[f+1],i)),f=i;else e[i+1]=Da(_,0),0===f?f=i:e[_+1]=Fl(e[_+1],i),_=i;N&&(e[i+1]=Nl(e[i+1])),cf(e,$,i,!0),cf(e,$,i,!1),function pv(e,t,n,i,s){const o=s?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ks(o,t)>=0&&(n[i+1]=kl(n[i+1]))}(t,$,e,i,o),a=Da(f,_),o?t.classBindings=a:t.styleBindings=a}(s,o,t,n,a,i)}}function Ec(e,t,n,i,s){let o=null;const a=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<a&&(o=t[f],i=Vo(i,o.hostAttrs,s),o!==e);)f++;return null!==e&&(n.directiveStylingLast=f),i}function Vo(e,t,n){const i=n?1:2;let s=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?s=a:s===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),hi(e,a,!!n||t[++o]))}return void 0===e?null:e}function bf(e,t,n,i,s,o,a,f){if(!(3&t.type))return;const _=e.data,N=_[f+1];Va(function xd(e){return 1==(1&e)}(N)?wf(_,t,n,s,as(N),a):void 0)||(Va(o)||function Pd(e){return 2==(2&e)}(N)&&(o=wf(_,null,n,s,f,a)),function __(e,t,n,i,s){const o=pe(e);if(t)s?o?e.addClass(n,i):n.classList.add(i):o?e.removeClass(n,i):n.classList.remove(i);else{let a=-1===i.indexOf("-")?void 0:Zi.DashCase;if(null==s)o?e.removeStyle(n,i,a):n.style.removeProperty(i);else{const f="string"==typeof s&&s.endsWith("!important");f&&(s=s.slice(0,-10),a|=Zi.Important),o?e.setStyle(n,i,s,a):n.style.setProperty(i,s,f?"important":"")}}}(i,a,jn(lr(),n),s,o))}function wf(e,t,n,i,s,o){const a=null===t;let f;for(;s>0;){const _=e[s],N=Array.isArray(_),$=N?_[1]:_,ne=null===$;let ye=n[s+1];ye===Tn&&(ye=ne?Fe:void 0);let Le=ne?sl(ye,i):$===i?ye:void 0;if(N&&!Va(Le)&&(Le=sl(_,i)),Va(Le)&&(f=Le,a))return f;const Je=e[s+1];s=a?Fi(Je):as(Je)}if(null!==t){let _=o?t.residualClasses:t.residualStyles;null!=_&&(f=sl(_,i))}return f}function Va(e){return void 0!==e}function Ef(e,t){return 0!=(e.flags&(t?16:32))}function Df(e,t=""){const n=ht(),i=An(),s=e+20,o=i.firstCreatePass?js(i,s,1,t,null):i.data[s],a=n[s]=function Ml(e,t){return pe(e)?e.createText(t):e.createTextNode(t)}(n[11],t);wa(i,n,a,o),kr(o,!1)}function Dc(e){return Ba("",e,""),Dc}function Ba(e,t,n){const i=ht(),s=Ys(i,e,t,n);return s!==Tn&&ls(i,lr(),s),Ba}function Nf(e,t,n){Li(hi,Xi,Ys(ht(),e,t,n),!0)}function Mc(e,t,n){const i=ht();return qr(i,ce(),t)&&fi(An(),Xn(),i,e,t,i[11],n,!0),Mc}const Ds=void 0;var Zv=["en",[["a","p"],["AM","PM"],Ds],[["AM","PM"],Ds,Ds],[["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"]],Ds,[["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"]],Ds,[["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}",Ds,"{1} 'at' {0}",Ds],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Yv(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ro={};function Tc(e){const t=function qv(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=zf(t);if(n)return n;const i=t.split("-")[0];if(n=zf(i),n)return n;if("en"===i)return Zv;throw new Error(`Missing locale data for the locale "${e}".`)}function Gf(e){return Tc(e)[dn.PluralCase]}function zf(e){return e in ro||(ro[e]=Zt.ng&&Zt.ng.common&&Zt.ng.common.locales&&Zt.ng.common.locales[e]),ro[e]}var dn=(()=>((dn=dn||{})[dn.LocaleId=0]="LocaleId",dn[dn.DayPeriodsFormat=1]="DayPeriodsFormat",dn[dn.DayPeriodsStandalone=2]="DayPeriodsStandalone",dn[dn.DaysFormat=3]="DaysFormat",dn[dn.DaysStandalone=4]="DaysStandalone",dn[dn.MonthsFormat=5]="MonthsFormat",dn[dn.MonthsStandalone=6]="MonthsStandalone",dn[dn.Eras=7]="Eras",dn[dn.FirstDayOfWeek=8]="FirstDayOfWeek",dn[dn.WeekendRange=9]="WeekendRange",dn[dn.DateFormat=10]="DateFormat",dn[dn.TimeFormat=11]="TimeFormat",dn[dn.DateTimeFormat=12]="DateTimeFormat",dn[dn.NumberSymbols=13]="NumberSymbols",dn[dn.NumberFormats=14]="NumberFormats",dn[dn.CurrencyCode=15]="CurrencyCode",dn[dn.CurrencySymbol=16]="CurrencySymbol",dn[dn.CurrencyName=17]="CurrencyName",dn[dn.Currencies=18]="Currencies",dn[dn.Directionality=19]="Directionality",dn[dn.PluralCase=20]="PluralCase",dn[dn.ExtraData=21]="ExtraData",dn))();const ja="en-US";let Wf=ja;function xc(e,t,n,i,s){if(e=Ie(e),Array.isArray(e))for(let o=0;o<e.length;o++)xc(e[o],t,n,i,s);else{const o=An(),a=ht();let f=Gs(e)?e:Ie(e.provide),_=lh(e);const N=vr(),$=1048575&N.providerIndexes,ne=N.directiveStart,ye=N.providerIndexes>>20;if(Gs(e)||!e.multi){const Le=new Oi(_,s,Lo),Je=Ac(f,t,s?$:$+ye,ne);-1===Je?(Os(ss(N,a),o,f),Oc(o,e,t.length),t.push(f),N.directiveStart++,N.directiveEnd++,s&&(N.providerIndexes+=1048576),n.push(Le),a.push(Le)):(n[Je]=Le,a[Je]=Le)}else{const Le=Ac(f,t,$+ye,ne),Je=Ac(f,t,$,$+ye),bt=Le>=0&&n[Le],Tt=Je>=0&&n[Je];if(s&&!Tt||!s&&!bt){Os(ss(N,a),o,f);const Yt=function YC(e,t,n,i,s){const o=new Oi(e,n,Lo);return o.multi=[],o.index=t,o.componentProviders=0,mp(o,s,i&&!n),o}(s?WC:zC,n.length,s,i,_);!s&&Tt&&(n[Je].providerFactory=Yt),Oc(o,e,t.length,0),t.push(f),N.directiveStart++,N.directiveEnd++,s&&(N.providerIndexes+=1048576),n.push(Yt),a.push(Yt)}else Oc(o,e,Le>-1?Le:Je,mp(n[s?Je:Le],_,!s&&i));!s&&i&&Tt&&n[Je].componentProviders++}}}function Oc(e,t,n,i){const s=Gs(t),o=function Cy(e){return!!e.useClass}(t);if(s||o){const _=(o?Ie(t.useClass):t).prototype.ngOnDestroy;if(_){const N=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const $=N.indexOf(n);-1===$?N.push(n,[i,_]):N[$+1].push(i,_)}else N.push(n,_)}}}function mp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ac(e,t,n,i){for(let s=n;s<i;s++)if(t[s]===e)return s;return-1}function zC(e,t,n,i){return Ic(this.multi,[])}function WC(e,t,n,i){const s=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,f=bs(n,n[1],this.providerFactory.index,i);o=f.slice(0,a),Ic(s,o);for(let _=a;_<f.length;_++)o.push(f[_])}else o=[],Ic(s,o);return o}function Ic(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function _p(e,t=[]){return n=>{n.providersResolver=(i,s)=>function GC(e,t,n){const i=An();if(i.firstCreatePass){const s=Er(e);xc(n,i.data,i.blueprint,s,!0),xc(t,i.data,i.blueprint,s,!1)}}(i,s?s(e):e,t)}}class yp{}class QC{resolveComponentFactory(t){throw function qC(e){const t=Error(`No component factory found for ${oe(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let za=(()=>{class e{}return e.NULL=new QC,e})();function KC(){return so(vr(),ht())}function so(e,t){return new $o(un(e,t))}let $o=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=KC,e})();function JC(e){return e instanceof $o?e.nativeElement:e}class Cp{}let XC=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function t0(){const e=ht(),n=M(vr().index,e);return function e0(e){return e[11]}(Zn(n)?n:e)}(),e})(),n0=(()=>{class e{}return e.\u0275prov=Sn({token:e,providedIn:"root",factory:()=>null}),e})();class bp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const r0=new bp("13.3.11"),Nc={};function Wa(e,t,n,i,s=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(vt(o)),or(o))for(let f=10;f<o.length;f++){const _=o[f],N=_[1].firstChild;null!==N&&Wa(_[1],_,N,i)}const a=n.type;if(8&a)Wa(e,t,n.child,i);else if(32&a){const f=wl(n,t);let _;for(;_=f();)i.push(_)}else if(16&a){const f=md(t,n);if(Array.isArray(f))i.push(...f);else{const _=Oo(t[U]);Wa(_[1],_,f,i,!0)}}n=s?n.projectionNext:n.next}return i}class Go{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 Wa(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(or(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Sl(t,i),da(n,i))}this._attachedToViewContainer=!1}ad(this._lView[1],this._lView)}onDestroy(t){$d(this._lView[1],this._lView,null,t)}markForCheck(){Ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Jl(e,t,n){const i=t[10];i.begin&&i.begin();try{Hs(e,t,e.template,n)}catch(s){throw nh(t,s),s}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new lt(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function a_(e,t){Ao(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new lt(902,"");this._appRef=t}}class s0 extends Go{constructor(t){super(t),this._view=t}detectChanges(){Jd(this._view)}checkNoChanges(){}get context(){return null}}class wp extends za{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=St(t);return new Fc(n,this.ngModule)}}function Ep(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Fc extends yp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function S_(e){return e.map(T_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Ep(this.componentDef.inputs)}get outputs(){return Ep(this.componentDef.outputs)}create(t,n,i,s){const o=(s=s||this.ngModule)?function a0(e,t){return{get:(n,i,s)=>{const o=e.get(n,Nc,s);return o!==Nc||i===Nc?o:t.get(n,i,s)}}}(t,s.injector):t,a=o.get(Cp,He),f=o.get(n0,null),_=a.createRenderer(null,this.componentDef),N=this.componentDef.selectors[0][0]||"div",$=i?function Hd(e,t,n){if(pe(e))return e.selectRootElement(t,n===Nt.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(_,i,this.componentDef.encapsulation):Tl(a.createRenderer(null,this.componentDef),N,function o0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(N)),ne=this.componentDef.onPush?576:528,ye=function Ch(e,t){return{components:[],scheduler:e||Xm,clean:dy,playerHandler:t||null,flags:0}}(),Le=Sa(0,null,null,1,0,null,null,null,null,null),Je=Io(null,Le,ye,ne,null,null,a,_,f,o);let bt,Tt;fr(Je);try{const Yt=function yh(e,t,n,i,s,o){const a=n[1];n[20]=e;const _=js(a,20,2,"#host",null),N=_.mergedAttrs=t.hostAttrs;null!==N&&(xa(_,N,!0),null!==e&&(Ss(s,e,N),null!==_.classes&&Il(s,e,_.classes),null!==_.styles&&vd(s,e,_.styles)));const $=i.createRenderer(e,t),ne=Io(n,jd(t),null,t.onPush?64:16,n[20],_,i,$,o||null,null);return a.firstCreatePass&&(Os(ss(_,n),a,t.type),Zd(a,_),qd(_,n.length,1)),Pa(n,ne),n[20]=ne}($,this.componentDef,Je,a,_);if($)if(i)Ss(_,$,["ng-version",r0.full]);else{const{attrs:at,classes:on}=function P_(e){const t=[],n=[];let i=1,s=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===s?""!==o&&t.push(o,e[++i]):8===s&&n.push(o);else{if(!Ni(s))break;s=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);at&&Ss(_,$,at),on&&on.length>0&&Il(_,$,on.join(" "))}if(Tt=kn(Le,20),void 0!==n){const at=Tt.projection=[];for(let on=0;on<this.ngContentSelectors.length;on++){const Bn=n[on];at.push(null!=Bn?Array.from(Bn):null)}}bt=function vh(e,t,n,i,s){const o=n[1],a=function q_(e,t,n){const i=vr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Qd(e,i,t,Us(e,t,1,null),n));const s=bs(t,e,i.directiveStart,i);Zr(s,t);const o=un(i,t);return o&&Zr(o,t),s}(o,n,t);if(i.components.push(a),e[8]=a,s&&s.forEach(_=>_(a,t)),t.contentQueries){const _=vr();t.contentQueries(1,a,_.directiveStart)}const f=vr();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ci(f.index),Wd(n[1],f,0,f.directiveStart,f.directiveEnd,t),Yd(t,a)),a}(Yt,this.componentDef,Je,ye,[Ay]),No(Le,Je,null)}finally{Tr()}return new c0(this.componentType,bt,so(Tt,Je),Je,Tt)}}class c0 extends class ZC{}{constructor(t,n,i,s,o){super(),this.location=i,this._rootLView=s,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new s0(s),this.componentType=t}get injector(){return new os(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class oo{}class Dp{}const ao=new Map;class Sp extends oo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new wp(this);const i=Rt(t);this._bootstrapComponents=Yi(i.bootstrap),this._r3Injector=ah(t,n,[{provide:oo,useValue:this},{provide:za,useValue:this.componentFactoryResolver}],oe(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Qi.THROW_IF_NOT_FOUND,i=$t.Default){return t===Qi||t===oo||t===ec?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 kc extends Dp{constructor(t){super(),this.moduleType=t,null!==Rt(t)&&function d0(e){const t=new Set;!function n(i){const s=Rt(i,!0),o=s.id;null!==o&&(function Mp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${oe(t)} vs ${oe(t.name)}`)}(o,ao.get(o),i),ao.set(o,i));const a=Yi(s.imports);for(const f of a)t.has(f)||(t.add(f),n(f))}(e)}(t)}create(t){return new Sp(this.moduleType,t)}}function Pp(e,t,n){const i=C()+e,s=ht();return s[i]===Tn?Ki(s,i,n?t.call(n):t()):function Ro(e,t){return e[t]}(s,i)}function xp(e,t,n,i){return function Np(e,t,n,i,s,o){const a=t+n;return qr(e,a,s)?Ki(e,a+1,o?i.call(o,s):i(s)):zo(e,a+1)}(ht(),C(),e,t,n,i)}function Op(e,t,n,i,s){return function Fp(e,t,n,i,s,o,a){const f=t+n;return Es(e,f,s,o)?Ki(e,f+2,a?i.call(a,s,o):i(s,o)):zo(e,f+2)}(ht(),C(),e,t,n,i,s)}function Ap(e,t,n,i,s,o){return function kp(e,t,n,i,s,o,a,f){const _=t+n;return function Aa(e,t,n,i,s){const o=Es(e,t,n,i);return qr(e,t+2,s)||o}(e,_,s,o,a)?Ki(e,_+3,f?i.call(f,s,o,a):i(s,o,a)):zo(e,_+3)}(ht(),C(),e,t,n,i,s,o)}function Ip(e,t,n,i,s,o,a){return function Rp(e,t,n,i,s,o,a,f,_){const N=t+n;return function bi(e,t,n,i,s,o){const a=Es(e,t,n,i);return Es(e,t+2,s,o)||a}(e,N,s,o,a,f)?Ki(e,N+4,_?i.call(_,s,o,a,f):i(s,o,a,f)):zo(e,N+4)}(ht(),C(),e,t,n,i,s,o,a)}function zo(e,t){const n=e[t];return n===Tn?void 0:n}function Rc(e){return t=>{setTimeout(e,void 0,t)}}const es=class D0 extends r.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let s=t,o=n||(()=>null),a=i;if(t&&"object"==typeof t){const _=t;s=_.next?.bind(_),o=_.error?.bind(_),a=_.complete?.bind(_)}this.__isAsync&&(o=Rc(o),s&&(s=Rc(s)),a&&(a=Rc(a)));const f=super.subscribe({next:s,error:o,complete:a});return t instanceof m.w&&t.add(f),f}};function M0(){return this._results[zs()]()}class Lc{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=zs(),i=Lc.prototype;i[n]||(i[n]=M0)}get changes(){return this._changes||(this._changes=new es)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const s=Ci(t);(this._changesDetected=!function Vg(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let s=e[i],o=t[i];if(n&&(s=n(s),o=n(o)),o!==s)return!1}return!0}(i._results,s,n))&&(i._results=s,i.length=s.length,i.last=s[this.length-1],i.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Yo=(()=>{class e{}return e.__NG_ELEMENT_ID__=P0,e})();const T0=Yo,S0=class extends T0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=Io(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(i[19]=o.createEmbeddedView(n)),No(n,i,t),new Go(i)}};function P0(){return Ya(vr(),ht())}function Ya(e,t){return 4&e.type?new S0(t,e,so(e,t)):null}let Za=(()=>{class e{}return e.__NG_ELEMENT_ID__=x0,e})();function x0(){return jp(vr(),ht())}const O0=Za,Vp=class extends O0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return so(this._hostTNode,this._hostLView)}get injector(){return new os(this._hostTNode,this._hostLView)}get parentInjector(){const t=Cs(this._hostTNode,this._hostLView);if(Qo(t)){const n=$i(t,this._hostLView),i=is(t);return new os(n[1].data[i+8],n)}return new os(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Bp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const s=t.createEmbeddedView(n||{});return this.insert(s,i),s}createComponent(t,n,i,s,o){const a=t&&!function yo(e){return"function"==typeof e}(t);let f;if(a)f=n;else{const ne=n||{};f=ne.index,i=ne.injector,s=ne.projectableNodes,o=ne.ngModuleRef}const _=a?t:new Fc(St(t)),N=i||this.parentInjector;if(!o&&null==_.ngModule){const ye=(a?N:this.parentInjector).get(oo,null);ye&&(o=ye)}const $=_.create(N,s,void 0,o);return this.insert($.hostView,f),$}insert(t,n){const i=t._lView,s=i[1];if(function Y(e){return or(e[3])}(i)){const $=this.indexOf(t);if(-1!==$)this.detach($);else{const ne=i[3],ye=new Vp(ne,ne[6],ne[3]);ye.detach(ye.indexOf(t))}}const o=this._adjustIndex(n),a=this._lContainer;!function c_(e,t,n,i){const s=10+i,o=n.length;i>0&&(n[s-1][4]=t),i<o-10?(t[4]=n[s],Eu(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function u_(e,t){const n=e[9];t[U]!==t[3][3][U]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const f=t[19];null!==f&&f.insertView(e),t[2]|=128}(s,i,a,o);const f=Ol(o,a),_=i[11],N=ba(_,a[7]);return null!==N&&function o_(e,t,n,i,s,o){i[0]=s,i[6]=t,Ao(e,i,n,1,s,o)}(s,a[6],_,i,N,f),t.attachToViewContainerRef(),Eu(Vc(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Bp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Sl(this._lContainer,n);i&&(da(Vc(this._lContainer),n),ad(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=Sl(this._lContainer,n);return i&&null!=da(Vc(this._lContainer),n)?new Go(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Bp(e){return e[8]}function Vc(e){return e[8]||(e[8]=[])}function jp(e,t){let n;const i=t[e.index];if(or(i))n=i;else{let s;if(8&e.type)s=vt(i);else{const o=t[11];s=o.createComment("");const a=un(e,t);ws(o,ba(o,a),s,function p_(e,t){return pe(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=Kd(i,t,s,e),Pa(t,n)}return new Vp(n,e,t)}class Bc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Bc(this.queryList)}setDirty(){this.queryList.setDirty()}}class jc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let o=0;o<i;o++){const a=n.getByIndex(o);s.push(this.queries[a.indexInDeclarationView].clone())}return new jc(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==qp(t,n).matches&&this.queries[n].setDirty()}}class Up{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Uc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const s=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,s);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new Uc(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 Hc{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 Hc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let s=0;s<i.length;s++){const o=i[s];this.matchTNodeWithReadOption(t,n,N0(n,o)),this.matchTNodeWithReadOption(t,n,As(n,t,o,!1,!1))}else i===Yo?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,As(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const s=this.metadata.read;if(null!==s)if(s===$o||s===Za||s===Yo&&4&n.type)this.addMatch(n.index,-2);else{const o=As(n,t,s,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function N0(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 k0(e,t,n,i){return-1===n?function F0(e,t){return 11&e.type?so(e,t):4&e.type?Ya(e,t):null}(t,e):-2===n?function R0(e,t,n){return n===$o?so(t,e):n===Yo?Ya(t,e):n===Za?jp(t,e):void 0}(e,t,i):bs(e,e[1],n,t)}function Hp(e,t,n,i){const s=t[19].queries[i];if(null===s.matches){const o=e.data,a=n.matches,f=[];for(let _=0;_<a.length;_+=2){const N=a[_];f.push(N<0?null:k0(t,o[N],a[_+1],n.metadata.read))}s.matches=f}return s.matches}function $c(e,t,n,i){const s=e.queries.getByIndex(n),o=s.matches;if(null!==o){const a=Hp(e,t,s,n);for(let f=0;f<o.length;f+=2){const _=o[f];if(_>0)i.push(a[f/2]);else{const N=o[f+1],$=t[-_];for(let ne=10;ne<$.length;ne++){const ye=$[ne];ye[17]===ye[3]&&$c(ye[1],ye,N,i)}if(null!==$[9]){const ne=$[9];for(let ye=0;ye<ne.length;ye++){const Le=ne[ye];$c(Le[1],Le,N,i)}}}}}return i}function $p(e){const t=ht(),n=An(),i=en();vn(i+1);const s=qp(n,i);if(e.dirty&&b(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const o=s.crossesNgTemplate?$c(n,t,i,[]):Hp(n,t,s,i);e.reset(o,JC),e.notifyOnChanges()}return!0}return!1}function Gp(e,t,n){const i=An();i.firstCreatePass&&(Zp(i,new Up(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Yp(i,ht(),t)}function zp(e,t,n,i){const s=An();if(s.firstCreatePass){const o=vr();Zp(s,new Up(t,n,i),o.index),function V0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Yp(s,ht(),n)}function Wp(){return function L0(e,t){return e[19].queries[t].queryList}(ht(),en())}function Yp(e,t,n){const i=new Lc(4==(4&n));$d(e,t,i,i.destroy),null===t[19]&&(t[19]=new jc),t[19].queries.push(new Bc(i))}function Zp(e,t,n){null===e.queries&&(e.queries=new Uc),e.queries.track(new Hc(t,n))}function qp(e,t){return e.queries.getByIndex(t)}function Qp(e,t){return Ya(e,t)}function Ka(...e){}const fg=new Dt("Application Initializer");let qc=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ka,this.reject=Ka,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,s)=>{this.resolve=i,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const o=this.appInits[s]();if(yc(o))n.push(o);else if(Wh(o)){const a=new Promise((f,_)=>{o.subscribe({complete:f,error:_})});n.push(a)}}Promise.all(n).then(()=>{i()}).catch(s=>{this.reject(s)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Gr(fg,8))},e.\u0275prov=Sn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const pg=new Dt("AppId",{providedIn:"root",factory:function gg(){return`${Qc()}${Qc()}${Qc()}`}});function Qc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const mg=new Dt("Platform Initializer"),tb=new Dt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_g=new Dt("appBootstrapListener");let nb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Sn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Kc=new Dt("LocaleId",{providedIn:"root",factory:()=>Kg(Kc,$t.Optional|$t.SkipSelf)||function rb(){return typeof $localize<"u"&&$localize.locale||ja}()}),ib=new Dt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class sb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ob=(()=>{class e{compileModuleSync(n){return new kc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),o=Yi(Rt(n).declarations).reduce((a,f)=>{const _=St(f);return _&&a.push(new Fc(_)),a},[]);return new sb(i,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Sn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const lb=(()=>Promise.resolve(0))();function Jc(e){typeof Zone>"u"?lb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Vi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new es(!1),this.onMicrotaskEmpty=new es(!1),this.onStable=new es(!1),this.onError=new es(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function cb(){let e=Zt.requestAnimationFrame,t=Zt.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 hb(e){const t=()=>{!function db(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Zt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,eu(e),e.isCheckStableRunning=!0,Xc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),eu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,o,a,f)=>{try{return yg(e),n.invokeTask(s,o,a,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),vg(e)}},onInvoke:(n,i,s,o,a,f,_)=>{try{return yg(e),n.invoke(s,o,a,f,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),vg(e)}},onHasTask:(n,i,s,o)=>{n.hasTask(s,o),i===s&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,eu(e),Xc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,s,o)=>(n.handleError(s,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Vi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Vi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,s){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+s,t,ub,Ka,Ka);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const ub={};function Xc(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 eu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function yg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function vg(e){e._nesting--,Xc(e)}class fb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new es,this.onMicrotaskEmpty=new es,this.onStable=new es,this.onError=new es}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,s){return t.apply(n,i)}}let Cg=(()=>{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:()=>{Vi.assertNotInAngularZone(),Jc(()=>{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())Jc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,s){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:s})}whenStable(n,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(Gr(Vi))},e.\u0275prov=Sn({token:e,factory:e.\u0275fac}),e})(),pb=(()=>{class e{constructor(){this._applications=new Map,tu.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 tu.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Sn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class gb{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function mb(e){tu=e}let tu=new gb,qo=null;const bg=new Dt("AllowMultipleToken"),wg=new Dt("PlatformOnDestroy");class vb{constructor(t,n){this.name=t,this.token=n}}function Eg(e,t,n=[]){const i=`Platform: ${t}`,s=new Dt(i);return(o=[])=>{let a=nu();if(!a||a.injector.get(bg,!1)){const f=[...n,...o,{provide:s,useValue:!0}];e?e(f):function Cb(e){if(qo&&!qo.get(bg,!1))throw new lt(400,"");qo=e;const t=e.get(Dg),n=e.get(mg,null);n&&n.forEach(i=>i())}(function wb(e=[],t){return Qi.create({name:t,providers:[{provide:tc,useValue:"platform"},{provide:wg,useValue:()=>qo=null},...e]})}(f,i))}return function bb(e){const t=nu();if(!t)throw new lt(401,"");return t}()}}function nu(){return qo?.get(Dg)??null}let Dg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const f=function Eb(e,t){let n;return n="noop"===e?new fb:("zone.js"===e?void 0:e)||new Vi({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),_=[{provide:Vi,useValue:f}];return f.run(()=>{const N=Qi.create({providers:_,parent:this.injector,name:n.moduleType.name}),$=n.create(N),ne=$.injector.get(Ca,null);if(!ne)throw new lt(402,"");return f.runOutsideAngular(()=>{const ye=f.onError.subscribe({next:Le=>{ne.handleError(Le)}});$.onDestroy(()=>{iu(this._modules,$),ye.unsubscribe()})}),function Db(e,t,n){try{const i=n();return yc(i)?i.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(ne,f,()=>{const ye=$.injector.get(qc);return ye.runInitializers(),ye.donePromise.then(()=>(function Xv(e){Vt(e,"Expected localeId to be defined"),"string"==typeof e&&(Wf=e.toLowerCase().replace(/_/g,"-"))}($.injector.get(Kc,ja)||ja),this._moduleDoBootstrap($),$))})})}bootstrapModule(n,i=[]){const s=Mg({},i);return function _b(e,t,n){const i=new kc(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,s))}_moduleDoBootstrap(n){const i=n.injector.get(ru);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new lt(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 lt(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(wg,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Gr(Qi))},e.\u0275prov=Sn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Mg(e,t){return Array.isArray(t)?t.reduce(Mg,e):{...e,...t}}let ru=(()=>{class e{constructor(n,i,s,o){this._zone=n,this._injector=i,this._exceptionHandler=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new B.y(_=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{_.next(this._stable),_.complete()})}),f=new B.y(_=>{let N;this._zone.runOutsideAngular(()=>{N=this._zone.onStable.subscribe(()=>{Vi.assertNotInAngularZone(),Jc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,_.next(!0))})})});const $=this._zone.onUnstable.subscribe(()=>{Vi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{_.next(!1)}))});return()=>{N.unsubscribe(),$.unsubscribe()}});this.isStable=(0,A.T)(a,f.pipe(function L(){return e=>(0,O.x)()(function R(e,t){return function(i){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new j(s,t));const o=Object.create(i,x.N);return o.source=i,o.subjectFactory=s,o}}(G)(e))}()))}bootstrap(n,i){if(!this._initStatus.done)throw new lt(405,"");let s;s=n instanceof yp?n:this._injector.get(za).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const o=function yb(e){return e.isBoundToModule}(s)?void 0:this._injector.get(oo),f=s.create(Qi.NULL,[],i||s.selector,o),_=f.location.nativeElement,N=f.injector.get(Cg,null),$=N&&f.injector.get(pb);return N&&$&&$.registerApplication(_,N),f.onDestroy(()=>{this.detachView(f.hostView),iu(this.components,f),$&&$.unregisterApplication(_)}),this._loadComponent(f),f}tick(){if(this._runningTick)throw new lt(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;iu(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(_g,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Gr(Vi),Gr(Qi),Gr(Ca),Gr(qc))},e.\u0275prov=Sn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function iu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Sg=!0,Pg=!1;function Tb(){return Pg=!0,Sg}function Sb(){if(Pg)throw new Error("Cannot enable prod mode after platform setup.");Sg=!1}let Pb=(()=>{class e{}return e.__NG_ELEMENT_ID__=xb,e})();function xb(e){return function Ob(e,t,n){if(si(e)&&!n){const i=M(e.index,t);return new Go(i,i)}return 47&e.type?new Go(t[U],t):null}(vr(),ht(),16==(16&e))}class Ig{constructor(){}supports(t){return ko(t)}create(t){return new Rb(t)}}const kb=(e,t)=>t;class Rb{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||kb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,s=0,o=null;for(;n||i;){const a=!i||n&&n.currentIndex<Fg(i,s,o)?n:i,f=Fg(a,s,o),_=a.currentIndex;if(a===i)s--,i=i._nextRemoved;else if(n=n._next,null==a.previousIndex)s++;else{o||(o=[]);const N=f-s,$=_-s;if(N!=$){for(let ye=0;ye<N;ye++){const Le=ye<o.length?o[ye]:o[ye]=0,Je=Le+ye;$<=Je&&Je<N&&(o[ye]=Le+1)}o[a.previousIndex]=$-N}}f!==_&&t(a,f,_)}}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=[]),!ko(t))throw new lt(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,o,a,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)o=t[f],a=this._trackByFn(f,o),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,o,a,f)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,f),i=!0),n=n._next}else s=0,function Uy(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[zs()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,f=>{a=this._trackByFn(s,f),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,f,a,s)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,a,s),i=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,s){let o;return null===t?o=this._itTail:(o=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,o,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,s)):t=this._addAfter(new Lb(n,i),o,s),t}_verifyReinsertion(t,n,i,s){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,o=t._nextRemoved;return null===s?this._removalsHead=o:s._nextRemoved=o,null===o?this._removalsTail=s:o._prevRemoved=s,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ng),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 Ng),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 Lb{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 Vb{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 Ng{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Vb,this.map.set(n,i)),i.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Fg(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+t+s}class kg{constructor(){}supports(t){return t instanceof Map||lc(t)}create(){return new Bb}}class Bb{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||lc(t)))throw new lt(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(s,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const o=s._prev,a=s._next;return o&&(o._next=a),a&&(a._prev=o),s._next=null,s._prev=null,s}const i=new jb(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 jb{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 Rg(){return new cu([new Ig])}let cu=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Rg()),deps:[[e,new Do,new Eo]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(null!=i)return i;throw new lt(901,"")}}return e.\u0275prov=Sn({token:e,providedIn:"root",factory:Rg}),e})();function Lg(){return new uu([new kg])}let uu=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Lg()),deps:[[e,new Do,new Eo]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new lt(901,"")}}return e.\u0275prov=Sn({token:e,providedIn:"root",factory:Lg}),e})();const $b=Eg(null,"core",[]);let Gb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Gr(ru))},e.\u0275mod=Se({type:e}),e.\u0275inj=Dn({}),e})()},4006:(J,F,h)=>{"use strict";h.d(F,{F:()=>he,Fj:()=>Pe,JJ:()=>wr,JL:()=>sr,JU:()=>O,On:()=>rn,UX:()=>un,Wl:()=>L,_Y:()=>Kn,qu:()=>kn,sg:()=>rr,u:()=>ai,u5:()=>jn});var r=h(5062),m=h(6895),B=h(5254),A=h(567),x=h(4850);let R=(()=>{class M{constructor(y,Y){this._renderer=y,this._elementRef=Y,this.onChange=$e=>{},this.onTouched=()=>{}}setProperty(y,Y){this._renderer.setProperty(this._elementRef.nativeElement,y,Y)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(r.Qsj),r.Y36(r.SBq))},M.\u0275dir=r.lG2({type:M}),M})(),j=(()=>{class M extends R{}return M.\u0275fac=function(){let b;return function(Y){return(b||(b=r.n5z(M)))(Y||M)}}(),M.\u0275dir=r.lG2({type:M,features:[r.qOj]}),M})();const O=new r.OlP("NgValueAccessor"),G={provide:O,useExisting:(0,r.Gpc)(()=>L),multi:!0};let L=(()=>{class M extends j{writeValue(y){this.setProperty("checked",y)}}return M.\u0275fac=function(){let b;return function(Y){return(b||(b=r.n5z(M)))(Y||M)}}(),M.\u0275dir=r.lG2({type:M,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(y,Y){1&y&&r.NdJ("change",function(Ut){return Y.onChange(Ut.target.checked)})("blur",function(){return Y.onTouched()})},features:[r._Bn([G]),r.qOj]}),M})();const z={provide:O,useExisting:(0,r.Gpc)(()=>Pe),multi:!0},oe=new r.OlP("CompositionEventMode");let Pe=(()=>{class M extends R{constructor(y,Y,$e){super(y,Y),this._compositionMode=$e,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function se(){const M=(0,m.q)()?(0,m.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(oe,8))},M.\u0275dir=r.lG2({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(y,Y){1&y&&r.NdJ("input",function(Ut){return Y._handleInput(Ut.target.value)})("blur",function(){return Y.onTouched()})("compositionstart",function(){return Y._compositionStart()})("compositionend",function(Ut){return Y._compositionEnd(Ut.target.value)})},features:[r._Bn([z]),r.qOj]}),M})();const Ie=new r.OlP("NgValidators"),mt=new r.OlP("NgAsyncValidators");function _t(M){return null!=M}function Qe(M){const b=(0,r.QGY)(M)?(0,B.D)(M):M;return(0,r.CqO)(b),b}function Ge(M){let b={};return M.forEach(y=>{b=null!=y?{...b,...y}:b}),0===Object.keys(b).length?null:b}function wn(M,b){return b.map(y=>y(M))}function hn(M){return M.map(b=>function Ht(M){return!M.validate}(b)?b:y=>b.validate(y))}function _n(M){return null!=M?function Cn(M){if(!M)return null;const b=M.filter(_t);return 0==b.length?null:function(y){return Ge(wn(y,b))}}(hn(M)):null}function Nn(M){return null!=M?function Ln(M){if(!M)return null;const b=M.filter(_t);return 0==b.length?null:function(y){const Y=wn(y,b).map(Qe);return(0,A.D)(Y).pipe((0,x.U)(Ge))}}(hn(M)):null}function Yn(M,b){return null===M?[b]:Array.isArray(M)?[...M,b]:[M,b]}function Vt(M){return M._rawValidators}function Qt(M){return M._rawAsyncValidators}function Fn(M){return M?Array.isArray(M)?M:[M]:[]}function Kt(M,b){return Array.isArray(M)?M.includes(b):M===b}function Rn(M,b){const y=Fn(b);return Fn(M).forEach($e=>{Kt(y,$e)||y.push($e)}),y}function Sn(M,b){return Fn(b).filter(y=>!Kt(M,y))}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(b){this._rawValidators=b||[],this._composedValidatorFn=_n(this._rawValidators)}_setAsyncValidators(b){this._rawAsyncValidators=b||[],this._composedAsyncValidatorFn=Nn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(b){this._onDestroyCallbacks.push(b)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(b=>b()),this._onDestroyCallbacks=[]}reset(b){this.control&&this.control.reset(b)}hasError(b,y){return!!this.control&&this.control.hasError(b,y)}getError(b,y){return this.control?this.control.getError(b,y):null}}class Dn extends ur{get formDirective(){return null}get path(){return null}}class bn extends ur{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class gr{constructor(b){this._cd=b}is(b){return"submitted"===b?!!this._cd?.submitted:!!this._cd?.control?.[b]}}let wr=(()=>{class M extends gr{constructor(y){super(y)}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(bn,2))},M.\u0275dir=r.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(y,Y){2&y&&r.ekj("ng-untouched",Y.is("untouched"))("ng-touched",Y.is("touched"))("ng-pristine",Y.is("pristine"))("ng-dirty",Y.is("dirty"))("ng-valid",Y.is("valid"))("ng-invalid",Y.is("invalid"))("ng-pending",Y.is("pending"))},features:[r.qOj]}),M})(),sr=(()=>{class M extends gr{constructor(y){super(y)}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(Dn,10))},M.\u0275dir=r.lG2({type:M,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(y,Y){2&y&&r.ekj("ng-untouched",Y.is("untouched"))("ng-touched",Y.is("touched"))("ng-pristine",Y.is("pristine"))("ng-dirty",Y.is("dirty"))("ng-valid",Y.is("valid"))("ng-invalid",Y.is("invalid"))("ng-pending",Y.is("pending"))("ng-submitted",Y.is("submitted"))},features:[r.qOj]}),M})();function Pn(M,b){return[...b.path,M]}function Gt(M,b){De(M,b),b.valueAccessor.writeValue(M.value),function Re(M,b){b.valueAccessor.registerOnChange(y=>{M._pendingValue=y,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&ft(M,b)})}(M,b),function Ct(M,b){const y=(Y,$e)=>{b.valueAccessor.writeValue(Y),$e&&b.viewToModelUpdate(Y)};M.registerOnChange(y),b._registerOnDestroy(()=>{M._unregisterOnChange(y)})}(M,b),function Ue(M,b){b.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&ft(M,b),"submit"!==M.updateOn&&M.markAsTouched()})}(M,b),function ge(M,b){if(b.valueAccessor.setDisabledState){const y=Y=>{b.valueAccessor.setDisabledState(Y)};M.registerOnDisabledChange(y),b._registerOnDestroy(()=>{M._unregisterOnDisabledChange(y)})}}(M,b)}function Zt(M,b,y=!0){const Y=()=>{};b.valueAccessor&&(b.valueAccessor.registerOnChange(Y),b.valueAccessor.registerOnTouched(Y)),Fe(M,b),M&&(b._invokeOnDestroyCallbacks(),M._registerOnCollectionChange(()=>{}))}function an(M,b){M.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(b)})}function De(M,b){const y=Vt(M);null!==b.validator?M.setValidators(Yn(y,b.validator)):"function"==typeof y&&M.setValidators([y]);const Y=Qt(M);null!==b.asyncValidator?M.setAsyncValidators(Yn(Y,b.asyncValidator)):"function"==typeof Y&&M.setAsyncValidators([Y]);const $e=()=>M.updateValueAndValidity();an(b._rawValidators,$e),an(b._rawAsyncValidators,$e)}function Fe(M,b){let y=!1;if(null!==M){if(null!==b.validator){const $e=Vt(M);if(Array.isArray($e)&&$e.length>0){const Ut=$e.filter(zn=>zn!==b.validator);Ut.length!==$e.length&&(y=!0,M.setValidators(Ut))}}if(null!==b.asyncValidator){const $e=Qt(M);if(Array.isArray($e)&&$e.length>0){const Ut=$e.filter(zn=>zn!==b.asyncValidator);Ut.length!==$e.length&&(y=!0,M.setAsyncValidators(Ut))}}}const Y=()=>{};return an(b._rawValidators,Y),an(b._rawAsyncValidators,Y),y}function ft(M,b){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),b.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function wt(M,b){De(M,b)}function ie(M,b){if(!M.hasOwnProperty("model"))return!1;const y=M.model;return!!y.isFirstChange()||!Object.is(b,y.currentValue)}function Se(M,b){M._syncPendingControls(),b.forEach(y=>{const Y=y.control;"submit"===Y.updateOn&&Y._pendingChange&&(y.viewToModelUpdate(Y._pendingValue),Y._pendingChange=!1)})}function Ae(M,b){if(!b)return null;let y,Y,$e;return Array.isArray(b),b.forEach(Ut=>{Ut.constructor===Pe?y=Ut:function ee(M){return Object.getPrototypeOf(M.constructor)===j}(Ut)?Y=Ut:$e=Ut}),$e||Y||y||null}function Ke(M,b){const y=M.indexOf(b);y>-1&&M.splice(y,1)}const St="VALID",pn="INVALID",Pt="PENDING",Rt="DISABLED";function it(M){return(On(M)?M.validators:M)||null}function gt(M){return Array.isArray(M)?_n(M):M||null}function Ft(M,b){return(On(b)?b.asyncValidators:M)||null}function Bt(M){return Array.isArray(M)?Nn(M):M||null}function On(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}const Mn=M=>M instanceof w,k=M=>M instanceof S,Q=M=>M instanceof p;function Z(M){return Mn(M)?M.value:M.getRawValue()}function re(M,b){const y=k(M),Y=M.controls;if(!(y?Object.keys(Y):Y).length)throw new r.vHH(1e3,"");if(!Y[b])throw new r.vHH(1001,"")}function Ce(M,b){k(M),M._forEachChild((Y,$e)=>{if(void 0===b[$e])throw new r.vHH(1002,"")})}class ue{constructor(b,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=b,this._rawAsyncValidators=y,this._composedValidatorFn=gt(this._rawValidators),this._composedAsyncValidatorFn=Bt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(b){this._rawValidators=this._composedValidatorFn=b}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(b){this._rawAsyncValidators=this._composedAsyncValidatorFn=b}get parent(){return this._parent}get valid(){return this.status===St}get invalid(){return this.status===pn}get pending(){return this.status==Pt}get disabled(){return this.status===Rt}get enabled(){return this.status!==Rt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(b){this._rawValidators=b,this._composedValidatorFn=gt(b)}setAsyncValidators(b){this._rawAsyncValidators=b,this._composedAsyncValidatorFn=Bt(b)}addValidators(b){this.setValidators(Rn(b,this._rawValidators))}addAsyncValidators(b){this.setAsyncValidators(Rn(b,this._rawAsyncValidators))}removeValidators(b){this.setValidators(Sn(b,this._rawValidators))}removeAsyncValidators(b){this.setAsyncValidators(Sn(b,this._rawAsyncValidators))}hasValidator(b){return Kt(this._rawValidators,b)}hasAsyncValidator(b){return Kt(this._rawAsyncValidators,b)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(b={}){this.touched=!0,this._parent&&!b.onlySelf&&this._parent.markAsTouched(b)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(b=>b.markAllAsTouched())}markAsUntouched(b={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(y=>{y.markAsUntouched({onlySelf:!0})}),this._parent&&!b.onlySelf&&this._parent._updateTouched(b)}markAsDirty(b={}){this.pristine=!1,this._parent&&!b.onlySelf&&this._parent.markAsDirty(b)}markAsPristine(b={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!b.onlySelf&&this._parent._updatePristine(b)}markAsPending(b={}){this.status=Pt,!1!==b.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!b.onlySelf&&this._parent.markAsPending(b)}disable(b={}){const y=this._parentMarkedDirty(b.onlySelf);this.status=Rt,this.errors=null,this._forEachChild(Y=>{Y.disable({...b,onlySelf:!0})}),this._updateValue(),!1!==b.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...b,skipPristineCheck:y}),this._onDisabledChange.forEach(Y=>Y(!0))}enable(b={}){const y=this._parentMarkedDirty(b.onlySelf);this.status=St,this._forEachChild(Y=>{Y.enable({...b,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:b.emitEvent}),this._updateAncestors({...b,skipPristineCheck:y}),this._onDisabledChange.forEach(Y=>Y(!1))}_updateAncestors(b){this._parent&&!b.onlySelf&&(this._parent.updateValueAndValidity(b),b.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(b){this._parent=b}updateValueAndValidity(b={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===St||this.status===Pt)&&this._runAsyncValidator(b.emitEvent)),!1!==b.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!b.onlySelf&&this._parent.updateValueAndValidity(b)}_updateTreeValidity(b={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(b)),this.updateValueAndValidity({onlySelf:!0,emitEvent:b.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Rt:St}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(b){if(this.asyncValidator){this.status=Pt,this._hasOwnPendingAsyncValidator=!0;const y=Qe(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe(Y=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Y,{emitEvent:b})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(b,y={}){this.errors=b,this._updateControlsErrors(!1!==y.emitEvent)}get(b){return function xt(M,b,y){if(null==b||(Array.isArray(b)||(b=b.split(y)),Array.isArray(b)&&0===b.length))return null;let Y=M;return b.forEach($e=>{Y=k(Y)?Y.controls.hasOwnProperty($e)?Y.controls[$e]:null:Q(Y)&&Y.at($e)||null}),Y}(this,b,".")}getError(b,y){const Y=y?this.get(y):this;return Y&&Y.errors?Y.errors[b]:null}hasError(b,y){return!!this.getError(b,y)}get root(){let b=this;for(;b._parent;)b=b._parent;return b}_updateControlsErrors(b){this.status=this._calculateStatus(),b&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(b)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?Rt:this.errors?pn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pt)?Pt:this._anyControlsHaveStatus(pn)?pn:St}_anyControlsHaveStatus(b){return this._anyControls(y=>y.status===b)}_anyControlsDirty(){return this._anyControls(b=>b.dirty)}_anyControlsTouched(){return this._anyControls(b=>b.touched)}_updatePristine(b={}){this.pristine=!this._anyControlsDirty(),this._parent&&!b.onlySelf&&this._parent._updatePristine(b)}_updateTouched(b={}){this.touched=this._anyControlsTouched(),this._parent&&!b.onlySelf&&this._parent._updateTouched(b)}_isBoxedValue(b){return"object"==typeof b&&null!==b&&2===Object.keys(b).length&&"value"in b&&"disabled"in b}_registerOnCollectionChange(b){this._onCollectionChange=b}_setUpdateStrategy(b){On(b)&&null!=b.updateOn&&(this._updateOn=b.updateOn)}_parentMarkedDirty(b){return!b&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class w extends ue{constructor(b=null,y,Y){super(it(y),Ft(Y,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(b),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),On(y)&&y.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(b)?b.value:b)}setValue(b,y={}){this.value=this._pendingValue=b,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(Y=>Y(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(b,y={}){this.setValue(b,y)}reset(b=this.defaultValue,y={}){this._applyFormState(b),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(b){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(b){this._onChange.push(b)}_unregisterOnChange(b){Ke(this._onChange,b)}registerOnDisabledChange(b){this._onDisabledChange.push(b)}_unregisterOnDisabledChange(b){Ke(this._onDisabledChange,b)}_forEachChild(b){}_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(b){this._isBoxedValue(b)?(this.value=this._pendingValue=b.value,b.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=b}}class S extends ue{constructor(b,y,Y){super(it(y),Ft(Y,y)),this.controls=b,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(b,y){return this.controls[b]?this.controls[b]:(this.controls[b]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(b,y,Y={}){this.registerControl(b,y),this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}removeControl(b,y={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange(()=>{}),delete this.controls[b],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(b,y,Y={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange(()=>{}),delete this.controls[b],y&&this.registerControl(b,y),this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}contains(b){return this.controls.hasOwnProperty(b)&&this.controls[b].enabled}setValue(b,y={}){Ce(this,b),Object.keys(b).forEach(Y=>{re(this,Y),this.controls[Y].setValue(b[Y],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(b,y={}){null!=b&&(Object.keys(b).forEach(Y=>{this.controls[Y]&&this.controls[Y].patchValue(b[Y],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(b={},y={}){this._forEachChild((Y,$e)=>{Y.reset(b[$e],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(b,y,Y)=>(b[Y]=Z(y),b))}_syncPendingControls(){let b=this._reduceChildren(!1,(y,Y)=>!!Y._syncPendingControls()||y);return b&&this.updateValueAndValidity({onlySelf:!0}),b}_forEachChild(b){Object.keys(this.controls).forEach(y=>{const Y=this.controls[y];Y&&b(Y,y)})}_setUpControls(){this._forEachChild(b=>{b.setParent(this),b._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(b){for(const y of Object.keys(this.controls)){const Y=this.controls[y];if(this.contains(y)&&b(Y))return!0}return!1}_reduceValue(){return this._reduceChildren({},(b,y,Y)=>((y.enabled||this.disabled)&&(b[Y]=y.value),b))}_reduceChildren(b,y){let Y=b;return this._forEachChild(($e,Ut)=>{Y=y(Y,$e,Ut)}),Y}_allControlsDisabled(){for(const b of Object.keys(this.controls))if(this.controls[b].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class p extends ue{constructor(b,y,Y){super(it(y),Ft(Y,y)),this.controls=b,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(b){return this.controls[b]}push(b,y={}){this.controls.push(b),this._registerControl(b),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(b,y,Y={}){this.controls.splice(b,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:Y.emitEvent})}removeAt(b,y={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange(()=>{}),this.controls.splice(b,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(b,y,Y={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange(()=>{}),this.controls.splice(b,1),y&&(this.controls.splice(b,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(b,y={}){Ce(this,b),b.forEach((Y,$e)=>{re(this,$e),this.at($e).setValue(Y,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(b,y={}){null!=b&&(b.forEach((Y,$e)=>{this.at($e)&&this.at($e).patchValue(Y,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(b=[],y={}){this._forEachChild((Y,$e)=>{Y.reset(b[$e],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(b=>Z(b))}clear(b={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:b.emitEvent}))}_syncPendingControls(){let b=this.controls.reduce((y,Y)=>!!Y._syncPendingControls()||y,!1);return b&&this.updateValueAndValidity({onlySelf:!0}),b}_forEachChild(b){this.controls.forEach((y,Y)=>{b(y,Y)})}_updateValue(){this.value=this.controls.filter(b=>b.enabled||this.disabled).map(b=>b.value)}_anyControls(b){return this.controls.some(y=>y.enabled&&b(y))}_setUpControls(){this._forEachChild(b=>this._registerControl(b))}_allControlsDisabled(){for(const b of this.controls)if(b.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(b){b.setParent(this),b._registerOnCollectionChange(this._onCollectionChange)}}const U={provide:Dn,useExisting:(0,r.Gpc)(()=>he)},le=(()=>Promise.resolve(null))();let he=(()=>{class M extends Dn{constructor(y,Y){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new S({},_n(y),Nn(Y))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){le.then(()=>{const Y=this._findContainer(y.path);y.control=Y.registerControl(y.name,y.control),Gt(y.control,y),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){le.then(()=>{const Y=this._findContainer(y.path);Y&&Y.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){le.then(()=>{const Y=this._findContainer(y.path),$e=new S({});wt($e,y),Y.registerControl(y.name,$e),$e.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){le.then(()=>{const Y=this._findContainer(y.path);Y&&Y.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,Y){le.then(()=>{this.form.get(y.path).setValue(Y)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submitted=!0,Se(this.form,this._directives),this.ngSubmit.emit(y),!1}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(Ie,10),r.Y36(mt,10))},M.\u0275dir=r.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(y,Y){1&y&&r.NdJ("submit",function(Ut){return Y.onSubmit(Ut)})("reset",function(){return Y.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([U]),r.qOj]}),M})();const qt={provide:bn,useExisting:(0,r.Gpc)(()=>rn)},cn=(()=>Promise.resolve(null))();let rn=(()=>{class M extends bn{constructor(y,Y,$e,Ut,zn){super(),this._changeDetectorRef=zn,this.control=new w,this._registered=!1,this.update=new r.vpe,this._parent=y,this._setValidators(Y),this._setAsyncValidators($e),this.valueAccessor=Ae(0,Ut)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const Y=y.name.previousValue;this.formDirective.removeControl({name:Y,path:this._getPath(Y)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),ie(y,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Gt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(y){cn.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(y){const Y=y.isDisabled.currentValue,$e=""===Y||Y&&"false"!==Y;cn.then(()=>{$e&&!this.control.disabled?this.control.disable():!$e&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(y){return this._parent?Pn(y,this._parent):[y]}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(Dn,9),r.Y36(Ie,10),r.Y36(mt,10),r.Y36(O,10),r.Y36(r.sBO,8))},M.\u0275dir=r.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([qt]),r.qOj,r.TTD]}),M})(),Kn=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275dir=r.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),M})(),Jn=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=r.oAB({type:M}),M.\u0275inj=r.cJS({}),M})();const Br=new r.OlP("NgModelWithFormControlWarning"),_r={provide:Dn,useExisting:(0,r.Gpc)(()=>rr)};let rr=(()=>{class M extends Dn{constructor(y,Y){super(),this.validators=y,this.asyncValidators=Y,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(y),this._setAsyncValidators(Y)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Fe(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const Y=this.form.get(y.path);return Gt(Y,y),Y.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),Y}getControl(y){return this.form.get(y.path)}removeControl(y){Zt(y.control||null,y,!1),Ke(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,Y){this.form.get(y.path).setValue(Y)}onSubmit(y){return this.submitted=!0,Se(this.form,this.directives),this.ngSubmit.emit(y),!1}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_updateDomValue(){this.directives.forEach(y=>{const Y=y.control,$e=this.form.get(y.path);Y!==$e&&(Zt(Y||null,y),Mn($e)&&(Gt($e,y),y.control=$e))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const Y=this.form.get(y.path);wt(Y,y),Y.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const Y=this.form.get(y.path);Y&&function Lt(M,b){return Fe(M,b)}(Y,y)&&Y.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){De(this.form,this),this._oldForm&&Fe(this._oldForm,this)}_checkFormPresent(){}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(Ie,10),r.Y36(mt,10))},M.\u0275dir=r.lG2({type:M,selectors:[["","formGroup",""]],hostBindings:function(y,Y){1&y&&r.NdJ("submit",function(Ut){return Y.onSubmit(Ut)})("reset",function(){return Y.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([_r]),r.qOj,r.TTD]}),M})();const Kr={provide:bn,useExisting:(0,r.Gpc)(()=>ai)};let ai=(()=>{class M extends bn{constructor(y,Y,$e,Ut,zn){super(),this._ngModelWarningConfig=zn,this._added=!1,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=y,this._setValidators(Y),this._setAsyncValidators($e),this.valueAccessor=Ae(0,Ut)}set isDisabled(y){}ngOnChanges(y){this._added||this._setUpControl(),ie(y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}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 M._ngModelWarningSentOnce=!1,M.\u0275fac=function(y){return new(y||M)(r.Y36(Dn,13),r.Y36(Ie,10),r.Y36(mt,10),r.Y36(O,10),r.Y36(Br,8))},M.\u0275dir=r.lG2({type:M,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([Kr]),r.qOj,r.TTD]}),M})(),Gn=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=r.oAB({type:M}),M.\u0275inj=r.cJS({imports:[[Jn]]}),M})(),jn=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=r.oAB({type:M}),M.\u0275inj=r.cJS({imports:[Gn]}),M})(),un=(()=>{class M{static withConfig(y){return{ngModule:M,providers:[{provide:Br,useValue:y.warnOnNgModelWithFormControl}]}}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=r.oAB({type:M}),M.\u0275inj=r.cJS({imports:[Gn]}),M})(),kn=(()=>{class M{group(y,Y=null){const $e=this._reduceControls(y);let Jt,Ut=null,zn=null;return null!=Y&&(function tr(M){return void 0!==M.asyncValidators||void 0!==M.validators||void 0!==M.updateOn}(Y)?(Ut=null!=Y.validators?Y.validators:null,zn=null!=Y.asyncValidators?Y.asyncValidators:null,Jt=null!=Y.updateOn?Y.updateOn:void 0):(Ut=null!=Y.validator?Y.validator:null,zn=null!=Y.asyncValidator?Y.asyncValidator:null)),new S($e,{asyncValidators:zn,updateOn:Jt,validators:Ut})}control(y,Y,$e){return new w(y,Y,$e)}array(y,Y,$e){const Ut=y.map(zn=>this._createControl(zn));return new p(Ut,Y,$e)}_reduceControls(y){const Y={};return Object.keys(y).forEach($e=>{Y[$e]=this._createControl(y[$e])}),Y}_createControl(y){return Mn(y)||k(y)||Q(y)?y:Array.isArray(y)?this.control(y[0],y.length>1?y[1]:null,y.length>2?y[2]:null):this.control(y)}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac,providedIn:un}),M})()},8746:(J,F,h)=>{"use strict";h.d(F,{PW:()=>ys});var r=h(5062),m=h(1481),B=h(7340);const A=!1;function R(V){return new r.vHH(3e3,A)}function Qt(){return typeof window<"u"&&typeof window.document<"u"}function Fn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Kt(V){switch(V.length){case 0:return new B.ZN;case 1:return V[0];default:return new B.ZE(V)}}function Rn(V,c,d,C,H={},X={}){const ce=[],fe=[];let Be=-1,qe=null;if(C.forEach(kt=>{const Wt=kt.offset,gn=Wt==Be,xn=gn&&qe||{};Object.keys(kt).forEach(en=>{let vn=en,Wn=kt[en];if("offset"!==en)switch(vn=c.normalizePropertyName(vn,ce),Wn){case B.k1:Wn=H[en];break;case B.l3:Wn=X[en];break;default:Wn=c.normalizeStyleValue(en,vn,Wn,ce)}xn[vn]=Wn}),gn||fe.push(xn),qe=xn,Be=Wt}),ce.length)throw function _t(V){return new r.vHH(3502,A)}();return fe}function Sn(V,c,d,C){switch(c){case"start":V.onStart(()=>C(d&&ur(d,"start",V)));break;case"done":V.onDone(()=>C(d&&ur(d,"done",V)));break;case"destroy":V.onDestroy(()=>C(d&&ur(d,"destroy",V)))}}function ur(V,c,d){const X=Dn(V.element,V.triggerName,V.fromState,V.toState,c||V.phaseName,d.totalTime??V.totalTime,!!d.disabled),ce=V._data;return null!=ce&&(X._data=ce),X}function Dn(V,c,d,C,H="",X=0,ce){return{element:V,triggerName:c,fromState:d,toState:C,phaseName:H,totalTime:X,disabled:!!ce}}function bn(V,c,d){let C;return V instanceof Map?(C=V.get(c),C||V.set(c,C=d)):(C=V[c],C||(C=V[c]=d)),C}function gr(V){const c=V.indexOf(":");return[V.substring(1,c),V.substr(c+1)]}let dr=(V,c)=>!1,br=(V,c,d)=>[],wr=null;function sr(V){const c=V.parentNode||V.host;return c===wr?null:c}(Fn()||typeof Element<"u")&&(Qt()?(wr=(()=>document.documentElement)(),dr=(V,c)=>{for(;c;){if(c===V)return!0;c=sr(c)}return!1}):dr=(V,c)=>V.contains(c),br=(V,c,d)=>{if(d)return Array.from(V.querySelectorAll(c));const C=V.querySelector(c);return C?[C]:[]});let $n=null,$t=!1;function Ze(V){$n||($n=function Ee(){return typeof document<"u"?document.body:null}()||{},$t=!!$n.style&&"WebkitAppearance"in $n.style);let c=!0;return $n.style&&!function mn(V){return"ebkit"==V.substring(1,6)}(V)&&(c=V in $n.style,!c&&$t&&(c="Webkit"+V.charAt(0).toUpperCase()+V.substr(1)in $n.style)),c}const be=dr,st=br;let We=(()=>{class V{validateStyleProperty(d){return Ze(d)}matchesElement(d,C){return!1}containsElement(d,C){return be(d,C)}getParentElement(d){return sr(d)}query(d,C,H){return st(d,C,H)}computeStyle(d,C,H){return H||""}animate(d,C,H,X,ce,fe=[],Be){return new B.ZN(H,X)}}return V.\u0275fac=function(d){return new(d||V)},V.\u0275prov=r.Yz7({token:V,factory:V.\u0275fac}),V})(),ct=(()=>{class V{}return V.NOOP=new We,V})();const Qn="ng-enter",fn="ng-leave",Pn="ng-trigger",Gt=".ng-trigger",Zt="ng-animating",an=".ng-animating";function ge(V){if("number"==typeof V)return V;const c=V.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:De(parseFloat(c[1]),c[2])}function De(V,c){return"s"===c?1e3*V:V}function Fe(V,c,d){return V.hasOwnProperty("duration")?V:function Re(V,c,d){let H,X=0,ce="";if("string"==typeof V){const fe=V.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===fe)return c.push(R()),{duration:0,delay:0,easing:""};H=De(parseFloat(fe[1]),fe[2]);const Be=fe[3];null!=Be&&(X=De(parseFloat(Be),fe[4]));const qe=fe[5];qe&&(ce=qe)}else H=V;if(!d){let fe=!1,Be=c.length;H<0&&(c.push(function j(){return new r.vHH(3100,A)}()),fe=!0),X<0&&(c.push(function O(){return new r.vHH(3101,A)}()),fe=!0),fe&&c.splice(Be,0,R())}return{duration:H,delay:X,easing:ce}}(V,c,d)}function Ue(V,c={}){return Object.keys(V).forEach(d=>{c[d]=V[d]}),c}function Ct(V,c,d={}){if(c)for(let C in V)d[C]=V[C];else Ue(V,d);return d}function wt(V,c,d){return d?c+":"+d+";":""}function Lt(V){let c="";for(let d=0;d<V.style.length;d++){const C=V.style.item(d);c+=wt(0,C,V.style.getPropertyValue(C))}for(const d in V.style)V.style.hasOwnProperty(d)&&!d.startsWith("_")&&(c+=wt(0,jt(d),V.style[d]));V.setAttribute("style",c)}function At(V,c,d){V.style&&(Object.keys(c).forEach(C=>{const H=pt(C);d&&!d.hasOwnProperty(C)&&(d[C]=V.style[H]),V.style[H]=c[C]}),Fn()&&Lt(V))}function tt(V,c){V.style&&(Object.keys(c).forEach(d=>{const C=pt(d);V.style[C]=""}),Fn()&&Lt(V))}function tn(V){return Array.isArray(V)?1==V.length?V[0]:(0,B.vP)(V):V}const ie=new RegExp("{{\\s*(.+?)\\s*}}","g");function ee(V){let c=[];if("string"==typeof V){let d;for(;d=ie.exec(V);)c.push(d[1]);ie.lastIndex=0}return c}function Se(V,c,d){const C=V.toString(),H=C.replace(ie,(X,ce)=>{let fe=c[ce];return c.hasOwnProperty(ce)||(d.push(function L(V){return new r.vHH(3003,A)}()),fe=""),fe.toString()});return H==C?V:H}function Ae(V){const c=[];let d=V.next();for(;!d.done;)c.push(d.value),d=V.next();return c}const Ke=/-+([a-z0-9])/g;function pt(V){return V.replace(Ke,(...c)=>c[1].toUpperCase())}function jt(V){return V.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Pt(V,c,d){switch(c.type){case 7:return V.visitTrigger(c,d);case 0:return V.visitState(c,d);case 1:return V.visitTransition(c,d);case 2:return V.visitSequence(c,d);case 3:return V.visitGroup(c,d);case 4:return V.visitAnimate(c,d);case 5:return V.visitKeyframes(c,d);case 6:return V.visitStyle(c,d);case 8:return V.visitReference(c,d);case 9:return V.visitAnimateChild(c,d);case 10:return V.visitAnimateRef(c,d);case 11:return V.visitQuery(c,d);case 12:return V.visitStagger(c,d);default:throw function z(V){return new r.vHH(3004,A)}()}}function Rt(V,c){return window.getComputedStyle(V)[c]}const k="*";function Q(V,c){const d=[];return"string"==typeof V?V.split(/\s*,\s*/).forEach(C=>function Z(V,c,d){if(":"==V[0]){const Be=function re(V,c){switch(V){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,C)=>parseFloat(C)>parseFloat(d);case":decrement":return(d,C)=>parseFloat(C)<parseFloat(d);default:return c.push(function ve(V){return new r.vHH(3016,A)}()),"* => *"}}(V,d);if("function"==typeof Be)return void c.push(Be);V=Be}const C=V.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==C||C.length<4)return d.push(function je(V){return new r.vHH(3015,A)}()),c;const H=C[1],X=C[2],ce=C[3];c.push(w(H,ce));"<"==X[0]&&!(H==k&&ce==k)&&c.push(w(ce,H))}(C,d,c)):d.push(V),d}const Ce=new Set(["true","1"]),ue=new Set(["false","0"]);function w(V,c){const d=Ce.has(V)||ue.has(V),C=Ce.has(c)||ue.has(c);return(H,X)=>{let ce=V==k||V==H,fe=c==k||c==X;return!ce&&d&&"boolean"==typeof H&&(ce=H?Ce.has(V):ue.has(V)),!fe&&C&&"boolean"==typeof X&&(fe=X?Ce.has(c):ue.has(c)),ce&&fe}}const S=":self",p=new RegExp(`s*${S}s*,?`,"g");function U(V,c,d,C){return new he(V).build(c,d,C)}class he{constructor(c){this._driver=c}build(c,d,C){const H=new ut(d);this._resetContextStyleTimingState(H);const X=Pt(this,tn(c),H);return H.unsupportedCSSPropertiesFound.size&&H.unsupportedCSSPropertiesFound.keys(),X}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles={},c.collectedStyles[""]={},c.currentTime=0}visitTrigger(c,d){let C=d.queryCount=0,H=d.depCount=0;const X=[],ce=[];return"@"==c.name.charAt(0)&&d.errors.push(function oe(){return new r.vHH(3006,A)}()),c.definitions.forEach(fe=>{if(this._resetContextStyleTimingState(d),0==fe.type){const Be=fe,qe=Be.name;qe.toString().split(/\s*,\s*/).forEach(kt=>{Be.name=kt,X.push(this.visitState(Be,d))}),Be.name=qe}else if(1==fe.type){const Be=this.visitTransition(fe,d);C+=Be.queryCount,H+=Be.depCount,ce.push(Be)}else d.errors.push(function Pe(){return new r.vHH(3007,A)}())}),{type:7,name:c.name,states:X,transitions:ce,queryCount:C,depCount:H,options:null}}visitState(c,d){const C=this.visitStyle(c.styles,d),H=c.options&&c.options.params||null;if(C.containsDynamicStyles){const X=new Set,ce=H||{};C.styles.forEach(fe=>{if(It(fe)){const Be=fe;Object.keys(Be).forEach(qe=>{ee(Be[qe]).forEach(kt=>{ce.hasOwnProperty(kt)||X.add(kt)})})}}),X.size&&(Ae(X.values()),d.errors.push(function Te(V,c){return new r.vHH(3008,A)}()))}return{type:0,name:c.name,style:C,options:H?{params:H}:null}}visitTransition(c,d){d.queryCount=0,d.depCount=0;const C=Pt(this,tn(c.animation),d);return{type:1,matchers:Q(c.expr,d.errors),animation:C,queryCount:d.queryCount,depCount:d.depCount,options:Et(c.options)}}visitSequence(c,d){return{type:2,steps:c.steps.map(C=>Pt(this,C,d)),options:Et(c.options)}}visitGroup(c,d){const C=d.currentTime;let H=0;const X=c.steps.map(ce=>{d.currentTime=C;const fe=Pt(this,ce,d);return H=Math.max(H,d.currentTime),fe});return d.currentTime=H,{type:3,steps:X,options:Et(c.options)}}visitAnimate(c,d){const C=function yt(V,c){if(V.hasOwnProperty("duration"))return V;if("number"==typeof V)return qt(Fe(V,c).duration,0,"");const d=V;if(d.split(/\s+/).some(X=>"{"==X.charAt(0)&&"{"==X.charAt(1))){const X=qt(0,0,"");return X.dynamic=!0,X.strValue=d,X}const H=Fe(d,c);return qt(H.duration,H.delay,H.easing)}(c.timings,d.errors);d.currentAnimateTimings=C;let H,X=c.styles?c.styles:(0,B.oB)({});if(5==X.type)H=this.visitKeyframes(X,d);else{let ce=c.styles,fe=!1;if(!ce){fe=!0;const qe={};C.easing&&(qe.easing=C.easing),ce=(0,B.oB)(qe)}d.currentTime+=C.duration+C.delay;const Be=this.visitStyle(ce,d);Be.isEmptyStep=fe,H=Be}return d.currentAnimateTimings=null,{type:4,timings:C,style:H,options:null}}visitStyle(c,d){const C=this._makeStyleAst(c,d);return this._validateStyleAst(C,d),C}_makeStyleAst(c,d){const C=[];Array.isArray(c.styles)?c.styles.forEach(ce=>{"string"==typeof ce?ce==B.l3?C.push(ce):d.errors.push(function Oe(V){return new r.vHH(3002,A)}()):C.push(ce)}):C.push(c.styles);let H=!1,X=null;return C.forEach(ce=>{if(It(ce)){const fe=ce,Be=fe.easing;if(Be&&(X=Be,delete fe.easing),!H)for(let qe in fe)if(fe[qe].toString().indexOf("{{")>=0){H=!0;break}}}),{type:6,styles:C,easing:X,offset:c.offset,containsDynamicStyles:H,options:null}}_validateStyleAst(c,d){const C=d.currentAnimateTimings;let H=d.currentTime,X=d.currentTime;C&&X>0&&(X-=C.duration+C.delay),c.styles.forEach(ce=>{"string"!=typeof ce&&Object.keys(ce).forEach(fe=>{if(!this._driver.validateStyleProperty(fe))return delete ce[fe],void d.unsupportedCSSPropertiesFound.add(fe);const Be=d.collectedStyles[d.currentQuerySelector],qe=Be[fe];let kt=!0;qe&&(X!=H&&X>=qe.startTime&&H<=qe.endTime&&(d.errors.push(function mt(V,c,d,C,H){return new r.vHH(3010,A)}()),kt=!1),X=qe.startTime),kt&&(Be[fe]={startTime:X,endTime:H}),d.options&&function Me(V,c,d){const C=c.params||{},H=ee(V);H.length&&H.forEach(X=>{C.hasOwnProperty(X)||d.push(function G(V){return new r.vHH(3001,A)}())})}(ce[fe],d.options,d.errors)})})}visitKeyframes(c,d){const C={type:5,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function rt(){return new r.vHH(3011,A)}()),C;let X=0;const ce=[];let fe=!1,Be=!1,qe=0;const kt=c.steps.map(Cr=>{const fr=this._makeStyleAst(Cr,d);let Ir=null!=fr.offset?fr.offset:function Mt(V){if("string"==typeof V)return null;let c=null;if(Array.isArray(V))V.forEach(d=>{if(It(d)&&d.hasOwnProperty("offset")){const C=d;c=parseFloat(C.offset),delete C.offset}});else if(It(V)&&V.hasOwnProperty("offset")){const d=V;c=parseFloat(d.offset),delete d.offset}return c}(fr.styles),Mr=0;return null!=Ir&&(X++,Mr=fr.offset=Ir),Be=Be||Mr<0||Mr>1,fe=fe||Mr<qe,qe=Mr,ce.push(Mr),fr});Be&&d.errors.push(function lt(){return new r.vHH(3012,A)}()),fe&&d.errors.push(function dt(){return new r.vHH(3200,A)}());const Wt=c.steps.length;let gn=0;X>0&&X<Wt?d.errors.push(function ke(){return new r.vHH(3202,A)}()):0==X&&(gn=1/(Wt-1));const xn=Wt-1,en=d.currentTime,vn=d.currentAnimateTimings,Wn=vn.duration;return kt.forEach((Cr,fr)=>{const Ir=gn>0?fr==xn?1:gn*fr:ce[fr],Mr=Ir*Wn;d.currentTime=en+vn.delay+Mr,vn.duration=Mr,this._validateStyleAst(Cr,d),Cr.offset=Ir,C.styles.push(Cr)}),C}visitReference(c,d){return{type:8,animation:Pt(this,tn(c.animation),d),options:Et(c.options)}}visitAnimateChild(c,d){return d.depCount++,{type:9,options:Et(c.options)}}visitAnimateRef(c,d){return{type:10,animation:this.visitReference(c.animation,d),options:Et(c.options)}}visitQuery(c,d){const C=d.currentQuerySelector,H=c.options||{};d.queryCount++,d.currentQuery=c;const[X,ce]=function de(V){const c=!!V.split(/\s*,\s*/).find(d=>d==S);return c&&(V=V.replace(p,"")),V=V.replace(/@\*/g,Gt).replace(/@\w+/g,d=>Gt+"-"+d.substr(1)).replace(/:animating/g,an),[V,c]}(c.selector);d.currentQuerySelector=C.length?C+" "+X:X,bn(d.collectedStyles,d.currentQuerySelector,{});const fe=Pt(this,tn(c.animation),d);return d.currentQuery=null,d.currentQuerySelector=C,{type:11,selector:X,limit:H.limit||0,optional:!!H.optional,includeSelf:ce,animation:fe,originalSelector:c.selector,options:Et(c.options)}}visitStagger(c,d){d.currentQuery||d.errors.push(function Ye(){return new r.vHH(3013,A)}());const C="full"===c.timings?{duration:0,delay:0,easing:"full"}:Fe(c.timings,d.errors,!0);return{type:12,animation:Pt(this,tn(c.animation),d),timings:C,options:null}}}class ut{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 It(V){return!Array.isArray(V)&&"object"==typeof V}function Et(V){return V?(V=Ue(V)).params&&(V.params=function Ne(V){return V?Ue(V):null}(V.params)):V={},V}function qt(V,c,d){return{duration:V,delay:c,easing:d}}function cn(V,c,d,C,H,X,ce=null,fe=!1){return{type:1,element:V,keyframes:c,preStyleProps:d,postStyleProps:C,duration:H,delay:X,totalTime:H+X,easing:ce,subTimeline:fe}}class rn{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,d){let C=this._map.get(c);C||this._map.set(c,C=[]),C.push(...d)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const or=new RegExp(":enter","g"),si=new RegExp(":leave","g");function Jn(V,c,d,C,H,X={},ce={},fe,Be,qe=[]){return(new Er).buildKeyframes(V,c,d,C,H,X,ce,fe,Be,qe)}class Er{buildKeyframes(c,d,C,H,X,ce,fe,Be,qe,kt=[]){qe=qe||new rn;const Wt=new ni(c,d,qe,H,X,kt,[]);Wt.options=Be,Wt.currentTimeline.setStyles([ce],null,Wt.errors,Be),Pt(this,C,Wt);const gn=Wt.timelines.filter(xn=>xn.containsAnimation());if(Object.keys(fe).length){let xn;for(let en=gn.length-1;en>=0;en--){const vn=gn[en];if(vn.element===d){xn=vn;break}}xn&&!xn.allowOnlyTimelineStyles()&&xn.setStyles([fe],null,Wt.errors,Be)}return gn.length?gn.map(xn=>xn.buildKeyframes()):[cn(d,[],[],[],0,0,"",!1)]}visitTrigger(c,d){}visitState(c,d){}visitTransition(c,d){}visitAnimateChild(c,d){const C=d.subInstructions.get(d.element);if(C){const H=d.createSubContext(c.options),X=d.currentTimeline.currentTime,ce=this._visitSubInstructions(C,H,H.options);X!=ce&&d.transformIntoNewTimeline(ce)}d.previousNode=c}visitAnimateRef(c,d){const C=d.createSubContext(c.options);C.transformIntoNewTimeline(),this.visitReference(c.animation,C),d.transformIntoNewTimeline(C.currentTimeline.currentTime),d.previousNode=c}_visitSubInstructions(c,d,C){let X=d.currentTimeline.currentTime;const ce=null!=C.duration?ge(C.duration):null,fe=null!=C.delay?ge(C.delay):null;return 0!==ce&&c.forEach(Be=>{const qe=d.appendInstructionToTimeline(Be,ce,fe);X=Math.max(X,qe.duration+qe.delay)}),X}visitReference(c,d){d.updateOptions(c.options,!0),Pt(this,c.animation,d),d.previousNode=c}visitSequence(c,d){const C=d.subContextCount;let H=d;const X=c.options;if(X&&(X.params||X.delay)&&(H=d.createSubContext(X),H.transformIntoNewTimeline(),null!=X.delay)){6==H.previousNode.type&&(H.currentTimeline.snapshotCurrentStyles(),H.previousNode=Pr);const ce=ge(X.delay);H.delayNextStep(ce)}c.steps.length&&(c.steps.forEach(ce=>Pt(this,ce,H)),H.currentTimeline.applyStylesToKeyframe(),H.subContextCount>C&&H.transformIntoNewTimeline()),d.previousNode=c}visitGroup(c,d){const C=[];let H=d.currentTimeline.currentTime;const X=c.options&&c.options.delay?ge(c.options.delay):0;c.steps.forEach(ce=>{const fe=d.createSubContext(c.options);X&&fe.delayNextStep(X),Pt(this,ce,fe),H=Math.max(H,fe.currentTimeline.currentTime),C.push(fe.currentTimeline)}),C.forEach(ce=>d.currentTimeline.mergeTimelineCollectedStyles(ce)),d.transformIntoNewTimeline(H),d.previousNode=c}_visitTiming(c,d){if(c.dynamic){const C=c.strValue;return Fe(d.params?Se(C,d.params,d.errors):C,d.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,d){const C=d.currentAnimateTimings=this._visitTiming(c.timings,d),H=d.currentTimeline;C.delay&&(d.incrementTime(C.delay),H.snapshotCurrentStyles());const X=c.style;5==X.type?this.visitKeyframes(X,d):(d.incrementTime(C.duration),this.visitStyle(X,d),H.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=c}visitStyle(c,d){const C=d.currentTimeline,H=d.currentAnimateTimings;!H&&C.getCurrentStyleProperties().length&&C.forwardFrame();const X=H&&H.easing||c.easing;c.isEmptyStep?C.applyEmptyStep(X):C.setStyles(c.styles,X,d.errors,d.options),d.previousNode=c}visitKeyframes(c,d){const C=d.currentAnimateTimings,H=d.currentTimeline.duration,X=C.duration,fe=d.createSubContext().currentTimeline;fe.easing=C.easing,c.styles.forEach(Be=>{fe.forwardTime((Be.offset||0)*X),fe.setStyles(Be.styles,Be.easing,d.errors,d.options),fe.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(fe),d.transformIntoNewTimeline(H+X),d.previousNode=c}visitQuery(c,d){const C=d.currentTimeline.currentTime,H=c.options||{},X=H.delay?ge(H.delay):0;X&&(6===d.previousNode.type||0==C&&d.currentTimeline.getCurrentStyleProperties().length)&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Pr);let ce=C;const fe=d.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!H.optional,d.errors);d.currentQueryTotal=fe.length;let Be=null;fe.forEach((qe,kt)=>{d.currentQueryIndex=kt;const Wt=d.createSubContext(c.options,qe);X&&Wt.delayNextStep(X),qe===d.element&&(Be=Wt.currentTimeline),Pt(this,c.animation,Wt),Wt.currentTimeline.applyStylesToKeyframe(),ce=Math.max(ce,Wt.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(ce),Be&&(d.currentTimeline.mergeTimelineCollectedStyles(Be),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=c}visitStagger(c,d){const C=d.parentContext,H=d.currentTimeline,X=c.timings,ce=Math.abs(X.duration),fe=ce*(d.currentQueryTotal-1);let Be=ce*d.currentQueryIndex;switch(X.duration<0?"reverse":X.easing){case"reverse":Be=fe-Be;break;case"full":Be=C.currentStaggerTime}const kt=d.currentTimeline;Be&&kt.delayNextStep(Be);const Wt=kt.currentTime;Pt(this,c.animation,d),d.previousNode=c,C.currentStaggerTime=H.currentTime-Wt+(H.startTime-C.currentTimeline.startTime)}}const Pr={};class ni{constructor(c,d,C,H,X,ce,fe,Be){this._driver=c,this.element=d,this.subInstructions=C,this._enterClassName=H,this._leaveClassName=X,this.errors=ce,this.timelines=fe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Pr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Be||new Ar(this._driver,d,0),fe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,d){if(!c)return;const C=c;let H=this.options;null!=C.duration&&(H.duration=ge(C.duration)),null!=C.delay&&(H.delay=ge(C.delay));const X=C.params;if(X){let ce=H.params;ce||(ce=this.options.params={}),Object.keys(X).forEach(fe=>{(!d||!ce.hasOwnProperty(fe))&&(ce[fe]=Se(X[fe],ce,this.errors))})}}_copyOptions(){const c={};if(this.options){const d=this.options.params;if(d){const C=c.params={};Object.keys(d).forEach(H=>{C[H]=d[H]})}}return c}createSubContext(c=null,d,C){const H=d||this.element,X=new ni(this._driver,H,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(H,C||0));return X.previousNode=this.previousNode,X.currentAnimateTimings=this.currentAnimateTimings,X.options=this._copyOptions(),X.updateOptions(c),X.currentQueryIndex=this.currentQueryIndex,X.currentQueryTotal=this.currentQueryTotal,X.parentContext=this,this.subContextCount++,X}transformIntoNewTimeline(c){return this.previousNode=Pr,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,d,C){const H={duration:d??c.duration,delay:this.currentTimeline.currentTime+(C??0)+c.delay,easing:""},X=new Br(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,H,c.stretchStartingKeyframe);return this.timelines.push(X),H}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,d,C,H,X,ce){let fe=[];if(H&&fe.push(this.element),c.length>0){c=(c=c.replace(or,"."+this._enterClassName)).replace(si,"."+this._leaveClassName);let qe=this._driver.query(this.element,c,1!=C);0!==C&&(qe=C<0?qe.slice(qe.length+C,qe.length):qe.slice(0,C)),fe.push(...qe)}return!X&&0==fe.length&&ce.push(function _e(V){return new r.vHH(3014,A)}()),fe}}class Ar{constructor(c,d,C,H){this._driver=c,this.element=d,this.startTime=C,this._elementTimelineStylesLookup=H,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(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,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 d=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||d?(this.forwardTime(this.currentTime+c),d&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,d){return this.applyStylesToKeyframe(),new Ar(this._driver,c,d||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,d){this._localTimelineStyles[c]=d,this._globalTimelineStyles[c]=d,this._styleSummary[c]={time:this.currentTime,value:d}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&(this._previousKeyframe.easing=c),Object.keys(this._globalTimelineStyles).forEach(d=>{this._backFill[d]=this._globalTimelineStyles[d]||B.l3,this._currentKeyframe[d]=B.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,d,C,H){d&&(this._previousKeyframe.easing=d);const X=H&&H.params||{},ce=function mr(V,c){const d={};let C;return V.forEach(H=>{"*"===H?(C=C||Object.keys(c),C.forEach(X=>{d[X]=B.l3})):Ct(H,!1,d)}),d}(c,this._globalTimelineStyles);Object.keys(ce).forEach(fe=>{const Be=Se(ce[fe],X,C);this._pendingStyles[fe]=Be,this._localTimelineStyles.hasOwnProperty(fe)||(this._backFill[fe]=this._globalTimelineStyles.hasOwnProperty(fe)?this._globalTimelineStyles[fe]:B.l3),this._updateStyle(fe,Be)})}applyStylesToKeyframe(){const c=this._pendingStyles,d=Object.keys(c);0!=d.length&&(this._pendingStyles={},d.forEach(C=>{this._currentKeyframe[C]=c[C]}),Object.keys(this._localTimelineStyles).forEach(C=>{this._currentKeyframe.hasOwnProperty(C)||(this._currentKeyframe[C]=this._localTimelineStyles[C])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(c=>{const d=this._localTimelineStyles[c];this._pendingStyles[c]=d,this._updateStyle(c,d)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let d in this._currentKeyframe)c.push(d);return c}mergeTimelineCollectedStyles(c){Object.keys(c._styleSummary).forEach(d=>{const C=this._styleSummary[d],H=c._styleSummary[d];(!C||H.time>C.time)&&this._updateStyle(d,H.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,d=new Set,C=1===this._keyframes.size&&0===this.duration;let H=[];this._keyframes.forEach((fe,Be)=>{const qe=Ct(fe,!0);Object.keys(qe).forEach(kt=>{const Wt=qe[kt];Wt==B.k1?c.add(kt):Wt==B.l3&&d.add(kt)}),C||(qe.offset=Be/this.duration),H.push(qe)});const X=c.size?Ae(c.values()):[],ce=d.size?Ae(d.values()):[];if(C){const fe=H[0],Be=Ue(fe);fe.offset=0,Be.offset=1,H=[fe,Be]}return cn(this.element,H,X,ce,this.duration,this.startTime,this.easing,!1)}}class Br extends Ar{constructor(c,d,C,H,X,ce,fe=!1){super(c,d,ce.delay),this.keyframes=C,this.preStyleProps=H,this.postStyleProps=X,this._stretchStartingKeyframe=fe,this.timings={duration:ce.duration,delay:ce.delay,easing:ce.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:d,duration:C,easing:H}=this.timings;if(this._stretchStartingKeyframe&&d){const X=[],ce=C+d,fe=d/ce,Be=Ct(c[0],!1);Be.offset=0,X.push(Be);const qe=Ct(c[0],!1);qe.offset=Qr(fe),X.push(qe);const kt=c.length-1;for(let Wt=1;Wt<=kt;Wt++){let gn=Ct(c[Wt],!1);gn.offset=Qr((d+gn.offset*C)/ce),X.push(gn)}C=ce,d=0,H="",c=X}return cn(this.element,c,this.preStyleProps,this.postStyleProps,C,d,H,!0)}}function Qr(V,c=3){const d=Math.pow(10,c-1);return Math.round(V*d)/d}class rr{}class gi extends rr{normalizePropertyName(c,d){return pt(c)}normalizeStyleValue(c,d,C,H){let X="";const ce=C.toString().trim();if(jr[d]&&0!==C&&"0"!==C)if("number"==typeof C)X="px";else{const fe=C.match(/^[+-]?[\d\.]+([a-z]*)$/);fe&&0==fe[1].length&&H.push(function se(V,c){return new r.vHH(3005,A)}())}return ce+X}}const jr=(()=>function oi(V){const c={};return V.forEach(d=>c[d]=!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 mi(V,c,d,C,H,X,ce,fe,Be,qe,kt,Wt,gn){return{type:0,element:V,triggerName:c,isRemovalTransition:H,fromState:d,fromStyles:X,toState:C,toStyles:ce,timelines:fe,queriedElements:Be,preStyleProps:qe,postStyleProps:kt,totalTime:Wt,errors:gn}}const Kr={};class ai{constructor(c,d,C){this._triggerName=c,this.ast=d,this._stateStyles=C}match(c,d,C,H){return function Ei(V,c,d,C,H){return V.some(X=>X(c,d,C,H))}(this.ast.matchers,c,d,C,H)}buildStyles(c,d,C){const H=this._stateStyles["*"],X=this._stateStyles[c],ce=H?H.buildStyles(d,C):{};return X?X.buildStyles(d,C):ce}build(c,d,C,H,X,ce,fe,Be,qe,kt){const Wt=[],gn=this.ast.options&&this.ast.options.params||Kr,en=this.buildStyles(C,fe&&fe.params||Kr,Wt),vn=Be&&Be.params||Kr,Wn=this.buildStyles(H,vn,Wt),Cr=new Set,fr=new Map,Ir=new Map,Mr="void"===H,Pi={params:{...gn,...vn}},Jr=kt?[]:Jn(c,d,this.ast.animation,X,ce,en,Wn,Pi,qe,Wt);let Tr=0;if(Jr.forEach(li=>{Tr=Math.max(li.duration+li.delay,Tr)}),Wt.length)return mi(d,this._triggerName,C,H,Mr,en,Wn,[],[],fr,Ir,Tr,Wt);Jr.forEach(li=>{const lr=li.element,ci=bn(fr,lr,{});li.preStyleProps.forEach(xi=>ci[xi]=!0);const Xn=bn(Ir,lr,{});li.postStyleProps.forEach(xi=>Xn[xi]=!0),lr!==d&&Cr.add(lr)});const ii=Ae(Cr.values());return mi(d,this._triggerName,C,H,Mr,en,Wn,Jr,ii,fr,Ir,Tr)}}class _i{constructor(c,d,C){this.styles=c,this.defaultParams=d,this.normalizer=C}buildStyles(c,d){const C={},H=Ue(this.defaultParams);return Object.keys(c).forEach(X=>{const ce=c[X];null!=ce&&(H[X]=ce)}),this.styles.styles.forEach(X=>{if("string"!=typeof X){const ce=X;Object.keys(ce).forEach(fe=>{let Be=ce[fe];Be.length>1&&(Be=Se(Be,H,d));const qe=this.normalizer.normalizePropertyName(fe,d);Be=this.normalizer.normalizeStyleValue(fe,qe,Be,d),C[qe]=Be})}}),C}}class me{constructor(c,d,C){this.name=c,this.ast=d,this._normalizer=C,this.transitionFactories=[],this.states={},d.states.forEach(H=>{this.states[H.name]=new _i(H.style,H.options&&H.options.params||{},C)}),te(this.states,"true","1"),te(this.states,"false","0"),d.transitions.forEach(H=>{this.transitionFactories.push(new ai(c,H,this.states))}),this.fallbackTransition=function E(V,c,d){return new ai(V,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ce,fe)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,d,C,H){return this.transitionFactories.find(ce=>ce.match(c,d,C,H))||null}matchStyles(c,d,C){return this.fallbackTransition.buildStyles(c,d,C)}}function te(V,c,d){V.hasOwnProperty(c)?V.hasOwnProperty(d)||(V[d]=V[c]):V.hasOwnProperty(d)&&(V[c]=V[d])}const Xe=new rn;class Ot{constructor(c,d,C){this.bodyNode=c,this._driver=d,this._normalizer=C,this._animations={},this._playersById={},this.players=[]}register(c,d){const C=[],X=U(this._driver,d,C,[]);if(C.length)throw function Qe(V){return new r.vHH(3503,A)}();this._animations[c]=X}_buildPlayer(c,d,C){const H=c.element,X=Rn(0,this._normalizer,0,c.keyframes,d,C);return this._driver.animate(H,X,c.duration,c.delay,c.easing,[],!0)}create(c,d,C={}){const H=[],X=this._animations[c];let ce;const fe=new Map;if(X?(ce=Jn(this._driver,d,X,Qn,fn,{},{},C,Xe,H),ce.forEach(kt=>{const Wt=bn(fe,kt.element,{});kt.postStyleProps.forEach(gn=>Wt[gn]=null)})):(H.push(function Ge(){return new r.vHH(3300,A)}()),ce=[]),H.length)throw function wn(V){return new r.vHH(3504,A)}();fe.forEach((kt,Wt)=>{Object.keys(kt).forEach(gn=>{kt[gn]=this._driver.computeStyle(Wt,gn,B.l3)})});const qe=Kt(ce.map(kt=>{const Wt=fe.get(kt.element);return this._buildPlayer(kt,{},Wt)}));return this._playersById[c]=qe,qe.onDestroy(()=>this.destroy(c)),this.players.push(qe),qe}destroy(c){const d=this._getPlayer(c);d.destroy(),delete this._playersById[c];const C=this.players.indexOf(d);C>=0&&this.players.splice(C,1)}_getPlayer(c){const d=this._playersById[c];if(!d)throw function Ht(V){return new r.vHH(3301,A)}();return d}listen(c,d,C,H){const X=Dn(d,"","","");return Sn(this._getPlayer(c),C,X,H),()=>{}}command(c,d,C,H){if("register"==C)return void this.register(c,H[0]);if("create"==C)return void this.create(c,d,H[0]||{});const X=this._getPlayer(c);switch(C){case"play":X.play();break;case"pause":X.pause();break;case"reset":X.reset();break;case"restart":X.restart();break;case"finish":X.finish();break;case"init":X.init();break;case"setPosition":X.setPosition(parseFloat(H[0]));break;case"destroy":this.destroy(c)}}}const yn="ng-animate-queued",Vn="ng-animate-disabled",zr=[],yi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ts={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},xr="__ng_removed";class Mi{constructor(c,d=""){this.namespaceId=d;const C=c&&c.hasOwnProperty("value");if(this.value=function D(V){return V??null}(C?c.value:c),C){const X=Ue(c);delete X.value,this.options=X}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const d=c.params;if(d){const C=this.options.params;Object.keys(d).forEach(H=>{null==C[H]&&(C[H]=d[H])})}}}const hr="void",Wr=new Mi(hr);class vi{constructor(c,d,C){this.id=c,this.hostElement=d,this._engine=C,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,ot(d,this._hostClassName)}listen(c,d,C,H){if(!this._triggers.hasOwnProperty(d))throw function hn(V,c){return new r.vHH(3302,A)}();if(null==C||0==C.length)throw function Cn(V){return new r.vHH(3303,A)}();if(!function T(V){return"start"==V||"done"==V}(C))throw function _n(V,c){return new r.vHH(3400,A)}();const X=bn(this._elementListeners,c,[]),ce={name:d,phase:C,callback:H};X.push(ce);const fe=bn(this._engine.statesByElement,c,{});return fe.hasOwnProperty(d)||(ot(c,Pn),ot(c,Pn+"-"+d),fe[d]=Wr),()=>{this._engine.afterFlush(()=>{const Be=X.indexOf(ce);Be>=0&&X.splice(Be,1),this._triggers[d]||delete fe[d]})}}register(c,d){return!this._triggers[c]&&(this._triggers[c]=d,!0)}_getTrigger(c){const d=this._triggers[c];if(!d)throw function Ln(V){return new r.vHH(3401,A)}();return d}trigger(c,d,C,H=!0){const X=this._getTrigger(d),ce=new ji(this.id,d,c);let fe=this._engine.statesByElement.get(c);fe||(ot(c,Pn),ot(c,Pn+"-"+d),this._engine.statesByElement.set(c,fe={}));let Be=fe[d];const qe=new Mi(C,this.id);if(!(C&&C.hasOwnProperty("value"))&&Be&&qe.absorbOptions(Be.options),fe[d]=qe,Be||(Be=Wr),qe.value!==hr&&Be.value===qe.value){if(!function un(V,c){const d=Object.keys(V),C=Object.keys(c);if(d.length!=C.length)return!1;for(let H=0;H<d.length;H++){const X=d[H];if(!c.hasOwnProperty(X)||V[X]!==c[X])return!1}return!0}(Be.params,qe.params)){const vn=[],Wn=X.matchStyles(Be.value,Be.params,vn),Cr=X.matchStyles(qe.value,qe.params,vn);vn.length?this._engine.reportError(vn):this._engine.afterFlush(()=>{tt(c,Wn),At(c,Cr)})}return}const gn=bn(this._engine.playersByElement,c,[]);gn.forEach(vn=>{vn.namespaceId==this.id&&vn.triggerName==d&&vn.queued&&vn.destroy()});let xn=X.matchTransition(Be.value,qe.value,c,qe.params),en=!1;if(!xn){if(!H)return;xn=X.fallbackTransition,en=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:d,transition:xn,fromState:Be,toState:qe,player:ce,isFallbackTransition:en}),en||(ot(c,yn),ce.onStart(()=>{vt(c,yn)})),ce.onDone(()=>{let vn=this.players.indexOf(ce);vn>=0&&this.players.splice(vn,1);const Wn=this._engine.playersByElement.get(c);if(Wn){let Cr=Wn.indexOf(ce);Cr>=0&&Wn.splice(Cr,1)}}),this.players.push(ce),gn.push(ce),ce}deregister(c){delete this._triggers[c],this._engine.statesByElement.forEach((d,C)=>{delete d[c]}),this._elementListeners.forEach((d,C)=>{this._elementListeners.set(C,d.filter(H=>H.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const d=this._engine.playersByElement.get(c);d&&(d.forEach(C=>C.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,d){const C=this._engine.driver.query(c,Gt,!0);C.forEach(H=>{if(H[xr])return;const X=this._engine.fetchNamespacesByElement(H);X.size?X.forEach(ce=>ce.triggerLeaveAnimation(H,d,!1,!0)):this.clearElementCache(H)}),this._engine.afterFlushAnimationsDone(()=>C.forEach(H=>this.clearElementCache(H)))}triggerLeaveAnimation(c,d,C,H){const X=this._engine.statesByElement.get(c),ce=new Map;if(X){const fe=[];if(Object.keys(X).forEach(Be=>{if(ce.set(Be,X[Be].value),this._triggers[Be]){const qe=this.trigger(c,Be,hr,H);qe&&fe.push(qe)}}),fe.length)return this._engine.markElementAsRemoved(this.id,c,!0,d,ce),C&&Kt(fe).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const d=this._elementListeners.get(c),C=this._engine.statesByElement.get(c);if(d&&C){const H=new Set;d.forEach(X=>{const ce=X.name;if(H.has(ce))return;H.add(ce);const Be=this._triggers[ce].fallbackTransition,qe=C[ce]||Wr,kt=new Mi(hr),Wt=new ji(this.id,ce,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:ce,transition:Be,fromState:qe,toState:kt,player:Wt,isFallbackTransition:!0})})}}removeNode(c,d){const C=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,d),this.triggerLeaveAnimation(c,d,!0))return;let H=!1;if(C.totalAnimations){const X=C.players.length?C.playersByQueriedElement.get(c):[];if(X&&X.length)H=!0;else{let ce=c;for(;ce=ce.parentNode;)if(C.statesByElement.get(ce)){H=!0;break}}}if(this.prepareLeaveAnimationListeners(c),H)C.markElementAsRemoved(this.id,c,!1,d);else{const X=c[xr];(!X||X===yi)&&(C.afterFlush(()=>this.clearElementCache(c)),C.destroyInnerAnimations(c),C._onRemovalComplete(c,d))}}insertNode(c,d){ot(c,this._hostClassName)}drainQueuedTransitions(c){const d=[];return this._queue.forEach(C=>{const H=C.player;if(H.destroyed)return;const X=C.element,ce=this._elementListeners.get(X);ce&&ce.forEach(fe=>{if(fe.name==C.triggerName){const Be=Dn(X,C.triggerName,C.fromState.value,C.toState.value);Be._data=c,Sn(C.player,fe.phase,Be,fe.callback)}}),H.markedForDestroy?this._engine.afterFlush(()=>{H.destroy()}):d.push(C)}),this._queue=[],d.sort((C,H)=>{const X=C.transition.ast.depCount,ce=H.transition.ast.depCount;return 0==X||0==ce?X-ce:this._engine.driver.containsElement(C.element,H.element)?1:-1})}destroy(c){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let d=!1;return this._elementListeners.has(c)&&(d=!0),d=!!this._queue.find(C=>C.element===c)||d,d}}class ri{constructor(c,d,C){this.bodyNode=c,this.driver=d,this._normalizer=C,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=(H,X)=>{}}_onRemovalComplete(c,d){this.onRemovalComplete(c,d)}get queuedPlayers(){const c=[];return this._namespaceList.forEach(d=>{d.players.forEach(C=>{C.queued&&c.push(C)})}),c}createNamespace(c,d){const C=new vi(c,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(C,d):(this.newHostElements.set(d,C),this.collectEnterElement(d)),this._namespaceLookup[c]=C}_balanceNamespaceList(c,d){const C=this._namespaceList,H=this.namespacesByHostElement,X=C.length-1;if(X>=0){let ce=!1;if(void 0!==this.driver.getParentElement){let fe=this.driver.getParentElement(d);for(;fe;){const Be=H.get(fe);if(Be){const qe=C.indexOf(Be);C.splice(qe+1,0,c),ce=!0;break}fe=this.driver.getParentElement(fe)}}else for(let fe=X;fe>=0;fe--)if(this.driver.containsElement(C[fe].hostElement,d)){C.splice(fe+1,0,c),ce=!0;break}ce||C.unshift(c)}else C.push(c);return H.set(d,c),c}register(c,d){let C=this._namespaceLookup[c];return C||(C=this.createNamespace(c,d)),C}registerTrigger(c,d,C){let H=this._namespaceLookup[c];H&&H.register(d,C)&&this.totalAnimations++}destroy(c,d){if(!c)return;const C=this._fetchNamespace(c);this.afterFlush(()=>{this.namespacesByHostElement.delete(C.hostElement),delete this._namespaceLookup[c];const H=this._namespaceList.indexOf(C);H>=0&&this._namespaceList.splice(H,1)}),this.afterFlushAnimationsDone(()=>C.destroy(d))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const d=new Set,C=this.statesByElement.get(c);if(C){const H=Object.keys(C);for(let X=0;X<H.length;X++){const ce=C[H[X]].namespaceId;if(ce){const fe=this._fetchNamespace(ce);fe&&d.add(fe)}}}return d}trigger(c,d,C,H){if(W(d)){const X=this._fetchNamespace(c);if(X)return X.trigger(d,C,H),!0}return!1}insertNode(c,d,C,H){if(!W(d))return;const X=d[xr];if(X&&X.setForRemoval){X.setForRemoval=!1,X.setForMove=!0;const ce=this.collectedLeaveElements.indexOf(d);ce>=0&&this.collectedLeaveElements.splice(ce,1)}if(c){const ce=this._fetchNamespace(c);ce&&ce.insertNode(d,C)}H&&this.collectEnterElement(d)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,d){d?this.disabledNodes.has(c)||(this.disabledNodes.add(c),ot(c,Vn)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),vt(c,Vn))}removeNode(c,d,C,H){if(W(d)){const X=c?this._fetchNamespace(c):null;if(X?X.removeNode(d,H):this.markElementAsRemoved(c,d,!1,H),C){const ce=this.namespacesByHostElement.get(d);ce&&ce.id!==c&&ce.removeNode(d,H)}}else this._onRemovalComplete(d,H)}markElementAsRemoved(c,d,C,H,X){this.collectedLeaveElements.push(d),d[xr]={namespaceId:c,setForRemoval:H,hasAnimation:C,removedBeforeQueried:!1,previousTriggersValues:X}}listen(c,d,C,H,X){return W(d)?this._fetchNamespace(c).listen(d,C,H,X):()=>{}}_buildInstruction(c,d,C,H,X){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,C,H,c.fromState.options,c.toState.options,d,X)}destroyInnerAnimations(c){let d=this.driver.query(c,Gt,!0);d.forEach(C=>this.destroyActiveAnimationsForElement(C)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(c,an,!0),d.forEach(C=>this.finishActiveQueriedAnimationOnElement(C)))}destroyActiveAnimationsForElement(c){const d=this.playersByElement.get(c);d&&d.forEach(C=>{C.queued?C.markedForDestroy=!0:C.destroy()})}finishActiveQueriedAnimationOnElement(c){const d=this.playersByQueriedElement.get(c);d&&d.forEach(C=>C.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return Kt(this.players).onDone(()=>c());c()})}processLeaveNode(c){const d=c[xr];if(d&&d.setForRemoval){if(c[xr]=yi,d.namespaceId){this.destroyInnerAnimations(c);const C=this._fetchNamespace(d.namespaceId);C&&C.clearElementCache(c)}this._onRemovalComplete(c,d.setForRemoval)}c.classList?.contains(Vn)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(C=>{this.markElementAsDisabled(C,!1)})}flush(c=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((C,H)=>this._balanceNamespaceList(C,H)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let C=0;C<this.collectedEnterElements.length;C++)ot(this.collectedEnterElements[C],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const C=[];try{d=this._flushAnimations(C,c)}finally{for(let H=0;H<C.length;H++)C[H]()}}else for(let C=0;C<this.collectedLeaveElements.length;C++)this.processLeaveNode(this.collectedLeaveElements[C]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(C=>C()),this._flushFns=[],this._whenQuietFns.length){const C=this._whenQuietFns;this._whenQuietFns=[],d.length?Kt(d).onDone(()=>{C.forEach(H=>H())}):C.forEach(H=>H())}}reportError(c){throw function Nn(V){return new r.vHH(3402,A)}()}_flushAnimations(c,d){const C=new rn,H=[],X=new Map,ce=[],fe=new Map,Be=new Map,qe=new Map,kt=new Set;this.disabledNodes.forEach(zt=>{kt.add(zt);const nn=this.driver.query(zt,".ng-animate-queued",!0);for(let ln=0;ln<nn.length;ln++)kt.add(nn[ln])});const Wt=this.bodyNode,gn=Array.from(this.statesByElement.keys()),xn=He(gn,this.collectedEnterElements),en=new Map;let vn=0;xn.forEach((zt,nn)=>{const ln=Qn+vn++;en.set(nn,ln),zt.forEach(In=>ot(In,ln))});const Wn=[],Cr=new Set,fr=new Set;for(let zt=0;zt<this.collectedLeaveElements.length;zt++){const nn=this.collectedLeaveElements[zt],ln=nn[xr];ln&&ln.setForRemoval&&(Wn.push(nn),Cr.add(nn),ln.hasAnimation?this.driver.query(nn,".ng-star-inserted",!0).forEach(In=>Cr.add(In)):fr.add(nn))}const Ir=new Map,Mr=He(gn,Array.from(Cr));Mr.forEach((zt,nn)=>{const ln=fn+vn++;Ir.set(nn,ln),zt.forEach(In=>ot(In,ln))}),c.push(()=>{xn.forEach((zt,nn)=>{const ln=en.get(nn);zt.forEach(In=>vt(In,ln))}),Mr.forEach((zt,nn)=>{const ln=Ir.get(nn);zt.forEach(In=>vt(In,ln))}),Wn.forEach(zt=>{this.processLeaveNode(zt)})});const Pi=[],Jr=[];for(let zt=this._namespaceList.length-1;zt>=0;zt--)this._namespaceList[zt].drainQueuedTransitions(d).forEach(ln=>{const In=ln.player,pr=ln.element;if(Pi.push(In),this.collectedEnterElements.length){const Lr=pr[xr];if(Lr&&Lr.setForMove){if(Lr.previousTriggersValues&&Lr.previousTriggersValues.has(ln.triggerName)){const Ai=Lr.previousTriggersValues.get(ln.triggerName),Yr=this.statesByElement.get(ln.element);Yr&&Yr[ln.triggerName]&&(Yr[ln.triggerName].value=Ai)}return void In.destroy()}}const Hr=!Wt||!this.driver.containsElement(Wt,pr),Rr=Ir.get(pr),ui=en.get(pr),ir=this._buildInstruction(ln,C,ui,Rr,Hr);if(ir.errors&&ir.errors.length)return void Jr.push(ir);if(Hr)return In.onStart(()=>tt(pr,ir.fromStyles)),In.onDestroy(()=>At(pr,ir.toStyles)),void H.push(In);if(ln.isFallbackTransition)return In.onStart(()=>tt(pr,ir.fromStyles)),In.onDestroy(()=>At(pr,ir.toStyles)),void H.push(In);const di=[];ir.timelines.forEach(Lr=>{Lr.stretchStartingKeyframe=!0,this.disabledNodes.has(Lr.element)||di.push(Lr)}),ir.timelines=di,C.append(pr,ir.timelines),ce.push({instruction:ir,player:In,element:pr}),ir.queriedElements.forEach(Lr=>bn(fe,Lr,[]).push(In)),ir.preStyleProps.forEach((Lr,Ai)=>{const Yr=Object.keys(Lr);if(Yr.length){let Xr=Be.get(Ai);Xr||Be.set(Ai,Xr=new Set),Yr.forEach(ds=>Xr.add(ds))}}),ir.postStyleProps.forEach((Lr,Ai)=>{const Yr=Object.keys(Lr);let Xr=qe.get(Ai);Xr||qe.set(Ai,Xr=new Set),Yr.forEach(ds=>Xr.add(ds))})});if(Jr.length){const zt=[];Jr.forEach(nn=>{zt.push(function Vt(V,c){return new r.vHH(3505,A)}())}),Pi.forEach(nn=>nn.destroy()),this.reportError(zt)}const Tr=new Map,ii=new Map;ce.forEach(zt=>{const nn=zt.element;C.has(nn)&&(ii.set(nn,nn),this._beforeAnimationBuild(zt.player.namespaceId,zt.instruction,Tr))}),H.forEach(zt=>{const nn=zt.element;this._getPreviousPlayers(nn,!1,zt.namespaceId,zt.triggerName,null).forEach(In=>{bn(Tr,nn,[]).push(In),In.destroy()})});const li=Wn.filter(zt=>tr(zt,Be,qe)),lr=new Map;pe(lr,this.driver,fr,qe,B.l3).forEach(zt=>{tr(zt,Be,qe)&&li.push(zt)});const Xn=new Map;xn.forEach((zt,nn)=>{pe(Xn,this.driver,new Set(zt),Be,B.k1)}),li.forEach(zt=>{const nn=lr.get(zt),ln=Xn.get(zt);lr.set(zt,{...nn,...ln})});const xi=[],vs=[],ho={};ce.forEach(zt=>{const{element:nn,player:ln,instruction:In}=zt;if(C.has(nn)){if(kt.has(nn))return ln.onDestroy(()=>At(nn,In.toStyles)),ln.disabled=!0,ln.overrideTotalTime(In.totalTime),void H.push(ln);let pr=ho;if(ii.size>1){let Rr=nn;const ui=[];for(;Rr=Rr.parentNode;){const ir=ii.get(Rr);if(ir){pr=ir;break}ui.push(Rr)}ui.forEach(ir=>ii.set(ir,pr))}const Hr=this._buildAnimation(ln.namespaceId,In,Tr,X,Xn,lr);if(ln.setRealPlayer(Hr),pr===ho)xi.push(ln);else{const Rr=this.playersByElement.get(pr);Rr&&Rr.length&&(ln.parentPlayer=Kt(Rr)),H.push(ln)}}else tt(nn,In.fromStyles),ln.onDestroy(()=>At(nn,In.toStyles)),vs.push(ln),kt.has(nn)&&H.push(ln)}),vs.forEach(zt=>{const nn=X.get(zt.element);if(nn&&nn.length){const ln=Kt(nn);zt.setRealPlayer(ln)}}),H.forEach(zt=>{zt.parentPlayer?zt.syncPlayerEvents(zt.parentPlayer):zt.destroy()});for(let zt=0;zt<Wn.length;zt++){const nn=Wn[zt],ln=nn[xr];if(vt(nn,fn),ln&&ln.hasAnimation)continue;let In=[];if(fe.size){let Hr=fe.get(nn);Hr&&Hr.length&&In.push(...Hr);let Rr=this.driver.query(nn,an,!0);for(let ui=0;ui<Rr.length;ui++){let ir=fe.get(Rr[ui]);ir&&ir.length&&In.push(...ir)}}const pr=In.filter(Hr=>!Hr.destroyed);pr.length?qn(this,nn,pr):this.processLeaveNode(nn)}return Wn.length=0,xi.forEach(zt=>{this.players.push(zt),zt.onDone(()=>{zt.destroy();const nn=this.players.indexOf(zt);this.players.splice(nn,1)}),zt.play()}),xi}elementContainsData(c,d){let C=!1;const H=d[xr];return H&&H.setForRemoval&&(C=!0),this.playersByElement.has(d)&&(C=!0),this.playersByQueriedElement.has(d)&&(C=!0),this.statesByElement.has(d)&&(C=!0),this._fetchNamespace(c).elementContainsData(d)||C}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,d,C,H,X){let ce=[];if(d){const fe=this.playersByQueriedElement.get(c);fe&&(ce=fe)}else{const fe=this.playersByElement.get(c);if(fe){const Be=!X||X==hr;fe.forEach(qe=>{qe.queued||!Be&&qe.triggerName!=H||ce.push(qe)})}}return(C||H)&&(ce=ce.filter(fe=>!(C&&C!=fe.namespaceId||H&&H!=fe.triggerName))),ce}_beforeAnimationBuild(c,d,C){const X=d.element,ce=d.isRemovalTransition?void 0:c,fe=d.isRemovalTransition?void 0:d.triggerName;for(const Be of d.timelines){const qe=Be.element,kt=qe!==X,Wt=bn(C,qe,[]);this._getPreviousPlayers(qe,kt,ce,fe,d.toState).forEach(xn=>{const en=xn.getRealPlayer();en.beforeDestroy&&en.beforeDestroy(),xn.destroy(),Wt.push(xn)})}tt(X,d.fromStyles)}_buildAnimation(c,d,C,H,X,ce){const fe=d.triggerName,Be=d.element,qe=[],kt=new Set,Wt=new Set,gn=d.timelines.map(en=>{const vn=en.element;kt.add(vn);const Wn=vn[xr];if(Wn&&Wn.removedBeforeQueried)return new B.ZN(en.duration,en.delay);const Cr=vn!==Be,fr=function Gn(V){const c=[];return jn(V,c),c}((C.get(vn)||zr).map(Tr=>Tr.getRealPlayer())).filter(Tr=>!!Tr.element&&Tr.element===vn),Ir=X.get(vn),Mr=ce.get(vn),Pi=Rn(0,this._normalizer,0,en.keyframes,Ir,Mr),Jr=this._buildPlayer(en,Pi,fr);if(en.subTimeline&&H&&Wt.add(vn),Cr){const Tr=new ji(c,fe,vn);Tr.setRealPlayer(Jr),qe.push(Tr)}return Jr});qe.forEach(en=>{bn(this.playersByQueriedElement,en.element,[]).push(en),en.onDone(()=>function Ti(V,c,d){let C;if(V instanceof Map){if(C=V.get(c),C){if(C.length){const H=C.indexOf(d);C.splice(H,1)}0==C.length&&V.delete(c)}}else if(C=V[c],C){if(C.length){const H=C.indexOf(d);C.splice(H,1)}0==C.length&&delete V[c]}return C}(this.playersByQueriedElement,en.element,en))}),kt.forEach(en=>ot(en,Zt));const xn=Kt(gn);return xn.onDestroy(()=>{kt.forEach(en=>vt(en,Zt)),At(Be,d.toStyles)}),Wt.forEach(en=>{bn(H,en,[]).push(xn)}),xn}_buildPlayer(c,d,C){return d.length>0?this.driver.animate(c.element,d,c.duration,c.delay,c.easing,C):new B.ZN(c.duration,c.delay)}}class ji{constructor(c,d,C){this.namespaceId=c,this.triggerName=d,this.element=C,this._player=new B.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(d=>{this._queuedCallbacks[d].forEach(C=>Sn(c,d,void 0,C))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const d=this._player;d.triggerCallback&&c.onStart(()=>d.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,d){bn(this._queuedCallbacks,c,[]).push(d)}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 d=this._player;d.triggerCallback&&d.triggerCallback(c)}}function W(V){return V&&1===V.nodeType}function K(V,c){const d=V.style.display;return V.style.display=c??"none",d}function pe(V,c,d,C,H){const X=[];d.forEach(Be=>X.push(K(Be)));const ce=[];C.forEach((Be,qe)=>{const kt={};Be.forEach(Wt=>{const gn=kt[Wt]=c.computeStyle(qe,Wt,H);(!gn||0==gn.length)&&(qe[xr]=ts,ce.push(qe))}),V.set(qe,kt)});let fe=0;return d.forEach(Be=>K(Be,X[fe++])),ce}function He(V,c){const d=new Map;if(V.forEach(fe=>d.set(fe,[])),0==c.length)return d;const H=new Set(c),X=new Map;function ce(fe){if(!fe)return 1;let Be=X.get(fe);if(Be)return Be;const qe=fe.parentNode;return Be=d.has(qe)?qe:H.has(qe)?1:ce(qe),X.set(fe,Be),Be}return c.forEach(fe=>{const Be=ce(fe);1!==Be&&d.get(Be).push(fe)}),d}function ot(V,c){V.classList?.add(c)}function vt(V,c){V.classList?.remove(c)}function qn(V,c,d){Kt(d).onDone(()=>V.processLeaveNode(c))}function jn(V,c){for(let d=0;d<V.length;d++){const C=V[d];C instanceof B.ZE?jn(C.players,c):c.push(C)}}function tr(V,c,d){const C=d.get(V);if(!C)return!1;let H=c.get(V);return H?C.forEach(X=>H.add(X)):c.set(V,C),d.delete(V),!0}class kn{constructor(c,d,C){this.bodyNode=c,this._driver=d,this._normalizer=C,this._triggerCache={},this.onRemovalComplete=(H,X)=>{},this._transitionEngine=new ri(c,d,C),this._timelineEngine=new Ot(c,d,C),this._transitionEngine.onRemovalComplete=(H,X)=>this.onRemovalComplete(H,X)}registerTrigger(c,d,C,H,X){const ce=c+"-"+H;let fe=this._triggerCache[ce];if(!fe){const Be=[],kt=U(this._driver,X,Be,[]);if(Be.length)throw function nt(V,c){return new r.vHH(3404,A)}();fe=function I(V,c,d){return new me(V,c,d)}(H,kt,this._normalizer),this._triggerCache[ce]=fe}this._transitionEngine.registerTrigger(d,H,fe)}register(c,d){this._transitionEngine.register(c,d)}destroy(c,d){this._transitionEngine.destroy(c,d)}onInsert(c,d,C,H){this._transitionEngine.insertNode(c,d,C,H)}onRemove(c,d,C,H){this._transitionEngine.removeNode(c,d,H||!1,C)}disableAnimations(c,d){this._transitionEngine.markElementAsDisabled(c,d)}process(c,d,C,H){if("@"==C.charAt(0)){const[X,ce]=gr(C);this._timelineEngine.command(X,d,ce,H)}else this._transitionEngine.trigger(c,d,C,H)}listen(c,d,C,H,X){if("@"==C.charAt(0)){const[ce,fe]=gr(C);return this._timelineEngine.listen(ce,d,fe,X)}return this._transitionEngine.listen(c,d,C,H,X)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let M=(()=>{class V{constructor(d,C,H){this._element=d,this._startStyles=C,this._endStyles=H,this._state=0;let X=V.initialStylesByElement.get(d);X||V.initialStylesByElement.set(d,X={}),this._initialStyles=X}start(){this._state<1&&(this._startStyles&&At(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(At(this._element,this._initialStyles),this._endStyles&&(At(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(V.initialStylesByElement.delete(this._element),this._startStyles&&(tt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),At(this._element,this._initialStyles),this._state=3)}}return V.initialStylesByElement=new WeakMap,V})();function b(V){let c=null;const d=Object.keys(V);for(let C=0;C<d.length;C++){const H=d[C];y(H)&&(c=c||{},c[H]=V[H])}return c}function y(V){return"display"===V||"position"===V}class Y{constructor(c,d,C,H){this.element=c,this.keyframes=d,this.options=C,this._specialStyles=H,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=C.duration,this._delay=C.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,d,C){return c.animate(d,C)}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 d=this._finalKeyframe;Object.keys(d).forEach(C=>{"offset"!=C&&(c[C]=this._finished?d[C]:Rt(this.element,C))})}this.currentSnapshot=c}triggerCallback(c){const d="start"==c?this._onStartFns:this._onDoneFns;d.forEach(C=>C()),d.length=0}}class $e{validateStyleProperty(c){return Ze(c)}matchesElement(c,d){return!1}containsElement(c,d){return be(c,d)}getParentElement(c){return sr(c)}query(c,d,C){return st(c,d,C)}computeStyle(c,d,C){return window.getComputedStyle(c)[d]}animate(c,d,C,H,X,ce=[]){const Be={duration:C,delay:H,fill:0==H?"both":"forwards"};X&&(Be.easing=X);const qe={},kt=ce.filter(gn=>gn instanceof Y);(function St(V,c){return 0===V||0===c})(C,H)&&kt.forEach(gn=>{let xn=gn.currentSnapshot;Object.keys(xn).forEach(en=>qe[en]=xn[en])}),d=function pn(V,c,d){const C=Object.keys(d);if(C.length&&c.length){let X=c[0],ce=[];if(C.forEach(fe=>{X.hasOwnProperty(fe)||ce.push(fe),X[fe]=d[fe]}),ce.length)for(var H=1;H<c.length;H++){let fe=c[H];ce.forEach(function(Be){fe[Be]=Rt(V,Be)})}}return c}(c,d=d.map(gn=>Ct(gn,!1)),qe);const Wt=function ar(V,c){let d=null,C=null;return Array.isArray(c)&&c.length?(d=b(c[0]),c.length>1&&(C=b(c[c.length-1]))):c&&(d=b(c)),d||C?new M(V,d,C):null}(c,d);return new Y(c,d,Be,Wt)}}var Ut=h(6895);let zn=(()=>{class V extends B._j{constructor(d,C){super(),this._nextAnimationId=0,this._renderer=d.createRenderer(C.body,{id:"0",encapsulation:r.ifc.None,styles:[],data:{animation:[]}})}build(d){const C=this._nextAnimationId.toString();this._nextAnimationId++;const H=Array.isArray(d)?(0,B.vP)(d):d;return Ui(this._renderer,null,C,"register",[H]),new Jt(C,this._renderer)}}return V.\u0275fac=function(d){return new(d||V)(r.LFG(r.FYo),r.LFG(Ut.K0))},V.\u0275prov=r.Yz7({token:V,factory:V.\u0275fac}),V})();class Jt extends B.LC{constructor(c,d){super(),this._id=c,this._renderer=d}create(c,d){return new Dr(this._id,c,d||{},this._renderer)}}class Dr{constructor(c,d,C,H){this.id=c,this.element=d,this._renderer=H,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",C)}_listen(c,d){return this._renderer.listen(this.element,`@@${this.id}:${c}`,d)}_command(c,...d){return Ui(this._renderer,this.element,this.id,c,d)}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 Ui(V,c,d,C,H){return V.setProperty(c,`@@${d}:${C}`,H)}const rs="@.disabled";let cs=(()=>{class V{constructor(d,C,H){this.delegate=d,this.engine=C,this._zone=H,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),C.onRemovalComplete=(X,ce)=>{const fe=ce?.parentNode(X);fe&&ce.removeChild(fe,X)}}createRenderer(d,C){const X=this.delegate.createRenderer(d,C);if(!(d&&C&&C.data&&C.data.animation)){let kt=this._rendererCache.get(X);return kt||(kt=new ms("",X,this.engine),this._rendererCache.set(X,kt)),kt}const ce=C.id,fe=C.id+"-"+this._currentId;this._currentId++,this.engine.register(fe,d);const Be=kt=>{Array.isArray(kt)?kt.forEach(Be):this.engine.registerTrigger(ce,fe,d,kt.name,kt)};return C.data.animation.forEach(Be),new co(this,fe,X,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(d,C,H){d>=0&&d<this._microtaskId?this._zone.run(()=>C(H)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(X=>{const[ce,fe]=X;ce(fe)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([C,H]))}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 V.\u0275fac=function(d){return new(d||V)(r.LFG(r.FYo),r.LFG(kn),r.LFG(r.R0b))},V.\u0275prov=r.Yz7({token:V,factory:V.\u0275fac}),V})();class ms{constructor(c,d,C){this.namespaceId=c,this.delegate=d,this.engine=C,this.destroyNode=this.delegate.destroyNode?H=>d.destroyNode(H):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(c,d){return this.delegate.createElement(c,d)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,d){this.delegate.appendChild(c,d),this.engine.onInsert(this.namespaceId,d,c,!1)}insertBefore(c,d,C,H=!0){this.delegate.insertBefore(c,d,C),this.engine.onInsert(this.namespaceId,d,c,H)}removeChild(c,d,C){this.engine.onRemove(this.namespaceId,d,this.delegate,C)}selectRootElement(c,d){return this.delegate.selectRootElement(c,d)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,d,C,H){this.delegate.setAttribute(c,d,C,H)}removeAttribute(c,d,C){this.delegate.removeAttribute(c,d,C)}addClass(c,d){this.delegate.addClass(c,d)}removeClass(c,d){this.delegate.removeClass(c,d)}setStyle(c,d,C,H){this.delegate.setStyle(c,d,C,H)}removeStyle(c,d,C){this.delegate.removeStyle(c,d,C)}setProperty(c,d,C){"@"==d.charAt(0)&&d==rs?this.disableAnimations(c,!!C):this.delegate.setProperty(c,d,C)}setValue(c,d){this.delegate.setValue(c,d)}listen(c,d,C){return this.delegate.listen(c,d,C)}disableAnimations(c,d){this.engine.disableAnimations(c,d)}}class co extends ms{constructor(c,d,C,H){super(d,C,H),this.factory=c,this.namespaceId=d}setProperty(c,d,C){"@"==d.charAt(0)?"."==d.charAt(1)&&d==rs?this.disableAnimations(c,C=void 0===C||!!C):this.engine.process(this.namespaceId,c,d.substr(1),C):this.delegate.setProperty(c,d,C)}listen(c,d,C){if("@"==d.charAt(0)){const H=function uo(V){switch(V){case"body":return document.body;case"document":return document;case"window":return window;default:return V}}(c);let X=d.substr(1),ce="";return"@"!=X.charAt(0)&&([X,ce]=function ht(V){const c=V.indexOf(".");return[V.substring(0,c),V.substr(c+1)]}(X)),this.engine.listen(this.namespaceId,H,X,ce,fe=>{this.factory.scheduleListenerCallback(fe._data||-1,C,fe)})}return this.delegate.listen(c,d,C)}}let An=(()=>{class V extends kn{constructor(d,C,H){super(d.body,C,H)}ngOnDestroy(){this.flush()}}return V.\u0275fac=function(d){return new(d||V)(r.LFG(Ut.K0),r.LFG(ct),r.LFG(rr))},V.\u0275prov=r.Yz7({token:V,factory:V.\u0275fac}),V})();const Hi=new r.OlP("AnimationModuleType"),Si=[{provide:B._j,useClass:zn},{provide:rr,useFactory:function _s(){return new gi}},{provide:kn,useClass:An},{provide:r.FYo,useFactory:function vr(V,c,d){return new cs(V,c,d)},deps:[m.se,kn,r.R0b]}],kr=[{provide:ct,useFactory:()=>new $e},{provide:Hi,useValue:"BrowserAnimations"},...Si],us=[{provide:ct,useClass:We},{provide:Hi,useValue:"NoopAnimations"},...Si];let ys=(()=>{class V{static withConfig(d){return{ngModule:V,providers:d.disableAnimations?us:kr}}}return V.\u0275fac=function(d){return new(d||V)},V.\u0275mod=r.oAB({type:V}),V.\u0275inj=r.cJS({providers:kr,imports:[m.b2]}),V})()},1481:(J,F,h)=>{"use strict";h.d(F,{b2:()=>dr,q6:()=>bn,se:()=>Qe});var r=h(6895),m=h(5062);class B extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class A extends B{static makeCurrent(){(0,r.HT)(new A)}onAndCancel(ie,ee,Se){return ie.addEventListener(ee,Se,!1),()=>{ie.removeEventListener(ee,Se,!1)}}dispatchEvent(ie,ee){ie.dispatchEvent(ee)}remove(ie){ie.parentNode&&ie.parentNode.removeChild(ie)}createElement(ie,ee){return(ee=ee||this.getDefaultDocument()).createElement(ie)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ie){return ie.nodeType===Node.ELEMENT_NODE}isShadowRoot(ie){return ie instanceof DocumentFragment}getGlobalEventTarget(ie,ee){return"window"===ee?window:"document"===ee?ie:"body"===ee?ie.body:null}getBaseHref(ie){const ee=function R(){return x=x||document.querySelector("base"),x?x.getAttribute("href"):null}();return null==ee?null:function O(Me){j=j||document.createElement("a"),j.setAttribute("href",Me);const ie=j.pathname;return"/"===ie.charAt(0)?ie:`/${ie}`}(ee)}resetBaseElement(){x=null}getUserAgent(){return window.navigator.userAgent}getCookie(ie){return(0,r.Mx)(document.cookie,ie)}}let j,x=null;const G=new m.OlP("TRANSITION_ID"),z=[{provide:m.ip1,useFactory:function L(Me,ie,ee){return()=>{ee.get(m.CZH).donePromise.then(()=>{const Se=(0,r.q)(),Ae=ie.querySelectorAll(`style[ng-transition="${Me}"]`);for(let Ke=0;Ke<Ae.length;Ke++)Se.remove(Ae[Ke])})}},deps:[G,r.K0,m.zs3],multi:!0}];class se{static init(){(0,m.VLi)(new se)}addToWindow(ie){m.dqk.getAngularTestability=(Se,Ae=!0)=>{const Ke=ie.findTestabilityInTree(Se,Ae);if(null==Ke)throw new Error("Could not find testability for element.");return Ke},m.dqk.getAllAngularTestabilities=()=>ie.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>ie.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(Se=>{const Ae=m.dqk.getAllAngularTestabilities();let Ke=Ae.length,pt=!1;const jt=function(St){pt=pt||St,Ke--,0==Ke&&Se(pt)};Ae.forEach(function(St){St.whenStable(jt)})})}findTestabilityInTree(ie,ee,Se){return null==ee?null:ie.getTestability(ee)??(Se?(0,r.q)().isShadowRoot(ee)?this.findTestabilityInTree(ie,ee.host,!0):this.findTestabilityInTree(ie,ee.parentElement,!0):null)}}let oe=(()=>{class Me{build(){return new XMLHttpRequest}}return Me.\u0275fac=function(ee){return new(ee||Me)},Me.\u0275prov=m.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const Pe=new m.OlP("EventManagerPlugins");let Te=(()=>{class Me{constructor(ee,Se){this._zone=Se,this._eventNameToPlugin=new Map,ee.forEach(Ae=>Ae.manager=this),this._plugins=ee.slice().reverse()}addEventListener(ee,Se,Ae){return this._findPluginFor(Se).addEventListener(ee,Se,Ae)}addGlobalEventListener(ee,Se,Ae){return this._findPluginFor(Se).addGlobalEventListener(ee,Se,Ae)}getZone(){return this._zone}_findPluginFor(ee){const Se=this._eventNameToPlugin.get(ee);if(Se)return Se;const Ae=this._plugins;for(let Ke=0;Ke<Ae.length;Ke++){const pt=Ae[Ke];if(pt.supports(ee))return this._eventNameToPlugin.set(ee,pt),pt}throw new Error(`No event manager plugin found for event ${ee}`)}}return Me.\u0275fac=function(ee){return new(ee||Me)(m.LFG(Pe),m.LFG(m.R0b))},Me.\u0275prov=m.Yz7({token:Me,factory:Me.\u0275fac}),Me})();class Oe{constructor(ie){this._doc=ie}addGlobalEventListener(ie,ee,Se){const Ae=(0,r.q)().getGlobalEventTarget(this._doc,ie);if(!Ae)throw new Error(`Unsupported event target ${Ae} for event ${ee}`);return this.addEventListener(Ae,ee,Se)}}let Ie=(()=>{class Me{constructor(){this._stylesSet=new Set}addStyles(ee){const Se=new Set;ee.forEach(Ae=>{this._stylesSet.has(Ae)||(this._stylesSet.add(Ae),Se.add(Ae))}),this.onStylesAdded(Se)}onStylesAdded(ee){}getAllStyles(){return Array.from(this._stylesSet)}}return Me.\u0275fac=function(ee){return new(ee||Me)},Me.\u0275prov=m.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),mt=(()=>{class Me extends Ie{constructor(ee){super(),this._doc=ee,this._hostNodes=new Map,this._hostNodes.set(ee.head,[])}_addStylesToHost(ee,Se,Ae){ee.forEach(Ke=>{const pt=this._doc.createElement("style");pt.textContent=Ke,Ae.push(Se.appendChild(pt))})}addHost(ee){const Se=[];this._addStylesToHost(this._stylesSet,ee,Se),this._hostNodes.set(ee,Se)}removeHost(ee){const Se=this._hostNodes.get(ee);Se&&Se.forEach(rt),this._hostNodes.delete(ee)}onStylesAdded(ee){this._hostNodes.forEach((Se,Ae)=>{this._addStylesToHost(ee,Ae,Se)})}ngOnDestroy(){this._hostNodes.forEach(ee=>ee.forEach(rt))}}return Me.\u0275fac=function(ee){return new(ee||Me)(m.LFG(r.K0))},Me.\u0275prov=m.Yz7({token:Me,factory:Me.\u0275fac}),Me})();function rt(Me){(0,r.q)().remove(Me)}const lt={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/"},dt=/%COMP%/g;function xe(Me,ie,ee){for(let Se=0;Se<ie.length;Se++){let Ae=ie[Se];Array.isArray(Ae)?xe(Me,Ae,ee):(Ae=Ae.replace(dt,Me),ee.push(Ae))}return ee}function nt(Me){return ie=>{if("__ngUnwrap__"===ie)return Me;!1===Me(ie)&&(ie.preventDefault(),ie.returnValue=!1)}}let Qe=(()=>{class Me{constructor(ee,Se,Ae){this.eventManager=ee,this.sharedStylesHost=Se,this.appId=Ae,this.rendererByCompId=new Map,this.defaultRenderer=new Ge(ee)}createRenderer(ee,Se){if(!ee||!Se)return this.defaultRenderer;switch(Se.encapsulation){case m.ifc.Emulated:{let Ae=this.rendererByCompId.get(Se.id);return Ae||(Ae=new hn(this.eventManager,this.sharedStylesHost,Se,this.appId),this.rendererByCompId.set(Se.id,Ae)),Ae.applyToHost(ee),Ae}case 1:case m.ifc.ShadowDom:return new Cn(this.eventManager,this.sharedStylesHost,ee,Se);default:if(!this.rendererByCompId.has(Se.id)){const Ae=xe(Se.id,Se.styles,[]);this.sharedStylesHost.addStyles(Ae),this.rendererByCompId.set(Se.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Me.\u0275fac=function(ee){return new(ee||Me)(m.LFG(Te),m.LFG(mt),m.LFG(m.AFp))},Me.\u0275prov=m.Yz7({token:Me,factory:Me.\u0275fac}),Me})();class Ge{constructor(ie){this.eventManager=ie,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ie,ee){return ee?document.createElementNS(lt[ee]||ee,ie):document.createElement(ie)}createComment(ie){return document.createComment(ie)}createText(ie){return document.createTextNode(ie)}appendChild(ie,ee){ie.appendChild(ee)}insertBefore(ie,ee,Se){ie&&ie.insertBefore(ee,Se)}removeChild(ie,ee){ie&&ie.removeChild(ee)}selectRootElement(ie,ee){let Se="string"==typeof ie?document.querySelector(ie):ie;if(!Se)throw new Error(`The selector "${ie}" did not match any elements`);return ee||(Se.textContent=""),Se}parentNode(ie){return ie.parentNode}nextSibling(ie){return ie.nextSibling}setAttribute(ie,ee,Se,Ae){if(Ae){ee=Ae+":"+ee;const Ke=lt[Ae];Ke?ie.setAttributeNS(Ke,ee,Se):ie.setAttribute(ee,Se)}else ie.setAttribute(ee,Se)}removeAttribute(ie,ee,Se){if(Se){const Ae=lt[Se];Ae?ie.removeAttributeNS(Ae,ee):ie.removeAttribute(`${Se}:${ee}`)}else ie.removeAttribute(ee)}addClass(ie,ee){ie.classList.add(ee)}removeClass(ie,ee){ie.classList.remove(ee)}setStyle(ie,ee,Se,Ae){Ae&(m.JOm.DashCase|m.JOm.Important)?ie.style.setProperty(ee,Se,Ae&m.JOm.Important?"important":""):ie.style[ee]=Se}removeStyle(ie,ee,Se){Se&m.JOm.DashCase?ie.style.removeProperty(ee):ie.style[ee]=""}setProperty(ie,ee,Se){ie[ee]=Se}setValue(ie,ee){ie.nodeValue=ee}listen(ie,ee,Se){return"string"==typeof ie?this.eventManager.addGlobalEventListener(ie,ee,nt(Se)):this.eventManager.addEventListener(ie,ee,nt(Se))}}class hn extends Ge{constructor(ie,ee,Se,Ae){super(ie),this.component=Se;const Ke=xe(Ae+"-"+Se.id,Se.styles,[]);ee.addStyles(Ke),this.contentAttr=function ve(Me){return"_ngcontent-%COMP%".replace(dt,Me)}(Ae+"-"+Se.id),this.hostAttr=function Ve(Me){return"_nghost-%COMP%".replace(dt,Me)}(Ae+"-"+Se.id)}applyToHost(ie){super.setAttribute(ie,this.hostAttr,"")}createElement(ie,ee){const Se=super.createElement(ie,ee);return super.setAttribute(Se,this.contentAttr,""),Se}}class Cn extends Ge{constructor(ie,ee,Se,Ae){super(ie),this.sharedStylesHost=ee,this.hostEl=Se,this.shadowRoot=Se.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ke=xe(Ae.id,Ae.styles,[]);for(let pt=0;pt<Ke.length;pt++){const jt=document.createElement("style");jt.textContent=Ke[pt],this.shadowRoot.appendChild(jt)}}nodeOrShadowRoot(ie){return ie===this.hostEl?this.shadowRoot:ie}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ie,ee){return super.appendChild(this.nodeOrShadowRoot(ie),ee)}insertBefore(ie,ee,Se){return super.insertBefore(this.nodeOrShadowRoot(ie),ee,Se)}removeChild(ie,ee){return super.removeChild(this.nodeOrShadowRoot(ie),ee)}parentNode(ie){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ie)))}}let _n=(()=>{class Me extends Oe{constructor(ee){super(ee)}supports(ee){return!0}addEventListener(ee,Se,Ae){return ee.addEventListener(Se,Ae,!1),()=>this.removeEventListener(ee,Se,Ae)}removeEventListener(ee,Se,Ae){return ee.removeEventListener(Se,Ae)}}return Me.\u0275fac=function(ee){return new(ee||Me)(m.LFG(r.K0))},Me.\u0275prov=m.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const Ln=["alt","control","meta","shift"],Yn={"\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"},Vt={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"},Qt={alt:Me=>Me.altKey,control:Me=>Me.ctrlKey,meta:Me=>Me.metaKey,shift:Me=>Me.shiftKey};let Fn=(()=>{class Me extends Oe{constructor(ee){super(ee)}supports(ee){return null!=Me.parseEventName(ee)}addEventListener(ee,Se,Ae){const Ke=Me.parseEventName(Se),pt=Me.eventCallback(Ke.fullKey,Ae,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(ee,Ke.domEventName,pt))}static parseEventName(ee){const Se=ee.toLowerCase().split("."),Ae=Se.shift();if(0===Se.length||"keydown"!==Ae&&"keyup"!==Ae)return null;const Ke=Me._normalizeKey(Se.pop());let pt="";if(Ln.forEach(St=>{const pn=Se.indexOf(St);pn>-1&&(Se.splice(pn,1),pt+=St+".")}),pt+=Ke,0!=Se.length||0===Ke.length)return null;const jt={};return jt.domEventName=Ae,jt.fullKey=pt,jt}static getEventFullKey(ee){let Se="",Ae=function Kt(Me){let ie=Me.key;if(null==ie){if(ie=Me.keyIdentifier,null==ie)return"Unidentified";ie.startsWith("U+")&&(ie=String.fromCharCode(parseInt(ie.substring(2),16)),3===Me.location&&Vt.hasOwnProperty(ie)&&(ie=Vt[ie]))}return Yn[ie]||ie}(ee);return Ae=Ae.toLowerCase()," "===Ae?Ae="space":"."===Ae&&(Ae="dot"),Ln.forEach(Ke=>{Ke!=Ae&&Qt[Ke](ee)&&(Se+=Ke+".")}),Se+=Ae,Se}static eventCallback(ee,Se,Ae){return Ke=>{Me.getEventFullKey(Ke)===ee&&Ae.runGuarded(()=>Se(Ke))}}static _normalizeKey(ee){return"esc"===ee?"escape":ee}}return Me.\u0275fac=function(ee){return new(ee||Me)(m.LFG(r.K0))},Me.\u0275prov=m.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const bn=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:r.bD},{provide:m.g9A,useValue:function Rn(){A.makeCurrent(),se.init()},multi:!0},{provide:r.K0,useFactory:function ur(){return(0,m.RDi)(document),document},deps:[]}]),gr=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function Sn(){return new m.qLn},deps:[]},{provide:Pe,useClass:_n,multi:!0,deps:[r.K0,m.R0b,m.Lbi]},{provide:Pe,useClass:Fn,multi:!0,deps:[r.K0]},{provide:Qe,useClass:Qe,deps:[Te,mt,m.AFp]},{provide:m.FYo,useExisting:Qe},{provide:Ie,useExisting:mt},{provide:mt,useClass:mt,deps:[r.K0]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b]},{provide:Te,useClass:Te,deps:[Pe,m.R0b]},{provide:r.JF,useClass:oe,deps:[]}];let dr=(()=>{class Me{constructor(ee){if(ee)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(ee){return{ngModule:Me,providers:[{provide:m.AFp,useValue:ee.appId},{provide:G,useExisting:m.AFp},z]}}}return Me.\u0275fac=function(ee){return new(ee||Me)(m.LFG(Me,12))},Me.\u0275mod=m.oAB({type:Me}),Me.\u0275inj=m.cJS({providers:gr,imports:[r.ez,m.hGG]}),Me})();typeof window<"u"&&window},6191:(J,F,h)=>{"use strict";h.d(F,{gz:()=>jr,F0:()=>$r,Bz:()=>ta,lC:()=>b});var r=h(6895),m=h(5062),B=h(8929),A=h(5279);class x extends B.xQ{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const l=super._subscribe(u);return l&&!l.closed&&u.next(this._value),l}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new A.N;return this._value}next(u){super.next(this._value=u)}}var R=h(2866),j=h(6688),O=h(3489);class G extends O.L{notifyNext(u,l,v,P,q){this.destination.next(l)}notifyError(u,l){this.destination.error(u)}notifyComplete(u){this.destination.complete()}}class L extends O.L{constructor(u,l,v){super(),this.parent=u,this.outerValue=l,this.outerIndex=v,this.index=0}_next(u){this.parent.notifyNext(this.outerValue,u,this.outerIndex,this.index++,this)}_error(u){this.parent.notifyError(u,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var z=h(9249),se=h(2916);function oe(g,u,l,v,P=new L(g,l,v)){if(!P.closed)return u instanceof se.y?u.subscribe(P):(0,z.s)(u)(P)}var Pe=h(3009);const Te={};class Ie{constructor(u){this.resultSelector=u}call(u,l){return l.subscribe(new mt(u,this.resultSelector))}}class mt extends G{constructor(u,l){super(u),this.resultSelector=l,this.active=0,this.values=[],this.observables=[]}_next(u){this.values.push(Te),this.observables.push(u)}_complete(){const u=this.observables,l=u.length;if(0===l)this.destination.complete();else{this.active=l,this.toRespond=l;for(let v=0;v<l;v++)this.add(oe(this,u[v],void 0,v))}}notifyComplete(u){0==(this.active-=1)&&this.destination.complete()}notifyNext(u,l,v){const P=this.values,ae=this.toRespond?P[v]===Te?--this.toRespond:this.toRespond:0;P[v]=l,0===ae&&(this.resultSelector?this._tryResultSelector(P):this.destination.next(P.slice()))}_tryResultSelector(u){let l;try{l=this.resultSelector.apply(this,u)}catch(v){return void this.destination.error(v)}this.destination.next(l)}}const lt=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})();var dt=h(5254),ke=h(8896);function Ye(g){return new se.y(u=>{let l;try{l=g()}catch(P){return void u.error(P)}return(l?(0,dt.D)(l):(0,ke.c)()).subscribe(u)})}var _e=h(1086),je=h(1737),ve=h(1221),Ve=h(1762),xe=h(4850),nt=h(1177);function _t(g,u){return"function"==typeof u?l=>l.pipe(_t((v,P)=>(0,dt.D)(g(v,P)).pipe((0,xe.U)((q,ae)=>u(v,q,P,ae))))):l=>l.lift(new Qe(g))}class Qe{constructor(u){this.project=u}call(u,l){return l.subscribe(new Ge(u,this.project))}}class Ge extends nt.Ds{constructor(u,l){super(u),this.project=l,this.index=0}_next(u){let l;const v=this.index++;try{l=this.project(u,v)}catch(P){return void this.destination.error(P)}this._innerSub(l)}_innerSub(u){const l=this.innerSubscription;l&&l.unsubscribe();const v=new nt.IY(this),P=this.destination;P.add(v),this.innerSubscription=(0,nt.ft)(u,v),this.innerSubscription!==v&&P.add(this.innerSubscription)}_complete(){const{innerSubscription:u}=this;(!u||u.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(u){this.destination.next(u)}}const Ht=(()=>{function g(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return g.prototype=Object.create(Error.prototype),g})();function hn(g){return u=>0===g?(0,ke.c)():u.lift(new Cn(g))}class Cn{constructor(u){if(this.total=u,this.total<0)throw new Ht}call(u,l){return l.subscribe(new _n(u,this.total))}}class _n extends O.L{constructor(u,l){super(u),this.total=l,this.count=0}_next(u){const l=this.total,v=++this.count;v<=l&&(this.destination.next(u),v===l&&(this.destination.complete(),this.unsubscribe()))}}function Ln(g,u){let l=!1;return arguments.length>=2&&(l=!0),function(P){return P.lift(new Nn(g,u,l))}}class Nn{constructor(u,l,v=!1){this.accumulator=u,this.seed=l,this.hasSeed=v}call(u,l){return l.subscribe(new Yn(u,this.accumulator,this.seed,this.hasSeed))}}class Yn extends O.L{constructor(u,l,v,P){super(u),this.accumulator=l,this._seed=v,this.hasSeed=P,this.index=0}get seed(){return this._seed}set seed(u){this.hasSeed=!0,this._seed=u}_next(u){if(this.hasSeed)return this._tryNext(u);this.seed=u,this.destination.next(u)}_tryNext(u){const l=this.index++;let v;try{v=this.accumulator(this.seed,u,l)}catch(P){this.destination.error(P)}this.seed=v,this.destination.next(v)}}function Vt(g){return function(l){const v=new Qt(g),P=l.lift(v);return v.caught=P}}class Qt{constructor(u){this.selector=u}call(u,l){return l.subscribe(new Fn(u,this.selector,this.caught))}}class Fn extends nt.Ds{constructor(u,l,v){super(u),this.selector=l,this.caught=v}error(u){if(!this.isStopped){let l;try{l=this.selector(u,this.caught)}catch(q){return void super.error(q)}this._unsubscribeAndRecycle();const v=new nt.IY(this);this.add(v);const P=(0,nt.ft)(l,v);P!==v&&this.add(P)}}}var Kt=h(2198);function Rn(g){return function(l){return 0===g?(0,ke.c)():l.lift(new Sn(g))}}class Sn{constructor(u){if(this.total=u,this.total<0)throw new Ht}call(u,l){return l.subscribe(new ur(u,this.total))}}class ur extends O.L{constructor(u,l){super(u),this.total=l,this.ring=new Array,this.count=0}_next(u){const l=this.ring,v=this.total,P=this.count++;l.length<v?l.push(u):l[P%v]=u}_complete(){const u=this.destination;let l=this.count;if(l>0){const v=this.count>=this.total?this.total:this.count,P=this.ring;for(let q=0;q<v;q++){const ae=l++%v;u.next(P[ae])}}u.complete()}}function Dn(g=dr){return u=>u.lift(new bn(g))}class bn{constructor(u){this.errorFactory=u}call(u,l){return l.subscribe(new gr(u,this.errorFactory))}}class gr extends O.L{constructor(u,l){super(u),this.errorFactory=l,this.hasValue=!1}_next(u){this.hasValue=!0,this.destination.next(u)}_complete(){if(this.hasValue)return this.destination.complete();{let u;try{u=this.errorFactory()}catch(l){u=l}this.destination.error(u)}}}function dr(){return new lt}function br(g=null){return u=>u.lift(new wr(g))}class wr{constructor(u){this.defaultValue=u}call(u,l){return l.subscribe(new sr(u,this.defaultValue))}}class sr extends O.L{constructor(u,l){super(u),this.defaultValue=l,this.isEmpty=!0}_next(u){this.isEmpty=!1,this.destination.next(u)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Un=h(5379);function $n(g,u){const l=arguments.length>=2;return v=>v.pipe(g?(0,Kt.h)((P,q)=>g(P,q,v)):Un.y,hn(1),l?br(u):Dn(()=>new lt))}var $t=h(2654);class Ee{constructor(u){this.callback=u}call(u,l){return l.subscribe(new be(u,this.callback))}}class be extends O.L{constructor(u,l){super(u),this.add(new $t.w(l))}}var st=h(1059),ze=h(1406),We=h(1709),ct=h(2868),En=h(4327),Xt=h(9146);class Nt{constructor(u,l){this.id=u,this.url=l}}class Qn extends Nt{constructor(u,l,v="imperative",P=null){super(u,l),this.navigationTrigger=v,this.restoredState=P}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fn extends Nt{constructor(u,l,v){super(u,l),this.urlAfterRedirects=v}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Pn extends Nt{constructor(u,l,v){super(u,l),this.reason=v}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Gt extends Nt{constructor(u,l,v){super(u,l),this.error=v}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Zt extends Nt{constructor(u,l,v,P){super(u,l),this.urlAfterRedirects=v,this.state=P}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class an extends Nt{constructor(u,l,v,P){super(u,l),this.urlAfterRedirects=v,this.state=P}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ge extends Nt{constructor(u,l,v,P,q){super(u,l),this.urlAfterRedirects=v,this.state=P,this.shouldActivate=q}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class De extends Nt{constructor(u,l,v,P){super(u,l),this.urlAfterRedirects=v,this.state=P}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fe extends Nt{constructor(u,l,v,P){super(u,l),this.urlAfterRedirects=v,this.state=P}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Re{constructor(u){this.route=u}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ue{constructor(u){this.route=u}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ft{constructor(u){this.snapshot=u}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ct{constructor(u){this.snapshot=u}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wt{constructor(u){this.snapshot=u}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lt{constructor(u){this.snapshot=u}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class At{constructor(u,l,v){this.routerEvent=u,this.position=l,this.anchor=v}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const tt="primary";class tn{constructor(u){this.params=u||{}}has(u){return Object.prototype.hasOwnProperty.call(this.params,u)}get(u){if(this.has(u)){const l=this.params[u];return Array.isArray(l)?l[0]:l}return null}getAll(u){if(this.has(u)){const l=this.params[u];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function Me(g){return new tn(g)}const ie="ngNavigationCancelingError";function ee(g){const u=Error("NavigationCancelingError: "+g);return u[ie]=!0,u}function Ae(g,u,l){const v=l.path.split("/");if(v.length>g.length||"full"===l.pathMatch&&(u.hasChildren()||v.length<g.length))return null;const P={};for(let q=0;q<v.length;q++){const ae=v[q],we=g[q];if(ae.startsWith(":"))P[ae.substring(1)]=we;else if(ae!==we.path)return null}return{consumed:g.slice(0,v.length),posParams:P}}function pt(g,u){const l=g?Object.keys(g):void 0,v=u?Object.keys(u):void 0;if(!l||!v||l.length!=v.length)return!1;let P;for(let q=0;q<l.length;q++)if(P=l[q],!jt(g[P],u[P]))return!1;return!0}function jt(g,u){if(Array.isArray(g)&&Array.isArray(u)){if(g.length!==u.length)return!1;const l=[...g].sort(),v=[...u].sort();return l.every((P,q)=>v[q]===P)}return g===u}function St(g){return Array.prototype.concat.apply([],g)}function pn(g){return g.length>0?g[g.length-1]:null}function Rt(g,u){for(const l in g)g.hasOwnProperty(l)&&u(g[l],l)}function xt(g){return(0,m.CqO)(g)?g:(0,m.QGY)(g)?(0,dt.D)(Promise.resolve(g)):(0,_e.of)(g)}const gt={exact:function Mn(g,u,l){if(!p(g.segments,u.segments)||!re(g.segments,u.segments,l)||g.numberOfChildren!==u.numberOfChildren)return!1;for(const v in u.children)if(!g.children[v]||!Mn(g.children[v],u.children[v],l))return!1;return!0},subset:Q},Ft={exact:function On(g,u){return pt(g,u)},subset:function k(g,u){return Object.keys(u).length<=Object.keys(g).length&&Object.keys(u).every(l=>jt(g[l],u[l]))},ignored:()=>!0};function Bt(g,u,l){return gt[l.paths](g.root,u.root,l.matrixParams)&&Ft[l.queryParams](g.queryParams,u.queryParams)&&!("exact"===l.fragment&&g.fragment!==u.fragment)}function Q(g,u,l){return Z(g,u,u.segments,l)}function Z(g,u,l,v){if(g.segments.length>l.length){const P=g.segments.slice(0,l.length);return!(!p(P,l)||u.hasChildren()||!re(P,l,v))}if(g.segments.length===l.length){if(!p(g.segments,l)||!re(g.segments,l,v))return!1;for(const P in u.children)if(!g.children[P]||!Q(g.children[P],u.children[P],v))return!1;return!0}{const P=l.slice(0,g.segments.length),q=l.slice(g.segments.length);return!!(p(g.segments,P)&&re(g.segments,P,v)&&g.children[tt])&&Z(g.children[tt],u,q,v)}}function re(g,u,l){return u.every((v,P)=>Ft[l](g[P].parameters,v.parameters))}class Ce{constructor(u,l,v){this.root=u,this.queryParams=l,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Me(this.queryParams)),this._queryParamMap}toString(){return de.serialize(this)}}class ue{constructor(u,l){this.segments=u,this.children=l,this.parent=null,Rt(l,(v,P)=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ne(this)}}class w{constructor(u,l){this.path=u,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=Me(this.parameters)),this._parameterMap}toString(){return rn(this)}}function p(g,u){return g.length===u.length&&g.every((l,v)=>l.path===u[v].path)}class le{}class he{parse(u){const l=new ni(u);return new Ce(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(u){const l=`/${ut(u.root,!0)}`,v=function Zn(g){const u=Object.keys(g).map(l=>{const v=g[l];return Array.isArray(v)?v.map(P=>`${It(l)}=${It(P)}`).join("&"):`${It(l)}=${It(v)}`}).filter(l=>!!l);return u.length?`?${u.join("&")}`:""}(u.queryParams);return`${l}${v}${"string"==typeof u.fragment?`#${function yt(g){return encodeURI(g)}(u.fragment)}`:""}`}}const de=new he;function Ne(g){return g.segments.map(u=>rn(u)).join("/")}function ut(g,u){if(!g.hasChildren())return Ne(g);if(u){const l=g.children[tt]?ut(g.children[tt],!1):"",v=[];return Rt(g.children,(P,q)=>{q!==tt&&v.push(`${q}:${ut(P,!1)}`)}),v.length>0?`${l}(${v.join("//")})`:l}{const l=function U(g,u){let l=[];return Rt(g.children,(v,P)=>{P===tt&&(l=l.concat(u(v,P)))}),Rt(g.children,(v,P)=>{P!==tt&&(l=l.concat(u(v,P)))}),l}(g,(v,P)=>P===tt?[ut(g.children[tt],!1)]:[`${P}:${ut(v,!1)}`]);return 1===Object.keys(g.children).length&&null!=g.children[tt]?`${Ne(g)}/${l[0]}`:`${Ne(g)}/(${l.join("//")})`}}function Mt(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function It(g){return Mt(g).replace(/%3B/gi,";")}function Et(g){return Mt(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qt(g){return decodeURIComponent(g)}function cn(g){return qt(g.replace(/\+/g,"%20"))}function rn(g){return`${Et(g.path)}${function Kn(g){return Object.keys(g).map(u=>`;${Et(u)}=${Et(g[u])}`).join("")}(g.parameters)}`}const or=/^[^\/()?;=#]+/;function Fr(g){const u=g.match(or);return u?u[0]:""}const si=/^[^=?&#]+/,Er=/^[^&#]+/;class ni{constructor(u){this.url=u,this.remaining=u}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ue([],{}):new ue([],this.parseChildren())}parseQueryParams(){const u={};if(this.consumeOptional("?"))do{this.parseQueryParam(u)}while(this.consumeOptional("&"));return u}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const u=[];for(this.peekStartsWith("(")||u.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),u.push(this.parseSegment());let l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(u.length>0||Object.keys(l).length>0)&&(v[tt]=new ue(u,l)),v}parseSegment(){const u=Fr(this.remaining);if(""===u&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(u),new w(qt(u),this.parseMatrixParams())}parseMatrixParams(){const u={};for(;this.consumeOptional(";");)this.parseParam(u);return u}parseParam(u){const l=Fr(this.remaining);if(!l)return;this.capture(l);let v="";if(this.consumeOptional("=")){const P=Fr(this.remaining);P&&(v=P,this.capture(v))}u[qt(l)]=qt(v)}parseQueryParam(u){const l=function Jn(g){const u=g.match(si);return u?u[0]:""}(this.remaining);if(!l)return;this.capture(l);let v="";if(this.consumeOptional("=")){const ae=function Pr(g){const u=g.match(Er);return u?u[0]:""}(this.remaining);ae&&(v=ae,this.capture(v))}const P=cn(l),q=cn(v);if(u.hasOwnProperty(P)){let ae=u[P];Array.isArray(ae)||(ae=[ae],u[P]=ae),ae.push(q)}else u[P]=q}parseParens(u){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Fr(this.remaining),P=this.remaining[v.length];if("/"!==P&&")"!==P&&";"!==P)throw new Error(`Cannot parse url '${this.url}'`);let q;v.indexOf(":")>-1?(q=v.substr(0,v.indexOf(":")),this.capture(q),this.capture(":")):u&&(q=tt);const ae=this.parseChildren();l[q]=1===Object.keys(ae).length?ae[tt]:new ue([],ae),this.consumeOptional("//")}return l}peekStartsWith(u){return this.remaining.startsWith(u)}consumeOptional(u){return!!this.peekStartsWith(u)&&(this.remaining=this.remaining.substring(u.length),!0)}capture(u){if(!this.consumeOptional(u))throw new Error(`Expected "${u}".`)}}class Ar{constructor(u){this._root=u}get root(){return this._root.value}parent(u){const l=this.pathFromRoot(u);return l.length>1?l[l.length-2]:null}children(u){const l=Br(u,this._root);return l?l.children.map(v=>v.value):[]}firstChild(u){const l=Br(u,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(u){const l=Qr(u,this._root);return l.length<2?[]:l[l.length-2].children.map(P=>P.value).filter(P=>P!==u)}pathFromRoot(u){return Qr(u,this._root).map(l=>l.value)}}function Br(g,u){if(g===u.value)return u;for(const l of u.children){const v=Br(g,l);if(v)return v}return null}function Qr(g,u){if(g===u.value)return[u];for(const l of u.children){const v=Qr(g,l);if(v.length)return v.unshift(u),v}return[]}class mr{constructor(u,l){this.value=u,this.children=l}toString(){return`TreeNode(${this.value})`}}function _r(g){const u={};return g&&g.children.forEach(l=>u[l.value.outlet]=l),u}class rr extends Ar{constructor(u,l){super(u),this.snapshot=l,Ei(this,u)}toString(){return this.snapshot.toString()}}function wi(g,u){const l=function gi(g,u){const ae=new Kr([],{},{},"",{},tt,u,null,g.root,-1,{});return new ai("",new mr(ae,[]))}(g,u),v=new x([new w("",{})]),P=new x({}),q=new x({}),ae=new x({}),we=new x(""),et=new jr(v,P,ae,we,q,tt,u,l.root);return et.snapshot=l.root,new rr(new mr(et,[]),l)}class jr{constructor(u,l,v,P,q,ae,we,et){this.url=u,this.params=l,this.queryParams=v,this.fragment=P,this.data=q,this.outlet=ae,this.component=we,this._futureSnapshot=et}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,xe.U)(u=>Me(u)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,xe.U)(u=>Me(u)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function oi(g,u="emptyOnly"){const l=g.pathFromRoot;let v=0;if("always"!==u)for(v=l.length-1;v>=1;){const P=l[v],q=l[v-1];if(P.routeConfig&&""===P.routeConfig.path)v--;else{if(q.component)break;v--}}return function mi(g){return g.reduce((u,l)=>({params:{...u.params,...l.params},data:{...u.data,...l.data},resolve:{...u.resolve,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(v))}class Kr{constructor(u,l,v,P,q,ae,we,et,Dt,Hn,sn){this.url=u,this.params=l,this.queryParams=v,this.fragment=P,this.data=q,this.outlet=ae,this.component=we,this.routeConfig=et,this._urlSegment=Dt,this._lastPathIndex=Hn,this._resolve=sn}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=Me(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Me(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ai extends Ar{constructor(u,l){super(l),this.url=u,Ei(this,l)}toString(){return _i(this._root)}}function Ei(g,u){u.value._routerState=g,u.children.forEach(l=>Ei(g,l))}function _i(g){const u=g.children.length>0?` { ${g.children.map(_i).join(", ")} } `:"";return`${g.value}${u}`}function I(g){if(g.snapshot){const u=g.snapshot,l=g._futureSnapshot;g.snapshot=l,pt(u.queryParams,l.queryParams)||g.queryParams.next(l.queryParams),u.fragment!==l.fragment&&g.fragment.next(l.fragment),pt(u.params,l.params)||g.params.next(l.params),function Ke(g,u){if(g.length!==u.length)return!1;for(let l=0;l<g.length;++l)if(!pt(g[l],u[l]))return!1;return!0}(u.url,l.url)||g.url.next(l.url),pt(u.data,l.data)||g.data.next(l.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function me(g,u){const l=pt(g.params,u.params)&&function S(g,u){return p(g,u)&&g.every((l,v)=>pt(l.parameters,u[v].parameters))}(g.url,u.url);return l&&!(!g.parent!=!u.parent)&&(!g.parent||me(g.parent,u.parent))}function te(g,u,l){if(l&&g.shouldReuseRoute(u.value,l.value.snapshot)){const v=l.value;v._futureSnapshot=u.value;const P=function Xe(g,u,l){return u.children.map(v=>{for(const P of l.children)if(g.shouldReuseRoute(v.value,P.value.snapshot))return te(g,v,P);return te(g,v)})}(g,u,l);return new mr(v,P)}{if(g.shouldAttach(u.value)){const q=g.retrieve(u.value);if(null!==q){const ae=q.route;return ae.value._futureSnapshot=u.value,ae.children=u.children.map(we=>te(g,we)),ae}}const v=function Ot(g){return new jr(new x(g.url),new x(g.params),new x(g.queryParams),new x(g.fragment),new x(g.data),g.outlet,g.component,g)}(u.value),P=u.children.map(q=>te(g,q));return new mr(v,P)}}function yr(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function Vn(g){return"object"==typeof g&&null!=g&&g.outlets}function Ur(g,u,l,v,P){let q={};if(v&&Rt(v,(we,et)=>{q[et]=Array.isArray(we)?we.map(Dt=>`${Dt}`):`${we}`}),g===u)return new Ce(l,q,P);const ae=Bi(g,u,l);return new Ce(ae,q,P)}function Bi(g,u,l){const v={};return Rt(g.children,(P,q)=>{v[q]=P===u?l:Bi(P,u,l)}),new ue(g.segments,v)}class Di{constructor(u,l,v){if(this.isAbsolute=u,this.numberOfDoubleDots=l,this.commands=v,u&&v.length>0&&yr(v[0]))throw new Error("Root segment cannot have matrix parameters");const P=v.find(Vn);if(P&&P!==pn(v))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yi{constructor(u,l,v){this.segmentGroup=u,this.processChildren=l,this.index=v}}function hr(g,u,l){if(g||(g=new ue([],{})),0===g.segments.length&&g.hasChildren())return Wr(g,u,l);const v=function vi(g,u,l){let v=0,P=u;const q={match:!1,pathIndex:0,commandIndex:0};for(;P<g.segments.length;){if(v>=l.length)return q;const ae=g.segments[P],we=l[v];if(Vn(we))break;const et=`${we}`,Dt=v<l.length-1?l[v+1]:null;if(P>0&&void 0===et)break;if(et&&Dt&&"object"==typeof Dt&&void 0===Dt.outlets){if(!D(et,Dt,ae))return q;v+=2}else{if(!D(et,{},ae))return q;v++}P++}return{match:!0,pathIndex:P,commandIndex:v}}(g,u,l),P=l.slice(v.commandIndex);if(v.match&&v.pathIndex<g.segments.length){const q=new ue(g.segments.slice(0,v.pathIndex),{});return q.children[tt]=new ue(g.segments.slice(v.pathIndex),g.children),Wr(q,0,P)}return v.match&&0===P.length?new ue(g.segments,{}):v.match&&!g.hasChildren()?ri(g,u,l):v.match?Wr(g,0,P):ri(g,u,l)}function Wr(g,u,l){if(0===l.length)return new ue(g.segments,{});{const v=function Mi(g){return Vn(g[0])?g[0].outlets:{[tt]:g}}(l),P={};return Rt(v,(q,ae)=>{"string"==typeof q&&(q=[q]),null!==q&&(P[ae]=hr(g.children[ae],u,q))}),Rt(g.children,(q,ae)=>{void 0===v[ae]&&(P[ae]=q)}),new ue(g.segments,P)}}function ri(g,u,l){const v=g.segments.slice(0,u);let P=0;for(;P<l.length;){const q=l[P];if(Vn(q)){const et=ji(q.outlets);return new ue(v,et)}if(0===P&&yr(l[0])){v.push(new w(g.segments[u].path,Ti(l[0]))),P++;continue}const ae=Vn(q)?q.outlets[tt]:`${q}`,we=P<l.length-1?l[P+1]:null;ae&&we&&yr(we)?(v.push(new w(ae,Ti(we))),P+=2):(v.push(new w(ae,{})),P++)}return new ue(v,{})}function ji(g){const u={};return Rt(g,(l,v)=>{"string"==typeof l&&(l=[l]),null!==l&&(u[v]=ri(new ue([],{}),0,l))}),u}function Ti(g){const u={};return Rt(g,(l,v)=>u[v]=`${l}`),u}function D(g,u,l){return g==l.path&&pt(u,l.parameters)}class T{constructor(u,l,v,P){this.routeReuseStrategy=u,this.futureState=l,this.currState=v,this.forwardEvent=P}activate(u){const l=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,v,u),I(this.futureState.root),this.activateChildRoutes(l,v,u)}deactivateChildRoutes(u,l,v){const P=_r(l);u.children.forEach(q=>{const ae=q.value.outlet;this.deactivateRoutes(q,P[ae],v),delete P[ae]}),Rt(P,(q,ae)=>{this.deactivateRouteAndItsChildren(q,v)})}deactivateRoutes(u,l,v){const P=u.value,q=l?l.value:null;if(P===q)if(P.component){const ae=v.getContext(P.outlet);ae&&this.deactivateChildRoutes(u,l,ae.children)}else this.deactivateChildRoutes(u,l,v);else q&&this.deactivateRouteAndItsChildren(l,v)}deactivateRouteAndItsChildren(u,l){u.value.component&&this.routeReuseStrategy.shouldDetach(u.value.snapshot)?this.detachAndStoreRouteSubtree(u,l):this.deactivateRouteAndOutlet(u,l)}detachAndStoreRouteSubtree(u,l){const v=l.getContext(u.value.outlet),P=v&&u.value.component?v.children:l,q=_r(u);for(const ae of Object.keys(q))this.deactivateRouteAndItsChildren(q[ae],P);if(v&&v.outlet){const ae=v.outlet.detach(),we=v.children.onOutletDeactivated();this.routeReuseStrategy.store(u.value.snapshot,{componentRef:ae,route:u,contexts:we})}}deactivateRouteAndOutlet(u,l){const v=l.getContext(u.value.outlet),P=v&&u.value.component?v.children:l,q=_r(u);for(const ae of Object.keys(q))this.deactivateRouteAndItsChildren(q[ae],P);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(u,l,v){const P=_r(l);u.children.forEach(q=>{this.activateRoutes(q,P[q.value.outlet],v),this.forwardEvent(new Lt(q.value.snapshot))}),u.children.length&&this.forwardEvent(new Ct(u.value.snapshot))}activateRoutes(u,l,v){const P=u.value,q=l?l.value:null;if(I(P),P===q)if(P.component){const ae=v.getOrCreateContext(P.outlet);this.activateChildRoutes(u,l,ae.children)}else this.activateChildRoutes(u,l,v);else if(P.component){const ae=v.getOrCreateContext(P.outlet);if(this.routeReuseStrategy.shouldAttach(P.snapshot)){const we=this.routeReuseStrategy.retrieve(P.snapshot);this.routeReuseStrategy.store(P.snapshot,null),ae.children.onOutletReAttached(we.contexts),ae.attachRef=we.componentRef,ae.route=we.route.value,ae.outlet&&ae.outlet.attach(we.componentRef,we.route.value),I(we.route.value),this.activateChildRoutes(u,null,ae.children)}else{const we=function K(g){for(let u=g.parent;u;u=u.parent){const l=u.routeConfig;if(l&&l._loadedConfig)return l._loadedConfig;if(l&&l.component)return null}return null}(P.snapshot),et=we?we.module.componentFactoryResolver:null;ae.attachRef=null,ae.route=P,ae.resolver=et,ae.outlet&&ae.outlet.activateWith(P,et),this.activateChildRoutes(u,null,ae.children)}}else this.activateChildRoutes(u,null,v)}}class pe{constructor(u,l){this.routes=u,this.module=l}}function He(g){return"function"==typeof g}function vt(g){return g instanceof Ce}const tr=Symbol("INITIAL_VALUE");function kn(){return _t(g=>function Oe(...g){let u,l;return(0,R.K)(g[g.length-1])&&(l=g.pop()),"function"==typeof g[g.length-1]&&(u=g.pop()),1===g.length&&(0,j.k)(g[0])&&(g=g[0]),(0,Pe.n)(g,l).lift(new Ie(u))}(g.map(u=>u.pipe(hn(1),(0,st.O)(tr)))).pipe(Ln((u,l)=>{let v=!1;return l.reduce((P,q,ae)=>P!==tr?P:(q===tr&&(v=!0),v||!1!==q&&ae!==l.length-1&&!vt(q)?P:q),u)},tr),(0,Kt.h)(u=>u!==tr),(0,xe.U)(u=>vt(u)?u:!0===u),hn(1)))}class ar{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new M,this.attachRef=null}}class M{constructor(){this.contexts=new Map}onChildOutletCreated(u,l){const v=this.getOrCreateContext(u);v.outlet=l,this.contexts.set(u,v)}onChildOutletDestroyed(u){const l=this.getContext(u);l&&(l.outlet=null,l.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let l=this.getContext(u);return l||(l=new ar,this.contexts.set(u,l)),l}getContext(u){return this.contexts.get(u)||null}}let b=(()=>{class g{constructor(l,v,P,q,ae){this.parentContexts=l,this.location=v,this.resolver=P,this.changeDetector=ae,this.activated=null,this._activatedRoute=null,this.activateEvents=new m.vpe,this.deactivateEvents=new m.vpe,this.attachEvents=new m.vpe,this.detachEvents=new m.vpe,this.name=q||tt,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.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 l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,v){this.activated=l,this._activatedRoute=v,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,v){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=l;const ae=(v=v||this.resolver).resolveComponentFactory(l._futureSnapshot.routeConfig.component),we=this.parentContexts.getOrCreateContext(this.name).children,et=new y(l,we,this.location.injector);this.activated=this.location.createComponent(ae,this.location.length,et),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.\u0275fac=function(l){return new(l||g)(m.Y36(M),m.Y36(m.s_b),m.Y36(m._Vd),m.$8M("name"),m.Y36(m.sBO))},g.\u0275dir=m.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),g})();class y{constructor(u,l,v){this.route=u,this.childContexts=l,this.parent=v}get(u,l){return u===jr?this.route:u===M?this.childContexts:this.parent.get(u,l)}}let Y=(()=>{class g{}return g.\u0275fac=function(l){return new(l||g)},g.\u0275cmp=m.Xpm({type:g,selectors:[["ng-component"]],decls:1,vars:0,template:function(l,v){1&l&&m._UZ(0,"router-outlet")},directives:[b],encapsulation:2}),g})();function $e(g,u=""){for(let l=0;l<g.length;l++){const v=g[l];Ut(v,zn(u,v))}}function Ut(g,u){g.children&&$e(g.children,u)}function zn(g,u){return u?g||u.path?g&&!u.path?`${g}/`:!g&&u.path?u.path:`${g}/${u.path}`:"":g}function Jt(g){const u=g.children&&g.children.map(Jt),l=u?{...g,children:u}:{...g};return!l.component&&(u||l.loadChildren)&&l.outlet&&l.outlet!==tt&&(l.component=Y),l}function Dr(g){return g.outlet||tt}function Ui(g,u){const l=g.filter(v=>Dr(v)===u);return l.push(...g.filter(v=>Dr(v)!==u)),l}const ns={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rs(g,u,l){if(""===u.path)return"full"===u.pathMatch&&(g.hasChildren()||l.length>0)?{...ns}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const P=(u.matcher||Ae)(l,g,u);if(!P)return{...ns};const q={};Rt(P.posParams,(we,et)=>{q[et]=we.path});const ae=P.consumed.length>0?{...q,...P.consumed[P.consumed.length-1].parameters}:q;return{matched:!0,consumedSegments:P.consumed,remainingSegments:l.slice(P.consumed.length),parameters:ae,positionalParamSegments:P.posParams??{}}}function cs(g,u,l,v,P="corrected"){if(l.length>0&&function uo(g,u,l){return l.some(v=>An(g,u,v)&&Dr(v)!==tt)}(g,l,v)){const ae=new ue(u,function co(g,u,l,v){const P={};P[tt]=v,v._sourceSegment=g,v._segmentIndexShift=u.length;for(const q of l)if(""===q.path&&Dr(q)!==tt){const ae=new ue([],{});ae._sourceSegment=g,ae._segmentIndexShift=u.length,P[Dr(q)]=ae}return P}(g,u,v,new ue(l,g.children)));return ae._sourceSegment=g,ae._segmentIndexShift=u.length,{segmentGroup:ae,slicedSegments:[]}}if(0===l.length&&function ht(g,u,l){return l.some(v=>An(g,u,v))}(g,l,v)){const ae=new ue(g.segments,function ms(g,u,l,v,P,q){const ae={};for(const we of v)if(An(g,l,we)&&!P[Dr(we)]){const et=new ue([],{});et._sourceSegment=g,et._segmentIndexShift="legacy"===q?g.segments.length:u.length,ae[Dr(we)]=et}return{...P,...ae}}(g,u,l,v,g.children,P));return ae._sourceSegment=g,ae._segmentIndexShift=u.length,{segmentGroup:ae,slicedSegments:l}}const q=new ue(g.segments,g.children);return q._sourceSegment=g,q._segmentIndexShift=u.length,{segmentGroup:q,slicedSegments:l}}function An(g,u,l){return(!(g.hasChildren()||u.length>0)||"full"!==l.pathMatch)&&""===l.path}function _s(g,u,l,v){return!!(Dr(g)===v||v!==tt&&An(u,l,g))&&("**"===g.path||rs(u,g,l).matched)}function vr(g,u,l){return 0===u.length&&!g.children[l]}class Hi{constructor(u){this.segmentGroup=u||null}}class Si{constructor(u){this.urlTree=u}}function kr(g){return(0,je._)(new Hi(g))}function us(g){return(0,je._)(new Si(g))}class c{constructor(u,l,v,P,q){this.configLoader=l,this.urlSerializer=v,this.urlTree=P,this.config=q,this.allowRedirects=!0,this.ngModule=u.get(m.h0i)}apply(){const u=cs(this.urlTree.root,[],[],this.config).segmentGroup,l=new ue(u.segments,u.children);return this.expandSegmentGroup(this.ngModule,this.config,l,tt).pipe((0,xe.U)(q=>this.createUrlTree(C(q),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Vt(q=>{if(q instanceof Si)return this.allowRedirects=!1,this.match(q.urlTree);throw q instanceof Hi?this.noMatchError(q):q}))}match(u){return this.expandSegmentGroup(this.ngModule,this.config,u.root,tt).pipe((0,xe.U)(P=>this.createUrlTree(C(P),u.queryParams,u.fragment))).pipe(Vt(P=>{throw P instanceof Hi?this.noMatchError(P):P}))}noMatchError(u){return new Error(`Cannot match any routes. URL Segment: '${u.segmentGroup}'`)}createUrlTree(u,l,v){const P=u.segments.length>0?new ue([],{[tt]:u}):u;return new Ce(P,l,v)}expandSegmentGroup(u,l,v,P){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(u,l,v).pipe((0,xe.U)(q=>new ue([],q))):this.expandSegment(u,v,l,v.segments,P,!0)}expandChildren(u,l,v){const P=[];for(const q of Object.keys(v.children))"primary"===q?P.unshift(q):P.push(q);return(0,dt.D)(P).pipe((0,ze.b)(q=>{const ae=v.children[q],we=Ui(l,q);return this.expandSegmentGroup(u,we,ae,q).pipe((0,xe.U)(et=>({segment:et,outlet:q})))}),Ln((q,ae)=>(q[ae.outlet]=ae.segment,q),{}),function mn(g,u){const l=arguments.length>=2;return v=>v.pipe(g?(0,Kt.h)((P,q)=>g(P,q,v)):Un.y,Rn(1),l?br(u):Dn(()=>new lt))}())}expandSegment(u,l,v,P,q,ae){return(0,dt.D)(v).pipe((0,ze.b)(we=>this.expandSegmentAgainstRoute(u,l,v,we,P,q,ae).pipe(Vt(Dt=>{if(Dt instanceof Hi)return(0,_e.of)(null);throw Dt}))),$n(we=>!!we),Vt((we,et)=>{if(we instanceof lt||"EmptyError"===we.name)return vr(l,P,q)?(0,_e.of)(new ue([],{})):kr(l);throw we}))}expandSegmentAgainstRoute(u,l,v,P,q,ae,we){return _s(P,l,q,ae)?void 0===P.redirectTo?this.matchSegmentAgainstRoute(u,l,P,q,ae):we&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(u,l,v,P,q,ae):kr(l):kr(l)}expandSegmentAgainstRouteUsingRedirect(u,l,v,P,q,ae){return"**"===P.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(u,v,P,ae):this.expandRegularSegmentAgainstRouteUsingRedirect(u,l,v,P,q,ae)}expandWildCardWithParamsAgainstRouteUsingRedirect(u,l,v,P){const q=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?us(q):this.lineralizeSegments(v,q).pipe((0,We.zg)(ae=>{const we=new ue(ae,{});return this.expandSegment(u,we,l,ae,P,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(u,l,v,P,q,ae){const{matched:we,consumedSegments:et,remainingSegments:Dt,positionalParamSegments:Hn}=rs(l,P,q);if(!we)return kr(l);const sn=this.applyRedirectCommands(et,P.redirectTo,Hn);return P.redirectTo.startsWith("/")?us(sn):this.lineralizeSegments(P,sn).pipe((0,We.zg)(nr=>this.expandSegment(u,l,v,nr.concat(Dt),ae,!1)))}matchSegmentAgainstRoute(u,l,v,P,q){if("**"===v.path)return v.loadChildren?(v._loadedConfig?(0,_e.of)(v._loadedConfig):this.configLoader.load(u.injector,v)).pipe((0,xe.U)(sn=>(v._loadedConfig=sn,new ue(P,{})))):(0,_e.of)(new ue(P,{}));const{matched:ae,consumedSegments:we,remainingSegments:et}=rs(l,v,P);return ae?this.getChildConfig(u,v,P).pipe((0,We.zg)(Hn=>{const sn=Hn.module,nr=Hn.routes,{segmentGroup:cr,slicedSegments:Is}=cs(l,we,et,nr),Ns=new ue(cr.segments,cr.children);if(0===Is.length&&Ns.hasChildren())return this.expandChildren(sn,nr,Ns).pipe((0,xe.U)(Or=>new ue(we,Or)));if(0===nr.length&&0===Is.length)return(0,_e.of)(new ue(we,{}));const ua=Dr(v)===q;return this.expandSegment(sn,Ns,nr,Is,ua?tt:q,!0).pipe((0,xe.U)(Fs=>new ue(we.concat(Fs.segments),Fs.children)))})):kr(l)}getChildConfig(u,l,v){return l.children?(0,_e.of)(new pe(l.children,u)):l.loadChildren?void 0!==l._loadedConfig?(0,_e.of)(l._loadedConfig):this.runCanLoadGuards(u.injector,l,v).pipe((0,We.zg)(P=>P?this.configLoader.load(u.injector,l).pipe((0,xe.U)(q=>(l._loadedConfig=q,q))):function el(g){return(0,je._)(ee(`Cannot load children because the guard of the route "path: '${g.path}'" returned false`))}(l))):(0,_e.of)(new pe([],u))}runCanLoadGuards(u,l,v){const P=l.canLoad;if(!P||0===P.length)return(0,_e.of)(!0);const q=P.map(ae=>{const we=u.get(ae);let et;if(function qn(g){return g&&He(g.canLoad)}(we))et=we.canLoad(l,v);else{if(!He(we))throw new Error("Invalid CanLoad guard");et=we(l,v)}return xt(et)});return(0,_e.of)(q).pipe(kn(),(0,ct.b)(ae=>{if(!vt(ae))return;const we=ee(`Redirecting to "${this.urlSerializer.serialize(ae)}"`);throw we.url=ae,we}),(0,xe.U)(ae=>!0===ae))}lineralizeSegments(u,l){let v=[],P=l.root;for(;;){if(v=v.concat(P.segments),0===P.numberOfChildren)return(0,_e.of)(v);if(P.numberOfChildren>1||!P.children[tt])return(0,je._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${u.redirectTo}'`));P=P.children[tt]}}applyRedirectCommands(u,l,v){return this.applyRedirectCreatreUrlTree(l,this.urlSerializer.parse(l),u,v)}applyRedirectCreatreUrlTree(u,l,v,P){const q=this.createSegmentGroup(u,l.root,v,P);return new Ce(q,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(u,l){const v={};return Rt(u,(P,q)=>{if("string"==typeof P&&P.startsWith(":")){const we=P.substring(1);v[q]=l[we]}else v[q]=P}),v}createSegmentGroup(u,l,v,P){const q=this.createSegments(u,l.segments,v,P);let ae={};return Rt(l.children,(we,et)=>{ae[et]=this.createSegmentGroup(u,we,v,P)}),new ue(q,ae)}createSegments(u,l,v,P){return l.map(q=>q.path.startsWith(":")?this.findPosParam(u,q,P):this.findOrReturn(q,v))}findPosParam(u,l,v){const P=v[l.path.substring(1)];if(!P)throw new Error(`Cannot redirect to '${u}'. Cannot find '${l.path}'.`);return P}findOrReturn(u,l){let v=0;for(const P of l){if(P.path===u.path)return l.splice(v),P;v++}return u}}function C(g){const u={};for(const v of Object.keys(g.children)){const q=C(g.children[v]);(q.segments.length>0||q.hasChildren())&&(u[v]=q)}return function d(g){if(1===g.numberOfChildren&&g.children[tt]){const u=g.children[tt];return new ue(g.segments.concat(u.segments),u.children)}return g}(new ue(g.segments,u))}class X{constructor(u){this.path=u,this.route=this.path[this.path.length-1]}}class ce{constructor(u,l){this.component=u,this.route=l}}function fe(g,u,l){const v=g._root;return Wt(v,u?u._root:null,l,[v.value])}function qe(g,u,l){const v=function kt(g){if(!g)return null;for(let u=g.parent;u;u=u.parent){const l=u.routeConfig;if(l&&l._loadedConfig)return l._loadedConfig}return null}(u);return(v?v.module.injector:l).get(g)}function Wt(g,u,l,v,P={canDeactivateChecks:[],canActivateChecks:[]}){const q=_r(u);return g.children.forEach(ae=>{(function gn(g,u,l,v,P={canDeactivateChecks:[],canActivateChecks:[]}){const q=g.value,ae=u?u.value:null,we=l?l.getContext(g.value.outlet):null;if(ae&&q.routeConfig===ae.routeConfig){const et=function xn(g,u,l){if("function"==typeof l)return l(g,u);switch(l){case"pathParamsChange":return!p(g.url,u.url);case"pathParamsOrQueryParamsChange":return!p(g.url,u.url)||!pt(g.queryParams,u.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!me(g,u)||!pt(g.queryParams,u.queryParams);default:return!me(g,u)}}(ae,q,q.routeConfig.runGuardsAndResolvers);et?P.canActivateChecks.push(new X(v)):(q.data=ae.data,q._resolvedData=ae._resolvedData),Wt(g,u,q.component?we?we.children:null:l,v,P),et&&we&&we.outlet&&we.outlet.isActivated&&P.canDeactivateChecks.push(new ce(we.outlet.component,ae))}else ae&&en(u,we,P),P.canActivateChecks.push(new X(v)),Wt(g,null,q.component?we?we.children:null:l,v,P)})(ae,q[ae.value.outlet],l,v.concat([ae.value]),P),delete q[ae.value.outlet]}),Rt(q,(ae,we)=>en(ae,l.getContext(we),P)),P}function en(g,u,l){const v=_r(g),P=g.value;Rt(v,(q,ae)=>{en(q,P.component?u?u.children.getContext(ae):null:u,l)}),l.canDeactivateChecks.push(new ce(P.component&&u&&u.outlet&&u.outlet.isActivated?u.outlet.component:null,P))}class Tr{}function ii(g){return new se.y(u=>u.error(g))}class lr{constructor(u,l,v,P,q,ae){this.rootComponentType=u,this.config=l,this.urlTree=v,this.url=P,this.paramsInheritanceStrategy=q,this.relativeLinkResolution=ae}recognize(){const u=cs(this.urlTree.root,[],[],this.config.filter(ae=>void 0===ae.redirectTo),this.relativeLinkResolution).segmentGroup,l=this.processSegmentGroup(this.config,u,tt);if(null===l)return null;const v=new Kr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,this.urlTree.root,-1,{}),P=new mr(v,l),q=new ai(this.url,P);return this.inheritParamsAndData(q._root),q}inheritParamsAndData(u){const l=u.value,v=oi(l,this.paramsInheritanceStrategy);l.params=Object.freeze(v.params),l.data=Object.freeze(v.data),u.children.forEach(P=>this.inheritParamsAndData(P))}processSegmentGroup(u,l,v){return 0===l.segments.length&&l.hasChildren()?this.processChildren(u,l):this.processSegment(u,l,l.segments,v)}processChildren(u,l){const v=[];for(const q of Object.keys(l.children)){const ae=l.children[q],we=Ui(u,q),et=this.processSegmentGroup(we,ae,q);if(null===et)return null;v.push(...et)}const P=vs(v);return function ci(g){g.sort((u,l)=>u.value.outlet===tt?-1:l.value.outlet===tt?1:u.value.outlet.localeCompare(l.value.outlet))}(P),P}processSegment(u,l,v,P){for(const q of u){const ae=this.processSegmentAgainstRoute(q,l,v,P);if(null!==ae)return ae}return vr(l,v,P)?[]:null}processSegmentAgainstRoute(u,l,v,P){if(u.redirectTo||!_s(u,l,v,P))return null;let q,ae=[],we=[];if("**"===u.path){const cr=v.length>0?pn(v).parameters:{};q=new Kr(v,cr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ln(u),Dr(u),u.component,u,zt(l),nn(l)+v.length,In(u))}else{const cr=rs(l,u,v);if(!cr.matched)return null;ae=cr.consumedSegments,we=cr.remainingSegments,q=new Kr(ae,cr.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ln(u),Dr(u),u.component,u,zt(l),nn(l)+ae.length,In(u))}const et=function Xn(g){return g.children?g.children:g.loadChildren?g._loadedConfig.routes:[]}(u),{segmentGroup:Dt,slicedSegments:Hn}=cs(l,ae,we,et.filter(cr=>void 0===cr.redirectTo),this.relativeLinkResolution);if(0===Hn.length&&Dt.hasChildren()){const cr=this.processChildren(et,Dt);return null===cr?null:[new mr(q,cr)]}if(0===et.length&&0===Hn.length)return[new mr(q,[])];const sn=Dr(u)===P,nr=this.processSegment(et,Dt,Hn,sn?tt:P);return null===nr?null:[new mr(q,nr)]}}function xi(g){const u=g.value.routeConfig;return u&&""===u.path&&void 0===u.redirectTo}function vs(g){const u=[],l=new Set;for(const v of g){if(!xi(v)){u.push(v);continue}const P=u.find(q=>v.value.routeConfig===q.value.routeConfig);void 0!==P?(P.children.push(...v.children),l.add(P)):u.push(v)}for(const v of l){const P=vs(v.children);u.push(new mr(v.value,P))}return u.filter(v=>!l.has(v))}function zt(g){let u=g;for(;u._sourceSegment;)u=u._sourceSegment;return u}function nn(g){let u=g,l=u._segmentIndexShift?u._segmentIndexShift:0;for(;u._sourceSegment;)u=u._sourceSegment,l+=u._segmentIndexShift?u._segmentIndexShift:0;return l-1}function ln(g){return g.data||{}}function In(g){return g.resolve||{}}function ir(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}function Oi(g){return _t(u=>{const l=g(u);return l?(0,dt.D)(l).pipe((0,xe.U)(()=>u)):(0,_e.of)(u)})}class Yr extends class Ai{shouldDetach(u){return!1}store(u,l){}shouldAttach(u){return!1}retrieve(u){return null}shouldReuseRoute(u,l){return u.routeConfig===l.routeConfig}}{}const Xr=new m.OlP("ROUTES");class ds{constructor(u,l,v,P){this.injector=u,this.compiler=l,this.onLoadStartListener=v,this.onLoadEndListener=P}load(u,l){if(l._loader$)return l._loader$;this.onLoadStartListener&&this.onLoadStartListener(l);const P=this.loadModuleFactory(l.loadChildren).pipe((0,xe.U)(q=>{this.onLoadEndListener&&this.onLoadEndListener(l);const ae=q.create(u);return new pe(St(ae.injector.get(Xr,void 0,m.XFs.Self|m.XFs.Optional)).map(Jt),ae)}),Vt(q=>{throw l._loader$=void 0,q}));return l._loader$=new Ve.c(P,()=>new B.xQ).pipe((0,En.x)()),l._loader$}loadModuleFactory(u){return xt(u()).pipe((0,We.zg)(l=>l instanceof m.YKP?(0,_e.of)(l):(0,dt.D)(this.compiler.compileModuleAsync(l))))}}class Cu{shouldProcessUrl(u){return!0}extract(u){return u}merge(u,l){return u}}function bu(g){throw g}function Ss(g,u,l){return u.parse("/")}function fo(g,u){return(0,_e.of)(null)}const po={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ps={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let $r=(()=>{class g{constructor(l,v,P,q,ae,we,et){this.rootComponentType=l,this.urlSerializer=v,this.rootContexts=P,this.location=q,this.config=et,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new B.xQ,this.errorHandler=bu,this.malformedUriErrorHandler=Ss,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:fo,afterPreactivation:fo},this.urlHandlingStrategy=new Cu,this.routeReuseStrategy=new Yr,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=ae.get(m.h0i),this.console=ae.get(m.c2e);const sn=ae.get(m.R0b);this.isNgZoneEnabled=sn instanceof m.R0b&&m.R0b.isInAngularZone(),this.resetConfig(et),this.currentUrlTree=function it(){return new Ce(new ue([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ds(ae,we,nr=>this.triggerEvent(new Re(nr)),nr=>this.triggerEvent(new Ue(nr))),this.routerState=wi(this.currentUrlTree,this.rootComponentType),this.transitions=new x({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(l){const v=this.events;return l.pipe((0,Kt.h)(P=>0!==P.id),(0,xe.U)(P=>({...P,extractedUrl:this.urlHandlingStrategy.extract(P.rawUrl)})),_t(P=>{let q=!1,ae=!1;return(0,_e.of)(P).pipe((0,ct.b)(we=>{this.currentNavigation={id:we.id,initialUrl:we.currentRawUrl,extractedUrl:we.extractedUrl,trigger:we.source,extras:we.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),_t(we=>{const et=this.browserUrlTree.toString(),Dt=!this.navigated||we.extractedUrl.toString()!==et||et!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Dt)&&this.urlHandlingStrategy.shouldProcessUrl(we.rawUrl))return is(we.source)&&(this.browserUrlTree=we.extractedUrl),(0,_e.of)(we).pipe(_t(sn=>{const nr=this.transitions.getValue();return v.next(new Qn(sn.id,this.serializeUrl(sn.extractedUrl),sn.source,sn.restoredState)),nr!==this.transitions.getValue()?ke.E:Promise.resolve(sn)}),function H(g,u,l,v){return _t(P=>function V(g,u,l,v,P){return new c(g,u,l,v,P).apply()}(g,u,l,P.extractedUrl,v).pipe((0,xe.U)(q=>({...P,urlAfterRedirects:q}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ct.b)(sn=>{this.currentNavigation={...this.currentNavigation,finalUrl:sn.urlAfterRedirects}}),function pr(g,u,l,v,P){return(0,We.zg)(q=>function li(g,u,l,v,P="emptyOnly",q="legacy"){try{const ae=new lr(g,u,l,v,P,q).recognize();return null===ae?ii(new Tr):(0,_e.of)(ae)}catch(ae){return ii(ae)}}(g,u,q.urlAfterRedirects,l(q.urlAfterRedirects),v,P).pipe((0,xe.U)(ae=>({...q,targetSnapshot:ae}))))}(this.rootComponentType,this.config,sn=>this.serializeUrl(sn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ct.b)(sn=>{if("eager"===this.urlUpdateStrategy){if(!sn.extras.skipLocationChange){const cr=this.urlHandlingStrategy.merge(sn.urlAfterRedirects,sn.rawUrl);this.setBrowserUrl(cr,sn)}this.browserUrlTree=sn.urlAfterRedirects}const nr=new Zt(sn.id,this.serializeUrl(sn.extractedUrl),this.serializeUrl(sn.urlAfterRedirects),sn.targetSnapshot);v.next(nr)}));if(Dt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:nr,extractedUrl:cr,source:Is,restoredState:Ns,extras:ua}=we,hs=new Qn(nr,this.serializeUrl(cr),Is,Ns);v.next(hs);const Fs=wi(cr,this.rootComponentType).snapshot;return(0,_e.of)({...we,targetSnapshot:Fs,urlAfterRedirects:cr,extras:{...ua,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=we.rawUrl,we.resolve(null),ke.E}),Oi(we=>{const{targetSnapshot:et,id:Dt,extractedUrl:Hn,rawUrl:sn,extras:{skipLocationChange:nr,replaceUrl:cr}}=we;return this.hooks.beforePreactivation(et,{navigationId:Dt,appliedUrlTree:Hn,rawUrlTree:sn,skipLocationChange:!!nr,replaceUrl:!!cr})}),(0,ct.b)(we=>{const et=new an(we.id,this.serializeUrl(we.extractedUrl),this.serializeUrl(we.urlAfterRedirects),we.targetSnapshot);this.triggerEvent(et)}),(0,xe.U)(we=>({...we,guards:fe(we.targetSnapshot,we.currentSnapshot,this.rootContexts)})),function vn(g,u){return(0,We.zg)(l=>{const{targetSnapshot:v,currentSnapshot:P,guards:{canActivateChecks:q,canDeactivateChecks:ae}}=l;return 0===ae.length&&0===q.length?(0,_e.of)({...l,guardsResult:!0}):function Wn(g,u,l,v){return(0,dt.D)(g).pipe((0,We.zg)(P=>function Jr(g,u,l,v,P){const q=u&&u.routeConfig?u.routeConfig.canDeactivate:null;if(!q||0===q.length)return(0,_e.of)(!0);const ae=q.map(we=>{const et=qe(we,u,P);let Dt;if(function un(g){return g&&He(g.canDeactivate)}(et))Dt=xt(et.canDeactivate(g,u,l,v));else{if(!He(et))throw new Error("Invalid CanDeactivate guard");Dt=xt(et(g,u,l,v))}return Dt.pipe($n())});return(0,_e.of)(ae).pipe(kn())}(P.component,P.route,l,u,v)),$n(P=>!0!==P,!0))}(ae,v,P,g).pipe((0,We.zg)(we=>we&&function ot(g){return"boolean"==typeof g}(we)?function Cr(g,u,l,v){return(0,dt.D)(u).pipe((0,ze.b)(P=>(0,ve.z)(function Ir(g,u){return null!==g&&u&&u(new ft(g)),(0,_e.of)(!0)}(P.route.parent,v),function fr(g,u){return null!==g&&u&&u(new wt(g)),(0,_e.of)(!0)}(P.route,v),function Pi(g,u,l){const v=u[u.length-1],q=u.slice(0,u.length-1).reverse().map(ae=>function Be(g){const u=g.routeConfig?g.routeConfig.canActivateChild:null;return u&&0!==u.length?{node:g,guards:u}:null}(ae)).filter(ae=>null!==ae).map(ae=>Ye(()=>{const we=ae.guards.map(et=>{const Dt=qe(et,ae.node,l);let Hn;if(function jn(g){return g&&He(g.canActivateChild)}(Dt))Hn=xt(Dt.canActivateChild(v,g));else{if(!He(Dt))throw new Error("Invalid CanActivateChild guard");Hn=xt(Dt(v,g))}return Hn.pipe($n())});return(0,_e.of)(we).pipe(kn())}));return(0,_e.of)(q).pipe(kn())}(g,P.path,l),function Mr(g,u,l){const v=u.routeConfig?u.routeConfig.canActivate:null;if(!v||0===v.length)return(0,_e.of)(!0);const P=v.map(q=>Ye(()=>{const ae=qe(q,u,l);let we;if(function Gn(g){return g&&He(g.canActivate)}(ae))we=xt(ae.canActivate(u,g));else{if(!He(ae))throw new Error("Invalid CanActivate guard");we=xt(ae(u,g))}return we.pipe($n())}));return(0,_e.of)(P).pipe(kn())}(g,P.route,l))),$n(P=>!0!==P,!0))}(v,q,g,u):(0,_e.of)(we)),(0,xe.U)(we=>({...l,guardsResult:we})))})}(this.ngModule.injector,we=>this.triggerEvent(we)),(0,ct.b)(we=>{if(vt(we.guardsResult)){const Dt=ee(`Redirecting to "${this.serializeUrl(we.guardsResult)}"`);throw Dt.url=we.guardsResult,Dt}const et=new ge(we.id,this.serializeUrl(we.extractedUrl),this.serializeUrl(we.urlAfterRedirects),we.targetSnapshot,!!we.guardsResult);this.triggerEvent(et)}),(0,Kt.h)(we=>!!we.guardsResult||(this.restoreHistory(we),this.cancelNavigationTransition(we,""),!1)),Oi(we=>{if(we.guards.canActivateChecks.length)return(0,_e.of)(we).pipe((0,ct.b)(et=>{const Dt=new De(et.id,this.serializeUrl(et.extractedUrl),this.serializeUrl(et.urlAfterRedirects),et.targetSnapshot);this.triggerEvent(Dt)}),_t(et=>{let Dt=!1;return(0,_e.of)(et).pipe(function Hr(g,u){return(0,We.zg)(l=>{const{targetSnapshot:v,guards:{canActivateChecks:P}}=l;if(!P.length)return(0,_e.of)(l);let q=0;return(0,dt.D)(P).pipe((0,ze.b)(ae=>function Rr(g,u,l,v){return function ui(g,u,l,v){const P=ir(g);if(0===P.length)return(0,_e.of)({});const q={};return(0,dt.D)(P).pipe((0,We.zg)(ae=>function di(g,u,l,v){const P=qe(g,u,v);return xt(P.resolve?P.resolve(u,l):P(u,l))}(g[ae],u,l,v).pipe((0,ct.b)(we=>{q[ae]=we}))),Rn(1),(0,We.zg)(()=>ir(q).length===P.length?(0,_e.of)(q):ke.E))}(g._resolve,g,u,v).pipe((0,xe.U)(q=>(g._resolvedData=q,g.data={...g.data,...oi(g,l).resolve},null)))}(ae.route,v,g,u)),(0,ct.b)(()=>q++),Rn(1),(0,We.zg)(ae=>q===P.length?(0,_e.of)(l):ke.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ct.b)({next:()=>Dt=!0,complete:()=>{Dt||(this.restoreHistory(et),this.cancelNavigationTransition(et,"At least one route resolver didn't emit any value."))}}))}),(0,ct.b)(et=>{const Dt=new Fe(et.id,this.serializeUrl(et.extractedUrl),this.serializeUrl(et.urlAfterRedirects),et.targetSnapshot);this.triggerEvent(Dt)}))}),Oi(we=>{const{targetSnapshot:et,id:Dt,extractedUrl:Hn,rawUrl:sn,extras:{skipLocationChange:nr,replaceUrl:cr}}=we;return this.hooks.afterPreactivation(et,{navigationId:Dt,appliedUrlTree:Hn,rawUrlTree:sn,skipLocationChange:!!nr,replaceUrl:!!cr})}),(0,xe.U)(we=>{const et=function E(g,u,l){const v=te(g,u._root,l?l._root:void 0);return new rr(v,u)}(this.routeReuseStrategy,we.targetSnapshot,we.currentRouterState);return{...we,targetRouterState:et}}),(0,ct.b)(we=>{this.currentUrlTree=we.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(we.urlAfterRedirects,we.rawUrl),this.routerState=we.targetRouterState,"deferred"===this.urlUpdateStrategy&&(we.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,we),this.browserUrlTree=we.urlAfterRedirects)}),((g,u,l)=>(0,xe.U)(v=>(new T(u,v.targetRouterState,v.currentRouterState,l).activate(g),v)))(this.rootContexts,this.routeReuseStrategy,we=>this.triggerEvent(we)),(0,ct.b)({next(){q=!0},complete(){q=!0}}),function Ze(g){return u=>u.lift(new Ee(g))}(()=>{q||ae||this.cancelNavigationTransition(P,`Navigation ID ${P.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===P.id&&(this.currentNavigation=null)}),Vt(we=>{if(ae=!0,function Se(g){return g&&g[ie]}(we)){const et=vt(we.url);et||(this.navigated=!0,this.restoreHistory(P,!0));const Dt=new Pn(P.id,this.serializeUrl(P.extractedUrl),we.message);v.next(Dt),et?setTimeout(()=>{const Hn=this.urlHandlingStrategy.merge(we.url,this.rawUrlTree),sn={skipLocationChange:P.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||is(P.source)};this.scheduleNavigation(Hn,"imperative",null,sn,{resolve:P.resolve,reject:P.reject,promise:P.promise})},0):P.resolve(!1)}else{this.restoreHistory(P,!0);const et=new Gt(P.id,this.serializeUrl(P.extractedUrl),we);v.next(et);try{P.resolve(this.errorHandler(we))}catch(Dt){P.reject(Dt)}}return ke.E}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next({...this.transitions.value,...l})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const v="popstate"===l.type?"popstate":"hashchange";"popstate"===v&&setTimeout(()=>{const P={replaceUrl:!0},q=l.state?.navigationId?l.state:null;if(q){const we={...q};delete we.navigationId,delete we.\u0275routerPageId,0!==Object.keys(we).length&&(P.state=we)}const ae=this.parseUrl(l.url);this.scheduleNavigation(ae,v,q,P)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){$e(l),this.config=l.map(Jt),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(l,v={}){const{relativeTo:P,queryParams:q,fragment:ae,queryParamsHandling:we,preserveFragment:et}=v,Dt=P||this.routerState.root,Hn=et?this.currentUrlTree.fragment:ae;let sn=null;switch(we){case"merge":sn={...this.currentUrlTree.queryParams,...q};break;case"preserve":sn=this.currentUrlTree.queryParams;break;default:sn=q||null}return null!==sn&&(sn=this.removeEmptyProps(sn)),function yn(g,u,l,v,P){if(0===l.length)return Ur(u.root,u.root,u.root,v,P);const q=function zr(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new Di(!0,0,g);let u=0,l=!1;const v=g.reduce((P,q,ae)=>{if("object"==typeof q&&null!=q){if(q.outlets){const we={};return Rt(q.outlets,(et,Dt)=>{we[Dt]="string"==typeof et?et.split("/"):et}),[...P,{outlets:we}]}if(q.segmentPath)return[...P,q.segmentPath]}return"string"!=typeof q?[...P,q]:0===ae?(q.split("/").forEach((we,et)=>{0==et&&"."===we||(0==et&&""===we?l=!0:".."===we?u++:""!=we&&P.push(we))}),P):[...P,q]},[]);return new Di(l,u,v)}(l);if(q.toRoot())return Ur(u.root,u.root,new ue([],{}),v,P);const ae=function ts(g,u,l){if(g.isAbsolute)return new yi(u.root,!0,0);if(-1===l.snapshot._lastPathIndex){const q=l.snapshot._urlSegment;return new yi(q,q===u.root,0)}const v=yr(g.commands[0])?0:1;return function xr(g,u,l){let v=g,P=u,q=l;for(;q>P;){if(q-=P,v=v.parent,!v)throw new Error("Invalid number of '../'");P=v.segments.length}return new yi(v,!1,P-q)}(l.snapshot._urlSegment,l.snapshot._lastPathIndex+v,g.numberOfDoubleDots)}(q,u,g),we=ae.processChildren?Wr(ae.segmentGroup,ae.index,q.commands):hr(ae.segmentGroup,ae.index,q.commands);return Ur(u.root,ae.segmentGroup,we,v,P)}(Dt,this.currentUrlTree,l,sn,Hn??null)}navigateByUrl(l,v={skipLocationChange:!1}){const P=vt(l)?l:this.parseUrl(l),q=this.urlHandlingStrategy.merge(P,this.rawUrlTree);return this.scheduleNavigation(q,"imperative",null,v)}navigate(l,v={skipLocationChange:!1}){return function Qo(g){for(let u=0;u<g.length;u++){const l=g[u];if(null==l)throw new Error(`The requested path contains ${l} segment at index ${u}`)}}(l),this.navigateByUrl(this.createUrlTree(l,v),v)}serializeUrl(l){return this.urlSerializer.serialize(l)}parseUrl(l){let v;try{v=this.urlSerializer.parse(l)}catch(P){v=this.malformedUriErrorHandler(P,this.urlSerializer,l)}return v}isActive(l,v){let P;if(P=!0===v?{...po}:!1===v?{...Ps}:v,vt(l))return Bt(this.currentUrlTree,l,P);const q=this.parseUrl(l);return Bt(this.currentUrlTree,q,P)}removeEmptyProps(l){return Object.keys(l).reduce((v,P)=>{const q=l[P];return null!=q&&(v[P]=q),v},{})}processNavigations(){this.navigations.subscribe(l=>{this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new fn(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,v,P,q,ae){if(this.disposed)return Promise.resolve(!1);let we,et,Dt;ae?(we=ae.resolve,et=ae.reject,Dt=ae.promise):Dt=new Promise((nr,cr)=>{we=nr,et=cr});const Hn=++this.navigationId;let sn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(P=this.location.getState()),sn=P&&P.\u0275routerPageId?P.\u0275routerPageId:q.replaceUrl||q.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):sn=0,this.setTransition({id:Hn,targetPageId:sn,source:v,restoredState:P,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:q,resolve:we,reject:et,promise:Dt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Dt.catch(nr=>Promise.reject(nr))}setBrowserUrl(l,v){const P=this.urlSerializer.serialize(l),q={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(P)||v.extras.replaceUrl?this.location.replaceState(P,"",q):this.location.go(P,"",q)}restoreHistory(l,v=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===P?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===P&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(P)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,v){const P=new Pn(l.id,this.serializeUrl(l.extractedUrl),v);this.triggerEvent(P),l.resolve(!1)}generateNgRouterState(l,v){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:v}:{navigationId:l}}}return g.\u0275fac=function(l){m.$Z()},g.\u0275prov=m.Yz7({token:g,factory:g.\u0275fac}),g})();function is(g){return"imperative"!==g}class mo{}class Jo{preload(u,l){return(0,_e.of)(null)}}let Xo=(()=>{class g{constructor(l,v,P,q){this.router=l,this.injector=P,this.preloadingStrategy=q,this.loader=new ds(P,v,et=>l.triggerEvent(new Re(et)),et=>l.triggerEvent(new Ue(et)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Kt.h)(l=>l instanceof fn),(0,ze.b)(()=>this.preload())).subscribe(()=>{})}preload(){const l=this.injector.get(m.h0i);return this.processRoutes(l,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,v){const P=[];for(const q of v)if(q.loadChildren&&!q.canLoad&&q._loadedConfig){const ae=q._loadedConfig;P.push(this.processRoutes(ae.module,ae.routes))}else q.loadChildren&&!q.canLoad?P.push(this.preloadConfig(l,q)):q.children&&P.push(this.processRoutes(l,q.children));return(0,dt.D)(P).pipe((0,Xt.J)(),(0,xe.U)(q=>{}))}preloadConfig(l,v){return this.preloadingStrategy.preload(v,()=>(v._loadedConfig?(0,_e.of)(v._loadedConfig):this.loader.load(l.injector,v)).pipe((0,We.zg)(q=>(v._loadedConfig=q,this.processRoutes(q.module,q.routes)))))}}return g.\u0275fac=function(l){return new(l||g)(m.LFG($r),m.LFG(m.Sil),m.LFG(m.zs3),m.LFG(mo))},g.\u0275prov=m.Yz7({token:g,factory:g.\u0275fac}),g})(),ss=(()=>{class g{constructor(l,v,P={}){this.router=l,this.viewportScroller=v,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(l=>{l instanceof Qn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof fn&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof At&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,v){this.router.triggerEvent(new At(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.\u0275fac=function(l){m.$Z()},g.\u0275prov=m.Yz7({token:g,factory:g.\u0275fac}),g})();const Ii=new m.OlP("ROUTER_CONFIGURATION"),Cs=new m.OlP("ROUTER_FORROOT_GUARD"),Os=[r.Ye,{provide:le,useClass:he},{provide:$r,useFactory:function rl(g,u,l,v,P,q,ae={},we,et){const Dt=new $r(null,g,u,l,v,P,St(q));return we&&(Dt.urlHandlingStrategy=we),et&&(Dt.routeReuseStrategy=et),function As(g,u){g.errorHandler&&(u.errorHandler=g.errorHandler),g.malformedUriErrorHandler&&(u.malformedUriErrorHandler=g.malformedUriErrorHandler),g.onSameUrlNavigation&&(u.onSameUrlNavigation=g.onSameUrlNavigation),g.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=g.paramsInheritanceStrategy),g.relativeLinkResolution&&(u.relativeLinkResolution=g.relativeLinkResolution),g.urlUpdateStrategy&&(u.urlUpdateStrategy=g.urlUpdateStrategy),g.canceledNavigationResolution&&(u.canceledNavigationResolution=g.canceledNavigationResolution)}(ae,Dt),ae.enableTracing&&Dt.events.subscribe(Hn=>{console.group?.(`Router Event: ${Hn.constructor.name}`),console.log(Hn.toString()),console.log(Hn),console.groupEnd?.()}),Dt},deps:[le,M,r.Ye,m.zs3,m.Sil,Xr,Ii,[class tl{},new m.FiY],[class Lr{},new m.FiY]]},M,{provide:jr,useFactory:function bs(g){return g.routerState.root},deps:[$r]},Xo,Jo,class Ko{preload(u,l){return l().pipe(Vt(()=>(0,_e.of)(null)))}},{provide:Ii,useValue:{enableTracing:!1}}];function nl(){return new m.PXZ("Router",$r)}let ta=(()=>{class g{constructor(l,v){}static forRoot(l,v){return{ngModule:g,providers:[Os,sa(l),{provide:Cs,useFactory:ia,deps:[[$r,new m.FiY,new m.tp0]]},{provide:Ii,useValue:v||{}},{provide:r.S$,useFactory:ra,deps:[r.lw,[new m.tBr(r.mr),new m.FiY],Ii]},{provide:ss,useFactory:na,deps:[$r,r.EM,Ii]},{provide:mo,useExisting:v&&v.preloadingStrategy?v.preloadingStrategy:Jo},{provide:m.PXZ,multi:!0,useFactory:nl},[_o,{provide:m.ip1,multi:!0,useFactory:oa,deps:[_o]},{provide:os,useFactory:aa,deps:[_o]},{provide:m.tb,multi:!0,useExisting:os}]]}}static forChild(l){return{ngModule:g,providers:[sa(l)]}}}return g.\u0275fac=function(l){return new(l||g)(m.LFG(Cs,8),m.LFG($r,8))},g.\u0275mod=m.oAB({type:g}),g.\u0275inj=m.cJS({}),g})();function na(g,u,l){return l.scrollOffset&&u.setOffset(l.scrollOffset),new ss(g,u,l)}function ra(g,u,l={}){return l.useHash?new r.Do(g,u):new r.b0(g,u)}function ia(g){return"guarded"}function sa(g){return[{provide:m.deG,multi:!0,useValue:g},{provide:Xr,multi:!0,useValue:g}]}let _o=(()=>{class g{constructor(l){this.injector=l,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new B.xQ}appInitializer(){return this.injector.get(r.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let v=null;const P=new Promise(we=>v=we),q=this.injector.get($r),ae=this.injector.get(Ii);return"disabled"===ae.initialNavigation?(q.setUpLocationChangeListener(),v(!0)):"enabled"===ae.initialNavigation||"enabledBlocking"===ae.initialNavigation?(q.hooks.afterPreactivation=()=>this.initNavigation?(0,_e.of)(null):(this.initNavigation=!0,v(!0),this.resultOfPreactivationDone),q.initialNavigation()):v(!0),P})}bootstrapListener(l){const v=this.injector.get(Ii),P=this.injector.get(Xo),q=this.injector.get(ss),ae=this.injector.get($r),we=this.injector.get(m.z2F);l===we.components[0]&&(("enabledNonBlocking"===v.initialNavigation||void 0===v.initialNavigation)&&ae.initialNavigation(),P.setUpPreloading(),q.init(),ae.resetRootComponentType(we.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return g.\u0275fac=function(l){return new(l||g)(m.LFG(m.zs3))},g.\u0275prov=m.Yz7({token:g,factory:g.\u0275fac}),g})();function oa(g){return g.appInitializer.bind(g)}function aa(g){return g.bootstrapListener.bind(g)}const os=new m.OlP("Router Initializer")},1620:(J,F,h)=>{"use strict";h.d(F,{au:()=>mt,Tr:()=>ke});var r=h(5062),m=h(529),B=h(4850),A=h(4235),x=h.n(A),R=h(1305),j=h.n(R),O=(()=>{return(je=O||(O={}))[je.Error=0]="Error",je[je.Warning=1]="Warning",je[je.Information=2]="Information",je[je.Unknown=3]="Unknown",O;var je})();const G={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class se{constructor(ve){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={},ve.paginate&&(this.isPaged=!0,this.record=parseInt(ve.paginate.start_result,10)||0,this.page=parseInt(ve.paginate.current_page,10)||0,this.pageSize=parseInt(ve.paginate.results_per_page,10)||0,this.totalPages=parseInt(ve.paginate.total_pages,10)||0,this.totalRecords=parseInt(ve.paginate.total_results,10)||0),ve.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ve.filter.records_before_filter,10)||0);const Ve=new Set(["paginate","filter"]);Object.keys(ve).filter(xe=>!Ve.has(xe)).forEach(xe=>{this.properties[xe]=ve[xe]})}}class oe extends class z{constructor(ve,Ve){if(this.status=0,this.messages=[],this.meta=function L(je){return JSON.parse(JSON.stringify(je))}(G),this.options={keepUnprocessedResponse:!1},x()(ve)||j()(ve))throw new Error("The response was unexpectedly undefined or null");Ve&&(this.options=Ve),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ve)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ve){return this.messages.filter(Ve=>Ve.type===ve)}get errors(){return this._getMessages(O.Error)}get warnings(){return this._getMessages(O.Warning)}get infoMessages(){return this._getMessages(O.Information)}_hasMessages(ve){return this.messages.filter(Ve=>Ve.type===ve).length>0}get hasErrors(){return this._hasMessages(O.Error)}get hasWarnings(){return this._hasMessages(O.Warning)}get hasInfoMessages(){return this._hasMessages(O.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(ve){if(this.status=0,typeof ve.status>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ve.status,10)}_parseMessages(ve){if("errors"in ve){const Ve=ve.errors;Ve&&Ve.length&&Ve.forEach(xe=>{this.messages.push({type:O.Error,message:xe})})}if("messages"in ve){const Ve=ve.messages;Ve&&Ve.forEach(xe=>{this.messages.push({type:O.Information,message:xe})})}}constructor(ve,Ve){if(super(ve,Ve),this._parseStatus(ve),this._parseMessages(ve),!ve||!Object.prototype.hasOwnProperty.call(ve,"data"))throw new Error("Expected response to contain a data property, but it is missing");this.data=ve.data,ve.metadata&&(this.meta=new se(ve.metadata))}}var Pe=h(109),Te=h(3022),Oe=h(5712),Ie=h(6962);let mt=(()=>{class je{}return je.\u0275fac=function(Ve){return new(Ve||je)},je.\u0275mod=r.oAB({type:je}),je.\u0275inj=r.cJS({imports:[[m.JF]]}),je})(),ke=(()=>{class je{constructor(Ve){this.http=Ve}delete(Ve){const xe=Ve.generate(),nt=this.packageUrl(xe);return this.http.delete(nt,{headers:this.packageHeaders(xe)}).pipe((0,B.U)(this.packageResponseHandler(nt)))}get(Ve){const xe=Ve.generate({verb:Pe.F.GET,encoder:new Te.VN}),nt=this.packageUrl(xe);return this.http.get(nt,{headers:this.packageHeaders(xe)}).pipe((0,B.U)(this.packageResponseHandler(nt)))}options(Ve){const xe=Ve.generate(),nt=this.packageUrl(xe);return this.http.options(nt,{headers:this.packageHeaders(xe)}).pipe((0,B.U)(this.packageResponseHandler(nt)))}patch(Ve){const xe=Ve.generate(),nt=this.packageUrl(xe);return this.http.patch(nt,xe.body,{headers:this.packageHeaders(xe)}).pipe((0,B.U)(this.packageResponseHandler(nt)))}put(Ve){const xe=Ve.generate(),nt=this.packageUrl(xe);return this.http.put(nt,xe.body,{headers:this.packageHeaders(xe)}).pipe((0,B.U)(this.packageResponseHandler(nt)))}post(Ve){const xe=Ve.generate(),nt=this.packageUrl(xe);return this.http.post(nt,xe.body,{headers:this.packageHeaders(xe)}).pipe((0,B.U)(this.packageResponseHandler(nt)))}packageHeaders(Ve){const xe={};return Ve.headers.forEach(nt=>{xe[nt.name]=nt.value}),new m.WM(xe)}packageUrl(Ve){return new Oe.b5(new Ie.a).buildTokenPath(Ve.url)}packageResponseHandler(Ve){return xe=>{const nt=new oe(xe);return nt.meta.properties.url=Ve,nt}}}return je.\u0275fac=function(Ve){return new(Ve||je)(r.LFG(m.eN))},je.\u0275prov=r.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})()},9429:(J,F,h)=>{"use strict";h.d(F,{xV:()=>U,zr:()=>le,FP:()=>p,hF:()=>rn,CQ:()=>Kn,c9:()=>Ae,Oc:()=>Ce,df:()=>ue,_P:()=>Mn,kM:()=>k,go:()=>Q,zf:()=>Z,k6:()=>jr,RV:()=>oi,Qt:()=>mi,u3:()=>Kr,gS:()=>Zn,t8:()=>or,fm:()=>w,wL:()=>S});var r=h(5062),m=h(6895),B=h(8929),A=h(3489);class R{constructor(me,E){this.compare=me,this.keySelector=E}call(me,E){return E.subscribe(new j(me,this.compare,this.keySelector))}}class j extends A.L{constructor(me,E,te){super(me),this.keySelector=te,this.hasKey=!1,"function"==typeof E&&(this.compare=E)}compare(me,E){return me===E}_next(me){let E;try{const{keySelector:Xe}=this;E=Xe?Xe(me):me}catch(Xe){return this.destination.error(Xe)}let te=!1;if(this.hasKey)try{const{compare:Xe}=this;te=Xe(this.key,E)}catch(Xe){return this.destination.error(Xe)}else this.hasKey=!0;te||(this.key=E,this.destination.next(me))}}var O=h(2198),G=h(7625),L=h(13),z=h(4006),se=h(269);const oe=new r.OlP("window"),Pe=I=>new se.g(I.CLDR,I.LEXICON);let Te=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({providers:[{provide:oe,useValue:window},{provide:se.g,useFactory:Pe,deps:[oe]}],imports:[[]]}),I})();var Oe=h(7340),Ie=h(8746);const mt=function(I,me){return{"pull-left":I,"float-left":me}},rt=function(I,me){return{"pull-right":I,"float-right":me}},lt=function(I,me){return{disabled:I,currentPage:me}};function dt(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"li",11)(1,"a",12),r.NdJ("click",function(Xe){return r.CHM(E),r.oxw().selectPage(1,Xe)}),r.GkF(2,13),r.qZA()()}if(2&I){const E=r.oxw(),te=r.MAs(13);r.ekj("disabled",E.noPrevious()||E.disabled),r.xp6(2),r.Q6J("ngTemplateOutlet",E.customFirstTemplate||te)("ngTemplateOutletContext",r.WLB(4,lt,E.noPrevious()||E.disabled,E.page))}}function ke(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"li",14)(1,"a",12),r.NdJ("click",function(Xe){r.CHM(E);const Ot=r.oxw();return Ot.selectPage(Ot.page-1,Xe)}),r.GkF(2,13),r.qZA()()}if(2&I){const E=r.oxw(),te=r.MAs(11);r.ekj("disabled",E.noPrevious()||E.disabled),r.xp6(2),r.Q6J("ngTemplateOutlet",E.customPreviousTemplate||te)("ngTemplateOutletContext",r.WLB(4,lt,E.noPrevious()||E.disabled,E.page))}}const Ye=function(I,me,E){return{disabled:I,$implicit:me,currentPage:E}};function _e(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"li",15)(1,"a",12),r.NdJ("click",function(Xe){const yn=r.CHM(E).$implicit;return r.oxw().selectPage(yn.number,Xe)}),r.GkF(2,13),r.qZA()()}if(2&I){const E=me.$implicit,te=r.oxw(),Xe=r.MAs(7);r.ekj("active",E.active)("disabled",te.disabled&&!E.active),r.xp6(2),r.Q6J("ngTemplateOutlet",te.customPageTemplate||Xe)("ngTemplateOutletContext",r.kEZ(6,Ye,te.disabled,E,te.page))}}function je(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"li",16)(1,"a",12),r.NdJ("click",function(Xe){r.CHM(E);const Ot=r.oxw();return Ot.selectPage(Ot.page+1,Xe)}),r.GkF(2,13),r.qZA()()}if(2&I){const E=r.oxw(),te=r.MAs(9);r.ekj("disabled",E.noNext()||E.disabled),r.xp6(2),r.Q6J("ngTemplateOutlet",E.customNextTemplate||te)("ngTemplateOutletContext",r.WLB(4,lt,E.noNext()||E.disabled,E.page))}}function ve(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"li",17)(1,"a",12),r.NdJ("click",function(Xe){r.CHM(E);const Ot=r.oxw();return Ot.selectPage(Ot.totalPages,Xe)}),r.GkF(2,13),r.qZA()()}if(2&I){const E=r.oxw(),te=r.MAs(15);r.ekj("disabled",E.noNext()||E.disabled),r.xp6(2),r.Q6J("ngTemplateOutlet",E.customLastTemplate||te)("ngTemplateOutletContext",r.WLB(4,lt,E.noNext()||E.disabled,E.page))}}function Ve(I,me){1&I&&r._uU(0),2&I&&r.Oqu(me.$implicit.text)}function xe(I,me){if(1&I&&r._uU(0),2&I){const E=r.oxw();r.Oqu(E.getText("next"))}}function nt(I,me){if(1&I&&r._uU(0),2&I){const E=r.oxw();r.Oqu(E.getText("previous"))}}function _t(I,me){if(1&I&&r._uU(0),2&I){const E=r.oxw();r.Oqu(E.getText("first"))}}function Qe(I,me){if(1&I&&r._uU(0),2&I){const E=r.oxw();r.Oqu(E.getText("last"))}}let Ge=(()=>{class I{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 I.\u0275fac=function(E){return new(E||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const wn={provide:z.JU,useExisting:(0,r.Gpc)(()=>Ht),multi:!0};let Ht=(()=>{class I{constructor(E,te,Xe){this.elementRef=E,this.changeDetection=Xe,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 r.vpe,this.pageChanged=new r.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=E,this.config||this.configureOptions(Object.assign({},te.main,te.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(E){this._itemsPerPage=E,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(E){this._totalItems=E,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(E){this._totalPages=E,this.numPages.emit(E),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(E){const te=this._page;this._page=E>this.totalPages?this.totalPages:E||1,this.changeDetection.markForCheck(),!(te===this._page||typeof te>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(E){this.config=Object.assign({},E)}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(E){this.page=E,this.pages=this.getPages(this.page,this.totalPages)}getText(E){return this[`${E}Text`]||this.config[`${E}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(E){this.onChange=E}registerOnTouched(E){this.onTouched=E}selectPage(E,te){te&&te.preventDefault(),this.disabled||(te&&te.target&&te.target.blur(),this.writeValue(E),this.onChange(this.page))}makePage(E,te,Xe){return{text:te,number:E,active:Xe}}getPages(E,te){const Xe=[];let Ot=1,yn=te;const yr=typeof this.maxSize<"u"&&this.maxSize<te;yr&&this.maxSize&&(this.rotate?(Ot=Math.max(E-Math.floor(this.maxSize/2),1),yn=Ot+this.maxSize-1,yn>te&&(yn=te,Ot=yn-this.maxSize+1)):(Ot=(Math.ceil(E/this.maxSize)-1)*this.maxSize+1,yn=Math.min(Ot+this.maxSize-1,te)));for(let Vn=Ot;Vn<=yn;Vn++){const Ur=this.makePage(Vn,Vn.toString(),Vn===E);Xe.push(Ur)}if(yr&&!this.rotate){if(Ot>1){const Vn=this.makePage(Ot-1,"...",!1);Xe.unshift(Vn)}if(yn<te){const Vn=this.makePage(yn+1,"...",!1);Xe.push(Vn)}}return Xe}calculateTotalPages(){const E=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(E||0,1)}}return I.\u0275fac=function(E){return new(E||I)(r.Y36(r.SBq),r.Y36(Ge),r.Y36(r.sBO))},I.\u0275cmp=r.Xpm({type:I,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:[r._Bn([wn])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(E,te){1&E&&(r.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),r.NdJ("click",function(Ot){return te.selectPage(te.page-1,Ot)}),r._uU(3),r.qZA()(),r.TgZ(4,"li",1)(5,"a",2),r.NdJ("click",function(Ot){return te.selectPage(te.page+1,Ot)}),r._uU(6),r.qZA()()()),2&E&&(r.xp6(1),r.Tol(te.pageBtnClass),r.ekj("disabled",te.noPrevious())("previous",te.align),r.Q6J("ngClass",r.WLB(18,mt,te.align,te.align)),r.xp6(2),r.Oqu(te.getText("previous")),r.xp6(1),r.Tol(te.pageBtnClass),r.ekj("disabled",te.noNext())("next",te.align),r.Q6J("ngClass",r.WLB(21,rt,te.align,te.align)),r.xp6(2),r.Oqu(te.getText("next")))},directives:[m.mk],encapsulation:2}),I})();const hn={provide:z.JU,useExisting:(0,r.Gpc)(()=>Cn),multi:!0};let Cn=(()=>{class I{constructor(E,te,Xe){this.elementRef=E,this.changeDetection=Xe,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new r.vpe,this.pageChanged=new r.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=E,this.config||this.configureOptions(te.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(E){this._itemsPerPage=E,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(E){this._totalItems=E,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(E){this._totalPages=E,this.numPages.emit(E),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(E){const te=this._page;this._page=E>this.totalPages?this.totalPages:E||1,this.changeDetection.markForCheck(),!(te===this._page||typeof te>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(E){this.config=Object.assign({},E)}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(E){this.page=E,this.pages=this.getPages(this.page,this.totalPages)}getText(E){return this[`${E}Text`]||this.config[`${E}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(E){this.onChange=E}registerOnTouched(E){this.onTouched=E}selectPage(E,te){te&&te.preventDefault(),this.disabled||(te&&te.target&&te.target.blur(),this.writeValue(E),this.onChange(this.page))}makePage(E,te,Xe){return{text:te,number:E,active:Xe}}getPages(E,te){const Xe=[];let Ot=1,yn=te;const yr=typeof this.maxSize<"u"&&this.maxSize<te;yr&&this.maxSize&&(this.rotate?(Ot=Math.max(E-Math.floor(this.maxSize/2),1),yn=Ot+this.maxSize-1,yn>te&&(yn=te,Ot=yn-this.maxSize+1)):(Ot=(Math.ceil(E/this.maxSize)-1)*this.maxSize+1,yn=Math.min(Ot+this.maxSize-1,te)));for(let Vn=Ot;Vn<=yn;Vn++){const Ur=this.makePage(Vn,Vn.toString(),Vn===E);Xe.push(Ur)}if(yr&&!this.rotate){if(Ot>1){const Vn=this.makePage(Ot-1,"...",!1);Xe.unshift(Vn)}if(yn<te){const Vn=this.makePage(yn+1,"...",!1);Xe.push(Vn)}}return Xe}calculateTotalPages(){const E=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(E||0,1)}}return I.\u0275fac=function(E){return new(E||I)(r.Y36(r.SBq),r.Y36(Ge),r.Y36(r.sBO))},I.\u0275cmp=r.Xpm({type:I,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:[r._Bn([hn])],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(E,te){1&E&&(r.TgZ(0,"ul",0),r.YNc(1,dt,3,7,"li",1),r.YNc(2,ke,3,7,"li",2),r.YNc(3,_e,3,10,"li",3),r.YNc(4,je,3,7,"li",4),r.YNc(5,ve,3,7,"li",5),r.qZA(),r.YNc(6,Ve,1,1,"ng-template",null,6,r.W1O),r.YNc(8,xe,1,1,"ng-template",null,7,r.W1O),r.YNc(10,nt,1,1,"ng-template",null,8,r.W1O),r.YNc(12,_t,1,1,"ng-template",null,9,r.W1O),r.YNc(14,Qe,1,1,"ng-template",null,10,r.W1O)),2&E&&(r.Q6J("ngClass",te.classMap),r.xp6(1),r.Q6J("ngIf",te.boundaryLinks),r.xp6(1),r.Q6J("ngIf",te.directionLinks),r.xp6(1),r.Q6J("ngForOf",te.pages),r.xp6(1),r.Q6J("ngIf",te.directionLinks),r.xp6(1),r.Q6J("ngIf",te.boundaryLinks))},directives:[m.mk,m.O5,m.tP,m.sg],encapsulation:2}),I})(),_n=(()=>{class I{static forRoot(){return{ngModule:I,providers:[]}}}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez]]}),I})();function Ln(I,me){if(1&I&&(r.TgZ(0,"span",7),r.Hsn(1),r.qZA()),2&I){const E=r.oxw(2);r.uIk("id",E.infoBlockID)}}function Nn(I,me){if(1&I){const E=r.EpF();r.ynx(0),r.TgZ(1,"a",3),r.NdJ("click",function(){return r.CHM(E),r.oxw().toggleInfoBlock()}),r._UZ(2,"span",4)(3,"span",5),r.qZA(),r.YNc(4,Ln,2,1,"span",6),r.BQk()}if(2&I){const E=r.oxw();r.xp6(1),r.uIk("id",E.infoIconID)("title",E.toggleActionTitle),r.xp6(2),r.Q6J("innerHtml",E.toggleActionTitle,r.oJD),r.xp6(1),r.Q6J("ngIf",E.showInfoBlock)}}const Yn=["*"];function Vt(I,me){if(1&I&&r._uU(0),2&I){const E=r.oxw();r.hij(" ",E.locale.maketext("Loading \u2026"),"\n")}}function Qt(I,me){1&I&&r.GkF(0)}const Fn=["header"];function Kt(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"button",4),r.NdJ("click",function(){return r.CHM(E),r.oxw().closeClicked()}),r._UZ(1,"i",5),r.qZA()}if(2&I){const E=r.oxw();r.uIk("id",E.buttonID)}}const Rn=[[["","callout-heading",""]],"*"],Sn=["[callout-heading]","*"];function ur(I,me){if(1&I&&(r.TgZ(0,"li",3),r._UZ(1,"i",4)(2,"span",5),r.qZA()),2&I){const E=me.$implicit;r.uIk("id",E.id),r.xp6(2),r.Q6J("innerHtml",E.message,r.oJD)}}function Dn(I,me){if(1&I&&(r.TgZ(0,"ul",1),r.YNc(1,ur,3,2,"li",2),r.qZA()),2&I){const E=r.oxw();r.xp6(1),r.Q6J("ngForOf",E.getFieldErrors())}}const bn=function(I){return{visibility:I}};function $n(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"button",9),r.NdJ("click",function(){return r.CHM(E),r.oxw(2).fireClose()}),r.TgZ(1,"span"),r._uU(2,"\xd7"),r.qZA()()}if(2&I){const E=r.oxw(2);r.Q6J("id",E.closeButtonID)("title",E.closeLabel),r.uIk("aria-label",E.closeLabel),r.xp6(1),r.uIk("aria-hidden",!0)}}function $t(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",function(){return r.CHM(E),r.oxw(2).fireToggleMore()}),r._uU(1),r.qZA()}if(2&I){const E=r.oxw(2);r.Q6J("id",E.moreButtonID),r.xp6(1),r.hij(" ",E.moreLabel," ")}}function Ze(I,me){if(1&I&&(r.TgZ(0,"strong",11),r._uU(1),r.qZA()),2&I){const E=r.oxw(2);r.xp6(1),r.Oqu(E.label)}}function Ee(I,me){if(1&I&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&I){const E=r.oxw(2);r.Q6J("id",E.textMessageID),r.xp6(1),r.hij(" ",E.message," ")}}function be(I,me){if(1&I&&(r.TgZ(0,"li")(1,"span",12),r._uU(2),r.qZA()()),2&I){const E=me.$implicit,te=me.index,Xe=r.oxw(3);r.xp6(1),r.s9C("id",Xe.textListID+"_"+te),r.xp6(1),r.hij(" ",E," ")}}function st(I,me){if(1&I&&(r.TgZ(0,"ul",13),r.YNc(1,be,3,2,"li",14),r.qZA()),2&I){const E=r.oxw(2);r.xp6(1),r.Q6J("ngForOf",E.alert.list)}}function ze(I,me){if(1&I&&(r.TgZ(0,"div",1),r.YNc(1,$n,3,4,"button",2),r.YNc(2,$t,2,2,"button",3),r._UZ(3,"span"),r.TgZ(4,"div",4),r.YNc(5,Ze,2,1,"strong",5),r.TgZ(6,"span",6),r.YNc(7,Ee,2,2,"span",7),r.qZA(),r.YNc(8,st,2,1,"ul",8),r.qZA()()),2&I){const E=r.oxw();r.Gre("alert alert-",E.type," ng-hide"),r.Q6J("@openClose",E.animationClass),r.xp6(1),r.Q6J("ngIf",E.showCloseButton),r.xp6(1),r.Q6J("ngIf",E.showMoreButton),r.xp6(1),r.Tol(E.icon),r.uIk("aria-hidden",!0),r.xp6(2),r.Q6J("ngIf",E.hasLabel),r.xp6(2),r.Q6J("ngIf",E.message),r.xp6(1),r.Q6J("ngIf",E.alert&&E.alert.list&&E.alert.list.length)}}function We(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"div",6)(1,"cp-alert",7),r.NdJ("close",function(){const Ot=r.CHM(E).$implicit;return r.oxw().alertClosed(Ot)}),r.qZA()()}if(2&I){const E=me.$implicit;r.xp6(1),r.Q6J("alert",E)}}function ct(I,me){if(1&I&&r._UZ(0,"div",8),2&I){const E=r.oxw();r.Q6J("ngClass",E.positionClasses)}}const En=["searchInput"];function Xt(I,me){if(1&I&&(r.TgZ(0,"span",6),r._uU(1),r.qZA()),2&I){const E=r.oxw();r.xp6(1),r.Oqu(E.clearIconLabel)}}function Lt(I,me){if(1&I){const E=r.EpF();r.TgZ(0,"button",3),r.NdJ("click",function(){const Ot=r.CHM(E).$implicit;return r.oxw().onOptionClicked(Ot)}),r.qZA()}if(2&I){const E=me.$implicit,te=r.oxw();r.Q6J("disabled",te.disabled)("selected",te.isOptionSelected(E))("value",E)}}function At(I,me){1&I&&r._uU(0," >\n")}function tt(I,me){1&I&&r._uU(0," <\n")}function tn(I,me){1&I&&r._uU(0," >>\n")}function Me(I,me){1&I&&r._uU(0," <<\n")}class ie{constructor(me,E,te=ie.defaultOptions){this._message=me,this._type=E;const Xe=te.id?te.id:Math.random().toString(36).substr(2,9);this._id=Xe,this._closable=te.isCloseable??!0,this._autoClosePeriod=te.autoClosePeriod,this._list=te.list,this._showMore=te.showMore||ie.defaultShowMore,this._ts=te.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(me){const{message:E,type:te,...Xe}=me;return new ie(E,te,Xe)}}ie.defaultShowMore=!1,ie.defaultAutoClosePeriod=0,ie.defaultOptions={autoClosePeriod:ie.defaultAutoClosePeriod,list:[]};var ee=(()=>{return(I=ee||(ee={}))[I.error=0]="error",I[I.success=1]="success",I[I.warning=2]="warning",I[I.information=3]="information",ee;var I})(),Se=(()=>{return(I=Se||(Se={})).add="add",I.remove="remove",I.clear="clear",Se;var I})();let Ae=(()=>{class I{constructor(){this._alertEventsSource=new B.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(E,te=I.defaultGroup){this._alerts[te]||(this._alerts[te]=[]);const Xe=E instanceof ie?E:ie.makeAlert(E);if(this.list(te).push(Xe),this._alertEventsSource.next({type:Se.add,group:te,alert:Xe}),(0,r.X6Q)())switch(Xe.type){case ee.error:console.error(Xe.message,Xe);break;case ee.warning:console.warn(Xe.message,Xe);break;default:console.log(Xe.message,Xe)}return Xe}success(E,te=I.defaultGroup){return this.add(new ie(E,ee.success,I.defaultSuccessOptions),te)}error(E,te=I.defaultGroup){return this.add({message:E,type:ee.error},te)}info(E,te=I.defaultGroup){return this.add({message:E,type:ee.information},te)}warn(E,te=I.defaultGroup){return this.add({message:E,type:ee.warning},te)}removeById(E,te=I.defaultGroup){const Xe=this.list(te),Ot=Xe.findIndex(yn=>yn.id===E,0);if(-1!==Ot){const yn=Xe[Ot];Xe.splice(Ot,1),this._alertEventsSource.next({type:Se.remove,group:te,alert:yn})}}clear(E=I.defaultGroup){this._alerts[E]=[],this._alertEventsSource.next({type:Se.clear,group:E})}list(E=I.defaultGroup){return null==this._alerts[E]&&(this._alerts[E]=[]),this._alerts[E]}}return I.defaultGroup="__DEFAULT__",I.defaultSuccessOptions={autoClosePeriod:1e4},I.\u0275fac=function(E){return new(E||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();var pt=(()=>{return(I=pt||(pt={})).inline="inline",I.topLeft="top-left",I.topMiddle="top-middle",I.topRight="top-right",I.bottomLeft="bottom-left",I.bottomMiddle="bottom-middle",I.bottomRight="bottom-right",I.middleLeft="middle-left",I.middleMiddle="middle-middle",I.middleRight="middle-right",pt;var I})();const St=pt.topRight,pn=pt.topLeft;let Mn=(()=>{class I{constructor(E){this.locale=E,this.showInfoToggle=!0,this.toggleActionTitleExpand=E.maketext("Expand"),this.toggleActionTitleCollapse=E.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(E){this.toggleActionTitle=E?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}}return I.\u0275fac=function(E){return new(E||I)(r.Y36(se.g))},I.\u0275cmp=r.Xpm({type:I,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:Yn,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(E,te){1&E&&(r.F$t(),r.TgZ(0,"div",0),r._UZ(1,"label",1),r._uU(2," \xa0 "),r.YNc(3,Nn,5,4,"ng-container",2),r.qZA()),2&E&&(r.xp6(1),r.Q6J("innerHtml",te.labelText,r.oJD),r.uIk("id",te.labelID)("for",te.for),r.xp6(2),r.Q6J("ngIf",te.showInfoToggle))},directives:[m.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}"]}),I})(),k=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez,Te]]}),I})(),Q=(()=>{class I{constructor(E){this.locale=E,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 I.\u0275fac=function(E){return new(E||I)(r.Y36(se.g))},I.\u0275cmp=r.Xpm({type:I,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(E,te){if(1&E&&(r.YNc(0,Vt,1,1,"ng-template",null,0,r.W1O),r.TgZ(2,"div",1),r._UZ(3,"i",2),r.TgZ(4,"div",3),r.YNc(5,Qt,1,0,"ng-container",4),r.qZA()()),2&E){const Xe=r.MAs(1);r.xp6(2),r.uIk("id",te.containerId),r.xp6(1),r.uIk("id",te.spinnerId),r.xp6(1),r.uIk("id",te.messageId),r.xp6(1),r.Q6J("ngTemplateOutlet",te.loadingTemplate?te.loadingTemplate:Xe)}},directives:[m.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}']}),I})(),Z=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez,Te]]}),I})();var re=(()=>{return(I=re||(re={})).warnings="warnings",I.danger="danger",I.info="info",I.default="info",re;var I})();let Ce=(()=>{class I{constructor(){this.calloutType=re.default,this.closeable=!1,this.close=new r.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 I.\u0275fac=function(E){return new(E||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["cp-callout"]],viewQuery:function(E,te){if(1&E&&r.Gf(Fn,5),2&E){let Xe;r.iGM(Xe=r.CRH())&&(te.header=Xe.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Sn,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(E,te){1&E&&(r.F$t(Rn),r.TgZ(0,"div",0),r.YNc(1,Kt,2,1,"button",1),r.TgZ(2,"div",2,3),r.Hsn(4),r.qZA(),r.TgZ(5,"div"),r.Hsn(6,1),r.qZA()()),2&E&&(r.Gre("callout callout-",te.calloutType,""),r.uIk("aria-label",te.calloutType),r.xp6(1),r.Q6J("ngIf",te.closeable),r.xp6(1),r.uIk("id",te.headingID),r.xp6(3),r.uIk("id",te.contentID))},directives:[m.O5],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']}),I})(),ue=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez]]}),I})(),w=(()=>{class I{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(E=>(this.control.errors[E].id=`${this.id}_${E}`,this.control.errors[E].key=E,this.control.errors[E])):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}}return I.\u0275fac=function(E){return new(E||I)},I.\u0275cmp=r.Xpm({type:I,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(E,te){1&E&&r.YNc(0,Dn,2,1,"ul",0),2&E&&r.Q6J("ngIf",te.hasErrors()&&te.hasChanged())},directives:[m.O5,m.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}']}),I})(),S=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez]]}),I})();var p=(()=>{return(I=p||(p={})).loading="loading",I.disabled="disabled",I.enabled="enabled",p;var I})();let U=(()=>{class I{constructor(){this.click=new r.vpe,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(E){switch(E){case p.enabled:this.setToEnabled();break;case p.loading:this.setToLoading();break;case p.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(E){E.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}}return I.\u0275fac=function(E){return new(E||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:Yn,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(E,te){1&E&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",function(Ot){return te.onClick(Ot)}),r._UZ(1,"i",1),r.Hsn(2),r.qZA()),2&E&&(r.MGl("id","",te.id,"-button"),r.s9C("type",te.type),r.Q6J("ngClass",te.buttonClass)("disabled",te.isDisabled),r.xp6(1),r.MGl("id","",te.id,"-spinner"),r.Q6J("ngStyle",r.VKq(6,bn,te.showSpinner?"visible":"hidden")))},directives:[m.mk,m.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}']}),I})(),le=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez]]}),I})();var yt=(()=>{return(I=yt||(yt={})).new="new",I.closed="closed",I.open="open",yt;var I})();let Et=(()=>{class I{constructor(E){this.locale=E,this.close=new r.vpe,this.toggleMore=new r.vpe,this.animationClass=yt.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 ee.success:this.label=this.locale.maketext("Success:");break;case ee.error:this.label=this.locale.maketext("Error:");break;case ee.information:this.label=this.locale.maketext("Information:");break;case ee.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=yt.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case ee.error:return"type-icon fas fa-times-circle";case ee.warning:return"type-icon fas fa-exclamation-triangle";case ee.information:return"type-icon fas fa-info-circle";case ee.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case ee.error:return"danger";case ee.warning:return"warning";case ee.information:return"info";case ee.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=yt.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const E=this.label;return null!==E&&""!==E}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(...E){return E.join("_")}}return I.\u0275fac=function(E){return new(E||I)(r.Y36(se.g))},I.\u0275cmp=r.Xpm({type:I,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(E,te){1&E&&r.YNc(0,ze,9,13,"div",0),2&E&&r.Q6J("ngIf",!te.isClosed)},directives:[m.O5,m.sg],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,Oe.X$)("openClose",[(0,Oe.SB)(yt.new,(0,Oe.oB)({opacity:0})),(0,Oe.SB)(yt.open,(0,Oe.oB)({opacity:1})),(0,Oe.SB)(yt.closed,(0,Oe.oB)({opacity:0,transform:"translateX(25%)"})),(0,Oe.eR)(`${yt.open} => ${yt.closed}`,[(0,Oe.jt)("0.25s")]),(0,Oe.eR)(`${yt.new} => ${yt.open}`,[(0,Oe.jt)("0.25s")]),(0,Oe.eR)(`${yt.closed} => ${yt.open}`,[(0,Oe.jt)("0.25s")])])]}}),I})(),qt=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez,Ie.PW,Te]]}),I})(),cn=(()=>{class I{constructor(E){this.locale=E}get position(){return this.locale.isLtr?St:pn}}return I.\u0275fac=function(E){return new(E||I)(r.LFG(se.g))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),rn=(()=>{class I{constructor(E,te){this._alertService=E,this._positionService=te,this.alerts=this.alerts?this.alerts:[]}set position(E){this._position=((I,me=pt.topRight)=>{if(I){const E=(I=>{const me=Object.keys(pt),te=Object.values(pt).indexOf(I);return-1!==te?me[te]:(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)})(I);if(E)return pt[E]}return me})(E)}get position(){return this._position.toString()}alertClosed(E){this._alertService.removeById(E.id,this.group)}ngOnInit(){this.group||(this.group=Ae.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(te=>this._addAlert(te)),this._groupEvents=this._alertService.alertEvents.pipe((0,O.h)(te=>te.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(E){return this.alerts.findIndex(te=>te.id===E)}_addAlert(E){return this.alerts.push(E),this.alerts}_removeAlert(E){const te=this._findAlertIndexById(E.id);return te>-1&&(this.alerts.splice(te,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(E){switch(E.type){case Se.add:this._addAlert(E.alert);break;case Se.clear:this._clearAlerts();break;case Se.remove:this._removeAlert(E.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?I.positionPrefix+pt.inline.toString():I.positionPrefix+this.position.toString()}}return I.positionPrefix="position-",I.\u0275fac=function(E){return new(E||I)(r.Y36(Ae),r.Y36(cn))},I.\u0275cmp=r.Xpm({type:I,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(E,te){1&E&&(r.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),r.YNc(5,We,2,1,"div",4),r.qZA()(),r.YNc(6,ct,1,1,"div",5),r.qZA()),2&E&&(r.xp6(1),r.Q6J("ngClass",te.positionClasses),r.xp6(4),r.Q6J("ngForOf",te.alerts),r.xp6(1),r.Q6J("ngIf",te.hasAlerts))},directives:[Et,m.mk,m.sg,m.O5],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;bottom:auto;right:auto;left:0;top:0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]}),I})(),Kn=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez,qt]]}),I})(),Zn=(()=>{class I{constructor(E){this.locale=E,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new r.vpe,this._searchSubject=new B.xQ,this._unsubscribe=new B.xQ,delete this.label,delete this.placeholder}set value(E){this._value=E,this._searchSubject.next(E)}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((0,G.R)(this._unsubscribe),(0,L.b)(this.debounce),function x(I,me){return E=>E.lift(new R(I,me))}()).subscribe(E=>{this.valueChange.emit(E)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return I.\u0275fac=function(E){return new(E||I)(r.Y36(se.g))},I.\u0275cmp=r.Xpm({type:I,selectors:[["cp-search"]],viewQuery:function(E,te){if(1&E&&r.Gf(En,5),2&E){let Xe;r.iGM(Xe=r.CRH())&&(te.searchInput=Xe.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(E,te){1&E&&(r.TgZ(0,"div",0)(1,"input",1,2),r.NdJ("ngModelChange",function(Ot){return te.value=Ot})("keyup.esc",function(){return te.clearValue()}),r.qZA(),r.TgZ(3,"span",3),r.NdJ("click",function(){return te.clearValue()}),r._UZ(4,"span",4),r.YNc(5,Xt,2,1,"span",5),r.qZA()()),2&E&&(r.xp6(1),r.MGl("id","",te.id,"-search-input"),r.Q6J("ngModel",te.value)("disabled",te.disabled)("placeholder",te.placeholder)("title",te.label),r.uIk("aria-label",te.label)("list",te.list),r.xp6(2),r.MGl("id","",te.id,"-search-input-addon"),r.xp6(1),r.MGl("id","",te.id,"-search-input-icon"),r.Q6J("ngClass",(null==te.value?null:te.value.length)>0?"fas fa-times":"fas fa-search"),r.xp6(1),r.Q6J("ngIf",(null==te.value?null:te.value.length)>0))},directives:[z.Fj,z.JJ,z.On,m.mk,m.O5],styles:[""],changeDetection:0}),I})(),or=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez,z.u5,Te]]}),I})(),_r=(()=>{class I{constructor(E,te=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(te),this.selectorName=E.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(E=>{if(!this[E])throw new Error(`"${E}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}}return I.\u0275fac=function(E){r.$Z()},I.\u0275dir=r.lG2({type:I,inputs:{id:"id"}}),I})();var rr=(()=>{return(I=rr||(rr={}))[I.all=-1]="all",rr;var I})();const wi="pageSizeOption";let gi=(()=>{class I{constructor(E){this.locale=E,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===rr.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${wi}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${wi}_${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 I.\u0275fac=function(E){return new(E||I)(r.Y36(se.g))},I.\u0275dir=r.lG2({type:I,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(E,te){2&E&&(r.Ikx("id",te.id)("innerText",te.label),r.uIk("aria-label",te.description)("aria-pressed",te.ariaPressed),r.Tol(te.cssClasses))},inputs:{value:"value",selected:"selected"},features:[r.TTD]}),I})(),jr=(()=>{class I extends _r{constructor(E,te){super(E),this.locale=te,this.selectedPageSize=I.defaultPageSize,this.pageSizeOptions=I.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new r.vpe,this.displayedPageSizeOptions=[]}isOptionSelected(E){return E===this.selectedPageSize}onOptionClicked(E){this._dispatchChange(E)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const E=this.pageSizeOptions.slice(0).sort((Xe,Ot)=>Xe-Ot);this.showOptionAll&&E.push(rr.all),-1!==E.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=E:this._dispatchChange(E[0])}_dispatchChange(E){this.optionSelected.emit(E)}}return I.defaultPageSizeOptions=[20,50,100,500],I.defaultPageSize=20,I.\u0275fac=function(E){return new(E||I)(r.Y36(r.SBq),r.Y36(se.g))},I.\u0275cmp=r.Xpm({type:I,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[r.qOj,r.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(E,te){1&E&&(r.TgZ(0,"div")(1,"div",0),r._uU(2),r.qZA(),r.TgZ(3,"div",1),r.YNc(4,Lt,1,3,"button",2),r.qZA()()),2&E&&(r.xp6(2),r.hij(" ",te.locale.maketext("Entries Per Page")," "),r.xp6(2),r.Q6J("ngForOf",te.displayedPageSizeOptions))},directives:[m.sg,gi],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]}),I})(),oi=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez,Te]]}),I})(),mi=(()=>{class I extends _r{constructor(E,te){super(E),this.locale=te,this.maxPagesVisible=I.defaultMaxPagesVisible,this.selectedPage=I.firstPageIndex,this.pageSize=jr.defaultPageSize,this.disabled=!1,this.pageChanged=new r.vpe}onPageChanged(E){this._dispatchChange(E)}onNumPagesChanged(E){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(E){const te=this.pageSize*(E-1),Xe=Math.min(te+this.pageSize,this.totalItems);this.pageChanged.emit({page:E,firstItem:te,lastItem:Xe}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",te+1,Xe,this.totalItems)}}return I.defaultMaxPagesVisible=5,I.firstPageIndex=1,I.\u0275fac=function(E){return new(E||I)(r.Y36(r.SBq),r.Y36(se.g))},I.\u0275cmp=r.Xpm({type:I,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[r.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(E,te){if(1&E&&(r.TgZ(0,"div",0)(1,"pagination",1),r.NdJ("ngModelChange",function(Ot){return te.selectedPage=Ot})("pageChanged",function(Ot){return te.onPageChanged(Ot.page)})("numPages",function(Ot){return te.onNumPagesChanged(Ot)}),r.qZA(),r.TgZ(2,"p",2),r._uU(3),r.qZA()(),r.YNc(4,At,1,0,"ng-template",null,3,r.W1O),r.YNc(6,tt,1,0,"ng-template",null,4,r.W1O),r.YNc(8,tn,1,0,"ng-template",null,5,r.W1O),r.YNc(10,Me,1,0,"ng-template",null,6,r.W1O)),2&E){const Xe=r.MAs(5),Ot=r.MAs(7),yn=r.MAs(9),yr=r.MAs(11);r.Q6J("id",te.id),r.xp6(1),r.MGl("id","",te.id,"_ngx_paginator"),r.Q6J("totalItems",te.totalItems)("maxSize",te.maxPagesVisible)("disabled",te.disabled)("itemsPerPage",te.pageSize)("ngModel",te.selectedPage)("boundaryLinks",!0)("customFirstTemplate",yr)("customLastTemplate",yn)("customPreviousTemplate",Ot)("customNextTemplate",Xe),r.xp6(2),r.hij(" ",te.itemsDetails," ")}},directives:[Cn,z.JJ,z.On],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]}),I})(),Kr=(()=>{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[m.ez,z.u5,_n.forRoot(),Te]]}),I})()},6737:(J,F,h)=>{"use strict";h.d(F,{w9:()=>Z,A0:()=>ue});var r=h(5062),m=h(4006),B=h(353),A=h(1177);class R{constructor(S){this.durationSelector=S}call(S,p){return p.subscribe(new j(S,this.durationSelector))}}class j extends A.Ds{constructor(S,p){super(S),this.durationSelector=p,this.hasValue=!1}_next(S){if(this.value=S,this.hasValue=!0,!this.throttled){let p;try{const{durationSelector:le}=this;p=le(S)}catch(le){return this.destination.error(le)}const U=(0,A.ft)(p,new A.IY(this));!U||U.closed?this.clearThrottle():this.add(this.throttled=U)}}clearThrottle(){const{value:S,hasValue:p,throttled:U}=this;U&&(this.remove(U),this.throttled=void 0,U.unsubscribe()),p&&(this.value=void 0,this.hasValue=!1,this.destination.next(S))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var O=h(2916),G=h(6688);function L(w){return!(0,G.k)(w)&&w-parseFloat(w)+1>=0}var z=h(2866);function oe(w){const{index:S,period:p,subscriber:U}=w;if(U.next(S),!U.closed){if(-1===p)return U.complete();w.index=S+1,this.schedule(w,p)}}var Te=h(7625),Oe=h(1059),Ie=h(2868),mt=h(13),rt=h(2198),lt=h(4850);let dt=1;const ke=Promise.resolve(),Ye={};function _e(w){return w in Ye&&(delete Ye[w],!0)}const je={setImmediate(w){const S=dt++;return Ye[S]=!0,ke.then(()=>_e(S)&&w()),S},clearImmediate(w){_e(w)}};var Ve=h(6686),nt=h(2268);const Qe=new class _t extends nt.v{flush(S){this.active=!0,this.scheduled=void 0;const{actions:p}=this;let U,le=-1,he=p.length;S=S||p.shift();do{if(U=S.execute(S.state,S.delay))break}while(++le<he&&(S=p.shift()));if(this.active=!1,U){for(;++le<he&&(S=p.shift());)S.unsubscribe();throw U}}}(class xe extends Ve.o{constructor(S,p){super(S,p),this.scheduler=S,this.work=p}requestAsyncId(S,p,U=0){return null!==U&&U>0?super.requestAsyncId(S,p,U):(S.actions.push(this),S.scheduled||(S.scheduled=je.setImmediate(S.flush.bind(S,null))))}recycleAsyncId(S,p,U=0){if(null!==U&&U>0||null===U&&this.delay>0)return super.recycleAsyncId(S,p,U);0===S.actions.length&&(je.clearImmediate(p),S.scheduled=void 0)}});var wn=h(352),Ht=h(8929),hn=h(3753),Cn=h(6787),_n=h(6895);const Ln=["content"],Nn=["scroll"],Yn=["padding"],Vt=function(w){return{searchTerm:w}};function Qt(w,S){if(1&w&&(r.TgZ(0,"div",6),r.GkF(1,7),r.qZA()),2&w){const p=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",p.headerTemplate)("ngTemplateOutletContext",r.VKq(2,Vt,p.filterValue))}}function Fn(w,S){if(1&w&&(r.TgZ(0,"div",8),r.GkF(1,7),r.qZA()),2&w){const p=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",p.footerTemplate)("ngTemplateOutletContext",r.VKq(2,Vt,p.filterValue))}}const Kt=["*"],Rn=["searchInput"];function Sn(w,S){if(1&w){const p=r.EpF();r.TgZ(0,"span",15),r.NdJ("click",function(){r.CHM(p);const le=r.oxw().$implicit;return r.oxw(2).unselect(le)}),r._uU(1,"\xd7"),r.qZA(),r._UZ(2,"span",16)}if(2&w){const p=r.oxw().$implicit,U=r.oxw(2);r.xp6(2),r.Q6J("ngItemLabel",p.label)("escape",U.escapeHTML)}}function ur(w,S){}const Dn=function(w,S,p){return{item:w,clear:S,label:p}};function bn(w,S){if(1&w&&(r.TgZ(0,"div",12),r.YNc(1,Sn,3,2,"ng-template",null,13,r.W1O),r.YNc(3,ur,0,0,"ng-template",14),r.qZA()),2&w){const p=S.$implicit,U=r.MAs(2),le=r.oxw(2);r.ekj("ng-value-disabled",p.disabled),r.xp6(3),r.Q6J("ngTemplateOutlet",le.labelTemplate||U)("ngTemplateOutletContext",r.kEZ(4,Dn,p.value,le.clearItem,p.label))}}function gr(w,S){if(1&w&&(r.ynx(0),r.YNc(1,bn,4,8,"div",11),r.BQk()),2&w){const p=r.oxw();r.xp6(1),r.Q6J("ngForOf",p.selectedItems)("ngForTrackBy",p.trackByOption)}}function dr(w,S){}const br=function(w,S){return{items:w,clear:S}};function wr(w,S){if(1&w&&r.YNc(0,dr,0,0,"ng-template",14),2&w){const p=r.oxw();r.Q6J("ngTemplateOutlet",p.multiLabelTemplate)("ngTemplateOutletContext",r.WLB(2,br,p.selectedValues,p.clearItem))}}function sr(w,S){1&w&&r._UZ(0,"div",19)}function Un(w,S){}function mn(w,S){if(1&w&&(r.ynx(0),r.YNc(1,sr,1,0,"ng-template",null,17,r.W1O),r.YNc(3,Un,0,0,"ng-template",18),r.BQk()),2&w){const p=r.MAs(2),U=r.oxw();r.xp6(3),r.Q6J("ngTemplateOutlet",U.loadingSpinnerTemplate||p)}}function $n(w,S){if(1&w&&(r.TgZ(0,"span",20)(1,"span",21),r._uU(2,"\xd7"),r.qZA()()),2&w){const p=r.oxw();r.s9C("title",p.clearAllText)}}function $t(w,S){if(1&w&&r._UZ(0,"span",27),2&w){const p=r.oxw().$implicit,U=r.oxw(2);r.Q6J("ngItemLabel",p.label)("escape",U.escapeHTML)}}function Ze(w,S){}const Ee=function(w,S,p,U){return{item:w,item$:S,index:p,searchTerm:U}};function be(w,S){if(1&w){const p=r.EpF();r.TgZ(0,"div",25),r.NdJ("click",function(){const he=r.CHM(p).$implicit;return r.oxw(2).toggleItem(he)})("mouseover",function(){const he=r.CHM(p).$implicit;return r.oxw(2).onItemHover(he)}),r.YNc(1,$t,1,2,"ng-template",null,26,r.W1O),r.YNc(3,Ze,0,0,"ng-template",14),r.qZA()}if(2&w){const p=S.$implicit,U=r.MAs(2),le=r.oxw(2);r.ekj("ng-option-disabled",p.disabled)("ng-option-selected",p.selected)("ng-optgroup",p.children)("ng-option",!p.children)("ng-option-child",!!p.parent)("ng-option-marked",p===le.itemsList.markedItem),r.uIk("role",p.children?"group":"option")("aria-selected",p.selected)("id",null==p?null:p.htmlId),r.xp6(3),r.Q6J("ngTemplateOutlet",p.children?le.optgroupTemplate||U:le.optionTemplate||U)("ngTemplateOutletContext",r.l5B(17,Ee,p.value,p,p.index,le.searchTerm))}}function st(w,S){if(1&w&&(r.TgZ(0,"span")(1,"span",30),r._uU(2),r.qZA(),r._uU(3),r.qZA()),2&w){const p=r.oxw(3);r.xp6(2),r.Oqu(p.addTagText),r.xp6(1),r.hij('"',p.searchTerm,'"')}}function ze(w,S){}function We(w,S){if(1&w){const p=r.EpF();r.TgZ(0,"div",28),r.NdJ("mouseover",function(){return r.CHM(p),r.oxw(2).itemsList.unmarkItem()})("click",function(){return r.CHM(p),r.oxw(2).selectTag()}),r.YNc(1,st,4,2,"ng-template",null,29,r.W1O),r.YNc(3,ze,0,0,"ng-template",14),r.qZA()}if(2&w){const p=r.MAs(2),U=r.oxw(2);r.ekj("ng-option-marked",!U.itemsList.markedItem),r.xp6(3),r.Q6J("ngTemplateOutlet",U.tagTemplate||p)("ngTemplateOutletContext",r.VKq(4,Vt,U.searchTerm))}}function ct(w,S){if(1&w&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&w){const p=r.oxw(3);r.xp6(1),r.Oqu(p.notFoundText)}}function En(w,S){}function Xt(w,S){if(1&w&&(r.ynx(0),r.YNc(1,ct,2,1,"ng-template",null,31,r.W1O),r.YNc(3,En,0,0,"ng-template",14),r.BQk()),2&w){const p=r.MAs(2),U=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",U.notFoundTemplate||p)("ngTemplateOutletContext",r.VKq(2,Vt,U.searchTerm))}}function Nt(w,S){if(1&w&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&w){const p=r.oxw(3);r.xp6(1),r.Oqu(p.typeToSearchText)}}function Qn(w,S){}function fn(w,S){if(1&w&&(r.ynx(0),r.YNc(1,Nt,2,1,"ng-template",null,33,r.W1O),r.YNc(3,Qn,0,0,"ng-template",18),r.BQk()),2&w){const p=r.MAs(2),U=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",U.typeToSearchTemplate||p)}}function Pn(w,S){if(1&w&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&w){const p=r.oxw(3);r.xp6(1),r.Oqu(p.loadingText)}}function Gt(w,S){}function Zt(w,S){if(1&w&&(r.ynx(0),r.YNc(1,Pn,2,1,"ng-template",null,34,r.W1O),r.YNc(3,Gt,0,0,"ng-template",14),r.BQk()),2&w){const p=r.MAs(2),U=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",U.loadingTextTemplate||p)("ngTemplateOutletContext",r.VKq(2,Vt,U.searchTerm))}}function an(w,S){if(1&w){const p=r.EpF();r.TgZ(0,"ng-dropdown-panel",22),r.NdJ("update",function(le){return r.CHM(p),r.oxw().viewPortItems=le})("scroll",function(le){return r.CHM(p),r.oxw().scroll.emit(le)})("scrollToEnd",function(le){return r.CHM(p),r.oxw().scrollToEnd.emit(le)})("outsideClick",function(){return r.CHM(p),r.oxw().close()}),r.ynx(1),r.YNc(2,be,4,22,"div",23),r.YNc(3,We,4,6,"div",24),r.BQk(),r.YNc(4,Xt,4,4,"ng-container",3),r.YNc(5,fn,4,1,"ng-container",3),r.YNc(6,Zt,4,4,"ng-container",3),r.qZA()}if(2&w){const p=r.oxw();r.ekj("ng-select-multiple",p.multiple),r.Q6J("virtualScroll",p.virtualScroll)("bufferAmount",p.bufferAmount)("appendTo",p.appendTo)("position",p.dropdownPosition)("headerTemplate",p.headerTemplate)("footerTemplate",p.footerTemplate)("filterValue",p.searchTerm)("items",p.itemsList.filteredItems)("markedItem",p.itemsList.markedItem)("ngClass",p.appendTo?p.classes:null)("id",p.dropdownId),r.xp6(2),r.Q6J("ngForOf",p.viewPortItems)("ngForTrackBy",p.trackByOption),r.xp6(1),r.Q6J("ngIf",p.showAddTag),r.xp6(1),r.Q6J("ngIf",p.showNoItemsFound()),r.xp6(1),r.Q6J("ngIf",p.showTypeToSearch()),r.xp6(1),r.Q6J("ngIf",p.loading&&0===p.itemsList.filteredItems.length)}}const ge=/[&<>"']/g,De=RegExp(ge.source),Fe={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ue(w){return null!=w}function ft(w){return"object"==typeof w&&Ue(w)}function wt(w){return w instanceof Function}let Lt=(()=>{class w{constructor(p){this.element=p,this.escape=!0}ngOnChanges(p){this.element.nativeElement.innerHTML=this.escape?function Re(w){return w&&De.test(w)?w.replace(ge,S=>Fe[S]):w}(this.ngItemLabel):this.ngItemLabel}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.SBq))},w.\u0275dir=r.lG2({type:w,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[r.TTD]}),w})(),At=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-option-tmp",""]]}),w})(),tt=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-optgroup-tmp",""]]}),w})(),tn=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-label-tmp",""]]}),w})(),Me=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-multi-label-tmp",""]]}),w})(),ie=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-header-tmp",""]]}),w})(),ee=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-footer-tmp",""]]}),w})(),Se=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-notfound-tmp",""]]}),w})(),Ae=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-typetosearch-tmp",""]]}),w})(),Ke=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-loadingtext-tmp",""]]}),w})(),pt=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-tag-tmp",""]]}),w})(),jt=(()=>{class w{constructor(p){this.template=p}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Rgc))},w.\u0275dir=r.lG2({type:w,selectors:[["","ng-loadingspinner-tmp",""]]}),w})();function St(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const pn={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function Pt(w){return w.replace(/[^\u0000-\u007E]/g,p=>pn[p]||p)}class Rt{constructor(S,p){this._ngSelect=S,this._selectionModel=p,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let S=this.selectedItems.length-1;for(;S>=0;S--){const p=this.selectedItems[S];if(!p.disabled)return p}return null}setItems(S){this._items=S.map((p,U)=>this.mapItem(p,U)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(S){if(S.selected||this.maxItemsSelected)return;const p=this._ngSelect.multiple;p||this.clearSelected(),this._selectionModel.select(S,p,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(S)}unselect(S){!S.selected||(this._selectionModel.unselect(S,this._ngSelect.multiple),this._ngSelect.hideSelected&&Ue(S.index)&&this._ngSelect.multiple&&this._showSelected(S))}findItem(S){let p;return p=this._ngSelect.compareWith?U=>this._ngSelect.compareWith(U.value,S):this._ngSelect.bindValue?U=>!U.children&&this.resolveNested(U.value,this._ngSelect.bindValue)===S:U=>U.value===S||!U.children&&U.label&&U.label===this.resolveNested(S,this._ngSelect.bindLabel),this._items.find(U=>p(U))}addItem(S){const p=this.mapItem(S,this._items.length);return this._items.push(p),this._filteredItems.push(p),p}clearSelected(S=!1){this._selectionModel.clear(S),this._items.forEach(p=>{p.selected=S&&p.selected&&p.disabled,p.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(S){return S=Pt(S).toLocaleLowerCase(),this.filteredItems.find(p=>Pt(p.label).toLocaleLowerCase().substr(0,S.length)===S)}filter(S){if(!S)return void this.resetFilteredItems();this._filteredItems=[],S=this._ngSelect.searchFn?S:Pt(S).toLocaleLowerCase();const p=this._ngSelect.searchFn||this._defaultSearchFn,U=this._ngSelect.hideSelected;for(const le of Array.from(this._groups.keys())){const he=[];for(const de of this._groups.get(le))U&&(de.parent&&de.parent.selected||de.selected)||p(S,this._ngSelect.searchFn?de.value:de)&&he.push(de);if(he.length>0){const[de]=he.slice(-1);if(de.parent){const Ne=this._items.find(ut=>ut===de.parent);this._filteredItems.push(Ne)}this._filteredItems.push(...he)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(S=>!S.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(S){this._markedIndex=this._filteredItems.indexOf(S)}markSelectedOrDefault(S){if(0===this._filteredItems.length)return;const p=this._getLastMarkedIndex();this._markedIndex=p>-1?p:S?this.filteredItems.findIndex(U=>!U.disabled):-1}resolveNested(S,p){if(!ft(S))return S;if(-1===p.indexOf("."))return S[p];{const U=p.split(".");let le=S;for(let he=0,de=U.length;he<de;++he){if(null==le)return null;le=le[U[he]]}return le}}mapItem(S,p){const U=Ue(S.$ngOptionLabel)?S.$ngOptionLabel:this.resolveNested(S,this._ngSelect.bindLabel),le=Ue(S.$ngOptionValue)?S.$ngOptionValue:S;return{index:p,label:Ue(U)?U.toString():"",value:le,disabled:S.disabled,htmlId:`${this._ngSelect.dropdownId}-${p}`}}mapSelectedItems(){const S=this._ngSelect.multiple;for(const p of this.selectedItems){const U=this._ngSelect.bindValue?this.resolveNested(p.value,this._ngSelect.bindValue):p.value,le=Ue(U)?this.findItem(U):null;this._selectionModel.unselect(p,S),this._selectionModel.select(le||p,S,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(p=>-1===this.selectedItems.indexOf(p)))}_showSelected(S){if(this._filteredItems.push(S),S.parent){const p=S.parent;this._filteredItems.find(le=>le===p)||this._filteredItems.push(p)}else if(S.children)for(const p of S.children)p.selected=!1,this._filteredItems.push(p);this._filteredItems=[...this._filteredItems.sort((p,U)=>p.index-U.index)]}_hideSelected(S){this._filteredItems=this._filteredItems.filter(p=>p!==S),S.parent?S.parent.children.every(U=>U.selected)&&(this._filteredItems=this._filteredItems.filter(U=>U!==S.parent)):S.children&&(this._filteredItems=this.filteredItems.filter(p=>p.parent!==S))}_defaultSearchFn(S,p){return Pt(p.label).toLocaleLowerCase().indexOf(S)>-1}_getNextItemIndex(S){return S>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(S){0===this._filteredItems.length||this._filteredItems.every(p=>p.disabled)||(this._markedIndex=this._getNextItemIndex(S),this.markedItem.disabled&&this._stepToItem(S))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const S=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&S<0?-1:Math.max(this.markedIndex,S)}_groupBy(S,p){const U=new Map;if(0===S.length)return U;if(Array.isArray(S[0].value[p])){for(const de of S){const Ne=(de.value[p]||[]).map((ut,Mt)=>this.mapItem(ut,Mt));U.set(de,Ne)}return U}const le=wt(this._ngSelect.groupBy),he=de=>{const Ne=le?p(de.value):de.value[p];return Ue(Ne)?Ne:void 0};for(const de of S){const Ne=he(de),ut=U.get(Ne);ut?ut.push(de):U.set(Ne,[de])}return U}_flatten(S){const p=wt(this._ngSelect.groupBy),U=[];for(const le of Array.from(S.keys())){let he=U.length;if(void 0===le){const yt=S.get(void 0)||[];U.push(...yt.map(Et=>(Et.index=he++,Et)));continue}const de=ft(le),Ne={label:de?"":String(le),children:void 0,parent:null,index:he++,disabled:!this._ngSelect.selectableGroup,htmlId:St()},ut=p?this._ngSelect.bindLabel:this._ngSelect.groupBy,Mt=this._ngSelect.groupValue||(()=>de?le.value:{[ut]:le}),It=S.get(le).map(yt=>(yt.parent=Ne,yt.children=void 0,yt.index=he++,yt));Ne.children=It,Ne.value=Mt(le,It.map(yt=>yt.value)),U.push(Ne),U.push(...It)}return U}}var xt=(()=>{return(w=xt||(xt={}))[w.Tab=9]="Tab",w[w.Enter=13]="Enter",w[w.Esc=27]="Esc",w[w.Space=32]="Space",w[w.ArrowUp=38]="ArrowUp",w[w.ArrowDown=40]="ArrowDown",w[w.Backspace=8]="Backspace",xt;var w})();let it=(()=>{class w{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(p,U,le){const he=this._dimensions,de=he.itemHeight*U,ut=Math.max(0,p)/de*U;let Mt=Math.min(U,Math.ceil(ut)+(he.itemsPerViewport+1));const yt=Math.max(0,Mt-he.itemsPerViewport);let Et=Math.min(yt,Math.floor(ut)),qt=he.itemHeight*Math.ceil(Et)-he.itemHeight*Math.min(Et,le);return qt=isNaN(qt)?0:qt,Et=isNaN(Et)?-1:Et,Mt=isNaN(Mt)?-1:Mt,Et-=le,Et=Math.max(0,Et),Mt+=le,Mt=Math.min(U,Mt),{topPadding:qt,scrollHeight:de,start:Et,end:Mt}}setDimensions(p,U){const le=Math.max(1,Math.floor(U/p));this._dimensions={itemHeight:p,panelHeight:U,itemsPerViewport:le}}getScrollTo(p,U,le){const{panelHeight:he}=this.dimensions,de=p+U,ut=le+he;return he>=de&&le===p?null:de>ut?le+de-ut:p<=le?p:null}}return w.\u0275fac=function(p){return new(p||w)},w.\u0275prov=r.Yz7({token:w,factory:w.\u0275fac}),w})();const gt=["top","right","bottom","left"],Ft=typeof requestAnimationFrame<"u"?wn.Z:Qe;let Bt=(()=>{class w{constructor(p,U,le,he,de){this._renderer=p,this._zone=U,this._panelService=le,this._document=de,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new r.vpe,this.scroll=new r.vpe,this.scrollToEnd=new r.vpe,this.outsideClick=new r.vpe,this._destroy$=new Ht.xQ,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=he.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(p){p!==this._itemsLength&&(this._itemsLength=p,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:p,panelHeight:U}=this._panelService.dimensions,le=this.markedItem.index*p;return U>le?0:le}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(p){if(p.items){const U=p.items;this._onItemsChange(U.currentValue,U.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(p,U=!1){if(!p)return;const le=this.items.indexOf(p);if(le<0||le>=this.itemsLength)return;let he;if(this.virtualScroll){const de=this._panelService.dimensions.itemHeight;he=this._panelService.getScrollTo(le*de,de,this._lastScrollPosition)}else{const de=this._dropdown.querySelector(`#${p.htmlId}`);he=this._panelService.getScrollTo(de.offsetTop,de.clientHeight,U?de.offsetTop:this._lastScrollPosition)}Ue(he)&&(this._scrollablePanel.scrollTop=he)}scrollToTag(){const p=this._scrollablePanel;p.scrollTop=p.scrollHeight-p.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),gt.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(p){gt.forEach(le=>{const he=`ng-select-${le}`;this._renderer.removeClass(this._dropdown,he),this._renderer.removeClass(this._select,he)});const U=`ng-select-${p}`;this._renderer.addClass(this._dropdown,U),this._renderer.addClass(this._select,U)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,hn.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,Te.R)(this._destroy$),function Pe(w,S=B.P){return function x(w){return function(p){return p.lift(new R(w))}}(()=>function se(w=0,S,p){let U=-1;return L(S)?U=Number(S)<1?1:Number(S):(0,z.K)(S)&&(p=S),(0,z.K)(p)||(p=B.P),new O.y(le=>{const he=L(w)?w:+w-p.now();return p.schedule(oe,he,{index:0,period:U,subscriber:le})})}(w,S))}(0,Ft)).subscribe(p=>{const U=p.path||p.composedPath&&p.composedPath();this._onContentScrolled(U&&0!==U.length?U[0].scrollTop:p.target.scrollTop)})})}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular(()=>{(0,Cn.T)((0,hn.R)(this._document,"touchstart",{capture:!0}),(0,hn.R)(this._document,"mousedown",{capture:!0})).pipe((0,Te.R)(this._destroy$)).subscribe(p=>this._checkToClose(p))})}_checkToClose(p){if(this._select.contains(p.target)||this._dropdown.contains(p.target))return;const U=p.path||p.composedPath&&p.composedPath();p.target&&p.target.shadowRoot&&U&&U[0]&&this._select.contains(U[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(p,U){this.items=p||[],this._scrollToEndFired=!1,this.itemsLength=p.length,this.virtualScroll?this._updateItemsRange(U):(this._setVirtualHeight(),this._updateItems(U))}_updateItems(p){this.update.emit(this.items),!1!==p&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,p)})})}_updateItemsRange(p){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{p?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(p){this.virtualScroll&&this._renderItemsRange(p),this._lastScrollPosition=p,this._fireScrollToEnd(p)}_updateVirtualHeight(p){this._updateScrollHeight&&(this._virtualPadding.style.height=`${p}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(p=null){if(p&&this._lastScrollPosition===p)return;const U=this._panelService.calculateItems(p=p||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(U.scrollHeight),this._contentPanel.style.transform=`translateY(${U.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(U.start,U.end)),this.scroll.emit({start:U.start,end:U.end})}),Ue(p)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=p,this._lastScrollPosition=p)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[p]=this.items;return this.update.emit([p]),Promise.resolve().then(()=>{const le=this._dropdown.querySelector(`#${p.htmlId}`).clientHeight;return this._virtualPadding.style.height=le*this.itemsLength+"px",this._panelService.setDimensions(le,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(p){this._scrollToEndFired||0===p||p+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(p){if("auto"!==this.position)return this.position;const U=this._select.getBoundingClientRect(),le=document.documentElement.scrollTop||document.body.scrollTop;return U.top+window.pageYOffset+U.height+p.getBoundingClientRect().height>le+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const p=this._select.getBoundingClientRect(),U=this._parent.getBoundingClientRect();this._dropdown.style.left=p.left-U.left+"px",this._dropdown.style.width=p.width+"px",this._dropdown.style.minWidth=p.width+"px"}_updateYPosition(){const p=this._select.getBoundingClientRect(),U=this._parent.getBoundingClientRect(),le=p.height;"top"===this._currentPosition?(this._dropdown.style.bottom=U.bottom-p.bottom+le+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=p.top-U.top+le+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,hn.R)(this._dropdown,"mousedown").pipe((0,Te.R)(this._destroy$)).subscribe(p=>{"INPUT"!==p.target.tagName&&p.preventDefault()})})}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.Qsj),r.Y36(r.R0b),r.Y36(it),r.Y36(r.SBq),r.Y36(_n.K0,8))},w.\u0275cmp=r.Xpm({type:w,selectors:[["ng-dropdown-panel"]],viewQuery:function(p,U){if(1&p&&(r.Gf(Ln,7,r.SBq),r.Gf(Nn,7,r.SBq),r.Gf(Yn,7,r.SBq)),2&p){let le;r.iGM(le=r.CRH())&&(U.contentElementRef=le.first),r.iGM(le=r.CRH())&&(U.scrollElementRef=le.first),r.iGM(le=r.CRH())&&(U.paddingElementRef=le.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[r.TTD],ngContentSelectors:Kt,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(p,U){1&p&&(r.F$t(),r.YNc(0,Qt,2,4,"div",0),r.TgZ(1,"div",1,2),r._UZ(3,"div",null,3),r.TgZ(5,"div",null,4),r.Hsn(7),r.qZA()(),r.YNc(8,Fn,2,4,"div",5)),2&p&&(r.Q6J("ngIf",U.headerTemplate),r.xp6(3),r.ekj("total-padding",U.virtualScroll),r.xp6(2),r.ekj("scrollable-content",U.virtualScroll&&U.items.length),r.xp6(3),r.Q6J("ngIf",U.footerTemplate))},directives:[_n.O5,_n.tP],encapsulation:2,changeDetection:0}),w})(),On=(()=>{class w{constructor(p){this.elementRef=p,this.stateChange$=new Ht.xQ,this._disabled=!1}get disabled(){return this._disabled}set disabled(p){this._disabled=this._isDisabled(p)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(p){p.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(p){return null!=p&&"false"!=`${p}`}}return w.\u0275fac=function(p){return new(p||w)(r.Y36(r.SBq))},w.\u0275cmp=r.Xpm({type:w,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[r.TTD],ngContentSelectors:Kt,decls:1,vars:0,template:function(p,U){1&p&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),w})(),Mn=(()=>{class w{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return w.\u0275fac=function(p){return new(p||w)},w.\u0275prov=r.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),k=(()=>{class w{warn(p){console.warn(p)}}return w.\u0275fac=function(p){return new(p||w)},w.\u0275prov=r.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})();const Q=new r.OlP("ng-select-selection-model");let Z=(()=>{class w{constructor(p,U,le,he,de,Ne,ut){this.classes=p,this.autoFocus=U,this.config=le,this._cd=Ne,this._console=ut,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=Mt=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new r.vpe,this.focusEvent=new r.vpe,this.changeEvent=new r.vpe,this.openEvent=new r.vpe,this.closeEvent=new r.vpe,this.searchEvent=new r.vpe,this.clearEvent=new r.vpe,this.addEvent=new r.vpe,this.removeEvent=new r.vpe,this.scroll=new r.vpe,this.scrollToEnd=new r.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=St(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new Ht.xQ,this._keyPress$=new Ht.xQ,this._onChange=Mt=>{},this._onTouched=()=>{},this.clearItem=Mt=>{const It=this.selectedItems.find(yt=>yt.value===Mt);this.unselect(It)},this.trackByOption=(Mt,It)=>this.trackByFn?this.trackByFn(It.value):It,this._mergeGlobalConfig(le),this.itemsList=new Rt(this,he()),this.element=de.nativeElement}get items(){return this._items}set items(p){null===p&&(p=[]),this._itemsAreUsed=!0,this._items=p}get compareWith(){return this._compareWith}set compareWith(p){if(null!=p&&!wt(p))throw Error("`compareWith` must be a function.");this._compareWith=p}get clearSearchOnAdd(){return Ue(this._clearSearchOnAdd)?this._clearSearchOnAdd:Ue(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(p){this._clearSearchOnAdd=p}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(p=>p.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(p){p.multiple&&this.itemsList.clearSelected(),p.items&&this._setItems(p.items.currentValue||[]),p.isOpen&&(this._manualOpen=Ue(p.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Ue(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(p){if(xt[p.which]){if(!1===this.keyDownFn(p))return;this.handleKeyCode(p)}else p.key&&1===p.key.length&&this._keyPress$.next(p.key.toLocaleLowerCase())}handleKeyCode(p){switch(p.which){case xt.ArrowDown:this._handleArrowDown(p);break;case xt.ArrowUp:this._handleArrowUp(p);break;case xt.Space:this._handleSpace(p);break;case xt.Enter:this._handleEnter(p);break;case xt.Tab:this._handleTab(p);break;case xt.Esc:this.close(),p.preventDefault();break;case xt.Backspace:this._handleBackspace()}}handleMousedown(p){const U=p.target;"INPUT"!==U.tagName&&p.preventDefault(),U.classList.contains("ng-clear-wrapper")?this.handleClearClick():U.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():U.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){!this.clearable||(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(p){this.itemsList.clearSelected(),this._handleWriteValue(p),this._cd.markForCheck()}registerOnChange(p){this._onChange=p}registerOnTouched(p){this._onTouched=p}setDisabledState(p){this._disabled=p,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(p){!p||p.disabled||this.disabled||(this.multiple&&p.selected?this.unselect(p):this.select(p),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(p){p.selected||(this.itemsList.select(p),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(p.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(p){!p||(this.itemsList.unselect(p),this.focus(),this._updateNgModel(),this.removeEvent.emit(p))}selectTag(){let p;p=wt(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const U=le=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(le,null):this.itemsList.addItem(le);!function Ct(w){return w instanceof Promise}(p)?p&&this.select(U(p)):p.then(le=>this.select(U(le))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const p=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(U=>U.label.toLowerCase()===p)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(U=>U.label.toLowerCase()===p))&&!this.loading}showNoItemsFound(){const p=0===this.itemsList.filteredItems.length;return(p&&!this._isTypeahead&&!this.loading||p&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(p){this._isComposing=!1,!this.searchWhileComposing&&this.filter(p)}filter(p){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=p,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(p),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:p,items:this.itemsList.filteredItems.map(U=>U.value)}),this.open())}onInputFocus(p){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(p),this.focused=!0)}onInputBlur(p){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(p),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(p){p.disabled||this.itemsList.markItem(p)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const p=this.selectedItems&&this.selectedItems[0];this.searchTerm=p&&p.label||null}_setItems(p){const U=p[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Ue(U)?!ft(U):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(p),p.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Ue(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const p=le=>{this.items=le.map(he=>({$ngOptionValue:he.value,$ngOptionLabel:he.elementRef.nativeElement.innerHTML,disabled:he.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},U=()=>{const le=(0,Cn.T)(this.ngOptions.changes,this._destroy$);(0,Cn.T)(...this.ngOptions.map(he=>he.stateChange$)).pipe((0,Te.R)(le)).subscribe(he=>{const de=this.itemsList.findItem(he.value);de.disabled=he.disabled,de.label=he.label||de.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Oe.O)(this.ngOptions),(0,Te.R)(this._destroy$)).subscribe(le=>{this.bindLabel=this._defaultLabel,p(le),U()})}_isValidWriteValue(p){if(!Ue(p)||this.multiple&&""===p||Array.isArray(p)&&0===p.length)return!1;const U=le=>!(!Ue(this.compareWith)&&ft(le)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(le)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(p)?p.every(le=>U(le)):(this._console.warn("Multiple select ngModel should be array."),!1):U(p)}_handleWriteValue(p){if(!this._isValidWriteValue(p))return;const U=le=>{let he=this.itemsList.findItem(le);if(he)this.itemsList.select(he);else{const de=ft(le),Ne=!de&&!this.bindValue;de||Ne?this.itemsList.select(this.itemsList.mapItem(le,null)):this.bindValue&&(he={[this.bindLabel]:null,[this.bindValue]:le},this.itemsList.select(this.itemsList.mapItem(he,null)))}};this.multiple?p.forEach(le=>U(le)):U(p)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,Te.R)(this._destroy$),(0,Ie.b)(p=>this._pressedKeys.push(p)),(0,mt.b)(200),(0,rt.h)(()=>this._pressedKeys.length>0),(0,lt.U)(()=>this._pressedKeys.join(""))).subscribe(p=>{const U=this.itemsList.findByLabel(p);U&&(this.isOpen?(this.itemsList.markItem(U),this._scrollToMarked(),this._cd.markForCheck()):this.select(U)),this._pressedKeys=[]})}_setInputAttributes(){const p=this.searchInput.nativeElement,U={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const le of Object.keys(U))p.setAttribute(le,U[le])}_updateNgModel(){const p=[];for(const le of this.selectedItems)if(this.bindValue){let he=null;he=le.children?le.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(le.value,this.bindValue),p.push(he)}else p.push(le.value);const U=this.selectedItems.map(le=>le.value);this.multiple?(this._onChange(p),this.changeEvent.emit(U)):(this._onChange(Ue(p[0])?p[0]:null),this.changeEvent.emit(U[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(p){this.searchTerm=p,this._isTypeahead&&this.typeahead.next(p)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(p){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),p.preventDefault()):this.showAddTag?(this.selectTag(),p.preventDefault()):this.close():this.close())}_handleEnter(p){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}p.preventDefault()}_handleSpace(p){this.isOpen||this._manualOpen||(this.open(),p.preventDefault())}_handleArrowDown(p){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),p.preventDefault()}_handleArrowUp(p){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),p.preventDefault())}_nextItemIsTag(p){const U=this.itemsList.markedIndex+p;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(U<0||U===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const p=this.searchTerm&&this.searchTerm.trim();return p&&p.length>=this.minTermLength}_mergeGlobalConfig(p){this.placeholder=this.placeholder||p.placeholder,this.notFoundText=this.notFoundText||p.notFoundText,this.typeToSearchText=this.typeToSearchText||p.typeToSearchText,this.addTagText=this.addTagText||p.addTagText,this.loadingText=this.loadingText||p.loadingText,this.clearAllText=this.clearAllText||p.clearAllText,this.virtualScroll=Ue(this.virtualScroll)?this.virtualScroll:!!Ue(p.disableVirtualScroll)&&!p.disableVirtualScroll,this.openOnEnter=Ue(this.openOnEnter)?this.openOnEnter:p.openOnEnter,this.appendTo=this.appendTo||p.appendTo,this.bindValue=this.bindValue||p.bindValue,this.bindLabel=this.bindLabel||p.bindLabel,this.appearance=this.appearance||p.appearance}}return w.\u0275fac=function(p){return new(p||w)(r.$8M("class"),r.$8M("autofocus"),r.Y36(Mn),r.Y36(Q),r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(k))},w.\u0275cmp=r.Xpm({type:w,selectors:[["ng-select"]],contentQueries:function(p,U,le){if(1&p&&(r.Suo(le,At,5,r.Rgc),r.Suo(le,tt,5,r.Rgc),r.Suo(le,tn,5,r.Rgc),r.Suo(le,Me,5,r.Rgc),r.Suo(le,ie,5,r.Rgc),r.Suo(le,ee,5,r.Rgc),r.Suo(le,Se,5,r.Rgc),r.Suo(le,Ae,5,r.Rgc),r.Suo(le,Ke,5,r.Rgc),r.Suo(le,pt,5,r.Rgc),r.Suo(le,jt,5,r.Rgc),r.Suo(le,On,5)),2&p){let he;r.iGM(he=r.CRH())&&(U.optionTemplate=he.first),r.iGM(he=r.CRH())&&(U.optgroupTemplate=he.first),r.iGM(he=r.CRH())&&(U.labelTemplate=he.first),r.iGM(he=r.CRH())&&(U.multiLabelTemplate=he.first),r.iGM(he=r.CRH())&&(U.headerTemplate=he.first),r.iGM(he=r.CRH())&&(U.footerTemplate=he.first),r.iGM(he=r.CRH())&&(U.notFoundTemplate=he.first),r.iGM(he=r.CRH())&&(U.typeToSearchTemplate=he.first),r.iGM(he=r.CRH())&&(U.loadingTextTemplate=he.first),r.iGM(he=r.CRH())&&(U.tagTemplate=he.first),r.iGM(he=r.CRH())&&(U.loadingSpinnerTemplate=he.first),r.iGM(he=r.CRH())&&(U.ngOptions=he)}},viewQuery:function(p,U){if(1&p&&(r.Gf(Bt,5),r.Gf(Rn,7)),2&p){let le;r.iGM(le=r.CRH())&&(U.dropdownPanel=le.first),r.iGM(le=r.CRH())&&(U.searchInput=le.first)}},hostVars:20,hostBindings:function(p,U){1&p&&r.NdJ("keydown",function(he){return U.handleKeyDown(he)}),2&p&&r.ekj("ng-select-typeahead",U.typeahead)("ng-select-multiple",U.multiple)("ng-select-taggable",U.addTag)("ng-select-searchable",U.searchable)("ng-select-clearable",U.clearable)("ng-select-opened",U.isOpen)("ng-select",U.useDefaultClass)("ng-select-disabled",U.disabled)("ng-select-filtered",U.filtered)("ng-select-single",U.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[r._Bn([{provide:m.JU,useExisting:(0,r.Gpc)(()=>w),multi:!0},it]),r.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(p,U){if(1&p){const le=r.EpF();r.TgZ(0,"div",0),r.NdJ("mousedown",function(de){return U.handleMousedown(de)}),r.TgZ(1,"div",1)(2,"div",2),r._uU(3),r.qZA(),r.YNc(4,gr,2,2,"ng-container",3),r.YNc(5,wr,1,5,null,3),r.TgZ(6,"div",4)(7,"input",5,6),r.NdJ("input",function(){r.CHM(le);const de=r.MAs(8);return U.filter(de.value)})("compositionstart",function(){return U.onCompositionStart()})("compositionend",function(){r.CHM(le);const de=r.MAs(8);return U.onCompositionEnd(de.value)})("focus",function(de){return U.onInputFocus(de)})("blur",function(de){return U.onInputBlur(de)})("change",function(de){return de.stopPropagation()}),r.qZA()()(),r.YNc(9,mn,4,1,"ng-container",3),r.YNc(10,$n,3,1,"span",7),r.TgZ(11,"span",8),r._UZ(12,"span",9),r.qZA()(),r.YNc(13,an,7,19,"ng-dropdown-panel",10)}2&p&&(r.ekj("ng-appearance-outline","outline"===U.appearance)("ng-has-value",U.hasValue),r.xp6(3),r.Oqu(U.placeholder),r.xp6(1),r.Q6J("ngIf",(!U.multiLabelTemplate||!U.multiple)&&U.selectedItems.length>0),r.xp6(1),r.Q6J("ngIf",U.multiple&&U.multiLabelTemplate&&U.selectedValues.length>0),r.xp6(1),r.uIk("aria-expanded",U.isOpen)("aria-owns",U.isOpen?U.dropdownId:null),r.xp6(1),r.Q6J("readOnly",!U.searchable||U.itemsList.maxItemsSelected)("disabled",U.disabled)("value",U.searchTerm?U.searchTerm:""),r.uIk("id",U.labelForId)("tabindex",U.tabIndex)("aria-activedescendant",U.isOpen?null==U.itemsList||null==U.itemsList.markedItem?null:U.itemsList.markedItem.htmlId:null)("aria-controls",U.isOpen?U.dropdownId:null),r.xp6(2),r.Q6J("ngIf",U.loading),r.xp6(1),r.Q6J("ngIf",U.showClear()),r.xp6(3),r.Q6J("ngIf",U.isOpen))},directives:[Bt,_n.O5,_n.sg,Lt,_n.tP,_n.mk],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),w})();function re(){return new Ce}class Ce{constructor(){this._selected=[]}get value(){return this._selected}select(S,p,U){if(S.selected=!0,(!S.children||!p&&U)&&this._selected.push(S),p)if(S.parent){const le=S.parent.children.length,he=S.parent.children.filter(de=>de.selected).length;S.parent.selected=le===he}else S.children&&(this._setChildrenSelectedState(S.children,!0),this._removeChildren(S),this._selected=U&&this._activeChildren(S)?[...this._selected.filter(le=>le.parent!==S),S]:[...this._selected,...S.children.filter(le=>!le.disabled)])}unselect(S,p){if(this._selected=this._selected.filter(U=>U!==S),S.selected=!1,p)if(S.parent&&S.parent.selected){const U=S.parent.children;this._removeParent(S.parent),this._removeChildren(S.parent),this._selected.push(...U.filter(le=>le!==S&&!le.disabled)),S.parent.selected=!1}else S.children&&(this._setChildrenSelectedState(S.children,!1),this._removeChildren(S))}clear(S){this._selected=S?this._selected.filter(p=>p.disabled):[]}_setChildrenSelectedState(S,p){for(const U of S)U.disabled||(U.selected=p)}_removeChildren(S){this._selected=[...this._selected.filter(p=>p.parent!==S),...S.children.filter(p=>p.parent===S&&p.disabled&&p.selected)]}_removeParent(S){this._selected=this._selected.filter(p=>p!==S)}_activeChildren(S){return S.children.every(p=>!p.disabled||p.selected)}}let ue=(()=>{class w{}return w.\u0275fac=function(p){return new(p||w)},w.\u0275mod=r.oAB({type:w}),w.\u0275inj=r.cJS({providers:[{provide:Q,useValue:re}],imports:[[_n.ez]]}),w})()},3044:(J,F,h)=>{"use strict";h.d(F,{TO:()=>Ft,Hz:()=>Bt,mr:()=>Mn,Mq:()=>On});var r=h(5062),m=h(2198);class B{constructor(Q,Z){this.open=Q,this.close=Z||Q}isManual(){return"manual"===this.open||"manual"===this.close}}const A={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const L=typeof window<"u"&&window||{};let Ye;function _e(){if(typeof L.document>"u")return"bs4";const k=L.document.createElement("span");k.innerText="testing bs version",k.classList.add("d-none"),k.classList.add("pl-1"),L.document.head.appendChild(k);const Q=k.getBoundingClientRect(),Z=L.getComputedStyle(k).paddingLeft;return!Q||Q&&0!==Q.top?(L.document.head.removeChild(k),"bs3"):Z&&parseFloat(Z)?(L.document.head.removeChild(k),"bs4"):(L.document.head.removeChild(k),"bs5")}function ve(){return typeof L>"u"||(typeof L.__theme>"u"?(Ye||(Ye=_e()),"bs3"===Ye):"bs3"===L.__theme)}function Ve(){return!ve()&&(Ye||(Ye=_e()),"bs4"===Ye)}function nt(){return{isBs3:ve(),isBs4:Ve(),isBs5:!ve()&&!Ve()&&(Ye||(Ye=_e()),"bs5"===Ye)}}typeof console>"u"||console;var _n=h(6895),Ln=h(8929),Nn=h(6787),Yn=h(3753),Vt=h(1086),Qt=h(352),Fn=(()=>{return(k=Fn||(Fn={})).top="top",k.bottom="bottom",k.left="left",k.right="right",k.auto="auto",k.end="right",k.start="left",k["top left"]="top left",k["top right"]="top right",k["right top"]="right top",k["right bottom"]="right bottom",k["bottom right"]="bottom right",k["bottom left"]="bottom left",k["left bottom"]="left bottom",k["left top"]="left top",k["top start"]="top left",k["top end"]="top right",k["end top"]="right top",k["end bottom"]="right bottom",k["bottom end"]="bottom right",k["bottom start"]="bottom left",k["start bottom"]="start bottom",k["start top"]="left top",Fn;var k})(),Kt=(()=>{return(k=Kt||(Kt={})).top="top",k.bottom="bottom",k.left="start",k.right="end",k.auto="auto",k.end="end",k.start="start",k["top left"]="top start",k["top right"]="top end",k["right top"]="end top",k["right bottom"]="end bottom",k["bottom right"]="bottom end",k["bottom left"]="bottom start",k["left bottom"]="start bottom",k["left top"]="start top",k["top start"]="top start",k["top end"]="top end",k["end top"]="end top",k["end bottom"]="end bottom",k["bottom end"]="bottom end",k["bottom start"]="bottom start",k["start bottom"]="start bottom",k["start top"]="start top",Kt;var k})();function Rn(k,Q){if(1!==k.nodeType)return[];const re=k.ownerDocument.defaultView?.getComputedStyle(k,null);return Q?re&&re[Q]:re}function Sn(k){if(!k)return document.documentElement;let re,Z=k?.offsetParent;for(;null===Z&&k.nextElementSibling&&re!==k.nextElementSibling;)re=k.nextElementSibling,Z=re.offsetParent;const Ce=Z&&Z.nodeName;return Ce&&"BODY"!==Ce&&"HTML"!==Ce?Z&&-1!==["TH","TD","TABLE"].indexOf(Z.nodeName)&&"static"===Rn(Z,"position")?Sn(Z):Z:re?re.ownerDocument.documentElement:document.documentElement}function Dn(k){return null!==k.parentNode?Dn(k.parentNode):k}function bn(k,Q){if(!(k&&k.nodeType&&Q&&Q.nodeType))return document.documentElement;const Z=k.compareDocumentPosition(Q)&Node.DOCUMENT_POSITION_FOLLOWING,re=Z?k:Q,Ce=Z?Q:k,ue=document.createRange();ue.setStart(re,0),ue.setEnd(Ce,0);const w=ue.commonAncestorContainer;if(k!==w&&Q!==w||re.contains(Ce))return function ur(k){const{nodeName:Q}=k;return"BODY"!==Q&&("HTML"===Q||Sn(k.firstElementChild)===k)}(w)?w:Sn(w);const S=Dn(k);return S.host?bn(S.host,Q):bn(k,Dn(Q).host)}function gr(k){if(!k||!k.parentElement)return document.documentElement;let Q=k.parentElement;for(;Q?.parentElement&&"none"===Rn(Q,"transform");)Q=Q.parentElement;return Q||document.documentElement}function dr(k,Q){const Z="x"===Q?"Left":"Top",re="Left"===Z?"Right":"Bottom";return parseFloat(k[`border${Z}Width`])+parseFloat(k[`border${re}Width`])}function br(k,Q,Z,re){return Math.max(Q[`offset${k}`],Q[`scroll${k}`],Z[`client${k}`],Z[`offset${k}`],Z[`scroll${k}`],0)}function wr(k){const Q=k.body,Z=k.documentElement;return{height:br("Height",Q,Z),width:br("Width",Q,Z)}}function sr(k){return{...k,right:(k.left||0)+k.width,bottom:(k.top||0)+k.height}}function mn(k){return"number"==typeof k||"[object Number]"===Object.prototype.toString.call(k)}function $n(k){const Q=k.getBoundingClientRect();if(!(Q&&mn(Q.top)&&mn(Q.left)&&mn(Q.bottom)&&mn(Q.right)))return Q;const Z={left:Q.left,top:Q.top,width:Q.right-Q.left,height:Q.bottom-Q.top},re="HTML"===k.nodeName?wr(k.ownerDocument):void 0,Ce=re?.width||k.clientWidth||mn(Q.right)&&mn(Z.left)&&Q.right-Z.left||0,ue=re?.height||k.clientHeight||mn(Q.bottom)&&mn(Z.top)&&Q.bottom-Z.top||0;let w=k.offsetWidth-Ce,S=k.offsetHeight-ue;if(w||S){const p=Rn(k);w-=dr(p,"x"),S-=dr(p,"y"),Z.width-=w,Z.height-=S}return sr(Z)}function $t(k){return"HTML"===k.nodeName?k:k.parentNode||k.host}function Ze(k){if(!k)return document.body;switch(k.nodeName){case"HTML":case"BODY":return k.ownerDocument.body;case"#document":return k.body}const{overflow:Q,overflowX:Z,overflowY:re}=Rn(k);return/(auto|scroll|overlay)/.test(String(Q)+String(re)+String(Z))?k:Ze($t(k))}function Ee(k,Q,Z=!1){const re="HTML"===Q.nodeName,Ce=$n(k),ue=$n(Q),S=(Ze(k),Rn(Q)),p=parseFloat(S.borderTopWidth),U=parseFloat(S.borderLeftWidth);Z&&re&&(ue.top=Math.max(ue.top??0,0),ue.left=Math.max(ue.left??0,0));const le=sr({top:(Ce.top??0)-(ue.top??0)-p,left:(Ce.left??0)-(ue.left??0)-U,width:Ce.width,height:Ce.height});if(le.marginTop=0,le.marginLeft=0,re){const he=parseFloat(S.marginTop),de=parseFloat(S.marginLeft);mn(le.top)&&(le.top-=p-he),mn(le.bottom)&&(le.bottom-=p-he),mn(le.left)&&(le.left-=U-de),mn(le.right)&&(le.right-=U-de),le.marginTop=he,le.marginLeft=de}return le}function be(k,Q="top"){const Z="top"===Q?"scrollTop":"scrollLeft",re=k.nodeName;if("BODY"===re||"HTML"===re){const Ce=k.ownerDocument.documentElement;return(k.ownerDocument.scrollingElement||Ce)[Z]}return k[Z]}function ze(k){const Q=k.nodeName;return"BODY"!==Q&&"HTML"!==Q&&("fixed"===Rn(k,"position")||ze($t(k)))}function We(k,Q,Z=0,re,Ce=!1){let ue={top:0,left:0};const w=Ce?gr(k):bn(k,Q);if("viewport"===re)ue=function st(k,Q=!1){const Z=k.ownerDocument.documentElement,re=Ee(k,Z),Ce=Math.max(Z.clientWidth,window.innerWidth||0),ue=Math.max(Z.clientHeight,window.innerHeight||0),w=Q?0:be(Z),S=Q?0:be(Z,"left");return sr({top:w-Number(re?.top)+Number(re?.marginTop),left:S-Number(re?.left)+Number(re?.marginLeft),width:Ce,height:ue})}(w,Ce);else{let S;"scrollParent"===re?(S=Ze($t(Q)),"BODY"===S.nodeName&&(S=k.ownerDocument.documentElement)):S="window"===re?k.ownerDocument.documentElement:re;const p=Ee(S,w,Ce);if(p&&"HTML"===S.nodeName&&!ze(w)){const{height:U,width:le}=wr(k.ownerDocument);mn(ue.top)&&mn(p.top)&&mn(p.marginTop)&&(ue.top+=p.top-p.marginTop),mn(ue.top)&&(ue.bottom=Number(U)+Number(p.top)),mn(ue.left)&&mn(p.left)&&mn(p.marginLeft)&&(ue.left+=p.left-p.marginLeft),mn(ue.top)&&(ue.right=Number(le)+Number(p.left))}else p&&(ue=p)}return mn(ue.left)&&(ue.left+=Z),mn(ue.top)&&(ue.top+=Z),mn(ue.right)&&(ue.right-=Z),mn(ue.bottom)&&(ue.bottom-=Z),ue}function ct({width:k,height:Q}){return k*Q}function En(k,Q,Z,re,Ce=["top","bottom","right","left"],ue="viewport",w=0){if(-1===k.indexOf("auto"))return k;const S=We(Z,re,w,ue),p={top:{width:S?.width??0,height:(Q?.top??0)-(S?.top??0)},right:{width:(S?.right??0)-(Q?.right??0),height:S?.height??0},bottom:{width:S?.width??0,height:(S?.bottom??0)-(Q?.bottom??0)},left:{width:(Q.left??0)-(S?.left??0),height:S?.height??0}},U=Object.keys(p).map(Ne=>({position:Ne,...p[Ne],area:ct(p[Ne])})).sort((Ne,ut)=>ut.area-Ne.area);let le=U.filter(({width:Ne,height:ut})=>Ne>=Z.clientWidth&&ut>=Z.clientHeight);le=le.filter(({position:Ne})=>Ce.some(ut=>ut===Ne));const he=le.length>0?le[0].position:U[0].position,de=k.split(" ")[1];return Z.className=Z.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${nt().isBs5?Kt[he]:he}`),he+(de?`-${de}`:"")}const fn=(k,Q=0)=>k?parseFloat(k):Q;function Pn(k){const Z=k.ownerDocument.defaultView?.getComputedStyle(k),re=fn(Z?.marginTop)+fn(Z?.marginBottom),Ce=fn(Z?.marginLeft)+fn(Z?.marginRight);return{width:Number(k.offsetWidth)+Ce,height:Number(k.offsetHeight)+re}}function Gt(k,Q,Z){return Ee(Q,Z?gr(k):bn(k,Q),Z)}function Zt(k,Q,Z){const re=Z.split(" ")[0],Ce=Pn(k),ue={width:Ce.width,height:Ce.height},w=-1!==["right","left"].indexOf(re),S=w?"top":"left",p=w?"left":"top",U=w?"height":"width",le=w?"width":"height";return ue[S]=(Q[S]??0)+Q[U]/2-Ce[U]/2,ue[p]=re===p?(Q[p]??0)-Ce[le]:Q[function Nt(k){const Q={left:"right",right:"left",bottom:"top",top:"bottom"};return k.replace(/left|right|bottom|top/g,Z=>Q[Z])}(p)]??0,ue}function an(k,Q){return!!k.modifiers[Q]?.enabled}const ge={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 De(k,Q){return!!nt().isBs5&&ge[Q].includes(k)}function Ue(k,Q,Z){!k||!Q||Object.keys(Q).forEach(re=>{let Ce="";-1!==["width","height","top","right","bottom","left"].indexOf(re)&&function Un(k){return""!==k&&!isNaN(parseFloat(k))&&isFinite(Number(k))}(Q[re])&&(Ce="px"),Z?Z.setStyle(k,re,`${String(Q[re])}${Ce}`):k.style[re]=String(Q[re])+Ce})}function ft(k){let Q=k.offsets.target;const Z=k.instance.target.querySelector(".arrow");if(!Z)return k;const re=-1!==["left","right"].indexOf(k.placement.split(" ")[0]),Ce=re?"height":"width",ue=re?"Top":"Left",w=ue.toLowerCase(),S=re?"left":"top",p=re?"bottom":"right",U=Pn(Z)[Ce],le=k.placement.split(" ")[1];(k.offsets.host[p]??0)-U<(Q[w]??0)&&(Q[w]-=(Q[w]??0)-((k.offsets.host[p]??0)-U)),Number(k.offsets.host[w])+Number(U)>(Q[p]??0)&&(Q[w]+=Number(k.offsets.host[w])+Number(U)-Number(Q[p])),Q=sr(Q);const he=Rn(k.instance.target),de=parseFloat(he[`margin${ue}`])||0,Ne=parseFloat(he[`border${ue}Width`])||0;let ut;if(le){const It=parseFloat(he.borderRadius)||0,yt=Number(de+Ne+It);ut=w===le?Number(k.offsets.host[w])+yt:Number(k.offsets.host[w])+Number(k.offsets.host[Ce]-yt)}else ut=Number(k.offsets.host[w])+Number(k.offsets.host[Ce]/2-U/2);let Mt=ut-(Q[w]??0)-de-Ne;return Mt=Math.max(Math.min(Q[Ce]-(U+5),Mt),0),k.offsets.arrow={[w]:Math.round(Mt),[S]:""},k.instance.arrow=Z,k}function Ct(k){if(k.offsets.target=sr(k.offsets.target),!an(k.options,"flip"))return k.offsets.target={...k.offsets.target,...Zt(k.instance.target,k.offsets.host,k.placement)},k;const Q=We(k.instance.target,k.instance.host,0,"viewport",!1);let Z=k.placement.split(" ")[0],re=k.placement.split(" ")[1]||"";const S=En("auto",k.offsets.host,k.instance.target,k.instance.host,k.options.allowedPositions),p=[Z,S];return p.forEach((U,le)=>{if(Z!==U||p.length===le+1)return;Z=k.placement.split(" ")[0];const he="left"===Z&&Math.floor(k.offsets.target.right??0)>Math.floor(k.offsets.host.left??0)||"right"===Z&&Math.floor(k.offsets.target.left??0)<Math.floor(k.offsets.host.right??0)||"top"===Z&&Math.floor(k.offsets.target.bottom??0)>Math.floor(k.offsets.host.top??0)||"bottom"===Z&&Math.floor(k.offsets.target.top??0)<Math.floor(k.offsets.host.bottom??0),de=Math.floor(k.offsets.target.left??0)<Math.floor(Q.left??0),Ne=Math.floor(k.offsets.target.right??0)>Math.floor(Q.right??0),ut=Math.floor(k.offsets.target.top??0)<Math.floor(Q.top??0),Mt=Math.floor(k.offsets.target.bottom??0)>Math.floor(Q.bottom??0),It="left"===Z&&de||"right"===Z&&Ne||"top"===Z&&ut||"bottom"===Z&&Mt,yt=-1!==["top","bottom"].indexOf(Z),Et=yt&&"left"===re&&de||yt&&"right"===re&&Ne||!yt&&"left"===re&&ut||!yt&&"right"===re&&Mt;(he||It||Et)&&((he||It)&&(Z=p[le+1]),Et&&(re=function Qn(k){return"right"===k?"left":"left"===k?"right":k}(re)),k.placement=Z+(re?` ${re}`:""),k.offsets.target={...k.offsets.target,...Zt(k.instance.target,k.offsets.host,k.placement)})}),k}function Lt(k){if(!an(k.options,"preventOverflow"))return k;const Q="transform",Z=k.instance.target.style,{top:re,left:Ce,[Q]:ue}=Z;Z.top="",Z.left="",Z[Q]="";const w=We(k.instance.target,k.instance.host,0,k.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);Z.top=re,Z.left=Ce,Z[Q]=ue;const p={primary(U){let le=k.offsets.target[U];return(k.offsets.target[U]??0)<(w[U]??0)&&(le=Math.max(k.offsets.target[U]??0,w[U]??0)),{[U]:le}},secondary(U){const le="right"===U,he=le?"left":"top";let Ne=k.offsets.target[he];return(k.offsets.target[U]??0)>(w[U]??0)&&(Ne=Math.min(k.offsets.target[he]??0,(w[U]??0)-k.offsets.target[le?"width":"height"])),{[he]:Ne}}};return["left","right","top","bottom"].forEach(U=>{const le=-1!==["left","top","start"].indexOf(U)?p.primary:p.secondary;k.offsets.target={...k.offsets.target,...le(U)}}),k}function At(k){const Q=k.placement,Z=Q.split(" ")[0],re=Q.split(" ")[1];if(re){const{host:Ce,target:ue}=k.offsets,w=-1!==["bottom","top"].indexOf(Z),S=w?"left":"top",p=w?"width":"height",U={start:{[S]:Ce[S]},end:{[S]:(Ce[S]??0)+Ce[p]-ue[p]}};k.offsets.target={...ue,[S]:S===re?U.start[S]:U.end[S]}}return k}const tn=new class tt{position(Q,Z){return this.offset(Q,Z)}offset(Q,Z){return Gt(Z,Q)}positionElements(Q,Z,re,Ce,ue){const w=[Ct,At,Lt,ft],p=function wt(k,Q,Z,re){if(!k||!Q)return;const Ce=Gt(k,Q);!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 ue=!!Z.match(/auto/g);let w=Z.match(/auto\s(left|right|top|bottom|start|end)/)?Z.split(" ")[1]||"auto":Z;const S=w.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return S&&(w=S[1]+(S[2]?` ${S[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(w)&&(w="auto"),w=En(w,Ce,k,Q,re?re.allowedPositions:void 0),{options:re||{modifiers:{}},instance:{target:k,host:Q,arrow:void 0},offsets:{target:Zt(k,Ce,w),host:Ce,arrow:void 0},positionFixed:!1,placement:w,placementAuto:ue}}(Z,Q,Fn[re],ue);if(p)return w.reduce((U,le)=>le(U),p)}};function Me(k,Q,Z,re,Ce,ue){const w=tn.positionElements(k,Q,Z,re,Ce);if(!w)return;const S=function Xt(k){return{width:k.offsets.target.width,height:k.offsets.target.height,left:Math.floor(k.offsets.target.left??0),top:Math.round(k.offsets.target.top??0),bottom:Math.round(k.offsets.target.bottom??0),right:Math.floor(k.offsets.target.right??0)}}(w);Ue(Q,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${S.left}px, ${S.top}px, 0px)`},ue),w.instance.arrow&&Ue(w.instance.arrow,w.offsets.arrow,ue),function Re(k,Q){const Z=k.instance.target;let re=Z.className;const Ce=nt().isBs5?Kt[k.placement]:k.placement;k.placementAuto&&(re=re.replace(/bs-popover-auto/g,`bs-popover-${Ce}`),re=re.replace(/ms-2|me-2|mb-2|mt-2/g,""),re=re.replace(/bs-tooltip-auto/g,`bs-tooltip-${Ce}`),re=re.replace(/\sauto/g,` ${Ce}`),-1!==re.indexOf("popover")&&(re=re+" "+function Fe(k){return nt().isBs5?De(k,"end")?"ms-2":De(k,"start")?"me-2":De(k,"top")?"mb-2":De(k,"bottom")?"mt-2":"":""}(Ce)),-1!==re.indexOf("popover")&&-1===re.indexOf("popover-auto")&&(re+=" popover-auto"),-1!==re.indexOf("tooltip")&&-1===re.indexOf("tooltip-auto")&&(re+=" tooltip-auto")),re=re.replace(/left|right|top|bottom|end|start/g,`${Ce.split(" ")[0]}`),Q?Q.setAttribute(Z,"class",re):Z.className=re}(w,ue)}let ie=(()=>{class k{constructor(Z,re,Ce){this.update$$=new Ln.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,_n.NF)(Ce)&&Z.runOutsideAngular(()=>{this.triggerEvent$=(0,Nn.T)((0,Yn.R)(window,"scroll",{passive:!0}),(0,Yn.R)(window,"resize",{passive:!0}),(0,Vt.of)(0,Qt.Z),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(ue=>{Me(ee(ue.target),ee(ue.element),ue.attachment,ue.appendToBody,this.options,re.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(ee(Z.element),Z)}calcPosition(){this.update$$.next(null)}deletePositionElement(Z){this.positionElements.delete(ee(Z))}setOptions(Z){this.options=Z}}return k.\u0275fac=function(Z){return new(Z||k)(r.LFG(r.R0b),r.LFG(r.FYo),r.LFG(r.Lbi))},k.\u0275prov=r.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function ee(k){return"string"==typeof k?document.querySelector(k):k instanceof r.SBq?k.nativeElement:k??null}class Ae{constructor(Q,Z,re){this.nodes=Q,this.viewRef=Z,this.componentRef=re}}class Ke{constructor(Q,Z,re,Ce,ue,w,S,p){this._viewContainerRef=Q,this._renderer=Z,this._elementRef=re,this._injector=Ce,this._componentFactoryResolver=ue,this._ngZone=w,this._applicationRef=S,this._posService=p,this.onBeforeShow=new r.vpe,this.onShown=new r.vpe,this.onBeforeHide=new r.vpe,this.onHidden=new r.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(Q){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(Q),this}to(Q){return this.container=Q||this.container,this}position(Q){return Q?(this.attachment=Q.attachment||this.attachment,this._elementRef=Q.target||this._elementRef,this):this}provide(Q){return this._providers.push(Q),this}show(Q={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(Q.content,Q.context,Q.initialState);const Z=r.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,Q),this.container instanceof r.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const re=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!re)return;re.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(Q.id?{id:Q.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(Q){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(Q?{id:Q}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(Q){this.triggers=Q.triggers||this.triggers,this._listenOpts.outsideClick=Q.outsideClick,this._listenOpts.outsideEsc=Q.outsideEsc,Q.target=Q.target||this._elementRef?.nativeElement;const Z=this._listenOpts.hide=()=>Q.hide?Q.hide():void this.hide(),re=this._listenOpts.show=ue=>{Q.show?Q.show(ue):this.show(ue),ue()};return this._renderer&&(this._unregisterListenersFn=function j(k,Q){const Z=function x(k,Q=A){const Z=(k||"").trim();if(0===Z.length)return[];const re=Z.split(/\s+/).map(ue=>ue.split(":")).map(ue=>{const w=Q[ue[0]]||ue;return new B(w[0],w[1])}),Ce=re.filter(ue=>ue.isManual());if(Ce.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Ce.length&&re.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return re}(Q.triggers),re=Q.target;if(1===Z.length&&Z[0].isManual())return Function.prototype;const Ce=[],ue=[],w=()=>{ue.forEach(S=>Ce.push(S())),ue.length=0};return Z.forEach(S=>{const p=S.open===S.close,U=p?Q.toggle:Q.show;if(!p&&S.close&&Q.hide){const le=k.listen(re,S.close,Q.hide);ue.push(()=>le)}U&&Ce.push(k.listen(re,S.open,()=>U(w)))}),()=>{Ce.forEach(S=>S())}}(this._renderer,{target:Q.target,triggers:Q.triggers,show:re,hide:Z,toggle:ue=>{this.isShown?Z():re(ue)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(Q,Z){return Q&&Z&&(this._inlineViewRef=Q.createEmbeddedView(Z)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const Q=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function O(k,Q){return Q.outsideClick?k.listen("document","click",Z=>{Q.target&&Q.target.contains(Z.target)||Q.targets&&Q.targets.some(re=>re.contains(Z.target))||Q.hide&&Q.hide()}):Function.prototype}(this._renderer,{targets:[Q,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function G(k,Q){return Q.outsideEsc?k.listen("document","keyup.esc",Z=>{Q.target&&Q.target.contains(Z.target)||Q.targets&&Q.targets.some(re=>re.contains(Z.target))||Q.hide&&Q.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(Q,Z,re){if(!Q)return new Ae([]);if(Q instanceof r.Rgc){if(this._viewContainerRef){const w=this._viewContainerRef.createEmbeddedView(Q,Z);return w.markForCheck(),new Ae([w.rootNodes],w)}const ue=Q.createEmbeddedView({});return this._applicationRef.attachView(ue),new Ae([ue.rootNodes],ue)}if("function"==typeof Q){const ue=this._componentFactoryResolver.resolveComponentFactory(Q),w=r.zs3.create({providers:this._providers,parent:this._injector}),S=ue.create(w);return Object.assign(S.instance,re),this._applicationRef.attachView(S.hostView),new Ae([[S.location.nativeElement]],S.hostView,S)}const Ce=this._renderer?[this._renderer.createText(`${Q}`)]:[];return new Ae([Ce])}}let pt=(()=>{class k{constructor(Z,re,Ce,ue,w){this._componentFactoryResolver=Z,this._ngZone=re,this._injector=Ce,this._posService=ue,this._applicationRef=w}createLoader(Z,re,Ce){return new Ke(re,Ce,Z,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return k.\u0275fac=function(Z){return new(Z||k)(r.LFG(r._Vd),r.LFG(r.R0b),r.LFG(r.zs3),r.LFG(ie),r.LFG(r.z2F))},k.\u0275prov=r.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();var jt=h(7340);const St=function(k){return{dropdown:k}},pn=["*"];let Pt=(()=>{class k{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return k.\u0275fac=function(Z){return new(Z||k)},k.\u0275prov=r.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),Rt=(()=>{class k{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new r.vpe,this.isDisabledChange=new r.vpe,this.toggleClick=new r.vpe,this.counts=0,this.dropdownMenu=new Promise(Z=>{this.resolveDropdownMenu=Z})}}return k.\u0275fac=function(Z){return new(Z||k)},k.\u0275prov=r.Yz7({token:k,factory:k.\u0275fac,providedIn:"platform"}),k})();const it=[(0,jt.oB)({height:0,overflow:"hidden"}),(0,jt.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,jt.oB)({height:"*",overflow:"hidden"}))];let gt=(()=>{class k{constructor(Z,re,Ce,ue,w){this._state=Z,this.cd=re,this._renderer=Ce,this._element=ue,this.isOpen=!1,this._factoryDropDownAnimation=w.build(it),this._subscription=Z.isOpenChange.subscribe(S=>{this.isOpen=S;const p=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),p&&!ve()&&(this._renderer.addClass(p,"show"),(p.classList.contains("dropdown-menu-right")||p.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(p,"left","auto"),this._renderer.setStyle(p,"right","0")),"up"===this.direction&&(this._renderer.setStyle(p,"top","auto"),this._renderer.setStyle(p,"transform","translateY(-101%)"))),p&&this._state.isAnimated&&this._factoryDropDownAnimation.create(p).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 k.\u0275fac=function(Z){return new(Z||k)(r.Y36(Rt),r.Y36(r.sBO),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(jt._j))},k.\u0275cmp=r.Xpm({type:k,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:pn,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(Z,re){1&Z&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA()),2&Z&&(r.ekj("dropup","up"===re.direction)("show",re.isOpen)("open",re.isOpen),r.Q6J("ngClass",r.VKq(7,St,"down"===re.direction)))},directives:[_n.mk],encapsulation:2,changeDetection:0}),k})(),Ft=(()=>{class k{constructor(Z,re,Ce,ue,w,S,p){this._elementRef=Z,this._renderer=re,this._viewContainerRef=Ce,this._cis=ue,this._state=w,this._config=S,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=p.build(it),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Rt,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!ve()}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,m.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 re=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=re?"up":"down";const Ce=this.placement||(re?"top start":"bottom start");this._dropdown.attach(gt).to(this.container).position({attachment:Ce}).show({content:Z.templateRef,placement:Ce}),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 re=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!re)return;const Ce=this._elementRef.nativeElement.ownerDocument.activeElement,ue=re.querySelectorAll(".dropdown-item");switch(Z.keyCode){case 38:this._state.counts>0&&ue[--this._state.counts].focus();break;case 40:this._state.counts+1<ue.length&&(Ce.classList!==ue[this._state.counts].classList?ue[this._state.counts].focus():ue[++this._state.counts].focus())}Z.preventDefault()}ngOnDestroy(){for(const Z of this._subscriptions)Z.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){ve()||(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 k.\u0275fac=function(Z){return new(Z||k)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.s_b),r.Y36(pt),r.Y36(Rt),r.Y36(Pt),r.Y36(jt._j))},k.\u0275dir=r.lG2({type:k,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(Z,re){1&Z&&r.NdJ("keydown.arrowDown",function(ue){return re.navigationClick(ue)})("keydown.arrowUp",function(ue){return re.navigationClick(ue)}),2&Z&&r.ekj("dropup",re.dropup)("open",re.isOpen)("show",re.isOpen&&re.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:[r._Bn([Rt])]}),k})(),Bt=(()=>{class k{constructor(Z,re,Ce){Z.resolveDropdownMenu({templateRef:Ce,viewContainer:re})}}return k.\u0275fac=function(Z){return new(Z||k)(r.Y36(Rt),r.Y36(r.s_b),r.Y36(r.Rgc))},k.\u0275dir=r.lG2({type:k,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),k})(),On=(()=>{class k{constructor(Z,re,Ce,ue,w){this._changeDetectorRef=Z,this._dropdown=re,this._element=Ce,this._renderer=ue,this._state=w,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(S=>{this.isOpen=S,S?(this._documentClickListener=this._renderer.listen("document","click",p=>{this._state.autoClose&&2!==p.button&&!this._element.nativeElement.contains(p.target)&&(!this._state.insideClick||!this._dropdown._contains(p))&&(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(S=>this.isDisabled=S||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 k.\u0275fac=function(Z){return new(Z||k)(r.Y36(r.sBO),r.Y36(Ft),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Rt))},k.\u0275dir=r.lG2({type:k,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(Z,re){1&Z&&r.NdJ("click",function(ue){return re.onClick(ue)}),2&Z&&r.uIk("aria-haspopup",!0)("disabled",re.isDisabled)("aria-expanded",re.isOpen)},exportAs:["bs-dropdown-toggle"]}),k})(),Mn=(()=>{class k{static forRoot(){return{ngModule:k,providers:[pt,ie,Rt]}}}return k.\u0275fac=function(Z){return new(Z||k)},k.\u0275mod=r.oAB({type:k}),k.\u0275inj=r.cJS({imports:[[_n.ez]]}),k})()}}]);
Back to Directory
File Manager