/*! For license information please see vendor.8fd774dacc8c81c0f96c.js.LICENSE.txt */
(self.webpackChunkserver_side_rendering=self.webpackChunkserver_side_rendering||[]).push([[736],{17238:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AUTO_STYLE:()=>i,AnimationBuilder:()=>r,AnimationFactory:()=>s,NoopAnimationPlayer:()=>b,animate:()=>a,animateChild:()=>g,animation:()=>p,group:()=>u,keyframes:()=>d,query:()=>y,sequence:()=>l,stagger:()=>v,state:()=>h,style:()=>c,transition:()=>f,trigger:()=>o,useAnimation:()=>m,ɵAnimationGroupPlayer:()=>w,ɵPRE_STYLE:()=>C});class r{}class s{}const i="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function u(e,t=null){return{type:3,steps:e,options:t}}function l(e,t=null){return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function h(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e){return{type:5,steps:e}}function f(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function p(e,t=null){return{type:8,animation:e,options:t}}function g(e=null){return{type:9,options:e}}function m(e,t=null){return{type:10,animation:e,options:t}}function y(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function v(e,t){return{type:12,timings:e,animation:t}}function _(e){Promise.resolve(null).then(e)}class b{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((e=>e())),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){_((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((e=>e())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((e=>e())),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}}class w{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const s=this.players.length;0==s?_((()=>this._onFinish())):this.players.forEach((e=>{e.onDone((()=>{++t==s&&this._onFinish()})),e.onDestroy((()=>{++n==s&&this._onDestroy()})),e.onStart((()=>{++r==s&&this._onStart()}))})),this.totalTime=this.players.reduce(((e,t)=>Math.max(e,t.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((e=>e())),this._onDoneFns=[])}init(){this.players.forEach((e=>e.init()))}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((e=>e())),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((e=>e.play()))}pause(){this.players.forEach((e=>e.pause()))}restart(){this.players.forEach((e=>e.restart()))}finish(){this._onFinish(),this.players.forEach((e=>e.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((e=>e.destroy())),this._onDestroyFns.forEach((e=>e())),this._onDestroyFns=[])}reset(){this.players.forEach((e=>e.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach((e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}getPosition(){const e=this.players.reduce(((e,t)=>null===e||t.totalTime>e.totalTime?t:e),null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach((e=>{e.beforeDestroy&&e.beforeDestroy()}))}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}}const C="!"},38583:(e,t,n)=>{"use strict";n.r(t),n.d(t,{APP_BASE_HREF:()=>b,AsyncPipe:()=>at,CommonModule:()=>xt,CurrencyPipe:()=>wt,DOCUMENT:()=>u,DatePipe:()=>dt,DecimalPipe:()=>_t,FormStyle:()=>M,FormatWidth:()=>I,HashLocationStrategy:()=>C,I18nPluralPipe:()=>pt,I18nSelectPipe:()=>gt,JsonPipe:()=>mt,KeyValuePipe:()=>yt,LOCATION_INITIALIZED:()=>h,Location:()=>D,LocationStrategy:()=>v,LowerCasePipe:()=>ut,NgClass:()=>Ve,NgComponentOutlet:()=>Le,NgForOf:()=>$e,NgForOfContext:()=>Be,NgIf:()=>He,NgIfContext:()=>ze,NgLocaleLocalization:()=>Fe,NgLocalization:()=>Ne,NgPlural:()=>Ye,NgPluralCase:()=>Je,NgStyle:()=>Xe,NgSwitch:()=>Ze,NgSwitchCase:()=>Ge,NgSwitchDefault:()=>Ke,NgTemplateOutlet:()=>et,NumberFormatStyle:()=>T,NumberSymbol:()=>O,PathLocationStrategy:()=>w,PercentPipe:()=>bt,PlatformLocation:()=>l,Plural:()=>k,SlicePipe:()=>Et,TitleCasePipe:()=>ct,TranslationWidth:()=>A,UpperCasePipe:()=>ht,VERSION:()=>Ft,ViewportScroller:()=>Rt,WeekDay:()=>N,XhrFactory:()=>Bt,formatCurrency:()=>ke,formatDate:()=>ce,formatNumber:()=>Ae,formatPercent:()=>Me,getCurrencySymbol:()=>ne,getLocaleCurrencyCode:()=>G,getLocaleCurrencyName:()=>Z,getLocaleCurrencySymbol:()=>W,getLocaleDateFormat:()=>$,getLocaleDateTimeFormat:()=>H,getLocaleDayNames:()=>R,getLocaleDayPeriods:()=>F,getLocaleDirection:()=>X,getLocaleEraNames:()=>V,getLocaleExtraDayPeriodRules:()=>Y,getLocaleExtraDayPeriods:()=>J,getLocaleFirstDayOfWeek:()=>L,getLocaleId:()=>P,getLocaleMonthNames:()=>j,getLocaleNumberFormat:()=>q,getLocaleNumberSymbol:()=>z,getLocalePluralCase:()=>K,getLocaleTimeFormat:()=>U,getLocaleWeekEndRange:()=>B,getNumberOfCurrencyDigits:()=>re,isPlatformBrowser:()=>It,isPlatformServer:()=>Ot,isPlatformWorkerApp:()=>Nt,isPlatformWorkerUi:()=>Pt,registerLocaleData:()=>Re,ɵBrowserPlatformLocation:()=>d,ɵDomAdapter:()=>a,ɵNullViewportScroller:()=>Lt,ɵPLATFORM_BROWSER_ID:()=>Tt,ɵPLATFORM_SERVER_ID:()=>kt,ɵPLATFORM_WORKER_APP_ID:()=>Mt,ɵPLATFORM_WORKER_UI_ID:()=>At,ɵangular_packages_common_common_a:()=>c,ɵangular_packages_common_common_b:()=>p,ɵangular_packages_common_common_c:()=>E,ɵangular_packages_common_common_d:()=>_,ɵangular_packages_common_common_e:()=>tt,ɵangular_packages_common_common_f:()=>St,ɵgetDOM:()=>i,ɵparseCookieValue:()=>je,ɵsetRootDomAdapter:()=>o});var r=n(57826);let s=null;function i(){return s}function o(e){s||(s=e)}class a{}const u=new r.InjectionToken("DocumentToken");let l=(()=>{class e{historyGo(e){throw new Error("Not implemented")}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=(0,r["ɵɵdefineInjectable"])({factory:c,token:e,providedIn:"platform"}),e})();function c(){return(0,r["ɵɵinject"])(d)}const h=new r.InjectionToken("Location Initialized");let d=(()=>{class e extends l{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(e){const t=i().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=i().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,t,n){f()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){f()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](u))},e.ɵprov=(0,r["ɵɵdefineInjectable"])({factory:p,token:e,providedIn:"platform"}),e})();function f(){return!!window.history.pushState}function p(){return new d((0,r["ɵɵinject"])(u))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function m(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-("/"===e[n-1]?1:0);return e.slice(0,r)+e.slice(n)}function y(e){return e&&"?"!==e[0]?"?"+e:e}let v=(()=>{class e{historyGo(e){throw new Error("Not implemented")}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=(0,r["ɵɵdefineInjectable"])({factory:_,token:e,providedIn:"root"}),e})();function _(e){const t=(0,r["ɵɵinject"])(u).location;return new w((0,r["ɵɵinject"])(l),t&&t.origin||"")}const b=new r.InjectionToken("appBaseHref");let w=(()=>{class e extends v{constructor(e,t){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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=t}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return g(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+y(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const s=this.prepareExternalUrl(n+y(r));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){const s=this.prepareExternalUrl(n+y(r));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](l),r["ɵɵinject"](b,8))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),C=(()=>{class e extends v{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=g(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let s=this.prepareExternalUrl(n+y(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){let s=this.prepareExternalUrl(n+y(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](l),r["ɵɵinject"](b,8))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),D=(()=>{class e{constructor(e,t){this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=m(S(n)),this._platformStrategy.onPopState((e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})}))}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+y(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,S(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformStrategy).historyGo)||void 0===n||n.call(t,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((e=>{this._notifyUrlChangeListeners(e.url,e.state)})))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach((n=>n(e,t)))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](v),r["ɵɵinject"](l))},e.normalizeQueryParams=y,e.joinWithSlash=g,e.stripTrailingSlash=m,e.ɵprov=(0,r["ɵɵdefineInjectable"])({factory:E,token:e,providedIn:"root"}),e})();function E(){return new D((0,r["ɵɵinject"])(v),(0,r["ɵɵinject"])(l))}function S(e){return e.replace(/\/index.html$/,"")}const x={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var T=(()=>((T=T||{})[T.Decimal=0]="Decimal",T[T.Percent=1]="Percent",T[T.Currency=2]="Currency",T[T.Scientific=3]="Scientific",T))(),k=(()=>((k=k||{})[k.Zero=0]="Zero",k[k.One=1]="One",k[k.Two=2]="Two",k[k.Few=3]="Few",k[k.Many=4]="Many",k[k.Other=5]="Other",k))(),M=(()=>((M=M||{})[M.Format=0]="Format",M[M.Standalone=1]="Standalone",M))(),A=(()=>((A=A||{})[A.Narrow=0]="Narrow",A[A.Abbreviated=1]="Abbreviated",A[A.Wide=2]="Wide",A[A.Short=3]="Short",A))(),I=(()=>((I=I||{})[I.Short=0]="Short",I[I.Medium=1]="Medium",I[I.Long=2]="Long",I[I.Full=3]="Full",I))(),O=(()=>((O=O||{})[O.Decimal=0]="Decimal",O[O.Group=1]="Group",O[O.List=2]="List",O[O.PercentSign=3]="PercentSign",O[O.PlusSign=4]="PlusSign",O[O.MinusSign=5]="MinusSign",O[O.Exponential=6]="Exponential",O[O.SuperscriptingExponent=7]="SuperscriptingExponent",O[O.PerMille=8]="PerMille",O[O[1/0]=9]="Infinity",O[O.NaN=10]="NaN",O[O.TimeSeparator=11]="TimeSeparator",O[O.CurrencyDecimal=12]="CurrencyDecimal",O[O.CurrencyGroup=13]="CurrencyGroup",O))(),N=(()=>((N=N||{})[N.Sunday=0]="Sunday",N[N.Monday=1]="Monday",N[N.Tuesday=2]="Tuesday",N[N.Wednesday=3]="Wednesday",N[N.Thursday=4]="Thursday",N[N.Friday=5]="Friday",N[N.Saturday=6]="Saturday",N))();function P(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].LocaleId]}function F(e,t,n){const s=(0,r["ɵfindLocaleData"])(e),i=ee([s[r["ɵLocaleDataIndex"].DayPeriodsFormat],s[r["ɵLocaleDataIndex"].DayPeriodsStandalone]],t);return ee(i,n)}function R(e,t,n){const s=(0,r["ɵfindLocaleData"])(e),i=ee([s[r["ɵLocaleDataIndex"].DaysFormat],s[r["ɵLocaleDataIndex"].DaysStandalone]],t);return ee(i,n)}function j(e,t,n){const s=(0,r["ɵfindLocaleData"])(e),i=ee([s[r["ɵLocaleDataIndex"].MonthsFormat],s[r["ɵLocaleDataIndex"].MonthsStandalone]],t);return ee(i,n)}function V(e,t){return ee((0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Eras],t)}function L(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].FirstDayOfWeek]}function B(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].WeekendRange]}function $(e,t){return ee((0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateFormat],t)}function U(e,t){return ee((0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].TimeFormat],t)}function H(e,t){return ee((0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateTimeFormat],t)}function z(e,t){const n=(0,r["ɵfindLocaleData"])(e),s=n[r["ɵLocaleDataIndex"].NumberSymbols][t];if(void 0===s){if(t===O.CurrencyDecimal)return n[r["ɵLocaleDataIndex"].NumberSymbols][O.Decimal];if(t===O.CurrencyGroup)return n[r["ɵLocaleDataIndex"].NumberSymbols][O.Group]}return s}function q(e,t){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].NumberFormats][t]}function W(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].CurrencySymbol]||null}function Z(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].CurrencyName]||null}function G(e){return(0,r["ɵgetLocaleCurrencyCode"])(e)}const K=r["ɵgetLocalePluralCase"];function Q(e){if(!e[r["ɵLocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r["ɵLocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Y(e){const t=(0,r["ɵfindLocaleData"])(e);return Q(t),(t[r["ɵLocaleDataIndex"].ExtraData][2]||[]).map((e=>"string"==typeof e?te(e):[te(e[0]),te(e[1])]))}function J(e,t,n){const s=(0,r["ɵfindLocaleData"])(e);Q(s);const i=ee([s[r["ɵLocaleDataIndex"].ExtraData][0],s[r["ɵLocaleDataIndex"].ExtraData][1]],t)||[];return ee(i,n)||[]}function X(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Directionality]}function ee(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function te(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function ne(e,t,n="en"){const s=function(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Currencies]}(n)[e]||x[e]||[],i=s[1];return"narrow"===t&&"string"==typeof i?i:s[0]||e}function re(e){let t;const n=x[e];return n&&(t=n[2]),"number"==typeof t?t:2}const se=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ie={},oe=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ae=(()=>((ae=ae||{})[ae.Short=0]="Short",ae[ae.ShortGMT=1]="ShortGMT",ae[ae.Long=2]="Long",ae[ae.Extended=3]="Extended",ae))(),ue=(()=>((ue=ue||{})[ue.FullYear=0]="FullYear",ue[ue.Month=1]="Month",ue[ue.Date=2]="Date",ue[ue.Hours=3]="Hours",ue[ue.Minutes=4]="Minutes",ue[ue.Seconds=5]="Seconds",ue[ue.FractionalSeconds=6]="FractionalSeconds",ue[ue.Day=7]="Day",ue))(),le=(()=>((le=le||{})[le.DayPeriods=0]="DayPeriods",le[le.Days=1]="Days",le[le.Months=2]="Months",le[le.Eras=3]="Eras",le))();function ce(e,t,n,r){let s=function(e){if(De(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,r=1]=e.split("-").map((e=>+e));return he(t,n-1,r)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(se))return function(e){const t=new Date(0);let n=0,r=0;const s=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),s.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),l=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,a,u,l),t}(n)}const t=new Date(e);if(!De(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=de(n,t)||t;let i,o=[];for(;t;){if(i=oe.exec(t),!i){o.push(t);break}{o=o.concat(i.slice(1));const e=o.pop();if(!e)break;t=e}}let a=s.getTimezoneOffset();r&&(a=Ce(r,a),s=function(e,t,n){const r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Ce(t,r)-r))}(s,r));let u="";return o.forEach((e=>{const t=function(e){if(we[e])return we[e];let t;switch(e){case"G":case"GG":case"GGG":t=me(le.Eras,A.Abbreviated);break;case"GGGG":t=me(le.Eras,A.Wide);break;case"GGGGG":t=me(le.Eras,A.Narrow);break;case"y":t=ge(ue.FullYear,1,0,!1,!0);break;case"yy":t=ge(ue.FullYear,2,0,!0,!0);break;case"yyy":t=ge(ue.FullYear,3,0,!1,!0);break;case"yyyy":t=ge(ue.FullYear,4,0,!1,!0);break;case"Y":t=be(1);break;case"YY":t=be(2,!0);break;case"YYY":t=be(3);break;case"YYYY":t=be(4);break;case"M":case"L":t=ge(ue.Month,1,1);break;case"MM":case"LL":t=ge(ue.Month,2,1);break;case"MMM":t=me(le.Months,A.Abbreviated);break;case"MMMM":t=me(le.Months,A.Wide);break;case"MMMMM":t=me(le.Months,A.Narrow);break;case"LLL":t=me(le.Months,A.Abbreviated,M.Standalone);break;case"LLLL":t=me(le.Months,A.Wide,M.Standalone);break;case"LLLLL":t=me(le.Months,A.Narrow,M.Standalone);break;case"w":t=_e(1);break;case"ww":t=_e(2);break;case"W":t=_e(1,!0);break;case"d":t=ge(ue.Date,1);break;case"dd":t=ge(ue.Date,2);break;case"c":case"cc":t=ge(ue.Day,1);break;case"ccc":t=me(le.Days,A.Abbreviated,M.Standalone);break;case"cccc":t=me(le.Days,A.Wide,M.Standalone);break;case"ccccc":t=me(le.Days,A.Narrow,M.Standalone);break;case"cccccc":t=me(le.Days,A.Short,M.Standalone);break;case"E":case"EE":case"EEE":t=me(le.Days,A.Abbreviated);break;case"EEEE":t=me(le.Days,A.Wide);break;case"EEEEE":t=me(le.Days,A.Narrow);break;case"EEEEEE":t=me(le.Days,A.Short);break;case"a":case"aa":case"aaa":t=me(le.DayPeriods,A.Abbreviated);break;case"aaaa":t=me(le.DayPeriods,A.Wide);break;case"aaaaa":t=me(le.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":t=me(le.DayPeriods,A.Abbreviated,M.Standalone,!0);break;case"bbbb":t=me(le.DayPeriods,A.Wide,M.Standalone,!0);break;case"bbbbb":t=me(le.DayPeriods,A.Narrow,M.Standalone,!0);break;case"B":case"BB":case"BBB":t=me(le.DayPeriods,A.Abbreviated,M.Format,!0);break;case"BBBB":t=me(le.DayPeriods,A.Wide,M.Format,!0);break;case"BBBBB":t=me(le.DayPeriods,A.Narrow,M.Format,!0);break;case"h":t=ge(ue.Hours,1,-12);break;case"hh":t=ge(ue.Hours,2,-12);break;case"H":t=ge(ue.Hours,1);break;case"HH":t=ge(ue.Hours,2);break;case"m":t=ge(ue.Minutes,1);break;case"mm":t=ge(ue.Minutes,2);break;case"s":t=ge(ue.Seconds,1);break;case"ss":t=ge(ue.Seconds,2);break;case"S":t=ge(ue.FractionalSeconds,1);break;case"SS":t=ge(ue.FractionalSeconds,2);break;case"SSS":t=ge(ue.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ye(ae.Short);break;case"ZZZZZ":t=ye(ae.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ye(ae.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ye(ae.Long);break;default:return null}return we[e]=t,t}(e);u+=t?t(s,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),u}function he(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function de(e,t){const n=P(e);if(ie[n]=ie[n]||{},ie[n][t])return ie[n][t];let r="";switch(t){case"shortDate":r=$(e,I.Short);break;case"mediumDate":r=$(e,I.Medium);break;case"longDate":r=$(e,I.Long);break;case"fullDate":r=$(e,I.Full);break;case"shortTime":r=U(e,I.Short);break;case"mediumTime":r=U(e,I.Medium);break;case"longTime":r=U(e,I.Long);break;case"fullTime":r=U(e,I.Full);break;case"short":const t=de(e,"shortTime"),n=de(e,"shortDate");r=fe(H(e,I.Short),[t,n]);break;case"medium":const s=de(e,"mediumTime"),i=de(e,"mediumDate");r=fe(H(e,I.Medium),[s,i]);break;case"long":const o=de(e,"longTime"),a=de(e,"longDate");r=fe(H(e,I.Long),[o,a]);break;case"full":const u=de(e,"fullTime"),l=de(e,"fullDate");r=fe(H(e,I.Full),[u,l])}return r&&(ie[n][t]=r),r}function fe(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function pe(e,t,n="-",r,s){let i="";(e<0||s&&e<=0)&&(s?e=1-e:(e=-e,i=n));let o=String(e);for(;o.length<t;)o="0"+o;return r&&(o=o.substr(o.length-t)),i+o}function ge(e,t,n=0,r=!1,s=!1){return function(i,o){let a=function(e,t){switch(e){case ue.FullYear:return t.getFullYear();case ue.Month:return t.getMonth();case ue.Date:return t.getDate();case ue.Hours:return t.getHours();case ue.Minutes:return t.getMinutes();case ue.Seconds:return t.getSeconds();case ue.FractionalSeconds:return t.getMilliseconds();case ue.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,i);if((n>0||a>-n)&&(a+=n),e===ue.Hours)0===a&&-12===n&&(a=12);else if(e===ue.FractionalSeconds)return u=t,pe(a,3).substr(0,u);var u;const l=z(o,O.MinusSign);return pe(a,t,l,r,s)}}function me(e,t,n=M.Format,r=!1){return function(s,i){return function(e,t,n,r,s,i){switch(n){case le.Months:return j(t,s,r)[e.getMonth()];case le.Days:return R(t,s,r)[e.getDay()];case le.DayPeriods:const o=e.getHours(),a=e.getMinutes();if(i){const e=Y(t),n=J(t,s,r),i=e.findIndex((e=>{if(Array.isArray(e)){const[t,n]=e,r=o>=t.hours&&a>=t.minutes,s=o<n.hours||o===n.hours&&a<n.minutes;if(t.hours<n.hours){if(r&&s)return!0}else if(r||s)return!0}else if(e.hours===o&&e.minutes===a)return!0;return!1}));if(-1!==i)return n[i]}return F(t,s,r)[o<12?0:1];case le.Eras:return V(t,r)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(s,i,e,t,n,r)}}function ye(e){return function(t,n,r){const s=-1*r,i=z(n,O.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(e){case ae.Short:return(s>=0?"+":"")+pe(o,2,i)+pe(Math.abs(s%60),2,i);case ae.ShortGMT:return"GMT"+(s>=0?"+":"")+pe(o,1,i);case ae.Long:return"GMT"+(s>=0?"+":"")+pe(o,2,i)+":"+pe(Math.abs(s%60),2,i);case ae.Extended:return 0===r?"Z":(s>=0?"+":"")+pe(o,2,i)+":"+pe(Math.abs(s%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}function ve(e){return he(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function _e(e,t=!1){return function(n,r){let s;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();s=1+Math.floor((t+e)/7)}else{const e=ve(n),t=function(e){const t=he(e,0,1).getDay();return he(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();s=1+Math.round(r/6048e5)}return pe(s,e,z(r,O.MinusSign))}}function be(e,t=!1){return function(n,r){return pe(ve(n).getFullYear(),e,z(r,O.MinusSign),t)}}const we={};function Ce(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function De(e){return e instanceof Date&&!isNaN(e.valueOf())}const Ee=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Se=".",xe="0";function Te(e,t,n,r,s,i,o=!1){let a="",u=!1;if(isFinite(e)){let l=function(e){let t,n,r,s,i,o=Math.abs(e)+"",a=0;for((n=o.indexOf(Se))>-1&&(o=o.replace(Se,"")),(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length),r=0;o.charAt(r)===xe;r++);if(r===(i=o.length))t=[0],n=1;else{for(i--;o.charAt(i)===xe;)i--;for(n-=r,t=[],s=0;r<=i;r++,s++)t[s]=Number(o.charAt(r))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);o&&(l=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let c=t.minInt,h=t.minFrac,d=t.maxFrac;if(i){const e=i.match(Ee);if(null===e)throw new Error(`${i} is not a valid digit info`);const t=e[1],n=e[3],r=e[5];null!=t&&(c=Oe(t)),null!=n&&(h=Oe(n)),null!=r?d=Oe(r):null!=n&&h>d&&(d=h)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,s=r.length-e.integerLen;const i=Math.min(Math.max(t,s),n);let o=i+e.integerLen,a=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e<r.length;e++)r[e]=0}else{s=Math.max(0,s),e.integerLen=1,r.length=Math.max(1,o=i+1),r[0]=0;for(let e=1;e<o;e++)r[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++;for(;s<Math.max(0,i);s++)r.push(0);let u=0!==i;const l=t+e.integerLen,c=r.reduceRight((function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,u&&(0===r[n]&&n>=l?r.pop():u=!1),t>=10?1:0}),0);c&&(r.unshift(c),e.integerLen++)}(l,h,d);let f=l.digits,p=l.integerLen;const g=l.exponent;let m=[];for(u=f.every((e=>!e));p<c;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?m=f.splice(p,f.length):(m=f,f=[0]);const y=[];for(f.length>=t.lgSize&&y.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)y.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&y.unshift(f.join("")),a=y.join(z(n,r)),m.length&&(a+=z(n,s)+m.join("")),g&&(a+=z(n,O.Exponential)+"+"+g)}else a=z(n,O.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function ke(e,t,n,r,s){const i=Ie(q(t,T.Currency),z(t,O.MinusSign));return i.minFrac=re(r),i.maxFrac=i.minFrac,Te(e,i,t,O.CurrencyGroup,O.CurrencyDecimal,s).replace("¤",n).replace("¤","").trim()}function Me(e,t,n){return Te(e,Ie(q(t,T.Percent),z(t,O.MinusSign)),t,O.Group,O.Decimal,n,!0).replace(new RegExp("%","g"),z(t,O.PercentSign))}function Ae(e,t,n){return Te(e,Ie(q(t,T.Decimal),z(t,O.MinusSign)),t,O.Group,O.Decimal,n)}function Ie(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),s=r[0],i=r[1],o=-1!==s.indexOf(Se)?s.split(Se):[s.substring(0,s.lastIndexOf(xe)+1),s.substring(s.lastIndexOf(xe)+1)],a=o[0],u=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let e=0;e<u.length;e++){const t=u.charAt(e);t===xe?n.minFrac=n.maxFrac=e+1:"#"===t?n.maxFrac=e+1:n.posSuf+=t}const l=a.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){const e=s.length-n.posPre.length-n.posSuf.length,t=i.indexOf("#");n.negPre=i.substr(0,t).replace(/'/g,""),n.negSuf=i.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Oe(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class Ne{}function Pe(e,t,n,r){let s=`=${e}`;if(t.indexOf(s)>-1)return s;if(s=n.getPluralCategory(e,r),t.indexOf(s)>-1)return s;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}let Fe=(()=>{class e extends Ne{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(K(t||this.locale)(e)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.LOCALE_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function Re(e,t,n){return(0,r["ɵregisterLocaleData"])(e,t,n)}function je(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}let Ve=(()=>{class e{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,r["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem((e=>this._toggleClass(e.key,e.currentValue))),e.forEachChangedItem((e=>this._toggleClass(e.key,e.currentValue))),e.forEachRemovedItem((e=>{e.previousValue&&this._toggleClass(e.key,!1)}))}_applyIterableChanges(e){e.forEachAddedItem((e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,r["ɵstringify"])(e.item)}`);this._toggleClass(e.item,!0)})),e.forEachRemovedItem((e=>this._toggleClass(e.item,!1)))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach((e=>this._toggleClass(e,!0))):Object.keys(e).forEach((t=>this._toggleClass(t,!!e[t]))))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach((e=>this._toggleClass(e,!1))):Object.keys(e).forEach((e=>this._toggleClass(e,!1))))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach((e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)}))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.IterableDiffers),r["ɵɵdirectiveInject"](r.KeyValueDiffers),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Renderer2))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})(),Le=(()=>{class e{constructor(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}ngOnChanges(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const e=t.get(r.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(r.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ViewContainerRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r["ɵɵNgOnChangesFeature"]]}),e})();class Be{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}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 $e=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){"undefined"!=typeof ngDevMode&&!ngDevMode||null==e||"function"==typeof e||console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error(`Cannot find a differ supporting object '${t}' of type '${e=t,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation(((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Be(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Ue(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new Ue(e,s);t.push(i)}}));for(let e=0;e<t.length;e++)this._perViewChange(t[e].view,t[e].record);for(let e=0,t=this._viewContainer.length;e<t;e++){const n=this._viewContainer.get(e);n.context.index=e,n.context.count=t,n.context.ngForOf=this._ngForOf}e.forEachIdentityChange((e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](r.IterableDiffers))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Ue{constructor(e,t){this.record=e,this.view=t}}let He=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new ze,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){qe("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){qe("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.TemplateRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class ze{constructor(){this.$implicit=null,this.ngIf=null}}function qe(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${(0,r["ɵstringify"])(t)}'.`)}class We{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let Ze=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),Ge=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,"undefined"!=typeof ngDevMode&&!ngDevMode||n||Qe("ngSwitchCase","NgSwitchCase"),n._addCase(),this._view=new We(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](Ze,9))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Ke=(()=>{class e{constructor(e,t,n){"undefined"!=typeof ngDevMode&&!ngDevMode||n||Qe("ngSwitchDefault","NgSwitchDefault"),n._addDefault(new We(e,t))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](Ze,9))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngSwitchDefault",""]]}),e})();function Qe(e,t){throw new r["ɵRuntimeError"]("305",`An element with the "${e}" attribute (matching the "${t}" directive) must be located inside an element with the "ngSwitch" attribute (matching "NgSwitch" directive)`)}let Ye=(()=>{class e{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._switchValue=e,this._updateView()}addCase(e,t){this._caseViews[e]=t}_updateView(){this._clearViews();const e=Object.keys(this._caseViews),t=Pe(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Ne))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),e})(),Je=(()=>{class e{constructor(e,t,n,r){this.value=e;const s=!isNaN(Number(e));r.addCase(s?`=${e}`:e,new We(n,t))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinjectAttribute"]("ngPluralCase"),r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](Ye,1))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngPluralCase",""]]}),e})(),Xe=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem((e=>this._setStyle(e.key,null))),e.forEachAddedItem((e=>this._setStyle(e.key,e.currentValue))),e.forEachChangedItem((e=>this._setStyle(e.key,e.currentValue)))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.KeyValueDiffers),r["ɵɵdirectiveInject"](r.Renderer2))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),et=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(e.ngTemplateOutlet){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ViewContainerRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r["ɵɵNgOnChangesFeature"]]}),e})();const tt=[Ve,Le,$e,He,et,Xe,Ze,Ge,Ke,Ye,Je];function nt(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${(0,r["ɵstringify"])(e)}'`)}class rt{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class st{createSubscription(e,t){return e.then(t,(e=>{throw e}))}dispose(e){}onDestroy(e){}}const it=new st,ot=new rt;let at=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(t=>this._updateLatestValue(e,t)))}_selectStrategy(t){if((0,r["ɵisPromise"])(t))return it;if((0,r["ɵisSubscribable"])(t))return ot;throw nt(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ChangeDetectorRef,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"async",type:e,pure:!1}),e})(),ut=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw nt(e,t);return t.toLowerCase()}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=r["ɵɵdefinePipe"]({name:"lowercase",type:e,pure:!0}),e})();const lt=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let ct=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw nt(e,t);return t.replace(lt,(e=>e[0].toUpperCase()+e.substr(1).toLowerCase()))}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=r["ɵɵdefinePipe"]({name:"titlecase",type:e,pure:!0}),e})(),ht=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw nt(e,t);return t.toUpperCase()}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=r["ɵɵdefinePipe"]({name:"uppercase",type:e,pure:!0}),e})(),dt=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",r,s){if(null==t||""===t||t!=t)return null;try{return ce(t,n,s||this.locale,r)}catch(t){throw nt(e,t.message)}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.LOCALE_ID,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"date",type:e,pure:!0}),e})();const ft=/#/g;let pt=(()=>{class e{constructor(e){this._localization=e}transform(t,n,r){if(null==t)return"";if("object"!=typeof n||null===n)throw nt(e,n);return n[Pe(t,Object.keys(n),this._localization,r)].replace(ft,t.toString())}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Ne,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"i18nPlural",type:e,pure:!0}),e})(),gt=(()=>{class e{transform(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw nt(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=r["ɵɵdefinePipe"]({name:"i18nSelect",type:e,pure:!0}),e})(),mt=(()=>{class e{transform(e){return JSON.stringify(e,null,2)}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=r["ɵɵdefinePipe"]({name:"json",type:e,pure:!1}),e})(),yt=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=vt}transform(e,t=vt){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e),r=t!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem((e=>{this.keyValues.push({key:e.key,value:e.currentValue})}))),(n||r)&&(this.keyValues.sort(t),this.compareFn=t),this.keyValues}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.KeyValueDiffers,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"keyvalue",type:e,pure:!1}),e})();function vt(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const s=String(n),i=String(r);return s==i?0:s<i?-1:1}let _t=(()=>{class e{constructor(e){this._locale=e}transform(t,n,r){if(!Ct(t))return null;r=r||this._locale;try{return Ae(Dt(t),r,n)}catch(t){throw nt(e,t.message)}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.LOCALE_ID,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"number",type:e,pure:!0}),e})(),bt=(()=>{class e{constructor(e){this._locale=e}transform(t,n,r){if(!Ct(t))return null;r=r||this._locale;try{return Me(Dt(t),r,n)}catch(t){throw nt(e,t.message)}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.LOCALE_ID,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"percent",type:e,pure:!0}),e})(),wt=(()=>{class e{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(t,n=this._defaultCurrencyCode,r="symbol",s,i){if(!Ct(t))return null;i=i||this._locale,"boolean"==typeof r&&(("undefined"==typeof ngDevMode||ngDevMode)&&console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");let o=n||this._defaultCurrencyCode;"code"!==r&&(o="symbol"===r||"symbol-narrow"===r?ne(o,"symbol"===r?"wide":"narrow",i):r);try{return ke(Dt(t),i,o,n,s)}catch(t){throw nt(e,t.message)}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.LOCALE_ID,16),r["ɵɵdirectiveInject"](r.DEFAULT_CURRENCY_CODE,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"currency",type:e,pure:!0}),e})();function Ct(e){return!(null==e||""===e||e!=e)}function Dt(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let Et=(()=>{class e{transform(t,n,r){if(null==t)return null;if(!this.supports(t))throw nt(e,t);return t.slice(n,r)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=r["ɵɵdefinePipe"]({name:"slice",type:e,pure:!1}),e})();const St=[at,ht,ut,mt,Et,_t,bt,ct,wt,dt,pt,gt,yt];let xt=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[{provide:Ne,useClass:Fe}]}),e})();const Tt="browser",kt="server",Mt="browserWorkerApp",At="browserWorkerUi";function It(e){return e===Tt}function Ot(e){return e===kt}function Nt(e){return e===Mt}function Pt(e){return e===At}const Ft=new r.Version("12.2.16");let Rt=(()=>{class e{}return e.ɵprov=(0,r["ɵɵdefineInjectable"])({token:e,providedIn:"root",factory:()=>new jt((0,r["ɵɵinject"])(u),window)}),e})();class jt{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const e=r.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Vt(this.window.history)||Vt(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function Vt(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Lt{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}class Bt{}},91841:(e,t,n)=>{"use strict";n.r(t),n.d(t,{HTTP_INTERCEPTORS:()=>A,HttpBackend:()=>u,HttpClient:()=>k,HttpClientJsonpModule:()=>Z,HttpClientModule:()=>W,HttpClientXsrfModule:()=>q,HttpContext:()=>y,HttpContextToken:()=>m,HttpErrorResponse:()=>x,HttpEventType:()=>C,HttpHandler:()=>a,HttpHeaderResponse:()=>E,HttpHeaders:()=>l,HttpParams:()=>g,HttpRequest:()=>w,HttpResponse:()=>S,HttpResponseBase:()=>D,HttpUrlEncodingCodec:()=>c,HttpXhrBackend:()=>j,HttpXsrfTokenExtractor:()=>B,JsonpClientBackend:()=>P,JsonpInterceptor:()=>F,XhrFactory:()=>G,ɵHttpInterceptingHandler:()=>H,ɵangular_packages_common_http_http_a:()=>I,ɵangular_packages_common_http_http_b:()=>N,ɵangular_packages_common_http_http_c:()=>z,ɵangular_packages_common_http_http_d:()=>V,ɵangular_packages_common_http_http_e:()=>L,ɵangular_packages_common_http_http_f:()=>$,ɵangular_packages_common_http_http_g:()=>U});var r=n(6856),s=n(57826),i=n(4309),o=n(42998);class a{}class u{}class l{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}}))}:()=>{this.headers=new Map,Object.keys(e).forEach((t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))}))}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof l?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((e=>this.applyUpdate(e))),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach((t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))}))}clone(e){const t=new l;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof l?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const s=e.value;if(s){let e=this.headers.get(t);if(!e)return;e=e.filter((e=>-1===s.indexOf(e))),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}class c{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const h=/%(\d[a-f0-9])/gi,d={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function f(e){return encodeURIComponent(e).replace(h,((e,t)=>{var n;return null!==(n=d[t])&&void 0!==n?n:e}))}function p(e){return`${e}`}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new c,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach((e=>{const r=e.indexOf("="),[s,i]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)})),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])}))):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach((n=>{const r=e[n];Array.isArray(r)?r.forEach((e=>{t.push({param:n,value:e,op:"a"})})):t.push({param:n,value:r,op:"a"})})),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map((e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map((e=>t+"="+this.encoder.encodeValue(e))).join("&")})).filter((e=>""!==e)).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((e=>this.map.set(e,this.cloneFrom.map.get(e)))),this.updates.forEach((e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(p(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(p(e.value));-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}})),this.cloneFrom=this.updates=null)}}class m{constructor(e){this.defaultValue=e}}class y{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}keys(){return this.map.keys()}}function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function _(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class w{constructor(e,t,n,r){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new l),this.context||(this.context=new y),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?"),r=-1===n?"?":n<t.length-1?"&":"";this.urlWithParams=t+r+e}}else this.params=new g,this.urlWithParams=t}serializeBody(){return null===this.body?null:v(this.body)||_(this.body)||b(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var e}detectContentTypeHeader(){return null===this.body||b(this.body)?null:_(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){var t;const n=e.method||this.method,r=e.url||this.url,s=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let u=e.headers||this.headers,l=e.params||this.params;const c=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce(((t,n)=>t.set(n,e.setHeaders[n])),u)),e.setParams&&(l=Object.keys(e.setParams).reduce(((t,n)=>t.set(n,e.setParams[n])),l)),new w(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:s,withCredentials:o})}}var C=(()=>((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C))();class D{constructor(e,t=200,n="OK"){this.headers=e.headers||new l,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class E extends D{constructor(e={}){super(e),this.type=C.ResponseHeader}clone(e={}){return new E({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class S extends D{constructor(e={}){super(e),this.type=C.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new S({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class x extends D{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function T(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let k=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof w)r=e;else{let s,i;s=n.headers instanceof l?n.headers:new l(n.headers),n.params&&(i=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new w(e,t,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=(0,i.of)(r).pipe((0,o.concatMap)((e=>this.handler.handle(e))));if(e instanceof w||"events"===n.observe)return s;const a=s.pipe((0,o.filter)((e=>e instanceof S)));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe((0,o.map)((e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return a.pipe((0,o.map)((e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return a.pipe((0,o.map)((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return a.pipe((0,o.map)((e=>e.body)))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,T(n,t))}post(e,t,n={}){return this.request("POST",e,T(n,t))}put(e,t,n={}){return this.request("PUT",e,T(n,t))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](a))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class M{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const A=new s.InjectionToken("HTTP_INTERCEPTORS");let I=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),O=0;class N{}let P=(()=>{class e{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+O++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");return new i.Observable((t=>{const n=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),s=this.document.createElement("script");s.src=r;let i=null,o=!1,a=!1;this.callbackMap[n]=e=>{delete this.callbackMap[n],a||(i=e,o=!0)};const u=()=>{s.parentNode&&s.parentNode.removeChild(s),delete this.callbackMap[n]},l=e=>{a||this.resolvedPromise.then((()=>{u(),o?(t.next(new S({body:i,status:200,statusText:"OK",url:r})),t.complete()):t.error(new x({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))},c=e=>{a||(u(),t.error(new x({error:e,status:0,statusText:"JSONP Error",url:r})))};return s.addEventListener("load",l),s.addEventListener("error",c),this.document.body.appendChild(s),t.next({type:C.Sent}),()=>{a=!0,s.removeEventListener("load",l),s.removeEventListener("error",c),u()}}))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](N),s["ɵɵinject"](r.DOCUMENT))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),F=(()=>{class e{constructor(e){this.jsonp=e}intercept(e,t){return"JSONP"===e.method?this.jsonp.handle(e):t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](P))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const R=/^\)\]\}',?\n/;let j=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new i.Observable((t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach(((e,t)=>n.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const t=1223===n.status?204:n.status,r=n.statusText||"OK",i=new l(n.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new E({headers:i,status:t,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),u=null;204!==s&&(u=void 0===n.response?n.responseText:n.response),0===s&&(s=u?200:0);let l=s>=200&&s<300;if("json"===e.responseType&&"string"==typeof u){const e=u;u=u.replace(R,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=e,l&&(l=!1,u={error:t,text:u})}}l?(t.next(new S({body:u,headers:r,status:s,statusText:o,url:a||void 0})),t.complete()):t.error(new x({error:u,headers:r,status:s,statusText:o,url:a||void 0}))},a=e=>{const{url:r}=i(),s=new x({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(s)};let u=!1;const c=r=>{u||(t.next(i()),u=!0);let s={type:C.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===e.responseType&&n.responseText&&(s.partialText=n.responseText),t.next(s)},h=e=>{let n={type:C.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",h)),n.send(r),t.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",h)),n.readyState!==n.DONE&&n.abort()}}))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.XhrFactory))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const V=new s.InjectionToken("XSRF_COOKIE_NAME"),L=new s.InjectionToken("XSRF_HEADER_NAME");class B{}let $=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r["ɵparseCookieValue"])(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.DOCUMENT),s["ɵɵinject"](s.PLATFORM_ID),s["ɵɵinject"](V))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),U=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](B),s["ɵɵinject"](L))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),H=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(A,[]);this.chain=e.reduceRight(((e,t)=>new M(e,t)),this.backend)}return this.chain.handle(e)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](u),s["ɵɵinject"](s.Injector))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function z(){return"object"==typeof window?window:{}}let q=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:U,useClass:I}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:V,useValue:t.cookieName}:[],t.headerName?{provide:L,useValue:t.headerName}:[]]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:[U,{provide:A,useExisting:U,multi:!0},{provide:B,useClass:$},{provide:V,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),e})(),W=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:[k,{provide:a,useClass:H},j,{provide:u,useExisting:j}],imports:[[q.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),Z=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:[P,{provide:N,useFactory:z},{provide:A,useClass:F,multi:!0}]}),e})();const G=r.XhrFactory},57429:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["en-IN",[["a","p"],["am","pm"],n],[["am","pm"],n,n],[["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"]],n,[["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"]],n,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[0,0],["dd/MM/yy","dd-MMM-y","d MMMM y","EEEE, d MMMM, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",n,"{1} 'at' {0}",n],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##,##0.###","#,##,##0%","¤#,##,##0.00","#E0"],"INR","₹","Indian Rupee",{JPY:["JP¥","¥"],USD:["US$","$"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]}))},26682:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["es",[["a. m.","p. m."],n,n],n,[["D","L","M","X","J","V","S"],["dom.","lun.","mar.","mié.","jue.","vie.","sáb."],["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["DO","LU","MA","MI","JU","VI","SA"]],n,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sept.","oct.","nov.","dic."],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],n,[["a. C.","d. C."],n,["antes de Cristo","después de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1} {0}",n,"{1}, {0}",n],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","euro",{AUD:[n,"$"],BRL:[n,"R$"],CNY:[n,"¥"],EGP:[],ESP:["₧"],GBP:[n,"£"],HKD:[n,"$"],ILS:[n,"₪"],INR:[n,"₹"],JPY:[n,"¥"],KRW:[n,"₩"],MXN:[n,"$"],NZD:[n,"$"],RON:[n,"L"],THB:["฿"],TWD:[n,"NT$"],USD:["US$","$"],XAF:[],XCD:[n,"$"],XOF:[]},"ltr",function(e){return 1===e?1:5}]}))},34032:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],n],[["midnight","noon","morning","afternoon","evening","night"],n,n],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]}))},30598:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=[[["午夜","早上","上午","中午","下午","晚上","凌晨"],n,["午夜","清晨","上午","中午","下午","晚上","凌晨"]],[["午夜","早上","上午","中午","下午","晚上","凌晨"],n,n],["00:00",["05:00","08:00"],["08:00","12:00"],["12:00","13:00"],["13:00","19:00"],["19:00","24:00"],["00:00","05:00"]]]}))},20014:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["id",[["AM","PM"],n,n],n,[["M","S","S","R","K","J","S"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"],["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]],n,[["SM","M"],n,["Sebelum Masehi","Masehi"]],0,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE, dd MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",n,n,n],[",",".",";","%","+","-","E","×","‰","∞","NaN","."],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"IDR","Rp","Rupiah Indonesia",{AUD:["AU$","$"],IDR:["Rp"],INR:["Rs","₹"],JPY:["JP¥","¥"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(e){return 5}]}))},61235:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["ja",[["午前","午後"],n,n],n,[["日","月","火","水","木","金","土"],n,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],["日","月","火","水","木","金","土"]],n,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],n],n,[["BC","AD"],["紀元前","西暦"],n],0,[6,0],["y/MM/dd",n,"y年M月d日","y年M月d日EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H時mm分ss秒 zzzz"],["{1} {0}",n,n,n],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"JPY","¥","日本円",{CNY:["元","¥"],JPY:["¥"],RON:[n,"レイ"],XXX:[]},"ltr",function(e){return 5}]}))},42482:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["pt",[["AM","PM"],n,n],n,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","sáb."],["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["dom.","seg.","ter.","qua.","qui.","sex.","sáb."]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],n,[["a.C.","d.C."],n,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",n,n,n],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤ #,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],JPY:["JP¥","¥"],PTE:["Esc."],RON:[n,"L"],SYP:[n,"S£"],THB:["฿"],TWD:["NT$"],USD:["US$","$"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return t===Math.floor(t)&&t>=0&&t<=1?1:5}]}))},88330:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["th",[["a","p"],["ก่อนเที่ยง","หลังเที่ยง"],n],[["ก่อนเที่ยง","หลังเที่ยง"],n,n],[["อา","จ","อ","พ","พฤ","ศ","ส"],["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],["วันอาทิตย์","วันจันทร์","วันอังคาร","วันพุธ","วันพฤหัสบดี","วันศุกร์","วันเสาร์"],["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."]],n,[["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],n,["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]],n,[["ก่อน ค.ศ.","ค.ศ."],n,["ปีก่อนคริสตกาล","คริสต์ศักราช"]],0,[6,0],["d/M/yy","d MMM y","d MMMM G y","EEEEที่ d MMMM G y"],["HH:mm","HH:mm:ss","H นาฬิกา mm นาที ss วินาที z","H นาฬิกา mm นาที ss วินาที zzzz"],["{1} {0}",n,n,n],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"THB","฿","บาท",{AUD:["AU$","$"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(e){return 5}]}))},91335:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["vi",[["s","c"],["SA","CH"],n],[["SA","CH"],n,n],[["CN","T2","T3","T4","T5","T6","T7"],["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],["CN","T2","T3","T4","T5","T6","T7"]],n,[["1","2","3","4","5","6","7","8","9","10","11","12"],["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],["tháng 1","tháng 2","tháng 3","tháng 4","tháng 5","tháng 6","tháng 7","tháng 8","tháng 9","tháng 10","tháng 11","tháng 12"]],[["1","2","3","4","5","6","7","8","9","10","11","12"],["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"]],[["tr. CN","sau CN"],["Trước CN","sau CN"],n],1,[6,0],["dd/MM/y","d MMM, y","d MMMM, y","EEEE, d MMMM, y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{0}, {1}",n,"{0} {1}",n],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","#,##0.00 ¤","#E0"],"VND","₫","Đồng Việt Nam",{AUD:["AU$","$"],JPY:["JP¥","¥"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(e){return 5}]}))},34711:(e,t,n)=>{var r,s,i;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(i="function"==typeof(r=o)?r.apply(t,s):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["zh-Hans",[["上午","下午"],n,n],n,[["日","一","二","三","四","五","六"],["周日","周一","周二","周三","周四","周五","周六"],["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["周日","周一","周二","周三","周四","周五","周六"]],n,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]],n,[["公元前","公元"],n,n],0,[6,0],["y/M/d","y年M月d日",n,"y年M月d日EEEE"],["ah:mm","ah:mm:ss","z ah:mm:ss","zzzz ah:mm:ss"],["{1} {0}",n,n,n],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"CNY","¥","人民币",{AUD:["AU$","$"],CNY:["¥"],ILR:["ILS"],JPY:["JP¥","¥"],KRW:["₩","₩"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(e){return 5}]}))},37716:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>mr,APP_BOOTSTRAP_LISTENER:()=>N_,APP_ID:()=>T_,APP_INITIALIZER:()=>S_,ApplicationInitStatus:()=>x_,ApplicationModule:()=>Cw,ApplicationRef:()=>Nb,Attribute:()=>pr,COMPILER_OPTIONS:()=>X_,CUSTOM_ELEMENTS_SCHEMA:()=>Pi,ChangeDetectionStrategy:()=>X,ChangeDetectorRef:()=>sg,Compiler:()=>J_,CompilerFactory:()=>eb,Component:()=>c_,ComponentFactory:()=>yp,ComponentFactoryResolver:()=>wp,ComponentRef:()=>mp,ContentChild:()=>_r,ContentChildren:()=>vr,DEFAULT_CURRENCY_CODE:()=>j_,DebugElement:()=>pw,DebugEventListener:()=>Zb,DebugNode:()=>fw,DefaultIterableDiffer:()=>$p,Directive:()=>l_,ElementRef:()=>Mp,EmbeddedViewRef:()=>Wb,ErrorHandler:()=>Ni,EventEmitter:()=>sv,Host:()=>is,HostBinding:()=>p_,HostListener:()=>g_,INJECTOR:()=>Ru,Inject:()=>ts,InjectFlags:()=>Z,Injectable:()=>pc,InjectionToken:()=>gr,Injector:()=>Xu,Input:()=>d_,IterableDiffers:()=>Qp,KeyValueDiffers:()=>Jp,LOCALE_ID:()=>R_,MissingTranslationStrategy:()=>B_,ModuleWithComponentFactories:()=>H_,NO_ERRORS_SCHEMA:()=>Fi,NgModule:()=>C_,NgModuleFactory:()=>yg,NgModuleFactoryLoader:()=>Rb,NgModuleRef:()=>mg,NgProbeToken:()=>Sb,NgZone:()=>rb,Optional:()=>ns,Output:()=>f_,PACKAGE_ROOT_URL:()=>P_,PLATFORM_ID:()=>O_,PLATFORM_INITIALIZER:()=>I_,Pipe:()=>h_,PlatformRef:()=>Ib,Query:()=>yr,QueryList:()=>ov,ReflectiveInjector:()=>Vc,ReflectiveKey:()=>wc,Renderer2:()=>Op,RendererFactory2:()=>Ip,RendererStyleFlags2:()=>Yi,ResolvedReflectiveFactory:()=>Mc,Sanitizer:()=>Rp,SecurityContext:()=>li,Self:()=>rs,SimpleChange:()=>st,SkipSelf:()=>ss,SystemJsNgModuleLoader:()=>Hb,SystemJsNgModuleLoaderConfig:()=>$b,TRANSLATIONS:()=>V_,TRANSLATIONS_FORMAT:()=>L_,TemplateRef:()=>hg,Testability:()=>cb,TestabilityRegistry:()=>hb,Type:()=>Er,VERSION:()=>Vp,Version:()=>jp,ViewChild:()=>wr,ViewChildren:()=>br,ViewContainerRef:()=>bg,ViewEncapsulation:()=>ne,ViewRef:()=>qb,WrappedValue:()=>Nl,asNativeElements:()=>Qb,assertPlatform:()=>kb,createPlatform:()=>xb,createPlatformFactory:()=>Tb,defineInjectable:()=>V,destroyPlatform:()=>Mb,enableProdMode:()=>_b,forwardRef:()=>c,getDebugNode:()=>lw,getModuleFactory:()=>Lb,getPlatform:()=>Ab,inject:()=>Qr,isDevMode:()=>vb,platformCore:()=>gw,resolveForwardRef:()=>h,setTestabilityGetter:()=>fb,ɵ0:()=>es,ɵALLOW_MULTIPLE_PLATFORMS:()=>Eb,ɵAPP_ID_RANDOM_PROVIDER:()=>M_,ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__:()=>fr,ɵChangeDetectorStatus:()=>ee,ɵCodegenComponentFactoryResolver:()=>Cp,ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__:()=>Q_,ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__:()=>G_,ɵCompiler_compileModuleAsync__POST_R3__:()=>W_,ɵCompiler_compileModuleSync__POST_R3__:()=>z_,ɵComponentFactory:()=>yp,ɵConsole:()=>F_,ɵDEFAULT_LOCALE_ID:()=>qd,ɵEMPTY_ARRAY:()=>ce,ɵEMPTY_MAP:()=>wm,ɵINJECTOR_IMPL__POST_R3__:()=>Yu,ɵINJECTOR_SCOPE:()=>Vu,ɵLifecycleHooksFeature:()=>_l,ɵLocaleDataIndex:()=>Hd,ɵNG_COMP_DEF:()=>he,ɵNG_DIR_DEF:()=>de,ɵNG_ELEMENT_ID:()=>ye,ɵNG_INJ_DEF:()=>z,ɵNG_MOD_DEF:()=>pe,ɵNG_PIPE_DEF:()=>fe,ɵNG_PROV_DEF:()=>H,ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>dy,ɵNO_CHANGE:()=>Go,ɵNgModuleFactory:()=>Iy,ɵNoopNgZone:()=>lb,ɵReflectionCapabilities:()=>Vr,ɵRender3ComponentFactory:()=>Cy,ɵRender3ComponentRef:()=>Dy,ɵRender3NgModuleRef:()=>Ay,ɵRuntimeError:()=>f,ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__:()=>ng,ɵSWITCH_COMPILE_COMPONENT__POST_R3__:()=>m_,ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__:()=>y_,ɵSWITCH_COMPILE_INJECTABLE__POST_R3__:()=>gc,ɵSWITCH_COMPILE_NGMODULE__POST_R3__:()=>D_,ɵSWITCH_COMPILE_PIPE__POST_R3__:()=>v_,ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__:()=>Tp,ɵSWITCH_IVY_ENABLED__POST_R3__:()=>$_,ɵSWITCH_RENDERER2_FACTORY__POST_R3__:()=>Np,ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__:()=>lg,ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__:()=>vg,ɵ_sanitizeHtml:()=>ai,ɵ_sanitizeUrl:()=>Hs,ɵallowSanitizationBypassAndThrow:()=>Is,ɵand:()=>Dw,ɵangular_packages_core_core_a:()=>d,ɵangular_packages_core_core_b:()=>Zr,ɵangular_packages_core_core_ba:()=>ww,ɵangular_packages_core_core_bb:()=>Wd,ɵangular_packages_core_core_bc:()=>iy,ɵangular_packages_core_core_bd:()=>jg,ɵangular_packages_core_core_be:()=>ot,ɵangular_packages_core_core_bf:()=>wy,ɵangular_packages_core_core_bg:()=>qn,ɵangular_packages_core_core_bh:()=>Ft,ɵangular_packages_core_core_bi:()=>Wt,ɵangular_packages_core_core_bj:()=>dn,ɵangular_packages_core_core_bl:()=>Hy,ɵangular_packages_core_core_bm:()=>zy,ɵangular_packages_core_core_bn:()=>qy,ɵangular_packages_core_core_bo:()=>Wy,ɵangular_packages_core_core_bp:()=>Zy,ɵangular_packages_core_core_bq:()=>yi,ɵangular_packages_core_core_br:()=>dr,ɵangular_packages_core_core_bs:()=>hr,ɵangular_packages_core_core_bv:()=>i,ɵangular_packages_core_core_bw:()=>ju,ɵangular_packages_core_core_bx:()=>K,ɵangular_packages_core_core_bz:()=>Ct,ɵangular_packages_core_core_c:()=>Jr,ɵangular_packages_core_core_cb:()=>to,ɵangular_packages_core_core_cc:()=>ep,ɵangular_packages_core_core_d:()=>Lc,ɵangular_packages_core_core_e:()=>xc,ɵangular_packages_core_core_f:()=>Oc,ɵangular_packages_core_core_g:()=>k_,ɵangular_packages_core_core_h:()=>Fp,ɵangular_packages_core_core_i:()=>Sp,ɵangular_packages_core_core_j:()=>xp,ɵangular_packages_core_core_k:()=>jb,ɵangular_packages_core_core_l:()=>pg,ɵangular_packages_core_core_m:()=>gg,ɵangular_packages_core_core_n:()=>wg,ɵangular_packages_core_core_o:()=>Gb,ɵangular_packages_core_core_p:()=>Kb,ɵangular_packages_core_core_q:()=>cw,ɵangular_packages_core_core_r:()=>ig,ɵangular_packages_core_core_s:()=>Lp,ɵangular_packages_core_core_t:()=>Wp,ɵangular_packages_core_core_u:()=>Kp,ɵangular_packages_core_core_v:()=>Yp,ɵangular_packages_core_core_w:()=>mw,ɵangular_packages_core_core_x:()=>yw,ɵangular_packages_core_core_y:()=>vw,ɵangular_packages_core_core_z:()=>bw,ɵbypassSanitizationTrustHtml:()=>Ns,ɵbypassSanitizationTrustResourceUrl:()=>js,ɵbypassSanitizationTrustScript:()=>Fs,ɵbypassSanitizationTrustStyle:()=>Ps,ɵbypassSanitizationTrustUrl:()=>Rs,ɵccf:()=>Pm,ɵclearOverrides:()=>YC,ɵclearResolutionOfComponentResourcesQueue:()=>ps,ɵcmf:()=>JC,ɵcompileComponent:()=>Wv,ɵcompileDirective:()=>Zv,ɵcompileNgModule:()=>Iv,ɵcompileNgModuleDefs:()=>Ov,ɵcompileNgModuleFactory__POST_R3__:()=>wb,ɵcompilePipe:()=>a_,ɵcreateInjector:()=>Hu,ɵcrt:()=>qg,ɵdefaultIterableDiffers:()=>ag,ɵdefaultKeyValueDiffers:()=>ug,ɵdetectChanges:()=>Pu,ɵdevModeEqual:()=>Ol,ɵdid:()=>ny,ɵeld:()=>Ew,ɵfindLocaleData:()=>Vd,ɵflushModuleScopingQueueAsMuchAsPossible:()=>Mv,ɵgetComponentViewDefinitionFactory:()=>Fm,ɵgetDebugNodeR2:()=>hw,ɵgetDebugNode__POST_R3__:()=>uw,ɵgetDirectives:()=>il,ɵgetHostElement:()=>al,ɵgetInjectableDef:()=>B,ɵgetLContext:()=>bi,ɵgetLocaleCurrencyCode:()=>Ld,ɵgetLocalePluralCase:()=>Bd,ɵgetModuleFactory__POST_R3__:()=>Vb,ɵgetSanitizationBypassType:()=>Os,ɵglobal:()=>ae,ɵinitServicesIfNeeded:()=>dC,ɵinlineInterpolate:()=>_m,ɵinterpolate:()=>vm,ɵisBoundToModule__POST_R3__:()=>Db,ɵisDefaultChangeDetectionStrategy:()=>te,ɵisListLikeIterable:()=>Pl,ɵisObservable:()=>Xc,ɵisPromise:()=>Yc,ɵisSubscribable:()=>Jc,ɵivyEnabled:()=>U_,ɵmakeDecorator:()=>lr,ɵmarkDirty:()=>Fu,ɵmod:()=>Tm,ɵmpd:()=>xm,ɵncd:()=>Pw,ɵnoSideEffects:()=>J,ɵnov:()=>Wm,ɵoverrideComponentView:()=>QC,ɵoverrideProvider:()=>KC,ɵpad:()=>jw,ɵpatchComponentDefWithScope:()=>$v,ɵpid:()=>ry,ɵpod:()=>Vw,ɵppd:()=>Rw,ɵprd:()=>sy,ɵpublishDefaultGlobalUtils:()=>fl,ɵpublishGlobalUtil:()=>pl,ɵqud:()=>Mw,ɵregisterLocaleData:()=>jd,ɵregisterModuleFactory:()=>xy,ɵregisterNgModuleType:()=>ky,ɵrenderComponent:()=>gl,ɵresetCompiledComponents:()=>Vv,ɵresetJitOptions:()=>xv,ɵresolveComponentResources:()=>cs,ɵsetClassMetadata:()=>Ey,ɵsetCurrentInjector:()=>Wr,ɵsetDocument:()=>mt,ɵsetLocaleId:()=>Yd,ɵstore:()=>uc,ɵstringify:()=>a,ɵted:()=>Bw,ɵtransitiveScopesFor:()=>Uv,ɵunregisterLocaleData:()=>Ud,ɵunv:()=>Ug,ɵunwrapSafeValue:()=>As,ɵvid:()=>Hw,ɵwhenRendered:()=>bl,ɵɵCopyDefinitionFeature:()=>Ml,ɵɵFactoryTarget:()=>Cr,ɵɵInheritDefinitionFeature:()=>Cl,ɵɵNgOnChangesFeature:()=>it,ɵɵProvidersFeature:()=>gp,ɵɵadvance:()=>Ko,ɵɵattribute:()=>Ul,ɵɵattributeInterpolate1:()=>Jl,ɵɵattributeInterpolate2:()=>Xl,ɵɵattributeInterpolate3:()=>ec,ɵɵattributeInterpolate4:()=>tc,ɵɵattributeInterpolate5:()=>nc,ɵɵattributeInterpolate6:()=>rc,ɵɵattributeInterpolate7:()=>sc,ɵɵattributeInterpolate8:()=>ic,ɵɵattributeInterpolateV:()=>oc,ɵɵclassMap:()=>Fh,ɵɵclassMapInterpolate1:()=>id,ɵɵclassMapInterpolate2:()=>od,ɵɵclassMapInterpolate3:()=>ad,ɵɵclassMapInterpolate4:()=>ud,ɵɵclassMapInterpolate5:()=>ld,ɵɵclassMapInterpolate6:()=>cd,ɵɵclassMapInterpolate7:()=>hd,ɵɵclassMapInterpolate8:()=>dd,ɵɵclassMapInterpolateV:()=>fd,ɵɵclassProp:()=>Oh,ɵɵcontentQuery:()=>vv,ɵɵdefineComponent:()=>_e,ɵɵdefineDirective:()=>Te,ɵɵdefineInjectable:()=>j,ɵɵdefineInjector:()=>L,ɵɵdefineNgModule:()=>Ee,ɵɵdefinePipe:()=>ke,ɵɵdirectiveInject:()=>Bc,ɵɵdisableBindings:()=>Pt,ɵɵelement:()=>Wc,ɵɵelementContainer:()=>Kc,ɵɵelementContainerEnd:()=>Gc,ɵɵelementContainerStart:()=>Zc,ɵɵelementEnd:()=>qc,ɵɵelementStart:()=>zc,ɵɵenableBindings:()=>Nt,ɵɵgetCurrentView:()=>Qc,ɵɵgetInheritedFactory:()=>rr,ɵɵhostProperty:()=>Od,ɵɵi18n:()=>rp,ɵɵi18nApply:()=>op,ɵɵi18nAttributes:()=>sp,ɵɵi18nEnd:()=>np,ɵɵi18nExp:()=>ip,ɵɵi18nPostprocess:()=>ap,ɵɵi18nStart:()=>tp,ɵɵinject:()=>Gr,ɵɵinjectAttribute:()=>ir,ɵɵinvalidFactory:()=>$c,ɵɵinvalidFactoryDep:()=>Kr,ɵɵlistener:()=>eh,ɵɵloadQuery:()=>_v,ɵɵnamespaceHTML:()=>vn,ɵɵnamespaceMathML:()=>yn,ɵɵnamespaceSVG:()=>mn,ɵɵnextContext:()=>ih,ɵɵngDeclareClassMetadata:()=>tD,ɵɵngDeclareComponent:()=>nD,ɵɵngDeclareDirective:()=>eD,ɵɵngDeclareFactory:()=>rD,ɵɵngDeclareInjectable:()=>iD,ɵɵngDeclareInjector:()=>oD,ɵɵngDeclareNgModule:()=>aD,ɵɵngDeclarePipe:()=>uD,ɵɵpipe:()=>Gy,ɵɵpipeBind1:()=>Ky,ɵɵpipeBind2:()=>Qy,ɵɵpipeBind3:()=>Yy,ɵɵpipeBind4:()=>Jy,ɵɵpipeBindV:()=>Xy,ɵɵprojection:()=>uh,ɵɵprojectionDef:()=>ah,ɵɵproperty:()=>Uc,ɵɵpropertyInterpolate:()=>lh,ɵɵpropertyInterpolate1:()=>ch,ɵɵpropertyInterpolate2:()=>hh,ɵɵpropertyInterpolate3:()=>dh,ɵɵpropertyInterpolate4:()=>fh,ɵɵpropertyInterpolate5:()=>ph,ɵɵpropertyInterpolate6:()=>gh,ɵɵpropertyInterpolate7:()=>mh,ɵɵpropertyInterpolate8:()=>yh,ɵɵpropertyInterpolateV:()=>vh,ɵɵpureFunction0:()=>Oy,ɵɵpureFunction1:()=>Ny,ɵɵpureFunction2:()=>Py,ɵɵpureFunction3:()=>Fy,ɵɵpureFunction4:()=>Ry,ɵɵpureFunction5:()=>jy,ɵɵpureFunction6:()=>Vy,ɵɵpureFunction7:()=>Ly,ɵɵpureFunction8:()=>By,ɵɵpureFunctionV:()=>$y,ɵɵqueryRefresh:()=>mv,ɵɵreference:()=>lc,ɵɵresolveBody:()=>Wi,ɵɵresolveDocument:()=>qi,ɵɵresolveWindow:()=>zi,ɵɵrestoreView:()=>jt,ɵɵsanitizeHtml:()=>ci,ɵɵsanitizeResourceUrl:()=>fi,ɵɵsanitizeScript:()=>pi,ɵɵsanitizeStyle:()=>hi,ɵɵsanitizeUrl:()=>di,ɵɵsanitizeUrlOrResourceUrl:()=>vi,ɵɵsetComponentScope:()=>be,ɵɵsetNgModuleScope:()=>Se,ɵɵstyleMap:()=>Nh,ɵɵstyleMapInterpolate1:()=>pd,ɵɵstyleMapInterpolate2:()=>gd,ɵɵstyleMapInterpolate3:()=>md,ɵɵstyleMapInterpolate4:()=>yd,ɵɵstyleMapInterpolate5:()=>vd,ɵɵstyleMapInterpolate6:()=>_d,ɵɵstyleMapInterpolate7:()=>bd,ɵɵstyleMapInterpolate8:()=>wd,ɵɵstyleMapInterpolateV:()=>Cd,ɵɵstyleProp:()=>Ih,ɵɵstylePropInterpolate1:()=>Dd,ɵɵstylePropInterpolate2:()=>Ed,ɵɵstylePropInterpolate3:()=>Sd,ɵɵstylePropInterpolate4:()=>xd,ɵɵstylePropInterpolate5:()=>Td,ɵɵstylePropInterpolate6:()=>kd,ɵɵstylePropInterpolate7:()=>Md,ɵɵstylePropInterpolate8:()=>Ad,ɵɵstylePropInterpolateV:()=>Id,ɵɵsyntheticHostListener:()=>th,ɵɵsyntheticHostProperty:()=>Nd,ɵɵtemplate:()=>ac,ɵɵtemplateRefExtractor:()=>Dv,ɵɵtext:()=>Gh,ɵɵtextInterpolate:()=>Kh,ɵɵtextInterpolate1:()=>Qh,ɵɵtextInterpolate2:()=>Yh,ɵɵtextInterpolate3:()=>Jh,ɵɵtextInterpolate4:()=>Xh,ɵɵtextInterpolate5:()=>ed,ɵɵtextInterpolate6:()=>td,ɵɵtextInterpolate7:()=>nd,ɵɵtextInterpolate8:()=>rd,ɵɵtextInterpolateV:()=>sd,ɵɵtrustConstantHtml:()=>gi,ɵɵtrustConstantResourceUrl:()=>mi,ɵɵviewQuery:()=>yv});var r=n(4309),s=n(42998);function i(e){for(let t in e)if(e[t]===i)return t;throw Error("Could not find renamed property on target object.")}function o(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function a(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(a).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 u(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const l=i({__forward_ref__:i});function c(e){return e.__forward_ref__=c,e.toString=function(){return a(this())},e}function h(e){return d(e)?e():e}function d(e){return"function"==typeof e&&e.hasOwnProperty(l)&&e.__forward_ref__===c}class f extends Error{constructor(e,t){super(g(e,t)),this.code=e}}const p=new Set(["100","200","201","300","301","302"]);function g(e,t){let n=`${e?`NG0${e}: `:""}${t}`;return ngDevMode&&p.has(e)&&(n=`${n}. Find more at https://angular.io/errors/NG0${e}`),n}function m(e){return"string"==typeof e?e:null==e?"":String(e)}function y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():m(e)}function v(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new f("200",`Circular dependency in DI detected for ${e}${n}`)}function _(){throw new Error("Cannot mix multi providers and regular providers")}function b(e,t){const n=t?` in ${t}`:"";throw new f("201",`No provider for ${y(e)} found${n}`)}function w(e,t){"number"!=typeof e&&N(t,typeof e,"number","===")}function C(e,t,n){w(e,"Expected a number"),M(e,n,"Expected number to be less than or equal to"),I(e,t,"Expected number to be greater than or equal to")}function D(e,t){"string"!=typeof e&&N(t,null===e?"null":typeof e,"string","===")}function E(e,t,n){e!=t&&N(n,e,t,"==")}function S(e,t,n){e==t&&N(n,e,t,"!=")}function x(e,t,n){e!==t&&N(n,e,t,"===")}function T(e,t,n){e===t&&N(n,e,t,"!==")}function k(e,t,n){e<t||N(n,e,t,"<")}function M(e,t,n){e<=t||N(n,e,t,"<=")}function A(e,t,n){e>t||N(n,e,t,">")}function I(e,t,n){e>=t||N(n,e,t,">=")}function O(e,t){null==e&&N(t,e,null,"!=")}function N(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function P(e){"undefined"!=typeof Node&&e instanceof Node||"object"==typeof e&&null!=e&&"WebWorkerRenderNode"===e.constructor.name||N(`The provided value must be an instance of a DOM Node but got ${a(e)}`)}function F(e,t){O(e,"Array must be defined.");const n=e.length;(t<0||t>=n)&&N(`Index expected to be less than ${n} but got ${t}`)}function R(e,...t){if(-1!==t.indexOf(e))return!0;N(`Expected value to be one of ${JSON.stringify(t)} but was ${JSON.stringify(e)}.`)}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const V=j;function L(e){return{providers:e.providers||[],imports:e.imports||[]}}function B(e){return $(e,H)||$(e,q)}function $(e,t){return e.hasOwnProperty(t)?e[t]:null}function U(e){return e&&(e.hasOwnProperty(z)||e.hasOwnProperty(W))?e[z]:null}const H=i({ɵprov:i}),z=i({ɵinj:i}),q=i({ngInjectableDef:i}),W=i({ngInjectorDef:i});var Z=(()=>((Z=Z||{})[Z.Default=0]="Default",Z[Z.Host=1]="Host",Z[Z.Self=2]="Self",Z[Z.SkipSelf=4]="SkipSelf",Z[Z.Optional=8]="Optional",Z))();let G;function K(){return G}function Q(e){const t=G;return G=e,t}function Y(e,t,n){const r=B(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Z.Optional?null:void 0!==t?t:void b(a(e),"Injector")}function J(e){return{toString:e}.toString()}var X=(()=>((X=X||{})[X.OnPush=0]="OnPush",X[X.Default=1]="Default",X))(),ee=(()=>((ee=ee||{})[ee.CheckOnce=0]="CheckOnce",ee[ee.Checked=1]="Checked",ee[ee.CheckAlways=2]="CheckAlways",ee[ee.Detached=3]="Detached",ee[ee.Errored=4]="Errored",ee[ee.Destroyed=5]="Destroyed",ee))();function te(e){return null==e||e===X.Default}var ne=(()=>((ne=ne||{})[ne.Emulated=0]="Emulated",ne[ne.None=2]="None",ne[ne.ShadowDom=3]="ShadowDom",ne))();const re="undefined"!=typeof globalThis&&globalThis,se="undefined"!=typeof window&&window,ie="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,oe="undefined"!=typeof global&&global,ae=re||oe||se||ie;function ue(){return!("undefined"!=typeof ngDevMode&&!ngDevMode||("object"!=typeof ngDevMode&&function(){const e="undefined"!=typeof location?location.toString():"",t={namedConstructors:-1!=e.indexOf("ngDevMode=namedConstructors"),firstCreatePass:0,tNode:0,tView:0,rendererCreateTextNode:0,rendererSetText:0,rendererCreateElement:0,rendererAddEventListener:0,rendererSetAttribute:0,rendererRemoveAttribute:0,rendererSetProperty:0,rendererSetClassName:0,rendererAddClass:0,rendererRemoveClass:0,rendererSetStyle:0,rendererRemoveStyle:0,rendererDestroy:0,rendererDestroyNode:0,rendererMoveNode:0,rendererRemoveNode:0,rendererAppendChild:0,rendererInsertBefore:0,rendererCreateComment:0},n=-1===e.indexOf("ngDevMode=false");ae.ngDevMode=n&&t}(),"undefined"==typeof ngDevMode||!ngDevMode))}const le={},ce=[];"undefined"==typeof ngDevMode||ngDevMode;const he=i({ɵcmp:i}),de=i({ɵdir:i}),fe=i({ɵpipe:i}),pe=i({ɵmod:i}),ge=i({ɵloc:i}),me=i({ɵfac:i}),ye=i({__NG_ELEMENT_ID__:i});let ve=0;function _e(e){return J((()=>{("undefined"==typeof ngDevMode||ngDevMode)&&ue();const t={},n={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:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===X.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ce,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ne.Emulated,id:"c",styles:e.styles||ce,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,s=e.features,i=e.pipes;return n.id+=ve++,n.inputs=xe(e.inputs,t),n.outputs=xe(e.outputs),s&&s.forEach((e=>e(n))),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(we):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Ce):null,n}))}function be(e,t,n){const r=e.ɵcmp;r.directiveDefs=()=>t.map(we),r.pipeDefs=()=>n.map(Ce)}function we(e){const t=Me(e)||Ae(e);if(ngDevMode&&!t)throw new Error(`'${e.name}' is neither 'ComponentType' or 'DirectiveType'.`);return t}function Ce(e){const t=Ie(e);if(ngDevMode&&!t)throw new Error(`'${e.name}' is not a 'PipeType'.`);return t}const De={};function Ee(e){return J((()=>{const t={type:e.type,bootstrap:e.bootstrap||ce,declarations:e.declarations||ce,imports:e.imports||ce,exports:e.exports||ce,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(De[e.id]=e.type),t}))}function Se(e,t){return J((()=>{const n=Oe(e,!0);n.declarations=t.declarations||ce,n.imports=t.imports||ce,n.exports=t.exports||ce}))}function xe(e,t){if(null==e)return le;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const Te=_e;function ke(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Me(e){return e[he]||null}function Ae(e){return e[de]||null}function Ie(e){return e[fe]||null}function Oe(e,t){const n=e[pe]||null;if(!n&&!0===t)throw new Error(`Type ${a(e)} does not have 'ɵmod' property.`);return n}const Ne=20,Pe=["Root","Component","Embedded"],Fe=10;function Re(e){return Array.isArray(e)&&"object"==typeof e[1]}function je(e){return Array.isArray(e)&&!0===e[1]}function Ve(e){return 0!=(8&e.flags)}function Le(e){return 2==(2&e.flags)}function Be(e){return 1==(1&e.flags)}function $e(e){return null!==e.template}function Ue(e,t){He(e,t[1])}function He(e,t){ze(e),e.hasOwnProperty("tView_")&&E(e.tView_,t,"This TNode does not belong to this TView.")}function ze(e){O(e,"TNode must be defined"),e&&"object"==typeof e&&e.hasOwnProperty("directiveStylingLast")||N("Not of type TNode, got: "+e)}function qe(e){O(e,"Expected TIcu to be defined"),"number"!=typeof e.currentCaseLViewIndex&&N("Object is not of TIcu type.")}function We(e,t="Type passed in is not ComponentType, it does not have 'ɵcmp' property."){Me(e)||N(t)}function Ze(e){O(e,"currentTNode should exist!"),O(e.parent,"currentTNode should have a parent")}function Ge(e){O(e,"LContainer must be defined"),E(je(e),!0,"Expecting LContainer")}function Ke(e){e&&E(Re(e),!0,"Expecting LView or undefined or null")}function Qe(e){O(e,"LView must be defined"),E(Re(e),!0,"Expecting LView")}function Ye(e,t){E(e.firstCreatePass,!0,t||"Should only be called in first create pass.")}function Je(e,t){E(e.firstUpdatePass,!0,t||"Should only be called in first update pass.")}function Xe(e,t){et(e[1].expandoStartIndex,e.length,t)}function et(e,t,n){e<=n&&n<t||N(`Index out of range (expecting ${e} <= ${n} < ${t})`)}function tt(e,t){O(e,t||"Component views should always have a parent view (component's host view)")}function nt(e,t){Xe(e,t),Xe(e,t+8),w(e[t+0],"injectorIndex should point to a bloom filter"),w(e[t+1],"injectorIndex should point to a bloom filter"),w(e[t+2],"injectorIndex should point to a bloom filter"),w(e[t+3],"injectorIndex should point to a bloom filter"),w(e[t+4],"injectorIndex should point to a bloom filter"),w(e[t+5],"injectorIndex should point to a bloom filter"),w(e[t+6],"injectorIndex should point to a bloom filter"),w(e[t+7],"injectorIndex should point to a bloom filter"),w(e[t+8],"injectorIndex should point to parent injector")}function rt(e,t){const n=e.hasOwnProperty(me);if(!n&&!0===t&&ngDevMode)throw new Error(`Type ${a(e)} does not have 'ɵfac' property.`);return n?e[me]:null}class st{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function it(){return ot}function ot(e){return e.type.prototype.ngOnChanges&&(e.setInput=ut),at}function at(){const e=lt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===le)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function ut(e,t,n,r){const s=lt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:le,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],u=o[a];i[a]=new st(u&&u.currentValue,t,o===le),e[r]=t}function lt(e){return e.__ngSimpleChanges__||null}it.ngInherit=!0;let ct=null;const ht=e=>{ct=e},dt=function(e,t,n){null!=ct&&ct(e,t,n)},ft="http://www.w3.org/2000/svg",pt="http://www.w3.org/1998/MathML/";let gt;function mt(e){gt=e}function yt(){return void 0!==gt?gt:"undefined"!=typeof document?document:void 0}function vt(e){return!!e.listen}const _t={createRenderer:(e,t)=>yt()};function bt(e){for(;Array.isArray(e);)e=e[0];return e}function wt(e,t){return ngDevMode&&F(t,e),ngDevMode&&I(e,Ne,"Expected to be past HEADER_OFFSET"),bt(t[e])}function Ct(e,t){ngDevMode&&Ue(e,t),ngDevMode&&F(t,e.index);const n=bt(t[e.index]);return ngDevMode&&!vt(t[11])&&P(n),n}function Dt(e,t){ngDevMode&&A(t,-1,"wrong index for TNode"),ngDevMode&&k(t,e.data.length,"wrong index for TNode");const n=e.data[t];return ngDevMode&&null!==n&&ze(n),n}function Et(e,t){return ngDevMode&&F(e,t),e[t]}function St(e,t){ngDevMode&&F(t,e);const n=t[e];return Re(n)?n:n[0]}function xt(e){return 4==(4&e[2])}function Tt(e){return 128==(128&e[2])}function kt(e,t){return null==t?null:(ngDevMode&&F(e,t),e[t])}function Mt(e){e[18]=0}function At(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const It={lFrame:un(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ot(){return It.bindingsEnabled}function Nt(){It.bindingsEnabled=!0}function Pt(){It.bindingsEnabled=!1}function Ft(){return It.lFrame.lView}function Rt(){return It.lFrame.tView}function jt(e){return It.lFrame.contextLView=e,e[8]}function Vt(){let e=Lt();for(;null!==e&&64===e.type;)e=e.parent;return e}function Lt(){return It.lFrame.currentTNode}function Bt(){const e=It.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $t(e,t){ngDevMode&&e&&He(e,It.lFrame.tView);const n=It.lFrame;n.currentTNode=e,n.isParent=t}function Ut(){return It.lFrame.isParent}function Ht(){It.lFrame.isParent=!1}function zt(){return It.isInCheckNoChangesMode}function qt(e){It.isInCheckNoChangesMode=e}function Wt(){const e=It.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Zt(){return It.lFrame.bindingIndex}function Gt(e){return It.lFrame.bindingIndex=e}function Kt(){return It.lFrame.bindingIndex++}function Qt(e){const t=It.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Yt(e){It.lFrame.inI18n=e}function Jt(e,t){const n=It.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xt(t)}function Xt(e){It.lFrame.currentDirectiveIndex=e}function en(e){const t=It.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function tn(){return It.lFrame.currentQueryIndex}function nn(e){It.lFrame.currentQueryIndex=e}function rn(e){const t=e[1];return 2===t.type?(ngDevMode&&O(t.declTNode,"Embedded TNodes should have declaration parents."),t.declTNode):1===t.type?e[6]:null}function sn(e,t,n){if(ngDevMode&&Ke(e),n&Z.SkipSelf){ngDevMode&&He(t,e[1]);let r=t,s=e;for(;ngDevMode&&O(r,"Parent TNode should be defined"),r=r.parent,!(null!==r||n&Z.Host||(r=rn(s),null===r)||(ngDevMode&&O(s,"Parent LView should be defined"),s=s[15],10&r.type)););if(null===r)return!1;t=r,e=s}ngDevMode&&Ue(t,e);const r=It.lFrame=an();return r.currentTNode=t,r.lView=e,!0}function on(e){ngDevMode&&S(e[0],e[1],"????"),ngDevMode&&Ke(e);const t=an();ngDevMode&&(E(t.isParent,!0,"Expected clean LFrame"),E(t.lView,null,"Expected clean LFrame"),E(t.tView,null,"Expected clean LFrame"),E(t.selectedIndex,-1,"Expected clean LFrame"),E(t.elementDepthCount,0,"Expected clean LFrame"),E(t.currentDirectiveIndex,-1,"Expected clean LFrame"),E(t.currentNamespace,null,"Expected clean LFrame"),E(t.bindingRootIndex,-1,"Expected clean LFrame"),E(t.currentQueryIndex,0,"Expected clean LFrame"));const n=e[1];It.lFrame=t,ngDevMode&&n.firstChild&&He(n.firstChild,n),t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function an(){const e=It.lFrame,t=null===e?null:e.child;return null===t?un(e):t}function un(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 ln(){const e=It.lFrame;return It.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const cn=ln;function hn(){const e=ln();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 dn(e){return(It.lFrame.contextLView=function(e,t){for(;e>0;)ngDevMode&&O(t[15],"Declaration view should be defined if nesting level is greater than 0."),t=t[15],e--;return t}(e,It.lFrame.contextLView))[8]}function fn(){return It.lFrame.selectedIndex}function pn(e){ngDevMode&&-1!==e&&I(e,Ne,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&k(e,It.lFrame.lView.length,"Can't set index passed end of LView"),It.lFrame.selectedIndex=e}function gn(){const e=It.lFrame;return Dt(e.tView,e.selectedIndex)}function mn(){It.lFrame.currentNamespace=ft}function yn(){It.lFrame.currentNamespace=pt}function vn(){It.lFrame.currentNamespace=null}function _n(e,t){ngDevMode&&Ye(e);for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n];ngDevMode&&O(t,"Expecting DirectiveDef");const r=t.type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:i,ngAfterViewInit:o,ngAfterViewChecked:a,ngOnDestroy:u}=r;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),a&&((e.viewHooks||(e.viewHooks=[])).push(n,a),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,a)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function bn(e,t,n){Dn(e,t,3,n)}function wn(e,t,n,r){ngDevMode&&S(n,3,"Init pre-order hooks should not be called more than once"),(3&e[2])===n&&Dn(e,t,n,r)}function Cn(e,t){ngDevMode&&S(t,3,"Init hooks phase should not be incremented after all init hooks have been run.");let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Dn(e,t,n,r){ngDevMode&&E(zt(),!1,"Hooks should never be run when in check no changes mode.");const s=void 0!==r?65535&e[18]:0,i=null!=r?r:-1,o=t.length-1;let a=0;for(let u=s;u<o;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(En(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function En(e,t,n,r){const s=n[r]<0,i=n[r+1],o=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,dt(4,o,i);try{i.call(o)}finally{dt(5,o,i)}}}else{dt(4,o,i);try{i.call(o)}finally{dt(5,o,i)}}}const Sn=-1;class xn{constructor(e,t,n){this.factory=e,this.resolving=!1,ngDevMode&&O(e,"Factory not specified"),ngDevMode&&E(typeof e,"function","Expected factory function."),this.canSeeViewProviders=t,this.injectImpl=n}}function Tn(e){let t="";return 1&e&&(t+="|Text"),2&e&&(t+="|Element"),4&e&&(t+="|Container"),8&e&&(t+="|ElementContainer"),16&e&&(t+="|Projection"),32&e&&(t+="|IcuContainer"),64&e&&(t+="|Placeholder"),t.length>0?t.substring(1):t}function kn(e,t,n){O(e,"should be called with a TNode"),0==(e.type&t)&&N(n||`Expected [${Tn(t)}] but got ${Tn(e.type)}.`)}function Mn(e,t,n){const r=vt(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],u=n[s++];ngDevMode&&ngDevMode.rendererSetAttribute++,r?e.setAttribute(t,a,u,o):t.setAttributeNS(o,a,u)}else{const o=i,a=n[++s];ngDevMode&&ngDevMode.rendererSetAttribute++,In(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function An(e){return 3===e||4===e||6===e}function In(e){return 64===e.charCodeAt(0)}function On(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||Nn(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Nn(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const n=e[i++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=i-1;break}}}for(;i<e.length;){const t=e[i];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function Pn(e){return e!==Sn}function Fn(e){return ngDevMode&&w(e,"Number expected"),ngDevMode&&S(e,-1,"Not a valid state."),ngDevMode&&A(32767&e,Ne,"Parent injector must be pointing past HEADER_OFFSET."),32767&e}function Rn(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}let jn=!0;function Vn(e){const t=jn;return jn=e,t}let Ln=0;function Bn(e,t){const n=Un(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,$n(r.data,e),$n(t,null),$n(r.blueprint,null));const s=Hn(e,t),i=e.injectorIndex;if(Pn(s)){const e=Fn(s),n=Rn(s,t),r=n[1].data;for(let s=0;s<8;s++)t[i+s]=n[e+s]|r[e+s]}return t[i+8]=s,i}function $n(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Un(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:(ngDevMode&&F(t,e.injectorIndex),e.injectorIndex)}function Hn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const e=s[1],t=e.type;if(2===t?(ngDevMode&&O(e.declTNode,"Embedded TNodes should have declaration parents."),r=e.declTNode):1===t?r=s[6]:(ngDevMode&&E(e.type,0,"Root type expected"),r=null),null===r)return Sn;if(ngDevMode&&r&&Ue(r,s[15]),n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Sn}function zn(e,t,n){!function(e,t,n){let r;ngDevMode&&E(t.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ye)&&(r=n[ye]),null==r&&(r=n[ye]=Ln++);const s=255&r,i=1<<s;t.data[e+(s>>5)]|=i}(e,t,n)}function qn(e,t){if(ngDevMode&&kn(e,15),ngDevMode&&O(e,"expecting tNode"),"class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const s=n[r];if(An(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(s===t)return n[r+1];r+=2}}}return null}function Wn(e,t,n){if(n&Z.Optional)return e;b(t,"NodeInjector")}function Zn(e,t,n,r){if(n&Z.Optional&&void 0===r&&(r=null),0==(n&(Z.Self|Z.Host))){const s=e[9],i=Q(void 0);try{return s?s.get(t,r,n&Z.Optional):Y(t,r,n&Z.Optional)}finally{Q(i)}}return Wn(r,t,n)}function Gn(e,t,n,r=Z.Default,s){if(null!==e){const i=function(e){if(ngDevMode&&O(e,"token must be defined"),"string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ye)?e[ye]:void 0;return"number"==typeof t?t>=0?255&t:(ngDevMode&&E(t,-1,"Expecting to get Special Injector Id"),Qn):t}(n);if("function"==typeof i){if(!sn(t,e,r))return r&Z.Host?Wn(s,n,r):Zn(t,n,r,s);try{const e=i(r);if(null!=e||r&Z.Optional)return e;b(n)}finally{cn()}}else if("number"==typeof i){let s=null,o=Un(e,t),a=Sn,u=r&Z.Host?t[16][6]:null;for((-1===o||r&Z.SkipSelf)&&(a=-1===o?Hn(e,t):t[o+8],a!==Sn&&tr(r,!1)?(s=t[1],o=Fn(a),t=Rn(a,t)):o=-1);-1!==o;){ngDevMode&&nt(t,o);const e=t[1];if(ngDevMode&&Ue(e.data[o+8],t),er(i,o,e.data)){const e=Yn(o,t,n,s,r,u);if(e!==Kn)return e}a=t[o+8],a!==Sn&&tr(r,t[1].data[o+8]===u)&&er(i,o,t)?(s=e,o=Fn(a),t=Rn(a,t)):o=-1}}}return Zn(t,n,r,s)}const Kn={};function Qn(){return new nr(Vt(),Ft())}function Yn(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],u=Jn(a,o,n,null==r?Le(a)&&jn:r!=o&&0!=(3&a.type),s&Z.Host&&i===a);return null!==u?Xn(t,o,u,a):Kn}function Jn(e,t,n,r,s){const i=e.providerIndexes,o=t.data,a=1048575&i,u=e.directiveStart,l=e.directiveEnd,c=i>>20,h=s?a+c:l;for(let e=r?a:a+c;e<h;e++){const t=o[e];if(e<u&&n===t||e>=u&&t.type===n)return e}if(s){const e=o[u];if(e&&$e(e)&&e.type===n)return u}return null}function Xn(e,t,n,r){let s=e[n];const i=t.data;if(s instanceof xn){const a=s;a.resolving&&v(y(i[n]));const u=Vn(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?Q(a.injectImpl):null,c=sn(e,r,Z.Default);ngDevMode&&E(c,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{s=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&(ngDevMode&&(void 0!==(o=i[n]).type&&null!=o.selectors&&void 0!==o.inputs||N("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")),function(e,t,n){ngDevMode&&Ye(n);const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const r=ot(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t))}finally{null!==l&&Q(l),Vn(u),a.resolving=!1,cn()}}var o;return s}function er(e,t,n){const r=1<<e;return!!(n[t+(e>>5)]&r)}function tr(e,t){return!(e&Z.Self||e&Z.Host&&t)}class nr{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return Gn(this._tNode,this._lView,e,n,t)}}function rr(e){return J((()=>{const t=e.prototype.constructor,n=t[me]||sr(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const e=s[me]||sr(s);if(e&&e!==n)return e;s=Object.getPrototypeOf(s)}return e=>new e}))}function sr(e){return d(e)?()=>{const t=sr(h(e));return t&&t()}:rt(e)}function ir(e){return qn(Vt(),e)}const or="__annotations__",ar="__parameters__",ur="__prop__metadata__";function lr(e,t,n,r,s){return J((()=>{const i=cr(t);function o(...e){if(this instanceof o)return i.call(this,...e),this;const t=new o(...e);return function(n){return s&&s(n,...e),(n.hasOwnProperty(or)?n[or]:Object.defineProperty(n,or,{value:[]})[or]).push(t),r&&r(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}function cr(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function hr(e,t,n){return J((()=>{const r=cr(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(ar)?e[ar]:Object.defineProperty(e,ar,{value:[]})[ar];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}function dr(e,t,n,r){return J((()=>{const s=cr(t);function i(...e){if(this instanceof i)return s.apply(this,e),this;const t=new i(...e);return function(n,s){const i=n.constructor,o=i.hasOwnProperty(ur)?i[ur]:Object.defineProperty(i,ur,{value:{}})[ur];o[s]=o.hasOwnProperty(s)&&o[s]||[],o[s].unshift(t),r&&r(n,s,...e)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}function fr(){return hr("Attribute",(e=>({attributeName:e,__NG_ELEMENT_ID__:()=>ir(e)})))}const pr=fr();class gr{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof t?(("undefined"==typeof ngDevMode||ngDevMode)&&k(t,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=t):void 0!==t&&(this.ɵprov=j({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const mr=new gr("AnalyzeForEntryComponents");class yr{}const vr=dr("ContentChildren",((e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t)),yr),_r=dr("ContentChild",((e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)),yr),br=dr("ViewChildren",((e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t)),yr),wr=dr("ViewChild",((e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)),yr);var Cr=(()=>((Cr=Cr||{})[Cr.Directive=0]="Directive",Cr[Cr.Component=1]="Component",Cr[Cr.Injectable=2]="Injectable",Cr[Cr.Pipe=3]="Pipe",Cr[Cr.NgModule=4]="NgModule",Cr))();function Dr(e){const t=ae.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;if("undefined"==typeof ngDevMode||ngDevMode){console.error(`JIT compilation failed for ${e.kind}`,e.type);let t=`The ${e.kind} '${e.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\n\n`;throw 1===e.usage?(t+=`The ${e.kind} is part of a library that has been partially compiled.\n`,t+="However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\n",t+="\n",t+="Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\n"):t+="JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\n",t+="Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\n",t+="or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.",new Error(t)}throw new Error("JIT compiler unavailable")}const Er=Function;function Sr(e){return"function"==typeof e}function xr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),xr(r,t)):t!==e&&t.push(r)}return t}function Tr(e,t){e.forEach((e=>Array.isArray(e)?Tr(e,t):t(e)))}function kr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Mr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ar(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ir(e,t,n){let r=Nr(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){ngDevMode&&M(t,e.length,"Can't insert past array end.");let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;){const t=s-2;e[s]=e[t],s--}e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Or(e,t){const n=Nr(e,t);if(n>=0)return e[1|n]}function Nr(e,t){return function(e,t,n){ngDevMode&&E(Array.isArray(e),!0,"Expecting an array");let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=e[i<<n];if(t===o)return i<<n;o>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const Pr=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\))\)/,Fr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Rr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,jr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class Vr{constructor(e){this._reflect=e||ae.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Ar(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)void 0===e?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(n=e.toString(),Pr.test(n)||jr.test(n)||Fr.test(n)&&!Rr.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const r=e.ctorParameters;if(r&&r!==t.ctorParameters){const e="function"==typeof r?r():r,t=e.map((e=>e&&e.type)),n=e.map((e=>e&&Lr(e.decorators)));return this._zipTypesAndAnnotations(t,n)}const s=e.hasOwnProperty(ar)&&e[ar],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return i||s?this._zipTypesAndAnnotations(i,s):Ar(e.length)}parameters(e){if(!Sr(e))return[];const t=Br(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?Lr(e.decorators):e.hasOwnProperty(or)?e[or]:null}annotations(e){if(!Sr(e))return[];const t=Br(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach((e=>{n[e]=Lr(t[e])})),n}return e.hasOwnProperty(ur)?e[ur]:null}propMetadata(e){if(!Sr(e))return{};const t=Br(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach((t=>{n[t]=e[t]}))}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach((e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t})),n}ownPropMetadata(e){return Sr(e)&&this._ownPropMetadata(e,Br(e))||{}}hasLifecycleHook(e,t){return e instanceof Er&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n        return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:`./${a(e)}`}resourceUri(e){return`./${a(e)}`}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function Lr(e){return e?e.map((e=>new(0,e.type.annotationCls)(...e.args?e.args:[]))):[]}function Br(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const $r={},Ur=/\n/gm,Hr="__source",zr=i({provide:String,useValue:i});let qr;function Wr(e){const t=qr;return qr=e,t}function Zr(e,t=Z.Default){if(void 0===qr)throw new Error("inject() must be called from an injection context");return null===qr?Y(e,void 0,t):qr.get(e,t&Z.Optional?null:void 0,t)}function Gr(e,t=Z.Default){return(K()||Zr)(h(e),t)}function Kr(e){const t=ngDevMode?`This constructor is not compatible with Angular Dependency Injection because its dependency at index ${e} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${e} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`:"invalid";throw new Error(t)}const Qr=Gr;function Yr(e){const t=[];for(let n=0;n<e.length;n++){const r=h(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e,n=Z.Default;for(let t=0;t<r.length;t++){const s=r[t],i=s.__NG_DI_FLAG__;"number"==typeof i?-1===i?e=s.token:n|=i:e=s}t.push(Gr(e,n))}else t.push(Gr(r))}return t}function Jr(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}function Xr(e,t,n,r){const s=e.ngTempTokenPath;throw t[Hr]&&s.unshift(t[Hr]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;let s=a(t);if(Array.isArray(t))s=t.map(a).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):a(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Ur,"\n  ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e.ngTempTokenPath=null,e}const es=e=>({token:e}),ts=Jr(hr("Inject",es),-1),ns=Jr(hr("Optional"),8),rs=Jr(hr("Self"),2),ss=Jr(hr("SkipSelf"),4),is=Jr(hr("Host"),1);let os=null;function as(){return os=os||new Vr}function us(e){return ls(as().parameters(e))}function ls(e){return e.map((e=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const s=Object.getPrototypeOf(r);if(r instanceof ns||"Optional"===s.ngMetadataName)t.optional=!0;else if(r instanceof ss||"SkipSelf"===s.ngMetadataName)t.skipSelf=!0;else if(r instanceof rs||"Self"===s.ngMetadataName)t.self=!0;else if(r instanceof is||"Host"===s.ngMetadataName)t.host=!0;else if(r instanceof ts)t.token=r.token;else if(r instanceof pr){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.attribute=r.attributeName}else t.token=r}else void 0===e||Array.isArray(e)&&0===e.length?t.token=null:t.token=e;return t}(e)))}function cs(e){const t=[],n=new Map;function r(t){let r=n.get(t);if(!r){const s=e(t);n.set(t,r=s.then(gs))}return r}return hs.forEach(((e,n)=>{const s=[];e.templateUrl&&s.push(r(e.templateUrl).then((t=>{e.template=t})));const i=e.styleUrls,o=e.styles||(e.styles=[]),a=e.styles.length;i&&i.forEach(((t,n)=>{o.push(""),s.push(r(t).then((r=>{o[a+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)})))}));const u=Promise.all(s).then((()=>function(e){ds.delete(e)}(n)));t.push(u)})),ps(),Promise.all(t).then((()=>{}))}let hs=new Map;const ds=new Set;function fs(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function ps(){const e=hs;return hs=new Map,e}function gs(e){return"string"==typeof e?e:e.text()}let ms,ys;function vs(){if(void 0===ms&&(ms=null,ae.trustedTypes))try{ms=ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ms}function _s(e){var t;return(null===(t=vs())||void 0===t?void 0:t.createHTML(e))||e}function bs(){if(void 0===ys&&(ys=null,ae.trustedTypes))try{ys=ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ys}function ws(e){var t;return(null===(t=bs())||void 0===t?void 0:t.createHTML(e))||e}function Cs(e){var t;return(null===(t=bs())||void 0===t?void 0:t.createScript(e))||e}function Ds(e){var t;return(null===(t=bs())||void 0===t?void 0:t.createScriptURL(e))||e}class Es{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Ss extends Es{getTypeName(){return"HTML"}}class xs extends Es{getTypeName(){return"Style"}}class Ts extends Es{getTypeName(){return"Script"}}class ks extends Es{getTypeName(){return"URL"}}class Ms extends Es{getTypeName(){return"ResourceURL"}}function As(e){return e instanceof Es?e.changingThisBreaksApplicationSecurity:e}function Is(e,t){const n=Os(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}function Os(e){return e instanceof Es&&e.getTypeName()||null}function Ns(e){return new Ss(e)}function Ps(e){return new xs(e)}function Fs(e){return new Ts(e)}function Rs(e){return new ks(e)}function js(e){return new Ms(e)}function Vs(e){const t=new Bs(e);return function(){try{return!!(new window.DOMParser).parseFromString(_s(""),"text/html")}catch(e){return!1}}()?new Ls(t):t}class Ls{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(_s(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(e){return null}}}class Bs{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=_s(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=_s(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0<n;n--){const r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const $s=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Us=/^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 Hs(e){return(e=String(e)).match($s)||e.match(Us)?e:(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see https://g.co/ng/security#xss)`),"unsafe:"+e)}function zs(e){return(e=String(e)).split(",").map((e=>Hs(e.trim()))).join(", ")}function qs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ws(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Zs=qs("area,br,col,hr,img,wbr"),Gs=qs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ks=qs("rp,rt"),Qs=Ws(Ks,Gs),Ys=Ws(Zs,Ws(Gs,qs("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")),Ws(Ks,qs("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")),Qs),Js=qs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xs=qs("srcset"),ei=Ws(Js,Xs,qs("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"),qs("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")),ti=qs("script,style,template");class ni{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Ys.hasOwnProperty(t))return this.sanitizedSomething=!0,!ti.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let e=0;e<n.length;e++){const t=n.item(e),r=t.name,s=r.toLowerCase();if(!ei.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let i=t.value;Js[s]&&(i=Hs(i)),Xs[s]&&(i=zs(i)),this.buf.push(" ",r,'="',ii(i),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Ys.hasOwnProperty(t)&&!Zs.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(ii(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const ri=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,si=/([^\#-~ |!])/g;function ii(e){return e.replace(/&/g,"&amp;").replace(ri,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(si,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let oi;function ai(e,t){let n=null;try{oi=oi||Vs(e);let r=t?String(t):"";n=oi.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=oi.getInertBodyElement(r)}while(r!==i);const o=new ni,a=o.sanitizeChildren(ui(n)||n);return("undefined"==typeof ngDevMode||ngDevMode)&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see https://g.co/ng/security#xss"),_s(a)}finally{if(n){const e=ui(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function ui(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var li=(()=>((li=li||{})[li.NONE=0]="NONE",li[li.HTML=1]="HTML",li[li.STYLE=2]="STYLE",li[li.SCRIPT=3]="SCRIPT",li[li.URL=4]="URL",li[li.RESOURCE_URL=5]="RESOURCE_URL",li))();function ci(e){const t=_i();return t?ws(t.sanitize(li.HTML,e)||""):Is(e,"HTML")?ws(As(e)):ai(yt(),m(e))}function hi(e){const t=_i();return t?t.sanitize(li.STYLE,e)||"":Is(e,"Style")?As(e):m(e)}function di(e){const t=_i();return t?t.sanitize(li.URL,e)||"":Is(e,"URL")?As(e):Hs(m(e))}function fi(e){const t=_i();if(t)return Ds(t.sanitize(li.RESOURCE_URL,e)||"");if(Is(e,"ResourceURL"))return Ds(As(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function pi(e){const t=_i();if(t)return Cs(t.sanitize(li.SCRIPT,e)||"");if(Is(e,"Script"))return Cs(As(e));throw new Error("unsafe value used in a script context")}function gi(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error(`Unexpected interpolation in trusted HTML constant: ${e.join("?")}`);return _s(e[0])}function mi(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error(`Unexpected interpolation in trusted URL constant: ${e.join("?")}`);return function(e){var t;return(null===(t=vs())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function yi(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?fi:di}function vi(e,t,n){return yi(t,n)(e)}function _i(){const e=Ft();return e&&e[12]}function bi(e){let t=Ei(e);if(t){if(Array.isArray(t)){const r=t;let s,i,o;if((n=e)&&n.constructor&&n.constructor.ɵcmp){if(s=ki(r,e),-1==s)throw new Error("The provided component was not found in the application");i=e}else if(function(e){return e&&e.constructor&&e.constructor.ɵdir}(e)){if(s=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveStart,s=n.directiveEnd;for(let i=r;i<s;i++)if(e[i]===t)return n.index;n=Ti(n)}return-1}(r,e),-1==s)throw new Error("The provided directive was not found in the application");o=Mi(s,r,!1)}else if(s=xi(r,e),-1==s)return null;const a=bt(r[s]),u=Ei(a),l=u&&!Array.isArray(u)?u:wi(r,s,a);if(i&&void 0===l.component&&(l.component=i,Di(l.component,l)),o&&void 0===l.directives){l.directives=o;for(let e=0;e<o.length;e++)Di(o[e],l)}Di(l.native,l),t=l}}else{const n=e;ngDevMode&&P(n);let r=n;for(;r=r.parentNode;){const e=Ei(r);if(e){let r;if(r=Array.isArray(e)?e:e.lView,!r)return null;const s=xi(r,n);if(s>=0){const e=bt(r[s]),n=wi(r,s,e);Di(e,n),t=n;break}}}}var n;return t||null}function wi(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Ci(e){let t,n=Ei(e);if(Array.isArray(n)){const r=ki(n,e);t=St(r,n);const s=wi(n,r,t[0]);s.component=e,Di(e,s),Di(s.native,s)}else{const e=n;t=St(e.nodeIndex,e.lView)}return t}function Di(e,t){ngDevMode&&O(e,"Target expected"),e.__ngContext__=t}function Ei(e){return ngDevMode&&O(e,"Target expected"),e.__ngContext__||null}function Si(e){const t=Ei(e);return t?Array.isArray(t)?t:t.lView:null}function xi(e,t){const n=e[1];for(let r=Ne;r<n.bindingStartIndex;r++)if(bt(e[r])===t)return r;return-1}function Ti(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function ki(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const s=n[r];if(St(s,e)[8]===t)return s}else if(St(Ne,e)[8]===t)return Ne;return-1}function Mi(e,t,n){const r=t[1].data[e];let s=r.directiveStart;if(0==s)return ce;const i=r.directiveEnd;return!n&&2&r.flags&&s++,t.slice(s,i)}function Ai(e){return e.ngDebugContext}function Ii(e){return e.ngOriginalError}function Oi(e,...t){e.error(...t)}class Ni{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e&&e.ngErrorLogger||Oi}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Ai(e)||this._findContext(Ii(e)):null}_findOriginalError(e){let t=e&&Ii(e);for(;t&&Ii(t);)t=Ii(t);return t||null}}const Pi={name:"custom-elements"},Fi={name:"no-errors-schema"},Ri=/^>|^->|<!--|-->|--!>|<!-$/g,ji=/(<|>)/;function Vi(e){return e.replace(Ri,(e=>e.replace(ji,"​$1​")))}function Li(e){if(!ngDevMode)throw new Error("Looks like we are in 'prod mode', but we are creating a named Array type, which is wrong! Check your code");try{return function(...e){if("undefined"==typeof ngDevMode)throw new Error("newTrustedFunctionForDev should never be called in production");if(!ae.trustedTypes)return new Function(...e);const t=`(function anonymous(${e.slice(0,-1).join(",")}\n) { ${e[e.length-1]}\n})`,n=ae.eval((r=t,(null===(s=vs())||void 0===s?void 0:s.createScript(r))||r));var r,s;return void 0===n.bind?new Function(...e):(n.toString=()=>t,n.bind(ae))}("Array",`return class ${e} extends Array{}`)(Array)}catch(e){return Array}}function Bi(e){var t;return t=e.replace(/[$@]/g,"_"),`ng-reflect-${e=t.replace($i,((...e)=>"-"+e[1].toLowerCase()))}`}const $i=/([A-Z])/g;function Ui(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}const Hi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ae))();function zi(e){return e.ownerDocument.defaultView}function qi(e){return e.ownerDocument}function Wi(e){return e.ownerDocument.body}const Zi="�";function Gi(e){return e instanceof Function?e():e}function Ki(e){throw new f("300",`Multiple components match node with tagname ${e.value}`)}function Qi(e,t,n,r,s){const[i,o,...a]=r.split(Zi);let u=o,l=o;for(let r=0;r<a.length;r++){const i=t+r;u+=`${e[i]}${a[r]}`,l+=`${i===n?s:e[i]}${a[r]}`}return{propName:i,oldValue:u,newValue:l}}var Yi=(()=>((Yi=Yi||{})[Yi.Important=1]="Important",Yi[Yi.DashCase=2]="DashCase",Yi))();let Ji;function Xi(e,t){return Ji(e,t)}function eo(e){ngDevMode&&Qe(e);const t=e[3];return je(t)?t[3]:t}function to(e){const t=function(e){ngDevMode&&O(e,"component");let t=Re(e)?e:Si(e);for(;t&&!(512&t[2]);)t=eo(t);return ngDevMode&&Qe(t),t}(e);return ngDevMode&&O(t[8],"RootView has no context. Perhaps it is disconnected?"),t[8]}function no(e){return so(e[13])}function ro(e){return so(e[4])}function so(e){for(;null!==e&&!je(e);)e=e[4];return e}function io(e,t,n,r,s){if(null!=r){let i,o=!1;je(r)?i=r:Re(r)&&(o=!0,ngDevMode&&O(r[0],"HOST must be defined for a component LView"),r=r[0]);const a=bt(r);ngDevMode&&!vt(t)&&P(a),0===e&&null!==n?null==s?vo(t,n,a):yo(t,n,a,s||null,!0):1===e&&null!==n?yo(t,n,a,s||null,!0):2===e?Ao(t,a,o):3===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,t.destroyNode(a)),null!=i&&function(e,t,n,r,s){ngDevMode&&Ge(n);const i=n[7];i!==bt(n)&&io(t,e,r,i,s);for(let s=Fe;s<n.length;s++){const o=n[s];Oo(o[1],o,e,t,r,i)}}(t,e,i,n,s)}}function oo(e,t){return ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&ngDevMode.rendererSetText++,vt(e)?e.createText(t):e.createTextNode(t)}function ao(e,t,n){ngDevMode&&ngDevMode.rendererSetText++,vt(e)?e.setValue(t,n):t.textContent=n}function uo(e,t){return ngDevMode&&ngDevMode.rendererCreateComment++,e.createComment(Vi(t))}function lo(e,t,n){return ngDevMode&&ngDevMode.rendererCreateElement++,vt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function co(e,t){ngDevMode&&Ge(e),ngDevMode&&O(e[9],"A projected view should belong to a non-empty projected views collection");const n=e[9],r=n.indexOf(t),s=t[3];ngDevMode&&Ge(s),1024&t[2]&&(t[2]&=-1025,At(s,-1)),n.splice(r,1)}function ho(e,t){if(e.length<=Fe)return;const n=Fe+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&co(i,r),t>0&&(e[n-1][4]=r[4]);const o=Mr(e,Fe+t);Oo(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function fo(e,t){if(!(256&t[2])){const n=t[11];vt(n)&&n.destroyNode&&Oo(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return po(e[1],e);for(;t;){let n=null;if(Re(t))n=t[13];else{ngDevMode&&Ge(t);const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Re(t)&&po(t[1],t),t=t[3];null===t&&(t=e),Re(t)&&po(t[1],t),n=t&&t[4]}t=n}}(t)}}function po(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let e=0;e<n.length;e+=2){const r=t[n[e]];if(!(r instanceof xn)){const t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){const n=r[t[e]],s=t[e+1];dt(4,n,s);try{s.call(n)}finally{dt(5,n,s)}}else{dt(4,r,t);try{t.call(r)}finally{dt(5,r,t)}}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let e=0;e<n.length-1;e+=2)if("string"==typeof n[e]){const i=n[e+1],o="function"==typeof i?i(t):bt(t[i]),a=r[s=n[e+2]],u=n[e+3];"boolean"==typeof u?o.removeEventListener(n[e],a,u):u>=0?r[s=u]():r[s=-u].unsubscribe(),e+=2}else{const t=r[s=n[e+1]];n[e].call(t)}if(null!==r){for(let e=s+1;e<r.length;e++){const t=r[e];ngDevMode&&(o="Expecting instance cleanup function.","function"!=typeof(i=t)&&N(o,null===i?"null":typeof i,"function","===")),t()}t[7]=null}var i,o}(e,t),1===t[1].type&&vt(t[11])&&(ngDevMode&&ngDevMode.rendererDestroy++,t[11].destroy());const n=t[17];if(null!==n&&je(t[3])){n!==t[3]&&co(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function go(e,t,n){return mo(e,t.parent,n)}function mo(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(ngDevMode&&kn(r,7),2&r.flags){ngDevMode&&Ue(r,n);const t=e.data[r.directiveStart].encapsulation;if(t===ne.None||t===ne.Emulated)return null}return Ct(r,n)}function yo(e,t,n,r,s){ngDevMode&&ngDevMode.rendererInsertBefore++,vt(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function vo(e,t,n){ngDevMode&&ngDevMode.rendererAppendChild++,ngDevMode&&O(t,"parent node must be defined"),vt(e)?e.appendChild(t,n):t.appendChild(n)}function _o(e,t,n,r,s){null!==r?yo(e,t,n,r,s):vo(e,t,n)}function bo(e,t){return vt(e)?e.parentNode(t):t.parentNode}function wo(e,t,n){return Eo(e,t,n)}function Co(e,t,n){return 40&e.type?Ct(e,n):null}let Do,Eo=Co;function So(e,t){Eo=e,Do=t}function xo(e,t,n,r){const s=go(e,r,t),i=t[11],o=wo(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let e=0;e<n.length;e++)_o(i,s,n[e],o,!1);else _o(i,s,n,o,!1);void 0!==Do&&Do(i,r,t,n,s)}function To(e,t){if(null!==t){ngDevMode&&kn(t,63);const n=t.type;if(3&n)return Ct(t,e);if(4&n)return Mo(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return To(e,n);{const n=e[t.index];return je(n)?Mo(-1,n):bt(n)}}if(32&n)return Xi(t,e)()||bt(e[t.index]);{const n=ko(e,t);if(null!==n){if(Array.isArray(n))return n[0];const t=eo(e[16]);return ngDevMode&&tt(t),To(t,n)}return To(e,t.next)}}return null}function ko(e,t){if(null!==t){const n=e[16][6],r=t.projection;return ngDevMode&&function(e,t){O(e[16],"Component views should exist."),O(e[16][6].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}(e),n.projection[r]}return null}function Mo(e,t){const n=Fe+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return To(e,r)}return t[7]}function Ao(e,t,n){ngDevMode&&ngDevMode.rendererRemoveNode++;const r=bo(e,t);r&&function(e,t,n,r){vt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function Io(e,t,n,r,s,i,o){for(;null!=n;){ngDevMode&&Ue(n,r),ngDevMode&&kn(n,63);const a=r[n.index],u=n.type;if(o&&0===t&&(a&&Di(bt(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Io(e,t,n.child,r,s,i,!1),io(t,e,s,a,i);else if(32&u){const o=Xi(n,r);let u;for(;u=o();)io(t,e,s,u,i);io(t,e,s,a,i)}else 16&u?No(e,t,r,n,s,i):(ngDevMode&&kn(n,7),io(t,e,s,a,i));n=o?n.projectionNext:n.next}}function Oo(e,t,n,r,s,i){Io(n,r,e.firstChild,t,s,i,!1)}function No(e,t,n,r,s,i){const o=n[16],a=o[6];ngDevMode&&E(typeof r.projection,"number","expecting projection index");const u=a.projection[r.projection];if(Array.isArray(u))for(let n=0;n<u.length;n++)io(t,e,s,u[n],i);else Io(e,t,u,o[3],s,i,!0)}function Po(e,t,n){ngDevMode&&D(n,"'newValue' should be a string"),vt(e)?e.setAttribute(t,"style",n):t.style.cssText=n,ngDevMode&&ngDevMode.rendererSetStyle++}function Fo(e,t,n){ngDevMode&&D(n,"'newValue' should be a string"),vt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n,ngDevMode&&ngDevMode.rendererSetClassName++}function Ro(e,t,n){ngDevMode&&S(t,"",'can not look for "" string.');let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===r||e.charCodeAt(s+n)<=32)return s}n=s+1}}const jo="ng-template";function Vo(e,t,n){ngDevMode&&E(t,t.toLowerCase(),"Class name expected to be lowercase.");let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==Ro(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function Lo(e){return 4===e.type&&e.value!==jo}function Bo(e,t,n){return t===(4!==e.type||n?e.value:jo)}function $o(e,t,n){ngDevMode&&O(t[0],"Selector should have a tag name");let r=4;const s=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(An(e[t]))return t;return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!o)if(4&r){if(r=2|1&r,""!==u&&!Bo(e,u,n)||""===u&&1===t.length){if(Uo(r))return!1;o=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!Vo(e.attrs,l,n)){if(Uo(r))return!1;o=!0}continue}const c=Ho(8&r?"class":u,s,Lo(e),n);if(-1===c){if(Uo(r))return!1;o=!0;continue}if(""!==l){let e;c>i?e="":(ngDevMode&&S(s[c],0,"We do not match directives on namespaced attributes"),e=s[c+1].toLowerCase());const t=8&r?e:null;if(t&&-1!==Ro(t,l,0)||2&r&&l!==e){if(Uo(r))return!1;o=!0}}}}else{if(!o&&!Uo(r)&&!Uo(u))return!1;if(o&&Uo(u))continue;o=!1,r=u|1&r}}return Uo(r)||o}function Uo(e){return 0==(1&e)}function Ho(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let n=!1;for(;s<t.length;){const r=t[s];if(r===e)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function zo(e,t,n=!1){for(let r=0;r<t.length;r++)if($o(e,t[r],n))return!0;return!1}function qo(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function Wo(e,t){return e?":not("+t.trim()+")":t}function Zo(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const t=e[++n];s+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||Uo(o)||(t+=Wo(i,s),s=""),r=o,i=i||!Uo(r);n++}return""!==s&&(t+=Wo(i,s)),t}const Go="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};function Ko(e){ngDevMode&&A(e,0,"Can only advance forward"),Qo(Rt(),Ft(),fn()+e,zt())}function Qo(e,t,n,r){if(ngDevMode&&function(e,t){const n=e[1];et(Ne,n.bindingStartIndex,t)}(t,n),!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&bn(t,r,n)}else{const r=e.preOrderHooks;null!==r&&wn(t,r,0,n)}pn(n)}function Yo(e,t){return ngDevMode&&C(e,0,32767),ngDevMode&&C(t,0,32767),e<<17|t<<2}function Jo(e){return ngDevMode&&w(e,"expected number"),e>>17&32767}function Xo(e){return ngDevMode&&w(e,"expected number"),2==(2&e)}function ea(e){return ngDevMode&&w(e,"expected number"),2|e}function ta(e){return ngDevMode&&w(e,"expected number"),(131068&e)>>2}function na(e,t){return ngDevMode&&w(e,"expected number"),ngDevMode&&C(t,0,32767),-131069&e|t<<2}function ra(e){return ngDevMode&&w(e,"expected number"),1==(1&e)}function sa(e){return ngDevMode&&w(e,"expected number"),1|e}function ia(e,t){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{value:t,enumerable:!1})}function oa(e,t){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{get:t,enumerable:!1})}const aa=("undefined"==typeof ngDevMode||!!ngDevMode)&&ue();let ua,la,ca;function ha(e){if(null==e)return"";const t=e.lastIndexOf("_Template");return"_"+(-1===t?e:e.substr(0,t))}function da(e,t){const n=e.tView_.data,r=[],s=t?e.classBindings:e.styleBindings,i=Jo(s),o=ta(s);let a=0!==o,u=a?o:i;for(;0!==u;){const e=n[u],t=n[u+1];r.unshift({key:e,index:u,isTemplate:a,prevDuplicate:Xo(t),nextDuplicate:ra(t),nextIndex:ta(t),prevIndex:Jo(t)}),u===i&&(a=!1),u=Jo(t)}return r.push((t?e.residualClasses:e.residualStyles)||null),r}function fa(e,t){for(;e;)t.push(e.template_),e=e.next}const pa=aa&&Li("TViewData")||null;let ga;const ma=aa&&Li("LViewBlueprint")||null,ya=aa&&Li("MatchesArray")||null,va=aa&&Li("TViewComponents")||null,_a=aa&&Li("TNodeLocalNames")||null,ba=aa&&Li("TNodeInitialInputs")||null,wa=aa&&Li("LCleanup")||null,Ca=aa&&Li("TCleanup")||null;function Da(e){if(e){const t=e.debug;return O(t,"Object does not have a debug representation."),t}return e}function Ea(e,t=!1){const n=bt(e);if(n)switch(n.nodeType){case Node.TEXT_NODE:return n.textContent;case Node.COMMENT_NODE:return`\x3c!--${n.textContent}--\x3e`;case Node.ELEMENT_NODE:const e=n.outerHTML;if(t)return e;{const t=">"+n.innerHTML+"<";return e.split(t)[0]+">"}}return null}class Sa{constructor(e){this._raw_lView=e}get flags(){const e=this._raw_lView[2];return{__raw__flags__:e,initPhaseState:3&e,creationMode:!!(4&e),firstViewPass:!!(8&e),checkAlways:!!(16&e),dirty:!!(64&e),attached:!!(128&e),destroyed:!!(256&e),isRoot:!!(512&e),indexWithinInitPhase:e>>11}}get parent(){return Da(this._raw_lView[3])}get hostHTML(){return Ea(this._raw_lView[0],!0)}get html(){return(this.nodes||[]).map(xa).join("")}get context(){return this._raw_lView[8]}get nodes(){const e=this._raw_lView;return ka(e[1].firstChild,e)}get template(){return this.tView.template_}get tView(){return this._raw_lView[1]}get cleanup(){return this._raw_lView[7]}get injector(){return this._raw_lView[9]}get rendererFactory(){return this._raw_lView[10]}get renderer(){return this._raw_lView[11]}get sanitizer(){return this._raw_lView[12]}get childHead(){return Da(this._raw_lView[13])}get next(){return Da(this._raw_lView[4])}get childTail(){return Da(this._raw_lView[14])}get declarationView(){return Da(this._raw_lView[15])}get queries(){return this._raw_lView[19]}get tHost(){return this._raw_lView[6]}get decls(){return Ta(this.tView,this._raw_lView,Ne,this.tView.bindingStartIndex)}get vars(){return Ta(this.tView,this._raw_lView,this.tView.bindingStartIndex,this.tView.expandoStartIndex)}get expando(){return Ta(this.tView,this._raw_lView,this.tView.expandoStartIndex,this._raw_lView.length)}get childViews(){const e=[];let t=this.childHead;for(;t;)e.push(t),t=t.next;return e}}function xa(e){if("ElementContainer"===e.type)return(e.children||[]).map(xa).join("");if("IcuContainer"===e.type)throw new Error("Not implemented");return Ea(e.native,!0)||""}function Ta(e,t,n,r){let s=[];for(let i=n;i<r;i++)s.push({index:i,t:e.data[i],l:t[i]});return{start:n,end:r,length:r-n,content:s}}function ka(e,t){if(e){const n=[];let r=e;for(;r;)n.push(Ma(r,t)),r=r.next;return n}return[]}function Ma(e,t){const n=bt(t[e.index]),r=[],s=[],i=t[1];for(let n=e.directiveStart;n<e.directiveEnd;n++){const e=i.data[n];r.push(e.type),s.push(t[n])}return{html:Ea(n),type:Tn(e.type),tNode:e,native:n,children:ka(e.child,t),factories:r,instances:s,injector:Aa(e,i,t),get injectorResolutionPath(){return e.debugNodeInjectorPath(t)}}}function Aa(e,t,n){const r=[];for(let n=e.providerIndexStart_;n<e.providerIndexEnd_;n++)r.push(t.data[n]);const s=[];for(let n=e.providerIndexEnd_;n<e.directiveEnd;n++)s.push(t.data[n]);return{bloom:Oa(n,e.injectorIndex),cumulativeBloom:Oa(t.data,e.injectorIndex),providers:s,viewProviders:r,parentInjectorIndex:n[e.providerIndexStart_-1]}}function Ia(e,t){const n=e[t];if("number"!=typeof n)return"????????";const r="00000000"+n.toString(2);return r.substring(r.length-8)}function Oa(e,t){return t<0?"NO_NODE_INJECTOR":`${Ia(e,t+7)}_${Ia(e,t+6)}_${Ia(e,t+5)}_${Ia(e,t+4)}_${Ia(e,t+3)}_${Ia(e,t+2)}_${Ia(e,t+1)}_${Ia(e,t+0)}`}class Na{constructor(e){this._raw_lContainer=e}get hasTransplantedViews(){return this._raw_lContainer[2]}get views(){return this._raw_lContainer.slice(Fe).map(Da)}get parent(){return Da(this._raw_lContainer[3])}get movedViews(){return this._raw_lContainer[9]}get host(){return this._raw_lContainer[0]}get native(){return this._raw_lContainer[7]}get next(){return Da(this._raw_lContainer[4])}}const Pa=(()=>Promise.resolve(null))();function Fa(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=e.data[i];ngDevMode&&O(n,"DirectiveDef not found."),ngDevMode&&O(n.contentQueries,"contentQueries function should be defined"),nn(s),n.contentQueries(2,t[i],i)}}}function Ra(e,t,n,r,s,i,o,a,u,l){const c=ngDevMode?function(e){return function(e,t){switch(e){case 0:return void 0===ca&&(ca=new(Li("LRootView"))),ca;case 1:void 0===ua&&(ua=new Map);let e=ua.get(t);return void 0===e&&(e=new(Li("LComponentView"+ha(t))),ua.set(t,e)),e;case 2:void 0===la&&(la=new Map);let n=la.get(t);return void 0===n&&(n=new(Li("LEmbeddedView"+ha(t))),la.set(t,n)),n}}(e.type,e.template&&e.template.name).concat(e.blueprint)}(t):t.blueprint.slice();return c[0]=s,c[2]=140|r,Mt(c),ngDevMode&&t.declTNode&&e&&Ue(t.declTNode,e),c[3]=c[15]=e,c[8]=n,c[10]=o||e&&e[10],ngDevMode&&O(c[10],"RendererFactory is required"),c[11]=a||e&&e[11],ngDevMode&&O(c[11],"Renderer is required"),c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=i,ngDevMode&&E(2!=t.type||null!==e,!0,"Embedded views must have parentLView"),c[16]=2==t.type?e[16]:c,ngDevMode&&function(e){ia(e,new Sa(e))}(c),c}function ja(e,t,n,r,s){ngDevMode&&0!==t&&I(t,Ne,"TNodes can't be in the LView header."),ngDevMode&&function(e){2!==e&&1!==e&&4!==e&&8!==e&&32!==e&&16!==e&&64!==e&&N(`Expected TNodeType to have only a single type selected, but got ${Tn(e)}.`)}(n);let i=e.data[t];if(null===i)i=Va(e,t,n,r,s),It.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=Bt();i.injectorIndex=null===o?-1:o.injectorIndex,ngDevMode&&He(i,e),ngDevMode&&E(t,i.index,"Expecting same index")}return $t(i,!0),i}function Va(e,t,n,r,s){const i=Lt(),o=Ut(),a=o?i:i&&i.parent,u=e.data[t]=function(e,t,n,r,s,i){ngDevMode&&0!==r&&I(r,Ne,"TNodes can't be in the LView header."),ngDevMode&&T(i,void 0,"'undefined' is not valid value for 'attrs'"),ngDevMode&&ngDevMode.tNode++,ngDevMode&&t&&He(t,e);let o=t?t.injectorIndex:-1;const a=ngDevMode?new class{constructor(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y,v,_,b,w,C,D,E,S,x,T,k,M,A,I){this.tView_=e,this.type=t,this.index=n,this.insertBeforeIndex=r,this.injectorIndex=s,this.directiveStart=i,this.directiveEnd=o,this.directiveStylingLast=a,this.propertyBindings=u,this.flags=l,this.providerIndexes=c,this.value=h,this.attrs=d,this.mergedAttrs=f,this.localNames=p,this.initialInputs=g,this.inputs=m,this.outputs=y,this.tViews=v,this.next=_,this.projectionNext=b,this.child=w,this.parent=C,this.projection=D,this.styles=E,this.stylesWithoutHost=S,this.residualStyles=x,this.classes=T,this.classesWithoutHost=k,this.residualClasses=M,this.classBindings=A,this.styleBindings=I}debugNodeInjectorPath(e){const t=[];let n=Un(this,e);if(-1===n){const t=Hn(this,e);t!==Sn&&(n=Fn(t),e=Rn(t,e))}for(;-1!==n;){ngDevMode&&nt(e,n);const r=e[1].data[n+8];t.push(Ma(r,e));const s=e[n+8];s===Sn?n=-1:(n=Fn(s),e=Rn(s,e))}return t}get type_(){return Tn(this.type)||`TNodeType.?${this.type}?`}get flags_(){const e=[];return 16&this.flags&&e.push("TNodeFlags.hasClassInput"),8&this.flags&&e.push("TNodeFlags.hasContentQuery"),32&this.flags&&e.push("TNodeFlags.hasStyleInput"),128&this.flags&&e.push("TNodeFlags.hasHostBindings"),2&this.flags&&e.push("TNodeFlags.isComponentHost"),1&this.flags&&e.push("TNodeFlags.isDirectiveHost"),64&this.flags&&e.push("TNodeFlags.isDetached"),4&this.flags&&e.push("TNodeFlags.isProjected"),e.join("|")}get template_(){if(1&this.type)return this.value;const e=[],t="string"==typeof this.value&&this.value||this.type_;if(e.push("<",t),this.flags&&e.push(" ",this.flags_),this.attrs)for(let t=0;t<this.attrs.length;){const n=this.attrs[t++];if("number"==typeof n)break;const r=this.attrs[t++];e.push(" ",n,'="',r,'"')}return e.push(">"),fa(this.child,e),e.push("</",t,">"),e.join("")}get styleBindings_(){return da(this,!1)}get classBindings_(){return da(this,!0)}get providerIndexStart_(){return 1048575&this.providerIndexes}get providerIndexEnd_(){return this.providerIndexStart_+(this.providerIndexes>>>20)}}(e,n,r,null,o,-1,-1,-1,null,0,0,s,i,null,null,void 0,null,null,null,null,null,null,t,null,null,null,void 0,null,null,void 0,0,0):{type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,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};return ngDevMode&&Object.seal(a),a}(e,a,n,t,r,s);return null===e.firstChild&&(e.firstChild=u),null!==i&&(o?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}function La(e,t,n,r){if(0===n)return-1;ngDevMode&&(Ye(e),x(e,t[1],"`LView` must be associated with `TView`!"),E(e.data.length,t.length,"Expecting LView to be same size as TView"),E(e.data.length,e.blueprint.length,"Expecting Blueprint to be same size as TView"),Je(e));const s=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Ba(e,t,n){ngDevMode&&E(xt(t),!0,"Should be run in creation mode"),on(t);try{const r=e.viewQuery;null!==r&&Eu(1,r,n);const s=e.template;null!==s&&Ha(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Fa(e,t),e.staticViewQueries&&Eu(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)vu(e,t[n])}(t,i)}catch(t){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),t}finally{t[2]&=-5,hn()}}function $a(e,t,n,r){ngDevMode&&E(xt(t),!1,"Should be run in update mode");const s=t[2];if(256==(256&s))return;on(t);const i=zt();try{Mt(t),Gt(e.bindingStartIndex),null!==n&&Ha(e,t,n,2,r);const o=3==(3&s);if(!i)if(o){const n=e.preOrderCheckHooks;null!==n&&bn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&wn(t,n,0,null),Cn(t,0)}if(function(e){for(let t=no(e);null!==t;t=ro(t)){if(!t[2])continue;const e=t[9];ngDevMode&&O(e,"Transplanted View flags set but missing MOVED_VIEWS");for(let t=0;t<e.length;t++){const n=e[t],r=n[3];ngDevMode&&Ge(r),0==(1024&n[2])&&At(r,1),n[2]|=1024}}}(t),function(e){for(let t=no(e);null!==t;t=ro(t))for(let e=Fe;e<t.length;e++){const n=t[e],r=n[1];ngDevMode&&O(r,"TView must be allocated"),Tt(n)&&$a(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&Fa(e,t),!i)if(o){const n=e.contentCheckHooks;null!==n&&bn(t,n)}else{const n=e.contentHooks;null!==n&&wn(t,n,1),Cn(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)pn(~r);else{const s=r,i=n[++e],o=n[++e];Jt(i,s),o(2,t[s])}}}finally{pn(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)mu(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&Eu(2,u,r),!i)if(o){const n=e.viewCheckHooks;null!==n&&bn(t,n)}else{const n=e.viewHooks;null!==n&&wn(t,n,2),Cn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,At(t[3],-1))}finally{hn()}}function Ua(e,t,n,r){const s=t[10],i=!zt(),o=xt(t);try{i&&!o&&s.begin&&s.begin(),o&&Ba(e,t,r),$a(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function Ha(e,t,n,r,s){const i=fn(),o=2&r;try{pn(-1),o&&t.length>Ne&&Qo(e,t,Ne,zt()),dt(o?2:0,s),n(r,s)}finally{pn(i),dt(o?3:1,s)}}function za(e,t,n){if(Ve(t)){const r=t.directiveStart,s=t.directiveEnd;for(let t=r;t<s;t++){const r=e.data[t];r.contentQueries&&r.contentQueries(1,n[t],t)}}}function qa(e,t,n){Ot()&&(function(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Bn(n,t),Di(r,t);const o=n.initialInputs;for(let r=s;r<i;r++){const i=e.data[r],a=$e(i);a&&(ngDevMode&&kn(n,3),lu(t,n,i));const u=Xn(t,e,r,n);Di(u,t),null!==o&&du(t,r-s,u,i,n,o),a&&(St(n.index,t)[8]=u)}}(e,t,n,Ct(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=(e.firstCreatePass,n.index),o=It.lFrame.currentDirectiveIndex;try{pn(i);for(let n=r;n<s;n++){const r=e.data[n],s=t[n];Xt(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||su(r,s)}}finally{pn(-1),Xt(o)}}(e,t,n))}function Wa(e,t,n=Ct){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(t,e):e[o];e[s++]=a}}}function Za(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=Ga(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts)}return t}function Ga(e,t,n,r,s,i,o,a,u,l){ngDevMode&&ngDevMode.tView++;const c=Ne+r,h=c+s,d=function(e,t){const n=ngDevMode?new ma:[];for(let r=0;r<t;r++)n.push(r<e?null:Go);return n}(c,h),f="function"==typeof l?l():l,p=d[1]=ngDevMode?new class{constructor(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y,v,_,b,w,C,D,E,S,x,T,k,M,A,I){this.type=e,this.blueprint=t,this.template=n,this.queries=r,this.viewQuery=s,this.declTNode=i,this.data=o,this.bindingStartIndex=a,this.expandoStartIndex=u,this.hostBindingOpCodes=l,this.firstCreatePass=c,this.firstUpdatePass=h,this.staticViewQueries=d,this.staticContentQueries=f,this.preOrderHooks=p,this.preOrderCheckHooks=g,this.contentHooks=m,this.contentCheckHooks=y,this.viewHooks=v,this.viewCheckHooks=_,this.destroyHooks=b,this.cleanup=w,this.contentQueries=C,this.components=D,this.directiveRegistry=E,this.pipeRegistry=S,this.firstChild=x,this.schemas=T,this.consts=k,this.incompleteFirstPass=M,this._decls=A,this._vars=I}get template_(){const e=[];return fa(this.firstChild,e),e.join("")}get type_(){return Pe[this.type]||`TViewType.?${this.type}?`}}(e,d,n,null,a,t,(g=d,void 0===ga&&(ga=new pa),ga.concat(g)).fill(null,c),c,h,null,!0,!0,!1,!1,null,null,null,null,null,null,null,null,null,null,"function"==typeof i?i():i,"function"==typeof o?o():o,null,u,f,!1,r,s):{type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,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 i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:u,consts:f,incompleteFirstPass:!1};var g;return ngDevMode&&Object.seal(p),p}function Ka(e,t,n){if(vt(e)){const r=n===ne.ShadowDom;return e.selectRootElement(t,r)}let r="string"==typeof t?e.querySelector(t):t;return ngDevMode&&function(e,t){if(!e)throw new Error(`Renderer: ${"string"==typeof t?"Host node with selector not found:":"Host node is required:"} [${y(t)}]`)}(r,t),r.textContent="",r}function Qa(e,t,n,r){const s=Tu(t);null===n?(ngDevMode&&Object.freeze(ku(e)),s.push(r)):(s.push(n),e.firstCreatePass&&ku(e).push(r,s.length-1))}function Ya(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const s=e[r];n.hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Ja(e,t,n,r,s,i,o,a){ngDevMode&&T(s,Go,"Incoming value should never be NO_CHANGE.");const u=Ct(t,n);let l,c=t.inputs;if(!a&&null!=c&&(l=c[r]))Iu(e,n,l,r,s),Le(t)&&function(e,t){ngDevMode&&Qe(e);const n=St(t,e);16&n[2]||(n[2]|=64)}(n,t.index),ngDevMode&&function(e,t,n,r,s){if(7&n)for(let i=0;i<r.length;i+=2)Xa(e,t,n,r[i+1],s)}(n,u,t.type,l,s);else if(3&t.type){if(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,ngDevMode){if(function(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`;throw new Error(t)}}(r),!function(e,t,n,r){return null===e.schemas||(!!(eu(e,r.value)||n in t||In(n))||("undefined"==typeof Node||null===Node||!(t instanceof Node)))}(e,u,r,t))return void tu(r,t);ngDevMode.rendererSetProperty++}s=null!=o?o(s,t.value||"",r):s,vt(i)?i.setProperty(u,r,s):In(r)||(u.setProperty?u.setProperty(r,s):u[r]=s)}else 12&t.type&&ngDevMode&&!eu(e,t.value)&&tu(r,t);var h}function Xa(e,t,n,r,s){const i=e[11];r=Bi(r);const o=Ui(s);if(3&n)null==s?vt(i)?i.removeAttribute(t,r):t.removeAttribute(r):vt(i)?i.setAttribute(t,r,o):t.setAttribute(r,o);else{const e=Vi(`bindings=${JSON.stringify({[r]:o},null,2)}`);vt(i)?i.setValue(t,e):t.textContent=e}}function eu(e,t){const n=e.schemas;if(null!==n)for(let e=0;e<n.length;e++){const r=n[e];if(r===Fi||r===Pi&&t&&t.indexOf("-")>-1)return!0}return!1}function tu(e,t){let n=`Can't bind to '${e}' since it isn't a known property of '${t.value}'.`;console.error(g("303",n))}function nu(e,t,n,r){ngDevMode&&Ye(e);let s=!1;if(Ot()){const i=function(e,t,n){ngDevMode&&Ye(e),ngDevMode&&kn(n,15);const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];zo(n,o.selectors,!1)&&(s||(s=ngDevMode?new ya:[]),zn(Bn(n,t),e,o.type),$e(o)?(ngDevMode&&(kn(n,2,`"${n.value}" tags cannot be used as component hosts. Please use a different tag to activate the ${a(o.type)} component.`),2&n.flags&&Ki(n)),iu(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,au(n,e.data.length,i.length);for(let e=0;e<i.length;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}let r=!1,a=!1,u=La(e,t,i.length,null);ngDevMode&&x(u,n.directiveStart,"TNode.directiveStart should point to just allocated space");for(let s=0;s<i.length;s++){const l=i[s];n.mergedAttrs=On(n.mergedAttrs,l.hostAttrs),uu(e,n,t,u,l),ou(u,l,o),null!==l.contentQueries&&(n.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(n.flags|=128);const c=l.type.prototype;!r&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),r=!0),a||!c.ngOnChanges&&!c.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),u++}!function(e,t){ngDevMode&&Ye(e);const n=t.directiveStart,r=t.directiveEnd,s=e.data,i=t.attrs,o=ngDevMode?new ba:[];let a=null,u=null;for(let e=n;e<r;e++){const n=s[e],r=n.inputs,l=null===i||Lo(t)?null:fu(r,i);o.push(l),a=Ya(r,e,a),u=Ya(n.outputs,e,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=u}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=ngDevMode?new _a:[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new f("301",`Export of name '${t[e+1]}' not found!`);r.push(t[e],s)}}}(n,r,o)}return n.mergedAttrs=On(n.mergedAttrs,n.attrs),s}function ru(e,t,n,r,s,i){ngDevMode&&Ye(e);const o=i.hostBindings;if(o){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const i=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function su(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function iu(e,t){ngDevMode&&Ye(e),t.flags|=2,(e.components||(e.components=ngDevMode?new va:[])).push(t.index)}function ou(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;$e(t)&&(n[""]=e)}}function au(e,t,n){ngDevMode&&S(n,e.directiveEnd-e.directiveStart,"Reached the max number of directives"),e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function uu(e,t,n,r,s){ngDevMode&&I(r,Ne,"Must be in Expando section"),e.data[r]=s;const i=s.factory||(s.factory=rt(s.type,!0)),o=new xn(i,$e(s),null);e.blueprint[r]=o,n[r]=o,ru(e,t,0,r,La(e,n,s.hostVars,Go),s)}function lu(e,t,n){const r=Ct(t,e),s=Za(n),i=e[10],o=_u(e,Ra(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function cu(e,t,n,r,s,i){ngDevMode&&(T(r,Go,"Incoming value should never be NO_CHANGE."),function(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`;throw new Error(t)}}(n),kn(e,2,`Attempted to set attribute \`${n}\` on a container node. Host bindings are not valid on ng-container or ng-template.`));const o=Ct(e,t);hu(t[11],o,i,e.value,n,r,s)}function hu(e,t,n,r,s,i,o){if(null==i)ngDevMode&&ngDevMode.rendererRemoveAttribute++,vt(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{ngDevMode&&ngDevMode.rendererSetAttribute++;const a=null==o?m(i):o(i,r||"",s);vt(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}function du(e,t,n,r,s,i){const o=i[t];if(null!==o){const t=r.setInput;for(let i=0;i<o.length;){const a=o[i++],u=o[i++],l=o[i++];null!==t?r.setInput(n,l,a,u):n[u]=l,ngDevMode&&Xa(e,Ct(s,e),s.type,u,l)}}}function fu(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}const pu=("undefined"==typeof ngDevMode||ngDevMode)&&ue()&&Li("LContainer");function gu(e,t,n,r){ngDevMode&&Qe(t),ngDevMode&&!vt(t[11])&&P(n);const s=new(ngDevMode?pu:Array)(e,!0,!1,t,null,0,r,n,null,null);return ngDevMode&&E(s.length,Fe,"Should allocate correct number of slots for LContainer header."),ngDevMode&&function(e){ia(e,new Na(e))}(s),s}function mu(e,t){ngDevMode&&E(xt(e),!1,"Should be run in update mode");const n=St(t,e);if(Tt(n)){const e=n[1];80&n[2]?$a(e,n,e.template,n[8]):n[5]>0&&yu(n)}}function yu(e){for(let t=no(e);null!==t;t=ro(t))for(let e=Fe;e<t.length;e++){const n=t[e];if(1024&n[2]){const e=n[1];ngDevMode&&O(e,"TView must be allocated"),$a(e,n,e.template,n[8])}else n[5]>0&&yu(n)}const t=e[1].components;if(null!==t)for(let n=0;n<t.length;n++){const r=St(t[n],e);Tt(r)&&r[5]>0&&yu(r)}}function vu(e,t){ngDevMode&&E(xt(e),!0,"Should be run in creation mode");const n=St(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Ba(r,n,n[8])}function _u(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function bu(e){for(;e;){e[2]|=64;const t=eo(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function wu(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Si(n),s=r[1];Ua(s,r,s.template,n)}}function Cu(e,t,n){const r=t[10];r.begin&&r.begin();try{$a(e,t,e.template,n)}catch(e){throw Au(t,e),e}finally{r.end&&r.end()}}function Du(e){wu(e[8])}function Eu(e,t,n){ngDevMode&&O(t,"View queries function to execute must be defined."),nn(0),t(e,n)}function Su(e,t,n,r,...s){if(null===e[r]&&(null==t.inputs||!t.inputs[n])){(t.propertyBindings||(t.propertyBindings=[])).push(r);let i=n;s.length>0&&(i+=Zi+s.join(Zi)),e[r]=i}}const xu=Pa;function Tu(e){return e[7]||(e[7]=ngDevMode?new wa:[])}function ku(e){return e.cleanup||(e.cleanup=ngDevMode?new Ca:[])}function Mu(e,t,n){return(null===e||$e(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Au(e,t){const n=e[9],r=n?n.get(Ni,null):null;r&&r.handleError(t)}function Iu(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],u=t[o];ngDevMode&&F(t,o);const l=e.data[o];null!==l.setInput?l.setInput(u,s,r,a):u[a]=s}}function Ou(e,t,n){ngDevMode&&D(n,"Value should be a string"),ngDevMode&&T(n,Go,"value should not be NO_CHANGE"),ngDevMode&&F(e,t);const r=wt(t,e);ngDevMode&&O(r,"native element should exist"),ao(e[11],r,n)}function Nu(e,t,n){ngDevMode&&Ye(Rt(),"Expecting to be called in first template pass only");let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let e=0;e<t.length;e++){const n=t[e];"number"==typeof n?i=n:1==i?s=u(s,n):2==i&&(r=u(r,n+": "+t[++e]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function Pu(e){const t=Ci(e);Cu(t[1],t,e)}function Fu(e){ngDevMode&&O(e,"component");const t=bu(Ci(e));ngDevMode&&O(t[8],"rootContext should be defined"),function(e,t){if(0===e.flags&&e.clean==Pa){let t;e.flags|=1,e.clean=new Promise((e=>t=e)),e.scheduler((()=>{if(1&e.flags&&(e.flags&=-2,wu(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=Pa,t(null)}))}}(t[8])}const Ru=new gr("INJECTOR",-1);class ju{get(e,t=$r){if(t===$r){const t=new Error(`NullInjectorError: No provider for ${a(e)}!`);throw t.name="NullInjectorError",t}return t}}const Vu=new gr("Set Injector scope."),Lu={},Bu={};let $u;function Uu(){return void 0===$u&&($u=new ju),$u}function Hu(e,t=null,n=null,r){const s=zu(e,t,n,r);return s._resolveInjectorDefTypes(),s}function zu(e,t=null,n=null,r){return new qu(e,n,t||Uu(),r)}class qu{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&Tr(t,(n=>this.processProvider(n,e,t))),Tr([e],(e=>this.processInjectorType(e,[],s))),this.records.set(Ru,Gu(void 0,this));const i=this.records.get(Vu);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof e?null:a(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((e=>e.ngOnDestroy()))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=$r,n=Z.Default){this.assertNotDestroyed();const r=Wr(this),s=Q(void 0);try{if(!(n&Z.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof gr)&&B(e);t=n&&this.injectableDefInScope(n)?Gu(Wu(e),Lu):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}const o=n&Z.Self?Uu():this.parent;return t=n&Z.Optional&&t===$r?null:t,o.get(e,t)}catch(t){if("NullInjectorError"===t.name){if((t.ngTempTokenPath=t.ngTempTokenPath||[]).unshift(a(e)),r)throw t;return Xr(t,e,"R3InjectorError",this.source)}throw t}finally{Q(s),Wr(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach((e=>this.get(e)))}toString(){const e=[];return this.records.forEach(((t,n)=>e.push(a(n)))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=h(e)))return!1;let r=U(e);const s=null==r&&e.ngModule||void 0,i=void 0===s?e:s;ngDevMode&&-1!==t.indexOf(i)&&v(a(i),t.map(a));const o=-1!==n.indexOf(i);if(void 0!==s&&(r=U(s)),null==r)return!1;if(null!=r.imports&&!o){let e;ngDevMode&&t.push(i),n.push(i);try{Tr(r.imports,(r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))}))}finally{ngDevMode&&t.pop()}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Tr(r,(e=>this.processProvider(e,n,r||ce)))}}this.injectorDefTypes.add(i);const u=rt(i)||(()=>new i);this.records.set(i,Gu(u,Lu));const l=r.providers;if(null!=l&&!o){const t=e;Tr(l,(e=>this.processProvider(e,t,l)))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let r=Qu(e=h(e))?e:h(e&&e.provide);const s=function(e,t,n){return Ku(e)?Gu(void 0,e.useValue):Gu(Zu(e,t,n),Lu)}(e,t,n);if(Qu(e)||!0!==e.multi){const e=this.records.get(r);ngDevMode&&e&&void 0!==e.multi&&_()}else{let t=this.records.get(r);t?ngDevMode&&void 0===t.multi&&_():(t=Gu(void 0,Lu,!0),t.factory=()=>Yr(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,s)}hydrate(e,t){var n;return ngDevMode&&t.value===Bu?v(a(e)):t.value===Lu&&(t.value=Bu,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=h(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Wu(e){const t=B(e),n=null!==t?t.factory:rt(e);if(null!==n)return n;if(e instanceof gr)throw new Error(`Token ${a(e)} is missing a ɵprov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Ar(t,"?");throw new Error(`Can't resolve all parameters for ${a(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[H]||e[q]);if(t){const n=function(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 Error("unreachable")}function Zu(e,t,n){let r;if(Qu(e)){const t=h(e);return rt(t)||Wu(t)}if(Ku(e))r=()=>h(e.useValue);else if((s=e)&&s.useFactory)r=()=>e.useFactory(...Yr(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Gr(h(e.useExisting));else{const s=h(e&&(e.useClass||e.provide));if(ngDevMode&&!s&&function(e,t,n){let r="";throw e&&t&&(r=` - only instances of Provider and Type are allowed, got: [${t.map((e=>e==n?"?"+n+"?":"...")).join(", ")}]`),new Error(`Invalid provider for the NgModule '${a(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return rt(s)||Wu(s);r=()=>new s(...Yr(e.deps))}var s;return r}function Gu(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ku(e){return null!==e&&"object"==typeof e&&zr in e}function Qu(e){return"function"==typeof e}function Yu(e,t,n){return Hu({name:n},t,e,n)}const Ju=Yu;let Xu=(()=>{class e{static create(e,t){return Array.isArray(e)?Ju(e,t,""):Ju(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=$r,e.NULL=new ju,e.ɵprov=j({token:e,providedIn:"any",factory:()=>Gr(Ru)}),e.__NG_ELEMENT_ID__=-1,e})();function el(e){cl(e);const t=bi(e);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];let r=n.directiveStart;return 2&n.flags?t[r]:null}(t.nodeIndex,t.lView)),t.component)}function tl(e){cl(e);const t=bi(e);return null===t?null:t.lView[8]}function nl(e){const t=bi(e);if(null===t)return null;let n,r=t.lView;for(ngDevMode&&Qe(r);2===r[1].type&&(n=eo(r));)r=n;return 512&r[2]?null:r[8]}function rl(e){return[...to(e).components]}function sl(e){const t=bi(e);if(null===t)return Xu.NULL;const n=t.lView[1].data[t.nodeIndex];return new nr(n,t.lView)}function il(e){if(e instanceof Text)return[];const t=bi(e);if(null===t)return[];const n=t.lView,r=n[1],s=t.nodeIndex;return(null==r?void 0:r.data[s])?(void 0===t.directives&&(t.directives=Mi(s,n,!1)),null===t.directives?[]:[...t.directives]):[]}function ol(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=Me(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?X.OnPush:X.Default};const r=Ae(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function al(e){return bi(e).native}function ul(e){cl(e);const t=bi(e);if(null===t)return[];const n=t.lView,r=n[1],s=n[7],i=r.cleanup,o=[];if(i&&s)for(let t=0;t<i.length;){const r=i[t++],a=i[t++];if("string"==typeof r){const u=r,l=bt(n[a]),c=s[i[t++]],h=i[t++],d="boolean"==typeof h||h>=0?"dom":"output",f="boolean"==typeof h&&h;e==l&&o.push({element:e,name:u,callback:c,useCapture:f,type:d})}}return o.sort(ll),o}function ll(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function cl(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function hl(e){Fu(e),rl(e).forEach((e=>Pu(e)))}let dl=!1;function fl(){dl||(dl=!0,pl("ɵsetProfiler",ht),pl("getDirectiveMetadata",ol),pl("getComponent",el),pl("getContext",tl),pl("getListeners",ul),pl("getOwningComponent",nl),pl("getHostElement",al),pl("getInjector",sl),pl("getRootComponents",rl),pl("getDirectives",il),pl("applyChanges",hl))}function pl(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=ae;if(ngDevMode&&O(t,"function not defined"),n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}function gl(e,t={}){ngDevMode&&fl(),ngDevMode&&We(e);const n=t.rendererFactory||_t,r=t.sanitizer||null,s=Me(e);s.type!=e&&(s.type=e);const i=s.selectors[0][0],o=Ka(n.createRenderer(null,null),t.host||i,s.encapsulation),a=s.onPush?576:528,u=vl(t.scheduler,t.playerHandler),l=n.createRenderer(o,s),c=Ga(0,null,null,1,0,null,null,null,null,null),h=Ra(null,c,u,a,null,null,n,l,null,t.injector||null);let d;on(h);try{n.begin&&n.begin(),d=yl(ml(o,s,h,n,l,r),s,h,u,t.hostFeatures||null),Ba(c,h,null),$a(c,h,null,null)}finally{hn(),n.end&&n.end()}return d}function ml(e,t,n,r,s,i){const o=n[1];ngDevMode&&F(n,20),n[20]=e;const a=ja(o,20,2,"#host",null),u=a.mergedAttrs=t.hostAttrs;null!==u&&(Nu(a,u,!0),null!==e&&(Mn(s,e,u),null!==a.classes&&Fo(s,e,a.classes),null!==a.styles&&Po(s,e,a.styles)));const l=r.createRenderer(e,t),c=Ra(n,Za(t),null,t.onPush?64:16,n[20],a,r,l,i||null,null);return o.firstCreatePass&&(zn(Bn(a,n),o,t.type),iu(o,a),au(a,n.length,1)),_u(n,c),n[20]=c}function yl(e,t,n,r,s){const i=n[1],o=function(e,t,n){const r=Vt();if(e.firstCreatePass){n.providersResolver&&n.providersResolver(n);const s=La(e,t,1,null);ngDevMode&&E(s,r.directiveStart,"Because this is a root component the allocated expando should match the TNode component."),uu(e,r,t,s,n)}const s=Xn(t,e,r.directiveStart,r);Di(s,t);const i=Ct(r,t);return i&&Di(i,t),s}(i,n,t);if(r.components.push(o),e[8]=o,s&&s.forEach((e=>e(o,t))),t.contentQueries){const e=Vt();ngDevMode&&O(e,"TNode expected"),t.contentQueries(1,o,e.directiveStart)}const a=Vt();return ngDevMode&&O(a,"tNode should have been already created"),!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(pn(a.index),ru(n[1],a,0,a.directiveStart,a.directiveEnd,t),su(t,o)),o}function vl(e,t){return{components:[],scheduler:e||Hi,clean:xu,playerHandler:t||null,flags:0}}function _l(e,t){const n=Si(e);ngDevMode&&O(n,"LView is required");const r=n[1],s=Vt();ngDevMode&&O(s,"TNode is required"),_n(r,s)}function bl(e){return to(e).clean}function wl(e){return Object.getPrototypeOf(e.prototype).constructor}function Cl(e){let t=wl(e.type),n=!0;const r=[e];for(;t;){let s;if($e(e))s=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Error("Directives cannot inherit Components");s=t.ɵdir}if(s){if(n){r.push(s);const t=e;t.inputs=Dl(e.inputs),t.declaredInputs=Dl(e.declaredInputs),t.outputs=Dl(e.outputs);const n=s.hostBindings;n&&xl(e,n);const i=s.viewQuery,a=s.contentQueries;if(i&&El(e,i),a&&Sl(e,a),o(e.inputs,s.inputs),o(e.declaredInputs,s.declaredInputs),o(e.outputs,s.outputs),$e(s)&&s.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(s.data.animation)}}const t=s.features;if(t)for(let r=0;r<t.length;r++){const s=t[r];s&&s.ngInherit&&s(e),s===Cl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=On(s.hostAttrs,n=On(n,s.hostAttrs))}}(r)}function Dl(e){return e===le?{}:e===ce?[]:e}function El(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Sl(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,s)=>{t(e,r,s),n(e,r,s)}:t}function xl(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}const Tl=["providersResolver"],kl=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Ml(e){let t,n=wl(e.type);t=$e(e)?n.ɵcmp:n.ɵdir;const r=e;for(const e of Tl)r[e]=t[e];if($e(t))for(const e of kl)r[e]=t[e]}let Al=null;function Il(){if(!Al){const e=ae.Symbol;if(e&&e.iterator)Al=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Al=n)}}}return Al}function Ol(e,t){const n=Pl(e),r=Pl(t);if(n&&r)return function(e,t,n){const r=e[Il()](),s=t[Il()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Ol);{const s=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!i)||Object.is(e,t)}}class Nl{constructor(e){this.wrapped=e}static wrap(e){return new Nl(e)}static unwrap(e){return Nl.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Nl}}function Pl(e){return!!Fl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Il()in e)}function Fl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Rl(e,t,n){return e[t]=n}function jl(e,t){return ngDevMode&&F(e,t),ngDevMode&&T(e[t],Go,"Stored value should never be NO_CHANGE."),e[t]}function Vl(e,t,n){ngDevMode&&T(n,Go,"Incoming value should never be NO_CHANGE."),ngDevMode&&k(t,e.length,"Slot should have been initialized to NO_CHANGE");const r=e[t];if(Object.is(r,n))return!1;if(ngDevMode&&zt()){const s=r!==Go?r:void 0;if(!Ol(s,n)){const i=function(e,t,n,r){const s=e[1].data,i=s[t];if("string"==typeof i)return i.indexOf(Zi)>-1?Qi(e,t,t,i,r):{propName:i,oldValue:n,newValue:r};if(null===i){let n=t-1;for(;"string"!=typeof s[n]&&null===s[n+1];)n--;const i=s[n];if("string"==typeof i){const s=i.match(new RegExp(Zi,"g"));if(s&&s.length-1>t-n)return Qi(e,n,t,i,r)}}return{propName:void 0,oldValue:n,newValue:r}}(e,t,s,n);!function(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${r?` for '${r}'`:""}: '${t}'. Current value: '${n}'.`;throw e&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?"),new f("100",s)}(r===Go,i.oldValue,i.newValue,i.propName)}return!1}return e[t]=n,!0}function Ll(e,t,n,r){const s=Vl(e,t,n);return Vl(e,t+1,r)||s}function Bl(e,t,n,r,s){const i=Ll(e,t,n,r);return Vl(e,t+2,s)||i}function $l(e,t,n,r,s,i){const o=Ll(e,t,n,r);return Ll(e,t+2,s,i)||o}function Ul(e,t,n,r){const s=Ft(),i=Kt();if(Vl(s,i,t)){const o=Rt(),a=gn();cu(a,s,e,t,n,r),ngDevMode&&Su(o.data,a,"attr."+e,i)}return Ul}function Hl(e,t){ngDevMode&&k(2,t.length,"should have at least 3 values"),ngDevMode&&E(t.length%2,1,"should have an odd number of values");let n=!1,r=Zt();for(let s=1;s<t.length;s+=2)n=Vl(e,r++,t[s])||n;if(Gt(r),!n)return Go;let s=t[0];for(let e=1;e<t.length;e+=2)s+=m(t[e])+t[e+1];return s}function zl(e,t,n,r){return Vl(e,Kt(),n)?t+m(n)+r:Go}function ql(e,t,n,r,s,i){const o=Ll(e,Zt(),n,s);return Qt(2),o?t+m(n)+r+m(s)+i:Go}function Wl(e,t,n,r,s,i,o,a){const u=Bl(e,Zt(),n,s,o);return Qt(3),u?t+m(n)+r+m(s)+i+m(o)+a:Go}function Zl(e,t,n,r,s,i,o,a,u,l){const c=$l(e,Zt(),n,s,o,u);return Qt(4),c?t+m(n)+r+m(s)+i+m(o)+a+m(u)+l:Go}function Gl(e,t,n,r,s,i,o,a,u,l,c,h){const d=Zt();let f=$l(e,d,n,s,o,u);return f=Vl(e,d+4,c)||f,Qt(5),f?t+m(n)+r+m(s)+i+m(o)+a+m(u)+l+m(c)+h:Go}function Kl(e,t,n,r,s,i,o,a,u,l,c,h,d,f){const p=Zt();let g=$l(e,p,n,s,o,u);return g=Ll(e,p+4,c,d)||g,Qt(6),g?t+m(n)+r+m(s)+i+m(o)+a+m(u)+l+m(c)+h+m(d)+f:Go}function Ql(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g){const y=Zt();let v=$l(e,y,n,s,o,u);return v=Bl(e,y+4,c,d,p)||v,Qt(7),v?t+m(n)+r+m(s)+i+m(o)+a+m(u)+l+m(c)+h+m(d)+f+m(p)+g:Go}function Yl(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,y,v){const _=Zt();let b=$l(e,_,n,s,o,u);return b=$l(e,_+4,c,d,p,y)||b,Qt(8),b?t+m(n)+r+m(s)+i+m(o)+a+m(u)+l+m(c)+h+m(d)+f+m(p)+g+m(y)+v:Go}function Jl(e,t,n,r,s,i){const o=Ft(),a=zl(o,t,n,r);if(a!==Go){const n=gn();cu(n,o,e,a,s,i),ngDevMode&&Su(Rt().data,n,"attr."+e,Zt()-1,t,r)}return Jl}function Xl(e,t,n,r,s,i,o,a){const u=Ft(),l=ql(u,t,n,r,s,i);if(l!==Go){const n=gn();cu(n,u,e,l,o,a),ngDevMode&&Su(Rt().data,n,"attr."+e,Zt()-2,t,r,i)}return Xl}function ec(e,t,n,r,s,i,o,a,u,l){const c=Ft(),h=Wl(c,t,n,r,s,i,o,a);if(h!==Go){const n=gn();cu(n,c,e,h,u,l),ngDevMode&&Su(Rt().data,n,"attr."+e,Zt()-3,t,r,i,a)}return ec}function tc(e,t,n,r,s,i,o,a,u,l,c,h){const d=Ft(),f=Zl(d,t,n,r,s,i,o,a,u,l);if(f!==Go){const n=gn();cu(n,d,e,f,c,h),ngDevMode&&Su(Rt().data,n,"attr."+e,Zt()-4,t,r,i,a,l)}return tc}function nc(e,t,n,r,s,i,o,a,u,l,c,h,d,f){const p=Ft(),g=Gl(p,t,n,r,s,i,o,a,u,l,c,h);if(g!==Go){const n=gn();cu(n,p,e,g,d,f),ngDevMode&&Su(Rt().data,n,"attr."+e,Zt()-5,t,r,i,a,l,h)}return nc}function rc(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g){const m=Ft(),y=Kl(m,t,n,r,s,i,o,a,u,l,c,h,d,f);if(y!==Go){const n=gn();cu(n,m,e,y,p,g),ngDevMode&&Su(Rt().data,n,"attr."+e,Zt()-6,t,r,i,a,l,h,f)}return rc}function sc(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y){const v=Ft(),_=Ql(v,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g);if(_!==Go){const n=gn();cu(n,v,e,_,m,y),ngDevMode&&Su(Rt().data,n,"attr."+e,Zt()-7,t,r,i,a,l,h,f,g)}return sc}function ic(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y,v,_){const b=Ft(),w=Yl(b,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y);if(w!==Go){const n=gn();cu(n,b,e,w,v,_),ngDevMode&&Su(Rt().data,n,"attr."+e,Zt()-8,t,r,i,a,l,h,f,g,y)}return ic}function oc(e,t,n,r){const s=Ft(),i=Hl(s,t);if(i!==Go){const o=gn();if(cu(o,s,e,i,n,r),ngDevMode){const n=[t[0]];for(let e=2;e<t.length;e+=2)n.push(t[e]);Su(Rt().data,o,"attr."+e,Zt()-n.length+1,...n)}}return oc}function ac(e,t,n,r,s,i,o,a){const u=Ft(),l=Rt(),c=e+Ne,h=l.firstCreatePass?function(e,t,n,r,s,i,o,a,u){ngDevMode&&Ye(t),ngDevMode&&ngDevMode.firstCreatePass++;const l=t.consts,c=ja(t,e,4,o||null,kt(l,a));nu(t,n,c,kt(l,u)),_n(t,c);const h=c.tViews=Ga(2,c,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),h.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,s,i,o):l.data[c];$t(h,!1);const d=u[11].createComment(ngDevMode?"container":"");xo(l,u,d,h),Di(d,u),_u(u,u[c]=gu(d,u,d,h)),Be(h)&&qa(l,u,h),null!=o&&Wa(u,h,a)}function uc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function lc(e){return Et(It.lFrame.contextLView,Ne+e)}const cc={ɵɵdefineInjectable:j,ɵɵdefineInjector:L,ɵɵinject:Gr,ɵɵinvalidFactoryDep:Kr,resolveForwardRef:h},hc=i({provide:String,useValue:i});function dc(e){return void 0!==e.useClass}function fc(e){return void 0!==e.useFactory}const pc=lr("Injectable",void 0,void 0,void 0,((e,t)=>mc(e,t))),gc=function(e,t){let n=null,r=null;e.hasOwnProperty(H)||Object.defineProperty(e,H,{get:()=>{if(null===n){const r=Dr({usage:0,kind:"injectable",type:e});n=r.compileInjectable(cc,`ng:///${e.name}/ɵprov.js`,function(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(dc(n)||fc(n))&&void 0!==n.deps&&(r.deps=ls(n.deps)),dc(n)?r.useClass=n.useClass:function(e){return hc in e}(n)?r.useValue=n.useValue:fc(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))}return n}}),e.hasOwnProperty(me)||Object.defineProperty(e,me,{get:()=>{if(null===r){const t=Dr({usage:0,kind:"injectable",type:e});r=t.compileFactory(cc,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:us(e),target:t.FactoryTarget.Injectable})}return r},configurable:!0})},mc=gc;function yc(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map((e=>a(e.token))).join(" -> ")+")":""}function vc(e,t,n,r){const s=[t],i=n(s),o=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r.ngOriginalError=t,r}(i,r):Error(i);return o.addKey=_c,o.keys=s,o.injectors=[e],o.constructResolvingMessage=n,o.ngOriginalError=r,o}function _c(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function bc(e,t){const n=[];for(let e=0,r=t.length;e<r;e++){const r=t[e];r&&0!=r.length?n.push(r.map(a).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+a(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+a(e)+"' is decorated with Injectable.")}class wc{constructor(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=a(this.token)}static get(e){return Dc.get(h(e))}static get numberOfKeys(){return Dc.numberOfKeys}}class Cc{constructor(){this._allKeys=new Map}get(e){if(e instanceof wc)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new wc(e,wc.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}}const Dc=new Cc;class Ec{constructor(e){this.reflectionCapabilities=e}updateCapabilities(e){this.reflectionCapabilities=e}factory(e){return this.reflectionCapabilities.factory(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}getter(e){return this.reflectionCapabilities.getter(e)}setter(e){return this.reflectionCapabilities.setter(e)}method(e){return this.reflectionCapabilities.method(e)}importUri(e){return this.reflectionCapabilities.importUri(e)}resourceUri(e){return this.reflectionCapabilities.resourceUri(e)}resolveIdentifier(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}resolveEnum(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}const Sc=new Ec(new Vr);class xc{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new xc(e,!1,null)}}const Tc=[];class kc{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class Mc{constructor(e,t){this.factory=e,this.dependencies=t}}function Ac(e){let t,n;if(e.useClass){const r=h(e.useClass);t=Sc.factory(r),n=Pc(r)}else e.useExisting?(t=e=>e,n=[xc.fromKey(wc.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map((e=>[e]));return t.map((t=>Fc(e,t,n)))}return Pc(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=Tc);return new Mc(t,n)}function Ic(e){return new kc(wc.get(e.provide),[Ac(e)],e.multi||!1)}function Oc(e){const t=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],s=t.get(r.key.id);if(s){if(r.multiProvider!==s.multiProvider)throw Error(`Cannot mix multi providers and regular providers, got: ${s} ${r}`);if(r.multiProvider)for(let e=0;e<r.resolvedFactories.length;e++)s.resolvedFactories.push(r.resolvedFactories[e]);else t.set(r.key.id,r)}else{let e;e=r.multiProvider?new kc(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,e)}}return t}(Nc(e,[]).map(Ic),new Map);return Array.from(t.values())}function Nc(e,t){return e.forEach((e=>{if(e instanceof Er)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!Array.isArray(e))throw Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`);Nc(e,t)}})),t}function Pc(e){const t=Sc.parameters(e);if(!t)return[];if(t.some((e=>null==e)))throw bc(e,t);return t.map((n=>Fc(e,n,t)))}function Fc(e,t,n){let r=null,s=!1;if(!Array.isArray(t))return Rc(t instanceof ts?t.token:t,s,null);let i=null;for(let e=0;e<t.length;++e){const n=t[e];n instanceof Er?r=n:n instanceof ts?r=n.token:n instanceof ns?s=!0:n instanceof rs||n instanceof ss?i=n:n instanceof gr&&(r=n)}if(r=h(r),null!=r)return Rc(r,s,i);throw bc(e,n)}function Rc(e,t,n){return new xc(wc.get(e),t,n)}const jc={};class Vc{static resolve(e){return Oc(e)}static resolveAndCreate(e,t){const n=Vc.resolve(e);return Vc.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new Lc(e,t)}}let Lc=(()=>{class e{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let t=0;t<n;t++)this.keyIds[t]=e[t].key.id,this.objs[t]=jc}get(e,t=$r){return this._getByKey(wc.get(e),null,t)}resolveAndCreateChild(e){const t=Vc.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(t){const n=new e(t);return n.parent=this,n}resolveAndInstantiate(e){return this.instantiateResolved(Vc.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw this,vc(this,e.key,(function(e){return`Cannot instantiate cyclic dependency!${yc(e)}`}));return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let r,s;try{r=t.dependencies.map((e=>this._getByReflectiveDependency(e)))}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{s=n(...r)}catch(t){throw this,i=t,t.stack,vc(this,e.key,(function(e){const t=a(e[0].token);return`${i.message}: Error during instantiation of ${t}!${yc(e)}.`}),i)}var i;return s}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:$r)}_getByKey(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof rs?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===jc&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return jc}_throwOrNull(e,t){if(t!==$r)return t;throw function(e,t){return vc(e,t,(function(e){return`No provider for ${a(e[0].token)}!${yc(e)}`}))}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==jc?n:this._throwOrNull(e,t)}_getByKeyDefault(t,n,r){let s;for(s=r instanceof ss?this.parent:this;s instanceof e;){const e=s,n=e._getObjByKeyId(t.id);if(n!==jc)return n;s=e.parent}return null!==s?s.get(t.token,n):this._throwOrNull(t,n)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let t=0;t<e._providers.length;++t)n[t]=' "'+e.getProviderAtIndex(t).key.displayName+'" ';return n}(this).join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=wc.get(Xu),e})();function Bc(e,t=Z.Default){const n=Ft();return null===n?(ngDevMode&&(ngDevMode&&S(G,Bc,"Calling ɵɵinject would cause infinite recursion")),Gr(e,t)):Gn(Vt(),n,h(e),t)}function $c(){const e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)}function Uc(e,t,n){const r=Ft(),s=Kt();if(Vl(r,s,t)){const i=Rt(),o=gn();Ja(i,o,r,e,t,r[11],n,!1),ngDevMode&&Su(i.data,o,e,s)}return Uc}function Hc(e,t,n,r,s){const i=s?"class":"style";Iu(e,n,t.inputs[i],i,r)}function zc(e,t,n,r){const s=Ft(),i=Rt(),o=Ne+e;ngDevMode&&E(Zt(),i.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&F(s,o);const a=s[11],u=s[o]=lo(a,t,It.lFrame.currentNamespace),l=i.firstCreatePass?function(e,t,n,r,s,i,o){ngDevMode&&Ye(t),ngDevMode&&ngDevMode.firstCreatePass++;const a=t.consts,u=ja(t,e,2,s,kt(a,i)),l=nu(t,n,u,kt(a,o));return ngDevMode&&function(e,t,n,r){if(null===e.schemas)return;const s=n.value;if(!r&&null!==s&&("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&t instanceof HTMLUnknownElement||"undefined"!=typeof customElements&&s.indexOf("-")>-1&&!customElements.get(s))&&!eu(e,s)){let e=`'${s}' is not a known element:\n`;e+=`1. If '${s}' is an Angular component, then verify that it is part of this module.\n`,s&&s.indexOf("-")>-1?e+=`2. If '${s}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`:e+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",console.error(g("304",e))}}(t,r,u,l),null!==u.attrs&&Nu(u,u.attrs,!1),null!==u.mergedAttrs&&Nu(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,s,u,t,n,r):i.data[o];$t(l,!0);const c=l.mergedAttrs;null!==c&&Mn(a,u,c);const h=l.classes;null!==h&&Fo(a,u,h);const d=l.styles;null!==d&&Po(a,u,d),64!=(64&l.flags)&&xo(i,s,u,l),0===It.lFrame.elementDepthCount&&Di(u,s),It.lFrame.elementDepthCount++,Be(l)&&(qa(i,s,l),za(i,l,s)),null!==r&&Wa(s,l)}function qc(){let e=Vt();ngDevMode&&O(e,"No parent node to close."),Ut()?Ht():(ngDevMode&&Ze(Vt()),e=e.parent,$t(e,!1));const t=e;ngDevMode&&kn(t,3),It.lFrame.elementDepthCount--;const n=Rt();n.firstCreatePass&&(_n(n,e),Ve(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Hc(n,t,Ft(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Hc(n,t,Ft(),t.stylesWithoutHost,!1)}function Wc(e,t,n,r){zc(e,t,n,r),qc()}function Zc(e,t,n){const r=Ft(),s=Rt(),i=e+Ne;ngDevMode&&F(r,i),ngDevMode&&E(Zt(),s.bindingStartIndex,"element containers should be created before any bindings");const o=s.firstCreatePass?function(e,t,n,r,s){ngDevMode&&ngDevMode.firstCreatePass++;const i=t.consts,o=kt(i,r),a=ja(t,e,8,"ng-container",o);return null!==o&&Nu(a,o,!0),nu(t,n,a,kt(i,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,s,r,t,n):s.data[i];$t(o,!0),ngDevMode&&ngDevMode.rendererCreateComment++;const a=r[i]=r[11].createComment(ngDevMode?"ng-container":"");xo(s,r,a,o),Di(a,r),Be(o)&&(qa(s,r,o),za(s,o,r)),null!=n&&Wa(r,o)}function Gc(){let e=Vt();const t=Rt();Ut()?Ht():(ngDevMode&&Ze(e),e=e.parent,$t(e,!1)),ngDevMode&&kn(e,8),t.firstCreatePass&&(_n(t,e),Ve(e)&&t.queries.elementEnd(e))}function Kc(e,t,n){Zc(e,t,n),Gc()}function Qc(){return Ft()}function Yc(e){return!!e&&"function"==typeof e.then}function Jc(e){return!!e&&"function"==typeof e.subscribe}const Xc=Jc;function eh(e,t,n,r){const s=Ft(),i=Rt(),o=Vt();return nh(i,s,s[11],o,e,t,!!n,r),eh}function th(e,t){const n=Vt(),r=Ft(),s=Rt();return nh(s,r,Mu(en(s.data),n,r),n,e,t,!1),th}function nh(e,t,n,r,s,i,o,a){const u=Be(r),l=e.firstCreatePass&&ku(e),c=t[8],h=Tu(t);ngDevMode&&kn(r,15);let d=!0;if(3&r.type||a){const f=Ct(r,t),p=a?a(f):f,g=h.length,m=a?e=>a(bt(e[r.index])):r.index;if(vt(n)){let o=null;if(!a&&u&&(o=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let e=0;e<s.length-1;e+=2){const i=s[e];if(i===n&&s[e+1]===r){const n=t[7],r=s[e+2];return n.length>r?n[r]:null}"string"==typeof i&&(e+=2)}return null}(e,t,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,d=!1;else{i=sh(r,t,c,i,!1);const e=n.listen(p,s,i);ngDevMode&&ngDevMode.rendererAddEventListener++,h.push(i,e),l&&l.push(s,m,g,g+1)}}else i=sh(r,t,c,i,!0),p.addEventListener(s,i,o),ngDevMode&&ngDevMode.rendererAddEventListener++,h.push(i),l&&l.push(s,m,g,o)}else i=sh(r,t,c,i,!1);const f=r.outputs;let p;if(d&&null!==f&&(p=f[s])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=p[n];ngDevMode&&F(t,e);const o=p[n+1],a=t[e],u=a[o];if(ngDevMode&&!Xc(u))throw new Error(`@Output ${o} not initialized in '${a.constructor.name}'.`);const c=u.subscribe(i),d=h.length;h.push(i,c),l&&l.push(s,r.index,d,-(d+1))}}}function rh(e,t,n,r){try{return dt(6,t,n),!1!==n(r)}catch(t){return Au(e,t),!1}finally{dt(7,t,n)}}function sh(e,t,n,r,s){return function i(o){if(o===Function)return r;const a=2&e.flags?St(e.index,t):t;0==(32&t[2])&&bu(a);let u=rh(t,n,r,o),l=i.__ngNextListenerFn__;for(;l;)u=rh(t,n,l,o)&&u,l=l.__ngNextListenerFn__;return s&&!1===u&&(o.preventDefault(),o.returnValue=!1),u}}function ih(e=1){return dn(e)}function oh(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let s=0;s<t.length;s++){const i=t[s];if("*"!==i){if(null===r?zo(e,i,!0):qo(r,i))return s}else n=s}return n}function ah(e){const t=Ft()[16][6];if(!t.projection){const n=e?e.length:1,r=t.projection=Ar(n,null),s=r.slice();let i=t.child;for(;null!==i;){const t=e?oh(i,e):0;null!==t&&(s[t]?s[t].projectionNext=i:r[t]=i,s[t]=i),i=i.next}}}function uh(e,t=0,n){const r=Ft(),s=Rt(),i=ja(s,Ne+e,16,null,n||null);null===i.projection&&(i.projection=t),Ht(),64!=(64&i.flags)&&function(e,t,n){No(t[11],0,t,n,go(e,n,t),wo(n.parent||t[6],n,t))}(s,r,i)}function lh(e,t,n){return ch(e,"",t,"",n),lh}function ch(e,t,n,r,s){const i=Ft(),o=zl(i,t,n,r);if(o!==Go){const n=Rt(),a=gn();Ja(n,a,i,e,o,i[11],s,!1),ngDevMode&&Su(n.data,a,e,Zt()-1,t,r)}return ch}function hh(e,t,n,r,s,i,o){const a=Ft(),u=ql(a,t,n,r,s,i);if(u!==Go){const n=Rt(),s=gn();Ja(n,s,a,e,u,a[11],o,!1),ngDevMode&&Su(n.data,s,e,Zt()-2,t,r,i)}return hh}function dh(e,t,n,r,s,i,o,a,u){const l=Ft(),c=Wl(l,t,n,r,s,i,o,a);if(c!==Go){const n=Rt(),s=gn();Ja(n,s,l,e,c,l[11],u,!1),ngDevMode&&Su(n.data,s,e,Zt()-3,t,r,i,a)}return dh}function fh(e,t,n,r,s,i,o,a,u,l,c){const h=Ft(),d=Zl(h,t,n,r,s,i,o,a,u,l);if(d!==Go){const n=Rt(),s=gn();Ja(n,s,h,e,d,h[11],c,!1),ngDevMode&&Su(n.data,s,e,Zt()-4,t,r,i,a,l)}return fh}function ph(e,t,n,r,s,i,o,a,u,l,c,h,d){const f=Ft(),p=Gl(f,t,n,r,s,i,o,a,u,l,c,h);if(p!==Go){const n=Rt(),s=gn();Ja(n,s,f,e,p,f[11],d,!1),ngDevMode&&Su(n.data,s,e,Zt()-5,t,r,i,a,l,h)}return ph}function gh(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p){const g=Ft(),m=Kl(g,t,n,r,s,i,o,a,u,l,c,h,d,f);if(m!==Go){const n=Rt(),s=gn();Ja(n,s,g,e,m,g[11],p,!1),ngDevMode&&Su(n.data,s,e,Zt()-6,t,r,i,a,l,h,f)}return gh}function mh(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m){const y=Ft(),v=Ql(y,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g);if(v!==Go){const n=Rt(),s=gn();Ja(n,s,y,e,v,y[11],m,!1),ngDevMode&&Su(n.data,s,e,Zt()-7,t,r,i,a,l,h,f,g)}return mh}function yh(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y,v){const _=Ft(),b=Yl(_,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y);if(b!==Go){const n=Rt(),s=gn();Ja(n,s,_,e,b,_[11],v,!1),ngDevMode&&Su(n.data,s,e,Zt()-8,t,r,i,a,l,h,f,g,y)}return yh}function vh(e,t,n){const r=Ft(),s=Hl(r,t);if(s!==Go){const i=Rt(),o=gn();if(Ja(i,o,r,e,s,r[11],n,!1),ngDevMode){const n=[t[0]];for(let e=2;e<t.length;e+=2)n.push(t[e]);Su(i.data,o,e,Zt()-n.length+1,...n)}}return vh}function _h(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?Jo(i):ta(i),u=!1;for(;0!==a&&(!1===u||o);){ngDevMode&&F(e,a);const n=e[a],s=e[a+1];bh(n,t)&&(u=!0,e[a+1]=r?sa(s):ea(s)),a=r?Jo(s):ta(s)}u&&(e[n+1]=r?ea(i):sa(i))}function bh(e,t){return ngDevMode&&S(Array.isArray(t),!0,"Expected that 'tStylingKey' has been unwrapped"),null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Nr(e,t)>=0}const wh={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ch(e){return e.substring(wh.key,wh.keyEnd)}function Dh(e){return e.substring(wh.value,wh.valueEnd)}function Eh(e,t){const n=wh.textEnd;return n===t?-1:(t=wh.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,wh.key=t,n),Th(e,t,n))}function Sh(e,t){const n=wh.textEnd;let r=wh.key=Th(e,t,n);return n===r?-1:(r=wh.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=kh(e,r,n,58),r=wh.value=Th(e,r,n),r=wh.valueEnd=function(e,t,n){let r=-1,s=-1,i=-1,o=t,a=o;for(;o<n;){const u=e.charCodeAt(o++);if(59===u)return a;34===u||39===u?a=o=Mh(e,u,o,n):t===o-4&&85===i&&82===s&&76===r&&40===u?a=o=Mh(e,41,o,n):u>32&&(a=o),i=s,s=r,r=-33&u}return a}(e,r,n),kh(e,r,n,59))}function xh(e){wh.key=0,wh.keyEnd=0,wh.value=0,wh.valueEnd=0,wh.textEnd=e.length}function Th(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function kh(e,t,n,r){return(t=Th(e,t,n))<n&&(ngDevMode&&e.charCodeAt(t)!==r&&Ah(e,String.fromCharCode(r),t),t++),t}function Mh(e,t,n,r){let s=-1,i=n;for(;i<r;){const n=e.charCodeAt(i++);if(n==t&&92!==s)return i;s=92==n&&92===s?0:n}throw ngDevMode?Ah(e,String.fromCharCode(t),r):new Error}function Ah(e,t,n){throw ngDevMode&&E("string"==typeof e,!0,"String expected here"),N(`Malformed style at location ${n} in string '`+e.substring(0,n)+"[>>"+e.substring(n,n+1)+"<<]"+e.substr(n+1)+`'. Expecting '${t}'.`)}function Ih(e,t,n){return jh(e,t,n,!1),Ih}function Oh(e,t){return jh(e,t,null,!0),Oh}function Nh(e){Vh(Hh,Ph,e,!1)}function Ph(e,t){for(let n=function(e){return xh(e),Sh(e,Th(e,0,wh.textEnd))}(t);n>=0;n=Sh(t,n))Hh(e,Ch(t),Dh(t))}function Fh(e){Vh(Ir,Rh,e,!0)}function Rh(e,t){for(let n=function(e){return xh(e),Eh(e,Th(e,0,wh.textEnd))}(t);n>=0;n=Eh(t,n))Ir(e,Ch(t),!0)}function jh(e,t,n,r){const s=Ft(),i=Rt(),o=Qt(2);i.firstUpdatePass&&Bh(i,e,o,r),t!==Go&&Vl(s,o,t)&&zh(i,i.data[fn()],s,s[11],e,s[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=a(As(e)))),e}(t,n),r,o)}function Vh(e,t,n,r){const s=Rt(),i=Qt(2);s.firstUpdatePass&&Bh(s,null,i,r);const o=Ft();if(n!==Go&&Vl(o,i,n)){const a=s.data[fn()];if(Zh(a,r)&&!Lh(s,i)){if(ngDevMode){const e=s.data[i];E(Array.isArray(e)?e[1]:e,!1,"Styling linked list shadow input should be marked as 'false'")}let e=r?a.classesWithoutHost:a.stylesWithoutHost;ngDevMode&&!1===r&&null!==e&&E(e.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==e&&(n=u(e,n||"")),Hc(s,a,o,n,r)}else!function(e,t,n,r,s,i,o,a){s===Go&&(s=ce);let u=0,l=0,c=0<s.length?s[0]:null,h=0<i.length?i[0]:null;for(;null!==c||null!==h;){ngDevMode&&k(u,999,"Are we stuck in infinite loop?"),ngDevMode&&k(l,999,"Are we stuck in infinite loop?");const d=u<s.length?s[u+1]:void 0,f=l<i.length?i[l+1]:void 0;let p,g=null;c===h?(u+=2,l+=2,d!==f&&(g=h,p=f)):null===h||null!==c&&c<h?(u+=2,g=c):(ngDevMode&&O(h,"Expecting to have a valid key"),l+=2,g=h,p=f),null!==g&&zh(e,t,n,r,g,p,o,a),c=u<s.length?s[u]:null,h=l<i.length?i[l]:null}}(s,a,o,o[11],o[i+1],o[i+1]=function(e,t,n){if(null==n||""===n)return ce;const r=[],s=As(n);if(Array.isArray(s))for(let t=0;t<s.length;t++)e(r,s[t],!0);else if("object"==typeof s)for(const t in s)s.hasOwnProperty(t)&&e(r,t,s[t]);else"string"==typeof s?t(r,s):ngDevMode&&N("Unsupported styling type "+typeof s+": "+s);return r}(e,t,n),r,i)}}function Lh(e,t){return t>=e.expandoStartIndex}function Bh(e,t,n,r){ngDevMode&&Je(e);const s=e.data;if(null===s[n+1]){const i=s[fn()];ngDevMode&&O(i,"TNode expected");const o=Lh(e,n);Zh(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const s=en(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Uh(n=$h(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=$h(s,e,t,n,r),null===i){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ta(r))return e[Jo(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=$h(null,e,t,n[1],r),n=Uh(n,t.attrs,r),function(e,t,n,r){const s=n?t.classBindings:t.styleBindings;ngDevMode&&S(ta(s),0,"Expecting to have at least one template styling binding."),e[Jo(s)]=r}(e,t,r,n))}else i=function(e,t,n){let r;const s=t.directiveEnd;ngDevMode&&S(t.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(let i=1+t.directiveStylingLast;i<s;i++)r=Uh(r,e[i].hostAttrs,n);return Uh(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function(e,t,n,r,s,i){ngDevMode&&Je(Rt());let o=i?t.classBindings:t.styleBindings,a=Jo(o),u=ta(o);e[r]=n;let l,c=!1;if(Array.isArray(n)){const e=n;l=e[1],(null===l||Nr(e,l)>0)&&(c=!0)}else l=n;if(s)if(0!==u){const t=Jo(e[a+1]);e[r+1]=Yo(t,a),0!==t&&(e[t+1]=na(e[t+1],r)),e[a+1]=(h=e[a+1],d=r,ngDevMode&&w(h,"expected number"),ngDevMode&&C(d,0,32767),131071&h|d<<17)}else e[r+1]=Yo(a,0),0!==a&&(e[a+1]=na(e[a+1],r)),a=r;else e[r+1]=Yo(u,0),ngDevMode&&E(0!==a&&0===u,!1,"Adding template bindings after hostBindings is not allowed."),0===a?a=r:e[u+1]=na(e[u+1],r),u=r;var h,d;c&&(e[r+1]=ea(e[r+1])),_h(e,l,r,!0),_h(e,l,r,!1),function(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Nr(i,t)>=0&&(n[r+1]=sa(n[r+1]))}(t,l,e,r,i),o=Yo(a,u),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}function $h(e,t,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=t[a],ngDevMode&&O(i,"expected to be defined"),r=Uh(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Uh(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ir(e,o,!!n||t[++i]))}return void 0===e?null:e}function Hh(e,t,n){Ir(e,t,As(n))}function zh(e,t,n,r,s,i,o,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];Wh(ra(l)?qh(u,t,n,s,ta(l),o):void 0)||(Wh(i)||Xo(l)&&(i=qh(u,null,n,s,a,o)),function(e,t,n,r,s){const i=vt(e);if(t)s?(ngDevMode&&ngDevMode.rendererAddClass++,i?e.addClass(n,r):(ngDevMode&&O(n.classList,"HTMLElement expected"),n.classList.add(r))):(ngDevMode&&ngDevMode.rendererRemoveClass++,i?e.removeClass(n,r):n.classList.remove(r));else{let t=-1===r.indexOf("-")?void 0:Yi.DashCase;if(null==s)ngDevMode&&ngDevMode.rendererRemoveStyle++,i?e.removeStyle(n,r,t):n.style.removeProperty(r);else{const o="string"==typeof s&&s.endsWith("!important");o&&(s=s.slice(0,-10),t|=Yi.Important),ngDevMode&&ngDevMode.rendererSetStyle++,i?e.setStyle(n,r,s,t):(ngDevMode&&O(n.style,"HTMLElement expected"),n.style.setProperty(r,s,o?"important":""))}}}(r,o,wt(fn(),n),s,i))}function qh(e,t,n,r,s,i){const o=null===t;let a;for(;s>0;){const t=e[s],i=Array.isArray(t),u=i?t[1]:t,l=null===u;let c=n[s+1];c===Go&&(c=l?ce:void 0);let h=l?Or(c,r):u===r?c:void 0;if(i&&!Wh(h)&&(h=Or(t,r)),Wh(h)&&(a=h,o))return a;const d=e[s+1];s=o?Jo(d):ta(d)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(a=Or(e,r))}return a}function Wh(e){return void 0!==e}function Zh(e,t){return 0!=(e.flags&(t?16:32))}function Gh(e,t=""){const n=Ft(),r=Rt(),s=e+Ne;ngDevMode&&E(Zt(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&F(n,s);const i=r.firstCreatePass?ja(r,s,1,t,null):r.data[s],o=n[s]=oo(n[11],t);xo(r,n,o,i),$t(i,!1)}function Kh(e){return Qh("",e,""),Kh}function Qh(e,t,n){const r=Ft(),s=zl(r,e,t,n);return s!==Go&&Ou(r,fn(),s),Qh}function Yh(e,t,n,r,s){const i=Ft(),o=ql(i,e,t,n,r,s);return o!==Go&&Ou(i,fn(),o),Yh}function Jh(e,t,n,r,s,i,o){const a=Ft(),u=Wl(a,e,t,n,r,s,i,o);return u!==Go&&Ou(a,fn(),u),Jh}function Xh(e,t,n,r,s,i,o,a,u){const l=Ft(),c=Zl(l,e,t,n,r,s,i,o,a,u);return c!==Go&&Ou(l,fn(),c),Xh}function ed(e,t,n,r,s,i,o,a,u,l,c){const h=Ft(),d=Gl(h,e,t,n,r,s,i,o,a,u,l,c);return d!==Go&&Ou(h,fn(),d),ed}function td(e,t,n,r,s,i,o,a,u,l,c,h,d){const f=Ft(),p=Kl(f,e,t,n,r,s,i,o,a,u,l,c,h,d);return p!==Go&&Ou(f,fn(),p),td}function nd(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p){const g=Ft(),m=Ql(g,e,t,n,r,s,i,o,a,u,l,c,h,d,f,p);return m!==Go&&Ou(g,fn(),m),nd}function rd(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m){const y=Ft(),v=Yl(y,e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m);return v!==Go&&Ou(y,fn(),v),rd}function sd(e){const t=Ft(),n=Hl(t,e);return n!==Go&&Ou(t,fn(),n),sd}function id(e,t,n){Vh(Ir,Rh,zl(Ft(),e,t,n),!0)}function od(e,t,n,r,s){Vh(Ir,Rh,ql(Ft(),e,t,n,r,s),!0)}function ad(e,t,n,r,s,i,o){Vh(Ir,Rh,Wl(Ft(),e,t,n,r,s,i,o),!0)}function ud(e,t,n,r,s,i,o,a,u){Vh(Ir,Rh,Zl(Ft(),e,t,n,r,s,i,o,a,u),!0)}function ld(e,t,n,r,s,i,o,a,u,l,c){Vh(Ir,Rh,Gl(Ft(),e,t,n,r,s,i,o,a,u,l,c),!0)}function cd(e,t,n,r,s,i,o,a,u,l,c,h,d){Vh(Ir,Rh,Kl(Ft(),e,t,n,r,s,i,o,a,u,l,c,h,d),!0)}function hd(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p){Vh(Ir,Rh,Ql(Ft(),e,t,n,r,s,i,o,a,u,l,c,h,d,f,p),!0)}function dd(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m){Vh(Ir,Rh,Yl(Ft(),e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m),!0)}function fd(e){Vh(Ir,Rh,Hl(Ft(),e),!0)}function pd(e,t,n){Nh(zl(Ft(),e,t,n))}function gd(e,t,n,r,s){Nh(ql(Ft(),e,t,n,r,s))}function md(e,t,n,r,s,i,o){Nh(Wl(Ft(),e,t,n,r,s,i,o))}function yd(e,t,n,r,s,i,o,a,u){Nh(Zl(Ft(),e,t,n,r,s,i,o,a,u))}function vd(e,t,n,r,s,i,o,a,u,l,c){Nh(Gl(Ft(),e,t,n,r,s,i,o,a,u,l,c))}function _d(e,t,n,r,s,i,o,a,u,l,c,h,d){Nh(Kl(Ft(),e,t,n,r,s,i,o,a,u,l,c,h,d))}function bd(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p){Nh(Ql(Ft(),e,t,n,r,s,i,o,a,u,l,c,h,d,f,p))}function wd(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m){Nh(Yl(Ft(),e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m))}function Cd(e){Nh(Hl(Ft(),e))}function Dd(e,t,n,r,s){return jh(e,zl(Ft(),t,n,r),s,!1),Dd}function Ed(e,t,n,r,s,i,o){return jh(e,ql(Ft(),t,n,r,s,i),o,!1),Ed}function Sd(e,t,n,r,s,i,o,a,u){return jh(e,Wl(Ft(),t,n,r,s,i,o,a),u,!1),Sd}function xd(e,t,n,r,s,i,o,a,u,l,c){return jh(e,Zl(Ft(),t,n,r,s,i,o,a,u,l),c,!1),xd}function Td(e,t,n,r,s,i,o,a,u,l,c,h,d){return jh(e,Gl(Ft(),t,n,r,s,i,o,a,u,l,c,h),d,!1),Td}function kd(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p){return jh(e,Kl(Ft(),t,n,r,s,i,o,a,u,l,c,h,d,f),p,!1),kd}function Md(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m){return jh(e,Ql(Ft(),t,n,r,s,i,o,a,u,l,c,h,d,f,p,g),m,!1),Md}function Ad(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y,v){return jh(e,Yl(Ft(),t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y),v,!1),Ad}function Id(e,t,n){return jh(e,Hl(Ft(),t),n,!1),Id}function Od(e,t,n){const r=Ft(),s=Kt();if(Vl(r,s,t)){const i=Rt(),o=gn();Ja(i,o,r,e,t,r[11],n,!0),ngDevMode&&Su(i.data,o,e,s)}return Od}function Nd(e,t,n){const r=Ft(),s=Kt();if(Vl(r,s,t)){const i=Rt(),o=gn();Ja(i,o,r,e,t,Mu(en(i.data),o,r),n,!0),ngDevMode&&Su(i.data,o,e,s)}return Nd}const Pd=void 0;var Fd=["en",[["a","p"],["AM","PM"],Pd],[["AM","PM"],Pd,Pd],[["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"]],Pd,[["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"]],Pd,[["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}",Pd,"{1} 'at' {0}",Pd],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Rd={};function jd(e,t,n){"string"!=typeof t&&(n=t,t=e[Hd.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Rd[t]=e,n&&(Rd[t][Hd.ExtraData]=n)}function Vd(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=$d(t);if(n)return n;const r=t.split("-")[0];if(n=$d(r),n)return n;if("en"===r)return Fd;throw new Error(`Missing locale data for the locale "${e}".`)}function Ld(e){return Vd(e)[Hd.CurrencyCode]||null}function Bd(e){return Vd(e)[Hd.PluralCase]}function $d(e){return e in Rd||(Rd[e]=ae.ng&&ae.ng.common&&ae.ng.common.locales&&ae.ng.common.locales[e]),Rd[e]}function Ud(){Rd={}}var Hd=(()=>((Hd=Hd||{})[Hd.LocaleId=0]="LocaleId",Hd[Hd.DayPeriodsFormat=1]="DayPeriodsFormat",Hd[Hd.DayPeriodsStandalone=2]="DayPeriodsStandalone",Hd[Hd.DaysFormat=3]="DaysFormat",Hd[Hd.DaysStandalone=4]="DaysStandalone",Hd[Hd.MonthsFormat=5]="MonthsFormat",Hd[Hd.MonthsStandalone=6]="MonthsStandalone",Hd[Hd.Eras=7]="Eras",Hd[Hd.FirstDayOfWeek=8]="FirstDayOfWeek",Hd[Hd.WeekendRange=9]="WeekendRange",Hd[Hd.DateFormat=10]="DateFormat",Hd[Hd.TimeFormat=11]="TimeFormat",Hd[Hd.DateTimeFormat=12]="DateTimeFormat",Hd[Hd.NumberSymbols=13]="NumberSymbols",Hd[Hd.NumberFormats=14]="NumberFormats",Hd[Hd.CurrencyCode=15]="CurrencyCode",Hd[Hd.CurrencySymbol=16]="CurrencySymbol",Hd[Hd.CurrencyName=17]="CurrencyName",Hd[Hd.Currencies=18]="Currencies",Hd[Hd.Directionality=19]="Directionality",Hd[Hd.PluralCase=20]="PluralCase",Hd[Hd.ExtraData=21]="ExtraData",Hd))();const zd=["zero","one","two","few","many"],qd="en-US",Wd="USD",Zd={marker:"element"},Gd={marker:"ICU"};var Kd=(()=>((Kd=Kd||{})[Kd.SHIFT=2]="SHIFT",Kd[Kd.APPEND_EAGERLY=1]="APPEND_EAGERLY",Kd[Kd.COMMENT=2]="COMMENT",Kd))();let Qd=qd;function Yd(e){O(e,"Expected localeId to be defined"),"string"==typeof e&&(Qd=e.toLowerCase().replace(/_/g,"-"))}function Jd(e,t,n){const r=t.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?Co(e,0,n):(ngDevMode&&F(n,s),bt(n[s]))}function Xd(e,t,n,r,s){const i=t.insertBeforeIndex;if(Array.isArray(i)){ngDevMode&&P(r);let o=r,a=null;if(3&t.type||(a=o,o=s),null!==o&&0==(2&t.flags))for(let t=1;t<i.length;t++)yo(e,o,n[i[t]],a,!1)}}function ef(e,t){if(ngDevMode&&E(t.insertBeforeIndex,null,"We expect that insertBeforeIndex is not set"),e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];tf(r)||nf(r,t)&&null===rf(r)&&sf(r,t.index)}}function tf(e){return!(64&e.type)}function nf(e,t){return tf(t)||e.index>t.index}function rf(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function sf(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(So(Jd,Xd),e.insertBeforeIndex=t)}function of(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;!ngDevMode||n.hasOwnProperty("tViews")||n.hasOwnProperty("currentCaseLViewIndex")||N("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+n);const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return ngDevMode&&qe(r),r}function af(e,t,n){const r=Va(e,n,64,null,null);return ef(t,r),r}function uf(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function lf(e){return e>>>17}function cf(e){return(131070&e)>>>1}function hf(e){return 1&e}let df=0,ff=0;function pf(e,t,n,r){ngDevMode&&P(r);const s=n[11];let i,o=null;for(let a=0;a<t.length;a++){const u=t[a];if("string"==typeof u){const e=t[++a];null===n[e]&&(ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&F(n,e),n[e]=oo(s,u))}else if("number"==typeof u)switch(1&u){case 0:const l=lf(u);let c,h;if(null===o&&(o=l,i=bo(s,r)),l===o?(c=r,h=i):(c=null,h=bt(n[l])),null!==h){ngDevMode&&P(h);const t=cf(u);ngDevMode&&A(t,Ne,"Missing ref");const r=n[t];ngDevMode&&P(r),yo(s,h,r,c,!1);const i=of(e,t);if(null!==i&&"object"==typeof i){ngDevMode&&qe(i);const t=uf(i,n);null!==t&&pf(e,i.create[t],n,n[i.anchorIdx])}}break;case 1:const d=u>>>1,f=t[++a],p=t[++a];hu(s,wt(d,n),null,null,f,p,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${u}"`)}else switch(u){case Gd:const e=t[++a],r=t[++a];null===n[r]&&(ngDevMode&&E(typeof e,"string",`Expected "${e}" to be a comment node value`),ngDevMode&&ngDevMode.rendererCreateComment++,ngDevMode&&Xe(n,r),Di(n[r]=uo(s,e),n));break;case Zd:const i=t[++a],o=t[++a];null===n[o]&&(ngDevMode&&E(typeof i,"string",`Expected "${i}" to be an element node tag name`),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&Xe(n,o),Di(n[o]=lo(s,i,null),n));break;default:ngDevMode&&N(`Unable to determine the type of mutate operation for "${u}"`)}}}function gf(e,t,n,r,s){for(let i=0;i<n.length;i++){const o=n[i],a=n[++i];if(o&s){let s="";for(let o=i+1;o<=i+a;o++){const i=n[o];if("string"==typeof i)s+=i;else if("number"==typeof i)if(i<0)s+=m(t[r-i]);else{const a=i>>>2;switch(3&i){case 1:const i=n[++o],u=n[++o],l=e.data[a];ngDevMode&&O(l,"Experting TNode or string"),"string"==typeof l?hu(t[11],t[a],null,l,i,s,u):Ja(e,l,t,i,s,t[11],u,!1);break;case 0:const c=t[a];null!==c&&ao(t[11],c,s);break;case 2:yf(e,of(e,a),t,s);break;case 3:mf(e,of(e,a),r,t)}}}}else{const s=n[i+1];if(s>0&&3==(3&s)){const n=of(e,s>>>2);t[n.currentCaseLViewIndex]<0&&mf(e,n,r,t)}}i+=a}}function mf(e,t,n,r){ngDevMode&&F(r,t.currentCaseLViewIndex);let s=r[t.currentCaseLViewIndex];if(null!==s){let i=df;s<0&&(s=r[t.currentCaseLViewIndex]=~s,i=-1),gf(e,r,t.update[s],n,i)}}function yf(e,t,n,r){const s=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=Bd(t)(parseInt(e,10)),r=zd[n];return void 0!==r?r:"other"}(t,Qd);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(uf(t,n)!==s&&(vf(e,t,n),n[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const r=n[t.anchorIdx];r&&(ngDevMode&&P(r),pf(e,t.create[s],n,r))}}function vf(e,t,n){let r=uf(t,n);if(null!==r){const s=t.remove[r];for(let t=0;t<s.length;t++){const r=s[t];if(r>0){const e=wt(r,n);null!==e&&Ao(n[11],e)}else vf(e,of(e,~r),n)}}}function _f(){const e=[];let t,n,r=-1;function s(e,t){r=0;const s=uf(e,t);null!==s?(ngDevMode&&C(s,0,e.cases.length-1),n=e.remove[s]):n=ce}function i(){if(r<n.length){const o=n[r++];if(ngDevMode&&w(o,"Expecting OpCode number"),o>0){const e=t[o];return ngDevMode&&P(e),e}{e.push(r,n);const a=~o,u=t[1].data[a];return ngDevMode&&qe(u),s(u,t),i()}}return 0===e.length?null:(n=e.pop(),r=e.pop(),i())}return function(n,r){for(t=r;e.length;)e.pop();return ngDevMode&&Ue(n,r),s(n.value,r),i}}function bf(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const r=t[e++],s=t[e],i=(r&Kd.COMMENT)===Kd.COMMENT,o=(r&Kd.APPEND_EAGERLY)===Kd.APPEND_EAGERLY,a=r>>>Kd.SHIFT;n.push(`lView[${a}] = document.${i?"createComment":"createText"}(${JSON.stringify(s)});`),o&&n.push(`parent.appendChild(lView[${a}]);`)}return n}function wf(e){const t=new Ef(e||(Array.isArray(this)?this:[]));let n=[];function r(e){const n=e>>>2;switch(3&e){case 0:return`(lView[${n}] as Text).textContent = $$$`;case 1:const e=t.consumeString(),r=t.consumeFunction();return`(lView[${n}] as Element).setAttribute('${e}', ${r?`(${r})($$$)`:"$$$"})`;case 2:return`icuSwitchCase(${n}, $$$)`;case 3:return`icuUpdateCase(${n})`}throw new Error("unexpected OpCode")}for(;t.hasMore();){let e=t.consumeNumber(),s=t.consumeNumber();const i=t.i+s,o=[];let a="";for(;t.i<i;){let e=t.consumeNumberOrString();if("string"==typeof e)a+=e;else if(e<0)a+="${lView[i"+e+"]}";else{const t=r(e);o.push(t.replace("$$$","`"+a+"`")+";"),a=""}}n.push(`if (mask & 0b${e.toString(2)}) { ${o.join(" ")} }`)}return n}function Cf(e){const t=new Ef(e||(Array.isArray(this)?this:[]));let n=[];function r(e){const n=lf(e),r=cf(e);switch(hf(e)){case 0:return`(lView[${n}] as Element).appendChild(lView[${s}])`;case 1:return`(lView[${r}] as Element).setAttribute("${t.consumeString()}", "${t.consumeString()}")`}throw new Error("Unexpected OpCode: "+hf(e))}let s=-1;for(;t.hasMore();){let e=t.consumeNumberStringOrMarker();if(e===Gd){const e=t.consumeString();s=t.consumeNumber(),n.push(`lView[${s}] = document.createComment("${e}")`)}else if(e===Zd){const e=t.consumeString();s=t.consumeNumber(),n.push(`lView[${s}] = document.createElement("${e}")`)}else if("string"==typeof e)s=t.consumeNumber(),n.push(`lView[${s}] = document.createTextNode("${e}")`);else{if("number"!=typeof e)throw new Error("Unexpected value");{const t=r(e);t&&n.push(t)}}}return n}function Df(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const r=t[e];r>0?n.push(`remove(lView[${r}])`):n.push(`removeNestedICU(${~r})`)}return n}class Ef{constructor(e){this.i=0,this.codes=e}hasMore(){return this.i<this.codes.length}consumeNumber(){let e=this.codes[this.i++];return w(e,"expecting number in OpCode"),e}consumeString(){let e=this.codes[this.i++];return D(e,"expecting string in OpCode"),e}consumeFunction(){let e=this.codes[this.i++];if(null===e||"function"==typeof e)return e;throw new Error("expecting function in OpCode")}consumeNumberOrString(){let e=this.codes[this.i++];return"string"==typeof e||w(e,"expecting number or string in OpCode"),e}consumeNumberStringOrMarker(){let e=this.codes[this.i++];return"string"==typeof e||"number"==typeof e||e==Gd||e==Zd||w(e,"expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode"),e}}const Sf=/�(\d+):?\d*�/gi,xf=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,Tf=/�(\d+)�/,kf=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Mf=/�\/?\*(\d+:\d+)�/gi,Af=/�(\/?[#*]\d+):?\d*�/gi,If=/\uE500/g;function Of(e,t,n,r,s,i,o){const a=La(e,r,1,null);let u=a<<Kd.SHIFT,l=Bt();t===l&&(l=null),null===l&&(u|=Kd.APPEND_EAGERLY),o&&(u|=Kd.COMMENT,void 0===Ji&&(Ji=_f())),s.push(u,null===i?"":i);const c=Va(e,a,o?32:1,null===i?ngDevMode?"{{?}}":"":i,null);ef(n,c);const h=c.index;return $t(c,!1),null!==l&&t!==l&&function(e,t){ngDevMode&&ze(e);let n=e.insertBeforeIndex;null===n?(So(Jd,Xd),n=e.insertBeforeIndex=[null,t]):(E(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(l,h),c}function Nf(e,t,n,r,s,i,o){const a=o.match(Sf),u=Of(e,t,n,i,r,a?null:o,!1);a&&Pf(s,o,u.index,null,0,null)}function Pf(e,t,n,r,s,i){ngDevMode&&I(n,Ne,"Index must be in absolute LView offset");const o=e.length,a=o+1;e.push(null,null);const u=o+2;ngDevMode&&oa(e,wf);const l=t.split(Sf);let c=0;for(let t=0;t<l.length;t++){const n=l[t];if(1&t){const t=s+parseInt(n,10);e.push(-1-t),c|=Rf(t)}else""!==n&&e.push(n)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[o]=c,e[a]=e.length-u,c}function Ff(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function Rf(e){return 1<<Math.min(e,31)}function jf(e){let t,n,r="",s=0,i=!1;for(;null!==(t=Mf.exec(e));)i?t[0]===`�/*${n}�`&&(s=t.index,i=!1):(r+=e.substring(s,t.index+t[0].length),n=t[1],i=!0);return ngDevMode&&E(i,!1,`Tag mismatch: unable to find the end of the sub-template in the translation "${e}"`),r+=e.substr(s),r}function Vf(e,t,n,r,s,i){ngDevMode&&O(s,"ICU expression must be defined");let o=0;const a={type:s.type,currentCaseLViewIndex:La(e,t,1,null),anchorIdx:i,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Rf(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,s,i),function(e,t,n){const r=e.data[t];ngDevMode&&E(null===r||r.hasOwnProperty("tViews"),!0,"We expect to get 'null'|'TIcuContainer'"),null===r?e.data[t]=n:(ngDevMode&&kn(r,32),r.value=n)}(e,i,a);const u=s.values;for(let i=0;i<u.length;i++){const l=u[i],c=[];for(let e=0;e<l.length;e++){const t=l[e];if("string"!=typeof t){const n=c.push(t)-1;l[e]=`\x3c!--�${n}�--\x3e`}}o=$f(e,a,t,n,r,s.cases[i],l.join(""),c)|o}o&&function(e,t,n){e.push(t,1,n<<2|3)}(n,o,i)}function Lf(e){const t=[],n=[];let r=1,s=0;const i=Bf(e=e.replace(kf,(function(e,t,n){return r="select"===n?0:1,s=parseInt(t.substr(1),10),""})));for(let e=0;e<i.length;){let s=i[e++].trim();1===r&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);const o=Bf(i[e++]);t.length>n.length&&n.push(o)}return{type:r,mainBinding:s,cases:t,values:n}}function Bf(e){if(!e)return[];let t=0;const n=[],r=[],s=/[{}]/g;let i;for(s.lastIndex=0;i=s.exec(e);){const s=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=e.substring(t,s);kf.test(n)?r.push(Lf(n)):r.push(n),t=s+1}}else{if(0==n.length){const n=e.substring(t,s);r.push(n),t=s+1}n.push("{")}}const o=e.substring(t);return r.push(o),r}function $f(e,t,n,r,s,i,o,a){const u=[],l=[],c=[];ngDevMode&&(oa(u,Cf),oa(l,Df),oa(c,wf)),t.cases.push(i),t.create.push(u),t.remove.push(l),t.update.push(c);const h=Vs(yt()).getInertBodyElement(o);ngDevMode&&O(h,"Unable to generate inert body element");const d=ui(h)||h;return d?Uf(e,t,n,r,u,l,c,d,s,a,0):0}function Uf(e,t,n,r,s,i,o,a,u,l,c){let h=0,d=a.firstChild;for(;d;){const a=La(e,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const f=d,p=f.tagName.toLowerCase();if(Ys.hasOwnProperty(p)){qf(s,Zd,p,u,a),e.data[a]=p;const g=f.attributes;for(let e=0;e<g.length;e++){const t=g.item(e),n=t.name.toLowerCase();t.value.match(Sf)?ei.hasOwnProperty(n)?Js[n]?Pf(o,t.value,a,t.name,0,Hs):Xs[n]?Pf(o,t.value,a,t.name,0,zs):Pf(o,t.value,a,t.name,0,null):ngDevMode&&console.warn(`WARNING: ignoring unsafe attribute value ${n} on element ${p} (see https://g.co/ng/security#xss)`):Wf(s,a,t)}h=Uf(e,t,n,r,s,i,o,d,a,l,c+1)|h,Hf(i,a,c)}break;case Node.TEXT_NODE:const g=d.textContent||"",m=g.match(Sf);qf(s,null,m?"":g,u,a),Hf(i,a,c),m&&(h=Pf(o,g,a,null,0,null)|h);break;case Node.COMMENT_NODE:const y=Tf.exec(d.textContent||"");if(y){const t=parseInt(y[1],10),o=l[t];qf(s,Gd,ngDevMode?`nested ICU ${t}`:"",u,a),Vf(e,n,r,u,o,a),zf(i,a,c)}}d=d.nextSibling}return h}function Hf(e,t,n){0===n&&e.push(t)}function zf(e,t,n){0===n&&(e.push(~t),e.push(t))}function qf(e,t,n,r,s){var i,o;null!==t&&e.push(t),e.push(n,s,(0,i=r,o=s,ngDevMode&&I(i,0,"Missing parent index"),ngDevMode&&A(o,0,"Missing ref index"),0|i<<17|o<<1))}function Wf(e,t,n){e.push(t<<1|1,n.name,n.value)}const Zf=/\[(�.+?�?)\]/,Gf=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Kf=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Qf=/{([A-Z0-9_]+)}/g,Yf=/�I18N_EXP_(ICU(_\d+)?)�/g,Jf=/\/\*/,Xf=/\d+\:(\d+)/;function ep(e,t={}){let n=e;if(Zf.test(e)){const e={},t=[0];n=n.replace(Gf,((n,r,s)=>{const i=r||s,o=e[i]||[];if(o.length||(i.split("|").forEach((e=>{const t=e.match(Xf),n=t?parseInt(t[1],10):0,r=Jf.test(e);o.push([n,r,e])})),e[i]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${i}`);const a=t[t.length-1];let u=0;for(let e=0;e<o.length;e++)if(o[e][0]===a){u=e;break}const[l,c,h]=o[u];return c?t.pop():a!==l&&t.push(l),o.splice(u,1),h}))}return Object.keys(t).length?(n=n.replace(Kf,((e,n,r,s,i,o)=>t.hasOwnProperty(r)?`${n}${t[r]}${o}`:e)),n=n.replace(Qf,((e,n)=>t.hasOwnProperty(n)?t[n]:e)),n=n.replace(Yf,((e,n)=>{if(t.hasOwnProperty(n)){const r=t[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e})),n):n}function tp(e,t,n=-1){const r=Rt(),s=Ft(),i=Ne+e;ngDevMode&&O(r,"tView should be defined");const o=kt(r.consts,t),a=Bt();r.firstCreatePass&&function(e,t,n,r,s,i){const o=Bt(),a=[],u=[],l=[[]];ngDevMode&&(oa(a,bf),oa(u,wf)),s=function(e,t){if(function(e){return-1===e}(t))return jf(e);{const n=e.indexOf(`:${t}�`)+2+t.toString().length,r=e.search(new RegExp(`�\\/\\*\\d+:${t}�`));return jf(e.substring(n,r))}}(s,i);const c=(h=s,h.replace(If," ")).split(Af);var h;for(let i=0;i<c.length;i++){let h=c[i];if(0==(1&i)){const i=Bf(h);for(let c=0;c<i.length;c++){let h=i[c];if(0==(1&c)){const t=h;ngDevMode&&D(t,"Parsed ICU part should be string"),""!==t&&Nf(e,o,l[0],a,u,n,t)}else{const i=h;if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${s}" message.`);const c=Of(e,o,l[0],n,a,ngDevMode?`ICU ${r}:${i.mainBinding}`:"",!0).index;ngDevMode&&I(c,Ne,"Index must be in absolute LView offset"),Vf(e,n,u,t,i,c)}}}else{const t=47===h.charCodeAt(0),n=h.charCodeAt(t?1:0);ngDevMode&&R(n,42,35);const r=Ne+Number.parseInt(h.substring(t?2:1));if(t)l.shift(),$t(Bt(),!1);else{const t=af(e,l[0],r);l.unshift([]),$t(t,!0)}}}e.data[r]={create:a,update:u}}(r,null===a?0:a.index,s,i,o,n);const u=r.data[i],l=mo(r,a===s[6]?null:a,s),c=a&&8&a.type?s[a.index]:null;!function(e,t,n,r){const s=e[11];for(let i=0;i<t.length;i++){const o=t[i++],a=t[i],u=(o&Kd.COMMENT)===Kd.COMMENT,l=(o&Kd.APPEND_EAGERLY)===Kd.APPEND_EAGERLY,c=o>>>Kd.SHIFT;let h=e[c];null===h&&(h=e[c]=u?s.createComment(a):oo(s,a)),l&&null!==n&&yo(s,n,h,r,!1)}}(s,u.create,l,c),Yt(!0)}function np(){Yt(!1)}function rp(e,t,n){tp(e,t,n),np()}function sp(e,t){const n=Rt();ngDevMode&&O(n,"tView should be defined");const r=kt(n.consts,t);!function(e,t,n){const r=Vt().index,s=[];if(ngDevMode&&oa(s,wf),e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],i=n[e+1];if(""!==i){if(xf.test(i))throw new Error(`ICU expressions are not supported in attributes. Message: "${i}".`);Pf(s,i,r,t,Ff(s),null)}}e.data[t]=s}}(n,e+Ne,r)}function ip(e){return Vl(Ft(),Kt(),e)&&(df|=1<<Math.min(ff,31)),ff++,ip}function op(e){!function(e,t,n){if(ff>0){ngDevMode&&O(e,"tView should be defined");const r=e.data[n];gf(e,t,Array.isArray(r)?r:r.update,Zt()-ff-1,df)}df=0,ff=0}(Rt(),Ft(),e+Ne)}function ap(e,t={}){return ep(e,t)}function up(e,t,n,r,s){if(e=h(e),Array.isArray(e))for(let i=0;i<e.length;i++)up(e[i],t,n,r,s);else{const i=Rt(),o=Ft();let a=Qu(e)?e:h(e.provide),u=Zu(e);const l=Vt(),c=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(Qu(e)||!e.multi){const r=new xn(u,s,Bc),h=hp(a,t,s?c:c+f,d);-1===h?(zn(Bn(l,o),i,a),lp(i,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),n.push(r),o.push(r)):(n[h]=r,o[h]=r)}else{const h=hp(a,t,c+f,d),p=hp(a,t,c,c+f),g=h>=0&&n[h],m=p>=0&&n[p];if(s&&!m||!s&&!g){zn(Bn(l,o),i,a);const c=function(e,t,n,r,s){const i=new xn(e,n,Bc);return i.multi=[],i.index=t,i.componentProviders=0,cp(i,s,r&&!n),i}(s?fp:dp,n.length,s,r,u);!s&&m&&(n[p].providerFactory=c),lp(i,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),n.push(c),o.push(c)}else lp(i,e,h>-1?h:p,cp(n[s?p:h],u,!s&&r));!s&&r&&m&&n[p].componentProviders++}}}function lp(e,t,n,r){const s=Qu(t);if(s||t.useClass){const i=(t.useClass||t).prototype.ngOnDestroy;if(i){const o=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){ngDevMode&&O(r,"indexInFactory when registering multi factory destroy hook");const e=o.indexOf(n);-1===e?o.push(n,[r,i]):o[e+1].push(r,i)}else o.push(n,i)}}}function cp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function hp(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function dp(e,t,n,r){return pp(this.multi,[])}function fp(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=Xn(n,n[1],this.providerFactory.index,r);i=t.slice(0,e),pp(s,i);for(let n=e;n<t.length;n++)i.push(t[n])}else i=[],pp(s,i);return i}function pp(e,t){for(let n=0;n<e.length;n++){const r=e[n];t.push(r())}return t}function gp(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=Rt();if(r.firstCreatePass){const s=$e(e);up(n,r.data,r.blueprint,s,!0),up(t,r.data,r.blueprint,s,!1)}}(n,r?r(e):e,t)}}class mp{}class yp{}function vp(e){const t=Error(`No component factory found for ${a(e)}. Did you add it to @NgModule.entryComponents?`);return t[_p]=e,t}const _p="ngComponent";class bp{resolveComponentFactory(e){throw vp(e)}}let wp=(()=>{class e{}return e.NULL=new bp,e})();class Cp{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let t=0;t<e.length;t++){const n=e[t];this._factories.set(n.componentType,n)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw vp(e);return new Dp(t,this._ngModule)}}class Dp extends yp{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}function Ep(...e){}function Sp(){return xp(Vt(),Ft())}function xp(e,t){return new Mp(Ct(e,t))}const Tp=Sp,kp=Tp;let Mp=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=kp,e})();function Ap(e){return e instanceof Mp?e.nativeElement:e}class Ip{}let Op=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Pp(),e})();const Np=Fp,Pp=Np;function Fp(){const e=Ft(),t=St(Vt().index,e);return function(e){const t=e[11];if(ngDevMode&&!vt(t))throw new Error("Cannot inject Renderer2 when the application uses Renderer3!");return t}(Re(t)?t:e)}let Rp=(()=>{class e{}return e.ɵprov=j({token:e,providedIn:"root",factory:()=>null}),e})();class jp{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Vp=new jp("12.2.16");class Lp{constructor(){}supports(e){return Pl(e)}create(e){return new $p(e)}}const Bp=(e,t)=>t;class $p{constructor(e){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=e||Bp}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const i=!n||t&&t.currentIndex<qp(n,r,s)?t:n,o=qp(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{s||(s=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;t<=i&&i<e&&(s[n]=r+1)}s[i.previousIndex]=t-e}}o!==a&&e(i,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Pl(e))throw new Error(`Error trying to diff '${a(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,t)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),i=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Il()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,(e=>{r=this._trackByFn(t,e),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),Object.is(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),i=!0),s=s._next,t++})),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):e=this._addAfter(new Up(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new zp),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new zp),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class Up{constructor(e,t){this.item=e,this.trackById=t,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 Hp{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class zp{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Hp,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,r=this.map.get(n);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function qp(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Wp{constructor(){}supports(e){return e instanceof Map||Fl(e)}create(){return new Zp}}class Zp{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(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Fl(e)))throw new Error(`Error trying to diff '${a(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,((e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}})),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new Gp(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((n=>t(e[n],n)))}}class Gp{constructor(e){this.key=e,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 Kp(){return new Qp([new Lp])}let Qp=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Kp()),deps:[[e,new ss,new ns]]}}find(e){const t=this.factories.find((t=>t.supports(e)));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ɵprov=j({token:e,providedIn:"root",factory:Kp}),e})();function Yp(){return new Jp([new Wp])}let Jp=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Yp()),deps:[[e,new ss,new ns]]}}find(e){const t=this.factories.find((t=>t.supports(e)));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ɵprov=j({token:e,providedIn:"root",factory:Yp}),e})();function Xp(e,t,n,r,s=!1){for(;null!==n;){ngDevMode&&kn(n,63);const i=t[n.index];if(null!==i&&r.push(bt(i)),je(i))for(let e=Fe;e<i.length;e++){const t=i[e],n=t[1].firstChild;null!==n&&Xp(t[1],t,n,r)}const o=n.type;if(8&o)Xp(e,t,n.child,r);else if(32&o){const e=Xi(n,t);let s;for(;s=e();)r.push(s)}else if(16&o){const e=ko(t,n);if(Array.isArray(e))r.push(...e);else{const n=eo(t[16]);ngDevMode&&tt(n),Xp(n[1],n,e,r,!0)}}n=s?n.projectionNext:n.next}return r}class eg{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return Xp(t,e,t.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(je(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(ngDevMode&&E(n,e.indexOf(this._lView)-Fe,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),ho(e,n),Mr(t,n))}this._attachedToViewContainer=!1}fo(this._lView[1],this._lView)}onDestroy(e){Qa(this._lView[1],this._lView,null,e)}markForCheck(){bu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Cu(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){qt(!0);try{Cu(e,t,n)}finally{qt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,Oo(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class tg extends eg{constructor(e){super(e),this._view=e}detectChanges(){Du(this._view)}checkNoChanges(){!function(e){qt(!0);try{Du(e)}finally{qt(!1)}}(this._view)}get context(){return null}}const ng=ig,rg=ng;let sg=(()=>{class e{}return e.__NG_ELEMENT_ID__=rg,e})();function ig(e){return function(e,t,n){if(Le(e)&&!n){const n=St(e.index,t);return new eg(n,n)}if(47&e.type){const e=t[16];return new eg(e,t)}return null}(Vt(),Ft(),16==(16&e))}const og=[new Wp],ag=new Qp([new Lp]),ug=new Jp(og),lg=pg,cg=lg;let hg=(()=>{class e{}return e.__NG_ELEMENT_ID__=cg,e})();const dg=hg,fg=class extends dg{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Ra(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null),r=this._declarationLView[this._declarationTContainer.index];ngDevMode&&Ge(r),n[17]=r;const s=this._declarationLView[19];return null!==s&&(n[19]=s.createEmbeddedView(t)),Ba(t,n,e),new eg(n)}};function pg(){return gg(Vt(),Ft())}function gg(e,t){return 4&e.type?(ngDevMode&&O(e.tViews,"TView must be allocated"),new fg(t,e,xp(e,t))):null}class mg{}class yg{}const vg=wg,_g=vg;let bg=(()=>{class e{}return e.__NG_ELEMENT_ID__=_g,e})();function wg(){return xg(Vt(),Ft())}const Cg=bg,Dg=class extends Cg{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return xp(this._hostTNode,this._hostLView)}get injector(){return new nr(this._hostTNode,this._hostLView)}get parentInjector(){const e=Hn(this._hostTNode,this._hostLView);if(Pn(e)){const t=Rn(e,this._hostLView),n=Fn(e);ngDevMode&&nt(t,n);const r=t[1].data[n+8];return new nr(r,t)}return new nr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Eg(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Fe}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;if(!s&&null==e.ngModule&&i){const e=i.get(mg,null);e&&(s=e)}const o=e.create(i,r,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,r=n[1];if(ngDevMode&&e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(je(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3];ngDevMode&&E(je(t),!0,"An attached view should have its PARENT point to a container.");const r=new Dg(t,t[6],t[3]);r.detach(r.indexOf(e))}}const s=this._adjustIndex(t),i=this._lContainer;!function(e,t,n,r){ngDevMode&&Qe(t),ngDevMode&&Ge(n);const s=Fe+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-Fe?(t[4]=n[s],kr(n,Fe+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){ngDevMode&&O(t,"LView required"),ngDevMode&&Ge(e);const n=e[9],r=t[3];ngDevMode&&Ge(r);const s=r[3][16];ngDevMode&&O(s,"Missing insertedComponentLView");const i=t[16];ngDevMode&&O(i,"Missing declaredComponentLView"),i!==s&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,i,s);const o=Mo(s,i),a=n[11],u=bo(a,i[7]);return null!==u&&function(e,t,n,r,s,i){r[0]=s,r[6]=t,Oo(e,r,n,1,s,i)}(r,i[6],a,n,u,o),e.attachToViewContainerRef(),kr(Sg(i),s,e),e}move(e,t){if(ngDevMode&&e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=Eg(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=ho(this._lContainer,t);n&&(Mr(Sg(this._lContainer),t),fo(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=ho(this._lContainer,t);return n&&null!=Mr(Sg(this._lContainer),t)?new eg(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:(ngDevMode&&(A(e,-1,`ViewRef index must be positive, got ${e}`),k(e,this.length+1+t,"index")),e)}};function Eg(e){return e[8]}function Sg(e){return e[8]||(e[8]=[])}function xg(e,t){let n;ngDevMode&&kn(e,15);const r=t[e.index];if(je(r))n=r;else{let s;if(8&e.type)s=bt(r);else{const n=t[11];ngDevMode&&ngDevMode.rendererCreateComment++,s=n.createComment(ngDevMode?"container":"");const r=Ct(e,t);yo(n,bo(n,r),s,function(e,t){return vt(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=gu(r,t,s,e),_u(t,n)}return new Dg(n,e,t)}function Tg(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return kg(n,t),n}(s,e)}function kg(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Mg(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function Ag(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function Ig(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Og(e,t){return e.nodes[t]}function Ng(e,t){return e.nodes[t]}function Pg(e,t){return e.nodes[t]}function Fg(e,t){return e.nodes[t]}function Rg(e,t){return e.nodes[t]}class jg{}const Vg={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Lg=()=>{},Bg=new Map;function $g(e){let t=Bg.get(e);return t||(t=a(e)+"_"+Bg.size,Bg.set(e,t)),t}function Ug(e,t,n,r){if(Nl.isWrapped(r)){r=Nl.unwrap(r);const s=e.def.nodes[t].bindingIndex+n,i=Nl.unwrap(e.oldValues[s]);e.oldValues[s]=new Nl(i)}return r}const Hg="$$undefined",zg="$$empty";function qg(e){return{id:Hg,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Wg=0;function Zg(e,t,n,r){const s=e.oldValues;return!(!(2&e.state)&&Object.is(s[t.bindingIndex+n],r))}function Gg(e,t,n,r){return!!Zg(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Kg(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!Ol(s,r)){const i=t.bindings[n].name;throw Tg(Vg.createDebugContext(e,t.nodeIndex),`${i}: ${s}`,`${i}: ${r}`,0!=(1&e.state))}}function Qg(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Yg(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Jg(e,t,n,r){try{return Qg(33554432&e.def.nodes[t].flags?Ng(e,t).componentView:e),Vg.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Xg(e){return e.parent?Ng(e.parent,e.parentNodeDef.nodeIndex):null}function em(e){return e.parent?e.parentNodeDef.parent:null}function tm(e,t){switch(201347067&t.flags){case 1:return Ng(e,t.nodeIndex).renderElement;case 2:return Og(e,t.nodeIndex).renderText}}function nm(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function rm(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function sm(e){return 1<<e%32}function im(e){const t={};let n=0;const r={};return e&&e.forEach((([e,s])=>{"number"==typeof e?(t[e]=s,n|=sm(e)):r[e]=s})),{matchedQueries:t,references:r,matchedQueryIds:n}}function om(e,t){return e.map((e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,Hr,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:$g(n)}}))}function am(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&(r.element.componentRendererType.encapsulation===ne.ShadowDom||1===r.element.componentRendererType.encapsulation)?Ng(e,n.renderParent.nodeIndex).renderElement:void 0:t}const um=new WeakMap;function lm(e){let t=um.get(e);return t||(t=e((()=>Lg)),t.factory=e,um.set(e,t)),t}function cm(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(tm(e,e.def.lastRenderRootNode))),hm(e,t,0,e.def.nodes.length-1,n,r,s)}function hm(e,t,n,r,s,i,o){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&fm(e,n,t,s,i,o),a+=n.childCount}}function dm(e,t,n,r,s,i){let o=e;for(;o&&!nm(o);)o=o.parent;const a=o.parent,u=em(o),l=u.nodeIndex+1,c=u.nodeIndex+u.childCount;for(let e=l;e<=c;e++){const o=a.def.nodes[e];o.ngContentIndex===t&&fm(a,o,n,r,s,i),e+=o.childCount}if(!a.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t<o.length;t++)pm(e,o[t],n,r,s,i)}}function fm(e,t,n,r,s,i){if(8&t.flags)dm(e,t.ngContent.index,n,r,s,i);else{const o=tm(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&pm(e,o,n,r,s,i),32&t.bindingFlags&&pm(Ng(e,t.nodeIndex).componentView,o,n,r,s,i)):pm(e,o,n,r,s,i),16777216&t.flags){const o=Ng(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<o.length;e++)cm(o[e],n,r,s,i)}1&t.flags&&!t.element.name&&hm(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,i)}}function pm(e,t,n,r,s,i){const o=e.renderer;switch(n){case 1:o.appendChild(r,t);break;case 2:o.insertBefore(r,t,s);break;case 3:o.removeChild(r,t);break;case 0:i.push(t)}}const gm=/^:([^:]+):(.+)$/;function mm(e){if(":"===e[0]){const t=e.match(gm);return[t[1],t[2]]}return["",e]}function ym(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function vm(e,t){let n="";for(let r=0;r<2*e;r+=2)n=n+t[r]+bm(t[r+1]);return n+t[2*e]}function _m(e,t,n,r,s,i,o,a,u,l,c,h,d,f,p,g,m,y,v,_){switch(e){case 1:return t+bm(n)+r;case 2:return t+bm(n)+r+bm(s)+i;case 3:return t+bm(n)+r+bm(s)+i+bm(o)+a;case 4:return t+bm(n)+r+bm(s)+i+bm(o)+a+bm(u)+l;case 5:return t+bm(n)+r+bm(s)+i+bm(o)+a+bm(u)+l+bm(c)+h;case 6:return t+bm(n)+r+bm(s)+i+bm(o)+a+bm(u)+l+bm(c)+h+bm(d)+f;case 7:return t+bm(n)+r+bm(s)+i+bm(o)+a+bm(u)+l+bm(c)+h+bm(d)+f+bm(p)+g;case 8:return t+bm(n)+r+bm(s)+i+bm(o)+a+bm(u)+l+bm(c)+h+bm(d)+f+bm(p)+g+bm(m)+y;case 9:return t+bm(n)+r+bm(s)+i+bm(o)+a+bm(u)+l+bm(c)+h+bm(d)+f+bm(p)+g+bm(m)+y+bm(v)+_;default:throw new Error("Does not support more than 9 expressions")}}function bm(e){return null!=e?e.toString():""}const wm={},Cm={},Dm=$g(Xu),Em=$g(Ru),Sm=$g(mg);function xm(e,t,n,r){return n=h(n),{index:-1,deps:om(r,a(t)),flags:e,token:t,value:n}}function Tm(e){const t={},n=[];let r=null;for(let s=0;s<e.length;s++){const i=e[s];i.token===Vu&&(r=i.value),1073741824&i.flags&&n.push(i.token),i.index=s,t[$g(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}}function km(e,t,n=Xu.THROW_IF_NOT_FOUND){const r=Wr(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const s=t.tokenKey;switch(s){case Dm:case Em:case Sm:return e}const i=e._def.providersByKey[s];let o;if(i){let t=e._providers[i.index];return void 0===t&&(t=e._providers[i.index]=Mm(e,i)),t===Cm?void 0:t}if((o=B(t.token))&&function(e,t){const n=h(t.providedIn);return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,o)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:o.factory,deps:[],index:n,token:t.token},e._providers[n]=Cm,e._providers[n]=Mm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Wr(r)}}function Mm(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(km(e,n[0]));case 2:return new t(km(e,n[0]),km(e,n[1]));case 3:return new t(km(e,n[0]),km(e,n[1]),km(e,n[2]));default:const s=[];for(let t=0;t<r;t++)s[t]=km(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(km(e,n[0]));case 2:return t(km(e,n[0]),km(e,n[1]));case 3:return t(km(e,n[0]),km(e,n[1]),km(e,n[2]));default:const s=[];for(let t=0;t<r;t++)s[t]=km(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=km(e,t.deps[0]);break;case 256:n=t.value}return n===Cm||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Cm:n}function Am(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Mr(n,t),Vg.dirtyParentQueries(r),Om(r),r}function Im(e,t,n){const r=t?tm(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);cm(n,2,s,i,void 0)}function Om(e){cm(e,3,null,null,void 0)}const Nm={};function Pm(e,t,n,r,s,i){return new Rm(e,t,n,r,s,i)}function Fm(e){return e.viewDefFactory}class Rm extends yp{constructor(e,t,n,r,s,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t){const r=t[n];e.push({propName:n,templateName:r})}return e}get outputs(){const e=[];for(let t in this._outputs){const n=this._outputs[t];e.push({propName:t,templateName:n})}return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=lm(this.viewDefFactory),i=s.nodes[0].element.componentProvider.nodeIndex,o=Vg.createRootView(e,t||[],n,s,r,Nm),a=Pg(o,i).instance;return n&&o.renderer.setAttribute(Ng(o,0).renderElement,"ng-version",Vp.full),new jm(o,new $m(o),a)}}class jm extends mp{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Mp(Ng(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new qm(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Vm(e,t,n){return new Lm(e,t,n)}class Lm{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Mp(this._data.renderElement)}get injector(){return new qm(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=em(e),e=e.parent;return e?new qm(e,t):new qm(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Am(this._data,e);Vg.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new $m(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;s||e instanceof Dp||(s=i.get(mg));const o=e.create(i,r,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e,r=n._view;return function(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,kr(s,n,r),function(e,t){const n=Xg(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Vg.dirtyParentQueries(r),Im(t,n>0?s[n-1]:null,r)}(this._view,this._data,t,r),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,s=r[t];Mr(r,t),null==n&&(n=r.length),kr(r,n,s),Vg.dirtyParentQueries(s),Om(s),Im(e,n>0?r[n-1]:null,s)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Am(this._data,e);t&&Vg.destroyView(t)}detach(e){const t=Am(this._data,e);return t?new $m(t):null}}function Bm(e){return new $m(e)}class $m{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return cm(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}set context(e){this._view.context=e}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Qg(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Vg.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Vg.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Vg.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Om(this._view),Vg.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Um(e,t){return new Hm(e,t)}class Hm extends hg{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new $m(Vg.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Mp(Ng(this._parentView,this._def.nodeIndex).renderElement)}}function zm(e,t){return new qm(e,t)}class qm{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Xu.THROW_IF_NOT_FOUND){const n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Vg.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:$g(e)},t)}}function Wm(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=Ng(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return Og(e,n.nodeIndex).renderText;if(20240&n.flags)return Pg(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Zm(e,t,n,r){return new Gm(e,t,n,r)}class Gm{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=Ar(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=Mm(e,s))}}(this)}get(e,t=Xu.THROW_IF_NOT_FOUND,n=Z.Default){let r=0;return n&Z.SkipSelf?r|=1:n&Z.Self&&(r|=4),km(this,{token:e,tokenKey:$g(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(wp)}destroy(){if(this._destroyed)throw new Error(`The ng module ${a(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let t=0;t<n.providers.length;t++)if(131072&n.providers[t].flags){const n=e._providers[t];if(n&&n!==Cm){const e=n.ngOnDestroy;"function"!=typeof e||r.has(n)||(e.apply(n),r.add(n))}}}(this),this._destroyListeners.forEach((e=>e()))}onDestroy(e){this._destroyListeners.push(e)}}const Km=$g(Op),Qm=$g(Mp),Ym=$g(bg),Jm=$g(hg),Xm=$g(sg),ey=$g(Xu),ty=$g(Ru);function ny(e,t,n,r,s,i,o,a){const u=[];if(o)for(let e in o){const[t,n]=o[e];u[t]={flags:8,name:e,nonMinifiedName:n,ns:null,securityContext:null,suffix:null}}const l=[];if(a)for(let e in a)l.push({type:1,propName:e,target:null,eventName:a[e]});return iy(e,t|=16384,n,r,s,s,i,u,l)}function ry(e,t,n){return iy(-1,e|=16,null,0,t,t,n)}function sy(e,t,n,r,s){return iy(-1,e,t,0,n,r,s)}function iy(e,t,n,r,s,i,o,u,l){const{matchedQueries:c,references:d,matchedQueryIds:f}=im(n);l||(l=[]),u||(u=[]),i=h(i);const p=om(o,a(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:f,references:d,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:ym(u),outputs:l,element:null,provider:{token:s,value:i,deps:p},text:null,query:null,ngContent:null}}function oy(e,t){return cy(e,t)}function ay(e,t){let n=e;for(;n.parent&&!nm(n);)n=n.parent;return hy(n.parent,em(n),!0,t.provider.value,t.provider.deps)}function uy(e,t){const n=(32768&t.flags)>0,r=hy(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(let n=0;n<t.outputs.length;n++){const s=t.outputs[n],i=r[s.propName];if(!Xc(i))throw new Error(`@Output ${s.propName} not initialized in '${r.constructor.name}'.`);{const r=i.subscribe(ly(e,t.parent.nodeIndex,s.eventName));e.disposables[t.outputIndex+n]=r.unsubscribe.bind(r)}}return r}function ly(e,t,n){return r=>Jg(e,t,n,r)}function cy(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return hy(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const i=s.length;switch(i){case 0:return r();case 1:return r(fy(e,t,n,s[0]));case 2:return r(fy(e,t,n,s[0]),fy(e,t,n,s[1]));case 3:return r(fy(e,t,n,s[0]),fy(e,t,n,s[1]),fy(e,t,n,s[2]));default:const o=[];for(let r=0;r<i;r++)o.push(fy(e,t,n,s[r]));return r(...o)}}(e,t.parent,n,r.value,r.deps);case 2048:return fy(e,t.parent,n,r.deps[0]);case 256:return r.value}}function hy(e,t,n,r,s){const i=s.length;switch(i){case 0:return new r;case 1:return new r(fy(e,t,n,s[0]));case 2:return new r(fy(e,t,n,s[0]),fy(e,t,n,s[1]));case 3:return new r(fy(e,t,n,s[0]),fy(e,t,n,s[1]),fy(e,t,n,s[2]));default:const o=[];for(let r=0;r<i;r++)o.push(fy(e,t,n,s[r]));return new r(...o)}}const dy={};function fy(e,t,n,r,s=Xu.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const i=e;2&r.flags&&(s=null);const o=r.tokenKey;o===Xm&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(o){case Km:return py(a,t,n).renderer;case Qm:return new Mp(Ng(a,t.nodeIndex).renderElement);case Ym:return Ng(a,t.nodeIndex).viewContainer;case Jm:if(t.element.template)return Ng(a,t.nodeIndex).template;break;case Xm:return Bm(py(a,t,n));case ey:case ty:return zm(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[o];if(e){let t=Pg(a,e.nodeIndex);return t||(t={instance:cy(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=nm(a),t=em(a),a=a.parent,4&r.flags&&(a=null)}const u=i.root.injector.get(r.token,dy);return u!==dy||s===dy?u:i.root.ngModule.injector.get(r.token,s)}function py(e,t,n){let r;if(n)r=Ng(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!nm(r);)r=r.parent;return r}function gy(e,t,n,r,s,i){if(32768&n.flags){const t=Ng(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}const o=n.bindings[r].name;if(t.instance[o]=s,524288&n.flags){i=i||{};const t=Nl.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new st(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,i}function my(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const i=n[s];let o=i.parent;for(!o&&i.flags&t&&vy(e,s,i.flags&t,r++),0==(i.childFlags&t)&&(s+=i.childCount);o&&1&o.flags&&s===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(r=yy(e,o,t,r)),o=o.parent}}function yy(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&vy(e,s,t.flags&n,r++),s+=t.childCount}return r}function vy(e,t,n,r){const s=Pg(e,t);if(!s)return;const i=s.instance;i&&(Vg.setCurrentNode(e,t),1048576&n&&Ig(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Ig(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}class _y extends wp{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){ngDevMode&&We(e);const t=Me(e);return new Cy(t,this.ngModule)}}function by(e){const t=[];for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t.push({propName:r,templateName:n})}return t}const wy=new gr("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Hi});class Cy extends yp{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Zo).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return by(this.componentDef.inputs)}get outputs(){return by(this.componentDef.outputs)}create(e,t,n,r){const s=(r=r||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const i=e.get(n,dy,s);return i!==dy||r===dy?i:t.get(n,r,s)}}}(e,r.injector):e,i=s.get(Ip,_t),o=s.get(Rp,null),a=i.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",l=n?Ka(a,n,this.componentDef.encapsulation):lo(i.createRenderer(null,this.componentDef),u,function(e){const t=e.toLowerCase();return"svg"===t?ft:"math"===t?pt:null}(u)),c=this.componentDef.onPush?576:528,h=vl(),d=Ga(0,null,null,1,0,null,null,null,null,null),f=Ra(null,d,h,c,null,null,i,a,o,s);let p,g;on(f);try{const e=ml(l,this.componentDef,f,i,a);if(l)if(n)Mn(a,l,["ng-version",Vp.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!Uo(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Mn(a,l,e),t&&t.length>0&&Fo(a,l,t.join(" "))}if(g=Dt(d,Ne),void 0!==t){const e=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}p=yl(e,this.componentDef,f,h,[_l]),Ba(d,f,null)}finally{hn()}return new Dy(this.componentType,p,xp(g,f),f,g)}}class Dy extends mp{constructor(e,t,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new tg(r),this.componentType=e}get injector(){return new nr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}function Ey(e,t,n,r){return J((()=>{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==n&&(s.ctorParameters=n),null!==r&&(s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?s.propDecorators=Object.assign(Object.assign({},s.propDecorators),r):s.propDecorators=r)}))}const Sy=new Map;function xy(e,t){const n=Sy.get(e);Ty(e,n&&n.moduleType,t.moduleType),Sy.set(e,t)}function Ty(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${a(t)} vs ${a(t.name)}`)}function ky(e){const t=new Set;!function e(n){const r=Oe(n,!0),s=r.id;if(null!==s){Ty(s,Sy.get(s),n),Sy.set(s,n)}const i=Gi(r.imports);for(const n of i)t.has(n)||(t.add(n),e(n))}(e)}function My(e){return Sy.get(e)||De[e]}class Ay extends mg{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new _y(this);const n=Oe(e);ngDevMode&&O(n,`NgModule '${a(e)}' is not a subtype of 'NgModuleType'.`);const r=e[ge]||null;r&&Yd(r),this._bootstrapComponents=Gi(n.bootstrap),this._r3Injector=zu(e,t,[{provide:mg,useValue:this},{provide:wp,useValue:this.componentFactoryResolver}],a(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Xu.THROW_IF_NOT_FOUND,n=Z.Default){return e===Xu||e===mg||e===Ru?this:this._r3Injector.get(e,t,n)}destroy(){ngDevMode&&O(this.destroyCbs,"NgModule already destroyed");const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((e=>e())),this.destroyCbs=null}onDestroy(e){ngDevMode&&O(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)}}class Iy extends yg{constructor(e){super(),this.moduleType=e,null!==Oe(e)&&ky(e)}create(e){return new Ay(this.moduleType,e)}}function Oy(e,t,n){const r=Wt()+e,s=Ft();return s[r]===Go?Rl(s,r,n?t.call(n):t()):jl(s,r)}function Ny(e,t,n,r){return Hy(Ft(),Wt(),e,t,n,r)}function Py(e,t,n,r,s){return zy(Ft(),Wt(),e,t,n,r,s)}function Fy(e,t,n,r,s,i){return qy(Ft(),Wt(),e,t,n,r,s,i)}function Ry(e,t,n,r,s,i,o){return Wy(Ft(),Wt(),e,t,n,r,s,i,o)}function jy(e,t,n,r,s,i,o,a){const u=Wt()+e,l=Ft(),c=$l(l,u,n,r,s,i);return Vl(l,u+4,o)||c?Rl(l,u+5,a?t.call(a,n,r,s,i,o):t(n,r,s,i,o)):jl(l,u+5)}function Vy(e,t,n,r,s,i,o,a,u){const l=Wt()+e,c=Ft(),h=$l(c,l,n,r,s,i);return Ll(c,l+4,o,a)||h?Rl(c,l+6,u?t.call(u,n,r,s,i,o,a):t(n,r,s,i,o,a)):jl(c,l+6)}function Ly(e,t,n,r,s,i,o,a,u,l){const c=Wt()+e,h=Ft();let d=$l(h,c,n,r,s,i);return Bl(h,c+4,o,a,u)||d?Rl(h,c+7,l?t.call(l,n,r,s,i,o,a,u):t(n,r,s,i,o,a,u)):jl(h,c+7)}function By(e,t,n,r,s,i,o,a,u,l,c){const h=Wt()+e,d=Ft(),f=$l(d,h,n,r,s,i);return $l(d,h+4,o,a,u,l)||f?Rl(d,h+8,c?t.call(c,n,r,s,i,o,a,u,l):t(n,r,s,i,o,a,u,l)):jl(d,h+8)}function $y(e,t,n,r){return Zy(Ft(),Wt(),e,t,n,r)}function Uy(e,t){ngDevMode&&F(e,t);const n=e[t];return n===Go?void 0:n}function Hy(e,t,n,r,s,i){const o=t+n;return Vl(e,o,s)?Rl(e,o+1,i?r.call(i,s):r(s)):Uy(e,o+1)}function zy(e,t,n,r,s,i,o){const a=t+n;return Ll(e,a,s,i)?Rl(e,a+2,o?r.call(o,s,i):r(s,i)):Uy(e,a+2)}function qy(e,t,n,r,s,i,o,a){const u=t+n;return Bl(e,u,s,i,o)?Rl(e,u+3,a?r.call(a,s,i,o):r(s,i,o)):Uy(e,u+3)}function Wy(e,t,n,r,s,i,o,a,u){const l=t+n;return $l(e,l,s,i,o,a)?Rl(e,l+4,u?r.call(u,s,i,o,a):r(s,i,o,a)):Uy(e,l+4)}function Zy(e,t,n,r,s,i){let o=t+n,a=!1;for(let t=0;t<s.length;t++)Vl(e,o++,s[t])&&(a=!0);return a?Rl(e,o,r.apply(i,s)):Uy(e,o)}function Gy(e,t){const n=Rt();let r;const s=e+Ne;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new f("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=rt(r.type,!0)),o=Q(Bc);try{const e=Vn(!1),t=i();return Vn(e),uc(n,Ft(),s,t),t}finally{Q(o)}}function Ky(e,t,n){const r=e+Ne,s=Ft(),i=Et(s,r);return tv(s,ev(s,r)?Hy(s,Wt(),t,i.transform,n,i):i.transform(n))}function Qy(e,t,n,r){const s=e+Ne,i=Ft(),o=Et(i,s);return tv(i,ev(i,s)?zy(i,Wt(),t,o.transform,n,r,o):o.transform(n,r))}function Yy(e,t,n,r,s){const i=e+Ne,o=Ft(),a=Et(o,i);return tv(o,ev(o,i)?qy(o,Wt(),t,a.transform,n,r,s,a):a.transform(n,r,s))}function Jy(e,t,n,r,s,i){const o=e+Ne,a=Ft(),u=Et(a,o);return tv(a,ev(a,o)?Wy(a,Wt(),t,u.transform,n,r,s,i,u):u.transform(n,r,s,i))}function Xy(e,t,n){const r=e+Ne,s=Ft(),i=Et(s,r);return tv(s,ev(s,r)?Zy(s,Wt(),t,i.transform,n,i):i.transform.apply(i,n))}function ev(e,t){return e[1].data[t].pure}function tv(e,t){return Nl.isWrapped(t)&&(t=Nl.unwrap(t),e[Zt()]=Go),t}class nv extends r.Subject{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var s,i,o;let a=e,u=t||(()=>null),l=n;if(e&&"object"==typeof e){const t=e;a=null===(s=t.next)||void 0===s?void 0:s.bind(t),u=null===(i=t.error)||void 0===i?void 0:i.bind(t),l=null===(o=t.complete)||void 0===o?void 0:o.bind(t)}this.__isAsync&&(u=rv(u),a&&(a=rv(a)),l&&(l=rv(l)));const c=super.subscribe({next:a,error:u,complete:l});return e instanceof r.Subscription&&e.add(c),c}}function rv(e){return t=>{setTimeout(e,void 0,t)}}const sv=nv;function iv(){return this._results[Il()]()}class ov{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Il(),n=ov.prototype;n[t]||(n[t]=iv)}get changes(){return this._changes||(this._changes=new sv)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const n=this;n.dirty=!1;const r=xr(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(n._results,r,t))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol.iterator;class av{constructor(e){this.queryList=e,this.matches=null}clone(){return new av(this.queryList)}setDirty(){this.queryList.setDirty()}}class uv{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),s=this.queries[n.indexInDeclarationView];r.push(s.clone())}return new uv(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Cv(e,t).matches&&this.queries[t].setDirty()}}class lv{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class cv{constructor(e=[]){this.queries=e}elementStart(e,t){ngDevMode&&Ye(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,s=this.getByIndex(n).embeddedTView(e,r);s&&(s.indexInDeclarationView=n,null!==t?t.push(s):t=[s])}return null!==t?new cv(t):null}template(e,t){ngDevMode&&Ye(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return ngDevMode&&F(this.queries,e),this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class hv{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new hv(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const s=n[r];this.matchTNodeWithReadOption(e,t,dv(t,s)),this.matchTNodeWithReadOption(e,t,Jn(t,e,s,!1,!1))}else n===hg?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Jn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Mp||r===bg||r===hg&&4&t.type)this.addMatch(t.index,-2);else{const n=Jn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function dv(e,t){const n=e.localNames;if(null!==n)for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1];return null}function fv(e,t,n,r){return-1===n?function(e,t){return 11&e.type?xp(e,t):4&e.type?gg(e,t):null}(t,e):-2===n?function(e,t,n){return n===Mp?xp(t,e):n===hg?gg(t,e):n===bg?(ngDevMode&&kn(t,15),xg(t,e)):void(ngDevMode&&N(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${a(n)}.`))}(e,t,r):Xn(e,e[1],n,t)}function pv(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const r=e.data,i=n.matches,o=[];for(let e=0;e<i.length;e+=2){const s=i[e];if(s<0)o.push(null);else{ngDevMode&&F(r,s);const a=r[s];o.push(fv(t,a,i[e+1],n.metadata.read))}}s.matches=o}return s.matches}function gv(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=pv(e,t,s,n);for(let e=0;e<i.length;e+=2){const n=i[e];if(n>0)r.push(o[e/2]);else{const s=i[e+1],o=t[-n];ngDevMode&&Ge(o);for(let e=Fe;e<o.length;e++){const t=o[e];t[17]===t[3]&&gv(t[1],t,s,r)}if(null!==o[9]){const e=o[9];for(let t=0;t<e.length;t++){const n=e[t];gv(n[1],n,s,r)}}}}}return r}function mv(e){const t=Ft(),n=Rt(),r=tn();nn(r+1);const s=Cv(n,r);if(e.dirty&&xt(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?gv(n,t,r,[]):pv(n,t,s,r);e.reset(i,Ap),e.notifyOnChanges()}return!0}return!1}function yv(e,t,n){ngDevMode&&w(t,"Expecting flags");const r=Rt();r.firstCreatePass&&(wv(r,new lv(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),bv(r,Ft(),t)}function vv(e,t,n,r){ngDevMode&&w(n,"Expecting flags");const s=Rt();if(s.firstCreatePass){const i=Vt();wv(s,new lv(t,n,r),i.index),function(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)}bv(s,Ft(),n)}function _v(){return e=Ft(),t=tn(),ngDevMode&&O(e[19],"LQueries should be defined when trying to load a query"),ngDevMode&&F(e[19].queries,t),e[19].queries[t].queryList;var e,t}function bv(e,t,n){const r=new ov(4==(4&n));Qa(e,t,r,r.destroy),null===t[19]&&(t[19]=new uv),t[19].queries.push(new av(r))}function wv(e,t,n){null===e.queries&&(e.queries=new cv),e.queries.track(new hv(t,n))}function Cv(e,t){return ngDevMode&&O(e.queries,"TQueries must be defined to retrieve a TQuery"),e.queries.getByIndex(t)}function Dv(e,t){return gg(e,t)}const Ev=(()=>({ɵɵattribute:Ul,ɵɵattributeInterpolate1:Jl,ɵɵattributeInterpolate2:Xl,ɵɵattributeInterpolate3:ec,ɵɵattributeInterpolate4:tc,ɵɵattributeInterpolate5:nc,ɵɵattributeInterpolate6:rc,ɵɵattributeInterpolate7:sc,ɵɵattributeInterpolate8:ic,ɵɵattributeInterpolateV:oc,ɵɵdefineComponent:_e,ɵɵdefineDirective:Te,ɵɵdefineInjectable:j,ɵɵdefineInjector:L,ɵɵdefineNgModule:Ee,ɵɵdefinePipe:ke,ɵɵdirectiveInject:Bc,ɵɵgetInheritedFactory:rr,ɵɵinject:Gr,ɵɵinjectAttribute:ir,ɵɵinvalidFactory:$c,ɵɵinvalidFactoryDep:Kr,ɵɵtemplateRefExtractor:Dv,ɵɵNgOnChangesFeature:it,ɵɵProvidersFeature:gp,ɵɵCopyDefinitionFeature:Ml,ɵɵInheritDefinitionFeature:Cl,ɵɵnextContext:ih,ɵɵnamespaceHTML:vn,ɵɵnamespaceMathML:yn,ɵɵnamespaceSVG:mn,ɵɵenableBindings:Nt,ɵɵdisableBindings:Pt,ɵɵelementStart:zc,ɵɵelementEnd:qc,ɵɵelement:Wc,ɵɵelementContainerStart:Zc,ɵɵelementContainerEnd:Gc,ɵɵelementContainer:Kc,ɵɵpureFunction0:Oy,ɵɵpureFunction1:Ny,ɵɵpureFunction2:Py,ɵɵpureFunction3:Fy,ɵɵpureFunction4:Ry,ɵɵpureFunction5:jy,ɵɵpureFunction6:Vy,ɵɵpureFunction7:Ly,ɵɵpureFunction8:By,ɵɵpureFunctionV:$y,ɵɵgetCurrentView:Qc,ɵɵrestoreView:jt,ɵɵlistener:eh,ɵɵprojection:uh,ɵɵsyntheticHostProperty:Nd,ɵɵsyntheticHostListener:th,ɵɵpipeBind1:Ky,ɵɵpipeBind2:Qy,ɵɵpipeBind3:Yy,ɵɵpipeBind4:Jy,ɵɵpipeBindV:Xy,ɵɵprojectionDef:ah,ɵɵhostProperty:Od,ɵɵproperty:Uc,ɵɵpropertyInterpolate:lh,ɵɵpropertyInterpolate1:ch,ɵɵpropertyInterpolate2:hh,ɵɵpropertyInterpolate3:dh,ɵɵpropertyInterpolate4:fh,ɵɵpropertyInterpolate5:ph,ɵɵpropertyInterpolate6:gh,ɵɵpropertyInterpolate7:mh,ɵɵpropertyInterpolate8:yh,ɵɵpropertyInterpolateV:vh,ɵɵpipe:Gy,ɵɵqueryRefresh:mv,ɵɵviewQuery:yv,ɵɵloadQuery:_v,ɵɵcontentQuery:vv,ɵɵreference:lc,ɵɵclassMap:Fh,ɵɵclassMapInterpolate1:id,ɵɵclassMapInterpolate2:od,ɵɵclassMapInterpolate3:ad,ɵɵclassMapInterpolate4:ud,ɵɵclassMapInterpolate5:ld,ɵɵclassMapInterpolate6:cd,ɵɵclassMapInterpolate7:hd,ɵɵclassMapInterpolate8:dd,ɵɵclassMapInterpolateV:fd,ɵɵstyleMap:Nh,ɵɵstyleMapInterpolate1:pd,ɵɵstyleMapInterpolate2:gd,ɵɵstyleMapInterpolate3:md,ɵɵstyleMapInterpolate4:yd,ɵɵstyleMapInterpolate5:vd,ɵɵstyleMapInterpolate6:_d,ɵɵstyleMapInterpolate7:bd,ɵɵstyleMapInterpolate8:wd,ɵɵstyleMapInterpolateV:Cd,ɵɵstyleProp:Ih,ɵɵstylePropInterpolate1:Dd,ɵɵstylePropInterpolate2:Ed,ɵɵstylePropInterpolate3:Sd,ɵɵstylePropInterpolate4:xd,ɵɵstylePropInterpolate5:Td,ɵɵstylePropInterpolate6:kd,ɵɵstylePropInterpolate7:Md,ɵɵstylePropInterpolate8:Ad,ɵɵstylePropInterpolateV:Id,ɵɵclassProp:Oh,ɵɵadvance:Ko,ɵɵtemplate:ac,ɵɵtext:Gh,ɵɵtextInterpolate:Kh,ɵɵtextInterpolate1:Qh,ɵɵtextInterpolate2:Yh,ɵɵtextInterpolate3:Jh,ɵɵtextInterpolate4:Xh,ɵɵtextInterpolate5:ed,ɵɵtextInterpolate6:td,ɵɵtextInterpolate7:nd,ɵɵtextInterpolate8:rd,ɵɵtextInterpolateV:sd,ɵɵi18n:rp,ɵɵi18nAttributes:sp,ɵɵi18nExp:ip,ɵɵi18nStart:tp,ɵɵi18nEnd:np,ɵɵi18nApply:op,ɵɵi18nPostprocess:ap,ɵɵresolveWindow:zi,ɵɵresolveDocument:qi,ɵɵresolveBody:Wi,ɵɵsetComponentScope:be,ɵɵsetNgModuleScope:Se,ɵɵsanitizeHtml:ci,ɵɵsanitizeStyle:hi,ɵɵsanitizeResourceUrl:fi,ɵɵsanitizeScript:pi,ɵɵsanitizeUrl:di,ɵɵsanitizeUrlOrResourceUrl:vi,ɵɵtrustConstantHtml:gi,ɵɵtrustConstantResourceUrl:mi,forwardRef:c,resolveForwardRef:h}))();let Sv=null;function xv(){Sv=null}const Tv=[];let kv=!1;function Mv(){if(!kv){kv=!0;try{for(let e=Tv.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Tv[e];n.declarations&&n.declarations.every(Av)&&(Tv.splice(e,1),Bv(t,n))}}finally{kv=!1}}}function Av(e){return Array.isArray(e)?e.every(Av):!!h(e)}function Iv(e,t={}){Ov(e,t),function(e,t){Tv.push({moduleType:e,ngModule:t})}(e,t)}function Ov(e,t,n=!1){ngDevMode&&O(e,"Required value moduleType"),ngDevMode&&O(t,"Required value ngModule");const r=xr(t.declarations||ce);let s=null;Object.defineProperty(e,pe,{configurable:!0,get:()=>{if(null===s){if(ngDevMode&&t.imports&&t.imports.indexOf(e)>-1)throw new Error(`'${y(e)}' module can't import itself`);const n=Dr({usage:0,kind:"NgModule",type:e});s=n.compileNgModule(Ev,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:xr(t.bootstrap||ce).map(h),declarations:r.map(h),imports:xr(t.imports||ce).map(h).map(Hv),exports:xr(t.exports||ce).map(h).map(Hv),schemas:t.schemas?xr(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])}return s}});let i=null;Object.defineProperty(e,me,{get:()=>{if(null===i){const t=Dr({usage:0,kind:"NgModule",type:e});i=t.compileFactory(Ev,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:us(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!!ngDevMode});let o=null;Object.defineProperty(e,z,{get:()=>{if(null===o){ngDevMode&&Nv(e,n);const r={name:e.name,type:e,providers:t.providers||ce,imports:[(t.imports||ce).map(h),(t.exports||ce).map(h)]},s=Dr({usage:0,kind:"NgModule",type:e});o=s.compileInjector(Ev,`ng:///${e.name}/ɵinj.js`,r)}return o},configurable:!!ngDevMode})}function Nv(e,t,n){if(jv.get(e))return;let r;if(jv.set(e,!0),e=h(e),n){if(r=Oe(e),!r)throw new Error(`Unexpected value '${e.name}' imported by the module '${n.name}'. Please add an @NgModule annotation.`)}else r=Oe(e,!0);const s=[],i=Gi(r.declarations),o=Gi(r.imports);xr(o).map(Pv).forEach((t=>{d(t,e),Nv(t,!1,e)}));const a=Gi(r.exports);i.forEach((function(t){Me(t=h(t))||Ae(t)||Ie(t)||s.push(`Unexpected value '${y(t)}' declared by the module '${y(e)}'. Please add a @Pipe/@Directive/@Component annotation.`)})),i.forEach((function(e){const t=Ae(e=h(e));!Me(e)&&t&&0==t.selectors.length&&s.push(`Directive ${y(e)} has no selector, please add it!`)}));const u=[...i.map(h),...xr(o.map(Lv)).map(h)];a.forEach((function(t){const n=(Me(t=h(t))?"component":Ae(t)&&"directive")||Ie(t)&&"pipe";n&&-1===u.lastIndexOf(t)&&s.push(`Can't export ${n} ${y(t)} from ${y(e)} as it was neither declared nor imported!`)})),i.forEach((n=>function(t,n){t=h(t);const r=Rv.get(t);if(r&&r!==e){if(!n){const n=[r,e].map(y).sort();s.push(`Type ${y(t)} is part of the declarations of 2 modules: ${n[0]} and ${n[1]}! Please consider moving ${y(t)} to a higher module that imports ${n[0]} and ${n[1]}. You can also create a new NgModule that exports and includes ${y(t)} then import that NgModule in ${n[0]} and ${n[1]}.`)}}else Rv.set(t,e)}(n,t))),i.forEach((function(e){if(Me(e=h(e))){const t=Fv(e,"Component");t&&t.entryComponents&&Tr(t.entryComponents,c)}}));const l=Fv(e,"NgModule");if(l&&(l.imports&&xr(l.imports).map(Pv).forEach((t=>{d(t,e),Nv(t,!1,e)})),l.bootstrap&&Tr(l.bootstrap,(function(e){Me(e=h(e))||s.push(`${y(e)} cannot be used as an entry component.`)})),l.bootstrap&&Tr(l.bootstrap,c),l.entryComponents&&Tr(l.entryComponents,c)),s.length)throw new Error(s.join("\n"));function c(e){e=h(e),Rv.get(e)||s.push(`Component ${y(e)} is not part of any NgModule or the module has not been imported into your module.`)}function d(e,t){if(Me(e=h(e))||Ae(e))throw new Error(`Unexpected directive '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`);if(Ie(e))throw new Error(`Unexpected pipe '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`)}}function Pv(e){return(e=h(e)).ngModule||e}function Fv(e,t){let n=null;return r(e.__annotations__),r(e.decorators),n;function r(e){e&&e.forEach(s)}function s(e){n||(Object.getPrototypeOf(e).ngMetadataName==t?n=e:e.type&&Object.getPrototypeOf(e.type).ngMetadataName==t&&(n=e.args[0]))}}let Rv=new WeakMap,jv=new WeakMap;function Vv(){Rv=new WeakMap,jv=new WeakMap,Tv.length=0}function Lv(e){return[...xr(Gi(Oe(e=h(e),!0).exports).map((e=>Oe(e)?(Nv(e,!1),Lv(e)):e)))]}function Bv(e,t){const n=xr(t.declarations||ce),r=Uv(e);n.forEach((t=>{t.hasOwnProperty(he)?$v(Me(t),r):t.hasOwnProperty(de)||t.hasOwnProperty(fe)||(t.ngSelectorScope=e)}))}function $v(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map((e=>e.hasOwnProperty(he)?Me(e):Ae(e))).filter((e=>!!e)),e.pipeDefs=()=>Array.from(t.compilation.pipes).map((e=>Ie(e))),e.schemas=t.schemas,e.tView=null}function Uv(e){if(!zv(e))throw new Error(`${e.name} does not have a module def (ɵmod property)`);const t=Oe(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Gi(t.imports).forEach((e=>{const t=e;if(!zv(t))throw new Error(`Importing ${t.name} which does not have a ɵmod property`);const r=Uv(t);r.exported.directives.forEach((e=>n.compilation.directives.add(e))),r.exported.pipes.forEach((e=>n.compilation.pipes.add(e)))})),Gi(t.declarations).forEach((e=>{Ie(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)})),Gi(t.exports).forEach((e=>{const t=e;if(zv(t)){const e=Uv(t);e.exported.directives.forEach((e=>{n.compilation.directives.add(e),n.exported.directives.add(e)})),e.exported.pipes.forEach((e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)}))}else Ie(t)?n.exported.pipes.add(t):n.exported.directives.add(t)})),t.transitiveCompileScopes=n,n}function Hv(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function zv(e){return!!Oe(e)}let qv=0;function Wv(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&ue();let n=null;!function(e,t){fs(t)&&(hs.set(e,t),ds.add(e))}(e,t),Kv(e,t),Object.defineProperty(e,he,{get:()=>{if(null===n){const r=Dr({usage:0,kind:"component",type:e});if(fs(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const s=Sv;let i=t.preserveWhitespaces;void 0===i&&(i=null!==s&&void 0!==s.preserveWhitespaces&&s.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==s&&void 0!==s.defaultEncapsulation?s.defaultEncapsulation:ne.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,u=Object.assign(Object.assign({},Yv(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:i,styles:t.styles||ce,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});qv++;try{u.usesInheritance&&Jv(e),n=r.compileComponent(Ev,a,u)}finally{qv--}if(0===qv&&Mv(),void 0!==e.ngSelectorScope){const t=Uv(e.ngSelectorScope);$v(n,t)}}return n},configurable:!!ngDevMode})}function Zv(e,t){let n=null;Kv(e,t||{}),Object.defineProperty(e,de,{get:()=>{if(null===n){const r=Gv(e,t||{}),s=Dr({usage:0,kind:"directive",type:e});n=s.compileDirective(Ev,r.sourceMapUrl,r.metadata)}return n},configurable:!!ngDevMode})}function Gv(e,t){const n=e&&e.name,r=`ng:///${n}/ɵdir.js`,s=Dr({usage:0,kind:"directive",type:e}),i=Yv(e,t);return i.typeSourceSpan=s.createParseSourceSpan("Directive",n,r),i.usesInheritance&&Jv(e),{metadata:i,sourceMapUrl:r}}function Kv(e,t){let n=null;Object.defineProperty(e,me,{get:()=>{if(null===n){const r=Gv(e,t),s=Dr({usage:0,kind:"directive",type:e});n=s.compileFactory(Ev,`ng:///${e.name}/ɵfac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:us(e),target:s.FactoryTarget.Directive})}return n},configurable:!!ngDevMode})}function Qv(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Yv(e,t){const n=as(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||le,propMetadata:r,inputs:t.inputs||ce,outputs:t.outputs||ce,queries:e_(e,r,t_),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Qv(e),exportAs:(s=t.exportAs,void 0===s?null:s_(s)),providers:t.providers||null,viewQueries:e_(e,r,n_)};var s}function Jv(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)Ae(n)||Me(n)||!o_(n)||Zv(n,null),n=Object.getPrototypeOf(n)}function Xv(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?s_(n):h(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}function e_(e,t,n){const r=[];for(const s in t)if(t.hasOwnProperty(s)){const i=t[s];i.forEach((t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${s}" of "${y(e)}" since the query selector wasn't defined.`);if(i.some(r_))throw new Error("Cannot combine @Input decorators with query decorators");r.push(Xv(s,t))}}))}return r}function t_(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function n_(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function r_(e){return"Input"===e.ngMetadataName}function s_(e){return e.split(",").map((e=>e.trim()))}const i_=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function o_(e){const t=as();if(i_.some((n=>t.hasLifecycleHook(e,n))))return!0;const n=t.propMetadata(e);for(const e in n){const t=n[e];for(let e=0;e<t.length;e++){const n=t[e],r=n.ngMetadataName;if(r_(n)||t_(n)||n_(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}function a_(e,t){let n=null,r=null;Object.defineProperty(e,me,{get:()=>{if(null===r){const n=u_(e,t),s=Dr({usage:0,kind:"pipe",type:n.type});r=s.compileFactory(Ev,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:us(e),target:s.FactoryTarget.Pipe})}return r},configurable:!!ngDevMode}),Object.defineProperty(e,fe,{get:()=>{if(null===n){const r=u_(e,t),s=Dr({usage:0,kind:"pipe",type:r.type});n=s.compilePipe(Ev,`ng:///${r.name}/ɵpipe.js`,r)}return n},configurable:!!ngDevMode})}function u_(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const l_=lr("Directive",((e={})=>e),void 0,void 0,((e,t)=>b_(e,t))),c_=lr("Component",((e={})=>Object.assign({changeDetection:X.Default},e)),l_,void 0,((e,t)=>__(e,t))),h_=lr("Pipe",(e=>Object.assign({pure:!0},e)),void 0,void 0,((e,t)=>w_(e,t))),d_=dr("Input",(e=>({bindingPropertyName:e}))),f_=dr("Output",(e=>({bindingPropertyName:e}))),p_=dr("HostBinding",(e=>({hostPropertyName:e}))),g_=dr("HostListener",((e,t)=>({eventName:e,args:t}))),m_=Wv,y_=Zv,v_=a_,__=m_,b_=y_,w_=v_,C_=lr("NgModule",(e=>e),void 0,void 0,((e,t)=>E_(e,t))),D_=Iv,E_=D_,S_=new gr("Application Initializer");let x_=(()=>{class e{constructor(e){this.appInits=e,this.resolve=Ep,this.reject=Ep,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let t=0;t<this.appInits.length;t++){const n=this.appInits[t]();if(Yc(n))e.push(n);else if(Xc(n)){const t=new Promise(((e,t)=>{n.subscribe({complete:e,error:t})}));e.push(t)}}Promise.all(e).then((()=>{t()})).catch((e=>{this.reject(e)})),0===e.length&&t(),this.initialized=!0}}return e.ɵfac=function(t){return new(t||e)(Gr(S_,8))},e.ɵprov=j({token:e,factory:e.ɵfac}),e})();const T_=new gr("AppId");function k_(){return`${A_()}${A_()}${A_()}`}const M_={provide:T_,useFactory:k_,deps:[]};function A_(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const I_=new gr("Platform Initializer"),O_=new gr("Platform ID"),N_=new gr("appBootstrapListener"),P_=new gr("Application Packages Root URL");let F_=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=j({token:e,factory:e.ɵfac}),e})();const R_=new gr("LocaleId"),j_=new gr("DefaultCurrencyCode"),V_=new gr("Translations"),L_=new gr("TranslationsFormat");var B_=(()=>((B_=B_||{})[B_.Error=0]="Error",B_[B_.Warning=1]="Warning",B_[B_.Ignore=2]="Ignore",B_))();const $_=!0,U_=$_;class H_{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const z_=function(e){return new Iy(e)},q_=z_,W_=function(e){return Promise.resolve(z_(e))},Z_=W_,G_=function(e){const t=z_(e),n=Gi(Oe(e).declarations).reduce(((e,t)=>{const n=Me(t);return n&&e.push(new Cy(n)),e}),[]);return new H_(t,n)},K_=G_,Q_=function(e){return Promise.resolve(G_(e))},Y_=Q_;let J_=(()=>{class e{constructor(){this.compileModuleSync=q_,this.compileModuleAsync=Z_,this.compileModuleAndAllComponentsSync=K_,this.compileModuleAndAllComponentsAsync=Y_}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=j({token:e,factory:e.ɵfac}),e})();const X_=new gr("compilerOptions");class eb{}const tb=(()=>Promise.resolve(0))();function nb(e){"undefined"==typeof Zone?tb.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class rb{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new sv(!1),this.onMicrotaskEmpty=new sv(!1),this.onStable=new sv(!1),this.onError=new sv(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&t,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=ae.requestAnimationFrame,t=ae.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ae,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,ob(e),e.isCheckStableRunning=!0,ib(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),ob(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return ab(e),n.invokeTask(s,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),ub(e)}},onInvoke:(n,r,s,i,o,a,u)=>{try{return ab(e),n.invoke(s,i,o,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),ub(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,ob(e),ib(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular((()=>e.onError.emit(s))),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!rb.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(rb.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,e,sb,Ep,Ep);try{return s.runTask(i,t,n)}finally{s.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const sb={};function ib(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 ob(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ab(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ub(e){e._nesting--,ib(e)}class lb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new sv,this.onMicrotaskEmpty=new sv,this.onStable=new sv,this.onError=new sv}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let cb=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run((()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{rb.assertNotInAngularZone(),nb((()=>{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())nb((()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1}));else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter((t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1))),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((e=>({source:e.source,creationLocation:e.creationLocation,data:e.data}))):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout((()=>{this._callbacks=this._callbacks.filter((e=>e.timeoutId!==r)),e(this._didWork,this.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!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(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.ɵfac=function(t){return new(t||e)(Gr(rb))},e.ɵprov=j({token:e,factory:e.ɵfac}),e})(),hb=(()=>{class e{constructor(){this._applications=new Map,gb.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return gb.findTestabilityInTree(this,e,t)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=j({token:e,factory:e.ɵfac}),e})();class db{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function fb(e){gb=e}let pb,gb=new db,mb=!0,yb=!1;function vb(){return yb=!0,mb}function _b(){if(yb)throw new Error("Cannot enable prod mode after platform setup.");(void 0===typeof ngDevMode||ngDevMode)&&(ae.ngDevMode=!1),mb=!1}let bb=wb;function wb(e,t,n){ngDevMode&&function(e,t="Type passed in is not NgModuleType, it does not have 'ɵmod' property."){Oe(e)||N(t)}(n);const r=new Iy(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);const s=e.get(X_,[]).concat(t);if(function(e){if(null!==Sv){if(e.defaultEncapsulation!==Sv.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==Sv.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}Sv=e}({defaultEncapsulation:Fb(s.map((e=>e.defaultEncapsulation))),preserveWhitespaces:Fb(s.map((e=>e.preserveWhitespaces)))}),0===hs.size)return Promise.resolve(r);const i=function(e){const t=[];return e.forEach((e=>e&&t.push(...e))),t}(s.map((e=>e.providers)));if(0===i.length)return Promise.resolve(r);const o=Dr({usage:0,kind:"NgModule",type:n}),a=Xu.create({providers:i}).get(o.ResourceLoader);return cs((e=>Promise.resolve(a.get(e)))).then((()=>r))}let Cb=Db;function Db(e){return e.isBoundToModule}const Eb=new gr("AllowMultipleToken");class Sb{constructor(e,t){this.name=e,this.token=t}}function xb(e){if(pb&&!pb.destroyed&&!pb.injector.get(Eb,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ngDevMode&&fl(),pb=e.get(Ib);const t=e.get(I_,null);return t&&t.forEach((e=>e())),pb}function Tb(e,t,n=[]){const r=`Platform: ${t}`,s=new gr(r);return(t=[])=>{let i=Ab();if(!i||i.injector.get(Eb,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:Vu,useValue:"platform"});xb(Xu.create({providers:e,name:r}))}return kb(s)}}function kb(e){const t=Ab();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Mb(){pb&&!pb.destroyed&&pb.destroy()}function Ab(){return pb&&!pb.destroyed?pb:null}let Ib=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new lb:("zone.js"===e?void 0:e)||new rb({enableLongStackTrace:vb(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),r=[{provide:rb,useValue:n}];return n.run((()=>{const t=Xu.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(Ni,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular((()=>{const e=n.onError.subscribe({next:e=>{i.handleError(e)}});s.onDestroy((()=>{Pb(this._modules,s),e.unsubscribe()}))})),function(e,t,n){try{const r=n();return Yc(r)?r.catch((n=>{throw t.runOutsideAngular((()=>e.handleError(n))),n})):r}catch(n){throw t.runOutsideAngular((()=>e.handleError(n))),n}}(i,n,(()=>{const e=s.injector.get(x_);return e.runInitializers(),e.donePromise.then((()=>(U_&&Yd(s.injector.get(R_,qd)||qd),this._moduleDoBootstrap(s),s)))}))}))}bootstrapModule(e,t=[]){const n=Ob({},t);return bb(this.injector,n,e).then((e=>this.bootstrapModuleFactory(e,n)))}_moduleDoBootstrap(e){const t=e.injector.get(Nb);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((e=>t.bootstrap(e)));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${a(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((e=>e.destroy())),this._destroyListeners.forEach((e=>e())),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(t){return new(t||e)(Gr(Xu))},e.ɵprov=j({token:e,factory:e.ɵfac}),e})();function Ob(e,t){return Array.isArray(t)?t.reduce(Ob,e):Object.assign(Object.assign({},e),t)}let Nb=(()=>{class e{constructor(e,t,n,i,o){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const a=new r.Observable((e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{e.next(this._stable),e.complete()}))})),u=new r.Observable((e=>{let t;this._zone.runOutsideAngular((()=>{t=this._zone.onStable.subscribe((()=>{rb.assertNotInAngularZone(),nb((()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))}))}))}));const n=this._zone.onUnstable.subscribe((()=>{rb.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{e.next(!1)})))}));return()=>{t.unsubscribe(),n.unsubscribe()}}));this.isStable=(0,r.merge)(a,u.pipe((0,s.share)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof yp?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Cb(n)?void 0:this._injector.get(mg),s=t||n.selector,i=n.create(Xu.NULL,[],s,r),o=i.location.nativeElement,a=i.injector.get(cb,null),u=a&&i.injector.get(hb);return a&&u&&u.registerApplication(o,a),i.onDestroy((()=>{this.detachView(i.hostView),Pb(this.components,i),u&&u.unregisterApplication(o)})),this._loadComponent(i),("undefined"==typeof ngDevMode||ngDevMode)&&vb()&&this._injector.get(F_).log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(("undefined"==typeof ngDevMode||ngDevMode)&&vb())for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular((()=>this._exceptionHandler.handleError(e)))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Pb(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(N_,[]).concat(this._bootstrapListeners).forEach((t=>t(e)))}ngOnDestroy(){this._views.slice().forEach((e=>e.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.ɵfac=function(t){return new(t||e)(Gr(rb),Gr(Xu),Gr(Ni),Gr(wp),Gr(x_))},e.ɵprov=j({token:e,factory:e.ɵfac}),e})();function Pb(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Fb(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}class Rb{}function jb(e){const t=My(e);if(!t)throw Bb(e);return t}function Vb(e){const t=My(e);if(!t)throw Bb(e);return new Iy(t)}const Lb=Vb;function Bb(e){return new Error(`No module with ID ${e} loaded`)}class $b{}const Ub={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Hb=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Ub}load(e){return!U_&&this._compiler instanceof J_?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n(98255)(t).then((e=>e[r])).then((e=>zb(e,t,r))).then((e=>this._compiler.compileModuleAsync(e)))}loadFactory(e){let[t,r]=e.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n(98255)(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then((e=>e[r+s])).then((e=>zb(e,t,r)))}}return e.ɵfac=function(t){return new(t||e)(Gr(J_),Gr($b,8))},e.ɵprov=j({token:e,factory:e.ɵfac}),e})();function zb(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class qb extends sg{}class Wb extends qb{}class Zb{constructor(e,t){this.name=e,this.callback=t}}class Gb{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Kb&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Kb extends Gb{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach((t=>{t.parent&&t.parent.removeChild(t),e.parent=this})))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return Yb(this,e,t),t}queryAllNodes(e){const t=[];return Jb(this,e,t),t}get children(){return this.childNodes.filter((e=>e instanceof Kb))}triggerEventHandler(e,t){this.listeners.forEach((n=>{n.name==e&&n.callback(t)}))}}function Qb(e){return e.map((e=>e.nativeElement))}function Yb(e,t,n){e.childNodes.forEach((e=>{e instanceof Kb&&(t(e)&&n.push(e),Yb(e,t,n))}))}function Jb(e,t,n){e instanceof Kb&&e.childNodes.forEach((e=>{t(e)&&n.push(e),e instanceof Kb&&Jb(e,t,n)}))}class Xb{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new ew(e):null}get injector(){return sl(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(el(e)||nl(e))}get context(){return el(this.nativeNode)||tl(this.nativeNode)}get listeners(){return ul(this.nativeNode).filter((e=>"dom"===e.type))}get references(){return function(e){const t=bi(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let r=n.index+1;for(let s=0;s<n.localNames.length;s+=2)t[n.localNames[s]]=e[r],r++;return t}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=bi(e);if(null===t)return[];const n=t.lView[1],r=n.data[t.nodeIndex],s=[],i=1048575&r.providerIndexes,o=r.directiveEnd;for(let e=i;e<o;e++){let t=n.data[e];void 0!==(a=t).type&&void 0!==a.template&&void 0!==a.declaredInputs&&(t=t.type),s.push(t)}var a;return s}(this.nativeNode)}}class ew extends Xb{constructor(e){ngDevMode&&P(e),super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const e=bi(this.nativeNode);return null!==e?e.lView[1].data[e.nodeIndex].value:this.nativeNode.nodeName}get properties(){const e=bi(this.nativeNode);if(null===e)return{};const t=e.lView,n=t[1].data,r=n[e.nodeIndex],s={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=e[n];tw(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,s),function(e,t,n,r){let s=t.propertyBindings;if(null!==s)for(let t=0;t<s.length;t++){const i=s[t],o=r[i].split(Zi),a=o[0];if(o.length>1){let t=o[1];for(let e=1;e<o.length-1;e++)t+=m(n[i+e-1])+o[e+1];e[a]=t}else e[a]=n[i]}}(s,r,t,n),s}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=bi(t);if(null===n)return{};const r=n.lView[1].data[n.nodeIndex].attrs,s=[];if(r){let t=0;for(;t<r.length;){const n=r[t];if("string"!=typeof n)break;const i=r[t+1];e[n]=i,s.push(n.toLowerCase()),t+=2}}const i=t.attributes;for(let t=0;t<i.length;t++){const n=i[t],r=n.name.toLowerCase();-1===s.indexOf(r)&&(e[r]=n.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach((t=>e[t]=!0)),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(uw(r))}return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let e=0;e<t.length;e++){const r=t[e];n.push(uw(r))}return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return nw(this,e,t,!0),t}queryAllNodes(e){const t=[];return nw(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,r=[];this.listeners.forEach((s=>{if(s.name===e){const e=s.callback;e.call(n,t),r.push(e)}})),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach((e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const s=e("__ngUnwrap__");return-1===r.indexOf(s)&&s.call(n,t)}}))}}function tw(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function nw(e,t,n,r){const s=bi(e.nativeNode);null!==s?rw(s.lView[1].data[s.nodeIndex],s.lView,t,n,r,e.nativeNode):ow(e.nativeNode,t,n,r)}function rw(e,t,n,r,s,i){ngDevMode&&Ue(e,t);const o=function(e,t){const n=null===e?-1:e.index;if(-1!==n){ngDevMode&&Ue(e,t);const r=bt(t[n]);return ngDevMode&&null!==r&&!vt(t[11])&&P(r),r}return null}(e,t);if(11&e.type){if(iw(o,n,r,s,i),Le(e)){const o=St(e.index,t);o&&o[1].firstChild&&rw(o[1].firstChild,o,n,r,s,i)}else e.child&&rw(e.child,t,n,r,s,i),o&&ow(o,n,r,s);const a=t[e.index];je(a)&&sw(a,n,r,s,i)}else if(4&e.type){const o=t[e.index];iw(o[7],n,r,s,i),sw(o,n,r,s,i)}else if(16&e.type){const o=t[16],a=o[6].projection[e.projection];if(Array.isArray(a))for(let e of a)iw(e,n,r,s,i);else if(a){const e=o[3];rw(e[1].data[a.index],e,n,r,s,i)}}else e.child&&rw(e.child,t,n,r,s,i);if(i!==o){const o=4&e.flags?e.projectionNext:e.next;o&&rw(o,t,n,r,s,i)}}function sw(e,t,n,r,s){for(let i=Fe;i<e.length;i++){const o=e[i],a=o[1].firstChild;a&&rw(a,o,t,n,r,s)}}function iw(e,t,n,r,s){if(s!==e){const s=lw(e);if(!s)return;(r&&s instanceof ew&&t(s)&&-1===n.indexOf(s)||!r&&t(s)&&-1===n.indexOf(s))&&n.push(s)}}function ow(e,t,n,r){const s=e.childNodes,i=s.length;for(let e=0;e<i;e++){const i=s[e],o=lw(i);o&&((r&&o instanceof ew&&t(o)&&-1===n.indexOf(o)||!r&&t(o)&&-1===n.indexOf(o))&&n.push(o),ow(i,t,n,r))}}const aw=new Map;function uw(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new ew(e):new Xb(e)),e.__ng_debug__):null}const lw=uw;function cw(e){return function(e){return aw.get(e)||null}(e)}const hw=function(e){return null};function dw(e){aw.set(e.nativeNode,e)}const fw=Xb,pw=ew,gw=Tb(null,"core",[{provide:O_,useValue:"unknown"},{provide:Ib,deps:[Xu]},{provide:hb,deps:[]},{provide:F_,deps:[]}]);function mw(){return ag}function yw(){return ug}function vw(e){return e=e||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.getLocale()?goog.getLocale():U_&&"undefined"!=typeof $localize&&$localize.locale||qd),U_&&Yd(e),e}const _w=Wd,bw=[{provide:Nb,useClass:Nb,deps:[rb,Xu,Ni,wp,x_]},{provide:wy,deps:[rb],useFactory:ww},{provide:x_,useClass:x_,deps:[[new ns,S_]]},{provide:J_,useClass:J_,deps:[]},M_,{provide:Qp,useFactory:mw,deps:[]},{provide:Jp,useFactory:yw,deps:[]},{provide:R_,useFactory:vw,deps:[[new ts(R_),new ns,new ss]]},{provide:j_,useValue:_w}];function ww(e){let t=[];return e.onStable.subscribe((()=>{for(;t.length;)t.pop()()})),function(e){t.push(e)}}let Cw=(()=>{class e{constructor(e){}}return e.ɵfac=function(t){return new(t||e)(Gr(Nb))},e.ɵmod=Ee({type:e}),e.ɵinj=L({providers:bw}),e})();function Dw(e,t,n,r,s,i){e|=1;const{matchedQueries:o,references:a,matchedQueryIds:u}=im(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:u,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?lm(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:s||Lg},provider:null,text:null,query:null,ngContent:null}}function Ew(e,t,n,r,s,i,o=[],a,u,l,c,h){l||(l=Lg);const{matchedQueries:d,references:f,matchedQueryIds:p}=im(n);let g=null,m=null;i&&([g,m]=mm(i)),a=a||[];const y=[];for(let e=0;e<a.length;e++){const[t,n,r]=a[e],[s,i]=mm(n);let o,u;switch(15&t){case 4:u=r;break;case 1:case 8:o=r}y[e]={flags:t,ns:s,name:i,nonMinifiedName:i,securityContext:o,suffix:u}}u=u||[];const v=[];for(let e=0;e<u.length;e++){const[t,n]=u[e];v[e]={type:0,target:t,eventName:n,propName:null}}const _=(o=o||[]).map((([e,t])=>{const[n,r]=mm(e);return[n,r,t]}));return h=function(e){if(e&&e.id===Hg){const t=null!=e.encapsulation&&e.encapsulation!==ne.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Wg++:zg}return e&&e.id===zg&&(e=null),e||null}(h),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:s,bindings:y,bindingFlags:ym(y),outputs:v,element:{ns:g,name:m,attrs:_,template:null,componentProvider:null,componentView:c||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:l||Lg},provider:null,text:null,query:null,ngContent:null}}function Sw(e,t,n){const r=n.element,s=e.root.selectorOrNode,i=e.renderer;let o;if(e.parent||!s){o=r.name?i.createElement(r.name,r.ns):i.createComment("");const s=am(e,t,n);s&&i.appendChild(s,o)}else{const e=!!r.componentRendererType&&r.componentRendererType.encapsulation===ne.ShadowDom;o=i.selectRootElement(s,e)}if(r.attrs)for(let e=0;e<r.attrs.length;e++){const[t,n,s]=r.attrs[e];i.setAttribute(o,n,s,t)}return o}function xw(e,t,n,r){for(let o=0;o<n.outputs.length;o++){const a=n.outputs[o],u=Tw(e,n.nodeIndex,(s=a.target,i=a.eventName,s?`${s}:${i}`:i));let l=a.target,c=e;"component"===a.target&&(l=null,c=t);const h=c.renderer.listen(l||r,a.eventName,u);e.disposables[n.outputIndex+o]=h}var s,i}function Tw(e,t,n){return r=>Jg(e,t,n,r)}function kw(e,t,n,r){if(!Gg(e,t,n,r))return!1;const s=t.bindings[n],i=Ng(e,t.nodeIndex),o=i.renderElement,a=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,i){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,i):i;a=null!=a?a.toString():null;const u=e.renderer;null!=i?u.setAttribute(n,s,a,r):u.removeAttribute(n,s,r)}(e,s,o,s.ns,a,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,o,a,r);break;case 4:!function(e,t,n,r,s){let i=e.root.sanitizer.sanitize(li.STYLE,s);if(null!=i){i=i.toString();const e=t.suffix;null!=e&&(i+=e)}else i=null;const o=e.renderer;null!=i?o.setStyle(n,r,i):o.removeStyle(n,r)}(e,s,o,a,r);break;case 8:!function(e,t,n,r,s){const i=t.securityContext;let o=i?e.root.sanitizer.sanitize(i,s):s;e.renderer.setProperty(n,r,o)}(33554432&t.flags&&32&s.flags?i.componentView:e,s,o,a,r)}return!0}function Mw(e,t,n){let r=[];for(let e in n){const t=n[e];r.push({propName:e,bindingType:t})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:sm(t),bindings:r},ngContent:null}}function Aw(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&rm(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Rg(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let t=0;t<e.def.nodes.length;t++){const n=e.def.nodes[t];134217728&n.flags&&536870912&n.flags&&Rg(e,t).setDirty(),t+=n.childCount}}function Iw(e,t){const n=Rg(e,t.nodeIndex);if(!n.dirty)return;let r,s;if(67108864&t.flags){const n=t.parent.parent;s=Ow(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Pg(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=Ow(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s,Ap);const i=t.query.bindings;let o=!1;for(let e=0;e<i.length;e++){const t=i[e];let s;switch(t.bindingType){case 0:s=n.first;break;case 1:s=n,o=!0}r[t.propName]=s}o&&n.notifyOnChanges()}function Ow(e,t,n,r,s){for(let i=t;i<=n;i++){const t=e.def.nodes[i],n=t.matchedQueries[r.id];if(null!=n&&s.push(Nw(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=Ng(e,i);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Ow(e,i+1,i+t.childCount,r,s),i+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const i=e[t],o=Xg(i);o&&o===n&&Ow(i,0,i.def.nodes.length-1,r,s)}}const o=n.template._projectedViews;if(o)for(let e=0;e<o.length;e++){const t=o[e];Ow(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(i+=t.childCount)}return s}function Nw(e,t,n){if(null!=n)switch(n){case 1:return Ng(e,t.nodeIndex).renderElement;case 0:return new Mp(Ng(e,t.nodeIndex).renderElement);case 2:return Ng(e,t.nodeIndex).template;case 3:return Ng(e,t.nodeIndex).viewContainer;case 4:return Pg(e,t.nodeIndex).instance}}function Pw(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function Fw(e,t,n){const r=am(e,t,n);r&&dm(e,n.ngContent.index,1,r,null,void 0)}function Rw(e,t){return Lw(128,e,Ar(t+1))}function jw(e,t){return Lw(32,e,Ar(t))}function Vw(e,t){const n=Object.keys(t),r=n.length,s=[];for(let e=0;e<r;e++){const r=n[e];t[r],s.push(r)}return Lw(64,e,s)}function Lw(e,t,n){const r=[];for(let e=0;e<n.length;e++){const t=n[e];r.push({flags:8,name:t,ns:null,nonMinifiedName:t,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:ym(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Bw(e,t,n){const r=[];for(let e=1;e<n.length;e++)r[e-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[e]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function $w(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const i=am(e,t,n);return i&&s.appendChild(i,r),{renderText:r}}function Uw(e,t){return(null!=e?e.toString():"")+t.suffix}function Hw(e,t,n,r){let s=0,i=0,o=0,a=0,u=0,l=null,c=null,h=!1,d=!1,f=null;for(let e=0;e<t.length;e++){const n=t[e];if(n.nodeIndex=e,n.parent=l,n.bindingIndex=s,n.outputIndex=i,n.renderParent=c,o|=n.flags,u|=n.matchedQueryIds,n.element){const e=n.element;e.publicProviders=l?l.element.publicProviders:Object.create(null),e.allProviders=e.publicProviders,h=!1,d=!1,n.element.template&&(u|=n.element.template.nodeMatchedQueries)}if(qw(l,n,t.length),s+=n.bindings.length,i+=n.outputs.length,!c&&3&n.flags&&(f=n),20224&n.flags){h||(h=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);const e=0!=(8192&n.flags),t=0!=(32768&n.flags);!e||t?l.element.publicProviders[$g(n.provider.token)]=n:(d||(d=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[$g(n.provider.token)]=n),t&&(l.element.componentProvider=n)}if(l?(l.childFlags|=n.flags,l.directChildFlags|=n.flags,l.childMatchedQueries|=n.matchedQueryIds,n.element&&n.element.template&&(l.childMatchedQueries|=n.element.template.nodeMatchedQueries)):a|=n.flags,n.childCount>0)l=n,zw(n)||(c=n);else for(;l&&e===l.nodeIndex+l.childCount;){const e=l.parent;e&&(e.childFlags|=l.childFlags,e.childMatchedQueries|=l.childMatchedQueries),l=e,c=l&&zw(l)?l.renderParent:l}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||Lg,updateRenderer:r||Lg,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:i,lastRenderRootNode:f}}function zw(e){return 0!=(1&e.flags)&&null===e.element.name}function qw(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Ww(e,t,n,r){const s=Kw(e.root,e.renderer,e,t,n);return Qw(s,e.component,r),Yw(s),s}function Zw(e,t,n){const r=Kw(e,e.renderer,null,null,t);return Qw(r,n,n),Yw(r),r}function Gw(e,t,n,r){const s=t.element.componentRendererType;let i;return i=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,Kw(e.root,i,e,t.element.componentProvider,n)}function Kw(e,t,n,r,s){const i=new Array(s.nodes.length),o=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:o,initIndex:-1}}function Qw(e,t,n){e.component=t,e.context=n}function Yw(e){let t;if(nm(e)){const n=e.parentNodeDef;t=Ng(e.parent,n.parent.nodeIndex).renderElement}const n=e.def,r=e.nodes;for(let i=0;i<n.nodes.length;i++){const o=n.nodes[i];let a;switch(Vg.setCurrentNode(e,i),201347067&o.flags){case 1:const n=Sw(e,t,o);let u;if(33554432&o.flags){const t=lm(o.element.componentView);u=Vg.createComponentView(e,o,t,n)}xw(e,u,o,n),a={renderElement:n,componentView:u,viewContainer:null,template:o.element.template?Um(e,o):void 0},16777216&o.flags&&(a.viewContainer=Vm(e,o,a));break;case 2:a=$w(e,t,o);break;case 512:case 1024:case 2048:case 256:a=r[i],a||4096&o.flags||(a={instance:oy(e,o)});break;case 16:a={instance:ay(e,o)};break;case 16384:a=r[i],a||(a={instance:uy(e,o)}),32768&o.flags&&Qw(Ng(e,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:s=-2147483648==(-2147483648&o.flags),a=new ov(s);break;case 8:Fw(e,t,o),a=void 0}r[i]=a}var s;oC(e,iC.CreateViewNodes),cC(e,201326592,268435456,0)}function Jw(e){tC(e),Vg.updateDirectives(e,1),aC(e,iC.CheckNoChanges),Vg.updateRenderer(e,1),oC(e,iC.CheckNoChanges),e.state&=-97}function Xw(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Ag(e,0,256),tC(e),Vg.updateDirectives(e,0),aC(e,iC.CheckAndUpdate),cC(e,67108864,536870912,0);let t=Ag(e,256,512);my(e,2097152|(t?1048576:0)),Vg.updateRenderer(e,0),oC(e,iC.CheckAndUpdate),cC(e,134217728,536870912,0),t=Ag(e,512,768),my(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Ag(e,768,1024)}function eC(e,t,n,r,s,i,o,a,u,l,c,h,d){return 0===n?function(e,t,n,r,s,i,o,a,u,l,c,h){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,i,o,a,u,l,c,h){const d=t.bindings.length;let f=!1;return d>0&&kw(e,t,0,n)&&(f=!0),d>1&&kw(e,t,1,r)&&(f=!0),d>2&&kw(e,t,2,s)&&(f=!0),d>3&&kw(e,t,3,i)&&(f=!0),d>4&&kw(e,t,4,o)&&(f=!0),d>5&&kw(e,t,5,a)&&(f=!0),d>6&&kw(e,t,6,u)&&(f=!0),d>7&&kw(e,t,7,l)&&(f=!0),d>8&&kw(e,t,8,c)&&(f=!0),d>9&&kw(e,t,9,h)&&(f=!0),f}(e,t,n,r,s,i,o,a,u,l,c,h);case 2:return function(e,t,n,r,s,i,o,a,u,l,c,h){let d=!1;const f=t.bindings,p=f.length;if(p>0&&Gg(e,t,0,n)&&(d=!0),p>1&&Gg(e,t,1,r)&&(d=!0),p>2&&Gg(e,t,2,s)&&(d=!0),p>3&&Gg(e,t,3,i)&&(d=!0),p>4&&Gg(e,t,4,o)&&(d=!0),p>5&&Gg(e,t,5,a)&&(d=!0),p>6&&Gg(e,t,6,u)&&(d=!0),p>7&&Gg(e,t,7,l)&&(d=!0),p>8&&Gg(e,t,8,c)&&(d=!0),p>9&&Gg(e,t,9,h)&&(d=!0),d){let d=t.text.prefix;p>0&&(d+=Uw(n,f[0])),p>1&&(d+=Uw(r,f[1])),p>2&&(d+=Uw(s,f[2])),p>3&&(d+=Uw(i,f[3])),p>4&&(d+=Uw(o,f[4])),p>5&&(d+=Uw(a,f[5])),p>6&&(d+=Uw(u,f[6])),p>7&&(d+=Uw(l,f[7])),p>8&&(d+=Uw(c,f[8])),p>9&&(d+=Uw(h,f[9]));const g=Og(e,t.nodeIndex).renderText;e.renderer.setValue(g,d)}return d}(e,t,n,r,s,i,o,a,u,l,c,h);case 16384:return function(e,t,n,r,s,i,o,a,u,l,c,h){const d=Pg(e,t.nodeIndex),f=d.instance;let p,g=!1;const m=t.bindings.length;return m>0&&Zg(e,t,0,n)&&(g=!0,p=gy(e,d,t,0,n,p)),m>1&&Zg(e,t,1,r)&&(g=!0,p=gy(e,d,t,1,r,p)),m>2&&Zg(e,t,2,s)&&(g=!0,p=gy(e,d,t,2,s,p)),m>3&&Zg(e,t,3,i)&&(g=!0,p=gy(e,d,t,3,i,p)),m>4&&Zg(e,t,4,o)&&(g=!0,p=gy(e,d,t,4,o,p)),m>5&&Zg(e,t,5,a)&&(g=!0,p=gy(e,d,t,5,a,p)),m>6&&Zg(e,t,6,u)&&(g=!0,p=gy(e,d,t,6,u,p)),m>7&&Zg(e,t,7,l)&&(g=!0,p=gy(e,d,t,7,l,p)),m>8&&Zg(e,t,8,c)&&(g=!0,p=gy(e,d,t,8,c,p)),m>9&&Zg(e,t,9,h)&&(g=!0,p=gy(e,d,t,9,h,p)),p&&f.ngOnChanges(p),65536&t.flags&&Ig(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),g}(e,t,n,r,s,i,o,a,u,l,c,h);case 32:case 64:case 128:return function(e,t,n,r,s,i,o,a,u,l,c,h){const d=t.bindings;let f=!1;const p=d.length;if(p>0&&Gg(e,t,0,n)&&(f=!0),p>1&&Gg(e,t,1,r)&&(f=!0),p>2&&Gg(e,t,2,s)&&(f=!0),p>3&&Gg(e,t,3,i)&&(f=!0),p>4&&Gg(e,t,4,o)&&(f=!0),p>5&&Gg(e,t,5,a)&&(f=!0),p>6&&Gg(e,t,6,u)&&(f=!0),p>7&&Gg(e,t,7,l)&&(f=!0),p>8&&Gg(e,t,8,c)&&(f=!0),p>9&&Gg(e,t,9,h)&&(f=!0),f){const f=Fg(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=[],p>0&&g.push(n),p>1&&g.push(r),p>2&&g.push(s),p>3&&g.push(i),p>4&&g.push(o),p>5&&g.push(a),p>6&&g.push(u),p>7&&g.push(l),p>8&&g.push(c),p>9&&g.push(h);break;case 64:g={},p>0&&(g[d[0].name]=n),p>1&&(g[d[1].name]=r),p>2&&(g[d[2].name]=s),p>3&&(g[d[3].name]=i),p>4&&(g[d[4].name]=o),p>5&&(g[d[5].name]=a),p>6&&(g[d[6].name]=u),p>7&&(g[d[7].name]=l),p>8&&(g[d[8].name]=c),p>9&&(g[d[9].name]=h);break;case 128:const e=n;switch(p){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,s);break;case 4:g=e.transform(r,s,i);break;case 5:g=e.transform(r,s,i,o);break;case 6:g=e.transform(r,s,i,o,a);break;case 7:g=e.transform(r,s,i,o,a,u);break;case 8:g=e.transform(r,s,i,o,a,u,l);break;case 9:g=e.transform(r,s,i,o,a,u,l,c);break;case 10:g=e.transform(r,s,i,o,a,u,l,c,h)}}f.value=g}return f}(e,t,n,r,s,i,o,a,u,l,c,h);default:throw"unreachable"}}(e,t,r,s,i,o,a,u,l,c,h,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s<n.length;s++)kw(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let r=0;r<n.length;r++)Gg(e,t,r,n[r])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=Uw(n[e],r[e]);s=t.text.prefix+s;const i=Og(e,t.nodeIndex).renderText;e.renderer.setValue(i,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=Pg(e,t.nodeIndex),s=r.instance;let i,o=!1;for(let s=0;s<n.length;s++)Zg(e,t,s,n[s])&&(o=!0,i=gy(e,r,t,s,n[s],i));return i&&s.ngOnChanges(i),65536&t.flags&&Ig(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let r=0;r<n.length;r++)Gg(e,t,r,n[r])&&(s=!0);if(s){const s=Fg(e,t.nodeIndex);let i;switch(201347067&t.flags){case 32:i=n;break;case 64:i={};for(let e=0;e<n.length;e++)i[r[e].name]=n[e];break;case 128:const e=n[0],t=n.slice(1);i=e.transform(...t)}s.value=i}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function tC(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=Ng(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Yg(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function nC(e,t,n,r,s,i,o,a,u,l,c,h,d){return 0===n?function(e,t,n,r,s,i,o,a,u,l,c,h){const d=t.bindings.length;d>0&&Kg(e,t,0,n),d>1&&Kg(e,t,1,r),d>2&&Kg(e,t,2,s),d>3&&Kg(e,t,3,i),d>4&&Kg(e,t,4,o),d>5&&Kg(e,t,5,a),d>6&&Kg(e,t,6,u),d>7&&Kg(e,t,7,l),d>8&&Kg(e,t,8,c),d>9&&Kg(e,t,9,h)}(e,t,r,s,i,o,a,u,l,c,h,d):function(e,t,n){for(let r=0;r<n.length;r++)Kg(e,t,r,n[r])}(e,t,r),!1}function rC(e,t){if(Rg(e,t.nodeIndex).dirty)throw Tg(Vg.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function sC(e){if(!(128&e.state)){if(aC(e,iC.Destroy),oC(e,iC.Destroy),my(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=Xg(e);if(t){const n=t.template._projectedViews;n&&(Mr(n,n.indexOf(e)),Vg.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(Ng(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Og(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Rg(e,n).destroy()}}(e),nm(e)&&e.renderer.destroy(),e.state|=128}}var iC=(()=>((iC=iC||{})[iC.CreateViewNodes=0]="CreateViewNodes",iC[iC.CheckNoChanges=1]="CheckNoChanges",iC[iC.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",iC[iC.CheckAndUpdate=3]="CheckAndUpdate",iC[iC.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",iC[iC.Destroy=5]="Destroy",iC))();function oC(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?uC(Ng(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function aC(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=Ng(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)uC(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function uC(e,t){const n=e.state;switch(t){case iC.CheckNoChanges:0==(128&n)&&(12==(12&n)?Jw(e):64&n&&lC(e,iC.CheckNoChangesProjectedViews));break;case iC.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Jw(e):64&n&&lC(e,t));break;case iC.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Xw(e):64&n&&lC(e,iC.CheckAndUpdateProjectedViews));break;case iC.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Xw(e):64&n&&lC(e,t));break;case iC.Destroy:sC(e);break;case iC.CreateViewNodes:Yw(e)}}function lC(e,t){aC(e,t),oC(e,t)}function cC(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let i=0;i<s;i++){const s=e.def.nodes[i];if(s.flags&t&&s.flags&n)switch(Vg.setCurrentNode(e,s.nodeIndex),r){case 0:Iw(e,s);break;case 1:rC(e,s)}s.childFlags&t&&s.childFlags&n||(i+=s.childCount)}}let hC=!1;function dC(){if(hC)return;hC=!0;const e=vb()?{setCurrentNode:FC,createRootView:pC,createEmbeddedView:mC,createComponentView:yC,createNgModuleRef:vC,overrideProvider:CC,overrideComponentView:DC,clearOverrides:EC,checkAndUpdateView:kC,checkNoChangesView:MC,destroyView:AC,createDebugContext:(e,t)=>new HC(e,t),handleEvent:RC,updateDirectives:jC,updateRenderer:VC}:{setCurrentNode:()=>{},createRootView:fC,createEmbeddedView:Ww,createComponentView:Gw,createNgModuleRef:Zm,overrideProvider:Lg,overrideComponentView:Lg,clearOverrides:Lg,checkAndUpdateView:Xw,checkNoChangesView:Jw,destroyView:sC,createDebugContext:(e,t)=>new HC(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?xC:TC,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?xC:TC,e)};Vg.setCurrentNode=e.setCurrentNode,Vg.createRootView=e.createRootView,Vg.createEmbeddedView=e.createEmbeddedView,Vg.createComponentView=e.createComponentView,Vg.createNgModuleRef=e.createNgModuleRef,Vg.overrideProvider=e.overrideProvider,Vg.overrideComponentView=e.overrideComponentView,Vg.clearOverrides=e.clearOverrides,Vg.checkAndUpdateView=e.checkAndUpdateView,Vg.checkNoChangesView=e.checkNoChangesView,Vg.destroyView=e.destroyView,Vg.resolveDep=fy,Vg.createDebugContext=e.createDebugContext,Vg.handleEvent=e.handleEvent,Vg.updateDirectives=e.updateDirectives,Vg.updateRenderer=e.updateRenderer,Vg.dirtyParentQueries=Aw}function fC(e,t,n,r,s,i){const o=s.injector.get(Ip);return Zw(gC(e,s,o,t,n),r,i)}function pC(e,t,n,r,s,i){const o=s.injector.get(Ip),a=gC(e,s,new ZC(o),t,n),u=SC(r);return qC(IC.create,Zw,null,[a,u,i])}function gC(e,t,n,r,s){const i=t.injector.get(Rp),o=t.injector.get(Ni),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:o}}function mC(e,t,n,r){const s=SC(n);return qC(IC.create,Ww,null,[e,t,s,r])}function yC(e,t,n,r){return n=wC.get(t.element.componentProvider.provider.token)||SC(n),qC(IC.create,Gw,null,[e,t,n,r])}function vC(e,t,n,r){const s=function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===_C.size||(e.providers.forEach((e=>{const r=_C.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)})),e.modules.forEach((e=>{bC.forEach(((r,s)=>{h(B(s).providedIn)===e&&(t=!0,n=n||r.deprecatedBehavior)}))}))),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=_C.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=om(s.deps),r.value=s.value)}if(bC.size>0){let t=new Set(e.modules);bC.forEach(((r,s)=>{if(t.has(h(B(s).providedIn))){let t={token:s,flags:r.flags|(n?4096:0),deps:om(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[$g(s)]=t}}))}}(e=e.factory((()=>Lg))),e):e}(r);return Zm(e,t,n,s)}const _C=new Map,bC=new Map,wC=new Map;function CC(e){let t;_C.set(e.token,e),"function"==typeof e.token&&(t=B(e.token))&&"function"==typeof t.providedIn&&bC.set(e.token,e)}function DC(e,t){const n=lm(Fm(t)),r=lm(n.nodes[0].element.componentView);wC.set(e,r)}function EC(){_C.clear(),bC.clear(),wC.clear()}function SC(e){if(0===_C.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&_C.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory((()=>Lg));for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=_C.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=om(n.deps),e.value=n.value)}}}}function xC(e,t,n,r,s,i,o,a,u,l,c,h,d){const f=e.def.nodes[t];return eC(e,f,n,r,s,i,o,a,u,l,c,h,d),224&f.flags?Fg(e,t).value:void 0}function TC(e,t,n,r,s,i,o,a,u,l,c,h,d){const f=e.def.nodes[t];return nC(e,f,n,r,s,i,o,a,u,l,c,h,d),224&f.flags?Fg(e,t).value:void 0}function kC(e){return qC(IC.detectChanges,Xw,null,[e])}function MC(e){return qC(IC.checkNoChanges,Jw,null,[e])}function AC(e){return qC(IC.destroy,sC,null,[e])}var IC=(()=>((IC=IC||{})[IC.create=0]="create",IC[IC.detectChanges=1]="detectChanges",IC[IC.checkNoChanges=2]="checkNoChanges",IC[IC.destroy=3]="destroy",IC[IC.handleEvent=4]="handleEvent",IC))();let OC,NC,PC;function FC(e,t){NC=e,PC=t}function RC(e,t,n,r){return FC(e,t),qC(IC.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function jC(e,t){if(128&e.state)throw Mg(IC[OC]);return FC(e,$C(e,0)),e.def.updateDirectives((function(e,n,r,...s){const i=e.def.nodes[n];return 0===t?LC(e,i,r,s):BC(e,i,r,s),16384&i.flags&&FC(e,$C(e,n)),224&i.flags?Fg(e,i.nodeIndex).value:void 0}),e)}function VC(e,t){if(128&e.state)throw Mg(IC[OC]);return FC(e,UC(e,0)),e.def.updateRenderer((function(e,n,r,...s){const i=e.def.nodes[n];return 0===t?LC(e,i,r,s):BC(e,i,r,s),3&i.flags&&FC(e,UC(e,n)),224&i.flags?Fg(e,i.nodeIndex).value:void 0}),e)}function LC(e,t,n,r){if(eC(e,t,n,...r)){const s=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],i=s[e];8&r.flags&&(n[Bi(r.nonMinifiedName)]=Ui(i))}const r=t.parent,i=Ng(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(i,t,r):e.renderer.removeAttribute(i,t)}else e.renderer.setValue(i,Vi(`bindings=${JSON.stringify(n,null,2)}`))}}}function BC(e,t,n,r){nC(e,t,n,...r)}function $C(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function UC(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class HC{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=em(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return Ng(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return zm(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){zC(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&zC(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!nm(e);)e=e.parent;return e.parent?Ng(e.parent,em(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?tm(this.view,this.nodeDef):tm(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let i=-1;n.factory((()=>(i++,i===s?e.error.bind(e,...t):Lg))),i<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function zC(e,t,n){for(let r in t.references)n[r]=Nw(e,t,t.references[r])}function qC(e,t,n,r){const s=OC,i=NC,o=PC;try{OC=e;const a=t.apply(n,r);return NC=i,PC=o,OC=s,a}catch(e){if(Ai(e)||!NC)throw e;throw a=e,u=WC(),a instanceof Error||(a=new Error(a.toString())),kg(a,u),a}var a,u}function WC(){return NC?new HC(NC,PC):null}class ZC{constructor(e){this.delegate=e}createRenderer(e,t){return new GC(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class GC{constructor(e){this.delegate=e,this.debugContextFactory=WC,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=lw(e);t&&(function(e){aw.delete(e.nativeNode)}(t),t instanceof Gb&&(t.listeners.length=0)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new Kb(n,null,r);t.name=e,dw(t)}return n}createComment(e){const t=this.delegate.createComment(Vi(e)),n=this.createDebugContext(t);return n&&dw(new Gb(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&dw(new Gb(t,null,n)),t}appendChild(e,t){const n=lw(e),r=lw(t);n&&r&&n instanceof Kb&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n,r){const s=lw(e),i=lw(t),o=lw(n);s&&i&&s instanceof Kb&&s.insertBefore(o,i),this.delegate.insertBefore(e,t,n,r)}removeChild(e,t){const n=lw(e),r=lw(t);n&&r&&n instanceof Kb&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=WC();return r&&dw(new Kb(n,null,r)),n}setAttribute(e,t,n,r){const s=lw(e);if(s&&s instanceof Kb){const e=r?r+":"+t:t;s.attributes[e]=n}this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=lw(e);if(r&&r instanceof Kb){const e=n?n+":"+t:t;r.attributes[e]=null}this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=lw(e);n&&n instanceof Kb&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=lw(e);n&&n instanceof Kb&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=lw(e);s&&s instanceof Kb&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=lw(e);r&&r instanceof Kb&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=lw(e);r&&r instanceof Kb&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=lw(e);r&&r.listeners.push(new Zb(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function KC(e){return dC(),Vg.overrideProvider(e)}function QC(e,t){return dC(),Vg.overrideComponentView(e,t)}function YC(){return dC(),Vg.clearOverrides()}function JC(e,t,n){return new XC(e,t,n)}class XC extends yg{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){dC();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const t in e.providersByKey)r[t]=e.providersByKey[t];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}(lm(this._ngModuleDefFactory));return Vg.createNgModuleRef(this.moduleType,e||Xu.NULL,this._bootstrapComponents,t)}}function eD(e){return Dr({usage:1,kind:"directive",type:e.type}).compileDirectiveDeclaration(Ev,`ng:///${e.type.name}/ɵfac.js`,e)}function tD(e){var t,n;Ey(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(n=e.propDecorators)&&void 0!==n?n:null)}function nD(e){return Dr({usage:1,kind:"component",type:e.type}).compileComponentDeclaration(Ev,`ng:///${e.type.name}/ɵcmp.js`,e)}function rD(e){return Dr({usage:1,kind:sD(e.target),type:e.type}).compileFactoryDeclaration(Ev,`ng:///${e.type.name}/ɵfac.js`,e)}function sD(e){switch(e){case Cr.Directive:return"directive";case Cr.Component:return"component";case Cr.Injectable:return"injectable";case Cr.Pipe:return"pipe";case Cr.NgModule:return"NgModule"}}function iD(e){return Dr({usage:1,kind:"injectable",type:e.type}).compileInjectableDeclaration(Ev,`ng:///${e.type.name}/ɵprov.js`,e)}function oD(e){return Dr({usage:1,kind:"NgModule",type:e.type}).compileInjectorDeclaration(Ev,`ng:///${e.type.name}/ɵinj.js`,e)}function aD(e){return Dr({usage:1,kind:"NgModule",type:e.type}).compileNgModuleDeclaration(Ev,`ng:///${e.type.name}/ɵmod.js`,e)}function uD(e){return Dr({usage:1,kind:"pipe",type:e.type}).compilePipeDeclaration(Ev,`ng:///${e.type.name}/ɵpipe.js`,e)}"undefined"!=typeof ngDevMode&&ngDevMode&&(ae.$localize=ae.$localize||function(){throw new Error("It looks like your application or one of its dependencies is using i18n.\nAngular 9 introduced a global `$localize()` function that needs to be loaded.\nPlease run `ng add @angular/localize` from the Angular CLI.\n(For non-CLI projects, add `import '@angular/localize/init';` to your `polyfills.ts` file.\nFor server-side rendering applications add the import to your `main.server.ts` file.)")})},20558:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NgElement:()=>h,VERSION:()=>f,createCustomElement:()=>d});var r=n(57826),s=n(4309),i=n(42998);const o={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return o.schedule(e,0);if(void 0===window.requestAnimationFrame){const t=16;return o.schedule(e,t)}const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let a;function u(e,t,n){let r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(((t,n)=>!("*"===t||!function(e,t){if(!a){const e=Element.prototype;a=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&a.call(e,t)}(e,t)||(r=n,0)))),r}class l{constructor(e,t){this.componentFactory=t.get(r.ComponentFactoryResolver).resolveComponentFactory(e)}create(e){return new c(this.componentFactory,e)}}class c{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new s.ReplaySubject(1),this.events=this.eventEmitters.pipe((0,i.switchMap)((e=>(0,s.merge)(...e)))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map((({propName:e})=>e))),this.ngZone=this.injector.get(r.NgZone),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run((()=>Zone.current))}connect(e){this.runInZone((()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)}))}disconnect(){this.runInZone((()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=o.schedule((()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)}),10))}))}getInputValue(e){return this.runInZone((()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e]))}setInputValue(e,t){this.runInZone((()=>{var n,r;null!==this.componentRef?((n=t)!==(r=this.getInputValue(e))&&(n==n||r==r)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)}))}initializeComponent(e){const t=r.Injector.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,r=t.map((()=>[]));let s=-1;t.some(((e,t)=>"*"===e&&(s=t,!0)));for(let e=0,i=n.length;e<i;++e){const i=n[e],o=u(i,t,s);-1!==o&&r[o].push(i)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(r.ChangeDetectorRef),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(r.ApplicationRef).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach((({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))})),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map((({propName:t,templateName:n})=>e.instance[t].pipe((0,i.map)((e=>({name:n,value:e}))))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=o.scheduleBeforeRender((()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()})))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const s=this.unchangedInputs.has(e),i=s?void 0:this.getInputValue(e);this.inputChanges[e]=new r.SimpleChange(i,t,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class h extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function d(e,t){const n=function(e,t){return t.get(r.ComponentFactoryResolver).resolveComponentFactory(e).inputs}(e,t.injector),s=t.strategyFactory||new l(e,t.injector),i=function(e){const t={};return e.forEach((({propName:e,templateName:n})=>{var r;t[(r=n,r.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)))]=e})),t}(n);class o extends h{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=s.create(this.injector||t.injector);n.forEach((({propName:t})=>{if(!this.hasOwnProperty(t))return;const n=this[t];delete this[t],e.setInputValue(t,n)}))}return this._ngElementStrategy}attributeChangedCallback(e,t,n,r){const s=i[e];this.ngElementStrategy.setInputValue(s,n)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe((e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)}))}}return o.observedAttributes=Object.keys(i),n.forEach((({propName:e})=>{Object.defineProperty(o.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})})),o}const f=new r.Version("12.2.16")},3679:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbstractControl:()=>Te,AbstractControlDirective:()=>W,AbstractFormGroupDirective:()=>Pe,COMPOSITION_BUFFER_MODE:()=>f,CheckboxControlValueAccessor:()=>h,CheckboxRequiredValidator:()=>Et,ControlContainer:()=>Z,DefaultValueAccessor:()=>p,EmailValidator:()=>xt,FormArray:()=>Ae,FormArrayName:()=>rt,FormBuilder:()=>Lt,FormControl:()=>ke,FormControlDirective:()=>Ye,FormControlName:()=>ot,FormGroup:()=>Me,FormGroupDirective:()=>Xe,FormGroupName:()=>tt,FormsModule:()=>jt,MaxLengthValidator:()=>At,MaxValidator:()=>vt,MinLengthValidator:()=>kt,MinValidator:()=>bt,NG_ASYNC_VALIDATORS:()=>v,NG_VALIDATORS:()=>y,NG_VALUE_ACCESSOR:()=>l,NgControl:()=>G,NgControlStatus:()=>J,NgControlStatusGroup:()=>X,NgForm:()=>Ne,NgModel:()=>Le,NgModelGroup:()=>Re,NgSelectOption:()=>ct,NumberValueAccessor:()=>Ue,PatternValidator:()=>Ot,RadioControlValueAccessor:()=>We,RangeValueAccessor:()=>Ge,ReactiveFormsModule:()=>Vt,RequiredValidator:()=>Dt,SelectControlValueAccessor:()=>lt,SelectMultipleControlValueAccessor:()=>ft,VERSION:()=>Bt,Validators:()=>b,ɵInternalFormsSharedModule:()=>Rt,ɵNgNoValidate:()=>Be,ɵNgSelectMultipleOption:()=>pt,ɵangular_packages_forms_forms_a:()=>Nt,ɵangular_packages_forms_forms_b:()=>Pt,ɵangular_packages_forms_forms_ba:()=>ht,ɵangular_packages_forms_forms_bb:()=>pt,ɵangular_packages_forms_forms_bc:()=>Be,ɵangular_packages_forms_forms_bd:()=>yt,ɵangular_packages_forms_forms_be:()=>_t,ɵangular_packages_forms_forms_bf:()=>wt,ɵangular_packages_forms_forms_bg:()=>Ct,ɵangular_packages_forms_forms_bh:()=>St,ɵangular_packages_forms_forms_bi:()=>Tt,ɵangular_packages_forms_forms_bj:()=>Mt,ɵangular_packages_forms_forms_bk:()=>It,ɵangular_packages_forms_forms_bl:()=>w,ɵangular_packages_forms_forms_bm:()=>C,ɵangular_packages_forms_forms_bn:()=>D,ɵangular_packages_forms_forms_bo:()=>E,ɵangular_packages_forms_forms_bp:()=>S,ɵangular_packages_forms_forms_bq:()=>x,ɵangular_packages_forms_forms_br:()=>T,ɵangular_packages_forms_forms_bs:()=>k,ɵangular_packages_forms_forms_bt:()=>M,ɵangular_packages_forms_forms_c:()=>Ft,ɵangular_packages_forms_forms_d:()=>Rt,ɵangular_packages_forms_forms_e:()=>c,ɵangular_packages_forms_forms_f:()=>a,ɵangular_packages_forms_forms_g:()=>u,ɵangular_packages_forms_forms_h:()=>d,ɵangular_packages_forms_forms_i:()=>K,ɵangular_packages_forms_forms_j:()=>Q,ɵangular_packages_forms_forms_k:()=>Y,ɵangular_packages_forms_forms_l:()=>Ie,ɵangular_packages_forms_forms_m:()=>je,ɵangular_packages_forms_forms_n:()=>Fe,ɵangular_packages_forms_forms_o:()=>$e,ɵangular_packages_forms_forms_p:()=>He,ɵangular_packages_forms_forms_q:()=>ze,ɵangular_packages_forms_forms_r:()=>qe,ɵangular_packages_forms_forms_s:()=>Ze,ɵangular_packages_forms_forms_t:()=>Ke,ɵangular_packages_forms_forms_u:()=>Qe,ɵangular_packages_forms_forms_v:()=>it,ɵangular_packages_forms_forms_w:()=>Je,ɵangular_packages_forms_forms_x:()=>et,ɵangular_packages_forms_forms_y:()=>nt,ɵangular_packages_forms_forms_z:()=>at});var r=n(57826),s=n(6856),i=n(4309),o=n(42998);let a=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e}),e})(),u=(()=>{class e extends a{}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,features:[r["ɵɵInheritDefinitionFeature"]]}),e})();const l=new r.InjectionToken("NgValueAccessor"),c={provide:l,useExisting:(0,r.forwardRef)((()=>h)),multi:!0};let h=(()=>{class e extends u{writeValue(e){this.setProperty("checked",e)}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[r["ɵɵProvidersFeature"]([c]),r["ɵɵInheritDefinitionFeature"]]}),e})();const d={provide:l,useExisting:(0,r.forwardRef)((()=>p)),multi:!0},f=new r.InjectionToken("CompositionEventMode");let p=(()=>{class e extends a{constructor(e,t,n){super(e,t),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=(0,s["ɵgetDOM"])()?(0,s["ɵgetDOM"])().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){const t=null==e?"":e;this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](f,8))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,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(e,t){1&e&&r["ɵɵlistener"]("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[r["ɵɵProvidersFeature"]([d]),r["ɵɵInheritDefinitionFeature"]]}),e})();function g(e){return null==e||0===e.length}function m(e){return null!=e&&"number"==typeof e.length}const y=new r.InjectionToken("NgValidators"),v=new r.InjectionToken("NgAsyncValidators"),_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class b{static min(e){return w(e)}static max(e){return C(e)}static required(e){return D(e)}static requiredTrue(e){return E(e)}static email(e){return S(e)}static minLength(e){return x(e)}static maxLength(e){return T(e)}static pattern(e){return k(e)}static nullValidator(e){return null}static compose(e){return F(e)}static composeAsync(e){return j(e)}}function w(e){return t=>{if(g(t.value)||g(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function C(e){return t=>{if(g(t.value)||g(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function D(e){return g(e.value)?{required:!0}:null}function E(e){return!0===e.value?null:{required:!0}}function S(e){return g(e.value)||_.test(e.value)?null:{email:!0}}function x(e){return t=>g(t.value)||!m(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}function T(e){return t=>m(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function k(e){if(!e)return M;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(g(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function M(e){return null}function A(e){return null!=e}function I(e){const t=(0,r["ɵisPromise"])(e)?(0,i.from)(e):e;if(!(0,r["ɵisObservable"])(t)&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error("Expected validator to return Promise or Observable.");return t}function O(e){let t={};return e.forEach((e=>{t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function N(e,t){return t.map((t=>t(e)))}function P(e){return e.map((e=>function(e){return!e.validate}(e)?e:t=>e.validate(t)))}function F(e){if(!e)return null;const t=e.filter(A);return 0==t.length?null:function(e){return O(N(e,t))}}function R(e){return null!=e?F(P(e)):null}function j(e){if(!e)return null;const t=e.filter(A);return 0==t.length?null:function(e){const n=N(e,t).map(I);return(0,i.forkJoin)(n).pipe((0,o.map)(O))}}function V(e){return null!=e?j(P(e)):null}function L(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function B(e){return e._rawValidators}function $(e){return e._rawAsyncValidators}function U(e){return e?Array.isArray(e)?e:[e]:[]}function H(e,t){return Array.isArray(e)?e.includes(t):e===t}function z(e,t){const n=U(t);return U(e).forEach((e=>{H(n,e)||n.push(e)})),n}function q(e,t){return U(t).filter((t=>!H(e,t)))}let W=(()=>{class e{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(e){this._rawValidators=e||[],this._composedValidatorFn=R(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=V(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((e=>e())),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e}),e})(),Z=(()=>{class e extends W{get formDirective(){return null}get path(){return null}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,features:[r["ɵɵInheritDefinitionFeature"]]}),e})();class G extends W{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class K{constructor(e){this._cd=e}is(e){var t,n,r;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(r=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===r?void 0:r[e])}}const Q={"[class.ng-untouched]":'is("untouched")',"[class.ng-touched]":'is("touched")',"[class.ng-pristine]":'is("pristine")',"[class.ng-dirty]":'is("dirty")',"[class.ng-valid]":'is("valid")',"[class.ng-invalid]":'is("invalid")',"[class.ng-pending]":'is("pending")'},Y={"[class.ng-untouched]":'is("untouched")',"[class.ng-touched]":'is("touched")',"[class.ng-pristine]":'is("pristine")',"[class.ng-dirty]":'is("dirty")',"[class.ng-valid]":'is("valid")',"[class.ng-invalid]":'is("invalid")',"[class.ng-pending]":'is("pending")',"[class.ng-submitted]":'is("submitted")'};let J=(()=>{class e extends K{constructor(e){super(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](G,2))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r["ɵɵclassProp"]("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r["ɵɵInheritDefinitionFeature"]]}),e})(),X=(()=>{class e extends K{constructor(e){super(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Z,10))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&r["ɵɵclassProp"]("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[r["ɵɵInheritDefinitionFeature"]]}),e})();const ee='\n  <div [formGroup]="myGroup">\n    <input formControlName="firstName">\n  </div>\n\n  In your class:\n\n  this.myGroup = new FormGroup({\n      firstName: new FormControl()\n  });',te='\n  <div [formGroup]="myGroup">\n      <div formGroupName="person">\n        <input formControlName="firstName">\n      </div>\n  </div>\n\n  In your class:\n\n  this.myGroup = new FormGroup({\n      person: new FormGroup({ firstName: new FormControl() })\n  });',ne='\n  <form>\n      <div ngModelGroup="person">\n        <input [(ngModel)]="person.name" name="firstName">\n      </div>\n  </form>',re="\n  It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n  when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n  you. We recommend using this approach to avoid 'changed after checked' errors.\n\n  Example:\n  form = new FormGroup({\n    first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n    last: new FormControl('Drew', Validators.required)\n  });\n";function se(e,t){return[...t.path,e]}function ie(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&(e||de(t,"Cannot find control with"),t.valueAccessor||de(t,"No value accessor for form control with")),ue(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ce(e,t)}))}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy((()=>{e._unregisterOnChange(n)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ce(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy((()=>{e._unregisterOnDisabledChange(n)}))}}(e,t)}function oe(e,t,n=!0){const r=()=>{n&&("undefined"==typeof ngDevMode||ngDevMode)&&function(e){de(e,"There is no FormControl instance attached to form control element with")}(t)};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),le(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange((()=>{})))}function ae(e,t){e.forEach((e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)}))}function ue(e,t){const n=B(e);null!==t.validator?e.setValidators(L(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=$(e);null!==t.asyncValidator?e.setAsyncValidators(L(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const s=()=>e.updateValueAndValidity();ae(t._rawValidators,s),ae(t._rawAsyncValidators,s)}function le(e,t){let n=!1;if(null!==e){if(null!==t.validator){const r=B(e);if(Array.isArray(r)&&r.length>0){const s=r.filter((e=>e!==t.validator));s.length!==r.length&&(n=!0,e.setValidators(s))}}if(null!==t.asyncValidator){const r=$(e);if(Array.isArray(r)&&r.length>0){const s=r.filter((e=>e!==t.asyncValidator));s.length!==r.length&&(n=!0,e.setAsyncValidators(s))}}}const r=()=>{};return ae(t._rawValidators,r),ae(t._rawAsyncValidators,r),n}function ce(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function he(e,t){null!=e||"undefined"!=typeof ngDevMode&&!ngDevMode||de(t,"Cannot find control with"),ue(e,t)}function de(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function fe(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function pe(e,t){e._syncPendingControls(),t.forEach((e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function ge(e,t){if(!t)return null;let n,r,s;return Array.isArray(t)||"undefined"!=typeof ngDevMode&&!ngDevMode||de(e,"Value accessor was not provided as an array for form control with"),t.forEach((t=>{var i;t.constructor===p?n=t:(i=t,Object.getPrototypeOf(i.constructor)===u?(r&&("undefined"==typeof ngDevMode||ngDevMode)&&de(e,"More than one built-in value accessor matches form control with"),r=t):(s&&("undefined"==typeof ngDevMode||ngDevMode)&&de(e,"More than one custom value accessor matches form control with"),s=t))})),s||r||n||(("undefined"==typeof ngDevMode||ngDevMode)&&de(e,"No valid value accessor for form control with"),null)}function me(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ye(e,t,n,r){var s;"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(console.warn(`\n  It looks like you're using ngModel on the same form field as ${s=e}.\n  Support for using the ngModel input property and ngModelChange event with\n  reactive form directives has been deprecated in Angular v6 and will be removed\n  in a future version of Angular.\n\n  For more information on this, see our API docs here:\n  https://angular.io/api/forms/${"formControl"===s?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n  `),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}const ve="VALID",_e="INVALID",be="PENDING",we="DISABLED";function Ce(e){return(xe(e)?e.validators:e)||null}function De(e){return Array.isArray(e)?R(e):e||null}function Ee(e,t){return(xe(t)?t.asyncValidators:e)||null}function Se(e){return Array.isArray(e)?V(e):e||null}function xe(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Te{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=De(this._rawValidators),this._composedAsyncValidatorFn=Se(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===ve}get invalid(){return this.status===_e}get pending(){return this.status==be}get disabled(){return this.status===we}get enabled(){return this.status!==we}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=De(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Se(e)}addValidators(e){this.setValidators(z(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(z(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(q(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(q(e,this._rawAsyncValidators))}hasValidator(e){return H(this._rawValidators,e)}hasAsyncValidator(e){return H(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((e=>e.markAllAsTouched()))}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((e=>{e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((e=>{e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=be,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=we,this.errors=null,this._forEachChild((t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((e=>e(!0)))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=ve,this._forEachChild((t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((e=>e(!1)))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ve&&this.status!==be||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild((t=>t._updateTreeValidity(e))),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?we:ve}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=be,this._hasOwnPendingAsyncValidator=!0;const t=I(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe((t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach((e=>{r=r instanceof Me?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof Ae&&r.at(e)||null})),r}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?we:this.errors?_e:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(be)?be:this._anyControlsHaveStatus(_e)?_e:ve}_anyControlsHaveStatus(e){return this._anyControls((t=>t.status===e))}_anyControlsDirty(){return this._anyControls((e=>e.dirty))}_anyControlsTouched(){return this._anyControls((e=>e.touched))}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){xe(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}}class ke extends Te{constructor(e=null,t,n){super(Ce(t),Ee(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach((e=>e(this.value,!1!==t.emitViewToModelChange))),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){me(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){me(this._onDisabledChange,e)}_forEachChild(e){}_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(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Me extends Te{constructor(e,t,n){super(Ce(t),Ee(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach((n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach((n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild(((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},((e,t,n)=>(e[n]=t instanceof ke?t.value:t.getRawValue(),e)))}_syncPendingControls(){let e=this._reduceChildren(!1,((e,t)=>!!t._syncPendingControls()||e));return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach((t=>{const n=this.controls[t];n&&e(n,t)}))}_setUpControls(){this._forEachChild((e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},((e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e)))}_reduceChildren(e,t){let n=e;return this._forEachChild(((e,r)=>{n=t(n,e,r)})),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild(((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)}))}}class Ae extends Te{constructor(e,t,n){super(Ce(t),Ee(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach(((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach(((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild(((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map((e=>e instanceof ke?e.value:e.getRawValue()))}clear(e={}){this.controls.length<1||(this._forEachChild((e=>e._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce(((e,t)=>!!t._syncPendingControls()||e),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach(((t,n)=>{e(t,n)}))}_updateValue(){this.value=this.controls.filter((e=>e.enabled||this.disabled)).map((e=>e.value))}_anyControls(e){return this.controls.some((t=>t.enabled&&e(t)))}_setUpControls(){this._forEachChild((e=>this._registerControl(e)))}_checkAllValuesPresent(e){this._forEachChild(((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)}))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Ie={provide:Z,useExisting:(0,r.forwardRef)((()=>Ne))},Oe=(()=>Promise.resolve(null))();let Ne=(()=>{class e extends Z{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.EventEmitter,this.form=new Me({},R(e),V(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Oe.then((()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),ie(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)}))}getControl(e){return this.form.get(e.path)}removeControl(e){Oe.then((()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),me(this._directives,e)}))}addFormGroup(e){Oe.then((()=>{const t=this._findContainer(e.path),n=new Me({});he(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(e){Oe.then((()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)}))}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Oe.then((()=>{this.form.get(e.path).setValue(t)}))}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,pe(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](v,10))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["ɵɵProvidersFeature"]([Ie]),r["ɵɵInheritDefinitionFeature"]]}),e})(),Pe=(()=>{class e extends Z{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return se(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,features:[r["ɵɵInheritDefinitionFeature"]]}),e})();const Fe={provide:Z,useExisting:(0,r.forwardRef)((()=>Re))};let Re=(()=>{class e extends Pe{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){if(!(this._parent instanceof e)&&!(this._parent instanceof Ne)&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`\n    ngModelGroup cannot be used with a parent formGroup directive.\n\n    Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n    ${te}\n\n    Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n    ${ne}`)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Z,5),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](v,10))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r["ɵɵProvidersFeature"]([Fe]),r["ɵɵInheritDefinitionFeature"]]}),e})();const je={provide:G,useExisting:(0,r.forwardRef)((()=>Le))},Ve=(()=>Promise.resolve(null))();let Le=(()=>{class e extends G{constructor(e,t,n,s){super(),this.control=new ke,this._registered=!1,this.update=new r.EventEmitter,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ge(this,s)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),fe(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?se(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_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(){ie(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){if("undefined"==typeof ngDevMode||ngDevMode){if(!(this._parent instanceof Re)&&this._parent instanceof Pe)throw new Error(`\n    ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n    Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n    ${te}\n\n    Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n    ${ne}`);if(!(this._parent instanceof Re||this._parent instanceof Ne))throw new Error(`\n    ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n    formGroup's partner directive "formControlName" instead.  Example:\n\n    ${ee}\n\n    Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n    Example:\n\n    \n  <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n      <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n  </div>\n`)}}_checkName(){if(this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&!this.name&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n    control must be defined as \'standalone\' in ngModelOptions.\n\n    Example 1: <input [(ngModel)]="person.firstName" name="first">\n    Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}_updateValue(e){Ve.then((()=>{this.control.setValue(e,{emitViewToModelChange:!1})}))}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Ve.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()}))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Z,9),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](v,10),r["ɵɵdirectiveInject"](l,10))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,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["ɵɵProvidersFeature"]([je]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),e})(),Be=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const $e={provide:l,useExisting:(0,r.forwardRef)((()=>Ue)),multi:!0};let Ue=(()=>{class e extends u{writeValue(e){const t=null==e?"":e;this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r["ɵɵProvidersFeature"]([$e]),r["ɵɵInheritDefinitionFeature"]]}),e})();const He={provide:l,useExisting:(0,r.forwardRef)((()=>We)),multi:!0};let ze=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({}),e})(),qe=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach((t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)}))}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=(0,r["ɵɵdefineInjectable"])({factory:function(){return new e},token:e,providedIn:ze}),e})(),We=(()=>{class e extends u{constructor(e,t,n,r){super(e,t),this._registry=n,this._injector=r,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(G),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&("undefined"==typeof ngDevMode||ngDevMode)&&function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}(),!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](qe),r["ɵɵdirectiveInject"](r.Injector))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r["ɵɵProvidersFeature"]([He]),r["ɵɵInheritDefinitionFeature"]]}),e})();const Ze={provide:l,useExisting:(0,r.forwardRef)((()=>Ge)),multi:!0};let Ge=(()=>{class e extends u{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r["ɵɵProvidersFeature"]([Ze]),r["ɵɵInheritDefinitionFeature"]]}),e})();const Ke=new r.InjectionToken("NgModelWithFormControlWarning"),Qe={provide:G,useExisting:(0,r.forwardRef)((()=>Ye))};let Ye=(()=>{class e extends G{constructor(e,t,n,s){super(),this._ngModelWarningConfig=s,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=ge(this,n)}set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(re)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&oe(e,this,!1),ie(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}fe(t,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&ye("formControl",e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&oe(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](v,10),r["ɵɵdirectiveInject"](l,10),r["ɵɵdirectiveInject"](Ke,8))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r["ɵɵProvidersFeature"]([Qe]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e})();const Je={provide:Z,useExisting:(0,r.forwardRef)((()=>Xe))};let Xe=(()=>{class e extends Z{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.EventEmitter,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(le(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return ie(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){oe(e.control||null,e,!1),me(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,pe(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach((e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(oe(t||null,e),n instanceof ke&&(ie(n,e),e.control=n))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);he(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);if(t){const n=function(e,t){return le(e,t)}(t,e);n&&t.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){ue(this.form,this),this._oldForm&&le(this._oldForm,this)}_checkFormPresent(){if(!this.form&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n      Example:\n\n      ${ee}`)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](v,10))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["ɵɵProvidersFeature"]([Je]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),e})();const et={provide:Z,useExisting:(0,r.forwardRef)((()=>tt))};let tt=(()=>{class e extends Pe{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){if(st(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n    directive and pass it an existing FormGroup instance (you can create one in your class).\n\n    Example:\n\n    ${te}`)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Z,13),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](v,10))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r["ɵɵProvidersFeature"]([et]),r["ɵɵInheritDefinitionFeature"]]}),e})();const nt={provide:Z,useExisting:(0,r.forwardRef)((()=>rt))};let rt=(()=>{class e extends Z{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return se(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){if(st(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      \n  <div [formGroup]="myGroup">\n    <div formArrayName="cities">\n      <div *ngFor="let city of cityArray.controls; index as i">\n        <input [formControlName]="i">\n      </div>\n    </div>\n  </div>\n\n  In your class:\n\n  this.cityArray = new FormArray([new FormControl(\'SF\')]);\n  this.myGroup = new FormGroup({\n    cities: this.cityArray\n  });')}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Z,13),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](v,10))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r["ɵɵProvidersFeature"]([nt]),r["ɵɵInheritDefinitionFeature"]]}),e})();function st(e){return!(e instanceof tt||e instanceof Xe||e instanceof rt)}const it={provide:G,useExisting:(0,r.forwardRef)((()=>ot))};let ot=(()=>{class e extends G{constructor(e,t,n,s,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ge(this,s)}set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(re)}ngOnChanges(t){this._added||this._setUpControl(),fe(t,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&ye("formControlName",e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return se(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){if("undefined"==typeof ngDevMode||ngDevMode){if(!(this._parent instanceof tt)&&this._parent instanceof Pe)throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n      that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n      Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n      ${te}\n\n      Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n      ${ne}`);if(!(this._parent instanceof tt||this._parent instanceof Xe||this._parent instanceof rt))throw new Error(`formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n    Example:\n\n    ${ee}`)}}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Z,13),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](v,10),r["ɵɵdirectiveInject"](l,10),r["ɵɵdirectiveInject"](Ke,8))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r["ɵɵProvidersFeature"]([it]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e})();const at={provide:l,useExisting:(0,r.forwardRef)((()=>lt)),multi:!0};function ut(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let lt=(()=>{class e extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this.setProperty("selectedIndex",-1);const n=ut(t,e);this.setProperty("value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r["ɵɵProvidersFeature"]([at]),r["ɵɵInheritDefinitionFeature"]]}),e})(),ct=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(ut(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](lt,9))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const ht={provide:l,useExisting:(0,r.forwardRef)((()=>ft)),multi:!0};function dt(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ft=(()=>{class e extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map((e=>this._getOptionId(e)));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),s=this._getOptionValue(r.value);n.push(s)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r["ɵɵProvidersFeature"]([ht]),r["ɵɵInheritDefinitionFeature"]]}),e})(),pt=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(dt(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(dt(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](ft,9))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();function gt(e){return"number"==typeof e?e:parseInt(e,10)}let mt=(()=>{class e{constructor(){this._validator=M}handleChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._validator=this.createValidator(t),this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e}),e})();const yt={provide:y,useExisting:(0,r.forwardRef)((()=>vt)),multi:!0};let vt=(()=>{class e extends mt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>parseFloat(e),this.createValidator=e=>C(e)}ngOnChanges(e){this.handleChanges(e)}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,t){if(2&e){let e;r["ɵɵattribute"]("max",null!==(e=t.max)&&void 0!==e?e:null)}},inputs:{max:"max"},features:[r["ɵɵProvidersFeature"]([yt]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),e})();const _t={provide:y,useExisting:(0,r.forwardRef)((()=>bt)),multi:!0};let bt=(()=>{class e extends mt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>parseFloat(e),this.createValidator=e=>w(e)}ngOnChanges(e){this.handleChanges(e)}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,t){if(2&e){let e;r["ɵɵattribute"]("min",null!==(e=t.min)&&void 0!==e?e:null)}},inputs:{min:"min"},features:[r["ɵɵProvidersFeature"]([_t]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),e})();const wt={provide:y,useExisting:(0,r.forwardRef)((()=>Dt)),multi:!0},Ct={provide:y,useExisting:(0,r.forwardRef)((()=>Et)),multi:!0};let Dt=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?D(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("required",t.required?"":null)},inputs:{required:"required"},features:[r["ɵɵProvidersFeature"]([wt])]}),e})(),Et=(()=>{class e extends Dt{validate(e){return this.required?E(e):null}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("required",t.required?"":null)},features:[r["ɵɵProvidersFeature"]([Ct]),r["ɵɵInheritDefinitionFeature"]]}),e})();const St={provide:y,useExisting:(0,r.forwardRef)((()=>xt)),multi:!0};let xt=(()=>{class e{constructor(){this._enabled=!1}set email(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}validate(e){return this._enabled?S(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r["ɵɵProvidersFeature"]([St])]}),e})();const Tt={provide:y,useExisting:(0,r.forwardRef)((()=>kt)),multi:!0};let kt=(()=>{class e{constructor(){this._validator=M}ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this.enabled()?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=this.enabled()?x(gt(this.minlength)):M}enabled(){return null!=this.minlength}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("minlength",t.enabled()?t.minlength:null)},inputs:{minlength:"minlength"},features:[r["ɵɵProvidersFeature"]([Tt]),r["ɵɵNgOnChangesFeature"]]}),e})();const Mt={provide:y,useExisting:(0,r.forwardRef)((()=>At)),multi:!0};let At=(()=>{class e{constructor(){this._validator=M}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this.enabled()?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=this.enabled()?T(gt(this.maxlength)):M}enabled(){return null!=this.maxlength}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("maxlength",t.enabled()?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r["ɵɵProvidersFeature"]([Mt]),r["ɵɵNgOnChangesFeature"]]}),e})();const It={provide:y,useExisting:(0,r.forwardRef)((()=>Ot)),multi:!0};let Ot=(()=>{class e{constructor(){this._validator=M}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=k(this.pattern)}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[r["ɵɵProvidersFeature"]([It]),r["ɵɵNgOnChangesFeature"]]}),e})();const Nt=[Be,ct,pt,p,Ue,Ge,h,lt,ft,We,J,X,Dt,kt,At,Ot,Et,xt,bt,vt],Pt=[Le,Re,Ne],Ft=[Ye,Xe,ot,tt,rt];let Rt=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({imports:[[ze]]}),e})(),jt=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({imports:[Rt]}),e})(),Vt=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ke,useValue:t.warnOnNgModelWithFormControl}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({imports:[Rt]}),e})(),Lt=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let r,s=null,i=null;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(s=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0):(s=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Me(n,{asyncValidators:i,updateOn:r,validators:s})}control(e,t,n){return new ke(e,t,n)}array(e,t,n){const r=e.map((e=>this._createControl(e)));return new Ae(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach((n=>{t[n]=this._createControl(e[n])})),t}_createControl(e){if(e instanceof ke||e instanceof Me||e instanceof Ae)return e;if(Array.isArray(e)){const t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=(0,r["ɵɵdefineInjectable"])({factory:function(){return new e},token:e,providedIn:Vt}),e})();const Bt=new r.Version("12.2.16")},46237:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ANIMATION_MODULE_TYPE:()=>Rt,BrowserAnimationsModule:()=>Bt,NoopAnimationsModule:()=>$t,ɵAnimationRenderer:()=>It,ɵAnimationRendererFactory:()=>Mt,ɵBrowserAnimationBuilder:()=>Dt,ɵBrowserAnimationFactory:()=>Et,ɵInjectableAnimationEngine:()=>Ot,ɵangular_packages_platform_browser_animations_animations_a:()=>Nt,ɵangular_packages_platform_browser_animations_animations_b:()=>Pt,ɵangular_packages_platform_browser_animations_animations_c:()=>Ft,ɵangular_packages_platform_browser_animations_animations_d:()=>Vt,ɵangular_packages_platform_browser_animations_animations_e:()=>Lt,ɵangular_packages_platform_browser_animations_animations_f:()=>At});var r=n(57826),s=n(15982),i=n(76547);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function u(e){switch(e.length){case 0:return new i.NoopAnimationPlayer;case 1:return e[0];default:return new i["ɵAnimationGroupPlayer"](e)}}function l(e,t,n,r,s={},o={}){const a=[],u=[];let l=-1,c=null;if(r.forEach((e=>{const n=e.offset,r=n==l,h=r&&c||{};Object.keys(e).forEach((n=>{let r=n,u=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),u){case i["ɵPRE_STYLE"]:u=s[n];break;case i.AUTO_STYLE:u=o[n];break;default:u=t.normalizeStyleValue(n,r,u,a)}h[r]=u})),r||u.push(h),c=h,l=n})),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return u}function c(e,t,n,r){switch(t){case"start":e.onStart((()=>r(n&&h(n,"start",e))));break;case"done":e.onDone((()=>r(n&&h(n,"done",e))));break;case"destroy":e.onDestroy((()=>r(n&&h(n,"destroy",e))))}}function h(e,t,n){const r=n.totalTime,s=!!n.disabled,i=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,s),o=e._data;return null!=o&&(i._data=o),i}function d(e,t,n,r,s="",i=0,o){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function f(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function p(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let g=(e,t)=>!1,m=(e,t)=>!1,y=(e,t,n)=>[];const v=a();(v||"undefined"!=typeof Element)&&(g=o()?(e,t)=>{for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:(e,t)=>e.contains(t),m=(()=>{if(v||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):m}})(),y=(e,t,n)=>{let r=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++)r.push(n[e])}else{const n=e.querySelector(t);n&&r.push(n)}return r});let _=null,b=!1;function w(e){_||(_=("undefined"!=typeof document?document.body:null)||{},b=!!_.style&&"WebkitAppearance"in _.style);let t=!0;return _.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in _.style,!t&&b)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in _.style),t}const C=m,D=g,E=y;function S(e){const t={};return Object.keys(e).forEach((n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}let x=(()=>{class e{validateStyleProperty(e){return w(e)}matchesElement(e,t){return C(e,t)}containsElement(e,t){return D(e,t)}query(e,t,n){return E(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,s,o=[],a){return new i.NoopAnimationPlayer(n,r)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),T=(()=>{class e{}return e.NOOP=new x,e})();const k="ng-enter",M="ng-leave",A="ng-trigger",I=".ng-trigger",O="ng-animating",N=".ng-animating";function P(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:F(parseFloat(t[1]),t[2])}function F(e,t){return"s"===t?1e3*e:e}function R(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){const r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let s,i=0,o="";if("string"==typeof e){const n=e.match(r);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};s=F(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(i=F(parseFloat(a),n[4]));const u=n[5];u&&(o=u)}else s=e;if(!n){let n=!1,r=t.length;s<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(r,0,`The provided timing value "${e}" is invalid.`)}return{duration:s,delay:i,easing:o}}(e,t,n)}function j(e,t={}){return Object.keys(e).forEach((n=>{t[n]=e[n]})),t}function V(e,t,n={}){if(t)for(let t in e)n[t]=e[t];else j(e,n);return n}function L(e,t,n){return n?t+":"+n+";":""}function B(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=L(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=L(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function $(e,t,n){e.style&&(Object.keys(t).forEach((r=>{const s=K(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[s]),e.style[s]=t[r]})),a()&&B(e))}function U(e,t){e.style&&(Object.keys(t).forEach((t=>{const n=K(t);e.style[n]=""})),a()&&B(e))}function H(e){return Array.isArray(e)?1==e.length?e[0]:(0,i.sequence)(e):e}const z=new RegExp("{{\\s*(.+?)\\s*}}","g");function q(e){let t=[];if("string"==typeof e){let n;for(;n=z.exec(e);)t.push(n[1]);z.lastIndex=0}return t}function W(e,t,n){const r=e.toString(),s=r.replace(z,((e,r)=>{let s=t[r];return t.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),s=""),s.toString()}));return s==r?e:s}function Z(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const G=/-+([a-z0-9])/g;function K(e){return e.replace(G,((...e)=>e[1].toUpperCase()))}function Q(e,t){return 0===e||0===t}function Y(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let i=t[0],o=[];if(r.forEach((e=>{i.hasOwnProperty(e)||o.push(e),i[e]=n[e]})),o.length)for(var s=1;s<t.length;s++){let n=t[s];o.forEach((function(t){n[t]=X(e,t)}))}}return t}function J(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}function X(e,t){return window.getComputedStyle(e)[t]}const ee="*";function te(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach((e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const s=r[1],i=r[2],o=r[3];t.push(se(s,o));const a=s==ee&&o==ee;"<"!=i[0]||a||t.push(se(o,s))}(e,n,t))):n.push(e),n}const ne=new Set(["true","1"]),re=new Set(["false","0"]);function se(e,t){const n=ne.has(e)||re.has(e),r=ne.has(t)||re.has(t);return(s,i)=>{let o=e==ee||e==s,a=t==ee||t==i;return!o&&n&&"boolean"==typeof s&&(o=s?ne.has(e):re.has(e)),!a&&r&&"boolean"==typeof i&&(a=i?ne.has(t):re.has(t)),o&&a}}const ie=new RegExp("s*:selfs*,?","g");function oe(e,t,n){return new ae(e).build(t,n)}class ae{constructor(e){this._driver=e}build(e,t){const n=new ue(t);return this._resetContextStyleTimingState(n),J(this,H(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const s=[],i=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach((e=>{n.name=e,s.push(this.visitState(n,t))})),n.name=r}else if(1==e.type){const s=this.visitTransition(e,t);n+=s.queryCount,r+=s.depCount,i.push(s)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};if(n.styles.forEach((e=>{if(le(e)){const t=e;Object.keys(t).forEach((e=>{q(t[e]).forEach((e=>{i.hasOwnProperty(e)||s.add(e)}))}))}})),s.size){const n=Z(s.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=J(this,H(e.animation),t);return{type:1,matchers:te(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ce(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map((e=>J(this,e,t))),options:ce(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const s=e.steps.map((e=>{t.currentTime=n;const s=J(this,e,t);return r=Math.max(r,t.currentTime),s}));return t.currentTime=r,{type:3,steps:s,options:ce(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return he(R(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some((e=>"{"==e.charAt(0)&&"{"==e.charAt(1)))){const e=he(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||R(r,t),he(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let s=e.styles?e.styles:(0,i.style)({});if(5==s.type)r=this.visitKeyframes(s,t);else{let s=e.styles,o=!1;if(!s){o=!0;const e={};n.easing&&(e.easing=n.easing),s=(0,i.style)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(s,t);a.isEmptyStep=o,r=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach((e=>{"string"==typeof e?e==i.AUTO_STYLE?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)})):n.push(e.styles);let r=!1,s=null;return n.forEach((e=>{if(le(e)){const t=e,n=t.easing;if(n&&(s=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,s=t.currentTime;n&&s>0&&(s-=n.duration+n.delay),e.styles.forEach((e=>{"string"!=typeof e&&Object.keys(e).forEach((n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=t.collectedStyles[t.currentQuerySelector],o=i[n];let a=!0;o&&(s!=r&&s>=o.startTime&&r<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),a=!1),s=o.startTime),a&&(i[n]={startTime:s,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},s=q(e);s.length&&s.forEach((e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)}))}(e[n],t.options,t.errors)}))}))}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const s=[];let i=!1,o=!1,a=0;const u=e.steps.map((e=>{const n=this._makeStyleAst(e,t);let u=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach((e=>{if(le(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}}));else if(le(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),l=0;return null!=u&&(r++,l=n.offset=u),o=o||l<0||l>1,i=i||l<a,a=l,s.push(l),n}));o&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&t.errors.push("Please ensure that all keyframe offsets are in order");const l=e.steps.length;let c=0;r>0&&r<l?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(c=1/(l-1));const h=l-1,d=t.currentTime,f=t.currentAnimateTimings,p=f.duration;return u.forEach(((e,r)=>{const i=c>0?r==h?1:c*r:s[r],o=i*p;t.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(e,t),e.offset=i,n.styles.push(e)})),n}visitReference(e,t){return{type:8,animation:J(this,H(e.animation),t),options:ce(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ce(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ce(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[s,i]=function(e){const t=!!e.split(/\s*,\s*/).find((e=>":self"==e));return t&&(e=e.replace(ie,"")),[e=e.replace(/@\*/g,I).replace(/@\w+/g,(e=>".ng-trigger-"+e.substr(1))).replace(/:animating/g,N),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+s:s,f(t.collectedStyles,t.currentQuerySelector,{});const o=J(this,H(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:ce(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:R(e.timings,t.errors,!0);return{type:12,animation:J(this,H(e.animation),t),timings:n,options:null}}}class ue{constructor(e){this.errors=e,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}}function le(e){return!Array.isArray(e)&&"object"==typeof e}function ce(e){var t;return e?(e=j(e)).params&&(e.params=(t=e.params)?j(t):null):e={},e}function he(e,t,n){return{duration:e,delay:t,easing:n}}function de(e,t,n,r,s,i,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}class fe{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const pe=new RegExp(":enter","g"),ge=new RegExp(":leave","g");function me(e,t,n,r,s,i={},o={},a,u,l=[]){return(new ye).buildKeyframes(e,t,n,r,s,i,o,a,u,l)}class ye{buildKeyframes(e,t,n,r,s,i,o,a,u,l=[]){u=u||new fe;const c=new _e(e,t,u,r,s,l,[]);c.options=a,c.currentTimeline.setStyles([i],null,c.errors,a),J(this,n,c);const h=c.timelines.filter((e=>e.containsAnimation()));if(h.length&&Object.keys(o).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,c.errors,a)}return h.length?h.map((e=>e.buildKeyframes())):[de(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const s=null!=n.duration?P(n.duration):null,i=null!=n.delay?P(n.delay):null;return 0!==s&&e.forEach((e=>{const n=t.appendInstructionToTimeline(e,s,i);r=Math.max(r,n.duration+n.delay)})),r}visitReference(e,t){t.updateOptions(e.options,!0),J(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ve);const e=P(s.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach((e=>J(this,e,r))),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?P(e.options.delay):0;e.steps.forEach((i=>{const o=t.createSubContext(e.options);s&&o.delayNextStep(s),J(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)})),n.forEach((e=>t.currentTimeline.mergeTimelineCollectedStyles(e))),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return R(t.params?W(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(n.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(s):n.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,s=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach((e=>{const n=e.offset||0;i.forwardTime(n*s),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?P(r.delay):0;s&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ve);let i=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach(((n,r)=>{t.currentQueryIndex=r;const o=t.createSubContext(e.options,n);s&&o.delayNextStep(s),n===t.element&&(a=o.currentTimeline),J(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe();const u=o.currentTimeline.currentTime;i=Math.max(i,u)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,s=e.timings,i=Math.abs(s.duration),o=i*(t.currentQueryTotal-1);let a=i*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const u=t.currentTimeline;a&&u.delayNextStep(a);const l=u.currentTime;J(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}}const ve={};class _e{constructor(e,t,n,r,s,i,o,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ve,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new be(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=P(n.duration)),null!=n.delay&&(r.delay=P(n.delay));const s=n.params;if(s){let e=r.params;e||(e=this.options.params={}),Object.keys(s).forEach((n=>{t&&e.hasOwnProperty(n)||(e[n]=W(s[n],e,this.errors))}))}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach((e=>{n[e]=t[e]}))}}return e}createSubContext(e=null,t,n){const r=t||this.element,s=new _e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=ve,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},s=new we(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,s,i){let o=[];if(r&&o.push(this.element),e.length>0){e=(e=e.replace(pe,"."+this._enterClassName)).replace(ge,"."+this._leaveClassName);const t=1!=n;let r=this._driver.query(this.element,e,t);0!==n&&(r=n<0?r.slice(r.length+n,r.length):r.slice(0,n)),o.push(...r)}return s||0!=o.length||i.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class be{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new be(this._driver,e,t||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(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((e=>{this._backFill[e]=this._globalTimelineStyles[e]||i.AUTO_STYLE,this._currentKeyframe[e]=i.AUTO_STYLE})),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const s=r&&r.params||{},o=function(e,t){const n={};let r;return e.forEach((e=>{"*"===e?(r=r||Object.keys(t),r.forEach((e=>{n[e]=i.AUTO_STYLE}))):V(e,!1,n)})),n}(e,this._globalTimelineStyles);Object.keys(o).forEach((e=>{const t=W(o[e],s,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:i.AUTO_STYLE),this._updateStyle(e,t)}))}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach((t=>{const n=e[t];this._currentKeyframe[t]=n})),Object.keys(this._localTimelineStyles).forEach((e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])})))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach((e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)}))}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach((t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach(((s,o)=>{const a=V(s,!0);Object.keys(a).forEach((n=>{const r=a[n];r==i["ɵPRE_STYLE"]?e.add(n):r==i.AUTO_STYLE&&t.add(n)})),n||(a.offset=o/this.duration),r.push(a)}));const s=e.size?Z(e.values()):[],o=t.size?Z(t.values()):[];if(n){const e=r[0],t=j(e);e.offset=0,t.offset=1,r=[e,t]}return de(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class we extends be{constructor(e,t,n,r,s,i,o=!1){super(e,t,i.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],i=n+t,o=t/i,a=V(e[0],!1);a.offset=0,s.push(a);const u=V(e[0],!1);u.offset=Ce(o),s.push(u);const l=e.length-1;for(let r=1;r<=l;r++){let o=V(e[r],!1);const a=t+o.offset*n;o.offset=Ce(a/i),s.push(o)}n=i,t=0,r="",e=s}return de(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function Ce(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class De{}class Ee extends De{normalizePropertyName(e,t){return K(e)}normalizeStyleValue(e,t,n,r){let s="";const i=n.toString().trim();if(Se[t]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return i+s}}const Se=(()=>function(e){const t={};return e.forEach((e=>t[e]=!0)),t}("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 xe(e,t,n,r,s,i,o,a,u,l,c,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:h,errors:d}}const Te={};class ke{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,s){return e.some((e=>e(t,n,r,s)))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],s=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return s?s.buildStyles(t,n):i}build(e,t,n,r,s,i,o,a,u,l){const c=[],h=this.ast.options&&this.ast.options.params||Te,d=o&&o.params||Te,p=this.buildStyles(n,d,c),g=a&&a.params||Te,m=this.buildStyles(r,g,c),y=new Set,v=new Map,_=new Map,b="void"===r,w={params:Object.assign(Object.assign({},h),g)},C=l?[]:me(e,t,this.ast.animation,s,i,p,m,w,u,c);let D=0;if(C.forEach((e=>{D=Math.max(e.duration+e.delay,D)})),c.length)return xe(t,this._triggerName,n,r,b,p,m,[],[],v,_,D,c);C.forEach((e=>{const n=e.element,r=f(v,n,{});e.preStyleProps.forEach((e=>r[e]=!0));const s=f(_,n,{});e.postStyleProps.forEach((e=>s[e]=!0)),n!==t&&y.add(n)}));const E=Z(y.values());return xe(t,this._triggerName,n,r,b,p,m,C,E,v,_,D)}}class Me{constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){const n={},r=j(this.defaultParams);return Object.keys(e).forEach((t=>{const n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((e=>{if("string"!=typeof e){const s=e;Object.keys(s).forEach((e=>{let i=s[e];i.length>1&&(i=W(i,r,t));const o=this.normalizer.normalizePropertyName(e,t);i=this.normalizer.normalizeStyleValue(e,o,i,t),n[o]=i}))}})),n}}class Ae{constructor(e,t,n){var r,s;this.name=e,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states={},t.states.forEach((e=>{const t=e.options&&e.options.params||{};this.states[e.name]=new Me(e.style,t,n)})),Ie(this.states,"true","1"),Ie(this.states,"false","0"),t.transitions.forEach((t=>{this.transitionFactories.push(new ke(e,t,this.states))})),this.fallbackTransition=(r=e,s=this.states,this._normalizer,new ke(r,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},s))}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find((s=>s.match(e,t,n,r)))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Ie(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Oe=new fe;class Ne{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=oe(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,s=l(this._driver,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],s=this._animations[e];let o;const a=new Map;if(s?(o=me(this._driver,t,s,k,M,{},{},n,Oe,r),o.forEach((e=>{const t=f(a,e.element,{});e.postStyleProps.forEach((e=>t[e]=null))}))):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);a.forEach(((e,t)=>{Object.keys(e).forEach((n=>{e[n]=this._driver.computeStyle(t,n,i.AUTO_STYLE)}))}));const l=u(o.map((e=>{const t=a.get(e.element);return this._buildPlayer(e,{},t)})));return this._playersById[e]=l,l.onDestroy((()=>this.destroy(e))),this.players.push(l),l}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,r){const s=d(t,"","","");return c(this._getPlayer(e),n,s,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n){const n=r[0]||{};return void this.create(e,t,n)}const s=this._getPlayer(e);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Pe="ng-animate-queued",Fe="ng-animate-disabled",Re=".ng-animate-disabled",je=[],Ve={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Le={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Be{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=function(e){return null!=e?e:null}(r),n){const t=j(e);delete t.value,this.options=t}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach((n=>{null==e[n]&&(e[n]=t[n])}))}}}const $e="void",Ue=new Be($e);class He{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Qe(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var s;const i=f(this._elementListeners,e,[]),o={name:t,phase:n,callback:r};i.push(o);const a=f(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Qe(e,A),Qe(e,"ng-trigger-"+t),a[t]=Ue),()=>{this._engine.afterFlush((()=>{const e=i.indexOf(o);e>=0&&i.splice(e,1),this._triggers[t]||delete a[t]}))}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const s=this._getTrigger(t),i=new qe(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(Qe(e,A),Qe(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const u=new Be(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&u.absorbOptions(a.options),o[t]=u,a||(a=Ue),u.value!==$e&&a.value===u.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let r=0;r<n.length;r++){const s=n[r];if(!t.hasOwnProperty(s)||e[s]!==t[s])return!1}return!0}(a.params,u.params)){const t=[],n=s.matchStyles(a.value,a.params,t),r=s.matchStyles(u.value,u.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush((()=>{U(e,n),$(e,r)}))}return}const l=f(this._engine.playersByElement,e,[]);l.forEach((e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()}));let c=s.matchTransition(a.value,u.value,e,u.params),h=!1;if(!c){if(!r)return;c=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:a,toState:u,player:i,isFallbackTransition:h}),h||(Qe(e,Pe),i.onStart((()=>{Ye(e,Pe)}))),i.onDone((()=>{let t=this.players.indexOf(i);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(i);e>=0&&n.splice(e,1)}})),this.players.push(i),l.push(i),i}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach(((t,n)=>{delete t[e]})),this._elementListeners.forEach(((t,n)=>{this._elementListeners.set(n,t.filter((t=>t.name!=e)))}))}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach((e=>e.destroy())),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,I,!0);n.forEach((e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach((n=>n.triggerLeaveAnimation(e,t,!1,!0))):this.clearElementCache(e)})),this._engine.afterFlushAnimationsDone((()=>n.forEach((e=>this.clearElementCache(e)))))}triggerLeaveAnimation(e,t,n,r){const s=this._engine.statesByElement.get(e);if(s){const i=[];if(Object.keys(s).forEach((t=>{if(this._triggers[t]){const n=this.trigger(e,t,$e,r);n&&i.push(n)}})),i.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&u(i).onDone((()=>this._engine.processLeaveNode(e))),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const r=new Set;t.forEach((t=>{const s=t.name;if(r.has(s))return;r.add(s);const i=this._triggers[s].fallbackTransition,o=n[s]||Ue,a=new Be($e),u=new qe(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:i,fromState:o,toState:a,player:u,isFallbackTransition:!0})}))}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Ve||(n.afterFlush((()=>this.clearElementCache(e))),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Qe(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach((n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);i&&i.forEach((t=>{if(t.name==n.triggerName){const r=d(s,n.triggerName,n.fromState.value,n.toState.value);r._data=e,c(n.player,t.phase,r,t.callback)}})),r.markedForDestroy?this._engine.afterFlush((()=>{r.destroy()})):t.push(n)})),this._queue=[],t.sort(((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1}))}destroy(e){this.players.forEach((e=>e.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find((t=>t.element===e))||t,t}}class ze{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,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=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach((t=>{t.players.forEach((t=>{t.queued&&e.push(t)}))})),e}createNamespace(e,t){const n=new He(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let s=n;s>=0;s--){const n=this._namespaceList[s];if(this.driver.containsElement(n.hostElement,t)){this._namespaceList.splice(s+1,0,e),r=!0;break}}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush((()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((()=>n.destroy(t)))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const s=n[e[r]].namespaceId;if(s){const e=this._fetchNamespace(s);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(We(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!We(t))return;const s=t.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Qe(e,Fe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ye(e,Fe))}removeNode(e,t,n,r){if(We(t)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,s){return We(t)?this._fetchNamespace(e).listen(t,n,r,s):()=>{}}_buildInstruction(e,t,n,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,I,!0);t.forEach((e=>this.destroyActiveAnimationsForElement(e))),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,N,!0),t.forEach((e=>this.finishActiveQueriedAnimationOnElement(e))))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach((e=>{e.queued?e.markedForDestroy=!0:e.destroy()}))}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach((e=>e.finish()))}whenRenderingDone(){return new Promise((e=>{if(this.players.length)return u(this.players).onDone((()=>e()));e()}))}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Ve,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Re,!0).forEach((e=>{this.markElementAsDisabled(e,!1)}))}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((e,t)=>this._balanceNamespaceList(e,t))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let e=0;e<this.collectedEnterElements.length;e++)Qe(this.collectedEnterElements[e],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let e=0;e<this.collectedLeaveElements.length;e++){const t=this.collectedLeaveElements[e];this.processLeaveNode(t)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((e=>e())),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?u(t).onDone((()=>{e.forEach((e=>e()))})):e.forEach((e=>e()))}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new fe,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,h=new Set;this.disabledNodes.forEach((e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let e=0;e<t.length;e++)h.add(t[e])}));const d=this.bodyNode,p=Array.from(this.statesByElement.keys()),g=Ke(p,this.collectedEnterElements),m=new Map;let y=0;g.forEach(((e,t)=>{const n=k+y++;m.set(t,n),e.forEach((e=>Qe(e,n)))}));const v=[],_=new Set,b=new Set;for(let e=0;e<this.collectedLeaveElements.length;e++){const t=this.collectedLeaveElements[e],n=t.__ng_removed;n&&n.setForRemoval&&(v.push(t),_.add(t),n.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach((e=>_.add(e))):b.add(t))}const w=new Map,C=Ke(p,Array.from(_));C.forEach(((e,t)=>{const n=M+y++;w.set(t,n),e.forEach((e=>Qe(e,n)))})),e.push((()=>{g.forEach(((e,t)=>{const n=m.get(t);e.forEach((e=>Ye(e,n)))})),C.forEach(((e,t)=>{const n=w.get(t);e.forEach((e=>Ye(e,n)))})),v.forEach((e=>{this.processLeaveNode(e)}))}));const D=[],E=[];for(let e=this._namespaceList.length-1;e>=0;e--)this._namespaceList[e].drainQueuedTransitions(t).forEach((e=>{const t=e.player,s=e.element;if(D.push(t),this.collectedEnterElements.length){const e=s.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const i=!d||!this.driver.containsElement(d,s),u=w.get(s),h=m.get(s),p=this._buildInstruction(e,n,h,u,i);if(p.errors&&p.errors.length)return void E.push(p);if(i)return t.onStart((()=>U(s,p.fromStyles))),t.onDestroy((()=>$(s,p.toStyles))),void r.push(t);if(e.isFallbackTransition)return t.onStart((()=>U(s,p.fromStyles))),t.onDestroy((()=>$(s,p.toStyles))),void r.push(t);p.timelines.forEach((e=>e.stretchStartingKeyframe=!0)),n.append(s,p.timelines);const g={instruction:p,player:t,element:s};o.push(g),p.queriedElements.forEach((e=>f(a,e,[]).push(t))),p.preStyleProps.forEach(((e,t)=>{const n=Object.keys(e);if(n.length){let e=l.get(t);e||l.set(t,e=new Set),n.forEach((t=>e.add(t)))}})),p.postStyleProps.forEach(((e,t)=>{const n=Object.keys(e);let r=c.get(t);r||c.set(t,r=new Set),n.forEach((e=>r.add(e)))}))}));if(E.length){const e=[];E.forEach((t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach((t=>e.push(`- ${t}\n`)))})),D.forEach((e=>e.destroy())),this.reportError(e)}const S=new Map,x=new Map;o.forEach((e=>{const t=e.element;n.has(t)&&(x.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,S))})),r.forEach((e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((e=>{f(S,t,[]).push(e),e.destroy()}))}));const T=v.filter((e=>et(e,l,c))),A=new Map;Ge(A,this.driver,b,c,i.AUTO_STYLE).forEach((e=>{et(e,l,c)&&T.push(e)}));const I=new Map;g.forEach(((e,t)=>{Ge(I,this.driver,new Set(e),l,i["ɵPRE_STYLE"])})),T.forEach((e=>{const t=A.get(e),n=I.get(e);A.set(e,Object.assign(Object.assign({},t),n))}));const O=[],P=[],F={};o.forEach((e=>{const{element:t,player:i,instruction:o}=e;if(n.has(t)){if(h.has(t))return i.onDestroy((()=>$(t,o.toStyles))),i.disabled=!0,i.overrideTotalTime(o.totalTime),void r.push(i);let e=F;if(x.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=x.get(n);if(t){e=t;break}r.push(n)}r.forEach((t=>x.set(t,e)))}const n=this._buildAnimation(i.namespaceId,o,S,s,I,A);if(i.setRealPlayer(n),e===F)O.push(i);else{const t=this.playersByElement.get(e);t&&t.length&&(i.parentPlayer=u(t)),r.push(i)}}else U(t,o.fromStyles),i.onDestroy((()=>$(t,o.toStyles))),P.push(i),h.has(t)&&r.push(i)})),P.forEach((e=>{const t=s.get(e.element);if(t&&t.length){const n=u(t);e.setRealPlayer(n)}})),r.forEach((e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(let e=0;e<v.length;e++){const t=v[e],n=t.__ng_removed;if(Ye(t,M),n&&n.hasAnimation)continue;let r=[];if(a.size){let e=a.get(t);e&&e.length&&r.push(...e);let n=this.driver.query(t,N,!0);for(let e=0;e<n.length;e++){let t=a.get(n[e]);t&&t.length&&r.push(...t)}}const s=r.filter((e=>!e.destroyed));s.length?Je(this,t,s):this.processLeaveNode(t)}return v.length=0,O.forEach((e=>{this.players.push(e),e.onDone((()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)})),e.play()})),O}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,s){let i=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(i=t)}else{const t=this.playersByElement.get(e);if(t){const e=!s||s==$e;t.forEach((t=>{t.queued||(e||t.triggerName==r)&&i.push(t)}))}}return(n||r)&&(i=i.filter((e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName)))),i}_beforeAnimationBuild(e,t,n){const r=t.triggerName,s=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:r;for(const e of t.timelines){const r=e.element,a=r!==s,u=f(n,r,[]);this._getPreviousPlayers(r,a,i,o,t.toState).forEach((e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),u.push(e)}))}U(s,t.fromStyles)}_buildAnimation(e,t,n,r,s,o){const a=t.triggerName,c=t.element,h=[],d=new Set,p=new Set,g=t.timelines.map((t=>{const u=t.element;d.add(u);const f=u.__ng_removed;if(f&&f.removedBeforeQueried)return new i.NoopAnimationPlayer(t.duration,t.delay);const g=u!==c,m=function(e){const t=[];return Xe(e,t),t}((n.get(u)||je).map((e=>e.getRealPlayer()))).filter((e=>{const t=e;return!!t.element&&t.element===u})),y=s.get(u),v=o.get(u),_=l(this.driver,this._normalizer,0,t.keyframes,y,v),b=this._buildPlayer(t,_,m);if(t.subTimeline&&r&&p.add(u),g){const t=new qe(e,a,u);t.setRealPlayer(b),h.push(t)}return b}));h.forEach((e=>{f(this.playersByQueriedElement,e.element,[]).push(e),e.onDone((()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e)))})),d.forEach((e=>Qe(e,O)));const m=u(g);return m.onDestroy((()=>{d.forEach((e=>Ye(e,O))),$(c,t.toStyles)})),p.forEach((e=>{f(r,e,[]).push(m)})),m}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new i.NoopAnimationPlayer(e.duration,e.delay)}}class qe{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new i.NoopAnimationPlayer,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((t=>{this._queuedCallbacks[t].forEach((n=>c(e,t,void 0,n)))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart((()=>t.triggerCallback("start"))),e.onDone((()=>this.finish())),e.onDestroy((()=>this.destroy()))}_queueEvent(e,t){f(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function We(e){return e&&1===e.nodeType}function Ze(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Ge(e,t,n,r,s){const i=[];n.forEach((e=>i.push(Ze(e))));const o=[];r.forEach(((n,r)=>{const i={};n.forEach((e=>{const n=i[e]=t.computeStyle(r,e,s);n&&0!=n.length||(r.__ng_removed=Le,o.push(r))})),e.set(r,i)}));let a=0;return n.forEach((e=>Ze(e,i[a++]))),o}function Ke(e,t){const n=new Map;if(e.forEach((e=>n.set(e,[]))),0==t.length)return n;const r=new Set(t),s=new Map;function i(e){if(!e)return 1;let t=s.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:r.has(o)?1:i(o),s.set(e,t),t}return t.forEach((e=>{const t=i(e);1!==t&&n.get(t).push(e)})),n}function Qe(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ye(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Je(e,t,n){u(n).onDone((()=>e.processLeaveNode(t)))}function Xe(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof i["ɵAnimationGroupPlayer"]?Xe(r.players,t):t.push(r)}}function et(e,t,n){const r=n.get(e);if(!r)return!1;let s=t.get(e);return s?r.forEach((e=>s.add(e))):t.set(e,r),n.delete(e),!0}class tt{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new ze(e,t,n),this._timelineEngine=new Ne(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,s){const i=e+"-"+r;let o=this._triggerCache[i];if(!o){const e=[],t=oe(this._driver,s,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t,n){return new Ae(e,t,n)}(r,t,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,r,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,s]=p(n),i=r;this._timelineEngine.command(e,t,s,i)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,s){if("@"==n.charAt(0)){const[e,r]=p(n);return this._timelineEngine.listen(e,t,r,s)}return this._transitionEngine.listen(e,t,n,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function nt(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=st(t[0]),t.length>1&&(r=st(t[t.length-1]))):t&&(n=st(t)),n||r?new rt(e,n,r):null}let rt=(()=>{class e{constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let s=e.initialStylesByElement.get(t);s||e.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&$(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($(this._element,this._initialStyles),this._endStyles&&($(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(U(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),$(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function st(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const s=n[r];it(s)&&(t=t||{},t[s]=e[s])}return t}function it(e){return"display"===e||"position"===e}const ot="animation",at="animationend";class ut{constructor(e,t,n,r,s,i,o){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=s,this._fillMode=i,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=pt(e,"").trim();let r=0;n.length&&(function(e,t){let n=0;for(let t=0;t<e.length;t++)","===e.charAt(t)&&n++;return n}(n)+1,t=`${n}, ${t}`),ft(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),dt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){lt(this._element,this._name,"paused")}resume(){lt(this._element,this._name,"running")}setPosition(e){const t=ct(this._element,this._name);this._position=e*this._duration,ft(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),dt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=pt(e,"").split(","),r=ht(n,t);r>=0&&(n.splice(r,1),ft(e,"",n.join(",")))}(this._element,this._name))}}function lt(e,t,n){ft(e,"PlayState",n,ct(e,t))}function ct(e,t){const n=pt(e,"");return n.indexOf(",")>0?ht(n.split(","),t):ht([n],t)}function ht(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function dt(e,t,n){n?e.removeEventListener(at,t):e.addEventListener(at,t)}function ft(e,t,n,r){const s=ot+t;if(null!=r){const t=e.style[s];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[s]=n}function pt(e,t){return e.style[ot+t]||""}class gt{constructor(e,t,n,r,s,i,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=r+s,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((e=>e())),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach((e=>e())),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach((e=>e())),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this.element,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ut(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(()=>this.finish()))}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach((n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:X(this.element,n))}))}this.currentSnapshot=e}}class mt extends i.NoopAnimationPlayer{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=S(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((e=>{this._startingStyles[e]=this.element.style[e]})),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((e=>this.element.style.setProperty(e,this._styles[e]))),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach((e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)})),this._startingStyles=null,super.destroy())}}class yt{constructor(){this._count=0}validateStyleProperty(e){return w(e)}matchesElement(e,t){return C(e,t)}containsElement(e,t){return D(e,t)}query(e,t,n){return E(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map((e=>S(e)));let r=`@keyframes ${t} {\n`,s="";n.forEach((e=>{s=" ";const t=parseFloat(e.offset);r+=`${s}${100*t}% {\n`,s+=" ",Object.keys(e).forEach((t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${s}animation-timing-function: ${n};\n`));default:return void(r+=`${s}${t}: ${n};\n`)}})),r+=`${s}}\n`})),r+="}\n";const i=document.createElement("style");return i.textContent=r,i}animate(e,t,n,r,s,i=[],o){("undefined"==typeof ngDevMode||ngDevMode)&&o&&(vt||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit https://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),vt=!0));const a=i.filter((e=>e instanceof gt)),u={};Q(n,r)&&a.forEach((e=>{let t=e.currentSnapshot;Object.keys(t).forEach((e=>u[e]=t[e]))}));const l=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach((e=>{Object.keys(e).forEach((n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=Y(e,t,u));if(0==n)return new mt(e,l);const c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,c,t),d=function(e){var t;const n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head}(e);d.appendChild(h);const f=nt(e,t),p=new gt(e,t,c,n,r,s,l,f);return p.onDestroy((()=>{var e;(e=h).parentNode.removeChild(e)})),p}}let vt=!1;class _t{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((e=>e())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((e=>e())),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((e=>e())),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:X(this.element,t))})),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}}class bt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(wt().toString()),this._cssKeyframesDriver=new yt}validateStyleProperty(e){return w(e)}matchesElement(e,t){return C(e,t)}containsElement(e,t){return D(e,t)}query(e,t,n){return E(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,s,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,s,i);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};s&&(a.easing=s);const u={},l=i.filter((e=>e instanceof _t));Q(n,r)&&l.forEach((e=>{let t=e.currentSnapshot;Object.keys(t).forEach((e=>u[e]=t[e]))}));const c=nt(e,t=Y(e,t=t.map((e=>V(e,!1))),u));return new _t(e,t,a,c)}}function wt(){return o()&&Element.prototype.animate||{}}var Ct=n(6856);let Dt=(()=>{class e extends i.AnimationBuilder{constructor(e,t){super(),this._nextAnimationId=0;const n={id:"0",encapsulation:r.ViewEncapsulation.None,styles:[],data:{animation:[]}};this._renderer=e.createRenderer(t.body,n)}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?(0,i.sequence)(e):e;return xt(this._renderer,null,t,"register",[n]),new Et(t,this._renderer)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.RendererFactory2),r["ɵɵinject"](Ct.DOCUMENT))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class Et extends i.AnimationFactory{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new St(this._id,e,t||{},this._renderer)}}class St{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return xt(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}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(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function xt(e,t,n,r,s){return e.setProperty(t,`@@${n}:${r}`,s)}const Tt="@",kt="@.disabled";let Mt=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new At("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const i=t=>{Array.isArray(t)?t.forEach(i):this.engine.registerTrigger(r,s,e,t.name,t)};return t.data.animation.forEach(i),new It(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run((()=>t(n))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((e=>{const[t,n]=e;t(n)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([t,n]))}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 e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.RendererFactory2),r["ɵɵinject"](tt),r["ɵɵinject"](r.NgZone))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class At{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Tt&&t==kt?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class It extends At{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Tt?"."==t.charAt(1)&&t==kt?(n=void 0===n||!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Tt){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let s=t.substr(1),i="";return s.charAt(0)!=Tt&&([s,i]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,(e=>{const t=e._data||-1;this.factory.scheduleListenerCallback(t,n,e)}))}return this.delegate.listen(e,t,n)}}let Ot=(()=>{class e extends tt{constructor(e,t,n){super(e.body,t,n)}ngOnDestroy(){this.flush()}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](Ct.DOCUMENT),r["ɵɵinject"](T),r["ɵɵinject"](De))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function Nt(){return"function"==typeof wt()?new bt:new yt}function Pt(){return new Ee}function Ft(e,t,n){return new Mt(e,t,n)}const Rt=new r.InjectionToken("AnimationModuleType"),jt=[{provide:i.AnimationBuilder,useClass:Dt},{provide:De,useFactory:Pt},{provide:tt,useClass:Ot},{provide:r.RendererFactory2,useFactory:Ft,deps:[s["ɵDomRendererFactory2"],tt,r.NgZone]}],Vt=[{provide:T,useFactory:Nt},{provide:Rt,useValue:"BrowserAnimations"},...jt],Lt=[{provide:T,useClass:x},{provide:Rt,useValue:"NoopAnimations"},...jt];let Bt=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?Lt:Vt}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:Vt,imports:[s.BrowserModule]}),e})(),$t=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:Lt,imports:[s.BrowserModule]}),e})()},39075:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BrowserModule:()=>pe,BrowserTransferStateModule:()=>Ie,By:()=>Oe,DomSanitizer:()=>ne,EVENT_MANAGER_PLUGINS:()=>w,EventManager:()=>C,HAMMER_GESTURE_CONFIG:()=>H,HAMMER_LOADER:()=>z,HammerGestureConfig:()=>q,HammerModule:()=>Q,Meta:()=>me,Title:()=>_e,TransferState:()=>Me,VERSION:()=>Ne,disableDebugTools:()=>xe,enableDebugTools:()=>Se,makeStateKey:()=>ke,platformBrowser:()=>de,ɵBROWSER_SANITIZATION_PROVIDERS:()=>he,ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__:()=>ce,ɵBrowserDomAdapter:()=>o,ɵBrowserGetTestability:()=>d,ɵDomEventsPlugin:()=>$,ɵDomRendererFactory2:()=>F,ɵDomSanitizerImpl:()=>se,ɵDomSharedStylesHost:()=>S,ɵELEMENT_PROBE_PROVIDERS:()=>b,ɵELEMENT_PROBE_PROVIDERS__POST_R3__:()=>v,ɵHAMMER_PROVIDERS__POST_R3__:()=>Z,ɵHammerGesturesPlugin:()=>W,ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>le,ɵKeyEventsPlugin:()=>te,ɵNAMESPACE_URIS:()=>T,ɵSharedStylesHost:()=>E,ɵTRANSITION_ID:()=>l,ɵangular_packages_platform_browser_platform_browser_a:()=>oe,ɵangular_packages_platform_browser_platform_browser_b:()=>ae,ɵangular_packages_platform_browser_platform_browser_c:()=>fe,ɵangular_packages_platform_browser_platform_browser_d:()=>ge,ɵangular_packages_platform_browser_platform_browser_e:()=>ve,ɵangular_packages_platform_browser_platform_browser_f:()=>Ae,ɵangular_packages_platform_browser_platform_browser_g:()=>D,ɵangular_packages_platform_browser_platform_browser_h:()=>G,ɵangular_packages_platform_browser_platform_browser_i:()=>K,ɵangular_packages_platform_browser_platform_browser_j:()=>re,ɵangular_packages_platform_browser_platform_browser_k:()=>c,ɵangular_packages_platform_browser_platform_browser_l:()=>h,ɵangular_packages_platform_browser_platform_browser_m:()=>y,ɵangular_packages_platform_browser_platform_browser_n:()=>_,ɵangular_packages_platform_browser_platform_browser_o:()=>f,ɵangular_packages_platform_browser_platform_browser_p:()=>i,ɵescapeHtml:()=>Te,ɵflattenStyles:()=>O,ɵgetDOM:()=>r["ɵgetDOM"],ɵinitDomAdapter:()=>ie,ɵshimContentAttribute:()=>A,ɵshimHostAttribute:()=>I});var r=n(6856),s=n(57826);class i extends r["ɵDomAdapter"]{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends i{static makeCurrent(){(0,r["ɵsetRootDomAdapter"])(new o)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(u=u||document.querySelector("base"),u?u.getAttribute("href"):null);return null==t?null:function(e){a=a||document.createElement("a"),a.setAttribute("href",e);const t=a.pathname;return"/"===t.charAt(0)?t:`/${t}`}(t)}resetBaseElement(){u=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return(0,r["ɵparseCookieValue"])(document.cookie,e)}}let a,u=null;const l=new s.InjectionToken("TRANSITION_ID");function c(e,t,n){return()=>{n.get(s.ApplicationInitStatus).donePromise.then((()=>{const n=(0,r["ɵgetDOM"])(),s=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let e=0;e<s.length;e++)n.remove(s[e])}))}}const h=[{provide:s.APP_INITIALIZER,useFactory:c,deps:[l,r.DOCUMENT,s.Injector],multi:!0}];class d{static init(){(0,s.setTestabilityGetter)(new d)}addToWindow(e){s["ɵglobal"].getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},s["ɵglobal"].getAllAngularTestabilities=()=>e.getAllTestabilities(),s["ɵglobal"].getAllAngularRootElements=()=>e.getAllRootElements(),s["ɵglobal"].frameworkStabilizers||(s["ɵglobal"].frameworkStabilizers=[]),s["ɵglobal"].frameworkStabilizers.push((e=>{const t=s["ɵglobal"].getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))}findTestabilityInTree(e,t,n){if(null==t)return null;const s=e.getTestability(t);return null!=s?s:n?(0,r["ɵgetDOM"])().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let f=(()=>{class e{build(){return new XMLHttpRequest}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function p(e,t){"undefined"!=typeof COMPILED&&COMPILED||((s["ɵglobal"].ng=s["ɵglobal"].ng||{})[e]=t)}const g=(()=>({ApplicationRef:s.ApplicationRef,NgZone:s.NgZone}))();function m(e){return(0,s["ɵgetDebugNodeR2"])(e)}function y(e){return p("probe",m),p("coreTokens",Object.assign(Object.assign({},g),(e||[]).reduce(((e,t)=>(e[t.name]=t.token,e)),{}))),()=>m}const v=[],_=[{provide:s.APP_INITIALIZER,useFactory:y,deps:[[s.NgProbeToken,new s.Optional]],multi:!0}],b=v,w=new s.InjectionToken("EventManagerPlugins");let C=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach((e=>e.manager=this)),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let t=0;t<n.length;t++){const r=n[t];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error(`No event manager plugin found for event ${e}`)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](w),s["ɵɵinject"](s.NgZone))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class D{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const s=(0,r["ɵgetDOM"])().getGlobalEventTarget(this._doc,e);if(!s)throw new Error(`Unsupported event target ${s} for event ${t}`);return this.addEventListener(s,t,n)}}let E=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach((e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))})),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),S=(()=>{class e extends E{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,n){e.forEach((e=>{const r=this._doc.createElement("style");r.textContent=e,n.push(t.appendChild(r))}))}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(x),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(((t,n)=>{this._addStylesToHost(e,n,t)}))}ngOnDestroy(){this._hostNodes.forEach((e=>e.forEach(x)))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.DOCUMENT))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function x(e){(0,r["ɵgetDOM"])().remove(e)}const T={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/"},k=/%COMP%/g,M="undefined"==typeof ngDevMode||!!ngDevMode;function A(e){return"_ngcontent-%COMP%".replace(k,e)}function I(e){return"_nghost-%COMP%".replace(k,e)}function O(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?O(e,s,n):(s=s.replace(k,e),n.push(s))}return n}function N(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let P=!1,F=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new R(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case s.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new L(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case s.ViewEncapsulation.ShadowDom:return"undefined"!=typeof ngDevMode&&!ngDevMode||P||1!==t.encapsulation||(P=!0,console.warn("ViewEncapsulation.Native is no longer supported. Falling back to ViewEncapsulation.ShadowDom. The fallback will be removed in v12.")),new B(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=O(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](C),s["ɵɵinject"](S),s["ɵɵinject"](s.APP_ID))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class R{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(T[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=T[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=T[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(s.RendererStyleFlags2.DashCase|s.RendererStyleFlags2.Important)?e.style.setProperty(t,n,r&s.RendererStyleFlags2.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&s.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){M&&V(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return M&&V(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,N(n)):this.eventManager.addEventListener(e,t,N(n))}}const j=(()=>"@".charCodeAt(0))();function V(e,t){if(e.charCodeAt(0)===j)throw new Error(`Unexpected synthetic ${t} ${e} found. Please make sure that:\n  - Either \`BrowserAnimationsModule\` or \`NoopAnimationsModule\` are imported in your application.\n  - There is corresponding configuration for the animation named \`${e}\` defined in the \`animations\` field of the \`@Component\` decorator (see https://angular.io/api/core/Component#animations).`)}class L extends R{constructor(e,t,n,r){super(e),this.component=n;const s=O(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=A(r+"-"+n.id),this.hostAttr=I(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class B extends R{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=O(r.id,r.styles,[]);for(let e=0;e<s.length;e++){const t=document.createElement("style");t.textContent=s[e],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let $=(()=>{class e extends D{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.DOCUMENT))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const U={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},H=new s.InjectionToken("HammerGestureConfig"),z=new s.InjectionToken("HammerLoader");let q=(()=>{class e{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),W=(()=>{class e extends D{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r,this._loaderPromise=null}supports(e){return!(!U.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(("undefined"==typeof ngDevMode||ngDevMode)&&this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let r=!1,s=()=>{r=!0};return this._loaderPromise.then((()=>{if(!window.Hammer)return("undefined"==typeof ngDevMode||ngDevMode)&&this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=()=>{});r||(s=this.addEventListener(e,t,n))})).catch((()=>{("undefined"==typeof ngDevMode||ngDevMode)&&this.console.warn(`The "${t}" event cannot be bound because the custom Hammer.JS loader failed.`),s=()=>{}})),()=>{s()}}return r.runOutsideAngular((()=>{const s=this._config.buildHammer(e),i=function(e){r.runGuarded((function(){n(e)}))};return s.on(t,i),()=>{s.off(t,i),"function"==typeof s.destroy&&s.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.DOCUMENT),s["ɵɵinject"](H),s["ɵɵinject"](s["ɵConsole"]),s["ɵɵinject"](z,8))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const Z=[],G=[{provide:w,useClass:W,multi:!0,deps:[r.DOCUMENT,H,s["ɵConsole"],[new s.Optional,z]]},{provide:H,useClass:q,deps:[]}],K=Z;let Q=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:G}),e})();const Y=["alt","control","meta","shift"],J={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},X={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},ee={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let te=(()=>{class e extends D{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,s){const i=e.parseEventName(n),o=e.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,r["ɵgetDOM"])().onAndCancel(t,i.domEventName,o)))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let i="";if(Y.forEach((e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")})),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&X.hasOwnProperty(t)&&(t=X[t]))}return J[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Y.forEach((r=>{r!=n&&(0,ee[r])(e)&&(t+=r+".")})),t+=n,t}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded((()=>n(s)))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.DOCUMENT))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),ne=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=(0,s["ɵɵdefineInjectable"])({factory:function(){return(0,s["ɵɵinject"])(se)},token:e,providedIn:"root"}),e})();function re(e){return new se(e.get(r.DOCUMENT))}let se=(()=>{class e extends ne{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case s.SecurityContext.NONE:return t;case s.SecurityContext.HTML:return(0,s["ɵallowSanitizationBypassAndThrow"])(t,"HTML")?(0,s["ɵunwrapSafeValue"])(t):(0,s["ɵ_sanitizeHtml"])(this._doc,String(t)).toString();case s.SecurityContext.STYLE:return(0,s["ɵallowSanitizationBypassAndThrow"])(t,"Style")?(0,s["ɵunwrapSafeValue"])(t):t;case s.SecurityContext.SCRIPT:if((0,s["ɵallowSanitizationBypassAndThrow"])(t,"Script"))return(0,s["ɵunwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case s.SecurityContext.URL:return(0,s["ɵgetSanitizationBypassType"])(t),(0,s["ɵallowSanitizationBypassAndThrow"])(t,"URL")?(0,s["ɵunwrapSafeValue"])(t):(0,s["ɵ_sanitizeUrl"])(String(t));case s.SecurityContext.RESOURCE_URL:if((0,s["ɵallowSanitizationBypassAndThrow"])(t,"ResourceURL"))return(0,s["ɵunwrapSafeValue"])(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,s["ɵbypassSanitizationTrustHtml"])(e)}bypassSecurityTrustStyle(e){return(0,s["ɵbypassSanitizationTrustStyle"])(e)}bypassSecurityTrustScript(e){return(0,s["ɵbypassSanitizationTrustScript"])(e)}bypassSecurityTrustUrl(e){return(0,s["ɵbypassSanitizationTrustUrl"])(e)}bypassSecurityTrustResourceUrl(e){return(0,s["ɵbypassSanitizationTrustResourceUrl"])(e)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.DOCUMENT))},e.ɵprov=(0,s["ɵɵdefineInjectable"])({factory:function(){return re((0,s["ɵɵinject"])(s.INJECTOR))},token:e,providedIn:"root"}),e})();function ie(){o.makeCurrent(),d.init()}function oe(){return new s.ErrorHandler}function ae(){return(0,s["ɵsetDocument"])(document),document}const ue=r["ɵPLATFORM_BROWSER_ID"],le=[{provide:s.PLATFORM_ID,useValue:ue},{provide:s.PLATFORM_INITIALIZER,useValue:ie,multi:!0},{provide:r.DOCUMENT,useFactory:ae,deps:[]}],ce=(s.Sanitizer,r.DOCUMENT,[]),he=ce,de=(0,s.createPlatformFactory)(s.platformCore,"browser",le),fe=[he,{provide:s["ɵINJECTOR_SCOPE"],useValue:"root"},{provide:s.ErrorHandler,useFactory:oe,deps:[]},{provide:w,useClass:$,multi:!0,deps:[r.DOCUMENT,s.NgZone,s.PLATFORM_ID]},{provide:w,useClass:te,multi:!0,deps:[r.DOCUMENT]},K,{provide:F,useClass:F,deps:[C,S,s.APP_ID]},{provide:s.RendererFactory2,useExisting:F},{provide:E,useExisting:S},{provide:S,useClass:S,deps:[r.DOCUMENT]},{provide:s.Testability,useClass:s.Testability,deps:[s.NgZone]},{provide:C,useClass:C,deps:[w,s.NgZone]},{provide:r.XhrFactory,useClass:f,deps:[]},b];let pe=(()=>{class e{constructor(e){if(e)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(t){return{ngModule:e,providers:[{provide:s.APP_ID,useValue:t.appId},{provide:l,useExisting:s.APP_ID},h]}}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](e,12))},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:fe,imports:[r.CommonModule,s.ApplicationModule]}),e})();function ge(){return new me((0,s["ɵɵinject"])(r.DOCUMENT))}let me=(()=>{class e{constructor(e){this._doc=e,this._dom=(0,r["ɵgetDOM"])()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce(((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e)),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter((t=>this._containsAttributes(e,t)))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach((n=>t.setAttribute(this._getMetaKeyMap(n),e[n]))),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every((n=>t.getAttribute(this._getMetaKeyMap(n))===e[n]))}_getMetaKeyMap(e){return ye[e]||e}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.DOCUMENT))},e.ɵprov=(0,s["ɵɵdefineInjectable"])({factory:ge,token:e,providedIn:"root"}),e})();const ye={httpEquiv:"http-equiv"};function ve(){return new _e((0,s["ɵɵinject"])(r.DOCUMENT))}let _e=(()=>{class e{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.DOCUMENT))},e.ɵprov=(0,s["ɵɵdefineInjectable"])({factory:ve,token:e,providedIn:"root"}),e})();const be="undefined"!=typeof window&&window||{};class we{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class Ce{constructor(e){this.appRef=e.injector.get(s.ApplicationRef)}timeChangeDetection(e){const t=e&&e.record,n="Change Detection",r=null!=be.console.profile;t&&r&&be.console.profile(n);const s=De();let i=0;for(;i<5||De()-s<500;)this.appRef.tick(),i++;const o=De();t&&r&&be.console.profileEnd(n);const a=(o-s)/i;return be.console.log(`ran ${i} change detection cycles`),be.console.log(`${a.toFixed(2)} ms per check`),new we(a,i)}}function De(){return be.performance&&be.performance.now?be.performance.now():(new Date).getTime()}const Ee="profiler";function Se(e){return p(Ee,new Ce(e)),e}function xe(){p(Ee,null)}function Te(e){const t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,(e=>t[e]))}function ke(e){return e}let Me=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static init(t){const n=new e;return n.store=t,n}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function Ae(e,t){const n=e.getElementById(t+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,(e=>t[e]))}(n.textContent))}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return Me.init(r)}let Ie=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:[{provide:Me,useFactory:Ae,deps:[r.DOCUMENT,s.APP_ID]}]}),e})();class Oe{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){return!!(0,r["ɵgetDOM"])().isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}}const Ne=new s.Version("12.2.16")},39895:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ActivatedRoute:()=>pe,ActivatedRouteSnapshot:()=>me,ActivationEnd:()=>C,ActivationStart:()=>w,BaseRouteReuseStrategy:()=>xt,ChildActivationEnd:()=>b,ChildActivationStart:()=>_,ChildrenOutletContexts:()=>It,DefaultUrlSerializer:()=>W,GuardsCheckEnd:()=>p,GuardsCheckStart:()=>f,NavigationCancel:()=>c,NavigationEnd:()=>l,NavigationError:()=>h,NavigationStart:()=>u,NoPreloading:()=>Kt,OutletContext:()=>At,PRIMARY_OUTLET:()=>E,PreloadAllModules:()=>Gt,PreloadingStrategy:()=>Zt,ROUTER_CONFIGURATION:()=>Jt,ROUTER_INITIALIZER:()=>pn,ROUTES:()=>kt,ResolveEnd:()=>m,ResolveStart:()=>g,RouteConfigLoadEnd:()=>v,RouteConfigLoadStart:()=>y,RouteReuseStrategy:()=>St,Router:()=>Lt,RouterEvent:()=>a,RouterLink:()=>$t,RouterLinkActive:()=>zt,RouterLinkWithHref:()=>Ut,RouterModule:()=>nn,RouterOutlet:()=>qt,RouterPreloader:()=>Qt,RouterState:()=>de,RouterStateSnapshot:()=>ye,RoutesRecognized:()=>d,Scroll:()=>D,UrlHandlingStrategy:()=>Ot,UrlSegment:()=>H,UrlSegmentGroup:()=>U,UrlSerializer:()=>q,UrlTree:()=>$,VERSION:()=>mn,convertToParamMap:()=>x,provideRoutes:()=>an,ɵEmptyOutletComponent:()=>He,ɵROUTER_PROVIDERS:()=>en,ɵangular_packages_router_router_a:()=>Xt,ɵangular_packages_router_router_b:()=>tn,ɵangular_packages_router_router_c:()=>rn,ɵangular_packages_router_router_d:()=>sn,ɵangular_packages_router_router_e:()=>on,ɵangular_packages_router_router_f:()=>un,ɵangular_packages_router_router_g:()=>cn,ɵangular_packages_router_router_h:()=>hn,ɵangular_packages_router_router_i:()=>dn,ɵangular_packages_router_router_j:()=>fn,ɵangular_packages_router_router_k:()=>gn,ɵangular_packages_router_router_l:()=>He,ɵangular_packages_router_router_m:()=>ae,ɵangular_packages_router_router_n:()=>ce,ɵangular_packages_router_router_o:()=>Yt,ɵassignExtraOptionsToRouter:()=>ln,ɵflatten:()=>I});var r=n(6856),s=n(57826),i=n(4309),o=n(42998);class a{constructor(e,t){this.id=e,this.url=t}}class u extends a{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class l extends a{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class c extends a{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class h extends a{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class d extends a{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class f extends a{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class p extends a{constructor(e,t,n,r,s){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class g extends a{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class m extends a{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class y{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class v{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class b{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class w{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class C{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class D{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}const E="primary";class S{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function x(e){return new S(e)}function T(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function k(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const s={};for(let t=0;t<r.length;t++){const n=r[t],i=e[t];if(n.startsWith(":"))s[n.substring(1)]=i;else if(n!==i.path)return null}return{consumed:e.slice(0,r.length),posParams:s}}function M(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let s;for(let r=0;r<n.length;r++)if(s=n[r],!A(e[s],t[s]))return!1;return!0}function A(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every(((e,t)=>r[t]===e))}return e===t}function I(e){return Array.prototype.concat.apply([],e)}function O(e){return e.length>0?e[e.length-1]:null}function N(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function P(e){return(0,s["ɵisObservable"])(e)?e:(0,s["ɵisPromise"])(e)?(0,i.from)(Promise.resolve(e)):(0,i.of)(e)}const F={exact:function e(t,n,r){if(!z(t.segments,n.segments))return!1;if(!B(t.segments,n.segments,r))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children){if(!t.children[s])return!1;if(!e(t.children[s],n.children[s],r))return!1}return!0},subset:V},R={exact:function(e,t){return M(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((n=>A(e[n],t[n])))},ignored:()=>!0};function j(e,t,n){return F[n.paths](e.root,t.root,n.matrixParams)&&R[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function V(e,t,n){return L(e,t,t.segments,n)}function L(e,t,n,r){if(e.segments.length>n.length){const s=e.segments.slice(0,n.length);return!!z(s,n)&&!t.hasChildren()&&!!B(s,n,r)}if(e.segments.length===n.length){if(!z(e.segments,n))return!1;if(!B(e.segments,n,r))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!V(e.children[n],t.children[n],r))return!1}return!0}{const s=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!z(e.segments,s)&&!!B(e.segments,s,r)&&!!e.children[E]&&L(e.children[E],t,i,r)}}function B(e,t,n){return t.every(((t,r)=>R[n](e[r].parameters,t.parameters)))}class ${constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=x(this.queryParams)),this._queryParamMap}toString(){return Z.serialize(this)}}class U{constructor(e,t){this.segments=e,this.children=t,this.parent=null,N(t,((e,t)=>e.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return G(this)}}class H{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=x(this.parameters)),this._parameterMap}toString(){return te(this)}}function z(e,t){return e.length===t.length&&e.every(((e,n)=>e.path===t[n].path))}class q{}class W{parse(e){const t=new oe(e);return new $(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${K(e.root,!0)}`,n=function(e){const t=Object.keys(e).map((t=>{const n=e[t];return Array.isArray(n)?n.map((e=>`${Y(t)}=${Y(e)}`)).join("&"):`${Y(t)}=${Y(n)}`})).filter((e=>!!e));return t.length?`?${t.join("&")}`:""}(e.queryParams);var r;return`${t}${n}${"string"==typeof e.fragment?`#${r=e.fragment,encodeURI(r)}`:""}`}}const Z=new W;function G(e){return e.segments.map((e=>te(e))).join("/")}function K(e,t){if(!e.hasChildren())return G(e);if(t){const t=e.children[E]?K(e.children[E],!1):"",n=[];return N(e.children,((e,t)=>{t!==E&&n.push(`${t}:${K(e,!1)}`)})),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return N(e.children,((e,r)=>{r===E&&(n=n.concat(t(e,r)))})),N(e.children,((e,r)=>{r!==E&&(n=n.concat(t(e,r)))})),n}(e,((t,n)=>n===E?[K(e.children[E],!1)]:[`${n}:${K(t,!1)}`]));return 1===Object.keys(e.children).length&&null!=e.children[E]?`${G(e)}/${t[0]}`:`${G(e)}/(${t.join("//")})`}}function Q(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Y(e){return Q(e).replace(/%3B/gi,";")}function J(e){return Q(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function X(e){return decodeURIComponent(e)}function ee(e){return X(e.replace(/\+/g,"%20"))}function te(e){return`${J(e.path)}${t=e.parameters,Object.keys(t).map((e=>`;${J(e)}=${J(t[e])}`)).join("")}`;var t}const ne=/^[^\/()?;=#]+/;function re(e){const t=e.match(ne);return t?t[0]:""}const se=/^[^=?&#]+/,ie=/^[^?&#]+/;class oe{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[E]=new U(e,t)),n}parseSegment(){const e=re(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new H(X(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=re(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=re(this.remaining);e&&(n=e,this.capture(n))}e[X(t)]=X(n)}parseQueryParam(e){const t=function(e){const t=e.match(se);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(ie);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=ee(t),s=ee(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(s)}else e[r]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=re(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=E);const i=this.parseChildren();t[s]=1===Object.keys(i).length?i[E]:new U([],i),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class ae{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=ue(e,this._root);return t?t.children.map((e=>e.value)):[]}firstChild(e){const t=ue(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=le(e,this._root);return t.length<2?[]:t[t.length-2].children.map((e=>e.value)).filter((t=>t!==e))}pathFromRoot(e){return le(e,this._root).map((e=>e.value))}}function ue(e,t){if(e===t.value)return t;for(const n of t.children){const t=ue(e,n);if(t)return t}return null}function le(e,t){if(e===t.value)return[t];for(const n of t.children){const r=le(e,n);if(r.length)return r.unshift(t),r}return[]}class ce{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function he(e){const t={};return e&&e.children.forEach((e=>t[e.value.outlet]=e)),t}class de extends ae{constructor(e,t){super(e),this.snapshot=t,ve(this,e)}toString(){return this.snapshot.toString()}}function fe(e,t){const n=function(e,t){const n=new me([],{},{},"",{},E,t,null,e.root,-1,{});return new ye("",new ce(n,[]))}(e,t),r=new i.BehaviorSubject([new H("",{})]),s=new i.BehaviorSubject({}),o=new i.BehaviorSubject({}),a=new i.BehaviorSubject({}),u=new i.BehaviorSubject(""),l=new pe(r,s,a,u,o,E,t,n.root);return l.snapshot=n.root,new de(new ce(l,[]),n)}class pe{constructor(e,t,n,r,s,i,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}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,o.map)((e=>x(e))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,o.map)((e=>x(e))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ge(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce(((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)})),{params:{},data:{},resolve:{}})}(n.slice(r))}class me{constructor(e,t,n,r,s,i,o,a,u,l,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=u,this._lastPathIndex=l,this._resolve=c}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=x(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=x(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((e=>e.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ye extends ae{constructor(e,t){super(t),this.url=e,ve(this,t)}toString(){return _e(this._root)}}function ve(e,t){t.value._routerState=e,t.children.forEach((t=>ve(e,t)))}function _e(e){const t=e.children.length>0?` { ${e.children.map(_e).join(", ")} } `:"";return`${e.value}${t}`}function be(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,M(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),M(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!M(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),M(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function we(e,t){const n=M(e.params,t.params)&&(z(r=e.url,s=t.url)&&r.every(((e,t)=>M(e.parameters,s[t].parameters))));var r,s;const i=!e.parent!=!t.parent;return n&&!i&&(!e.parent||we(e.parent,t.parent))}function Ce(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const s=function(e,t,n){return t.children.map((t=>{for(const r of n.children)if(e.shouldReuseRoute(t.value,r.value.snapshot))return Ce(e,t,r);return Ce(e,t)}))}(e,t,n);return new ce(r,s)}{if(e.shouldAttach(t.value)){const n=e.retrieve(t.value);if(null!==n){const e=n.route;return De(t,e),e}}const n=(r=t.value,new pe(new i.BehaviorSubject(r.url),new i.BehaviorSubject(r.params),new i.BehaviorSubject(r.queryParams),new i.BehaviorSubject(r.fragment),new i.BehaviorSubject(r.data),r.outlet,r.component,r)),s=t.children.map((t=>Ce(e,t)));return new ce(n,s)}var r}function De(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n<e.children.length;++n)De(e.children[n],t.children[n])}function Ee(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Se(e){return"object"==typeof e&&null!=e&&e.outlets}function xe(e,t,n,r,s){let i={};return r&&N(r,((e,t)=>{i[t]=Array.isArray(e)?e.map((e=>`${e}`)):`${e}`})),n.root===e?new $(t,i,s):new $(Te(n.root,e,t),i,s)}function Te(e,t,n){const r={};return N(e.children,((e,s)=>{r[s]=e===t?n:Te(e,t,n)})),new U(e.segments,r)}class ke{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ee(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Se);if(r&&r!==O(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Me{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function Ae(e,t,n){if(e||(e=new U([],{})),0===e.segments.length&&e.hasChildren())return Ie(e,t,n);const r=function(e,t,n){let r=0,s=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(r>=n.length)return i;const t=e.segments[s],o=n[r];if(Se(o))break;const a=`${o}`,u=r<n.length-1?n[r+1]:null;if(s>0&&void 0===a)break;if(a&&u&&"object"==typeof u&&void 0===u.outlets){if(!Fe(a,u,t))return i;r+=2}else{if(!Fe(a,{},t))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(e,t,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new U(e.segments.slice(0,r.pathIndex),{});return t.children[E]=new U(e.segments.slice(r.pathIndex),e.children),Ie(t,0,s)}return r.match&&0===s.length?new U(e.segments,{}):r.match&&!e.hasChildren()?Oe(e,t,n):r.match?Ie(e,0,s):Oe(e,t,n)}function Ie(e,t,n){if(0===n.length)return new U(e.segments,{});{const r=function(e){return Se(e[0])?e[0].outlets:{[E]:e}}(n),s={};return N(r,((n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=Ae(e.children[r],t,n))})),N(e.children,((e,t)=>{void 0===r[t]&&(s[t]=e)})),new U(e.segments,s)}}function Oe(e,t,n){const r=e.segments.slice(0,t);let s=0;for(;s<n.length;){const i=n[s];if(Se(i)){const e=Ne(i.outlets);return new U(r,e)}if(0===s&&Ee(n[0])){const i=e.segments[t];r.push(new H(i.path,Pe(n[0]))),s++;continue}const o=Se(i)?i.outlets[E]:`${i}`,a=s<n.length-1?n[s+1]:null;o&&a&&Ee(a)?(r.push(new H(o,Pe(a))),s+=2):(r.push(new H(o,{})),s++)}return new U(r,{})}function Ne(e){const t={};return N(e,((e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=Oe(new U([],{}),0,e))})),t}function Pe(e){const t={};return N(e,((e,n)=>t[n]=`${e}`)),t}function Fe(e,t,n){return e==n.path&&M(t,n.parameters)}class Re{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),be(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=he(t);e.children.forEach((e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]})),N(r,((e,t)=>{this.deactivateRouteAndItsChildren(e,n)}))}deactivateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,s=he(e);for(const e of Object.keys(s))this.deactivateRouteAndItsChildren(s[e],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(e,t,n){const r=he(t);e.children.forEach((e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new C(e.value.snapshot))})),e.children.length&&this.forwardEvent(new b(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(be(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),je(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=s,t.outlet&&t.outlet.activateWith(r,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function je(e){be(e.value),e.children.forEach(je)}class Ve{constructor(e,t){this.routes=e,this.module=t}}function Le(e){return"function"==typeof e}function Be(e){return e instanceof $}const $e=Symbol("INITIAL_VALUE");function Ue(){return(0,o.switchMap)((e=>(0,i.combineLatest)(e.map((e=>e.pipe((0,o.take)(1),(0,o.startWith)($e))))).pipe((0,o.scan)(((e,t)=>{let n=!1;return t.reduce(((e,r,s)=>{if(e!==$e)return e;if(r===$e&&(n=!0),!n){if(!1===r)return r;if(s===t.length-1||Be(r))return r}return e}),e)}),$e),(0,o.filter)((e=>e!==$e)),(0,o.map)((e=>Be(e)?e:!0===e)),(0,o.take)(1))))}let He=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=s["ɵɵdefineComponent"]({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&s["ɵɵelement"](0,"router-outlet")},directives:function(){return[qt]},encapsulation:2}),e})();function ze(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];qe(r,We(t,r))}}function qe(e,t){if("undefined"==typeof ngDevMode||ngDevMode){if(!e)throw new Error(`\n      Invalid configuration of route '${t}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==E)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.redirectTo&&e.canActivate)throw new Error(`Invalid configuration of route '${t}': redirectTo and canActivate cannot be used together. Redirects happen before activation so canActivate will never be executed.`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch){const n="The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.";throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. ${n}`)}if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`)}e.children&&ze(e.children,t)}function We(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function Ze(e){const t=e.children&&e.children.map(Ze),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==E&&(n.component=He),n}function Ge(e){return e.outlet||E}function Ke(e,t){const n=e.filter((e=>Ge(e)===t));return n.push(...e.filter((e=>Ge(e)!==t))),n}const Qe={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ye(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},Qe):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(t.matcher||k)(n,e,t);if(!s)return Object.assign({},Qe);const i={};N(s.posParams,((e,t)=>{i[t]=e.path}));const o=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function Je(e,t,n,r,s="corrected"){if(n.length>0&&function(e,t,n){return n.some((n=>Xe(e,t,n)&&Ge(n)!==E))}(e,n,r)){const s=new U(t,function(e,t,n,r){const s={};s[E]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const r of n)if(""===r.path&&Ge(r)!==E){const n=new U([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[Ge(r)]=n}return s}(e,t,r,new U(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((n=>Xe(e,t,n)))}(e,n,r)){const i=new U(e.segments,function(e,t,n,r,s,i){const o={};for(const a of r)if(Xe(e,n,a)&&!s[Ge(a)]){const n=new U([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,o[Ge(a)]=n}return Object.assign(Object.assign({},s),o)}(e,t,n,r,e.children,s));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new U(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function Xe(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function et(e,t,n,r){return!!(Ge(e)===r||r!==E&&Xe(t,n,e))&&("**"===e.path||Ye(t,e,n).matched)}function tt(e,t,n){return 0===t.length&&!e.children[n]}class nt{constructor(e){this.segmentGroup=e||null}}class rt{constructor(e){this.urlTree=e}}function st(e){return new i.Observable((t=>t.error(new nt(e))))}function it(e){return new i.Observable((t=>t.error(new rt(e))))}function ot(e){return new i.Observable((t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`))))}class at{constructor(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(s.NgModuleRef)}apply(){const e=Je(this.urlTree.root,[],[],this.config).segmentGroup,t=new U(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,E).pipe((0,o.map)((e=>this.createUrlTree(ut(e),this.urlTree.queryParams,this.urlTree.fragment)))).pipe((0,o.catchError)((e=>{if(e instanceof rt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof nt)throw this.noMatchError(e);throw e})))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,E).pipe((0,o.map)((t=>this.createUrlTree(ut(t),e.queryParams,e.fragment)))).pipe((0,o.catchError)((e=>{if(e instanceof nt)throw this.noMatchError(e);throw e})))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new U([],{[E]:e}):e;return new $(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,o.map)((e=>new U([],e)))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){const r=[];for(const e of Object.keys(n.children))"primary"===e?r.unshift(e):r.push(e);return(0,i.from)(r).pipe((0,o.concatMap)((r=>{const s=n.children[r],i=Ke(t,r);return this.expandSegmentGroup(e,i,s,r).pipe((0,o.map)((e=>({segment:e,outlet:r}))))})),(0,o.scan)(((e,t)=>(e[t.outlet]=t.segment,e)),{}),(0,o.last)())}expandSegment(e,t,n,r,s,a){return(0,i.from)(n).pipe((0,o.concatMap)((u=>this.expandSegmentAgainstRoute(e,t,n,u,r,s,a).pipe((0,o.catchError)((e=>{if(e instanceof nt)return(0,i.of)(null);throw e}))))),(0,o.first)((e=>!!e)),(0,o.catchError)(((e,n)=>{if(e instanceof i.EmptyError||"EmptyError"===e.name){if(tt(t,r,s))return(0,i.of)(new U([],{}));throw new nt(t)}throw e})))}expandSegmentAgainstRoute(e,t,n,r,s,i,o){return et(r,t,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,s,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i):st(t):st(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?it(s):this.lineralizeSegments(n,s).pipe((0,o.mergeMap)((n=>{const s=new U(n,{});return this.expandSegment(e,s,t,n,r,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){const{matched:a,consumedSegments:u,lastChild:l,positionalParamSegments:c}=Ye(t,r,s);if(!a)return st(t);const h=this.applyRedirectCommands(u,r.redirectTo,c);return r.redirectTo.startsWith("/")?it(h):this.lineralizeSegments(r,h).pipe((0,o.mergeMap)((r=>this.expandSegment(e,t,n,r.concat(s.slice(l)),i,!1))))}matchSegmentAgainstRoute(e,t,n,r,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,i.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,o.map)((e=>(n._loadedConfig=e,new U(r,{}))))):(0,i.of)(new U(r,{}));const{matched:a,consumedSegments:u,lastChild:l}=Ye(t,n,r);if(!a)return st(t);const c=r.slice(l);return this.getChildConfig(e,n,r).pipe((0,o.mergeMap)((e=>{const r=e.module,a=e.routes,{segmentGroup:l,slicedSegments:h}=Je(t,u,c,a),d=new U(l.segments,l.children);if(0===h.length&&d.hasChildren())return this.expandChildren(r,a,d).pipe((0,o.map)((e=>new U(u,e))));if(0===a.length&&0===h.length)return(0,i.of)(new U(u,{}));const f=Ge(n)===s;return this.expandSegment(r,d,a,h,f?E:s,!0).pipe((0,o.map)((e=>new U(u.concat(e.segments),e.children))))})))}getChildConfig(e,t,n){return t.children?(0,i.of)(new Ve(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,i.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,o.mergeMap)((n=>n?this.configLoader.load(e.injector,t).pipe((0,o.map)((e=>(t._loadedConfig=e,e)))):function(e){return new i.Observable((t=>t.error(T(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))))}(t)))):(0,i.of)(new Ve([],e))}runCanLoadGuards(e,t,n){const r=t.canLoad;if(!r||0===r.length)return(0,i.of)(!0);const s=r.map((r=>{const s=e.get(r);let i;if(function(e){return e&&Le(e.canLoad)}(s))i=s.canLoad(t,n);else{if(!Le(s))throw new Error("Invalid CanLoad guard");i=s(t,n)}return P(i)}));return(0,i.of)(s).pipe(Ue(),(0,o.tap)((e=>{if(!Be(e))return;const t=T(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t})),(0,o.map)((e=>!0===e)))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return(0,i.of)(n);if(r.numberOfChildren>1||!r.children[E])return ot(e.redirectTo);r=r.children[E]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const s=this.createSegmentGroup(e,t.root,n,r);return new $(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return N(e,((e,r)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);n[r]=t[s]}else n[r]=e})),n}createSegmentGroup(e,t,n,r){const s=this.createSegments(e,t.segments,n,r);let i={};return N(t.children,((t,s)=>{i[s]=this.createSegmentGroup(e,t,n,r)})),new U(s,i)}createSegments(e,t,n,r){return t.map((t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n)))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function ut(e){const t={};for(const n of Object.keys(e.children)){const r=ut(e.children[n]);(r.segments.length>0||r.hasChildren())&&(t[n]=r)}return function(e){if(1===e.numberOfChildren&&e.children[E]){const t=e.children[E];return new U(e.segments.concat(t.segments),t.children)}return e}(new U(e.segments,t))}class lt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class ct{constructor(e,t){this.component=e,this.route=t}}function ht(e,t,n){const r=e._root;return ft(r,t?t._root:null,n,[r.value])}function dt(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function ft(e,t,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=he(t);return e.children.forEach((e=>{!function(e,t,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!z(e.url,t.url);case"pathParamsOrQueryParamsChange":return!z(e.url,t.url)||!M(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!we(e,t)||!M(e.queryParams,t.queryParams);default:return!we(e,t)}}(o,i,i.routeConfig.runGuardsAndResolvers);u?s.canActivateChecks.push(new lt(r)):(i.data=o.data,i._resolvedData=o._resolvedData),i.component?ft(e,t,a?a.children:null,r,s):ft(e,t,n,r,s),u&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new ct(a.outlet.component,o))}else o&&pt(t,a,s),s.canActivateChecks.push(new lt(r)),i.component?ft(e,null,a?a.children:null,r,s):ft(e,null,n,r,s)}(e,i[e.value.outlet],n,r.concat([e.value]),s),delete i[e.value.outlet]})),N(i,((e,t)=>pt(e,n.getContext(t),s))),s}function pt(e,t,n){const r=he(e),s=e.value;N(r,((e,r)=>{s.component?pt(e,t?t.children.getContext(r):null,n):pt(e,t,n)})),s.component&&t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new ct(t.outlet.component,s)):n.canDeactivateChecks.push(new ct(null,s))}class gt{}function mt(e){return new i.Observable((t=>t.error(e)))}class yt{constructor(e,t,n,r,s,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const e=Je(this.urlTree.root,[],[],this.config.filter((e=>void 0===e.redirectTo)),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,E);if(null===t)return null;const n=new me([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},E,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ce(n,t),s=new ye(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(e){const t=e.value,n=ge(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach((e=>this.inheritParamsAndData(e)))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const r of Object.keys(t.children)){const s=t.children[r],i=Ke(e,r),o=this.processSegmentGroup(i,s,r);if(null===o)return null;n.push(...o)}const r=_t(n);return("undefined"==typeof ngDevMode||ngDevMode)&&function(e){const t={};e.forEach((e=>{const n=t[e.value.outlet];if(n){const t=n.url.map((e=>e.toString())).join("/"),r=e.value.url.map((e=>e.toString())).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value}))}(r),r.sort(((e,t)=>e.value.outlet===E?-1:t.value.outlet===E?1:e.value.outlet.localeCompare(t.value.outlet))),r}processSegment(e,t,n,r){for(const s of e){const e=this.processSegmentAgainstRoute(s,t,n,r);if(null!==e)return e}return tt(t,n,r)?[]:null}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo||!et(e,t,n,r))return null;let s,i=[],o=[];if("**"===e.path){const r=n.length>0?O(n).parameters:{};s=new me(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ct(e),Ge(e),e.component,e,bt(t),wt(t)+n.length,Dt(e))}else{const r=Ye(t,e,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new me(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ct(e),Ge(e),e.component,e,bt(t),wt(t)+i.length,Dt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:u,slicedSegments:l}=Je(t,i,o,a.filter((e=>void 0===e.redirectTo)),this.relativeLinkResolution);if(0===l.length&&u.hasChildren()){const e=this.processChildren(a,u);return null===e?null:[new ce(s,e)]}if(0===a.length&&0===l.length)return[new ce(s,[])];const c=Ge(e)===r,h=this.processSegment(a,u,l,c?E:r);return null===h?null:[new ce(s,h)]}}function vt(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function _t(e){const t=[],n=new Set;for(const r of e){if(!vt(r)){t.push(r);continue}const e=t.find((e=>r.value.routeConfig===e.value.routeConfig));void 0!==e?(e.children.push(...r.children),n.add(e)):t.push(r)}for(const e of n){const n=_t(e.children);t.push(new ce(e.value,n))}return t.filter((e=>!n.has(e)))}function bt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function wt(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Ct(e){return e.data||{}}function Dt(e){return e.resolve||{}}function Et(e){return(0,o.switchMap)((t=>{const n=e(t);return n?(0,i.from)(n).pipe((0,o.map)((()=>t))):(0,i.of)(t)}))}class St{}class xt{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}class Tt extends xt{}const kt=new s.InjectionToken("ROUTES");class Mt{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe((0,o.map)((n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new Ve(I(r.injector.get(kt,void 0,s.InjectFlags.Self|s.InjectFlags.Optional)).map(Ze),r)})),(0,o.catchError)((e=>{throw t._loader$=void 0,e})));return t._loader$=new i.ConnectableObservable(n,(()=>new i.Subject)).pipe((0,o.refCount)()),t._loader$}loadModuleFactory(e){return"string"==typeof e?(0,i.from)(this.loader.load(e)):P(e()).pipe((0,o.mergeMap)((e=>e instanceof s.NgModuleFactory?(0,i.of)(e):(0,i.from)(this.compiler.compileModuleAsync(e)))))}}class At{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new It,this.attachRef=null}}class It{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new At,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class Ot{}class Nt{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Pt(e){throw e}function Ft(e,t,n){return t.parse("/")}function Rt(e,t){return(0,i.of)(null)}const jt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vt={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Lt=(()=>{class e{constructor(e,t,n,r,o,a,u,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new i.Subject,this.errorHandler=Pt,this.malformedUriErrorHandler=Ft,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Rt,afterPreactivation:Rt},this.urlHandlingStrategy=new Nt,this.routeReuseStrategy=new Tt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(s.NgModuleRef),this.console=o.get(s["ɵConsole"]);const c=o.get(s.NgZone);this.isNgZoneEnabled=c instanceof s.NgZone&&s.NgZone.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new $(new U([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Mt(a,u,(e=>this.triggerEvent(new y(e))),(e=>this.triggerEvent(new v(e)))),this.routerState=fe(this.currentUrlTree,this.rootComponentType),this.transitions=new i.BehaviorSubject({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(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.ɵrouterPageId}setupNavigations(e){const t=this.events;return e.pipe((0,o.filter)((e=>0!==e.id)),(0,o.map)((e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)}))),(0,o.switchMap)((e=>{let n=!1,r=!1;return(0,i.of)(e).pipe((0,o.tap)((e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}})),(0,o.switchMap)((e=>{const n=this.browserUrlTree.toString(),r=!this.navigated||e.extractedUrl.toString()!==n||n!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Bt(e.source)&&(this.browserUrlTree=e.extractedUrl),(0,i.of)(e).pipe((0,o.switchMap)((e=>{const n=this.transitions.getValue();return t.next(new u(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?i.EMPTY:Promise.resolve(e)})),(s=this.ngModule.injector,a=this.configLoader,l=this.urlSerializer,c=this.config,(0,o.switchMap)((e=>function(e,t,n,r,s){return new at(e,t,n,r,s).apply()}(s,a,l,e.extractedUrl,c).pipe((0,o.map)((t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))))),(0,o.tap)((e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,t,n,r,s){return(0,o.mergeMap)((a=>function(e,t,n,r,s="emptyOnly",o="legacy"){try{const a=new yt(e,t,n,r,s,o).recognize();return null===a?mt(new gt):(0,i.of)(a)}catch(e){return mt(e)}}(e,t,a.urlAfterRedirects,n(a.urlAfterRedirects),r,s).pipe((0,o.map)((e=>Object.assign(Object.assign({},a),{targetSnapshot:e}))))))}(this.rootComponentType,this.config,(e=>this.serializeUrl(e)),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,o.tap)((e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,e),this.browserUrlTree=e.urlAfterRedirects);const n=new d(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)})));var s,a,l,c;if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:o,extras:a}=e,l=new u(n,this.serializeUrl(r),s,o);t.next(l);const c=fe(r,this.rootComponentType).snapshot;return(0,i.of)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),i.EMPTY})),Et((e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})})),(0,o.tap)((e=>{const t=new f(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)})),(0,o.map)((e=>Object.assign(Object.assign({},e),{guards:ht(e.targetSnapshot,e.currentSnapshot,this.rootContexts)}))),function(e,t){return(0,o.mergeMap)((n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:u}}=n;return 0===u.length&&0===a.length?(0,i.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return(0,i.from)(e).pipe((0,o.mergeMap)((e=>function(e,t,n,r,s){const a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,i.of)(!0);const u=a.map((i=>{const a=dt(i,t,s);let u;if(function(e){return e&&Le(e.canDeactivate)}(a))u=P(a.canDeactivate(e,t,n,r));else{if(!Le(a))throw new Error("Invalid CanDeactivate guard");u=P(a(e,t,n,r))}return u.pipe((0,o.first)())}));return(0,i.of)(u).pipe(Ue())}(e.component,e.route,n,t,r))),(0,o.first)((e=>!0!==e),!0))}(u,r,s,e).pipe((0,o.mergeMap)((n=>n&&"boolean"==typeof n?function(e,t,n,r){return(0,i.from)(t).pipe((0,o.concatMap)((t=>(0,i.concat)(function(e,t){return null!==e&&t&&t(new _(e)),(0,i.of)(!0)}(t.route.parent,r),function(e,t){return null!==e&&t&&t(new w(e)),(0,i.of)(!0)}(t.route,r),function(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map((e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e))).filter((e=>null!==e)).map((t=>(0,i.defer)((()=>{const s=t.guards.map((s=>{const i=dt(s,t.node,n);let a;if(function(e){return e&&Le(e.canActivateChild)}(i))a=P(i.canActivateChild(r,e));else{if(!Le(i))throw new Error("Invalid CanActivateChild guard");a=P(i(r,e))}return a.pipe((0,o.first)())}));return(0,i.of)(s).pipe(Ue())}))));return(0,i.of)(s).pipe(Ue())}(e,t.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return(0,i.of)(!0);const s=r.map((r=>(0,i.defer)((()=>{const s=dt(r,t,n);let i;if(function(e){return e&&Le(e.canActivate)}(s))i=P(s.canActivate(t,e));else{if(!Le(s))throw new Error("Invalid CanActivate guard");i=P(s(t,e))}return i.pipe((0,o.first)())}))));return(0,i.of)(s).pipe(Ue())}(e,t.route,n)))),(0,o.first)((e=>!0!==e),!0))}(r,a,e,t):(0,i.of)(n))),(0,o.map)((e=>Object.assign(Object.assign({},n),{guardsResult:e}))))}))}(this.ngModule.injector,(e=>this.triggerEvent(e))),(0,o.tap)((e=>{if(Be(e.guardsResult)){const t=T(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new p(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)})),(0,o.filter)((e=>!!e.guardsResult||(this.restoreHistory(e),this.cancelNavigationTransition(e,""),!1))),Et((e=>{if(e.guards.canActivateChecks.length)return(0,i.of)(e).pipe((0,o.tap)((e=>{const t=new g(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)})),(0,o.switchMap)((e=>{let t=!1;return(0,i.of)(e).pipe((n=this.paramsInheritanceStrategy,r=this.ngModule.injector,(0,o.mergeMap)((e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,i.of)(e);let a=0;return(0,i.from)(s).pipe((0,o.concatMap)((e=>function(e,t,n,r){return function(e,t,n,r){const s=Object.keys(e);if(0===s.length)return(0,i.of)({});const a={};return(0,i.from)(s).pipe((0,o.mergeMap)((s=>function(e,t,n,r){const s=dt(e,t,r);return s.resolve?P(s.resolve(t,n)):P(s(t,n))}(e[s],t,n,r).pipe((0,o.tap)((e=>{a[s]=e}))))),(0,o.takeLast)(1),(0,o.mergeMap)((()=>Object.keys(a).length===s.length?(0,i.of)(a):i.EMPTY)))}(e._resolve,e,t,r).pipe((0,o.map)((t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),ge(e,n).resolve),null))))}(e.route,t,n,r))),(0,o.tap)((()=>a++)),(0,o.takeLast)(1),(0,o.mergeMap)((t=>a===s.length?(0,i.of)(e):i.EMPTY)))}))),(0,o.tap)({next:()=>t=!0,complete:()=>{t||(this.restoreHistory(e),this.cancelNavigationTransition(e,"At least one route resolver didn't emit any value."))}}));var n,r})),(0,o.tap)((e=>{const t=new m(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)})))})),Et((e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})})),(0,o.map)((e=>{const t=function(e,t,n){const r=Ce(e,t._root,n?n._root:void 0);return new de(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})})),(0,o.tap)((e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,e),this.browserUrlTree=e.urlAfterRedirects)})),(s=this.rootContexts,a=this.routeReuseStrategy,l=e=>this.triggerEvent(e),(0,o.map)((e=>(new Re(a,e.targetRouterState,e.currentRouterState,l).activate(s),e)))),(0,o.tap)({next(){n=!0},complete(){n=!0}}),(0,o.finalize)((()=>{var t;if(!n&&!r){const t=`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(e),this.cancelNavigationTransition(e,t)):this.cancelNavigationTransition(e,t)}(null===(t=this.currentNavigation)||void 0===t?void 0:t.id)===e.id&&(this.currentNavigation=null)})),(0,o.catchError)((n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=Be(n.url);r||(this.navigated=!0,this.restoreHistory(e,!0));const s=new c(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(s),r?setTimeout((()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),r={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Bt(e.source)};this.scheduleNavigation(t,"imperative",null,r,{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{this.restoreHistory(e,!0);const r=new h(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(t){e.reject(t)}}var s;return i.EMPTY})));var s,a,l})))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout((()=>{const{source:e,state:n,urlTree:r}=t,s={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,delete e.ɵrouterPageId,0!==Object.keys(e).length&&(s.state=e)}this.scheduleNavigation(r,e,n,s)}),0),this.lastLocationChangeInfo=t})))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){ze(e),this.config=e.map(Ze),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(e,t={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=t,a=n||this.routerState.root,u=o?this.currentUrlTree.fragment:s;let l=null;switch(i){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}return null!==l&&(l=this.removeEmptyProps(l)),function(e,t,n,r,s){if(0===n.length)return xe(t.root,t.root,t,r,s);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ke(!0,0,e);let t=0,n=!1;const r=e.reduce(((e,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return N(r.outlets,((e,n)=>{t[n]="string"==typeof e?e.split("/"):e})),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===s?(r.split("/").forEach(((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):[...e,r]}),[]);return new ke(n,t,r)}(n);if(i.toRoot())return xe(t.root,new U([],{}),t,r,s);const o=function(e,t,n){if(e.isAbsolute)return new Me(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment,r=e===t.root;return new Me(e,r,0)}const r=Ee(e.commands[0])?0:1,s=n.snapshot._lastPathIndex+r;return function(e,t,n){let r=e,s=t,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new Me(r,!1,s-i)}(n.snapshot._urlSegment,s,e.numberOfDoubleDots)}(i,t,e),a=o.processChildren?Ie(o.segmentGroup,o.index,i.commands):Ae(o.segmentGroup,o.index,i.commands);return xe(o.segmentGroup,a,t,r,s)}(a,this.currentUrlTree,e,l,null!=u?u:null)}navigateByUrl(e,t={skipLocationChange:!1}){("undefined"==typeof ngDevMode||ngDevMode&&this.isNgZoneEnabled&&!s.NgZone.isInAngularZone())&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Be(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){let n;if(n=!0===t?Object.assign({},jt):!1===t?Object.assign({},Vt):t,Be(e))return j(this.currentUrlTree,e,n);const r=this.parseUrl(e);return j(this.currentUrlTree,r,n)}removeEmptyProps(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t}),{})}processNavigations(){this.navigations.subscribe((e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new l(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)}),(e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)}))}scheduleNavigation(e,t,n,r,s){var i,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),u=Bt(t)&&a&&!Bt(a.source),l=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===e.toString();if(u&&l)return Promise.resolve(!0);let c,h,d;s?(c=s.resolve,h=s.reject,d=s.promise):d=new Promise(((e,t)=>{c=e,h=t}));const f=++this.navigationId;let p;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),p=n&&n.ɵrouterPageId?n.ɵrouterPageId:r.replaceUrl||r.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):p=0,this.setTransition({id:f,targetPageId:p,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:c,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch((e=>Promise.reject(e)))}setBrowserUrl(e,t){const n=this.urlSerializer.serialize(e),r=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(n)||t.extras.replaceUrl?this.location.replaceState(n,"",r):this.location.go(n,"",r)}restoreHistory(e,t=!1){var n,r;if("computed"===this.canceledNavigationResolution){const t=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===t?this.currentUrlTree===(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)&&0===t&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(t)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const n=new c(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(n),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,ɵrouterPageId:t}:{navigationId:e}}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](s.Type),s["ɵɵinject"](q),s["ɵɵinject"](It),s["ɵɵinject"](r.Location),s["ɵɵinject"](s.Injector),s["ɵɵinject"](s.NgModuleFactoryLoader),s["ɵɵinject"](s.Compiler),s["ɵɵinject"](void 0))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function Bt(e){return"imperative"!==e}let $t=(()=>{class e{constructor(e,t,n,r,s){this.router=e,this.route=t,this.commands=[],this.onChanges=new i.Subject,null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:Ht(this.skipLocationChange),replaceUrl:Ht(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ht(this.preserveFragment)})}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵdirectiveInject"](Lt),s["ɵɵdirectiveInject"](pe),s["ɵɵinjectAttribute"]("tabindex"),s["ɵɵdirectiveInject"](s.Renderer2),s["ɵɵdirectiveInject"](s.ElementRef))},e.ɵdir=s["ɵɵdefineDirective"]({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&s["ɵɵlistener"]("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s["ɵɵNgOnChangesFeature"]]}),e})(),Ut=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new i.Subject,this.subscription=e.events.subscribe((e=>{e instanceof l&&this.updateTargetUrlAndHref()}))}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r,s){if(0!==e||t||n||r||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:Ht(this.skipLocationChange),replaceUrl:Ht(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ht(this.preserveFragment)})}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵdirectiveInject"](Lt),s["ɵɵdirectiveInject"](pe),s["ɵɵdirectiveInject"](r.LocationStrategy))},e.ɵdir=s["ɵɵdefineDirective"]({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&s["ɵɵlistener"]("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)})),2&e&&(s["ɵɵhostProperty"]("href",t.href,s["ɵɵsanitizeUrl"]),s["ɵɵattribute"]("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s["ɵɵNgOnChangesFeature"]]}),e})();function Ht(e){return""===e||!!e}let zt=(()=>{class e{constructor(e,t,n,r,s,i){this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.link=s,this.linkWithHref=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe((e=>{e instanceof l&&this.update()}))}ngAfterContentInit(){(0,i.of)(this.links.changes,this.linksWithHrefs.changes,(0,i.of)(null)).pipe((0,o.mergeAll)()).subscribe((e=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter((e=>!!e)).map((e=>e.onChanges));this.linkInputChangesSubscription=(0,i.from)(t).pipe((0,o.mergeAll)()).subscribe((e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()}))}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter((e=>!!e))}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach((t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)})))}))}isLinkActive(e){const t=function(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>e.isActive(n.urlTree,t)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵdirectiveInject"](Lt),s["ɵɵdirectiveInject"](s.ElementRef),s["ɵɵdirectiveInject"](s.Renderer2),s["ɵɵdirectiveInject"](s.ChangeDetectorRef),s["ɵɵdirectiveInject"]($t,8),s["ɵɵdirectiveInject"](Ut,8))},e.ɵdir=s["ɵɵdefineDirective"]({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(s["ɵɵcontentQuery"](n,$t,5),s["ɵɵcontentQuery"](n,Ut,5)),2&e){let e;s["ɵɵqueryRefresh"](e=s["ɵɵloadQuery"]())&&(t.links=e),s["ɵɵqueryRefresh"](e=s["ɵɵloadQuery"]())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[s["ɵɵNgOnChangesFeature"]]}),e})(),qt=(()=>{class e{constructor(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.EventEmitter,this.deactivateEvents=new s.EventEmitter,this.name=r||E,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.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 e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=e._futureSnapshot.routeConfig.component,r=(t=t||this.resolver).resolveComponentFactory(n),s=this.parentContexts.getOrCreateContext(this.name).children,i=new Wt(e,s,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵdirectiveInject"](It),s["ɵɵdirectiveInject"](s.ViewContainerRef),s["ɵɵdirectiveInject"](s.ComponentFactoryResolver),s["ɵɵinjectAttribute"]("name"),s["ɵɵdirectiveInject"](s.ChangeDetectorRef))},e.ɵdir=s["ɵɵdefineDirective"]({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Wt{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===pe?this.route:e===It?this.childContexts:this.parent.get(e,t)}}class Zt{}class Gt{preload(e,t){return t().pipe((0,o.catchError)((()=>(0,i.of)(null))))}}class Kt{preload(e,t){return(0,i.of)(null)}}let Qt=(()=>{class e{constructor(e,t,n,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new Mt(t,n,(t=>e.triggerEvent(new y(t))),(t=>e.triggerEvent(new v(t))))}setUpPreloading(){this.subscription=this.router.events.pipe((0,o.filter)((e=>e instanceof l)),(0,o.concatMap)((()=>this.preload()))).subscribe((()=>{}))}preload(){const e=this.injector.get(s.NgModuleRef);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return(0,i.from)(n).pipe((0,o.mergeAll)(),(0,o.map)((e=>{})))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,(()=>(t._loadedConfig?(0,i.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,o.mergeMap)((e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](Lt),s["ɵɵinject"](s.NgModuleFactoryLoader),s["ɵɵinject"](s.Compiler),s["ɵɵinject"](s.Injector),s["ɵɵinject"](Zt))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Yt=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.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((e=>{e instanceof u?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof l&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((e=>{e instanceof D&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(e,t){this.router.triggerEvent(new D(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](Lt),s["ɵɵinject"](r.ViewportScroller),s["ɵɵinject"](void 0))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const Jt=new s.InjectionToken("ROUTER_CONFIGURATION"),Xt=new s.InjectionToken("ROUTER_FORROOT_GUARD"),en=[r.Location,{provide:q,useClass:W},{provide:Lt,useFactory:un,deps:[q,It,r.Location,s.Injector,s.NgModuleFactoryLoader,s.Compiler,kt,Jt,[Ot,new s.Optional],[St,new s.Optional]]},It,{provide:pe,useFactory:cn,deps:[Lt]},{provide:s.NgModuleFactoryLoader,useClass:s.SystemJsNgModuleLoader},Qt,Kt,Gt,{provide:Jt,useValue:{enableTracing:!1}}];function tn(){return new s.NgProbeToken("Router",Lt)}let nn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[en,an(t),{provide:Xt,useFactory:on,deps:[[Lt,new s.Optional,new s.SkipSelf]]},{provide:Jt,useValue:n||{}},{provide:r.LocationStrategy,useFactory:sn,deps:[r.PlatformLocation,[new s.Inject(r.APP_BASE_HREF),new s.Optional],Jt]},{provide:Yt,useFactory:rn,deps:[Lt,r.ViewportScroller,Jt]},{provide:Zt,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Kt},{provide:s.NgProbeToken,multi:!0,useFactory:tn},gn()]}}static forChild(t){return{ngModule:e,providers:[an(t)]}}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](Xt,8),s["ɵɵinject"](Lt,8))},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({}),e})();function rn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Yt(e,t,n)}function sn(e,t,n={}){return n.useHash?new r.HashLocationStrategy(e,t):new r.PathLocationStrategy(e,t)}function on(e){if(("undefined"==typeof ngDevMode||ngDevMode)&&e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function an(e){return[{provide:s.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:kt,multi:!0,useValue:e}]}function un(e,t,n,r,s,i,o,a={},u,l){const c=new Lt(null,e,t,n,r,s,i,I(o));return u&&(c.urlHandlingStrategy=u),l&&(c.routeReuseStrategy=l),ln(a,c),a.enableTracing&&c.events.subscribe((e=>{var t,n;null===(t=console.group)||void 0===t||t.call(console,`Router Event: ${e.constructor.name}`),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)})),c}function ln(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}function cn(e){return e.routerState.root}let hn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new i.Subject}appInitializer(){return this.injector.get(r.LOCATION_INITIALIZED,Promise.resolve(null)).then((()=>{if(this.destroyed)return Promise.resolve(!0);let e=null;const t=new Promise((t=>e=t)),n=this.injector.get(Lt),r=this.injector.get(Jt);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,i.of)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t}))}bootstrapListener(e){const t=this.injector.get(Jt),n=this.injector.get(Qt),r=this.injector.get(Yt),i=this.injector.get(Lt),o=this.injector.get(s.ApplicationRef);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||i.initialNavigation(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](s.Injector))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function dn(e){return e.appInitializer.bind(e)}function fn(e){return e.bootstrapListener.bind(e)}const pn=new s.InjectionToken("Router Initializer");function gn(){return[hn,{provide:s.APP_INITIALIZER,multi:!0,useFactory:dn,deps:[hn]},{provide:pn,useFactory:fn,deps:[hn]},{provide:s.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:pn}]}const mn=new s.Version("12.2.16")},52467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(64762);r.__exportStar(n(16337),t),r.__exportStar(n(17392),t),r.__exportStar(n(59190),t),r.__exportStar(n(78066),t),r.__exportStar(n(97104),t),r.__exportStar(n(49703),t),r.__exportStar(n(16369),t),r.__exportStar(n(65724),t)},16337:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalRef=void 0,t.globalRef={}},17392:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},49703:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventStore=void 0;const r=n(16369);let s;t.eventStore=function(e,t){s||(s=new Map);let n=s.get(e);return n||(n=new r.EventStore(e,t),s.set(e,n)),n}},16369:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventStore=void 0;const r=n(93105);t.EventStore=class{constructor(e,t,n){this._name=e,this._options=n,this._emitter=new r.EventEmitter,this.isValidValue(t)&&(this._value=t)}get(){return this._value}set(e,t={emit:!0}){this._value=e,t.emit&&this._emitter.emit(this._name,e)}subscribe(e){var t;return this._emitter.on(this._name,e),(null===(t=this._options)||void 0===t?void 0:t.notifyOnSubscribe)&&this.notifyOnSubscribe(e),()=>{this._emitter.removeListener(this._name,e)}}update(e){this.isValidValue(this._value)&&this.set(e(this._value))}toEvent(){return{eventName:this._name,eventTarget:this._emitter}}notifyOnSubscribe(e){this.isValidValue(this._value)&&e(this._value)}isValidValue(e){return null!=e}}},65724:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},59190:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNgDirective=t.isNgComponent=t.ngRootComponents=t.ngOwnComponent=void 0;const n="__ngContext__",r=e=>{const t=e[3];return!0===t[1]?t[3]:t};t.ngOwnComponent=function(e){let t,s=null==e?void 0:e[n];if(s){for(;2===s[1].type&&(t=r(s));)s=t;return{nativeElement:s[0],instance:s[8]}}},t.ngRootComponents=function(e){let t=null==e?void 0:e[n];if(t){for(;t&&!(512&t[2]);)t=r(t);return[...t[8].components]}},t.isNgComponent=function(e){var t;return!!(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.ɵcmp)},t.isNgDirective=function(e){var t;return!!(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.ɵdir)}},78066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeStyleProperty=t.setStyleProperty=void 0,t.setStyleProperty=function(e,t,n,r=!0){if(e.style.setProperty(t,n),r&&e.dataset){const n=Number(e.dataset[`x${t}`]||0);e.dataset[`x${t}`]=`${n+1}`}},t.removeStyleProperty=function(e,t,n=!0){if(n&&e.dataset){const n=Number(e.dataset[`x${t}`]);e.dataset[`x${t}`]=""+(n-1),"0"===e.dataset[`x${t}`]&&(e.style.removeProperty(t),delete e.dataset[`x${t}`])}else e.style.removeProperty(t)}},97104:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},76023:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ArgumentOutOfRangeError:()=>A.W,AsyncSubject:()=>c.c,BehaviorSubject:()=>u.X,ConnectableObservable:()=>s.c,EMPTY:()=>K.E,EmptyError:()=>I.K,GroupedObservable:()=>i.T,NEVER:()=>he,Notification:()=>S.P,NotificationKind:()=>S.W,ObjectUnsubscribedError:()=>O.N,Observable:()=>r.y,ReplaySubject:()=>l.t,Scheduler:()=>C.b,Subject:()=>a.xQ,Subscriber:()=>E.L,Subscription:()=>D.w,TimeoutError:()=>P.W,UnsubscriptionError:()=>N.B,VirtualAction:()=>w,VirtualTimeScheduler:()=>b,animationFrame:()=>_,animationFrameScheduler:()=>v,asap:()=>h.e,asapScheduler:()=>h.E,async:()=>d.P,asyncScheduler:()=>d.z,bindCallback:()=>L,bindNodeCallback:()=>U,combineLatest:()=>W.aj,concat:()=>Z.z,config:()=>Me.v,defer:()=>G.P,empty:()=>K.c,forkJoin:()=>J,from:()=>Y.D,fromEvent:()=>te,fromEventPattern:()=>re,generate:()=>se,identity:()=>k.y,iif:()=>oe,interval:()=>ue,isObservable:()=>M,merge:()=>ce.T,never:()=>de,noop:()=>T.Z,observable:()=>o.L,of:()=>fe.of,onErrorResumeNext:()=>pe,pairs:()=>ge,partition:()=>be,pipe:()=>x.z,queue:()=>f.c,queueScheduler:()=>f.N,race:()=>we.S3,range:()=>Ce,scheduled:()=>ke.x,throwError:()=>Ee._,timer:()=>Se.H,using:()=>xe,zip:()=>Te.$R});var r=n(39897),s=n(52441),i=n(304),o=n(16554),a=n(79765),u=n(26215),l=n(88229),c=n(68660),h=n(64581),d=n(33637),f=n(57771),p=n(36465);class g extends p.o{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((()=>e.flush(null)))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var m=n(4548);class y extends m.v{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,r=-1,s=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++r<s&&(e=t.shift()));if(this.active=!1,n){for(;++r<s&&(e=t.shift());)e.unsubscribe();throw n}}}const v=new y(g),_=v;let b=(()=>{class e extends m.v{constructor(e=w,t=Number.POSITIVE_INFINITY){super(e,(()=>this.frame)),this.maxFrames=t,this.frame=0,this.index=-1}flush(){const{actions:e,maxFrames:t}=this;let n,r;for(;(r=e[0])&&r.delay<=t&&(e.shift(),this.frame=r.delay,!(n=r.execute(r.state,r.delay))););if(n){for(;r=e.shift();)r.unsubscribe();throw n}}}return e.frameTimeFactor=10,e})();class w extends p.o{constructor(e,t,n=(e.index+=1)){super(e,t),this.scheduler=e,this.work=t,this.index=n,this.active=!0,this.index=e.index=n}schedule(e,t=0){if(!this.id)return super.schedule(e,t);this.active=!1;const n=new w(this.scheduler,this.work);return this.add(n),n.schedule(e,t)}requestAsyncId(e,t,n=0){this.delay=e.frame+n;const{actions:r}=e;return r.push(this),r.sort(w.sortActions),!0}recycleAsyncId(e,t,n=0){}_execute(e,t){if(!0===this.active)return super._execute(e,t)}static sortActions(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}var C=n(2217),D=n(10826),E=n(77393),S=n(23098),x=n(34022),T=n(98640),k=n(54487);function M(e){return!!e&&(e instanceof r.y||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var A=n(7108),I=n(13410),O=n(77971),N=n(57744),P=n(45587),F=n(88002),R=n(13179),j=n(59796),V=n(54869);function L(e,t,n){if(t){if(!(0,V.K)(t))return(...r)=>L(e,n)(...r).pipe((0,F.U)((e=>(0,j.k)(e)?t(...e):t(e))));n=t}return function(...t){const s=this;let i;const o={context:s,subject:i,callbackFunc:e,scheduler:n};return new r.y((r=>{if(n){const e={args:t,subscriber:r,params:o};return n.schedule(B,0,e)}if(!i){i=new c.c;const n=(...e)=>{i.next(e.length<=1?e[0]:e),i.complete()};try{e.apply(s,[...t,n])}catch(e){(0,R._)(i)?i.error(e):console.warn(e)}}return i.subscribe(r)}))}}function B(e){const{args:t,subscriber:n,params:r}=e,{callbackFunc:s,context:i,scheduler:o}=r;let{subject:a}=r;if(!a){a=r.subject=new c.c;const e=(...e)=>{const t=e.length<=1?e[0]:e;this.add(o.schedule($,0,{value:t,subject:a}))};try{s.apply(i,[...t,e])}catch(e){a.error(e)}}this.add(a.subscribe(n))}function $(e){const{value:t,subject:n}=e;n.next(t),n.complete()}function U(e,t,n){if(t){if(!(0,V.K)(t))return(...r)=>U(e,n)(...r).pipe((0,F.U)((e=>(0,j.k)(e)?t(...e):t(e))));n=t}return function(...t){const s={subject:void 0,args:t,callbackFunc:e,scheduler:n,context:this};return new r.y((r=>{const{context:i}=s;let{subject:o}=s;if(n)return n.schedule(H,0,{params:s,subscriber:r,context:i});if(!o){o=s.subject=new c.c;const n=(...e)=>{const t=e.shift();t?o.error(t):(o.next(e.length<=1?e[0]:e),o.complete())};try{e.apply(i,[...t,n])}catch(e){(0,R._)(o)?o.error(e):console.warn(e)}}return o.subscribe(r)}))}}function H(e){const{params:t,subscriber:n,context:r}=e,{callbackFunc:s,args:i,scheduler:o}=t;let a=t.subject;if(!a){a=t.subject=new c.c;const e=(...e)=>{const t=e.shift();if(t)this.add(o.schedule(q,0,{err:t,subject:a}));else{const t=e.length<=1?e[0]:e;this.add(o.schedule(z,0,{value:t,subject:a}))}};try{s.apply(r,[...i,e])}catch(e){this.add(o.schedule(q,0,{err:e,subject:a}))}}this.add(a.subscribe(n))}function z(e){const{value:t,subject:n}=e;n.next(t),n.complete()}function q(e){const{err:t,subject:n}=e;n.error(t)}var W=n(9112),Z=n(29923),G=n(41439),K=n(59193),Q=n(81555),Y=n(69412);function J(...e){if(1===e.length){const t=e[0];if((0,j.k)(t))return X(t,null);if((0,Q.K)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return X(e.map((e=>t[e])),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return X(e=1===e.length&&(0,j.k)(e[0])?e[0]:e,null).pipe((0,F.U)((e=>t(...e))))}return X(e,null)}function X(e,t){return new r.y((n=>{const r=e.length;if(0===r)return void n.complete();const s=new Array(r);let i=0,o=0;for(let a=0;a<r;a++){const u=(0,Y.D)(e[a]);let l=!1;n.add(u.subscribe({next:e=>{l||(l=!0,o++),s[a]=e},error:e=>n.error(e),complete:()=>{i++,i!==r&&l||(o===r&&n.next(t?t.reduce(((e,t,n)=>(e[t]=s[n],e)),{}):s),n.complete())}}))}}))}var ee=n(69105);function te(e,t,n,s){return(0,ee.m)(n)&&(s=n,n=void 0),s?te(e,t,n).pipe((0,F.U)((e=>(0,j.k)(e)?s(...e):s(e)))):new r.y((r=>{ne(e,t,(function(e){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(e)}),r,n)}))}function ne(e,t,n,r,s){let i;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const r=e;e.addEventListener(t,n,s),i=()=>r.removeEventListener(t,n,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const r=e;e.on(t,n),i=()=>r.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const r=e;e.addListener(t,n),i=()=>r.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let i=0,o=e.length;i<o;i++)ne(e[i],t,n,r,s)}r.add(i)}function re(e,t,n){return n?re(e,t).pipe((0,F.U)((e=>(0,j.k)(e)?n(...e):n(e)))):new r.y((n=>{const r=(...e)=>n.next(1===e.length?e[0]:e);let s;try{s=e(r)}catch(e){return void n.error(e)}if((0,ee.m)(t))return()=>t(r,s)}))}function se(e,t,n,s,i){let o,a;if(1==arguments.length){const r=e;a=r.initialState,t=r.condition,n=r.iterate,o=r.resultSelector||k.y,i=r.scheduler}else void 0===s||(0,V.K)(s)?(a=e,o=k.y,i=s):(a=e,o=s);return new r.y((e=>{let r=a;if(i)return i.schedule(ie,0,{subscriber:e,iterate:n,condition:t,resultSelector:o,state:r});for(;;){if(t){let n;try{n=t(r)}catch(t){return void e.error(t)}if(!n){e.complete();break}}let s;try{s=o(r)}catch(t){return void e.error(t)}if(e.next(s),e.closed)break;try{r=n(r)}catch(t){return void e.error(t)}}}))}function ie(e){const{subscriber:t,condition:n}=e;if(t.closed)return;if(e.needIterate)try{e.state=e.iterate(e.state)}catch(e){return void t.error(e)}else e.needIterate=!0;if(n){let r;try{r=n(e.state)}catch(e){return void t.error(e)}if(!r)return void t.complete();if(t.closed)return}let r;try{r=e.resultSelector(e.state)}catch(e){return void t.error(e)}return t.closed||(t.next(r),t.closed)?void 0:this.schedule(e)}function oe(e,t=K.E,n=K.E){return(0,G.P)((()=>e()?t:n))}Object.prototype.toString;var ae=n(26561);function ue(e=0,t=d.P){return(!(0,ae.k)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=d.P),new r.y((n=>(n.add(t.schedule(le,e,{subscriber:n,counter:0,period:e})),n)))}function le(e){const{subscriber:t,counter:n,period:r}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}var ce=n(66682);const he=new r.y(T.Z);function de(){return he}var fe=n(25917);function pe(...e){if(0===e.length)return K.E;const[t,...n]=e;return 1===e.length&&(0,j.k)(t)?pe(...t):new r.y((e=>{const r=()=>e.add(pe(...n).subscribe(e));return(0,Y.D)(t).subscribe({next(t){e.next(t)},error:r,complete:r})}))}function ge(e,t){return t?new r.y((n=>{const r=Object.keys(e),s=new D.w;return s.add(t.schedule(me,0,{keys:r,index:0,subscriber:n,subscription:s,obj:e})),s})):new r.y((t=>{const n=Object.keys(e);for(let r=0;r<n.length&&!t.closed;r++){const s=n[r];e.hasOwnProperty(s)&&t.next([s,e[s]])}t.complete()}))}function me(e){const{keys:t,index:n,subscriber:r,subscription:s,obj:i}=e;if(!r.closed)if(n<t.length){const e=t[n];r.next([e,i[e]]),s.add(this.schedule({keys:t,index:n+1,subscriber:r,subscription:s,obj:i}))}else r.complete()}var ye=n(49264),ve=n(87444),_e=n(45435);function be(e,t,n){return[(0,_e.h)(t,n)(new r.y((0,ve.s)(e))),(0,_e.h)((0,ye.f)(t,n))(new r.y((0,ve.s)(e)))]}var we=n(98085);function Ce(e=0,t,n){return new r.y((r=>{void 0===t&&(t=e,e=0);let s=0,i=e;if(n)return n.schedule(De,0,{index:s,count:t,start:e,subscriber:r});for(;;){if(s++>=t){r.complete();break}if(r.next(i++),r.closed)break}}))}function De(e){const{start:t,index:n,count:r,subscriber:s}=e;n>=r?s.complete():(s.next(t),s.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var Ee=n(40205),Se=n(46797);function xe(e,t){return new r.y((n=>{let r,s;try{r=e()}catch(e){return void n.error(e)}try{s=t(r)}catch(e){return void n.error(e)}const i=(s?(0,Y.D)(s):K.E).subscribe(n);return()=>{i.unsubscribe(),r&&r.unsubscribe()}}))}var Te=n(21571),ke=n(91115),Me=n(82494)},68660:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(79765),s=n(10826);class i extends r.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(e){return this.hasError?(e.error(this.thrownError),s.w.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),s.w.EMPTY):super._subscribe(e)}next(e){this.hasCompleted||(this.value=e,this.hasNext=!0)}error(e){this.hasCompleted||super.error(e)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}},26215:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(79765),s=n(77971);class i extends r.xQ{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(e){super.next(this._value=e)}}},23098:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,W:()=>o});var r=n(59193),s=n(25917),i=n(40205),o=(()=>(function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(o||(o={})),o))();class a{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return(0,i._)(this.error);case"C":return(0,r.c)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new a("N",e):a.undefinedValueNotification}static createError(e){return new a("E",void 0,e)}static createComplete(){return a.completeNotification}}a.completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0)},39897:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var r=n(13179),s=n(77393),i=n(29181),o=n(46490),a=n(16554),u=n(34022),l=n(82494);let c=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,a=function(e,t,n){if(e){if(e instanceof s.L)return e;if(e[i.b])return e[i.b]()}return e||t||n?new s.L(e,t,n):new s.L(o.c)}(e,t,n);if(r?a.add(r.call(a,this.source)):a.add(this.source||l.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),(0,r._)(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=h(t))(((t,n)=>{let r;r=this.subscribe((t=>{try{e(t)}catch(e){n(e),r&&r.unsubscribe()}}),n,t)}))}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[a.L](){return this}pipe(...e){return 0===e.length?this:(0,u.U)(e)(this)}toPromise(e){return new(e=h(e))(((e,t)=>{let n;this.subscribe((e=>n=e),(e=>t(e)),(()=>e(n)))}))}}return e.create=t=>new e(t),e})();function h(e){if(e||(e=l.v.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},46490:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(82494),s=n(54449);const i={closed:!0,next(e){},error(e){if(r.v.useDeprecatedSynchronousErrorHandling)throw e;(0,s.z)(e)},complete(){}}},55197:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(77393);class s extends r.L{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},88229:(e,t,n)=>{"use strict";n.d(t,{t:()=>l});var r=n(79765),s=n(57771),i=n(10826),o=n(59746),a=n(77971),u=n(78858);class l extends r.xQ{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new c(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=n.length;let l;if(this.closed)throw new a.N;if(this.isStopped||this.hasError?l=i.w.EMPTY:(this.observers.push(e),l=new u.W(this,e)),r&&e.add(e=new o.ht(e,r)),t)for(let t=0;t<s&&!e.closed;t++)e.next(n[t]);else for(let t=0;t<s&&!e.closed;t++)e.next(n[t].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),l}_getNow(){return(this.scheduler||s.c).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,s=r.length;let i=0;for(;i<s&&!(e-r[i].time<n);)i++;return s>t&&(i=Math.max(i,s-t)),i>0&&r.splice(0,i),r}}class c{constructor(e,t){this.time=e,this.value=t}}},2217:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});let r=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})()},79765:(e,t,n)=>{"use strict";n.d(t,{Yc:()=>l,xQ:()=>c});var r=n(39897),s=n(77393),i=n(10826),o=n(77971),a=n(78858),u=n(29181);class l extends s.L{constructor(e){super(e),this.destination=e}}let c=(()=>{class e extends r.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[u.b](){return new l(this)}lift(e){const t=new h(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let t=0;t<n;t++)r[t].next(e)}}error(e){if(this.closed)throw new o.N;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let t=0;t<n;t++)r[t].error(e);this.observers.length=0}complete(){if(this.closed)throw new o.N;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let e=0;e<t;e++)n[e].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new o.N;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new o.N;return this.hasError?(e.error(this.thrownError),i.w.EMPTY):this.isStopped?(e.complete(),i.w.EMPTY):(this.observers.push(e),new a.W(this,e))}asObservable(){const e=new r.y;return e.source=this,e}}return e.create=(e,t)=>new h(e,t),e})();class h extends c{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):i.w.EMPTY}}},78858:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var r=n(10826);class s extends r.w{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},77393:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});var r=n(69105),s=n(46490),i=n(10826),o=n(29181),a=n(82494),u=n(54449);class l extends i.w{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!e){this.destination=s.c;break}if("object"==typeof e){e instanceof l?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,e,t,n)}}[o.b](){return this}static create(e,t,n){const r=new l(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class c extends l{constructor(e,t,n,i){let o;super(),this._parentSubscriber=e;let a=this;(0,r.m)(t)?o=t:t&&(o=t.next,n=t.error,i=t.complete,t!==s.c&&(a=Object.create(t),(0,r.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):(0,u.z)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;(0,u.z)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw e;(0,u.z)(e)}}__tryOrSetError(e,t,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return a.v.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):((0,u.z)(t),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},10826:(e,t,n)=>{"use strict";n.d(t,{w:()=>u});var r,s=n(59796),i=n(81555),o=n(69105),a=n(57744);class u{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:n,_unsubscribe:r,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof u)t.remove(this);else if(null!==t)for(let e=0;e<t.length;++e)t[e].remove(this);if((0,o.m)(r)){n&&(this._unsubscribe=void 0);try{r.call(this)}catch(t){e=t instanceof a.B?l(t.errors):[t]}}if((0,s.k)(c)){let t=-1,n=c.length;for(;++t<n;){const n=c[t];if((0,i.K)(n))try{n.unsubscribe()}catch(t){e=e||[],t instanceof a.B?e=e.concat(l(t.errors)):e.push(t)}}}if(e)throw new a.B(e)}add(e){let t=e;if(!e)return u.EMPTY;switch(typeof e){case"function":t=new u(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof u)){const e=t;t=new u,t._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:n}=t;if(null===n)t._parentOrParents=this;else if(n instanceof u){if(n===this)return t;t._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return t;n.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[t]:r.push(t),t}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}function l(e){return e.reduce(((e,t)=>e.concat(t instanceof a.B?t.errors:t)),[])}u.EMPTY=((r=new u).closed=!0,r)},82494:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});let r=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},85345:(e,t,n)=>{"use strict";n.d(t,{Ds:()=>a,IY:()=>o,ft:()=>u});var r=n(77393),s=n(39897),i=n(87444);class o extends r.L{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends r.L{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function u(e,t){if(t.closed)return;if(e instanceof s.y)return e.subscribe(t);let n;try{n=(0,i.s)(e)(t)}catch(e){t.error(e)}return n}},52441:(e,t,n)=>{"use strict";n.d(t,{N:()=>u,c:()=>a});var r=n(79765),s=n(39897),i=n(10826),o=n(51307);class a extends s.y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new i.w,e.add(this.source.subscribe(new l(this.getSubject(),this))),e.closed&&(this._connection=null,e=i.w.EMPTY)),e}refCount(){return(0,o.x)()(this)}}const u=(()=>{const e=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class l extends r.Yc{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}},9112:(e,t,n)=>{"use strict";n.d(t,{Ms:()=>c,aj:()=>l});var r=n(54869),s=n(59796),i=n(55197),o=n(20509),a=n(56693);const u={};function l(...e){let t,n;return(0,r.K)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&(0,s.k)(e[0])&&(e=e[0]),(0,a.n)(e,n).lift(new c(t))}class c{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new h(e,this.resultSelector))}}class h extends i.L{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(u),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add((0,o.D)(this,t,void 0,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const r=this.values,s=r[n],i=this.toRespond?s===u?--this.toRespond:this.toRespond:0;r[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)}}},29923:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(25917),s=n(65766);function i(...e){return(0,s.u)()((0,r.of)(...e))}},41439:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(39897),s=n(69412),i=n(59193);function o(e){return new r.y((t=>{let n;try{n=e()}catch(e){return void t.error(e)}return(n?(0,s.D)(n):(0,i.c)()).subscribe(t)}))}},59193:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,c:()=>i});var r=n(39897);const s=new r.y((e=>e.complete()));function i(e){return e?function(e){return new r.y((t=>e.schedule((()=>t.complete()))))}(e):s}},69412:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r=n(39897),s=n(87444),i=n(91115);function o(e,t){return t?(0,i.x)(e,t):e instanceof r.y?e:new r.y((0,s.s)(e))}},56693:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(39897),s=n(55015),i=n(94087);function o(e,t){return t?(0,i.r)(e,t):new r.y((0,s.V)(e))}},66682:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(39897),s=n(54869),i=n(63282),o=n(56693);function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return(0,s.K)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof r.y?e[0]:(0,i.J)(t)((0,o.n)(e,n))}},25917:(e,t,n)=>{"use strict";n.d(t,{of:()=>o});var r=n(54869),s=n(56693),i=n(94087);function o(...e){let t=e[e.length-1];return(0,r.K)(t)?(e.pop(),(0,i.r)(e,t)):(0,s.n)(e)}},98085:(e,t,n)=>{"use strict";n.d(t,{S3:()=>a});var r=n(59796),s=n(56693),i=n(55197),o=n(20509);function a(...e){if(1===e.length){if(!(0,r.k)(e[0]))return e[0];e=e[0]}return(0,s.n)(e,void 0).lift(new u)}class u{call(e,t){return t.subscribe(new l(e))}}class l extends i.L{constructor(e){super(e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(e){this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(let n=0;n<t&&!this.hasFirst;n++){const t=e[n],r=(0,o.D)(this,t,void 0,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}notifyNext(e,t,n){if(!this.hasFirst){this.hasFirst=!0;for(let e=0;e<this.subscriptions.length;e++)if(e!==n){let t=this.subscriptions[e];t.unsubscribe(),this.remove(t)}this.subscriptions=null}this.destination.next(t)}}},40205:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(39897);function s(e,t){return t?new r.y((n=>t.schedule(i,0,{error:e,subscriber:n}))):new r.y((t=>t.error(e)))}function i({error:e,subscriber:t}){t.error(e)}},46797:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(39897),s=n(33637),i=n(26561),o=n(54869);function a(e=0,t,n){let a=-1;return(0,i.k)(t)?a=Number(t)<1?1:Number(t):(0,o.K)(t)&&(n=t),(0,o.K)(n)||(n=s.P),new r.y((t=>{const r=(0,i.k)(e)?e:+e-n.now();return n.schedule(u,r,{index:0,period:a,subscriber:t})}))}function u(e){const{index:t,period:n,subscriber:r}=e;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}},21571:(e,t,n)=>{"use strict";n.d(t,{$R:()=>u,mx:()=>l});var r=n(56693),s=n(59796),i=n(77393),o=n(20377),a=n(85345);function u(...e){const t=e[e.length-1];return"function"==typeof t&&e.pop(),(0,r.n)(e,void 0).lift(new l(t))}class l{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new c(e,this.resultSelector))}}class c extends i.L{constructor(e,t,n=Object.create(null)){super(e),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(e){const t=this.iterators;(0,s.k)(e)?t.push(new d(e)):"function"==typeof e[o.hZ]?t.push(new h(e[o.hZ]())):t.push(new f(this.destination,this,e))}_complete(){const e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(let n=0;n<t;n++){let t=e[n];t.stillUnsubscribed?this.destination.add(t.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const e=this.iterators,t=e.length,n=this.destination;for(let n=0;n<t;n++){let t=e[n];if("function"==typeof t.hasValue&&!t.hasValue())return}let r=!1;const s=[];for(let i=0;i<t;i++){let t=e[i],o=t.next();if(t.hasCompleted()&&(r=!0),o.done)return void n.complete();s.push(o.value)}this.resultSelector?this._tryresultSelector(s):n.next(s),r&&n.complete()}_tryresultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)}}class h{constructor(e){this.iterator=e,this.nextResult=e.next()}hasValue(){return!0}next(){const e=this.nextResult;return this.nextResult=this.iterator.next(),e}hasCompleted(){const e=this.nextResult;return Boolean(e&&e.done)}}class d{constructor(e){this.array=e,this.index=0,this.length=0,this.length=e.length}[o.hZ](){return this}next(e){const t=this.index++,n=this.array;return t<this.length?{value:n[t],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class f extends a.Ds{constructor(e,t,n){super(e),this.parent=t,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[o.hZ](){return this}next(){const e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(e){this.buffer.push(e),this.parent.checkIterators()}subscribe(){return(0,a.ft)(this.observable,new a.IY(this))}}},65766:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(63282);function s(){return(0,r.J)(1)}},45435:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(77393);function s(e,t){return function(n){return n.lift(new i(e,t))}}class i{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}class o extends r.L{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)}}},304:(e,t,n)=>{"use strict";n.d(t,{T:()=>h,v:()=>a});var r=n(77393),s=n(10826),i=n(39897),o=n(79765);function a(e,t,n,r){return s=>s.lift(new u(e,t,n,r))}class u{constructor(e,t,n,r){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=r}call(e,t){return t.subscribe(new l(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class l extends r.L{constructor(e,t,n,r,s){super(e),this.keySelector=t,this.elementSelector=n,this.durationSelector=r,this.subjectSelector=s,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(e){let t;try{t=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,t)}_group(e,t){let n=this.groups;n||(n=this.groups=new Map);let r,s=n.get(t);if(this.elementSelector)try{r=this.elementSelector(e)}catch(e){this.error(e)}else r=e;if(!s){s=this.subjectSelector?this.subjectSelector():new o.xQ,n.set(t,s);const e=new h(t,s,this);if(this.destination.next(e),this.durationSelector){let e;try{e=this.durationSelector(new h(t,s))}catch(e){return void this.error(e)}this.add(e.subscribe(new c(t,s,this)))}}s.closed||s.next(r)}_error(e){const t=this.groups;t&&(t.forEach(((t,n)=>{t.error(e)})),t.clear()),this.destination.error(e)}_complete(){const e=this.groups;e&&(e.forEach(((e,t)=>{e.complete()})),e.clear()),this.destination.complete()}removeGroup(e){this.groups.delete(e)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class c extends r.L{constructor(e,t,n){super(t),this.key=e,this.group=t,this.parent=n}_next(e){this.complete()}_unsubscribe(){const{parent:e,key:t}=this;this.key=this.parent=null,e&&e.removeGroup(t)}}class h extends i.y{constructor(e,t,n){super(),this.key=e,this.groupSubject=t,this.refCountSubscription=n}_subscribe(e){const t=new s.w,{refCountSubscription:n,groupSubject:r}=this;return n&&!n.closed&&t.add(new d(n)),t.add(r.subscribe(e)),t}}class d extends s.w{constructor(e){super(),this.parent=e,e.count++}unsubscribe(){const e=this.parent;e.closed||this.closed||(super.unsubscribe(),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}},88002:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var r=n(77393);function s(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new i(e,t))}}class i{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}class o extends r.L{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)}}},63282:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(19773),s=n(54487);function i(e=Number.POSITIVE_INFINITY){return(0,r.zg)(s.y,e)}},19773:(e,t,n)=>{"use strict";n.d(t,{VS:()=>l,zg:()=>o});var r=n(88002),s=n(69412),i=n(85345);function o(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(o(((n,i)=>(0,s.D)(e(n,i)).pipe((0,r.U)(((e,r)=>t(n,e,i,r))))),n)):("number"==typeof t&&(n=t),t=>t.lift(new a(e,n)))}class a{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}class u extends i.Ds{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)}_innerSub(e){const t=new i.IY(this),n=this.destination;n.add(t);const r=(0,i.ft)(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const l=o},59746:(e,t,n)=>{"use strict";n.d(t,{QV:()=>i,ht:()=>a});var r=n(77393),s=n(23098);function i(e,t=0){return function(n){return n.lift(new o(e,t))}}class o{constructor(e,t=0){this.scheduler=e,this.delay=t}call(e,t){return t.subscribe(new a(e,this.scheduler,this.delay))}}class a extends r.L{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(a.dispatch,this.delay,new u(e,this.destination)))}_next(e){this.scheduleMessage(s.P.createNext(e))}_error(e){this.scheduleMessage(s.P.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(s.P.createComplete()),this.unsubscribe()}}class u{constructor(e,t){this.notification=e,this.destination=t}}},51307:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var r=n(77393);function s(){return function(e){return e.lift(new i(e))}}class i{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new o(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class o extends r.L{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}},94087:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(39897),s=n(10826);function i(e,t){return new r.y((n=>{const r=new s.w;let i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},91115:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var r=n(39897),s=n(10826),i=n(16554),o=n(94087),a=n(20377),u=n(44072),l=n(69489);function c(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[i.L]}(e))return function(e,t){return new r.y((n=>{const r=new s.w;return r.add(t.schedule((()=>{const s=e[i.L]();r.add(s.subscribe({next(e){r.add(t.schedule((()=>n.next(e))))},error(e){r.add(t.schedule((()=>n.error(e))))},complete(){r.add(t.schedule((()=>n.complete())))}}))}))),r}))}(e,t);if((0,u.t)(e))return function(e,t){return new r.y((n=>{const r=new s.w;return r.add(t.schedule((()=>e.then((e=>{r.add(t.schedule((()=>{n.next(e),r.add(t.schedule((()=>n.complete())))})))}),(e=>{r.add(t.schedule((()=>n.error(e))))}))))),r}))}(e,t);if((0,l.z)(e))return(0,o.r)(e,t);if(function(e){return e&&"function"==typeof e[a.hZ]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.y((n=>{const r=new s.w;let i;return r.add((()=>{i&&"function"==typeof i.return&&i.return()})),r.add(t.schedule((()=>{i=e[a.hZ](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())})))}))),r}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},36465:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(10826);class s extends r.w{constructor(e,t){super()}schedule(e,t=0){return this}}class i extends s{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(e){r=!0,n=!!e&&e||new Error(e)}if(r)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},4548:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(2217);class s extends r.b{constructor(e,t=r.b.now){super(e,(()=>s.delegate&&s.delegate!==this?s.delegate.now():t())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},64581:(e,t,n)=>{"use strict";n.d(t,{e:()=>f,E:()=>d});let r=1;const s=Promise.resolve(),i={};function o(e){return e in i&&(delete i[e],!0)}const a={setImmediate(e){const t=r++;return i[t]=!0,s.then((()=>o(t)&&e())),t},clearImmediate(e){o(e)}};var u=n(36465);class l extends u.o{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=a.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(a.clearImmediate(t),e.scheduled=void 0)}}var c=n(4548);class h extends c.v{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,r=-1,s=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++r<s&&(e=t.shift()));if(this.active=!1,n){for(;++r<s&&(e=t.shift());)e.unsubscribe();throw n}}}const d=new h(l),f=d},33637:(e,t,n)=>{"use strict";n.d(t,{P:()=>i,z:()=>s});var r=n(36465);const s=new(n(4548).v)(r.o),i=s},57771:(e,t,n)=>{"use strict";n.d(t,{c:()=>u,N:()=>a});var r=n(36465);class s extends r.o{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var i=n(4548);class o extends i.v{}const a=new o(s),u=a},20377:(e,t,n)=>{"use strict";n.d(t,{hZ:()=>r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},13410:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});const r=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},77971:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});const r=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},45587:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})()},57744:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});const r=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((e,t)=>`${t+1}) ${e.toString()}`)).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})()},13179:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(77393);function s(e){for(;e;){const{closed:t,destination:n,isStopped:s}=e;if(t||s)return!1;e=n&&n instanceof r.L?n:null}return!0}},54449:(e,t,n)=>{"use strict";function r(e){setTimeout((()=>{throw e}),0)}n.d(t,{z:()=>r})},54487:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{y:()=>r})},59796:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r=Array.isArray||(e=>e&&"number"==typeof e.length)},69489:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},69105:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{m:()=>r})},26561:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var r=n(59796);function s(e){return!(0,r.k)(e)&&e-parseFloat(e)+1>=0}},81555:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{K:()=>r})},44072:(e,t,n)=>{"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{t:()=>r})},54869:(e,t,n)=>{"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,{K:()=>r})},98640:(e,t,n)=>{"use strict";function r(){}n.d(t,{Z:()=>r})},49264:(e,t,n)=>{"use strict";function r(e,t){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=e,n.thisArg=t,n}n.d(t,{f:()=>r})},34022:(e,t,n)=>{"use strict";n.d(t,{U:()=>i,z:()=>s});var r=n(54487);function s(...e){return i(e)}function i(e){return 0===e.length?r.y:1===e.length?e[0]:function(t){return e.reduce(((e,t)=>t(e)),t)}}},87444:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(55015),s=n(54449),i=n(20377),o=n(16554),a=n(69489),u=n(44072),l=n(81555);const c=e=>{if(e&&"function"==typeof e[o.L])return c=e,e=>{const t=c[o.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,a.z)(e))return(0,r.V)(e);if((0,u.t)(e))return n=e,e=>(n.then((t=>{e.closed||(e.next(t),e.complete())}),(t=>e.error(t))).then(null,s.z),e);if(e&&"function"==typeof e[i.hZ])return t=e,e=>{const n=t[i.hZ]();for(;;){let t;try{t=n.next()}catch(t){return e.error(t),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add((()=>{n.return&&n.return()})),e};{const t=(0,l.K)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,c}},55015:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}},20509:(e,t,n)=>{"use strict";n.d(t,{D:()=>a});var r=n(77393);class s extends r.L{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var i=n(87444),o=n(39897);function a(e,t,n,r,a=new s(e,n,r)){if(!a.closed)return t instanceof o.y?t.subscribe(a):(0,i.s)(t)(a)}},98313:(e,t,n)=>{"use strict";n.r(t),n.d(t,{audit:()=>s,auditTime:()=>l,buffer:()=>c,bufferCount:()=>p,bufferTime:()=>_,bufferToggle:()=>M,bufferWhen:()=>O,catchError:()=>F,combineAll:()=>L,combineLatest:()=>U,concat:()=>z,concatAll:()=>q.u,concatMap:()=>Z,concatMapTo:()=>G,count:()=>K,debounce:()=>J,debounceTime:()=>te,defaultIfEmpty:()=>ie,delay:()=>ce,delayWhen:()=>ge,dematerialize:()=>be,distinct:()=>De,distinctUntilChanged:()=>xe,distinctUntilKeyChanged:()=>Me,elementAt:()=>$e,endWith:()=>He,every:()=>ze,exhaust:()=>Ze,exhaustMap:()=>Ye,expand:()=>et,filter:()=>Ie.h,finalize:()=>rt,find:()=>ot,findIndex:()=>lt,first:()=>ht,flatMap:()=>W.VS,groupBy:()=>dt.v,ignoreElements:()=>ft,isEmpty:()=>mt,last:()=>Ct,map:()=>Qe.U,mapTo:()=>Dt,materialize:()=>xt,max:()=>Pt,merge:()=>Rt,mergeAll:()=>jt.J,mergeMap:()=>W.zg,mergeMapTo:()=>Vt,mergeScan:()=>Lt,min:()=>Ut,multicast:()=>zt,observeOn:()=>Wt.QV,onErrorResumeNext:()=>Zt,pairwise:()=>Qt,partition:()=>en,pluck:()=>tn,publish:()=>rn,publishBehavior:()=>on,publishLast:()=>un,publishReplay:()=>cn,race:()=>dn,reduce:()=>Nt,refCount:()=>Sn.x,repeat:()=>fn,repeatWhen:()=>mn,retry:()=>_n,retryWhen:()=>Cn,sample:()=>xn,sampleTime:()=>Mn,scan:()=>Mt,sequenceEqual:()=>Nn,share:()=>Vn,shareReplay:()=>Ln,single:()=>Bn,skip:()=>Hn,skipLast:()=>Wn,skipUntil:()=>Kn,skipWhile:()=>Jn,startWith:()=>tr,subscribeOn:()=>ir,switchAll:()=>cr,switchMap:()=>ar,switchMapTo:()=>hr,take:()=>Ve,takeLast:()=>_t,takeUntil:()=>dr,takeWhile:()=>gr,tap:()=>br,throttle:()=>Er,throttleTime:()=>Tr,throwIfEmpty:()=>Ne,timeInterval:()=>Or,timeout:()=>Lr,timeoutWith:()=>Fr,timestamp:()=>Br,toArray:()=>Hr,window:()=>zr,windowCount:()=>Zr,windowTime:()=>Qr,windowToggle:()=>rs,windowWhen:()=>os,withLatestFrom:()=>ls,zip:()=>fs,zipAll:()=>ps});var r=n(85345);function s(e){return function(t){return t.lift(new i(e))}}class i{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new o(e,this.durationSelector))}}class o extends r.Ds{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:n}=this;t=n(e)}catch(e){return this.destination.error(e)}const n=(0,r.ft)(t,new r.IY(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n(33637),u=n(46797);function l(e,t=a.P){return s((()=>(0,u.H)(e,t)))}function c(e){return function(t){return t.lift(new h(e))}}class h{constructor(e){this.closingNotifier=e}call(e,t){return t.subscribe(new d(e,this.closingNotifier))}}class d extends r.Ds{constructor(e,t){super(e),this.buffer=[],this.add((0,r.ft)(t,new r.IY(this)))}_next(e){this.buffer.push(e)}notifyNext(){const e=this.buffer;this.buffer=[],this.destination.next(e)}}var f=n(77393);function p(e,t=null){return function(n){return n.lift(new g(e,t))}}class g{constructor(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?y:m}call(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))}}class m extends f.L{constructor(e,t){super(e),this.bufferSize=t,this.buffer=[]}_next(e){const t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])}_complete(){const e=this.buffer;e.length>0&&this.destination.next(e),super._complete()}}class y extends f.L{constructor(e,t,n){super(e),this.bufferSize=t,this.startBufferEvery=n,this.buffers=[],this.count=0}_next(e){const{bufferSize:t,startBufferEvery:n,buffers:r,count:s}=this;this.count++,s%n==0&&r.push([]);for(let n=r.length;n--;){const s=r[n];s.push(e),s.length===t&&(r.splice(n,1),this.destination.next(s))}}_complete(){const{buffers:e,destination:t}=this;for(;e.length>0;){let n=e.shift();n.length>0&&t.next(n)}super._complete()}}var v=n(54869);function _(e){let t=arguments.length,n=a.P;(0,v.K)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],t--);let r=null;t>=2&&(r=arguments[1]);let s=Number.POSITIVE_INFINITY;return t>=3&&(s=arguments[2]),function(t){return t.lift(new b(e,r,s,n))}}class b{constructor(e,t,n,r){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=n,this.scheduler=r}call(e,t){return t.subscribe(new C(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class w{constructor(){this.buffer=[]}}class C extends f.L{constructor(e,t,n,r,s){super(e),this.bufferTimeSpan=t,this.bufferCreationInterval=n,this.maxBufferSize=r,this.scheduler=s,this.contexts=[];const i=this.openContext();if(this.timespanOnly=null==n||n<0,this.timespanOnly){const e={subscriber:this,context:i,bufferTimeSpan:t};this.add(i.closeAction=s.schedule(D,t,e))}else{const e={subscriber:this,context:i},r={bufferTimeSpan:t,bufferCreationInterval:n,subscriber:this,scheduler:s};this.add(i.closeAction=s.schedule(S,t,e)),this.add(s.schedule(E,n,r))}}_next(e){const t=this.contexts,n=t.length;let r;for(let s=0;s<n;s++){const n=t[s],i=n.buffer;i.push(e),i.length==this.maxBufferSize&&(r=n)}r&&this.onBufferFull(r)}_error(e){this.contexts.length=0,super._error(e)}_complete(){const{contexts:e,destination:t}=this;for(;e.length>0;){const n=e.shift();t.next(n.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(e){this.closeContext(e);const t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();const t=this.bufferTimeSpan,n={subscriber:this,context:e,bufferTimeSpan:t};this.add(e.closeAction=this.scheduler.schedule(D,t,n))}}openContext(){const e=new w;return this.contexts.push(e),e}closeContext(e){this.destination.next(e.buffer);const t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)}}function D(e){const t=e.subscriber,n=e.context;n&&t.closeContext(n),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function E(e){const{bufferCreationInterval:t,bufferTimeSpan:n,subscriber:r,scheduler:s}=e,i=r.openContext();r.closed||(r.add(i.closeAction=s.schedule(S,n,{subscriber:r,context:i})),this.schedule(e,t))}function S(e){const{subscriber:t,context:n}=e;t.closeContext(n)}var x=n(10826),T=n(20509),k=n(55197);function M(e,t){return function(n){return n.lift(new A(e,t))}}class A{constructor(e,t){this.openings=e,this.closingSelector=t}call(e,t){return t.subscribe(new I(e,this.openings,this.closingSelector))}}class I extends k.L{constructor(e,t,n){super(e),this.closingSelector=n,this.contexts=[],this.add((0,T.D)(this,t))}_next(e){const t=this.contexts,n=t.length;for(let r=0;r<n;r++)t[r].buffer.push(e)}_error(e){const t=this.contexts;for(;t.length>0;){const e=t.shift();e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,super._error(e)}_complete(){const e=this.contexts;for(;e.length>0;){const t=e.shift();this.destination.next(t.buffer),t.subscription.unsubscribe(),t.buffer=null,t.subscription=null}this.contexts=null,super._complete()}notifyNext(e,t){e?this.closeBuffer(e):this.openBuffer(t)}notifyComplete(e){this.closeBuffer(e.context)}openBuffer(e){try{const t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(e){this._error(e)}}closeBuffer(e){const t=this.contexts;if(t&&e){const{buffer:n,subscription:r}=e;this.destination.next(n),t.splice(t.indexOf(e),1),this.remove(r),r.unsubscribe()}}trySubscribe(e){const t=this.contexts,n=new x.w,r={buffer:[],subscription:n};t.push(r);const s=(0,T.D)(this,e,r);!s||s.closed?this.closeBuffer(r):(s.context=r,this.add(s),n.add(s))}}function O(e){return function(t){return t.lift(new N(e))}}class N{constructor(e){this.closingSelector=e}call(e,t){return t.subscribe(new P(e,this.closingSelector))}}class P extends r.Ds{constructor(e,t){super(e),this.closingSelector=t,this.subscribing=!1,this.openBuffer()}_next(e){this.buffer.push(e)}_complete(){const e=this.buffer;e&&this.destination.next(e),super._complete()}_unsubscribe(){this.buffer=void 0,this.subscribing=!1}notifyNext(){this.openBuffer()}notifyComplete(){this.subscribing?this.complete():this.openBuffer()}openBuffer(){let{closingSubscription:e}=this;e&&(this.remove(e),e.unsubscribe());const t=this.buffer;let n;this.buffer&&this.destination.next(t),this.buffer=[];try{const{closingSelector:e}=this;n=e()}catch(e){return this.error(e)}e=new x.w,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add((0,r.ft)(n,new r.IY(this))),this.subscribing=!1}}function F(e){return function(t){const n=new R(e),r=t.lift(n);return n.caught=r}}class R{constructor(e){this.selector=e}call(e,t){return t.subscribe(new j(e,this.selector,this.caught))}}class j extends r.Ds{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let t;try{t=this.selector(e,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new r.IY(this);this.add(n);const s=(0,r.ft)(t,n);s!==n&&this.add(s)}}}var V=n(9112);function L(e){return t=>t.lift(new V.Ms(e))}var B=n(59796),$=n(69412);function U(...e){let t=null;return"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&(0,B.k)(e[0])&&(e=e[0].slice()),n=>n.lift.call((0,$.D)([n,...e]),new V.Ms(t))}var H=n(29923);function z(...e){return t=>t.lift.call((0,H.z)(t,...e))}var q=n(65766),W=n(19773);function Z(e,t){return(0,W.zg)(e,t,1)}function G(e,t){return Z((()=>e),t)}function K(e){return t=>t.lift(new Q(e,t))}class Q{constructor(e,t){this.predicate=e,this.source=t}call(e,t){return t.subscribe(new Y(e,this.predicate,this.source))}}class Y extends f.L{constructor(e,t,n){super(e),this.predicate=t,this.source=n,this.count=0,this.index=0}_next(e){this.predicate?this._tryPredicate(e):this.count++}_tryPredicate(e){let t;try{t=this.predicate(e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t&&this.count++}_complete(){this.destination.next(this.count),this.destination.complete()}}function J(e){return t=>t.lift(new X(e))}class X{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new ee(e,this.durationSelector))}}class ee extends r.Ds{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){try{const t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(e){this.destination.error(e)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(e,t){let n=this.durationSubscription;this.value=e,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=(0,r.ft)(t,new r.IY(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const e=this.value,t=this.durationSubscription;t&&(this.durationSubscription=void 0,t.unsubscribe(),this.remove(t)),this.value=void 0,this.hasValue=!1,super._next(e)}}}function te(e,t=a.P){return n=>n.lift(new ne(e,t))}class ne{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new re(e,this.dueTime,this.scheduler))}}class re extends f.L{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(se,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function se(e){e.debouncedNext()}function ie(e=null){return t=>t.lift(new oe(e))}class oe{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new ae(e,this.defaultValue))}}class ae extends f.L{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function ue(e){return e instanceof Date&&!isNaN(+e)}var le=n(23098);function ce(e,t=a.P){const n=ue(e)?+e-t.now():Math.abs(e);return e=>e.lift(new he(n,t))}class he{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new de(e,this.delay,this.scheduler))}}class de extends f.L{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,r=e.scheduler,s=e.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const t=Math.max(0,n[0].time-r.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(de.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new fe(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(le.P.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(le.P.createComplete()),this.unsubscribe()}}class fe{constructor(e,t){this.time=e,this.notification=t}}var pe=n(39897);function ge(e,t){return t?n=>new ve(n,t).lift(new me(e)):t=>t.lift(new me(e))}class me{constructor(e){this.delayDurationSelector=e}call(e,t){return t.subscribe(new ye(e,this.delayDurationSelector))}}class ye extends k.L{constructor(e,t){super(e),this.delayDurationSelector=t,this.completed=!1,this.delayNotifierSubscriptions=[],this.index=0}notifyNext(e,t,n,r,s){this.destination.next(e),this.removeSubscription(s),this.tryComplete()}notifyError(e,t){this._error(e)}notifyComplete(e){const t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()}_next(e){const t=this.index++;try{const n=this.delayDurationSelector(e,t);n&&this.tryDelay(n,e)}catch(e){this.destination.error(e)}}_complete(){this.completed=!0,this.tryComplete(),this.unsubscribe()}removeSubscription(e){e.unsubscribe();const t=this.delayNotifierSubscriptions.indexOf(e);return-1!==t&&this.delayNotifierSubscriptions.splice(t,1),e.outerValue}tryDelay(e,t){const n=(0,T.D)(this,e,t);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))}tryComplete(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}class ve extends pe.y{constructor(e,t){super(),this.source=e,this.subscriptionDelay=t}_subscribe(e){this.subscriptionDelay.subscribe(new _e(e,this.source))}}class _e extends f.L{constructor(e,t){super(),this.parent=e,this.source=t,this.sourceSubscribed=!1}_next(e){this.subscribeToSource()}_error(e){this.unsubscribe(),this.parent.error(e)}_complete(){this.unsubscribe(),this.subscribeToSource()}subscribeToSource(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}function be(){return function(e){return e.lift(new we)}}class we{call(e,t){return t.subscribe(new Ce(e))}}class Ce extends f.L{constructor(e){super(e)}_next(e){e.observe(this.destination)}}function De(e,t){return n=>n.lift(new Ee(e,t))}class Ee{constructor(e,t){this.keySelector=e,this.flushes=t}call(e,t){return t.subscribe(new Se(e,this.keySelector,this.flushes))}}class Se extends r.Ds{constructor(e,t,n){super(e),this.keySelector=t,this.values=new Set,n&&this.add((0,r.ft)(n,new r.IY(this)))}notifyNext(){this.values.clear()}notifyError(e){this._error(e)}_next(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)}_useKeySelector(e){let t;const{destination:n}=this;try{t=this.keySelector(e)}catch(e){return void n.error(e)}this._finalizeNext(t,e)}_finalizeNext(e,t){const{values:n}=this;n.has(e)||(n.add(e),this.destination.next(t))}}function xe(e,t){return n=>n.lift(new Te(e,t))}class Te{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new ke(e,this.compare,this.keySelector))}}class ke extends f.L{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(e){return this.destination.error(e)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}function Me(e,t){return xe(((n,r)=>t?t(n[e],r[e]):n[e]===r[e]))}var Ae=n(7108),Ie=n(45435),Oe=n(13410);function Ne(e=Re){return t=>t.lift(new Pe(e))}class Pe{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Fe(e,this.errorFactory))}}class Fe extends f.L{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function Re(){return new Oe.K}var je=n(59193);function Ve(e){return t=>0===e?(0,je.c)():t.lift(new Le(e))}class Le{constructor(e){if(this.total=e,this.total<0)throw new Ae.W}call(e,t){return t.subscribe(new Be(e,this.total))}}class Be extends f.L{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function $e(e,t){if(e<0)throw new Ae.W;const n=arguments.length>=2;return r=>r.pipe((0,Ie.h)(((t,n)=>n===e)),Ve(1),n?ie(t):Ne((()=>new Ae.W)))}var Ue=n(25917);function He(...e){return t=>(0,H.z)(t,(0,Ue.of)(...e))}function ze(e,t){return n=>n.lift(new qe(e,t,n))}class qe{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new We(e,this.predicate,this.thisArg,this.source))}}class We extends f.L{constructor(e,t,n,r){super(e),this.predicate=t,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Ze(){return e=>e.lift(new Ge)}class Ge{call(e,t){return t.subscribe(new Ke(e))}}class Ke extends r.Ds{constructor(e){super(e),this.hasCompleted=!1,this.hasSubscription=!1}_next(e){this.hasSubscription||(this.hasSubscription=!0,this.add((0,r.ft)(e,new r.IY(this))))}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}var Qe=n(88002);function Ye(e,t){return t?n=>n.pipe(Ye(((n,r)=>(0,$.D)(e(n,r)).pipe((0,Qe.U)(((e,s)=>t(n,e,r,s))))))):t=>t.lift(new Je(e))}class Je{constructor(e){this.project=e}call(e,t){return t.subscribe(new Xe(e,this.project))}}class Xe extends r.Ds{constructor(e,t){super(e),this.project=t,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(e){this.hasSubscription||this.tryNext(e)}tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t)}_innerSub(e){const t=new r.IY(this),n=this.destination;n.add(t);const s=(0,r.ft)(e,t);s!==t&&n.add(s)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}function et(e,t=Number.POSITIVE_INFINITY,n){return t=(t||0)<1?Number.POSITIVE_INFINITY:t,r=>r.lift(new tt(e,t,n))}class tt{constructor(e,t,n){this.project=e,this.concurrent=t,this.scheduler=n}call(e,t){return t.subscribe(new nt(e,this.project,this.concurrent,this.scheduler))}}class nt extends r.Ds{constructor(e,t,n,r){super(e),this.project=t,this.concurrent=n,this.scheduler=r,this.index=0,this.active=0,this.hasCompleted=!1,n<Number.POSITIVE_INFINITY&&(this.buffer=[])}static dispatch(e){const{subscriber:t,result:n,value:r,index:s}=e;t.subscribeToProjection(n,r,s)}_next(e){const t=this.destination;if(t.closed)return void this._complete();const n=this.index++;if(this.active<this.concurrent){t.next(e);try{const{project:t}=this,r=t(e,n);if(this.scheduler){const t={subscriber:this,result:r,value:e,index:n};this.destination.add(this.scheduler.schedule(nt.dispatch,0,t))}else this.subscribeToProjection(r,e,n)}catch(e){t.error(e)}}else this.buffer.push(e)}subscribeToProjection(e,t,n){this.active++,this.destination.add((0,r.ft)(e,new r.IY(this)))}_complete(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this._next(e)}notifyComplete(){const e=this.buffer;this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}function rt(e){return t=>t.lift(new st(e))}class st{constructor(e){this.callback=e}call(e,t){return t.subscribe(new it(e,this.callback))}}class it extends f.L{constructor(e,t){super(e),this.add(new x.w(t))}}function ot(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return n=>n.lift(new at(e,n,!1,t))}class at{constructor(e,t,n,r){this.predicate=e,this.source=t,this.yieldIndex=n,this.thisArg=r}call(e,t){return t.subscribe(new ut(e,this.predicate,this.source,this.yieldIndex,this.thisArg))}}class ut extends f.L{constructor(e,t,n,r,s){super(e),this.predicate=t,this.source=n,this.yieldIndex=r,this.thisArg=s,this.index=0}notifyComplete(e){const t=this.destination;t.next(e),t.complete(),this.unsubscribe()}_next(e){const{predicate:t,thisArg:n}=this,r=this.index++;try{t.call(n||this,e,r,this.source)&&this.notifyComplete(this.yieldIndex?r:e)}catch(e){this.destination.error(e)}}_complete(){this.notifyComplete(this.yieldIndex?-1:void 0)}}function lt(e,t){return n=>n.lift(new at(e,n,!0,t))}var ct=n(54487);function ht(e,t){const n=arguments.length>=2;return r=>r.pipe(e?(0,Ie.h)(((t,n)=>e(t,n,r))):ct.y,Ve(1),n?ie(t):Ne((()=>new Oe.K)))}var dt=n(304);function ft(){return function(e){return e.lift(new pt)}}class pt{call(e,t){return t.subscribe(new gt(e))}}class gt extends f.L{_next(e){}}function mt(){return e=>e.lift(new yt)}class yt{call(e,t){return t.subscribe(new vt(e))}}class vt extends f.L{constructor(e){super(e)}notifyComplete(e){const t=this.destination;t.next(e),t.complete()}_next(e){this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function _t(e){return function(t){return 0===e?(0,je.c)():t.lift(new bt(e))}}class bt{constructor(e){if(this.total=e,this.total<0)throw new Ae.W}call(e,t){return t.subscribe(new wt(e,this.total))}}class wt extends f.L{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=t++%n;e.next(r[s])}}e.complete()}}function Ct(e,t){const n=arguments.length>=2;return r=>r.pipe(e?(0,Ie.h)(((t,n)=>e(t,n,r))):ct.y,_t(1),n?ie(t):Ne((()=>new Oe.K)))}function Dt(e){return t=>t.lift(new Et(e))}class Et{constructor(e){this.value=e}call(e,t){return t.subscribe(new St(e,this.value))}}class St extends f.L{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}function xt(){return function(e){return e.lift(new Tt)}}class Tt{call(e,t){return t.subscribe(new kt(e))}}class kt extends f.L{constructor(e){super(e)}_next(e){this.destination.next(le.P.createNext(e))}_error(e){const t=this.destination;t.next(le.P.createError(e)),t.complete()}_complete(){const e=this.destination;e.next(le.P.createComplete()),e.complete()}}function Mt(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new At(e,t,n))}}class At{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new It(e,this.accumulator,this.seed,this.hasSeed))}}class It extends f.L{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(e){this.destination.error(e)}this.seed=n,this.destination.next(n)}}var Ot=n(34022);function Nt(e,t){return arguments.length>=2?function(n){return(0,Ot.z)(Mt(e,t),_t(1),ie(t))(n)}:function(t){return(0,Ot.z)(Mt(((t,n,r)=>e(t,n,r+1))),_t(1))(t)}}function Pt(e){return Nt("function"==typeof e?(t,n)=>e(t,n)>0?t:n:(e,t)=>e>t?e:t)}var Ft=n(66682);function Rt(...e){return t=>t.lift.call((0,Ft.T)(t,...e))}var jt=n(63282);function Vt(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?(0,W.zg)((()=>e),t,n):("number"==typeof t&&(n=t),(0,W.zg)((()=>e),n))}function Lt(e,t,n=Number.POSITIVE_INFINITY){return r=>r.lift(new Bt(e,t,n))}class Bt{constructor(e,t,n){this.accumulator=e,this.seed=t,this.concurrent=n}call(e,t){return t.subscribe(new $t(e,this.accumulator,this.seed,this.concurrent))}}class $t extends r.Ds{constructor(e,t,n,r){super(e),this.accumulator=t,this.acc=n,this.concurrent=r,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){if(this.active<this.concurrent){const t=this.index++,n=this.destination;let r;try{const{accumulator:n}=this;r=n(this.acc,e,t)}catch(e){return n.error(e)}this.active++,this._innerSub(r)}else this.buffer.push(e)}_innerSub(e){const t=new r.IY(this),n=this.destination;n.add(t);const s=(0,r.ft)(e,t);s!==t&&n.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()}notifyNext(e){const{destination:t}=this;this.acc=e,this.hasValue=!0,t.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}function Ut(e){return Nt("function"==typeof e?(t,n)=>e(t,n)<0?t:n:(e,t)=>e<t?e:t)}var Ht=n(52441);function zt(e,t){return function(n){let r;if(r="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new qt(r,t));const s=Object.create(n,Ht.N);return s.source=n,s.subjectFactory=r,s}}class qt{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,r=this.subjectFactory(),s=n(r).subscribe(e);return s.add(t.subscribe(r)),s}}var Wt=n(59746);function Zt(...e){return 1===e.length&&(0,B.k)(e[0])&&(e=e[0]),t=>t.lift(new Gt(e))}class Gt{constructor(e){this.nextSources=e}call(e,t){return t.subscribe(new Kt(e,this.nextSources))}}class Kt extends r.Ds{constructor(e,t){super(e),this.destination=e,this.nextSources=t}notifyError(){this.subscribeToNextSource()}notifyComplete(){this.subscribeToNextSource()}_error(e){this.subscribeToNextSource(),this.unsubscribe()}_complete(){this.subscribeToNextSource(),this.unsubscribe()}subscribeToNextSource(){const e=this.nextSources.shift();if(e){const t=new r.IY(this),n=this.destination;n.add(t);const s=(0,r.ft)(e,t);s!==t&&n.add(s)}else this.destination.complete()}}function Qt(){return e=>e.lift(new Yt)}class Yt{call(e,t){return t.subscribe(new Jt(e))}}class Jt extends f.L{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}var Xt=n(49264);function en(e,t){return n=>[(0,Ie.h)(e,t)(n),(0,Ie.h)((0,Xt.f)(e,t))(n)]}function tn(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return n=>(0,Qe.U)(function(e,t){return n=>{let r=n;for(let n=0;n<t;n++){const t=null!=r?r[e[n]]:void 0;if(void 0===t)return;r=t}return r}}(e,t))(n)}var nn=n(79765);function rn(e){return e?zt((()=>new nn.xQ),e):zt(new nn.xQ)}var sn=n(26215);function on(e){return t=>zt(new sn.X(e))(t)}var an=n(68660);function un(){return e=>zt(new an.c)(e)}var ln=n(88229);function cn(e,t,n,r){n&&"function"!=typeof n&&(r=n);const s="function"==typeof n?n:void 0,i=new ln.t(e,t,r);return e=>zt((()=>i),s)(e)}var hn=n(98085);function dn(...e){return function(t){return 1===e.length&&(0,B.k)(e[0])&&(e=e[0]),t.lift.call((0,hn.S3)(t,...e))}}function fn(e=-1){return t=>0===e?(0,je.c)():e<0?t.lift(new pn(-1,t)):t.lift(new pn(e-1,t))}class pn{constructor(e,t){this.count=e,this.source=t}call(e,t){return t.subscribe(new gn(e,this.count,this.source))}}class gn extends f.L{constructor(e,t,n){super(e),this.count=t,this.source=n}complete(){if(!this.isStopped){const{source:e,count:t}=this;if(0===t)return super.complete();t>-1&&(this.count=t-1),e.subscribe(this._unsubscribeAndRecycle())}}}function mn(e){return t=>t.lift(new yn(e))}class yn{constructor(e){this.notifier=e}call(e,t){return t.subscribe(new vn(e,this.notifier,t))}}class vn extends r.Ds{constructor(e,t,n){super(e),this.notifier=t,this.source=n,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:e,retriesSubscription:t}=this;e&&(e.unsubscribe(),this.notifications=void 0),t&&(t.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:e}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=e,this}subscribeToRetries(){let e;this.notifications=new nn.xQ;try{const{notifier:t}=this;e=t(this.notifications)}catch(e){return super.complete()}this.retries=e,this.retriesSubscription=(0,r.ft)(e,new r.IY(this))}}function _n(e=-1){return t=>t.lift(new bn(e,t))}class bn{constructor(e,t){this.count=e,this.source=t}call(e,t){return t.subscribe(new wn(e,this.count,this.source))}}class wn extends f.L{constructor(e,t,n){super(e),this.count=t,this.source=n}error(e){if(!this.isStopped){const{source:t,count:n}=this;if(0===n)return super.error(e);n>-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}}}function Cn(e){return t=>t.lift(new Dn(e,t))}class Dn{constructor(e,t){this.notifier=e,this.source=t}call(e,t){return t.subscribe(new En(e,this.notifier,this.source))}}class En extends r.Ds{constructor(e,t,n){super(e),this.notifier=t,this.source=n}error(e){if(!this.isStopped){let t=this.errors,n=this.retries,s=this.retriesSubscription;if(n)this.errors=void 0,this.retriesSubscription=void 0;else{t=new nn.xQ;try{const{notifier:e}=this;n=e(t)}catch(e){return super.error(e)}s=(0,r.ft)(n,new r.IY(this))}this._unsubscribeAndRecycle(),this.errors=t,this.retries=n,this.retriesSubscription=s,t.next(e)}}_unsubscribe(){const{errors:e,retriesSubscription:t}=this;e&&(e.unsubscribe(),this.errors=void 0),t&&(t.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:e}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=e,this.source.subscribe(this)}}var Sn=n(51307);function xn(e){return t=>t.lift(new Tn(e))}class Tn{constructor(e){this.notifier=e}call(e,t){const n=new kn(e),s=t.subscribe(n);return s.add((0,r.ft)(this.notifier,new r.IY(n))),s}}class kn extends r.Ds{constructor(){super(...arguments),this.hasValue=!1}_next(e){this.value=e,this.hasValue=!0}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}function Mn(e,t=a.P){return n=>n.lift(new An(e,t))}class An{constructor(e,t){this.period=e,this.scheduler=t}call(e,t){return t.subscribe(new In(e,this.period,this.scheduler))}}class In extends f.L{constructor(e,t,n){super(e),this.period=t,this.scheduler=n,this.hasValue=!1,this.add(n.schedule(On,t,{subscriber:this,period:t}))}_next(e){this.lastValue=e,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function On(e){let{subscriber:t,period:n}=e;t.notifyNext(),this.schedule(e,n)}function Nn(e,t){return n=>n.lift(new Pn(e,t))}class Pn{constructor(e,t){this.compareTo=e,this.comparator=t}call(e,t){return t.subscribe(new Fn(e,this.compareTo,this.comparator))}}class Fn extends f.L{constructor(e,t,n){super(e),this.compareTo=t,this.comparator=n,this._a=[],this._b=[],this._oneComplete=!1,this.destination.add(t.subscribe(new Rn(e,this)))}_next(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())}_complete(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}checkValues(){const{_a:e,_b:t,comparator:n}=this;for(;e.length>0&&t.length>0;){let r=e.shift(),s=t.shift(),i=!1;try{i=n?n(r,s):r===s}catch(e){this.destination.error(e)}i||this.emit(!1)}}emit(e){const{destination:t}=this;t.next(e),t.complete()}nextB(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())}completeB(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}class Rn extends f.L{constructor(e,t){super(e),this.parent=t}_next(e){this.parent.nextB(e)}_error(e){this.parent.error(e),this.unsubscribe()}_complete(){this.parent.completeB(),this.unsubscribe()}}function jn(){return new nn.xQ}function Vn(){return e=>(0,Sn.x)()(zt(jn)(e))}function Ln(e,t,n){let r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let s,i,o=0,a=!1,u=!1;return function(l){let c;o++,!s||a?(a=!1,s=new ln.t(e,t,r),c=s.subscribe(this),i=l.subscribe({next(e){s.next(e)},error(e){a=!0,s.error(e)},complete(){u=!0,i=void 0,s.complete()}}),u&&(i=void 0)):c=s.subscribe(this),this.add((()=>{o--,c.unsubscribe(),c=void 0,i&&!u&&n&&0===o&&(i.unsubscribe(),i=void 0,s=void 0)}))}}(r))}function Bn(e){return t=>t.lift(new $n(e,t))}class $n{constructor(e,t){this.predicate=e,this.source=t}call(e,t){return t.subscribe(new Un(e,this.predicate,this.source))}}class Un extends f.L{constructor(e,t,n){super(e),this.predicate=t,this.source=n,this.seenValue=!1,this.index=0}applySingleValue(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)}_next(e){const t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)}tryNext(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}}_complete(){const e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new Oe.K)}}function Hn(e){return t=>t.lift(new zn(e))}class zn{constructor(e){this.total=e}call(e,t){return t.subscribe(new qn(e,this.total))}}class qn extends f.L{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}function Wn(e){return t=>t.lift(new Zn(e))}class Zn{constructor(e){if(this._skipCount=e,this._skipCount<0)throw new Ae.W}call(e,t){return 0===this._skipCount?t.subscribe(new f.L(e)):t.subscribe(new Gn(e,this._skipCount))}}class Gn extends f.L{constructor(e,t){super(e),this._skipCount=t,this._count=0,this._ring=new Array(t)}_next(e){const t=this._skipCount,n=this._count++;if(n<t)this._ring[n]=e;else{const r=n%t,s=this._ring,i=s[r];s[r]=e,this.destination.next(i)}}}function Kn(e){return t=>t.lift(new Qn(e))}class Qn{constructor(e){this.notifier=e}call(e,t){return t.subscribe(new Yn(e,this.notifier))}}class Yn extends r.Ds{constructor(e,t){super(e),this.hasValue=!1;const n=new r.IY(this);this.add(n),this.innerSubscription=n;const s=(0,r.ft)(t,n);s!==n&&(this.add(s),this.innerSubscription=s)}_next(e){this.hasValue&&super._next(e)}notifyNext(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}notifyComplete(){}}function Jn(e){return t=>t.lift(new Xn(e))}class Xn{constructor(e){this.predicate=e}call(e,t){return t.subscribe(new er(e,this.predicate))}}class er extends f.L{constructor(e,t){super(e),this.predicate=t,this.skipping=!0,this.index=0}_next(e){const t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)}tryCallPredicate(e){try{const t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(e){this.destination.error(e)}}}function tr(...e){const t=e[e.length-1];return(0,v.K)(t)?(e.pop(),n=>(0,H.z)(e,n,t)):t=>(0,H.z)(e,t)}var nr=n(64581),rr=n(26561);class sr extends pe.y{constructor(e,t=0,n=nr.e){super(),this.source=e,this.delayTime=t,this.scheduler=n,(!(0,rr.k)(t)||t<0)&&(this.delayTime=0),n&&"function"==typeof n.schedule||(this.scheduler=nr.e)}static create(e,t=0,n=nr.e){return new sr(e,t,n)}static dispatch(e){const{source:t,subscriber:n}=e;return this.add(t.subscribe(n))}_subscribe(e){const t=this.delayTime,n=this.source;return this.scheduler.schedule(sr.dispatch,t,{source:n,subscriber:e})}}function ir(e,t=0){return function(n){return n.lift(new or(e,t))}}class or{constructor(e,t){this.scheduler=e,this.delay=t}call(e,t){return new sr(t,this.delay,this.scheduler).subscribe(e)}}function ar(e,t){return"function"==typeof t?n=>n.pipe(ar(((n,r)=>(0,$.D)(e(n,r)).pipe((0,Qe.U)(((e,s)=>t(n,e,r,s))))))):t=>t.lift(new ur(e))}class ur{constructor(e){this.project=e}call(e,t){return t.subscribe(new lr(e,this.project))}}class lr extends r.Ds{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new r.IY(this),s=this.destination;s.add(n),this.innerSubscription=(0,r.ft)(e,n),this.innerSubscription!==n&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}function cr(){return ar(ct.y)}function hr(e,t){return t?ar((()=>e),t):ar((()=>e))}function dr(e){return t=>t.lift(new fr(e))}class fr{constructor(e){this.notifier=e}call(e,t){const n=new pr(e),s=(0,r.ft)(this.notifier,new r.IY(n));return s&&!n.seenValue?(n.add(s),t.subscribe(n)):n}}class pr extends r.Ds{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function gr(e,t=!1){return n=>n.lift(new mr(e,t))}class mr{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new yr(e,this.predicate,this.inclusive))}}class yr extends f.L{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(e){return void t.error(e)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}var vr=n(98640),_r=n(69105);function br(e,t,n){return function(r){return r.lift(new wr(e,t,n))}}class wr{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Cr(e,this.nextOrObserver,this.error,this.complete))}}class Cr extends f.L{constructor(e,t,n,r){super(e),this._tapNext=vr.Z,this._tapError=vr.Z,this._tapComplete=vr.Z,this._tapError=n||vr.Z,this._tapComplete=r||vr.Z,(0,_r.m)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||vr.Z,this._tapError=t.error||vr.Z,this._tapComplete=t.complete||vr.Z)}_next(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}const Dr={leading:!0,trailing:!1};function Er(e,t=Dr){return n=>n.lift(new Sr(e,!!t.leading,!!t.trailing))}class Sr{constructor(e,t,n){this.durationSelector=e,this.leading=t,this.trailing=n}call(e,t){return t.subscribe(new xr(e,this.durationSelector,this.leading,this.trailing))}}class xr extends r.Ds{constructor(e,t,n,r){super(e),this.destination=e,this.durationSelector=t,this._leading=n,this._trailing=r,this._hasValue=!1}_next(e){this._hasValue=!0,this._sendValue=e,this._throttled||(this._leading?this.send():this.throttle(e))}send(){const{_hasValue:e,_sendValue:t}=this;e&&(this.destination.next(t),this.throttle(t)),this._hasValue=!1,this._sendValue=void 0}throttle(e){const t=this.tryDurationSelector(e);t&&this.add(this._throttled=(0,r.ft)(t,new r.IY(this)))}tryDurationSelector(e){try{return this.durationSelector(e)}catch(e){return this.destination.error(e),null}}throttlingDone(){const{_throttled:e,_trailing:t}=this;e&&e.unsubscribe(),this._throttled=void 0,t&&this.send()}notifyNext(){this.throttlingDone()}notifyComplete(){this.throttlingDone()}}function Tr(e,t=a.P,n=Dr){return r=>r.lift(new kr(e,t,n.leading,n.trailing))}class kr{constructor(e,t,n,r){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=r}call(e,t){return t.subscribe(new Mr(e,this.duration,this.scheduler,this.leading,this.trailing))}}class Mr extends f.L{constructor(e,t,n,r,s){super(e),this.duration=t,this.scheduler=n,this.leading=r,this.trailing=s,this._hasTrailingValue=!1,this._trailingValue=null}_next(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Ar,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)}}function Ar(e){const{subscriber:t}=e;t.clearThrottle()}var Ir=n(41439);function Or(e=a.P){return t=>(0,Ir.P)((()=>t.pipe(Mt((({current:t},n)=>({value:n,current:e.now(),last:t})),{current:e.now(),value:void 0,last:void 0}),(0,Qe.U)((({current:e,last:t,value:n})=>new Nr(n,e-t))))))}class Nr{constructor(e,t){this.value=e,this.interval=t}}var Pr=n(45587);function Fr(e,t,n=a.P){return r=>{let s=ue(e),i=s?+e-n.now():Math.abs(e);return r.lift(new Rr(i,s,t,n))}}class Rr{constructor(e,t,n,r){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=r}call(e,t){return t.subscribe(new jr(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class jr extends r.Ds{constructor(e,t,n,r,s){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=r,this.scheduler=s,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add((0,r.ft)(t,new r.IY(e)))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(jr.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var Vr=n(40205);function Lr(e,t=a.P){return Fr(e,(0,Vr._)(new Pr.W),t)}function Br(e=a.P){return(0,Qe.U)((t=>new $r(t,e.now())))}class $r{constructor(e,t){this.value=e,this.timestamp=t}}function Ur(e,t,n){return 0===n?[t]:(e.push(t),e)}function Hr(){return Nt(Ur,[])}function zr(e){return function(t){return t.lift(new qr(e))}}class qr{constructor(e){this.windowBoundaries=e}call(e,t){const n=new Wr(e),s=t.subscribe(n);return s.closed||n.add((0,r.ft)(this.windowBoundaries,new r.IY(n))),s}}class Wr extends r.Ds{constructor(e){super(e),this.window=new nn.xQ,e.next(this.window)}notifyNext(){this.openWindow()}notifyError(e){this._error(e)}notifyComplete(){this._complete()}_next(e){this.window.next(e)}_error(e){this.window.error(e),this.destination.error(e)}_complete(){this.window.complete(),this.destination.complete()}_unsubscribe(){this.window=null}openWindow(){const e=this.window;e&&e.complete();const t=this.destination,n=this.window=new nn.xQ;t.next(n)}}function Zr(e,t=0){return function(n){return n.lift(new Gr(e,t))}}class Gr{constructor(e,t){this.windowSize=e,this.startWindowEvery=t}call(e,t){return t.subscribe(new Kr(e,this.windowSize,this.startWindowEvery))}}class Kr extends f.L{constructor(e,t,n){super(e),this.destination=e,this.windowSize=t,this.startWindowEvery=n,this.windows=[new nn.xQ],this.count=0,e.next(this.windows[0])}_next(e){const t=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,s=this.windows,i=s.length;for(let t=0;t<i&&!this.closed;t++)s[t].next(e);const o=this.count-r+1;if(o>=0&&o%t==0&&!this.closed&&s.shift().complete(),++this.count%t==0&&!this.closed){const e=new nn.xQ;s.push(e),n.next(e)}}_error(e){const t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)}_complete(){const e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()}_unsubscribe(){this.count=0,this.windows=null}}function Qr(e){let t=a.P,n=null,r=Number.POSITIVE_INFINITY;return(0,v.K)(arguments[3])&&(t=arguments[3]),(0,v.K)(arguments[2])?t=arguments[2]:(0,rr.k)(arguments[2])&&(r=Number(arguments[2])),(0,v.K)(arguments[1])?t=arguments[1]:(0,rr.k)(arguments[1])&&(n=Number(arguments[1])),function(s){return s.lift(new Yr(e,n,r,t))}}class Yr{constructor(e,t,n,r){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=n,this.scheduler=r}call(e,t){return t.subscribe(new Xr(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}class Jr extends nn.xQ{constructor(){super(...arguments),this._numberOfNextedValues=0}next(e){this._numberOfNextedValues++,super.next(e)}get numberOfNextedValues(){return this._numberOfNextedValues}}class Xr extends f.L{constructor(e,t,n,r,s){super(e),this.destination=e,this.windowTimeSpan=t,this.windowCreationInterval=n,this.maxWindowSize=r,this.scheduler=s,this.windows=[];const i=this.openWindow();if(null!==n&&n>=0){const e={subscriber:this,window:i,context:null},r={windowTimeSpan:t,windowCreationInterval:n,subscriber:this,scheduler:s};this.add(s.schedule(ns,t,e)),this.add(s.schedule(ts,n,r))}else{const e={subscriber:this,window:i,windowTimeSpan:t};this.add(s.schedule(es,t,e))}}_next(e){const t=this.windows,n=t.length;for(let r=0;r<n;r++){const n=t[r];n.closed||(n.next(e),n.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(n))}}_error(e){const t=this.windows;for(;t.length>0;)t.shift().error(e);this.destination.error(e)}_complete(){const e=this.windows;for(;e.length>0;){const t=e.shift();t.closed||t.complete()}this.destination.complete()}openWindow(){const e=new Jr;return this.windows.push(e),this.destination.next(e),e}closeWindow(e){e.complete();const t=this.windows;t.splice(t.indexOf(e),1)}}function es(e){const{subscriber:t,windowTimeSpan:n,window:r}=e;r&&t.closeWindow(r),e.window=t.openWindow(),this.schedule(e,n)}function ts(e){const{windowTimeSpan:t,subscriber:n,scheduler:r,windowCreationInterval:s}=e,i=n.openWindow(),o=this;let a={action:o,subscription:null};const u={subscriber:n,window:i,context:a};a.subscription=r.schedule(ns,t,u),o.add(a.subscription),o.schedule(e,s)}function ns(e){const{subscriber:t,window:n,context:r}=e;r&&r.action&&r.subscription&&r.action.remove(r.subscription),t.closeWindow(n)}function rs(e,t){return n=>n.lift(new ss(e,t))}class ss{constructor(e,t){this.openings=e,this.closingSelector=t}call(e,t){return t.subscribe(new is(e,this.openings,this.closingSelector))}}class is extends k.L{constructor(e,t,n){super(e),this.openings=t,this.closingSelector=n,this.contexts=[],this.add(this.openSubscription=(0,T.D)(this,t,t))}_next(e){const{contexts:t}=this;if(t){const n=t.length;for(let r=0;r<n;r++)t[r].window.next(e)}}_error(e){const{contexts:t}=this;if(this.contexts=null,t){const n=t.length;let r=-1;for(;++r<n;){const n=t[r];n.window.error(e),n.subscription.unsubscribe()}}super._error(e)}_complete(){const{contexts:e}=this;if(this.contexts=null,e){const t=e.length;let n=-1;for(;++n<t;){const t=e[n];t.window.complete(),t.subscription.unsubscribe()}}super._complete()}_unsubscribe(){const{contexts:e}=this;if(this.contexts=null,e){const t=e.length;let n=-1;for(;++n<t;){const t=e[n];t.window.unsubscribe(),t.subscription.unsubscribe()}}}notifyNext(e,t,n,r,s){if(e===this.openings){let e;try{const{closingSelector:n}=this;e=n(t)}catch(e){return this.error(e)}const n=new nn.xQ,r=new x.w,s={window:n,subscription:r};this.contexts.push(s);const i=(0,T.D)(this,e,s);i.closed?this.closeWindow(this.contexts.length-1):(i.context=s,r.add(i)),this.destination.next(n)}else this.closeWindow(this.contexts.indexOf(e))}notifyError(e){this.error(e)}notifyComplete(e){e!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(e.context))}closeWindow(e){if(-1===e)return;const{contexts:t}=this,n=t[e],{window:r,subscription:s}=n;t.splice(e,1),r.complete(),s.unsubscribe()}}function os(e){return function(t){return t.lift(new as(e))}}class as{constructor(e){this.closingSelector=e}call(e,t){return t.subscribe(new us(e,this.closingSelector))}}class us extends k.L{constructor(e,t){super(e),this.destination=e,this.closingSelector=t,this.openWindow()}notifyNext(e,t,n,r,s){this.openWindow(s)}notifyError(e){this._error(e)}notifyComplete(e){this.openWindow(e)}_next(e){this.window.next(e)}_error(e){this.window.error(e),this.destination.error(e),this.unsubscribeClosingNotification()}_complete(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()}unsubscribeClosingNotification(){this.closingNotification&&this.closingNotification.unsubscribe()}openWindow(e=null){e&&(this.remove(e),e.unsubscribe());const t=this.window;t&&t.complete();const n=this.window=new nn.xQ;let r;this.destination.next(n);try{const{closingSelector:e}=this;r=e()}catch(e){return this.destination.error(e),void this.window.error(e)}this.add(this.closingNotification=(0,T.D)(this,r))}}function ls(...e){return t=>{let n;"function"==typeof e[e.length-1]&&(n=e.pop());const r=e;return t.lift(new cs(r,n))}}class cs{constructor(e,t){this.observables=e,this.project=t}call(e,t){return t.subscribe(new hs(e,this.observables,this.project))}}class hs extends k.L{constructor(e,t,n){super(e),this.observables=t,this.project=n,this.toRespond=[];const r=t.length;this.values=new Array(r);for(let e=0;e<r;e++)this.toRespond.push(e);for(let e=0;e<r;e++){let n=t[e];this.add((0,T.D)(this,n,void 0,e))}}notifyNext(e,t,n){this.values[n]=t;const r=this.toRespond;if(r.length>0){const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}notifyComplete(){}_next(e){if(0===this.toRespond.length){const t=[e,...this.values];this.project?this._tryProject(t):this.destination.next(t)}}_tryProject(e){let t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)}}var ds=n(21571);function fs(...e){return function(t){return t.lift.call((0,ds.$R)(t,...e))}}function ps(e){return t=>t.lift(new ds.mx(e))}},93576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15730),s=n(67104),i=n(96232),o=n(23915),a=n(68273),u=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,i=s.toSubscriber(e,t,n);if(r?i.add(r.call(i,this.source)):i.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),r.canReportError(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=l(t))((function(t,r){var s;s=n.subscribe((function(t){try{e(t)}catch(e){r(e),s&&s.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[i.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:o.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=l(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function l(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}t.Observable=u},16011:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(68273),s=n(32434);t.empty={closed:!0,next:function(e){},error:function(e){if(r.config.useDeprecatedSynchronousErrorHandling)throw e;s.hostReportError(e)},complete:function(){}}},67241:function(e,t,n){"use strict";var r,s=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(67382),o=n(16011),a=n(43984),u=n(81476),l=n(68273),c=n(32434),h=function(e){function t(n,r,s){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=o.empty;break;case 1:if(!n){i.destination=o.empty;break}if("object"==typeof n){n instanceof t?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new d(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new d(i,n,r,s)}return i}return s(t,e),t.prototype[u.rxSubscriber]=function(){return this},t.create=function(e,n,r){var s=new t(e,n,r);return s.syncErrorThrowable=!1,s},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(a.Subscription);t.Subscriber=h;var d=function(e){function t(t,n,r,s){var a,u=e.call(this)||this;u._parentSubscriber=t;var l=u;return i.isFunction(n)?a=n:n&&(a=n.next,r=n.error,s=n.complete,n!==o.empty&&(l=Object.create(n),i.isFunction(l.unsubscribe)&&u.add(l.unsubscribe.bind(l)),l.unsubscribe=u.unsubscribe.bind(u))),u._context=l,u._next=a,u._error=r,u._complete=s,u}return s(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;l.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=l.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):c.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;c.hostReportError(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};l.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),l.config.useDeprecatedSynchronousErrorHandling)throw e;c.hostReportError(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!l.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return l.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(c.hostReportError(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(h);t.SafeSubscriber=d},43984:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(40993),s=n(54720),i=n(67382),o=n(18574),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this,a=n._parentOrParents,l=n._ctorUnsubscribe,c=n._unsubscribe,h=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof e)a.remove(this);else if(null!==a)for(var d=0;d<a.length;++d)a[d].remove(this);if(i.isFunction(c)){l&&(this._unsubscribe=void 0);try{c.call(this)}catch(e){t=e instanceof o.UnsubscriptionError?u(e.errors):[e]}}if(r.isArray(h)){d=-1;for(var f=h.length;++d<f;){var p=h[d];if(s.isObject(p))try{p.unsubscribe()}catch(e){t=t||[],e instanceof o.UnsubscriptionError?t=t.concat(u(e.errors)):t.push(e)}}}if(t)throw new o.UnsubscriptionError(t)}},e.prototype.add=function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var s=n._parentOrParents;if(null===s)n._parentOrParents=this;else if(s instanceof e){if(s===this)return n;n._parentOrParents=[s,this]}else{if(-1!==s.indexOf(this))return n;s.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function u(e){return e.reduce((function(e,t){return e.concat(t instanceof o.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=a},68273:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=e},get useDeprecatedSynchronousErrorHandling(){return n}}},18207:(e,t,n)=>{"use strict";var r=n(93576);function s(e){var t=e.error;e.subscriber.error(t)}t._=function(e,t){return t?new r.Observable((function(n){return t.schedule(s,0,{error:e,subscriber:n})})):new r.Observable((function(t){return t.error(e)}))}},96232:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},81476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber},18574:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}();t.UnsubscriptionError=n},15730:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67241);t.canReportError=function(e){for(;e;){var t=e,n=t.closed,s=t.destination,i=t.isStopped;if(n||i)return!1;e=s&&s instanceof r.Subscriber?s:null}return!0}},32434:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},72516:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}},40993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},67382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}},54720:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"==typeof e}},23915:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(72516);function s(e){return 0===e.length?r.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)},t.pipeFromArray=s},67104:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67241),s=n(81476),i=n(16011);t.toSubscriber=function(e,t,n){if(e){if(e instanceof r.Subscriber)return e;if(e[s.rxSubscriber])return e[s.rxSubscriber]()}return e||t||n?new r.Subscriber(e,t,n):new r.Subscriber(i.empty)}},36291:function(e,t,n){"use strict";var r,s,i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,s=0,i=t.length;s<i;s++)!r&&s in t||(r||(r=Array.prototype.slice.call(t,0,s)),r[s]=t[s]);return e.concat(r||Array.prototype.slice.call(t))};r=function(){!function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");var s=e.__Zone_symbol_prefix||"__zone_symbol__";function i(e){return s+e}var o=!0===e[i("forceDuplicateZoneCheck")];if(e.Zone){if(o||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var a=function(){function t(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==A.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.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return O.zone},enumerable:!1,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return N},enumerable:!1,configurable:!0}),t.__load_patch=function(s,i,a){if(void 0===a&&(a=!1),A.hasOwnProperty(s)){if(!a&&o)throw Error("Already loaded patch: "+s)}else if(!e["__Zone_disable_"+s]){var u="Zone:"+s;n(u),A[s]=i(e,t,I),r(u,u)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{O=O.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{O=O.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||b).name+"; Execution: "+this.name+")");if(e.state!==w||e.type!==M&&e.type!==k){var r=e.state!=E;r&&e._transitionTo(E,D),e.runCount++;var s=N;N=e,O={parent:O,zone:this};try{e.type==k&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{e.state!==w&&e.state!==x&&(e.type==M||e.data&&e.data.isPeriodic?r&&e._transitionTo(D,E):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(w,E,w))),O=O.parent,N=s}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(e.zone.name));t=t.parent}e._transitionTo(C,w);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(x,C,w),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==C&&e._transitionTo(D,C),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new h(T,e,t,n,r,void 0))},t.prototype.scheduleMacroTask=function(e,t,n,r,s){return this.scheduleTask(new h(k,e,t,n,r,s))},t.prototype.scheduleEventTask=function(e,t,n,r,s){return this.scheduleTask(new h(M,e,t,n,r,s))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||b).name+"; Execution: "+this.name+")");e._transitionTo(S,D,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(x,S),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(w,S),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)},t}();a.__symbol__=i;var u,l={name:"",onHasTask:function(e,t,n,r){return e.hasTask(n,r)},onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,s,i){return e.invokeTask(n,r,s,i)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)}},c=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:l,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,s){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,s):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)},e.prototype.scheduleTask=function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=T)throw new Error("Task is missing scheduleFn.");v(t)}return n},e.prototype.invokeTask=function(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n},e.prototype.hasTask=function(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(t){this.handleError(e,t)}},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],s=n[e]=r+t;if(s<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=s||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),h=function(){function t(n,r,s,i,o,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=o,this.cancelFn=a,!s)throw new Error("callback is not defined");this.callback=s;var u=this;this.invoke=n===M&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,u,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),P++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==P&&_(),P--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(w,C)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(e,"', expecting state '").concat(t,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=e,e==w&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),d=i("setTimeout"),f=i("Promise"),p=i("then"),g=[],m=!1;function y(t){if(u||e[f]&&(u=e[f].resolve(0)),u){var n=u[p];n||(n=u.then),n.call(u,t)}else e[d](t,0)}function v(e){0===P&&0===g.length&&y(_),e&&g.push(e)}function _(){if(!m){for(m=!0;g.length;){var e=g;g=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(e){I.onUnhandledError(e)}}}I.microtaskDrainDone(),m=!1}}var b={name:"NO ZONE"},w="notScheduled",C="scheduling",D="scheduled",E="running",S="canceling",x="unknown",T="microTask",k="macroTask",M="eventTask",A={},I={symbol:i,currentZoneFrame:function(){return O},onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:v,showUncaughtError:function(){return!a[i("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:F,patchMethod:function(){return F},bindArguments:function(){return[]},patchThen:function(){return F},patchMacroTask:function(){return F},patchEventPrototype:function(){return F},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return F},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return F},wrapWithCurrentZone:function(){return F},filterProperties:function(){return[]},attachOriginToPatched:function(){return F},_redefineProperty:function(){return F},patchCallbacks:function(){return F},nativeScheduleMicroTask:y},O={parent:null,zone:new a(null,null)},N=null,P=0;function F(){}r("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,s=Array.prototype.slice,o="addEventListener",a="removeEventListener",u=Zone.__symbol__(o),l=Zone.__symbol__(a),c="true",h="false",d=Zone.__symbol__("");function f(e,t){return Zone.current.wrap(e,t)}function p(e,t,n,r,s){return Zone.current.scheduleMacroTask(e,t,n,r,s)}var g=Zone.__symbol__,m="undefined"!=typeof window,y=m?window:void 0,v=m&&y||"object"==typeof self&&self||global;function _(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=f(e[n],t+"_"+n));return e}function b(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var w="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,C=!("nw"in v)&&void 0!==v.process&&"[object process]"==={}.toString.call(v.process),D=!C&&!w&&!(!m||!y.HTMLElement),E=void 0!==v.process&&"[object process]"==={}.toString.call(v.process)&&!w&&!(!m||!y.HTMLElement),S={},x=function(e){if(e=e||v.event){var t=S[e.type];t||(t=S[e.type]=g("ON_PROPERTY"+e.type));var n,r=this||e.target||v,s=r[t];if(D&&r===y&&"error"===e.type){var i=e;!0===(n=s&&s.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&e.preventDefault()}else null==(n=s&&s.apply(this,arguments))||n||e.preventDefault();return n}};function T(n,r,s){var i=e(n,r);if(!i&&s&&e(s,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var o=g("on"+r+"patched");if(!n.hasOwnProperty(o)||!n[o]){delete i.writable,delete i.value;var a=i.get,u=i.set,l=r.substr(2),c=S[l];c||(c=S[l]=g("ON_PROPERTY"+l)),i.set=function(e){var t=this;t||n!==v||(t=v),t&&("function"==typeof t[c]&&t.removeEventListener(l,x),u&&u.call(t,null),t[c]=e,"function"==typeof e&&t.addEventListener(l,x,!1))},i.get=function(){var e=this;if(e||n!==v||(e=v),!e)return null;var t=e[c];if(t)return t;if(a){var s=a.call(this);if(s)return i.set.call(this,s),"function"==typeof e.removeAttribute&&e.removeAttribute(r),s}return null},t(n,r,i),n[o]=!0}}}function k(e,t,n){if(t)for(var r=0;r<t.length;r++)T(e,"on"+t[r],n);else{var s=[];for(var i in e)"on"==i.substr(0,2)&&s.push(i);for(var o=0;o<s.length;o++)T(e,s[o],n)}}var M=g("originalInstance");function A(e){var n=v[e];if(n){v[g(e)]=n,v[e]=function(){var t=_(arguments,e);switch(t.length){case 0:this[M]=new n;break;case 1:this[M]=new n(t[0]);break;case 2:this[M]=new n(t[0],t[1]);break;case 3:this[M]=new n(t[0],t[1],t[2]);break;case 4:this[M]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},N(v[e],n);var r,s=new n((function(){}));for(r in s)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof s[n]?v[e].prototype[n]=function(){return this[M][n].apply(this[M],arguments)}:t(v[e].prototype,n,{set:function(t){"function"==typeof t?(this[M][n]=f(t,e+"."+n),N(this[M][n],t)):this[M][n]=t},get:function(){return this[M][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(v[e][r]=n[r])}}function I(t,r,s){for(var i=t;i&&!i.hasOwnProperty(r);)i=n(i);!i&&t[r]&&(i=t);var o=g(r),a=null;if(i&&(!(a=i[o])||!i.hasOwnProperty(o))&&(a=i[o]=i[r],b(i&&e(i,r)))){var u=s(a,o,r);i[r]=function(){return u(this,arguments)},N(i[r],a)}return a}function O(e,t,n){var r=null;function s(e){var t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=I(e,t,(function(e){return function(t,r){var i=n(t,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?p(i.name,r[i.cbIdx],i,s):e.apply(t,r)}}))}function N(e,t){e[g("OriginalDelegate")]=t}var P=!1,F=!1;function R(){if(P)return F;P=!0;try{var e=y.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(F=!0)}catch(e){}return F}Zone.__load_patch("ZoneAwarePromise",(function(e,t,n){var r=Object.getOwnPropertyDescriptor,s=Object.defineProperty,i=n.symbol,o=[],a=!0===e[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=i("Promise"),l=i("then");n.onUnhandledError=function(e){if(n.showUncaughtError()){var t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=function(){for(var e=function(){var e=o.shift();try{e.zone.runGuarded((function(){if(e.throwOriginal)throw e.rejection;throw e}))}catch(e){!function(e){n.onUnhandledError(e);try{var r=t[c];"function"==typeof r&&r.call(this,e)}catch(e){}}(e)}};o.length;)e()};var c=i("unhandledPromiseRejectionHandler");function h(e){return e&&e.then}function d(e){return e}function f(e){return A.reject(e)}var p=i("state"),g=i("value"),m=i("finally"),y=i("parentPromiseValue"),v=i("parentPromiseState"),_=null,b=!0,w=!1;function C(e,t){return function(n){try{E(e,t,n)}catch(t){E(e,!1,t)}}}var D=i("currentTaskTrace");function E(e,r,i){var u,l=(u=!1,function(e){return function(){u||(u=!0,e.apply(null,arguments))}});if(e===i)throw new TypeError("Promise resolved with itself");if(e[p]===_){var c=null;try{"object"!=typeof i&&"function"!=typeof i||(c=i&&i.then)}catch(t){return l((function(){E(e,!1,t)}))(),e}if(r!==w&&i instanceof A&&i.hasOwnProperty(p)&&i.hasOwnProperty(g)&&i[p]!==_)x(i),E(e,i[p],i[g]);else if(r!==w&&"function"==typeof c)try{c.call(i,l(C(e,r)),l(C(e,!1)))}catch(t){l((function(){E(e,!1,t)}))()}else{e[p]=r;var h=e[g];if(e[g]=i,e[m]===m&&r===b&&(e[p]=e[v],e[g]=e[y]),r===w&&i instanceof Error){var d=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;d&&s(i,D,{configurable:!0,enumerable:!1,writable:!0,value:d})}for(var f=0;f<h.length;)T(e,h[f++],h[f++],h[f++],h[f++]);if(0==h.length&&r==w){e[p]=0;var S=i;try{throw new Error("Uncaught (in promise): "+function(e){return e&&e.toString===Object.prototype.toString?(e.constructor&&e.constructor.name||"")+": "+JSON.stringify(e):e?e.toString():Object.prototype.toString.call(e)}(i)+(i&&i.stack?"\n"+i.stack:""))}catch(e){S=e}a&&(S.throwOriginal=!0),S.rejection=i,S.promise=e,S.zone=t.current,S.task=t.currentTask,o.push(S),n.scheduleMicroTask()}}}return e}var S=i("rejectionHandledHandler");function x(e){if(0===e[p]){try{var n=t[S];n&&"function"==typeof n&&n.call(this,{rejection:e[g],promise:e})}catch(e){}e[p]=w;for(var r=0;r<o.length;r++)e===o[r].promise&&o.splice(r,1)}}function T(e,t,n,r,s){x(e);var i=e[p],o=i?"function"==typeof r?r:d:"function"==typeof s?s:f;t.scheduleMicroTask("Promise.then",(function(){try{var r=e[g],s=!!n&&m===n[m];s&&(n[y]=r,n[v]=i);var a=t.run(o,void 0,s&&o!==f&&o!==d?[]:[r]);E(n,!0,a)}catch(e){E(n,!1,e)}}),n)}var k=function(){},M=e.AggregateError,A=function(){function e(t){var n=this;if(!(n instanceof e))throw new Error("Must be an instanceof Promise.");n[p]=_,n[g]=[];try{t&&t(C(n,b),C(n,w))}catch(e){E(n,!1,e)}}return e.toString=function(){return"function ZoneAwarePromise() { [native code] }"},e.resolve=function(e){return E(new this(null),b,e)},e.reject=function(e){return E(new this(null),w,e)},e.any=function(t){if(!t||"function"!=typeof t[Symbol.iterator])return Promise.reject(new M([],"All promises were rejected"));var n=[],r=0;try{for(var s=0,i=t;s<i.length;s++)r++,n.push(e.resolve(i[s]))}catch(e){return Promise.reject(new M([],"All promises were rejected"))}if(0===r)return Promise.reject(new M([],"All promises were rejected"));var o=!1,a=[];return new e((function(e,t){for(var s=0;s<n.length;s++)n[s].then((function(t){o||(o=!0,e(t))}),(function(e){a.push(e),0==--r&&(o=!0,t(new M(a,"All promises were rejected")))}))}))},e.race=function(e){var t,n,r=new this((function(e,r){t=e,n=r}));function s(e){t(e)}function i(e){n(e)}for(var o=0,a=e;o<a.length;o++){var u=a[o];h(u)||(u=this.resolve(u)),u.then(s,i)}return r},e.all=function(t){return e.allWithCallback(t)},e.allSettled=function(t){return(this&&this.prototype instanceof e?this:e).allWithCallback(t,{thenCallback:function(e){return{status:"fulfilled",value:e}},errorCallback:function(e){return{status:"rejected",reason:e}}})},e.allWithCallback=function(e,t){for(var n,r,s=new this((function(e,t){n=e,r=t})),i=2,o=0,a=[],u=function(e){h(e)||(e=l.resolve(e));var s=o;try{e.then((function(e){a[s]=t?t.thenCallback(e):e,0==--i&&n(a)}),(function(e){t?(a[s]=t.errorCallback(e),0==--i&&n(a)):r(e)}))}catch(e){r(e)}i++,o++},l=this,c=0,d=e;c<d.length;c++)u(d[c]);return 0==(i-=2)&&n(a),s},Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.then=function(n,r){var s=this.constructor[Symbol.species];s&&"function"==typeof s||(s=this.constructor||e);var i=new s(k),o=t.current;return this[p]==_?this[g].push(o,i,n,r):T(this,o,i,n,r),i},e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(n){var r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=e);var s=new r(k);s[m]=m;var i=t.current;return this[p]==_?this[g].push(i,s,n,n):T(this,i,s,n,n),s},e}();A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;var O=e[u]=e.Promise;e.Promise=A;var N=i("thenPatched");function P(e){var t=e.prototype,n=r(t,"then");if(!n||!1!==n.writable&&n.configurable){var s=t.then;t[l]=s,e.prototype.then=function(e,t){var n=this;return new A((function(e,t){s.call(n,e,t)})).then(e,t)},e[N]=!0}}return n.patchThen=P,O&&(P(O),I(e,"fetch",(function(e){return function(e){return function(t,n){var r=e.apply(t,n);if(r instanceof A)return r;var s=r.constructor;return s[N]||P(s),r}}(e)}))),Promise[t.__symbol__("uncaughtPromiseErrors")]=o,A})),Zone.__load_patch("toString",(function(e){var t=Function.prototype.toString,n=g("OriginalDelegate"),r=g("Promise"),s=g("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){var o=e[r];if(o)return t.call(o)}if(this===Error){var a=e[s];if(a)return t.call(a)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;var o=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":o.call(this)}}));var j=!1;if("undefined"!=typeof window)try{var V=Object.defineProperty({},"passive",{get:function(){j=!0}});window.addEventListener("test",V,V),window.removeEventListener("test",V,V)}catch(e){j=!1}var L,B,$,U,H,z={useG:!0},q={},W={},Z=new RegExp("^"+d+"(\\w+)(true|false)$"),G=g("propagationStopped");function K(e,t){var n=(t?t(e):e)+h,r=(t?t(e):e)+c,s=d+n,i=d+r;q[e]={},q[e].false=s,q[e].true=i}function Q(e,t,r,s){var i=s&&s.add||o,u=s&&s.rm||a,l=s&&s.listeners||"eventListeners",f=s&&s.rmAll||"removeAllListeners",p=g(i),m="."+i+":",y=function(e,t,n){if(!e.isRemoved){var r,s=e.callback;"object"==typeof s&&s.handleEvent&&(e.callback=function(e){return s.handleEvent(e)},e.originalDelegate=s);try{e.invoke(e,t,[n])}catch(e){r=e}var i=e.options;return i&&"object"==typeof i&&i.once&&t[u].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,i),r}};function v(n,r,s){if(r=r||e.event){var i=n||r.target||e,o=i[q[r.type][s?c:h]];if(o){var a=[];if(1===o.length)(d=y(o[0],i,r))&&a.push(d);else for(var u=o.slice(),l=0;l<u.length&&(!r||!0!==r[G]);l++){var d;(d=y(u[l],i,r))&&a.push(d)}if(1===a.length)throw a[0];var f=function(e){var n=a[e];t.nativeScheduleMicroTask((function(){throw n}))};for(l=0;l<a.length;l++)f(l)}}}var _=function(e){return v(this,e,!1)},b=function(e){return v(this,e,!0)};function w(t,r){if(!t)return!1;var s=!0;r&&void 0!==r.useG&&(s=r.useG);var o=r&&r.vh,a=!0;r&&void 0!==r.chkDup&&(a=r.chkDup);var y=!1;r&&void 0!==r.rt&&(y=r.rt);for(var v=t;v&&!v.hasOwnProperty(i);)v=n(v);if(!v&&t[i]&&(v=t),!v)return!1;if(v[p])return!1;var w,D=r&&r.eventNameToString,E={},S=v[p]=v[i],x=v[g(u)]=v[u],T=v[g(l)]=v[l],k=v[g(f)]=v[f];function M(e,t){return!j&&"object"==typeof e&&e?!!e.capture:j&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}r&&r.prepend&&(w=v[g(r.prepend)]=v[r.prepend]);var A=s?function(e){if(!E.isExisting)return S.call(E.target,E.eventName,E.capture?b:_,E.options)}:function(e){return S.call(E.target,E.eventName,e.invoke,E.options)},I=s?function(e){if(!e.isRemoved){var t=q[e.eventName],n=void 0;t&&(n=t[e.capture?c:h]);var r=n&&e.target[n];if(r)for(var s=0;s<r.length;s++)if(r[s]===e){r.splice(s,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return x.call(e.target,e.eventName,e.capture?b:_,e.options)}:function(e){return x.call(e.target,e.eventName,e.invoke,e.options)},O=r&&r.diff?r.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},P=Zone[g("UNPATCHED_EVENTS")],F=e[g("PASSIVE_EVENTS")],R=function(t,n,i,u,l,d){return void 0===l&&(l=!1),void 0===d&&(d=!1),function(){var f=this||e,p=arguments[0];r&&r.transferEventName&&(p=r.transferEventName(p));var g=arguments[1];if(!g)return t.apply(this,arguments);if(C&&"uncaughtException"===p)return t.apply(this,arguments);var m=!1;if("function"!=typeof g){if(!g.handleEvent)return t.apply(this,arguments);m=!0}if(!o||o(t,g,f,arguments)){var y=j&&!!F&&-1!==F.indexOf(p),v=M(arguments[2],y);if(P)for(var _=0;_<P.length;_++)if(p===P[_])return y?t.call(f,p,g,v):t.apply(this,arguments);var b=!!v&&("boolean"==typeof v||v.capture),w=!(!v||"object"!=typeof v)&&v.once,S=Zone.current,x=q[p];x||(K(p,D),x=q[p]);var T,k=x[b?c:h],A=f[k],I=!1;if(A){if(I=!0,a)for(_=0;_<A.length;_++)if(O(A[_],g))return}else A=f[k]=[];var N=f.constructor.name,R=W[N];R&&(T=R[p]),T||(T=N+n+(D?D(p):p)),E.options=v,w&&(E.options.once=!1),E.target=f,E.capture=b,E.eventName=p,E.isExisting=I;var V=s?z:void 0;V&&(V.taskData=E);var L=S.scheduleEventTask(T,g,V,i,u);return E.target=null,V&&(V.taskData=null),w&&(v.once=!0),(j||"boolean"!=typeof L.options)&&(L.options=v),L.target=f,L.capture=b,L.eventName=p,m&&(L.originalDelegate=g),d?A.unshift(L):A.push(L),l?f:void 0}}};return v[i]=R(S,m,A,I,y),w&&(v.prependListener=R(w,".prependListener:",(function(e){return w.call(E.target,E.eventName,e.invoke,E.options)}),I,y,!0)),v[u]=function(){var t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));var s=arguments[2],i=!!s&&("boolean"==typeof s||s.capture),a=arguments[1];if(!a)return x.apply(this,arguments);if(!o||o(x,a,t,arguments)){var u,l=q[n];l&&(u=l[i?c:h]);var f=u&&t[u];if(f)for(var p=0;p<f.length;p++){var g=f[p];if(O(g,a))return f.splice(p,1),g.isRemoved=!0,0===f.length&&(g.allRemoved=!0,t[u]=null,"string"==typeof n)&&(t[d+"ON_PROPERTY"+n]=null),g.zone.cancelTask(g),y?t:void 0}return x.apply(this,arguments)}},v[l]=function(){var t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));for(var s=[],i=Y(t,D?D(n):n),o=0;o<i.length;o++){var a=i[o],u=a.originalDelegate?a.originalDelegate:a.callback;s.push(u)}return s},v[f]=function(){var t=this||e,n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));var s=q[n];if(s){var i=s.false,o=s.true,a=t[i],l=t[o];if(a){var c=a.slice();for(p=0;p<c.length;p++)this[u].call(this,n,(h=c[p]).originalDelegate?h.originalDelegate:h.callback,h.options)}if(l)for(c=l.slice(),p=0;p<c.length;p++){var h;this[u].call(this,n,(h=c[p]).originalDelegate?h.originalDelegate:h.callback,h.options)}}}else{for(var d=Object.keys(t),p=0;p<d.length;p++){var g=d[p],m=Z.exec(g),v=m&&m[1];v&&"removeListener"!==v&&this[f].call(this,v)}this[f].call(this,"removeListener")}if(y)return this},N(v[i],S),N(v[u],x),k&&N(v[f],k),T&&N(v[l],T),!0}for(var D=[],E=0;E<r.length;E++)D[E]=w(r[E],s);return D}function Y(e,t){if(!t){var n=[];for(var r in e){var s=Z.exec(r),i=s&&s[1];if(i&&(!t||i===t)){var o=e[r];if(o)for(var a=0;a<o.length;a++)n.push(o[a])}}return n}var u=q[t];u||(K(t),u=q[t]);var l=e[u.false],c=e[u.true];return l?c?l.concat(c):l.slice():c?c.slice():[]}function J(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",(function(e){return function(t,n){t[G]=!0,e&&e.apply(t,n)}}))}function X(e,t,n,r,s){var i=Zone.__symbol__(r);if(!t[i]){var o=t[i]=t[r];t[r]=function(i,a,u){return a&&a.prototype&&s.forEach((function(t){var s="".concat(n,".").concat(r,"::")+t,i=a.prototype;if(i.hasOwnProperty(t)){var o=e.ObjectGetOwnPropertyDescriptor(i,t);o&&o.value?(o.value=e.wrapWithCurrentZone(o.value,s),e._redefineProperty(a.prototype,t,o)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],s))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],s))})),o.call(t,i,a,u)},e.attachOriginToPatched(t[r],o)}}function ee(e,t,n){if(!n||0===n.length)return t;var r=n.filter((function(t){return t.target===e}));if(!r||0===r.length)return t;var s=r[0].ignoreProperties;return t.filter((function(e){return-1===s.indexOf(e)}))}function te(e,t,n,r){e&&k(e,ee(e,t,n),r)}function ne(e){return Object.getOwnPropertyNames(e).filter((function(e){return e.startsWith("on")&&e.length>2})).map((function(e){return e.substring(2)}))}function re(e,t){if((!C||E)&&!Zone[e.symbol("patchEvents")]){var r=t.__Zone_ignore_on_properties,s=[];if(D){var i=window;s=s.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);var o=function(){try{var e=y.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];te(i,ne(i),r?r.concat(o):r,n(i))}s=s.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(var a=0;a<s.length;a++){var u=t[s[a]];u&&u.prototype&&te(u.prototype,ne(u.prototype),r)}}}function se(e,t,n){var r=n.configurable;return ae(e,t,n=oe(e,t,n),r)}function ie(e,t){return e&&e[H]&&e[H][t]}function oe(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[H]||Object.isFrozen(e)||B(e,H,{writable:!0,value:{}}),e[H]&&(e[H][t]=!0)),n}function ae(e,t,n,r){try{return B(e,t,n)}catch(o){if(!n.configurable)throw o;void 0===r?delete n.configurable:n.configurable=r;try{return B(e,t,n)}catch(r){var s=!1;if("createdCallback"!==t&&"attachedCallback"!==t&&"detachedCallback"!==t&&"attributeChangedCallback"!==t||(s=!0),!s)throw r;var i=null;try{i=JSON.stringify(n)}catch(e){i=n.toString()}console.log("Attempting to configure '".concat(t,"' with descriptor '").concat(i,"' on object '").concat(e,"' and got error, giving up: ").concat(r))}}}Zone.__load_patch("util",(function(n,i,u){var l=ne(n);u.patchOnProperties=k,u.patchMethod=I,u.bindArguments=_,u.patchMacroTask=O;var p=i.__symbol__("BLACK_LISTED_EVENTS"),g=i.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[p]=n[g]),n[p]&&(i[p]=i[g]=n[p]),u.patchEventPrototype=J,u.patchEventTarget=Q,u.isIEOrEdge=R,u.ObjectDefineProperty=t,u.ObjectGetOwnPropertyDescriptor=e,u.ObjectCreate=r,u.ArraySlice=s,u.patchClass=A,u.wrapWithCurrentZone=f,u.filterProperties=ee,u.attachOriginToPatched=N,u._redefineProperty=Object.defineProperty,u.patchCallbacks=X,u.getGlobalObjects=function(){return{globalSources:W,zoneSymbolEventNames:q,eventNames:l,isBrowser:D,isMix:E,isNode:C,TRUE_STR:c,FALSE_STR:h,ZONE_SYMBOL_PREFIX:d,ADD_EVENT_LISTENER_STR:o,REMOVE_EVENT_LISTENER_STR:a}}}));var ue=i(i(i(i(i(i(i(i([],["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"],!0),["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],!0),["autocomplete","autocompleteerror"],!0),["toggle"],!0),["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],!0),["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"],!0),["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],!0),["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"],!0);!function(e){var t=e.__Zone_symbol_prefix||"__zone_symbol__";e[t+"legacyPatch"]=function(){var t=e.Zone;t.__load_patch("defineProperty",(function(e,t,n){n._redefineProperty=se,L=Zone.__symbol__,B=Object[L("defineProperty")]=Object.defineProperty,$=Object[L("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,U=Object.create,H=L("unconfigurables"),Object.defineProperty=function(e,t,n){if(ie(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);var r=n.configurable;return"prototype"!==t&&(n=oe(e,t,n)),ae(e,t,n,r)},Object.defineProperties=function(e,t){Object.keys(t).forEach((function(n){Object.defineProperty(e,n,t[n])}));for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++){var s=r[n],i=Object.getOwnPropertyDescriptor(t,s);(null==i?void 0:i.enumerable)&&Object.defineProperty(e,s,t[s])}return e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach((function(n){t[n]=oe(e,n,t[n])})),U(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=$(e,t);return n&&ie(e,t)&&(n.configurable=!1),n}})),t.__load_patch("registerElement",(function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in e.document&&t.patchCallbacks(t,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(e,n)})),t.__load_patch("EventTargetLegacy",(function(e,t,n){(function(e,t){var n=t.getGlobalObjects(),r=n.eventNames,s=n.globalSources,i=n.zoneSymbolEventNames,o=n.TRUE_STR,a=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,l="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),c=[],h=e.wtf,d="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");h?c=d.map((function(e){return"HTML"+e+"Element"})).concat(l):e.EventTarget?c.push("EventTarget"):c=l;for(var f=e.__Zone_disable_IE_check||!1,p=e.__Zone_enable_cross_context_check||!1,g=t.isIEOrEdge(),m="[object FunctionWrapper]",y="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",v={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},_=0;_<r.length;_++){var b=u+((S=r[_])+a),w=u+(S+o);i[S]={},i[S][a]=b,i[S][o]=w}for(_=0;_<d.length;_++)for(var C=d[_],D=s[C]={},E=0;E<r.length;E++){var S;D[S=r[E]]=C+".addEventListener:"+S}var x=[];for(_=0;_<c.length;_++){var T=e[c[_]];x.push(T&&T.prototype)}t.patchEventTarget(e,t,x,{vh:function(e,t,n,r){if(!f&&g){if(p)try{var s;if((s=t.toString())===m||s==y)return e.apply(n,r),!1}catch(t){return e.apply(n,r),!1}else if((s=t.toString())===m||s==y)return e.apply(n,r),!1}else if(p)try{t.toString()}catch(t){return e.apply(n,r),!1}return!0},transferEventName:function(e){return v[e]||e}}),Zone[t.symbol("patchEventTarget")]=!!e.EventTarget})(e,n),function(e,t){var n=e.getGlobalObjects();if((!n.isNode||n.isMix)&&!function(e,t){var n=e.getGlobalObjects();if((n.isBrowser||n.isMix)&&!e.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var r=e.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(r&&!r.configurable)return!1;if(r){e.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var s=!!document.createElement("div").onclick;return e.ObjectDefineProperty(Element.prototype,"onclick",r),s}}var i=t.XMLHttpRequest;if(!i)return!1;var o="onreadystatechange",a=i.prototype,u=e.ObjectGetOwnPropertyDescriptor(a,o);if(u)return e.ObjectDefineProperty(a,o,{enumerable:!0,configurable:!0,get:function(){return!0}}),s=!!(c=new i).onreadystatechange,e.ObjectDefineProperty(a,o,u||{}),s;var l=e.symbol("fake");e.ObjectDefineProperty(a,o,{enumerable:!0,configurable:!0,get:function(){return this[l]},set:function(e){this[l]=e}});var c,h=function(){};return(c=new i).onreadystatechange=h,s=c[l]===h,c.onreadystatechange=null,s}(e,t)){var r="undefined"!=typeof WebSocket;!function(e){for(var t=e.symbol("unbound"),n=function(n){var r=ue[n],s="on"+r;self.addEventListener(r,(function(n){var r,i,o=n.target;for(i=o?o.constructor.name+"."+s:"unknown."+s;o;)o[s]&&!o[s][t]&&((r=e.wrapWithCurrentZone(o[s],i))[t]=o[s],o[s]=r),o=o.parentElement}),!0)},r=0;r<ue.length;r++)n(r)}(e),e.patchClass("XMLHttpRequest"),r&&function(e,t){var n=e.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,s=n.REMOVE_EVENT_LISTENER_STR,i=t.WebSocket;t.EventTarget||e.patchEventTarget(t,e,[i.prototype]),t.WebSocket=function(t,n){var o,a,u=arguments.length>1?new i(t,n):new i(t),l=e.ObjectGetOwnPropertyDescriptor(u,"onmessage");return l&&!1===l.configurable?(o=e.ObjectCreate(u),a=u,[r,s,"send","close"].forEach((function(t){o[t]=function(){var n=e.ArraySlice.call(arguments);if(t===r||t===s){var i=n.length>0?n[0]:void 0;if(i){var a=Zone.__symbol__("ON_PROPERTY"+i);u[a]=o[a]}}return u[t].apply(u,n)}}))):o=u,e.patchOnProperties(o,["close","error","message","open"],a),o};var o=t.WebSocket;for(var a in i)o[a]=i[a]}(e,t),Zone[e.symbol("patchEvents")]=!0}}(n,e)}))}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var le=g("zoneTask");function ce(e,t,n,r){var s=null,i=null;n+=r;var o={};function a(t){var n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=s.apply(e,n.args),t}function u(t){return i.call(e,t.data.handleId)}s=I(e,t+=r,(function(n){return function(s,i){if("function"==typeof i[0]){var l={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c=i[0];i[0]=function(){try{return c.apply(this,arguments)}finally{l.isPeriodic||("number"==typeof l.handleId?delete o[l.handleId]:l.handleId&&(l.handleId[le]=null))}};var h=p(t,i[0],l,a,u);if(!h)return h;var d=h.data.handleId;return"number"==typeof d?o[d]=h:d&&(d[le]=h),d&&d.ref&&d.unref&&"function"==typeof d.ref&&"function"==typeof d.unref&&(h.ref=d.ref.bind(d),h.unref=d.unref.bind(d)),"number"==typeof d||d?d:h}return n.apply(e,i)}})),i=I(e,n,(function(t){return function(n,r){var s,i=r[0];"number"==typeof i?s=o[i]:(s=i&&i[le])||(s=i),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof i?delete o[i]:i&&(i[le]=null),s.zone.cancelTask(s)):t.apply(e,r)}}))}Zone.__load_patch("legacy",(function(e){var t=e[Zone.__symbol__("legacyPatch")];t&&t()})),Zone.__load_patch("queueMicrotask",(function(e,t,n){n.patchMethod(e,"queueMicrotask",(function(e){return function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])}}))})),Zone.__load_patch("timers",(function(e){var t="set",n="clear";ce(e,t,n,"Timeout"),ce(e,t,n,"Interval"),ce(e,t,n,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(function(e){ce(e,"request","cancel","AnimationFrame"),ce(e,"mozRequest","mozCancel","AnimationFrame"),ce(e,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",(function(e,t){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)I(e,n[r],(function(n,r,s){return function(r,i){return t.current.run(n,e,i,s)}}))})),Zone.__load_patch("EventTarget",(function(e,t,n){!function(e,t){t.patchEventPrototype(e,t)}(e,n),function(e,t){if(!Zone[t.symbol("patchEventTarget")]){for(var n=t.getGlobalObjects(),r=n.eventNames,s=n.zoneSymbolEventNames,i=n.TRUE_STR,o=n.FALSE_STR,a=n.ZONE_SYMBOL_PREFIX,u=0;u<r.length;u++){var l=r[u],c=a+(l+o),h=a+(l+i);s[l]={},s[l][o]=c,s[l][i]=h}var d=e.EventTarget;if(d&&d.prototype)t.patchEventTarget(e,t,[d&&d.prototype])}}(e,n);var r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,n,[r.prototype])})),Zone.__load_patch("MutationObserver",(function(e,t,n){A("MutationObserver"),A("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",(function(e,t,n){A("IntersectionObserver")})),Zone.__load_patch("FileReader",(function(e,t,n){A("FileReader")})),Zone.__load_patch("on_property",(function(e,t,n){re(n,e)})),Zone.__load_patch("customElements",(function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)})),Zone.__load_patch("XHR",(function(e,t){!function(e){var c=e.XMLHttpRequest;if(c){var h=c.prototype,d=h[u],f=h[l];if(!d){var m=e.XMLHttpRequestEventTarget;if(m){var y=m.prototype;d=y[u],f=y[l]}}var v="readystatechange",_="scheduled",b=I(h,"open",(function(){return function(e,t){return e[r]=0==t[2],e[o]=t[1],b.apply(e,t)}})),w=g("fetchTaskAborting"),C=g("fetchTaskScheduling"),D=I(h,"send",(function(){return function(e,n){if(!0===t.current[C])return D.apply(e,n);if(e[r])return D.apply(e,n);var s={target:e,url:e[o],isPeriodic:!1,args:n,aborted:!1},i=p("XMLHttpRequest.send",x,s,S,T);e&&!0===e[a]&&!s.aborted&&i.state===_&&i.invoke()}})),E=I(h,"abort",(function(){return function(e,r){var s=function(e){return e[n]}(e);if(s&&"string"==typeof s.type){if(null==s.cancelFn||s.data&&s.data.aborted)return;s.zone.cancelTask(s)}else if(!0===t.current[w])return E.apply(e,r)}}))}function S(e){var r=e.data,o=r.target;o[i]=!1,o[a]=!1;var c=o[s];d||(d=o[u],f=o[l]),c&&f.call(o,v,c);var h=o[s]=function(){if(o.readyState===o.DONE)if(!r.aborted&&o[i]&&e.state===_){var n=o[t.__symbol__("loadfalse")];if(0!==o.status&&n&&n.length>0){var s=e.invoke;e.invoke=function(){for(var n=o[t.__symbol__("loadfalse")],i=0;i<n.length;i++)n[i]===e&&n.splice(i,1);r.aborted||e.state!==_||s.call(e)},n.push(e)}else e.invoke()}else r.aborted||!1!==o[i]||(o[a]=!0)};return d.call(o,v,h),o[n]||(o[n]=e),D.apply(o,r.args),o[i]=!0,e}function x(){}function T(e){var t=e.data;return t.aborted=!0,E.apply(t.target,t.args)}}(e);var n=g("xhrTask"),r=g("xhrSync"),s=g("xhrListener"),i=g("xhrScheduled"),o=g("xhrURL"),a=g("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,s=function(s){var i=n[s],o=t[i];if(o){if(!b(e(t,i)))return"continue";t[i]=function(e){var t=function(){return e.apply(this,_(arguments,r+"."+i))};return N(t,e),t}(o)}},i=0;i<n.length;i++)s(i)}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",(function(e,t){function n(t){return function(n){Y(e,t).forEach((function(r){var s=e.PromiseRejectionEvent;if(s){var i=new s(t,{promise:n.promise,reason:n.rejection});r.invoke(i)}}))}}e.PromiseRejectionEvent&&(t[g("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[g("rejectionHandledHandler")]=n("rejectionhandled"))}))},void 0===(s=r.call(t,n,t,e))||(e.exports=s)}}]);