PageSourceSearch

https://alpharetta-ga-cvb.web.app/main.183e728ce2d9cd9c.js

js alpharetta-ga-cvb.web.app collected 2026-10-03 12:16:20 UTC 473,083 bytes, 1 lines download raw bytes

1(self.webpackChunkalpharetta_ga_cvb=self.webpackChunkalpharetta_ga_cvb||[]).push([[179],{2346:(vt,Ve,F)=>{"use strict";F.d(Ve,{Br:()=>bt,w:()=>Ot,dr:()=>he,YG:()=>rn,Sm:()=>jt,nz:()=>Xt,wI:()=>Qt,W2:()=>xt,fr:()=>pn,jY:()=>bn,Gu:()=>Nn,gu:()=>yr,Xz:()=>Le,Ie:()=>nt,rH:()=>St,q_:()=>kn,jP:()=>Cr,Nd:()=>ur,CK:()=>H,PQ:()=>U,wd:()=>Tt,sr:()=>Ht,Pc:()=>j,r4:()=>Gr,HT:()=>tn,SH:()=>Rr,t4:()=>tr,yF:()=>cn});var i=F(4893),Y=F(2382),X=F(655),ge=F(4968),te=F(7579),Fe=F(1135),fe=F(8167),_e=(F(4181),F(5980),F(3139),F(5729)),je=F(3756),re=F(9753),Te=(F(97),F(3280)),ie=(F(3509),F(7205)),He=F(4671),Oe=F(4482),be=F(5403);function oe(c,E){return c===E}var B=F(9300),L=F(3900),$=F(9808);const q=_e.i,ee=["*"],ze=c=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(c):"function"==typeof requestAnimationFrame?requestAnimationFrame(c):setTimeout(c),ot=c=>!!c.resolveComponentFactory;let st=(()=>{class c{constructor(u,C){this.injector=u,this.el=C,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(u){this.el.nativeElement.value=this.lastValue=null==u?"":u,_t(this.el)}handleChangeEvent(u,C){u===this.el.nativeElement&&(C!==this.lastValue&&(this.lastValue=C,this.onChange(C)),_t(this.el))}_handleBlurEvent(u){u===this.el.nativeElement&&(this.onTouched(),_t(this.el))}registerOnChange(u){this.onChange=u}registerOnTouched(u){this.onTouched=u}setDisabledState(u){this.el.nativeElement.disabled=u}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let u;try{u=this.injector.get(Y.a5)}catch(O){}if(!u)return;u.statusChanges&&(this.statusChanges=u.statusChanges.subscribe(()=>_t(this.el)));const C=u.control;C&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(De=>{if(void 0!==C[De]){const gt=C[De].bind(C);C[De]=(...pt)=>{gt(...pt),_t(this.el)}}})}}return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.zs3),i.Y36(i.SBq))},c.\u0275dir=i.lG2({type:c,hostBindings:function(u,C){1&u&&i.NdJ("ionBlur",function(De){return C._handleBlurEvent(De.target)})}}),c})();const _t=c=>{ze(()=>{const E=c.nativeElement,u=null!=E.value&&E.value.toString().length>0,C=Vt(E);Et(E,C);const O=E.closest("ion-item");O&&Et(O,u?[...C,"item-has-value"]:C)})},Vt=c=>{const E=c.classList,u=[];for(let C=0;C<E.length;C++){const O=E.item(C);null!==O&&Jt(O,"ng-")&&u.push(`ion-${O.substring(3)}`)}return u},Et=(c,E)=>{const u=c.classList;u.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),u.add(...E)},Jt=(c,E)=>c.substring(0,E.length)===E;let Ot=(()=>{class c extends st{constructor(u,C){super(u,C)}writeValue(u){this.el.nativeElement.checked=this.lastValue=null!=u&&u,_t(this.el)}_handleIonChange(u){this.handleChangeEvent(u,u.checked)}}return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.zs3),i.Y36(i.SBq))},c.\u0275dir=i.lG2({type:c,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(u,C){1&u&&i.NdJ("ionChange",function(De){return C._handleIonChange(De.target)})},features:[i._Bn([{provide:Y.JU,useExisting:c,multi:!0}]),i.qOj]}),c})();const cr=(c,E)=>{const u=c.prototype;E.forEach(C=>{Object.defineProperty(u,C,{get(){return this.el[C]},set(O){this.z.runOutsideAngular(()=>this.el[C]=O)}})})},Jn=(c,E)=>{const u=c.prototype;E.forEach(C=>{u[C]=function(){const O=arguments;return this.z.runOutsideAngular(()=>this.el[C].apply(this.el,O))}})},Dt=(c,E,u)=>{u.forEach(C=>c[C]=(0,ge.R)(E,C))};function it(c){return function(u){const{defineCustomElementFn:C,inputs:O,methods:De}=c;return void 0!==C&&C(),O&&cr(u,O),De&&Jn(u,De),u}}let he=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-app"]],ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0})],c),c})(),rn=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement,Dt(this,this.el,["ionFocus","ionBlur"])}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],c),c})(),jt=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["collapse"]})],c),c})(),Xt=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement,Dt(this,this.el,["ionChange","ionFocus","ionBlur"])}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",mode:"mode",name:"name",value:"value"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["checked","color","disabled","indeterminate","mode","name","value"]})],c),c})(),Qt=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pu
1shXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],c),c})(),xt=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement,Dt(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],c),c})(),pn=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["collapse","mode","translucent"]})],c),c})(),bn=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["fixed"]})],c),c})(),Nn=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["collapse","mode","translucent"]})],c),c})(),yr=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],c),c})(),Le=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement,Dt(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["alt","src"]})],c),c})(),nt=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],c),c})(),St=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["color","mode","sticky"]})],c),c})(),kn=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["inset","lines","mode"],methods:["closeSlidingItems"]}
1)],c),c})(),ur=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-row"]],ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0})],c),c})(),H=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["animated"]})],c),c})(),U=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["color","duration","name","paused"]})],c),c})(),Tt=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["color","size"]})],c),c})(),Ht=(()=>{let c=class{constructor(u,C,O){this.z=O,u.detach(),this.el=C.nativeElement}};return c.\u0275fac=function(u){return new(u||c)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},c.\u0275cmp=i.Xpm({type:c,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:ee,decls:1,vars:0,template:function(u,C){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),c=(0,X.gn)([it({defineCustomElementFn:void 0,inputs:["color","mode"]})],c),c})();class An{constructor(E={}){this.data=E}get(E){return this.data[E]}}let zn=(()=>{class c{constructor(u,C){this.zone=u,this.appRef=C}create(u,C,O){return new Er(u,C,O,this.appRef,this.zone)}}return c.\u0275fac=function(u){return new(u||c)(i.LFG(i.R0b),i.LFG(i.z2F))},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac}),c})();class Er{constructor(E,u,C,O,De){this.resolverOrInjector=E,this.injector=u,this.location=C,this.appRef=O,this.zone=De,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(E,u,C,O){return this.zone.run(()=>new Promise(De=>{De(Fr(this.zone,this.resolverOrInjector,this.injector,this.location,this.appRef,this.elRefMap,this.elEventsMap,E,u,C,O))}))}removeViewFromDom(E,u){return this.zone.run(()=>new Promise(C=>{const O=this.elRefMap.get(u);if(O){O.destroy(),this.elRefMap.delete(u);const De=this.elEventsMap.get(u);De&&(De(),this.elEventsMap.delete(u))}C()}))}}const Fr=(c,E,u,C,O,De,gt,pt,Wt,un,dn)=>{let Ln;const gr=i.zs3.create({providers:Ri(un),parent:u});if(E&&ot(E)){const Wr=E.resolveComponentFactory(Wt);Ln=C?C.createComponent(Wr,C.length,gr):Wr.create(gr)}else{if(!C)return null;Ln=C.createComponent(Wt,{index:C.indexOf,injector:gr,environmentInjector:E})}const ki=Ln.instance,Yr=Ln.location.nativeElement;if(un&&Object.assign(ki,un),dn)for(const Wr of dn)Yr.classList.add(Wr);const ti=xr(c,ki,Yr);return pt.appendChild(Yr),C||O.attachView(Ln.hostView),Ln.changeDetectorRef.reattach(),De.set(Yr,Ln),gt.set(Yr,ti),Yr},Pr=[re.L,re.a,re.b,re.c,re.d],xr=(c,E,u)=>c.run(()=>{const C=Pr.filter(O=>"function"==typeof E[O]).map(O=>{const De=gt=>E[O](gt.detail);return u.addEventListener(O,De),()=>u.removeEventListener(O,De)});return()=>C.forEach(O=>O())}),ai=new i.OlP("NavParamsToken"),Ri=c=>[{provide:ai,useValue:c},{provide:An,useFactory:vr,deps:[ai]}],vr=c=>new An(c),Qr=(c,E)=>((c=c.filter(u=>u.stackId!==E.stackId)).push(E),c),Zr=(c,E)=>{const u=c.createUrlTree(["."],{relativeTo:E});return c.serializeUrl(u)},bi=(c,E)=>{if(!c)return;const u=yi(E);for(let C=0;C<u.length;C++){if(C>=c.length)return u[C];if(u[C]!==c[C])return}},yi=c=>c.split("/").map(E=>E.trim()).filter(E=>""!==E),kr=c=>{c&&(c.ref.destroy(),c.unlistenEvents())};class wi{constructor(E,u,C,O,De,gt){this.containerEl=u,this.router=C,this.navCtrl=O,this.zone=De,this.location=gt,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==E?yi(E):void 0}createView(E,u){var C;const O=Zr(this.router,u),De=null===(C=null==E?void 0:E.location)||void 0===C?void 0:C.nativeElement,gt=xr(this.zone,E.instance,De);return{id:this.nextId++,stackId:bi(this.tabsPrefix,O),unlistenEvents:gt,element:De,ref:E,url:O}}getExistingView(E){const u=Zr(this.router,E),C=this.views.find(O=>O.url===u);return C&&C.ref.changeDetectorRef.reattach(),C}setActive(E){var u,C;const O=this.navCtrl.consumeTransition();let{direction:De,animation:gt,animationBuilder:pt}=O;const Wt=this.activeView,un=((c,E)=>!E||c.stackId!==E.stackId)(E,Wt);un&&(De="back",gt=void 0);const dn=this.views.slice();let Ln;const gr=this.router;gr.getCurrentNavigation?Ln=gr.getCurrentNavigation():(null===(u=gr.navigations)||void 0===u?void 0:u.value)&&(Ln=gr.navigations.value),(null===(C=null==Ln?void 0:Ln.extras)||void 0===C?void 0:C.replaceUrl)&&this.views.length>0&&this.views.splice(-1,1);const ki=this.views.includes(E),Yr=this.insertView(E,De);ki||E.ref.changeDetectorRef.detectChanges();const ti=E.animationBuilder;return void 0===pt&&"back"===De&&!un&&void 0!==ti&&(pt=ti),Wt&&(Wt.animationBuilder=pt),this.zone.runOutsideAngular(()=>this.wait(()=>(Wt&&Wt.ref.changeDetectorRef.detach(),E.ref.changeDetectorRef.reattach(),this.transition(E,Wt,gt,this.canGoBack(1),!1,pt).then(()=>li(E,Yr,dn,this.location,this.zone)).then(()=>({enteringView:E,direction:De,animation:gt,tabSwitch:un})))))}
1canGoBack(E,u=this.getActiveStackId()){return this.getStack(u).length>E}pop(E,u=this.getActiveStackId()){return this.zone.run(()=>{var C,O;const De=this.getStack(u);if(De.length<=E)return Promise.resolve(!1);const gt=De[De.length-E-1];let pt=gt.url;const Wt=gt.savedData;if(Wt){const dn=Wt.get("primary");(null===(O=null===(C=null==dn?void 0:dn.route)||void 0===C?void 0:C._routerState)||void 0===O?void 0:O.snapshot.url)&&(pt=dn.route._routerState.snapshot.url)}const{animationBuilder:un}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(pt,Object.assign(Object.assign({},gt.savedExtras),{animation:un})).then(()=>!0)})}startBackTransition(){const E=this.activeView;if(E){const u=this.getStack(E.stackId),C=u[u.length-2],O=C.animationBuilder;return this.wait(()=>this.transition(C,E,"back",this.canGoBack(2),!0,O))}return Promise.resolve()}endBackTransition(E){E?(this.skipTransition=!0,this.pop(1)):this.activeView&&Hr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(E){const u=this.getStack(E);return u.length>0?u[u.length-1]:void 0}getRootUrl(E){const u=this.getStack(E);return u.length>0?u[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(kr),this.activeView=void 0,this.views=[]}getStack(E){return this.views.filter(u=>u.stackId===E)}insertView(E,u){return this.activeView=E,this.views=((c,E,u)=>"root"===u?Qr(c,E):"forward"===u?((c,E)=>(c.indexOf(E)>=0?c=c.filter(C=>C.stackId!==E.stackId||C.id<=E.id):c.push(E),c))(c,E):((c,E)=>c.indexOf(E)>=0?c.filter(C=>C.stackId!==E.stackId||C.id<=E.id):Qr(c,E))(c,E))(this.views,E,u),this.views.slice()}transition(E,u,C,O,De,gt){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(u===E)return Promise.resolve(!1);const pt=E?E.element:void 0,Wt=u?u.element:void 0,un=this.containerEl;return pt&&pt!==Wt&&(pt.classList.add("ion-page"),pt.classList.add("ion-page-invisible"),pt.parentElement!==un&&un.appendChild(pt),un.commit)?un.commit(pt,Wt,{deepWait:!0,duration:void 0===C?0:void 0,direction:C,showGoBack:O,progressAnimation:De,animationBuilder:gt}):Promise.resolve(!1)}wait(E){return(0,X.mG)(this,void 0,void 0,function*(){void 0!==this.runningTask&&(yield this.runningTask,this.runningTask=void 0);const u=this.runningTask=E();return u.finally(()=>this.runningTask=void 0),u})}}const li=(c,E,u,C,O)=>"function"==typeof requestAnimationFrame?new Promise(De=>{requestAnimationFrame(()=>{Hr(c,E,u,C,O),De()})}):Promise.resolve(),Hr=(c,E,u,C,O)=>{O.run(()=>u.filter(De=>!E.includes(De)).forEach(kr)),E.forEach(De=>{const pt=C.path().split("?")[0].split("#")[0];if(De!==c&&De.url!==pt){const Wt=De.element;Wt.setAttribute("aria-hidden","true"),Wt.classList.add("ion-page-hidden"),De.ref.changeDetectorRef.detach()}})};let ci=(()=>{class c{get(u,C){const O=Ir();return O?O.get(u,C):null}getBoolean(u,C){const O=Ir();return!!O&&O.getBoolean(u,C)}getNumber(u,C){const O=Ir();return O?O.getNumber(u,C):0}}return c.\u0275fac=function(u){return new(u||c)},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const sr=new i.OlP("USERCONFIG"),Ir=()=>{if("undefined"!=typeof window){const c=window.Ionic;if(null==c?void 0:c.config)return c.config}return null};let tr=(()=>{class c{constructor(u,C){this.doc=u,this.backButton=new te.x,this.keyboardDidShow=new te.x,this.keyboardDidHide=new te.x,this.pause=new te.x,this.resume=new te.x,this.resize=new te.x,C.run(()=>{var O;let De;this.win=u.defaultView,this.backButton.subscribeWithPriority=function(gt,pt){return this.subscribe(Wt=>Wt.register(gt,un=>C.run(()=>pt(un))))},nr(this.pause,u,"pause"),nr(this.resume,u,"resume"),nr(this.backButton,u,"ionBackButton"),nr(this.resize,this.win,"resize"),nr(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),nr(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(gt=>{De=gt}),(null===(O=this.win)||void 0===O?void 0:O.cordova)?u.addEventListener("deviceready",()=>{De("cordova")},{once:!0}):De("dom")})}is(u){return(0,_e.a)(this.win,u)}platforms(){return(0,_e.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(u){return Ni(this.win.location.href,u)}isLandscape(){return!this.isPortrait()}isPortrait(){var u,C;return null===(C=(u=this.win).matchMedia)||void 0===C?void 0:C.call(u,"(orientation: portrait)").matches}testUserAgent(u){const C=this.win.navigator;return!!((null==C?void 0:C.userAgent)&&C.userAgent.indexOf(u)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return c.\u0275fac=function(u){return new(u||c)(i.LFG($.K0),i.LFG(i.R0b))},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Ni=(c,E)=>{E=E.replace(/[[\]\\]/g,"\\$&");const C=new RegExp("[\\?&]"+E+"=([^&#]*)").exec(c);return C?decodeURIComponent(C[1].replace(/\+/g," ")):null},nr=(c,E,u)=>{E&&E.addEventListener(u,C=>{c.next(null!=C?C.detail:void 0)})};let Rr=(()=>
1{class c{constructor(u,C,O,De){this.location=C,this.serializer=O,this.router=De,this.direction=ui,this.animated=Ur,this.guessDirection="forward",this.lastNavId=-1,De&&De.events.subscribe(gt=>{if(gt instanceof fe.OD){const pt=gt.restoredState?gt.restoredState.navigationId:gt.id;this.guessDirection=pt<this.lastNavId?"back":"forward",this.guessAnimation=gt.restoredState?void 0:this.guessDirection,this.lastNavId="forward"===this.guessDirection?gt.id:pt}}),u.backButton.subscribeWithPriority(0,gt=>{this.pop(),gt()})}navigateForward(u,C={}){return this.setDirection("forward",C.animated,C.animationDirection,C.animation),this.navigate(u,C)}navigateBack(u,C={}){return this.setDirection("back",C.animated,C.animationDirection,C.animation),this.navigate(u,C)}navigateRoot(u,C={}){return this.setDirection("root",C.animated,C.animationDirection,C.animation),this.navigate(u,C)}back(u={animated:!0,animationDirection:"back"}){return this.setDirection("back",u.animated,u.animationDirection,u.animation),this.location.back()}pop(){return(0,X.mG)(this,void 0,void 0,function*(){let u=this.topOutlet;for(;u&&!(yield u.pop());)u=u.parentOutlet})}setDirection(u,C,O,De){this.direction=u,this.animated=Si(u,C,O),this.animationBuilder=De}setTopOutlet(u){this.topOutlet=u}consumeTransition(){let C,u="root";const O=this.animationBuilder;return"auto"===this.direction?(u=this.guessDirection,C=this.guessAnimation):(C=this.animated,u=this.direction),this.direction=ui,this.animated=Ur,this.animationBuilder=void 0,{direction:u,animation:C,animationBuilder:O}}navigate(u,C){if(Array.isArray(u))return this.router.navigate(u,C);{const O=this.serializer.parse(u.toString());return void 0!==C.queryParams&&(O.queryParams=Object.assign({},C.queryParams)),void 0!==C.fragment&&(O.fragment=C.fragment),this.router.navigateByUrl(O,C)}}}return c.\u0275fac=function(u){return new(u||c)(i.LFG(tr),i.LFG($.Ye),i.LFG(fe.Hx),i.LFG(fe.F0,8))},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Si=(c,E,u)=>{if(!1!==E){if(void 0!==u)return u;if("forward"===c||"back"===c)return c;if("root"===c&&!0===E)return"forward"}},ui="auto",Ur=void 0;class Lr{}let Cr=(()=>{class c{constructor(u,C,O,De,gt,pt,Wt,un,dn,Ln,gr,ki,Yr,ti){this.parentContexts=u,this.location=C,this.config=gt,this.navCtrl=pt,this.environmentInjector=Wt,this.componentFactoryResolver=un,this.parentOutlet=ti,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Fe.X(null),this.stackEvents=new i.vpe,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.nativeEl=Ln.nativeElement,this.name=O||fe.eC,this.tabsPrefix="true"===De?Zr(gr,Yr):void 0,this.stackCtrl=new wi(this.tabsPrefix,this.nativeEl,gr,pt,ki,dn),u.onChildOutletCreated(this.name,this)}set animation(u){this.nativeEl.animation=u}set animated(u){this.nativeEl.animated=u}set swipeGesture(u){this._swipeGesture=u,this.nativeEl.swipeHandler=u?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:C=>this.stackCtrl.endBackTransition(C)}:void 0}ngOnDestroy(){this.stackCtrl.destroy()}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){if(!this.activated){const u=this.getContext();(null==u?void 0:u.route)&&this.activateWith(u.route,u.resolver||null)}new Promise(u=>(0,je.c)(this.nativeEl,u)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}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(){throw new Error("incompatible reuse strategy")}attach(u,C){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const C=this.getContext();this.activatedView.savedData=new Map(C.children.contexts);const O=this.activatedView.savedData.get("primary");
1if(O&&C.route&&(O.route=Object.assign({},C.route)),this.activatedView.savedExtras={},C.route){const De=C.route.snapshot;this.activatedView.savedExtras.queryParams=De.queryParams,this.activatedView.savedExtras.fragment=De.fragment}}const u=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,C){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;let O,De=this.stackCtrl.getExistingView(u);if(De){O=this.activated=De.ref;const gt=De.savedData;gt&&(this.getContext().children.contexts=gt),this.updateActivatedRouteProxy(O.instance,u)}else{const gt=u._futureSnapshot,pt=gt.routeConfig.component;if(null==pt&&gt.component)return void console.warn("[Ionic Warning]: Standalone components are not currently supported with ion-router-outlet. You can track this feature request at https://github.com/ionic-team/ionic-framework/issues/25404");const Wt=this.parentContexts.getOrCreateContext(this.name).children,un=new Fe.X(null),dn=this.createActivatedRouteProxy(un,u),Ln=new vi(dn,Wt,this.location.injector);if((C=C||this.componentFactoryResolver)&&ot(C)){const gr=C.resolveComponentFactory(pt);O=this.activated=this.location.createComponent(gr,this.location.length,Ln)}else O=this.activated=this.location.createComponent(pt,{index:this.location.length,injector:Ln,environmentInjector:null!=C?C:this.environmentInjector});un.next(O.instance),De=this.stackCtrl.createView(this.activated,u),this.proxyMap.set(O.instance,dn),this.currentActivatedRoute$.next({component:O.instance,activatedRoute:u})}this.activatedView=De,this.stackCtrl.setActive(De).then(gt=>{this.navCtrl.setTopOutlet(this),this.activateEvents.emit(O.instance),this.stackEvents.emit(gt)})}canGoBack(u=1,C){return this.stackCtrl.canGoBack(u,C)}pop(u=1,C){return this.stackCtrl.pop(u,C)}getLastUrl(u){const C=this.stackCtrl.getLastUrl(u);return C?C.url:void 0}getLastRouteView(u){return this.stackCtrl.getLastUrl(u)}getRootView(u){return this.stackCtrl.getRootUrl(u)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(u,C){const O=new fe.gz;return O._futureSnapshot=C._futureSnapshot,O._routerState=C._routerState,O.snapshot=C.snapshot,O.outlet=C.outlet,O.component=C.component,O._paramMap=this.proxyObservable(u,"paramMap"),O._queryParamMap=this.proxyObservable(u,"queryParamMap"),O.url=this.proxyObservable(u,"url"),O.params=this.proxyObservable(u,"params"),O.queryParams=this.proxyObservable(u,"queryParams"),O.fragment=this.proxyObservable(u,"fragment"),O.data=this.proxyObservable(u,"data"),O}proxyObservable(u,C){return u.pipe((0,B.h)(O=>!!O),(0,L.w)(O=>this.currentActivatedRoute$.pipe((0,B.h)(De=>null!==De&&De.component===O),(0,L.w)(De=>De&&De.activatedRoute[C]),function Ne(c,E=He.y){return c=null!=c?c:oe,(0,Oe.e)((u,C)=>{let O,De=!0;u.subscribe(new be.Q(C,gt=>{const pt=E(gt);(De||!c(O,pt))&&(De=!1,O=pt,C.next(gt))}))})}())))}updateActivatedRouteProxy(u,C){const O=this.proxyMap.get(u);if(!O)throw new Error("Could not find activated route proxy for view");O._futureSnapshot=C._futureSnapshot,O._routerState=C._routerState,O.snapshot=C.snapshot,O.outlet=C.outlet,O.component=C.component,this.currentActivatedRoute$.next({component:u,activatedRoute:C})}}return c.\u0275fac=function(u){return new(u||c)(i.Y36(fe.y6),i.Y36(i.s_b),i.$8M("name"),i.$8M("tabs"),i.Y36(ci),i.Y36(Rr),i.Y36(Lr,8),i.Y36(i._Vd,8),i.Y36($.Ye),i.Y36(i.SBq),i.Y36(fe.F0),i.Y36(i.R0b),i.Y36(fe.gz),i.Y36(c,12))},c.\u0275dir=i.lG2({type:c,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),c})();class vi{constructor(E,u,C){this.route=E,this.childContexts=u,this.parent=C}get(E,u){return E===fe.gz?this.route:E===fe.y6?this.childContexts:this.parent.get(E,u)}}class Ge{constructor(E){this.ctrl=E}create(E){return this.ctrl.create(E||{})}dismiss(E,u,C){return this.ctrl.dismiss(E,u,C)}getTop(){return this.ctrl.getTop()}}let bt=(()=>{class c extends Ge{constructor(){super(Te.a)}}return c.\u0275fac=function(u){return new(u||c)},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),tn=(()=>{class c extends Ge{constructor(){super(Te.l)}}return c.\u0275fac=function(u){return new(u||c)},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Zt=(()=>{class c extends Ge{constructor(u,C,O,De){super(Te.m),this.angularDelegate=u,this.resolver=C,this.injector=O,this.environmentInjector=De}create(u){var C;return super.create(Object.assign(Object.assign({},u),{delegate:this.angularDelegate.create(null!==(C=this.resolver)&&void 0!==C?C:this.environmentInjector,this.injector)}))}}return c.\u0275fac=function(u){return new(u||c)(i.LFG(zn),i.LFG(i._Vd),i.LFG(i.zs3),i.LFG(Lr,8))},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac}),c})(),ln=(()=>{class c extends Ge{constructor(u,C,O,De){super(Te.c),this.angularDelegate=u,this.resolver=C,this.injector=O,this.environmentInjector=De}create(u){var C;return super.create(Object.assign(Object.assign({},u),{delegate:this.angularDelegate.create(null!==(C=this.resolver)&&void 0!==C?C:this.environmentInjector,this.injector)}))}}return c.\u0275fac=function(u){return new(u||c)(i.LFG(zn),i.LFG(i._Vd),i.LFG(i.zs3),i.LFG(Lr,8))},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac}),c})(),cn=(()=>{class c extends Ge{constructor(){super(Te.t)}}return c.\u0275fac=function(u){return new(u||c)},c.\u0275prov=i.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class Gr{shouldDetach(E){return!1}shouldAttach(E){return!1}store(E,u){}retrieve(E){return null}shouldReuseRoute(E,u){if(E.routeConfig!==u.routeConfig)return!1;const C=E.params,O=u.params,De=Object.keys(C),gt=Object.keys(O);if(De.length!==gt.length)return!1;for(const pt of De)if(O[pt]!==C[pt])return!1;return!0}}const w=(c,E,u)=>()=>{if(E.defaultView&&"undefined"!=typeof window){(c=>{const E=window,u=E.Ionic;u&&u.config&&"Object"!==u.config.constructor.name||(E.Ionic=E.Ionic||{},E.Ionic.config=Object.assign(Object.assign({},E.Ionic.config),c))})(Object.assign(Object.assign({},c),{_zoneGate:De=>u.run(De)}));const O="__zone_symbol__addEventListener"in E.body?"__zone_symbol__addEventListener":"addEventListener";return function K(){var c=[];if("undefined"!=typeof window){var E=window;(!E.customElements||E.Element&&(!E.Element.prototype.closest||!E.Element.prototype.matches||!E.Element.prototype.remove||!E.Element.prototype.getRootNode))&&c.push(F.e(6748).then(F.t.bind(F,723,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||E.NodeList&&!E.NodeList.prototype.forEach||!E.fetch||!function(){try{var C=new URL("b","http://a");return C.pathname="c%20d","http://a/c%20d"===C.href&&C.searchParams}catch(O){return!1}}()||"undefined"==typeof WeakMap)&&c.push(F.e(2214).then(F.t.bind(F,4144,23)))}return Promise.all(c)}().then(()=>((c,E)=>"undefined"==typeof window?Promise.resolve():(0,ie.p)().then(()=>(q(),(0,ie.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"],[0,"keydown","onKeydown"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]}
1,[[0,"keydown","onKeydown"]]]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[1],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]]]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]]]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[
11],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"activated":[32]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-input",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[
11],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]}]]],["ion-picker-internal",[[33,"ion-picker-internal"]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"n
1ame":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32],"ariaLabel":[32]}]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"multiple":[4],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isPresented":[32],"isTimePopoverOpen":[32],"confirm":[64],"reset":[64],"cancel":[64]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8]}]]],["ion-select_3",[[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]},[[0,"ionChange","onSelect"]]]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroun
1dElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[513],"size":[1]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionChange","handleIonChange"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]}],[33,"ion-note",{"color":[513]}]]]]'),E))))(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:ze,jmp:De=>u.runOutsideAngular(De),ael(De,gt,pt,Wt){De[O](gt,pt,Wt)},rel(De,gt,pt,Wt){De.removeEventListener(gt,pt,Wt)}}))}};let j=(()=>{class c{static forRoot(u){return{ngModule:c,providers:[{provide:sr,useValue:u},{provide:i.ip1,useFactory:w,multi:!0,deps:[sr,$.K0,i.R0b]}]}}}return c.\u0275fac=function(u){return new(u||c)},c.\u0275mod=i.oAB({type:c}),c.\u0275inj=i.cJS({providers:[zn,Zt,ln],imports:[[$.ez]]}),c})()},9442:(vt,Ve,F)=>{"use strict";F.d(Ve,{c:()=>Te});var i=F(3756);let Y;const ge=Q=>Q.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),te=Q=>{if(void 0===Y){const Ie=void 0!==Q.style.webkitAnimationName;Y=void 0===Q.style.animationName&&Ie?"-webkit-":""}return Y},Fe=(Q,ie,Ie)=>{const Ke=ie.startsWith("animation")?te(Q):"";Q.style.setProperty(Ke+ie,Ie)},fe=(Q,ie)=>{const Ie=ie.startsWith("animation")?te(Q):"";Q.style.removeProperty(Ie+ie)},Pe=[],pe=(Q=[],ie)=>{if(void 0!==ie){const Ie=Array.isArray(ie)?ie:[ie];return[...Q,...Ie]}return Q},Te=Q=>{let ie,Ie,Ke,Re,Ue,we,oe,ee,me,Ee,ae,ot,st,He=[],Oe=[],be=[],Ne=!1,B={},L=[],$=[],K={},q=0,Ce=!1,Je=!1,ve=!0,ke=!1,ze=!0,_t=!1;const Vt=Q,Et=[],Jt=[],Ot=[],nn=[],Pn=[],$n=[],Vn=[],cr=[],Jn=[],Dt=[],fn="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,it="function"==typeof Element&&"function"==typeof Element.prototype.animate&&fn,ue=()=>Dt,ct=(U,J)=>(((null==J?void 0:J.oneTimeCallback)?Jt:Et).push({c:U,o:J}),st),At=()=>{if(it)Dt.forEach(U=>{U.cancel()}),Dt.length=0;else{const U=Ot.slice();(0,i.r)(()=>{U.forEach(J=>{fe(J,"animation-name"),fe(J,"animation-duration"),fe(J,"animation-timing-function"),fe(J,"animation-iteration-count"),fe(J,"animation-delay"),fe(J,"animation-play-state"),fe(J,"animation-fill-mode"),fe(J,"animation-direction")})})}},rn=()=>{Pn.forEach(U=>{(null==U?void 0:U.parentNode)&&U.parentNode.removeChild(U)}),Pn.length=0},jn=()=>void 0!==Ue?Ue:oe?oe.getFill():"both",xn=()=>void 0!==me?me:void 0!==we?we:oe?oe.getDirection():"normal",Rn=()=>Ce?"linear":void 0!==Ke?Ke:oe?oe.getEasing():"linear",pn=()=>Je?0:void 0!==Ee?Ee:void 0!==Ie?Ie:oe?oe.getDuration():0,bn=()=>void 0!==Re?Re:oe?oe.getIterations():1,Nn=()=>void 0!==ae?ae:void 0!==ie?ie:oe?oe.getDelay():0,Tn=()=>{0!==q&&(q--,0===q&&((()=>{an(),cr.forEach(We=>We()),Jn.forEach(We=>We());const U=ve?1:0,J=L,de=$,qe=K;Ot.forEach(We=>{const Xe=We.classList;J.forEach(ht=>Xe.add(ht)),de.forEach(ht=>Xe.remove(ht));for(const ht in qe)qe.hasOwnProperty(ht)&&Fe(We,ht,qe[ht])}),Et.forEach(We=>We.c(U,st)),Jt.forEach(We=>We.c(U,st)),Jt.length=0,ze=!0,ve&&(ke=!0),ve=!0})(),oe&&oe.animationFinish()))},Qn=(U=!0)=>{rn();const J=(Q=>
1(Q.forEach(ie=>{for(const Ie in ie)if(ie.hasOwnProperty(Ie)){const Ke=ie[Ie];if("easing"===Ie)ie["animation-timing-function"]=Ke,delete ie[Ie];else{const Re=ge(Ie);Re!==Ie&&(ie[Re]=Ke,delete ie[Ie])}}}),Q))(He);Ot.forEach(de=>{if(J.length>0){const qe=((Q=[])=>Q.map(ie=>{const Ie=ie.offset,Ke=[];for(const Re in ie)ie.hasOwnProperty(Re)&&"offset"!==Re&&Ke.push(`${Re}: ${ie[Re]};`);return`${100*Ie}% { ${Ke.join(" ")} }`}).join(" "))(J);ot=void 0!==Q?Q:(Q=>{let ie=Pe.indexOf(Q);return ie<0&&(ie=Pe.push(Q)-1),`ion-animation-${ie}`})(qe);const We=((Q,ie,Ie)=>{const Ke=(Q=>{const ie=Q.getRootNode();return ie.head||ie})(Ie),Re=te(Ie),Ue=Ke.querySelector("#"+Q);if(Ue)return Ue;const we=(Ie.ownerDocument||document).createElement("style");return we.id=Q,we.textContent=`@${Re}keyframes ${Q} { ${ie} } @${Re}keyframes ${Q}-alt { ${ie} }`,Ke.appendChild(we),we})(ot,qe,de);Pn.push(We),Fe(de,"animation-duration",`${pn()}ms`),Fe(de,"animation-timing-function",Rn()),Fe(de,"animation-delay",`${Nn()}ms`),Fe(de,"animation-fill-mode",jn()),Fe(de,"animation-direction",xn());const Xe=bn()===1/0?"infinite":bn().toString();Fe(de,"animation-iteration-count",Xe),Fe(de,"animation-play-state","paused"),U&&Fe(de,"animation-name",`${We.id}-alt`),(0,i.r)(()=>{Fe(de,"animation-name",We.id||null)})}})},Hn=(U=!0)=>{(()=>{$n.forEach(qe=>qe()),Vn.forEach(qe=>qe());const U=Oe,J=be,de=B;Ot.forEach(qe=>{const We=qe.classList;U.forEach(Xe=>We.add(Xe)),J.forEach(Xe=>We.remove(Xe));for(const Xe in de)de.hasOwnProperty(Xe)&&Fe(qe,Xe,de[Xe])})})(),He.length>0&&(it?(Ot.forEach(U=>{const J=U.animate(He,{id:Vt,delay:Nn(),duration:pn(),easing:Rn(),iterations:bn(),fill:jn(),direction:xn()});J.pause(),Dt.push(J)}),Dt.length>0&&(Dt[0].onfinish=()=>{Tn()})):Qn(U)),Ne=!0},gn=U=>{if(U=Math.min(Math.max(U,0),.9999),it)Dt.forEach(J=>{J.currentTime=J.effect.getComputedTiming().delay+pn()*U,J.pause()});else{const J=`-${pn()*U}ms`;Ot.forEach(de=>{He.length>0&&(Fe(de,"animation-delay",J),Fe(de,"animation-play-state","paused"))})}},br=U=>{Dt.forEach(J=>{J.effect.updateTiming({delay:Nn(),duration:pn(),easing:Rn(),iterations:bn(),fill:jn(),direction:xn()})}),void 0!==U&&gn(U)},wn=(U=!0,J)=>{(0,i.r)(()=>{Ot.forEach(de=>{Fe(de,"animation-name",ot||null),Fe(de,"animation-duration",`${pn()}ms`),Fe(de,"animation-timing-function",Rn()),Fe(de,"animation-delay",void 0!==J?`-${J*pn()}ms`:`${Nn()}ms`),Fe(de,"animation-fill-mode",jn()||null),Fe(de,"animation-direction",xn()||null);const qe=bn()===1/0?"infinite":bn().toString();Fe(de,"animation-iteration-count",qe),U&&Fe(de,"animation-name",`${ot}-alt`),(0,i.r)(()=>{Fe(de,"animation-name",ot||null)})})})},ut=(U=!1,J=!0,de)=>(U&&nn.forEach(qe=>{qe.update(U,J,de)}),it?br(de):wn(J,de),st),Wn=()=>{Ne&&(it?Dt.forEach(U=>{U.pause()}):Ot.forEach(U=>{Fe(U,"animation-play-state","paused")}),_t=!0)},hr=()=>{ee=void 0,Tn()},an=()=>{ee&&clearTimeout(ee)},or=U=>new Promise(J=>{(null==U?void 0:U.sync)&&(Je=!0,ct(()=>Je=!1,{oneTimeCallback:!0})),Ne||Hn(),ke&&(it?(gn(0),br()):wn(),ke=!1),ze&&(q=nn.length+1,ze=!1),ct(()=>J(),{oneTimeCallback:!0}),nn.forEach(de=>{de.play()}),it?(Dt.forEach(U=>{U.play()}),(0===He.length||0===Ot.length)&&Tn()):(()=>{if(an(),(0,i.r)(()=>{Ot.forEach(U=>{He.length>0&&Fe(U,"animation-play-state","running")})}),0===He.length||0===Ot.length)Tn();else{const U=Nn()||0,J=pn()||0,de=bn()||1;isFinite(de)&&(ee=setTimeout(hr,U+J*de+100)),((Q,ie)=>{let Ie;const Ke={passive:!0},Ue=we=>{Q===we.target&&(Ie&&Ie(),an(),(0,i.r)(()=>{Ot.forEach(U=>{fe(U,"animation-duration"),fe(U,"animation-delay"),fe(U,"animation-play-state")}),(0,i.r)(Tn)}))};Q&&(Q.addEventListener("webkitAnimationEnd",Ue,Ke),Q.addEventListener("animationend",Ue,Ke),Ie=()=>{Q.removeEventListener("webkitAnimationEnd",Ue,Ke),Q.removeEventListener("animationend",Ue,Ke)})})(Ot[0])}})(),_t=!1}),H=(U,J)=>{const de=He[0];return void 0===de||void 0!==de.offset&&0!==de.offset?He=[{offset:0,[U]:J},...He]:de[U]=J,st};return st={parentAnimation:oe,elements:Ot,childAnimations:nn,id:Vt,animationFinish:Tn,from:H,to:(U,J)=>{const de=He[He.length-1];return void 0===de||void 0!==de.offset&&1!==de.offset?He=[...He,{offset:1,[U]:J}]:de[U]=J,st},fromTo:(U,J,de)=>H(U,J).to(U,de),parent:U=>(oe=U,st),play:or,pause:()=>(nn.forEach(U=>{U.pause()}),Wn(),st),stop:()=>{nn.forEach(U=>{U.stop()}),Ne&&(At(),Ne=!1),Ce=!1,Je=!1,ze=!0,me=void 0,Ee=void 0,ae=void 0,q=0,ke=!1,ve=!0,_t=!1},destroy:U=>(nn.forEach(J=>{J.destroy(U)}),(U=>{At(),U&&rn()})(U),Ot.length=0,nn.length=0,He.length=0,Et.length=0,Jt.length=0,Ne=!1,ze=!0,st),keyframes:U=>{const J=He!==U;return He=U,J&&(U=>
1{it?ue().forEach(J=>{if(J.effect.setKeyframes)J.effect.setKeyframes(U);else{const de=new KeyframeEffect(J.effect.target,U,J.effect.getTiming());J.effect=de}}):Qn()})(He),st},addAnimation:U=>{if(null!=U)if(Array.isArray(U))for(const J of U)J.parent(st),nn.push(J);else U.parent(st),nn.push(U);return st},addElement:U=>{if(null!=U)if(1===U.nodeType)Ot.push(U);else if(U.length>=0)for(let J=0;J<U.length;J++)Ot.push(U[J]);else console.error("Invalid addElement value");return st},update:ut,fill:U=>(Ue=U,ut(!0),st),direction:U=>(we=U,ut(!0),st),iterations:U=>(Re=U,ut(!0),st),duration:U=>(!it&&0===U&&(U=1),Ie=U,ut(!0),st),easing:U=>(Ke=U,ut(!0),st),delay:U=>(ie=U,ut(!0),st),getWebAnimations:ue,getKeyframes:()=>He,getFill:jn,getDirection:xn,getDelay:Nn,getIterations:bn,getEasing:Rn,getDuration:pn,afterAddRead:U=>(cr.push(U),st),afterAddWrite:U=>(Jn.push(U),st),afterClearStyles:(U=[])=>{for(const J of U)K[J]="";return st},afterStyles:(U={})=>(K=U,st),afterRemoveClass:U=>($=pe($,U),st),afterAddClass:U=>(L=pe(L,U),st),beforeAddRead:U=>($n.push(U),st),beforeAddWrite:U=>(Vn.push(U),st),beforeClearStyles:(U=[])=>{for(const J of U)B[J]="";return st},beforeStyles:(U={})=>(B=U,st),beforeRemoveClass:U=>(be=pe(be,U),st),beforeAddClass:U=>(Oe=pe(Oe,U),st),onFinish:ct,isRunning:()=>0!==q&&!_t,progressStart:(U=!1,J)=>(nn.forEach(de=>{de.progressStart(U,J)}),Wn(),Ce=U,Ne||Hn(),ut(!1,!0,J),st),progressStep:U=>(nn.forEach(J=>{J.progressStep(U)}),gn(U),st),progressEnd:(U,J,de)=>(Ce=!1,nn.forEach(qe=>{qe.progressEnd(U,J,de)}),void 0!==de&&(Ee=de),ke=!1,ve=!0,0===U?(me="reverse"===xn()?"normal":"reverse","reverse"===me&&(ve=!1),it?(ut(),gn(1-J)):(ae=(1-J)*pn()*-1,ut(!1,!1))):1===U&&(it?(ut(),gn(J)):(ae=J*pn()*-1,ut(!1,!1))),void 0!==U&&(ct(()=>{Ee=void 0,me=void 0,ae=void 0},{oneTimeCallback:!0}),oe||or()),st)}}},3509:(vt,Ve,F)=>{"use strict";F.d(Ve,{G:()=>te});class Y{constructor(fe,$e,Me,Pe,_e){this.id=$e,this.name=Me,this.disableScroll=_e,this.priority=1e6*Pe+$e,this.ctrl=fe}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const fe=this.ctrl.capture(this.name,this.id,this.priority);return fe&&this.disableScroll&&this.ctrl.disableScroll(this.id),fe}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class X{constructor(fe,$e,Me,Pe){this.id=$e,this.disable=Me,this.disableScroll=Pe,this.ctrl=fe}block(){if(this.ctrl){if(this.disable)for(const fe of this.disable)this.ctrl.disableGesture(fe,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const fe of this.disable)this.ctrl.enableGesture(fe,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const ge="backdrop-no-scroll",te=new class i{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(fe){return new Y(this,this.newID(),fe.name,fe.priority||0,!!fe.disableScroll)}createBlocker(fe={}){return new X(this,this.newID(),fe.disable,!!fe.disableScroll)}start(fe,$e,Me){return this.canStart(fe)?(this.requestedStart.set($e,Me),!0):(this.requestedStart.delete($e),!1)}capture(fe,$e,Me){if(!this.start(fe,$e,Me))return!1;const Pe=this.requestedStart;let _e=-1e4;if(Pe.forEach(je=>{_e=Math.max(_e,je)}),_e===Me){this.capturedId=$e,Pe.clear();const je=new CustomEvent("ionGestureCaptured",{detail:{gestureName:fe}});return document.dispatchEvent(je),!0}return Pe.delete($e),!1}release(fe){this.requestedStart.delete(fe),this.capturedId===fe&&(this.capturedId=void 0)}disableGesture(fe,$e){let Me=this.disabledGestures.get(fe);void 0===Me&&(Me=new Set,this.disabledGestures.set(fe,Me)),Me.add($e)}enableGesture(fe,$e){const Me=this.disabledGestures.get(fe);void 0!==Me&&Me.delete($e)}disableScroll(fe){this.disabledScroll.add(fe),1===this.disabledScroll.size&&document.body.classList.add(ge)}enableScroll(fe){this.disabledScroll.delete(fe),0===this.disabledScroll.size&&document.body.classList.remove(ge)}canStart(fe){return!(void 0!==this.capturedId||this.isDisabled(fe))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(fe){const $e=this.disabledGestures.get(fe);return!!($e&&$e.size>0)}newID(){return this.gestureId++,this.gestureId}}},7593:(vt,Ve,F)=>{"use strict";F.r(Ve),F.d(Ve,{MENU_BACK_BUTTON_PRIORITY:()=>te,OVERLAY_BACK_BUTTON_PRIORITY:()=>ge,blockHardwareBackButton:()=>Y,startHardwareBackButton:()=>X});var i=F(5861);const Y=()=>{document.addEventListener("backbutton",()=>{})},X=()=>{const Fe=document;let fe=!1;Fe.addEventListener("backbutton",()=>{if(fe)return;let $e=0,Me=[];const Pe=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(re,pe){Me.push({priority:re,handler:pe,id:$e++})}}});Fe.dispatchEvent(Pe);const _e=function(){var re=(0,i.Z)(function*(pe){try{if(null==pe?void 0:pe.handler){const Te=pe.handler(je);null!=Te&&(yield Te)}}catch(Te){console.error(Te)}});return function(Te){return re.apply(this,arguments)}}(),je=()=>{if(Me.length>0){let re={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};Me.forEach(pe=>{pe.priority>=re.priority&&(re=pe)}),fe=!0,Me=Me.filter(pe=>pe.id!==re.id),_e(re).then(()=>fe=!1)}};je()})},ge=100,te=99},3756:(vt,Ve,F)=>{"use strict";F.d(Ve,{a:()=>fe,b:()=>$e,c:()=>X,d:()=>pe,e:()=>Te,f:()=>re,g:()=>Me,h:()=>Ue,i:()=>Fe,j:()=>ge,k:()=>je,l:()=>Q,m:()=>_e,n:()=>ie,o:()=>Re,p:()=>Ke,q:()=>we,r:()=>Pe,s:()=>He,t:()=>i,u:()=>Ie});const i=(Oe,be=0)=>new Promise(Ne=>{Y(Oe,be,Ne)}),Y=(Oe,be=0,Ne)=>{let oe,B;const L={passive:!0},K=()=>{oe&&oe()},q=Ce=>{(void 0===Ce||Oe===Ce.target)&&(K(),Ne(Ce))};return Oe&&(Oe.addEventListener("webkitTransitionEnd",q,L),Oe.addEventListener("transitionend",q,L),B=setTimeout(q,be+500),oe=()=>{B&&(clearTimeout(B),B=void 0),Oe.removeEventListener("webkitTransitionEnd",q,L),Oe.removeEventListener("transitionend",q,L)}),K},X=(Oe,be)=>{Oe.componentOnReady?Oe.componentOnReady().then(Ne=>be(Ne)):Pe(()=>be(Oe))},ge=(Oe,be=[])=>{const Ne={};return be.forEach(oe=>{Oe.hasAttribute(oe)&&(null!==Oe.getAttribute(oe)&&(Ne[oe]=Oe.getAttribute(oe)),Oe.removeAttribute(oe))}),Ne},te=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],Fe=Oe=>ge(Oe,te),fe=(Oe,be,Ne,oe)=>{var B;if("undefined"!=typeof window){const L=window,$=null===(B=null==L?void 0:L.Ionic)||void 0===B?void 0:B.config;if($){const K=$.get("_ael");
1if(K)return K(Oe,be,Ne,oe);if($._ael)return $._ael(Oe,be,Ne,oe)}}return Oe.addEventListener(be,Ne,oe)},$e=(Oe,be,Ne,oe)=>{var B;if("undefined"!=typeof window){const L=window,$=null===(B=null==L?void 0:L.Ionic)||void 0===B?void 0:B.config;if($){const K=$.get("_rel");if(K)return K(Oe,be,Ne,oe);if($._rel)return $._rel(Oe,be,Ne,oe)}}return Oe.removeEventListener(be,Ne,oe)},Me=(Oe,be=Oe)=>Oe.shadowRoot||be,Pe=Oe=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Oe):"function"==typeof requestAnimationFrame?requestAnimationFrame(Oe):setTimeout(Oe),_e=Oe=>!!Oe.shadowRoot&&!!Oe.attachShadow,je=Oe=>{const be=Oe.closest("ion-item");return be?be.querySelector("ion-label"):null},re=Oe=>{if(Oe.focus(),Oe.classList.contains("ion-focusable")){const be=Oe.closest("ion-app");be&&be.setFocus([Oe])}},pe=(Oe,be)=>{let Ne;const oe=Oe.getAttribute("aria-labelledby"),B=Oe.id;let L=null!==oe&&""!==oe.trim()?oe:be+"-lbl",$=null!==oe&&""!==oe.trim()?document.getElementById(oe):je(Oe);return $?(null===oe&&($.id=L),Ne=$.textContent,$.setAttribute("aria-hidden","true")):""!==B.trim()&&($=document.querySelector(`label[for="${B}"]`),$&&(""!==$.id?L=$.id:$.id=L=`${B}-lbl`,Ne=$.textContent)),{label:$,labelId:L,labelText:Ne}},Te=(Oe,be,Ne,oe,B)=>{if(Oe||_e(be)){let L=be.querySelector("input.aux-input");L||(L=be.ownerDocument.createElement("input"),L.type="hidden",L.classList.add("aux-input"),be.appendChild(L)),L.disabled=B,L.name=Ne,L.value=oe||""}},Q=(Oe,be,Ne)=>Math.max(Oe,Math.min(be,Ne)),ie=(Oe,be)=>{if(!Oe){const Ne="ASSERT: "+be;throw console.error(Ne),new Error(Ne)}},Ie=Oe=>Oe.timeStamp||Date.now(),Ke=Oe=>{if(Oe){const be=Oe.changedTouches;if(be&&be.length>0){const Ne=be[0];return{x:Ne.clientX,y:Ne.clientY}}if(void 0!==Oe.pageX)return{x:Oe.pageX,y:Oe.pageY}}return{x:0,y:0}},Re=Oe=>{const be="rtl"===document.dir;switch(Oe){case"start":return be;case"end":return!be;default:throw new Error(`"${Oe}" is not a valid value for [side]. Use "start" or "end" instead.`)}},Ue=(Oe,be)=>{const Ne=Oe._original||Oe;return{_original:Oe,emit:we(Ne.emit.bind(Ne),be)}},we=(Oe,be=0)=>{let Ne;return(...oe)=>{clearTimeout(Ne),Ne=setTimeout(Oe,be,...oe)}},He=(Oe,be)=>{if(null!=Oe||(Oe={}),null!=be||(be={}),Oe===be)return!0;const Ne=Object.keys(Oe);if(Ne.length!==Object.keys(be).length)return!1;for(const oe of Ne)if(!(oe in be)||Oe[oe]!==be[oe])return!1;return!0}},3139:(vt,Ve,F)=>{"use strict";F.r(Ve),F.d(Ve,{GESTURE_CONTROLLER:()=>i.G,createGesture:()=>Me});var i=F(3509);const Y=(re,pe,Te,Q)=>{const ie=X(re)?{capture:!!Q.capture,passive:!!Q.passive}:!!Q.capture;let Ie,Ke;return re.__zone_symbol__addEventListener?(Ie="__zone_symbol__addEventListener",Ke="__zone_symbol__removeEventListener"):(Ie="addEventListener",Ke="removeEventListener"),re[Ie](pe,Te,ie),()=>{re[Ke](pe,Te,ie)}},X=re=>{if(void 0===ge)try{const pe=Object.defineProperty({},"passive",{get:()=>{ge=!0}});re.addEventListener("optsTest",()=>{},pe)}catch(pe){ge=!1}return!!ge};let ge;const fe=re=>re instanceof Document?re:re.ownerDocument,Me=re=>{let pe=!1,Te=!1,Q=!0,ie=!1;const Ie=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},re),Ke=Ie.canStart,Re=Ie.onWillStart,Ue=Ie.onStart,we=Ie.onEnd,He=Ie.notCaptured,Oe=Ie.onMove,be=Ie.threshold,Ne=Ie.passive,oe=Ie.blurOnStart,B={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},L=((re,pe,Te)=>{const Q=Te*(Math.PI/180),ie="x"===re,Ie=Math.cos(Q),Ke=pe*pe;let Re=0,Ue=0,we=!1,He=0;return{start(Oe,be){Re=Oe,Ue=be,He=0,we=!0},detect(Oe,be){if(!we)return!1;const Ne=Oe-Re,oe=be-Ue,B=Ne*Ne+oe*oe;if(B<Ke)return!1;const L=Math.sqrt(B),$=(ie?Ne:oe)/L;return He=$>Ie?1:$<-Ie?-1:0,we=!1,!0},isGesture:()=>0!==He,getDirection:()=>He}})(Ie.direction,Ie.threshold,Ie.maxAngle),$=i.G.createGesture({name:re.gestureName,priority:re.gesturePriority,disableScroll:re.disableScroll}),Ce=()=>{!pe||(ie=!1,Oe&&Oe(B))},Je=()=>!($&&!$.capture()||(pe=!0,Q=!1,B.startX=B.currentX,B.startY=B.currentY,B.startTime=B.currentTime,Re?Re(B).then(me):me(),0)),me=()=>{oe&&(()=>{if("undefined"!=typeof document){const ze=document.activeElement;(null==ze?void 0:ze.blur)&&ze.blur()}})(),Ue&&Ue(B),Q=!0},Ee=()=>{pe=!1,Te=!1,ie=!1,Q=!0,$.release()},ae=ze=>{const ot=pe,st=Q;if(Ee(),st){if(Pe(B,ze),ot)return void(we&&we(B));He&&He(B)}},ve=((re,pe,Te,Q,ie)=>{let Ie,Ke,Re,Ue,we,He,Oe,be=0;const Ne=ee=>{be=Date.now()+2e3,pe(ee)&&(!Ke&&Te&&(Ke=Y(re,"touchmove",Te,ie)),Re||(Re=Y(ee.target,"touchend",B,ie)),Ue||(Ue=Y(ee.target,"touchcancel",B,ie)))},oe=ee=>{be>Date.now()||!pe(ee)||(!He&&Te&&(He=Y(fe(re),"mousemove",Te,ie)),Oe||(Oe=Y(fe(re),"mouseup",L,ie)))},B=ee=>{$(),Q&&Q(ee)},L=ee=>{K(),Q&&Q(ee)},$=()=>{Ke&&Ke(),Re&&Re(),Ue&&Ue(),Ke=Re=Ue=void 0},K=()=>{He&&He(),Oe&&Oe(),He=Oe=void 0},q=()=>{$(),K()},Ce=(ee=!0)=>{ee?(Ie||(Ie=Y(re,"touchstart",Ne,ie)),we||(we=Y(re,"mousedown",oe,ie))):(Ie&&Ie(),we&&we(),Ie=we=void 0,q())};return{enable:Ce,stop:q,destroy:()=>{Ce(!1),Q=Te=pe=void 0}}})(Ie.el,ze=>{const ot=je(ze);return!(Te||!Q||(_e(ze,B),B.startX=B.currentX,B.startY=B.currentY,B.startTime=B.currentTime=ot,B.velocityX=B.velocityY=B.deltaX=B.deltaY=0,B.event=ze,Ke&&!1===Ke(B))||($.release(),!$.start()))&&(Te=!0,0===be?Je():(L.start(B.startX,B.startY),!0))},ze=>{pe?!ie&&Q&&(ie=!0,Pe(B,ze),requestAnimationFrame(Ce)):(Pe(B,ze),L.detect(B.currentX,B.currentY)&&(!L.isGesture()||!Je())&&ke())},ae,{capture:!1,passive:Ne}),ke=()=>{Ee(),ve.stop(),He&&He(B)};return{enable(ze=!0){ze||(pe&&ae(void 0),Ee()),ve.enable(ze)},destroy(){$.destroy(),ve.destroy()}}},Pe=(re,pe)=>{if(!pe)return;const Te=re.currentX,Q=re.currentY,ie=re.currentTime;_e(pe,re);const Ie=re.currentX,Ke=re.currentY,Ue=(re.currentTime=je(pe))-ie;if(Ue>0&&Ue<100){const He=(Ke-Q)/Ue;re.velocityX=(Ie-Te)/Ue*.7+.3*re.velocityX,re.velocityY=.7*He+.3*re.velocityY}re.deltaX=Ie-re.startX,re.deltaY=Ke-re.startY,re.event=pe},_e=(re,pe)=>{let Te=0,Q=0;
1if(re){const ie=re.changedTouches;if(ie&&ie.length>0){const Ie=ie[0];Te=Ie.clientX,Q=Ie.clientY}else void 0!==re.pageX&&(Te=re.pageX,Q=re.pageY)}pe.currentX=Te,pe.currentY=Q},je=re=>re.timeStamp||Date.now()},9753:(vt,Ve,F)=>{"use strict";F.d(Ve,{L:()=>ge,a:()=>te,b:()=>Fe,c:()=>fe,d:()=>$e,e:()=>be,g:()=>B,l:()=>He,s:()=>Ne,t:()=>_e});var i=F(5861),Y=F(7205),X=F(3756);const ge="ionViewWillEnter",te="ionViewDidEnter",Fe="ionViewWillLeave",fe="ionViewDidLeave",$e="ionViewWillUnload",_e=L=>new Promise(($,K)=>{(0,Y.c)(()=>{je(L),re(L).then(q=>{q.animation&&q.animation.destroy(),pe(L),$(q)},q=>{pe(L),K(q)})})}),je=L=>{const $=L.enteringEl,K=L.leavingEl;oe($,K,L.direction),L.showGoBack?$.classList.add("can-go-back"):$.classList.remove("can-go-back"),Ne($,!1),$.style.setProperty("pointer-events","none"),K&&(Ne(K,!1),K.style.setProperty("pointer-events","none"))},re=function(){var L=(0,i.Z)(function*($){const K=yield Te($);return K&&Y.B.isBrowser?Q(K,$):ie($)});return function(K){return L.apply(this,arguments)}}(),pe=L=>{const $=L.enteringEl,K=L.leavingEl;$.classList.remove("ion-page-invisible"),$.style.removeProperty("pointer-events"),void 0!==K&&(K.classList.remove("ion-page-invisible"),K.style.removeProperty("pointer-events"))},Te=function(){var L=(0,i.Z)(function*($){return $.leavingEl&&$.animated&&0!==$.duration?$.animationBuilder?$.animationBuilder:"ios"===$.mode?(yield Promise.resolve().then(F.bind(F,4181))).iosTransitionAnimation:(yield Promise.resolve().then(F.bind(F,5980))).mdTransitionAnimation:void 0});return function(K){return L.apply(this,arguments)}}(),Q=function(){var L=(0,i.Z)(function*($,K){yield Ie(K,!0);const q=$(K.baseEl,K);Ue(K.enteringEl,K.leavingEl);const Ce=yield Re(q,K);return K.progressCallback&&K.progressCallback(void 0),Ce&&we(K.enteringEl,K.leavingEl),{hasCompleted:Ce,animation:q}});return function(K,q){return L.apply(this,arguments)}}(),ie=function(){var L=(0,i.Z)(function*($){const K=$.enteringEl,q=$.leavingEl;return yield Ie($,!1),Ue(K,q),we(K,q),{hasCompleted:!0}});return function(K){return L.apply(this,arguments)}}(),Ie=function(){var L=(0,i.Z)(function*($,K){const Ce=(void 0!==$.deepWait?$.deepWait:K)?[be($.enteringEl),be($.leavingEl)]:[Oe($.enteringEl),Oe($.leavingEl)];yield Promise.all(Ce),yield Ke($.viewIsReady,$.enteringEl)});return function(K,q){return L.apply(this,arguments)}}(),Ke=function(){var L=(0,i.Z)(function*($,K){$&&(yield $(K))});return function(K,q){return L.apply(this,arguments)}}(),Re=(L,$)=>{const K=$.progressCallback,q=new Promise(Ce=>{L.onFinish(Je=>Ce(1===Je))});return K?(L.progressStart(!0),K(L)):L.play(),q},Ue=(L,$)=>{He($,Fe),He(L,ge)},we=(L,$)=>{He(L,te),He($,fe)},He=(L,$)=>{if(L){const K=new CustomEvent($,{bubbles:!1,cancelable:!1});L.dispatchEvent(K)}},Oe=L=>L?new Promise($=>(0,X.c)(L,$)):Promise.resolve(),be=function(){var L=(0,i.Z)(function*($){const K=$;if(K){if(null!=K.componentOnReady){if(null!=(yield K.componentOnReady()))return}else if(null!=K.__registerHost)return void(yield new Promise(Ce=>(0,X.r)(Ce)));yield Promise.all(Array.from(K.children).map(be))}});return function(K){return L.apply(this,arguments)}}(),Ne=(L,$)=>{$?(L.setAttribute("aria-hidden","true"),L.classList.add("ion-page-hidden")):(L.hidden=!1,L.removeAttribute("aria-hidden"),L.classList.remove("ion-page-hidden"))},oe=(L,$,K)=>{void 0!==L&&(L.style.zIndex="back"===K?"99":"101"),void 0!==$&&($.style.zIndex="100")},B=L=>L.classList.contains("ion-page")?L:L.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||L},7205:(vt,Ve,F)=>{"use strict";F.d(Ve,{B:()=>or,H:()=>nn,a:()=>ke,b:()=>Xn,c:()=>Un,e:()=>Xt,f:()=>Mt,g:()=>ze,h:()=>Jt,i:()=>Kt,j:()=>Rn,k:()=>Tn,p:()=>Q,r:()=>Hn,s:()=>pe});var i=F(5861);let X,ge,te,Fe=!1,fe=!1,$e=!1,Me=!1,Pe=!1;const _e="undefined"!=typeof window?window:{},je=_e.document||{head:{}},re={$flags$:0,$resourcesUrl$:"",jmp:N=>N(),raf:N=>requestAnimationFrame(N),ael:(N,H,le,ye)=>N.addEventListener(H,le,ye),rel:(N,H,le,ye)=>N.removeEventListener(H,le,ye),ce:(N,H)=>new CustomEvent(N,H)},pe=N=>{Object.assign(re,N)},Q=N=>Promise.resolve(N),ie=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(N){}return!1})(),Ie=(N,H,le,ye)=>{le&&le.map(([U,J,de])=>{const qe=Re(N,U),We=Ke(H,de),Xe=Ue(U);re.ael(qe,J,We,Xe),(H.$rmListeners$=H.$rmListeners$||[]).push(()=>re.rel(qe,J,We,Xe))})},Ke=(N,H)=>le=>{try{256&N.$flags$?N.$lazyInstance$[H](le):(N.$queuedListeners$=N.$queuedListeners$||[]).push([H,le])}catch(ye){wn(ye)}},Re=(N,H)=>4&H?je:8&H?_e:16&H?je.body:N,Ue=N=>0!=(2&N),Ne="s-id",oe="sty-id",B="c-id",$="http://www.w3.org/1999/xlink",Ce=new WeakMap,Je=(N,H,le)=>{let ye=qt.get(N);ie&&le?(ye=ye||new CSSStyleSheet,ye.replace(H)):ye=H,qt.set(N,ye)},ee=(N,H,le,ye)=>{let U=Ee(H,le);const J=qt.get(U);if(N=11===N.nodeType?N:je,J)if("string"==typeof J){let qe,de=Ce.get(N=N.head||N);de||Ce.set(N,de=new Set),de.has(U)||(N.host&&(qe=N.querySelector(`[${oe}="${U}"]`))?qe.innerHTML=J:(qe=je.createElement("style"),qe.innerHTML=J,N.insertBefore(qe,N.querySelector("link"))),de&&de.add(U))}else N.adoptedStyleSheets.includes(J)||(N.adoptedStyleSheets=[...N.adoptedStyleSheets,J]);return U},Ee=(N,H)=>"sc-"+(H&&32&N.$flags$?N.$tagName$+"-"+H:N.$tagName$),ae=N=>N.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),ke=N=>In.push(N),ze=N=>_n(N).$modeName$,ot={},Et=N=>"object"==(N=typeof N)||"function"===N,Jt=(N,H,...le)=>{let ye=null,U=null,J=null,de=!1,qe=!1;const We=[],Xe=Tt=>{for(let Bt=0;Bt<Tt.length;Bt++)ye=Tt[Bt],Array.isArray(ye)?Xe(ye):null!=ye&&"boolean"!=typeof ye&&((de="function"!=typeof N&&!Et(ye))&&(ye=String(ye)),de&&qe?We[We.length-1].$text$+=ye:We.push(de?Ot(null,ye):ye),qe=de)};
1if(Xe(le),H){H.key&&(U=H.key),H.name&&(J=H.name);{const Tt=H.className||H.class;Tt&&(H.class="object"!=typeof Tt?Tt:Object.keys(Tt).filter(Bt=>Tt[Bt]).join(" "))}}if("function"==typeof N)return N(null===H?{}:H,We,$n);const ht=Ot(N,null);return ht.$attrs$=H,We.length>0&&(ht.$children$=We),ht.$key$=U,ht.$name$=J,ht},Ot=(N,H)=>({$flags$:0,$tag$:N,$text$:H,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),nn={},$n={forEach:(N,H)=>N.map(Vn).forEach(H),map:(N,H)=>N.map(Vn).map(H).map(cr)},Vn=N=>({vattrs:N.$attrs$,vchildren:N.$children$,vkey:N.$key$,vname:N.$name$,vtag:N.$tag$,vtext:N.$text$}),cr=N=>{if("function"==typeof N.vtag){const le=Object.assign({},N.vattrs);return N.vkey&&(le.key=N.vkey),N.vname&&(le.name=N.vname),Jt(N.vtag,le,...N.vchildren||[])}const H=Ot(N.vtag,N.vtext);return H.$attrs$=N.vattrs,H.$children$=N.vchildren,H.$key$=N.vkey,H.$name$=N.vname,H},Jn=(N,H,le,ye,U,J)=>{if(le!==ye){let de=br(N,H),qe=H.toLowerCase();if("class"===H){const We=N.classList,Xe=fn(le),ht=fn(ye);We.remove(...Xe.filter(Tt=>Tt&&!ht.includes(Tt))),We.add(...ht.filter(Tt=>Tt&&!Xe.includes(Tt)))}else if("style"===H){for(const We in le)(!ye||null==ye[We])&&(We.includes("-")?N.style.removeProperty(We):N.style[We]="");for(const We in ye)(!le||ye[We]!==le[We])&&(We.includes("-")?N.style.setProperty(We,ye[We]):N.style[We]=ye[We])}else if("key"!==H)if("ref"===H)ye&&ye(N);else if(de||"o"!==H[0]||"n"!==H[1]){const We=Et(ye);if((de||We&&null!==ye)&&!U)try{if(N.tagName.includes("-"))N[H]=ye;else{const ht=null==ye?"":ye;"list"===H?de=!1:(null==le||N[H]!=ht)&&(N[H]=ht)}}catch(ht){}let Xe=!1;qe!==(qe=qe.replace(/^xlink\:?/,""))&&(H=qe,Xe=!0),null==ye||!1===ye?(!1!==ye||""===N.getAttribute(H))&&(Xe?N.removeAttributeNS($,H):N.removeAttribute(H)):(!de||4&J||U)&&!We&&(ye=!0===ye?"":ye,Xe?N.setAttributeNS($,H,ye):N.setAttribute(H,ye))}else H="-"===H[2]?H.slice(3):br(_e,qe)?qe.slice(2):qe[2]+H.slice(3),le&&re.rel(N,H,le,!1),ye&&re.ael(N,H,ye,!1)}},Dt=/\s/,fn=N=>N?N.split(Dt):[],it=(N,H,le,ye)=>{const U=11===H.$elm$.nodeType&&H.$elm$.host?H.$elm$.host:H.$elm$,J=N&&N.$attrs$||ot,de=H.$attrs$||ot;for(ye in J)ye in de||Jn(U,ye,J[ye],void 0,le,H.$flags$);for(ye in de)Jn(U,ye,J[ye],de[ye],le,H.$flags$)},xe=(N,H,le,ye)=>{const U=H.$children$[le];let de,qe,We,J=0;if(Fe||($e=!0,"slot"===U.$tag$&&(X&&ye.classList.add(X+"-s"),U.$flags$|=U.$children$?2:1)),null!==U.$text$)de=U.$elm$=je.createTextNode(U.$text$);else if(1&U.$flags$)de=U.$elm$=je.createTextNode("");else{if(Me||(Me="svg"===U.$tag$),de=U.$elm$=je.createElementNS(Me?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&U.$flags$?"slot-fb":U.$tag$),Me&&"foreignObject"===U.$tag$&&(Me=!1),it(null,U,Me),(N=>null!=N)(X)&&de["s-si"]!==X&&de.classList.add(de["s-si"]=X),U.$children$)for(J=0;J<U.$children$.length;++J)qe=xe(N,U,J,de),qe&&de.appendChild(qe);"svg"===U.$tag$?Me=!1:"foreignObject"===de.tagName&&(Me=!0)}return de["s-hn"]=te,3&U.$flags$&&(de["s-sr"]=!0,de["s-cr"]=ge,de["s-sn"]=U.$name$||"",We=N&&N.$children$&&N.$children$[le],We&&We.$tag$===U.$tag$&&N.$elm$&&ue(N.$elm$,!1)),de},ue=(N,H)=>{re.$flags$|=1;const le=N.childNodes;for(let ye=le.length-1;ye>=0;ye--){const U=le[ye];U["s-hn"]!==te&&U["s-ol"]&&(dt(U).insertBefore(U,ct(U)),U["s-ol"].remove(),U["s-ol"]=void 0,$e=!0),H&&ue(U,H)}re.$flags$&=-2},he=(N,H,le,ye,U,J)=>{let qe,de=N["s-cr"]&&N["s-cr"].parentNode||N;for(de.shadowRoot&&de.tagName===te&&(de=de.shadowRoot);U<=J;++U)ye[U]&&(qe=xe(null,le,U,N),qe&&(ye[U].$elm$=qe,de.insertBefore(qe,ct(H))))},et=(N,H,le,ye,U)=>{for(;H<=le;++H)(ye=N[H])&&(U=ye.$elm$,Pt(ye),fe=!0,U["s-ol"]?U["s-ol"].remove():ue(U,!0),U.remove())},Qe=(N,H)=>N.$tag$===H.$tag$&&("slot"===N.$tag$?N.$name$===H.$name$:N.$key$===H.$key$),ct=N=>N&&N["s-ol"]||N,dt=N=>(N["s-ol"]?N["s-ol"]:N).parentNode,At=(N,H)=>{const le=H.$elm$=N.$elm$,ye=N.$children$,U=H.$children$,J=H.$tag$,de=H.$text$;let qe;null===de?(Me="svg"===J||"foreignObject"!==J&&Me,"slot"===J||it(N,H,Me),null!==ye&&null!==U?((N,H,le,ye)=>{let An,zn,U=0,J=0,de=0,qe=0,We=H.length-1,Xe=H[0],ht=H[We],Tt=ye.length-1,Bt=ye[0],Ht=ye[Tt];for(;U<=We&&J<=Tt;)if(null==Xe)Xe=H[++U];else if(null==ht)ht=H[--We];else if(null==Bt)Bt=ye[++J];else if(null==Ht)Ht=ye[--Tt];else if(Qe(Xe,Bt))At(Xe,Bt),Xe=H[++U],Bt=ye[++J];else if(Qe(ht,Ht))At(ht,Ht),ht=H[--We],Ht=ye[--Tt];
1else if(Qe(Xe,Ht))("slot"===Xe.$tag$||"slot"===Ht.$tag$)&&ue(Xe.$elm$.parentNode,!1),At(Xe,Ht),N.insertBefore(Xe.$elm$,ht.$elm$.nextSibling),Xe=H[++U],Ht=ye[--Tt];else if(Qe(ht,Bt))("slot"===Xe.$tag$||"slot"===Ht.$tag$)&&ue(ht.$elm$.parentNode,!1),At(ht,Bt),N.insertBefore(ht.$elm$,Xe.$elm$),ht=H[--We],Bt=ye[++J];else{for(de=-1,qe=U;qe<=We;++qe)if(H[qe]&&null!==H[qe].$key$&&H[qe].$key$===Bt.$key$){de=qe;break}de>=0?(zn=H[de],zn.$tag$!==Bt.$tag$?An=xe(H&&H[J],le,de,N):(At(zn,Bt),H[de]=void 0,An=zn.$elm$),Bt=ye[++J]):(An=xe(H&&H[J],le,J,N),Bt=ye[++J]),An&&dt(Xe.$elm$).insertBefore(An,ct(Xe.$elm$))}U>We?he(N,null==ye[Tt+1]?null:ye[Tt+1].$elm$,le,ye,J,Tt):J>Tt&&et(H,U,We)})(le,ye,H,U):null!==U?(null!==N.$text$&&(le.textContent=""),he(le,null,H,U,0,U.length-1)):null!==ye&&et(ye,0,ye.length-1),Me&&"svg"===J&&(Me=!1)):(qe=le["s-cr"])?qe.parentNode.textContent=de:N.$text$!==de&&(le.data=de)},rn=N=>{const H=N.childNodes;let le,ye,U,J,de,qe;for(ye=0,U=H.length;ye<U;ye++)if(le=H[ye],1===le.nodeType){if(le["s-sr"])for(de=le["s-sn"],le.hidden=!1,J=0;J<U;J++)if(qe=H[J].nodeType,H[J]["s-hn"]!==le["s-hn"]||""!==de){if(1===qe&&de===H[J].getAttribute("slot")){le.hidden=!0;break}}else if(1===qe||3===qe&&""!==H[J].textContent.trim()){le.hidden=!0;break}rn(le)}},jt=[],ir=N=>{let H,le,ye,U,J,de,qe=0;const We=N.childNodes,Xe=We.length;for(;qe<Xe;qe++){if(H=We[qe],H["s-sr"]&&(le=H["s-cr"])&&le.parentNode)for(ye=le.parentNode.childNodes,U=H["s-sn"],de=ye.length-1;de>=0;de--)le=ye[de],!le["s-cn"]&&!le["s-nr"]&&le["s-hn"]!==H["s-hn"]&&(hn(le,U)?(J=jt.find(ht=>ht.$nodeToRelocate$===le),fe=!0,le["s-sn"]=le["s-sn"]||U,J?J.$slotRefNode$=H:jt.push({$slotRefNode$:H,$nodeToRelocate$:le}),le["s-sr"]&&jt.map(ht=>{hn(ht.$nodeToRelocate$,le["s-sn"])&&(J=jt.find(Tt=>Tt.$nodeToRelocate$===le),J&&!ht.$slotRefNode$&&(ht.$slotRefNode$=J.$slotRefNode$))})):jt.some(ht=>ht.$nodeToRelocate$===le)||jt.push({$nodeToRelocate$:le}));1===H.nodeType&&ir(H)}},hn=(N,H)=>1===N.nodeType?null===N.getAttribute("slot")&&""===H||N.getAttribute("slot")===H:N["s-sn"]===H||""===H,Pt=N=>{N.$attrs$&&N.$attrs$.ref&&N.$attrs$.ref(null),N.$children$&&N.$children$.map(Pt)},Kt=N=>_n(N).$hostElement$,Xt=(N,H,le)=>{const ye=Kt(N);return{emit:U=>On(ye,H,{bubbles:!!(4&le),composed:!!(2&le),cancelable:!!(1&le),detail:U})}},On=(N,H,le)=>{const ye=re.ce(H,le);return N.dispatchEvent(ye),ye},Qt=(N,H)=>{H&&!N.$onRenderResolve$&&H["s-p"]&&H["s-p"].push(new Promise(le=>N.$onRenderResolve$=le))},xt=(N,H)=>{if(N.$flags$|=16,!(4&N.$flags$))return Qt(N,N.$ancestorComponent$),Un(()=>Yn(N,H));N.$flags$|=512},Yn=(N,H)=>{const ye=N.$lazyInstance$;let U;return H&&(N.$flags$|=256,N.$queuedListeners$&&(N.$queuedListeners$.map(([J,de])=>bn(ye,J,de)),N.$queuedListeners$=null),U=bn(ye,"componentWillLoad")),U=Nn(U,()=>bn(ye,"componentWillRender")),Nn(U,()=>Cn(N,ye,H))},Cn=function(){var N=(0,i.Z)(function*(H,le,ye){const U=H.$hostElement$,de=U["s-rc"];ye&&(N=>{const H=N.$cmpMeta$,le=N.$hostElement$,ye=H.$flags$,J=ee(le.shadowRoot?le.shadowRoot:le.getRootNode(),H,N.$modeName$);10&ye&&(le["s-sc"]=J,le.classList.add(J+"-h"),2&ye&&le.classList.add(J+"-s"))})(H);jn(H,le),de&&(de.map(We=>We()),U["s-rc"]=void 0);{const We=U["s-p"],Xe=()=>xn(H);0===We.length?Xe():(Promise.all(We).then(Xe),H.$flags$|=4,We.length=0)}});return function(le,ye,U){return N.apply(this,arguments)}}(),jn=(N,H,le)=>{try{H=H.render&&H.render(),N.$flags$&=-17,N.$flags$|=2,((N,H)=>{const le=N.$hostElement$,ye=N.$cmpMeta$,U=N.$vnode$||Ot(null,null),J=(N=>N&&N.$tag$===nn)(H)?H:Jt(null,null,H);if(te=le.tagName,ye.$attrsToReflect$&&(J.$attrs$=J.$attrs$||{},ye.$attrsToReflect$.map(([de,qe])=>J.$attrs$[qe]=le[de])),J.$tag$=null,J.$flags$|=4,N.$vnode$=J,J.$elm$=U.$elm$=le.shadowRoot||le,X=le["s-sc"],ge=le["s-cr"],Fe=0!=(1&ye.$flags$),fe=!1,At(U,J),re.$flags$|=1,$e){ir(J.$elm$);let de,qe,We,Xe,ht,Tt,Bt=0;for(;Bt<jt.length;Bt++)de=jt[Bt],qe=de.$nodeToRelocate$,qe["s-ol"]||(We=je.createTextNode(""),We["s-nr"]=qe,qe.parentNode.insertBefore(qe["s-ol"]=We,qe));for(Bt=0;Bt<jt.length;Bt++)if(de=jt[Bt],qe=de.$nodeToRelocate$,de.$slotRefNode$){for(Xe=de.$slotRefNode$.parentNode,ht=de.$slotRefNode$.nextSibling,We=qe["s-ol"];We=We.previousSibling;)if(Tt=We["s-nr"],Tt&&Tt["s-sn"]===qe["s-sn"]&&Xe===Tt.parentNode&&(Tt=Tt.nextSibling,!Tt||!Tt["s-nr"])){ht=Tt;break}(!ht&&Xe!==qe.parentNode||qe.nextSibling!==ht)&&qe!==ht&&(!qe["s-hn"]&&qe["s-ol"]&&(qe["s-hn"]=qe["s-ol"].parentNode.nodeName),Xe.insertBefore(qe,ht))}else 1===qe.nodeType&&(qe.hidden=!0)}fe&&rn(J.$elm$),re.$flags$&=-2,jt.length=0})(N,H)}catch(ye){wn(ye,N.$hostElement$)}return null},xn=N=>{const le=N.$hostElement$,U=N.$lazyInstance$,J=N.$ancestorComponent$;bn(U,"componentDidRender"),64&N.$flags$?bn(U,"componentDidUpdate"):(N.$flags$|=64,yr(le),bn(U,"componentDidLoad"),N.$onReadyResolve$(le),J||pn()),N.$onInstanceResolve$(le),N.$onRenderResolve$&&(N.$onRenderResolve$(),N.$onRenderResolve$=void 0),512&N.$flags$&&er(()=>xt(N,!1)),N.$flags$&=-517},Rn=N=>{{const H=_n(N),le=H.$hostElement$.isConnected;return le&&2==(18&H.$flags$)&&xt(H,!1),le}},pn=N=>{yr(je.documentElement),er(()=>On(_e,"appload",{detail:{namespace:"ionic"}}))},bn=(N,H,le)=>{if(N&&N[H])try{return N[H](le)}catch(ye){wn(ye)}},Nn=(N,H)=>N&&N.then?N.then(H):H(),yr=N=>
1N.classList.add("hydrated"),ce=(N,H,le,ye,U,J,de)=>{let qe,We,Xe,ht;if(1===J.nodeType){for(qe=J.getAttribute(B),qe&&(We=qe.split("."),(We[0]===de||"0"===We[0])&&(Xe={$flags$:0,$hostId$:We[0],$nodeId$:We[1],$depth$:We[2],$index$:We[3],$tag$:J.tagName.toLowerCase(),$elm$:J,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},H.push(Xe),J.removeAttribute(B),N.$children$||(N.$children$=[]),N.$children$[Xe.$index$]=Xe,N=Xe,ye&&"0"===Xe.$depth$&&(ye[Xe.$index$]=Xe.$elm$))),ht=J.childNodes.length-1;ht>=0;ht--)ce(N,H,le,ye,U,J.childNodes[ht],de);if(J.shadowRoot)for(ht=J.shadowRoot.childNodes.length-1;ht>=0;ht--)ce(N,H,le,ye,U,J.shadowRoot.childNodes[ht],de)}else if(8===J.nodeType)We=J.nodeValue.split("."),(We[1]===de||"0"===We[1])&&(qe=We[0],Xe={$flags$:0,$hostId$:We[1],$nodeId$:We[2],$depth$:We[3],$index$:We[4],$elm$:J,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===qe?(Xe.$elm$=J.nextSibling,Xe.$elm$&&3===Xe.$elm$.nodeType&&(Xe.$text$=Xe.$elm$.textContent,H.push(Xe),J.remove(),N.$children$||(N.$children$=[]),N.$children$[Xe.$index$]=Xe,ye&&"0"===Xe.$depth$&&(ye[Xe.$index$]=Xe.$elm$))):Xe.$hostId$===de&&("s"===qe?(Xe.$tag$="slot",J["s-sn"]=We[5]?Xe.$name$=We[5]:"",J["s-sr"]=!0,ye&&(Xe.$elm$=je.createElement(Xe.$tag$),Xe.$name$&&Xe.$elm$.setAttribute("name",Xe.$name$),J.parentNode.insertBefore(Xe.$elm$,J),J.remove(),"0"===Xe.$depth$&&(ye[Xe.$index$]=Xe.$elm$)),le.push(Xe),N.$children$||(N.$children$=[]),N.$children$[Xe.$index$]=Xe):"r"===qe&&(ye?J.remove():(U["s-cr"]=J,J["s-cn"]=!0))));else if(N&&"style"===N.$tag$){const Tt=Ot(null,J.textContent);Tt.$elm$=J,Tt.$index$="0",N.$children$=[Tt]}},W=(N,H)=>{if(1===N.nodeType){let le=0;for(;le<N.childNodes.length;le++)W(N.childNodes[le],H);if(N.shadowRoot)for(le=0;le<N.shadowRoot.childNodes.length;le++)W(N.shadowRoot.childNodes[le],H)}else if(8===N.nodeType){const le=N.nodeValue.split(".");"o"===le[0]&&(H.set(le[1]+"."+le[2],N),N.nodeValue="",N["s-en"]=le[3])}},Ut=(N,H,le)=>{if(H.$members$){N.watchers&&(H.$watchers$=N.watchers);const ye=Object.entries(H.$members$),U=N.prototype;if(ye.map(([J,[de]])=>{31&de||2&le&&32&de?Object.defineProperty(U,J,{get(){return((N,H)=>_n(this).$instanceValues$.get(H))(0,J)},set(qe){((N,H,le,ye)=>{const U=_n(N),J=U.$hostElement$,de=U.$instanceValues$.get(H),qe=U.$flags$,We=U.$lazyInstance$;le=((N,H)=>null==N||Et(N)?N:4&H?"false"!==N&&(""===N||!!N):2&H?parseFloat(N):1&H?String(N):N)(le,ye.$members$[H][0]);const Xe=Number.isNaN(de)&&Number.isNaN(le);if((!(8&qe)||void 0===de)&&le!==de&&!Xe&&(U.$instanceValues$.set(H,le),We)){if(ye.$watchers$&&128&qe){const Tt=ye.$watchers$[H];Tt&&Tt.map(Bt=>{try{We[Bt](le,de,H)}catch(Ht){wn(Ht,J)}})}2==(18&qe)&&xt(U,!1)}})(this,J,qe,H)},configurable:!0,enumerable:!0}):1&le&&64&de&&Object.defineProperty(U,J,{value(...qe){const We=_n(this);return We.$onInstancePromise$.then(()=>We.$lazyInstance$[J](...qe))}})}),1&le){const J=new Map;U.attributeChangedCallback=function(de,qe,We){re.jmp(()=>{const Xe=J.get(de);if(this.hasOwnProperty(Xe))We=this[Xe],delete this[Xe];else if(U.hasOwnProperty(Xe)&&"number"==typeof this[Xe]&&this[Xe]==We)return;this[Xe]=(null!==We||"boolean"!=typeof this[Xe])&&We})},N.observedAttributes=ye.filter(([de,qe])=>15&qe[0]).map(([de,qe])=>{const We=qe[1]||de;return J.set(We,de),512&qe[0]&&H.$attrsToReflect$.push([de,We]),We})}}return N},vn=function(){var N=(0,i.Z)(function*(H,le,ye,U,J){if(0==(32&le.$flags$)){{if(le.$flags$|=32,(J=Rt(ye)).then){const Xe=()=>{};J=yield J,Xe()}J.isProxied||(ye.$watchers$=J.watchers,Ut(J,ye,2),J.isProxied=!0);const We=()=>{};le.$flags$|=8;try{new J(le)}catch(Xe){wn(Xe)}le.$flags$&=-9,le.$flags$|=128,We(),en(le.$lazyInstance$)}if(J.style){let We=J.style;"string"!=typeof We&&(We=We[le.$modeName$=(N=>In.map(H=>H(N)).find(H=>!!H))(H)]);const Xe=Ee(ye,le.$modeName$);if(!qt.has(Xe)){const ht=()=>{};Je(Xe,We,!!(1&ye.$flags$)),ht()}}}const de=le.$ancestorComponent$,qe=()=>xt(le,!0);de&&de["s-rc"]?de["s-rc"].push(qe):qe()});return function(le,ye,U,J,de){return N.apply(this,arguments)}}(),en=N=>{bn(N,"connectedCallback")},Fn=N=>{const H=N["s-cr"]=je.createComment("");H["s-cn"]=!0,N.insertBefore(H,N.firstChild)},Xn=(N,H={})=>{const ye=[],U=H.exclude||[],J=_e.customElements,de=je.head,qe=de.querySelector("meta[charset]"),We=je.createElement("style"),Xe=[],ht=je.querySelectorAll(`[${oe}]`);let Tt,Bt=!0,Ht=0;for(Object.assign(re,H),re.$resourcesUrl$=new URL(H.resourcesUrl||"./",je.baseURI).href,re.$flags$|=2;Ht<ht.length;Ht++)Je(ht[Ht].getAttribute(oe),ae(ht[Ht].innerHTML),!0);N.map(An=>{An[1].map(zn=>{const Er={$flags$:zn[0],$tagName$:zn[1],$members$:zn[2],$listeners$:zn[3]};Er.$members$=zn[2],Er.$listeners$=zn[3],Er.$attrsToReflect$=[],Er.$watchers$={};const Fr=Er.$tagName$,Pr=class extends HTMLElement{constructor(xr){super(xr),gn(xr=this,Er),1&Er.$flags$&&xr.attachShadow({mode:"open",delegatesFocus:!!(16&Er.$flags$)})}connectedCallback(){Tt&&(clearTimeout(Tt),Tt=null),Bt?Xe.push(this):re.jmp(()=>(N=>{if(0==(1&re.$flags$)){const H=_n(N),le=H.$cmpMeta$,ye=()=>{};if(1&H.$flags$)Ie(N,H,le.$listeners$),en(H.$lazyInstance$);else{let U;if(H.$flags$|=1,U=N.getAttribute(Ne),U){if(1&le.$flags$){const J=ee(N.shadowRoot,le,N.getAttribute("s-mode"));N.classList.remove(J+"-h",J+"-s")}((N,H,le,ye)=>{const J=N.shadowRoot,de=[],We=J?[]:null,Xe=ye.$vnode$=Ot(H,null);re.$orgLocNodes$||W(je.body,re.$orgLocNodes$=new Map),N[Ne]=le,N.removeAttribute(Ne),ce(Xe,de,[],We,N,N,le),de.map(ht=>{const Tt=ht.$hostId$+"."+ht.$nodeId$,Bt=re.$orgLocNodes$.get(Tt),Ht=ht.$elm$;Bt&&""===Bt["s-en"]&&Bt.parentNode.insertBefore(Ht,Bt.nextSibling),J||(Ht["s-hn"]=H,Bt&&(Ht["s-ol"]=Bt,Ht["s-ol"]["s-nr"]=Ht)),re.$orgLocNodes$.delete(Tt)}),J&&We.map(ht=>{ht&&J.appendChild(ht)})})(N,le.$tagName$,U,H)}U||12&le.$flags$&&Fn(N);{let J=N;for(;J=J.parentNode||J.host;)if(1===J.nodeType&&J.hasAttribute("s-id")&&J["s-p"]||J["s-p"]){Qt(H,H.$ancestorComponent$=J);break}}le.$members$&&Object.entries(le.$members$).map(([J,[de]])=>{if(31&de&&N.hasOwnProperty(J)){const qe=N[J];delete N[J],N[J]=qe}}),er(()=>vn(N,H,le))}ye()}})(this))}disconnectedCallback(){re.jmp(()=>(N=>{if(0==(1&re.$flags$)){const H=_n(this),le=H.$lazyInstance$;H.$rmListeners$&&(H.$rmListeners$.map(ye=>ye()),H.$rmListeners$=void 0),bn(le,"disconnectedCallback")}})())}componentOnReady(){return _n(this).$onReadyPromise$}};Er.$lazyBundleId$=An[0],!U.includes(Fr)&&!J.get(Fr)&&(ye.push(Fr),J.define(Fr,Ut(Pr,Er,1)))})}),We.innerHTML=ye+"{visibility:hidden}.hydrated{visibility:inherit}",We.setAttribute("data-styles",""),de.insertBefore(We,qe?qe.nextSibling:de.firstChild),Bt=!1,Xe.length?Xe.map(An=>An.connectedCallback()):re.jmp(()=>Tt=setTimeout(pn,30))},Tn=N=>{const H=new URL(N,re.$resourcesUrl$);return H.origin!==_e.location.origin?H.href:H.pathname},Qn=new WeakMap,_n=N=>Qn.get(N),Hn=(N,H)=>Qn.set(H.$lazyInstance$=N,H),gn=(N,H)=>{const le={$flags$:0,$hostElement$:N,$cmpMeta$:H,$instanceValues$:new Map};return le.$onInstancePromise$=new Promise(ye=>le.$onInstanceResolve$=ye),le.$onReadyPromise$=new Promise(ye=>le.$onReadyResolve$=ye),N["s-p"]=[],N["s-rc"]=[],Ie(N,le,H.$listeners$),Qn.set(N,le)},br=(N,H)=>H in N,wn=(N,H)=>(0,console.error)(N,H),ut=new Map,Rt=(N,H,le)=>{const ye=N.$tagName$.replace(/-/g,"_"),U=N.$lazyBundleId$,J=ut.get(U);return J?J[ye]:F(863)(`./${U}.entry.js`).then(de=>(ut.set(U,de),de[ye]),wn)},qt=new Map,In=[],Wn=[],Dn=[],hr=(N,H)=>le=>{N.push(le),Pe||(Pe=!0,H&&4&re.$flags$?er(ur):re.raf(ur))},an=N=>{for(let H=0;H<N.length;
1H++)try{N[H](performance.now())}catch(le){wn(le)}N.length=0},ur=()=>{an(Wn),an(Dn),(Pe=Wn.length>0)&&re.raf(ur)},er=N=>Q().then(N),Mt=hr(Wn,!1),Un=hr(Dn,!0),or={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},97:(vt,Ve,F)=>{"use strict";F.d(Ve,{m:()=>_e});var i=F(5861),Y=F(7593),X=F(3756),ge=F(5729),te=F(9442);const Fe=je=>(0,te.c)().duration(je?400:300),fe=je=>{let re,pe;const Te=je.width+8,Q=(0,te.c)(),ie=(0,te.c)();je.isEndSide?(re=Te+"px",pe="0px"):(re=-Te+"px",pe="0px"),Q.addElement(je.menuInnerEl).fromTo("transform",`translateX(${re})`,`translateX(${pe})`);const Ke="ios"===(0,ge.b)(je),Re=Ke?.2:.25;return ie.addElement(je.backdropEl).fromTo("opacity",.01,Re),Fe(Ke).addAnimation([Q,ie])},$e=je=>{let re,pe;const Te=(0,ge.b)(je),Q=je.width;je.isEndSide?(re=-Q+"px",pe=Q+"px"):(re=Q+"px",pe=-Q+"px");const ie=(0,te.c)().addElement(je.menuInnerEl).fromTo("transform",`translateX(${pe})`,"translateX(0px)"),Ie=(0,te.c)().addElement(je.contentEl).fromTo("transform","translateX(0px)",`translateX(${re})`),Ke=(0,te.c)().addElement(je.backdropEl).fromTo("opacity",.01,.32);return Fe("ios"===Te).addAnimation([ie,Ie,Ke])},Me=je=>{const re=(0,ge.b)(je),pe=je.width*(je.isEndSide?-1:1)+"px",Te=(0,te.c)().addElement(je.contentEl).fromTo("transform","translateX(0px)",`translateX(${pe})`);return Fe("ios"===re).addAnimation(Te)},_e=(()=>{const je=new Map,re=[],pe=function(){var me=(0,i.Z)(function*(Ee){const ae=yield Ue(Ee);return!!ae&&ae.open()});return function(ae){return me.apply(this,arguments)}}(),Te=function(){var me=(0,i.Z)(function*(Ee){const ae=yield void 0!==Ee?Ue(Ee):we();return void 0!==ae&&ae.close()});return function(ae){return me.apply(this,arguments)}}(),Q=function(){var me=(0,i.Z)(function*(Ee){const ae=yield Ue(Ee);return!!ae&&ae.toggle()});return function(ae){return me.apply(this,arguments)}}(),ie=function(){var me=(0,i.Z)(function*(Ee,ae){const ve=yield Ue(ae);return ve&&(ve.disabled=!Ee),ve});return function(ae,ve){return me.apply(this,arguments)}}(),Ie=function(){var me=(0,i.Z)(function*(Ee,ae){const ve=yield Ue(ae);return ve&&(ve.swipeGesture=Ee),ve});return function(ae,ve){return me.apply(this,arguments)}}(),Ke=function(){var me=(0,i.Z)(function*(Ee){if(null!=Ee){const ae=yield Ue(Ee);return void 0!==ae&&ae.isOpen()}return void 0!==(yield we())});return function(ae){return me.apply(this,arguments)}}(),Re=function(){var me=(0,i.Z)(function*(Ee){const ae=yield Ue(Ee);return!!ae&&!ae.disabled});return function(ae){return me.apply(this,arguments)}}(),Ue=function(){var me=(0,i.Z)(function*(Ee){return yield ee(),"start"===Ee||"end"===Ee?Je(ke=>ke.side===Ee&&!ke.disabled)||Je(ke=>ke.side===Ee):null!=Ee?Je(ve=>ve.menuId===Ee):Je(ve=>!ve.disabled)||(re.length>0?re[0].el:void 0)});return function(ae){return me.apply(this,arguments)}}(),we=function(){var me=(0,i.Z)(function*(){return yield ee(),K()});return function(){return me.apply(this,arguments)}}(),He=function(){var me=(0,i.Z)(function*(){return yield ee(),q()});return function(){return me.apply(this,arguments)}}(),Oe=function(){var me=(0,i.Z)(function*(){return yield ee(),Ce()});return function(){return me.apply(this,arguments)}}(),be=(me,Ee)=>{je.set(me,Ee)},B=me=>{const Ee=me.side;re.filter(ae=>ae.side===Ee&&ae!==me).forEach(ae=>ae.disabled=!0)},L=function(){var me=(0,i.Z)(function*(Ee,ae,ve){if(Ce())return!1;if(ae){const ke=yield we();ke&&Ee.el!==ke&&(yield ke.setOpen(!1,!1))}return Ee._setOpen(ae,ve)});return function(ae,ve,ke){return me.apply(this,arguments)}}(),K=()=>Je(me=>me._isOpen),q=()=>re.map(me=>me.el),Ce=()=>re.some(me=>me.isAnimating),Je=me=>{const Ee=re.find(me);if(void 0!==Ee)return Ee.el},ee=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(me=>new Promise(Ee=>(0,X.c)(me,Ee))));return be("reveal",Me),be("push",$e),be("overlay",fe),"undefined"!=typeof document&&document.addEventListener("ionBackButton",me=>{const Ee=K();Ee&&me.detail.register(Y.MENU_BACK_BUTTON_PRIORITY,()=>Ee.close())}),{registerAnimation:be,get:Ue,getMenus:He,getOpen:we,isEnabled:Re,swipeGesture:Ie,isAnimating:Oe,isOpen:Ke,enable:ie,toggle:Q,close:Te,open:pe,_getOpenSync:K,_createAnimation:(me,Ee)=>{const ae=je.get(me);if(!ae)throw new Error("animation not registered");return ae(Ee)},_register:me=>{re.indexOf(me)<0&&(me.disabled||B(me),re.push(me))},_unregister:me=>{const Ee=re.indexOf(me);Ee>-1&&re.splice(Ee,1)},_setOpen:L,_setActiveMenu:B}})()},5729:(vt,Ve,F)=>{"use strict";F.d(Ve,{a:()=>_e,b:()=>Ce,c:()=>X,g:()=>Pe,i:()=>Je});var i=F(7205);class Y{constructor(){this.m=new Map}reset(me){this.m=new Map(Object.entries(me))}get(me,Ee){const ae=this.m.get(me);return void 0!==ae?ae:Ee}getBoolean(me,Ee=!1){const ae=this.m.get(me);return void 0===ae?Ee:"string"==typeof ae?"true"===ae:!!ae}getNumber(me,Ee){const ae=parseFloat(this.m.get(me));return isNaN(ae)?void 0!==Ee?Ee:NaN:ae}set(me,Ee){this.m.set(me,Ee)}}const X=new Y,Me="ionic-persist-config",Pe=ee=>je(ee),_e=(ee,me)=>("string"==typeof ee&&(me=ee,ee=void 0),Pe(ee).includes(me)),je=(ee=window)=>
1{if(void 0===ee)return[];ee.Ionic=ee.Ionic||{};let me=ee.Ionic.platforms;return null==me&&(me=ee.Ionic.platforms=re(ee),me.forEach(Ee=>ee.document.documentElement.classList.add(`plt-${Ee}`))),me},re=ee=>{const me=X.get("platform");return Object.keys(K).filter(Ee=>{const ae=null==me?void 0:me[Ee];return"function"==typeof ae?ae(ee):K[Ee](ee)})},Te=ee=>!!(L(ee,/iPad/i)||L(ee,/Macintosh/i)&&we(ee)),Ie=ee=>L(ee,/android|sink/i),we=ee=>$(ee,"(any-pointer:coarse)"),Oe=ee=>be(ee)||Ne(ee),be=ee=>!!(ee.cordova||ee.phonegap||ee.PhoneGap),Ne=ee=>{const me=ee.Capacitor;return!!(null==me?void 0:me.isNative)},L=(ee,me)=>me.test(ee.navigator.userAgent),$=(ee,me)=>{var Ee;return null===(Ee=ee.matchMedia)||void 0===Ee?void 0:Ee.call(ee,me).matches},K={ipad:Te,iphone:ee=>L(ee,/iPhone/i),ios:ee=>L(ee,/iPhone|iPod/i)||Te(ee),android:Ie,phablet:ee=>{const me=ee.innerWidth,Ee=ee.innerHeight,ae=Math.min(me,Ee),ve=Math.max(me,Ee);return ae>390&&ae<520&&ve>620&&ve<800},tablet:ee=>{const me=ee.innerWidth,Ee=ee.innerHeight,ae=Math.min(me,Ee),ve=Math.max(me,Ee);return Te(ee)||(ee=>Ie(ee)&&!L(ee,/mobile/i))(ee)||ae>460&&ae<820&&ve>780&&ve<1400},cordova:be,capacitor:Ne,electron:ee=>L(ee,/electron/i),pwa:ee=>{var me;return!(!(null===(me=ee.matchMedia)||void 0===me?void 0:me.call(ee,"(display-mode: standalone)").matches)&&!ee.navigator.standalone)},mobile:we,mobileweb:ee=>we(ee)&&!Oe(ee),desktop:ee=>!we(ee),hybrid:Oe};let q;const Ce=ee=>ee&&(0,i.g)(ee)||q,Je=(ee={})=>{if("undefined"==typeof window)return;const me=window.document,Ee=window,ae=Ee.Ionic=Ee.Ionic||{},ve={};ee._ael&&(ve.ael=ee._ael),ee._rel&&(ve.rel=ee._rel),ee._ce&&(ve.ce=ee._ce),(0,i.s)(ve);const ke=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(ee=>{try{const me=ee.sessionStorage.getItem(Me);return null!==me?JSON.parse(me):{}}catch(me){return{}}})(Ee)),{persistConfig:!1}),ae.config),(ee=>{const me={};return ee.location.search.slice(1).split("&").map(Ee=>Ee.split("=")).map(([Ee,ae])=>[decodeURIComponent(Ee),decodeURIComponent(ae)]).filter(([Ee])=>((ee,me)=>ee.substr(0,me.length)===me)(Ee,"ionic:")).map(([Ee,ae])=>[Ee.slice("ionic:".length),ae]).forEach(([Ee,ae])=>{me[Ee]=ae}),me})(Ee)),ee);X.reset(ke),X.getBoolean("persistConfig")&&((ee,me)=>{try{ee.sessionStorage.setItem(Me,JSON.stringify(me))}catch(Ee){return}})(Ee,ke),je(Ee),ae.config=X,ae.mode=q=X.get("mode",me.documentElement.getAttribute("mode")||(_e(Ee,"ios")?"ios":"md")),X.set("mode",q),me.documentElement.setAttribute("mode",q),me.documentElement.classList.add(q),X.getBoolean("_testing")&&X.set("animated",!1);const ze=st=>{var _t;return null===(_t=st.tagName)||void 0===_t?void 0:_t.startsWith("ION-")},ot=st=>["ios","md"].includes(st);(0,i.a)(st=>{for(;st;){const _t=st.mode||st.getAttribute("mode");if(_t){if(ot(_t))return _t;ze(st)&&console.warn('Invalid ionic mode: "'+_t+'", expected: "ios" or "md"')}st=st.parentElement}return q})}},4181:(vt,Ve,F)=>{"use strict";F.r(Ve),F.d(Ve,{iosTransitionAnimation:()=>je,shadow:()=>Fe});var i=F(9442),Y=F(9753);F(7205);const te=re=>document.querySelector(`${re}.ion-cloned-element`),Fe=re=>re.shadowRoot||re,fe=re=>{const pe="ION-TABS"===re.tagName?re:re.querySelector("ion-tabs"),Te="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=pe){const Q=pe.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=Q?Q.querySelector(Te):null}return re.querySelector(Te)},$e=(re,pe)=>{const Te="ION-TABS"===re.tagName?re:re.querySelector("ion-tabs");let Q=[];if(null!=Te){const ie=Te.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=ie&&(Q=ie.querySelectorAll("ion-buttons"))}else Q=re.querySelectorAll("ion-buttons");for(const ie of Q){const Ie=ie.closest("ion-header"),Ke=Ie&&!Ie.classList.contains("header-collapse-condense-inactive"),Re=ie.querySelector("ion-back-button"),Ue=ie.classList.contains("buttons-collapse"),we="start"===ie.slot||""===ie.slot;if(null!==Re&&we&&(Ue&&Ke&&pe||!Ue))return Re}return null},Pe=(re,pe,Te,Q,ie,Ie)=>{const Ke=pe?`calc(100% - ${Ie.right+4}px)`:Ie.left-4+"px",Re=pe?"7px":"-7px",Ue=pe?"-4px":"4px",we=pe?"-4px":"4px",He=pe?"right":"left",Oe=pe?"left"
1:"right",oe=Te?[{offset:0,opacity:1,transform:`translate3d(${Ue}, ${Ie.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${Re}, ${ie.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${Re}, ${ie.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${Ue}, ${Ie.top-46}px, 0) scale(1)`}],$=Te?[{offset:0,opacity:1,transform:`translate3d(${we}, ${Ie.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${we}, ${Ie.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${we}, ${Ie.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${we}, ${Ie.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${we}, ${Ie.top-46}px, 0) scale(1)`}],K=(0,i.c)(),q=(0,i.c)(),Ce=te("ion-back-button"),Je=Fe(Ce).querySelector(".button-text"),ee=Fe(Ce).querySelector("ion-icon");Ce.text=Q.text,Ce.mode=Q.mode,Ce.icon=Q.icon,Ce.color=Q.color,Ce.disabled=Q.disabled,Ce.style.setProperty("display","block"),Ce.style.setProperty("position","fixed"),q.addElement(ee),K.addElement(Je),K.beforeStyles({"transform-origin":`${He} center`}).beforeAddWrite(()=>{Q.style.setProperty("display","none"),Ce.style.setProperty(He,Ke)}).afterAddWrite(()=>{Q.style.setProperty("display",""),Ce.style.setProperty("display","none"),Ce.style.removeProperty(He)}).keyframes(oe),q.beforeStyles({"transform-origin":`${Oe} center`}).keyframes($),re.addAnimation([K,q])},_e=(re,pe,Te,Q,ie,Ie)=>{const Ke=pe?`calc(100% - ${ie.right}px)`:`${ie.left}px`,Re=pe?"-18px":"18px",Ue=pe?"right":"left",Oe=Te?[{offset:0,opacity:0,transform:`translate3d(${Re}, ${Ie.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${ie.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${ie.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${Re}, ${Ie.top-4}px, 0) scale(0.5)`}],be=te("ion-title"),Ne=(0,i.c)();be.innerText=Q.innerText,be.size=Q.size,be.color=Q.color,Ne.addElement(be),Ne.beforeStyles({"transform-origin":`${Ue} center`,height:"46px",display:"",position:"relative",[Ue]:Ke}).beforeAddWrite(()=>{Q.style.setProperty("display","none")}).afterAddWrite(()=>{Q.style.setProperty("display",""),be.style.setProperty("display","none")}).keyframes(Oe),re.addAnimation(Ne)},je=(re,pe)=>{try{const Te="cubic-bezier(0.32,0.72,0,1)",Q="opacity",ie="transform",Ie="0%",Ke=.8,Re="rtl"===re.ownerDocument.dir,Ue=Re?"-99.5%":"99.5%",we=Re?"33%":"-33%",He=pe.enteringEl,Oe=pe.leavingEl,be="back"===pe.direction,Ne=He.querySelector(":scope > ion-content"),oe=He.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),B=He.querySelectorAll(":scope > ion-header > ion-toolbar"),L=(0,i.c)(),$=(0,i.c)();if(L.addElement(He).duration(pe.duration||540).easing(pe.easing||Te).fill("both").beforeRemoveClass("ion-page-invisible"),Oe&&re){const Je=(0,i.c)();Je.addElement(re),L.addAnimation(Je)}if(Ne||0!==B.length||0!==oe.length?($.addElement(Ne),$.addElement(oe)):$.addElement(He.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),L.addAnimation($),be?$.beforeClearStyles([Q]).fromTo("transform",`translateX(${we})`,`translateX(${Ie})`).fromTo(Q,Ke,1):$.beforeClearStyles([Q]).fromTo("transform",`translateX(${Ue})`,`translateX(${Ie})`),Ne){const Je=Fe(Ne).querySelector(".transition-effect");if(Je){const ee=Je.querySelector(".transition-cover"),me=Je.querySelector(".transition-shadow"),Ee=(0,i.c)(),ae=(0,i.c)(),ve=(0,i.c)();Ee.addElement(Je).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ae.addElement(ee).beforeClearStyles([Q]).fromTo(Q,0,.1),ve.addElement(me).beforeClearStyles([Q]).fromTo(Q,.03,.7),Ee.addAnimation([ae,ve]),$.addAnimation([Ee])}}const K=He.querySelector("ion-header.header-collapse-condense"),{forward:q,backward:Ce}=((re,pe,Te,Q,ie)=>{const Ie=$e(Q,Te),Ke=fe(ie),Re=fe(Q),Ue=$e(ie,Te),we=null!==Ie&&null!==Ke&&!Te,He=null!==Re&&null!==Ue&&Te;if(we){const Oe=Ke.getBoundingClientRect(),be=Ie.getBoundingClientRect();_e(re,pe,Te,Ke,Oe,be),Pe(re,pe,Te,Ie,Oe,be)}else if(He){const Oe=Re.getBoundingClientRect(),be=Ue.getBoundingClientRect();_e(re,pe,Te,Re,Oe,be),Pe(re,pe,Te,Ue,Oe,be)}return{forward:we,backward:He}})(L,Re,be,He,Oe);
1if(B.forEach(Je=>{const ee=(0,i.c)();ee.addElement(Je),L.addAnimation(ee);const me=(0,i.c)();me.addElement(Je.querySelector("ion-title"));const Ee=(0,i.c)(),ae=Array.from(Je.querySelectorAll("ion-buttons,[menuToggle]")),ve=Je.closest("ion-header"),ke=null==ve?void 0:ve.classList.contains("header-collapse-condense-inactive");let ze;ze=ae.filter(be?Et=>{const Jt=Et.classList.contains("buttons-collapse");return Jt&&!ke||!Jt}:Et=>!Et.classList.contains("buttons-collapse")),Ee.addElement(ze);const ot=(0,i.c)();ot.addElement(Je.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const st=(0,i.c)();st.addElement(Fe(Je).querySelector(".toolbar-background"));const _t=(0,i.c)(),Vt=Je.querySelector("ion-back-button");if(Vt&&_t.addElement(Vt),ee.addAnimation([me,Ee,ot,st,_t]),Ee.fromTo(Q,.01,1),ot.fromTo(Q,.01,1),be)ke||me.fromTo("transform",`translateX(${we})`,`translateX(${Ie})`).fromTo(Q,.01,1),ot.fromTo("transform",`translateX(${we})`,`translateX(${Ie})`),_t.fromTo(Q,.01,1);else if(K||me.fromTo("transform",`translateX(${Ue})`,`translateX(${Ie})`).fromTo(Q,.01,1),ot.fromTo("transform",`translateX(${Ue})`,`translateX(${Ie})`),st.beforeClearStyles([Q,"transform"]),(null==ve?void 0:ve.translucent)?st.fromTo("transform",Re?"translateX(-100%)":"translateX(100%)","translateX(0px)"):st.fromTo(Q,.01,"var(--opacity)"),q||_t.fromTo(Q,.01,1),Vt&&!q){const Jt=(0,i.c)();Jt.addElement(Fe(Vt).querySelector(".button-text")).fromTo("transform",Re?"translateX(-100px)":"translateX(100px)","translateX(0px)"),ee.addAnimation(Jt)}}),Oe){const Je=(0,i.c)(),ee=Oe.querySelector(":scope > ion-content"),me=Oe.querySelectorAll(":scope > ion-header > ion-toolbar"),Ee=Oe.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(ee||0!==me.length||0!==Ee.length?(Je.addElement(ee),Je.addElement(Ee)):Je.addElement(Oe.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),L.addAnimation(Je),be){Je.beforeClearStyles([Q]).fromTo("transform",`translateX(${Ie})`,Re?"translateX(-100%)":"translateX(100%)");const ae=(0,Y.g)(Oe);L.afterAddWrite(()=>{"normal"===L.getDirection()&&ae.style.setProperty("display","none")})}else Je.fromTo("transform",`translateX(${Ie})`,`translateX(${we})`).fromTo(Q,1,Ke);if(ee){const ae=Fe(ee).querySelector(".transition-effect");
1if(ae){const ve=ae.querySelector(".transition-cover"),ke=ae.querySelector(".transition-shadow"),ze=(0,i.c)(),ot=(0,i.c)(),st=(0,i.c)();ze.addElement(ae).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ot.addElement(ve).beforeClearStyles([Q]).fromTo(Q,.1,0),st.addElement(ke).beforeClearStyles([Q]).fromTo(Q,.7,.03),ze.addAnimation([ot,st]),Je.addAnimation([ze])}}me.forEach(ae=>{const ve=(0,i.c)();ve.addElement(ae);const ke=(0,i.c)();ke.addElement(ae.querySelector("ion-title"));const ze=(0,i.c)(),ot=ae.querySelectorAll("ion-buttons,[menuToggle]"),st=ae.closest("ion-header"),_t=null==st?void 0:st.classList.contains("header-collapse-condense-inactive"),Vt=Array.from(ot).filter($n=>{const Vn=$n.classList.contains("buttons-collapse");return Vn&&!_t||!Vn});ze.addElement(Vt);const Et=(0,i.c)(),Jt=ae.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Jt.length>0&&Et.addElement(Jt);const Ot=(0,i.c)();Ot.addElement(Fe(ae).querySelector(".toolbar-background"));const nn=(0,i.c)(),Pn=ae.querySelector("ion-back-button");if(Pn&&nn.addElement(Pn),ve.addAnimation([ke,ze,Et,nn,Ot]),L.addAnimation(ve),nn.fromTo(Q,.99,0),ze.fromTo(Q,.99,0),Et.fromTo(Q,.99,0),be){if(_t||ke.fromTo("transform",`translateX(${Ie})`,Re?"translateX(-100%)":"translateX(100%)").fromTo(Q,.99,0),Et.fromTo("transform",`translateX(${Ie})`,Re?"translateX(-100%)":"translateX(100%)"),Ot.beforeClearStyles([Q,"transform"]),(null==st?void 0:st.translucent)?Ot.fromTo("transform","translateX(0px)",Re?"translateX(-100%)":"translateX(100%)"):Ot.fromTo(Q,"var(--opacity)",0),Pn&&!Ce){const Vn=(0,i.c)();Vn.addElement(Fe(Pn).querySelector(".button-text")).fromTo("transform",`translateX(${Ie})`,`translateX(${(Re?-124:124)+"px"})`),ve.addAnimation(Vn)}}else _t||ke.fromTo("transform",`translateX(${Ie})`,`translateX(${we})`).fromTo(Q,.99,0).afterClearStyles([ie,Q]),Et.fromTo("transform",`translateX(${Ie})`,`translateX(${we})`).afterClearStyles([ie,Q]),nn.afterClearStyles([Q]),ke.afterClearStyles([Q]),ze.afterClearStyles([Q])})}return L}catch(Te){throw Te}}},5980:(vt,Ve,F)=>{"use strict";F.r(Ve),F.d(Ve,{mdTransitionAnimation:()=>ge});var i=F(9442),Y=F(9753);F(7205);const ge=(te,Fe)=>{const Me="back"===Fe.direction,_e=Fe.leavingEl,je=(0,Y.g)(Fe.enteringEl),re=je.querySelector("ion-toolbar"),pe=(0,i.c)();if(pe.addElement(je).fill("both").beforeRemoveClass("ion-page-invisible"),Me?pe.duration(Fe.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):pe.duration(Fe.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),re){const Te=(0,i.c)();Te.addElement(re),pe.addAnimation(Te)}if(_e&&Me){pe.duration(Fe.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const Te=(0,i.c)();Te.addElement((0,Y.g)(_e)).onFinish(Q=>{1===Q&&Te.elements.length>0&&Te.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),pe.addAnimation(Te)}return pe}},3280:(vt,Ve,F)=>{"use strict";F.d(Ve,{B:()=>Ee,a:()=>$e,b:()=>Me,c:()=>re,d:()=>oe,e:()=>Te,f:()=>L,g:()=>q,h:()=>Fe,i:()=>Je,j:()=>Ie,k:()=>be,l:()=>Pe,m:()=>_e,s:()=>me,t:()=>pe});var i=F(5861),Y=F(5729),X=F(7593),ge=F(3756);let te=0;const Fe=new WeakMap,fe=ae=>({create:ve=>Q(ae,ve),dismiss:(ve,ke,ze)=>He(document,ve,ke,ae,ze),getTop:()=>(0,i.Z)(function*(){return be(document,ae)})()}),$e=fe("ion-alert"),Me=fe("ion-action-sheet"),Pe=fe("ion-loading"),_e=fe("ion-modal"),re=fe("ion-popover"),pe=fe("ion-toast"),Te=ae=>{"undefined"!=typeof document&&we(document);const ve=te++;ae.overlayIndex=ve,ae.hasAttribute("id")||(ae.id=`ion-overlay-${ve}`)},Q=(ae,ve)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(ae).then(()=>{const ke=document.createElement(ae);return ke.classList.add("overlay-hidden"),Object.assign(ke,Object.assign(Object.assign({},ve),{hasController:!0})),$(document).appendChild(ke),new Promise(ze=>(0,ge.c)(ke,ze))}):Promise.resolve(),ie='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',Ie=(ae,ve)=>{let ke=ae.querySelector(ie);const ze=null==ke?void 0:ke.shadowRoot;ze&&(ke=ze.querySelector(ie)||ke),ke?(0,ge.f)(ke):ve.focus()},Re=(ae,ve)=>{const ke=Array.from(ae.querySelectorAll(ie));let ze=ke.length>0?ke[ke.length-1]:null;const ot=null==ze?void 0:ze.shadowRoot;ot&&(ze=ot.querySelector(ie)||ze),ze?ze.focus():ve.focus()},we=ae=>{0===te&&(te=1,ae.addEventListener("focus",ve=>{((ae,ve)=>{const ke=be(ve,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),ze=ae.target;ke&&ze&&!ke.classList.contains("ion-disable-focus-trap")&&(ke.shadowRoot?(()=>{if(ke.contains(ze))ke.lastFocus=ze;else{const _t=ke.lastFocus;Ie(ke,ke),_t===ve.activeElement&&Re(ke,ke),ke.lastFocus=ve.activeElement}})():(()=>
1{if(ke===ze)ke.lastFocus=void 0;else{const _t=(0,ge.g)(ke);if(!_t.contains(ze))return;const Vt=_t.querySelector(".ion-overlay-wrapper");if(!Vt)return;if(Vt.contains(ze))ke.lastFocus=ze;else{const Et=ke.lastFocus;Ie(Vt,ke),Et===ve.activeElement&&Re(Vt,ke),ke.lastFocus=ve.activeElement}}})())})(ve,ae)},!0),ae.addEventListener("ionBackButton",ve=>{const ke=be(ae);(null==ke?void 0:ke.backdropDismiss)&&ve.detail.register(X.OVERLAY_BACK_BUTTON_PRIORITY,()=>ke.dismiss(void 0,Ee))}),ae.addEventListener("keyup",ve=>{if("Escape"===ve.key){const ke=be(ae);(null==ke?void 0:ke.backdropDismiss)&&ke.dismiss(void 0,Ee)}}))},He=(ae,ve,ke,ze,ot)=>{const st=be(ae,ze,ot);return st?st.dismiss(ve,ke):Promise.reject("overlay does not exist")},be=(ae,ve,ke)=>{const ze=((ae,ve)=>(void 0===ve&&(ve="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(ae.querySelectorAll(ve)).filter(ke=>ke.overlayIndex>0)))(ae,ve).filter(ot=>!(ae=>ae.classList.contains("overlay-hidden"))(ot));return void 0===ke?ze[ze.length-1]:ze.find(ot=>ot.id===ke)},Ne=(ae=!1)=>{const ke=$(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");!ke||(ae?ke.setAttribute("aria-hidden","true"):ke.removeAttribute("aria-hidden"))},oe=function(){var ae=(0,i.Z)(function*(ve,ke,ze,ot,st){var _t,Vt;if(ve.presented)return;Ne(!0),ve.presented=!0,ve.willPresent.emit(),null===(_t=ve.willPresentShorthand)||void 0===_t||_t.emit();const Et=(0,Y.b)(ve),Jt=ve.enterAnimation?ve.enterAnimation:Y.c.get(ke,"ios"===Et?ze:ot);(yield K(ve,Jt,ve.el,st))&&(ve.didPresent.emit(),null===(Vt=ve.didPresentShorthand)||void 0===Vt||Vt.emit()),"ION-TOAST"!==ve.el.tagName&&B(ve.el),ve.keyboardClose&&(null===document.activeElement||!ve.el.contains(document.activeElement))&&ve.el.focus()});return function(ke,ze,ot,st,_t){return ae.apply(this,arguments)}}(),B=function(){var ae=(0,i.Z)(function*(ve){let ke=document.activeElement;if(!ke)return;const ze=null==ke?void 0:ke.shadowRoot;ze&&(ke=ze.querySelector(ie)||ke),yield ve.onDidDismiss(),ke.focus()});return function(ke){return ae.apply(this,arguments)}}(),L=function(){var ae=(0,i.Z)(function*(ve,ke,ze,ot,st,_t,Vt){var Et,Jt;if(!ve.presented)return!1;Ne(!1),ve.presented=!1;try{ve.el.style.setProperty("pointer-events","none"),ve.willDismiss.emit({data:ke,role:ze}),null===(Et=ve.willDismissShorthand)||void 0===Et||Et.emit({data:ke,role:ze});const Ot=(0,Y.b)(ve),nn=ve.leaveAnimation?ve.leaveAnimation:Y.c.get(ot,"ios"===Ot?st:_t);"gesture"!==ze&&(yield K(ve,nn,ve.el,Vt)),ve.didDismiss.emit({data:ke,role:ze}),null===(Jt=ve.didDismissShorthand)||void 0===Jt||Jt.emit({data:ke,role:ze}),Fe.delete(ve),ve.el.classList.add("overlay-hidden"),ve.el.style.removeProperty("pointer-events")}catch(Ot){console.error(Ot)}return ve.el.remove(),!0});return function(ke,ze,ot,st,_t,Vt,Et){return ae.apply(this,arguments)}}(),$=ae=>ae.querySelector("ion-app")||ae.body,K=function(){var ae=(0,i.Z)(function*(ve,ke,ze,ot){ze.classList.remove("overlay-hidden");const _t=ke(ve.el,ot);(!ve.animated||!Y.c.getBoolean("animated",!0))&&_t.duration(0),ve.keyboardClose&&_t.beforeAddWrite(()=>{const Et=ze.ownerDocument.activeElement;(null==Et?void 0:Et.matches("input,ion-input, ion-textarea"))&&Et.blur()});const Vt=Fe.get(ve)||[];return Fe.set(ve,[...Vt,_t]),yield _t.play(),!0});return function(ke,ze,ot,st){return ae.apply(this,arguments)}}(),q=(ae,ve)=>{let ke;const ze=new Promise(ot=>ke=ot);return Ce(ae,ve,ot=>{ke(ot.detail)}),ze},Ce=(ae,ve,ke)=>{const ze=ot=>{(0,ge.b)(ae,ve,ze),ke(ot)};(0,ge.a)(ae,ve,ze)},Je=ae=>"cancel"===ae||ae===Ee,ee=ae=>ae(),me=(ae,ve)=>{if("function"==typeof ae)return Y.c.get("_zoneGate",ee)(()=>{try{return ae(ve)}catch(ze){throw ze}})},Ee="backdrop"},2635:(vt,Ve,F)=>{"use strict";F.d(Ve,{g:()=>Y});var i=F(9646);class Y{constructor(){this.routes={}}preload(ge,te){return ge.data&&ge.data.name&&(this.routes[ge.data.name]={route:ge,load:te}),(0,i.of)(null)}preLoadRoute(ge){const te=this.routes[ge];te&&te.load()}}},6576:(vt,Ve,F)=>{"use strict";F.d(Ve,{n:()=>Y});var i=F(4893);let Y=(()=>{class X{constructor(){}startTrackerWithId(te){ga("create",{storage:"none",trackingId:te,clientId:localStorage.getItem("ga:clientId")}),ga("set","checkProtocolTask",null),ga("set","transportUrl","https://www.google-analytics.com/collect"),ga(function(Fe){localStorage.getItem("ga:clientId")||localStorage.setItem("ga:clientId",Fe.get("
1clientId"))})}trackView(te){ga("set","page",te),ga("send","pageview")}trackEvent(te,Fe,fe,$e){ga("send","event",{eventCategory:te,eventLabel:fe,eventAction:Fe,eventValue:$e})}}return X.\u0275fac=function(te){return new(te||X)},X.\u0275prov=i.Yz7({token:X,factory:X.\u0275fac}),X})()},414:(vt,Ve,F)=>{"use strict";F.d(Ve,{b:()=>k});var i=F(2313),Y=F(8167),X=F(2346),ge=F(520),te=F(4893);class Fe{}const $e="*";function je(h,s=null){return{type:2,steps:h,options:s}}function re(h){return{type:6,styles:h,offset:null}}function we(h){Promise.resolve(null).then(h)}class He{constructor(s=0,l=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=s+l}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}onStart(s){this._onStartFns.push(s)}onDone(s){this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){we(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(s=>s()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(s){this._position=this.totalTime?s*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(s){const l="start"==s?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}}class Oe{constructor(s){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=s;let l=0,p=0,I=0;const P=this.players.length;0==P?we(()=>this._onFinish()):this.players.forEach(z=>{z.onDone(()=>{++l==P&&this._onFinish()}),z.onDestroy(()=>{++p==P&&this._onDestroy()}),z.onStart(()=>{++I==P&&this._onStart()})}),this.totalTime=this.players.reduce((z,Z)=>Math.max(z,Z.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this.players.forEach(s=>s.init())}onStart(s){this._onStartFns.push(s)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(s=>s()),this._onStartFns=[])}onDone(s){this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(s=>s.play())}pause(){this.players.forEach(s=>s.pause())}restart(){this.players.forEach(s=>s.restart())}finish(){this._onFinish(),this.players.forEach(s=>s.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(s=>s.destroy()),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}reset(){this.players.forEach(s=>s.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(s){const l=s*this.totalTime;this.players.forEach(p=>{const I=p.totalTime?Math.min(1,l/p.totalTime):1;p.setPosition(I)})}getPosition(){const s=this.players.reduce((l,p)=>null===l||p.totalTime>l.totalTime?p:l,null);return null!=s?s.getPosition():0}beforeDestroy(){this.players.forEach(s=>{s.beforeDestroy&&s.beforeDestroy()})}triggerCallback(s){const l="start"==s?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}}function Ne(){return"undefined"!=typeof window&&void 0!==window.document}function oe(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function B(h){switch(h.length){case 0:return new He;case 1:return h[0];default:return new Oe(h)}}function L(h,s,l,p,I={},P={}){const z=[],Z=[];let Se=-1,Ye=null;if(p.forEach(at=>{const Ct=at.offset,zt=Ct==Se,Yt=zt&&Ye||{};Object.keys(at).forEach(It=>{let kt=It,sn=at[It];if("offset"!==It)switch(kt=s.normalizePropertyName(kt,z),sn){case"!":sn=I[It];break;case $e:sn=P[It];break;default:sn=s.normalizeStyleValue(It,kt,sn,z)}Yt[kt]=sn}),zt||Z.push(Yt),Ye=Yt,Se=Ct}),z.length){const at="\n - ";throw new Error(`Unable to animate due to the following errors:${at}${z.join(at)}`)}return Z}function $(h,s,l,p){switch(s){case"start":h.onStart(()=>p(l&&K(l,"start",h)));break;case"done":h.onDone(()=>p(l&&K(l,"done",h)));break;
1case"destroy":h.onDestroy(()=>p(l&&K(l,"destroy",h)))}}function K(h,s,l){const p=l.totalTime,P=q(h.element,h.triggerName,h.fromState,h.toState,s||h.phaseName,null==p?h.totalTime:p,!!l.disabled),z=h._data;return null!=z&&(P._data=z),P}function q(h,s,l,p,I="",P=0,z){return{element:h,triggerName:s,fromState:l,toState:p,phaseName:I,totalTime:P,disabled:!!z}}function Ce(h,s,l){let p;return h instanceof Map?(p=h.get(s),p||h.set(s,p=l)):(p=h[s],p||(p=h[s]=l)),p}function Je(h){const s=h.indexOf(":");return[h.substring(1,s),h.substr(s+1)]}let ee=(h,s)=>!1,me=(h,s,l)=>[];(oe()||"undefined"!=typeof Element)&&(ee=Ne()?(h,s)=>{for(;s&&s!==document.documentElement;){if(s===h)return!0;s=s.parentNode||s.host}return!1}:(h,s)=>h.contains(s),me=(h,s,l)=>{if(l)return Array.from(h.querySelectorAll(s));const p=h.querySelector(s);return p?[p]:[]});let ve=null,ke=!1;function ze(h){ve||(ve=function ot(){return"undefined"!=typeof document?document.body:null}()||{},ke=!!ve.style&&"WebkitAppearance"in ve.style);let s=!0;return ve.style&&!function ae(h){return"ebkit"==h.substring(1,6)}(h)&&(s=h in ve.style,!s&&ke&&(s="Webkit"+h.charAt(0).toUpperCase()+h.substr(1)in ve.style)),s}const st=ee,_t=me;function Vt(h){const s={};return Object.keys(h).forEach(l=>{const p=l.replace(/([a-z])([A-Z])/g,"$1-$2");s[p]=h[l]}),s}let Et=(()=>{class h{validateStyleProperty(l){return ze(l)}matchesElement(l,p){return!1}containsElement(l,p){return st(l,p)}query(l,p,I){return _t(l,p,I)}computeStyle(l,p,I){return I||""}animate(l,p,I,P,z,Z=[],Se){return new He(I,P)}}return h.\u0275fac=function(l){return new(l||h)},h.\u0275prov=te.Yz7({token:h,factory:h.\u0275fac}),h})(),Jt=(()=>{class h{}return h.NOOP=new Et,h})();const $n="ng-enter",Vn="ng-leave",cr="ng-trigger",Jn=".ng-trigger",Dt="ng-animating",fn=".ng-animating";function it(h){if("number"==typeof h)return h;const s=h.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:xe(parseFloat(s[1]),s[2])}function xe(h,s){return"s"===s?1e3*h:h}function ue(h,s,l){return h.hasOwnProperty("duration")?h:function he(h,s,l){let I,P=0,z="";if("string"==typeof h){const Z=h.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Z)return s.push(`The provided timing value "${h}" is invalid.`),{duration:0,delay:0,easing:""};I=xe(parseFloat(Z[1]),Z[2]);const Se=Z[3];null!=Se&&(P=xe(parseFloat(Se),Z[4]));const Ye=Z[5];Ye&&(z=Ye)}else I=h;if(!l){let Z=!1,Se=s.length;I<0&&(s.push("Duration values below 0 are not allowed for this animation step."),Z=!0),P<0&&(s.push("Delay values below 0 are not allowed for this animation step."),Z=!0),Z&&s.splice(Se,0,`The provided timing value "${h}" is invalid.`)}return{duration:I,delay:P,easing:z}}(h,s,l)}function et(h,s={}){return Object.keys(h).forEach(l=>{s[l]=h[l]}),s}function Qe(h,s,l={}){if(s)for(let p in h)l[p]=h[p];else et(h,l);return l}function ct(h,s,l){return l?s+":"+l+";":""}function dt(h){let s="";for(let l=0;l<h.style.length;l++){const p=h.style.item(l);s+=ct(0,p,h.style.getPropertyValue(p))}for(const l in h.style)h.style.hasOwnProperty(l)&&!l.startsWith("_")&&(s+=ct(0,Qt(l),h.style[l]));h.setAttribute("style",s)}function At(h,s,l){h.style&&(Object.keys(s).forEach(p=>{const I=On(p);l&&!l.hasOwnProperty(p)&&(l[p]=h.style[I]),h.style[I]=s[p]}),oe()&&dt(h))}function rn(h,s){h.style&&(Object.keys(s).forEach(l=>{const p=On(l);h.style[p]=""}),oe()&&dt(h))}function jt(h){return Array.isArray(h)?1==h.length?h[0]:je(h):h}const hn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pt(h){let s=[];if("string"==typeof h){let l;for(;l=hn.exec(h);)s.push(l[1]);hn.lastIndex=0}return s}function Ft(h,s,l){const p=h.toString(),I=p.replace(hn,(P,z)=>{let Z=s[z];return s.hasOwnProperty(z)||(l.push(`Please provide a value for the animation param ${z}`),Z=""),Z.toString()});return I==p?h:I}function Kt(h){const s=[];let l=h.next();for(;!l.done;)s.push(l.value),l=h.next();return s}const Xt=/-+([a-z0-9])/g;function On(h){return h.replace(Xt,(...s)=>s[1].toUpperCase())}function Qt(h){return h.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function xt(h,s){return 0===h||0===s}function Yn(h,s,l){const p=Object.keys(l);if(p.length&&s.length){let P=s[0],z=[];
1if(p.forEach(Z=>{P.hasOwnProperty(Z)||z.push(Z),P[Z]=l[Z]}),z.length)for(var I=1;I<s.length;I++){let Z=s[I];z.forEach(function(Se){Z[Se]=jn(h,Se)})}}return s}function Cn(h,s,l){switch(s.type){case 7:return h.visitTrigger(s,l);case 0:return h.visitState(s,l);case 1:return h.visitTransition(s,l);case 2:return h.visitSequence(s,l);case 3:return h.visitGroup(s,l);case 4:return h.visitAnimate(s,l);case 5:return h.visitKeyframes(s,l);case 6:return h.visitStyle(s,l);case 8:return h.visitReference(s,l);case 9:return h.visitAnimateChild(s,l);case 10:return h.visitAnimateRef(s,l);case 11:return h.visitQuery(s,l);case 12:return h.visitStagger(s,l);default:throw new Error(`Unable to resolve animation metadata node #${s.type}`)}}function jn(h,s){return window.getComputedStyle(h)[s]}function Rn(h,s){const l=[];return"string"==typeof h?h.split(/\s*,\s*/).forEach(p=>function pn(h,s,l){if(":"==h[0]){const Se=function bn(h,s){switch(h){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,p)=>parseFloat(p)>parseFloat(l);case":decrement":return(l,p)=>parseFloat(p)<parseFloat(l);default:return s.push(`The transition alias value "${h}" is not supported`),"* => *"}}(h,l);if("function"==typeof Se)return void s.push(Se);h=Se}const p=h.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return l.push(`The provided transition expression "${h}" is not supported`),s;const I=p[1],P=p[2],z=p[3];s.push(Le(I,z));"<"==P[0]&&!("*"==I&&"*"==z)&&s.push(Le(z,I))}(p,l,s)):l.push(h),l}const Nn=new Set(["true","1"]),yr=new Set(["false","0"]);function Le(h,s){const l=Nn.has(h)||yr.has(h),p=Nn.has(s)||yr.has(s);return(I,P)=>{let z="*"==h||h==I,Z="*"==s||s==P;return!z&&l&&"boolean"==typeof I&&(z=I?Nn.has(h):yr.has(h)),!Z&&p&&"boolean"==typeof P&&(Z=P?Nn.has(s):yr.has(s)),z&&Z}}const W=new RegExp("s*:selfs*,?","g");function Be(h,s,l){return new St(h).build(s,l)}class St{constructor(s){this._driver=s}build(s,l){const p=new en(l);return this._resetContextStyleTimingState(p),Cn(this,jt(s),p)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles={},s.collectedStyles[""]={},s.currentTime=0}visitTrigger(s,l){let p=l.queryCount=0,I=l.depCount=0;const P=[],z=[];return"@"==s.name.charAt(0)&&l.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),s.definitions.forEach(Z=>{if(this._resetContextStyleTimingState(l),0==Z.type){const Se=Z,Ye=Se.name;Ye.toString().split(/\s*,\s*/).forEach(at=>{Se.name=at,P.push(this.visitState(Se,l))}),Se.name=Ye}else if(1==Z.type){const Se=this.visitTransition(Z,l);p+=Se.queryCount,I+=Se.depCount,z.push(Se)}else l.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:s.name,states:P,transitions:z,queryCount:p,depCount:I,options:null}}visitState(s,l){const p=this.visitStyle(s.styles,l),I=s.options&&s.options.params||null;if(p.containsDynamicStyles){const P=new Set,z=I||{};if(p.styles.forEach(Z=>{if(Fn(Z)){const Se=Z;Object.keys(Se).forEach(Ye=>{Pt(Se[Ye]).forEach(at=>{z.hasOwnProperty(at)||P.add(at)})})}}),P.size){const Z=Kt(P.values());l.errors.push(`state("${s.name}", ...) must define default values for all the following style substitutions: ${Z.join(", ")}`)}}return{type:0,name:s.name,style:p,options:I?{params:I}:null}}visitTransition(s,l){l.queryCount=0,l.depCount=0;const p=Cn(this,jt(s.animation),l);return{type:1,matchers:Rn(s.expr,l.errors),animation:p,queryCount:l.queryCount,depCount:l.depCount,options:Xn(s.options)}}visitSequence(s,l){return{type:2,steps:s.steps.map(p=>Cn(this,p,l)),options:Xn(s.options)}}visitGroup(s,l){const p=l.currentTime;let I=0;const P=s.steps.map(z=>{l.currentTime=p;const Z=Cn(this,z,l);return I=Math.max(I,l.currentTime),Z});return l.currentTime=I,{type:3,steps:P,options:Xn(s.options)}}visitAnimate(s,l){const p=function kn(h,s){let l=null;if(h.hasOwnProperty("duration"))l=h;else if("number"==typeof h)return Tn(ue(h,s).duration,0,"");const p=h;if(p.split(/\s+/).some(P=>"{"==P.charAt(0)&&"{"==P.charAt(1))){const P=Tn(0,0,"");return P.dynamic=!0,P.strValue=p,P}return l=l||ue(p,s),Tn(l.duration,l.delay,l.easing)}(s.timings,l.errors);l.currentAnimateTimings=p;let I,P=s.styles?s.styles:re({});if(5==P.type)I=this.visitKeyframes(P,l);else{let z=s.styles,Z=!1;if(!z){Z=!0;const Ye={};p.easing&&(Ye.easing=p.easing),z=re(Ye)}l.currentTime+=p.duration+p.delay;const Se=this.visitStyle(z,l);Se.isEmptyStep=Z,I=Se}return l.currentAnimateTimings=null,{type:4,timings:p,style:I,options:null}}visitStyle(s,l){const p=this._makeStyleAst(s,l);
1return this._validateStyleAst(p,l),p}_makeStyleAst(s,l){const p=[];Array.isArray(s.styles)?s.styles.forEach(z=>{"string"==typeof z?z==$e?p.push(z):l.errors.push(`The provided style string value ${z} is not allowed.`):p.push(z)}):p.push(s.styles);let I=!1,P=null;return p.forEach(z=>{if(Fn(z)){const Z=z,Se=Z.easing;if(Se&&(P=Se,delete Z.easing),!I)for(let Ye in Z)if(Z[Ye].toString().indexOf("{{")>=0){I=!0;break}}}),{type:6,styles:p,easing:P,offset:s.offset,containsDynamicStyles:I,options:null}}_validateStyleAst(s,l){const p=l.currentAnimateTimings;let I=l.currentTime,P=l.currentTime;p&&P>0&&(P-=p.duration+p.delay),s.styles.forEach(z=>{"string"!=typeof z&&Object.keys(z).forEach(Z=>{if(!this._driver.validateStyleProperty(Z))return void l.errors.push(`The provided animation property "${Z}" is not a supported CSS property for animations`);const Se=l.collectedStyles[l.currentQuerySelector],Ye=Se[Z];let at=!0;Ye&&(P!=I&&P>=Ye.startTime&&I<=Ye.endTime&&(l.errors.push(`The CSS property "${Z}" that exists between the times of "${Ye.startTime}ms" and "${Ye.endTime}ms" is also being animated in a parallel animation between the times of "${P}ms" and "${I}ms"`),at=!1),P=Ye.startTime),at&&(Se[Z]={startTime:P,endTime:I}),l.options&&function ir(h,s,l){const p=s.params||{},I=Pt(h);I.length&&I.forEach(P=>{p.hasOwnProperty(P)||l.push(`Unable to resolve the local animation param ${P} in the given list of values`)})}(z[Z],l.options,l.errors)})})}visitKeyframes(s,l){const p={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push("keyframes() must be placed inside of a call to animate()"),p;let P=0;const z=[];let Z=!1,Se=!1,Ye=0;const at=s.steps.map(ar=>{const lr=this._makeStyleAst(ar,l);let _r=null!=lr.offset?lr.offset:function qn(h){if("string"==typeof h)return null;let s=null;if(Array.isArray(h))h.forEach(l=>{if(Fn(l)&&l.hasOwnProperty("offset")){const p=l;s=parseFloat(p.offset),delete p.offset}});else if(Fn(h)&&h.hasOwnProperty("offset")){const l=h;s=parseFloat(l.offset),delete l.offset}return s}(lr.styles),Nr=0;return null!=_r&&(P++,Nr=lr.offset=_r),Se=Se||Nr<0||Nr>1,Z=Z||Nr<Ye,Ye=Nr,z.push(Nr),lr});Se&&l.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),Z&&l.errors.push("Please ensure that all keyframe offsets are in order");const Ct=s.steps.length;let zt=0;P>0&&P<Ct?l.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==P&&(zt=1/(Ct-1));const Yt=Ct-1,It=l.currentTime,kt=l.currentAnimateTimings,sn=kt.duration;return at.forEach((ar,lr)=>{const _r=zt>0?lr==Yt?1:zt*lr:z[lr],Nr=_r*sn;l.currentTime=It+kt.delay+Nr,kt.duration=Nr,this._validateStyleAst(ar,l),ar.offset=_r,p.styles.push(ar)}),p}visitReference(s,l){return{type:8,animation:Cn(this,jt(s.animation),l),options:Xn(s.options)}}visitAnimateChild(s,l){return l.depCount++,{type:9,options:Xn(s.options)}}visitAnimateRef(s,l){return{type:10,animation:this.visitReference(s.animation,l),options:Xn(s.options)}}visitQuery(s,l){const p=l.currentQuerySelector,I=s.options||{};l.queryCount++,l.currentQuery=s;const[P,z]=function Ut(h){const s=!!h.split(/\s*,\s*/).find(l=>":self"==l);return s&&(h=h.replace(W,"")),h=h.replace(/@\*/g,Jn).replace(/@\w+/g,l=>Jn+"-"+l.substr(1)).replace(/:animating/g,fn),[h,s]}(s.selector);l.currentQuerySelector=p.length?p+" "+P:P,Ce(l.collectedStyles,l.currentQuerySelector,{});const Z=Cn(this,jt(s.animation),l);return l.currentQuery=null,l.currentQuerySelector=p,{type:11,selector:P,limit:I.limit||0,optional:!!I.optional,includeSelf:z,animation:Z,originalSelector:s.selector,options:Xn(s.options)}}visitStagger(s,l){l.currentQuery||l.errors.push("stagger() can only be used inside of query()");const p="full"===s.timings?{duration:0,delay:0,easing:"full"}:ue(s.timings,l.errors,!0);return{type:12,animation:Cn(this,jt(s.animation),l),timings:p,options:null}}}class en{constructor(s){this.errors=s,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 Fn(h){return!Array.isArray(h)&&"object"==typeof h}function Xn(h){return h?(h=et(h)).params&&(h.params=function vn(h){return h?et(h):null}(h.params)):h={},h}function Tn(h,s,l){return{duration:h,delay:s,easing:l}}function Qn(h,s,l,p,I,P,z=null,Z=!1){return{type:1,element:h,keyframes:s,preStyleProps:l,postStyleProps:p,duration:I,delay:P,totalTime:I+P,easing:z,subTimeline:Z}}class _n{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,l){let p=this._map.get(s);p||this._map.set(s,p=[]),p.push(...l)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const br=new RegExp(":enter","g"),ut=new RegExp(":leave","g");function Rt(h,s,l,p,I,P={},z={},Z,Se,Ye=[]){return(new qt).buildKeyframes(h,s,l,p,I,P,z,Z,Se,Ye)}class qt{buildKeyframes(s,l,p,I,P,z,Z,Se,Ye,at=[]){Ye=Ye||new _n;const Ct=new Wn(s,l,Ye,I,P,at,[]);Ct.options=Se,Ct.currentTimeline.setStyles([z],null,Ct.errors,Se),Cn(this,p,Ct);
vendor: 4,539 bytes, line 1
1const zt=Ct.timelines.filter(Yt=>Yt.containsAnimation());if(Object.keys(Z).length){let Yt;for(let It=zt.length-1;It>=0;It--){const kt=zt[It];if(kt.element===l){Yt=kt;break}}Yt&&!Yt.allowOnlyTimelineStyles()&&Yt.setStyles([Z],null,Ct.errors,Se)}return zt.length?zt.map(Yt=>Yt.buildKeyframes()):[Qn(l,[],[],[],0,0,"",!1)]}visitTrigger(s,l){}visitState(s,l){}visitTransition(s,l){}visitAnimateChild(s,l){const p=l.subInstructions.get(l.element);if(p){const I=l.createSubContext(s.options),P=l.currentTimeline.currentTime,z=this._visitSubInstructions(p,I,I.options);P!=z&&l.transformIntoNewTimeline(z)}l.previousNode=s}visitAnimateRef(s,l){const p=l.createSubContext(s.options);p.transformIntoNewTimeline(),this.visitReference(s.animation,p),l.transformIntoNewTimeline(p.currentTimeline.currentTime),l.previousNode=s}_visitSubInstructions(s,l,p){let P=l.currentTimeline.currentTime;const z=null!=p.duration?it(p.duration):null,Z=null!=p.delay?it(p.delay):null;return 0!==z&&s.forEach(Se=>{const Ye=l.appendInstructionToTimeline(Se,z,Z);P=Math.max(P,Ye.duration+Ye.delay)}),P}visitReference(s,l){l.updateOptions(s.options,!0),Cn(this,s.animation,l),l.previousNode=s}visitSequence(s,l){const p=l.subContextCount;let I=l;const P=s.options;if(P&&(P.params||P.delay)&&(I=l.createSubContext(P),I.transformIntoNewTimeline(),null!=P.delay)){6==I.previousNode.type&&(I.currentTimeline.snapshotCurrentStyles(),I.previousNode=In);const z=it(P.delay);I.delayNextStep(z)}s.steps.length&&(s.steps.forEach(z=>Cn(this,z,I)),I.currentTimeline.applyStylesToKeyframe(),I.subContextCount>p&&I.transformIntoNewTimeline()),l.previousNode=s}visitGroup(s,l){const p=[];let I=l.currentTimeline.currentTime;const P=s.options&&s.options.delay?it(s.options.delay):0;s.steps.forEach(z=>{const Z=l.createSubContext(s.options);P&&Z.delayNextStep(P),Cn(this,z,Z),I=Math.max(I,Z.currentTimeline.currentTime),p.push(Z.currentTimeline)}),p.forEach(z=>l.currentTimeline.mergeTimelineCollectedStyles(z)),l.transformIntoNewTimeline(I),l.previousNode=s}_visitTiming(s,l){if(s.dynamic){const p=s.strValue;return ue(l.params?Ft(p,l.params,l.errors):p,l.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,l){const p=l.currentAnimateTimings=this._visitTiming(s.timings,l),I=l.currentTimeline;p.delay&&(l.incrementTime(p.delay),I.snapshotCurrentStyles());const P=s.style;5==P.type?this.visitKeyframes(P,l):(l.incrementTime(p.duration),this.visitStyle(P,l),I.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=s}visitStyle(s,l){const p=l.currentTimeline,I=l.currentAnimateTimings;!I&&p.getCurrentStyleProperties().length&&p.forwardFrame();const P=I&&I.easing||s.easing;s.isEmptyStep?p.applyEmptyStep(P):p.setStyles(s.styles,P,l.errors,l.options),l.previousNode=s}visitKeyframes(s,l){const p=l.currentAnimateTimings,I=l.currentTimeline.duration,P=p.duration,Z=l.createSubContext().currentTimeline;Z.easing=p.easing,s.styles.forEach(Se=>{Z.forwardTime((Se.offset||0)*P),Z.setStyles(Se.styles,Se.easing,l.errors,l.options),Z.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(Z),l.transformIntoNewTimeline(I+P),l.previousNode=s}visitQuery(s,l){const p=l.currentTimeline.currentTime,I=s.options||{},P=I.delay?it(I.delay):0;P&&(6===l.previousNode.type||0==p&&l.currentTimeline.getCurrentStyleProperties().length)&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=In);let z=p;const Z=l.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!I.optional,l.errors);l.currentQueryTotal=Z.length;let Se=null;Z.forEach((Ye,at)=>{l.currentQueryIndex=at;const Ct=l.createSubContext(s.options,Ye);P&&Ct.delayNextStep(P),Ye===l.element&&(Se=Ct.currentTimeline),Cn(this,s.animation,Ct),Ct.currentTimeline.applyStylesToKeyframe(),z=Math.max(z,Ct.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(z),Se&&(l.currentTimeline.mergeTimelineCollectedStyles(Se),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=s}visitStagger(s,l){const p=l.parentContext,I=l.currentTimeline,P=s.timings,z=Math.abs(P.duration),Z=z*(l.currentQueryTotal-1);let Se=z*l.currentQueryIndex;switch(P.duration<0?"reverse":P.easing){case"reverse":Se=Z-Se;break;case"full":Se=p.currentStaggerTime}const at=l.currentTimeline;Se&&at.delayNextStep(Se);const Ct=at.currentTime;Cn(this,s.animation,l),l.previousNode=s,p.currentStaggerTime=I.currentTime-Ct+(I.startTime-p.currentTimeline.startTime)}}const In={};class Wn{constructor(s,l,p,I,P,z,Z,Se){this._driver=s,this.element=l,this.subInstru
1ctions=p,this._enterClassName=I,this._leaveClassName=P,this.errors=z,this.timelines=Z,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=In,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Se||new Dn(this._driver,l,0),Z.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,l){if(!s)return;const p=s;let I=this.options;null!=p.duration&&(I.duration=it(p.duration)),null!=p.delay&&(I.delay=it(p.delay));const P=p.params;if(P){let z=I.params;z||(z=this.options.params={}),Object.keys(P).forEach(Z=>{(!l||!z.hasOwnProperty(Z))&&(z[Z]=Ft(P[Z],z,this.errors))})}}_copyOptions(){const s={};if(this.options){const l=this.options.params;if(l){const p=s.params={};Object.keys(l).forEach(I=>{p[I]=l[I]})}}return s}createSubContext(s=null,l,p){const I=l||this.element,P=new Wn(this._driver,I,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(I,p||0));return P.previousNode=this.previousNode,P.currentAnimateTimings=this.currentAnimateTimings,P.options=this._copyOptions(),P.updateOptions(s),P.currentQueryIndex=this.currentQueryIndex,P.currentQueryTotal=this.currentQueryTotal,P.parentContext=this,this.subContextCount++,P}transformIntoNewTimeline(s){return this.previousNode=In,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,l,p){const I={duration:null!=l?l:s.duration,delay:this.currentTimeline.currentTime+(null!=p?p:0)+s.delay,easing:""},P=new hr(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,I,s.stretchStartingKeyframe);return this.timelines.push(P),I}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,l,p,I,P,z){let Z=[];if(I&&Z.push(this.element),s.length>0){s=(s=s.replace(br,"."+this._enterClassName)).replace(ut,"."+this._leaveClassName);let Ye=this._driver.query(this.element,s,1!=p);0!==p&&(Ye=p<0?Ye.slice(Ye.length+p,Ye.length):Ye.slice(0,p)),Z.push(...Ye)}return!P&&0==Z.length&&z.push(`\`query("${l}")\` returned zero elements. (Use \`query("${l}", { optional: true })\` if you wish to allow this.)`),Z}}class Dn{constructor(s,l,p,I){this._driver=s,this.element=l,this.startTime=p,this._elementTimelineStylesLookup=I,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(s){const l=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||l?(this.forwardTime(this.currentTime+s),l&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,l){return this.applyStylesToKeyframe(),new Dn(this._driver,s,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,l){this._localTimelineStyles[s]=l,this._globalTimelineStyles[s]=l,this._styleSummary[s]={time:this.currentTime,value:l}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(s){s&&(this._previousKeyframe.easing=s),Object.keys(this._globalTimelineStyles).forEach(l=>{this._backFill[l]=this._globalTimelineStyles[l]||$e,this._currentKeyframe[l]=$e}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,l,p,I){l&&(this._previousKeyframe.easing=l);const P=I&&I.params||{},z=function ur(h,s){const l={};let p;return h.forEach(I=>{"*"===I?(p=p||Object.keys(s),p.forEach(P=>{l[P]=$e})):Qe(I,!1,l)}),l}(s,this._globalTimelineStyles);Object.keys(z).forEach(Z=>{const Se=Ft(z[Z],P,p);this._pendingStyles[Z]=Se,this._localTimelineStyles.hasOwnProperty(Z)||(this._backFill[Z]=this._globalTimelineStyles.hasOwnProperty(Z)?this._globalTimelineStyles[Z]:$e),this._updateStyle(Z,Se)})}applyStylesToKeyframe(){const s=this._pendingStyles,l=Object.keys(s);0!=l.length&&(this._pendingStyles={},l.forEach(p=>{this._currentKeyframe[p]=s[p]}),Object.keys(this._localTimelineStyles).forEach(p=>{this._currentKeyframe.hasOwnProperty(p)||(this._currentKeyframe[p]=this._localTimelineStyles[p])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(s=>{const l=this._localTimelineStyles[s];this._pendingStyles[s]=l,this._updateStyle(s,l)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let l in this._currentKeyframe)s.push(l);return s}mergeTimelineCollectedStyles(s){Object.keys(s._styleSummary).forEach(l=>{const p=this._styleSummary[l],I=s._styleSummary[l];(!p||I.time>p.time)&&this._updateStyle(l,I.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,l=new Set,p=1===this._keyframes.size&&0===this.duration;let I=[];this._keyframes.forEach((Z,Se)=>{const Ye=Qe(Z,!0);Object.keys(Ye).forEach(at=>{const Ct=Ye[at];"!"==Ct?s.add(at):Ct==$e&&l.add(at)}),p||(Ye.offset=Se/this.duration),I.push(Ye)});const P=s.size?Kt(s.values()):[],z=l.size?Kt(l.values()):[];if(p){const Z=I[0],Se=et(Z);Z.offset=0,Se.offset=1,I=[Z,Se]}return Qn(this.element,I,P,z,this.duration,this.startTime,this.easing,!1)}}class hr extends Dn{constructor(s,l,p,I,P,z,Z=!1){super(s,l,z.delay),this.keyframes=p,this.preStyleProps=I,this.postStyleProps=P,this._stretchStartingKeyframe=Z,this.timings={duration:z.duration,delay:z.delay,easing:z.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:l,duration:p,easing:I}=this.timings;if(this._stretchStartingKeyframe&&l){const P=[],z=p+l,Z=l/z,Se=Qe(s[0],!1);Se.offset=0,P.push(Se);const Ye=Qe(s[0],!1);Ye.offset=an(Z),P.push(Ye);const at=s.length-1;for(let Ct=1;Ct<=at;Ct++){let zt=Qe(s[Ct],!1);zt.offset=an((l+zt.offset*p)/z),P.push(zt)}p=z,l=0,I="",s=P}return Qn(this.element,s,this.preStyleProps,this.postStyleProps,p,l,I,!0)}}function an(h,s=3){const l=Math.pow(10,s-1);return Math.round(h*l)/l}class Mt{}class or extends Mt{normalizePropertyName(s,l){return On(s)}normalizeStyleValue(s,l,p,I){let P="";const z=p.toString().trim();if(N[l]&&0!==p&&"0"!==p)if("number"==typeof p)P="px";else{const Z=p.match(/^[+-]?[\d\.]+([a-z]*)$/);Z&&0==Z[1].length&&I.push(`Please provide a CSS unit value for ${s}:${p}`)}return z+P}}const N=(()=>function H(h){const s={};return h.forEach(l=>s[l]=!0),s}("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 le(h,s,l,p,I,P,z,Z,Se,Ye,at,Ct,zt){return{type:0,element:h,triggerName:s,isRemovalTransition:I,fromState:l,fromStyles:P,toState:p,toStyles:z,timelines:Z,queriedElements:Se,preStyleProps:Ye,postStyleProps:at,totalTime:Ct,errors:zt}}const ye={};class U{constructor(s,l,p){this._triggerName=s,this.ast=l,this._stateStyles=p}match(s,l,p,I){return function J(h,s,l,p,I){return h.some(P=>P(s,l,p,I))}(this.ast.matchers,s,l,p,I)}buildStyles(s,l,p){const I=this._stateStyles["*"],P=this._stateStyles[s],z=I?I.buildStyles(l,p):{};return P?P.buildStyles(l,p):z}build(s,l,p,I,P,z,Z,Se,Ye,at){const Ct=[],zt=this.ast.options&&this.ast.options.params||ye,It=this.buildStyles(p,Z&&Z.params||ye,Ct),kt=Se&&Se.params||ye,sn=this.buildStyles(I,kt,Ct),ar=new Set,lr=new Map,_r=new Map,Nr="void"===I,Ao={params:Object.assign(Object.assign({},zt),kt)},Mn=at?[]:Rt(s,l,this.ast.animation,P,z,It,sn,Ao,Ye,Ct);let $r=0;if(Mn.forEach(Zi=>{$r=Math.max(Zi.duration+Zi.delay,$r)}),Ct.length)return le(l,this._triggerName,p,I,Nr,It,sn,[],[],lr,_r,$r,Ct);Mn.forEach(Zi=>{const Ji=Zi.element,dl=Ce(lr,Ji,{});Zi.preStyleProps.forEach(Mo=>dl[Mo]=!0);const ps=Ce(_r,Ji,{});Zi.postStyleProps.forEach(Mo=>ps[Mo]=!0),Ji!==l&&ar.add(Ji)});const Qi=Kt(ar.values());return le(l,this._triggerName,p,I,Nr,It,sn,Mn,Qi,lr,_r,$r)}}class de{constructor(s,l,p){this.styles=s,this.defaultParams=l,this.normalizer=p}buildStyles(s,l){const p={},I=et(this.defaultParams);
1return Object.keys(s).forEach(P=>{const z=s[P];null!=z&&(I[P]=z)}),this.styles.styles.forEach(P=>{if("string"!=typeof P){const z=P;Object.keys(z).forEach(Z=>{let Se=z[Z];Se.length>1&&(Se=Ft(Se,I,l));const Ye=this.normalizer.normalizePropertyName(Z,l);Se=this.normalizer.normalizeStyleValue(Z,Ye,Se,l),p[Ye]=Se})}}),p}}class We{constructor(s,l,p){this.name=s,this.ast=l,this._normalizer=p,this.transitionFactories=[],this.states={},l.states.forEach(I=>{this.states[I.name]=new de(I.style,I.options&&I.options.params||{},p)}),ht(this.states,"true","1"),ht(this.states,"false","0"),l.transitions.forEach(I=>{this.transitionFactories.push(new U(s,I,this.states))}),this.fallbackTransition=function Xe(h,s,l){return new U(h,{type:1,animation:{type:2,steps:[],options:null},matchers:[(z,Z)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,l,p,I){return this.transitionFactories.find(z=>z.match(s,l,p,I))||null}matchStyles(s,l,p){return this.fallbackTransition.buildStyles(s,l,p)}}function ht(h,s,l){h.hasOwnProperty(s)?h.hasOwnProperty(l)||(h[l]=h[s]):h.hasOwnProperty(l)&&(h[s]=h[l])}const Tt=new _n;class Bt{constructor(s,l,p){this.bodyNode=s,this._driver=l,this._normalizer=p,this._animations={},this._playersById={},this.players=[]}register(s,l){const p=[],I=Be(this._driver,l,p);if(p.length)throw new Error(`Unable to build the animation due to the following errors: ${p.join("\n")}`);this._animations[s]=I}_buildPlayer(s,l,p){const I=s.element,P=L(0,this._normalizer,0,s.keyframes,l,p);return this._driver.animate(I,P,s.duration,s.delay,s.easing,[],!0)}create(s,l,p={}){const I=[],P=this._animations[s];let z;const Z=new Map;if(P?(z=Rt(this._driver,l,P,$n,Vn,{},{},p,Tt,I),z.forEach(at=>{const Ct=Ce(Z,at.element,{});at.postStyleProps.forEach(zt=>Ct[zt]=null)})):(I.push("The requested animation doesn't exist or has already been destroyed"),z=[]),I.length)throw new Error(`Unable to create the animation due to the following errors: ${I.join("\n")}`);Z.forEach((at,Ct)=>{Object.keys(at).forEach(zt=>{at[zt]=this._driver.computeStyle(Ct,zt,$e)})});const Ye=B(z.map(at=>{const Ct=Z.get(at.element);return this._buildPlayer(at,{},Ct)}));return this._playersById[s]=Ye,Ye.onDestroy(()=>this.destroy(s)),this.players.push(Ye),Ye}destroy(s){const l=this._getPlayer(s);l.destroy(),delete this._playersById[s];const p=this.players.indexOf(l);p>=0&&this.players.splice(p,1)}_getPlayer(s){const l=this._playersById[s];if(!l)throw new Error(`Unable to find the timeline player referenced by ${s}`);return l}listen(s,l,p,I){const P=q(l,"","","");return $(this._getPlayer(s),p,P,I),()=>{}}command(s,l,p,I){if("register"==p)return void this.register(s,I[0]);if("create"==p)return void this.create(s,l,I[0]||{});const P=this._getPlayer(s);switch(p){case"play":P.play();break;case"pause":P.pause();break;case"reset":P.reset();break;case"restart":P.restart();break;case"finish":P.finish();break;case"init":P.init();break;case"setPosition":P.setPosition(parseFloat(I[0]));break;case"destroy":this.destroy(s)}}}const Ht="ng-animate-queued",zn="ng-animate-disabled",xr=[],ai={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ri={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vr="__ng_removed";class Xr{constructor(s,l=""){this.namespaceId=l;const p=s&&s.hasOwnProperty("value");if(this.value=function yi(h){return null!=h?h:null}(p?s.value:s),p){const P=et(s);delete P.value,this.options=P}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(s){const l=s.params;if(l){const p=this.options.params;Object.keys(l).forEach(I=>{null==p[I]&&(p[I]=l[I])})}}}const Qr="void",mi=new Xr(Qr);class Yi{constructor(s,l,p){this.id=s,this.hostElement=l,this._engine=p,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+s,sr(l,this._hostClassName)}listen(s,l,p,I){if(!this._triggers.hasOwnProperty(l))throw new Error(`Unable to listen on the animation trigger event "${p}" because the animation trigger "${l}" doesn't exist!`);if(null==p||0==p.length)throw new Error(`Unable to listen on the animation trigger "${l}" because the provided event is undefined!`);if(!function wi(h){return"start"==h||"done"==h}(p))throw new Error(`The provided animation trigger event "${p}" for the animation trigger "${l}" is not supported!`);const P=Ce(this._elementListeners,s,[]),z={name:l,phase:p,callback:I};P.push(z);const Z=Ce(this._engine.statesByElement,s,{});return Z.hasOwnProperty(l)||(sr(s,cr),sr(s,cr+"-"+l),Z[l]=mi),()=>{this._engine.afterFlush(()=>{const Se=P.indexOf(z);Se>=0&&P.splice(Se,1),this._triggers[l]||delete Z[l]})}}register(s,l){return!this._triggers[s]&&(this._triggers[s]=l,!0)}_getTrigger(s){const l=this._triggers[s];if(!l)throw new Error(`The provided animation trigger "${s}" has not been registered!`);return l}trigger(s,l,p,I=!0){const P=this._getTrigger(l),z=new Jr(this.id,l,s);let Z=this._engine.statesByElement.get(s);Z||(sr(s,cr),sr(s,cr+"-"+l),this._engine.statesByElement.set(s,Z={}));let Se=Z[l];const Ye=new Xr(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&Se&&Ye.absorbOptions(Se.options),Z[l]=Ye,Se||(Se=mi),Ye.value!==Qr&&Se.value===Ye.value){if(!function Rr(h,s){const l=Object.keys(h),p=Object.keys(s);if(l.length!=p.length)return!1;for(let I=0;I<l.length;I++){const P=l[I];if(!s.hasOwnProperty(P)||h[P]!==s[P])return!1}return!0}(Se.params,Ye.params)){const kt=[],sn=P.matchStyles(Se.value,Se.params,kt),ar=P.matchStyles(Ye.value,Ye.params,kt);kt.length?this._engine.reportError(kt):this._engine.afterFlush(()=>{rn(s,sn),At(s,ar)})}return}const zt=Ce(this._engine.playersByElement,s,[]);zt.forEach(kt=>{kt.namespaceId==this.id&&kt.triggerName==l&&kt.queued&&kt.destroy()});let Yt=P.matchTransition(Se.value,Ye.value,s,Ye.params),It=!1;if(!Yt){if(!I)return;Yt=P.fallbackTransition,It=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:l,transition:Yt,fromState:Se,toState:Ye,player:z,isFallbackTransition:It}),It||(sr(s,Ht),z.onStart(()=>{Ir(s,Ht)})),z.onDone(()=>{let kt=this.players.indexOf(z);kt>=0&&this.players.splice(kt,1);const sn=this._engine.playersByElement.get(s);if(sn){let ar=sn.indexOf(z);ar>=0&&sn.splice(ar,1)}}),this.players.push(z),zt.push(z),z}deregister(s){delete this._triggers[s],this._engine.statesByElement.forEach((l,p)=>{delete l[s]}),this._elementListeners.forEach((l,p)=>{this._elementListeners.set(p,l.filter(I=>I.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const l=this._engine.playersByElement.get(s);l&&(l.forEach(p=>p.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,l){const p=this._engine.driver.query(s,Jn,!0);p.forEach(I=>{if(I[vr])return;const P=this._engine.fetchNamespacesByElement(I);P.size?P.forEach(z=>z.triggerLeaveAnimation(I,l,!1,!0)):this.clearElementCache(I)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(I=>this.clearElementCache(I)))}triggerLeaveAnimation(s,l,p,I){const P=this._engine.statesByElement.get(s),z=new Map;if(P){const Z=[];if(Object.keys(P).forEach(Se=>{if(z.set(Se,P[Se].value),this._triggers[Se]){const Ye=this.trigger(s,Se,Qr,I);Ye&&Z.push(Ye)}}),Z.length)return this._engine.markElementAsRemoved(this.id,s,!0,l,z),p&&B(Z).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const l=this._elementListeners.get(s),p=this._engine.statesByElement.get(s);if(l&&p){const I=new Set;l.forEach(P=>{const z=P.name;if(I.has(z))return;I.add(z);const Se=this._triggers[z].fallbackTransition,Ye=p[z]||mi,at=new Xr(Qr),Ct=new Jr(this.id,z,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:z,transition:Se,fromState:Ye,toState:at,player:Ct,isFallbackTransition:!0})})}}removeNode(s,l){const p=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,l),this.triggerLeaveAnimation(s,l,!0))return;let I=!1;if(p.totalAnimations){const P=p.players.length?p.playersByQueriedElement.get(s):[];if(P&&P.length)I=!0;else{let z=s;for(;z=z.parentNode;)if(p.statesByElement.get(z)){I=!0;break}}}if(this.prepareLeaveAnimationListeners(s),I)p.markElementAsRemoved(this.id,s,!1,l);else{const P=s[vr];(!P||P===ai)&&(p.afterFlush(()=>this.clearElementCache(s)),p.destroyInnerAnimations(s),p._onRemovalComplete(s,l))}}insertNode(s,l){sr(s,this._hostClassName)}drainQueuedTransitions(s){const l=[];return this._queue.forEach(p=>{const I=p.player;if(I.destroyed)return;const P=p.element,z=this._elementListeners.get(P);z&&z.forEach(Z=>{if(Z.name==p.triggerName){const Se=q(P,p.triggerName,p.fromState.value,p.toState.value);Se._data=s,$(p.player,Z.phase,Se,Z.callback)}}),I.markedForDestroy?this._engine.afterFlush(()=>{I.destroy()}):l.push(p)}),this._queue=[],l.sort((p,I)=>{const P=p.transition.ast.depCount,z=I.transition.ast.depCount;return 0==P||0==z?P-z:this._engine.driver.containsElement(p.element,I.element)?1:-1})}
1destroy(s){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}elementContainsData(s){let l=!1;return this._elementListeners.has(s)&&(l=!0),l=!!this._queue.find(p=>p.element===s)||l,l}}class Zr{constructor(s,l,p){this.bodyNode=s,this.driver=l,this._normalizer=p,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(I,P)=>{}}_onRemovalComplete(s,l){this.onRemovalComplete(s,l)}get queuedPlayers(){const s=[];return this._namespaceList.forEach(l=>{l.players.forEach(p=>{p.queued&&s.push(p)})}),s}createNamespace(s,l){const p=new Yi(s,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(p,l):(this.newHostElements.set(l,p),this.collectEnterElement(l)),this._namespaceLookup[s]=p}_balanceNamespaceList(s,l){const p=this._namespaceList.length-1;if(p>=0){let I=!1;for(let P=p;P>=0;P--)if(this.driver.containsElement(this._namespaceList[P].hostElement,l)){this._namespaceList.splice(P+1,0,s),I=!0;break}I||this._namespaceList.splice(0,0,s)}else this._namespaceList.push(s);return this.namespacesByHostElement.set(l,s),s}register(s,l){let p=this._namespaceLookup[s];return p||(p=this.createNamespace(s,l)),p}registerTrigger(s,l,p){let I=this._namespaceLookup[s];I&&I.register(l,p)&&this.totalAnimations++}destroy(s,l){if(!s)return;const p=this._fetchNamespace(s);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[s];const I=this._namespaceList.indexOf(p);I>=0&&this._namespaceList.splice(I,1)}),this.afterFlushAnimationsDone(()=>p.destroy(l))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const l=new Set,p=this.statesByElement.get(s);if(p){const I=Object.keys(p);for(let P=0;P<I.length;P++){const z=p[I[P]].namespaceId;if(z){const Z=this._fetchNamespace(z);Z&&l.add(Z)}}}return l}trigger(s,l,p,I){if(kr(l)){const P=this._fetchNamespace(s);if(P)return P.trigger(l,p,I),!0}return!1}insertNode(s,l,p,I){if(!kr(l))return;const P=l[vr];if(P&&P.setForRemoval){P.setForRemoval=!1,P.setForMove=!0;const z=this.collectedLeaveElements.indexOf(l);z>=0&&this.collectedLeaveElements.splice(z,1)}if(s){const z=this._fetchNamespace(s);z&&z.insertNode(l,p)}I&&this.collectEnterElement(l)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,l){l?this.disabledNodes.has(s)||(this.disabledNodes.add(s),sr(s,zn)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),Ir(s,zn))}removeNode(s,l,p,I){if(kr(l)){const P=s?this._fetchNamespace(s):null;if(P?P.removeNode(l,I):this.markElementAsRemoved(s,l,!1,I),p){const z=this.namespacesByHostElement.get(l);z&&z.id!==s&&z.removeNode(l,I)}}else this._onRemovalComplete(l,I)}markElementAsRemoved(s,l,p,I,P){this.collectedLeaveElements.push(l),l[vr]={namespaceId:s,setForRemoval:I,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:P}}listen(s,l,p,I,P){return kr(l)?this._fetchNamespace(s).listen(l,p,I,P):()=>{}}_buildInstruction(s,l,p,I,P){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,p,I,s.fromState.options,s.toState.options,l,P)}destroyInnerAnimations(s){let l=this.driver.query(s,Jn,!0);l.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(s,fn,!0),l.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(s){const l=this.playersByElement.get(s);l&&l.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(s){const l=this.playersByQueriedElement.get(s);l&&l.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return B(this.players).onDone(()=>s());s()})}processLeaveNode(s){var l;const p=s[vr];if(p&&p.setForRemoval){if(s[vr]=ai,p.namespaceId){this.destroyInnerAnimations(s);const I=this._fetchNamespace(p.namespaceId);I&&I.clearElementCache(s)}this._onRemovalComplete(s,p.setForRemoval)}(null===(l=s.classList)||void 0===l?void 0:l.contains(zn))&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEac
vendor: 4,718 bytes, line 1
1h(I=>{this.markElementAsDisabled(I,!1)})}flush(s=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,I)=>this._balanceNamespaceList(p,I)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)sr(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{l=this._flushAnimations(p,s)}finally{for(let I=0;I<p.length;I++)p[I]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],l.length?B(l).onDone(()=>{p.forEach(I=>I())}):p.forEach(I=>I())}}reportError(s){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${s.join("\n")}`)}_flushAnimations(s,l){const p=new _n,I=[],P=new Map,z=[],Z=new Map,Se=new Map,Ye=new Map,at=new Set;this.disabledNodes.forEach(mt=>{at.add(mt);const Nt=this.driver.query(mt,".ng-animate-queued",!0);for(let Lt=0;Lt<Nt.length;Lt++)at.add(Nt[Lt])});const Ct=this.bodyNode,zt=Array.from(this.statesByElement.keys()),Yt=ci(zt,this.collectedEnterElements),It=new Map;let kt=0;Yt.forEach((mt,Nt)=>{const Lt=$n+kt++;It.set(Nt,Lt),mt.forEach(Sn=>sr(Sn,Lt))});const sn=[],ar=new Set,lr=new Set;for(let mt=0;mt<this.collectedLeaveElements.length;mt++){const Nt=this.collectedLeaveElements[mt],Lt=Nt[vr];Lt&&Lt.setForRemoval&&(sn.push(Nt),ar.add(Nt),Lt.hasAnimation?this.driver.query(Nt,".ng-star-inserted",!0).forEach(Sn=>ar.add(Sn)):lr.add(Nt))}const _r=new Map,Nr=ci(zt,Array.from(ar));Nr.forEach((mt,Nt)=>{const Lt=Vn+kt++;_r.set(Nt,Lt),mt.forEach(Sn=>sr(Sn,Lt))}),s.push(()=>{Yt.forEach((mt,Nt)=>{const Lt=It.get(Nt);mt.forEach(Sn=>Ir(Sn,Lt))}),Nr.forEach((mt,Nt)=>{const Lt=_r.get(Nt);mt.forEach(Sn=>Ir(Sn,Lt))}),sn.forEach(mt=>{this.processLeaveNode(mt)})});const Ao=[],Mn=[];for(let mt=this._namespaceList.length-1;mt>=0;mt--)this._namespaceList[mt].drainQueuedTransitions(l).forEach(Lt=>{const Sn=Lt.player,Sr=Lt.element;if(Ao.push(Sn),this.collectedEnterElements.length){const Vr=Sr[vr];if(Vr&&Vr.setForMove){if(Vr.previousTriggersValues&&Vr.previousTriggersValues.has(Lt.triggerName)){const yo=Vr.previousTriggersValues.get(Lt.triggerName),vo=this.statesByElement.get(Lt.element);vo&&vo[Lt.triggerName]&&(vo[Lt.triggerName].value=yo)}return void Sn.destroy()}}const mr=!Ct||!this.driver.containsElement(Ct,Sr),fr=_r.get(Sr),$i=It.get(Sr),Kn=this._buildInstruction(Lt,p,$i,fr,mr);if(Kn.errors&&Kn.errors.length)return void Mn.push(Kn);if(mr)return Sn.onStart(()=>rn(Sr,Kn.fromStyles)),Sn.onDestroy(()=>At(Sr,Kn.toStyles)),void I.push(Sn);if(Lt.isFallbackTransition)return Sn.onStart(()=>rn(Sr,Kn.fromStyles)),Sn.onDestroy(()=>At(Sr,Kn.toStyles)),void I.push(Sn);const Fo=[];Kn.timelines.forEach(Vr=>{Vr.stretchStartingKeyframe=!0,this.disabledNodes.has(Vr.element)||Fo.push(Vr)}),Kn.timelines=Fo,p.append(Sr,Kn.timelines),z.push({instruction:Kn,player:Sn,element:Sr}),Kn.queriedElements.forEach(Vr=>Ce(Z,Vr,[]).push(Sn)),Kn.preStyleProps.forEach((Vr,yo)=>{const vo=Object.keys(Vr);if(vo.length){let Po=Se.get(yo);Po||Se.set(yo,Po=new Set),vo.forEach(gs=>Po.add(gs))}}),Kn.postStyleProps.forEach((Vr,yo)=>{const vo=Object.keys(Vr);let Po=Ye.get(yo);Po||Ye.set(yo,Po=new Set),vo.forEach(gs=>Po.add(gs))})});if(Mn.length){const mt=[];Mn.forEach(Nt=>{mt.push(`@${Nt.triggerName} has failed due to:\n`),Nt.errors.forEach(Lt=>mt.push(`- ${Lt}\n`))}),Ao.forEach(Nt=>Nt.destroy()),this.reportError(mt)}const $r=new Map,Qi=new Map;z.forEach(mt=>{const Nt=mt.element;p.has(Nt)&&(Qi.set(Nt,Nt),this._beforeAnimationBuild(mt.player.namespaceId,mt.instruction,$r))}),I.forEach(mt=>{const Nt=mt.element;this._getPreviousPlayers(Nt,!1,mt.namespaceId,mt.triggerName,null).forEach(Sn=>{Ce($r,Nt,[]).push(Sn),Sn.destroy()})});const Zi=sn.filter(mt=>Si(mt,Se,Ye)),Ji=new Map;Hr(Ji,this.driver,lr,Ye,$e).forEach(mt=>{Si(mt,Se,Ye)&&Zi.push(mt)});const ps=new Map;Yt.forEach((mt,Nt)=>{Hr(ps,this.driver,new Set(mt),Se,"!")}),Zi.forEach(mt=>{const Nt=Ji.get(mt),Lt=ps.get(mt);Ji.set(mt,Object.assign(Object.assign({},Nt),Lt))});const Mo=[],Oo=[],fl={};z.forEach(mt=>{const{element:Nt,player:Lt,instruction:Sn}=mt;if(p.has(Nt)){if(at.has(Nt))return Lt.onDestroy(()=>At(Nt,Sn.toStyles)),Lt.disabled=!0,Lt.overrideTotalTime(Sn.totalTime),void I.push(Lt);let Sr=fl;if(Qi.size>1){let fr=Nt;const $i=[];for(;fr=fr.parentNode;){const Kn=Qi.get(fr);if(Kn){Sr=Kn;break}$i.push(fr)}
1$i.forEach(Kn=>Qi.set(Kn,Sr))}const mr=this._buildAnimation(Lt.namespaceId,Sn,$r,P,ps,Ji);if(Lt.setRealPlayer(mr),Sr===fl)Mo.push(Lt);else{const fr=this.playersByElement.get(Sr);fr&&fr.length&&(Lt.parentPlayer=B(fr)),I.push(Lt)}}else rn(Nt,Sn.fromStyles),Lt.onDestroy(()=>At(Nt,Sn.toStyles)),Oo.push(Lt),at.has(Nt)&&I.push(Lt)}),Oo.forEach(mt=>{const Nt=P.get(mt.element);if(Nt&&Nt.length){const Lt=B(Nt);mt.setRealPlayer(Lt)}}),I.forEach(mt=>{mt.parentPlayer?mt.syncPlayerEvents(mt.parentPlayer):mt.destroy()});for(let mt=0;mt<sn.length;mt++){const Nt=sn[mt],Lt=Nt[vr];if(Ir(Nt,Vn),Lt&&Lt.hasAnimation)continue;let Sn=[];if(Z.size){let mr=Z.get(Nt);mr&&mr.length&&Sn.push(...mr);let fr=this.driver.query(Nt,fn,!0);for(let $i=0;$i<fr.length;$i++){let Kn=Z.get(fr[$i]);Kn&&Kn.length&&Sn.push(...Kn)}}const Sr=Sn.filter(mr=>!mr.destroyed);Sr.length?tr(this,Nt,Sr):this.processLeaveNode(Nt)}return sn.length=0,Mo.forEach(mt=>{this.players.push(mt),mt.onDone(()=>{mt.destroy();const Nt=this.players.indexOf(mt);this.players.splice(Nt,1)}),mt.play()}),Mo}elementContainsData(s,l){let p=!1;const I=l[vr];return I&&I.setForRemoval&&(p=!0),this.playersByElement.has(l)&&(p=!0),this.playersByQueriedElement.has(l)&&(p=!0),this.statesByElement.has(l)&&(p=!0),this._fetchNamespace(s).elementContainsData(l)||p}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,l,p,I,P){let z=[];if(l){const Z=this.playersByQueriedElement.get(s);Z&&(z=Z)}else{const Z=this.playersByElement.get(s);if(Z){const Se=!P||P==Qr;Z.forEach(Ye=>{Ye.queued||!Se&&Ye.triggerName!=I||z.push(Ye)})}}return(p||I)&&(z=z.filter(Z=>!(p&&p!=Z.namespaceId||I&&I!=Z.triggerName))),z}_beforeAnimationBuild(s,l,p){const P=l.element,z=l.isRemovalTransition?void 0:s,Z=l.isRemovalTransition?void 0:l.triggerName;for(const Se of l.timelines){const Ye=Se.element,at=Ye!==P,Ct=Ce(p,Ye,[]);this._getPreviousPlayers(Ye,at,z,Z,l.toState).forEach(Yt=>{const It=Yt.getRealPlayer();It.beforeDestroy&&It.beforeDestroy(),Yt.destroy(),Ct.push(Yt)})}rn(P,l.fromStyles)}_buildAnimation(s,l,p,I,P,z){const Z=l.triggerName,Se=l.element,Ye=[],at=new Set,Ct=new Set,zt=l.timelines.map(It=>{const kt=It.element;at.add(kt);const sn=kt[vr];if(sn&&sn.removedBeforeQueried)return new He(It.duration,It.delay);const ar=kt!==Se,lr=function Ni(h){const s=[];return nr(h,s),s}((p.get(kt)||xr).map($r=>$r.getRealPlayer())).filter($r=>!!$r.element&&$r.element===kt),_r=P.get(kt),Nr=z.get(kt),Ao=L(0,this._normalizer,0,It.keyframes,_r,Nr),Mn=this._buildPlayer(It,Ao,lr);if(It.subTimeline&&I&&Ct.add(kt),ar){const $r=new Jr(s,Z,kt);$r.setRealPlayer(Mn),Ye.push($r)}return Mn});Ye.forEach(It=>{Ce(this.playersByQueriedElement,It.element,[]).push(It),It.onDone(()=>function bi(h,s,l){let p;if(h instanceof Map){if(p=h.get(s),p){if(p.length){const I=p.indexOf(l);p.splice(I,1)}0==p.length&&h.delete(s)}}else if(p=h[s],p){if(p.length){const I=p.indexOf(l);p.splice(I,1)}0==p.length&&delete h[s]}return p}(this.playersByQueriedElement,It.element,It))}),at.forEach(It=>sr(It,Dt));const Yt=B(zt);return Yt.onDestroy(()=>{at.forEach(It=>Ir(It,Dt)),At(Se,l.toStyles)}),Ct.forEach(It=>{Ce(I,It,[]).push(Yt)}),Yt}_buildPlayer(s,l,p){return l.length>0?this.driver.animate(s.element,l,s.duration,s.delay,s.easing,p):new He(s.duration,s.delay)}}class Jr{constructor(s,l,p){this.namespaceId=s,this.triggerName=l,this.element=p,this._player=new He,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,Object.keys(this._queuedCallbacks).forEac
1h(l=>{this._queuedCallbacks[l].forEach(p=>$(s,l,void 0,p))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const l=this._player;l.triggerCallback&&s.onStart(()=>l.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,l){Ce(this._queuedCallbacks,s,[]).push(l)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}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(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const l=this._player;l.triggerCallback&&l.triggerCallback(s)}}function kr(h){return h&&1===h.nodeType}function li(h,s){const l=h.style.display;return h.style.display=null!=s?s:"none",l}function Hr(h,s,l,p,I){const P=[];l.forEach(Se=>P.push(li(Se)));const z=[];p.forEach((Se,Ye)=>{const at={};Se.forEach(Ct=>
1{const zt=at[Ct]=s.computeStyle(Ye,Ct,I);(!zt||0==zt.length)&&(Ye[vr]=Ri,z.push(Ye))}),h.set(Ye,at)});let Z=0;return l.forEach(Se=>li(Se,P[Z++])),z}function ci(h,s){const l=new Map;if(h.forEach(Z=>l.set(Z,[])),0==s.length)return l;const I=new Set(s),P=new Map;function z(Z){if(!Z)return 1;let Se=P.get(Z);if(Se)return Se;const Ye=Z.parentNode;return Se=l.has(Ye)?Ye:I.has(Ye)?1:z(Ye),P.set(Z,Se),Se}return s.forEach(Z=>{const Se=z(Z);1!==Se&&l.get(Se).push(Z)}),l}function sr(h,s){var l;null===(l=h.classList)||void 0===l||l.add(s)}function Ir(h,s){var l;null===(l=h.classList)||void 0===l||l.remove(s)}function tr(h,s,l){B(l).onDone(()=>h.processLeaveNode(s))}function nr(h,s){for(let l=0;l<h.length;l++){const p=h[l];p instanceof Oe?nr(p.players,s):s.push(p)}}function Si(h,s,l){const p=l.get(h);if(!p)return!1;let I=s.get(h);return I?p.forEach(P=>I.add(P)):s.set(h,p),l.delete(h),!0}class ui{constructor(s,l,p){this.bodyNode=s,this._driver=l,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(I,P)=>{},this._transitionEngine=new Zr(s,l,p),this._timelineEngine=new Bt(s,l,p),this._transitionEngine.onRemovalComplete=(I,P)=>this.onRemovalComplete(I,P)}registerTrigger(s,l,p,I,P){const z=s+"-"+I;let Z=this._triggerCache[z];if(!Z){const Se=[],Ye=Be(this._driver,P,Se);if(Se.length)throw new Error(`The animation trigger "${I}" has failed to build due to the following errors:\n - ${Se.join("\n - ")}`);Z=function qe(h,s,l){return new We(h,s,l)}(I,Ye,this._normalizer),this._triggerCache[z]=Z}this._transitionEngine.registerTrigger(l,I,Z)}register(s,l){this._transitionEngine.register(s,l)}destroy(s,l){this._transitionEngine.destroy(s,l)}onInsert(s,l,p,I){this._transitionEngine.insertNode(s,l,p,I)}onRemove(s,l,p,I){this._transitionEngine.removeNode(s,l,I||!1,p)}disableAnimations(s,l){this._transitionEngine.markElementAsDisabled(s,l)}process(s,l,p,I){if("@"==p.charAt(0)){const[P,z]=Je(p);this._timelineEngine.command(P,l,z,I)}else this._transitionEngine.trigger(s,l,p,I)}listen(s,l,p,I,P){if("@"==p.charAt(0)){const[z,Z]=Je(p);return this._timelineEngine.listen(z,l,Z,P)}return this._transitionEngine.listen(s,l,p,I,P)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ur(h,s){let l=null,p=null;return Array.isArray(s)&&s.length?(l=Cr(s[0]),s.length>1&&(p=Cr(s[s.length-1]))):s&&(l=Cr(s)),l||p?new Lr(h,l,p):null}let Lr=(()=>{class h{constructor(l,p,I){this._element=l,this._startStyles=p,this._endStyles=I,this._state=0;let P=h.initialStylesByElement.get(l);P||h.initialStylesByElement.set(l,P={}),this._initialStyles=P}start(){this._state<1&&(this._startStyles&&At(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(At(this._element,this._initialStyles),this._endStyles&&(At(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(h.initialStylesByElement.delete(this._element),this._startStyles&&(rn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(rn(this._element,this._endStyles),this._endStyles=null),At(this._element,this._initialStyles),this._state=3)}}return h.initialStylesByElement=new WeakMap,h})();function Cr(h){let s=null;const l=Object.keys(h);for(let p=0;p<l.length;p++){const I=l[p];vi(I)&&(s=s||{},s[I]=h[I])}return s}function vi(h){return"display"===h||"position"===h}const dr="animation",di="animationend";class ei{constructor(s,l,p,I,P,z,Z){this._element=s,this._name=l,this._duration=p,this._delay=I,this._easing=P,this._fillMode=z,this._onDoneFn=Z,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=Se=>this._handleCallback(Se)}apply(){(function hi(h,s){const l=Ge(h,"").trim();let p=0;l.length&&(p=function lt(h,s){let l=0;for(let p=0;p<h.length;p++)h.charAt(p)===s&&l++;return l}(l,",")+1,s=`${l}, ${s}`),ne(h,"",s)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),V(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Ti(this._element,this._name,"paused")}resume(){Ti(this._element,this._name,"running")}setPosition(s){const l=x(this._element,this._name);this._position=s*this._duration,ne(this._element,"Delay",`-${this._position}ms`,l)}getPosition(){return this._position}_handleCallback(s){const l=s._ngTestManualTimestamp||Date.now(),p=1e3*parseFloat(s.elapsedTime.toFixed(3));s.animationName==this._name&&Math.max(l-this._startTime,0)>=this._delay&&p>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),V(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function S(h,s){const p=Ge(h,"").split(","),I=T(p,s);I>=0&&(p.splice(I,1),ne(h,"",p.join(",")))}(this._element,this._name))}}function Ti(h,s,l){ne(h,"PlayState",l,x(h,s))}function x(h,s){const l=Ge(h,"");return l.indexOf(",")>0?T(l.split(","),s):T([l],s)}function T(h,s){for(let l=0;l<h.length;l++)if(h[l].indexOf(s)>=0)return l;return-1}function V(h,s,l){l?h.removeEventListener(di,s):h.addEventListener(di,s)}function ne(h,s,l,p){const I=dr+s;if(null!=p){const P=h.style[I];if(P.length){const z=P.split(",");z[p]=l,l=z.join(",")}}h.style[I]=l}function Ge(h,s){return h.style[dr+s]||""}class En{constructor(s,l,p,I,P,z,Z,Se){this.element=s,this.keyframes=l,this.animationName=p,this._duration=I,this._delay=P,this._finalStyles=Z,this._specialStyles=Se,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=z||"linear",this.totalTime=I+P,this._buildStyler()}onStart(s){this._onStartFns.push(s)}onDone(s){this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(s=>s()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(s=>s()),this._onStartFns=[]}finish(){this.init(),!(this._state>
1=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(s){this._styler.setPosition(s)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,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 ei(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(s){const l="start"==s?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}beforeDestroy(){this.init();const s={};if(this.hasStarted()){const l=this._state>=3;Object.keys(this._finalStyles).forEach(p=>{"offset"!=p&&(s[p]=l?this._finalStyles[p]:jn(this.element,p))})}this.currentSnapshot=s}}class mn extends He{constructor(s,l){super(),this.element=s,this._startingStyles={},this.__initialized=!1,this._styles=Vt(l)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(s=>{this._startingStyles[s]=this.element.style[s]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(s=>this.element.style.setProperty(s,this._styles[s])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(s=>{const l=this._startingStyles[s];l?this.element.style.setProperty(s,l):this.element.style.removeProperty(s)}),this._startingStyles=null,super.destroy())}}class cn{constructor(){this._count=0}validateStyleProperty(s){return ze(s)}matchesElement(s,l){return!1}containsElement(s,l){return st(s,l)}query(s,l,p){return _t(s,l,p)}computeStyle(s,l,p){return window.getComputedStyle(s)[l]}buildKeyframeElement(s,l,p){p=p.map(Z=>Vt(Z));let I=`@keyframes ${l} {\n`,P="";p.forEach(Z=>{P=" ";const Se=parseFloat(Z.offset);I+=`${P}${100*Se}% {\n`,P+=" ",Object.keys(Z).forEach(Ye=>{const at=Z[Ye];switch(Ye){case"offset":return;case"easing":return void(at&&(I+=`${P}animation-timing-function: ${at};\n`));default:return void(I+=`${P}${Ye}: ${at};\n`)}}),I+=`${P}}\n`}),I+="}\n";const z=document.createElement("style");return z.textContent=I,z}animate(s,l,p,I,P,z=[],Z){const Se=z.filter(sn=>sn instanceof En),Ye={};xt(p,I)&&Se.forEach(sn=>{let ar=sn.currentSnapshot;Object.keys(ar).forEach(lr=>Ye[lr]=ar[lr])});const at=function zr(h){let s={};return h&&(Array.isArray(h)?h:[h]).forEach(p=>{Object.keys(p).forEach(I=>{"offset"==I||"easing"==I||(s[I]=p[I])})}),s}(l=Yn(s,l,Ye));if(0==p)return new mn(s,at);const Ct="gen_css_kf_"+this._count++,zt=this.buildKeyframeElement(s,Ct,l);(function Zn(h){var s;const l=null===(s=h.getRootNode)||void 0===s?void 0:s.call(h);return"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot?l:document.head})(s).appendChild(zt);const It=Ur(s,l),kt=new En(s,l,Ct,p,I,P,at,It);return kt.onDestroy(()=>function pr(h){h.parentNode.removeChild(h)}(zt)),kt}}class w{constructor(s,l,p,I){this.element=s,this.keyframes=l,this.options=p,this._specialStyles=I,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(s,l,p){return s.animate(l,p)}onStart(s){this._onStartFns.push(s)}onDone(s){this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),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(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s={};if(this.hasStarted()){const l=this._finalKeyframe;Object.keys(l).forEach(p=>{"offset"!=p&&(s[p]=this._finished?l[p]:jn(this.element,p))})}this.currentSnapshot=s}triggerCallback(s){const l="start"==s?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}}class b{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(j().toString()),this._cssKeyframesDriver=new cn}validateStyleProperty(s){return ze(s)}matchesElement(s,l){return!1}containsElement(s,l){return st(s,l)}query(s,l,p){return _t(s,l,p)}computeStyle(s,l,p){return window.getComputedStyle(s)[l]}overrideWebAnimationsSupport(s){this._isNativeImpl=s}animate(s,l,p,I,P,z=[],Z){if(!Z&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(s,l,p,I,P,z);const at={duration:p,delay:I,fill:0==I?"both":"forwards"};P&&(at.easing=P);const Ct={},zt=z.filter(It=>It instanceof w);xt(p,I)&&zt.forEach(It=>{let kt=It.currentSnapshot;Object.keys(kt).forEach(sn=>Ct[sn]=kt[sn])});const Yt=Ur(s,l=Yn(s,l=l.map(It=>Qe(It,!1)),Ct));return new w(s,l,at,Yt)}}function j(){return Ne()&&Element.prototype.animate||{}}var c=F(9808);let E=(()=>{class h extends Fe{constructor(l,p){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(p.body,{id:"0",encapsulation:te.ifc.None,styles:[],data:{animation:[]}})}build(l){const p=this._nextAnimationId.toString();this._nextAnimationId++;const I=Array.isArray(l)?je(l):l;return O(this._renderer,null,p,"register",[I]),new u(p,this._renderer)}}
1return h.\u0275fac=function(l){return new(l||h)(te.LFG(te.FYo),te.LFG(c.K0))},h.\u0275prov=te.Yz7({token:h,factory:h.\u0275fac}),h})();class u extends class fe{}{constructor(s,l){super(),this._id=s,this._renderer=l}create(s,l){return new C(this._id,s,l||{},this._renderer)}}class C{constructor(s,l,p,I){this.id=s,this.element=l,this._renderer=I,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(s,l){return this._renderer.listen(this.element,`@@${this.id}:${s}`,l)}_command(s,...l){return O(this._renderer,this.element,this.id,s,l)}onDone(s){this._listen("done",s)}onStart(s){this._listen("start",s)}onDestroy(s){this._listen("destroy",s)}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(s){this._command("setPosition",s)}getPosition(){var s,l;return null!==(l=null===(s=this._renderer.engine.players[+this.id])||void 0===s?void 0:s.getPosition())&&void 0!==l?l:0}}function O(h,s,l,p,I){return h.setProperty(s,`@@${l}:${p}`,I)}const gt="@.disabled";let pt=(()=>{class h{constructor(l,p,I){this.delegate=l,this.engine=p,this._zone=I,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(P,z)=>{const Z=null==z?void 0:z.parentNode(P);Z&&z.removeChild(Z,P)}}createRenderer(l,p){const P=this.delegate.createRenderer(l,p);if(!(l&&p&&p.data&&p.data.animation)){let at=this._rendererCache.get(P);return at||(at=new Wt("",P,this.engine),this._rendererCache.set(P,at)),at}const z=p.id,Z=p.id+"-"+this._currentId;this._currentId++,this.engine.register(Z,l);const Se=at=>{Array.isArray(at)?at.forEach(Se):this.engine.registerTrigger(z,Z,l,at.name,at)};return p.data.animation.forEach(Se),new un(this,Z,P,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,p,I){l>=0&&l<this._microtaskId?this._zone.run(()=>p(I)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(P=>{const[z,Z]=P;z(Z)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,I]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return h.\u0275fac=function(l){return new(l||h)(te.LFG(te.FYo),te.LFG(ui),te.LFG(te.R0b))},h.\u0275prov=te.Yz7({token:h,factory:h.\u0275fac}),h})();class Wt{constructor(s,l,p){this.namespaceId=s,this.delegate=l,this.engine=p,this.destroyNode=this.delegate.destroyNode?I=>l.destroyNode(I):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(s,l){return this.delegate.createElement(s,l)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,l){this.delegate.appendChild(s,l),this.engine.onInsert(this.namespaceId,l,s,!1)}insertBefore(s,l,p,I=!0){this.delegate.insertBefore(s,l,p),this.engine.onInsert(this.namespaceId,l,s,I)}removeChild(s,l,p){this.engine.onRemove(this.namespaceId,l,this.delegate,p)}selectRootElement(s,l){return this.delegate.selectRootElement(s,l)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,l,p,I){this.delegate.setAttribute(s,l,p,I)}removeAttribute(s,l,p){this.delegate.removeAttribute(s,l,p)}addClass(s,l){this.delegate.addClass(s,l)}removeClass(s,l){this.delegate.removeClass(s,l)}setStyle(s,l,p,I){this.delegate.setStyle(s,l,p,I)}removeStyle(s,l,p){this.delegate.removeStyle(s,l,p)}setProperty(s,l,p){"@"==l.charAt(0)&&l==gt?this.disableAnimations(s,!!p):this.delegate.setProperty(s,l,p)}setValue(s,l){this.delegate.setValue(s,l)}listen(s,l,p){return this.delegate.listen(s,l,p)}disableAnimations(s,l){this.engine.disableAnimations(s,l)}}class un extends Wt{constructor(s,l,p,I){super(l,p,I),this.factory=s,this.namespaceId=l}setProperty(s,l,p){"@"==l.charAt(0)?"."==l.charAt(1)&&l==gt?this.disableAnimations(s,p=void 0===p||!!p):this.engine.process(this.namespaceId,s,l.substr(1),p):this.delegate.setProperty(s,l,p)}listen(s,l,p){if("@"==l.charAt(0)){const I=function dn(h){switch(h){case"body":return document.body;case"document":return document;case"window":return window;default:return h}}(s);let P=l.substr(1),z="";return"@"!=P.charAt(0)&&([P,z]=function Ln(h){const s=h.indexOf(".");return[h.substring(0,s),h.substr(s+1)]}(P)),this.engine.listen(this.namespaceId,I,P,z,Z=>{this.factory.scheduleListenerCallback(Z._data||-1,p,Z)})}return this.delegate.listen(s,l,p)}}let gr=(()=>{class h extends ui{constructor(l,p,I){super(l.body,p,I)}ngOnDestroy(){this.flush()}}
1return h.\u0275fac=function(l){return new(l||h)(te.LFG(c.K0),te.LFG(Jt),te.LFG(Mt))},h.\u0275prov=te.Yz7({token:h,factory:h.\u0275fac}),h})();const Wr=new te.OlP("AnimationModuleType"),wr=[{provide:Fe,useClass:E},{provide:Mt,useFactory:function Yr(){return new or}},{provide:ui,useClass:gr},{provide:te.FYo,useFactory:function ti(h,s,l){return new pt(h,s,l)},deps:[i.se,ui,te.R0b]}],gi=[{provide:Jt,useFactory:function ki(){return function _(){return"function"==typeof j()}()?new b:new cn}},{provide:Wr,useValue:"BrowserAnimations"},...wr],Zo=[{provide:Jt,useClass:Et},{provide:Wr,useValue:"NoopAnimations"},...wr];let Li=(()=>{class h{static withConfig(l){return{ngModule:h,providers:l.disableAnimations?Zo:gi}}}return h.\u0275fac=function(l){return new(l||h)},h.\u0275mod=te.oAB({type:h}),h.\u0275inj=te.cJS({providers:gi,imports:[i.b2]}),h})();var Ys=F(5861),Jo=F(727);class Ws extends Jo.w0{constructor(s,l){super()}schedule(s,l=0){return this}}const Eo={setInterval(...h){const{delegate:s}=Eo;return((null==s?void 0:s.setInterval)||setInterval)(...h)},clearInterval(h){const{delegate:s}=Eo;return((null==s?void 0:s.clearInterval)||clearInterval)(h)},delegate:void 0};var Co=F(8737);const bo={now:()=>(bo.delegate||Date).now(),delegate:void 0};class Ai{constructor(s,l=Ai.now){this.schedulerActionCtor=s,this.now=l}schedule(s,l=0,p){return new this.schedulerActionCtor(this,s).schedule(p,l)}}Ai.now=bo.now;const lo=new class ts extends Ai{constructor(s,l=Ai.now){super(s,l),this.actions=[],this._active=!1,this._scheduled=void 0}flush(s){const{actions:l}=this;if(this._active)return void l.push(s);let p;this._active=!0;do{if(p=s.execute(s.state,s.delay))break}while(s=l.shift());if(this._active=!1,p){for(;s=l.shift();)s.unsubscribe();throw p}}}(class es extends Ws{constructor(s,l){super(s,l),this.scheduler=s,this.work=l,this.pending=!1}schedule(s,l=0){if(this.closed)return this;this.state=s;const p=this.id,I=this.scheduler;return null!=p&&(this.id=this.recycleAsyncId(I,p,l)),this.pending=!0,this.delay=l,this.id=this.id||this.requestAsyncId(I,this.id,l),this}requestAsyncId(s,l,p=0){return Eo.setInterval(s.flush.bind(s,this),p)}recycleAsyncId(s,l,p=0){if(null!=p&&this.delay===p&&!1===this.pending)return l;Eo.clearInterval(l)}execute(s,l){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const p=this._execute(s,l);if(p)return p;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(s,l){let I,p=!1;try{this.work(s)}catch(P){p=!0,I=P||new Error("Scheduled action threw falsy error")}if(p)return this.unsubscribe(),I}unsubscribe(){if(!this.closed){const{id:s,scheduler:l}=this,{actions:p}=l;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Co.P)(p,this),null!=s&&(this.id=this.recycleAsyncId(l,s,null)),this.delay=null,super.unsubscribe()}}}),wo=lo;var co=F(8306),ns=F(3532);function ko(h=0,s,l=wo){let p=-1;return null!=s&&((0,ns.K)(s)?l=s:p=s),new co.y(I=>{let P=function rs(h){return h instanceof Date&&!isNaN(h)}(h)?+h-l.now():h;P<0&&(P=0);let z=0;return l.schedule(function(){I.closed||(I.next(z++),0<=p?this.schedule(void 0,p):I.complete())},P)})}var Lo=F(9770),Bo=F(576),ni=F(4968),Gn=F(9646),is=F(7272),$o=F(7579),os=F(5032);const Mi=new co.y(os.Z);var ss=F(6451),ri=F(4004),rr=F(9300),Bi=F(3900),Ki=F(4033),uo=F(2076),So=F(4482);const fo={connector:()=>new $o.x};function as(h,s=fo){const{connector:l}=s;return(0,So.e)((p,I)=>{const P=l();(0,uo.D)(h(function Br(h){return new co.y(s=>h.subscribe(s))}(P))).subscribe(I),I.add(p.subscribe(P))})}var ii=F(5698),cs=F(8505),Vo=F(5403),po=F(5577);function jo(h,s){return s?l=>
1(0,is.z)(s.pipe((0,ii.q)(1),function ul(){return(0,So.e)((h,s)=>{h.subscribe(new Vo.Q(s,os.Z))})}()),l.pipe(jo(h))):(0,po.z)((l,p)=>h(l,p).pipe((0,ii.q)(1),function qi(h){return(0,ri.U)(()=>h)}(l)))}const Oi="Service workers are disabled or not supported by this browser";class go{constructor(s){if(this.serviceWorker=s,s){const p=(0,ni.R)(s,"controllerchange").pipe((0,ri.U)(()=>s.controller)),I=(0,Lo.P)(()=>(0,Gn.of)(s.controller)),P=(0,is.z)(I,p);this.worker=P.pipe((0,rr.h)(at=>!!at)),this.registration=this.worker.pipe((0,Bi.w)(()=>s.getRegistration()));const Ye=(0,ni.R)(s,"message").pipe((0,ri.U)(at=>at.data)).pipe((0,rr.h)(at=>at&&at.type)).pipe(function ho(h){return h?s=>as(h)(s):s=>function ls(h,s){const l=(0,Bo.m)(h)?h:()=>h;return(0,Bo.m)(s)?as(s,{connector:l}):p=>new Ki.c(p,l)}(new $o.x)(s)}());Ye.connect(),this.events=Ye}else this.worker=this.events=this.registration=function us(h){return(0,Lo.P)(()=>function Mr(h,s){const l=(0,Bo.m)(h)?h:()=>h,p=I=>I.error(l());return new co.y(s?I=>s.schedule(p,0,I):p)}(new Error(h)))}(Oi)}postMessage(s,l){return this.worker.pipe((0,ii.q)(1),(0,cs.b)(p=>{p.postMessage(Object.assign({action:s},l))})).toPromise().then(()=>{})}postMessageWithOperation(s,l,p){const I=this.waitForOperationCompleted(p),P=this.postMessage(s,l);return Promise.all([P,I]).then(([,z])=>z)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(s){let l;return l="string"==typeof s?p=>p.type===s:p=>s.includes(p.type),this.events.pipe((0,rr.h)(l))}nextEventOfType(s){return this.eventsOfType(s).pipe((0,ii.q)(1))}waitForOperationCompleted(s){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,rr.h)(l=>l.nonce===s),(0,ii.q)(1),(0,ri.U)(l=>{if(void 0!==l.result)return l.result;throw new Error(l.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Xi=(()=>{class h{constructor(l){if(this.sw=l,this.subscriptionChanges=new $o.x,!l.isEnabled)return this.messages=Mi,this.notificationClicks=Mi,void(this.subscription=Mi);this.messages=this.sw.eventsOfType("PUSH").pipe((0,ri.U)(I=>I.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,ri.U)(I=>I.data)),this.pushManager=this.sw.registration.pipe((0,ri.U)(I=>I.pushManager));const p=this.pushManager.pipe((0,Bi.w)(I=>I.getSubscription()));this.subscription=(0,ss.T)(p,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(l){if(!this.sw.isEnabled)return Promise.reject(new Error(Oi));const p={userVisibleOnly:!0};let I=this.decodeBase64(l.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),P=new Uint8Array(new ArrayBuffer(I.length));for(let z=0;z<I.length;z++)P[z]=I.charCodeAt(z);return p.applicationServerKey=P,this.pushManager.pipe((0,Bi.w)(z=>z.subscribe(p)),(0,ii.q)(1)).toPromise().then(z=>(this.subscriptionChanges.next(z),z))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,ii.q)(1),(0,Bi.w)(p=>{if(null===p)throw new Error("Not subscribed to push notifications.");return p.unsubscribe().then(I=>{if(!I)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Oi))}decodeBase64(l){return atob(l)}}return h.\u0275fac=function(l){return new(l||h)(te.LFG(go))},h.\u0275prov=te.Yz7({token:h,factory:h.\u0275fac}),h})(),Uo=(()=>{class h{constructor(l){if(this.sw=l,!l.isEnabled)return this.versionUpdates=Mi,this.available=Mi,this.activated=Mi,void(this.unrecoverable=Mi);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY"]),this.available=this.versionUpdates.pipe((0,rr.h)(p=>"VERSION_READY"===p.type),(0,ri.U)(p=>({type:"UPDATE_AVAILABLE",current:p.currentVersion,available:p.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Oi));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:l},l)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Oi));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:l},l)}}
1return h.\u0275fac=function(l){return new(l||h)(te.LFG(go))},h.\u0275prov=te.Yz7({token:h,factory:h.\u0275fac}),h})();class Fi{}const To=new te.OlP("NGSW_REGISTER_SCRIPT");function Io(h,s,l,p){return()=>{if(!(0,c.NF)(p)||!("serviceWorker"in navigator)||!1===l.enabled)return;let P;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof l.registrationStrategy)P=l.registrationStrategy();else{const[Z,...Se]=(l.registrationStrategy||"registerWhenStable:30000").split(":");switch(Z){case"registerImmediately":P=(0,Gn.of)(null);break;case"registerWithDelay":P=zo(+Se[0]||0);break;case"registerWhenStable":P=Se[0]?(0,ss.T)(Go(h),zo(+Se[0])):Go(h);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${l.registrationStrategy}`)}}h.get(te.R0b).runOutsideAngular(()=>P.pipe((0,ii.q)(1)).subscribe(()=>navigator.serviceWorker.register(s,{scope:l.scope}).catch(Z=>console.error("Service worker registration failed with:",Z))))}}function zo(h){return(0,Gn.of)(null).pipe(function Ho(h,s=lo){const l=ko(h,s);return jo(()=>l)}(h))}function Go(h){return h.get(te.z2F).isStable.pipe((0,rr.h)(l=>l))}function ds(h,s){return new go((0,c.NF)(s)&&!1!==h.enabled?navigator.serviceWorker:void 0)}let fs=(()=>{class h{static register(l,p={}){return{ngModule:h,providers:[{provide:To,useValue:l},{provide:Fi,useValue:p},{provide:go,useFactory:ds,deps:[Fi,te.Lbi]},{provide:te.ip1,useFactory:Io,deps:[te.zs3,To,Fi,te.Lbi],multi:!0}]}}}return h.\u0275fac=function(l){return new(l||h)},h.\u0275mod=te.oAB({type:h}),h.\u0275inj=te.cJS({providers:[Xi,Uo]}),h})(),hs=(()=>{class h{constructor(l,p,I,P){this.updates=l,this.toastCtrl=p,this.alertController=I,this.router=P,l.isEnabled&&function Wi(h=0,s=lo){return h<0&&(h=0),ko(h,h,s)}(6e4).subscribe(()=>l.checkForUpdate().then(()=>console.log("checking for updates")))}checkForUpdates(){this.updates.available.subscribe(l=>this.promptUser())}promptUser(){this.presentAlertConfirm()}presentAlertConfirm(){var l=this;return(0,Ys.Z)(function*(){yield(yield l.alertController.create({header:"New Update available!",message:"Reload the app for the latest version.",backdropDismiss:!1,buttons:[{text:"Cancel",role:"cancel",cssClass:"secondary",handler:I=>{console.log("Confirm Cancel")}},{text:"Ok",handler:()=>{l.router.navigateByUrl(""),l.updates.activateUpdate().then(()=>document.location.reload())}}]})).present()})()}}return h.\u0275fac=function(l){return new(l||h)(te.LFG(Uo),te.LFG(X.yF),te.LFG(X.Br),te.LFG(Y.F0))},h.\u0275prov=te.Yz7({token:h,factory:h.\u0275fac}),h})();var mo=F(6576);let y=(()=>{class h{constructor(l,p,I){this.platform=l,this.sw=p,this.analyticsProvider=I,this.initializeApp(),this.sw.checkForUpdates()}initializeApp(){this.platform.ready().then(()=>{this.analyticsProvider.startTrackerWithId("G-VN8Y6SLHQK");let l=localStorage.getItem("appinstalled");window.matchMedia("(display-mode: standalone)").matches&&"true"!=l&&(this.analyticsProvider.trackEvent("Users","addToHomeButton","addToHomeButton"),localStorage.setItem("appinstalled","true"))})}}return h.\u0275fac=function(l){return new(l||h)(te.Y36(X.t4),te.Y36(hs),te.Y36(mo.n))},h.\u0275cmp=te.Xpm({type:h,selectors:[["app-root"]],decls:2,vars:0,template:function(l,p){1&l&&(te.TgZ(0,"ion-app"),te._UZ(1,"ion-router-outlet"),te.qZA())},directives:[X.dr,X.jP],encapsulation:2}),h})();var g=F(2635);const f=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",data:{animation:"HomePage"},loadChildren:()=>Promise.all([F.e(8592),F.e(9923)]).then(F.bind(F,9923)).then(h=>h.HomePageModule)},{path:"tours",data:{animation:"ToursPage",name:"ToursDetail"},loadChildren:()=>Promise.all([F.e(8592),F.e(2894)]).then(F.bind(F,2894)).then(h=>h.ToursPageModule)},{path:"tours/tour",data:{animation:"TourPage",name:"TourDetail"},loadChildren:()=>Promise.all([F.e(8592),F.e(3524)]).then(F.bind(F,3524)).then(h=>h.TourPageModule)},{path:"tours/tour/details",data:{animation:"VisitorPage",name:"VisitorDetail"},loadChildren:()=>Promise.all([F.e(8592),F.e(9201)]).then(F.bind(F,9201)).then(h=>h.VisitorPageModule)}];let D=(()=>{class h{}
1return h.\u0275fac=function(l){return new(l||h)},h.\u0275mod=te.oAB({type:h}),h.\u0275inj=te.cJS({providers:[g.g],imports:[[Y.Bz.forRoot(f,{preloadingStrategy:g.g})],Y.Bz]}),h})();var A=F(7410);let k=(()=>{class h{constructor(l){this.injector=l,h.injector=l}}return h.\u0275fac=function(l){return new(l||h)(te.LFG(te.zs3))},h.\u0275mod=te.oAB({type:h,bootstrap:[y]}),h.\u0275inj=te.cJS({providers:[X.t4,hs,mo.n,{provide:Y.wN,useClass:X.r4}],imports:[[i.b2,X.Pc.forRoot(),D,Li,ge.JF,fs.register("ngsw-worker.js",{enabled:A.N.production})]]}),h})()},7410:(vt,Ve,F)=>{"use strict";F.d(Ve,{N:()=>i,T:()=>Y});const i={production:!0,version:"26.1",versionCode:260101},Y="https://api-refactor-dot-its-my-town.appspot.com"},3824:(vt,Ve,F)=>{"use strict";var i=F(2313),Y=F(4893),X=F(414);F(7410).N.production&&(0,Y.G48)(),i.q6().bootstrapModule(X.b).catch(te=>console.log(te))},1135:(vt,Ve,F)=>{"use strict";F.d(Ve,{X:()=>Y});var i=F(7579);class Y extends i.x{constructor(ge){super(),this._value=ge}get value(){return this.getValue()}_subscribe(ge){const te=super._subscribe(ge);return!te.closed&&ge.next(this._value),te}getValue(){const{hasError:ge,thrownError:te,_value:Fe}=this;if(ge)throw te;return this._throwIfClosed(),Fe}next(ge){super.next(this._value=ge)}}},8306:(vt,Ve,F)=>{"use strict";F.d(Ve,{y:()=>Pe});var i=F(930),Y=F(727),X=F(8822),ge=F(4671);var fe=F(2416),$e=F(576),Me=F(2806);let Pe=(()=>{class pe{constructor(Q){Q&&(this._subscribe=Q)}lift(Q){const ie=new pe;return ie.source=this,ie.operator=Q,ie}subscribe(Q,ie,Ie){const Ke=function re(pe){return pe&&pe instanceof i.Lv||function je(pe){return pe&&(0,$e.m)(pe.next)&&(0,$e.m)(pe.error)&&(0,$e.m)(pe.complete)}(pe)&&(0,Y.Nn)(pe)}(Q)?Q:new i.Hp(Q,ie,Ie);return(0,Me.x)(()=>{const{operator:Re,source:Ue}=this;Ke.add(Re?Re.call(Ke,Ue):Ue?this._subscribe(Ke):this._trySubscribe(Ke))}),Ke}_trySubscribe(Q){try{return this._subscribe(Q)}catch(ie){Q.error(ie)}}forEach(Q,ie){return new(ie=_e(ie))((Ie,Ke)=>{let Re;Re=this.subscribe(Ue=>{try{Q(Ue)}catch(we){Ke(we),null==Re||Re.unsubscribe()}},Ke,Ie)})}_subscribe(Q){var ie;return null===(ie=this.source)||void 0===ie?void 0:ie.subscribe(Q)}[X.L](){return this}pipe(...Q){return function Fe(pe){return 0===pe.length?ge.y:1===pe.length?pe[0]:function(Q){return pe.reduce((ie,Ie)=>Ie(ie),Q)}}(Q)(this)}toPromise(Q){return new(Q=_e(Q))((ie,Ie)=>{let Ke;this.subscribe(Re=>Ke=Re,Re=>Ie(Re),()=>ie(Ke))})}}return pe.create=Te=>new pe(Te),pe})();function _e(pe){var Te;return null!==(Te=null!=pe?pe:fe.v.Promise)&&void 0!==Te?Te:Promise}},7579:(vt,Ve,F)=>{"use strict";F.d(Ve,{x:()=>fe});var i=F(8306),Y=F(727);const ge=(0,F(3888).d)(Me=>function(){Me(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=F(8737),Fe=F(2806);let fe=(()=>{class Me extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(_e){const je=new $e(this,this);return je.operator=_e,je}_throwIfClosed(){if(this.closed)throw new ge}next(_e){(0,Fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const je=this.observers.slice();for(const re of je)re.next(_e)}})}error(_e){(0,Fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=_e;const{observers:je}=this;for(;je.length;)je.shift().error(_e)}})}complete(){(0,Fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:_e}=this;for(;_e.length;)_e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var _e;return(null===(_e=this.observers)||void 0===_e?void 0:_e.length)>0}_trySubscribe(_e){return this._throwIfClosed(),super._trySubscribe(_e)}_subscribe(_e){return this._throwIfClosed(),this._checkFinalizedStatuses(_e),this._innerSubscribe(_e)}_innerSubscribe(_e){const{hasError:je,isStopped:re,observers:pe}=this;return je||re?Y.Lc:(pe.push(_e),new Y.w0(()=>(0,te.P)(pe,_e)))}_checkFinalizedStatuses(_e){const{hasError:je,thrownError:re,isStopped:pe}=this;je?_e.error(re):pe&&_e.complete()}asObservable(){const _e=new i.y;return _e.source=this,_e}}return Me.create=(Pe,_e)=>new $e(Pe,_e),Me})();class $e extends fe{constructor(Pe,_e){super(),this.destination=Pe,this.source=_e}next(Pe){var _e,je;null===(je=null===(_e=this.destination)||void 0===_e?void 0:_e.next)||void 0===je||je.call(_e,Pe)}error(Pe){var _e,je;null===(je=null===(_e=this.destination)||void 0===_e?void 0:_e.error)||void 0===je||je.call(_e,Pe)}complete(){var Pe,_e;null===(_e=null===(Pe=this.destination)||void 0===Pe?void 0:Pe.complete)||void 0===_e||_e.call(Pe)}_subscribe(Pe){var _e,je;return null!==(je=null===(_e=this.source)||void 0===_e?void 0:_e.
1subscribe(Pe))&&void 0!==je?je:Y.Lc}}},930:(vt,Ve,F)=>{"use strict";F.d(Ve,{Hp:()=>re,Lv:()=>je});var i=F(576),Y=F(727),X=F(2416),ge=F(7849),te=F(5032);const Fe=Me("C",void 0,void 0);function Me(Ie,Ke,Re){return{kind:Ie,value:Ke,error:Re}}var Pe=F(3410),_e=F(2806);class je extends Y.w0{constructor(Ke){super(),this.isStopped=!1,Ke?(this.destination=Ke,(0,Y.Nn)(Ke)&&Ke.add(this)):this.destination=ie}static create(Ke,Re,Ue){return new re(Ke,Re,Ue)}next(Ke){this.isStopped?Q(function $e(Ie){return Me("N",Ie,void 0)}(Ke),this):this._next(Ke)}error(Ke){this.isStopped?Q(function fe(Ie){return Me("E",void 0,Ie)}(Ke),this):(this.isStopped=!0,this._error(Ke))}complete(){this.isStopped?Q(Fe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ke){this.destination.next(Ke)}_error(Ke){try{this.destination.error(Ke)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class re extends je{constructor(Ke,Re,Ue){let we;if(super(),(0,i.m)(Ke))we=Ke;else if(Ke){let He;({next:we,error:Re,complete:Ue}=Ke),this&&X.v.useDeprecatedNextContext?(He=Object.create(Ke),He.unsubscribe=()=>this.unsubscribe()):He=Ke,we=null==we?void 0:we.bind(He),Re=null==Re?void 0:Re.bind(He),Ue=null==Ue?void 0:Ue.bind(He)}this.destination={next:we?pe(we):te.Z,error:pe(null!=Re?Re:Te),complete:Ue?pe(Ue):te.Z}}}function pe(Ie,Ke){return(...Re)=>
1{try{Ie(...Re)}catch(Ue){X.v.useDeprecatedSynchronousErrorHandling?(0,_e.O)(Ue):(0,ge.h)(Ue)}}}function Te(Ie){throw Ie}function Q(Ie,Ke){const{onStoppedNotification:Re}=X.v;Re&&Pe.z.setTimeout(()=>Re(Ie,Ke))}const ie={closed:!0,next:te.Z,error:Te,complete:te.Z}},727:(vt,Ve,F)=>{"use strict";F.d(Ve,{Lc:()=>Fe,w0:()=>te,Nn:()=>fe});var i=F(576);const X=(0,F(3888).d)(Me=>function(_e){Me(this),this.message=_e?`${_e.length} errors occurred during unsubscription:\n${_e.map((je,re)=>`${re+1}) ${je.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=_e});var ge=F(8737);class te{constructor(Pe){this.initialTeardown=Pe,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let Pe;if(!this.closed){this.closed=!0;const{_parentage:_e}=this;if(_e)if(this._parentage=null,Array.isArray(_e))for(const pe of _e)pe.remove(this);else _e.remove(this);const{initialTeardown:je}=this;if((0,i.m)(je))try{je()}catch(pe){Pe=pe instanceof X?pe.errors:[pe]}const{_teardowns:re}=this;if(re){this._teardowns=null;for(const pe of re)try{$e(pe)}catch(Te){Pe=null!=Pe?Pe:[],Te instanceof X?Pe=[...Pe,...Te.errors]:Pe.push(Te)}}if(Pe)throw new X(Pe)}}add(Pe){var _e;if(Pe&&Pe!==this)if(this.closed)$e(Pe);else{if(Pe instanceof te){if(Pe.closed||Pe._hasParent(this))return;Pe._addParent(this)}(this._teardowns=null!==(_e=this._teardowns)&&void 0!==_e?_e:[]).push(Pe)}}_hasParent(Pe){const{_parentage:_e}=this;return _e===Pe||Array.isArray(_e)&&_e.includes(Pe)}_addParent(Pe){const{_parentage:_e}=this;this._parentage=Array.isArray(_e)?(_e.push(Pe),_e):_e?[_e,Pe]:Pe}_removeParent(Pe){const{_parentage:_e}=this;_e===Pe?this._parentage=null:Array.isArray(_e)&&(0,ge.P)(_e,Pe)}remove(Pe){const{_teardowns:_e}=this;_e&&(0,ge.P)(_e,Pe),Pe instanceof te&&Pe._removeParent(this)}}te.EMPTY=(()=>{const Me=new te;return Me.closed=!0,Me})();const Fe=te.EMPTY;function fe(Me){return Me instanceof te||Me&&"closed"in Me&&(0,i.m)(Me.remove)&&(0,i.m)(Me.add)&&(0,i.m)(Me.unsubscribe)}function $e(Me){(0,i.m)(Me)?Me():Me.unsubscribe()}},2416:(vt,Ve,F)=>{"use strict";F.d(Ve,{v:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(vt,Ve,F)=>{"use strict";F.d(Ve,{c:()=>Fe});var i=F(8306),Y=F(727),X=F(8343),ge=F(5403),te=F(4482);class Fe extends i.y{constructor($e,Me){super(),this.source=$e,this.subjectFactory=Me,this._subject=null,this._refCount=0,this._connection=null,(0,te.A)($e)&&(this.lift=$e.lift)}_subscribe($e){return this.getSubject().subscribe($e)}getSubject(){const $e=this._subject;return(!$e||$e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:$e}=this;this._subject=this._connection=null,null==$e||$e.unsubscribe()}connect(){let $e=this._connection;if(!$e){$e=this._connection=new Y.w0;const Me=this.getSubject();$e.add(this.source.subscribe(new ge.Q(Me,void 0,()=>{this._teardown(),Me.complete()},Pe=>{this._teardown(),Me.error(Pe)},()=>this._teardown()))),$e.closed&&(this._connection=null,$e=Y.w0.EMPTY)}return $e}refCount(){return(0,X.x)()(this)}}},7272:(vt,Ve,F)=>{"use strict";F.d(Ve,{z:()=>te});var i=F(8189),X=F(3269),ge=F(2076);function te(...Fe){return function Y(){return(0,i.J)(1)}()((0,ge.D)(Fe,(0,X.yG)(Fe)))}},9770:(vt,Ve,F)=>{"use strict";F.d(Ve,{P:()=>X});var i=F(8306),Y=F(8421);function X(ge){return new i.y(te=>{(0,Y.Xf)(ge()).subscribe(te)})}},515:(vt,Ve,F)=>{"use strict";F.d(Ve,{E:()=>Y});const Y=new(F(8306).y)(te=>te.complete())},2076:(vt,Ve,F)=>{"use strict";F.d(Ve,{D:()=>Oe});var i=F(8421),Y=F(9672),X=F(4482),ge=F(5403);function te(be,Ne=0){return(0,X.e)((oe,B)=>{oe.subscribe(new ge.Q(B,L=>(0,Y.f)(B,be,()=>B.next(L),Ne),()=>(0,Y.f)(B,be,()=>B.complete(),Ne),L=>(0,Y.f)(B,be,()=>B.error(L),Ne)))})}function Fe(be,Ne=0){return(0,X.e)((oe,B)=>{B.add(be.schedule(()=>oe.subscribe(B),Ne))})}var Me=F(8306),_e=F(2202),je=F(576);function pe(be,Ne){if(!be)throw new Error("Iterable cannot be null");return new Me.y(oe=>{(0,Y.f)(oe,Ne,()=>{const B=be[Symbol.asyncIterator]();(0,Y.f)(oe,Ne,()=>{B.next().then(L=>{L.done?oe.complete():oe.next(L.value)})},0,!0)})})}var Te=F(3670),Q=F(8239),ie=F(1144),Ie=F(6495),Ke=F(2206),Re=F(4532),Ue=F(3260);function Oe(be,Ne){return Ne?function He(be,Ne){if(null!=be){if((0,Te.c)(be))return function fe(be,Ne){return(0,i.Xf)(be).pipe(Fe(Ne),te(Ne))}(be,Ne);if((0,ie.z)(be))return function Pe(be,Ne){return new Me.y(oe=>{let B=0;return Ne.schedule(function(){B===be.length?oe.complete():(oe.next(be[B++]),oe.closed||this.schedule())})})}(be,Ne);if((0,Q.t)(be))return function $e(be,Ne){return(0,i.Xf)(be).pipe(Fe(Ne),te(Ne))}(be,Ne);if((0,Ke.D)(be))return pe(be,Ne);if((0,Ie.T)(be))return function re(be,Ne){return new Me.y(oe=>{let B;return(0,Y.f)(oe,Ne,()=>{B=be[_e.h](),(0,Y.f)(oe,Ne,()=>{let L,$;try{({value:L,done:$}=B.next())}catch(K){return void oe.error(K)}$?oe.complete():oe.next(L)},0,!0)}),()=>(0,je.m)(null==B?void 0:B.return)&&B.return()})}(be,Ne);if((0,Ue.L)(be))return function we(be,Ne){return pe((0,Ue.Q)(be),Ne)}(be,Ne)}throw(0,Re.z)(be)}(be,Ne):(0,i.Xf)(be)}},4968:(vt,Ve,F)=>{"use strict";F.d(Ve,{R:()=>Pe});var i=F(8421),Y=F(8306),X=F(5577),ge=F(1144),te=F(576),Fe=F(3268);const fe=["addListener","removeListener"],$e=["addEventListener","removeEventListener"],Me=["on","off"];function Pe(Te,Q,ie,Ie){if((0,te.m)(ie)&&(Ie=ie,ie=void 0),Ie)return Pe(Te,Q,ie).pipe((0,Fe.Z)(Ie));const[Ke,Re]=function pe(Te){return(0,te.m)(Te.addEventListener)&&(0,te.m)(Te.removeEventListener)}(Te)?$e.map(Ue=>we=>Te[Ue](Q,we,ie)):function je(Te){return(0,te.m)(Te.addListener)&&(0,te.m)(Te.removeListener)}(Te)?fe.map(_e(Te,Q)):function re(Te){return(0,te.m)(Te.on)&&(0,te.m)(Te.off)}(Te)?Me.map(_e(Te,Q)):[];if(!Ke&&(0,ge.z)(Te))return(0,X.z)(Ue=>Pe(Ue,Q,ie))((0,i.Xf)(Te));if(!Ke)throw new TypeError("Invalid event target");return new Y.y(Ue=>{const we=(...He)=>Ue.next(1<He.length?He:He[0]);return Ke(we),()=>Re(we)})}function _e(Te,Q){return ie=>Ie=>Te[ie](Q,Ie)}},8421:(vt,Ve,F)=>{"use strict";F.d(Ve,{Xf:()=>re});var i=F(5987),Y=F(1144),X=F(8239),ge=F(8306),te=F(3670),Fe=F(2206),fe=F(4532),$e=F(6495),Me=F(3260),Pe=F(576),_e=F(7849),je=F(8822);function re(Ue){if(Ue instanceof ge.y)return Ue;if(null!=Ue){if((0,te.c)(Ue))return function pe(Ue){return new ge.y(we=>{const He=Ue[je.L]();if((0,Pe.m)(He.subscribe))return He.subscribe(we);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ue);if((0,Y.z)(Ue))return function Te(Ue){return new ge.y(we=>{for(let He=0;He<Ue.length&&!we.closed;He++)we.next(Ue[He]);we.complete()})}(Ue);if((0,X.t)(Ue))return function Q(Ue){return new ge.y(we=>{Ue.then(He=>{we.closed||(we.next(He),we.complete())},He=>we.error(He)).then(null,_e.h)})}(Ue);if((0,Fe.D)(Ue))return Ie(Ue);if((0,$e.T)(Ue))return function ie(Ue){return new ge.y(we=>{for(const He of Ue)if(we.next(He),we.closed)return;we.complete()})}(Ue);if((0,Me.L)(Ue))return function Ke(Ue){return Ie((0,Me.Q)(Ue))}(Ue)}throw(0,fe.z)(Ue)}function Ie(Ue){return new ge.y(we=>{(function Re(Ue,we){var He,Oe,be,Ne;return(0,i.mG)(this,void 0,void 0,function*(){try{for(He=(0,i.KL)(Ue);!(Oe=yield He.next()).done;)if(we.next(Oe.value),we.closed)return}catch(oe){be={error:oe}}finally{try{Oe&&!Oe.done&&(Ne=He.return)&&(yield Ne.call(He))}finally{if(be)throw be.error}}we.complete()})})(Ue,we).catch(He=>we.error(He))})}},6451:(vt,Ve,F)=>{"use strict";F.d(Ve,{T:()=>Fe});var i=F(8189),Y=F(8421),X=F(515),ge=F(3269),te=F(2076);function Fe(...fe){const $e=(0,ge.yG)(fe),Me=(0,ge._6)(fe,1/0),Pe=fe;return Pe.length?1===Pe.length?(0,Y.Xf)(Pe[0]):(0,i.J)(Me)((0,te.D)(Pe,$e)):X.E}},9646:(vt,Ve,F)=>{"use strict";F.d(Ve,{of:()=>X});var i=F(3269),Y=F(2076);function X(...ge){const te=(0,i.yG)(ge);return(0,Y.D)(ge,te)}},5403:(vt,Ve,F)=>{"use strict";F.d(Ve,{Q:()=>Y});var i=F(930);class Y extends i.Lv{constructor(ge,te,Fe,fe,$e){super(ge),this.onFinalize=$e,this._next=te?function(Me){try{te(Me)}catch(Pe){ge.error(Pe)}}:super._next,this._error=fe?function(Me){try{fe(Me)}catch(Pe){ge.error(Pe)}finally{this.unsubscribe()}}:super._error,this._complete=Fe?function(){try{Fe()}catch(Me){ge.error(Me)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ge;const{closed:te}=this;super.unsubscribe(),!te&&(null===(ge=this.onFinalize)||void 0===ge||ge.call(this))}}},4351:(vt,Ve,F)=>{"use strict";F.d(Ve,{b:()=>X});var i=F(5577),Y=F(576);function X(ge,te){return(0,Y.m)(te)?(0,i.z)(ge,te,1):(0,i.z)(ge,1)}},9300:(vt,Ve,F)=>{"use strict";F.d(Ve,{h:()=>X});var i=F(4482),Y=F(5403);
1function X(ge,te){return(0,i.e)((Fe,fe)=>{let $e=0;Fe.subscribe(new Y.Q(fe,Me=>ge.call(te,Me,$e++)&&fe.next(Me)))})}},4004:(vt,Ve,F)=>{"use strict";F.d(Ve,{U:()=>X});var i=F(4482),Y=F(5403);function X(ge,te){return(0,i.e)((Fe,fe)=>{let $e=0;Fe.subscribe(new Y.Q(fe,Me=>{fe.next(ge.call(te,Me,$e++))}))})}},8189:(vt,Ve,F)=>{"use strict";F.d(Ve,{J:()=>X});var i=F(5577),Y=F(4671);function X(ge=1/0){return(0,i.z)(Y.y,ge)}},5577:(vt,Ve,F)=>{"use strict";F.d(Ve,{z:()=>$e});var i=F(4004),Y=F(8421),X=F(4482),ge=F(9672),te=F(5403),fe=F(576);function $e(Me,Pe,_e=1/0){return(0,fe.m)(Pe)?$e((je,re)=>(0,i.U)((pe,Te)=>Pe(je,pe,re,Te))((0,Y.Xf)(Me(je,re))),_e):("number"==typeof Pe&&(_e=Pe),(0,X.e)((je,re)=>function Fe(Me,Pe,_e,je,re,pe,Te,Q){const ie=[];let Ie=0,Ke=0,Re=!1;const Ue=()=>{Re&&!ie.length&&!Ie&&Pe.complete()},we=Oe=>Ie<je?He(Oe):ie.push(Oe),He=Oe=>{pe&&Pe.next(Oe),Ie++;let be=!1;(0,Y.Xf)(_e(Oe,Ke++)).subscribe(new te.Q(Pe,Ne=>{null==re||re(Ne),pe?we(Ne):Pe.next(Ne)},()=>{be=!0},void 0,()=>{if(be)try{for(Ie--;ie.length&&Ie<je;){const Ne=ie.shift();Te?(0,ge.f)(Pe,Te,()=>He(Ne)):He(Ne)}Ue()}catch(Ne){Pe.error(Ne)}}))};return Me.subscribe(new te.Q(Pe,we,()=>{Re=!0,Ue()})),()=>{null==Q||Q()}}(je,re,Me,_e)))}},8343:(vt,Ve,F)=>{"use strict";F.d(Ve,{x:()=>X});var i=F(4482),Y=F(5403);function X(){return(0,i.e)((ge,te)=>{let Fe=null;ge._refCount++;const fe=new Y.Q(te,void 0,void 0,void 0,()=>{if(!ge||ge._refCount<=0||0<--ge._refCount)return void(Fe=null);const $e=ge._connection,Me=Fe;Fe=null,$e&&(!Me||$e===Me)&&$e.unsubscribe(),te.unsubscribe()});ge.subscribe(fe),fe.closed||(Fe=ge.connect())})}},3900:(vt,Ve,F)=>{"use strict";F.d(Ve,{w:()=>ge});var i=F(8421),Y=F(4482),X=F(5403);function ge(te,Fe){return(0,Y.e)((fe,$e)=>{let Me=null,Pe=0,_e=!1;const je=()=>_e&&!Me&&$e.complete();fe.subscribe(new X.Q($e,re=>{null==Me||Me.unsubscribe();let pe=0;const Te=Pe++;(0,i.Xf)(te(re,Te)).subscribe(Me=new X.Q($e,Q=>$e.next(Fe?Fe(re,Q,Te,pe++):Q),()=>{Me=null,je()}))},()=>{_e=!0,je()}))})}},5698:(vt,Ve,F)=>{"use strict";F.d(Ve,{q:()=>ge});var i=F(515),Y=F(4482),X=F(5403);function ge(te){return te<=0?()=>i.E:(0,Y.e)((Fe,fe)=>{let $e=0;Fe.subscribe(new X.Q(fe,Me=>{++$e<=te&&(fe.next(Me),te<=$e&&fe.complete())}))})}},8505:(vt,Ve,F)=>{"use strict";F.d(Ve,{b:()=>te});var i=F(576),Y=F(4482),X=F(5403),ge=F(4671);function te(Fe,fe,$e){const Me=(0,i.m)(Fe)||fe||$e?{next:Fe,error:fe,complete:$e}:Fe;return Me?(0,Y.e)((Pe,_e)=>{var je;null===(je=Me.subscribe)||void 0===je||je.call(Me);let re=!0;Pe.subscribe(new X.Q(_e,pe=>{var Te;null===(Te=Me.next)||void 0===Te||Te.call(Me,pe),_e.next(pe)},()=>{var pe;re=!1,null===(pe=Me.complete)||void 0===pe||pe.call(Me),_e.complete()},pe=>{var Te;re=!1,null===(Te=Me.error)||void 0===Te||Te.call(Me,pe),_e.error(pe)},()=>{var pe,Te;re&&(null===(pe=Me.unsubscribe)||void 0===pe||pe.call(Me)),null===(Te=Me.finalize)||void 0===Te||Te.call(Me)}))}):ge.y}},3410:(vt,Ve,F)=>{"use strict";F.d(Ve,{z:()=>i});const i={setTimeout(...Y){const{delegate:X}=i;return((null==X?void 0:X.setTimeout)||setTimeout)(...Y)},clearTimeout(Y){const{delegate:X}=i;return((null==X?void 0:X.clearTimeout)||clearTimeout)(Y)},delegate:void 0}},2202:(vt,Ve,F)=>{"use strict";F.d(Ve,{h:()=>Y});const Y=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(vt,Ve,F)=>{"use strict";F.d(Ve,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(vt,Ve,F)=>{"use strict";F.d(Ve,{jO:()=>ge,yG:()=>te,_6:()=>Fe});var i=F(576),Y=F(3532);function X(fe){return fe[fe.length-1]}function ge(fe){return(0,i.m)(X(fe))?fe.pop():void 0}function te(fe){return(0,Y.K)(X(fe))?fe.pop():void 0}function Fe(fe,$e){return"number"==typeof X(fe)?fe.pop():$e}},4742:(vt,Ve,F)=>{"use strict";F.d(Ve,{D:()=>te});const{isArray:i}=Array,{getPrototypeOf:Y,prototype:X,keys:ge}=Object;function te(fe){if(1===fe.length){const $e=fe[0];if(i($e))return{args:$e,keys:null};if(function Fe(fe){return fe&&"object"==typeof fe&&Y(fe)===X}($e)){const Me=ge($e);return{args:Me.map(Pe=>$e[Pe]),keys:Me}}}return{args:fe,keys:null}}},8737:(vt,Ve,F)=>{"use strict";function i(Y,X){if(Y){const ge=Y.indexOf(X);0<=ge&&Y.splice(ge,1)}}F.d(Ve,{P:()=>i})},3888:(vt,Ve,F)=>{"use strict";function i(Y){const ge=Y(te=>{Error.call(te),te.stack=(new Error).stack});return ge.prototype=Object.create(Error.prototype),ge.prototype.constructor=ge,ge}F.d(Ve,{d:()=>i})},1810:(vt,Ve,F)=>{"use strict";function i(Y,X){return Y.reduce((ge,te,Fe)=>(ge[te]=X[Fe],ge),{})}F.d(Ve,{n:()=>i})},2806:(vt,Ve,F)=>{"use strict";F.d(Ve,{x:()=>X,O:()=>ge});var i=F(2416);let Y=null;function X(te){if(i.v.useDeprecatedSynchronousErrorHandling){const Fe=!Y;if(Fe&&(Y={errorThrown:!1,error:null}),te(),Fe){const{errorThrown:fe,error:$e}=Y;if(Y=null,fe)throw $e}}else te()}function ge(te){i.v.useDeprecatedSynchronousErrorHandling&&Y&&(Y.errorThrown=!0,Y.error=te)}},9672:(vt,Ve,F)=>{"use strict";function i(Y,X,ge,te=0,Fe=!1){const fe=X.schedule(function(){ge(),Fe?Y.add(this.schedule(null,te)):this.unsubscribe()},te);if(Y.add(fe),!Fe)return fe}F.d(Ve,{f:()=>i})},4671:(vt,Ve,F)=>{"use strict";function i(Y){return Y}F.d(Ve,{y:()=>i})},1144:(vt,Ve,F)=>{"use strict";F.d(Ve,{z:()=>i});const i=Y=>Y&&"number"==typeof Y.length&&"function"!=typeof Y},2206:(vt,Ve,F)=>{"use strict";F.d(Ve,{D:()=>Y});var i=F(576);function Y(X){return Symbol.asyncIterator&&(0,i.m)(null==X?void 0:X[Symbol.asyncIterator])}},576:(vt,Ve,F)=>{"use strict";function i(Y){return"function"==typeof Y}F.d(Ve,{m:()=>i})},3670:(vt,Ve,F)=>{"use strict";F.d(Ve,{c:()=>X});var i=F(8822),Y=F(576);function X(ge){return(0,Y.m)(ge[i.L])}},6495:(vt,Ve,F)=>{"use strict";F.d(Ve,{T:()=>X});var i=F(2202),Y=F(576);function X(ge){return(0,Y.m)(null==ge?void 0:ge[i.h])}},8239:(vt,Ve,F)=>{"use strict";F.d(Ve,{t:()=>Y});var i=F(576);function Y(X){return(0,i.m)(null==X?void 0:X.then)}},3260:(vt,Ve,F)=>{"use strict";F.d(Ve,{Q:()=>X,L:()=>ge});var i=F(5987),Y=F(576);function X(te){return(0,i.FC)(this,arguments,function*(){const fe=te.getReader();try{for(;;){const{value:$e,done:Me}=yield(0,i.qq)(fe.read());if(Me)return yield(0,i.qq)(void 0);yield yield(0,i.qq)($e)}}finally{fe.releaseLock()}})}function ge(te){return(0,Y.m)(null==te?void 0:te.getReader)}},3532:(vt,Ve,F)=>{"use strict";F.d(Ve,{K:()=>Y});var i=F(576);function Y(X){return X&&(0,i.m)(X.schedule)}},4482:(vt,Ve,F)=>{"use strict";F.d(Ve,{A:()=>Y,e:()=>X});var i=F(576);function Y(ge){return(0,i.m)(null==ge?void 0:ge.lift)}function X(ge){return te=>{if(Y(te))return te.lift(function(Fe){try{return ge(Fe,this)}catch(fe){this.error(fe)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(vt,Ve,F)=>{"use strict";F.d(Ve,{Z:()=>ge});var i=F(4004);const{isArray:Y}=Array;function ge(te){return(0,i.U)(Fe=>function X(te,Fe){return Y(Fe)?te(...Fe):te(Fe)}(te,Fe))}},5032:(vt,Ve,F)=>{"use strict";function i(){}F.d(Ve,{Z:()=>i})},7849:(vt,Ve,F)=>{"use strict";F.d(Ve,{h:()=>X});var i=F(2416),Y=F(3410);function X(ge){Y.z.setTimeout(()=>{const{onUnhandledError:te}=i.v;if(!te)throw ge;te(ge)})}},4532:(vt,Ve,F)=>{"use strict";function i(Y){return new TypeError(`You provided ${null!==Y&&"object"==typeof Y?"an invali
1d object":`'${Y}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}F.d(Ve,{z:()=>i})},863:(vt,Ve,F)=>{var i={"./ion-accordion_2.entry.js":[9654,8592,9654],"./ion-action-sheet.entry.js":[3648,8592,3648],"./ion-alert.entry.js":[1118,8592,1118],"./ion-app_8.entry.js":[53,8592,3236],"./ion-avatar_3.entry.js":[4753,4753],"./ion-back-button.entry.js":[2073,8592,2073],"./ion-backdrop.entry.js":[8939,8939],"./ion-breadcrumb_2.entry.js":[7544,8592,7544],"./ion-button_2.entry.js":[5652,5652],"./ion-card_5.entry.js":[388,388],"./ion-checkbox.entry.js":[9922,9922],"./ion-chip.entry.js":[657,657],"./ion-col_3.entry.js":[9824,9824],"./ion-datetime-button.entry.js":[9230,870,9230],"./ion-datetime_3.entry.js":[4959,870,8592,4959],"./ion-fab_3.entry.js":[5836,8592,5836],"./ion-img.entry.js":[1033,1033],"./ion-infinite-scroll_2.entry.js":[8034,8592,5817],"./ion-input.entry.js":[1217,1217],"./ion-item-option_3.entry.js":[2933,8592,4651],"./ion-item_8.entry.js":[4711,8592,4711],"./ion-loading.entry.js":[9434,8592,9434],"./ion-menu_3.entry.js":[8136,8592,8136],"./ion-modal.entry.js":[2349,8592,2349],"./ion-nav_2.entry.js":[5349,8592,5349],"./ion-picker-column-internal.entry.js":[7602,8592,7602],"./ion-picker-internal.entry.js":[9016,9016],"./ion-popover.entry.js":[3804,8592,3804],"./ion-progress-bar.entry.js":[4174,4174],"./ion-radio_2.entry.js":[4432,4432],"./ion-range.entry.js":[1709,8592,1709],"./ion-refresher_2.entry.js":[3326,8592,2175],"./ion-reorder_2.entry.js":[3583,8592,1186],"./ion-ripple-effect.entry.js":[9958,9958],"./ion-route_4.entry.js":[4330,4330],"./ion-searchbar.entry.js":[8628,8592,8628],"./ion-segment_2.entry.js":[9325,8592,9325],"./ion-select_3.entry.js":[2773,2773],"./ion-slide_2.entry.js":[1650,1650],"./ion-spinner.entry.js":[4908,8592,4908],"./ion-split-pane.entry.js":[9536,9536],"./ion-tab-bar_2.entry.js":[438,8592,438],"./ion-tab_2.entry.js":[1536,8592,1536],"./ion-text.entry.js":[4376,4376],"./ion-textarea.entry.js":[6560,6560],"./ion-toast.entry.js":[6120,8592,6120],"./ion-toggle.entry.js":[5168,8592,5168],"./ion-virtual-scroll.entry.js":[2289,2289]};function Y(X){if(!F.o(i,X))return Promise.resolve().then(()=>{var Fe=new Error("Cannot find module '"+X+"'");throw Fe.code="MODULE_NOT_FOUND",Fe});var ge=i[X],te=ge[0];return Promise.all(ge.slice(1).map(F.e)).then(()=>F(te))}Y.keys=()=>Object.keys(i),Y.id=863,vt.exports=Y},5987:(vt,Ve,F)=>{"use strict";function $e(oe,B,L,$){return new(L||(L=Promise))(function(q,Ce){function Je(Ee){try{me($.next(Ee))}catch(ae){Ce(ae)}}function ee(Ee){try{me($.throw(Ee))}catch(ae){Ce(ae)}}function me(Ee){Ee.done?q(Ee.value):function K(q){return q instanceof L?q:new L(function(Ce){Ce(q)})}(Ee.value).then(Je,ee)}me(($=$.apply(oe,B||[])).next())})}function ie(oe){return this instanceof ie?(this.v=oe,this):new ie(oe)}function Ie(oe,B,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var K,$=L.apply(oe,B||[]),q=[];return K={},Ce("next"),Ce("throw"),Ce("return"),K[Symbol.asyncIterator]=function(){return this},K;function Ce(ve){$[ve]&&(K[ve]=function(ke){return new Promise(function(ze,ot){q.push([ve,ke,ze,ot])>1||Je(ve,ke)})})}function Je(ve,ke){try{!function ee(ve){ve.value instanceof ie?Promise.resolve(ve.value.v).then(me,Ee):ae(q[0][2],ve)}($[ve](ke))}catch(ze){ae(q[0][3],ze)}}function me(ve){Je("next",ve)}function Ee(ve){Je("throw",ve)}function ae(ve,ke){ve(ke),q.shift(),q.length&&Je(q[0][0],q[0][1])}}function Re(oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,B=oe[Symbol.asyncIterator];return B?B.call(oe):(oe=function je(oe){var B="function"==typeof Symbol&&Symbol.iterator,L=B&&oe[B],$=0;if(L)return L.call(oe);if(oe&&"number"==typeof oe.length)return{next:function(){return oe&&$>=oe.length&&(oe=void 0),{value:oe&&oe[$++],done:!oe}}};throw new TypeError(B?"Object is not iterable.":"Symbol.iterator is not defined.")}(oe),L={},$("next"),$("throw"),$("return"),L[Symbol.asyncIterator]=function(){return this},L);function $(q){L[q]=oe[q]&&function(Ce){return new Promise(function(Je,ee){!function K(q,Ce,Je,ee){Promise.resolve(ee).then(function(me){q({value:me,done:Je})},Ce)}(Je,ee,(Ce=oe[q](Ce)).done,Ce.value)})}}}F.d(Ve,{mG:()=>$e,qq:()=>ie,FC:()=>Ie,KL:()=>Re})},655:(vt,Ve,F)=>{"use strict";function te(B,L,$,K){var Je,q=arguments.length,Ce=q<3?L:null===K?K=Object.getOwnPropertyDescriptor(L,$):K;
1if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ce=Reflect.decorate(B,L,$,K);else for(var ee=B.length-1;ee>=0;ee--)(Je=B[ee])&&(Ce=(q<3?Je(Ce):q>3?Je(L,$,Ce):Je(L,$))||Ce);return q>3&&Ce&&Object.defineProperty(L,$,Ce),Ce}function $e(B,L,$,K){return new($||($=Promise))(function(Ce,Je){function ee(ae){try{Ee(K.next(ae))}catch(ve){Je(ve)}}function me(ae){try{Ee(K.throw(ae))}catch(ve){Je(ve)}}function Ee(ae){ae.done?Ce(ae.value):function q(Ce){return Ce instanceof $?Ce:new $(function(Je){Je(Ce)})}(ae.value).then(ee,me)}Ee((K=K.apply(B,L||[])).next())})}F.d(Ve,{gn:()=>te,mG:()=>$e})},9808:(vt,Ve,F)=>{"use strict";F.d(Ve,{mr:()=>Ke,ez:()=>Ni,K0:()=>fe,Do:()=>Ue,V_:()=>Pe,Ye:()=>we,S$:()=>ie,sg:()=>Mt,O5:()=>N,tP:()=>Tt,b0:()=>Re,lw:()=>$e,EM:()=>dr,JF:()=>hi,NF:()=>Ur,w_:()=>Fe,bD:()=>nr,q:()=>X,Mx:()=>hr,HT:()=>te});var i=F(4893);let Y=null;function X(){return Y}function te(S){Y||(Y=S)}class Fe{}const fe=new i.OlP("DocumentToken");let $e=(()=>{class S{historyGo(T){throw new Error("Not implemented")}}return S.\u0275fac=function(T){return new(T||S)},S.\u0275prov=i.Yz7({token:S,factory:function(){return function Me(){return(0,i.LFG)(_e)}()},providedIn:"platform"}),S})();const Pe=new i.OlP("Location Initialized");let _e=(()=>{class S extends $e{constructor(T){super(),this._doc=T,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return X().getBaseHref(this._doc)}onPopState(T){const V=X().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",T,!1),()=>V.removeEventListener("popstate",T)}onHashChange(T){const V=X().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",T,!1),()=>V.removeEventListener("hashchange",T)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(T){this.location.pathname=T}pushState(T,V,ne){je()?this._history.pushState(T,V,ne):this.location.hash=ne}replaceState(T,V,ne){je()?this._history.replaceState(T,V,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}}return S.\u0275fac=function(T){return new(T||S)(i.LFG(fe))},S.\u0275prov=i.Yz7({token:S,factory:function(){return function re(){return new _e((0,i.LFG)(fe))}()},providedIn:"platform"}),S})();function je(){return!!window.history.pushState}function pe(S,x){if(0==S.length)return x;if(0==x.length)return S;let T=0;return S.endsWith("/")&&T++,x.startsWith("/")&&T++,2==T?S+x.substring(1):1==T?S+x:S+"/"+x}function Te(S){const x=S.match(/#|\?|$/),T=x&&x.index||S.length;return S.slice(0,T-("/"===S[T-1]?1:0))+S.slice(T)}function Q(S){return S&&"?"!==S[0]?"?"+S:S}let ie=(()=>{class S{historyGo(T){throw new Error("Not implemented")}}return S.\u0275fac=function(T){return new(T||S)},S.\u0275prov=i.Yz7({token:S,factory:function(){return function Ie(S){const x=(0,i.LFG)(fe).location;return new Re((0,i.LFG)($e),x&&x.origin||"")}()},providedIn:"root"}),S})();const Ke=new i.OlP("appBaseHref");let Re=(()=>{class S extends ie{constructor(T,V){if(super(),this._platformLocation=T,this._removeListenerFns=[],null==V&&(V=this._platformLocation.getBaseHrefFromDOM()),null==V)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=V}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return pe(this._baseHref,T)}path(T=!1){const V=this._platformLocation.pathname+Q(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&T?`${V}${ne}`:V}pushState(T,V,ne,Ge){const lt=this.prepareExternalUrl(ne+Q(Ge));this._platformLocation.pushState(T,V,lt)}replaceState(T,V,ne,Ge){const lt=this.prepareExternalUrl(ne+Q(Ge));this._platformLocation.replaceState(T,V,lt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){var V,ne;null===(ne=(V=this._platformLocation).historyGo)||void 0===ne||ne.call(V,T)}}return S.\u0275fac=function(T){return new(T||S)(i.LFG($e),i.LFG(Ke,8))},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac}),S})(),Ue=(()=>{class S extends ie{constructor(T,V){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.on
1HashChange(T))}getBaseHref(){return this._baseHref}path(T=!1){let V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(T){const V=pe(this._baseHref,T);return V.length>0?"#"+V:V}pushState(T,V,ne,Ge){let lt=this.prepareExternalUrl(ne+Q(Ge));0==lt.length&&(lt=this._platformLocation.pathname),this._platformLocation.pushState(T,V,lt)}replaceState(T,V,ne,Ge){let lt=this.prepareExternalUrl(ne+Q(Ge));0==lt.length&&(lt=this._platformLocation.pathname),this._platformLocation.replaceState(T,V,lt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){var V,ne;null===(ne=(V=this._platformLocation).historyGo)||void 0===ne||ne.call(V,T)}}return S.\u0275fac=function(T){return new(T||S)(i.LFG($e),i.LFG(Ke,8))},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac}),S})(),we=(()=>{class S{constructor(T,V){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=T;const ne=this._platformStrategy.getBaseHref();this._platformLocation=V,this._baseHref=Te(be(ne)),this._platformStrategy.onPopState(Ge=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ge.state,type:Ge.type})})}path(T=!1){return this.normalize(this._platformStrategy.path(T))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(T,V=""){return this.path()==this.normalize(T+Q(V))}normalize(T){return S.stripTrailingSlash(function Oe(S,x){return S&&x.startsWith(S)?x.substring(S.length):x}(this._baseHref,be(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._platformStrategy.prepareExternalUrl(T)}go(T,V="",ne=null){this._platformStrategy.pushState(ne,"",T,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Q(V)),ne)}replaceState(T,V="",ne=null){this._platformStrategy.replaceState(ne,"",T,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Q(V)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(T=0){var V,ne;null===(ne=(V=this._platformStrategy).historyGo)||void 0===ne||ne.call(V,T)}onUrlChange(T){this._urlChangeListeners.push(T),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}))}_notifyUrlChangeListeners(T="",V){this._urlChangeListeners.forEach(ne=>ne(T,V))}subscribe(T,V,ne){return this._subject.subscribe({next:T,error:V,complete:ne})}}return S.normalizeQueryParams=Q,S.joinWithSlash=pe,S.stripTrailingSlash=Te,S.\u0275fac=function(T){return new(T||S)(i.LFG(ie),i.LFG($e))},S.\u0275prov=i.Yz7({token:S,factory:function(){return function He(){return new we((0,i.LFG)(ie),(0,i.LFG)($e))}()},providedIn:"root"}),S})();function be(S){return S.replace(/\/index.html$/,"")}var B=(()=>((B=B||{})[B.Zero=0]="Zero",B[B.One=1]="One",B[B.Two=2]="Two",B[B.Few=3]="Few",B[B.Many=4]="Many",B[B.Other=5]="Other",B))();const Pn=i.kL8;class qt{}let Wn=(()=>{class S extends qt{constructor(T){super(),this.locale=T}getPluralCategory(T,V){switch(Pn(V||this.locale)(T)){case B.Zero:return"zero";case B.One:return"one";case B.Two:return"two";case B.Few:return"few";case B.Many:return"many";default:return"other"}}}return S.\u0275fac=function(T){return new(T||S)(i.LFG(i.soG))},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac}),S})();function hr(S,x){x=encodeURIComponent(x);for(const T of S.split(";")){const V=T.indexOf("="),[ne,Ge]=-1==V?[T,""]:[T.slice(0,V),T.slice(V+1)];if(ne.trim()===x)return decodeURIComponent(Ge)}return null}class er{constructor(x,T,V,ne){this.$implicit=x,this.ngForOf=T,this.index=V,this.count=ne}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 Mt=(()=>{class S{constructor(T,V,ne){this._viewContainer=T,this._template=V,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;!this._differ&&T&&(this._differ=this._differs.find(T).create(this.ngForTrackBy))}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const V=this._viewContainer;T.forEachOperation((ne,Ge,lt)=>{if(null==ne.previousIndex)V.createEmbeddedView(this._template,new er(ne.item,this._ngForOf,-1,-1),null===lt?void 0:lt);else if(null==lt)V.remove(null===Ge?void 0:Ge);else if(null!==Ge){const bt=V.get(Ge);V.move(bt,lt),Un(bt,ne)}});for(let ne=0,Ge=V.length;ne<Ge;ne++){const bt=V.get(ne).context;bt.index=ne,bt.count=Ge,bt.ngForOf=this._ngForOf}T.forEachIdentityChange(ne=>{Un(V.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(T,V){return!0}}return S.\u0275fac=function(T){return new(T||S)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},S.\u0275dir=i.lG2({type:S,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),S})();function Un(S,x){S.context.$implicit=x.item}let N=(()=>{class S{constructor(T,V){this._viewContainer=T,this._context=new H,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){le("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){le("ngIfElse",T),this._elseTemplateRef=T,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(T,V){return!0}}return S.\u0275fac=function(T){return new(T||S)(i.Y36(i.s_b),i.Y36(i.Rgc))},S.\u0275dir=i.lG2({type:S,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),S})();class H{constructor(){this.$implicit=null,this.ngIf=null}}function le(S,x){if(x&&!x.createEmbeddedView)throw new Error(`${S} must be a TemplateRef, but received '${(0,i.AaK)(x)}'.`)}let Tt=(()=>{class S{constructor(T){this._viewContainerRef=T,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(T){if(T.ngTemplateOutlet){const V=this._viewContainerRef;this._viewRef&&V.remove(V.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?V.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&T.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return S.\u0275fac=function(T){return new(T||S)(i.Y36(i.s_b))},S.\u0275dir=i.lG2({type:S,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),S})(),Ni=(()=>{class S{}return S.\u0275fac=function(T){return new(T||S)},S.\u0275mod=i.oAB({type:S}),S.\u0275inj=i.cJS({providers:[{provide:qt,useClass:Wn}]}),S})();const nr="browser";function Ur(S){return S===nr}let dr=(()=>{class S{}return S.\u0275prov=(0,i.Yz7)({token:S,providedIn:"root",factory:()=>new di((0,i.LFG)(fe),window)}),S})();class di{constructor(x,T){this.document=x,this.window=T,this.offset=()=>[0,0]}setOffset(x){this.offset=Array.isArray(x)?()=>x:x}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(x){this.supportsScrolling()&&this.window.scrollTo(x[0],x[1])}scrollToAnchor(x){if(!this.supportsScrolling())return;const T=function ei(S,x){const T=S.getElementById(x)||S.getElementsByName(x)[0];if(T)return T;if("function"==typeof S.createTreeWalker&&S.body&&(S.body.createShadowRoot||S.body.attachShadow)){const V=S.createTreeWalker(S.body,NodeFilter.SHOW_ELEMENT);let ne=V.currentNode;for(;ne;){const Ge=ne.shadowRoot;if(Ge){const lt=Ge.getElementById(x)||Ge.querySelector(`[name="${x}"]`);if(lt)return lt}ne=V.nextNode()}}return null}(this.document,x);T&&(this.scrollToElement(T),this.attemptFocus(T))}setHistoryScrollRestoration(x){if(this.supportScrollRestoration()){const T=this.window.history;T&&T.scrollRestoration&&(T.scrollRestoration=x)}}scrollToElement(x){const T=x.getBoundingClientRect(),V=T.left+this.window.pageXOffset,ne=T.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(V-Ge[0],ne-Ge[1])}attemptFocus(x){return x.focus(),this.document.activeElement===x}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const x=fi(this.window.history)||fi(Object.getPrototypeOf(this.window.history));return!(!x||!x.writable&&!x.set)}catch(x){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(x){return!1}}}function fi(S){return Object.getOwnPropertyDescriptor(S,"scrollRestoration")}class hi{}},520:(vt,Ve,F)=>{"use strict";F.d(Ve,{eN:()=>q,JF:()=>Dt,WM:()=>Pe});var i=F(9808),Y=F(4893),X=F(9646),ge=F(8306),te=F(4351),Fe=F(9300),fe=F(4004);class $e{}class Me{}class Pe{constructor(ue){this.normalizedNames=new Map,this.lazyUpdate=null,ue?this.lazyInit="string"==typeof ue?()=>{this.headers=new Map,ue.split("\n").forEach(he=>{const et=he.indexOf(":");if(et>0){const tt=he.slice(0,et),Qe=tt.toLowerCase(),ct=he.slice(et+1).trim();this.maybeSetNormalizedName(tt,Qe),this.headers.has(Qe)?this.headers.get(Qe).push(ct):this.headers.set(Qe,[ct])}})}:()=>{this.headers=new Map,Object.keys(ue).forEach(he=>{let et=ue[he];const tt=he.toLowerCase();"string"==typeof et&&(et=[et]),et.length>0&&(this.headers.set(tt,et),this.maybeSetNormalizedName(he,tt))})}:this.headers=new Map}has(ue){return this.init(),this.headers.has(ue.toLowerCase())}get(ue){this.init();const he=this.headers.get(ue.toLowerCase());return he&&he.length>0?he[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ue){return this.init(),this.headers.get(ue.toLowerCase())||null}append(ue,he){return this.clone({name:ue,value:he,op:"a"})}set(ue,he){return this.clone({name:ue,value:he,op:"s"})}delete(ue,he){return this.clone({name:ue,value:he,op:"d"})}maybeSetNormalizedName(ue,he){this.normalizedNames.has(he)||this.normalizedNames.set(he,ue)}init(){this.lazyInit&&(this.lazyInit instanceof Pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ue=>this.applyUpdate(ue)),this.lazyUpdate=null))}
1copyFrom(ue){ue.init(),Array.from(ue.headers.keys()).forEach(he=>{this.headers.set(he,ue.headers.get(he)),this.normalizedNames.set(he,ue.normalizedNames.get(he))})}clone(ue){const he=new Pe;return he.lazyInit=this.lazyInit&&this.lazyInit instanceof Pe?this.lazyInit:this,he.lazyUpdate=(this.lazyUpdate||[]).concat([ue]),he}applyUpdate(ue){const he=ue.name.toLowerCase();switch(ue.op){case"a":case"s":let et=ue.value;if("string"==typeof et&&(et=[et]),0===et.length)return;this.maybeSetNormalizedName(ue.name,he);const tt=("a"===ue.op?this.headers.get(he):void 0)||[];tt.push(...et),this.headers.set(he,tt);break;case"d":const Qe=ue.value;if(Qe){let ct=this.headers.get(he);if(!ct)return;ct=ct.filter(dt=>-1===Qe.indexOf(dt)),0===ct.length?(this.headers.delete(he),this.normalizedNames.delete(he)):this.headers.set(he,ct)}else this.headers.delete(he),this.normalizedNames.delete(he)}}forEach(ue){this.init(),Array.from(this.normalizedNames.keys()).forEach(he=>ue(this.normalizedNames.get(he),this.headers.get(he)))}}class _e{encodeKey(ue){return Te(ue)}encodeValue(ue){return Te(ue)}decodeKey(ue){return decodeURIComponent(ue)}decodeValue(ue){return decodeURIComponent(ue)}}const re=/%(\d[a-f0-9])/gi,pe={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Te(xe){return encodeURIComponent(xe).replace(re,(ue,he)=>{var et;return null!==(et=pe[he])&&void 0!==et?et:ue})}function Q(xe){return`${xe}`}class ie{constructor(ue={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ue.encoder||new _e,ue.fromString){if(ue.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function je(xe,ue){const he=new Map;return xe.length>0&&xe.replace(/^\?/,"").split("&").forEach(tt=>{const Qe=tt.indexOf("="),[ct,dt]=-1==Qe?[ue.decodeKey(tt),""]:[ue.decodeKey(tt.slice(0,Qe)),ue.decodeValue(tt.slice(Qe+1))],At=he.get(ct)||[];At.push(dt),he.set(ct,At)}),he}(ue.fromString,this.encoder)}else ue.fromObject?(this.map=new Map,Object.keys(ue.fromObject).forEach(he=>{const et=ue.fromObject[he];this.map.set(he,Array.isArray(et)?et:[et])})):this.map=null}has(ue){return this.init(),this.map.has(ue)}get(ue){this.init();const he=this.map.get(ue);return he?he[0]:null}getAll(ue){return this.init(),this.map.get(ue)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ue,he){return this.clone({param:ue,value:he,op:"a"})}appendAll(ue){const he=[];return Object.keys(ue).forEach(et=>{const tt=ue[et];Array.isArray(tt)?tt.forEach(Qe=>{he.push({param:et,value:Qe,op:"a"})}):he.push({param:et,value:tt,op:"a"})}),this.clone(he)}set(ue,he){return this.clone({param:ue,value:he,op:"s"})}delete(ue,he){return this.clone({param:ue,value:he,op:"d"})}toString(){return this.init(),this.keys().map(ue=>{const he=this.encoder.encodeKey(ue);return this.map.get(ue).map(et=>he+"="+this.encoder.encodeValue(et)).join("&")}).filter(ue=>""!==ue).join("&")}clone(ue){const he=new ie({encoder:this.encoder});return he.cloneFrom=this.cloneFrom||this,he.updates=(this.updates||[]).concat(ue),he}
1init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ue=>this.map.set(ue,this.cloneFrom.map.get(ue))),this.updates.forEach(ue=>{switch(ue.op){case"a":case"s":const he=("a"===ue.op?this.map.get(ue.param):void 0)||[];he.push(Q(ue.value)),this.map.set(ue.param,he);break;case"d":if(void 0===ue.value){this.map.delete(ue.param);break}{let et=this.map.get(ue.param)||[];const tt=et.indexOf(Q(ue.value));-1!==tt&&et.splice(tt,1),et.length>0?this.map.set(ue.param,et):this.map.delete(ue.param)}}}),this.cloneFrom=this.updates=null)}}class Ke{constructor(){this.map=new Map}set(ue,he){return this.map.set(ue,he),this}get(ue){return this.map.has(ue)||this.map.set(ue,ue.defaultValue()),this.map.get(ue)}delete(ue){return this.map.delete(ue),this}has(ue){return this.map.has(ue)}keys(){return this.map.keys()}}function Ue(xe){return"undefined"!=typeof ArrayBuffer&&xe instanceof ArrayBuffer}function we(xe){return"undefined"!=typeof Blob&&xe instanceof Blob}function He(xe){return"undefined"!=typeof FormData&&xe instanceof FormData}class be{constructor(ue,he,et,tt){let Qe;if(this.url=he,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ue.toUpperCase(),function Re(xe){switch(xe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||tt?(this.body=void 0!==et?et:null,Qe=tt):Qe=et,Qe&&(this.reportProgress=!!Qe.reportProgress,this.withCredentials=!!Qe.withCredentials,Qe.responseType&&(this.responseType=Qe.responseType),Qe.headers&&(this.headers=Qe.headers),Qe.context&&(this.context=Qe.context),Qe.params&&(this.params=Qe.params)),this.headers||(this.headers=new Pe),this.context||(this.context=new Ke),this.params){const ct=this.params.toString();if(0===ct.length)this.urlWithParams=he;else{const dt=he.indexOf("?");this.urlWithParams=he+(-1===dt?"?":dt<he.length-1?"&":"")+ct}}else this.params=new ie,this.urlWithParams=he}serializeBody(){return null===this.body?null:Ue(this.body)||we(this.body)||He(this.body)||function Oe(xe){return"undefined"!=typeof URLSearchParams&&xe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ie?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||He(this.body)?null:we(this.body)?this.body.type||null:Ue(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ue={}){var he;const et=ue.method||this.method,tt=ue.url||this.url,Qe=ue.responseType||this.responseType,ct=void 0!==ue.body?ue.body:this.body,dt=void 0!==ue.withCredentials?ue.withCredentials:this.withCredentials,At=void 0!==ue.reportProgress?ue.reportProgress:this.reportProgress;let rn=ue.headers||this.headers,jt=ue.params||this.params;const ir=null!==(he=ue.context)&&void 0!==he?he:this.context;return void 0!==ue.setHeaders&&(rn=Object.keys(ue.setHeaders).reduce((hn,Pt)=>hn.set(Pt,ue.setHeaders[Pt]),rn)),ue.setParams&&(jt=Object.keys(ue.setParams).reduce((hn,Pt)=>hn.set(Pt,ue.setParams[Pt]),jt)),new be(et,tt,ct,{params:jt,headers:rn,context:ir,reportProgress:At,responseType:Qe,withCredentials:dt})}}var Ne=(()=>((Ne=Ne||{})[Ne.Sent=0]="Sent",Ne[Ne.UploadProgress=1]="UploadProgress",Ne[Ne.ResponseHeader=2]="ResponseHeader",Ne[Ne.DownloadProgress=3]="DownloadProgress",Ne[Ne.Response=4]="Response",Ne[Ne.User=5]="User",Ne))();class oe{constructor(ue,he=200,et="OK"){this.headers=ue.headers||new Pe,this.status=void 0!==ue.status?ue.status:he,this.statusText=ue.statusText||et,this.url=ue.url||null,this.ok=this.status>=200&&this.status<300}}class B extends oe{constructor(ue={}){super(ue),this.type=Ne.ResponseHeader}clone(ue={}){return new B({headers:ue.headers||this.headers,status:void 0!==ue.status?ue.status:this.status,statusText:ue.statusText||this.statusText,url:ue.url||this.url||void 0})}}class L extends oe{constructor(ue={}){super(ue),this.type=Ne.Response,this.body=void 0!==ue.body?ue.body:null}clone(ue={}){return new L({body:void 0!==ue.body?ue.body:this.body,headers:ue.headers||this.headers,status:void 0!==ue.status?ue.status:this.status,statusText:ue.statusText||this.statusText,url:ue.url||this.url||void 0})}}class $ extends oe{constructor(ue){super(ue,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ue.url||"(unknown url)"}`:`Http failure response for ${ue.url||"(unknown url)"}: ${ue.status} ${ue.statusText}`,this.error=ue.error||null}}function K(xe,ue){return{body:ue,headers:xe.headers,context:xe.context,observe:xe.observe,params:xe.params,reportProgress:xe.reportProgress,responseType:xe.responseType,withCredentials:xe.withCredentials}}let q=(()=>{class xe{constructor(he){this.handler=he}request(he,et,tt={}){let Qe;if(he instanceof be)Qe=he;else{let At,rn;At=tt.headers instanceof Pe?tt.headers:new Pe(tt.headers),tt.params&&(rn=tt.params instanceof ie?tt.params:new ie({fromObject:tt.params})),Qe=new be(he,et,void 0!==tt.body?tt.body:null,{headers:At,context:tt.context,params:rn,reportProgress:tt.reportProgress,responseType:tt.responseType||"json",withCredentials:tt.withCredentials})}const ct=(0,X.of)(Qe).pipe((0,te.b)(At=>this.handler.handle(At)));if(he instanceof be||"events"===tt.observe)return ct;const dt=ct.pipe((0,Fe.h)(At=>At instanceof L));switch(tt.observe||"body"){case"body":switch(Qe.responseType){case"arraybuffer":return dt.pipe((0,fe.U)(At=>{if(null!==At.body&&!(At.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return At.body}));case"blob":return dt.pipe((0,fe.U)(At=>{if(null!==At.body&&!(At.body instanceof Blob))throw new Error("Response is not a Blob.");return At.body}));case"text":return dt.pipe((0,fe.U)(At=>{if(null!==At.body&&"string"!=typeof At.body)throw new Error("Response is not a string.");return At.body}));default:return dt.pipe((0,fe.U)(At=>At.body))}case"response":return dt;default:throw new Error(`Unreachable: unhandled observe type ${tt.observe}}`)}}delete(he,et={}){return this.request("DELETE",he,et)}get(he,et={}){return this.request("GET",he,et)}head(he,et={}){return this.request("HEAD",he,et)}jsonp(he,et){return this.request("JSONP",he,{params:(new ie).append(et,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(he,et={}){return this.request("OPTIONS",he,et)}patch(he,et,tt={}){return this.request("PATCH",he,K(tt,et))}post(he,et,tt={}){return this.request("POST",he,K(tt,et))}put(he,et,tt={}){return this.request("PUT",he,K(tt,et))}}return xe.\u0275fac=function(he){return new(he||xe)(Y.LFG($e))},xe.\u0275prov=Y.Yz7({token:xe,factory:xe.\u0275fac}),xe})();class Ce{constructor(ue,he){this.next=ue,this.interceptor=he}handle(ue){return this.interceptor.intercept(ue,this.next)}}const Je=new Y.OlP("HTTP_INTERCEPTORS");let ee=(()=>{class xe{intercept(he,et){return et.handle(he)}}return xe.\u0275fac=function(he){return new(he||xe)},xe.\u0275prov=Y.Yz7({token:xe,factory:xe.\u0275fac}),xe})();const st=/^\)\]\}',?\n/;let Vt=(()=>{class xe{constructor(he){this.xhrFactory=he}handle(he){if("JSONP"===he.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ge.y(et=>{const tt=this.xhrFactory.build();if(tt.open(he.method,he.urlWithParams),he.withCredentials&&(tt.withCredentials=!0),he.headers.forEac
1h((Pt,Ft)=>tt.setRequestHeader(Pt,Ft.join(","))),he.headers.has("Accept")||tt.setRequestHeader("Accept","application/json, text/plain, */*"),!he.headers.has("Content-Type")){const Pt=he.detectContentTypeHeader();null!==Pt&&tt.setRequestHeader("Content-Type",Pt)}if(he.responseType){const Pt=he.responseType.toLowerCase();tt.responseType="json"!==Pt?Pt:"text"}const Qe=he.serializeBody();let ct=null;const dt=()=>{if(null!==ct)return ct;const Pt=1223===tt.status?204:tt.status,Ft=tt.statusText||"OK",Kt=new Pe(tt.getAllResponseHeaders()),Xt=function _t(xe){return"responseURL"in xe&&xe.responseURL?xe.responseURL:/^X-Request-URL:/m.test(xe.getAllResponseHeaders())?xe.getResponseHeader("X-Request-URL"):null}(tt)||he.url;return ct=new B({headers:Kt,status:Pt,statusText:Ft,url:Xt}),ct},At=()=>{let{headers:Pt,status:Ft,statusText:Kt,url:Xt}=dt(),On=null;204!==Ft&&(On=void 0===tt.response?tt.responseText:tt.response),0===Ft&&(Ft=On?200:0);let Qt=Ft>=200&&Ft<300;if("json"===he.responseType&&"string"==typeof On){const xt=On;On=On.replace(st,"");try{On=""!==On?JSON.parse(On):null}catch(Yn){On=xt,Qt&&(Qt=!1,On={error:Yn,text:On})}}Qt?(et.next(new L({body:On,headers:Pt,status:Ft,statusText:Kt,url:Xt||void 0})),et.complete()):et.error(new $({error:On,headers:Pt,status:Ft,statusText:Kt,url:Xt||void 0}))},rn=Pt=>{const{url:Ft}=dt(),Kt=new $({error:Pt,status:tt.status||0,statusText:tt.statusText||"Unknown Error",url:Ft||void 0});et.error(Kt)};let jt=!1;const ir=Pt=>{jt||(et.next(dt()),jt=!0);let Ft={type:Ne.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(Ft.total=Pt.total),"text"===he.responseType&&!!tt.responseText&&(Ft.partialText=tt.responseText),et.next(Ft)},hn=Pt=>{let Ft={type:Ne.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(Ft.total=Pt.total),et.next(Ft)};return tt.addEventListener("load",At),tt.addEventListener("error",rn),tt.addEventListener("timeout",rn),tt.addEventListener("abort",rn),he.reportProgress&&(tt.addEventListener("progress",ir),null!==Qe&&tt.upload&&tt.upload.addEventListener("progress",hn)),tt.send(Qe),et.next({type:Ne.Sent}),()=>{tt.removeEventListener("error",rn),tt.removeEventListener("abort",rn),tt.removeEventListener("load",At),tt.removeEventListener("timeout",rn),he.reportProgress&&(tt.removeEventListener("progress",ir),null!==Qe&&tt.upload&&tt.upload.removeEventListener("progress",hn)),tt.readyState!==tt.DONE&&tt.abort()}})}}return xe.\u0275fac=function(he){return new(he||xe)(Y.LFG(i.JF))},xe.\u0275prov=Y.Yz7({token:xe,factory:xe.\u0275fac}),xe})();const Et=new Y.OlP("XSRF_COOKIE_NAME"),Jt=new Y.OlP("XSRF_HEADER_NAME");class Ot{}let nn=(()=>{class xe{constructor(he,et,tt){this.doc=he,this.platform=et,this.cookieName=tt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const he=this.doc.cookie||"";return he!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(he,this.cookieName),this.lastCookieString=he),this.lastToken}}return xe.\u0275fac=function(he){return new(he||xe)(Y.LFG(i.K0),Y.LFG(Y.Lbi),Y.LFG(Et))},xe.\u0275prov=Y.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),Pn=(()=>{class xe{constructor(he,et){this.tokenService=he,this.headerName=et}intercept(he,et){const tt=he.url.toLowerCase();if("GET"===he.method||"HEAD"===he.method||tt.startsWith("http://")||tt.startsWith("https://"))return et.handle(he);const Qe=this.tokenService.getToken();return null!==Qe&&!he.headers.has(this.headerName)&&(he=he.clone({headers:he.headers.set(this.headerName,Qe)})),et.handle(he)}}return xe.\u0275fac=function(he){return new(he||xe)(Y.LFG(Ot),Y.LFG(Jt))},xe.\u0275prov=Y.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),$n=(()=>{class xe{constructor(he,et){this.backend=he,this.injector=et,this.chain=null}handle(he){if(null===this.chain){const et=this.injector.get(Je,[]);this.chain=et.reduceRight((tt,Qe)=>new Ce(tt,Qe),this.backend)}return this.chain.handle(he)}}return xe.\u0275fac=function(he){return new(he||xe)(Y.LFG(Me),Y.LFG(Y.zs3))},xe.\u0275prov=Y.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),Jn=(()=>{class xe{static disable(){return{ngModule:xe,providers:[{provide:Pn,useClass:ee}]}}static withOptions(he={}){return{ngModule:xe,providers:[he.cookieName?{provide:Et,useValue:he.co
1okieName}:[],he.headerName?{provide:Jt,useValue:he.headerName}:[]]}}}return xe.\u0275fac=function(he){return new(he||xe)},xe.\u0275mod=Y.oAB({type:xe}),xe.\u0275inj=Y.cJS({providers:[Pn,{provide:Je,useExisting:Pn,multi:!0},{provide:Ot,useClass:nn},{provide:Et,useValue:"XSRF-TOKEN"},{provide:Jt,useValue:"X-XSRF-TOKEN"}]}),xe})(),Dt=(()=>{class xe{}return xe.\u0275fac=function(he){return new(he||xe)},xe.\u0275mod=Y.oAB({type:xe}),xe.\u0275inj=Y.cJS({providers:[q,{provide:$e,useClass:$n},Vt,{provide:Me,useExisting:Vt}],imports:[[Jn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),xe})()},4893:(vt,Ve,F)=>{"use strict";F.d(Ve,{deG:()=>$r,tb:()=>ug,AFp:()=>ag,ip1:()=>ou,CZH:()=>Gs,hGG:()=>QE,z2F:()=>Ta,sBO:()=>IE,Sil:()=>au,_Vd:()=>_a,EJc:()=>fg,SBq:()=>Da,qLn:()=>ia,vpe:()=>ao,tBr:()=>Zs,XFs:()=>xe,OlP:()=>Mn,zs3:()=>Pi,ZZ4:()=>ll,aQg:()=>cl,soG:()=>sl,YKP:()=>wp,h0i:()=>Hs,PXZ:()=>DE,R0b:()=>Ei,FiY:()=>Yo,Lbi:()=>cg,g9A:()=>lg,Qsj:()=>Z0,FYo:()=>Dp,JOm:()=>no,tp0:()=>ys,Rgc:()=>wa,dDg:()=>gg,GfV:()=>Ep,s_b:()=>nl,ifc:()=>jt,eFA:()=>vg,G48:()=>TE,Gpc:()=>Q,_c5:()=>zE,VLi:()=>yE,c2e:()=>dg,zSh:()=>cc,wAp:()=>Gt,vHH:()=>Re,cg1:()=>kc,kL8:()=>zh,dqk:()=>Kt,sIi:()=>ua,CqO:()=>Kf,QGY:()=>Ac,F4k:()=>Wf,RDi:()=>Ti,AaK:()=>re,qOj:()=>pc,TTD:()=>nr,_Bn:()=>yp,xp6:()=>Sd,uIk:()=>yc,Tol:()=>vh,ekj:()=>Pc,Suo:()=>Vp,Xpm:()=>Nn,lG2:()=>Ut,Yz7:()=>Et,cJS:()=>Ot,oAB:()=>Be,Yjl:()=>vn,Y36:()=>fa,_UZ:()=>zf,GkF:()=>Gf,BQk:()=>Ic,ynx:()=>Tc,qZA:()=>Sc,TgZ:()=>wc,EpF:()=>Yf,n5z:()=>Ct,LFG:()=>jr,$8M:()=>Yt,$Z:()=>Uf,NdJ:()=>Mc,CRH:()=>jp,oxw:()=>Zf,Hsn:()=>eh,F$t:()=>Jf,Q6J:()=>Cc,iGM:()=>Bp,CHM:()=>gt,LSH:()=>wl,YNc:()=>Pf,_uU:()=>Sh,Oqu:()=>Rc,hij:()=>Ka,AsE:()=>Nc,Gf:()=>$p});var i=F(7579),Y=F(727),X=F(8306),ge=F(6451),te=F(2076),Fe=F(5698),fe=F(930),$e=F(4482);function Pe(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,Fe.q)(1)).subscribe(()=>e())}function _e(e){for(let t in e)if(e[t]===_e)return t;throw Error("Could not find renamed property on target object.")}function je(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(re).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function pe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Te=_e({__forward_ref__:_e});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return re(this())},e}function ie(e){return Ie(e)?e():e}function Ie(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Q}class Re extends Error{constructor(t,n){super(function Ue(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function we(e){return"string"==typeof e?e:null==e?"":String(e)}function He(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():we(e)}function oe(e,t){const n=t?` in ${t}`:"";throw new Re(-201,`No provider for ${He(e)} found${n}`)}function ze(e,t){null==e&&function ot(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Et(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ot(e){return{providers:e.providers||[],imports:e.imports||[]}}function nn(e){return Pn(e,Jn)||Pn(e,fn)}function Pn(e,t){return e.hasOwnProperty(t)?e[t]:null}function cr(e){return e&&(e.hasOwnProperty(Dt)||e.hasOwnProperty(it))?e[Dt]:null}const Jn=_e({\u0275prov:_e}),Dt=_e({\u0275inj:_e}),fn=_e({ngInjectableDef:_e}),it=_e({ngInjectorDef:_e});var xe=(()=>((xe=xe||{})[xe.Default=0]="Default",xe[xe.Host=1]="Host",xe[xe.Self=2]="Self",xe[xe.SkipSelf=4]="SkipSelf",xe[xe.Optional=8]="Optional",xe))();let ue;function et(e){const t=ue;return ue=e,t}function tt(e,t,n){const r=nn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&xe.Optional?null:void 0!==t?t:void oe(re(e),"Injector")}function ct(e){return{toString:e}.toString()}var dt=(()=>((dt=dt||{})[dt.OnPush=0]="OnPush",dt[dt.Default=1]="Default",dt))(),jt=(()=>{return(e=jt||(jt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",jt;var e})();const ir="undefined"!=typeof globalThis&&globalThis,hn="undefined"!=typeof window&&window,Pt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Kt=ir||"undefined"!=typeof global&&global||hn||Pt,Qt={},xt=[],Yn=_e({\u0275cmp:_e}),Cn=_e({\u0275dir:_e}),jn=_e({\u0275pipe:_e}),xn=_e({\u0275mod:_e}
1),Rn=_e({\u0275fac:_e}),pn=_e({__NG_ELEMENT_ID__:_e});let bn=0;function Nn(e){return ct(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===dt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||xt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||jt.Emulated,id:"c",styles:e.styles||xt,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,d=e.pipes;return r.id+=bn++,r.inputs=St(e.inputs,n),r.outputs=St(e.outputs),a&&a.forEach(m=>m(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Le):null,r.pipeDefs=d?()=>("function"==typeof d?d():d).map(ce):null,r})}function Le(e){return en(e)||function qn(e){return e[Cn]||null}(e)}function ce(e){return function Fn(e){return e[jn]||null}(e)}const W={};function Be(e){return ct(()=>{const t={type:e.type,bootstrap:e.bootstrap||xt,declarations:e.declarations||xt,imports:e.imports||xt,exports:e.exports||xt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(W[e.id]=e.type),t})}function St(e,t){if(null==e)return Qt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=r,t&&(t[o]=a)}return n}const Ut=Nn;function vn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function en(e){return e[Yn]||null}function kn(e,t){const n=e[xn]||null;if(!n&&!0===t)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}const U=18,J=19;function Xe(e){return Array.isArray(e)&&"object"==typeof e[1]}function ht(e){return Array.isArray(e)&&!0===e[1]}function Tt(e){return 0!=(8&e.flags)}function Bt(e){return 2==(2&e.flags)}function Ht(e){return 1==(1&e.flags)}function An(e){return null!==e.template}function zn(e){return 0!=(512&e[2])}function tr(e,t){return e.hasOwnProperty(Rn)?e[Rn]:null}class Ni{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function nr(){return Rr}function Rr(e){return e.type.prototype.ngOnChanges&&(e.setInput=ui),Si}function Si(){const e=Lr(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Qt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ui(e,t,n,r){const o=Lr(e)||function Cr(e,t){return e[Ur]=t}(e,{previous:Qt,current:null}),a=o.current||(o.current={}),d=o.previous,m=this.declaredInputs[n],v=d[m];a[m]=new Ni(v&&v.currentValue,t,d===Qt),e[r]=t}nr.ngInherit=!0;const Ur="__ngSimpleChanges__";function Lr(e){return e[Ur]||null}let ei;function Ti(e){ei=e}function x(e){return!!e.listen}const T={createRenderer:(e,t)=>function hi(){return void 0!==ei?ei:"undefined"!=typeof document?document:void 0}()};function ne(e){for(;Array.isArray(e);)e=e[0];return e}function bt(e,t){return ne(t[e])}function tn(e,t){return ne(t[e.index])}function mn(e,t){return e.data[t]}function ln(e,t){const n=t[e];return Xe(n)?n:n[0]}function cn(e){return 4==(4&e[2])}function Zn(e){return 128==(128&e[2])}function pr(e,t){return null==t?null:e[t]}function pi(e){e[U]=0}function Gr(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 w={lFrame:ns(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function E(){return w.bindingsEnabled}function O(){return w.lFrame.lView}function De(){return w.lFrame.tView}function gt(e){return w.lFrame.contextLView=e,e[8]}function pt(){let e=Wt();for(;null!==e&&64===e.type;)e=e.parent;return e}function Wt(){return w.lFrame.currentTNode}function dn(e,t){const n=w.lFrame;n.currentTNode=e,n.isParent=t}function Ln(){return w.lFrame.isParent}function gr(){w.lFrame.isParent=!1}function ti(){return w.isInCheckNoChangesMode}
vendor: 5,135 bytes, line 1
1function Wr(e){w.isInCheckNoChangesMode=e}function Li(){return w.lFrame.bindingIndex++}function Ii(e){const t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ws(e,t){const n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Co(t)}function Co(e){w.lFrame.currentDirectiveIndex=e}function bo(){return w.lFrame.currentQueryIndex}function Ai(e){w.lFrame.currentQueryIndex=e}function ts(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function lo(e,t,n){if(n&xe.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&xe.Host||(o=ts(a),null===o||(a=a[15],10&o.type))););if(null===o)return!1;t=o,e=a}const r=w.lFrame=co();return r.currentTNode=t,r.lView=e,!0}function wo(e){const t=co(),n=e[1];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function co(){const e=w.lFrame,t=null===e?null:e.child;return null===t?ns(e):t}function ns(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 rs(){const e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ko=rs;function Wi(){const e=rs();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 Mr(){return w.lFrame.selectedIndex}function ni(e){w.lFrame.selectedIndex=e}function Gn(){const e=w.lFrame;return mn(e.tView,e.selectedIndex)}function ri(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:m,ngAfterViewInit:v,ngAfterViewChecked:M,ngOnDestroy:R}=a;d&&(e.contentHooks||(e.contentHooks=[])).push(-n,d),m&&((e.contentHooks||(e.contentHooks=[])).push(n,m),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,m)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),M&&((e.viewHooks||(e.viewHooks=[])).push(n,M),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,M)),null!=R&&(e.destroyHooks||(e.destroyHooks=[])).push(n,R)}}function rr(e,t,n){uo(e,t,3,n)}function Bi(e,t,n,r){(3&e[2])===n&&uo(e,t,n,r)}function Ki(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function uo(e,t,n,r){const a=null!=r?r:-1,d=t.length-1;let m=0;for(let v=void 0!==r?65535&e[U]:0;v<d;v++)if("number"==typeof t[v+1]){if(m=t[v],null!=r&&m>=r)break}else t[v]<0&&(e[U]+=65536),(m<a||-1==a)&&(So(e,n,t,v),e[U]=(4294901760&e[U])+v+2),v++}function So(e,t,n,r){const o=n[r]<0,a=n[r+1],m=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[U]>>16&&(3&e[2])===t){e[2]+=2048;try{a.call(m)}finally{}}}else try{a.call(m)}finally{}}class fo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function po(e,t,n){const r=x(e);let o=0;for(;o<n.length;){const a=n[o];if("number"==typeof a){if(0!==a)break;o++;const d=n[o++],m=n[o++],v=n[o++];r?e.setAttribute(t,m,v,d):t.setAttributeNS(d,m,v)}else{const d=a,m=n[++o];Ho(d)?r&&e.setProperty(t,d,m):r?e.setAttribute(t,d,m):t.setAttribute(d,m),o++}}return o}function jo(e){return 3===e||4===e||6===e}function Ho(e){return 64===e.charCodeAt(0)}function Oi(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||us(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function us(e,t,n,r,o){let a=0,d=e.length;if(-1===t)d=-1;else for(;a<e.length;){const m=e[a++];if("number"==typeof m){if(m===t){d=-1;break}if(m>t){d=a-1;break}}}for(;a<e.length;){const m=e[a];if("number"==typeof m)break;if(m===n){if(null===r)return void(null!==o&&(e[a+1]=o));if(r===e[a+1])return void(e[a+2]=o)}a++,null!==r&&a++,null!==o&&a++}-1!==d&&(e.splice(d,0,t),a=d+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==o&&e.splice(a++,0,o)}function go(e){return-1!==e}function Xi(e){return 32767&e}function Fi(e,t){let n=function Uo(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let To=!0;function Io(e){const t=To;return To=e,t}let fs=0;function mo(e,t){const n=g(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,y(r.data,e),y(t,null),y(r.blueprint,null));const o=f(e,t),a=e.injectorIndex;if(go(o)){const d=Xi(o),m=Fi(o,t),v=m[1].data;for(let M=0;M<8;M++)t[a+M]=m[d+M]|v[d+M]}return t[a+8]=o,a}function y(e,t){e.push(0,0,0,0,0,0,0,0,t)}function g(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function f(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const a=o[1],d=a.type;if(r=2===d?a.declTNode:1===d?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function D(e,t,n){!function hs(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(pn)&&(r=n[pn]),null==r&&(r=n[pn]=fs++);const o=255&r;t.data[e+(o>>5)]|=1<<o}
1(e,t,n)}function k(e,t,n){if(n&xe.Optional)return e;oe(t,"NodeInjector")}function h(e,t,n,r){if(n&xe.Optional&&void 0===r&&(r=null),0==(n&(xe.Self|xe.Host))){const o=e[9],a=et(void 0);try{return o?o.get(t,r,n&xe.Optional):tt(t,r,n&xe.Optional)}finally{et(a)}}return k(r,t,n)}function s(e,t,n,r=xe.Default,o){if(null!==e){const a=function Z(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(pn)?e[pn]:void 0;return"number"==typeof t?t>=0?255&t:p:t}(n);if("function"==typeof a){if(!lo(t,e,r))return r&xe.Host?k(o,n,r):h(t,n,r,o);try{const d=a(r);if(null!=d||r&xe.Optional)return d;oe(n)}finally{ko()}}else if("number"==typeof a){let d=null,m=g(e,t),v=-1,M=r&xe.Host?t[16][6]:null;for((-1===m||r&xe.SkipSelf)&&(v=-1===m?f(e,t):t[m+8],-1!==v&&Ye(r,!1)?(d=t[1],m=Xi(v),t=Fi(v,t)):m=-1);-1!==m;){const R=t[1];if(Se(a,m,R.data)){const G=I(m,t,n,d,r,M);if(G!==l)return G}v=t[m+8],-1!==v&&Ye(r,t[1].data[m+8]===M)&&Se(a,m,t)?(d=R,m=Xi(v),t=Fi(v,t)):m=-1}}}return h(t,n,r,o)}const l={};function p(){return new at(pt(),O())}function I(e,t,n,r,o,a){const d=t[1],m=d.data[e+8],R=P(m,d,n,null==r?Bt(m)&&To:r!=d&&0!=(3&m.type),o&xe.Host&&a===m);return null!==R?z(t,d,R,m):l}function P(e,t,n,r,o){const a=e.providerIndexes,d=t.data,m=1048575&a,v=e.directiveStart,R=a>>20,se=o?m+R:e.directiveEnd;for(let Ae=r?m:m+R;Ae<se;Ae++){const Ze=d[Ae];if(Ae<v&&n===Ze||Ae>=v&&Ze.type===n)return Ae}if(o){const Ae=d[v];if(Ae&&An(Ae)&&Ae.type===n)return v}return null}function z(e,t,n,r){let o=e[n];const a=t.data;if(function as(e){return e instanceof fo}(o)){const d=o;d.resolving&&function Oe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Re(-200,`Circular dependency in DI detected for ${e}${n}`)}(He(a[n]));const m=Io(d.canSeeViewProviders);d.resolving=!0;const v=d.injectImpl?et(d.injectImpl):null;lo(e,r,xe.Default);try{o=e[n]=d.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ss(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(r){const d=Rr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,d),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,d)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==v&&et(v),Io(m),d.resolving=!1,ko()}}return o}function Se(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ye(e,t){return!(e&xe.Self||e&xe.Host&&t)}class at{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return s(this._tNode,this._lView,t,r,n)}}function Ct(e){return ct(()=>{const t=e.prototype.constructor,n=t[Rn]||zt(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const a=o[Rn]||zt(o);if(a&&a!==n)return a;o=Object.getPrototypeOf(o)}return a=>new a})}function zt(e){return Ie(e)?()=>{const t=zt(ie(e));return t&&t()}:tr(e)}function Yt(e){return function A(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const a=n[o];if(jo(a))break;if(0===a)o+=2;else if("number"==typeof a)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(a===t)return n[o+1];o+=2}}}return null}(pt(),e)}const kt="__parameters__";function _r(e,t,n){return ct(()=>{const r=function lr(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...a){if(this instanceof o)return r.apply(this,a),this;const d=new o(...a);return m.annotation=d,m;function m(v,M,R){const G=v.hasOwnProperty(kt)?v[kt]:Object.defineProperty(v,kt,{value:[]})[kt];for(;G.length<=R;)G.push(null);return(G[R]=G[R]||[]).push(d),v}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class Mn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Et({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const $r=new Mn("AnalyzeForEntryComponents");function mr(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)),mr(r,t)):t!==e&&t.push(r)}return t}function fr(e,t){e.forEach(n=>Array.isArray(n)?fr(n,t):t(n))}function $i(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Kn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fo(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}
1function _i(e,t,n){let r=ms(e,t);return r>=0?e[1|r]=n:(r=~r,function yo(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function hl(e,t){const n=ms(e,t);if(n>=0)return e[1|n]}function ms(e,t){return function Tu(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const a=r+(o-r>>1),d=e[a<<n];if(t===d)return a<<n;d>t?o=a:r=a+1}return~(o<<n)}(e,t,1)}const qs={},gl="__NG_DI_FLAG__",Ma="ngTempTokenPath",Hg=/\n/gm,Au="__source",zg=_e({provide:String,useValue:_e});let Xs;function Mu(e){const t=Xs;return Xs=e,t}function Gg(e,t=xe.Default){if(void 0===Xs)throw new Re(203,"");return null===Xs?tt(e,void 0,t):Xs.get(e,t&xe.Optional?null:void 0,t)}function jr(e,t=xe.Default){return(function he(){return ue}()||Gg)(ie(e),t)}function ml(e){const t=[];for(let n=0;n<e.length;n++){const r=ie(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Re(900,"");let o,a=xe.Default;for(let d=0;d<r.length;d++){const m=r[d],v=Yg(m);"number"==typeof v?-1===v?o=m.token:a|=v:o=m}t.push(jr(o,a))}else t.push(jr(r))}return t}function Qs(e,t){return e[gl]=t,e.prototype[gl]=t,e}function Yg(e){return e[gl]}const Zs=Qs(_r("Inject",e=>({token:e})),-1),Yo=Qs(_r("Optional"),8),ys=Qs(_r("SkipSelf"),4);class Bu{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function xo(e){return e instanceof Bu?e.changingThisBreaksApplicationSecurity:e}const pm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,gm=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var Tr=(()=>((Tr=Tr||{})[Tr.NONE=0]="NONE",Tr[Tr.HTML=1]="HTML",Tr[Tr.STYLE=2]="STYLE",Tr[Tr.SCRIPT=3]="SCRIPT",Tr[Tr.URL=4]="URL",Tr[Tr.RESOURCE_URL=5]="RESOURCE_URL",Tr))();function wl(e){const t=function na(){const e=O();return e&&e[12]}();return t?t.sanitize(Tr.URL,e)||"":function ea(e,t){const n=function um(e){return e instanceof Bu&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?xo(e):function xa(e){return(e=String(e)).match(pm)||e.match(gm)?e:"unsafe:"+e}(we(e))}const Ku="__ngContext__";function Kr(e,t){e[Ku]=t}function Tl(e){const t=function ra(e){return e[Ku]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Al(e){return e.ngOriginalError}function Bm(e,...t){e.error(...t)}class ia{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Lm(e){return e&&e.ngErrorLogger||Bm}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Al(t);for(;n&&Al(n);)n=Al(n);return n||null}}const Ju=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Kt))();function to(e){return e instanceof Function?e():e}var no=(()=>((no=no||{})[no.Important=1]="Important",no[no.DashCase=2]="DashCase",no))();function Ol(e,t){return undefined(e,t)}function oa(e){const t=e[3];return ht(t)?t[3]:t}function Fl(e){return id(e[13])}function Pl(e){return id(e[4])}function id(e){for(;null!==e&&!ht(e);)e=e[4];return e}function Es(e,t,n,r,o){if(null!=r){let a,d=!1;ht(r)?a=r:Xe(r)&&(d=!0,r=r[0]);const m=ne(r);0===e&&null!==n?null==o?ud(t,n,m):Wo(t,n,m,o||null,!0):1===e&&null!==n?Wo(t,n,m,o||null,!0):2===e?function yd(e,t,n){const r=Na(e,t);r&&function ay(e,t,n,r){x(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,m,d):3===e&&t.destroyNode(m),null!=a&&function uy(e,t,n,r,o){const a=n[7];a!==ne(n)&&Es(t,e,r,a,o);for(let m=10;m<n.length;m++){const v=n[m];sa(v[1],v,e,t,r,a)}}(t,e,a,n,o)}}function Rl(e,t,n){return x(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function sd(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Gr(o,-1)),n.splice(r,1)}function Nl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&sd(o,r),t>0&&(e[n-1][4]=r[4]);const a=Kn(e,10+t);!function Jm(e,t){sa(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const d=a[J];null!==d&&d.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function ad(e,t){if(!(256&t[2])){const n=t[11];x(n)&&n.destroyNode&&sa(e,t,n,3,null,null),function ny(e){let t=e[13];if(!t)return kl(e[1],e);for(;t;){let n=null;if(Xe(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Xe(t)&&kl(t[1],t),t=t[3];null===t&&(t=e),Xe(t)&&kl(t[1],t),n=t&&t[4]}t=n}}(t)}}function kl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function sy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof fo)){const a=n[r+1];if(Array.isArray(a))for(let d=0;d<a.length;d+=2){const m=o[a[d]],v=a[d+1];try{v.call(m)}finally{}}else try{a.call(o)}finally{}}}}(e,t),function oy(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const d=n[a+1],m="function"==typeof d?d(t):ne(t[d]),v=r[o=n[a+2]],M=n[a+3];"boolean"==typeof M?m.removeEventListener(n[a],v,M):M>=0?r[o=M]():r[o=-M].unsubscribe(),a+=2}else{const d=r[o=n[a+1]];n[a].call(d)}if(null!==r){for(let a=o+1;a<r.length;a++)r[a]();t[7]=null}}(e,t),1===t[1].type&&x(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&ht(t[3])){n!==t[3]&&sd(n,t);const r=t[J];null!==r&&r.detachView(e)}}}function ld(e,t,n){return function cd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===jt.None||o===jt.Emulated)return null}return tn(r,n)}(e,t.parent,n)}function Wo(e,t,n,r,o){x(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function ud(e,t,n){x(e)?e.appendChild(t,n):t.appendChild(n)}function dd(e,t,n,r,o){null!==r?Wo(e,t,n,r,o):ud(e,t,n)}function Na(e,t){return x(e)?e.parentNode(t):t.parentNode}
1function fd(e,t,n){return pd(e,t,n)}let pd=function hd(e,t,n){return 40&e.type?tn(e,n):null};function ka(e,t,n,r){const o=ld(e,r,t),a=t[11],m=fd(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)dd(a,o,n[v],m,!1);else dd(a,o,n,m,!1)}function La(e,t){if(null!==t){const n=t.type;if(3&n)return tn(t,e);if(4&n)return Bl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return La(e,r);{const o=e[t.index];return ht(o)?Bl(-1,o):ne(o)}}if(32&n)return Ol(t,e)()||ne(e[t.index]);{const r=md(e,t);return null!==r?Array.isArray(r)?r[0]:La(oa(e[16]),r):La(e,t.next)}}return null}function md(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Bl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return La(r,o)}return t[7]}function $l(e,t,n,r,o,a,d){for(;null!=n;){const m=r[n.index],v=n.type;if(d&&0===t&&(m&&Kr(ne(m),r),n.flags|=4),64!=(64&n.flags))if(8&v)$l(e,t,n.child,r,o,a,!1),Es(t,e,o,m,a);else if(32&v){const M=Ol(n,r);let R;for(;R=M();)Es(t,e,o,R,a);Es(t,e,o,m,a)}else 16&v?vd(e,t,r,n,o,a):Es(t,e,o,m,a);n=d?n.projectionNext:n.next}}function sa(e,t,n,r,o,a){$l(n,r,e.firstChild,t,o,a,!1)}function vd(e,t,n,r,o,a){const d=n[16],v=d[6].projection[r.projection];if(Array.isArray(v))for(let M=0;M<v.length;M++)Es(t,e,o,v[M],a);else $l(e,t,v,d[3],o,a,!0)}function _d(e,t,n){x(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Vl(e,t,n){x(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Dd(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const a=t.length;if(o+a===r||e.charCodeAt(o+a)<=32)return o}n=o+1}}const Ed="ng-template";function fy(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Dd(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Cd(e){return 4===e.type&&e.value!==Ed}function hy(e,t,n){return t===(4!==e.type||n?e.value:Ed)}function py(e,t,n){let r=4;const o=e.attrs||[],a=function yy(e){for(let t=0;t<e.length;t++)if(jo(e[t]))return t;return e.length}(o);let d=!1;for(let m=0;m<t.length;m++){const v=t[m];
vendor: 5,866 bytes, line 1
1if("number"!=typeof v){if(!d)if(4&r){if(r=2|1&r,""!==v&&!hy(e,v,n)||""===v&&1===t.length){if(Vi(r))return!1;d=!0}}else{const M=8&r?v:t[++m];if(8&r&&null!==e.attrs){if(!fy(e.attrs,M,n)){if(Vi(r))return!1;d=!0}continue}const G=gy(8&r?"class":v,o,Cd(e),n);if(-1===G){if(Vi(r))return!1;d=!0;continue}if(""!==M){let se;se=G>a?"":o[G+1].toLowerCase();const Ae=8&r?se:null;if(Ae&&-1!==Dd(Ae,M,0)||2&r&&M!==se){if(Vi(r))return!1;d=!0}}}}else{if(!d&&!Vi(r)&&!Vi(v))return!1;if(d&&Vi(v))continue;d=!1,r=v|1&r}}return Vi(r)||d}function Vi(e){return 0==(1&e)}function gy(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let a=!1;for(;o<t.length;){const d=t[o];if(d===e)return o;if(3===d||6===d)a=!0;else{if(1===d||2===d){let m=t[++o];for(;"string"==typeof m;)m=t[++o];continue}if(4===d)break;if(0===d){o+=4;continue}}o+=a?1:2}return-1}return function vy(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 bd(e,t,n=!1){for(let r=0;r<t.length;r++)if(py(e,t[r],n))return!0;return!1}function _y(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function wd(e,t){return e?":not("+t.trim()+")":t}function Dy(e){let t=e[0],n=1,r=2,o="",a=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&r){const m=e[++n];o+="["+d+(m.length>0?'="'+m+'"':"")+"]"}else 8&r?o+="."+d:4&r&&(o+=" "+d);else""!==o&&!Vi(d)&&(t+=wd(a,o),o=""),r=d,a=a||!Vi(r);n++}return""!==o&&(t+=wd(a,o)),t}const on={};function Sd(e){Td(De(),O(),Mr()+e,ti())}function Td(e,t,n,r){if(!r)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&rr(t,a,n)}else{const a=e.preOrderHooks;null!==a&&Bi(t,a,0,n)}ni(n)}function Ba(e,t){return e<<17|t<<2}function ji(e){return e>>17&32767}function jl(e){return 2|e}function _o(e){return(131068&e)>>2}function Hl(e,t){return-131069&e|t<<2}function Ul(e){return 1|e}function Ld(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],a=n[r+1];if(-1!==a){const d=e.data[a];Ai(o),d.contentQueries(2,t[a],a)}}}function aa(e,t,n,r,o,a,d,m,v,M){const R=t.blueprint.slice();return R[0]=o,R[2]=140|r,pi(R),R[3]=R[15]=e,R[8]=n,R[10]=d||e&&e[10],R[11]=m||e&&e[11],R[12]=v||e&&e[12]||null,R[9]=M||e&&e[9]||null,R[6]=a,R[16]=2==t.type?e[16]:R,R}function Cs(e,t,n,r,o){let a=e.data[t];if(null===a)a=function Zl(e,t,n,r,o){const a=Wt(),d=Ln(),v=e.data[t]=function By(e,t,n,r,o,a){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?a:a&&a.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=v),null!==a&&(d?null==a.child&&null!==v.parent&&(a.child=v):null===a.next&&(a.next=v)),v}(e,t,n,r,o),function Ys(){return w.lFrame.inI18n}()&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=o;const d=function un(){const e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===d?-1:d.injectorIndex}return dn(a,!0),a}function bs(e,t,n,r){if(0===n)return-1;const o=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function la(e,t,n){wo(t);try{const r=e.viewQuery;null!==r&&ac(1,r,n);const o=e.template;null!==o&&Bd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ld(e,t),e.staticViewQueries&&ac(2,e.viewQuery,n);const a=e.components;null!==a&&function Ny(e,t){for(let n=0;n<t.length;n++)nv(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Wi()}}function ws(e,t,n,r){const o=t[2];if(256==(256&o))return;wo(t);const a=ti();try{pi(t),function Zo(e){return w.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Bd(e,t,n,2,r);const d=3==(3&o);if(!a)if(d){const M=e.preOrderCheckHooks;null!==M&&rr(t,M,null)}else{const M=e.preOrderHooks;null!==M&&Bi(t,M,0,null),Ki(t,0)}if(function ev(e){for(let t=Fl(e);null!==t;t=Pl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],a=o[3];0==(1024&o[2])&&Gr(a,1),o[2]|=1024}}}(t),function Jy(e){for(let t=Fl(e);null!==t;t=Pl(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Zn(r)&&ws(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Ld(e,t),!a)if(d){const M=e.contentCheckHooks;null!==M&&rr(t,M)}else{const M=e.contentHooks;null!==M&&Bi(t,M,1),Ki(t,1)}!function xy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)ni(~o);else{const a=o,d=n[++r],m=n[++r];Ws(d,a),m(2,t[a])}}}finally{ni(-1)}}(e,t);const m=e.components;null!==m&&function Ry(e,t){for(let n=0;n<t.length;n++)tv(e,t[n])}(t,m);const v=e.viewQuery;if(null!==v&&ac(2,v,r),!a)if(d){const M=e.viewCheckHooks;null!==M&&rr(t,M)}else{const M=e.viewHooks;null!==M&&Bi(t,M,2),Ki(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),a||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Gr(t[3],-1))}finally{Wi()}}function ky(e,t,n,r){const o=t[10],a=!ti(),d=cn(t);try{a&&!d&&o.begin&&o.begin(),d&&la(e,t,r),ws(e,t,n,r)}finally{a&&!d&&o.end&&o.end()}}function Bd(e,t,n,r,o){const a=Mr(),d=2&r;try{ni(-1),d&&t.length>20&&Td(e,t,20,ti()),n(r,o)}finally{ni(a)}}function $d(e,t,n){if(Tt(t)){const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const d=e.data[a];d.contentQueries&&d.contentQueries(1,n[a],a)}}}function Jl(e,t,n){!E()||(function Gy(e,t,n,r){const o=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||mo(n,t),Kr(r,t);const d=n.initialInputs;for(let m=o;m<a;m++){const v=e.data[m],M=An(v);
1M&&Xy(t,n,v);const R=z(t,e,m,n);Kr(R,t),null!==d&&Qy(0,m-o,R,v,0,d),M&&(ln(n.index,t)[8]=R)}}(e,t,n,tn(n,t)),128==(128&n.flags)&&function Yy(e,t,n){const r=n.directiveStart,o=n.directiveEnd,d=n.index,m=function Eo(){return w.lFrame.currentDirectiveIndex}();try{ni(d);for(let v=r;v<o;v++){const M=e.data[v],R=t[v];Co(v),(null!==M.hostBindings||0!==M.hostVars||null!==M.hostAttrs)&&Wd(M,R)}}finally{ni(-1),Co(m)}}(e,t,n))}function ec(e,t,n=tn){const r=t.localNames;if(null!==r){let o=t.index+1;for(let a=0;a<r.length;a+=2){const d=r[a+1],m=-1===d?n(t,e):e[d];e[o++]=m}}}function Vd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ja(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ja(e,t,n,r,o,a,d,m,v,M){const R=20+r,G=R+o,se=function Ly(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:on);return n}(R,G),Ae="function"==typeof M?M():M;return se[1]={type:e,blueprint:se,template:n,queries:null,viewQuery:m,declTNode:t,data:se.slice().fill(null,R),bindingStartIndex:R,expandoStartIndex:G,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof d?d():d,firstChild:null,schemas:v,consts:Ae,incompleteFirstPass:!1}}function Ud(e,t,n,r){const o=Jd(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&ef(e).push(r,o.length-1))}function zd(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function tc(e,t,n,r){let o=!1;if(E()){const a=function Wy(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let a=0;a<r.length;a++){const d=r[a];bd(n,d.selectors,!1)&&(o||(o=[]),D(mo(n,t),e,d.type),An(d)?(Kd(e,n),o.unshift(d)):o.push(d))}return o}(e,t,n),d=null===r?null:{"":-1};if(null!==a){o=!0,qd(n,e.data.length,a.length);for(let R=0;R<a.length;R++){const G=a[R];G.providersResolver&&G.providersResolver(G)}let m=!1,v=!1,M=bs(e,t,a.length,null);for(let R=0;R<a.length;R++){const G=a[R];n.mergedAttrs=Oi(n.mergedAttrs,G.hostAttrs),Xd(e,n,t,M,G),qy(M,G,d),null!==G.contentQueries&&(n.flags|=8),(null!==G.hostBindings||null!==G.hostAttrs||0!==G.hostVars)&&(n.flags|=128);const se=G.type.prototype;!m&&(se.ngOnChanges||se.ngOnInit||se.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),m=!0),!v&&(se.ngOnChanges||se.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),v=!0),M++}!function $y(e,t){const r=t.directiveEnd,o=e.data,a=t.attrs,d=[];let m=null,v=null;for(let M=t.directiveStart;M<r;M++){const R=o[M],G=R.inputs,se=null===a||Cd(t)?null:Zy(G,a);d.push(se),m=zd(G,M,m),v=zd(R.outputs,M,v)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=16),m.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=d,t.inputs=m,t.outputs=v}(e,n)}d&&function Ky(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const a=n[t[o+1]];if(null==a)throw new Re(-301,`Export of name '${t[o+1]}' not found!`);r.push(t[o],a)}}}(n,r,d)}return n.mergedAttrs=Oi(n.mergedAttrs,n.attrs),o}function Yd(e,t,n,r,o,a){const d=a.hostBindings;if(d){let m=e.hostBindingOpCodes;null===m&&(m=e.hostBindingOpCodes=[]);const v=~t.index;(function zy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(m)!=v&&m.push(v),m.push(r,o,d)}}function Wd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}
1function qy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;An(t)&&(n[""]=e)}}function qd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Xd(e,t,n,r,o){e.data[r]=o;const a=o.factory||(o.factory=tr(o.type)),d=new fo(a,An(o),null);e.blueprint[r]=d,n[r]=d,Yd(e,t,0,r,bs(e,n,o.hostVars,on),o)}function Xy(e,t,n){const r=tn(t,e),o=Vd(n),a=e[10],d=Ha(e,aa(e,o,null,n.onPush?64:16,r,t,a,a.createRenderer(r,n),null,null));e[t.index]=d}function ro(e,t,n,r,o,a){const d=tn(e,t);!function nc(e,t,n,r,o,a,d){if(null==a)x(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const m=null==d?we(a):d(a,r||"",o);x(e)?e.setAttribute(t,o,m,n):n?t.setAttributeNS(n,o,m):t.setAttribute(o,m)}}(t[11],d,a,e.value,n,r,o)}function Qy(e,t,n,r,o,a){const d=a[t];if(null!==d){const m=r.setInput;for(let v=0;v<d.length;){const M=d[v++],R=d[v++],G=d[v++];null!==m?r.setInput(n,G,M,R):n[R]=G}}}function Zy(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Qd(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function tv(e,t){const n=ln(t,e);if(Zn(n)){const r=n[1];80&n[2]?ws(r,n,r.template,n[8]):n[5]>0&&rc(n)}}function rc(e){for(let r=Fl(e);null!==r;r=Pl(r))for(let o=10;o<r.length;o++){const a=r[o];if(1024&a[2]){const d=a[1];ws(d,a,d.template,a[8])}else a[5]>0&&rc(a)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=ln(n[r],e);Zn(o)&&o[5]>0&&rc(o)}}function nv(e,t){const n=ln(t,e),r=n[1];(function rv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),la(r,n,n[8])}function Ha(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ic(e){for(;e;){e[2]|=64;const t=oa(e);if(zn(e)&&!t)return e;e=t}return null}function sc(e,t,n){const r=t[10];r.begin&&r.begin();try{ws(e,t,e.template,n)}catch(o){throw nf(t,o),o}finally{r.end&&r.end()}}function Zd(e){!function oc(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Tl(n),o=r[1];ky(o,r,o.template,n)}}(e[8])}function ac(e,t,n){Ai(0),t(e,n)}const av=(()=>Promise.resolve(null))();function Jd(e){return e[7]||(e[7]=[])}function ef(e){return e.cleanup||(e.cleanup=[])}function nf(e,t){const n=e[9],r=n?n.get(ia,null):null;r&&r.handleError(t)}function rf(e,t,n,r,o){for(let a=0;a<n.length;){const d=n[a++],m=n[a++],v=t[d],M=e.data[d];null!==M.setInput?M.setInput(v,o,r,m):v[m]=o}}function Do(e,t,n){const r=bt(t,e);!function od(e,t,n){x(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Ua(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,a=0;if(null!==t)for(let d=0;d<t.length;d++){const m=t[d];"number"==typeof m?a=m:1==a?o=pe(o,m):2==a&&(r=pe(r,m+": "+t[++d]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}const lc=new Mn("INJECTOR",-1);class of{get(t,n=qs){if(n===qs){const r=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw r.name="NullInjectorError",r}return n}}const cc=new Mn("Set Injector scope."),ca={},uv={};let uc;function sf(){return void 0===uc&&(uc=new of),uc}function af(e,t=null,n=null,r){const o=lf(e,t,n,r);return o._resolveInjectorDefTypes(),o}function lf(e,t=null,n=null,r){return new dv(e,n,t||sf(),r)}class dv{constructor(t,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const a=[];n&&fr(n,m=>this.processProvider(m,t,n)),fr([t],m=>this.processInjectorType(m,[],a)),this.records.set(lc,Ss(void 0,this));const d=this.records.get(cc);this.scope=null!=d?d.value:null,this.source=o||("object"==typeof t?null:re(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=qs,r=xe.Default){this.assertNotDestroyed();const o=Mu(this),a=et(void 0);try{if(!(r&xe.SkipSelf)){let m=this.records.get(t);if(void 0===m){const v=function _v(e){return"function"==typeof e||"object"==typeof e&&e instanceof Mn}(t)&&nn(t);m=v&&this.injectableDefInScope(v)?Ss(dc(t),ca):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(r&xe.Self?sf():this.parent).get(t,n=r&xe.Optional&&n===qs?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[Ma]=d[Ma]||[]).unshift(re(t)),o)throw d;return function Wg(e,t,n,r){const o=e[Ma];throw t[Au]&&o.unshift(t[Au]),e.message=function Kg(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=re(t);if(Array.isArray(t))o=t.map(re).join(" -> ");else if("object"==typeof t){let a=[];for(let d in t)if(t.hasOwnProperty(d)){let m=t[d];
1a.push(d+":"+("string"==typeof m?JSON.stringify(m):re(m)))}o=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Hg,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ma]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{et(a),Mu(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(re(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Re(205,"")}processInjectorType(t,n,r){if(!(t=ie(t)))return!1;let o=cr(t);const a=null==o&&t.ngModule||void 0,d=void 0===a?t:a,m=-1!==r.indexOf(d);if(void 0!==a&&(o=cr(a)),null==o)return!1;if(null!=o.imports&&!m){let R;r.push(d);try{fr(o.imports,G=>{this.processInjectorType(G,n,r)&&(void 0===R&&(R=[]),R.push(G))})}finally{}if(void 0!==R)for(let G=0;G<R.length;G++){const{ngModule:se,providers:Ae}=R[G];fr(Ae,Ze=>this.processProvider(Ze,se,Ae||xt))}}this.injectorDefTypes.add(d);const v=tr(d)||(()=>new d);this.records.set(d,Ss(v,ca));const M=o.providers;if(null!=M&&!m){const R=t;fr(M,G=>this.processProvider(G,R,M))}return void 0!==a&&void 0!==t.providers}processProvider(t,n,r){let o=Ts(t=ie(t))?t:ie(t&&t.provide);const a=function hv(e,t,n){return uf(e)?Ss(void 0,e.useValue):Ss(cf(e),ca)}(t);if(Ts(t)||!0!==t.multi)this.records.get(o);else{let d=this.records.get(o);d||(d=Ss(void 0,ca,!0),d.factory=()=>ml(d.multi),this.records.set(o,d)),o=t,d.multi.push(t)}this.records.set(o,a)}hydrate(t,n){return n.value===ca&&(n.value=uv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function vv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ie(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function dc(e){const t=nn(e),n=null!==t?t.factory:tr(e);if(null!==n)return n;if(e instanceof Mn)throw new Re(204,"");if(e instanceof Function)return function fv(e){const t=e.length;if(t>0)throw Fo(t,"?"),new Re(204,"");const n=function $n(e){const t=e&&(e[Jn]||e[fn]);if(t){const n=function Vn(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 Re(204,"")}function cf(e,t,n){let r;if(Ts(e)){const o=ie(e);return tr(o)||dc(o)}if(uf(e))r=()=>ie(e.useValue);else if(function gv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ml(e.deps||[]));else if(function pv(e){return!(!e||!e.useExisting)}(e))r=()=>jr(ie(e.useExisting));else{const o=ie(e&&(e.useClass||e.provide));if(!function yv(e){return!!e.deps}(e))return tr(o)||dc(o);r=()=>new o(...ml(e.deps))}return r}function Ss(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function uf(e){return null!==e&&"object"==typeof e&&zg in e}function Ts(e){return"function"==typeof e}let Pi=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return af({name:""},r,n,"");{const a=null!==(o=n.name)&&void 0!==o?o:"";return af({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=qs,e.NULL=new of,e.\u0275prov=Et({token:e,providedIn:"any",factory:()=>jr(lc)}),e.__NG_ELEMENT_ID__=-1,e})();function Iv(e,t){ri(Tl(e)[1],pt())}function pc(e){let t=function Cf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(An(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Re(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const d=e;d.inputs=gc(e.inputs),d.declaredInputs=gc(e.declaredInputs),d.outputs=gc(e.outputs);const m=o.hostBindings;m&&Fv(e,m);const v=o.viewQuery,M=o.contentQueries;if(v&&Mv(e,v),M&&Ov(e,M),je(e.inputs,o.inputs),je(e.declaredInputs,o.declaredInputs),je(e.outputs,o.outputs),An(o)&&o.data.animation){const R=e.data;R.animation=(R.animation||[]).concat(o.data.animation)}}const a=o.features;if(a)for(let d=0;d<a.length;d++){const m=a[d];m&&m.ngInherit&&m(e),m===pc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Av(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Oi(o.hostAttrs,n=Oi(n,o.hostAttrs))}}(r)}function gc(e){return e===Qt?{}:e===xt?[]:e}function Mv(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function Ov(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,a)=>{t(r,o,a),n(r,o,a)}:t}function Fv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let za=null;function Is(){if(!za){const e=Kt.Symbol;if(e&&e.iterator)za=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(za=r)}}}return za}function ua(e){return!!mc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Is()in e)}function mc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function qr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function yc(e,t,n,r){const o=O();return qr(o,Li(),t)&&(De(),ro(Gn(),o,e,t,n,r)),yc}function Os(e,t,n,r,o,a){const m=function Ko(e,t,n,r){const o=qr(e,t,n);return qr(e,t+1,r)||o}(e,function gi(){return w.lFrame.bindingIndex}(),n,o);return Ii(2),m?t+we(n)+r+we(o)+a:on}function Pf(e,t,n,r,o,a,d,m){const v=O(),M=De(),R=e+20,G=M.firstCreatePass?function Bv(e,t,n,r,o,a,d,m,v){const M=t.consts,R=Cs(t,e,4,d||null,pr(M,m));
1tc(t,n,R,pr(M,v)),ri(t,R);const G=R.tViews=ja(2,R,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,M);return null!==t.queries&&(t.queries.template(t,R),G.queries=t.queries.embeddedTView(R)),R}(R,M,v,t,n,r,o,a,d):M.data[R];dn(G,!1);const se=v[11].createComment("");ka(M,v,se,G),Kr(se,v),Ha(v,v[R]=Qd(se,v,se,G)),Ht(G)&&Jl(M,v,G),null!=d&&ec(v,G,m)}function fa(e,t=xe.Default){const n=O();return null===n?jr(e,t):s(pt(),n,ie(e),t)}function Uf(){throw new Error("invalid")}function Cc(e,t,n){const r=O();return qr(r,Li(),t)&&function Di(e,t,n,r,o,a,d,m){const v=tn(t,n);let R,M=t.inputs;!m&&null!=M&&(R=M[r])?(rf(e,n,R,r,o),Bt(t)&&function jy(e,t){const n=ln(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function Vy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=d?d(o,t.value||"",r):o,x(a)?a.setProperty(v,r,o):Ho(r)||(v.setProperty?v.setProperty(r,o):v[r]=o))}(De(),Gn(),r,e,t,r[11],n,!1),Cc}function bc(e,t,n,r,o){const d=o?"class":"style";rf(e,n,t.inputs[d],d,r)}function wc(e,t,n,r){const o=O(),a=De(),d=20+e,m=o[11],v=o[d]=Rl(m,t,function Ks(){return w.lFrame.currentNamespace}()),M=a.firstCreatePass?function s_(e,t,n,r,o,a,d){const m=t.consts,M=Cs(t,e,2,o,pr(m,a));return tc(t,n,M,pr(m,d)),null!==M.attrs&&Ua(M,M.attrs,!1),null!==M.mergedAttrs&&Ua(M,M.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,M),M}(d,a,o,0,t,n,r):a.data[d];dn(M,!0);const R=M.mergedAttrs;null!==R&&po(m,v,R);const G=M.classes;null!==G&&Vl(m,v,G);const se=M.styles;null!==se&&_d(m,v,se),64!=(64&M.flags)&&ka(a,o,v,M),0===function _(){return w.lFrame.elementDepthCount}()&&Kr(v,o),function j(){w.lFrame.elementDepthCount++}(),Ht(M)&&(Jl(a,o,M),$d(a,M,o)),null!==r&&ec(o,M)}function Sc(){let e=pt();Ln()?gr():(e=e.parent,dn(e,!1));const t=e;!function c(){w.lFrame.elementDepthCount--}();const n=De();n.firstCreatePass&&(ri(n,e),Tt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function cs(e){return 0!=(16&e.flags)}(t)&&bc(n,t,O(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Vo(e){return 0!=(32&e.flags)}(t)&&bc(n,t,O(),t.stylesWithoutHost,!1)}function zf(e,t,n,r){wc(e,t,n,r),Sc()}function Tc(e,t,n){const r=O(),o=De(),a=e+20,d=o.firstCreatePass?function a_(e,t,n,r,o){const a=t.consts,d=pr(a,r),m=Cs(t,e,8,"ng-container",d);return null!==d&&Ua(m,d,!0),tc(t,n,m,pr(a,o)),null!==t.queries&&t.queries.elementStart(t,m),m}(a,o,r,t,n):o.data[a];dn(d,!0);const m=r[a]=r[11].createComment("");ka(o,r,m,d),Kr(m,r),Ht(d)&&(Jl(o,r,d),$d(o,d,r)),null!=n&&ec(r,d)}function Ic(){let e=pt();const t=De();Ln()?gr():(e=e.parent,dn(e,!1)),t.firstCreatePass&&(ri(t,e),Tt(e)&&t.queries.elementEnd(e))}function Gf(e,t,n){Tc(e,t,n),Ic()}function Yf(){return O()}function Ac(e){return!!e&&"function"==typeof e.then}function Wf(e){return!!e&&"function"==typeof e.subscribe}const Kf=Wf;function Mc(e,t,n,r){const o=O(),a=De(),d=pt();return function Xf(e,t,n,r,o,a,d,m){const v=Ht(r),R=e.firstCreatePass&&ef(e),G=t[8],se=Jd(t);let Ae=!0;if(3&r.type||m){const yt=tn(r,t),wt=m?m(yt):yt,rt=se.length,$t=m?yn=>m(ne(yn[r.index])):r.index;if(x(n)){let yn=null;if(!m&&v&&(yn=function l_(e,t,n,r){const o=e.cleanup;if(null!=o)for(let a=0;a<o.length-1;a+=2){const d=o[a];if(d===n&&o[a+1]===r){const m=t[7],v=o[a+2];return m.length>v?m[v]:null}"string"==typeof d&&(a+=2)}return null}(e,t,o,r.index)),null!==yn)(yn.__ngLastListenerFn__||yn).__ngNextListenerFn__=a,yn.__ngLastListenerFn__=a,Ae=!1;else{a=Oc(r,t,G,a,!1);const Bn=n.listen(wt,o,a);se.push(a,Bn),R&&R.push(o,$t,rt,rt+1)}}else a=Oc(r,t,G,a,!0),wt.addEventListener(o,a,d),se.push(a),R&&R.push(o,$t,rt,d)}else a=Oc(r,t,G,a,!1);const Ze=r.outputs;let ft;if(Ae&&null!==Ze&&(ft=Ze[o])){const yt=ft.length;if(yt)for(let wt=0;wt<yt;wt+=2){const Ci=t[ft[wt]][ft[wt+1]].subscribe(a),Qo=se.length;se.push(a,Ci),R&&R.push(o,r.index,Qo,-(Qo+1))}}}(a,o,o[11],d,e,t,!!n,r),Mc}function Qf(e,t,n,r){try{return!1!==n(r)}catch(o){return nf(e,o),!1}}function Oc(e,t,n,r,o){return function a(d){if(d===Function)return r;const m=2&e.flags?ln(e.index,t):t;0==(32&t[2])&&ic(m);let v=Qf(t,0,r,d),M=a.__ngNextListenerFn__;for(;M;
vendor: 4,541 bytes, line 1
1)v=Qf(t,0,M,d)&&v,M=M.__ngNextListenerFn__;return o&&!1===v&&(d.preventDefault(),d.returnValue=!1),v}}function Zf(e=1){return function Lo(e){return(w.lFrame.contextLView=function Bo(e,t){for(;e>0;)t=t[15],e--;return t}(e,w.lFrame.contextLView))[8]}(e)}function c_(e,t){let n=null;const r=function my(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const a=t[o];if("*"!==a){if(null===r?bd(e,a,!0):_y(r,a))return o}else n=o}return n}function Jf(e){const t=O()[16][6];if(!t.projection){const r=t.projection=Fo(e?e.length:1,null),o=r.slice();let a=t.child;for(;null!==a;){const d=e?c_(a,e):0;null!==d&&(o[d]?o[d].projectionNext=a:r[d]=a,o[d]=a),a=a.next}}}function eh(e,t=0,n){const r=O(),o=De(),a=Cs(o,20+e,16,null,n||null);null===a.projection&&(a.projection=t),gr(),64!=(64&a.flags)&&function cy(e,t,n){vd(t[11],0,t,n,ld(e,n,t),fd(n.parent||t[6],n,t))}(o,r,a)}function uh(e,t,n,r,o){const a=e[n+1],d=null===t;let m=r?ji(a):_o(a),v=!1;for(;0!==m&&(!1===v||d);){const R=e[m+1];f_(e[m],t)&&(v=!0,e[m+1]=r?Ul(R):jl(R)),m=r?ji(R):_o(R)}v&&(e[n+1]=r?jl(a):Ul(a))}function f_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ms(e,t)>=0}const Or={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dh(e){return e.substring(Or.key,Or.keyEnd)}function fh(e,t){const n=Or.textEnd;return n===t?-1:(t=Or.keyEnd=function m_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Or.key=t,n),Bs(e,t,n))}function Bs(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pc(e,t){return function Ui(e,t,n,r){const o=O(),a=De(),d=Ii(2);a.firstUpdatePass&&Dh(a,e,d,r),t!==on&&qr(o,d,t)&&Ch(a,a.data[Mr()],o,o[11],e,o[d+1]=function T_(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=re(xo(e)))),e}(t,n),r,d)}(e,t,null,!0),Pc}function vh(e){!function zi(e,t,n,r){const o=De(),a=Ii(2);o.firstUpdatePass&&Dh(o,null,a,r);const d=O();if(n!==on&&qr(d,a,n)){const m=o.data[Mr()];if(wh(m,r)&&!_h(o,a)){let v=r?m.classesWithoutHost:m.stylesWithoutHost;null!==v&&(n=pe(v,n||"")),bc(o,m,d,n,r)}else!function S_(e,t,n,r,o,a,d,m){o===on&&(o=xt);let v=0,M=0,R=0<o.length?o[0]:null,G=0<a.length?a[0]:null;for(;null!==R||null!==G;){const se=v<o.length?o[v+1]:void 0,Ae=M<a.length?a[M+1]:void 0;let ft,Ze=null;R===G?(v+=2,M+=2,se!==Ae&&(Ze=G,ft=Ae)):null===G||null!==R&&R<G?(v+=2,Ze=R):(M+=2,Ze=G,ft=Ae),null!==Ze&&Ch(e,t,n,r,Ze,ft,d,m),R=v<o.length?o[v]:null,G=M<a.length?a[M]:null}}(o,m,d,d[11],d[a+1],d[a+1]=function w_(e,t,n){if(null==n||""===n)return xt;const r=[],o=xo(n);if(Array.isArray(o))for(let a=0;a<o.length;a++)e(r,o[a],!0);else if("object"==typeof o)for(const a in o)o.hasOwnProperty(a)&&e(r,a,o[a]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,a)}}(_i,so,e,!0)}function so(e,t){for(let n=function p_(e){return function ph(e){Or.key=0,Or.keyEnd=0,Or.value=0,Or.valueEnd=0,Or.textEnd=e.length}(e),fh(e,Bs(e,0,Or.textEnd))}(t);n>=0;n=fh(t,n))_i(e,dh(t),!0)}function _h(e,t){return t>=e.expandoStartIndex}function Dh(e,t,n,r){const o=e.data;if(null===o[n+1]){const a=o[Mr()],d=_h(e,n);wh(a,r)&&null===t&&!d&&(t=!1),t=function D_(e,t,n,r){const o=function es(e){const t=w.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ha(n=xc(null,e,t,n,r),t.attrs,r),a=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==o)if(n=xc(o,e,t,n,r),null===a){let v=function E_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==_o(r))return e[ji(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=xc(null,e,t,v[1],r),v=ha(v,t.attrs,r),function C_(e,t,n,r){e[ji(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else a=function b_(e,t,n){let r;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<o;a++)r=ha(r,e[a].hostAttrs,n);return ha(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(o,a,t,r),function u_(e,t,n,r,o,a){let d=a?t.classBindings:t.styleBindings,m=ji(d),v=_o(d);e[r]=n;let R,M=!1;if(Array.isArray(n)){const G=n;R=G[1],(null===R||ms(G,R)>0)&&(M=!0)}else R=n;if(o)if(0!==v){const se=ji(e[m+1]);e[r+1]=Ba(se,m),0!==se&&(e[se+1]=Hl(e[se+1],r)),e[m+1]=function by(e,t){return 131071&e|t<<17}(e[m+1],r)}else e[r+1]=Ba(m,0),0!==m&&(e[m+1]=Hl(e[m+1],r)),m=r;else e[r+1]=Ba(v,0),0===m?m=r:e[v+1]=Hl(e[v+1],r),v=r;M&&(e[r+1]=jl(e[r+1])),uh(e,R,r,!0),uh(e,R,r,!1),function d_(e,t,n,r,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&ms(a,t)>
1=0&&(n[r+1]=Ul(n[r+1]))}(t,R,e,r,a),d=Ba(m,v),a?t.classBindings=d:t.styleBindings=d}(o,a,t,n,d,r)}}function xc(e,t,n,r,o){let a=null;const d=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<d&&(a=t[m],r=ha(r,a.hostAttrs,o),a!==e);)m++;return null!==e&&(n.directiveStylingLast=m),r}function ha(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?o=d:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),_i(e,d,!!n||t[++a]))}return void 0===e?null:e}function Ch(e,t,n,r,o,a,d,m){if(!(3&t.type))return;const v=e.data,M=v[m+1];Wa(function Md(e){return 1==(1&e)}(M)?bh(v,t,n,o,_o(M),d):void 0)||(Wa(a)||function Ad(e){return 2==(2&e)}(M)&&(a=bh(v,null,n,o,m,d)),function dy(e,t,n,r,o){const a=x(e);if(t)o?a?e.addClass(n,r):n.classList.add(r):a?e.removeClass(n,r):n.classList.remove(r);else{let d=-1===r.indexOf("-")?void 0:no.DashCase;if(null==o)a?e.removeStyle(n,r,d):n.style.removeProperty(r);else{const m="string"==typeof o&&o.endsWith("!important");m&&(o=o.slice(0,-10),d|=no.Important),a?e.setStyle(n,r,o,d):n.style.setProperty(r,o,m?"important":"")}}}(r,d,bt(Mr(),n),o,a))}function bh(e,t,n,r,o,a){const d=null===t;let m;for(;o>0;){const v=e[o],M=Array.isArray(v),R=M?v[1]:v,G=null===R;let se=n[o+1];se===on&&(se=G?xt:void 0);let Ae=G?hl(se,r):R===r?se:void 0;if(M&&!Wa(Ae)&&(Ae=hl(v,r)),Wa(Ae)&&(m=Ae,d))return m;const Ze=e[o+1];o=d?ji(Ze):_o(Ze)}if(null!==t){let v=a?t.residualClasses:t.residualStyles;null!=v&&(m=hl(v,r))}return m}function Wa(e){return void 0!==e}function wh(e,t){return 0!=(e.flags&(t?16:32))}function Sh(e,t=""){const n=O(),r=De(),o=e+20,a=r.firstCreatePass?Cs(r,o,1,t,null):r.data[o],d=n[o]=function xl(e,t){return x(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ka(r,n,d,a),dn(a,!1)}function Rc(e){return Ka("",e,""),Rc}function Ka(e,t,n){const r=O(),o=function Ms(e,t,n,r){return qr(e,Li(),n)?t+we(n)+r:on}(r,e,t,n);return o!==on&&Do(r,Mr(),o),Ka}function Nc(e,t,n,r,o){const a=O(),d=Os(a,e,t,n,r,o);return d!==on&&Do(a,Mr(),d),Nc}const qo=void 0;var Y_=["en",[["a","p"],["AM","PM"],qo],[["AM","PM"],qo,qo],[["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"]],qo,[["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"]],qo,[["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}",qo,"{1} 'at' {0}",qo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function G_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let $s={};function kc(e){const t=function W_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Gh(t);if(n)return n;const r=t.split("-")[0];if(n=Gh(r),n)return n;if("en"===r)return Y_;throw new Error(`Missing locale data for the locale "${e}".`)}function zh(e){return kc(e)[Gt.PluralCase]}function Gh(e){return e in $s||($s[e]=Kt.ng&&Kt.ng.common&&Kt.ng.common.locales&&Kt.ng.common.locales[e]),$s[e]}var Gt=(()=>((Gt=Gt||{})[Gt.LocaleId=0]="LocaleId",Gt[Gt.DayPeriodsFormat=1]="DayPeriodsFormat",Gt[Gt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Gt[Gt.DaysFormat=3]="DaysFormat",Gt[Gt.DaysStandalone=4]="DaysStandalone",Gt[Gt.MonthsFormat=5]="MonthsFormat",Gt[Gt.MonthsStandalone=6]="MonthsStandalone",Gt[Gt.Eras=7]="Eras",Gt[Gt.FirstDayOfWeek=8]="FirstDayOfWeek",Gt[Gt.WeekendRange=9]="WeekendRange",Gt[Gt.DateFormat=10]="DateFormat",Gt[Gt.TimeFormat=11]="TimeFormat",Gt[Gt.DateTimeFormat=12]="DateTimeFormat",Gt[Gt.NumberSymbols=13]="NumberSymbols",Gt[Gt.NumberFormats=14]="NumberFormats",Gt[Gt.CurrencyCode=15]="CurrencyCode",Gt[Gt.CurrencySymbol=16]="CurrencySymbol",Gt[Gt.CurrencyName=17]="CurrencyName",Gt[Gt.Currencies=18]="Currencies",Gt[Gt.Directionality=19]="Directionality",Gt[Gt.PluralCase=20]="PluralCase",Gt[Gt.ExtraData=21]="ExtraData",Gt))();const qa="en-US";let Yh=qa;function $c(e,t,n,r,o){if(e=ie(e),Array.isArray(e))for(let a=0;a<e.length;a++)$c(e[a],t,n,r,o);else{const a=De(),d=O();let m=Ts(e)?e:ie(e.provide),v=cf(e);const M=pt(),R=1048575&M.providerIndexes,G=M.directiveStart,se=M.providerIndexes>>20;if(Ts(e)||!e.multi){const Ae=new fo(v,o,fa),Ze=jc(m,t,o?R:R+se,G);-1===Ze?(D(mo(M,d),a,m),Vc(a,e,t.length),t.push(m),M.directiveStart++,M.directiveEnd++,o&&(M.providerIndexes+=1048576),n.push(Ae),d.push(Ae)):(n[Ze]=Ae,d[Ze]=Ae)}else{const Ae=jc(m,t,R+se,G),Ze=jc(m,t,R,R+se),ft=Ae>=0&&n[Ae],yt=Ze>=0&&n[Ze];if(o&&!yt||!o&&!ft){D(mo(M,d),a,m);const wt=function Y0(e,t,n,r,o){const a=new fo(e,n,fa);return a.multi=[],a.index=t,a.componentProviders=0,mp(a,o,r&&!n),a}(o?G0:z0,n.length,o,r,v);!o&&yt&&(n[Ze].providerFactory=wt),Vc(a,e,t.length,0),t.push(m),M.directiveStart++,M.directiveEnd++,o&&(M.providerIndexes+=1048576),n.push(wt),d.push(wt)}else Vc(a,e,Ae>-1?Ae:Ze,mp(n[o?Ze:Ae],v,!o&&r));!o&&r&&yt&&n[Ze].componentProviders++}}}function Vc(e,t,n,r){const o=Ts(t),a=function mv(e){return!!e.useClass}(t);if(o||a){const v=(a?ie(t.useClass):t).prototype.ngOnDestroy;if(v){const M=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const R=M.indexOf(n);-1===R?M.push(n,[r,v]):M[R+1].push(r,v)}else M.push(n,v)}}}function mp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function jc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function z0(e,t,n,r){return Hc(this.multi,[])}function G0(e,t,n,r){const o=this.multi;let a;if(this.providerFactory){const d=this.providerFactory.componentProviders,m=z(n,n[1],this.providerFactory.index,r);a=m.slice(0,d),Hc(o,a);for(let v=d;v<m.length;v++)a.push(m[v])}else a=[],Hc(o,a);return a}function Hc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function yp(e,t=[]){return n=>{n.providersResolver=(r,o)=>function U0(e,t,n){const r=De();if(r.firstCreatePass){const o=An(e);$c(n,r.data,r.blueprint,o,!0),$c(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class vp{}
1class q0{resolveComponentFactory(t){throw function K0(e){const t=Error(`No component factory found for ${re(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let _a=(()=>{class e{}return e.NULL=new q0,e})();function X0(){return js(pt(),O())}function js(e,t){return new Da(tn(e,t))}let Da=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=X0,e})();function Q0(e){return e instanceof Da?e.nativeElement:e}class Dp{}let Z0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function eD(){const e=O(),n=ln(pt().index,e);return function J0(e){return e[11]}(Xe(n)?n:e)}(),e})(),tD=(()=>{class e{}return e.\u0275prov=Et({token:e,providedIn:"root",factory:()=>null}),e})();class Ep{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const nD=new Ep("13.1.3"),Uc={};function el(e,t,n,r,o=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&r.push(ne(a)),ht(a))for(let m=10;m<a.length;m++){const v=a[m],M=v[1].firstChild;null!==M&&el(v[1],v,M,r)}const d=n.type;if(8&d)el(e,t,n.child,r);else if(32&d){const m=Ol(n,t);let v;for(;v=m();)r.push(v)}else if(16&d){const m=md(t,n);if(Array.isArray(m))r.push(...m);else{const v=oa(t[16]);el(v[1],v,m,r,!0)}}n=o?n.projectionNext:n.next}return r}class Ea{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return el(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ht(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Nl(t,r),Kn(n,r))}this._attachedToViewContainer=!1}ad(this._lView[1],this._lView)}onDestroy(t){Ud(this._lView[1],this._lView,null,t)}markForCheck(){ic(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){sc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function ov(e,t,n){Wr(!0);try{sc(e,t,n)}finally{Wr(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Re(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ty(e,t){sa(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Re(902,"");this._appRef=t}}class rD extends Ea{constructor(t){super(t),this._view=t}detectChanges(){Zd(this._view)}checkNoChanges(){!function sv(e){Wr(!0);try{Zd(e)}finally{Wr(!1)}}(this._view)}get context(){return null}}class Cp extends _a{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=en(t);return new zc(n,this.ngModule)}}function bp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const oD=new Mn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ju});class zc extends vp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Ey(e){return e.map(Dy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return bp(this.componentDef.inputs)}get outputs(){return bp(this.componentDef.outputs)}create(t,n,r,o){const a=(o=o||this.ngModule)?function sD(e,t){return{get:(n,r,o)=>{const a=e.get(n,Uc,o);return a!==Uc||r===Uc?a:t.get(n,r,o)}}}(t,o.injector):t,d=a.get(Dp,T),m=a.get(tD,null),v=d.createRenderer(null,this.componentDef),M=this.componentDef.selectors[0][0]||"div",R=r?function Hd(e,t,n){if(x(e))return e.selectRootElement(t,n===jt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(v,r,this.componentDef.encapsulation):Rl(d.createRenderer(null,this.componentDef),M,function iD(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(M)),G=this.componentDef.onPush?576:528,se=function Ef(e,t){return{components:[],scheduler:e||Ju,clean:av,playerHandler:t||null,flags:0}}
1(),Ae=ja(0,null,null,1,0,null,null,null,null,null),Ze=aa(null,Ae,se,G,null,null,d,v,m,a);let ft,yt;wo(Ze);try{const wt=function _f(e,t,n,r,o,a){const d=n[1];n[20]=e;const v=Cs(d,20,2,"#host",null),M=v.mergedAttrs=t.hostAttrs;null!==M&&(Ua(v,M,!0),null!==e&&(po(o,e,M),null!==v.classes&&Vl(o,e,v.classes),null!==v.styles&&_d(o,e,v.styles)));const R=r.createRenderer(e,t),G=aa(n,Vd(t),null,t.onPush?64:16,n[20],v,r,R,a||null,null);return d.firstCreatePass&&(D(mo(v,n),d,t.type),Kd(d,v),qd(v,n.length,1)),Ha(n,G),n[20]=G}(R,this.componentDef,Ze,d,v);if(R)if(r)po(v,R,["ng-version",nD.full]);else{const{attrs:rt,classes:$t}=function Cy(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===o?""!==a&&t.push(a,e[++r]):8===o&&n.push(a);else{if(!Vi(o))break;o=a}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);rt&&po(v,R,rt),$t&&$t.length>0&&Vl(v,R,$t.join(" "))}if(yt=mn(Ae,20),void 0!==n){const rt=yt.projection=[];for(let $t=0;$t<this.ngContentSelectors.length;$t++){const yn=n[$t];rt.push(null!=yn?Array.from(yn):null)}}ft=function Df(e,t,n,r,o){const a=n[1],d=function Uy(e,t,n){const r=pt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Xd(e,r,t,bs(e,t,1,null),n));const o=z(t,e,r.directiveStart,r);Kr(o,t);const a=tn(r,t);return a&&Kr(a,t),o}(a,n,t);if(r.components.push(d),e[8]=d,o&&o.forEach(v=>v(d,t)),t.contentQueries){const v=pt();t.contentQueries(1,d,v.directiveStart)}const m=pt();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ni(m.index),Yd(n[1],m,0,m.directiveStart,m.directiveEnd,t),Wd(t,d)),d}(wt,this.componentDef,Ze,se,[Iv]),la(Ae,Ze,null)}finally{Wi()}return new lD(this.componentType,ft,js(yt,Ze),Ze,yt)}}class lD extends class W0{}{constructor(t,n,r,o,a){super(),this.location=r,this._rootLView=o,this._tNode=a,this.instance=n,this.hostView=this.changeDetectorRef=new rD(o),this.componentType=t}get injector(){return new at(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Hs{}class wp{}const Us=new Map;class Ip extends Hs{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Cp(this);const r=kn(t);this._bootstrapComponents=to(r.bootstrap),this._r3Injector=lf(t,n,[{provide:Hs,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],re(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Pi.THROW_IF_NOT_FOUND,r=xe.Default){return t===Pi||t===Hs||t===lc?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Gc extends wp{constructor(t){super(),this.moduleType=t,null!==kn(t)&&function uD(e){const t=new Set;!function n(r){const o=kn(r,!0),a=o.id;null!==a&&(function Sp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${re(t)} vs ${re(t.name)}`)}(a,Us.get(a),r),Us.set(a,r));const d=to(o.imports);for(const m of d)t.has(m)||(t.add(m),n(m))}(e)}(t)}create(t){return new Ip(this.moduleType,t)}}function Yc(e){return t=>{setTimeout(e,void 0,t)}}const ao=class AD extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,a,d;let m=t,v=n||(()=>null),M=r;if(t&&"object"==typeof t){const G=t;m=null===(o=G.next)||void 0===o?void 0:o.bind(G),v=null===(a=G.error)||void 0===a?void 0:a.bind(G),M=null===(d=G.complete)||void 0===d?void 0:d.bind(G)}this.__isAsync&&(v=Yc(v),m&&(m=Yc(m)),M&&(M=Yc(M)));const R=super.subscribe({next:m,error:v,complete:M});return t instanceof Y.w0&&t.add(R),R}};function MD(){return this._results[Is()]()}class Wc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Is(),r=Wc.prototype;r[n]||(r[n]=MD)}get changes(){return this._changes||(this._changes=new ao)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}
1forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=mr(t);(this._changesDetected=!function Sr(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],a=t[r];if(n&&(o=n(o),a=n(a)),a!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let wa=(()=>{class e{}return e.__NG_ELEMENT_ID__=PD,e})();const OD=wa,FD=class extends OD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=aa(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[J];return null!==a&&(r[J]=a.createEmbeddedView(n)),la(n,r,t),new Ea(r)}};function PD(){return tl(pt(),O())}function tl(e,t){return 4&e.type?new FD(t,e,js(e,t)):null}let nl=(()=>{class e{}return e.__NG_ELEMENT_ID__=xD,e})();function xD(){return Np(pt(),O())}const RD=nl,xp=class extends RD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return js(this._hostTNode,this._hostLView)}get injector(){return new at(this._hostTNode,this._hostLView)}get parentInjector(){const t=f(this._hostTNode,this._hostLView);if(go(t)){const n=Fi(t,this._hostLView),r=Xi(t);return new at(n[1].data[r+8],n)}return new at(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Rp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,a){const d=t&&!function Lt(e){return"function"==typeof e}(t);let m;if(d)m=n;else{const G=n||{};m=G.index,r=G.injector,o=G.projectableNodes,a=G.ngModuleRef}const v=d?t:new zc(en(t)),M=r||this.parentInjector;if(!a&&null==v.ngModule&&M){const G=M.get(Hs,null);G&&(a=G)}const R=v.create(M,o,void 0,a);return this.insert(R.hostView,m),R}insert(t,n){const r=t._lView,o=r[1];if(function zr(e){return ht(e[3])}(r)){const R=this.indexOf(t);if(-1!==R)this.detach(R);else{const G=r[3],se=new xp(G,G[6],G[3]);se.detach(se.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;!function ry(e,t,n,r){const o=10+r,a=n.length;r>0&&(n[o-1][4]=t),r<a-10?(t[4]=n[o],$i(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const d=t[17];null!==d&&n!==d&&function iy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(d,t);const m=t[J];null!==m&&m.insertView(e),t[2]|=128}(o,r,d,a);const m=Bl(a,d),v=r[11],M=Na(v,d[7]);return null!==M&&function ey(e,t,n,r,o,a){r[0]=o,r[6]=t,sa(e,r,n,1,o,a)}(o,d[6],v,r,M,m),t.attachToViewContainerRef(),$i(Kc(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Rp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Nl(this._lContainer,n);r&&(Kn(Kc(this._lContainer),n),ad(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Nl(this._lContainer,n);return r&&null!=Kn(Kc(this._lContainer),n)?new Ea(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Rp(e){return e[8]}function Kc(e){return e[8]||(e[8]=[])}function Np(e,t){let n;const r=t[e.index];if(ht(r))n=r;else{let o;if(8&e.type)o=ne(r);else{const a=t[11];o=a.createComment("");const d=tn(e,t);Wo(a,Na(a,d),o,function ly(e,t){return x(e)?e.nextSibling(t):t.nextSibling}(a,d),!1)}t[e.index]=n=Qd(r,t,o,e),Ha(t,n)}return new xp(n,e,t)}class qc{constructor(t){this.queryList=t,this.matches=null}clone(){return new qc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Xc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let a=0;a<r;a++){const d=n.getByIndex(a);o.push(this.queries[d.indexInDeclarationView].clone())}return new Xc(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==zp(t,n).matches&&this.queries[n].setDirty()}}class kp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Qc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,o);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new Qc(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Zc{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Zc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}
1matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const a=r[o];this.matchTNodeWithReadOption(t,n,LD(n,a)),this.matchTNodeWithReadOption(t,n,P(n,t,a,!1,!1))}else r===wa?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,P(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Da||o===nl||o===wa&&4&n.type)this.addMatch(n.index,-2);else{const a=P(n,t,o,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function LD(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function $D(e,t,n,r){return-1===n?function BD(e,t){return 11&e.type?js(e,t):4&e.type?tl(e,t):null}(t,e):-2===n?function VD(e,t,n){return n===Da?js(t,e):n===wa?tl(t,e):n===nl?Np(t,e):void 0}(e,t,r):z(e,e[1],n,t)}function Lp(e,t,n,r){const o=t[J].queries[r];if(null===o.matches){const a=e.data,d=n.matches,m=[];for(let v=0;v<d.length;v+=2){const M=d[v];m.push(M<0?null:$D(t,a[M],d[v+1],n.metadata.read))}o.matches=m}return o.matches}function Jc(e,t,n,r){const o=e.queries.getByIndex(n),a=o.matches;if(null!==a){const d=Lp(e,t,o,n);for(let m=0;m<a.length;m+=2){const v=a[m];if(v>0)r.push(d[m/2]);else{const M=a[m+1],R=t[-v];for(let G=10;G<R.length;G++){const se=R[G];se[17]===se[3]&&Jc(se[1],se,M,r)}if(null!==R[9]){const G=R[9];for(let se=0;se<G.length;se++){const Ae=G[se];Jc(Ae[1],Ae,M,r)}}}}}return r}function Bp(e){const t=O(),n=De(),r=bo();Ai(r+1);const o=zp(n,r);if(e.dirty&&cn(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const a=o.crossesNgTemplate?Jc(n,t,r,[]):Lp(n,t,o,r);e.reset(a,Q0),e.notifyOnChanges()}return!0}return!1}function $p(e,t,n){const r=De();r.firstCreatePass&&(Up(r,new kp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Hp(r,O(),t)}function Vp(e,t,n,r){const o=De();if(o.firstCreatePass){const a=pt();Up(o,new kp(t,n,r),a.index),function HD(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}Hp(o,O(),n)}function jp(){return function jD(e,t){return e[J].queries[t].queryList}(O(),bo())}function Hp(e,t,n){const r=new Wc(4==(4&n));Ud(e,t,r,r.destroy),null===t[J]&&(t[J]=new Xc),t[J].queries.push(new qc(r))}function Up(e,t,n){null===e.queries&&(e.queries=new Qc),e.queries.track(new Zc(t,n))}function zp(e,t){return e.queries.getByIndex(t)}function ol(...e){}const ou=new Mn("Application Initializer");let Gs=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ol,this.reject=ol,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const a=this.appInits[o]();if(Ac(a))n.push(a);else if(Kf(a)){const d=new Promise((m,v)=>{a.subscribe({complete:m,error:v})});n.push(d)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(jr(ou,8))},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();const ag=new Mn("AppId"),aE={provide:ag,useFactory:function sE(){return`${su()}${su()}${su()}`},deps:[]};function su(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const lg=new Mn("Platform Initializer"),cg=new Mn("Platform ID"),ug=new Mn("appBootstrapListener");let dg=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();const sl=new Mn("LocaleId"),fg=new Mn("DefaultCurrencyCode");class lE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let au=(()=>{class e{compileModuleSync(n){return new Gc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=to(kn(n).declarations).reduce((d,m)=>{const v=en(m);return v&&d.push(new zc(v)),d},[]);return new lE(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();const uE=(()=>Promise.resolve(0))();function lu(e){"undefined"==typeof Zone?uE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ei{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ao(!1),this.onMicrotaskEmpty=new ao(!1),this.onStable=new ao(!1),this.onError=ne
1w ao(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function dE(){let e=Kt.requestAnimationFrame,t=Kt.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 pE(e){const t=()=>{!function hE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Kt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,uu(e),e.isCheckStableRunning=!0,cu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,a,d,m)=>{try{return hg(e),n.invokeTask(o,a,d,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),pg(e)}},onInvoke:(n,r,o,a,d,m,v)=>{try{return hg(e),n.invoke(o,a,d,m,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),pg(e)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,uu(e),cu(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ei.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ei.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const a=this._inner,d=a.scheduleEventTask("NgZoneEvent: "+o,t,fE,ol,ol);try{return a.runTask(d,n,r)}finally{a.cancelTask(d)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const fE={};function cu(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 uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function hg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function pg(e){e._nesting--,cu(e)}class gE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ao,this.onMicrotaskEmpty=new ao,this.onStable=new ao,this.onError=new ao}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let gg=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="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:()=>{Ei.assertNotInAngularZone(),lu(()=>{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}
1isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())lu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==a),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(jr(Ei))},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})(),mg=(()=>{class e{constructor(){this._applications=new Map,du.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return du.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();class mE{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function yE(e){du=e}let Gi,du=new mE;const yg=new Mn("AllowMultipleToken");class DE{constructor(t,n){this.name=t,this.token=n}}function vg(e,t,n=[]){const r=`Platform: ${t}`,o=new Mn(r);return(a=[])=>{let d=_g();if(!d||d.injector.get(yg,!1))if(e)e(n.concat(a).concat({provide:o,useValue:!0}));else{const m=n.concat(a).concat({provide:o,useValue:!0},{provide:cc,useValue:"platform"});!function EE(e){if(Gi&&!Gi.destroyed&&!Gi.injector.get(yg,!1))throw new Re(400,"");Gi=e.get(Dg);const t=e.get(lg,null);t&&t.forEach(n=>n())}(Pi.create({providers:m,name:r}))}return function CE(e){const t=_g();if(!t)throw new Re(401,"");return t}()}}function _g(){return Gi&&!Gi.destroyed?Gi:null}let Dg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const m=function bE(e,t){let n;return n="noop"===e?new gE:("zone.js"===e?void 0:e)||new Ei({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),v=[{provide:Ei,useValue:m}];return m.run(()=>{const M=Pi.create({providers:v,parent:this.injector,name:n.moduleType.name}),R=n.create(M),G=R.injector.get(ia,null);if(!G)throw new Re(402,"");return m.runOutsideAngular(()=>{const se=m.onError.subscribe({next:Ae=>{G.handleError(Ae)}});R.onDestroy(()=>{fu(this._modules,R),se.unsubscribe()})}),function wE(e,t,n){try{const r=n();return Ac(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(G,m,()=>{const se=R.injector.get(Gs);return se.runInitializers(),se.donePromise.then(()=>(function Q_(e){ze(e,"Expected localeId to be defined"),"string"==typeof e&&(Yh=e.toLowerCase().replace(/_/g,"-"))}(R.injector.get(sl,qa)||qa),this._moduleDoBootstrap(R),R))})})}bootstrapModule(n,r=[]){const o=Eg({},r);return function vE(e,t,n){const r=new Gc(n);return Promise.resolve(r)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(n){const r=n.injector.get(Ta);if(n._bootstrapComponents.length>
10)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Re(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Re(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(jr(Pi))},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();function Eg(e,t){return Array.isArray(t)?t.reduce(Eg,e):Object.assign(Object.assign({},e),t)}let Ta=(()=>{class e{constructor(n,r,o,a,d){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=a,this._initStatus=d,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 m=new X.y(M=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{M.next(this._stable),M.complete()})}),v=new X.y(M=>{let R;this._zone.runOutsideAngular(()=>{R=this._zone.onStable.subscribe(()=>{Ei.assertNotInAngularZone(),lu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,M.next(!0))})})});const G=this._zone.onUnstable.subscribe(()=>{Ei.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{M.next(!1)}))});return()=>{R.unsubscribe(),G.unsubscribe()}});this.isStable=(0,ge.T)(m,v.pipe(function Me(e={}){const{connector:t=(()=>new i.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return a=>{let d=null,m=null,v=null,M=0,R=!1,G=!1;const se=()=>{null==m||m.unsubscribe(),m=null},Ae=()=>{se(),d=v=null,R=G=!1},Ze=()=>{const ft=d;Ae(),null==ft||ft.unsubscribe()};return(0,$e.e)((ft,yt)=>{M++,!G&&!R&&se();const wt=v=null!=v?v:t();yt.add(()=>{M--,0===M&&!G&&!R&&(m=Pe(Ze,o))}),wt.subscribe(yt),d||(d=new fe.Hp({next:rt=>wt.next(rt),error:rt=>{G=!0,se(),m=Pe(Ae,n,rt),wt.error(rt)},complete:()=>{R=!0,se(),m=Pe(Ae,r),wt.complete()}}),(0,te.D)(ft).subscribe(d))})(a)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Re(405,"");let o;o=n instanceof vp?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const a=function _E(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Hs),m=o.create(Pi.NULL,[],r||o.selector,a),v=m.location.nativeElement,M=m.injector.get(gg,null),R=M&&m.injector.get(mg);return M&&R&&R.registerApplication(v,M),m.onDestroy(()=>
1{this.detachView(m.hostView),fu(this.components,m),R&&R.unregisterApplication(v)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new Re(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;fu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ug,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(jr(Ei),jr(Pi),jr(ia),jr(_a),jr(Gs))},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();function fu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let bg=!0;function TE(){bg=!1}let IE=(()=>{class e{}return e.__NG_ELEMENT_ID__=AE,e})();function AE(e){return function ME(e,t,n){if(Bt(e)&&!n){const r=ln(e.index,t);return new Ea(r,r)}return 47&e.type?new Ea(t[16],t):null}(pt(),O(),16==(16&e))}class Og{constructor(){}supports(t){return ua(t)}create(t){return new NE(t)}}const RE=(e,t)=>t;class NE{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||RE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,a=null;for(;n||r;){const d=!r||n&&n.currentIndex<Pg(r,o,a)?n:r,m=Pg(d,o,a),v=d.currentIndex;if(d===r)o--,r=r._nextRemoved;else if(n=n._next,null==d.previousIndex)o++;else{a||(a=[]);const M=m-o,R=v-o;if(M!=R){for(let se=0;se<M;se++){const Ae=se<a.length?a[se]:a[se]=0,Ze=Ae+se;R<=Ze&&Ze<M&&(a[se]=Ae+1)}a[d.previousIndex]=R-M}}m!==v&&t(d,m,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ua(t))throw new Re(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,a,d,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)a=t[m],d=this._trackByFn(m,a),null!==n&&Object.is(n.trackById,d)?(r&&(n=this._verifyReinsertion(n,a,d,m)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,d,m),r=!0),n=n._next}else o=0,function Lv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Is()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,m=>{d=this._trackByFn(o,m),null!==n&&Object.is(n.trackById,d)?(r&&(n=this._verifyReinsertion(n,m,d,o)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,d,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.
vendor: 4,576 bytes, line 1
1item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new kE(n,r),a,o),t}_verifyReinsertion(t,n,r,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Fg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Fg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class kE{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class LE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Fg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new LE,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Pg(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class xg{constructor(){}supports(t){return t instanceof Map||mc(t)}create(){return new BE}}class BE{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;
1n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||mc(t)))throw new Re(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const a=o._prev,d=o._next;return a&&(a._next=d),d&&(d._prev=a),o._next=null,o._prev=null,o}const r=new $E(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class $E{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Rg(){return new ll([new Og])}let ll=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Rg()),deps:[[e,new ys,new Yo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Re(901,"")}}return e.\u0275prov=Et({token:e,providedIn:"root",factory:Rg}),e})();function Ng(){return new cl([new xg])}let cl=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ng()),deps:[[e,new ys,new Yo]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(r)return r;throw new Re(901,"")}}return e.\u0275prov=Et({token:e,providedIn:"root",factory:Ng}),e})();const VE=[new xg],HE=new ll([new Og]),UE=new cl(VE),zE=vg(null,"core",[{provide:cg,useValue:"unknown"},{provide:Dg,deps:[Pi]},{provide:mg,deps:[]},{provide:dg,deps:[]}]),qE=[{provide:Ta,useClass:Ta,deps:[Ei,Pi,ia,_a,Gs]},{provide:oD,deps:[Ei],useFactory:function XE(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Gs,useClass:Gs,deps:[[new Yo,ou]]},{provide:au,useClass:au,deps:[]},aE,{provide:ll,useFactory:function GE(){return HE},deps:[]},{provide:cl,useFactory:function YE(){return UE},deps:[]},{provide:sl,useFactory:function WE(e){return e||function KE(){return"undefined"!=typeof $localize&&$localize.locale||qa}()},deps:[[new Zs(sl),new Yo,new ys]]},{provide:fg,useValue:"USD"}];let QE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(jr(Ta))},e.\u0275mod=Be({type:e}),e.\u0275inj=Ot({providers:qE}),e})()},2382:(vt,Ve,F)=>{"use strict";F.d(Ve,{u5:()=>Zn,JU:()=>Te,a5:()=>Dt,JJ:()=>he,On:()=>Bt});var i=F(4893),Y=F(9808),X=F(8306),ge=F(4742),te=F(8421),Fe=F(3269),fe=F(5403),$e=F(3268),Me=F(1810),_e=F(2076),je=F(4004);let re=(()=>{class w{constructor(_,j){this._renderer=_,this._elementRef=j,this.onChange=c=>{},this.onTouched=()=>{}}setProperty(_,j){this._renderer.setProperty(this._elementRef.nativeElement,_,j)}registerOnTouched(_){this.onTouched=_}registerOnChange(_){this.onChange=_}setDisabledState(_){this.setProperty("disabled",_)}}return w.\u0275fac=function(_){return new(_||w)(i.Y36(i.Qsj),i.Y36(i.SBq))},w.\u0275dir=i.lG2({type:w}),w})(),pe=(()=>{class w extends re{}return w.\u0275fac=function(){let b;return function(j){return(b||(b=i.n5z(w)))(j||w)}}(),w.\u0275dir=i.lG2({type:w,features:[i.qOj]}),w})();const Te=new i.OlP("NgValueAccessor"),Ie={provide:Te,useExisting:(0,i.Gpc)(()=>Ue),multi:!0},Re=new i.OlP("CompositionEventMode");let Ue=(()=>{class w extends re{constructor(_,j,c){super(_,j),this._compositionMode=c,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ke(){const w=(0,Y.q)()?(0,Y.q)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(_){this.setProperty("value",null==_?"":_)}_handleInput(_){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(_)}_compositionStart(){this._composing=!0}_compositionEnd(_){this._composing=!1,this._compositionMode&&this.onChange(_)}}return w.\u0275fac=function(_){return new(_||w)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(Re,8))},w.\u0275dir=i.lG2({type:w,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(_,j){1&_&&i.NdJ("input",function(E){return j._handleInput(E.target.value)})("blur",function(){return j.onTouched()})("compositionstart",function(){return j._compositionStart()})("compositionend",function(E){return j._compositionEnd(E.target.value)})},features:[i._Bn([Ie]),i.qOj]}),w})();const Oe=new i.OlP("NgValidators"),be=new i.OlP("NgAsyncValidators");function Ee(w){return null!=w}function ae(w){const b=(0,i.QGY)(w)?(0,_e.D)(w):w;return(0,i.CqO)(b),b}function ve(w){let b={};
1return w.forEach(_=>{b=null!=_?Object.assign(Object.assign({},b),_):b}),0===Object.keys(b).length?null:b}function ke(w,b){return b.map(_=>_(w))}function ot(w){return w.map(b=>function ze(w){return!w.validate}(b)?b:_=>b.validate(_))}function _t(w){return null!=w?function st(w){if(!w)return null;const b=w.filter(Ee);return 0==b.length?null:function(_){return ve(ke(_,b))}}(ot(w)):null}function Et(w){return null!=w?function Vt(w){if(!w)return null;const b=w.filter(Ee);return 0==b.length?null:function(_){return function Pe(...w){const b=(0,Fe.jO)(w),{args:_,keys:j}=(0,ge.D)(w),c=new X.y(E=>{const{length:u}=_;if(!u)return void E.complete();const C=new Array(u);let O=u,De=u;for(let gt=0;gt<u;gt++){let pt=!1;(0,te.Xf)(_[gt]).subscribe(new fe.Q(E,Wt=>{pt||(pt=!0,De--),C[gt]=Wt},()=>O--,void 0,()=>{(!O||!pt)&&(De||E.next(j?(0,Me.n)(j,C):C),E.complete())}))}});return b?c.pipe((0,$e.Z)(b)):c}(ke(_,b).map(ae)).pipe((0,je.U)(ve))}}(ot(w)):null}function Jt(w,b){return null===w?[b]:Array.isArray(w)?[...w,b]:[w,b]}function Pn(w){return w?Array.isArray(w)?w:[w]:[]}function $n(w,b){return Array.isArray(w)?w.includes(b):w===b}function Vn(w,b){const _=Pn(b);return Pn(w).forEach(c=>{$n(_,c)||_.push(c)}),_}function cr(w,b){return Pn(b).filter(_=>!$n(w,_))}class Jn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(b){this._rawValidators=b||[],this._composedValidatorFn=_t(this._rawValidators)}_setAsyncValidators(b){this._rawAsyncValidators=b||[],this._composedAsyncValidatorFn=Et(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(b){this._onDestroyCallbacks.push(b)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(b=>b()),this._onDestroyCallbacks=[]}reset(b){this.control&&this.control.reset(b)}hasError(b,_){return!!this.control&&this.control.hasError(b,_)}getError(b,_){return this.control?this.control.getError(b,_):null}}class Dt extends Jn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class fn extends Jn{get formDirective(){return null}get path(){return null}}let he=(()=>{class w extends class it{constructor(b){this._cd=b}is(b){var _,j,c;return"submitted"===b?!!(null===(_=this._cd)||void 0===_?void 0:_.submitted):!!(null===(c=null===(j=this._cd)||void 0===j?void 0:j.control)||void 0===c?void 0:c[b])}}{constructor(_){super(_)}}return w.\u0275fac=function(_){return new(_||w)(i.Y36(Dt,2))},w.\u0275dir=i.lG2({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(_,j){2&_&&i.ekj("ng-untouched",j.is("untouched"))("ng-touched",j.is("touched"))("ng-pristine",j.is("pristine"))("ng-dirty",j.is("dirty"))("ng-valid",j.is("valid"))("ng-invalid",j.is("invalid"))("ng-pending",j.is("pending"))},features:[i.qOj]}),w})();function Cn(w,b){(function pn(w,b){const _=function Ot(w){return w._rawValidators}(w);null!==b.validator?w.setValidators(Jt(_,b.validator)):"function"==typeof _&&w.setValidators([_]);const j=function nn(w){return w._rawAsyncValidators}(w);null!==b.asyncValidator?w.setAsyncValidators(Jt(j,b.asyncValidator)):"function"==typeof j&&w.setAsyncValidators([j]);const c=()=>
1w.updateValueAndValidity();xn(b._rawValidators,c),xn(b._rawAsyncValidators,c)})(w,b),b.valueAccessor.writeValue(w.value),function Nn(w,b){b.valueAccessor.registerOnChange(_=>{w._pendingValue=_,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&Le(w,b)})}(w,b),function ce(w,b){const _=(j,c)=>{b.valueAccessor.writeValue(j),c&&b.viewToModelUpdate(j)};w.registerOnChange(_),b._registerOnDestroy(()=>{w._unregisterOnChange(_)})}(w,b),function yr(w,b){b.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&Le(w,b),"submit"!==w.updateOn&&w.markAsTouched()})}(w,b),function Rn(w,b){if(b.valueAccessor.setDisabledState){const _=j=>{b.valueAccessor.setDisabledState(j)};w.registerOnDisabledChange(_),b._registerOnDestroy(()=>{w._unregisterOnDisabledChange(_)})}}(w,b)}function xn(w,b){w.forEach(_=>{_.registerOnValidatorChange&&_.registerOnValidatorChange(b)})}function Le(w,b){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),b.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function Fn(w,b){const _=w.indexOf(b);_>-1&&w.splice(_,1)}const Tn="VALID",Qn="INVALID",_n="PENDING",Hn="DISABLED";function br(w){return(qt(w)?w.validators:w)||null}function wn(w){return Array.isArray(w)?_t(w):w||null}function ut(w,b){return(qt(b)?b.asyncValidators:w)||null}function Rt(w){return Array.isArray(w)?Et(w):w||null}function qt(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}const Wn=w=>w instanceof Un;function hr(w){return(w=>w instanceof Mt)(w)?w.value:w.getRawValue()}function an(w,b){const _=Wn(w),j=w.controls;if(!(_?Object.keys(j):j).length)throw new i.vHH(1e3,"");if(!j[b])throw new i.vHH(1001,"")}function ur(w,b){Wn(w),w._forEachChild((j,c)=>{if(void 0===b[c])throw new i.vHH(1002,"")})}class er{constructor(b,_){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=b,this._rawAsyncValidators=_,this._composedValidatorFn=wn(this._rawValidators),this._composedAsyncValidatorFn=Rt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(b){this._rawValidators=this._composedValidatorFn=b}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(b){this._rawAsyncValidators=this._composedAsyncValidatorFn=b}get parent(){return this._parent}get valid(){return this.status===Tn}get invalid(){return this.status===Qn}get pending(){return this.status==_n}get disabled(){return this.status===Hn}get enabled(){return this.status!==Hn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(b){this._rawValidators=b,this._composedValidatorFn=wn(b)}setAsyncValidators(b){this._rawAsyncValidators=b,this._composedAsyncValidatorFn=Rt(b)}addValidators(b){this.setValidators(Vn(b,this._rawValidators))}addAsyncValidators(b){this.setAsyncValidators(Vn(b,this._rawAsyncValidators))}removeValidators(b){this.setValidators(cr(b,this._rawValidators))}removeAsyncValidators(b){this.setAsyncValidators(cr(b,this._rawAsyncValidators))}hasValidator(b){return $n(this._rawValidators,b)}hasAsyncValidator(b){return $n(this._rawAsyncValidators,b)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(b={}){this.touched=!0,this._parent&&!b.onlySelf&&this._parent.markAsTouched(b)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(b=>b.markAllAsTouched())}markAsUntouched(b={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(_=>{_.markAsUntouched({onlySelf:!0})}),this._parent&&!b.onlySelf&&this._parent._updateTouched(b)}markAsDirty(b={}){this.pristine=!1,this._parent&&!b.onlySelf&&this._parent.markAsDirty(b)}markAsPristine(b={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(_=>{_.markAsPristine({onlySelf:!0})}),this._parent&&!b.onlySelf&&this._parent._updatePristine(b)}markAsPending(b={}){this.status=_n,!1!==b.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!b.onlySelf&&this._parent.markAsPending(b)}disable(b={}){const _=this._parentMarkedDirty(b.onlySelf);
1this.status=Hn,this.errors=null,this._forEachChild(j=>{j.disable(Object.assign(Object.assign({},b),{onlySelf:!0}))}),this._updateValue(),!1!==b.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},b),{skipPristineCheck:_})),this._onDisabledChange.forEach(j=>j(!0))}enable(b={}){const _=this._parentMarkedDirty(b.onlySelf);this.status=Tn,this._forEachChild(j=>{j.enable(Object.assign(Object.assign({},b),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:b.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},b),{skipPristineCheck:_})),this._onDisabledChange.forEach(j=>j(!1))}_updateAncestors(b){this._parent&&!b.onlySelf&&(this._parent.updateValueAndValidity(b),b.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(b){this._parent=b}updateValueAndValidity(b={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Tn||this.status===_n)&&this._runAsyncValidator(b.emitEvent)),!1!==b.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!b.onlySelf&&this._parent.updateValueAndValidity(b)}_updateTreeValidity(b={emitEvent:!0}){this._forEachChild(_=>_._updateTreeValidity(b)),this.updateValueAndValidity({onlySelf:!0,emitEvent:b.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Hn:Tn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(b){if(this.asyncValidator){this.status=_n,this._hasOwnPendingAsyncValidator=!0;const _=ae(this.asyncValidator(this));this._asyncValidationSubscription=_.subscribe(j=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(j,{emitEvent:b})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(b,_={}){this.errors=b,this._updateControlsErrors(!1!==_.emitEvent)}get(b){return function gn(w,b,_){if(null==b||(Array.isArray(b)||(b=b.split(_)),Array.isArray(b)&&0===b.length))return null;let j=w;return b.forEach(c=>{j=Wn(j)?j.controls.hasOwnProperty(c)?j.controls[c]:null:(w=>w instanceof or)(j)&&j.at(c)||null}),j}(this,b,".")}getError(b,_){const j=_?this.get(_):this;return j&&j.errors?j.errors[b]:null}hasError(b,_){return!!this.getError(b,_)}get root(){let b=this;for(;b._parent;)b=b._parent;return b}_updateControlsErrors(b){this.status=this._calculateStatus(),b&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(b)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Hn:this.errors?Qn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_n)?_n:this._anyControlsHaveStatus(Qn)?Qn:Tn}_anyControlsHaveStatus(b){return this._anyControls(_=>_.status===b)}_anyControlsDirty(){return this._anyControls(b=>b.dirty)}_anyControlsTouched(){return this._anyControls(b=>b.touched)}_updatePristine(b={}){this.pristine=!this._anyControlsDirty(),this._parent&&!b.onlySelf&&this._parent._updatePristine(b)}_updateTouched(b={}){this.touched=this._anyControlsTouched(),this._parent&&!b.onlySelf&&this._parent._updateTouched(b)}_isBoxedValue(b){return"object"==typeof b&&null!==b&&2===Object.keys(b).length&&"value"in b&&"disabled"in b}_registerOnCollectionChange(b){this._onCollectionChange=b}_setUpdateStrategy(b){qt(b)&&null!=b.updateOn&&(this._updateOn=b.updateOn)}_parentMarkedDirty(b){return!b&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Mt extends er{constructor(b=null,_,j){super(br(_),ut(j,_)),this._onChange=[],this._pendingChange=!1,this._applyFormState(b),this._setUpdateStrategy(_),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(b,_={}){this.value=this._pendingValue=b,this._onChange.length&&!1!==_.emitModelToViewChange&&this._onChange.forEach(j=>
1j(this.value,!1!==_.emitViewToModelChange)),this.updateValueAndValidity(_)}patchValue(b,_={}){this.setValue(b,_)}reset(b=null,_={}){this._applyFormState(b),this.markAsPristine(_),this.markAsUntouched(_),this.setValue(this.value,_),this._pendingChange=!1}_updateValue(){}_anyControls(b){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(b){this._onChange.push(b)}_unregisterOnChange(b){Fn(this._onChange,b)}registerOnDisabledChange(b){this._onDisabledChange.push(b)}_unregisterOnDisabledChange(b){Fn(this._onDisabledChange,b)}_forEachChild(b){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(b){this._isBoxedValue(b)?(this.value=this._pendingValue=b.value,b.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=b}}class Un extends er{constructor(b,_,j){super(br(_),ut(j,_)),this.controls=b,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(b,_){return this.controls[b]?this.controls[b]:(this.controls[b]=_,_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange),_)}addControl(b,_,j={}){this.registerControl(b,_),this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}removeControl(b,_={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange(()=>{}),delete this.controls[b],this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}setControl(b,_,j={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange(()=>{}),delete this.controls[b],_&&this.registerControl(b,_),this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}contains(b){return this.controls.hasOwnProperty(b)&&this.controls[b].enabled}setValue(b,_={}){ur(this,b),Object.keys(b).forEach(j=>{an(this,j),this.controls[j].setValue(b[j],{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_)}patchValue(b,_={}){null!=b&&(Object.keys(b).forEach(j=>{this.controls[j]&&this.controls[j].patchValue(b[j],{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_))}reset(b={},_={}){this._forEachChild((j,c)=>{j.reset(b[c],{onlySelf:!0,emitEvent:_.emitEvent})}),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this._reduceChildren({},(b,_,j)=>(b[j]=hr(_),b))}_syncPendingControls(){let b=this._reduceChildren(!1,(_,j)=>!!j._syncPendingControls()||_);return b&&this.updateValueAndValidity({onlySelf:!0}),b}_forEachChild(b){Object.keys(this.controls).forEach(_=>{const j=this.controls[_];j&&b(j,_)})}_setUpControls(){this._forEachChild(b=>{b.setParent(this),b._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(b){for(const _ of Object.keys(this.controls)){const j=this.controls[_];if(this.contains(_)&&b(j))return!0}return!1}_reduceValue(){return this._reduceChildren({},(b,_,j)=>((_.enabled||this.disabled)&&(b[j]=_.value),b))}_reduceChildren(b,_){let j=b;return this._forEachChild((c,E)=>{j=_(j,c,E)}),j}_allControlsDisabled(){for(const b of Object.keys(this.controls))if(this.controls[b].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class or extends er{constructor(b,_,j){super(br(_),ut(j,_)),this.controls=b,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(b){return this.controls[b]}push(b,_={}){this.controls.push(b),this._registerControl(b),this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}insert(b,_,j={}){this.controls.splice(b,0,_),this._registerControl(_),this.updateValueAndValidity({emitEvent:j.emitEvent})}removeAt(b,_={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange(()=>{}
1),this.controls.splice(b,1),this.updateValueAndValidity({emitEvent:_.emitEvent})}setControl(b,_,j={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange(()=>{}),this.controls.splice(b,1),_&&(this.controls.splice(b,0,_),this._registerControl(_)),this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(b,_={}){ur(this,b),b.forEach((j,c)=>{an(this,c),this.at(c).setValue(j,{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_)}patchValue(b,_={}){null!=b&&(b.forEach((j,c)=>{this.at(c)&&this.at(c).patchValue(j,{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_))}reset(b=[],_={}){this._forEachChild((j,c)=>{j.reset(b[c],{onlySelf:!0,emitEvent:_.emitEvent})}),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this.controls.map(b=>hr(b))}clear(b={}){this.controls.length<1||(this._forEachChild(_=>_._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:b.emitEvent}))}_syncPendingControls(){let b=this.controls.reduce((_,j)=>!!j._syncPendingControls()||_,!1);return b&&this.updateValueAndValidity({onlySelf:!0}),b}_forEachChild(b){this.controls.forEach((_,j)=>{b(_,j)})}_updateValue(){this.value=this.controls.filter(b=>b.enabled||this.disabled).map(b=>b.value)}_anyControls(b){return this.controls.some(_=>_.enabled&&b(_))}_setUpControls(){this._forEachChild(b=>this._registerControl(b))}_allControlsDisabled(){for(const b of this.controls)if(b.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(b){b.setParent(this),b._registerOnCollectionChange(this._onCollectionChange)}}const ht={provide:Dt,useExisting:(0,i.Gpc)(()=>Bt)},Tt=(()=>Promise.resolve(null))();let Bt=(()=>{class w extends Dt{constructor(_,j,c,E){super(),this.control=new Mt,this._registered=!1,this.update=new i.vpe,this._parent=_,this._setValidators(j),this._setAsyncValidators(c),this.valueAccessor=function qn(w,b){if(!b)return null;let _,j,c;return Array.isArray(b),b.forEach(E=>{E.constructor===Ue?_=E:function vn(w){return Object.getPrototypeOf(w.constructor)===pe}(E)?j=E:c=E}),c||j||_||null}(0,E)}ngOnChanges(_){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in _&&this._updateDisabled(_),function Ut(w,b){if(!w.hasOwnProperty("model"))return!1;const _=w.model;return!!_.isFirstChange()||!Object.is(b,_.currentValue)}(_,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?function Yn(w,b){return[...b.path,w]}(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(_){this.viewModel=_,this.update.emit(_)}_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(){Cn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(_){Tt.then(()=>{this.control.setValue(_,{emitViewToModelChange:!1})})}_updateDisabled(_){const j=_.isDisabled.currentValue,c=""===j||j&&"false"!==j;Tt.then(()=>{c&&!this.control.disabled?this.control.disable():!c&&this.control.disabled&&this.control.enable()})}}return w.\u0275fac=function(_){return new(_||w)(i.Y36(fn,9),i.Y36(Oe,10),i.Y36(be,10),i.Y36(Te,10))},w.\u0275dir=i.lG2({type:w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([ht]),i.qOj,i.TTD]}),w})(),Pr=(()=>{class w{}return w.\u0275fac=function(_){return new(_||w)},w.\u0275mod=i.oAB({type:w}),w.\u0275inj=i.cJS({}),w})(),cn=(()=>{class w{}return w.\u0275fac=function(_){return new(_||w)},w.\u0275mod=i.oAB({type:w}),w.\u0275inj=i.cJS({imports:[[Pr]]}),w})(),Zn=(()=>{class w{}return w.\u0275fac=function(_){return new(_||w)},w.\u0275mod=i.oAB({type:w}),w.\u0275inj=i.cJS({imports:[cn]}),w})()},2313:(vt,Ve,F)=>{"use strict";F.d(Ve,{b2:()=>$n,q6:()=>nn,se:()=>K});var i=F(9808),Y=F(4893);class X extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ge extends X{static makeCurrent(){(0,i.HT)(new ge)}onAndCancel(ce,W,Be){return ce.addEventListener(W,Be,!1),()=>{ce.removeEventListener(W,Be,!1)}}dispatchEvent(ce,W){ce.dispatchEvent(W)}remove(ce){ce.parentNode&&ce.parentNode.removeChild(ce)}createElement(ce,W){return(W=W||this.getDefaultDocument()).createElement(ce)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ce){return ce.nodeType===Node.ELEMENT_NODE}isShadowRoot(ce){return ce instanceof DocumentFragment}getGlobalEventTarget(ce,W){return"window"===W?window:"document"===W?ce:"body"===W?ce.body:null}getBaseHref(ce){const W=function Fe(){return te=te||document.querySelector("base"),te?te.getAttribute("href"):null}();return null==W?null:function $e(Le){fe=fe||document.createElement("a"),fe.setAttribute("href",Le);const ce=fe.pathname;return"/"===ce.charAt(0)?ce:`/${ce}`}(W)}resetBaseElement(){te=null}getUserAgent(){return window.navigator.userAgent}getCookie(ce){return(0,i.Mx)(document.cookie,ce)}}let fe,te=null;const Me=new Y.OlP("TRANSITION_ID"),_e=[{provide:Y.ip1,useFactory:function Pe(Le,ce,W){return()=>{W.get(Y.CZH).donePromise.then(()=>{const Be=(0,i.q)(),nt=ce.querySelectorAll(`style[ng-transition="${Le}"]`);for(let St=0;St<nt.length;St++)Be.remove(nt[St])})}},deps:[Me,i.K0,Y.zs3],multi:!0}];
1class je{static init(){(0,Y.VLi)(new je)}addToWindow(ce){Y.dqk.getAngularTestability=(Be,nt=!0)=>{const St=ce.findTestabilityInTree(Be,nt);if(null==St)throw new Error("Could not find testability for element.");return St},Y.dqk.getAllAngularTestabilities=()=>ce.getAllTestabilities(),Y.dqk.getAllAngularRootElements=()=>ce.getAllRootElements(),Y.dqk.frameworkStabilizers||(Y.dqk.frameworkStabilizers=[]),Y.dqk.frameworkStabilizers.push(Be=>{const nt=Y.dqk.getAllAngularTestabilities();let St=nt.length,Ut=!1;const vn=function(en){Ut=Ut||en,St--,0==St&&Be(Ut)};nt.forEach(function(en){en.whenStable(vn)})})}findTestabilityInTree(ce,W,Be){if(null==W)return null;const nt=ce.getTestability(W);return null!=nt?nt:Be?(0,i.q)().isShadowRoot(W)?this.findTestabilityInTree(ce,W.host,!0):this.findTestabilityInTree(ce,W.parentElement,!0):null}}let re=(()=>{class Le{build(){return new XMLHttpRequest}}return Le.\u0275fac=function(W){return new(W||Le)},Le.\u0275prov=Y.Yz7({token:Le,factory:Le.\u0275fac}),Le})();const pe=new Y.OlP("EventManagerPlugins");let Te=(()=>{class Le{constructor(W,Be){this._zone=Be,this._eventNameToPlugin=new Map,W.forEach(nt=>nt.manager=this),this._plugins=W.slice().reverse()}addEventListener(W,Be,nt){return this._findPluginFor(Be).addEventListener(W,Be,nt)}addGlobalEventListener(W,Be,nt){return this._findPluginFor(Be).addGlobalEventListener(W,Be,nt)}getZone(){return this._zone}_findPluginFor(W){const Be=this._eventNameToPlugin.get(W);if(Be)return Be;const nt=this._plugins;for(let St=0;St<nt.length;St++){const Ut=nt[St];if(Ut.supports(W))return this._eventNameToPlugin.set(W,Ut),Ut}throw new Error(`No event manager plugin found for event ${W}`)}}return Le.\u0275fac=function(W){return new(W||Le)(Y.LFG(pe),Y.LFG(Y.R0b))},Le.\u0275prov=Y.Yz7({token:Le,factory:Le.\u0275fac}),Le})();class Q{constructor(ce){this._doc=ce}addGlobalEventListener(ce,W,Be){const nt=(0,i.q)().getGlobalEventTarget(this._doc,ce);if(!nt)throw new Error(`Unsupported event target ${nt} for event ${W}`);return this.addEventListener(nt,W,Be)}}let ie=(()=>{class Le{constructor(){this._stylesSet=new Set}addStyles(W){const Be=new Set;W.forEach(nt=>{this._stylesSet.has(nt)||(this._stylesSet.add(nt),Be.add(nt))}),this.onStylesAdded(Be)}onStylesAdded(W){}getAllStyles(){return Array.from(this._stylesSet)}}return Le.\u0275fac=function(W){return new(W||Le)},Le.\u0275prov=Y.Yz7({token:Le,factory:Le.\u0275fac}),Le})(),Ie=(()=>{class Le extends ie{constructor(W){super(),this._doc=W,this._hostNodes=new Map,this._hostNodes.set(W.head,[])}_addStylesToHost(W,Be,nt){W.forEach(St=>{const Ut=this._doc.createElement("style");Ut.textContent=St,nt.push(Be.appendChild(Ut))})}addHost(W){const Be=[];this._addStylesToHost(this._stylesSet,W,Be),this._hostNodes.set(W,Be)}removeHost(W){const Be=this._hostNodes.get(W);Be&&Be.forEach(Ke),this._hostNodes.delete(W)}onStylesAdded(W){this._hostNodes.forEach((Be,nt)=>{this._addStylesToHost(W,nt,Be)})}ngOnDestroy(){this._hostNodes.forEach(W=>W.forEach(Ke))}}return Le.\u0275fac=function(W){return new(W||Le)(Y.LFG(i.K0))},Le.\u0275prov=Y.Yz7({token:Le,factory:Le.\u0275fac}),Le})();function Ke(Le){(0,i.q)().remove(Le)}const Re={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/"},Ue=/%COMP%/g;function B(Le,ce,W){for(let Be=0;Be<ce.length;Be++){let nt=ce[Be];Array.isArray(nt)?B(Le,nt,W):(nt=nt.replace(Ue,Le),W.push(nt))}return W}function L(Le){return ce=>{if("__ngUnwrap__"===ce)return Le;!1===Le(ce)&&(ce.preventDefault(),ce.returnValue=!1)}}let K=(()=>{class Le{constructor(W,Be,nt){this.eventManager=W,this.sharedStylesHost=Be,this.appId=nt,this.rendererByCompId=new Map,this.defaultRenderer=new q(W)}createRenderer(W,Be){if(!W||!Be)return this.defaultRenderer;switch(Be.encapsulation){case Y.ifc.Emulated:{let nt=this.rendererByCompId.get(Be.id);return nt||(nt=new ee(this.eventManager,this.sharedStylesHost,Be,this.appId),this.rendererByCompId.set(Be.id,nt)),nt.applyToHost(W),nt}case 1:case Y.ifc.ShadowDom:return new me(this.eventManager,this.sharedStylesHost,W,Be);default:if(!this.rendererByCompId.has(Be.id)){const nt=B(Be.id,Be.styles,[]);this.sharedStylesHost.addStyles(nt),this.rendererByCompId.set(Be.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Le.\u0275fac=function(W){return new(W||Le)(Y.LFG(Te),Y.LFG(Ie),Y.LFG(Y.AFp))},Le.\u0275prov=Y.Yz7({token:Le,factory:Le.\u0275fac}),Le})();class q{constructor(ce){this.eventManager=ce,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ce,W){return W?document.createElementNS(Re[W]||W,ce):document.createElement(ce)}createComment(ce){return document.createComment(ce)}createText(ce){return document.createTextNode(ce)}appendChild(ce,W){ce.appendChild(W)}insertBefore(ce,W,Be){ce&&ce.insertBefore(W,Be)}removeChild(ce,W){ce&&ce.removeChild(W)}selectRootElement(ce,W){let Be="string"==typeof ce?document.querySelector(ce):ce;if(!Be)throw new Error(`The selector "${ce}
1" did not match any elements`);return W||(Be.textContent=""),Be}parentNode(ce){return ce.parentNode}nextSibling(ce){return ce.nextSibling}setAttribute(ce,W,Be,nt){if(nt){W=nt+":"+W;const St=Re[nt];St?ce.setAttributeNS(St,W,Be):ce.setAttribute(W,Be)}else ce.setAttribute(W,Be)}removeAttribute(ce,W,Be){if(Be){const nt=Re[Be];nt?ce.removeAttributeNS(nt,W):ce.removeAttribute(`${Be}:${W}`)}else ce.removeAttribute(W)}addClass(ce,W){ce.classList.add(W)}removeClass(ce,W){ce.classList.remove(W)}setStyle(ce,W,Be,nt){nt&(Y.JOm.DashCase|Y.JOm.Important)?ce.style.setProperty(W,Be,nt&Y.JOm.Important?"important":""):ce.style[W]=Be}removeStyle(ce,W,Be){Be&Y.JOm.DashCase?ce.style.removeProperty(W):ce.style[W]=""}setProperty(ce,W,Be){ce[W]=Be}setValue(ce,W){ce.nodeValue=W}listen(ce,W,Be){return"string"==typeof ce?this.eventManager.addGlobalEventListener(ce,W,L(Be)):this.eventManager.addEventListener(ce,W,L(Be))}}class ee extends q{constructor(ce,W,Be,nt){super(ce),this.component=Be;const St=B(nt+"-"+Be.id,Be.styles,[]);W.addStyles(St),this.contentAttr=function Ne(Le){return"_ngcontent-%COMP%".replace(Ue,Le)}(nt+"-"+Be.id),this.hostAttr=function oe(Le){return"_nghost-%COMP%".replace(Ue,Le)}(nt+"-"+Be.id)}applyToHost(ce){super.setAttribute(ce,this.hostAttr,"")}createElement(ce,W){const Be=super.createElement(ce,W);return super.setAttribute(Be,this.contentAttr,""),Be}}class me extends q{constructor(ce,W,Be,nt){super(ce),this.sharedStylesHost=W,this.hostEl=Be,this.shadowRoot=Be.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const St=B(nt.id,nt.styles,[]);for(let Ut=0;Ut<St.length;Ut++){const vn=document.createElement("style");vn.textContent=St[Ut],this.shadowRoot.appendChild(vn)}}nodeOrShadowRoot(ce){return ce===this.hostEl?this.shadowRoot:ce}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ce,W){return super.appendChild(this.nodeOrShadowRoot(ce),W)}insertBefore(ce,W,Be){return super.insertBefore(this.nodeOrShadowRoot(ce),W,Be)}removeChild(ce,W){return super.removeChild(this.nodeOrShadowRoot(ce),W)}parentNode(ce){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ce)))}}let Ee=(()=>{class Le extends Q{constructor(W){super(W)}supports(W){return!0}addEventListener(W,Be,nt){return W.addEventListener(Be,nt,!1),()=>this.removeEventListener(W,Be,nt)}removeEventListener(W,Be,nt){return W.removeEventListener(Be,nt)}}return Le.\u0275fac=function(W){return new(W||Le)(Y.LFG(i.K0))},Le.\u0275prov=Y.Yz7({token:Le,factory:Le.\u0275fac}),Le})();const ae=["alt","control","meta","shift"],ke={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ze={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ot={alt:Le=>Le.altKey,control:Le=>Le.ctrlKey,meta:Le=>Le.metaKey,shift:Le=>Le.shiftKey};let st=(()=>{class Le extends Q{constructor(W){super(W)}supports(W){return null!=Le.parseEventName(W)}addEventListener(W,Be,nt){const St=Le.parseEventName(Be),Ut=Le.eventCallback(St.fullKey,nt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(W,St.domEventName,Ut))}static parseEventName(W){const Be=W.toLowerCase().split("."),nt=Be.shift();if(0===Be.length||"keydown"!==nt&&"keyup"!==nt)return null;const St=Le._normalizeKey(Be.pop());let Ut="";if(ae.forEach(en=>{const qn=Be.indexOf(en);qn>-1&&(Be.splice(qn,1),Ut+=en+".")}),Ut+=St,0!=Be.length||0===St.length)return null;const vn={};return vn.domEventName=nt,vn.fullKey=Ut,vn}static getEventFullKey(W){let Be="",nt=function _t(Le){let ce=Le.key;if(null==ce){if(ce=Le.keyIdentifier,null==ce)return"Unidentified";ce.startsWith("U+")&&(ce=String.fromCharCode(parseInt(ce.substring(2),16)),3===Le.location&&ze.hasOwnProperty(ce)&&(ce=ze[ce]))}return ke[ce]||ce}(W);return nt=nt.toLowerCase()," "===nt?nt="space":"."===nt&&(nt="dot"),ae.forEach(St=>{St!=nt&&ot[St](W)&&(Be+=St+".")}),Be+=nt,Be}static eventCallback(W,Be,nt){return St=>{Le.getEventFullKey(St)===W&&nt.runGuarded(()=>Be(St))}}static _normalizeKey(W){return"esc"===W?"escape":W}}return Le.\u0275fac=function(W){return new(W||Le)(Y.LFG(i.K0))},Le.\u0275prov=Y.Yz7({token:Le,factory:Le.\u0275fac}),Le})();
1const nn=(0,Y.eFA)(Y._c5,"browser",[{provide:Y.Lbi,useValue:i.bD},{provide:Y.g9A,useValue:function Vt(){ge.makeCurrent(),je.init()},multi:!0},{provide:i.K0,useFactory:function Jt(){return(0,Y.RDi)(document),document},deps:[]}]),Pn=[{provide:Y.zSh,useValue:"root"},{provide:Y.qLn,useFactory:function Et(){return new Y.qLn},deps:[]},{provide:pe,useClass:Ee,multi:!0,deps:[i.K0,Y.R0b,Y.Lbi]},{provide:pe,useClass:st,multi:!0,deps:[i.K0]},{provide:K,useClass:K,deps:[Te,Ie,Y.AFp]},{provide:Y.FYo,useExisting:K},{provide:ie,useExisting:Ie},{provide:Ie,useClass:Ie,deps:[i.K0]},{provide:Y.dDg,useClass:Y.dDg,deps:[Y.R0b]},{provide:Te,useClass:Te,deps:[pe,Y.R0b]},{provide:i.JF,useClass:re,deps:[]}];let $n=(()=>{class Le{constructor(W){if(W)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(W){return{ngModule:Le,providers:[{provide:Y.AFp,useValue:W.appId},{provide:Me,useExisting:Y.AFp},_e]}}}return Le.\u0275fac=function(W){return new(W||Le)(Y.LFG(Le,12))},Le.\u0275mod=Y.oAB({type:Le}),Le.\u0275inj=Y.cJS({providers:Pn,imports:[i.ez,Y.hGG]}),Le})();"undefined"!=typeof window&&window},8167:(vt,Ve,F)=>{"use strict";F.d(Ve,{gz:()=>ye,y6:()=>Ar,OD:()=>Jt,eC:()=>Qe,wN:()=>Lo,F0:()=>rr,rH:()=>uo,Bz:()=>Oi,Hx:()=>vn});var i=F(4893),Y=F(8306),X=F(4742),ge=F(2076),te=F(4671),Fe=F(3268),fe=F(3269),$e=F(1810),Me=F(5403),Pe=F(9672);function re(y,g,f){y?(0,Pe.f)(f,y,g):g()}const Te=(0,F(3888).d)(y=>function(){y(this),this.name="EmptyError",this.message="no elements in sequence"});var Q=F(9646),ie=F(1135),Ie=F(7272),Ke=F(9770),Re=F(515),Ue=F(4033),we=F(7579),He=F(4482);function be(y,g,f,D,A){return(k,h)=>{let s=f,l=g,p=0;k.subscribe(new Me.Q(h,I=>{const P=p++;l=s?y(l,I,P):(s=!0,I),D&&h.next(l)},A&&(()=>{s&&h.next(l),h.complete()})))}}function Ne(y,g){return(0,He.e)(be(y,g,arguments.length>=2,!0))}var oe=F(8421);function B(y){return(0,He.e)((g,f)=>{let k,D=null,A=!1;D=g.subscribe(new Me.Q(f,void 0,void 0,h=>{k=(0,oe.Xf)(y(h,B(y)(g))),D?(D.unsubscribe(),D=null,k.subscribe(f)):A=!0})),A&&(D.unsubscribe(),D=null,k.subscribe(f))})}var L=F(9300);function $(y){return y<=0?()=>Re.E:(0,He.e)((g,f)=>{let D=[];g.subscribe(new Me.Q(f,A=>{D.push(A),y<D.length&&D.shift()},()=>{for(const A of D)f.next(A);f.complete()},void 0,()=>{D=null}))})}function K(y=q){return(0,He.e)((g,f)=>{let D=!1;g.subscribe(new Me.Q(f,A=>{D=!0,f.next(A)},()=>D?f.complete():f.error(y())))})}function q(){return new Te}function Ce(y){return(0,He.e)((g,f)=>{let D=!1;g.subscribe(new Me.Q(f,A=>{D=!0,f.next(A)},()=>{D||f.next(y),f.complete()}))})}var ee=F(5698);function me(y,g){const f=arguments.length>=2;return D=>D.pipe(y?(0,L.h)((A,k)=>y(A,k,D)):te.y,(0,ee.q)(1),f?Ce(g):K(()=>new Te))}var ae=F(4004),ve=F(3900),ke=F(4351),ze=F(5577),ot=F(8505),st=F(8343),_t=F(8189),Vt=F(9808);class Et{constructor(g,f){this.id=g,this.url=f}}class Jt extends Et{constructor(g,f,D="imperative",A=null){super(g,f),this.navigationTrigger=D,this.restoredState=A}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ot extends Et{constructor(g,f,D){super(g,f),this.urlAfterRedirects=D}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}
1class nn extends Et{constructor(g,f,D){super(g,f),this.reason=D}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Pn extends Et{constructor(g,f,D){super(g,f),this.error=D}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $n extends Et{constructor(g,f,D,A){super(g,f),this.urlAfterRedirects=D,this.state=A}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vn extends Et{constructor(g,f,D,A){super(g,f),this.urlAfterRedirects=D,this.state=A}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cr extends Et{constructor(g,f,D,A,k){super(g,f),this.urlAfterRedirects=D,this.state=A,this.shouldActivate=k}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Jn extends Et{constructor(g,f,D,A){super(g,f),this.urlAfterRedirects=D,this.state=A}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dt extends Et{constructor(g,f,D,A){super(g,f),this.urlAfterRedirects=D,this.state=A}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fn{constructor(g){this.route=g}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class it{constructor(g){this.route=g}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xe{constructor(g){this.snapshot=g}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ue{constructor(g){this.snapshot=g}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class he{constructor(g){this.snapshot=g}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class et{constructor(g){this.snapshot=g}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tt{constructor(g,f,D){this.routerEvent=g,this.position=f,this.anchor=D}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Qe="primary";class ct{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const f=this.params[g];return Array.isArray(f)?f[0]:f}return null}getAll(g){if(this.has(g)){const f=this.params[g];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function dt(y){return new ct(y)}const At="ngNavigationCancelingError";function rn(y){const g=Error("NavigationCancelingError: "+y);return g[At]=!0,g}function ir(y,g,f){const D=f.path.split("/");if(D.length>y.length||"full"===f.pathMatch&&(g.hasChildren()||D.length<y.length))return null;const A={};for(let k=0;k<D.length;k++){const h=D[k],s=y[k];if(h.startsWith(":"))A[h.substring(1)]=s;else if(h!==s.path)return null}return{consumed:y.slice(0,D.length),posParams:A}}function Pt(y,g){const f=y?Object.keys(y):void 0,D=g?Object.keys(g):void 0;if(!f||!D||f.length!=D.length)return!1;let A;for(let k=0;k<f.length;k++)if(A=f[k],!Ft(y[A],g[A]))return!1;return!0}function Ft(y,g){if(Array.isArray(y)&&Array.isArray(g)){if(y.length!==g.length)return!1;const f=[...y].sort(),D=[...g].sort();return f.every((A,k)=>D[k]===A)}return y===g}function Kt(y){return Array.prototype.concat.apply([],y)}function Xt(y){return y.length>0?y[y.length-1]:null}function Qt(y,g){for(const f in y)y.hasOwnProperty(f)&&g(y[f],f)}function xt(y){return(0,i.CqO)(y)?y:(0,i.QGY)(y)?(0,ge.D)(Promise.resolve(y)):(0,Q.of)(y)}const Cn={exact:function pn(y,g,f){if(!St(y.segments,g.segments)||!Le(y.segments,g.segments,f)||y.numberOfChildren!==g.numberOfChildren)return!1;for(const D in g.children)if(!y.children[D]||!pn(y.children[D],g.children[D],f))return!1;return!0},subset:Nn},jn={exact:function Rn(y,g){return Pt(y,g)},subset:function bn(y,g){return Object.keys(g).length<=Object.keys(y).length&&Object.keys(g).every(f=>Ft(y[f],g[f]))},ignored:()=>!0};function xn(y,g,f){return Cn[f.paths](y.root,g.root,f.matrixParams)&&jn[f.queryParams](y.queryParams,g.queryParams)&&!("exact"===f.fragment&&y.fragment!==g.fragment)}function Nn(y,g,f){return yr(y,g,g.segments,f)}function yr(y,g,f,D){if(y.segments.length>f.length){const A=y.segments.slice(0,f.length);
1return!(!St(A,f)||g.hasChildren()||!Le(A,f,D))}if(y.segments.length===f.length){if(!St(y.segments,f)||!Le(y.segments,f,D))return!1;for(const A in g.children)if(!y.children[A]||!Nn(y.children[A],g.children[A],D))return!1;return!0}{const A=f.slice(0,y.segments.length),k=f.slice(y.segments.length);return!!(St(y.segments,A)&&Le(y.segments,A,D)&&y.children[Qe])&&yr(y.children[Qe],g,k,D)}}function Le(y,g,f){return g.every((D,A)=>jn[f](y[A].parameters,D.parameters))}class ce{constructor(g,f,D){this.root=g,this.queryParams=f,this.fragment=D}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dt(this.queryParams)),this._queryParamMap}toString(){return qn.serialize(this)}}class W{constructor(g,f){this.segments=g,this.children=f,this.parent=null,Qt(f,(D,A)=>D.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fn(this)}}class Be{constructor(g,f){this.path=g,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=dt(this.parameters)),this._parameterMap}toString(){return br(this)}}function St(y,g){return y.length===g.length&&y.every((f,D)=>f.path===g[D].path)}class vn{}class en{parse(g){const f=new an(g);return new ce(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(g){const f=`/${kn(g.root,!0)}`,D=function ut(y){const g=Object.keys(y).map(f=>{const D=y[f];return Array.isArray(D)?D.map(A=>`${Tn(f)}=${Tn(A)}`).join("&"):`${Tn(f)}=${Tn(D)}`}).filter(f=>!!f);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${f}${D}${"string"==typeof g.fragment?`#${function Qn(y){return encodeURI(y)}(g.fragment)}`:""}`}}const qn=new en;function Fn(y){return y.segments.map(g=>br(g)).join("/")}function kn(y,g){if(!y.hasChildren())return Fn(y);if(g){const f=y.children[Qe]?kn(y.children[Qe],!1):"",D=[];return Qt(y.children,(A,k)=>{k!==Qe&&D.push(`${k}:${kn(A,!1)}`)}),D.length>0?`${f}(${D.join("//")})`:f}{const f=function Ut(y,g){let f=[];return Qt(y.children,(D,A)=>{A===Qe&&(f=f.concat(g(D,A)))}),Qt(y.children,(D,A)=>{A!==Qe&&(f=f.concat(g(D,A)))}),f}(y,(D,A)=>A===Qe?[kn(y.children[Qe],!1)]:[`${A}:${kn(D,!1)}`]);return 1===Object.keys(y.children).length&&null!=y.children[Qe]?`${Fn(y)}/${f[0]}`:`${Fn(y)}/(${f.join("//")})`}}function Xn(y){return encodeURIComponent(y).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tn(y){return Xn(y).replace(/%3B/gi,";")}function _n(y){return Xn(y).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hn(y){return decodeURIComponent(y)}function gn(y){return Hn(y.replace(/\+/g,"%20"))}function br(y){return`${_n(y.path)}${function wn(y){return Object.keys(y).map(g=>`;${_n(g)}=${_n(y[g])}`).join("")}(y.parameters)}`}const Rt=/^[^\/()?;=#]+/;function qt(y){const g=y.match(Rt);return g?g[0]:""}const In=/^[^=?&#]+/,Dn=/^[^&#]+/;class an{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new W([],{}):new W([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let D={};return this.peekStartsWith("(")&&(D=this.parseParens(!1)),(g.length>0||Object.keys(f).length>0)&&(D[Qe]=new W(g,f)),D}parseSegment(){const g=qt(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(g),new Be(Hn(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const f=qt(this.remaining);if(!f)return;this.capture(f);let D="";if(this.consumeOptional("=")){const A=qt(this.remaining);A&&(D=A,this.capture(D))}g[Hn(f)]=Hn(D)}parseQueryParam(g){const f=function Wn(y){const g=y.match(In);return g?g[0]:""}(this.remaining);if(!f)return;this.capture(f);let D="";if(this.consumeOptional("=")){const h=function hr(y){const g=y.match(Dn);return g?g[0]:""}(this.remaining);h&&(D=h,this.capture(D))}const A=gn(f),k=gn(D);if(g.hasOwnProperty(A)){let h=g[A];Array.isArray(h)||(h=[h],g[A]=h),h.push(k)}else g[A]=k}parseParens(g){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const D=qt(this.remaining),A=this.remaining[D.length];if("/"!==A&&")"!==A&&";"!==A)throw new Error(`Cannot parse url '${this.url}'`);let k;D.indexOf(":")>-1?(k=D.substr(0,D.indexOf(":")),this.capture(k),this.capture(":")):g&&(k=Qe);const h=this.parseChildren();f[k]=1===Object.keys(h).length?h[Qe]:new W([],h),this.consumeOptional("//")}return f}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new Error(`Expected "${g}".`)}}class ur{constructor(g){this._root=g}get root(){return this._root.value}
1parent(g){const f=this.pathFromRoot(g);return f.length>1?f[f.length-2]:null}children(g){const f=er(g,this._root);return f?f.children.map(D=>D.value):[]}firstChild(g){const f=er(g,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(g){const f=Mt(g,this._root);return f.length<2?[]:f[f.length-2].children.map(A=>A.value).filter(A=>A!==g)}pathFromRoot(g){return Mt(g,this._root).map(f=>f.value)}}function er(y,g){if(y===g.value)return g;for(const f of g.children){const D=er(y,f);if(D)return D}return null}function Mt(y,g){if(y===g.value)return[g];for(const f of g.children){const D=Mt(y,f);if(D.length)return D.unshift(g),D}return[]}class Un{constructor(g,f){this.value=g,this.children=f}toString(){return`TreeNode(${this.value})`}}function or(y){const g={};return y&&y.children.forEach(f=>g[f.value.outlet]=f),g}class N extends ur{constructor(g,f){super(g),this.snapshot=f,We(this,g)}toString(){return this.snapshot.toString()}}function H(y,g){const f=function le(y,g){const h=new de([],{},{},"",{},Qe,g,null,y.root,-1,{});return new qe("",new Un(h,[]))}(y,g),D=new ie.X([new Be("",{})]),A=new ie.X({}),k=new ie.X({}),h=new ie.X({}),s=new ie.X(""),l=new ye(D,A,h,s,k,Qe,g,f.root);return l.snapshot=f.root,new N(new Un(l,[]),f)}class ye{constructor(g,f,D,A,k,h,s,l){this.url=g,this.params=f,this.queryParams=D,this.fragment=A,this.data=k,this.outlet=h,this.component=s,this._futureSnapshot=l}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,ae.U)(g=>dt(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ae.U)(g=>dt(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function U(y,g="emptyOnly"){const f=y.pathFromRoot;let D=0;if("always"!==g)for(D=f.length-1;D>=1;){const A=f[D],k=f[D-1];if(A.routeConfig&&""===A.routeConfig.path)D--;else{if(k.component)break;D--}}return function J(y){return y.reduce((g,f)=>({params:Object.assign(Object.assign({},g.params),f.params),data:Object.assign(Object.assign({},g.data),f.data),resolve:Object.assign(Object.assign({},g.resolve),f._resolvedData)}),{params:{},data:{},resolve:{}})}(f.slice(D))}class de{constructor(g,f,D,A,k,h,s,l,p,I,P){this.url=g,this.params=f,this.queryParams=D,this.fragment=A,this.data=k,this.outlet=h,this.component=s,this.routeConfig=l,this._urlSegment=p,this._lastPathIndex=I,this._resolve=P}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=dt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(D=>D.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qe extends ur{constructor(g,f){super(f),this.url=g,We(this,f)}toString(){return Xe(this._root)}}function We(y,g){g.value._routerState=y,g.children.forEach(f=>We(y,f))}function Xe(y){const g=y.children.length>0?` { ${y.children.map(Xe).join(", ")} } `:"";return`${y.value}${g}`}function ht(y){if(y.snapshot){const g=y.snapshot,f=y._futureSnapshot;y.snapshot=f,Pt(g.queryParams,f.queryParams)||y.queryParams.next(f.queryParams),g.fragment!==f.fragment&&y.fragment.next(f.fragment),Pt(g.params,f.params)||y.params.next(f.params),function hn(y,g){if(y.length!==g.length)return!1;for(let f=0;f<y.length;++f)if(!Pt(y[f],g[f]))return!1;return!0}(g.url,f.url)||y.url.next(f.url),Pt(g.data,f.data)||y.data.next(f.data)}else y.snapshot=y._futureSnapshot,y.data.next(y._futureSnapshot.data)}function Tt(y,g){const f=Pt(y.params,g.params)&&function nt(y,g){return St(y,g)&&y.every((f,D)=>Pt(f.parameters,g[D].parameters))}(y.url,g.url);return f&&!(!y.parent!=!g.parent)&&(!y.parent||Tt(y.parent,g.parent))}function Ht(y,g,f){if(f&&y.shouldReuseRoute(g.value,f.value.snapshot)){const D=f.value;D._futureSnapshot=g.value;const A=function An(y,g,f){return g.children.map(D=>{for(const A of f.children)if(y.shouldReuseRoute(D.value,A.value.snapshot))return Ht(y,D,A);return Ht(y,D)})}(y,g,f);return new Un(D,A)}{if(y.shouldAttach(g.value)){const k=y.retrieve(g.value);if(null!==k){const h=k.route;return h.value._futureSnapshot=g.value,h.children=g.children.map(s=>Ht(y,s)),h}}const D=function zn(y){return new ye(new ie.X(y.url),new ie.X(y.params),new ie.X(y.queryParams),new ie.X(y.fragment),new ie.X(y.data),y.outlet,y.component,y)}(g.value),A=g.children.map(k=>Ht(y,k));return new Un(D,A)}}function Fr(y){return"object"==typeof y&&null!=y&&!y.outlets&&!y.segmentPath}function Pr(y){return"object"==typeof y&&null!=y&&y.outlets}function xr(y,g,f,D,A){let k={};return D&&Qt(D,(h,s)=>{k[s]=Array.isArray(h)?h.map(l=>`${l}`):`${h}`}),new ce(f.root===y?g:ai(f.root,y,g),k,A)}function ai(y,g,f){const D={};return Qt(y.children,(A,k)=>{D[k]=A===g?f:ai(A,g,f)}),new W(y.segments,D)}
1class Ri{constructor(g,f,D){if(this.isAbsolute=g,this.numberOfDoubleDots=f,this.commands=D,g&&D.length>0&&Fr(D[0]))throw new Error("Root segment cannot have matrix parameters");const A=D.find(Pr);if(A&&A!==Xt(D))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xr{constructor(g,f,D){this.segmentGroup=g,this.processChildren=f,this.index=D}}function Zr(y,g,f){if(y||(y=new W([],{})),0===y.segments.length&&y.hasChildren())return Jr(y,g,f);const D=function bi(y,g,f){let D=0,A=g;const k={match:!1,pathIndex:0,commandIndex:0};for(;A<y.segments.length;){if(D>=f.length)return k;const h=y.segments[A],s=f[D];if(Pr(s))break;const l=`${s}`,p=D<f.length-1?f[D+1]:null;if(A>0&&void 0===l)break;if(l&&p&&"object"==typeof p&&void 0===p.outlets){if(!li(l,p,h))return k;D+=2}else{if(!li(l,{},h))return k;D++}A++}return{match:!0,pathIndex:A,commandIndex:D}}(y,g,f),A=f.slice(D.commandIndex);if(D.match&&D.pathIndex<y.segments.length){const k=new W(y.segments.slice(0,D.pathIndex),{});return k.children[Qe]=new W(y.segments.slice(D.pathIndex),y.children),Jr(k,0,A)}return D.match&&0===A.length?new W(y.segments,{}):D.match&&!y.hasChildren()?yi(y,g,f):D.match?Jr(y,0,A):yi(y,g,f)}function Jr(y,g,f){if(0===f.length)return new W(y.segments,{});{const D=function Yi(y){return Pr(y[0])?y[0].outlets:{[Qe]:y}}(f),A={};return Qt(D,(k,h)=>{"string"==typeof k&&(k=[k]),null!==k&&(A[h]=Zr(y.children[h],g,k))}),Qt(y.children,(k,h)=>{void 0===D[h]&&(A[h]=k)}),new W(y.segments,A)}}function yi(y,g,f){const D=y.segments.slice(0,g);let A=0;for(;A<f.length;){const k=f[A];if(Pr(k)){const l=kr(k.outlets);return new W(D,l)}if(0===A&&Fr(f[0])){D.push(new Be(y.segments[g].path,wi(f[0]))),A++;continue}const h=Pr(k)?k.outlets[Qe]:`${k}`,s=A<f.length-1?f[A+1]:null;h&&s&&Fr(s)?(D.push(new Be(h,wi(s))),A+=2):(D.push(new Be(h,{})),A++)}return new W(D,{})}function kr(y){const g={};return Qt(y,(f,D)=>{"string"==typeof f&&(f=[f]),null!==f&&(g[D]=yi(new W([],{}),0,f))}),g}function wi(y){const g={};return Qt(y,(f,D)=>g[D]=`${f}`),g}function li(y,g,f){return y==f.path&&Pt(g,f.parameters)}class ci{constructor(g,f,D,A){this.routeReuseStrategy=g,this.futureState=f,this.currState=D,this.forwardEvent=A}activate(g){const f=this.futureState._root,D=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,D,g),ht(this.futureState.root),this.activateChildRoutes(f,D,g)}deactivateChildRoutes(g,f,D){const A=or(f);g.children.forEach(k=>{const h=k.value.outlet;this.deactivateRoutes(k,A[h],D),delete A[h]}),Qt(A,(k,h)=>{this.deactivateRouteAndItsChildren(k,D)})}deactivateRoutes(g,f,D){const A=g.value,k=f?f.value:null;if(A===k)if(A.component){const h=D.getContext(A.outlet);h&&this.deactivateChildRoutes(g,f,h.children)}else this.deactivateChildRoutes(g,f,D);else k&&this.deactivateRouteAndItsChildren(f,D)}deactivateRouteAndItsChildren(g,f){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,f):this.deactivateRouteAndOutlet(g,f)}detachAndStoreRouteSubtree(g,f){const D=f.getContext(g.value.outlet),A=D&&g.value.component?D.children:f,k=or(g);for(const h of Object.keys(k))this.deactivateRouteAndItsChildren(k[h],A);if(D&&D.outlet){const h=D.outlet.detach(),s=D.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:h,route:g,contexts:s})}}deactivateRouteAndOutlet(g,f){const D=f.getContext(g.value.outlet),A=D&&g.value.component?D.children:f,k=or(g);for(const h of Object.keys(k))this.deactivateRouteAndItsChildren(k[h],A);D&&D.outlet&&(D.outlet.deactivate(),D.children.onOutletDeactivated(),D.attachRef=null,D.resolver=null,D.route=null)}activateChildRoutes(g,f,D){const A=or(f);g.children.forEach(k=>{this.activateRoutes(k,A[k.value.outlet],D),this.forwardEvent(new et(k.value.snapshot))}),g.children.length&&this.forwardEvent(new ue(g.value.snapshot))}activateRoutes(g,f,D){const A=g.value,k=f?f.value:null;if(ht(A),A===k)if(A.component){const h=D.getOrCreateContext(A.outlet);this.activateChildRoutes(g,f,h.children)}else this.activateChildRoutes(g,f,D);else if(A.component){const h=D.getOrCreateContext(A.outlet);if(this.routeReuseStrategy.shouldAttach(A.snapshot)){const s=this.routeReuseStrategy.retrieve(A.snapshot);this.routeReuseStrategy.store(A.snapshot,null),h.children.onOutletReAttached(s.contexts),h.attachRef=s.componentRef,h.route=s.route.value,h.outlet&&h.outlet.attach(s.componentRef,s.route.value),ht(s.route.value),this.activateChildRoutes(g,null,h.children)}else{const s=function sr(y){for(let g=y.parent;g;g=g.parent){const f=g.routeConfig;if(f&&f._loadedConfig)return f._loadedConfig;if(f&&f.component)return null}return null}(A.snapshot),l=s?s.module.componentFactoryResolver:null;h.attachRef=null,h.route=A,h.resolver=l,h.outlet&&h.outlet.activateWith(A,l),this.activateChildRoutes(g,null,h.children)}}else this.activateChildRoutes(g,null,D)}}class Ir{constructor(g,f){this.routes=g,this.module=f}}function tr(y){return"function"==typeof y}function nr(y){return y instanceof ce}const Lr=Symbol("INITIAL_VALUE");function Cr(){return(0,ve.w)(y=>function _e(...y){const g=(0,fe.yG)(y),f=(0,fe.jO)(y),{args:D,keys:A}=(0,X.D)(y);if(0===D.length)return(0,ge.D)([],g);const k=new Y.y(function je(y,g,f=te.y){return D=>{re(g,()=>{const{length:A}=y,k=new Array(A);let h=A,s=A;for(let l=0;l<A;l++)re(g,()=>{const p=(0,ge.D)(y[l],g);let I=!1;p.subscribe(new Me.Q(D,P=>{k[l]=P,I||(I=!0,s--),s||D.next(f(k.slice()))},()=>{--h||D.complete()}
1))},D)},D)}}(D,g,A?h=>(0,$e.n)(A,h):te.y));return f?k.pipe((0,Fe.Z)(f)):k}(y.map(g=>g.pipe((0,ee.q)(1),function Oe(...y){const g=(0,fe.yG)(y);return(0,He.e)((f,D)=>{(g?(0,Ie.z)(y,f,g):(0,Ie.z)(y,f)).subscribe(D)})}(Lr)))).pipe(Ne((g,f)=>{let D=!1;return f.reduce((A,k,h)=>A!==Lr?A:(k===Lr&&(D=!0),D||!1!==k&&h!==f.length-1&&!nr(k)?A:k),g)},Lr),(0,L.h)(g=>g!==Lr),(0,ae.U)(g=>nr(g)?g:!0===g),(0,ee.q)(1)))}class vi{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ar,this.attachRef=null}}class Ar{constructor(){this.contexts=new Map}onChildOutletCreated(g,f){const D=this.getOrCreateContext(g);D.outlet=f,this.contexts.set(g,D)}onChildOutletDestroyed(g){const f=this.getContext(g);f&&(f.outlet=null,f.attachRef=null)}onOutletDeactivated(){const g=this.contexts;return this.contexts=new Map,g}onOutletReAttached(g){this.contexts=g}getOrCreateContext(g){let f=this.getContext(g);return f||(f=new vi,this.contexts.set(g,f)),f}getContext(g){return this.contexts.get(g)||null}}let dr=(()=>{class y{constructor(f,D,A,k,h){this.parentContexts=f,this.location=D,this.resolver=A,this.changeDetector=h,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=k||Qe,f.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const f=this.parentContexts.getContext(this.name);f&&f.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.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 f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,D){this.activated=f,this._activatedRoute=D,this.location.insert(f.hostView),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,D){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=f;const h=(D=D||this.resolver).resolveComponentFactory(f._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,l=new di(f,s,this.location.injector);this.activated=this.location.createComponent(h,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return y.\u0275fac=function(f){return new(f||y)(i.Y36(Ar),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},y.\u0275dir=i.lG2({type:y,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),y})();class di{constructor(g,f,D){this.route=g,this.childContexts=f,this.parent=D}get(g,f){return g===ye?this.route:g===Ar?this.childContexts:this.parent.get(g,f)}}let fi=(()=>{class y{}return y.\u0275fac=function(f){return new(f||y)},y.\u0275cmp=i.Xpm({type:y,selectors:[["ng-component"]],decls:1,vars:0,template:function(f,D){1&f&&i._UZ(0,"router-outlet")},directives:[dr],encapsulation:2}),y})();function ei(y,g=""){for(let f=0;f<y.length;f++){const D=y[f];Ti(D,hi(g,D))}}function Ti(y,g){y.children&&ei(y.children,g)}function hi(y,g){return g?y||g.path?y&&!g.path?`${y}/`:!y&&g.path?g.path:`${y}/${g.path}`:"":y}function S(y){const g=y.children&&y.children.map(S),f=g?Object.assign(Object.assign({},y),{children:g}):Object.assign({},y);return!f.component&&(g||f.loadChildren)&&f.outlet&&f.outlet!==Qe&&(f.component=fi),f}function x(y){return y.outlet||Qe}function T(y,g){const f=y.filter(D=>x(D)===g);return f.push(...y.filter(D=>x(D)!==g)),f}const V={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ne(y,g,f){var D;if(""===g.path)return"full"===g.pathMatch&&(y.hasChildren()||f.length>0)?Object.assign({},V):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const k=(g.matcher||ir)(f,y,g);if(!k)return Object.assign({},V);const h={};Qt(k.posParams,(l,p)=>{h[p]=l.path});const s=k.consumed.length>0?Object.assign(Object.assign({}
1,h),k.consumed[k.consumed.length-1].parameters):h;return{matched:!0,consumedSegments:k.consumed,lastChild:k.consumed.length,parameters:s,positionalParamSegments:null!==(D=k.posParams)&&void 0!==D?D:{}}}function Ge(y,g,f,D,A="corrected"){if(f.length>0&&function tn(y,g,f){return f.some(D=>mn(y,g,D)&&x(D)!==Qe)}(y,f,D)){const h=new W(g,function bt(y,g,f,D){const A={};A[Qe]=D,D._sourceSegment=y,D._segmentIndexShift=g.length;for(const k of f)if(""===k.path&&x(k)!==Qe){const h=new W([],{});h._sourceSegment=y,h._segmentIndexShift=g.length,A[x(k)]=h}return A}(y,g,D,new W(f,y.children)));return h._sourceSegment=y,h._segmentIndexShift=g.length,{segmentGroup:h,slicedSegments:[]}}if(0===f.length&&function En(y,g,f){return f.some(D=>mn(y,g,D))}(y,f,D)){const h=new W(y.segments,function lt(y,g,f,D,A,k){const h={};for(const s of D)if(mn(y,f,s)&&!A[x(s)]){const l=new W([],{});l._sourceSegment=y,l._segmentIndexShift="legacy"===k?y.segments.length:g.length,h[x(s)]=l}return Object.assign(Object.assign({},A),h)}(y,g,f,D,y.children,A));return h._sourceSegment=y,h._segmentIndexShift=g.length,{segmentGroup:h,slicedSegments:f}}const k=new W(y.segments,y.children);return k._sourceSegment=y,k._segmentIndexShift=g.length,{segmentGroup:k,slicedSegments:f}}function mn(y,g,f){return(!(y.hasChildren()||g.length>0)||"full"!==f.pathMatch)&&""===f.path}function Zt(y,g,f,D){return!!(x(y)===D||D!==Qe&&mn(g,f,y))&&("**"===y.path||ne(g,y,f).matched)}function ln(y,g,f){return 0===g.length&&!y.children[f]}class cn{constructor(g){this.segmentGroup=g||null}}class Zn{constructor(g){this.urlTree=g}}function zr(y){return new Y.y(g=>g.error(new cn(y)))}function pr(y){return new Y.y(g=>g.error(new Zn(y)))}function pi(y){return new Y.y(g=>g.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${y}'`)))}class b{constructor(g,f,D,A,k){this.configLoader=f,this.urlSerializer=D,this.urlTree=A,this.config=k,this.allowRedirects=!0,this.ngModule=g.get(i.h0i)}apply(){const g=Ge(this.urlTree.root,[],[],this.config).segmentGroup,f=new W(g.segments,g.children);return this.expandSegmentGroup(this.ngModule,this.config,f,Qe).pipe((0,ae.U)(k=>this.createUrlTree(j(k),this.urlTree.queryParams,this.urlTree.fragment))).pipe(B(k=>{if(k instanceof Zn)return this.allowRedirects=!1,this.match(k.urlTree);throw k instanceof cn?this.noMatchError(k):k}))}match(g){return this.expandSegmentGroup(this.ngModule,this.config,g.root,Qe).pipe((0,ae.U)(A=>this.createUrlTree(j(A),g.queryParams,g.fragment))).pipe(B(A=>{throw A instanceof cn?this.noMatchError(A):A}))}noMatchError(g){return new Error(`Cannot match any routes. URL Segment: '${g.segmentGroup}'`)}createUrlTree(g,f,D){const A=g.segments.length>0?new W([],{[Qe]:g}):g;return new ce(A,f,D)}expandSegmentGroup(g,f,D,A){return 0===D.segments.length&&D.hasChildren()?this.expandChildren(g,f,D).pipe((0,ae.U)(k=>new W([],k))):this.expandSegment(g,D,f,D.segments,A,!0)}expandChildren(g,f,D){const A=[];for(const k of Object.keys(D.children))"primary"===k?A.unshift(k):A.push(k);return(0,ge.D)(A).pipe((0,ke.b)(k=>{const h=D.children[k],s=T(f,k);return this.expandSegmentGroup(g,s,h,k).pipe((0,ae.U)(l=>({segment:l,outlet:k})))}),Ne((k,h)=>(k[h.outlet]=h.segment,k),{}),function Je(y,g){const f=arguments.length>=2;return D=>D.pipe(y?(0,L.h)((A,k)=>y(A,k,D)):te.y,$(1),f?Ce(g):K(()=>new Te))}())}expandSegment(g,f,D,A,k,h){return(0,ge.D)(D).pipe((0,ke.b)(s=>this.expandSegmentAgainstRoute(g,f,D,s,A,k,h).pipe(B(p=>{if(p instanceof cn)return(0,Q.of)(null);throw p}))),me(s=>!!s),B((s,l)=>{if(s instanceof Te||"EmptyError"===s.name){if(ln(f,A,k))return(0,Q.of)(new W([],{}));throw new cn(f)}throw s}))}expandSegmentAgainstRoute(g,f,D,A,k,h,s){return Zt(A,f,k,h)?void 0===A.redirectTo?this.matchSegmentAgainstRoute(g,f,A,k,h):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,f,D,A,k,h):zr(f):zr(f)}expandSegmentAgainstRouteUsingRedirect(g,f,D,A,k,h){return"**"===A.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,D,A,h):this.expandRegularSegmentAgainstRouteUsingRedirect(g,f,D,A,k,h)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,f,D,A){const k=this.applyRedirectCommands([],D.redirectTo,{});return D.redirectTo.startsWith("/")?pr(k):this.lineralizeSegments(D,k).pipe((0,ze.z)(h=>{const s=new W(h,{});return this.expandSegment(g,s,f,h,A,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,f,D,A,k,h){const{matched:s,consumedSegments:l,lastChild:p,positionalParamSegments:I}=ne(f,A,k);if(!s)return zr(f);const P=this.applyRedirectCommands(l,A.redirectTo,I);return A.redirectTo.startsWith("/")?pr(P):this.lineralizeSegments(A,P).pipe((0,ze.z)(z=>this.expandSegment(g,f,D,z.concat(k.slice(p)),h,!1)))}matchSegmentAgainstRoute(g,f,D,A,k){if("**"===D.path)return D.loadChildren?(D._loadedConfig?(0,Q.of)(D._loadedConfig):this.configLoader.load(g.injector,D)).pipe((0,ae.U)(z=>(D._loadedConfig=z,new W(A,{})))):(0,Q.of)(new W(A,{}));const{matched:h,consumedSegments:s,lastChild:l}=ne(f,D,A);
1if(!h)return zr(f);const p=A.slice(l);return this.getChildConfig(g,D,A).pipe((0,ze.z)(P=>{const z=P.module,Z=P.routes,{segmentGroup:Se,slicedSegments:Ye}=Ge(f,s,p,Z),at=new W(Se.segments,Se.children);if(0===Ye.length&&at.hasChildren())return this.expandChildren(z,Z,at).pipe((0,ae.U)(It=>new W(s,It)));if(0===Z.length&&0===Ye.length)return(0,Q.of)(new W(s,{}));const Ct=x(D)===k;return this.expandSegment(z,at,Z,Ye,Ct?Qe:k,!0).pipe((0,ae.U)(Yt=>new W(s.concat(Yt.segments),Yt.children)))}))}getChildConfig(g,f,D){return f.children?(0,Q.of)(new Ir(f.children,g)):f.loadChildren?void 0!==f._loadedConfig?(0,Q.of)(f._loadedConfig):this.runCanLoadGuards(g.injector,f,D).pipe((0,ze.z)(A=>A?this.configLoader.load(g.injector,f).pipe((0,ae.U)(k=>(f._loadedConfig=k,k))):function Gr(y){return new Y.y(g=>g.error(rn(`Cannot load children because the guard of the route "path: '${y.path}'" returned false`)))}(f))):(0,Q.of)(new Ir([],g))}runCanLoadGuards(g,f,D){const A=f.canLoad;if(!A||0===A.length)return(0,Q.of)(!0);const k=A.map(h=>{const s=g.get(h);let l;if(function Rr(y){return y&&tr(y.canLoad)}(s))l=s.canLoad(f,D);else{if(!tr(s))throw new Error("Invalid CanLoad guard");l=s(f,D)}return xt(l)}
1);return(0,Q.of)(k).pipe(Cr(),(0,ot.b)(h=>{if(!nr(h))return;const s=rn(`Redirecting to "${this.urlSerializer.serialize(h)}"`);throw s.url=h,s}),(0,ae.U)(h=>!0===h))}lineralizeSegments(g,f){let D=[],A=f.root;for(;;){if(D=D.concat(A.segments),0===A.numberOfChildren)return(0,Q.of)(D);if(A.numberOfChildren>1||!A.children[Qe])return pi(g.redirectTo);A=A.children[Qe]}}applyRedirectCommands(g,f,D){return this.applyRedirectCreatreUrlTree(f,this.urlSerializer.parse(f),g,D)}applyRedirectCreatreUrlTree(g,f,D,A){const k=this.createSegmentGroup(g,f.root,D,A);return new ce(k,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(g,f){const D={};return Qt(g,(A,k)=>{if("string"==typeof A&&A.startsWith(":")){const s=A.substring(1);D[k]=f[s]}else D[k]=A}),D}createSegmentGroup(g,f,D,A){const k=this.createSegments(g,f.segments,D,A);let h={};return Qt(f.children,(s,l)=>{h[l]=this.createSegmentGroup(g,s,D,A)}),new W(k,h)}createSegments(g,f,D,A){return f.map(k=>k.path.startsWith(":")?this.findPosParam(g,k,A):this.findOrReturn(k,D))}findPosParam(g,f,D){const A=D[f.path.substring(1)];if(!A)throw new Error(`Cannot redirect to '${g}'. Cannot find '${f.path}'.`);return A}findOrReturn(g,f){let D=0;for(const A of f){if(A.path===g.path)return f.splice(D),A;D++}return g}}function j(y){const g={};for(const D of Object.keys(y.children)){const k=j(y.children[D]);(k.segments.length>0||k.hasChildren())&&(g[D]=k)}return function _(y){if(1===y.numberOfChildren&&y.children[Qe]){const g=y.children[Qe];return new W(y.segments.concat(g.segments),g.children)}return y}(new W(y.segments,g))}class E{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class u{constructor(g,f){this.component=g,this.route=f}}function C(y,g,f){const D=y._root;return pt(D,g?g._root:null,f,[D.value])}function De(y,g,f){const D=function gt(y){if(!y)return null;for(let g=y.parent;g;g=g.parent){const f=g.routeConfig;if(f&&f._loadedConfig)return f._loadedConfig}return null}(g);return(D?D.module.injector:f).get(y)}function pt(y,g,f,D,A={canDeactivateChecks:[],canActivateChecks:[]}){const k=or(g);return y.children.forEach(h=>{(function Wt(y,g,f,D,A={canDeactivateChecks:[],canActivateChecks:[]}){const k=y.value,h=g?g.value:null,s=f?f.getContext(y.value.outlet):null;if(h&&k.routeConfig===h.routeConfig){const l=function un(y,g,f){if("function"==typeof f)return f(y,g);switch(f){case"pathParamsChange":return!St(y.url,g.url);case"pathParamsOrQueryParamsChange":return!St(y.url,g.url)||!Pt(y.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Tt(y,g)||!Pt(y.queryParams,g.queryParams);default:return!Tt(y,g)}}
1(h,k,k.routeConfig.runGuardsAndResolvers);l?A.canActivateChecks.push(new E(D)):(k.data=h.data,k._resolvedData=h._resolvedData),pt(y,g,k.component?s?s.children:null:f,D,A),l&&s&&s.outlet&&s.outlet.isActivated&&A.canDeactivateChecks.push(new u(s.outlet.component,h))}else h&&dn(g,s,A),A.canActivateChecks.push(new E(D)),pt(y,null,k.component?s?s.children:null:f,D,A)})(h,k[h.value.outlet],f,D.concat([h.value]),A),delete k[h.value.outlet]}),Qt(k,(h,s)=>dn(h,f.getContext(s),A)),A}function dn(y,g,f){const D=or(y),A=y.value;Qt(D,(k,h)=>{dn(k,A.component?g?g.children.getContext(h):null:g,f)}),f.canDeactivateChecks.push(new u(A.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,A))}class Zo{}function Li(y){return new Y.y(g=>g.error(y))}class Ys{constructor(g,f,D,A,k,h){this.rootComponentType=g,this.config=f,this.urlTree=D,this.url=A,this.paramsInheritanceStrategy=k,this.relativeLinkResolution=h}recognize(){const g=Ge(this.urlTree.root,[],[],this.config.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution).segmentGroup,f=this.processSegmentGroup(this.config,g,Qe);if(null===f)return null;const D=new de([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Qe,this.rootComponentType,null,this.urlTree.root,-1,{}),A=new Un(D,f),k=new qe(this.url,A);return this.inheritParamsAndData(k._root),k}inheritParamsAndData(g){const f=g.value,D=U(f,this.paramsInheritanceStrategy);f.params=Object.freeze(D.params),f.data=Object.freeze(D.data),g.children.forEach(A=>this.inheritParamsAndData(A))}processSegmentGroup(g,f,D){return 0===f.segments.length&&f.hasChildren()?this.processChildren(g,f):this.processSegment(g,f,f.segments,D)}processChildren(g,f){const D=[];for(const k of Object.keys(f.children)){const h=f.children[k],s=T(g,k),l=this.processSegmentGroup(s,h,k);if(null===l)return null;D.push(...l)}const A=Co(D);return function Jo(y){y.sort((g,f)=>g.value.outlet===Qe?-1:f.value.outlet===Qe?1:g.value.outlet.localeCompare(f.value.outlet))}(A),A}processSegment(g,f,D,A){for(const k of g){const h=this.processSegmentAgainstRoute(k,f,D,A);if(null!==h)return h}return ln(f,D,A)?[]:null}processSegmentAgainstRoute(g,f,D,A){if(g.redirectTo||!Zt(g,f,D,A))return null;let k,h=[],s=[];if("**"===g.path){const Z=D.length>0?Xt(D).parameters:{};k=new de(D,Z,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ts(g),x(g),g.component,g,bo(f),Ai(f)+D.length,lo(g))}else{const Z=ne(f,g,D);if(!Z.matched)return null;h=Z.consumedSegments,s=D.slice(Z.lastChild),k=new de(h,Z.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ts(g),x(g),g.component,g,bo(f),Ai(f)+h.length,lo(g))}const l=function Ws(y){return y.children?y.children:y.loadChildren?y._loadedConfig.routes:[]}(g),{segmentGroup:p,slicedSegments:I}=Ge(f,h,s,l.filter(Z=>void 0===Z.redirectTo),this.relativeLinkResolution);if(0===I.length&&p.hasChildren()){const Z=this.processChildren(l,p);return null===Z?null:[new Un(k,Z)]}if(0===l.length&&0===I.length)return[new Un(k,[])];const P=x(g)===A,z=this.processSegment(l,p,I,P?Qe:A);return null===z?null:[new Un(k,z)]}}function Eo(y){const g=y.value.routeConfig;return g&&""===g.path&&void 0===g.redirectTo}function Co(y){const g=[],f=new Set;for(const D of y){if(!Eo(D)){g.push(D);continue}const A=g.find(k=>D.value.routeConfig===k.value.routeConfig);void 0!==A?(A.children.push(...D.children),f.add(A)):g.push(D)}for(const D of f){const A=Co(D.children);g.push(new Un(D.value,A))}return g.filter(D=>!f.has(D))}function bo(y){let g=y;for(;g._sourceSegment;)g=g._sourceSegment;return g}function Ai(y){let g=y,f=g._segmentIndexShift?g._segmentIndexShift:0;for(;g._sourceSegment;)g=g._sourceSegment,f+=g._segmentIndexShift?g._segmentIndexShift:0;return f-1}function ts(y){return y.data||{}}function lo(y){return y.resolve||{}}function Wi(y){return(0,ve.w)(g=>{const f=y(g);return f?(0,ge.D)(f).pipe((0,ae.U)(()=>g)):(0,Q.of)(g)})}class Lo{}class Mr extends class Bo{shouldDetach(g){return!1}store(g,f){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,f){return g.routeConfig===f.routeConfig}}{}const ni=new i.OlP("ROUTES");class Gn{constructor(g,f,D,A){this.injector=g,this.compiler=f,this.onLoadStartListener=D,this.onLoadEndListener=A}load(g,f){if(f._loader$)return f._loader$;this.onLoadStartListener&&this.onLoadStartListener(f);const A=this.loadModuleFactory(f.loadChildren).pipe((0,ae.U)(k=>{this.onLoadEndListener&&this.onLoadEndListener(f);const h=k.create(g);return new Ir(Kt(h.injector.get(ni,void 0,i.XFs.Self|i.XFs.Optional)).map(S),h)}),B(k=>{throw f._loader$=void 0,k}));
1return f._loader$=new Ue.c(A,()=>new we.x).pipe((0,st.x)()),f._loader$}loadModuleFactory(g){return xt(g()).pipe((0,ze.z)(f=>f instanceof i.YKP?(0,Q.of)(f):(0,ge.D)(this.compiler.compileModuleAsync(f))))}}class $o{shouldProcessUrl(g){return!0}extract(g){return g}merge(g,f){return g}}function os(y){throw y}function Mi(y,g,f){return g.parse("/")}function Ks(y,g){return(0,Q.of)(null)}const ss={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ri={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let rr=(()=>{class y{constructor(f,D,A,k,h,s,l){this.rootComponentType=f,this.urlSerializer=D,this.rootContexts=A,this.location=k,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new we.x,this.errorHandler=os,this.malformedUriErrorHandler=Mi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ks,afterPreactivation:Ks},this.urlHandlingStrategy=new $o,this.routeReuseStrategy=new Mr,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=h.get(i.h0i),this.console=h.get(i.c2e);const P=h.get(i.R0b);this.isNgZoneEnabled=P instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function Yn(){return new ce(new W([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Gn(h,s,z=>this.triggerEvent(new fn(z)),z=>this.triggerEvent(new it(z))),this.routerState=H(this.currentUrlTree,this.rootComponentType),this.transitions=new ie.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var f;return null===(f=this.location.getState())||void 0===f?void 0:f.\u0275routerPageId}setupNavigations(f){const D=this.events;return f.pipe((0,L.h)(A=>0!==A.id),(0,ae.U)(A=>Object.assign(Object.assign({},A),{extractedUrl:this.urlHandlingStrategy.extract(A.rawUrl)})),(0,ve.w)(A=>{let k=!1,h=!1;return(0,Q.of)(A).pipe((0,ot.b)(s=>{this.currentNavigation={id:s.id,initialUrl:s.currentRawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,ve.w)(s=>{const l=this.browserUrlTree.toString(),p=!this.navigated||s.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||p)&&this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Ki(s.source)&&(this.browserUrlTree=s.extractedUrl),(0,Q.of)(s).pipe((0,ve.w)(P=>{const z=this.transitions.getValue();return D.next(new Jt(P.id,this.serializeUrl(P.extractedUrl),P.source,P.restoredState)),z!==this.transitions.getValue()?Re.E:Promise.resolve(P)}),function c(y,g,f,D){return(0,ve.w)(A=>function w(y,g,f,D,A){return new b(y,g,f,D,A).apply()}(y,g,f,A.extractedUrl,D).pipe((0,ae.U)(k=>Object.assign(Object.assign({},A),{urlAfterRedirects:k}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ot.b)(P=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:P.urlAfterRedirects})}),function wo(y,g,f,D,A){return(0,ze.z)(k=>function Ii(y,g,f,D,A="emptyOnly",k="legacy"){try{const h=new Ys(y,g,f,D,A,k).recognize();return null===h?Li(new Zo):(0,Q.of)(h)}catch(h){return Li(h)}}(y,g,k.urlAfterRedirects,f(k.urlAfterRedirects),D,A).pipe((0,ae.U)(h=>Object.assign(Object.assign({},k),{targetSnapshot:h}))))}(this.rootComponentType,this.config,P=>this.serializeUrl(P),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ot.b)(P=>{if("eager"===this.urlUpdateStrategy){if(!P.extras.skipLocationChange){const Z=this.urlHandlingStrategy.merge(P.urlAfterRedirects,P.rawUrl);this.setBrowserUrl(Z,P)}this.browserUrlTree=P.urlAfterRedirects}const z=new $n(P.id,this.serializeUrl(P.extractedUrl),this.serializeUrl(P.urlAfterRedirects),P.targetSnapshot);D.next(z)}));if(p&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:z,extractedUrl:Z,source:Se,restoredState:Ye,extras:at}=s,Ct=new Jt(z,this.serializeUrl(Z),Se,Ye);D.next(Ct);
1const zt=H(Z,this.rootComponentType).snapshot;return(0,Q.of)(Object.assign(Object.assign({},s),{targetSnapshot:zt,urlAfterRedirects:Z,extras:Object.assign(Object.assign({},at),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=s.rawUrl,s.resolve(null),Re.E}),Wi(s=>{const{targetSnapshot:l,id:p,extractedUrl:I,rawUrl:P,extras:{skipLocationChange:z,replaceUrl:Z}}=s;return this.hooks.beforePreactivation(l,{navigationId:p,appliedUrlTree:I,rawUrlTree:P,skipLocationChange:!!z,replaceUrl:!!Z})}),(0,ot.b)(s=>{const l=new Vn(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.triggerEvent(l)}),(0,ae.U)(s=>Object.assign(Object.assign({},s),{guards:C(s.targetSnapshot,s.currentSnapshot,this.rootContexts)})),function Ln(y,g){return(0,ze.z)(f=>{const{targetSnapshot:D,currentSnapshot:A,guards:{canActivateChecks:k,canDeactivateChecks:h}}=f;return 0===h.length&&0===k.length?(0,Q.of)(Object.assign(Object.assign({},f),{guardsResult:!0})):function gr(y,g,f,D){return(0,ge.D)(y).pipe((0,ze.z)(A=>function gi(y,g,f,D,A){const k=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,Q.of)(!0);const h=k.map(s=>{const l=De(s,g,A);let p;if(function Ur(y){return y&&tr(y.canDeactivate)}(l))p=xt(l.canDeactivate(y,g,f,D));else{if(!tr(l))throw new Error("Invalid CanDeactivate guard");p=xt(l(y,g,f,D))}return p.pipe(me())});return(0,Q.of)(h).pipe(Cr())}(A.component,A.route,f,g,D)),me(A=>!0!==A,!0))}(h,D,A,y).pipe((0,ze.z)(s=>s&&function Ni(y){return"boolean"==typeof y}(s)?function ki(y,g,f,D){return(0,ge.D)(g).pipe((0,ke.b)(A=>(0,Ie.z)(function ti(y,g){return null!==y&&g&&g(new xe(y)),(0,Q.of)(!0)}(A.route.parent,D),function Yr(y,g){return null!==y&&g&&g(new he(y)),(0,Q.of)(!0)}(A.route,D),function wr(y,g,f){const D=g[g.length-1],k=g.slice(0,g.length-1).reverse().map(h=>function O(y){const g=y.routeConfig?y.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:y,guards:g}:null}(h)).filter(h=>null!==h).map(h=>(0,Ke.P)(()=>{const s=h.guards.map(l=>{const p=De(l,h.node,f);let I;if(function ui(y){return y&&tr(y.canActivateChild)}(p))I=xt(p.canActivateChild(D,y));else{if(!tr(p))throw new Error("Invalid CanActivateChild guard");I=xt(p(D,y))}return I.pipe(me())});return(0,Q.of)(s).pipe(Cr())}));return(0,Q.of)(k).pipe(Cr())}(y,A.path,f),function Wr(y,g,f){const D=g.routeConfig?g.routeConfig.canActivate:null;if(!D||0===D.length)return(0,Q.of)(!0);const A=D.map(k=>(0,Ke.P)(()=>{const h=De(k,g,f);let s;if(function Si(y){return y&&tr(y.canActivate)}(h))s=xt(h.canActivate(g,y));else{if(!tr(h))throw new Error("Invalid CanActivate guard");s=xt(h(g,y))}return s.pipe(me())}));return(0,Q.of)(A).pipe(Cr())}(y,A.route,f))),me(A=>!0!==A,!0))}(D,k,y,g):(0,Q.of)(s)),(0,ae.U)(s=>Object.assign(Object.assign({},f),{guardsResult:s})))})}(this.ngModule.injector,s=>this.triggerEvent(s)),(0,ot.b)(s=>{if(nr(s.guardsResult)){const p=rn(`Redirecting to "${this.serializeUrl(s.guardsResult)}"`);throw p.url=s.guardsResult,p}const l=new cr(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.triggerEvent(l)}),(0,L.h)(s=>!!s.guardsResult||(this.restoreHistory(s),this.cancelNavigationTransition(s,""),!1)),Wi(s=>{if(s.guards.canActivateChecks.length)return(0,Q.of)(s).pipe((0,ot.b)(l=>{const p=new Jn(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(p)}),(0,ve.w)(l=>{let p=!1;return(0,Q.of)(l).pipe(function co(y,g){return(0,ze.z)(f=>{const{targetSnapshot:D,guards:{canActivateChecks:A}}=f;if(!A.length)return(0,Q.of)(f);let k=0;return(0,ge.D)(A).pipe((0,ke.b)(h=>function ns(y,g,f,D){return function rs(y,g,f,D){const A=Object.keys(y);if(0===A.length)return(0,Q.of)({});const k={};return(0,ge.D)(A).pipe((0,ze.z)(h=>function ko(y,g,f,D){const A=De(y,g,D);return xt(A.resolve?A.resolve(g,f):A(g,f))}(y[h],g,f,D).pipe((0,ot.b)(s=>{k[h]=s}))),$(1),(0,ze.z)(()=>Object.keys(k).length===A.length?(0,Q.of)(k):Re.E))}(y._resolve,y,g,D).pipe((0,ae.U)(k=>(y._resolvedData=k,y.data=Object.assign(Object.assign({},y.data),U(y,f).resolve),null)))}(h.route,D,y,g)),(0,ot.b)(()=>k++),$(1),(0,ze.z)(h=>k===A.length?(0,Q.of)(f):Re.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ot.b)({next:()=>p=!0,complete:()=>{p||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),(0,ot.b)(l=>{const p=new Dt(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(p)}))}),Wi(s=>{const{targetSnapshot:l,id:p,extractedUrl:I,rawUrl:P,extras:{skipLocationChange:z,replaceUrl:Z}}=s;return this.hooks.afterPreactivation(l,{navigationId:p,appliedUrlTree:I,rawUrlTree:P,skipLocationChange:!!z,replaceUrl:!!Z})}),(0,ae.U)(s=>{const l=function Bt(y,g,f){const D=Ht(y,g._root,f?f._root:void 0);return new N(D,g)}(this.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return Object.assign(Object.assign({},s),{targetRouterState:l})}),(0,ot.b)(s=>{this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects)}),((y,g,f)=>(0,ae.U)(D=>(new ci(g,D.targetRouterState,D.currentRouterState,f).activate(y),D)))(this.rootContexts,this.routeReuseStrategy,s=>this.triggerEvent(s)),(0,ot.b)({next(){k=!0},complete(){k=!0}}),function Ee(y){return(0,He.e)((g,f)=>{try{g.subscribe(f)}finally{f.add(y)}})}(()=>{var s;k||h||this.cancelNavigationTransition(A,`Navigation ID ${A.id} is not equal to the current navigation id ${this.navigationId}`),(null===(s=this.currentNavigation)||void 0===s?void 0:s.id)===A.id&&
1(this.currentNavigation=null)}),B(s=>{if(h=!0,function jt(y){return y&&y[At]}(s)){const l=nr(s.url);l||(this.navigated=!0,this.restoreHistory(A,!0));const p=new nn(A.id,this.serializeUrl(A.extractedUrl),s.message);D.next(p),l?setTimeout(()=>{const I=this.urlHandlingStrategy.merge(s.url,this.rawUrlTree),P={skipLocationChange:A.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ki(A.source)};this.scheduleNavigation(I,"imperative",null,P,{resolve:A.resolve,reject:A.reject,promise:A.promise})},0):A.resolve(!1)}else{this.restoreHistory(A,!0);const l=new Pn(A.id,this.serializeUrl(A.extractedUrl),s);D.next(l);try{A.resolve(this.errorHandler(s))}catch(p){A.reject(p)}}return Re.E}))}))}resetRootComponentType(f){this.rootComponentType=f,this.routerState.root.component=this.rootComponentType}setTransition(f){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),f))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const D="popstate"===f.type?"popstate":"hashchange";"popstate"===D&&setTimeout(()=>{var A;const k={replaceUrl:!0},h=(null===(A=f.state)||void 0===A?void 0:A.navigationId)?f.state:null;if(h){const l=Object.assign({},h);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(k.state=l)}const s=this.parseUrl(f.url);this.scheduleNavigation(s,D,h,k)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(f){this.events.next(f)}resetConfig(f){ei(f),this.config=f.map(S),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(f,D={}){const{relativeTo:A,queryParams:k,fragment:h,queryParamsHandling:s,preserveFragment:l}=D,p=A||this.routerState.root,I=l?this.currentUrlTree.fragment:h;let P=null;switch(s){case"merge":P=Object.assign(Object.assign({},this.currentUrlTree.queryParams),k);break;case"preserve":P=this.currentUrlTree.queryParams;break;default:P=k||null}return null!==P&&(P=this.removeEmptyProps(P)),function Er(y,g,f,D,A){if(0===f.length)return xr(g.root,g.root,g,D,A);const k=function vr(y){if("string"==typeof y[0]&&1===y.length&&"/"===y[0])return new Ri(!0,0,y);let g=0,f=!1;const D=y.reduce((A,k,h)=>{if("object"==typeof k&&null!=k){if(k.outlets){const s={};return Qt(k.outlets,(l,p)=>{s[p]="string"==typeof l?l.split("/"):l}),[...A,{outlets:s}]}if(k.segmentPath)return[...A,k.segmentPath]}return"string"!=typeof k?[...A,k]:0===h?(k.split("/").forEach((s,l)=>{0==l&&"."===s||(0==l&&""===s?f=!0:".."===s?g++:""!=s&&A.push(s))}),A):[...A,k]},[]);return new Ri(f,g,D)}(f);if(k.toRoot())return xr(g.root,new W([],{}),g,D,A);const h=function Qr(y,g,f){if(y.isAbsolute)return new Xr(g.root,!0,0);if(-1===f.snapshot._lastPathIndex){const k=f.snapshot._urlSegment;return new Xr(k,k===g.root,0)}const D=Fr(y.commands[0])?0:1;return function mi(y,g,f){let D=y,A=g,k=f;for(;k>A;){if(k-=A,D=D.parent,!D)throw new Error("Invalid number of '../'");A=D.segments.length}return new Xr(D,!1,A-k)}(f.snapshot._urlSegment,f.snapshot._lastPathIndex+D,y.numberOfDoubleDots)}(k,g,y),s=h.processChildren?Jr(h.segmentGroup,h.index,k.commands):Zr(h.segmentGroup,h.index,k.commands);return xr(h.segmentGroup,s,g,D,A)}(p,this.currentUrlTree,f,P,null!=I?I:null)}navigateByUrl(f,D={skipLocationChange:!1}){const A=nr(f)?f:this.parseUrl(f),k=this.urlHandlingStrategy.merge(A,this.rawUrlTree);return this.scheduleNavigation(k,"imperative",null,D)}navigate(f,D={skipLocationChange:!1}){return function Bi(y){for(let g=0;g<y.length;g++){const f=y[g];if(null==f)throw new Error(`The requested path contains ${f} segment at index ${g}`)}}(f),this.navigateByUrl(this.createUrlTree(f,D),D)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let D;try{D=this.urlSerializer.parse(f)}catch(A){D=this.malformedUriErrorHandler(A,this.urlSerializer,f)}return D}isActive(f,D){let A;if(A=!0===D?Object.assign({},ss):!1===D?Object.assign({},ri):D,nr(f))return xn(this.currentUrlTree,f,A);const k=this.parseUrl(f);return xn(this.currentUrlTree,k,A)}removeEmptyProps(f){return Object.keys(f).reduce((D,A)=>{const k=f[A];return null!=k&&(D[A]=k),D},{})}processNavigations(){this.navigations.subscribe(f=>{this.navigated=!0,this.lastSuccessfulId=f.id,this.currentPageId=f.targetPageId,this.events.next(new Ot(f.id,this.serializeUrl(f.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,f.resolve(!0)},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)})}scheduleNavigation(f,D,A,k,h){var s,l,p;if(this.disposed)return Promise.resolve(!1);const I=this.transitions.value,P=Ki(D)&&I&&!Ki(I.source),z=I.rawUrl.toString()===f.toString(),Z=I.id===(null===(s=this.currentNavigation)||void 0===s?void 0:s.id);if(P&&z&&Z)return Promise.resolve(!0);let Ye,at,Ct;h?(Ye=h.resolve,at=h.reject,Ct=h.promise):Ct=new Promise((It,kt)=>{Ye=It,at=kt});
1const zt=++this.navigationId;let Yt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(A=this.location.getState()),Yt=A&&A.\u0275routerPageId?A.\u0275routerPageId:k.replaceUrl||k.skipLocationChange?null!==(l=this.browserPageId)&&void 0!==l?l:0:(null!==(p=this.browserPageId)&&void 0!==p?p:0)+1):Yt=0,this.setTransition({id:zt,targetPageId:Yt,source:D,restoredState:A,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:f,extras:k,resolve:Ye,reject:at,promise:Ct,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ct.catch(It=>Promise.reject(It))}setBrowserUrl(f,D){const A=this.urlSerializer.serialize(f),k=Object.assign(Object.assign({},D.extras.state),this.generateNgRouterState(D.id,D.targetPageId));this.location.isCurrentPathEqualTo(A)||D.extras.replaceUrl?this.location.replaceState(A,"",k):this.location.go(A,"",k)}restoreHistory(f,D=!1){var A,k;if("computed"===this.canceledNavigationResolution){const h=this.currentPageId-f.targetPageId;"popstate"!==f.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(A=this.currentNavigation)||void 0===A?void 0:A.finalUrl)||0===h?this.currentUrlTree===(null===(k=this.currentNavigation)||void 0===k?void 0:k.finalUrl)&&0===h&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(h)}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(f,D){const A=new nn(f.id,this.serializeUrl(f.extractedUrl),D);this.triggerEvent(A),f.resolve(!1)}generateNgRouterState(f,D){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:D}:{navigationId:f}}}return y.\u0275fac=function(f){i.$Z()},y.\u0275prov=i.Yz7({token:y,factory:y.\u0275fac}),y})();function Ki(y){return"imperative"!==y}let uo=(()=>{class y{constructor(f,D,A,k,h){this.router=f,this.route=D,this.tabIndexAttribute=A,this.renderer=k,this.el=h,this.commands=null,this.onChanges=new we.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(f){if(null!=this.tabIndexAttribute)return;const D=this.renderer,A=this.el.nativeElement;null!==f?D.setAttribute(A,"tabindex",f):D.removeAttribute(A,"tabindex")}ngOnChanges(f){this.onChanges.next(this)}set routerLink(f){null!=f?(this.commands=Array.isArray(f)?f:[f],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const f={skipLocationChange:Br(this.skipLocationChange),replaceUrl:Br(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,f),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Br(this.preserveFragment)})}}return y.\u0275fac=function(f){return new(f||y)(i.Y36(rr),i.Y36(ye),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},y.\u0275dir=i.lG2({type:y,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(f,D){1&f&&i.NdJ("click",function(){return D.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),y})();function Br(y){return""===y||!!y}class ls{}class ii{preload(g,f){return(0,Q.of)(null)}}let cs=(()=>{class y{constructor(f,D,A,k){this.router=f,this.injector=A,this.preloadingStrategy=k,this.loader=new Gn(A,D,l=>f.triggerEvent(new fn(l)),l=>f.triggerEvent(new it(l)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,L.h)(f=>f instanceof Ot),(0,ke.b)(()=>this.preload())).subscribe(()=>{})}preload(){const f=this.injector.get(i.h0i);return this.processRoutes(f,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,D){const A=[];for(const k of D)if(k.loadChildren&&!k.canLoad&&k._loadedConfig){const h=k._loadedConfig;A.push(this.processRoutes(h.module,h.routes))}else k.loadChildren&&!k.canLoad?A.push(this.preloadConfig(f,k)):k.children&&A.push(this.processRoutes(f,k.children));return(0,ge.D)(A).pipe((0,_t.J)(),(0,ae.U)(k=>{}))}preloadConfig(f,D){return this.preloadingStrategy.preload(D,()=>(D._loadedConfig?(0,Q.of)(D._loadedConfig):this.loader.load(f.injector,D)).pipe((0,ze.z)(k=>(D._loadedConfig=k,this.processRoutes(k.module,k.routes)))))}}return y.\u0275fac=function(f){return new(f||y)(i.LFG(rr),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(ls))},y.\u0275prov=i.Yz7({token:y,factory:y.\u0275fac}),y})(),Vo=(()=>{class y{constructor(f,D,A={}){this.router=f,this.viewportScroller=D,this.options=A,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},A.scrollPositionRestoration=A.scrollPositionRestoration||"disabled",A.anchorScrolling=A.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(f=>{f instanceof Jt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Ot&&(this.lastId=f.id,this.scheduleScrollEvent(f,this.router.parseUrl(f.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(f=>{f instanceof tt&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,D){this.router.triggerEvent(new tt(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return y.\u0275fac=function(f){i.$Z()},y.\u0275prov=i.Yz7({token:y,factory:y.\u0275fac}),y})();const qi=new i.OlP("ROUTER_CONFIGURATION"),po=new i.OlP("ROUTER_FORROOT_GUARD"),jo=[Vt.Ye,{provide:vn,useClass:en},{provide:rr,useFactory:function Fi(y,g,f,D,A,k,h={},s,l){const p=new rr(null,y,g,f,D,A,Kt(k));return s&&(p.urlHandlingStrategy=s),l&&(p.routeReuseStrategy=l),function To(y,g){y.errorHandler&&(g.errorHandler=y.errorHandler),y.malformedUriErrorHandler&&(g.malformedUriErrorHandler=y.malformedUriErrorHandler),y.onSameUrlNavigation&&(g.onSameUrlNavigation=y.onSameUrlNavigation),y.paramsInheritanceStrategy&&(g.paramsInheritanceStrategy=y.paramsInheritanceStrategy),y.relativeLinkResolution&&(g.relativeLinkResolution=y.relativeLinkResolution),y.urlUpdateStrategy&&(g.urlUpdateStrategy=y.urlUpdateStrategy),y.canceledNavigationResolution&&(g.canceledNavigationResolution=y.canceledNavigationResolution)}(h,p),h.enableTracing&&p.events.subscribe(I=>{var P,z;null===(P=console.group)||void 0===P||P.call(console,`Router Event: ${I.constructor.name}`),console.log(I.toString()),console.log(I),null===(z=console.groupEnd)||void 0===z||z.call(console)}
1),p},deps:[vn,Ar,Vt.Ye,i.zs3,i.Sil,ni,qi,[class is{},new i.FiY],[Lo,new i.FiY]]},Ar,{provide:ye,useFactory:function Io(y){return y.routerState.root},deps:[rr]},cs,ii,class ho{preload(g,f){return f().pipe(B(()=>(0,Q.of)(null)))}},{provide:qi,useValue:{enableTracing:!1}}];function Ho(){return new i.PXZ("Router",rr)}let Oi=(()=>{class y{constructor(f,D){}static forRoot(f,D){return{ngModule:y,providers:[jo,Uo(f),{provide:po,useFactory:Xi,deps:[[rr,new i.FiY,new i.tp0]]},{provide:qi,useValue:D||{}},{provide:Vt.S$,useFactory:go,deps:[Vt.lw,[new i.tBr(Vt.mr),new i.FiY],qi]},{provide:Vo,useFactory:us,deps:[rr,Vt.EM,qi]},{provide:ls,useExisting:D&&D.preloadingStrategy?D.preloadingStrategy:ii},{provide:i.PXZ,multi:!0,useFactory:Ho},[zo,{provide:i.ip1,multi:!0,useFactory:Go,deps:[zo]},{provide:fs,useFactory:ds,deps:[zo]},{provide:i.tb,multi:!0,useExisting:fs}]]}}static forChild(f){return{ngModule:y,providers:[Uo(f)]}}}return y.\u0275fac=function(f){return new(f||y)(i.LFG(po,8),i.LFG(rr,8))},y.\u0275mod=i.oAB({type:y}),y.\u0275inj=i.cJS({}),y})();function us(y,g,f){return f.scrollOffset&&g.setOffset(f.scrollOffset),new Vo(y,g,f)}function go(y,g,f={}){return f.useHash?new Vt.Do(y,g):new Vt.b0(y,g)}function Xi(y){return"guarded"}function Uo(y){return[{provide:i.deG,multi:!0,useValue:y},{provide:ni,multi:!0,useValue:y}]}let zo=(()=>{class y{constructor(f){this.injector=f,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new we.x}appInitializer(){return this.injector.get(Vt.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let D=null;const A=new Promise(s=>D=s),k=this.injector.get(rr),h=this.injector.get(qi);return"disabled"===h.initialNavigation?(k.setUpLocationChangeListener(),D(!0)):"enabled"===h.initialNavigation||"enabledBlocking"===h.initialNavigation?(k.hooks.afterPreactivation=()=>this.initNavigation?(0,Q.of)(null):(this.initNavigation=!0,D(!0),this.resultOfPreactivationDone),k.initialNavigation()):D(!0),A})}bootstrapListener(f){const D=this.injector.get(qi),A=this.injector.get(cs),k=this.injector.get(Vo),h=this.injector.get(rr),s=this.injector.get(i.z2F);f===s.components[0]&&(("enabledNonBlocking"===D.initialNavigation||void 0===D.initialNavigation)&&h.initialNavigation(),A.setUpPreloading(),k.init(),h.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return y.\u0275fac=function(f){return new(f||y)(i.LFG(i.zs3))},y.\u0275prov=i.Yz7({token:y,factory:y.\u0275fac}),y})();function Go(y){return y.appInitializer.bind(y)}function ds(y){return y.bootstrapListener.bind(y)}const fs=new i.OlP("Router Initializer")},5861:(vt,Ve,F)=>{"use strict";function i(X,ge,te,Fe,fe,$e,Me){try{var Pe=X[$e](Me),_e=Pe.value}catch(je){return void te(je)}Pe.done?ge(_e):Promise.resolve(_e).then(Fe,fe)}function Y(X){return function(){var ge=this,te=arguments;return new Promise(function(Fe,fe){var $e=X.apply(ge,te);function Me(_e){i($e,Fe,fe,Me,Pe,"next",_e)}function Pe(_e){i($e,Fe,fe,Me,Pe,"throw",_e)}Me(void 0)})}}F.d(Ve,{Z:()=>Y})}},vt=>{vt(vt.s=3824)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.